datamash-1.9/0000755000000000000000000000000014774035553006671 5datamash-1.9/.tarball-version0000644000000000000000000000000414774035553011710 1.9 datamash-1.9/ABOUT-NLS0000644000000000000000000026713314352360407010043 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. datamash-1.9/AUTHORS0000644000000000000000000000067314767367526007701 GNU Datamash was originally authored by Assaf Gordon . It is currently maintained by Assaf Gordon and Tim Rice , with assistance from Shawn Wagner and Erik Auerswald. In addition, the following have provided patches and/or Git commits to Datamash: Barry Nisly Benno Schulenberg Dima Kogan Georg Sauthoff Jeroen Roovers Yu Fu See also the THANKS file. datamash-1.9/COPYING0000644000000000000000000010451314771600733007643 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 . datamash-1.9/ChangeLog0000644000000000000000000034505514774035553010377 2025-04-05 Timothy Rice version 1.9 * NEWS: Record release date. 2025-03-29 Timothy Rice Make various changes suggested by make syntax-check - Add copyright notice to README - Ensure README refers to COPYING and INSTALL - #include "error.h" -> #include - Use GNU link instead of postal address - Portability: Grep: use "> /dev/null" instead of "-q" - Break a long line gnulib: update to latest 2025-03-22 Timothy Rice m4: Update gitignore for latest gnulib gnulib: update to latest cfg.mk: Set UPDATE_COPYRIGHT_HOLDER to myself This data is consumed by `make update-copyright`, so it should be set to whoever's copyright notice will be updated to the latest year. Add myself to a bunch of copyright notices Put NEWS in correct format for do-release-commit-and-tag 2025-03-22 Timothy Rice Revert "rand: Add new program" This reverts commit 0ed0482e4fb05c99ed6fdf6d3c20864cbe61acfd. Adding rand(1) seemed desirable from the point of view of wanting a way to benchmark datamash(1). However, a comprehensive pseudorandom number generation engine would requires a non-trivial amount of statistical library support. There is currently little maintainer will for such effort. We can "double-revert" in future if there is interest, but for the moment it seems cleanest to not have rand(1) enter the upcoming stable release 1.9. 2025-01-28 Georg Sauthoff improve const correctness 2025-01-28 Georg Sauthoff datamash: decrease visibility of local symbols i.e. symbols that are only used inside their translation unit and don't have a prototype declaration in a header should be hidden with static. the main motiviation behind such a change basically is: 1) minimize the likelihood of possible (future) symbol clashes between different translation units or libraries 2) speed up linking 3) eliminate noise when using `-Wmissing-prototypes`, i.e. if your local symbols are 'clean', then all remaining missing-prototypes warnings point to missing includes or obsolete functions Note that a global symbol definition that shadows another doesn't necessarily yield a link error, in general. And even in the constellations where it does, for fixing, it's way more convenient to get a compile error, instead. Dima Kogan also added in the email discussion: Keeping your symbols localized is general good hygiene, and has even more upsides: - The robot reader of the code (the compiler) gains a higher level of understanding: it gets knowledge of the FULL list of callers of such a function, and is free to make deep optimizations, like inlining the function - The human reader of the code also gains a higher level of understanding. With local functions I also know about exactly what paths are possible for calling them by simply doing a text search in one file. Relatedly, the linker visibility settings are controllable also (gcc -fvisibility or attribute((visibility))), but that's important for shared libraries, and less so for executables. 2025-01-27 Georg Sauthoff datamash: add missing include for validate_double_format Inconsistencies with prototypes yield a compile error 2025-01-25 Timothy Rice AUTHORS: Add Georg Sauthoff 2025-01-25 Georg Sauthoff datamash: Add explicit arguments to crosstab_print prototype In C23, a prototype like `crosstab_print ()` implies that the function will take no arguments. This conflicts with the definition `crosstab_print (const struct crosstab* ct)`. We can demonstrate the issue by running: $ CFLAGS+="-std=c2x" ./configure && make That resulted in the following error: > src/crosstab.c:152:1: error: conflicting types for 'crosstab_print'; have 'void(const struct crosstab *)' > 152 | crosstab_print (const struct crosstab* ct) > | ^~~~~~~~~~~~~~ > In file included from src/crosstab.c:34: > src/crosstab.h:50:1: note: previous declaration of 'crosstab_print' with type 'void(void)' > 50 | crosstab_print (); > | ^~~~~~~~~~~~~~ 2025-01-25 Timothy Rice datamash: Address pure attribute error 2023-12-18 Erik Auerswald datamash: keep "getnum" operation inside fields Before, the "getnum" operation could scan into adjacent fields, because it used string operations on fields terminated by a field separator, not a NUL byte. * NEWS: Mention bug fix. * src/utils.c (extract_number): Copy field contents to NUL-terminated string to ensure string operations stay inside the field. * tests/datamash-tests-2.pl: Add new, and activate existing, tests for the corrected "getnum" behavior. * tests/datamash-vnlog.pl: Add new tests for the corrected "getnum" behavior. 2023-12-17 Erik Auerswald datamash: bug fix for decimal sep. as field sep. When the locale's decimal separator is used as field separator, reading a numeric value would continue over the field separator, resulting in an "invalid numeric value" error message. This is now prevented by re-trying to read the numeric value after the field contents have been copied to a NUL-terminated buffer. * NEWS: Mention bug fix. * THANKS: Add bug reporters. * src/field-ops.c (field_op_collect): If strtold reads past the field contents, copy field contents to temporary buffer and try strtold again. * tests/datamash-i18n-de.pl: Activate two previously failing tests, and add a test case from the recent bug report. * tests/datamash-tests-2.pl: Activate two previously failing tests. 2023-12-11 Erik Auerswald maint: fix "make syntax-check" errors * cfg.mk: Except file doc/fdl.texi from line length check. * src/utils.c (update_best_seq): Add space before opening parenthesis. 2023-12-10 Erik Auerswald tweak NEWS entry for datamash antimode bug fix A "set of numbers" implies that no number is repeated. Both the mode and antimode operations look at repeated numbers. Thus use "sequence" instead of "set" in the description. * NEWS: Replace "set" with "sequence" in latest bug fix entry. 2023-12-10 Erik Auerswald datamash: fix "antimode" operation Both "mode" and "antimode" operations are implemented in the same function "mode_value()" in file "src/utils.c". The algorithm traverses a list of sequences of numbers and attempts to remember the longest (for mode) or shortest (for antimode). Before, the sequence information was updated for every new number encountered, i.e., in general before the actual sequence length was known. This approach works for mode, but not for antimode. Now, the sequence information is updated only after a sequence has ended. There are two ways a sequence can end: (1) a different number is read, (2) there are no more numbers to read. In both cases, this new sequence information (length and value) needs to be checked against the previous longest/shortest length and possibly updated. * NEWS: Mention bug fix. * src/utils.c (mode_value): Update best sequence information only after end of sequence. Move update code to new function, because it is now used twice. (update_best_seq): New function. * tests/datamash-tests-2.pl: Activate formerly broken now working "antimode" tests. 2023-12-10 Erik Auerswald datamash: new "mode" and inactive "antimode" test * tests/datamash-tests-2.pl: Add new test for both "mode" and "antimode". The "antimode" test currently fails and is commented out. 2023-12-09 Erik Auerswald datamash: four more "mode" and "antimode" tests * tests/datamash-tests-2.pl: Duplicate regression test for "mode" to also test "antimode". Add normal test with single input value to both operations. 2023-12-08 Erik Auerswald datamash: more "mode" and "antimode" tests Kingsley G. Morse Jr. has reported a bug regarding the "antimode" operation in . Both the "mode" and "antimode" operations are implemented in the function "mode_value()" in the file "src/utils.c". Currently, there are only a few tests for each of the two operations. Add more tests to have working examples. Also add commented out tests that trigger "antimode" bugs. * tests/datamash-tests-2.pl: Add 11 tests for "mode", 11 working tests for "antimode", and 5 commented out tests for "antimode" that are currently broken. 2022-11-07 Shawn Wagner Remove obsolete autoconf AC_PROG_CC_STDC macro * configure.ac: Remove AC_PROG_CC_STDC Remove deprecated gnulib fdl module * bootstrap.conf: Remove fdl from the module list * doc/fdl.texi: Explicitly include instead of relying on gnulib to generate it. Remove deprecated gnulib non-recursive-gnulib-prefix-hack module * Makefile.am: Add AUTOMAKE_OPTIONS needed for the new approach * bootstrap.conf: Remove old module, enable suggested replacement for it. * m4/.gitignore: Update for removed module Update bootstrap notes for OpenBSD. * HACKING.md: Updates for OpenBSD 7.2, related typo fixes. 2022-11-07 Shawn Wagner Add gnulib checks for sys/random.h and getrandom(). Needed to compile rand on non-GNU OSes. * Makefile.am: Add $(LIB_GETRANDOM) to rand libraries * bootstrap.conf: Add getrandom and sys_random modules * m4/.gitignore: Updates for the new modules 2022-09-03 Erik Auerswald datamash: more --vnlog tests (legend corner cases) The vnlog format is quite permissive regarding field names. Field names can comprise non-alphanumeric characters, and field names may be duplicated. Add tests to check that GNU Datamash can handle (at least some) such vnlog input. The test with a duplicate field name is intended to help avoid accidental changes to GNU Datamash behavior, not to prescribe that the first matching field name should be used. * tests/datamash-vnlog.pl: Add two tests, the first with non- alphanumeric characters, the second with a duplicate field name. 2022-08-27 Erik Auerswald datamash: --vnlog "legend" parsing fixes * src/text-lines.c (line_record_fread): Skip prefix matching regex '^\s*#\s*' instead of regex '^[\s#]+'. * tests/datamash-vnlog.pl: Additional vnlog legend tests. 2022-08-17 Shawn Wagner Make -g and groupby take ranges of fields. So that 1-4 works instead of needin * src/op-parser.c: Accept ranges for -g and groupby * tests/datamash-tests.pl, datamash-error-msgs.pl, datamash-crosstab.pl: Some tests for the above. * doc/datamash.text: Document the above. * NEWS: Changelog entry. 2022-08-17 Timothy Rice rand: Add new program 2022-08-14 Erik Auerswald docs: adjust damatash --vnlog texinfo description * doc/datamash.texi: Add that both input and output are affected. Mark the link to the format description as a URL. 2022-08-13 Erik Auerswald tests: comments and empty lines Without any options, GNU Datamash does not support comments, and does not treat empty lines as different from any other line. With -C/--skip-comments, it ignores complete lines starting with either '#' or ';' as first non-whitespace character. With --vnlog, it ignores empty lines, complete lines where the first non-whitespace character is a '#' (followed by either '!' or '#' in the vnlog prologue), and trailing comments, i.e., the part of a non-empty, non-comment, and non-header line started with optional whitespace and a '#' character. * tests/datamash-check.pl: Add tests with empty and comment lines in the input with different options. * tests/datamash-vnlog.pl: Add trailing comment started with whitespace to existing input. Add test to verify that a Semicolon (';') does not start a trailing comment. Add a test that the header line does not support comments. 2022-08-13 Timothy Rice maint: Add vnlog to bash completion maint: Add Dima Kogan to AUTHORS/THANKS files 2022-08-13 Dima Kogan Add vnlog support Dima Kogan's vnlog data format is explained at https://github.com/dkogan/vnlog This support is experimental in GNU Datamash. 2022-08-08 Timothy Rice maint: Tidy up NEWS item for dotprod datamash: add new option -S/--seed to set random seed 2022-08-07 Erik Auerswald tests: datamash -C has no inline comments * tests/datamash-tests-2.pl: Add two tests for errors when trying to use inline comments. maint: wrap two lines to make syntax-check happy 2022-08-07 Timothy Rice maint: Fix small typo 'data' -> 'date' in NEWS datamash: new operation: dotprod 2022-08-06 Timothy Rice Add NEWS item for getrandom change Switch to getrandom for seed source Move init_random function into new randutils source 2022-08-06 Timothy Rice Remove sc_indent from syntax checks The sc_indent check was added to gnulib in 8f043c6 on 2021-09-03. By default it forces code to conform to `indent -ppi 1`. This contradicts the list of format constraints suggested at [1], in particular the GNU preference of having two spaces for each indent level. [1] https://www.gnu.org/prep/standards/standards.html#Formatting 2022-08-06 Timothy Rice datamash, decorate: add -h/-V for --help/--version maint: Fix typo 'syntaax' 2022-08-03 Timothy Rice Update gnulib to latest Includes changing or casting a couple of size_t variables/outputs to idx_t. 2022-07-23 Timothy Rice maint: Ignore vc-diffs 2022-07-23 Timothy Rice maint: post-release administrivia Automatically done by `make release RELEASE='1.8 stable'` * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update. 2022-07-23 Timothy Rice version 1.8 * NEWS: Record release date. 2022-07-17 Erik Auerswald datamash: tests: decimal point as field separator * tests/datamash-tests-2.pl: Add a commented out test for the "getnum" operation with a decimal point as field separator. Adjust alignment of two existing commented out tests. 2022-07-17 Erik Auerswald datamash: tests: commented out getnum i18n tests The "getnum" operation is neither properly locale-aware nor does it ignore the locale setting. As a result floating point numbers are not extracted correctly unless the locale-specific decimal separator is a period. * tests/datamash-i18n-de.pl: Add commented out getnum tests. 2022-07-17 Erik Auerswald tests: numbers with two decimal points in input * tests/datamash-error-msgs.pl: Add tests for error message when a number with two decimal points is given as input data. tests: decimal separator as field separator * tests/datamash-i18n-de.pl: Add tests using the locale's decimal separator (a comma) as field separator. * tests/datamash-tests-2.pl: Add tests using the locale's decimal separator (a period) as field separator. tests: adjust commented out i18n test * tests/datamash-i18n-de.pl: Use a unique ID to allow commenting in without further adjustments. Align test definition fields. maint: regression test consolidation * tests/datamash-tests-2.pl: Move regression tests to have them next to each other in one group. 2022-07-11 Timothy Rice datamash: tests: Add test for crosstab with header-in, no header-out datamash: tests: Rename c3 header-in test for pcov consistent with scov datamash: tests: Add more paired-param tests with header in/out docs: Note non-standard --header-out with crosstab docs: Remove sentence about groupby/crosstab not understanding header names. 2022-07-09 Timothy Rice datamash: maint: Fix some indentation datamash: bugfix: Ensure rmdup respects --output-delimiter Fixes bug reported by Dima Kogan. datamash: bugfix: Allow crosstab to be called by header field name. Ensure `--header-in crosstab x,y` does not crash. Fixes bug reported by Dima Kogan. datamash: maint: fix long line maint: ignore side effects of make syntax-check maint: Fix minor typo datamash: maint: Add debug helper macro WHEREAMI() tests: Add the test for pcov header in/out datamash: Print all operation columns in output header Ensure `--header-out pcov x:y` shows `pcov(x,y)` in header. Fixes bug reported by Dima Kogan. 2022-07-05 Timothy Rice maint: Break long lines maint: Update version notices. 2022-07-04 Erik Auerswald maint: align datamash binning tests * tests/datamash-tests-2.pl: Align binning tests. 2022-07-04 Erik Auerswald tests: more datamash binning tests Floating point numbers as operation parameters can be specified using scientific notation (e.g., 1.2e3 for 1200.0). * tests/datamash-tests-2.pl: Add scientific notation bin sizes. 2022-07-04 Erik Auerswald tests: test parser corner cases Add tests of corner cases regarding whitespace in the operation parsing of GNU Datamash in order to avoid introducing unintended changes of behavior. * tests/datamash-parser.pl: Add tests with additional whitespace. 2022-07-03 Erik Auerswald tests: add more datamash parser tests * tests/datamash-parser.pl: Additional testing of correct and incorrect use of optional operation parameters. 2022-07-03 Erik Auerswald maint: more unique test identifiers for datamash Having unique test identifiers helps in locating the problems with test failures. It seems as if the intention is to have unique test identifiers, at least per tested binary. Fix a case of duplicated test identifiers in the two test files datamash-tests.pl and datamash-parser.pl for binning related test cases. * tests/datamash-parser.pl: Rename test identifier 'b1' to '31' and 'b2' to 'b32'. 2022-06-26 Erik Auerswald tests: add third datamash i18n test case Depending on tokenizer changes to support comma as decimal separator, three comma separated fields might trigger a problem that is avoided with two comma separated fields. * tests/datamash-i18n-de.pl: Add test case with three fields separated with commas. 2022-06-26 Erik Auerswald tests: avoid Perl warning in datamash-i18n-de.pl The string comparison `$lc_de eq undef` results in up to two warnings. If `$lc_de` is defined, the single warning Use of uninitialized value in string eq at ./tests/datamash-i18n-de.pl line 39. is emitted. This is caused by comparing with `undef` in the string equality test `eq`. If the locale `de_DE.utf8` is not found, `$lc_de` is undefined. If `$lc_de` is undefined, two warnings are emitted: Use of uninitialized value $lc_de in string eq at ./tests/datamash-i18n-de.pl line 39. Use of uninitialized value in string eq at ./tests/datamash-i18n-de.pl line 39. Using `defined()` to test if `$lc_de` is defined avoids this. * tests/datamash-i18n-de.pl: Use defined() to check if a variable is defined. 2022-06-26 Erik Auerswald tests: add second datamash i18n test case Supporting a comma as decimal separator for numeric arguments to GNU Datamash operations risks confusing a comma separated list of fields with a floating point number. * tests/datamash-i18n-de.pl: Add test case with a comma separated list of field numbers. 2022-06-25 Erik Auerswald maint: fix a typo in a comment 2022-06-25 Timothy Rice maint: Remove incorrect comment about LC_NUMERIC maint: Skip German test if de_DE.utf8 locale not found Test decimal separator in de_DE.UTF-8 locale 2022-06-25 Shawn Wagner src/decorate.c: Fix a NetBSD-specific seg fault. 2022-06-24 Erik Auerswald datamash: re-write binning for negative numbers Make the binning code more explicit regarding handling of negative binning values: - changing a negative zero into a positive zero can only be needed for negative values; - if the fractional part of a negative value is zero: - the number is the lower bound of the bucket interval, - and the number could be a negative zero; - if the fractional part of a negative value is non-zero: - the number falls into the preceding bucket interval. When testing with both negative and non-negative numbers, the new code was not slower. It even seemed to be a tiny bit faster on average. * src/field-ops.c (field_op_collect): re-write binning code for negative numbers. 2022-06-23 Timothy Rice datamash: Fix binning of negative numbers. 2022-06-18 Shawn Wagner Add framework for installing hooks into cloned git repositories. Includes a pre-commit hook that runs make syntax-check 2022-06-18 Timothy Rice maint: Convert sort+header tests from shell to perl maint: fix long lines maint: Make test indentation more consistent maint: fix long lines 2022-06-17 Timothy Rice Rename deprecated tests Deprecate -f/--full for non-linewise operations 2022-06-12 Erik Auerswald tests: add cheap I/O error test The existing tests/datamash-io-errors.sh is marked as expensive and requires two file system images prepared to provoke I/O errors for GNU Datamash to detect and report. As a result it is executed less frequently than most other tests. The new tests/datamash-io-errors-cheap.sh requires just the availability of the special file "/dev/full" to immediately provoke an I/O error on output. This test requires minimal input data and is cheap to run. * Makefile.am (TESTS): Add new test file. * tests/datamash-io-errors-cheap.sh: New file with one test. 2022-06-07 Erik Auerswald datamash: fix segmentation fault As reported by Catalin Patulea on bug-datamash@gnu.org in , GNU Datamash could crash with a segmentation fault if the unique or countunique operations were used with input data containing NUL bytes. The problem was that the field_op_get_string_ptrs() function could create more pointers than it allocated memory for if the input data contained NUL bytes. The solution is to add a check to avoid writing past the end of the "ptrs" buffer. * NEWS: Mention bug fix. * src/field-ops.c (field_op_get_string_ptrs): Do not write past the end of the "ptrs" buffer. * tests/datamash-tests-2.pl: Add tests to verify bug fix. 2022-06-06 Erik Auerswald doc: mention ms and rms in --help and man page The recent operations ms (mean square) and rms (root mean square) are listed only in the texinfo manual. Add them to both the 'datamash --help' output and the datamash(1) man page. * src/datamash.c (usage): Add ms and rms to Statistical Grouping operations. * man/datamash.x: Likewise. 2022-06-05 Erik Auerswald tests: more leading and trailing whitespace tests * tests/datamash-tests.pl: Add tests with leading whitespace, trailing whitespace, and both leading and trailing whitespace. tests: leading and trailing whitespace behavior * tests/datamash-tests.pl: Add whitespace-only tests. doc: texinfo manual adjustments * doc/datamash.texi: Mention that "cut" operation uses given field ordering. Expand on leading and trailing whitespace description. Ask for unified instead of context diff. 2022-06-04 Erik Auerswald maint: fix "make syntax-check" errors * .gitignore: Use "file system" instead of "filesystem". * tests/datamash-tests-2.pl: Wrap lines longer than 80 characters. maint: fix typo in a comment 2022-06-04 Timothy Rice Remove commented-out code Fix typo datamash: Align field_operations columns It was difficult to visually group entries with the columns zig-zagging. datamash: Alias echo -> cut and unique -> uniq 2022-06-03 Erik Auerswald tests: enable valgrind test to pass The sub-test "custom-format" of the expensive test datamash-valgrind.sh would always fail, because the datamash was supposed to sum all input numbers, but some of those are too big for 80-bit extended floating point numbers as used on x86. Thus datamash would emit an error message and return an exit code of 1. That was interpreted as a test failure. * tests/datamash-valgrind.sh: Use different valgrind error exit code to distinguish between valgrind detecting a memory leak and datamash reporting an error. 2022-06-02 Timothy Rice maint: Impose '-T small' for fullfs check maint: Ignore side-effects make check-expensive 2022-06-01 Shawn Wagner Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/datamash Fix memory leaks in decorate Fix memory leaks with custom numeric precisions and formats Fix some memory leaks in crosstab code Fix a memory leak in parsing column names. 2022-06-01 Erik Auerswald doc: fix a few typos * HACKING.md: Fix typos. * build-aux/create_corrupted_file_system.sh: Fix typos in comments. * build-aux/create_small_file_system.sh: Fix typo in a comment. 2022-05-31 Shawn Add bootstrap instructions for NetBSD and OpenBSD to HACKING.md 2022-05-31 Erik Auerswald doc: fix typo and quoting in man page template This is based on a Debian patch applied to GNU Datamash during packaging. The Debian patch from Alejandro Garrido Mota modifies the generated datamash man page. The Debian patch can be found at: https://sources.debian.org/src/datamash/1.7-2/debian/patches/fix-manpage.diff/ * man/datamash.x: Spelling fix varient->variant. Consistently use ' instead of \' as single quote character. 2022-05-30 Erik Auerswald doc: tweak help output and man pages Mention the LC_NUMERIC environment variable in datamash --help output and the generated man page. Add an "Options:" header line to the output of datamash --help and decorate --help so that help2man detects the OPTIONS section. Use DESCRIPTION instead of OVERVIEW to add text from the man page template to the DESCRIPTION section of the decorate(1) man page. Move the examples from the decorate(1) man page template into the EXAMPLES section of the generated man page. * man/decorate.x: Rename OVERVIEW to DESCRIPTION. Move EXAMPLES. * src/datamash.c (usage): Add "Options:" header and "Environment:" section to help output. * src/decorate.c (usage): Add "Options:" header to help output. 2022-05-29 Erik Auerswald datamash: fix short option -c X The short option -c X is documented as a short alternative to --collapse-delimiter=X, but it is not accepted. Fix this. * src/datamash.c (short_options): Add "c:". * tests/datamash-tests.pl: Test use of -c. 2022-05-29 Erik Auerswald doc: leading and trailing whitespace with -W With the -W, --whitespace option, datamash(1) ignores leading whitespace, but not trailing whitespace. Trailing whitespace results in an additional empty field at the end of the line. This is different to field splitting in Awk, Bash, or Python. This behavior is tested for, but not documented. Thus mention it in the texinfo documentation. * doc/datamash.texi: Add a senetence to the -W, --whitespace option description. 2022-05-29 Erik Auerswald doc: tweak NEWS entries for new features There are new features for both datamash(1) and decorate(1). Ensure that every new feature description mentions the program. Additionally, move the new decorate(1) feature entry below the new datamash(1) features to keep chronological order of entries. * NEWS: Always mention the changed program. Move new entry below existing entries. 2022-05-29 Erik Auerswald decorate: new conversions ipv6v4map and ipv6v4comp The two new decorate(1) conversion methods ipv6v4map and ipv6v4comp allow to sort on a field that may contain either an IPv6 or an IPv4 address. IPv4 and IPv6 addresses can be seen as IP addresses. Logs from a "dual-stack" application, e.g., a web server, may contain either an IPv4 or IPv6 address at a given position in each line. Thus if one wants to sort the log file on the IP address, both IPv4 and IPv6 addresses need to be accepted as sort key and sorted consistently. One approach is to transform one address type into the other before sorting. IPv6 supports the transformation of IPv4 addresses into IPv6 addresses. There are two common methods for accomodating IPv4 addresses in IPv6: IPv4-Mapped addresses and the deprecated IPv4-Compatible addresses. Both can be used to convert a given IPv4 address to an IPv6 address. Both IPv4-Mapped and IPv4-Compatible IPv6 address ranges are reserved by IANA and always represent IPv4 addresses in a dual-stack enabled application. IPv4-Compatible addresses just add 96 leading zero bits to the 32 bit IPv4 address to create a 128 bit IPv6 address. This results in an ambiguity for the unspecified address (all-zero in both IPv4 and IPv6) and the IPv6 localhost address ::1 with the first host address of "this" network in IPv4 (0.0.0.1). IPv4-Mapped addresses avoid this ambiguity. But since IPv4-Compatible IPv6 addresses can be seen as treating the IP address (both version 4 and version 6) as a specific way to represent an integer value I think it is useful to support this transformation as well. Both conversions logically convert an IPv4 address to an IPv6 address, but the code actually creates a textual representation of an 128 bit integer from either an IPv4 or IPv6 address. Functionality like this was requested for sort(1) from GNU Coreutils: https://lists.gnu.org/archive/html/coreutils/2011-06/msg00078.html https://lists.gnu.org/r/bug-coreutils/2015-06/msg00039.html It was rejected for sort(1) from GNU Coreutils: https://www.gnu.org/software/coreutils/rejected_requests.html#sort https://lists.gnu.org/r/bug-coreutils/2015-06/msg00041.html Thus it seems appropriate for decorate(1), complementing the existing conversion methods for either IPv4 or IPv6 addresses, but not both. * NEWS: Mention new decorate conversion methods. * src/decorate-functions.c: Implement new conversion methods. (decorate_ipv6_ipv4): New function. (decorate_ipv6_ipv4_mapped): New function. (decorate_ipv6_ipv4_compat): New function. (builtin_conversions): Add new operations. * tests/decorate-errors.pl, tests/decorate-sort-tests.pl, tests/decorate-tests.pl: Add tests for new conversion methodss. 2022-05-29 Erik Auerswald doc: adjust short description in decorate man page The decorate man page used the datamash short description. Replace it with a short description of decorate. * man/decorate.x: Adjust short description. 2022-05-29 Erik Auerswald maint: fix syntax-checks * AUTHORS: Break line at 80 characters. * THANKS: Break line at 80 characters. doc: mention -C, --skip-comments in texinfo manual * doc/datamash.texi: Mention -C, --skip-comments doc: fix man page name in help output * src/datamash.c: Use PROGRAM_NAME as man page name. * src/decorate.c: Likewise. 2022-05-29 Erik Auerswald doc: mention LC_NUMERIC in texinfo manual The LC_NUMERIC environment variable affects both the decimal and thousands separator used by GNU Datamash. * doc/datamash.texi: Mention LC_NUMERIC. 2022-05-28 Erik Auerswald fix floor/ceil/up/down confusion in man page * man/datamash.x: floor is down, ceil is up. 2022-05-28 Timothy Rice Change tabs to spaces for consistency Update bug report address to bug-datamash Promote Erik to the 'members' area in AUTHORS (i.e. git push access.) Clean up trailing end-of-line whitespaces. Partial revert of 9347234 which incorrectly deleted entire lines due to poor choice of sed command. Clean up trailing end-of-line whitespaces. 2022-05-27 Shawn Wagner Squashed commit of the following: commit ee69c4d1c27e683d91163129ca1f5e43adf34243 Author: Shawn Wagner Date: Thu May 26 05:51:19 2022 -0700 Add tests for mean square and root mean square Also update the R code in the file used to verify results to include newer operations. commit 2036f7259a371420c8a90b8af31187f77a044290 Author: Shawn Date: Fri Jun 19 15:38:07 2020 -0700 Add mean square/root mean square commands. doc/datamash.texi: Documentation src/field-ops.c,src/op-defs.c,src/op-defs.h: New ms and rms commands. 2022-05-27 Timothy Rice Expand AUTHORS and THANKS 2022-05-18 Shawn Wagner Rebuild mr/.gitignore 2022-05-18 Shawn Update bash completion module contrib/bash-completion/datamash: Add new commands and options 2022-05-18 Shawn Wagner Add -c/--collapse-delimiter argument Tweaks to satisfy make syntax-check 2022-05-18 Shawn Squashed commit of the following: commit 700e3ab38e19d5f53eb332ea11fa6001505fc026 Author: Shawn Wagner Date: Sat Jun 20 01:53:04 2020 -0700 Properly escape sort commands executed by sh Also removes the arbitrary 1024 character limit on sort command. * bootstrap.conf,Makefile.am: Add sh-quote gnulib module * src/decorate.c: --print-sort-args quotes arguments when needed. * src/datamash.c: Shell escape sort command used by popen(), get rid of max length of it. * tests/datamash-sort-errors.sh,tests/decorate-tests.sh: Handle new output. commit ae84f5dddf6761d80cd08e441358ca23c96f13d6 Author: Shawn Wagner Date: Sat Jun 20 01:05:09 2020 -0700 Use an unstable sort with NetBSD /usr/bin/sort in decorate It's stable by default, unlike any other sort(1) I checked, so when using it, pass an option to make it unstable to pass tests cases. * src/decorate.c: Pass -S to /usr/bin/sort on NetBSD * tests/decorate-sort-tests.pl tests/decorate-tests.pl: Force using /usr/bin/sort on NetBSD, and account for new output in test cases. commit 267c8974a5eed4844d9ee17e3f0aa9c45fe5d95f Author: Shawn Wagner Date: Fri Jun 19 23:14:53 2020 -0700 Add a --sort-cmd argument to datamash and decorate. Allows overriding the version of sort(1) found by configure. src/datamash.c,src/decorate.c: Add --sort-cmd argument. tests/datamash-sort-errors.sh: Use it in tests designed to fail. doc/datamash.texi: Document it. commit 82fb2366e500533f91171465c511ddc3e600a53b Author: Shawn Wagner Date: Fri Jun 19 23:00:39 2020 -0700 Make configure check for sort(1) First looks for gsort, then sort, so that non-GNU userland OSes with GNU coreutils installed will prefer GNU sort. * configure.ac: test for gsort and sort * src/datamash.c,src/decorate.c: Use the path to sort found by configure. * src/datamash.c: Make it harder to overflow the sort command string. * tests/decorate-tests.pl: Fix test cases for using full path to sort 2022-05-18 Shawn Wagner Fix --help not including default value for --filler argument. Patch from Erik Auerswald. 2022-05-14 Shawn Wagner Some auditing of gnulib modules Added some missing ones for things used by datamash, removed some unused ones. Squashed commit of the following: commit ce8fd789a0d60f0592ec79567f84c09b05e2b4aa Author: Shawn Wagner Date: Sat May 14 05:43:05 2022 -0700 Update m4/ax_c_long_long.m4 from autoconf-archive latest commit d5cc572bc52d02169959361aca3f0e0823643d79 Author: Shawn Wagner Date: Sat May 14 05:34:48 2022 -0700 Update m4/.gitignore commit ef0ec5ca533067948800e3f8c10292b553cfb4eb Author: Shawn Date: Thu Apr 23 15:57:02 2020 -0700 Add missing gnulib modules used in decorate commit 67cbe0b3462dab739a3bd81a89e1e91b2d128519 Author: Shawn Date: Mon Apr 20 01:49:03 2020 -0700 Add missing gnulib modules 2022-05-14 Shawn Wagner Typo in manpage -h -> -H Patch by Erik Auerswald Fix spelling errors and other issues in texi documentation. Patch from Erik Auerswald. Fix an incorrect format in a decorate(1) message. Reported by Jiri Hladky, fixed by Erik Auerswald. Spelling fixes in documentation 2021-01-06 Assaf Gordon maint: update copyright year Run "make update-copyright" and then: * gnulib: Update to latest. * tests/init.sh, bootstrap: Update to latest from gnulib. * m4/.gitignore: Add gnulib updates. 2020-04-30 Shawn datamash: fix missing -z when calling sort(1) When sorting NUL terminated lines, the needed -z option wasn't being passed to sort(1), causing errors due to improperly sorted data. Fixed, plus raises an error if the system sort(1) doesn't support -z. * NEWS: Mention bugfix. * configure.ac: Test to see if sort(1) understands -z * datamash.c (open_input): If "-z" and "-s" are used, add "-z" to the sort(1) command line; Exit with an error if sort(1) does not support "-z". 2020-04-30 Shawn datamash,decorate: use pledge(2) on OpenBSD to restrict capabilities pledge is an OpenBSD specific mechanism for restricting what syscalls a process can execute, or limiting how they behave. It's considered polite on OpenBSD to limit a program to just the bare minimum it needs to run. See https://man.openbsd.org/pledge.2 for details. * configure.ac: Add check for pledge(2). * src/system.h (openbsd_pledge): New static function, calling pledge(2). * src/datamash.c (main), src/decorate.c (main): Call new function on startup. 2020-04-30 Shawn tests: use jot as seq on OpenBSD instead of skipping tests * init.cfg(openbsd_seq_replacement_): New function. Work around OpenBSD's lack of seq(1) using jot(1). * tests/datamash-rand.sh, tests/datamash-sort-errors.sh, tests/datamash-strbin.sh: Use new function. tests: handle getopt_long(3) differences on OpenBSD * tests/datamash-error-msgs.pl, tests/decorate-errors.pl: Work around OpenBSD's getopt_long(3) producing different error messages from GNU version. 2020-04-24 Assaf Gordon maint: update NEWS with version 1.7 and date 2020-04-24 Assaf Gordon decorate: new program (experimental) decorate(1) works in tandem with sort(1) to enable sorting by non-standard ordering, e.g. IPv4, IPv6, roman numerals. Suggested by Pádraig Brady in: https://lists.gnu.org/r/bug-coreutils/2015-06/msg00076.html * NEWS: Mention new program. * bootstrap.conf: Add sys_socket, netinet_in gnulib modules. * .gitignore: Ignore decorate related files. * Makefile.am (bin_PROGRAMS): Add decorate. (decorate_SOURCES/CFLAGS/CPPFLAGS/LDFLAGS): New items. (man_MANS): Add decorate. (TESTS): Add new tests. * src/decorate.c, src/key-compare.{c,h}: New program, adapted from https://lists.gnu.org/archive/html/coreutils/2019-03/msg00056.html * src/decorate-functions.{c,h}: New module. * man/decorate.x: New file. * src/system.h: Add quotef,quotef_n,FALLTHROUGH,SORT_FAILURE. * tests/decorate-errors.pl, tests/decorate-sort-tests.pl, tests/decorate-tests.pl: New tests. * po/POTFILES.in: Add new .c files. 2020-04-24 Assaf Gordon maint: fix syntax-checks following sha256,geomean additions * src/datamash.c (usage), tests/datamash-sha.pl, tests/datamash-stats.pl: Break line at 80 characters. * src/fields-ops.c: Fix space-before-parentheses. 2020-04-23 Assaf Gordon maint: update help2man 2020-04-23 Shawn datamash: new operations: geomean,harmmean They compute the geometric and harmonic means, thus adding support for all three classic Pythagorean means. $ seq 5 | datamash harmmean 1 2.1897810218978 $ seq 5 | datamash geomean 1 2.6051710846974 Equivalent to the following R code: > library("psych") > x = seq(5) > harmonic.mean(x) [1] 2.189781 > geometric.mean(x) [1] 2.605171 * NEWS, doc/datamash.texi, man/datamash.x: Mention new operations * bootstrap.conf: Use gnulib's logl module. * Makefile.am (datamash_LDADD): Add more math libraries. * m4/.gitignore: Add logl files. * src/op-defs.{h,c}: Define new operations. * src/field-ops.c: Implement new operations * src/datamash.c (usage): List new operations. * tests/datamash-stats.pl: Add tests. 2020-04-10 Shawn datamash: new line operations: sha224 and sha384 Added for the sake of completeness; the implementations are already present. $ printf "%s\n" 1 2 3 | datamash sha224 1 e25388fde8290dc286a6164fa2d97e551b53498dcbf7bc378eb1f178 58b2aaa0bfae7acc021b3260e941117b529b2e69de878fd7d45c61a9 4cfc3a1811fe40afa401b25ef7fa0379f1f7c1930a04f8755d678474 $ printf a | datamash sha384 1 54a59b9f22b0b80880d8427e548b7c23abd873486e1f035dce9cd697e85175033caa88e6d57bc35efae0b5afd3145f31 Equivalent to: $ printf 1 | sha224sum e25388fde8290dc286a6164fa2d97e551b53498dcbf7bc378eb1f178 - $ printf 2 | sha224sum 58b2aaa0bfae7acc021b3260e941117b529b2e69de878fd7d45c61a9 - $ printf 3 | sha224sum 4cfc3a1811fe40afa401b25ef7fa0379f1f7c1930a04f8755d678474 - $ printf a | sha384sum 54a59b9f22b0b80880d8427e548b7c23abd873486e1f035dce9cd697e85175033caa88e6d57bc35efae0b5afd3145f31 * NEWS, doc/datamash.texi, man/datamash.x: Mention new operations. * src/datamash.c (usage): List new options. * src/op-defs.{h,c}: Define new operations. * src/field-ops.c: Implement operations. * tests/datamash-sha.pl: Add tests. 2020-02-24 Assaf Gordon doc: update NEWS with version 1.6 and date build: update bootstrap.conf with xstrtol-error * bootstrap.conf: add xstrtol-error (following gnulib update, without it "make dist" fails at "update-po" stage). gnulib: update to latest * m4/.gitignore: Auto-updated by 'bootstrap'. doc: mention getnum bugfix in NEWS * NEWS: Mention bugfix 2020-02-13 Assaf Gordon datamash: bug fix 'getnum' operation ignoring 8,9 chars Digits 8,9 were wrongly ignored on in default numeric format (decimal): $ echo foo411586 | datamash getnum 1 4115 [ wrong result ] 411586 [ fixed result ] * src/utils.c (extract_number_types): Add missing digits to string pattern. * tests/datamash-tests-2.pl: Add tests to catch this error. 2020-01-02 Assaf Gordon maint: update copyright date to 2020 * all files: Run "make update-copyright". 2019-09-17 Assaf Gordon doc: update NEWS with version 1.5 and date 2019-09-03 Assaf Gordon datamash: new operation: cut Similar to cut(1), it copies the input field to the output as-is. The advantage over cut(1) is that combined with datamash's other features, input fields can be specified by name instead of column number, and output fields can be re-ordered and duplicated. Example: $ printf "a b c\n1 X 6\n" | datamash -W -H cut c,a,c cut(c) cut(a) cut(c) 6 1 6 Suggested by Torsten Seemann in https://lists.gnu.org/archive/html/bug-datamash/2019-09/msg00000.html * NEWS: Mention new operation. * src/datamash.c (usage): Add new op. * src/op-defs.{h,c}: Define new OP_CUT. * src/field-ops.{c}: Implement new OP_CUT. * contrib/bash-completion/datamash: Add new operation. * doc/datamash.texi, man/datamash.x: Mention new operation. * tests/datamash-tests-2.pl: Add tests. 2019-08-27 Assaf Gordon datamash: new operation: getnum Extract numeric values from a string: $ echo foo-42.0-bar | datamash getnum 1 42.0 Also accept single-letter option for different numeric types: $ echo zoo-42.0-bar | datamash getnum:p 1 # positive decimal (default) -42.0 $ echo zoo-42.0-bar | datamash getnum:n 1 # Natural numbers 42 $ echo zoo-42.0-bar | datamash getnum:i 1 # Integers -42 $ echo zoo-42.0-bar | datamash getnum:d 1 # Decimal -42.0 $ echo zoo-42.0-bar | datamash getnum:h 1 # Hex 66 $ echo zoo-42.0-bar | datamash getnum:o 1 # Oct 34 * NEWS: Mention new operation. * src/datamash.c (usage): Add new op. * src/op-defs.{h,c}: Define new OP_GETNUM. *src/op-parser.c (set_op_params): Parse single-letter options. (parse_operation_params): Accept character parameters (not just numbers). * src/field-ops.{c}: Implement new OP_GETNUM. * src/utils.{h,c} (extract_number): New function. * contrib/bash-completion/datamash: Add new operation. * doc/datamash.texi, man/datamash.x: Mention new operation. * tests/datamash-tests-2.pl: Add tests. 2019-08-27 Assaf Gordon build: work-around automake 1.16 regression with non-gnu make Discussed in https://lists.gnu.org/r/automake/2019-08/msg00000.html Solved by Bruno Haible: https://lists.gnu.org/r/automake/2019-08/msg00005.html https://lists.gnu.org/r/bug-gnulib/2019-08/msg00064.html * Makefile.am (LDADD): Remove $(top_builddir) from library path. 2019-08-27 Assaf Gordon gnulib: update to latest (gettext 0.20 fix) 2019-08-23 Assaf Gordon maint: don't syntax-check for trailing spaces on a unit test file maint: appease space_before_parens syntax-check maint: ignore space_before_parens syntax-check on STREQ_LEN 2019-08-23 Assaf Gordon datamash: new operations: extname, barename Extract the file extension, and the basename without the extension: $ echo foo.tar.gz | datamash barename 1 extname 1 foo tar.gz $ echo /home/foo/bar.txt \ | datamash dirname 1 basename 1 barename 1 extname 1 /home/foo bar.txt bar txt * NEWS: Mention new operation. * src/datamash.c (usage): Add new op. * src/op-defs.{h,c}: Define new OP_BARENAME,OP_EXTNAME. * src/field-ops.{c}: Implement new OP_BARENAME,OP_EXTNAME. * src/utils.{h,c} (is_add_on_extension,+guess_file_extension): New helper functions. * contrib/bash-completion/datamash: Add new operation. * doc/datamash.texi, man/datamash.x: Mention new operation. * tests/datamash-tests-2.pl: Add tests. 2019-08-23 Assaf Gordon datamash: new operations: dirname, basename Similar to dirname(1) and basename(1), but operate on a file. $ echo /home/foo/bar.txt | datamash dirname 1 basename 1 /home/foo bar.txt * NEWS: Mention new operation. * src/datamash.c (usage): Add new op. * src/op-defs.{h,c}: Define new OP_DIRNAME,OP_BASENAME. * src/field-ops.{c}: Implement new OP_DIRNAME,OP_BASENAME. * contrib/bash-completion/datamash: Add new operation. * doc/datamash.texi, man/datamash.x: Mention new operation. * tests/datamash-tests-2.pl: Add tests. 2019-08-07 Assaf Gordon datamash: accept backslash-escaped characters in field names Suggested by Renato Alves in https://lists.gnu.org/archive/html/bug-datamash/2019-08/msg00000.html The following are now possible: datamash -H sum FOO\\-BAR < input.txt datamash -H sum 'FOO\-BAR' < input.txt datamash -H sum "FOO\\-BAR" < input.txt * NEWS: Mention the feature. * doc.datamsah.texi, man/datamash.x: Document the feature. * src/op-scanner.h(MAX_IDENTIFIER_LENGTH): New limit. * src/op-scanner.c(scanner_get_token): Improve identifier scanning to allow backslashes. * tests/datamash-error-msgs.pl, tests/datamash-tests-2.pl: Add tests. 2019-08-07 Assaf Gordon datamash: fix mode/antimode incorrect results for negative values In version 1.4 and earlier, this resulted in incorrect values: $ echo -1 | datamash mode 1 1.844674407371e+19 Reported by Renan Valieris in https://lists.gnu.org/archive/html/bug-datamash/2019-06/msg00001.html * src/utils.c (mode_value): Fix type from size_t to long double. * tests/datamash-tests-2.pl: Add test. * NEWS: Mention fix. 2019-01-02 Assaf Gordon maint: update gnulib to latest * gnulib: Update to latest. * bootstrap, tests/init.sh: Sync from gnulib. maint: update copyright date to 2019 * all files: Run "make update-copyright". 2018-12-23 Assaf Gordon doc: update release date for version 1.4 * NEWS: Update date. 2018-12-22 Assaf Gordon gnulib: update to latest 2018-12-15 Assaf Gordon maint: update .gitignore Following gnulib recent update. * m4/.gitignore: Update file list. 2018-12-15 Assaf Gordon build: update autoconf version requirements Require version 2.69 to bootstrap. After recent gnulib update, gnulib-tool would complain: $ ./gnulib/gnulib-tool ./gnulib/gnulib-tool: *** minimum supported autoconf version is 2.63. \ Try adding AC_PREREQ([2.63]) to your configure.ac. ./gnulib/gnulib-tool: *** Stop. Hence this update. * configure.ac, bootstrap.conf: Require autoconf version 2.69 or later. 2018-12-14 Assaf Gordon build: add special CPPFLAGS for windows binaries FORCE_C_LOCALE: Force C/POSIX locale, instead of assuming it is available as an environment variable (not easily changeable in cmd.exe). SORT_WITHOUT_LOCALE: don't add "LC_ALL=C" to the sort command-line execution string - the windows interpreter (cmd.exe) can't handle that. * src/datamash.c (main): Add preprocessor conditionals. 2018-12-08 Assaf Gordon datamash: new option -C/--skip-comments Suggested by Mark van Rossum in https://lists.gnu.org/r/bug-datamash/2018-11/msg00001.html https://lists.gnu.org/r/bug-datamash/2018-12/msg00003.html * NEWS: Mention new option. * src/datamash.c (usage, main): Update getopt parsing and help screen. * src/text-options.{c,h} (skip_comments): New varaible. * src/text-lines.{c,h} (line_record_fread): New option to skip comments. (line_record_is_comment): New function. * contrib/bash-completion/datamash: Update bash auto-completion options. * man/datamash.x: Add "skipping comment lines" section. * tests/datamash-tests-2.pl: Add new test cases. 2018-12-08 Assaf Gordon gnulib: update to latest 2018-08-22 Assaf Gordon doc: fix man-page typo Reported by Steve Ward in https://lists.gnu.org/r/bug-datamash/2018-08/msg00004.html . * man/datamash.x: Fix missing formatting letter B. 2018-03-23 Assaf Gordon tests: disable --format="%a" test Valid output can differ (e.g. 0x8.000p-3 vs 0x1.000p+0). * tests/datamash-output-format.pl: Disable 'a1' test. 2018-03-23 Assaf Gordon tests: fix --format='%4000f' expected output Can be 1.000009... or 1.000008999, depending on representation. * tests/datamash-output-format.pl: Check only the first 5 digits. 2018-03-17 Assaf Gordon doc: update NEWS with new version and date * NEWS: Set version 1.3 and date. 2018-01-25 Assaf Gordon maint: fix syntax-check issues * doc/datamash-texinfo.css: Limit to 80 characters. * po/POTFILES.in: Add missing files. * src/double-format.c: Remove unused "ignore-value.h". * src/text-options.{c,h}: Space after parens. 2018-01-23 Assaf Gordon maint: change URLs from http to https * all files: Change to https URLs. datamash: add --format=FORMAT option * NEWS: Mention this. * Maefile.am: * doc/datamash.texi: Mention new option. * src/datamash.c * src/double-format.{c,h}: * src/text-options.{c,h}: * tests/datamash-error-msgs.pl, tests/datamash-output-format.pl: Test new option. * tests/datamash-valgrind.sh: Test large output buffer under valgrind. 2018-01-18 Assaf Gordon datamash: add -R/--round=N option Print numeric values with N decimal places. Example: $ echo 1.1 | datamash --round=5 sum 1 1.10000 Requested in https://github.com/agordon/datamash/issues/5 . * NEWS: Mention this. * src/datamash.c (usage): Mention new option. * configure.ac: Remove nonliteral-printf warning. * doc/datamash.texi: Mention new option. * src/text-options.c,src/text-options.h (numeric_output_format, numeric_output_bufsize): New variables. (set_numeric_output_precision,finalize_numeric_output_buffer): New functions to set the printf style based on requested precision. * src/fields-ops.c: Print numeric output using new format variables. * tests/datamash-error-msgs.pl: Test invalid --round usage. * tests/datamash-output-format.pl: Test --round usage. * Makefile.am: Add new test file. 2018-01-04 Assaf Gordon maint: update copyright year to 2018 * all files: Update with 'make update-copyright'. gnulib: update to latest 2017-12-11 Assaf Gordon maint: add github ISSUE/PULL-REQUEST templates Encourage contributors to use bug-datamash@gnu.org instead of github. * .github/ISSUE_TEMPLATE.txt, .github/PULL_REQUEST_TEMPLATE.txt: New files. 2017-11-15 Assaf Gordon gnulib: update to latest * m4/.gitignore: Automatically updated git newest gnulib bootstrap. 2017-11-15 Assaf Gordon datamash: new operation 'trimmean' To calculate 20% trimmed mean: $ printf "%s\n" 13 3 7 33 3 9 | datamash trimmean:0.2 1 8 Using 'trimmean:0' is equivalent to 'mean'. Using 'trimmean:0.5' is equivalent to 'median' (for R compatability). Suggested by Khavish Bhundoo in https://lists.gnu.org/archive/html/bug-datamash/2017-10/msg00004.html . * NEWS: Mention new operation. * src/datamash.c (usage): Add new op. (print_column_headers): Print percent value in headers. * src/op-defs.{h,c}: Define new OP_TRIMMED_MEAN. * src/field-ops.{h,c}: Implement new OP_TRIMMED_MEAN. * src/op-parser.c: (set_op_params): Handle 'trimmean:N' paramater. * src/utils.{h,c} (trimmed_mean_value): New function. * contrib/bash-completion/datamash: Add new operation. * doc/datamash.texi, man/datamash.x: Mention new operation. * tests/datamash-error-msgs.pl: Test 'trimmean' parameter error messages. * tests/datamash-stats.pl: Add tests, compare against R results. 2017-09-07 Assaf Gordon build: indicate which hash functions are used at end of ./configure * NEWS: Mention the change (and the link fix from previous commit). * configure.ac: Print 'internal' or 'external' based on $LIB_CRYPTO. 2017-09-07 Jeroen Roovers build: link with external crypto libraries if needed Datamash uses gnulib's sha* modules, which allow linking with OpenSSL for increased performance (using ./configure --with-openssl=yes). Adjust the LDADD flags to link with the external libraries. Reported in http://lists.gnu.org/archive/html/bug-datamash/2017-08/msg00007.html . * Makafile.am (datamash_LDADD): Add $(LIB_CRYPTO) 2017-09-06 Assaf Gordon datamash: new --output-delimiter=X option Suggested by Dave Myron in https://lists.gnu.org/archive/html/bug-datamash/2017-08/msg00008.html . * src/datamash.c (explicit_output_delimiter): New variable. (main): Handle new option. (usagE): Mention new option. * NEWS: Mention feature. * contrib/bash-completion/datamash: Add option. * doc/datamash.texi: Mention new option. * tests/datamash-tests-2.pl, tests/datamash-error-msgs.pl: Test new option. 2017-09-06 Yu Fu doc: fixed two typos Reported in: https://github.com/agordon/datamash/pull/2 . * examples/readme.md: Fixed transcribes -> transcribed. 2017-08-23 Assaf Gordon version 1.2 * NEWS: Record release date. maint: remove missing files from Makefile.am * Makefile.am: Remove files (which were deleted in previous commit). maint: remove outdated build-aux scripts * build-aux/check-remote-make-all.sh, build-aux/check-remote-make-extra.sh, build-aux/check-remote-make-git.sh, build-aux/check-remote-make.sh: Precursors the http://pretest.nongnu.org, no need for standalone scripts any more. * build-aux/gen-coverage-report.sh, build-aux/rebuild-coverage.sh: obsoleted by 'make coverage'. * build-aux/tag-new-version.sh: Removed. maint: update prerelease checks script * build-aix/prerelease-checks.sh: Remove outdated checks, add non-root-installation check. maint: fix 'syntax-check' errors * src/crosstab.c: space-before-parens. * src/datamash.c: double-word. gnulib: update to latest 2017-08-21 Assaf Gordon tests: skip tests if paste(1) is not found On Alpine linux, paste(1) is not installed by default - skip instead of failing. * init.cfg (require_paste_): New shell function. * tests/datamash-rand.sh, tests/datamash-sort-errors.sh: Skip if paste(1) is not found. 2017-08-21 Assaf Gordon tests: quote '^' in shell commands The '^' character has special meaning in older shells (e.g. OpenSolaris 10/sparc). Quote it to prevent test failures. 2017-08-21 Assaf Gordon tests: accept '-nan' under OpenBSD OpenBSD systems return '-nan' instead of 'nan' for two tests. Ignore the '-' prefix. * tests/datamash-tests-2.pl (narm12,narm15): Discard '-' prefix. 2017-08-21 Assaf Gordon datamash: fix incorrect int size for percetiles On SunOS 5.11/i86pc, sizeof(size_t)==4 while sizeof(uintmax_t)==8. This leads to incorrect printf output. Reported by Dagobert Michelseni in https://lists.gnu.org/archive/html/bug-datamash/2017-08/msg00004.html . A better long term solution is to switch entirely from size_t to uintmax_t. * src/op-parser.c, src/datamash.c: use PRIuMAX for printf, and convert to uintmax_t. 2017-08-10 Assaf Gordon maint: improve bash-completion script installation (again) Reported by Bruno Haible in https://lists.gnu.org/archive/html/bug-datamash/2017-08/msg00002.html: the current installation defaults to global location (e.g /usr/share/bash-completion.d) and does not work with non-root installation. Change default to local installation, with option to auto-detect the system's global location. Usage: ./configure --with-bash-completion-dir=[no|local|global|PATH] See README for more details. * configure.ac: Change --with-bash-copmletion-dir processing. * NEWS: Mention this. * README: Document this. 2017-08-08 Assaf Gordon bash-completion: add range,perc operations * contrib/bash-completion/datamash: Add range/perc (percentile) operations to list of suggested completions. 2017-06-08 Assaf Gordon datamash: add lines/fields option to 'check' operation Datamash will fail with non-zero exit code if the input does not have the expected number of lines/fields. Typical usage: $ seq 10 | paste - - | datamash check 2 fields && echo ok 5 lines, 2 fields ok $ seq 10 | paste - - | datamash check 6 fields && echo ok line 1 (2 fields): 1 2 datamash: check failed: line 1 has 2 fields (expecting 6) $ seq 10 | datamash check 11 lines datamash: check failed: input had 10 lines (expecting 11) * NEWS: Mention new options. * src/datamash.c (tabular_check_file): Implement additional checks. * src/op-parser.h (struct mode_check_params_t): New struct to hold options. (struct datamash_ops): Add new struct. * src/op-parser.c (parse_check_line_or_field, parse_mode_check): New functions to parse 'check' options. (parse_mode): Parse option in 'check' mode. * tests/datamash-parser.pl: Add parsing tests. * tests/datamash-check.pl: Add 'check' tests. * Makefile.am: Add 'datamash-check.pl' test script. * man/datamash.x: Add 'check' examples. * doc/datamash.texi: Expand 'check' section. 2017-06-07 Assaf Gordon maint: mark more lines as LCOV_EXCL_LINE for more accurate coverage 2017-05-26 Assaf Gordon gnulib: update to latest 2017-05-26 Assaf Gordon datamash: free crosstab memory if LINT Detected by Covrity scan (CID 72245, 72246). * src/crosstab.c (print_crosstab): Call free() if lint is enabled. 2017-05-26 Assaf Gordon build: add lint option to configure script Usage: ./configure --enable-lint Use during development to supress non-critical warnings. * configure.ac: Add --enable-lint option. * HACKING: Mention this option. 2017-05-09 Assaf Gordon build: add src/die.h to source files list Omitted from previous commit v1.1.1-10-gedab279 "datamash: use die() instead of error()". * Makefile.am (datamash_SOURCES): Add missing file. 2017-05-09 Assaf Gordon datamash: new operation 'range' Calculate the range of values in the group: $ printf '%s\n' 5 3 14 6 | datamash range 1 11 Using 'range' is equivalent to: $ printf '%s\n' 5 3 14 6 | datamash min 1 max 1 | awk '{print $2-$1}' 11 Suggested by Kingsley G. Morse Jr. in https://lists.gnu.org/archive/html/bug-datamash/2017-05/msg00000.html . * NEWS: Mention new operation. * src/datamash.c: (usage): Add new op. * src/op-defs.{h,c}: Define new OP_RANGE. * src/field-ops.{h,c}: Implement new OP_RANGE. * tests/datamash-stats.pl: Test new operation. * tests/datamash-tests-2.pl: Test new operation with various inputs. * doc/datamash.texi, man/datamash.x: Mention new operation. 2017-05-09 Assaf Gordon build: add 'fallthrough' comments to supress gcc-7.1 warnings gcc-7.1 warns about: src/op-parser.c:491:10: error: this statement may fall through [-Werror=implicit-fallthrough=] if (scan_val_int>0) ^ The fallthrough is intentional - add an explicit comment that will detected by the compiler and supress the warnings. * src/op-parser.c: Add explicit 'fallthrough' comment in two intentional fall through cases. 2017-05-09 Assaf Gordon datamash: use die() instead of error() Copied from GNU coreutils v8.25-79-g492dcb2, http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=492dcb2eb1: "die() has the advantage of being apparent to the compiler that it doesn't return, which will avoid warnings in some cases, and possibly generate better code." * src/die.h: Copied from GNU coreutils. * src/op-parser.c, src/op-scanner.c, src/field-ops.c, src/datamash.c: Changed 'error(EXIT_FAILURE,...)' to 'die(...)'. 2017-05-09 Assaf Gordon build: require pkg-config>=0.28 when building from git configure.ac uses the PKG_CHECK_VALUE macro from the pkg-config' pkg.m4 file for bash-completion directory detection. This macro is not available in older pkg-config versions. Does is only required when building from git and running ./bootstrap. Building from tarball does not require pkg-config at all. * bootstrap.conf: Specify minimum version for pkg-config. 2017-05-03 Assaf Gordon build: remove bashcompdir from Makefile.am It is already defined in configure.ac (warning generated by autoreconf). * Makefile.am: Remove bashcompdir. 2017-04-19 Assaf Gordon doc: expand build instructions in README and HACKING.md Explain how to build from git. 2017-04-19 Assaf Gordon build: require 'pkg-config' when bootstrapping pkg-config is used to detect the bash-completion directory. It is optional during ./configure (and ./configure will succeed even if pkg-config is not installed), but pkg.m4 is required by ./bootstrap for the PKG_CHECK_VAR in 'configure.ac'. * bootstrap.conf: Add pkg-config requirement. 2017-04-06 Assaf Gordon gnulib: update to latest 2017-03-24 Barry Nisly datamash: new operation 'perc' (percentiles) Usage: $ seq 100 | datamash --header-out perc:95 1 perc:95(field-1) 95.05 See https://lists.gnu.org/archive/html/bug-datamash/2017-03/msg00000.html . * NEWS: Mention new operation. * src/datamash.c: (usage): Add new op. (print_column_headers): Print percentile value in headers. * src/op-defs.{h,c}: Define new OP_PERCENTILE. * src/field-ops.{h,c}: Implement new OP_PERCENTILE. * src/op-parser.c: (set_op_params): Handle 'perc:N' paramater. * tests/datamash-stats.pl: Test new operation. * tests/datamash-tests.pl: Test 'perc' headers. * doc/datamash.texi, man/datamash.x: Mention new operation. * tests/datamash-error-msgs.pl: Test 'perc' parameter error messages. 2017-03-17 Assaf Gordon build: install bash-completion script by default (if possible) If the 'bash-completion' package is instaleld with pkg-config support, detect the default bash-completion directory and install the datamash completion script there (typically: /usr/share/bash-completion/completions). Otherwise, install in /usr/local/share/datamash/bash-completion.d (as before). Disable with `./configure ---with-bash-completion-dir=no`. Set custom path with `./configure ---with-bash-completion-dir=PATH`. * README: Mention bash-completion options to './configure'. * configure.ac: Add --with-bash-completion-dir=DIR option, and autodetect bash-completion directory using pkg-config. * Makefile.am: Add bash-completion target (if enabled). 2017-03-17 Assaf Gordon maint: update .gitignore gnulib: update to latest 2017-01-20 Assaf Gordon maint: update bootstrap script to latest * bootstrap: Copy latest version from gnulib/build-aux/bootstrap. maint: update NEWS gnulib: update to latest 2017-01-11 Assaf Gordon build: fix out-of-tree builds without dep-tracking Create src,lib,doc,tests subdirectories at the end of 'configure', preventing build problems when building out of tree with --disable-dependency-tracking. Inspired by sed's https://bugs.gnu.org/25371 . * configure.ac: Call AS_MKDIR_P() to create subdirectories. 2017-01-11 Assaf Gordon maint: update copyright year to 2017 Automatic update with 'make update-copyright'. maint: add gnulib's 'update-copyright' module * bootstrap.conf: Add 'update-copyright'. * cfg.mk: Define 'update-copyright-env' with relevant values for 'make update-copyright' maint: update gnulib to latest * m4/.gitignore: Ignore few more m4 files. 2016-09-23 Assaf Gordon doc: fix man page escapes Suggested by Dave Love in http://lists.gnu.org/archive/html/bug-datamash/2016-02/msg00002.html 2016-09-23 Assaf Gordon datamash: bugfix: trailing delimiter should count as an empty field In version 1.1.0 and earlier, trailing delimiter at the end of the line did not count as an empty field: $ printf "a:b:\n" | datamash -t: check 1 line, 2 fields After bugfix: $ printf "a:b:\n" | datamash -t: check 1 line, 3 fields Related to bug report by Sanjeev Kumar Sharma in http://lists.gnu.org/archive/html/bug-datamash/2016-09/msg00000.html 2016-09-23 Assaf Gordon datamash: 'transpose' bugfix (missing values in last line) Missing values in the last line would cause fields to be silently dropped: $ printf "1\t2\na\n" | datamash --no-strict transpose 1 a After bugfix: $ printf "1\t2\na\n" | datamash --no-strict transpose 1 a 2 N/A 2016-01-17 Assaf Gordon maint: update date in NEWS * NEWS: update release version, metion version bump. doc: add 'field delimiters' section to manual * doc/datamash.texi: add new 'field delimiters' section. 2016-01-03 Assaf Gordon maint: update gnulib to latest version * gnulib: update to latest version with copyright year adjusted * tests/init.sh, bootstrap: sync with latest gnulib. maint: update all copyright year number ranges 2016-01-01 Assaf Gordon maint: rename pmccabe makefile target name * Makefile.am: rename 'CYCLO_SOURCES' to 'cyclo_sources', to avoid confusing autoreconf about missing library 'CYCLO'. doc: add rounding,binning sections to manual doc: add 'crosstab' section to manual doc: add 'check' usage example doc: add 'groupby on /etc/passwd' usage example section doc: merge reverse+transpose nodes doc: added 'Usage Examples' chapter doc: reword 'overview' section doc: add custom CSS to the texinfo HTML output * doc/datamash-texinfo.css: new custom styles * doc/local.mk: use new CSS file in 'make html' * Makefile.am: use new CSS file in 'make web-manual' doc: update manual with new operations 2015-12-26 Benno Schulenberg datamash: improve an error message datamash: gettextize an option description as a whole datamash: remove redundant header, and refer correctly to the man page datamash: improve the punctuation and grammar of the usage text 2015-12-20 Assaf Gordon doc: update NEWS for upcoming version maint: update gnulib submodule to latest version 2015-12-18 Assaf Gordon datamash: new operation: strbin (binning strings to numeric value) hashes a text string into a number, returns values from 0 to #bins (default 10). Can be used to bin many free-text input values into a finite (small) set of bins. Identical strings will be hashed to same numeric values. Examples: assign a bin (0 to 9) to a list of strings (bin number added as last field): seq 100 | xargs printf "user-%d\n" \ | datamash --full strbin 1 identical input values will be assigned identical bin number: ( seq 100 ; seq 20 ) | xargs printf "user-%d\n" \ | datamash --full strbin 1 Splitting input values into 10 output files, while keeping identical keys in the same file: ( seq 100 ; seq 20 ) | xargs printf "user-%d\n" \ | datamash --full strbin 1 \ | awk '{print $0 > $NF ".txt"}' * bootstrap.conf: add gnulib's hash-pjw-bare module * src/op-defs.{c,h}: add new op constant * src/field-ops.{c,h}: implement new operation * src/op-parser.c: strbin can take a parameter (# bins) * src/datamash.c: update usage() * man/datamash.x: update man page * contrib/bash-completion/datamash: add new op * tests/datamash-error-msgs.pl, tests/datanash-strbin: test new operation * Makefile.am: add new tests 2015-12-18 Assaf Gordon maint: use gnulib's pmccabe2html module Generate report with: make cyclo-datamash.html * bootstrap.conf: add the pmccabe2html module * Makefile.am: add new target * .gitignore: ignore generated html file 2015-11-13 Assaf Gordon maint: remove superfluous 'with' from doc's "invariant section" pointed by Debian/Ubuntu package maintainer (alejandro@debian.org). * doc/datamash.texi: remove 'with' from 'invariant section' of GFDL to comply with official wording. 2015-07-14 Assaf Gordon build: prefer %PRIuMAX to %zu in printf %zu doesn't play well with mingw cross-compilers. * src/column-headers.c, src/op-parser.c: include , use %PRIuMAX instead of '%zu' in printf . 2015-07-14 Assaf Gordon build: add gnulib's stpcpy module (for mingw) * bootstrap.conf: add stpcpy. 2015-07-14 Assaf Gordon datamash: fail on invalid cov/pearson input Unequal number of items can occur if ignoring N/A values. * src/field-ops.c: fail if the two fields have different number of items. * tests/datamash-pair-tests.pl: tests such inputs. 2015-07-14 Assaf Gordon datamash: fail on incorrect usage * src/op-parser.c: fail when primary operations are given fields ranges or pairs (e.g. 'groupby 1:2'). fail when crosstab is given more than one operation. * tests/datamash-{crosstab,error-msgs,parser}.pl: add new tests. doc: improve man page (new ops, examples) * man/datamash.x: mention new operations, use 'field' instead of 'column', add more examples, improve formatting. datamash: improve usage() * src/datamash.c: improve usage(), mention new operations, use 'field' instead of 'column'. 2015-07-14 Assaf Gordon new operations: round,floor,ceil,trunc,frac typical usage: $ (echo X ; seq -1 0.5 1 ) \ | datamash -H --full round 1 floor 1 ceil 1 trunc 1 frac 1 X round(X) floor(X) ceil(X) trunc(X) frac(X) -1.0 -1 -1 -1 -1 0 -0.5 -1 -1 0 0 -0.5 0.0 0 0 0 0 0 0.5 1 0 1 0 0.5 1.0 1 1 1 1 0 * bootstrap.conf: add gnulib's floorl,ceill,roundl,modfl modules. * src/op-defs.{c,h}: add new operations constants. * src/field-ops.c: handle new operations. * tests/datamash-tests-2.pl: add tests. * contrib/bash-completion/datamash: add new operations. 2015-07-14 Assaf Gordon utils: add functions for long-double zero handling * src/utils.c: is_zero(), is_signed_zero() - retruns true/false. pos_zero(): negates a negative zero, nop otherwise. 2015-07-14 Assaf Gordon new operation: bin (binning into buckets) typical usage (bin into buckets of size 5): $ seq 0 10 | ./datamash bin:5 1 0 0 0 0 0 5 5 5 5 5 10 * src/op-defs.{c,h}: add new operation constant and name. * src/op-parser.c: special handling for operation with an optional parameter. * src/field-ops.h: add optional parameter to struct fieldop. * src/field-ops.c: implement binning operation. * tests/*.pl: add tests 2015-07-14 Assaf Gordon datamash: reword error messages * src/op-parser.c: use 'field' instead 'column', standarize error messages. * tests/*.pl: adapt tests to new wording. 2015-07-14 Assaf Gordon build: fix long-double precision under NetBSD Under NetBSD (and others?) default precision is set to 'double' even for 'long double' variables. This results in incorrect results for 'roundl' and crahes for 'expl' (when using gnulib's implementations. Force 'long double' precision. See gnulib's 'lib/fpucw.h' file for many more details. * bootstrap.conf: add fpucw module. * src/datamash.c: force 'long double' precision. 2015-07-14 Assaf Gordon tests: add rmdup expensive tests * src/datamash.c: add undocumented option to reduce initial size of rmdup structures (forcing more frequent reallocations). * tests/datamash-valgrind.sh: use new option, validate results. tests: add pcov with header * tests/datamash-pair-tests.pl: tests pcov (taking two fields) with output headers (print 1 field, 1 header). 2015-07-14 Assaf Gordon refactor: create new scanner module Use proper tokenizing instead of relying on argc/argv 'tokens' with ad-hoc string manipulation. In the future, this will allow accepting the script as on string (like sed's -e). * bootstrap.conf: add gnulib's c-type module * src/op-scanner.{c,h}: new scanner module, improved tokenizing. * src/op-parser.c: use new scanner, support _STANDALONE_ mode for quicker testing (without autotools,gnulib). * src/op-defs.c: prefer name 'groupby' to 'grouping' when reporting errors. * src/system.h: support_STANDALONE_ mode for quicker testing (without autotools,gnulib). * tests/datamash-{tests,parser,crosstab}.pl: adapt error message text to new parser (no change in functionality). * Makefile.am: include new scanner. * po/POTFILES.in: include new scanner. 2015-06-26 Assaf Gordon build: move 'assert.h' to 'system.h' * src/op-defs.c: move 'assert.h' from here... * src/system.h: to here. avoids 'syntax-check' warings about including 'assert.h' without using it (it is used indirectly with 'internal_error()' macro). build: conditionally include minmax.h Don't include "lib/minmax.h" if MAX is already defined. Seems redundant (per the comment in minmax.h), but tcc 0.9.26 still fails. maint: force -std=c99 with static analysis * cfg.mk: force -std=c99 when using clang's scan-build program, as it does not to do so automatically, and compliation fails. maint: improve configure messages * configure.ac: simplify printing of examples directory; print bash-completion directory. 2015-06-26 Assaf Gordon datamash: improve,install bash-completion script By default, script installed to program's datadir, e.g. /usr/local/datamash/share/bash-completion.d/datamash and the user can manually source it from ~/.bashrc. Optionally, can be installed to another location, e.g. ./configure --with-bash-completion-dir=/etc/bash_completion.d to be automatically loaded. * contrib/bash-completion/datamash: fix script, improve suggestions, do not use '_init_completion' (not available in bash-comp<1.9) * configure.ac: add option --with-bash-completion-dir * Makefile.am: install script. 2015-06-26 Assaf Gordon datamash: new operation: Pearson Correlation usage (calculate pearson (population) correlation coefficient on fields 1,2): datamash ppearson 1:2 < 1.txt * src/op-defs.{c,h}: new op enums. * src/op-parser.c: handle new op. * src/utils.{c,h}: implement pearson correlation function. * src/field-ops.c: handle new op. * tests/datamash-pair-tests.pl: add tests 2015-06-26 Assaf Gordon datamash: new operation: covariance usage (calculate population-covariance on fields 1,2): datamash pcov 1:2 < 1.txt * src/op-defs.{c,h}: new op enums. * src/op-parser.c: handle new operation, with special parsing for column pairs (e.g. '1:2'). * src/field-ops.{c,h}: implement new operation, and add master/slave field-op options (as covariance is implemented as two linked field ops, one for each column). * src/datamash.c: skip 'slave' field-ops when printing. * tests/datamash-parser.pl: test column-pairs parsing * tests/datamash-pair-tests.pl: test column-pair operations. * tests/datamash-valgrind.sh: test covariance operation. * Makefile.am: include new tests. 2015-06-26 Assaf Gordon datamash: utils: add covariance implementation * src/utils.{c,h}: covariance_value() - new function. 2015-06-26 Assaf Gordon datamash: improve parser, allow field range allows: datamash sum 1-5,7-9 * src/op-parser.c: improve field parsing * tests/datamash-parser.pl: add new tests 2015-06-26 Assaf Gordon datamash: new feature: check reports back number of lines,fields - or exit with failure if the input lines do have have same number of fields. usage: $ seq 10 | paste - - | datamash check 5 lines, 2 fields $ seq 9 | paste - - | datamash check line 4 (2 fields): 7 8 line 5 (1 fields): 9 ./datamash: check failed: line 5 has 1 fields (previous line had 2) * src/datamash.c: tabular_check_file() - new function. * src/op-defs.{h,c}: new mode enum. * src/op-parser.c: handle new mode. * tests/datamash-check-tabular.pl: add tests. * Makefile.am: add new test file. 2015-06-26 Assaf Gordon maint: git-ignore more files 2015-06-26 Assaf Gordon datamash: new feature: crosstab usage: datamash crosstab 1,2 sum 3 * src/crosstab.{c,h} - implementation * src/datamash.c - handle new crosstab processing mode. * src/op-defs.{c,h} - additional crossab constants. * src/op-parser.c - special handling for crosstab mode. * tests/datamash-crosstab.pl - new tests. * Makefile.am - add new files. 2015-06-26 Assaf Gordon maint: add GL_ATTRIBUTE_PURE where needed maint: fix NEWS syntax-check * NEWS: add missing empty line. 2015-06-26 Assaf Gordon maint: add coverage hints 1. Add LCOV_EXCL_BR_LINE to skip few switch cases where the default case should never be reached. 2. Add LCOV_EXCL_LINE. LCOV_EXCL_BR_LINE requires geninfo from lcov>=1.11 . 2015-06-26 Assaf Gordon maint: remove unused strcnt module datamash: improve parser module, add tests * src/datamash.c: remove redundant left-over code. * src/op-parser.c: improve token processing * src/op-defs.c: rename 'grp' alias to 'gb' (=groupby) * tests/datamash-parser.pl: new tests * Makefile.am: add new tests. maint: fix syntax-check errors datamash: move config vars to text-options * src/datamash.c,src/field-ops.c: move several configuration parameters from here ... * src/text-options.{c,h}: ... to here. maint: fix empty variable init * src/field-ops.c: CLANG complained about '{0}'. replace with memset(). refactor: move field-operation list. * src/field-ops.{c,h}: refactored to handle just one struct at a time. private functions removed from the header file. * src/op-parser.{c,h}: the list of field-ops is handled here. * src/datamash.c: adapted as needed. 2015-06-26 Assaf Gordon refactor: create parsing module 1. Better handling of processing modes (e.g. group-by/transpose/reverse/rmdup) vs operations (e.g sum/count/min/max/mean). 2. Support new syntax: datamash groupby 1,2 sum 3 equivalent to: datamash -g 1,2 sum 3 * src/op-defs.{c,h} - list of processing modes and operations. * src/op-parser.{c,h} - parsing module. returns structure with parsed information (mode, grouping fields, operations, etc.). * src/op-fields.{c,h} - adapt to new parsing, remove old pasring functions. * src/datamash.c - adapt to new parsing module. * tests/*.pl - minor changes to error messages. 2015-06-26 Assaf Gordon refactor: extract group-processing to a function * src/datamash.c: process_group(): new function to print/summarize each group. refactor: fields-ops printing * src/field.ops{h,c}: field_op_summarize_empty(), field_op_summarize(): store results in 'op->out_buf', don't directly print to stdout. summarize_field_ops(), field_op_print_empty_value(): print buffer to stdout. refactor: print empty values (for testing) * src/datamash.c: move empty value printing code from here ... * src/field-ops.{h,c}: ... to new function field_op_print_empty_value(). 2015-06-22 Assaf Gordon maint: add NEWS about 1.0.7 features 2015-05-29 Assaf Gordon build: update gettext/autoconf/automake versions * bootstrap.conf: require gettext>=0.19.4, autoconf=>2.62, automake>=1.11.1. * configure.ac: require gettext=>=0.19.4 * po/ChangeLog: updated to mention gettext 0.19.4 by 'gettextize -f' 2015-05-28 Assaf Gordon maint: update gnulib to latest version. specifically, for mingw fixes: http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00026.html http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00030.html http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00031.html 2015-05-27 Assaf Gordon maint: improve printf portability, remove mingw hack * bootstrap.conf: use gnulib's inttypes,stdint,extensions modules. See http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00021.html . * configure.ac: remove mingw hack. gnulib's extensions module should take care of making PRIuMAX work correctly. * src/datamash.c: use PRIuMAX as format speficier in printf, instead of previous ugly mingw hack (which also didn't work with translations, see http://lists.gnu.org/archive/html/bug-datamash/2015-05/msg00001.html ). maint: avoid compiler warning about no-return. * src/fields-ops.c: add 'return' which should never be reached. 2015-05-20 Assaf Gordon tests: improve portability of perl Digest::MD5 On some systems (Centos7, Fedora21), Perl's Digest::MD5 is not installed by default (despite being official a core module). If so, skip the MD5 tests instead of failing. * tests/datamash-md5.pl: separate tests file for MD5. * tests/datamash-tests{,-2}.pl: don't use Digest::MD5 by default. * Makefile.am: add the new test file 2015-05-19 Assaf Gordon maint: improve tests portability of inf/nan Depending on the OS/libc, printf(Not-a-number) can be 'nan' or 'NaN'. printf(Infinity) can be 'inf', 'Inf', 'Infinity'. Instead of guessing it, add undocumented option to print the value on the current system. * src/datamash.c: add undocumented options to print the values of inf/nan/progname. * tests/datamash-{tests,tests-2,stats}.pl: use the undocumented option as the expected result string of various tests. 2015-01-18 A. Gordon build: update to lastest gnulib * gnulib: Update to latest * tests/init.sh: update from gnulib 2015-01-18 Benno Schulenberg doc: fix some inconsistencies doc: do not mention the nonexistent options -h and -v 2015-01-18 A. Gordon maint: update copyright year to 2015 maint: enable po translation * bootstrap.conf: remove SKIP_PO * .gitignore: ignore fetched po/ files 2014-11-27 A. Gordon datamash: new option '--narm': ignore NA/NaN values Suggested by Brandon Invergo: http://lists.gnu.org/archive/html/bug-datamash/2014-11/msg00002.html * src/utils.{h,c}: is_na() new function * src/field-ops.{c,h}: field_op_collect(): detect and skip NA/NaN values. field_op_summarize_empty(): print results of empty values. field_op_summarize(): call above function if no values. * src/datamash.c: update usage(), main() * doc/datamash.texi: mention new option * tests/datamash-tests-2.pl: add tests for new option. 2014-10-06 A. Gordon maint: update syntax-check rule to allow digits * cfg.mk: change regex in 'sc_prohibit_test_backticks' rule to allow digits in file names of tests. Also remove two unrelated file names (left-overs from 'coreutils') 2014-10-06 A. Gordon datamash: keep correct lines with '--full' Discussed in https://github.com/agordon/datamash/issues/3 , and also existed in (very) old revisions of 'calc'. When using a selection operation (first/last/min/max/etc) which selects one line out of the group, and combining with --full, this ensures the correct line is selected (not just the correct fields intemixed with the values of the first line). * src/datamash.c: keep the correct line * src/field-ops.{c,h}: for selection operation, determine whether to keep the line or not. * src/datamash-tests.pl: adapt one test of 'lst' to new behavior. * src/datamash-tests-2.pl: tests new --full behavour 2014-10-06 A. Gordon maint: add 'static-analysis' make target Example: make static-analysis or: make static-analysis-configure make static-analysis-make Uses clang's scan-build static analysis tool to analyze the code. Use the two-step method to change code and re-analyze without re-runnning './configure' again. 2014-09-12 A. Gordon build: Enable build using Mingw cross-compilers * configure.ac: add flag and auto-detection for mingw * Makefile.am: add compilation flag * src/datamash.c: Use conditional printf type for size_t ("%zu" for all unixes, "%Iu" for mingw) * HACKING.md: mention this issue * build-aux/check-remote-make-extra.sh: add mingw checks maint: add gnulib 'strsep' and 'random' modules These modules were missing when cross-compiling with mingw. * bootstrap.conf: add missing modules * m4/.gitignore: add files 2014-08-22 A. Gordon maint: expand HACKING.md file * HACKING.md: add notes. * cfg.mk: skip syntax-check on HACKING.md for few rules. datamash: improve delimiter edge-case handling * src/datamash.c: reject NUL delimiter, prevent shell-quoting problems when sorting with single-quote delimiter. * tests/datamash-tests.pl: add tests for these edge-cases. datamash: improve '--group' parameter parsing * src/strcnt.{c,h}: new utility function to count characters in string. * Makefile.am: add new module. * src/datamash.c: parse_group_spec(): improve parsing code. * tests/datamash-tests.pl: add more tests. 2014-08-12 Assaf Gordon datamash: new feature: accept named columns Examples: datamash -H sum price < input.txt (If 'input.txt' has a column named 'price'). datamash -H -g id sum 2 < FILE (assuming FILE has column named 'id') Suggested by Shaun Jackman (sjackman@gmail.com). * bootstrap.conf: use gnulib's xstrndup module. * src/field-ops.{h,c}: if column parameter is not a valid number, keep parameter as string, and defer finding the number to later. * src/column-headers.{h,c}: add a function to get the column number by its name. * src/datamash.c: process_file(): if some column are named, try to find the columns' number based on the header line, or exit with an error. parse_group_spec(): optionally use names. process_input_header(), remove_dups_in_file(): if grouping/operations use named columns, find column number after reading the header line. usage(): mention named columns. * tests/datamash-tests.pl: adapt existing tests to new error messages, add new tests for this feature. * man/datamash.x: add named-columns examples. 2014-08-12 Assaf Gordon maint: improve 'syntax-check' 2014-08-09 A. Gordon maint: new 'coverage-expensive' target * cfg.mk: add 'coverage-expensive' target, for better coverage. maint: improve build-check scripts * build-aux/check-remote-make-all.sh: accept -c/-b/-m/-e arguments and pass them to 'check-remote-make.sh' script. * build-aux/check-remote-make-extra.sh: check cross-compilation and other compilers * build-aux/check-remote-make-git.sh: check building from git repository. * build-aux/prerelease-checks.sh: use new script. 2014-08-09 Assaf Gordon tests: test more rmdup edge-cases datamash: fix header line edge-case * src/datamash.c: if the input contains a header line but no further lines, print the output header line correctly. * tests/datamash-tests.pl: add tests for this edge case. 2014-08-09 A. Gordon datamash: improve header handling in rmdup/reverse * src/datamash.c: handle input/output header combinations. * tests/datamash-tests.pl: add tests * tests/datamash-transpose.pl: add tests maint: add git-log-fix file * build-aux/git-log-fix: this file is used by gnulib's build module, but after gnulib ugprade it was removed. Add it back. datamash: improve debase64 error handling * src/field-ops.{c,h}: return error code on failed base64 decoding. * src/datamash.c: handle decoding errors. * tests/datamash-tests.pl: test failed base64 decoding. * tests/datamash-valgrind.sh: test base64 encoding/decoding on large input. 2014-08-09 Assaf Gordon maint: improve output of parallel-tests * Makefile.am, init.cfg: redirect stderr to file-descriptor 9, improving error reporting using automake's parallel-tests. Based on similar setttings in GNU coreutils. build: add PURE attribute to functions build: add compiler warnings, -Werror build: speedup with gnulib's unlocked-io module * bootstrap.conf: add gnulib's unlocked-io module, providing significant speed improvement with readlinebuffer_delim(). 2014-08-09 A. Gordon datamash: improve field-parsing code * src/text-lines.c: line_record_parse_fields(): revise code in case of single-character delimiter. 2014-08-09 A. Gordon datamash: new operations: rmdup, noop rmdup: remove lines based on duplicated keys. Similar to: awk '!a[$1]++' noop: no-operation (optionally with --full: print file as-is). Used for testing and profiling. * bootstrap.conf: use gnulib's hash module. * src/field-ops.{c,h}: add new operations * src/utils.{h,c}: hash_compare_strings(): helper function for gnulib's hash module. * src/datamash.c: noop_file(), remove_dups_in_file(): functions for new operations; main(): call new functions. usage(): mention new operation. * tests/datamash-valgrind.sh: test 'rmdup' operation with large input. * man/datamash.x: mention new operation, add example. 2014-08-09 A. Gordon maint: improve syntax-check * src/field-ops.c: replace tabs with spaces. datamash: improve assert and code coverage Asserts impossible conditions, and exclude from code coverage. tests: test more edge-case datamash: refactor operation output type * src/field-ops.{h,c} - define the output type (numeric/string) in the operations table, instead of during runtime. maint: fix/improve 'make coverage' * cfg.mk: force deletion of '*.gcno/*.gcda' when using 'make coverage'. Otherwise, some failures occur with lcov reporting 'unexpected end of file'. maint: fix syntax-check, part 3 maint: fix syntax-check issues, part 2 maint: fix source files for 'syntax-check', part 1 maint: add few more syntax-check rules * cfg.mk: copy syntax-check rules from GNU coreutils. build: update gnulib submodule to latest build: disable --debug option * configure.ac: remove --enable-debug option. * src/*.c: remove #ifdef debug code. 2014-08-09 Assaf Gordon datamash: refactor field-splitting Instead of using gnulib's linebuffer directly, handle line-reading and field-splitting with a new structure 'line_record_t' . Field-splitting by delimiter is performed once, automatically, when a line is read. Pointers to each field are stored in 'line_record_t'. * src/text-lines.{c,h}: implement 'line_record_t' functionality. * src/datamash.c: replace 'linebuffer' with 'line_record_t' . * src/column-headers.{c,h}: use new functionality. * tests/datamash-tests.pl: adapt tests for new error messages. * tests/datamash-valgrind.sh: fix field delimiter in tests. 2014-08-08 Assaf Gordon maint: add 'default' case to prevent compiler warning datamash: bugfix: detect invalid column values * src/field-ops.c: add more checks * tests/datamash-tests.pl: add more tests tests: tests few more edge-cases datamash: improve field-op output handling * src/field-ops.{c,h}: pre-allocate buffer for string output when initializing the field-op, instead of malloc/free on every print. field_op_reserve_out_buf(): ensures the field-op's output buffer is large enough to hold the resulting string; field_op_to_hex(), unique_values(), count_unique_values(), collapse_values(), field_op_summarize(): use new output buffer. 2014-08-08 A. Gordon datamash: new line operations: md5/sha*, base64 Line-Operations work on each line on the file (no grouping by key). Example: md5 on the first column on a file: datamash md5 1 < FILE Is similar to: perl -MDigest::MD5=md5_hex -lane 'print md5_hex($F[0])' < FILE * bootstrap.conf: add gnulib's md5/sha*/base64 modules * src/field-ops.{c,h}: implement new operations * src/datamash.c: process_file(): implement new 'line mode' processing; usage() mention new options. * man/datamash.x: mention new operations * doc/datamash.texi: ditto * tests/datamash-tests.pl: test new operations * tests/datamash-sha.pl: test sha1/256/512 opertions (requiring recent perl module Digest::SHA, this test might be skipped on systems with old Perl). * Makefile.am: add new test file. 2014-08-03 A. Gordon maint: fix wrong path in previous commit maint: added bash-completion script * contrib/bash-completion/datamash - bash completion script * Makefile.am: include script in distribution (without installing it) * .gitignore: ignore the binary executable only 2014-07-30 A. Gordon maint: update NEWS maint: gitignore more files maint: add pre-release build-and-check script maint: improve check-and-build scripts * build-aux/check-remote-make.sh: report system inforation, accept custom git branch to check-out. * build-aux/check-remote-make-all.sh: add more hosts. tests: skip some tests if perl isn't found * configure.ac: test for Perl, setup PERL_FOUND automake varaible. * Makefile.am: enable parallel tests for pl,sh files, and use a stub to skip tests if Perl is not found on the system. tests: mark valgrind test as 'expensive' 2014-07-27 A. Gordon tests: improve portability under qemu/binfmt When building with cross-compiling AND running (non-native) binary locally with qemu/binfmt, the argv[0] (binary name) is changed by qemu. argv[0] is used for error reporting. Example with most systems, argv[0] is exactly the same as the user entered: $ datamash --foobar datamash: invalid option --foobar $ /custom/path/datamash --foobar /custom/path/datamash: invalid option --foobar But under qemu/binfmt, argv[0] becomes the full path: $ datamash --foobar /home/gordon/projects/datamash/datamash: invalid option --foobar The tests were modified to detect the actual path reported by the program, or fall back to 'datamash' (as it was before). 2014-07-27 A. Gordon maint: improve build-aux check scripts * renamed remote-make-check.sh => check-remote-make.sh * renamed remote-make-check-all.sh => check-remote-make-all.sh * check-remote-make.sh: added features: 1) more source: local/remote tarball, git 2) more compressions: gz/bz2/xz 3) building from git with './bootstrap' 4) command-line options to set parameters to env/configure/make 2014-07-27 A. Gordon maint: improve debian-hardening build method * configure.ac: move option from './configure' to .. * cfg.mk: make rules. Instead of: ./configure --enable-debian-hardenning Now use: make deb-hard 2014-07-27 A. Gordon man page: improve hyphen vs minus characters * man/datamash.x: escape minus characters where needed, to distinguish between hyphens and minus/dash. Suggested by Alejandro Garrido Mota tests: test I/O errors * tests/datamash-io-errors.sh: tests I/O errors using specially pre-mounted filesystems. * Makefile.am: add test. * build-aux/create_corrupted_filesystem.sh: script to create corrupted ext3 filesystem image. * build-aux/create_small_filesystem.sh: script to create small ext3 filesystem which can be filled easily. 2014-07-25 A. Gordon datamash: add 'internal_error' macro * src/system.h: define 'internal_error' macro. * src/field-ops.c: Replace 'error' call with 'internal_error' macro. * src/datamash.c: ditto. build: don't re-generate manpage from tarball * configure.ac: search for '.git' directory, implying building from git (if found) or tarball (if not found). * Makefile.am: If building from GIT, re-generate manpage. If building rom tarball, assume the manpage is already there, do not regenerate it, and do not clean it (with 'make clean'). 2014-07-23 Assaf Gordon datamash: new operations: transpose, reverse * src/datamash.c: new functions: transpose_file(), reverse_fields_in_file(). main(): parse new options usage(): update help screen * src/field-ops.{h,c}: new function: parse_operation_mode(). parse_operations() renamed to parse_grouping_operations(). * man/datamash.x: updated man-page information * doc/datamash.texi: updated texinfo manual * tests/datamash-transpose.pl - new tests * tests/datamash-valgrind.sh - new tests * Makefile.am: include new tests 2014-07-18 A. Gordon datamash: fix typo in help screen * src/datamash.c: usage(): fix 'pto' => 'dpo' typo. 2014-07-17 A. Gordon build: fix configure's message of examples path * configure.ac: Report correct path of installed examples ( PACKAGE_NAME = "GNU Datamash" while PACKAGE = "datamash" ). build: fix configure.ac parameter typo * configure.ac: fix param definition (otherwise --disable-debug would fail). build: add build prerequisites * bootstrap.conf: add gettext, gperf, makeinfo as prerequisites when building from git source. tests: test headers with whitespace delimiters * tests/datamash-tests.pl: add test for header line with whitespace delimiters. datamash: simplify line buffer handling * src/text-lines.c: linebuffer_nullify(): based on readlinebuffer_delim(), there is always a EOL-delimiter present in the buffer. tests: add Sample-Skewness test * tests/datamash-stats.pl: test sample-skewness with just 2 data points. maint: improve internal errors * src/field-ops.c: don't gettextize internal errors (no need to translate them), and exclude them from coverage reports. * src/utils.c: exclude internal error from coverage reports. datamash: improve gettext strings * src/datamash.c: usage(): improve wording, gettextize missed string, line up long options. Based on suggestion by Benno Schulenberg from the Translation Project. 2014-07-16 A. Gordon maint: update NEWS and README maint: syntax-check fix * Makefile.am: reduce spaces to appease 'make syntax-check' rule. build: Explicitly use perl for help2man * Makefile.am: Use 'perl' executable in $PATH for help2man, don't count on #! path in help2man - Hydra/NixOS doesn't have "/usr/bin/env", so it can't be used. NOTE: Using customized help2man (see commit 33c75d), so don't use system's installed help2man. 2014-07-15 A. Gordon Expand manual page * man/datamash.x: expand manual page with content from old help screen. datamash: shorten help screen src/datamash.c: usage(): shorten help screen. build: man page depends on .x template * Makefile.am: make manual page generation depend on datamash.x template. build: accept single example in help2man * man/help2man: Modify the EXAMPLES pattern detection to accept a single example. 2014-07-15 A. Gordon build: don't hard-code Perl path in scripts * man/help2man - Use "/usr/bin/env perl" instead of "/usr/bin/perl". * tests/datamash-stats.pl - ditto * tests/datamash-tests.pl - ditto Hard-coded Perl fails Hydra/NixOS builds (http://hydra.nixos.org/build/12516876), and is also generally bad form. 2014-07-06 A. Gordon GNU Datamash: remove files relating to external sites GNU Datamash: update README GNU Datamash: rename package 2014-05-20 A. Gordon maint: improve comments in tests 2014-05-13 A. Gordon maint: add 'texlive' package to Travis-CI maint: add 'texinfo' package to travis-CI 2014-05-13 A. Gordon doc: add texinfo documentation 2014-04-30 A. Gordon maint: update copyright/license in files 2014-04-19 A. Gordon maint: update 'git-log-fix' due to gnulib upgrade. gnulib: upgrade to latest version maint: add more hosts to build-check script maint: .gitignore more files maint: fix 'make syntax-check' errors maint: replace old bcopy/bzero calls with memmove/memset 2014-04-15 A. Gordon maint: add cygwin distribution packing script build: work-around strtold() bug on cygwin build: remove unneeded header from src/compute.c Compilation failed on Cygwin with this header. maint: improve automatic checks script Formalize rarely used debug option To build with debug option: ./configure --enable-debug To use: compute --debug [other options] build: fix compilation on Cygwin (missing nanl/expl) 2014-04-12 A. Gordon maint: improve instructions in 'tag-new-version' script maint: .gitignore few more files maint: add script to build and test on multiple hosts. maint: Improve output of 'aws-upload' script portability: cater to systems without a stable sort tests: improve portability when detecting 'nan' It's 'nan' on most systems, but 'NaN' on some. build: portability: add missing header bzero() and bcopy() fail to compile on DilOS without it. tests: improve portability of mktemp Five X's fail on OpenBSD. compute: default to TAB instead of Whitespace as delimiter compute: fix typos 2014-04-11 A. Gordon maint: add script to build & check on remote machine tests: improve portability of error message detection. tests: don't assume 'seq' is installed. SKIP if not found. build: improve 'inline' declaration for two functions. They failed to build on OpenBSD. compute: improve help screen compute: new operation: D'Agostino-Pearson omnibus (dpo) normality test src/utils: adjust math functions for consistant nan results compute: new operation: Jarque-Bera normality test tests: test mad/madraw with unsorted input 2014-04-10 A. Gordon tests: tests more sequences compute: new operation: excess kurtosis compute: new operation: skewness (for pop./sample) src/utils: extract function for arithmetic mean. tests: document equivalent R code for stat tests + reorder. compute: new operations: mad,madraw tests: add tests for pop/sample stdev/variance compute: new operations: q1,q3,iqr compute: new operation: rand 2014-04-09 A. Gordon build: add -Werror to ./src/ files. tests: fix comments compute: new operations: first,last 2014-04-08 A. Gordon compute: set numeric output precision build: improve comment in configure.ac 2014-04-08 A. Gordon build: Use compiler warnings from gl_WARN_ADD Those were wrongly dropped when changed to non-recursive makefile. The new flags are used only with the 'compute' sources, but not with the gnulib sources. 2014-04-08 A. Gordon compute: detect invalid suffix in numeric input. fields-ops: remove 'keep_lines' feature. Perhaps will be added in future versions. compute: move numeric conversion into 'field-ops' module. 2014-03-22 A. Gordon build: add helper scripts to EXTRA_DIST build: work-around for missing '.tarball-version' See: http://lists.gnu.org/archive/html/bug-hello/2014-03/msg00017.html maint: update helper scripts build: include 'help2man' and use it. Not all systems have "help2man" installed. 2014-03-20 A. Gordon maint: add helper script to upload files to AWS S3 build: update helper scripts to new name 2014-03-19 A. Gordon RENAME: calc -> compute To avoid name conflicts with existing software. 2014-03-18 A. Gordon TravisCI - no need for GNU Sed 4.2.2 anymore. calc: bugfix on --sort without grouping. 'pipe_through_sort' was not cleared, caused errors on FreeBSD (all other systems seems not to mind calling pclose on a non-popen FILE). calc: sort+headers: don't use GNU sed. Implement unbuffered input to avoid GNU sed dependency. 2014-03-15 A. Gordon calc: fix 'make syntax-check' errors build: improve ./configure messages gitignore: ignore more files Automatically generated by gnulib 2014-03-14 A. Gordon Travis-CI: add 'make distcheck', disable encode binary No need to save the static binary from a Linux build - can be easily created anywhere. build: make-bin script: improve tar filename build: update gnulib build: add empty git-log-fix Will be needed if there are ever commit tyops/errors, see http://lists.gnu.org/archive/html/coreutils/2011-11/msg00004.html build: fix help2man issue on FreeBSD http://lists.gnu.org/archive/html/bug-hello/2014-03/msg00003.html 2014-03-13 A. Gordon Travis-CI: don't get git submodules. 'bootstrap' should do it. Travis-CI: build with debian hardening flags src/calc: (temporarily) ignore the return value of fwrite using gnulib's 'clouseout' module will check for write errors when the program terminates. build: add '--enable-debian-hardening' to './configure' report CPPFLAGS at the end of './configure' tests: minor change to improve portability Previous syntax failed on Mac-OS X. Switch to non-recursive Makefile 2014-03-11 A. Gordon Travis-CI: check coverage after successful build gitignore: ignore coverage files tests: tests sort-pipe failure coverage tests: exclude unreachable line build: remove unused module 'strnumcmp' src/field-ops.c: document unreachable code. src/field-ops.c: refactor free() code. tests: add tests, improve coverage src/column-headers.c: improve error message build: add scripts to generate coverage information build: define inline'd symbols in src/text-options.c Avoids 'undefined reference' errors when compiling with coverage instrumentation. 2014-03-10 A. Gordon Travis: improve build, add scripts 2014-03-09 A. Gordon build: add 'make-bin' script to distribution build: print message at the end of ./configure build: make GZ tarballs, not XZ. build: add required README file as a stub. .gitignore: ignore more files build: helper script to build static binaries README: update information, refer to website .gitignore: ignore build-related files calc: free column headers, add tests calc: bugfix for headers without grouping tests: don't use valgrind on static binaries 2014-03-08 A. Gordon calc: new global case-sensitive option '-i' + tests build: fix minor errors refactor: extract common functions into modules maint: update copyright year, add GPL calc: conditionally compile '--debug' option. To enable it, Use ./configure CFLAGS="-DENABLE_DEBUG" calc: improve help screen. examples: improve 'scores' example 2014-03-07 A. Gordon build: remove 'make distcheck' from Travis-CI. It fails for unclear reason. calc: remove extraneous 'const' Caused compilation errors with clang. build: Add ".travis.yml" for Travis-CI calc: fix sort+headers, add tests examples: use '-s' instead of piping to 'sort|' calc: implement auto-sorting, add tests calc: add stub for '--sort' option. build: remove 'key-compare' from PO list calc: simplify code, don't use key-compare module. calc: simply parameters, remove '--key' option. calc: add '-T' as shortcut for tab separator. Merge branch 'examples' examples: add example files. 2014-03-06 A. Gordon tests: fix valgrind test for 'make distcheck' tests: add valgrind tests calc: fix memory problems 2014-03-05 A. Gordon examples: new sub-directory tests: add countunique tests new operation: countunique 2014-03-04 A. Gordon tests: test single-line groups 2014-02-27 A. Gordon tests: check empty input bugfix: '--full' and no groups would return the wrong line. Returned the last line of the last group, instead of the first line of the last group (as it returns the first line of every other group). tests: add --header-in tests headers: don't print group headers with --full. tests: test count on non-numeric fields remove unused cruft (from header feature) bugfix: Allow 'count' to count non-numeric fields key-compare: make 'blanks' public. implement headers support. Implement output headers (without --full). Command-line processing and Help for 'headers' options. 2013-05-04 Assaf Gordon build: touch missing files 2013-04-27 Assaf Gordon build: use gl_WARN_ADD for compiler warnings key-compare: fix compilation warnings -Wunused-parameter and -Wswitch-default will trigger warnings. change code to avoid them. 2013-04-26 Assaf Gordon Merge branch 'gitchangelog' build: add gnulib's gitlog-to-changelog 2013-04-12 Assaf Gordon calc: improve help message for help2man gettext-ify the package autoconf: switch from gz to xz system.h: minor improvements 2013-04-10 Assaf Gordon calc: use gnulib closeout module Protect against write errors at the end of te program, e.g. 'calc XXX > /dev/full' (which should fail). Merge branch 'better_autotools' GNU-ify: add auto-generated man page cleanups: remove 'scripts' directory There are no add-on scripts for calc (at the moment). GNU-ify: update src/Makefile.am GNU-ify: update tests/Makefile.am GNU-ify: add AUTHORS,THANKS GNU-ify based on GNU-hello, step 1 (configure.ac) code cleanups and more comments add GPLv3+ text to source files 2013-04-09 Assaf Gordon some more comments minor code cleanups minor code cleanups calc: groupping support (with proper output) calc: process groups. calc: add tests for groups calc: re-arrange headers calc: compare lines using --key calc: prepare code for key-compare. calc: import key-compare form coreutils. 2013-04-06 Assaf Gordon calc: expand '--help' section README: add simple use-case. tests: more tests (groups) tests: fix automake for out-of-tree builds calc: more tests calc: more tests calc: initial testing framework run with: make check or: make check VERBOSE=yes or: make check VERBOSE=yes DEBUG=yes SAVE_TEMPS=yes calc: proper printing of output calc: field extractiong works 2013-04-05 Assaf Gordon calc: re-factor, prepare for field support. calc: bugfix for numeric values with groups calc: initial grouping, by empty line calc: re-implement unique/collapse calc: implement unique/unique-nocase calc: implement mode/antimode calc: implement stdev/variance, other fixes. 2013-04-04 Assaf Gordon calc: first shot at multi-valued numeric (median) calc: single-value operations working. calc: add stub input reading 2013-04-03 Assaf Gordon calc: create field/op structures calc: parse operation arguments calc: set GNU coding styles for VIM calc: process -z and --debug 2013-03-30 Assaf Gordon build system: fix auto generated version.c calc: add template code Add version, coyright, help, usage messages. gnulib: add modules. configure.ac: remove extra GCC checks gnulib doesn't compile with them. TODO: add GCC warnings to projec'ts build in src/Makefile.am. (but only if using GCC). added gnulib submodule Initial Commit datamash-1.9/GNUmakefile0000644000000000000000000001124614774034771010670 # Having a separate GNUmakefile lets me 'include' the dynamically # generated rules created via cfg.mk (package-local configuration) # as well as maint.mk (generic maintainer rules). # This makefile is used only if you run GNU Make. # It is necessary if you want to build targets usually of interest # only to the maintainer. # Copyright (C) 2001, 2003, 2006-2025 Free Software Foundation, Inc. # 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 . # If the user runs GNU make but has not yet run ./configure, # give them a diagnostic. _gl-Makefile := $(wildcard [M]akefile) ifneq ($(_gl-Makefile),) # Make tar archive easier to reproduce. export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --sort=name # Allow the user to add to this in the Makefile. ALL_RECURSIVE_TARGETS = include Makefile # Some projects override e.g., _autoreconf here. -include $(srcdir)/cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include $(srcdir)/maint.mk # Ensure that $(VERSION) is up to date for dist-related targets, but not # for others: rerunning autoreconf and recompiling everything isn't cheap. # This is not part of the essential workflow with .tarball-version. Rather, # it is meant to help the maintainer who has changed the current version # but not done a "make distclean". _have-git-version-gen := \ $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes) ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) _is-dist-target ?= $(filter-out %clean, \ $(filter maintainer-% dist% alpha beta stable,$(MAKECMDGOALS))) _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) ifneq (,$(_is-dist-target)$(_is-install-target)) _curr-ver := $(shell cd $(srcdir) \ && $(_build-aux)/git-version-gen \ .tarball-version \ $(git-version-gen-tag-sed-script)) ifneq ($(_curr-ver),$(VERSION)) ifeq ($(_curr-ver),UNKNOWN) $(info WARNING: unable to verify if $(VERSION) is the correct version) else ifneq (,$(_is-install-target)) # GNU Coding Standards state that 'make install' should not cause # recompilation after 'make all'. But as long as changing the version # string alters config.h, the cost of having 'make all' always have an # up-to-date version is prohibitive. So, as a compromise, we merely # warn when installing a version string that is out of date; the user # should run 'autoreconf' (or something like 'make distcheck') to # fix the version, 'make all' to propagate it, then 'make install'. $(info WARNING: version string $(VERSION) is out of date;) $(info run '$(MAKE) _version' to fix it) else $(info INFO: running autoreconf for new version string: $(_curr-ver)) GNUmakefile: _version touch GNUmakefile endif endif endif endif endif .PHONY: _version _version: cd $(srcdir) && rm -rf autom4te.cache .version && $(_autoreconf) $(MAKE) $(AM_MAKEFLAGS) Makefile else .DEFAULT_GOAL := abort-due-to-no-makefile srcdir = . # The package can override .DEFAULT_GOAL to run actions like autoreconf. -include ./cfg.mk # Allow cfg.mk to override these. _build-aux ?= build-aux _autoreconf ?= autoreconf -v include ./maint.mk ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile) $(MAKECMDGOALS): abort-due-to-no-makefile endif abort-due-to-no-makefile: @echo There seems to be no Makefile in this directory. 1>&2 @echo "You must run ./configure before running '$(MAKE)'." 1>&2 @exit 1 endif # Tell version 3.79 and up of GNU make to not build goals in this # directory in parallel, in case someone tries to build multiple # targets, and one of them can cause a recursive target to be invoked. # Only set this if Automake doesn't provide it. AM_RECURSIVE_TARGETS ?= $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) \ dist distcheck tags ctags ALL_RECURSIVE_TARGETS += $(AM_RECURSIVE_TARGETS) ifneq ($(word 2, $(MAKECMDGOALS)), ) ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), ) .NOTPARALLEL: endif endif datamash-1.9/INSTALL0000644000000000000000000004032214767400545007642 Installation Instructions ************************* Basic Installation ================== The following shell commands: test -f configure || ./bootstrap ./configure make make install should configure, build, and install this package. The first line, which bootstraps, is intended for developers; when building from distribution tarballs it does nothing and can be skipped. A package might name the bootstrapping script differently; if the name is ‘autogen.sh’, for example, the first line should say ‘./autogen.sh’ instead of ‘./bootstrap’. The following more-detailed instructions are generic; see the ‘README’ file for instructions specific to this package. Some packages provide this ‘INSTALL’ file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in the GNU Coding Standards. Many packages have scripts meant for developers instead of ordinary builders, as they may use developer tools that are less commonly installed, or they may access the network, which has privacy implications. These scripts attempt to bootstrap by building the ‘configure’ script and related files, possibly using developer tools or the network. Because the output of bootstrapping is system-independent, it is normally run by a package developer so that its output can be put into the distribution tarball and ordinary builders and users need not bootstrap. Some packages have commands like ‘./autopull.sh’ and ‘./autogen.sh’ that you can run instead of ‘./bootstrap’, for more fine-grained control over bootstrapping. The ‘configure’ script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a ‘Makefile’ in each directory of the package. It may also create one or more ‘.h’ files containing system-dependent definitions. Finally, it creates a script ‘config.status’ that you can run in the future to recreate the current configuration, and a file ‘config.log’ containing output useful for debugging ‘configure’. It can also use an optional file (typically called ‘config.cache’ and enabled with ‘--cache-file=config.cache’ or simply ‘-C’) that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how ‘configure’ could check whether to do them, and mail diffs or instructions to the address given in the ‘README’ so they can be considered for the next release. If you are using the cache, and at some point ‘config.cache’ contains results you don’t want to keep, you may remove or edit it. The ‘autoconf’ program generates ‘configure’ from the file ‘configure.ac’. Normally you should edit ‘configure.ac’ instead of editing ‘configure’ directly. The simplest way to compile this package is: 1. ‘cd’ to the directory containing the package’s source code. 2. If this is a developer checkout and file ‘configure’ does not yet exist, run the bootstrapping script (typically ‘./bootstrap’ or ‘./autogen.sh’) to bootstrap and create the file. You may need special developer tools and network access to bootstrap, and the network access may have privacy implications. 3. Type ‘./configure’ to configure the package for your system. This might take a while. While running, ‘configure’ prints messages telling which features it is checking for. 4. Type ‘make’ to compile the package. 5. Optionally, type ‘make check’ to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 6. Type ‘make install’ to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the ‘make install’ phase executed with root privileges. 7. Optionally, type ‘make installcheck’ to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior ‘make install’ required root privileges, verifies that the installation completed correctly. 8. You can remove the program binaries and object files from the source code directory by typing ‘make clean’. To also remove the files that ‘configure’ created (so you can compile the package for a different kind of computer), type ‘make distclean’. There is also a ‘make maintainer-clean’ target, but that is intended mainly for the package’s developers. If you use it, you may have to bootstrap again. 9. If the package follows the GNU Coding Standards, you can type ‘make uninstall’ to remove the installed files. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the ‘configure’ script does not know about. Run ‘./configure --help’ for details on some of the pertinent environment variables. You can give ‘configure’ initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=gcc CFLAGS=-g LIBS=-lposix See “Defining Variables†for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each system in their own directory. To do this, you can use GNU ‘make’. ‘cd’ to the directory where you want the object files and executables to go and run the ‘configure’ script. ‘configure’ automatically checks for the source code in the directory that ‘configure’ is in and in ‘..’. This is known as a “VPATH†build. With a non-GNU ‘make’, it is safer to compile the package for one system at a time in the source code directory. After you have installed the package for one system, use ‘make distclean’ before reconfiguring for another system. Some platforms, notably macOS, support “fat†or “universal†binaries, where a single binary can execute on different architectures. On these platforms you can configure and compile just once, with options specific to that platform. Installation Names ================== By default, ‘make install’ installs the package’s commands under ‘/usr/local/bin’, include files under ‘/usr/local/include’, etc. You can specify an installation prefix other than ‘/usr/local’ by giving ‘configure’ the option ‘--prefix=PREFIX’, where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option ‘--exec-prefix=PREFIX’ to ‘configure’, the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like ‘--bindir=DIR’ to specify different values for particular kinds of files. Run ‘configure --help’ for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of ‘${prefix}’, so that specifying just ‘--prefix’ will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to ‘configure’; however, many packages provide one or both of the following shortcuts of passing variable assignments to the ‘make install’ command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, ‘make install prefix=/alternate/directory’ will choose an alternate location for all directory configuration variables that were expressed in terms of ‘${prefix}’. Any directories that were specified during ‘configure’, but not in terms of ‘${prefix}’, must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the ‘DESTDIR’ variable. For example, ‘make install DESTDIR=/alternate/directory’ will prepend ‘/alternate/directory’ before all installation names. The approach of ‘DESTDIR’ overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of ‘${prefix}’ at ‘configure’ time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving ‘configure’ the option ‘--program-prefix=PREFIX’ or ‘--program-suffix=SUFFIX’. Some packages pay attention to ‘--enable-FEATURE’ and ‘--disable-FEATURE’ options to ‘configure’, where FEATURE indicates an optional part of the package. They may also pay attention to ‘--with-PACKAGE’ and ‘--without-PACKAGE’ options, where PACKAGE is something like ‘gnu-ld’. ‘./configure --help’ should mention the ‘--enable-...’ and ‘--with-...’ options that the package recognizes. Some packages offer the ability to configure how verbose the execution of ‘make’ will be. For these packages, running ‘./configure --enable-silent-rules’ sets the default to minimal output, which can be overridden with ‘make V=1’; while running ‘./configure --disable-silent-rules’ sets the default to verbose, which can be overridden with ‘make V=0’. Specifying a System Type ======================== By default ‘configure’ builds for the current system. To create binaries that can run on a different system type, specify a ‘--host=TYPE’ option along with compiler variables that specify how to generate object code for TYPE. For example, to create binaries intended to run on a 64-bit ARM processor: ./configure --host=aarch64-linux-gnu \ CC=aarch64-linux-gnu-gcc \ CXX=aarch64-linux-gnu-g++ If done on a machine that can execute these binaries (e.g., via ‘qemu-aarch64’, ‘$QEMU_LD_PREFIX’, and Linux’s ‘binfmt_misc’ capability), the build behaves like a native build. Otherwise it is a cross-build: ‘configure’ will make cross-compilation guesses instead of running test programs, and ‘make check’ will not work. A system type can either be a short name like ‘mingw64’, or a canonical name like ‘x86_64-pc-linux-gnu’. Canonical names have the form CPU-COMPANY-SYSTEM where SYSTEM is either OS or KERNEL-OS. To canonicalize and validate a system type, you can run the command ‘config.sub’, which is often squirreled away in a subdirectory like ‘build-aux’. For example: $ build-aux/config.sub arm64-linux aarch64-unknown-linux-gnu $ build-aux/config.sub riscv-lnx Invalid configuration 'riscv-lnx': OS 'lnx' not recognized You can look at the ‘config.sub’ file to see which types are recognized. If the file is absent, this package does not need the system type. If ‘configure’ fails with the diagnostic “cannot guess build typeâ€. ‘config.sub’ did not recognize your system’s type. In this case, first fetch the newest versions of these files from the GNU config package (https://savannah.gnu.org/projects/config). If that fixes things, please report it to the maintainers of the package containing ‘configure’. Otherwise, you can try the configure option ‘--build=TYPE’ where TYPE comes close to your system type; also, please report the problem to . For more details about configuring system types, see the Autoconf documentation. Sharing Defaults ================ If you want to set default values for ‘configure’ scripts to share, you can create a site shell script called ‘config.site’ that gives default values for variables like ‘CC’, ‘cache_file’, and ‘prefix’. ‘configure’ looks for ‘PREFIX/share/config.site’ if it exists, then ‘PREFIX/etc/config.site’ if it exists. Or, you can set the ‘CONFIG_SITE’ environment variable to the location of the site script. A warning: not all ‘configure’ scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to ‘configure’. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the ‘configure’ command line, using ‘VAR=value’. For example: ./configure CC=/usr/local2/bin/gcc causes the specified ‘gcc’ to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for ‘CONFIG_SHELL’ due to an Autoconf limitation. Until the limitation is lifted, you can use this workaround: CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash ‘configure’ Invocation ====================== ‘configure’ recognizes the following options to control how it operates. ‘--help’ ‘-h’ Print a summary of all of the options to ‘configure’, and exit. ‘--help=short’ ‘--help=recursive’ Print a summary of the options unique to this package’s ‘configure’, and exit. The ‘short’ variant lists options used only in the top level, while the ‘recursive’ variant lists options also present in any nested packages. ‘--version’ ‘-V’ Print the version of Autoconf used to generate the ‘configure’ script, and exit. ‘--cache-file=FILE’ Enable the cache: use and save the results of the tests in FILE, traditionally ‘config.cache’. FILE defaults to ‘/dev/null’ to disable caching. ‘--config-cache’ ‘-C’ Alias for ‘--cache-file=config.cache’. ‘--srcdir=DIR’ Look for the package’s source code in directory DIR. Usually ‘configure’ can determine that directory automatically. ‘--prefix=DIR’ Use DIR as the installation prefix. See “Installation Names†for more details, including other options available for fine-tuning the installation locations. ‘--host=TYPE’ Build binaries for system TYPE. See “Specifying a System Typeâ€. ‘--enable-FEATURE’ ‘--disable-FEATURE’ Enable or disable the optional FEATURE. See “Optional Featuresâ€. ‘--with-PACKAGE’ ‘--without-PACKAGE’ Use or omit PACKAGE when building. See “Optional Featuresâ€. ‘--quiet’ ‘--silent’ ‘-q’ Do not print messages saying which checks are being made. To suppress all normal output, redirect it to ‘/dev/null’ (any error messages will still be shown). ‘--no-create’ ‘-n’ Run the configure checks, but stop before creating any output files. ‘configure’ also recognizes several environment variables, and accepts some other, less widely useful, options. Run ‘configure --help’ for more details. Copyright notice ================ Copyright © 1994–1996, 1999–2002, 2004–2017, 2020–2024 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. datamash-1.9/Makefile.am0000644000000000000000000002223514771573715010655 # Copyright (C) 2013-2021 Assaf Gordon # Copyright (C) 2022-2025 Timothy Rice # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS=subdir-objects AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src EXTRA_DIST = \ build-aux/make_bin_dist.sh \ build-aux/prerelease-checks.sh \ build-aux/git-log-fix \ build-aux/create_small_file_system.sh \ build-aux/create_corrupted_file_system.sh \ contrib/bash-completion/datamash \ m4/gnulib-cache.m4 SUBDIRS = po ## ## Main Program ## bin_PROGRAMS = datamash decorate datamash_SOURCES = src/system.h \ src/die.h \ src/text-options.c src/text-options.h \ src/utils.c src/utils.h \ src/randutils.c src/randutils.h \ src/text-lines.c src/text-lines.h \ src/column-headers.c src/column-headers.h \ src/op-defs.c src/op-defs.h \ src/op-scanner.c src/op-scanner.h \ src/op-parser.c src/op-parser.h \ src/field-ops.c src/field-ops.h \ src/crosstab.c src/crosstab.h \ src/double-format.c src/double-format.h \ src/datamash.c datamash_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(MINGW_CFLAGS) datamash_LDADD = \ lib/lib$(PACKAGE).a \ $(CEIL_LIBM) \ $(CEILL_LIBM) \ $(EXP_LIBM) \ $(EXPL_LIBM) \ $(FABS_LIBM) \ $(FABSL_LIBM) \ $(FLOOR_LIBM) \ $(FLOORL_LIBM) \ $(FREXP_LIBM) \ $(FREXPL_LIBM) \ $(ISNANL_LIBM) \ $(LDEXP_LIBM) \ $(LDEXPL_LIBM) \ $(LIB_CRYPTO) \ $(LIB_HARD_LOCALE) \ $(LIB_MBRTOWC) \ $(LIB_SETLOCALE) \ $(LIB_SETLOCALE_NULL) \ $(LIBICONV) \ $(LIBINTL) \ $(LIBTHREAD) \ $(LOG_LIBM) \ $(LOGL_LIBM) \ $(MODF_LIBM) \ $(MODFL_LIBM) \ $(ROUND_LIBM) \ $(ROUNDL_LIBM) \ $(SQRT_LIBM) \ $(SQRTL_LIBM) \ $(TRUNC_LIBM) \ $(TRUNCL_LIBM) \ $(INTL_MACOSX_LIBS) decorate_SOURCES = src/decorate.c \ src/key-compare.c src/key-compare.h \ src/decorate-functions.c src/decorate-functions.h decorate_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(MINGW_CFLAGS) decorate_CPPFLAGS = $(AM_CPPFLAGS) \ -DKEY_COMPARE_DECORATION \ -DKEY_COMPARE_HUMAN_NUMERIC \ -DKEY_COMPARE_NONPRINTING \ -DKEY_COMPARE_MONTH \ -DKEY_COMPARE_RANDOM \ -DKEY_COMPARE_REVERSE \ -DKEY_COMPARE_VERSION decorate_LDADD = lib/lib$(PACKAGE).a \ $(INET_PTON_LIB) \ $(LIBICONV) \ $(LIBINTL) \ $(LIB_MBRTOWC) # Add LOCALDIR for gettext localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ ## ## Man Page ## man_MANS = datamash.1 decorate.1 EXTRA_DIST += $(man_MANS) \ man/datamash.x \ man/decorate.x \ man/help2man CLEANFILES = ## Re-generate the man-page from the --help screen only if building from ## a GIT repository (implying developers). ## When building from tar-ball, the manpage should already exist. ## (This conditional is defined in 'configure.ac') ## NOTE: ## If user is building from GIT *and* cross-compiling, ## the manpage would be required, but can't be generated. ## 'make' will fail with an error. ## If this is ever a real-world issue, deal with it... if BUILD_FROM_GIT datamash.1: datamash $(top_srcdir)/man/datamash.x PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'$$PATH \ perl $(abs_top_srcdir)/man/help2man \ --include=$(top_srcdir)/man/datamash.x \ datamash -o $@-t chmod u=rw,go=r $@-t mv -f $@-t $@ decorate.1: decorate $(top_srcdir)/man/decorate.x PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'$$PATH \ perl $(abs_top_srcdir)/man/help2man \ --include=$(top_srcdir)/man/decorate.x \ decorate -o $@-t chmod u=rw,go=r $@-t mv -f $@-t $@ CLEANFILES += $(man_MANS) endif ## ## Tests ## TEST_EXTENSIONS = .pl .sh if PERL_FOUND PL_LOG_COMPILER=$(PERL) else PL_LOG_COMPILER=$(SHELL) $(top_srcdir)/tests/no-perl endif TESTS = \ tests/datamash-show-env.sh \ tests/datamash-tests.pl \ tests/datamash-tests-deprecated.pl \ tests/datamash-tests-2.pl \ tests/datamash-tests-2-deprecated.pl \ tests/datamash-parser.pl \ tests/datamash-error-msgs.pl \ tests/datamash-md5.pl \ tests/datamash-sha.pl \ tests/datamash-rand.sh \ tests/datamash-rand.pl \ tests/datamash-stats.pl \ tests/datamash-transpose.pl \ tests/datamash-crosstab.pl \ tests/datamash-check.pl \ tests/datamash-pair-tests.pl \ tests/datamash-check-tabular.pl \ tests/datamash-output-format.pl \ tests/datamash-i18n-de.pl \ tests/datamash-sort-header.pl \ tests/datamash-sort-header-deprecated.pl \ tests/datamash-sort-errors.sh \ tests/datamash-io-errors.sh \ tests/datamash-io-errors-cheap.sh \ tests/datamash-strbin.sh \ tests/datamash-valgrind.sh \ tests/datamash-vnlog.pl \ tests/decorate-tests.pl \ tests/decorate-errors.pl \ tests/decorate-sort-tests.pl EXTRA_DIST += \ tests/no-perl \ tests/Coreutils.pm \ tests/CuSkip.pm \ tests/CuTmpdir.pm \ tests/init.sh \ init.cfg \ $(TESTS) # Note: the "9>&2" redirection is part of Automake's parallel-tests. # see also stderr_fileno in 'init.cfg' TESTS_ENVIRONMENT = \ top_srcdir=$(abs_top_srcdir) \ PERL5LIB='$(abs_top_srcdir)/tests$(PATH_SEPARATOR)'"$$PERL5LIB" \ PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'$$PATH \ DATAMASH=`echo datamash | sed '$(transform)'` \ DECORATE=`echo decorate | sed '$(transform)'` \ test_dir='$(abs_top_srcdir)/tests' ; \ export top_srcdir PERL5LIB PATH DATAMASH DECORATE test_dir ; \ 9>&2 ## ## For 'make syntax-check' ## EXTRA_DIST += \ cfg.mk ## ## Examples ## ## These example files will be installed in the ## "{prefix}/share/APPNAME/examples" directory ## (default "/usr/local/share/datamash/examples") examplesdir = $(pkgdatadir)/examples dist_examples_DATA = examples/readme.md \ examples/scores.txt examples/scores_h.txt \ examples/genes.txt examples/genes_h.txt EXTRA_DIST += $(dist_examples_DATA) if ENABLE_BASH_COMPLETION dist_bashcomp_DATA = contrib/bash-completion/datamash endif ## ## PO/gettext check ## # Verify that all source files using _() are listed in po/POTFILES.in. # The idea is to run this before making pretests, as well as official # releases, so that translators will be sure to have all the messages. # (From coreutils.) po-check: if test -f po/POTFILES.in; then \ grep -E -v '^(#|$$)' po/POTFILES.in \ | grep -v '^src/false\.c$$' | sort > $@-1; \ files=; \ for file in $$($(CVS_LIST_EXCEPT)) `find * -name '*.[ch]'`; do \ case $$file in \ gnulib/* | man/*) continue;; \ esac; \ case $$file in \ *.[ch]) \ base=`expr " $$file" : ' \(.*\)\..'`; \ { test -f $$base.l || test -f $$base.y; } && continue;; \ esac; \ files="$$files $$file"; \ done; \ grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files \ | sort -u > $@-2; \ diff -u $@-1 $@-2 || exit 1; \ rm -f $@-1 $@-2; \ fi ## ## GnuLib ## LOG_COMPILER = MAINTAINERCLEANFILES= noinst_LIBRARIES = MOSTLYCLEANFILES = MOSTLYCLEANDIRS = BUILT_SOURCES = ## ## Documentation, using Gnulib's 'gendocs' module ## gendocs = build-aux/gendocs.sh gendocs_envvars = GENDOCS_TEMPLATE_DIR=doc # manual = datamash manual_title=GNU datamash email = $(PACKAGE_BUGREPORT) gendocs_args = --email $(email) $(manual) $(manual_title) # This will affect the result of 'make web-manual' # all generated HTML files will contain the embedded CSS statements. # 'gendocs_options_' is used in the 'web-manual' target in 'maint.mk'. gendocs_options_=\ --html "--css-include=$(abs_top_srcdir)/doc/datamash-texinfo.css" include $(top_srcdir)/lib/local.mk include $(top_srcdir)/doc/local.mk ## ## Compute program's code complexity ## using gnulib's pmccabe2html module cyclo_sources = ${top_srcdir}/src/*.[ch] svweburl="https://git.savannah.gnu.org/cgit/" cyclo-$(PACKAGE).html: $(cyclo_sources) $(PMCCABE) $(cyclo_sources) \ | sort -nr \ | $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \ -v lang=html -v name="$(PACKAGE_NAME)" \ -v vcurl="$(svweburl)/$(PACKAGE).git/tree/%FILENAME%" \ -v url="https://www.gnu.org/software/$(PACKAGE)/" \ -v css=${top_srcdir}/build-aux/pmccabe.css \ -v cut_dir=${top_srcdir}/ \ > $@-tmp mv $@-tmp $@ ## ## ## dist-hook: gen-ChangeLog $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version gen_start_date = 2011-12-17 .PHONY: gen-ChangeLog gen-ChangeLog: $(AM_V_GEN)if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ --amend=$(srcdir)/build-aux/git-log-fix \ --since=$(gen_start_date) > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi # Shortcut targets to make it easier to run (very) expensive tests. check-expensive: $(MAKE) check RUN_EXPENSIVE_TESTS=yes check-very-expensive: $(MAKE) check-expensive RUN_VERY_EXPENSIVE_TESTS=yes datamash-1.9/Makefile.in0000644000000000000000000347423314771573731010700 # Makefile.in generated by automake 1.17 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2024 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Copyright (C) 2013-2021 Assaf Gordon # Copyright (C) 2022-2025 Timothy Rice # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # Copyright (C) 2014-2021 Assaf Gordon # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # Copyright (C) 2002-2025 Free Software Foundation, Inc. # # This file 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 file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # Reproduce by: # gnulib-tool --import \ # --local-dir=gl \ # --lib=libdatamash \ # --source-base=lib \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=tests \ # --aux-dir=build-aux \ # --makefile-name=gnulib.mk \ # --automake-subdir \ # --no-conditional-dependencies \ # --no-libtool \ # --macro-prefix=gl \ # announce-gen \ # assert \ # base64 \ # c-ctype \ # calloc-gnu \ # ceill \ # closeout \ # configmake \ # crypto/md5 \ # crypto/sha1 \ # crypto/sha256 \ # crypto/sha512 \ # dirname \ # do-release-commit-and-tag \ # dup2 \ # errno \ # error \ # expl \ # extensions \ # fabsl \ # floorl \ # fpucw \ # gendocs \ # getopt-gnu \ # getrandom \ # gettext-h \ # git-version-gen \ # gitlog-to-changelog \ # gnu-web-doc-update \ # gnupload \ # hard-locale \ # hash \ # hash-pjw \ # hash-pjw-bare \ # ignore-value \ # inet_pton \ # inline \ # intprops \ # inttostr \ # inttypes \ # isblank \ # isnanl \ # linebuffer \ # locale \ # localeconv \ # logl \ # maintainer-makefile \ # minmax \ # modfl \ # netinet_in \ # pclose \ # pmccabe2html \ # popen \ # progname \ # propername \ # random \ # readme-release \ # realloc-gnu \ # roundl \ # setlocale \ # sh-quote \ # signbit \ # size_max \ # snprintf \ # sqrtl \ # std-gnu11 \ # stdbool \ # stdint \ # stdnoreturn \ # stpcpy \ # strcase \ # strdup-posix \ # strsep \ # strtold \ # strtoll \ # sys_random \ # sys_socket \ # unlocked-io \ # update-copyright \ # version-etc \ # waitpid \ # warnings \ # xalloc \ # xstrtol \ # xstrtol-error \ # xstrtoumax # Make GNU Datamash documentation. -*-Makefile-*- # This is included by the top-level Makefile.am. # Based on GNU Hello: # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, # 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free # Software Foundation, Inc. # Modifications for GNU Datamash are # Copyright (C) 2014-2021 Assaf Gordon # 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 . VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) am__rm_f = rm -f $(am__rm_f_notfound) am__rm_rf = rm -rf $(am__rm_f_notfound) am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = datamash$(EXEEXT) decorate$(EXEEXT) @BUILD_FROM_GIT_TRUE@am__append_1 = $(man_MANS) @GL_GENERATE_BYTESWAP_H_TRUE@am__append_2 = lib/byteswap.c @GL_COND_OBJ_CEIL_TRUE@am__append_3 = lib/ceil.c @GL_COND_OBJ_CEILL_TRUE@am__append_4 = lib/ceill.c @GL_COND_OBJ_CLOSE_TRUE@am__append_5 = lib/close.c @GL_COND_OBJ_DUP2_TRUE@am__append_6 = lib/dup2.c @GL_COND_OBJ_ERROR_TRUE@am__append_7 = lib/error.c @GL_COND_OBJ_EXPL_TRUE@am__append_8 = lib/expl.c @GL_COND_OBJ_FABSL_TRUE@am__append_9 = lib/fabsl.c @GL_COND_OBJ_FCNTL_TRUE@am__append_10 = lib/fcntl.c @GL_COND_OBJ_FFLUSH_TRUE@am__append_11 = lib/fflush.c @GL_COND_OBJ_FLOAT_TRUE@am__append_12 = lib/float.c @GL_COND_OBJ_ITOLD_TRUE@am__append_13 = lib/itold.c @GL_COND_OBJ_FLOOR_TRUE@am__append_14 = lib/floor.c @GL_COND_OBJ_FLOORL_TRUE@am__append_15 = lib/floorl.c @GL_COND_OBJ_FPENDING_TRUE@am__append_16 = lib/fpending.c @GL_COND_OBJ_FPURGE_TRUE@am__append_17 = lib/fpurge.c @GL_COND_OBJ_FREE_TRUE@am__append_18 = lib/free.c @GL_COND_OBJ_FSEEK_TRUE@am__append_19 = lib/fseek.c @GL_COND_OBJ_FSEEKO_TRUE@am__append_20 = lib/fseeko.c @GL_COND_OBJ_FSTAT_TRUE@am__append_21 = lib/fstat.c @GL_COND_OBJ_FTELL_TRUE@am__append_22 = lib/ftell.c @GL_COND_OBJ_FTELLO_TRUE@am__append_23 = lib/ftello.c @GL_COND_OBJ_GETDTABLESIZE_TRUE@am__append_24 = lib/getdtablesize.c @GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE@am__append_25 = lib/getlocalename_l-unsafe.c @GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE@am__append_26 = lib/getlocalename_l-unsafe.c @GL_COND_OBJ_GETOPT_TRUE@am__append_27 = lib/getopt.c lib/getopt1.c @GL_COND_OBJ_GETPROGNAME_TRUE@am__append_28 = lib/getprogname.c @GL_COND_OBJ_GETRANDOM_TRUE@am__append_29 = lib/getrandom.c @GL_COND_OBJ_ICONV_OPEN_TRUE@am__append_30 = lib/iconv_open.c @GL_COND_OBJ_ICONV_TRUE@am__append_31 = lib/iconv.c lib/iconv_close.c @GL_COND_OBJ_INET_PTON_TRUE@am__append_32 = lib/inet_pton.c @GL_COND_OBJ_ISBLANK_TRUE@am__append_33 = lib/isblank.c @GL_COND_OBJ_ISFINITE_TRUE@am__append_34 = lib/isfinite.c @GL_COND_OBJ_ISINF_TRUE@am__append_35 = lib/isinf.c @GL_COND_OBJ_ISWBLANK_TRUE@am__append_36 = lib/iswblank.c @GL_COND_OBJ_ISWDIGIT_TRUE@am__append_37 = lib/iswdigit.c @GL_COND_OBJ_ISWPUNCT_TRUE@am__append_38 = lib/iswpunct.c @GL_COND_OBJ_ISWXDIGIT_TRUE@am__append_39 = lib/iswxdigit.c @GL_COND_OBJ_LDEXP_TRUE@am__append_40 = lib/ldexp.c @GL_COND_OBJ_LDEXPL_TRUE@am__append_41 = lib/ldexpl.c @GL_COND_OBJ_LOCALECONV_TRUE@am__append_42 = lib/localeconv.c @GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE@am__append_43 = lib/localename-unsafe.c @GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE@am__append_44 = lib/localename-unsafe.c @GL_COND_OBJ_LOG_TRUE@am__append_45 = lib/log.c @GL_COND_OBJ_LOGL_TRUE@am__append_46 = lib/logl.c @GL_COND_OBJ_LSEEK_TRUE@am__append_47 = lib/lseek.c @GL_COND_OBJ_MBRTOC32_TRUE@am__append_48 = lib/mbrtoc32.c @GL_COND_OBJ_MBRTOWC_TRUE@am__append_49 = lib/mbrtowc.c @GL_COND_OBJ_MBSINIT_TRUE@am__append_50 = lib/mbsinit.c @GL_COND_OBJ_MEMCHR_TRUE@am__append_51 = lib/memchr.c @GL_COND_OBJ_MEMPCPY_TRUE@am__append_52 = lib/mempcpy.c @GL_COND_OBJ_MODF_TRUE@am__append_53 = lib/modf.c @GL_COND_OBJ_MODFL_TRUE@am__append_54 = lib/modfl.c @GL_COND_OBJ_MSVC_INVAL_TRUE@am__append_55 = lib/msvc-inval.c @GL_COND_OBJ_MSVC_NOTHROW_TRUE@am__append_56 = lib/msvc-nothrow.c @GL_COND_OBJ_OPEN_TRUE@am__append_57 = lib/open.c @GL_COND_OBJ_PCLOSE_TRUE@am__append_58 = lib/pclose.c @GL_COND_OBJ_POPEN_TRUE@am__append_59 = lib/popen.c @GL_COND_OBJ_PTHREAD_ONCE_TRUE@am__append_60 = lib/pthread-once.c @GL_COND_OBJ_RANDOM_TRUE@am__append_61 = lib/random.c @GL_COND_OBJ_RANDOM_R_TRUE@am__append_62 = lib/random_r.c @GL_COND_OBJ_REALLOC_POSIX_TRUE@am__append_63 = lib/realloc.c @GL_COND_OBJ_REALLOCARRAY_TRUE@am__append_64 = lib/reallocarray.c @GL_COND_OBJ_ROUND_TRUE@am__append_65 = lib/round.c @GL_COND_OBJ_ROUNDL_TRUE@am__append_66 = lib/roundl.c @GL_COND_OBJ_SETLOCALE_TRUE@am__append_67 = lib/setlocale.c @GL_COND_OBJ_SETLOCALE_FIXES_TRUE@am__append_68 = lib/setlocale-fixes.c @GL_COND_OBJ_SETLOCALE_LOCK_TRUE@am__append_69 = lib/setlocale-lock.c @GL_COND_OBJ_SIGNBIT3_TRUE@am__append_70 = lib/signbitf.c lib/signbitd.c lib/signbitl.c @GL_COND_OBJ_SQRTL_TRUE@am__append_71 = lib/sqrtl.c @GL_COND_OBJ_STAT_TRUE@am__append_72 = lib/stat.c @GL_COND_OBJ_STDIO_READ_TRUE@am__append_73 = lib/stdio-read.c @GL_COND_OBJ_STDIO_WRITE_TRUE@am__append_74 = lib/stdio-write.c @GL_COND_OBJ_STPCPY_TRUE@am__append_75 = lib/stpcpy.c @GL_COND_OBJ_STRCASECMP_TRUE@am__append_76 = lib/strcasecmp.c @GL_COND_OBJ_STRDUP_TRUE@am__append_77 = lib/strdup.c @GL_COND_OBJ_STRERROR_TRUE@am__append_78 = lib/strerror.c @GL_COND_OBJ_STRERROR_OVERRIDE_TRUE@am__append_79 = lib/strerror-override.c @GL_COND_OBJ_STRNCASECMP_TRUE@am__append_80 = lib/strncasecmp.c @GL_COND_OBJ_STRNLEN_TRUE@am__append_81 = lib/strnlen.c @GL_COND_OBJ_STRSEP_TRUE@am__append_82 = lib/strsep.c @GL_COND_OBJ_STRTOD_TRUE@am__append_83 = lib/strtod.c @GL_COND_OBJ_STRTOLD_TRUE@am__append_84 = lib/strtold.c @GL_COND_OBJ_STRTOLL_TRUE@am__append_85 = lib/strtoll.c @GL_COND_OBJ_STRTOULL_TRUE@am__append_86 = lib/strtoull.c @GL_COND_OBJ_STRTOUMAX_TRUE@am__append_87 = lib/strtoumax.c @GL_COND_OBJ_TRUNC_TRUE@am__append_88 = lib/trunc.c @GL_COND_OBJ_TRUNCL_TRUE@am__append_89 = lib/truncl.c @LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE@am__append_90 = lib/unicase/tolower.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE@am__append_91 = lib/unictype/ctype_alnum.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE@am__append_92 = lib/unictype/ctype_alpha.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE@am__append_93 = lib/unictype/ctype_blank.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE@am__append_94 = lib/unictype/ctype_cntrl.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE@am__append_95 = lib/unictype/ctype_digit.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE@am__append_96 = lib/unictype/ctype_graph.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE@am__append_97 = lib/unictype/ctype_lower.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE@am__append_98 = lib/unictype/ctype_print.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE@am__append_99 = lib/unictype/ctype_punct.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE@am__append_100 = lib/unictype/ctype_space.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE@am__append_101 = lib/unictype/ctype_upper.c @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE@am__append_102 = lib/unictype/ctype_xdigit.c @LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE@am__append_103 = lib/unistr/u8-mbtoucr.c @LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE@am__append_104 = lib/unistr/u8-uctomb.c lib/unistr/u8-uctomb-aux.c @LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE@am__append_105 = lib/uniwidth/width.c @GL_COND_OBJ_WAITPID_TRUE@am__append_106 = lib/waitpid.c @GL_COND_OBJ_WCWIDTH_TRUE@am__append_107 = lib/wcwidth.c @GL_COND_OBJ_WINDOWS_MUTEX_TRUE@am__append_108 = lib/windows-mutex.c @GL_COND_OBJ_WINDOWS_ONCE_TRUE@am__append_109 = lib/windows-once.c @GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE@am__append_110 = lib/windows-recmutex.c @GL_COND_OBJ_WINDOWS_RWLOCK_TRUE@am__append_111 = lib/windows-rwlock.c subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ $(top_srcdir)/m4/__inline.m4 \ $(top_srcdir)/m4/absolute-header.m4 $(top_srcdir)/m4/af_alg.m4 \ $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/arpa_inet_h.m4 \ $(top_srcdir)/m4/assert.m4 $(top_srcdir)/m4/assert_h.m4 \ $(top_srcdir)/m4/base64.m4 $(top_srcdir)/m4/build-to-host.m4 \ $(top_srcdir)/m4/byteswap.m4 $(top_srcdir)/m4/c-bool.m4 \ $(top_srcdir)/m4/c32rtomb.m4 $(top_srcdir)/m4/calloc.m4 \ $(top_srcdir)/m4/ceil.m4 $(top_srcdir)/m4/ceill.m4 \ $(top_srcdir)/m4/check-math-lib.m4 $(top_srcdir)/m4/close.m4 \ $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \ $(top_srcdir)/m4/ctype_h.m4 \ $(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \ $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ $(top_srcdir)/m4/error_h.m4 $(top_srcdir)/m4/exp.m4 \ $(top_srcdir)/m4/expl.m4 $(top_srcdir)/m4/exponentd.m4 \ $(top_srcdir)/m4/exponentf.m4 $(top_srcdir)/m4/exponentl.m4 \ $(top_srcdir)/m4/extensions-aix.m4 \ $(top_srcdir)/m4/extensions.m4 \ $(top_srcdir)/m4/extern-inline.m4 $(top_srcdir)/m4/fabs.m4 \ $(top_srcdir)/m4/fabsl.m4 $(top_srcdir)/m4/fcntl-o.m4 \ $(top_srcdir)/m4/fcntl.m4 $(top_srcdir)/m4/fcntl_h.m4 \ $(top_srcdir)/m4/fflush.m4 $(top_srcdir)/m4/flexmember.m4 \ $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/floor.m4 \ $(top_srcdir)/m4/floorl.m4 $(top_srcdir)/m4/fpending.m4 \ $(top_srcdir)/m4/fpieee.m4 $(top_srcdir)/m4/fpurge.m4 \ $(top_srcdir)/m4/freading.m4 $(top_srcdir)/m4/free.m4 \ $(top_srcdir)/m4/frexp.m4 $(top_srcdir)/m4/frexpl.m4 \ $(top_srcdir)/m4/fseek.m4 $(top_srcdir)/m4/fseeko.m4 \ $(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/ftell.m4 \ $(top_srcdir)/m4/ftello.m4 $(top_srcdir)/m4/getdtablesize.m4 \ $(top_srcdir)/m4/getlocalename_l.m4 $(top_srcdir)/m4/getopt.m4 \ $(top_srcdir)/m4/getprogname.m4 $(top_srcdir)/m4/getrandom.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gl-openssl.m4 \ $(top_srcdir)/m4/gnulib-common.m4 \ $(top_srcdir)/m4/gnulib-comp.m4 \ $(top_srcdir)/m4/gnulib-i18n.m4 \ $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ $(top_srcdir)/m4/iconv_h.m4 $(top_srcdir)/m4/iconv_open.m4 \ $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inet_pton.m4 \ $(top_srcdir)/m4/inline.m4 \ $(top_srcdir)/m4/intl-thread-locale.m4 \ $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ $(top_srcdir)/m4/inttostr.m4 $(top_srcdir)/m4/inttypes.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/isblank.m4 \ $(top_srcdir)/m4/isfinite.m4 $(top_srcdir)/m4/isinf.m4 \ $(top_srcdir)/m4/isnand.m4 $(top_srcdir)/m4/isnanf.m4 \ $(top_srcdir)/m4/isnanl.m4 $(top_srcdir)/m4/iswblank.m4 \ $(top_srcdir)/m4/iswdigit.m4 $(top_srcdir)/m4/iswpunct.m4 \ $(top_srcdir)/m4/iswxdigit.m4 $(top_srcdir)/m4/largefile.m4 \ $(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/ldexp.m4 \ $(top_srcdir)/m4/ldexpl.m4 $(top_srcdir)/m4/lib-ld.m4 \ $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ $(top_srcdir)/m4/libunistring-base.m4 \ $(top_srcdir)/m4/limits-h.m4 $(top_srcdir)/m4/localcharset.m4 \ $(top_srcdir)/m4/locale-en.m4 $(top_srcdir)/m4/locale-fr.m4 \ $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ $(top_srcdir)/m4/locale_h.m4 $(top_srcdir)/m4/localeconv.m4 \ $(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \ $(top_srcdir)/m4/log.m4 $(top_srcdir)/m4/logl.m4 \ $(top_srcdir)/m4/lseek.m4 $(top_srcdir)/m4/malloc.m4 \ $(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/math_h.m4 \ $(top_srcdir)/m4/mathfunc.m4 $(top_srcdir)/m4/mbchar.m4 \ $(top_srcdir)/m4/mbiter.m4 $(top_srcdir)/m4/mbrtoc32.m4 \ $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ $(top_srcdir)/m4/mbslen.m4 $(top_srcdir)/m4/mbstate_t.m4 \ $(top_srcdir)/m4/md5.m4 $(top_srcdir)/m4/memchr.m4 \ $(top_srcdir)/m4/mempcpy.m4 $(top_srcdir)/m4/minmax.m4 \ $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/mode_t.m4 \ $(top_srcdir)/m4/modf.m4 $(top_srcdir)/m4/modfl.m4 \ $(top_srcdir)/m4/msvc-inval.m4 \ $(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \ $(top_srcdir)/m4/musl.m4 $(top_srcdir)/m4/netinet_in_h.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/nocrash.m4 \ $(top_srcdir)/m4/off64_t.m4 $(top_srcdir)/m4/off_t.m4 \ $(top_srcdir)/m4/once.m4 $(top_srcdir)/m4/open-cloexec.m4 \ $(top_srcdir)/m4/open-slash.m4 $(top_srcdir)/m4/open.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/pclose.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/popen.m4 \ $(top_srcdir)/m4/printf.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/m4/pthread-once.m4 \ $(top_srcdir)/m4/pthread-spin.m4 $(top_srcdir)/m4/pthread_h.m4 \ $(top_srcdir)/m4/pthread_rwlock_rdlock.m4 \ $(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/random.m4 \ $(top_srcdir)/m4/random_r.m4 $(top_srcdir)/m4/realloc.m4 \ $(top_srcdir)/m4/reallocarray.m4 $(top_srcdir)/m4/round.m4 \ $(top_srcdir)/m4/roundl.m4 $(top_srcdir)/m4/sched_h.m4 \ $(top_srcdir)/m4/setlocale.m4 \ $(top_srcdir)/m4/setlocale_null.m4 $(top_srcdir)/m4/sha1.m4 \ $(top_srcdir)/m4/sha256.m4 $(top_srcdir)/m4/sha512.m4 \ $(top_srcdir)/m4/signbit.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/socklen.m4 \ $(top_srcdir)/m4/sockpfaf.m4 $(top_srcdir)/m4/sqrt.m4 \ $(top_srcdir)/m4/sqrtl.m4 $(top_srcdir)/m4/ssize_t.m4 \ $(top_srcdir)/m4/stat-time.m4 $(top_srcdir)/m4/stat.m4 \ $(top_srcdir)/m4/stdalign.m4 $(top_srcdir)/m4/stdarg.m4 \ $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/stdnoreturn.m4 \ $(top_srcdir)/m4/stpcpy.m4 $(top_srcdir)/m4/strcasecmp.m4 \ $(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \ $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ $(top_srcdir)/m4/strncasecmp.m4 $(top_srcdir)/m4/strnlen.m4 \ $(top_srcdir)/m4/strsep.m4 $(top_srcdir)/m4/strtod.m4 \ $(top_srcdir)/m4/strtold.m4 $(top_srcdir)/m4/strtoll.m4 \ $(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/strtoumax.m4 \ $(top_srcdir)/m4/sys_cdefs_h.m4 \ $(top_srcdir)/m4/sys_random_h.m4 \ $(top_srcdir)/m4/sys_socket_h.m4 \ $(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_types_h.m4 \ $(top_srcdir)/m4/sys_uio_h.m4 $(top_srcdir)/m4/sys_wait_h.m4 \ $(top_srcdir)/m4/threadlib.m4 $(top_srcdir)/m4/time_h.m4 \ $(top_srcdir)/m4/trunc.m4 $(top_srcdir)/m4/truncl.m4 \ $(top_srcdir)/m4/uchar_h.m4 $(top_srcdir)/m4/ungetc.m4 \ $(top_srcdir)/m4/unicase_h.m4 $(top_srcdir)/m4/unictype_h.m4 \ $(top_srcdir)/m4/uninorm_h.m4 $(top_srcdir)/m4/unistd_h.m4 \ $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/vasnprintf.m4 \ $(top_srcdir)/m4/version-etc.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/waitpid.m4 $(top_srcdir)/m4/warn-on-use.m4 \ $(top_srcdir)/m4/warnings.m4 $(top_srcdir)/m4/wchar_h.m4 \ $(top_srcdir)/m4/wctype_h.m4 $(top_srcdir)/m4/wcwidth.m4 \ $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/m4/xstrtol.m4 \ $(top_srcdir)/m4/zzgnulib.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(srcdir)/doc/version.texi \ $(srcdir)/doc/stamp-vti $(am__dist_bashcomp_DATA_DIST) \ $(dist_examples_DATA) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(infodir)" \ "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(bashcompdir)" \ "$(DESTDIR)$(examplesdir)" PROGRAMS = $(bin_PROGRAMS) LIBRARIES = $(noinst_LIBRARIES) AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = lib_libdatamash_a_AR = $(AR) $(ARFLAGS) lib_libdatamash_a_RANLIB = $(RANLIB) am__DEPENDENCIES_1 = am__lib_libdatamash_a_SOURCES_DIST = lib/arpa_inet.c lib/base64.h \ lib/base64.c lib/basename-lgpl.c lib/bitrotate.h \ lib/bitrotate.c lib/byteswap.c lib/c-ctype.h lib/c-ctype.c \ lib/c-strcasecmp.c lib/c32isalnum.c lib/c32isalpha.c \ lib/c32isblank.c lib/c32iscntrl.c lib/c32isdigit.c \ lib/c32isgraph.c lib/c32islower.c lib/c32isprint.c \ lib/c32ispunct.c lib/c32isspace.c lib/c32isupper.c \ lib/c32isxdigit.c lib/c32tolower.c lib/c32width.c lib/ceil.c \ lib/ceill.c lib/cloexec.c lib/close.c lib/close-stream.c \ lib/closeout.c lib/af_alg.c lib/md5-stream.c lib/md5.c \ lib/sha1-stream.c lib/sha1.c lib/sha256-stream.c lib/sha256.c \ lib/sha512-stream.c lib/sha512.c lib/dirname.c lib/basename.c \ lib/dirname-lgpl.c lib/stripslash.c lib/dup2.c lib/error.c \ lib/exitfail.c lib/expl.c lib/fabsl.c lib/fcntl.c \ lib/fd-hook.c lib/fflush.c lib/float.c lib/itold.c lib/floor.c \ lib/floorl.c lib/fpending.c lib/fpurge.c lib/freading.c \ lib/free.c lib/fseek.c lib/fseeko.c lib/fstat.c lib/ftell.c \ lib/ftello.c lib/getdtablesize.c lib/getlocalename_l-unsafe.c \ lib/localename-table.c lib/getopt.c lib/getopt1.c \ lib/getprogname.c lib/getrandom.c lib/gettext.h \ lib/hard-locale.c lib/hash.c lib/hash-pjw.h lib/hash-pjw.c \ lib/hash-pjw-bare.h lib/hash-pjw-bare.c lib/ialloc.c \ lib/iconv_open.c lib/iconv.c lib/iconv_close.c lib/idx.h \ lib/inet_pton.c lib/imaxtostr.c lib/inttostr.c lib/offtostr.c \ lib/uinttostr.c lib/umaxtostr.c lib/isblank.c lib/isfinite.c \ lib/isinf.c lib/iswblank.c lib/iswdigit.c lib/iswpunct.c \ lib/iswxdigit.c lib/ldexp.c lib/ldexpl.c lib/linebuffer.h \ lib/linebuffer.c lib/localcharset.c lib/localeconv.c \ lib/localename.c lib/localename-environ.c \ lib/localename-unsafe.c lib/glthread/lock.h \ lib/glthread/lock.c lib/log.c lib/logl.c lib/lseek.c \ lib/malloca.c lib/math.c lib/mbchar.c lib/mbrtoc32.c \ lib/mbrtowc.c lib/mbsinit.c lib/mbslen.c lib/mbsstr.c \ lib/mbszero.c lib/mbuiter.h lib/mbuiter.c lib/mbuiterf.h \ lib/mbuiterf.c lib/memchr.c lib/mempcpy.c lib/minmax.h \ lib/modf.c lib/modfl.c lib/msvc-inval.c lib/msvc-nothrow.c \ lib/glthread/once.h lib/glthread/once.c lib/open.c \ lib/pclose.c lib/popen.c lib/progname.h lib/progname.c \ lib/propername.h lib/propername.c lib/pthread-once.c \ lib/quotearg.c lib/random.c lib/random_r.c lib/realloc.c \ lib/reallocarray.c lib/round.c lib/roundl.c lib/setlocale.c \ lib/setlocale-fixes.c lib/setlocale_null.c \ lib/setlocale-lock.c lib/setlocale_null-unlocked.c \ lib/sh-quote.h lib/sh-quote.c lib/signbitf.c lib/signbitd.c \ lib/signbitl.c lib/size_max.h lib/sqrtl.c lib/stat.c \ lib/stat-time.c lib/stdio-read.c lib/stdio-write.c \ lib/stdlib.c lib/stpcpy.c lib/strcasecmp.c lib/strdup.c \ lib/strerror.c lib/strerror-override.c lib/striconv.h \ lib/striconv.c lib/strncasecmp.c lib/strnlen.c lib/strnlen1.h \ lib/strnlen1.c lib/strsep.c lib/strtod.c lib/strtold.c \ lib/strtoll.c lib/strtoull.c lib/strtoumax.c lib/sys_socket.c \ lib/glthread/threadlib.c lib/trim.c lib/trunc.c lib/truncl.c \ lib/u64.c lib/unicase/tolower.c lib/unictype/ctype_alnum.c \ lib/unictype/ctype_alpha.c lib/unictype/ctype_blank.c \ lib/unictype/ctype_cntrl.c lib/unictype/ctype_digit.c \ lib/unictype/ctype_graph.c lib/unictype/ctype_lower.c \ lib/unictype/ctype_print.c lib/unictype/ctype_punct.c \ lib/unictype/ctype_space.c lib/unictype/ctype_upper.c \ lib/unictype/ctype_xdigit.c lib/unistd.c \ lib/unistr/u8-mbtoucr.c lib/unistr/u8-uctomb.c \ lib/unistr/u8-uctomb-aux.c lib/uniwidth/width.c \ lib/version-etc.h lib/version-etc.c lib/vsnzprintf.c \ lib/waitpid.c lib/wctype-h.c lib/wcwidth.c lib/windows-mutex.c \ lib/windows-once.c lib/windows-recmutex.c lib/windows-rwlock.c \ lib/xmalloc.c lib/xalloc-die.c lib/xsize.h lib/xsize.c \ lib/xstriconv.h lib/xstriconv.c lib/xstrtol.c lib/xstrtoul.c \ lib/xstrtol-error.c lib/xstrtoumax.c am__dirstamp = $(am__leading_dot)dirstamp @GL_GENERATE_BYTESWAP_H_TRUE@am__objects_1 = lib/libdatamash_a-byteswap.$(OBJEXT) @GL_COND_OBJ_CEIL_TRUE@am__objects_2 = \ @GL_COND_OBJ_CEIL_TRUE@ lib/libdatamash_a-ceil.$(OBJEXT) @GL_COND_OBJ_CEILL_TRUE@am__objects_3 = \ @GL_COND_OBJ_CEILL_TRUE@ lib/libdatamash_a-ceill.$(OBJEXT) @GL_COND_OBJ_CLOSE_TRUE@am__objects_4 = \ @GL_COND_OBJ_CLOSE_TRUE@ lib/libdatamash_a-close.$(OBJEXT) @GL_COND_OBJ_DUP2_TRUE@am__objects_5 = \ @GL_COND_OBJ_DUP2_TRUE@ lib/libdatamash_a-dup2.$(OBJEXT) @GL_COND_OBJ_ERROR_TRUE@am__objects_6 = \ @GL_COND_OBJ_ERROR_TRUE@ lib/libdatamash_a-error.$(OBJEXT) @GL_COND_OBJ_EXPL_TRUE@am__objects_7 = \ @GL_COND_OBJ_EXPL_TRUE@ lib/libdatamash_a-expl.$(OBJEXT) @GL_COND_OBJ_FABSL_TRUE@am__objects_8 = \ @GL_COND_OBJ_FABSL_TRUE@ lib/libdatamash_a-fabsl.$(OBJEXT) @GL_COND_OBJ_FCNTL_TRUE@am__objects_9 = \ @GL_COND_OBJ_FCNTL_TRUE@ lib/libdatamash_a-fcntl.$(OBJEXT) @GL_COND_OBJ_FFLUSH_TRUE@am__objects_10 = \ @GL_COND_OBJ_FFLUSH_TRUE@ lib/libdatamash_a-fflush.$(OBJEXT) @GL_COND_OBJ_FLOAT_TRUE@am__objects_11 = \ @GL_COND_OBJ_FLOAT_TRUE@ lib/libdatamash_a-float.$(OBJEXT) @GL_COND_OBJ_ITOLD_TRUE@am__objects_12 = \ @GL_COND_OBJ_ITOLD_TRUE@ lib/libdatamash_a-itold.$(OBJEXT) @GL_COND_OBJ_FLOOR_TRUE@am__objects_13 = \ @GL_COND_OBJ_FLOOR_TRUE@ lib/libdatamash_a-floor.$(OBJEXT) @GL_COND_OBJ_FLOORL_TRUE@am__objects_14 = \ @GL_COND_OBJ_FLOORL_TRUE@ lib/libdatamash_a-floorl.$(OBJEXT) @GL_COND_OBJ_FPENDING_TRUE@am__objects_15 = lib/libdatamash_a-fpending.$(OBJEXT) @GL_COND_OBJ_FPURGE_TRUE@am__objects_16 = \ @GL_COND_OBJ_FPURGE_TRUE@ lib/libdatamash_a-fpurge.$(OBJEXT) @GL_COND_OBJ_FREE_TRUE@am__objects_17 = \ @GL_COND_OBJ_FREE_TRUE@ lib/libdatamash_a-free.$(OBJEXT) @GL_COND_OBJ_FSEEK_TRUE@am__objects_18 = \ @GL_COND_OBJ_FSEEK_TRUE@ lib/libdatamash_a-fseek.$(OBJEXT) @GL_COND_OBJ_FSEEKO_TRUE@am__objects_19 = \ @GL_COND_OBJ_FSEEKO_TRUE@ lib/libdatamash_a-fseeko.$(OBJEXT) @GL_COND_OBJ_FSTAT_TRUE@am__objects_20 = \ @GL_COND_OBJ_FSTAT_TRUE@ lib/libdatamash_a-fstat.$(OBJEXT) @GL_COND_OBJ_FTELL_TRUE@am__objects_21 = \ @GL_COND_OBJ_FTELL_TRUE@ lib/libdatamash_a-ftell.$(OBJEXT) @GL_COND_OBJ_FTELLO_TRUE@am__objects_22 = \ @GL_COND_OBJ_FTELLO_TRUE@ lib/libdatamash_a-ftello.$(OBJEXT) @GL_COND_OBJ_GETDTABLESIZE_TRUE@am__objects_23 = lib/libdatamash_a-getdtablesize.$(OBJEXT) @GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE@am__objects_24 = lib/libdatamash_a-getlocalename_l-unsafe.$(OBJEXT) @GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE@am__objects_25 = lib/libdatamash_a-getlocalename_l-unsafe.$(OBJEXT) @GL_COND_OBJ_GETOPT_TRUE@am__objects_26 = \ @GL_COND_OBJ_GETOPT_TRUE@ lib/libdatamash_a-getopt.$(OBJEXT) \ @GL_COND_OBJ_GETOPT_TRUE@ lib/libdatamash_a-getopt1.$(OBJEXT) @GL_COND_OBJ_GETPROGNAME_TRUE@am__objects_27 = lib/libdatamash_a-getprogname.$(OBJEXT) @GL_COND_OBJ_GETRANDOM_TRUE@am__objects_28 = lib/libdatamash_a-getrandom.$(OBJEXT) @GL_COND_OBJ_ICONV_OPEN_TRUE@am__objects_29 = lib/libdatamash_a-iconv_open.$(OBJEXT) @GL_COND_OBJ_ICONV_TRUE@am__objects_30 = \ @GL_COND_OBJ_ICONV_TRUE@ lib/libdatamash_a-iconv.$(OBJEXT) \ @GL_COND_OBJ_ICONV_TRUE@ lib/libdatamash_a-iconv_close.$(OBJEXT) @GL_COND_OBJ_INET_PTON_TRUE@am__objects_31 = lib/libdatamash_a-inet_pton.$(OBJEXT) @GL_COND_OBJ_ISBLANK_TRUE@am__objects_32 = \ @GL_COND_OBJ_ISBLANK_TRUE@ lib/libdatamash_a-isblank.$(OBJEXT) @GL_COND_OBJ_ISFINITE_TRUE@am__objects_33 = lib/libdatamash_a-isfinite.$(OBJEXT) @GL_COND_OBJ_ISINF_TRUE@am__objects_34 = \ @GL_COND_OBJ_ISINF_TRUE@ lib/libdatamash_a-isinf.$(OBJEXT) @GL_COND_OBJ_ISWBLANK_TRUE@am__objects_35 = lib/libdatamash_a-iswblank.$(OBJEXT) @GL_COND_OBJ_ISWDIGIT_TRUE@am__objects_36 = lib/libdatamash_a-iswdigit.$(OBJEXT) @GL_COND_OBJ_ISWPUNCT_TRUE@am__objects_37 = lib/libdatamash_a-iswpunct.$(OBJEXT) @GL_COND_OBJ_ISWXDIGIT_TRUE@am__objects_38 = lib/libdatamash_a-iswxdigit.$(OBJEXT) @GL_COND_OBJ_LDEXP_TRUE@am__objects_39 = \ @GL_COND_OBJ_LDEXP_TRUE@ lib/libdatamash_a-ldexp.$(OBJEXT) @GL_COND_OBJ_LDEXPL_TRUE@am__objects_40 = \ @GL_COND_OBJ_LDEXPL_TRUE@ lib/libdatamash_a-ldexpl.$(OBJEXT) @GL_COND_OBJ_LOCALECONV_TRUE@am__objects_41 = lib/libdatamash_a-localeconv.$(OBJEXT) @GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE@am__objects_42 = lib/libdatamash_a-localename-unsafe.$(OBJEXT) @GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE@am__objects_43 = lib/libdatamash_a-localename-unsafe.$(OBJEXT) @GL_COND_OBJ_LOG_TRUE@am__objects_44 = \ @GL_COND_OBJ_LOG_TRUE@ lib/libdatamash_a-log.$(OBJEXT) @GL_COND_OBJ_LOGL_TRUE@am__objects_45 = \ @GL_COND_OBJ_LOGL_TRUE@ lib/libdatamash_a-logl.$(OBJEXT) @GL_COND_OBJ_LSEEK_TRUE@am__objects_46 = \ @GL_COND_OBJ_LSEEK_TRUE@ lib/libdatamash_a-lseek.$(OBJEXT) @GL_COND_OBJ_MBRTOC32_TRUE@am__objects_47 = lib/libdatamash_a-mbrtoc32.$(OBJEXT) @GL_COND_OBJ_MBRTOWC_TRUE@am__objects_48 = \ @GL_COND_OBJ_MBRTOWC_TRUE@ lib/libdatamash_a-mbrtowc.$(OBJEXT) @GL_COND_OBJ_MBSINIT_TRUE@am__objects_49 = \ @GL_COND_OBJ_MBSINIT_TRUE@ lib/libdatamash_a-mbsinit.$(OBJEXT) @GL_COND_OBJ_MEMCHR_TRUE@am__objects_50 = \ @GL_COND_OBJ_MEMCHR_TRUE@ lib/libdatamash_a-memchr.$(OBJEXT) @GL_COND_OBJ_MEMPCPY_TRUE@am__objects_51 = \ @GL_COND_OBJ_MEMPCPY_TRUE@ lib/libdatamash_a-mempcpy.$(OBJEXT) @GL_COND_OBJ_MODF_TRUE@am__objects_52 = \ @GL_COND_OBJ_MODF_TRUE@ lib/libdatamash_a-modf.$(OBJEXT) @GL_COND_OBJ_MODFL_TRUE@am__objects_53 = \ @GL_COND_OBJ_MODFL_TRUE@ lib/libdatamash_a-modfl.$(OBJEXT) @GL_COND_OBJ_MSVC_INVAL_TRUE@am__objects_54 = lib/libdatamash_a-msvc-inval.$(OBJEXT) @GL_COND_OBJ_MSVC_NOTHROW_TRUE@am__objects_55 = lib/libdatamash_a-msvc-nothrow.$(OBJEXT) @GL_COND_OBJ_OPEN_TRUE@am__objects_56 = \ @GL_COND_OBJ_OPEN_TRUE@ lib/libdatamash_a-open.$(OBJEXT) @GL_COND_OBJ_PCLOSE_TRUE@am__objects_57 = \ @GL_COND_OBJ_PCLOSE_TRUE@ lib/libdatamash_a-pclose.$(OBJEXT) @GL_COND_OBJ_POPEN_TRUE@am__objects_58 = \ @GL_COND_OBJ_POPEN_TRUE@ lib/libdatamash_a-popen.$(OBJEXT) @GL_COND_OBJ_PTHREAD_ONCE_TRUE@am__objects_59 = lib/libdatamash_a-pthread-once.$(OBJEXT) @GL_COND_OBJ_RANDOM_TRUE@am__objects_60 = \ @GL_COND_OBJ_RANDOM_TRUE@ lib/libdatamash_a-random.$(OBJEXT) @GL_COND_OBJ_RANDOM_R_TRUE@am__objects_61 = lib/libdatamash_a-random_r.$(OBJEXT) @GL_COND_OBJ_REALLOC_POSIX_TRUE@am__objects_62 = lib/libdatamash_a-realloc.$(OBJEXT) @GL_COND_OBJ_REALLOCARRAY_TRUE@am__objects_63 = lib/libdatamash_a-reallocarray.$(OBJEXT) @GL_COND_OBJ_ROUND_TRUE@am__objects_64 = \ @GL_COND_OBJ_ROUND_TRUE@ lib/libdatamash_a-round.$(OBJEXT) @GL_COND_OBJ_ROUNDL_TRUE@am__objects_65 = \ @GL_COND_OBJ_ROUNDL_TRUE@ lib/libdatamash_a-roundl.$(OBJEXT) @GL_COND_OBJ_SETLOCALE_TRUE@am__objects_66 = lib/libdatamash_a-setlocale.$(OBJEXT) @GL_COND_OBJ_SETLOCALE_FIXES_TRUE@am__objects_67 = lib/libdatamash_a-setlocale-fixes.$(OBJEXT) @GL_COND_OBJ_SETLOCALE_LOCK_TRUE@am__objects_68 = lib/libdatamash_a-setlocale-lock.$(OBJEXT) @GL_COND_OBJ_SIGNBIT3_TRUE@am__objects_69 = lib/libdatamash_a-signbitf.$(OBJEXT) \ @GL_COND_OBJ_SIGNBIT3_TRUE@ lib/libdatamash_a-signbitd.$(OBJEXT) \ @GL_COND_OBJ_SIGNBIT3_TRUE@ lib/libdatamash_a-signbitl.$(OBJEXT) @GL_COND_OBJ_SQRTL_TRUE@am__objects_70 = \ @GL_COND_OBJ_SQRTL_TRUE@ lib/libdatamash_a-sqrtl.$(OBJEXT) @GL_COND_OBJ_STAT_TRUE@am__objects_71 = \ @GL_COND_OBJ_STAT_TRUE@ lib/libdatamash_a-stat.$(OBJEXT) @GL_COND_OBJ_STDIO_READ_TRUE@am__objects_72 = lib/libdatamash_a-stdio-read.$(OBJEXT) @GL_COND_OBJ_STDIO_WRITE_TRUE@am__objects_73 = lib/libdatamash_a-stdio-write.$(OBJEXT) @GL_COND_OBJ_STPCPY_TRUE@am__objects_74 = \ @GL_COND_OBJ_STPCPY_TRUE@ lib/libdatamash_a-stpcpy.$(OBJEXT) @GL_COND_OBJ_STRCASECMP_TRUE@am__objects_75 = lib/libdatamash_a-strcasecmp.$(OBJEXT) @GL_COND_OBJ_STRDUP_TRUE@am__objects_76 = \ @GL_COND_OBJ_STRDUP_TRUE@ lib/libdatamash_a-strdup.$(OBJEXT) @GL_COND_OBJ_STRERROR_TRUE@am__objects_77 = lib/libdatamash_a-strerror.$(OBJEXT) @GL_COND_OBJ_STRERROR_OVERRIDE_TRUE@am__objects_78 = lib/libdatamash_a-strerror-override.$(OBJEXT) @GL_COND_OBJ_STRNCASECMP_TRUE@am__objects_79 = lib/libdatamash_a-strncasecmp.$(OBJEXT) @GL_COND_OBJ_STRNLEN_TRUE@am__objects_80 = \ @GL_COND_OBJ_STRNLEN_TRUE@ lib/libdatamash_a-strnlen.$(OBJEXT) @GL_COND_OBJ_STRSEP_TRUE@am__objects_81 = \ @GL_COND_OBJ_STRSEP_TRUE@ lib/libdatamash_a-strsep.$(OBJEXT) @GL_COND_OBJ_STRTOD_TRUE@am__objects_82 = \ @GL_COND_OBJ_STRTOD_TRUE@ lib/libdatamash_a-strtod.$(OBJEXT) @GL_COND_OBJ_STRTOLD_TRUE@am__objects_83 = \ @GL_COND_OBJ_STRTOLD_TRUE@ lib/libdatamash_a-strtold.$(OBJEXT) @GL_COND_OBJ_STRTOLL_TRUE@am__objects_84 = \ @GL_COND_OBJ_STRTOLL_TRUE@ lib/libdatamash_a-strtoll.$(OBJEXT) @GL_COND_OBJ_STRTOULL_TRUE@am__objects_85 = lib/libdatamash_a-strtoull.$(OBJEXT) @GL_COND_OBJ_STRTOUMAX_TRUE@am__objects_86 = lib/libdatamash_a-strtoumax.$(OBJEXT) @GL_COND_OBJ_TRUNC_TRUE@am__objects_87 = \ @GL_COND_OBJ_TRUNC_TRUE@ lib/libdatamash_a-trunc.$(OBJEXT) @GL_COND_OBJ_TRUNCL_TRUE@am__objects_88 = \ @GL_COND_OBJ_TRUNCL_TRUE@ lib/libdatamash_a-truncl.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE@am__objects_89 = lib/unicase/libdatamash_a-tolower.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE@am__objects_90 = lib/unictype/libdatamash_a-ctype_alnum.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE@am__objects_91 = lib/unictype/libdatamash_a-ctype_alpha.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE@am__objects_92 = lib/unictype/libdatamash_a-ctype_blank.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE@am__objects_93 = lib/unictype/libdatamash_a-ctype_cntrl.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE@am__objects_94 = lib/unictype/libdatamash_a-ctype_digit.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE@am__objects_95 = lib/unictype/libdatamash_a-ctype_graph.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE@am__objects_96 = lib/unictype/libdatamash_a-ctype_lower.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE@am__objects_97 = lib/unictype/libdatamash_a-ctype_print.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE@am__objects_98 = lib/unictype/libdatamash_a-ctype_punct.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE@am__objects_99 = lib/unictype/libdatamash_a-ctype_space.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE@am__objects_100 = lib/unictype/libdatamash_a-ctype_upper.$(OBJEXT) @LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE@am__objects_101 = lib/unictype/libdatamash_a-ctype_xdigit.$(OBJEXT) @LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE@am__objects_102 = lib/unistr/libdatamash_a-u8-mbtoucr.$(OBJEXT) @LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE@am__objects_103 = lib/unistr/libdatamash_a-u8-uctomb.$(OBJEXT) \ @LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE@ lib/unistr/libdatamash_a-u8-uctomb-aux.$(OBJEXT) @LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE@am__objects_104 = lib/uniwidth/libdatamash_a-width.$(OBJEXT) @GL_COND_OBJ_WAITPID_TRUE@am__objects_105 = \ @GL_COND_OBJ_WAITPID_TRUE@ lib/libdatamash_a-waitpid.$(OBJEXT) @GL_COND_OBJ_WCWIDTH_TRUE@am__objects_106 = \ @GL_COND_OBJ_WCWIDTH_TRUE@ lib/libdatamash_a-wcwidth.$(OBJEXT) @GL_COND_OBJ_WINDOWS_MUTEX_TRUE@am__objects_107 = lib/libdatamash_a-windows-mutex.$(OBJEXT) @GL_COND_OBJ_WINDOWS_ONCE_TRUE@am__objects_108 = lib/libdatamash_a-windows-once.$(OBJEXT) @GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE@am__objects_109 = lib/libdatamash_a-windows-recmutex.$(OBJEXT) @GL_COND_OBJ_WINDOWS_RWLOCK_TRUE@am__objects_110 = lib/libdatamash_a-windows-rwlock.$(OBJEXT) am_lib_libdatamash_a_OBJECTS = lib/libdatamash_a-arpa_inet.$(OBJEXT) \ lib/libdatamash_a-base64.$(OBJEXT) \ lib/libdatamash_a-basename-lgpl.$(OBJEXT) \ lib/libdatamash_a-bitrotate.$(OBJEXT) $(am__objects_1) \ lib/libdatamash_a-c-ctype.$(OBJEXT) \ lib/libdatamash_a-c-strcasecmp.$(OBJEXT) \ lib/libdatamash_a-c32isalnum.$(OBJEXT) \ lib/libdatamash_a-c32isalpha.$(OBJEXT) \ lib/libdatamash_a-c32isblank.$(OBJEXT) \ lib/libdatamash_a-c32iscntrl.$(OBJEXT) \ lib/libdatamash_a-c32isdigit.$(OBJEXT) \ lib/libdatamash_a-c32isgraph.$(OBJEXT) \ lib/libdatamash_a-c32islower.$(OBJEXT) \ lib/libdatamash_a-c32isprint.$(OBJEXT) \ lib/libdatamash_a-c32ispunct.$(OBJEXT) \ lib/libdatamash_a-c32isspace.$(OBJEXT) \ lib/libdatamash_a-c32isupper.$(OBJEXT) \ lib/libdatamash_a-c32isxdigit.$(OBJEXT) \ lib/libdatamash_a-c32tolower.$(OBJEXT) \ lib/libdatamash_a-c32width.$(OBJEXT) $(am__objects_2) \ $(am__objects_3) lib/libdatamash_a-cloexec.$(OBJEXT) \ $(am__objects_4) lib/libdatamash_a-close-stream.$(OBJEXT) \ lib/libdatamash_a-closeout.$(OBJEXT) \ lib/libdatamash_a-af_alg.$(OBJEXT) \ lib/libdatamash_a-md5-stream.$(OBJEXT) \ lib/libdatamash_a-md5.$(OBJEXT) \ lib/libdatamash_a-sha1-stream.$(OBJEXT) \ lib/libdatamash_a-sha1.$(OBJEXT) \ lib/libdatamash_a-sha256-stream.$(OBJEXT) \ lib/libdatamash_a-sha256.$(OBJEXT) \ lib/libdatamash_a-sha512-stream.$(OBJEXT) \ lib/libdatamash_a-sha512.$(OBJEXT) \ lib/libdatamash_a-dirname.$(OBJEXT) \ lib/libdatamash_a-basename.$(OBJEXT) \ lib/libdatamash_a-dirname-lgpl.$(OBJEXT) \ lib/libdatamash_a-stripslash.$(OBJEXT) $(am__objects_5) \ $(am__objects_6) lib/libdatamash_a-exitfail.$(OBJEXT) \ $(am__objects_7) $(am__objects_8) $(am__objects_9) \ lib/libdatamash_a-fd-hook.$(OBJEXT) $(am__objects_10) \ $(am__objects_11) $(am__objects_12) $(am__objects_13) \ $(am__objects_14) $(am__objects_15) $(am__objects_16) \ lib/libdatamash_a-freading.$(OBJEXT) $(am__objects_17) \ $(am__objects_18) $(am__objects_19) $(am__objects_20) \ $(am__objects_21) $(am__objects_22) $(am__objects_23) \ $(am__objects_24) lib/libdatamash_a-localename-table.$(OBJEXT) \ $(am__objects_25) $(am__objects_26) $(am__objects_27) \ $(am__objects_28) lib/libdatamash_a-hard-locale.$(OBJEXT) \ lib/libdatamash_a-hash.$(OBJEXT) \ lib/libdatamash_a-hash-pjw.$(OBJEXT) \ lib/libdatamash_a-hash-pjw-bare.$(OBJEXT) \ lib/libdatamash_a-ialloc.$(OBJEXT) $(am__objects_29) \ $(am__objects_30) $(am__objects_31) \ lib/libdatamash_a-imaxtostr.$(OBJEXT) \ lib/libdatamash_a-inttostr.$(OBJEXT) \ lib/libdatamash_a-offtostr.$(OBJEXT) \ lib/libdatamash_a-uinttostr.$(OBJEXT) \ lib/libdatamash_a-umaxtostr.$(OBJEXT) $(am__objects_32) \ $(am__objects_33) $(am__objects_34) $(am__objects_35) \ $(am__objects_36) $(am__objects_37) $(am__objects_38) \ $(am__objects_39) $(am__objects_40) \ lib/libdatamash_a-linebuffer.$(OBJEXT) \ lib/libdatamash_a-localcharset.$(OBJEXT) $(am__objects_41) \ lib/libdatamash_a-localename.$(OBJEXT) \ lib/libdatamash_a-localename-environ.$(OBJEXT) \ $(am__objects_42) $(am__objects_43) \ lib/glthread/libdatamash_a-lock.$(OBJEXT) $(am__objects_44) \ $(am__objects_45) $(am__objects_46) \ lib/libdatamash_a-malloca.$(OBJEXT) \ lib/libdatamash_a-math.$(OBJEXT) \ lib/libdatamash_a-mbchar.$(OBJEXT) $(am__objects_47) \ $(am__objects_48) $(am__objects_49) \ lib/libdatamash_a-mbslen.$(OBJEXT) \ lib/libdatamash_a-mbsstr.$(OBJEXT) \ lib/libdatamash_a-mbszero.$(OBJEXT) \ lib/libdatamash_a-mbuiter.$(OBJEXT) \ lib/libdatamash_a-mbuiterf.$(OBJEXT) $(am__objects_50) \ $(am__objects_51) $(am__objects_52) $(am__objects_53) \ $(am__objects_54) $(am__objects_55) \ lib/glthread/libdatamash_a-once.$(OBJEXT) $(am__objects_56) \ $(am__objects_57) $(am__objects_58) \ lib/libdatamash_a-progname.$(OBJEXT) \ lib/libdatamash_a-propername.$(OBJEXT) $(am__objects_59) \ lib/libdatamash_a-quotearg.$(OBJEXT) $(am__objects_60) \ $(am__objects_61) $(am__objects_62) $(am__objects_63) \ $(am__objects_64) $(am__objects_65) $(am__objects_66) \ $(am__objects_67) lib/libdatamash_a-setlocale_null.$(OBJEXT) \ $(am__objects_68) \ lib/libdatamash_a-setlocale_null-unlocked.$(OBJEXT) \ lib/libdatamash_a-sh-quote.$(OBJEXT) $(am__objects_69) \ $(am__objects_70) $(am__objects_71) \ lib/libdatamash_a-stat-time.$(OBJEXT) $(am__objects_72) \ $(am__objects_73) lib/libdatamash_a-stdlib.$(OBJEXT) \ $(am__objects_74) $(am__objects_75) $(am__objects_76) \ $(am__objects_77) $(am__objects_78) \ lib/libdatamash_a-striconv.$(OBJEXT) $(am__objects_79) \ $(am__objects_80) lib/libdatamash_a-strnlen1.$(OBJEXT) \ $(am__objects_81) $(am__objects_82) $(am__objects_83) \ $(am__objects_84) $(am__objects_85) $(am__objects_86) \ lib/libdatamash_a-sys_socket.$(OBJEXT) \ lib/glthread/libdatamash_a-threadlib.$(OBJEXT) \ lib/libdatamash_a-trim.$(OBJEXT) $(am__objects_87) \ $(am__objects_88) lib/libdatamash_a-u64.$(OBJEXT) \ $(am__objects_89) $(am__objects_90) $(am__objects_91) \ $(am__objects_92) $(am__objects_93) $(am__objects_94) \ $(am__objects_95) $(am__objects_96) $(am__objects_97) \ $(am__objects_98) $(am__objects_99) $(am__objects_100) \ $(am__objects_101) lib/libdatamash_a-unistd.$(OBJEXT) \ $(am__objects_102) $(am__objects_103) $(am__objects_104) \ lib/libdatamash_a-version-etc.$(OBJEXT) \ lib/libdatamash_a-vsnzprintf.$(OBJEXT) $(am__objects_105) \ lib/libdatamash_a-wctype-h.$(OBJEXT) $(am__objects_106) \ $(am__objects_107) $(am__objects_108) $(am__objects_109) \ $(am__objects_110) lib/libdatamash_a-xmalloc.$(OBJEXT) \ lib/libdatamash_a-xalloc-die.$(OBJEXT) \ lib/libdatamash_a-xsize.$(OBJEXT) \ lib/libdatamash_a-xstriconv.$(OBJEXT) \ lib/libdatamash_a-xstrtol.$(OBJEXT) \ lib/libdatamash_a-xstrtoul.$(OBJEXT) \ lib/libdatamash_a-xstrtol-error.$(OBJEXT) \ lib/libdatamash_a-xstrtoumax.$(OBJEXT) lib_libdatamash_a_OBJECTS = $(am_lib_libdatamash_a_OBJECTS) am_datamash_OBJECTS = src/datamash-text-options.$(OBJEXT) \ src/datamash-utils.$(OBJEXT) src/datamash-randutils.$(OBJEXT) \ src/datamash-text-lines.$(OBJEXT) \ src/datamash-column-headers.$(OBJEXT) \ src/datamash-op-defs.$(OBJEXT) \ src/datamash-op-scanner.$(OBJEXT) \ src/datamash-op-parser.$(OBJEXT) \ src/datamash-field-ops.$(OBJEXT) \ src/datamash-crosstab.$(OBJEXT) \ src/datamash-double-format.$(OBJEXT) \ src/datamash-datamash.$(OBJEXT) datamash_OBJECTS = $(am_datamash_OBJECTS) datamash_DEPENDENCIES = lib/lib$(PACKAGE).a $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) datamash_LINK = $(CCLD) $(datamash_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_decorate_OBJECTS = src/decorate-decorate.$(OBJEXT) \ src/decorate-key-compare.$(OBJEXT) \ src/decorate-decorate-functions.$(OBJEXT) decorate_OBJECTS = $(am_decorate_OBJECTS) decorate_DEPENDENCIES = lib/lib$(PACKAGE).a $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) decorate_LINK = $(CCLD) $(decorate_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = lib/$(DEPDIR)/libdatamash_a-af_alg.Po \ lib/$(DEPDIR)/libdatamash_a-anytostr.Po \ lib/$(DEPDIR)/libdatamash_a-arpa_inet.Po \ lib/$(DEPDIR)/libdatamash_a-asnprintf.Po \ lib/$(DEPDIR)/libdatamash_a-base64.Po \ lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Po \ lib/$(DEPDIR)/libdatamash_a-basename.Po \ lib/$(DEPDIR)/libdatamash_a-bitrotate.Po \ lib/$(DEPDIR)/libdatamash_a-byteswap.Po \ lib/$(DEPDIR)/libdatamash_a-c-ctype.Po \ lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Po \ lib/$(DEPDIR)/libdatamash_a-c32isalnum.Po \ lib/$(DEPDIR)/libdatamash_a-c32isalpha.Po \ lib/$(DEPDIR)/libdatamash_a-c32isblank.Po \ lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Po \ lib/$(DEPDIR)/libdatamash_a-c32isdigit.Po \ lib/$(DEPDIR)/libdatamash_a-c32isgraph.Po \ lib/$(DEPDIR)/libdatamash_a-c32islower.Po \ lib/$(DEPDIR)/libdatamash_a-c32isprint.Po \ lib/$(DEPDIR)/libdatamash_a-c32ispunct.Po \ lib/$(DEPDIR)/libdatamash_a-c32isspace.Po \ lib/$(DEPDIR)/libdatamash_a-c32isupper.Po \ lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Po \ lib/$(DEPDIR)/libdatamash_a-c32tolower.Po \ lib/$(DEPDIR)/libdatamash_a-c32width.Po \ lib/$(DEPDIR)/libdatamash_a-calloc.Po \ lib/$(DEPDIR)/libdatamash_a-ceil.Po \ lib/$(DEPDIR)/libdatamash_a-ceill.Po \ lib/$(DEPDIR)/libdatamash_a-cloexec.Po \ lib/$(DEPDIR)/libdatamash_a-close-stream.Po \ lib/$(DEPDIR)/libdatamash_a-close.Po \ lib/$(DEPDIR)/libdatamash_a-closeout.Po \ lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Po \ lib/$(DEPDIR)/libdatamash_a-dirname.Po \ lib/$(DEPDIR)/libdatamash_a-dup2.Po \ lib/$(DEPDIR)/libdatamash_a-error.Po \ lib/$(DEPDIR)/libdatamash_a-exitfail.Po \ lib/$(DEPDIR)/libdatamash_a-expl-table.Po \ lib/$(DEPDIR)/libdatamash_a-expl.Po \ lib/$(DEPDIR)/libdatamash_a-fabsl.Po \ lib/$(DEPDIR)/libdatamash_a-fcntl.Po \ lib/$(DEPDIR)/libdatamash_a-fd-hook.Po \ lib/$(DEPDIR)/libdatamash_a-fflush.Po \ lib/$(DEPDIR)/libdatamash_a-float.Po \ lib/$(DEPDIR)/libdatamash_a-floor.Po \ lib/$(DEPDIR)/libdatamash_a-floorl.Po \ lib/$(DEPDIR)/libdatamash_a-fpending.Po \ lib/$(DEPDIR)/libdatamash_a-fpurge.Po \ lib/$(DEPDIR)/libdatamash_a-freading.Po \ lib/$(DEPDIR)/libdatamash_a-free.Po \ lib/$(DEPDIR)/libdatamash_a-frexp.Po \ lib/$(DEPDIR)/libdatamash_a-frexpl.Po \ lib/$(DEPDIR)/libdatamash_a-fseek.Po \ lib/$(DEPDIR)/libdatamash_a-fseeko.Po \ lib/$(DEPDIR)/libdatamash_a-fstat.Po \ lib/$(DEPDIR)/libdatamash_a-ftell.Po \ lib/$(DEPDIR)/libdatamash_a-ftello.Po \ lib/$(DEPDIR)/libdatamash_a-getdtablesize.Po \ lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Po \ lib/$(DEPDIR)/libdatamash_a-getopt.Po \ lib/$(DEPDIR)/libdatamash_a-getopt1.Po \ lib/$(DEPDIR)/libdatamash_a-getprogname.Po \ lib/$(DEPDIR)/libdatamash_a-getrandom.Po \ lib/$(DEPDIR)/libdatamash_a-hard-locale.Po \ lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Po \ lib/$(DEPDIR)/libdatamash_a-hash-pjw.Po \ lib/$(DEPDIR)/libdatamash_a-hash.Po \ lib/$(DEPDIR)/libdatamash_a-ialloc.Po \ lib/$(DEPDIR)/libdatamash_a-iconv.Po \ lib/$(DEPDIR)/libdatamash_a-iconv_close.Po \ lib/$(DEPDIR)/libdatamash_a-iconv_open.Po \ lib/$(DEPDIR)/libdatamash_a-imaxtostr.Po \ lib/$(DEPDIR)/libdatamash_a-inet_pton.Po \ lib/$(DEPDIR)/libdatamash_a-inttostr.Po \ lib/$(DEPDIR)/libdatamash_a-isblank.Po \ lib/$(DEPDIR)/libdatamash_a-isfinite.Po \ lib/$(DEPDIR)/libdatamash_a-isinf.Po \ lib/$(DEPDIR)/libdatamash_a-isnan.Po \ lib/$(DEPDIR)/libdatamash_a-isnand.Po \ lib/$(DEPDIR)/libdatamash_a-isnanf.Po \ lib/$(DEPDIR)/libdatamash_a-isnanl.Po \ lib/$(DEPDIR)/libdatamash_a-iswblank.Po \ lib/$(DEPDIR)/libdatamash_a-iswdigit.Po \ lib/$(DEPDIR)/libdatamash_a-iswpunct.Po \ lib/$(DEPDIR)/libdatamash_a-iswxdigit.Po \ lib/$(DEPDIR)/libdatamash_a-itold.Po \ lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Po \ lib/$(DEPDIR)/libdatamash_a-ldexp.Po \ lib/$(DEPDIR)/libdatamash_a-ldexpl.Po \ lib/$(DEPDIR)/libdatamash_a-linebuffer.Po \ lib/$(DEPDIR)/libdatamash_a-localcharset.Po \ lib/$(DEPDIR)/libdatamash_a-localeconv.Po \ lib/$(DEPDIR)/libdatamash_a-localename-environ.Po \ lib/$(DEPDIR)/libdatamash_a-localename-table.Po \ lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Po \ lib/$(DEPDIR)/libdatamash_a-localename.Po \ lib/$(DEPDIR)/libdatamash_a-log.Po \ lib/$(DEPDIR)/libdatamash_a-logl.Po \ lib/$(DEPDIR)/libdatamash_a-lseek.Po \ lib/$(DEPDIR)/libdatamash_a-malloc.Po \ lib/$(DEPDIR)/libdatamash_a-malloca.Po \ lib/$(DEPDIR)/libdatamash_a-math.Po \ lib/$(DEPDIR)/libdatamash_a-mbchar.Po \ lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Po \ lib/$(DEPDIR)/libdatamash_a-mbrtowc.Po \ lib/$(DEPDIR)/libdatamash_a-mbsinit.Po \ lib/$(DEPDIR)/libdatamash_a-mbslen.Po \ lib/$(DEPDIR)/libdatamash_a-mbsstr.Po \ lib/$(DEPDIR)/libdatamash_a-mbszero.Po \ lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Po \ lib/$(DEPDIR)/libdatamash_a-mbuiter.Po \ lib/$(DEPDIR)/libdatamash_a-mbuiterf.Po \ lib/$(DEPDIR)/libdatamash_a-md5-stream.Po \ lib/$(DEPDIR)/libdatamash_a-md5.Po \ lib/$(DEPDIR)/libdatamash_a-memchr.Po \ lib/$(DEPDIR)/libdatamash_a-mempcpy.Po \ lib/$(DEPDIR)/libdatamash_a-modf.Po \ lib/$(DEPDIR)/libdatamash_a-modfl.Po \ lib/$(DEPDIR)/libdatamash_a-msvc-inval.Po \ lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Po \ lib/$(DEPDIR)/libdatamash_a-offtostr.Po \ lib/$(DEPDIR)/libdatamash_a-open.Po \ lib/$(DEPDIR)/libdatamash_a-pclose.Po \ lib/$(DEPDIR)/libdatamash_a-popen.Po \ lib/$(DEPDIR)/libdatamash_a-printf-args.Po \ lib/$(DEPDIR)/libdatamash_a-printf-parse.Po \ lib/$(DEPDIR)/libdatamash_a-progname.Po \ lib/$(DEPDIR)/libdatamash_a-propername.Po \ lib/$(DEPDIR)/libdatamash_a-pthread-once.Po \ lib/$(DEPDIR)/libdatamash_a-quotearg.Po \ lib/$(DEPDIR)/libdatamash_a-random.Po \ lib/$(DEPDIR)/libdatamash_a-random_r.Po \ lib/$(DEPDIR)/libdatamash_a-realloc.Po \ lib/$(DEPDIR)/libdatamash_a-reallocarray.Po \ lib/$(DEPDIR)/libdatamash_a-round.Po \ lib/$(DEPDIR)/libdatamash_a-roundl.Po \ lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Po \ lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Po \ lib/$(DEPDIR)/libdatamash_a-setlocale.Po \ lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Po \ lib/$(DEPDIR)/libdatamash_a-setlocale_null.Po \ lib/$(DEPDIR)/libdatamash_a-sh-quote.Po \ lib/$(DEPDIR)/libdatamash_a-sha1-stream.Po \ lib/$(DEPDIR)/libdatamash_a-sha1.Po \ lib/$(DEPDIR)/libdatamash_a-sha256-stream.Po \ lib/$(DEPDIR)/libdatamash_a-sha256.Po \ lib/$(DEPDIR)/libdatamash_a-sha512-stream.Po \ lib/$(DEPDIR)/libdatamash_a-sha512.Po \ lib/$(DEPDIR)/libdatamash_a-signbitd.Po \ lib/$(DEPDIR)/libdatamash_a-signbitf.Po \ lib/$(DEPDIR)/libdatamash_a-signbitl.Po \ lib/$(DEPDIR)/libdatamash_a-snprintf.Po \ lib/$(DEPDIR)/libdatamash_a-sqrtl.Po \ lib/$(DEPDIR)/libdatamash_a-stat-time.Po \ lib/$(DEPDIR)/libdatamash_a-stat-w32.Po \ lib/$(DEPDIR)/libdatamash_a-stat.Po \ lib/$(DEPDIR)/libdatamash_a-stdio-read.Po \ lib/$(DEPDIR)/libdatamash_a-stdio-write.Po \ lib/$(DEPDIR)/libdatamash_a-stdlib.Po \ lib/$(DEPDIR)/libdatamash_a-stpcpy.Po \ lib/$(DEPDIR)/libdatamash_a-strcasecmp.Po \ lib/$(DEPDIR)/libdatamash_a-strdup.Po \ lib/$(DEPDIR)/libdatamash_a-strerror-override.Po \ lib/$(DEPDIR)/libdatamash_a-strerror.Po \ lib/$(DEPDIR)/libdatamash_a-striconv.Po \ lib/$(DEPDIR)/libdatamash_a-stripslash.Po \ lib/$(DEPDIR)/libdatamash_a-strncasecmp.Po \ lib/$(DEPDIR)/libdatamash_a-strnlen.Po \ lib/$(DEPDIR)/libdatamash_a-strnlen1.Po \ lib/$(DEPDIR)/libdatamash_a-strsep.Po \ lib/$(DEPDIR)/libdatamash_a-strtod.Po \ lib/$(DEPDIR)/libdatamash_a-strtoimax.Po \ lib/$(DEPDIR)/libdatamash_a-strtol.Po \ lib/$(DEPDIR)/libdatamash_a-strtold.Po \ lib/$(DEPDIR)/libdatamash_a-strtoll.Po \ lib/$(DEPDIR)/libdatamash_a-strtoul.Po \ lib/$(DEPDIR)/libdatamash_a-strtoull.Po \ lib/$(DEPDIR)/libdatamash_a-strtoumax.Po \ lib/$(DEPDIR)/libdatamash_a-sys_socket.Po \ lib/$(DEPDIR)/libdatamash_a-trim.Po \ lib/$(DEPDIR)/libdatamash_a-trunc.Po \ lib/$(DEPDIR)/libdatamash_a-truncl.Po \ lib/$(DEPDIR)/libdatamash_a-u64.Po \ lib/$(DEPDIR)/libdatamash_a-uinttostr.Po \ lib/$(DEPDIR)/libdatamash_a-umaxtostr.Po \ lib/$(DEPDIR)/libdatamash_a-unistd.Po \ lib/$(DEPDIR)/libdatamash_a-vasnprintf.Po \ lib/$(DEPDIR)/libdatamash_a-version-etc.Po \ lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Po \ lib/$(DEPDIR)/libdatamash_a-waitpid.Po \ lib/$(DEPDIR)/libdatamash_a-wctype-h.Po \ lib/$(DEPDIR)/libdatamash_a-wcwidth.Po \ lib/$(DEPDIR)/libdatamash_a-windows-mutex.Po \ lib/$(DEPDIR)/libdatamash_a-windows-once.Po \ lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Po \ lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Po \ lib/$(DEPDIR)/libdatamash_a-xalloc-die.Po \ lib/$(DEPDIR)/libdatamash_a-xmalloc.Po \ lib/$(DEPDIR)/libdatamash_a-xsize.Po \ lib/$(DEPDIR)/libdatamash_a-xstriconv.Po \ lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Po \ lib/$(DEPDIR)/libdatamash_a-xstrtol.Po \ lib/$(DEPDIR)/libdatamash_a-xstrtoul.Po \ lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Po \ lib/glthread/$(DEPDIR)/libdatamash_a-lock.Po \ lib/glthread/$(DEPDIR)/libdatamash_a-once.Po \ lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Po \ lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Po \ lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Po \ lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Po \ lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Po \ lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Po \ lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Po \ src/$(DEPDIR)/datamash-column-headers.Po \ src/$(DEPDIR)/datamash-crosstab.Po \ src/$(DEPDIR)/datamash-datamash.Po \ src/$(DEPDIR)/datamash-double-format.Po \ src/$(DEPDIR)/datamash-field-ops.Po \ src/$(DEPDIR)/datamash-op-defs.Po \ src/$(DEPDIR)/datamash-op-parser.Po \ src/$(DEPDIR)/datamash-op-scanner.Po \ src/$(DEPDIR)/datamash-randutils.Po \ src/$(DEPDIR)/datamash-text-lines.Po \ src/$(DEPDIR)/datamash-text-options.Po \ src/$(DEPDIR)/datamash-utils.Po \ src/$(DEPDIR)/decorate-decorate-functions.Po \ src/$(DEPDIR)/decorate-decorate.Po \ src/$(DEPDIR)/decorate-key-compare.Po am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(lib_libdatamash_a_SOURCES) \ $(EXTRA_lib_libdatamash_a_SOURCES) $(datamash_SOURCES) \ $(decorate_SOURCES) DIST_SOURCES = $(am__lib_libdatamash_a_SOURCES_DIST) \ $(EXTRA_lib_libdatamash_a_SOURCES) $(datamash_SOURCES) \ $(decorate_SOURCES) AM_V_DVIPS = $(am__v_DVIPS_@AM_V@) am__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@) am__v_DVIPS_0 = @echo " DVIPS " $@; am__v_DVIPS_1 = AM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@) am__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@) am__v_MAKEINFO_0 = @echo " MAKEINFO" $@; am__v_MAKEINFO_1 = AM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@) am__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@) am__v_INFOHTML_0 = @echo " INFOHTML" $@; am__v_INFOHTML_1 = AM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@) am__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@) am__v_TEXI2DVI_0 = @echo " TEXI2DVI" $@; am__v_TEXI2DVI_1 = AM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@) am__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@) am__v_TEXI2PDF_0 = @echo " TEXI2PDF" $@; am__v_TEXI2PDF_1 = AM_V_texinfo = $(am__v_texinfo_@AM_V@) am__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@) am__v_texinfo_0 = -q am__v_texinfo_1 = AM_V_texidevnull = $(am__v_texidevnull_@AM_V@) am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@) am__v_texidevnull_0 = > /dev/null am__v_texidevnull_1 = INFO_DEPS = $(srcdir)/doc/datamash.info TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux DVIS = doc/datamash.dvi PDFS = doc/datamash.pdf PSS = doc/datamash.ps HTMLS = doc/datamash.html TEXINFOS = doc/datamash.texi TEXI2DVI = texi2dvi TEXI2PDF = $(TEXI2DVI) --pdf --batch MAKEINFOHTML = $(MAKEINFO) --html DVIPS = dvips RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) am__dist_bashcomp_DATA_DIST = contrib/bash-completion/datamash DATA = $(dist_bashcomp_DATA) $(dist_examples_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope check recheck distdir distdir-am dist dist-all \ distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \ config.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } am__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ $$am__collect_skipped_logs \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(IGNORE_SKIPPED_LOGS)'; then \ am__collect_skipped_logs='--collect-skipped-logs no'; \ else \ am__collect_skipped_logs=''; \ fi; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) am__test_logs3 = $(am__test_logs2:.pl.log=.log) PL_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver PL_LOG_COMPILE = $(PL_LOG_COMPILER) $(AM_PL_LOG_FLAGS) $(PL_LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac TEST_LOGS = $(am__test_logs3:.sh.log=.log) SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver SH_LOG_COMPILE = $(SH_LOG_COMPILER) $(AM_SH_LOG_FLAGS) $(SH_LOG_FLAGS) DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(doc_datamash_TEXINFOS) $(srcdir)/Makefile.in \ $(srcdir)/config.in $(srcdir)/lib/gnulib.mk \ $(top_srcdir)/build-aux/compile \ $(top_srcdir)/build-aux/config.guess \ $(top_srcdir)/build-aux/config.rpath \ $(top_srcdir)/build-aux/config.sub \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/install-sh \ $(top_srcdir)/build-aux/mdate-sh \ $(top_srcdir)/build-aux/missing \ $(top_srcdir)/build-aux/test-driver \ $(top_srcdir)/build-aux/texinfo.tex $(top_srcdir)/doc/local.mk \ $(top_srcdir)/lib/local.mk ABOUT-NLS AUTHORS COPYING ChangeLog \ INSTALL NEWS README THANKS build-aux/compile \ build-aux/config.guess build-aux/config.rpath \ build-aux/config.sub build-aux/depcomp build-aux/install-sh \ build-aux/mdate-sh build-aux/missing build-aux/texinfo.tex DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \ ; rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = -9 DIST_TARGETS = dist-gzip # Exists only to be overridden by the user if desired. AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = \ find . \( -type f -a \! \ \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print pkgdatadir = @pkgdatadir@ pkgincludedir = @pkgincludedir@ pkglibdir = @pkglibdir@ pkglibexecdir = @pkglibexecdir@ ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ AR = @AR@ ARFLAGS = @ARFLAGS@ ASSERT_H = @ASSERT_H@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ BYTESWAP_H = @BYTESWAP_H@ CAN_PRINT_STACK_TRACE = @CAN_PRINT_STACK_TRACE@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CEILL_LIBM = @CEILL_LIBM@ CEIL_LIBM = @CEIL_LIBM@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CONFIG_INCLUDE = @CONFIG_INCLUDE@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSCOPE = @CSCOPE@ CTAGS = @CTAGS@ CXX_HAS_CHAR8_TYPE = @CXX_HAS_CHAR8_TYPE@ CXX_HAS_UCHAR_TYPES = @CXX_HAS_UCHAR_TYPES@ CYGPATH_W = @CYGPATH_W@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ ENOLINK_VALUE = @ENOLINK_VALUE@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ ERRNO_H = @ERRNO_H@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ EXPL_LIBM = @EXPL_LIBM@ EXP_LIBM = @EXP_LIBM@ FABSL_LIBM = @FABSL_LIBM@ FABS_LIBM = @FABS_LIBM@ FLOAT_H = @FLOAT_H@ FLOORL_LIBM = @FLOORL_LIBM@ FLOOR_LIBM = @FLOOR_LIBM@ FREXPL_LIBM = @FREXPL_LIBM@ FREXP_LIBM = @FREXP_LIBM@ GETLOCALENAME_L_LIB = @GETLOCALENAME_L_LIB@ GETOPT_CDEFS_H = @GETOPT_CDEFS_H@ GETOPT_H = @GETOPT_H@ GETRANDOM_LIB = @GETRANDOM_LIB@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GL_CFLAG_ALLOW_WARNINGS = @GL_CFLAG_ALLOW_WARNINGS@ GL_CFLAG_GNULIB_WARNINGS = @GL_CFLAG_GNULIB_WARNINGS@ GL_GNULIB_ABORT_DEBUG = @GL_GNULIB_ABORT_DEBUG@ GL_GNULIB_ACCEPT = @GL_GNULIB_ACCEPT@ GL_GNULIB_ACCEPT4 = @GL_GNULIB_ACCEPT4@ GL_GNULIB_ACCESS = @GL_GNULIB_ACCESS@ GL_GNULIB_ACOSF = @GL_GNULIB_ACOSF@ GL_GNULIB_ACOSL = @GL_GNULIB_ACOSL@ GL_GNULIB_ALIGNED_ALLOC = @GL_GNULIB_ALIGNED_ALLOC@ GL_GNULIB_ASINF = @GL_GNULIB_ASINF@ GL_GNULIB_ASINL = @GL_GNULIB_ASINL@ GL_GNULIB_ATAN2F = @GL_GNULIB_ATAN2F@ GL_GNULIB_ATANF = @GL_GNULIB_ATANF@ GL_GNULIB_ATANL = @GL_GNULIB_ATANL@ GL_GNULIB_ATOLL = @GL_GNULIB_ATOLL@ GL_GNULIB_BIND = @GL_GNULIB_BIND@ GL_GNULIB_BTOC32 = @GL_GNULIB_BTOC32@ GL_GNULIB_BTOWC = @GL_GNULIB_BTOWC@ GL_GNULIB_C32ISALNUM = @GL_GNULIB_C32ISALNUM@ GL_GNULIB_C32ISALPHA = @GL_GNULIB_C32ISALPHA@ GL_GNULIB_C32ISBLANK = @GL_GNULIB_C32ISBLANK@ GL_GNULIB_C32ISCNTRL = @GL_GNULIB_C32ISCNTRL@ GL_GNULIB_C32ISDIGIT = @GL_GNULIB_C32ISDIGIT@ GL_GNULIB_C32ISGRAPH = @GL_GNULIB_C32ISGRAPH@ GL_GNULIB_C32ISLOWER = @GL_GNULIB_C32ISLOWER@ GL_GNULIB_C32ISPRINT = @GL_GNULIB_C32ISPRINT@ GL_GNULIB_C32ISPUNCT = @GL_GNULIB_C32ISPUNCT@ GL_GNULIB_C32ISSPACE = @GL_GNULIB_C32ISSPACE@ GL_GNULIB_C32ISUPPER = @GL_GNULIB_C32ISUPPER@ GL_GNULIB_C32ISXDIGIT = @GL_GNULIB_C32ISXDIGIT@ GL_GNULIB_C32RTOMB = @GL_GNULIB_C32RTOMB@ GL_GNULIB_C32SNRTOMBS = @GL_GNULIB_C32SNRTOMBS@ GL_GNULIB_C32SRTOMBS = @GL_GNULIB_C32SRTOMBS@ GL_GNULIB_C32STOMBS = @GL_GNULIB_C32STOMBS@ GL_GNULIB_C32SWIDTH = @GL_GNULIB_C32SWIDTH@ GL_GNULIB_C32TOB = @GL_GNULIB_C32TOB@ GL_GNULIB_C32TOLOWER = @GL_GNULIB_C32TOLOWER@ GL_GNULIB_C32TOUPPER = @GL_GNULIB_C32TOUPPER@ GL_GNULIB_C32WIDTH = @GL_GNULIB_C32WIDTH@ GL_GNULIB_C32_APPLY_MAPPING = @GL_GNULIB_C32_APPLY_MAPPING@ GL_GNULIB_C32_APPLY_TYPE_TEST = @GL_GNULIB_C32_APPLY_TYPE_TEST@ GL_GNULIB_C32_GET_MAPPING = @GL_GNULIB_C32_GET_MAPPING@ GL_GNULIB_C32_GET_TYPE_TEST = @GL_GNULIB_C32_GET_TYPE_TEST@ GL_GNULIB_CALLOC_GNU = @GL_GNULIB_CALLOC_GNU@ GL_GNULIB_CALLOC_POSIX = @GL_GNULIB_CALLOC_POSIX@ GL_GNULIB_CANONICALIZE_FILE_NAME = @GL_GNULIB_CANONICALIZE_FILE_NAME@ GL_GNULIB_CBRT = @GL_GNULIB_CBRT@ GL_GNULIB_CBRTF = @GL_GNULIB_CBRTF@ GL_GNULIB_CBRTL = @GL_GNULIB_CBRTL@ GL_GNULIB_CEIL = @GL_GNULIB_CEIL@ GL_GNULIB_CEILF = @GL_GNULIB_CEILF@ GL_GNULIB_CEILL = @GL_GNULIB_CEILL@ GL_GNULIB_CHDIR = @GL_GNULIB_CHDIR@ GL_GNULIB_CHMOD = @GL_GNULIB_CHMOD@ GL_GNULIB_CHOWN = @GL_GNULIB_CHOWN@ GL_GNULIB_CLOSE = @GL_GNULIB_CLOSE@ GL_GNULIB_CONNECT = @GL_GNULIB_CONNECT@ GL_GNULIB_COPYSIGN = @GL_GNULIB_COPYSIGN@ GL_GNULIB_COPYSIGNF = @GL_GNULIB_COPYSIGNF@ GL_GNULIB_COPYSIGNL = @GL_GNULIB_COPYSIGNL@ GL_GNULIB_COPY_FILE_RANGE = @GL_GNULIB_COPY_FILE_RANGE@ GL_GNULIB_COSF = @GL_GNULIB_COSF@ GL_GNULIB_COSHF = @GL_GNULIB_COSHF@ GL_GNULIB_COSL = @GL_GNULIB_COSL@ GL_GNULIB_CREAT = @GL_GNULIB_CREAT@ GL_GNULIB_CTIME = @GL_GNULIB_CTIME@ GL_GNULIB_DPRINTF = @GL_GNULIB_DPRINTF@ GL_GNULIB_DUP = @GL_GNULIB_DUP@ GL_GNULIB_DUP2 = @GL_GNULIB_DUP2@ GL_GNULIB_DUP3 = @GL_GNULIB_DUP3@ GL_GNULIB_DUPLOCALE = @GL_GNULIB_DUPLOCALE@ GL_GNULIB_DZPRINTF = @GL_GNULIB_DZPRINTF@ GL_GNULIB_ENVIRON = @GL_GNULIB_ENVIRON@ GL_GNULIB_EUIDACCESS = @GL_GNULIB_EUIDACCESS@ GL_GNULIB_EXECL = @GL_GNULIB_EXECL@ GL_GNULIB_EXECLE = @GL_GNULIB_EXECLE@ GL_GNULIB_EXECLP = @GL_GNULIB_EXECLP@ GL_GNULIB_EXECV = @GL_GNULIB_EXECV@ GL_GNULIB_EXECVE = @GL_GNULIB_EXECVE@ GL_GNULIB_EXECVP = @GL_GNULIB_EXECVP@ GL_GNULIB_EXECVPE = @GL_GNULIB_EXECVPE@ GL_GNULIB_EXP2 = @GL_GNULIB_EXP2@ GL_GNULIB_EXP2F = @GL_GNULIB_EXP2F@ GL_GNULIB_EXP2L = @GL_GNULIB_EXP2L@ GL_GNULIB_EXPF = @GL_GNULIB_EXPF@ GL_GNULIB_EXPL = @GL_GNULIB_EXPL@ GL_GNULIB_EXPLICIT_BZERO = @GL_GNULIB_EXPLICIT_BZERO@ GL_GNULIB_EXPM1 = @GL_GNULIB_EXPM1@ GL_GNULIB_EXPM1F = @GL_GNULIB_EXPM1F@ GL_GNULIB_EXPM1L = @GL_GNULIB_EXPM1L@ GL_GNULIB_FABSF = @GL_GNULIB_FABSF@ GL_GNULIB_FABSL = @GL_GNULIB_FABSL@ GL_GNULIB_FACCESSAT = @GL_GNULIB_FACCESSAT@ GL_GNULIB_FCHDIR = @GL_GNULIB_FCHDIR@ GL_GNULIB_FCHMODAT = @GL_GNULIB_FCHMODAT@ GL_GNULIB_FCHOWNAT = @GL_GNULIB_FCHOWNAT@ GL_GNULIB_FCLOSE = @GL_GNULIB_FCLOSE@ GL_GNULIB_FCNTL = @GL_GNULIB_FCNTL@ GL_GNULIB_FDATASYNC = @GL_GNULIB_FDATASYNC@ GL_GNULIB_FDOPEN = @GL_GNULIB_FDOPEN@ GL_GNULIB_FFLUSH = @GL_GNULIB_FFLUSH@ GL_GNULIB_FFS = @GL_GNULIB_FFS@ GL_GNULIB_FFSL = @GL_GNULIB_FFSL@ GL_GNULIB_FFSLL = @GL_GNULIB_FFSLL@ GL_GNULIB_FGETC = @GL_GNULIB_FGETC@ GL_GNULIB_FGETS = @GL_GNULIB_FGETS@ GL_GNULIB_FLOOR = @GL_GNULIB_FLOOR@ GL_GNULIB_FLOORF = @GL_GNULIB_FLOORF@ GL_GNULIB_FLOORL = @GL_GNULIB_FLOORL@ GL_GNULIB_FMA = @GL_GNULIB_FMA@ GL_GNULIB_FMAF = @GL_GNULIB_FMAF@ GL_GNULIB_FMAL = @GL_GNULIB_FMAL@ GL_GNULIB_FMOD = @GL_GNULIB_FMOD@ GL_GNULIB_FMODF = @GL_GNULIB_FMODF@ GL_GNULIB_FMODL = @GL_GNULIB_FMODL@ GL_GNULIB_FOPEN = @GL_GNULIB_FOPEN@ GL_GNULIB_FOPEN_GNU = @GL_GNULIB_FOPEN_GNU@ GL_GNULIB_FPRINTF = @GL_GNULIB_FPRINTF@ GL_GNULIB_FPRINTF_POSIX = @GL_GNULIB_FPRINTF_POSIX@ GL_GNULIB_FPURGE = @GL_GNULIB_FPURGE@ GL_GNULIB_FPUTC = @GL_GNULIB_FPUTC@ GL_GNULIB_FPUTS = @GL_GNULIB_FPUTS@ GL_GNULIB_FREAD = @GL_GNULIB_FREAD@ GL_GNULIB_FREELOCALE = @GL_GNULIB_FREELOCALE@ GL_GNULIB_FREE_POSIX = @GL_GNULIB_FREE_POSIX@ GL_GNULIB_FREOPEN = @GL_GNULIB_FREOPEN@ GL_GNULIB_FREXP = @GL_GNULIB_FREXP@ GL_GNULIB_FREXPF = @GL_GNULIB_FREXPF@ GL_GNULIB_FREXPL = @GL_GNULIB_FREXPL@ GL_GNULIB_FSCANF = @GL_GNULIB_FSCANF@ GL_GNULIB_FSEEK = @GL_GNULIB_FSEEK@ GL_GNULIB_FSEEKO = @GL_GNULIB_FSEEKO@ GL_GNULIB_FSTAT = @GL_GNULIB_FSTAT@ GL_GNULIB_FSTATAT = @GL_GNULIB_FSTATAT@ GL_GNULIB_FSYNC = @GL_GNULIB_FSYNC@ GL_GNULIB_FTELL = @GL_GNULIB_FTELL@ GL_GNULIB_FTELLO = @GL_GNULIB_FTELLO@ GL_GNULIB_FTRUNCATE = @GL_GNULIB_FTRUNCATE@ GL_GNULIB_FUTIMENS = @GL_GNULIB_FUTIMENS@ GL_GNULIB_FWRITE = @GL_GNULIB_FWRITE@ GL_GNULIB_FZPRINTF = @GL_GNULIB_FZPRINTF@ GL_GNULIB_GETC = @GL_GNULIB_GETC@ GL_GNULIB_GETCHAR = @GL_GNULIB_GETCHAR@ GL_GNULIB_GETCWD = @GL_GNULIB_GETCWD@ GL_GNULIB_GETDELIM = @GL_GNULIB_GETDELIM@ GL_GNULIB_GETDOMAINNAME = @GL_GNULIB_GETDOMAINNAME@ GL_GNULIB_GETDTABLESIZE = @GL_GNULIB_GETDTABLESIZE@ GL_GNULIB_GETENTROPY = @GL_GNULIB_GETENTROPY@ GL_GNULIB_GETGROUPS = @GL_GNULIB_GETGROUPS@ GL_GNULIB_GETHOSTNAME = @GL_GNULIB_GETHOSTNAME@ GL_GNULIB_GETLINE = @GL_GNULIB_GETLINE@ GL_GNULIB_GETLOADAVG = @GL_GNULIB_GETLOADAVG@ GL_GNULIB_GETLOCALENAME_L = @GL_GNULIB_GETLOCALENAME_L@ GL_GNULIB_GETLOCALENAME_L_UNSAFE = @GL_GNULIB_GETLOCALENAME_L_UNSAFE@ GL_GNULIB_GETLOGIN = @GL_GNULIB_GETLOGIN@ GL_GNULIB_GETLOGIN_R = @GL_GNULIB_GETLOGIN_R@ GL_GNULIB_GETOPT_POSIX = @GL_GNULIB_GETOPT_POSIX@ GL_GNULIB_GETPAGESIZE = @GL_GNULIB_GETPAGESIZE@ GL_GNULIB_GETPASS = @GL_GNULIB_GETPASS@ GL_GNULIB_GETPASS_GNU = @GL_GNULIB_GETPASS_GNU@ GL_GNULIB_GETPAYLOAD = @GL_GNULIB_GETPAYLOAD@ GL_GNULIB_GETPAYLOADF = @GL_GNULIB_GETPAYLOADF@ GL_GNULIB_GETPAYLOADL = @GL_GNULIB_GETPAYLOADL@ GL_GNULIB_GETPEERNAME = @GL_GNULIB_GETPEERNAME@ GL_GNULIB_GETPROGNAME = @GL_GNULIB_GETPROGNAME@ GL_GNULIB_GETRANDOM = @GL_GNULIB_GETRANDOM@ GL_GNULIB_GETSOCKNAME = @GL_GNULIB_GETSOCKNAME@ GL_GNULIB_GETSOCKOPT = @GL_GNULIB_GETSOCKOPT@ GL_GNULIB_GETSUBOPT = @GL_GNULIB_GETSUBOPT@ GL_GNULIB_GETUMASK = @GL_GNULIB_GETUMASK@ GL_GNULIB_GETUSERSHELL = @GL_GNULIB_GETUSERSHELL@ GL_GNULIB_GRANTPT = @GL_GNULIB_GRANTPT@ GL_GNULIB_GROUP_MEMBER = @GL_GNULIB_GROUP_MEMBER@ GL_GNULIB_HYPOT = @GL_GNULIB_HYPOT@ GL_GNULIB_HYPOTF = @GL_GNULIB_HYPOTF@ GL_GNULIB_HYPOTL = @GL_GNULIB_HYPOTL@ GL_GNULIB_ICONV = @GL_GNULIB_ICONV@ GL_GNULIB_ILOGB = @GL_GNULIB_ILOGB@ GL_GNULIB_ILOGBF = @GL_GNULIB_ILOGBF@ GL_GNULIB_ILOGBL = @GL_GNULIB_ILOGBL@ GL_GNULIB_IMAXABS = @GL_GNULIB_IMAXABS@ GL_GNULIB_IMAXDIV = @GL_GNULIB_IMAXDIV@ GL_GNULIB_INET_NTOP = @GL_GNULIB_INET_NTOP@ GL_GNULIB_INET_PTON = @GL_GNULIB_INET_PTON@ GL_GNULIB_ISALNUM_L = @GL_GNULIB_ISALNUM_L@ GL_GNULIB_ISALPHA_L = @GL_GNULIB_ISALPHA_L@ GL_GNULIB_ISATTY = @GL_GNULIB_ISATTY@ GL_GNULIB_ISBLANK = @GL_GNULIB_ISBLANK@ GL_GNULIB_ISBLANK_L = @GL_GNULIB_ISBLANK_L@ GL_GNULIB_ISCNTRL_L = @GL_GNULIB_ISCNTRL_L@ GL_GNULIB_ISDIGIT_L = @GL_GNULIB_ISDIGIT_L@ GL_GNULIB_ISFINITE = @GL_GNULIB_ISFINITE@ GL_GNULIB_ISGRAPH_L = @GL_GNULIB_ISGRAPH_L@ GL_GNULIB_ISINF = @GL_GNULIB_ISINF@ GL_GNULIB_ISLOWER_L = @GL_GNULIB_ISLOWER_L@ GL_GNULIB_ISNAN = @GL_GNULIB_ISNAN@ GL_GNULIB_ISNAND = @GL_GNULIB_ISNAND@ GL_GNULIB_ISNANF = @GL_GNULIB_ISNANF@ GL_GNULIB_ISNANL = @GL_GNULIB_ISNANL@ GL_GNULIB_ISPRINT_L = @GL_GNULIB_ISPRINT_L@ GL_GNULIB_ISPUNCT_L = @GL_GNULIB_ISPUNCT_L@ GL_GNULIB_ISSPACE_L = @GL_GNULIB_ISSPACE_L@ GL_GNULIB_ISUPPER_L = @GL_GNULIB_ISUPPER_L@ GL_GNULIB_ISWBLANK = @GL_GNULIB_ISWBLANK@ GL_GNULIB_ISWCTYPE = @GL_GNULIB_ISWCTYPE@ GL_GNULIB_ISWDIGIT = @GL_GNULIB_ISWDIGIT@ GL_GNULIB_ISWPUNCT = @GL_GNULIB_ISWPUNCT@ GL_GNULIB_ISWXDIGIT = @GL_GNULIB_ISWXDIGIT@ GL_GNULIB_ISXDIGIT_L = @GL_GNULIB_ISXDIGIT_L@ GL_GNULIB_LCHMOD = @GL_GNULIB_LCHMOD@ GL_GNULIB_LCHOWN = @GL_GNULIB_LCHOWN@ GL_GNULIB_LDEXP = @GL_GNULIB_LDEXP@ GL_GNULIB_LDEXPF = @GL_GNULIB_LDEXPF@ GL_GNULIB_LDEXPL = @GL_GNULIB_LDEXPL@ GL_GNULIB_LINK = @GL_GNULIB_LINK@ GL_GNULIB_LINKAT = @GL_GNULIB_LINKAT@ GL_GNULIB_LISTEN = @GL_GNULIB_LISTEN@ GL_GNULIB_LOCALECONV = @GL_GNULIB_LOCALECONV@ GL_GNULIB_LOCALENAME_UNSAFE = @GL_GNULIB_LOCALENAME_UNSAFE@ GL_GNULIB_LOCALTIME = @GL_GNULIB_LOCALTIME@ GL_GNULIB_LOG = @GL_GNULIB_LOG@ GL_GNULIB_LOG10 = @GL_GNULIB_LOG10@ GL_GNULIB_LOG10F = @GL_GNULIB_LOG10F@ GL_GNULIB_LOG10L = @GL_GNULIB_LOG10L@ GL_GNULIB_LOG1P = @GL_GNULIB_LOG1P@ GL_GNULIB_LOG1PF = @GL_GNULIB_LOG1PF@ GL_GNULIB_LOG1PL = @GL_GNULIB_LOG1PL@ GL_GNULIB_LOG2 = @GL_GNULIB_LOG2@ GL_GNULIB_LOG2F = @GL_GNULIB_LOG2F@ GL_GNULIB_LOG2L = @GL_GNULIB_LOG2L@ GL_GNULIB_LOGB = @GL_GNULIB_LOGB@ GL_GNULIB_LOGBF = @GL_GNULIB_LOGBF@ GL_GNULIB_LOGBL = @GL_GNULIB_LOGBL@ GL_GNULIB_LOGF = @GL_GNULIB_LOGF@ GL_GNULIB_LOGL = @GL_GNULIB_LOGL@ GL_GNULIB_LOGP1 = @GL_GNULIB_LOGP1@ GL_GNULIB_LOGP1F = @GL_GNULIB_LOGP1F@ GL_GNULIB_LOGP1L = @GL_GNULIB_LOGP1L@ GL_GNULIB_LSEEK = @GL_GNULIB_LSEEK@ GL_GNULIB_LSTAT = @GL_GNULIB_LSTAT@ GL_GNULIB_MALLOC_GNU = @GL_GNULIB_MALLOC_GNU@ GL_GNULIB_MALLOC_POSIX = @GL_GNULIB_MALLOC_POSIX@ GL_GNULIB_MBRLEN = @GL_GNULIB_MBRLEN@ GL_GNULIB_MBRTOC16 = @GL_GNULIB_MBRTOC16@ GL_GNULIB_MBRTOC32 = @GL_GNULIB_MBRTOC32@ GL_GNULIB_MBRTOWC = @GL_GNULIB_MBRTOWC@ GL_GNULIB_MBSCASECMP = @GL_GNULIB_MBSCASECMP@ GL_GNULIB_MBSCASESTR = @GL_GNULIB_MBSCASESTR@ GL_GNULIB_MBSCHR = @GL_GNULIB_MBSCHR@ GL_GNULIB_MBSCSPN = @GL_GNULIB_MBSCSPN@ GL_GNULIB_MBSINIT = @GL_GNULIB_MBSINIT@ GL_GNULIB_MBSLEN = @GL_GNULIB_MBSLEN@ GL_GNULIB_MBSNCASECMP = @GL_GNULIB_MBSNCASECMP@ GL_GNULIB_MBSNLEN = @GL_GNULIB_MBSNLEN@ GL_GNULIB_MBSNRTOC32S = @GL_GNULIB_MBSNRTOC32S@ GL_GNULIB_MBSNRTOWCS = @GL_GNULIB_MBSNRTOWCS@ GL_GNULIB_MBSPBRK = @GL_GNULIB_MBSPBRK@ GL_GNULIB_MBSPCASECMP = @GL_GNULIB_MBSPCASECMP@ GL_GNULIB_MBSRCHR = @GL_GNULIB_MBSRCHR@ GL_GNULIB_MBSRTOC32S = @GL_GNULIB_MBSRTOC32S@ GL_GNULIB_MBSRTOWCS = @GL_GNULIB_MBSRTOWCS@ GL_GNULIB_MBSSEP = @GL_GNULIB_MBSSEP@ GL_GNULIB_MBSSPN = @GL_GNULIB_MBSSPN@ GL_GNULIB_MBSSTR = @GL_GNULIB_MBSSTR@ GL_GNULIB_MBSTOC32S = @GL_GNULIB_MBSTOC32S@ GL_GNULIB_MBSTOK_R = @GL_GNULIB_MBSTOK_R@ GL_GNULIB_MBSTOWCS = @GL_GNULIB_MBSTOWCS@ GL_GNULIB_MBSZERO = @GL_GNULIB_MBSZERO@ GL_GNULIB_MBS_ENDSWITH = @GL_GNULIB_MBS_ENDSWITH@ GL_GNULIB_MBS_STARTSWITH = @GL_GNULIB_MBS_STARTSWITH@ GL_GNULIB_MBTOWC = @GL_GNULIB_MBTOWC@ GL_GNULIB_MDA_ACCESS = @GL_GNULIB_MDA_ACCESS@ GL_GNULIB_MDA_CHDIR = @GL_GNULIB_MDA_CHDIR@ GL_GNULIB_MDA_CHMOD = @GL_GNULIB_MDA_CHMOD@ GL_GNULIB_MDA_CLOSE = @GL_GNULIB_MDA_CLOSE@ GL_GNULIB_MDA_CREAT = @GL_GNULIB_MDA_CREAT@ GL_GNULIB_MDA_DUP = @GL_GNULIB_MDA_DUP@ GL_GNULIB_MDA_DUP2 = @GL_GNULIB_MDA_DUP2@ GL_GNULIB_MDA_ECVT = @GL_GNULIB_MDA_ECVT@ GL_GNULIB_MDA_EXECL = @GL_GNULIB_MDA_EXECL@ GL_GNULIB_MDA_EXECLE = @GL_GNULIB_MDA_EXECLE@ GL_GNULIB_MDA_EXECLP = @GL_GNULIB_MDA_EXECLP@ GL_GNULIB_MDA_EXECV = @GL_GNULIB_MDA_EXECV@ GL_GNULIB_MDA_EXECVE = @GL_GNULIB_MDA_EXECVE@ GL_GNULIB_MDA_EXECVP = @GL_GNULIB_MDA_EXECVP@ GL_GNULIB_MDA_EXECVPE = @GL_GNULIB_MDA_EXECVPE@ GL_GNULIB_MDA_FCLOSEALL = @GL_GNULIB_MDA_FCLOSEALL@ GL_GNULIB_MDA_FCVT = @GL_GNULIB_MDA_FCVT@ GL_GNULIB_MDA_FDOPEN = @GL_GNULIB_MDA_FDOPEN@ GL_GNULIB_MDA_FILENO = @GL_GNULIB_MDA_FILENO@ GL_GNULIB_MDA_GCVT = @GL_GNULIB_MDA_GCVT@ GL_GNULIB_MDA_GETCWD = @GL_GNULIB_MDA_GETCWD@ GL_GNULIB_MDA_GETPID = @GL_GNULIB_MDA_GETPID@ GL_GNULIB_MDA_GETW = @GL_GNULIB_MDA_GETW@ GL_GNULIB_MDA_ISATTY = @GL_GNULIB_MDA_ISATTY@ GL_GNULIB_MDA_J0 = @GL_GNULIB_MDA_J0@ GL_GNULIB_MDA_J1 = @GL_GNULIB_MDA_J1@ GL_GNULIB_MDA_JN = @GL_GNULIB_MDA_JN@ GL_GNULIB_MDA_LSEEK = @GL_GNULIB_MDA_LSEEK@ GL_GNULIB_MDA_MEMCCPY = @GL_GNULIB_MDA_MEMCCPY@ GL_GNULIB_MDA_MKDIR = @GL_GNULIB_MDA_MKDIR@ GL_GNULIB_MDA_MKTEMP = @GL_GNULIB_MDA_MKTEMP@ GL_GNULIB_MDA_OPEN = @GL_GNULIB_MDA_OPEN@ GL_GNULIB_MDA_PUTENV = @GL_GNULIB_MDA_PUTENV@ GL_GNULIB_MDA_PUTW = @GL_GNULIB_MDA_PUTW@ GL_GNULIB_MDA_READ = @GL_GNULIB_MDA_READ@ GL_GNULIB_MDA_RMDIR = @GL_GNULIB_MDA_RMDIR@ GL_GNULIB_MDA_STRDUP = @GL_GNULIB_MDA_STRDUP@ GL_GNULIB_MDA_SWAB = @GL_GNULIB_MDA_SWAB@ GL_GNULIB_MDA_TEMPNAM = @GL_GNULIB_MDA_TEMPNAM@ GL_GNULIB_MDA_TZSET = @GL_GNULIB_MDA_TZSET@ GL_GNULIB_MDA_UMASK = @GL_GNULIB_MDA_UMASK@ GL_GNULIB_MDA_UNLINK = @GL_GNULIB_MDA_UNLINK@ GL_GNULIB_MDA_WCSDUP = @GL_GNULIB_MDA_WCSDUP@ GL_GNULIB_MDA_WRITE = @GL_GNULIB_MDA_WRITE@ GL_GNULIB_MDA_Y0 = @GL_GNULIB_MDA_Y0@ GL_GNULIB_MDA_Y1 = @GL_GNULIB_MDA_Y1@ GL_GNULIB_MDA_YN = @GL_GNULIB_MDA_YN@ GL_GNULIB_MEMCHR = @GL_GNULIB_MEMCHR@ GL_GNULIB_MEMMEM = @GL_GNULIB_MEMMEM@ GL_GNULIB_MEMPCPY = @GL_GNULIB_MEMPCPY@ GL_GNULIB_MEMRCHR = @GL_GNULIB_MEMRCHR@ GL_GNULIB_MEMSET_EXPLICIT = @GL_GNULIB_MEMSET_EXPLICIT@ GL_GNULIB_MKDIR = @GL_GNULIB_MKDIR@ GL_GNULIB_MKDIRAT = @GL_GNULIB_MKDIRAT@ GL_GNULIB_MKDTEMP = @GL_GNULIB_MKDTEMP@ GL_GNULIB_MKFIFO = @GL_GNULIB_MKFIFO@ GL_GNULIB_MKFIFOAT = @GL_GNULIB_MKFIFOAT@ GL_GNULIB_MKNOD = @GL_GNULIB_MKNOD@ GL_GNULIB_MKNODAT = @GL_GNULIB_MKNODAT@ GL_GNULIB_MKOSTEMP = @GL_GNULIB_MKOSTEMP@ GL_GNULIB_MKOSTEMPS = @GL_GNULIB_MKOSTEMPS@ GL_GNULIB_MKSTEMP = @GL_GNULIB_MKSTEMP@ GL_GNULIB_MKSTEMPS = @GL_GNULIB_MKSTEMPS@ GL_GNULIB_MKTIME = @GL_GNULIB_MKTIME@ GL_GNULIB_MODF = @GL_GNULIB_MODF@ GL_GNULIB_MODFF = @GL_GNULIB_MODFF@ GL_GNULIB_MODFL = @GL_GNULIB_MODFL@ GL_GNULIB_NANOSLEEP = @GL_GNULIB_NANOSLEEP@ GL_GNULIB_NEWLOCALE = @GL_GNULIB_NEWLOCALE@ GL_GNULIB_NONBLOCKING = @GL_GNULIB_NONBLOCKING@ GL_GNULIB_OBSTACK_PRINTF = @GL_GNULIB_OBSTACK_PRINTF@ GL_GNULIB_OBSTACK_PRINTF_POSIX = @GL_GNULIB_OBSTACK_PRINTF_POSIX@ GL_GNULIB_OBSTACK_ZPRINTF = @GL_GNULIB_OBSTACK_ZPRINTF@ GL_GNULIB_OPEN = @GL_GNULIB_OPEN@ GL_GNULIB_OPENAT = @GL_GNULIB_OPENAT@ GL_GNULIB_OVERRIDES_STRUCT_STAT = @GL_GNULIB_OVERRIDES_STRUCT_STAT@ GL_GNULIB_PCLOSE = @GL_GNULIB_PCLOSE@ GL_GNULIB_PERROR = @GL_GNULIB_PERROR@ GL_GNULIB_PIPE = @GL_GNULIB_PIPE@ GL_GNULIB_PIPE2 = @GL_GNULIB_PIPE2@ GL_GNULIB_POPEN = @GL_GNULIB_POPEN@ GL_GNULIB_POSIX_MEMALIGN = @GL_GNULIB_POSIX_MEMALIGN@ GL_GNULIB_POSIX_OPENPT = @GL_GNULIB_POSIX_OPENPT@ GL_GNULIB_POWF = @GL_GNULIB_POWF@ GL_GNULIB_PREAD = @GL_GNULIB_PREAD@ GL_GNULIB_PRINTF = @GL_GNULIB_PRINTF@ GL_GNULIB_PRINTF_POSIX = @GL_GNULIB_PRINTF_POSIX@ GL_GNULIB_PTHREAD_COND = @GL_GNULIB_PTHREAD_COND@ GL_GNULIB_PTHREAD_MUTEX = @GL_GNULIB_PTHREAD_MUTEX@ GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK = @GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ GL_GNULIB_PTHREAD_ONCE = @GL_GNULIB_PTHREAD_ONCE@ GL_GNULIB_PTHREAD_RWLOCK = @GL_GNULIB_PTHREAD_RWLOCK@ GL_GNULIB_PTHREAD_SPIN = @GL_GNULIB_PTHREAD_SPIN@ GL_GNULIB_PTHREAD_THREAD = @GL_GNULIB_PTHREAD_THREAD@ GL_GNULIB_PTHREAD_TSS = @GL_GNULIB_PTHREAD_TSS@ GL_GNULIB_PTSNAME = @GL_GNULIB_PTSNAME@ GL_GNULIB_PTSNAME_R = @GL_GNULIB_PTSNAME_R@ GL_GNULIB_PUTC = @GL_GNULIB_PUTC@ GL_GNULIB_PUTCHAR = @GL_GNULIB_PUTCHAR@ GL_GNULIB_PUTENV = @GL_GNULIB_PUTENV@ GL_GNULIB_PUTS = @GL_GNULIB_PUTS@ GL_GNULIB_PWRITE = @GL_GNULIB_PWRITE@ GL_GNULIB_QSORT_R = @GL_GNULIB_QSORT_R@ GL_GNULIB_RAND = @GL_GNULIB_RAND@ GL_GNULIB_RANDOM = @GL_GNULIB_RANDOM@ GL_GNULIB_RANDOM_R = @GL_GNULIB_RANDOM_R@ GL_GNULIB_RAWMEMCHR = @GL_GNULIB_RAWMEMCHR@ GL_GNULIB_READ = @GL_GNULIB_READ@ GL_GNULIB_READLINK = @GL_GNULIB_READLINK@ GL_GNULIB_READLINKAT = @GL_GNULIB_READLINKAT@ GL_GNULIB_REALLOCARRAY = @GL_GNULIB_REALLOCARRAY@ GL_GNULIB_REALLOC_POSIX = @GL_GNULIB_REALLOC_POSIX@ GL_GNULIB_REALPATH = @GL_GNULIB_REALPATH@ GL_GNULIB_RECV = @GL_GNULIB_RECV@ GL_GNULIB_RECVFROM = @GL_GNULIB_RECVFROM@ GL_GNULIB_REMAINDER = @GL_GNULIB_REMAINDER@ GL_GNULIB_REMAINDERF = @GL_GNULIB_REMAINDERF@ GL_GNULIB_REMAINDERL = @GL_GNULIB_REMAINDERL@ GL_GNULIB_REMOVE = @GL_GNULIB_REMOVE@ GL_GNULIB_RENAME = @GL_GNULIB_RENAME@ GL_GNULIB_RENAMEAT = @GL_GNULIB_RENAMEAT@ GL_GNULIB_RINT = @GL_GNULIB_RINT@ GL_GNULIB_RINTF = @GL_GNULIB_RINTF@ GL_GNULIB_RINTL = @GL_GNULIB_RINTL@ GL_GNULIB_RMDIR = @GL_GNULIB_RMDIR@ GL_GNULIB_ROUND = @GL_GNULIB_ROUND@ GL_GNULIB_ROUNDF = @GL_GNULIB_ROUNDF@ GL_GNULIB_ROUNDL = @GL_GNULIB_ROUNDL@ GL_GNULIB_RPMATCH = @GL_GNULIB_RPMATCH@ GL_GNULIB_SCANF = @GL_GNULIB_SCANF@ GL_GNULIB_SCHED_YIELD = @GL_GNULIB_SCHED_YIELD@ GL_GNULIB_SECURE_GETENV = @GL_GNULIB_SECURE_GETENV@ GL_GNULIB_SEND = @GL_GNULIB_SEND@ GL_GNULIB_SENDTO = @GL_GNULIB_SENDTO@ GL_GNULIB_SETENV = @GL_GNULIB_SETENV@ GL_GNULIB_SETHOSTNAME = @GL_GNULIB_SETHOSTNAME@ GL_GNULIB_SETLOCALE = @GL_GNULIB_SETLOCALE@ GL_GNULIB_SETLOCALE_NULL = @GL_GNULIB_SETLOCALE_NULL@ GL_GNULIB_SETPAYLOAD = @GL_GNULIB_SETPAYLOAD@ GL_GNULIB_SETPAYLOADF = @GL_GNULIB_SETPAYLOADF@ GL_GNULIB_SETPAYLOADL = @GL_GNULIB_SETPAYLOADL@ GL_GNULIB_SETPAYLOADSIG = @GL_GNULIB_SETPAYLOADSIG@ GL_GNULIB_SETPAYLOADSIGF = @GL_GNULIB_SETPAYLOADSIGF@ GL_GNULIB_SETPAYLOADSIGL = @GL_GNULIB_SETPAYLOADSIGL@ GL_GNULIB_SETSOCKOPT = @GL_GNULIB_SETSOCKOPT@ GL_GNULIB_SHUTDOWN = @GL_GNULIB_SHUTDOWN@ GL_GNULIB_SIGABBREV_NP = @GL_GNULIB_SIGABBREV_NP@ GL_GNULIB_SIGDESCR_NP = @GL_GNULIB_SIGDESCR_NP@ GL_GNULIB_SIGNBIT = @GL_GNULIB_SIGNBIT@ GL_GNULIB_SINF = @GL_GNULIB_SINF@ GL_GNULIB_SINHF = @GL_GNULIB_SINHF@ GL_GNULIB_SINL = @GL_GNULIB_SINL@ GL_GNULIB_SLEEP = @GL_GNULIB_SLEEP@ GL_GNULIB_SNPRINTF = @GL_GNULIB_SNPRINTF@ GL_GNULIB_SNZPRINTF = @GL_GNULIB_SNZPRINTF@ GL_GNULIB_SOCKET = @GL_GNULIB_SOCKET@ GL_GNULIB_SPRINTF_POSIX = @GL_GNULIB_SPRINTF_POSIX@ GL_GNULIB_SQRTF = @GL_GNULIB_SQRTF@ GL_GNULIB_SQRTL = @GL_GNULIB_SQRTL@ GL_GNULIB_STACK_TRACE = @GL_GNULIB_STACK_TRACE@ GL_GNULIB_STAT = @GL_GNULIB_STAT@ GL_GNULIB_STDIO_H_NONBLOCKING = @GL_GNULIB_STDIO_H_NONBLOCKING@ GL_GNULIB_STDIO_H_SIGPIPE = @GL_GNULIB_STDIO_H_SIGPIPE@ GL_GNULIB_STPCPY = @GL_GNULIB_STPCPY@ GL_GNULIB_STPNCPY = @GL_GNULIB_STPNCPY@ GL_GNULIB_STRCASECMP = @GL_GNULIB_STRCASECMP@ GL_GNULIB_STRCASECMP_L = @GL_GNULIB_STRCASECMP_L@ GL_GNULIB_STRCASESTR = @GL_GNULIB_STRCASESTR@ GL_GNULIB_STRCHRNUL = @GL_GNULIB_STRCHRNUL@ GL_GNULIB_STRDUP = @GL_GNULIB_STRDUP@ GL_GNULIB_STRERROR = @GL_GNULIB_STRERROR@ GL_GNULIB_STRERRORNAME_NP = @GL_GNULIB_STRERRORNAME_NP@ GL_GNULIB_STRERROR_L = @GL_GNULIB_STRERROR_L@ GL_GNULIB_STRERROR_R = @GL_GNULIB_STRERROR_R@ GL_GNULIB_STRFTIME = @GL_GNULIB_STRFTIME@ GL_GNULIB_STRNCASECMP = @GL_GNULIB_STRNCASECMP@ GL_GNULIB_STRNCASECMP_L = @GL_GNULIB_STRNCASECMP_L@ GL_GNULIB_STRNCAT = @GL_GNULIB_STRNCAT@ GL_GNULIB_STRNDUP = @GL_GNULIB_STRNDUP@ GL_GNULIB_STRNLEN = @GL_GNULIB_STRNLEN@ GL_GNULIB_STRPBRK = @GL_GNULIB_STRPBRK@ GL_GNULIB_STRPTIME = @GL_GNULIB_STRPTIME@ GL_GNULIB_STRSEP = @GL_GNULIB_STRSEP@ GL_GNULIB_STRSIGNAL = @GL_GNULIB_STRSIGNAL@ GL_GNULIB_STRSTR = @GL_GNULIB_STRSTR@ GL_GNULIB_STRTOD = @GL_GNULIB_STRTOD@ GL_GNULIB_STRTOF = @GL_GNULIB_STRTOF@ GL_GNULIB_STRTOIMAX = @GL_GNULIB_STRTOIMAX@ GL_GNULIB_STRTOK_R = @GL_GNULIB_STRTOK_R@ GL_GNULIB_STRTOL = @GL_GNULIB_STRTOL@ GL_GNULIB_STRTOLD = @GL_GNULIB_STRTOLD@ GL_GNULIB_STRTOLL = @GL_GNULIB_STRTOLL@ GL_GNULIB_STRTOUL = @GL_GNULIB_STRTOUL@ GL_GNULIB_STRTOULL = @GL_GNULIB_STRTOULL@ GL_GNULIB_STRTOUMAX = @GL_GNULIB_STRTOUMAX@ GL_GNULIB_STRVERSCMP = @GL_GNULIB_STRVERSCMP@ GL_GNULIB_STR_ENDSWITH = @GL_GNULIB_STR_ENDSWITH@ GL_GNULIB_STR_STARTSWITH = @GL_GNULIB_STR_STARTSWITH@ GL_GNULIB_SYMLINK = @GL_GNULIB_SYMLINK@ GL_GNULIB_SYMLINKAT = @GL_GNULIB_SYMLINKAT@ GL_GNULIB_SYSTEM_POSIX = @GL_GNULIB_SYSTEM_POSIX@ GL_GNULIB_SZPRINTF = @GL_GNULIB_SZPRINTF@ GL_GNULIB_TANF = @GL_GNULIB_TANF@ GL_GNULIB_TANHF = @GL_GNULIB_TANHF@ GL_GNULIB_TANL = @GL_GNULIB_TANL@ GL_GNULIB_TIME = @GL_GNULIB_TIME@ GL_GNULIB_TIMEGM = @GL_GNULIB_TIMEGM@ GL_GNULIB_TIMESPEC_GET = @GL_GNULIB_TIMESPEC_GET@ GL_GNULIB_TIMESPEC_GETRES = @GL_GNULIB_TIMESPEC_GETRES@ GL_GNULIB_TIME_R = @GL_GNULIB_TIME_R@ GL_GNULIB_TIME_RZ = @GL_GNULIB_TIME_RZ@ GL_GNULIB_TMPFILE = @GL_GNULIB_TMPFILE@ GL_GNULIB_TOLOWER_L = @GL_GNULIB_TOLOWER_L@ GL_GNULIB_TOTALORDER = @GL_GNULIB_TOTALORDER@ GL_GNULIB_TOTALORDERF = @GL_GNULIB_TOTALORDERF@ GL_GNULIB_TOTALORDERL = @GL_GNULIB_TOTALORDERL@ GL_GNULIB_TOTALORDERMAG = @GL_GNULIB_TOTALORDERMAG@ GL_GNULIB_TOTALORDERMAGF = @GL_GNULIB_TOTALORDERMAGF@ GL_GNULIB_TOTALORDERMAGL = @GL_GNULIB_TOTALORDERMAGL@ GL_GNULIB_TOUPPER_L = @GL_GNULIB_TOUPPER_L@ GL_GNULIB_TOWCTRANS = @GL_GNULIB_TOWCTRANS@ GL_GNULIB_TRUNC = @GL_GNULIB_TRUNC@ GL_GNULIB_TRUNCATE = @GL_GNULIB_TRUNCATE@ GL_GNULIB_TRUNCF = @GL_GNULIB_TRUNCF@ GL_GNULIB_TRUNCL = @GL_GNULIB_TRUNCL@ GL_GNULIB_TTYNAME_R = @GL_GNULIB_TTYNAME_R@ GL_GNULIB_TZNAME = @GL_GNULIB_TZNAME@ GL_GNULIB_TZSET = @GL_GNULIB_TZSET@ GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE = @GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE@ GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE = @GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE@ GL_GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE = @GL_GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE@ GL_GNULIB_UNINORM_NFC_DLL_VARIABLE = @GL_GNULIB_UNINORM_NFC_DLL_VARIABLE@ GL_GNULIB_UNINORM_NFD_DLL_VARIABLE = @GL_GNULIB_UNINORM_NFD_DLL_VARIABLE@ GL_GNULIB_UNINORM_NFKC_DLL_VARIABLE = @GL_GNULIB_UNINORM_NFKC_DLL_VARIABLE@ GL_GNULIB_UNINORM_NFKD_DLL_VARIABLE = @GL_GNULIB_UNINORM_NFKD_DLL_VARIABLE@ GL_GNULIB_UNISTD_H_GETOPT = @GL_GNULIB_UNISTD_H_GETOPT@ GL_GNULIB_UNISTD_H_NONBLOCKING = @GL_GNULIB_UNISTD_H_NONBLOCKING@ GL_GNULIB_UNISTD_H_SIGPIPE = @GL_GNULIB_UNISTD_H_SIGPIPE@ GL_GNULIB_UNLINK = @GL_GNULIB_UNLINK@ GL_GNULIB_UNLINKAT = @GL_GNULIB_UNLINKAT@ GL_GNULIB_UNLOCKPT = @GL_GNULIB_UNLOCKPT@ GL_GNULIB_UNSETENV = @GL_GNULIB_UNSETENV@ GL_GNULIB_USLEEP = @GL_GNULIB_USLEEP@ GL_GNULIB_UTIMENSAT = @GL_GNULIB_UTIMENSAT@ GL_GNULIB_VASPRINTF = @GL_GNULIB_VASPRINTF@ GL_GNULIB_VASZPRINTF = @GL_GNULIB_VASZPRINTF@ GL_GNULIB_VDPRINTF = @GL_GNULIB_VDPRINTF@ GL_GNULIB_VDZPRINTF = @GL_GNULIB_VDZPRINTF@ GL_GNULIB_VFPRINTF = @GL_GNULIB_VFPRINTF@ GL_GNULIB_VFPRINTF_POSIX = @GL_GNULIB_VFPRINTF_POSIX@ GL_GNULIB_VFSCANF = @GL_GNULIB_VFSCANF@ GL_GNULIB_VFZPRINTF = @GL_GNULIB_VFZPRINTF@ GL_GNULIB_VPRINTF = @GL_GNULIB_VPRINTF@ GL_GNULIB_VPRINTF_POSIX = @GL_GNULIB_VPRINTF_POSIX@ GL_GNULIB_VSCANF = @GL_GNULIB_VSCANF@ GL_GNULIB_VSNPRINTF = @GL_GNULIB_VSNPRINTF@ GL_GNULIB_VSNZPRINTF = @GL_GNULIB_VSNZPRINTF@ GL_GNULIB_VSPRINTF_POSIX = @GL_GNULIB_VSPRINTF_POSIX@ GL_GNULIB_VSZPRINTF = @GL_GNULIB_VSZPRINTF@ GL_GNULIB_VZPRINTF = @GL_GNULIB_VZPRINTF@ GL_GNULIB_WAITPID = @GL_GNULIB_WAITPID@ GL_GNULIB_WCPCPY = @GL_GNULIB_WCPCPY@ GL_GNULIB_WCPNCPY = @GL_GNULIB_WCPNCPY@ GL_GNULIB_WCRTOMB = @GL_GNULIB_WCRTOMB@ GL_GNULIB_WCSCASECMP = @GL_GNULIB_WCSCASECMP@ GL_GNULIB_WCSCAT = @GL_GNULIB_WCSCAT@ GL_GNULIB_WCSCHR = @GL_GNULIB_WCSCHR@ GL_GNULIB_WCSCMP = @GL_GNULIB_WCSCMP@ GL_GNULIB_WCSCOLL = @GL_GNULIB_WCSCOLL@ GL_GNULIB_WCSCPY = @GL_GNULIB_WCSCPY@ GL_GNULIB_WCSCSPN = @GL_GNULIB_WCSCSPN@ GL_GNULIB_WCSDUP = @GL_GNULIB_WCSDUP@ GL_GNULIB_WCSFTIME = @GL_GNULIB_WCSFTIME@ GL_GNULIB_WCSLEN = @GL_GNULIB_WCSLEN@ GL_GNULIB_WCSNCASECMP = @GL_GNULIB_WCSNCASECMP@ GL_GNULIB_WCSNCAT = @GL_GNULIB_WCSNCAT@ GL_GNULIB_WCSNCMP = @GL_GNULIB_WCSNCMP@ GL_GNULIB_WCSNCPY = @GL_GNULIB_WCSNCPY@ GL_GNULIB_WCSNLEN = @GL_GNULIB_WCSNLEN@ GL_GNULIB_WCSNRTOMBS = @GL_GNULIB_WCSNRTOMBS@ GL_GNULIB_WCSPBRK = @GL_GNULIB_WCSPBRK@ GL_GNULIB_WCSRCHR = @GL_GNULIB_WCSRCHR@ GL_GNULIB_WCSRTOMBS = @GL_GNULIB_WCSRTOMBS@ GL_GNULIB_WCSSPN = @GL_GNULIB_WCSSPN@ GL_GNULIB_WCSSTR = @GL_GNULIB_WCSSTR@ GL_GNULIB_WCSTOK = @GL_GNULIB_WCSTOK@ GL_GNULIB_WCSWIDTH = @GL_GNULIB_WCSWIDTH@ GL_GNULIB_WCSXFRM = @GL_GNULIB_WCSXFRM@ GL_GNULIB_WCTOB = @GL_GNULIB_WCTOB@ GL_GNULIB_WCTOMB = @GL_GNULIB_WCTOMB@ GL_GNULIB_WCTRANS = @GL_GNULIB_WCTRANS@ GL_GNULIB_WCTYPE = @GL_GNULIB_WCTYPE@ GL_GNULIB_WCWIDTH = @GL_GNULIB_WCWIDTH@ GL_GNULIB_WGETCWD = @GL_GNULIB_WGETCWD@ GL_GNULIB_WMEMCHR = @GL_GNULIB_WMEMCHR@ GL_GNULIB_WMEMCMP = @GL_GNULIB_WMEMCMP@ GL_GNULIB_WMEMCPY = @GL_GNULIB_WMEMCPY@ GL_GNULIB_WMEMMOVE = @GL_GNULIB_WMEMMOVE@ GL_GNULIB_WMEMPCPY = @GL_GNULIB_WMEMPCPY@ GL_GNULIB_WMEMSET = @GL_GNULIB_WMEMSET@ GL_GNULIB_WRITE = @GL_GNULIB_WRITE@ GL_GNULIB_ZPRINTF = @GL_GNULIB_ZPRINTF@ GL_GNULIB__EXIT = @GL_GNULIB__EXIT@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GNULIBHEADERS_OVERRIDE_CHAR16_T = @GNULIBHEADERS_OVERRIDE_CHAR16_T@ GNULIBHEADERS_OVERRIDE_CHAR32_T = @GNULIBHEADERS_OVERRIDE_CHAR32_T@ GNULIBHEADERS_OVERRIDE_CHAR8_T = @GNULIBHEADERS_OVERRIDE_CHAR8_T@ GNULIBHEADERS_OVERRIDE_WINT_T = @GNULIBHEADERS_OVERRIDE_WINT_T@ GNULIB_LOCALEDIR = @GNULIB_LOCALEDIR@ GNULIB_LOCALEDIR_c = @GNULIB_LOCALEDIR_c@ GNULIB_LOCALEDIR_c_make = @GNULIB_LOCALEDIR_c_make@ GREP = @GREP@ HARD_LOCALE_LIB = @HARD_LOCALE_LIB@ HAVE_ACCEPT4 = @HAVE_ACCEPT4@ HAVE_ACOSF = @HAVE_ACOSF@ HAVE_ACOSL = @HAVE_ACOSL@ HAVE_ALIGNED_ALLOC = @HAVE_ALIGNED_ALLOC@ HAVE_ALLOCA_H = @HAVE_ALLOCA_H@ HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@ HAVE_ASINF = @HAVE_ASINF@ HAVE_ASINL = @HAVE_ASINL@ HAVE_ATAN2F = @HAVE_ATAN2F@ HAVE_ATANF = @HAVE_ATANF@ HAVE_ATANL = @HAVE_ATANL@ HAVE_ATOLL = @HAVE_ATOLL@ HAVE_BLKCNT_T = @HAVE_BLKCNT_T@ HAVE_BLKSIZE_T = @HAVE_BLKSIZE_T@ HAVE_BTOWC = @HAVE_BTOWC@ HAVE_C32RTOMB = @HAVE_C32RTOMB@ HAVE_C99_STDINT_H = @HAVE_C99_STDINT_H@ HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ HAVE_CBRT = @HAVE_CBRT@ HAVE_CBRTF = @HAVE_CBRTF@ HAVE_CBRTL = @HAVE_CBRTL@ HAVE_CHOWN = @HAVE_CHOWN@ HAVE_COPYSIGN = @HAVE_COPYSIGN@ HAVE_COPYSIGNL = @HAVE_COPYSIGNL@ HAVE_COPY_FILE_RANGE = @HAVE_COPY_FILE_RANGE@ HAVE_COSF = @HAVE_COSF@ HAVE_COSHF = @HAVE_COSHF@ HAVE_COSL = @HAVE_COSL@ HAVE_CRTDEFS_H = @HAVE_CRTDEFS_H@ HAVE_DECL_ACOSL = @HAVE_DECL_ACOSL@ HAVE_DECL_ASINL = @HAVE_DECL_ASINL@ HAVE_DECL_ATANL = @HAVE_DECL_ATANL@ HAVE_DECL_CBRTF = @HAVE_DECL_CBRTF@ HAVE_DECL_CBRTL = @HAVE_DECL_CBRTL@ HAVE_DECL_CEILF = @HAVE_DECL_CEILF@ HAVE_DECL_CEILL = @HAVE_DECL_CEILL@ HAVE_DECL_COPYSIGNF = @HAVE_DECL_COPYSIGNF@ HAVE_DECL_COSL = @HAVE_DECL_COSL@ HAVE_DECL_ECVT = @HAVE_DECL_ECVT@ HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ HAVE_DECL_EXECVPE = @HAVE_DECL_EXECVPE@ HAVE_DECL_EXP2 = @HAVE_DECL_EXP2@ HAVE_DECL_EXP2F = @HAVE_DECL_EXP2F@ HAVE_DECL_EXP2L = @HAVE_DECL_EXP2L@ HAVE_DECL_EXPL = @HAVE_DECL_EXPL@ HAVE_DECL_EXPM1L = @HAVE_DECL_EXPM1L@ HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ HAVE_DECL_FCLOSEALL = @HAVE_DECL_FCLOSEALL@ HAVE_DECL_FCVT = @HAVE_DECL_FCVT@ HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ HAVE_DECL_FLOORF = @HAVE_DECL_FLOORF@ HAVE_DECL_FLOORL = @HAVE_DECL_FLOORL@ HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ HAVE_DECL_FREXPL = @HAVE_DECL_FREXPL@ HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ HAVE_DECL_GCVT = @HAVE_DECL_GCVT@ HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ HAVE_DECL_GETLOGIN = @HAVE_DECL_GETLOGIN@ HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ HAVE_DECL_GETW = @HAVE_DECL_GETW@ HAVE_DECL_HTONL = @HAVE_DECL_HTONL@ HAVE_DECL_HTONS = @HAVE_DECL_HTONS@ HAVE_DECL_IMAXABS = @HAVE_DECL_IMAXABS@ HAVE_DECL_IMAXDIV = @HAVE_DECL_IMAXDIV@ HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@ HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@ HAVE_DECL_INITSTATE = @HAVE_DECL_INITSTATE@ HAVE_DECL_LDEXPL = @HAVE_DECL_LDEXPL@ HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ HAVE_DECL_LOG10L = @HAVE_DECL_LOG10L@ HAVE_DECL_LOG2 = @HAVE_DECL_LOG2@ HAVE_DECL_LOG2F = @HAVE_DECL_LOG2F@ HAVE_DECL_LOG2L = @HAVE_DECL_LOG2L@ HAVE_DECL_LOGB = @HAVE_DECL_LOGB@ HAVE_DECL_LOGL = @HAVE_DECL_LOGL@ HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ HAVE_DECL_NTOHL = @HAVE_DECL_NTOHL@ HAVE_DECL_NTOHS = @HAVE_DECL_NTOHS@ HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ HAVE_DECL_PROGRAM_INVOCATION_NAME = @HAVE_DECL_PROGRAM_INVOCATION_NAME@ HAVE_DECL_PUTW = @HAVE_DECL_PUTW@ HAVE_DECL_REMAINDER = @HAVE_DECL_REMAINDER@ HAVE_DECL_REMAINDERL = @HAVE_DECL_REMAINDERL@ HAVE_DECL_RINTF = @HAVE_DECL_RINTF@ HAVE_DECL_ROUND = @HAVE_DECL_ROUND@ HAVE_DECL_ROUNDF = @HAVE_DECL_ROUNDF@ HAVE_DECL_ROUNDL = @HAVE_DECL_ROUNDL@ HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ HAVE_DECL_SETSTATE = @HAVE_DECL_SETSTATE@ HAVE_DECL_SINL = @HAVE_DECL_SINL@ HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ HAVE_DECL_SQRTL = @HAVE_DECL_SQRTL@ HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ HAVE_DECL_STRTOIMAX = @HAVE_DECL_STRTOIMAX@ HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ HAVE_DECL_STRTOUMAX = @HAVE_DECL_STRTOUMAX@ HAVE_DECL_TANL = @HAVE_DECL_TANL@ HAVE_DECL_TRUNC = @HAVE_DECL_TRUNC@ HAVE_DECL_TRUNCATE = @HAVE_DECL_TRUNCATE@ HAVE_DECL_TRUNCF = @HAVE_DECL_TRUNCF@ HAVE_DECL_TRUNCL = @HAVE_DECL_TRUNCL@ HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ HAVE_DECL_WCSDUP = @HAVE_DECL_WCSDUP@ HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ HAVE_DPRINTF = @HAVE_DPRINTF@ HAVE_DUP3 = @HAVE_DUP3@ HAVE_DUPLOCALE = @HAVE_DUPLOCALE@ HAVE_ERROR = @HAVE_ERROR@ HAVE_ERROR_AT_LINE = @HAVE_ERROR_AT_LINE@ HAVE_ERROR_H = @HAVE_ERROR_H@ HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ HAVE_EXECVPE = @HAVE_EXECVPE@ HAVE_EXPF = @HAVE_EXPF@ HAVE_EXPL = @HAVE_EXPL@ HAVE_EXPLICIT_BZERO = @HAVE_EXPLICIT_BZERO@ HAVE_EXPM1 = @HAVE_EXPM1@ HAVE_EXPM1F = @HAVE_EXPM1F@ HAVE_FABSF = @HAVE_FABSF@ HAVE_FABSL = @HAVE_FABSL@ HAVE_FACCESSAT = @HAVE_FACCESSAT@ HAVE_FCHDIR = @HAVE_FCHDIR@ HAVE_FCHMODAT = @HAVE_FCHMODAT@ HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ HAVE_FCNTL = @HAVE_FCNTL@ HAVE_FDATASYNC = @HAVE_FDATASYNC@ HAVE_FEATURES_H = @HAVE_FEATURES_H@ HAVE_FFS = @HAVE_FFS@ HAVE_FFSL = @HAVE_FFSL@ HAVE_FFSLL = @HAVE_FFSLL@ HAVE_FMA = @HAVE_FMA@ HAVE_FMAF = @HAVE_FMAF@ HAVE_FMAL = @HAVE_FMAL@ HAVE_FMODF = @HAVE_FMODF@ HAVE_FMODL = @HAVE_FMODL@ HAVE_FREELOCALE = @HAVE_FREELOCALE@ HAVE_FREXPF = @HAVE_FREXPF@ HAVE_FSEEKO = @HAVE_FSEEKO@ HAVE_FSTATAT = @HAVE_FSTATAT@ HAVE_FSYNC = @HAVE_FSYNC@ HAVE_FTELLO = @HAVE_FTELLO@ HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ HAVE_FUTIMENS = @HAVE_FUTIMENS@ HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ HAVE_GETENTROPY = @HAVE_GETENTROPY@ HAVE_GETGROUPS = @HAVE_GETGROUPS@ HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ HAVE_GETLOCALENAME_L = @HAVE_GETLOCALENAME_L@ HAVE_GETLOGIN = @HAVE_GETLOGIN@ HAVE_GETOPT_H = @HAVE_GETOPT_H@ HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ HAVE_GETPASS = @HAVE_GETPASS@ HAVE_GETPAYLOAD = @HAVE_GETPAYLOAD@ HAVE_GETPAYLOADF = @HAVE_GETPAYLOADF@ HAVE_GETPAYLOADL = @HAVE_GETPAYLOADL@ HAVE_GETPROGNAME = @HAVE_GETPROGNAME@ HAVE_GETRANDOM = @HAVE_GETRANDOM@ HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ HAVE_GETUMASK = @HAVE_GETUMASK@ HAVE_GRANTPT = @HAVE_GRANTPT@ HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ HAVE_HYPOTF = @HAVE_HYPOTF@ HAVE_HYPOTL = @HAVE_HYPOTL@ HAVE_ILOGB = @HAVE_ILOGB@ HAVE_ILOGBF = @HAVE_ILOGBF@ HAVE_ILOGBL = @HAVE_ILOGBL@ HAVE_IMAXABS = @HAVE_IMAXABS@ HAVE_IMAXDIV = @HAVE_IMAXDIV@ HAVE_IMAXDIV_T = @HAVE_IMAXDIV_T@ HAVE_INITSTATE = @HAVE_INITSTATE@ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ HAVE_ISALNUM_L = @HAVE_ISALNUM_L@ HAVE_ISALPHA_L = @HAVE_ISALPHA_L@ HAVE_ISBLANK = @HAVE_ISBLANK@ HAVE_ISBLANK_L = @HAVE_ISBLANK_L@ HAVE_ISCNTRL_L = @HAVE_ISCNTRL_L@ HAVE_ISDIGIT_L = @HAVE_ISDIGIT_L@ HAVE_ISGRAPH_L = @HAVE_ISGRAPH_L@ HAVE_ISLOWER_L = @HAVE_ISLOWER_L@ HAVE_ISNAND = @HAVE_ISNAND@ HAVE_ISNANF = @HAVE_ISNANF@ HAVE_ISNANL = @HAVE_ISNANL@ HAVE_ISPRINT_L = @HAVE_ISPRINT_L@ HAVE_ISPUNCT_L = @HAVE_ISPUNCT_L@ HAVE_ISSPACE_L = @HAVE_ISSPACE_L@ HAVE_ISUPPER_L = @HAVE_ISUPPER_L@ HAVE_ISWBLANK = @HAVE_ISWBLANK@ HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ HAVE_ISXDIGIT_L = @HAVE_ISXDIGIT_L@ HAVE_LCHMOD = @HAVE_LCHMOD@ HAVE_LCHOWN = @HAVE_LCHOWN@ HAVE_LDEXPF = @HAVE_LDEXPF@ HAVE_LINK = @HAVE_LINK@ HAVE_LINKAT = @HAVE_LINKAT@ HAVE_LOCALE_T = @HAVE_LOCALE_T@ HAVE_LOG10F = @HAVE_LOG10F@ HAVE_LOG10L = @HAVE_LOG10L@ HAVE_LOG1P = @HAVE_LOG1P@ HAVE_LOG1PF = @HAVE_LOG1PF@ HAVE_LOG1PL = @HAVE_LOG1PL@ HAVE_LOGBF = @HAVE_LOGBF@ HAVE_LOGBL = @HAVE_LOGBL@ HAVE_LOGF = @HAVE_LOGF@ HAVE_LOGL = @HAVE_LOGL@ HAVE_LOGP1 = @HAVE_LOGP1@ HAVE_LOGP1F = @HAVE_LOGP1F@ HAVE_LOGP1L = @HAVE_LOGP1L@ HAVE_LSTAT = @HAVE_LSTAT@ HAVE_MAX_ALIGN_T = @HAVE_MAX_ALIGN_T@ HAVE_MBRLEN = @HAVE_MBRLEN@ HAVE_MBRTOC16 = @HAVE_MBRTOC16@ HAVE_MBRTOC32 = @HAVE_MBRTOC32@ HAVE_MBRTOWC = @HAVE_MBRTOWC@ HAVE_MBSINIT = @HAVE_MBSINIT@ HAVE_MBSLEN = @HAVE_MBSLEN@ HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ HAVE_MBTOWC = @HAVE_MBTOWC@ HAVE_MEMPCPY = @HAVE_MEMPCPY@ HAVE_MEMSET_EXPLICIT = @HAVE_MEMSET_EXPLICIT@ HAVE_MKDIRAT = @HAVE_MKDIRAT@ HAVE_MKDTEMP = @HAVE_MKDTEMP@ HAVE_MKFIFO = @HAVE_MKFIFO@ HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ HAVE_MKNOD = @HAVE_MKNOD@ HAVE_MKNODAT = @HAVE_MKNODAT@ HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ HAVE_MKSTEMP = @HAVE_MKSTEMP@ HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ HAVE_MODFF = @HAVE_MODFF@ HAVE_MODFL = @HAVE_MODFL@ HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@ HAVE_NEWLOCALE = @HAVE_NEWLOCALE@ HAVE_OFF64_T = @HAVE_OFF64_T@ HAVE_OPENAT = @HAVE_OPENAT@ HAVE_OS_H = @HAVE_OS_H@ HAVE_PCLOSE = @HAVE_PCLOSE@ HAVE_PIPE = @HAVE_PIPE@ HAVE_PIPE2 = @HAVE_PIPE2@ HAVE_POPEN = @HAVE_POPEN@ HAVE_POSIX_MEMALIGN = @HAVE_POSIX_MEMALIGN@ HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ HAVE_POWF = @HAVE_POWF@ HAVE_PREAD = @HAVE_PREAD@ HAVE_PTHREAD_ATTR_DESTROY = @HAVE_PTHREAD_ATTR_DESTROY@ HAVE_PTHREAD_ATTR_GETDETACHSTATE = @HAVE_PTHREAD_ATTR_GETDETACHSTATE@ HAVE_PTHREAD_ATTR_INIT = @HAVE_PTHREAD_ATTR_INIT@ HAVE_PTHREAD_ATTR_SETDETACHSTATE = @HAVE_PTHREAD_ATTR_SETDETACHSTATE@ HAVE_PTHREAD_CONDATTR_DESTROY = @HAVE_PTHREAD_CONDATTR_DESTROY@ HAVE_PTHREAD_CONDATTR_INIT = @HAVE_PTHREAD_CONDATTR_INIT@ HAVE_PTHREAD_COND_BROADCAST = @HAVE_PTHREAD_COND_BROADCAST@ HAVE_PTHREAD_COND_DESTROY = @HAVE_PTHREAD_COND_DESTROY@ HAVE_PTHREAD_COND_INIT = @HAVE_PTHREAD_COND_INIT@ HAVE_PTHREAD_COND_SIGNAL = @HAVE_PTHREAD_COND_SIGNAL@ HAVE_PTHREAD_COND_TIMEDWAIT = @HAVE_PTHREAD_COND_TIMEDWAIT@ HAVE_PTHREAD_COND_WAIT = @HAVE_PTHREAD_COND_WAIT@ HAVE_PTHREAD_CREATE = @HAVE_PTHREAD_CREATE@ HAVE_PTHREAD_CREATE_DETACHED = @HAVE_PTHREAD_CREATE_DETACHED@ HAVE_PTHREAD_DETACH = @HAVE_PTHREAD_DETACH@ HAVE_PTHREAD_EQUAL = @HAVE_PTHREAD_EQUAL@ HAVE_PTHREAD_EXIT = @HAVE_PTHREAD_EXIT@ HAVE_PTHREAD_GETSPECIFIC = @HAVE_PTHREAD_GETSPECIFIC@ HAVE_PTHREAD_H = @HAVE_PTHREAD_H@ HAVE_PTHREAD_JOIN = @HAVE_PTHREAD_JOIN@ HAVE_PTHREAD_KEY_CREATE = @HAVE_PTHREAD_KEY_CREATE@ HAVE_PTHREAD_KEY_DELETE = @HAVE_PTHREAD_KEY_DELETE@ HAVE_PTHREAD_MUTEXATTR_DESTROY = @HAVE_PTHREAD_MUTEXATTR_DESTROY@ HAVE_PTHREAD_MUTEXATTR_GETROBUST = @HAVE_PTHREAD_MUTEXATTR_GETROBUST@ HAVE_PTHREAD_MUTEXATTR_GETTYPE = @HAVE_PTHREAD_MUTEXATTR_GETTYPE@ HAVE_PTHREAD_MUTEXATTR_INIT = @HAVE_PTHREAD_MUTEXATTR_INIT@ HAVE_PTHREAD_MUTEXATTR_SETROBUST = @HAVE_PTHREAD_MUTEXATTR_SETROBUST@ HAVE_PTHREAD_MUTEXATTR_SETTYPE = @HAVE_PTHREAD_MUTEXATTR_SETTYPE@ HAVE_PTHREAD_MUTEX_DESTROY = @HAVE_PTHREAD_MUTEX_DESTROY@ HAVE_PTHREAD_MUTEX_INIT = @HAVE_PTHREAD_MUTEX_INIT@ HAVE_PTHREAD_MUTEX_LOCK = @HAVE_PTHREAD_MUTEX_LOCK@ HAVE_PTHREAD_MUTEX_RECURSIVE = @HAVE_PTHREAD_MUTEX_RECURSIVE@ HAVE_PTHREAD_MUTEX_ROBUST = @HAVE_PTHREAD_MUTEX_ROBUST@ HAVE_PTHREAD_MUTEX_TIMEDLOCK = @HAVE_PTHREAD_MUTEX_TIMEDLOCK@ HAVE_PTHREAD_MUTEX_TRYLOCK = @HAVE_PTHREAD_MUTEX_TRYLOCK@ HAVE_PTHREAD_MUTEX_UNLOCK = @HAVE_PTHREAD_MUTEX_UNLOCK@ HAVE_PTHREAD_ONCE = @HAVE_PTHREAD_ONCE@ HAVE_PTHREAD_PROCESS_SHARED = @HAVE_PTHREAD_PROCESS_SHARED@ HAVE_PTHREAD_RWLOCKATTR_DESTROY = @HAVE_PTHREAD_RWLOCKATTR_DESTROY@ HAVE_PTHREAD_RWLOCKATTR_INIT = @HAVE_PTHREAD_RWLOCKATTR_INIT@ HAVE_PTHREAD_RWLOCK_DESTROY = @HAVE_PTHREAD_RWLOCK_DESTROY@ HAVE_PTHREAD_RWLOCK_INIT = @HAVE_PTHREAD_RWLOCK_INIT@ HAVE_PTHREAD_RWLOCK_RDLOCK = @HAVE_PTHREAD_RWLOCK_RDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK = @HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ HAVE_PTHREAD_RWLOCK_TRYRDLOCK = @HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ HAVE_PTHREAD_RWLOCK_TRYWRLOCK = @HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ HAVE_PTHREAD_RWLOCK_UNLOCK = @HAVE_PTHREAD_RWLOCK_UNLOCK@ HAVE_PTHREAD_RWLOCK_WRLOCK = @HAVE_PTHREAD_RWLOCK_WRLOCK@ HAVE_PTHREAD_SELF = @HAVE_PTHREAD_SELF@ HAVE_PTHREAD_SETSPECIFIC = @HAVE_PTHREAD_SETSPECIFIC@ HAVE_PTHREAD_SPINLOCK_T = @HAVE_PTHREAD_SPINLOCK_T@ HAVE_PTHREAD_SPIN_DESTROY = @HAVE_PTHREAD_SPIN_DESTROY@ HAVE_PTHREAD_SPIN_INIT = @HAVE_PTHREAD_SPIN_INIT@ HAVE_PTHREAD_SPIN_LOCK = @HAVE_PTHREAD_SPIN_LOCK@ HAVE_PTHREAD_SPIN_TRYLOCK = @HAVE_PTHREAD_SPIN_TRYLOCK@ HAVE_PTHREAD_SPIN_UNLOCK = @HAVE_PTHREAD_SPIN_UNLOCK@ HAVE_PTHREAD_T = @HAVE_PTHREAD_T@ HAVE_PTSNAME = @HAVE_PTSNAME@ HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ HAVE_PWRITE = @HAVE_PWRITE@ HAVE_QSORT_R = @HAVE_QSORT_R@ HAVE_RANDOM = @HAVE_RANDOM@ HAVE_RANDOM_H = @HAVE_RANDOM_H@ HAVE_RANDOM_R = @HAVE_RANDOM_R@ HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ HAVE_READLINK = @HAVE_READLINK@ HAVE_READLINKAT = @HAVE_READLINKAT@ HAVE_REALLOCARRAY = @HAVE_REALLOCARRAY@ HAVE_REALPATH = @HAVE_REALPATH@ HAVE_REMAINDER = @HAVE_REMAINDER@ HAVE_REMAINDERF = @HAVE_REMAINDERF@ HAVE_RENAMEAT = @HAVE_RENAMEAT@ HAVE_RINT = @HAVE_RINT@ HAVE_RINTL = @HAVE_RINTL@ HAVE_RPMATCH = @HAVE_RPMATCH@ HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = @HAVE_SAME_LONG_DOUBLE_AS_DOUBLE@ HAVE_SA_FAMILY_T = @HAVE_SA_FAMILY_T@ HAVE_SCHED_H = @HAVE_SCHED_H@ HAVE_SCHED_YIELD = @HAVE_SCHED_YIELD@ HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ HAVE_SETENV = @HAVE_SETENV@ HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ HAVE_SETPAYLOAD = @HAVE_SETPAYLOAD@ HAVE_SETPAYLOADF = @HAVE_SETPAYLOADF@ HAVE_SETPAYLOADL = @HAVE_SETPAYLOADL@ HAVE_SETPAYLOADSIG = @HAVE_SETPAYLOADSIG@ HAVE_SETPAYLOADSIGF = @HAVE_SETPAYLOADSIGF@ HAVE_SETPAYLOADSIGL = @HAVE_SETPAYLOADSIGL@ HAVE_SETSTATE = @HAVE_SETSTATE@ HAVE_SIGABBREV_NP = @HAVE_SIGABBREV_NP@ HAVE_SIGDESCR_NP = @HAVE_SIGDESCR_NP@ HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ HAVE_SINF = @HAVE_SINF@ HAVE_SINHF = @HAVE_SINHF@ HAVE_SINL = @HAVE_SINL@ HAVE_SLEEP = @HAVE_SLEEP@ HAVE_SQRTF = @HAVE_SQRTF@ HAVE_SQRTL = @HAVE_SQRTL@ HAVE_STDINT_H = @HAVE_STDINT_H@ HAVE_STPCPY = @HAVE_STPCPY@ HAVE_STPNCPY = @HAVE_STPNCPY@ HAVE_STRCASECMP = @HAVE_STRCASECMP@ HAVE_STRCASECMP_L = @HAVE_STRCASECMP_L@ HAVE_STRCASESTR = @HAVE_STRCASESTR@ HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ HAVE_STRERRORNAME_NP = @HAVE_STRERRORNAME_NP@ HAVE_STRERROR_L = @HAVE_STRERROR_L@ HAVE_STRINGS_H = @HAVE_STRINGS_H@ HAVE_STRNCASECMP = @HAVE_STRNCASECMP@ HAVE_STRNCASECMP_L = @HAVE_STRNCASECMP_L@ HAVE_STRPBRK = @HAVE_STRPBRK@ HAVE_STRPTIME = @HAVE_STRPTIME@ HAVE_STRSEP = @HAVE_STRSEP@ HAVE_STRTOD = @HAVE_STRTOD@ HAVE_STRTOF = @HAVE_STRTOF@ HAVE_STRTOL = @HAVE_STRTOL@ HAVE_STRTOLD = @HAVE_STRTOLD@ HAVE_STRTOLL = @HAVE_STRTOLL@ HAVE_STRTOUL = @HAVE_STRTOUL@ HAVE_STRTOULL = @HAVE_STRTOULL@ HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ HAVE_STRUCT_SCHED_PARAM = @HAVE_STRUCT_SCHED_PARAM@ HAVE_STRUCT_SOCKADDR_STORAGE = @HAVE_STRUCT_SOCKADDR_STORAGE@ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = @HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ HAVE_SYMLINK = @HAVE_SYMLINK@ HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ HAVE_SYS_CDEFS_H = @HAVE_SYS_CDEFS_H@ HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ HAVE_SYS_RANDOM_H = @HAVE_SYS_RANDOM_H@ HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@ HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ HAVE_SYS_UIO_H = @HAVE_SYS_UIO_H@ HAVE_TANF = @HAVE_TANF@ HAVE_TANHF = @HAVE_TANHF@ HAVE_TANL = @HAVE_TANL@ HAVE_TIMEGM = @HAVE_TIMEGM@ HAVE_TIMESPEC_GET = @HAVE_TIMESPEC_GET@ HAVE_TIMESPEC_GETRES = @HAVE_TIMESPEC_GETRES@ HAVE_TIMEZONE_T = @HAVE_TIMEZONE_T@ HAVE_TOLOWER_L = @HAVE_TOLOWER_L@ HAVE_TOTALORDER = @HAVE_TOTALORDER@ HAVE_TOTALORDERF = @HAVE_TOTALORDERF@ HAVE_TOTALORDERL = @HAVE_TOTALORDERL@ HAVE_TOTALORDERMAG = @HAVE_TOTALORDERMAG@ HAVE_TOTALORDERMAGF = @HAVE_TOTALORDERMAGF@ HAVE_TOTALORDERMAGL = @HAVE_TOTALORDERMAGL@ HAVE_TOUPPER_L = @HAVE_TOUPPER_L@ HAVE_TZALLOC = @HAVE_TZALLOC@ HAVE_UCHAR_H = @HAVE_UCHAR_H@ HAVE_UNISTD_H = @HAVE_UNISTD_H@ HAVE_UNISTRING_WOE32DLL_H = @HAVE_UNISTRING_WOE32DLL_H@ HAVE_UNLINKAT = @HAVE_UNLINKAT@ HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ HAVE_USLEEP = @HAVE_USLEEP@ HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ HAVE_VASPRINTF = @HAVE_VASPRINTF@ HAVE_VDPRINTF = @HAVE_VDPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WCHAR_H = @HAVE_WCHAR_H@ HAVE_WCPCPY = @HAVE_WCPCPY@ HAVE_WCPNCPY = @HAVE_WCPNCPY@ HAVE_WCRTOMB = @HAVE_WCRTOMB@ HAVE_WCSCASECMP = @HAVE_WCSCASECMP@ HAVE_WCSCAT = @HAVE_WCSCAT@ HAVE_WCSCHR = @HAVE_WCSCHR@ HAVE_WCSCMP = @HAVE_WCSCMP@ HAVE_WCSCOLL = @HAVE_WCSCOLL@ HAVE_WCSCPY = @HAVE_WCSCPY@ HAVE_WCSCSPN = @HAVE_WCSCSPN@ HAVE_WCSDUP = @HAVE_WCSDUP@ HAVE_WCSFTIME = @HAVE_WCSFTIME@ HAVE_WCSLEN = @HAVE_WCSLEN@ HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@ HAVE_WCSNCAT = @HAVE_WCSNCAT@ HAVE_WCSNCMP = @HAVE_WCSNCMP@ HAVE_WCSNCPY = @HAVE_WCSNCPY@ HAVE_WCSNLEN = @HAVE_WCSNLEN@ HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ HAVE_WCSPBRK = @HAVE_WCSPBRK@ HAVE_WCSRCHR = @HAVE_WCSRCHR@ HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ HAVE_WCSSPN = @HAVE_WCSSPN@ HAVE_WCSSTR = @HAVE_WCSSTR@ HAVE_WCSTOK = @HAVE_WCSTOK@ HAVE_WCSWIDTH = @HAVE_WCSWIDTH@ HAVE_WCSXFRM = @HAVE_WCSXFRM@ HAVE_WCTRANS_T = @HAVE_WCTRANS_T@ HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ HAVE_WCTYPE_T = @HAVE_WCTYPE_T@ HAVE_WINDOWS_LOCALE_T = @HAVE_WINDOWS_LOCALE_T@ HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ HAVE_WINT_T = @HAVE_WINT_T@ HAVE_WMEMCHR = @HAVE_WMEMCHR@ HAVE_WMEMCMP = @HAVE_WMEMCMP@ HAVE_WMEMCPY = @HAVE_WMEMCPY@ HAVE_WMEMMOVE = @HAVE_WMEMMOVE@ HAVE_WMEMPCPY = @HAVE_WMEMPCPY@ HAVE_WMEMSET = @HAVE_WMEMSET@ HAVE_WORKING_C32RTOMB = @HAVE_WORKING_C32RTOMB@ HAVE_WORKING_MBRTOC32 = @HAVE_WORKING_MBRTOC32@ HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@ HAVE_XLOCALE_H = @HAVE_XLOCALE_H@ HAVE__EXIT = @HAVE__EXIT@ ICONV_CONST = @ICONV_CONST@ ICONV_H = @ICONV_H@ INCLUDE_NEXT = @INCLUDE_NEXT@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ INET_PTON_LIB = @INET_PTON_LIB@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INT32_MAX_LT_INTMAX_MAX = @INT32_MAX_LT_INTMAX_MAX@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ ISFINITE_LIBM = @ISFINITE_LIBM@ ISINF_LIBM = @ISINF_LIBM@ ISNAND_LIBM = @ISNAND_LIBM@ ISNANL_LIBM = @ISNANL_LIBM@ LDEXPL_LIBM = @LDEXPL_LIBM@ LDEXP_LIBM = @LDEXP_LIBM@ LDFLAGS = @LDFLAGS@ LIBDATAMASH_LIBDEPS = @LIBDATAMASH_LIBDEPS@ LIBDATAMASH_LTLIBDEPS = @LIBDATAMASH_LTLIBDEPS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPMULTITHREAD = @LIBPMULTITHREAD@ LIBPTHREAD = @LIBPTHREAD@ LIBS = @LIBS@ LIBSTDTHREAD = @LIBSTDTHREAD@ LIBTHREAD = @LIBTHREAD@ LIBUNISTRING_UNICASE_H = @LIBUNISTRING_UNICASE_H@ LIBUNISTRING_UNICTYPE_H = @LIBUNISTRING_UNICTYPE_H@ LIBUNISTRING_UNINORM_H = @LIBUNISTRING_UNINORM_H@ LIBUNISTRING_UNISTR_H = @LIBUNISTRING_UNISTR_H@ LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ LIBUNISTRING_UNIWIDTH_H = @LIBUNISTRING_UNIWIDTH_H@ LIB_CRYPTO = @LIB_CRYPTO@ LIB_GETRANDOM = @LIB_GETRANDOM@ LIB_HARD_LOCALE = @LIB_HARD_LOCALE@ LIB_MBRTOWC = @LIB_MBRTOWC@ LIB_PTHREAD = @LIB_PTHREAD@ LIB_SCHED_YIELD = @LIB_SCHED_YIELD@ LIB_SETLOCALE = @LIB_SETLOCALE@ LIB_SETLOCALE_NULL = @LIB_SETLOCALE_NULL@ LIMITS_H = @LIMITS_H@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ LOCALENAME_ENHANCE_LOCALE_FUNCS = @LOCALENAME_ENHANCE_LOCALE_FUNCS@ LOCALE_EN_UTF8 = @LOCALE_EN_UTF8@ LOCALE_FR = @LOCALE_FR@ LOCALE_JA = @LOCALE_JA@ LOCALE_ZH_CN = @LOCALE_ZH_CN@ LOGL_LIBM = @LOGL_LIBM@ LOG_LIBM = @LOG_LIBM@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBTHREAD = @LTLIBTHREAD@ MAKEINFO = @MAKEINFO@ MBRTOWC_LIB = @MBRTOWC_LIB@ MKDIR_P = @MKDIR_P@ MODFL_LIBM = @MODFL_LIBM@ MODF_LIBM = @MODF_LIBM@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NETINET_IN_H = @NETINET_IN_H@ NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@ NEXT_ASSERT_H = @NEXT_ASSERT_H@ NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H = @NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H@ NEXT_AS_FIRST_DIRECTIVE_ASSERT_H = @NEXT_AS_FIRST_DIRECTIVE_ASSERT_H@ NEXT_AS_FIRST_DIRECTIVE_CTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_CTYPE_H@ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ NEXT_AS_FIRST_DIRECTIVE_ERROR_H = @NEXT_AS_FIRST_DIRECTIVE_ERROR_H@ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ NEXT_AS_FIRST_DIRECTIVE_ICONV_H = @NEXT_AS_FIRST_DIRECTIVE_ICONV_H@ NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H = @NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H@ NEXT_AS_FIRST_DIRECTIVE_LIMITS_H = @NEXT_AS_FIRST_DIRECTIVE_LIMITS_H@ NEXT_AS_FIRST_DIRECTIVE_LOCALE_H = @NEXT_AS_FIRST_DIRECTIVE_LOCALE_H@ NEXT_AS_FIRST_DIRECTIVE_MATH_H = @NEXT_AS_FIRST_DIRECTIVE_MATH_H@ NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H = @NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H@ NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H = @NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H@ NEXT_AS_FIRST_DIRECTIVE_SCHED_H = @NEXT_AS_FIRST_DIRECTIVE_SCHED_H@ NEXT_AS_FIRST_DIRECTIVE_STDARG_H = @NEXT_AS_FIRST_DIRECTIVE_STDARG_H@ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_RANDOM_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_RANDOM_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H@ NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H@ NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ NEXT_AS_FIRST_DIRECTIVE_UCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_UCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ NEXT_CTYPE_H = @NEXT_CTYPE_H@ NEXT_ERRNO_H = @NEXT_ERRNO_H@ NEXT_ERROR_H = @NEXT_ERROR_H@ NEXT_FCNTL_H = @NEXT_FCNTL_H@ NEXT_FLOAT_H = @NEXT_FLOAT_H@ NEXT_GETOPT_H = @NEXT_GETOPT_H@ NEXT_ICONV_H = @NEXT_ICONV_H@ NEXT_INTTYPES_H = @NEXT_INTTYPES_H@ NEXT_LIMITS_H = @NEXT_LIMITS_H@ NEXT_LOCALE_H = @NEXT_LOCALE_H@ NEXT_MATH_H = @NEXT_MATH_H@ NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@ NEXT_PTHREAD_H = @NEXT_PTHREAD_H@ NEXT_SCHED_H = @NEXT_SCHED_H@ NEXT_STDARG_H = @NEXT_STDARG_H@ NEXT_STDDEF_H = @NEXT_STDDEF_H@ NEXT_STDINT_H = @NEXT_STDINT_H@ NEXT_STDIO_H = @NEXT_STDIO_H@ NEXT_STDLIB_H = @NEXT_STDLIB_H@ NEXT_STRINGS_H = @NEXT_STRINGS_H@ NEXT_STRING_H = @NEXT_STRING_H@ NEXT_SYS_RANDOM_H = @NEXT_SYS_RANDOM_H@ NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@ NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ NEXT_SYS_UIO_H = @NEXT_SYS_UIO_H@ NEXT_SYS_WAIT_H = @NEXT_SYS_WAIT_H@ NEXT_TIME_H = @NEXT_TIME_H@ NEXT_UCHAR_H = @NEXT_UCHAR_H@ NEXT_UNISTD_H = @NEXT_UNISTD_H@ NEXT_WCHAR_H = @NEXT_WCHAR_H@ NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ NULLPTR_T_NEEDS_STDDEF = @NULLPTR_T_NEEDS_STDDEF@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PMCCABE = @PMCCABE@ POSUB = @POSUB@ POW_LIBM = @POW_LIBM@ PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ PRIPTR_PREFIX = @PRIPTR_PREFIX@ PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ RANLIB = @RANLIB@ REPLACE_ABORT = @REPLACE_ABORT@ REPLACE_ACCESS = @REPLACE_ACCESS@ REPLACE_ACOSF = @REPLACE_ACOSF@ REPLACE_ALIGNED_ALLOC = @REPLACE_ALIGNED_ALLOC@ REPLACE_ASINF = @REPLACE_ASINF@ REPLACE_ATAN2F = @REPLACE_ATAN2F@ REPLACE_ATANF = @REPLACE_ATANF@ REPLACE_BTOWC = @REPLACE_BTOWC@ REPLACE_C32RTOMB = @REPLACE_C32RTOMB@ REPLACE_CALLOC_FOR_CALLOC_GNU = @REPLACE_CALLOC_FOR_CALLOC_GNU@ REPLACE_CALLOC_FOR_CALLOC_POSIX = @REPLACE_CALLOC_FOR_CALLOC_POSIX@ REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ REPLACE_CBRTF = @REPLACE_CBRTF@ REPLACE_CBRTL = @REPLACE_CBRTL@ REPLACE_CEIL = @REPLACE_CEIL@ REPLACE_CEILF = @REPLACE_CEILF@ REPLACE_CEILL = @REPLACE_CEILL@ REPLACE_CHMOD = @REPLACE_CHMOD@ REPLACE_CHOWN = @REPLACE_CHOWN@ REPLACE_CLOSE = @REPLACE_CLOSE@ REPLACE_COPY_FILE_RANGE = @REPLACE_COPY_FILE_RANGE@ REPLACE_COSF = @REPLACE_COSF@ REPLACE_COSHF = @REPLACE_COSHF@ REPLACE_CREAT = @REPLACE_CREAT@ REPLACE_CTIME = @REPLACE_CTIME@ REPLACE_DPRINTF = @REPLACE_DPRINTF@ REPLACE_DUP = @REPLACE_DUP@ REPLACE_DUP2 = @REPLACE_DUP2@ REPLACE_DUP3 = @REPLACE_DUP3@ REPLACE_DUPLOCALE = @REPLACE_DUPLOCALE@ REPLACE_ERROR = @REPLACE_ERROR@ REPLACE_ERROR_AT_LINE = @REPLACE_ERROR_AT_LINE@ REPLACE_EXECL = @REPLACE_EXECL@ REPLACE_EXECLE = @REPLACE_EXECLE@ REPLACE_EXECLP = @REPLACE_EXECLP@ REPLACE_EXECV = @REPLACE_EXECV@ REPLACE_EXECVE = @REPLACE_EXECVE@ REPLACE_EXECVP = @REPLACE_EXECVP@ REPLACE_EXECVPE = @REPLACE_EXECVPE@ REPLACE_EXP2 = @REPLACE_EXP2@ REPLACE_EXP2L = @REPLACE_EXP2L@ REPLACE_EXPF = @REPLACE_EXPF@ REPLACE_EXPL = @REPLACE_EXPL@ REPLACE_EXPM1 = @REPLACE_EXPM1@ REPLACE_EXPM1F = @REPLACE_EXPM1F@ REPLACE_EXPM1L = @REPLACE_EXPM1L@ REPLACE_FABSL = @REPLACE_FABSL@ REPLACE_FACCESSAT = @REPLACE_FACCESSAT@ REPLACE_FCHDIR = @REPLACE_FCHDIR@ REPLACE_FCHMODAT = @REPLACE_FCHMODAT@ REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ REPLACE_FCLOSE = @REPLACE_FCLOSE@ REPLACE_FCNTL = @REPLACE_FCNTL@ REPLACE_FDATASYNC = @REPLACE_FDATASYNC@ REPLACE_FDOPEN = @REPLACE_FDOPEN@ REPLACE_FFLUSH = @REPLACE_FFLUSH@ REPLACE_FFSLL = @REPLACE_FFSLL@ REPLACE_FLOOR = @REPLACE_FLOOR@ REPLACE_FLOORF = @REPLACE_FLOORF@ REPLACE_FLOORL = @REPLACE_FLOORL@ REPLACE_FMA = @REPLACE_FMA@ REPLACE_FMAF = @REPLACE_FMAF@ REPLACE_FMAL = @REPLACE_FMAL@ REPLACE_FMOD = @REPLACE_FMOD@ REPLACE_FMODF = @REPLACE_FMODF@ REPLACE_FMODL = @REPLACE_FMODL@ REPLACE_FOPEN = @REPLACE_FOPEN@ REPLACE_FOPEN_FOR_FOPEN_GNU = @REPLACE_FOPEN_FOR_FOPEN_GNU@ REPLACE_FPRINTF = @REPLACE_FPRINTF@ REPLACE_FPURGE = @REPLACE_FPURGE@ REPLACE_FREE = @REPLACE_FREE@ REPLACE_FREELOCALE = @REPLACE_FREELOCALE@ REPLACE_FREOPEN = @REPLACE_FREOPEN@ REPLACE_FREXP = @REPLACE_FREXP@ REPLACE_FREXPF = @REPLACE_FREXPF@ REPLACE_FREXPL = @REPLACE_FREXPL@ REPLACE_FSEEK = @REPLACE_FSEEK@ REPLACE_FSEEKO = @REPLACE_FSEEKO@ REPLACE_FSTAT = @REPLACE_FSTAT@ REPLACE_FSTATAT = @REPLACE_FSTATAT@ REPLACE_FTELL = @REPLACE_FTELL@ REPLACE_FTELLO = @REPLACE_FTELLO@ REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ REPLACE_GETCWD = @REPLACE_GETCWD@ REPLACE_GETDELIM = @REPLACE_GETDELIM@ REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ REPLACE_GETDTABLESIZE = @REPLACE_GETDTABLESIZE@ REPLACE_GETENTROPY = @REPLACE_GETENTROPY@ REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ REPLACE_GETLINE = @REPLACE_GETLINE@ REPLACE_GETLOADAVG = @REPLACE_GETLOADAVG@ REPLACE_GETLOCALENAME_L = @REPLACE_GETLOCALENAME_L@ REPLACE_GETLOGIN = @REPLACE_GETLOGIN@ REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ REPLACE_GETPASS = @REPLACE_GETPASS@ REPLACE_GETPASS_FOR_GETPASS_GNU = @REPLACE_GETPASS_FOR_GETPASS_GNU@ REPLACE_GETPAYLOAD = @REPLACE_GETPAYLOAD@ REPLACE_GETPAYLOADF = @REPLACE_GETPAYLOADF@ REPLACE_GETPAYLOADL = @REPLACE_GETPAYLOADL@ REPLACE_GETPROGNAME = @REPLACE_GETPROGNAME@ REPLACE_GETRANDOM = @REPLACE_GETRANDOM@ REPLACE_GETSUBOPT = @REPLACE_GETSUBOPT@ REPLACE_GETUSERSHELL = @REPLACE_GETUSERSHELL@ REPLACE_GMTIME = @REPLACE_GMTIME@ REPLACE_HUGE_VAL = @REPLACE_HUGE_VAL@ REPLACE_HYPOT = @REPLACE_HYPOT@ REPLACE_HYPOTF = @REPLACE_HYPOTF@ REPLACE_HYPOTL = @REPLACE_HYPOTL@ REPLACE_ICONV = @REPLACE_ICONV@ REPLACE_ICONV_OPEN = @REPLACE_ICONV_OPEN@ REPLACE_ICONV_UTF = @REPLACE_ICONV_UTF@ REPLACE_ILOGB = @REPLACE_ILOGB@ REPLACE_ILOGBF = @REPLACE_ILOGBF@ REPLACE_ILOGBL = @REPLACE_ILOGBL@ REPLACE_IMAXABS = @REPLACE_IMAXABS@ REPLACE_IMAXDIV = @REPLACE_IMAXDIV@ REPLACE_INET_NTOP = @REPLACE_INET_NTOP@ REPLACE_INET_PTON = @REPLACE_INET_PTON@ REPLACE_INITSTATE = @REPLACE_INITSTATE@ REPLACE_ISATTY = @REPLACE_ISATTY@ REPLACE_ISFINITE = @REPLACE_ISFINITE@ REPLACE_ISINF = @REPLACE_ISINF@ REPLACE_ISNAN = @REPLACE_ISNAN@ REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ REPLACE_ISWDIGIT = @REPLACE_ISWDIGIT@ REPLACE_ISWPUNCT = @REPLACE_ISWPUNCT@ REPLACE_ISWXDIGIT = @REPLACE_ISWXDIGIT@ REPLACE_ITOLD = @REPLACE_ITOLD@ REPLACE_LCHOWN = @REPLACE_LCHOWN@ REPLACE_LDEXP = @REPLACE_LDEXP@ REPLACE_LDEXPL = @REPLACE_LDEXPL@ REPLACE_LINK = @REPLACE_LINK@ REPLACE_LINKAT = @REPLACE_LINKAT@ REPLACE_LOCALECONV = @REPLACE_LOCALECONV@ REPLACE_LOCALTIME = @REPLACE_LOCALTIME@ REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ REPLACE_LOCALTIME_RZ = @REPLACE_LOCALTIME_RZ@ REPLACE_LOG = @REPLACE_LOG@ REPLACE_LOG10 = @REPLACE_LOG10@ REPLACE_LOG10F = @REPLACE_LOG10F@ REPLACE_LOG10L = @REPLACE_LOG10L@ REPLACE_LOG1P = @REPLACE_LOG1P@ REPLACE_LOG1PF = @REPLACE_LOG1PF@ REPLACE_LOG1PL = @REPLACE_LOG1PL@ REPLACE_LOG2 = @REPLACE_LOG2@ REPLACE_LOG2F = @REPLACE_LOG2F@ REPLACE_LOG2L = @REPLACE_LOG2L@ REPLACE_LOGB = @REPLACE_LOGB@ REPLACE_LOGBF = @REPLACE_LOGBF@ REPLACE_LOGBL = @REPLACE_LOGBL@ REPLACE_LOGF = @REPLACE_LOGF@ REPLACE_LOGL = @REPLACE_LOGL@ REPLACE_LSEEK = @REPLACE_LSEEK@ REPLACE_LSTAT = @REPLACE_LSTAT@ REPLACE_MALLOC_FOR_MALLOC_GNU = @REPLACE_MALLOC_FOR_MALLOC_GNU@ REPLACE_MALLOC_FOR_MALLOC_POSIX = @REPLACE_MALLOC_FOR_MALLOC_POSIX@ REPLACE_MBRLEN = @REPLACE_MBRLEN@ REPLACE_MBRTOC16 = @REPLACE_MBRTOC16@ REPLACE_MBRTOC32 = @REPLACE_MBRTOC32@ REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ REPLACE_MBSINIT = @REPLACE_MBSINIT@ REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ REPLACE_MBSTOWCS = @REPLACE_MBSTOWCS@ REPLACE_MBTOWC = @REPLACE_MBTOWC@ REPLACE_MB_CUR_MAX = @REPLACE_MB_CUR_MAX@ REPLACE_MEMCHR = @REPLACE_MEMCHR@ REPLACE_MEMMEM = @REPLACE_MEMMEM@ REPLACE_MEMPCPY = @REPLACE_MEMPCPY@ REPLACE_MEMSET_EXPLICIT = @REPLACE_MEMSET_EXPLICIT@ REPLACE_MKDIR = @REPLACE_MKDIR@ REPLACE_MKFIFO = @REPLACE_MKFIFO@ REPLACE_MKFIFOAT = @REPLACE_MKFIFOAT@ REPLACE_MKNOD = @REPLACE_MKNOD@ REPLACE_MKNODAT = @REPLACE_MKNODAT@ REPLACE_MKOSTEMP = @REPLACE_MKOSTEMP@ REPLACE_MKOSTEMPS = @REPLACE_MKOSTEMPS@ REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ REPLACE_MKTIME = @REPLACE_MKTIME@ REPLACE_MKTIME_Z = @REPLACE_MKTIME_Z@ REPLACE_MODF = @REPLACE_MODF@ REPLACE_MODFF = @REPLACE_MODFF@ REPLACE_MODFL = @REPLACE_MODFL@ REPLACE_NAN = @REPLACE_NAN@ REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ REPLACE_NEWLOCALE = @REPLACE_NEWLOCALE@ REPLACE_NULL = @REPLACE_NULL@ REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ REPLACE_OPEN = @REPLACE_OPEN@ REPLACE_OPENAT = @REPLACE_OPENAT@ REPLACE_PERROR = @REPLACE_PERROR@ REPLACE_PIPE2 = @REPLACE_PIPE2@ REPLACE_POPEN = @REPLACE_POPEN@ REPLACE_POSIX_MEMALIGN = @REPLACE_POSIX_MEMALIGN@ REPLACE_POSIX_OPENPT = @REPLACE_POSIX_OPENPT@ REPLACE_PREAD = @REPLACE_PREAD@ REPLACE_PRINTF = @REPLACE_PRINTF@ REPLACE_PTHREAD_ATTR_DESTROY = @REPLACE_PTHREAD_ATTR_DESTROY@ REPLACE_PTHREAD_ATTR_GETDETACHSTATE = @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ REPLACE_PTHREAD_ATTR_INIT = @REPLACE_PTHREAD_ATTR_INIT@ REPLACE_PTHREAD_ATTR_SETDETACHSTATE = @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ REPLACE_PTHREAD_CONDATTR_DESTROY = @REPLACE_PTHREAD_CONDATTR_DESTROY@ REPLACE_PTHREAD_CONDATTR_INIT = @REPLACE_PTHREAD_CONDATTR_INIT@ REPLACE_PTHREAD_COND_BROADCAST = @REPLACE_PTHREAD_COND_BROADCAST@ REPLACE_PTHREAD_COND_DESTROY = @REPLACE_PTHREAD_COND_DESTROY@ REPLACE_PTHREAD_COND_INIT = @REPLACE_PTHREAD_COND_INIT@ REPLACE_PTHREAD_COND_SIGNAL = @REPLACE_PTHREAD_COND_SIGNAL@ REPLACE_PTHREAD_COND_TIMEDWAIT = @REPLACE_PTHREAD_COND_TIMEDWAIT@ REPLACE_PTHREAD_COND_WAIT = @REPLACE_PTHREAD_COND_WAIT@ REPLACE_PTHREAD_CREATE = @REPLACE_PTHREAD_CREATE@ REPLACE_PTHREAD_DETACH = @REPLACE_PTHREAD_DETACH@ REPLACE_PTHREAD_EQUAL = @REPLACE_PTHREAD_EQUAL@ REPLACE_PTHREAD_EXIT = @REPLACE_PTHREAD_EXIT@ REPLACE_PTHREAD_GETSPECIFIC = @REPLACE_PTHREAD_GETSPECIFIC@ REPLACE_PTHREAD_JOIN = @REPLACE_PTHREAD_JOIN@ REPLACE_PTHREAD_KEY_CREATE = @REPLACE_PTHREAD_KEY_CREATE@ REPLACE_PTHREAD_KEY_DELETE = @REPLACE_PTHREAD_KEY_DELETE@ REPLACE_PTHREAD_MUTEXATTR_DESTROY = @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ REPLACE_PTHREAD_MUTEXATTR_GETROBUST = @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ REPLACE_PTHREAD_MUTEXATTR_GETTYPE = @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ REPLACE_PTHREAD_MUTEXATTR_INIT = @REPLACE_PTHREAD_MUTEXATTR_INIT@ REPLACE_PTHREAD_MUTEXATTR_SETROBUST = @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ REPLACE_PTHREAD_MUTEXATTR_SETTYPE = @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ REPLACE_PTHREAD_MUTEX_DESTROY = @REPLACE_PTHREAD_MUTEX_DESTROY@ REPLACE_PTHREAD_MUTEX_INIT = @REPLACE_PTHREAD_MUTEX_INIT@ REPLACE_PTHREAD_MUTEX_LOCK = @REPLACE_PTHREAD_MUTEX_LOCK@ REPLACE_PTHREAD_MUTEX_TIMEDLOCK = @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ REPLACE_PTHREAD_MUTEX_TRYLOCK = @REPLACE_PTHREAD_MUTEX_TRYLOCK@ REPLACE_PTHREAD_MUTEX_UNLOCK = @REPLACE_PTHREAD_MUTEX_UNLOCK@ REPLACE_PTHREAD_ONCE = @REPLACE_PTHREAD_ONCE@ REPLACE_PTHREAD_RWLOCKATTR_DESTROY = @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ REPLACE_PTHREAD_RWLOCKATTR_INIT = @REPLACE_PTHREAD_RWLOCKATTR_INIT@ REPLACE_PTHREAD_RWLOCK_DESTROY = @REPLACE_PTHREAD_RWLOCK_DESTROY@ REPLACE_PTHREAD_RWLOCK_INIT = @REPLACE_PTHREAD_RWLOCK_INIT@ REPLACE_PTHREAD_RWLOCK_RDLOCK = @REPLACE_PTHREAD_RWLOCK_RDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK = @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ REPLACE_PTHREAD_RWLOCK_TRYRDLOCK = @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ REPLACE_PTHREAD_RWLOCK_TRYWRLOCK = @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ REPLACE_PTHREAD_RWLOCK_UNLOCK = @REPLACE_PTHREAD_RWLOCK_UNLOCK@ REPLACE_PTHREAD_RWLOCK_WRLOCK = @REPLACE_PTHREAD_RWLOCK_WRLOCK@ REPLACE_PTHREAD_SELF = @REPLACE_PTHREAD_SELF@ REPLACE_PTHREAD_SETSPECIFIC = @REPLACE_PTHREAD_SETSPECIFIC@ REPLACE_PTHREAD_SPIN_DESTROY = @REPLACE_PTHREAD_SPIN_DESTROY@ REPLACE_PTHREAD_SPIN_INIT = @REPLACE_PTHREAD_SPIN_INIT@ REPLACE_PTHREAD_SPIN_LOCK = @REPLACE_PTHREAD_SPIN_LOCK@ REPLACE_PTHREAD_SPIN_TRYLOCK = @REPLACE_PTHREAD_SPIN_TRYLOCK@ REPLACE_PTHREAD_SPIN_UNLOCK = @REPLACE_PTHREAD_SPIN_UNLOCK@ REPLACE_PTSNAME = @REPLACE_PTSNAME@ REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ REPLACE_PUTENV = @REPLACE_PUTENV@ REPLACE_PWRITE = @REPLACE_PWRITE@ REPLACE_QSORT_R = @REPLACE_QSORT_R@ REPLACE_RAND = @REPLACE_RAND@ REPLACE_RANDOM = @REPLACE_RANDOM@ REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ REPLACE_READ = @REPLACE_READ@ REPLACE_READLINK = @REPLACE_READLINK@ REPLACE_READLINKAT = @REPLACE_READLINKAT@ REPLACE_REALLOCARRAY = @REPLACE_REALLOCARRAY@ REPLACE_REALLOC_FOR_REALLOC_POSIX = @REPLACE_REALLOC_FOR_REALLOC_POSIX@ REPLACE_REALPATH = @REPLACE_REALPATH@ REPLACE_REMAINDER = @REPLACE_REMAINDER@ REPLACE_REMAINDERF = @REPLACE_REMAINDERF@ REPLACE_REMAINDERL = @REPLACE_REMAINDERL@ REPLACE_REMOVE = @REPLACE_REMOVE@ REPLACE_RENAME = @REPLACE_RENAME@ REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ REPLACE_RINTL = @REPLACE_RINTL@ REPLACE_RMDIR = @REPLACE_RMDIR@ REPLACE_ROUND = @REPLACE_ROUND@ REPLACE_ROUNDF = @REPLACE_ROUNDF@ REPLACE_ROUNDL = @REPLACE_ROUNDL@ REPLACE_SCHED_YIELD = @REPLACE_SCHED_YIELD@ REPLACE_SETENV = @REPLACE_SETENV@ REPLACE_SETHOSTNAME = @REPLACE_SETHOSTNAME@ REPLACE_SETLOCALE = @REPLACE_SETLOCALE@ REPLACE_SETSTATE = @REPLACE_SETSTATE@ REPLACE_SIGNBIT = @REPLACE_SIGNBIT@ REPLACE_SIGNBIT_USING_BUILTINS = @REPLACE_SIGNBIT_USING_BUILTINS@ REPLACE_SINF = @REPLACE_SINF@ REPLACE_SINHF = @REPLACE_SINHF@ REPLACE_SLEEP = @REPLACE_SLEEP@ REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ REPLACE_SPRINTF = @REPLACE_SPRINTF@ REPLACE_SQRTF = @REPLACE_SQRTF@ REPLACE_SQRTL = @REPLACE_SQRTL@ REPLACE_STAT = @REPLACE_STAT@ REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ REPLACE_STPCPY = @REPLACE_STPCPY@ REPLACE_STPNCPY = @REPLACE_STPNCPY@ REPLACE_STRCASECMP = @REPLACE_STRCASECMP@ REPLACE_STRCASECMP_L = @REPLACE_STRCASECMP_L@ REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ REPLACE_STRDUP = @REPLACE_STRDUP@ REPLACE_STRERROR = @REPLACE_STRERROR@ REPLACE_STRERRORNAME_NP = @REPLACE_STRERRORNAME_NP@ REPLACE_STRERROR_L = @REPLACE_STRERROR_L@ REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ REPLACE_STRFTIME = @REPLACE_STRFTIME@ REPLACE_STRNCASECMP = @REPLACE_STRNCASECMP@ REPLACE_STRNCASECMP_L = @REPLACE_STRNCASECMP_L@ REPLACE_STRNCAT = @REPLACE_STRNCAT@ REPLACE_STRNDUP = @REPLACE_STRNDUP@ REPLACE_STRNLEN = @REPLACE_STRNLEN@ REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ REPLACE_STRSTR = @REPLACE_STRSTR@ REPLACE_STRTOD = @REPLACE_STRTOD@ REPLACE_STRTOF = @REPLACE_STRTOF@ REPLACE_STRTOIMAX = @REPLACE_STRTOIMAX@ REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ REPLACE_STRTOL = @REPLACE_STRTOL@ REPLACE_STRTOLD = @REPLACE_STRTOLD@ REPLACE_STRTOLL = @REPLACE_STRTOLL@ REPLACE_STRTOUL = @REPLACE_STRTOUL@ REPLACE_STRTOULL = @REPLACE_STRTOULL@ REPLACE_STRTOUMAX = @REPLACE_STRTOUMAX@ REPLACE_STRUCT_LCONV = @REPLACE_STRUCT_LCONV@ REPLACE_STRVERSCMP = @REPLACE_STRVERSCMP@ REPLACE_SYMLINK = @REPLACE_SYMLINK@ REPLACE_SYMLINKAT = @REPLACE_SYMLINKAT@ REPLACE_TANF = @REPLACE_TANF@ REPLACE_TANHF = @REPLACE_TANHF@ REPLACE_TIME = @REPLACE_TIME@ REPLACE_TIMEGM = @REPLACE_TIMEGM@ REPLACE_TIMESPEC_GET = @REPLACE_TIMESPEC_GET@ REPLACE_TIMESPEC_GETRES = @REPLACE_TIMESPEC_GETRES@ REPLACE_TMPFILE = @REPLACE_TMPFILE@ REPLACE_TOTALORDER = @REPLACE_TOTALORDER@ REPLACE_TOTALORDERF = @REPLACE_TOTALORDERF@ REPLACE_TOTALORDERL = @REPLACE_TOTALORDERL@ REPLACE_TOTALORDERMAG = @REPLACE_TOTALORDERMAG@ REPLACE_TOTALORDERMAGF = @REPLACE_TOTALORDERMAGF@ REPLACE_TOTALORDERMAGL = @REPLACE_TOTALORDERMAGL@ REPLACE_TOWLOWER = @REPLACE_TOWLOWER@ REPLACE_TRUNC = @REPLACE_TRUNC@ REPLACE_TRUNCATE = @REPLACE_TRUNCATE@ REPLACE_TRUNCF = @REPLACE_TRUNCF@ REPLACE_TRUNCL = @REPLACE_TRUNCL@ REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ REPLACE_TZSET = @REPLACE_TZSET@ REPLACE_UNLINK = @REPLACE_UNLINK@ REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ REPLACE_UNSETENV = @REPLACE_UNSETENV@ REPLACE_USLEEP = @REPLACE_USLEEP@ REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ REPLACE_VPRINTF = @REPLACE_VPRINTF@ REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ REPLACE_WCSCMP = @REPLACE_WCSCMP@ REPLACE_WCSFTIME = @REPLACE_WCSFTIME@ REPLACE_WCSNCAT = @REPLACE_WCSNCAT@ REPLACE_WCSNCMP = @REPLACE_WCSNCMP@ REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ REPLACE_WCSSTR = @REPLACE_WCSSTR@ REPLACE_WCSTOK = @REPLACE_WCSTOK@ REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@ REPLACE_WCTOB = @REPLACE_WCTOB@ REPLACE_WCTOMB = @REPLACE_WCTOMB@ REPLACE_WCTRANS = @REPLACE_WCTRANS@ REPLACE_WCTYPE = @REPLACE_WCTYPE@ REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ REPLACE_WMEMCMP = @REPLACE_WMEMCMP@ REPLACE_WMEMPCPY = @REPLACE_WMEMPCPY@ REPLACE_WRITE = @REPLACE_WRITE@ REPLACE__EXIT = @REPLACE__EXIT@ ROUNDL_LIBM = @ROUNDL_LIBM@ ROUND_LIBM = @ROUND_LIBM@ SCHED_YIELD_LIB = @SCHED_YIELD_LIB@ SED = @SED@ SETLOCALE_LIB = @SETLOCALE_LIB@ SETLOCALE_NULL_LIB = @SETLOCALE_NULL_LIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ SMALL_WCHAR_T = @SMALL_WCHAR_T@ SORT_PATH = @SORT_PATH@ SQRTL_LIBM = @SQRTL_LIBM@ SQRT_LIBM = @SQRT_LIBM@ STDARG_H = @STDARG_H@ STDCKDINT_H = @STDCKDINT_H@ STDDEF_H = @STDDEF_H@ STDDEF_NOT_IDEMPOTENT = @STDDEF_NOT_IDEMPOTENT@ STDINT_H = @STDINT_H@ STDNORETURN_H = @STDNORETURN_H@ STRIP = @STRIP@ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ TIME_H_DEFINES_TIME_UTC = @TIME_H_DEFINES_TIME_UTC@ TRUNCL_LIBM = @TRUNCL_LIBM@ TRUNC_LIBM = @TRUNC_LIBM@ UINT32_MAX_LT_UINTMAX_MAX = @UINT32_MAX_LT_UINTMAX_MAX@ UINT64_MAX_EQ_ULONG_MAX = @UINT64_MAX_EQ_ULONG_MAX@ UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ UNISTD_H_DEFINES_STRUCT_TIMESPEC = @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ UNISTD_H_HAVE_SYS_RANDOM_H = @UNISTD_H_HAVE_SYS_RANDOM_H@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ WERROR_CFLAGS = @WERROR_CFLAGS@ WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ WINDOWS_STAT_INODES = @WINDOWS_STAT_INODES@ WINDOWS_STAT_TIMESPEC = @WINDOWS_STAT_TIMESPEC@ WINT_T_SUFFIX = @WINT_T_SUFFIX@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__rm_f_notfound = @am__rm_f_notfound@ am__tar = @am__tar@ am__untar = @am__untar@ am__xargs_n = @am__xargs_n@ bashcompdir = @bashcompdir@ bindir = @bindir@ bindir_c = @bindir_c@ bindir_c_make = @bindir_c_make@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datadir_c = @datadir_c@ datadir_c_make = @datadir_c_make@ datarootdir = @datarootdir@ datarootdir_c = @datarootdir_c@ datarootdir_c_make = @datarootdir_c_make@ docdir = @docdir@ docdir_c = @docdir_c@ docdir_c_make = @docdir_c_make@ dvidir = @dvidir@ dvidir_c = @dvidir_c@ dvidir_c_make = @dvidir_c_make@ exec_prefix = @exec_prefix@ exec_prefix_c = @exec_prefix_c@ exec_prefix_c_make = @exec_prefix_c_make@ gl_LIBOBJDEPS = @gl_LIBOBJDEPS@ gl_LIBOBJS = @gl_LIBOBJS@ gl_LTLIBOBJS = @gl_LTLIBOBJS@ gl_libdatamash_LIBOBJDEPS = @gl_libdatamash_LIBOBJDEPS@ gl_libdatamash_LIBOBJS = @gl_libdatamash_LIBOBJS@ gl_libdatamash_LTLIBOBJS = @gl_libdatamash_LTLIBOBJS@ gltests_LIBOBJDEPS = @gltests_LIBOBJDEPS@ gltests_LIBOBJS = @gltests_LIBOBJS@ gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ gltests_WITNESS = @gltests_WITNESS@ gltests_libdatamash_LIBOBJDEPS = @gltests_libdatamash_LIBOBJDEPS@ gltests_libdatamash_LIBOBJS = @gltests_libdatamash_LIBOBJS@ gltests_libdatamash_LTLIBOBJS = @gltests_libdatamash_LTLIBOBJS@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ htmldir_c = @htmldir_c@ htmldir_c_make = @htmldir_c_make@ includedir = @includedir@ includedir_c = @includedir_c@ includedir_c_make = @includedir_c_make@ infodir = @infodir@ infodir_c = @infodir_c@ infodir_c_make = @infodir_c_make@ install_sh = @install_sh@ libdir = @libdir@ libdir_c = @libdir_c@ libdir_c_make = @libdir_c_make@ libexecdir = @libexecdir@ libexecdir_c = @libexecdir_c@ libexecdir_c_make = @libexecdir_c_make@ lispdir = @lispdir@ lispdir_c = @lispdir_c@ lispdir_c_make = @lispdir_c_make@ # Add LOCALDIR for gettext localedir = $(datadir)/locale localedir_c = @localedir_c@ localedir_c_make = @localedir_c_make@ localstatedir = @localstatedir@ localstatedir_c = @localstatedir_c@ localstatedir_c_make = @localstatedir_c_make@ mandir = @mandir@ mandir_c = @mandir_c@ mandir_c_make = @mandir_c_make@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ oldincludedir_c = @oldincludedir_c@ oldincludedir_c_make = @oldincludedir_c_make@ pdfdir = @pdfdir@ pdfdir_c = @pdfdir_c@ pdfdir_c_make = @pdfdir_c_make@ pkgdatadir_c = @pkgdatadir_c@ pkgdatadir_c_make = @pkgdatadir_c_make@ pkgincludedir_c = @pkgincludedir_c@ pkgincludedir_c_make = @pkgincludedir_c_make@ pkglibdir_c = @pkglibdir_c@ pkglibdir_c_make = @pkglibdir_c_make@ pkglibexecdir_c = @pkglibexecdir_c@ pkglibexecdir_c_make = @pkglibexecdir_c_make@ prefix = @prefix@ prefix_c = @prefix_c@ prefix_c_make = @prefix_c_make@ program_transform_name = @program_transform_name@ psdir = @psdir@ psdir_c = @psdir_c@ psdir_c_make = @psdir_c_make@ runstatedir = @runstatedir@ runstatedir_c = @runstatedir_c@ runstatedir_c_make = @runstatedir_c_make@ sbindir = @sbindir@ sbindir_c = @sbindir_c@ sbindir_c_make = @sbindir_c_make@ sharedstatedir = @sharedstatedir@ sharedstatedir_c = @sharedstatedir_c@ sharedstatedir_c_make = @sharedstatedir_c_make@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ sysconfdir_c = @sysconfdir_c@ sysconfdir_c_make = @sysconfdir_c_make@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS = subdir-objects AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib -Isrc -I$(top_srcdir)/src EXTRA_DIST = build-aux/make_bin_dist.sh build-aux/prerelease-checks.sh \ build-aux/git-log-fix build-aux/create_small_file_system.sh \ build-aux/create_corrupted_file_system.sh \ contrib/bash-completion/datamash m4/gnulib-cache.m4 \ $(man_MANS) man/datamash.x man/decorate.x man/help2man \ tests/no-perl tests/Coreutils.pm tests/CuSkip.pm \ tests/CuTmpdir.pm tests/init.sh init.cfg $(TESTS) cfg.mk \ $(dist_examples_DATA) lib/alloca.in.h \ $(top_srcdir)/build-aux/announce-gen lib/arpa_inet.in.h \ lib/assert.in.h lib/verify.h lib/attribute.h \ lib/basename-lgpl.h lib/byteswap.in.h lib/c-strcase.h \ lib/c-strcaseeq.h lib/c32is-impl.h lib/c32is-impl.h \ lib/c32is-impl.h lib/c32is-impl.h lib/c32is-impl.h \ lib/c32is-impl.h lib/c32is-impl.h lib/c32is-impl.h \ lib/c32is-impl.h lib/c32is-impl.h lib/c32is-impl.h \ lib/c32is-impl.h lib/c32to-impl.h lib/calloc.c lib/calloc.c \ lib/ceil.c lib/cloexec.h lib/close-stream.h lib/closeout.h \ lib/af_alg.h lib/sys-limits.h lib/gl_openssl.h lib/md5.h \ lib/gl_openssl.h lib/sha1.h lib/gl_openssl.h lib/sha256.h \ lib/gl_openssl.h lib/sha512.h lib/ctype.in.h lib/stripslash.c \ lib/dirname.h \ $(top_srcdir)/build-aux/do-release-commit-and-tag \ lib/errno.in.h lib/error.in.h lib/exitfail.h lib/expl-table.c \ lib/fcntl.in.h lib/fd-hook.h lib/stdio-impl.h lib/filename.h \ lib/flexmember.h lib/float.in.h lib/floor.c lib/fpending.h \ lib/stdio-impl.h lib/fpucw.h lib/stdio-impl.h lib/freading.h \ lib/stdio-impl.h lib/frexp.c lib/frexp.c lib/frexpl.c \ lib/stdio-impl.h lib/stat-w32.c lib/stat-w32.h \ lib/stdio-impl.h $(top_srcdir)/build-aux/gendocs.sh \ lib/getlocalename_l-unsafe.h lib/localename-table.h \ lib/struniq.h lib/getlocalename_l-unsafe.h \ lib/getopt-cdefs.in.h lib/getopt-core.h lib/getopt-ext.h \ lib/getopt-pfx-core.h lib/getopt-pfx-ext.h lib/getopt.in.h \ lib/getopt_int.h lib/getprogname.h \ $(top_srcdir)/build-aux/git-version-gen \ $(top_srcdir)/build-aux/gitlog-to-changelog \ $(top_srcdir)/build-aux/gnu-web-doc-update \ $(top_srcdir)/GNUmakefile $(top_srcdir)/build-aux/gnupload \ lib/hard-locale.h lib/hash.h \ $(top_srcdir)/build-aux/config.rpath lib/ialloc.h \ lib/iconv.in.h lib/iconv_open-aix.h lib/iconv_open-hpux.h \ lib/iconv_open-irix.h lib/iconv_open-osf.h \ lib/iconv_open-solaris.h lib/iconv_open-zos.h \ lib/iconv_open-aix.gperf lib/iconv_open-hpux.gperf \ lib/iconv_open-irix.gperf lib/iconv_open-osf.gperf \ lib/iconv_open-solaris.gperf lib/iconv_open-zos.gperf \ lib/ignore-value.h lib/intprops-internal.h lib/intprops.h \ lib/anytostr.c lib/inttostr.h lib/inttypes.in.h lib/float+.h \ lib/isnan.c lib/isnand.c lib/float+.h lib/isnan.c \ lib/isnand-nolibm.h lib/isnand.c lib/float+.h lib/isnan.c \ lib/isnanf-nolibm.h lib/isnanf.c lib/float+.h lib/isnan.c \ lib/isnanl.c lib/float+.h lib/isnan.c lib/isnanl-nolibm.h \ lib/isnanl.c lib/ldexp.c lib/cdefs.h lib/libc-config.h \ lib/limits.in.h lib/localcharset.h lib/locale.in.h \ lib/localename.h lib/struniq.h lib/localename.h \ lib/localename.h lib/localename.h $(top_srcdir)/maint.mk \ lib/malloc.c lib/malloc.c lib/malloca.h lib/math.in.h \ lib/mbchar.h lib/lc-charset-dispatch.c \ lib/lc-charset-dispatch.h lib/mbrtowc-impl-utf8.h \ lib/mbrtowc-impl.h lib/mbtowc-lock.c lib/mbtowc-lock.h \ lib/windows-initguard.h lib/lc-charset-dispatch.c \ lib/lc-charset-dispatch.h lib/mbrtowc-impl-utf8.h \ lib/mbrtowc-impl.h lib/mbtowc-lock.c lib/mbtowc-lock.h \ lib/windows-initguard.h lib/str-kmp.h lib/memchr.valgrind \ lib/msvc-inval.h lib/msvc-nothrow.h lib/netinet_in.in.h \ lib/pathmax.h $(top_srcdir)/build-aux/pmccabe2html \ $(top_srcdir)/build-aux/pmccabe.css lib/pthread.in.h \ lib/quote.h lib/quotearg.h lib/round.c lib/sched.in.h \ lib/setlocale-fixes.h lib/setlocale_null.h \ lib/windows-initguard.h lib/setlocale_null.h lib/float+.h \ lib/_Noreturn.h lib/arg-nonnull.h lib/c++defs.h \ lib/warn-on-use.h lib/snprintf.c lib/stat-w32.c lib/stat-w32.h \ lib/stat-time.h lib/stdarg.in.h lib/intprops-internal.h \ lib/stdckdint.in.h lib/stddef.in.h lib/stdint.in.h \ lib/stdio.in.h lib/stdlib.in.h lib/stdnoreturn.in.h \ lib/streq.h lib/strerror-override.h lib/string.in.h \ lib/strings.in.h lib/strtod.c lib/strtol.c lib/strtol.c \ lib/strtoul.c lib/strtoimax.c lib/sys_random.in.h \ lib/sys_socket.in.h lib/sys_stat.in.h lib/sys_types.in.h \ lib/sys_uio.in.h lib/sys_wait.in.h lib/thread-optim.h \ lib/time.in.h lib/trim.h lib/trunc.c lib/u64.h lib/uchar.in.h \ lib/unicase.in.h lib/unicase/simple-mapping.h \ lib/unicase/tolower.h lib/unictype.in.h lib/unictype/bitmap.h \ lib/unictype/ctype_alnum.h lib/unictype/bitmap.h \ lib/unictype/ctype_alpha.h lib/unictype/bitmap.h \ lib/unictype/ctype_blank.h lib/unictype/bitmap.h \ lib/unictype/ctype_cntrl.h lib/unictype/bitmap.h \ lib/unictype/ctype_digit.h lib/unictype/bitmap.h \ lib/unictype/ctype_graph.h lib/unictype/bitmap.h \ lib/unictype/ctype_lower.h lib/unictype/bitmap.h \ lib/unictype/ctype_print.h lib/unictype/bitmap.h \ lib/unictype/ctype_punct.h lib/unictype/bitmap.h \ lib/unictype/ctype_space.h lib/unictype/bitmap.h \ lib/unictype/ctype_upper.h lib/unictype/bitmap.h \ lib/unictype/ctype_xdigit.h lib/uninorm.in.h lib/unistd.in.h \ lib/unistr.in.h lib/unitypes.in.h lib/localcharset.h \ lib/uniwidth.in.h lib/unictype/bitmap.h lib/uniwidth/cjk.h \ lib/uniwidth/width0.h lib/uniwidth/width2.h lib/unlocked-io.h \ $(top_srcdir)/build-aux/update-copyright \ $(top_srcdir)/build-aux/useless-if-before-free lib/asnprintf.c \ lib/float+.h lib/printf-args.c lib/printf-args.h \ lib/printf-parse.c lib/printf-parse.h lib/vasnprintf.c \ lib/vasnprintf.h $(top_srcdir)/build-aux/vc-list-files \ lib/wchar.in.h lib/wctype.in.h lib/windows-initguard.h \ lib/windows-mutex.h lib/windows-once.h lib/windows-initguard.h \ lib/windows-recmutex.h lib/windows-initguard.h \ lib/windows-rwlock.h lib/xalloc.h lib/xalloc.h \ lib/xalloc-oversized.h lib/xstrtol.h lib/xstrtol-error.h \ doc/datamash-texinfo.css SUBDIRS = po datamash_SOURCES = src/system.h \ src/die.h \ src/text-options.c src/text-options.h \ src/utils.c src/utils.h \ src/randutils.c src/randutils.h \ src/text-lines.c src/text-lines.h \ src/column-headers.c src/column-headers.h \ src/op-defs.c src/op-defs.h \ src/op-scanner.c src/op-scanner.h \ src/op-parser.c src/op-parser.h \ src/field-ops.c src/field-ops.h \ src/crosstab.c src/crosstab.h \ src/double-format.c src/double-format.h \ src/datamash.c datamash_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(MINGW_CFLAGS) datamash_LDADD = \ lib/lib$(PACKAGE).a \ $(CEIL_LIBM) \ $(CEILL_LIBM) \ $(EXP_LIBM) \ $(EXPL_LIBM) \ $(FABS_LIBM) \ $(FABSL_LIBM) \ $(FLOOR_LIBM) \ $(FLOORL_LIBM) \ $(FREXP_LIBM) \ $(FREXPL_LIBM) \ $(ISNANL_LIBM) \ $(LDEXP_LIBM) \ $(LDEXPL_LIBM) \ $(LIB_CRYPTO) \ $(LIB_HARD_LOCALE) \ $(LIB_MBRTOWC) \ $(LIB_SETLOCALE) \ $(LIB_SETLOCALE_NULL) \ $(LIBICONV) \ $(LIBINTL) \ $(LIBTHREAD) \ $(LOG_LIBM) \ $(LOGL_LIBM) \ $(MODF_LIBM) \ $(MODFL_LIBM) \ $(ROUND_LIBM) \ $(ROUNDL_LIBM) \ $(SQRT_LIBM) \ $(SQRTL_LIBM) \ $(TRUNC_LIBM) \ $(TRUNCL_LIBM) \ $(INTL_MACOSX_LIBS) decorate_SOURCES = src/decorate.c \ src/key-compare.c src/key-compare.h \ src/decorate-functions.c src/decorate-functions.h decorate_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(MINGW_CFLAGS) decorate_CPPFLAGS = $(AM_CPPFLAGS) \ -DKEY_COMPARE_DECORATION \ -DKEY_COMPARE_HUMAN_NUMERIC \ -DKEY_COMPARE_NONPRINTING \ -DKEY_COMPARE_MONTH \ -DKEY_COMPARE_RANDOM \ -DKEY_COMPARE_REVERSE \ -DKEY_COMPARE_VERSION decorate_LDADD = lib/lib$(PACKAGE).a \ $(INET_PTON_LIB) \ $(LIBICONV) \ $(LIBINTL) \ $(LIB_MBRTOWC) man_MANS = datamash.1 decorate.1 CLEANFILES = $(am__append_1) lib/configmake.h lib/configmake.h-t TEST_EXTENSIONS = .pl .sh @PERL_FOUND_FALSE@PL_LOG_COMPILER = $(SHELL) $(top_srcdir)/tests/no-perl @PERL_FOUND_TRUE@PL_LOG_COMPILER = $(PERL) TESTS = \ tests/datamash-show-env.sh \ tests/datamash-tests.pl \ tests/datamash-tests-deprecated.pl \ tests/datamash-tests-2.pl \ tests/datamash-tests-2-deprecated.pl \ tests/datamash-parser.pl \ tests/datamash-error-msgs.pl \ tests/datamash-md5.pl \ tests/datamash-sha.pl \ tests/datamash-rand.sh \ tests/datamash-rand.pl \ tests/datamash-stats.pl \ tests/datamash-transpose.pl \ tests/datamash-crosstab.pl \ tests/datamash-check.pl \ tests/datamash-pair-tests.pl \ tests/datamash-check-tabular.pl \ tests/datamash-output-format.pl \ tests/datamash-i18n-de.pl \ tests/datamash-sort-header.pl \ tests/datamash-sort-header-deprecated.pl \ tests/datamash-sort-errors.sh \ tests/datamash-io-errors.sh \ tests/datamash-io-errors-cheap.sh \ tests/datamash-strbin.sh \ tests/datamash-valgrind.sh \ tests/datamash-vnlog.pl \ tests/decorate-tests.pl \ tests/decorate-errors.pl \ tests/decorate-sort-tests.pl # Note: the "9>&2" redirection is part of Automake's parallel-tests. # see also stderr_fileno in 'init.cfg' TESTS_ENVIRONMENT = \ top_srcdir=$(abs_top_srcdir) \ PERL5LIB='$(abs_top_srcdir)/tests$(PATH_SEPARATOR)'"$$PERL5LIB" \ PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'$$PATH \ DATAMASH=`echo datamash | sed '$(transform)'` \ DECORATE=`echo decorate | sed '$(transform)'` \ test_dir='$(abs_top_srcdir)/tests' ; \ export top_srcdir PERL5LIB PATH DATAMASH DECORATE test_dir ; \ 9>&2 examplesdir = $(pkgdatadir)/examples dist_examples_DATA = examples/readme.md \ examples/scores.txt examples/scores_h.txt \ examples/genes.txt examples/genes_h.txt @ENABLE_BASH_COMPLETION_TRUE@dist_bashcomp_DATA = contrib/bash-completion/datamash LOG_COMPILER = MAINTAINERCLEANFILES = lib/iconv_open-aix.h lib/iconv_open-hpux.h \ lib/iconv_open-irix.h lib/iconv_open-osf.h \ lib/iconv_open-solaris.h lib/iconv_open-zos.h # No GNU Make output. noinst_LIBRARIES = lib/libdatamash.a MOSTLYCLEANFILES = lib/core lib/*.stackdump lib/alloca.h \ lib/alloca.h-t lib/arpa/inet.h lib/arpa/inet.h-t lib/assert.h \ lib/assert.h-t lib/byteswap.h lib/byteswap.h-t lib/ctype.h \ lib/ctype.h-t lib/errno.h lib/errno.h-t lib/error.h \ lib/error.h-t lib/fcntl.h lib/fcntl.h-t lib/float.h \ lib/float.h-t lib/getopt.h lib/getopt.h-t lib/getopt-cdefs.h \ lib/getopt-cdefs.h-t lib/iconv.h lib/iconv.h-t \ lib/iconv_open-aix.h-t1 lib/iconv_open-aix.h-t2 \ iconv_open-hpux.h-t1 iconv_open-hpux.h-t2 iconv_open-irix.h-t1 \ iconv_open-irix.h-t2 iconv_open-osf.h-t1 iconv_open-osf.h-t2 \ iconv_open-solaris.h-t1 iconv_open-solaris.h-t2 \ iconv_open-zos.h-t1 iconv_open-zos.h-t2 lib/inttypes.h \ lib/inttypes.h-t lib/limits.h lib/limits.h-t lib/locale.h \ lib/locale.h-t lib/math.h lib/math.h-t1 lib/math.h-t2 \ lib/math.h-t3 lib/math.h-t4 lib/math.h-t5 lib/math.h-t6 \ lib/netinet/in.h lib/netinet/in.h-t lib/pthread.h \ lib/pthread.h-t1 lib/pthread.h-t2 lib/pthread.h-t3 \ lib/pthread.h-t4 lib/sched.h lib/sched.h-t lib/stdarg.h \ lib/stdarg.h-t lib/stdckdint.h lib/stdckdint.h-t lib/stddef.h \ lib/stddef.h-t lib/stdint.h lib/stdint.h-t lib/stdio.h \ lib/stdio.h-t1 lib/stdio.h-t2 lib/stdio.h-t3 lib/stdlib.h \ lib/stdlib.h-t1 lib/stdlib.h-t2 lib/stdlib.h-t3 \ lib/stdnoreturn.h lib/stdnoreturn.h-t lib/string.h \ lib/string.h-t1 lib/string.h-t2 lib/strings.h lib/strings.h-t \ lib/sys/random.h lib/sys/random.h-t lib/sys/socket.h \ lib/sys/socket.h-t lib/sys/stat.h lib/sys/stat.h-t \ lib/sys/types.h lib/sys/types.h-t lib/sys/uio.h \ lib/sys/uio.h-t lib/sys/wait.h lib/sys/wait.h-t lib/time.h \ lib/time.h-t lib/uchar.h lib/uchar.h-t lib/unicase.h \ lib/unicase.h-t lib/unictype.h lib/unictype.h-t1 \ lib/unictype.h-t2 lib/unictype.h-t3 lib/unictype.h-t4 \ lib/uninorm.h lib/uninorm.h-t lib/unistd.h lib/unistd.h-t1 \ lib/unistd.h-t2 lib/unistd.h-t3 lib/unistd.h-t4 lib/unistr.h \ lib/unistr.h-t lib/unitypes.h lib/unitypes.h-t lib/uniwidth.h \ lib/uniwidth.h-t lib/wchar.h lib/wchar.h-t1 lib/wchar.h-t2 \ lib/wchar.h-t3 lib/wctype.h lib/wctype.h-t MOSTLYCLEANDIRS = lib/arpa lib/netinet lib/sys lib/sys lib/sys lib/sys \ lib/sys lib/sys BUILT_SOURCES = $(ALLOCA_H) lib/arpa/inet.h $(ASSERT_H) $(BYTESWAP_H) \ lib/configmake.h lib/ctype.h $(ERRNO_H) lib/error.h \ lib/fcntl.h $(FLOAT_H) $(GETOPT_H) $(GETOPT_CDEFS_H) \ $(ICONV_H) lib/iconv_open-aix.h lib/iconv_open-hpux.h \ lib/iconv_open-irix.h lib/iconv_open-osf.h \ lib/iconv_open-solaris.h lib/iconv_open-zos.h lib/inttypes.h \ $(LIMITS_H) lib/locale.h lib/math.h $(NETINET_IN_H) \ lib/pthread.h lib/sched.h $(STDARG_H) $(STDCKDINT_H) \ $(STDDEF_H) $(STDINT_H) lib/stdio.h lib/stdlib.h \ $(STDNORETURN_H) lib/string.h lib/strings.h lib/sys/random.h \ lib/sys/socket.h lib/sys/stat.h lib/sys/types.h lib/sys/uio.h \ lib/sys/wait.h lib/time.h lib/uchar.h \ $(LIBUNISTRING_UNICASE_H) $(LIBUNISTRING_UNICTYPE_H) \ $(LIBUNISTRING_UNINORM_H) lib/unistd.h \ $(LIBUNISTRING_UNISTR_H) $(LIBUNISTRING_UNITYPES_H) \ $(LIBUNISTRING_UNIWIDTH_H) lib/wchar.h lib/wctype.h gendocs = build-aux/gendocs.sh gendocs_envvars = GENDOCS_TEMPLATE_DIR=doc # manual = datamash manual_title = GNU datamash email = $(PACKAGE_BUGREPORT) gendocs_args = --email $(email) $(manual) $(manual_title) # This will affect the result of 'make web-manual' # all generated HTML files will contain the embedded CSS statements. # 'gendocs_options_' is used in the 'web-manual' target in 'maint.mk'. gendocs_options_ = \ --html "--css-include=$(abs_top_srcdir)/doc/datamash-texinfo.css" lib_libdatamash_a_SOURCES = lib/arpa_inet.c lib/base64.h lib/base64.c \ lib/basename-lgpl.c lib/bitrotate.h lib/bitrotate.c \ $(am__append_2) lib/c-ctype.h lib/c-ctype.c lib/c-strcasecmp.c \ lib/c32isalnum.c lib/c32isalpha.c lib/c32isblank.c \ lib/c32iscntrl.c lib/c32isdigit.c lib/c32isgraph.c \ lib/c32islower.c lib/c32isprint.c lib/c32ispunct.c \ lib/c32isspace.c lib/c32isupper.c lib/c32isxdigit.c \ lib/c32tolower.c lib/c32width.c $(am__append_3) \ $(am__append_4) lib/cloexec.c $(am__append_5) \ lib/close-stream.c lib/closeout.c lib/af_alg.c \ lib/md5-stream.c lib/md5.c lib/sha1-stream.c lib/sha1.c \ lib/sha256-stream.c lib/sha256.c lib/sha512-stream.c \ lib/sha512.c lib/dirname.c lib/basename.c lib/dirname-lgpl.c \ lib/stripslash.c $(am__append_6) $(am__append_7) \ lib/exitfail.c $(am__append_8) $(am__append_9) \ $(am__append_10) lib/fd-hook.c $(am__append_11) \ $(am__append_12) $(am__append_13) $(am__append_14) \ $(am__append_15) $(am__append_16) $(am__append_17) \ lib/freading.c $(am__append_18) $(am__append_19) \ $(am__append_20) $(am__append_21) $(am__append_22) \ $(am__append_23) $(am__append_24) $(am__append_25) \ lib/localename-table.c $(am__append_26) $(am__append_27) \ $(am__append_28) $(am__append_29) lib/gettext.h \ lib/hard-locale.c lib/hash.c lib/hash-pjw.h lib/hash-pjw.c \ lib/hash-pjw-bare.h lib/hash-pjw-bare.c lib/ialloc.c \ $(am__append_30) $(am__append_31) lib/idx.h $(am__append_32) \ lib/imaxtostr.c lib/inttostr.c lib/offtostr.c lib/uinttostr.c \ lib/umaxtostr.c $(am__append_33) $(am__append_34) \ $(am__append_35) $(am__append_36) $(am__append_37) \ $(am__append_38) $(am__append_39) $(am__append_40) \ $(am__append_41) lib/linebuffer.h lib/linebuffer.c \ lib/localcharset.c $(am__append_42) lib/localename.c \ lib/localename-environ.c $(am__append_43) $(am__append_44) \ lib/glthread/lock.h lib/glthread/lock.c $(am__append_45) \ $(am__append_46) $(am__append_47) lib/malloca.c lib/math.c \ lib/mbchar.c $(am__append_48) $(am__append_49) \ $(am__append_50) lib/mbslen.c lib/mbsstr.c lib/mbszero.c \ lib/mbuiter.h lib/mbuiter.c lib/mbuiterf.h lib/mbuiterf.c \ $(am__append_51) $(am__append_52) lib/minmax.h \ $(am__append_53) $(am__append_54) $(am__append_55) \ $(am__append_56) lib/glthread/once.h lib/glthread/once.c \ $(am__append_57) $(am__append_58) $(am__append_59) \ lib/progname.h lib/progname.c lib/propername.h \ lib/propername.c $(am__append_60) lib/quotearg.c \ $(am__append_61) $(am__append_62) $(am__append_63) \ $(am__append_64) $(am__append_65) $(am__append_66) \ $(am__append_67) $(am__append_68) lib/setlocale_null.c \ $(am__append_69) lib/setlocale_null-unlocked.c lib/sh-quote.h \ lib/sh-quote.c $(am__append_70) lib/size_max.h \ $(am__append_71) $(am__append_72) lib/stat-time.c \ $(am__append_73) $(am__append_74) lib/stdlib.c \ $(am__append_75) $(am__append_76) $(am__append_77) \ $(am__append_78) $(am__append_79) lib/striconv.h \ lib/striconv.c $(am__append_80) $(am__append_81) \ lib/strnlen1.h lib/strnlen1.c $(am__append_82) \ $(am__append_83) $(am__append_84) $(am__append_85) \ $(am__append_86) $(am__append_87) lib/sys_socket.c \ lib/glthread/threadlib.c lib/trim.c $(am__append_88) \ $(am__append_89) lib/u64.c $(am__append_90) $(am__append_91) \ $(am__append_92) $(am__append_93) $(am__append_94) \ $(am__append_95) $(am__append_96) $(am__append_97) \ $(am__append_98) $(am__append_99) $(am__append_100) \ $(am__append_101) $(am__append_102) lib/unistd.c \ $(am__append_103) $(am__append_104) $(am__append_105) \ lib/version-etc.h lib/version-etc.c lib/vsnzprintf.c \ $(am__append_106) lib/wctype-h.c $(am__append_107) \ $(am__append_108) $(am__append_109) $(am__append_110) \ $(am__append_111) lib/xmalloc.c lib/xalloc-die.c lib/xsize.h \ lib/xsize.c lib/xstriconv.h lib/xstriconv.c lib/xstrtol.c \ lib/xstrtoul.c lib/xstrtol-error.c lib/xstrtoumax.c lib_libdatamash_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS) $(GL_CFLAG_ALLOW_WARNINGS) lib_libdatamash_a_LIBADD = $(gl_libdatamash_LIBOBJS) lib_libdatamash_a_DEPENDENCIES = $(gl_libdatamash_LIBOBJS) EXTRA_lib_libdatamash_a_SOURCES = lib/calloc.c lib/calloc.c lib/ceil.c \ lib/stripslash.c lib/expl-table.c lib/floor.c lib/frexp.c \ lib/frexp.c lib/frexpl.c lib/stat-w32.c lib/anytostr.c \ lib/isnan.c lib/isnand.c lib/isnan.c lib/isnand.c lib/isnan.c \ lib/isnanf.c lib/isnan.c lib/isnanl.c lib/isnan.c lib/isnanl.c \ lib/ldexp.c lib/malloc.c lib/malloc.c \ lib/lc-charset-dispatch.c lib/mbtowc-lock.c \ lib/lc-charset-dispatch.c lib/mbtowc-lock.c lib/round.c \ lib/snprintf.c lib/stat-w32.c lib/strtod.c lib/strtol.c \ lib/strtol.c lib/strtoul.c lib/strtoimax.c lib/trunc.c \ lib/asnprintf.c lib/printf-args.c lib/printf-parse.c \ lib/vasnprintf.c # Use this preprocessor expression to decide whether #include_next works. # Do not rely on a 'configure'-time test for this, since the expression # might appear in an installed header, which is used by some other compiler. HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER) # In 'sed', replace the pattern space with a "DO NOT EDIT" comment. SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */, # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT". SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading # "DO_NOT_EDIT". Although this could be done more simply via: # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t # the -n and 'w' avoid a fork+exec, at least when GNU Make is used. SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t' # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that # is its recipe's first line if and only if @NMD@ lines are absent. gl_V_at = $(AM_V_at) GPERF = gperf V_GPERF = $(V_GPERF_@AM_V@) V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@) V_GPERF_0 = @echo " GPERF " $@; # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H = $(top_srcdir)/lib/_Noreturn.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H = $(top_srcdir)/lib/arg-nonnull.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H = $(top_srcdir)/lib/c++defs.h # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H = $(top_srcdir)/lib/warn-on-use.h info_TEXINFOS = doc/datamash.texi # For the 'make html' target - generate a single HTML file # and embed the CSS statements in it. AM_MAKEINFOHTMLFLAGS = --no-split \ --css-include=$(top_srcdir)/doc/datamash-texinfo.css doc_datamash_TEXINFOS = \ doc/fdl.texi cyclo_sources = ${top_srcdir}/src/*.[ch] svweburl = "https://git.savannah.gnu.org/cgit/" gen_start_date = 2011-12-17 all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sh .sh$(EXEEXT) .trs am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/doc/local.mk $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ esac; $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/doc/local.mk $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status $(AM_V_at)rm -f stamp-h1 $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.in: $(am__configure_deps) $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER)) $(AM_V_at)rm -f stamp-h1 $(AM_V_at)touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && $(am__rm_f) $$files clean-binPROGRAMS: -$(am__rm_f) $(bin_PROGRAMS) clean-noinstLIBRARIES: -$(am__rm_f) $(noinst_LIBRARIES) lib/$(am__dirstamp): @$(MKDIR_P) lib @: >>lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) lib/$(DEPDIR) @: >>lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-arpa_inet.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-base64.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-basename-lgpl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-bitrotate.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-byteswap.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c-ctype.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c-strcasecmp.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isalnum.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isalpha.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isblank.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32iscntrl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isdigit.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isgraph.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32islower.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isprint.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32ispunct.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isspace.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isupper.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32isxdigit.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32tolower.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-c32width.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ceil.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ceill.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-cloexec.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-close.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-close-stream.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-closeout.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-af_alg.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-md5-stream.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-md5.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sha1-stream.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sha1.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sha256-stream.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sha256.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sha512-stream.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sha512.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-dirname.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-basename.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-dirname-lgpl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stripslash.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-dup2.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-error.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-exitfail.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-expl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fabsl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fcntl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fd-hook.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fflush.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-float.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-itold.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-floor.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-floorl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fpending.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fpurge.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-freading.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-free.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fseek.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fseeko.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-fstat.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ftell.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ftello.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-getdtablesize.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-getlocalename_l-unsafe.$(OBJEXT): \ lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-localename-table.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-getopt.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-getopt1.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-getprogname.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-getrandom.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-hard-locale.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-hash.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-hash-pjw.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-hash-pjw-bare.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ialloc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iconv_open.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iconv.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iconv_close.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-inet_pton.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-imaxtostr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-inttostr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-offtostr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-uinttostr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-umaxtostr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isblank.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isfinite.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isinf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iswblank.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iswdigit.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iswpunct.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-iswxdigit.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ldexp.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-ldexpl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-linebuffer.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-localcharset.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-localeconv.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-localename.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-localename-environ.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-localename-unsafe.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/glthread/$(am__dirstamp): @$(MKDIR_P) lib/glthread @: >>lib/glthread/$(am__dirstamp) lib/glthread/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) lib/glthread/$(DEPDIR) @: >>lib/glthread/$(DEPDIR)/$(am__dirstamp) lib/glthread/libdatamash_a-lock.$(OBJEXT): \ lib/glthread/$(am__dirstamp) \ lib/glthread/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-log.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-logl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-lseek.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-malloca.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-math.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbchar.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbrtoc32.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbrtowc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbsinit.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbslen.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbsstr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbszero.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbuiter.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbuiterf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-memchr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mempcpy.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-modf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-modfl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-msvc-inval.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-msvc-nothrow.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/glthread/libdatamash_a-once.$(OBJEXT): \ lib/glthread/$(am__dirstamp) \ lib/glthread/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-open.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-pclose.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-popen.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-progname.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-propername.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-pthread-once.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-quotearg.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-random.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-random_r.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-realloc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-reallocarray.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-round.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-roundl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-setlocale.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-setlocale-fixes.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-setlocale_null.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-setlocale-lock.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-setlocale_null-unlocked.$(OBJEXT): \ lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sh-quote.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-signbitf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-signbitd.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-signbitl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sqrtl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stat.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stat-time.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stdio-read.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stdio-write.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stdlib.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stpcpy.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strcasecmp.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strdup.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strerror.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strerror-override.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-striconv.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strncasecmp.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strnlen.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strnlen1.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strsep.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtod.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtold.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtoll.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtoull.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtoumax.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-sys_socket.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/glthread/libdatamash_a-threadlib.$(OBJEXT): \ lib/glthread/$(am__dirstamp) \ lib/glthread/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-trim.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-trunc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-truncl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-u64.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/unicase/$(am__dirstamp): @$(MKDIR_P) lib/unicase @: >>lib/unicase/$(am__dirstamp) lib/unicase/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) lib/unicase/$(DEPDIR) @: >>lib/unicase/$(DEPDIR)/$(am__dirstamp) lib/unicase/libdatamash_a-tolower.$(OBJEXT): \ lib/unicase/$(am__dirstamp) \ lib/unicase/$(DEPDIR)/$(am__dirstamp) lib/unictype/$(am__dirstamp): @$(MKDIR_P) lib/unictype @: >>lib/unictype/$(am__dirstamp) lib/unictype/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) lib/unictype/$(DEPDIR) @: >>lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_alnum.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_alpha.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_blank.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_cntrl.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_digit.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_graph.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_lower.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_print.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_punct.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_space.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_upper.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/unictype/libdatamash_a-ctype_xdigit.$(OBJEXT): \ lib/unictype/$(am__dirstamp) \ lib/unictype/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-unistd.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/unistr/$(am__dirstamp): @$(MKDIR_P) lib/unistr @: >>lib/unistr/$(am__dirstamp) lib/unistr/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) lib/unistr/$(DEPDIR) @: >>lib/unistr/$(DEPDIR)/$(am__dirstamp) lib/unistr/libdatamash_a-u8-mbtoucr.$(OBJEXT): \ lib/unistr/$(am__dirstamp) \ lib/unistr/$(DEPDIR)/$(am__dirstamp) lib/unistr/libdatamash_a-u8-uctomb.$(OBJEXT): \ lib/unistr/$(am__dirstamp) \ lib/unistr/$(DEPDIR)/$(am__dirstamp) lib/unistr/libdatamash_a-u8-uctomb-aux.$(OBJEXT): \ lib/unistr/$(am__dirstamp) \ lib/unistr/$(DEPDIR)/$(am__dirstamp) lib/uniwidth/$(am__dirstamp): @$(MKDIR_P) lib/uniwidth @: >>lib/uniwidth/$(am__dirstamp) lib/uniwidth/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) lib/uniwidth/$(DEPDIR) @: >>lib/uniwidth/$(DEPDIR)/$(am__dirstamp) lib/uniwidth/libdatamash_a-width.$(OBJEXT): \ lib/uniwidth/$(am__dirstamp) \ lib/uniwidth/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-version-etc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-vsnzprintf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-waitpid.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-wctype-h.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-wcwidth.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-windows-mutex.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-windows-once.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-windows-recmutex.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-windows-rwlock.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xmalloc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xalloc-die.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xsize.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xstriconv.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xstrtol.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xstrtoul.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xstrtol-error.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-xstrtoumax.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-calloc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-expl-table.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-frexp.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-frexpl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-stat-w32.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-anytostr.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isnan.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isnand.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isnanf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-isnanl.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-malloc.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-lc-charset-dispatch.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-mbtowc-lock.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-snprintf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtol.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtoul.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-strtoimax.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-asnprintf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-printf-args.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-printf-parse.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash_a-vasnprintf.$(OBJEXT): lib/$(am__dirstamp) \ lib/$(DEPDIR)/$(am__dirstamp) lib/libdatamash.a: $(lib_libdatamash_a_OBJECTS) $(lib_libdatamash_a_DEPENDENCIES) $(EXTRA_lib_libdatamash_a_DEPENDENCIES) lib/$(am__dirstamp) $(AM_V_at)-rm -f lib/libdatamash.a $(AM_V_AR)$(lib_libdatamash_a_AR) lib/libdatamash.a $(lib_libdatamash_a_OBJECTS) $(lib_libdatamash_a_LIBADD) $(AM_V_at)$(lib_libdatamash_a_RANLIB) lib/libdatamash.a src/$(am__dirstamp): @$(MKDIR_P) src @: >>src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) src/$(DEPDIR) @: >>src/$(DEPDIR)/$(am__dirstamp) src/datamash-text-options.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-utils.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-randutils.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-text-lines.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-column-headers.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-op-defs.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-op-scanner.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-op-parser.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-field-ops.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-crosstab.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-double-format.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/datamash-datamash.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) datamash$(EXEEXT): $(datamash_OBJECTS) $(datamash_DEPENDENCIES) $(EXTRA_datamash_DEPENDENCIES) @rm -f datamash$(EXEEXT) $(AM_V_CCLD)$(datamash_LINK) $(datamash_OBJECTS) $(datamash_LDADD) $(LIBS) src/decorate-decorate.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/decorate-key-compare.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/decorate-decorate-functions.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) decorate$(EXEEXT): $(decorate_OBJECTS) $(decorate_DEPENDENCIES) $(EXTRA_decorate_DEPENDENCIES) @rm -f decorate$(EXEEXT) $(AM_V_CCLD)$(decorate_LINK) $(decorate_OBJECTS) $(decorate_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f lib/*.$(OBJEXT) -rm -f lib/glthread/*.$(OBJEXT) -rm -f lib/unicase/*.$(OBJEXT) -rm -f lib/unictype/*.$(OBJEXT) -rm -f lib/unistr/*.$(OBJEXT) -rm -f lib/uniwidth/*.$(OBJEXT) -rm -f src/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-af_alg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-anytostr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-arpa_inet.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-asnprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-base64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-basename.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-bitrotate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-byteswap.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c-ctype.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isalnum.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isalpha.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isdigit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isgraph.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32islower.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isprint.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32ispunct.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isspace.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isupper.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32tolower.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-c32width.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-calloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ceil.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ceill.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-cloexec.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-close-stream.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-close.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-closeout.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-dirname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-dup2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-error.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-exitfail.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-expl-table.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-expl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fabsl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fcntl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fd-hook.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fflush.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-float.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-floor.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-floorl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fpending.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fpurge.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-freading.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-free.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-frexp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-frexpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fseek.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fseeko.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-fstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ftell.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ftello.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-getdtablesize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-getopt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-getopt1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-getprogname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-getrandom.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-hard-locale.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-hash-pjw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-hash.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ialloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iconv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iconv_close.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iconv_open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-imaxtostr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-inet_pton.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-inttostr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isfinite.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isinf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isnan.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isnand.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isnanf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-isnanl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iswblank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iswdigit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iswpunct.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-iswxdigit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-itold.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ldexp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-ldexpl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-linebuffer.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-localcharset.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-localeconv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-localename-environ.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-localename-table.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-localename.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-log.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-logl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-lseek.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-malloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-malloca.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-math.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbchar.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbrtowc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbsinit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbslen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbsstr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbszero.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbuiter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mbuiterf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-md5-stream.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-md5.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-memchr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-mempcpy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-modf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-modfl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-msvc-inval.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-offtostr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-pclose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-popen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-printf-args.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-printf-parse.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-progname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-propername.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-pthread-once.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-quotearg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-random.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-random_r.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-realloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-reallocarray.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-round.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-roundl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-setlocale.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-setlocale_null.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sh-quote.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sha1-stream.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sha1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sha256-stream.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sha256.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sha512-stream.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sha512.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-signbitd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-signbitf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-signbitl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-snprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sqrtl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stat-time.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stat-w32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stdio-read.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stdio-write.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stdlib.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stpcpy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strcasecmp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strdup.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strerror-override.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strerror.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-striconv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-stripslash.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strncasecmp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strnlen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strnlen1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strsep.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtoimax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtol.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtold.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtoll.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtoul.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtoull.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-strtoumax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-sys_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-trim.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-trunc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-truncl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-u64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-uinttostr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-umaxtostr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-unistd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-vasnprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-version-etc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-waitpid.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-wctype-h.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-wcwidth.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-windows-mutex.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-windows-once.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xalloc-die.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xmalloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xsize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xstriconv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xstrtol.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xstrtoul.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/glthread/$(DEPDIR)/libdatamash_a-lock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/glthread/$(DEPDIR)/libdatamash_a-once.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-column-headers.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-crosstab.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-datamash.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-double-format.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-field-ops.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-op-defs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-op-parser.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-op-scanner.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-randutils.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-text-lines.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-text-options.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/datamash-utils.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/decorate-decorate-functions.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/decorate-decorate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/decorate-key-compare.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @: >>$@ am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` lib/libdatamash_a-arpa_inet.o: lib/arpa_inet.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-arpa_inet.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-arpa_inet.Tpo -c -o lib/libdatamash_a-arpa_inet.o `test -f 'lib/arpa_inet.c' || echo '$(srcdir)/'`lib/arpa_inet.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-arpa_inet.Tpo lib/$(DEPDIR)/libdatamash_a-arpa_inet.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/arpa_inet.c' object='lib/libdatamash_a-arpa_inet.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-arpa_inet.o `test -f 'lib/arpa_inet.c' || echo '$(srcdir)/'`lib/arpa_inet.c lib/libdatamash_a-arpa_inet.obj: lib/arpa_inet.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-arpa_inet.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-arpa_inet.Tpo -c -o lib/libdatamash_a-arpa_inet.obj `if test -f 'lib/arpa_inet.c'; then $(CYGPATH_W) 'lib/arpa_inet.c'; else $(CYGPATH_W) '$(srcdir)/lib/arpa_inet.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-arpa_inet.Tpo lib/$(DEPDIR)/libdatamash_a-arpa_inet.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/arpa_inet.c' object='lib/libdatamash_a-arpa_inet.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-arpa_inet.obj `if test -f 'lib/arpa_inet.c'; then $(CYGPATH_W) 'lib/arpa_inet.c'; else $(CYGPATH_W) '$(srcdir)/lib/arpa_inet.c'; fi` lib/libdatamash_a-base64.o: lib/base64.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-base64.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-base64.Tpo -c -o lib/libdatamash_a-base64.o `test -f 'lib/base64.c' || echo '$(srcdir)/'`lib/base64.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-base64.Tpo lib/$(DEPDIR)/libdatamash_a-base64.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/base64.c' object='lib/libdatamash_a-base64.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-base64.o `test -f 'lib/base64.c' || echo '$(srcdir)/'`lib/base64.c lib/libdatamash_a-base64.obj: lib/base64.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-base64.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-base64.Tpo -c -o lib/libdatamash_a-base64.obj `if test -f 'lib/base64.c'; then $(CYGPATH_W) 'lib/base64.c'; else $(CYGPATH_W) '$(srcdir)/lib/base64.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-base64.Tpo lib/$(DEPDIR)/libdatamash_a-base64.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/base64.c' object='lib/libdatamash_a-base64.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-base64.obj `if test -f 'lib/base64.c'; then $(CYGPATH_W) 'lib/base64.c'; else $(CYGPATH_W) '$(srcdir)/lib/base64.c'; fi` lib/libdatamash_a-basename-lgpl.o: lib/basename-lgpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-basename-lgpl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Tpo -c -o lib/libdatamash_a-basename-lgpl.o `test -f 'lib/basename-lgpl.c' || echo '$(srcdir)/'`lib/basename-lgpl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Tpo lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/basename-lgpl.c' object='lib/libdatamash_a-basename-lgpl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-basename-lgpl.o `test -f 'lib/basename-lgpl.c' || echo '$(srcdir)/'`lib/basename-lgpl.c lib/libdatamash_a-basename-lgpl.obj: lib/basename-lgpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-basename-lgpl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Tpo -c -o lib/libdatamash_a-basename-lgpl.obj `if test -f 'lib/basename-lgpl.c'; then $(CYGPATH_W) 'lib/basename-lgpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/basename-lgpl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Tpo lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/basename-lgpl.c' object='lib/libdatamash_a-basename-lgpl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-basename-lgpl.obj `if test -f 'lib/basename-lgpl.c'; then $(CYGPATH_W) 'lib/basename-lgpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/basename-lgpl.c'; fi` lib/libdatamash_a-bitrotate.o: lib/bitrotate.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-bitrotate.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-bitrotate.Tpo -c -o lib/libdatamash_a-bitrotate.o `test -f 'lib/bitrotate.c' || echo '$(srcdir)/'`lib/bitrotate.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-bitrotate.Tpo lib/$(DEPDIR)/libdatamash_a-bitrotate.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/bitrotate.c' object='lib/libdatamash_a-bitrotate.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-bitrotate.o `test -f 'lib/bitrotate.c' || echo '$(srcdir)/'`lib/bitrotate.c lib/libdatamash_a-bitrotate.obj: lib/bitrotate.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-bitrotate.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-bitrotate.Tpo -c -o lib/libdatamash_a-bitrotate.obj `if test -f 'lib/bitrotate.c'; then $(CYGPATH_W) 'lib/bitrotate.c'; else $(CYGPATH_W) '$(srcdir)/lib/bitrotate.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-bitrotate.Tpo lib/$(DEPDIR)/libdatamash_a-bitrotate.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/bitrotate.c' object='lib/libdatamash_a-bitrotate.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-bitrotate.obj `if test -f 'lib/bitrotate.c'; then $(CYGPATH_W) 'lib/bitrotate.c'; else $(CYGPATH_W) '$(srcdir)/lib/bitrotate.c'; fi` lib/libdatamash_a-byteswap.o: lib/byteswap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-byteswap.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-byteswap.Tpo -c -o lib/libdatamash_a-byteswap.o `test -f 'lib/byteswap.c' || echo '$(srcdir)/'`lib/byteswap.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-byteswap.Tpo lib/$(DEPDIR)/libdatamash_a-byteswap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/byteswap.c' object='lib/libdatamash_a-byteswap.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-byteswap.o `test -f 'lib/byteswap.c' || echo '$(srcdir)/'`lib/byteswap.c lib/libdatamash_a-byteswap.obj: lib/byteswap.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-byteswap.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-byteswap.Tpo -c -o lib/libdatamash_a-byteswap.obj `if test -f 'lib/byteswap.c'; then $(CYGPATH_W) 'lib/byteswap.c'; else $(CYGPATH_W) '$(srcdir)/lib/byteswap.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-byteswap.Tpo lib/$(DEPDIR)/libdatamash_a-byteswap.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/byteswap.c' object='lib/libdatamash_a-byteswap.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-byteswap.obj `if test -f 'lib/byteswap.c'; then $(CYGPATH_W) 'lib/byteswap.c'; else $(CYGPATH_W) '$(srcdir)/lib/byteswap.c'; fi` lib/libdatamash_a-c-ctype.o: lib/c-ctype.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c-ctype.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c-ctype.Tpo -c -o lib/libdatamash_a-c-ctype.o `test -f 'lib/c-ctype.c' || echo '$(srcdir)/'`lib/c-ctype.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c-ctype.Tpo lib/$(DEPDIR)/libdatamash_a-c-ctype.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c-ctype.c' object='lib/libdatamash_a-c-ctype.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c-ctype.o `test -f 'lib/c-ctype.c' || echo '$(srcdir)/'`lib/c-ctype.c lib/libdatamash_a-c-ctype.obj: lib/c-ctype.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c-ctype.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c-ctype.Tpo -c -o lib/libdatamash_a-c-ctype.obj `if test -f 'lib/c-ctype.c'; then $(CYGPATH_W) 'lib/c-ctype.c'; else $(CYGPATH_W) '$(srcdir)/lib/c-ctype.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c-ctype.Tpo lib/$(DEPDIR)/libdatamash_a-c-ctype.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c-ctype.c' object='lib/libdatamash_a-c-ctype.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c-ctype.obj `if test -f 'lib/c-ctype.c'; then $(CYGPATH_W) 'lib/c-ctype.c'; else $(CYGPATH_W) '$(srcdir)/lib/c-ctype.c'; fi` lib/libdatamash_a-c-strcasecmp.o: lib/c-strcasecmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c-strcasecmp.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Tpo -c -o lib/libdatamash_a-c-strcasecmp.o `test -f 'lib/c-strcasecmp.c' || echo '$(srcdir)/'`lib/c-strcasecmp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Tpo lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c-strcasecmp.c' object='lib/libdatamash_a-c-strcasecmp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c-strcasecmp.o `test -f 'lib/c-strcasecmp.c' || echo '$(srcdir)/'`lib/c-strcasecmp.c lib/libdatamash_a-c-strcasecmp.obj: lib/c-strcasecmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c-strcasecmp.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Tpo -c -o lib/libdatamash_a-c-strcasecmp.obj `if test -f 'lib/c-strcasecmp.c'; then $(CYGPATH_W) 'lib/c-strcasecmp.c'; else $(CYGPATH_W) '$(srcdir)/lib/c-strcasecmp.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Tpo lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c-strcasecmp.c' object='lib/libdatamash_a-c-strcasecmp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c-strcasecmp.obj `if test -f 'lib/c-strcasecmp.c'; then $(CYGPATH_W) 'lib/c-strcasecmp.c'; else $(CYGPATH_W) '$(srcdir)/lib/c-strcasecmp.c'; fi` lib/libdatamash_a-c32isalnum.o: lib/c32isalnum.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isalnum.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isalnum.Tpo -c -o lib/libdatamash_a-c32isalnum.o `test -f 'lib/c32isalnum.c' || echo '$(srcdir)/'`lib/c32isalnum.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isalnum.Tpo lib/$(DEPDIR)/libdatamash_a-c32isalnum.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isalnum.c' object='lib/libdatamash_a-c32isalnum.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isalnum.o `test -f 'lib/c32isalnum.c' || echo '$(srcdir)/'`lib/c32isalnum.c lib/libdatamash_a-c32isalnum.obj: lib/c32isalnum.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isalnum.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isalnum.Tpo -c -o lib/libdatamash_a-c32isalnum.obj `if test -f 'lib/c32isalnum.c'; then $(CYGPATH_W) 'lib/c32isalnum.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isalnum.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isalnum.Tpo lib/$(DEPDIR)/libdatamash_a-c32isalnum.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isalnum.c' object='lib/libdatamash_a-c32isalnum.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isalnum.obj `if test -f 'lib/c32isalnum.c'; then $(CYGPATH_W) 'lib/c32isalnum.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isalnum.c'; fi` lib/libdatamash_a-c32isalpha.o: lib/c32isalpha.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isalpha.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isalpha.Tpo -c -o lib/libdatamash_a-c32isalpha.o `test -f 'lib/c32isalpha.c' || echo '$(srcdir)/'`lib/c32isalpha.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isalpha.Tpo lib/$(DEPDIR)/libdatamash_a-c32isalpha.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isalpha.c' object='lib/libdatamash_a-c32isalpha.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isalpha.o `test -f 'lib/c32isalpha.c' || echo '$(srcdir)/'`lib/c32isalpha.c lib/libdatamash_a-c32isalpha.obj: lib/c32isalpha.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isalpha.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isalpha.Tpo -c -o lib/libdatamash_a-c32isalpha.obj `if test -f 'lib/c32isalpha.c'; then $(CYGPATH_W) 'lib/c32isalpha.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isalpha.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isalpha.Tpo lib/$(DEPDIR)/libdatamash_a-c32isalpha.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isalpha.c' object='lib/libdatamash_a-c32isalpha.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isalpha.obj `if test -f 'lib/c32isalpha.c'; then $(CYGPATH_W) 'lib/c32isalpha.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isalpha.c'; fi` lib/libdatamash_a-c32isblank.o: lib/c32isblank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isblank.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isblank.Tpo -c -o lib/libdatamash_a-c32isblank.o `test -f 'lib/c32isblank.c' || echo '$(srcdir)/'`lib/c32isblank.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isblank.Tpo lib/$(DEPDIR)/libdatamash_a-c32isblank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isblank.c' object='lib/libdatamash_a-c32isblank.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isblank.o `test -f 'lib/c32isblank.c' || echo '$(srcdir)/'`lib/c32isblank.c lib/libdatamash_a-c32isblank.obj: lib/c32isblank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isblank.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isblank.Tpo -c -o lib/libdatamash_a-c32isblank.obj `if test -f 'lib/c32isblank.c'; then $(CYGPATH_W) 'lib/c32isblank.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isblank.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isblank.Tpo lib/$(DEPDIR)/libdatamash_a-c32isblank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isblank.c' object='lib/libdatamash_a-c32isblank.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isblank.obj `if test -f 'lib/c32isblank.c'; then $(CYGPATH_W) 'lib/c32isblank.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isblank.c'; fi` lib/libdatamash_a-c32iscntrl.o: lib/c32iscntrl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32iscntrl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Tpo -c -o lib/libdatamash_a-c32iscntrl.o `test -f 'lib/c32iscntrl.c' || echo '$(srcdir)/'`lib/c32iscntrl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Tpo lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32iscntrl.c' object='lib/libdatamash_a-c32iscntrl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32iscntrl.o `test -f 'lib/c32iscntrl.c' || echo '$(srcdir)/'`lib/c32iscntrl.c lib/libdatamash_a-c32iscntrl.obj: lib/c32iscntrl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32iscntrl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Tpo -c -o lib/libdatamash_a-c32iscntrl.obj `if test -f 'lib/c32iscntrl.c'; then $(CYGPATH_W) 'lib/c32iscntrl.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32iscntrl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Tpo lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32iscntrl.c' object='lib/libdatamash_a-c32iscntrl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32iscntrl.obj `if test -f 'lib/c32iscntrl.c'; then $(CYGPATH_W) 'lib/c32iscntrl.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32iscntrl.c'; fi` lib/libdatamash_a-c32isdigit.o: lib/c32isdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isdigit.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isdigit.Tpo -c -o lib/libdatamash_a-c32isdigit.o `test -f 'lib/c32isdigit.c' || echo '$(srcdir)/'`lib/c32isdigit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isdigit.Tpo lib/$(DEPDIR)/libdatamash_a-c32isdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isdigit.c' object='lib/libdatamash_a-c32isdigit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isdigit.o `test -f 'lib/c32isdigit.c' || echo '$(srcdir)/'`lib/c32isdigit.c lib/libdatamash_a-c32isdigit.obj: lib/c32isdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isdigit.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isdigit.Tpo -c -o lib/libdatamash_a-c32isdigit.obj `if test -f 'lib/c32isdigit.c'; then $(CYGPATH_W) 'lib/c32isdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isdigit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isdigit.Tpo lib/$(DEPDIR)/libdatamash_a-c32isdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isdigit.c' object='lib/libdatamash_a-c32isdigit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isdigit.obj `if test -f 'lib/c32isdigit.c'; then $(CYGPATH_W) 'lib/c32isdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isdigit.c'; fi` lib/libdatamash_a-c32isgraph.o: lib/c32isgraph.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isgraph.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isgraph.Tpo -c -o lib/libdatamash_a-c32isgraph.o `test -f 'lib/c32isgraph.c' || echo '$(srcdir)/'`lib/c32isgraph.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isgraph.Tpo lib/$(DEPDIR)/libdatamash_a-c32isgraph.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isgraph.c' object='lib/libdatamash_a-c32isgraph.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isgraph.o `test -f 'lib/c32isgraph.c' || echo '$(srcdir)/'`lib/c32isgraph.c lib/libdatamash_a-c32isgraph.obj: lib/c32isgraph.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isgraph.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isgraph.Tpo -c -o lib/libdatamash_a-c32isgraph.obj `if test -f 'lib/c32isgraph.c'; then $(CYGPATH_W) 'lib/c32isgraph.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isgraph.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isgraph.Tpo lib/$(DEPDIR)/libdatamash_a-c32isgraph.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isgraph.c' object='lib/libdatamash_a-c32isgraph.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isgraph.obj `if test -f 'lib/c32isgraph.c'; then $(CYGPATH_W) 'lib/c32isgraph.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isgraph.c'; fi` lib/libdatamash_a-c32islower.o: lib/c32islower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32islower.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32islower.Tpo -c -o lib/libdatamash_a-c32islower.o `test -f 'lib/c32islower.c' || echo '$(srcdir)/'`lib/c32islower.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32islower.Tpo lib/$(DEPDIR)/libdatamash_a-c32islower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32islower.c' object='lib/libdatamash_a-c32islower.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32islower.o `test -f 'lib/c32islower.c' || echo '$(srcdir)/'`lib/c32islower.c lib/libdatamash_a-c32islower.obj: lib/c32islower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32islower.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32islower.Tpo -c -o lib/libdatamash_a-c32islower.obj `if test -f 'lib/c32islower.c'; then $(CYGPATH_W) 'lib/c32islower.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32islower.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32islower.Tpo lib/$(DEPDIR)/libdatamash_a-c32islower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32islower.c' object='lib/libdatamash_a-c32islower.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32islower.obj `if test -f 'lib/c32islower.c'; then $(CYGPATH_W) 'lib/c32islower.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32islower.c'; fi` lib/libdatamash_a-c32isprint.o: lib/c32isprint.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isprint.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isprint.Tpo -c -o lib/libdatamash_a-c32isprint.o `test -f 'lib/c32isprint.c' || echo '$(srcdir)/'`lib/c32isprint.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isprint.Tpo lib/$(DEPDIR)/libdatamash_a-c32isprint.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isprint.c' object='lib/libdatamash_a-c32isprint.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isprint.o `test -f 'lib/c32isprint.c' || echo '$(srcdir)/'`lib/c32isprint.c lib/libdatamash_a-c32isprint.obj: lib/c32isprint.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isprint.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isprint.Tpo -c -o lib/libdatamash_a-c32isprint.obj `if test -f 'lib/c32isprint.c'; then $(CYGPATH_W) 'lib/c32isprint.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isprint.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isprint.Tpo lib/$(DEPDIR)/libdatamash_a-c32isprint.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isprint.c' object='lib/libdatamash_a-c32isprint.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isprint.obj `if test -f 'lib/c32isprint.c'; then $(CYGPATH_W) 'lib/c32isprint.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isprint.c'; fi` lib/libdatamash_a-c32ispunct.o: lib/c32ispunct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32ispunct.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32ispunct.Tpo -c -o lib/libdatamash_a-c32ispunct.o `test -f 'lib/c32ispunct.c' || echo '$(srcdir)/'`lib/c32ispunct.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32ispunct.Tpo lib/$(DEPDIR)/libdatamash_a-c32ispunct.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32ispunct.c' object='lib/libdatamash_a-c32ispunct.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32ispunct.o `test -f 'lib/c32ispunct.c' || echo '$(srcdir)/'`lib/c32ispunct.c lib/libdatamash_a-c32ispunct.obj: lib/c32ispunct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32ispunct.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32ispunct.Tpo -c -o lib/libdatamash_a-c32ispunct.obj `if test -f 'lib/c32ispunct.c'; then $(CYGPATH_W) 'lib/c32ispunct.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32ispunct.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32ispunct.Tpo lib/$(DEPDIR)/libdatamash_a-c32ispunct.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32ispunct.c' object='lib/libdatamash_a-c32ispunct.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32ispunct.obj `if test -f 'lib/c32ispunct.c'; then $(CYGPATH_W) 'lib/c32ispunct.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32ispunct.c'; fi` lib/libdatamash_a-c32isspace.o: lib/c32isspace.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isspace.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isspace.Tpo -c -o lib/libdatamash_a-c32isspace.o `test -f 'lib/c32isspace.c' || echo '$(srcdir)/'`lib/c32isspace.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isspace.Tpo lib/$(DEPDIR)/libdatamash_a-c32isspace.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isspace.c' object='lib/libdatamash_a-c32isspace.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isspace.o `test -f 'lib/c32isspace.c' || echo '$(srcdir)/'`lib/c32isspace.c lib/libdatamash_a-c32isspace.obj: lib/c32isspace.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isspace.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isspace.Tpo -c -o lib/libdatamash_a-c32isspace.obj `if test -f 'lib/c32isspace.c'; then $(CYGPATH_W) 'lib/c32isspace.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isspace.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isspace.Tpo lib/$(DEPDIR)/libdatamash_a-c32isspace.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isspace.c' object='lib/libdatamash_a-c32isspace.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isspace.obj `if test -f 'lib/c32isspace.c'; then $(CYGPATH_W) 'lib/c32isspace.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isspace.c'; fi` lib/libdatamash_a-c32isupper.o: lib/c32isupper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isupper.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isupper.Tpo -c -o lib/libdatamash_a-c32isupper.o `test -f 'lib/c32isupper.c' || echo '$(srcdir)/'`lib/c32isupper.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isupper.Tpo lib/$(DEPDIR)/libdatamash_a-c32isupper.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isupper.c' object='lib/libdatamash_a-c32isupper.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isupper.o `test -f 'lib/c32isupper.c' || echo '$(srcdir)/'`lib/c32isupper.c lib/libdatamash_a-c32isupper.obj: lib/c32isupper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isupper.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isupper.Tpo -c -o lib/libdatamash_a-c32isupper.obj `if test -f 'lib/c32isupper.c'; then $(CYGPATH_W) 'lib/c32isupper.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isupper.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isupper.Tpo lib/$(DEPDIR)/libdatamash_a-c32isupper.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isupper.c' object='lib/libdatamash_a-c32isupper.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isupper.obj `if test -f 'lib/c32isupper.c'; then $(CYGPATH_W) 'lib/c32isupper.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isupper.c'; fi` lib/libdatamash_a-c32isxdigit.o: lib/c32isxdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isxdigit.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Tpo -c -o lib/libdatamash_a-c32isxdigit.o `test -f 'lib/c32isxdigit.c' || echo '$(srcdir)/'`lib/c32isxdigit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Tpo lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isxdigit.c' object='lib/libdatamash_a-c32isxdigit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isxdigit.o `test -f 'lib/c32isxdigit.c' || echo '$(srcdir)/'`lib/c32isxdigit.c lib/libdatamash_a-c32isxdigit.obj: lib/c32isxdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32isxdigit.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Tpo -c -o lib/libdatamash_a-c32isxdigit.obj `if test -f 'lib/c32isxdigit.c'; then $(CYGPATH_W) 'lib/c32isxdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isxdigit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Tpo lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32isxdigit.c' object='lib/libdatamash_a-c32isxdigit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32isxdigit.obj `if test -f 'lib/c32isxdigit.c'; then $(CYGPATH_W) 'lib/c32isxdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32isxdigit.c'; fi` lib/libdatamash_a-c32tolower.o: lib/c32tolower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32tolower.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32tolower.Tpo -c -o lib/libdatamash_a-c32tolower.o `test -f 'lib/c32tolower.c' || echo '$(srcdir)/'`lib/c32tolower.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32tolower.Tpo lib/$(DEPDIR)/libdatamash_a-c32tolower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32tolower.c' object='lib/libdatamash_a-c32tolower.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32tolower.o `test -f 'lib/c32tolower.c' || echo '$(srcdir)/'`lib/c32tolower.c lib/libdatamash_a-c32tolower.obj: lib/c32tolower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32tolower.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32tolower.Tpo -c -o lib/libdatamash_a-c32tolower.obj `if test -f 'lib/c32tolower.c'; then $(CYGPATH_W) 'lib/c32tolower.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32tolower.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32tolower.Tpo lib/$(DEPDIR)/libdatamash_a-c32tolower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32tolower.c' object='lib/libdatamash_a-c32tolower.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32tolower.obj `if test -f 'lib/c32tolower.c'; then $(CYGPATH_W) 'lib/c32tolower.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32tolower.c'; fi` lib/libdatamash_a-c32width.o: lib/c32width.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32width.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32width.Tpo -c -o lib/libdatamash_a-c32width.o `test -f 'lib/c32width.c' || echo '$(srcdir)/'`lib/c32width.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32width.Tpo lib/$(DEPDIR)/libdatamash_a-c32width.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32width.c' object='lib/libdatamash_a-c32width.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32width.o `test -f 'lib/c32width.c' || echo '$(srcdir)/'`lib/c32width.c lib/libdatamash_a-c32width.obj: lib/c32width.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-c32width.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-c32width.Tpo -c -o lib/libdatamash_a-c32width.obj `if test -f 'lib/c32width.c'; then $(CYGPATH_W) 'lib/c32width.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32width.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-c32width.Tpo lib/$(DEPDIR)/libdatamash_a-c32width.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/c32width.c' object='lib/libdatamash_a-c32width.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-c32width.obj `if test -f 'lib/c32width.c'; then $(CYGPATH_W) 'lib/c32width.c'; else $(CYGPATH_W) '$(srcdir)/lib/c32width.c'; fi` lib/libdatamash_a-ceil.o: lib/ceil.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ceil.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ceil.Tpo -c -o lib/libdatamash_a-ceil.o `test -f 'lib/ceil.c' || echo '$(srcdir)/'`lib/ceil.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ceil.Tpo lib/$(DEPDIR)/libdatamash_a-ceil.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ceil.c' object='lib/libdatamash_a-ceil.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ceil.o `test -f 'lib/ceil.c' || echo '$(srcdir)/'`lib/ceil.c lib/libdatamash_a-ceil.obj: lib/ceil.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ceil.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ceil.Tpo -c -o lib/libdatamash_a-ceil.obj `if test -f 'lib/ceil.c'; then $(CYGPATH_W) 'lib/ceil.c'; else $(CYGPATH_W) '$(srcdir)/lib/ceil.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ceil.Tpo lib/$(DEPDIR)/libdatamash_a-ceil.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ceil.c' object='lib/libdatamash_a-ceil.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ceil.obj `if test -f 'lib/ceil.c'; then $(CYGPATH_W) 'lib/ceil.c'; else $(CYGPATH_W) '$(srcdir)/lib/ceil.c'; fi` lib/libdatamash_a-ceill.o: lib/ceill.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ceill.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ceill.Tpo -c -o lib/libdatamash_a-ceill.o `test -f 'lib/ceill.c' || echo '$(srcdir)/'`lib/ceill.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ceill.Tpo lib/$(DEPDIR)/libdatamash_a-ceill.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ceill.c' object='lib/libdatamash_a-ceill.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ceill.o `test -f 'lib/ceill.c' || echo '$(srcdir)/'`lib/ceill.c lib/libdatamash_a-ceill.obj: lib/ceill.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ceill.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ceill.Tpo -c -o lib/libdatamash_a-ceill.obj `if test -f 'lib/ceill.c'; then $(CYGPATH_W) 'lib/ceill.c'; else $(CYGPATH_W) '$(srcdir)/lib/ceill.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ceill.Tpo lib/$(DEPDIR)/libdatamash_a-ceill.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ceill.c' object='lib/libdatamash_a-ceill.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ceill.obj `if test -f 'lib/ceill.c'; then $(CYGPATH_W) 'lib/ceill.c'; else $(CYGPATH_W) '$(srcdir)/lib/ceill.c'; fi` lib/libdatamash_a-cloexec.o: lib/cloexec.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-cloexec.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-cloexec.Tpo -c -o lib/libdatamash_a-cloexec.o `test -f 'lib/cloexec.c' || echo '$(srcdir)/'`lib/cloexec.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-cloexec.Tpo lib/$(DEPDIR)/libdatamash_a-cloexec.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cloexec.c' object='lib/libdatamash_a-cloexec.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-cloexec.o `test -f 'lib/cloexec.c' || echo '$(srcdir)/'`lib/cloexec.c lib/libdatamash_a-cloexec.obj: lib/cloexec.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-cloexec.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-cloexec.Tpo -c -o lib/libdatamash_a-cloexec.obj `if test -f 'lib/cloexec.c'; then $(CYGPATH_W) 'lib/cloexec.c'; else $(CYGPATH_W) '$(srcdir)/lib/cloexec.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-cloexec.Tpo lib/$(DEPDIR)/libdatamash_a-cloexec.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cloexec.c' object='lib/libdatamash_a-cloexec.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-cloexec.obj `if test -f 'lib/cloexec.c'; then $(CYGPATH_W) 'lib/cloexec.c'; else $(CYGPATH_W) '$(srcdir)/lib/cloexec.c'; fi` lib/libdatamash_a-close.o: lib/close.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-close.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-close.Tpo -c -o lib/libdatamash_a-close.o `test -f 'lib/close.c' || echo '$(srcdir)/'`lib/close.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-close.Tpo lib/$(DEPDIR)/libdatamash_a-close.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/close.c' object='lib/libdatamash_a-close.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-close.o `test -f 'lib/close.c' || echo '$(srcdir)/'`lib/close.c lib/libdatamash_a-close.obj: lib/close.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-close.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-close.Tpo -c -o lib/libdatamash_a-close.obj `if test -f 'lib/close.c'; then $(CYGPATH_W) 'lib/close.c'; else $(CYGPATH_W) '$(srcdir)/lib/close.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-close.Tpo lib/$(DEPDIR)/libdatamash_a-close.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/close.c' object='lib/libdatamash_a-close.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-close.obj `if test -f 'lib/close.c'; then $(CYGPATH_W) 'lib/close.c'; else $(CYGPATH_W) '$(srcdir)/lib/close.c'; fi` lib/libdatamash_a-close-stream.o: lib/close-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-close-stream.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-close-stream.Tpo -c -o lib/libdatamash_a-close-stream.o `test -f 'lib/close-stream.c' || echo '$(srcdir)/'`lib/close-stream.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-close-stream.Tpo lib/$(DEPDIR)/libdatamash_a-close-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/close-stream.c' object='lib/libdatamash_a-close-stream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-close-stream.o `test -f 'lib/close-stream.c' || echo '$(srcdir)/'`lib/close-stream.c lib/libdatamash_a-close-stream.obj: lib/close-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-close-stream.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-close-stream.Tpo -c -o lib/libdatamash_a-close-stream.obj `if test -f 'lib/close-stream.c'; then $(CYGPATH_W) 'lib/close-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/close-stream.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-close-stream.Tpo lib/$(DEPDIR)/libdatamash_a-close-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/close-stream.c' object='lib/libdatamash_a-close-stream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-close-stream.obj `if test -f 'lib/close-stream.c'; then $(CYGPATH_W) 'lib/close-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/close-stream.c'; fi` lib/libdatamash_a-closeout.o: lib/closeout.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-closeout.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-closeout.Tpo -c -o lib/libdatamash_a-closeout.o `test -f 'lib/closeout.c' || echo '$(srcdir)/'`lib/closeout.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-closeout.Tpo lib/$(DEPDIR)/libdatamash_a-closeout.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/closeout.c' object='lib/libdatamash_a-closeout.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-closeout.o `test -f 'lib/closeout.c' || echo '$(srcdir)/'`lib/closeout.c lib/libdatamash_a-closeout.obj: lib/closeout.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-closeout.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-closeout.Tpo -c -o lib/libdatamash_a-closeout.obj `if test -f 'lib/closeout.c'; then $(CYGPATH_W) 'lib/closeout.c'; else $(CYGPATH_W) '$(srcdir)/lib/closeout.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-closeout.Tpo lib/$(DEPDIR)/libdatamash_a-closeout.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/closeout.c' object='lib/libdatamash_a-closeout.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-closeout.obj `if test -f 'lib/closeout.c'; then $(CYGPATH_W) 'lib/closeout.c'; else $(CYGPATH_W) '$(srcdir)/lib/closeout.c'; fi` lib/libdatamash_a-af_alg.o: lib/af_alg.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-af_alg.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-af_alg.Tpo -c -o lib/libdatamash_a-af_alg.o `test -f 'lib/af_alg.c' || echo '$(srcdir)/'`lib/af_alg.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-af_alg.Tpo lib/$(DEPDIR)/libdatamash_a-af_alg.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/af_alg.c' object='lib/libdatamash_a-af_alg.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-af_alg.o `test -f 'lib/af_alg.c' || echo '$(srcdir)/'`lib/af_alg.c lib/libdatamash_a-af_alg.obj: lib/af_alg.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-af_alg.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-af_alg.Tpo -c -o lib/libdatamash_a-af_alg.obj `if test -f 'lib/af_alg.c'; then $(CYGPATH_W) 'lib/af_alg.c'; else $(CYGPATH_W) '$(srcdir)/lib/af_alg.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-af_alg.Tpo lib/$(DEPDIR)/libdatamash_a-af_alg.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/af_alg.c' object='lib/libdatamash_a-af_alg.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-af_alg.obj `if test -f 'lib/af_alg.c'; then $(CYGPATH_W) 'lib/af_alg.c'; else $(CYGPATH_W) '$(srcdir)/lib/af_alg.c'; fi` lib/libdatamash_a-md5-stream.o: lib/md5-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-md5-stream.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-md5-stream.Tpo -c -o lib/libdatamash_a-md5-stream.o `test -f 'lib/md5-stream.c' || echo '$(srcdir)/'`lib/md5-stream.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-md5-stream.Tpo lib/$(DEPDIR)/libdatamash_a-md5-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/md5-stream.c' object='lib/libdatamash_a-md5-stream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-md5-stream.o `test -f 'lib/md5-stream.c' || echo '$(srcdir)/'`lib/md5-stream.c lib/libdatamash_a-md5-stream.obj: lib/md5-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-md5-stream.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-md5-stream.Tpo -c -o lib/libdatamash_a-md5-stream.obj `if test -f 'lib/md5-stream.c'; then $(CYGPATH_W) 'lib/md5-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/md5-stream.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-md5-stream.Tpo lib/$(DEPDIR)/libdatamash_a-md5-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/md5-stream.c' object='lib/libdatamash_a-md5-stream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-md5-stream.obj `if test -f 'lib/md5-stream.c'; then $(CYGPATH_W) 'lib/md5-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/md5-stream.c'; fi` lib/libdatamash_a-md5.o: lib/md5.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-md5.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-md5.Tpo -c -o lib/libdatamash_a-md5.o `test -f 'lib/md5.c' || echo '$(srcdir)/'`lib/md5.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-md5.Tpo lib/$(DEPDIR)/libdatamash_a-md5.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/md5.c' object='lib/libdatamash_a-md5.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-md5.o `test -f 'lib/md5.c' || echo '$(srcdir)/'`lib/md5.c lib/libdatamash_a-md5.obj: lib/md5.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-md5.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-md5.Tpo -c -o lib/libdatamash_a-md5.obj `if test -f 'lib/md5.c'; then $(CYGPATH_W) 'lib/md5.c'; else $(CYGPATH_W) '$(srcdir)/lib/md5.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-md5.Tpo lib/$(DEPDIR)/libdatamash_a-md5.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/md5.c' object='lib/libdatamash_a-md5.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-md5.obj `if test -f 'lib/md5.c'; then $(CYGPATH_W) 'lib/md5.c'; else $(CYGPATH_W) '$(srcdir)/lib/md5.c'; fi` lib/libdatamash_a-sha1-stream.o: lib/sha1-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha1-stream.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha1-stream.Tpo -c -o lib/libdatamash_a-sha1-stream.o `test -f 'lib/sha1-stream.c' || echo '$(srcdir)/'`lib/sha1-stream.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha1-stream.Tpo lib/$(DEPDIR)/libdatamash_a-sha1-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha1-stream.c' object='lib/libdatamash_a-sha1-stream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha1-stream.o `test -f 'lib/sha1-stream.c' || echo '$(srcdir)/'`lib/sha1-stream.c lib/libdatamash_a-sha1-stream.obj: lib/sha1-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha1-stream.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha1-stream.Tpo -c -o lib/libdatamash_a-sha1-stream.obj `if test -f 'lib/sha1-stream.c'; then $(CYGPATH_W) 'lib/sha1-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha1-stream.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha1-stream.Tpo lib/$(DEPDIR)/libdatamash_a-sha1-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha1-stream.c' object='lib/libdatamash_a-sha1-stream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha1-stream.obj `if test -f 'lib/sha1-stream.c'; then $(CYGPATH_W) 'lib/sha1-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha1-stream.c'; fi` lib/libdatamash_a-sha1.o: lib/sha1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha1.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha1.Tpo -c -o lib/libdatamash_a-sha1.o `test -f 'lib/sha1.c' || echo '$(srcdir)/'`lib/sha1.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha1.Tpo lib/$(DEPDIR)/libdatamash_a-sha1.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha1.c' object='lib/libdatamash_a-sha1.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha1.o `test -f 'lib/sha1.c' || echo '$(srcdir)/'`lib/sha1.c lib/libdatamash_a-sha1.obj: lib/sha1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha1.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha1.Tpo -c -o lib/libdatamash_a-sha1.obj `if test -f 'lib/sha1.c'; then $(CYGPATH_W) 'lib/sha1.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha1.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha1.Tpo lib/$(DEPDIR)/libdatamash_a-sha1.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha1.c' object='lib/libdatamash_a-sha1.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha1.obj `if test -f 'lib/sha1.c'; then $(CYGPATH_W) 'lib/sha1.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha1.c'; fi` lib/libdatamash_a-sha256-stream.o: lib/sha256-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha256-stream.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha256-stream.Tpo -c -o lib/libdatamash_a-sha256-stream.o `test -f 'lib/sha256-stream.c' || echo '$(srcdir)/'`lib/sha256-stream.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha256-stream.Tpo lib/$(DEPDIR)/libdatamash_a-sha256-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha256-stream.c' object='lib/libdatamash_a-sha256-stream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha256-stream.o `test -f 'lib/sha256-stream.c' || echo '$(srcdir)/'`lib/sha256-stream.c lib/libdatamash_a-sha256-stream.obj: lib/sha256-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha256-stream.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha256-stream.Tpo -c -o lib/libdatamash_a-sha256-stream.obj `if test -f 'lib/sha256-stream.c'; then $(CYGPATH_W) 'lib/sha256-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha256-stream.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha256-stream.Tpo lib/$(DEPDIR)/libdatamash_a-sha256-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha256-stream.c' object='lib/libdatamash_a-sha256-stream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha256-stream.obj `if test -f 'lib/sha256-stream.c'; then $(CYGPATH_W) 'lib/sha256-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha256-stream.c'; fi` lib/libdatamash_a-sha256.o: lib/sha256.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha256.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha256.Tpo -c -o lib/libdatamash_a-sha256.o `test -f 'lib/sha256.c' || echo '$(srcdir)/'`lib/sha256.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha256.Tpo lib/$(DEPDIR)/libdatamash_a-sha256.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha256.c' object='lib/libdatamash_a-sha256.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha256.o `test -f 'lib/sha256.c' || echo '$(srcdir)/'`lib/sha256.c lib/libdatamash_a-sha256.obj: lib/sha256.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha256.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha256.Tpo -c -o lib/libdatamash_a-sha256.obj `if test -f 'lib/sha256.c'; then $(CYGPATH_W) 'lib/sha256.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha256.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha256.Tpo lib/$(DEPDIR)/libdatamash_a-sha256.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha256.c' object='lib/libdatamash_a-sha256.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha256.obj `if test -f 'lib/sha256.c'; then $(CYGPATH_W) 'lib/sha256.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha256.c'; fi` lib/libdatamash_a-sha512-stream.o: lib/sha512-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha512-stream.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha512-stream.Tpo -c -o lib/libdatamash_a-sha512-stream.o `test -f 'lib/sha512-stream.c' || echo '$(srcdir)/'`lib/sha512-stream.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha512-stream.Tpo lib/$(DEPDIR)/libdatamash_a-sha512-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha512-stream.c' object='lib/libdatamash_a-sha512-stream.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha512-stream.o `test -f 'lib/sha512-stream.c' || echo '$(srcdir)/'`lib/sha512-stream.c lib/libdatamash_a-sha512-stream.obj: lib/sha512-stream.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha512-stream.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha512-stream.Tpo -c -o lib/libdatamash_a-sha512-stream.obj `if test -f 'lib/sha512-stream.c'; then $(CYGPATH_W) 'lib/sha512-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha512-stream.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha512-stream.Tpo lib/$(DEPDIR)/libdatamash_a-sha512-stream.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha512-stream.c' object='lib/libdatamash_a-sha512-stream.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha512-stream.obj `if test -f 'lib/sha512-stream.c'; then $(CYGPATH_W) 'lib/sha512-stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha512-stream.c'; fi` lib/libdatamash_a-sha512.o: lib/sha512.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha512.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha512.Tpo -c -o lib/libdatamash_a-sha512.o `test -f 'lib/sha512.c' || echo '$(srcdir)/'`lib/sha512.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha512.Tpo lib/$(DEPDIR)/libdatamash_a-sha512.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha512.c' object='lib/libdatamash_a-sha512.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha512.o `test -f 'lib/sha512.c' || echo '$(srcdir)/'`lib/sha512.c lib/libdatamash_a-sha512.obj: lib/sha512.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sha512.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sha512.Tpo -c -o lib/libdatamash_a-sha512.obj `if test -f 'lib/sha512.c'; then $(CYGPATH_W) 'lib/sha512.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha512.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sha512.Tpo lib/$(DEPDIR)/libdatamash_a-sha512.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha512.c' object='lib/libdatamash_a-sha512.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sha512.obj `if test -f 'lib/sha512.c'; then $(CYGPATH_W) 'lib/sha512.c'; else $(CYGPATH_W) '$(srcdir)/lib/sha512.c'; fi` lib/libdatamash_a-dirname.o: lib/dirname.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-dirname.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-dirname.Tpo -c -o lib/libdatamash_a-dirname.o `test -f 'lib/dirname.c' || echo '$(srcdir)/'`lib/dirname.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-dirname.Tpo lib/$(DEPDIR)/libdatamash_a-dirname.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/dirname.c' object='lib/libdatamash_a-dirname.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-dirname.o `test -f 'lib/dirname.c' || echo '$(srcdir)/'`lib/dirname.c lib/libdatamash_a-dirname.obj: lib/dirname.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-dirname.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-dirname.Tpo -c -o lib/libdatamash_a-dirname.obj `if test -f 'lib/dirname.c'; then $(CYGPATH_W) 'lib/dirname.c'; else $(CYGPATH_W) '$(srcdir)/lib/dirname.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-dirname.Tpo lib/$(DEPDIR)/libdatamash_a-dirname.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/dirname.c' object='lib/libdatamash_a-dirname.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-dirname.obj `if test -f 'lib/dirname.c'; then $(CYGPATH_W) 'lib/dirname.c'; else $(CYGPATH_W) '$(srcdir)/lib/dirname.c'; fi` lib/libdatamash_a-basename.o: lib/basename.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-basename.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-basename.Tpo -c -o lib/libdatamash_a-basename.o `test -f 'lib/basename.c' || echo '$(srcdir)/'`lib/basename.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-basename.Tpo lib/$(DEPDIR)/libdatamash_a-basename.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/basename.c' object='lib/libdatamash_a-basename.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-basename.o `test -f 'lib/basename.c' || echo '$(srcdir)/'`lib/basename.c lib/libdatamash_a-basename.obj: lib/basename.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-basename.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-basename.Tpo -c -o lib/libdatamash_a-basename.obj `if test -f 'lib/basename.c'; then $(CYGPATH_W) 'lib/basename.c'; else $(CYGPATH_W) '$(srcdir)/lib/basename.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-basename.Tpo lib/$(DEPDIR)/libdatamash_a-basename.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/basename.c' object='lib/libdatamash_a-basename.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-basename.obj `if test -f 'lib/basename.c'; then $(CYGPATH_W) 'lib/basename.c'; else $(CYGPATH_W) '$(srcdir)/lib/basename.c'; fi` lib/libdatamash_a-dirname-lgpl.o: lib/dirname-lgpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-dirname-lgpl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Tpo -c -o lib/libdatamash_a-dirname-lgpl.o `test -f 'lib/dirname-lgpl.c' || echo '$(srcdir)/'`lib/dirname-lgpl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Tpo lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/dirname-lgpl.c' object='lib/libdatamash_a-dirname-lgpl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-dirname-lgpl.o `test -f 'lib/dirname-lgpl.c' || echo '$(srcdir)/'`lib/dirname-lgpl.c lib/libdatamash_a-dirname-lgpl.obj: lib/dirname-lgpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-dirname-lgpl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Tpo -c -o lib/libdatamash_a-dirname-lgpl.obj `if test -f 'lib/dirname-lgpl.c'; then $(CYGPATH_W) 'lib/dirname-lgpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/dirname-lgpl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Tpo lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/dirname-lgpl.c' object='lib/libdatamash_a-dirname-lgpl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-dirname-lgpl.obj `if test -f 'lib/dirname-lgpl.c'; then $(CYGPATH_W) 'lib/dirname-lgpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/dirname-lgpl.c'; fi` lib/libdatamash_a-stripslash.o: lib/stripslash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stripslash.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stripslash.Tpo -c -o lib/libdatamash_a-stripslash.o `test -f 'lib/stripslash.c' || echo '$(srcdir)/'`lib/stripslash.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stripslash.Tpo lib/$(DEPDIR)/libdatamash_a-stripslash.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stripslash.c' object='lib/libdatamash_a-stripslash.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stripslash.o `test -f 'lib/stripslash.c' || echo '$(srcdir)/'`lib/stripslash.c lib/libdatamash_a-stripslash.obj: lib/stripslash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stripslash.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stripslash.Tpo -c -o lib/libdatamash_a-stripslash.obj `if test -f 'lib/stripslash.c'; then $(CYGPATH_W) 'lib/stripslash.c'; else $(CYGPATH_W) '$(srcdir)/lib/stripslash.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stripslash.Tpo lib/$(DEPDIR)/libdatamash_a-stripslash.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stripslash.c' object='lib/libdatamash_a-stripslash.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stripslash.obj `if test -f 'lib/stripslash.c'; then $(CYGPATH_W) 'lib/stripslash.c'; else $(CYGPATH_W) '$(srcdir)/lib/stripslash.c'; fi` lib/libdatamash_a-dup2.o: lib/dup2.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-dup2.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-dup2.Tpo -c -o lib/libdatamash_a-dup2.o `test -f 'lib/dup2.c' || echo '$(srcdir)/'`lib/dup2.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-dup2.Tpo lib/$(DEPDIR)/libdatamash_a-dup2.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/dup2.c' object='lib/libdatamash_a-dup2.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-dup2.o `test -f 'lib/dup2.c' || echo '$(srcdir)/'`lib/dup2.c lib/libdatamash_a-dup2.obj: lib/dup2.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-dup2.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-dup2.Tpo -c -o lib/libdatamash_a-dup2.obj `if test -f 'lib/dup2.c'; then $(CYGPATH_W) 'lib/dup2.c'; else $(CYGPATH_W) '$(srcdir)/lib/dup2.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-dup2.Tpo lib/$(DEPDIR)/libdatamash_a-dup2.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/dup2.c' object='lib/libdatamash_a-dup2.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-dup2.obj `if test -f 'lib/dup2.c'; then $(CYGPATH_W) 'lib/dup2.c'; else $(CYGPATH_W) '$(srcdir)/lib/dup2.c'; fi` lib/libdatamash_a-error.o: lib/error.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-error.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-error.Tpo -c -o lib/libdatamash_a-error.o `test -f 'lib/error.c' || echo '$(srcdir)/'`lib/error.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-error.Tpo lib/$(DEPDIR)/libdatamash_a-error.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/error.c' object='lib/libdatamash_a-error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-error.o `test -f 'lib/error.c' || echo '$(srcdir)/'`lib/error.c lib/libdatamash_a-error.obj: lib/error.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-error.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-error.Tpo -c -o lib/libdatamash_a-error.obj `if test -f 'lib/error.c'; then $(CYGPATH_W) 'lib/error.c'; else $(CYGPATH_W) '$(srcdir)/lib/error.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-error.Tpo lib/$(DEPDIR)/libdatamash_a-error.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/error.c' object='lib/libdatamash_a-error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-error.obj `if test -f 'lib/error.c'; then $(CYGPATH_W) 'lib/error.c'; else $(CYGPATH_W) '$(srcdir)/lib/error.c'; fi` lib/libdatamash_a-exitfail.o: lib/exitfail.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-exitfail.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-exitfail.Tpo -c -o lib/libdatamash_a-exitfail.o `test -f 'lib/exitfail.c' || echo '$(srcdir)/'`lib/exitfail.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-exitfail.Tpo lib/$(DEPDIR)/libdatamash_a-exitfail.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/exitfail.c' object='lib/libdatamash_a-exitfail.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-exitfail.o `test -f 'lib/exitfail.c' || echo '$(srcdir)/'`lib/exitfail.c lib/libdatamash_a-exitfail.obj: lib/exitfail.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-exitfail.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-exitfail.Tpo -c -o lib/libdatamash_a-exitfail.obj `if test -f 'lib/exitfail.c'; then $(CYGPATH_W) 'lib/exitfail.c'; else $(CYGPATH_W) '$(srcdir)/lib/exitfail.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-exitfail.Tpo lib/$(DEPDIR)/libdatamash_a-exitfail.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/exitfail.c' object='lib/libdatamash_a-exitfail.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-exitfail.obj `if test -f 'lib/exitfail.c'; then $(CYGPATH_W) 'lib/exitfail.c'; else $(CYGPATH_W) '$(srcdir)/lib/exitfail.c'; fi` lib/libdatamash_a-expl.o: lib/expl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-expl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-expl.Tpo -c -o lib/libdatamash_a-expl.o `test -f 'lib/expl.c' || echo '$(srcdir)/'`lib/expl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-expl.Tpo lib/$(DEPDIR)/libdatamash_a-expl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/expl.c' object='lib/libdatamash_a-expl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-expl.o `test -f 'lib/expl.c' || echo '$(srcdir)/'`lib/expl.c lib/libdatamash_a-expl.obj: lib/expl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-expl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-expl.Tpo -c -o lib/libdatamash_a-expl.obj `if test -f 'lib/expl.c'; then $(CYGPATH_W) 'lib/expl.c'; else $(CYGPATH_W) '$(srcdir)/lib/expl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-expl.Tpo lib/$(DEPDIR)/libdatamash_a-expl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/expl.c' object='lib/libdatamash_a-expl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-expl.obj `if test -f 'lib/expl.c'; then $(CYGPATH_W) 'lib/expl.c'; else $(CYGPATH_W) '$(srcdir)/lib/expl.c'; fi` lib/libdatamash_a-fabsl.o: lib/fabsl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fabsl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fabsl.Tpo -c -o lib/libdatamash_a-fabsl.o `test -f 'lib/fabsl.c' || echo '$(srcdir)/'`lib/fabsl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fabsl.Tpo lib/$(DEPDIR)/libdatamash_a-fabsl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fabsl.c' object='lib/libdatamash_a-fabsl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fabsl.o `test -f 'lib/fabsl.c' || echo '$(srcdir)/'`lib/fabsl.c lib/libdatamash_a-fabsl.obj: lib/fabsl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fabsl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fabsl.Tpo -c -o lib/libdatamash_a-fabsl.obj `if test -f 'lib/fabsl.c'; then $(CYGPATH_W) 'lib/fabsl.c'; else $(CYGPATH_W) '$(srcdir)/lib/fabsl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fabsl.Tpo lib/$(DEPDIR)/libdatamash_a-fabsl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fabsl.c' object='lib/libdatamash_a-fabsl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fabsl.obj `if test -f 'lib/fabsl.c'; then $(CYGPATH_W) 'lib/fabsl.c'; else $(CYGPATH_W) '$(srcdir)/lib/fabsl.c'; fi` lib/libdatamash_a-fcntl.o: lib/fcntl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fcntl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fcntl.Tpo -c -o lib/libdatamash_a-fcntl.o `test -f 'lib/fcntl.c' || echo '$(srcdir)/'`lib/fcntl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fcntl.Tpo lib/$(DEPDIR)/libdatamash_a-fcntl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fcntl.c' object='lib/libdatamash_a-fcntl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fcntl.o `test -f 'lib/fcntl.c' || echo '$(srcdir)/'`lib/fcntl.c lib/libdatamash_a-fcntl.obj: lib/fcntl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fcntl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fcntl.Tpo -c -o lib/libdatamash_a-fcntl.obj `if test -f 'lib/fcntl.c'; then $(CYGPATH_W) 'lib/fcntl.c'; else $(CYGPATH_W) '$(srcdir)/lib/fcntl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fcntl.Tpo lib/$(DEPDIR)/libdatamash_a-fcntl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fcntl.c' object='lib/libdatamash_a-fcntl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fcntl.obj `if test -f 'lib/fcntl.c'; then $(CYGPATH_W) 'lib/fcntl.c'; else $(CYGPATH_W) '$(srcdir)/lib/fcntl.c'; fi` lib/libdatamash_a-fd-hook.o: lib/fd-hook.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fd-hook.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fd-hook.Tpo -c -o lib/libdatamash_a-fd-hook.o `test -f 'lib/fd-hook.c' || echo '$(srcdir)/'`lib/fd-hook.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fd-hook.Tpo lib/$(DEPDIR)/libdatamash_a-fd-hook.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fd-hook.c' object='lib/libdatamash_a-fd-hook.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fd-hook.o `test -f 'lib/fd-hook.c' || echo '$(srcdir)/'`lib/fd-hook.c lib/libdatamash_a-fd-hook.obj: lib/fd-hook.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fd-hook.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fd-hook.Tpo -c -o lib/libdatamash_a-fd-hook.obj `if test -f 'lib/fd-hook.c'; then $(CYGPATH_W) 'lib/fd-hook.c'; else $(CYGPATH_W) '$(srcdir)/lib/fd-hook.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fd-hook.Tpo lib/$(DEPDIR)/libdatamash_a-fd-hook.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fd-hook.c' object='lib/libdatamash_a-fd-hook.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fd-hook.obj `if test -f 'lib/fd-hook.c'; then $(CYGPATH_W) 'lib/fd-hook.c'; else $(CYGPATH_W) '$(srcdir)/lib/fd-hook.c'; fi` lib/libdatamash_a-fflush.o: lib/fflush.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fflush.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fflush.Tpo -c -o lib/libdatamash_a-fflush.o `test -f 'lib/fflush.c' || echo '$(srcdir)/'`lib/fflush.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fflush.Tpo lib/$(DEPDIR)/libdatamash_a-fflush.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fflush.c' object='lib/libdatamash_a-fflush.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fflush.o `test -f 'lib/fflush.c' || echo '$(srcdir)/'`lib/fflush.c lib/libdatamash_a-fflush.obj: lib/fflush.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fflush.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fflush.Tpo -c -o lib/libdatamash_a-fflush.obj `if test -f 'lib/fflush.c'; then $(CYGPATH_W) 'lib/fflush.c'; else $(CYGPATH_W) '$(srcdir)/lib/fflush.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fflush.Tpo lib/$(DEPDIR)/libdatamash_a-fflush.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fflush.c' object='lib/libdatamash_a-fflush.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fflush.obj `if test -f 'lib/fflush.c'; then $(CYGPATH_W) 'lib/fflush.c'; else $(CYGPATH_W) '$(srcdir)/lib/fflush.c'; fi` lib/libdatamash_a-float.o: lib/float.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-float.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-float.Tpo -c -o lib/libdatamash_a-float.o `test -f 'lib/float.c' || echo '$(srcdir)/'`lib/float.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-float.Tpo lib/$(DEPDIR)/libdatamash_a-float.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/float.c' object='lib/libdatamash_a-float.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-float.o `test -f 'lib/float.c' || echo '$(srcdir)/'`lib/float.c lib/libdatamash_a-float.obj: lib/float.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-float.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-float.Tpo -c -o lib/libdatamash_a-float.obj `if test -f 'lib/float.c'; then $(CYGPATH_W) 'lib/float.c'; else $(CYGPATH_W) '$(srcdir)/lib/float.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-float.Tpo lib/$(DEPDIR)/libdatamash_a-float.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/float.c' object='lib/libdatamash_a-float.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-float.obj `if test -f 'lib/float.c'; then $(CYGPATH_W) 'lib/float.c'; else $(CYGPATH_W) '$(srcdir)/lib/float.c'; fi` lib/libdatamash_a-itold.o: lib/itold.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-itold.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-itold.Tpo -c -o lib/libdatamash_a-itold.o `test -f 'lib/itold.c' || echo '$(srcdir)/'`lib/itold.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-itold.Tpo lib/$(DEPDIR)/libdatamash_a-itold.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/itold.c' object='lib/libdatamash_a-itold.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-itold.o `test -f 'lib/itold.c' || echo '$(srcdir)/'`lib/itold.c lib/libdatamash_a-itold.obj: lib/itold.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-itold.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-itold.Tpo -c -o lib/libdatamash_a-itold.obj `if test -f 'lib/itold.c'; then $(CYGPATH_W) 'lib/itold.c'; else $(CYGPATH_W) '$(srcdir)/lib/itold.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-itold.Tpo lib/$(DEPDIR)/libdatamash_a-itold.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/itold.c' object='lib/libdatamash_a-itold.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-itold.obj `if test -f 'lib/itold.c'; then $(CYGPATH_W) 'lib/itold.c'; else $(CYGPATH_W) '$(srcdir)/lib/itold.c'; fi` lib/libdatamash_a-floor.o: lib/floor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-floor.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-floor.Tpo -c -o lib/libdatamash_a-floor.o `test -f 'lib/floor.c' || echo '$(srcdir)/'`lib/floor.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-floor.Tpo lib/$(DEPDIR)/libdatamash_a-floor.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/floor.c' object='lib/libdatamash_a-floor.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-floor.o `test -f 'lib/floor.c' || echo '$(srcdir)/'`lib/floor.c lib/libdatamash_a-floor.obj: lib/floor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-floor.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-floor.Tpo -c -o lib/libdatamash_a-floor.obj `if test -f 'lib/floor.c'; then $(CYGPATH_W) 'lib/floor.c'; else $(CYGPATH_W) '$(srcdir)/lib/floor.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-floor.Tpo lib/$(DEPDIR)/libdatamash_a-floor.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/floor.c' object='lib/libdatamash_a-floor.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-floor.obj `if test -f 'lib/floor.c'; then $(CYGPATH_W) 'lib/floor.c'; else $(CYGPATH_W) '$(srcdir)/lib/floor.c'; fi` lib/libdatamash_a-floorl.o: lib/floorl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-floorl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-floorl.Tpo -c -o lib/libdatamash_a-floorl.o `test -f 'lib/floorl.c' || echo '$(srcdir)/'`lib/floorl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-floorl.Tpo lib/$(DEPDIR)/libdatamash_a-floorl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/floorl.c' object='lib/libdatamash_a-floorl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-floorl.o `test -f 'lib/floorl.c' || echo '$(srcdir)/'`lib/floorl.c lib/libdatamash_a-floorl.obj: lib/floorl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-floorl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-floorl.Tpo -c -o lib/libdatamash_a-floorl.obj `if test -f 'lib/floorl.c'; then $(CYGPATH_W) 'lib/floorl.c'; else $(CYGPATH_W) '$(srcdir)/lib/floorl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-floorl.Tpo lib/$(DEPDIR)/libdatamash_a-floorl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/floorl.c' object='lib/libdatamash_a-floorl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-floorl.obj `if test -f 'lib/floorl.c'; then $(CYGPATH_W) 'lib/floorl.c'; else $(CYGPATH_W) '$(srcdir)/lib/floorl.c'; fi` lib/libdatamash_a-fpending.o: lib/fpending.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fpending.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fpending.Tpo -c -o lib/libdatamash_a-fpending.o `test -f 'lib/fpending.c' || echo '$(srcdir)/'`lib/fpending.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fpending.Tpo lib/$(DEPDIR)/libdatamash_a-fpending.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fpending.c' object='lib/libdatamash_a-fpending.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fpending.o `test -f 'lib/fpending.c' || echo '$(srcdir)/'`lib/fpending.c lib/libdatamash_a-fpending.obj: lib/fpending.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fpending.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fpending.Tpo -c -o lib/libdatamash_a-fpending.obj `if test -f 'lib/fpending.c'; then $(CYGPATH_W) 'lib/fpending.c'; else $(CYGPATH_W) '$(srcdir)/lib/fpending.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fpending.Tpo lib/$(DEPDIR)/libdatamash_a-fpending.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fpending.c' object='lib/libdatamash_a-fpending.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fpending.obj `if test -f 'lib/fpending.c'; then $(CYGPATH_W) 'lib/fpending.c'; else $(CYGPATH_W) '$(srcdir)/lib/fpending.c'; fi` lib/libdatamash_a-fpurge.o: lib/fpurge.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fpurge.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fpurge.Tpo -c -o lib/libdatamash_a-fpurge.o `test -f 'lib/fpurge.c' || echo '$(srcdir)/'`lib/fpurge.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fpurge.Tpo lib/$(DEPDIR)/libdatamash_a-fpurge.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fpurge.c' object='lib/libdatamash_a-fpurge.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fpurge.o `test -f 'lib/fpurge.c' || echo '$(srcdir)/'`lib/fpurge.c lib/libdatamash_a-fpurge.obj: lib/fpurge.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fpurge.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fpurge.Tpo -c -o lib/libdatamash_a-fpurge.obj `if test -f 'lib/fpurge.c'; then $(CYGPATH_W) 'lib/fpurge.c'; else $(CYGPATH_W) '$(srcdir)/lib/fpurge.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fpurge.Tpo lib/$(DEPDIR)/libdatamash_a-fpurge.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fpurge.c' object='lib/libdatamash_a-fpurge.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fpurge.obj `if test -f 'lib/fpurge.c'; then $(CYGPATH_W) 'lib/fpurge.c'; else $(CYGPATH_W) '$(srcdir)/lib/fpurge.c'; fi` lib/libdatamash_a-freading.o: lib/freading.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-freading.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-freading.Tpo -c -o lib/libdatamash_a-freading.o `test -f 'lib/freading.c' || echo '$(srcdir)/'`lib/freading.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-freading.Tpo lib/$(DEPDIR)/libdatamash_a-freading.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/freading.c' object='lib/libdatamash_a-freading.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-freading.o `test -f 'lib/freading.c' || echo '$(srcdir)/'`lib/freading.c lib/libdatamash_a-freading.obj: lib/freading.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-freading.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-freading.Tpo -c -o lib/libdatamash_a-freading.obj `if test -f 'lib/freading.c'; then $(CYGPATH_W) 'lib/freading.c'; else $(CYGPATH_W) '$(srcdir)/lib/freading.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-freading.Tpo lib/$(DEPDIR)/libdatamash_a-freading.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/freading.c' object='lib/libdatamash_a-freading.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-freading.obj `if test -f 'lib/freading.c'; then $(CYGPATH_W) 'lib/freading.c'; else $(CYGPATH_W) '$(srcdir)/lib/freading.c'; fi` lib/libdatamash_a-free.o: lib/free.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-free.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-free.Tpo -c -o lib/libdatamash_a-free.o `test -f 'lib/free.c' || echo '$(srcdir)/'`lib/free.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-free.Tpo lib/$(DEPDIR)/libdatamash_a-free.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/free.c' object='lib/libdatamash_a-free.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-free.o `test -f 'lib/free.c' || echo '$(srcdir)/'`lib/free.c lib/libdatamash_a-free.obj: lib/free.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-free.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-free.Tpo -c -o lib/libdatamash_a-free.obj `if test -f 'lib/free.c'; then $(CYGPATH_W) 'lib/free.c'; else $(CYGPATH_W) '$(srcdir)/lib/free.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-free.Tpo lib/$(DEPDIR)/libdatamash_a-free.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/free.c' object='lib/libdatamash_a-free.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-free.obj `if test -f 'lib/free.c'; then $(CYGPATH_W) 'lib/free.c'; else $(CYGPATH_W) '$(srcdir)/lib/free.c'; fi` lib/libdatamash_a-fseek.o: lib/fseek.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fseek.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fseek.Tpo -c -o lib/libdatamash_a-fseek.o `test -f 'lib/fseek.c' || echo '$(srcdir)/'`lib/fseek.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fseek.Tpo lib/$(DEPDIR)/libdatamash_a-fseek.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fseek.c' object='lib/libdatamash_a-fseek.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fseek.o `test -f 'lib/fseek.c' || echo '$(srcdir)/'`lib/fseek.c lib/libdatamash_a-fseek.obj: lib/fseek.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fseek.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fseek.Tpo -c -o lib/libdatamash_a-fseek.obj `if test -f 'lib/fseek.c'; then $(CYGPATH_W) 'lib/fseek.c'; else $(CYGPATH_W) '$(srcdir)/lib/fseek.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fseek.Tpo lib/$(DEPDIR)/libdatamash_a-fseek.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fseek.c' object='lib/libdatamash_a-fseek.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fseek.obj `if test -f 'lib/fseek.c'; then $(CYGPATH_W) 'lib/fseek.c'; else $(CYGPATH_W) '$(srcdir)/lib/fseek.c'; fi` lib/libdatamash_a-fseeko.o: lib/fseeko.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fseeko.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fseeko.Tpo -c -o lib/libdatamash_a-fseeko.o `test -f 'lib/fseeko.c' || echo '$(srcdir)/'`lib/fseeko.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fseeko.Tpo lib/$(DEPDIR)/libdatamash_a-fseeko.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fseeko.c' object='lib/libdatamash_a-fseeko.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fseeko.o `test -f 'lib/fseeko.c' || echo '$(srcdir)/'`lib/fseeko.c lib/libdatamash_a-fseeko.obj: lib/fseeko.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fseeko.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fseeko.Tpo -c -o lib/libdatamash_a-fseeko.obj `if test -f 'lib/fseeko.c'; then $(CYGPATH_W) 'lib/fseeko.c'; else $(CYGPATH_W) '$(srcdir)/lib/fseeko.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fseeko.Tpo lib/$(DEPDIR)/libdatamash_a-fseeko.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fseeko.c' object='lib/libdatamash_a-fseeko.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fseeko.obj `if test -f 'lib/fseeko.c'; then $(CYGPATH_W) 'lib/fseeko.c'; else $(CYGPATH_W) '$(srcdir)/lib/fseeko.c'; fi` lib/libdatamash_a-fstat.o: lib/fstat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fstat.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fstat.Tpo -c -o lib/libdatamash_a-fstat.o `test -f 'lib/fstat.c' || echo '$(srcdir)/'`lib/fstat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fstat.Tpo lib/$(DEPDIR)/libdatamash_a-fstat.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fstat.c' object='lib/libdatamash_a-fstat.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fstat.o `test -f 'lib/fstat.c' || echo '$(srcdir)/'`lib/fstat.c lib/libdatamash_a-fstat.obj: lib/fstat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-fstat.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-fstat.Tpo -c -o lib/libdatamash_a-fstat.obj `if test -f 'lib/fstat.c'; then $(CYGPATH_W) 'lib/fstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/fstat.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-fstat.Tpo lib/$(DEPDIR)/libdatamash_a-fstat.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fstat.c' object='lib/libdatamash_a-fstat.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-fstat.obj `if test -f 'lib/fstat.c'; then $(CYGPATH_W) 'lib/fstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/fstat.c'; fi` lib/libdatamash_a-ftell.o: lib/ftell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ftell.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ftell.Tpo -c -o lib/libdatamash_a-ftell.o `test -f 'lib/ftell.c' || echo '$(srcdir)/'`lib/ftell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ftell.Tpo lib/$(DEPDIR)/libdatamash_a-ftell.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ftell.c' object='lib/libdatamash_a-ftell.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ftell.o `test -f 'lib/ftell.c' || echo '$(srcdir)/'`lib/ftell.c lib/libdatamash_a-ftell.obj: lib/ftell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ftell.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ftell.Tpo -c -o lib/libdatamash_a-ftell.obj `if test -f 'lib/ftell.c'; then $(CYGPATH_W) 'lib/ftell.c'; else $(CYGPATH_W) '$(srcdir)/lib/ftell.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ftell.Tpo lib/$(DEPDIR)/libdatamash_a-ftell.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ftell.c' object='lib/libdatamash_a-ftell.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ftell.obj `if test -f 'lib/ftell.c'; then $(CYGPATH_W) 'lib/ftell.c'; else $(CYGPATH_W) '$(srcdir)/lib/ftell.c'; fi` lib/libdatamash_a-ftello.o: lib/ftello.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ftello.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ftello.Tpo -c -o lib/libdatamash_a-ftello.o `test -f 'lib/ftello.c' || echo '$(srcdir)/'`lib/ftello.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ftello.Tpo lib/$(DEPDIR)/libdatamash_a-ftello.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ftello.c' object='lib/libdatamash_a-ftello.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ftello.o `test -f 'lib/ftello.c' || echo '$(srcdir)/'`lib/ftello.c lib/libdatamash_a-ftello.obj: lib/ftello.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ftello.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ftello.Tpo -c -o lib/libdatamash_a-ftello.obj `if test -f 'lib/ftello.c'; then $(CYGPATH_W) 'lib/ftello.c'; else $(CYGPATH_W) '$(srcdir)/lib/ftello.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ftello.Tpo lib/$(DEPDIR)/libdatamash_a-ftello.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ftello.c' object='lib/libdatamash_a-ftello.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ftello.obj `if test -f 'lib/ftello.c'; then $(CYGPATH_W) 'lib/ftello.c'; else $(CYGPATH_W) '$(srcdir)/lib/ftello.c'; fi` lib/libdatamash_a-getdtablesize.o: lib/getdtablesize.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getdtablesize.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getdtablesize.Tpo -c -o lib/libdatamash_a-getdtablesize.o `test -f 'lib/getdtablesize.c' || echo '$(srcdir)/'`lib/getdtablesize.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getdtablesize.Tpo lib/$(DEPDIR)/libdatamash_a-getdtablesize.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getdtablesize.c' object='lib/libdatamash_a-getdtablesize.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getdtablesize.o `test -f 'lib/getdtablesize.c' || echo '$(srcdir)/'`lib/getdtablesize.c lib/libdatamash_a-getdtablesize.obj: lib/getdtablesize.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getdtablesize.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getdtablesize.Tpo -c -o lib/libdatamash_a-getdtablesize.obj `if test -f 'lib/getdtablesize.c'; then $(CYGPATH_W) 'lib/getdtablesize.c'; else $(CYGPATH_W) '$(srcdir)/lib/getdtablesize.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getdtablesize.Tpo lib/$(DEPDIR)/libdatamash_a-getdtablesize.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getdtablesize.c' object='lib/libdatamash_a-getdtablesize.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getdtablesize.obj `if test -f 'lib/getdtablesize.c'; then $(CYGPATH_W) 'lib/getdtablesize.c'; else $(CYGPATH_W) '$(srcdir)/lib/getdtablesize.c'; fi` lib/libdatamash_a-getlocalename_l-unsafe.o: lib/getlocalename_l-unsafe.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getlocalename_l-unsafe.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Tpo -c -o lib/libdatamash_a-getlocalename_l-unsafe.o `test -f 'lib/getlocalename_l-unsafe.c' || echo '$(srcdir)/'`lib/getlocalename_l-unsafe.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Tpo lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getlocalename_l-unsafe.c' object='lib/libdatamash_a-getlocalename_l-unsafe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getlocalename_l-unsafe.o `test -f 'lib/getlocalename_l-unsafe.c' || echo '$(srcdir)/'`lib/getlocalename_l-unsafe.c lib/libdatamash_a-getlocalename_l-unsafe.obj: lib/getlocalename_l-unsafe.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getlocalename_l-unsafe.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Tpo -c -o lib/libdatamash_a-getlocalename_l-unsafe.obj `if test -f 'lib/getlocalename_l-unsafe.c'; then $(CYGPATH_W) 'lib/getlocalename_l-unsafe.c'; else $(CYGPATH_W) '$(srcdir)/lib/getlocalename_l-unsafe.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Tpo lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getlocalename_l-unsafe.c' object='lib/libdatamash_a-getlocalename_l-unsafe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getlocalename_l-unsafe.obj `if test -f 'lib/getlocalename_l-unsafe.c'; then $(CYGPATH_W) 'lib/getlocalename_l-unsafe.c'; else $(CYGPATH_W) '$(srcdir)/lib/getlocalename_l-unsafe.c'; fi` lib/libdatamash_a-localename-table.o: lib/localename-table.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename-table.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename-table.Tpo -c -o lib/libdatamash_a-localename-table.o `test -f 'lib/localename-table.c' || echo '$(srcdir)/'`lib/localename-table.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename-table.Tpo lib/$(DEPDIR)/libdatamash_a-localename-table.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename-table.c' object='lib/libdatamash_a-localename-table.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename-table.o `test -f 'lib/localename-table.c' || echo '$(srcdir)/'`lib/localename-table.c lib/libdatamash_a-localename-table.obj: lib/localename-table.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename-table.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename-table.Tpo -c -o lib/libdatamash_a-localename-table.obj `if test -f 'lib/localename-table.c'; then $(CYGPATH_W) 'lib/localename-table.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename-table.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename-table.Tpo lib/$(DEPDIR)/libdatamash_a-localename-table.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename-table.c' object='lib/libdatamash_a-localename-table.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename-table.obj `if test -f 'lib/localename-table.c'; then $(CYGPATH_W) 'lib/localename-table.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename-table.c'; fi` lib/libdatamash_a-getopt.o: lib/getopt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getopt.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getopt.Tpo -c -o lib/libdatamash_a-getopt.o `test -f 'lib/getopt.c' || echo '$(srcdir)/'`lib/getopt.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getopt.Tpo lib/$(DEPDIR)/libdatamash_a-getopt.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getopt.c' object='lib/libdatamash_a-getopt.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getopt.o `test -f 'lib/getopt.c' || echo '$(srcdir)/'`lib/getopt.c lib/libdatamash_a-getopt.obj: lib/getopt.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getopt.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getopt.Tpo -c -o lib/libdatamash_a-getopt.obj `if test -f 'lib/getopt.c'; then $(CYGPATH_W) 'lib/getopt.c'; else $(CYGPATH_W) '$(srcdir)/lib/getopt.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getopt.Tpo lib/$(DEPDIR)/libdatamash_a-getopt.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getopt.c' object='lib/libdatamash_a-getopt.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getopt.obj `if test -f 'lib/getopt.c'; then $(CYGPATH_W) 'lib/getopt.c'; else $(CYGPATH_W) '$(srcdir)/lib/getopt.c'; fi` lib/libdatamash_a-getopt1.o: lib/getopt1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getopt1.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getopt1.Tpo -c -o lib/libdatamash_a-getopt1.o `test -f 'lib/getopt1.c' || echo '$(srcdir)/'`lib/getopt1.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getopt1.Tpo lib/$(DEPDIR)/libdatamash_a-getopt1.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getopt1.c' object='lib/libdatamash_a-getopt1.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getopt1.o `test -f 'lib/getopt1.c' || echo '$(srcdir)/'`lib/getopt1.c lib/libdatamash_a-getopt1.obj: lib/getopt1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getopt1.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getopt1.Tpo -c -o lib/libdatamash_a-getopt1.obj `if test -f 'lib/getopt1.c'; then $(CYGPATH_W) 'lib/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/lib/getopt1.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getopt1.Tpo lib/$(DEPDIR)/libdatamash_a-getopt1.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getopt1.c' object='lib/libdatamash_a-getopt1.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getopt1.obj `if test -f 'lib/getopt1.c'; then $(CYGPATH_W) 'lib/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/lib/getopt1.c'; fi` lib/libdatamash_a-getprogname.o: lib/getprogname.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getprogname.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getprogname.Tpo -c -o lib/libdatamash_a-getprogname.o `test -f 'lib/getprogname.c' || echo '$(srcdir)/'`lib/getprogname.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getprogname.Tpo lib/$(DEPDIR)/libdatamash_a-getprogname.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getprogname.c' object='lib/libdatamash_a-getprogname.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getprogname.o `test -f 'lib/getprogname.c' || echo '$(srcdir)/'`lib/getprogname.c lib/libdatamash_a-getprogname.obj: lib/getprogname.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getprogname.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getprogname.Tpo -c -o lib/libdatamash_a-getprogname.obj `if test -f 'lib/getprogname.c'; then $(CYGPATH_W) 'lib/getprogname.c'; else $(CYGPATH_W) '$(srcdir)/lib/getprogname.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getprogname.Tpo lib/$(DEPDIR)/libdatamash_a-getprogname.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getprogname.c' object='lib/libdatamash_a-getprogname.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getprogname.obj `if test -f 'lib/getprogname.c'; then $(CYGPATH_W) 'lib/getprogname.c'; else $(CYGPATH_W) '$(srcdir)/lib/getprogname.c'; fi` lib/libdatamash_a-getrandom.o: lib/getrandom.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getrandom.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getrandom.Tpo -c -o lib/libdatamash_a-getrandom.o `test -f 'lib/getrandom.c' || echo '$(srcdir)/'`lib/getrandom.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getrandom.Tpo lib/$(DEPDIR)/libdatamash_a-getrandom.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getrandom.c' object='lib/libdatamash_a-getrandom.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getrandom.o `test -f 'lib/getrandom.c' || echo '$(srcdir)/'`lib/getrandom.c lib/libdatamash_a-getrandom.obj: lib/getrandom.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-getrandom.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-getrandom.Tpo -c -o lib/libdatamash_a-getrandom.obj `if test -f 'lib/getrandom.c'; then $(CYGPATH_W) 'lib/getrandom.c'; else $(CYGPATH_W) '$(srcdir)/lib/getrandom.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-getrandom.Tpo lib/$(DEPDIR)/libdatamash_a-getrandom.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/getrandom.c' object='lib/libdatamash_a-getrandom.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-getrandom.obj `if test -f 'lib/getrandom.c'; then $(CYGPATH_W) 'lib/getrandom.c'; else $(CYGPATH_W) '$(srcdir)/lib/getrandom.c'; fi` lib/libdatamash_a-hard-locale.o: lib/hard-locale.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hard-locale.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hard-locale.Tpo -c -o lib/libdatamash_a-hard-locale.o `test -f 'lib/hard-locale.c' || echo '$(srcdir)/'`lib/hard-locale.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hard-locale.Tpo lib/$(DEPDIR)/libdatamash_a-hard-locale.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hard-locale.c' object='lib/libdatamash_a-hard-locale.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hard-locale.o `test -f 'lib/hard-locale.c' || echo '$(srcdir)/'`lib/hard-locale.c lib/libdatamash_a-hard-locale.obj: lib/hard-locale.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hard-locale.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hard-locale.Tpo -c -o lib/libdatamash_a-hard-locale.obj `if test -f 'lib/hard-locale.c'; then $(CYGPATH_W) 'lib/hard-locale.c'; else $(CYGPATH_W) '$(srcdir)/lib/hard-locale.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hard-locale.Tpo lib/$(DEPDIR)/libdatamash_a-hard-locale.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hard-locale.c' object='lib/libdatamash_a-hard-locale.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hard-locale.obj `if test -f 'lib/hard-locale.c'; then $(CYGPATH_W) 'lib/hard-locale.c'; else $(CYGPATH_W) '$(srcdir)/lib/hard-locale.c'; fi` lib/libdatamash_a-hash.o: lib/hash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hash.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hash.Tpo -c -o lib/libdatamash_a-hash.o `test -f 'lib/hash.c' || echo '$(srcdir)/'`lib/hash.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hash.Tpo lib/$(DEPDIR)/libdatamash_a-hash.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hash.c' object='lib/libdatamash_a-hash.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hash.o `test -f 'lib/hash.c' || echo '$(srcdir)/'`lib/hash.c lib/libdatamash_a-hash.obj: lib/hash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hash.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hash.Tpo -c -o lib/libdatamash_a-hash.obj `if test -f 'lib/hash.c'; then $(CYGPATH_W) 'lib/hash.c'; else $(CYGPATH_W) '$(srcdir)/lib/hash.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hash.Tpo lib/$(DEPDIR)/libdatamash_a-hash.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hash.c' object='lib/libdatamash_a-hash.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hash.obj `if test -f 'lib/hash.c'; then $(CYGPATH_W) 'lib/hash.c'; else $(CYGPATH_W) '$(srcdir)/lib/hash.c'; fi` lib/libdatamash_a-hash-pjw.o: lib/hash-pjw.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hash-pjw.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hash-pjw.Tpo -c -o lib/libdatamash_a-hash-pjw.o `test -f 'lib/hash-pjw.c' || echo '$(srcdir)/'`lib/hash-pjw.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hash-pjw.Tpo lib/$(DEPDIR)/libdatamash_a-hash-pjw.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hash-pjw.c' object='lib/libdatamash_a-hash-pjw.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hash-pjw.o `test -f 'lib/hash-pjw.c' || echo '$(srcdir)/'`lib/hash-pjw.c lib/libdatamash_a-hash-pjw.obj: lib/hash-pjw.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hash-pjw.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hash-pjw.Tpo -c -o lib/libdatamash_a-hash-pjw.obj `if test -f 'lib/hash-pjw.c'; then $(CYGPATH_W) 'lib/hash-pjw.c'; else $(CYGPATH_W) '$(srcdir)/lib/hash-pjw.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hash-pjw.Tpo lib/$(DEPDIR)/libdatamash_a-hash-pjw.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hash-pjw.c' object='lib/libdatamash_a-hash-pjw.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hash-pjw.obj `if test -f 'lib/hash-pjw.c'; then $(CYGPATH_W) 'lib/hash-pjw.c'; else $(CYGPATH_W) '$(srcdir)/lib/hash-pjw.c'; fi` lib/libdatamash_a-hash-pjw-bare.o: lib/hash-pjw-bare.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hash-pjw-bare.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Tpo -c -o lib/libdatamash_a-hash-pjw-bare.o `test -f 'lib/hash-pjw-bare.c' || echo '$(srcdir)/'`lib/hash-pjw-bare.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Tpo lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hash-pjw-bare.c' object='lib/libdatamash_a-hash-pjw-bare.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hash-pjw-bare.o `test -f 'lib/hash-pjw-bare.c' || echo '$(srcdir)/'`lib/hash-pjw-bare.c lib/libdatamash_a-hash-pjw-bare.obj: lib/hash-pjw-bare.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-hash-pjw-bare.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Tpo -c -o lib/libdatamash_a-hash-pjw-bare.obj `if test -f 'lib/hash-pjw-bare.c'; then $(CYGPATH_W) 'lib/hash-pjw-bare.c'; else $(CYGPATH_W) '$(srcdir)/lib/hash-pjw-bare.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Tpo lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/hash-pjw-bare.c' object='lib/libdatamash_a-hash-pjw-bare.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-hash-pjw-bare.obj `if test -f 'lib/hash-pjw-bare.c'; then $(CYGPATH_W) 'lib/hash-pjw-bare.c'; else $(CYGPATH_W) '$(srcdir)/lib/hash-pjw-bare.c'; fi` lib/libdatamash_a-ialloc.o: lib/ialloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ialloc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ialloc.Tpo -c -o lib/libdatamash_a-ialloc.o `test -f 'lib/ialloc.c' || echo '$(srcdir)/'`lib/ialloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ialloc.Tpo lib/$(DEPDIR)/libdatamash_a-ialloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ialloc.c' object='lib/libdatamash_a-ialloc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ialloc.o `test -f 'lib/ialloc.c' || echo '$(srcdir)/'`lib/ialloc.c lib/libdatamash_a-ialloc.obj: lib/ialloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ialloc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ialloc.Tpo -c -o lib/libdatamash_a-ialloc.obj `if test -f 'lib/ialloc.c'; then $(CYGPATH_W) 'lib/ialloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/ialloc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ialloc.Tpo lib/$(DEPDIR)/libdatamash_a-ialloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ialloc.c' object='lib/libdatamash_a-ialloc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ialloc.obj `if test -f 'lib/ialloc.c'; then $(CYGPATH_W) 'lib/ialloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/ialloc.c'; fi` lib/libdatamash_a-iconv_open.o: lib/iconv_open.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iconv_open.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iconv_open.Tpo -c -o lib/libdatamash_a-iconv_open.o `test -f 'lib/iconv_open.c' || echo '$(srcdir)/'`lib/iconv_open.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iconv_open.Tpo lib/$(DEPDIR)/libdatamash_a-iconv_open.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iconv_open.c' object='lib/libdatamash_a-iconv_open.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iconv_open.o `test -f 'lib/iconv_open.c' || echo '$(srcdir)/'`lib/iconv_open.c lib/libdatamash_a-iconv_open.obj: lib/iconv_open.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iconv_open.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iconv_open.Tpo -c -o lib/libdatamash_a-iconv_open.obj `if test -f 'lib/iconv_open.c'; then $(CYGPATH_W) 'lib/iconv_open.c'; else $(CYGPATH_W) '$(srcdir)/lib/iconv_open.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iconv_open.Tpo lib/$(DEPDIR)/libdatamash_a-iconv_open.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iconv_open.c' object='lib/libdatamash_a-iconv_open.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iconv_open.obj `if test -f 'lib/iconv_open.c'; then $(CYGPATH_W) 'lib/iconv_open.c'; else $(CYGPATH_W) '$(srcdir)/lib/iconv_open.c'; fi` lib/libdatamash_a-iconv.o: lib/iconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iconv.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iconv.Tpo -c -o lib/libdatamash_a-iconv.o `test -f 'lib/iconv.c' || echo '$(srcdir)/'`lib/iconv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iconv.Tpo lib/$(DEPDIR)/libdatamash_a-iconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iconv.c' object='lib/libdatamash_a-iconv.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iconv.o `test -f 'lib/iconv.c' || echo '$(srcdir)/'`lib/iconv.c lib/libdatamash_a-iconv.obj: lib/iconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iconv.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iconv.Tpo -c -o lib/libdatamash_a-iconv.obj `if test -f 'lib/iconv.c'; then $(CYGPATH_W) 'lib/iconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/iconv.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iconv.Tpo lib/$(DEPDIR)/libdatamash_a-iconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iconv.c' object='lib/libdatamash_a-iconv.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iconv.obj `if test -f 'lib/iconv.c'; then $(CYGPATH_W) 'lib/iconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/iconv.c'; fi` lib/libdatamash_a-iconv_close.o: lib/iconv_close.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iconv_close.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iconv_close.Tpo -c -o lib/libdatamash_a-iconv_close.o `test -f 'lib/iconv_close.c' || echo '$(srcdir)/'`lib/iconv_close.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iconv_close.Tpo lib/$(DEPDIR)/libdatamash_a-iconv_close.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iconv_close.c' object='lib/libdatamash_a-iconv_close.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iconv_close.o `test -f 'lib/iconv_close.c' || echo '$(srcdir)/'`lib/iconv_close.c lib/libdatamash_a-iconv_close.obj: lib/iconv_close.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iconv_close.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iconv_close.Tpo -c -o lib/libdatamash_a-iconv_close.obj `if test -f 'lib/iconv_close.c'; then $(CYGPATH_W) 'lib/iconv_close.c'; else $(CYGPATH_W) '$(srcdir)/lib/iconv_close.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iconv_close.Tpo lib/$(DEPDIR)/libdatamash_a-iconv_close.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iconv_close.c' object='lib/libdatamash_a-iconv_close.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iconv_close.obj `if test -f 'lib/iconv_close.c'; then $(CYGPATH_W) 'lib/iconv_close.c'; else $(CYGPATH_W) '$(srcdir)/lib/iconv_close.c'; fi` lib/libdatamash_a-inet_pton.o: lib/inet_pton.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-inet_pton.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-inet_pton.Tpo -c -o lib/libdatamash_a-inet_pton.o `test -f 'lib/inet_pton.c' || echo '$(srcdir)/'`lib/inet_pton.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-inet_pton.Tpo lib/$(DEPDIR)/libdatamash_a-inet_pton.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/inet_pton.c' object='lib/libdatamash_a-inet_pton.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-inet_pton.o `test -f 'lib/inet_pton.c' || echo '$(srcdir)/'`lib/inet_pton.c lib/libdatamash_a-inet_pton.obj: lib/inet_pton.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-inet_pton.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-inet_pton.Tpo -c -o lib/libdatamash_a-inet_pton.obj `if test -f 'lib/inet_pton.c'; then $(CYGPATH_W) 'lib/inet_pton.c'; else $(CYGPATH_W) '$(srcdir)/lib/inet_pton.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-inet_pton.Tpo lib/$(DEPDIR)/libdatamash_a-inet_pton.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/inet_pton.c' object='lib/libdatamash_a-inet_pton.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-inet_pton.obj `if test -f 'lib/inet_pton.c'; then $(CYGPATH_W) 'lib/inet_pton.c'; else $(CYGPATH_W) '$(srcdir)/lib/inet_pton.c'; fi` lib/libdatamash_a-imaxtostr.o: lib/imaxtostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-imaxtostr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-imaxtostr.Tpo -c -o lib/libdatamash_a-imaxtostr.o `test -f 'lib/imaxtostr.c' || echo '$(srcdir)/'`lib/imaxtostr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-imaxtostr.Tpo lib/$(DEPDIR)/libdatamash_a-imaxtostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/imaxtostr.c' object='lib/libdatamash_a-imaxtostr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-imaxtostr.o `test -f 'lib/imaxtostr.c' || echo '$(srcdir)/'`lib/imaxtostr.c lib/libdatamash_a-imaxtostr.obj: lib/imaxtostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-imaxtostr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-imaxtostr.Tpo -c -o lib/libdatamash_a-imaxtostr.obj `if test -f 'lib/imaxtostr.c'; then $(CYGPATH_W) 'lib/imaxtostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/imaxtostr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-imaxtostr.Tpo lib/$(DEPDIR)/libdatamash_a-imaxtostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/imaxtostr.c' object='lib/libdatamash_a-imaxtostr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-imaxtostr.obj `if test -f 'lib/imaxtostr.c'; then $(CYGPATH_W) 'lib/imaxtostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/imaxtostr.c'; fi` lib/libdatamash_a-inttostr.o: lib/inttostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-inttostr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-inttostr.Tpo -c -o lib/libdatamash_a-inttostr.o `test -f 'lib/inttostr.c' || echo '$(srcdir)/'`lib/inttostr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-inttostr.Tpo lib/$(DEPDIR)/libdatamash_a-inttostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/inttostr.c' object='lib/libdatamash_a-inttostr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-inttostr.o `test -f 'lib/inttostr.c' || echo '$(srcdir)/'`lib/inttostr.c lib/libdatamash_a-inttostr.obj: lib/inttostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-inttostr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-inttostr.Tpo -c -o lib/libdatamash_a-inttostr.obj `if test -f 'lib/inttostr.c'; then $(CYGPATH_W) 'lib/inttostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/inttostr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-inttostr.Tpo lib/$(DEPDIR)/libdatamash_a-inttostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/inttostr.c' object='lib/libdatamash_a-inttostr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-inttostr.obj `if test -f 'lib/inttostr.c'; then $(CYGPATH_W) 'lib/inttostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/inttostr.c'; fi` lib/libdatamash_a-offtostr.o: lib/offtostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-offtostr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-offtostr.Tpo -c -o lib/libdatamash_a-offtostr.o `test -f 'lib/offtostr.c' || echo '$(srcdir)/'`lib/offtostr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-offtostr.Tpo lib/$(DEPDIR)/libdatamash_a-offtostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/offtostr.c' object='lib/libdatamash_a-offtostr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-offtostr.o `test -f 'lib/offtostr.c' || echo '$(srcdir)/'`lib/offtostr.c lib/libdatamash_a-offtostr.obj: lib/offtostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-offtostr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-offtostr.Tpo -c -o lib/libdatamash_a-offtostr.obj `if test -f 'lib/offtostr.c'; then $(CYGPATH_W) 'lib/offtostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/offtostr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-offtostr.Tpo lib/$(DEPDIR)/libdatamash_a-offtostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/offtostr.c' object='lib/libdatamash_a-offtostr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-offtostr.obj `if test -f 'lib/offtostr.c'; then $(CYGPATH_W) 'lib/offtostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/offtostr.c'; fi` lib/libdatamash_a-uinttostr.o: lib/uinttostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-uinttostr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-uinttostr.Tpo -c -o lib/libdatamash_a-uinttostr.o `test -f 'lib/uinttostr.c' || echo '$(srcdir)/'`lib/uinttostr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-uinttostr.Tpo lib/$(DEPDIR)/libdatamash_a-uinttostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/uinttostr.c' object='lib/libdatamash_a-uinttostr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-uinttostr.o `test -f 'lib/uinttostr.c' || echo '$(srcdir)/'`lib/uinttostr.c lib/libdatamash_a-uinttostr.obj: lib/uinttostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-uinttostr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-uinttostr.Tpo -c -o lib/libdatamash_a-uinttostr.obj `if test -f 'lib/uinttostr.c'; then $(CYGPATH_W) 'lib/uinttostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/uinttostr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-uinttostr.Tpo lib/$(DEPDIR)/libdatamash_a-uinttostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/uinttostr.c' object='lib/libdatamash_a-uinttostr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-uinttostr.obj `if test -f 'lib/uinttostr.c'; then $(CYGPATH_W) 'lib/uinttostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/uinttostr.c'; fi` lib/libdatamash_a-umaxtostr.o: lib/umaxtostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-umaxtostr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-umaxtostr.Tpo -c -o lib/libdatamash_a-umaxtostr.o `test -f 'lib/umaxtostr.c' || echo '$(srcdir)/'`lib/umaxtostr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-umaxtostr.Tpo lib/$(DEPDIR)/libdatamash_a-umaxtostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/umaxtostr.c' object='lib/libdatamash_a-umaxtostr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-umaxtostr.o `test -f 'lib/umaxtostr.c' || echo '$(srcdir)/'`lib/umaxtostr.c lib/libdatamash_a-umaxtostr.obj: lib/umaxtostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-umaxtostr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-umaxtostr.Tpo -c -o lib/libdatamash_a-umaxtostr.obj `if test -f 'lib/umaxtostr.c'; then $(CYGPATH_W) 'lib/umaxtostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/umaxtostr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-umaxtostr.Tpo lib/$(DEPDIR)/libdatamash_a-umaxtostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/umaxtostr.c' object='lib/libdatamash_a-umaxtostr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-umaxtostr.obj `if test -f 'lib/umaxtostr.c'; then $(CYGPATH_W) 'lib/umaxtostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/umaxtostr.c'; fi` lib/libdatamash_a-isblank.o: lib/isblank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isblank.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isblank.Tpo -c -o lib/libdatamash_a-isblank.o `test -f 'lib/isblank.c' || echo '$(srcdir)/'`lib/isblank.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isblank.Tpo lib/$(DEPDIR)/libdatamash_a-isblank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isblank.c' object='lib/libdatamash_a-isblank.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isblank.o `test -f 'lib/isblank.c' || echo '$(srcdir)/'`lib/isblank.c lib/libdatamash_a-isblank.obj: lib/isblank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isblank.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isblank.Tpo -c -o lib/libdatamash_a-isblank.obj `if test -f 'lib/isblank.c'; then $(CYGPATH_W) 'lib/isblank.c'; else $(CYGPATH_W) '$(srcdir)/lib/isblank.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isblank.Tpo lib/$(DEPDIR)/libdatamash_a-isblank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isblank.c' object='lib/libdatamash_a-isblank.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isblank.obj `if test -f 'lib/isblank.c'; then $(CYGPATH_W) 'lib/isblank.c'; else $(CYGPATH_W) '$(srcdir)/lib/isblank.c'; fi` lib/libdatamash_a-isfinite.o: lib/isfinite.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isfinite.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isfinite.Tpo -c -o lib/libdatamash_a-isfinite.o `test -f 'lib/isfinite.c' || echo '$(srcdir)/'`lib/isfinite.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isfinite.Tpo lib/$(DEPDIR)/libdatamash_a-isfinite.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isfinite.c' object='lib/libdatamash_a-isfinite.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isfinite.o `test -f 'lib/isfinite.c' || echo '$(srcdir)/'`lib/isfinite.c lib/libdatamash_a-isfinite.obj: lib/isfinite.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isfinite.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isfinite.Tpo -c -o lib/libdatamash_a-isfinite.obj `if test -f 'lib/isfinite.c'; then $(CYGPATH_W) 'lib/isfinite.c'; else $(CYGPATH_W) '$(srcdir)/lib/isfinite.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isfinite.Tpo lib/$(DEPDIR)/libdatamash_a-isfinite.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isfinite.c' object='lib/libdatamash_a-isfinite.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isfinite.obj `if test -f 'lib/isfinite.c'; then $(CYGPATH_W) 'lib/isfinite.c'; else $(CYGPATH_W) '$(srcdir)/lib/isfinite.c'; fi` lib/libdatamash_a-isinf.o: lib/isinf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isinf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isinf.Tpo -c -o lib/libdatamash_a-isinf.o `test -f 'lib/isinf.c' || echo '$(srcdir)/'`lib/isinf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isinf.Tpo lib/$(DEPDIR)/libdatamash_a-isinf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isinf.c' object='lib/libdatamash_a-isinf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isinf.o `test -f 'lib/isinf.c' || echo '$(srcdir)/'`lib/isinf.c lib/libdatamash_a-isinf.obj: lib/isinf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isinf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isinf.Tpo -c -o lib/libdatamash_a-isinf.obj `if test -f 'lib/isinf.c'; then $(CYGPATH_W) 'lib/isinf.c'; else $(CYGPATH_W) '$(srcdir)/lib/isinf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isinf.Tpo lib/$(DEPDIR)/libdatamash_a-isinf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isinf.c' object='lib/libdatamash_a-isinf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isinf.obj `if test -f 'lib/isinf.c'; then $(CYGPATH_W) 'lib/isinf.c'; else $(CYGPATH_W) '$(srcdir)/lib/isinf.c'; fi` lib/libdatamash_a-iswblank.o: lib/iswblank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswblank.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswblank.Tpo -c -o lib/libdatamash_a-iswblank.o `test -f 'lib/iswblank.c' || echo '$(srcdir)/'`lib/iswblank.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswblank.Tpo lib/$(DEPDIR)/libdatamash_a-iswblank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswblank.c' object='lib/libdatamash_a-iswblank.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswblank.o `test -f 'lib/iswblank.c' || echo '$(srcdir)/'`lib/iswblank.c lib/libdatamash_a-iswblank.obj: lib/iswblank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswblank.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswblank.Tpo -c -o lib/libdatamash_a-iswblank.obj `if test -f 'lib/iswblank.c'; then $(CYGPATH_W) 'lib/iswblank.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswblank.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswblank.Tpo lib/$(DEPDIR)/libdatamash_a-iswblank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswblank.c' object='lib/libdatamash_a-iswblank.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswblank.obj `if test -f 'lib/iswblank.c'; then $(CYGPATH_W) 'lib/iswblank.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswblank.c'; fi` lib/libdatamash_a-iswdigit.o: lib/iswdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswdigit.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswdigit.Tpo -c -o lib/libdatamash_a-iswdigit.o `test -f 'lib/iswdigit.c' || echo '$(srcdir)/'`lib/iswdigit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswdigit.Tpo lib/$(DEPDIR)/libdatamash_a-iswdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswdigit.c' object='lib/libdatamash_a-iswdigit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswdigit.o `test -f 'lib/iswdigit.c' || echo '$(srcdir)/'`lib/iswdigit.c lib/libdatamash_a-iswdigit.obj: lib/iswdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswdigit.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswdigit.Tpo -c -o lib/libdatamash_a-iswdigit.obj `if test -f 'lib/iswdigit.c'; then $(CYGPATH_W) 'lib/iswdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswdigit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswdigit.Tpo lib/$(DEPDIR)/libdatamash_a-iswdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswdigit.c' object='lib/libdatamash_a-iswdigit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswdigit.obj `if test -f 'lib/iswdigit.c'; then $(CYGPATH_W) 'lib/iswdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswdigit.c'; fi` lib/libdatamash_a-iswpunct.o: lib/iswpunct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswpunct.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswpunct.Tpo -c -o lib/libdatamash_a-iswpunct.o `test -f 'lib/iswpunct.c' || echo '$(srcdir)/'`lib/iswpunct.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswpunct.Tpo lib/$(DEPDIR)/libdatamash_a-iswpunct.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswpunct.c' object='lib/libdatamash_a-iswpunct.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswpunct.o `test -f 'lib/iswpunct.c' || echo '$(srcdir)/'`lib/iswpunct.c lib/libdatamash_a-iswpunct.obj: lib/iswpunct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswpunct.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswpunct.Tpo -c -o lib/libdatamash_a-iswpunct.obj `if test -f 'lib/iswpunct.c'; then $(CYGPATH_W) 'lib/iswpunct.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswpunct.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswpunct.Tpo lib/$(DEPDIR)/libdatamash_a-iswpunct.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswpunct.c' object='lib/libdatamash_a-iswpunct.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswpunct.obj `if test -f 'lib/iswpunct.c'; then $(CYGPATH_W) 'lib/iswpunct.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswpunct.c'; fi` lib/libdatamash_a-iswxdigit.o: lib/iswxdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswxdigit.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswxdigit.Tpo -c -o lib/libdatamash_a-iswxdigit.o `test -f 'lib/iswxdigit.c' || echo '$(srcdir)/'`lib/iswxdigit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswxdigit.Tpo lib/$(DEPDIR)/libdatamash_a-iswxdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswxdigit.c' object='lib/libdatamash_a-iswxdigit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswxdigit.o `test -f 'lib/iswxdigit.c' || echo '$(srcdir)/'`lib/iswxdigit.c lib/libdatamash_a-iswxdigit.obj: lib/iswxdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-iswxdigit.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-iswxdigit.Tpo -c -o lib/libdatamash_a-iswxdigit.obj `if test -f 'lib/iswxdigit.c'; then $(CYGPATH_W) 'lib/iswxdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswxdigit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-iswxdigit.Tpo lib/$(DEPDIR)/libdatamash_a-iswxdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/iswxdigit.c' object='lib/libdatamash_a-iswxdigit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-iswxdigit.obj `if test -f 'lib/iswxdigit.c'; then $(CYGPATH_W) 'lib/iswxdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/iswxdigit.c'; fi` lib/libdatamash_a-ldexp.o: lib/ldexp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ldexp.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ldexp.Tpo -c -o lib/libdatamash_a-ldexp.o `test -f 'lib/ldexp.c' || echo '$(srcdir)/'`lib/ldexp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ldexp.Tpo lib/$(DEPDIR)/libdatamash_a-ldexp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ldexp.c' object='lib/libdatamash_a-ldexp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ldexp.o `test -f 'lib/ldexp.c' || echo '$(srcdir)/'`lib/ldexp.c lib/libdatamash_a-ldexp.obj: lib/ldexp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ldexp.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ldexp.Tpo -c -o lib/libdatamash_a-ldexp.obj `if test -f 'lib/ldexp.c'; then $(CYGPATH_W) 'lib/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/lib/ldexp.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ldexp.Tpo lib/$(DEPDIR)/libdatamash_a-ldexp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ldexp.c' object='lib/libdatamash_a-ldexp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ldexp.obj `if test -f 'lib/ldexp.c'; then $(CYGPATH_W) 'lib/ldexp.c'; else $(CYGPATH_W) '$(srcdir)/lib/ldexp.c'; fi` lib/libdatamash_a-ldexpl.o: lib/ldexpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ldexpl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ldexpl.Tpo -c -o lib/libdatamash_a-ldexpl.o `test -f 'lib/ldexpl.c' || echo '$(srcdir)/'`lib/ldexpl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ldexpl.Tpo lib/$(DEPDIR)/libdatamash_a-ldexpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ldexpl.c' object='lib/libdatamash_a-ldexpl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ldexpl.o `test -f 'lib/ldexpl.c' || echo '$(srcdir)/'`lib/ldexpl.c lib/libdatamash_a-ldexpl.obj: lib/ldexpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-ldexpl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-ldexpl.Tpo -c -o lib/libdatamash_a-ldexpl.obj `if test -f 'lib/ldexpl.c'; then $(CYGPATH_W) 'lib/ldexpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/ldexpl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-ldexpl.Tpo lib/$(DEPDIR)/libdatamash_a-ldexpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ldexpl.c' object='lib/libdatamash_a-ldexpl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-ldexpl.obj `if test -f 'lib/ldexpl.c'; then $(CYGPATH_W) 'lib/ldexpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/ldexpl.c'; fi` lib/libdatamash_a-linebuffer.o: lib/linebuffer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-linebuffer.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-linebuffer.Tpo -c -o lib/libdatamash_a-linebuffer.o `test -f 'lib/linebuffer.c' || echo '$(srcdir)/'`lib/linebuffer.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-linebuffer.Tpo lib/$(DEPDIR)/libdatamash_a-linebuffer.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/linebuffer.c' object='lib/libdatamash_a-linebuffer.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-linebuffer.o `test -f 'lib/linebuffer.c' || echo '$(srcdir)/'`lib/linebuffer.c lib/libdatamash_a-linebuffer.obj: lib/linebuffer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-linebuffer.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-linebuffer.Tpo -c -o lib/libdatamash_a-linebuffer.obj `if test -f 'lib/linebuffer.c'; then $(CYGPATH_W) 'lib/linebuffer.c'; else $(CYGPATH_W) '$(srcdir)/lib/linebuffer.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-linebuffer.Tpo lib/$(DEPDIR)/libdatamash_a-linebuffer.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/linebuffer.c' object='lib/libdatamash_a-linebuffer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-linebuffer.obj `if test -f 'lib/linebuffer.c'; then $(CYGPATH_W) 'lib/linebuffer.c'; else $(CYGPATH_W) '$(srcdir)/lib/linebuffer.c'; fi` lib/libdatamash_a-localcharset.o: lib/localcharset.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localcharset.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localcharset.Tpo -c -o lib/libdatamash_a-localcharset.o `test -f 'lib/localcharset.c' || echo '$(srcdir)/'`lib/localcharset.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localcharset.Tpo lib/$(DEPDIR)/libdatamash_a-localcharset.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localcharset.c' object='lib/libdatamash_a-localcharset.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localcharset.o `test -f 'lib/localcharset.c' || echo '$(srcdir)/'`lib/localcharset.c lib/libdatamash_a-localcharset.obj: lib/localcharset.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localcharset.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localcharset.Tpo -c -o lib/libdatamash_a-localcharset.obj `if test -f 'lib/localcharset.c'; then $(CYGPATH_W) 'lib/localcharset.c'; else $(CYGPATH_W) '$(srcdir)/lib/localcharset.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localcharset.Tpo lib/$(DEPDIR)/libdatamash_a-localcharset.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localcharset.c' object='lib/libdatamash_a-localcharset.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localcharset.obj `if test -f 'lib/localcharset.c'; then $(CYGPATH_W) 'lib/localcharset.c'; else $(CYGPATH_W) '$(srcdir)/lib/localcharset.c'; fi` lib/libdatamash_a-localeconv.o: lib/localeconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localeconv.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localeconv.Tpo -c -o lib/libdatamash_a-localeconv.o `test -f 'lib/localeconv.c' || echo '$(srcdir)/'`lib/localeconv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localeconv.Tpo lib/$(DEPDIR)/libdatamash_a-localeconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localeconv.c' object='lib/libdatamash_a-localeconv.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localeconv.o `test -f 'lib/localeconv.c' || echo '$(srcdir)/'`lib/localeconv.c lib/libdatamash_a-localeconv.obj: lib/localeconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localeconv.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localeconv.Tpo -c -o lib/libdatamash_a-localeconv.obj `if test -f 'lib/localeconv.c'; then $(CYGPATH_W) 'lib/localeconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/localeconv.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localeconv.Tpo lib/$(DEPDIR)/libdatamash_a-localeconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localeconv.c' object='lib/libdatamash_a-localeconv.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localeconv.obj `if test -f 'lib/localeconv.c'; then $(CYGPATH_W) 'lib/localeconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/localeconv.c'; fi` lib/libdatamash_a-localename.o: lib/localename.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename.Tpo -c -o lib/libdatamash_a-localename.o `test -f 'lib/localename.c' || echo '$(srcdir)/'`lib/localename.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename.Tpo lib/$(DEPDIR)/libdatamash_a-localename.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename.c' object='lib/libdatamash_a-localename.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename.o `test -f 'lib/localename.c' || echo '$(srcdir)/'`lib/localename.c lib/libdatamash_a-localename.obj: lib/localename.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename.Tpo -c -o lib/libdatamash_a-localename.obj `if test -f 'lib/localename.c'; then $(CYGPATH_W) 'lib/localename.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename.Tpo lib/$(DEPDIR)/libdatamash_a-localename.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename.c' object='lib/libdatamash_a-localename.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename.obj `if test -f 'lib/localename.c'; then $(CYGPATH_W) 'lib/localename.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename.c'; fi` lib/libdatamash_a-localename-environ.o: lib/localename-environ.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename-environ.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename-environ.Tpo -c -o lib/libdatamash_a-localename-environ.o `test -f 'lib/localename-environ.c' || echo '$(srcdir)/'`lib/localename-environ.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename-environ.Tpo lib/$(DEPDIR)/libdatamash_a-localename-environ.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename-environ.c' object='lib/libdatamash_a-localename-environ.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename-environ.o `test -f 'lib/localename-environ.c' || echo '$(srcdir)/'`lib/localename-environ.c lib/libdatamash_a-localename-environ.obj: lib/localename-environ.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename-environ.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename-environ.Tpo -c -o lib/libdatamash_a-localename-environ.obj `if test -f 'lib/localename-environ.c'; then $(CYGPATH_W) 'lib/localename-environ.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename-environ.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename-environ.Tpo lib/$(DEPDIR)/libdatamash_a-localename-environ.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename-environ.c' object='lib/libdatamash_a-localename-environ.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename-environ.obj `if test -f 'lib/localename-environ.c'; then $(CYGPATH_W) 'lib/localename-environ.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename-environ.c'; fi` lib/libdatamash_a-localename-unsafe.o: lib/localename-unsafe.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename-unsafe.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Tpo -c -o lib/libdatamash_a-localename-unsafe.o `test -f 'lib/localename-unsafe.c' || echo '$(srcdir)/'`lib/localename-unsafe.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Tpo lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename-unsafe.c' object='lib/libdatamash_a-localename-unsafe.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename-unsafe.o `test -f 'lib/localename-unsafe.c' || echo '$(srcdir)/'`lib/localename-unsafe.c lib/libdatamash_a-localename-unsafe.obj: lib/localename-unsafe.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-localename-unsafe.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Tpo -c -o lib/libdatamash_a-localename-unsafe.obj `if test -f 'lib/localename-unsafe.c'; then $(CYGPATH_W) 'lib/localename-unsafe.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename-unsafe.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Tpo lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/localename-unsafe.c' object='lib/libdatamash_a-localename-unsafe.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-localename-unsafe.obj `if test -f 'lib/localename-unsafe.c'; then $(CYGPATH_W) 'lib/localename-unsafe.c'; else $(CYGPATH_W) '$(srcdir)/lib/localename-unsafe.c'; fi` lib/glthread/libdatamash_a-lock.o: lib/glthread/lock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/glthread/libdatamash_a-lock.o -MD -MP -MF lib/glthread/$(DEPDIR)/libdatamash_a-lock.Tpo -c -o lib/glthread/libdatamash_a-lock.o `test -f 'lib/glthread/lock.c' || echo '$(srcdir)/'`lib/glthread/lock.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/glthread/$(DEPDIR)/libdatamash_a-lock.Tpo lib/glthread/$(DEPDIR)/libdatamash_a-lock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/glthread/lock.c' object='lib/glthread/libdatamash_a-lock.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/glthread/libdatamash_a-lock.o `test -f 'lib/glthread/lock.c' || echo '$(srcdir)/'`lib/glthread/lock.c lib/glthread/libdatamash_a-lock.obj: lib/glthread/lock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/glthread/libdatamash_a-lock.obj -MD -MP -MF lib/glthread/$(DEPDIR)/libdatamash_a-lock.Tpo -c -o lib/glthread/libdatamash_a-lock.obj `if test -f 'lib/glthread/lock.c'; then $(CYGPATH_W) 'lib/glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/lib/glthread/lock.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/glthread/$(DEPDIR)/libdatamash_a-lock.Tpo lib/glthread/$(DEPDIR)/libdatamash_a-lock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/glthread/lock.c' object='lib/glthread/libdatamash_a-lock.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/glthread/libdatamash_a-lock.obj `if test -f 'lib/glthread/lock.c'; then $(CYGPATH_W) 'lib/glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/lib/glthread/lock.c'; fi` lib/libdatamash_a-log.o: lib/log.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-log.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-log.Tpo -c -o lib/libdatamash_a-log.o `test -f 'lib/log.c' || echo '$(srcdir)/'`lib/log.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-log.Tpo lib/$(DEPDIR)/libdatamash_a-log.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/log.c' object='lib/libdatamash_a-log.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-log.o `test -f 'lib/log.c' || echo '$(srcdir)/'`lib/log.c lib/libdatamash_a-log.obj: lib/log.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-log.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-log.Tpo -c -o lib/libdatamash_a-log.obj `if test -f 'lib/log.c'; then $(CYGPATH_W) 'lib/log.c'; else $(CYGPATH_W) '$(srcdir)/lib/log.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-log.Tpo lib/$(DEPDIR)/libdatamash_a-log.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/log.c' object='lib/libdatamash_a-log.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-log.obj `if test -f 'lib/log.c'; then $(CYGPATH_W) 'lib/log.c'; else $(CYGPATH_W) '$(srcdir)/lib/log.c'; fi` lib/libdatamash_a-logl.o: lib/logl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-logl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-logl.Tpo -c -o lib/libdatamash_a-logl.o `test -f 'lib/logl.c' || echo '$(srcdir)/'`lib/logl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-logl.Tpo lib/$(DEPDIR)/libdatamash_a-logl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/logl.c' object='lib/libdatamash_a-logl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-logl.o `test -f 'lib/logl.c' || echo '$(srcdir)/'`lib/logl.c lib/libdatamash_a-logl.obj: lib/logl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-logl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-logl.Tpo -c -o lib/libdatamash_a-logl.obj `if test -f 'lib/logl.c'; then $(CYGPATH_W) 'lib/logl.c'; else $(CYGPATH_W) '$(srcdir)/lib/logl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-logl.Tpo lib/$(DEPDIR)/libdatamash_a-logl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/logl.c' object='lib/libdatamash_a-logl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-logl.obj `if test -f 'lib/logl.c'; then $(CYGPATH_W) 'lib/logl.c'; else $(CYGPATH_W) '$(srcdir)/lib/logl.c'; fi` lib/libdatamash_a-lseek.o: lib/lseek.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-lseek.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-lseek.Tpo -c -o lib/libdatamash_a-lseek.o `test -f 'lib/lseek.c' || echo '$(srcdir)/'`lib/lseek.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-lseek.Tpo lib/$(DEPDIR)/libdatamash_a-lseek.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/lseek.c' object='lib/libdatamash_a-lseek.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-lseek.o `test -f 'lib/lseek.c' || echo '$(srcdir)/'`lib/lseek.c lib/libdatamash_a-lseek.obj: lib/lseek.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-lseek.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-lseek.Tpo -c -o lib/libdatamash_a-lseek.obj `if test -f 'lib/lseek.c'; then $(CYGPATH_W) 'lib/lseek.c'; else $(CYGPATH_W) '$(srcdir)/lib/lseek.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-lseek.Tpo lib/$(DEPDIR)/libdatamash_a-lseek.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/lseek.c' object='lib/libdatamash_a-lseek.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-lseek.obj `if test -f 'lib/lseek.c'; then $(CYGPATH_W) 'lib/lseek.c'; else $(CYGPATH_W) '$(srcdir)/lib/lseek.c'; fi` lib/libdatamash_a-malloca.o: lib/malloca.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-malloca.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-malloca.Tpo -c -o lib/libdatamash_a-malloca.o `test -f 'lib/malloca.c' || echo '$(srcdir)/'`lib/malloca.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-malloca.Tpo lib/$(DEPDIR)/libdatamash_a-malloca.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/malloca.c' object='lib/libdatamash_a-malloca.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-malloca.o `test -f 'lib/malloca.c' || echo '$(srcdir)/'`lib/malloca.c lib/libdatamash_a-malloca.obj: lib/malloca.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-malloca.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-malloca.Tpo -c -o lib/libdatamash_a-malloca.obj `if test -f 'lib/malloca.c'; then $(CYGPATH_W) 'lib/malloca.c'; else $(CYGPATH_W) '$(srcdir)/lib/malloca.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-malloca.Tpo lib/$(DEPDIR)/libdatamash_a-malloca.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/malloca.c' object='lib/libdatamash_a-malloca.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-malloca.obj `if test -f 'lib/malloca.c'; then $(CYGPATH_W) 'lib/malloca.c'; else $(CYGPATH_W) '$(srcdir)/lib/malloca.c'; fi` lib/libdatamash_a-math.o: lib/math.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-math.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-math.Tpo -c -o lib/libdatamash_a-math.o `test -f 'lib/math.c' || echo '$(srcdir)/'`lib/math.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-math.Tpo lib/$(DEPDIR)/libdatamash_a-math.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/math.c' object='lib/libdatamash_a-math.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-math.o `test -f 'lib/math.c' || echo '$(srcdir)/'`lib/math.c lib/libdatamash_a-math.obj: lib/math.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-math.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-math.Tpo -c -o lib/libdatamash_a-math.obj `if test -f 'lib/math.c'; then $(CYGPATH_W) 'lib/math.c'; else $(CYGPATH_W) '$(srcdir)/lib/math.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-math.Tpo lib/$(DEPDIR)/libdatamash_a-math.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/math.c' object='lib/libdatamash_a-math.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-math.obj `if test -f 'lib/math.c'; then $(CYGPATH_W) 'lib/math.c'; else $(CYGPATH_W) '$(srcdir)/lib/math.c'; fi` lib/libdatamash_a-mbchar.o: lib/mbchar.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbchar.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbchar.Tpo -c -o lib/libdatamash_a-mbchar.o `test -f 'lib/mbchar.c' || echo '$(srcdir)/'`lib/mbchar.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbchar.Tpo lib/$(DEPDIR)/libdatamash_a-mbchar.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbchar.c' object='lib/libdatamash_a-mbchar.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbchar.o `test -f 'lib/mbchar.c' || echo '$(srcdir)/'`lib/mbchar.c lib/libdatamash_a-mbchar.obj: lib/mbchar.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbchar.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbchar.Tpo -c -o lib/libdatamash_a-mbchar.obj `if test -f 'lib/mbchar.c'; then $(CYGPATH_W) 'lib/mbchar.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbchar.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbchar.Tpo lib/$(DEPDIR)/libdatamash_a-mbchar.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbchar.c' object='lib/libdatamash_a-mbchar.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbchar.obj `if test -f 'lib/mbchar.c'; then $(CYGPATH_W) 'lib/mbchar.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbchar.c'; fi` lib/libdatamash_a-mbrtoc32.o: lib/mbrtoc32.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbrtoc32.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Tpo -c -o lib/libdatamash_a-mbrtoc32.o `test -f 'lib/mbrtoc32.c' || echo '$(srcdir)/'`lib/mbrtoc32.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Tpo lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbrtoc32.c' object='lib/libdatamash_a-mbrtoc32.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbrtoc32.o `test -f 'lib/mbrtoc32.c' || echo '$(srcdir)/'`lib/mbrtoc32.c lib/libdatamash_a-mbrtoc32.obj: lib/mbrtoc32.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbrtoc32.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Tpo -c -o lib/libdatamash_a-mbrtoc32.obj `if test -f 'lib/mbrtoc32.c'; then $(CYGPATH_W) 'lib/mbrtoc32.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbrtoc32.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Tpo lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbrtoc32.c' object='lib/libdatamash_a-mbrtoc32.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbrtoc32.obj `if test -f 'lib/mbrtoc32.c'; then $(CYGPATH_W) 'lib/mbrtoc32.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbrtoc32.c'; fi` lib/libdatamash_a-mbrtowc.o: lib/mbrtowc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbrtowc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbrtowc.Tpo -c -o lib/libdatamash_a-mbrtowc.o `test -f 'lib/mbrtowc.c' || echo '$(srcdir)/'`lib/mbrtowc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbrtowc.Tpo lib/$(DEPDIR)/libdatamash_a-mbrtowc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbrtowc.c' object='lib/libdatamash_a-mbrtowc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbrtowc.o `test -f 'lib/mbrtowc.c' || echo '$(srcdir)/'`lib/mbrtowc.c lib/libdatamash_a-mbrtowc.obj: lib/mbrtowc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbrtowc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbrtowc.Tpo -c -o lib/libdatamash_a-mbrtowc.obj `if test -f 'lib/mbrtowc.c'; then $(CYGPATH_W) 'lib/mbrtowc.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbrtowc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbrtowc.Tpo lib/$(DEPDIR)/libdatamash_a-mbrtowc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbrtowc.c' object='lib/libdatamash_a-mbrtowc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbrtowc.obj `if test -f 'lib/mbrtowc.c'; then $(CYGPATH_W) 'lib/mbrtowc.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbrtowc.c'; fi` lib/libdatamash_a-mbsinit.o: lib/mbsinit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbsinit.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbsinit.Tpo -c -o lib/libdatamash_a-mbsinit.o `test -f 'lib/mbsinit.c' || echo '$(srcdir)/'`lib/mbsinit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbsinit.Tpo lib/$(DEPDIR)/libdatamash_a-mbsinit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbsinit.c' object='lib/libdatamash_a-mbsinit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbsinit.o `test -f 'lib/mbsinit.c' || echo '$(srcdir)/'`lib/mbsinit.c lib/libdatamash_a-mbsinit.obj: lib/mbsinit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbsinit.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbsinit.Tpo -c -o lib/libdatamash_a-mbsinit.obj `if test -f 'lib/mbsinit.c'; then $(CYGPATH_W) 'lib/mbsinit.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbsinit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbsinit.Tpo lib/$(DEPDIR)/libdatamash_a-mbsinit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbsinit.c' object='lib/libdatamash_a-mbsinit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbsinit.obj `if test -f 'lib/mbsinit.c'; then $(CYGPATH_W) 'lib/mbsinit.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbsinit.c'; fi` lib/libdatamash_a-mbslen.o: lib/mbslen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbslen.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbslen.Tpo -c -o lib/libdatamash_a-mbslen.o `test -f 'lib/mbslen.c' || echo '$(srcdir)/'`lib/mbslen.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbslen.Tpo lib/$(DEPDIR)/libdatamash_a-mbslen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbslen.c' object='lib/libdatamash_a-mbslen.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbslen.o `test -f 'lib/mbslen.c' || echo '$(srcdir)/'`lib/mbslen.c lib/libdatamash_a-mbslen.obj: lib/mbslen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbslen.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbslen.Tpo -c -o lib/libdatamash_a-mbslen.obj `if test -f 'lib/mbslen.c'; then $(CYGPATH_W) 'lib/mbslen.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbslen.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbslen.Tpo lib/$(DEPDIR)/libdatamash_a-mbslen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbslen.c' object='lib/libdatamash_a-mbslen.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbslen.obj `if test -f 'lib/mbslen.c'; then $(CYGPATH_W) 'lib/mbslen.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbslen.c'; fi` lib/libdatamash_a-mbsstr.o: lib/mbsstr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbsstr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbsstr.Tpo -c -o lib/libdatamash_a-mbsstr.o `test -f 'lib/mbsstr.c' || echo '$(srcdir)/'`lib/mbsstr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbsstr.Tpo lib/$(DEPDIR)/libdatamash_a-mbsstr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbsstr.c' object='lib/libdatamash_a-mbsstr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbsstr.o `test -f 'lib/mbsstr.c' || echo '$(srcdir)/'`lib/mbsstr.c lib/libdatamash_a-mbsstr.obj: lib/mbsstr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbsstr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbsstr.Tpo -c -o lib/libdatamash_a-mbsstr.obj `if test -f 'lib/mbsstr.c'; then $(CYGPATH_W) 'lib/mbsstr.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbsstr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbsstr.Tpo lib/$(DEPDIR)/libdatamash_a-mbsstr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbsstr.c' object='lib/libdatamash_a-mbsstr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbsstr.obj `if test -f 'lib/mbsstr.c'; then $(CYGPATH_W) 'lib/mbsstr.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbsstr.c'; fi` lib/libdatamash_a-mbszero.o: lib/mbszero.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbszero.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbszero.Tpo -c -o lib/libdatamash_a-mbszero.o `test -f 'lib/mbszero.c' || echo '$(srcdir)/'`lib/mbszero.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbszero.Tpo lib/$(DEPDIR)/libdatamash_a-mbszero.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbszero.c' object='lib/libdatamash_a-mbszero.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbszero.o `test -f 'lib/mbszero.c' || echo '$(srcdir)/'`lib/mbszero.c lib/libdatamash_a-mbszero.obj: lib/mbszero.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbszero.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbszero.Tpo -c -o lib/libdatamash_a-mbszero.obj `if test -f 'lib/mbszero.c'; then $(CYGPATH_W) 'lib/mbszero.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbszero.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbszero.Tpo lib/$(DEPDIR)/libdatamash_a-mbszero.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbszero.c' object='lib/libdatamash_a-mbszero.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbszero.obj `if test -f 'lib/mbszero.c'; then $(CYGPATH_W) 'lib/mbszero.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbszero.c'; fi` lib/libdatamash_a-mbuiter.o: lib/mbuiter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbuiter.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbuiter.Tpo -c -o lib/libdatamash_a-mbuiter.o `test -f 'lib/mbuiter.c' || echo '$(srcdir)/'`lib/mbuiter.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbuiter.Tpo lib/$(DEPDIR)/libdatamash_a-mbuiter.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbuiter.c' object='lib/libdatamash_a-mbuiter.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbuiter.o `test -f 'lib/mbuiter.c' || echo '$(srcdir)/'`lib/mbuiter.c lib/libdatamash_a-mbuiter.obj: lib/mbuiter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbuiter.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbuiter.Tpo -c -o lib/libdatamash_a-mbuiter.obj `if test -f 'lib/mbuiter.c'; then $(CYGPATH_W) 'lib/mbuiter.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbuiter.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbuiter.Tpo lib/$(DEPDIR)/libdatamash_a-mbuiter.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbuiter.c' object='lib/libdatamash_a-mbuiter.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbuiter.obj `if test -f 'lib/mbuiter.c'; then $(CYGPATH_W) 'lib/mbuiter.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbuiter.c'; fi` lib/libdatamash_a-mbuiterf.o: lib/mbuiterf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbuiterf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbuiterf.Tpo -c -o lib/libdatamash_a-mbuiterf.o `test -f 'lib/mbuiterf.c' || echo '$(srcdir)/'`lib/mbuiterf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbuiterf.Tpo lib/$(DEPDIR)/libdatamash_a-mbuiterf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbuiterf.c' object='lib/libdatamash_a-mbuiterf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbuiterf.o `test -f 'lib/mbuiterf.c' || echo '$(srcdir)/'`lib/mbuiterf.c lib/libdatamash_a-mbuiterf.obj: lib/mbuiterf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbuiterf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbuiterf.Tpo -c -o lib/libdatamash_a-mbuiterf.obj `if test -f 'lib/mbuiterf.c'; then $(CYGPATH_W) 'lib/mbuiterf.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbuiterf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbuiterf.Tpo lib/$(DEPDIR)/libdatamash_a-mbuiterf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbuiterf.c' object='lib/libdatamash_a-mbuiterf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbuiterf.obj `if test -f 'lib/mbuiterf.c'; then $(CYGPATH_W) 'lib/mbuiterf.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbuiterf.c'; fi` lib/libdatamash_a-memchr.o: lib/memchr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-memchr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-memchr.Tpo -c -o lib/libdatamash_a-memchr.o `test -f 'lib/memchr.c' || echo '$(srcdir)/'`lib/memchr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-memchr.Tpo lib/$(DEPDIR)/libdatamash_a-memchr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/memchr.c' object='lib/libdatamash_a-memchr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-memchr.o `test -f 'lib/memchr.c' || echo '$(srcdir)/'`lib/memchr.c lib/libdatamash_a-memchr.obj: lib/memchr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-memchr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-memchr.Tpo -c -o lib/libdatamash_a-memchr.obj `if test -f 'lib/memchr.c'; then $(CYGPATH_W) 'lib/memchr.c'; else $(CYGPATH_W) '$(srcdir)/lib/memchr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-memchr.Tpo lib/$(DEPDIR)/libdatamash_a-memchr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/memchr.c' object='lib/libdatamash_a-memchr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-memchr.obj `if test -f 'lib/memchr.c'; then $(CYGPATH_W) 'lib/memchr.c'; else $(CYGPATH_W) '$(srcdir)/lib/memchr.c'; fi` lib/libdatamash_a-mempcpy.o: lib/mempcpy.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mempcpy.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mempcpy.Tpo -c -o lib/libdatamash_a-mempcpy.o `test -f 'lib/mempcpy.c' || echo '$(srcdir)/'`lib/mempcpy.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mempcpy.Tpo lib/$(DEPDIR)/libdatamash_a-mempcpy.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mempcpy.c' object='lib/libdatamash_a-mempcpy.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mempcpy.o `test -f 'lib/mempcpy.c' || echo '$(srcdir)/'`lib/mempcpy.c lib/libdatamash_a-mempcpy.obj: lib/mempcpy.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mempcpy.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mempcpy.Tpo -c -o lib/libdatamash_a-mempcpy.obj `if test -f 'lib/mempcpy.c'; then $(CYGPATH_W) 'lib/mempcpy.c'; else $(CYGPATH_W) '$(srcdir)/lib/mempcpy.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mempcpy.Tpo lib/$(DEPDIR)/libdatamash_a-mempcpy.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mempcpy.c' object='lib/libdatamash_a-mempcpy.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mempcpy.obj `if test -f 'lib/mempcpy.c'; then $(CYGPATH_W) 'lib/mempcpy.c'; else $(CYGPATH_W) '$(srcdir)/lib/mempcpy.c'; fi` lib/libdatamash_a-modf.o: lib/modf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-modf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-modf.Tpo -c -o lib/libdatamash_a-modf.o `test -f 'lib/modf.c' || echo '$(srcdir)/'`lib/modf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-modf.Tpo lib/$(DEPDIR)/libdatamash_a-modf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/modf.c' object='lib/libdatamash_a-modf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-modf.o `test -f 'lib/modf.c' || echo '$(srcdir)/'`lib/modf.c lib/libdatamash_a-modf.obj: lib/modf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-modf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-modf.Tpo -c -o lib/libdatamash_a-modf.obj `if test -f 'lib/modf.c'; then $(CYGPATH_W) 'lib/modf.c'; else $(CYGPATH_W) '$(srcdir)/lib/modf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-modf.Tpo lib/$(DEPDIR)/libdatamash_a-modf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/modf.c' object='lib/libdatamash_a-modf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-modf.obj `if test -f 'lib/modf.c'; then $(CYGPATH_W) 'lib/modf.c'; else $(CYGPATH_W) '$(srcdir)/lib/modf.c'; fi` lib/libdatamash_a-modfl.o: lib/modfl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-modfl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-modfl.Tpo -c -o lib/libdatamash_a-modfl.o `test -f 'lib/modfl.c' || echo '$(srcdir)/'`lib/modfl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-modfl.Tpo lib/$(DEPDIR)/libdatamash_a-modfl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/modfl.c' object='lib/libdatamash_a-modfl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-modfl.o `test -f 'lib/modfl.c' || echo '$(srcdir)/'`lib/modfl.c lib/libdatamash_a-modfl.obj: lib/modfl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-modfl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-modfl.Tpo -c -o lib/libdatamash_a-modfl.obj `if test -f 'lib/modfl.c'; then $(CYGPATH_W) 'lib/modfl.c'; else $(CYGPATH_W) '$(srcdir)/lib/modfl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-modfl.Tpo lib/$(DEPDIR)/libdatamash_a-modfl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/modfl.c' object='lib/libdatamash_a-modfl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-modfl.obj `if test -f 'lib/modfl.c'; then $(CYGPATH_W) 'lib/modfl.c'; else $(CYGPATH_W) '$(srcdir)/lib/modfl.c'; fi` lib/libdatamash_a-msvc-inval.o: lib/msvc-inval.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-msvc-inval.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-msvc-inval.Tpo -c -o lib/libdatamash_a-msvc-inval.o `test -f 'lib/msvc-inval.c' || echo '$(srcdir)/'`lib/msvc-inval.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-msvc-inval.Tpo lib/$(DEPDIR)/libdatamash_a-msvc-inval.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/msvc-inval.c' object='lib/libdatamash_a-msvc-inval.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-msvc-inval.o `test -f 'lib/msvc-inval.c' || echo '$(srcdir)/'`lib/msvc-inval.c lib/libdatamash_a-msvc-inval.obj: lib/msvc-inval.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-msvc-inval.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-msvc-inval.Tpo -c -o lib/libdatamash_a-msvc-inval.obj `if test -f 'lib/msvc-inval.c'; then $(CYGPATH_W) 'lib/msvc-inval.c'; else $(CYGPATH_W) '$(srcdir)/lib/msvc-inval.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-msvc-inval.Tpo lib/$(DEPDIR)/libdatamash_a-msvc-inval.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/msvc-inval.c' object='lib/libdatamash_a-msvc-inval.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-msvc-inval.obj `if test -f 'lib/msvc-inval.c'; then $(CYGPATH_W) 'lib/msvc-inval.c'; else $(CYGPATH_W) '$(srcdir)/lib/msvc-inval.c'; fi` lib/libdatamash_a-msvc-nothrow.o: lib/msvc-nothrow.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-msvc-nothrow.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Tpo -c -o lib/libdatamash_a-msvc-nothrow.o `test -f 'lib/msvc-nothrow.c' || echo '$(srcdir)/'`lib/msvc-nothrow.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Tpo lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/msvc-nothrow.c' object='lib/libdatamash_a-msvc-nothrow.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-msvc-nothrow.o `test -f 'lib/msvc-nothrow.c' || echo '$(srcdir)/'`lib/msvc-nothrow.c lib/libdatamash_a-msvc-nothrow.obj: lib/msvc-nothrow.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-msvc-nothrow.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Tpo -c -o lib/libdatamash_a-msvc-nothrow.obj `if test -f 'lib/msvc-nothrow.c'; then $(CYGPATH_W) 'lib/msvc-nothrow.c'; else $(CYGPATH_W) '$(srcdir)/lib/msvc-nothrow.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Tpo lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/msvc-nothrow.c' object='lib/libdatamash_a-msvc-nothrow.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-msvc-nothrow.obj `if test -f 'lib/msvc-nothrow.c'; then $(CYGPATH_W) 'lib/msvc-nothrow.c'; else $(CYGPATH_W) '$(srcdir)/lib/msvc-nothrow.c'; fi` lib/glthread/libdatamash_a-once.o: lib/glthread/once.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/glthread/libdatamash_a-once.o -MD -MP -MF lib/glthread/$(DEPDIR)/libdatamash_a-once.Tpo -c -o lib/glthread/libdatamash_a-once.o `test -f 'lib/glthread/once.c' || echo '$(srcdir)/'`lib/glthread/once.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/glthread/$(DEPDIR)/libdatamash_a-once.Tpo lib/glthread/$(DEPDIR)/libdatamash_a-once.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/glthread/once.c' object='lib/glthread/libdatamash_a-once.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/glthread/libdatamash_a-once.o `test -f 'lib/glthread/once.c' || echo '$(srcdir)/'`lib/glthread/once.c lib/glthread/libdatamash_a-once.obj: lib/glthread/once.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/glthread/libdatamash_a-once.obj -MD -MP -MF lib/glthread/$(DEPDIR)/libdatamash_a-once.Tpo -c -o lib/glthread/libdatamash_a-once.obj `if test -f 'lib/glthread/once.c'; then $(CYGPATH_W) 'lib/glthread/once.c'; else $(CYGPATH_W) '$(srcdir)/lib/glthread/once.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/glthread/$(DEPDIR)/libdatamash_a-once.Tpo lib/glthread/$(DEPDIR)/libdatamash_a-once.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/glthread/once.c' object='lib/glthread/libdatamash_a-once.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/glthread/libdatamash_a-once.obj `if test -f 'lib/glthread/once.c'; then $(CYGPATH_W) 'lib/glthread/once.c'; else $(CYGPATH_W) '$(srcdir)/lib/glthread/once.c'; fi` lib/libdatamash_a-open.o: lib/open.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-open.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-open.Tpo -c -o lib/libdatamash_a-open.o `test -f 'lib/open.c' || echo '$(srcdir)/'`lib/open.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-open.Tpo lib/$(DEPDIR)/libdatamash_a-open.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/open.c' object='lib/libdatamash_a-open.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-open.o `test -f 'lib/open.c' || echo '$(srcdir)/'`lib/open.c lib/libdatamash_a-open.obj: lib/open.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-open.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-open.Tpo -c -o lib/libdatamash_a-open.obj `if test -f 'lib/open.c'; then $(CYGPATH_W) 'lib/open.c'; else $(CYGPATH_W) '$(srcdir)/lib/open.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-open.Tpo lib/$(DEPDIR)/libdatamash_a-open.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/open.c' object='lib/libdatamash_a-open.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-open.obj `if test -f 'lib/open.c'; then $(CYGPATH_W) 'lib/open.c'; else $(CYGPATH_W) '$(srcdir)/lib/open.c'; fi` lib/libdatamash_a-pclose.o: lib/pclose.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-pclose.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-pclose.Tpo -c -o lib/libdatamash_a-pclose.o `test -f 'lib/pclose.c' || echo '$(srcdir)/'`lib/pclose.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-pclose.Tpo lib/$(DEPDIR)/libdatamash_a-pclose.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pclose.c' object='lib/libdatamash_a-pclose.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-pclose.o `test -f 'lib/pclose.c' || echo '$(srcdir)/'`lib/pclose.c lib/libdatamash_a-pclose.obj: lib/pclose.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-pclose.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-pclose.Tpo -c -o lib/libdatamash_a-pclose.obj `if test -f 'lib/pclose.c'; then $(CYGPATH_W) 'lib/pclose.c'; else $(CYGPATH_W) '$(srcdir)/lib/pclose.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-pclose.Tpo lib/$(DEPDIR)/libdatamash_a-pclose.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pclose.c' object='lib/libdatamash_a-pclose.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-pclose.obj `if test -f 'lib/pclose.c'; then $(CYGPATH_W) 'lib/pclose.c'; else $(CYGPATH_W) '$(srcdir)/lib/pclose.c'; fi` lib/libdatamash_a-popen.o: lib/popen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-popen.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-popen.Tpo -c -o lib/libdatamash_a-popen.o `test -f 'lib/popen.c' || echo '$(srcdir)/'`lib/popen.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-popen.Tpo lib/$(DEPDIR)/libdatamash_a-popen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/popen.c' object='lib/libdatamash_a-popen.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-popen.o `test -f 'lib/popen.c' || echo '$(srcdir)/'`lib/popen.c lib/libdatamash_a-popen.obj: lib/popen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-popen.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-popen.Tpo -c -o lib/libdatamash_a-popen.obj `if test -f 'lib/popen.c'; then $(CYGPATH_W) 'lib/popen.c'; else $(CYGPATH_W) '$(srcdir)/lib/popen.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-popen.Tpo lib/$(DEPDIR)/libdatamash_a-popen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/popen.c' object='lib/libdatamash_a-popen.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-popen.obj `if test -f 'lib/popen.c'; then $(CYGPATH_W) 'lib/popen.c'; else $(CYGPATH_W) '$(srcdir)/lib/popen.c'; fi` lib/libdatamash_a-progname.o: lib/progname.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-progname.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-progname.Tpo -c -o lib/libdatamash_a-progname.o `test -f 'lib/progname.c' || echo '$(srcdir)/'`lib/progname.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-progname.Tpo lib/$(DEPDIR)/libdatamash_a-progname.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/progname.c' object='lib/libdatamash_a-progname.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-progname.o `test -f 'lib/progname.c' || echo '$(srcdir)/'`lib/progname.c lib/libdatamash_a-progname.obj: lib/progname.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-progname.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-progname.Tpo -c -o lib/libdatamash_a-progname.obj `if test -f 'lib/progname.c'; then $(CYGPATH_W) 'lib/progname.c'; else $(CYGPATH_W) '$(srcdir)/lib/progname.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-progname.Tpo lib/$(DEPDIR)/libdatamash_a-progname.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/progname.c' object='lib/libdatamash_a-progname.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-progname.obj `if test -f 'lib/progname.c'; then $(CYGPATH_W) 'lib/progname.c'; else $(CYGPATH_W) '$(srcdir)/lib/progname.c'; fi` lib/libdatamash_a-propername.o: lib/propername.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-propername.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-propername.Tpo -c -o lib/libdatamash_a-propername.o `test -f 'lib/propername.c' || echo '$(srcdir)/'`lib/propername.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-propername.Tpo lib/$(DEPDIR)/libdatamash_a-propername.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/propername.c' object='lib/libdatamash_a-propername.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-propername.o `test -f 'lib/propername.c' || echo '$(srcdir)/'`lib/propername.c lib/libdatamash_a-propername.obj: lib/propername.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-propername.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-propername.Tpo -c -o lib/libdatamash_a-propername.obj `if test -f 'lib/propername.c'; then $(CYGPATH_W) 'lib/propername.c'; else $(CYGPATH_W) '$(srcdir)/lib/propername.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-propername.Tpo lib/$(DEPDIR)/libdatamash_a-propername.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/propername.c' object='lib/libdatamash_a-propername.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-propername.obj `if test -f 'lib/propername.c'; then $(CYGPATH_W) 'lib/propername.c'; else $(CYGPATH_W) '$(srcdir)/lib/propername.c'; fi` lib/libdatamash_a-pthread-once.o: lib/pthread-once.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-pthread-once.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-pthread-once.Tpo -c -o lib/libdatamash_a-pthread-once.o `test -f 'lib/pthread-once.c' || echo '$(srcdir)/'`lib/pthread-once.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-pthread-once.Tpo lib/$(DEPDIR)/libdatamash_a-pthread-once.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pthread-once.c' object='lib/libdatamash_a-pthread-once.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-pthread-once.o `test -f 'lib/pthread-once.c' || echo '$(srcdir)/'`lib/pthread-once.c lib/libdatamash_a-pthread-once.obj: lib/pthread-once.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-pthread-once.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-pthread-once.Tpo -c -o lib/libdatamash_a-pthread-once.obj `if test -f 'lib/pthread-once.c'; then $(CYGPATH_W) 'lib/pthread-once.c'; else $(CYGPATH_W) '$(srcdir)/lib/pthread-once.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-pthread-once.Tpo lib/$(DEPDIR)/libdatamash_a-pthread-once.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pthread-once.c' object='lib/libdatamash_a-pthread-once.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-pthread-once.obj `if test -f 'lib/pthread-once.c'; then $(CYGPATH_W) 'lib/pthread-once.c'; else $(CYGPATH_W) '$(srcdir)/lib/pthread-once.c'; fi` lib/libdatamash_a-quotearg.o: lib/quotearg.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-quotearg.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-quotearg.Tpo -c -o lib/libdatamash_a-quotearg.o `test -f 'lib/quotearg.c' || echo '$(srcdir)/'`lib/quotearg.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-quotearg.Tpo lib/$(DEPDIR)/libdatamash_a-quotearg.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/quotearg.c' object='lib/libdatamash_a-quotearg.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-quotearg.o `test -f 'lib/quotearg.c' || echo '$(srcdir)/'`lib/quotearg.c lib/libdatamash_a-quotearg.obj: lib/quotearg.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-quotearg.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-quotearg.Tpo -c -o lib/libdatamash_a-quotearg.obj `if test -f 'lib/quotearg.c'; then $(CYGPATH_W) 'lib/quotearg.c'; else $(CYGPATH_W) '$(srcdir)/lib/quotearg.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-quotearg.Tpo lib/$(DEPDIR)/libdatamash_a-quotearg.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/quotearg.c' object='lib/libdatamash_a-quotearg.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-quotearg.obj `if test -f 'lib/quotearg.c'; then $(CYGPATH_W) 'lib/quotearg.c'; else $(CYGPATH_W) '$(srcdir)/lib/quotearg.c'; fi` lib/libdatamash_a-random.o: lib/random.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-random.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-random.Tpo -c -o lib/libdatamash_a-random.o `test -f 'lib/random.c' || echo '$(srcdir)/'`lib/random.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-random.Tpo lib/$(DEPDIR)/libdatamash_a-random.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/random.c' object='lib/libdatamash_a-random.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-random.o `test -f 'lib/random.c' || echo '$(srcdir)/'`lib/random.c lib/libdatamash_a-random.obj: lib/random.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-random.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-random.Tpo -c -o lib/libdatamash_a-random.obj `if test -f 'lib/random.c'; then $(CYGPATH_W) 'lib/random.c'; else $(CYGPATH_W) '$(srcdir)/lib/random.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-random.Tpo lib/$(DEPDIR)/libdatamash_a-random.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/random.c' object='lib/libdatamash_a-random.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-random.obj `if test -f 'lib/random.c'; then $(CYGPATH_W) 'lib/random.c'; else $(CYGPATH_W) '$(srcdir)/lib/random.c'; fi` lib/libdatamash_a-random_r.o: lib/random_r.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-random_r.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-random_r.Tpo -c -o lib/libdatamash_a-random_r.o `test -f 'lib/random_r.c' || echo '$(srcdir)/'`lib/random_r.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-random_r.Tpo lib/$(DEPDIR)/libdatamash_a-random_r.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/random_r.c' object='lib/libdatamash_a-random_r.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-random_r.o `test -f 'lib/random_r.c' || echo '$(srcdir)/'`lib/random_r.c lib/libdatamash_a-random_r.obj: lib/random_r.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-random_r.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-random_r.Tpo -c -o lib/libdatamash_a-random_r.obj `if test -f 'lib/random_r.c'; then $(CYGPATH_W) 'lib/random_r.c'; else $(CYGPATH_W) '$(srcdir)/lib/random_r.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-random_r.Tpo lib/$(DEPDIR)/libdatamash_a-random_r.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/random_r.c' object='lib/libdatamash_a-random_r.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-random_r.obj `if test -f 'lib/random_r.c'; then $(CYGPATH_W) 'lib/random_r.c'; else $(CYGPATH_W) '$(srcdir)/lib/random_r.c'; fi` lib/libdatamash_a-realloc.o: lib/realloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-realloc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-realloc.Tpo -c -o lib/libdatamash_a-realloc.o `test -f 'lib/realloc.c' || echo '$(srcdir)/'`lib/realloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-realloc.Tpo lib/$(DEPDIR)/libdatamash_a-realloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/realloc.c' object='lib/libdatamash_a-realloc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-realloc.o `test -f 'lib/realloc.c' || echo '$(srcdir)/'`lib/realloc.c lib/libdatamash_a-realloc.obj: lib/realloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-realloc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-realloc.Tpo -c -o lib/libdatamash_a-realloc.obj `if test -f 'lib/realloc.c'; then $(CYGPATH_W) 'lib/realloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/realloc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-realloc.Tpo lib/$(DEPDIR)/libdatamash_a-realloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/realloc.c' object='lib/libdatamash_a-realloc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-realloc.obj `if test -f 'lib/realloc.c'; then $(CYGPATH_W) 'lib/realloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/realloc.c'; fi` lib/libdatamash_a-reallocarray.o: lib/reallocarray.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-reallocarray.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-reallocarray.Tpo -c -o lib/libdatamash_a-reallocarray.o `test -f 'lib/reallocarray.c' || echo '$(srcdir)/'`lib/reallocarray.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-reallocarray.Tpo lib/$(DEPDIR)/libdatamash_a-reallocarray.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/reallocarray.c' object='lib/libdatamash_a-reallocarray.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-reallocarray.o `test -f 'lib/reallocarray.c' || echo '$(srcdir)/'`lib/reallocarray.c lib/libdatamash_a-reallocarray.obj: lib/reallocarray.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-reallocarray.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-reallocarray.Tpo -c -o lib/libdatamash_a-reallocarray.obj `if test -f 'lib/reallocarray.c'; then $(CYGPATH_W) 'lib/reallocarray.c'; else $(CYGPATH_W) '$(srcdir)/lib/reallocarray.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-reallocarray.Tpo lib/$(DEPDIR)/libdatamash_a-reallocarray.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/reallocarray.c' object='lib/libdatamash_a-reallocarray.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-reallocarray.obj `if test -f 'lib/reallocarray.c'; then $(CYGPATH_W) 'lib/reallocarray.c'; else $(CYGPATH_W) '$(srcdir)/lib/reallocarray.c'; fi` lib/libdatamash_a-round.o: lib/round.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-round.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-round.Tpo -c -o lib/libdatamash_a-round.o `test -f 'lib/round.c' || echo '$(srcdir)/'`lib/round.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-round.Tpo lib/$(DEPDIR)/libdatamash_a-round.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/round.c' object='lib/libdatamash_a-round.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-round.o `test -f 'lib/round.c' || echo '$(srcdir)/'`lib/round.c lib/libdatamash_a-round.obj: lib/round.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-round.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-round.Tpo -c -o lib/libdatamash_a-round.obj `if test -f 'lib/round.c'; then $(CYGPATH_W) 'lib/round.c'; else $(CYGPATH_W) '$(srcdir)/lib/round.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-round.Tpo lib/$(DEPDIR)/libdatamash_a-round.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/round.c' object='lib/libdatamash_a-round.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-round.obj `if test -f 'lib/round.c'; then $(CYGPATH_W) 'lib/round.c'; else $(CYGPATH_W) '$(srcdir)/lib/round.c'; fi` lib/libdatamash_a-roundl.o: lib/roundl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-roundl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-roundl.Tpo -c -o lib/libdatamash_a-roundl.o `test -f 'lib/roundl.c' || echo '$(srcdir)/'`lib/roundl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-roundl.Tpo lib/$(DEPDIR)/libdatamash_a-roundl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/roundl.c' object='lib/libdatamash_a-roundl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-roundl.o `test -f 'lib/roundl.c' || echo '$(srcdir)/'`lib/roundl.c lib/libdatamash_a-roundl.obj: lib/roundl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-roundl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-roundl.Tpo -c -o lib/libdatamash_a-roundl.obj `if test -f 'lib/roundl.c'; then $(CYGPATH_W) 'lib/roundl.c'; else $(CYGPATH_W) '$(srcdir)/lib/roundl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-roundl.Tpo lib/$(DEPDIR)/libdatamash_a-roundl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/roundl.c' object='lib/libdatamash_a-roundl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-roundl.obj `if test -f 'lib/roundl.c'; then $(CYGPATH_W) 'lib/roundl.c'; else $(CYGPATH_W) '$(srcdir)/lib/roundl.c'; fi` lib/libdatamash_a-setlocale.o: lib/setlocale.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale.Tpo -c -o lib/libdatamash_a-setlocale.o `test -f 'lib/setlocale.c' || echo '$(srcdir)/'`lib/setlocale.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale.c' object='lib/libdatamash_a-setlocale.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale.o `test -f 'lib/setlocale.c' || echo '$(srcdir)/'`lib/setlocale.c lib/libdatamash_a-setlocale.obj: lib/setlocale.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale.Tpo -c -o lib/libdatamash_a-setlocale.obj `if test -f 'lib/setlocale.c'; then $(CYGPATH_W) 'lib/setlocale.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale.c' object='lib/libdatamash_a-setlocale.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale.obj `if test -f 'lib/setlocale.c'; then $(CYGPATH_W) 'lib/setlocale.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale.c'; fi` lib/libdatamash_a-setlocale-fixes.o: lib/setlocale-fixes.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale-fixes.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Tpo -c -o lib/libdatamash_a-setlocale-fixes.o `test -f 'lib/setlocale-fixes.c' || echo '$(srcdir)/'`lib/setlocale-fixes.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale-fixes.c' object='lib/libdatamash_a-setlocale-fixes.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale-fixes.o `test -f 'lib/setlocale-fixes.c' || echo '$(srcdir)/'`lib/setlocale-fixes.c lib/libdatamash_a-setlocale-fixes.obj: lib/setlocale-fixes.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale-fixes.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Tpo -c -o lib/libdatamash_a-setlocale-fixes.obj `if test -f 'lib/setlocale-fixes.c'; then $(CYGPATH_W) 'lib/setlocale-fixes.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale-fixes.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale-fixes.c' object='lib/libdatamash_a-setlocale-fixes.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale-fixes.obj `if test -f 'lib/setlocale-fixes.c'; then $(CYGPATH_W) 'lib/setlocale-fixes.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale-fixes.c'; fi` lib/libdatamash_a-setlocale_null.o: lib/setlocale_null.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale_null.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale_null.Tpo -c -o lib/libdatamash_a-setlocale_null.o `test -f 'lib/setlocale_null.c' || echo '$(srcdir)/'`lib/setlocale_null.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale_null.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale_null.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale_null.c' object='lib/libdatamash_a-setlocale_null.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale_null.o `test -f 'lib/setlocale_null.c' || echo '$(srcdir)/'`lib/setlocale_null.c lib/libdatamash_a-setlocale_null.obj: lib/setlocale_null.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale_null.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale_null.Tpo -c -o lib/libdatamash_a-setlocale_null.obj `if test -f 'lib/setlocale_null.c'; then $(CYGPATH_W) 'lib/setlocale_null.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale_null.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale_null.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale_null.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale_null.c' object='lib/libdatamash_a-setlocale_null.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale_null.obj `if test -f 'lib/setlocale_null.c'; then $(CYGPATH_W) 'lib/setlocale_null.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale_null.c'; fi` lib/libdatamash_a-setlocale-lock.o: lib/setlocale-lock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale-lock.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Tpo -c -o lib/libdatamash_a-setlocale-lock.o `test -f 'lib/setlocale-lock.c' || echo '$(srcdir)/'`lib/setlocale-lock.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale-lock.c' object='lib/libdatamash_a-setlocale-lock.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale-lock.o `test -f 'lib/setlocale-lock.c' || echo '$(srcdir)/'`lib/setlocale-lock.c lib/libdatamash_a-setlocale-lock.obj: lib/setlocale-lock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale-lock.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Tpo -c -o lib/libdatamash_a-setlocale-lock.obj `if test -f 'lib/setlocale-lock.c'; then $(CYGPATH_W) 'lib/setlocale-lock.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale-lock.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale-lock.c' object='lib/libdatamash_a-setlocale-lock.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale-lock.obj `if test -f 'lib/setlocale-lock.c'; then $(CYGPATH_W) 'lib/setlocale-lock.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale-lock.c'; fi` lib/libdatamash_a-setlocale_null-unlocked.o: lib/setlocale_null-unlocked.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale_null-unlocked.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Tpo -c -o lib/libdatamash_a-setlocale_null-unlocked.o `test -f 'lib/setlocale_null-unlocked.c' || echo '$(srcdir)/'`lib/setlocale_null-unlocked.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale_null-unlocked.c' object='lib/libdatamash_a-setlocale_null-unlocked.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale_null-unlocked.o `test -f 'lib/setlocale_null-unlocked.c' || echo '$(srcdir)/'`lib/setlocale_null-unlocked.c lib/libdatamash_a-setlocale_null-unlocked.obj: lib/setlocale_null-unlocked.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-setlocale_null-unlocked.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Tpo -c -o lib/libdatamash_a-setlocale_null-unlocked.obj `if test -f 'lib/setlocale_null-unlocked.c'; then $(CYGPATH_W) 'lib/setlocale_null-unlocked.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale_null-unlocked.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Tpo lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setlocale_null-unlocked.c' object='lib/libdatamash_a-setlocale_null-unlocked.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-setlocale_null-unlocked.obj `if test -f 'lib/setlocale_null-unlocked.c'; then $(CYGPATH_W) 'lib/setlocale_null-unlocked.c'; else $(CYGPATH_W) '$(srcdir)/lib/setlocale_null-unlocked.c'; fi` lib/libdatamash_a-sh-quote.o: lib/sh-quote.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sh-quote.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sh-quote.Tpo -c -o lib/libdatamash_a-sh-quote.o `test -f 'lib/sh-quote.c' || echo '$(srcdir)/'`lib/sh-quote.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sh-quote.Tpo lib/$(DEPDIR)/libdatamash_a-sh-quote.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sh-quote.c' object='lib/libdatamash_a-sh-quote.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sh-quote.o `test -f 'lib/sh-quote.c' || echo '$(srcdir)/'`lib/sh-quote.c lib/libdatamash_a-sh-quote.obj: lib/sh-quote.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sh-quote.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sh-quote.Tpo -c -o lib/libdatamash_a-sh-quote.obj `if test -f 'lib/sh-quote.c'; then $(CYGPATH_W) 'lib/sh-quote.c'; else $(CYGPATH_W) '$(srcdir)/lib/sh-quote.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sh-quote.Tpo lib/$(DEPDIR)/libdatamash_a-sh-quote.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sh-quote.c' object='lib/libdatamash_a-sh-quote.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sh-quote.obj `if test -f 'lib/sh-quote.c'; then $(CYGPATH_W) 'lib/sh-quote.c'; else $(CYGPATH_W) '$(srcdir)/lib/sh-quote.c'; fi` lib/libdatamash_a-signbitf.o: lib/signbitf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-signbitf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-signbitf.Tpo -c -o lib/libdatamash_a-signbitf.o `test -f 'lib/signbitf.c' || echo '$(srcdir)/'`lib/signbitf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-signbitf.Tpo lib/$(DEPDIR)/libdatamash_a-signbitf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signbitf.c' object='lib/libdatamash_a-signbitf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-signbitf.o `test -f 'lib/signbitf.c' || echo '$(srcdir)/'`lib/signbitf.c lib/libdatamash_a-signbitf.obj: lib/signbitf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-signbitf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-signbitf.Tpo -c -o lib/libdatamash_a-signbitf.obj `if test -f 'lib/signbitf.c'; then $(CYGPATH_W) 'lib/signbitf.c'; else $(CYGPATH_W) '$(srcdir)/lib/signbitf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-signbitf.Tpo lib/$(DEPDIR)/libdatamash_a-signbitf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signbitf.c' object='lib/libdatamash_a-signbitf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-signbitf.obj `if test -f 'lib/signbitf.c'; then $(CYGPATH_W) 'lib/signbitf.c'; else $(CYGPATH_W) '$(srcdir)/lib/signbitf.c'; fi` lib/libdatamash_a-signbitd.o: lib/signbitd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-signbitd.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-signbitd.Tpo -c -o lib/libdatamash_a-signbitd.o `test -f 'lib/signbitd.c' || echo '$(srcdir)/'`lib/signbitd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-signbitd.Tpo lib/$(DEPDIR)/libdatamash_a-signbitd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signbitd.c' object='lib/libdatamash_a-signbitd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-signbitd.o `test -f 'lib/signbitd.c' || echo '$(srcdir)/'`lib/signbitd.c lib/libdatamash_a-signbitd.obj: lib/signbitd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-signbitd.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-signbitd.Tpo -c -o lib/libdatamash_a-signbitd.obj `if test -f 'lib/signbitd.c'; then $(CYGPATH_W) 'lib/signbitd.c'; else $(CYGPATH_W) '$(srcdir)/lib/signbitd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-signbitd.Tpo lib/$(DEPDIR)/libdatamash_a-signbitd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signbitd.c' object='lib/libdatamash_a-signbitd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-signbitd.obj `if test -f 'lib/signbitd.c'; then $(CYGPATH_W) 'lib/signbitd.c'; else $(CYGPATH_W) '$(srcdir)/lib/signbitd.c'; fi` lib/libdatamash_a-signbitl.o: lib/signbitl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-signbitl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-signbitl.Tpo -c -o lib/libdatamash_a-signbitl.o `test -f 'lib/signbitl.c' || echo '$(srcdir)/'`lib/signbitl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-signbitl.Tpo lib/$(DEPDIR)/libdatamash_a-signbitl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signbitl.c' object='lib/libdatamash_a-signbitl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-signbitl.o `test -f 'lib/signbitl.c' || echo '$(srcdir)/'`lib/signbitl.c lib/libdatamash_a-signbitl.obj: lib/signbitl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-signbitl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-signbitl.Tpo -c -o lib/libdatamash_a-signbitl.obj `if test -f 'lib/signbitl.c'; then $(CYGPATH_W) 'lib/signbitl.c'; else $(CYGPATH_W) '$(srcdir)/lib/signbitl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-signbitl.Tpo lib/$(DEPDIR)/libdatamash_a-signbitl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signbitl.c' object='lib/libdatamash_a-signbitl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-signbitl.obj `if test -f 'lib/signbitl.c'; then $(CYGPATH_W) 'lib/signbitl.c'; else $(CYGPATH_W) '$(srcdir)/lib/signbitl.c'; fi` lib/libdatamash_a-sqrtl.o: lib/sqrtl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sqrtl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sqrtl.Tpo -c -o lib/libdatamash_a-sqrtl.o `test -f 'lib/sqrtl.c' || echo '$(srcdir)/'`lib/sqrtl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sqrtl.Tpo lib/$(DEPDIR)/libdatamash_a-sqrtl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sqrtl.c' object='lib/libdatamash_a-sqrtl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sqrtl.o `test -f 'lib/sqrtl.c' || echo '$(srcdir)/'`lib/sqrtl.c lib/libdatamash_a-sqrtl.obj: lib/sqrtl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sqrtl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sqrtl.Tpo -c -o lib/libdatamash_a-sqrtl.obj `if test -f 'lib/sqrtl.c'; then $(CYGPATH_W) 'lib/sqrtl.c'; else $(CYGPATH_W) '$(srcdir)/lib/sqrtl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sqrtl.Tpo lib/$(DEPDIR)/libdatamash_a-sqrtl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sqrtl.c' object='lib/libdatamash_a-sqrtl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sqrtl.obj `if test -f 'lib/sqrtl.c'; then $(CYGPATH_W) 'lib/sqrtl.c'; else $(CYGPATH_W) '$(srcdir)/lib/sqrtl.c'; fi` lib/libdatamash_a-stat.o: lib/stat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stat.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stat.Tpo -c -o lib/libdatamash_a-stat.o `test -f 'lib/stat.c' || echo '$(srcdir)/'`lib/stat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stat.Tpo lib/$(DEPDIR)/libdatamash_a-stat.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stat.c' object='lib/libdatamash_a-stat.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stat.o `test -f 'lib/stat.c' || echo '$(srcdir)/'`lib/stat.c lib/libdatamash_a-stat.obj: lib/stat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stat.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stat.Tpo -c -o lib/libdatamash_a-stat.obj `if test -f 'lib/stat.c'; then $(CYGPATH_W) 'lib/stat.c'; else $(CYGPATH_W) '$(srcdir)/lib/stat.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stat.Tpo lib/$(DEPDIR)/libdatamash_a-stat.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stat.c' object='lib/libdatamash_a-stat.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stat.obj `if test -f 'lib/stat.c'; then $(CYGPATH_W) 'lib/stat.c'; else $(CYGPATH_W) '$(srcdir)/lib/stat.c'; fi` lib/libdatamash_a-stat-time.o: lib/stat-time.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stat-time.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stat-time.Tpo -c -o lib/libdatamash_a-stat-time.o `test -f 'lib/stat-time.c' || echo '$(srcdir)/'`lib/stat-time.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stat-time.Tpo lib/$(DEPDIR)/libdatamash_a-stat-time.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stat-time.c' object='lib/libdatamash_a-stat-time.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stat-time.o `test -f 'lib/stat-time.c' || echo '$(srcdir)/'`lib/stat-time.c lib/libdatamash_a-stat-time.obj: lib/stat-time.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stat-time.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stat-time.Tpo -c -o lib/libdatamash_a-stat-time.obj `if test -f 'lib/stat-time.c'; then $(CYGPATH_W) 'lib/stat-time.c'; else $(CYGPATH_W) '$(srcdir)/lib/stat-time.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stat-time.Tpo lib/$(DEPDIR)/libdatamash_a-stat-time.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stat-time.c' object='lib/libdatamash_a-stat-time.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stat-time.obj `if test -f 'lib/stat-time.c'; then $(CYGPATH_W) 'lib/stat-time.c'; else $(CYGPATH_W) '$(srcdir)/lib/stat-time.c'; fi` lib/libdatamash_a-stdio-read.o: lib/stdio-read.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stdio-read.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stdio-read.Tpo -c -o lib/libdatamash_a-stdio-read.o `test -f 'lib/stdio-read.c' || echo '$(srcdir)/'`lib/stdio-read.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stdio-read.Tpo lib/$(DEPDIR)/libdatamash_a-stdio-read.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stdio-read.c' object='lib/libdatamash_a-stdio-read.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stdio-read.o `test -f 'lib/stdio-read.c' || echo '$(srcdir)/'`lib/stdio-read.c lib/libdatamash_a-stdio-read.obj: lib/stdio-read.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stdio-read.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stdio-read.Tpo -c -o lib/libdatamash_a-stdio-read.obj `if test -f 'lib/stdio-read.c'; then $(CYGPATH_W) 'lib/stdio-read.c'; else $(CYGPATH_W) '$(srcdir)/lib/stdio-read.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stdio-read.Tpo lib/$(DEPDIR)/libdatamash_a-stdio-read.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stdio-read.c' object='lib/libdatamash_a-stdio-read.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stdio-read.obj `if test -f 'lib/stdio-read.c'; then $(CYGPATH_W) 'lib/stdio-read.c'; else $(CYGPATH_W) '$(srcdir)/lib/stdio-read.c'; fi` lib/libdatamash_a-stdio-write.o: lib/stdio-write.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stdio-write.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stdio-write.Tpo -c -o lib/libdatamash_a-stdio-write.o `test -f 'lib/stdio-write.c' || echo '$(srcdir)/'`lib/stdio-write.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stdio-write.Tpo lib/$(DEPDIR)/libdatamash_a-stdio-write.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stdio-write.c' object='lib/libdatamash_a-stdio-write.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stdio-write.o `test -f 'lib/stdio-write.c' || echo '$(srcdir)/'`lib/stdio-write.c lib/libdatamash_a-stdio-write.obj: lib/stdio-write.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stdio-write.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stdio-write.Tpo -c -o lib/libdatamash_a-stdio-write.obj `if test -f 'lib/stdio-write.c'; then $(CYGPATH_W) 'lib/stdio-write.c'; else $(CYGPATH_W) '$(srcdir)/lib/stdio-write.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stdio-write.Tpo lib/$(DEPDIR)/libdatamash_a-stdio-write.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stdio-write.c' object='lib/libdatamash_a-stdio-write.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stdio-write.obj `if test -f 'lib/stdio-write.c'; then $(CYGPATH_W) 'lib/stdio-write.c'; else $(CYGPATH_W) '$(srcdir)/lib/stdio-write.c'; fi` lib/libdatamash_a-stdlib.o: lib/stdlib.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stdlib.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stdlib.Tpo -c -o lib/libdatamash_a-stdlib.o `test -f 'lib/stdlib.c' || echo '$(srcdir)/'`lib/stdlib.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stdlib.Tpo lib/$(DEPDIR)/libdatamash_a-stdlib.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stdlib.c' object='lib/libdatamash_a-stdlib.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stdlib.o `test -f 'lib/stdlib.c' || echo '$(srcdir)/'`lib/stdlib.c lib/libdatamash_a-stdlib.obj: lib/stdlib.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stdlib.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stdlib.Tpo -c -o lib/libdatamash_a-stdlib.obj `if test -f 'lib/stdlib.c'; then $(CYGPATH_W) 'lib/stdlib.c'; else $(CYGPATH_W) '$(srcdir)/lib/stdlib.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stdlib.Tpo lib/$(DEPDIR)/libdatamash_a-stdlib.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stdlib.c' object='lib/libdatamash_a-stdlib.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stdlib.obj `if test -f 'lib/stdlib.c'; then $(CYGPATH_W) 'lib/stdlib.c'; else $(CYGPATH_W) '$(srcdir)/lib/stdlib.c'; fi` lib/libdatamash_a-stpcpy.o: lib/stpcpy.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stpcpy.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stpcpy.Tpo -c -o lib/libdatamash_a-stpcpy.o `test -f 'lib/stpcpy.c' || echo '$(srcdir)/'`lib/stpcpy.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stpcpy.Tpo lib/$(DEPDIR)/libdatamash_a-stpcpy.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stpcpy.c' object='lib/libdatamash_a-stpcpy.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stpcpy.o `test -f 'lib/stpcpy.c' || echo '$(srcdir)/'`lib/stpcpy.c lib/libdatamash_a-stpcpy.obj: lib/stpcpy.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stpcpy.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stpcpy.Tpo -c -o lib/libdatamash_a-stpcpy.obj `if test -f 'lib/stpcpy.c'; then $(CYGPATH_W) 'lib/stpcpy.c'; else $(CYGPATH_W) '$(srcdir)/lib/stpcpy.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stpcpy.Tpo lib/$(DEPDIR)/libdatamash_a-stpcpy.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stpcpy.c' object='lib/libdatamash_a-stpcpy.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stpcpy.obj `if test -f 'lib/stpcpy.c'; then $(CYGPATH_W) 'lib/stpcpy.c'; else $(CYGPATH_W) '$(srcdir)/lib/stpcpy.c'; fi` lib/libdatamash_a-strcasecmp.o: lib/strcasecmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strcasecmp.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strcasecmp.Tpo -c -o lib/libdatamash_a-strcasecmp.o `test -f 'lib/strcasecmp.c' || echo '$(srcdir)/'`lib/strcasecmp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strcasecmp.Tpo lib/$(DEPDIR)/libdatamash_a-strcasecmp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strcasecmp.c' object='lib/libdatamash_a-strcasecmp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strcasecmp.o `test -f 'lib/strcasecmp.c' || echo '$(srcdir)/'`lib/strcasecmp.c lib/libdatamash_a-strcasecmp.obj: lib/strcasecmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strcasecmp.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strcasecmp.Tpo -c -o lib/libdatamash_a-strcasecmp.obj `if test -f 'lib/strcasecmp.c'; then $(CYGPATH_W) 'lib/strcasecmp.c'; else $(CYGPATH_W) '$(srcdir)/lib/strcasecmp.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strcasecmp.Tpo lib/$(DEPDIR)/libdatamash_a-strcasecmp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strcasecmp.c' object='lib/libdatamash_a-strcasecmp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strcasecmp.obj `if test -f 'lib/strcasecmp.c'; then $(CYGPATH_W) 'lib/strcasecmp.c'; else $(CYGPATH_W) '$(srcdir)/lib/strcasecmp.c'; fi` lib/libdatamash_a-strdup.o: lib/strdup.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strdup.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strdup.Tpo -c -o lib/libdatamash_a-strdup.o `test -f 'lib/strdup.c' || echo '$(srcdir)/'`lib/strdup.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strdup.Tpo lib/$(DEPDIR)/libdatamash_a-strdup.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strdup.c' object='lib/libdatamash_a-strdup.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strdup.o `test -f 'lib/strdup.c' || echo '$(srcdir)/'`lib/strdup.c lib/libdatamash_a-strdup.obj: lib/strdup.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strdup.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strdup.Tpo -c -o lib/libdatamash_a-strdup.obj `if test -f 'lib/strdup.c'; then $(CYGPATH_W) 'lib/strdup.c'; else $(CYGPATH_W) '$(srcdir)/lib/strdup.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strdup.Tpo lib/$(DEPDIR)/libdatamash_a-strdup.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strdup.c' object='lib/libdatamash_a-strdup.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strdup.obj `if test -f 'lib/strdup.c'; then $(CYGPATH_W) 'lib/strdup.c'; else $(CYGPATH_W) '$(srcdir)/lib/strdup.c'; fi` lib/libdatamash_a-strerror.o: lib/strerror.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strerror.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strerror.Tpo -c -o lib/libdatamash_a-strerror.o `test -f 'lib/strerror.c' || echo '$(srcdir)/'`lib/strerror.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strerror.Tpo lib/$(DEPDIR)/libdatamash_a-strerror.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strerror.c' object='lib/libdatamash_a-strerror.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strerror.o `test -f 'lib/strerror.c' || echo '$(srcdir)/'`lib/strerror.c lib/libdatamash_a-strerror.obj: lib/strerror.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strerror.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strerror.Tpo -c -o lib/libdatamash_a-strerror.obj `if test -f 'lib/strerror.c'; then $(CYGPATH_W) 'lib/strerror.c'; else $(CYGPATH_W) '$(srcdir)/lib/strerror.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strerror.Tpo lib/$(DEPDIR)/libdatamash_a-strerror.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strerror.c' object='lib/libdatamash_a-strerror.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strerror.obj `if test -f 'lib/strerror.c'; then $(CYGPATH_W) 'lib/strerror.c'; else $(CYGPATH_W) '$(srcdir)/lib/strerror.c'; fi` lib/libdatamash_a-strerror-override.o: lib/strerror-override.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strerror-override.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strerror-override.Tpo -c -o lib/libdatamash_a-strerror-override.o `test -f 'lib/strerror-override.c' || echo '$(srcdir)/'`lib/strerror-override.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strerror-override.Tpo lib/$(DEPDIR)/libdatamash_a-strerror-override.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strerror-override.c' object='lib/libdatamash_a-strerror-override.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strerror-override.o `test -f 'lib/strerror-override.c' || echo '$(srcdir)/'`lib/strerror-override.c lib/libdatamash_a-strerror-override.obj: lib/strerror-override.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strerror-override.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strerror-override.Tpo -c -o lib/libdatamash_a-strerror-override.obj `if test -f 'lib/strerror-override.c'; then $(CYGPATH_W) 'lib/strerror-override.c'; else $(CYGPATH_W) '$(srcdir)/lib/strerror-override.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strerror-override.Tpo lib/$(DEPDIR)/libdatamash_a-strerror-override.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strerror-override.c' object='lib/libdatamash_a-strerror-override.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strerror-override.obj `if test -f 'lib/strerror-override.c'; then $(CYGPATH_W) 'lib/strerror-override.c'; else $(CYGPATH_W) '$(srcdir)/lib/strerror-override.c'; fi` lib/libdatamash_a-striconv.o: lib/striconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-striconv.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-striconv.Tpo -c -o lib/libdatamash_a-striconv.o `test -f 'lib/striconv.c' || echo '$(srcdir)/'`lib/striconv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-striconv.Tpo lib/$(DEPDIR)/libdatamash_a-striconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/striconv.c' object='lib/libdatamash_a-striconv.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-striconv.o `test -f 'lib/striconv.c' || echo '$(srcdir)/'`lib/striconv.c lib/libdatamash_a-striconv.obj: lib/striconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-striconv.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-striconv.Tpo -c -o lib/libdatamash_a-striconv.obj `if test -f 'lib/striconv.c'; then $(CYGPATH_W) 'lib/striconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/striconv.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-striconv.Tpo lib/$(DEPDIR)/libdatamash_a-striconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/striconv.c' object='lib/libdatamash_a-striconv.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-striconv.obj `if test -f 'lib/striconv.c'; then $(CYGPATH_W) 'lib/striconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/striconv.c'; fi` lib/libdatamash_a-strncasecmp.o: lib/strncasecmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strncasecmp.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strncasecmp.Tpo -c -o lib/libdatamash_a-strncasecmp.o `test -f 'lib/strncasecmp.c' || echo '$(srcdir)/'`lib/strncasecmp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strncasecmp.Tpo lib/$(DEPDIR)/libdatamash_a-strncasecmp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strncasecmp.c' object='lib/libdatamash_a-strncasecmp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strncasecmp.o `test -f 'lib/strncasecmp.c' || echo '$(srcdir)/'`lib/strncasecmp.c lib/libdatamash_a-strncasecmp.obj: lib/strncasecmp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strncasecmp.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strncasecmp.Tpo -c -o lib/libdatamash_a-strncasecmp.obj `if test -f 'lib/strncasecmp.c'; then $(CYGPATH_W) 'lib/strncasecmp.c'; else $(CYGPATH_W) '$(srcdir)/lib/strncasecmp.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strncasecmp.Tpo lib/$(DEPDIR)/libdatamash_a-strncasecmp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strncasecmp.c' object='lib/libdatamash_a-strncasecmp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strncasecmp.obj `if test -f 'lib/strncasecmp.c'; then $(CYGPATH_W) 'lib/strncasecmp.c'; else $(CYGPATH_W) '$(srcdir)/lib/strncasecmp.c'; fi` lib/libdatamash_a-strnlen.o: lib/strnlen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strnlen.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strnlen.Tpo -c -o lib/libdatamash_a-strnlen.o `test -f 'lib/strnlen.c' || echo '$(srcdir)/'`lib/strnlen.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strnlen.Tpo lib/$(DEPDIR)/libdatamash_a-strnlen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strnlen.c' object='lib/libdatamash_a-strnlen.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strnlen.o `test -f 'lib/strnlen.c' || echo '$(srcdir)/'`lib/strnlen.c lib/libdatamash_a-strnlen.obj: lib/strnlen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strnlen.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strnlen.Tpo -c -o lib/libdatamash_a-strnlen.obj `if test -f 'lib/strnlen.c'; then $(CYGPATH_W) 'lib/strnlen.c'; else $(CYGPATH_W) '$(srcdir)/lib/strnlen.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strnlen.Tpo lib/$(DEPDIR)/libdatamash_a-strnlen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strnlen.c' object='lib/libdatamash_a-strnlen.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strnlen.obj `if test -f 'lib/strnlen.c'; then $(CYGPATH_W) 'lib/strnlen.c'; else $(CYGPATH_W) '$(srcdir)/lib/strnlen.c'; fi` lib/libdatamash_a-strnlen1.o: lib/strnlen1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strnlen1.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strnlen1.Tpo -c -o lib/libdatamash_a-strnlen1.o `test -f 'lib/strnlen1.c' || echo '$(srcdir)/'`lib/strnlen1.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strnlen1.Tpo lib/$(DEPDIR)/libdatamash_a-strnlen1.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strnlen1.c' object='lib/libdatamash_a-strnlen1.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strnlen1.o `test -f 'lib/strnlen1.c' || echo '$(srcdir)/'`lib/strnlen1.c lib/libdatamash_a-strnlen1.obj: lib/strnlen1.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strnlen1.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strnlen1.Tpo -c -o lib/libdatamash_a-strnlen1.obj `if test -f 'lib/strnlen1.c'; then $(CYGPATH_W) 'lib/strnlen1.c'; else $(CYGPATH_W) '$(srcdir)/lib/strnlen1.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strnlen1.Tpo lib/$(DEPDIR)/libdatamash_a-strnlen1.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strnlen1.c' object='lib/libdatamash_a-strnlen1.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strnlen1.obj `if test -f 'lib/strnlen1.c'; then $(CYGPATH_W) 'lib/strnlen1.c'; else $(CYGPATH_W) '$(srcdir)/lib/strnlen1.c'; fi` lib/libdatamash_a-strsep.o: lib/strsep.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strsep.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strsep.Tpo -c -o lib/libdatamash_a-strsep.o `test -f 'lib/strsep.c' || echo '$(srcdir)/'`lib/strsep.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strsep.Tpo lib/$(DEPDIR)/libdatamash_a-strsep.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strsep.c' object='lib/libdatamash_a-strsep.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strsep.o `test -f 'lib/strsep.c' || echo '$(srcdir)/'`lib/strsep.c lib/libdatamash_a-strsep.obj: lib/strsep.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strsep.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strsep.Tpo -c -o lib/libdatamash_a-strsep.obj `if test -f 'lib/strsep.c'; then $(CYGPATH_W) 'lib/strsep.c'; else $(CYGPATH_W) '$(srcdir)/lib/strsep.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strsep.Tpo lib/$(DEPDIR)/libdatamash_a-strsep.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strsep.c' object='lib/libdatamash_a-strsep.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strsep.obj `if test -f 'lib/strsep.c'; then $(CYGPATH_W) 'lib/strsep.c'; else $(CYGPATH_W) '$(srcdir)/lib/strsep.c'; fi` lib/libdatamash_a-strtod.o: lib/strtod.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtod.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtod.Tpo -c -o lib/libdatamash_a-strtod.o `test -f 'lib/strtod.c' || echo '$(srcdir)/'`lib/strtod.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtod.Tpo lib/$(DEPDIR)/libdatamash_a-strtod.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtod.c' object='lib/libdatamash_a-strtod.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtod.o `test -f 'lib/strtod.c' || echo '$(srcdir)/'`lib/strtod.c lib/libdatamash_a-strtod.obj: lib/strtod.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtod.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtod.Tpo -c -o lib/libdatamash_a-strtod.obj `if test -f 'lib/strtod.c'; then $(CYGPATH_W) 'lib/strtod.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtod.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtod.Tpo lib/$(DEPDIR)/libdatamash_a-strtod.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtod.c' object='lib/libdatamash_a-strtod.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtod.obj `if test -f 'lib/strtod.c'; then $(CYGPATH_W) 'lib/strtod.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtod.c'; fi` lib/libdatamash_a-strtold.o: lib/strtold.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtold.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtold.Tpo -c -o lib/libdatamash_a-strtold.o `test -f 'lib/strtold.c' || echo '$(srcdir)/'`lib/strtold.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtold.Tpo lib/$(DEPDIR)/libdatamash_a-strtold.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtold.c' object='lib/libdatamash_a-strtold.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtold.o `test -f 'lib/strtold.c' || echo '$(srcdir)/'`lib/strtold.c lib/libdatamash_a-strtold.obj: lib/strtold.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtold.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtold.Tpo -c -o lib/libdatamash_a-strtold.obj `if test -f 'lib/strtold.c'; then $(CYGPATH_W) 'lib/strtold.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtold.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtold.Tpo lib/$(DEPDIR)/libdatamash_a-strtold.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtold.c' object='lib/libdatamash_a-strtold.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtold.obj `if test -f 'lib/strtold.c'; then $(CYGPATH_W) 'lib/strtold.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtold.c'; fi` lib/libdatamash_a-strtoll.o: lib/strtoll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoll.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoll.Tpo -c -o lib/libdatamash_a-strtoll.o `test -f 'lib/strtoll.c' || echo '$(srcdir)/'`lib/strtoll.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoll.Tpo lib/$(DEPDIR)/libdatamash_a-strtoll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoll.c' object='lib/libdatamash_a-strtoll.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoll.o `test -f 'lib/strtoll.c' || echo '$(srcdir)/'`lib/strtoll.c lib/libdatamash_a-strtoll.obj: lib/strtoll.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoll.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoll.Tpo -c -o lib/libdatamash_a-strtoll.obj `if test -f 'lib/strtoll.c'; then $(CYGPATH_W) 'lib/strtoll.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoll.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoll.Tpo lib/$(DEPDIR)/libdatamash_a-strtoll.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoll.c' object='lib/libdatamash_a-strtoll.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoll.obj `if test -f 'lib/strtoll.c'; then $(CYGPATH_W) 'lib/strtoll.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoll.c'; fi` lib/libdatamash_a-strtoull.o: lib/strtoull.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoull.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoull.Tpo -c -o lib/libdatamash_a-strtoull.o `test -f 'lib/strtoull.c' || echo '$(srcdir)/'`lib/strtoull.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoull.Tpo lib/$(DEPDIR)/libdatamash_a-strtoull.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoull.c' object='lib/libdatamash_a-strtoull.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoull.o `test -f 'lib/strtoull.c' || echo '$(srcdir)/'`lib/strtoull.c lib/libdatamash_a-strtoull.obj: lib/strtoull.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoull.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoull.Tpo -c -o lib/libdatamash_a-strtoull.obj `if test -f 'lib/strtoull.c'; then $(CYGPATH_W) 'lib/strtoull.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoull.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoull.Tpo lib/$(DEPDIR)/libdatamash_a-strtoull.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoull.c' object='lib/libdatamash_a-strtoull.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoull.obj `if test -f 'lib/strtoull.c'; then $(CYGPATH_W) 'lib/strtoull.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoull.c'; fi` lib/libdatamash_a-strtoumax.o: lib/strtoumax.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoumax.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoumax.Tpo -c -o lib/libdatamash_a-strtoumax.o `test -f 'lib/strtoumax.c' || echo '$(srcdir)/'`lib/strtoumax.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoumax.Tpo lib/$(DEPDIR)/libdatamash_a-strtoumax.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoumax.c' object='lib/libdatamash_a-strtoumax.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoumax.o `test -f 'lib/strtoumax.c' || echo '$(srcdir)/'`lib/strtoumax.c lib/libdatamash_a-strtoumax.obj: lib/strtoumax.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoumax.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoumax.Tpo -c -o lib/libdatamash_a-strtoumax.obj `if test -f 'lib/strtoumax.c'; then $(CYGPATH_W) 'lib/strtoumax.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoumax.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoumax.Tpo lib/$(DEPDIR)/libdatamash_a-strtoumax.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoumax.c' object='lib/libdatamash_a-strtoumax.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoumax.obj `if test -f 'lib/strtoumax.c'; then $(CYGPATH_W) 'lib/strtoumax.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoumax.c'; fi` lib/libdatamash_a-sys_socket.o: lib/sys_socket.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sys_socket.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sys_socket.Tpo -c -o lib/libdatamash_a-sys_socket.o `test -f 'lib/sys_socket.c' || echo '$(srcdir)/'`lib/sys_socket.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sys_socket.Tpo lib/$(DEPDIR)/libdatamash_a-sys_socket.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sys_socket.c' object='lib/libdatamash_a-sys_socket.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sys_socket.o `test -f 'lib/sys_socket.c' || echo '$(srcdir)/'`lib/sys_socket.c lib/libdatamash_a-sys_socket.obj: lib/sys_socket.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-sys_socket.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-sys_socket.Tpo -c -o lib/libdatamash_a-sys_socket.obj `if test -f 'lib/sys_socket.c'; then $(CYGPATH_W) 'lib/sys_socket.c'; else $(CYGPATH_W) '$(srcdir)/lib/sys_socket.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-sys_socket.Tpo lib/$(DEPDIR)/libdatamash_a-sys_socket.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sys_socket.c' object='lib/libdatamash_a-sys_socket.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-sys_socket.obj `if test -f 'lib/sys_socket.c'; then $(CYGPATH_W) 'lib/sys_socket.c'; else $(CYGPATH_W) '$(srcdir)/lib/sys_socket.c'; fi` lib/glthread/libdatamash_a-threadlib.o: lib/glthread/threadlib.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/glthread/libdatamash_a-threadlib.o -MD -MP -MF lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Tpo -c -o lib/glthread/libdatamash_a-threadlib.o `test -f 'lib/glthread/threadlib.c' || echo '$(srcdir)/'`lib/glthread/threadlib.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Tpo lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/glthread/threadlib.c' object='lib/glthread/libdatamash_a-threadlib.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/glthread/libdatamash_a-threadlib.o `test -f 'lib/glthread/threadlib.c' || echo '$(srcdir)/'`lib/glthread/threadlib.c lib/glthread/libdatamash_a-threadlib.obj: lib/glthread/threadlib.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/glthread/libdatamash_a-threadlib.obj -MD -MP -MF lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Tpo -c -o lib/glthread/libdatamash_a-threadlib.obj `if test -f 'lib/glthread/threadlib.c'; then $(CYGPATH_W) 'lib/glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/lib/glthread/threadlib.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Tpo lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/glthread/threadlib.c' object='lib/glthread/libdatamash_a-threadlib.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/glthread/libdatamash_a-threadlib.obj `if test -f 'lib/glthread/threadlib.c'; then $(CYGPATH_W) 'lib/glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/lib/glthread/threadlib.c'; fi` lib/libdatamash_a-trim.o: lib/trim.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-trim.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-trim.Tpo -c -o lib/libdatamash_a-trim.o `test -f 'lib/trim.c' || echo '$(srcdir)/'`lib/trim.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-trim.Tpo lib/$(DEPDIR)/libdatamash_a-trim.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/trim.c' object='lib/libdatamash_a-trim.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-trim.o `test -f 'lib/trim.c' || echo '$(srcdir)/'`lib/trim.c lib/libdatamash_a-trim.obj: lib/trim.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-trim.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-trim.Tpo -c -o lib/libdatamash_a-trim.obj `if test -f 'lib/trim.c'; then $(CYGPATH_W) 'lib/trim.c'; else $(CYGPATH_W) '$(srcdir)/lib/trim.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-trim.Tpo lib/$(DEPDIR)/libdatamash_a-trim.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/trim.c' object='lib/libdatamash_a-trim.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-trim.obj `if test -f 'lib/trim.c'; then $(CYGPATH_W) 'lib/trim.c'; else $(CYGPATH_W) '$(srcdir)/lib/trim.c'; fi` lib/libdatamash_a-trunc.o: lib/trunc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-trunc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-trunc.Tpo -c -o lib/libdatamash_a-trunc.o `test -f 'lib/trunc.c' || echo '$(srcdir)/'`lib/trunc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-trunc.Tpo lib/$(DEPDIR)/libdatamash_a-trunc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/trunc.c' object='lib/libdatamash_a-trunc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-trunc.o `test -f 'lib/trunc.c' || echo '$(srcdir)/'`lib/trunc.c lib/libdatamash_a-trunc.obj: lib/trunc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-trunc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-trunc.Tpo -c -o lib/libdatamash_a-trunc.obj `if test -f 'lib/trunc.c'; then $(CYGPATH_W) 'lib/trunc.c'; else $(CYGPATH_W) '$(srcdir)/lib/trunc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-trunc.Tpo lib/$(DEPDIR)/libdatamash_a-trunc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/trunc.c' object='lib/libdatamash_a-trunc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-trunc.obj `if test -f 'lib/trunc.c'; then $(CYGPATH_W) 'lib/trunc.c'; else $(CYGPATH_W) '$(srcdir)/lib/trunc.c'; fi` lib/libdatamash_a-truncl.o: lib/truncl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-truncl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-truncl.Tpo -c -o lib/libdatamash_a-truncl.o `test -f 'lib/truncl.c' || echo '$(srcdir)/'`lib/truncl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-truncl.Tpo lib/$(DEPDIR)/libdatamash_a-truncl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/truncl.c' object='lib/libdatamash_a-truncl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-truncl.o `test -f 'lib/truncl.c' || echo '$(srcdir)/'`lib/truncl.c lib/libdatamash_a-truncl.obj: lib/truncl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-truncl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-truncl.Tpo -c -o lib/libdatamash_a-truncl.obj `if test -f 'lib/truncl.c'; then $(CYGPATH_W) 'lib/truncl.c'; else $(CYGPATH_W) '$(srcdir)/lib/truncl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-truncl.Tpo lib/$(DEPDIR)/libdatamash_a-truncl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/truncl.c' object='lib/libdatamash_a-truncl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-truncl.obj `if test -f 'lib/truncl.c'; then $(CYGPATH_W) 'lib/truncl.c'; else $(CYGPATH_W) '$(srcdir)/lib/truncl.c'; fi` lib/libdatamash_a-u64.o: lib/u64.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-u64.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-u64.Tpo -c -o lib/libdatamash_a-u64.o `test -f 'lib/u64.c' || echo '$(srcdir)/'`lib/u64.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-u64.Tpo lib/$(DEPDIR)/libdatamash_a-u64.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/u64.c' object='lib/libdatamash_a-u64.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-u64.o `test -f 'lib/u64.c' || echo '$(srcdir)/'`lib/u64.c lib/libdatamash_a-u64.obj: lib/u64.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-u64.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-u64.Tpo -c -o lib/libdatamash_a-u64.obj `if test -f 'lib/u64.c'; then $(CYGPATH_W) 'lib/u64.c'; else $(CYGPATH_W) '$(srcdir)/lib/u64.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-u64.Tpo lib/$(DEPDIR)/libdatamash_a-u64.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/u64.c' object='lib/libdatamash_a-u64.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-u64.obj `if test -f 'lib/u64.c'; then $(CYGPATH_W) 'lib/u64.c'; else $(CYGPATH_W) '$(srcdir)/lib/u64.c'; fi` lib/unicase/libdatamash_a-tolower.o: lib/unicase/tolower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unicase/libdatamash_a-tolower.o -MD -MP -MF lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Tpo -c -o lib/unicase/libdatamash_a-tolower.o `test -f 'lib/unicase/tolower.c' || echo '$(srcdir)/'`lib/unicase/tolower.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Tpo lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unicase/tolower.c' object='lib/unicase/libdatamash_a-tolower.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unicase/libdatamash_a-tolower.o `test -f 'lib/unicase/tolower.c' || echo '$(srcdir)/'`lib/unicase/tolower.c lib/unicase/libdatamash_a-tolower.obj: lib/unicase/tolower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unicase/libdatamash_a-tolower.obj -MD -MP -MF lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Tpo -c -o lib/unicase/libdatamash_a-tolower.obj `if test -f 'lib/unicase/tolower.c'; then $(CYGPATH_W) 'lib/unicase/tolower.c'; else $(CYGPATH_W) '$(srcdir)/lib/unicase/tolower.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Tpo lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unicase/tolower.c' object='lib/unicase/libdatamash_a-tolower.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unicase/libdatamash_a-tolower.obj `if test -f 'lib/unicase/tolower.c'; then $(CYGPATH_W) 'lib/unicase/tolower.c'; else $(CYGPATH_W) '$(srcdir)/lib/unicase/tolower.c'; fi` lib/unictype/libdatamash_a-ctype_alnum.o: lib/unictype/ctype_alnum.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_alnum.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Tpo -c -o lib/unictype/libdatamash_a-ctype_alnum.o `test -f 'lib/unictype/ctype_alnum.c' || echo '$(srcdir)/'`lib/unictype/ctype_alnum.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_alnum.c' object='lib/unictype/libdatamash_a-ctype_alnum.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_alnum.o `test -f 'lib/unictype/ctype_alnum.c' || echo '$(srcdir)/'`lib/unictype/ctype_alnum.c lib/unictype/libdatamash_a-ctype_alnum.obj: lib/unictype/ctype_alnum.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_alnum.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Tpo -c -o lib/unictype/libdatamash_a-ctype_alnum.obj `if test -f 'lib/unictype/ctype_alnum.c'; then $(CYGPATH_W) 'lib/unictype/ctype_alnum.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_alnum.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_alnum.c' object='lib/unictype/libdatamash_a-ctype_alnum.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_alnum.obj `if test -f 'lib/unictype/ctype_alnum.c'; then $(CYGPATH_W) 'lib/unictype/ctype_alnum.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_alnum.c'; fi` lib/unictype/libdatamash_a-ctype_alpha.o: lib/unictype/ctype_alpha.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_alpha.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Tpo -c -o lib/unictype/libdatamash_a-ctype_alpha.o `test -f 'lib/unictype/ctype_alpha.c' || echo '$(srcdir)/'`lib/unictype/ctype_alpha.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_alpha.c' object='lib/unictype/libdatamash_a-ctype_alpha.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_alpha.o `test -f 'lib/unictype/ctype_alpha.c' || echo '$(srcdir)/'`lib/unictype/ctype_alpha.c lib/unictype/libdatamash_a-ctype_alpha.obj: lib/unictype/ctype_alpha.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_alpha.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Tpo -c -o lib/unictype/libdatamash_a-ctype_alpha.obj `if test -f 'lib/unictype/ctype_alpha.c'; then $(CYGPATH_W) 'lib/unictype/ctype_alpha.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_alpha.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_alpha.c' object='lib/unictype/libdatamash_a-ctype_alpha.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_alpha.obj `if test -f 'lib/unictype/ctype_alpha.c'; then $(CYGPATH_W) 'lib/unictype/ctype_alpha.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_alpha.c'; fi` lib/unictype/libdatamash_a-ctype_blank.o: lib/unictype/ctype_blank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_blank.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Tpo -c -o lib/unictype/libdatamash_a-ctype_blank.o `test -f 'lib/unictype/ctype_blank.c' || echo '$(srcdir)/'`lib/unictype/ctype_blank.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_blank.c' object='lib/unictype/libdatamash_a-ctype_blank.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_blank.o `test -f 'lib/unictype/ctype_blank.c' || echo '$(srcdir)/'`lib/unictype/ctype_blank.c lib/unictype/libdatamash_a-ctype_blank.obj: lib/unictype/ctype_blank.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_blank.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Tpo -c -o lib/unictype/libdatamash_a-ctype_blank.obj `if test -f 'lib/unictype/ctype_blank.c'; then $(CYGPATH_W) 'lib/unictype/ctype_blank.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_blank.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_blank.c' object='lib/unictype/libdatamash_a-ctype_blank.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_blank.obj `if test -f 'lib/unictype/ctype_blank.c'; then $(CYGPATH_W) 'lib/unictype/ctype_blank.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_blank.c'; fi` lib/unictype/libdatamash_a-ctype_cntrl.o: lib/unictype/ctype_cntrl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_cntrl.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Tpo -c -o lib/unictype/libdatamash_a-ctype_cntrl.o `test -f 'lib/unictype/ctype_cntrl.c' || echo '$(srcdir)/'`lib/unictype/ctype_cntrl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_cntrl.c' object='lib/unictype/libdatamash_a-ctype_cntrl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_cntrl.o `test -f 'lib/unictype/ctype_cntrl.c' || echo '$(srcdir)/'`lib/unictype/ctype_cntrl.c lib/unictype/libdatamash_a-ctype_cntrl.obj: lib/unictype/ctype_cntrl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_cntrl.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Tpo -c -o lib/unictype/libdatamash_a-ctype_cntrl.obj `if test -f 'lib/unictype/ctype_cntrl.c'; then $(CYGPATH_W) 'lib/unictype/ctype_cntrl.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_cntrl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_cntrl.c' object='lib/unictype/libdatamash_a-ctype_cntrl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_cntrl.obj `if test -f 'lib/unictype/ctype_cntrl.c'; then $(CYGPATH_W) 'lib/unictype/ctype_cntrl.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_cntrl.c'; fi` lib/unictype/libdatamash_a-ctype_digit.o: lib/unictype/ctype_digit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_digit.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Tpo -c -o lib/unictype/libdatamash_a-ctype_digit.o `test -f 'lib/unictype/ctype_digit.c' || echo '$(srcdir)/'`lib/unictype/ctype_digit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_digit.c' object='lib/unictype/libdatamash_a-ctype_digit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_digit.o `test -f 'lib/unictype/ctype_digit.c' || echo '$(srcdir)/'`lib/unictype/ctype_digit.c lib/unictype/libdatamash_a-ctype_digit.obj: lib/unictype/ctype_digit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_digit.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Tpo -c -o lib/unictype/libdatamash_a-ctype_digit.obj `if test -f 'lib/unictype/ctype_digit.c'; then $(CYGPATH_W) 'lib/unictype/ctype_digit.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_digit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_digit.c' object='lib/unictype/libdatamash_a-ctype_digit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_digit.obj `if test -f 'lib/unictype/ctype_digit.c'; then $(CYGPATH_W) 'lib/unictype/ctype_digit.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_digit.c'; fi` lib/unictype/libdatamash_a-ctype_graph.o: lib/unictype/ctype_graph.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_graph.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Tpo -c -o lib/unictype/libdatamash_a-ctype_graph.o `test -f 'lib/unictype/ctype_graph.c' || echo '$(srcdir)/'`lib/unictype/ctype_graph.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_graph.c' object='lib/unictype/libdatamash_a-ctype_graph.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_graph.o `test -f 'lib/unictype/ctype_graph.c' || echo '$(srcdir)/'`lib/unictype/ctype_graph.c lib/unictype/libdatamash_a-ctype_graph.obj: lib/unictype/ctype_graph.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_graph.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Tpo -c -o lib/unictype/libdatamash_a-ctype_graph.obj `if test -f 'lib/unictype/ctype_graph.c'; then $(CYGPATH_W) 'lib/unictype/ctype_graph.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_graph.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_graph.c' object='lib/unictype/libdatamash_a-ctype_graph.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_graph.obj `if test -f 'lib/unictype/ctype_graph.c'; then $(CYGPATH_W) 'lib/unictype/ctype_graph.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_graph.c'; fi` lib/unictype/libdatamash_a-ctype_lower.o: lib/unictype/ctype_lower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_lower.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Tpo -c -o lib/unictype/libdatamash_a-ctype_lower.o `test -f 'lib/unictype/ctype_lower.c' || echo '$(srcdir)/'`lib/unictype/ctype_lower.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_lower.c' object='lib/unictype/libdatamash_a-ctype_lower.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_lower.o `test -f 'lib/unictype/ctype_lower.c' || echo '$(srcdir)/'`lib/unictype/ctype_lower.c lib/unictype/libdatamash_a-ctype_lower.obj: lib/unictype/ctype_lower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_lower.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Tpo -c -o lib/unictype/libdatamash_a-ctype_lower.obj `if test -f 'lib/unictype/ctype_lower.c'; then $(CYGPATH_W) 'lib/unictype/ctype_lower.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_lower.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_lower.c' object='lib/unictype/libdatamash_a-ctype_lower.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_lower.obj `if test -f 'lib/unictype/ctype_lower.c'; then $(CYGPATH_W) 'lib/unictype/ctype_lower.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_lower.c'; fi` lib/unictype/libdatamash_a-ctype_print.o: lib/unictype/ctype_print.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_print.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Tpo -c -o lib/unictype/libdatamash_a-ctype_print.o `test -f 'lib/unictype/ctype_print.c' || echo '$(srcdir)/'`lib/unictype/ctype_print.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_print.c' object='lib/unictype/libdatamash_a-ctype_print.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_print.o `test -f 'lib/unictype/ctype_print.c' || echo '$(srcdir)/'`lib/unictype/ctype_print.c lib/unictype/libdatamash_a-ctype_print.obj: lib/unictype/ctype_print.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_print.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Tpo -c -o lib/unictype/libdatamash_a-ctype_print.obj `if test -f 'lib/unictype/ctype_print.c'; then $(CYGPATH_W) 'lib/unictype/ctype_print.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_print.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_print.c' object='lib/unictype/libdatamash_a-ctype_print.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_print.obj `if test -f 'lib/unictype/ctype_print.c'; then $(CYGPATH_W) 'lib/unictype/ctype_print.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_print.c'; fi` lib/unictype/libdatamash_a-ctype_punct.o: lib/unictype/ctype_punct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_punct.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Tpo -c -o lib/unictype/libdatamash_a-ctype_punct.o `test -f 'lib/unictype/ctype_punct.c' || echo '$(srcdir)/'`lib/unictype/ctype_punct.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_punct.c' object='lib/unictype/libdatamash_a-ctype_punct.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_punct.o `test -f 'lib/unictype/ctype_punct.c' || echo '$(srcdir)/'`lib/unictype/ctype_punct.c lib/unictype/libdatamash_a-ctype_punct.obj: lib/unictype/ctype_punct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_punct.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Tpo -c -o lib/unictype/libdatamash_a-ctype_punct.obj `if test -f 'lib/unictype/ctype_punct.c'; then $(CYGPATH_W) 'lib/unictype/ctype_punct.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_punct.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_punct.c' object='lib/unictype/libdatamash_a-ctype_punct.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_punct.obj `if test -f 'lib/unictype/ctype_punct.c'; then $(CYGPATH_W) 'lib/unictype/ctype_punct.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_punct.c'; fi` lib/unictype/libdatamash_a-ctype_space.o: lib/unictype/ctype_space.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_space.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Tpo -c -o lib/unictype/libdatamash_a-ctype_space.o `test -f 'lib/unictype/ctype_space.c' || echo '$(srcdir)/'`lib/unictype/ctype_space.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_space.c' object='lib/unictype/libdatamash_a-ctype_space.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_space.o `test -f 'lib/unictype/ctype_space.c' || echo '$(srcdir)/'`lib/unictype/ctype_space.c lib/unictype/libdatamash_a-ctype_space.obj: lib/unictype/ctype_space.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_space.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Tpo -c -o lib/unictype/libdatamash_a-ctype_space.obj `if test -f 'lib/unictype/ctype_space.c'; then $(CYGPATH_W) 'lib/unictype/ctype_space.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_space.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_space.c' object='lib/unictype/libdatamash_a-ctype_space.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_space.obj `if test -f 'lib/unictype/ctype_space.c'; then $(CYGPATH_W) 'lib/unictype/ctype_space.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_space.c'; fi` lib/unictype/libdatamash_a-ctype_upper.o: lib/unictype/ctype_upper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_upper.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Tpo -c -o lib/unictype/libdatamash_a-ctype_upper.o `test -f 'lib/unictype/ctype_upper.c' || echo '$(srcdir)/'`lib/unictype/ctype_upper.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_upper.c' object='lib/unictype/libdatamash_a-ctype_upper.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_upper.o `test -f 'lib/unictype/ctype_upper.c' || echo '$(srcdir)/'`lib/unictype/ctype_upper.c lib/unictype/libdatamash_a-ctype_upper.obj: lib/unictype/ctype_upper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_upper.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Tpo -c -o lib/unictype/libdatamash_a-ctype_upper.obj `if test -f 'lib/unictype/ctype_upper.c'; then $(CYGPATH_W) 'lib/unictype/ctype_upper.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_upper.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_upper.c' object='lib/unictype/libdatamash_a-ctype_upper.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_upper.obj `if test -f 'lib/unictype/ctype_upper.c'; then $(CYGPATH_W) 'lib/unictype/ctype_upper.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_upper.c'; fi` lib/unictype/libdatamash_a-ctype_xdigit.o: lib/unictype/ctype_xdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_xdigit.o -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Tpo -c -o lib/unictype/libdatamash_a-ctype_xdigit.o `test -f 'lib/unictype/ctype_xdigit.c' || echo '$(srcdir)/'`lib/unictype/ctype_xdigit.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_xdigit.c' object='lib/unictype/libdatamash_a-ctype_xdigit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_xdigit.o `test -f 'lib/unictype/ctype_xdigit.c' || echo '$(srcdir)/'`lib/unictype/ctype_xdigit.c lib/unictype/libdatamash_a-ctype_xdigit.obj: lib/unictype/ctype_xdigit.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unictype/libdatamash_a-ctype_xdigit.obj -MD -MP -MF lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Tpo -c -o lib/unictype/libdatamash_a-ctype_xdigit.obj `if test -f 'lib/unictype/ctype_xdigit.c'; then $(CYGPATH_W) 'lib/unictype/ctype_xdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_xdigit.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Tpo lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unictype/ctype_xdigit.c' object='lib/unictype/libdatamash_a-ctype_xdigit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unictype/libdatamash_a-ctype_xdigit.obj `if test -f 'lib/unictype/ctype_xdigit.c'; then $(CYGPATH_W) 'lib/unictype/ctype_xdigit.c'; else $(CYGPATH_W) '$(srcdir)/lib/unictype/ctype_xdigit.c'; fi` lib/libdatamash_a-unistd.o: lib/unistd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-unistd.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-unistd.Tpo -c -o lib/libdatamash_a-unistd.o `test -f 'lib/unistd.c' || echo '$(srcdir)/'`lib/unistd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-unistd.Tpo lib/$(DEPDIR)/libdatamash_a-unistd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistd.c' object='lib/libdatamash_a-unistd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-unistd.o `test -f 'lib/unistd.c' || echo '$(srcdir)/'`lib/unistd.c lib/libdatamash_a-unistd.obj: lib/unistd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-unistd.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-unistd.Tpo -c -o lib/libdatamash_a-unistd.obj `if test -f 'lib/unistd.c'; then $(CYGPATH_W) 'lib/unistd.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-unistd.Tpo lib/$(DEPDIR)/libdatamash_a-unistd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistd.c' object='lib/libdatamash_a-unistd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-unistd.obj `if test -f 'lib/unistd.c'; then $(CYGPATH_W) 'lib/unistd.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistd.c'; fi` lib/unistr/libdatamash_a-u8-mbtoucr.o: lib/unistr/u8-mbtoucr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unistr/libdatamash_a-u8-mbtoucr.o -MD -MP -MF lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Tpo -c -o lib/unistr/libdatamash_a-u8-mbtoucr.o `test -f 'lib/unistr/u8-mbtoucr.c' || echo '$(srcdir)/'`lib/unistr/u8-mbtoucr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Tpo lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistr/u8-mbtoucr.c' object='lib/unistr/libdatamash_a-u8-mbtoucr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unistr/libdatamash_a-u8-mbtoucr.o `test -f 'lib/unistr/u8-mbtoucr.c' || echo '$(srcdir)/'`lib/unistr/u8-mbtoucr.c lib/unistr/libdatamash_a-u8-mbtoucr.obj: lib/unistr/u8-mbtoucr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unistr/libdatamash_a-u8-mbtoucr.obj -MD -MP -MF lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Tpo -c -o lib/unistr/libdatamash_a-u8-mbtoucr.obj `if test -f 'lib/unistr/u8-mbtoucr.c'; then $(CYGPATH_W) 'lib/unistr/u8-mbtoucr.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistr/u8-mbtoucr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Tpo lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistr/u8-mbtoucr.c' object='lib/unistr/libdatamash_a-u8-mbtoucr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unistr/libdatamash_a-u8-mbtoucr.obj `if test -f 'lib/unistr/u8-mbtoucr.c'; then $(CYGPATH_W) 'lib/unistr/u8-mbtoucr.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistr/u8-mbtoucr.c'; fi` lib/unistr/libdatamash_a-u8-uctomb.o: lib/unistr/u8-uctomb.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unistr/libdatamash_a-u8-uctomb.o -MD -MP -MF lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Tpo -c -o lib/unistr/libdatamash_a-u8-uctomb.o `test -f 'lib/unistr/u8-uctomb.c' || echo '$(srcdir)/'`lib/unistr/u8-uctomb.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Tpo lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistr/u8-uctomb.c' object='lib/unistr/libdatamash_a-u8-uctomb.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unistr/libdatamash_a-u8-uctomb.o `test -f 'lib/unistr/u8-uctomb.c' || echo '$(srcdir)/'`lib/unistr/u8-uctomb.c lib/unistr/libdatamash_a-u8-uctomb.obj: lib/unistr/u8-uctomb.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unistr/libdatamash_a-u8-uctomb.obj -MD -MP -MF lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Tpo -c -o lib/unistr/libdatamash_a-u8-uctomb.obj `if test -f 'lib/unistr/u8-uctomb.c'; then $(CYGPATH_W) 'lib/unistr/u8-uctomb.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistr/u8-uctomb.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Tpo lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistr/u8-uctomb.c' object='lib/unistr/libdatamash_a-u8-uctomb.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unistr/libdatamash_a-u8-uctomb.obj `if test -f 'lib/unistr/u8-uctomb.c'; then $(CYGPATH_W) 'lib/unistr/u8-uctomb.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistr/u8-uctomb.c'; fi` lib/unistr/libdatamash_a-u8-uctomb-aux.o: lib/unistr/u8-uctomb-aux.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unistr/libdatamash_a-u8-uctomb-aux.o -MD -MP -MF lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Tpo -c -o lib/unistr/libdatamash_a-u8-uctomb-aux.o `test -f 'lib/unistr/u8-uctomb-aux.c' || echo '$(srcdir)/'`lib/unistr/u8-uctomb-aux.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Tpo lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistr/u8-uctomb-aux.c' object='lib/unistr/libdatamash_a-u8-uctomb-aux.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unistr/libdatamash_a-u8-uctomb-aux.o `test -f 'lib/unistr/u8-uctomb-aux.c' || echo '$(srcdir)/'`lib/unistr/u8-uctomb-aux.c lib/unistr/libdatamash_a-u8-uctomb-aux.obj: lib/unistr/u8-uctomb-aux.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/unistr/libdatamash_a-u8-uctomb-aux.obj -MD -MP -MF lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Tpo -c -o lib/unistr/libdatamash_a-u8-uctomb-aux.obj `if test -f 'lib/unistr/u8-uctomb-aux.c'; then $(CYGPATH_W) 'lib/unistr/u8-uctomb-aux.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistr/u8-uctomb-aux.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Tpo lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/unistr/u8-uctomb-aux.c' object='lib/unistr/libdatamash_a-u8-uctomb-aux.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/unistr/libdatamash_a-u8-uctomb-aux.obj `if test -f 'lib/unistr/u8-uctomb-aux.c'; then $(CYGPATH_W) 'lib/unistr/u8-uctomb-aux.c'; else $(CYGPATH_W) '$(srcdir)/lib/unistr/u8-uctomb-aux.c'; fi` lib/uniwidth/libdatamash_a-width.o: lib/uniwidth/width.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/uniwidth/libdatamash_a-width.o -MD -MP -MF lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Tpo -c -o lib/uniwidth/libdatamash_a-width.o `test -f 'lib/uniwidth/width.c' || echo '$(srcdir)/'`lib/uniwidth/width.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Tpo lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/uniwidth/width.c' object='lib/uniwidth/libdatamash_a-width.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/uniwidth/libdatamash_a-width.o `test -f 'lib/uniwidth/width.c' || echo '$(srcdir)/'`lib/uniwidth/width.c lib/uniwidth/libdatamash_a-width.obj: lib/uniwidth/width.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/uniwidth/libdatamash_a-width.obj -MD -MP -MF lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Tpo -c -o lib/uniwidth/libdatamash_a-width.obj `if test -f 'lib/uniwidth/width.c'; then $(CYGPATH_W) 'lib/uniwidth/width.c'; else $(CYGPATH_W) '$(srcdir)/lib/uniwidth/width.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Tpo lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/uniwidth/width.c' object='lib/uniwidth/libdatamash_a-width.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/uniwidth/libdatamash_a-width.obj `if test -f 'lib/uniwidth/width.c'; then $(CYGPATH_W) 'lib/uniwidth/width.c'; else $(CYGPATH_W) '$(srcdir)/lib/uniwidth/width.c'; fi` lib/libdatamash_a-version-etc.o: lib/version-etc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-version-etc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-version-etc.Tpo -c -o lib/libdatamash_a-version-etc.o `test -f 'lib/version-etc.c' || echo '$(srcdir)/'`lib/version-etc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-version-etc.Tpo lib/$(DEPDIR)/libdatamash_a-version-etc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/version-etc.c' object='lib/libdatamash_a-version-etc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-version-etc.o `test -f 'lib/version-etc.c' || echo '$(srcdir)/'`lib/version-etc.c lib/libdatamash_a-version-etc.obj: lib/version-etc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-version-etc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-version-etc.Tpo -c -o lib/libdatamash_a-version-etc.obj `if test -f 'lib/version-etc.c'; then $(CYGPATH_W) 'lib/version-etc.c'; else $(CYGPATH_W) '$(srcdir)/lib/version-etc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-version-etc.Tpo lib/$(DEPDIR)/libdatamash_a-version-etc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/version-etc.c' object='lib/libdatamash_a-version-etc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-version-etc.obj `if test -f 'lib/version-etc.c'; then $(CYGPATH_W) 'lib/version-etc.c'; else $(CYGPATH_W) '$(srcdir)/lib/version-etc.c'; fi` lib/libdatamash_a-vsnzprintf.o: lib/vsnzprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-vsnzprintf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Tpo -c -o lib/libdatamash_a-vsnzprintf.o `test -f 'lib/vsnzprintf.c' || echo '$(srcdir)/'`lib/vsnzprintf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Tpo lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/vsnzprintf.c' object='lib/libdatamash_a-vsnzprintf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-vsnzprintf.o `test -f 'lib/vsnzprintf.c' || echo '$(srcdir)/'`lib/vsnzprintf.c lib/libdatamash_a-vsnzprintf.obj: lib/vsnzprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-vsnzprintf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Tpo -c -o lib/libdatamash_a-vsnzprintf.obj `if test -f 'lib/vsnzprintf.c'; then $(CYGPATH_W) 'lib/vsnzprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/vsnzprintf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Tpo lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/vsnzprintf.c' object='lib/libdatamash_a-vsnzprintf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-vsnzprintf.obj `if test -f 'lib/vsnzprintf.c'; then $(CYGPATH_W) 'lib/vsnzprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/vsnzprintf.c'; fi` lib/libdatamash_a-waitpid.o: lib/waitpid.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-waitpid.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-waitpid.Tpo -c -o lib/libdatamash_a-waitpid.o `test -f 'lib/waitpid.c' || echo '$(srcdir)/'`lib/waitpid.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-waitpid.Tpo lib/$(DEPDIR)/libdatamash_a-waitpid.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/waitpid.c' object='lib/libdatamash_a-waitpid.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-waitpid.o `test -f 'lib/waitpid.c' || echo '$(srcdir)/'`lib/waitpid.c lib/libdatamash_a-waitpid.obj: lib/waitpid.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-waitpid.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-waitpid.Tpo -c -o lib/libdatamash_a-waitpid.obj `if test -f 'lib/waitpid.c'; then $(CYGPATH_W) 'lib/waitpid.c'; else $(CYGPATH_W) '$(srcdir)/lib/waitpid.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-waitpid.Tpo lib/$(DEPDIR)/libdatamash_a-waitpid.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/waitpid.c' object='lib/libdatamash_a-waitpid.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-waitpid.obj `if test -f 'lib/waitpid.c'; then $(CYGPATH_W) 'lib/waitpid.c'; else $(CYGPATH_W) '$(srcdir)/lib/waitpid.c'; fi` lib/libdatamash_a-wctype-h.o: lib/wctype-h.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-wctype-h.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-wctype-h.Tpo -c -o lib/libdatamash_a-wctype-h.o `test -f 'lib/wctype-h.c' || echo '$(srcdir)/'`lib/wctype-h.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-wctype-h.Tpo lib/$(DEPDIR)/libdatamash_a-wctype-h.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/wctype-h.c' object='lib/libdatamash_a-wctype-h.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-wctype-h.o `test -f 'lib/wctype-h.c' || echo '$(srcdir)/'`lib/wctype-h.c lib/libdatamash_a-wctype-h.obj: lib/wctype-h.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-wctype-h.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-wctype-h.Tpo -c -o lib/libdatamash_a-wctype-h.obj `if test -f 'lib/wctype-h.c'; then $(CYGPATH_W) 'lib/wctype-h.c'; else $(CYGPATH_W) '$(srcdir)/lib/wctype-h.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-wctype-h.Tpo lib/$(DEPDIR)/libdatamash_a-wctype-h.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/wctype-h.c' object='lib/libdatamash_a-wctype-h.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-wctype-h.obj `if test -f 'lib/wctype-h.c'; then $(CYGPATH_W) 'lib/wctype-h.c'; else $(CYGPATH_W) '$(srcdir)/lib/wctype-h.c'; fi` lib/libdatamash_a-wcwidth.o: lib/wcwidth.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-wcwidth.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-wcwidth.Tpo -c -o lib/libdatamash_a-wcwidth.o `test -f 'lib/wcwidth.c' || echo '$(srcdir)/'`lib/wcwidth.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-wcwidth.Tpo lib/$(DEPDIR)/libdatamash_a-wcwidth.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/wcwidth.c' object='lib/libdatamash_a-wcwidth.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-wcwidth.o `test -f 'lib/wcwidth.c' || echo '$(srcdir)/'`lib/wcwidth.c lib/libdatamash_a-wcwidth.obj: lib/wcwidth.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-wcwidth.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-wcwidth.Tpo -c -o lib/libdatamash_a-wcwidth.obj `if test -f 'lib/wcwidth.c'; then $(CYGPATH_W) 'lib/wcwidth.c'; else $(CYGPATH_W) '$(srcdir)/lib/wcwidth.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-wcwidth.Tpo lib/$(DEPDIR)/libdatamash_a-wcwidth.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/wcwidth.c' object='lib/libdatamash_a-wcwidth.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-wcwidth.obj `if test -f 'lib/wcwidth.c'; then $(CYGPATH_W) 'lib/wcwidth.c'; else $(CYGPATH_W) '$(srcdir)/lib/wcwidth.c'; fi` lib/libdatamash_a-windows-mutex.o: lib/windows-mutex.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-mutex.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-mutex.Tpo -c -o lib/libdatamash_a-windows-mutex.o `test -f 'lib/windows-mutex.c' || echo '$(srcdir)/'`lib/windows-mutex.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-mutex.Tpo lib/$(DEPDIR)/libdatamash_a-windows-mutex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-mutex.c' object='lib/libdatamash_a-windows-mutex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-mutex.o `test -f 'lib/windows-mutex.c' || echo '$(srcdir)/'`lib/windows-mutex.c lib/libdatamash_a-windows-mutex.obj: lib/windows-mutex.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-mutex.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-mutex.Tpo -c -o lib/libdatamash_a-windows-mutex.obj `if test -f 'lib/windows-mutex.c'; then $(CYGPATH_W) 'lib/windows-mutex.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-mutex.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-mutex.Tpo lib/$(DEPDIR)/libdatamash_a-windows-mutex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-mutex.c' object='lib/libdatamash_a-windows-mutex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-mutex.obj `if test -f 'lib/windows-mutex.c'; then $(CYGPATH_W) 'lib/windows-mutex.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-mutex.c'; fi` lib/libdatamash_a-windows-once.o: lib/windows-once.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-once.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-once.Tpo -c -o lib/libdatamash_a-windows-once.o `test -f 'lib/windows-once.c' || echo '$(srcdir)/'`lib/windows-once.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-once.Tpo lib/$(DEPDIR)/libdatamash_a-windows-once.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-once.c' object='lib/libdatamash_a-windows-once.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-once.o `test -f 'lib/windows-once.c' || echo '$(srcdir)/'`lib/windows-once.c lib/libdatamash_a-windows-once.obj: lib/windows-once.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-once.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-once.Tpo -c -o lib/libdatamash_a-windows-once.obj `if test -f 'lib/windows-once.c'; then $(CYGPATH_W) 'lib/windows-once.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-once.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-once.Tpo lib/$(DEPDIR)/libdatamash_a-windows-once.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-once.c' object='lib/libdatamash_a-windows-once.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-once.obj `if test -f 'lib/windows-once.c'; then $(CYGPATH_W) 'lib/windows-once.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-once.c'; fi` lib/libdatamash_a-windows-recmutex.o: lib/windows-recmutex.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-recmutex.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Tpo -c -o lib/libdatamash_a-windows-recmutex.o `test -f 'lib/windows-recmutex.c' || echo '$(srcdir)/'`lib/windows-recmutex.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Tpo lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-recmutex.c' object='lib/libdatamash_a-windows-recmutex.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-recmutex.o `test -f 'lib/windows-recmutex.c' || echo '$(srcdir)/'`lib/windows-recmutex.c lib/libdatamash_a-windows-recmutex.obj: lib/windows-recmutex.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-recmutex.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Tpo -c -o lib/libdatamash_a-windows-recmutex.obj `if test -f 'lib/windows-recmutex.c'; then $(CYGPATH_W) 'lib/windows-recmutex.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-recmutex.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Tpo lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-recmutex.c' object='lib/libdatamash_a-windows-recmutex.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-recmutex.obj `if test -f 'lib/windows-recmutex.c'; then $(CYGPATH_W) 'lib/windows-recmutex.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-recmutex.c'; fi` lib/libdatamash_a-windows-rwlock.o: lib/windows-rwlock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-rwlock.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Tpo -c -o lib/libdatamash_a-windows-rwlock.o `test -f 'lib/windows-rwlock.c' || echo '$(srcdir)/'`lib/windows-rwlock.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Tpo lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-rwlock.c' object='lib/libdatamash_a-windows-rwlock.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-rwlock.o `test -f 'lib/windows-rwlock.c' || echo '$(srcdir)/'`lib/windows-rwlock.c lib/libdatamash_a-windows-rwlock.obj: lib/windows-rwlock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-windows-rwlock.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Tpo -c -o lib/libdatamash_a-windows-rwlock.obj `if test -f 'lib/windows-rwlock.c'; then $(CYGPATH_W) 'lib/windows-rwlock.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-rwlock.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Tpo lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/windows-rwlock.c' object='lib/libdatamash_a-windows-rwlock.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-windows-rwlock.obj `if test -f 'lib/windows-rwlock.c'; then $(CYGPATH_W) 'lib/windows-rwlock.c'; else $(CYGPATH_W) '$(srcdir)/lib/windows-rwlock.c'; fi` lib/libdatamash_a-xmalloc.o: lib/xmalloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xmalloc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xmalloc.Tpo -c -o lib/libdatamash_a-xmalloc.o `test -f 'lib/xmalloc.c' || echo '$(srcdir)/'`lib/xmalloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xmalloc.Tpo lib/$(DEPDIR)/libdatamash_a-xmalloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xmalloc.c' object='lib/libdatamash_a-xmalloc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xmalloc.o `test -f 'lib/xmalloc.c' || echo '$(srcdir)/'`lib/xmalloc.c lib/libdatamash_a-xmalloc.obj: lib/xmalloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xmalloc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xmalloc.Tpo -c -o lib/libdatamash_a-xmalloc.obj `if test -f 'lib/xmalloc.c'; then $(CYGPATH_W) 'lib/xmalloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/xmalloc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xmalloc.Tpo lib/$(DEPDIR)/libdatamash_a-xmalloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xmalloc.c' object='lib/libdatamash_a-xmalloc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xmalloc.obj `if test -f 'lib/xmalloc.c'; then $(CYGPATH_W) 'lib/xmalloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/xmalloc.c'; fi` lib/libdatamash_a-xalloc-die.o: lib/xalloc-die.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xalloc-die.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xalloc-die.Tpo -c -o lib/libdatamash_a-xalloc-die.o `test -f 'lib/xalloc-die.c' || echo '$(srcdir)/'`lib/xalloc-die.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xalloc-die.Tpo lib/$(DEPDIR)/libdatamash_a-xalloc-die.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xalloc-die.c' object='lib/libdatamash_a-xalloc-die.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xalloc-die.o `test -f 'lib/xalloc-die.c' || echo '$(srcdir)/'`lib/xalloc-die.c lib/libdatamash_a-xalloc-die.obj: lib/xalloc-die.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xalloc-die.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xalloc-die.Tpo -c -o lib/libdatamash_a-xalloc-die.obj `if test -f 'lib/xalloc-die.c'; then $(CYGPATH_W) 'lib/xalloc-die.c'; else $(CYGPATH_W) '$(srcdir)/lib/xalloc-die.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xalloc-die.Tpo lib/$(DEPDIR)/libdatamash_a-xalloc-die.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xalloc-die.c' object='lib/libdatamash_a-xalloc-die.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xalloc-die.obj `if test -f 'lib/xalloc-die.c'; then $(CYGPATH_W) 'lib/xalloc-die.c'; else $(CYGPATH_W) '$(srcdir)/lib/xalloc-die.c'; fi` lib/libdatamash_a-xsize.o: lib/xsize.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xsize.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xsize.Tpo -c -o lib/libdatamash_a-xsize.o `test -f 'lib/xsize.c' || echo '$(srcdir)/'`lib/xsize.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xsize.Tpo lib/$(DEPDIR)/libdatamash_a-xsize.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xsize.c' object='lib/libdatamash_a-xsize.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xsize.o `test -f 'lib/xsize.c' || echo '$(srcdir)/'`lib/xsize.c lib/libdatamash_a-xsize.obj: lib/xsize.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xsize.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xsize.Tpo -c -o lib/libdatamash_a-xsize.obj `if test -f 'lib/xsize.c'; then $(CYGPATH_W) 'lib/xsize.c'; else $(CYGPATH_W) '$(srcdir)/lib/xsize.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xsize.Tpo lib/$(DEPDIR)/libdatamash_a-xsize.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xsize.c' object='lib/libdatamash_a-xsize.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xsize.obj `if test -f 'lib/xsize.c'; then $(CYGPATH_W) 'lib/xsize.c'; else $(CYGPATH_W) '$(srcdir)/lib/xsize.c'; fi` lib/libdatamash_a-xstriconv.o: lib/xstriconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstriconv.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstriconv.Tpo -c -o lib/libdatamash_a-xstriconv.o `test -f 'lib/xstriconv.c' || echo '$(srcdir)/'`lib/xstriconv.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstriconv.Tpo lib/$(DEPDIR)/libdatamash_a-xstriconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstriconv.c' object='lib/libdatamash_a-xstriconv.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstriconv.o `test -f 'lib/xstriconv.c' || echo '$(srcdir)/'`lib/xstriconv.c lib/libdatamash_a-xstriconv.obj: lib/xstriconv.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstriconv.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstriconv.Tpo -c -o lib/libdatamash_a-xstriconv.obj `if test -f 'lib/xstriconv.c'; then $(CYGPATH_W) 'lib/xstriconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstriconv.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstriconv.Tpo lib/$(DEPDIR)/libdatamash_a-xstriconv.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstriconv.c' object='lib/libdatamash_a-xstriconv.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstriconv.obj `if test -f 'lib/xstriconv.c'; then $(CYGPATH_W) 'lib/xstriconv.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstriconv.c'; fi` lib/libdatamash_a-xstrtol.o: lib/xstrtol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtol.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtol.Tpo -c -o lib/libdatamash_a-xstrtol.o `test -f 'lib/xstrtol.c' || echo '$(srcdir)/'`lib/xstrtol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtol.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtol.c' object='lib/libdatamash_a-xstrtol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtol.o `test -f 'lib/xstrtol.c' || echo '$(srcdir)/'`lib/xstrtol.c lib/libdatamash_a-xstrtol.obj: lib/xstrtol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtol.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtol.Tpo -c -o lib/libdatamash_a-xstrtol.obj `if test -f 'lib/xstrtol.c'; then $(CYGPATH_W) 'lib/xstrtol.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtol.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtol.c' object='lib/libdatamash_a-xstrtol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtol.obj `if test -f 'lib/xstrtol.c'; then $(CYGPATH_W) 'lib/xstrtol.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtol.c'; fi` lib/libdatamash_a-xstrtoul.o: lib/xstrtoul.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtoul.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtoul.Tpo -c -o lib/libdatamash_a-xstrtoul.o `test -f 'lib/xstrtoul.c' || echo '$(srcdir)/'`lib/xstrtoul.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtoul.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtoul.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtoul.c' object='lib/libdatamash_a-xstrtoul.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtoul.o `test -f 'lib/xstrtoul.c' || echo '$(srcdir)/'`lib/xstrtoul.c lib/libdatamash_a-xstrtoul.obj: lib/xstrtoul.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtoul.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtoul.Tpo -c -o lib/libdatamash_a-xstrtoul.obj `if test -f 'lib/xstrtoul.c'; then $(CYGPATH_W) 'lib/xstrtoul.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtoul.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtoul.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtoul.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtoul.c' object='lib/libdatamash_a-xstrtoul.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtoul.obj `if test -f 'lib/xstrtoul.c'; then $(CYGPATH_W) 'lib/xstrtoul.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtoul.c'; fi` lib/libdatamash_a-xstrtol-error.o: lib/xstrtol-error.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtol-error.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Tpo -c -o lib/libdatamash_a-xstrtol-error.o `test -f 'lib/xstrtol-error.c' || echo '$(srcdir)/'`lib/xstrtol-error.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtol-error.c' object='lib/libdatamash_a-xstrtol-error.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtol-error.o `test -f 'lib/xstrtol-error.c' || echo '$(srcdir)/'`lib/xstrtol-error.c lib/libdatamash_a-xstrtol-error.obj: lib/xstrtol-error.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtol-error.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Tpo -c -o lib/libdatamash_a-xstrtol-error.obj `if test -f 'lib/xstrtol-error.c'; then $(CYGPATH_W) 'lib/xstrtol-error.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtol-error.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtol-error.c' object='lib/libdatamash_a-xstrtol-error.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtol-error.obj `if test -f 'lib/xstrtol-error.c'; then $(CYGPATH_W) 'lib/xstrtol-error.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtol-error.c'; fi` lib/libdatamash_a-xstrtoumax.o: lib/xstrtoumax.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtoumax.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Tpo -c -o lib/libdatamash_a-xstrtoumax.o `test -f 'lib/xstrtoumax.c' || echo '$(srcdir)/'`lib/xstrtoumax.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtoumax.c' object='lib/libdatamash_a-xstrtoumax.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtoumax.o `test -f 'lib/xstrtoumax.c' || echo '$(srcdir)/'`lib/xstrtoumax.c lib/libdatamash_a-xstrtoumax.obj: lib/xstrtoumax.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-xstrtoumax.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Tpo -c -o lib/libdatamash_a-xstrtoumax.obj `if test -f 'lib/xstrtoumax.c'; then $(CYGPATH_W) 'lib/xstrtoumax.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtoumax.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Tpo lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/xstrtoumax.c' object='lib/libdatamash_a-xstrtoumax.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-xstrtoumax.obj `if test -f 'lib/xstrtoumax.c'; then $(CYGPATH_W) 'lib/xstrtoumax.c'; else $(CYGPATH_W) '$(srcdir)/lib/xstrtoumax.c'; fi` lib/libdatamash_a-calloc.o: lib/calloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-calloc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-calloc.Tpo -c -o lib/libdatamash_a-calloc.o `test -f 'lib/calloc.c' || echo '$(srcdir)/'`lib/calloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-calloc.Tpo lib/$(DEPDIR)/libdatamash_a-calloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/calloc.c' object='lib/libdatamash_a-calloc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-calloc.o `test -f 'lib/calloc.c' || echo '$(srcdir)/'`lib/calloc.c lib/libdatamash_a-calloc.obj: lib/calloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-calloc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-calloc.Tpo -c -o lib/libdatamash_a-calloc.obj `if test -f 'lib/calloc.c'; then $(CYGPATH_W) 'lib/calloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/calloc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-calloc.Tpo lib/$(DEPDIR)/libdatamash_a-calloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/calloc.c' object='lib/libdatamash_a-calloc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-calloc.obj `if test -f 'lib/calloc.c'; then $(CYGPATH_W) 'lib/calloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/calloc.c'; fi` lib/libdatamash_a-expl-table.o: lib/expl-table.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-expl-table.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-expl-table.Tpo -c -o lib/libdatamash_a-expl-table.o `test -f 'lib/expl-table.c' || echo '$(srcdir)/'`lib/expl-table.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-expl-table.Tpo lib/$(DEPDIR)/libdatamash_a-expl-table.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/expl-table.c' object='lib/libdatamash_a-expl-table.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-expl-table.o `test -f 'lib/expl-table.c' || echo '$(srcdir)/'`lib/expl-table.c lib/libdatamash_a-expl-table.obj: lib/expl-table.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-expl-table.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-expl-table.Tpo -c -o lib/libdatamash_a-expl-table.obj `if test -f 'lib/expl-table.c'; then $(CYGPATH_W) 'lib/expl-table.c'; else $(CYGPATH_W) '$(srcdir)/lib/expl-table.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-expl-table.Tpo lib/$(DEPDIR)/libdatamash_a-expl-table.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/expl-table.c' object='lib/libdatamash_a-expl-table.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-expl-table.obj `if test -f 'lib/expl-table.c'; then $(CYGPATH_W) 'lib/expl-table.c'; else $(CYGPATH_W) '$(srcdir)/lib/expl-table.c'; fi` lib/libdatamash_a-frexp.o: lib/frexp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-frexp.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-frexp.Tpo -c -o lib/libdatamash_a-frexp.o `test -f 'lib/frexp.c' || echo '$(srcdir)/'`lib/frexp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-frexp.Tpo lib/$(DEPDIR)/libdatamash_a-frexp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/frexp.c' object='lib/libdatamash_a-frexp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-frexp.o `test -f 'lib/frexp.c' || echo '$(srcdir)/'`lib/frexp.c lib/libdatamash_a-frexp.obj: lib/frexp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-frexp.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-frexp.Tpo -c -o lib/libdatamash_a-frexp.obj `if test -f 'lib/frexp.c'; then $(CYGPATH_W) 'lib/frexp.c'; else $(CYGPATH_W) '$(srcdir)/lib/frexp.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-frexp.Tpo lib/$(DEPDIR)/libdatamash_a-frexp.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/frexp.c' object='lib/libdatamash_a-frexp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-frexp.obj `if test -f 'lib/frexp.c'; then $(CYGPATH_W) 'lib/frexp.c'; else $(CYGPATH_W) '$(srcdir)/lib/frexp.c'; fi` lib/libdatamash_a-frexpl.o: lib/frexpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-frexpl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-frexpl.Tpo -c -o lib/libdatamash_a-frexpl.o `test -f 'lib/frexpl.c' || echo '$(srcdir)/'`lib/frexpl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-frexpl.Tpo lib/$(DEPDIR)/libdatamash_a-frexpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/frexpl.c' object='lib/libdatamash_a-frexpl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-frexpl.o `test -f 'lib/frexpl.c' || echo '$(srcdir)/'`lib/frexpl.c lib/libdatamash_a-frexpl.obj: lib/frexpl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-frexpl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-frexpl.Tpo -c -o lib/libdatamash_a-frexpl.obj `if test -f 'lib/frexpl.c'; then $(CYGPATH_W) 'lib/frexpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/frexpl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-frexpl.Tpo lib/$(DEPDIR)/libdatamash_a-frexpl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/frexpl.c' object='lib/libdatamash_a-frexpl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-frexpl.obj `if test -f 'lib/frexpl.c'; then $(CYGPATH_W) 'lib/frexpl.c'; else $(CYGPATH_W) '$(srcdir)/lib/frexpl.c'; fi` lib/libdatamash_a-stat-w32.o: lib/stat-w32.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stat-w32.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stat-w32.Tpo -c -o lib/libdatamash_a-stat-w32.o `test -f 'lib/stat-w32.c' || echo '$(srcdir)/'`lib/stat-w32.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stat-w32.Tpo lib/$(DEPDIR)/libdatamash_a-stat-w32.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stat-w32.c' object='lib/libdatamash_a-stat-w32.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stat-w32.o `test -f 'lib/stat-w32.c' || echo '$(srcdir)/'`lib/stat-w32.c lib/libdatamash_a-stat-w32.obj: lib/stat-w32.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-stat-w32.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-stat-w32.Tpo -c -o lib/libdatamash_a-stat-w32.obj `if test -f 'lib/stat-w32.c'; then $(CYGPATH_W) 'lib/stat-w32.c'; else $(CYGPATH_W) '$(srcdir)/lib/stat-w32.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-stat-w32.Tpo lib/$(DEPDIR)/libdatamash_a-stat-w32.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/stat-w32.c' object='lib/libdatamash_a-stat-w32.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-stat-w32.obj `if test -f 'lib/stat-w32.c'; then $(CYGPATH_W) 'lib/stat-w32.c'; else $(CYGPATH_W) '$(srcdir)/lib/stat-w32.c'; fi` lib/libdatamash_a-anytostr.o: lib/anytostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-anytostr.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-anytostr.Tpo -c -o lib/libdatamash_a-anytostr.o `test -f 'lib/anytostr.c' || echo '$(srcdir)/'`lib/anytostr.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-anytostr.Tpo lib/$(DEPDIR)/libdatamash_a-anytostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/anytostr.c' object='lib/libdatamash_a-anytostr.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-anytostr.o `test -f 'lib/anytostr.c' || echo '$(srcdir)/'`lib/anytostr.c lib/libdatamash_a-anytostr.obj: lib/anytostr.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-anytostr.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-anytostr.Tpo -c -o lib/libdatamash_a-anytostr.obj `if test -f 'lib/anytostr.c'; then $(CYGPATH_W) 'lib/anytostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/anytostr.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-anytostr.Tpo lib/$(DEPDIR)/libdatamash_a-anytostr.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/anytostr.c' object='lib/libdatamash_a-anytostr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-anytostr.obj `if test -f 'lib/anytostr.c'; then $(CYGPATH_W) 'lib/anytostr.c'; else $(CYGPATH_W) '$(srcdir)/lib/anytostr.c'; fi` lib/libdatamash_a-isnan.o: lib/isnan.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnan.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnan.Tpo -c -o lib/libdatamash_a-isnan.o `test -f 'lib/isnan.c' || echo '$(srcdir)/'`lib/isnan.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnan.Tpo lib/$(DEPDIR)/libdatamash_a-isnan.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnan.c' object='lib/libdatamash_a-isnan.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnan.o `test -f 'lib/isnan.c' || echo '$(srcdir)/'`lib/isnan.c lib/libdatamash_a-isnan.obj: lib/isnan.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnan.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnan.Tpo -c -o lib/libdatamash_a-isnan.obj `if test -f 'lib/isnan.c'; then $(CYGPATH_W) 'lib/isnan.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnan.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnan.Tpo lib/$(DEPDIR)/libdatamash_a-isnan.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnan.c' object='lib/libdatamash_a-isnan.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnan.obj `if test -f 'lib/isnan.c'; then $(CYGPATH_W) 'lib/isnan.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnan.c'; fi` lib/libdatamash_a-isnand.o: lib/isnand.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnand.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnand.Tpo -c -o lib/libdatamash_a-isnand.o `test -f 'lib/isnand.c' || echo '$(srcdir)/'`lib/isnand.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnand.Tpo lib/$(DEPDIR)/libdatamash_a-isnand.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnand.c' object='lib/libdatamash_a-isnand.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnand.o `test -f 'lib/isnand.c' || echo '$(srcdir)/'`lib/isnand.c lib/libdatamash_a-isnand.obj: lib/isnand.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnand.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnand.Tpo -c -o lib/libdatamash_a-isnand.obj `if test -f 'lib/isnand.c'; then $(CYGPATH_W) 'lib/isnand.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnand.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnand.Tpo lib/$(DEPDIR)/libdatamash_a-isnand.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnand.c' object='lib/libdatamash_a-isnand.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnand.obj `if test -f 'lib/isnand.c'; then $(CYGPATH_W) 'lib/isnand.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnand.c'; fi` lib/libdatamash_a-isnanf.o: lib/isnanf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnanf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnanf.Tpo -c -o lib/libdatamash_a-isnanf.o `test -f 'lib/isnanf.c' || echo '$(srcdir)/'`lib/isnanf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnanf.Tpo lib/$(DEPDIR)/libdatamash_a-isnanf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnanf.c' object='lib/libdatamash_a-isnanf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnanf.o `test -f 'lib/isnanf.c' || echo '$(srcdir)/'`lib/isnanf.c lib/libdatamash_a-isnanf.obj: lib/isnanf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnanf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnanf.Tpo -c -o lib/libdatamash_a-isnanf.obj `if test -f 'lib/isnanf.c'; then $(CYGPATH_W) 'lib/isnanf.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnanf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnanf.Tpo lib/$(DEPDIR)/libdatamash_a-isnanf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnanf.c' object='lib/libdatamash_a-isnanf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnanf.obj `if test -f 'lib/isnanf.c'; then $(CYGPATH_W) 'lib/isnanf.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnanf.c'; fi` lib/libdatamash_a-isnanl.o: lib/isnanl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnanl.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnanl.Tpo -c -o lib/libdatamash_a-isnanl.o `test -f 'lib/isnanl.c' || echo '$(srcdir)/'`lib/isnanl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnanl.Tpo lib/$(DEPDIR)/libdatamash_a-isnanl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnanl.c' object='lib/libdatamash_a-isnanl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnanl.o `test -f 'lib/isnanl.c' || echo '$(srcdir)/'`lib/isnanl.c lib/libdatamash_a-isnanl.obj: lib/isnanl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-isnanl.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-isnanl.Tpo -c -o lib/libdatamash_a-isnanl.obj `if test -f 'lib/isnanl.c'; then $(CYGPATH_W) 'lib/isnanl.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnanl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-isnanl.Tpo lib/$(DEPDIR)/libdatamash_a-isnanl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/isnanl.c' object='lib/libdatamash_a-isnanl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-isnanl.obj `if test -f 'lib/isnanl.c'; then $(CYGPATH_W) 'lib/isnanl.c'; else $(CYGPATH_W) '$(srcdir)/lib/isnanl.c'; fi` lib/libdatamash_a-malloc.o: lib/malloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-malloc.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-malloc.Tpo -c -o lib/libdatamash_a-malloc.o `test -f 'lib/malloc.c' || echo '$(srcdir)/'`lib/malloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-malloc.Tpo lib/$(DEPDIR)/libdatamash_a-malloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/malloc.c' object='lib/libdatamash_a-malloc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-malloc.o `test -f 'lib/malloc.c' || echo '$(srcdir)/'`lib/malloc.c lib/libdatamash_a-malloc.obj: lib/malloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-malloc.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-malloc.Tpo -c -o lib/libdatamash_a-malloc.obj `if test -f 'lib/malloc.c'; then $(CYGPATH_W) 'lib/malloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/malloc.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-malloc.Tpo lib/$(DEPDIR)/libdatamash_a-malloc.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/malloc.c' object='lib/libdatamash_a-malloc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-malloc.obj `if test -f 'lib/malloc.c'; then $(CYGPATH_W) 'lib/malloc.c'; else $(CYGPATH_W) '$(srcdir)/lib/malloc.c'; fi` lib/libdatamash_a-lc-charset-dispatch.o: lib/lc-charset-dispatch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-lc-charset-dispatch.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Tpo -c -o lib/libdatamash_a-lc-charset-dispatch.o `test -f 'lib/lc-charset-dispatch.c' || echo '$(srcdir)/'`lib/lc-charset-dispatch.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Tpo lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/lc-charset-dispatch.c' object='lib/libdatamash_a-lc-charset-dispatch.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-lc-charset-dispatch.o `test -f 'lib/lc-charset-dispatch.c' || echo '$(srcdir)/'`lib/lc-charset-dispatch.c lib/libdatamash_a-lc-charset-dispatch.obj: lib/lc-charset-dispatch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-lc-charset-dispatch.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Tpo -c -o lib/libdatamash_a-lc-charset-dispatch.obj `if test -f 'lib/lc-charset-dispatch.c'; then $(CYGPATH_W) 'lib/lc-charset-dispatch.c'; else $(CYGPATH_W) '$(srcdir)/lib/lc-charset-dispatch.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Tpo lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/lc-charset-dispatch.c' object='lib/libdatamash_a-lc-charset-dispatch.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-lc-charset-dispatch.obj `if test -f 'lib/lc-charset-dispatch.c'; then $(CYGPATH_W) 'lib/lc-charset-dispatch.c'; else $(CYGPATH_W) '$(srcdir)/lib/lc-charset-dispatch.c'; fi` lib/libdatamash_a-mbtowc-lock.o: lib/mbtowc-lock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbtowc-lock.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Tpo -c -o lib/libdatamash_a-mbtowc-lock.o `test -f 'lib/mbtowc-lock.c' || echo '$(srcdir)/'`lib/mbtowc-lock.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Tpo lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbtowc-lock.c' object='lib/libdatamash_a-mbtowc-lock.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbtowc-lock.o `test -f 'lib/mbtowc-lock.c' || echo '$(srcdir)/'`lib/mbtowc-lock.c lib/libdatamash_a-mbtowc-lock.obj: lib/mbtowc-lock.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-mbtowc-lock.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Tpo -c -o lib/libdatamash_a-mbtowc-lock.obj `if test -f 'lib/mbtowc-lock.c'; then $(CYGPATH_W) 'lib/mbtowc-lock.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbtowc-lock.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Tpo lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbtowc-lock.c' object='lib/libdatamash_a-mbtowc-lock.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-mbtowc-lock.obj `if test -f 'lib/mbtowc-lock.c'; then $(CYGPATH_W) 'lib/mbtowc-lock.c'; else $(CYGPATH_W) '$(srcdir)/lib/mbtowc-lock.c'; fi` lib/libdatamash_a-snprintf.o: lib/snprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-snprintf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-snprintf.Tpo -c -o lib/libdatamash_a-snprintf.o `test -f 'lib/snprintf.c' || echo '$(srcdir)/'`lib/snprintf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-snprintf.Tpo lib/$(DEPDIR)/libdatamash_a-snprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/snprintf.c' object='lib/libdatamash_a-snprintf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-snprintf.o `test -f 'lib/snprintf.c' || echo '$(srcdir)/'`lib/snprintf.c lib/libdatamash_a-snprintf.obj: lib/snprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-snprintf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-snprintf.Tpo -c -o lib/libdatamash_a-snprintf.obj `if test -f 'lib/snprintf.c'; then $(CYGPATH_W) 'lib/snprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/snprintf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-snprintf.Tpo lib/$(DEPDIR)/libdatamash_a-snprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/snprintf.c' object='lib/libdatamash_a-snprintf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-snprintf.obj `if test -f 'lib/snprintf.c'; then $(CYGPATH_W) 'lib/snprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/snprintf.c'; fi` lib/libdatamash_a-strtol.o: lib/strtol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtol.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtol.Tpo -c -o lib/libdatamash_a-strtol.o `test -f 'lib/strtol.c' || echo '$(srcdir)/'`lib/strtol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtol.Tpo lib/$(DEPDIR)/libdatamash_a-strtol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtol.c' object='lib/libdatamash_a-strtol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtol.o `test -f 'lib/strtol.c' || echo '$(srcdir)/'`lib/strtol.c lib/libdatamash_a-strtol.obj: lib/strtol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtol.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtol.Tpo -c -o lib/libdatamash_a-strtol.obj `if test -f 'lib/strtol.c'; then $(CYGPATH_W) 'lib/strtol.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtol.Tpo lib/$(DEPDIR)/libdatamash_a-strtol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtol.c' object='lib/libdatamash_a-strtol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtol.obj `if test -f 'lib/strtol.c'; then $(CYGPATH_W) 'lib/strtol.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtol.c'; fi` lib/libdatamash_a-strtoul.o: lib/strtoul.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoul.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoul.Tpo -c -o lib/libdatamash_a-strtoul.o `test -f 'lib/strtoul.c' || echo '$(srcdir)/'`lib/strtoul.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoul.Tpo lib/$(DEPDIR)/libdatamash_a-strtoul.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoul.c' object='lib/libdatamash_a-strtoul.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoul.o `test -f 'lib/strtoul.c' || echo '$(srcdir)/'`lib/strtoul.c lib/libdatamash_a-strtoul.obj: lib/strtoul.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoul.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoul.Tpo -c -o lib/libdatamash_a-strtoul.obj `if test -f 'lib/strtoul.c'; then $(CYGPATH_W) 'lib/strtoul.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoul.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoul.Tpo lib/$(DEPDIR)/libdatamash_a-strtoul.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoul.c' object='lib/libdatamash_a-strtoul.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoul.obj `if test -f 'lib/strtoul.c'; then $(CYGPATH_W) 'lib/strtoul.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoul.c'; fi` lib/libdatamash_a-strtoimax.o: lib/strtoimax.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoimax.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoimax.Tpo -c -o lib/libdatamash_a-strtoimax.o `test -f 'lib/strtoimax.c' || echo '$(srcdir)/'`lib/strtoimax.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoimax.Tpo lib/$(DEPDIR)/libdatamash_a-strtoimax.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoimax.c' object='lib/libdatamash_a-strtoimax.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoimax.o `test -f 'lib/strtoimax.c' || echo '$(srcdir)/'`lib/strtoimax.c lib/libdatamash_a-strtoimax.obj: lib/strtoimax.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-strtoimax.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-strtoimax.Tpo -c -o lib/libdatamash_a-strtoimax.obj `if test -f 'lib/strtoimax.c'; then $(CYGPATH_W) 'lib/strtoimax.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoimax.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-strtoimax.Tpo lib/$(DEPDIR)/libdatamash_a-strtoimax.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strtoimax.c' object='lib/libdatamash_a-strtoimax.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-strtoimax.obj `if test -f 'lib/strtoimax.c'; then $(CYGPATH_W) 'lib/strtoimax.c'; else $(CYGPATH_W) '$(srcdir)/lib/strtoimax.c'; fi` lib/libdatamash_a-asnprintf.o: lib/asnprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-asnprintf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-asnprintf.Tpo -c -o lib/libdatamash_a-asnprintf.o `test -f 'lib/asnprintf.c' || echo '$(srcdir)/'`lib/asnprintf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-asnprintf.Tpo lib/$(DEPDIR)/libdatamash_a-asnprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/asnprintf.c' object='lib/libdatamash_a-asnprintf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-asnprintf.o `test -f 'lib/asnprintf.c' || echo '$(srcdir)/'`lib/asnprintf.c lib/libdatamash_a-asnprintf.obj: lib/asnprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-asnprintf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-asnprintf.Tpo -c -o lib/libdatamash_a-asnprintf.obj `if test -f 'lib/asnprintf.c'; then $(CYGPATH_W) 'lib/asnprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/asnprintf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-asnprintf.Tpo lib/$(DEPDIR)/libdatamash_a-asnprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/asnprintf.c' object='lib/libdatamash_a-asnprintf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-asnprintf.obj `if test -f 'lib/asnprintf.c'; then $(CYGPATH_W) 'lib/asnprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/asnprintf.c'; fi` lib/libdatamash_a-printf-args.o: lib/printf-args.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-printf-args.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-printf-args.Tpo -c -o lib/libdatamash_a-printf-args.o `test -f 'lib/printf-args.c' || echo '$(srcdir)/'`lib/printf-args.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-printf-args.Tpo lib/$(DEPDIR)/libdatamash_a-printf-args.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/printf-args.c' object='lib/libdatamash_a-printf-args.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-printf-args.o `test -f 'lib/printf-args.c' || echo '$(srcdir)/'`lib/printf-args.c lib/libdatamash_a-printf-args.obj: lib/printf-args.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-printf-args.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-printf-args.Tpo -c -o lib/libdatamash_a-printf-args.obj `if test -f 'lib/printf-args.c'; then $(CYGPATH_W) 'lib/printf-args.c'; else $(CYGPATH_W) '$(srcdir)/lib/printf-args.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-printf-args.Tpo lib/$(DEPDIR)/libdatamash_a-printf-args.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/printf-args.c' object='lib/libdatamash_a-printf-args.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-printf-args.obj `if test -f 'lib/printf-args.c'; then $(CYGPATH_W) 'lib/printf-args.c'; else $(CYGPATH_W) '$(srcdir)/lib/printf-args.c'; fi` lib/libdatamash_a-printf-parse.o: lib/printf-parse.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-printf-parse.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-printf-parse.Tpo -c -o lib/libdatamash_a-printf-parse.o `test -f 'lib/printf-parse.c' || echo '$(srcdir)/'`lib/printf-parse.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-printf-parse.Tpo lib/$(DEPDIR)/libdatamash_a-printf-parse.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/printf-parse.c' object='lib/libdatamash_a-printf-parse.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-printf-parse.o `test -f 'lib/printf-parse.c' || echo '$(srcdir)/'`lib/printf-parse.c lib/libdatamash_a-printf-parse.obj: lib/printf-parse.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-printf-parse.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-printf-parse.Tpo -c -o lib/libdatamash_a-printf-parse.obj `if test -f 'lib/printf-parse.c'; then $(CYGPATH_W) 'lib/printf-parse.c'; else $(CYGPATH_W) '$(srcdir)/lib/printf-parse.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-printf-parse.Tpo lib/$(DEPDIR)/libdatamash_a-printf-parse.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/printf-parse.c' object='lib/libdatamash_a-printf-parse.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-printf-parse.obj `if test -f 'lib/printf-parse.c'; then $(CYGPATH_W) 'lib/printf-parse.c'; else $(CYGPATH_W) '$(srcdir)/lib/printf-parse.c'; fi` lib/libdatamash_a-vasnprintf.o: lib/vasnprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-vasnprintf.o -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-vasnprintf.Tpo -c -o lib/libdatamash_a-vasnprintf.o `test -f 'lib/vasnprintf.c' || echo '$(srcdir)/'`lib/vasnprintf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-vasnprintf.Tpo lib/$(DEPDIR)/libdatamash_a-vasnprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/vasnprintf.c' object='lib/libdatamash_a-vasnprintf.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-vasnprintf.o `test -f 'lib/vasnprintf.c' || echo '$(srcdir)/'`lib/vasnprintf.c lib/libdatamash_a-vasnprintf.obj: lib/vasnprintf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -MT lib/libdatamash_a-vasnprintf.obj -MD -MP -MF lib/$(DEPDIR)/libdatamash_a-vasnprintf.Tpo -c -o lib/libdatamash_a-vasnprintf.obj `if test -f 'lib/vasnprintf.c'; then $(CYGPATH_W) 'lib/vasnprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/vasnprintf.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libdatamash_a-vasnprintf.Tpo lib/$(DEPDIR)/libdatamash_a-vasnprintf.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/vasnprintf.c' object='lib/libdatamash_a-vasnprintf.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_libdatamash_a_CFLAGS) $(CFLAGS) -c -o lib/libdatamash_a-vasnprintf.obj `if test -f 'lib/vasnprintf.c'; then $(CYGPATH_W) 'lib/vasnprintf.c'; else $(CYGPATH_W) '$(srcdir)/lib/vasnprintf.c'; fi` src/datamash-text-options.o: src/text-options.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-text-options.o -MD -MP -MF src/$(DEPDIR)/datamash-text-options.Tpo -c -o src/datamash-text-options.o `test -f 'src/text-options.c' || echo '$(srcdir)/'`src/text-options.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-text-options.Tpo src/$(DEPDIR)/datamash-text-options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/text-options.c' object='src/datamash-text-options.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-text-options.o `test -f 'src/text-options.c' || echo '$(srcdir)/'`src/text-options.c src/datamash-text-options.obj: src/text-options.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-text-options.obj -MD -MP -MF src/$(DEPDIR)/datamash-text-options.Tpo -c -o src/datamash-text-options.obj `if test -f 'src/text-options.c'; then $(CYGPATH_W) 'src/text-options.c'; else $(CYGPATH_W) '$(srcdir)/src/text-options.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-text-options.Tpo src/$(DEPDIR)/datamash-text-options.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/text-options.c' object='src/datamash-text-options.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-text-options.obj `if test -f 'src/text-options.c'; then $(CYGPATH_W) 'src/text-options.c'; else $(CYGPATH_W) '$(srcdir)/src/text-options.c'; fi` src/datamash-utils.o: src/utils.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-utils.o -MD -MP -MF src/$(DEPDIR)/datamash-utils.Tpo -c -o src/datamash-utils.o `test -f 'src/utils.c' || echo '$(srcdir)/'`src/utils.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-utils.Tpo src/$(DEPDIR)/datamash-utils.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/utils.c' object='src/datamash-utils.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-utils.o `test -f 'src/utils.c' || echo '$(srcdir)/'`src/utils.c src/datamash-utils.obj: src/utils.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-utils.obj -MD -MP -MF src/$(DEPDIR)/datamash-utils.Tpo -c -o src/datamash-utils.obj `if test -f 'src/utils.c'; then $(CYGPATH_W) 'src/utils.c'; else $(CYGPATH_W) '$(srcdir)/src/utils.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-utils.Tpo src/$(DEPDIR)/datamash-utils.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/utils.c' object='src/datamash-utils.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-utils.obj `if test -f 'src/utils.c'; then $(CYGPATH_W) 'src/utils.c'; else $(CYGPATH_W) '$(srcdir)/src/utils.c'; fi` src/datamash-randutils.o: src/randutils.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-randutils.o -MD -MP -MF src/$(DEPDIR)/datamash-randutils.Tpo -c -o src/datamash-randutils.o `test -f 'src/randutils.c' || echo '$(srcdir)/'`src/randutils.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-randutils.Tpo src/$(DEPDIR)/datamash-randutils.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/randutils.c' object='src/datamash-randutils.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-randutils.o `test -f 'src/randutils.c' || echo '$(srcdir)/'`src/randutils.c src/datamash-randutils.obj: src/randutils.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-randutils.obj -MD -MP -MF src/$(DEPDIR)/datamash-randutils.Tpo -c -o src/datamash-randutils.obj `if test -f 'src/randutils.c'; then $(CYGPATH_W) 'src/randutils.c'; else $(CYGPATH_W) '$(srcdir)/src/randutils.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-randutils.Tpo src/$(DEPDIR)/datamash-randutils.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/randutils.c' object='src/datamash-randutils.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-randutils.obj `if test -f 'src/randutils.c'; then $(CYGPATH_W) 'src/randutils.c'; else $(CYGPATH_W) '$(srcdir)/src/randutils.c'; fi` src/datamash-text-lines.o: src/text-lines.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-text-lines.o -MD -MP -MF src/$(DEPDIR)/datamash-text-lines.Tpo -c -o src/datamash-text-lines.o `test -f 'src/text-lines.c' || echo '$(srcdir)/'`src/text-lines.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-text-lines.Tpo src/$(DEPDIR)/datamash-text-lines.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/text-lines.c' object='src/datamash-text-lines.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-text-lines.o `test -f 'src/text-lines.c' || echo '$(srcdir)/'`src/text-lines.c src/datamash-text-lines.obj: src/text-lines.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-text-lines.obj -MD -MP -MF src/$(DEPDIR)/datamash-text-lines.Tpo -c -o src/datamash-text-lines.obj `if test -f 'src/text-lines.c'; then $(CYGPATH_W) 'src/text-lines.c'; else $(CYGPATH_W) '$(srcdir)/src/text-lines.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-text-lines.Tpo src/$(DEPDIR)/datamash-text-lines.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/text-lines.c' object='src/datamash-text-lines.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-text-lines.obj `if test -f 'src/text-lines.c'; then $(CYGPATH_W) 'src/text-lines.c'; else $(CYGPATH_W) '$(srcdir)/src/text-lines.c'; fi` src/datamash-column-headers.o: src/column-headers.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-column-headers.o -MD -MP -MF src/$(DEPDIR)/datamash-column-headers.Tpo -c -o src/datamash-column-headers.o `test -f 'src/column-headers.c' || echo '$(srcdir)/'`src/column-headers.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-column-headers.Tpo src/$(DEPDIR)/datamash-column-headers.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/column-headers.c' object='src/datamash-column-headers.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-column-headers.o `test -f 'src/column-headers.c' || echo '$(srcdir)/'`src/column-headers.c src/datamash-column-headers.obj: src/column-headers.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-column-headers.obj -MD -MP -MF src/$(DEPDIR)/datamash-column-headers.Tpo -c -o src/datamash-column-headers.obj `if test -f 'src/column-headers.c'; then $(CYGPATH_W) 'src/column-headers.c'; else $(CYGPATH_W) '$(srcdir)/src/column-headers.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-column-headers.Tpo src/$(DEPDIR)/datamash-column-headers.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/column-headers.c' object='src/datamash-column-headers.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-column-headers.obj `if test -f 'src/column-headers.c'; then $(CYGPATH_W) 'src/column-headers.c'; else $(CYGPATH_W) '$(srcdir)/src/column-headers.c'; fi` src/datamash-op-defs.o: src/op-defs.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-op-defs.o -MD -MP -MF src/$(DEPDIR)/datamash-op-defs.Tpo -c -o src/datamash-op-defs.o `test -f 'src/op-defs.c' || echo '$(srcdir)/'`src/op-defs.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-op-defs.Tpo src/$(DEPDIR)/datamash-op-defs.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/op-defs.c' object='src/datamash-op-defs.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-op-defs.o `test -f 'src/op-defs.c' || echo '$(srcdir)/'`src/op-defs.c src/datamash-op-defs.obj: src/op-defs.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-op-defs.obj -MD -MP -MF src/$(DEPDIR)/datamash-op-defs.Tpo -c -o src/datamash-op-defs.obj `if test -f 'src/op-defs.c'; then $(CYGPATH_W) 'src/op-defs.c'; else $(CYGPATH_W) '$(srcdir)/src/op-defs.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-op-defs.Tpo src/$(DEPDIR)/datamash-op-defs.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/op-defs.c' object='src/datamash-op-defs.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-op-defs.obj `if test -f 'src/op-defs.c'; then $(CYGPATH_W) 'src/op-defs.c'; else $(CYGPATH_W) '$(srcdir)/src/op-defs.c'; fi` src/datamash-op-scanner.o: src/op-scanner.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-op-scanner.o -MD -MP -MF src/$(DEPDIR)/datamash-op-scanner.Tpo -c -o src/datamash-op-scanner.o `test -f 'src/op-scanner.c' || echo '$(srcdir)/'`src/op-scanner.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-op-scanner.Tpo src/$(DEPDIR)/datamash-op-scanner.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/op-scanner.c' object='src/datamash-op-scanner.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-op-scanner.o `test -f 'src/op-scanner.c' || echo '$(srcdir)/'`src/op-scanner.c src/datamash-op-scanner.obj: src/op-scanner.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-op-scanner.obj -MD -MP -MF src/$(DEPDIR)/datamash-op-scanner.Tpo -c -o src/datamash-op-scanner.obj `if test -f 'src/op-scanner.c'; then $(CYGPATH_W) 'src/op-scanner.c'; else $(CYGPATH_W) '$(srcdir)/src/op-scanner.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-op-scanner.Tpo src/$(DEPDIR)/datamash-op-scanner.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/op-scanner.c' object='src/datamash-op-scanner.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-op-scanner.obj `if test -f 'src/op-scanner.c'; then $(CYGPATH_W) 'src/op-scanner.c'; else $(CYGPATH_W) '$(srcdir)/src/op-scanner.c'; fi` src/datamash-op-parser.o: src/op-parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-op-parser.o -MD -MP -MF src/$(DEPDIR)/datamash-op-parser.Tpo -c -o src/datamash-op-parser.o `test -f 'src/op-parser.c' || echo '$(srcdir)/'`src/op-parser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-op-parser.Tpo src/$(DEPDIR)/datamash-op-parser.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/op-parser.c' object='src/datamash-op-parser.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-op-parser.o `test -f 'src/op-parser.c' || echo '$(srcdir)/'`src/op-parser.c src/datamash-op-parser.obj: src/op-parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-op-parser.obj -MD -MP -MF src/$(DEPDIR)/datamash-op-parser.Tpo -c -o src/datamash-op-parser.obj `if test -f 'src/op-parser.c'; then $(CYGPATH_W) 'src/op-parser.c'; else $(CYGPATH_W) '$(srcdir)/src/op-parser.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-op-parser.Tpo src/$(DEPDIR)/datamash-op-parser.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/op-parser.c' object='src/datamash-op-parser.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-op-parser.obj `if test -f 'src/op-parser.c'; then $(CYGPATH_W) 'src/op-parser.c'; else $(CYGPATH_W) '$(srcdir)/src/op-parser.c'; fi` src/datamash-field-ops.o: src/field-ops.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-field-ops.o -MD -MP -MF src/$(DEPDIR)/datamash-field-ops.Tpo -c -o src/datamash-field-ops.o `test -f 'src/field-ops.c' || echo '$(srcdir)/'`src/field-ops.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-field-ops.Tpo src/$(DEPDIR)/datamash-field-ops.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/field-ops.c' object='src/datamash-field-ops.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-field-ops.o `test -f 'src/field-ops.c' || echo '$(srcdir)/'`src/field-ops.c src/datamash-field-ops.obj: src/field-ops.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-field-ops.obj -MD -MP -MF src/$(DEPDIR)/datamash-field-ops.Tpo -c -o src/datamash-field-ops.obj `if test -f 'src/field-ops.c'; then $(CYGPATH_W) 'src/field-ops.c'; else $(CYGPATH_W) '$(srcdir)/src/field-ops.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-field-ops.Tpo src/$(DEPDIR)/datamash-field-ops.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/field-ops.c' object='src/datamash-field-ops.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-field-ops.obj `if test -f 'src/field-ops.c'; then $(CYGPATH_W) 'src/field-ops.c'; else $(CYGPATH_W) '$(srcdir)/src/field-ops.c'; fi` src/datamash-crosstab.o: src/crosstab.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-crosstab.o -MD -MP -MF src/$(DEPDIR)/datamash-crosstab.Tpo -c -o src/datamash-crosstab.o `test -f 'src/crosstab.c' || echo '$(srcdir)/'`src/crosstab.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-crosstab.Tpo src/$(DEPDIR)/datamash-crosstab.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/crosstab.c' object='src/datamash-crosstab.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-crosstab.o `test -f 'src/crosstab.c' || echo '$(srcdir)/'`src/crosstab.c src/datamash-crosstab.obj: src/crosstab.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-crosstab.obj -MD -MP -MF src/$(DEPDIR)/datamash-crosstab.Tpo -c -o src/datamash-crosstab.obj `if test -f 'src/crosstab.c'; then $(CYGPATH_W) 'src/crosstab.c'; else $(CYGPATH_W) '$(srcdir)/src/crosstab.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-crosstab.Tpo src/$(DEPDIR)/datamash-crosstab.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/crosstab.c' object='src/datamash-crosstab.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-crosstab.obj `if test -f 'src/crosstab.c'; then $(CYGPATH_W) 'src/crosstab.c'; else $(CYGPATH_W) '$(srcdir)/src/crosstab.c'; fi` src/datamash-double-format.o: src/double-format.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-double-format.o -MD -MP -MF src/$(DEPDIR)/datamash-double-format.Tpo -c -o src/datamash-double-format.o `test -f 'src/double-format.c' || echo '$(srcdir)/'`src/double-format.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-double-format.Tpo src/$(DEPDIR)/datamash-double-format.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/double-format.c' object='src/datamash-double-format.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-double-format.o `test -f 'src/double-format.c' || echo '$(srcdir)/'`src/double-format.c src/datamash-double-format.obj: src/double-format.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-double-format.obj -MD -MP -MF src/$(DEPDIR)/datamash-double-format.Tpo -c -o src/datamash-double-format.obj `if test -f 'src/double-format.c'; then $(CYGPATH_W) 'src/double-format.c'; else $(CYGPATH_W) '$(srcdir)/src/double-format.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-double-format.Tpo src/$(DEPDIR)/datamash-double-format.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/double-format.c' object='src/datamash-double-format.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-double-format.obj `if test -f 'src/double-format.c'; then $(CYGPATH_W) 'src/double-format.c'; else $(CYGPATH_W) '$(srcdir)/src/double-format.c'; fi` src/datamash-datamash.o: src/datamash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-datamash.o -MD -MP -MF src/$(DEPDIR)/datamash-datamash.Tpo -c -o src/datamash-datamash.o `test -f 'src/datamash.c' || echo '$(srcdir)/'`src/datamash.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-datamash.Tpo src/$(DEPDIR)/datamash-datamash.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/datamash.c' object='src/datamash-datamash.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-datamash.o `test -f 'src/datamash.c' || echo '$(srcdir)/'`src/datamash.c src/datamash-datamash.obj: src/datamash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -MT src/datamash-datamash.obj -MD -MP -MF src/$(DEPDIR)/datamash-datamash.Tpo -c -o src/datamash-datamash.obj `if test -f 'src/datamash.c'; then $(CYGPATH_W) 'src/datamash.c'; else $(CYGPATH_W) '$(srcdir)/src/datamash.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/datamash-datamash.Tpo src/$(DEPDIR)/datamash-datamash.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/datamash.c' object='src/datamash-datamash.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(datamash_CFLAGS) $(CFLAGS) -c -o src/datamash-datamash.obj `if test -f 'src/datamash.c'; then $(CYGPATH_W) 'src/datamash.c'; else $(CYGPATH_W) '$(srcdir)/src/datamash.c'; fi` src/decorate-decorate.o: src/decorate.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -MT src/decorate-decorate.o -MD -MP -MF src/$(DEPDIR)/decorate-decorate.Tpo -c -o src/decorate-decorate.o `test -f 'src/decorate.c' || echo '$(srcdir)/'`src/decorate.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/decorate-decorate.Tpo src/$(DEPDIR)/decorate-decorate.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/decorate.c' object='src/decorate-decorate.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -c -o src/decorate-decorate.o `test -f 'src/decorate.c' || echo '$(srcdir)/'`src/decorate.c src/decorate-decorate.obj: src/decorate.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -MT src/decorate-decorate.obj -MD -MP -MF src/$(DEPDIR)/decorate-decorate.Tpo -c -o src/decorate-decorate.obj `if test -f 'src/decorate.c'; then $(CYGPATH_W) 'src/decorate.c'; else $(CYGPATH_W) '$(srcdir)/src/decorate.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/decorate-decorate.Tpo src/$(DEPDIR)/decorate-decorate.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/decorate.c' object='src/decorate-decorate.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -c -o src/decorate-decorate.obj `if test -f 'src/decorate.c'; then $(CYGPATH_W) 'src/decorate.c'; else $(CYGPATH_W) '$(srcdir)/src/decorate.c'; fi` src/decorate-key-compare.o: src/key-compare.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -MT src/decorate-key-compare.o -MD -MP -MF src/$(DEPDIR)/decorate-key-compare.Tpo -c -o src/decorate-key-compare.o `test -f 'src/key-compare.c' || echo '$(srcdir)/'`src/key-compare.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/decorate-key-compare.Tpo src/$(DEPDIR)/decorate-key-compare.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/key-compare.c' object='src/decorate-key-compare.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -c -o src/decorate-key-compare.o `test -f 'src/key-compare.c' || echo '$(srcdir)/'`src/key-compare.c src/decorate-key-compare.obj: src/key-compare.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -MT src/decorate-key-compare.obj -MD -MP -MF src/$(DEPDIR)/decorate-key-compare.Tpo -c -o src/decorate-key-compare.obj `if test -f 'src/key-compare.c'; then $(CYGPATH_W) 'src/key-compare.c'; else $(CYGPATH_W) '$(srcdir)/src/key-compare.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/decorate-key-compare.Tpo src/$(DEPDIR)/decorate-key-compare.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/key-compare.c' object='src/decorate-key-compare.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -c -o src/decorate-key-compare.obj `if test -f 'src/key-compare.c'; then $(CYGPATH_W) 'src/key-compare.c'; else $(CYGPATH_W) '$(srcdir)/src/key-compare.c'; fi` src/decorate-decorate-functions.o: src/decorate-functions.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -MT src/decorate-decorate-functions.o -MD -MP -MF src/$(DEPDIR)/decorate-decorate-functions.Tpo -c -o src/decorate-decorate-functions.o `test -f 'src/decorate-functions.c' || echo '$(srcdir)/'`src/decorate-functions.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/decorate-decorate-functions.Tpo src/$(DEPDIR)/decorate-decorate-functions.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/decorate-functions.c' object='src/decorate-decorate-functions.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -c -o src/decorate-decorate-functions.o `test -f 'src/decorate-functions.c' || echo '$(srcdir)/'`src/decorate-functions.c src/decorate-decorate-functions.obj: src/decorate-functions.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -MT src/decorate-decorate-functions.obj -MD -MP -MF src/$(DEPDIR)/decorate-decorate-functions.Tpo -c -o src/decorate-decorate-functions.obj `if test -f 'src/decorate-functions.c'; then $(CYGPATH_W) 'src/decorate-functions.c'; else $(CYGPATH_W) '$(srcdir)/src/decorate-functions.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/decorate-decorate-functions.Tpo src/$(DEPDIR)/decorate-decorate-functions.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/decorate-functions.c' object='src/decorate-decorate-functions.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(decorate_CPPFLAGS) $(CPPFLAGS) $(decorate_CFLAGS) $(CFLAGS) -c -o src/decorate-decorate-functions.obj `if test -f 'src/decorate-functions.c'; then $(CYGPATH_W) 'src/decorate-functions.c'; else $(CYGPATH_W) '$(srcdir)/src/decorate-functions.c'; fi` doc/$(am__dirstamp): @$(MKDIR_P) doc @: >>doc/$(am__dirstamp) $(srcdir)/doc/datamash.info: doc/datamash.texi $(srcdir)/doc/version.texi $(doc_datamash_TEXINFOS) $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \ am__cwd=`pwd` && $(am__cd) $(srcdir) && \ rm -rf $$backupdir && mkdir $$backupdir && \ if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$$am__cwd"; \ if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc \ -o $@ $(srcdir)/doc/datamash.texi; \ then \ rc=0; \ $(am__cd) $(srcdir); \ else \ rc=$$?; \ $(am__cd) $(srcdir) && \ $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ fi; \ rm -rf $$backupdir; exit $$rc doc/datamash.dvi: doc/datamash.texi $(srcdir)/doc/version.texi $(doc_datamash_TEXINFOS) doc/$(am__dirstamp) $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc' \ $(TEXI2DVI) $(AM_TEXI2FLAGS) -I doc -I $(srcdir)/doc $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \ `test -f 'doc/datamash.texi' || echo '$(srcdir)/'`doc/datamash.texi doc/datamash.pdf: doc/datamash.texi $(srcdir)/doc/version.texi $(doc_datamash_TEXINFOS) doc/$(am__dirstamp) $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc' \ $(TEXI2PDF) $(AM_TEXI2FLAGS) -I doc -I $(srcdir)/doc $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \ `test -f 'doc/datamash.texi' || echo '$(srcdir)/'`doc/datamash.texi doc/datamash.html: doc/datamash.texi $(srcdir)/doc/version.texi $(doc_datamash_TEXINFOS) doc/$(am__dirstamp) $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp) $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc \ -o $(@:.html=.htp) `test -f 'doc/datamash.texi' || echo '$(srcdir)/'`doc/datamash.texi; \ then \ rm -rf $@ && mv $(@:.html=.htp) $@; \ else \ rm -rf $(@:.html=.htp); exit 1; \ fi $(srcdir)/doc/version.texi: $(srcdir)/doc/stamp-vti $(srcdir)/doc/stamp-vti: doc/datamash.texi $(top_srcdir)/configure @test -f doc/$(am__dirstamp) || $(MAKE) $(AM_MAKEFLAGS) doc/$(am__dirstamp) @(dir=.; test -f ./doc/datamash.texi || dir=$(srcdir); \ set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/doc/datamash.texi`; \ echo "@set UPDATED $$1 $$2 $$3"; \ echo "@set UPDATED-MONTH $$2 $$3"; \ echo "@set EDITION $(VERSION)"; \ echo "@set VERSION $(VERSION)") > vti.tmp$$$$ && \ (cmp -s vti.tmp$$$$ $(srcdir)/doc/version.texi \ || (echo "Updating $(srcdir)/doc/version.texi" && \ cp vti.tmp$$$$ $(srcdir)/doc/version.texi.tmp$$$$ && \ mv $(srcdir)/doc/version.texi.tmp$$$$ $(srcdir)/doc/version.texi)) && \ rm -f vti.tmp$$$$ $(srcdir)/doc/version.texi.$$$$ @cp $(srcdir)/doc/version.texi $@ mostlyclean-vti: -rm -f vti.tmp* $(srcdir)/doc/version.texi.tmp* maintainer-clean-vti: -rm -f $(srcdir)/doc/stamp-vti $(srcdir)/doc/version.texi .dvi.ps: $(AM_V_DVIPS)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ $(DVIPS) $(AM_V_texinfo) -o $@ $< uninstall-dvi-am: @$(NORMAL_UNINSTALL) @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \ rm -f "$(DESTDIR)$(dvidir)/$$f"; \ done uninstall-html-am: @$(NORMAL_UNINSTALL) @list='$(HTMLS)'; test -n "$(htmldir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \ rm -rf "$(DESTDIR)$(htmldir)/$$f"; \ done uninstall-info-am: @$(PRE_UNINSTALL) @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \ if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \ then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \ done; \ else :; fi @$(NORMAL_UNINSTALL) @list='$(INFO_DEPS)'; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ (if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \ echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \ rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ else :; fi); \ done uninstall-pdf-am: @$(NORMAL_UNINSTALL) @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \ rm -f "$(DESTDIR)$(pdfdir)/$$f"; \ done uninstall-ps-am: @$(NORMAL_UNINSTALL) @list='$(PSS)'; test -n "$(psdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \ rm -f "$(DESTDIR)$(psdir)/$$f"; \ done dist-info: $(INFO_DEPS) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ list='$(INFO_DEPS)'; \ for base in $$list; do \ case $$base in \ $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \ esac; \ if test -f $$base; then d=.; else d=$(srcdir); fi; \ base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \ for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \ if test -f $$file; then \ relfile=`expr "$$file" : "$$d/\(.*\)"`; \ test -f "$(distdir)/$$relfile" || \ cp -p $$file "$(distdir)/$$relfile"; \ else :; fi; \ done; \ done mostlyclean-aminfo: -$(am__rm_rf) doc/datamash.t2d doc/datamash.t2p clean-aminfo: -$(am__rm_rf) doc/datamash.dvi doc/datamash.pdf doc/datamash.ps doc/datamash.html maintainer-clean-aminfo: @list='$(INFO_DEPS)'; for i in $$list; do \ i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \ echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \ rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ done install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_bashcompDATA: $(dist_bashcomp_DATA) @$(NORMAL_INSTALL) @list='$(dist_bashcomp_DATA)'; test -n "$(bashcompdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bashcompdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bashcompdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(bashcompdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(bashcompdir)" || exit $$?; \ done uninstall-dist_bashcompDATA: @$(NORMAL_UNINSTALL) @list='$(dist_bashcomp_DATA)'; test -n "$(bashcompdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(bashcompdir)'; $(am__uninstall_files_from_dir) install-dist_examplesDATA: $(dist_examples_DATA) @$(NORMAL_INSTALL) @list='$(dist_examples_DATA)'; test -n "$(examplesdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \ done uninstall-dist_examplesDATA: @$(NORMAL_UNINSTALL) @list='$(dist_examples_DATA)'; test -n "$(examplesdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ output_system_information () \ { \ echo; \ { uname -a | $(AWK) '{ \ printf "System information (uname -a):"; \ for (i = 1; i < NF; ++i) \ { \ if (i != 2) \ printf " %s", $$i; \ } \ printf "\n"; \ }'; } 2>&1; \ if test -r /etc/os-release; then \ echo "Distribution information (/etc/os-release):"; \ sed 8q /etc/os-release; \ elif test -r /etc/issue; then \ echo "Distribution information (/etc/issue):"; \ cat /etc/issue; \ fi; \ }; \ please_report () \ { \ echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \ echo "together with the test-suite.log file (gzipped) and your system"; \ echo "information. Thanks."; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ output_system_information; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG) for debugging.$${std}";\ if test -n "$(PACKAGE_BUGREPORT)"; then \ please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: @$(am__rm_f) $(RECHECK_LOGS) @$(am__rm_f) $(RECHECK_LOGS:.log=.trs) @$(am__rm_f) $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all @$(am__rm_f) $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? .pl.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(PL_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_PL_LOG_DRIVER_FLAGS) $(PL_LOG_DRIVER_FLAGS) -- $(PL_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.pl$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(PL_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_PL_LOG_DRIVER_FLAGS) $(PL_LOG_DRIVER_FLAGS) -- $(PL_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) .sh.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.sh$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) $(am__remove_distdir) $(AM_V_at)$(MKDIR_P) "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-info dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-zstd: distdir tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ *.tar.zst*) \ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(LIBRARIES) $(MANS) $(DATA) \ config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(bashcompdir)" "$(DESTDIR)$(examplesdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-recursive install-exec: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: -$(am__rm_f) $(MOSTLYCLEANFILES) -$(am__rm_f) $(TEST_LOGS) -$(am__rm_f) $(TEST_LOGS:.log=.trs) -$(am__rm_f) $(TEST_SUITE_LOG) clean-generic: -$(am__rm_f) $(CLEANFILES) distclean-generic: -$(am__rm_f) $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES) -$(am__rm_f) doc/$(am__dirstamp) -$(am__rm_f) lib/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) lib/$(am__dirstamp) -$(am__rm_f) lib/glthread/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) lib/glthread/$(am__dirstamp) -$(am__rm_f) lib/unicase/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) lib/unicase/$(am__dirstamp) -$(am__rm_f) lib/unictype/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) lib/unictype/$(am__dirstamp) -$(am__rm_f) lib/unistr/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) lib/unistr/$(am__dirstamp) -$(am__rm_f) lib/uniwidth/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) lib/uniwidth/$(am__dirstamp) -$(am__rm_f) src/$(DEPDIR)/$(am__dirstamp) -$(am__rm_f) src/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -$(am__rm_f) $(BUILT_SOURCES) -$(am__rm_f) $(MAINTAINERCLEANFILES) clean: clean-recursive clean-am: clean-aminfo clean-binPROGRAMS clean-generic \ clean-noinstLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f lib/$(DEPDIR)/libdatamash_a-af_alg.Po -rm -f lib/$(DEPDIR)/libdatamash_a-anytostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-arpa_inet.Po -rm -f lib/$(DEPDIR)/libdatamash_a-asnprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-base64.Po -rm -f lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-basename.Po -rm -f lib/$(DEPDIR)/libdatamash_a-bitrotate.Po -rm -f lib/$(DEPDIR)/libdatamash_a-byteswap.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c-ctype.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isalnum.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isalpha.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isblank.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isgraph.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32islower.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isprint.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32ispunct.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isspace.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isupper.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32tolower.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32width.Po -rm -f lib/$(DEPDIR)/libdatamash_a-calloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ceil.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ceill.Po -rm -f lib/$(DEPDIR)/libdatamash_a-cloexec.Po -rm -f lib/$(DEPDIR)/libdatamash_a-close-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-close.Po -rm -f lib/$(DEPDIR)/libdatamash_a-closeout.Po -rm -f lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-dirname.Po -rm -f lib/$(DEPDIR)/libdatamash_a-dup2.Po -rm -f lib/$(DEPDIR)/libdatamash_a-error.Po -rm -f lib/$(DEPDIR)/libdatamash_a-exitfail.Po -rm -f lib/$(DEPDIR)/libdatamash_a-expl-table.Po -rm -f lib/$(DEPDIR)/libdatamash_a-expl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fabsl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fcntl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fd-hook.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fflush.Po -rm -f lib/$(DEPDIR)/libdatamash_a-float.Po -rm -f lib/$(DEPDIR)/libdatamash_a-floor.Po -rm -f lib/$(DEPDIR)/libdatamash_a-floorl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fpending.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fpurge.Po -rm -f lib/$(DEPDIR)/libdatamash_a-freading.Po -rm -f lib/$(DEPDIR)/libdatamash_a-free.Po -rm -f lib/$(DEPDIR)/libdatamash_a-frexp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-frexpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fseek.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fseeko.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fstat.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ftell.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ftello.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getdtablesize.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getopt.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getopt1.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getprogname.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getrandom.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hard-locale.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hash-pjw.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hash.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ialloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iconv_close.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iconv_open.Po -rm -f lib/$(DEPDIR)/libdatamash_a-imaxtostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-inet_pton.Po -rm -f lib/$(DEPDIR)/libdatamash_a-inttostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isblank.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isfinite.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isinf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnan.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnand.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnanf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnanl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswblank.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswpunct.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswxdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-itold.Po -rm -f lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ldexp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ldexpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-linebuffer.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localcharset.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localeconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename-environ.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename-table.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename.Po -rm -f lib/$(DEPDIR)/libdatamash_a-log.Po -rm -f lib/$(DEPDIR)/libdatamash_a-logl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-lseek.Po -rm -f lib/$(DEPDIR)/libdatamash_a-malloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-malloca.Po -rm -f lib/$(DEPDIR)/libdatamash_a-math.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbchar.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbrtowc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbsinit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbslen.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbsstr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbszero.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbuiter.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbuiterf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-md5-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-md5.Po -rm -f lib/$(DEPDIR)/libdatamash_a-memchr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mempcpy.Po -rm -f lib/$(DEPDIR)/libdatamash_a-modf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-modfl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-msvc-inval.Po -rm -f lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Po -rm -f lib/$(DEPDIR)/libdatamash_a-offtostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-open.Po -rm -f lib/$(DEPDIR)/libdatamash_a-pclose.Po -rm -f lib/$(DEPDIR)/libdatamash_a-popen.Po -rm -f lib/$(DEPDIR)/libdatamash_a-printf-args.Po -rm -f lib/$(DEPDIR)/libdatamash_a-printf-parse.Po -rm -f lib/$(DEPDIR)/libdatamash_a-progname.Po -rm -f lib/$(DEPDIR)/libdatamash_a-propername.Po -rm -f lib/$(DEPDIR)/libdatamash_a-pthread-once.Po -rm -f lib/$(DEPDIR)/libdatamash_a-quotearg.Po -rm -f lib/$(DEPDIR)/libdatamash_a-random.Po -rm -f lib/$(DEPDIR)/libdatamash_a-random_r.Po -rm -f lib/$(DEPDIR)/libdatamash_a-realloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-reallocarray.Po -rm -f lib/$(DEPDIR)/libdatamash_a-round.Po -rm -f lib/$(DEPDIR)/libdatamash_a-roundl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale_null.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sh-quote.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha1-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha1.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha256-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha256.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha512-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha512.Po -rm -f lib/$(DEPDIR)/libdatamash_a-signbitd.Po -rm -f lib/$(DEPDIR)/libdatamash_a-signbitf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-signbitl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-snprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sqrtl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stat-time.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stat-w32.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stat.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stdio-read.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stdio-write.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stdlib.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stpcpy.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strcasecmp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strdup.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strerror-override.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strerror.Po -rm -f lib/$(DEPDIR)/libdatamash_a-striconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stripslash.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strncasecmp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strnlen.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strnlen1.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strsep.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtod.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoimax.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtol.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtold.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoll.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoul.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoull.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoumax.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sys_socket.Po -rm -f lib/$(DEPDIR)/libdatamash_a-trim.Po -rm -f lib/$(DEPDIR)/libdatamash_a-trunc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-truncl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-u64.Po -rm -f lib/$(DEPDIR)/libdatamash_a-uinttostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-umaxtostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-unistd.Po -rm -f lib/$(DEPDIR)/libdatamash_a-vasnprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-version-etc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-waitpid.Po -rm -f lib/$(DEPDIR)/libdatamash_a-wctype-h.Po -rm -f lib/$(DEPDIR)/libdatamash_a-wcwidth.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-mutex.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-once.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xalloc-die.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xmalloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xsize.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstriconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtol.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtoul.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Po -rm -f lib/glthread/$(DEPDIR)/libdatamash_a-lock.Po -rm -f lib/glthread/$(DEPDIR)/libdatamash_a-once.Po -rm -f lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Po -rm -f lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Po -rm -f lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Po -rm -f lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Po -rm -f lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Po -rm -f lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Po -rm -f src/$(DEPDIR)/datamash-column-headers.Po -rm -f src/$(DEPDIR)/datamash-crosstab.Po -rm -f src/$(DEPDIR)/datamash-datamash.Po -rm -f src/$(DEPDIR)/datamash-double-format.Po -rm -f src/$(DEPDIR)/datamash-field-ops.Po -rm -f src/$(DEPDIR)/datamash-op-defs.Po -rm -f src/$(DEPDIR)/datamash-op-parser.Po -rm -f src/$(DEPDIR)/datamash-op-scanner.Po -rm -f src/$(DEPDIR)/datamash-randutils.Po -rm -f src/$(DEPDIR)/datamash-text-lines.Po -rm -f src/$(DEPDIR)/datamash-text-options.Po -rm -f src/$(DEPDIR)/datamash-utils.Po -rm -f src/$(DEPDIR)/decorate-decorate-functions.Po -rm -f src/$(DEPDIR)/decorate-decorate.Po -rm -f src/$(DEPDIR)/decorate-key-compare.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-local distclean-tags dvi: dvi-recursive dvi-am: $(DVIS) html: html-recursive html-am: $(HTMLS) info: info-recursive info-am: $(INFO_DEPS) install-data-am: install-dist_bashcompDATA install-dist_examplesDATA \ install-info-am install-man install-dvi: install-dvi-recursive install-dvi-am: $(DVIS) @$(NORMAL_INSTALL) @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(dvidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \ done install-exec-am: install-binPROGRAMS install-html: install-html-recursive install-html-am: $(HTMLS) @$(NORMAL_INSTALL) @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \ $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \ $(am__strip_dir) \ d2=$$d$$p; \ if test -d "$$d2"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \ $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \ $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ else \ list2="$$list2 $$d2"; \ fi; \ done; \ test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \ done; } install-info: install-info-recursive install-info-am: $(INFO_DEPS) @$(NORMAL_INSTALL) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \ $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \ fi; \ for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ esac; \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ if test -f $$ifile; then \ echo "$$ifile"; \ else : ; fi; \ done; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done @$(POST_INSTALL) @if $(am__can_run_installinfo); then \ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ for file in $$list; do \ relfile=`echo "$$file" | sed 's|^.*/||'`; \ echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\ install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ done; \ else : ; fi install-man: install-man1 install-pdf: install-pdf-recursive install-pdf-am: $(PDFS) @$(NORMAL_INSTALL) @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done install-ps: install-ps-recursive install-ps-am: $(PSS) @$(NORMAL_INSTALL) @list='$(PSS)'; test -n "$(psdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(psdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f lib/$(DEPDIR)/libdatamash_a-af_alg.Po -rm -f lib/$(DEPDIR)/libdatamash_a-anytostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-arpa_inet.Po -rm -f lib/$(DEPDIR)/libdatamash_a-asnprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-base64.Po -rm -f lib/$(DEPDIR)/libdatamash_a-basename-lgpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-basename.Po -rm -f lib/$(DEPDIR)/libdatamash_a-bitrotate.Po -rm -f lib/$(DEPDIR)/libdatamash_a-byteswap.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c-ctype.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c-strcasecmp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isalnum.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isalpha.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isblank.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32iscntrl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isgraph.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32islower.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isprint.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32ispunct.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isspace.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isupper.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32isxdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32tolower.Po -rm -f lib/$(DEPDIR)/libdatamash_a-c32width.Po -rm -f lib/$(DEPDIR)/libdatamash_a-calloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ceil.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ceill.Po -rm -f lib/$(DEPDIR)/libdatamash_a-cloexec.Po -rm -f lib/$(DEPDIR)/libdatamash_a-close-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-close.Po -rm -f lib/$(DEPDIR)/libdatamash_a-closeout.Po -rm -f lib/$(DEPDIR)/libdatamash_a-dirname-lgpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-dirname.Po -rm -f lib/$(DEPDIR)/libdatamash_a-dup2.Po -rm -f lib/$(DEPDIR)/libdatamash_a-error.Po -rm -f lib/$(DEPDIR)/libdatamash_a-exitfail.Po -rm -f lib/$(DEPDIR)/libdatamash_a-expl-table.Po -rm -f lib/$(DEPDIR)/libdatamash_a-expl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fabsl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fcntl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fd-hook.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fflush.Po -rm -f lib/$(DEPDIR)/libdatamash_a-float.Po -rm -f lib/$(DEPDIR)/libdatamash_a-floor.Po -rm -f lib/$(DEPDIR)/libdatamash_a-floorl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fpending.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fpurge.Po -rm -f lib/$(DEPDIR)/libdatamash_a-freading.Po -rm -f lib/$(DEPDIR)/libdatamash_a-free.Po -rm -f lib/$(DEPDIR)/libdatamash_a-frexp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-frexpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fseek.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fseeko.Po -rm -f lib/$(DEPDIR)/libdatamash_a-fstat.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ftell.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ftello.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getdtablesize.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getlocalename_l-unsafe.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getopt.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getopt1.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getprogname.Po -rm -f lib/$(DEPDIR)/libdatamash_a-getrandom.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hard-locale.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hash-pjw-bare.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hash-pjw.Po -rm -f lib/$(DEPDIR)/libdatamash_a-hash.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ialloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iconv_close.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iconv_open.Po -rm -f lib/$(DEPDIR)/libdatamash_a-imaxtostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-inet_pton.Po -rm -f lib/$(DEPDIR)/libdatamash_a-inttostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isblank.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isfinite.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isinf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnan.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnand.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnanf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-isnanl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswblank.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswpunct.Po -rm -f lib/$(DEPDIR)/libdatamash_a-iswxdigit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-itold.Po -rm -f lib/$(DEPDIR)/libdatamash_a-lc-charset-dispatch.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ldexp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-ldexpl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-linebuffer.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localcharset.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localeconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename-environ.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename-table.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename-unsafe.Po -rm -f lib/$(DEPDIR)/libdatamash_a-localename.Po -rm -f lib/$(DEPDIR)/libdatamash_a-log.Po -rm -f lib/$(DEPDIR)/libdatamash_a-logl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-lseek.Po -rm -f lib/$(DEPDIR)/libdatamash_a-malloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-malloca.Po -rm -f lib/$(DEPDIR)/libdatamash_a-math.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbchar.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbrtoc32.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbrtowc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbsinit.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbslen.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbsstr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbszero.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbtowc-lock.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbuiter.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mbuiterf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-md5-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-md5.Po -rm -f lib/$(DEPDIR)/libdatamash_a-memchr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-mempcpy.Po -rm -f lib/$(DEPDIR)/libdatamash_a-modf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-modfl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-msvc-inval.Po -rm -f lib/$(DEPDIR)/libdatamash_a-msvc-nothrow.Po -rm -f lib/$(DEPDIR)/libdatamash_a-offtostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-open.Po -rm -f lib/$(DEPDIR)/libdatamash_a-pclose.Po -rm -f lib/$(DEPDIR)/libdatamash_a-popen.Po -rm -f lib/$(DEPDIR)/libdatamash_a-printf-args.Po -rm -f lib/$(DEPDIR)/libdatamash_a-printf-parse.Po -rm -f lib/$(DEPDIR)/libdatamash_a-progname.Po -rm -f lib/$(DEPDIR)/libdatamash_a-propername.Po -rm -f lib/$(DEPDIR)/libdatamash_a-pthread-once.Po -rm -f lib/$(DEPDIR)/libdatamash_a-quotearg.Po -rm -f lib/$(DEPDIR)/libdatamash_a-random.Po -rm -f lib/$(DEPDIR)/libdatamash_a-random_r.Po -rm -f lib/$(DEPDIR)/libdatamash_a-realloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-reallocarray.Po -rm -f lib/$(DEPDIR)/libdatamash_a-round.Po -rm -f lib/$(DEPDIR)/libdatamash_a-roundl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale-fixes.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale-lock.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale_null-unlocked.Po -rm -f lib/$(DEPDIR)/libdatamash_a-setlocale_null.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sh-quote.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha1-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha1.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha256-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha256.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha512-stream.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sha512.Po -rm -f lib/$(DEPDIR)/libdatamash_a-signbitd.Po -rm -f lib/$(DEPDIR)/libdatamash_a-signbitf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-signbitl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-snprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sqrtl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stat-time.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stat-w32.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stat.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stdio-read.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stdio-write.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stdlib.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stpcpy.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strcasecmp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strdup.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strerror-override.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strerror.Po -rm -f lib/$(DEPDIR)/libdatamash_a-striconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-stripslash.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strncasecmp.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strnlen.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strnlen1.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strsep.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtod.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoimax.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtol.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtold.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoll.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoul.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoull.Po -rm -f lib/$(DEPDIR)/libdatamash_a-strtoumax.Po -rm -f lib/$(DEPDIR)/libdatamash_a-sys_socket.Po -rm -f lib/$(DEPDIR)/libdatamash_a-trim.Po -rm -f lib/$(DEPDIR)/libdatamash_a-trunc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-truncl.Po -rm -f lib/$(DEPDIR)/libdatamash_a-u64.Po -rm -f lib/$(DEPDIR)/libdatamash_a-uinttostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-umaxtostr.Po -rm -f lib/$(DEPDIR)/libdatamash_a-unistd.Po -rm -f lib/$(DEPDIR)/libdatamash_a-vasnprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-version-etc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-vsnzprintf.Po -rm -f lib/$(DEPDIR)/libdatamash_a-waitpid.Po -rm -f lib/$(DEPDIR)/libdatamash_a-wctype-h.Po -rm -f lib/$(DEPDIR)/libdatamash_a-wcwidth.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-mutex.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-once.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-recmutex.Po -rm -f lib/$(DEPDIR)/libdatamash_a-windows-rwlock.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xalloc-die.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xmalloc.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xsize.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstriconv.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtol-error.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtol.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtoul.Po -rm -f lib/$(DEPDIR)/libdatamash_a-xstrtoumax.Po -rm -f lib/glthread/$(DEPDIR)/libdatamash_a-lock.Po -rm -f lib/glthread/$(DEPDIR)/libdatamash_a-once.Po -rm -f lib/glthread/$(DEPDIR)/libdatamash_a-threadlib.Po -rm -f lib/unicase/$(DEPDIR)/libdatamash_a-tolower.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alnum.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_alpha.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_blank.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_cntrl.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_digit.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_graph.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_lower.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_print.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_punct.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_space.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_upper.Po -rm -f lib/unictype/$(DEPDIR)/libdatamash_a-ctype_xdigit.Po -rm -f lib/unistr/$(DEPDIR)/libdatamash_a-u8-mbtoucr.Po -rm -f lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb-aux.Po -rm -f lib/unistr/$(DEPDIR)/libdatamash_a-u8-uctomb.Po -rm -f lib/uniwidth/$(DEPDIR)/libdatamash_a-width.Po -rm -f src/$(DEPDIR)/datamash-column-headers.Po -rm -f src/$(DEPDIR)/datamash-crosstab.Po -rm -f src/$(DEPDIR)/datamash-datamash.Po -rm -f src/$(DEPDIR)/datamash-double-format.Po -rm -f src/$(DEPDIR)/datamash-field-ops.Po -rm -f src/$(DEPDIR)/datamash-op-defs.Po -rm -f src/$(DEPDIR)/datamash-op-parser.Po -rm -f src/$(DEPDIR)/datamash-op-scanner.Po -rm -f src/$(DEPDIR)/datamash-randutils.Po -rm -f src/$(DEPDIR)/datamash-text-lines.Po -rm -f src/$(DEPDIR)/datamash-text-options.Po -rm -f src/$(DEPDIR)/datamash-utils.Po -rm -f src/$(DEPDIR)/decorate-decorate-functions.Po -rm -f src/$(DEPDIR)/decorate-decorate.Po -rm -f src/$(DEPDIR)/decorate-key-compare.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-aminfo \ maintainer-clean-generic maintainer-clean-local \ maintainer-clean-vti mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \ mostlyclean-generic mostlyclean-local mostlyclean-vti pdf: pdf-recursive pdf-am: $(PDFS) ps: ps-recursive ps-am: $(PSS) uninstall-am: uninstall-binPROGRAMS uninstall-dist_bashcompDATA \ uninstall-dist_examplesDATA uninstall-dvi-am uninstall-html-am \ uninstall-info-am uninstall-man uninstall-pdf-am \ uninstall-ps-am uninstall-man: uninstall-man1 .MAKE: $(am__recursive_targets) all check check-am install install-am \ install-exec install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--depfiles am--refresh check check-TESTS check-am clean \ clean-aminfo clean-binPROGRAMS clean-cscope clean-generic \ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-hook dist-info dist-lzip \ dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \ distclean distclean-compile distclean-generic distclean-hdr \ distclean-local distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-binPROGRAMS install-data \ install-data-am install-dist_bashcompDATA \ install-dist_examplesDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-aminfo \ maintainer-clean-generic maintainer-clean-local \ maintainer-clean-vti mostlyclean mostlyclean-aminfo \ mostlyclean-compile mostlyclean-generic mostlyclean-local \ mostlyclean-vti pdf pdf-am ps ps-am recheck tags tags-am \ uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-dist_bashcompDATA uninstall-dist_examplesDATA \ uninstall-dvi-am uninstall-html-am uninstall-info-am \ uninstall-man uninstall-man1 uninstall-pdf-am uninstall-ps-am .PRECIOUS: Makefile @BUILD_FROM_GIT_TRUE@datamash.1: datamash $(top_srcdir)/man/datamash.x @BUILD_FROM_GIT_TRUE@ PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'$$PATH \ @BUILD_FROM_GIT_TRUE@ perl $(abs_top_srcdir)/man/help2man \ @BUILD_FROM_GIT_TRUE@ --include=$(top_srcdir)/man/datamash.x \ @BUILD_FROM_GIT_TRUE@ datamash -o $@-t @BUILD_FROM_GIT_TRUE@ chmod u=rw,go=r $@-t @BUILD_FROM_GIT_TRUE@ mv -f $@-t $@ @BUILD_FROM_GIT_TRUE@decorate.1: decorate $(top_srcdir)/man/decorate.x @BUILD_FROM_GIT_TRUE@ PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'$$PATH \ @BUILD_FROM_GIT_TRUE@ perl $(abs_top_srcdir)/man/help2man \ @BUILD_FROM_GIT_TRUE@ --include=$(top_srcdir)/man/decorate.x \ @BUILD_FROM_GIT_TRUE@ decorate -o $@-t @BUILD_FROM_GIT_TRUE@ chmod u=rw,go=r $@-t @BUILD_FROM_GIT_TRUE@ mv -f $@-t $@ # Verify that all source files using _() are listed in po/POTFILES.in. # The idea is to run this before making pretests, as well as official # releases, so that translators will be sure to have all the messages. # (From coreutils.) po-check: if test -f po/POTFILES.in; then \ grep -E -v '^(#|$$)' po/POTFILES.in \ | grep -v '^src/false\.c$$' | sort > $@-1; \ files=; \ for file in $$($(CVS_LIST_EXCEPT)) `find * -name '*.[ch]'`; do \ case $$file in \ gnulib/* | man/*) continue;; \ esac; \ case $$file in \ *.[ch]) \ base=`expr " $$file" : ' \(.*\)\..'`; \ { test -f $$base.l || test -f $$base.y; } && continue;; \ esac; \ files="$$files $$file"; \ done; \ grep -E -l '\b(N?_|gettext *)\([^)"]*("|$$)' $$files \ | sort -u > $@-2; \ diff -u $@-1 $@-2 || exit 1; \ rm -f $@-1 $@-2; \ fi # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_ALLOCA_H_TRUE@lib/alloca.h: lib/alloca.in.h $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_ALLOCA_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_ALLOCA_H_TRUE@ -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \ @GL_GENERATE_ALLOCA_H_TRUE@ $(top_srcdir)/lib/alloca.in.h > $@-t @GL_GENERATE_ALLOCA_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_ALLOCA_H_FALSE@lib/alloca.h: $(top_builddir)/config.status @GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one. lib/arpa/inet.h: lib/arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) 'lib/arpa' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ -e 's/@''GNULIB_INET_NTOP''@/$(GL_GNULIB_INET_NTOP)/g' \ -e 's/@''GNULIB_INET_PTON''@/$(GL_GNULIB_INET_PTON)/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_DECL_HTONL''@|$(HAVE_DECL_HTONL)|g' \ -e 's|@''HAVE_DECL_HTONS''@|$(HAVE_DECL_HTONS)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ -e 's|@''HAVE_DECL_NTOHL''@|$(HAVE_DECL_NTOHL)|g' \ -e 's|@''HAVE_DECL_NTOHS''@|$(HAVE_DECL_NTOHS)|g' \ -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/arpa_inet.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_ASSERT_H_TRUE@lib/assert.h: lib/assert.in.h lib/verify.h $(top_builddir)/config.status @GL_GENERATE_ASSERT_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_ASSERT_H_TRUE@ $(gl_V_at){ $(SED_HEADER_STDOUT) \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \ @GL_GENERATE_ASSERT_H_TRUE@ < $(top_srcdir)/lib/assert.in.h && \ @GL_GENERATE_ASSERT_H_TRUE@ sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|_gl_verify|_gl_static_assert|g' \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \ @GL_GENERATE_ASSERT_H_TRUE@ -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \ @GL_GENERATE_ASSERT_H_TRUE@ < $(top_srcdir)/lib/verify.h; \ @GL_GENERATE_ASSERT_H_TRUE@ } > $@-t @GL_GENERATE_ASSERT_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_ASSERT_H_FALSE@lib/assert.h: $(top_builddir)/config.status @GL_GENERATE_ASSERT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one. @GL_GENERATE_BYTESWAP_H_TRUE@lib/byteswap.h: lib/byteswap.in.h $(top_builddir)/config.status @GL_GENERATE_BYTESWAP_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_BYTESWAP_H_TRUE@ $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/byteswap.in.h @GL_GENERATE_BYTESWAP_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_BYTESWAP_H_FALSE@lib/byteswap.h: $(top_builddir)/config.status @GL_GENERATE_BYTESWAP_H_FALSE@ rm -f $@ # Listed in the same order as the GNU makefile conventions, and # provided by autoconf 2.59c+ or 2.70. # The Automake-defined pkg* macros are appended, in the order # listed in the Automake 1.10a+ documentation. lib/configmake.h: Makefile $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#if HAVE_WINSOCK2_H'; \ echo '# include /* avoid mingw pollution on DATADIR */'; \ echo '#endif'; \ printf '#define PREFIX %s\n' $(prefix_c_make); \ printf '#define EXEC_PREFIX %s\n' $(exec_prefix_c_make); \ printf '#define BINDIR %s\n' $(bindir_c_make); \ printf '#define SBINDIR %s\n' $(sbindir_c_make); \ printf '#define LIBEXECDIR %s\n' $(libexecdir_c_make); \ printf '#define DATAROOTDIR %s\n' $(datarootdir_c_make); \ printf '#define DATADIR %s\n' $(datadir_c_make); \ printf '#define SYSCONFDIR %s\n' $(sysconfdir_c_make); \ printf '#define SHAREDSTATEDIR %s\n' $(sharedstatedir_c_make); \ printf '#define LOCALSTATEDIR %s\n' $(localstatedir_c_make); \ printf '#define RUNSTATEDIR %s\n' $(runstatedir_c_make); \ printf '#define INCLUDEDIR %s\n' $(includedir_c_make); \ printf '#define OLDINCLUDEDIR %s\n' $(oldincludedir_c_make); \ printf '#define DOCDIR %s\n' $(docdir_c_make); \ printf '#define INFODIR %s\n' $(infodir_c_make); \ printf '#define HTMLDIR %s\n' $(htmldir_c_make); \ printf '#define DVIDIR %s\n' $(dvidir_c_make); \ printf '#define PDFDIR %s\n' $(pdfdir_c_make); \ printf '#define PSDIR %s\n' $(psdir_c_make); \ printf '#define LIBDIR %s\n' $(libdir_c_make); \ printf '#define LISPDIR %s\n' $(lispdir_c_make); \ printf '#define LOCALEDIR %s\n' $(localedir_c_make); \ printf '#define MANDIR %s\n' $(mandir_c_make); \ printf '#define MANEXT %s\n' \"$(manext)\"; \ printf '#define PKGDATADIR %s\n' $(pkgdatadir_c_make); \ printf '#define PKGINCLUDEDIR %s\n' $(pkgincludedir_c_make); \ printf '#define PKGLIBDIR %s\n' $(pkglibdir_c_make); \ printf '#define PKGLIBEXECDIR %s\n' $(pkglibexecdir_c_make); \ } | sed '/""/d' > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/ctype.h: lib/ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISALNUM_L''@/$(GL_GNULIB_ISALNUM_L)/g' \ -e 's/@''GNULIB_ISALPHA_L''@/$(GL_GNULIB_ISALPHA_L)/g' \ -e 's/@''GNULIB_ISBLANK''@/$(GL_GNULIB_ISBLANK)/g' \ -e 's/@''GNULIB_ISBLANK_L''@/$(GL_GNULIB_ISBLANK_L)/g' \ -e 's/@''GNULIB_ISCNTRL_L''@/$(GL_GNULIB_ISCNTRL_L)/g' \ -e 's/@''GNULIB_ISDIGIT_L''@/$(GL_GNULIB_ISDIGIT_L)/g' \ -e 's/@''GNULIB_ISGRAPH_L''@/$(GL_GNULIB_ISGRAPH_L)/g' \ -e 's/@''GNULIB_ISLOWER_L''@/$(GL_GNULIB_ISLOWER_L)/g' \ -e 's/@''GNULIB_ISPRINT_L''@/$(GL_GNULIB_ISPRINT_L)/g' \ -e 's/@''GNULIB_ISPUNCT_L''@/$(GL_GNULIB_ISPUNCT_L)/g' \ -e 's/@''GNULIB_ISSPACE_L''@/$(GL_GNULIB_ISSPACE_L)/g' \ -e 's/@''GNULIB_ISUPPER_L''@/$(GL_GNULIB_ISUPPER_L)/g' \ -e 's/@''GNULIB_ISXDIGIT_L''@/$(GL_GNULIB_ISXDIGIT_L)/g' \ -e 's/@''GNULIB_TOLOWER_L''@/$(GL_GNULIB_TOLOWER_L)/g' \ -e 's/@''GNULIB_TOUPPER_L''@/$(GL_GNULIB_TOUPPER_L)/g' \ -e 's/@''HAVE_ISALNUM_L''@/$(HAVE_ISALNUM_L)/g' \ -e 's/@''HAVE_ISALPHA_L''@/$(HAVE_ISALPHA_L)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK_L''@/$(HAVE_ISBLANK_L)/g' \ -e 's/@''HAVE_ISCNTRL_L''@/$(HAVE_ISCNTRL_L)/g' \ -e 's/@''HAVE_ISDIGIT_L''@/$(HAVE_ISDIGIT_L)/g' \ -e 's/@''HAVE_ISGRAPH_L''@/$(HAVE_ISGRAPH_L)/g' \ -e 's/@''HAVE_ISLOWER_L''@/$(HAVE_ISLOWER_L)/g' \ -e 's/@''HAVE_ISPRINT_L''@/$(HAVE_ISPRINT_L)/g' \ -e 's/@''HAVE_ISPUNCT_L''@/$(HAVE_ISPUNCT_L)/g' \ -e 's/@''HAVE_ISSPACE_L''@/$(HAVE_ISSPACE_L)/g' \ -e 's/@''HAVE_ISUPPER_L''@/$(HAVE_ISUPPER_L)/g' \ -e 's/@''HAVE_ISXDIGIT_L''@/$(HAVE_ISXDIGIT_L)/g' \ -e 's/@''HAVE_TOLOWER_L''@/$(HAVE_TOLOWER_L)/g' \ -e 's/@''HAVE_TOUPPER_L''@/$(HAVE_TOUPPER_L)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/ctype.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that is POSIX compliant. @GL_GENERATE_ERRNO_H_TRUE@lib/errno.h: lib/errno.in.h $(top_builddir)/config.status @GL_GENERATE_ERRNO_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_ERRNO_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ @GL_GENERATE_ERRNO_H_TRUE@ $(top_srcdir)/lib/errno.in.h > $@-t @GL_GENERATE_ERRNO_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_ERRNO_H_FALSE@lib/errno.h: $(top_builddir)/config.status @GL_GENERATE_ERRNO_H_FALSE@ rm -f $@ # We need the following in order to override . lib/error.h: lib/error.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_ERROR_H''@|$(HAVE_ERROR_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''NEXT_ERROR_H''@|$(NEXT_ERROR_H)|g' \ -e 's|@''HAVE_ERROR''@|$(HAVE_ERROR)|g' \ -e 's|@''HAVE_ERROR_AT_LINE''@|$(HAVE_ERROR_AT_LINE)|g' \ -e 's|@''REPLACE_ERROR''@|$(REPLACE_ERROR)|g' \ -e 's|@''REPLACE_ERROR_AT_LINE''@|$(REPLACE_ERROR_AT_LINE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ $(top_srcdir)/lib/error.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/fcntl.h: lib/fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \ -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \ -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \ -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \ -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \ -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \ -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/fcntl.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_FLOAT_H_TRUE@lib/float.h: lib/float.in.h $(top_builddir)/config.status @GL_GENERATE_FLOAT_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_FLOAT_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ @GL_GENERATE_FLOAT_H_TRUE@ $(top_srcdir)/lib/float.in.h > $@-t @GL_GENERATE_FLOAT_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_FLOAT_H_FALSE@lib/float.h: $(top_builddir)/config.status @GL_GENERATE_FLOAT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_GETOPT_H_TRUE@lib/getopt.h: lib/getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) @GL_GENERATE_GETOPT_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_GETOPT_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_GETOPT_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_GETOPT_H_TRUE@ -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ @GL_GENERATE_GETOPT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_GETOPT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_GETOPT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_GETOPT_H_TRUE@ -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ @GL_GENERATE_GETOPT_H_TRUE@ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ @GL_GENERATE_GETOPT_H_TRUE@ $(top_srcdir)/lib/getopt.in.h > $@-t @GL_GENERATE_GETOPT_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_GETOPT_H_FALSE@lib/getopt.h: $(top_builddir)/config.status @GL_GENERATE_GETOPT_H_FALSE@ rm -f $@ @GL_GENERATE_GETOPT_CDEFS_H_TRUE@lib/getopt-cdefs.h: lib/getopt-cdefs.in.h $(top_builddir)/config.status @GL_GENERATE_GETOPT_CDEFS_H_TRUE@ $(AM_V_GEN)$(SED_HEADER_STDOUT) \ @GL_GENERATE_GETOPT_CDEFS_H_TRUE@ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ @GL_GENERATE_GETOPT_CDEFS_H_TRUE@ $(top_srcdir)/lib/getopt-cdefs.in.h > $@-t @GL_GENERATE_GETOPT_CDEFS_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_GETOPT_CDEFS_H_FALSE@lib/getopt-cdefs.h: $(top_builddir)/config.status @GL_GENERATE_GETOPT_CDEFS_H_FALSE@ rm -f $@ distclean-local: clean-GNUmakefile clean-GNUmakefile: test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_ICONV_H_TRUE@lib/iconv.h: lib/iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) @GL_GENERATE_ICONV_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_ICONV_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's/@''GNULIB_ICONV''@/$(GL_GNULIB_ICONV)/g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ @GL_GENERATE_ICONV_H_TRUE@ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ @GL_GENERATE_ICONV_H_TRUE@ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ @GL_GENERATE_ICONV_H_TRUE@ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ @GL_GENERATE_ICONV_H_TRUE@ $(top_srcdir)/lib/iconv.in.h > $@-t @GL_GENERATE_ICONV_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_ICONV_H_FALSE@lib/iconv.h: $(top_builddir)/config.status @GL_GENERATE_ICONV_H_FALSE@ rm -f $@ $(top_srcdir)/lib/iconv_open-aix.h: $(top_srcdir)/lib/iconv_open-aix.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-aix.gperf > $(top_srcdir)/lib/iconv_open-aix.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-aix\.gperf\([ "]\)|\1iconv_open-aix.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-aix.h-t1 > $(top_srcdir)/lib/iconv_open-aix.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-aix.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-aix.h-t2 $(top_srcdir)/lib/iconv_open-aix.h $(top_srcdir)/lib/iconv_open-hpux.h: $(top_srcdir)/lib/iconv_open-hpux.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-hpux.gperf > $(top_srcdir)/lib/iconv_open-hpux.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-hpux\.gperf\([ "]\)|\1iconv_open-hpux.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-hpux.h-t1 > $(top_srcdir)/lib/iconv_open-hpux.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-hpux.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-hpux.h-t2 $(top_srcdir)/lib/iconv_open-hpux.h $(top_srcdir)/lib/iconv_open-irix.h: $(top_srcdir)/lib/iconv_open-irix.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-irix.gperf > $(top_srcdir)/lib/iconv_open-irix.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-irix\.gperf\([ "]\)|\1iconv_open-irix.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-irix.h-t1 > $(top_srcdir)/lib/iconv_open-irix.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-irix.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-irix.h-t2 $(top_srcdir)/lib/iconv_open-irix.h $(top_srcdir)/lib/iconv_open-osf.h: $(top_srcdir)/lib/iconv_open-osf.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-osf.gperf > $(top_srcdir)/lib/iconv_open-osf.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-osf\.gperf\([ "]\)|\1iconv_open-osf.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-osf.h-t1 > $(top_srcdir)/lib/iconv_open-osf.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-osf.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-osf.h-t2 $(top_srcdir)/lib/iconv_open-osf.h $(top_srcdir)/lib/iconv_open-solaris.h: $(top_srcdir)/lib/iconv_open-solaris.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-solaris.gperf > $(top_srcdir)/lib/iconv_open-solaris.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-solaris\.gperf\([ "]\)|\1iconv_open-solaris.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-solaris.h-t1 > $(top_srcdir)/lib/iconv_open-solaris.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-solaris.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-solaris.h-t2 $(top_srcdir)/lib/iconv_open-solaris.h $(top_srcdir)/lib/iconv_open-zos.h: $(top_srcdir)/lib/iconv_open-zos.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-zos.gperf > $(top_srcdir)/lib/iconv_open-zos.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-zos\.gperf\([ "]\)|\1iconv_open-zos.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-zos.h-t1 > $(top_srcdir)/lib/iconv_open-zos.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-zos.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-zos.h-t2 $(top_srcdir)/lib/iconv_open-zos.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/inttypes.h: lib/inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \ -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \ -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \ -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \ -e 's/@''REPLACE_IMAXABS''@/$(REPLACE_IMAXABS)/g' \ -e 's/@''REPLACE_IMAXDIV''@/$(REPLACE_IMAXDIV)/g' \ -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/inttypes.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that is compatible with GNU. @GL_GENERATE_LIMITS_H_TRUE@lib/limits.h: lib/limits.in.h $(top_builddir)/config.status @GL_GENERATE_LIMITS_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_LIMITS_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_LIMITS_H_TRUE@ -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ @GL_GENERATE_LIMITS_H_TRUE@ $(top_srcdir)/lib/limits.in.h > $@-t @GL_GENERATE_LIMITS_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_LIMITS_H_FALSE@lib/limits.h: $(top_builddir)/config.status @GL_GENERATE_LIMITS_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that provides all definitions. lib/locale.h: lib/locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ -e 's|@''HAVE_LOCALE_T''@|$(HAVE_LOCALE_T)|g' \ -e 's|@''HAVE_WINDOWS_LOCALE_T''@|$(HAVE_WINDOWS_LOCALE_T)|g' \ -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \ -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \ -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \ -e 's/@''GNULIB_NEWLOCALE''@/$(GL_GNULIB_NEWLOCALE)/g' \ -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \ -e 's/@''GNULIB_FREELOCALE''@/$(GL_GNULIB_FREELOCALE)/g' \ -e 's/@''GNULIB_GETLOCALENAME_L''@/$(GL_GNULIB_GETLOCALENAME_L)/g' \ -e 's/@''GNULIB_GETLOCALENAME_L_UNSAFE''@/$(GL_GNULIB_GETLOCALENAME_L_UNSAFE)/g' \ -e 's/@''GNULIB_LOCALENAME_UNSAFE''@/$(GL_GNULIB_LOCALENAME_UNSAFE)/g' \ -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \ -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \ -e 's|@''HAVE_GETLOCALENAME_L''@|$(HAVE_GETLOCALENAME_L)|g' \ -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \ -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \ -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \ -e 's|@''REPLACE_GETLOCALENAME_L''@|$(REPLACE_GETLOCALENAME_L)|g' \ -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \ -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/locale.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/math.h: lib/math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \ -e 's/@''GNULIB_ACOSF''@/$(GL_GNULIB_ACOSF)/g' \ -e 's/@''GNULIB_ACOSL''@/$(GL_GNULIB_ACOSL)/g' \ -e 's/@''GNULIB_ASINF''@/$(GL_GNULIB_ASINF)/g' \ -e 's/@''GNULIB_ASINL''@/$(GL_GNULIB_ASINL)/g' \ -e 's/@''GNULIB_ATANF''@/$(GL_GNULIB_ATANF)/g' \ -e 's/@''GNULIB_ATANL''@/$(GL_GNULIB_ATANL)/g' \ -e 's/@''GNULIB_ATAN2F''@/$(GL_GNULIB_ATAN2F)/g' \ -e 's/@''GNULIB_CBRT''@/$(GL_GNULIB_CBRT)/g' \ -e 's/@''GNULIB_CBRTF''@/$(GL_GNULIB_CBRTF)/g' \ -e 's/@''GNULIB_CBRTL''@/$(GL_GNULIB_CBRTL)/g' \ -e 's/@''GNULIB_CEIL''@/$(GL_GNULIB_CEIL)/g' \ -e 's/@''GNULIB_CEILF''@/$(GL_GNULIB_CEILF)/g' \ -e 's/@''GNULIB_CEILL''@/$(GL_GNULIB_CEILL)/g' \ -e 's/@''GNULIB_COPYSIGN''@/$(GL_GNULIB_COPYSIGN)/g' \ -e 's/@''GNULIB_COPYSIGNF''@/$(GL_GNULIB_COPYSIGNF)/g' \ -e 's/@''GNULIB_COPYSIGNL''@/$(GL_GNULIB_COPYSIGNL)/g' \ -e 's/@''GNULIB_COSF''@/$(GL_GNULIB_COSF)/g' \ -e 's/@''GNULIB_COSL''@/$(GL_GNULIB_COSL)/g' \ -e 's/@''GNULIB_COSHF''@/$(GL_GNULIB_COSHF)/g' \ -e 's/@''GNULIB_EXPF''@/$(GL_GNULIB_EXPF)/g' \ -e 's/@''GNULIB_EXPL''@/$(GL_GNULIB_EXPL)/g' \ -e 's/@''GNULIB_EXP2''@/$(GL_GNULIB_EXP2)/g' \ -e 's/@''GNULIB_EXP2F''@/$(GL_GNULIB_EXP2F)/g' \ -e 's/@''GNULIB_EXP2L''@/$(GL_GNULIB_EXP2L)/g' \ -e 's/@''GNULIB_EXPM1''@/$(GL_GNULIB_EXPM1)/g' \ -e 's/@''GNULIB_EXPM1F''@/$(GL_GNULIB_EXPM1F)/g' \ -e 's/@''GNULIB_EXPM1L''@/$(GL_GNULIB_EXPM1L)/g' \ -e 's/@''GNULIB_FABSF''@/$(GL_GNULIB_FABSF)/g' \ -e 's/@''GNULIB_FABSL''@/$(GL_GNULIB_FABSL)/g' \ -e 's/@''GNULIB_FLOOR''@/$(GL_GNULIB_FLOOR)/g' \ -e 's/@''GNULIB_FLOORF''@/$(GL_GNULIB_FLOORF)/g' \ -e 's/@''GNULIB_FLOORL''@/$(GL_GNULIB_FLOORL)/g' \ -e 's/@''GNULIB_FMA''@/$(GL_GNULIB_FMA)/g' \ -e 's/@''GNULIB_FMAF''@/$(GL_GNULIB_FMAF)/g' \ -e 's/@''GNULIB_FMAL''@/$(GL_GNULIB_FMAL)/g' \ -e 's/@''GNULIB_FMOD''@/$(GL_GNULIB_FMOD)/g' \ -e 's/@''GNULIB_FMODF''@/$(GL_GNULIB_FMODF)/g' \ -e 's/@''GNULIB_FMODL''@/$(GL_GNULIB_FMODL)/g' \ -e 's/@''GNULIB_FREXPF''@/$(GL_GNULIB_FREXPF)/g' \ -e 's/@''GNULIB_FREXP''@/$(GL_GNULIB_FREXP)/g' \ -e 's/@''GNULIB_FREXPL''@/$(GL_GNULIB_FREXPL)/g' \ -e 's/@''GNULIB_GETPAYLOAD''@/$(GL_GNULIB_GETPAYLOAD)/g' \ -e 's/@''GNULIB_GETPAYLOADF''@/$(GL_GNULIB_GETPAYLOADF)/g' \ -e 's/@''GNULIB_GETPAYLOADL''@/$(GL_GNULIB_GETPAYLOADL)/g' \ -e 's/@''GNULIB_HYPOT''@/$(GL_GNULIB_HYPOT)/g' \ -e 's/@''GNULIB_HYPOTF''@/$(GL_GNULIB_HYPOTF)/g' \ -e 's/@''GNULIB_HYPOTL''@/$(GL_GNULIB_HYPOTL)/g' \ < $(top_srcdir)/lib/math.in.h > $@-t1 $(AM_V_at)sed \ -e 's/@''GNULIB_ILOGB''@/$(GL_GNULIB_ILOGB)/g' \ -e 's/@''GNULIB_ILOGBF''@/$(GL_GNULIB_ILOGBF)/g' \ -e 's/@''GNULIB_ILOGBL''@/$(GL_GNULIB_ILOGBL)/g' \ -e 's/@''GNULIB_ISFINITE''@/$(GL_GNULIB_ISFINITE)/g' \ -e 's/@''GNULIB_ISINF''@/$(GL_GNULIB_ISINF)/g' \ -e 's/@''GNULIB_ISNAN''@/$(GL_GNULIB_ISNAN)/g' \ -e 's/@''GNULIB_ISNANF''@/$(GL_GNULIB_ISNANF)/g' \ -e 's/@''GNULIB_ISNAND''@/$(GL_GNULIB_ISNAND)/g' \ -e 's/@''GNULIB_ISNANL''@/$(GL_GNULIB_ISNANL)/g' \ -e 's/@''GNULIB_LDEXP''@/$(GL_GNULIB_LDEXP)/g' \ -e 's/@''GNULIB_LDEXPF''@/$(GL_GNULIB_LDEXPF)/g' \ -e 's/@''GNULIB_LDEXPL''@/$(GL_GNULIB_LDEXPL)/g' \ -e 's/@''GNULIB_LOG''@/$(GL_GNULIB_LOG)/g' \ -e 's/@''GNULIB_LOGF''@/$(GL_GNULIB_LOGF)/g' \ -e 's/@''GNULIB_LOGL''@/$(GL_GNULIB_LOGL)/g' \ -e 's/@''GNULIB_LOG10''@/$(GL_GNULIB_LOG10)/g' \ -e 's/@''GNULIB_LOG10F''@/$(GL_GNULIB_LOG10F)/g' \ -e 's/@''GNULIB_LOG10L''@/$(GL_GNULIB_LOG10L)/g' \ -e 's/@''GNULIB_LOG1P''@/$(GL_GNULIB_LOG1P)/g' \ -e 's/@''GNULIB_LOG1PF''@/$(GL_GNULIB_LOG1PF)/g' \ -e 's/@''GNULIB_LOG1PL''@/$(GL_GNULIB_LOG1PL)/g' \ -e 's/@''GNULIB_LOG2''@/$(GL_GNULIB_LOG2)/g' \ -e 's/@''GNULIB_LOG2F''@/$(GL_GNULIB_LOG2F)/g' \ -e 's/@''GNULIB_LOG2L''@/$(GL_GNULIB_LOG2L)/g' \ -e 's/@''GNULIB_LOGB''@/$(GL_GNULIB_LOGB)/g' \ -e 's/@''GNULIB_LOGBF''@/$(GL_GNULIB_LOGBF)/g' \ -e 's/@''GNULIB_LOGBL''@/$(GL_GNULIB_LOGBL)/g' \ -e 's/@''GNULIB_LOGP1''@/$(GL_GNULIB_LOGP1)/g' \ -e 's/@''GNULIB_LOGP1F''@/$(GL_GNULIB_LOGP1F)/g' \ -e 's/@''GNULIB_LOGP1L''@/$(GL_GNULIB_LOGP1L)/g' \ -e 's/@''GNULIB_MODF''@/$(GL_GNULIB_MODF)/g' \ -e 's/@''GNULIB_MODFF''@/$(GL_GNULIB_MODFF)/g' \ -e 's/@''GNULIB_MODFL''@/$(GL_GNULIB_MODFL)/g' \ -e 's/@''GNULIB_POWF''@/$(GL_GNULIB_POWF)/g' \ -e 's/@''GNULIB_REMAINDER''@/$(GL_GNULIB_REMAINDER)/g' \ -e 's/@''GNULIB_REMAINDERF''@/$(GL_GNULIB_REMAINDERF)/g' \ -e 's/@''GNULIB_REMAINDERL''@/$(GL_GNULIB_REMAINDERL)/g' \ -e 's/@''GNULIB_RINT''@/$(GL_GNULIB_RINT)/g' \ -e 's/@''GNULIB_RINTF''@/$(GL_GNULIB_RINTF)/g' \ -e 's/@''GNULIB_RINTL''@/$(GL_GNULIB_RINTL)/g' \ -e 's/@''GNULIB_ROUND''@/$(GL_GNULIB_ROUND)/g' \ -e 's/@''GNULIB_ROUNDF''@/$(GL_GNULIB_ROUNDF)/g' \ -e 's/@''GNULIB_ROUNDL''@/$(GL_GNULIB_ROUNDL)/g' \ -e 's/@''GNULIB_SETPAYLOAD''@/$(GL_GNULIB_SETPAYLOAD)/g' \ -e 's/@''GNULIB_SETPAYLOADF''@/$(GL_GNULIB_SETPAYLOADF)/g' \ -e 's/@''GNULIB_SETPAYLOADL''@/$(GL_GNULIB_SETPAYLOADL)/g' \ -e 's/@''GNULIB_SETPAYLOADSIG''@/$(GL_GNULIB_SETPAYLOADSIG)/g' \ -e 's/@''GNULIB_SETPAYLOADSIGF''@/$(GL_GNULIB_SETPAYLOADSIGF)/g' \ -e 's/@''GNULIB_SETPAYLOADSIGL''@/$(GL_GNULIB_SETPAYLOADSIGL)/g' \ -e 's/@''GNULIB_SIGNBIT''@/$(GL_GNULIB_SIGNBIT)/g' \ -e 's/@''GNULIB_SINF''@/$(GL_GNULIB_SINF)/g' \ -e 's/@''GNULIB_SINL''@/$(GL_GNULIB_SINL)/g' \ -e 's/@''GNULIB_SINHF''@/$(GL_GNULIB_SINHF)/g' \ -e 's/@''GNULIB_SQRTF''@/$(GL_GNULIB_SQRTF)/g' \ -e 's/@''GNULIB_SQRTL''@/$(GL_GNULIB_SQRTL)/g' \ -e 's/@''GNULIB_TANF''@/$(GL_GNULIB_TANF)/g' \ -e 's/@''GNULIB_TANL''@/$(GL_GNULIB_TANL)/g' \ -e 's/@''GNULIB_TANHF''@/$(GL_GNULIB_TANHF)/g' \ -e 's/@''GNULIB_TRUNC''@/$(GL_GNULIB_TRUNC)/g' \ -e 's/@''GNULIB_TRUNCF''@/$(GL_GNULIB_TRUNCF)/g' \ -e 's/@''GNULIB_TRUNCL''@/$(GL_GNULIB_TRUNCL)/g' \ -e 's/@''GNULIB_TOTALORDER''@/$(GL_GNULIB_TOTALORDER)/g' \ -e 's/@''GNULIB_TOTALORDERF''@/$(GL_GNULIB_TOTALORDERF)/g' \ -e 's/@''GNULIB_TOTALORDERL''@/$(GL_GNULIB_TOTALORDERL)/g' \ -e 's/@''GNULIB_TOTALORDERMAG''@/$(GL_GNULIB_TOTALORDERMAG)/g' \ -e 's/@''GNULIB_TOTALORDERMAGF''@/$(GL_GNULIB_TOTALORDERMAGF)/g' \ -e 's/@''GNULIB_TOTALORDERMAGL''@/$(GL_GNULIB_TOTALORDERMAGL)/g' \ -e 's/@''GNULIB_MDA_J0''@/$(GL_GNULIB_MDA_J0)/g' \ -e 's/@''GNULIB_MDA_J1''@/$(GL_GNULIB_MDA_J1)/g' \ -e 's/@''GNULIB_MDA_JN''@/$(GL_GNULIB_MDA_JN)/g' \ -e 's/@''GNULIB_MDA_Y0''@/$(GL_GNULIB_MDA_Y0)/g' \ -e 's/@''GNULIB_MDA_Y1''@/$(GL_GNULIB_MDA_Y1)/g' \ -e 's/@''GNULIB_MDA_YN''@/$(GL_GNULIB_MDA_YN)/g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \ -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \ -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \ -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \ -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \ -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \ -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \ -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \ -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \ -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \ -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \ -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \ -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \ -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \ -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \ -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \ -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \ -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \ -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \ -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \ -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \ -e 's|@''HAVE_GETPAYLOAD''@|$(HAVE_GETPAYLOAD)|g' \ -e 's|@''HAVE_GETPAYLOADF''@|$(HAVE_GETPAYLOADF)|g' \ -e 's|@''HAVE_GETPAYLOADL''@|$(HAVE_GETPAYLOADL)|g' \ -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \ -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \ -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \ -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \ -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \ -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \ -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \ -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \ -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \ -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \ -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \ -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \ -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \ -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \ -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \ -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \ -e 's|@''HAVE_LOGP1''@|$(HAVE_LOGP1)|g' \ -e 's|@''HAVE_LOGP1F''@|$(HAVE_LOGP1F)|g' \ -e 's|@''HAVE_LOGP1L''@|$(HAVE_LOGP1L)|g' \ -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \ -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \ -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \ -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \ -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \ -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \ -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \ -e 's|@''HAVE_SETPAYLOAD''@|$(HAVE_SETPAYLOAD)|g' \ -e 's|@''HAVE_SETPAYLOADF''@|$(HAVE_SETPAYLOADF)|g' \ -e 's|@''HAVE_SETPAYLOADL''@|$(HAVE_SETPAYLOADL)|g' \ -e 's|@''HAVE_SETPAYLOADSIG''@|$(HAVE_SETPAYLOADSIG)|g' \ -e 's|@''HAVE_SETPAYLOADSIGF''@|$(HAVE_SETPAYLOADSIGF)|g' \ -e 's|@''HAVE_SETPAYLOADSIGL''@|$(HAVE_SETPAYLOADSIGL)|g' \ -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \ -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \ -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \ -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \ -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \ -e 's|@''HAVE_TOTALORDER''@|$(HAVE_TOTALORDER)|g' \ -e 's|@''HAVE_TOTALORDERF''@|$(HAVE_TOTALORDERF)|g' \ -e 's|@''HAVE_TOTALORDERL''@|$(HAVE_TOTALORDERL)|g' \ -e 's|@''HAVE_TOTALORDERMAG''@|$(HAVE_TOTALORDERMAG)|g' \ -e 's|@''HAVE_TOTALORDERMAGF''@|$(HAVE_TOTALORDERMAGF)|g' \ -e 's|@''HAVE_TOTALORDERMAGL''@|$(HAVE_TOTALORDERMAGL)|g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \ -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \ -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \ -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \ -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \ -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \ -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \ -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \ -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \ -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \ -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \ -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \ -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \ -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \ -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \ -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \ -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \ -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \ -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \ -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \ -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \ -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \ -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \ -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \ -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \ -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \ -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \ -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \ -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \ -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \ -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \ -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \ -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \ < $@-t3 > $@-t4 $(AM_V_at)sed \ -e 's|@''REPLACE_ACOSF''@|$(REPLACE_ACOSF)|g' \ -e 's|@''REPLACE_ASINF''@|$(REPLACE_ASINF)|g' \ -e 's|@''REPLACE_ATANF''@|$(REPLACE_ATANF)|g' \ -e 's|@''REPLACE_ATAN2F''@|$(REPLACE_ATAN2F)|g' \ -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \ -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \ -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \ -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \ -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ -e 's|@''REPLACE_COSF''@|$(REPLACE_COSF)|g' \ -e 's|@''REPLACE_COSHF''@|$(REPLACE_COSHF)|g' \ -e 's|@''REPLACE_EXPF''@|$(REPLACE_EXPF)|g' \ -e 's|@''REPLACE_EXPL''@|$(REPLACE_EXPL)|g' \ -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \ -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \ -e 's|@''REPLACE_EXPM1L''@|$(REPLACE_EXPM1L)|g' \ -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \ -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \ -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \ -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \ -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \ -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \ -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \ -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \ -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \ -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \ -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \ -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \ -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \ -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \ -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \ -e 's|@''REPLACE_GETPAYLOAD''@|$(REPLACE_GETPAYLOAD)|g' \ -e 's|@''REPLACE_GETPAYLOADF''@|$(REPLACE_GETPAYLOADF)|g' \ -e 's|@''REPLACE_GETPAYLOADL''@|$(REPLACE_GETPAYLOADL)|g' \ -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \ -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \ -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \ -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \ -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \ -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \ -e 's|@''REPLACE_ILOGBL''@|$(REPLACE_ILOGBL)|g' \ -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \ -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \ -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ < $@-t4 > $@-t5 $(AM_V_at)sed \ -e 's|@''REPLACE_LDEXP''@|$(REPLACE_LDEXP)|g' \ -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \ -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \ -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \ -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \ -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \ -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \ -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \ -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \ -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \ -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \ -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \ -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \ -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \ -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \ -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \ -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \ -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \ -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \ -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \ -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \ -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \ -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \ -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \ -e 's|@''REPLACE_RINTL''@|$(REPLACE_RINTL)|g' \ -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \ -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \ -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \ -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \ -e 's|@''REPLACE_SIGNBIT_USING_BUILTINS''@|$(REPLACE_SIGNBIT_USING_BUILTINS)|g' \ -e 's|@''REPLACE_SINF''@|$(REPLACE_SINF)|g' \ -e 's|@''REPLACE_SINHF''@|$(REPLACE_SINHF)|g' \ -e 's|@''REPLACE_SQRTF''@|$(REPLACE_SQRTF)|g' \ -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \ -e 's|@''REPLACE_TANF''@|$(REPLACE_TANF)|g' \ -e 's|@''REPLACE_TANHF''@|$(REPLACE_TANHF)|g' \ -e 's|@''REPLACE_TOTALORDER''@|$(REPLACE_TOTALORDER)|g' \ -e 's|@''REPLACE_TOTALORDERF''@|$(REPLACE_TOTALORDERF)|g' \ -e 's|@''REPLACE_TOTALORDERL''@|$(REPLACE_TOTALORDERL)|g' \ -e 's|@''REPLACE_TOTALORDERMAG''@|$(REPLACE_TOTALORDERMAG)|g' \ -e 's|@''REPLACE_TOTALORDERMAGF''@|$(REPLACE_TOTALORDERMAGF)|g' \ -e 's|@''REPLACE_TOTALORDERMAGL''@|$(REPLACE_TOTALORDERMAGL)|g' \ -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \ -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \ -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t5 > $@-t6 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $@-t4 $@-t5 $(AM_V_at)mv $@-t6 $@ # We need the following in order to create when the system # doesn't have one. @GL_GENERATE_NETINET_IN_H_TRUE@lib/netinet/in.h: lib/netinet_in.in.h $(top_builddir)/config.status @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib/netinet' @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ @GL_GENERATE_NETINET_IN_H_TRUE@ $(top_srcdir)/lib/netinet_in.in.h > $@-t @GL_GENERATE_NETINET_IN_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_NETINET_IN_H_FALSE@lib/netinet/in.h: $(top_builddir)/config.status @GL_GENERATE_NETINET_IN_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/pthread.h: lib/pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GL_GNULIB_PTHREAD_THREAD)/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GL_GNULIB_PTHREAD_ONCE)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GL_GNULIB_PTHREAD_MUTEX)/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GL_GNULIB_PTHREAD_RWLOCK)/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/$(GL_GNULIB_PTHREAD_COND)/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/$(GL_GNULIB_PTHREAD_TSS)/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GL_GNULIB_PTHREAD_SPIN)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ < $(top_srcdir)/lib/pthread.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t3 > $@-t4 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $(AM_V_at)mv $@-t4 $@ # We need the following in order to create a replacement for when # the system doesn't have one. lib/sched.h: lib/sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/$(GL_GNULIB_SCHED_YIELD)/g' \ -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sched.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDARG_H_TRUE@lib/stdarg.h: lib/stdarg.in.h $(top_builddir)/config.status @GL_GENERATE_STDARG_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_STDARG_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDARG_H_TRUE@ -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ @GL_GENERATE_STDARG_H_TRUE@ $(top_srcdir)/lib/stdarg.in.h > $@-t @GL_GENERATE_STDARG_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_STDARG_H_FALSE@lib/stdarg.h: $(top_builddir)/config.status @GL_GENERATE_STDARG_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDCKDINT_H_TRUE@lib/stdckdint.h: lib/stdckdint.in.h $(top_builddir)/config.status @GL_GENERATE_STDCKDINT_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_STDCKDINT_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_STDCKDINT_H_TRUE@ $(top_srcdir)/lib/stdckdint.in.h > $@-t @GL_GENERATE_STDCKDINT_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_STDCKDINT_H_FALSE@lib/stdckdint.h: $(top_builddir)/config.status @GL_GENERATE_STDCKDINT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDDEF_H_TRUE@lib/stddef.h: lib/stddef.in.h $(top_builddir)/config.status @GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_STDDEF_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NULLPTR_T_NEEDS_STDDEF''@|$(NULLPTR_T_NEEDS_STDDEF)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''STDDEF_NOT_IDEMPOTENT''@|$(STDDEF_NOT_IDEMPOTENT)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ @GL_GENERATE_STDDEF_H_TRUE@ $(top_srcdir)/lib/stddef.in.h > $@-t @GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_STDDEF_H_FALSE@lib/stddef.h: $(top_builddir)/config.status @GL_GENERATE_STDDEF_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. @GL_GENERATE_STDINT_H_TRUE@lib/stdint.h: lib/stdint.in.h $(top_builddir)/config.status @GL_GENERATE_STDINT_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_STDINT_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''GUARD_PREFIX''@|GL|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ @GL_GENERATE_STDINT_H_TRUE@ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ @GL_GENERATE_STDINT_H_TRUE@ $(top_srcdir)/lib/stdint.in.h > $@-t @GL_GENERATE_STDINT_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_STDINT_H_FALSE@lib/stdint.h: $(top_builddir)/config.status @GL_GENERATE_STDINT_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/stdio.h: lib/stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_DZPRINTF''@/$(GL_GNULIB_DZPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \ -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \ -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \ -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \ -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \ -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \ -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \ -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \ -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \ -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \ -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \ -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \ -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \ -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \ -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \ -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \ -e 's/@''GNULIB_FZPRINTF''@/$(GL_GNULIB_FZPRINTF)/g' \ -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \ -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \ -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \ -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GL_GNULIB_OBSTACK_ZPRINTF)/g' \ -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \ -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \ -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \ -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \ -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \ -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \ -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \ -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \ -e 's/@''GNULIB_SNZPRINTF''@/$(GL_GNULIB_SNZPRINTF)/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SZPRINTF''@/$(GL_GNULIB_SZPRINTF)/g' \ -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \ -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \ -e 's/@''GNULIB_VASZPRINTF''@/$(GL_GNULIB_VASZPRINTF)/g' \ -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \ -e 's/@''GNULIB_VDZPRINTF''@/$(GL_GNULIB_VDZPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VFZPRINTF''@/$(GL_GNULIB_VFZPRINTF)/g' \ -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \ -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \ -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \ -e 's/@''GNULIB_VSNZPRINTF''@/$(GL_GNULIB_VSNZPRINTF)/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSZPRINTF''@/$(GL_GNULIB_VSZPRINTF)/g' \ -e 's/@''GNULIB_VZPRINTF''@/$(GL_GNULIB_VZPRINTF)/g' \ -e 's/@''GNULIB_ZPRINTF''@/$(GL_GNULIB_ZPRINTF)/g' \ -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \ -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \ -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \ -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \ -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \ -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \ < $(top_srcdir)/lib/stdio.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \ -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t2 > $@-t3 $(AM_V_at)rm -f $@-t1 $@-t2 $(AM_V_at)mv $@-t3 $@ lib/stdlib.h: lib/stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \ -e 's/@''GNULIB_ABORT_DEBUG''@/$(GL_GNULIB_ABORT_DEBUG)/g' \ -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \ -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \ -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \ -e 's/@''GNULIB_GETPROGNAME''@/$(GL_GNULIB_GETPROGNAME)/g' \ -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \ -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \ -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \ -e 's/@''GNULIB_MBSTOWCS''@/$(GL_GNULIB_MBSTOWCS)/g' \ -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \ -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \ -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \ -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \ -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \ -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \ -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \ -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \ -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \ -e 's/@''GNULIB_RAND''@/$(GL_GNULIB_RAND)/g' \ -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \ -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \ -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \ -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \ -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \ -e 's/@''GNULIB_STACK_TRACE''@/$(GL_GNULIB_STACK_TRACE)/g' \ -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \ -e 's/@''GNULIB_STRTOF''@/$(GL_GNULIB_STRTOF)/g' \ -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \ -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \ -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \ -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \ -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \ -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \ -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \ -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \ -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \ -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \ -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \ -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \ -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \ < $(top_srcdir)/lib/stdlib.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \ -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \ -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|$(HAVE_DECL_PROGRAM_INVOCATION_NAME)|g' \ -e 's|@''HAVE_GETPROGNAME''@|$(HAVE_GETPROGNAME)|g' \ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \ -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_STRTOF''@|$(HAVE_STRTOF)|g' \ -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \ -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE__EXIT''@|$(REPLACE__EXIT)|g' \ -e 's|@''REPLACE_ABORT''@|$(REPLACE_ABORT)|g' \ -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ -e 's|@''REPLACE_GETLOADAVG''@|$(REPLACE_GETLOADAVG)|g' \ -e 's|@''REPLACE_GETPROGNAME''@|$(REPLACE_GETPROGNAME)|g' \ -e 's|@''REPLACE_GETSUBOPT''@|$(REPLACE_GETSUBOPT)|g' \ -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \ -e 's|@''REPLACE_MB_CUR_MAX''@|$(REPLACE_MB_CUR_MAX)|g' \ -e 's|@''REPLACE_MBSTOWCS''@|$(REPLACE_MBSTOWCS)|g' \ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -e 's|@''REPLACE_MKOSTEMP''@|$(REPLACE_MKOSTEMP)|g' \ -e 's|@''REPLACE_MKOSTEMPS''@|$(REPLACE_MKOSTEMPS)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \ -e 's|@''REPLACE_POSIX_OPENPT''@|$(REPLACE_POSIX_OPENPT)|g' \ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ -e 's|@''REPLACE_RAND''@|$(REPLACE_RAND)|g' \ -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \ -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -e 's|@''REPLACE_STRTOF''@|$(REPLACE_STRTOF)|g' \ -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \ -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \ -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \ -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \ -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e 's|@''CAN_PRINT_STACK_TRACE''@|$(CAN_PRINT_STACK_TRACE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t2 > $@-t3 $(AM_V_at)rm -f $@-t1 $@-t2 $(AM_V_at)mv $@-t3 $@ # We need the following in order to create when the system # doesn't have one that works. @GL_GENERATE_STDNORETURN_H_TRUE@lib/stdnoreturn.h: lib/stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H) @GL_GENERATE_STDNORETURN_H_TRUE@ $(AM_V_GEN)$(MKDIR_P) 'lib' @GL_GENERATE_STDNORETURN_H_TRUE@ $(gl_V_at)$(SED_HEADER_STDOUT) \ @GL_GENERATE_STDNORETURN_H_TRUE@ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ @GL_GENERATE_STDNORETURN_H_TRUE@ $(top_srcdir)/lib/stdnoreturn.in.h > $@-t @GL_GENERATE_STDNORETURN_H_TRUE@ $(AM_V_at)mv $@-t $@ @GL_GENERATE_STDNORETURN_H_FALSE@lib/stdnoreturn.h: $(top_builddir)/config.status @GL_GENERATE_STDNORETURN_H_FALSE@ rm -f $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/string.h: lib/string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \ -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \ -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \ -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \ -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \ -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \ -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \ -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \ -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \ -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \ -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \ -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \ -e 's/@''GNULIB_MBS_ENDSWITH''@/$(GL_GNULIB_MBS_ENDSWITH)/g' \ -e 's/@''GNULIB_MBS_STARTSWITH''@/$(GL_GNULIB_MBS_STARTSWITH)/g' \ -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \ -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \ -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \ -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \ -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \ -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \ -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \ -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \ -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \ -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \ -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \ -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \ -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \ -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \ -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \ -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \ -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \ -e 's/@''GNULIB_STR_ENDSWITH''@/$(GL_GNULIB_STR_ENDSWITH)/g' \ -e 's/@''GNULIB_STR_STARTSWITH''@/$(GL_GNULIB_STR_STARTSWITH)/g' \ -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \ -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \ -e 's/@''GNULIB_STRERROR_L''@/$(GL_GNULIB_STRERROR_L)/g' \ -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \ -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \ -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \ -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \ -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \ -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ < $(top_srcdir)/lib/string.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -e 's|@''HAVE_STRERROR_L''@|$(HAVE_STRERROR_L)|g' \ -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \ -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \ -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -e 's|@''REPLACE_MEMPCPY''@|$(REPLACE_MEMPCPY)|g' \ -e 's|@''REPLACE_MEMSET_EXPLICIT''@|$(REPLACE_MEMSET_EXPLICIT)|g' \ -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ -e 's|@''REPLACE_STPCPY''@|$(REPLACE_STPCPY)|g' \ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -e 's|@''REPLACE_STRERROR_L''@|$(REPLACE_STRERROR_L)|g' \ -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -e 's|@''REPLACE_STRVERSCMP''@|$(REPLACE_STRVERSCMP)|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t1 > $@-t2 $(AM_V_at)rm -f $@-t1 $(AM_V_at)mv $@-t2 $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/strings.h: lib/strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ -e 's/@''GNULIB_FFS''@/$(GL_GNULIB_FFS)/g' \ -e 's/@''GNULIB_STRCASECMP''@/$(GL_GNULIB_STRCASECMP)/g' \ -e 's/@''GNULIB_STRCASECMP_L''@/$(GL_GNULIB_STRCASECMP_L)/g' \ -e 's/@''GNULIB_STRNCASECMP''@/$(GL_GNULIB_STRNCASECMP)/g' \ -e 's/@''GNULIB_STRNCASECMP_L''@/$(GL_GNULIB_STRNCASECMP_L)/g' \ -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \ -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ -e 's|@''HAVE_STRCASECMP_L''@|$(HAVE_STRCASECMP_L)|g' \ -e 's|@''HAVE_STRNCASECMP''@|$(HAVE_STRNCASECMP)|g' \ -e 's|@''HAVE_STRNCASECMP_L''@|$(HAVE_STRNCASECMP_L)|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ -e 's|@''REPLACE_STRCASECMP''@|$(REPLACE_STRCASECMP)|g' \ -e 's|@''REPLACE_STRCASECMP_L''@|$(REPLACE_STRCASECMP_L)|g' \ -e 's|@''REPLACE_STRNCASECMP''@|$(REPLACE_STRNCASECMP)|g' \ -e 's|@''REPLACE_STRNCASECMP_L''@|$(REPLACE_STRNCASECMP_L)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/strings.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one. lib/sys/random.h: lib/sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_RANDOM_H''@|$(NEXT_SYS_RANDOM_H)|g' \ -e 's|@''HAVE_SYS_RANDOM_H''@|$(HAVE_SYS_RANDOM_H)|g' \ -e 's/@''GNULIB_GETRANDOM''@/$(GL_GNULIB_GETRANDOM)/g' \ -e 's/@''HAVE_GETRANDOM''@/$(HAVE_GETRANDOM)/g' \ -e 's/@''REPLACE_GETRANDOM''@/$(REPLACE_GETRANDOM)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_random.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/sys/socket.h: lib/sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) 'lib/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_SOCKET''@/$(GL_GNULIB_SOCKET)/g' \ -e 's/@''GNULIB_CONNECT''@/$(GL_GNULIB_CONNECT)/g' \ -e 's/@''GNULIB_ACCEPT''@/$(GL_GNULIB_ACCEPT)/g' \ -e 's/@''GNULIB_BIND''@/$(GL_GNULIB_BIND)/g' \ -e 's/@''GNULIB_GETPEERNAME''@/$(GL_GNULIB_GETPEERNAME)/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/$(GL_GNULIB_GETSOCKNAME)/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/$(GL_GNULIB_GETSOCKOPT)/g' \ -e 's/@''GNULIB_LISTEN''@/$(GL_GNULIB_LISTEN)/g' \ -e 's/@''GNULIB_RECV''@/$(GL_GNULIB_RECV)/g' \ -e 's/@''GNULIB_SEND''@/$(GL_GNULIB_SEND)/g' \ -e 's/@''GNULIB_RECVFROM''@/$(GL_GNULIB_RECVFROM)/g' \ -e 's/@''GNULIB_SENDTO''@/$(GL_GNULIB_SENDTO)/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/$(GL_GNULIB_SETSOCKOPT)/g' \ -e 's/@''GNULIB_SHUTDOWN''@/$(GL_GNULIB_SHUTDOWN)/g' \ -e 's/@''GNULIB_ACCEPT4''@/$(GL_GNULIB_ACCEPT4)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_socket.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # has one that is incomplete. lib/sys/stat.h: lib/sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \ -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \ -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \ -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \ -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \ -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \ -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \ -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \ -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \ -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_stat.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/sys/types.h: lib/sys_types.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) 'lib/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's|@''HAVE_OFF64_T''@|$(HAVE_OFF64_T)|g' \ -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ -e 's|@''HAVE_BLKSIZE_T''@|$(HAVE_BLKSIZE_T)|g' \ -e 's|@''HAVE_BLKCNT_T''@|$(HAVE_BLKCNT_T)|g' \ $(top_srcdir)/lib/sys_types.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/sys/uio.h: lib/sys_uio.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) 'lib/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ $(top_srcdir)/lib/sys_uio.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # has one that is incomplete. lib/sys/wait.h: lib/sys_wait.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \ -e 's/@''GNULIB_WAITPID''@/$(GL_GNULIB_WAITPID)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_wait.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/time.h: lib/time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \ -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \ -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \ -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \ -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \ -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \ -e 's/@''GNULIB_TIME''@/$(GL_GNULIB_TIME)/g' \ -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \ -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \ -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \ -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \ -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \ -e 's/@''GNULIB_TZNAME''@/$(GL_GNULIB_TZNAME)/g' \ -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \ -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \ -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \ -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ -e 's|@''HAVE_TZALLOC''@|$(HAVE_TZALLOC)|g' \ -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -e 's|@''REPLACE_LOCALTIME_RZ''@|$(REPLACE_LOCALTIME_RZ)|g' \ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -e 's|@''REPLACE_MKTIME_Z''@|$(REPLACE_MKTIME_Z)|g' \ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \ -e 's|@''REPLACE_TIME''@|$(REPLACE_TIME)|g' \ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -e 's|@''REPLACE_TIMESPEC_GET''@|$(REPLACE_TIMESPEC_GET)|g' \ -e 's|@''REPLACE_TIMESPEC_GETRES''@|$(REPLACE_TIMESPEC_GETRES)|g' \ -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_TIME_UTC''@|$(TIME_H_DEFINES_TIME_UTC)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/time.in.h > $@-t $(AM_V_at)mv $@-t $@ lib/uchar.h: lib/uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UCHAR_H''@|$(NEXT_UCHAR_H)|g' \ -e 's|@''CXX_HAS_CHAR8_TYPE''@|$(CXX_HAS_CHAR8_TYPE)|g' \ -e 's|@''CXX_HAS_UCHAR_TYPES''@|$(CXX_HAS_UCHAR_TYPES)|g' \ -e 's|@''SMALL_WCHAR_T''@|$(SMALL_WCHAR_T)|g' \ -e 's|@''GNULIBHEADERS_OVERRIDE_CHAR8_T''@|$(GNULIBHEADERS_OVERRIDE_CHAR8_T)|g' \ -e 's|@''GNULIBHEADERS_OVERRIDE_CHAR16_T''@|$(GNULIBHEADERS_OVERRIDE_CHAR16_T)|g' \ -e 's|@''GNULIBHEADERS_OVERRIDE_CHAR32_T''@|$(GNULIBHEADERS_OVERRIDE_CHAR32_T)|g' \ -e 's/@''GNULIB_BTOC32''@/$(GL_GNULIB_BTOC32)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_C32ISALNUM''@/$(GL_GNULIB_C32ISALNUM)/g' \ -e 's/@''GNULIB_C32ISALPHA''@/$(GL_GNULIB_C32ISALPHA)/g' \ -e 's/@''GNULIB_C32ISBLANK''@/$(GL_GNULIB_C32ISBLANK)/g' \ -e 's/@''GNULIB_C32ISCNTRL''@/$(GL_GNULIB_C32ISCNTRL)/g' \ -e 's/@''GNULIB_C32ISDIGIT''@/$(GL_GNULIB_C32ISDIGIT)/g' \ -e 's/@''GNULIB_C32ISGRAPH''@/$(GL_GNULIB_C32ISGRAPH)/g' \ -e 's/@''GNULIB_C32ISLOWER''@/$(GL_GNULIB_C32ISLOWER)/g' \ -e 's/@''GNULIB_C32ISPRINT''@/$(GL_GNULIB_C32ISPRINT)/g' \ -e 's/@''GNULIB_C32ISPUNCT''@/$(GL_GNULIB_C32ISPUNCT)/g' \ -e 's/@''GNULIB_C32ISSPACE''@/$(GL_GNULIB_C32ISSPACE)/g' \ -e 's/@''GNULIB_C32ISUPPER''@/$(GL_GNULIB_C32ISUPPER)/g' \ -e 's/@''GNULIB_C32ISXDIGIT''@/$(GL_GNULIB_C32ISXDIGIT)/g' \ -e 's/@''GNULIB_C32TOLOWER''@/$(GL_GNULIB_C32TOLOWER)/g' \ -e 's/@''GNULIB_C32TOUPPER''@/$(GL_GNULIB_C32TOUPPER)/g' \ -e 's/@''GNULIB_C32WIDTH''@/$(GL_GNULIB_C32WIDTH)/g' \ -e 's/@''GNULIB_C32RTOMB''@/$(GL_GNULIB_C32RTOMB)/g' \ -e 's/@''GNULIB_C32SNRTOMBS''@/$(GL_GNULIB_C32SNRTOMBS)/g' \ -e 's/@''GNULIB_C32SRTOMBS''@/$(GL_GNULIB_C32SRTOMBS)/g' \ -e 's/@''GNULIB_C32STOMBS''@/$(GL_GNULIB_C32STOMBS)/g' \ -e 's/@''GNULIB_C32SWIDTH''@/$(GL_GNULIB_C32SWIDTH)/g' \ -e 's/@''GNULIB_C32TOB''@/$(GL_GNULIB_C32TOB)/g' \ -e 's/@''GNULIB_C32_APPLY_MAPPING''@/$(GL_GNULIB_C32_APPLY_MAPPING)/g' \ -e 's/@''GNULIB_C32_APPLY_TYPE_TEST''@/$(GL_GNULIB_C32_APPLY_TYPE_TEST)/g' \ -e 's/@''GNULIB_C32_GET_MAPPING''@/$(GL_GNULIB_C32_GET_MAPPING)/g' \ -e 's/@''GNULIB_C32_GET_TYPE_TEST''@/$(GL_GNULIB_C32_GET_TYPE_TEST)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \ -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \ -e 's/@''GNULIB_MBRTOC16''@/$(GL_GNULIB_MBRTOC16)/g' \ -e 's/@''GNULIB_MBRTOC32''@/$(GL_GNULIB_MBRTOC32)/g' \ -e 's/@''GNULIB_MBSNRTOC32S''@/$(GL_GNULIB_MBSNRTOC32S)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_MBSRTOC32S''@/$(GL_GNULIB_MBSRTOC32S)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSTOC32S''@/$(GL_GNULIB_MBSTOC32S)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \ -e 's|@''HAVE_C32RTOMB''@|$(HAVE_C32RTOMB)|g' \ -e 's|@''HAVE_MBRTOC16''@|$(HAVE_MBRTOC16)|g' \ -e 's|@''HAVE_MBRTOC32''@|$(HAVE_MBRTOC32)|g' \ -e 's|@''REPLACE_C32RTOMB''@|$(REPLACE_C32RTOMB)|g' \ -e 's|@''REPLACE_MBRTOC16''@|$(REPLACE_MBRTOC16)|g' \ -e 's|@''REPLACE_MBRTOC32''@|$(REPLACE_MBRTOC32)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/uchar.in.h > $@-t $(AM_V_at)mv $@-t $@ lib/unicase.h: lib/unicase.in.h $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|$(HAVE_UNISTRING_WOE32DLL_H)|g' \ -e 's/@''GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE''@/$(GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE''@/$(GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE)/g' \ $(top_srcdir)/lib/unicase.in.h > $@-t $(AM_V_at)mv $@-t $@ lib/unictype.h: lib/unictype.in.h $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|$(HAVE_UNISTRING_WOE32DLL_H)|g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE)/g' \ < $(top_srcdir)/lib/unictype.in.h > $@-t1 $(AM_V_at)sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE)/g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE)/g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE)/g' \ < $@-t3 > $@-t4 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $(AM_V_at)mv $@-t4 $@ lib/uninorm.h: lib/uninorm.in.h $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|$(HAVE_UNISTRING_WOE32DLL_H)|g' \ -e 's/@''GNULIB_UNINORM_NFD_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFD_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNINORM_NFC_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNINORM_NFKD_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFKD_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNINORM_NFKC_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFKC_DLL_VARIABLE)/g' \ $(top_srcdir)/lib/uninorm.in.h > $@-t $(AM_V_at)mv $@-t $@ # We need the following in order to create an empty placeholder for # when the system doesn't have one. lib/unistd.h: lib/unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \ -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \ -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \ -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \ -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \ -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \ -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \ -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \ -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \ -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \ -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \ -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \ -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \ < $(top_srcdir)/lib/unistd.in.h > $@-t1 $(AM_V_at)sed \ -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \ -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \ -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \ -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \ -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \ -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \ -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \ -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \ -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \ -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \ -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \ -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \ -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \ -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \ -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \ -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \ -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \ -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \ -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \ -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \ -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \ -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \ -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \ -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \ -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \ -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \ -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \ -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \ -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \ -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \ -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \ -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \ -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \ -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \ -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \ -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \ -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \ -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \ -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \ -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \ -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \ -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \ -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \ -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \ -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \ -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \ -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \ -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \ -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \ -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \ -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -e 's|@''REPLACE_DUP3''@|$(REPLACE_DUP3)|g' \ -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \ -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \ -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \ -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \ -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \ -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \ -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \ -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \ -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -e 's|@''REPLACE_FDATASYNC''@|$(REPLACE_FDATASYNC)|g' \ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \ -e 's|@''REPLACE_GETENTROPY''@|$(REPLACE_GETENTROPY)|g' \ -e 's|@''REPLACE_GETLOGIN''@|$(REPLACE_GETLOGIN)|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \ -e 's|@''REPLACE_GETUSERSHELL''@|$(REPLACE_GETUSERSHELL)|g' \ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_PIPE2''@|$(REPLACE_PIPE2)|g' \ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -e 's|@''REPLACE_SETHOSTNAME''@|$(REPLACE_SETHOSTNAME)|g' \ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \ -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t3 > $@-t4 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $(AM_V_at)mv $@-t4 $@ lib/unistr.h: lib/unistr.in.h $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/unistr.in.h $(AM_V_at)mv $@-t $@ lib/unitypes.h: lib/unitypes.in.h $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/unitypes.in.h $(AM_V_at)mv $@-t $@ lib/uniwidth.h: lib/uniwidth.in.h $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/uniwidth.in.h $(AM_V_at)mv $@-t $@ # We need the following in order to create when the system # version does not work standalone. lib/wchar.h: lib/wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \ -e 's/@''GNULIB_MBSZERO''@/$(GL_GNULIB_MBSZERO)/g' \ -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \ -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \ -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \ -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \ -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \ -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \ -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \ -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \ -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \ -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \ -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \ -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \ -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \ -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \ -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \ -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \ -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \ -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \ -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \ -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \ -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \ -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \ -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \ -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \ -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \ -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \ -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \ -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \ -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \ -e 's/@''GNULIB_WGETCWD''@/$(GL_GNULIB_WGETCWD)/g' \ -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ < $(top_srcdir)/lib/wchar.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \ -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \ -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \ -e 's|@''REPLACE_WCSCMP''@|$(REPLACE_WCSCMP)|g' \ -e 's|@''REPLACE_WCSNCAT''@|$(REPLACE_WCSNCAT)|g' \ -e 's|@''REPLACE_WCSNCMP''@|$(REPLACE_WCSNCMP)|g' \ -e 's|@''REPLACE_WCSSTR''@|$(REPLACE_WCSSTR)|g' \ -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \ -e 's|@''REPLACE_WMEMCMP''@|$(REPLACE_WMEMCMP)|g' \ -e 's|@''REPLACE_WMEMPCPY''@|$(REPLACE_WMEMPCPY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t2 > $@-t3 $(AM_V_at)rm -f $@-t1 $@-t2 $(AM_V_at)mv $@-t3 $@ # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/wctype.h: lib/wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) 'lib' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ -e 's/@''GNULIB_ISWBLANK''@/$(GL_GNULIB_ISWBLANK)/g' \ -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \ -e 's/@''GNULIB_ISWPUNCT''@/$(GL_GNULIB_ISWPUNCT)/g' \ -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \ -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWDIGIT''@/$(REPLACE_ISWDIGIT)/g' \ -e 's/@''REPLACE_ISWPUNCT''@/$(REPLACE_ISWPUNCT)/g' \ -e 's/@''REPLACE_ISWXDIGIT''@/$(REPLACE_ISWXDIGIT)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ -e 's/@''REPLACE_WCTRANS''@/$(REPLACE_WCTRANS)/g' \ -e 's/@''REPLACE_WCTYPE''@/$(REPLACE_WCTYPE)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/wctype.in.h > $@-t $(AM_V_at)mv $@-t $@ mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : distclean-local: distclean-gnulib-libobjs distclean-gnulib-libobjs: -rm -f @gl_libdatamash_LIBOBJDEPS@ maintainer-clean-local: distclean-gnulib-libobjs # Allow "make distdir" to succeed before "make all" has run. dist-hook: $(noinst_LIBRARIES) .PHONY: dist-hook # Changes to the CSS should trigger a new HTML regeneration $(top_builddir)/doc/datamash.html: $(top_srcdir)/doc/datamash-texinfo.css cyclo-$(PACKAGE).html: $(cyclo_sources) $(PMCCABE) $(cyclo_sources) \ | sort -nr \ | $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \ -v lang=html -v name="$(PACKAGE_NAME)" \ -v vcurl="$(svweburl)/$(PACKAGE).git/tree/%FILENAME%" \ -v url="https://www.gnu.org/software/$(PACKAGE)/" \ -v css=${top_srcdir}/build-aux/pmccabe.css \ -v cut_dir=${top_srcdir}/ \ > $@-tmp mv $@-tmp $@ dist-hook: gen-ChangeLog $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version .PHONY: gen-ChangeLog gen-ChangeLog: $(AM_V_GEN)if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ --amend=$(srcdir)/build-aux/git-log-fix \ --since=$(gen_start_date) > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi # Shortcut targets to make it easier to run (very) expensive tests. check-expensive: $(MAKE) check RUN_EXPENSIVE_TESTS=yes check-very-expensive: $(MAKE) check-expensive RUN_VERY_EXPENSIVE_TESTS=yes # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: # Tell GNU make to disable its built-in pattern rules. %:: %,v %:: RCS/%,v %:: RCS/% %:: s.% %:: SCCS/s.% datamash-1.9/NEWS0000644000000000000000000002326714774035437007323 * Noteworthy changes in release 1.9 (2025-04-05) [stable] ** Changes in Behavior datamash(1), decorate(1): Add short options -h and -V for --help and --version respectively. datamash(1): the rand operation now uses getrandom(2) for generating a random seed, instead of relying on date/time/pid mixing. ** New Features datamash(1): add operation dotprod for calculating the scalar product of two columns. datamash(1): Add option -S/--seed to set a specific seed for pseudo-random number generation. datamash(1): Add option --vnlog to enable experimental support for the vnlog format. More about vnlog is at https://github.com/dkogan/vnlog. datamash(1): -g/groupby takes ranges of columns (e.g. 1-4) ** Bug Fixes datamash(1) now correctly calculates the "antimode" for a sequence of numbers. Problem reported by Kingsley G. Morse Jr. in . When using the locale's decimal separator as field separator, numeric datamash(1) operations now work correctly. Problem reported by Jérémie Roquet in and by Jeroen Hoek in . datamash(1): The "getnum" operation now stays inside the specified field. * Noteworthy changes in release 1.8 (2022-07-23) [stable] ** Changes in Behavior Schedule -f/--full combined with non-linewise operations for deprecation. In a future release, -f/--full will only be usable with operations where it makes sense. For now, we print a warning to stderr when -f/--full is used with non-linewise operations, and such usage will no longer be supported. The bin operation now uses more intuitive bins. Previously, a command such as `datamash bin 1 <<< -0` would output -100; and -100 did not fall in its own bin. We now require all bins to take the form `[nx,(n+1)x)` with integer n and bin width x. We discard the sign on -0 and gate such inputs into the [0,x) bin. Operations taking more than one argument now provide more complete output with --header-out. Previously, an operation such as `pcov x:y` would produce an output header like `pcov(y)`, discarding the `x`. The new behavior will output header `pcov(x,y)`. datamash(1) no longer ignores --output-delimiter with the rmdup operation. ** New Features New datamash option --sort-cmd argument to specify the program used by the -s option to sort input, plus enhancements to the security and portability of building sort command lines. New datamash option -c/--collapse-delimiter=X argument uses character X instead of comma between values in collapse and unique lists. New datamash operations: mean square (ms) and root mean square (rms). Decorate now supports sorting IP addresses of both versions 4 and 6 together. IPv4 addresses are logically converted to IPv6 addresses, either as IPv4-Mapped (ipv6v4map) or IPv4-Compatible (ipv6v4comp) addresses. Add two command aliases: 'echo' may now be used instead of 'cut'. 'uniq' may now be used instead of 'unique'. ** Improvements Updated the bash completion script to reflect recent additions. ** Bug Fixes Datamash now passes the -z/--zero-terminated flag to the sort(1) child process when used with "--sort --zero-terminated". Additionally, if the system's sort(1) does not support -z, datamash reports the error and exits. Previously it would omit the "-z" when running sort(1), resulting in incorrect results. Documentation fixes and spelling corrections. Incorrect format in a decorate(1) error breaking compilation on some systems. datamash(1), decorate(1): Fix some minor memory leaks. datamash(1) no longer crashes when the unique or countunique operations are used with input data containing NUL bytes. The problem was reported in https://lists.gnu.org/archive/html/bug-datamash/2020-11/msg00001.html by Catalin Patulea. datamash(1) no longer crashes when crosstab with --header-in is called by field name instead of index. I.e. `datamash --header-in ct x,y` now works as expected. * Noteworthy changes in release 1.7 (2020-04-23) [testing] ** New Features decorate(1): new program - sorts input in non-standard ordering, e.g. IPv4, IPv6, roman numerals. New operations: sha224/sha384. New operations: geomean (Geometric mean) and harmmean (Harmonic mean). * Noteworthy changes in release 1.6 (2020-02-24) [stable] ** Bug Fixes The 'gutnum' operation (introduced in vresion 1.5) now correctly prints detected numbers without truncating them. * Noteworthy changes in release 1.5 (2019-09-17) [stable] ** New Features Datamash now accepts backslash-escaped characters in field names. This allows working with named fields containing dash/mins,colons,commas or field names starting with digits (Note the interplay between backslash and shell quoting). The following are equivalent, and sum an input field named 'FOO-BAR': datamash -H sum FOO\\-BAR < input.txt datamash -H sum 'FOO\-BAR' < input.txt datamash -H sum "FOO\\-BAR" < input.txt New operations: dirname, basename These behave just like dirname(1) and basename(1): $ echo /home/foo/bar.txt | datamash dirname 1 basename 1 /home/foo bar.txt New operations: extname, barename 'extname' extract the extension of the file name. 'barename' (not to be confused with 'basename') extract the basename without the extension. Example: $ echo /home/foo/bar.tar.gz | datamash barename 1 extame 1 bar tar.gz New operation: getnum This operation extracts a number from a string. 'getnum' accepts an optional single letter option: getnum:n - natural numbers (positive integers, including zero) getnum:i - integers getnum:d - decimal point numbers getnum:p - positive decimal point numbers (this is the default) getnum:h - hex numbers getnum:o - octal numbers Examples: $ echo foo-42.0-bar | datamash getnum 1 42.0 $ echo foo-42.0-bar | datamash getnum:n 1 42 $ echo foo-42.0-bar | datamash getnum:i 1 -42 $ echo foo-42.0-bar | datamash getnum:d 1 -42.0 New operation: cut Similar to cut(1), it copies the input field to the output as-is. The advantage over cut(1) is that combined with datamash's other features, input fields can be specified by name instead of column number, and output fields can be re-ordered and duplicated. Example: $ printf "a b c\n1 X 6\n" | datamash -W -H cut c,a,c cut(c) cut(a) cut(c) 6 1 6 ** Bug fixes Datamash now correctly calculates mode/antimode for negative values. In version 1.4 and earlier, the following produced incorrect results: $ echo -1 | datamash-1.4 mode 1 1.844674407371e+19 * Noteworthy changes in release 1.4 (2018-12-22) [stable] ** New Features New option: -C/--skip-comments to skip comment lines (lines starting with '#' or ';' and optional whitespace). * Noteworthy changes in release 1.3 (2018-03-16) [stable] ** New Features New option: --format=FMT sets printf style floating-point format. Example: $ echo '50.5' | datamash --format "%07.3f" sum 1 050.500 $ echo '50.5' | datamash --format "%07.3e" sum 1 5.050e+01 New option: -R/--round=N rounds numeric values to N decimal places. New option: --output-delimiter=X overrides -t/-W. New operation: trimmean (trimmed mean value). To calculate 20% trimmed mean: $ printf "%s\n" 13 3 7 33 3 9 | datamash trimmean:0.2 1 8 ** Bug fixes Datamash now builds correctly with external OpenSSL libraries (./configure --with-openssl=yes). The 'configure' script now reports whether internal or external libraries are used: $ ./configure [OPTIONS] [...] Configuration summary for datamash md5/sha*: internal (gnulib) OR md5/sha*: external (-lcrypto) * Noteworthy changes in release 1.2 (2017-08-22) [stable] ** New Features New operations: perc (percentile), range (max-min of values in group/column) Improved 'check' operation: Expected number of lines/fields can be specified as parameter. ** Improvements Improved bash-completion script installation path (see README for details). * Noteworthy changes in release 1.1.1 (2017-01-19) [stable] ** Bug fixes 'check' command correctly counts a trailing delimiter at end of lines. 'transpose' command correctly handles missing fields on the last line. * Noteworthy changes in release 1.1.0 (2016-01-16) [stable] ** New Features Bumped version to 1.1.0 to better comply to semver. New operations: crosstab (cross-tabulation / pivot-tables), check (verify tabular structure), bin (bin numeric values) strbin (bin strings values) pearson correlation, covariance, rounding functions: round,floor,ceil,trunc,frac ** Improvements Speed, Portability, Tests, Coverage improvements. * Noteworthy changes in release 1.0.7 (2015-06-29) [stable] ** New Features New operations: md5, sha1/256/512, base64, rmdup. New option --narm to ignore NaN/NA values. New feature: ability to specify field by names instead of numbers (require using --header-in or -H). New translations added. ** Improvements Speed, Portability, Coverage improvements. * Noteworthy changes in release 1.0.6 (2014-07-29) [stable] ** New Features New operations: transpose, reverse. ** Improvements Tests: improve portability, add I/O error tests, add few edge-case tests. Build: improve man-page generation, cross-compiling, auxiliary build scripts. Documentation: expand and fix man-page (and shorten --help screen). * Noteworthy changes in release 1.0.5 (2014-07-15) [stable] First release as GNU Datamash. datamash-1.9/README0000644000000000000000000001106714771602265007473 Copyright (C) 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Free Software Foundation, Inc. Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. GNU Datamash ============ GNU Datamash is a command-line program which performs basic numeric,textual and statistical operations on input textual data files. it is designed to be portable and reliable, and aid researchers to easily automate analysis pipelines, without writing code or even short scripts. Home page: https://www.gnu.org/software/datamash Usage ===== See `datamash --help` for basic usage information. See `man datamash` for examples and operation details. For the instrucions manual, see `info datamash` or visit https://www.gnu.org/software/datamash/manual/ Examples ======== What's the sum and mean of the values in field 1 ? $ seq 10 | datamash sum 1 mean 1 55 5.5 Given a file with three columns (Name, College Major, Score), what is the average, grouped by college major? $ cat scores.txt John Life-Sciences 91 Dilan Health-Medicine 84 Nathaniel Arts 88 Antonio Engineering 56 Kerris Business 82 ... # Sort input and group by column 2, calculate average on column 3: $ datamash --sort --group 2 mean 3 < scores.txt Arts 68.9474 Business 87.3636 Health-Medicine 90.6154 Social-Sciences 60.2667 Life-Sciences 55.3333 Engineering 66.5385 See more examples at https://www.gnu.org/software/datamash/examples/ Download and Installation ========================= Download the latest source code at https://www.gnu.org/software/datamash . General installation commands: $ tar -xzf datamash-[VERSION].tar.gz $ cd datamash-[VERSION] $ ./configure $ make $ make check $ sudo make install Also see INSTALL. See Platform/OS-specific download instructions at https://www.gnu.org/software/datamash/download/ To build from latest git sources, see the HACKING.md file. This file is available when cloning from git, but is not distributed in the tar archive. To clone the git repository run git clone git://git.savannah.gnu.org/datamash.git It is also available online at https://git.savannah.gnu.org/cgit/datamash.git/tree/HACKING.md BASH Auto-completion ==================== The datamash package inclueds a bash auto-completion script. The installation location can be controlled using ./configure --with-bash-completion-dir=[no|local|global|PATH] The options are: * local - install under the package's $PREFIX path. typically `/usr/local/share/datamash/bash-completion.d/` , but can be changed with `./configure --prefix`. This is the default. * no - do not install the bash completion script. * [PATH] - install into the PATH specified on the command line, e.g. `./configure --with-bash-completion-dir=/for/bar/bash-completion.d/` * global - install into the system's global bash-completion directory, as reported by `pkg-config`. This will be the result of: `pkg-config --variable=completionsdir bash-completion` Which is commonly `/usr/share/bash-completion/completions` or `/etc/bash.d`. If `pkg-config` is not found or if `pkg-config` does not have the config (.pc) file for the bash-completion package, defaults to 'local'. `local` is the default, and should be used particularly if installing under a non-default `--prefix` without root permissions. `global` should be used if you are installing to default location (/usr/local) and have root permissions (e.g. `sudo make install`). Using custom PATH or `global` should be used when packaging datamash for further distribution. Questions and Bug Reports ========================= - Please send questions and bug reports to bug-datamash@gnu.org . - Searchable archive at https://lists.gnu.org/archive/html/bug-datamash . - Subscribe at https://lists.gnu.org/mailman/listinfo/bug-datamash . Copyright and License ===================== Copyright (C) 2013-2021 Assaf Gordon License: GPL Version 3 (or later). See COPYING. For any copyright year range specified as YYYY-ZZZZ in this package note that the range specifies every single year in that closed interval. datamash-1.9/THANKS0000644000000000000000000000122514767371462007530 Thanks to: Aaron Quinlan ( http://quinlanlab.org/ ) whose 'groupBy' program (https://github.com/arq5x/bedtools) was the inspiration for GNU Datamash. The following people provided bug reports, feature requests and other suggestions which resulted in notable improvements to GNU Datamash: Alejandro Garrido Mota Benno Schulenberg Bruno Haible Dagobert Michelseni Dave Myron Dima Kogan Jérémie Roquet Jeroen Hoek Khavish Bhundoo Kingsley G. Morse Jr. Mark van Rossum Renan Valieris Renato Alves Sanjeev Kumar Sharma Steve Ward Torsten Seemann See also the AUTHORS and ChangeLog files. datamash-1.9/aclocal.m40000644000000000000000000020761214771573727010470 # generated automatically by aclocal 1.17 -*- Autoconf -*- # Copyright (C) 1996-2024 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],, [m4_warning([this file was generated for autoconf 2.72. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # pkg.m4 - Macros to locate and use pkg-config. -*- Autoconf -*- # serial 12 (pkg-config-0.29.2) dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.2]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION], [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. dnl dnl If pkg-config is not found or older than specified, it will result dnl in an empty PKG_CONFIG variable. To avoid widespread issues with dnl scripts not checking it, ACTION-IF-NOT-FOUND defaults to aborting. dnl You can specify [PKG_CONFIG=false] as an action instead, which would dnl result in pkg-config tests failing, but no bogus error messages. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi if test -z "$PKG_CONFIG"; then m4_default([$2], [AC_MSG_ERROR([pkg-config not found])]) fi[]dnl ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurrence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $2]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], dnl [DESCRIPTION], [DEFAULT]) dnl ------------------------------------------ dnl dnl Prepare a "--with-" configure option using the lowercase dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and dnl PKG_CHECK_MODULES in a single macro. AC_DEFUN([PKG_WITH_MODULES], [ m4_pushdef([with_arg], m4_tolower([$1])) m4_pushdef([description], [m4_default([$5], [build with ]with_arg[ support])]) m4_pushdef([def_arg], [m4_default([$6], [auto])]) m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes]) m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no]) m4_case(def_arg, [yes],[m4_pushdef([with_without], [--without-]with_arg)], [m4_pushdef([with_without],[--with-]with_arg)]) AC_ARG_WITH(with_arg, AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),, [AS_TR_SH([with_]with_arg)=def_arg]) AS_CASE([$AS_TR_SH([with_]with_arg)], [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)], [auto],[PKG_CHECK_MODULES([$1],[$2], [m4_n([def_action_if_found]) $3], [m4_n([def_action_if_not_found]) $4])]) m4_popdef([with_arg]) m4_popdef([description]) m4_popdef([def_arg]) ])dnl PKG_WITH_MODULES dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES, dnl [DESCRIPTION], [DEFAULT]) dnl ----------------------------------------------- dnl dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES dnl check._[VARIABLE-PREFIX] is exported as make variable. AC_DEFUN([PKG_HAVE_WITH_MODULES], [ PKG_WITH_MODULES([$1],[$2],,,[$3],[$4]) AM_CONDITIONAL([HAVE_][$1], [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"]) ])dnl PKG_HAVE_WITH_MODULES dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES, dnl [DESCRIPTION], [DEFAULT]) dnl ------------------------------------------------------ dnl dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make dnl and preprocessor variable. AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], [ PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4]) AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) ])dnl PKG_HAVE_DEFINE_WITH_MODULES # Copyright (C) 2002-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.17' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.17], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.17])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_COND_IF -*- Autoconf -*- # Copyright (C) 2008-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_COND_IF # _AM_COND_ELSE # _AM_COND_ENDIF # -------------- # These macros are only used for tracing. m4_define([_AM_COND_IF]) m4_define([_AM_COND_ELSE]) m4_define([_AM_COND_ENDIF]) # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE]) # --------------------------------------- # If the shell condition COND is true, execute IF-TRUE, otherwise execute # IF-FALSE. Allow automake to learn about conditional instantiating macros # (the AC_CONFIG_FOOS). AC_DEFUN([AM_COND_IF], [m4_ifndef([_AM_COND_VALUE_$1], [m4_fatal([$0: no such condition "$1"])])dnl _AM_COND_IF([$1])dnl if test -z "$$1_TRUE"; then : m4_n([$2])[]dnl m4_ifval([$3], [_AM_COND_ELSE([$1])dnl else $3 ])dnl _AM_COND_ENDIF([$1])dnl fi[]dnl ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thus: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking is enabled. # This creates each '.Po' and '.Plo' makefile fragment that we'll need in # order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl m4_ifdef([_$0_ALREADY_INIT], [m4_fatal([$0 expanded multiple times ]m4_defn([_$0_ALREADY_INIT]))], [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) # Variables for tags utilities; see am/tags.am if test -z "$CTAGS"; then CTAGS=ctags fi AC_SUBST([CTAGS]) if test -z "$ETAGS"; then ETAGS=etags fi AC_SUBST([ETAGS]) if test -z "$CSCOPE"; then CSCOPE=cscope fi AC_SUBST([CSCOPE]) AC_REQUIRE([_AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl AC_REQUIRE([_AM_PROG_RM_F]) AC_REQUIRE([_AM_PROG_XARGS_N]) dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check whether make has an 'include' directive that can support all # the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2022-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_RM_F # --------------- # Check whether 'rm -f' without any arguments works. # https://bugs.gnu.org/10828 AC_DEFUN([_AM_PROG_RM_F], [am__rm_f_notfound= AS_IF([(rm -f && rm -fr && rm -rf) 2>/dev/null], [], [am__rm_f_notfound='""']) AC_SUBST(am__rm_f_notfound) ]) # Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SLEEP_FRACTIONAL_SECONDS # ---------------------------- AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl AC_CACHE_CHECK([whether sleep supports fractional seconds], am_cv_sleep_fractional_seconds, [dnl AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes], [am_cv_sleep_fractional_seconds=no]) ])]) # _AM_FILESYSTEM_TIMESTAMP_RESOLUTION # ----------------------------------- # Determine the filesystem's resolution for file modification # timestamps. The coarsest we know of is FAT, with a resolution # of only two seconds, even with the most recent "exFAT" extensions. # The finest (e.g. ext4 with large inodes, XFS, ZFS) is one # nanosecond, matching clock_gettime. However, it is probably not # possible to delay execution of a shell script for less than one # millisecond, due to process creation overhead and scheduling # granularity, so we don't check for anything finer than that. (See below.) AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS]) AC_CACHE_CHECK([filesystem timestamp resolution], am_cv_filesystem_timestamp_resolution, [dnl # Default to the worst case. am_cv_filesystem_timestamp_resolution=2 # Only try to go finer than 1 sec if sleep can do it. # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, # - 1 sec is not much of a win compared to 2 sec, and # - it takes 2 seconds to perform the test whether 1 sec works. # # Instead, just use the default 2s on platforms that have 1s resolution, # accept the extra 1s delay when using $sleep in the Automake tests, in # exchange for not incurring the 2s delay for running the test for all # packages. # am_try_resolutions= if test "$am_cv_sleep_fractional_seconds" = yes; then # Even a millisecond often causes a bunch of false positives, # so just try a hundredth of a second. The time saved between .001 and # .01 is not terribly consequential. am_try_resolutions="0.01 0.1 $am_try_resolutions" fi # In order to catch current-generation FAT out, we must *modify* files # that already exist; the *creation* timestamp is finer. Use names # that make ls -t sort them differently when they have equal # timestamps than when they have distinct timestamps, keeping # in mind that ls -t prints the *newest* file first. rm -f conftest.ts? : > conftest.ts1 : > conftest.ts2 : > conftest.ts3 # Make sure ls -t actually works. Do 'set' in a subshell so we don't # clobber the current shell's arguments. (Outer-level square brackets # are removed by m4; they're present so that m4 does not expand # ; be careful, easy to get confused.) if ( set X `[ls -t conftest.ts[12]]` && { test "$[]*" != "X conftest.ts1 conftest.ts2" || test "$[]*" != "X conftest.ts2 conftest.ts1"; } ); then :; else # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". _AS_ECHO_UNQUOTED( ["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""], [AS_MESSAGE_LOG_FD]) AC_MSG_FAILURE([ls -t produces unexpected output. Make sure there is not a broken ls alias in your environment.]) fi for am_try_res in $am_try_resolutions; do # Any one fine-grained sleep might happen to cross the boundary # between two values of a coarser actual resolution, but if we do # two fine-grained sleeps in a row, at least one of them will fall # entirely within a coarse interval. echo alpha > conftest.ts1 sleep $am_try_res echo beta > conftest.ts2 sleep $am_try_res echo gamma > conftest.ts3 # We assume that 'ls -t' will make use of high-resolution # timestamps if the operating system supports them at all. if (set X `ls -t conftest.ts?` && test "$[]2" = conftest.ts3 && test "$[]3" = conftest.ts2 && test "$[]4" = conftest.ts1); then # # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, # because we don't need to test make. make_ok=true if test $am_try_res != 1; then # But if we've succeeded so far with a subsecond resolution, we # have one more thing to check: make. It can happen that # everything else supports the subsecond mtimes, but make doesn't; # notably on macOS, which ships make 3.81 from 2006 (the last one # released under GPLv2). https://bugs.gnu.org/68808 # # We test $MAKE if it is defined in the environment, else "make". # It might get overridden later, but our hope is that in practice # it does not matter: it is the system "make" which is (by far) # the most likely to be broken, whereas if the user overrides it, # probably they did so with a better, or at least not worse, make. # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html # # Create a Makefile (real tab character here): rm -f conftest.mk echo 'conftest.ts1: conftest.ts2' >conftest.mk echo ' touch conftest.ts2' >>conftest.mk # # Now, running # touch conftest.ts1; touch conftest.ts2; make # should touch ts1 because ts2 is newer. This could happen by luck, # but most often, it will fail if make's support is insufficient. So # test for several consecutive successes. # # (We reuse conftest.ts[12] because we still want to modify existing # files, not create new ones, per above.) n=0 make=${MAKE-make} until test $n -eq 3; do echo one > conftest.ts1 sleep $am_try_res echo two > conftest.ts2 # ts2 should now be newer than ts1 if $make -f conftest.mk | grep 'up to date' >/dev/null; then make_ok=false break # out of $n loop fi n=`expr $n + 1` done fi # if $make_ok; then # Everything we know to check worked out, so call this resolution good. am_cv_filesystem_timestamp_resolution=$am_try_res break # out of $am_try_res loop fi # Otherwise, we'll go on to check the next resolution. fi done rm -f conftest.ts? # (end _am_filesystem_timestamp_resolution) ])]) # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION]) # This check should not be cached, as it may vary across builds of # different projects. AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). am_build_env_is_sane=no am_has_slept=no rm -f conftest.file for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[]*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi test "$[]2" = conftest.file ); then am_build_env_is_sane=yes break fi # Just in case. sleep "$am_cv_filesystem_timestamp_resolution" am_has_slept=yes done AC_MSG_RESULT([$am_build_env_is_sane]) if test "$am_build_env_is_sane" = no; then AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl ( sleep "$am_cv_filesystem_timestamp_resolution" ) & am_sleep_pid=$! ]) AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SILENT_RULES # ---------------- # Enable less verbose build rules support. AC_DEFUN([_AM_SILENT_RULES], [AM_DEFAULT_VERBOSITY=1 AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl dnl Delay evaluation of AM_DEFAULT_VERBOSITY to the end to allow multiple calls dnl to AM_SILENT_RULES to change the default value. AC_CONFIG_COMMANDS_PRE([dnl case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; esac if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi ])dnl ]) # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Set the default verbosity level to DEFAULT ("yes" being less verbose, "no" or # empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_REQUIRE([_AM_SILENT_RULES]) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])]) # Copyright (C) 2001-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test x$am_uid = xunknown; then AC_MSG_WARN([ancient id detected; assuming current UID is ok, but dist-ustar might not work]) elif test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test x$gm_gid = xunknown; then AC_MSG_WARN([ancient id detected; assuming current GID is ok, but dist-ustar might not work]) elif test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR # Copyright (C) 2022-2024 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_XARGS_N # ---------------- # Check whether 'xargs -n' works. It should work everywhere, so the fallback # is not optimized at all as we never expect to use it. AC_DEFUN([_AM_PROG_XARGS_N], [AC_CACHE_CHECK([xargs -n works], am_cv_xargs_n_works, [dnl AS_IF([test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 3"], [am_cv_xargs_n_works=yes], [am_cv_xargs_n_works=no])]) AS_IF([test "$am_cv_xargs_n_works" = yes], [am__xargs_n='xargs -n'], [dnl am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "$@" "$am__xargs_n_arg"; done; }' ])dnl AC_SUBST(am__xargs_n) ]) m4_include([m4/00gnulib.m4]) m4_include([m4/__inline.m4]) m4_include([m4/absolute-header.m4]) m4_include([m4/af_alg.m4]) m4_include([m4/alloca.m4]) m4_include([m4/arpa_inet_h.m4]) m4_include([m4/assert.m4]) m4_include([m4/assert_h.m4]) m4_include([m4/base64.m4]) m4_include([m4/build-to-host.m4]) m4_include([m4/byteswap.m4]) m4_include([m4/c-bool.m4]) m4_include([m4/c32rtomb.m4]) m4_include([m4/calloc.m4]) m4_include([m4/ceil.m4]) m4_include([m4/ceill.m4]) m4_include([m4/check-math-lib.m4]) m4_include([m4/close.m4]) m4_include([m4/codeset.m4]) m4_include([m4/configmake.m4]) m4_include([m4/ctype_h.m4]) m4_include([m4/double-slash-root.m4]) m4_include([m4/dup2.m4]) m4_include([m4/errno_h.m4]) m4_include([m4/error.m4]) m4_include([m4/error_h.m4]) m4_include([m4/exp.m4]) m4_include([m4/expl.m4]) m4_include([m4/exponentd.m4]) m4_include([m4/exponentf.m4]) m4_include([m4/exponentl.m4]) m4_include([m4/extensions-aix.m4]) m4_include([m4/extensions.m4]) m4_include([m4/extern-inline.m4]) m4_include([m4/fabs.m4]) m4_include([m4/fabsl.m4]) m4_include([m4/fcntl-o.m4]) m4_include([m4/fcntl.m4]) m4_include([m4/fcntl_h.m4]) m4_include([m4/fflush.m4]) m4_include([m4/flexmember.m4]) m4_include([m4/float_h.m4]) m4_include([m4/floor.m4]) m4_include([m4/floorl.m4]) m4_include([m4/fpending.m4]) m4_include([m4/fpieee.m4]) m4_include([m4/fpurge.m4]) m4_include([m4/freading.m4]) m4_include([m4/free.m4]) m4_include([m4/frexp.m4]) m4_include([m4/frexpl.m4]) m4_include([m4/fseek.m4]) m4_include([m4/fseeko.m4]) m4_include([m4/fstat.m4]) m4_include([m4/ftell.m4]) m4_include([m4/ftello.m4]) m4_include([m4/getdtablesize.m4]) m4_include([m4/getlocalename_l.m4]) m4_include([m4/getopt.m4]) m4_include([m4/getprogname.m4]) m4_include([m4/getrandom.m4]) m4_include([m4/gettext.m4]) m4_include([m4/gl-openssl.m4]) m4_include([m4/gnulib-common.m4]) m4_include([m4/gnulib-comp.m4]) m4_include([m4/gnulib-i18n.m4]) m4_include([m4/host-cpu-c-abi.m4]) m4_include([m4/iconv.m4]) m4_include([m4/iconv_h.m4]) m4_include([m4/iconv_open.m4]) m4_include([m4/include_next.m4]) m4_include([m4/inet_pton.m4]) m4_include([m4/inline.m4]) m4_include([m4/intl-thread-locale.m4]) m4_include([m4/intlmacosx.m4]) m4_include([m4/intmax_t.m4]) m4_include([m4/inttostr.m4]) m4_include([m4/inttypes.m4]) m4_include([m4/inttypes_h.m4]) m4_include([m4/isblank.m4]) m4_include([m4/isfinite.m4]) m4_include([m4/isinf.m4]) m4_include([m4/isnand.m4]) m4_include([m4/isnanf.m4]) m4_include([m4/isnanl.m4]) m4_include([m4/iswblank.m4]) m4_include([m4/iswdigit.m4]) m4_include([m4/iswpunct.m4]) m4_include([m4/iswxdigit.m4]) m4_include([m4/largefile.m4]) m4_include([m4/lcmessage.m4]) m4_include([m4/ldexp.m4]) m4_include([m4/ldexpl.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/libunistring-base.m4]) m4_include([m4/limits-h.m4]) m4_include([m4/localcharset.m4]) m4_include([m4/locale-en.m4]) m4_include([m4/locale-fr.m4]) m4_include([m4/locale-ja.m4]) m4_include([m4/locale-zh.m4]) m4_include([m4/locale_h.m4]) m4_include([m4/localeconv.m4]) m4_include([m4/localename.m4]) m4_include([m4/lock.m4]) m4_include([m4/log.m4]) m4_include([m4/logl.m4]) m4_include([m4/lseek.m4]) m4_include([m4/malloc.m4]) m4_include([m4/malloca.m4]) m4_include([m4/math_h.m4]) m4_include([m4/mathfunc.m4]) m4_include([m4/mbchar.m4]) m4_include([m4/mbiter.m4]) m4_include([m4/mbrtoc32.m4]) m4_include([m4/mbrtowc.m4]) m4_include([m4/mbsinit.m4]) m4_include([m4/mbslen.m4]) m4_include([m4/mbstate_t.m4]) m4_include([m4/md5.m4]) m4_include([m4/memchr.m4]) m4_include([m4/mempcpy.m4]) m4_include([m4/minmax.m4]) m4_include([m4/mmap-anon.m4]) m4_include([m4/mode_t.m4]) m4_include([m4/modf.m4]) m4_include([m4/modfl.m4]) m4_include([m4/msvc-inval.m4]) m4_include([m4/msvc-nothrow.m4]) m4_include([m4/multiarch.m4]) m4_include([m4/musl.m4]) m4_include([m4/netinet_in_h.m4]) m4_include([m4/nls.m4]) m4_include([m4/nocrash.m4]) m4_include([m4/off64_t.m4]) m4_include([m4/off_t.m4]) m4_include([m4/once.m4]) m4_include([m4/open-cloexec.m4]) m4_include([m4/open-slash.m4]) m4_include([m4/open.m4]) m4_include([m4/pathmax.m4]) m4_include([m4/pclose.m4]) m4_include([m4/po.m4]) m4_include([m4/popen.m4]) m4_include([m4/printf.m4]) m4_include([m4/progtest.m4]) m4_include([m4/pthread-once.m4]) m4_include([m4/pthread-spin.m4]) m4_include([m4/pthread_h.m4]) m4_include([m4/pthread_rwlock_rdlock.m4]) m4_include([m4/quotearg.m4]) m4_include([m4/random.m4]) m4_include([m4/random_r.m4]) m4_include([m4/realloc.m4]) m4_include([m4/reallocarray.m4]) m4_include([m4/round.m4]) m4_include([m4/roundl.m4]) m4_include([m4/sched_h.m4]) m4_include([m4/setlocale.m4]) m4_include([m4/setlocale_null.m4]) m4_include([m4/sha1.m4]) m4_include([m4/sha256.m4]) m4_include([m4/sha512.m4]) m4_include([m4/signbit.m4]) m4_include([m4/size_max.m4]) m4_include([m4/snprintf.m4]) m4_include([m4/socklen.m4]) m4_include([m4/sockpfaf.m4]) m4_include([m4/sqrt.m4]) m4_include([m4/sqrtl.m4]) m4_include([m4/ssize_t.m4]) m4_include([m4/stat-time.m4]) m4_include([m4/stat.m4]) m4_include([m4/stdalign.m4]) m4_include([m4/stdarg.m4]) m4_include([m4/stddef_h.m4]) m4_include([m4/stdint.m4]) m4_include([m4/stdint_h.m4]) m4_include([m4/stdio_h.m4]) m4_include([m4/stdlib_h.m4]) m4_include([m4/stdnoreturn.m4]) m4_include([m4/stpcpy.m4]) m4_include([m4/strcasecmp.m4]) m4_include([m4/strdup.m4]) m4_include([m4/strerror.m4]) m4_include([m4/string_h.m4]) m4_include([m4/strings_h.m4]) m4_include([m4/strncasecmp.m4]) m4_include([m4/strnlen.m4]) m4_include([m4/strsep.m4]) m4_include([m4/strtod.m4]) m4_include([m4/strtold.m4]) m4_include([m4/strtoll.m4]) m4_include([m4/strtoull.m4]) m4_include([m4/strtoumax.m4]) m4_include([m4/sys_cdefs_h.m4]) m4_include([m4/sys_random_h.m4]) m4_include([m4/sys_socket_h.m4]) m4_include([m4/sys_stat_h.m4]) m4_include([m4/sys_types_h.m4]) m4_include([m4/sys_uio_h.m4]) m4_include([m4/sys_wait_h.m4]) m4_include([m4/threadlib.m4]) m4_include([m4/time_h.m4]) m4_include([m4/trunc.m4]) m4_include([m4/truncl.m4]) m4_include([m4/uchar_h.m4]) m4_include([m4/ungetc.m4]) m4_include([m4/unicase_h.m4]) m4_include([m4/unictype_h.m4]) m4_include([m4/uninorm_h.m4]) m4_include([m4/unistd_h.m4]) m4_include([m4/unlocked-io.m4]) m4_include([m4/vasnprintf.m4]) m4_include([m4/version-etc.m4]) m4_include([m4/visibility.m4]) m4_include([m4/waitpid.m4]) m4_include([m4/warn-on-use.m4]) m4_include([m4/warnings.m4]) m4_include([m4/wchar_h.m4]) m4_include([m4/wctype_h.m4]) m4_include([m4/wcwidth.m4]) m4_include([m4/wint_t.m4]) m4_include([m4/xalloc.m4]) m4_include([m4/xsize.m4]) m4_include([m4/xstrtol.m4]) m4_include([m4/zzgnulib.m4]) datamash-1.9/build-aux/0000755000000000000000000000000014774035553010563 5datamash-1.9/build-aux/announce-gen0000754000000000000000000005343114767402206013006 #!/bin/sh #! -*-perl-*- # Generate a release announcement message. # Copyright (C) 2002-2025 Free Software Foundation, Inc. # # 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 . # # Written by Jim Meyering # This is a prologue that allows to run a perl script as an executable # on systems that are compliant to a POSIX version before POSIX:2017. # On such systems, the usual invocation of an executable through execlp() # or execvp() fails with ENOEXEC if it is a script that does not start # with a #! line. The script interpreter mentioned in the #! line has # to be /bin/sh, because on GuixSD systems that is the only program that # has a fixed file name. The second line is essential for perl and is # also useful for editing this file in Emacs. The next two lines below # are valid code in both sh and perl. When executed by sh, they re-execute # the script through the perl program found in $PATH. The '-x' option # is essential as well; without it, perl would re-execute the script # through /bin/sh. When executed by perl, the next two lines are a no-op. eval 'exec perl -wSx "$0" "$@"' if 0; my $VERSION = '2025-01-31 23:21'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. (my $copyright_year = $VERSION) =~ s/^(\d*)-.*$/$1/; use strict; use Getopt::Long; use POSIX qw(strftime); (my $ME = $0) =~ s|.*/||; my %valid_release_types = map {$_ => 1} qw (alpha beta stable); my @archive_suffixes = qw (tar.gz tar.bz2 tar.lz tar.lzma tar.xz); my $srcdir = '.'; sub usage ($) { my ($exit_code) = @_; my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { print $STREAM "Try '$ME --help' for more information.\n"; } else { my @types = sort keys %valid_release_types; print $STREAM <. EOF } exit $exit_code; } =item C<%size> = C Compute the sizes of the C<@file> and return them as a hash. Return C if one of the computation failed. =cut sub sizes (@) { my (@file) = @_; my $fail = 0; my %res; foreach my $f (@file) { my $cmd = "du -h -L $f"; my $t = `$cmd`; # FIXME-someday: give a better diagnostic, a la $PROCESS_STATUS $@ and (warn "command failed: '$cmd'\n"), $fail = 1; chomp $t; $t =~ s/^\s*([\d.]+[MkK]).*/${1}B/; $res{$f} = $t; } return $fail ? undef : %res; } =item C dedicated to the list of <@file>, which sizes are stored in C<%size>, and which are available from the C<@url>. =cut sub print_locations ($\@\%@) { my ($title, $url, $size, @file) = @_; print "Here are the $title:\n"; foreach my $url (@{$url}) { for my $file (@file) { print " $url/$file"; print " (", $$size{$file}, ")" if exists $$size{$file}; print "\n"; } } print "\n"; } =item C. =cut # This digest function omits the "=" padding that is required by cksum, # so add the 0..2 bytes of padding required for each of Digest's algorithms. # To verify such a digest, users need # - a particular command ('cksum -a sha256 --check') # - and particular tools (coreutils >= 9.2 or OpenBSD's cksum since 2007). sub digest_file_base64_wrap ($$) { my ($file, $alg) = @_; my $h = digest_file_base64($file, $alg); $alg =~ tr{-}{}d; my %pad = (MD5 => 2, SHA1 => 1, SHA256 => 1, SHA384 => 0, SHA512 => 2); return $h . '=' x $pad{$alg}; } sub print_checksums ($@) { my ($prefer_cksum, @file) = @_; print "Here are the SHA1 and SHA256 checksums:\n"; print "\n"; use Digest::file qw(digest_file_hex digest_file_base64); if ($prefer_cksum) { foreach my $f (@file) { print ' ', digest_file_hex ($f, "SHA-1"), " $f\n"; print ' ', digest_file_base64_wrap ($f, "SHA-256"), " $f\n"; } print "\nVerify the base64 SHA256 checksum with cksum -a sha256 --check\n"; print "from coreutils-9.2 or OpenBSD's cksum since 2007.\n\n"; } else { foreach my $f (@file) { print " File: $f\n"; print ' SHA1 sum: ', digest_file_hex ($f, "SHA-1"), "\n"; print ' SHA256 sum: ', digest_file_hex ($f, "SHA-256"), "\n"; print "\n"; } } } =item C addressing changes between versions C<$prev_version> and C<$curr_version>. =cut sub print_news_deltas ($$$) { my ($news_file, $prev_version, $curr_version) = @_; my $news_name = $news_file; $news_name =~ s|^\Q$srcdir\E/||; print "\n$news_name\n\n"; # Print all lines from $news_file, starting with the first one # that mentions $curr_version up to but not including # the first occurrence of $prev_version. my $in_items; my $re_prefix = qr/(?:\* )?(?:Noteworthy c|Major c|C)(?i:hanges)/; my $found_news; open NEWS, '<', $news_file or die "$ME: $news_file: cannot open for reading: $!\n"; while (defined (my $line = )) { if ( ! $in_items) { # Match lines like these: # * Major changes in release 5.0.1: # * Noteworthy changes in release 6.6 (2006-11-22) [stable] $line =~ /^$re_prefix.*(?:[^\d.]|$)\Q$curr_version\E(?:[^\d.]|$)/o or next; $in_items = 1; print $line; } else { # This regexp must not match version numbers in NEWS items. # For example, they might well say "introduced in 4.5.5", # and we don't want that to match. $line =~ /^$re_prefix.*(?:[^\d.]|$)\Q$prev_version\E(?:[^\d.]|$)/o and last; print $line; $line =~ /\S/ and $found_news = 1; } } close NEWS; $in_items or die "$ME: $news_file: no matching lines for '$curr_version'\n"; $found_news or die "$ME: $news_file: no news item found for '$curr_version'\n"; } sub print_changelog_deltas ($$) { my ($package_name, $prev_version) = @_; # Print new ChangeLog entries. # First find all CVS-controlled ChangeLog files. use File::Find; my @changelog; find ({wanted => sub {$_ eq 'ChangeLog' && -d 'CVS' and push @changelog, $File::Find::name}}, '.'); # If there are no ChangeLog files, we're done. @changelog or return; my %changelog = map {$_ => 1} @changelog; # Reorder the list of files so that if there are ChangeLog # files in the specified directories, they're listed first, # in this order: my @dir = qw ( . src lib m4 config doc ); # A typical @changelog array might look like this: # ./ChangeLog # ./po/ChangeLog # ./m4/ChangeLog # ./lib/ChangeLog # ./doc/ChangeLog # ./config/ChangeLog my @reordered; foreach my $d (@dir) { my $dot_slash = $d eq '.' ? $d : "./$d"; my $target = "$dot_slash/ChangeLog"; delete $changelog{$target} and push @reordered, $target; } # Append any remaining ChangeLog files. push @reordered, sort keys %changelog; # Remove leading './'. @reordered = map { s!^\./!!; $_ } @reordered; print "\nChangeLog entries:\n\n"; # print join ("\n", @reordered), "\n"; $prev_version =~ s/\./_/g; my $prev_cvs_tag = "\U$package_name\E-$prev_version"; my $cmd = "cvs -n diff -u -r$prev_cvs_tag -rHEAD @reordered"; open DIFF, '-|', $cmd or die "$ME: cannot run '$cmd': $!\n"; # Print two types of lines, making minor changes: # Lines starting with '+++ ', e.g., # +++ ChangeLog 22 Feb 2003 16:52:51 -0000 1.247 # and those starting with '+'. # Don't print the others. my $prev_printed_line_empty = 1; while (defined (my $line = )) { if ($line =~ /^\+\+\+ /) { my $separator = "*"x70 ."\n"; $line =~ s///; $line =~ s/\s.*//; $prev_printed_line_empty or print "\n"; print $separator, $line, $separator; } elsif ($line =~ /^\+/) { $line =~ s///; print $line; $prev_printed_line_empty = ($line =~ /^$/); } } close DIFF; # The exit code should be 1. # Allow in case there are no modified ChangeLog entries. $? == 256 || $? == 128 or warn "warning: '$cmd' had unexpected exit code or signal ($?)\n"; } sub get_tool_versions ($$) { my ($tool_list, $gnulib_version) = @_; @$tool_list or return (); my $fail; my @tool_version_pair; foreach my $t (@$tool_list) { if ($t eq 'gnulib') { push @tool_version_pair, ucfirst $t . ' ' . $gnulib_version; next; } # Assume that the last "word" on the first line of # 'tool --version' output is the version string. my ($first_line, undef) = split ("\n", `$t --version`); if ($first_line =~ /.* ([a-f\d][\w.-]+)$/) { $t = ucfirst $t; push @tool_version_pair, "$t $1"; } else { warn "$t: unexpected --version output:\n$first_line"; defined $first_line and $first_line = ''; $fail = 1; } } $fail and exit 1; return @tool_version_pair; } # Print a more human-friendly representation of $SEC seconds. sub readable_interval0($) { my $sec = shift; $sec < 60 and return "$sec seconds"; my $min = int($sec / 60); $sec %= 60; 30 < $sec and $min++; $min < 60 and return "$min minutes"; my $hr = int($min / 60); $min %= 60; 30 < $min and $hr++; $hr < 24 and return "$hr hours"; my $day = int($hr / 24); $hr %= 24; 12 < $hr and $day++; $day < 50 and return "$day days"; my $wk = int($day / 7); $day %= 7; 4 < $day and $wk++; return "$wk weeks"; } # Convert e.g., "1 weeks", to "1 week". sub readable_interval($) { my $interval_str = shift; my $i = readable_interval0 $interval_str; $i =~ m{^1 \w+s$} and chop $i; return $i; } { # Use the C locale so that, for instance, "du" does not # print "1,2" instead of "1.2", which would confuse our regexps. $ENV{LC_ALL} = "C"; my $mail_headers; my $release_type; my $package_name; my $prev_version; my $curr_version; my $gpg_key_id; my @url_dir_list; my @news_file; my $bootstrap_tools; my $gnulib_version; my $print_checksums_p = 1; my $cksum_checksums_p; my $gpg_key_email; my $gpg_keyring_url; # Reformat the warnings before displaying them. local $SIG{__WARN__} = sub { my ($msg) = @_; # Warnings from GetOptions. $msg =~ s/Option (\w)/option --$1/; warn "$ME: $msg"; }; GetOptions ( 'mail-headers=s' => \$mail_headers, 'release-type=s' => \$release_type, 'package-name=s' => \$package_name, 'previous-version=s' => \$prev_version, 'current-version=s' => \$curr_version, 'gpg-key-id=s' => \$gpg_key_id, 'gpg-key-email=s' => \$gpg_key_email, 'gpg-keyring-url=s' => \$gpg_keyring_url, 'url-directory=s' => \@url_dir_list, 'news=s' => \@news_file, 'srcdir=s' => \$srcdir, 'bootstrap-tools=s' => \$bootstrap_tools, 'gnulib-version=s' => \$gnulib_version, 'print-checksums!' => \$print_checksums_p, 'cksum-checksums' => \$cksum_checksums_p, 'archive-suffix=s' => \@archive_suffixes, help => sub { usage 0 }, version => sub { print "$ME version $VERSION\n"; print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n"; print "License GPLv3+: GNU GPL version 3 or later .\n" . "This is free software: you are free to change and redistribute it.\n" . "There is NO WARRANTY, to the extent permitted by law.\n"; print "\n"; my $author = "Jim Meyering"; print "Written by $author.\n"; exit }, ) or usage 1; my $fail = 0; # Ensure that each required option is specified. $release_type or (warn "release type not specified\n"), $fail = 1; $package_name or (warn "package name not specified\n"), $fail = 1; $prev_version or (warn "previous version string not specified\n"), $fail = 1; $curr_version or (warn "current version string not specified\n"), $fail = 1; $gpg_key_id or (warn "GnuPG key ID not specified\n"), $fail = 1; @url_dir_list or (warn "URL directory name(s) not specified\n"), $fail = 1; my @tool_list = split ',', $bootstrap_tools if $bootstrap_tools; grep (/^gnulib$/, @tool_list) && ! defined $gnulib_version and (warn "when specifying gnulib as a tool, you must also specify\n" . "--gnulib-version=V, where V is the result of running git describe\n" . "in the gnulib source directory.\n"), $fail = 1; ! grep (/^gnulib$/, @tool_list) && defined $gnulib_version and (warn "with --gnulib-version=V you must use --bootstrap-tools=...\n" . "including gnulib in that list"), $fail = 1; !$release_type || exists $valid_release_types{$release_type} or (warn "'$release_type': invalid release type\n"), $fail = 1; @ARGV and (warn "too many arguments:\n", join ("\n", @ARGV), "\n"), $fail = 1; $fail and usage 1; my $my_distdir = "$package_name-$curr_version"; my $xd = "$package_name-$prev_version-$curr_version.xdelta"; my @candidates = map { "$my_distdir.$_" } @archive_suffixes; my @tarballs = grep {-f $_} @candidates; @tarballs or die "$ME: none of " . join(', ', @candidates) . " were found\n"; my @sizable = @tarballs; -f $xd and push @sizable, $xd; my %size = sizes (@sizable); %size or exit 1; my $headers = ''; if (defined $mail_headers) { ($headers = $mail_headers) =~ s/\s+(\S+:)/\n$1/g; $headers .= "\n"; } # The markup is escaped as <\# so that when this script is sent by # mail (or part of a diff), Gnus is not triggered. print < This is to announce $package_name-$curr_version, a $release_type release. FIXME: put comments here EOF my $v0 = $prev_version; my $v1 = $curr_version; (my $first_name = `git -C "$srcdir" config user.name|cut -d' ' -f1`) =~ m{\S} or die "no name? set user.name in ~/.gitconfig\n"; chomp (my $n_ci = `git -C "$srcdir" rev-list "v$v0..v$v1" | wc -l`); chomp (my $n_p = `git -C "$srcdir" shortlog "v$v0..v$v1" | grep -c '^[^ ]'`); my $this_commit_hash = `git -C "$srcdir" log --pretty=%H -1 "v$v1"`; chop $this_commit_hash; my $prev_release_date = `git -C "$srcdir" log --pretty=%ct -1 "v$v0"`; my $this_release_date = `git -C "$srcdir" log --pretty=%ct -1 "v$v1"`; my $n_seconds = $this_release_date - $prev_release_date; my $time_since_prev = readable_interval $n_seconds; my $names = `git -C "$srcdir" shortlog "v$v0..v$v1"|perl -lne '/^(\\w.*):/ and print " ".\$1'`; print <. # # 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 2, 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 . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN* | MSYS*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.lo | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . GNU Automake home page: . General help using GNU software: . EOF exit $? ;; -v | --v*) echo "compile (GNU Automake) $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: datamash-1.9/build-aux/config.guess0000754000000000000000000014306714767400545013034 #! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2024 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale timestamp='2024-07-27' # This file 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 . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess # # Please send patches to . # The "shellcheck disable" line above the timestamp inhibits complaints # about features and limitations of the classic Bourne shell that were # superseded or lifted in POSIX. However, this script identifies a wide # variety of pre-POSIX systems that do not have POSIX shells at all, and # even some reasonably current systems (Solaris 10 as case-in-point) still # have a pre-POSIX /bin/sh. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system '$me' is run on. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try '$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi # Just in case it came from the environment. GUESS= # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still # use 'HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. tmp= # shellcheck disable=SC2172 trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15 set_cc_for_build() { # prevent multiple calls if $tmp is already set test "$tmp" && return 0 : "${TMPDIR=/tmp}" # shellcheck disable=SC2039,SC3028 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } dummy=$tmp/dummy case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in ,,) echo "int x;" > "$dummy.c" for driver in cc gcc c17 c99 c89 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD=$driver break fi done if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac } # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if test -f /.attbin/uname ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case $UNAME_SYSTEM in Linux|GNU|GNU/*) LIBC=unknown set_cc_for_build cat <<-EOF > "$dummy.c" #if defined(__ANDROID__) LIBC=android #else #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #elif defined(__GLIBC__) LIBC=gnu #elif defined(__LLVM_LIBC__) LIBC=llvm #else #include /* First heuristic to detect musl libc. */ #ifdef __DEFINED_va_list LIBC=musl #endif #endif #endif EOF cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` eval "$cc_set_libc" # Second heuristic to detect musl libc. if [ "$LIBC" = unknown ] && command -v ldd >/dev/null && ldd --version 2>&1 | grep -q ^musl; then LIBC=musl fi # If the system lacks a compiler, then just pick glibc. # We could probably try harder. if [ "$LIBC" = unknown ]; then LIBC=gnu fi ;; esac # Note: order is significant - the case branches are not exclusive. case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ echo unknown)` case $UNAME_MACHINE_ARCH in aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` machine=${arch}${endian}-unknown ;; *) machine=$UNAME_MACHINE_ARCH-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case $UNAME_VERSION in Debian*) release='-gnu' ;; *) release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. GUESS=$machine-${os}${release}${abi-} ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE ;; *:SecBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE ;; *:MidnightBSD:*:*) GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE ;; *:ekkoBSD:*:*) GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE ;; *:SolidBSD:*:*) GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE ;; *:OS108:*:*) GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE ;; macppc:MirBSD:*:*) GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE ;; *:MirBSD:*:*) GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE ;; *:Sortix:*:*) GUESS=$UNAME_MACHINE-unknown-sortix ;; *:Twizzler:*:*) GUESS=$UNAME_MACHINE-unknown-twizzler ;; *:Redox:*:*) GUESS=$UNAME_MACHINE-unknown-redox ;; mips:OSF1:*.*) GUESS=mips-dec-osf1 ;; alpha:OSF1:*:*) # Reset EXIT trap before exiting to avoid spurious non-zero exit code. trap '' 0 case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case $ALPHA_CPU_TYPE in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") UNAME_MACHINE=alpha ;; "EV5 (21164)") UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` GUESS=$UNAME_MACHINE-dec-osf$OSF_REL ;; Amiga*:UNIX_System_V:4.0:*) GUESS=m68k-unknown-sysv4 ;; *:[Aa]miga[Oo][Ss]:*:*) GUESS=$UNAME_MACHINE-unknown-amigaos ;; *:[Mm]orph[Oo][Ss]:*:*) GUESS=$UNAME_MACHINE-unknown-morphos ;; *:OS/390:*:*) GUESS=i370-ibm-openedition ;; *:z/VM:*:*) GUESS=s390-ibm-zvmoe ;; *:OS400:*:*) GUESS=powerpc-ibm-os400 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) GUESS=arm-acorn-riscix$UNAME_RELEASE ;; arm*:riscos:*:*|arm*:RISCOS:*:*) GUESS=arm-unknown-riscos ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) GUESS=hppa1.1-hitachi-hiuxmpp ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. case `(/bin/universe) 2>/dev/null` in att) GUESS=pyramid-pyramid-sysv3 ;; *) GUESS=pyramid-pyramid-bsd ;; esac ;; NILE*:*:*:dcosx) GUESS=pyramid-pyramid-svr4 ;; DRS?6000:unix:4.0:6*) GUESS=sparc-icl-nx6 ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) GUESS=sparc-icl-nx7 ;; esac ;; s390x:SunOS:*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL ;; sun4H:SunOS:5.*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=sparc-hal-solaris2$SUN_REL ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=sparc-sun-solaris2$SUN_REL ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) GUESS=i386-pc-auroraux$UNAME_RELEASE ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) set_cc_for_build SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=$SUN_ARCH-pc-solaris2$SUN_REL ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=sparc-sun-solaris3$SUN_REL ;; sun4*:SunOS:*:*) case `/usr/bin/arch -k` in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like '4.1.3-JL'. SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'` GUESS=sparc-sun-sunos$SUN_REL ;; sun3*:SunOS:*:*) GUESS=m68k-sun-sunos$UNAME_RELEASE ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 case `/bin/arch` in sun3) GUESS=m68k-sun-sunos$UNAME_RELEASE ;; sun4) GUESS=sparc-sun-sunos$UNAME_RELEASE ;; esac ;; aushp:SunOS:*:*) GUESS=sparc-auspex-sunos$UNAME_RELEASE ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) GUESS=m68k-atari-mint$UNAME_RELEASE ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) GUESS=m68k-atari-mint$UNAME_RELEASE ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) GUESS=m68k-atari-mint$UNAME_RELEASE ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) GUESS=m68k-milan-mint$UNAME_RELEASE ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) GUESS=m68k-hades-mint$UNAME_RELEASE ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) GUESS=m68k-unknown-mint$UNAME_RELEASE ;; m68k:machten:*:*) GUESS=m68k-apple-machten$UNAME_RELEASE ;; powerpc:machten:*:*) GUESS=powerpc-apple-machten$UNAME_RELEASE ;; RISC*:Mach:*:*) GUESS=mips-dec-mach_bsd4.3 ;; RISC*:ULTRIX:*:*) GUESS=mips-dec-ultrix$UNAME_RELEASE ;; VAX*:ULTRIX*:*:*) GUESS=vax-dec-ultrix$UNAME_RELEASE ;; 2020:CLIX:*:* | 2430:CLIX:*:*) GUESS=clipper-intergraph-clix$UNAME_RELEASE ;; mips:*:*:UMIPS | mips:*:*:RISCos) set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } GUESS=mips-mips-riscos$UNAME_RELEASE ;; Motorola:PowerMAX_OS:*:*) GUESS=powerpc-motorola-powermax ;; Motorola:*:4.3:PL8-*) GUESS=powerpc-harris-powermax ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) GUESS=powerpc-harris-powermax ;; Night_Hawk:Power_UNIX:*:*) GUESS=powerpc-harris-powerunix ;; m88k:CX/UX:7*:*) GUESS=m88k-harris-cxux7 ;; m88k:*:4*:R4*) GUESS=m88k-motorola-sysv4 ;; m88k:*:3*:R3*) GUESS=m88k-motorola-sysv3 ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110 then if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \ test "$TARGET_BINARY_INTERFACE"x = x then GUESS=m88k-dg-dgux$UNAME_RELEASE else GUESS=m88k-dg-dguxbcs$UNAME_RELEASE fi else GUESS=i586-dg-dgux$UNAME_RELEASE fi ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) GUESS=m88k-dolphin-sysv3 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 GUESS=m88k-motorola-sysv3 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) GUESS=m88k-tektronix-sysv3 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) GUESS=m68k-tektronix-bsd ;; *:IRIX*:*:*) IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'` GUESS=mips-sgi-irix$IRIX_REL ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) GUESS=i386-ibm-aix ;; ia64:AIX:*:*) if test -x /usr/bin/oslevel ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include int main () { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then GUESS=$SYSTEM_NAME else GUESS=rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then GUESS=rs6000-ibm-aix3.2.4 else GUESS=rs6000-ibm-aix3.2 fi ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if test -x /usr/bin/lslpp ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi GUESS=$IBM_ARCH-ibm-aix$IBM_REV ;; *:AIX:*:*) GUESS=rs6000-ibm-aix ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) GUESS=romp-ibm-bsd4.4 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) GUESS=rs6000-bull-bosx ;; DPX/2?00:B.O.S.:*:*) GUESS=m68k-bull-sysv3 ;; 9000/[34]??:4.3bsd:1.*:*) GUESS=m68k-hp-bsd ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) GUESS=m68k-hp-bsd4.4 ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` case $UNAME_MACHINE in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if test -x /usr/bin/getconf; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case $sc_cpu_version in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case $sc_kernel_bits in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if test "$HP_ARCH" = ""; then set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if test "$HP_ARCH" = hppa2.0w then set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi GUESS=$HP_ARCH-hp-hpux$HPUX_REV ;; ia64:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` GUESS=ia64-hp-hpux$HPUX_REV ;; 3050*:HI-UX:*:*) set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } GUESS=unknown-hitachi-hiuxwe2 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) GUESS=hppa1.1-hp-bsd ;; 9000/8??:4.3bsd:*:*) GUESS=hppa1.0-hp-bsd ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) GUESS=hppa1.0-hp-mpeix ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) GUESS=hppa1.1-hp-osf ;; hp8??:OSF1:*:*) GUESS=hppa1.0-hp-osf ;; i*86:OSF1:*:*) if test -x /usr/sbin/sysversion ; then GUESS=$UNAME_MACHINE-unknown-osf1mk else GUESS=$UNAME_MACHINE-unknown-osf1 fi ;; parisc*:Lites*:*:*) GUESS=hppa1.1-hp-lites ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) GUESS=c1-convex-bsd ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) GUESS=c34-convex-bsd ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) GUESS=c38-convex-bsd ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) GUESS=c4-convex-bsd ;; CRAY*Y-MP:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=ymp-cray-unicos$CRAY_REL ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=t90-cray-unicos$CRAY_REL ;; CRAY*T3E:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=alphaev5-cray-unicosmk$CRAY_REL ;; CRAY*SV1:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=sv1-cray-unicos$CRAY_REL ;; *:UNICOS/mp:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=craynv-cray-unicosmp$CRAY_REL ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE ;; sparc*:BSD/OS:*:*) GUESS=sparc-unknown-bsdi$UNAME_RELEASE ;; *:BSD/OS:*:*) GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE ;; arm:FreeBSD:*:*) UNAME_PROCESSOR=`uname -p` set_cc_for_build if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi else FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf fi ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL ;; i*:CYGWIN*:*) GUESS=$UNAME_MACHINE-pc-cygwin ;; *:MINGW64*:*) GUESS=$UNAME_MACHINE-pc-mingw64 ;; *:MINGW*:*) GUESS=$UNAME_MACHINE-pc-mingw32 ;; *:MSYS*:*) GUESS=$UNAME_MACHINE-pc-msys ;; i*:PW*:*) GUESS=$UNAME_MACHINE-pc-pw32 ;; *:SerenityOS:*:*) GUESS=$UNAME_MACHINE-pc-serenity ;; *:Interix*:*) case $UNAME_MACHINE in x86) GUESS=i586-pc-interix$UNAME_RELEASE ;; authenticamd | genuineintel | EM64T) GUESS=x86_64-unknown-interix$UNAME_RELEASE ;; IA64) GUESS=ia64-unknown-interix$UNAME_RELEASE ;; esac ;; i*:UWIN*:*) GUESS=$UNAME_MACHINE-pc-uwin ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) GUESS=x86_64-pc-cygwin ;; prep*:SunOS:5.*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=powerpcle-unknown-solaris2$SUN_REL ;; *:GNU:*:*) # the GNU system GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'` GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'` GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL ;; *:GNU/*:*:*) # other systems with GNU libc and userland GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"` GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC ;; x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*) GUESS="$UNAME_MACHINE-pc-managarm-mlibc" ;; *:[Mm]anagarm:*:*) GUESS="$UNAME_MACHINE-unknown-managarm-mlibc" ;; *:Minix:*:*) GUESS=$UNAME_MACHINE-unknown-minix ;; aarch64:Linux:*:*) set_cc_for_build CPU=$UNAME_MACHINE LIBCABI=$LIBC if test "$CC_FOR_BUILD" != no_compiler_found; then ABI=64 sed 's/^ //' << EOF > "$dummy.c" #ifdef __ARM_EABI__ #ifdef __ARM_PCS_VFP ABI=eabihf #else ABI=eabi #endif #endif EOF cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` eval "$cc_set_abi" case $ABI in eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;; esac fi GUESS=$CPU-unknown-linux-$LIBCABI ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; arm*:Linux:*:*) set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then GUESS=$UNAME_MACHINE-unknown-linux-$LIBC else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi else GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf fi fi ;; avr32*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; cris:Linux:*:*) GUESS=$UNAME_MACHINE-axis-linux-$LIBC ;; crisv32:Linux:*:*) GUESS=$UNAME_MACHINE-axis-linux-$LIBC ;; e2k:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; frv:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; hexagon:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; i*86:Linux:*:*) GUESS=$UNAME_MACHINE-pc-linux-$LIBC ;; ia64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; k1om:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; kvx:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; kvx:cos:*:*) GUESS=$UNAME_MACHINE-unknown-cos ;; kvx:mbr:*:*) GUESS=$UNAME_MACHINE-unknown-mbr ;; loongarch32:Linux:*:* | loongarch64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; m32r*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; m68*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; mips:Linux:*:* | mips64:Linux:*:*) set_cc_for_build IS_GLIBC=0 test x"${LIBC}" = xgnu && IS_GLIBC=1 sed 's/^ //' << EOF > "$dummy.c" #undef CPU #undef mips #undef mipsel #undef mips64 #undef mips64el #if ${IS_GLIBC} && defined(_ABI64) LIBCABI=gnuabi64 #else #if ${IS_GLIBC} && defined(_ABIN32) LIBCABI=gnuabin32 #else LIBCABI=${LIBC} #endif #endif #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 CPU=mipsisa64r6 #else #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 CPU=mipsisa32r6 #else #if defined(__mips64) CPU=mips64 #else CPU=mips #endif #endif #endif #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) MIPS_ENDIAN=el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) MIPS_ENDIAN= #else MIPS_ENDIAN= #endif #endif EOF cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'` eval "$cc_set_vars" test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; } ;; mips64el:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; openrisc*:Linux:*:*) GUESS=or1k-unknown-linux-$LIBC ;; or32:Linux:*:* | or1k*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; padre:Linux:*:*) GUESS=sparc-unknown-linux-$LIBC ;; parisc64:Linux:*:* | hppa64:Linux:*:*) GUESS=hppa64-unknown-linux-$LIBC ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;; PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;; *) GUESS=hppa-unknown-linux-$LIBC ;; esac ;; ppc64:Linux:*:*) GUESS=powerpc64-unknown-linux-$LIBC ;; ppc:Linux:*:*) GUESS=powerpc-unknown-linux-$LIBC ;; ppc64le:Linux:*:*) GUESS=powerpc64le-unknown-linux-$LIBC ;; ppcle:Linux:*:*) GUESS=powerpcle-unknown-linux-$LIBC ;; riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; s390:Linux:*:* | s390x:Linux:*:*) GUESS=$UNAME_MACHINE-ibm-linux-$LIBC ;; sh64*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; sh*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; sparc:Linux:*:* | sparc64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; tile*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; vax:Linux:*:*) GUESS=$UNAME_MACHINE-dec-linux-$LIBC ;; x86_64:Linux:*:*) set_cc_for_build CPU=$UNAME_MACHINE LIBCABI=$LIBC if test "$CC_FOR_BUILD" != no_compiler_found; then ABI=64 sed 's/^ //' << EOF > "$dummy.c" #ifdef __i386__ ABI=x86 #else #ifdef __ILP32__ ABI=x32 #endif #endif EOF cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` eval "$cc_set_abi" case $ABI in x86) CPU=i686 ;; x32) LIBCABI=${LIBC}x32 ;; esac fi GUESS=$CPU-pc-linux-$LIBCABI ;; xtensa*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. GUESS=i386-sequent-sysv4 ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION ;; i*86:OS/2:*:*) # If we were able to find 'uname', then EMX Unix compatibility # is probably installed. GUESS=$UNAME_MACHINE-pc-os2-emx ;; i*86:XTS-300:*:STOP) GUESS=$UNAME_MACHINE-unknown-stop ;; i*86:atheos:*:*) GUESS=$UNAME_MACHINE-unknown-atheos ;; i*86:syllable:*:*) GUESS=$UNAME_MACHINE-pc-syllable ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) GUESS=i386-unknown-lynxos$UNAME_RELEASE ;; i*86:*DOS:*:*) GUESS=$UNAME_MACHINE-pc-msdosdjgpp ;; i*86:*:4.*:*) UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL else GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL fi ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL else GUESS=$UNAME_MACHINE-pc-sysv32 fi ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. GUESS=i586-pc-msdosdjgpp ;; Intel:Mach:3*:*) GUESS=i386-pc-mach3 ;; paragon:*:*:*) GUESS=i860-intel-osf1 ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4 fi ;; mini*:CTIX:SYS*5:*) # "miniframe" GUESS=m68010-convergent-sysv ;; mc68k:UNIX:SYSTEM5:3.51m) GUESS=m68k-convergent-sysv ;; M680?0:D-NIX:5.3:*) GUESS=m68k-diab-dnix ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) GUESS=m68k-unknown-lynxos$UNAME_RELEASE ;; mc68030:UNIX_System_V:4.*:*) GUESS=m68k-atari-sysv4 ;; TSUNAMI:LynxOS:2.*:*) GUESS=sparc-unknown-lynxos$UNAME_RELEASE ;; rs6000:LynxOS:2.*:*) GUESS=rs6000-unknown-lynxos$UNAME_RELEASE ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) GUESS=powerpc-unknown-lynxos$UNAME_RELEASE ;; SM[BE]S:UNIX_SV:*:*) GUESS=mips-dde-sysv$UNAME_RELEASE ;; RM*:ReliantUNIX-*:*:*) GUESS=mips-sni-sysv4 ;; RM*:SINIX-*:*:*) GUESS=mips-sni-sysv4 ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` GUESS=$UNAME_MACHINE-sni-sysv4 else GUESS=ns32k-sni-sysv fi ;; PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort # says GUESS=i586-unisys-sysv4 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm GUESS=hppa1.1-stratus-sysv4 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. GUESS=i860-stratus-sysv4 ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. GUESS=$UNAME_MACHINE-stratus-vos ;; *:VOS:*:*) # From Paul.Green@stratus.com. GUESS=hppa1.1-stratus-vos ;; mc68*:A/UX:*:*) GUESS=m68k-apple-aux$UNAME_RELEASE ;; news*:NEWS-OS:6*:*) GUESS=mips-sony-newsos6 ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if test -d /usr/nec; then GUESS=mips-nec-sysv$UNAME_RELEASE else GUESS=mips-unknown-sysv$UNAME_RELEASE fi ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. GUESS=powerpc-be-beos ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. GUESS=powerpc-apple-beos ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. GUESS=i586-pc-beos ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. GUESS=i586-pc-haiku ;; ppc:Haiku:*:*) # Haiku running on Apple PowerPC GUESS=powerpc-apple-haiku ;; *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat) GUESS=$UNAME_MACHINE-unknown-haiku ;; SX-4:SUPER-UX:*:*) GUESS=sx4-nec-superux$UNAME_RELEASE ;; SX-5:SUPER-UX:*:*) GUESS=sx5-nec-superux$UNAME_RELEASE ;; SX-6:SUPER-UX:*:*) GUESS=sx6-nec-superux$UNAME_RELEASE ;; SX-7:SUPER-UX:*:*) GUESS=sx7-nec-superux$UNAME_RELEASE ;; SX-8:SUPER-UX:*:*) GUESS=sx8-nec-superux$UNAME_RELEASE ;; SX-8R:SUPER-UX:*:*) GUESS=sx8r-nec-superux$UNAME_RELEASE ;; SX-ACE:SUPER-UX:*:*) GUESS=sxace-nec-superux$UNAME_RELEASE ;; Power*:Rhapsody:*:*) GUESS=powerpc-apple-rhapsody$UNAME_RELEASE ;; *:Rhapsody:*:*) GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE ;; arm64:Darwin:*:*) GUESS=aarch64-apple-darwin$UNAME_RELEASE ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac if command -v xcode-select > /dev/null 2> /dev/null && \ ! xcode-select --print-path > /dev/null 2> /dev/null ; then # Avoid executing cc if there is no toolchain installed as # cc will be a stub that puts up a graphical alert # prompting the user to install developer tools. CC_FOR_BUILD=no_compiler_found else set_cc_for_build fi if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_PPC >/dev/null then UNAME_PROCESSOR=powerpc fi elif test "$UNAME_PROCESSOR" = i386 ; then # uname -m returns i386 or x86_64 UNAME_PROCESSOR=$UNAME_MACHINE fi GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE ;; *:QNX:*:4*) GUESS=i386-pc-qnx ;; NEO-*:NONSTOP_KERNEL:*:*) GUESS=neo-tandem-nsk$UNAME_RELEASE ;; NSE-*:NONSTOP_KERNEL:*:*) GUESS=nse-tandem-nsk$UNAME_RELEASE ;; NSR-*:NONSTOP_KERNEL:*:*) GUESS=nsr-tandem-nsk$UNAME_RELEASE ;; NSV-*:NONSTOP_KERNEL:*:*) GUESS=nsv-tandem-nsk$UNAME_RELEASE ;; NSX-*:NONSTOP_KERNEL:*:*) GUESS=nsx-tandem-nsk$UNAME_RELEASE ;; *:NonStop-UX:*:*) GUESS=mips-compaq-nonstopux ;; BS2000:POSIX*:*:*) GUESS=bs2000-siemens-sysv ;; DS/*:UNIX_System_V:*:*) GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "${cputype-}" = 386; then UNAME_MACHINE=i386 elif test "x${cputype-}" != x; then UNAME_MACHINE=$cputype fi GUESS=$UNAME_MACHINE-unknown-plan9 ;; *:TOPS-10:*:*) GUESS=pdp10-unknown-tops10 ;; *:TENEX:*:*) GUESS=pdp10-unknown-tenex ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) GUESS=pdp10-dec-tops20 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) GUESS=pdp10-xkl-tops20 ;; *:TOPS-20:*:*) GUESS=pdp10-unknown-tops20 ;; *:ITS:*:*) GUESS=pdp10-unknown-its ;; SEI:*:*:SEIUX) GUESS=mips-sei-seiux$UNAME_RELEASE ;; *:DragonFly:*:*) DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case $UNAME_MACHINE in A*) GUESS=alpha-dec-vms ;; I*) GUESS=ia64-dec-vms ;; V*) GUESS=vax-dec-vms ;; esac ;; *:XENIX:*:SysV) GUESS=i386-pc-xenix ;; i*86:skyos:*:*) SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'` GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL ;; i*86:rdos:*:*) GUESS=$UNAME_MACHINE-pc-rdos ;; i*86:Fiwix:*:*) GUESS=$UNAME_MACHINE-pc-fiwix ;; *:AROS:*:*) GUESS=$UNAME_MACHINE-unknown-aros ;; x86_64:VMkernel:*:*) GUESS=$UNAME_MACHINE-unknown-esx ;; amd64:Isilon\ OneFS:*:*) GUESS=x86_64-unknown-onefs ;; *:Unleashed:*:*) GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE ;; *:Ironclad:*:*) GUESS=$UNAME_MACHINE-unknown-ironclad ;; esac # Do we have a guess based on uname results? if test "x$GUESS" != x; then echo "$GUESS" exit fi # No uname command or uname output not recognized. set_cc_for_build cat > "$dummy.c" < #include #endif #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) #if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) #include #if defined(_SIZE_T_) || defined(SIGLOST) #include #endif #endif #endif int main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) #if !defined (ultrix) #include #if defined (BSD) #if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); #else #if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); #else printf ("vax-dec-bsd\n"); exit (0); #endif #endif #else printf ("vax-dec-bsd\n"); exit (0); #endif #else #if defined(_SIZE_T_) || defined(SIGLOST) struct utsname un; uname (&un); printf ("vax-dec-ultrix%s\n", un.release); exit (0); #else printf ("vax-dec-ultrix\n"); exit (0); #endif #endif #endif #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) #if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) #if defined(_SIZE_T_) || defined(SIGLOST) struct utsname *un; uname (&un); printf ("mips-dec-ultrix%s\n", un.release); exit (0); #else printf ("mips-dec-ultrix\n"); exit (0); #endif #endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; } echo "$0: unable to guess system type" >&2 case $UNAME_MACHINE:$UNAME_SYSTEM in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 <&2 </dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" UNAME_SYSTEM = "$UNAME_SYSTEM" UNAME_VERSION = "$UNAME_VERSION" EOF fi exit 1 # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: datamash-1.9/build-aux/config.rpath0000754000000000000000000004734414771573665013036 #! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in a binary (executable or # shared library). # # Copyright 1996-2025 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # func_usage # outputs to stdout the --help usage message. func_usage () { echo "\ Usage: config.rpath [OPTION] HOST Prints shell variable assignments that describe how to hardcode a directory for the lookup of shared libraries into a binary (executable or shared library). The first argument passed to this file is the canonical host specification, CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM or CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld should be set by the caller. The set of defined variables is at the end of this script. Options: --help print this help and exit --version print version information and exit Send patches and bug reports to ." } # func_version # outputs to stdout the --version message. func_version () { echo "config.rpath (GNU gnulib, module havelib)" echo "Copyright (C) 2025 Free Software Foundation, Inc. License: All-Permissive. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." echo printf 'Written by %s.\n' "Bruno Haible" } # func_fatal_error message # outputs to stderr a fatal error message, and terminates the program. func_fatal_error () { echo "config.rpath: *** $1" 1>&2 echo "config.rpath: *** Stop." 1>&2 exit 1 } # Command-line option processing. while test $# -gt 0; do case "$1" in --help | --hel | --he | --h ) func_usage exit 0 ;; --version | --versio | --versi | --vers | --ver | --ve | --v ) func_version exit 0 ;; -- ) # Stop option processing shift; break ;; -* ) func_fatal_error "unrecognized option: $1" ;; * ) break ;; esac done if test $# -gt 1; then func_fatal_error "too many arguments" fi if test $# -lt 1; then func_fatal_error "too few arguments" fi # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's _LT_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; nagfor*) wl='-Wl,-Wl,,' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; xl* | bgxl* | bgf* | mpixl*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) wl= ;; *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; newsos6) ;; *nto* | *qnx*) ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) wl='-Qoption ld ' ;; *) wl='-Wl,' ;; esac ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's _LT_LINKER_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; haiku*) ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then : else ld_shlibs=no fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd2.[01]*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly* | midnightbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the # linker has special search rules. library_names_spec= # the last element of library_names_spec in libtool.m4 libname_spec='lib$name' case "$host_os" in aix3*) library_names_spec='$libname.a' ;; aix[4-9]*) library_names_spec='$libname$shrext' ;; amigaos*) case "$host_cpu" in powerpc*) library_names_spec='$libname$shrext' ;; m68k) library_names_spec='$libname.a' ;; esac ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32* | cegcc*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd[23].*) library_names_spec='$libname$shrext$versuffix' ;; freebsd* | dragonfly* | midnightbsd*) library_names_spec='$libname$shrext' ;; gnu*) library_names_spec='$libname$shrext' ;; haiku*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; *nto* | *qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; tpf*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # https://git.savannah.gnu.org/cgit/config.git/plain/config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. # The "shellcheck disable" line above the timestamp inhibits complaints # about features and limitations of the classic Bourne shell that were # superseded or lifted in POSIX. However, this script identifies a wide # variety of pre-POSIX systems that do not have POSIX shells at all, and # even some reasonably current systems (Solaris 10 as case-in-point) still # have a pre-POSIX /bin/sh. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try '$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; *local*) # First pass through any local machine types. echo "$1" exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Split fields of configuration type saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <&2 exit 1 ;; *-*-*-*) basic_machine=$field1-$field2 basic_os=$field3-$field4 ;; *-*-*) # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two # parts maybe_os=$field2-$field3 case $maybe_os in cloudabi*-eabi* \ | kfreebsd*-gnu* \ | knetbsd*-gnu* \ | kopensolaris*-gnu* \ | linux-* \ | managarm-* \ | netbsd*-eabi* \ | netbsd*-gnu* \ | nto-qnx* \ | os2-emx* \ | rtmk-nova* \ | storm-chaos* \ | uclinux-gnu* \ | uclinux-uclibc* \ | windows-* ) basic_machine=$field1 basic_os=$maybe_os ;; android-linux) basic_machine=$field1-unknown basic_os=linux-android ;; *) basic_machine=$field1-$field2 basic_os=$field3 ;; esac ;; *-*) case $field1-$field2 in # Shorthands that happen to contain a single dash convex-c[12] | convex-c3[248]) basic_machine=$field2-convex basic_os= ;; decstation-3100) basic_machine=mips-dec basic_os= ;; *-*) # Second component is usually, but not always the OS case $field2 in # Do not treat sunos as a manufacturer sun*os*) basic_machine=$field1 basic_os=$field2 ;; # Manufacturers 3100* \ | 32* \ | 3300* \ | 3600* \ | 7300* \ | acorn \ | altos* \ | apollo \ | apple \ | atari \ | att* \ | axis \ | be \ | bull \ | cbm \ | ccur \ | cisco \ | commodore \ | convergent* \ | convex* \ | cray \ | crds \ | dec* \ | delta* \ | dg \ | digital \ | dolphin \ | encore* \ | gould \ | harris \ | highlevel \ | hitachi* \ | hp \ | ibm* \ | intergraph \ | isi* \ | knuth \ | masscomp \ | microblaze* \ | mips* \ | motorola* \ | ncr* \ | news \ | next \ | ns \ | oki \ | omron* \ | pc533* \ | rebel \ | rom68k \ | rombug \ | semi \ | sequent* \ | siemens \ | sgi* \ | siemens \ | sim \ | sni \ | sony* \ | stratus \ | sun \ | sun[234]* \ | tektronix \ | tti* \ | ultra \ | unicom* \ | wec \ | winbond \ | wrs) basic_machine=$field1-$field2 basic_os= ;; zephyr*) basic_machine=$field1-unknown basic_os=$field2 ;; *) basic_machine=$field1 basic_os=$field2 ;; esac ;; esac ;; *) # Convert single-component short-hands not valid as part of # multi-component configurations. case $field1 in 386bsd) basic_machine=i386-pc basic_os=bsd ;; a29khif) basic_machine=a29k-amd basic_os=udi ;; adobe68k) basic_machine=m68010-adobe basic_os=scout ;; alliant) basic_machine=fx80-alliant basic_os= ;; altos | altos3068) basic_machine=m68k-altos basic_os= ;; am29k) basic_machine=a29k-none basic_os=bsd ;; amdahl) basic_machine=580-amdahl basic_os=sysv ;; amiga) basic_machine=m68k-unknown basic_os= ;; amigaos | amigados) basic_machine=m68k-unknown basic_os=amigaos ;; amigaunix | amix) basic_machine=m68k-unknown basic_os=sysv4 ;; apollo68) basic_machine=m68k-apollo basic_os=sysv ;; apollo68bsd) basic_machine=m68k-apollo basic_os=bsd ;; aros) basic_machine=i386-pc basic_os=aros ;; aux) basic_machine=m68k-apple basic_os=aux ;; balance) basic_machine=ns32k-sequent basic_os=dynix ;; blackfin) basic_machine=bfin-unknown basic_os=linux ;; cegcc) basic_machine=arm-unknown basic_os=cegcc ;; cray) basic_machine=j90-cray basic_os=unicos ;; crds | unos) basic_machine=m68k-crds basic_os= ;; da30) basic_machine=m68k-da30 basic_os= ;; decstation | pmax | pmin | dec3100 | decstatn) basic_machine=mips-dec basic_os= ;; delta88) basic_machine=m88k-motorola basic_os=sysv3 ;; dicos) basic_machine=i686-pc basic_os=dicos ;; djgpp) basic_machine=i586-pc basic_os=msdosdjgpp ;; ebmon29k) basic_machine=a29k-amd basic_os=ebmon ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson basic_os=ose ;; gmicro) basic_machine=tron-gmicro basic_os=sysv ;; go32) basic_machine=i386-pc basic_os=go32 ;; h8300hms) basic_machine=h8300-hitachi basic_os=hms ;; h8300xray) basic_machine=h8300-hitachi basic_os=xray ;; h8500hms) basic_machine=h8500-hitachi basic_os=hms ;; harris) basic_machine=m88k-harris basic_os=sysv3 ;; hp300 | hp300hpux) basic_machine=m68k-hp basic_os=hpux ;; hp300bsd) basic_machine=m68k-hp basic_os=bsd ;; hppaosf) basic_machine=hppa1.1-hp basic_os=osf ;; hppro) basic_machine=hppa1.1-hp basic_os=proelf ;; i386mach) basic_machine=i386-mach basic_os=mach ;; isi68 | isi) basic_machine=m68k-isi basic_os=sysv ;; m68knommu) basic_machine=m68k-unknown basic_os=linux ;; magnum | m3230) basic_machine=mips-mips basic_os=sysv ;; merlin) basic_machine=ns32k-utek basic_os=sysv ;; mingw64) basic_machine=x86_64-pc basic_os=mingw64 ;; mingw32) basic_machine=i686-pc basic_os=mingw32 ;; mingw32ce) basic_machine=arm-unknown basic_os=mingw32ce ;; monitor) basic_machine=m68k-rom68k basic_os=coff ;; morphos) basic_machine=powerpc-unknown basic_os=morphos ;; moxiebox) basic_machine=moxie-unknown basic_os=moxiebox ;; msdos) basic_machine=i386-pc basic_os=msdos ;; msys) basic_machine=i686-pc basic_os=msys ;; mvs) basic_machine=i370-ibm basic_os=mvs ;; nacl) basic_machine=le32-unknown basic_os=nacl ;; ncr3000) basic_machine=i486-ncr basic_os=sysv4 ;; netbsd386) basic_machine=i386-pc basic_os=netbsd ;; netwinder) basic_machine=armv4l-rebel basic_os=linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony basic_os=newsos ;; news1000) basic_machine=m68030-sony basic_os=newsos ;; necv70) basic_machine=v70-nec basic_os=sysv ;; nh3000) basic_machine=m68k-harris basic_os=cxux ;; nh[45]000) basic_machine=m88k-harris basic_os=cxux ;; nindy960) basic_machine=i960-intel basic_os=nindy ;; mon960) basic_machine=i960-intel basic_os=mon960 ;; nonstopux) basic_machine=mips-compaq basic_os=nonstopux ;; os400) basic_machine=powerpc-ibm basic_os=os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson basic_os=ose ;; os68k) basic_machine=m68k-none basic_os=os68k ;; paragon) basic_machine=i860-intel basic_os=osf ;; parisc) basic_machine=hppa-unknown basic_os=linux ;; psp) basic_machine=mipsallegrexel-sony basic_os=psp ;; pw32) basic_machine=i586-unknown basic_os=pw32 ;; rdos | rdos64) basic_machine=x86_64-pc basic_os=rdos ;; rdos32) basic_machine=i386-pc basic_os=rdos ;; rom68k) basic_machine=m68k-rom68k basic_os=coff ;; sa29200) basic_machine=a29k-amd basic_os=udi ;; sei) basic_machine=mips-sei basic_os=seiux ;; sequent) basic_machine=i386-sequent basic_os= ;; sps7) basic_machine=m68k-bull basic_os=sysv2 ;; st2000) basic_machine=m68k-tandem basic_os= ;; stratus) basic_machine=i860-stratus basic_os=sysv4 ;; sun2) basic_machine=m68000-sun basic_os= ;; sun2os3) basic_machine=m68000-sun basic_os=sunos3 ;; sun2os4) basic_machine=m68000-sun basic_os=sunos4 ;; sun3) basic_machine=m68k-sun basic_os= ;; sun3os3) basic_machine=m68k-sun basic_os=sunos3 ;; sun3os4) basic_machine=m68k-sun basic_os=sunos4 ;; sun4) basic_machine=sparc-sun basic_os= ;; sun4os3) basic_machine=sparc-sun basic_os=sunos3 ;; sun4os4) basic_machine=sparc-sun basic_os=sunos4 ;; sun4sol2) basic_machine=sparc-sun basic_os=solaris2 ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun basic_os= ;; sv1) basic_machine=sv1-cray basic_os=unicos ;; symmetry) basic_machine=i386-sequent basic_os=dynix ;; t3e) basic_machine=alphaev5-cray basic_os=unicos ;; t90) basic_machine=t90-cray basic_os=unicos ;; toad1) basic_machine=pdp10-xkl basic_os=tops20 ;; tpf) basic_machine=s390x-ibm basic_os=tpf ;; udi29k) basic_machine=a29k-amd basic_os=udi ;; ultra3) basic_machine=a29k-nyu basic_os=sym1 ;; v810 | necv810) basic_machine=v810-nec basic_os=none ;; vaxv) basic_machine=vax-dec basic_os=sysv ;; vms) basic_machine=vax-dec basic_os=vms ;; vsta) basic_machine=i386-pc basic_os=vsta ;; vxworks960) basic_machine=i960-wrs basic_os=vxworks ;; vxworks68) basic_machine=m68k-wrs basic_os=vxworks ;; vxworks29k) basic_machine=a29k-wrs basic_os=vxworks ;; xbox) basic_machine=i686-pc basic_os=mingw32 ;; ymp) basic_machine=ymp-cray basic_os=unicos ;; *) basic_machine=$1 basic_os= ;; esac ;; esac # Decode 1-component or ad-hoc basic machines case $basic_machine in # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) cpu=hppa1.1 vendor=winbond ;; op50n) cpu=hppa1.1 vendor=oki ;; op60c) cpu=hppa1.1 vendor=oki ;; ibm*) cpu=i370 vendor=ibm ;; orion105) cpu=clipper vendor=highlevel ;; mac | mpw | mac-mpw) cpu=m68k vendor=apple ;; pmac | pmac-mpw) cpu=powerpc vendor=apple ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) cpu=m68000 vendor=att ;; 3b*) cpu=we32k vendor=att ;; bluegene*) cpu=powerpc vendor=ibm basic_os=cnk ;; decsystem10* | dec10*) cpu=pdp10 vendor=dec basic_os=tops10 ;; decsystem20* | dec20*) cpu=pdp10 vendor=dec basic_os=tops20 ;; delta | 3300 | delta-motorola | 3300-motorola | motorola-delta | motorola-3300) cpu=m68k vendor=motorola ;; # This used to be dpx2*, but that gets the RS6000-based # DPX/20 and the x86-based DPX/2-100 wrong. See # https://oldskool.silicium.org/stations/bull_dpx20.htm # https://www.feb-patrimoine.com/english/bull_dpx2.htm # https://www.feb-patrimoine.com/english/unix_and_bull.htm dpx2 | dpx2[23]00 | dpx2[23]xx) cpu=m68k vendor=bull ;; dpx2100 | dpx21xx) cpu=i386 vendor=bull ;; dpx20) cpu=rs6000 vendor=bull ;; encore | umax | mmax) cpu=ns32k vendor=encore ;; elxsi) cpu=elxsi vendor=elxsi basic_os=${basic_os:-bsd} ;; fx2800) cpu=i860 vendor=alliant ;; genix) cpu=ns32k vendor=ns ;; h3050r* | hiux*) cpu=hppa1.1 vendor=hitachi basic_os=hiuxwe2 ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) cpu=hppa1.0 vendor=hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) cpu=m68000 vendor=hp ;; hp9k3[2-9][0-9]) cpu=m68k vendor=hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) cpu=hppa1.0 vendor=hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) cpu=hppa1.1 vendor=hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp cpu=hppa1.1 vendor=hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp cpu=hppa1.1 vendor=hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) cpu=hppa1.1 vendor=hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) cpu=hppa1.0 vendor=hp ;; i*86v32) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv32 ;; i*86v4*) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv4 ;; i*86v) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv ;; i*86sol2) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=solaris2 ;; j90 | j90-cray) cpu=j90 vendor=cray basic_os=${basic_os:-unicos} ;; iris | iris4d) cpu=mips vendor=sgi case $basic_os in irix*) ;; *) basic_os=irix4 ;; esac ;; miniframe) cpu=m68000 vendor=convergent ;; *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) cpu=m68k vendor=atari basic_os=mint ;; news-3600 | risc-news) cpu=mips vendor=sony basic_os=newsos ;; next | m*-next) cpu=m68k vendor=next ;; np1) cpu=np1 vendor=gould ;; op50n-* | op60c-*) cpu=hppa1.1 vendor=oki basic_os=proelf ;; pa-hitachi) cpu=hppa1.1 vendor=hitachi basic_os=hiuxwe2 ;; pbd) cpu=sparc vendor=tti ;; pbb) cpu=m68k vendor=tti ;; pc532) cpu=ns32k vendor=pc532 ;; pn) cpu=pn vendor=gould ;; power) cpu=power vendor=ibm ;; ps2) cpu=i386 vendor=ibm ;; rm[46]00) cpu=mips vendor=siemens ;; rtpc | rtpc-*) cpu=romp vendor=ibm ;; sde) cpu=mipsisa32 vendor=sde basic_os=${basic_os:-elf} ;; simso-wrs) cpu=sparclite vendor=wrs basic_os=vxworks ;; tower | tower-32) cpu=m68k vendor=ncr ;; vpp*|vx|vx-*) cpu=f301 vendor=fujitsu ;; w65) cpu=w65 vendor=wdc ;; w89k-*) cpu=hppa1.1 vendor=winbond basic_os=proelf ;; none) cpu=none vendor=none ;; leon|leon[3-9]) cpu=sparc vendor=$basic_machine ;; leon-*|leon[3-9]-*) cpu=sparc vendor=`echo "$basic_machine" | sed 's/-.*//'` ;; *-*) saved_IFS=$IFS IFS="-" read cpu vendor <&2 exit 1 ;; esac ;; esac # Here we canonicalize certain aliases for manufacturers. case $vendor in digital*) vendor=dec ;; commodore*) vendor=cbm ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if test x"$basic_os" != x then # First recognize some ad-hoc cases, or perhaps split kernel-os, or else just # set os. obj= case $basic_os in gnu/linux*) kernel=linux os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'` ;; os2-emx) kernel=os2 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'` ;; nto-qnx*) kernel=nto os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'` ;; *-*) saved_IFS=$IFS IFS="-" read kernel os <&2 fi ;; *) echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2 exit 1 ;; esac case $obj in aout* | coff* | elf* | pe*) ;; '') # empty is fine ;; *) echo "Invalid configuration '$1': Machine code format '$obj' not recognized" 1>&2 exit 1 ;; esac # Here we handle the constraint that a (synthetic) cpu and os are # valid only in combination with each other and nowhere else. case $cpu-$os in # The "javascript-unknown-ghcjs" triple is used by GHC; we # accept it here in order to tolerate that, but reject any # variations. javascript-ghcjs) ;; javascript-* | *-ghcjs) echo "Invalid configuration '$1': cpu '$cpu' is not valid with os '$os$obj'" 1>&2 exit 1 ;; esac # As a final step for OS-related things, validate the OS-kernel combination # (given a valid OS), if there is a kernel. case $kernel-$os-$obj in linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \ | linux-mlibc*- | linux-musl*- | linux-newlib*- \ | linux-relibc*- | linux-uclibc*- | linux-ohos*- ) ;; uclinux-uclibc*- | uclinux-gnu*- ) ;; managarm-mlibc*- | managarm-kernel*- ) ;; windows*-msvc*-) ;; -dietlibc*- | -llvm*- | -mlibc*- | -musl*- | -newlib*- | -relibc*- \ | -uclibc*- ) # These are just libc implementations, not actual OSes, and thus # require a kernel. echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2 exit 1 ;; -kernel*- ) echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2 exit 1 ;; *-kernel*- ) echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2 exit 1 ;; *-msvc*- ) echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2 exit 1 ;; kfreebsd*-gnu*- | knetbsd*-gnu*- | netbsd*-gnu*- | kopensolaris*-gnu*-) ;; vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-) ;; nto-qnx*-) ;; os2-emx-) ;; rtmk-nova-) ;; *-eabi*- | *-gnueabi*-) ;; none--*) # None (no kernel, i.e. freestanding / bare metal), # can be paired with an machine code file format ;; -*-) # Blank kernel with real OS is always fine. ;; --*) # Blank kernel and OS with real machine code file format is always fine. ;; *-*-*) echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2 exit 1 ;; esac # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. case $vendor in unknown) case $cpu-$os in *-riscix*) vendor=acorn ;; *-sunos* | *-solaris*) vendor=sun ;; *-cnk* | *-aix*) vendor=ibm ;; *-beos*) vendor=be ;; *-hpux*) vendor=hp ;; *-mpeix*) vendor=hp ;; *-hiux*) vendor=hitachi ;; *-unos*) vendor=crds ;; *-dgux*) vendor=dg ;; *-luna*) vendor=omron ;; *-genix*) vendor=ns ;; *-clix*) vendor=intergraph ;; *-mvs* | *-opened*) vendor=ibm ;; *-os400*) vendor=ibm ;; s390-* | s390x-*) vendor=ibm ;; *-ptx*) vendor=sequent ;; *-tpf*) vendor=ibm ;; *-vxsim* | *-vxworks* | *-windiss*) vendor=wrs ;; *-aux*) vendor=apple ;; *-hms*) vendor=hitachi ;; *-mpw* | *-macos*) vendor=apple ;; *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*) vendor=atari ;; *-vos*) vendor=stratus ;; esac ;; esac echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}" exit # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: datamash-1.9/build-aux/create_corrupted_file_system.sh0000754000000000000000000000570114771573715017005 #!/bin/sh # Copyright (C) 2014-2021 Assaf Gordon # # datamash I/O error testing module # # 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 . # # Written by Assaf Gordon. BLOCK_SIZE=1024 IMGFILE=bad_disk.img LOG=log.txt die() { BASE=$(basename "$0") ## Print the STDOUT and STDERR we have so far cat $LOG >&2 echo "$BASE: error: $@" >&2 exit 1 } # Reset log echo > $LOG ## Ugly hack: Add common places where required programs might be. ## This script is run as a non-root user, so these directories ## might not be on the $PATH PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin for PROG in mkfs.ext3 debugfs ; do which $PROG >/dev/null 2>&1 || die "required program '$PROG' not found in \$PATH." done ## Create data files, each 30000 bytes seq 10000 | head -c 30000 > numbers.txt || die "failed to create numbers.txt" printf "%d bottles of beer on the wall\n" $(seq 2000 -1 2) | head -c 30000 > bottles.txt || die "failed to create bottles.txt" ## Create ext3 file system image dd if=/dev/zero of=$IMGFILE bs=1k count=128 1>$LOG 2>&1 || die "dd failed" yes | mkfs.ext3 -b ${BLOCK_SIZE} $IMGFILE 1>$LOG 2>&1 || die "mkfs.ext3 failed" ## Add two files and corrupt them for FILE in numbers.txt bottles.txt ; do ## Add data file to file system echo "write ./$FILE $FILE"| debugfs -w $IMGFILE >$LOG 2>&1 || die "failed to add $FILE to $IMGFILE" ## Corrupt the file-system ## Find the IND (indirect) block, which should contain pointers to ## valid other blocks occupied by this file. INDBLOCK=$(echo "stat $FILE" | debugfs $IMGFILE 2>/dev/null | grep IND | perl -ne '/\(IND\):(\d+)/ && print $1') [ -z "$INDBLOCK" ] && die "failed to find IND block for $FILE in $IMGFILE" ## Mess-up the IND block, by overriting it with random data dd if=/dev/urandom bs=${BLOCK_SIZE} count=1 \ of=$IMGFILE conv=notrunc seek=${INDBLOCK} >$LOG 2>&1 || die "failed to override IND block $INDBLOCK" done ## Verify that the file system image has errors in it ## (otherwise we failed to simulate errors) fsck.ext3 -nf $IMGFILE >$LOG 2>&1 && die "Failed to simulate bad file system (mkfs did not report errors)" echo " Done! To use this file-systems, run: mkdir /tmp/badfs/ sudo mount -o sync $IMGFILE /tmp/badfs/ To verify I/O errors, run: cat /tmp/badfs/numbers.txt > /dev/null cat /tmp/badfs/bottles.txt > /dev/null " datamash-1.9/build-aux/create_small_file_system.sh0000754000000000000000000000373214771573715016110 #!/bin/sh # Copyright (C) 2014-2021 Assaf Gordon # Copyright (C) 2022-2025 Timothy Rice # # datamash I/O error testing module # # 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 . # # Written by Assaf Gordon. BLOCK_SIZE=1024 IMGFILE=tiny_disk.img LOG=log.txt die() { BASE=$(basename "$0") ## Print the STDOUT and STDERR we have so far cat $LOG >&2 echo "$BASE: error: $@" >&2 exit 1 } # Reset log echo > $LOG ## Ugly hack: Add common places where required programs might be. ## This script is run as a non-root user, so these directories ## might not be on the $PATH PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin for PROG in mkfs.ext3 ; do which $PROG >/dev/null 2>&1 || die "required program '$PROG' not found in \$PATH." done ## Create a tiny ext3 file system image dd if=/dev/zero of=$IMGFILE bs=1k count=64 1>$LOG 2>&1 || die "dd failed" yes | mkfs.ext3 -T small -b ${BLOCK_SIZE} $IMGFILE 1>$LOG 2>&1 || die "mkfs.ext3 failed" echo " Done! To use this file-systems, run: mkdir /tmp/fullfs/ sudo mount -o sync $IMGFILE /tmp/fullfs/ sudo chown \$USER /tmp/fullfs/ Clean the file system (before any testing): find /tmp/fullfs/ -maxdepth 1 -type f -delete Writing to this file system should fail with 'no space' (But unlike /dev/full, only after ~30KB are succesfully written): seq 100000 >/tmp/fullfs/test.txt " datamash-1.9/build-aux/depcomp0000754000000000000000000005622514767400545012070 #! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2024-12-03.03; # UTC # Copyright (C) 1999-2025 Free Software Foundation, Inc. # 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 2, 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 . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . GNU Automake home page: . General help using GNU software: . EOF exit $? ;; -v | --v*) echo "depcomp (GNU Automake) $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interference from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsolete pre-3.x GCC compilers. ## but also to in-use compilers like IBM xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: datamash-1.9/build-aux/do-release-commit-and-tag0000754000000000000000000001235414767401140015243 #!/bin/sh # In a git/autoconf/automake-enabled project with a NEWS file and a version- # controlled .prev-version file, automate the procedure by which we record # the date, release-type and version string in the NEWS file. That commit # will serve to identify the release, so apply a signed tag to it as well. VERSION=2024-07-04.10 # UTC # Note: this is a bash script (could be zsh or dash) # Copyright (C) 2009-2025 Free Software Foundation, Inc. # 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 . # Written by Jim Meyering ME=$(basename "$0") warn() { printf '%s: %s\n' "$ME" "$*" >&2; } die() { warn "$*"; exit 1; } help() { cat <. EOF exit } version() { year=$(echo "$VERSION" | sed 's/[^0-9].*//') cat < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. EOF exit } ## ------ ## ## Main. ## ## ------ ## # Constants. noteworthy='* Noteworthy changes in release' noteworthy_stub="$noteworthy ?.? (????-??-??) [?]" # Variables. branch=$(git branch | sed -ne '/^\* /{s///;p;q;}') builddir=. while test $# != 0 do # Handle --option=value by splitting apart and putting back on argv. case $1 in --*=*) opt=$(echo "$1" | sed -e 's/=.*//') val=$(echo "$1" | sed -e 's/[^=]*=//') shift set dummy "$opt" "$val" "$@"; shift ;; esac case $1 in --help|--version) ${1#--};; --branch) shift; branch=$1; shift ;; -C|--builddir) shift; builddir=$1; shift ;; --*) die "unrecognized option: $1";; *) break;; esac done test $# = 2 \ || die "Usage: $ME [OPTION...] VERSION TYPE" ver=$1 type=$2 ## ---------------------- ## ## First, sanity checks. ## ## ---------------------- ## # Verify that $ver looks like a version number, and... echo "$ver"|grep -E '^[0-9][0-9.]*[0-9]$' > /dev/null \ || die "invalid version: $ver" prev_ver=$(cat .prev-version) \ || die 'failed to determine previous version number from .prev-version' # Verify that $ver is sensible (> .prev-version). case $(printf "%s\n%s\n" "$prev_ver" "$ver"|sort -V -u|tr '\n' ':') in "$prev_ver:$ver:") ;; *) die "invalid version: $ver (<= $prev_ver)";; esac case $type in alpha|beta|stable) ;; *) die "invalid release type: $type";; esac # No local modifications allowed. case $(git diff-index --name-only HEAD) in '') ;; *) die 'this tree is dirty; commit your changes first';; esac # Ensure the current branch name is correct: curr_br=$(git rev-parse --symbolic-full-name HEAD) test "$curr_br" = "refs/heads/$branch" || die not on branch $branch # Extract package name from Makefile. Makefile=$builddir/Makefile pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' "$Makefile") \ || die "failed to determine package name from $Makefile" # Check that line 3 of NEWS is the stub line about to be replaced. test "$(sed -n 3p NEWS)" = "$noteworthy_stub" \ || die "line 3 of NEWS must be exactly '$noteworthy_stub'" ## --------------- ## ## Then, changes. ## ## --------------- ## # Update NEWS to have today's date, plus desired version number and $type. perl -MPOSIX -ni -e 'my $today = strftime "%F", localtime time;' \ -e 'my ($type, $ver) = qw('"$type $ver"');' \ -e 'my $pfx = "'"$noteworthy"'";' \ -e 'print $.==3 ? "$pfx $ver ($today) [$type]\n" : $_' \ NEWS || die 'failed to update NEWS' printf "version %s\n\n* NEWS: Record release date.\n" "$ver" \ | git commit -F - -a || die 'git commit failed' git tag -s -m "$pkg $ver" v$ver HEAD || die 'git tag failed' # Local variables: # indent-tabs-mode: nil # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "VERSION=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: " # UTC" # End: datamash-1.9/build-aux/gendocs.sh0000754000000000000000000004521214767401140012456 #!/bin/sh -e # gendocs.sh -- generate a GNU manual in many formats. This script is # mentioned in maintain.texi. See the help message below for usage details. scriptversion=2025-01-01.00 # Copyright 2003-2025 Free Software Foundation, Inc. # # 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 . # # Original author: Mohit Agarwal. # Send bug reports and any other correspondence to bug-gnulib@gnu.org. # # The latest version of this script, and the companion template, is # available from the Gnulib repository: # # https://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/gendocs.sh # https://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/gendocs_template # TODO: # - image importing was only implemented for HTML generated by # makeinfo. But it should be simple enough to adjust. # - images are not imported in the source tarball. All the needed # formats (PDF, PNG, etc.) should be included. prog=`basename "$0"` srcdir=`pwd` scripturl="https://git.savannah.gnu.org/cgit/gnulib.git/plain/build-aux/gendocs.sh" templateurl="https://git.savannah.gnu.org/cgit/gnulib.git/plain/doc/gendocs_template" : "${SETLANG="env LANG= LC_TIME= LC_MESSAGES= LC_ALL= LANGUAGE="}" : "${MAKEINFO="makeinfo"}" : "${TEXI2DVI="texi2dvi"}" : "${DOCBOOK2HTML="docbook2html"}" : "${DOCBOOK2PDF="docbook2pdf"}" : "${DOCBOOK2TXT="docbook2txt"}" : "${GENDOCS_TEMPLATE_DIR="."}" : "${PERL="perl"}" : "${TEXI2HTML="texi2html"}" unset CDPATH unset use_texi2html MANUAL_TITLE= PACKAGE= EMAIL=webmasters@gnu.org # please override with --email commonarg= # passed to all makeinfo/texi2html invocations. dirargs= # passed to all tools (-I dir). dirs= # -I directories. htmlarg="--css-ref=https://www.gnu.org/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual" default_htmlarg=true infoarg=--no-split generate_ascii=true generate_html=true generate_info=true generate_tex=true outdir=manual unset source_extra split=node srcfile= texarg="-t @finalout" version="gendocs.sh $scriptversion Copyright 2025-2025 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING." usage="Usage: $prog [OPTION]... PACKAGE MANUAL-TITLE Generate output in various formats from PACKAGE.texinfo (or .texi or .txi) source. See the GNU Maintainers document for a more extensive discussion: https://www.gnu.org/prep/maintain_toc.html Options: --email ADR use ADR as contact in generated web pages; always give this. -s SRCFILE read Texinfo from SRCFILE, instead of PACKAGE.{texinfo|texi|txi} -o OUTDIR write files into OUTDIR, instead of manual/. -I DIR append DIR to the Texinfo search path. --common ARG pass ARG in all invocations. --html ARG pass ARG to makeinfo or texi2html for HTML targets, instead of '$htmlarg'. --info ARG pass ARG to makeinfo for Info, instead of --no-split. --no-ascii skip generating the plain text output. --no-html skip generating the html output. --no-info skip generating the info output. --no-tex skip generating the dvi and pdf output. --source ARG include ARG in tar archive of sources. --split HOW make split HTML by node, section, chapter; default node. --tex ARG pass ARG to texi2dvi for DVI and PDF, instead of -t @finalout. --texi2html use texi2html to make HTML target, with all split versions. --docbook convert through DocBook too (xml, txt, html, pdf). --help display this help and exit successfully. --version display version information and exit successfully. Simple example: $prog --email bug-gnu-emacs@gnu.org emacs \"GNU Emacs Manual\" Typical sequence: cd PACKAGESOURCE/doc wget \"$scripturl\" wget \"$templateurl\" $prog --email BUGLIST MANUAL \"GNU MANUAL - One-line description\" Output will be in a new subdirectory \"manual\" (by default; use -o OUTDIR to override). Move all the new files into your web CVS tree, as explained in the Web Pages node of maintain.texi. Please use the --email ADDRESS option so your own bug-reporting address will be used in the generated HTML pages. MANUAL-TITLE is included as part of the HTML of the overall manual/index.html file. It should include the name of the package being documented. manual/index.html is created by substitution from the file $GENDOCS_TEMPLATE_DIR/gendocs_template. (Feel free to modify the generic template for your own purposes.) If you have several manuals, you'll need to run this script several times with different MANUAL values, specifying a different output directory with -o each time. Then write (by hand) an overall index.html with links to them all. If a manual's Texinfo sources are spread across several directories, first copy or symlink all Texinfo sources into a single directory. (Part of the script's work is to make a tar.gz of the sources.) As implied above, by default monolithic Info files are generated. If you want split Info, or other Info options, use --info to override. You can set the environment variables MAKEINFO, TEXI2DVI, TEXI2HTML, and PERL to control the programs that get executed, and GENDOCS_TEMPLATE_DIR to control where the gendocs_template file is looked for. With --docbook, the environment variables DOCBOOK2HTML, DOCBOOK2PDF, and DOCBOOK2TXT are also consulted. By default, makeinfo and texi2dvi are run in the default (English) locale, since that's the language of most Texinfo manuals. If you happen to have a non-English manual and non-English web site, see the SETLANG setting in the source. Email bug reports or enhancement requests to bug-gnulib@gnu.org. " while test $# -gt 0; do case $1 in -s) shift; srcfile=$1;; -o) shift; outdir=$1;; -I) shift; dirargs="$dirargs -I '$1'"; dirs="$dirs $1";; --common) shift; commonarg=$1;; --docbook) docbook=yes;; --email) shift; EMAIL=$1;; --html) shift; default_htmlarg=false; htmlarg=$1;; --info) shift; infoarg=$1;; --no-ascii) generate_ascii=false;; --no-html) generate_html=false;; --no-info) generate_info=false;; --no-tex) generate_tex=false;; --source) shift; source_extra=$1;; --split) shift; split=$1;; --tex) shift; texarg=$1;; --texi2html) use_texi2html=1;; --help) echo "$usage"; exit 0;; --version) echo "$version"; exit 0;; -*) echo "$0: Unknown option \`$1'." >&2 echo "$0: Try \`--help' for more information." >&2 exit 1;; *) if test -z "$PACKAGE"; then PACKAGE=$1 elif test -z "$MANUAL_TITLE"; then MANUAL_TITLE=$1 else echo "$0: extra non-option argument \`$1'." >&2 exit 1 fi;; esac shift done # makeinfo uses the dirargs, but texi2dvi doesn't. commonarg=" $dirargs $commonarg" # For most of the following, the base name is just $PACKAGE base=$PACKAGE if $default_htmlarg && test -n "$use_texi2html"; then # The legacy texi2html doesn't support TOP_NODE_UP_URL htmlarg="--css-ref=https://www.gnu.org/software/gnulib/manual.css" fi if test -n "$srcfile"; then # but here, we use the basename of $srcfile base=`basename "$srcfile"` case $base in *.txi|*.texi|*.texinfo) base=`echo "$base"|sed 's/\.[texinfo]*$//'`;; esac PACKAGE=$base elif test -s "$srcdir/$PACKAGE.texinfo"; then srcfile=$srcdir/$PACKAGE.texinfo elif test -s "$srcdir/$PACKAGE.texi"; then srcfile=$srcdir/$PACKAGE.texi elif test -s "$srcdir/$PACKAGE.txi"; then srcfile=$srcdir/$PACKAGE.txi else echo "$0: cannot find .texinfo or .texi or .txi for $PACKAGE in $srcdir." >&2 exit 1 fi if test ! -r $GENDOCS_TEMPLATE_DIR/gendocs_template; then echo "$0: cannot read $GENDOCS_TEMPLATE_DIR/gendocs_template." >&2 echo "$0: it is available from $templateurl." >&2 exit 1 fi # Function to return size of $1 in something resembling kilobytes. calcsize() { size=`ls -ksl $1 | awk '{print $1}'` echo $size } # copy_images OUTDIR HTML-FILE... # ------------------------------- # Copy all the images needed by the HTML-FILEs into OUTDIR. # Look for them in . and the -I directories; this is simpler than what # makeinfo supports with -I, but hopefully it will suffice. copy_images() { local odir odir=$1 shift $PERL -n -e " BEGIN { \$me = '$prog'; \$odir = '$odir'; @dirs = qw(. $dirs); } " -e ' /<img src="(.*?)"/g && ++$need{$1}; END { #print "$me: @{[sort keys %need]}\n"; # for debugging, show images found. FILE: for my $f (sort keys %need) { for my $d (@dirs) { if (-f "$d/$f") { use File::Basename; my $dest = dirname ("$odir/$f"); # use File::Path; -d $dest || mkpath ($dest) || die "$me: cannot mkdir $dest: $!\n"; # use File::Copy; copy ("$d/$f", $dest) || die "$me: cannot copy $d/$f to $dest: $!\n"; next FILE; } } die "$me: $ARGV: cannot find image $f\n"; } } ' -- "$@" || exit 1 } case $outdir in /*) abs_outdir=$outdir;; *) abs_outdir=$srcdir/$outdir;; esac echo "Making output for $srcfile" echo " in `pwd`" mkdir -p "$outdir/" # if $generate_info; then cmd="$SETLANG $MAKEINFO -o $PACKAGE.info $commonarg $infoarg \"$srcfile\"" echo "Generating info... ($cmd)" rm -f $PACKAGE.info* # get rid of any strays eval "$cmd" tar czf "$outdir/$PACKAGE.info.tar.gz" $PACKAGE.info* ls -l "$outdir/$PACKAGE.info.tar.gz" info_tgz_size=`calcsize "$outdir/$PACKAGE.info.tar.gz"` # do not mv the info files, there's no point in having them available # separately on the web. fi # end info # if $generate_tex; then cmd="$SETLANG $TEXI2DVI $dirargs $texarg \"$srcfile\"" printf "\nGenerating dvi... (%s)\n" "$cmd" eval "$cmd" # compress/finish dvi: gzip -f -9 $PACKAGE.dvi dvi_gz_size=`calcsize $PACKAGE.dvi.gz` mv $PACKAGE.dvi.gz "$outdir/" ls -l "$outdir/$PACKAGE.dvi.gz" cmd="$SETLANG $TEXI2DVI --pdf $dirargs $texarg \"$srcfile\"" printf "\nGenerating pdf... (%s)\n" "$cmd" eval "$cmd" pdf_size=`calcsize $PACKAGE.pdf` mv $PACKAGE.pdf "$outdir/" ls -l "$outdir/$PACKAGE.pdf" fi # end tex (dvi + pdf) # if $generate_ascii; then opt="-o $PACKAGE.txt --no-split --no-headers $commonarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" printf "\nGenerating ascii... (%s)\n" "$cmd" eval "$cmd" ascii_size=`calcsize $PACKAGE.txt` gzip -f -9 -c $PACKAGE.txt >"$outdir/$PACKAGE.txt.gz" ascii_gz_size=`calcsize "$outdir/$PACKAGE.txt.gz"` mv $PACKAGE.txt "$outdir/" ls -l "$outdir/$PACKAGE.txt" "$outdir/$PACKAGE.txt.gz" fi # if $generate_html; then # Split HTML at level $1. Used for texi2html. html_split() { opt="--split=$1 --node-files $commonarg $htmlarg" cmd="$SETLANG $TEXI2HTML --output $PACKAGE.html $opt \"$srcfile\"" printf "\nGenerating html by %s... (%s)\n" "$1" "$cmd" eval "$cmd" split_html_dir=$PACKAGE.html ( cd ${split_html_dir} || exit 1 ln -sf ${PACKAGE}.html index.html tar -czf "$abs_outdir/${PACKAGE}.html_$1.tar.gz" -- *.html ) eval html_$1_tgz_size=`calcsize "$outdir/${PACKAGE}.html_$1.tar.gz"` rm -f "$outdir"/html_$1/*.html mkdir -p "$outdir/html_$1/" mv ${split_html_dir}/*.html "$outdir/html_$1/" rmdir ${split_html_dir} } if test -z "$use_texi2html"; then opt="--no-split --html -o $PACKAGE.html $commonarg $htmlarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" printf "\nGenerating monolithic html... (%s)\n" "$cmd" rm -rf $PACKAGE.html # in case a directory is left over eval "$cmd" html_mono_size=`calcsize $PACKAGE.html` gzip -f -9 -c $PACKAGE.html >"$outdir/$PACKAGE.html.gz" html_mono_gz_size=`calcsize "$outdir/$PACKAGE.html.gz"` copy_images "$outdir/" $PACKAGE.html mv $PACKAGE.html "$outdir/" ls -l "$outdir/$PACKAGE.html" "$outdir/$PACKAGE.html.gz" # Before Texinfo 5.0, makeinfo did not accept a --split=HOW option, # it just always split by node. So if we're splitting by node anyway, # leave it out. if test "x$split" = xnode; then split_arg= else split_arg=--split=$split fi # opt="--html -o $PACKAGE.html $split_arg $commonarg $htmlarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" printf "\nGenerating html by %s... (%s)\n" "$split" "$cmd" eval "$cmd" split_html_dir=$PACKAGE.html copy_images $split_html_dir/ $split_html_dir/*.html ( cd $split_html_dir || exit 1 tar -czf "$abs_outdir/$PACKAGE.html_$split.tar.gz" -- * ) eval \ html_${split}_tgz_size=`calcsize "$outdir/$PACKAGE.html_$split.tar.gz"` rm -rf "$outdir/html_$split/" mv $split_html_dir "$outdir/html_$split/" du -s "$outdir/html_$split/" ls -l "$outdir/$PACKAGE.html_$split.tar.gz" else # use texi2html: opt="--output $PACKAGE.html $commonarg $htmlarg" cmd="$SETLANG $TEXI2HTML $opt \"$srcfile\"" printf "\nGenerating monolithic html with texi2html... (%s)\n" "$cmd" rm -rf $PACKAGE.html # in case a directory is left over eval "$cmd" html_mono_size=`calcsize $PACKAGE.html` gzip -f -9 -c $PACKAGE.html >"$outdir/$PACKAGE.html.gz" html_mono_gz_size=`calcsize "$outdir/$PACKAGE.html.gz"` mv $PACKAGE.html "$outdir/" html_split node html_split chapter html_split section fi fi # end html # printf "\nMaking .tar.gz for sources...\n" d=`dirname $srcfile` ( cd "$d" || exit # Set PATS to a list of globbing patterns that expand to # file names to be put into the .tar.gz for sources. # Omit patterns that do not expand to file names. pats= if case `$MAKEINFO --version | sed -e 's/^[^0-9]*//' -e 1q` in \ [1-6]* | 7.[01]*) false;; \ *) true;; \ esac \ ; then for pat in '*.eps'; do for file in $pat; do test "$file" = "$pat" && test ! -e "$file" || pats="$pats $pat" break done done # if $MAKEINFO is recent enough, use --trace-includes on the # $srcfile to get the included files of the targeted manual only base=`basename "$srcfile"` cmd="$SETLANG $MAKEINFO $commonarg --trace-includes \"$base\"" eval "$cmd" \ | tar -czhf "$abs_outdir/$PACKAGE.texi.tar.gz" \ --verbatim-files-from -T- -- "$base" $pats \ ${source_extra+"$source_extra"} \ && ls -l "$abs_outdir/$PACKAGE.texi.tar.gz" else for pat in '*.texinfo' '*.texi' '*.txi' '*.eps'; do for file in $pat; do test "$file" = "$pat" && test ! -e "$file" || pats="$pats $pat" break done done tar -czhf "$abs_outdir/$PACKAGE.texi.tar.gz" \ -- $pats ${source_extra+"$source_extra"} \ && ls -l "$abs_outdir/$PACKAGE.texi.tar.gz" fi ) || exit texi_tgz_size=`calcsize "$outdir/$PACKAGE.texi.tar.gz"` # # Do everything again through docbook. if test -n "$docbook"; then opt="-o - --docbook $commonarg" cmd="$SETLANG $MAKEINFO $opt \"$srcfile\" >${srcdir}/$PACKAGE-db.xml" printf "\nGenerating docbook XML... (%s)\n" "$cmd" eval "$cmd" docbook_xml_size=`calcsize $PACKAGE-db.xml` gzip -f -9 -c $PACKAGE-db.xml >"$outdir/$PACKAGE-db.xml.gz" docbook_xml_gz_size=`calcsize "$outdir/$PACKAGE-db.xml.gz"` mv $PACKAGE-db.xml "$outdir/" split_html_db_dir=html_node_db opt="$commonarg -o $split_html_db_dir" cmd="$DOCBOOK2HTML $opt \"${outdir}/$PACKAGE-db.xml\"" printf "\nGenerating docbook HTML... (%s)\n" "$cmd" eval "$cmd" ( cd ${split_html_db_dir} || exit 1 tar -czf "$abs_outdir/${PACKAGE}.html_node_db.tar.gz" -- *.html ) html_node_db_tgz_size=`calcsize "$outdir/${PACKAGE}.html_node_db.tar.gz"` rm -f "$outdir"/html_node_db/*.html mkdir -p "$outdir/html_node_db" mv ${split_html_db_dir}/*.html "$outdir/html_node_db/" rmdir ${split_html_db_dir} cmd="$DOCBOOK2TXT \"${outdir}/$PACKAGE-db.xml\"" printf "\nGenerating docbook ASCII... (%s)\n" "$cmd" eval "$cmd" docbook_ascii_size=`calcsize $PACKAGE-db.txt` mv $PACKAGE-db.txt "$outdir/" cmd="$DOCBOOK2PDF \"${outdir}/$PACKAGE-db.xml\"" printf "\nGenerating docbook PDF... (%s)\n" "$cmd" eval "$cmd" docbook_pdf_size=`calcsize $PACKAGE-db.pdf` mv $PACKAGE-db.pdf "$outdir/" fi # printf "\nMaking index.html for %s...\n" "$PACKAGE" if test -z "$use_texi2html"; then if test x$split = xnode; then CONDS="/%%IF *HTML_NODE%%/d;/%%ENDIF *HTML_NODE%%/d;\ /%%IF *HTML_CHAPTER%%/,/%%ENDIF *HTML_CHAPTER%%/d;\ /%%IF *HTML_SECTION%%/,/%%ENDIF *HTML_SECTION%%/d;" elif test x$split = xchapter; then CONDS="/%%IF *HTML_CHAPTER%%/d;/%%ENDIF *HTML_CHAPTER%%/d;\ /%%IF *HTML_SECTION%%/,/%%ENDIF *HTML_SECTION%%/d;\ /%%IF *HTML_NODE%%/,/%%ENDIF *HTML_NODE%%/d;" elif test x$split = xsection; then CONDS="/%%IF *HTML_SECTION%%/d;/%%ENDIF *HTML_SECTION%%/d;\ /%%IF *HTML_CHAPTER%%/,/%%ENDIF *HTML_CHAPTER%%/d;\ /%%IF *HTML_NODE%%/,/%%ENDIF *HTML_NODE%%/d;" else CONDS="/%%IF.*%%/d;/%%ENDIF.*%%/d;" # invalid split argument fi else # for texi2html, we do not take account of --split and simply output # all variants CONDS="/%%IF.*%%/d;/%%ENDIF.*%%/d;" fi curdate=`$SETLANG date '+%B %d, %Y'` sed \ -e "s!%%TITLE%%!$MANUAL_TITLE!g" \ -e "s!%%EMAIL%%!$EMAIL!g" \ -e "s!%%PACKAGE%%!$PACKAGE!g" \ -e "s!%%DATE%%!$curdate!g" \ -e "s!%%HTML_MONO_SIZE%%!$html_mono_size!g" \ -e "s!%%HTML_MONO_GZ_SIZE%%!$html_mono_gz_size!g" \ -e "s!%%HTML_NODE_TGZ_SIZE%%!$html_node_tgz_size!g" \ -e "s!%%HTML_SECTION_TGZ_SIZE%%!$html_section_tgz_size!g" \ -e "s!%%HTML_CHAPTER_TGZ_SIZE%%!$html_chapter_tgz_size!g" \ -e "s!%%INFO_TGZ_SIZE%%!$info_tgz_size!g" \ -e "s!%%DVI_GZ_SIZE%%!$dvi_gz_size!g" \ -e "s!%%PDF_SIZE%%!$pdf_size!g" \ -e "s!%%ASCII_SIZE%%!$ascii_size!g" \ -e "s!%%ASCII_GZ_SIZE%%!$ascii_gz_size!g" \ -e "s!%%TEXI_TGZ_SIZE%%!$texi_tgz_size!g" \ -e "s!%%DOCBOOK_HTML_NODE_TGZ_SIZE%%!$html_node_db_tgz_size!g" \ -e "s!%%DOCBOOK_ASCII_SIZE%%!$docbook_ascii_size!g" \ -e "s!%%DOCBOOK_PDF_SIZE%%!$docbook_pdf_size!g" \ -e "s!%%DOCBOOK_XML_SIZE%%!$docbook_xml_size!g" \ -e "s!%%DOCBOOK_XML_GZ_SIZE%%!$docbook_xml_gz_size!g" \ -e "s,%%SCRIPTURL%%,$scripturl,g" \ -e "s!%%SCRIPTNAME%%!$prog!g" \ -e "$CONDS" \ $GENDOCS_TEMPLATE_DIR/gendocs_template >"$outdir/index.html" echo "Done, see $outdir/ subdirectory for new files." # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/git-log-fix������������������������������������������������������������������0000644�0000000�0000000�00000000540�14352357450�012546� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# This file is expected to be used via gitlog-to-changelog's --amend=FILE # option. It specifies what changes to make to each given SHA1's commit # log and metadata, using Perl-eval'able expressions. # Here is an example, with leading "#" to comment it out: # #3a169f4c5d9159283548178668d2fae6fced3030 ## fix title: #s/all tile types/all file types/ ����������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/git-version-gen��������������������������������������������������������������0000754�0000000�0000000�00000021262�14767402206�013443� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # Print a version string. scriptversion=2025-01-28.09; # UTC # Copyright (C) 2007-2025 Free Software Foundation, Inc. # # 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 <https://www.gnu.org/licenses/>. # This script is derived from GIT-VERSION-GEN from GIT: https://git-scm.com/. # It may be run in the following ways, presuming the script is invoked # like "./git-version-gen .tarball-version": # # - from a git repository in which the "git describe" command below # produces useful output (thus requiring at least one signed tag) # # - from a "make dist" non-git-repo directory containing a # .tarball-version file # # - from a "git archive" non-git-repo directory containing a # .tarball-version-git file # In order to use intra-version strings in your project, you will need some # separate generated version string files: # # .tarball-version - contains the version number assigned by the maintainer. # Present or missing in a checked-out repository, at the discretion of the # maintainer/contributor. Present in a distribution tarball, because the # tarball does not include the version control history. # Used by git-version-gen as an override. # Cannot be used in any dependencies (since it may be absent). # GNUmakefile has hooks to force a reconfigure at "make dist" time to get # the value correct, without penalizing normal development with extra # reconfigures. # # .tarball-version-git - a file committed to git containing a single # line with the string $Format:%(describe)$ and that the file is # marked in .gitattributes with ".tarball-version-git export-subst". # If the file doesn't exist or the export-subst keyword wasn't # effective, the file is ignored. # # Use the following snippet in your configure.ac, so that $(VERSION) will # automatically be up-to-date each time configure is run (and note that # since configure.ac no longer includes a version string, Makefile rules # should not depend on configure.ac for version updates). # # AC_INIT([@var{package}], [package]) # AC_CONFIG_SRCDIR([@var{unique-file-in-source-dir}]) # AC_CONFIG_AUX_DIR([build-aux]) # VERSION_NUMBER=`cd $srcdir \ # && build-aux/git-version-gen .tarball-version` # gl_INIT_PACKAGE_VERSION([$VERSION_NUMBER]) # AM_INIT_AUTOMAKE([@var{options}]) # # Then use the following lines in your Makefile.am, so that # .tarball-version will exist in distribution tarballs. # # dist-hook: dist-tarball-version # .PHONY: dist-tarball-version # dist-tarball-version: # echo '$(VERSION)' > $(distdir)/.tarball-version # # To setup support for "git archive" tarballs, use the following: # # echo '$Format:%(describe)$' > .tarball-version-git # echo '.tarball-version-git export-subst' >> .gitattributes # git add .tarball-version-git .gitattributes # git commit -m "Add .tarball-version-git for git-version-gen." me=$0 year=`expr "$scriptversion" : '\([^-]*\)'` version="git-version-gen $scriptversion Copyright (C) ${year} Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." usage="\ Usage: $me [OPTION]... \$srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT] Print a version string. Options: --prefix PREFIX prefix of git tags (default 'v') --fallback VERSION fallback version to use if \"git --version\" fails --help display this help and exit --version output version information and exit Send patches and bug reports to <bug-gnulib@gnu.org>." prefix=v fallback= while test $# -gt 0; do case $1 in --help) echo "$usage"; exit 0;; --version) echo "$version"; exit 0;; --prefix) shift; prefix=${1?};; --fallback) shift; fallback=${1?};; -*) echo "$0: Unknown option '$1'." >&2 echo "$0: Try '--help' for more information." >&2 exit 1;; *) if test "x$tarball_version_file" = x; then tarball_version_file="$1" elif test "x$tag_sed_script" = x; then tag_sed_script="$1" else echo "$0: extra non-option argument '$1'." >&2 exit 1 fi;; esac shift done if test "x$tarball_version_file" = x; then echo "$usage" exit 1 fi tag_sed_script="${tag_sed_script:-s/x/x/}" nl=' ' # Avoid meddling by environment variable of the same name. v= v_from_git= # First see if there is a tarball-only version file. # then try "git describe", then default. if test -f "$tarball_version_file" then v=`cat "$tarball_version_file"` || v= case $v in *$nl*) v= ;; # reject multi-line output esac test "x$v" = x \ && echo "$0: WARNING: $tarball_version_file is damaged" 1>&2 fi if test "x$v" != x then : # use $v # Otherwise, if there is at least one git commit involving the working # directory, and "git describe" output looks sensible, use that to # derive a version string. elif test "`git log -1 --pretty=format:x . 2>&1`" = x \ && v=`git describe --abbrev=4 --match="$prefix*" HEAD 2>/dev/null \ || git describe --abbrev=4 HEAD 2>/dev/null` \ && v=`printf '%s\n' "$v" | sed "$tag_sed_script"` \ && case $v in $prefix[0-9]*) ;; *) (exit 1) ;; esac then # Is this a new git that lists number of commits since the last # tag or the previous older version that did not? # Newer: v6.10-77-g0f8faeb # Older: v6.10-g0f8faeb vprefix=`expr "X$v" : 'X\(.*\)-g[^-]*$'` || vprefix=$v case $vprefix in *-*) : git describe is probably okay three part flavor ;; *) : git describe is older two part flavor # Recreate the number of commits and rewrite such that the # result is the same as if we were using the newer version # of git describe. vtag=`echo "$v" | sed 's/-.*//'` commit_list=`git rev-list "$vtag"..HEAD 2>/dev/null` \ || { commit_list=failed; echo "$0: WARNING: git rev-list failed" 1>&2; } numcommits=`echo "$commit_list" | wc -l` v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`; test "$commit_list" = failed && v=UNKNOWN ;; esac v_from_git=1 elif test "x$fallback" = x || git --version >/dev/null 2>&1; then v=UNKNOWN else v=$fallback fi if test "x$v" = xUNKNOWN \ && test -f "$tarball_version_file"-git \ && v=$(head -1 "$tarball_version_file"-git); then case $v in *Format*) v=UNKNOWN ;; esac fi # Change the penultimate "-" to ".", for version-comparing tools. # Remove the "g" to save a byte. v=`echo "$v" | sed 's/-\([^-]*\)-g\([^-]*\)$/.\1-\2/'`; v=`echo "$v" |sed "s/^$prefix//"` # The "-modified" suffix was previously called "-dirty". While this term # was invented by the git people to designate a checkout that is not "clean", # it has a negative connotation that is not in line with the fact that # a Free Software developer routinely works with modified source code. # In fact, modifying source code is the *essence* of Free Software. # What we need here is a term that is suitable for naming tarballs, without # shaming the developer. Giving a name to a tarball is something else than # describing the state of a git checkout. # # Test whether to append the "-modified" suffix only if the version # string we're using came from git. I.e., skip the test if it's "UNKNOWN" # or if it came from .tarball-version. if test "x$v_from_git" != x; then # Don't declare a version "modified" merely because a timestamp has changed. git update-index --refresh > /dev/null 2>&1 modified=`exec 2>/dev/null;git diff-index --name-only HEAD` || modified= case "$modified" in '') ;; *) # Append the suffix only if there isn't one already. case $v in *-dirty | *-modified) ;; *) v="$v-modified" ;; esac ;; esac fi # Omit the trailing newline, so that m4_esyscmd can use the result directly. printf %s "$v" # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/gitlog-to-changelog����������������������������������������������������������0000754�0000000�0000000�00000042353�14767401140�014260� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh #! -*-perl-*- # Convert git log output to ChangeLog format. # Copyright (C) 2008-2025 Free Software Foundation, Inc. # # 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 <https://www.gnu.org/licenses/>. # # Written by Jim Meyering # This is a prologue that allows running a perl script as an executable # on systems that are compliant to a POSIX version before POSIX:2017. # On such systems, the usual invocation of an executable through execlp() # or execvp() fails with ENOEXEC if it is a script that does not start # with a #! line. The script interpreter mentioned in the #! line has # to be /bin/sh, because on GuixSD systems that is the only program that # has a fixed file name. The second line is essential for perl and is # also useful for editing this file in Emacs. The next two lines below # are valid code in both sh and perl. When executed by sh, they re-execute # the script through the perl program found in $PATH. The '-x' option # is essential as well; without it, perl would re-execute the script # through /bin/sh. When executed by perl, the next two lines are a no-op. eval 'exec perl -wSx "$0" "$@"' if 0; my $VERSION = '2024-07-17 02:20'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. (my $copyright_year = $VERSION) =~ s/^(\d*)-.*$/$1/; use strict; use warnings; use Getopt::Long; use POSIX qw(strftime); (my $ME = $0) =~ s|.*/||; # use File::Coda; # https://meyering.net/code/Coda/ END { defined fileno STDOUT or return; close STDOUT and return; warn "$ME: failed to close standard output: $!\n"; $? ||= 1; } sub usage ($) { my ($exit_code) = @_; my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { print $STREAM "Try '$ME --help' for more information.\n"; } else { print $STREAM <<EOF; Usage: $ME [OPTIONS] [ARGS] Convert git log output to ChangeLog format. If present, any ARGS are passed to "git log". To avoid ARGS being parsed as options to $ME, they may be preceded by '--'. OPTIONS: --amend=FILE FILE maps from an SHA1 to perl code (i.e., s/old/new/) that makes a change to SHA1's commit log text or metadata. --append-dot append a dot to the first line of each commit message if there is no other punctuation or blank at the end. --no-cluster never cluster commit messages under the same date/author header; the default is to cluster adjacent commit messages if their headers are the same and neither commit message contains multiple paragraphs. --srcdir=DIR the root of the source tree, from which the .git/ directory can be derived. --since=DATE convert only the logs since DATE; the default is to convert all log entries. --until=DATE convert only the logs older than DATE. --ignore-matching=PAT ignore commit messages whose first lines match PAT. --ignore-line=PAT ignore lines of commit messages that match PAT. --format=FMT set format string for commit subject and body; see 'man git-log' for the list of format metacharacters; the default is '%s%n%b%n' --strip-tab remove one additional leading TAB from commit message lines. --strip-cherry-pick remove data inserted by "git cherry-pick"; this includes the "cherry picked from commit ..." line, and the possible final "Conflicts:" paragraph. --commit-timezone use dates respecting the timezone commits were made in. --help display this help and exit --version output version information and exit EXAMPLE: $ME --since=2008-01-01 > ChangeLog $ME -- -n 5 foo > last-5-commits-to-branch-foo SPECIAL SYNTAX: The following types of strings are interpreted specially when they appear at the beginning of a log message line. They are not copied to the output. Copyright-paperwork-exempt: Yes Append the "(tiny change)" notation to the usual "date name email" ChangeLog header to mark a change that does not require a copyright assignment. Co-authored-by: Joe User <user\@example.com> List the specified name and email address on a second ChangeLog header, denoting a co-author. Signed-off-by: Joe User <user\@example.com> These lines are simply elided. In a FILE specified via --amend, comment lines (starting with "#") are ignored. FILE must consist of <SHA,CODE+> pairs where SHA is a 40-byte SHA1 (alone on a line) referring to a commit in the current project, and CODE refers to one or more consecutive lines of Perl code. Pairs must be separated by one or more blank line. Here is sample input for use with --amend=FILE, from coreutils: 3a169f4c5d9159283548178668d2fae6fced3030 # fix typo in title: s/all tile types/all file types/ 1379ed974f1fa39b12e2ffab18b3f7a607082202 # Due to a bug in vc-dwim, I mis-attributed a patch by Paul to myself. # Change the author to be Paul. Note the escaped "@": s,Jim .*>,Paul Eggert <eggert\\\@cs.ucla.edu>, Send patches and bug reports to <bug-gnulib\@gnu.org>. EOF } exit $exit_code; } sub print_version () { print "$ME version $VERSION\n"; print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n"; print "License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>\n" . "This is free software: you are free to change and redistribute it.\n" . "There is NO WARRANTY, to the extent permitted by law.\n"; print "\n"; my $author = "Jim Meyering"; print "Written by $author.\n"; } # If the string $S is a well-behaved file name, simply return it. # If it contains white space, quotes, etc., quote it, and return the new string. sub shell_quote($) { my ($s) = @_; if ($s =~ m![^\w+/.,-]!) { # Convert each single quote to '\'' $s =~ s/\'/\'\\\'\'/g; # Then single quote the string. $s = "'$s'"; } return $s; } sub quoted_cmd(@) { return join (' ', map {shell_quote $_} @_); } # Parse file F. # Comment lines (starting with "#") are ignored. # F must consist of <SHA,CODE+> pairs where SHA is a 40-byte SHA1 # (alone on a line) referring to a commit in the current project, and # CODE refers to one or more consecutive lines of Perl code. # Pairs must be separated by one or more blank line. sub parse_amend_file($) { my ($f) = @_; open F, '<', $f or die "$ME: $f: failed to open for reading: $!\n"; my $fail; my $h = {}; my $in_code = 0; my $sha; while (defined (my $line = <F>)) { $line =~ /^\#/ and next; chomp $line; $line eq '' and $in_code = 0, next; if (!$in_code) { $line =~ /^([[:xdigit:]]{40})$/ or (warn "$ME: $f:$.: invalid line; expected an SHA1\n"), $fail = 1, next; $sha = lc $1; $in_code = 1; exists $h->{$sha} and (warn "$ME: $f:$.: duplicate SHA1\n"), $fail = 1, next; } else { $h->{$sha} ||= ''; $h->{$sha} .= "$line\n"; } } close F; $fail and exit 1; return $h; } # git_dir_option $SRCDIR # # From $SRCDIR, the --git-dir option to pass to git (none if $SRCDIR # is undef). Return as a list (0 or 1 element). sub git_dir_option($) { my ($srcdir) = @_; my @res = (); if (defined $srcdir) { my $qdir = shell_quote $srcdir; my $cmd = "cd $qdir && git rev-parse --show-toplevel"; my $qcmd = shell_quote $cmd; my $git_dir = qx($cmd); defined $git_dir or die "$ME: cannot run $qcmd: $!\n"; $? == 0 or die "$ME: $qcmd had unexpected exit code or signal ($?)\n"; chomp $git_dir; push @res, "--git-dir=$git_dir/.git"; } @res; } { my $since_date; my $until_date; my $format_string = '%s%n%b%n'; my $amend_file; my $append_dot = 0; my $cluster = 1; my $ignore_matching; my $ignore_line; my $strip_tab = 0; my $strip_cherry_pick = 0; my $commit_timezone = 0; my $srcdir; GetOptions ( help => sub { usage 0 }, version => sub { print_version; exit }, 'since=s' => \$since_date, 'until=s' => \$until_date, 'format=s' => \$format_string, 'amend=s' => \$amend_file, 'append-dot' => \$append_dot, 'cluster!' => \$cluster, 'ignore-matching=s' => \$ignore_matching, 'ignore-line=s' => \$ignore_line, 'strip-tab' => \$strip_tab, 'strip-cherry-pick' => \$strip_cherry_pick, 'commit-timezone' => \$commit_timezone, 'srcdir=s' => \$srcdir, ) or usage 1; defined $since_date and unshift @ARGV, "--since=$since_date"; defined $until_date and unshift @ARGV, "--until=$until_date"; # This is a hash that maps an SHA1 to perl code (i.e., s/old/new/) # that makes a correction in the log or attribution of that commit. my $amend_code = defined $amend_file ? parse_amend_file $amend_file : {}; my $commit_time_format = $commit_timezone ? '%cI' : '%ct'; my @cmd = ('git', git_dir_option $srcdir, qw(log --log-size), ("--pretty=format:%H:$commit_time_format" . ' %an <%ae>%n%n'.$format_string, @ARGV)); open PIPE, '-|', @cmd or die ("$ME: failed to run '". quoted_cmd (@cmd) ."': $!\n" . "(Is your Git too old? Version 1.5.1 or later is required.)\n"); my $prev_multi_paragraph; my $prev_date_line = ''; my @prev_coauthors = (); my @skipshas = (); while (1) { defined (my $in = <PIPE>) or last; $in =~ /^log size (\d+)$/ or die "$ME:$.: Invalid line (expected log size):\n$in"; my $log_nbytes = $1; my $log; my $n_read = read PIPE, $log, $log_nbytes; $n_read == $log_nbytes or die "$ME:$.: unexpected EOF\n"; # Extract leading hash. my ($sha, $rest) = split ':', $log, 2; defined $sha or die "$ME:$.: malformed log entry\n"; $sha =~ /^[[:xdigit:]]{40}$/ or die "$ME:$.: invalid SHA1: $sha\n"; my $skipflag = 0; if (@skipshas) { foreach(@skipshas) { if ($sha =~ /^$_/) { $skipflag = $_; last; } } } # If this commit's log requires any transformation, do it now. my $code = $amend_code->{$sha}; if (defined $code) { eval 'use Safe'; my $s = new Safe; # Put the unpreprocessed entry into "$_". $_ = $rest; # Let $code operate on it, safely. my $r = $s->reval("$code") or die "$ME:$.:$sha: failed to eval \"$code\":\n$@\n"; # Note that we've used this entry. delete $amend_code->{$sha}; # Update $rest upon success. $rest = $_; } # Remove lines inserted by "git cherry-pick". if ($strip_cherry_pick) { $rest =~ s/^\s*Conflicts:\n.*//sm; $rest =~ s/^\s*\(cherry picked from commit [\da-f]+\)\n//m; } my @line = split /[ \t]*\n/, $rest; my $author_line = shift @line; defined $author_line or die "$ME:$.: unexpected EOF\n"; $author_line =~ /^(\S+) (.*>)$/ or die "$ME:$.: Invalid line " . "(expected date/author/email):\n$author_line\n"; # Author <email> my $author = $2; my $commit_date = $1; if (! $commit_timezone) { # Seconds since the Epoch. $commit_date = strftime "%Y-%m-%d", localtime ($commit_date); } else { # ISO 8601 date. $commit_date =~ s/T.*$//; } # Format 'Copyright-paperwork-exempt: Yes' as a standard ChangeLog # '(tiny change)' annotation. my $tiny = (grep (/^(?:Copyright-paperwork-exempt|Tiny-change):\s+[Yy]es$/, @line) ? ' (tiny change)' : ''); my $date_line = "$commit_date $author$tiny\n"; my @coauthors = grep /^Co-authored-by:.*$/, @line; # Omit meta-data lines we've already interpreted. @line = grep !/^(?:Signed-off-by:[ ].*>$ |Co-authored-by:[ ] |Copyright-paperwork-exempt:[ ] |Tiny-change:[ ] )/x, @line; # Remove leading and trailing blank lines. if (@line) { while ($line[0] =~ /^\s*$/) { shift @line; } while ($line[$#line] =~ /^\s*$/) { pop @line; } } # Handle Emacs gitmerge.el "skipped" commits. # Yes, this should be controlled by an option. So sue me. if ( grep /^(; )?Merge from /, @line ) { my $found = 0; foreach (@line) { if (grep /^The following commit.*skipped:$/, $_) { $found = 1; ## Reset at each merge to reduce chance of false matches. @skipshas = (); next; } if ($found && $_ =~ /^([[:xdigit:]]{7,}) [^ ]/) { push ( @skipshas, $1 ); } } } # Ignore commits that match the --ignore-matching pattern, if specified. if (defined $ignore_matching && @line && $line[0] =~ /$ignore_matching/) { $skipflag = 1; } elsif ($skipflag) { ## Perhaps only warn if a pattern matches more than once? warn "$ME: warning: skipping $sha due to $skipflag\n"; } if (! $skipflag) { if (defined $ignore_line && @line) { @line = grep ! /$ignore_line/, @line; while ($line[$#line] =~ /^\s*$/) { pop @line; } } # Record whether there are two or more paragraphs. my $multi_paragraph = grep /^\s*$/, @line; # Format 'Co-authored-by: A U Thor <email@example.com>' lines in # standard multi-author ChangeLog format. for (@coauthors) { s/^Co-authored-by:\s*/\t /; s/\s*</ </; /<.*?@.*\..*>/ or warn "$ME: warning: missing email address for " . substr ($_, 5) . "\n"; } # If clustering of commit messages has been disabled, if this header # would be different from the previous date/name/etc. header, # or if this or the previous entry consists of two or more paragraphs, # then print the header. if ( ! $cluster || $date_line ne $prev_date_line || "@coauthors" ne "@prev_coauthors" || $multi_paragraph || $prev_multi_paragraph) { $prev_date_line eq '' or print "\n"; print $date_line; @coauthors and print join ("\n", @coauthors), "\n"; } $prev_date_line = $date_line; @prev_coauthors = @coauthors; $prev_multi_paragraph = $multi_paragraph; # If there were any lines if (@line == 0) { warn "$ME: warning: empty commit message:\n" . " commit $sha\n $date_line\n"; } else { if ($append_dot) { # If the first line of the message has enough room, then if (length $line[0] < 72) { # append a dot if there is no other punctuation or blank # at the end. $line[0] =~ /[[:punct:]\s]$/ or $line[0] .= '.'; } } # Remove one additional leading TAB from each line. $strip_tab and map { s/^\t// } @line; # Prefix each non-empty line with a TAB. @line = map { length $_ ? "\t$_" : '' } @line; print "\n", join ("\n", @line), "\n"; } } defined ($in = <PIPE>) or last; $in ne "\n" and die "$ME:$.: unexpected line:\n$in"; } close PIPE or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n"; # FIXME-someday: include $PROCESS_STATUS in the diagnostic # Complain about any unused entry in the --amend=F specified file. my $fail = 0; foreach my $sha (sort keys %$amend_code) { warn "$ME:$amend_file: unused entry: $sha\n"; $fail = 1; } exit $fail; } # Local Variables: # mode: perl # indent-tabs-mode: nil # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-line-limit: 50 # time-stamp-start: "my $VERSION = '" # time-stamp-format: "%:y-%02m-%02d %02H:%02M" # time-stamp-time-zone: "UTC0" # time-stamp-end: "'; # UTC" # End: �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/gnu-web-doc-update�����������������������������������������������������������0000754�0000000�0000000�00000014224�14767401140�014011� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # Run this after each non-alpha release, to update the web documentation at # https://www.gnu.org/software/$pkg/manual/ VERSION=2024-07-04.10; # UTC # Copyright (C) 2009-2025 Free Software Foundation, Inc. # 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 <https://www.gnu.org/licenses/>. ME=$(basename "$0") warn() { printf '%s: %s\n' "$ME" "$*" >&2; } die() { warn "$*"; exit 1; } help() { cat <<EOF Usage: $ME Run this script from top_srcdir (no arguments) after each non-alpha release, to update the web documentation at https://www.gnu.org/software/\$pkg/manual/ This script assumes you're using git for revision control, and requires a .prev-version file as well as a Makefile, from which it extracts the version number and package name, respectively. Also, it assumes all documentation is in the doc/ sub-directory. Options: -C, --builddir=DIR location of (configured) Makefile (default: .) -n, --dry-run don't actually commit anything -m, --mirror remove out of date files from document server -u, --user the name of the CVS user on Savannah --help print this help, then exit --version print version number, then exit Report bugs and patches to <bug-gnulib@gnu.org>. EOF exit } version() { year=$(echo "$VERSION" | sed 's/[^0-9].*//') cat <<EOF $ME $VERSION Copyright (C) $year Free Software Foundation, Inc, License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. EOF exit } # find_tool ENVVAR NAMES... # ------------------------- # Search for a required program. Use the value of ENVVAR, if set, # otherwise find the first of the NAMES that can be run (i.e., # supports --version). If found, set ENVVAR to the program name, # die otherwise. # # FIXME: code duplication, see also bootstrap. find_tool () { find_tool_envvar=$1 shift find_tool_names=$@ eval "find_tool_res=\$$find_tool_envvar" if test x"$find_tool_res" = x; then for i do if ($i --version </dev/null) >/dev/null 2>&1; then find_tool_res=$i break fi done else find_tool_error_prefix="\$$find_tool_envvar: " fi test x"$find_tool_res" != x \ || die "one of these is required: $find_tool_names" ($find_tool_res --version </dev/null) >/dev/null 2>&1 \ || die "${find_tool_error_prefix}cannot run $find_tool_res --version" eval "$find_tool_envvar=\$find_tool_res" eval "export $find_tool_envvar" } ## ------ ## ## Main. ## ## ------ ## # Requirements: everything required to bootstrap your package, plus # these. find_tool CVS cvs find_tool GIT git find_tool RSYNC rsync find_tool XARGS gxargs xargs builddir=. dryrun= rm_stale='echo' cvs_user="$USER" while test $# != 0 do # Handle --option=value by splitting apart and putting back on argv. case $1 in --*=*) opt=$(echo "$1" | sed -e 's/=.*//') val=$(echo "$1" | sed -e 's/[^=]*=//') shift set dummy "$opt" "$val" "$@"; shift ;; esac case $1 in --help|--version) ${1#--};; -C|--builddir) shift; builddir=$1; shift ;; -n|--dry-run) dryrun=echo; shift;; -m|--mirror) rm_stale=''; shift;; -u|--user) shift; cvs_user=$1; shift ;; --*) die "unrecognized option: $1";; *) break;; esac done test $# = 0 \ || die "too many arguments" prev=.prev-version version=$(cat $prev) || die "no $prev file?" pkg=$(sed -n 's/^PACKAGE = \(.*\)/\1/p' $builddir/Makefile) \ || die "no Makefile?" tmp_branch=web-doc-$version-$$ current_branch=$($GIT branch | sed -ne '/^\* /{s///;p;q;}') cleanup() { __st=$? $dryrun rm -rf "$tmp" $GIT checkout "$current_branch" $GIT submodule update --recursive $GIT branch -d $tmp_branch exit $__st } trap cleanup EXIT trap 'exit $?' HUP INT PIPE TERM # We must build using sources for which --version reports the # just-released version number, not some string like 7.6.18-20761. # That version string propagates into all documentation. set -e $GIT checkout -b $tmp_branch v$version $GIT submodule update --recursive ./bootstrap srcdir=$(pwd) cd "$builddir" builddir=$(pwd) ./config.status --recheck ./config.status make make web-manual cd "$srcdir" set +e tmp=$(mktemp -d web-doc-update.XXXXXX) || exit 1 ( cd $tmp \ && $CVS -d $cvs_user@cvs.savannah.gnu.org:/webcvs/$pkg co $pkg ) $RSYNC -avP "$builddir"/doc/manual/ $tmp/$pkg/manual ( cd $tmp/$pkg test -d manual/CVS || $dryrun $CVS add -ko manual cd manual # Add all the files. This is simpler than trying to add only the # new ones because of new directories # First add non empty dirs individually find . -name CVS -prune -o -type d \! -empty -print \ | $XARGS -n1 --no-run-if-empty -- $dryrun $CVS add -ko # Now add all files find . -name CVS -prune -o -type f -print \ | $XARGS --no-run-if-empty -- $dryrun $CVS add -ko # Report/Remove stale files # excluding doc server specific files like CVS/* and .symlinks if test -n "$rm_stale"; then echo 'Consider the --mirror option if all of the manual is generated,' >&2 echo 'which will run `cvs remove` to remove stale files.' >&2 fi { find . \( -name CVS -o -type f -name '.*' \) -prune -o -type f -print (cd "$builddir"/doc/manual/ && find . -type f -print | sed p) } | sort | uniq -u \ | $XARGS --no-run-if-empty -- ${rm_stale:-$dryrun} $CVS remove -f $dryrun $CVS ci -m $version ) # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "VERSION=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/gnupload���������������������������������������������������������������������0000754�0000000�0000000�00000033024�14767401140�012232� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # Sign files and upload them. scriptversion=2024-12-09.08; # UTC # Copyright (C) 2004-2025 Free Software Foundation, Inc. # # 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 2, 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 <https://www.gnu.org/licenses/>. # Originally written by Alexandre Duret-Lutz <adl@gnu.org>. # The master copy of this file is maintained in the gnulib Git repository. # Please send bug reports and feature requests to bug-gnulib@gnu.org. set -e GPG=gpg # Choose the proper version of gpg, so as to avoid a # "gpg-agent is not available in this session" error # when gpg-agent is version 2 but gpg is still version 1. # FIXME-2020: remove, once all major distros ship gpg version 2 as /usr/bin/gpg gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'` case "$gpg_agent_version" in 2.*) gpg_version=`(gpg --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'` case "$gpg_version" in 1.*) if (type gpg2) >/dev/null 2>/dev/null; then # gpg2 is present. GPG=gpg2 else # gpg2 is missing. Ubuntu users should install the package 'gnupg2'. echo "WARNING: Using 'gpg', which is too old. You should install 'gpg2'." 1>&2 fi ;; esac ;; esac GPG="${GPG} --batch --no-tty" conffile=.gnuploadrc to= dry_run=false replace= symlink_files= delete_files= delete_symlinks= collect_var= dbg= nl=' ' usage="Usage: $0 [OPTION]... [CMD] FILE... [[CMD] FILE...] Sign all FILES, and process them at the destinations specified with --to. If CMD is not given, it defaults to uploading. See examples below. Commands: --delete delete FILES from destination --symlink create symbolic links --rmsymlink remove symbolic links -- treat the remaining arguments as files to upload Options: --to DEST specify a destination DEST for FILES (multiple --to options are allowed) --user NAME sign with key NAME --replace allow replacements of existing files --symlink-regex[=EXPR] use sed script EXPR to compute symbolic link names -n, --dry-run do nothing, show what would have been done (including the constructed directive file) --version output version information and exit -h, --help print this help text and exit If --symlink-regex is given without EXPR, then the link target name is created by replacing the version information with '-latest', e.g.: foo-1.3.4.tar.gz -> foo-latest.tar.gz Recognized destinations are: alpha.gnu.org:DIRECTORY savannah.gnu.org:DIRECTORY savannah.nongnu.org:DIRECTORY ftp.gnu.org:DIRECTORY build directive files and upload files by FTP download.gnu.org.ua:{alpha|ftp}/DIRECTORY build directive files and upload files by SFTP [user@]host:DIRECTORY upload files with scp Options and commands are applied in order. If the file $conffile exists in the current working directory, its contents are prepended to the actual command line options. Use this to keep your defaults. Comments (#) and empty lines in $conffile are allowed. You may need to set GPG_TTY=\$(tty) in your environment. See the gpg-agent man page. <https://www.gnu.org/prep/maintain/html_node/Automated-FTP-Uploads.html> gives some further background. Examples: 1. Upload foobar-1.0.tar.gz to ftp.gnu.org: gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz 2. Upload foobar-1.0.tar.gz and foobar-1.0.tar.xz to ftp.gnu.org: gnupload --to ftp.gnu.org:foobar foobar-1.0.tar.gz foobar-1.0.tar.xz 3. Same as above, and also create symbolic links to foobar-latest.tar.*: gnupload --to ftp.gnu.org:foobar \\ --symlink-regex \\ foobar-1.0.tar.gz foobar-1.0.tar.xz 4. Create a symbolic link foobar-latest.tar.gz -> foobar-1.0.tar.gz and likewise for the corresponding .sig file: gnupload --to ftp.gnu.org:foobar \\ --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\ foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig or (equivalent): gnupload --to ftp.gnu.org:foobar \\ --symlink foobar-1.0.tar.gz foobar-latest.tar.gz \\ --symlink foobar-1.0.tar.gz.sig foobar-latest.tar.gz.sig 5. Upload foobar-0.9.90.tar.gz to two sites: gnupload --to alpha.gnu.org:foobar \\ --to sources.redhat.com:~ftp/pub/foobar \\ foobar-0.9.90.tar.gz 6. Delete oopsbar-0.9.91.tar.gz and upload foobar-0.9.91.tar.gz (the -- terminates the list of files to delete): gnupload --to alpha.gnu.org:foobar \\ --to sources.redhat.com:~ftp/pub/foobar \\ --delete oopsbar-0.9.91.tar.gz \\ -- foobar-0.9.91.tar.gz gnupload executes a program ncftpput to do the transfers; if you don't happen to have an ncftp package installed, the ncftpput-ftp script in the build-aux/ directory of the gnulib package (https://savannah.gnu.org/projects/gnulib) may serve as a replacement. Send patches and bug reports to <bug-gnulib@gnu.org>." copyright_year=`echo "$scriptversion" | sed -e 's/[^0-9].*//'` copyright="Copyright (C) ${copyright_year} Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law." # Read local configuration file if test -r "$conffile"; then echo "$0: Reading configuration file $conffile" conf=`sed 's/#.*$//;/^$/d' "$conffile" | tr "\015$nl" ' '` eval set x "$conf \"\$@\"" shift fi while test -n "$1"; do case $1 in -*) collect_var= case $1 in -h | --help) echo "$usage" exit $? ;; --to) if test -z "$2"; then echo "$0: Missing argument for --to" 1>&2 exit 1 elif echo "$2" | grep 'ftp-upload\.gnu\.org' >/dev/null; then echo "$0: Use ftp.gnu.org:PKGNAME or alpha.gnu.org:PKGNAME" >&2 echo "$0: for the destination, not ftp-upload.gnu.org (which" >&2 echo "$0: is used for direct ftp uploads, not with gnupload)." >&2 echo "$0: See --help and its examples if need be." >&2 exit 1 else to="$to $2" shift fi ;; --user) if test -z "$2"; then echo "$0: Missing argument for --user" 1>&2 exit 1 else GPG="$GPG --local-user $2" shift fi ;; --delete) collect_var=delete_files ;; --replace) replace="replace: true" ;; --rmsymlink) collect_var=delete_symlinks ;; --symlink-regex=*) symlink_expr=`expr "$1" : '[^=]*=\(.*\)'` ;; --symlink-regex) symlink_expr='s|-[0-9][0-9\.]*\(-[0-9][0-9]*\)\{0,1\}\.|-latest.|' ;; --symlink) collect_var=symlink_files ;; -n | --dry-run) dry_run=: ;; --version) echo "gnupload $scriptversion" echo "$copyright" exit 0 ;; --) shift break ;; -*) echo "$0: Unknown option '$1', try '$0 --help'" 1>&2 exit 1 ;; esac ;; *) if test -z "$collect_var"; then break else eval "$collect_var=\"\$$collect_var $1\"" fi ;; esac shift done dprint() { echo "Running $* ..." } if $dry_run; then dbg=dprint fi if test -z "$to"; then echo "$0: Missing destination sites" >&2 exit 1 fi if test -n "$symlink_files"; then x=`echo "$symlink_files" | sed 's/[^ ]//g;s/ //g'` if test -n "$x"; then echo "$0: Odd number of symlink arguments" >&2 exit 1 fi fi if test $# = 0; then if test -z "${symlink_files}${delete_files}${delete_symlinks}"; then echo "$0: No file to upload" 1>&2 exit 1 fi else # Make sure all files exist. We don't want to ask # for the passphrase if the script will fail. for file do if test ! -f $file; then echo "$0: Cannot find '$file'" 1>&2 exit 1 elif test -n "$symlink_expr"; then linkname=`echo $file | sed "$symlink_expr"` if test -z "$linkname"; then echo "$0: symlink expression produces empty results" >&2 exit 1 elif test "$linkname" = $file; then echo "$0: symlink expression does not alter file name" >&2 exit 1 fi fi done fi # Make sure passphrase is not exported in the environment. unset passphrase unset passphrase_fd_0 GNUPGHOME=${GNUPGHOME:-$HOME/.gnupg} # Reset PATH to be sure that echo is a built-in. We will later use # 'echo $passphrase' to output the passphrase, so it is important that # it is a built-in (third-party programs tend to appear in 'ps' # listings with their arguments...). # Remember this script runs with 'set -e', so if echo is not built-in # it will exit now. if $dry_run || grep -q "^use-agent" $GNUPGHOME/gpg.conf; then :; else PATH=/empty echo -n "Enter GPG passphrase: " stty -echo read -r passphrase stty echo echo passphrase_fd_0="--passphrase-fd 0" fi if test $# -ne 0; then for file do echo "Signing $file ..." rm -f $file.sig echo "$passphrase" | $dbg $GPG $passphrase_fd_0 -ba -o $file.sig $file done fi # mkdirective DESTDIR BASE FILE STMT # Arguments: See upload, below mkdirective () { stmt="$4" if test -n "$3"; then stmt=" filename: $3$stmt" fi cat >${2}.directive<<EOF version: 1.2 directory: $1 comment: gnupload v. $scriptversion$stmt EOF if $dry_run; then echo "File ${2}.directive:" cat ${2}.directive echo "File ${2}.directive:" | sed 's/./-/g' fi } mksymlink () { while test $# -ne 0 do echo "symlink: $1 $2" shift shift done } # upload DEST DESTDIR BASE FILE STMT FILES # Arguments: # DEST Destination site; # DESTDIR Destination directory; # BASE Base name for the directive file; # FILE Name of the file to distribute (may be empty); # STMT Additional statements for the directive file; # FILES List of files to upload. upload () { dest=$1 destdir=$2 base=$3 file=$4 stmt=$5 files=$6 rm -f $base.directive $base.directive.asc case $dest in alpha.gnu.org:*) mkdirective "$destdir" "$base" "$file" "$stmt" echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive $dbg ncftpput ftp-upload.gnu.org /incoming/alpha $files $base.directive.asc ;; ftp.gnu.org:*) mkdirective "$destdir" "$base" "$file" "$stmt" echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive $dbg ncftpput ftp-upload.gnu.org /incoming/ftp $files $base.directive.asc ;; savannah.gnu.org:*) if test -z "$files"; then echo "$0: warning: standalone directives not applicable for $dest" >&2 fi $dbg ncftpput savannah.gnu.org /incoming/savannah/$destdir $files ;; savannah.nongnu.org:*) if test -z "$files"; then echo "$0: warning: standalone directives not applicable for $dest" >&2 fi $dbg ncftpput savannah.nongnu.org /incoming/savannah/$destdir $files ;; download.gnu.org.ua:alpha/*|download.gnu.org.ua:ftp/*) destdir_p1=`echo "$destdir" | sed 's,^[^/]*/,,'` destdir_topdir=`echo "$destdir" | sed 's,/.*,,'` mkdirective "$destdir_p1" "$base" "$file" "$stmt" echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive for f in $files $base.directive.asc do echo put $f done | $dbg sftp -b - download.gnu.org.ua:/incoming/$destdir_topdir ;; /*) dest_host=`echo "$dest" | sed 's,:.*,,'` mkdirective "$destdir" "$base" "$file" "$stmt" echo "$passphrase" | $dbg $GPG $passphrase_fd_0 --clearsign $base.directive $dbg cp $files $base.directive.asc $dest_host ;; *) if test -z "$files"; then echo "$0: warning: standalone directives not applicable for $dest" >&2 fi $dbg scp $files $dest ;; esac rm -f $base.directive $base.directive.asc } ##### # Process any standalone directives stmt= if test -n "$symlink_files"; then stmt="$stmt `mksymlink $symlink_files`" fi for file in $delete_files do stmt="$stmt archive: $file" done for file in $delete_symlinks do stmt="$stmt rmsymlink: $file" done if test -n "$stmt"; then for dest in $to do destdir=`echo $dest | sed 's/[^:]*://'` upload "$dest" "$destdir" "`hostname`-$$" "" "$stmt" done fi # Process actual uploads for dest in $to do for file do echo "Uploading $file to $dest ..." stmt= # # allowing file replacement is all or nothing. if test -n "$replace"; then stmt="$stmt $replace" fi # files="$file $file.sig" destdir=`echo $dest | sed 's/[^:]*://'` if test -n "$symlink_expr"; then linkname=`echo $file | sed "$symlink_expr"` stmt="$stmt symlink: $file $linkname symlink: $file.sig $linkname.sig" fi upload "$dest" "$destdir" "$file" "$file" "$stmt" "$files" done done exit 0 # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/install-sh�������������������������������������������������������������������0000754�0000000�0000000�00000036123�14767400545�012512� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # install - install a program, script, or datafile scriptversion=2024-12-03.03; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 # Create dirs (including intermediate dirs) using mode 755. # This is like GNU 'install' as of coreutils 8.32 (2020). mkdir_umask=22 backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -p pass -p to $cpprog. -s $stripprog installed files. -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG By default, rm is invoked with -f; when overridden with RMPROG, it's up to you to specify -f if you want it. If -S is not specified, no backups are attempted. Report bugs to <bug-automake@gnu.org>. GNU Automake home page: <https://www.gnu.org/software/automake/>. General help using GNU software: <https://www.gnu.org/gethelp/>." while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -p) cpprog="$cpprog -p";; -s) stripcmd=$stripprog;; -S) backupsuffix="$2" shift;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 (GNU Automake) $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? # Don't chown directories that already exist. if test $dstdir_status = 0; then chowncmd="" fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dstbase=`basename "$src"` case $dst in */) dst=$dst$dstbase;; *) dst=$dst/$dstbase;; esac dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi case $dstdir in */) dstdirslash=$dstdir;; *) dstdirslash=$dstdir/;; esac obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false # The $RANDOM variable is not portable (e.g., dash). Use it # here however when possible just to lower collision chance. tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap ' ret=$? rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null exit $ret ' 0 # Because "mkdir -p" follows existing symlinks and we likely work # directly in world-writable /tmp, make sure that the '$tmpdir' # directory is successfully created first before we actually test # 'mkdir -p'. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibility with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=${dstdirslash}_inst.$$_ rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && { test -z "$stripcmd" || { # Create $dsttmp read-write so that cp doesn't create it read-only, # which would cause strip to fail. if test -z "$doit"; then : >"$dsttmp" # No need to fork-exec 'touch'. else $doit touch "$dsttmp" fi } } && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # If $backupsuffix is set, and the file being installed # already exists, attempt a backup. Don't worry if it fails, # e.g., if mv doesn't support -f. if test -n "$backupsuffix" && test -f "$dst"; then $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null fi # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/make_bin_dist.sh�������������������������������������������������������������0000754�0000000�0000000�00000004205�14771573715�013636� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh ## Copyright (C) 2014-2021 Assaf Gordon <assafgordon@gmail.com> ## ## This file is part of GNU Datamash. ## ## GNU Datamash 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. ## ## GNU Datamash 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 GNU Datamash. If not, see <https://www.gnu.org/licenses/>. ## ## A small helper script to build (possibly static) binary executable ## die() { BASE=$(basename "$0") echo "$BASE error: $@" >&2 exit 1 } cd $(dirname "$0")/.. || die "failed to set directory" DATAMASHVER=$(./build-aux/git-version-gen .tarball-version) || die "can't get datamash version" KERNEL=$(uname -s) # Linux,FreeBSD,Darwin RELEASE=$(uname -r) # 2.6.30, 10-RELEASE, 10.2.8 MACHINE=$(uname -m) # x86_64, amd64, i386 # These kernels (and by proxy, operating systems) can # generate static binaries. STATICFLAG= [ "$KERNEL" = "Linux" -o "$KERNEL" = "FreeBSD" ] && STATICFLAG="LDFLAGS=-static" # Technically incorrect, but much friendlier to users [ "$KERNEL" = "Darwin" ] && KERNEL="MacOSX" ./configure CFLAGS="-O2" $STATICFLAG || die "./configure failed" make clean make || die "make failed" SRC=./datamash [ -e "$SRC" ] || die "Expected program file '$SRC' not found" DATE=$(date -u +"%F-%H%M%S") NAME="datamash-${DATAMASHVER}-bin__${KERNEL}__${MACHINE}" mkdir -p "bin/$NAME" || die "failed to create 'bin/$NAME' directory" cp "$SRC" "bin/$NAME/datamash" || die "failed to create destination binary (bin/$NAME/datamash)" cd "bin" || die tar -czvf "$NAME.tar.gz" "$NAME" || die "failed to create TarBall for binary executable" cd ".." echo "Done. File =" echo " ./bin/$NAME.tar.gz" echo "Upload to AWS S3:" echo " ./build-aux/aws-upload.sh ./bin/$NAME.tar.gz bin" echo �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/mdate-sh���������������������������������������������������������������������0000754�0000000�0000000�00000014162�14767400545�012135� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # Get modification time of a file or directory and pretty-print it. scriptversion=2024-12-03.03; # UTC # Copyright (C) 1995-2025 Free Software Foundation, Inc. # written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995 # # 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 2, 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 <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST fi case $1 in '') echo "$0: No file. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: mdate-sh [--help] [--version] FILE Pretty-print the modification day of FILE, in the format: 1 January 1970 Report bugs to <bug-automake@gnu.org>. GNU Automake home page: <https://www.gnu.org/software/automake/>. General help using GNU software: <https://www.gnu.org/gethelp/>. EOF exit $? ;; -v | --v*) echo "mdate-sh (GNU Automake) $scriptversion" exit $? ;; esac error () { echo "$0: $1" >&2 exit 1 } # Prevent date giving response in another language. LANG=C export LANG LC_ALL=C export LC_ALL LC_TIME=C export LC_TIME # Use UTC to get reproducible result. TZ=UTC0 export TZ # GNU ls changes its time format in response to the TIME_STYLE # variable. Since we cannot assume 'unset' works, revert this # variable to its documented default. if test "${TIME_STYLE+set}" = set; then TIME_STYLE=posix-long-iso export TIME_STYLE fi save_arg1=$1 # Find out how to get the extended ls output of a file or directory. if ls -L /dev/null 1>/dev/null 2>&1; then ls_command='ls -L -l -d' else ls_command='ls -l -d' fi # Avoid user/group names that might have spaces, when possible. if ls -n /dev/null 1>/dev/null 2>&1; then ls_command="$ls_command -n" fi # A 'ls -l' line looks as follows on OS/2. # drwxrwx--- 0 Aug 11 2001 foo # This differs from Unix, which adds ownership information. # drwxrwx--- 2 root root 4096 Aug 11 2001 foo # # To find the date, we split the line on spaces and iterate on words # until we find a month. This cannot work with files whose owner is a # user named "Jan", or "Feb", etc. However, it's unlikely that '/' # will be owned by a user whose name is a month. So we first look at # the extended ls output of the root directory to decide how many # words should be skipped to get the date. # On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. set x`$ls_command /` # Find which argument is the month. month= command= until test $month do test $# -gt 0 || error "failed parsing '$ls_command /' output" shift # Add another shift to the command. command="$command shift;" case $1 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; Mar) month=March; nummonth=3;; Apr) month=April; nummonth=4;; May) month=May; nummonth=5;; Jun) month=June; nummonth=6;; Jul) month=July; nummonth=7;; Aug) month=August; nummonth=8;; Sep) month=September; nummonth=9;; Oct) month=October; nummonth=10;; Nov) month=November; nummonth=11;; Dec) month=December; nummonth=12;; esac done test -n "$month" || error "failed parsing '$ls_command /' output" # Get the extended ls output of the file or directory. set dummy x`eval "$ls_command \"\\\$save_arg1\""` # Remove all preceding arguments eval $command # Because of the dummy argument above, month is in $2. # # On a POSIX system, we should have # # $# = 5 # $1 = file size # $2 = month # $3 = day # $4 = year or time # $5 = filename # # On Darwin 7.7.0 and 7.6.0, we have # # $# = 4 # $1 = day # $2 = month # $3 = year or time # $4 = filename # Get the month. case $2 in Jan) month=January; nummonth=1;; Feb) month=February; nummonth=2;; Mar) month=March; nummonth=3;; Apr) month=April; nummonth=4;; May) month=May; nummonth=5;; Jun) month=June; nummonth=6;; Jul) month=July; nummonth=7;; Aug) month=August; nummonth=8;; Sep) month=September; nummonth=9;; Oct) month=October; nummonth=10;; Nov) month=November; nummonth=11;; Dec) month=December; nummonth=12;; esac case $3 in ???*) day=$1;; *) day=$3; shift;; esac # Here we have to deal with the problem that the ls output gives either # the time of day or the year. case $3 in *:*) set `date`; eval year=\$$# case $2 in Jan) nummonthtod=1;; Feb) nummonthtod=2;; Mar) nummonthtod=3;; Apr) nummonthtod=4;; May) nummonthtod=5;; Jun) nummonthtod=6;; Jul) nummonthtod=7;; Aug) nummonthtod=8;; Sep) nummonthtod=9;; Oct) nummonthtod=10;; Nov) nummonthtod=11;; Dec) nummonthtod=12;; esac # For the first six month of the year the time notation can also # be used for files modified in the last year. if (expr $nummonth \> $nummonthtod) > /dev/null; then year=`expr $year - 1` fi;; *) year=$3;; esac # The result. echo $day $month $year # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/missing����������������������������������������������������������������������0000754�0000000�0000000�00000017060�14771573675�012116� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#! /bin/sh # Common wrapper for a few potentially missing GNU and other programs. scriptversion=2024-06-07.14; # UTC # shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells # Copyright (C) 1996-2024 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # 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 2, 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 <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autogen autoheader autom4te automake autoreconf bison flex help2man lex makeinfo perl yacc Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Report bugs to <bug-automake@gnu.org>. GNU Automake home page: <https://www.gnu.org/software/automake/>. General help using GNU software: <https://www.gnu.org/gethelp/>." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing (GNU Automake) $scriptversion" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=https://www.perl.org/ flex_URL=https://github.com/westes/flex gnu_software_URL=https://www.gnu.org/software program_details () { case $1 in aclocal|automake|autoreconf) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; *) : ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" autoheader_deps="'acconfig.h'" automake_deps="'Makefile.am'" aclocal_deps="'acinclude.m4'" case $normalized_program in aclocal*) echo "You should only need it if you modified $aclocal_deps or" echo "$configure_deps." ;; autoconf*) echo "You should only need it if you modified $configure_deps." ;; autogen*) echo "You should only need it if you modified a '.def' or '.tpl' file." echo "You may want to install the GNU AutoGen package:" echo "<$gnu_software_URL/autogen/>" ;; autoheader*) echo "You should only need it if you modified $autoheader_deps or" echo "$configure_deps." ;; automake*) echo "You should only need it if you modified $automake_deps or" echo "$configure_deps." ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." ;; autoreconf*) echo "You should only need it if you modified $aclocal_deps or" echo "$automake_deps or $autoheader_deps or $automake_deps or" echo "$configure_deps." ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; perl*) echo "You should only need it to run GNU Autoconf, GNU Automake, " echo " assorted other tools, or if you modified a Perl source file." echo "You may want to install the Perl 5 language interpreter:" echo "<$perl_URL>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac program_details "$normalized_program" } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/pmccabe.css������������������������������������������������������������������0000644�0000000�0000000�00000006075�14767401140�012606� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* Styling for cyclomatic code complexity charts. Copyright (C) 2008-2025 Free Software Foundation, Inc. This file 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 file 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 <https://www.gnu.org/licenses/>. */ body { font-family: Helvetica, sans-serif; } .page_title { font: 18pt Georgia, serif; color: darkred; } .section_title { font: 14pt Georgia, serif; color: darkred; } .report_timestamp { color: darkred; font-weight: bold; } .function_src { text-align: left; background: white; } .resume_table { } .resume_header_entry { color: black; } .resume_number_entry { color: darkred; font-weight: bold; text-align: right; } .ranges_table { border-spacing: 0px; border-bottom: solid 2px black; border-top: solid 2px black; border-left: solid 2px black; border-right: solid 2px black; } .ranges_header_entry { padding: 5px; border-bottom: solid 1px black; font-size: 1em; font-weight: bold; color: darkred; text-align: left; } .ranges_entry { } .ranges_entry_simple { background: #87ff75; } .ranges_entry_moderate { background: #fffc60; } .ranges_entry_high { background: #ff5a5d; } .ranges_entry_untestable { background: #993300 } .function_table { border-spacing: 0px; border-bottom: solid 2px black; border-top: solid 2px black; border-left: solid 2px black; border-right: solid 2px black; } .function_table_caption { font-size: 1.1em; font-weight: bold; color: black; padding: 5px; } .function_table_header { } .function_table_header_entry { padding: 5px; border-bottom: solid 1px black; font-size: 1em; font-weight: bold; color: darkred; text-align: left; } .function_entry { } .function_entry_simple { background: #87ff75; } .function_entry_moderate { background: #fffc60; } .function_entry_high { background: #ff5a5d; } .function_entry_untestable { background: #993300 } .function_entry_name { font-size: 1em; text-align: left; font-weight: bold; text-valign: top; border-top: solid 1px black; padding: 3px; } .function_entry_cyclo { font-size: 1em; text-align: right; text-valign: top; border-top: solid 1px black; padding: 3px; } .function_entry_number { font-size: 1em; text-align: right; text-valign: top; border-top: solid 1px black; padding: 3px; } .function_entry_filename { font-size: 1em; text-align: left; text-valign: top; border-top: solid 1px black; padding: 3px; } �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������datamash-1.9/build-aux/pmccabe2html�����������������������������������������������������������������0000644�0000000�0000000�00000060661�14767401140�012767� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# pmccabe2html - AWK script to convert pmccabe output to html -*- awk -*- # Copyright (C) 2007-2025 Free Software Foundation, Inc. # 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 <https://www.gnu.org/licenses/>. # Written by Jose E. Marchesi <jemarch@gnu.org>. # Adapted for gnulib by Simon Josefsson <simon@josefsson.org>. # Added support for C++ by Giuseppe Scrivano <gscrivano@gnu.org>. # Typical Invocation is from a Makefile.am: # # CYCLO_SRCS = ${top_srcdir}/src/*.[ch] # # cyclo-$(PACKAGE).html: $(CYCLO_SRCS) # $(AM_V_GEN)$(PMCCABE) $(CYCLO_SRCS) \ # | LC_ALL=C sort -nr \ # | LC_ALL=C $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \ # -v lang=html -v name="$(PACKAGE_NAME)" \ # -v vcurl="https://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=%FILENAME%;hb=HEAD" \ # -v url="https://www.gnu.org/software/$(PACKAGE)/" \ # -v css=${top_srcdir}/build-aux/pmccabe.css \ # -v cut_dir=${top_srcdir}/ \ # > $@-tmp # mv $@-tmp $@ # # The variables available are: # lang output language, either 'html' or 'wiki' # name project name # url link to project's home page # vcurl URL to version controlled source code browser, # a %FILENAME% in the string is replaced with the relative # source filename # css CSS stylesheet filename, included verbatim in HTML output # css_url link to CSS stylesheet, an URL # Prologue & configuration BEGIN { # Portable lookup of present time. "date +%s" | getline epoch_time "date" | getline chronos_time section_global_stats_p = 1 section_function_cyclo_p = 1 # "html" or "wiki" package_name = name output_lang = lang # General Options cyclo_simple_max = 10 cyclo_moderate_max = 20 cyclo_high_max = 50 source_file_link_tmpl = vcurl # HTML options if (url != "") { html_prolog = "<a href=\"" url "\">Back to " package_name " Homepage</a><br/><br/>" } html_epilog = "<hr color=\"black\" size=\"2\"/> \ Copyright (c) 2007-2008, 2025 Free Software Foundation, Inc." html_doctype = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \ \"http://www.w3.org/TR/html401/loose.dtd\">" html_comment = "<!-- Generated by gnulib's pmccabe2html at " epoch_time " -->" html_title = "Cyclomatic Complexity report for " package_name # Wiki options wiki_prolog = "{{Note|This page has been automatically generated}}" wiki_epilog = "" # Internal variables nfuncs = 0; } # Functions function build_stats() { # Maximum modified cyclo for (fcn in mcyclo) { num_of_functions++ if (mcyclo[fcn] > max_mcyclo) { max_mcyclo = mcyclo[fcn] } if (mcyclo[fcn] > cyclo_high_max) { num_of_untestable_functions++ } else if (mcyclo[fcn] > cyclo_moderate_max) { num_of_high_functions++ } else if (mcyclo[fcn] > cyclo_simple_max) { num_of_moderate_functions++ } else { num_of_simple_functions++ } } } function html_fnc_table_complete (caption) { html_fnc_table(caption, 1, 1, 0, 1, 1, 0, 1) } function html_fnc_table_abbrev (caption) { html_fnc_table(caption, 1, 1, 0, 0, 1, 0, 0) } function html_fnc_table (caption, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { print "<table width=\"90%\" class=\"function_table\" cellpadding=\"0\" cellspacing=\"0\">" if (caption != "") { print "<caption class=\"function_table_caption\">" caption "</caption>" } html_fnc_header(fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) for (nfnc = 1; nfnc <= nfuncs; nfnc++) { html_fnc(nfnc, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) } print "</table>" } function html_header () { print html_doctype print "<html>" print html_comment print "<head>" print "<title>" html_title "" print "" print "" print "" print "" print "" print "" print "" print "" if (css_url != "") { print "" } if (css != "") { print "" close(css) } print "" print "" } function html_footer () { print "" print "" } function html_fnc_header (fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { print "" if (fname_p) { # Function name print "" print "" print "" print "" print "Function Name" print "" } if (mcyclo_p) { # Modified cyclo print "" print "Modified Cyclo" print "" } if (cyclo_p) { # Cyclo print "" print "Cyclomatic" print "
" print "Complexity" print "" } if (num_statements_p) { print "" print "Number of" print "
" print "Statements" print "" } if (num_lines_p) { print "" print "Number of" print "
" print "Lines" print "" } if (first_line_p) { print "" print "First Line" print "" } if (file_p) { print "" print "Source File" print "" } print "" } function html_fnc (nfun, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { fname = fnames[nfun] # Function name trclass = "function_entry_simple" if (mcyclo[nfun] > cyclo_high_max) { trclass="function_entry_untestable" } else if (mcyclo[nfun] > cyclo_moderate_max) { trclass="function_entry_high" } else if (mcyclo[nfun] > cyclo_simple_max) { trclass="function_entry_moderate" } print "" if (fname_p) { print "" if (file_p && mcyclo[nfun] > cyclo_simple_max) { print "\ " } else { print " " } print "" print "" print fname print "" } if (mcyclo_p) { # Modified cyclo print "" print mcyclo[nfun] print "" } if (cyclo_p) { # Cyclo print "" print cyclo[nfun] print "" } if (num_statements_p) { # Number of statements print "" print num_statements[nfun] print "" } if (num_lines_p) { # Number of lines print "" print num_lines[nfun] print "" } if (first_line_p) { # First line print "" print first_line[nfun] print "" } if (file_p) { href = "" if (source_file_link_tmpl != "") { # Get href target href = source_file_link_tmpl sub(/%FILENAME%/, file[nfun], href) } # Source file print "" if (href != "") { print "" file[nfun] "" } else { print file[nfun] } print "" print "" if (mcyclo[nfun] > cyclo_simple_max) { print "" num_columns = 1; if (fname_p) { num_columns++ } if (mcyclo_p) { num_columns++ } if (cyclo_p) { num_columns++ } if (num_statements_p) { num_columns++ } if (num_lines_p) { num_columns++ } if (first_line_p) { num_columns++ } if (file_p) { num_columns++ } print "" print "
" print "
"

            while ((getline codeline < (fname nfun "_fn.txt")) > 0)
            {
                gsub(/&/, "\\&", codeline)	# Must come first.
                gsub(//, "\\>", codeline)

                print codeline
            }
            close(fname nfun "_fn.txt")
            system("rm " "'" fname "'" nfun "_fn.txt")
            print "
" print "
" print "" print "" } } } function html_global_stats () { print "
Summary
" print "" # Total number of functions print "" print "" print "" print "" # Number of simple functions print "" print "" print "" print "" # Number of moderate functions print "" print "" print "" print "" # Number of high functions print "" print "" print "" print "" # Number of untestable functions print "" print "" print "" print "" print "
" print "Total number of functions" print "" print num_of_functions print "
" print "Number of low risk functions" print "" print num_of_simple_functions print "
" print "Number of moderate risk functions" print "" print num_of_moderate_functions print "
" print "Number of high risk functions" print "" print num_of_high_functions print "
" print "Number of untestable functions" print "" print num_of_untestable_functions print "
" print "
" } function html_function_cyclo () { print "
Details for all functions
" print "" print "" print "" print "" print "" print "" # Simple print "" print "" print "" print "" print "" # Moderate print "" print "" print "" print "" print "" # High print "" print "" print "" print "" print "" # Untestable print "" print "" print "" print "" print "" print "
" print " " print "" print "Cyclomatic Complexity" print "" print "Risk Evaluation" print "
" print " " print "" print "0 - " cyclo_simple_max print "" print "Simple module, without much risk" print "
" print " " print "" print cyclo_simple_max + 1 " - " cyclo_moderate_max print "" print "More complex module, moderate risk" print "
" print " " print "" print cyclo_moderate_max + 1 " - " cyclo_high_max print "" print "Complex module, high risk" print "
" print " " print "" print "greater than " cyclo_high_max print "" print "Untestable module, very high risk" print "
" print "
" html_fnc_table_complete("") } function wiki_global_stats () { print "{| class=\"cyclo_summary_table\"" # Total number of functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Total number of functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_functions # Number of simple functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of low risk functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_simple_functions # Number of moderate functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of moderate risk functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_moderate_functions # Number of high functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of high risk functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_high_functions # Number of untestable functions print "|-" print "| class=\"cyclo_summary_header_entry\" | Number of untestable functions" print "| class=\"cyclo_summary_number_entry\" |" num_of_untestable_functions print "|}" } function wiki_function_cyclo () { print "==Details for all functions==" print "Used ranges:" print "{| class =\"cyclo_ranges_table\"" print "|-" print "| class=\"cyclo_ranges_header_entry\" | " print "| class=\"cyclo_ranges_header_entry\" | Cyclomatic Complexity" print "| class=\"cyclo_ranges_header_entry\" | Risk Evaluation" # Simple print "|-" print "| class=\"cyclo_ranges_entry_simple\" | " print "| class=\"cyclo_ranges_entry\" | 0 - " cyclo_simple_max print "| class=\"cyclo_ranges_entry\" | Simple module, without much risk" # Moderate print "|-" print "| class=\"cyclo_ranges_entry_moderate\" | " print "| class=\"cyclo_ranges_entry\" |" cyclo_simple_max + 1 " - " cyclo_moderate_max print "| class=\"cyclo_ranges_entry\" | More complex module, moderate risk" # High print "|-" print "| class=\"cyclo_ranges_entry_high\" | " print "| class=\"cyclo_ranges_entry\" |" cyclo_moderate_max + 1 " - " cyclo_high_max print "| class=\"cyclo_ranges_entry\" | Complex module, high risk" # Untestable print "|-" print "| class=\"cyclo_ranges_entry_untestable\" | " print "| class=\"cyclo_ranges_entry\" | greater than " cyclo_high_max print "| class=\"cyclo_ranges_entry\" | Untestable module, very high risk" print "|}" print "" print "" wiki_fnc_table_complete("") } function wiki_fnc_table_complete (caption) { wiki_fnc_table(caption, 1, 1, 0, 1, 1, 0, 1) } function wiki_fnc_table_abbrev (caption) { wiki_fnc_table(caption, 1, 0, 0, 0, 0, 0, 0) } function wiki_fnc_table (caption, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { print "{| width=\"90%\" class=\"cyclo_function_table\" cellpadding=\"0\" cellspacing=\"0\">" if (caption != "") { print "|+" caption } wiki_fnc_header(fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) for (nfnc = 1; nfnc <= nfuncs; nfnc++) { wiki_fnc(nfnc, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) } print "|}" } function wiki_fnc_header (fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { if (fname_p) { # Function name print "! class=\"cyclo_function_table_header_entry\" | Function Name" } if (mcyclo_p) { # Modified cyclo print "! class=\"cyclo_function_table_header_entry\" | Modified Cyclo" } if (cyclo_p) { # Cyclo print "! class=\"cyclo_function_table_header_entry\" | Cyclomatic Complexity" } if (num_statements_p) { print "! class=\"cyclo_function_table_header_entry\" | Number of Statements" } if (num_lines_p) { print "! class=\"cyclo_function_table_header_entry\" | Number of Lines" } if (first_line_p) { print "! class=\"cyclo_function_table_header_entry\" | First Line" } if (file_p) { print "! class=\"cyclo_function_table_header_entry\" | Source File" } } function wiki_fnc (nfnc, fname_p, mcyclo_p, cyclo_p, num_statements_p, num_lines_p, first_line_p, file_p) { fname = fnames[nfnc] # Function name trclass = "cyclo_function_entry_simple" if (mcyclo[nfnc] > cyclo_high_max) { trclass="cyclo_function_entry_untestable" } else if (mcyclo[nfnc] > cyclo_moderate_max) { trclass="cyclo_function_entry_high" } else if (mcyclo[nfnc] > cyclo_simple_max) { trclass="cyclo_function_entry_moderate" } print "|- class=\"" trclass "\"" if (fname_p) { print "| class=\"cyclo_function_entry_name\" |" fname } if (mcyclo_p) { # Modified cyclo print "| class=\"cyclo_function_entry_cyclo\" |" mcyclo[nfnc] } if (cyclo_p) { # Cyclo print "| class=\"cyclo_function_entry_cyclo\" |" cyclo[nfnc] } if (num_statements_p) { # Number of statements print "| class=\"cyclo_function_entry_number\" |" num_statements[nfnc] } if (num_lines_p) { # Number of lines print "| class=\"cyclo_function_entry_number\" |" num_lines[nfnc] } if (first_line_p) { # First line print "| class=\"cyclo_function_entry_number\" |" first_line[nfnc] } if (file_p) { href = "" if (source_file_link_tmpl != "") { # Get href target href = source_file_link_tmpl sub(/%FILENAME%/, file[nfnc], href) } # Source file print "| class=\"cyclo_function_entry_filename\" |" \ ((href != "") ? "[" href " " file[nfnc] "]" : "[" file[nfnc] "]") } } # Scan data from a line { function_name = $7 nfuncs++; fnames[nfuncs] = function_name mcyclo[nfuncs] = $1 cyclo[nfuncs] = $2 num_statements[nfuncs] = $3 first_line[nfuncs] = $4 num_lines[nfuncs] = $5 # Build the filename from the file_spec ($6) begin_util_path = index($6, cut_dir) tmpfilename = substr($6, begin_util_path + length(cut_dir)) sub(/\([0-9]+\):/, "", tmpfilename) file[nfuncs] = tmpfilename if (mcyclo[nfuncs] > cyclo_simple_max) { # Extract function contents to a fn_txt file filepath = $6 sub(/\([0-9]+\):/, "", filepath) num_line = 0 while ((getline codeline < filepath) > 0) { num_line++; if ((num_line >= first_line[nfuncs]) && (num_line < first_line[nfuncs] + num_lines[nfuncs])) { print codeline > (function_name nfuncs "_fn.txt") } } close (function_name nfuncs "_fn.txt") close(filepath) } # Initial values for statistics variables num_of_functions = 0 max_mcyclo = 0 max_function_length = 0 num_of_simple_functions = 0 num_of_moderate_functions = 0 num_of_high_functions = 0 num_of_untestable_functions = 0 } # Epilogue END { # Print header (only for html) if (output_lang == "html") { html_header() } # Print prolog if ((output_lang == "html") && (html_prolog != "")) { print html_prolog } if ((output_lang == "wiki") && (wiki_prolog != "")) { print wiki_prolog } if (output_lang == "html") { print "
" package_name " Cyclomatic Complexity Report
" print "

Report generated at: " chronos_time "

" } if (output_lang == "wiki") { print "==" package_name " Cyclomatic Complexity Report==" print "Report generated at: '''" chronos_time "'''" } if (section_global_stats_p) { build_stats() if (output_lang == "html") { html_global_stats() } if (output_lang == "wiki") { wiki_global_stats() } } if (section_function_cyclo_p) { if (output_lang == "html") { html_function_cyclo() } if (output_lang == "wiki") { wiki_function_cyclo() } } # Print epilog if ((output_lang == "html") && (html_epilog != "")) { print html_epilog } if ((output_lang == "wiki") && (wiki_epilog != "")) { print wiki_epilog } # Print footer (html only) if (output_lang == "html") { html_footer() } } # End of pmccabe2html datamash-1.9/build-aux/prerelease-checks.sh0000754000000000000000000000346014771573715014435 #!/bin/sh ## Copyright (C) 2014-2021 Assaf Gordon ## ## This file is part of GNU Datamash. ## ## GNU Datamash 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. ## ## GNU Datamash 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 GNU Datamash. If not, see . ## ## A small helper script to easily copy, build and check ## the current repository in several different environments and configurations. ## PACKAGE=datamash die() { BASE=$(basename "$0") echo "$BASE: error: $*" >&2 exit 1 } ## ## Clean, rebuild and test locally ## make maintainer-clean # ignore failure ./bootstrap || die "./bootstrap failed" ./configure || die "./configure failed" make || die "make failed" for TYPE in check-very-expensive \ syntax-check \ html info pdf \ clean deb-hard \ clean coverage \ clean distcheck ; do make $TYPE || die "make $TYPE failed" done ## ## Build with non-root installation prefix ## DIR=$(mktemp -d tmp-install.XXXXXX) || die "mktemp failed" DIR=$(realpath "$DIR") || die "realpath failed on '$DIR'" make distclean || die "make distclean failed (before non-root install)" ./configure --prefix "$DIR" || die "./configure --prefix=$DIR failed" make || die "make failed (for non-root install)" make install || die "make install failed (for non-root install)" datamash-1.9/build-aux/test-driver0000754000000000000000000001213714771573675012715 #! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2024-06-19.01; # UTC # Copyright (C) 2011-2024 Free Software Foundation, Inc. # # 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 2, 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 . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <. GNU Automake home page: . General help using GNU software: . END } test_name= # Used for reporting. log_file= # Where to save the output of the test script. trs_file= # Where to save the metadata of the test run. expect_failure=no color_tests=no collect_skipped_logs=yes enable_hard_errors=yes while test $# -gt 0; do case $1 in --help) print_usage; exit $?;; --version) echo "test-driver (GNU Automake) $scriptversion"; exit $?;; --test-name) test_name=$2; shift;; --log-file) log_file=$2; shift;; --trs-file) trs_file=$2; shift;; --color-tests) color_tests=$2; shift;; --collect-skipped-logs) collect_skipped_logs=$2; shift;; --expect-failure) expect_failure=$2; shift;; --enable-hard-errors) enable_hard_errors=$2; shift;; --) shift; break;; -*) usage_error "invalid option: '$1'";; *) break;; esac shift done missing_opts= test x"$test_name" = x && missing_opts="$missing_opts --test-name" test x"$log_file" = x && missing_opts="$missing_opts --log-file" test x"$trs_file" = x && missing_opts="$missing_opts --trs-file" if test x"$missing_opts" != x; then usage_error "the following mandatory options are missing:$missing_opts" fi if test $# -eq 0; then usage_error "missing argument" fi if test $color_tests = yes; then # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'. red='' # Red. grn='' # Green. lgn='' # Light green. blu='' # Blue. mgn='' # Magenta. std='' # No color. else red= grn= lgn= blu= mgn= std= fi do_exit='rm -f $log_file $trs_file; (exit $st); exit $st' trap "st=129; $do_exit" 1 trap "st=130; $do_exit" 2 trap "st=141; $do_exit" 13 trap "st=143; $do_exit" 15 # Test script is run here. We create the file first, then append to it, # to ameliorate tests themselves also writing to the log file. Our tests # don't, but others can (automake bug#35762). : >"$log_file" "$@" >>"$log_file" 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1 else tweaked_estatus=$estatus fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=$collect_skipped_logs;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report the test outcome and exit status in the logs, so that one can # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). echo "$res $test_name (exit status: $estatus)" >>"$log_file" # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: datamash-1.9/build-aux/texinfo.tex0000644000000000000000000137005214771573633012714 % texinfo.tex -- TeX macros to handle Texinfo files. % % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % \def\texinfoversion{2025-03-22.08} % % Copyright 1985, 1986, 1988, 1990-2025 Free Software Foundation, Inc. % % This texinfo.tex file 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 texinfo.tex file 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 . % % As a special exception, when this file is read by TeX when processing % a Texinfo source document, you may use the result without % restriction. This Exception is an additional permission under section 7 % of the GNU General Public License, version 3 ("GPLv3"). % % Please try the latest version of texinfo.tex before submitting bug % reports; you can get the latest version from: % https://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or % https://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or % https://www.gnu.org/software/texinfo/ (the Texinfo home page) % The texinfo.tex in any given distribution could well be out % of date, so if that's what you're using, please check. % % Send bug reports to bug-texinfo@gnu.org. Please include a % complete document in each bug report with which we can reproduce the % problem. Patches are, of course, greatly appreciated. % % To process a Texinfo manual with TeX, it's most reliable to use the % texi2dvi shell script that comes with the distribution. For a simple % manual foo.texi, however, you can get away with this: % tex foo.texi % texindex foo.?? % tex foo.texi % tex foo.texi % dvips foo.dvi -o # or whatever; this makes foo.ps. % The extra TeX runs get the cross-reference information correct. % Sometimes one run after texindex suffices, and sometimes you need more % than two; texi2dvi does it as many times as necessary. % % It is possible to adapt texinfo.tex for other languages, to some % extent. You can get the existing language-specific files from the % full Texinfo distribution. % % The GNU Texinfo home page is https://www.gnu.org/software/texinfo. \message{Loading texinfo [version \texinfoversion]:} % LaTeX's \typeout. This ensures that the messages it is used for % are identical in format to the corresponding ones from latex/pdflatex. \def\typeout{\immediate\write17}% \chardef\other=12 % We never want plain's \outer definition of \+ in Texinfo. % For @tex, we can use \tabalign. \let\+ = \relax % Save some plain tex macros whose names we will redefine. \let\ptexb=\b \let\ptexbullet=\bullet \let\ptexc=\c \let\ptexcomma=\, \let\ptexdot=\. \let\ptexdots=\dots \let\ptexend=\end \let\ptexequiv=\equiv \let\ptexexclam=\! \let\ptexfootnote=\footnote \let\ptexgtr=> \let\ptexhat=^ \let\ptexi=\i \let\ptexindent=\indent \let\ptexinsert=\insert \let\ptexlbrace=\{ \let\ptexless=< \let\ptexnewwrite\newwrite \let\ptexnoindent=\noindent \let\ptexplus=+ \let\ptexraggedright=\raggedright \let\ptexrbrace=\} \let\ptexslash=\/ \let\ptexsp=\sp \let\ptexstar=\* \let\ptexsup=\sup \let\ptext=\t \let\ptextop=\top {\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode % If this character appears in an error message or help string, it % starts a new line in the output. \newlinechar = `^^J % Use TeX 3.0's \inputlineno to get the line number, for better error % messages, but if we're using an old version of TeX, don't do anything. % \ifx\inputlineno\thisisundefined \let\linenumber = \empty % Pre-3.0. \else \def\linenumber{l.\the\inputlineno:\space} \fi % Set up fixed words for English if not already set. \ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi \ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi \ifx\putworderror\undefined \gdef\putworderror{error}\fi \ifx\putwordfile\undefined \gdef\putwordfile{file}\fi \ifx\putwordin\undefined \gdef\putwordin{in}\fi \ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi \ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi \ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi \ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi \ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi \ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi \ifx\putwordof\undefined \gdef\putwordof{of}\fi \ifx\putwordon\undefined \gdef\putwordon{on}\fi \ifx\putwordpage\undefined \gdef\putwordpage{page}\fi \ifx\putwordsection\undefined \gdef\putwordsection{section}\fi \ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi \ifx\putwordsee\undefined \gdef\putwordsee{see}\fi \ifx\putwordSee\undefined \gdef\putwordSee{See}\fi \ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi \ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi % \ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi \ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi \ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi \ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi \ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi \ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi \ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi \ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi \ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi \ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi \ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi \ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi % \ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi \ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi \ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi \ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi \ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi % Give the space character the catcode for a space. \def\spaceisspace{\catcode`\ =10\relax} % Used to ignore an active newline that may appear immediately after % a macro name. {\catcode13=\active \gdef\ignoreactivenewline{\let^^M\empty}} \chardef\dashChar = `\- \chardef\slashChar = `\/ \chardef\underChar = `\_ % Ignore a token. % \def\gobble#1{} % The following is used inside several \edef's. \def\makecsname#1{\expandafter\noexpand\csname#1\endcsname} % Hyphenation fixes. \hyphenation{ Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script ap-pen-dix bit-map bit-maps data-base data-bases eshell fall-ing half-way long-est man-u-script man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces spell-ing spell-ings stand-alone strong-est time-stamp time-stamps which-ever white-space wide-spread wrap-around } % Sometimes it is convenient to have everything in the transcript file % and nothing on the terminal. We don't just call \tracingall here, % since that produces some useless output on the terminal. We also make % some effort to order the tracing commands to reduce output in the log % file; cf. trace.sty in LaTeX. % \def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}% \def\loggingall{% \tracingstats2 \tracingpages1 \tracinglostchars2 % 2 gives us more in etex \tracingparagraphs1 \tracingoutput1 \tracingmacros2 \tracingrestores1 \showboxbreadth\maxdimen \showboxdepth\maxdimen \ifx\eTeXversion\thisisundefined\else % etex gives us more logging \tracingscantokens1 \tracingifs1 \tracinggroups1 \tracingnesting2 \tracingassigns1 \fi \tracingcommands3 % 3 gives us more in etex \errorcontextlines16 }% % @errormsg{MSG}. Do the index-like expansions on MSG, but if things % aren't perfect, it's not the end of the world, being an error message, % after all. % \def\errormsg{\begingroup \indexnofonts \doerrormsg} \def\doerrormsg#1{\errmessage{#1}} % add check for \lastpenalty to plain's definitions. If the last thing % we did was a \nobreak, we don't want to insert more space. % \def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount \removelastskip\penalty-50\smallskip\fi\fi} \def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount \removelastskip\penalty-100\medskip\fi\fi} \def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount \removelastskip\penalty-200\bigskip\fi\fi} % Output routine % % For a final copy, take out the rectangles % that mark overfull boxes (in case you have decided % that the text looks ok even though it passes the margin). % \def\finalout{\overfullrule=0pt } % Output a mark which sets \thischapter, \thissection and \thiscolor. % We dump everything together because we only have one kind of mark. % This works because we only use \botmark / \topmark, not \firstmark. % % A mark contains a subexpression of the \ifcase ... \fi construct. % \get*marks macros below extract the needed part using \ifcase. % % Another complication is to let the user choose whether \thischapter % (\thissection) refers to the chapter (section) in effect at the top % of a page, or that at the bottom of a page. % \domark is called twice inside \chapmacro, to add one % mark before the section break, and one after. % In the second call \prevchapterdefs is the same as \currentchapterdefs, % and \prevsectiondefs is the same as \currentsectiondefs. % Then if the page is not broken at the mark, some of the previous % section appears on the page, and we can get the name of this section % from \firstmark for @everyheadingmarks top. % @everyheadingmarks bottom uses \botmark. % % See page 260 of The TeXbook. \def\domark{% \toks0=\expandafter{\currentchapterdefs}% \toks2=\expandafter{\currentsectiondefs}% \toks4=\expandafter{\prevchapterdefs}% \toks6=\expandafter{\prevsectiondefs}% \toks8=\expandafter{\currentcolordefs}% \mark{% \the\toks0 \the\toks2 % 0: marks for @everyheadingmarks top \noexpand\or \the\toks4 \the\toks6 % 1: for @everyheadingmarks bottom \noexpand\else \the\toks8 % 2: color marks }% } % \gettopheadingmarks, \getbottomheadingmarks, % \getcolormarks - extract needed part of mark. % % \topmark doesn't work for the very first chapter (after the title % page or the contents), so we use \firstmark there -- this gets us % the mark with the chapter defs, unless the user sneaks in, e.g., % @setcolor (or @url etc.) between @contents and the very first @chapter. \def\gettopheadingmarks{% \ifcase0\the\savedtopmark\fi \ifx\thischapter\empty \ifcase0\firstmark\fi \fi } \def\getbottomheadingmarks{\ifcase1\botmark\fi} \def\getcolormarks{\ifcase2\the\savedtopmark\fi} % Avoid "undefined control sequence" errors. \def\currentchapterdefs{} \def\currentsectiondefs{} \def\prevchapterdefs{} \def\prevsectiondefs{} \def\currentcolordefs{} % Margin to add to right of even pages, to left of odd pages. \newdimen\bindingoffset \newdimen\normaloffset \newdimen\txipagewidth \newdimen\txipageheight % Main output routine. % \chardef\PAGE = 255 \newtoks\defaultoutput \defaultoutput = {\savetopmark\onepageout{\pagecontents\PAGE}} \output=\expandafter{\the\defaultoutput} \newbox\headlinebox \newbox\footlinebox % When outputting the double column layout for indices, an output routine % is run several times, hiding the original value of \topmark. Hence, save % \topmark at the beginning. % \newtoks\savedtopmark \newif\iftopmarksaved \topmarksavedtrue \def\savetopmark{% \iftopmarksaved\else \global\savedtopmark=\expandafter{\topmark}% \global\topmarksavedtrue \fi } % \onepageout takes a vbox as an argument. % \shipout a vbox for a single page, adding an optional header, footer % and footnote. This also causes index entries for this page to be written % to the auxiliary files. % \def\onepageout#1{% \hoffset=\normaloffset % \ifodd\pageno \advance\hoffset by \bindingoffset \else \advance\hoffset by -\bindingoffset\fi % \checkchapterpage % % Make the heading and footing. \makeheadline and \makefootline % use the contents of \headline and \footline. \def\commonheadfootline{\let\hsize=\txipagewidth \texinfochars} \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi \global\setbox\headlinebox = \vbox{\commonheadfootline \makeheadline}% \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi \global\setbox\footlinebox = \vbox{\commonheadfootline \makefootline}% % {% % Set context for writing to auxiliary files like index files. % Have to do this stuff outside the \shipout because we want it to % take effect in \write's, yet the group defined by the \vbox ends % before the \shipout runs. % \atdummies % don't expand commands in the output. \turnoffactive \shipout\vbox{% % Do this early so pdf references go to the beginning of the page. \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi % \unvbox\headlinebox \pagebody{#1}% \ifdim\ht\footlinebox > 0pt % Only leave this space if the footline is nonempty. % (We lessened \vsize for it in \oddfootingyyy.) % The \baselineskip=24pt in plain's \makefootline has no effect. \vskip 24pt \unvbox\footlinebox \fi % }% }% \global\topmarksavedfalse \advancepageno \ifnum\outputpenalty>-20000 \else\dosupereject\fi } \newinsert\margin \dimen\margin=\maxdimen % Main part of page, including any footnotes \def\pagebody#1{\vbox to\txipageheight{\boxmaxdepth=\maxdepth #1}} {\catcode`\@ =11 \gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi % marginal hacks, juha@viisa.uucp (Juha Takala) \ifvoid\margin\else % marginal info is present \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi \dimen@=\dp#1\relax \unvbox#1\relax \ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi \ifr@ggedbottom \kern-\dimen@ \vfil \fi} } % Check if we are on the first page of a chapter. Used for printing headings. \newif\ifchapterpage \def\checkchapterpage{% % Get the chapter that was current at the end of the last page \ifcase1\the\savedtopmark\fi \let\prevchaptername\thischaptername % \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi \let\curchaptername\thischaptername % \ifx\curchaptername\prevchaptername \chapterpagefalse \else \chapterpagetrue \fi } % Argument parsing % Parse an argument, then pass it to #1. The argument is the rest of % the input line (except we remove a trailing comment). #1 should be a % macro which expects an ordinary undelimited TeX argument. % For example, \def\foo{\parsearg\fooxxx}. % \def\parsearg{\parseargusing{}} \def\parseargusing#1#2{% \def\argtorun{#2}% \begingroup \obeylines \spaceisspace #1% \parseargline\empty% Insert the \empty token, see \finishparsearg below. } {\obeylines % \gdef\parseargline#1^^M{% \endgroup % End of the group started in \parsearg. \argremovecomment #1\comment\ArgTerm% }% } % First remove any @comment, then any @c comment. Pass the result on to % \argremovespace. \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} \def\argremovec#1\c#2\ArgTerm{\argremovespace#1$ $\ArgTerm} % \argremovec might leave us with trailing space, though; e.g., % @end itemize @c foo % Note that the argument cannot contain the TeX $, as its catcode is % changed to \other when Texinfo source is read. \def\argremovespace#1 $#2\ArgTerm{\finishparsearg#1$\ArgTerm} % If a _delimited_ argument is enclosed in braces, they get stripped; so % to get _exactly_ the rest of the line, we had to prevent such situation. % We prepended an \empty token at the very beginning and we expand it % just before passing the control to \next. % (But first, we have to remove the remaining $ or two.) \def\finishparsearg#1$#2\ArgTerm{\expandafter\argtorun\expandafter{#1}} % \parseargdef - define a command taking an argument on the line % % \parseargdef\foo{...} % is roughly equivalent to % \def\foo{\parsearg\Xfoo} % \def\Xfoo#1{...} \def\parseargdef#1{% \expandafter \doparseargdef \csname\string#1\endcsname #1% } \def\doparseargdef#1#2{% \def#2{\parsearg#1}% \def#1##1% } % Several utility definitions with active space: { \obeyspaces \gdef\obeyedspace{ } % Make each space character in the input produce a normal interword % space in the output. Don't allow a line break at this space, as this % is used only in environments like @example, where each line of input % should produce a line of output anyway. % \gdef\sepspaces{\obeyspaces\let =\tie} % If an index command is used in an @example environment, any spaces % therein should become regular spaces in the raw index file, not the % expansion of \tie (\leavevmode \penalty \@M \ ). \gdef\unsepspaces{\let =\space} } \def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next} % Define the framework for environments in texinfo.tex. It's used like this: % % \envdef\foo{...} % \def\Efoo{...} % % It's the responsibility of \envdef to insert \begingroup before the % actual body; @end closes the group after calling \Efoo. \envdef also % defines \thisenv, so the current environment is known; @end checks % whether the environment name matches. The \checkenv macro can also be % used to check whether the current environment is the one expected. % % Non-false conditionals (@iftex, @ifset) don't fit into this, so they % are not treated as environments; they don't open a group. (The % implementation of @end takes care not to call \endgroup in this % special case.) % At run-time, environments start with this: \def\startenvironment#1{\begingroup\def\thisenv{#1}} % initialize \let\thisenv\empty % ... but they get defined via ``\envdef\foo{...}'': \long\def\envdef#1#2{\def#1{\startenvironment#1#2}} \long\def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}} % Check whether we're in the right environment: \def\checkenv#1{% \def\temp{#1}% \ifx\thisenv\temp \else \badenverr \fi } % Environment mismatch, #1 expected: \def\badenverr{% \errhelp = \EMsimple \errmessage{This command can appear only \inenvironment\temp, not \inenvironment\thisenv}% } \def\inenvironment#1{% \ifx#1\empty outside of any environment% \else in environment \expandafter\string#1% \fi } % @end foo calls \checkenv and executes the definition of \Efoo. \parseargdef\end{% \if 1\csname iscond.#1\endcsname \else % The general wording of \badenverr may not be ideal. \expandafter\checkenv\csname#1\endcsname \csname E#1\endcsname \endgroup \fi } \newhelp\EMsimple{Press RETURN to continue.} % Be sure we're in horizontal mode when doing a tie, since we make space % equivalent to this in @example-like environments. Otherwise, a space % at the beginning of a line will start with \penalty -- and % since \penalty is valid in vertical mode, we'd end up putting the % penalty on the vertical list instead of in the new paragraph. {\catcode`@ = 11 % Avoid using \@M directly, because that causes trouble % if the definition is written into an index file. \global\let\tiepenalty = \@M \gdef\tie{\leavevmode\penalty\tiepenalty\ } } % @: forces normal size whitespace following. \def\:{\spacefactor=1000 } % @* forces a line break. \def\*{\unskip\hfil\break\hbox{}\ignorespaces} % @/ allows a line break. \let\/=\allowbreak % @- allows explicit insertion of hyphenation points \def\-{\discretionary{\normaldash}{}{}}% % @. is an end-of-sentence period. \def\.{.\spacefactor=\endofsentencespacefactor\space} % @! is an end-of-sentence bang. \def\!{!\spacefactor=\endofsentencespacefactor\space} % @? is an end-of-sentence query. \def\?{?\spacefactor=\endofsentencespacefactor\space} % @w prevents a word break. Without the \leavevmode, @w at the % beginning of a paragraph, when TeX is still in vertical mode, would % produce a whole line of output instead of starting the paragraph. \def\w#1{\leavevmode\hbox{#1}} % @group ... @end group forces ... to be all on one page, by enclosing % it in a TeX vbox. We use \vtop instead of \vbox to construct the box % to keep its height that of a normal line. According to the rules for % \topskip (p.114 of the TeXbook), the glue inserted is % max (\topskip - \ht (first item), 0). If that height is large, % therefore, no glue is inserted, and the space between the headline and % the text is small, which looks bad. % % Another complication is that the group might be very large. This can % cause the glue on the previous page to be unduly stretched, because it % does not have much material. In this case, it's better to add an % explicit \vfill so that the extra space is at the bottom. The % threshold for doing this is if the group is more than \vfilllimit % percent of a page (\vfilllimit can be changed inside of @tex). % \newbox\groupbox \def\vfilllimit{0.7} % \envdef\group{% \ifnum\catcode`\^^M=\active \else \errhelp = \groupinvalidhelp \errmessage{@group invalid in context where filling is enabled}% \fi \startsavinginserts % \setbox\groupbox = \vtop\bgroup % Do @comment since we are called inside an environment such as % @example, where each end-of-line in the input causes an % end-of-line in the output. We don't want the end-of-line after % the `@group' to put extra space in the output. Since @group % should appear on a line by itself (according to the Texinfo % manual), we don't worry about eating any user text. \comment } % % The \vtop produces a box with normal height and large depth; thus, TeX puts % \baselineskip glue before it, and (when the next line of text is done) % \lineskip glue after it. Thus, space below is not quite equal to space % above. But it's pretty close. \def\Egroup{% % To get correct interline space between the last line of the group % and the first line afterwards, we have to propagate \prevdepth. \endgraf % Not \par, as it may have been set to \lisppar. \global\dimen1 = \prevdepth \egroup % End the \vtop. \addgroupbox \prevdepth = \dimen1 \checkinserts } \def\addgroupbox{ % \dimen0 is the vertical size of the group's box. \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox % \dimen2 is how much space is left on the page (more or less). \dimen2 = \txipageheight \advance\dimen2 by -\pagetotal % if the group doesn't fit on the current page, and it's a big big % group, force a page break. \ifdim \dimen0 > \dimen2 \ifdim \pagetotal < \vfilllimit\txipageheight \page \fi \fi \box\groupbox } % % TeX puts in an \escapechar (i.e., `@') at the beginning of the help % message, so this ends up printing `@group can only ...'. % \newhelp\groupinvalidhelp{% group can only be used in environments such as @example,^^J% where each line of input produces a line of output.} % @need space-in-mils % forces a page break if there is not space-in-mils remaining. \newdimen\mil \mil=0.001in \parseargdef\need{% % Ensure vertical mode, so we don't make a big box in the middle of a % paragraph. \par % % If the @need value is less than one line space, it's useless. \dimen0 = #1\mil \dimen2 = \ht\strutbox \advance\dimen2 by \dp\strutbox \ifdim\dimen0 > \dimen2 % This is similar to the 'needspace' module in LaTeX. % The first penalty allows a break if the end of the page is % not too far away. Following penalties and skips are discarded. % Otherwise, require at least \dimen0 of vertical space. % % (We used to use a \vtop to reserve space, but this had spacing issues % when followed by a section heading, as it was not a "discardable item". % This also has the benefit of providing glue before the page break if % there isn't enough space.) \vskip0pt plus \dimen0 \penalty-100 \vskip0pt plus -\dimen0 \vskip \dimen0 \penalty9999 \vskip -\dimen0 \penalty0\relax % this hides the above glue from \safewhatsit and \dobreak \fi } % @br forces paragraph break (and is undocumented). \let\br = \par % @page forces the start of a new page. % \def\page{\par\vfill\supereject} % @exdent text.... % outputs text on separate line in roman font, starting at standard page margin % This records the amount of indent in the innermost environment. % That's how much \exdent should take out. \newskip\exdentamount % This defn is used inside fill environments such as @defun. \parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break} % This defn is used inside nofill environments such as @example. \parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount \leftline{\hskip\leftskip{\rm#1}}}} % @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current % paragraph. For more general purposes, use the \margin insertion % class. WHICH is `l' or `r'. Not documented, written for gawk manual. % \newskip\inmarginspacing \inmarginspacing=1cm \def\strutdepth{\dp\strutbox} % \def\doinmargin#1#2{\strut\vadjust{% \nobreak \kern-\strutdepth \vtop to \strutdepth{% \baselineskip=\strutdepth \vss % if you have multiple lines of stuff to put here, you'll need to % make the vbox yourself of the appropriate size. \ifx#1l% \llap{\ignorespaces #2\hskip\inmarginspacing}% \else \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}% \fi \null }% }} \def\inleftmargin{\doinmargin l} \def\inrightmargin{\doinmargin r} % % @inmargin{TEXT [, RIGHT-TEXT]} % (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right; % else use TEXT for both). % \def\inmargin#1{\parseinmargin #1,,\finish} \def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing. \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0 > 0pt \def\lefttext{#1}% have both texts \def\righttext{#2}% \else \def\lefttext{#1}% have only one text \def\righttext{#1}% \fi % \ifodd\pageno \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin \else \def\temp{\inleftmargin\lefttext}% \fi \temp } % @include FILE -- \input text of FILE. % \def\include{\parseargusing\filenamecatcodes\includezzz} \def\includezzz#1{% \pushthisfilestack \def\thisfile{#1}% {% \makevalueexpandable % we want to expand any @value in FILE. \turnoffactive % and allow special characters in the expansion \indexnofonts % Allow `@@' and other weird things in file names. \wlog{texinfo.tex: doing @include of #1^^J}% \edef\temp{\noexpand\input #1 }% % % This trickery is to read FILE outside of a group, in case it makes % definitions, etc. \expandafter }\temp \popthisfilestack } \def\filenamecatcodes{% \catcode`\\=\other \catcode`~=\other \catcode`^=\other \catcode`_=\other \catcode`|=\other \catcode`<=\other \catcode`>=\other \catcode`+=\other \catcode`-=\other \catcode`\`=\other \catcode`\'=\other } \def\pushthisfilestack{% \expandafter\pushthisfilestackX\popthisfilestack\StackTerm } \def\pushthisfilestackX{% \expandafter\pushthisfilestackY\thisfile\StackTerm } \def\pushthisfilestackY #1\StackTerm #2\StackTerm {% \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}% } \def\popthisfilestack{\errthisfilestackempty} \def\errthisfilestackempty{\errmessage{Internal error: the stack of filenames is empty.}} % \def\thisfile{} % @center line % outputs that line, centered. % \parseargdef\center{% \ifhmode \let\centersub\centerH \else \let\centersub\centerV \fi \centersub{\hfil \ignorespaces#1\unskip \hfil}% \let\centersub\relax % don't let the definition persist, just in case } \def\centerH#1{{% \hfil\break \advance\hsize by -\leftskip \advance\hsize by -\rightskip \line{#1}% \break }} % \newcount\centerpenalty \def\centerV#1{% % The idea here is the same as in \startdefun, \cartouche, etc.: if % @center is the first thing after a section heading, we need to wipe % out the negative parskip inserted by \sectionheading, but still % prevent a page break here. \centerpenalty = \lastpenalty \ifnum\centerpenalty>10000 \vskip\parskip \fi \ifnum\centerpenalty>9999 \penalty\centerpenalty \fi \line{\kern\leftskip #1\kern\rightskip}% } % @sp n outputs n lines of vertical space % \parseargdef\sp{\vskip #1\baselineskip} % @comment ...line which is ignored... % @c is the same as @comment % @ignore ... @end ignore is another way to write a comment \def\c{\begingroup \catcode`\^^M=\active% \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other% \cxxx} {\catcode`\^^M=\active \gdef\cxxx#1^^M{\endgroup}} % \let\comment\c % @paragraphindent NCHARS % We'll use ems for NCHARS, close enough. % NCHARS can also be the word `asis' or `none'. % We cannot feasibly implement @paragraphindent asis, though. % \def\asisword{asis} % no translation, these are keywords \def\noneword{none} % \parseargdef\paragraphindent{% \def\temp{#1}% \ifx\temp\asisword \else \ifx\temp\noneword \defaultparindent = 0pt \else \defaultparindent = #1em \fi \fi \parindent = \defaultparindent } % @exampleindent NCHARS % We'll use ems for NCHARS like @paragraphindent. % It seems @exampleindent asis isn't necessary, but % I preserve it to make it similar to @paragraphindent. \parseargdef\exampleindent{% \def\temp{#1}% \ifx\temp\asisword \else \ifx\temp\noneword \lispnarrowing = 0pt \else \lispnarrowing = #1em \fi \fi } % @firstparagraphindent WORD % If WORD is `none', then suppress indentation of the first paragraph % after a section heading. If WORD is `insert', then do indent at such % paragraphs. % % The paragraph indentation is suppressed or not by calling % \suppressfirstparagraphindent, which the sectioning commands do. % We switch the definition of this back and forth according to WORD. % By default, we suppress indentation. % \def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent} \def\insertword{insert} % \parseargdef\firstparagraphindent{% \def\temp{#1}% \ifx\temp\noneword \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent \else\ifx\temp\insertword \let\suppressfirstparagraphindent = \relax \else \errhelp = \EMsimple \errmessage{Unknown @firstparagraphindent option `\temp'}% \fi\fi } % Here is how we actually suppress indentation. Redefine \everypar to % \kern backwards by \parindent, and then reset itself to empty. % % We also make \indent itself not actually do anything until the next % paragraph. % \gdef\dosuppressfirstparagraphindent{% \gdef\indent {\restorefirstparagraphindent \indent}% \gdef\noindent{\restorefirstparagraphindent \noindent}% \global\everypar = {\kern -\parindent \restorefirstparagraphindent}% } % \gdef\restorefirstparagraphindent{% \global\let\indent = \ptexindent \global\let\noindent = \ptexnoindent \global\everypar = {}% } % leave vertical mode without cancelling any first paragraph indent \gdef\imageindent{% \toks0=\everypar \everypar={}% \ptexnoindent \global\everypar=\toks0 } % @refill is a no-op. \let\refill=\relax % @setfilename INFO-FILENAME - ignored \let\setfilename=\comment % @bye. \outer\def\bye{% \chappager\pagelabels % possibly set in \printindex \ifx\byeerror\relax\else\errmessage{\byeerror}\fi \tracingstats=1\ptexend} % set in \donoderef below, but we need to define this here so that % conditionals balance inside the large \ifpdf ... \fi blocks below. \newif\ifnodeseen \nodeseenfalse \message{pdf,} % adobe `portable' document format \newcount\tempnum \newcount\lnkcount \newtoks\filename \newcount\filenamelength \newcount\pgn \newtoks\toksA \newtoks\toksB \newtoks\toksC \newtoks\toksD \newbox\boxA \newbox\boxB \newcount\countA \newif\ifpdf \newif\ifpdfmakepagedest % when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1 % can be set). So we test for \relax and 0 as well as being undefined. \ifx\pdfoutput\thisisundefined \else \ifx\pdfoutput\relax \else \ifcase\pdfoutput \else \pdftrue \fi \fi \fi \newif\ifxetex \ifx\XeTeXrevision\thisisundefined\else \xetextrue \fi \newif\ifluatex \ifx\luatexversion\thisisundefined\else \luatextrue \ifnum\luatexversion>84 \pdftrue \fi \fi \newif\ifpdforxetex \ifpdf \pdforxetextrue \fi \ifxetex \pdforxetextrue \fi % Whether to use non-ASCII bytes in internal link targets. Presently this % is almost always on. \newif\iftxiuseunicodedestname \txiuseunicodedestnametrue % % For LuaTeX % \ifluatex % Use Unicode destination names \txiuseunicodedestnametrue % Escape PDF strings with converting UTF-16 from UTF-8 \begingroup \catcode`\%=12 \directlua{ function UTF16oct(str) tex.sprint(string.char(0x5c) .. '376' .. string.char(0x5c) .. '377') for c in string.utfvalues(str) do if c < 0x10000 then tex.sprint( string.format(string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o', math.floor(c / 256), math.floor(c % 256))) else c = c - 0x10000 local c_hi = c / 1024 + 0xd800 local c_lo = c % 1024 + 0xdc00 tex.sprint( string.format(string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o' .. string.char(0x5c) .. string.char(0x25) .. '03o', math.floor(c_hi / 256), math.floor(c_hi % 256), math.floor(c_lo / 256), math.floor(c_lo % 256))) end end end } \endgroup \def\pdfescapestrutfsixteen#1{\directlua{UTF16oct('\luaescapestring{#1}')}} % Escape PDF strings without converting \begingroup \directlua{ function PDFescstr(str) for c in string.bytes(str) do if c <= 0x20 or c >= 0x80 or c == 0x28 or c == 0x29 or c == 0x5c then tex.sprint(-2, string.format(string.char(0x5c) .. string.char(0x25) .. '03o', c)) else tex.sprint(-2, string.char(c)) end end end } % The -2 in the arguments here gives all the input to TeX catcode 12 % (other) or 10 (space), preventing undefined control sequence errors. See % https://lists.gnu.org/archive/html/bug-texinfo/2019-08/msg00031.html % \endgroup \def\pdfescapestring#1{\directlua{PDFescstr('\luaescapestring{#1}')}} \ifpdf % For LuaTeX >= 0.85 \def\pdfdest{\pdfextension dest} \let\pdfoutput\outputmode \def\pdfliteral{\pdfextension literal} \def\pdfcatalog{\pdfextension catalog} \def\pdftexversion{\numexpr\pdffeedback version\relax} \let\pdfximage\saveimageresource \let\pdfrefximage\useimageresource \let\pdflastximage\lastsavedimageresourceindex \def\pdfendlink{\pdfextension endlink\relax} \def\pdfoutline{\pdfextension outline} \def\pdfstartlink{\pdfextension startlink} \def\pdffontattr{\pdfextension fontattr} \def\pdfobj{\pdfextension obj} \def\pdflastobj{\numexpr\pdffeedback lastobj\relax} \let\pdfpagewidth\pagewidth \let\pdfpageheight\pageheight \edef\pdfhorigin{\pdfvariable horigin} \edef\pdfvorigin{\pdfvariable vorigin} \fi \fi % Output page labels information. % See PDF reference v.1.7 p.594, section 8.3.1. % Page label ranges must be increasing. \ifpdf \def\pagelabels{% \def\title{0 << /P (T-) /S /D >>}% % % support @contents at very end of document \ifnum\contentsendcount=\pagecount \ifnum\arabiccount<\romancount \pdfcatalog{/PageLabels << /Nums [\title \the\arabiccount << /S /D >> \the\romancount << /S /r >> ] >> }\relax \fi % no contents in document \else\ifnum\contentsendcount=0 \pdfcatalog{/PageLabels << /Nums [\title \the\arabiccount << /S /D >> ] >> }\relax \else \pdfcatalog{/PageLabels << /Nums [\title \the\romancount << /S /r >> \the\contentsendcount << /S /D >> ] >> }\relax \fi\fi } \else \let\pagelabels\relax \fi \newcount\pagecount \pagecount=0 \newcount\romancount \romancount=0 \newcount\arabiccount \arabiccount=0 \newcount\contentsendcount \contentsendcount=0 \ifpdf \let\ptxadvancepageno\advancepageno \def\advancepageno{% \ptxadvancepageno\global\advance\pagecount by 1 } \fi % PDF uses PostScript string constants for the names of xref targets, % for display in the outlines, and in other places. Thus, we have to % double any backslashes. Otherwise, a name like "\node" will be % interpreted as a newline (\n), followed by o, d, e. Not good. % % See http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html and % related messages. The final outcome is that it is up to the TeX user % to double the backslashes and otherwise make the string valid, so % that's what we do. pdftex 1.30.0 (ca.2005) introduced a primitive to % do this reliably, so we use it. % #1 is a control sequence in which to do the replacements, % which we \xdef. \def\txiescapepdf#1{% \ifx\pdfescapestring\thisisundefined % No primitive available; should we give a warning or log? % Many times it won't matter. \xdef#1{#1}% \else % The expandable \pdfescapestring primitive escapes parentheses, % backslashes, and other special chars. \xdef#1{\pdfescapestring{#1}}% \fi } \def\txiescapepdfutfsixteen#1{% \ifx\pdfescapestrutfsixteen\thisisundefined % No UTF-16 converting macro available. \txiescapepdf{#1}% \else \xdef#1{\pdfescapestrutfsixteen{#1}}% \fi } \newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images with PDF output, and none of those formats could be found. (.eps cannot be supported due to the design of the PDF format; use regular TeX (DVI output) for that.)} % definitions for pdftex or luatex with pdf output \ifpdf % Strings in PDF outlines can either be ASCII, or encoded in UTF-16BE % with BOM. Unfortunately there is no simple way with pdftex to output % UTF-16, so we have to do some quite convoluted expansion games if we % find the string contains a non-ASCII codepoint if we want these to % display correctly. We generated the UTF-16 sequences in % \DeclareUnicodeCharacter and we access them here. % \def\defpdfoutlinetextunicode#1{% \def\pdfoutlinetext{#1}% % % Make UTF-8 sequences expand to UTF-16 definitions. \passthroughcharsfalse \utfbytespdftrue \utfviiidefinedwarningfalse % % Completely expand, eliminating any control sequences such as \code, % leaving only possibly \utfbytes. \let\utfbytes\relax \pdfaccentliterals \xdef\pdfoutlinetextchecked{#1}% \checkutfbytes }% % Check if \utfbytes occurs in expansion. \def\checkutfbytes{% \expandafter\checkutfbytesz\pdfoutlinetextchecked\utfbytes\finish }% \def\checkutfbytesz#1\utfbytes#2\finish{% \def\after{#2}% \ifx\after\empty % No further action needed. Output ASCII string as-is, as converting % to UTF-16 is somewhat slow (and uses more space). \global\let\pdfoutlinetext\pdfoutlinetextchecked \else \passthroughcharstrue % pass UTF-8 sequences unaltered \xdef\pdfoutlinetext{\pdfoutlinetext}% \expandafter\expandutfsixteen\expandafter{\pdfoutlinetext}\pdfoutlinetext \fi }% % \catcode2=1 % begin-group character \catcode3=2 % end-group character % % argument should be pure UTF-8 with no control sequences. convert to % UTF-16BE by inserting null bytes before bytes < 128 and expanding % UTF-8 multibyte sequences to saved UTF-16BE sequences. \def\expandutfsixteen#1#2{% \bgroup \asciitounicode \passthroughcharsfalse \let\utfbytes\asis % % for Byte Order Mark (BOM) \catcode"FE=12 \catcode"FF=12 % % we want to treat { and } in #1 as any other ASCII bytes. however, % we need grouping characters for \scantokens and definitions/assignments, % so define alternative grouping characters using control characters % that are unlikely to occur. % this does not affect 0x02 or 0x03 bytes arising from expansion as % these are tokens with different catcodes. \catcode"02=1 % begin-group character \catcode"03=2 % end-group character % \expandafter\xdef\expandafter#2\scantokens{% ^^02^^fe^^ff#1^^03}% % NB we need \scantokens to provide both the open and close group tokens % for \xdef otherwise there is an e-TeX error "File ended while % scanning definition of..." % NB \scantokens is a e-TeX command which is assumed to be provided by % pdfTeX. % \egroup }% % \catcode2=12 \catcode3=12 % defaults % % Color support % % rg sets the color for filling (usual text, etc.); % RG sets the color for stroking (thin rules, e.g., normal _'s). \def\pdfsetcolor#1{\pdfliteral{#1 rg #1 RG}} % % PDF outline support % \pdfcatalog{/PageMode /UseOutlines} % % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). \def\dopdfimage#1#2#3{% \def\pdfimagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% \def\pdfimageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% % % pdftex (and the PDF format) support .pdf, .png, .jpg (among % others). Let's try in that order, PDF first since if % someone has a scalable image, presumably better to use that than a % bitmap. \let\pdfimgext=\empty \begingroup \openin 1 #1.pdf \ifeof 1 \openin 1 #1.PDF \ifeof 1 \openin 1 #1.png \ifeof 1 \openin 1 #1.jpg \ifeof 1 \openin 1 #1.jpeg \ifeof 1 \openin 1 #1.JPG \ifeof 1 \errhelp = \nopdfimagehelp \errmessage{Could not find image file #1 for pdf}% \else \gdef\pdfimgext{JPG}% \fi \else \gdef\pdfimgext{jpeg}% \fi \else \gdef\pdfimgext{jpg}% \fi \else \gdef\pdfimgext{png}% \fi \else \gdef\pdfimgext{PDF}% \fi \else \gdef\pdfimgext{pdf}% \fi \closein 1 \endgroup % % without \immediate, ancient pdftex seg faults when the same image is % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) \ifnum\pdftexversion < 14 \immediate\pdfimage \else \immediate\pdfximage \fi \ifdim \wd0 >0pt width \pdfimagewidth \fi \ifdim \wd2 >0pt height \pdfimageheight \fi \ifnum\pdftexversion<13 #1.\pdfimgext \else {#1.\pdfimgext}% \fi \ifnum\pdftexversion < 14 \else \pdfrefximage \pdflastximage \fi} % \def\setpdfdestname#1{{% % We have to set dummies so commands such as @code, and characters % such as \, aren't expanded when present in a section title. \indexnofonts \makevalueexpandable \turnoffactive \iftxiuseunicodedestname \ifx \declaredencoding \latone % Pass through Latin-1 characters. % LuaTeX with byte wise I/O converts Latin-1 characters to Unicode. \else \ifx \declaredencoding \utfeight % Pass through Unicode characters. \else % Use ASCII approximations in destination names. \passthroughcharsfalse \fi \fi \else % Use ASCII approximations in destination names. \passthroughcharsfalse \fi \def\pdfdestname{#1}% \txiescapepdf\pdfdestname }} % \def\setpdfoutlinetext#1{{% \indexnofonts \makevalueexpandable \turnoffactive \ifx \declaredencoding \latone % The PDF format can use an extended form of Latin-1 in bookmark % strings. See Appendix D of the PDF Reference, Sixth Edition, for % the "PDFDocEncoding". \passthroughcharstrue % Pass through Latin-1 characters. % LuaTeX: Convert to Unicode % pdfTeX: Use Latin-1 as PDFDocEncoding \def\pdfoutlinetext{#1}% \else \ifx \declaredencoding \utfeight \ifluatex % For LuaTeX with UTF-8. % Pass through Unicode characters for title texts. \passthroughcharstrue \pdfaccentliterals \xdef\pdfoutlinetext{#1}% \else % For pdfTeX with UTF-8. \defpdfoutlinetextunicode{#1}% \fi \else % For non-Latin-1 or non-UTF-8 encodings. % Use ASCII approximations. \passthroughcharsfalse \def\pdfoutlinetext{#1}% \fi \fi % LuaTeX: Convert to UTF-16 % pdfTeX: Use Latin-1 as PDFDocEncoding \txiescapepdfutfsixteen\pdfoutlinetext }} % \def\pdfmkdest#1{% \setpdfdestname{#1}% \safewhatsit{\pdfdest name{\pdfdestname} xyz}% } % % Adding outlines to PDF; macros for calculating structure of outlines % come from Petr Olsak \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% \else \csname#1\endcsname \fi} \def\advancenumber#1{\tempnum=\expnumber{#1}\relax \advance\tempnum by 1 \expandafter\xdef\csname#1\endcsname{\the\tempnum}} % % #1 is the section text, which is what will be displayed in the % outline by the pdf viewer. #2 is the pdf expression for the number % of subentries (or empty, for subsubsections). #3 is the node text, % which might be empty if this toc entry had no corresponding node. % #4 is the page number % \def\dopdfoutline#1#2#3#4{% % Generate a link to the node text if that exists; else, use the % page number. We could generate a destination for the section % text in the case where a section has no node, but it doesn't % seem worth the trouble, since most documents are normally structured. \setpdfoutlinetext{#1} \setpdfdestname{#3} \ifx\pdfdestname\empty \def\pdfdestname{#4}% \fi % \pdfoutline goto name{\pdfdestname}#2{\pdfoutlinetext}% } % \def\pdfmakeoutlines{% \begingroup % Read toc silently, to get counts of subentries for \pdfoutline. \def\partentry##1##2##3##4{}% ignore parts in the outlines \def\numchapentry##1##2##3##4{% \def\thischapnum{##2}% \def\thissecnum{0}% \def\thissubsecnum{0}% \def\indexlastsec{chap\thischapnum}% }% \def\numsecentry##1##2##3##4{% \advancenumber{chap\thischapnum}% \def\thissecnum{##2}% \def\thissubsecnum{0}% \def\indexlastsec{sec\thissecnum}% }% \def\numsubsecentry##1##2##3##4{% \advancenumber{sec\thissecnum}% \def\thissubsecnum{##2}% \def\indexlastsec{subsec\thissecnum}% }% \def\numsubsubsecentry##1##2##3##4{% \advancenumber{subsec\thissubsecnum}% }% \def\thischapnum{0}% \def\thissecnum{0}% \def\thissubsecnum{0}% \let\indexlastsec\empty % % Index initials are subsidiary to whatever sectioning command just % occurred, usually @appendix or @chapter but occasionally a lower level. \def\idxinitialentry##1##2##3##4{% \expandafter\advancenumber\expandafter{\indexlastsec}% }% % use \def rather than \let here because we redefine \chapentry et % al. a second time, below. \def\appentry{\numchapentry}% \def\appsecentry{\numsecentry}% \def\appsubsecentry{\numsubsecentry}% \def\appsubsubsecentry{\numsubsubsecentry}% \def\unnchapentry{\numchapentry}% \def\unnsecentry{\numsecentry}% \def\unnsubsecentry{\numsubsecentry}% \def\unnsubsubsecentry{\numsubsubsecentry}% % \readdatafile{toc}% % % Read toc second time, this time actually producing the outlines. % The `-' means take the \expnumber as the absolute number of % subentries, which we calculated on our first read of the .toc above. % % We use the node names as the destinations. % % Currently we prefix the section name with the section number % for chapter and appendix headings only in order to avoid too much % horizontal space being required in the PDF viewer. \def\numchapentry##1##2##3##4{% \dopdfoutline{##2 ##1}{count-\expnumber{chap##2}}{##3}{##4}}% \def\unnchapentry##1##2##3##4{% \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% \def\numsecentry##1##2##3##4{% \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% \def\numsubsecentry##1##2##3##4{% \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}% \def\numsubsubsecentry##1##2##3##4{% count is always zero \dopdfoutline{##1}{}{##3}{##4}}% \def\idxinitialentry##1##2##3##4{% \dopdfoutline{##1}{}{idx.##1.##2}{##4}}% % \ifnodeseen\else \dopdfoutlinecontents \fi % for @contents at beginning \setupdatafile % We can have normal brace characters in the PDF outlines, unlike % Texinfo index files. So set that up. \def\{{\lbracecharliteral}% \def\}{\rbracecharliteral}% \catcode`\\=\active \otherbackslash \input \tocreadfilename\relax \ifnodeseen \dopdfoutlinecontents \fi % for @contents at end \endgroup } \def\dopdfoutlinecontents{% \expandafter\dopdfoutline\expandafter{\putwordTOC}{}{txi.CONTENTS}{}% } {\catcode`[=1 \catcode`]=2 \catcode`{=\other \catcode`}=\other \gdef\lbracecharliteral[{]% \gdef\rbracecharliteral[}]% ] % \def\skipspaces#1{\def\PP{#1}\def\D{|}% \ifx\PP\D\let\nextsp\relax \else\let\nextsp\skipspaces \addtokens{\filename}{\PP}% \advance\filenamelength by 1 \fi \nextsp} \def\getfilename#1{% \filenamelength=0 % If we don't expand the argument now, \skipspaces will get % snagged on things like "@value{foo}". \edef\temp{#1}% \expandafter\skipspaces\temp|\relax } \ifnum\pdftexversion < 14 \let \startlink \pdfannotlink \else \let \startlink \pdfstartlink \fi \def\pdfmakeurl#1{% \startlink attr{/Border [0 0 0]}% user{/Subtype /Link /A << /S /URI /URI (#1) >>}% }% \def\endlink{\setcolor{\maincolor}\pdfendlink} % \def\pdflink#1{\pdflinkpage{#1}{#1}}% \def\pdflinkpage#1#2{% \startlink attr{/Border [0 0 0]} goto name{#1} \setcolor{\linkcolor}#2\endlink} \else % non-pdf mode \let\pdfmkdest = \gobble \let\pdfurl = \gobble \let\endlink = \relax \let\setcolor = \gobble \let\pdfsetcolor = \gobble \let\pdfmakeoutlines = \relax \fi % % For XeTeX % \ifxetex % % XeTeX version check % \ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.99996}>-1 % TeX Live 2016 contains XeTeX 0.99996 and xdvipdfmx 20160307. % It can use the `dvipdfmx:config' special (from TeX Live SVN r40941). % For avoiding PDF destination name replacement, we use this special % instead of xdvipdfmx's command line option `-C 0x0010'. \special{dvipdfmx:config C 0x0010} % XeTeX 0.99995+ comes with xdvipdfmx 20160307+. % It can handle Unicode destination names for PDF. \txiuseunicodedestnametrue \else % XeTeX < 0.99996 (TeX Live < 2016) cannot use the % `dvipdfmx:config' special. % So for avoiding PDF destination name replacement, % xdvipdfmx's command line option `-C 0x0010' is necessary. % % XeTeX < 0.99995 can not handle Unicode destination names for PDF % because xdvipdfmx 20150315 has a UTF-16 conversion issue. % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753). \txiuseunicodedestnamefalse \fi % % Color support \def\pdfsetcolor#1{\special{pdf:scolor [#1]}} % % PDF outline support % % Emulate pdfTeX primitive \def\pdfdest name#1 xyz{% \special{pdf:dest (#1) [@thispage /XYZ @xpos @ypos null]}% } % \def\setpdfdestname#1{{% % We have to set dummies so commands such as @code, and characters % such as \, aren't expanded when present in a section title. \indexnofonts \makevalueexpandable \turnoffactive \iftxiuseunicodedestname % Pass through Unicode characters. \else % Use ASCII approximations in destination names. \passthroughcharsfalse \fi \def\pdfdestname{#1}% \txiescapepdf\pdfdestname }} % \def\setpdfoutlinetext#1{{% \turnoffactive % Always use Unicode characters in title texts. \def\pdfoutlinetext{#1}% % For XeTeX, xdvipdfmx converts to UTF-16. % So we do not convert. \txiescapepdf\pdfoutlinetext }} % \def\pdfmkdest#1{% \setpdfdestname{#1}% \safewhatsit{\pdfdest name{\pdfdestname} xyz}% } % \def\dopdfoutline#1#2#3#4{% \setpdfoutlinetext{#1} \setpdfdestname{#3} \ifx\pdfdestname\empty \def\pdfdestname{#4}% \fi % \special{pdf:out [-] #2 << /Title (\pdfoutlinetext) /A << /S /GoTo /D (\pdfdestname) >> >> }% } % \def\pdfmakeoutlines{% \begingroup % For XeTeX, counts of subentries are not necessary. % Therefore, we read toc only once. % % We use node names as destinations. % % Currently we prefix the section name with the section number % for chapter and appendix headings only in order to avoid too much % horizontal space being required in the PDF viewer. \def\partentry##1##2##3##4{}% ignore parts in the outlines \def\numchapentry##1##2##3##4{% \dopdfoutline{##2 ##1}{1}{##3}{##4}% \def\indexseclevel{2}}% \def\numsecentry##1##2##3##4{% \dopdfoutline{##1}{2}{##3}{##4}% \def\indexseclevel{3}}% \def\numsubsecentry##1##2##3##4{% \dopdfoutline{##1}{3}{##3}{##4}% \def\indexseclevel{4}}% \def\numsubsubsecentry##1##2##3##4{% \dopdfoutline{##1}{4}{##3}{##4}% \def\indexseclevel{5}}% % \def\idxinitialentry##1##2##3##4{% \dopdfoutline{##1}{\indexseclevel}{idx.##1.##2}{##4}}% % \let\appentry\numchapentry% \let\appsecentry\numsecentry% \let\appsubsecentry\numsubsecentry% \let\appsubsubsecentry\numsubsubsecentry% \def\unnchapentry##1##2##3##4{% \dopdfoutline{##1}{1}{##3}{##4}}% \let\unnsecentry\numsecentry% \let\unnsubsecentry\numsubsecentry% \let\unnsubsubsecentry\numsubsubsecentry% % % For XeTeX, xdvipdfmx converts strings to UTF-16. % Therefore, the encoding and the language may not be considered. % \indexnofonts \pdfaccentliterals \ifnodeseen\else \dopdfoutlinecontents \fi % for @contents at beginning % \setupdatafile % We can have normal brace characters in the PDF outlines, unlike % Texinfo index files. So set that up. \def\{{\lbracecharliteral}% \def\}{\rbracecharliteral}% \catcode`\\=\active \otherbackslash \xetexpreauxfile \input \tocreadfilename\relax \xetexpostauxfile \ifnodeseen \dopdfoutlinecontents \fi % for @contents at end \endgroup } \def\dopdfoutlinecontents{% \expandafter\dopdfoutline\expandafter {\putwordTOC}{1}{txi.CONTENTS}{txi.CONTENTS}% } {\catcode`[=1 \catcode`]=2 \catcode`{=\other \catcode`}=\other \gdef\lbracecharliteral[{]% \gdef\rbracecharliteral[}]% ] \special{pdf:docview << /PageMode /UseOutlines >> } % ``\special{pdf:tounicode ...}'' is not necessary % because xdvipdfmx converts strings from UTF-8 to UTF-16 without it. % However, due to a UTF-16 conversion issue of xdvipdfmx 20150315, % ``\special{pdf:dest ...}'' cannot handle non-ASCII strings. % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753). % \def\skipspaces#1{\def\PP{#1}\def\D{|}% \ifx\PP\D\let\nextsp\relax \else\let\nextsp\skipspaces \addtokens{\filename}{\PP}% \advance\filenamelength by 1 \fi \nextsp} \def\getfilename#1{% \filenamelength=0 % If we don't expand the argument now, \skipspaces will get % snagged on things like "@value{foo}". \edef\temp{#1}% \expandafter\skipspaces\temp|\relax } \def\pdfmakeurl#1{% \special{pdf:bann << /Border [0 0 0] /Subtype /Link /A << /S /URI /URI (#1) >> >>}% } \def\endlink{\setcolor{\maincolor}\special{pdf:eann}} \def\pdflink#1{\pdflinkpage{#1}{#1}}% \def\pdflinkpage#1#2{% \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A << /S /GoTo /D (#1) >> >>}% \setcolor{\linkcolor}#2\endlink} % % % @image support % % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). \def\doxeteximage#1#2#3{% \def\xeteximagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% \def\xeteximageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% % % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among % others). Let's try in that order, PDF first since if % someone has a scalable image, presumably better to use that than a % bitmap. \let\xeteximgext=\empty \begingroup \openin 1 #1.pdf \ifeof 1 \openin 1 #1.PDF \ifeof 1 \openin 1 #1.png \ifeof 1 \openin 1 #1.jpg \ifeof 1 \openin 1 #1.jpeg \ifeof 1 \openin 1 #1.JPG \ifeof 1 \errmessage{Could not find image file #1 for XeTeX}% \else \gdef\xeteximgext{JPG}% \fi \else \gdef\xeteximgext{jpeg}% \fi \else \gdef\xeteximgext{jpg}% \fi \else \gdef\xeteximgext{png}% \fi \else \gdef\xeteximgext{PDF}% \fi \else \gdef\xeteximgext{pdf}% \fi \closein 1 \endgroup % % Putting an \hbox around the image can prevent an over-long line % after the image. \hbox\bgroup \def\xetexpdfext{pdf}% \ifx\xeteximgext\xetexpdfext \XeTeXpdffile "#1".\xeteximgext "" \else \def\xetexpdfext{PDF}% \ifx\xeteximgext\xetexpdfext \XeTeXpdffile "#1".\xeteximgext "" \else \XeTeXpicfile "#1".\xeteximgext "" \fi \fi \ifdim \wd0 >0pt width \xeteximagewidth \fi \ifdim \wd2 >0pt height \xeteximageheight \fi \relax \egroup } \fi % common definitions and code for pdftex, luatex and xetex \ifpdforxetex % The dark red here is dark enough to print on paper as % nearly black, but still distinguishable for online viewing. We use % black by default, though. \def\rgbDarkRed{0.50 0.09 0.12} \def\rgbBlack{0 0 0} % % Set color, and create a mark which defines \thiscolor accordingly, % so that \makeheadline knows which color to restore. \def\curcolor{0 0 0}% \def\setcolor#1{% \ifx#1\curcolor\else \xdef\currentcolordefs{\gdef\noexpand\thiscolor{#1}}% \domark \pdfsetcolor{#1}% \xdef\curcolor{#1}% \fi } % \let\maincolor\rgbBlack \pdfsetcolor{\maincolor} \edef\thiscolor{\maincolor} \def\currentcolordefs{} % \def\makefootline{% \baselineskip24pt \line{\pdfsetcolor{\maincolor}\the\footline}% } % \def\makeheadline{% \vbox to 0pt{% \vskip-22.5pt \line{% \vbox to8.5pt{}% % Extract \thiscolor definition from the marks. \getcolormarks % Typeset the headline with \maincolor, then restore the color. \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}% }% \vss }% \nointerlineskip } % % by default, use black for everything. \def\urlcolor{\rgbBlack} \let\linkcolor\rgbBlack % % make a live url in pdf output. \def\pdfurl#1{% \begingroup % it seems we really need yet another set of dummies; have not % tried to figure out what each command should do in the context % of @url. for now, just make @/ a no-op, that's the only one % people have actually reported a problem with. % \normalturnoffactive \def\@{@}% \let\/=\empty \makevalueexpandable % do we want to go so far as to use \indexnofonts instead of just % special-casing \var here? \def\var##1{##1}% % \leavevmode\setcolor{\urlcolor}% \pdfmakeurl{#1}% \endgroup} % % \pdfgettoks - Surround page numbers in #1 with @pdflink. #1 may % be a simple number, or a list of numbers in the case of an index % entry. \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} \def\maketoks{% \expandafter\poptoks\the\toksA|ENDTOKS|\relax \ifx\first0\adn0 \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 \else \ifnum0=\countA\else\makelink\fi \ifx\first.\let\next=\done\else \let\next=\maketoks \addtokens{\toksB}{\the\toksD} \ifx\first,\addtokens{\toksB}{\space}\fi \fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \next} \def\makelink{\addtokens{\toksB}% {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} \fi \ifpdforxetex % for pdftex. {\catcode`^^cc=13 \gdef\pdfaccentliteralsutfviii{% % For PDF outline only. Unicode combining accents follow the % character they modify. Note we need at least the first byte % of the UTF-8 sequences to have an active catcode to allow the % definitions to do their magic. \def\"##1{##1^^cc^^88}% U+0308 \def\'##1{##1^^cc^^81}% U+0301 \def\,##1{##1^^cc^^a7}% U+0327 \def\=##1{##1^^cc^^85}% U+0305 \def\^##1{##1^^cc^^82}% U+0302 \def\`##1{##1^^cc^^80}% U+0300 \def\~##1{##1^^cc^^83}% U+0303 \def\dotaccent##1{##1^^cc^^87}% U+0307 \def\H##1{##1^^cc^^8b}% U+030B \def\ogonek##1{##1^^cc^^a8}% U+0328 \def\ringaccent##1{##1^^cc^^8a}% U+030A \def\u##1{##1^^cc^^8c}% U+0306 \def\ubaraccent##1{##1^^cc^^b1}% U+0331 \def\udotaccent##1{##1^^cc^^a3}% U+0323 \def\v##1{##1^^cc^^8c}% U+030C % this definition of @tieaccent will only work with exactly two characters % in argument as we need to insert the combining character between them. \def\tieaccent##1{\tieaccentz##1}% \def\tieaccentz##1##2{##1^^cd^^a1##2} % U+0361 }}% % % for xetex and luatex, which both support extended ^^^^ escapes and % process the Unicode codepoint as a single token. \gdef\pdfaccentliteralsnative{% \def\"##1{##1^^^^0308}% \def\'##1{##1^^^^0301}% \def\,##1{##1^^^^0327}% \def\=##1{##1^^^^0305}% \def\^##1{##1^^^^0302}% \def\`##1{##1^^^^0300}% \def\~##1{##1^^^^0303}% \def\dotaccent##1{##1^^^^0307}% \def\H##1{##1^^^^030b}% \def\ogonek##1{##1^^^^0328}% \def\ringaccent##1{##1^^^^030a}% \def\u##1{##1^^^^0306}% \def\ubaraccent##1{##1^^^^0331}% \def\udotaccent##1{##1^^^^0323}% \def\v##1{##1^^^^030c}% \def\tieaccent##1{\tieaccentz##1}% \def\tieaccentz##1##2{##1^^^^0361##2} % U+0361 }% % % use the appropriate definition \ifluatex \let\pdfaccentliterals\pdfaccentliteralsnative \else \ifxetex \let\pdfaccentliterals\pdfaccentliteralsnative \else \let\pdfaccentliterals\pdfaccentliteralsutfviii \fi \fi \fi % \message{fonts,} % Set the baselineskip to #1, and the lineskip and strut size % correspondingly. There is no deep meaning behind these magic numbers % used as factors; they just match (closely enough) what Knuth defined. % \def\lineskipfactor{.08333} \def\strutheightpercent{.70833} \def\strutdepthpercent {.29167} % % can get a sort of poor man's double spacing by redefining this. \def\baselinefactor{1} % \newdimen\textleading \def\setleading#1{% \dimen0 = #1\relax \normalbaselineskip = \baselinefactor\dimen0 \normallineskip = \lineskipfactor\normalbaselineskip \normalbaselines \setbox\strutbox =\hbox{% \vrule width0pt height\strutheightpercent\baselineskip depth \strutdepthpercent \baselineskip }% } % PDF CMaps. See also LaTeX's t1.cmap. % % do nothing with this by default. \expandafter\let\csname cmapOT1\endcsname\gobble \expandafter\let\csname cmapOT1IT\endcsname\gobble \expandafter\let\csname cmapOT1TT\endcsname\gobble % if we are producing pdf, and we have \pdffontattr, then define cmaps. % (\pdffontattr was introduced many years ago, but people still run % older pdftex's; it's easy to conditionalize, so we do.) \ifpdf \ifx\pdffontattr\thisisundefined \else \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap %%DocumentNeededResources: ProcSet (CIDInit) %%IncludeResource: ProcSet (CIDInit) %%BeginResource: CMap (TeX-OT1-0) %%Title: (TeX-OT1-0 TeX OT1 0) %%Version: 1.000 %%EndComments /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TeX) /Ordering (OT1) /Supplement 0 >> def /CMapName /TeX-OT1-0 def /CMapType 2 def 1 begincodespacerange <00> <7F> endcodespacerange 8 beginbfrange <00> <01> <0393> <09> <0A> <03A8> <23> <26> <0023> <28> <3B> <0028> <3F> <5B> <003F> <5D> <5E> <005D> <61> <7A> <0061> <7B> <7C> <2013> endbfrange 40 beginbfchar <02> <0398> <03> <039B> <04> <039E> <05> <03A0> <06> <03A3> <07> <03D2> <08> <03A6> <0B> <00660066> <0C> <00660069> <0D> <0066006C> <0E> <006600660069> <0F> <00660066006C> <10> <0131> <11> <0237> <12> <0060> <13> <00B4> <14> <02C7> <15> <02D8> <16> <00AF> <17> <02DA> <18> <00B8> <19> <00DF> <1A> <00E6> <1B> <0153> <1C> <00F8> <1D> <00C6> <1E> <0152> <1F> <00D8> <21> <0021> <22> <201D> <27> <2019> <3C> <00A1> <3D> <003D> <3E> <00BF> <5C> <201C> <5F> <02D9> <60> <2018> <7D> <02DD> <7E> <007E> <7F> <00A8> endbfchar endcmap CMapName currentdict /CMap defineresource pop end end %%EndResource %%EOF }\endgroup \expandafter\edef\csname cmapOT1\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% % % \cmapOT1IT \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap %%DocumentNeededResources: ProcSet (CIDInit) %%IncludeResource: ProcSet (CIDInit) %%BeginResource: CMap (TeX-OT1IT-0) %%Title: (TeX-OT1IT-0 TeX OT1IT 0) %%Version: 1.000 %%EndComments /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TeX) /Ordering (OT1IT) /Supplement 0 >> def /CMapName /TeX-OT1IT-0 def /CMapType 2 def 1 begincodespacerange <00> <7F> endcodespacerange 8 beginbfrange <00> <01> <0393> <09> <0A> <03A8> <25> <26> <0025> <28> <3B> <0028> <3F> <5B> <003F> <5D> <5E> <005D> <61> <7A> <0061> <7B> <7C> <2013> endbfrange 42 beginbfchar <02> <0398> <03> <039B> <04> <039E> <05> <03A0> <06> <03A3> <07> <03D2> <08> <03A6> <0B> <00660066> <0C> <00660069> <0D> <0066006C> <0E> <006600660069> <0F> <00660066006C> <10> <0131> <11> <0237> <12> <0060> <13> <00B4> <14> <02C7> <15> <02D8> <16> <00AF> <17> <02DA> <18> <00B8> <19> <00DF> <1A> <00E6> <1B> <0153> <1C> <00F8> <1D> <00C6> <1E> <0152> <1F> <00D8> <21> <0021> <22> <201D> <23> <0023> <24> <00A3> <27> <2019> <3C> <00A1> <3D> <003D> <3E> <00BF> <5C> <201C> <5F> <02D9> <60> <2018> <7D> <02DD> <7E> <007E> <7F> <00A8> endbfchar endcmap CMapName currentdict /CMap defineresource pop end end %%EndResource %%EOF }\endgroup \expandafter\edef\csname cmapOT1IT\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% % % \cmapOT1TT \begingroup \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap %%DocumentNeededResources: ProcSet (CIDInit) %%IncludeResource: ProcSet (CIDInit) %%BeginResource: CMap (TeX-OT1TT-0) %%Title: (TeX-OT1TT-0 TeX OT1TT 0) %%Version: 1.000 %%EndComments /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (TeX) /Ordering (OT1TT) /Supplement 0 >> def /CMapName /TeX-OT1TT-0 def /CMapType 2 def 1 begincodespacerange <00> <7F> endcodespacerange 5 beginbfrange <00> <01> <0393> <09> <0A> <03A8> <21> <26> <0021> <28> <5F> <0028> <61> <7E> <0061> endbfrange 32 beginbfchar <02> <0398> <03> <039B> <04> <039E> <05> <03A0> <06> <03A3> <07> <03D2> <08> <03A6> <0B> <2191> <0C> <2193> <0D> <0027> <0E> <00A1> <0F> <00BF> <10> <0131> <11> <0237> <12> <0060> <13> <00B4> <14> <02C7> <15> <02D8> <16> <00AF> <17> <02DA> <18> <00B8> <19> <00DF> <1A> <00E6> <1B> <0153> <1C> <00F8> <1D> <00C6> <1E> <0152> <1F> <00D8> <20> <2423> <27> <2019> <60> <2018> <7F> <00A8> endbfchar endcmap CMapName currentdict /CMap defineresource pop end end %%EndResource %%EOF }\endgroup \expandafter\edef\csname cmapOT1TT\endcsname#1{% \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% }% \fi\fi % % This is what gets called when #5 of \setfont is empty. \let\cmap\gobble % % (end of cmaps) % Set the font macro #1 to the font named \fontprefix#2. % #3 is the font's design size, #4 is a scale factor, #5 is the CMap % encoding (only OT1, OT1IT and OT1TT are allowed, or empty to omit). % Example: % #1 = \textrm % #2 = \rmshape % #3 = 10 % #4 = \mainmagstep % #5 = OT1 % \def\setfont#1#2#3#4#5{% \font#1=\fontprefix#2#3 scaled #4 \csname cmap#5\endcsname#1% \ifx#2\ttshape\hyphenchar#1=-1 \fi \ifx#2\ttbshape\hyphenchar#1=-1 \fi \ifx#2\ttslshape\hyphenchar#1=-1 \fi } % Use cm as the default font prefix. % To specify the font prefix, you must define \fontprefix % before you read in texinfo.tex. \ifx\fontprefix\thisisundefined \def\fontprefix{cm} \fi % Support font families that don't use the same naming scheme as CM. \def\rmshape{r} \def\rmbshape{bx} % where the normal face is bold \def\bfshape{b} \def\bxshape{bx} \def\ttshape{tt} \def\ttbshape{tt} \def\ttslshape{sltt} \def\itshape{ti} \def\itbshape{bxti} \def\slshape{sl} \def\slbshape{bxsl} \def\sfshape{ss} \def\sfbshape{ss} \def\scshape{csc} \def\scbshape{csc} % Definitions for a main text size of 11pt. (The default in Texinfo.) % \def\definetextfontsizexi{% % Text fonts (11.2pt, magstep1). \def\textnominalsize{11pt} \edef\mainmagstep{\magstephalf} \setfont\textrm\rmshape{10}{\mainmagstep}{OT1} \setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} \setfont\textbf\bfshape{10}{\mainmagstep}{OT1} \setfont\textit\itshape{10}{\mainmagstep}{OT1IT} \setfont\textsl\slshape{10}{\mainmagstep}{OT1} \setfont\textsf\sfshape{10}{\mainmagstep}{OT1} \setfont\textsc\scshape{10}{\mainmagstep}{OT1} \setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} \font\texti=cmmi10 scaled \mainmagstep \font\textsy=cmsy10 scaled \mainmagstep \def\textecsize{1095} % A few fonts for @defun names and args. \setfont\defbf\bfshape{10}{\magstep1}{OT1} \setfont\deftt\ttshape{10}{\magstep1}{OT1TT} \setfont\defsl\slshape{10}{\magstep1}{OT1} \setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT} \def\df{\let\ttfont=\deftt \let\bffont = \defbf \let\ttslfont=\defttsl \let\slfont=\defsl \bf} % Fonts for indices, footnotes, small examples (9pt). \def\smallnominalsize{9pt} \setfont\smallrm\rmshape{9}{1000}{OT1} \setfont\smalltt\ttshape{9}{1000}{OT1TT} \setfont\smallbf\bfshape{10}{900}{OT1} \setfont\smallit\itshape{9}{1000}{OT1IT} \setfont\smallsl\slshape{9}{1000}{OT1} \setfont\smallsf\sfshape{9}{1000}{OT1} \setfont\smallsc\scshape{10}{900}{OT1} \setfont\smallttsl\ttslshape{10}{900}{OT1TT} \font\smalli=cmmi9 \font\smallsy=cmsy9 \def\smallecsize{0900} % Fonts for small examples (8pt). \def\smallernominalsize{8pt} \setfont\smallerrm\rmshape{8}{1000}{OT1} \setfont\smallertt\ttshape{8}{1000}{OT1TT} \setfont\smallerbf\bfshape{10}{800}{OT1} \setfont\smallerit\itshape{8}{1000}{OT1IT} \setfont\smallersl\slshape{8}{1000}{OT1} \setfont\smallersf\sfshape{8}{1000}{OT1} \setfont\smallersc\scshape{10}{800}{OT1} \setfont\smallerttsl\ttslshape{10}{800}{OT1TT} \font\smalleri=cmmi8 \font\smallersy=cmsy8 \def\smallerecsize{0800} % Fonts for math mode superscripts (7pt). \def\sevennominalsize{7pt} \setfont\sevenrm\rmshape{7}{1000}{OT1} \setfont\seventt\ttshape{10}{700}{OT1TT} \setfont\sevenbf\bfshape{10}{700}{OT1} \setfont\sevenit\itshape{7}{1000}{OT1IT} \setfont\sevensl\slshape{10}{700}{OT1} \setfont\sevensf\sfshape{10}{700}{OT1} \setfont\sevensc\scshape{10}{700}{OT1} \setfont\seventtsl\ttslshape{10}{700}{OT1TT} \font\seveni=cmmi7 \font\sevensy=cmsy7 \def\sevenecsize{0700} % Fonts for title page (20.4pt): \def\titlenominalsize{20pt} \setfont\titlerm\rmbshape{12}{\magstep3}{OT1} \setfont\titleit\itbshape{10}{\magstep4}{OT1IT} \setfont\titlesl\slbshape{10}{\magstep4}{OT1} \setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} \setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} \setfont\titlesf\sfbshape{17}{\magstep1}{OT1} \let\titlebf=\titlerm \setfont\titlesc\scbshape{10}{\magstep4}{OT1} \font\titlei=cmmi12 scaled \magstep3 \font\titlesy=cmsy10 scaled \magstep4 \def\titleecsize{2074} % Chapter (and unnumbered) fonts (17.28pt). \def\chapnominalsize{17pt} \setfont\chaprm\rmbshape{12}{\magstep2}{OT1} \setfont\chapit\itbshape{10}{\magstep3}{OT1IT} \setfont\chapsl\slbshape{10}{\magstep3}{OT1} \setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT} \setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT} \setfont\chapsf\sfbshape{17}{1000}{OT1} \let\chapbf=\chaprm \setfont\chapsc\scbshape{10}{\magstep3}{OT1} \font\chapi=cmmi12 scaled \magstep2 \font\chapsy=cmsy10 scaled \magstep3 \def\chapecsize{1728} % Section fonts (14.4pt). \def\secnominalsize{14pt} \setfont\secrm\rmbshape{12}{\magstep1}{OT1} \setfont\secrmnotbold\rmshape{12}{\magstep1}{OT1} \setfont\secit\itbshape{10}{\magstep2}{OT1IT} \setfont\secsl\slbshape{10}{\magstep2}{OT1} \setfont\sectt\ttbshape{12}{\magstep1}{OT1TT} \setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT} \setfont\secsf\sfbshape{12}{\magstep1}{OT1} \let\secbf\secrm \setfont\secsc\scbshape{10}{\magstep2}{OT1} \font\seci=cmmi12 scaled \magstep1 \font\secsy=cmsy10 scaled \magstep2 \def\sececsize{1440} % Subsection fonts (13.15pt). \def\ssecnominalsize{13pt} \setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1} \setfont\ssecit\itbshape{10}{1315}{OT1IT} \setfont\ssecsl\slbshape{10}{1315}{OT1} \setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT} \setfont\ssecttsl\ttslshape{10}{1315}{OT1TT} \setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1} \let\ssecbf\ssecrm \setfont\ssecsc\scbshape{10}{1315}{OT1} \font\sseci=cmmi12 scaled \magstephalf \font\ssecsy=cmsy10 scaled 1315 \def\ssececsize{1200} % Reduced fonts for @acronym in text (10pt). \def\reducednominalsize{10pt} \setfont\reducedrm\rmshape{10}{1000}{OT1} \setfont\reducedtt\ttshape{10}{1000}{OT1TT} \setfont\reducedbf\bfshape{10}{1000}{OT1} \setfont\reducedit\itshape{10}{1000}{OT1IT} \setfont\reducedsl\slshape{10}{1000}{OT1} \setfont\reducedsf\sfshape{10}{1000}{OT1} \setfont\reducedsc\scshape{10}{1000}{OT1} \setfont\reducedttsl\ttslshape{10}{1000}{OT1TT} \font\reducedi=cmmi10 \font\reducedsy=cmsy10 \def\reducedecsize{1000} \textleading = 13.2pt % line spacing for 11pt CM \textfonts % reset the current fonts \rm } % end of 11pt text font size definitions, \definetextfontsizexi % Definitions to make the main text be 10pt Computer Modern, with % section, chapter, etc., sizes following suit. This is for the GNU % Press printing of the Emacs 22 manual. Maybe other manuals in the % future. Used with @smallbook, which sets the leading to 12pt. % \def\definetextfontsizex{% % Text fonts (10pt). \def\textnominalsize{10pt} \edef\mainmagstep{1000} \setfont\textrm\rmshape{10}{\mainmagstep}{OT1} \setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} \setfont\textbf\bfshape{10}{\mainmagstep}{OT1} \setfont\textit\itshape{10}{\mainmagstep}{OT1IT} \setfont\textsl\slshape{10}{\mainmagstep}{OT1} \setfont\textsf\sfshape{10}{\mainmagstep}{OT1} \setfont\textsc\scshape{10}{\mainmagstep}{OT1} \setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} \font\texti=cmmi10 scaled \mainmagstep \font\textsy=cmsy10 scaled \mainmagstep \def\textecsize{1000} % A few fonts for @defun names and args. \setfont\defbf\bfshape{10}{\magstephalf}{OT1} \setfont\deftt\ttshape{10}{\magstephalf}{OT1TT} \setfont\defsl\slshape{10}{\magstephalf}{OT1} \setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT} \def\df{\let\ttfont=\deftt \let\bffont = \defbf \let\slfont=\defsl \let\ttslfont=\defttsl \bf} % Fonts for indices, footnotes, small examples (9pt). \def\smallnominalsize{9pt} \setfont\smallrm\rmshape{9}{1000}{OT1} \setfont\smalltt\ttshape{9}{1000}{OT1TT} \setfont\smallbf\bfshape{10}{900}{OT1} \setfont\smallit\itshape{9}{1000}{OT1IT} \setfont\smallsl\slshape{9}{1000}{OT1} \setfont\smallsf\sfshape{9}{1000}{OT1} \setfont\smallsc\scshape{10}{900}{OT1} \setfont\smallttsl\ttslshape{10}{900}{OT1TT} \font\smalli=cmmi9 \font\smallsy=cmsy9 \def\smallecsize{0900} % Fonts for small examples (8pt). \def\smallernominalsize{8pt} \setfont\smallerrm\rmshape{8}{1000}{OT1} \setfont\smallertt\ttshape{8}{1000}{OT1TT} \setfont\smallerbf\bfshape{10}{800}{OT1} \setfont\smallerit\itshape{8}{1000}{OT1IT} \setfont\smallersl\slshape{8}{1000}{OT1} \setfont\smallersf\sfshape{8}{1000}{OT1} \setfont\smallersc\scshape{10}{800}{OT1} \setfont\smallerttsl\ttslshape{10}{800}{OT1TT} \font\smalleri=cmmi8 \font\smallersy=cmsy8 \def\smallerecsize{0800} % Fonts for math mode superscripts (7pt). \def\sevennominalsize{7pt} \setfont\sevenrm\rmshape{7}{1000}{OT1} \setfont\seventt\ttshape{10}{700}{OT1TT} \setfont\sevenbf\bfshape{10}{700}{OT1} \setfont\sevenit\itshape{7}{1000}{OT1IT} \setfont\sevensl\slshape{10}{700}{OT1} \setfont\sevensf\sfshape{10}{700}{OT1} \setfont\sevensc\scshape{10}{700}{OT1} \setfont\seventtsl\ttslshape{10}{700}{OT1TT} \font\seveni=cmmi7 \font\sevensy=cmsy7 \def\sevenecsize{0700} % Fonts for title page (20.4pt): \def\titlenominalsize{20pt} \setfont\titlerm\rmbshape{12}{\magstep3}{OT1} \setfont\titleit\itbshape{10}{\magstep4}{OT1IT} \setfont\titlesl\slbshape{10}{\magstep4}{OT1} \setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} \setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} \setfont\titlesf\sfbshape{17}{\magstep1}{OT1} \let\titlebf=\titlerm \setfont\titlesc\scbshape{10}{\magstep4}{OT1} \font\titlei=cmmi12 scaled \magstep3 \font\titlesy=cmsy10 scaled \magstep4 \def\titleecsize{2074} % Chapter fonts (14.4pt). \def\chapnominalsize{14pt} \setfont\chaprm\rmbshape{12}{\magstep1}{OT1} \setfont\chapit\itbshape{10}{\magstep2}{OT1IT} \setfont\chapsl\slbshape{10}{\magstep2}{OT1} \setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT} \setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT} \setfont\chapsf\sfbshape{12}{\magstep1}{OT1} \let\chapbf\chaprm \setfont\chapsc\scbshape{10}{\magstep2}{OT1} \font\chapi=cmmi12 scaled \magstep1 \font\chapsy=cmsy10 scaled \magstep2 \def\chapecsize{1440} % Section fonts (12pt). \def\secnominalsize{12pt} \setfont\secrm\rmbshape{12}{1000}{OT1} \setfont\secit\itbshape{10}{\magstep1}{OT1IT} \setfont\secsl\slbshape{10}{\magstep1}{OT1} \setfont\sectt\ttbshape{12}{1000}{OT1TT} \setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT} \setfont\secsf\sfbshape{12}{1000}{OT1} \let\secbf\secrm \setfont\secsc\scbshape{10}{\magstep1}{OT1} \font\seci=cmmi12 \font\secsy=cmsy10 scaled \magstep1 \def\sececsize{1200} % Subsection fonts (10pt). \def\ssecnominalsize{10pt} \setfont\ssecrm\rmbshape{10}{1000}{OT1} \setfont\ssecit\itbshape{10}{1000}{OT1IT} \setfont\ssecsl\slbshape{10}{1000}{OT1} \setfont\ssectt\ttbshape{10}{1000}{OT1TT} \setfont\ssecttsl\ttslshape{10}{1000}{OT1TT} \setfont\ssecsf\sfbshape{10}{1000}{OT1} \let\ssecbf\ssecrm \setfont\ssecsc\scbshape{10}{1000}{OT1} \font\sseci=cmmi10 \font\ssecsy=cmsy10 \def\ssececsize{1000} % Reduced fonts for @acronym in text (9pt). \def\reducednominalsize{9pt} \setfont\reducedrm\rmshape{9}{1000}{OT1} \setfont\reducedtt\ttshape{9}{1000}{OT1TT} \setfont\reducedbf\bfshape{10}{900}{OT1} \setfont\reducedit\itshape{9}{1000}{OT1IT} \setfont\reducedsl\slshape{9}{1000}{OT1} \setfont\reducedsf\sfshape{9}{1000}{OT1} \setfont\reducedsc\scshape{10}{900}{OT1} \setfont\reducedttsl\ttslshape{10}{900}{OT1TT} \font\reducedi=cmmi9 \font\reducedsy=cmsy9 \def\reducedecsize{0900} \divide\parskip by 2 % reduce space between paragraphs \textleading = 12pt % line spacing for 10pt CM \textfonts % reset the current fonts \rm } % end of 10pt text font size definitions, \definetextfontsizex % Fonts for short table of contents. \setfont\shortcontrm\rmshape{12}{1000}{OT1} \setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12 \setfont\shortcontsl\slshape{12}{1000}{OT1} \setfont\shortconttt\ttshape{12}{1000}{OT1TT} % We provide the user-level command % @fonttextsize 10 % (or 11) to redefine the text font size. pt is assumed. % \def\xiword{11} \def\xword{10} \def\xwordpt{10pt} % \parseargdef\fonttextsize{% \def\textsizearg{#1}% %\wlog{doing @fonttextsize \textsizearg}% % % Set \globaldefs so that documents can use this inside @tex, since % makeinfo 4.8 does not support it, but we need it nonetheless. % \begingroup \globaldefs=1 \ifx\textsizearg\xword \definetextfontsizex \else \ifx\textsizearg\xiword \definetextfontsizexi \else \errhelp=\EMsimple \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'} \fi\fi \endgroup } % % Change the current font style to #1, remembering it in \curfontstyle. % For now, we do not accumulate font styles: @b{@i{foo}} prints foo in % italics, not bold italics. % \def\setfontstyle#1{% \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd. \csname #1font\endcsname % change the current font } \def\rm{\fam=0 \setfontstyle{rm}} \def\it{\fam=\itfam \setfontstyle{it}} \def\sl{\fam=\slfam \setfontstyle{sl}} \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} \def\tt{\fam=\ttfam \setfontstyle{tt}} % Texinfo sort of supports the sans serif font style, which plain TeX does not. % So we set up a \sf. \newfam\sffam \def\sf{\fam=\sffam \setfontstyle{sf}} % We don't need math for this font style. \def\ttsl{\setfontstyle{ttsl}} % In order for the font changes to affect most math symbols and letters, % we have to define the \textfont of the standard families. % We don't bother to reset \scriptscriptfont; awaiting user need. % \def\resetmathfonts{% \textfont0=\rmfont \textfont1=\ifont \textfont2=\syfont \textfont\itfam=\itfont \textfont\slfam=\slfont \textfont\bffam=\bffont \textfont\ttfam=\ttfont \textfont\sffam=\sffont % % Fonts for superscript. Note that the 7pt fonts are used regardless % of the current font size. \scriptfont0=\sevenrm \scriptfont1=\seveni \scriptfont2=\sevensy \scriptfont\itfam=\sevenit \scriptfont\slfam=\sevensl \scriptfont\bffam=\sevenbf \scriptfont\ttfam=\seventt \scriptfont\sffam=\sevensf } % \defineassignfonts{SIZE} - % Define sequence \assignfontsSIZE, which switches between font sizes % by redefining the meanings of \STYLEfont. (Just \STYLE additionally sets % the current \fam for math mode.) % \def\defineassignfonts#1{% \expandafter\edef\csname assignfonts#1\endcsname{% \let\noexpand\rmfont\csname #1rm\endcsname \let\noexpand\itfont\csname #1it\endcsname \let\noexpand\slfont\csname #1sl\endcsname \let\noexpand\bffont\csname #1bf\endcsname \let\noexpand\ttfont\csname #1tt\endcsname \let\noexpand\smallcaps\csname #1sc\endcsname \let\noexpand\sffont \csname #1sf\endcsname \let\noexpand\ifont \csname #1i\endcsname \let\noexpand\syfont \csname #1sy\endcsname \let\noexpand\ttslfont\csname #1ttsl\endcsname } } \def\assignfonts#1{% \csname assignfonts#1\endcsname } \newif\ifrmisbold % Select smaller font size with the current style. Used to change font size % in, e.g., the LaTeX logo and acronyms. If we are using bold fonts for % normal roman text, also use bold fonts for roman text in the smaller size. \def\switchtolllsize{% \expandafter\assignfonts\expandafter{\lllsize}% \ifrmisbold \let\rmfont\bffont \fi \csname\curfontstyle\endcsname }% \def\switchtolsize{% \expandafter\assignfonts\expandafter{\lsize}% \ifrmisbold \let\rmfont\bffont \fi \csname\curfontstyle\endcsname }% % Define the font-changing commands (all called \...fonts). % Each font-changing command also sets the names \lsize (one size lower) % and \lllsize (three sizes lower). These relative commands are used % in, e.g., the LaTeX logo and acronyms. % % Note: The fonts used for \ifont are for "math italics" (\itfont is for % italics in regular text). \syfont is also used in math mode only. % \def\definefontsetatsize#1#2#3#4#5{% \defineassignfonts{#1}% \expandafter\def\csname #1fonts\endcsname{% \def\curfontsize{#1}% \def\lsize{#2}\def\lllsize{#3}% \csname rmisbold#5\endcsname \csname assignfonts#1\endcsname \resetmathfonts \setleading{#4}% }} \definefontsetatsize{text} {reduced}{smaller}{\textleading}{false} \definefontsetatsize{title} {chap} {subsec} {27pt} {true} \definefontsetatsize{chap} {sec} {text} {19pt} {true} \definefontsetatsize{sec} {subsec} {reduced}{17pt} {true} \definefontsetatsize{ssec} {text} {small} {15pt} {true} \definefontsetatsize{reduced}{small} {smaller}{10.5pt}{false} \definefontsetatsize{small} {smaller}{smaller}{10.5pt}{false} \definefontsetatsize{smaller}{smaller}{smaller}{9.5pt} {false} \def\titlefont#1{{\titlefonts\rm #1}} \let\subsecfonts = \ssecfonts \let\subsubsecfonts = \ssecfonts % Define these just so they can be easily changed for other fonts. \def\angleleft{$\langle$} \def\angleright{$\rangle$} % Set the fonts to use with the @small... environments. \let\smallexamplefonts = \smallfonts % About \smallexamplefonts. If we use \smallfonts (9pt), @smallexample % can fit this many characters: % 8.5x11=86 smallbook=72 a4=90 a5=69 % If we use \scriptfonts (8pt), then we can fit this many characters: % 8.5x11=90+ smallbook=80 a4=90+ a5=77 % For me, subjectively, the few extra characters that fit aren't worth % the additional smallness of 8pt. So I'm making the default 9pt. % % By the way, for comparison, here's what fits with @example (10pt): % 8.5x11=71 smallbook=60 a4=75 a5=58 % --karl, 24jan03. % Set up the default fonts, so we can use them for creating boxes. % \definetextfontsizexi % Check if we are currently using a typewriter font. Since all the % Computer Modern typewriter fonts have zero interword stretch (and % shrink), and it is reasonable to expect all typewriter fonts to have % this property, we can check that font parameter. #1 is what to % print if we are indeed using \tt; #2 is what to print otherwise. \def\ifusingtt#1#2{\ifdim \fontdimen3\font=0pt #1\else #2\fi} % Same as above, but check for italic font. Actually this also catches % non-italic slanted fonts since it is impossible to distinguish them from % italic fonts. But since this is only used by $ and it uses \sl anyway % this is not a problem. \def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi} % Check if internal flag is clear, i.e. has not been @set. \def\ifflagclear#1#2#3{% \expandafter\ifx\csname SET#1\endcsname\relax #2\else#3\fi } { \catcode`\'=\active \catcode`\`=\active \gdef\setcodequotes{\let`\codequoteleft \let'\codequoteright} \gdef\setregularquotes{\let`\lq \let'\rq} } \setregularquotes % output for ' in @code % in tt font hex 0D (undirected) or 27 (curly right quote) % \def\codequoteright{% \ifusingtt {\ifflagclear{txicodequoteundirected}% {\ifflagclear{codequoteundirected}% {'}% {\char"0D }}% {\char"0D }}% {'}% } % output for ` in @code % in tt font hex 12 (grave accent) or 60 (curly left quote) % \relax disables Spanish ligatures ?` and !` of \tt font. % \def\codequoteleft{% \ifusingtt {\ifflagclear{txicodequotebacktick}% {\ifflagclear{codequotebacktick}% {\relax`}% {\char"12 }}% {\char"12 }}% {\relax`}% } % Commands to set the quote options. % \parseargdef\codequoteundirected{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETtxicodequoteundirected\endcsname = t% \else\ifx\temp\offword \expandafter\let\csname SETtxicodequoteundirected\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @codequoteundirected value `\temp', must be on|off}% \fi\fi } \parseargdef\codequotebacktick{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETtxicodequotebacktick\endcsname = t% \else\ifx\temp\offword \expandafter\let\csname SETtxicodequotebacktick\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @codequotebacktick value `\temp', must be on|off}% \fi\fi } % Turn them on by default \let\SETtxicodequoteundirected = t \let\SETtxicodequotebacktick = t % [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font. \def\noligaturesquoteleft{\relax\lq} % Count depth in font-changes, for error checks \newcount\fontdepth \fontdepth=0 % Font commands. % #1 is the font command (\sl or \it), #2 is the text to slant. % If we are in a monospaced environment, however, 1) always use \ttsl, % and 2) do not add an italic correction. \def\dosmartslant#1#2{% \ifusingtt {{\ttsl #2}\let\next=\relax}% {\def\next{{#1#2}\smartitaliccorrection}}% \next } \def\smartslanted{\dosmartslant\sl} \def\smartitalic{\dosmartslant\it} % Output an italic correction unless the following character is such as % not to need one. \def\smartitaliccorrection{\futurelet\next\smartitaliccorrectionx} \def\smartitaliccorrectionx{% \ifx\next,% \else\ifx\next-% \else\ifx\next.% \else\ifx\next\.% \else\ifx\next\comma% \else\ptexslash \fi\fi\fi\fi\fi \aftersmartic } % @cite unconditionally uses \sl with \smartitaliccorrection. \def\cite#1{{\sl #1}\smartitaliccorrection} % By default, use ttsl font for @var when used in code context. % To unconditionally use \sl for @var, @clear txicodevaristt. This % gives consistency for parameter names whether they are in @def, % @table @code or a regular paragraph. \def\aftersmartic{} \def\var#1{% \let\saveaftersmartic = \aftersmartic \def\aftersmartic{\null\let\aftersmartic=\saveaftersmartic}% % The \null is to reset \spacefactor. % \ifflagclear{txicodevaristt}% {\def\varnext{{{\sl #1}}\smartitaliccorrection}}% {\def\varnext{\smartslanted{#1}}}% \varnext } \def\SETtxicodevaristt{}% @set txicodevaristt \let\i=\smartitalic \let\slanted=\smartslanted \let\dfn=\smartslanted \let\emph=\smartitalic % @r for roman font, used for code comment \def\r#1{{% \usenormaldash % get --, --- ligatures even if in @code \defcharsdefault % in case on def line \rm #1}} {\catcode`-=\active \gdef\usenormaldash{\let-\normaldash}} % @sc, undocumented @ii. \def\sc#1{{\smallcaps#1}} % smallcaps font \def\ii#1{{\it #1}} % italic font % @b, explicit bold. Also @strong. \def\b#1{{\bf \defcharsdefault #1}} \let\strong=\b % @sansserif, explicit sans. \def\sansserif#1{{\sf #1}} \newif\iffrenchspacing \frenchspacingfalse % Set sfcode to normal for the chars that usually have another value. % Can't use plain's \frenchspacing because it uses the `\x notation, and % sometimes \x has an active definition that messes things up. % \catcode`@=11 \def\plainfrenchspacing{% \iffrenchspacing\else \frenchspacingtrue \sfcode`\.=\@m \sfcode`\?=\@m \sfcode`\!=\@m \sfcode`\:=\@m \sfcode`\;=\@m \sfcode`\,=\@m \def\endofsentencespacefactor{1000}% for @. and friends \fi } \def\plainnonfrenchspacing{% \iffrenchspacing \frenchspacingfalse \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000 \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 \def\endofsentencespacefactor{3000}% for @. and friends \fi } \catcode`@=\other \def\endofsentencespacefactor{3000}% default % @frenchspacing on|off says whether to put extra space after punctuation. % \def\onword{on} \def\offword{off} % \let\frenchspacingsetting\plainnonfrenchspacing % used in output routine \parseargdef\frenchspacing{% \def\temp{#1}% \ifx\temp\onword \let\frenchspacingsetting\plainfrenchspacing \else\ifx\temp\offword \let\frenchspacingsetting\plainnonfrenchspacing \else \errhelp = \EMsimple \errmessage{Unknown @frenchspacing option `\temp', must be on|off}% \fi\fi \frenchspacingsetting } % @t, explicit typewriter. \def\t#1{% {\tt \defcharsdefault \plainfrenchspacing #1}% \null } % @samp. \def\samp#1{{\setcodequotes\lq\tclose{#1}\rq\null}} % @indicateurl is \samp, that is, with quotes. \let\indicateurl=\samp % @code (and similar) prints in typewriter, but with spaces the same % size as normal in the surrounding text, without hyphenation, etc. % This is a subroutine for that. \def\tclose#1{% {% % Change normal interword space to be same as for the current font. \spaceskip = \fontdimen2\font % % Switch to typewriter. \tt % % `\ ' produces the large typewriter interword space. \def\ {{\spaceskip = 0pt{} }}% % \plainfrenchspacing #1% }% \null % reset spacefactor to 1000 } % This is for LuaTeX: It is not sufficient to disable hyphenation at % explicit dashes by setting `\hyphenchar` to -1. \def\dashnobreak{% \normaldash \penalty 10000 } % We must turn on hyphenation at `-' and `_' in @code. % Otherwise, it is too hard to avoid overfull hboxes % in the Emacs manual, the Library manual, etc. % We explicitly allow hyphenation at these characters % using \discretionary. % % Hyphenation at - and hyphenation within words was turned off % by default for the tt fonts using the \hyphenchar parameter of TeX. { \catcode`\-=\active \catcode`\_=\active \catcode`\'=\active \catcode`\`=\active \global\let'=\rq \global\let`=\lq % default definitions % \global\def\code{\begingroup \setcodequotes \catcode\dashChar=\active \catcode\underChar=\active \ifallowcodebreaks \let-\codedash \let_\codeunder \else \let-\dashnobreak \let_\realunder \fi \codex } % \gdef\codedash{\futurelet\next\codedashfinish} \gdef\codedashfinish{% \normaldash % always output the dash character itself. % % Now, output a discretionary to allow a line break, unless % (a) the next character is a -, or % (b) the preceding character is a -, or % (c) we are at the start of the string. % In both cases (b) and (c), \codedashnobreak should be set to \codedash. % % E.g., given --posix, we do not want to allow a break after either -. % Given --foo-bar, we do want to allow a break between the - and the b. \ifx\next\codedash \else \ifx\codedashnobreak\codedash \else \discretionary{}{}{}\fi \fi % we need the space after the = for the case when \next itself is a % space token; it would get swallowed otherwise. As in @code{- a}. \global\let\codedashnobreak= \next } } \def\normaldash{-} % \def\codex #1{\tclose{% % Given -foo (with a single dash), we do not want to allow a break % after the -. \codedashnobreak is set to the first character in % @code. \futurelet\codedashnobreak\relax #1% }\endgroup} \def\codeunder{% % this is all so @math{@code{var_name}+1} can work. In math mode, _ % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.) % will therefore expand the active definition of _, which is us % (inside @code that is), therefore an endless loop. \ifusingtt{\ifmmode \mathchar"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_. \else\normalunderscore \fi \discretionary{}{}{}}% {\_}% } % An additional complication: the above will allow breaks after, e.g., % each of the four underscores in __typeof__. This is bad. % @allowcodebreaks provides a document-level way to turn breaking at - % and _ on and off. % \newif\ifallowcodebreaks \allowcodebreakstrue \def\keywordtrue{true} \def\keywordfalse{false} \parseargdef\allowcodebreaks{% \def\txiarg{#1}% \ifx\txiarg\keywordtrue \allowcodebreakstrue \else\ifx\txiarg\keywordfalse \allowcodebreaksfalse \else \errhelp = \EMsimple \errmessage{Unknown @allowcodebreaks option `\txiarg', must be true|false}% \fi\fi } % For @command, @env, @file, @option quotes seem unnecessary, % so use \code rather than \samp. \let\command=\code \let\env=\code \let\file=\code \let\option=\code % @uref (abbreviation for `urlref') aka @url takes an optional % (comma-separated) second argument specifying the text to display and % an optional third arg as text to display instead of (rather than in % addition to) the url itself. First (mandatory) arg is the url. % TeX-only option to allow changing PDF output to show only the second % arg (if given), and not the url (which is then just the link target). \newif\ifurefurlonlylink % The default \pretolerance setting stops the penalty inserted in % \urefallowbreak being a discouragement to line breaking. Set it to % a negative value for this paragraph only. Hopefully this does not % conflict with redefinitions of \par done elsewhere. \def\nopretolerance{% \pretolerance=-1 \def\par{\endgraf\pretolerance=100 \let\par\endgraf}% } % The main macro is \urefbreak, which allows breaking at expected % places within the url. \def\urefbreak{\nopretolerance \begingroup \urefcatcodes \dourefbreak} \let\uref=\urefbreak % \def\dourefbreak#1{\urefbreakfinish #1,,,\finish} \def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example \unsepspaces \pdfurl{#1}% \setbox0 = \hbox{\ignorespaces #3}% \ifdim\wd0 > 0pt \unhbox0 % third arg given, show only that \else \setbox0 = \hbox{\ignorespaces #2}% look for second arg \ifdim\wd0 > 0pt \ifpdf % For pdfTeX and LuaTeX \ifurefurlonlylink % PDF plus option to not display url, show just arg \unhbox0 \else % PDF, normally display both arg and url for consistency, % visibility, if the pdf is eventually used to print, etc. \unhbox0\ (\urefcode{#1})% \fi \else \ifxetex % For XeTeX \ifurefurlonlylink % PDF plus option to not display url, show just arg \unhbox0 \else % PDF, normally display both arg and url for consistency, % visibility, if the pdf is eventually used to print, etc. \unhbox0\ (\urefcode{#1})% \fi \else \unhbox0\ (\urefcode{#1})% DVI, always show arg and url \fi \fi \else \urefcode{#1}% only url given, so show it \fi \fi \endlink \endgroup} % Allow line breaks around only a few characters (only). \def\urefcatcodes{% \catcode`\&=\active \catcode`\.=\active \catcode`\#=\active \catcode`\?=\active \catcode`\/=\active } { \urefcatcodes % \global\def\urefcode{\begingroup \setcodequotes \urefcatcodes \let&\urefcodeamp \let.\urefcodedot \let#\urefcodehash \let?\urefcodequest \let/\urefcodeslash \codex } % % By default, they are just regular characters. \global\def&{\normalamp} \global\def.{\normaldot} \global\def#{\normalhash} \global\def?{\normalquest} \global\def/{\normalslash} } \def\urefcodeamp{\urefprebreak \&\urefpostbreak} \def\urefcodedot{\urefprebreak .\urefpostbreak} \def\urefcodehash{\urefprebreak \#\urefpostbreak} \def\urefcodequest{\urefprebreak ?\urefpostbreak} \def\urefcodeslash{\futurelet\next\urefcodeslashfinish} { \catcode`\/=\active \global\def\urefcodeslashfinish{% \urefprebreak \slashChar % Allow line break only after the final / in a sequence of % slashes, to avoid line break between the slashes in http://. \ifx\next/\else \urefpostbreak \fi } } % By default we'll break after the special characters, but some people like to % break before the special chars, so allow that. Also allow no breaking at % all, for manual control. % \parseargdef\urefbreakstyle{% \def\txiarg{#1}% \ifx\txiarg\wordnone \def\urefprebreak{\nobreak}\def\urefpostbreak{\nobreak} \else\ifx\txiarg\wordbefore \def\urefprebreak{\urefallowbreak}\def\urefpostbreak{\nobreak} \else\ifx\txiarg\wordafter \def\urefprebreak{\nobreak}\def\urefpostbreak{\urefallowbreak} \else \errhelp = \EMsimple \errmessage{Unknown @urefbreakstyle setting `\txiarg'}% \fi\fi\fi } \def\wordafter{after} \def\wordbefore{before} \def\wordnone{none} % Allow a ragged right output to aid breaking long URL's. There can % be a break at the \allowbreak with no extra glue (if the existing stretch in % the line is sufficient), a break at the \penalty with extra glue added % at the end of the line, or no break at all here. % Changing the value of the penalty and/or the amount of stretch affects how % preferable one choice is over the other. % Check test cases in doc/texinfo-tex-test.texi before making any changes. \def\urefallowbreak{% \penalty0\relax \hskip 0pt plus 3 em\relax \penalty1000\relax \hskip 0pt plus -3 em\relax } \urefbreakstyle after % @url synonym for @uref, since that's how everyone uses it. % \let\url=\uref % rms does not like angle brackets --karl, 17may97. % So now @email is just like @uref, unless we are pdf. % %\def\email#1{\angleleft{\tt #1}\angleright} \ifpdforxetex \def\email#1{\doemail#1,,\finish} \def\doemail#1,#2,#3\finish{\begingroup \unsepspaces \pdfurl{mailto:#1}% \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi \endlink \endgroup} \else \let\email=\uref \fi % @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always), % `example' (@kbd uses ttsl only inside of @example and friends), % or `code' (@kbd uses normal tty font always). \parseargdef\kbdinputstyle{% \def\txiarg{#1}% \ifx\txiarg\worddistinct \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}% \else\ifx\txiarg\wordexample \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}% \else\ifx\txiarg\wordcode \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}% \else \errhelp = \EMsimple \errmessage{Unknown @kbdinputstyle setting `\txiarg'}% \fi\fi\fi } \def\worddistinct{distinct} \def\wordexample{example} \def\wordcode{code} % Default is `distinct'. \kbdinputstyle distinct \def\kbd#1{% \tclose{\kbdfont\setcodequotes#1}% } % definition of @key that produces a lozenge. Doesn't adjust to text size. %\setfont\keyrm\rmshape{8}{1000}{OT1} %\font\keysy=cmsy9 %\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% % \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% % \vbox{\hrule\kern-0.4pt % \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% % \kern-0.4pt\hrule}% % \kern-.06em\raise0.4pt\hbox{\angleright}}}} % definition of @key with no lozenge. % \def\key#1{{\setregularquotes \tt #1}\null} % @clicksequence{File @click{} Open ...} \def\clicksequence#1{\begingroup #1\endgroup} % @clickstyle @arrow (by default) \parseargdef\clickstyle{\def\click{#1}} \def\click{\arrow} % Typeset a dimension, e.g., `in' or `pt'. The only reason for the % argument is to make the input look right: @dmn{pt} instead of @dmn{}pt. % \def\dmn#1{\thinspace #1} % @acronym for "FBI", "NATO", and the like. % We print this one point size smaller, since it's intended for % all-uppercase. % \def\acronym#1{\doacronym #1,,\finish} \def\doacronym#1,#2,#3\finish{% {\switchtolsize #1}% \def\temp{#2}% \ifx\temp\empty \else \space ({\unsepspaces \ignorespaces \temp \unskip})% \fi \null % reset \spacefactor=1000 } % @abbr for "Comput. J." and the like. % No font change, but don't do end-of-sentence spacing. % \def\abbr#1{\doabbr #1,,\finish} \def\doabbr#1,#2,#3\finish{% {\plainfrenchspacing #1}% \def\temp{#2}% \ifx\temp\empty \else \space ({\unsepspaces \ignorespaces \temp \unskip})% \fi \null % reset \spacefactor=1000 } % @asis just yields its argument. Used with @table, for example. % \def\asis#1{#1} % @math outputs its argument in math mode. % % One complication: _ usually means subscripts, but it could also mean % an actual _ character, as in @math{@var{some_variable} + 1}. So make % _ active, and distinguish by seeing if the current family is \slfam, % which is what @var uses. { \catcode`\_ = \active \gdef\mathunderscore{% \catcode`\_=\active \def_{\ifnum\fam=\slfam \_\else\sb\fi}% } } % Another complication: we want \\ (and @\) to output a math (or tt) \. % FYI, plain.tex uses \\ as a temporary control sequence (for no % particular reason), but this is not advertised and we don't care. % % The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\. \def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi} % \def\math{% \ifmmode\else % only go into math if not in math mode already \tex \mathunderscore \let\\ = \mathbackslash \mathactive % make the texinfo accent commands work in math mode \let\"=\ddot \let\'=\acute \let\==\bar \let\^=\hat \let\`=\grave \let\u=\breve \let\v=\check \let\~=\tilde \let\dotaccent=\dot % have to provide another name for sup operator \let\mathopsup=\sup $\expandafter\finishmath\fi } \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. % Some active characters (such as <) are spaced differently in math. % We have to reset their definitions in case the @math was an argument % to a command which sets the catcodes (such as @item or @section). % { \catcode`^ = \active \catcode`< = \active \catcode`> = \active \catcode`+ = \active \catcode`' = \active \gdef\mathactive{% \let^ = \ptexhat \let< = \ptexless \let> = \ptexgtr \let+ = \ptexplus \let' = \ptexquoteright } } % for @sub and @sup, if in math mode, just do a normal sub/superscript. % If in text, use math to place as sub/superscript, but switch % into text mode, with smaller fonts. This is a different font than the % one used for real math sub/superscripts (8pt vs. 7pt), but let's not % fix it (significant additions to font machinery) until someone notices. % \def\sub{\ifmmode \expandafter\sb \else \expandafter\finishsub\fi} \def\finishsub#1{$\sb{\hbox{\switchtolllsize #1}}$}% % \def\sup{\ifmmode \expandafter\ptexsp \else \expandafter\finishsup\fi} \def\finishsup#1{$\ptexsp{\hbox{\switchtolllsize #1}}$}% % provide this command from LaTeX as it is very common \def\frac#1#2{{{#1}\over{#2}}} % @displaymath. % \globaldefs is needed to recognize the end lines in \tex and % \end tex. Set \thisenv as @end displaymath is seen before @end tex. {\obeylines \globaldefs=1 \envdef\displaymath{% \tex% \def\thisenv{\displaymath}% \begingroup\let\end\displaymathend% $$% } \def\displaymathend{$$\endgroup\end}% \def\Edisplaymath{% \def\thisenv{\tex}% \end tex }} % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}. % Ignore unless FMTNAME == tex; then it is like @iftex and @tex, % except specified as a normal braced arg, so no newlines to worry about. % \def\outfmtnametex{tex} % \long\def\inlinefmt#1{\doinlinefmt #1,\finish} \long\def\doinlinefmt#1,#2,\finish{% \def\inlinefmtname{#1}% \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi } % % @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if % FMTNAME is tex, else ELSE-TEXT. \long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish} \long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{% \def\inlinefmtname{#1}% \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi } % % For raw, must switch into @tex before parsing the argument, to avoid % setting catcodes prematurely. Doing it this way means that, for % example, @inlineraw{html, foo{bar} gets a parse error instead of being % ignored. But this isn't important because if people want a literal % *right* brace they would have to use a command anyway, so they may as % well use a command to get a left brace too. We could re-use the % delimiter character idea from \verb, but it seems like overkill. % \long\def\inlineraw{\tex \doinlineraw} \long\def\doinlineraw#1{\doinlinerawtwo #1,\finish} \def\doinlinerawtwo#1,#2,\finish{% \def\inlinerawname{#1}% \ifx\inlinerawname\outfmtnametex \ignorespaces #2\fi \endgroup % close group opened by \tex. } % @inlineifset{VAR, TEXT} expands TEXT if VAR is @set. % \long\def\inlineifset#1{\doinlineifset #1,\finish} \long\def\doinlineifset#1,#2,\finish{% \def\inlinevarname{#1}% \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \else\ignorespaces#2\fi } % @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set. % \long\def\inlineifclear#1{\doinlineifclear #1,\finish} \long\def\doinlineifclear#1,#2,\finish{% \def\inlinevarname{#1}% \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi } \message{glyphs,} % and logos. % @@ prints an @, as does @atchar{}. \def\@{\char64 } \let\atchar=\@ % @{ @} @lbracechar{} @rbracechar{} all generate brace characters. \def\lbracechar{{\ifusingtt{\char123}{\ensuremath\lbrace}}} \def\rbracechar{{\ifusingtt{\char125}{\ensuremath\rbrace}}} \let\{=\lbracechar \let\}=\rbracechar % @comma{} to avoid , parsing problems. \let\comma = , % Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H. \let\, = \ptexc \let\dotaccent = \ptexdot \def\ringaccent#1{{\accent23 #1}} \let\tieaccent = \ptext \let\ubaraccent = \ptexb \let\udotaccent = \d % Other special characters: @questiondown @exclamdown @ordf @ordm % Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss. \def\questiondown{?`} \def\exclamdown{!`} \def\ordf{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{a}}} \def\ordm{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{o}}} % Dotless i and dotless j, used for accents. \def\imacro{i} \def\jmacro{j} \def\dotless#1{% \def\temp{#1}% \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi \else \errmessage{@dotless can be used only with i or j}% \fi\fi } % The \TeX{} logo, as in plain, but resetting the spacing so that a % period following counts as ending a sentence. (Idea found in latex.) % \edef\TeX{\TeX \spacefactor=1000 } % @LaTeX{} logo. Not quite the same results as the definition in % latex.ltx, since we use a different font for the raised A; it's most % convenient for us to use an explicitly smaller font, rather than using % the \scriptstyle font (since we don't reset \scriptstyle and % \scriptscriptstyle). % \def\LaTeX{% L\kern-.36em {\setbox0=\hbox{T}% \vbox to \ht0{\hbox{% \ifx\textnominalsize\xwordpt % for 10pt running text, lllsize (8pt) is too small for the A in LaTeX. % Revert to plain's \scriptsize, which is 7pt. \count255=\the\fam $\fam\count255 \scriptstyle A$% \else \ifx\curfontsize\smallword % For footnotes and indices \count255=\the\fam $\fam\count255 \scriptstyle A$% \else % For 11pt, we can use our lllsize. \switchtolllsize A% \fi \fi }% \vss }}% \kern-.15em \TeX } \def\smallword{small} % Some math mode symbols. Define \ensuremath to switch into math mode % unless we are already there. Expansion tricks may not be needed here, % but safer, and can't hurt. \def\ensuremath{\ifmmode \expandafter\asis \else\expandafter\ensuredmath \fi} \def\ensuredmath#1{$\relax#1$} % \def\bullet{\ensuremath\ptexbullet} \def\geq{\ensuremath\ge} \def\leq{\ensuremath\le} \def\minus{\ensuremath-} % @dots{} outputs an ellipsis using the current font. % We do .5em per period so that it has the same spacing in the cm % typewriter fonts as three actual period characters; on the other hand, % in other typewriter fonts three periods are wider than 1.5em. So do % whichever is larger. % \def\dots{% \leavevmode \setbox0=\hbox{...}% get width of three periods \ifdim\wd0 > 1.5em \dimen0 = \wd0 \else \dimen0 = 1.5em \fi \hbox to \dimen0{% \hskip 0pt plus.25fil .\hskip 0pt plus1fil .\hskip 0pt plus1fil .\hskip 0pt plus.5fil }% } % @enddots{} is an end-of-sentence ellipsis. % \def\enddots{% \dots \spacefactor=\endofsentencespacefactor } % @point{}, @result{}, @expansion{}, @print{}, @equiv{}. % % Since these characters are used in examples, they should be an even number of % \tt widths. Each \tt character is 1en, so two makes it 1em. % \def\point{$\star$} \def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}} \def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}} \def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}} \def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}} \def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}} % The @error{} command. % Adapted from the TeXbook's \boxit. % \newbox\errorbox % {\ttfont \global\dimen0 = 3em}% Width of the box. \dimen2 = .55pt % Thickness of rules % The text. (`r' is open on the right, `e' somewhat less so on the left.) \setbox0 = \hbox{\kern-.75pt \reducedsf \putworderror\kern-1.5pt} % \setbox\errorbox=\hbox to \dimen0{\hfil \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. \advance\hsize by -2\dimen2 % Rules. \vbox{% \hrule height\dimen2 \hbox{\vrule width\dimen2 \kern3pt % Space to left of text. \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below. \kern3pt\vrule width\dimen2}% Space to right. \hrule height\dimen2} \hfil} % \def\error{\leavevmode\lower.7ex\copy\errorbox} % @pounds{} is a sterling sign, which Knuth put in the CM italic font. % \def\pounds{{\ifusingtt{\ecfont\char"BF}{\it\$}}} % @euro{} comes from a separate font, depending on the current style. % We use the free feym* fonts from the eurosym package by Henrik % Theiling, which support regular, slanted, bold and bold slanted (and % "outlined" (blackboard board, sort of) versions, which we don't need). % It is available from http://www.ctan.org/tex-archive/fonts/eurosym. % % Although only regular is the truly official Euro symbol, we ignore % that. The Euro is designed to be slightly taller than the regular % font height. % % feymr - regular % feymo - slanted % feybr - bold % feybo - bold slanted % % There is no good (free) typewriter version, to my knowledge. % A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide. % Hmm. % % Also doesn't work in math. Do we need to do math with euro symbols? % Hope not. % % \def\euro{{\eurofont e}} \def\eurofont{% % We set the font at each command, rather than predefining it in % \textfonts and the other font-switching commands, so that % installations which never need the symbol don't have to have the % font installed. % % There is only one designed size (nominal 10pt), so we always scale % that to the current nominal size. % % By the way, simply using "at 1em" works for cmr10 and the like, but % does not work for cmbx10 and other extended/shrunken fonts. % \def\eurosize{\csname\curfontsize nominalsize\endcsname}% % \ifx\curfontstyle\bfstylename % bold: \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize \else % regular: \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize \fi \thiseurofont } % Glyphs from the EC fonts. We don't use \let for the aliases, because % sometimes we redefine the original macro, and the alias should reflect % the redefinition. % % Use LaTeX names for the Icelandic letters. \def\DH{{\ecfont \char"D0}} % Eth \def\dh{{\ecfont \char"F0}} % eth \def\TH{{\ecfont \char"DE}} % Thorn \def\th{{\ecfont \char"FE}} % thorn % \def\guillemetleft{{\ecfont \char"13}} \def\guillemotleft{\guillemetleft} \def\guillemetright{{\ecfont \char"14}} \def\guillemotright{\guillemetright} \def\guilsinglleft{{\ecfont \char"0E}} \def\guilsinglright{{\ecfont \char"0F}} \def\quotedblbase{{\ecfont \char"12}} \def\quotesinglbase{{\ecfont \char"0D}} % \def\L{{\ecfont \char"8A}} % L with stroke \def\l{{\ecfont \char"AA}} % l with stroke % % This positioning is not perfect (see the ogonek LaTeX package), but % we have the precomposed glyphs for the most common cases. We put the % tests to use those glyphs in the single \ogonek macro so we have fewer % dummy definitions to worry about for index entries, etc. % % ogonek is also used with other letters in Lithuanian (IOU), but using % the precomposed glyphs for those is not so easy since they aren't in % the same EC font. \def\ogonek#1{{% \def\temp{#1}% \ifx\temp\macrocharA\Aogonek \else\ifx\temp\macrochara\aogonek \else\ifx\temp\macrocharE\Eogonek \else\ifx\temp\macrochare\eogonek \else \ecfont \setbox0=\hbox{#1}% \ifdim\ht0=1ex\accent"0C #1% \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}% \fi \fi\fi\fi\fi }% } \def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A} \def\aogonek{{\ecfont \char"A1}}\def\macrochara{a} \def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E} \def\eogonek{{\ecfont \char"A6}}\def\macrochare{e} % % Use the European Computer Modern fonts (cm-super in outline format) % for non-CM glyphs. That is ec* for regular text and tc* for the text % companion symbols (LaTeX TS1 encoding). Both are part of the ec % package and follow the same conventions. % \def\ecfont{\etcfont{e}} \def\tcfont{\etcfont{t}} % \def\etcfont#1{% % We can't distinguish serif/sans and italic/slanted, but this % is used for crude hacks anyway (like adding French and German % quotes to documents typeset with CM, where we lose kerning), so % hopefully nobody will notice/care. \edef\ecsize{\csname\curfontsize ecsize\endcsname}% \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}% \ifusingtt % typewriter: {\font\thisecfont = #1ctt\ecsize \space at \nominalsize}% % else {\ifx\curfontstyle\bfstylename \etcfontbold{#1}% \else \ifrmisbold \etcfontbold{#1}% \else % regular: \font\thisecfont = #1c\ifusingit{ti}{rm}\ecsize \space at \nominalsize \fi \fi}% \thisecfont } \def\etcfontbold#1{% % bold: \font\thisecfont = #1cb\ifusingit{i}{x}\ecsize \space at \nominalsize } % @registeredsymbol - R in a circle. The font for the R should really % be smaller yet, but lllsize is the best we can do for now. % Adapted from the plain.tex definition of \copyright. % \def\registeredsymbol{% $^{{\ooalign{\hfil\raise.07ex\hbox{\switchtolllsize R}% \hfil\crcr\Orb}}% }$% } % @textdegree - the normal degrees sign. % \def\textdegree{% \ifmmode ^\circ \else {\tcfont \char 176}% \fi} % Laurent Siebenmann reports \Orb undefined with: % Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38 % so we'll define it if necessary. % \ifx\Orb\thisisundefined \def\Orb{\mathhexbox20D} \fi % Quotes. \chardef\quoteleft=`\` \chardef\quoteright=`\' % only change font for tt for correct kerning and to avoid using % \ecfont unless necessary. \def\quotedblleft{% \ifusingtt{{\ecfont\char"10}}{{\char"5C}}% } \def\quotedblright{% \ifusingtt{{\ecfont\char"11}}{{\char`\"}}% } \message{page headings,} \newskip\titlepagetopglue \titlepagetopglue = 1.5in \newskip\titlepagebottomglue \titlepagebottomglue = 2pc % First the title page. Must do @settitle before @titlepage. \newif\ifseenauthor \newif\iffinishedtitlepage % @setcontentsaftertitlepage used to do an implicit @contents or % @shortcontents after @end titlepage, but it is now obsolete. \def\setcontentsaftertitlepage{% \errmessage{@setcontentsaftertitlepage has been removed as a Texinfo command; move your @contents command if you want the contents after the title page.}}% \def\setshortcontentsaftertitlepage{% \errmessage{@setshortcontentsaftertitlepage has been removed as a Texinfo command; move your @shortcontents and @contents commands if you want the contents after the title page.}}% \parseargdef\shorttitlepage{% {\headingsoff \begingroup \hbox{}\vskip 1.5in \chaprm \centerline{#1}% \endgroup\page\hbox{}\page}\pageone} \envdef\titlepage{% % Open one extra group, as we want to close it in the middle of \Etitlepage. \begingroup \parindent=0pt \textfonts \headingsoff % Leave some space at the very top of the page. \vglue\titlepagetopglue % No rule at page bottom unless we print one at the top with @title. \finishedtitlepagetrue % % Most title ``pages'' are actually two pages long, with space % at the top of the second. We don't want the ragged left on the second. \let\oldpage = \page \def\page{% \iffinishedtitlepage\else \finishtitlepage \fi \let\page = \oldpage \page \null }% } \def\Etitlepage{% \iffinishedtitlepage\else \finishtitlepage \fi % It is important to do the page break before ending the group, % because the headline and footline are only empty inside the group. % If we use the new definition of \page, we always get a blank page % after the title page, which we certainly don't want. \oldpage \pageone \endgroup % } \def\finishtitlepage{% \vskip4pt \hrule height 2pt width \hsize \vskip\titlepagebottomglue \finishedtitlepagetrue } % Settings used for typesetting titles: no hyphenation, no indentation, % don't worry much about spacing, ragged right. This should be used % inside a \vbox, and fonts need to be set appropriately first. \par should % be specified before the end of the \vbox, since a vbox is a group. % \def\raggedtitlesettings{% \rm \hyphenpenalty=10000 \parindent=0pt \tolerance=5000 \ptexraggedright } % Macros to be used within @titlepage: \let\subtitlerm=\rmfont \def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines} \parseargdef\title{% \checkenv\titlepage \vbox{\titlefonts \raggedtitlesettings #1\par}% % print a rule at the page bottom also. \finishedtitlepagefalse \vskip4pt \hrule height 4pt width \hsize \vskip4pt } \parseargdef\subtitle{% \checkenv\titlepage {\subtitlefont \rightline{#1}}% } % @author should come last, but may come many times. % It can also be used inside @quotation. % \parseargdef\author{% \def\temp{\quotation}% \ifx\thisenv\temp \def\quotationauthor{#1}% printed in \Equotation. \else \checkenv\titlepage \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi {\secfonts\rm \leftline{#1}}% \fi } % Set up page headings and footings. \let\thispage=\folio \newtoks\evenheadline % headline on even pages \newtoks\oddheadline % headline on odd pages \newtoks\evenchapheadline% headline on even pages with a new chapter \newtoks\oddchapheadline % headline on odd pages with a new chapter \newtoks\evenfootline % footline on even pages \newtoks\oddfootline % footline on odd pages % Now make \makeheadline and \makefootline in Plain TeX use those variables \headline={{\textfonts\rm\frenchspacingsetting \ifchapterpage \ifodd\pageno\the\oddchapheadline\else\the\evenchapheadline\fi \else \ifodd\pageno\the\oddheadline\else\the\evenheadline\fi \fi}} \footline={{\textfonts\rm\frenchspacingsetting \ifodd\pageno \the\oddfootline \else \the\evenfootline \fi}% \HEADINGShook} \let\HEADINGShook=\relax % Commands to set those variables. % For example, this is what @headings on does % @evenheading @thistitle|@thispage|@thischapter % @oddheading @thischapter|@thispage|@thistitle % @evenfooting @thisfile|| % @oddfooting ||@thisfile \def\evenheading{\parsearg\evenheadingxxx} \def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish} \def\evenheadingyyy #1\|#2\|#3\|#4\finish{% \global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}} \global\evenchapheadline=\evenheadline} \def\oddheading{\parsearg\oddheadingxxx} \def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish} \def\oddheadingyyy #1\|#2\|#3\|#4\finish{% \global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}% \global\oddchapheadline=\oddheadline} \parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}% \def\evenfooting{\parsearg\evenfootingxxx} \def\evenfootingxxx #1{\evenfootingyyy #1\|\|\|\|\finish} \def\evenfootingyyy #1\|#2\|#3\|#4\finish{% \global\evenfootline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} \def\oddfooting{\parsearg\oddfootingxxx} \def\oddfootingxxx #1{\oddfootingyyy #1\|\|\|\|\finish} \def\oddfootingyyy #1\|#2\|#3\|#4\finish{% \global\oddfootline = {\rlap{\centerline{#2}}\line{#1\hfil#3}}% % % Leave some space for the footline. Hopefully ok to assume % @evenfooting will not be used by itself. \global\advance\txipageheight by -12pt \global\advance\vsize by -12pt } \parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}} % @evenheadingmarks top \thischapter <- chapter at the top of a page % @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page % % The same set of arguments for: % % @oddheadingmarks % @evenfootingmarks % @oddfootingmarks % @everyheadingmarks % @everyfootingmarks % These define \getoddheadingmarks, \getevenheadingmarks, % \getoddfootingmarks, and \getevenfootingmarks, each to one of % \gettopheadingmarks, \getbottomheadingmarks. % \def\evenheadingmarks{\headingmarks{even}{heading}} \def\oddheadingmarks{\headingmarks{odd}{heading}} \def\evenfootingmarks{\headingmarks{even}{footing}} \def\oddfootingmarks{\headingmarks{odd}{footing}} \parseargdef\everyheadingmarks{\headingmarks{even}{heading}{#1} \headingmarks{odd}{heading}{#1} } \parseargdef\everyfootingmarks{\headingmarks{even}{footing}{#1} \headingmarks{odd}{footing}{#1} } % #1 = even/odd, #2 = heading/footing, #3 = top/bottom. \def\headingmarks#1#2#3 {% \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname \global\expandafter\let\csname get#1#2marks\endcsname \temp } \everyheadingmarks bottom \everyfootingmarks bottom % @headings double turns headings on for double-sided printing. % @headings single turns headings on for single-sided printing. % @headings off turns them off. % @headings on same as @headings double, retained for compatibility. % @headings after turns on double-sided headings after this page. % @headings doubleafter turns on double-sided headings after this page. % @headings singleafter turns on single-sided headings after this page. % By default, they are off at the start of a document, % and turned `on' after @end titlepage. \parseargdef\headings{\csname HEADINGS#1\endcsname} \def\headingsoff{% non-global headings elimination \evenheadline={\hfil}\evenfootline={\hfil}\evenchapheadline={\hfil}% \oddheadline={\hfil}\oddfootline={\hfil}\oddchapheadline={\hfil}% } \def\HEADINGSoff{{\globaldefs=1 \headingsoff}} % global setting % Set the page number to 1. \def\pageone{ \global\pageno=1 \global\arabiccount = \pagecount } \let\contentsalignmacro = \chappager % \def\HEADINGSon{\HEADINGSdouble} % defined by \CHAPPAGon % For double-sided printing, put current file name in lower left corner, % chapter name on inside top of right hand pages, document % title on inside top of left hand pages, and page numbers on outside top % edge of all pages. \def\HEADINGSafter{\let\HEADINGShook=\HEADINGSdouble} \let\HEADINGSdoubleafter=\HEADINGSafter \def\HEADINGSdouble{% \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\folio\hfil\thistitle}} \global\oddheadline={\line{\thischapter\hfil\folio}} \global\evenchapheadline={\line{\folio\hfil\thistitle}} \global\oddchapheadline={\line{\hfil\folio}} \global\let\contentsalignmacro = \chapoddpage } % For single-sided printing, chapter title goes across top left of page, % page number on top right. \def\HEADINGSsingleafter{\let\HEADINGShook=\HEADINGSsingle} \def\HEADINGSsingle{% \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\thischapter\hfil\folio}} \global\oddheadline={\line{\thischapter\hfil\folio}} \global\evenchapheadline={\line{\hfil\folio}} \global\oddchapheadline={\line{\hfil\folio}} \global\let\contentsalignmacro = \chappager } % for @setchapternewpage off \def\HEADINGSsinglechapoff{% \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\thischapter\hfil\folio}} \global\oddheadline={\line{\thischapter\hfil\folio}} \global\evenchapheadline=\evenheadline \global\oddchapheadline=\oddheadline \global\let\contentsalignmacro = \chappager } % Subroutines used in generating headings % This produces Day Month Year style of output. % Only define if not already defined, in case a txi-??.tex file has set % up a different format (e.g., txi-cs.tex does this). \ifx\today\thisisundefined \def\today{% \number\day\space \ifcase\month \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec \fi \space\number\year} \fi % @settitle line... specifies the title of the document, for headings. % It generates no output of its own. \def\thistitle{\putwordNoTitle} \def\settitle{\parsearg{\gdef\thistitle}} \message{tables,} % Tables -- @table, @ftable, @vtable, @item(x). % default indentation of table text \newdimen\tableindent \tableindent=.8in % default indentation of @itemize and @enumerate text \newdimen\itemindent \itemindent=.3in % margin between end of table item and start of table text. \newdimen\itemmargin \itemmargin=.1in % used internally for \itemindent minus \itemmargin \newdimen\itemmax % Note @table, @ftable, and @vtable define @item, @itemx, etc., with % these defs. % They also define \itemindex % to index the item name in whatever manner is desired (perhaps none). \newif\ifitemxneedsnegativevskip \def\itemxpar{\par\ifitemxneedsnegativevskip\nobreak\vskip-\parskip\nobreak\fi} \def\internalBitem{\smallbreak \parsearg\itemzzz} \def\internalBitemx{\itemxpar \parsearg\itemzzz} \def\itemzzz #1{\begingroup % \advance\hsize by -\rightskip \advance\hsize by -\tableindent \setbox0=\hbox{\itemindicate{#1}}% \itemindex{#1}% \nobreak % This prevents a break before @itemx. % % If the item text does not fit in the space we have, put it on a line % by itself, and do not allow a page break either before or after that % line. We do not start a paragraph here because then if the next % command is, e.g., @kindex, the whatsit would get put into the % horizontal list on a line by itself, resulting in extra blank space. \ifdim \wd0>\itemmax % % Make this a paragraph so we get the \parskip glue and wrapping, % but leave it ragged-right. \begingroup \advance\leftskip by-\tableindent \advance\hsize by\tableindent \advance\rightskip by0pt plus1fil\relax \leavevmode\unhbox0\par \endgroup % % We're going to be starting a paragraph, but we don't want the % \parskip glue -- logically it's part of the @item we just started. \nobreak \vskip-\parskip % % Stop a page break at the \parskip glue coming up. However, if % what follows is an environment such as @example, there will be no % \parskip glue; then the negative vskip we just inserted would % cause the example and the item to crash together. So we use this % bizarre value of 10001 as a signal to \aboveenvbreak to insert % \parskip glue after all. Section titles are handled this way also. % \penalty 10001 \endgroup \itemxneedsnegativevskipfalse \else % The item text fits into the space. Start a paragraph, so that the % following text (if any) will end up on the same line. \noindent % Do this with kerns and \unhbox so that if there is a footnote in % the item text, it can migrate to the main vertical list and % eventually be printed. \nobreak\kern-\tableindent \dimen0 = \itemmax \advance\dimen0 by \itemmargin \advance\dimen0 by -\wd0 \unhbox0 \nobreak\kern\dimen0 \endgroup \itemxneedsnegativevskiptrue \fi } \def\item{\errmessage{@item while not in a list environment}} \def\itemx{\errmessage{@itemx while not in a list environment}} % @table, @ftable, @vtable. \envdef\table{% \let\itemindex\gobble \tablecheck{table}% } \envdef\ftable{% \def\itemindex ##1{\doind {fn}{\code{##1}}}% \tablecheck{ftable}% } \envdef\vtable{% \def\itemindex ##1{\doind {vr}{\code{##1}}}% \tablecheck{vtable}% } \def\tablecheck#1{% \ifnum \the\catcode`\^^M=\active \endgroup \errmessage{This command won't work in this context; perhaps the problem is that we are \inenvironment\thisenv}% \def\next{\doignore{#1}}% \else \let\next\tablex \fi \next } \def\tablex#1{% \def\itemindicate{#1}% \parsearg\tabley } \def\tabley#1{% {% \makevalueexpandable \edef\temp{\noexpand\tablez #1\space\space\space}% \expandafter }\temp \endtablez } \def\tablez #1 #2 #3 #4\endtablez{% \aboveenvbreak \ifnum 0#1>0 \advance \leftskip by #1\mil \fi \ifnum 0#2>0 \tableindent=#2\mil \fi \ifnum 0#3>0 \advance \rightskip by #3\mil \fi \itemmax=\tableindent \advance \itemmax by -\itemmargin \advance \leftskip by \tableindent \exdentamount=\tableindent \parindent = 0pt \parskip = \smallskipamount \ifdim \parskip=0pt \parskip=2pt \fi \let\item = \internalBitem \let\itemx = \internalBitemx } \def\Etable{\endgraf\afterenvbreak} \let\Eftable\Etable \let\Evtable\Etable \let\Eitemize\Etable \let\Eenumerate\Etable % This is the counter used by @enumerate, which is really @itemize \newcount \itemno \envdef\itemize{\parsearg\doitemize} \def\doitemize#1{% \aboveenvbreak \itemmax=\itemindent \advance\itemmax by -\itemmargin \advance\leftskip by \itemindent \exdentamount=\itemindent \parindent=0pt \parskip=\smallskipamount \ifdim\parskip=0pt \parskip=2pt \fi % % Try typesetting the item mark so that if the document erroneously says % something like @itemize @samp (intending @table), there's an error % right away at the @itemize. It's not the best error message in the % world, but it's better than leaving it to the @item. This means if % the user wants an empty mark, they have to say @w{} not just @w. \def\itemcontents{#1}% \setbox0 = \hbox{\itemcontents}% % % @itemize with no arg is equivalent to @itemize @bullet. \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi % \let\item=\itemizeitem } % Definition of @item while inside @itemize and @enumerate. % \def\itemizeitem{% \advance\itemno by 1 % for enumerations {\let\par=\endgraf \smallbreak}% reasonable place to break {% % If the document has an @itemize directly after a section title, a % \nobreak will be last on the list, and \sectionheading will have % done a \vskip-\parskip. In that case, we don't want to zero % parskip, or the item text will crash with the heading. On the % other hand, when there is normal text preceding the item (as there % usually is), we do want to zero parskip, or there would be too much % space. In that case, we won't have a \nobreak before. At least % that's the theory. \ifnum\lastpenalty<10000 \parskip=0in \fi \noindent \hbox to 0pt{\hss \itemcontents \kern\itemmargin}% % \ifinner\else \vadjust{\penalty 1200}% not good to break after first line of item. \fi % We can be in inner vertical mode in a footnote, although an % @itemize looks awful there. }% \flushcr } % \splitoff TOKENS\endmark defines \first to be the first token in % TOKENS, and \rest to be the remainder. % \def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}% % Allow an optional argument of an uppercase letter, lowercase letter, % or number, to specify the first label in the enumerated list. No % argument is the same as `1'. % \envparseargdef\enumerate{\enumeratey #1 \endenumeratey} \def\enumeratey #1 #2\endenumeratey{% % If we were given no argument, pretend we were given `1'. \def\thearg{#1}% \ifx\thearg\empty \def\thearg{1}\fi % % Detect if the argument is a single token. If so, it might be a % letter. Otherwise, the only valid thing it can be is a number. % (We will always have one token, because of the test we just made. % This is a good thing, since \splitoff doesn't work given nothing at % all -- the first parameter is undelimited.) \expandafter\splitoff\thearg\endmark \ifx\rest\empty % Only one token in the argument. It could still be anything. % A ``lowercase letter'' is one whose \lccode is nonzero. % An ``uppercase letter'' is one whose \lccode is both nonzero, and % not equal to itself. % Otherwise, we assume it's a number. % % We need the \relax at the end of the \ifnum lines to stop TeX from % continuing to look for a . % \ifnum\lccode\expandafter`\thearg=0\relax \numericenumerate % a number (we hope) \else % It's a letter. \ifnum\lccode\expandafter`\thearg=\expandafter`\thearg\relax \lowercaseenumerate % lowercase letter \else \uppercaseenumerate % uppercase letter \fi \fi \else % Multiple tokens in the argument. We hope it's a number. \numericenumerate \fi } % An @enumerate whose labels are integers. The starting integer is % given in \thearg. % \def\numericenumerate{% \itemno = \thearg \startenumeration{\the\itemno}% } % The starting (lowercase) letter is in \thearg. \def\lowercaseenumerate{% \itemno = \expandafter`\thearg \startenumeration{% % Be sure we're not beyond the end of the alphabet. \ifnum\itemno=0 \errmessage{No more lowercase letters in @enumerate; get a bigger alphabet}% \fi \char\lccode\itemno }% } % The starting (uppercase) letter is in \thearg. \def\uppercaseenumerate{% \itemno = \expandafter`\thearg \startenumeration{% % Be sure we're not beyond the end of the alphabet. \ifnum\itemno=0 \errmessage{No more uppercase letters in @enumerate; get a bigger alphabet} \fi \char\uccode\itemno }% } % Call \doitemize, adding a period to the first argument and supplying the % common last two arguments. Also subtract one from the initial value in % \itemno, since @item increments \itemno. % \def\startenumeration#1{% \advance\itemno by -1 \doitemize{#1.}\flushcr } % @multitable macros % Macros used to set up halign preamble: % \let\endsetuptable\relax \def\xendsetuptable{\endsetuptable} \let\columnfractions\relax \def\xcolumnfractions{\columnfractions} \newif\ifsetpercent % #1 is the @columnfraction, usually a decimal number like .5, but might % be just 1. We just use it, whatever it is. % \def\pickupwholefraction#1 {% \global\advance\colcount by 1 \expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}% \setuptable } \newcount\colcount \def\setuptable#1{% \def\firstarg{#1}% \ifx\firstarg\xendsetuptable \let\go = \relax \else \ifx\firstarg\xcolumnfractions \global\setpercenttrue \else \ifsetpercent \let\go\pickupwholefraction \else \global\advance\colcount by 1 \setbox0=\hbox{#1\unskip\space}% Add a normal word space as a % separator; typically that is always in the input, anyway. \expandafter\xdef\csname col\the\colcount\endcsname{\the\wd0}% \fi \fi \ifx\go\pickupwholefraction % Put the argument back for the \pickupwholefraction call, so % we'll always have a period there to be parsed. \def\go{\pickupwholefraction#1}% \else \let\go = \setuptable \fi% \fi \go } % @headitem starts a heading row, which we typeset in bold. Assignments % have to be global since we are inside the implicit group of an % alignment entry. \everycr below resets \everytab so we don't have to % undo it ourselves. \def\headitemfont{\b}% for people to use in the template row; not changeable \def\headitem{% \crcr % must appear first \gdef\headitemcrhook{\nobreak}% attempt to avoid page break after headings \global\everytab={\bf}% can't use \headitemfont since the parsing differs \the\everytab % for the first item }% % % default for tables with no headings. \let\headitemcrhook=\relax % \def\tab{\checkenv\multitable &\the\everytab}% \newtoks\everytab % insert after every tab. % \envdef\multitable{% \vskip\parskip \startsavinginserts % % @item within a multitable starts a normal row. % We use \def instead of \let so that if one of the multitable entries % contains an @itemize, we don't choke on the \item (seen as \crcr aka % \endtemplate) expanding \doitemize. \def\item{\crcr}% % \tolerance=9500 \hbadness=9500 \parskip=0pt \parindent=6pt \overfullrule=0pt \global\colcount=0 % \everycr = {% \noalign{% \global\everytab={}% Reset from possible headitem. \global\colcount=0 % Reset the column counter. % % Check for saved footnotes, etc.: \checkinserts % % Perhaps a \nobreak, then reset: \headitemcrhook \global\let\headitemcrhook=\relax }% }% % \parsearg\domultitable } \def\domultitable#1{% % To parse everything between @multitable and @item: \setuptable#1 \endsetuptable % % This preamble sets up a generic column definition, which will % be used as many times as user calls for columns. % \vtop will set a single line and will also let text wrap and % continue for many paragraphs if desired. \halign\bgroup &% \global\advance\colcount by 1 \strut \vtop{% \advance\hsize by -1\leftskip % Find the correct column width \hsize=\expandafter\csname col\the\colcount\endcsname % \advance\rightskip by -1\rightskip % Zero leaving only any stretch \ifnum\colcount=1 \advance\hsize by\leftskip % Add indent of surrounding text \else % In order to keep entries from bumping into each other. \leftskip=12pt \ifsetpercent \else % If a template has been used \advance\hsize by \leftskip \fi \fi \noindent\ignorespaces##\unskip\strut }\cr } \def\Emultitable{% \crcr \egroup % end the \halign \global\setpercentfalse } \message{conditionals,} % @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotlatex, @ifnotplaintext, % @ifnotxml always succeed. They currently do nothing; we don't % attempt to check whether the conditionals are properly nested. But we % have to remember that they are conditionals, so that @end doesn't % attempt to close an environment group. % \def\makecond#1{% \expandafter\let\csname #1\endcsname = \relax \expandafter\let\csname iscond.#1\endcsname = 1 } \makecond{iftex} \makecond{ifnotdocbook} \makecond{ifnothtml} \makecond{ifnotinfo} \makecond{ifnotlatex} \makecond{ifnotplaintext} \makecond{ifnotxml} % Ignore @ignore, @ifhtml, @ifinfo, and the like. % \def\direntry{\doignore{direntry}} \def\documentdescription{\doignore{documentdescription}} \def\docbook{\doignore{docbook}} \def\html{\doignore{html}} \def\ifdocbook{\doignore{ifdocbook}} \def\ifhtml{\doignore{ifhtml}} \def\ifinfo{\doignore{ifinfo}} \def\iflatex{\doignore{iflatex}} \def\ifnottex{\doignore{ifnottex}} \def\ifplaintext{\doignore{ifplaintext}} \def\ifxml{\doignore{ifxml}} \def\ignore{\doignore{ignore}} \def\latex{\doignore{latex}} \def\menu{\doignore{menu}} \def\xml{\doignore{xml}} % Ignore text until a line `@end #1', keeping track of nested conditionals. % % A count to remember the depth of nesting. \newcount\doignorecount \def\doignore#1{\begingroup % Scan in ``verbatim'' mode: \obeylines \catcode`\@ = \other \catcode`\{ = \other \catcode`\} = \other % % Make sure that spaces turn into tokens that match what \doignoretext wants. \spaceisspace % % Count number of #1's that we've seen. \doignorecount = 0 % % Swallow text until we reach the matching `@end #1'. \dodoignore{#1}% } { \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source. \obeylines % % \gdef\dodoignore#1{% % #1 contains the command name as a string, e.g., `ifinfo'. % % Define a command to find the next `@end #1'. \long\def\doignoretext##1^^M@end #1{% \doignoretextyyy##1^^M@#1\_STOP_}% % % And this command to find another #1 command, at the beginning of a % line. (Otherwise, we would consider a line `@c @ifset', for % example, to count as an @ifset for nesting.) \long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}% % % And now expand that command. \doignoretext ^^M% }% } \def\doignoreyyy#1{% \def\temp{#1}% \ifx\temp\empty % Nothing found. \let\next\doignoretextzzz \else % Found a nested condition, ... \advance\doignorecount by 1 \let\next\doignoretextyyy % ..., look for another. % If we're here, #1 ends with ^^M\ifinfo (for example). \fi \next #1% the token \_STOP_ is present just after this macro. } % We have to swallow the remaining "\_STOP_". % \def\doignoretextzzz#1{% \ifnum\doignorecount = 0 % We have just found the outermost @end. \let\next\enddoignore \else % Still inside a nested condition. \advance\doignorecount by -1 \let\next\doignoretext % Look for the next @end. \fi \next } % Finish off ignored text. { \obeylines% % Ignore anything after the last `@end #1'; this matters in verbatim % environments, where otherwise the newline after an ignored conditional % would result in a blank line in the output. \gdef\enddoignore#1^^M{\endgroup\ignorespaces}% } % @set VAR sets the variable VAR to an empty value. % @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE. % % Since we want to separate VAR from REST-OF-LINE (which might be % empty), we can't just use \parsearg; we have to insert a space of our % own to delimit the rest of the line, and then take it out again if we % didn't need it. % We rely on the fact that \parsearg sets \catcode`\ =10. % \parseargdef\set{\setyyy#1 \endsetyyy} \def\setyyy#1 #2\endsetyyy{% {% \makevalueexpandable \def\temp{#2}% \edef\next{\gdef\makecsname{SET#1}}% \ifx\temp\empty \next{}% \else \setzzz#2\endsetzzz \fi }% } % Remove the trailing space \setxxx inserted. \def\setzzz#1 \endsetzzz{\next{#1}} % @clear VAR clears (i.e., unsets) the variable VAR. % \parseargdef\clear{% {% \makevalueexpandable \global\expandafter\let\csname SET#1\endcsname=\relax }% } % @value{foo} gets the text saved in variable foo. \def\value{\begingroup\makevalueexpandable\valuexxx} \def\valuexxx#1{\expandablevalue{#1}\endgroup} { \catcode`\-=\active \catcode`\_=\active % \gdef\makevalueexpandable{% \let\value = \expandablevalue % We don't want these characters active, ... \catcode`\-=\other \catcode`\_=\other % ..., but we might end up with active ones in the argument if % we're called from @code, as @code{@value{foo-bar_}}, though. % So \let them to their normal equivalents. \let-\normaldash \let_\normalunderscore } } \def\expandablevalue#1{% \expandafter\ifx\csname SET#1\endcsname\relax {[No value for ``#1'']}% \message{Variable `#1', used in @value, is not set.}% \else \csname SET#1\endcsname \fi } % Like \expandablevalue, but completely expandable (the \message in the % definition above operates at the execution level of TeX). Used when % writing to auxiliary files, due to the expansion that \write does. % If flag is undefined, pass through an unexpanded @value command: maybe it % will be set by the time it is read back in. % % NB flag names containing - or _ may not work here. \def\dummyvalue#1{% \expandafter\ifx\csname SET#1\endcsname\relax \string\value{#1}% \else \csname SET#1\endcsname \fi } % Used for @value's in index entries to form the sort key: expand the @value % if possible, otherwise sort late. \def\indexnofontsvalue#1{% \expandafter\ifx\csname SET#1\endcsname\relax ZZZZZZZ% \else \csname SET#1\endcsname \fi } % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined % with @set. % % To get the special treatment we need for `@end ifset,' we call % \makecond and then redefine. % \makecond{ifset} \def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}} \def\doifset#1#2{% {% \makevalueexpandable \let\next=\empty \expandafter\ifx\csname SET#2\endcsname\relax #1% If not set, redefine \next. \fi \expandafter }\next } \def\ifsetfail{\doignore{ifset}} % @ifclear VAR ... @end executes the `...' iff VAR has never been % defined with @set, or has been undefined with @clear. % % The `\else' inside the `\doifset' parameter is a trick to reuse the % above code: if the variable is not set, do nothing, if it is set, % then redefine \next to \ifclearfail. % \makecond{ifclear} \def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}} \def\ifclearfail{\doignore{ifclear}} % @ifcommandisdefined CMD ... @end executes the `...' if CMD (written % without the @) is in fact defined. We can only feasibly check at the % TeX level, so something like `mathcode' is going to considered % defined even though it is not a Texinfo command. % \makecond{ifcommanddefined} \def\ifcommanddefined{\parsearg{\doifcmddefined{\let\next=\ifcmddefinedfail}}} % \def\doifcmddefined#1#2{{% \makevalueexpandable \let\next=\empty \expandafter\ifx\csname #2\endcsname\relax #1% If not defined, \let\next as above. \fi \expandafter }\next } \def\ifcmddefinedfail{\doignore{ifcommanddefined}} % @ifcommandnotdefined CMD ... handled similar to @ifclear above. \makecond{ifcommandnotdefined} \def\ifcommandnotdefined{% \parsearg{\doifcmddefined{\else \let\next=\ifcmdnotdefinedfail}}} \def\ifcmdnotdefinedfail{\doignore{ifcommandnotdefined}} % Set the `txicommandconditionals' variable, so documents have a way to % test if the @ifcommand...defined conditionals are available. \set txicommandconditionals % @dircategory CATEGORY -- specify a category of the dir file % which this file should belong to. Ignore this in TeX. \let\dircategory=\comment % @defininfoenclose. \let\definfoenclose=\comment \message{indexing,} % Index generation facilities % Define \newwrite to be identical to plain tex's \newwrite % except not \outer, so it can be used within macros and \if's. \edef\newwrite{\makecsname{ptexnewwrite}} % \newindex {IX} defines an index named IX. % It automatically defines \IXindex such that % \IXindex ...rest of line... puts an entry in the index IX. % It also defines \IXindfile to be the number of the output channel for % the file that accumulates this index. The file's extension is IX. % \def\newindex#1{% \expandafter\chardef\csname#1indfile\endcsname=0 \expandafter\xdef\csname#1index\endcsname{% % Define @#1index \noexpand\doindex{#1}} } % @defindex foo == \newindex{foo} % \def\defindex{\parsearg\newindex} % Define @defcodeindex, like @defindex except put all entries in @code. % \def\defcodeindex{\parsearg\newcodeindex} % \def\newcodeindex#1{% \expandafter\chardef\csname#1indfile\endcsname=0 \expandafter\xdef\csname#1index\endcsname{% \noexpand\docodeindex{#1}}% } % The default indices: \newindex{cp}% concepts, \newcodeindex{fn}% functions, \newcodeindex{vr}% variables, \newcodeindex{tp}% types, \newcodeindex{ky}% keys \newcodeindex{pg}% and programs. % @synindex foo bar makes index foo feed into index bar. % Do this instead of @defindex foo if you don't want it as a separate index. % % @syncodeindex foo bar similar, but put all entries made for index foo % inside @code. % \def\synindex#1 #2 {\dosynindex\doindex{#1}{#2}} \def\syncodeindex#1 #2 {\dosynindex\docodeindex{#1}{#2}} % #1 is \doindex or \docodeindex, #2 the index getting redefined (foo), % #3 the target index (bar). \def\dosynindex#1#2#3{% \requireopenindexfile{#3}% % redefine \fooindfile: \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname \expandafter\let\csname#2indfile\endcsname=\temp % redefine \fooindex: \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}% } % Define \doindex, the driver for all index macros. % Argument #1 is generated by the calling \fooindex macro, % and it is the two-letter name of the index. \def\doindex#1{\edef\indexname{#1}\parsearg\doindexxxx} \def\doindexxxx #1{\doind{\indexname}{#1}} % like the previous two, but they put @code around the argument. \def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx} \def\docodeindexxxx #1{\docind{\indexname}{#1}} % \definedummyword defines \#1 as \string\#1\space, thus effectively % preventing its expansion. This is used only for control words, % not control letters, because the \space would be incorrect for % control characters, but is needed to separate the control word % from whatever follows. % % These can be used both for control words that take an argument and % those that do not. If it is followed by {arg} in the input, then % that will dutifully get written to the index (or wherever). % % For control letters, we have \definedummyletter, which omits the % space. % \def\definedummyword #1{\def#1{\string#1\space}}% \def\definedummyletter#1{\def#1{\string#1}}% % Used for the aux, toc and index files to prevent expansion of Texinfo % commands. Most of the commands are controlled through the % \ifdummies conditional. % \def\atdummies{% \dummiestrue % \definedummyletter\@% \definedummyletter\ % \definedummyletter\{% \definedummyletter\}% \definedummyletter\&% % \definedummyletter\_% \definedummyletter\-% % \definedummyword\subentry % % We want to disable all macros so that they are not expanded by \write. \let\commondummyword\definedummyword \macrolist \let\value\dummyvalue % \turnoffactive } \newif\ifdummies \newif\ifindexnofonts \def\commondummyletter#1{% \expandafter\let\csname\string#1:impl\endcsname#1% \edef#1{% \noexpand\ifindexnofonts % empty expansion \noexpand\else \noexpand\ifdummies\string#1% \noexpand\else \noexpand\jumptwofi % dispose of the \fi \expandafter\noexpand\csname\string#1:impl\endcsname \noexpand\fi \noexpand\fi}% } \def\commondummyaccent#1{% \expandafter\let\csname\string#1:impl\endcsname#1% \edef#1{% \noexpand\ifindexnofonts \noexpand\expandafter % dispose of \else ... \fi \noexpand\asis \noexpand\else \noexpand\ifdummies\string#1% \noexpand\else \noexpand\jumptwofi % dispose of the \fi \expandafter\noexpand\csname\string#1:impl\endcsname \noexpand\fi \noexpand\fi}% } % Like \commondummyaccent but add a \space at the end of the dummy expansion % #2 is the expansion used for \indexnofonts. #2 is always followed by % \asis to remove a pair of following braces. \def\commondummyword#1#2{% \expandafter\let\csname\string#1:impl\endcsname#1% \expandafter\def\csname\string#1:ixnf\endcsname{#2\asis}% \edef#1{% \noexpand\ifindexnofonts \noexpand\expandafter % dispose of \else ... \fi \expandafter\noexpand\csname\string#1:ixnf\endcsname \noexpand\else \noexpand\ifdummies\string#1\space \noexpand\else \noexpand\jumptwofi % dispose of the \fi \fi \expandafter\noexpand\csname\string#1:impl\endcsname \noexpand\fi \noexpand\fi}% } \def\jumptwofi#1\fi\fi{\fi\fi#1} % For \atdummies and \indexnofonts. \atdummies sets % \dummiestrue and \indexnofonts sets \indexnofontstrue. \def\definedummies{ % @-sign is always an escape character when reading auxiliary files \escapechar = `\@ % \commondummyletter\!% \commondummyaccent\"% \commondummyaccent\'% \commondummyletter\*% \commondummyaccent\,% \commondummyletter\.% \commondummyletter\/% \commondummyletter\:% \commondummyaccent\=% \commondummyletter\?% \commondummyaccent\^% \commondummyaccent\`% \commondummyaccent\~% % % Control letters and accents. \commondummyword\u {}% \commondummyword\v {}% \commondummyword\H {}% \commondummyword\dotaccent {}% \commondummyword\ogonek {}% \commondummyword\ringaccent {}% \commondummyword\tieaccent {}% \commondummyword\ubaraccent {}% \commondummyword\udotaccent {}% \commondummyword\dotless {}% % % Texinfo font commands. \commondummyword\b {}% \commondummyword\i {}% \commondummyword\r {}% \commondummyword\sansserif {}% \commondummyword\sc {}% \commondummyword\slanted {}% \commondummyword\t {}% % % Commands that take arguments. \commondummyword\abbr {}% \commondummyword\acronym {}% \commondummyword\anchor {}% \commondummyword\cite {}% \commondummyword\code {}% \commondummyword\command {}% \commondummyword\dfn {}% \commondummyword\dmn {}% \commondummyword\email {}% \commondummyword\emph {}% \commondummyword\env {}% \commondummyword\file {}% \commondummyword\image {}% \commondummyword\indicateurl{}% \commondummyword\inforef {}% \commondummyword\kbd {}% \commondummyword\key {}% \commondummyword\link {}% \commondummyword\math {}% \commondummyword\option {}% \commondummyword\pxref {}% \commondummyword\ref {}% \commondummyword\samp {}% \commondummyword\strong {}% \commondummyword\tie {}% \commondummyword\U {}% \commondummyword\uref {}% \commondummyword\url {}% \commondummyword\var {}% \commondummyword\verb {}% \commondummyword\w {}% \commondummyword\xref {}% % \commondummyword\AA {AA}% \commondummyword\AE {AE}% \commondummyword\DH {DZZ}% \commondummyword\L {L}% \commondummyword\O {O}% \commondummyword\OE {OE}% \commondummyword\TH {TH}% \commondummyword\aa {aa}% \commondummyword\ae {ae}% \commondummyword\dh {dzz}% \commondummyword\exclamdown {!}% \commondummyword\l {l}% \commondummyword\o {o}% \commondummyword\oe {oe}% \commondummyword\ordf {a}% \commondummyword\ordm {o}% \commondummyword\questiondown {?}% \commondummyword\ss {ss}% \commondummyword\th {th}% % \commondummyword\LaTeX {LaTeX}% \commondummyword\TeX {TeX}% % % Assorted special characters. \commondummyword\ampchar {\normalamp}% \commondummyword\atchar {\@}% \commondummyword\arrow {->}% \commondummyword\backslashchar {\realbackslash}% \commondummyword\bullet {bullet}% \commondummyword\comma {,}% \commondummyword\copyright {copyright}% \commondummyword\dots {...}% \commondummyword\enddots {...}% \commondummyword\entrybreak {}% \commondummyword\equiv {===}% \commondummyword\error {error}% \commondummyword\euro {euro}% \commondummyword\expansion {==>}% \commondummyword\geq {>=}% \commondummyword\guillemetleft {<<}% \commondummyword\guillemetright {>>}% \commondummyword\guilsinglleft {<}% \commondummyword\guilsinglright {>}% \commondummyword\lbracechar {\{}% \commondummyword\leq {<=}% \commondummyword\mathopsup {sup}% \commondummyword\minus {-}% \commondummyword\pounds {pounds}% \commondummyword\point {.}% \commondummyword\print {-|}% \commondummyword\quotedblbase {"}% \commondummyword\quotedblleft {"}% \commondummyword\quotedblright {"}% \commondummyword\quoteleft {`}% \commondummyword\quoteright {'}% \commondummyword\quotesinglbase {,}% \commondummyword\rbracechar {\}}% \commondummyword\registeredsymbol {R}% \commondummyword\result {=>}% \commondummyword\sub {}% \commondummyword\sup {}% \commondummyword\textdegree {o}% } \let\indexlbrace\relax \let\indexrbrace\relax \let\indexatchar\relax \let\indexbackslash\relax {\catcode`\@=0 \catcode`\\=13 @gdef@backslashdisappear{@def\{}} } { \catcode`\<=13 \catcode`\-=13 \catcode`\`=13 \gdef\indexnonalnumdisappear{% \ifflagclear{txiindexlquoteignore}{}{% % @set txiindexlquoteignore makes us ignore left quotes in the sort term. % (Introduced for FSFS 2nd ed.) \let`=\empty }% % \ifflagclear{txiindexbackslashignore}{}{% \backslashdisappear }% \ifflagclear{txiindexhyphenignore}{}{% \def-{}% }% \ifflagclear{txiindexlessthanignore}{}{% \def<{}% }% \ifflagclear{txiindexatsignignore}{}{% \def\@{}% }% } \gdef\indexnonalnumreappear{% \let-\normaldash \let<\normalless } } % \indexnofonts is used when outputting the strings to sort the index % by, and when constructing control sequence names. It eliminates all % control sequences and just writes whatever the best ASCII sort string % would be for a given command (usually its argument). % \def\indexnofonts{% \indexnofontstrue % \def\ { }% \def\@{@}% \def\_{\normalunderscore}% \def\-{}% @- shouldn't affect sorting % \uccode`\1=`\{ \uppercase{\def\{{1}}% \uccode`\1=`\} \uppercase{\def\}{1}}% \def\lbracechar##1{\{}% \def\rbracechar##1{\}}% % % % We need to get rid of all macros, leaving only the arguments (if present). % Of course this is not nearly correct, but it is the best we can do for now. % % Since macro invocations are followed by braces, we can just redefine them % to take a single TeX argument. The case of a macro invocation that % goes to end-of-line is not handled. % \def\commondummyword##1{\let##1\asis}% \macrolist \let\value\indexnofontsvalue } % #1 is the index name, #2 is the entry text. \def\doind#1#2{% \iflinks {% % \requireopenindexfile{#1}% \edef\writeto{\csname#1indfile\endcsname}% % \def\indextext{#2}% \safewhatsit\doindwrite }% \fi } % Same as \doind, but for code indices \def\docind#1#2{% \iflinks {% % \requireopenindexfile{#1}% \edef\writeto{\csname#1indfile\endcsname}% % \def\indextext{#2}% \safewhatsit\docindwrite }% \fi } % Check if an index file has been opened, and if not, open it. \def\requireopenindexfile#1{% \ifnum\csname #1indfile\endcsname=0 \expandafter\newwrite \csname#1indfile\endcsname \edef\suffix{#1}% % A .fls suffix would conflict with the file extension for the output % of -recorder, so use .f1s instead. \ifx\suffix\indexisfl\def\suffix{f1}\fi % Open the file \immediate\openout\csname#1indfile\endcsname \jobname.\suffix % Using \immediate above here prevents an object entering into the current % box, which could confound checks such as those in \safewhatsit for % preceding skips. \typeout{Writing index file \jobname.\suffix}% \fi} \def\indexisfl{fl} % Definition for writing index entry sort key. { \catcode`\-=13 \gdef\indexwritesortas{% \begingroup \indexnonalnumreappear \indexwritesortasxxx} \gdef\indexwritesortasxxx#1{% \xdef\indexsortkey{#1}\endgroup} } \def\indexwriteseealso#1{ \gdef\pagenumbertext{\string\seealso{#1}}% } \def\indexwriteseeentry#1{ \gdef\pagenumbertext{\string\seeentry{#1}}% } % The default definitions \def\sortas#1{}% \def\seealso#1{\i{\putwordSeeAlso}\ #1}% for sorted index file only \def\putwordSeeAlso{See also} \def\seeentry#1{\i{\putwordSee}\ #1}% for sorted index file only % Given index entry text like "aaa @subentry bbb @sortas{ZZZ}": % * Set \bracedtext to "{aaa}{bbb}" % * Set \fullindexsortkey to "aaa @subentry ZZZ" % * If @seealso occurs, set \pagenumbertext % \def\splitindexentry#1{% \gdef\fullindexsortkey{}% \xdef\bracedtext{}% \def\sep{}% \def\seealso##1{}% \def\seeentry##1{}% \expandafter\doindexsegment#1\subentry\finish\subentry } % append the results from the next segment \def\doindexsegment#1\subentry{% \def\segment{#1}% \ifx\segment\isfinish \else % % Fully expand the segment, throwing away any @sortas directives, and % trim spaces. \edef\trimmed{\segment}% \edef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}% \ifincodeindex \edef\trimmed{\noexpand\code{\trimmed}}% \fi % \xdef\bracedtext{\bracedtext{\trimmed}}% % % Get the string to sort by. Process the segment with all % font commands turned off. \bgroup \let\sortas\indexwritesortas \let\seealso\indexwriteseealso \let\seeentry\indexwriteseeentry \indexnofonts % The braces around the commands are recognized by texindex. \def\lbracechar{{\string\indexlbrace}}% \def\rbracechar{{\string\indexrbrace}}% \let\{=\lbracechar \let\}=\rbracechar \def\@{{\string\indexatchar}}% \def\atchar##1{\@}% \def\backslashchar{{\string\indexbackslash}}% \uccode`\~=`\\ \uppercase{\let~\backslashchar}% % \let\indexsortkey\empty \global\let\pagenumbertext\empty % Execute the segment and throw away the typeset output. This executes % any @sortas or @seealso commands in this segment. \setbox\dummybox = \hbox{\segment}% \ifx\indexsortkey\empty{% \indexnonalnumdisappear \xdef\trimmed{\segment}% \xdef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}% \xdef\indexsortkey{\trimmed}% \ifx\indexsortkey\empty \message{Empty index sort key near line \the\inputlineno}% \xdef\indexsortkey{ }% \fi }\fi % % Append to \fullindexsortkey. \edef\tmp{\gdef\noexpand\fullindexsortkey{% \fullindexsortkey\sep\indexsortkey}}% \tmp \egroup \def\sep{\subentry}% % \expandafter\doindexsegment \fi } \def\isfinish{\finish}% \newbox\dummybox % used above \let\subentry\relax % Use \ instead of @ in index files. To support old texi2dvi and texindex. % This works without changing the escape character used in the toc or aux % files because the index entries are fully expanded here, and \string uses % the current value of \escapechar. \def\escapeisbackslash{\escapechar=`\\} % Uncomment to use \ in index files by default. Old texi2dvi (before 2019) % didn't support @ as the escape character (as it checked for "\entry" in % the files, and not "@entry"). % In the future we can remove this flag and simplify the code for % index files and backslashes, once the support is no longer likely to be % useful. % % \set txiindexescapeisbackslash % Write the entry in \indextext to the index file. % \newif\ifincodeindex \def\doindwrite{\incodeindexfalse\doindwritex} \def\docindwrite{\incodeindextrue\doindwritex} \def\doindwritex{% \maybemarginindex % \atdummies % \ifflagclear{txiindexescapeisbackslash}{}{\escapeisbackslash}% % % For texindex which always views { and } as separators. \def\{{\lbracechar{}}% \def\}{\rbracechar{}}% \uccode`\~=`\\ \uppercase{\def~{\backslashchar{}}}% % % Split the entry into primary entry and any subentries, and get the index % sort key. \splitindexentry\indextext % % Set up the complete index entry, with both the sort key and % the original text, including any font commands. We write % three arguments to \entry to the .?? file (four in the % subentry case), texindex reduces to two when writing the .??s % sorted result. % \edef\temp{% \write\writeto{% \string\entry{\fullindexsortkey}% {\ifx\pagenumbertext\empty\noexpand\folio\else\pagenumbertext\fi}% \bracedtext}% }% \temp } % Put the index entry in the margin if desired (undocumented). \def\maybemarginindex{% \ifx\SETmarginindex\relax\else \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \relax\indextext}}% \fi } \let\SETmarginindex=\relax % Take care of unwanted page breaks/skips around a whatsit: % % If a skip is the last thing on the list now, preserve it % by backing up by \lastskip, doing the \write, then inserting % the skip again. Otherwise, the whatsit generated by the % \write or \pdfdest will make \lastskip zero. The result is that % sequences like this: % @end defun % @tindex whatever % @defun ... % will have extra space inserted, because the \medbreak in the % start of the @defun won't see the skip inserted by the @end of % the previous defun. % % But don't do any of this if we're not in vertical mode. We % don't want to do a \vskip and prematurely end a paragraph. % % Avoid page breaks due to these extra skips, too. % % But wait, there is a catch there: % We'll have to check whether \lastskip is zero skip. \ifdim is not % sufficient for this purpose, as it ignores stretch and shrink parts % of the skip. The only way seems to be to check the textual % representation of the skip. % % The following is almost like \def\zeroskipmacro{0.0pt} except that % the ``p'' and ``t'' characters have catcode \other, not 11 (letter). % \edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname} % \newskip\whatsitskip \newcount\whatsitpenalty % % ..., ready, GO: % \def\safewhatsit#1{\ifhmode #1% \else % \lastskip and \lastpenalty cannot both be nonzero simultaneously. \whatsitskip = \lastskip \edef\lastskipmacro{\the\lastskip}% \whatsitpenalty = \lastpenalty % % If \lastskip is nonzero, that means the last item was a % skip. And since a skip is discardable, that means this % -\whatsitskip glue we're inserting is preceded by a % non-discardable item, therefore it is not a potential % breakpoint, therefore no \nobreak needed. \ifx\lastskipmacro\zeroskipmacro \else \vskip-\whatsitskip \fi % #1% % \ifx\lastskipmacro\zeroskipmacro % If \lastskip was zero, perhaps the last item was a penalty, and % perhaps it was >=10000, e.g., a \nobreak. In that case, we want % to re-insert the same penalty (values >10000 are used for various % signals); since we just inserted a non-discardable item, any % following glue (such as a \parskip) would be a breakpoint. For example: % @deffn deffn-whatever % @vindex index-whatever % Description. % would allow a break between the index-whatever whatsit % and the "Description." paragraph. \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi \else % On the other hand, if we had a nonzero \lastskip, % this make-up glue would be preceded by a non-discardable item % (the whatsit from the \write), so we must insert a \nobreak. \nobreak\vskip\whatsitskip \fi \fi} % The index entry written in the file actually looks like % \entry {sortstring}{page}{topic} % or % \entry {sortstring}{page}{topic}{subtopic} % The texindex program reads in these files and writes files % containing these kinds of lines: % \initial {c} % before the first topic whose initial is c % \entry {topic}{pagelist} % for a topic that is used without subtopics % \primary {topic} % \entry {topic}{} % for the beginning of a topic that is used with subtopics % \secondary {subtopic}{pagelist} % for each subtopic. % \secondary {subtopic}{} % for a subtopic with sub-subtopics % \tertiary {subtopic}{subsubtopic}{pagelist} % for each sub-subtopic. % Define the user-accessible indexing commands % @findex, @vindex, @kindex, @cindex. \def\findex {\fnindex} \def\kindex {\kyindex} \def\cindex {\cpindex} \def\vindex {\vrindex} \def\tindex {\tpindex} \def\pindex {\pgindex} % Define the macros used in formatting output of the sorted index material. % @printindex causes a particular index (the ??s file) to get printed. % It does not print any chapter heading (usually an @unnumbered). % \parseargdef\printindex{\begingroup \dobreak \chapheadingskip{10000}% % \smallfonts \rm \tolerance = 9500 \plainfrenchspacing \everypar = {}% don't want the \kern\-parindent from indentation suppression. \let\entry\indexentry \ifxetex\xetexpreauxfile\fi % % See comment in \requireopenindexfile. \def\indexname{#1}\ifx\indexname\indexisfl\def\indexname{f1}\fi % % See if the index file exists and is nonempty. \openin 1 \jobname.\indexname s \ifeof 1 % \enddoublecolumns gets confused if there is no text in the index, % and it loses the chapter title and the aux file entries for the % index. The easiest way to prevent this problem is to make sure % there is some text. \putwordIndexNonexistent \typeout{No file \jobname.\indexname s.}% \else % If the index file exists but is empty, then \openin leaves \ifeof % false. We have to make TeX try to read something from the file, so % it can discover if there is anything in it. \read 1 to \thisline \ifeof 1 \putwordIndexIsEmpty \else \expandafter\printindexzz\thisline\relax\relax\finish% \fi \fi \closein 1 \ifxetex\xetexpostauxfile\fi \endgroup} % Checked in @bye \let\byeerror\relax % If the index file starts with a backslash, forgo reading the index % file altogether. If somebody upgrades texinfo.tex they may still have % old index files using \ as the escape character. Reading this would % at best lead to typesetting garbage, at worst a TeX syntax error. \def\printindexzz#1#2\finish{% \ifflagclear{txiindexescapeisbackslash}{% \uccode`\~=`\\ \uppercase{\if\noexpand~}\noexpand#1 \ifflagclear{txiskipindexfileswithbackslash}{% % Delay the error message until the very end to give a chance % for the whole index to be output as input for texindex. \global\def\byeerror{% ERROR: A sorted index file in an obsolete format was skipped. To fix this problem, please upgrade your version of 'texi2dvi' or 'texi2pdf' to that at . If you are using an old version of 'texindex' (part of the Texinfo distribution), you may also need to upgrade to a newer version (at least 6.0). You may be able to typeset the index if you run 'texindex \jobname.\indexname' yourself. You could also try setting the 'txiindexescapeisbackslash' flag by running a command like 'texi2dvi -t "@set txiindexescapeisbackslash" \jobname.texi'. If you do this, Texinfo will try to use index files in the old format. If you continue to have problems, deleting the index files and starting again might help (with 'rm \jobname.?? \jobname.??s')% }% }{% (Skipped sorted index file in obsolete format) }% \else \begindoublecolumns \ifxetex\xetexpreauxfile\fi \input \jobname.\indexname s \ifxetex\xetexpostauxfile\fi \enddoublecolumns \fi }{% \begindoublecolumns \catcode`\\=0\relax % % Make @ an escape character to give macros a chance to work. This % should work because we (hopefully) don't otherwise use @ in index files. %\catcode`\@=12\relax \catcode`\@=0\relax \ifxetex\xetexpreauxfile\fi \input \jobname.\indexname s \ifxetex\xetexpostauxfile\fi \enddoublecolumns }% } \def\indexentry#1#2{% \let\entrypagetarget\empty \ifpdforxetex % only link the index text to the page if no comma appears in the % list of pages, i.e. there is only one page \checkpagelistcomma{#2}\pagelistcomma \expandafter\ifcase\pagelistcomma \def\entrypagetarget{#2}% \fi \fi% \entryinternal{#1}{#2}% } \def\checkpagelistcomma#1#2{% \checkpagelistcommaxx#2#1,\finish } \def\checkpagelistcommaxx#1#2,#3\finish{% \def\tmp{#3}% \ifx\tmp\empty \def#1{0\relax} \else \def#1{1\relax} \fi } % These macros are used by the sorted index file itself. % Change them to control the appearance of the index. {\catcode`\/=13 \catcode`\-=13 \catcode`\^=13 \catcode`\~=13 \catcode`\_=13 \catcode`\|=13 \catcode`\<=13 \catcode`\>=13 \catcode`\+=13 \catcode`\"=13 \catcode`\$=3 \gdef\initialglyphs{% % special control sequences used in the index sort key \let\indexlbrace\{% \let\indexrbrace\}% \let\indexatchar\@% \def\indexbackslash{\math{\backslash}}% % % Some changes for non-alphabetic characters. Using the glyphs from the % math fonts looks more consistent than the typewriter font used elsewhere % for these characters. \uccode`\~=`\\ \uppercase{\def~{\math{\backslash}}} % % In case @\ is used for backslash \uppercase{\let\\=~} % Can't get bold backslash so don't use bold forward slash \catcode`\/=13 \def/{{\secrmnotbold \normalslash}}% \def-{{\normaldash\normaldash}}% en dash `--' \def^{{\chapbf \normalcaret}}% \def~{{\chapbf \normaltilde}}% \def\_{% \leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }% \def|{$\vert$}% \def<{$\less$}% \def>{$\gtr$}% \def+{$\normalplus$}% }} \def\initial{% \bgroup \initialx } \def\initialx#1{% % Remove any glue we may have, we'll be inserting our own. \removelastskip % % We like breaks before the index initials, so insert a bonus. % The glue before the bonus allows a little bit of space at the % bottom of a column to reduce an increase in inter-line spacing. \nobreak \vskip 0pt plus 5\baselineskip \penalty -300 \vskip 0pt plus -5\baselineskip % % Typeset the initial. Making this add up to a whole number of % baselineskips increases the chance of the dots lining up from column % to column. It still won't often be perfect, because of the stretch % we need before each entry, but it's better. % % No shrink because it confuses \balancecolumns. \vskip 1.67\baselineskip plus 1\baselineskip \doindexinitialentry{#1}% \initialglyphs \leftline{% \secfonts \kern-0.05em \secbf #1}% % \secfonts is inside the argument of \leftline so that the change of % \baselineskip will not affect any glue inserted before the vbox that % \leftline creates. % Do our best not to break after the initial. \nobreak \vskip .33\baselineskip plus .1\baselineskip \egroup % \initialglyphs } \def\doindexinitialentry#1{% \ifpdforxetex \global\advance\idxinitialno by 1 \def\indexlbrace{\{}% \def\indexrbrace{\}}% \def\indexbackslash{\realbackslash}% \def\indexatchar{\@}% \writetocentry{idxinitial}{\asis #1}{IDX\the\idxinitialno}% % The @asis removes a pair of braces around e.g. {@indexatchar} that % are output by texindex. % \pdfmkdest{idx.\asis #1.IDX\the\idxinitialno}% \fi } % No listing in TOC \def\idxinitialentry#1#2#3#4{} % For index initials. \newcount\idxinitialno \idxinitialno=1 \newdimen\entryrightmargin \entryrightmargin=0pt % amount to indent subsequent lines in an entry when it spans more than % one line. \newdimen\entrycontskip \entrycontskip=1em % for PDF output, whether to make the text of the entry a link to the section. % set for @contents and @shortcontents. \newif\iflinkentrytext % \entryinternal typesets a paragraph consisting of the text (#1), dot % leaders, and then page number (#2) flushed to the right margin. It is % used for index and table of contents entries. The paragraph is indented % by \leftskip. % For PDF output, if \linkentrytexttrue and \tocnodetarget is set, link text % to the referenced node. Else if \entrypagetarget is set, link text to the % page. \def\entryinternal{% \begingroup % % Start a new paragraph if necessary, so our assignments below can't % affect previous text. \par % % No extra space above this paragraph. \parskip = 0in % % When reading the text of entry, convert explicit line breaks % from @* into spaces. The user might give these in long section % titles, for instance. \def\*{\unskip\space\ignorespaces}% \def\entrybreak{\hfil\break}% An undocumented command % % Swallow the left brace of the text (first parameter): \afterassignment\doentry \let\temp = } \def\entrybreak{\unskip\space\ignorespaces}% \def\doentry{% % Save the text of the entry in \boxA \global\setbox\boxA=\hbox\bgroup \bgroup % Instead of the swallowed brace. \noindent \aftergroup\finishentry % And now comes the text of the entry. % Not absorbing as a macro argument reduces the chance of problems % with catcodes occurring. } {\catcode`\@=11 % #1 is the page number \gdef\finishentry#1{% \egroup % end \boxA \dimen@ = \wd\boxA % Length of text of entry % add any leaders and page number to \boxA. \global\setbox\boxA=\hbox\bgroup \ifpdforxetex \iflinkentrytext \ifx\tocnodetarget\empty \unhbox\boxA \else \startxreflink{\tocnodetarget}{}% \unhbox\boxA \endlink \fi \else \ifx\entrypagetarget\empty \unhbox\boxA \else \pdflinkpage{\entrypagetarget}{\unhbox\boxA}% \fi \fi \else \unhbox\boxA \fi % % Get the width of the page numbers, and only use % leaders if they are present. \global\setbox\boxB = \hbox{#1}% \ifdim\wd\boxB = 0pt \null\nobreak\hfill\ % \else % \null\nobreak\indexdotfill % Have leaders before the page number. % \hskip\skip\thinshrinkable \ifpdforxetex \ifx\tocnodetarget\empty \pdfgettoks#1.% \the\toksA \else % Should just be a single page number in toc \startxreflink{\tocnodetarget}{}% #1\endlink \fi \else #1% \fi \fi \egroup % end \boxA % % now output \ifdim\wd\boxB = 0pt \noindent\unhbox\boxA\par \nobreak \else\bgroup % We want the text of the entries to be aligned to the left, and the % page numbers to be aligned to the right. % \parindent = 0pt \advance\leftskip by 0pt plus 1fil \advance\leftskip by 0pt plus -1fill \rightskip = 0pt plus -1fil \advance\rightskip by 0pt plus 1fill % Cause last line, which could consist of page numbers on their own % if the list of page numbers is long, to be aligned to the right. \parfillskip=0pt plus -1fill % \advance\rightskip by \entryrightmargin % \dimen@ii = \hsize \advance\dimen@ii by -1\leftskip \advance\dimen@ii by -1\entryrightmargin \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line \ifdim\dimen@ > 0.8\dimen@ii % due to long index text \advance\leftskip by 0pt plus 1fill % ragged right % % Indent all lines but the first one. \advance\leftskip by \entrycontskip \advance\parindent by -\entrycontskip \fi\fi \indent % start paragraph \unhbox\boxA % % Do not prefer a separate line ending with a hyphen to fewer lines. \finalhyphendemerits = 0 % % Word spacing - no stretch \spaceskip=\fontdimen2\font minus \fontdimen4\font % \linepenalty=1000 % Discourage line breaks. \hyphenpenalty=5000 % Discourage hyphenation. % \par % format the paragraph \egroup % The \vbox \fi \endgroup }} \newskip\thinshrinkable \skip\thinshrinkable=.15em minus .15em % Like plain.tex's \dotfill, except uses up at least 0.5 em. % The filll stretch here overpowers both the fil and fill stretch to push % the page number to the right. \def\indexdotfill{\cleaders \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 0.5em plus 1filll} \def\primary #1{\line{#1\hfil}} \def\secondary{\indententry{0.5cm}} \def\tertiary{\indententry{1cm}} \def\indententry#1#2#3{% \bgroup \leftskip=#1 \entry{#2}{#3}% \egroup } % Define two-column mode, which we use to typeset indexes. % Adapted from the TeXbook, page 416, which is to say, % the manmac.tex format used to print the TeXbook itself. \catcode`\@=11 % private names \newbox\partialpage \newdimen\doublecolumnhsize \def\begindoublecolumns{\begingroup % ended by \enddoublecolumns % If not much space left on page, start a new page. \ifdim\pagetotal>0.8\vsize\vfill\eject\fi % % Grab any single-column material above us. \output = {% \savetopmark % \global\setbox\partialpage = \vbox{% % Unvbox the main output page. \unvbox\PAGE \kern-\topskip \kern\baselineskip }% }% \eject % run that output routine to set \partialpage % % Use the double-column output routine for subsequent pages. \output = {\doublecolumnout}% % % Change the page size parameters. We could do this once outside this % routine, in each of @smallbook, @afourpaper, and the default 8.5x11 % format, but then we repeat the same computation. Repeating a couple % of assignments once per index is clearly meaningless for the % execution time, so we may as well do it in one place. % % First we halve the line length, less a little for the gutter between % the columns. We compute the gutter based on the line length, so it % changes automatically with the paper format. The magic constant % below is chosen so that the gutter has the same value (well, +-<1pt) % as it did when we hard-coded it. % % We put the result in a separate register, \doublecolumnhsize, so we % can restore it in \pagesofar, after \hsize itself has (potentially) % been clobbered. % \doublecolumnhsize = \hsize \advance\doublecolumnhsize by -.04154\hsize \divide\doublecolumnhsize by 2 \hsize = \doublecolumnhsize % % Get the available space for the double columns -- the normal % (undoubled) page height minus any material left over from the % previous page. \advance\vsize by -\ht\partialpage \vsize = 2\vsize % % For the benefit of balancing columns \advance\baselineskip by 0pt plus 0.5pt } % The double-column output routine for all double-column pages except % the last, which is done by \balancecolumns. % \def\doublecolumnout{% % \savetopmark \splittopskip=\topskip \splitmaxdepth=\maxdepth \dimen@ = \vsize \divide\dimen@ by 2 % % box0 will be the left-hand column, box2 the right. \setbox0=\vsplit\PAGE to\dimen@ \setbox2=\vsplit\PAGE to\dimen@ \global\advance\vsize by 2\ht\partialpage \onepageout\pagesofar % empty except for the first time we are called \unvbox\PAGE \penalty\outputpenalty } % % Re-output the contents of the output page -- any previous material, % followed by the two boxes we just split, in box0 and box2. \def\pagesofar{% \unvbox\partialpage % \hsize = \doublecolumnhsize \wd0=\hsize \wd2=\hsize \hbox to\txipagewidth{\box0\hfil\box2}% } % Finished with double columns. \def\enddoublecolumns{% % The following penalty ensures that the page builder is exercised % _before_ we change the output routine. This is necessary in the % following situation: % % The last section of the index consists only of a single entry. % Before this section, \pagetotal is less than \pagegoal, so no % break occurs before the last section starts. However, the last % section, consisting of \initial and the single \entry, does not % fit on the page and has to be broken off. Without the following % penalty the page builder will not be exercised until \eject % below, and by that time we'll already have changed the output % routine to the \balancecolumns version, so the next-to-last % double-column page will be processed with \balancecolumns, which % is wrong: The two columns will go to the main vertical list, with % the broken-off section in the recent contributions. As soon as % the output routine finishes, TeX starts reconsidering the page % break. The two columns and the broken-off section both fit on the % page, because the two columns now take up only half of the page % goal. When TeX sees \eject from below which follows the final % section, it invokes the new output routine that we've set after % \balancecolumns below; \onepageout will try to fit the two columns % and the final section into the vbox of \txipageheight (see % \pagebody), causing an overfull box. % % Note that glue won't work here, because glue does not exercise the % page builder, unlike penalties (see The TeXbook, pp. 280-281). \penalty0 % \output = {% % Split the last of the double-column material. \savetopmark \balancecolumns }% \eject % call the \output just set \ifdim\pagetotal=0pt % Having called \balancecolumns once, we do not % want to call it again. Therefore, reset \output to its normal % definition right away. \global\output=\expandafter{\the\defaultoutput} % \endgroup % started in \begindoublecolumns % Leave the double-column material on the current page, no automatic % page break. \box\balancedcolumns % % \pagegoal was set to the doubled \vsize above, since we restarted % the current page. We're now back to normal single-column % typesetting, so reset \pagegoal to the normal \vsize. \global\vsize = \txipageheight % \pagegoal = \txipageheight % \else % We had some left-over material. This might happen when \doublecolumnout % is called in \balancecolumns. Try again. \expandafter\enddoublecolumns \fi } \newbox\balancedcolumns \setbox\balancedcolumns=\vbox{shouldnt see this}% % % Only called for the last of the double column material. \doublecolumnout % does the others. \def\balancecolumns{% \setbox0 = \vbox{\unvbox\PAGE}% like \box255 but more efficient, see p.120. \dimen@ = \ht0 \ifdim\dimen@<7\baselineskip % Don't split a short final column in two. \setbox2=\vbox{}% \global\setbox\balancedcolumns=\vbox{\pagesofar}% \else % double the leading vertical space \advance\dimen@ by \topskip \advance\dimen@ by-\baselineskip \divide\dimen@ by 2 % target to split to \dimen@ii = \dimen@ \splittopskip = \topskip % Loop until left column is at least as high as the right column. {% \vbadness = 10000 \loop \global\setbox3 = \copy0 \global\setbox1 = \vsplit3 to \dimen@ \ifdim\ht1<\ht3 \global\advance\dimen@ by 1pt \repeat }% % Now the left column is in box 1, and the right column in box 3. % % Check whether the left column has come out higher than the page itself. % (Note that we have doubled \vsize for the double columns, so % the actual height of the page is 0.5\vsize). \ifdim2\ht1>\vsize % It appears that we have been called upon to balance too much material. % Output some of it with \doublecolumnout, leaving the rest on the page. \setbox\PAGE=\box0 \doublecolumnout \else % Compare the heights of the two columns. \ifdim4\ht1>5\ht3 % Column heights are too different, so don't make their bottoms % flush with each other. \setbox2=\vbox to \ht1 {\unvbox3\vfill}% \setbox0=\vbox to \ht1 {\unvbox1\vfill}% \else % Make column bottoms flush with each other. \setbox2=\vbox to\ht1{\unvbox3\unskip}% \setbox0=\vbox to\ht1{\unvbox1\unskip}% \fi \global\setbox\balancedcolumns=\vbox{\pagesofar}% \fi \fi % } \catcode`\@ = \other \message{sectioning,} % Chapters, sections, etc. % Let's start with @part. \parseargdef\part{\partzzz{#1}} \def\partzzz#1{% \chapoddpage \null \vskip.3\vsize % move it down on the page a bit \begingroup \noindent \titlefonts\rm #1\par % the text \let\lastnode=\empty % no node to associate with \writetocentry{part}{#1}{}% but put it in the toc \headingsoff % no headline or footline on the part page % This outputs a mark at the end of the page that clears \thischapter % and \thissection, as is done in \startcontents. \let\pchapsepmacro\relax \chapmacro{}{Yomitfromtoc}{}% \chapoddpage \endgroup } % \unnumberedno is an oxymoron. But we count the unnumbered % sections so that we can refer to them unambiguously in the pdf % outlines by their "section number". We avoid collisions with chapter % numbers by starting them at 10000. (If a document ever has 10000 % chapters, we're in trouble anyway, I'm sure.) \newcount\unnumberedno \unnumberedno = 10000 \newcount\chapno \newcount\secno \secno=0 \newcount\subsecno \subsecno=0 \newcount\subsubsecno \subsubsecno=0 % This counter is funny since it counts through charcodes of letters A, B, ... \newcount\appendixno \appendixno = `\@ % % \def\appendixletter{\char\the\appendixno} % We do the following ugly conditional instead of the above simple % construct for the sake of pdftex, which needs the actual % letter in the expansion, not just typeset. % \def\appendixletter{% \ifnum\appendixno=`A A% \else\ifnum\appendixno=`B B% \else\ifnum\appendixno=`C C% \else\ifnum\appendixno=`D D% \else\ifnum\appendixno=`E E% \else\ifnum\appendixno=`F F% \else\ifnum\appendixno=`G G% \else\ifnum\appendixno=`H H% \else\ifnum\appendixno=`I I% \else\ifnum\appendixno=`J J% \else\ifnum\appendixno=`K K% \else\ifnum\appendixno=`L L% \else\ifnum\appendixno=`M M% \else\ifnum\appendixno=`N N% \else\ifnum\appendixno=`O O% \else\ifnum\appendixno=`P P% \else\ifnum\appendixno=`Q Q% \else\ifnum\appendixno=`R R% \else\ifnum\appendixno=`S S% \else\ifnum\appendixno=`T T% \else\ifnum\appendixno=`U U% \else\ifnum\appendixno=`V V% \else\ifnum\appendixno=`W W% \else\ifnum\appendixno=`X X% \else\ifnum\appendixno=`Y Y% \else\ifnum\appendixno=`Z Z% % The \the is necessary, despite appearances, because \appendixletter is % expanded while writing the .toc file. \char\appendixno is not % expandable, thus it is written literally, thus all appendixes come out % with the same letter (or @) in the toc without it. \else\char\the\appendixno \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} % Each @chapter defines these (using marks) as the number+name, number % and name of the chapter. Page headings and footings can use % these. @section does likewise. \def\thischapter{} \def\thischapternum{} \def\thischaptername{} \def\thissection{} \def\thissectionnum{} \def\thissectionname{} \newcount\absseclevel % used to calculate proper heading level \newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count % @raisesections: treat @section as chapter, @subsection as section, etc. \def\raisesections{\global\advance\secbase by -1} % @lowersections: treat @chapter as section, @section as subsection, etc. \def\lowersections{\global\advance\secbase by 1} % we only have subsub. \chardef\maxseclevel = 3 % % A numbered section within an unnumbered changes to unnumbered too. % To achieve this, remember the "biggest" unnum. sec. we are currently in: \chardef\unnlevel = \maxseclevel % % Trace whether the current chapter is an appendix or not: % \chapheadtype is "N" or "A", unnumbered chapters are ignored. \def\chapheadtype{N} % Choose a heading macro % #1 is heading type % #2 is heading level % #3 is text for heading \def\genhead#1#2#3{% % Compute the abs. sec. level: \absseclevel=#2 \advance\absseclevel by \secbase % Make sure \absseclevel doesn't fall outside the range: \ifnum \absseclevel < 0 \absseclevel = 0 \else \ifnum \absseclevel > 3 \absseclevel = 3 \fi \fi % The heading type: \def\headtype{#1}% \if \headtype U% \ifnum \absseclevel < \unnlevel \chardef\unnlevel = \absseclevel \fi \else % Check for appendix sections: \ifnum \absseclevel = 0 \edef\chapheadtype{\headtype}% \else \if \headtype A\if \chapheadtype N% \errmessage{@appendix... within a non-appendix chapter}% \fi\fi \fi % Check for numbered within unnumbered: \ifnum \absseclevel > \unnlevel \def\headtype{U}% \else \chardef\unnlevel = 3 \fi \fi % Now print the heading: \if \headtype U% \ifcase\absseclevel \unnumberedzzz{#3}% \or \unnumberedseczzz{#3}% \or \unnumberedsubseczzz{#3}% \or \unnumberedsubsubseczzz{#3}% \fi \else \if \headtype A% \ifcase\absseclevel \appendixzzz{#3}% \or \appendixsectionzzz{#3}% \or \appendixsubseczzz{#3}% \or \appendixsubsubseczzz{#3}% \fi \else \ifcase\absseclevel \chapterzzz{#3}% \or \seczzz{#3}% \or \numberedsubseczzz{#3}% \or \numberedsubsubseczzz{#3}% \fi \fi \fi \suppressfirstparagraphindent } % an interface: \def\numhead{\genhead N} \def\apphead{\genhead A} \def\unnmhead{\genhead U} % @chapter, @appendix, @unnumbered. Increment top-level counter, reset % all lower-level sectioning counters to zero. % % Also set \chaplevelprefix, which we prepend to @float sequence numbers % (e.g., figures), q.v. By default (before any chapter), that is empty. \let\chaplevelprefix = \empty % \outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz \def\chapterzzz#1{% % section resetting is \global in case the chapter is in a group, such % as an @include file. \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 \global\advance\chapno by 1 % % Used for \float. \gdef\chaplevelprefix{\the\chapno.}% \resetallfloatnos % % \putwordChapter can contain complex things in translations. \toks0=\expandafter{\putwordChapter}% \message{\the\toks0 \space \the\chapno}% % % Write the actual heading. \chapmacro{#1}{Ynumbered}{\the\chapno}% % % So @section and the like are numbered underneath this chapter. \global\let\section = \numberedsec \global\let\subsection = \numberedsubsec \global\let\subsubsection = \numberedsubsubsec } \outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz % \def\appendixzzz#1{% \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 \global\advance\appendixno by 1 \gdef\chaplevelprefix{\appendixletter.}% \resetallfloatnos % % \putwordAppendix can contain complex things in translations. \toks0=\expandafter{\putwordAppendix}% \message{\the\toks0 \space \appendixletter}% % \chapmacro{#1}{Yappendix}{\appendixletter}% % \global\let\section = \appendixsec \global\let\subsection = \appendixsubsec \global\let\subsubsection = \appendixsubsubsec } % normally unnmhead0 calls unnumberedzzz: \outer\parseargdef\unnumbered{\unnmhead0{#1}} \def\unnumberedzzz#1{% \global\advance\unnumberedno by 1 % % Since an unnumbered has no number, no prefix for figures. \global\let\chaplevelprefix = \empty \resetallfloatnos % % This used to be simply \message{#1}, but TeX fully expands the % argument to \message. Therefore, if #1 contained @-commands, TeX % expanded them. For example, in `@unnumbered The @cite{Book}', TeX % expanded @cite (which turns out to cause errors because \cite is meant % to be executed, not expanded). % % Anyway, we don't want the fully-expanded definition of @cite to appear % as a result of the \message, we just want `@cite' itself. We use % \the to achieve this: TeX expands \the only once, % simply yielding the contents of . (We also do this for % the toc entries.) \toks0 = {#1}% \message{(\the\toks0)}% % \chapmacro{#1}{Ynothing}{\the\unnumberedno}% % \global\let\section = \unnumberedsec \global\let\subsection = \unnumberedsubsec \global\let\subsubsection = \unnumberedsubsubsec } % @centerchap is like @unnumbered, but the heading is centered. \outer\parseargdef\centerchap{% \let\centerparametersmaybe = \centerparameters \unnmhead0{#1}% \let\centerparametersmaybe = \relax } % @top is like @unnumbered. \let\top\unnumbered % Sections. % \outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz \def\seczzz#1{% \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}% } % normally calls appendixsectionzzz: \outer\parseargdef\appendixsection{\apphead1{#1}} \def\appendixsectionzzz#1{% \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}% } \let\appendixsec\appendixsection % normally calls unnumberedseczzz: \outer\parseargdef\unnumberedsec{\unnmhead1{#1}} \def\unnumberedseczzz#1{% \global\advance\unnumberedno by 1 \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno}% } % Subsections. % % normally calls numberedsubseczzz: \outer\parseargdef\numberedsubsec{\numhead2{#1}} \def\numberedsubseczzz#1{% \global\subsubsecno=0 \global\advance\subsecno by 1 \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}% } % normally calls appendixsubseczzz: \outer\parseargdef\appendixsubsec{\apphead2{#1}} \def\appendixsubseczzz#1{% \global\subsubsecno=0 \global\advance\subsecno by 1 \sectionheading{#1}{subsec}{Yappendix}% {\appendixletter.\the\secno.\the\subsecno}% } % normally calls unnumberedsubseczzz: \outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}} \def\unnumberedsubseczzz#1{% \global\advance\unnumberedno by 1 \sectionheading{#1}{subsec}{Ynothing}{\the\unnumberedno}% } % Subsubsections. % % normally numberedsubsubseczzz: \outer\parseargdef\numberedsubsubsec{\numhead3{#1}} \def\numberedsubsubseczzz#1{% \global\advance\subsubsecno by 1 \sectionheading{#1}{subsubsec}{Ynumbered}% {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}% } % normally appendixsubsubseczzz: \outer\parseargdef\appendixsubsubsec{\apphead3{#1}} \def\appendixsubsubseczzz#1{% \global\advance\subsubsecno by 1 \sectionheading{#1}{subsubsec}{Yappendix}% {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}% } % normally unnumberedsubsubseczzz: \outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}} \def\unnumberedsubsubseczzz#1{% \global\advance\unnumberedno by 1 \sectionheading{#1}{subsubsec}{Ynothing}{\the\unnumberedno}% } % These macros control what the section commands do, according % to what kind of chapter we are in (ordinary, appendix, or unnumbered). % Define them by default for a numbered chapter. \let\section = \numberedsec \let\subsection = \numberedsubsec \let\subsubsection = \numberedsubsubsec % Define @majorheading, @heading and @subheading \def\majorheading{% {\advance\chapheadingskip by 10pt \chapbreak }% \parsearg\chapheadingzzz } \def\chapheading{\chapbreak \parsearg\chapheadingzzz} \def\chapheadingzzz#1{% \vbox{\chapfonts \raggedtitlesettings #1\par}% \nobreak\bigskip \nobreak \suppressfirstparagraphindent } % @heading, @subheading, @subsubheading. \parseargdef\heading{\sectionheading{#1}{sec}{Yomitfromtoc}{} \suppressfirstparagraphindent} \parseargdef\subheading{\sectionheading{#1}{subsec}{Yomitfromtoc}{} \suppressfirstparagraphindent} \parseargdef\subsubheading{\sectionheading{#1}{subsubsec}{Yomitfromtoc}{} \suppressfirstparagraphindent} % @xrefname - give text with printed name for linking to node and allow % referencing node, but do not print any heading. \parseargdef\xrefname{\donoderef{Yomitfromtoc}{#1}}% % These macros generate a chapter, section, etc. heading only % (including whitespace, linebreaking, etc. around it), % given all the information in convenient, parsed form. % Args are the skip and penalty (usually negative) \def\dobreak#1#2{\par\ifdim\lastskip<#1\removelastskip\penalty#2\vskip#1\fi} % Parameter controlling skip before chapter headings (if needed) \newskip\chapheadingskip % Define plain chapter starts, and page on/off switching for it. \def\chapbreak{\dobreak \chapheadingskip {-4000}} % Start a new page \def\chappager{\par\vfill\supereject} % \chapoddpage - start on an odd page for a new chapter % Because \domark is called before \chapoddpage, the filler page will % get the headings for the next chapter, which is wrong. But we don't % care -- we just disable all headings on the filler page. \def\chapoddpage{% \chappager \ifodd\pageno \else \begingroup \headingsoff \null \chappager \endgroup \fi } \parseargdef\setchapternewpage{\csname CHAPPAG#1\endcsname\HEADINGSon} \def\CHAPPAGoff{% \global\let\contentsalignmacro = \chappager \global\let\pchapsepmacro=\chapbreak \global\def\HEADINGSon{\HEADINGSsinglechapoff}} \def\CHAPPAGon{% \global\let\contentsalignmacro = \chappager \global\let\pchapsepmacro=\chappager \global\def\HEADINGSon{\HEADINGSsingle}} \def\CHAPPAGodd{% \global\let\contentsalignmacro = \chapoddpage \global\let\pchapsepmacro=\chapoddpage \global\def\HEADINGSon{\HEADINGSdouble}} \setchapternewpage on % \chapmacro - Chapter opening. % % #1 is the text, #2 is the section type (Ynumbered, Ynothing, % Yappendix, Yomitfromtoc), #3 the chapter number. % Not used for @heading series. % % To test against our argument. \def\Ynothingkeyword{Ynothing} \def\Yappendixkeyword{Yappendix} \def\Yomitfromtockeyword{Yomitfromtoc} % % % Definitions for @thischapter. These can be overridden in translation % files. \def\thischapterAppendix{% \putwordAppendix{} \thischapternum: \thischaptername} \def\thischapterChapter{% \putwordChapter{} \thischapternum: \thischaptername} % % \def\chapmacro#1#2#3{% \expandafter\ifx\thisenv\titlepage\else \checkenv{}% chapters, etc., should not start inside an environment. \fi % Insert the first mark before the heading break (see notes for \domark). \let\prevchapterdefs=\currentchapterdefs \let\prevsectiondefs=\currentsectiondefs \gdef\currentsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}% \gdef\thissection{}}% % \def\temptype{#2}% \ifx\temptype\Ynothingkeyword \gdef\currentchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% \gdef\thischapter{\thischaptername}}% \else\ifx\temptype\Yomitfromtockeyword \gdef\currentchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% \gdef\thischapter{}}% \else\ifx\temptype\Yappendixkeyword \toks0={#1}% \xdef\currentchapterdefs{% \gdef\noexpand\thischaptername{\the\toks0}% \gdef\noexpand\thischapternum{\appendixletter}% \let\noexpand\thischapter\noexpand\thischapterAppendix }% \else \toks0={#1}% \xdef\currentchapterdefs{% \gdef\noexpand\thischaptername{\the\toks0}% \gdef\noexpand\thischapternum{\the\chapno}% \let\noexpand\thischapter\noexpand\thischapterChapter }% \fi\fi\fi % % Output the mark. Pass it through \safewhatsit, to take care of % the preceding space. \safewhatsit\domark % % Insert the chapter heading break. \pchapsepmacro % % Now the second mark, after the heading break. No break points % between here and the heading. \let\prevchapterdefs=\currentchapterdefs \let\prevsectiondefs=\currentsectiondefs \domark % {% \chapfonts \rm \let\footnote=\errfootnoteheading % give better error message % % Only insert the separating space if we have a chapter/appendix % number, and don't print the unnumbered ``number''. \ifx\temptype\Ynothingkeyword \setbox0 = \hbox{}% \def\toctype{unnchap}% \else\ifx\temptype\Yomitfromtockeyword \setbox0 = \hbox{}% contents like unnumbered, but no toc entry \def\toctype{omit}% \else\ifx\temptype\Yappendixkeyword \setbox0 = \hbox{\putwordAppendix{} #3\enspace}% \def\toctype{app}% \else \setbox0 = \hbox{#3\enspace}% \def\toctype{numchap}% \fi\fi\fi % % Write the toc entry for this chapter. Must come before the % \donoderef, because we include the current node name in the toc % entry, and \donoderef resets it to empty. \writetocentry{\toctype}{#1}{#3}% % % For pdftex, we have to write out the node definition (aka, make % the pdfdest) after any page break, but before the actual text has % been typeset. If the destination for the pdf outline is after the % text, then jumping from the outline may wind up with the text not % being visible, for instance under high magnification. \donoderef{#2}{#1}% % % Typeset the actual heading. \nobreak % Avoid page breaks at the interline glue. \vbox{\raggedtitlesettings \hangindent=\wd0 \centerparametersmaybe \unhbox0 #1\par}% }% \nobreak\bigskip % no page break after a chapter title \nobreak } % @centerchap -- centered and unnumbered. \let\centerparametersmaybe = \relax \def\centerparameters{% \advance\rightskip by 3\rightskip \leftskip = \rightskip \parfillskip = 0pt } % Section titles. These macros combine the section number parts and % call the generic \sectionheading to do the printing. % \newskip\secheadingskip \def\secheadingbreak{\dobreak \secheadingskip{-1000}} % Subsection titles. \newskip\subsecheadingskip \def\subsecheadingbreak{\dobreak \subsecheadingskip{-500}} % Subsubsection titles. \def\subsubsecheadingskip{\subsecheadingskip} \def\subsubsecheadingbreak{\subsecheadingbreak} % Definition for @thissection. This can be overridden in translation % files. \def\thissectionDef{% \putwordSection{} \thissectionnum: \thissectionname} % % Print any size, any type, section title. % % #1 is the text of the title, % #2 is the section level (sec/subsec/subsubsec), % #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc), % #4 is the section number. % \def\seckeyword{sec} % \def\sectionheading#1#2#3#4{% {% \def\sectionlevel{#2}% \def\temptype{#3}% % % It is ok for the @heading series commands to appear inside an % environment (it's been historically allowed, though the logic is % dubious), but not the others. \ifx\temptype\Yomitfromtockeyword\else \checkenv{}% non-@*heading should not be in an environment. \fi \let\footnote=\errfootnoteheading % % Switch to the right set of fonts. \csname #2fonts\endcsname \rm % % Insert first mark before the heading break (see notes for \domark). \let\prevsectiondefs=\currentsectiondefs \ifx\temptype\Ynothingkeyword \ifx\sectionlevel\seckeyword \gdef\currentsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}% \gdef\thissection{\thissectionname}}% \fi \else\ifx\temptype\Yomitfromtockeyword % Don't redefine \thissection. \else\ifx\temptype\Yappendixkeyword \ifx\sectionlevel\seckeyword \toks0={#1}% \xdef\currentsectiondefs{% \gdef\noexpand\thissectionname{\the\toks0}% \gdef\noexpand\thissectionnum{#4}% \let\noexpand\thissection\noexpand\thissectionDef }% \fi \else \ifx\sectionlevel\seckeyword \toks0={#1}% \xdef\currentsectiondefs{% \gdef\noexpand\thissectionname{\the\toks0}% \gdef\noexpand\thissectionnum{#4}% \let\noexpand\thissection\noexpand\thissectionDef }% \fi \fi\fi\fi % % Go into vertical mode. Usually we'll already be there, but we % don't want the following whatsit to end up in a preceding paragraph % if the document didn't happen to have a blank line. \par % % Output the mark. Pass it through \safewhatsit, to take care of % the preceding space. \safewhatsit\domark % % Insert space above the heading. \csname #2headingbreak\endcsname % % Now the second mark, after the heading break. No break points % between here and the heading. \global\let\prevsectiondefs=\currentsectiondefs \domark % % Only insert the space after the number if we have a section number. \ifx\temptype\Ynothingkeyword \setbox0 = \hbox{}% \def\toctype{unn}% \else\ifx\temptype\Yomitfromtockeyword % for @headings -- no section number, don't include in toc. \setbox0 = \hbox{}% \def\toctype{omit}% \let\sectionlevel=\empty \else\ifx\temptype\Yappendixkeyword \setbox0 = \hbox{#4\enspace}% \def\toctype{app}% \else \setbox0 = \hbox{#4\enspace}% \def\toctype{num}% \fi\fi\fi % % Write the toc entry (before \donoderef). See comments in \chapmacro. \writetocentry{\toctype\sectionlevel}{#1}{#4}% % % Write the node reference (= pdf destination for pdftex). % Again, see comments in \chapmacro. \donoderef{#3}{#1}% % % Interline glue will be inserted when the vbox is completed. % That glue will be a valid breakpoint for the page, since it'll be % preceded by a whatsit (usually from the \donoderef, or from the % \writetocentry if there was no node). We don't want to allow that % break, since then the whatsits could end up on page n while the % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000. \nobreak % % Output the actual section heading. \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright \hangindent=\wd0 % zero if no section number \unhbox0 #1}% }% % Add extra space after the heading -- half of whatever came above it. % Don't allow stretch, though. \kern .5 \csname #2headingskip\endcsname % % Do not let the kern be a potential breakpoint, as it would be if it % was followed by glue. \nobreak % % We'll almost certainly start a paragraph next, so don't let that % glue accumulate. (Not a breakpoint because it's preceded by a % discardable item.) However, when a paragraph is not started next % (\startdefun, \cartouche, \center, etc.), this needs to be wiped out % or the negative glue will cause weirdly wrong output, typically % obscuring the section heading with something else. \vskip-\parskip % % This is so the last item on the main vertical list is a known % \penalty > 10000, so \startdefun, etc., can recognize the situation % and do the needful. \penalty 10001 } \message{toc,} % Table of contents. \newwrite\tocfile % Write an entry to the toc file, opening it if necessary. % Called from @chapter, etc. % % Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno} % We append the current node name (if any) and page number as additional % arguments for the \{chap,sec,...}entry macros which will eventually % read this. The node name is used in the pdf outlines as the % destination to jump to. % % We open the .toc file for writing here instead of at @setfilename (or % any other fixed time) so that @contents can be anywhere in the document. % But if #1 is `omit', then we don't do anything. This is used for the % table of contents chapter openings themselves. % \newif\iftocfileopened \def\omitkeyword{omit}% % \def\writetocentry#1#2#3{% \edef\writetoctype{#1}% \ifx\writetoctype\omitkeyword \else \iftocfileopened\else \immediate\openout\tocfile = \jobname.toc \global\tocfileopenedtrue \fi % \iflinks {\atdummies \edef\temp{% \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}% \temp }% \fi \fi % % Tell \shipout to create a pdf destination on each page, if we're % writing pdf. These are used in the table of contents. We can't % just write one on every page because the title pages are numbered % 1 and 2 (the page numbers aren't printed), and so are the first % two pages of the document. Thus, we'd have two destinations named % `1', and two named `2'. \ifpdforxetex \global\pdfmakepagedesttrue \fi } % These characters do not print properly in the Computer Modern roman % fonts, so we must take special care. This is more or less redundant % with the Texinfo input format setup at the end of this file. % \def\activecatcodes{% \catcode`\"=\active \catcode`\$=\active \catcode`\<=\active \catcode`\>=\active \catcode`\\=\active \catcode`\^=\active \catcode`\_=\active \catcode`\|=\active \catcode`\~=\active } % Read the toc file, which is essentially Texinfo input. \def\readtocfile{% \setupdatafile \activecatcodes \input \tocreadfilename } % process toc file to find the maximum width of the section numbers for % each chapter \def\findsecnowidths{% \begingroup \setupdatafile \activecatcodes \secentryfonts % Redefinitions \def\numchapentry##1##2##3##4{% \def\curchapname{secnowidth-##2}% \curchapmax=0pt }% \let\appentry\numchapentry % \def\numsecentry##1##2##3##4{% \def\cursecname{secnowidth-##2}% \cursecmax=0pt % \setbox0=\hbox{##2}% \ifdim\wd0>\curchapmax \curchapmax=\wd0 \expandafter\xdef\csname\curchapname\endcsname{\the\wd0}% \fi }% \let\appsecentry\numsecentry % \def\numsubsecentry##1##2##3##4{% \def\curssecname{secnowidth-##2}% \curssecmax=0pt % \setbox0=\hbox{##2}% \ifdim\wd0>\cursecmax \cursecmax=\wd0 \expandafter\xdef\csname\cursecname\endcsname{\the\wd0}% \fi }% \let\appsubsecentry\numsubsecentry % \def\numsubsubsecentry##1##2##3##4{% \setbox0=\hbox{##2}% \ifdim\wd0>\curssecmax \curssecmax=\wd0 \expandafter\xdef\csname\curssecname\endcsname{\the\wd0}% \fi }% \let\appsubsubsecentry\numsubsubsecentry % % Discard any output by outputting to dummy vbox, in case the toc file % contains macros that we have not redefined above. \setbox\dummybox\vbox\bgroup \input \tocreadfilename\relax \egroup \endgroup } \newdimen\curchapmax \newdimen\cursecmax \newdimen\curssecmax % set #1 to the maximum section width for #2 \def\retrievesecnowidth#1#2{% \expandafter\let\expandafter\savedsecnowidth \csname secnowidth-#2\endcsname \ifx\savedsecnowidth\relax #1=0pt \else #1=\savedsecnowidth \fi } \newdimen\secnowidthchap \secnowidthchap=0pt \newdimen\secnowidthsec \secnowidthsec=0pt \newdimen\secnowidthssec \secnowidthssec=0pt \newskip\contentsrightmargin \contentsrightmargin=1in \newcount\savepageno \newcount\lastnegativepageno \lastnegativepageno = -1 % Prepare to read what we've written to \tocfile. % \def\startcontents#1#2{% % If @setchapternewpage on, and @headings double, the contents should % start on an odd page, unlike chapters. \contentsalignmacro \immediate\closeout\tocfile % #2% % Don't need to put `Contents' or `Short Contents' in the headline. % It is abundantly clear what they are. \chapmacro{#1}{Yomitfromtoc}{}% % \savepageno = \pageno \begingroup % Set up to handle contents files properly. \raggedbottom % Worry more about breakpoints than the bottom. \entryrightmargin=\contentsrightmargin % Don't use the full line length. % % Roman numerals for page numbers. \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi \def\thistitle{}% no title in double-sided headings % Record where the Roman numerals started. \ifnum\romancount=0 \global\romancount=\pagecount \fi \linkentrytexttrue } % \raggedbottom in plain.tex hardcodes \topskip so override it \catcode`\@=11 \def\raggedbottom{\advance\topskip by 0pt plus60pt \r@ggedbottomtrue} \catcode`\@=\other % redefined for the two-volume lispref. We always output on % \jobname.toc even if this is redefined. % \def\tocreadfilename{\jobname.toc} % Normal (long) toc. % \def\contents{% \startcontents{\putwordTOC}{\contentsmkdest}% \ifxetex\xetexpreauxfile\fi \openin 1 \tocreadfilename\space \ifeof 1 \else \findsecnowidths \readtocfile \fi \vfill \eject \contentsalignmacro % in case @setchapternewpage odd is in effect \ifeof 1 \else \pdfmakeoutlines \fi \closein 1 \ifxetex\xetexpostauxfile\fi \endgroup \contentsendroman } \def\contentsmkdest{% \pdfmkdest{txi.CONTENTS}% } % And just the chapters. \def\summarycontents{% \startcontents{\putwordShortTOC}{}% % \let\partentry = \shortpartentry \let\numchapentry = \shortchapentry \let\appentry = \shortchapentry \let\unnchapentry = \shortunnchapentry % We want a true roman here for the page numbers. \secfonts \let\rm=\shortcontrm \let\bf=\shortcontbf \let\sl=\shortcontsl \let\tt=\shortconttt \rm \hyphenpenalty = 10000 \advance\baselineskip by 1pt % Open it up a little. \extrasecnoskip=0.4pt \def\numsecentry##1##2##3##4{} \let\appsecentry = \numsecentry \let\unnsecentry = \numsecentry \let\numsubsecentry = \numsecentry \let\appsubsecentry = \numsecentry \let\unnsubsecentry = \numsecentry \let\numsubsubsecentry = \numsecentry \let\appsubsubsecentry = \numsecentry \let\unnsubsubsecentry = \numsecentry \ifxetex\xetexpreauxfile\fi \openin 1 \tocreadfilename\space \ifeof 1 \else \readtocfile \fi \closein 1 \ifxetex\xetexpostauxfile\fi \vfill \eject \contentsalignmacro % in case @setchapternewpage odd is in effect \endgroup \contentsendroman } \let\shortcontents = \summarycontents % Get ready to use Arabic numerals again \def\contentsendroman{% \lastnegativepageno = \pageno \global\pageno=1 \contentsendcount = \pagecount } % Typeset the label for a chapter or appendix for the short contents. % The arg is, e.g., `A' for an appendix, or `3' for a chapter. % \def\shortchaplabel#1{% % This space should be enough, since a single number is .5em, and the % widest letter (M) is 1em, at least in the Computer Modern fonts. % But use \hss just in case. % % We'd like to right-justify chapter numbers, but that looks strange % with appendix letters. And right-justifying numbers and % left-justifying letters looks strange when there is less than 10 % chapters. Have to read the whole toc once to know how many chapters % there are before deciding ... \hbox to 1em{#1\hss}% } % These macros generate individual entries in the table of contents, % and are read in from the *.toc file. % % The arguments are like: % \def\numchapentry#1#2#3#4 % #1 - the chapter or section name. % #2 - section number % #3 - level of section (e.g "chap", "sec") % #4 - page number % Parts, in the main contents. Replace the part number, which doesn't % exist, with an empty box. Let's hope all the numbers have the same width. % Also ignore the page number, which is conventionally not printed. \def\numeralbox{\setbox0=\hbox{8}\hbox to \wd0{\hfil}} \def\partentry#1#2#3#4{% % Add stretch and a bonus for breaking the page before the part heading. % This reduces the chance of the page being broken immediately after the % part heading, before a following chapter heading. \vskip 0pt plus 5\baselineskip \penalty-300 \vskip 0pt plus -5\baselineskip \dochapentry{#1}{\numeralbox}{#3}{}% } % % Parts, in the short toc. \def\shortpartentry#1#2#3#4{% \penalty-300 \vskip.5\baselineskip plus.15\baselineskip minus.1\baselineskip \shortchapentry{{\bf #1}}{\numeralbox}{}{}% } % Chapters, in the main contents. \def\numchapentry#1#2#3#4{% \retrievesecnowidth\secnowidthchap{#2}% \dochapentry{#1}{#2}{#3}{#4}% } % Chapters, in the short toc. \def\shortchapentry#1#2#3#4{% \tocentry{#1}{\shortchaplabel{#2}}{#3}{#4}% } % Appendices, in the main contents. % Need the word Appendix, and a fixed-size box. % \def\appendixbox#1{% % We use M since it's probably the widest letter. \setbox0 = \hbox{\putwordAppendix{} M}% \hbox to \wd0{\putwordAppendix{} #1\hss}} % \def\appentry#1#2#3#4{% \retrievesecnowidth\secnowidthchap{#2}% \dochapentry{\appendixbox{#2}\hskip.7em#1}{}{#3}{#4}% } % Unnumbered chapters. \def\unnchapentry#1#2#3#4{\dochapentry{#1}{}{#3}{#4}} \def\shortunnchapentry#1#2#3#4{\tocentry{#1}{}{#3}{#4}} % Sections. \def\numsecentry#1#2#3#4{% \retrievesecnowidth\secnowidthsec{#2}% \dosecentry{#1}{#2}{#3}{#4}% } \let\appsecentry=\numsecentry \def\unnsecentry#1#2#3#4{% \retrievesecnowidth\secnowidthsec{#2}% \dosecentry{#1}{}{#3}{#4}% } % Subsections. \def\numsubsecentry#1#2#3#4{% \retrievesecnowidth\secnowidthssec{#2}% \dosubsecentry{#1}{#2}{#3}{#4}% } \let\appsubsecentry=\numsubsecentry \def\unnsubsecentry#1#2#3#4{% \retrievesecnowidth\secnowidthssec{#2}% \dosubsecentry{#1}{}{#3}{#4}% } % And subsubsections. \def\numsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{#2}{#3}{#4}} \let\appsubsubsecentry=\numsubsubsecentry \def\unnsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{}{#3}{#4}} % This parameter controls the indentation of the various levels. % Same as \defaultparindent. \newdimen\tocindent \tocindent = 15pt % Now for the actual typesetting. In all these, #1 is the text, #2 is % a section number if present, #3 is the node, and #4 is the page number. % % If the toc has to be broken over pages, we want it to be at chapters % if at all possible; hence the \penalty. \def\dochapentry#1#2#3#4{% \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip \begingroup % Move the page numbers slightly to the right \advance\entryrightmargin by -0.05em \chapentryfonts \extrasecnoskip=0.4em % separate chapter number more \tocentry{#1}{#2}{#3}{#4}% \endgroup \nobreak\vskip .25\baselineskip plus.1\baselineskip } \def\dosecentry#1#2#3#4{\begingroup \secnowidth=\secnowidthchap \secentryfonts \leftskip=\tocindent \tocentry{#1}{#2}{#3}{#4}% \endgroup} \def\dosubsecentry#1#2#3#4{\begingroup \secnowidth=\secnowidthsec \subsecentryfonts \leftskip=2\tocindent \tocentry{#1}{#2}{#3}{#4}% \endgroup} \def\dosubsubsecentry#1#2#3#4{\begingroup \secnowidth=\secnowidthssec \subsubsecentryfonts \leftskip=3\tocindent \tocentry{#1}{#2}{#3}{#4}% \endgroup} % Used for the maximum width of a section number so we can align % section titles. \newdimen\secnowidth \secnowidth=0pt \newdimen\extrasecnoskip \extrasecnoskip=0pt \let\tocnodetarget\empty \let\entrypagetarget\empty % \tocentry{TITLE}{SEC NO}{NODE}{PAGE} % \def\tocentry#1#2#3#4{% \def\tocnodetarget{#3}% \def\secno{#2}% \ifx\empty\secno \entryinternal{#1}{#4}% \else \ifdim 0pt=\secnowidth \setbox0=\hbox{#2\hskip\labelspace\hskip\extrasecnoskip}% \else \advance\secnowidth by \labelspace \advance\secnowidth by \extrasecnoskip \setbox0=\hbox to \secnowidth{% #2\hskip\labelspace\hskip\extrasecnoskip\hfill}% \fi \entrycontskip=\wd0 \entryinternal{\box0 #1}{#4}% \fi } \newdimen\labelspace \labelspace=0.6em \def\chapentryfonts{\secfonts \rm} \def\secentryfonts{\textfonts} \def\subsecentryfonts{\textfonts} \def\subsubsecentryfonts{\textfonts} \message{environments,} % @foo ... @end foo. % @tex ... @end tex escapes into raw TeX temporarily. % One exception: @ is still an escape character, so that @end tex works. % But \@ or @@ will get a plain @ character. \envdef\tex{% \setregularquotes \catcode `\\=0 \catcode `\{=1 \catcode `\}=2 \catcode `\$=3 \catcode `\&=4 \catcode `\#=6 \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie \catcode `\%=14 \catcode `\+=\other \catcode `\"=\other \catcode `\|=\other \catcode `\<=\other \catcode `\>=\other \catcode `\`=\other \catcode `\'=\other % % ' is active in math mode (mathcode"8000). So reset it, and all our % other math active characters (just in case), to plain's definitions. \mathactive % % Inverse of the list at the beginning of the file. \let\b=\ptexb \let\bullet=\ptexbullet \let\c=\ptexc \let\,=\ptexcomma \let\.=\ptexdot \let\dots=\ptexdots \let\equiv=\ptexequiv \let\!=\ptexexclam \let\i=\ptexi \let\indent=\ptexindent \let\noindent=\ptexnoindent \let\{=\ptexlbrace \let\+=\tabalign \let\}=\ptexrbrace \let\/=\ptexslash \let\sp=\ptexsp \let\*=\ptexstar %\let\sup=\ptexsup % do not redefine, we want @sup to work in math mode \let\t=\ptext \expandafter \let\csname top\endcsname=\ptextop % we've made it outer \let\frenchspacing=\plainfrenchspacing % \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}% \def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}% \def\@{@}% } % There is no need to define \Etex. % Define @lisp ... @end lisp. % @lisp environment forms a group so it can rebind things, % including the definition of @end lisp (which normally is erroneous). % Amount to narrow the margins by for @lisp. \newskip\lispnarrowing \lispnarrowing=0.4in % This is the definition that ^^M gets inside @lisp, @example, and other % such environments. \null is better than a space, since it doesn't % have any width. \def\lisppar{\null\endgraf} % This space is always present above and below environments. \newskip\envskipamount \envskipamount = 0pt % Make spacing and below environment symmetrical. We use \parskip here % to help in doing that, since in @example-like environments \parskip % is reset to zero; thus the \afterenvbreak inserts no space -- but the % start of the next paragraph will insert \parskip. % \def\aboveenvbreak{{% % =10000 instead of <10000 because of a special case in \itemzzz and % \sectionheading, q.v. \ifnum \lastpenalty=10000 \else \advance\envskipamount by \parskip \endgraf \ifdim\lastskip<\envskipamount \removelastskip \ifnum\lastpenalty<10000 % Penalize breaking before the environment, because preceding text % often leads into it. \penalty100 \fi \vskip\envskipamount \fi \fi }} \def\afterenvbreak{{% % =10000 instead of <10000 because of a special case in \itemzzz and % \sectionheading, q.v. \ifnum \lastpenalty=10000 \else \advance\envskipamount by \parskip \endgraf \ifdim\lastskip<\envskipamount \removelastskip % it's not a good place to break if the last penalty was \nobreak % or better ... \ifnum\lastpenalty<10000 \penalty-50 \fi \vskip\envskipamount \fi \fi }} % \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will % also clear it, so that its embedded environments do the narrowing again. \let\nonarrowing=\relax % @cartouche ... @end cartouche: draw rectangle w/rounded corners around % environment contents. % \def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth \def\ctr{{\hskip 6pt\circle\char'010}} \def\cbl{{\circle\char'012\hskip -6pt}} \def\cbr{{\hskip 6pt\circle\char'011}} \def\carttop{\hbox to \cartouter{\hskip\lskip \ctl\leaders\hrule height\circthick\hfil\ctr \hskip\rskip}} \def\cartbot{\hbox to \cartouter{\hskip\lskip \cbl\leaders\hrule height\circthick\hfil\cbr \hskip\rskip}} % \newskip\lskip\newskip\rskip % only require the font if @cartouche is actually used \def\cartouchefontdefs{% \font\circle=lcircle10\relax \circthick=\fontdimen8\circle } \newdimen\circthick \newdimen\cartouter\newdimen\cartinner \newskip\normbskip\newskip\normpskip\newskip\normlskip \envparseargdef\cartouche{% \cartouchefontdefs \ifhmode\par\fi % can't be in the midst of a paragraph. \startsavinginserts \lskip=\leftskip \rskip=\rightskip \leftskip=0pt\rightskip=0pt % we want these *outside*. % % Set paragraph width for text inside cartouche. There are % left and right margins of 3pt each plus two vrules 0.4pt each. \cartinner=\hsize \advance\cartinner by-\lskip \advance\cartinner by-\rskip \advance\cartinner by -6.8pt % % For drawing top and bottom of cartouche. Each corner char % adds 6pt and we take off the width of a rule to line up with the % right boundary perfectly. \cartouter=\hsize \advance\cartouter by 11.6pt % \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip % % If this cartouche directly follows a sectioning command, we need the % \parskip glue (backspaced over by default) or the cartouche can % collide with the section heading. \ifnum\lastpenalty>10000 \vskip\parskip \penalty\lastpenalty \fi % \setbox\groupbox=\vtop\bgroup \baselineskip=0pt\parskip=0pt\lineskip=0pt \carttop \hbox\bgroup \hskip\lskip \vrule\kern3pt \vbox\bgroup \hsize=\cartinner \baselineskip=\normbskip \lineskip=\normlskip \parskip=\normpskip \def\arg{#1}% \ifx\arg\empty\else \centerV{\hfil \bf #1 \hfil}% \fi \kern3pt \vskip -\parskip } \def\Ecartouche{% \ifhmode\par\fi \kern3pt \egroup \kern3pt\vrule \hskip\rskip \egroup \cartbot \egroup \addgroupbox \checkinserts } % This macro is called at the beginning of all the @example variants, % inside a group. \newdimen\nonfillparindent \def\nonfillstart{% \aboveenvbreak \ifdim\hfuzz < 12pt \hfuzz = 12pt \fi % Don't be fussy \sepspaces % Make spaces be word-separators rather than space tokens. \let\par = \lisppar % don't ignore blank lines \obeylines % each line of input is a line of output \parskip = 0pt % Turn off paragraph indentation but redefine \indent to emulate % the normal \indent. \nonfillparindent=\parindent \parindent = 0pt \let\indent\nonfillindent % \emergencystretch = 0pt % don't try to avoid overfull boxes \ifx\nonarrowing\relax \advance \leftskip by \lispnarrowing \exdentamount=\lispnarrowing \else \let\nonarrowing = \relax \fi \let\exdent=\nofillexdent } \begingroup \obeyspaces % We want to swallow spaces (but not other tokens) after the fake % @indent in our nonfill-environments, where spaces are normally % active and set to @tie, resulting in them not being ignored after % @indent. \gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}% \gdef\nonfillindentcheck{% \ifx\temp % \expandafter\nonfillindentgobble% \else% \leavevmode\nonfillindentbox% \fi% }% \endgroup \def\nonfillindentgobble#1{\nonfillindent} \def\nonfillindentbox{\hbox to \nonfillparindent{\hss}} % If you want all examples etc. small: @set dispenvsize small. % If you want even small examples the full size: @set dispenvsize nosmall. % This affects the following displayed environments: % @example, @display, @format, @lisp, @verbatim % \def\smallword{small} \def\nosmallword{nosmall} \let\SETdispenvsize\relax \def\setnormaldispenv{% \ifx\SETdispenvsize\smallword % end paragraph for sake of leading, in case document has no blank % line. This is redundant with what happens in \aboveenvbreak, but % we need to do it before changing the fonts, and it's inconvenient % to change the fonts afterward. \ifnum \lastpenalty=10000 \else \endgraf \fi \smallexamplefonts \rm \fi } \def\setsmalldispenv{% \ifx\SETdispenvsize\nosmallword \else \ifnum \lastpenalty=10000 \else \endgraf \fi \smallexamplefonts \rm \fi } % We often define two environments, @foo and @smallfoo. % Let's do it in one command. #1 is the env name, #2 the definition. \def\makedispenvdef#1#2{% \expandafter\envdef\csname#1\endcsname {\setnormaldispenv #2}% \expandafter\envdef\csname small#1\endcsname {\setsmalldispenv #2}% \expandafter\let\csname E#1\endcsname \afterenvbreak \expandafter\let\csname Esmall#1\endcsname \afterenvbreak } % Define two environment synonyms (#1 and #2) for an environment. \def\maketwodispenvdef#1#2#3{% \makedispenvdef{#1}{#3}% \makedispenvdef{#2}{#3}% } % % @lisp: indented, narrowed, typewriter font; % @example: same as @lisp. % % @smallexample and @smalllisp: use smaller fonts. % Originally contributed by Pavel@xerox. % \maketwodispenvdef{lisp}{example}{% \nonfillstart \tt\setcodequotes \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special. \parsearg\gobble } % @display/@smalldisplay: same as @lisp except keep current font. % \makedispenvdef{display}{% \nonfillstart \gobble } % @format/@smallformat: same as @display except don't narrow margins. % \makedispenvdef{format}{% \let\nonarrowing = t% \nonfillstart \gobble } % @flushleft: same as @format, but doesn't obey \SETdispenvsize. \envdef\flushleft{% \let\nonarrowing = t% \nonfillstart \gobble } \let\Eflushleft = \afterenvbreak % @flushright. % \envdef\flushright{% \let\nonarrowing = t% \nonfillstart \advance\leftskip by 0pt plus 1fill\relax \gobble } \let\Eflushright = \afterenvbreak % @raggedright does more-or-less normal line breaking but no right % justification. From plain.tex. \envdef\raggedright{% \rightskip0pt plus2.4em \spaceskip.3333em \xspaceskip.5em\relax } \let\Eraggedright\par % @quotation does normal linebreaking (hence we can't use \nonfillstart) % and narrows the margins. We keep \parskip nonzero in general, since % we're doing normal filling. So, when using \aboveenvbreak and % \afterenvbreak, temporarily make \parskip 0. % \makedispenvdef{quotation}{\quotationstart} % \def\quotationstart{% \indentedblockstart % same as \indentedblock, but increase right margin too. \ifx\nonarrowing\relax \advance\rightskip by \lispnarrowing \fi \parsearg\quotationlabel } % We have retained a nonzero parskip for the environment, since we're % doing normal filling. % \def\Equotation{% \par \ifx\quotationauthor\thisisundefined\else % indent a bit. \leftline{\kern 2\leftskip \sl ---\quotationauthor}% \fi {\parskip=0pt \afterenvbreak}% } \def\Esmallquotation{\Equotation} % If we're given an argument, typeset it in bold with a colon after. \def\quotationlabel#1{% \def\temp{#1}% \ifx\temp\empty \else {\bf #1: }% \fi } % @indentedblock is like @quotation, but indents only on the left and % has no optional argument. % \makedispenvdef{indentedblock}{\indentedblockstart} % \def\indentedblockstart{% {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip \parindent=0pt % % @cartouche defines \nonarrowing to inhibit narrowing at next level down. \ifx\nonarrowing\relax \advance\leftskip by \lispnarrowing \exdentamount = \lispnarrowing \else \let\nonarrowing = \relax \fi } % Keep a nonzero parskip for the environment, since we're doing normal filling. % \def\Eindentedblock{% \par {\parskip=0pt \afterenvbreak}% } \def\Esmallindentedblock{\Eindentedblock} % LaTeX-like @verbatim...@end verbatim and @verb{...} % If we want to allow any as delimiter, % we need the curly braces so that makeinfo sees the @verb command, eg: % `@verbx...x' would look like the '@verbx' command. --janneke@gnu.org % % [Knuth]: Donald Ervin Knuth, 1996. The TeXbook. % % [Knuth] p.344; only we need to do the other characters Texinfo sets % active too. Otherwise, they get lost as the first character on a % verbatim line. \def\dospecials{% \do\ \do\\\do\{\do\}\do\$\do\&% \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~% \do\<\do\>\do\|\do\@\do+\do\"% % Don't do the quotes -- if we do, @set txicodequoteundirected and % @set txicodequotebacktick will not have effect on @verb and % @verbatim, and ?` and !` ligatures won't get disabled. %\do\`\do\'% } % % [Knuth] p. 380 \def\uncatcodespecials{% \def\do##1{\catcode`##1=\other}\dospecials} % % Setup for the @verb command. % % Eight spaces for a tab \begingroup \catcode`\^^I=\active \gdef\tabeightspaces{\catcode`\^^I=\active\def^^I{\ \ \ \ \ \ \ \ }} \endgroup % \def\setupverb{% \tt \def\par{\leavevmode\endgraf}% \parindent = 0pt \setcodequotes \tabeightspaces % Respect line breaks, % print special symbols as themselves, and % make each space count % must do in this order: \obeylines \uncatcodespecials \sepspaces } % Setup for the @verbatim environment % % Real tab expansion. \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount % % We typeset each line of the verbatim in an \hbox, so we can handle % tabs. \newbox\verbbox \def\starttabbox{\setbox\verbbox=\hbox\bgroup} % \begingroup \catcode`\^^I=\active \gdef\tabexpand{% \catcode`\^^I=\active \def^^I{\leavevmode\egroup \dimen\verbbox=\wd\verbbox % the width so far, or since the previous tab \divide\dimen\verbbox by\tabw \multiply\dimen\verbbox by\tabw % compute previous multiple of \tabw \advance\dimen\verbbox by\tabw % advance to next multiple of \tabw \wd\verbbox=\dimen\verbbox \leavevmode\box\verbbox \starttabbox }% } \endgroup % start the verbatim environment. \def\setupverbatim{% \let\nonarrowing = t% \nonfillstart \tt % easiest (and conventionally used) font for verbatim \def\par{\egroup\leavevmode\box\verbbox\endgraf\starttabbox}% \tabexpand \setcodequotes % Respect line breaks, % print special symbols as themselves, and % make each space count. % Must do in this order: \obeylines \uncatcodespecials \sepspaces } % Do the @verb magic: verbatim text is quoted by unique % delimiter characters. Before first delimiter expect a % right brace, after last delimiter expect closing brace: % % \def\doverb'{'#1'}'{#1} % % [Knuth] p. 382; only eat outer {} \begingroup \catcode`[=1\catcode`]=2\catcode`\{=\other\catcode`\}=\other \gdef\doverb{#1[\def\next##1#1}[##1\endgroup]\next] \endgroup % \def\verb{\begingroup\setupverb\doverb} % % % Do the @verbatim magic: define the macro \doverbatim so that % the (first) argument ends when '@end verbatim' is reached, ie: % % \def\doverbatim#1@end verbatim{#1} % % For Texinfo it's a lot easier than for LaTeX, % because texinfo's \verbatim doesn't stop at '\end{verbatim}': % we need not redefine '\', '{' and '}'. % % Inspired by LaTeX's verbatim command set [latex.ltx] % \begingroup \catcode`\ =\active \obeylines % % ignore everything up to the first ^^M, that's the newline at the end % of the @verbatim input line itself. Otherwise we get an extra blank % line in the output. \xdef\doverbatim#1^^M#2@end verbatim{% \starttabbox#2\egroup\noexpand\end\gobble verbatim}% % We really want {...\end verbatim} in the body of the macro, but % without the active space; thus we have to use \xdef and \gobble. % The \egroup ends the \verbbox started at the end of the last line in % the block. \endgroup % \envdef\verbatim{% \setnormaldispenv\setupverbatim\doverbatim } \let\Everbatim = \afterenvbreak % @verbatiminclude FILE - insert text of file in verbatim environment. % \def\verbatiminclude{\parseargusing\filenamecatcodes\doverbatiminclude} % \def\doverbatiminclude#1{% {% \makevalueexpandable \setupverbatim {% \indexnofonts % Allow `@@' and other weird things in file names. \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}% \edef\tmp{\noexpand\input #1 } \expandafter }\expandafter\starttabbox\tmp\egroup \afterenvbreak }% } % @copying ... @end copying. % Save the text away for @insertcopying later. % % We save the uninterpreted tokens, rather than creating a box. % Saving the text in a box would be much easier, but then all the % typesetting commands (@smallbook, font changes, etc.) have to be done % beforehand -- and a) we want @copying to be done first in the source % file; b) letting users define the frontmatter in as flexible order as % possible is desirable. % \def\copying{\checkenv{}\begingroup\macrobodyctxt\docopying} {\catcode`\ =\other \gdef\docopying#1@end copying{\endgroup\def\copyingtext{#1}} } \def\insertcopying{% \begingroup \parindent = 0pt % paragraph indentation looks wrong on title page \scanexp\copyingtext \endgroup } \message{defuns,} % @defun etc. \newskip\defbodyindent \defbodyindent=.4in \newskip\defargsindent \defargsindent=50pt \newskip\deflastargmargin \deflastargmargin=18pt \newcount\defunpenalty % Start the processing of @deffn: \def\startdefun{% \ifnum\lastpenalty<10000 \medbreak \defunpenalty=10003 % Will keep this @deffn together with the % following @def command, see below. \else % If there are two @def commands in a row, we'll have a \nobreak, % which is there to keep the function description together with its % header. But if there's nothing but headers, we need to allow a % break somewhere. Check specifically for penalty 10002, inserted % by \printdefunline, instead of 10000, since the sectioning % commands also insert a nobreak penalty, and we don't want to allow % a break between a section heading and a defun. % % As a further refinement, we avoid "club" headers by signalling % with penalty of 10003 after the very first @deffn in the % sequence (see above), and penalty of 10002 after any following % @def command. \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi % % Similarly, after a section heading, do not allow a break. % But do insert the glue. \medskip % preceded by discardable penalty, so not a breakpoint \fi % \parindent=0in \advance\leftskip by \defbodyindent \exdentamount=\defbodyindent } % Called as \printdefunline \deffooheader{text} % \def\printdefunline#1#2{% \begingroup \plainfrenchspacing % call \deffooheader: #1#2 \endheader % common ending: \interlinepenalty = 10000 \advance\rightskip by 0pt plus 1fil\relax \endgraf \nobreak\vskip -\parskip \penalty\defunpenalty % signal to \startdefun and \deffoox % Some of the @defun-type tags do not enable magic parentheses, % rendering the following check redundant. But we don't optimize. \checkparencounts \endgroup } \def\Edefun{\endgraf\medbreak} % @defblock, @defline do not automatically create index entries \envdef\defblock{% \startdefun } \let\Edefblock\Edefun \def\defline{% \doingtypefnfalse \parseargusing\activeparens{\printdefunline\deflineheader}% } \def\deflineheader#1 #2 #3\endheader{% \printdefname{#1}{}{#2}\magicamp\defunargs{#3\unskip}% } \def\deftypeline{% \doingtypefntrue \parseargusing\activeparens{\printdefunline\deftypelineheader}% } \def\deftypelineheader#1 #2 #3 #4\endheader{% \printdefname{#1}{#2}{#3}\magicamp\defunargs{#4\unskip}% } % \makedefun{deffoo} (\deffooheader parameters) { (\deffooheader expansion) } % % Define \deffoo, \deffoox \Edeffoo and \deffooheader. \def\makedefun#1{% \expandafter\let\csname E#1\endcsname = \Edefun \edef\temp{\noexpand\domakedefun \makecsname{#1}\makecsname{#1x}\makecsname{#1header}}% \temp } \def\domakedefun#1#2#3{% \envdef#1{% \startdefun \doingtypefnfalse % distinguish typed functions from all else \parseargusing\activeparens{\printdefunline#3}% }% \def#2{% % First, check whether we are in the right environment: \checkenv#1% % % As in \startdefun, allow line break if we have multiple x headers % in a row. It's not a great place, though. \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi % \doingtypefnfalse % distinguish typed functions from all else \parseargusing\activeparens{\printdefunline#3}% }% \def#3% definition of \deffooheader follows } \newif\ifdoingtypefn % doing typed function? \newif\ifrettypeownline % typeset return type on its own line? % @deftypefnnewline on|off says whether the return type of typed functions % are printed on their own line. This affects @deftypefn, @deftypefun, % @deftypeop, and @deftypemethod. % \parseargdef\deftypefnnewline{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETtxideftypefnnl\endcsname = \empty \else\ifx\temp\offword \expandafter\let\csname SETtxideftypefnnl\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @txideftypefnnl value `\temp', must be on|off}% \fi\fi } % Untyped functions: % @deffn category name args \makedefun{deffn}#1 #2 #3\endheader{% \doind{fn}{\code{#2}}% \printdefname{#1}{}{#2}\magicamp\defunargs{#3\unskip}% } % @defop category class name args \makedefun{defop}#1 {\defopheaderx{#1\ \putwordon}} \def\defopheaderx#1#2 #3 #4\endheader{% \doind{fn}{\code{#3}\space\putwordon\ \code{#2}}% \printdefname{#1\ \code{#2}}{}{#3}\magicamp\defunargs{#4\unskip}% } % Typed functions: % @deftypefn category type name args \makedefun{deftypefn}#1 #2 #3 #4\endheader{% \doind{fn}{\code{#3}}% \doingtypefntrue \printdefname{#1}{#2}{#3}\defunargs{#4\unskip}% } % @deftypeop category class type name args \makedefun{deftypeop}#1 {\deftypeopheaderx{#1\ \putwordon}} \def\deftypeopheaderx#1#2 #3 #4 #5\endheader{% \doind{fn}{\code{#4}\space\putwordon\ \code{#1\ \code{#2}}}% \doingtypefntrue \printdefname{#1\ \code{#2}}{#3}{#4}\defunargs{#5\unskip}% } % Typed variables: % @deftypevr category type var args \makedefun{deftypevr}#1 #2 #3 #4\endheader{% \doind{vr}{\code{#3}}% \printdefname{#1}{#2}{#3}\defunargs{#4\unskip}% } % @deftypecv category class type var args \makedefun{deftypecv}#1 {\deftypecvheaderx{#1\ \putwordof}} \def\deftypecvheaderx#1#2 #3 #4 #5\endheader{% \doind{vr}{\code{#4}\space\putwordof\ \code{#2}}% \printdefname{#1\ \code{#2}}{#3}{#4}\defunargs{#5\unskip}% } % Untyped variables: % @defvr category var args \makedefun{defvr}#1 {\deftypevrheader{#1} {} } % @defcv category class var args \makedefun{defcv}#1 {\defcvheaderx{#1\ \putwordof}} \def\defcvheaderx#1#2 {\deftypecvheaderx{#1}#2 {} } % Types: % @deftp category name args \makedefun{deftp}#1 #2 #3\endheader{% \doind{tp}{\code{#2}}% \printdefname{#1}{}{#2}\defunargs{#3\unskip}% } % Remaining @defun-like shortcuts: \makedefun{defun}{\deffnheader{\putwordDeffunc} } \makedefun{defmac}{\deffnheader{\putwordDefmac} } \makedefun{defspec}{\deffnheader{\putwordDefspec} } \makedefun{deftypefun}{\deftypefnheader{\putwordDeffunc} } \makedefun{defvar}{\defvrheader{\putwordDefvar} } \makedefun{defopt}{\defvrheader{\putwordDefopt} } \makedefun{deftypevar}{\deftypevrheader{\putwordDefvar} } \makedefun{defmethod}{\defopheaderx\putwordMethodon} \makedefun{deftypemethod}{\deftypeopheaderx\putwordMethodon} \makedefun{defivar}{\defcvheaderx\putwordInstanceVariableof} \makedefun{deftypeivar}{\deftypecvheaderx\putwordInstanceVariableof} % \printdefname, which formats the name of the @def (not the args). % #1 is the category, such as "Function". % #2 is the return type, if any. % #3 is the function name. % % We are followed by (but not passed) the arguments, if any. % \def\printdefname#1#2#3{% \par % Get the values of \leftskip and \rightskip as they were outside the @def... \advance\leftskip by -\defbodyindent % % Determine if we are typesetting the return type of a typed function % on a line by itself. \rettypeownlinefalse \ifdoingtypefn % doing a typed function specifically? % then check user option for putting return type on its own line: \ifflagclear{txideftypefnnl}{}{\rettypeownlinetrue}% \fi % % How we'll format the category name. Putting it in brackets helps % distinguish it from the body text that may end up on the next line % just below it. \def\temp{#1}% \setbox0=\hbox{\kern\deflastargmargin \ifx\temp\empty\else [\rm\temp]\fi} % % Figure out line sizes for the paragraph shape. We'll always have at % least two. \tempnum = 2 % % The first line needs space for \box0; but if \rightskip is nonzero, % we need only space for the part of \box0 which exceeds it: \dimen0=\hsize \advance\dimen0 by -\wd0 \advance\dimen0 by \rightskip % % If doing a return type on its own line, we'll have another line. \ifrettypeownline \advance\tempnum by 1 \def\maybeshapeline{0in \hsize}% \else \def\maybeshapeline{}% \fi % % The continuations: \dimen2=\hsize \advance\dimen2 by -\defargsindent % % The final paragraph shape: \parshape \tempnum 0in \dimen0 \maybeshapeline \defargsindent \dimen2 % % Put the category name at the right margin. \noindent \hbox to 0pt{% \hfil\box0 \kern-\hsize % \hsize has to be shortened this way: \kern\leftskip % Intentionally do not respect \rightskip, since we need the space. }% % % Allow all lines to be underfull without complaint: \tolerance=10000 \hbadness=10000 \exdentamount=\defbodyindent {% \def\^^M{}% for line continuation % % defun fonts. We use typewriter by default (used to be bold) because: % . we're printing identifiers, they should be in tt in principle. % . in languages with many accents, such as Czech or French, it's % common to leave accents off identifiers. The result looks ok in % tt, but exceedingly strange in rm. % . we don't want -- and --- to be treated as ligatures. % . this still does not fix the ?` and !` ligatures, but so far no % one has made identifiers using them :). \df \tt \def\temp{#2}% text of the return type \ifx\temp\empty\else \tclose{\temp}% typeset the return type \ifrettypeownline % put return type on its own line; prohibit line break following: \hfil\vadjust{\nobreak}\break \else \space % type on same line, so just followed by a space \fi \fi % no return type #3% output function name }% \ifflagclear{txidefnamenospace}{% {\rm\enskip}% hskip 0.5 em of \rmfont }{}% % \parenbrackglyphs % arguments will be output next, if any. } % Print arguments. Use slanted for @def*, typewriter for @deftype*. \def\defunargs#1{% \bgroup \def\^^M{}% for line continuation \df \ifdoingtypefn \tt \else \sl \fi \ifflagclear{txicodevaristt}{}% % use \ttsl for @var in both @def* and @deftype*. % the kern prevents an italic correction at end, which appears % too much for ttsl. {\def\var##1{{\setregularquotes \ttsl ##1\kern 0pt }}}% #1% \egroup } % We want ()&[] to print specially on the defun line. % \def\activeparens{% \catcode`\(=\active \catcode`\)=\active \catcode`\[=\active \catcode`\]=\active \catcode`\&=\active } % Make control sequences which act like normal parenthesis chars. \let\lparen = ( \let\rparen = ) % Be sure that we always have a definition for `(', etc. For example, % if the fn name has parens in it, \parenbrackglyphs will not be in % effect yet, so TeX would otherwise complain about undefined control % sequence. { \activeparens \gdef\defcharsdefault{% \let(=\lparen \let)=\rparen \let[=\lbrack \let]=\rbrack \let& = \&% } \globaldefs=1 \defcharsdefault \gdef\parenbrackglyphs{\let(=\opnr\let)=\cpnr\let[=\lbrb\let]=\rbrb} \gdef\magicamp{\let&=\amprm} } \let\ampchar\& \def\amprm#1 {{\rm\ }} \newcount\parencount % opening and closing parentheses in roman font \def\opnr{% \ptexslash % italic correction \global\advance\parencount by 1 {\sf(}% } \def\cpnr{% \ptexslash % italic correction {\sf)}% \global\advance\parencount by -1 } \newcount\brackcount % left and right square brackets in bold font \def\lbrb{% \global\advance\brackcount by 1 {\bf[}% } \def\rbrb{% {\bf]}% \global\advance\brackcount by -1 } \def\checkparencounts{% \ifnum\parencount=0 \else \badparencount \fi \ifnum\brackcount=0 \else \badbrackcount \fi } % these should not use \errmessage; the glibc manual, at least, actually % has such constructs (when documenting function pointers). \def\badparencount{% \message{Warning: unbalanced parentheses in @def...}% \global\parencount=0 } \def\badbrackcount{% \message{Warning: unbalanced square brackets in @def...}% \global\brackcount=0 } \message{macros,} % @macro. % To do this right we need a feature of e-TeX, \scantokens, % which we arrange to emulate with a temporary file in ordinary TeX. \ifx\eTeXversion\thisisundefined \newwrite\macscribble \def\scantokens#1{% \toks0={#1}% \immediate\openout\macscribble=\jobname.tmp \immediate\write\macscribble{\the\toks0}% \immediate\closeout\macscribble \input \jobname.tmp } \fi % Used at the time of macro expansion. % Argument is macro body with arguments substituted \def\scanmacro#1{% \newlinechar`\^^M \def\xeatspaces##1{\eatleadingcrthen\eatspaces{##1}}% % % Process the macro body under the current catcode regime. \scantokens{#1@comment}% % % The \comment is to remove the \newlinechar added by \scantokens, and % can be noticed by \parsearg. Note \c isn't used because this means cedilla % in math mode. } % Used for copying and captions \def\scanexp#1{% \expandafter\scanmacro\expandafter{#1}% } \newcount\paramno % Count of parameters \newtoks\macname % Macro name \newif\ifrecursive % Is it recursive? % List of all defined macros in the form % \commondummyword\macro1\commondummyword\macro2... % Currently is also contains all @aliases; the list can be split % if there is a need. \def\macrolist{} % Add the macro to \macrolist \def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname} \def\addtomacrolistxxx#1{% \toks0 = \expandafter{\macrolist\commondummyword#1}% \xdef\macrolist{\the\toks0}% } % Utility routines. % This does \let #1 = #2, with \csnames; that is, % \let \csname#1\endcsname = \csname#2\endcsname % (except of course we have to play expansion games). % \def\cslet#1#2{% \expandafter\let \csname#1\expandafter\endcsname \csname#2\endcsname } % Trim leading and trailing spaces off a string. % Concepts from aro-bend problem 15 (see CTAN). {\catcode`\@=11 \gdef\eatspaces #1{\expandafter\trim@\expandafter{#1 }} \gdef\trim@ #1{\trim@@ @#1 @ #1 @ @@} \gdef\trim@@ #1@ #2@ #3@@{\trim@@@\empty #2 @} \def\unbrace#1{#1} \unbrace{\gdef\trim@@@ #1 } #2@{#1} } % Trim a single leading ^^M off a string, then call #1 {\catcode`\^^M=\active \catcode`\Q=3% \gdef\eatleadingcrthen #1#2{\eatlcra #1Q#2Q^^MQ}% \gdef\eatlcra #1#2Q^^M{\eatlcrb #1#2Q}% \gdef\eatlcrb #1Q#2Q#3Q{#1{#2}}% } % Trim a single trailing ^^M off a string. {\catcode`\^^M=\other \catcode`\Q=3% \gdef\eatcr #1{\eatcra #1Q^^MQ}% \gdef\eatcra#1^^MQ{\eatcrb#1Q}% \gdef\eatcrb#1Q#2Q{#1}% } % Macro bodies are absorbed as an argument in a context where % all characters are catcode 10, 11 or 12, except \ which is active % (as in normal texinfo). It is necessary to change the definition of \ % to recognize macro arguments; this is the job of \mbodybackslash. % % Non-ASCII encodings make 8-bit characters active, so un-activate % them to avoid their expansion. Must do this non-globally, to % confine the change to the current group. % % It's necessary to have hard CRs when the macro is executed. This is % done by making ^^M (\endlinechar) catcode 12 when reading the macro % body, and then making it the \newlinechar in \scanmacro. % \def\scanctxt{% used as subroutine \catcode`\"=\other \catcode`\+=\other \catcode`\<=\other \catcode`\>=\other \catcode`\^=\other \catcode`\_=\other \catcode`\|=\other \catcode`\~=\other \catcode`\@=\other \catcode`\^^M=\other \catcode`\\=\active \passthroughcharstrue } \def\macrobodyctxt{% used for @macro definitions and @copying \scanctxt \catcode`\ =\other \catcode`\{=\other \catcode`\}=\other } % Used when scanning braced macro arguments. Note, however, that catcode % changes here are ineffectual if the macro invocation was nested inside % an argument to another Texinfo command. \def\macroargctxt{% \scanctxt \catcode`\ =\active } \def\macrolineargctxt{% used for whole-line arguments without braces \scanctxt \catcode`\{=\other \catcode`\}=\other } % \mbodybackslash is the definition of \ in @macro bodies. % It maps \foo\ => \csname macarg.foo\endcsname => #N % where N is the macro parameter number. % We define \csname macarg.\endcsname to be \realbackslash, so % \\ in macro replacement text gets you a backslash. % {\catcode`@=0 @catcode`@\=@active @gdef@usembodybackslash{@let\=@mbodybackslash} @gdef@mbodybackslash#1\{@csname macarg.#1@endcsname} } \expandafter\def\csname macarg.\endcsname{\realbackslash} \def\margbackslash#1{\char`\#1 } \def\macro{\recursivefalse\parsearg\macroxxx} \def\rmacro{\recursivetrue\parsearg\macroxxx} \def\macroxxx#1{% \getargs{#1}% now \macname is the macname and \argl the arglist \ifx\argl\empty % no arguments \paramno=0\relax \else \expandafter\parsemargdef \argl;% \if\paramno>256\relax \ifx\eTeXversion\thisisundefined \errhelp = \EMsimple \errmessage{You need eTeX to compile a file with macros with more than 256 arguments} \fi \fi \fi \if1\csname ismacro.\the\macname\endcsname \message{Warning: redefining \the\macname}% \else \expandafter\ifx\csname \the\macname\endcsname \relax \else \errmessage{Macro name \the\macname\space already defined}\fi \global\cslet{macsave.\the\macname}{\the\macname}% \global\expandafter\let\csname ismacro.\the\macname\endcsname=1% \addtomacrolist{\the\macname}% \fi \begingroup \macrobodyctxt \usembodybackslash \ifrecursive \expandafter\parsermacbody \else \expandafter\parsemacbody \fi} \parseargdef\unmacro{% \if1\csname ismacro.#1\endcsname \global\cslet{#1}{macsave.#1}% \global\expandafter\let \csname ismacro.#1\endcsname=0% % Remove the macro name from \macrolist: \begingroup \expandafter\let\csname#1\endcsname \relax \let\commondummyword\unmacrodo \xdef\macrolist{\macrolist}% \endgroup \fi } % Called by \do from \dounmacro on each macro. The idea is to omit any % macro definitions that have been changed to \relax. % \def\unmacrodo#1{% \ifx #1\relax % remove this \else \noexpand\commondummyword \noexpand#1% \fi } % \getargs -- Parse the arguments to a @macro line. Set \macname to % the name of the macro, and \argl to the braced argument list. \def\getargs#1{\getargsxxx#1{}} \def\getargsxxx#1#{\getmacname #1 \relax\getmacargs} \def\getmacname#1 #2\relax{\macname={#1}} \def\getmacargs#1{\def\argl{#1}} % This made use of the feature that if the last token of a % is #, then the preceding argument is delimited by % an opening brace, and that opening brace is not consumed. % Make @ a letter, so that we can make private-to-Texinfo macro names. \edef\texiatcatcode{\the\catcode`\@} \catcode `@=11\relax % Parse the optional {params} list to @macro or @rmacro. % Set \paramno to the number of arguments, % and \paramlist to a parameter text for the macro (e.g. #1,#2,#3 for a % three-param macro.) Define \macarg.BLAH for each BLAH in the params % list to some hook where the argument is to be expanded. If there are % less than 10 arguments that hook is to be replaced by ##N where N % is the position in that list, that is to say the macro arguments are to be % defined `a la TeX in the macro body. % % That gets used by \mbodybackslash (above). % % If there are 10 or more arguments, a different technique is used: see % \parsemmanyargdef@@. % \def\parsemargdef#1;{% \paramno=0\def\paramlist{}% \let\hash\relax % \hash is redefined to `#' later to get it into definitions \let\xeatspaces\relax \parsemargdefxxx#1,;,% \ifnum\paramno<10\relax\else \paramno0\relax \parsemmanyargdef@@#1,;,% 10 or more arguments \fi } \def\parsemargdefxxx#1,{% \if#1;\let\next=\relax \else \let\next=\parsemargdefxxx \advance\paramno by 1 \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname {\xeatspaces{\hash\the\paramno}}% \edef\paramlist{\paramlist\hash\the\paramno,}% \fi\next} % \parsemacbody, \parsermacbody % % Read recursive and nonrecursive macro bodies. (They're different since % rec and nonrec macros end differently.) % % We are in \macrobodyctxt, and the \xdef causes backslashes in the macro % body to be transformed. % Set \macrobody to the body of the macro, and call \macrodef. % \catcode `\@\texiatcatcode {\catcode`\ =\other\long\gdef\parsemacbody#1@end macro{% \xdef\macrobody{\eatcr{#1}}\endgroup\macrodef}}% {\catcode`\ =\other\long\gdef\parsermacbody#1@end rmacro{% \xdef\macrobody{\eatcr{#1}}\endgroup\macrodef}}% \catcode `\@=11\relax %%%%%%%%%%%%%% Code for > 10 arguments only %%%%%%%%%%%%%%%%%% % If there are 10 or more arguments, a different technique is used, where the % hook remains in the body, and when macro is to be expanded the body is % processed again to replace the arguments. % % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the % argument N value and then \edef the body (nothing else will expand because of % the catcode regime under which the body was input). % % If you compile with TeX (not eTeX), and you have macros with 10 or more % arguments, no macro can have more than 256 arguments (else error). % % In case that there are 10 or more arguments we parse again the arguments % list to set new definitions for the \macarg.BLAH macros corresponding to % each BLAH argument. It was anyhow needed to parse already once this list % in order to count the arguments, and as macros with at most 9 arguments % are by far more frequent than macro with 10 or more arguments, defining % twice the \macarg.BLAH macros does not cost too much processing power. \def\parsemmanyargdef@@#1,{% \if#1;\let\next=\relax \else \let\next=\parsemmanyargdef@@ \edef\tempb{\eatspaces{#1}}% \expandafter\def\expandafter\tempa \expandafter{\csname macarg.\tempb\endcsname}% % Note that we need some extra \noexpand\noexpand, this is because we % don't want \the to be expanded in the \parsermacbody as it uses an % \xdef . \expandafter\edef\tempa {\noexpand\noexpand\noexpand\the\toks\the\paramno}% \advance\paramno by 1\relax \fi\next} \let\endargs@\relax \let\nil@\relax \def\nilm@{\nil@}% \long\def\nillm@{\nil@}% % This macro is expanded during the Texinfo macro expansion, not during its % definition. It gets all the arguments' values and assigns them to macros % macarg.ARGNAME % % #1 is the macro name % #2 is the list of argument names % #3 is the list of argument values \def\getargvals@#1#2#3{% \def\macargdeflist@{}% \def\saveparamlist@{#2}% Need to keep a copy for parameter expansion. \def\paramlist{#2,\nil@}% \def\macroname{#1}% \begingroup \macroargctxt \def\argvaluelist{#3,\nil@}% \def\@tempa{#3}% \ifx\@tempa\empty \setemptyargvalues@ \else \getargvals@@ \fi } \def\getargvals@@{% \ifx\paramlist\nilm@ % Some sanity check needed here that \argvaluelist is also empty. \ifx\argvaluelist\nillm@ \else \errhelp = \EMsimple \errmessage{Too many arguments in macro `\macroname'!}% \fi \let\next\macargexpandinbody@ \else \ifx\argvaluelist\nillm@ % No more arguments values passed to macro. Set remaining named-arg % macros to empty. \let\next\setemptyargvalues@ \else % pop current arg name into \@tempb \def\@tempa##1{\pop@{\@tempb}{\paramlist}##1\endargs@}% \expandafter\@tempa\expandafter{\paramlist}% % pop current argument value into \@tempc \def\@tempa##1{\longpop@{\@tempc}{\argvaluelist}##1\endargs@}% \expandafter\@tempa\expandafter{\argvaluelist}% % Here \@tempb is the current arg name and \@tempc is the current arg value. % First place the new argument macro definition into \@tempd \expandafter\macname\expandafter{\@tempc}% \expandafter\let\csname macarg.\@tempb\endcsname\relax \expandafter\def\expandafter\@tempe\expandafter{% \csname macarg.\@tempb\endcsname}% \edef\@tempd{\long\def\@tempe{\the\macname}}% \push@\@tempd\macargdeflist@ \let\next\getargvals@@ \fi \fi \next } \def\push@#1#2{% \expandafter\expandafter\expandafter\def \expandafter\expandafter\expandafter#2% \expandafter\expandafter\expandafter{% \expandafter#1#2}% } % Replace arguments by their values in the macro body, and place the result % in macro \@tempa. % \def\macvalstoargs@{% % To do this we use the property that token registers that are \the'ed % within an \edef expand only once. So we are going to place all argument % values into respective token registers. % % First we save the token context, and initialize argument numbering. \begingroup \paramno0\relax % Then, for each argument number #N, we place the corresponding argument % value into a new token list register \toks#N \expandafter\putargsintokens@\saveparamlist@,;,% % Then, we expand the body so that argument are replaced by their % values. The trick for values not to be expanded themselves is that they % are within tokens and that tokens expand only once in an \edef . \edef\@tempc{\csname mac.\macroname .body\endcsname}% % Now we restore the token stack pointer to free the token list registers % which we have used, but we make sure that expanded body is saved after % group. \expandafter \endgroup \expandafter\def\expandafter\@tempa\expandafter{\@tempc}% } % Define the named-macro outside of this group and then close this group. % \def\macargexpandinbody@{% \expandafter \endgroup \macargdeflist@ % First the replace in body the macro arguments by their values, the result % is in \@tempa . \macvalstoargs@ % Then we point at the \norecurse or \gobble (for recursive) macro value % with \@tempb . \expandafter\let\expandafter\@tempb\csname mac.\macroname .recurse\endcsname % Depending on whether it is recursive or not, we need some tailing % \egroup . \ifx\@tempb\gobble \let\@tempc\relax \else \let\@tempc\egroup \fi % And now we do the real job: \edef\@tempd{\noexpand\@tempb{\macroname}\noexpand\scanmacro{\@tempa}\@tempc}% \@tempd } \def\putargsintokens@#1,{% \if#1;\let\next\relax \else \let\next\putargsintokens@ % First we allocate the new token list register, and give it a temporary % alias \@tempb . \toksdef\@tempb\the\paramno % Then we place the argument value into that token list register. \expandafter\let\expandafter\@tempa\csname macarg.#1\endcsname \expandafter\@tempb\expandafter{\@tempa}% \advance\paramno by 1\relax \fi \next } % Trailing missing arguments are set to empty. % \def\setemptyargvalues@{% \ifx\paramlist\nilm@ \let\next\macargexpandinbody@ \else \expandafter\setemptyargvaluesparser@\paramlist\endargs@ \let\next\setemptyargvalues@ \fi \next } \def\setemptyargvaluesparser@#1,#2\endargs@{% \expandafter\def\expandafter\@tempa\expandafter{% \expandafter\def\csname macarg.#1\endcsname{}}% \push@\@tempa\macargdeflist@ \def\paramlist{#2}% } % #1 is the element target macro % #2 is the list macro % #3,#4\endargs@ is the list value \def\pop@#1#2#3,#4\endargs@{% \def#1{#3}% \def#2{#4}% } \long\def\longpop@#1#2#3,#4\endargs@{% \long\def#1{#3}% \long\def#2{#4}% } %%%%%%%%%%%%%% End of code for > 10 arguments %%%%%%%%%%%%%%%%%% % This defines a Texinfo @macro or @rmacro, called by \parsemacbody. % \macrobody has the body of the macro in it, with placeholders for % its parameters, looking like "\xeatspaces{\hash 1}". % \paramno is the number of parameters % \paramlist is a TeX parameter text, e.g. "#1,#2,#3," % There are four cases: macros of zero, one, up to nine, and many arguments. % \xdef is used so that macro definitions will survive the file % they're defined in: @include reads the file inside a group. % \def\macrodef{% \let\hash=##% convert placeholders to macro parameter chars \ifnum\paramno=1 \long\def\xeatspaces##1{##1}% % We don't use \xeatspaces for single-argument macros, because we % want to keep ends of lines. This definition removes \xeatspaces % when \macrobody is expanded below. \else \def\xeatspaces{\string\xeatspaces}% % This expands \xeatspaces as a sequence of character tokens, which % stops \scantokens inserting an extra space after the control sequence. \fi \ifcase\paramno % 0 \expandafter\xdef\csname\the\macname\endcsname{% \begingroup \noexpand\spaceisspace \noexpand\ignoreactivenewline \noexpand\expandafter % skip any whitespace after the macro name. \expandafter\noexpand\csname\the\macname @@@\endcsname}% \expandafter\xdef\csname\the\macname @@@\endcsname{% \endgroup \noexpand\scanmacro{\macrobody}}% \or % 1 \expandafter\xdef\csname\the\macname\endcsname{% \begingroup \noexpand\braceorline \expandafter\noexpand\csname\the\macname @@@\endcsname}% \expandafter\xdef\csname\the\macname @@@\endcsname##1{% \endgroup \noexpand\scanmacro{\macrobody}% }% \else % at most 9 \ifnum\paramno<10\relax % @MACNAME sets the context for reading the macro argument % @MACNAME@@ gets the argument, processes backslashes and appends a % comma. % @MACNAME@@@ removes braces surrounding the argument list. % @MACNAME@@@@ scans the macro body with arguments substituted. \expandafter\xdef\csname\the\macname\endcsname{% \begingroup \noexpand\expandafter % This \expandafter skip any spaces after the \noexpand\macroargctxt % macro before we change the catcode of space. \noexpand\expandafter \expandafter\noexpand\csname\the\macname @@\endcsname}% \expandafter\xdef\csname\the\macname @@\endcsname##1{% \noexpand\passargtomacro \expandafter\noexpand\csname\the\macname @@@\endcsname{##1,}}% \expandafter\xdef\csname\the\macname @@@\endcsname##1{% \expandafter\noexpand\csname\the\macname @@@@\endcsname ##1}% \expandaftergroup{\expandafter\xdef\csname\the\macname @@@@\endcsname}% \paramlist{% \endgroup\noexpand\scanmacro{\macrobody}}% \else % 10 or more: \expandafter\xdef\csname\the\macname\endcsname{% \noexpand\getargvals@{\the\macname}{\argl}% }% \global\expandafter\let\csname mac.\the\macname .body\endcsname\macrobody \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble \fi \fi} \catcode `\@\texiatcatcode\relax % end private-to-Texinfo catcodes % utility definition to avoid excessive use of \expandafter. call % as \expandaftergroup{CONTENT}\WORD to expand \WORD exactly once and remove % braces around CONTENT. \def\expandaftergroup#1#2{% \expandafter\expandaftergroupx\expandafter{#2}{#1}% } \def\expandaftergroupx#1#2{% #2#1% } \def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % {\catcode`\@=0 \catcode`\\=13 % We need to manipulate \ so use @ as escape @catcode`@_=11 % private names @catcode`@!=11 % used as argument separator % \passargtomacro#1#2 - % Call #1 with a list of tokens #2, with any doubled backslashes in #2 % compressed to one. % % This implementation works by expansion, and not execution (so we cannot use % \def or similar). This reduces the risk of this failing in contexts where % complete expansion is done with no execution (for example, in writing out to % an auxiliary file for an index entry). % % State is kept in the input stream: the argument passed to % @look_ahead, @gobble_and_check_finish and @add_segment is % % THE_MACRO ARG_RESULT ! {PENDING_BS} NEXT_TOKEN (... rest of input) % % where: % THE_MACRO - name of the macro we want to call % ARG_RESULT - argument list we build to pass to that macro % PENDING_BS - either a backslash or nothing % NEXT_TOKEN - used to look ahead in the input stream to see what's coming next @gdef@passargtomacro#1#2{% @add_segment #1!{}@relax#2\@_finish\% } @gdef@_finish{@_finishx} @global@let@_finishx@relax % #1 - THE_MACRO ARG_RESULT % #2 - PENDING_BS % #3 - NEXT_TOKEN % #4 used to look ahead % % If the next token is not a backslash, process the rest of the argument; % otherwise, remove the next token. @gdef@look_ahead#1!#2#3#4{% @ifx#4\% @expandafter@gobble_and_check_finish @else @expandafter@add_segment @fi#1!{#2}#4#4% } % #1 - THE_MACRO ARG_RESULT % #2 - PENDING_BS % #3 - NEXT_TOKEN % #4 should be a backslash, which is gobbled. % #5 looks ahead % % Double backslash found. Add a single backslash, and look ahead. @gdef@gobble_and_check_finish#1!#2#3#4#5{% @add_segment#1\!{}#5#5% } @gdef@is_fi{@fi} % #1 - THE_MACRO ARG_RESULT % #2 - PENDING_BS % #3 - NEXT_TOKEN % #4 is input stream until next backslash % % Input stream is either at the start of the argument, or just after a % backslash sequence, either a lone backslash, or a doubled backslash. % NEXT_TOKEN contains the first token in the input stream: if it is \finish, % finish; otherwise, append to ARG_RESULT the segment of the argument up until % the next backslash. PENDING_BACKSLASH contains a backslash to represent % a backslash just before the start of the input stream that has not been % added to ARG_RESULT. @gdef@add_segment#1!#2#3#4\{% @ifx#3@_finish @call_the_macro#1!% @else % append the pending backslash to the result, followed by the next segment @expandafter@is_fi@look_ahead#1#2#4!{\}@fi % this @fi is discarded by @look_ahead. % we can't get rid of it with \expandafter because we don't know how % long #4 is. } % #1 - THE_MACRO % #2 - ARG_RESULT % #3 discards the res of the conditional in @add_segment, and @is_fi ends the % conditional. @gdef@call_the_macro#1#2!#3@fi{@is_fi #1{#2}} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \braceorline MAC is used for a one-argument macro MAC. It checks % whether the next non-whitespace character is a {. It sets the context % for reading the argument (slightly different in the two cases). Then, % to read the argument, in the whole-line case, it then calls the regular % \parsearg MAC; in the lbrace case, it calls \passargtomacro MAC. % \def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx} \def\braceorlinexxx{% \ifx\nchar\bgroup \macroargctxt \expandafter\passargtomacro \else \macrolineargctxt\expandafter\parsearg \fi \macnamexxx} % @linemacro \parseargdef\linemacro{% \getargs{#1}% now \macname is the macname and \argl the arglist \ifx\argl\empty \paramno=0 \let\hash\relax \def\paramlist{\hash 1\endlinemacro}% \else \expandafter\linegetparamlist\argl;% \fi \begingroup \macrobodyctxt \usembodybackslash \parselinemacrobody } % Build up \paramlist which will be used as the parameter text for the macro. % At the end it will be like "#1 #2 #3\endlinemacro". \def\linegetparamlist#1;{% \paramno=0\def\paramlist{}% \let\hash\relax \linegetparamlistxxx#1,;,% } \def\linegetparamlistxxx#1,{% \if#1;\let\next=\linegetparamlistxxxx \else \let\next=\linegetparamlistxxx \advance\paramno by 1 \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname {\hash\the\paramno}% \edef\paramlist{\paramlist\hash\the\paramno\space}% \fi\next} \def\linegetparamlistxxxx{% \expandafter\fixparamlist\paramlist\fixparamlist } % Replace final space token \def\fixparamlist#1 \fixparamlist{% \def\paramlist{#1\endlinemacro}% } % Read the body of the macro, replacing backslash-surrounded variables % {\catcode`\ =\other\long\gdef\parselinemacrobody#1@end linemacro{% \xdef\macrobody{#1}% \endgroup \linemacrodef }} % Make the definition \def\linemacrodef{% \let\hash=##% \expandafter\xdef\csname\the\macname\endcsname{% \bgroup \noexpand\parsearg \expandafter\noexpand\csname\the\macname @@\endcsname } \expandafter\xdef\csname\the\macname @@\endcsname##1{% \egroup \expandafter\noexpand \csname\the\macname @@@\endcsname##1\noexpand\endlinemacro } \expandaftergroup{\expandafter\xdef\csname\the\macname @@@\endcsname}% \paramlist{% \newlinechar=13 % split \macrobody into lines \noexpand\scantokens{\macrobody}% } } % @alias. % We need some trickery to remove the optional spaces around the equal % sign. Make them active and then expand them all to nothing. % \def\alias{\parseargusing\obeyspaces\aliasxxx} \def\aliasxxx #1{\aliasyyy#1\relax} \def\aliasyyy #1=#2\relax{% {% \expandafter\let\obeyedspace=\empty \addtomacrolist{#1}% \xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}% }% \next } \message{cross references,} \newwrite\auxfile \newif\ifhavexrefs % True if xref values are known. \newif\ifwarnedxrefs % True if we warned once that they aren't known. % @inforef is relatively simple. \def\inforef #1{\inforefzzz #1,,,,**} \def\inforefzzz #1,#2,#3,#4**{% \putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}}, node \samp{\ignorespaces#1{}}} % @node's only job in TeX is to define \lastnode, which is used in % cross-references. The @node line might or might not have commas, and % might or might not have spaces before the first comma, like: % @node foo , bar , ... % We don't want such trailing spaces in the node name. % \parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse} % % also remove a trailing comma, in case of something like this: % @node Help-Cross, , , Cross-refs \def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse} \def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}\omittopnode} % Used so that the @top node doesn't have to be wrapped in an @ifnottex % conditional. % \doignore goes to more effort to skip nested conditionals but we don't need % that here. \def\omittopnode{% \ifx\lastnode\wordTop \expandafter\ignorenode\fi } \def\wordTop{Top} % Until the next @node, @part or @bye command, divert output to a box that % is not output. \def\ignorenode{\setbox\dummybox\vbox\bgroup \def\part{\egroup\part}% \def\node{\egroup\node}% \ignorenodebye } {\let\bye\relax \gdef\ignorenodebye{\let\bye\ignorenodebyedef} \gdef\ignorenodebyedef{\egroup(`Top' node ignored)\bye}} % The redefinition of \bye here is because it is declared \outer \let\lastnode=\empty % Write a cross-reference definition for the current node. #1 is the % type (Ynumbered, Yappendix, Ynothing). #2 is the section title. % \def\donoderef#1#2{% \ifx\lastnode\empty\else \setref{\lastnode}{#1}{#2}% \global\let\lastnode=\empty \setnodeseenonce \fi } \def\setnodeseenonce{ \global\nodeseentrue \let\setnodeseenonce\relax } % @nodedescription, @nodedescriptionblock - do nothing for TeX \parseargdef\nodedescription{} \def\nodedescriptionblock{\doignore{nodedescriptionblock}} % @anchor{NAME} -- define xref target at arbitrary point. % \newcount\savesfregister % \def\savesf{\relax \ifhmode \savesfregister=\spacefactor \fi} \def\restoresf{\relax \ifhmode \spacefactor=\savesfregister \fi} \def\anchor#1{% \savesf \setref{#1}{Yanchor}{#1}\restoresf \ignorespaces } % @namedanchor{NAME, XREFNAME} -- define xref target at arbitrary point % with label text for cross-references to it. \def\namedanchor#1{\donamedanchor#1\finish}% \def\donamedanchor#1,#2\finish{% \savesf \setref{#1}{Yanchor}{\ignorespaces #2\unskip}\restoresf \ignorespaces } % \setref{NAME}{SNT}{TITLE} defines a cross-reference point NAME (a node % or an anchor), which consists of three parts: % 1) NAME-title - the current sectioning name % 2) NAME-snt - section number and type, passed as the SNT arg. % 3) NAME-pg - the page number. % % This is called from \donoderef, \anchor, and \dofloat. In the case of % floats, there is an additional part, which is not written here: % 4) NAME-lof - the text as it should appear in a @listoffloats. % \def\setref#1#2#3{% \pdfmkdest{#1}% \iflinks {% \requireauxfile \atdummies % preserve commands, but don't expand them % match definition in \xrdef, \refx, \xrefX. \def\value##1{##1}% \edef\writexrdef##1##2{% \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef ##1}{##2}}% these are parameters of \writexrdef }% \toks0 = {#3}% \immediate \writexrdef{title}{\the\toks0 }% \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc. \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, at \shipout }% \fi } % @xrefautosectiontitle on|off says whether @section(ing) names are used % automatically in xrefs, if the third arg is not explicitly specified. % This was provided as a "secret" @set xref-automatic-section-title % variable, now it's official. % \parseargdef\xrefautomaticsectiontitle{% \def\temp{#1}% \ifx\temp\onword \expandafter\let\csname SETxref-automatic-section-title\endcsname = \empty \else\ifx\temp\offword \expandafter\let\csname SETxref-automatic-section-title\endcsname = \relax \else \errhelp = \EMsimple \errmessage{Unknown @xrefautomaticsectiontitle value `\temp', must be on|off}% \fi\fi } % % @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is % the node name, #2 the name of the Info cross-reference, #3 the printed % node name, #4 the name of the Info file, #5 the name of the printed % manual. All but the node name can be omitted. % \def\pxref{\putwordsee{} \xrefXX} \def\xref{\putwordSee{} \xrefXX} \def\ref{\xrefXX} \def\xrefXX#1{\def\xrefXXarg{#1}\futurelet\tokenafterxref\xrefXXX} \def\xrefXXX{\expandafter\xrefX\expandafter[\xrefXXarg,,,,,,,]} % \newbox\toprefbox \newbox\printedrefnamebox \newbox\infofilenamebox \newbox\printedmanualbox % \def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup \unsepspaces % \getprintedrefname{#1}{#3}{#5}% \def\infofilename{\ignorespaces #4}% \setbox\infofilenamebox = \hbox{\infofilename\unskip}% % \startxreflink{#1}{#4}% \getrefx{#1-title}\Xthisreftitle % % Float references are printed completely differently: "Figure 1.2" % instead of "[somenode], p.3". \iffloat distinguishes them by % \Xthisreftitle being set to a magic string. \iffloat\Xthisreftitle % If the user specified the print name (third arg) to the ref, % print it instead of our usual "Figure 1.2". \ifdim\wd\printedrefnamebox = 0pt \refx{#1-snt}% \else \printedrefname \fi % % If the user also gave the printed manual name (fifth arg), append % "in MANUALNAME". \ifdim \wd\printedmanualbox > 0pt \space \putwordin{} \cite{\printedmanual}% \fi \else % node/anchor (non-float) references. % % If we use \unhbox to print the node names, TeX does not insert % empty discretionaries after hyphens, which means that it will not % find a line break at a hyphen in a node names. Since some manuals % are best written with fairly long node names, containing hyphens, % this is a loss. Therefore, we give the text of the node name % again, so it is as if TeX is seeing it for the first time. % \ifdim \wd\printedmanualbox > 0pt % Cross-manual reference with a printed manual name. % \crossmanualxref{\cite{\printedmanual\unskip}}% \else\ifdim \wd\infofilenamebox > 0pt % Cross-manual reference with only an info filename (arg 4), no % printed manual name (arg 5). This is essentially the same as % the case above; we output the filename, since we have nothing else. % \crossmanualxref{\code{\infofilename\unskip}}% \else % Reference within this manual. % % Only output a following space if the -snt ref is nonempty, as is % the case for @unnumbered and @anchor. \getrefx{#1-snt}\tmp \ifx\tmp\empty\else \ifx\tmp\Yanchor\else \tmp\space \fi \fi % % output the `[mynode]' via the macro below so it can be overridden. \xrefprintnodename\printedrefname % \ifflagclear{txiomitxrefpg}{% % We always want a comma ,% % output the `page 3'. \turnoffactive \putpageref{#1}% % Add a , if xref followed by a space \if\space\noexpand\tokenafterxref ,% \else\ifx\ \tokenafterxref ,% @TAB \else\ifx\*\tokenafterxref ,% @* \else\ifx\ \tokenafterxref ,% @SPACE \else\ifx\ \tokenafterxref ,% @NL \else\ifx\tie\tokenafterxref ,% @tie \fi\fi\fi\fi\fi\fi }{}% \fi\fi \fi \endlink \endgroup} % \getprintedrefname{NODE}{LABEL}{MANUAL} % - set \printedrefname and \printedmanual % \def\getprintedrefname#1#2#3{% % Get args without leading/trailing spaces. \def\printedrefname{\ignorespaces #2}% \setbox\printedrefnamebox = \hbox{\printedrefname\unskip}% % \def\printedmanual{\ignorespaces #3}% \setbox\printedmanualbox = \hbox{\printedmanual\unskip}% % % If the printed reference name (arg #2) was not explicitly given in % the @xref, figure out what we want to use. \ifdim \wd\printedrefnamebox = 0pt % No printed node name was explicitly given. \expandafter\ifx\csname SETxref-automatic-section-title\endcsname \relax % Not auto section-title: use node name inside the square brackets. \def\printedrefname{\ignorespaces #1}% \else % Auto section-title: use chapter/section title inside % the square brackets if we have it. \ifdim \wd\printedmanualbox > 0pt % It is in another manual, so we don't have it; use node name. \def\printedrefname{\ignorespaces #1}% \else \ifhavexrefs % We (should) know the real title if we have the xref values. \def\printedrefname{\refx{#1-title}}% \else % Otherwise just copy the Info node name. \def\printedrefname{\ignorespaces #1}% \fi \fi \fi \fi } % \startxreflink{NODE}{FILE} - start link in pdf output. \def\startxreflink#1#2{% \ifpdforxetex % For pdfTeX and LuaTeX {\indexnofonts \makevalueexpandable \turnoffactive % This expands tokens, so do it after making catcode changes, so _ % etc. don't get their TeX definitions. This ignores all spaces in % #2, including (wrongly) those in the middle of the filename. \getfilename{#2}% % % This (wrongly) does not take account of leading or trailing % spaces in #1, which should be ignored. \setpdfdestname{#1}% % \ifx\pdfdestname\empty \def\pdfdestname{Top}% no empty targets \fi % \leavevmode \ifpdf \startlink attr{/Border [0 0 0]}% \ifnum\filenamelength>0 goto file{\the\filename.pdf} name{\pdfdestname}% \else goto name{\pdfdestname}% \fi \else % XeTeX \ifnum\filenamelength>0 % With default settings, % XeTeX (xdvipdfmx) replaces link destination names with integers. % In this case, the replaced destination names of % remote PDFs are no longer known. In order to avoid a replacement, % you can use xdvipdfmx's command line option `-C 0x0010'. % If you use XeTeX 0.99996+ (TeX Live 2016+), % this command line option is no longer necessary % because we can use the `dvipdfmx:config' special. \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A << /S /GoToR /F (\the\filename.pdf) /D (\pdfdestname) >> >>}% \else \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A << /S /GoTo /D (\pdfdestname) >> >>}% \fi \fi }% \setcolor{\linkcolor}% \fi } % can be overridden in translation files \def\putpageref#1{% \space\putwordpage\tie\refx{#1-pg}} % Output a cross-manual xref to #1. Used just above (twice). % % Only include the text "Section ``foo'' in" if the foo is neither % missing or Top. Thus, @xref{,,,foo,The Foo Manual} outputs simply % "see The Foo Manual", the idea being to refer to the whole manual. % % But, this being TeX, we can't easily compare our node name against the % string "Top" while ignoring the possible spaces before and after in % the input. By adding the arbitrary 7sp below, we make it much less % likely that a real node name would have the same width as "Top" (e.g., % in a monospaced font). Hopefully it will never happen in practice. % % For the same basic reason, we retypeset the "Top" at every % reference, since the current font is indeterminate. % \def\crossmanualxref#1{% \setbox\toprefbox = \hbox{Top\kern7sp}% \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}% \ifdim \wd2 > 7sp % nonempty? \ifdim \wd2 = \wd\toprefbox \else % same as Top? \putwordSection{} ``\printedrefname'' \putwordin{}\space \fi \fi #1% } % This macro is called from \xrefX for the `[nodename]' part of xref % output. It's a separate macro only so it can be changed more easily, % since square brackets don't work well in some documents. Particularly % one that Bob is working on :). % \def\xrefprintnodename#1{[#1]} % @link{NODENAME, LABEL, MANUAL} - create a "plain" link, with no % page number. Not useful if printed on paper. % \def\link#1{\linkX[#1,,,]} \def\linkX[#1,#2,#3,#4]{% \begingroup \unsepspaces \getprintedrefname{#1}{#2}{#3}% \startxreflink{#1}{#3}% \printedrefname \endlink \endgroup } % Things referred to by \setref. % \def\Ynothing{} \def\Yomitfromtoc{} \def\Yanchor{\isanchor} \let\isanchor\relax \def\Ynumbered{% \ifnum\secno=0 \putwordChapter@tie \the\chapno \else \ifnum\subsecno=0 \putwordSection@tie \the\chapno.\the\secno \else \ifnum\subsubsecno=0 \putwordSection@tie \the\chapno.\the\secno.\the\subsecno \else \putwordSection@tie \the\chapno.\the\secno.\the\subsecno.\the\subsubsecno \fi\fi\fi } \def\Yappendix{% \ifnum\secno=0 \putwordAppendix@tie @char\the\appendixno{}% \else \ifnum\subsecno=0 \putwordSection@tie @char\the\appendixno.\the\secno \else \ifnum\subsubsecno=0 \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno \else \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno.\the\subsubsecno \fi\fi\fi } % \refx{NAME} - reference a cross-reference string named NAME. \def\refx#1{% \getrefx{#1}\thisrefX \ifx\thisrefX\relax % If not defined, say something at least. \angleleft un\-de\-fined\angleright \iflinks \ifhavexrefs {\toks0 = {#1}% avoid expansion of possibly-complex value \message{\linenumber Undefined cross reference `\the\toks0'.}}% \else \ifwarnedxrefs\else \global\warnedxrefstrue \message{Cross reference values unknown; you must run TeX again.}% \fi \fi \fi \else % It's defined, so just use it. \thisrefX \fi } % Set #2 to xref string #1 \def\getrefx#1#2{% \requireauxfile {% \indexnofonts \turnoffactive \def\value##1{##1}% \expandafter\global\expandafter\let\expandafter#2\csname XR#1\endcsname }% } % This is the macro invoked by entries in the aux file. Define a control % sequence for a cross-reference target (we prepend XR to the control sequence % name to avoid collisions). The value is the page number. If this is a float % type, we have more work to do. % \def\xrdef#1#2{% {% Expand the node or anchor name to remove control sequences. % \turnoffactive stops 8-bit characters being changed to commands % like @'e. \refx does the same to retrieve the value in the definition. \indexnofonts \turnoffactive \def\value##1{##1}% \xdef\safexrefname{#1}% }% % \bgroup \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% \egroup % We put the \gdef inside a group to avoid the definitions building up on % TeX's save stack, which can cause it to run out of space for aux files with % thousands of lines. \gdef doesn't use the save stack, but \csname does % when it defines an unknown control sequence as \relax. % % Was that xref control sequence that we just defined for a float? \expandafter\iffloat\csname XR\safexrefname\endcsname % it was a float, and we have the (safe) float type in \iffloattype. \expandafter\let\expandafter\floatlist \csname floatlist\iffloattype\endcsname % % Is this the first time we've seen this float type? \expandafter\ifx\floatlist\relax \toks0 = {\do}% yes, so just \do \else % had it before, so preserve previous elements in list. \toks0 = \expandafter{\floatlist\do}% \fi % % Remember this xref in the control sequence \floatlistFLOATTYPE, % for later use in \listoffloats. \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0 {\safexrefname}}% \fi } % If working on a large document in chapters, it is convenient to % be able to disable indexing, cross-referencing, and contents, for test runs. % This is done with @novalidate at the beginning of the file. % \newif\iflinks \linkstrue % by default we want the aux files. \let\novalidate = \linksfalse % Used when writing to the aux file, or when using data from it. \def\requireauxfile{% \iflinks \tryauxfile % Open the new aux file. TeX will close it automatically at exit. \immediate\openout\auxfile=\jobname.aux \fi \global\let\requireauxfile=\relax % Only do this once. } % Read the last existing aux file, if any. No error if none exists. % \def\tryauxfile{% \ifxetex\xetexpreauxfile\fi \openin 1 \jobname.aux \ifeof 1 \else \readdatafile{aux}% \global\havexrefstrue \fi \closein 1 \ifxetex\xetexpostauxfile\fi } \def\setupdatafile{% \catcode`\^^@=\other \catcode`\^^A=\other \catcode`\^^B=\other \catcode`\^^C=\other \catcode`\^^D=\other \catcode`\^^E=\other \catcode`\^^F=\other \catcode`\^^G=\other \catcode`\^^H=\other \catcode`\^^K=\other \catcode`\^^L=\other \catcode`\^^N=\other \catcode`\^^P=\other \catcode`\^^Q=\other \catcode`\^^R=\other \catcode`\^^S=\other \catcode`\^^T=\other \catcode`\^^U=\other \catcode`\^^V=\other \catcode`\^^W=\other \catcode`\^^X=\other \catcode`\^^Z=\other \catcode`\^^[=\other \catcode`\^^\=\other \catcode`\^^]=\other \catcode`\^^^=\other \catcode`\^^_=\other \catcode`\^=\other % % Special characters. Should be turned off anyway, but... \catcode`\~=\other \catcode`\[=\other \catcode`\]=\other \catcode`\"=\other \catcode`\_=\active \catcode`\|=\active \catcode`\<=\active \catcode`\>=\active \catcode`\$=\other \catcode`\#=\other \catcode`\&=\other \catcode`\%=\other \catcode`+=\other % avoid \+ for paranoia even though we've turned it off % \catcode`\\=\active % % @ is our escape character in .aux files, and we need braces. \catcode`\{=1 \catcode`\}=2 \catcode`\@=0 } \def\readdatafile#1{% \begingroup \setupdatafile \input\jobname.#1 \endgroup} \message{insertions,} % including footnotes. \newcount \footnoteno % The trailing space in the following definition for supereject is % vital for proper filling; pages come out unaligned when you do a % pagealignmacro call if that space before the closing brace is % removed. (Generally, numeric constants should always be followed by a % space to prevent strange expansion errors.) \def\supereject{\par\penalty -20000\footnoteno =0 } % @footnotestyle is meaningful for Info output only. \let\footnotestyle=\comment {\catcode `\@=11 % % Auto-number footnotes. Otherwise like plain. \gdef\footnote{% \global\advance\footnoteno by \@ne \edef\thisfootno{$^{\the\footnoteno}$}% % % In case the footnote comes at the end of a sentence, preserve the % extra spacing after we do the footnote number. \let\@sf\empty \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\ptexslash\fi % % Remove inadvertent blank space before typesetting the footnote number. \unskip \thisfootno\@sf \dofootnote }% % Don't bother with the trickery in plain.tex to not require the % footnote text as a parameter. Our footnotes don't need to be so general. % % Oh yes, they do; otherwise, @ifset (and anything else that uses % \parseargline) fails inside footnotes because the tokens are fixed when % the footnote is read. --karl, 16nov96. % \gdef\dofootnote{% \insert\footins\bgroup % % Nested footnotes are not supported in TeX, that would take a lot % more work. (\startsavinginserts does not suffice.) \let\footnote=\errfootnotenest % % We want to typeset this text as a normal paragraph, even if the % footnote reference occurs in (for example) a display environment. % So reset some parameters. \hsize=\txipagewidth \interlinepenalty\interfootnotelinepenalty \splittopskip\ht\strutbox % top baseline for broken footnotes \splitmaxdepth\dp\strutbox \floatingpenalty\@MM \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip \parindent\defaultparindent % \smallfonts \rm % % Because we use hanging indentation in footnotes, a @noindent appears % to exdent this text, so make it be a no-op. makeinfo does not use % hanging indentation so @noindent can still be needed within footnote % text after an @example or the like (not that this is good style). \let\noindent = \relax % % Hang the footnote text off the number. Use \everypar in case the % footnote extends for more than one paragraph. \everypar = {\hang}% \textindent{\thisfootno}% % % Don't crash into the line above the footnote text. Since this % expands into a box, it must come within the paragraph, lest it % provide a place where TeX can split the footnote. \footstrut % % Invoke rest of plain TeX footnote routine. \futurelet\next\fo@t } }%end \catcode `\@=11 \def\errfootnotenest{% \errhelp=\EMsimple \errmessage{Nested footnotes not supported in texinfo.tex, even though they work in makeinfo; sorry} } \def\errfootnoteheading{% \errhelp=\EMsimple \errmessage{Footnotes in chapters, sections, etc., are not supported} } % In case a @footnote appears in a vbox, save the footnote text and create % the real \insert just after the vbox finished. Otherwise, the insertion % would be lost. % Similarly, if a @footnote appears inside an alignment, save the footnote % text to a box and make the \insert when a row of the table is finished. % And the same can be done for other insert classes. --kasal, 16nov03. % % Replace the \insert primitive by a cheating macro. % Deeper inside, just make sure that the saved insertions are not spilled % out prematurely. % \def\startsavinginserts{% \ifx \insert\ptexinsert \let\insert\saveinsert \else \let\checkinserts\relax \fi } % This \insert replacement works for both \insert\footins{foo} and % \insert\footins\bgroup foo\egroup, but it doesn't work for \insert27{foo}. % \def\saveinsert#1{% \edef\next{\noexpand\savetobox \makeSAVEname#1}% \afterassignment\next % swallow the left brace \let\temp = } \def\makeSAVEname#1{\makecsname{SAVE\expandafter\gobble\string#1}} \def\savetobox#1{\global\setbox#1 = \vbox\bgroup \unvbox#1} \def\checksaveins#1{\ifvoid#1\else \placesaveins#1\fi} \def\placesaveins#1{% \ptexinsert \csname\expandafter\gobblesave\string#1\endcsname {\box#1}% } % eat @SAVE -- beware, all of them have catcode \other: { \def\dospecials{\do S\do A\do V\do E} \uncatcodespecials % ;-) \gdef\gobblesave @SAVE{} } % initialization: \def\newsaveins #1{% \edef\next{\noexpand\newsaveinsX \makeSAVEname#1}% \next } \def\newsaveinsX #1{% \csname newbox\endcsname #1% \expandafter\def\expandafter\checkinserts\expandafter{\checkinserts \checksaveins #1}% } % initialize: \let\checkinserts\empty \newsaveins\footins \newsaveins\margin % @image. We use the macros from epsf.tex to support this. % If epsf.tex is not installed and @image is used, we complain. % % Check for and read epsf.tex up front. If we read it only at @image % time, we might be inside a group, and then its definitions would get % undone and the next image would fail. \openin 1 = epsf.tex \ifeof 1 \else % Do not bother showing banner with epsf.tex v2.7k (available in % doc/epsf.tex and on ctan). \def\epsfannounce{\toks0 = }% \input epsf.tex \fi \closein 1 % % We will only complain once about lack of epsf.tex. \newif\ifwarnednoepsf \newhelp\noepsfhelp{epsf.tex must be installed for images to work. It is also included in the Texinfo distribution, or you can get it from https://ctan.org/texarchive/macros/texinfo/texinfo/doc/epsf.tex.} % \def\image#1{% \ifx\epsfbox\thisisundefined \ifwarnednoepsf \else \errhelp = \noepsfhelp \errmessage{epsf.tex not found, images will be ignored}% \global\warnednoepsftrue \fi \else \imagexxx #1,,,,,\finish \fi } % Approximate height of a line in the standard text font. \newdimen\capheight \setbox0=\vbox{\tenrm H} \capheight=\ht0 % % Arguments to @image: % #1 is (mandatory) image filename; we tack on .eps extension. % #2 is (optional) width, #3 is (optional) height. % #4 is (ignored optional) html alt text. % #5 is (ignored optional) extension. % #6 is just the usual extra ignored arg for parsing stuff. \newif\ifimagevmode \def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup \catcode`\^^M = 5 % in case we're inside an example \normalturnoffactive % allow _ et al. in names \makevalueexpandable \ifvmode \imagevmodetrue \medskip % Usually we'll have text after the image which will insert % \parskip glue, so insert it here too to equalize the space % above and below. \vskip\parskip % % Place image in a \vtop for a top page margin that is (close to) correct, % as \topskip glue is relative to the first baseline. \vtop\bgroup \kern -\capheight \vskip-\parskip \fi % \ifx\centersub\centerV % For @center @image, enter vertical mode and add vertical space % Enter an extra \parskip because @center doesn't add space itself. \vbox\bgroup\vskip\parskip\medskip\vskip\parskip \else % Enter horizontal mode so that indentation from an enclosing % environment such as @quotation is respected. % However, if we're at the top level, we don't want the % normal paragraph indentation. \imageindent \fi % % Output the image. \ifpdf % For pdfTeX and LuaTeX <= 0.80 \dopdfimage{#1}{#2}{#3}% \else \ifxetex \doxeteximage{#1}{#2}{#3}% \else % For epsf.tex % \epsfbox itself resets \epsf?size at each figure. \setbox0 = \hbox{\ignorespaces #2}% \ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi \setbox0 = \hbox{\ignorespaces #3}% \ifdim\wd0 > 0pt \epsfysize=#3\relax \fi \epsfbox{#1.eps}% \fi \fi % \ifimagevmode \egroup \medskip % space after a standalone image \fi \ifx\centersub\centerV % @center @image \medskip \egroup % close \vbox \fi \endgroup} % @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables, % etc. We don't actually implement floating yet, we always include the % float "here". But it seemed the best name for the future. % \envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish} % There may be a space before second and/or third parameter; delete it. \def\eatcommaspace#1, {#1,} % #1 is the optional FLOATTYPE, the text label for this float, typically % "Figure", "Table", "Example", etc. Can't contain commas. If omitted, % this float will not be numbered and cannot be referred to. % % #2 is the optional xref label. Also must be present for the float to % be referable. % % #3 is the optional positioning argument; for now, it is ignored. It % will somehow specify the positions allowed to float to (here, top, bottom). % % We keep a separate counter for each FLOATTYPE, which we reset at each % chapter-level command. \let\resetallfloatnos=\empty % \def\dofloat#1,#2,#3,#4\finish{% \let\thiscaption=\empty \let\thisshortcaption=\empty % % don't lose footnotes inside @float. % % BEWARE: when the floats start float, we have to issue warning whenever an % insert appears inside a float which could possibly float. --kasal, 26may04 % \startsavinginserts % % We can't be used inside a paragraph. \par % \vtop\bgroup \def\floattype{#1}% \def\floatlabel{#2}% \def\floatloc{#3}% we do nothing with this yet. % \ifx\floattype\empty \let\safefloattype=\empty \else {% % the floattype might have accents or other special characters, % but we need to use it in a control sequence name. \indexnofonts \turnoffactive \xdef\safefloattype{\floattype}% }% \fi % % If label is given but no type, we handle that as the empty type. \ifx\floatlabel\empty \else % We want each FLOATTYPE to be numbered separately (Figure 1, % Table 1, Figure 2, ...). (And if no label, no number.) % \expandafter\getfloatno\csname\safefloattype floatno\endcsname \global\advance\floatno by 1 % {% % This magic value for the third argument of \setref is output as % the XREFLABEL-title value. \xrefX uses it to distinguish float % labels (which have a completely different output format) from % node and anchor labels. And \xrdef uses it to construct the % lists of floats. % \edef\tmp{\noexpand\setref{\floatlabel}{Yfloat}% {\floatmagic=\safefloattype}}% \tmp }% \fi % % start with \parskip glue, I guess. \vskip\parskip % % Don't suppress indentation if a float happens to start a section. \restorefirstparagraphindent } % we have these possibilities: % @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap % @float Foo,lbl & no caption: Foo 1.1 % @float Foo & @caption{Cap}: Foo: Cap % @float Foo & no caption: Foo % @float ,lbl & Caption{Cap}: 1.1: Cap % @float ,lbl & no caption: 1.1 % @float & @caption{Cap}: Cap % @float & no caption: % \def\Efloat{% \let\floatident = \empty % % In all cases, if we have a float type, it comes first. \ifx\floattype\empty \else \def\floatident{\floattype}\fi % % If we have an xref label, the number comes next. \ifx\floatlabel\empty \else \ifx\floattype\empty \else % if also had float type, need tie first. \appendtomacro\floatident{\tie}% \fi % the number. \appendtomacro\floatident{\chaplevelprefix\the\floatno}% \fi % % Start the printed caption with what we've constructed in % \floatident, but keep it separate; we need \floatident again. \let\captionline = \floatident % \ifx\thiscaption\empty \else \ifx\floatident\empty \else \appendtomacro\captionline{: }% had ident, so need a colon between \fi % % caption text. \appendtomacro\captionline{\scanexp\thiscaption}% \fi % % If we have anything to print, print it, with space before. % Eventually this needs to become an \insert. \ifx\captionline\empty \else \vskip.5\parskip \captionline % % Space below caption. \vskip\parskip \fi % % If have an xref label, write the list of floats info. Do this % after the caption, to avoid chance of it being a breakpoint. \ifx\floatlabel\empty \else % Write the text that goes in the lof to the aux file as % \floatlabel-lof. Besides \floatident, we include the short % caption if specified, else the full caption if specified, else nothing. {% \requireauxfile \atdummies % \ifx\thisshortcaption\empty \def\gtemp{\thiscaption}% \else \def\gtemp{\thisshortcaption}% \fi \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident \ifx\gtemp\empty \else : \gtemp \fi}}% }% \fi \egroup % end of \vtop % \checkinserts } % Append the tokens #2 to the definition of macro #1, not expanding either. % \def\appendtomacro#1#2{% \expandafter\def\expandafter#1\expandafter{#1#2}% } % @caption, @shortcaption % \def\caption{\docaption\thiscaption} \def\shortcaption{\docaption\thisshortcaption} \def\docaption{\checkenv\float \bgroup\scanctxt\docaptionz} \def\docaptionz#1#2{\egroup \def#1{#2}} % The parameter is the control sequence identifying the counter we are % going to use. Create it if it doesn't exist and assign it to \floatno. \def\getfloatno#1{% \ifx#1\relax % Haven't seen this figure type before. \csname newcount\endcsname #1% % % Remember to reset this floatno at the next chap. \expandafter\gdef\expandafter\resetallfloatnos \expandafter{\resetallfloatnos #1=0 }% \fi \let\floatno#1% } % \setref calls this to get the XREFLABEL-snt value. We want an @xref % to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we % first read the @float command. % \def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}% % Magic string used for the XREFLABEL-title value, so \xrefX can % distinguish floats from other xref types. \def\floatmagic{!!float!!} % #1 is the control sequence we are passed; we expand into a conditional % which is true if #1 represents a float ref. That is, the magic % value which we passed to \setref above. % \def\iffloat#1{\expandafter\doiffloat#1==\finish} % % #1 is (maybe) the \floatmagic string. If so, #2 will be the % (safe) float type for this float. We set \iffloattype to #2. % \def\doiffloat#1=#2=#3\finish{% \def\temp{#1}% \def\iffloattype{#2}% \ifx\temp\floatmagic } % @listoffloats FLOATTYPE - print a list of floats like a table of contents. % \parseargdef\listoffloats{% \def\floattype{#1}% floattype {% % the floattype might have accents or other special characters, % but we need to use it in a control sequence name. \indexnofonts \turnoffactive \xdef\safefloattype{\floattype}% }% % % \xrdef saves the floats as a \do-list in \floatlistSAFEFLOATTYPE. \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax \ifhavexrefs % if the user said @listoffloats foo but never @float foo. \message{\linenumber No `\safefloattype' floats to list.}% \fi \else \begingroup \leftskip=\tocindent % indent these entries like a toc \let\do=\listoffloatsdo \csname floatlist\safefloattype\endcsname \endgroup \fi } % This is called on each entry in a list of floats. We're passed the % xref label, in the form LABEL-title, which is how we save it in the % aux file. We strip off the -title and look up \XRLABEL-lof, which % has the text we're supposed to typeset here. % % Figures without xref labels will not be included in the list (since % they won't appear in the aux file). % \def\listoffloatsdo#1{\listoffloatsdoentry#1\finish} \def\listoffloatsdoentry#1-title\finish{{% % Can't fully expand XR#1-lof because it can contain anything. Just % pass the control sequence. On the other hand, XR#1-pg is just the % page number, and we want to fully expand that so we can get a link % in pdf output. \toksA = \expandafter{\csname XR#1-lof\endcsname}% % % use the same \entry macro we use to generate the TOC and index. \let\entry\entryinternal \edef\writeentry{\noexpand\entry{\the\toksA}{\csname XR#1-pg\endcsname}}% \writeentry }} \message{localization,} % For single-language documents, @documentlanguage is usually given very % early, just after @documentencoding. Single argument is the language % (de) or locale (de_DE) abbreviation. % { \catcode`\_ = \active \globaldefs=1 \parseargdef\documentlanguage{% \tex % read txi-??.tex file in plain TeX. % Read the file by the name they passed if it exists. \let_ = \normalunderscore % normal _ character for filename test \openin 1 txi-#1.tex \ifeof 1 \documentlanguagetrywithoutunderscore #1_\finish \else \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 \endgroup % end raw TeX } % % If they passed de_DE, and txi-de_DE.tex doesn't exist, % try txi-de.tex. % \gdef\documentlanguagetrywithoutunderscore#1_#2\finish{% \openin 1 txi-#1.tex \ifeof 1 \errhelp = \nolanghelp \errmessage{Cannot read language file txi-#1.tex}% \else \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 } }% end of special _ catcode % \newhelp\nolanghelp{The given language definition file cannot be found or is empty. Maybe you need to install it? Putting it in the current directory should work if nowhere else does.} % This macro is called from txi-??.tex files; the first argument is the % \language name to set (without the "\lang@" prefix), the second and % third args are \{left,right}hyphenmin. % % The language names to pass are determined when the format is built. % See the etex.log file created at that time, e.g., % /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log. % % With TeX Live 2008, etex now includes hyphenation patterns for all % available languages. This means we can support hyphenation in % Texinfo, at least to some extent. (This still doesn't solve the % accented characters problem.) % \catcode`@=11 \def\txisetlanguage#1#2#3{% % do not set the language if the name is undefined in the current TeX. \expandafter\ifx\csname lang@#1\endcsname \relax \message{no patterns for #1}% \else \global\language = \csname lang@#1\endcsname \fi % but there is no harm in adjusting the hyphenmin values regardless. \global\lefthyphenmin = #2\relax \global\righthyphenmin = #3\relax } % XeTeX and LuaTeX can handle Unicode natively. % Their default I/O uses UTF-8 sequences instead of a byte-wise operation. % Other TeX engines' I/O (pdfTeX, etc.) is byte-wise. % \newif\iftxinativeunicodecapable \newif\iftxiusebytewiseio \ifxetex \txinativeunicodecapabletrue \txiusebytewiseiofalse \else \ifluatex \txinativeunicodecapabletrue \txiusebytewiseiofalse \else \txinativeunicodecapablefalse \txiusebytewiseiotrue \fi \fi \let\xetexpreauxfile\relax \let\xetexpostauxfile\relax % Set I/O by bytes instead of UTF-8 sequence for XeTeX and LuaTex % for non-UTF-8 (byte-wise) encodings. % \def\setbytewiseio{% \ifxetex % For document root file \XeTeXinputencoding "bytes" % % Setting for subsequent files to be read with @include. \XeTeXdefaultencoding "bytes" % % Use UTF-8 for reading auxiliary index and TOC files, which are % always output in UTF-8 with XeTeX. \def\xetexpreauxfile{\XeTeXdefaultencoding "UTF-8"}% \def\xetexpostauxfile{\XeTeXdefaultencoding "bytes"}% \fi \ifluatex \directlua{ local utf8_char, byte, gsub = unicode.utf8.char, string.byte, string.gsub local function convert_char (char) return utf8_char(byte(char)) end local function convert_line (line) return gsub(line, ".", convert_char) end callback.register("process_input_buffer", convert_line) local function convert_line_out (line) local line_out = "" for c in string.utfvalues(line) do line_out = line_out .. string.char(c) end return line_out end callback.register("process_output_buffer", convert_line_out) } \fi \txiusebytewiseiotrue } % Helpers for encodings. % Set the catcode of characters 128 through 255 to the specified number. % \def\setnonasciicharscatcode#1{% \count255=128 \loop\ifnum\count255<256 \global\catcode\count255=#1\relax \advance\count255 by 1 \repeat } \def\setnonasciicharscatcodenonglobal#1{% \count255=128 \loop\ifnum\count255<256 \catcode\count255=#1\relax \advance\count255 by 1 \repeat } % @documentencoding sets the definition of non-ASCII characters % according to the specified encoding. % \def\documentencoding{\parseargusing\filenamecatcodes\documentencodingzzz} \def\documentencodingzzz#1{% % % Encoding being declared for the document. \def\declaredencoding{\csname #1.enc\endcsname}% % % Supported encodings: names converted to tokens in order to be able % to compare them with \ifx. \def\ascii{\csname US-ASCII.enc\endcsname}% \def\latnine{\csname ISO-8859-15.enc\endcsname}% \def\latone{\csname ISO-8859-1.enc\endcsname}% \def\lattwo{\csname ISO-8859-2.enc\endcsname}% \def\utfeight{\csname UTF-8.enc\endcsname}% % \ifx \declaredencoding \ascii \asciichardefs % \else \ifx \declaredencoding \lattwo \iftxinativeunicodecapable \setbytewiseio \fi \setnonasciicharscatcode\active \lattwochardefs % \else \ifx \declaredencoding \latone \iftxinativeunicodecapable \setbytewiseio \fi \setnonasciicharscatcode\active \latonechardefs % \else \ifx \declaredencoding \latnine \iftxinativeunicodecapable \setbytewiseio \fi \setnonasciicharscatcode\active \latninechardefs % \else \ifx \declaredencoding \utfeight \iftxinativeunicodecapable % For native Unicode handling (XeTeX and LuaTeX) \nativeunicodechardefs \else % For treating UTF-8 as byte sequences (TeX, eTeX and pdfTeX). % Since we already invoke \utfeightchardefs at the top level, % making non-ascii chars active is sufficient. \setnonasciicharscatcode\active \fi % \else \message{Ignoring unknown document encoding: #1.}% % \fi % utfeight \fi % latnine \fi % latone \fi % lattwo \fi % ascii % \ifxetex \ifx \declaredencoding \utfeight \else \ifx \declaredencoding \ascii \else \message{Warning: XeTeX with non-UTF-8 encodings cannot handle % non-ASCII characters in auxiliary files.}% \fi \fi \fi } % A message to be logged when using a character that isn't available % the default font encoding (OT1). % \def\missingcharmsg#1{\message{Character missing, sorry: #1.}} % Take account of \c (plain) vs. \, (Texinfo) difference. \def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi} \def\gdefchar#1#2{% \gdef#1{% \ifpassthroughchars \string#1% \else #2% \fi }} \begingroup % Make non-ASCII characters active for defining the character definition % macros. \setnonasciicharscatcode\active % Latin1 (ISO-8859-1) character definitions. \gdef\latonechardefs{% \gdefchar^^a0{\tie} \gdefchar^^a1{\exclamdown} \gdefchar^^a2{{\tcfont \char162}} % cent \gdefchar^^a3{\pounds{}} \gdefchar^^a4{{\tcfont \char164}} % currency \gdefchar^^a5{{\tcfont \char165}} % yen \gdefchar^^a6{{\tcfont \char166}} % broken bar \gdefchar^^a7{\S} \gdefchar^^a8{\"{}} \gdefchar^^a9{\copyright{}} \gdefchar^^aa{\ordf} \gdefchar^^ab{\guillemetleft{}} \gdefchar^^ac{\ensuremath\lnot} \gdefchar^^ad{\-} \gdefchar^^ae{\registeredsymbol{}} \gdefchar^^af{\={}} % \gdefchar^^b0{\textdegree} \gdefchar^^b1{$\pm$} \gdefchar^^b2{$^2$} \gdefchar^^b3{$^3$} \gdefchar^^b4{\'{}} \gdefchar^^b5{$\mu$} \gdefchar^^b6{\P} \gdefchar^^b7{\ensuremath\cdot} \gdefchar^^b8{\cedilla\ } \gdefchar^^b9{$^1$} \gdefchar^^ba{\ordm} \gdefchar^^bb{\guillemetright{}} \gdefchar^^bc{$1\over4$} \gdefchar^^bd{$1\over2$} \gdefchar^^be{$3\over4$} \gdefchar^^bf{\questiondown} % \gdefchar^^c0{\`A} \gdefchar^^c1{\'A} \gdefchar^^c2{\^A} \gdefchar^^c3{\~A} \gdefchar^^c4{\"A} \gdefchar^^c5{\ringaccent A} \gdefchar^^c6{\AE} \gdefchar^^c7{\cedilla C} \gdefchar^^c8{\`E} \gdefchar^^c9{\'E} \gdefchar^^ca{\^E} \gdefchar^^cb{\"E} \gdefchar^^cc{\`I} \gdefchar^^cd{\'I} \gdefchar^^ce{\^I} \gdefchar^^cf{\"I} % \gdefchar^^d0{\DH} \gdefchar^^d1{\~N} \gdefchar^^d2{\`O} \gdefchar^^d3{\'O} \gdefchar^^d4{\^O} \gdefchar^^d5{\~O} \gdefchar^^d6{\"O} \gdefchar^^d7{$\times$} \gdefchar^^d8{\O} \gdefchar^^d9{\`U} \gdefchar^^da{\'U} \gdefchar^^db{\^U} \gdefchar^^dc{\"U} \gdefchar^^dd{\'Y} \gdefchar^^de{\TH} \gdefchar^^df{\ss} % \gdefchar^^e0{\`a} \gdefchar^^e1{\'a} \gdefchar^^e2{\^a} \gdefchar^^e3{\~a} \gdefchar^^e4{\"a} \gdefchar^^e5{\ringaccent a} \gdefchar^^e6{\ae} \gdefchar^^e7{\cedilla c} \gdefchar^^e8{\`e} \gdefchar^^e9{\'e} \gdefchar^^ea{\^e} \gdefchar^^eb{\"e} \gdefchar^^ec{\`{\dotless i}} \gdefchar^^ed{\'{\dotless i}} \gdefchar^^ee{\^{\dotless i}} \gdefchar^^ef{\"{\dotless i}} % \gdefchar^^f0{\dh} \gdefchar^^f1{\~n} \gdefchar^^f2{\`o} \gdefchar^^f3{\'o} \gdefchar^^f4{\^o} \gdefchar^^f5{\~o} \gdefchar^^f6{\"o} \gdefchar^^f7{$\div$} \gdefchar^^f8{\o} \gdefchar^^f9{\`u} \gdefchar^^fa{\'u} \gdefchar^^fb{\^u} \gdefchar^^fc{\"u} \gdefchar^^fd{\'y} \gdefchar^^fe{\th} \gdefchar^^ff{\"y} } % Latin9 (ISO-8859-15) encoding character definitions. \gdef\latninechardefs{% % Encoding is almost identical to Latin1. \latonechardefs % \gdefchar^^a4{\euro{}} \gdefchar^^a6{\v S} \gdefchar^^a8{\v s} \gdefchar^^b4{\v Z} \gdefchar^^b8{\v z} \gdefchar^^bc{\OE} \gdefchar^^bd{\oe} \gdefchar^^be{\"Y} } % Latin2 (ISO-8859-2) character definitions. \gdef\lattwochardefs{% \gdefchar^^a0{\tie} \gdefchar^^a1{\ogonek{A}} \gdefchar^^a2{\u{}} \gdefchar^^a3{\L} \gdefchar^^a4{\missingcharmsg{CURRENCY SIGN}} \gdefchar^^a5{\v L} \gdefchar^^a6{\'S} \gdefchar^^a7{\S} \gdefchar^^a8{\"{}} \gdefchar^^a9{\v S} \gdefchar^^aa{\cedilla S} \gdefchar^^ab{\v T} \gdefchar^^ac{\'Z} \gdefchar^^ad{\-} \gdefchar^^ae{\v Z} \gdefchar^^af{\dotaccent Z} % \gdefchar^^b0{\textdegree} \gdefchar^^b1{\ogonek{a}} \gdefchar^^b2{\ogonek{ }} \gdefchar^^b3{\l} \gdefchar^^b4{\'{}} \gdefchar^^b5{\v l} \gdefchar^^b6{\'s} \gdefchar^^b7{\v{}} \gdefchar^^b8{\cedilla\ } \gdefchar^^b9{\v s} \gdefchar^^ba{\cedilla s} \gdefchar^^bb{\v t} \gdefchar^^bc{\'z} \gdefchar^^bd{\H{}} \gdefchar^^be{\v z} \gdefchar^^bf{\dotaccent z} % \gdefchar^^c0{\'R} \gdefchar^^c1{\'A} \gdefchar^^c2{\^A} \gdefchar^^c3{\u A} \gdefchar^^c4{\"A} \gdefchar^^c5{\'L} \gdefchar^^c6{\'C} \gdefchar^^c7{\cedilla C} \gdefchar^^c8{\v C} \gdefchar^^c9{\'E} \gdefchar^^ca{\ogonek{E}} \gdefchar^^cb{\"E} \gdefchar^^cc{\v E} \gdefchar^^cd{\'I} \gdefchar^^ce{\^I} \gdefchar^^cf{\v D} % \gdefchar^^d0{\DH} \gdefchar^^d1{\'N} \gdefchar^^d2{\v N} \gdefchar^^d3{\'O} \gdefchar^^d4{\^O} \gdefchar^^d5{\H O} \gdefchar^^d6{\"O} \gdefchar^^d7{$\times$} \gdefchar^^d8{\v R} \gdefchar^^d9{\ringaccent U} \gdefchar^^da{\'U} \gdefchar^^db{\H U} \gdefchar^^dc{\"U} \gdefchar^^dd{\'Y} \gdefchar^^de{\cedilla T} \gdefchar^^df{\ss} % \gdefchar^^e0{\'r} \gdefchar^^e1{\'a} \gdefchar^^e2{\^a} \gdefchar^^e3{\u a} \gdefchar^^e4{\"a} \gdefchar^^e5{\'l} \gdefchar^^e6{\'c} \gdefchar^^e7{\cedilla c} \gdefchar^^e8{\v c} \gdefchar^^e9{\'e} \gdefchar^^ea{\ogonek{e}} \gdefchar^^eb{\"e} \gdefchar^^ec{\v e} \gdefchar^^ed{\'{\dotless{i}}} \gdefchar^^ee{\^{\dotless{i}}} \gdefchar^^ef{\v d} % \gdefchar^^f0{\dh} \gdefchar^^f1{\'n} \gdefchar^^f2{\v n} \gdefchar^^f3{\'o} \gdefchar^^f4{\^o} \gdefchar^^f5{\H o} \gdefchar^^f6{\"o} \gdefchar^^f7{$\div$} \gdefchar^^f8{\v r} \gdefchar^^f9{\ringaccent u} \gdefchar^^fa{\'u} \gdefchar^^fb{\H u} \gdefchar^^fc{\"u} \gdefchar^^fd{\'y} \gdefchar^^fe{\cedilla t} \gdefchar^^ff{\dotaccent{}} } \endgroup % active chars % UTF-8 character definitions. % % This code to support UTF-8 is based on LaTeX's utf8.def, with some % changes for Texinfo conventions. It is included here under the GPL by % permission from Frank Mittelbach and the LaTeX team. % \newcount\countUTFx \newcount\countUTFy \newcount\countUTFz \gdef\UTFviiiTwoOctets#1#2{\expandafter \UTFviiiDefined\csname u8:#1\string #2\endcsname} % \gdef\UTFviiiThreeOctets#1#2#3{\expandafter \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname} % \gdef\UTFviiiFourOctets#1#2#3#4{\expandafter \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname} \gdef\UTFviiiDefined#1{% \ifx #1\relax \ifutfviiidefinedwarning \message{\linenumber Unicode char \string #1 not defined for Texinfo}% \fi \else \expandafter #1% \fi } \newif\ifutfviiidefinedwarning \utfviiidefinedwarningtrue % Give non-ASCII bytes the active definitions for processing UTF-8 sequences \begingroup \catcode`\~13 \catcode`\$12 \catcode`\"12 % Loop from \countUTFx to \countUTFy, performing \UTFviiiTmp % substituting ~ and $ with a character token of that value. \gdef\UTFviiiLoop{% \catcode\countUTFx\active \uccode`\~\countUTFx \uccode`\$\countUTFx \uppercase\expandafter{\UTFviiiTmp}% \advance\countUTFx by 1 \ifnum\countUTFx < \countUTFy \expandafter\UTFviiiLoop \fi} % % For bytes other than the first in a UTF-8 sequence. Not expected to % be expanded except when writing to auxiliary files. \countUTFx = "80 \countUTFy = "C2 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $\fi}}% \UTFviiiLoop \countUTFx = "C2 \countUTFy = "E0 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $% \else\expandafter\UTFviiiTwoOctets\expandafter$\fi}}% \UTFviiiLoop \countUTFx = "E0 \countUTFy = "F0 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $% \else\expandafter\UTFviiiThreeOctets\expandafter$\fi}}% \UTFviiiLoop \countUTFx = "F0 \countUTFy = "F4 \def\UTFviiiTmp{% \gdef~{% \ifpassthroughchars $% \else\expandafter\UTFviiiFourOctets\expandafter$\fi }}% \UTFviiiLoop % % for pdftex only, used to expand ASCII to UTF-16BE. \gdef\asciitounicode{% \countUTFx = "20 \countUTFy = "80 \def\UTFviiiTmp{% \def~{\nullbyte $}}% \UTFviiiLoop } {\catcode0=11 \gdef\nullbyte{^^00}}% \endgroup \def\globallet{\global\let} % save some \expandafter's below % @U{xxxx} to produce U+xxxx, if we support it. \def\U#1{% \expandafter\ifx\csname uni:#1\endcsname \relax \iftxinativeunicodecapable % All Unicode characters can be used if native Unicode handling is % active. However, if the font does not have the glyph, % letters are missing. \begingroup \uccode`\.="#1\relax \uppercase{.} \endgroup \else \errhelp = \EMsimple \errmessage{Unicode character U+#1 not supported, sorry}% \fi \else \csname uni:#1\endcsname \fi } % These macros are used here to construct the names of macros % that expand to the definitions for UTF-8 sequences. \def\UTFviiiTwoOctetsName#1#2{% \csname u8:#1\string #2\endcsname}% \def\UTFviiiThreeOctetsName#1#2#3{% \csname u8:#1\string #2\string #3\endcsname}% \def\UTFviiiFourOctetsName#1#2#3#4{% \csname u8:#1\string #2\string #3\string #4\endcsname}% % generate UTF-16 from codepoint \def\utfsixteentotoks#1#2{% \countUTFz = "#2\relax \ifnum \countUTFz > 65535 % doesn't work for codepoints > U+FFFF % we don't define glyphs for any of these anyway, so it doesn't matter #1={U+#2}% \else \countUTFx = \countUTFz \divide\countUTFx by 256 \countUTFy = \countUTFx \multiply\countUTFx by 256 \advance\countUTFz by -\countUTFx \uccode`,=\countUTFy \uccode`;=\countUTFz \ifnum\countUTFy = 0 \uppercase{#1={\nullbyte\string;}}% \else\ifnum\countUTFz = 0 \uppercase{#1={\string,\nullbyte}}% \else \uppercase{#1={\string,\string;}}% \fi\fi % NB \uppercase cannot insert a null byte \fi } \newif\ifutfbytespdf \utfbytespdffalse % For UTF-8 byte sequences (TeX, e-TeX and pdfTeX), % provide a definition macro to replace a Unicode character; % this gets used by the @U command % \begingroup \catcode`\"=12 \catcode`\<=12 \catcode`\.=12 \catcode`\,=12 \catcode`\;=12 \catcode`\!=12 \catcode`\~=13 \gdef\DeclareUnicodeCharacterUTFviii#1#2{% \countUTFz = "#1\relax \begingroup \parseXMLCharref % % Completely expand \UTFviiiTmp, which looks like: % 1. \UTFviiTwoOctetsName B1 B2 % 2. \csname u8:B1 \string B2 \endcsname % 3. \u8: B1 B2 (a single control sequence token) \xdef\UTFviiiTmp{\UTFviiiTmp}% % \ifpdf \toksA={#2}% \utfsixteentotoks\toksB{#1}% \expandafter\xdef\UTFviiiTmp{% \noexpand\ifutfbytespdf\noexpand\utfbytes{\the\toksB}% \noexpand\else\the\toksA\noexpand\fi}% \else \expandafter\gdef\UTFviiiTmp{#2}% \fi % \expandafter\ifx\csname uni:#1\endcsname \relax \else \message{Internal error, already defined: #1}% \fi % % define an additional control sequence for this code point. \expandafter\globallet\csname uni:#1\endcsname \UTFviiiTmp \endgroup} % % Given the value in \countUTFz as a Unicode code point, set % \UTFviiiTmp to one of the \UTVviii*OctetsName macros followed by % the corresponding UTF-8 sequence. \gdef\parseXMLCharref{% \ifnum\countUTFz < "20\relax \errhelp = \EMsimple \errmessage{Cannot define Unicode char value < 0020}% \else\ifnum\countUTFz < "800\relax \parseUTFviiiA,% \parseUTFviiiB C\UTFviiiTwoOctetsName.,% \else\ifnum\countUTFz < "10000\relax \parseUTFviiiA;% \parseUTFviiiA,% \parseUTFviiiB E\UTFviiiThreeOctetsName.{,;}% \else \parseUTFviiiA;% \parseUTFviiiA,% \parseUTFviiiA!% \parseUTFviiiB F\UTFviiiFourOctetsName.{!,;}% \fi\fi\fi } % Extract a byte from the end of the UTF-8 representation of \countUTFx. % It must be a non-initial byte in the sequence. % Change \uccode of #1 for it to be used in \parseUTFviiiB as one % of the bytes. \gdef\parseUTFviiiA#1{% \countUTFx = \countUTFz \divide\countUTFz by 64 \countUTFy = \countUTFz % Save to be the future value of \countUTFz. \multiply\countUTFz by 64 % \countUTFz is now \countUTFx with the last 5 bits cleared. Subtract % in order to get the last five bits. \advance\countUTFx by -\countUTFz % Convert this to the byte in the UTF-8 sequence. \advance\countUTFx by 128 \uccode `#1\countUTFx \countUTFz = \countUTFy} % Used to put a UTF-8 byte sequence into \UTFviiiTmp % #1 is the increment for \countUTFz to yield a the first byte of the UTF-8 % sequence. % #2 is one of the \UTFviii*OctetsName macros. % #3 is always a full stop (.) % #4 is a template for the other bytes in the sequence. The values for these % bytes is substituted in here with \uppercase using the \uccode's. \gdef\parseUTFviiiB#1#2#3#4{% \advance\countUTFz by "#10\relax \uccode `#3\countUTFz \uppercase{\gdef\UTFviiiTmp{#2#3#4}}} \endgroup % For native Unicode handling (XeTeX and LuaTeX), % provide a definition macro that sets a catcode to `other' non-globally % \def\DeclareUnicodeCharacterNativeOther#1#2{% \catcode"#1=\other } % Suppress ligature creation from adjacent characters. \ifluatex % Braces do not suppress ligature creation in LuaTeX, e.g. in of{}fice % to suppress the "ff" ligature. Using a kern appears to be the only % workaround. \def\nolig{\kern0pt{}} \else \def\nolig{{}} \fi % https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_M % U+0000..U+007F = https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block) % U+0080..U+00FF = https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block) % U+0100..U+017F = https://en.wikipedia.org/wiki/Latin_Extended-A % U+0180..U+024F = https://en.wikipedia.org/wiki/Latin_Extended-B % % Many of our renditions are less than wonderful, and all the missing % characters are available somewhere. Loading the necessary fonts % awaits user request. We can't truly support Unicode without % reimplementing everything that's been done in LaTeX for many years, % plus probably using luatex or xetex, and who knows what else. % We won't be doing that here in this simple file. But we can try to at % least make most of the characters not bomb out. % \def\unicodechardefs{% \DeclareUnicodeCharacter{0020}{ } % space \DeclareUnicodeCharacter{0021}{\char"21 }% % space to terminate number \DeclareUnicodeCharacter{0022}{\char"22 }% \DeclareUnicodeCharacter{0023}{\char"23 }% \DeclareUnicodeCharacter{0024}{\char"24 }% \DeclareUnicodeCharacter{0025}{\char"25 }% \DeclareUnicodeCharacter{0026}{\char"26 }% \DeclareUnicodeCharacter{0027}{\char"27 }% \DeclareUnicodeCharacter{0028}{\char"28 }% \DeclareUnicodeCharacter{0029}{\char"29 }% \DeclareUnicodeCharacter{002A}{\char"2A }% \DeclareUnicodeCharacter{002B}{\char"2B }% \DeclareUnicodeCharacter{002C}{\char"2C }% \DeclareUnicodeCharacter{002D}{\char"2D }% \DeclareUnicodeCharacter{002E}{\char"2E }% \DeclareUnicodeCharacter{002F}{\char"2F }% \DeclareUnicodeCharacter{0030}{0}% \DeclareUnicodeCharacter{0031}{1}% \DeclareUnicodeCharacter{0032}{2}% \DeclareUnicodeCharacter{0033}{3}% \DeclareUnicodeCharacter{0034}{4}% \DeclareUnicodeCharacter{0035}{5}% \DeclareUnicodeCharacter{0036}{6}% \DeclareUnicodeCharacter{0037}{7}% \DeclareUnicodeCharacter{0038}{8}% \DeclareUnicodeCharacter{0039}{9}% \DeclareUnicodeCharacter{003A}{\char"3A }% \DeclareUnicodeCharacter{003B}{\char"3B }% \DeclareUnicodeCharacter{003C}{\char"3C }% \DeclareUnicodeCharacter{003D}{\char"3D }% \DeclareUnicodeCharacter{003E}{\char"3E }% \DeclareUnicodeCharacter{003F}{\char"3F }% \DeclareUnicodeCharacter{0040}{\char"40 }% \DeclareUnicodeCharacter{0041}{A}% \DeclareUnicodeCharacter{0042}{B}% \DeclareUnicodeCharacter{0043}{C}% \DeclareUnicodeCharacter{0044}{D}% \DeclareUnicodeCharacter{0045}{E}% \DeclareUnicodeCharacter{0046}{F}% \DeclareUnicodeCharacter{0047}{G}% \DeclareUnicodeCharacter{0048}{H}% \DeclareUnicodeCharacter{0049}{I}% \DeclareUnicodeCharacter{004A}{J}% \DeclareUnicodeCharacter{004B}{K}% \DeclareUnicodeCharacter{004C}{L}% \DeclareUnicodeCharacter{004D}{M}% \DeclareUnicodeCharacter{004E}{N}% \DeclareUnicodeCharacter{004F}{O}% \DeclareUnicodeCharacter{0050}{P}% \DeclareUnicodeCharacter{0051}{Q}% \DeclareUnicodeCharacter{0052}{R}% \DeclareUnicodeCharacter{0053}{S}% \DeclareUnicodeCharacter{0054}{T}% \DeclareUnicodeCharacter{0055}{U}% \DeclareUnicodeCharacter{0056}{V}% \DeclareUnicodeCharacter{0057}{W}% \DeclareUnicodeCharacter{0058}{X}% \DeclareUnicodeCharacter{0059}{Y}% \DeclareUnicodeCharacter{005A}{Z}% \DeclareUnicodeCharacter{005B}{\char"5B }% \DeclareUnicodeCharacter{005C}{\char"5C }% \DeclareUnicodeCharacter{005D}{\char"5D }% \DeclareUnicodeCharacter{005E}{\char"5E }% \DeclareUnicodeCharacter{005F}{\char"5F }% \DeclareUnicodeCharacter{0060}{\char"60 }% \DeclareUnicodeCharacter{0061}{a}% \DeclareUnicodeCharacter{0062}{b}% \DeclareUnicodeCharacter{0063}{c}% \DeclareUnicodeCharacter{0064}{d}% \DeclareUnicodeCharacter{0065}{e}% \DeclareUnicodeCharacter{0066}{f}% \DeclareUnicodeCharacter{0067}{g}% \DeclareUnicodeCharacter{0068}{h}% \DeclareUnicodeCharacter{0069}{i}% \DeclareUnicodeCharacter{006A}{j}% \DeclareUnicodeCharacter{006B}{k}% \DeclareUnicodeCharacter{006C}{l}% \DeclareUnicodeCharacter{006D}{m}% \DeclareUnicodeCharacter{006E}{n}% \DeclareUnicodeCharacter{006F}{o}% \DeclareUnicodeCharacter{0070}{p}% \DeclareUnicodeCharacter{0071}{q}% \DeclareUnicodeCharacter{0072}{r}% \DeclareUnicodeCharacter{0073}{s}% \DeclareUnicodeCharacter{0074}{t}% \DeclareUnicodeCharacter{0075}{u}% \DeclareUnicodeCharacter{0076}{v}% \DeclareUnicodeCharacter{0077}{w}% \DeclareUnicodeCharacter{0078}{x}% \DeclareUnicodeCharacter{0079}{y}% \DeclareUnicodeCharacter{007A}{z}% \DeclareUnicodeCharacter{007B}{\char"7B }% \DeclareUnicodeCharacter{007C}{\char"7C }% \DeclareUnicodeCharacter{007D}{\char"7D }% \DeclareUnicodeCharacter{007E}{\char"7E }% % \DeclareUnicodeCharacter{007F}{} % DEL % \DeclareUnicodeCharacter{00A0}{\tie}% \DeclareUnicodeCharacter{00A1}{\exclamdown}% \DeclareUnicodeCharacter{00A2}{{\tcfont \char162}}% 0242=cent \DeclareUnicodeCharacter{00A3}{\pounds{}}% \DeclareUnicodeCharacter{00A4}{{\tcfont \char164}}% 0244=currency \DeclareUnicodeCharacter{00A5}{{\tcfont \char165}}% 0245=yen \DeclareUnicodeCharacter{00A6}{{\tcfont \char166}}% 0246=brokenbar \DeclareUnicodeCharacter{00A7}{\S}% \DeclareUnicodeCharacter{00A8}{\"{ }}% \DeclareUnicodeCharacter{00A9}{\copyright{}}% \DeclareUnicodeCharacter{00AA}{\ordf}% \DeclareUnicodeCharacter{00AB}{\guillemetleft{}}% \DeclareUnicodeCharacter{00AC}{\ensuremath\lnot}% \DeclareUnicodeCharacter{00AD}{\-}% \DeclareUnicodeCharacter{00AE}{\registeredsymbol{}}% \DeclareUnicodeCharacter{00AF}{\={ }}% % \DeclareUnicodeCharacter{00B0}{\textdegree}% \DeclareUnicodeCharacter{00B1}{\ensuremath\pm}% \DeclareUnicodeCharacter{00B2}{$^2$}% \DeclareUnicodeCharacter{00B3}{$^3$}% \DeclareUnicodeCharacter{00B4}{\'{ }}% \DeclareUnicodeCharacter{00B5}{$\mu$}% \DeclareUnicodeCharacter{00B6}{\P}% \DeclareUnicodeCharacter{00B7}{\ensuremath\cdot}% \DeclareUnicodeCharacter{00B8}{\cedilla{ }}% \DeclareUnicodeCharacter{00B9}{$^1$}% \DeclareUnicodeCharacter{00BA}{\ordm}% \DeclareUnicodeCharacter{00BB}{\guillemetright{}}% \DeclareUnicodeCharacter{00BC}{$1\over4$}% \DeclareUnicodeCharacter{00BD}{$1\over2$}% \DeclareUnicodeCharacter{00BE}{$3\over4$}% \DeclareUnicodeCharacter{00BF}{\questiondown}% % \DeclareUnicodeCharacter{00C0}{\`A}% \DeclareUnicodeCharacter{00C1}{\'A}% \DeclareUnicodeCharacter{00C2}{\^A}% \DeclareUnicodeCharacter{00C3}{\~A}% \DeclareUnicodeCharacter{00C4}{\"A}% \DeclareUnicodeCharacter{00C5}{\AA}% \DeclareUnicodeCharacter{00C6}{\AE}% \DeclareUnicodeCharacter{00C7}{\cedilla{C}}% \DeclareUnicodeCharacter{00C8}{\`E}% \DeclareUnicodeCharacter{00C9}{\'E}% \DeclareUnicodeCharacter{00CA}{\^E}% \DeclareUnicodeCharacter{00CB}{\"E}% \DeclareUnicodeCharacter{00CC}{\`I}% \DeclareUnicodeCharacter{00CD}{\'I}% \DeclareUnicodeCharacter{00CE}{\^I}% \DeclareUnicodeCharacter{00CF}{\"I}% % \DeclareUnicodeCharacter{00D0}{\DH}% \DeclareUnicodeCharacter{00D1}{\~N}% \DeclareUnicodeCharacter{00D2}{\`O}% \DeclareUnicodeCharacter{00D3}{\'O}% \DeclareUnicodeCharacter{00D4}{\^O}% \DeclareUnicodeCharacter{00D5}{\~O}% \DeclareUnicodeCharacter{00D6}{\"O}% \DeclareUnicodeCharacter{00D7}{\ensuremath\times}% \DeclareUnicodeCharacter{00D8}{\O}% \DeclareUnicodeCharacter{00D9}{\`U}% \DeclareUnicodeCharacter{00DA}{\'U}% \DeclareUnicodeCharacter{00DB}{\^U}% \DeclareUnicodeCharacter{00DC}{\"U}% \DeclareUnicodeCharacter{00DD}{\'Y}% \DeclareUnicodeCharacter{00DE}{\TH}% \DeclareUnicodeCharacter{00DF}{\ss}% % \DeclareUnicodeCharacter{00E0}{\`a}% \DeclareUnicodeCharacter{00E1}{\'a}% \DeclareUnicodeCharacter{00E2}{\^a}% \DeclareUnicodeCharacter{00E3}{\~a}% \DeclareUnicodeCharacter{00E4}{\"a}% \DeclareUnicodeCharacter{00E5}{\aa}% \DeclareUnicodeCharacter{00E6}{\ae}% \DeclareUnicodeCharacter{00E7}{\cedilla{c}}% \DeclareUnicodeCharacter{00E8}{\`e}% \DeclareUnicodeCharacter{00E9}{\'e}% \DeclareUnicodeCharacter{00EA}{\^e}% \DeclareUnicodeCharacter{00EB}{\"e}% \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}% \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}% \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}% \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}% % \DeclareUnicodeCharacter{00F0}{\dh}% \DeclareUnicodeCharacter{00F1}{\~n}% \DeclareUnicodeCharacter{00F2}{\`o}% \DeclareUnicodeCharacter{00F3}{\'o}% \DeclareUnicodeCharacter{00F4}{\^o}% \DeclareUnicodeCharacter{00F5}{\~o}% \DeclareUnicodeCharacter{00F6}{\"o}% \DeclareUnicodeCharacter{00F7}{\ensuremath\div}% \DeclareUnicodeCharacter{00F8}{\o}% \DeclareUnicodeCharacter{00F9}{\`u}% \DeclareUnicodeCharacter{00FA}{\'u}% \DeclareUnicodeCharacter{00FB}{\^u}% \DeclareUnicodeCharacter{00FC}{\"u}% \DeclareUnicodeCharacter{00FD}{\'y}% \DeclareUnicodeCharacter{00FE}{\th}% \DeclareUnicodeCharacter{00FF}{\"y}% % \DeclareUnicodeCharacter{0100}{\=A}% \DeclareUnicodeCharacter{0101}{\=a}% \DeclareUnicodeCharacter{0102}{\u{A}}% \DeclareUnicodeCharacter{0103}{\u{a}}% \DeclareUnicodeCharacter{0104}{\ogonek{A}}% \DeclareUnicodeCharacter{0105}{\ogonek{a}}% \DeclareUnicodeCharacter{0106}{\'C}% \DeclareUnicodeCharacter{0107}{\'c}% \DeclareUnicodeCharacter{0108}{\^C}% \DeclareUnicodeCharacter{0109}{\^c}% \DeclareUnicodeCharacter{010A}{\dotaccent{C}}% \DeclareUnicodeCharacter{010B}{\dotaccent{c}}% \DeclareUnicodeCharacter{010C}{\v{C}}% \DeclareUnicodeCharacter{010D}{\v{c}}% \DeclareUnicodeCharacter{010E}{\v{D}}% \DeclareUnicodeCharacter{010F}{d'}% % \DeclareUnicodeCharacter{0110}{\DH}% \DeclareUnicodeCharacter{0111}{\dh}% \DeclareUnicodeCharacter{0112}{\=E}% \DeclareUnicodeCharacter{0113}{\=e}% \DeclareUnicodeCharacter{0114}{\u{E}}% \DeclareUnicodeCharacter{0115}{\u{e}}% \DeclareUnicodeCharacter{0116}{\dotaccent{E}}% \DeclareUnicodeCharacter{0117}{\dotaccent{e}}% \DeclareUnicodeCharacter{0118}{\ogonek{E}}% \DeclareUnicodeCharacter{0119}{\ogonek{e}}% \DeclareUnicodeCharacter{011A}{\v{E}}% \DeclareUnicodeCharacter{011B}{\v{e}}% \DeclareUnicodeCharacter{011C}{\^G}% \DeclareUnicodeCharacter{011D}{\^g}% \DeclareUnicodeCharacter{011E}{\u{G}}% \DeclareUnicodeCharacter{011F}{\u{g}}% % \DeclareUnicodeCharacter{0120}{\dotaccent{G}}% \DeclareUnicodeCharacter{0121}{\dotaccent{g}}% \DeclareUnicodeCharacter{0122}{\cedilla{G}}% \DeclareUnicodeCharacter{0123}{\cedilla{g}}% \DeclareUnicodeCharacter{0124}{\^H}% \DeclareUnicodeCharacter{0125}{\^h}% \DeclareUnicodeCharacter{0126}{\missingcharmsg{H WITH STROKE}}% \DeclareUnicodeCharacter{0127}{\missingcharmsg{h WITH STROKE}}% \DeclareUnicodeCharacter{0128}{\~I}% \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}% \DeclareUnicodeCharacter{012A}{\=I}% \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}% \DeclareUnicodeCharacter{012C}{\u{I}}% \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}% \DeclareUnicodeCharacter{012E}{\ogonek{I}}% \DeclareUnicodeCharacter{012F}{\ogonek{i}}% % \DeclareUnicodeCharacter{0130}{\dotaccent{I}}% \DeclareUnicodeCharacter{0131}{\dotless{i}}% \DeclareUnicodeCharacter{0132}{IJ}% \DeclareUnicodeCharacter{0133}{ij}% \DeclareUnicodeCharacter{0134}{\^J}% \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}% \DeclareUnicodeCharacter{0136}{\cedilla{K}}% \DeclareUnicodeCharacter{0137}{\cedilla{k}}% \DeclareUnicodeCharacter{0138}{\ensuremath\kappa}% \DeclareUnicodeCharacter{0139}{\'L}% \DeclareUnicodeCharacter{013A}{\'l}% \DeclareUnicodeCharacter{013B}{\cedilla{L}}% \DeclareUnicodeCharacter{013C}{\cedilla{l}}% \DeclareUnicodeCharacter{013D}{L'}% should kern \DeclareUnicodeCharacter{013E}{l'}% should kern \DeclareUnicodeCharacter{013F}{L\U{00B7}}% % \DeclareUnicodeCharacter{0140}{l\U{00B7}}% \DeclareUnicodeCharacter{0141}{\L}% \DeclareUnicodeCharacter{0142}{\l}% \DeclareUnicodeCharacter{0143}{\'N}% \DeclareUnicodeCharacter{0144}{\'n}% \DeclareUnicodeCharacter{0145}{\cedilla{N}}% \DeclareUnicodeCharacter{0146}{\cedilla{n}}% \DeclareUnicodeCharacter{0147}{\v{N}}% \DeclareUnicodeCharacter{0148}{\v{n}}% \DeclareUnicodeCharacter{0149}{'n}% \DeclareUnicodeCharacter{014A}{\missingcharmsg{ENG}}% \DeclareUnicodeCharacter{014B}{\missingcharmsg{eng}}% \DeclareUnicodeCharacter{014C}{\=O}% \DeclareUnicodeCharacter{014D}{\=o}% \DeclareUnicodeCharacter{014E}{\u{O}}% \DeclareUnicodeCharacter{014F}{\u{o}}% % \DeclareUnicodeCharacter{0150}{\H{O}}% \DeclareUnicodeCharacter{0151}{\H{o}}% \DeclareUnicodeCharacter{0152}{\OE}% \DeclareUnicodeCharacter{0153}{\oe}% \DeclareUnicodeCharacter{0154}{\'R}% \DeclareUnicodeCharacter{0155}{\'r}% \DeclareUnicodeCharacter{0156}{\cedilla{R}}% \DeclareUnicodeCharacter{0157}{\cedilla{r}}% \DeclareUnicodeCharacter{0158}{\v{R}}% \DeclareUnicodeCharacter{0159}{\v{r}}% \DeclareUnicodeCharacter{015A}{\'S}% \DeclareUnicodeCharacter{015B}{\'s}% \DeclareUnicodeCharacter{015C}{\^S}% \DeclareUnicodeCharacter{015D}{\^s}% \DeclareUnicodeCharacter{015E}{\cedilla{S}}% \DeclareUnicodeCharacter{015F}{\cedilla{s}}% % \DeclareUnicodeCharacter{0160}{\v{S}}% \DeclareUnicodeCharacter{0161}{\v{s}}% \DeclareUnicodeCharacter{0162}{\cedilla{T}}% \DeclareUnicodeCharacter{0163}{\cedilla{t}}% \DeclareUnicodeCharacter{0164}{\v{T}}% \DeclareUnicodeCharacter{0165}{\v{t}}% \DeclareUnicodeCharacter{0166}{\missingcharmsg{H WITH STROKE}}% \DeclareUnicodeCharacter{0167}{\missingcharmsg{h WITH STROKE}}% \DeclareUnicodeCharacter{0168}{\~U}% \DeclareUnicodeCharacter{0169}{\~u}% \DeclareUnicodeCharacter{016A}{\=U}% \DeclareUnicodeCharacter{016B}{\=u}% \DeclareUnicodeCharacter{016C}{\u{U}}% \DeclareUnicodeCharacter{016D}{\u{u}}% \DeclareUnicodeCharacter{016E}{\ringaccent{U}}% \DeclareUnicodeCharacter{016F}{\ringaccent{u}}% % \DeclareUnicodeCharacter{0170}{\H{U}}% \DeclareUnicodeCharacter{0171}{\H{u}}% \DeclareUnicodeCharacter{0172}{\ogonek{U}}% \DeclareUnicodeCharacter{0173}{\ogonek{u}}% \DeclareUnicodeCharacter{0174}{\^W}% \DeclareUnicodeCharacter{0175}{\^w}% \DeclareUnicodeCharacter{0176}{\^Y}% \DeclareUnicodeCharacter{0177}{\^y}% \DeclareUnicodeCharacter{0178}{\"Y}% \DeclareUnicodeCharacter{0179}{\'Z}% \DeclareUnicodeCharacter{017A}{\'z}% \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}% \DeclareUnicodeCharacter{017C}{\dotaccent{z}}% \DeclareUnicodeCharacter{017D}{\v{Z}}% \DeclareUnicodeCharacter{017E}{\v{z}}% \DeclareUnicodeCharacter{017F}{\missingcharmsg{LONG S}}% % \DeclareUnicodeCharacter{01C4}{D\v{Z}}% \DeclareUnicodeCharacter{01C5}{D\v{z}}% \DeclareUnicodeCharacter{01C6}{d\v{z}}% \DeclareUnicodeCharacter{01C7}{LJ}% \DeclareUnicodeCharacter{01C8}{Lj}% \DeclareUnicodeCharacter{01C9}{lj}% \DeclareUnicodeCharacter{01CA}{NJ}% \DeclareUnicodeCharacter{01CB}{Nj}% \DeclareUnicodeCharacter{01CC}{nj}% \DeclareUnicodeCharacter{01CD}{\v{A}}% \DeclareUnicodeCharacter{01CE}{\v{a}}% \DeclareUnicodeCharacter{01CF}{\v{I}}% % \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}% \DeclareUnicodeCharacter{01D1}{\v{O}}% \DeclareUnicodeCharacter{01D2}{\v{o}}% \DeclareUnicodeCharacter{01D3}{\v{U}}% \DeclareUnicodeCharacter{01D4}{\v{u}}% % \DeclareUnicodeCharacter{01E2}{\={\AE}}% \DeclareUnicodeCharacter{01E3}{\={\ae}}% \DeclareUnicodeCharacter{01E6}{\v{G}}% \DeclareUnicodeCharacter{01E7}{\v{g}}% \DeclareUnicodeCharacter{01E8}{\v{K}}% \DeclareUnicodeCharacter{01E9}{\v{k}}% % \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}% \DeclareUnicodeCharacter{01F1}{DZ}% \DeclareUnicodeCharacter{01F2}{Dz}% \DeclareUnicodeCharacter{01F3}{dz}% \DeclareUnicodeCharacter{01F4}{\'G}% \DeclareUnicodeCharacter{01F5}{\'g}% \DeclareUnicodeCharacter{01F8}{\`N}% \DeclareUnicodeCharacter{01F9}{\`n}% \DeclareUnicodeCharacter{01FC}{\'{\AE}}% \DeclareUnicodeCharacter{01FD}{\'{\ae}}% \DeclareUnicodeCharacter{01FE}{\'{\O}}% \DeclareUnicodeCharacter{01FF}{\'{\o}}% % \DeclareUnicodeCharacter{021E}{\v{H}}% \DeclareUnicodeCharacter{021F}{\v{h}}% % \DeclareUnicodeCharacter{0226}{\dotaccent{A}}% \DeclareUnicodeCharacter{0227}{\dotaccent{a}}% \DeclareUnicodeCharacter{0228}{\cedilla{E}}% \DeclareUnicodeCharacter{0229}{\cedilla{e}}% \DeclareUnicodeCharacter{022E}{\dotaccent{O}}% \DeclareUnicodeCharacter{022F}{\dotaccent{o}}% % \DeclareUnicodeCharacter{0232}{\=Y}% \DeclareUnicodeCharacter{0233}{\=y}% \DeclareUnicodeCharacter{0237}{\dotless{j}}% % \DeclareUnicodeCharacter{02BC}{'}% % \DeclareUnicodeCharacter{02DB}{\ogonek{ }}% % % Greek letters upper case \DeclareUnicodeCharacter{0391}{{\it A}}% \DeclareUnicodeCharacter{0392}{{\it B}}% \DeclareUnicodeCharacter{0393}{\ensuremath{\mit\Gamma}}% \DeclareUnicodeCharacter{0394}{\ensuremath{\mit\Delta}}% \DeclareUnicodeCharacter{0395}{{\it E}}% \DeclareUnicodeCharacter{0396}{{\it Z}}% \DeclareUnicodeCharacter{0397}{{\it H}}% \DeclareUnicodeCharacter{0398}{\ensuremath{\mit\Theta}}% \DeclareUnicodeCharacter{0399}{{\it I}}% \DeclareUnicodeCharacter{039A}{{\it K}}% \DeclareUnicodeCharacter{039B}{\ensuremath{\mit\Lambda}}% \DeclareUnicodeCharacter{039C}{{\it M}}% \DeclareUnicodeCharacter{039D}{{\it N}}% \DeclareUnicodeCharacter{039E}{\ensuremath{\mit\Xi}}% \DeclareUnicodeCharacter{039F}{{\it O}}% \DeclareUnicodeCharacter{03A0}{\ensuremath{\mit\Pi}}% \DeclareUnicodeCharacter{03A1}{{\it P}}% %\DeclareUnicodeCharacter{03A2}{} % none - corresponds to final sigma \DeclareUnicodeCharacter{03A3}{\ensuremath{\mit\Sigma}}% \DeclareUnicodeCharacter{03A4}{{\it T}}% \DeclareUnicodeCharacter{03A5}{\ensuremath{\mit\Upsilon}}% \DeclareUnicodeCharacter{03A6}{\ensuremath{\mit\Phi}}% \DeclareUnicodeCharacter{03A7}{{\it X}}% \DeclareUnicodeCharacter{03A8}{\ensuremath{\mit\Psi}}% \DeclareUnicodeCharacter{03A9}{\ensuremath{\mit\Omega}}% % % Vowels with accents \DeclareUnicodeCharacter{0390}{\ensuremath{\ddot{\acute\iota}}}% \DeclareUnicodeCharacter{03AC}{\ensuremath{\acute\alpha}}% \DeclareUnicodeCharacter{03AD}{\ensuremath{\acute\epsilon}}% \DeclareUnicodeCharacter{03AE}{\ensuremath{\acute\eta}}% \DeclareUnicodeCharacter{03AF}{\ensuremath{\acute\iota}}% \DeclareUnicodeCharacter{03B0}{\ensuremath{\acute{\ddot\upsilon}}}% % % Standalone accent \DeclareUnicodeCharacter{0384}{\ensuremath{\acute{\ }}}% % % Greek letters lower case \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}% \DeclareUnicodeCharacter{03B2}{\ensuremath\beta}% \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}% \DeclareUnicodeCharacter{03B4}{\ensuremath\delta}% \DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon}% \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}% \DeclareUnicodeCharacter{03B7}{\ensuremath\eta}% \DeclareUnicodeCharacter{03B8}{\ensuremath\theta}% \DeclareUnicodeCharacter{03B9}{\ensuremath\iota}% \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}% \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}% \DeclareUnicodeCharacter{03BC}{\ensuremath\mu}% \DeclareUnicodeCharacter{03BD}{\ensuremath\nu}% \DeclareUnicodeCharacter{03BE}{\ensuremath\xi}% \DeclareUnicodeCharacter{03BF}{{\it o}}% omicron \DeclareUnicodeCharacter{03C0}{\ensuremath\pi}% \DeclareUnicodeCharacter{03C1}{\ensuremath\rho}% \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma}% \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}% \DeclareUnicodeCharacter{03C4}{\ensuremath\tau}% \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}% \DeclareUnicodeCharacter{03C6}{\ensuremath\phi}% \DeclareUnicodeCharacter{03C7}{\ensuremath\chi}% \DeclareUnicodeCharacter{03C8}{\ensuremath\psi}% \DeclareUnicodeCharacter{03C9}{\ensuremath\omega}% % % More Greek vowels with accents \DeclareUnicodeCharacter{03CA}{\ensuremath{\ddot\iota}}% \DeclareUnicodeCharacter{03CB}{\ensuremath{\ddot\upsilon}}% \DeclareUnicodeCharacter{03CC}{\ensuremath{\acute o}}% \DeclareUnicodeCharacter{03CD}{\ensuremath{\acute\upsilon}}% \DeclareUnicodeCharacter{03CE}{\ensuremath{\acute\omega}}% % % Variant Greek letters \DeclareUnicodeCharacter{03D1}{\ensuremath\vartheta}% \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi}% \DeclareUnicodeCharacter{03F1}{\ensuremath\varrho}% % \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}% \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}% \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}% \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}% \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}% \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}% \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}% \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}% \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}% \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}% \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}% \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}% % \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}% \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}% % \DeclareUnicodeCharacter{1E20}{\=G}% \DeclareUnicodeCharacter{1E21}{\=g}% \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}% \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}% \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}% \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}% \DeclareUnicodeCharacter{1E26}{\"H}% \DeclareUnicodeCharacter{1E27}{\"h}% % \DeclareUnicodeCharacter{1E30}{\'K}% \DeclareUnicodeCharacter{1E31}{\'k}% \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}% \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}% \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}% \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}% \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}% \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}% \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}% \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}% \DeclareUnicodeCharacter{1E3E}{\'M}% \DeclareUnicodeCharacter{1E3F}{\'m}% % \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}% \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}% \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}% \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}% \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}% \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}% \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}% \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}% \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}% \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}% % \DeclareUnicodeCharacter{1E54}{\'P}% \DeclareUnicodeCharacter{1E55}{\'p}% \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}% \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}% \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}% \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}% \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}% \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}% \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}% \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}% % \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}% \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}% \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}% \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}% \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}% \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}% \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}% \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}% \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}% \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}% % \DeclareUnicodeCharacter{1E7C}{\~V}% \DeclareUnicodeCharacter{1E7D}{\~v}% \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}% \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}% % \DeclareUnicodeCharacter{1E80}{\`W}% \DeclareUnicodeCharacter{1E81}{\`w}% \DeclareUnicodeCharacter{1E82}{\'W}% \DeclareUnicodeCharacter{1E83}{\'w}% \DeclareUnicodeCharacter{1E84}{\"W}% \DeclareUnicodeCharacter{1E85}{\"w}% \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}% \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}% \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}% \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}% \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}% \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}% \DeclareUnicodeCharacter{1E8C}{\"X}% \DeclareUnicodeCharacter{1E8D}{\"x}% \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}% \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}% % \DeclareUnicodeCharacter{1E90}{\^Z}% \DeclareUnicodeCharacter{1E91}{\^z}% \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}% \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}% \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}% \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}% \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}% \DeclareUnicodeCharacter{1E97}{\"t}% \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}% \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}% % \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}% \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}% % \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}% \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}% \DeclareUnicodeCharacter{1EBC}{\~E}% \DeclareUnicodeCharacter{1EBD}{\~e}% % \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}% \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}% \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}% \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}% % \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}% \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}% % \DeclareUnicodeCharacter{1EF2}{\`Y}% \DeclareUnicodeCharacter{1EF3}{\`y}% \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}% % \DeclareUnicodeCharacter{1EF8}{\~Y}% \DeclareUnicodeCharacter{1EF9}{\~y}% % % Exotic spaces \DeclareUnicodeCharacter{2007}{\hphantom{0}}% % % Punctuation \DeclareUnicodeCharacter{2013}{--}% \DeclareUnicodeCharacter{2014}{---}% \DeclareUnicodeCharacter{2018}{\quoteleft\nolig}% \DeclareUnicodeCharacter{2019}{\quoteright\nolig}% \DeclareUnicodeCharacter{201A}{\quotesinglbase{}}% \DeclareUnicodeCharacter{201C}{\quotedblleft{}}% \DeclareUnicodeCharacter{201D}{\quotedblright{}}% \DeclareUnicodeCharacter{201E}{\quotedblbase{}}% \DeclareUnicodeCharacter{2020}{\ensuremath\dagger}% \DeclareUnicodeCharacter{2021}{\ensuremath\ddagger}% \DeclareUnicodeCharacter{2022}{\bullet{}}% \DeclareUnicodeCharacter{202F}{\thinspace}% \DeclareUnicodeCharacter{2026}{\dots{}}% \DeclareUnicodeCharacter{2039}{\guilsinglleft{}}% \DeclareUnicodeCharacter{203A}{\guilsinglright{}}% % \DeclareUnicodeCharacter{20AC}{\euro{}}% % \DeclareUnicodeCharacter{2192}{\arrow}% \DeclareUnicodeCharacter{21D2}{\result{}}% % % Mathematical symbols \DeclareUnicodeCharacter{2200}{\ensuremath\forall}% \DeclareUnicodeCharacter{2203}{\ensuremath\exists}% \DeclareUnicodeCharacter{2208}{\ensuremath\in}% \DeclareUnicodeCharacter{2212}{\minus{}}% \DeclareUnicodeCharacter{2217}{\ast}% \DeclareUnicodeCharacter{221E}{\ensuremath\infty}% \DeclareUnicodeCharacter{2225}{\ensuremath\parallel}% \DeclareUnicodeCharacter{2227}{\ensuremath\wedge}% \DeclareUnicodeCharacter{2229}{\ensuremath\cap}% \DeclareUnicodeCharacter{2261}{\equiv{}}% \DeclareUnicodeCharacter{2264}{\ensuremath\leq}% \DeclareUnicodeCharacter{2265}{\ensuremath\geq}% \DeclareUnicodeCharacter{2282}{\ensuremath\subset}% \DeclareUnicodeCharacter{2287}{\ensuremath\supseteq}% % \DeclareUnicodeCharacter{2016}{\ensuremath\Vert}% \DeclareUnicodeCharacter{2032}{\ensuremath{^\prime}}% \DeclareUnicodeCharacter{210F}{\ensuremath\hbar}% \DeclareUnicodeCharacter{2111}{\ensuremath\Im}% \DeclareUnicodeCharacter{2113}{\ensuremath\ell}% \DeclareUnicodeCharacter{2118}{\ensuremath\wp}% \DeclareUnicodeCharacter{211C}{\ensuremath\Re}% \DeclareUnicodeCharacter{2135}{\ensuremath\aleph}% \DeclareUnicodeCharacter{2190}{\ensuremath\leftarrow}% \DeclareUnicodeCharacter{2191}{\ensuremath\uparrow}% \DeclareUnicodeCharacter{2193}{\ensuremath\downarrow}% \DeclareUnicodeCharacter{2194}{\ensuremath\leftrightarrow}% \DeclareUnicodeCharacter{2195}{\ensuremath\updownarrow}% \DeclareUnicodeCharacter{2196}{\ensuremath\nwarrow}% \DeclareUnicodeCharacter{2197}{\ensuremath\nearrow}% \DeclareUnicodeCharacter{2198}{\ensuremath\searrow}% \DeclareUnicodeCharacter{2199}{\ensuremath\swarrow}% \DeclareUnicodeCharacter{21A6}{\ensuremath\mapsto}% \DeclareUnicodeCharacter{21A9}{\ensuremath\hookleftarrow}% \DeclareUnicodeCharacter{21AA}{\ensuremath\hookrightarrow}% \DeclareUnicodeCharacter{21BC}{\ensuremath\leftharpoonup}% \DeclareUnicodeCharacter{21BD}{\ensuremath\leftharpoondown}% \DeclareUnicodeCharacter{21C0}{\ensuremath\rightharpoonup}% \DeclareUnicodeCharacter{21C1}{\ensuremath\rightharpoondown}% \DeclareUnicodeCharacter{21CC}{\ensuremath\rightleftharpoons}% \DeclareUnicodeCharacter{21D0}{\ensuremath\Leftarrow}% \DeclareUnicodeCharacter{21D1}{\ensuremath\Uparrow}% \DeclareUnicodeCharacter{21D3}{\ensuremath\Downarrow}% \DeclareUnicodeCharacter{21D4}{\ensuremath\Leftrightarrow}% \DeclareUnicodeCharacter{21D5}{\ensuremath\Updownarrow}% \DeclareUnicodeCharacter{2202}{\ensuremath\partial}% \DeclareUnicodeCharacter{2205}{\ensuremath\emptyset}% \DeclareUnicodeCharacter{2207}{\ensuremath\nabla}% \DeclareUnicodeCharacter{2209}{\ensuremath\notin}% \DeclareUnicodeCharacter{220B}{\ensuremath\owns}% \DeclareUnicodeCharacter{220F}{\ensuremath\prod}% \DeclareUnicodeCharacter{2210}{\ensuremath\coprod}% \DeclareUnicodeCharacter{2211}{\ensuremath\sum}% \DeclareUnicodeCharacter{2213}{\ensuremath\mp}% \DeclareUnicodeCharacter{2218}{\ensuremath\circ}% \DeclareUnicodeCharacter{221A}{\ensuremath\surd}% \DeclareUnicodeCharacter{221D}{\ensuremath\propto}% \DeclareUnicodeCharacter{2220}{\ensuremath\angle}% \DeclareUnicodeCharacter{2223}{\ensuremath\mid}% \DeclareUnicodeCharacter{2228}{\ensuremath\vee}% \DeclareUnicodeCharacter{222A}{\ensuremath\cup}% \DeclareUnicodeCharacter{222B}{\ensuremath\smallint}% \DeclareUnicodeCharacter{222E}{\ensuremath\oint}% \DeclareUnicodeCharacter{223C}{\ensuremath\sim}% \DeclareUnicodeCharacter{2240}{\ensuremath\wr}% \DeclareUnicodeCharacter{2243}{\ensuremath\simeq}% \DeclareUnicodeCharacter{2245}{\ensuremath\cong}% \DeclareUnicodeCharacter{2248}{\ensuremath\approx}% \DeclareUnicodeCharacter{224D}{\ensuremath\asymp}% \DeclareUnicodeCharacter{2250}{\ensuremath\doteq}% \DeclareUnicodeCharacter{2260}{\ensuremath\neq}% \DeclareUnicodeCharacter{226A}{\ensuremath\ll}% \DeclareUnicodeCharacter{226B}{\ensuremath\gg}% \DeclareUnicodeCharacter{227A}{\ensuremath\prec}% \DeclareUnicodeCharacter{227B}{\ensuremath\succ}% \DeclareUnicodeCharacter{2283}{\ensuremath\supset}% \DeclareUnicodeCharacter{2286}{\ensuremath\subseteq}% \DeclareUnicodeCharacter{228E}{\ensuremath\uplus}% \DeclareUnicodeCharacter{2291}{\ensuremath\sqsubseteq}% \DeclareUnicodeCharacter{2292}{\ensuremath\sqsupseteq}% \DeclareUnicodeCharacter{2293}{\ensuremath\sqcap}% \DeclareUnicodeCharacter{2294}{\ensuremath\sqcup}% \DeclareUnicodeCharacter{2295}{\ensuremath\oplus}% \DeclareUnicodeCharacter{2296}{\ensuremath\ominus}% \DeclareUnicodeCharacter{2297}{\ensuremath\otimes}% \DeclareUnicodeCharacter{2298}{\ensuremath\oslash}% \DeclareUnicodeCharacter{2299}{\ensuremath\odot}% \DeclareUnicodeCharacter{22A2}{\ensuremath\vdash}% \DeclareUnicodeCharacter{22A3}{\ensuremath\dashv}% \DeclareUnicodeCharacter{22A4}{\ensuremath\ptextop}% \DeclareUnicodeCharacter{22A5}{\ensuremath\bot}% \DeclareUnicodeCharacter{22A8}{\ensuremath\models}% \DeclareUnicodeCharacter{22C0}{\ensuremath\bigwedge}% \DeclareUnicodeCharacter{22C1}{\ensuremath\bigvee}% \DeclareUnicodeCharacter{22C2}{\ensuremath\bigcap}% \DeclareUnicodeCharacter{22C3}{\ensuremath\bigcup}% \DeclareUnicodeCharacter{22C4}{\ensuremath\diamond}% \DeclareUnicodeCharacter{22C5}{\ensuremath\cdot}% \DeclareUnicodeCharacter{22C6}{\ensuremath\star}% \DeclareUnicodeCharacter{22C8}{\ensuremath\bowtie}% \DeclareUnicodeCharacter{2308}{\ensuremath\lceil}% \DeclareUnicodeCharacter{2309}{\ensuremath\rceil}% \DeclareUnicodeCharacter{230A}{\ensuremath\lfloor}% \DeclareUnicodeCharacter{230B}{\ensuremath\rfloor}% \DeclareUnicodeCharacter{2322}{\ensuremath\frown}% \DeclareUnicodeCharacter{2323}{\ensuremath\smile}% % \DeclareUnicodeCharacter{25B3}{\ensuremath\triangle}% \DeclareUnicodeCharacter{25B7}{\ensuremath\triangleright}% \DeclareUnicodeCharacter{25BD}{\ensuremath\bigtriangledown}% \DeclareUnicodeCharacter{25C1}{\ensuremath\triangleleft}% \DeclareUnicodeCharacter{25C7}{\ensuremath\diamond}% \DeclareUnicodeCharacter{2660}{\ensuremath\spadesuit}% \DeclareUnicodeCharacter{2661}{\ensuremath\heartsuit}% \DeclareUnicodeCharacter{2662}{\ensuremath\diamondsuit}% \DeclareUnicodeCharacter{2663}{\ensuremath\clubsuit}% \DeclareUnicodeCharacter{266D}{\ensuremath\flat}% \DeclareUnicodeCharacter{266E}{\ensuremath\natural}% \DeclareUnicodeCharacter{266F}{\ensuremath\sharp}% \DeclareUnicodeCharacter{26AA}{\ensuremath\bigcirc}% \DeclareUnicodeCharacter{27B9}{\ensuremath\rangle}% \DeclareUnicodeCharacter{27C2}{\ensuremath\perp}% \DeclareUnicodeCharacter{27E8}{\ensuremath\langle}% \DeclareUnicodeCharacter{27F5}{\ensuremath\longleftarrow}% \DeclareUnicodeCharacter{27F6}{\ensuremath\longrightarrow}% \DeclareUnicodeCharacter{27F7}{\ensuremath\longleftrightarrow}% \DeclareUnicodeCharacter{27FC}{\ensuremath\longmapsto}% \DeclareUnicodeCharacter{29F5}{\ensuremath\setminus}% \DeclareUnicodeCharacter{2A00}{\ensuremath\bigodot}% \DeclareUnicodeCharacter{2A01}{\ensuremath\bigoplus}% \DeclareUnicodeCharacter{2A02}{\ensuremath\bigotimes}% \DeclareUnicodeCharacter{2A04}{\ensuremath\biguplus}% \DeclareUnicodeCharacter{2A06}{\ensuremath\bigsqcup}% \DeclareUnicodeCharacter{2A3F}{\ensuremath\amalg}% \DeclareUnicodeCharacter{2AAF}{\ensuremath\preceq}% \DeclareUnicodeCharacter{2AB0}{\ensuremath\succeq}% % \global\mathchardef\checkmark="1370% actually the square root sign \DeclareUnicodeCharacter{2713}{\ensuremath\checkmark}% % % These are all the combining accents. We need these empty definitions % at present for the sake of PDF outlines. \DeclareUnicodeCharacter{0300}{}% \DeclareUnicodeCharacter{0301}{}% \DeclareUnicodeCharacter{0302}{}% \DeclareUnicodeCharacter{0303}{}% \DeclareUnicodeCharacter{0305}{}% \DeclareUnicodeCharacter{0306}{}% \DeclareUnicodeCharacter{0307}{}% \DeclareUnicodeCharacter{0308}{}% \DeclareUnicodeCharacter{030A}{}% \DeclareUnicodeCharacter{030B}{}% \DeclareUnicodeCharacter{030C}{}% \DeclareUnicodeCharacter{0323}{}% \DeclareUnicodeCharacter{0327}{}% \DeclareUnicodeCharacter{0328}{}% \DeclareUnicodeCharacter{0331}{}% \DeclareUnicodeCharacter{0361}{}% }% end of \unicodechardefs % UTF-8 byte sequence (pdfTeX) definitions (replacing and @U command) % It makes the setting that replace UTF-8 byte sequence. \def\utfeightchardefs{% \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterUTFviii \unicodechardefs } % Whether the active definitions of non-ASCII characters expand to % non-active tokens with the same character code. This is used to % write characters literally, instead of using active definitions for % printing the correct glyphs. \newif\ifpassthroughchars \passthroughcharsfalse % For native Unicode handling (XeTeX and LuaTeX), % provide a definition macro to replace/pass-through a Unicode character % \def\DeclareUnicodeCharacterNative#1#2{% \ifnum"#1>"7F % only make non-ASCII chars active \catcode"#1=\active \def\dodeclareunicodecharacternative##1##2##3{% \begingroup \uccode`\~="##2\relax \uppercase{\gdef~}{% \ifpassthroughchars ##1% \else ##3% \fi } \endgroup } \begingroup \uccode`\.="#1\relax \uppercase{\def\UTFNativeTmp{.}}% \expandafter\dodeclareunicodecharacternative\UTFNativeTmp{#1}{#2}% \endgroup \fi } % Native Unicode handling (XeTeX and LuaTeX) character replacing definition. % It activates the setting that replaces Unicode characters. \def\nativeunicodechardefs{% \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNative \unicodechardefs } % For native Unicode handling (XeTeX and LuaTeX), % make the character token expand % to the sequences given in \unicodechardefs for printing. \def\DeclareUnicodeCharacterNativeAtU#1#2{% \def\UTFAtUTmp{#2} \expandafter\globallet\csname uni:#1\endcsname \UTFAtUTmp } % @U command definitions for native Unicode handling (XeTeX and LuaTeX). \def\nativeunicodechardefsatu{% \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNativeAtU \unicodechardefs } % US-ASCII character definitions. \def\asciichardefs{% nothing need be done \relax } % Define all Unicode characters we know about \iftxinativeunicodecapable \nativeunicodechardefsatu \else \utfeightchardefs \fi \message{formatting,} \newdimen\defaultparindent \defaultparindent = 15pt \chapheadingskip = 15pt plus 4pt minus 2pt \secheadingskip = 12pt plus 3pt minus 2pt \subsecheadingskip = 9pt plus 2pt minus 2pt % Prevent underfull vbox error messages. \vbadness = 10000 % Don't be very finicky about underfull hboxes, either. \hbadness = 6666 % Following George Bush, get rid of widows and orphans. \widowpenalty=10000 \clubpenalty=10000 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're % using an old version of TeX, don't do anything. We want the amount of % stretch added to depend on the line length, hence the dependence on % \hsize. We call this whenever the paper size is set. % \def\setemergencystretch{% \ifx\emergencystretch\thisisundefined % Allow us to assign to \emergencystretch anyway. \def\emergencystretch{\dimen0}% \else \emergencystretch = .15\hsize \fi } % Parameters in order: 1) textheight; 2) textwidth; % 3) voffset; 4) hoffset; 5) binding offset; 6) topskip; % 7) physical page height; 8) physical page width. % % We also call \setleading{\textleading}, so the caller should define % \textleading. The caller should also set \parskip. % \def\internalpagesizes#1#2#3#4#5#6#7#8{% \voffset = #3\relax \topskip = #6\relax \splittopskip = \topskip % \vsize = #1\relax \advance\vsize by \topskip \txipageheight = \vsize % \hsize = #2\relax \txipagewidth = \hsize % \normaloffset = #4\relax \bindingoffset = #5\relax % \ifpdf \pdfpageheight #7\relax \pdfpagewidth #8\relax % if we don't reset these, they will remain at "1 true in" of % whatever layout pdftex was dumped with. \pdfhorigin = 1 true in \pdfvorigin = 1 true in \else \ifxetex \pdfpageheight #7\relax \pdfpagewidth #8\relax % XeTeX does not have \pdfhorigin and \pdfvorigin. \else \special{papersize=#8,#7}% \fi \fi % \setleading{\textleading} % \parindent = \defaultparindent \setemergencystretch } % @letterpaper (the default). \def\letterpaper{{\globaldefs = 1 \parskip = 3pt plus 2pt minus 1pt \textleading = 13.2pt % % If page is nothing but text, make it come out even. \internalpagesizes{607.2pt}{6in}% that's 46 lines {\voffset}{.25in}% {\bindingoffset}{36pt}% {11in}{8.5in}% }} % Use @smallbook to reset parameters for 7x9.25 trim size. \def\smallbook{{\globaldefs = 1 \parskip = 2pt plus 1pt \textleading = 12pt % \internalpagesizes{7.5in}{5in}% {-.2in}{0in}% {\bindingoffset}{16pt}% {9.25in}{7in}% % \lispnarrowing = 0.3in \tolerance = 700 \contentsrightmargin = 0pt \defbodyindent = .5cm }} % Use @afourpaper to print on European A4 paper. \def\afourpaper{{\globaldefs = 1 \parskip = 3pt plus 2pt minus 1pt \textleading = 13.2pt % % Double-side printing via postscript on Laserjet 4050 % prints double-sided nicely when \bindingoffset=10mm and \hoffset=-6mm. % To change the settings for a different printer or situation, adjust % \normaloffset until the front-side and back-side texts align. Then % do the same for \bindingoffset. You can set these for testing in % your texinfo source file like this: % @tex % \global\normaloffset = -6mm % \global\bindingoffset = 10mm % @end tex \internalpagesizes{673.2pt}{160mm}% that's 51 lines {\voffset}{\hoffset}% {\bindingoffset}{44pt}% {297mm}{210mm}% % \tolerance = 700 \contentsrightmargin = 0pt \defbodyindent = 5mm }} % Use @afivepaper to print on European A5 paper. % From romildo@urano.iceb.ufop.br, 2 July 2000. % He also recommends making @example and @lisp be small. \def\afivepaper{{\globaldefs = 1 \parskip = 2pt plus 1pt minus 0.1pt \textleading = 12.5pt % \internalpagesizes{160mm}{120mm}% {\voffset}{-11.4mm}% {\bindingoffset}{8pt}% {210mm}{148mm}% % \lispnarrowing = 0.2in \tolerance = 800 \contentsrightmargin = 0pt \defbodyindent = 2mm \tableindent = 12mm }} % A specific text layout, 24x15cm overall, intended for A4 paper. \def\afourlatex{{\globaldefs = 1 \afourpaper \internalpagesizes{237mm}{150mm}% {\voffset}{4.6mm}% {\bindingoffset}{7mm}% {297mm}{210mm}% % % Must explicitly reset to 0 because we call \afourpaper. \globaldefs = 0 }} % Use @afourwide to print on A4 paper in landscape format. \def\afourwide{{\globaldefs = 1 \afourpaper \internalpagesizes{241mm}{165mm}% {\voffset}{-2.95mm}% {\bindingoffset}{7mm}% {297mm}{210mm}% \globaldefs = 0 }} \def\bsixpaper{{\globaldefs = 1 \afourpaper \internalpagesizes{140mm}{100mm}% {-6.35mm}{-12.7mm}% {\bindingoffset}{14pt}% {176mm}{125mm}% \let\SETdispenvsize=\smallword \lispnarrowing = 0.2in \globaldefs = 0 }} % @pagesizes TEXTHEIGHT[,TEXTWIDTH] % Perhaps we should allow setting the margins, \topskip, \parskip, % and/or leading, also. Or perhaps we should compute them somehow. % \parseargdef\pagesizes{\pagesizesyyy #1,,\finish} \def\pagesizesyyy#1,#2,#3\finish{{% \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \hsize=#2\relax \fi \globaldefs = 1 % \parskip = 3pt plus 2pt minus 1pt \setleading{\textleading}% % \dimen0 = #1\relax \advance\dimen0 by 2.5in % default 1in margin above heading line % and 1.5in to include heading, footing and % bottom margin % \dimen2 = \hsize \advance\dimen2 by 2in % default to 1 inch margin on each side % \internalpagesizes{#1}{\hsize}% {\voffset}{\normaloffset}% {\bindingoffset}{44pt}% {\dimen0}{\dimen2}% }} % Set default to letter. % \letterpaper % Default value of \hfuzz, for suppressing warnings about overfull hboxes. \hfuzz = 1pt \message{microtype,} % protrusion, from Thanh's protcode.tex. \def\mtsetprotcode#1{% \rpcode#1`\!=200 \rpcode#1`\,=700 \rpcode#1`\-=700 \rpcode#1`\.=700 \rpcode#1`\;=500 \rpcode#1`\:=500 \rpcode#1`\?=200 \rpcode#1`\'=700 \rpcode#1 34=500 % '' \rpcode#1 123=300 % -- \rpcode#1 124=200 % --- \rpcode#1`\)=50 \rpcode#1`\A=50 \rpcode#1`\F=50 \rpcode#1`\K=50 \rpcode#1`\L=50 \rpcode#1`\T=50 \rpcode#1`\V=50 \rpcode#1`\W=50 \rpcode#1`\X=50 \rpcode#1`\Y=50 \rpcode#1`\k=50 \rpcode#1`\r=50 \rpcode#1`\t=50 \rpcode#1`\v=50 \rpcode#1`\w=50 \rpcode#1`\x=50 \rpcode#1`\y=50 % \lpcode#1`\`=700 \lpcode#1 92=500 % `` \lpcode#1`\(=50 \lpcode#1`\A=50 \lpcode#1`\J=50 \lpcode#1`\T=50 \lpcode#1`\V=50 \lpcode#1`\W=50 \lpcode#1`\X=50 \lpcode#1`\Y=50 \lpcode#1`\v=50 \lpcode#1`\w=50 \lpcode#1`\x=50 \lpcode#1`\y=0 % \mtadjustprotcode#1\relax } \newcount\countC \def\mtadjustprotcode#1{% \countC=0 \loop \ifcase\lpcode#1\countC\else \mtadjustcp\lpcode#1\countC \fi \ifcase\rpcode#1\countC\else \mtadjustcp\rpcode#1\countC \fi \advance\countC 1 \ifnum\countC < 256 \repeat } \newcount\countB \def\mtadjustcp#1#2#3{% \setbox\boxA=\hbox{% \ifx#2\font\else#2\fi \char#3}% \countB=\wd\boxA \multiply\countB #1#2#3\relax \divide\countB \fontdimen6 #2\relax #1#2#3=\countB\relax } \ifxetex % XeTeX \mtsetprotcode\textrm \def\mtfontexpand#1{} \else \ifluatex % LuaTeX \mtsetprotcode\textrm \def\mtfontexpand#1{\expandglyphsinfont#1 20 20 1\relax} \else \ifpdf % pdfTeX \mtsetprotcode\textrm \def\mtfontexpand#1{\pdffontexpand#1 20 20 1 autoexpand\relax} \else % TeX \def\mtfontexpand#1{} \fi \fi \fi \newif\ifmicrotype \def\microtypeON{% \microtypetrue % \ifxetex % XeTeX \XeTeXprotrudechars=2 \else \ifluatex % LuaTeX \adjustspacing=2 \protrudechars=2 \else \ifpdf % pdfTeX \pdfadjustspacing=2 \pdfprotrudechars=2 \fi \fi \fi % \mtfontexpand\textrm \mtfontexpand\textsl \mtfontexpand\textbf } \def\microtypeOFF{% \microtypefalse % \ifxetex % XeTeX \XeTeXprotrudechars=0 \else \ifluatex % LuaTeX \adjustspacing=0 \protrudechars=0 \else \ifpdf % pdfTeX \pdfadjustspacing=0 \pdfprotrudechars=0 \fi \fi \fi } \microtypeOFF \parseargdef\microtype{% \def\txiarg{#1}% \ifx\txiarg\onword \microtypeON \else\ifx\txiarg\offword \microtypeOFF \else \errhelp = \EMsimple \errmessage{Unknown @microtype option `\txiarg', must be on|off}% \fi\fi } \message{and turning on texinfo input format.} % Make UTF-8 the default encoding. \documentencodingzzz{UTF-8} \def^^L{\par} % remove \outer, so ^L can appear in an @comment \catcode`\^^K = 10 % treat vertical tab as whitespace % DEL is a comment character, in case @c does not suffice. \catcode`\^^? = 14 % Define macros to output various characters with catcode for normal text. \catcode`\"=\other \def\normaldoublequote{"} \catcode`\$=\other \def\normaldollar{$}%$ font-lock fix \catcode`\+=\other \def\normalplus{+} \catcode`\<=\other \def\normalless{<} \catcode`\>=\other \def\normalgreater{>} \catcode`\^=\other \def\normalcaret{^} \catcode`\_=\other \def\normalunderscore{_} \catcode`\|=\other \def\normalverticalbar{|} \catcode`\~=\other \def\normaltilde{~} % Set catcodes for Texinfo file % Active characters for printing the wanted glyph. % Most of these we simply print from the \tt font, but for some, we can % use math or other variants that look better in normal text. % \catcode`\"=\active \def\activedoublequote{{\tt\char34}} \let"=\activedoublequote \catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde \chardef\hatchar=`\^ \catcode`\^=\active \def\activehat{{\tt \hatchar}} \let^ = \activehat \catcode`\_=\active \def_{\ifusingtt\normalunderscore\_} \def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em } \let\realunder=_ \catcode`\|=\active \def|{{\tt\char124}} \chardef \less=`\< \catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless \chardef \gtr=`\> \catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr \catcode`\+=\active \def+{{\tt \char 43}} \catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix \catcode`\-=\active \let-=\normaldash % used for headline/footline in the output routine, in case the page % breaks in the middle of an @tex block. \def\texinfochars{% \let< = \activeless \let> = \activegtr \let~ = \activetilde \let^ = \activehat \setregularquotes \let\b = \strong \let\i = \smartitalic % in principle, all other definitions in \tex have to be undone too. } % Used sometimes to turn off (effectively) the active characters even after % parsing them. \def\turnoffactive{% \passthroughcharstrue \let-=\normaldash \let"=\normaldoublequote \let$=\normaldollar %$ font-lock fix \let+=\normalplus \let<=\normalless \let>=\normalgreater \let^=\normalcaret \let_=\normalunderscore \let|=\normalverticalbar \let~=\normaltilde \otherbackslash \setregularquotes \unsepspaces } % If a .fmt file is being used, characters that might appear in a file % name cannot be active until we have parsed the command line. % So turn them off again, and have \loadconf turn them back on. \catcode`+=\other \catcode`\_=\other % \backslashcurfont outputs one backslash character in current font, % as in \char`\\. \global\chardef\backslashcurfont=`\\ % Print a typewriter backslash. For math mode, we can't simply use % \backslashcurfont: the story here is that in math mode, the \char % of \backslashcurfont ends up printing the roman \ from the math symbol % font (because \char in math mode uses the \mathcode, and plain.tex % sets \mathcode`\\="026E). Hence we use an explicit \mathchar, % which is the decimal equivalent of "715c (class 7, e.g., use \fam; % ignored family value; char position "5C). We can't use " for the % usual hex value because it has already been made active. \def\ttbackslash{{\tt \ifmmode \mathchar29020 \else \backslashcurfont \fi}} \let\backslashchar = \ttbackslash % \backslashchar{} is for user documents. % These are made active for url-breaking, so need % active definitions as the normal characters. \def\normaldot{.} \def\normalquest{?} \def\normalslash{/} % \newlinesloadsconf - call \loadconf as soon as possible in the % file, e.g. at the first newline. % {\catcode`\^=7 \catcode`\^^M=13 \gdef\newlineloadsconf{% \catcode`\^^M=13 % \newlineloadsconfzz% } \gdef\newlineloadsconfzz#1^^M{% \def\c{\loadconf\c}% % Definition for the first newline read in the file \def ^^M{\loadconf}% % In case the first line has a whole-line or environment command on it \let\originalparsearg\parsearg% \def\parsearg{\loadconf\originalparsearg}% % % \startenvironment is in the expansion of commands defined with \envdef \let\originalstartenvironment\startenvironment% \def\startenvironment{\loadconf\startenvironment}% }} % Emergency active definition of newline, in case an active newline token % appears by mistake. {\catcode`\^=7 \catcode13=13% \gdef\enableemergencynewline{% \gdef^^M{% \par% %\par% }}} % \loadconf gets called at the beginning of every Texinfo file. % If texinfo.cnf is present on the system, read it. Useful for site-wide % @afourpaper, etc. Not opening texinfo.cnf directly in texinfo.tex % makes it possible to make a format file for Texinfo. % \gdef\loadconf{% \relax % Terminate the filename if running as "tex '&texinfo' FILE.texi". % % Turn off the definitions that trigger \loadconf \everyjobreset \catcode13=5 % regular end of line \enableemergencynewline \let\c=\comment \let\parsearg\originalparsearg \let\startenvironment\originalstartenvironment % % Also turn back on active characters that might appear in the input % file name, in case not using a pre-dumped format. \catcode`+=\active \catcode`\_=\active % \openin 1 texinfo.cnf \ifeof 1 \else \input texinfo.cnf \fi \closein 1 } % Redefine some control sequences to be controlled by the \ifdummies % and \ifindexnofonts switches. Do this at the end so that the control % sequences are all defined. \definedummies \catcode`\@=0 % \realbackslash is an actual character `\' with catcode other. {\catcode`\\=\other @gdef@realbackslash{\}} % In Texinfo, backslash is an active character; it prints the backslash % in fixed width font. \catcode`\\=\active % @ for escape char from now on. @let\ = @ttbackslash % If in a .fmt file, print the version number. % \eatinput stops the `\input texinfo' from showing up. % After that, `\' should revert to printing a backslash. % Turn on active characters that we couldn't do earlier because % they might have appeared in the input file name. % @everyjob{@message{[Texinfo version @texinfoversion]}% @global@let\ = @eatinput @catcode`+=@active @catcode`@_=@active} {@catcode`@^=7 @catcode`@^^M=13% @gdef@eatinput input texinfo#1^^M{@loadconf}} @def@everyjobreset{@ifx\@eatinput @let\ = @ttbackslash @fi} % \otherbackslash defines an active \ to be a literal `\' character with % catcode other. @gdef@otherbackslash{@let\=@realbackslash} % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of % the literal character `\'. % {@catcode`- = @active @gdef@normalturnoffactive{% @turnoffactive @let\=@ttbackslash } } % Say @foo, not \foo, in error messages. @escapechar = `@@ % These look ok in all fonts, so just make them not special. % @hashchar{} gets its own user-level command, because of #line. @catcode`@& = @other @def@normalamp{&} @catcode`@# = @other @def@normalhash{#} @catcode`@% = @other @def@normalpercent{%} @let @hashchar = @normalhash @c Finally, make ` and ' active, so that txicodequoteundirected and @c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we @c don't make ` and ' active, @code will not get them as active chars. @c Do this last of all since we use ` in the previous @catcode assignments. @catcode`@'=@active @catcode`@`=@active @c Local variables: @c eval: (add-hook 'before-save-hook 'time-stamp nil t) @c time-stamp-pattern: "texinfoversion{%Y-%02m-%02d.%02H}" @c page-delimiter: "^\\\\message" @c End: @newlineloadsconf datamash-1.9/build-aux/update-copyright0000754000000000000000000002625214767401140013716 #!/bin/sh #! -*-perl-*- # Update an FSF copyright year list to include the current year. # Copyright (C) 2009-2025 Free Software Foundation, Inc. # # 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, 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 . # # Written by Jim Meyering and Joel E. Denny # This script updates an FSF copyright year list to include the current year. # Usage: update-copyright [FILE...] # # The arguments to this script should be names of files that contain # copyright statements to be updated. The copyright holder's name # defaults to "Free Software Foundation, Inc." but may be changed to # any other name by using the "UPDATE_COPYRIGHT_HOLDER" environment # variable. # # For example, you might wish to use the update-copyright target rule # in maint.mk from gnulib's maintainer-makefile module. # # Iff a copyright statement is recognized in a file and the final # year is not the current year, then the statement is updated for the # new year and it is reformatted to: # # 1. Fit within 72 columns. # 2. Convert 2-digit years to 4-digit years by prepending "19". # 3. Expand copyright year intervals. (See "Environment variables" # below.) # # A warning is printed for every file for which no copyright # statement is recognized. # # Each file's copyright statement must be formatted correctly in # order to be recognized. For example, each of these is fine: # # Copyright @copyright{} 1990-2005, 2007-2009, 2025 Free Software Foundation, # Inc. # # # Copyright (C) 1990-2005, 2007-2009 Free Software # # Foundation, Inc. # # /* # * Copyright © 90,2005,2007-2009 # * Free Software Foundation, Inc. # */ # # However, the following format is not recognized because the line # prefix changes after the first line: # # ## Copyright (C) 1990-2005, 2007-2009 Free Software # # Foundation, Inc. # # However, any correctly formatted copyright statement following # a non-matching copyright statements would be recognized. # # The exact conditions that a file's copyright statement must meet # to be recognized are: # # 1. It is the first copyright statement that meets all of the # following conditions. Subsequent copyright statements are # ignored. # 2. Its format is "Copyright (C)", then a list of copyright years, # and then the name of the copyright holder. # 3. The "(C)" takes one of the following forms or is omitted # entirely: # # A. (C) # B. (c) # C. @copyright{} # D. © # E. © # # 4. The "Copyright" appears at the beginning of a line, except that it # may be prefixed by any sequence (e.g., a comment) of no more than # 5 characters -- including white space. # 5. Iff such a prefix is present, the same prefix appears at the # beginning of each remaining line within the FSF copyright # statement. There is one exception in order to support C-style # comments: if the first line's prefix contains nothing but # whitespace surrounding a "/*", then the prefix for all subsequent # lines is the same as the first line's prefix except with each of # "/" and possibly "*" replaced by a " ". The replacement of "*" # by " " is consistent throughout all subsequent lines. # 6. Blank lines, even if preceded by the prefix, do not appear # within the FSF copyright statement. # 7. Each copyright year is 2 or 4 digits, and years are separated by # commas, "-", "--", or "\(en" (for troff). Whitespace may appear # after commas. # # Environment variables: # # 1. If UPDATE_COPYRIGHT_FORCE=1, a recognized FSF copyright statement # is reformatted even if it does not need updating for the new # year. If unset or set to 0, only updated FSF copyright # statements are reformatted. # 2. If UPDATE_COPYRIGHT_USE_INTERVALS=1, every series of consecutive # copyright years (such as 90, 1991, 1992-2007, 2008) in a # reformatted FSF copyright statement is collapsed to a single # interval (such as 1990-2008). If unset or set to 0, all existing # copyright year intervals in a reformatted FSF copyright statement # are expanded instead. # If UPDATE_COPYRIGHT_USE_INTERVALS=2, convert a sequence with gaps # to the minimal containing range. For example, convert # 2000, 2004-2007, 2009 to 2000-2009. # 3. For testing purposes, you can set the assumed current year in # UPDATE_COPYRIGHT_YEAR. # 4. The default maximum line length for a copyright line is 72. # Set UPDATE_COPYRIGHT_MAX_LINE_LENGTH to use a different length. # 5. Set UPDATE_COPYRIGHT_HOLDER if the copyright holder is other # than "Free Software Foundation, Inc.". # This is a prologue that allows running a perl script as an executable # on systems that are compliant to a POSIX version before POSIX:2017. # On such systems, the usual invocation of an executable through execlp() # or execvp() fails with ENOEXEC if it is a script that does not start # with a #! line. The script interpreter mentioned in the #! line has # to be /bin/sh, because on GuixSD systems that is the only program that # has a fixed file name. The second line is essential for perl and is # also useful for editing this file in Emacs. The next two lines below # are valid code in both sh and perl. When executed by sh, they re-execute # the script through the perl program found in $PATH. The '-x' option # is essential as well; without it, perl would re-execute the script # through /bin/sh. When executed by perl, the next two lines are a no-op. eval 'exec perl -wSx -0777 -pi "$0" "$@"' if 0; my $VERSION = '2025-01-01.07:36'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. use strict; use warnings; use re 'eval'; my $copyright_re = 'Copyright'; my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©|©)'; my $ndash_re = '(?:--?|\\\\\(en)'; my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER}; $holder ||= 'Free Software Foundation, Inc.'; my $prefix_max = 5; my $margin = $ENV{UPDATE_COPYRIGHT_MAX_LINE_LENGTH}; !$margin || $margin !~ m/^\d+$/ and $margin = 72; my $tab_width = 8; my $this_year = $ENV{UPDATE_COPYRIGHT_YEAR}; if (!$this_year || $this_year !~ m/^\d{4}$/) { my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ()); $this_year = $year + 1900; } # Unless the file consistently uses "\r\n" as the EOL, use "\n" instead. my $eol = /(?:^|[^\r])\n/ ? "\n" : "\r\n"; my $stmt_re; my $found; while (/(^|\n)(.{0,$prefix_max})$copyright_re/cg) { my $pos=pos(); my $leading = "$1$2"; my $prefix = $2; if ($prefix =~ /^(\s*\/)\*(\s*)$/) { $prefix =~ s,/, ,; my $prefix_ws = $prefix; $prefix_ws =~ s/\*/ /; # Only whitespace. if (/\G(?:[^*\n]|\*[^\/\n])*\*?\n$prefix_ws/) { $prefix = $prefix_ws; } } my $ws_re = '[ \t\r\f]'; # \s without \n $ws_re = "(?:$ws_re*(?:$ws_re|\\n" . quotemeta($prefix) . ")$ws_re*)"; my $holder_re = $holder; $holder_re =~ s/\s/$ws_re/g; my $stmt_remainder_re = "(?:$ws_re$circle_c_re)?" . "$ws_re(?:(?:\\d\\d)?\\d\\d(?:,$ws_re?|$ndash_re))*" . "((?:\\d\\d)?\\d\\d)$ws_re$holder_re"; if (/\G$stmt_remainder_re/) { $found = 1; $stmt_re = quotemeta($leading) . "($copyright_re$stmt_remainder_re)"; /$stmt_re/ or die; # Should never die. my $stmt = $1; my $final_year_orig = $2; # Handle two-digit year numbers like "98" and "99". my $final_year = $final_year_orig; $final_year <= 99 and $final_year += 1900; if ($final_year != $this_year) { # Update the year. $stmt =~ s/(^|[^\d])$final_year_orig\b/$1$final_year, $this_year/; } if ($final_year != $this_year || $ENV{'UPDATE_COPYRIGHT_FORCE'}) { # Normalize all whitespace including newline-prefix sequences. $stmt =~ s/$ws_re/ /g; # Put spaces after commas. $stmt =~ s/, ?/, /g; # Convert 2-digit to 4-digit years. $stmt =~ s/(\b\d\d\b)/19$1/g; # Make the use of intervals consistent. if (!$ENV{UPDATE_COPYRIGHT_USE_INTERVALS}) { $stmt =~ s/(\d{4})$ndash_re(\d{4})/join(', ', $1..$2)/eg; } else { my $ndash = ($ARGV =~ /\.tex(i(nfo)?)?$/ ? "--" : $ARGV =~ /\.(\d[a-z]*|man)(\.in)?$/ && $ARGV !~ /ChangeLog\./ ? "\\(en" : "-"); $stmt =~ s/ (\d{4}) (?: (,\ |$ndash_re) ((??{ if ($2 ne ', ') { '\d{4}'; } elsif (!$3) { $1 + 1; } else { $3 + 1; } })) )+ /$1$ndash$3/gx; # When it's 2, emit a single range encompassing all year numbers. $ENV{UPDATE_COPYRIGHT_USE_INTERVALS} == 2 and $stmt =~ s/(^|[^\d])(\d{4})\b.*(?:[^\d])(\d{4})\b/$1$2$ndash$3/; } # Format within margin. my $stmt_wrapped; my $text_margin = $margin - length($prefix); if ($prefix =~ /^(\t+)/) { $text_margin -= length($1) * ($tab_width - 1); } while (length $stmt) { if (($stmt =~ s/^(.{1,$text_margin})(?: |$)//) || ($stmt =~ s/^([\S]+)(?: |$)//)) { my $line = $1; $stmt_wrapped .= $stmt_wrapped ? "$eol$prefix" : $leading; $stmt_wrapped .= $line; } else { # Should be unreachable, but we don't want an infinite # loop if it can be reached. die; } } # Replace the old copyright statement. my $p = pos(); s/$stmt_re/$stmt_wrapped/g; pos() = $p; } } } if (!$found) { print STDERR "$ARGV: warning: copyright statement not found\n"; } # Hey Emacs! # Local variables: # coding: utf-8 # mode: perl # indent-tabs-mode: nil # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-line-limit: 200 # time-stamp-start: "my $VERSION = '" # time-stamp-format: "%:y-%02m-%02d.%02H:%02M" # time-stamp-time-zone: "UTC0" # time-stamp-end: "'; # UTC" # End: datamash-1.9/build-aux/useless-if-before-free0000754000000000000000000001721114767401140014657 #!/bin/sh #! -*-perl-*- # Detect instances of "if (p) free (p);". # Likewise "if (p != 0)", "if (0 != p)", or with NULL; and with braces. # Copyright (C) 2008-2025 Free Software Foundation, Inc. # # 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 . # # Written by Jim Meyering # This is a prologue that allows to run a perl script as an executable # on systems that are compliant to a POSIX version before POSIX:2017. # On such systems, the usual invocation of an executable through execlp() # or execvp() fails with ENOEXEC if it is a script that does not start # with a #! line. The script interpreter mentioned in the #! line has # to be /bin/sh, because on GuixSD systems that is the only program that # has a fixed file name. The second line is essential for perl and is # also useful for editing this file in Emacs. The next two lines below # are valid code in both sh and perl. When executed by sh, they re-execute # the script through the perl program found in $PATH. The '-x' option # is essential as well; without it, perl would re-execute the script # through /bin/sh. When executed by perl, the next two lines are a no-op. eval 'exec perl -wSx "$0" "$@"' if 0; my $VERSION = '2024-07-17 02:10'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. (my $copyright_year = $VERSION) =~ s/^(\d*)-.*$/$1/; use strict; use warnings; use Getopt::Long; (my $ME = $0) =~ s|.*/||; # use File::Coda; # https://meyering.net/code/Coda/ END { defined fileno STDOUT or return; close STDOUT and return; warn "$ME: failed to close standard output: $!\n"; $? ||= 1; } sub usage ($) { my ($exit_code) = @_; my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); if ($exit_code != 0) { print $STREAM "Try '$ME --help' for more information.\n"; } else { print $STREAM <. EOF } exit $exit_code; } sub is_NULL ($) { my ($expr) = @_; return ($expr eq 'NULL' || $expr eq 'nullptr' || $expr eq '0'); } { sub EXIT_MATCH {0} sub EXIT_NO_MATCH {1} sub EXIT_ERROR {2} my $err = EXIT_NO_MATCH; my $list; my @name = qw(free); GetOptions ( help => sub { usage 0 }, version => sub { print "$ME version $VERSION\n"; print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n"; print "License GPLv3+: GNU GPL version 3 or later .\n" . "This is free software: you are free to change and redistribute it.\n" . "There is NO WARRANTY, to the extent permitted by law.\n"; print "\n"; my $author = "Jim Meyering"; print "Written by $author.\n"; exit }, list => \$list, 'name=s@' => \@name, ) or usage 1; # Make sure we have the right number of non-option arguments. # Always tell the user why we fail. @ARGV < 1 and (warn "$ME: missing FILE argument\n"), usage EXIT_ERROR; my $or = join '|', @name; my $regexp = qr/(?:$or)/; # Set the input record separator. # Note: this makes it impractical to print line numbers. $/ = '"'; my $found_match = 0; FILE: foreach my $file (@ARGV) { open FH, '<', $file or (warn "$ME: can't open '$file' for reading: $!\n"), $err = EXIT_ERROR, next; while (defined (my $line = )) { # Skip non-matching lines early to save time $line =~ /\bif\b/ or next; while ($line =~ /\b(if\s*\(\s*([^)]+?)(?:\s*!=\s*([^)]+?))?\s*\) # 1 2 3 (?: \s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;| \s*\{\s*$regexp\s*\((?:\s*\([^)]+\))?\s*([^)]+)\)\s*;\s*\}))/sxg) { my $all = $1; my ($lhs, $rhs) = ($2, $3); my ($free_opnd, $braced_free_opnd) = ($4, $5); my $non_NULL; if (!defined $rhs) { $non_NULL = $lhs } elsif (is_NULL $rhs) { $non_NULL = $lhs } elsif (is_NULL $lhs) { $non_NULL = $rhs } else { next } # Compare the non-NULL part of the "if" expression and the # free'd expression, without regard to white space. $non_NULL =~ tr/ \t//d; my $e2 = defined $free_opnd ? $free_opnd : $braced_free_opnd; $e2 =~ tr/ \t//d; if ($non_NULL eq $e2) { $found_match = 1; $list and (print "$file\0"), next FILE; print "$file: $all\n"; } } } } continue { close FH; } $found_match && $err == EXIT_NO_MATCH and $err = EXIT_MATCH; exit $err; } my $foo = <<'EOF'; # The above is to *find* them. # This adjusts them, removing the unnecessary "if (p)" part. # FIXME: do something like this as an option (doesn't do braces): free=xfree git grep -l -z "$free *(" \ | xargs -0 useless-if-before-free -l --name="$free" \ | xargs -0 perl -0x3b -pi -e \ 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL|nullptr))?\s*\)\s+('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\)\s*;)/$2/s' # Use the following to remove redundant uses of kfree inside braces. # Note that -0777 puts perl in slurp-whole-file mode; # but we have plenty of memory, these days... free=kfree git grep -l -z "$free *(" \ | xargs -0 useless-if-before-free -l --name="$free" \ | xargs -0 perl -0777 -pi -e \ 's/\bif\s*\(\s*(\S+?)(?:\s*!=\s*(?:0|NULL|nullptr))?\s*\)\s*\{\s*('"$free"'\s*\((?:\s*\([^)]+\))?\s*\1\s*\);)\s*\}[^\n]*$/$2/gms' Be careful that the result of the above transformation is valid. If the matched string is followed by "else", then obviously, it won't be. When modifying files, refuse to process anything other than a regular file. EOF ## Local Variables: ## mode: perl ## indent-tabs-mode: nil ## eval: (add-hook 'before-save-hook 'time-stamp nil t) ## time-stamp-line-limit: 50 ## time-stamp-start: "my $VERSION = '" ## time-stamp-format: "%:y-%02m-%02d %02H:%02M" ## time-stamp-time-zone: "UTC0" ## time-stamp-end: "'; # UTC" ## End: datamash-1.9/build-aux/vc-list-files0000754000000000000000000000737514767401140013114 #!/bin/sh # List version-controlled file names. # Print a version string. scriptversion=2024-07-04.10; # UTC # Copyright (C) 2006-2025 Free Software Foundation, Inc. # 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 . # List the specified version-controlled files. # With no argument, list them all. With a single DIRECTORY argument, # list the version-controlled files in that directory. # If there's an argument, it must be a single, "."-relative directory name. # cvsu is part of the cvsutils package: https://www.red-bean.com/cvsutils/ postprocess= case $1 in --help) cat <. EOF exit ;; --version) year=`echo "$scriptversion" | sed 's/[^0-9].*//'` cat < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. EOF exit ;; -C) test "$2" = . || postprocess="| sed 's|^|$2/|'" cd "$2" || exit 1 shift; shift ;; esac test $# = 0 && set . for dir do if test -d .git || test -f .git; then test "x$dir" = x. \ && dir= sed_esc= \ || { dir="$dir/"; sed_esc=`echo "$dir"|env sed 's,\([\\/]\),\\\\\1,g'`; } # Ignore git symlinks - either they point into the tree, in which case # we don't need to visit the target twice, or they point somewhere # else (often into a submodule), in which case the content does not # belong to this package. eval exec git ls-tree -r 'HEAD:"$dir"' \ \| sed -n '"s/^100[^ ]*./$sed_esc/p"' $postprocess elif test -d .hg; then eval exec hg locate '"$dir/*"' $postprocess elif test -d .bzr; then test "$postprocess" = '' && postprocess="| sed 's|^\./||'" eval exec bzr ls -R --versioned '"$dir"' $postprocess elif test -d CVS; then test "$postprocess" = '' && postprocess="| sed 's|^\./||'" if test -x build-aux/cvsu; then eval build-aux/cvsu --find --types=AFGM '"$dir"' $postprocess elif (cvsu --help) >/dev/null 2>&1; then eval cvsu --find --types=AFGM '"$dir"' $postprocess else eval awk -F/ \''{ \ if (!$1 && $3 !~ /^-/) { \ f=FILENAME; \ if (f ~ /CVS\/Entries$/) \ f = substr(f, 1, length(f)-11); \ print f $2; \ }}'\'' \ `find "$dir" -name Entries -print` /dev/null' $postprocess fi elif test -d .svn; then eval exec svn list -R '"$dir"' $postprocess else echo "$0: Failed to determine type of version control used in `pwd`" 1>&2 exit 1 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp nil t) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: datamash-1.9/cfg.mk0000644000000000000000000001613314774034526007704 # Copyright (C) 2014-2021 Assaf Gordon # Copyright (C) 2022-2025 Timothy Rice # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # Syntax-Check rules (sc_XXX) copied from GNU Coreutils' cfg.mk file: # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, # 2012, 2013, 2014, 2017 Free Software Foundation, Inc. # # Syntax-checks to skip: # sc_copyright_check: requires the word 'Free' in texi after year. # sc_prohibit_strings_without_use: using memset/memmove requirs local-checks-to-skip = \ sc_copyright_check \ sc_indent \ sc_prohibit_strings_without_use # Hash of the current/old NEWS file. # checked by 'sc_immutable_NEWS' rule. # updated by 'update-NEWS-hash' rule. old_NEWS_hash = 172bdd20a78c5f43b5154e7856983cb9 update-copyright-env = \ env \ UPDATE_COPYRIGHT_HOLDER='Timothy Rice' \ UPDATE_COPYRIGHT_USE_INTERVALS=2 # Helper rules to compile with Debian-Hardening flags # See https://wiki.debian.org/Hardening init-deb-hard: $(MAKE) $(AM_MAKEFLAGS) clean build-deb-hard: $(MAKE) $(AM_MAKEFLAGS) \ CFLAGS="$$(dpkg-buildflags --get CFLAGS)" \ CPPFLAGS="$$(dpkg-buildflags --get CPPFLAGS)" \ LDFLAGS="$$(dpkg-buildflags --get LDFLAGS)" deb-hard: init-deb-hard build-deb-hard check # Coverage - clean 'gcda/gcno' files when initializing coverage. # (NOTE: 'init-coverage' is defined in 'maint.mk'. # Here another clean step is added to this target) init-coverage: clean-coverage-files clean-coverage-files: find $$PWD -name '*.gcno' -o -name '*.gcda' | xargs rm -f -- # Generate coverage information, including expensive tests for better coverage coverage-expensive: $(MAKE) RUN_EXPENSIVE_TESTS=yes coverage # Exclude markdown (*.md) files from no-trailing-blanks rule. # Exclude the second unit test file - some of the expected tests # have trailing spaces. # Exclude the vnlog unit test file - some of the expected tests # have trailing spaces. # The exclusion list is initially defined in ./gnulib/cfg.mk , # and is overridden here. # The 'sc_trailing_blank' rule is defined in ./maint.mk # (which is auto-generated from gnulib). exclude_file_name_regexp--sc_trailing_blank = \ ^(.*\.md|.*datamash-tests-2\.pl|.*datamash-vnlog\.pl)$$ # Scan-Build: use clang's static analysis tool static-analysis-have-prog: which scan-build 1>/dev/null 2>&1 || \ { echo "scan-build program not found" >&2 ; exit 1 ;} static-analysis-configure: static-analysis-have-prog test -x ./configure || \ { echo "./configure script not found" >&2 ; exit 1 ;} scan-build ./configure static-analysis-make: static-analysis-have-prog $(MAKE) clean scan-build make CFLAGS="-g -O0 -std=c99" static-analysis: static-analysis-configure static-analysis-make # Look for lines longer than 80 characters, except omit: # - the help2man script copied from upstream, # - example files # - Markdown files # - GNU Free Documentation License in Texinfo format LINE_LEN_MAX = 80 FILTER_LONG_LINES = \ \|^[^:]*man/help2man:| d; \ \|^[^:]*examples/.*| d; \ \|^HACKING\.md| d; \ \|^doc/fdl\.texi| d; sc_long_lines: @files=$$($(VC_LIST_EXCEPT)) \ halt='line(s) with more than $(LINE_LEN_MAX) characters; reindent'; \ for file in $$files; do \ expand $$file | grep -nE '^.{$(LINE_LEN_MAX)}.' | \ sed -e "s|^|$$file:|" -e '$(FILTER_LONG_LINES)'; \ done | grep . && { msg="$$halt" $(_sc_say_and_exit) } || : # Ensure that the end of each release's section is marked by two empty lines. sc_NEWS_two_empty_lines: @sed -n 4,/Noteworthy/p $(srcdir)/NEWS \ | perl -n0e '/(^|\n)\n\n\* Noteworthy/ or exit 1' \ || { echo '$(ME): use two empty lines to separate NEWS sections' \ 1>&2; exit 1; } || : # With split lines, don't leave an operator at end of line. # Instead, put it on the following line, where it is more apparent. # Don't bother checking for "*" at end of line, since it provokes # far too many false positives, matching constructs like "TYPE *". # Similarly, omit "=" (initializers). binop_re_ ?= [-/+^!<>]|[-/+*^!<>=]=|&&?|\|\|?|<<=?|>>=? sc_prohibit_operator_at_end_of_line: @prohibit='. ($(binop_re_))$$' \ in_vc_files='\.[chly]$$' \ halt='found operator at end of line' \ $(_sc_search_regexp) # Indent only with spaces. tbi_1 = ^tests/pr/|(^gl/lib/reg.*\.c\.diff|\.mk|^man/help2man)$$ tbi_2 = ^scripts/git-hooks/(pre-commit|pre-applypatch|applypatch-msg)$$ tbi_3 = (GNU)?[Mm]akefile(\.am)?$$|$(_ll) exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \ $(tbi_1)|$(tbi_2)|$(tbi_3) sc_prohibit_tab_based_indentation: @prohibit='^ * ' \ halt='TAB in indentation; use only spaces' \ $(_sc_search_regexp) # Use print_ver_ (from init.cfg), not open-coded $VERBOSE check. sc_prohibit_verbose_version: @prohibit='test "\$$VERBOSE" = yes && .* --version' \ halt='use the print_ver_ function instead...' \ $(_sc_search_regexp) # Use framework_failure_, not the old name without the trailing underscore. sc_prohibit_framework_failure: @prohibit='\' \ halt='use framework_failure_ instead' \ $(_sc_search_regexp) # Prohibit the use of `...` in tests/. Use $(...) instead. exclude_file_name_regexp--sc_prohibit_test_backticks = \ ^tests/(local\.mk|init\.sh|[a-z0-9\-]*\.pl)$$ sc_prohibit_test_backticks: @prohibit='`' in_vc_files='^tests/' \ halt='use $$(...), not `...` in tests/' \ $(_sc_search_regexp) # Ensure that compare is used to check empty files # so that the unexpected contents are displayed sc_prohibit_test_empty: @prohibit='test -s.*&&' in_vc_files='^tests/' \ halt='use `compare /dev/null ...`, not `test -s ...` in tests/' \ $(_sc_search_regexp) _space_before_paren_exempt =? \\n\\$$ _space_before_paren_exempt = \ (^ *\#|\\n\\$$|%s\(to %s|(date|group|character)\(s\)|STREQ_LEN) # Ensure that there is a space before each open parenthesis in C code. sc_space_before_open_paren: @if $(VC_LIST_EXCEPT) | grep -l '\.[ch]$$' > /dev/null; then \ fail=0; \ for c in $$($(VC_LIST_EXCEPT) | grep '\.[ch]$$'); do \ sed '$(_sed_rm_comments_q)' $$c 2>/dev/null \ | grep -i '[[:alnum:]](' \ | grep -vE '$(_space_before_paren_exempt)' \ | grep . && { fail=1; echo "*** $$c"; }; \ done; \ test $$fail = 1 && \ { echo '$(ME): the above files lack a space-before-open-paren' \ 1>&2; exit 1; } || :; \ else :; \ fi # Similar to the gnulib maint.mk rule for sc_prohibit_strcmp # Use STREQ_LEN or STRPREFIX rather than comparing strncmp == 0, or != 0. sc_prohibit_strncmp: @grep -nE '! *str''ncmp *\(|\&2; exit 1; } || : datamash-1.9/config.in0000644000000000000000000031561414771573746010430 /* config.in. Generated from configure.ac by autoheader. */ /* Witness that has been included. */ #define _GL_CONFIG_H_INCLUDED 1 /* Define if building universal (internal helper macro) */ #undef AC_APPLE_UNIVERSAL_BUILD /* Define if no multithread safety and no multithreading is desired. */ #undef AVOID_ANY_THREADS /* Define to the number of bits in type 'ptrdiff_t'. */ #undef BITSIZEOF_PTRDIFF_T /* Define to the number of bits in type 'sig_atomic_t'. */ #undef BITSIZEOF_SIG_ATOMIC_T /* Define to the number of bits in type 'size_t'. */ #undef BITSIZEOF_SIZE_T /* Define to the number of bits in type 'wchar_t'. */ #undef BITSIZEOF_WCHAR_T /* Define to the number of bits in type 'wint_t'. */ #undef BITSIZEOF_WINT_T /* Define to 1 if using 'alloca.c'. */ #undef C_ALLOCA /* Define as the bit index in the word where to find bit 0 of the exponent of 'double'. */ #undef DBL_EXPBIT0_BIT /* Define as the word index where to find the exponent of 'double'. */ #undef DBL_EXPBIT0_WORD /* Define as the bit index in the word where to find the sign of 'double'. */ #undef DBL_SIGNBIT_BIT /* Define as the word index where to find the sign of 'double'. */ #undef DBL_SIGNBIT_WORD /* Define to 1 if // is a file system root distinct from /. */ #undef DOUBLE_SLASH_IS_DISTINCT_ROOT /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* Define this to 1 if F_DUPFD behavior does not match POSIX */ #undef FCNTL_DUPFD_BUGGY /* Define to nothing if C supports flexible array members, and to 1 if it does not. That way, with a declaration like 'struct s { int n; short d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate the size in bytes of such a struct containing an N-element array. */ #undef FLEXIBLE_ARRAY_MEMBER /* Define as the bit index in the word where to find bit 0 of the exponent of 'float'. */ #undef FLT_EXPBIT0_BIT /* Define as the word index where to find the exponent of 'float'. */ #undef FLT_EXPBIT0_WORD /* Define as the bit index in the word where to find the sign of 'float'. */ #undef FLT_SIGNBIT_BIT /* Define as the word index where to find the sign of 'float'. */ #undef FLT_SIGNBIT_WORD /* Define to 1 if the system's ftello function has the Solaris bug. */ #undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE /* Define to 1 if the system's ftello function has the macOS bug. */ #undef FTELLO_BROKEN_AFTER_UNGETC /* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008 or later, 0 if fflush is known to not work, -1 if unknown. */ #undef FUNC_FFLUSH_STDIN /* Define to 1 if ungetc is broken when used on arbitrary bytes. */ #undef FUNC_UNGETC_BROKEN /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module close shall be considered present. */ #undef GNULIB_CLOSE /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module close-stream shall be considered present. */ #undef GNULIB_CLOSE_STREAM /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module dirname shall be considered present. */ #undef GNULIB_DIRNAME /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fflush shall be considered present. */ #undef GNULIB_FFLUSH /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fscanf shall be considered present. */ #undef GNULIB_FSCANF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module fstat shall be considered present. */ #undef GNULIB_FSTAT /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module isblank shall be considered present. */ #undef GNULIB_ISBLANK /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module localeconv shall be considered present. */ #undef GNULIB_LOCALECONV /* Define to the directory where to find the localizations of the translation domain 'gnulib', as a C string. */ #undef GNULIB_LOCALEDIR /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module lock shall be considered present. */ #undef GNULIB_LOCK /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module msvc-nothrow shall be considered present. */ #undef GNULIB_MSVC_NOTHROW /* Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__" */ #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module reallocarray shall be considered present. */ #undef GNULIB_REALLOCARRAY /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module scanf shall be considered present. */ #undef GNULIB_SCANF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module snprintf shall be considered present. */ #undef GNULIB_SNPRINTF /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module stat shall be considered present. */ #undef GNULIB_STAT /* Define to 1 if you want the FILE stream functions getc, putc, etc. to use unlocked I/O if available, throughout the package. Unlocked I/O can improve performance, sometimes dramatically. But unlocked I/O is safe only in single-threaded programs, as well as in multithreaded programs for which you can guarantee that every FILE stream, including stdin, stdout, stderr, is used only in a single thread. */ #undef GNULIB_STDIO_SINGLE_THREAD /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module strerror shall be considered present. */ #undef GNULIB_STRERROR /* Define to 1 when the gnulib module c32isalnum should be tested. */ #undef GNULIB_TEST_C32ISALNUM /* Define to 1 when the gnulib module c32isalpha should be tested. */ #undef GNULIB_TEST_C32ISALPHA /* Define to 1 when the gnulib module c32isblank should be tested. */ #undef GNULIB_TEST_C32ISBLANK /* Define to 1 when the gnulib module c32iscntrl should be tested. */ #undef GNULIB_TEST_C32ISCNTRL /* Define to 1 when the gnulib module c32isdigit should be tested. */ #undef GNULIB_TEST_C32ISDIGIT /* Define to 1 when the gnulib module c32isgraph should be tested. */ #undef GNULIB_TEST_C32ISGRAPH /* Define to 1 when the gnulib module c32islower should be tested. */ #undef GNULIB_TEST_C32ISLOWER /* Define to 1 when the gnulib module c32isprint should be tested. */ #undef GNULIB_TEST_C32ISPRINT /* Define to 1 when the gnulib module c32ispunct should be tested. */ #undef GNULIB_TEST_C32ISPUNCT /* Define to 1 when the gnulib module c32isspace should be tested. */ #undef GNULIB_TEST_C32ISSPACE /* Define to 1 when the gnulib module c32isupper should be tested. */ #undef GNULIB_TEST_C32ISUPPER /* Define to 1 when the gnulib module c32isxdigit should be tested. */ #undef GNULIB_TEST_C32ISXDIGIT /* Define to 1 when the gnulib module c32tolower should be tested. */ #undef GNULIB_TEST_C32TOLOWER /* Define to 1 when the gnulib module c32width should be tested. */ #undef GNULIB_TEST_C32WIDTH /* Define to 1 when the gnulib module calloc-gnu should be tested. */ #undef GNULIB_TEST_CALLOC_GNU /* Define to 1 when the gnulib module calloc-posix should be tested. */ #undef GNULIB_TEST_CALLOC_POSIX /* Define to 1 when the gnulib module ceil should be tested. */ #undef GNULIB_TEST_CEIL /* Define to 1 when the gnulib module ceill should be tested. */ #undef GNULIB_TEST_CEILL /* Define to 1 when the gnulib module cloexec should be tested. */ #undef GNULIB_TEST_CLOEXEC /* Define to 1 when the gnulib module close should be tested. */ #undef GNULIB_TEST_CLOSE /* Define to 1 when the gnulib module dup2 should be tested. */ #undef GNULIB_TEST_DUP2 /* Define to 1 when the gnulib module expl should be tested. */ #undef GNULIB_TEST_EXPL /* Define to 1 when the gnulib module fabsl should be tested. */ #undef GNULIB_TEST_FABSL /* Define to 1 when the gnulib module fcntl should be tested. */ #undef GNULIB_TEST_FCNTL /* Define to 1 when the gnulib module fflush should be tested. */ #undef GNULIB_TEST_FFLUSH /* Define to 1 when the gnulib module fgetc should be tested. */ #undef GNULIB_TEST_FGETC /* Define to 1 when the gnulib module fgets should be tested. */ #undef GNULIB_TEST_FGETS /* Define to 1 when the gnulib module floor should be tested. */ #undef GNULIB_TEST_FLOOR /* Define to 1 when the gnulib module floorl should be tested. */ #undef GNULIB_TEST_FLOORL /* Define to 1 when the gnulib module fprintf should be tested. */ #undef GNULIB_TEST_FPRINTF /* Define to 1 when the gnulib module fpurge should be tested. */ #undef GNULIB_TEST_FPURGE /* Define to 1 when the gnulib module fputc should be tested. */ #undef GNULIB_TEST_FPUTC /* Define to 1 when the gnulib module fputs should be tested. */ #undef GNULIB_TEST_FPUTS /* Define to 1 when the gnulib module fread should be tested. */ #undef GNULIB_TEST_FREAD /* Define to 1 when the gnulib module free-posix should be tested. */ #undef GNULIB_TEST_FREE_POSIX /* Define to 1 when the gnulib module frexp should be tested. */ #undef GNULIB_TEST_FREXP /* Define to 1 when the gnulib module frexpl should be tested. */ #undef GNULIB_TEST_FREXPL /* Define to 1 when the gnulib module fscanf should be tested. */ #undef GNULIB_TEST_FSCANF /* Define to 1 when the gnulib module fseek should be tested. */ #undef GNULIB_TEST_FSEEK /* Define to 1 when the gnulib module fseeko should be tested. */ #undef GNULIB_TEST_FSEEKO /* Define to 1 when the gnulib module fstat should be tested. */ #undef GNULIB_TEST_FSTAT /* Define to 1 when the gnulib module ftell should be tested. */ #undef GNULIB_TEST_FTELL /* Define to 1 when the gnulib module ftello should be tested. */ #undef GNULIB_TEST_FTELLO /* Define to 1 when the gnulib module fwrite should be tested. */ #undef GNULIB_TEST_FWRITE /* Define to 1 when the gnulib module getc should be tested. */ #undef GNULIB_TEST_GETC /* Define to 1 when the gnulib module getchar should be tested. */ #undef GNULIB_TEST_GETCHAR /* Define to 1 when the gnulib module getdtablesize should be tested. */ #undef GNULIB_TEST_GETDTABLESIZE /* Define to 1 when the gnulib module getlocalename_l-unsafe should be tested. */ #undef GNULIB_TEST_GETLOCALENAME_L_UNSAFE /* Define to 1 when the gnulib module getopt-posix should be tested. */ #undef GNULIB_TEST_GETOPT_POSIX /* Define to 1 when the gnulib module getprogname should be tested. */ #undef GNULIB_TEST_GETPROGNAME /* Define to 1 when the gnulib module getrandom should be tested. */ #undef GNULIB_TEST_GETRANDOM /* Define to 1 when the gnulib module isfinite should be tested. */ #undef GNULIB_TEST_ISFINITE /* Define to 1 when the gnulib module isinf should be tested. */ #undef GNULIB_TEST_ISINF /* Define to 1 when the gnulib module isnand should be tested. */ #undef GNULIB_TEST_ISNAND /* Define to 1 when the gnulib module isnanl should be tested. */ #undef GNULIB_TEST_ISNANL /* Define to 1 when the gnulib module iswblank should be tested. */ #undef GNULIB_TEST_ISWBLANK /* Define to 1 when the gnulib module iswdigit should be tested. */ #undef GNULIB_TEST_ISWDIGIT /* Define to 1 when the gnulib module iswpunct should be tested. */ #undef GNULIB_TEST_ISWPUNCT /* Define to 1 when the gnulib module iswxdigit should be tested. */ #undef GNULIB_TEST_ISWXDIGIT /* Define to 1 when the gnulib module ldexp should be tested. */ #undef GNULIB_TEST_LDEXP /* Define to 1 when the gnulib module ldexpl should be tested. */ #undef GNULIB_TEST_LDEXPL /* Define to 1 when the gnulib module localeconv should be tested. */ #undef GNULIB_TEST_LOCALECONV /* Define to 1 when the gnulib module localename-environ should be tested. */ #undef GNULIB_TEST_LOCALENAME_ENVIRON /* Define to 1 when the gnulib module localename-unsafe should be tested. */ #undef GNULIB_TEST_LOCALENAME_UNSAFE /* Define to 1 when the gnulib module log should be tested. */ #undef GNULIB_TEST_LOG /* Define to 1 when the gnulib module logl should be tested. */ #undef GNULIB_TEST_LOGL /* Define to 1 when the gnulib module lseek should be tested. */ #undef GNULIB_TEST_LSEEK /* Define to 1 when the gnulib module malloc-gnu should be tested. */ #undef GNULIB_TEST_MALLOC_GNU /* Define to 1 when the gnulib module malloc-posix should be tested. */ #undef GNULIB_TEST_MALLOC_POSIX /* Define to 1 when the gnulib module mbrtoc32 should be tested. */ #undef GNULIB_TEST_MBRTOC32 /* Define to 1 when the gnulib module mbrtowc should be tested. */ #undef GNULIB_TEST_MBRTOWC /* Define to 1 when the gnulib module mbsinit should be tested. */ #undef GNULIB_TEST_MBSINIT /* Define to 1 when the gnulib module mbslen should be tested. */ #undef GNULIB_TEST_MBSLEN /* Define to 1 when the gnulib module mbsstr should be tested. */ #undef GNULIB_TEST_MBSSTR /* Define to 1 when the gnulib module mbszero should be tested. */ #undef GNULIB_TEST_MBSZERO /* Define to 1 when the gnulib module memchr should be tested. */ #undef GNULIB_TEST_MEMCHR /* Define to 1 when the gnulib module mempcpy should be tested. */ #undef GNULIB_TEST_MEMPCPY /* Define to 1 when the gnulib module modf should be tested. */ #undef GNULIB_TEST_MODF /* Define to 1 when the gnulib module modfl should be tested. */ #undef GNULIB_TEST_MODFL /* Define to 1 when the gnulib module open should be tested. */ #undef GNULIB_TEST_OPEN /* Define to 1 when the gnulib module pclose should be tested. */ #undef GNULIB_TEST_PCLOSE /* Define to 1 when the gnulib module popen should be tested. */ #undef GNULIB_TEST_POPEN /* Define to 1 when the gnulib module printf should be tested. */ #undef GNULIB_TEST_PRINTF /* Define to 1 when the gnulib module pthread-once should be tested. */ #undef GNULIB_TEST_PTHREAD_ONCE /* Define to 1 when the gnulib module putc should be tested. */ #undef GNULIB_TEST_PUTC /* Define to 1 when the gnulib module putchar should be tested. */ #undef GNULIB_TEST_PUTCHAR /* Define to 1 when the gnulib module puts should be tested. */ #undef GNULIB_TEST_PUTS /* Define to 1 when the gnulib module random should be tested. */ #undef GNULIB_TEST_RANDOM /* Define to 1 when the gnulib module random_r should be tested. */ #undef GNULIB_TEST_RANDOM_R /* Define to 1 when the gnulib module reallocarray should be tested. */ #undef GNULIB_TEST_REALLOCARRAY /* Define to 1 when the gnulib module realloc-posix should be tested. */ #undef GNULIB_TEST_REALLOC_POSIX /* Define to 1 when the gnulib module round should be tested. */ #undef GNULIB_TEST_ROUND /* Define to 1 when the gnulib module roundl should be tested. */ #undef GNULIB_TEST_ROUNDL /* Define to 1 when the gnulib module scanf should be tested. */ #undef GNULIB_TEST_SCANF /* Define to 1 when the gnulib module setlocale should be tested. */ #undef GNULIB_TEST_SETLOCALE /* Define to 1 when the gnulib module setlocale_null should be tested. */ #undef GNULIB_TEST_SETLOCALE_NULL /* Define to 1 when the gnulib module signbit should be tested. */ #undef GNULIB_TEST_SIGNBIT /* Define to 1 when the gnulib module snprintf should be tested. */ #undef GNULIB_TEST_SNPRINTF /* Define to 1 when the gnulib module sqrtl should be tested. */ #undef GNULIB_TEST_SQRTL /* Define to 1 when the gnulib module stat should be tested. */ #undef GNULIB_TEST_STAT /* Define to 1 when the gnulib module stpcpy should be tested. */ #undef GNULIB_TEST_STPCPY /* Define to 1 when the gnulib module strdup should be tested. */ #undef GNULIB_TEST_STRDUP /* Define to 1 when the gnulib module strerror should be tested. */ #undef GNULIB_TEST_STRERROR /* Define to 1 when the gnulib module strnlen should be tested. */ #undef GNULIB_TEST_STRNLEN /* Define to 1 when the gnulib module strsep should be tested. */ #undef GNULIB_TEST_STRSEP /* Define to 1 when the gnulib module strtod should be tested. */ #undef GNULIB_TEST_STRTOD /* Define to 1 when the gnulib module strtold should be tested. */ #undef GNULIB_TEST_STRTOLD /* Define to 1 when the gnulib module strtoll should be tested. */ #undef GNULIB_TEST_STRTOLL /* Define to 1 when the gnulib module strtoull should be tested. */ #undef GNULIB_TEST_STRTOULL /* Define to 1 when the gnulib module trunc should be tested. */ #undef GNULIB_TEST_TRUNC /* Define to 1 when the gnulib module truncl should be tested. */ #undef GNULIB_TEST_TRUNCL /* Define to 1 when the gnulib module vfprintf should be tested. */ #undef GNULIB_TEST_VFPRINTF /* Define to 1 when the gnulib module vprintf should be tested. */ #undef GNULIB_TEST_VPRINTF /* Define to 1 when the gnulib module vsnzprintf should be tested. */ #undef GNULIB_TEST_VSNZPRINTF /* Define to 1 when the gnulib module waitpid should be tested. */ #undef GNULIB_TEST_WAITPID /* Define to 1 when the gnulib module wcwidth should be tested. */ #undef GNULIB_TEST_WCWIDTH /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module unistr/u8-mbtoucr shall be considered present. */ #undef GNULIB_UNISTR_U8_MBTOUCR /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module unistr/u8-uctomb shall be considered present. */ #undef GNULIB_UNISTR_U8_UCTOMB /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module xalloc shall be considered present. */ #undef GNULIB_XALLOC /* Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module xalloc-die shall be considered present. */ #undef GNULIB_XALLOC_DIE /* Define if the __locale_t type contains the name of the LC_MESSAGES category. */ #undef HAVE_AIX72_LOCALES /* Define to 1 if you have 'alloca' after including , a header that may be supplied by this distribution. */ #undef HAVE_ALLOCA /* Define to 1 if works. */ #undef HAVE_ALLOCA_H /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H /* Define to 1 if you have the header file. */ #undef HAVE_BCRYPT_H /* Define to 1 if you have the header file. */ #undef HAVE_BP_SYM_H /* Define to 1 if strtold does not work properly (e.g. in cygwin) */ #undef HAVE_BROKEN_STRTOLD /* Define to 1 if you have the header file. */ #undef HAVE_BYTESWAP_H /* Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define if the copysignf function is declared in and available in libc. */ #undef HAVE_COPYSIGNF_IN_LIBC /* Define if the copysignl function is declared in and available in libc. */ #undef HAVE_COPYSIGNL_IN_LIBC /* Define if the copysign function is declared in and available in libc. */ #undef HAVE_COPYSIGN_IN_LIBC /* Define to 1 if you have the header file. */ #undef HAVE_CRTDEFS_H /* Define to 1 if the alignas and alignof keywords work. */ #undef HAVE_C_ALIGNASOF /* Define to 1 if bool, true and false work as per C2023. */ #undef HAVE_C_BOOL /* Define to 1 if the static_assert keyword works. */ #undef HAVE_C_STATIC_ASSERT /* Define to 1 if C supports variable-length arrays. */ #undef HAVE_C_VARARRAYS /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the declaration of 'alarm', and to 0 if you don't. */ #undef HAVE_DECL_ALARM /* Define to 1 if you have the declaration of 'ceill', and to 0 if you don't. */ #undef HAVE_DECL_CEILL /* Define to 1 if you have the declaration of 'clearerr_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_CLEARERR_UNLOCKED /* Define to 1 if you have the declaration of 'copysign', and to 0 if you don't. */ #undef HAVE_DECL_COPYSIGN /* Define to 1 if you have the declaration of 'copysignf', and to 0 if you don't. */ #undef HAVE_DECL_COPYSIGNF /* Define to 1 if you have the declaration of 'copysignl', and to 0 if you don't. */ #undef HAVE_DECL_COPYSIGNL /* Define to 1 if you have the declaration of 'ecvt', and to 0 if you don't. */ #undef HAVE_DECL_ECVT /* Define to 1 if you have the declaration of 'execvpe', and to 0 if you don't. */ #undef HAVE_DECL_EXECVPE /* Define to 1 if you have the declaration of 'fcloseall', and to 0 if you don't. */ #undef HAVE_DECL_FCLOSEALL /* Define to 1 if you have the declaration of 'fcvt', and to 0 if you don't. */ #undef HAVE_DECL_FCVT /* Define to 1 if you have the declaration of 'feof_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FEOF_UNLOCKED /* Define to 1 if you have the declaration of 'ferror_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FERROR_UNLOCKED /* Define to 1 if you have the declaration of 'fflush_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FFLUSH_UNLOCKED /* Define to 1 if you have the declaration of 'fgets_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FGETS_UNLOCKED /* Define to 1 if you have the declaration of 'floorl', and to 0 if you don't. */ #undef HAVE_DECL_FLOORL /* Define to 1 if you have the declaration of 'fpurge', and to 0 if you don't. */ #undef HAVE_DECL_FPURGE /* Define to 1 if you have the declaration of 'fputc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FPUTC_UNLOCKED /* Define to 1 if you have the declaration of 'fputs_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FPUTS_UNLOCKED /* Define to 1 if you have the declaration of 'fread_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FREAD_UNLOCKED /* Define to 1 if you have the declaration of 'fseeko', and to 0 if you don't. */ #undef HAVE_DECL_FSEEKO /* Define to 1 if you have the declaration of 'ftello', and to 0 if you don't. */ #undef HAVE_DECL_FTELLO /* Define to 1 if you have the declaration of 'fwrite_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FWRITE_UNLOCKED /* Define to 1 if you have the declaration of 'gcvt', and to 0 if you don't. */ #undef HAVE_DECL_GCVT /* Define to 1 if you have the declaration of 'getchar_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_GETCHAR_UNLOCKED /* Define to 1 if you have the declaration of 'getc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_GETC_UNLOCKED /* Define to 1 if you have the declaration of 'getdtablesize', and to 0 if you don't. */ #undef HAVE_DECL_GETDTABLESIZE /* Define to 1 if you have the declaration of 'getw', and to 0 if you don't. */ #undef HAVE_DECL_GETW /* Define to 1 if you have the declaration of 'inet_pton', and to 0 if you don't. */ #undef HAVE_DECL_INET_PTON /* Define to 1 if you have the declaration of 'initstate', and to 0 if you don't. */ #undef HAVE_DECL_INITSTATE /* Define to 1 if you have the declaration of 'isfinite', and to 0 if you don't. */ #undef HAVE_DECL_ISFINITE /* Define to 1 if you have the declaration of 'isinf', and to 0 if you don't. */ #undef HAVE_DECL_ISINF /* Define to 1 if you have the declaration of 'iswblank', and to 0 if you don't. */ #undef HAVE_DECL_ISWBLANK /* Define to 1 if you have the declaration of 'mbrtowc', and to 0 if you don't. */ #undef HAVE_DECL_MBRTOWC /* Define to 1 if you have the declaration of 'mbsinit', and to 0 if you don't. */ #undef HAVE_DECL_MBSINIT /* Define to 1 if you have the declaration of 'program_invocation_name', and to 0 if you don't. */ #undef HAVE_DECL_PROGRAM_INVOCATION_NAME /* Define to 1 if you have the declaration of 'program_invocation_short_name', and to 0 if you don't. */ #undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME /* Define to 1 if you have the declaration of 'putchar_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_PUTCHAR_UNLOCKED /* Define to 1 if you have the declaration of 'putc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_PUTC_UNLOCKED /* Define to 1 if you have the declaration of 'putw', and to 0 if you don't. */ #undef HAVE_DECL_PUTW /* Define to 1 if you have the declaration of 'round', and to 0 if you don't. */ #undef HAVE_DECL_ROUND /* Define to 1 if you have the declaration of 'roundl', and to 0 if you don't. */ #undef HAVE_DECL_ROUNDL /* Define to 1 if you have the declaration of 'setstate', and to 0 if you don't. */ #undef HAVE_DECL_SETSTATE /* Define to 1 if you have the declaration of 'snprintf', and to 0 if you don't. */ #undef HAVE_DECL_SNPRINTF /* Define to 1 if you have the declaration of 'strdup', and to 0 if you don't. */ #undef HAVE_DECL_STRDUP /* Define to 1 if you have the declaration of 'strerror_r', and to 0 if you don't. */ #undef HAVE_DECL_STRERROR_R /* Define to 1 if you have the declaration of 'strncasecmp', and to 0 if you don't. */ #undef HAVE_DECL_STRNCASECMP /* Define to 1 if you have the declaration of 'strnlen', and to 0 if you don't. */ #undef HAVE_DECL_STRNLEN /* Define to 1 if you have the declaration of 'strtoull', and to 0 if you don't. */ #undef HAVE_DECL_STRTOULL /* Define to 1 if you have the declaration of 'strtoumax', and to 0 if you don't. */ #undef HAVE_DECL_STRTOUMAX /* Define to 1 if you have the declaration of 'towlower', and to 0 if you don't. */ #undef HAVE_DECL_TOWLOWER /* Define to 1 if you have the declaration of 'trunc', and to 0 if you don't. */ #undef HAVE_DECL_TRUNC /* Define to 1 if you have the declaration of 'truncl', and to 0 if you don't. */ #undef HAVE_DECL_TRUNCL /* Define to 1 if you have the declaration of 'wcsdup', and to 0 if you don't. */ #undef HAVE_DECL_WCSDUP /* Define to 1 if you have the declaration of 'wcwidth', and to 0 if you don't. */ #undef HAVE_DECL_WCWIDTH /* Define to 1 if you have the declaration of '_fseeki64', and to 0 if you don't. */ #undef HAVE_DECL__FSEEKI64 /* Define to 1 if you have the declaration of '_snprintf', and to 0 if you don't. */ #undef HAVE_DECL__SNPRINTF /* Define to 1 if you have the declaration of '__argv', and to 0 if you don't. */ #undef HAVE_DECL___ARGV /* Define to 1 if you have the declaration of '__fpending', and to 0 if you don't. */ #undef HAVE_DECL___FPENDING /* Define to 1 if you have the `duplocale' function. */ #undef HAVE_DUPLOCALE /* Define to 1 if you have the `error' function. */ #undef HAVE_ERROR /* Define to 1 if you have the header file. */ #undef HAVE_ERROR_H /* Define if the locale_t type contains insufficient information, as on OpenBSD. */ #undef HAVE_FAKE_LOCALES /* Define to 1 if you have the 'fcntl' function. */ #undef HAVE_FCNTL /* Define to 1 if you have the header file. */ #undef HAVE_FEATURES_H /* Define if the both the floorl() and ceill() functions exist. */ #undef HAVE_FLOORL_AND_CEILL /* Define to 1 if you have the 'fpurge' function. */ #undef HAVE_FPURGE /* Define to 1 if you have the `freelocale' function. */ #undef HAVE_FREELOCALE /* Define if the 'free' function is guaranteed to preserve errno. */ #undef HAVE_FREE_POSIX /* Define if the frexp() function is available and works. */ #undef HAVE_FREXP /* Define if the frexpl() function is available. */ #undef HAVE_FREXPL /* Define to 1 if the system has the fseeko function. */ #undef HAVE_FSEEKO /* Define to 1 if the system has the ftello function. */ #undef HAVE_FTELLO /* Define to 1 if you have the 'getdtablesize' function. */ #undef HAVE_GETDTABLESIZE /* Define to 1 if you have the 'getexecname' function. */ #undef HAVE_GETEXECNAME /* Define to 1 if you have the 'getlocalename_l' function. */ #undef HAVE_GETLOCALENAME_L /* Define to 1 if you have the header file. */ #undef HAVE_GETOPT_H /* Define to 1 if you have the 'getopt_long_only' function. */ #undef HAVE_GETOPT_LONG_ONLY /* Define to 1 if you have the `getprogname' function. */ #undef HAVE_GETPROGNAME /* Define to 1 if you have the `getrandom' function. */ #undef HAVE_GETRANDOM /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define if the uselocale function exists, may be safely called, and returns sufficient information. */ #undef HAVE_GOOD_USELOCALE /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the header file. */ #undef HAVE_ICONV_H /* Define to 1 if you have the 'inet_pton' function. */ #undef HAVE_INET_PTON /* Define to 1 if you have the `initstate' function. */ #undef HAVE_INITSTATE /* Define to 1 if the compiler supports one of the keywords 'inline', '__inline__', '__inline' and effectively inlines functions marked as such. */ #undef HAVE_INLINE /* Define if you have the 'intmax_t' type in or . */ #undef HAVE_INTMAX_T /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_INTTYPES_H_WITH_UINTMAX /* Define to 1 if defines AF_INET. */ #undef HAVE_IPV4 /* Define to 1 if defines AF_INET6. */ #undef HAVE_IPV6 /* Define to 1 if you have the 'isblank' function. */ #undef HAVE_ISBLANK /* Define if the isnan(double) function is available in libc. */ #undef HAVE_ISNAND_IN_LIBC /* Define if the isnan(float) function is available in libc. */ #undef HAVE_ISNANF_IN_LIBC /* Define if the isnan(long double) function is available in libc. */ #undef HAVE_ISNANL_IN_LIBC /* Define to 1 if you have the `iswblank' function. */ #undef HAVE_ISWBLANK /* Define to 1 if you have the 'iswcntrl' function. */ #undef HAVE_ISWCNTRL /* Define if you have and nl_langinfo(CODESET). */ #undef HAVE_LANGINFO_CODESET /* Define to 1 if you have the header file. */ #undef HAVE_LANGINFO_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define if the ldexpl() function is available. */ #undef HAVE_LDEXPL /* Define if the ldexpl function is available in libc. */ #undef HAVE_LDEXPL_IN_LIBC /* Define if the ldexp function is available in libc. */ #undef HAVE_LDEXP_IN_LIBC /* Define to 1 if the bcrypt library is guaranteed to be present. */ #undef HAVE_LIB_BCRYPT /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H /* Define to 1 if you have 'struct sockaddr_alg' defined. */ #undef HAVE_LINUX_IF_ALG_H /* Define to 1 if the system has the type 'long long int'. */ #undef HAVE_LONG_LONG_INT /* Define to 1 if you have the 'lstat' function. */ #undef HAVE_LSTAT /* Define to 1 if malloc (0) returns nonnull. */ #undef HAVE_MALLOC_0_NONNULL /* Define if malloc, realloc, and calloc set errno on allocation failure. */ #undef HAVE_MALLOC_POSIX /* Define to 1 if malloc-like functions do not allocate objects larger than PTRDIFF_MAX bytes. */ #undef HAVE_MALLOC_PTRDIFF /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and . */ #undef HAVE_MAP_ANONYMOUS /* Define to 1 if you have the header file. */ #undef HAVE_MATH_H /* Define to 1 if you have the 'mbrtowc' function. */ #undef HAVE_MBRTOWC /* Define to 1 if you have the 'mbsinit' function. */ #undef HAVE_MBSINIT /* Define to 1 if you have the 'mbslen' function. */ #undef HAVE_MBSLEN /* Define to 1 if declares mbstate_t. */ #undef HAVE_MBSTATE_T /* Define to 1 if you have the `mempcpy' function. */ #undef HAVE_MEMPCPY /* Define to 1 if you have the header file. */ #undef HAVE_MINIX_CONFIG_H /* Define to 1 if defines the MIN and MAX macros. */ #undef HAVE_MINMAX_IN_LIMITS_H /* Define to 1 if defines the MIN and MAX macros. */ #undef HAVE_MINMAX_IN_SYS_PARAM_H /* Define to 1 if you have the 'mprotect' function. */ #undef HAVE_MPROTECT /* Define to 1 on MSVC platforms that have the "invalid parameter handler" concept. */ #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Define if the locale_t type does not contain the name of each locale category. */ #undef HAVE_NAMELESS_LOCALES /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the `newlocale' function. */ #undef HAVE_NEWLOCALE /* Define to 1 if you have the `nl_langinfo' function. */ #undef HAVE_NL_LANGINFO /* Define to 1 if libcrypto is used for MD5. */ #undef HAVE_OPENSSL_MD5 /* Define to 1 if you have the header file. */ #undef HAVE_OPENSSL_MD5_H /* Define to 1 if libcrypto is used for SHA1. */ #undef HAVE_OPENSSL_SHA1 /* Define to 1 if libcrypto is used for SHA256. */ #undef HAVE_OPENSSL_SHA256 /* Define to 1 if libcrypto is used for SHA512. */ #undef HAVE_OPENSSL_SHA512 /* Define to 1 if you have the header file. */ #undef HAVE_OPENSSL_SHA_H /* Define to 1 if you have the 'pclose' function. */ #undef HAVE_PCLOSE /* Define to 1 if you have the 'pledge' function. */ #undef HAVE_PLEDGE /* Define to 1 if you have the 'popen' function. */ #undef HAVE_POPEN /* Define if you have the header and the POSIX threads API. */ #undef HAVE_PTHREAD_API /* Define to 1 if you have the header file. */ #undef HAVE_PTHREAD_H /* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ #undef HAVE_PTHREAD_MUTEX_RECURSIVE /* Define if the POSIX multithreading library has read/write locks. */ #undef HAVE_PTHREAD_RWLOCK /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a reader. */ #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER /* Define to 1 if the system has the type 'pthread_spinlock_t'. */ #undef HAVE_PTHREAD_SPINLOCK_T /* Define to 1 if the system has the type 'pthread_t'. */ #undef HAVE_PTHREAD_T /* Define to 1 if you have the header file. */ #undef HAVE_RANDOM_H /* Define to 1 if you have the 'random_r' function. */ #undef HAVE_RANDOM_R /* Define to 1 if you have the `reallocarray' function. */ #undef HAVE_REALLOCARRAY /* Define to 1 if realloc (..., 0) returns nonnull. */ #undef HAVE_REALLOC_0_NONNULL /* Define to 1 if 'long double' and 'double' have the same representation. */ #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Define to 1 if the system has the type 'sa_family_t'. */ #undef HAVE_SA_FAMILY_T /* Define to 1 if you have the header file. */ #undef HAVE_SCHED_H /* Define to 1 if you have the header file. */ #undef HAVE_SDKDDKVER_H /* Define to 1 if you have the 'setdtablesize' function. */ #undef HAVE_SETDTABLESIZE /* Define to 1 if you have the `setstate' function. */ #undef HAVE_SETSTATE /* Define to 1 if you have the 'shutdown' function. */ #undef HAVE_SHUTDOWN /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ #undef HAVE_SIGNED_SIG_ATOMIC_T /* Define to 1 if 'wchar_t' is a signed integer type. */ #undef HAVE_SIGNED_WCHAR_T /* Define to 1 if 'wint_t' is a signed integer type. */ #undef HAVE_SIGNED_WINT_T /* Define to 1 if you have the 'snprintf' function. */ #undef HAVE_SNPRINTF /* Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the buffer had been large enough. */ #undef HAVE_SNPRINTF_RETVAL_C99 /* Define if the string produced by the snprintf function is always NUL terminated. */ #undef HAVE_SNPRINTF_TRUNCATION_C99 /* Define if the locale_t type is as on Solaris 11.4. */ #undef HAVE_SOLARIS114_LOCALES /* Define to 1 if sort on this system supports -s for stable sorting */ #undef HAVE_STABLE_SORT /* Define to 1 if you have the header file. */ #undef HAVE_STDBOOL_H /* Define to 1 if you have the header file. */ #undef HAVE_STDCKDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_STDINT_H_WITH_UINTMAX /* Define to 1 if you have the header file. */ #undef HAVE_STDIO_EXT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDIO_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `stpcpy' function. */ #undef HAVE_STPCPY /* Define to 1 if you have the 'strcasecmp' function. */ #undef HAVE_STRCASECMP /* Define if you have 'strerror_r'. */ #undef HAVE_STRERROR_R /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the 'strncasecmp' function. */ #undef HAVE_STRNCASECMP /* Define to 1 if you have the 'strnlen' function. */ #undef HAVE_STRNLEN /* Define to 1 if you have the 'strsep' function. */ #undef HAVE_STRSEP /* Define to 1 if you have the 'strtold' function. */ #undef HAVE_STRTOLD /* Define to 1 if you have the 'strtoll' function. */ #undef HAVE_STRTOLL /* Define to 1 if you have the 'strtoull' function. */ #undef HAVE_STRTOULL /* Define to 1 if you have the 'strtoumax' function. */ #undef HAVE_STRTOUMAX /* Define to 1 if 'decimal_point' is a member of 'struct lconv'. */ #undef HAVE_STRUCT_LCONV_DECIMAL_POINT /* Define to 1 if 'int_p_cs_precedes' is a member of 'struct lconv'. */ #undef HAVE_STRUCT_LCONV_INT_P_CS_PRECEDES /* Define to 1 if the system has the type 'struct random_data'. */ #undef HAVE_STRUCT_RANDOM_DATA /* Define to 1 if the system has the type 'struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE /* Define to 1 if 'ss_family' is a member of 'struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY /* Define to 1 if 'st_atimensec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIMENSEC /* Define to 1 if 'st_atimespec.tv_nsec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC /* Define to 1 if 'st_atim.st__tim.tv_nsec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC /* Define to 1 if 'st_atim.tv_nsec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC /* Define to 1 if 'st_birthtimensec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC /* Define to 1 if 'st_birthtimespec.tv_nsec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC /* Define to 1 if 'st_birthtim.tv_nsec' is a member of 'struct stat'. */ #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC /* Define to 1 if you have the 'symlink' function. */ #undef HAVE_SYMLINK /* Define to 1 if you have the header file. */ #undef HAVE_SYS_BITYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_MMAN_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PARAM_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_RANDOM_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SINGLE_THREADED_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_UIO_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_WAIT_H /* Define to 1 if you have the `thrd_create' function. */ #undef HAVE_THRD_CREATE /* Define to 1 if you have the header file. */ #undef HAVE_THREADS_H /* Define to 1 if you have the 'towlower' function. */ #undef HAVE_TOWLOWER /* Define to 1 if you have the header file. */ #undef HAVE_UCHAR_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTRING_WOE32DLL_H /* Define to 1 if the system has the type 'unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Define to 1 if you have the `uselocale' function. */ #undef HAVE_USELOCALE /* Define if you have a global __progname variable */ #undef HAVE_VAR___PROGNAME /* Define to 1 if you have the 'vasnprintf' function. */ #undef HAVE_VASNPRINTF /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #undef HAVE_VISIBILITY /* Define to 1 if you have the header file. */ #undef HAVE_WCHAR_H /* Define to 1 if you have the 'wcrtomb' function. */ #undef HAVE_WCRTOMB /* Define to 1 if you have the 'wcslen' function. */ #undef HAVE_WCSLEN /* Define to 1 if you have the header file. */ #undef HAVE_WCTYPE_H /* Define to 1 if you have the 'wcwidth' function. */ #undef HAVE_WCWIDTH /* Define to 1 if the compiler and linker support weak declarations of symbols. */ #undef HAVE_WEAK_SYMBOLS /* Define to 1 if defines the _locale_t type. */ #undef HAVE_WINDOWS_LOCALE_T /* Define to 1 if you have the header file. */ #undef HAVE_WINSOCK2_H /* Define if you have the 'wint_t' type. */ #undef HAVE_WINT_T /* Define if the c32rtomb function basically works. */ #undef HAVE_WORKING_C32RTOMB /* Define if the mbrtoc32 function basically works. */ #undef HAVE_WORKING_MBRTOC32 /* Define to 1 if O_NOATIME works. */ #undef HAVE_WORKING_O_NOATIME /* Define to 1 if O_NOFOLLOW works. */ #undef HAVE_WORKING_O_NOFOLLOW /* Define if the uselocale function exists and may safely be called. */ #undef HAVE_WORKING_USELOCALE /* Define to 1 if you have the header file. */ #undef HAVE_WS2TCPIP_H /* Define to 1 if you have the header file. */ #undef HAVE_XLOCALE_H /* Define to 1 if sort on this system supports -z for NUL line delimiters */ #undef HAVE_ZERO_SORT /* Define to 1 if you have the '_fseeki64' function. */ #undef HAVE__FSEEKI64 /* Define to 1 if you have the '_ftelli64' function. */ #undef HAVE__FTELLI64 /* Define to 1 if you have the '_set_invalid_parameter_handler' function. */ #undef HAVE__SET_INVALID_PARAMETER_HANDLER /* Define to 1 if you have the `__fpurge' function. */ #undef HAVE___FPURGE /* Define to 1 if you have the `__freading' function. */ #undef HAVE___FREADING /* Define to 1 if ctype.h defines __header_inline. */ #undef HAVE___HEADER_INLINE /* Please see the Gnulib manual for how to use these macros. Suppress extern inline with HP-UX cc, as it appears to be broken; see . Suppress extern inline with Sun C in standards-conformance mode, as it mishandles inline functions that call each other. E.g., for 'inline void f (void) { } inline void g (void) { f (); }', c99 incorrectly complains 'reference to static identifier "f" in extern inline function'. This bug was observed with Oracle Developer Studio 12.6 (Sun C 5.15 SunOS_sparc 2017/05/30). Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) on configurations that mistakenly use 'static inline' to implement functions or macros in standard C headers like . For example, if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since the C standard prohibits extern inline functions from calling static functions (ISO C 99 section 6.7.4.(3). This bug is known to occur on: OS X 10.8 and earlier; see: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html DragonFly; see http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log FreeBSD; see: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and for clang but remains for g++; see . Assume DragonFly and FreeBSD will be similar. GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. It defines a macro __GNUC_STDC_INLINE__ to indicate this situation or a macro __GNUC_GNU_INLINE__ to indicate the opposite situation. GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline semantics but warns, unless -fgnu89-inline is used: warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ #if (((defined __APPLE__ && defined __MACH__) \ || defined __DragonFly__ || defined __FreeBSD__) \ && (defined HAVE___HEADER_INLINE \ ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ && ! defined __clang__) \ : ((! defined _DONT_USE_CTYPE_INLINE_ \ && (defined __GNUC__ || defined __cplusplus)) \ || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ && defined __GNUC__ && ! defined __cplusplus)))) # define _GL_EXTERN_INLINE_STDHEADER_BUG #endif #if ((__GNUC__ \ ? (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ && !defined __PCC__) \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline # define _GL_EXTERN_INLINE_IN_USE #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ && !defined __PCC__ \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) # else # define _GL_INLINE extern inline # endif # define _GL_EXTERN_INLINE extern # define _GL_EXTERN_INLINE_IN_USE #else # define _GL_INLINE _GL_UNUSED static # define _GL_EXTERN_INLINE _GL_UNUSED static #endif /* In GCC 4.6 (inclusive) to 5.1 (exclusive), suppress bogus "no previous prototype for 'FOO'" and "no previous declaration for 'FOO'" diagnostics, when FOO is an inline function in the header; see and . */ #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ # define _GL_INLINE_HEADER_CONST_PRAGMA # else # define _GL_INLINE_HEADER_CONST_PRAGMA \ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") # endif # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ _GL_INLINE_HEADER_CONST_PRAGMA # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") #else # define _GL_INLINE_HEADER_BEGIN # define _GL_INLINE_HEADER_END #endif /* Define to 1 if the compiler supports the keyword '__inline'. */ #undef HAVE___INLINE /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST /* Define to a symbolic name denoting the flavor of iconv_open() implementation. */ #undef ICONV_FLAVOR /* Define as the bit index in the word where to find bit 0 of the exponent of 'long double'. */ #undef LDBL_EXPBIT0_BIT /* Define as the word index where to find the exponent of 'long double'. */ #undef LDBL_EXPBIT0_WORD /* Define as the bit index in the word where to find the sign of 'long double'. */ #undef LDBL_SIGNBIT_BIT /* Define as the word index where to find the sign of 'long double'. */ #undef LDBL_SIGNBIT_WORD /* Define if localename.c overrides newlocale(), duplocale(), freelocale(). */ #undef LOCALENAME_ENHANCE_LOCALE_FUNCS /* Define to 1 if lseek does not detect pipes. */ #undef LSEEK_PIPE_BROKEN /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ #undef MAP_ANONYMOUS /* Define if the mbrtoc32 function does not return (size_t) -2 for empty input. */ #undef MBRTOC32_EMPTY_INPUT_BUG /* Define if the mbrtoc32 function may signal encoding errors in the C locale. */ #undef MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ /* Define if the mbrtoc32 function does not accept the input bytes one-by-one. */ #undef MBRTOC32_MULTIBYTE_LOCALE_BUG /* Define if the mbrtowc function does not return (size_t) -2 for empty input. */ #undef MBRTOWC_EMPTY_INPUT_BUG /* Define if the mbrtowc function may signal encoding errors in the C locale. */ #undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ /* Define if the mbrtowc function has the NULL pwc argument bug. */ #undef MBRTOWC_NULL_ARG1_BUG /* Define if the mbrtowc function has the NULL string argument bug. */ #undef MBRTOWC_NULL_ARG2_BUG /* Define if the mbrtowc function does not return 0 for a NUL character. */ #undef MBRTOWC_NUL_RETVAL_BUG /* Define if the mbrtowc function returns a wrong return value. */ #undef MBRTOWC_RETVAL_BUG /* Define if the mbrtowc function stores a wide character when reporting incomplete input. */ #undef MBRTOWC_STORES_INCOMPLETE_BUG /* Use GNU style printf and scanf. */ #ifndef __USE_MINGW_ANSI_STDIO # undef __USE_MINGW_ANSI_STDIO #endif /* Define to 1 on musl libc. */ #undef MUSL_LIBC /* Define to 1 if assertions should be disabled. */ #undef NDEBUG /* Define to 1 if realloc should abort upon undefined behaviour. */ #undef NEED_SANITIZED_REALLOC /* Define to 1 to enable general improvements of setlocale. */ #undef NEED_SETLOCALE_IMPROVED /* Define to 1 to enable a multithread-safety fix of setlocale. */ #undef NEED_SETLOCALE_MTSAFE /* Define to 1 if open() fails to recognize a trailing slash. */ #undef OPEN_TRAILING_SLASH_BUG /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* String identifying the packager of this software */ #undef PACKAGE_PACKAGER /* Packager info for bug reports (URL/e-mail/...) */ #undef PACKAGE_PACKAGER_BUG_REPORTS /* Packager-specific version information */ #undef PACKAGE_PACKAGER_VERSION /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to the type that is the result of default argument promotions of type mode_t. */ #undef PROMOTED_MODE_T /* Define if the pthread_in_use() detection is hard. */ #undef PTHREAD_IN_USE_DETECTION_HARD /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'ptrdiff_t'. */ #undef PTRDIFF_T_SUFFIX /* Define to 1 if stat needs help when passed a file name with a trailing slash */ #undef REPLACE_FUNC_STAT_FILE /* Define to 1 if strerror(0) does not return a message implying success. */ #undef REPLACE_STRERROR_0 /* Define if vasnprintf exists but is overridden by gnulib. */ #undef REPLACE_VASNPRINTF /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ #undef SETLOCALE_NULL_ALL_MTSAFE /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ #undef SETLOCALE_NULL_ONE_MTSAFE /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'sig_atomic_t'. */ #undef SIG_ATOMIC_T_SUFFIX /* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #ifndef SIZE_MAX # undef SIZE_MAX #endif /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'size_t'. */ #undef SIZE_T_SUFFIX /* Absolute path to sort command */ #undef SORT_PATH /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if the 'S_IS*' macros in do not work properly. */ #undef STAT_MACROS_BROKEN /* Define to 1 if all of the C89 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for backward compatibility; new code need not use it. */ #undef STDC_HEADERS /* Define to 1 if strerror_r returns char *. */ #undef STRERROR_R_CHAR_P /* Define to 1 if strtod does not set errno upon gradual underflow. */ #undef STRTOD_HAS_GRADUAL_UNDERFLOW_PROBLEM /* Define to 1 if strtod does not set errno upon flush-to-zero underflow. */ #undef STRTOD_HAS_UNDERFLOW_BUG /* Define to 1 if strtold does not set errno upon gradual underflow. */ #undef STRTOLD_HAS_GRADUAL_UNDERFLOW_PROBLEM /* Define to 1 if strtold does not set errno upon flush-to-zero underflow. */ #undef STRTOLD_HAS_UNDERFLOW_BUG /* Define to 1 if the type of the st_atim member of a struct stat is struct timespec. */ #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC /* Define if the combination of the ISO C and POSIX multithreading APIs can be used. */ #undef USE_ISOC_AND_POSIX_THREADS /* Define if the ISO C multithreading library can be used. */ #undef USE_ISOC_THREADS /* Define to enable the declarations of ISO C 23 Annex K types and functions. */ #if !(defined __STDC_WANT_LIB_EXT1__ && __STDC_WANT_LIB_EXT1__) #undef/**/__STDC_WANT_LIB_EXT1__ #define __STDC_WANT_LIB_EXT1__ 1 #endif /* Define to 1 if you want to use the Linux kernel cryptographic API. */ #undef USE_LINUX_CRYPTO_API /* Define if the POSIX multithreading library can be used. */ #undef USE_POSIX_THREADS /* Define if references to the POSIX multithreading library are satisfied by libc. */ #undef USE_POSIX_THREADS_FROM_LIBC /* Define if references to the POSIX multithreading library should be made weak. */ #undef USE_POSIX_THREADS_WEAK /* Enable extensions on AIX, Interix, z/OS. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable X/Open compliant socket functions that do not require linking with -lxnet on HP-UX 11.11. */ #ifndef _HPUX_ALT_XOPEN_SOCKET_API # undef _HPUX_ALT_XOPEN_SOCKET_API #endif /* Identify the host operating system as Minix. This macro does not affect the system headers' behavior. A future release of Autoconf may stop defining this macro. */ #ifndef _MINIX # undef _MINIX #endif /* Enable general extensions on NetBSD. Enable NetBSD compatibility extensions on Minix. */ #ifndef _NETBSD_SOURCE # undef _NETBSD_SOURCE #endif /* Enable OpenBSD compatibility extensions on NetBSD. Oddly enough, this does nothing on OpenBSD. */ #ifndef _OPENBSD_SOURCE # undef _OPENBSD_SOURCE #endif /* Define to 1 if needed for POSIX-compatible behavior. */ #ifndef _POSIX_SOURCE # undef _POSIX_SOURCE #endif /* Define to 2 if needed for POSIX-compatible behavior. */ #ifndef _POSIX_1_SOURCE # undef _POSIX_1_SOURCE #endif /* Enable POSIX-compatible threading on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ # undef __STDC_WANT_IEC_60559_BFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif /* Enable extensions specified by C23 Annex F. */ #ifndef __STDC_WANT_IEC_60559_EXT__ # undef __STDC_WANT_IEC_60559_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ #ifndef __STDC_WANT_LIB_EXT2__ # undef __STDC_WANT_LIB_EXT2__ #endif /* Enable extensions specified by ISO/IEC 24747:2009. */ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ # undef __STDC_WANT_MATH_SPEC_FUNCS__ #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable X/Open extensions. Define to 500 only if necessary to make mbstate_t available. */ #ifndef _XOPEN_SOURCE # undef _XOPEN_SOURCE #endif /* An alias of GNULIB_STDIO_SINGLE_THREAD. */ #undef USE_UNLOCKED_IO /* Define if the native Windows multithreading API can be used. */ #undef USE_WINDOWS_THREADS /* Version number of package */ #undef VERSION /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'wchar_t'. */ #undef WCHAR_T_SUFFIX /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 'wint_t'. */ #undef WINT_T_SUFFIX /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD # if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 # endif #else # ifndef WORDS_BIGENDIAN # undef WORDS_BIGENDIAN # endif #endif /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* True if the compiler says it groks GNU C version MAJOR.MINOR. Except that - clang groks GNU C 4.2, even on Windows, where it does not define __GNUC__. - The OpenMandriva-modified clang compiler pretends that it groks GNU C version 13.1, but it doesn't: It does not support __attribute__ ((__malloc__ (f, i))), nor does it support __attribute__ ((__warning__ (message))) on a function redeclaration. - Users can make clang lie as well, through the -fgnuc-version option. */ #if defined __GNUC__ && defined __GNUC_MINOR__ && !defined __clang__ # define _GL_GNUC_PREREQ(major, minor) \ ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) #elif defined __clang__ /* clang really only groks GNU C 4.2. */ # define _GL_GNUC_PREREQ(major, minor) \ ((major) < 4 + ((minor) <= 2)) #else # define _GL_GNUC_PREREQ(major, minor) 0 #endif /* Define to enable the declarations of ISO C 11 types and functions. */ #undef _ISOC11_SOURCE /* Define to 1 on platforms where this makes off_t a 64-bit type. */ #undef _LARGE_FILES /* Define to 1 on Solaris. */ #undef _LCONV_C99 /* Define so that AIX headers are more compatible with GNU/Linux. */ #undef _LINUX_SOURCE_COMPAT /* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER)) \ && 0) /* [[noreturn]] is not practically usable, because with it the syntax extern _Noreturn void func (...); would not be valid; such a declaration would only be valid with 'extern' and '_Noreturn' swapped, or without the 'extern' keyword. However, some AIX system header files and several gnulib header files use precisely this syntax with 'extern'. */ # define _Noreturn [[noreturn]] # elif (defined __clang__ && __clang_major__ < 16 \ && defined _GL_WORK_AROUND_LLVM_BUG_59792) /* Compile with -D_GL_WORK_AROUND_LLVM_BUG_59792 to work around that rare LLVM bug, though you may get many false-alarm warnings. */ # define _Noreturn # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || (!defined __STRICT_ANSI__ \ && (_GL_GNUC_PREREQ (4, 7) \ || (defined __apple_build_version__ \ ? 6000000 <= __apple_build_version__ \ : 3 < __clang_major__ + (5 <= __clang_minor__)))))) /* _Noreturn works as-is. */ # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif /* Define to 1 in order to get the POSIX compatible declarations of socket functions. */ #undef _POSIX_PII_SOCKET /* Number of bits in time_t, on hosts where this is settable. */ #undef _TIME_BITS /* For standard stat data types on VMS. */ #undef _USE_STD_STAT /* Define to rpl_ if the getopt replacement functions and variables should be used. */ #undef __GETOPT_PREFIX /* Define to 1 on platforms where this makes time_t a 64-bit type. */ #undef __MINGW_USE_VC2005_COMPAT /* Define to 1 if the system predates C++11. */ #undef __STDC_CONSTANT_MACROS /* Define to 1 if the system predates C++11. */ #undef __STDC_LIMIT_MACROS /* Define to 1 if C does not support variable-length arrays, and if the compiler does not already define this. */ #undef __STDC_NO_VLA__ /* The _GL_ASYNC_SAFE marker should be attached to functions that are signal handlers (for signals other than SIGABRT, SIGPIPE) or can be invoked from such signal handlers. Such functions have some restrictions: * All functions that it calls should be marked _GL_ASYNC_SAFE as well, or should be listed as async-signal-safe in POSIX section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in particular, are NOT async-signal-safe. * All memory locations (variables and struct fields) that these functions access must be marked 'volatile'. This holds for both read and write accesses. Otherwise the compiler might optimize away stores to and reads from such locations that occur in the program, depending on its data flow analysis. For example, when the program contains a loop that is intended to inspect a variable set from within a signal handler while (!signal_occurred) ; the compiler is allowed to transform this into an endless loop if the variable 'signal_occurred' is not declared 'volatile'. Additionally, recall that: * A signal handler should not modify errno (except if it is a handler for a fatal signal and ends by raising the same signal again, thus provoking the termination of the process). If it invokes a function that may clobber errno, it needs to save and restore the value of errno. */ #define _GL_ASYNC_SAFE /* Attributes. */ /* Define _GL_HAS_ATTRIBUTE only once, because on FreeBSD, with gcc < 5, if gets included once again after , __has_attribute(x) expands to 0 always, and redefining _GL_HAS_ATTRIBUTE would turn off all attributes. */ #ifndef _GL_HAS_ATTRIBUTE # if (defined __has_attribute \ && (!defined __clang_minor__ \ || (defined __apple_build_version__ \ ? 7000000 <= __apple_build_version__ \ : 5 <= __clang_major__))) # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) # else # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) # define _GL_ATTR_diagnose_if 0 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) # ifdef _ICC # define _GL_ATTR_may_alias 0 # else # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) # endif # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) # define _GL_ATTR_reproducible 0 /* not yet supported, as of GCC 14 */ # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) # define _GL_ATTR_unsequenced 0 /* not yet supported, as of GCC 14 */ # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) # endif #endif /* Use __has_c_attribute if available. However, do not use with pre-C23 GCC, which can issue false positives if -Wpedantic. */ #if (defined __has_c_attribute \ && ! (_GL_GNUC_PREREQ (4, 6) \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710)) # define _GL_HAVE___HAS_C_ATTRIBUTE 1 #else # define _GL_HAVE___HAS_C_ATTRIBUTE 0 #endif /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) syntax, in function declarations. There are two problems here. (Last tested with gcc/g++ 14 and clang/clang++ 18.) 1) We want that the _GL_ATTRIBUTE_* can be cumulated on the same declaration in any order. =========================== foo.c = foo.cc =========================== __attribute__ ((__deprecated__)) [[__nodiscard__]] int bar1 (int); [[__nodiscard__]] __attribute__ ((__deprecated__)) int bar2 (int); ====================================================================== This gives a syntax error - in C mode with gcc , and - in C++ mode with clang++ version < 16, and - in C++ mode, inside extern "C" {}, still in newer clang++ versions . */ /* Define if, in a function declaration, the attributes in bracket syntax [[...]] must come before the attributes in __attribute__((...)) syntax. If this is defined, it is best to avoid the bracket syntax, so that the various _GL_ATTRIBUTE_* can be cumulated on the same declaration in any order. */ #ifdef __cplusplus # if defined __clang__ # define _GL_BRACKET_BEFORE_ATTRIBUTE 1 # endif #else # if defined __GNUC__ && !defined __clang__ # define _GL_BRACKET_BEFORE_ATTRIBUTE 1 # endif #endif /* 2) We want that the _GL_ATTRIBUTE_* can be placed in a declaration - without 'extern', in C as well as in C++, - with 'extern', in C, - with 'extern "C"', in C++ in the same position. That is, we don't want to be forced to use a macro which arranges for the attribute to come before 'extern' in one case and after 'extern' in the other case, because such a macro would make the source code of .h files pretty ugly. =========================== foo.c = foo.cc =========================== #ifdef __cplusplus # define CC "C" #else # define CC #endif #define ND [[__nodiscard__]] #define WUR __attribute__((__warn_unused_result__)) #ifdef __cplusplus extern "C" { #endif // gcc clang g++ clang++ ND int foo (int); int ND foo (int); // warn error warn error int foo ND (int); int foo (int) ND; // warn error warn error WUR int foo (int); int WUR foo (int); int fo1 WUR (int); // error error error error int foo (int) WUR; #ifdef __cplusplus } #endif // gcc clang g++ clang++ ND extern CC int foo (int); // error error extern CC ND int foo (int); // error error extern CC int ND foo (int); // warn error warn error extern CC int foo ND (int); extern CC int foo (int) ND; // warn error warn error WUR extern CC int foo (int); // warn extern CC WUR int foo (int); extern CC int WUR foo (int); extern CC int foo WUR (int); // error error error error extern CC int foo (int) WUR; ND EXTERN_C_FUNC int foo (int); // error error EXTERN_C_FUNC ND int foo (int); EXTERN_C_FUNC int ND foo (int); // warn error warn error EXTERN_C_FUNC int foo ND (int); EXTERN_C_FUNC int foo (int) ND; // warn error warn error WUR EXTERN_C_FUNC int foo (int); // warn EXTERN_C_FUNC WUR int foo (int); EXTERN_C_FUNC int WUR foo (int); EXTERN_C_FUNC int fo2 WUR (int); // error error error error EXTERN_C_FUNC int foo (int) WUR; ====================================================================== So, if we insist on using the 'extern' keyword ('extern CC' idiom): * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in both C and C++, there is one available position: - between the function name and the parameter list. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in both C and C++, there are several available positions: - before the return type, - between return type and function name, - at the end of the declaration. * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to __attribute__((...)) syntax in C++, there is no available position: it would need to come before 'extern' in C but after 'extern "C"' in C++. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and to bracket syntax [[...]] in C++, there is one available position: - before the return type. Whereas, if we use the 'EXTERN_C_FUNC' idiom, which conditionally omits the 'extern' keyword: * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in both C and C++, there are two available positions: - before the return type, - between the function name and the parameter list. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in both C and C++, there are several available positions: - before the return type, - between return type and function name, - at the end of the declaration. * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to __attribute__((...)) syntax in C++, there is one available position: - before the return type. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and to bracket syntax [[...]] in C++, there is one available position: - before the return type. The best choice is therefore to use the 'EXTERN_C_FUNC' idiom and put the attributes before the return type. This works regardless to what the _GL_ATTRIBUTE_* macros expand. */ /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) syntax, in static/inline function definitions. There are similar constraints as for function declarations. However, here, we cannot omit the storage-class specifier. Therefore, the following rule applies: * The macros _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_DEPRECATED _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_NODISCARD _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE _GL_ATTRIBUTE_UNSEQUENCED which may expand to bracket syntax [[...]], must come first, before the storage-class specifier. * Other _GL_ATTRIBUTE_* macros, that expand to __attribute__((...)) syntax, are better placed between the storage-class specifier and the return type. */ /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) syntax, in variable declarations. At which position can they be placed? (Last tested with gcc/g++ 14 and clang/clang++ 18.) =========================== foo.c = foo.cc =========================== #ifdef __cplusplus # define CC "C" #else # define CC #endif #define BD [[__deprecated__]] #define AD __attribute__ ((__deprecated__)) // gcc clang g++ clang++ BD extern CC int var; // error error extern CC BD int var; // error error extern CC int BD var; // warn error warn error extern CC int var BD; AD extern CC int var; // warn extern CC AD int var; extern CC int AD var; extern CC int var AD; BD extern CC int z[]; // error error extern CC BD int z[]; // error error extern CC int BD z[]; // warn error warn error extern CC int z1 BD []; extern CC int z[] BD; // warn error error AD extern CC int z[]; // warn extern CC AD int z[]; extern CC int AD z[]; extern CC int z2 AD []; // error error error error extern CC int z[] AD; ====================================================================== * For non-array variables, the only good position is after the variable name, that is, at the end of the declaration. * For array variables, you will need to distinguish C and C++: - In C, before the 'extern' keyword. - In C++, between the 'extern "C"' and the variable's type. */ /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function is the size of the returned memory block. _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied by the Nth argument of the function is the size of the returned memory block. */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_ALLOC_SIZE # if _GL_HAS_ATTRIBUTE (alloc_size) # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) # else # define _GL_ATTRIBUTE_ALLOC_SIZE(args) # endif #endif /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the function and report an error if it cannot do so. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_ALWAYS_INLINE # if _GL_HAS_ATTRIBUTE (always_inline) # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) # else # define _GL_ATTRIBUTE_ALWAYS_INLINE # endif #endif /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show in stack traces when debugging. The compiler should omit the function from stack traces. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_ARTIFICIAL # if _GL_HAS_ATTRIBUTE (artificial) # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) # else # define _GL_ATTRIBUTE_ARTIFICIAL # endif #endif /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ /* Applies to: functions. */ /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at . Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ #ifndef _GL_ATTRIBUTE_COLD # if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ # ifndef __SUNPRO_C # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) # else # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) # endif # else # define _GL_ATTRIBUTE_COLD # endif #endif /* _GL_ATTRIBUTE_CONST declares: It is OK for a compiler to move calls to the function and to omit calls to the function if another call has the same arguments or the result is not used. This attribute is safe for a function that neither depends on nor affects state, and always returns exactly once - e.g., does not raise an exception, call longjmp, or loop forever. (This attribute is stricter than _GL_ATTRIBUTE_PURE because the function cannot observe state. It is stricter than _GL_ATTRIBUTE_UNSEQUENCED because the function must return exactly once and cannot depend on state addressed by its arguments.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_CONST # if _GL_HAS_ATTRIBUTE (const) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) # else # define _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_UNSEQUENCED # endif #endif /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that can be freed via 'free'; it can be used only after declaring 'free'. */ /* Applies to: functions. Cannot be used on inline functions. */ #ifndef _GL_ATTRIBUTE_DEALLOC # if _GL_GNUC_PREREQ (11, 0) # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) # else # define _GL_ATTRIBUTE_DEALLOC(f, i) # endif #endif /* If gnulib's or has already defined this macro, continue to use this earlier definition, since may not have been included yet. */ #ifndef _GL_ATTRIBUTE_DEALLOC_FREE # if defined __cplusplus && defined __GNUC__ && !defined __clang__ /* Work around GCC bug */ # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1) # else # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC (free, 1) # endif #endif /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. The compiler may warn if the entity is used. */ /* Applies to: - function, variable, - struct, union, struct/union member, - enumeration, enumeration item, - typedef, in C++ also: namespace, class, template specialization. */ #ifndef _GL_ATTRIBUTE_DEPRECATED # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__deprecated__) # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] # endif # endif # endif # if !defined _GL_ATTRIBUTE_DEPRECATED && _GL_HAS_ATTRIBUTE (deprecated) # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) # endif # ifndef _GL_ATTRIBUTE_DEPRECATED # define _GL_ATTRIBUTE_DEPRECATED # endif #endif /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and the function call is not optimized away. _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and the function call is not optimized away. */ /* Applies to: functions. */ #if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING) # if _GL_HAS_ATTRIBUTE (error) # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) # elif _GL_HAS_ATTRIBUTE (diagnose_if) # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) # else # define _GL_ATTRIBUTE_ERROR(msg) # define _GL_ATTRIBUTE_WARNING(msg) # endif #endif /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain visible to debuggers etc., even with '-fwhole-program'. */ /* Applies to: functions, variables. */ #ifndef _GL_ATTRIBUTE_EXTERNALLY_VISIBLE # if _GL_HAS_ATTRIBUTE (externally_visible) # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) # else # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE # endif #endif /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if the control flow falls through to the immediately following 'case' or 'default' label. The compiler should not warn in this case. */ /* Applies to: Empty statement (;), inside a 'switch' statement. */ /* Always expands to something. */ #ifndef _GL_ATTRIBUTE_FALLTHROUGH # if _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__fallthrough__) # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] # endif # endif # if !defined _GL_ATTRIBUTE_FALLTHROUGH && _GL_HAS_ATTRIBUTE (fallthrough) # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) # endif # ifndef _GL_ATTRIBUTE_FALLTHROUGH # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) # endif #endif /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) declares that the STRING-INDEXth function argument is a format string of style ARCHETYPE, which is one of: printf, gnu_printf scanf, gnu_scanf, strftime, gnu_strftime, strfmon, or the same thing prefixed and suffixed with '__'. If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK are suitable for the format string. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_FORMAT # if _GL_HAS_ATTRIBUTE (format) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) # else # define _GL_ATTRIBUTE_FORMAT(spec) # endif #endif /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other compilation unit, it executes code from that unit only by return or by exception handling. This declaration lets the compiler optimize that unit more aggressively. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_LEAF # if _GL_HAS_ATTRIBUTE (leaf) # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) # else # define _GL_ATTRIBUTE_LEAF # endif #endif /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly allocated memory. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_MALLOC # if _GL_HAS_ATTRIBUTE (malloc) # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) # else # define _GL_ATTRIBUTE_MALLOC # endif #endif /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the same storage as pointers to other types. Thus this declaration disables strict aliasing optimization. */ /* Applies to: types. */ /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ #ifndef _GL_ATTRIBUTE_MAY_ALIAS # if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) # else # define _GL_ATTRIBUTE_MAY_ALIAS # endif #endif /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if the entity is not used. The compiler should not warn if the entity is not used. */ /* Applies to: - function, variable, - struct, union, struct/union member, - enumeration, enumeration item, - typedef, in C++ also: class. */ /* In C++ and C23, this is spelled [[__maybe_unused__]]. GCC's syntax is __attribute__ ((__unused__)). clang supports both syntaxes. Except that with clang ≥ 6, < 10, in C++ mode, __has_c_attribute (__maybe_unused__) yields true but the use of [[__maybe_unused__]] nevertheless produces a warning. */ #ifndef _GL_ATTRIBUTE_MAYBE_UNUSED # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if defined __clang__ && defined __cplusplus # if !defined __apple_build_version__ && __clang_major__ >= 10 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] # endif # elif _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__maybe_unused__) # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] # endif # endif # endif # ifndef _GL_ATTRIBUTE_MAYBE_UNUSED # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED # endif #endif /* Alternative spelling of this macro, for convenience and for compatibility with glibc/include/libc-symbols.h. */ #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED /* Earlier spellings of this macro. */ #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not discard the return value. The compiler may warn if the caller does not use the return value, unless the caller uses something like ignore_value. */ /* Applies to: function, enumeration, class. */ #ifndef _GL_ATTRIBUTE_NODISCARD # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if defined __clang__ && defined __cplusplus /* With clang up to 15.0.6 (at least), in C++ mode, [[__nodiscard__]] produces a warning. The 1000 below means a yet unknown threshold. When clang++ version X starts supporting [[__nodiscard__]] without warning about it, you can replace the 1000 with X. */ # if __clang_major__ >= 1000 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] # endif # elif _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__nodiscard__) # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] # endif # endif # endif # if !defined _GL_ATTRIBUTE_NODISCARD && _GL_HAS_ATTRIBUTE (warn_unused_result) # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) # endif # ifndef _GL_ATTRIBUTE_NODISCARD # define _GL_ATTRIBUTE_NODISCARD # endif #endif /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the function. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_NOINLINE # if _GL_HAS_ATTRIBUTE (noinline) # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) # else # define _GL_ATTRIBUTE_NOINLINE # endif #endif /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... must not be NULL. _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be null. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_NONNULL # if _GL_HAS_ATTRIBUTE (nonnull) # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) # else # define _GL_ATTRIBUTE_NONNULL(args) # endif #endif /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is not meant to be NUL-terminated. */ /* Applies to: struct/union members and variables that are arrays of element type '[[un]signed] char'. */ #ifndef _GL_ATTRIBUTE_NONSTRING # if _GL_HAS_ATTRIBUTE (nonstring) # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) # else # define _GL_ATTRIBUTE_NONSTRING # endif #endif /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ /* Applies to: functions. */ /* After a function's parameter list, this attribute must come first, before other attributes. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if _GL_GNUC_PREREQ (2, 8) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if _GL_HAS_ATTRIBUTE (nothrow) # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* _GL_ATTRIBUTE_PACKED declares: For struct members: The member has the smallest possible alignment. For struct, union, class: All members have the smallest possible alignment, minimizing the memory required. */ /* Applies to: struct members, struct, union, in C++ also: class. */ #ifndef _GL_ATTRIBUTE_PACKED /* Oracle Studio 12.6 miscompiles code with __attribute__ ((__packed__)) despite __has_attribute OK. */ # if _GL_HAS_ATTRIBUTE (packed) && !defined __SUNPRO_C # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) # else # define _GL_ATTRIBUTE_PACKED # endif #endif /* _GL_ATTRIBUTE_PURE declares: It is OK for a compiler to move calls to the function and to omit calls to the function if another call has the same arguments or the result is not used, and if observable state is the same. This attribute is safe for a function that does not affect observable state and always returns exactly once. (This attribute is looser than _GL_ATTRIBUTE_CONST because the function can depend on observable state. It is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly once and cannot affect state addressed by its arguments.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_PURE # if _GL_HAS_ATTRIBUTE (pure) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE # endif #endif /* _GL_ATTRIBUTE_REPRODUCIBLE declares: It is OK for a compiler to move calls to the function and to omit duplicate calls to the function with the same arguments, so long as the state addressed by its arguments is the same and is updated in time for the rest of the program. This attribute is safe for a function that is effectless and idempotent; see ISO C 23 § 6.7.12.7 for a definition of these terms. (This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because the function need not be stateless and idempotent. It is looser than _GL_ATTRIBUTE_PURE because the function need not return exactly once and can affect state addressed by its arguments.) See also and . ATTENTION! Efforts are underway to change the meaning of this attribute. See . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_REPRODUCIBLE /* This may be revisited when gcc and clang support [[reproducible]] or possibly __attribute__ ((__reproducible__)). */ # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if _GL_HAS_ATTRIBUTE (reproducible) # define _GL_ATTRIBUTE_REPRODUCIBLE [[reproducible]] # endif # endif # ifndef _GL_ATTRIBUTE_REPRODUCIBLE # define _GL_ATTRIBUTE_REPRODUCIBLE # endif #endif /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is a non-NULL pointer. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_RETURNS_NONNULL # if _GL_HAS_ATTRIBUTE (returns_nonnull) # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) # else # define _GL_ATTRIBUTE_RETURNS_NONNULL # endif #endif /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a trailing NULL argument. _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_SENTINEL # if _GL_HAS_ATTRIBUTE (sentinel) # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) # else # define _GL_ATTRIBUTE_SENTINEL(pos) # endif #endif /* _GL_ATTRIBUTE_UNSEQUENCED declares: It is OK for a compiler to move calls to the function and to omit duplicate calls to the function with the same arguments, so long as the state addressed by its arguments is the same. This attribute is safe for a function that is effectless, idempotent, stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of these terms. (This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because the function must be stateless and independent. It is looser than _GL_ATTRIBUTE_CONST because the function need not return exactly once and can depend on state addressed by its arguments.) See also and . ATTENTION! Efforts are underway to change the meaning of this attribute. See . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_UNSEQUENCED /* This may be revisited when gcc and clang support [[unsequenced]] or possibly __attribute__ ((__unsequenced__)). */ # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if _GL_HAS_ATTRIBUTE (unsequenced) # define _GL_ATTRIBUTE_UNSEQUENCED [[unsequenced]] # endif # endif # ifndef _GL_ATTRIBUTE_UNSEQUENCED # define _GL_ATTRIBUTE_UNSEQUENCED # endif #endif /* A helper macro. Don't use it directly. */ #ifndef _GL_ATTRIBUTE_UNUSED # if _GL_HAS_ATTRIBUTE (unused) # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) # else # define _GL_ATTRIBUTE_UNUSED # endif #endif /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the immediately preceding label is not used. The compiler should not warn if the label is not used. */ /* Applies to: label (both in C and C++). */ /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' syntax. But clang does. */ #ifndef _GL_UNUSED_LABEL # if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED # else # define _GL_UNUSED_LABEL # endif #endif /* The following attributes enable detection of multithread-safety problems and resource leaks at compile-time, by clang ≥ 15, when the warning option -Wthread-safety is enabled. For usage, see . */ #ifndef _GL_ATTRIBUTE_CAPABILITY_TYPE # if __clang_major__ >= 15 # define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) \ __attribute__ ((__capability__ (concept))) # else # define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) # endif #endif #ifndef _GL_ATTRIBUTE_ACQUIRE_CAPABILITY # if __clang_major__ >= 15 # define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) \ __attribute__ ((__acquire_capability__ (resource))) # else # define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) # endif #endif #ifndef _GL_ATTRIBUTE_RELEASE_CAPABILITY # if __clang_major__ >= 15 # define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) \ __attribute__ ((__release_capability__ (resource))) # else # define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) # endif #endif /* In C++, there is the concept of "language linkage", that encompasses name mangling and function calling conventions. The following macros start and end a block of "C" linkage. */ #ifdef __cplusplus # define _GL_BEGIN_C_LINKAGE extern "C" { # define _GL_END_C_LINKAGE } #else # define _GL_BEGIN_C_LINKAGE # define _GL_END_C_LINKAGE #endif /* A replacement for va_copy, if needed. */ #define gl_va_copy(a,b) ((a) = (b)) /* Define to '__inline__' or '__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to long or long long if and don't define. */ #undef intmax_t /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. __APPLE__ && __MACH__ test for Mac OS X. __APPLE_CC__ tests for the Apple compiler and its version. __STDC_VERSION__ tests for the C99 mode. */ #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ # define __GNUC_STDC_INLINE__ 1 #endif /* Define to 1 if the compiler is checking for lint. */ #undef lint /* Define to a type if does not define. */ #undef mbstate_t /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where n1 and n2 are expressions without side effects, that evaluate to real numbers (excluding NaN). It returns 1 if n1 > n2 0 if n1 == n2 -1 if n1 < n2 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional jump with nearly all GCC versions up to GCC 10. This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many GCC versions up to GCC 9. The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 avoids conditional jumps in all GCC versions >= 3.4. */ #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) /* Define to 'int' if does not define. */ #undef mode_t /* Define to the type of st_nlink in struct stat, or a supertype. */ #undef nlink_t /* Define to 'long int' if does not define. */ #undef off_t /* Define as a signed integer type capable of holding a process identifier. */ #undef pid_t /* Define as the type of the result of subtracting two pointers, if the system doesn't define it. */ #undef ptrdiff_t /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported only directly. */ #undef restrict /* Work around a bug in older versions of Sun C++, which did not #define __restrict__ or support _Restrict or __restrict__ even though the corresponding Sun C compiler ended up with "#define restrict _Restrict" or "#define restrict __restrict__" in the previous line. This workaround can be removed once we assume Oracle Developer Studio 12.5 (2016) or later. */ #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ # define _Restrict # define __restrict__ #endif /* Define as 'unsigned int' if doesn't define. */ #undef size_t /* type to use in place of socklen_t if not defined */ #undef socklen_t /* Define as a signed type of the same size as size_t. */ #undef ssize_t /* This definition is a duplicate of the one in unitypes.h. It is here so that we can cope with an older version of unitypes.h that does not contain this definition and that is pre-installed among the public header files. */ # if defined __restrict \ || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \ || __clang_major__ >= 3 # define _UC_RESTRICT __restrict # elif 199901L <= __STDC_VERSION__ || defined restrict # define _UC_RESTRICT restrict # else # define _UC_RESTRICT # endif /* Define as a macro for copying va_list variables. */ #undef va_copy #if !defined HAVE_C_ALIGNASOF \ && !(defined __cplusplus && 201103 <= __cplusplus) \ && !defined alignof # if defined HAVE_STDALIGN_H # include # endif /* ISO C23 alignas and alignof for platforms that lack it. References: ISO C23 (latest free draft ) sections 6.5.3.4, 6.7.5, 7.15. C++11 (latest free draft ) section 18.10. */ /* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment requirement of a structure member (i.e., slot or field) that is of type TYPE, as an integer constant expression. This differs from GCC's and clang's __alignof__ operator, which can yield a better-performing alignment for an object of that type. For example, on x86 with GCC and on Linux/x86 with clang, __alignof__ (double) and __alignof__ (long long) are 8, whereas alignof (double) and alignof (long long) are 4 unless the option '-malign-double' is used. The result cannot be used as a value for an 'enum' constant, if you want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */ /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 . clang versions < 8.0.0 have the same bug. IBM XL C V16.1.0 cc (non-clang) has the same bug. */ # if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \ && !defined __clang__) \ || (defined __clang__ && __clang_major__ < 8) \ || defined __xlC__) # undef/**/_Alignof # ifdef __cplusplus # if (201103 <= __cplusplus || defined _MSC_VER) # define _Alignof(type) alignof (type) # else template struct __alignof_helper { char __a; __t __b; }; # if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__ # define _Alignof(type) __builtin_offsetof (__alignof_helper, __b) # else # define _Alignof(type) offsetof (__alignof_helper, __b) # endif # define _GL_STDALIGN_NEEDS_STDDEF 1 # endif # else # if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__ # define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b) # else # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) # define _GL_STDALIGN_NEEDS_STDDEF 1 # endif # endif # endif # if ! (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER)) # undef/**/alignof # define alignof _Alignof # endif /* alignas (A), also known as _Alignas (A), aligns a variable or type to the alignment A, where A is an integer constant expression. For example: int alignas (8) foo; struct s { int a; int alignas (8) bar; }; aligns the address of FOO and the offset of BAR to be multiples of 8. A should be a power of two that is at least the type's alignment and at most the implementation's alignment limit. This limit is 2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable to MSVC through at least version 10.0, A should be an integer constant, as MSVC does not support expressions such as 1 << 3. To be portable to Sun C 5.11, do not align auto variables to anything stricter than their default alignment. The following C23 requirements are not supported here: - If A is zero, alignas has no effect. - alignas can be used multiple times; the strictest one wins. - alignas (TYPE) is equivalent to alignas (alignof (TYPE)). */ # if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 # if defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER) # define _Alignas(a) alignas (a) # elif (!defined __attribute__ \ && ((defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__ && !defined __ibmxl__) \ || (4 <= __clang_major__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__)) # define _Alignas(a) __attribute__ ((__aligned__ (a))) # elif 1300 <= _MSC_VER # define _Alignas(a) __declspec (align (a)) # endif # endif # if !defined HAVE_STDALIGN_H # if ((defined _Alignas \ && !(defined __cplusplus \ && (201103 <= __cplusplus || defined _MSC_VER))) \ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__ \ && !defined __xlC__)) # define alignas _Alignas # endif # endif # if defined _GL_STDALIGN_NEEDS_STDDEF # include # endif #endif #if !(defined __cplusplus \ ? 1 \ : (defined __clang__ \ ? __STDC_VERSION__ >= 202000L && __clang_major__ >= 15 \ : (defined __GNUC__ \ ? __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \ : defined HAVE_C_BOOL))) # if !defined __cplusplus && !defined __bool_true_false_are_defined # if HAVE_STDBOOL_H # include # else # if defined __SUNPRO_C # error " is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC." # else # error " does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." # endif # endif # endif # if !true # define true (!false) # endif #endif #if (!(defined __clang__ \ ? (defined __cplusplus \ ? __cplusplus >= 201703L \ : __STDC_VERSION__ >= 202000L && __clang_major__ >= 16 \ && !defined __sun) \ : (defined __GNUC__ \ ? (defined __cplusplus \ ? __cplusplus >= 201103L && __GNUG__ >= 6 \ : __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \ && !defined __sun) \ : defined HAVE_C_STATIC_ASSERT)) \ && !defined assert \ && (!defined __cplusplus \ || (__cpp_static_assert < 201411 \ && __GNUG__ < 6 && __clang_major__ < 6))) #include #undef/**/assert #ifdef __sgi #undef/**/__ASSERT_H__ #endif /* Solaris 11.4 defines static_assert as a macro with 2 arguments. We need it also to be invocable with a single argument. Haiku 2022 does not define static_assert at all. */ #if (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus #undef/**/static_assert #define static_assert _Static_assert #endif #endif datamash-1.9/configure0000754000000000000000000516547714774035503010543 #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.72 for GNU datamash 1.9. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, # Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case e in #( e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac ;; esac fi # Reset variables that may have inherited troublesome values from # the environment. # IFS needs to be set, to space, tab, and newline, in precisely that order. # (If _AS_PATH_WALK were called with IFS unset, it would have the # side effect of setting IFS to empty, thus disabling word splitting.) # Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl IFS=" "" $as_nl" PS1='$ ' PS2='> ' PS4='+ ' # Ensure predictable behavior from utilities with locale-dependent output. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # We cannot yet rely on "unset" to work, but we need these variables # to be unset--not just set to an empty or harmless value--now, to # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct # also avoids known problems related to "unset" and subshell syntax # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH do eval test \${$as_var+y} \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done # Ensure that fds 0, 1, and 2 are open. if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed 'exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case e in #( e) case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ) then : else case e in #( e) exitcode=1; echo positional parameters were not saved. ;; esac fi test x\$exitcode = x0 || exit 1 blah=\$(echo \$(echo blah)) test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null then : as_have_required=yes else case e in #( e) as_have_required=no ;; esac fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null then : else case e in #( e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$as_shell as_have_required=yes if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null then : break 2 fi fi done;; esac as_found=false done IFS=$as_save_IFS if $as_found then : else case e in #( e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$SHELL as_have_required=yes fi ;; esac fi if test "x$CONFIG_SHELL" != x then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed 'exec'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno then : printf "%s\n" "$0: This script requires a shell more modern than all" printf "%s\n" "$0: the shells that I found on your system." if test ${ZSH_VERSION+y} ; then printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: bug-datamash@gnu.org about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi ;; esac fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null then : eval 'as_fn_append () { eval $1+=\$2 }' else case e in #( e) as_fn_append () { eval $1=\$$1\$2 } ;; esac fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null then : eval 'as_fn_arith () { as_val=$(( $* )) }' else case e in #( e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } ;; esac fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' t clear :clear s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } # Determine whether it's possible to make 'echo' print without a newline. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed # for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac # For backward compatibility with old third-party macros, we provide # the shell variables $as_echo and $as_echo_n. New code should use # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. as_echo='printf %s\n' as_echo_n='printf %s' rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" as_tr_sh="eval sed '$as_sed_sh'" # deprecated test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='GNU datamash' PACKAGE_TARNAME='datamash' PACKAGE_VERSION='1.9' PACKAGE_STRING='GNU datamash 1.9' PACKAGE_BUGREPORT='bug-datamash@gnu.org' PACKAGE_URL='https://www.gnu.org/software/datamash' ac_unique_file="src/datamash.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_STDIO_H # include #endif #ifdef HAVE_STDLIB_H # include #endif #ifdef HAVE_STRING_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_header_c_list= gl_use_threads_default= gl_use_winpthreads_default=no ac_func_c_list= gl_ceil_required=plain gl_ceill_required=plain with_openssl_default='no' LIB_CRYPTO= gl_roundl_required=plain gl_round_required=plain gl_floor_required=plain gl_getopt_required=POSIX gl_log_required=plain gl_modf_required=plain gl_trunc_required=plain gl_modfl_required=plain gl_truncl_required=plain gl_round_required=plain gl_roundl_required=plain gl_trunc_required=plain gl_truncl_required=plain gt_needs= enable_year2038=no ac_subst_vars='gltests_libdatamash_LIBOBJDEPS gltests_libdatamash_LTLIBOBJS gltests_libdatamash_LIBOBJS gltests_LIBOBJDEPS gltests_LTLIBOBJS gltests_LIBOBJS gl_libdatamash_LIBOBJDEPS gl_libdatamash_LTLIBOBJS gl_libdatamash_LIBOBJS gl_LIBOBJDEPS gl_LTLIBOBJS gl_LIBOBJS CONFIG_INCLUDE am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS POSUB INTLLIBS XGETTEXT_EXTRA_OPTIONS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS PERL_FOUND_FALSE PERL_FOUND_TRUE PERL BUILD_FROM_GIT_FALSE BUILD_FROM_GIT_TRUE SORT_PATH ENABLE_BASH_COMPLETION_FALSE ENABLE_BASH_COMPLETION_TRUE bashcompdir PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG WERROR_CFLAGS WARN_CFLAGS LIBDATAMASH_LTLIBDEPS LIBDATAMASH_LIBDEPS GL_CFLAG_GNULIB_WARNINGS GL_CFLAG_ALLOW_WARNINGS gltests_WITNESS GL_COND_OBJ_WINDOWS_RWLOCK_FALSE GL_COND_OBJ_WINDOWS_RWLOCK_TRUE GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE GL_COND_OBJ_WINDOWS_ONCE_FALSE GL_COND_OBJ_WINDOWS_ONCE_TRUE GL_COND_OBJ_WINDOWS_MUTEX_FALSE GL_COND_OBJ_WINDOWS_MUTEX_TRUE GL_COND_OBJ_WCWIDTH_FALSE GL_COND_OBJ_WCWIDTH_TRUE NEXT_AS_FIRST_DIRECTIVE_WCHAR_H NEXT_WCHAR_H GL_COND_OBJ_WAITPID_FALSE GL_COND_OBJ_WAITPID_TRUE LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE LIBUNISTRING_UNIWIDTH_H LIBUNISTRING_UNITYPES_H LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE LIBUNISTRING_UNISTR_H HAVE_UNISTD_H NEXT_AS_FIRST_DIRECTIVE_UNISTD_H NEXT_UNISTD_H GL_GNULIB_UNINORM_NFKC_DLL_VARIABLE GL_GNULIB_UNINORM_NFKD_DLL_VARIABLE GL_GNULIB_UNINORM_NFC_DLL_VARIABLE GL_GNULIB_UNINORM_NFD_DLL_VARIABLE LIBUNISTRING_UNINORM_H LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE GL_GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE GL_GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE GL_GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE LIBUNISTRING_UNICTYPE_H LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE LIBUNISTRING_UNICASE_H HAVE_UNISTRING_WOE32DLL_H GL_COND_OBJ_TRUNCL_FALSE GL_COND_OBJ_TRUNCL_TRUE GL_COND_OBJ_TRUNC_FALSE GL_COND_OBJ_TRUNC_TRUE GL_GNULIB_MDA_TZSET GL_GNULIB_TZSET GL_GNULIB_TZNAME GL_GNULIB_TIME_RZ GL_GNULIB_TIME_R GL_GNULIB_TIMESPEC_GETRES GL_GNULIB_TIMESPEC_GET GL_GNULIB_TIMEGM GL_GNULIB_TIME GL_GNULIB_STRPTIME GL_GNULIB_STRFTIME GL_GNULIB_NANOSLEEP GL_GNULIB_LOCALTIME GL_GNULIB_MKTIME GL_GNULIB_CTIME TIME_H_DEFINES_TIME_UTC UNISTD_H_DEFINES_STRUCT_TIMESPEC PTHREAD_H_DEFINES_STRUCT_TIMESPEC SYS_TIME_H_DEFINES_STRUCT_TIMESPEC TIME_H_DEFINES_STRUCT_TIMESPEC NEXT_AS_FIRST_DIRECTIVE_TIME_H NEXT_TIME_H REPLACE_TZSET REPLACE_TIMESPEC_GETRES REPLACE_TIMESPEC_GET REPLACE_TIMEGM REPLACE_TIME REPLACE_STRFTIME REPLACE_NANOSLEEP REPLACE_MKTIME_Z REPLACE_MKTIME REPLACE_LOCALTIME_RZ REPLACE_LOCALTIME_R REPLACE_LOCALTIME REPLACE_GMTIME REPLACE_CTIME HAVE_TZALLOC HAVE_TIMEZONE_T HAVE_TIMESPEC_GETRES HAVE_TIMESPEC_GET HAVE_TIMEGM HAVE_STRPTIME HAVE_NANOSLEEP HAVE_DECL_LOCALTIME_R GL_GNULIB_WAITPID NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H NEXT_SYS_WAIT_H HAVE_SYS_UIO_H NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H NEXT_SYS_UIO_H GL_GNULIB_ACCEPT4 GL_GNULIB_SHUTDOWN GL_GNULIB_SETSOCKOPT GL_GNULIB_SENDTO GL_GNULIB_RECVFROM GL_GNULIB_SEND GL_GNULIB_RECV GL_GNULIB_LISTEN GL_GNULIB_GETSOCKOPT GL_GNULIB_GETSOCKNAME GL_GNULIB_GETPEERNAME GL_GNULIB_BIND GL_GNULIB_ACCEPT GL_GNULIB_CONNECT GL_GNULIB_SOCKET HAVE_SYS_RANDOM_H NEXT_AS_FIRST_DIRECTIVE_SYS_RANDOM_H NEXT_SYS_RANDOM_H GL_COND_OBJ_STRTOUMAX_FALSE GL_COND_OBJ_STRTOUMAX_TRUE GL_COND_OBJ_STRTOULL_FALSE GL_COND_OBJ_STRTOULL_TRUE GL_COND_OBJ_STRTOLL_FALSE GL_COND_OBJ_STRTOLL_TRUE GL_COND_OBJ_STRTOLD_FALSE GL_COND_OBJ_STRTOLD_TRUE GL_COND_OBJ_STRTOD_FALSE GL_COND_OBJ_STRTOD_TRUE GL_COND_OBJ_STRSEP_FALSE GL_COND_OBJ_STRSEP_TRUE GL_COND_OBJ_STRNLEN_FALSE GL_COND_OBJ_STRNLEN_TRUE GL_COND_OBJ_STRNCASECMP_FALSE GL_COND_OBJ_STRNCASECMP_TRUE HAVE_STRINGS_H NEXT_AS_FIRST_DIRECTIVE_STRINGS_H NEXT_STRINGS_H NEXT_AS_FIRST_DIRECTIVE_STRING_H NEXT_STRING_H GL_COND_OBJ_STRERROR_OVERRIDE_FALSE GL_COND_OBJ_STRERROR_OVERRIDE_TRUE GL_COND_OBJ_STRERROR_FALSE GL_COND_OBJ_STRERROR_TRUE GL_COND_OBJ_STRDUP_FALSE GL_COND_OBJ_STRDUP_TRUE GL_GNULIB_STRNCASECMP_L GL_GNULIB_STRNCASECMP GL_GNULIB_STRCASECMP_L GL_GNULIB_STRCASECMP GL_GNULIB_FFS GL_COND_OBJ_STRCASECMP_FALSE GL_COND_OBJ_STRCASECMP_TRUE REPLACE_STRNCASECMP_L REPLACE_STRNCASECMP REPLACE_STRCASECMP_L REPLACE_STRCASECMP HAVE_DECL_STRNCASECMP HAVE_STRNCASECMP_L HAVE_STRNCASECMP HAVE_STRCASECMP_L HAVE_STRCASECMP HAVE_FFS GL_COND_OBJ_STPCPY_FALSE GL_COND_OBJ_STPCPY_TRUE GL_GENERATE_STDNORETURN_H_FALSE GL_GENERATE_STDNORETURN_H_TRUE STDNORETURN_H NEXT_AS_FIRST_DIRECTIVE_STDLIB_H NEXT_STDLIB_H GL_COND_OBJ_STDIO_WRITE_FALSE GL_COND_OBJ_STDIO_WRITE_TRUE GL_COND_OBJ_STDIO_READ_FALSE GL_COND_OBJ_STDIO_READ_TRUE NEXT_AS_FIRST_DIRECTIVE_STDIO_H NEXT_STDIO_H GL_GENERATE_STDINT_H_FALSE GL_GENERATE_STDINT_H_TRUE STDINT_H GL_GENERATE_STDDEF_H_FALSE GL_GENERATE_STDDEF_H_TRUE STDDEF_H GL_GENERATE_STDCKDINT_H_FALSE GL_GENERATE_STDCKDINT_H_TRUE STDCKDINT_H GL_GENERATE_STDARG_H_FALSE GL_GENERATE_STDARG_H_TRUE STDARG_H NEXT_AS_FIRST_DIRECTIVE_STDARG_H NEXT_STDARG_H GL_COND_OBJ_STAT_FALSE GL_COND_OBJ_STAT_TRUE GL_COND_OBJ_SQRTL_FALSE GL_COND_OBJ_SQRTL_TRUE SQRTL_LIBM SQRT_LIBM GL_COND_OBJ_SIGNBIT3_FALSE GL_COND_OBJ_SIGNBIT3_TRUE GL_COND_OBJ_SETLOCALE_LOCK_FALSE GL_COND_OBJ_SETLOCALE_LOCK_TRUE GL_COND_OBJ_SETLOCALE_FIXES_FALSE GL_COND_OBJ_SETLOCALE_FIXES_TRUE GL_COND_OBJ_SETLOCALE_FALSE GL_COND_OBJ_SETLOCALE_TRUE LIB_SETLOCALE SETLOCALE_LIB GL_GNULIB_SCHED_YIELD HAVE_STRUCT_SCHED_PARAM HAVE_SCHED_H NEXT_AS_FIRST_DIRECTIVE_SCHED_H NEXT_SCHED_H REPLACE_SCHED_YIELD HAVE_SCHED_YIELD GL_COND_OBJ_ROUNDL_FALSE GL_COND_OBJ_ROUNDL_TRUE GL_COND_OBJ_ROUND_FALSE GL_COND_OBJ_ROUND_TRUE GL_COND_OBJ_REALLOCARRAY_FALSE GL_COND_OBJ_REALLOCARRAY_TRUE GL_COND_OBJ_REALLOC_POSIX_FALSE GL_COND_OBJ_REALLOC_POSIX_TRUE GL_COND_OBJ_RANDOM_R_FALSE GL_COND_OBJ_RANDOM_R_TRUE GL_COND_OBJ_RANDOM_FALSE GL_COND_OBJ_RANDOM_TRUE GL_COND_OBJ_PTHREAD_ONCE_FALSE GL_COND_OBJ_PTHREAD_ONCE_TRUE GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK GL_GNULIB_PTHREAD_SPIN GL_GNULIB_PTHREAD_TSS GL_GNULIB_PTHREAD_COND GL_GNULIB_PTHREAD_RWLOCK GL_GNULIB_PTHREAD_MUTEX GL_GNULIB_PTHREAD_ONCE GL_GNULIB_PTHREAD_THREAD LIB_PTHREAD HAVE_PTHREAD_H NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H NEXT_PTHREAD_H REPLACE_PTHREAD_SPIN_DESTROY REPLACE_PTHREAD_SPIN_UNLOCK REPLACE_PTHREAD_SPIN_TRYLOCK REPLACE_PTHREAD_SPIN_LOCK REPLACE_PTHREAD_SPIN_INIT REPLACE_PTHREAD_KEY_DELETE REPLACE_PTHREAD_GETSPECIFIC REPLACE_PTHREAD_SETSPECIFIC REPLACE_PTHREAD_KEY_CREATE REPLACE_PTHREAD_COND_DESTROY REPLACE_PTHREAD_COND_BROADCAST REPLACE_PTHREAD_COND_SIGNAL REPLACE_PTHREAD_COND_TIMEDWAIT REPLACE_PTHREAD_COND_WAIT REPLACE_PTHREAD_CONDATTR_DESTROY REPLACE_PTHREAD_CONDATTR_INIT REPLACE_PTHREAD_COND_INIT REPLACE_PTHREAD_RWLOCK_DESTROY REPLACE_PTHREAD_RWLOCK_UNLOCK REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK REPLACE_PTHREAD_RWLOCK_TRYWRLOCK REPLACE_PTHREAD_RWLOCK_TRYRDLOCK REPLACE_PTHREAD_RWLOCK_WRLOCK REPLACE_PTHREAD_RWLOCK_RDLOCK REPLACE_PTHREAD_RWLOCKATTR_DESTROY REPLACE_PTHREAD_RWLOCKATTR_INIT REPLACE_PTHREAD_RWLOCK_INIT REPLACE_PTHREAD_MUTEX_DESTROY REPLACE_PTHREAD_MUTEX_UNLOCK REPLACE_PTHREAD_MUTEX_TIMEDLOCK REPLACE_PTHREAD_MUTEX_TRYLOCK REPLACE_PTHREAD_MUTEX_LOCK REPLACE_PTHREAD_MUTEXATTR_DESTROY REPLACE_PTHREAD_MUTEXATTR_SETROBUST REPLACE_PTHREAD_MUTEXATTR_GETROBUST REPLACE_PTHREAD_MUTEXATTR_SETTYPE REPLACE_PTHREAD_MUTEXATTR_GETTYPE REPLACE_PTHREAD_MUTEXATTR_INIT REPLACE_PTHREAD_MUTEX_INIT REPLACE_PTHREAD_ONCE REPLACE_PTHREAD_EXIT REPLACE_PTHREAD_JOIN REPLACE_PTHREAD_DETACH REPLACE_PTHREAD_EQUAL REPLACE_PTHREAD_SELF REPLACE_PTHREAD_ATTR_DESTROY REPLACE_PTHREAD_ATTR_SETDETACHSTATE REPLACE_PTHREAD_ATTR_GETDETACHSTATE REPLACE_PTHREAD_ATTR_INIT REPLACE_PTHREAD_CREATE HAVE_PTHREAD_SPIN_DESTROY HAVE_PTHREAD_SPIN_UNLOCK HAVE_PTHREAD_SPIN_TRYLOCK HAVE_PTHREAD_SPIN_LOCK HAVE_PTHREAD_SPIN_INIT HAVE_PTHREAD_KEY_DELETE HAVE_PTHREAD_GETSPECIFIC HAVE_PTHREAD_SETSPECIFIC HAVE_PTHREAD_KEY_CREATE HAVE_PTHREAD_COND_DESTROY HAVE_PTHREAD_COND_BROADCAST HAVE_PTHREAD_COND_SIGNAL HAVE_PTHREAD_COND_TIMEDWAIT HAVE_PTHREAD_COND_WAIT HAVE_PTHREAD_CONDATTR_DESTROY HAVE_PTHREAD_CONDATTR_INIT HAVE_PTHREAD_COND_INIT HAVE_PTHREAD_RWLOCK_DESTROY HAVE_PTHREAD_RWLOCK_UNLOCK HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK HAVE_PTHREAD_RWLOCK_TRYWRLOCK HAVE_PTHREAD_RWLOCK_TRYRDLOCK HAVE_PTHREAD_RWLOCK_WRLOCK HAVE_PTHREAD_RWLOCK_RDLOCK HAVE_PTHREAD_RWLOCKATTR_DESTROY HAVE_PTHREAD_RWLOCKATTR_INIT HAVE_PTHREAD_RWLOCK_INIT HAVE_PTHREAD_MUTEX_DESTROY HAVE_PTHREAD_MUTEX_UNLOCK HAVE_PTHREAD_MUTEX_TIMEDLOCK HAVE_PTHREAD_MUTEX_TRYLOCK HAVE_PTHREAD_MUTEX_LOCK HAVE_PTHREAD_MUTEXATTR_DESTROY HAVE_PTHREAD_MUTEXATTR_SETROBUST HAVE_PTHREAD_MUTEXATTR_GETROBUST HAVE_PTHREAD_MUTEXATTR_SETTYPE HAVE_PTHREAD_MUTEXATTR_GETTYPE HAVE_PTHREAD_MUTEXATTR_INIT HAVE_PTHREAD_MUTEX_INIT HAVE_PTHREAD_ONCE HAVE_PTHREAD_EXIT HAVE_PTHREAD_JOIN HAVE_PTHREAD_DETACH HAVE_PTHREAD_EQUAL HAVE_PTHREAD_SELF HAVE_PTHREAD_ATTR_DESTROY HAVE_PTHREAD_ATTR_SETDETACHSTATE HAVE_PTHREAD_ATTR_GETDETACHSTATE HAVE_PTHREAD_ATTR_INIT HAVE_PTHREAD_CREATE HAVE_PTHREAD_PROCESS_SHARED HAVE_PTHREAD_MUTEX_ROBUST HAVE_PTHREAD_MUTEX_RECURSIVE HAVE_PTHREAD_CREATE_DETACHED HAVE_PTHREAD_SPINLOCK_T HAVE_PTHREAD_T GL_COND_OBJ_POPEN_FALSE GL_COND_OBJ_POPEN_TRUE PMCCABE GL_COND_OBJ_PCLOSE_FALSE GL_COND_OBJ_PCLOSE_TRUE GL_COND_OBJ_OPEN_FALSE GL_COND_OBJ_OPEN_TRUE GL_GENERATE_NETINET_IN_H_FALSE GL_GENERATE_NETINET_IN_H_TRUE NETINET_IN_H HAVE_NETINET_IN_H NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H NEXT_NETINET_IN_H GL_COND_OBJ_MSVC_NOTHROW_FALSE GL_COND_OBJ_MSVC_NOTHROW_TRUE GL_COND_OBJ_MSVC_INVAL_FALSE GL_COND_OBJ_MSVC_INVAL_TRUE GL_COND_OBJ_MODFL_FALSE GL_COND_OBJ_MODFL_TRUE TRUNCL_LIBM MODFL_LIBM GL_COND_OBJ_MODF_FALSE GL_COND_OBJ_MODF_TRUE TRUNC_LIBM MODF_LIBM GL_COND_OBJ_MEMPCPY_FALSE GL_COND_OBJ_MEMPCPY_TRUE GL_COND_OBJ_MEMCHR_FALSE GL_COND_OBJ_MEMCHR_TRUE GL_GNULIB_MDA_STRDUP GL_GNULIB_MDA_MEMCCPY GL_GNULIB_STRVERSCMP GL_GNULIB_STRSIGNAL GL_GNULIB_SIGDESCR_NP GL_GNULIB_SIGABBREV_NP GL_GNULIB_STRERRORNAME_NP GL_GNULIB_STRERROR_L GL_GNULIB_STRERROR_R GL_GNULIB_STRERROR GL_GNULIB_MBS_ENDSWITH GL_GNULIB_MBS_STARTSWITH GL_GNULIB_MBSTOK_R GL_GNULIB_MBSSEP GL_GNULIB_MBSSPN GL_GNULIB_MBSPBRK GL_GNULIB_MBSCSPN GL_GNULIB_MBSCASESTR GL_GNULIB_MBSPCASECMP GL_GNULIB_MBSNCASECMP GL_GNULIB_MBSCASECMP GL_GNULIB_MBSSTR GL_GNULIB_MBSRCHR GL_GNULIB_MBSCHR GL_GNULIB_MBSNLEN GL_GNULIB_MBSLEN GL_GNULIB_STR_ENDSWITH GL_GNULIB_STR_STARTSWITH GL_GNULIB_STRTOK_R GL_GNULIB_STRCASESTR GL_GNULIB_STRSTR GL_GNULIB_STRSEP GL_GNULIB_STRPBRK GL_GNULIB_STRNLEN GL_GNULIB_STRNDUP GL_GNULIB_STRNCAT GL_GNULIB_STRDUP GL_GNULIB_STRCHRNUL GL_GNULIB_STPNCPY GL_GNULIB_STPCPY GL_GNULIB_RAWMEMCHR GL_GNULIB_MEMSET_EXPLICIT GL_GNULIB_MEMRCHR GL_GNULIB_MEMPCPY GL_GNULIB_MEMMEM GL_GNULIB_MEMCHR GL_GNULIB_FFSLL GL_GNULIB_FFSL GL_GNULIB_EXPLICIT_BZERO UNDEFINE_STRTOK_R REPLACE_STRVERSCMP REPLACE_STRSIGNAL REPLACE_STRERRORNAME_NP REPLACE_STRERROR_L REPLACE_STRERROR_R REPLACE_STRERROR REPLACE_STRTOK_R REPLACE_STRCASESTR REPLACE_STRSTR REPLACE_STRNLEN REPLACE_STRNDUP REPLACE_STRNCAT REPLACE_STRDUP REPLACE_STRCHRNUL REPLACE_STPNCPY REPLACE_STPCPY REPLACE_MEMSET_EXPLICIT REPLACE_MEMPCPY REPLACE_MEMMEM REPLACE_MEMCHR REPLACE_FFSLL HAVE_STRVERSCMP HAVE_DECL_STRSIGNAL HAVE_SIGDESCR_NP HAVE_SIGABBREV_NP HAVE_STRERRORNAME_NP HAVE_STRERROR_L HAVE_DECL_STRERROR_R HAVE_DECL_STRTOK_R HAVE_STRCASESTR HAVE_STRSEP HAVE_STRPBRK HAVE_DECL_STRNLEN HAVE_DECL_STRNDUP HAVE_DECL_STRDUP HAVE_STRCHRNUL HAVE_STPNCPY HAVE_STPCPY HAVE_RAWMEMCHR HAVE_DECL_MEMRCHR HAVE_MEMSET_EXPLICIT HAVE_MEMPCPY HAVE_DECL_MEMMEM HAVE_FFSLL HAVE_FFSL HAVE_EXPLICIT_BZERO HAVE_MBSLEN GL_COND_OBJ_MBSINIT_FALSE GL_COND_OBJ_MBSINIT_TRUE GL_GNULIB_MDA_WCSDUP GL_GNULIB_WGETCWD GL_GNULIB_WCSFTIME GL_GNULIB_WCSWIDTH GL_GNULIB_WCSTOK GL_GNULIB_WCSSTR GL_GNULIB_WCSPBRK GL_GNULIB_WCSSPN GL_GNULIB_WCSCSPN GL_GNULIB_WCSRCHR GL_GNULIB_WCSCHR GL_GNULIB_WCSDUP GL_GNULIB_WCSXFRM GL_GNULIB_WCSCOLL GL_GNULIB_WCSNCASECMP GL_GNULIB_WCSCASECMP GL_GNULIB_WCSNCMP GL_GNULIB_WCSCMP GL_GNULIB_WCSNCAT GL_GNULIB_WCSCAT GL_GNULIB_WCPNCPY GL_GNULIB_WCSNCPY GL_GNULIB_WCPCPY GL_GNULIB_WCSCPY GL_GNULIB_WCSNLEN GL_GNULIB_WCSLEN GL_GNULIB_WMEMSET GL_GNULIB_WMEMPCPY GL_GNULIB_WMEMMOVE GL_GNULIB_WMEMCPY GL_GNULIB_WMEMCMP GL_GNULIB_WMEMCHR GL_GNULIB_WCWIDTH GL_GNULIB_WCSNRTOMBS GL_GNULIB_WCSRTOMBS GL_GNULIB_WCRTOMB GL_GNULIB_MBSNRTOWCS GL_GNULIB_MBSRTOWCS GL_GNULIB_MBRLEN GL_GNULIB_MBRTOWC GL_GNULIB_MBSZERO GL_GNULIB_MBSINIT GL_GNULIB_WCTOB GL_GNULIB_BTOWC GL_COND_OBJ_MBRTOWC_FALSE GL_COND_OBJ_MBRTOWC_TRUE LIB_MBRTOWC MBRTOWC_LIB HAVE_VISIBILITY CFLAG_VISIBILITY GL_COND_OBJ_MBRTOC32_FALSE GL_COND_OBJ_MBRTOC32_TRUE NEXT_AS_FIRST_DIRECTIVE_MATH_H NEXT_MATH_H GREP SED GL_COND_OBJ_LSEEK_FALSE GL_COND_OBJ_LSEEK_TRUE GL_COND_OBJ_LOGL_FALSE GL_COND_OBJ_LOGL_TRUE LOGL_LIBM GL_COND_OBJ_LOG_FALSE GL_COND_OBJ_LOG_TRUE LOG_LIBM LTLIBMULTITHREAD LIBMULTITHREAD LTLIBTHREAD LIBTHREAD LIBSTDTHREAD GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE INTL_MACOSX_LIBS GL_COND_OBJ_LOCALECONV_FALSE GL_COND_OBJ_LOCALECONV_TRUE NEXT_AS_FIRST_DIRECTIVE_LOCALE_H NEXT_LOCALE_H HAVE_WINDOWS_LOCALE_T NEXT_AS_FIRST_DIRECTIVE_STDDEF_H NEXT_STDDEF_H HAVE_MAX_ALIGN_T REPLACE_NULL STDDEF_NOT_IDEMPOTENT NULLPTR_T_NEEDS_STDDEF LOCALCHARSET_TESTS_ENVIRONMENT GL_GENERATE_LIMITS_H_FALSE GL_GENERATE_LIMITS_H_TRUE LIMITS_H GL_COND_OBJ_LDEXPL_FALSE GL_COND_OBJ_LDEXPL_TRUE GL_COND_OBJ_LDEXP_FALSE GL_COND_OBJ_LDEXP_TRUE GL_COND_OBJ_ISWXDIGIT_FALSE GL_COND_OBJ_ISWXDIGIT_TRUE GL_COND_OBJ_ISWPUNCT_FALSE GL_COND_OBJ_ISWPUNCT_TRUE GL_COND_OBJ_ISWDIGIT_FALSE GL_COND_OBJ_ISWDIGIT_TRUE GL_GNULIB_TOWCTRANS GL_GNULIB_WCTRANS GL_GNULIB_ISWCTYPE GL_GNULIB_WCTYPE GL_GNULIB_ISWXDIGIT GL_GNULIB_ISWPUNCT GL_GNULIB_ISWDIGIT GL_GNULIB_ISWBLANK GL_COND_OBJ_ISWBLANK_FALSE GL_COND_OBJ_ISWBLANK_TRUE REPLACE_TOWLOWER REPLACE_ISWCNTRL HAVE_WCTYPE_H NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H NEXT_WCTYPE_H HAVE_CRTDEFS_H HAVE_WINT_T HAVE_ISWCNTRL REPLACE_WCTYPE REPLACE_WCTRANS REPLACE_ISWXDIGIT REPLACE_ISWPUNCT REPLACE_ISWDIGIT REPLACE_ISWBLANK HAVE_WCTRANS_T HAVE_WCTYPE_T HAVE_ISWBLANK GL_COND_OBJ_ISINF_FALSE GL_COND_OBJ_ISINF_TRUE ISINF_LIBM GL_COND_OBJ_ISFINITE_FALSE GL_COND_OBJ_ISFINITE_TRUE ISFINITE_LIBM GL_COND_OBJ_ISBLANK_FALSE GL_COND_OBJ_ISBLANK_TRUE GL_GNULIB_STRTOUMAX GL_GNULIB_STRTOIMAX GL_GNULIB_IMAXDIV GL_GNULIB_IMAXABS NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H NEXT_INTTYPES_H UINT64_MAX_EQ_ULONG_MAX UINT32_MAX_LT_UINTMAX_MAX PRIPTR_PREFIX INT64_MAX_EQ_LONG_MAX INT32_MAX_LT_INTMAX_MAX REPLACE_STRTOUMAX REPLACE_STRTOIMAX REPLACE_IMAXDIV REPLACE_IMAXABS HAVE_IMAXDIV HAVE_IMAXABS HAVE_IMAXDIV_T HAVE_DECL_STRTOUMAX HAVE_DECL_STRTOIMAX HAVE_DECL_IMAXDIV HAVE_DECL_IMAXABS HAVE_SYS_INTTYPES_H HAVE_SYS_BITYPES_H HAVE_C99_STDINT_H WINT_T_SUFFIX WCHAR_T_SUFFIX SIG_ATOMIC_T_SUFFIX SIZE_T_SUFFIX PTRDIFF_T_SUFFIX HAVE_SIGNED_WINT_T HAVE_SIGNED_WCHAR_T HAVE_SIGNED_SIG_ATOMIC_T BITSIZEOF_WINT_T BITSIZEOF_SIG_ATOMIC_T BITSIZEOF_SIZE_T BITSIZEOF_PTRDIFF_T APPLE_UNIVERSAL_BUILD HAVE_STDINT_H NEXT_AS_FIRST_DIRECTIVE_STDINT_H NEXT_STDINT_H HAVE_SYS_TYPES_H HAVE_INTTYPES_H HAVE_WCHAR_H GNULIBHEADERS_OVERRIDE_WINT_T NEXT_AS_FIRST_DIRECTIVE_LIMITS_H NEXT_LIMITS_H GL_COND_OBJ_INET_PTON_FALSE GL_COND_OBJ_INET_PTON_TRUE INET_PTON_LIB GL_COND_OBJ_ICONV_FALSE GL_COND_OBJ_ICONV_TRUE GL_COND_OBJ_ICONV_OPEN_FALSE GL_COND_OBJ_ICONV_OPEN_TRUE GL_GENERATE_ICONV_H_FALSE GL_GENERATE_ICONV_H_TRUE ICONV_H NEXT_AS_FIRST_DIRECTIVE_ICONV_H NEXT_ICONV_H GL_GNULIB_ICONV REPLACE_ICONV_UTF REPLACE_ICONV_OPEN REPLACE_ICONV ICONV_CONST LTLIBICONV LIBICONV LIB_HARD_LOCALE HARD_LOCALE_LIB GNULIB_LOCALEDIR_c_make GNULIB_LOCALEDIR_c GNULIB_LOCALEDIR LTLIBINTL LIBINTL GL_GNULIB_GETRANDOM GL_COND_OBJ_GETRANDOM_FALSE GL_COND_OBJ_GETRANDOM_TRUE LIB_GETRANDOM GETRANDOM_LIB REPLACE_GETRANDOM HAVE_GETRANDOM GL_COND_OBJ_GETPROGNAME_FALSE GL_COND_OBJ_GETPROGNAME_TRUE GL_COND_OBJ_GETOPT_FALSE GL_COND_OBJ_GETOPT_TRUE GL_GENERATE_GETOPT_CDEFS_H_FALSE GL_GENERATE_GETOPT_CDEFS_H_TRUE GETOPT_CDEFS_H GL_GENERATE_GETOPT_H_FALSE GL_GENERATE_GETOPT_H_TRUE GETOPT_H HAVE_SYS_CDEFS_H HAVE_GETOPT_H NEXT_AS_FIRST_DIRECTIVE_GETOPT_H NEXT_GETOPT_H GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE GL_GNULIB_LOCALENAME_UNSAFE GL_GNULIB_GETLOCALENAME_L_UNSAFE GL_GNULIB_GETLOCALENAME_L GL_GNULIB_FREELOCALE GL_GNULIB_DUPLOCALE GL_GNULIB_NEWLOCALE GL_GNULIB_SETLOCALE_NULL GL_GNULIB_SETLOCALE GL_GNULIB_LOCALECONV HAVE_LOCALE_T HAVE_XLOCALE_H LOCALENAME_ENHANCE_LOCALE_FUNCS REPLACE_STRUCT_LCONV REPLACE_GETLOCALENAME_L REPLACE_FREELOCALE REPLACE_DUPLOCALE REPLACE_NEWLOCALE REPLACE_SETLOCALE REPLACE_LOCALECONV HAVE_GETLOCALENAME_L HAVE_FREELOCALE HAVE_DUPLOCALE HAVE_NEWLOCALE GETLOCALENAME_L_LIB LIB_SETLOCALE_NULL SETLOCALE_NULL_LIB LIB_SCHED_YIELD SCHED_YIELD_LIB LIBPMULTITHREAD LIBPTHREAD GL_COND_OBJ_GETDTABLESIZE_FALSE GL_COND_OBJ_GETDTABLESIZE_TRUE GL_COND_OBJ_FTELLO_FALSE GL_COND_OBJ_FTELLO_TRUE GL_COND_OBJ_FTELL_FALSE GL_COND_OBJ_FTELL_TRUE GL_GNULIB_MDA_UMASK GL_GNULIB_MDA_MKDIR GL_GNULIB_MDA_CHMOD GL_GNULIB_OVERRIDES_STRUCT_STAT GL_GNULIB_UTIMENSAT GL_GNULIB_STAT GL_GNULIB_MKNODAT GL_GNULIB_MKNOD GL_GNULIB_MKFIFOAT GL_GNULIB_MKFIFO GL_GNULIB_MKDIRAT GL_GNULIB_MKDIR GL_GNULIB_LSTAT GL_GNULIB_LCHMOD GL_GNULIB_GETUMASK GL_GNULIB_FUTIMENS GL_GNULIB_FSTATAT GL_GNULIB_FSTAT GL_GNULIB_FCHMODAT GL_GNULIB_CHMOD WINDOWS_64_BIT_ST_SIZE WINDOWS_STAT_TIMESPEC NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H NEXT_SYS_STAT_H GL_COND_OBJ_FSTAT_FALSE GL_COND_OBJ_FSTAT_TRUE REPLACE_UTIMENSAT REPLACE_STAT REPLACE_MKNODAT REPLACE_MKNOD REPLACE_MKFIFOAT REPLACE_MKFIFO REPLACE_MKDIR REPLACE_LSTAT REPLACE_FUTIMENS REPLACE_FSTATAT REPLACE_FSTAT REPLACE_FCHMODAT REPLACE_CHMOD HAVE_UTIMENSAT HAVE_MKNODAT HAVE_MKNOD HAVE_MKFIFOAT HAVE_MKFIFO HAVE_MKDIRAT HAVE_LSTAT HAVE_LCHMOD HAVE_GETUMASK HAVE_FUTIMENS HAVE_FSTATAT HAVE_FCHMODAT GL_COND_OBJ_FSEEKO_FALSE GL_COND_OBJ_FSEEKO_TRUE GL_COND_OBJ_FSEEK_FALSE GL_COND_OBJ_FSEEK_TRUE HAVE_BLKCNT_T HAVE_BLKSIZE_T WINDOWS_STAT_INODES HAVE_OFF64_T WINDOWS_64_BIT_OFF_T NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H NEXT_SYS_TYPES_H FREXPL_LIBM FREXP_LIBM GL_COND_OBJ_FREE_FALSE GL_COND_OBJ_FREE_TRUE GL_COND_OBJ_FPURGE_FALSE GL_COND_OBJ_FPURGE_TRUE GL_COND_OBJ_FPENDING_FALSE GL_COND_OBJ_FPENDING_TRUE GL_COND_OBJ_FLOORL_FALSE GL_COND_OBJ_FLOORL_TRUE FLOORL_LIBM GL_COND_OBJ_FLOOR_FALSE GL_COND_OBJ_FLOOR_TRUE FLOOR_LIBM GL_COND_OBJ_ITOLD_FALSE GL_COND_OBJ_ITOLD_TRUE GL_COND_OBJ_FLOAT_FALSE GL_COND_OBJ_FLOAT_TRUE GL_GENERATE_FLOAT_H_FALSE GL_GENERATE_FLOAT_H_TRUE FLOAT_H REPLACE_ITOLD NEXT_AS_FIRST_DIRECTIVE_FLOAT_H NEXT_FLOAT_H GL_GNULIB_MDA_TEMPNAM GL_GNULIB_MDA_PUTW GL_GNULIB_MDA_GETW GL_GNULIB_MDA_FILENO GL_GNULIB_MDA_FDOPEN GL_GNULIB_MDA_FCLOSEALL GL_GNULIB_ZPRINTF GL_GNULIB_VZPRINTF GL_GNULIB_VSZPRINTF GL_GNULIB_VSPRINTF_POSIX GL_GNULIB_VSNZPRINTF GL_GNULIB_VSNPRINTF GL_GNULIB_VPRINTF_POSIX GL_GNULIB_VPRINTF GL_GNULIB_VFZPRINTF GL_GNULIB_VFPRINTF_POSIX GL_GNULIB_VFPRINTF GL_GNULIB_VDZPRINTF GL_GNULIB_VDPRINTF GL_GNULIB_VSCANF GL_GNULIB_VFSCANF GL_GNULIB_VASZPRINTF GL_GNULIB_VASPRINTF GL_GNULIB_TMPFILE GL_GNULIB_SZPRINTF GL_GNULIB_STDIO_H_SIGPIPE GL_GNULIB_STDIO_H_NONBLOCKING GL_GNULIB_SPRINTF_POSIX GL_GNULIB_SNZPRINTF GL_GNULIB_SNPRINTF GL_GNULIB_SCANF GL_GNULIB_RENAMEAT GL_GNULIB_RENAME GL_GNULIB_REMOVE GL_GNULIB_PUTS GL_GNULIB_PUTCHAR GL_GNULIB_PUTC GL_GNULIB_PRINTF_POSIX GL_GNULIB_PRINTF GL_GNULIB_POPEN GL_GNULIB_PERROR GL_GNULIB_PCLOSE GL_GNULIB_OBSTACK_ZPRINTF GL_GNULIB_OBSTACK_PRINTF_POSIX GL_GNULIB_OBSTACK_PRINTF GL_GNULIB_GETLINE GL_GNULIB_GETDELIM GL_GNULIB_GETCHAR GL_GNULIB_GETC GL_GNULIB_FZPRINTF GL_GNULIB_FWRITE GL_GNULIB_FTELLO GL_GNULIB_FTELL GL_GNULIB_FSEEKO GL_GNULIB_FSEEK GL_GNULIB_FSCANF GL_GNULIB_FREOPEN GL_GNULIB_FREAD GL_GNULIB_FPUTS GL_GNULIB_FPUTC GL_GNULIB_FPURGE GL_GNULIB_FPRINTF_POSIX GL_GNULIB_FPRINTF GL_GNULIB_FOPEN_GNU GL_GNULIB_FOPEN GL_GNULIB_FGETS GL_GNULIB_FGETC GL_GNULIB_FFLUSH GL_GNULIB_FDOPEN GL_GNULIB_FCLOSE GL_GNULIB_DZPRINTF GL_GNULIB_DPRINTF GL_COND_OBJ_FFLUSH_FALSE GL_COND_OBJ_FFLUSH_TRUE REPLACE_VSPRINTF REPLACE_VSNPRINTF REPLACE_VPRINTF REPLACE_VFPRINTF REPLACE_VDPRINTF REPLACE_VASPRINTF REPLACE_TMPFILE REPLACE_STDIO_WRITE_FUNCS REPLACE_STDIO_READ_FUNCS REPLACE_SPRINTF REPLACE_SNPRINTF REPLACE_RENAMEAT REPLACE_RENAME REPLACE_REMOVE REPLACE_PRINTF REPLACE_POPEN REPLACE_PERROR REPLACE_OBSTACK_PRINTF REPLACE_GETLINE REPLACE_GETDELIM REPLACE_FTELLO REPLACE_FTELL REPLACE_FSEEKO REPLACE_FSEEK REPLACE_FREOPEN REPLACE_FPURGE REPLACE_FPRINTF REPLACE_FOPEN_FOR_FOPEN_GNU REPLACE_FOPEN REPLACE_FFLUSH REPLACE_FDOPEN REPLACE_FCLOSE REPLACE_DPRINTF HAVE_VDPRINTF HAVE_VASPRINTF HAVE_RENAMEAT HAVE_POPEN HAVE_PCLOSE HAVE_FTELLO HAVE_FSEEKO HAVE_DPRINTF HAVE_DECL_VSNPRINTF HAVE_DECL_SNPRINTF HAVE_DECL_PUTW HAVE_DECL_OBSTACK_PRINTF HAVE_DECL_GETW HAVE_DECL_GETLINE HAVE_DECL_GETDELIM HAVE_DECL_FTELLO HAVE_DECL_FSEEKO HAVE_DECL_FPURGE HAVE_DECL_FCLOSEALL NEXT_AS_FIRST_DIRECTIVE_FCNTL_H NEXT_FCNTL_H GL_GNULIB_MDA_OPEN GL_GNULIB_MDA_CREAT GL_GNULIB_OPENAT GL_GNULIB_OPEN GL_GNULIB_NONBLOCKING GL_GNULIB_FCNTL GL_GNULIB_CREAT GL_COND_OBJ_FCNTL_FALSE GL_COND_OBJ_FCNTL_TRUE REPLACE_OPENAT REPLACE_OPEN REPLACE_FCNTL REPLACE_CREAT HAVE_OPENAT HAVE_FCNTL GL_COND_OBJ_FABSL_FALSE GL_COND_OBJ_FABSL_TRUE FABSL_LIBM FABS_LIBM GL_COND_OBJ_EXPL_FALSE GL_COND_OBJ_EXPL_TRUE EXPL_LIBM LDEXPL_LIBM LDEXP_LIBM ISNAND_LIBM ROUNDL_LIBM ROUND_LIBM ISNANL_LIBM EXP_LIBM POW_LIBM GL_COND_OBJ_ERROR_FALSE GL_COND_OBJ_ERROR_TRUE REPLACE_ERROR_AT_LINE REPLACE_ERROR HAVE_ERROR_AT_LINE HAVE_ERROR HAVE_ERROR_H NEXT_AS_FIRST_DIRECTIVE_ERROR_H NEXT_ERROR_H GL_GENERATE_ERRNO_H_FALSE GL_GENERATE_ERRNO_H_TRUE ERRNO_H EOVERFLOW_VALUE EOVERFLOW_HIDDEN ENOLINK_VALUE ENOLINK_HIDDEN EMULTIHOP_VALUE EMULTIHOP_HIDDEN NEXT_AS_FIRST_DIRECTIVE_ERRNO_H NEXT_ERRNO_H GL_COND_OBJ_DUP2_FALSE GL_COND_OBJ_DUP2_TRUE GL_GNULIB_TOUPPER_L GL_GNULIB_TOLOWER_L GL_GNULIB_ISXDIGIT_L GL_GNULIB_ISUPPER_L GL_GNULIB_ISSPACE_L GL_GNULIB_ISPUNCT_L GL_GNULIB_ISPRINT_L GL_GNULIB_ISLOWER_L GL_GNULIB_ISGRAPH_L GL_GNULIB_ISDIGIT_L GL_GNULIB_ISCNTRL_L GL_GNULIB_ISBLANK_L GL_GNULIB_ISBLANK GL_GNULIB_ISALPHA_L GL_GNULIB_ISALNUM_L NEXT_AS_FIRST_DIRECTIVE_CTYPE_H NEXT_CTYPE_H HAVE_TOUPPER_L HAVE_TOLOWER_L HAVE_ISXDIGIT_L HAVE_ISUPPER_L HAVE_ISSPACE_L HAVE_ISPUNCT_L HAVE_ISPRINT_L HAVE_ISLOWER_L HAVE_ISGRAPH_L HAVE_ISDIGIT_L HAVE_ISCNTRL_L HAVE_ISBLANK_L HAVE_ISBLANK HAVE_ISALPHA_L HAVE_ISALNUM_L LIB_CRYPTO HAVE_SA_FAMILY_T HAVE_SYS_SOCKET_H NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H NEXT_SYS_SOCKET_H HAVE_ACCEPT4 HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY HAVE_STRUCT_SOCKADDR_STORAGE pkglibexecdir_c_make pkglibexecdir_c pkglibdir_c_make pkglibdir_c pkgincludedir_c_make pkgincludedir_c pkgdatadir_c_make pkgdatadir_c mandir_c_make mandir_c localedir_c_make localedir_c lispdir_c_make lispdir_c libdir_c_make libdir_c psdir_c_make psdir_c pdfdir_c_make pdfdir_c dvidir_c_make dvidir_c htmldir_c_make htmldir_c infodir_c_make infodir_c docdir_c_make docdir_c oldincludedir_c_make oldincludedir_c includedir_c_make includedir_c runstatedir_c_make runstatedir_c localstatedir_c_make localstatedir_c sharedstatedir_c_make sharedstatedir_c sysconfdir_c_make sysconfdir_c datadir_c_make datadir_c datarootdir_c_make datarootdir_c libexecdir_c_make libexecdir_c sbindir_c_make sbindir_c bindir_c_make bindir_c exec_prefix_c_make exec_prefix_c prefix_c_make prefix_c pkglibexecdir pkglibdir pkgincludedir pkgdatadir lispdir GL_GNULIB_MDA_WRITE GL_GNULIB_MDA_UNLINK GL_GNULIB_MDA_SWAB GL_GNULIB_MDA_RMDIR GL_GNULIB_MDA_READ GL_GNULIB_MDA_LSEEK GL_GNULIB_MDA_ISATTY GL_GNULIB_MDA_GETPID GL_GNULIB_MDA_GETCWD GL_GNULIB_MDA_EXECVPE GL_GNULIB_MDA_EXECVP GL_GNULIB_MDA_EXECVE GL_GNULIB_MDA_EXECV GL_GNULIB_MDA_EXECLP GL_GNULIB_MDA_EXECLE GL_GNULIB_MDA_EXECL GL_GNULIB_MDA_DUP2 GL_GNULIB_MDA_DUP GL_GNULIB_MDA_CLOSE GL_GNULIB_MDA_CHDIR GL_GNULIB_MDA_ACCESS GL_GNULIB_WRITE GL_GNULIB_USLEEP GL_GNULIB_UNLINKAT GL_GNULIB_UNLINK GL_GNULIB_UNISTD_H_SIGPIPE GL_GNULIB_UNISTD_H_NONBLOCKING GL_GNULIB_UNISTD_H_GETOPT GL_GNULIB_TTYNAME_R GL_GNULIB_TRUNCATE GL_GNULIB_SYMLINKAT GL_GNULIB_SYMLINK GL_GNULIB_SLEEP GL_GNULIB_SETHOSTNAME GL_GNULIB_RMDIR GL_GNULIB_READLINKAT GL_GNULIB_READLINK GL_GNULIB_READ GL_GNULIB_PWRITE GL_GNULIB_PREAD GL_GNULIB_PIPE2 GL_GNULIB_PIPE GL_GNULIB_LSEEK GL_GNULIB_LINKAT GL_GNULIB_LINK GL_GNULIB_LCHOWN GL_GNULIB_ISATTY GL_GNULIB_GROUP_MEMBER GL_GNULIB_GETUSERSHELL GL_GNULIB_GETPASS_GNU GL_GNULIB_GETPASS GL_GNULIB_GETPAGESIZE GL_GNULIB_GETOPT_POSIX GL_GNULIB_GETLOGIN_R GL_GNULIB_GETLOGIN GL_GNULIB_GETHOSTNAME GL_GNULIB_GETGROUPS GL_GNULIB_GETENTROPY GL_GNULIB_GETDTABLESIZE GL_GNULIB_GETDOMAINNAME GL_GNULIB_GETCWD GL_GNULIB_FTRUNCATE GL_GNULIB_FSYNC GL_GNULIB_FDATASYNC GL_GNULIB_FCHOWNAT GL_GNULIB_FCHDIR GL_GNULIB_FACCESSAT GL_GNULIB_EXECVPE GL_GNULIB_EXECVP GL_GNULIB_EXECVE GL_GNULIB_EXECV GL_GNULIB_EXECLP GL_GNULIB_EXECLE GL_GNULIB_EXECL GL_GNULIB_EUIDACCESS GL_GNULIB_ENVIRON GL_GNULIB_DUP3 GL_GNULIB_DUP2 GL_GNULIB_DUP GL_GNULIB_COPY_FILE_RANGE GL_GNULIB_CLOSE GL_GNULIB_CHOWN GL_GNULIB_CHDIR GL_GNULIB_ACCESS GL_COND_OBJ_CLOSE_FALSE GL_COND_OBJ_CLOSE_TRUE HAVE_WINSOCK2_H HAVE_MSVC_INVALID_PARAMETER_HANDLER UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS UNISTD_H_HAVE_WINSOCK2_H UNISTD_H_HAVE_SYS_RANDOM_H REPLACE_WRITE REPLACE_USLEEP REPLACE_UNLINKAT REPLACE_UNLINK REPLACE_TTYNAME_R REPLACE_TRUNCATE REPLACE_SYMLINKAT REPLACE_SYMLINK REPLACE_SLEEP REPLACE_SETHOSTNAME REPLACE_RMDIR REPLACE_READLINKAT REPLACE_READLINK REPLACE_READ REPLACE_PWRITE REPLACE_PREAD REPLACE_PIPE2 REPLACE_LSEEK REPLACE_LINKAT REPLACE_LINK REPLACE_LCHOWN REPLACE_ISATTY REPLACE_GETUSERSHELL REPLACE_GETPASS_FOR_GETPASS_GNU REPLACE_GETPASS REPLACE_GETPAGESIZE REPLACE_GETGROUPS REPLACE_GETLOGIN_R REPLACE_GETLOGIN REPLACE_GETENTROPY REPLACE_GETDTABLESIZE REPLACE_GETDOMAINNAME REPLACE_GETCWD REPLACE_FTRUNCATE REPLACE_FDATASYNC REPLACE_FCHOWNAT REPLACE_FCHDIR REPLACE_FACCESSAT REPLACE_EXECVPE REPLACE_EXECVP REPLACE_EXECVE REPLACE_EXECV REPLACE_EXECLP REPLACE_EXECLE REPLACE_EXECL REPLACE_DUP3 REPLACE_DUP2 REPLACE_DUP REPLACE_COPY_FILE_RANGE REPLACE_CLOSE REPLACE_CHOWN REPLACE_ACCESS HAVE_SYS_PARAM_H HAVE_OS_H HAVE_DECL_TTYNAME_R HAVE_DECL_TRUNCATE HAVE_DECL_SETHOSTNAME HAVE_DECL_GETUSERSHELL HAVE_DECL_GETPAGESIZE HAVE_DECL_GETLOGIN_R HAVE_DECL_GETLOGIN HAVE_DECL_GETDOMAINNAME HAVE_DECL_FDATASYNC HAVE_DECL_FCHDIR HAVE_DECL_EXECVPE HAVE_DECL_ENVIRON HAVE_USLEEP HAVE_UNLINKAT HAVE_SYMLINKAT HAVE_SYMLINK HAVE_SLEEP HAVE_SETHOSTNAME HAVE_READLINKAT HAVE_READLINK HAVE_PWRITE HAVE_PREAD HAVE_PIPE2 HAVE_PIPE HAVE_LINKAT HAVE_LINK HAVE_LCHOWN HAVE_GROUP_MEMBER HAVE_GETPASS HAVE_GETPAGESIZE HAVE_GETLOGIN HAVE_GETHOSTNAME HAVE_GETGROUPS HAVE_GETENTROPY HAVE_GETDTABLESIZE HAVE_FTRUNCATE HAVE_FSYNC HAVE_FDATASYNC HAVE_FCHOWNAT HAVE_FCHDIR HAVE_FACCESSAT HAVE_EXECVPE HAVE_EUIDACCESS HAVE_DUP3 HAVE_COPY_FILE_RANGE HAVE_CHOWN GL_COND_OBJ_CEILL_FALSE GL_COND_OBJ_CEILL_TRUE CEILL_LIBM HAVE_SAME_LONG_DOUBLE_AS_DOUBLE GL_GNULIB_MDA_YN GL_GNULIB_MDA_Y1 GL_GNULIB_MDA_Y0 GL_GNULIB_MDA_JN GL_GNULIB_MDA_J1 GL_GNULIB_MDA_J0 GL_GNULIB_TRUNCL GL_GNULIB_TRUNCF GL_GNULIB_TRUNC GL_GNULIB_TOTALORDERMAGL GL_GNULIB_TOTALORDERMAGF GL_GNULIB_TOTALORDERMAG GL_GNULIB_TOTALORDERL GL_GNULIB_TOTALORDERF GL_GNULIB_TOTALORDER GL_GNULIB_TANHF GL_GNULIB_TANL GL_GNULIB_TANF GL_GNULIB_SQRTL GL_GNULIB_SQRTF GL_GNULIB_SINHF GL_GNULIB_SINL GL_GNULIB_SINF GL_GNULIB_SIGNBIT GL_GNULIB_SETPAYLOADSIGL GL_GNULIB_SETPAYLOADSIGF GL_GNULIB_SETPAYLOADSIG GL_GNULIB_SETPAYLOADL GL_GNULIB_SETPAYLOADF GL_GNULIB_SETPAYLOAD GL_GNULIB_ROUNDL GL_GNULIB_ROUNDF GL_GNULIB_ROUND GL_GNULIB_RINTL GL_GNULIB_RINTF GL_GNULIB_RINT GL_GNULIB_REMAINDERL GL_GNULIB_REMAINDERF GL_GNULIB_REMAINDER GL_GNULIB_POWF GL_GNULIB_MODFL GL_GNULIB_MODFF GL_GNULIB_MODF GL_GNULIB_LOGP1L GL_GNULIB_LOGP1F GL_GNULIB_LOGP1 GL_GNULIB_LOGBL GL_GNULIB_LOGBF GL_GNULIB_LOGB GL_GNULIB_LOG2L GL_GNULIB_LOG2F GL_GNULIB_LOG2 GL_GNULIB_LOG1PL GL_GNULIB_LOG1PF GL_GNULIB_LOG1P GL_GNULIB_LOG10L GL_GNULIB_LOG10F GL_GNULIB_LOG10 GL_GNULIB_LOGL GL_GNULIB_LOGF GL_GNULIB_LOG GL_GNULIB_LDEXPL GL_GNULIB_LDEXPF GL_GNULIB_LDEXP GL_GNULIB_ISNANL GL_GNULIB_ISNAND GL_GNULIB_ISNANF GL_GNULIB_ISNAN GL_GNULIB_ISINF GL_GNULIB_ISFINITE GL_GNULIB_ILOGBL GL_GNULIB_ILOGBF GL_GNULIB_ILOGB GL_GNULIB_HYPOTL GL_GNULIB_HYPOTF GL_GNULIB_HYPOT GL_GNULIB_GETPAYLOADL GL_GNULIB_GETPAYLOADF GL_GNULIB_GETPAYLOAD GL_GNULIB_FREXPL GL_GNULIB_FREXP GL_GNULIB_FREXPF GL_GNULIB_FMODL GL_GNULIB_FMODF GL_GNULIB_FMOD GL_GNULIB_FMAL GL_GNULIB_FMAF GL_GNULIB_FMA GL_GNULIB_FLOORL GL_GNULIB_FLOORF GL_GNULIB_FLOOR GL_GNULIB_FABSL GL_GNULIB_FABSF GL_GNULIB_EXPM1L GL_GNULIB_EXPM1F GL_GNULIB_EXPM1 GL_GNULIB_EXP2L GL_GNULIB_EXP2F GL_GNULIB_EXP2 GL_GNULIB_EXPL GL_GNULIB_EXPF GL_GNULIB_COSHF GL_GNULIB_COSL GL_GNULIB_COSF GL_GNULIB_COPYSIGNL GL_GNULIB_COPYSIGNF GL_GNULIB_COPYSIGN GL_GNULIB_CEILL GL_GNULIB_CEILF GL_GNULIB_CEIL GL_GNULIB_CBRTL GL_GNULIB_CBRTF GL_GNULIB_CBRT GL_GNULIB_ATAN2F GL_GNULIB_ATANL GL_GNULIB_ATANF GL_GNULIB_ASINL GL_GNULIB_ASINF GL_GNULIB_ACOSL GL_GNULIB_ACOSF GL_COND_OBJ_CEIL_FALSE GL_COND_OBJ_CEIL_TRUE CEIL_LIBM REPLACE_TRUNCL REPLACE_TRUNCF REPLACE_TRUNC REPLACE_TOTALORDERMAGL REPLACE_TOTALORDERMAGF REPLACE_TOTALORDERMAG REPLACE_TOTALORDERL REPLACE_TOTALORDERF REPLACE_TOTALORDER REPLACE_TANHF REPLACE_TANF REPLACE_SQRTL REPLACE_SQRTF REPLACE_SINHF REPLACE_SINF REPLACE_SIGNBIT_USING_BUILTINS REPLACE_SIGNBIT REPLACE_ROUNDL REPLACE_ROUNDF REPLACE_ROUND REPLACE_RINTL REPLACE_REMAINDERL REPLACE_REMAINDERF REPLACE_REMAINDER REPLACE_NAN REPLACE_MODFL REPLACE_MODFF REPLACE_MODF REPLACE_LOGBL REPLACE_LOGBF REPLACE_LOGB REPLACE_LOG2L REPLACE_LOG2F REPLACE_LOG2 REPLACE_LOG1PL REPLACE_LOG1PF REPLACE_LOG1P REPLACE_LOG10L REPLACE_LOG10F REPLACE_LOG10 REPLACE_LOGL REPLACE_LOGF REPLACE_LOG REPLACE_LDEXPL REPLACE_LDEXP REPLACE_ISNAN REPLACE_ISINF REPLACE_ISFINITE REPLACE_ILOGBL REPLACE_ILOGBF REPLACE_ILOGB REPLACE_HYPOTL REPLACE_HYPOTF REPLACE_HYPOT REPLACE_HUGE_VAL REPLACE_GETPAYLOADL REPLACE_GETPAYLOADF REPLACE_GETPAYLOAD REPLACE_FREXPL REPLACE_FREXP REPLACE_FREXPF REPLACE_FMODL REPLACE_FMODF REPLACE_FMOD REPLACE_FMAL REPLACE_FMAF REPLACE_FMA REPLACE_FLOORL REPLACE_FLOORF REPLACE_FLOOR REPLACE_FABSL REPLACE_EXP2L REPLACE_EXP2 REPLACE_EXPM1L REPLACE_EXPM1F REPLACE_EXPM1 REPLACE_EXPL REPLACE_EXPF REPLACE_COSHF REPLACE_COSF REPLACE_CEILL REPLACE_CEILF REPLACE_CEIL REPLACE_CBRTL REPLACE_CBRTF REPLACE_ATAN2F REPLACE_ATANF REPLACE_ASINF REPLACE_ACOSF HAVE_DECL_TRUNCL HAVE_DECL_TRUNCF HAVE_DECL_TRUNC HAVE_DECL_TANL HAVE_DECL_SQRTL HAVE_DECL_SINL HAVE_DECL_ROUNDL HAVE_DECL_ROUNDF HAVE_DECL_ROUND HAVE_DECL_RINTF HAVE_DECL_REMAINDERL HAVE_DECL_REMAINDER HAVE_DECL_LOGB HAVE_DECL_LOG2L HAVE_DECL_LOG2F HAVE_DECL_LOG2 HAVE_DECL_LOG10L HAVE_DECL_LOGL HAVE_DECL_LDEXPL HAVE_DECL_FREXPL HAVE_DECL_FLOORL HAVE_DECL_FLOORF HAVE_DECL_EXPM1L HAVE_DECL_EXP2L HAVE_DECL_EXP2F HAVE_DECL_EXP2 HAVE_DECL_EXPL HAVE_DECL_COSL HAVE_DECL_COPYSIGNF HAVE_DECL_CEILL HAVE_DECL_CEILF HAVE_DECL_CBRTL HAVE_DECL_CBRTF HAVE_DECL_ATANL HAVE_DECL_ASINL HAVE_DECL_ACOSL HAVE_TOTALORDERMAGL HAVE_TOTALORDERMAGF HAVE_TOTALORDERMAG HAVE_TOTALORDERL HAVE_TOTALORDERF HAVE_TOTALORDER HAVE_TANHF HAVE_TANL HAVE_TANF HAVE_SQRTL HAVE_SQRTF HAVE_SINHF HAVE_SINL HAVE_SINF HAVE_SETPAYLOADSIGL HAVE_SETPAYLOADSIGF HAVE_SETPAYLOADSIG HAVE_SETPAYLOADL HAVE_SETPAYLOADF HAVE_SETPAYLOAD HAVE_RINTL HAVE_RINT HAVE_REMAINDERF HAVE_REMAINDER HAVE_POWF HAVE_MODFL HAVE_MODFF HAVE_LOGP1L HAVE_LOGP1F HAVE_LOGP1 HAVE_LOGBL HAVE_LOGBF HAVE_LOG1PL HAVE_LOG1PF HAVE_LOG1P HAVE_LOG10L HAVE_LOG10F HAVE_LOGL HAVE_LOGF HAVE_LDEXPF HAVE_ISNANL HAVE_ISNAND HAVE_ISNANF HAVE_ILOGBL HAVE_ILOGBF HAVE_ILOGB HAVE_HYPOTL HAVE_HYPOTF HAVE_GETPAYLOADL HAVE_GETPAYLOADF HAVE_GETPAYLOAD HAVE_FREXPF HAVE_FMODL HAVE_FMODF HAVE_FMAL HAVE_FMAF HAVE_FMA HAVE_FABSL HAVE_FABSF HAVE_EXPM1F HAVE_EXPM1 HAVE_EXPL HAVE_EXPF HAVE_COSHF HAVE_COSL HAVE_COSF HAVE_COPYSIGNL HAVE_COPYSIGN HAVE_CBRTL HAVE_CBRTF HAVE_CBRT HAVE_ATAN2F HAVE_ATANL HAVE_ATANF HAVE_ASINL HAVE_ASINF HAVE_ACOSL HAVE_ACOSF GL_GNULIB_MDA_PUTENV GL_GNULIB_MDA_MKTEMP GL_GNULIB_MDA_GCVT GL_GNULIB_MDA_FCVT GL_GNULIB_MDA_ECVT GL_GNULIB_WCTOMB GL_GNULIB_UNSETENV GL_GNULIB_UNLOCKPT GL_GNULIB_SYSTEM_POSIX GL_GNULIB_STRTOULL GL_GNULIB_STRTOUL GL_GNULIB_STRTOLL GL_GNULIB_STRTOLD GL_GNULIB_STRTOL GL_GNULIB_STRTOF GL_GNULIB_STRTOD GL_GNULIB_STACK_TRACE GL_GNULIB_SETENV GL_GNULIB_SECURE_GETENV GL_GNULIB_RPMATCH GL_GNULIB_REALPATH GL_GNULIB_REALLOC_POSIX GL_GNULIB_REALLOCARRAY GL_GNULIB_RANDOM_R GL_GNULIB_RANDOM GL_GNULIB_RAND GL_GNULIB_QSORT_R GL_GNULIB_PUTENV GL_GNULIB_PTSNAME_R GL_GNULIB_PTSNAME GL_GNULIB_POSIX_OPENPT GL_GNULIB_POSIX_MEMALIGN GL_GNULIB_MKSTEMPS GL_GNULIB_MKSTEMP GL_GNULIB_MKOSTEMPS GL_GNULIB_MKOSTEMP GL_GNULIB_MKDTEMP GL_GNULIB_MBTOWC GL_GNULIB_MBSTOWCS GL_GNULIB_MALLOC_POSIX GL_GNULIB_MALLOC_GNU GL_GNULIB_GRANTPT GL_GNULIB_GETSUBOPT GL_GNULIB_GETPROGNAME GL_GNULIB_GETLOADAVG GL_GNULIB_FREE_POSIX GL_GNULIB_CANONICALIZE_FILE_NAME GL_GNULIB_CALLOC_POSIX GL_GNULIB_CALLOC_GNU GL_GNULIB_ATOLL GL_GNULIB_ALIGNED_ALLOC GL_GNULIB_ABORT_DEBUG GL_GNULIB__EXIT CAN_PRINT_STACK_TRACE REPLACE_WCTOMB REPLACE_UNSETENV REPLACE_STRTOULL REPLACE_STRTOUL REPLACE_STRTOLL REPLACE_STRTOLD REPLACE_STRTOL REPLACE_STRTOF REPLACE_STRTOD REPLACE_SETSTATE REPLACE_SETENV REPLACE_REALPATH REPLACE_REALLOCARRAY REPLACE_REALLOC_FOR_REALLOC_POSIX REPLACE_RANDOM_R REPLACE_RANDOM REPLACE_RAND REPLACE_QSORT_R REPLACE_PUTENV REPLACE_PTSNAME_R REPLACE_PTSNAME REPLACE_POSIX_OPENPT REPLACE_POSIX_MEMALIGN REPLACE_MKSTEMP REPLACE_MKOSTEMPS REPLACE_MKOSTEMP REPLACE_MBTOWC REPLACE_MBSTOWCS REPLACE_MB_CUR_MAX REPLACE_MALLOC_FOR_MALLOC_POSIX REPLACE_MALLOC_FOR_MALLOC_GNU REPLACE_INITSTATE REPLACE_GETSUBOPT REPLACE_GETPROGNAME REPLACE_GETLOADAVG REPLACE_FREE REPLACE_CANONICALIZE_FILE_NAME REPLACE_CALLOC_FOR_CALLOC_POSIX REPLACE_CALLOC_FOR_CALLOC_GNU REPLACE_ALIGNED_ALLOC REPLACE_ABORT REPLACE__EXIT HAVE_DECL_UNSETENV HAVE_UNLOCKPT HAVE_SYS_LOADAVG_H HAVE_STRUCT_RANDOM_DATA HAVE_STRTOULL HAVE_STRTOUL HAVE_STRTOLL HAVE_STRTOLD HAVE_STRTOL HAVE_STRTOF HAVE_STRTOD HAVE_DECL_SETSTATE HAVE_SETSTATE HAVE_DECL_SETENV HAVE_SETENV HAVE_SECURE_GETENV HAVE_RPMATCH HAVE_REALPATH HAVE_REALLOCARRAY HAVE_RANDOM_R HAVE_RANDOM_H HAVE_RANDOM HAVE_QSORT_R HAVE_PTSNAME_R HAVE_PTSNAME HAVE_POSIX_OPENPT HAVE_POSIX_MEMALIGN HAVE_MKSTEMPS HAVE_MKSTEMP HAVE_MKOSTEMPS HAVE_MKOSTEMP HAVE_MKDTEMP HAVE_MBTOWC HAVE_DECL_INITSTATE HAVE_INITSTATE HAVE_GRANTPT HAVE_GETSUBOPT HAVE_GETPROGNAME HAVE_DECL_PROGRAM_INVOCATION_NAME HAVE_DECL_GETLOADAVG HAVE_DECL_GCVT HAVE_DECL_FCVT HAVE_DECL_ECVT HAVE_CANONICALIZE_FILE_NAME HAVE_ATOLL HAVE_ALIGNED_ALLOC HAVE__EXIT GL_GNULIB_MBSTOC32S GL_GNULIB_MBSRTOC32S GL_GNULIB_MBSNRTOC32S GL_GNULIB_MBRTOC32 GL_GNULIB_MBRTOC16 GL_GNULIB_C32_GET_TYPE_TEST GL_GNULIB_C32_GET_MAPPING GL_GNULIB_C32_APPLY_TYPE_TEST GL_GNULIB_C32_APPLY_MAPPING GL_GNULIB_C32TOB GL_GNULIB_C32SWIDTH GL_GNULIB_C32STOMBS GL_GNULIB_C32SRTOMBS GL_GNULIB_C32SNRTOMBS GL_GNULIB_C32RTOMB GL_GNULIB_C32WIDTH GL_GNULIB_C32TOUPPER GL_GNULIB_C32TOLOWER GL_GNULIB_C32ISXDIGIT GL_GNULIB_C32ISUPPER GL_GNULIB_C32ISSPACE GL_GNULIB_C32ISPUNCT GL_GNULIB_C32ISPRINT GL_GNULIB_C32ISLOWER GL_GNULIB_C32ISGRAPH GL_GNULIB_C32ISDIGIT GL_GNULIB_C32ISCNTRL GL_GNULIB_C32ISBLANK GL_GNULIB_C32ISALPHA GL_GNULIB_C32ISALNUM GL_GNULIB_BTOC32 HAVE_WORKING_C32RTOMB HAVE_WORKING_MBRTOC32 LOCALE_FR LOCALE_ZH_CN LOCALE_EN_UTF8 LOCALE_JA REPLACE_WMEMPCPY REPLACE_WMEMCMP REPLACE_WCSTOK REPLACE_WCSSTR REPLACE_WCSNCMP REPLACE_WCSNCAT REPLACE_WCSCMP REPLACE_WCSFTIME REPLACE_WCSWIDTH REPLACE_WCWIDTH REPLACE_WCSNRTOMBS REPLACE_WCSRTOMBS REPLACE_WCRTOMB REPLACE_MBSNRTOWCS REPLACE_MBSRTOWCS REPLACE_MBRLEN REPLACE_MBRTOWC REPLACE_MBSINIT REPLACE_WCTOB REPLACE_BTOWC REPLACE_MBSTATE_T HAVE_DECL_WCWIDTH HAVE_DECL_WCSDUP HAVE_DECL_WCTOB HAVE_WCSFTIME HAVE_WCSWIDTH HAVE_WCSTOK HAVE_WCSSTR HAVE_WCSPBRK HAVE_WCSSPN HAVE_WCSCSPN HAVE_WCSRCHR HAVE_WCSCHR HAVE_WCSDUP HAVE_WCSXFRM HAVE_WCSCOLL HAVE_WCSNCASECMP HAVE_WCSCASECMP HAVE_WCSNCMP HAVE_WCSCMP HAVE_WCSNCAT HAVE_WCSCAT HAVE_WCPNCPY HAVE_WCSNCPY HAVE_WCPCPY HAVE_WCSCPY HAVE_WCSNLEN HAVE_WCSLEN HAVE_WMEMSET HAVE_WMEMPCPY HAVE_WMEMMOVE HAVE_WMEMCPY HAVE_WMEMCMP HAVE_WMEMCHR HAVE_WCSNRTOMBS HAVE_WCSRTOMBS HAVE_WCRTOMB HAVE_MBSNRTOWCS HAVE_MBSRTOWCS HAVE_MBRLEN HAVE_MBRTOWC HAVE_MBSINIT HAVE_BTOWC SMALL_WCHAR_T BITSIZEOF_WCHAR_T CXX_HAS_CHAR8_TYPE CXX_HAS_UCHAR_TYPES GNULIBHEADERS_OVERRIDE_CHAR32_T GNULIBHEADERS_OVERRIDE_CHAR16_T GNULIBHEADERS_OVERRIDE_CHAR8_T HAVE_UCHAR_H NEXT_AS_FIRST_DIRECTIVE_UCHAR_H NEXT_UCHAR_H REPLACE_MBRTOC32 REPLACE_MBRTOC16 REPLACE_C32RTOMB HAVE_MBRTOC32 HAVE_MBRTOC16 HAVE_C32RTOMB GL_GENERATE_BYTESWAP_H_FALSE GL_GENERATE_BYTESWAP_H_TRUE BYTESWAP_H GL_GENERATE_ASSERT_H_FALSE GL_GENERATE_ASSERT_H_TRUE ASSERT_H NEXT_AS_FIRST_DIRECTIVE_ASSERT_H NEXT_ASSERT_H GL_GNULIB_INET_PTON GL_GNULIB_INET_NTOP HAVE_WS2TCPIP_H HAVE_FEATURES_H NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H NEXT_ARPA_INET_H PRAGMA_COLUMNS PRAGMA_SYSTEM_HEADER INCLUDE_NEXT_AS_FIRST_DIRECTIVE INCLUDE_NEXT HAVE_ARPA_INET_H REPLACE_INET_PTON REPLACE_INET_NTOP HAVE_DECL_NTOHS HAVE_DECL_NTOHL HAVE_DECL_INET_PTON HAVE_DECL_INET_NTOP HAVE_DECL_HTONS HAVE_DECL_HTONL GL_GENERATE_ALLOCA_H_FALSE GL_GENERATE_ALLOCA_H_TRUE ALLOCA_H HAVE_ALLOCA_H ALLOCA GL_COND_LIBTOOL_FALSE GL_COND_LIBTOOL_TRUE RANLIB ARFLAGS AR host_os host_vendor host_cpu host build_os build_vendor build_cpu build CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC am__xargs_n am__rm_f_notfound AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V CSCOPE ETAGS CTAGS am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_largefile enable_threads enable_cross_guesses enable_assert with_linux_crypto with_openssl with_gnulib_prefix with_gnu_ld enable_rpath with_libiconv_prefix with_packager with_packager_version with_packager_bug_reports enable_lint enable_werror with_bash_completion_dir enable_nls with_libintl_prefix enable_year2038 ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR bashcompdir' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: '$ac_option' Try '$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: '$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: '$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF 'configure' configures GNU datamash 1.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print 'checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for '--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or '..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, 'make install' will install all the files in '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify an installation prefix other than '$ac_default_prefix' using '--prefix', for instance '--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/datamash] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of GNU datamash 1.9:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-largefile omit support for large files --enable-threads={isoc|posix|isoc+posix|windows} specify multithreading API --disable-threads build without multithread safety --enable-cross-guesses={conservative|risky} specify policy for cross-compilation guesses --disable-assert turn off assertions --disable-rpath do not hardcode runtime library paths --enable-lint enable lint --enable-werror treat compiler warnings as errors (for developers) --disable-nls do not use Native Language Support --enable-year2038 support timestamps after 2038 Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-linux-crypto use Linux kernel cryptographic API (if available) for the hash functions MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 on files --with-openssl[=ARG] use libcrypto hash routines for the hash functions MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512. Valid ARGs are: 'yes', 'no', 'auto' => use if any version available, 'auto-gpl-compat' => use if GPL compatible version available, 'optional' => use if available and warn if not available; Default is 'no'. Note also --with-linux-crypto, which will enable the use of Linux kernel crypto routines (if available), which has precedence for files. --with-gnulib-prefix=DIR search for gnulib's runtime data in DIR/share --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-packager String identifying the packager of this software --with-packager-version Packager-specific version information --with-packager-bug-reports Packager info for bug reports (URL/e-mail/...) --with-bash-completion-dir=PATH Where to install the bash auto-completion script: no|local|global|PATH. [default=local] --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path bashcompdir value of completionsdir for bash-completion, overriding pkg-config Use these variables to override the choices made by 'configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . GNU datamash home page: . General help using GNU software: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for configure.gnu first; this name is used for a wrapper for # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF GNU datamash configure 1.9 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err } then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" else case e in #( e) eval "$3=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) eval "$3=yes" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext } then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; esac fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_try_run LINENO # ---------------------- # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that # executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5 printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status ;; esac fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid; break else case e in #( e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=$ac_mid; break else case e in #( e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done else case e in #( e) ac_lo= ac_hi= ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid else case e in #( e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval (void) { return $2; } static unsigned long int ulongval (void) { return $2; } #include #include int main (void) { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : echo >>conftest.val; read $3 &5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (void); below. */ #include #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (void); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main (void) { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$3=yes" else case e in #( e) eval "$3=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR # ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. ac_fn_check_decl () { ac_saved_ac_compile="$ac_compile" if test -n "$ac_compile_for_check_decl"; then ac_compile="$ac_compile_for_check_decl" fi as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 printf %s "checking whether $as_decl_name is declared... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` eval ac_save_FLAGS=\$$6 as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" else case e in #( e) eval "$3=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval $6=\$ac_save_FLAGS ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ac_compile="$ac_saved_ac_compile" } # ac_fn_check_decl # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES # ---------------------------------------------------- # Tries to find if the field MEMBER exists in type AGGR, after including # INCLUDES, setting cache variable VAR accordingly. ac_fn_c_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 printf %s "checking for $2.$3... " >&6; } if eval test \${$4+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main (void) { static $2 ac_aggr; if (ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$4=yes" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main (void) { static $2 ac_aggr; if (sizeof ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$4=yes" else case e in #( e) eval "$4=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi eval ac_res=\$$4 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member ac_configure_args_raw= for ac_arg do case $ac_arg in *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_configure_args_raw " '$ac_arg'" done case $ac_configure_args_raw in *$as_nl*) ac_safe_unquote= ;; *) ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ac_unsafe_a="$ac_unsafe_z#~" ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; esac cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU datamash $as_me 1.9, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Sanitize IFS. IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && printf "%s\n" "$as_me: caught signal $ac_signal" printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then ac_site_files="$CONFIG_SITE" elif test "x$prefix" != xNONE; then ac_site_files="$prefix/share/config.site $prefix/etc/config.site" else ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi for ac_site_file in $ac_site_files do case $ac_site_file in #( */*) : ;; #( *) : ac_site_file=./$ac_site_file ;; esac if test -f "$ac_site_file" && test -r "$ac_site_file"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See 'config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? Do not test the value of __STDC__, because some compilers set it to 0 while being otherwise adequately conformant. */ #if !defined __STDC__ # error "Compiler does not advertise C89 conformance" #endif #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); static char *e (char **p, int i) { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* C89 style stringification. */ #define noexpand_stringify(a) #a const char *stringified = noexpand_stringify(arbitrary+token=sequence); /* C89 style token pasting. Exercises some of the corner cases that e.g. old MSVC gets wrong, but not very hard. */ #define noexpand_concat(a,b) a##b #define expand_concat(a,b) noexpand_concat(a,b) extern int vA; extern int vbee; #define aye A #define bee B int *pvA = &expand_concat(v,aye); int *pvbee = &noexpand_concat(v,bee); /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated as an "x". The following induces an error, until -std is added to get proper ANSI mode. Curiously \x00 != x always comes out true, for an array size at least. It is necessary to write \x00 == 0 to get something that is true only with -std. */ int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) '\''x'\'' int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), int, int);' # Test code for whether the C compiler supports C89 (body of main). ac_c_conftest_c89_main=' ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); ' # Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' /* Does the compiler advertise C99 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif // See if C++-style comments work. #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare // FILE and stderr. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK #error "your preprocessor is broken" #endif #if BIG_OK #else #error "your preprocessor is broken" #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case '\''s'\'': // string str = va_arg (args_copy, const char *); break; case '\''d'\'': // int number = va_arg (args_copy, int); break; case '\''f'\'': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; } ' # Test code for whether the C compiler supports C99 (body of main). ac_c_conftest_c99_main=' // Check bool. _Bool success = false; success |= (argc != 0); // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Work around memory leak warnings. free (ia); // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[0] = argv[0][0]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' || dynamic_array[ni.number - 1] != 543); ' # Test code for whether the C compiler supports C11 (global declarations) ac_c_conftest_c11_globals=' /* Does the compiler advertise C11 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L # error "Compiler does not advertise C11 conformance" #endif // Check _Alignas. char _Alignas (double) aligned_as_double; char _Alignas (0) no_special_alignment; extern char aligned_as_int; char _Alignas (0) _Alignas (int) aligned_as_int; // Check _Alignof. enum { int_alignment = _Alignof (int), int_array_alignment = _Alignof (int[100]), char_alignment = _Alignof (char) }; _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); // Check _Noreturn. int _Noreturn does_not_return (void) { for (;;) continue; } // Check _Static_assert. struct test_static_assert { int x; _Static_assert (sizeof (int) <= sizeof (long int), "_Static_assert does not work in struct"); long int y; }; // Check UTF-8 literals. #define u8 syntax error! char const utf8_literal[] = u8"happens to be ASCII" "another string"; // Check duplicate typedefs. typedef long *long_ptr; typedef long int *long_ptr; typedef long_ptr long_ptr; // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. struct anonymous { union { struct { int i; int j; }; struct { int k; long int l; } w; }; int m; } v1; ' # Test code for whether the C compiler supports C11 (body of main). ac_c_conftest_c11_main=' _Static_assert ((offsetof (struct anonymous, i) == offsetof (struct anonymous, w.k)), "Anonymous union alignment botch"); v1.i = 2; v1.w.k = 5; ok |= v1.i != 5; ' # Test code for whether the C compiler supports C11 (complete). ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} ${ac_c_conftest_c99_globals} ${ac_c_conftest_c11_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} ${ac_c_conftest_c99_main} ${ac_c_conftest_c11_main} return ok; } " # Test code for whether the C compiler supports C99 (complete). ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} ${ac_c_conftest_c99_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} ${ac_c_conftest_c99_main} return ok; } " # Test code for whether the C compiler supports C89 (complete). ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} return ok; } " as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" as_fn_append ac_header_c_list " arpa/inet.h arpa_inet_h HAVE_ARPA_INET_H" as_fn_append ac_header_c_list " features.h features_h HAVE_FEATURES_H" as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H" as_fn_append ac_header_c_list " stdbool.h stdbool_h HAVE_STDBOOL_H" as_fn_append ac_header_c_list " byteswap.h byteswap_h HAVE_BYTESWAP_H" as_fn_append ac_header_c_list " uchar.h uchar_h HAVE_UCHAR_H" as_fn_append ac_func_c_list " mbsinit HAVE_MBSINIT" as_fn_append ac_func_c_list " mbrtowc HAVE_MBRTOWC" as_fn_append ac_func_c_list " _set_invalid_parameter_handler HAVE__SET_INVALID_PARAMETER_HANDLER" as_fn_append ac_header_c_list " error.h error_h HAVE_ERROR_H" as_fn_append ac_func_c_list " fcntl HAVE_FCNTL" as_fn_append ac_func_c_list " symlink HAVE_SYMLINK" as_fn_append ac_header_c_list " stdio_ext.h stdio_ext_h HAVE_STDIO_EXT_H" as_fn_append ac_func_c_list " fpurge HAVE_FPURGE" as_fn_append ac_func_c_list " getdtablesize HAVE_GETDTABLESIZE" as_fn_append ac_header_c_list " threads.h threads_h HAVE_THREADS_H" as_fn_append ac_func_c_list " getlocalename_l HAVE_GETLOCALENAME_L" as_fn_append ac_header_c_list " xlocale.h xlocale_h HAVE_XLOCALE_H" as_fn_append ac_header_c_list " langinfo.h langinfo_h HAVE_LANGINFO_H" gl_getopt_required=GNU as_fn_append ac_header_c_list " getopt.h getopt_h HAVE_GETOPT_H" as_fn_append ac_func_c_list " getexecname HAVE_GETEXECNAME" as_fn_append ac_header_c_list " iconv.h iconv_h HAVE_ICONV_H" as_fn_append ac_header_c_list " netdb.h netdb_h HAVE_NETDB_H" as_fn_append ac_header_c_list " netinet/in.h netinet_in_h HAVE_NETINET_IN_H" as_fn_append ac_header_c_list " limits.h limits_h HAVE_LIMITS_H" as_fn_append ac_func_c_list " isblank HAVE_ISBLANK" as_fn_append ac_func_c_list " iswcntrl HAVE_ISWCNTRL" as_fn_append ac_header_c_list " crtdefs.h crtdefs_h HAVE_CRTDEFS_H" as_fn_append ac_header_c_list " wctype.h wctype_h HAVE_WCTYPE_H" as_fn_append ac_header_c_list " math.h math_h HAVE_MATH_H" as_fn_append ac_func_c_list " mbslen HAVE_MBSLEN" as_fn_append ac_header_c_list " sys/mman.h sys_mman_h HAVE_SYS_MMAN_H" as_fn_append ac_func_c_list " mprotect HAVE_MPROTECT" as_fn_append ac_func_c_list " lstat HAVE_LSTAT" as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H" as_fn_append ac_func_c_list " pclose HAVE_PCLOSE" as_fn_append ac_func_c_list " popen HAVE_POPEN" as_fn_append ac_header_c_list " pthread.h pthread_h HAVE_PTHREAD_H" as_fn_append ac_func_c_list " snprintf HAVE_SNPRINTF" as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" as_fn_append ac_header_c_list " stdckdint.h stdckdint_h HAVE_STDCKDINT_H" as_fn_append ac_func_c_list " strtold HAVE_STRTOLD" as_fn_append ac_func_c_list " strtoumax HAVE_STRTOUMAX" as_fn_append ac_header_c_list " sys/random.h sys_random_h HAVE_SYS_RANDOM_H" as_fn_append ac_header_c_list " sys/uio.h sys_uio_h HAVE_SYS_UIO_H" as_fn_append ac_header_c_list " sys/wait.h sys_wait_h HAVE_SYS_WAIT_H" as_fn_append ac_func_c_list " vasnprintf HAVE_VASNPRINTF" as_fn_append ac_func_c_list " wcwidth HAVE_WCWIDTH" gt_needs="$gt_needs " # Auxiliary files required by this configure script. ac_aux_files="config.rpath config.guess config.sub compile missing install-sh" # Locations in which to look for auxiliary files. ac_aux_dir_candidates="${srcdir}/build-aux" # Search for a directory containing all of the required auxiliary files, # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. # If we don't find one directory that contains all the files we need, # we report the set of missing files from the *first* directory in # $ac_aux_dir_candidates and give up. ac_missing_aux_files="" ac_first_candidate=: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in $ac_aux_dir_candidates do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac as_found=: printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 ac_aux_dir_found=yes ac_install_sh= for ac_aux in $ac_aux_files do # As a special case, if "install-sh" is required, that requirement # can be satisfied by any of "install-sh", "install.sh", or "shtool", # and $ac_install_sh is set appropriately for whichever one is found. if test x"$ac_aux" = x"install-sh" then if test -f "${as_dir}install-sh"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 ac_install_sh="${as_dir}install-sh -c" elif test -f "${as_dir}install.sh"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 ac_install_sh="${as_dir}install.sh -c" elif test -f "${as_dir}shtool"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 ac_install_sh="${as_dir}shtool install -c" else ac_aux_dir_found=no if $ac_first_candidate; then ac_missing_aux_files="${ac_missing_aux_files} install-sh" else break fi fi else if test -f "${as_dir}${ac_aux}"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 else ac_aux_dir_found=no if $ac_first_candidate; then ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" else break fi fi fi done if test "$ac_aux_dir_found" = yes; then ac_aux_dir="$as_dir" break fi ac_first_candidate=false as_found=false done IFS=$as_save_IFS if $as_found then : else case e in #( e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; esac fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. if test -f "${ac_aux_dir}config.guess"; then ac_config_guess="$SHELL ${ac_aux_dir}config.guess" fi if test -f "${ac_aux_dir}config.sub"; then ac_config_sub="$SHELL ${ac_aux_dir}config.sub" fi if test -f "$ac_aux_dir/configure"; then ac_configure="$SHELL ${ac_aux_dir}configure" fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.17' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test ${ac_cv_path_install+y} then : printf %s "(cached) " >&6 else case e in #( e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac # Account for fact that we put trailing slashes in our PATH walk. case $as_dir in #(( ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir ;; esac fi if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5 printf %s "checking whether sleep supports fractional seconds... " >&6; } if test ${am_cv_sleep_fractional_seconds+y} then : printf %s "(cached) " >&6 else case e in #( e) if sleep 0.001 2>/dev/null then : am_cv_sleep_fractional_seconds=yes else case e in #( e) am_cv_sleep_fractional_seconds=no ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5 printf %s "checking filesystem timestamp resolution... " >&6; } if test ${am_cv_filesystem_timestamp_resolution+y} then : printf %s "(cached) " >&6 else case e in #( e) # Default to the worst case. am_cv_filesystem_timestamp_resolution=2 # Only try to go finer than 1 sec if sleep can do it. # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, # - 1 sec is not much of a win compared to 2 sec, and # - it takes 2 seconds to perform the test whether 1 sec works. # # Instead, just use the default 2s on platforms that have 1s resolution, # accept the extra 1s delay when using $sleep in the Automake tests, in # exchange for not incurring the 2s delay for running the test for all # packages. # am_try_resolutions= if test "$am_cv_sleep_fractional_seconds" = yes; then # Even a millisecond often causes a bunch of false positives, # so just try a hundredth of a second. The time saved between .001 and # .01 is not terribly consequential. am_try_resolutions="0.01 0.1 $am_try_resolutions" fi # In order to catch current-generation FAT out, we must *modify* files # that already exist; the *creation* timestamp is finer. Use names # that make ls -t sort them differently when they have equal # timestamps than when they have distinct timestamps, keeping # in mind that ls -t prints the *newest* file first. rm -f conftest.ts? : > conftest.ts1 : > conftest.ts2 : > conftest.ts3 # Make sure ls -t actually works. Do 'set' in a subshell so we don't # clobber the current shell's arguments. (Outer-level square brackets # are removed by m4; they're present so that m4 does not expand # ; be careful, easy to get confused.) if ( set X `ls -t conftest.ts[12]` && { test "$*" != "X conftest.ts1 conftest.ts2" || test "$*" != "X conftest.ts2 conftest.ts1"; } ); then :; else # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "ls -t produces unexpected output. Make sure there is not a broken ls alias in your environment. See 'config.log' for more details" "$LINENO" 5; } fi for am_try_res in $am_try_resolutions; do # Any one fine-grained sleep might happen to cross the boundary # between two values of a coarser actual resolution, but if we do # two fine-grained sleeps in a row, at least one of them will fall # entirely within a coarse interval. echo alpha > conftest.ts1 sleep $am_try_res echo beta > conftest.ts2 sleep $am_try_res echo gamma > conftest.ts3 # We assume that 'ls -t' will make use of high-resolution # timestamps if the operating system supports them at all. if (set X `ls -t conftest.ts?` && test "$2" = conftest.ts3 && test "$3" = conftest.ts2 && test "$4" = conftest.ts1); then # # Ok, ls -t worked. If we're at a resolution of 1 second, we're done, # because we don't need to test make. make_ok=true if test $am_try_res != 1; then # But if we've succeeded so far with a subsecond resolution, we # have one more thing to check: make. It can happen that # everything else supports the subsecond mtimes, but make doesn't; # notably on macOS, which ships make 3.81 from 2006 (the last one # released under GPLv2). https://bugs.gnu.org/68808 # # We test $MAKE if it is defined in the environment, else "make". # It might get overridden later, but our hope is that in practice # it does not matter: it is the system "make" which is (by far) # the most likely to be broken, whereas if the user overrides it, # probably they did so with a better, or at least not worse, make. # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html # # Create a Makefile (real tab character here): rm -f conftest.mk echo 'conftest.ts1: conftest.ts2' >conftest.mk echo ' touch conftest.ts2' >>conftest.mk # # Now, running # touch conftest.ts1; touch conftest.ts2; make # should touch ts1 because ts2 is newer. This could happen by luck, # but most often, it will fail if make's support is insufficient. So # test for several consecutive successes. # # (We reuse conftest.ts[12] because we still want to modify existing # files, not create new ones, per above.) n=0 make=${MAKE-make} until test $n -eq 3; do echo one > conftest.ts1 sleep $am_try_res echo two > conftest.ts2 # ts2 should now be newer than ts1 if $make -f conftest.mk | grep 'up to date' >/dev/null; then make_ok=false break # out of $n loop fi n=`expr $n + 1` done fi # if $make_ok; then # Everything we know to check worked out, so call this resolution good. am_cv_filesystem_timestamp_resolution=$am_try_res break # out of $am_try_res loop fi # Otherwise, we'll go on to check the next resolution. fi done rm -f conftest.ts? # (end _am_filesystem_timestamp_resolution) ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; } # This check should not be cached, as it may vary across builds of # different projects. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 printf %s "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). am_build_env_is_sane=no am_has_slept=no rm -f conftest.file for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi test "$2" = conftest.file ); then am_build_env_is_sane=yes break fi # Just in case. sleep "$am_cv_filesystem_timestamp_resolution" am_has_slept=yes done { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5 printf "%s\n" "$am_build_env_is_sane" >&6; } if test "$am_build_env_is_sane" = no; then as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1 then : else case e in #( e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) & am_sleep_pid=$! ;; esac fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was 's,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_STRIP+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 printf "%s\n" "$STRIP" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_STRIP+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 printf "%s\n" "$ac_ct_STRIP" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 printf %s "checking for a race-free mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test ${ac_cv_path_mkdir+y} then : printf %s "(cached) " >&6 else case e in #( e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir ('*'coreutils) '* | \ *'BusyBox '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS ;; esac fi test -d ./--version && rmdir ./--version if test ${ac_cv_path_mkdir+y}; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use plain mkdir -p, # in the hope it doesn't have the bugs of ancient mkdir. MKDIR_P='mkdir -p' fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 printf "%s\n" "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 printf "%s\n" "$AWK" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$AWK" && break done { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval test \${ac_cv_prog_make_${ac_make}_set+y} then : printf %s "(cached) " >&6 else case e in #( e) cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make ;; esac fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } SET_MAKE= else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AM_DEFAULT_VERBOSITY=1 # Check whether --enable-silent-rules was given. if test ${enable_silent_rules+y} then : enableval=$enable_silent_rules; fi am_make=${MAKE-make} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 printf %s "checking whether $am_make supports nested variables... " >&6; } if test ${am_cv_make_support_nested_variables+y} then : printf %s "(cached) " >&6 else case e in #( e) if printf "%s\n" 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } AM_BACKSLASH='\' am__rm_f_notfound= if (rm -f && rm -fr && rm -rf) 2>/dev/null then : else case e in #( e) am__rm_f_notfound='""' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5 printf %s "checking xargs -n works... " >&6; } if test ${am_cv_xargs_n_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 3" then : am_cv_xargs_n_works=yes else case e in #( e) am_cv_xargs_n_works=no ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5 printf "%s\n" "$am_cv_xargs_n_works" >&6; } if test "$am_cv_xargs_n_works" = yes then : am__xargs_n='xargs -n' else case e in #( e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }' ;; esac fi if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='datamash' VERSION='1.9' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # Variables for tags utilities; see am/tags.am if test -z "$CTAGS"; then CTAGS=ctags fi if test -z "$ETAGS"; then ETAGS=etags fi if test -z "$CSCOPE"; then CSCOPE=cscope fi # Minimum Autoconf version required. # Where to generate output; srcdir location. ac_config_headers="$ac_config_headers config.h:config.in" # We need a C compiler. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. set dummy ${ac_tool_prefix}clang; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}clang" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "clang", so it can be a program name with args. set dummy clang; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="clang" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi fi test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See 'config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 printf %s "checking whether the C compiler works... " >&6; } ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an '-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else case e in #( e) ac_file='' ;; esac fi if test -z "$ac_file" then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 printf %s "checking for C compiler default output file name... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will # work properly (i.e., refer to 'conftest.exe'), while it won't with # 'rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else case e in #( e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See 'config.log' for more details" "$LINENO" 5; } ;; esac fi rm -f conftest conftest$ac_cv_exeext { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { FILE *f = fopen ("conftest.out", "w"); if (!f) return 1; return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use '--host'. See 'config.log' for more details" "$LINENO" 5; } fi fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 printf "%s\n" "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext \ conftest.o conftest.obj conftest.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 printf %s "checking for suffix of object files... " >&6; } if test ${ac_cv_objext+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See 'config.log' for more details" "$LINENO" 5; } ;; esac fi rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 printf %s "checking whether the compiler supports GNU C... " >&6; } if test ${ac_cv_c_compiler_gnu+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_compiler_gnu=yes else case e in #( e) ac_compiler_gnu=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 printf %s "checking whether $CC accepts -g... " >&6; } if test ${ac_cv_prog_cc_g+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes else case e in #( e) CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 printf "%s\n" "$ac_cv_prog_cc_g" >&6; } if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi ac_prog_cc_stdc=no if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c11_program _ACEOF for ac_arg in '' -std=gnu11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c11=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ;; esac fi if test "x$ac_cv_prog_cc_c11" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else case e in #( e) if test "x$ac_cv_prog_cc_c11" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } CC="$CC $ac_cv_prog_cc_c11" ;; esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 ac_prog_cc_stdc=c11 ;; esac fi fi if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 printf %s "checking for $CC option to enable C99 features... " >&6; } if test ${ac_cv_prog_cc_c99+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c99_program _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ;; esac fi if test "x$ac_cv_prog_cc_c99" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else case e in #( e) if test "x$ac_cv_prog_cc_c99" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } CC="$CC $ac_cv_prog_cc_c99" ;; esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ac_prog_cc_stdc=c99 ;; esac fi fi if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 printf %s "checking for $CC option to enable C89 features... " >&6; } if test ${ac_cv_prog_cc_c89+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c89_program _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ;; esac fi if test "x$ac_cv_prog_cc_c89" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else case e in #( e) if test "x$ac_cv_prog_cc_c89" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } CC="$CC $ac_cv_prog_cc_c89" ;; esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ac_prog_cc_stdc=c89 ;; esac fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 printf %s "checking whether $CC understands -c and -o together... " >&6; } if test ${am_cv_prog_cc_c_o+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler is clang" >&5 printf %s "checking whether the compiler is clang... " >&6; } if test ${gl_cv_compiler_clang+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __clang__ barfbarf #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_compiler_clang=no else case e in #( e) gl_cv_compiler_clang=yes ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_clang" >&5 printf "%s\n" "$gl_cv_compiler_clang" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler option needed when checking for declarations" >&5 printf %s "checking for compiler option needed when checking for declarations... " >&6; } if test ${gl_cv_compiler_check_decl_option+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $gl_cv_compiler_clang = yes; then saved_ac_compile="$ac_compile" ac_compile="$ac_compile -Werror=implicit-function-declaration" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration' else case e in #( e) gl_cv_compiler_check_decl_option=none ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_compile="$saved_ac_compile" else gl_cv_compiler_check_decl_option=none fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_check_decl_option" >&5 printf "%s\n" "$gl_cv_compiler_check_decl_option" >&6; } if test "x$gl_cv_compiler_check_decl_option" != xnone; then ac_compile_for_check_decl="$ac_compile $gl_cv_compiler_check_decl_option" else ac_compile_for_check_decl="$ac_compile" fi DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } case $?:`cat confinc.out 2>/dev/null` in #( '0:this is the am__doit target') : case $s in #( BSD) : am__include='.include' am__quote='"' ;; #( *) : am__include='include' am__quote='' ;; esac ;; #( *) : ;; esac if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 printf "%s\n" "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. if test ${enable_dependency_tracking+y} then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 printf %s "checking dependency style of $depcc... " >&6; } if test ${am_cv_CC_dependencies_compiler_type+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thus: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 printf %s "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test ${ac_cv_prog_CPP+y} then : printf %s "(cached) " >&6 else case e in #( e) # Double quotes because $CC needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO" then : else case e in #( e) # Broken: fails on valid input. continue ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue else case e in #( e) # Passes both tests. ac_preproc_ok=: break ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : break fi done ac_cv_prog_CPP=$CPP ;; esac fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 printf "%s\n" "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO" then : else case e in #( e) # Broken: fails on valid input. continue ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO" then : # Broken: success on invalid input. continue else case e in #( e) # Passes both tests. ac_preproc_ok=: break ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok then : else case e in #( e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See 'config.log' for more details" "$LINENO" 5; } ;; esac fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Since we use gnulib: gl_EARLY must be called as soon as possible after # the C compiler is checked. The others could be later, but we just # keep everything together. ac_header= ac_cache= for ac_item in $ac_header_c_list do if test $ac_cache; then ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then printf "%s\n" "#define $ac_item 1" >> confdefs.h fi ac_header= ac_cache= elif test $ac_header; then ac_cache=$ac_item else ac_header=$ac_item fi done if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } if test ${ac_cv_safe_to_define___extensions__+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_safe_to_define___extensions__=yes else case e in #( e) ac_cv_safe_to_define___extensions__=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } if test ${ac_cv_should_define__xopen_source+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_should_define__xopen_source=no if test $ac_cv_header_wchar_h = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include mbstate_t x; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE 500 #include mbstate_t x; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_should_define__xopen_source=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h if test $ac_cv_header_minix_config_h = yes then : MINIX=yes printf "%s\n" "#define _MINIX 1" >>confdefs.h printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h else case e in #( e) MINIX= ;; esac fi if test $ac_cv_safe_to_define___extensions__ = yes then : printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h fi if test $ac_cv_should_define__xopen_source = yes then : printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h fi # Make sure we can run config.sub. $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 printf %s "checking build system type... " >&6; } if test ${ac_cv_build+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 printf %s "checking host system type... " >&6; } if test ${ac_cv_host+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac case "$host_os" in openbsd*) printf "%s\n" "#define _ISOC11_SOURCE 1" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 printf %s "checking for egrep -e... " >&6; } if test ${ac_cv_path_EGREP_TRADITIONAL+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -z "$EGREP_TRADITIONAL"; then ac_path_EGREP_TRADITIONAL_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in grep ggrep do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. # Check for GNU $ac_path_EGREP_TRADITIONAL case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( *GNU*) ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; #( *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_TRADITIONAL_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then : fi else ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL fi if test "$ac_cv_path_EGREP_TRADITIONAL" then : ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E" else case e in #( e) if test -z "$EGREP_TRADITIONAL"; then ac_path_EGREP_TRADITIONAL_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in egrep do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. # Check for GNU $ac_path_EGREP_TRADITIONAL case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( *GNU*) ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; #( *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_TRADITIONAL_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL fi ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5 printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; } EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 printf %s "checking for Minix Amsterdam compiler... " >&6; } if test ${gl_cv_c_amsterdam_compiler+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ACK__ Amsterdam #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Amsterdam" >/dev/null 2>&1 then : gl_cv_c_amsterdam_compiler=yes else case e in #( e) gl_cv_c_amsterdam_compiler=no ;; esac fi rm -rf conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 printf "%s\n" "$gl_cv_c_amsterdam_compiler" >&6; } if test $gl_cv_c_amsterdam_compiler = yes; then if test -z "$AR"; then AR='cc -c.a' fi if test -z "$ARFLAGS"; then ARFLAGS='-o' fi else : fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AR+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi AR=$ac_cv_prog_AR if test -n "$AR"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 printf "%s\n" "$AR" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_AR+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 printf "%s\n" "$ac_ct_AR" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="ar" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi if test -z "$ARFLAGS"; then ARFLAGS='cr' fi if test -z "$RANLIB"; then if test $gl_cv_c_amsterdam_compiler = yes; then RANLIB=':' else if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_RANLIB+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 printf "%s\n" "$RANLIB" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_RANLIB+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 printf "%s\n" "$ac_ct_RANLIB" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi fi fi printf "%s\n" "#define _LINUX_SOURCE_COMPAT 1" >>confdefs.h # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 # and the GCC 4.1.2 manual). case "$host_cpu" in alpha*) # On Alpha systems, a compiler option provides the behaviour. # See the ieee(3) manual page, also available at # if test -n "$GCC"; then # GCC has the option -mieee. # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. CPPFLAGS="$CPPFLAGS -mieee" else # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. CPPFLAGS="$CPPFLAGS -ieee" fi ;; sh*) if test -n "$GCC"; then # GCC has the option -mieee. CPPFLAGS="$CPPFLAGS -mieee" fi ;; esac # Check whether --enable-largefile was given. if test ${enable_largefile+y} then : enableval=$enable_largefile; fi if test "$enable_largefile,$enable_year2038" != no,no then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5 printf %s "checking for $CC option to support large files... " >&6; } if test ${ac_cv_sys_largefile_opts+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_save_CPPFLAGS=$CPPFLAGS ac_opt_found=no for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do if test x"$ac_opt" != x"none needed" then : CPPFLAGS="$ac_save_CPPFLAGS $ac_opt" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef FTYPE # define FTYPE off_t #endif /* Check that FTYPE can represent 2**63 - 1 correctly. We can't simply define LARGE_FTYPE to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31)) int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721 && LARGE_FTYPE % 2147483647 == 1) ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : if test x"$ac_opt" = x"none needed" then : # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t. CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t" if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" if ac_fn_c_try_compile "$LINENO" then : ac_opt='-D_FILE_OFFSET_BITS=64' fi rm -f core conftest.err conftest.$ac_objext conftest.beam ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam fi ac_cv_sys_largefile_opts=$ac_opt ac_opt_found=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test $ac_opt_found = no || break done CPPFLAGS=$ac_save_CPPFLAGS if test $ac_opt_found != yes; then case $host_os in #( mingw* | windows*) : ac_cv_sys_largefile_opts="supported through gnulib" ac_opt_found=yes ;; #( *) : ;; esac fi test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; } ac_have_largefile=yes case $ac_cv_sys_largefile_opts in #( "none needed") : ;; #( "supported through gnulib") : ;; #( "support not detected") : ac_have_largefile=no ;; #( "-D_FILE_OFFSET_BITS=64") : printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h ;; #( "-D_LARGE_FILES=1") : printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h ;; #( *) : as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;; esac if test "$enable_year2038" != no then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5 printf %s "checking for $CC option to support timestamps after 2038... " >&6; } if test ${ac_cv_sys_year2038_opts+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_save_CPPFLAGS="$CPPFLAGS" ac_opt_found=no for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do if test x"$ac_opt" != x"none needed" then : CPPFLAGS="$ac_save_CPPFLAGS $ac_opt" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that time_t can represent 2**32 - 1 correctly. */ #define LARGE_TIME_T \\ ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 && LARGE_TIME_T % 65537 == 0) ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_sys_year2038_opts="$ac_opt" ac_opt_found=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test $ac_opt_found = no || break done CPPFLAGS="$ac_save_CPPFLAGS" test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; } ac_have_year2038=yes case $ac_cv_sys_year2038_opts in #( "none needed") : ;; #( "support not detected") : ac_have_year2038=no ;; #( "-D_TIME_BITS=64") : printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h ;; #( "-D__MINGW_USE_VC2005_COMPAT") : printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h ;; #( "-U_USE_32_BIT_TIME_T"*) : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It will stop working after mid-January 2038. Remove _USE_32BIT_TIME_T from the compiler flags. See 'config.log' for more details" "$LINENO" 5; } ;; #( *) : as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;; esac fi fi # Check whether --enable-threads was given. if test ${enable_threads+y} then : enableval=$enable_threads; gl_use_threads=$enableval else case e in #( e) if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else case "$host_os" in osf*) gl_use_threads=no ;; cygwin*) case `uname -r` in 1.[0-5].*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ;; mingw* | windows*) case "$gl_use_winpthreads_default" in yes) gl_use_threads=posix ;; no) gl_use_threads=windows ;; *) gl_use_threads=yes ;; esac ;; *) gl_use_threads=yes ;; esac fi ;; esac fi if test "$gl_use_threads" = yes \ || test "$gl_use_threads" = isoc \ || test "$gl_use_threads" = posix \ || test "$gl_use_threads" = isoc+posix; then # For using or : if test -z "$gl_anythreadlib_early_done"; then case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac gl_anythreadlib_early_done=done fi fi # Pre-early section. # Code from module absolute-header: # Code from module alignasof: # Code from module alloca-opt: # Code from module announce-gen: # Code from module arpa_inet-h: # Code from module assert: # Code from module assert-h: # Code from module attribute: # Code from module base64: # Code from module basename-lgpl: # Code from module bitrotate: # Code from module bool: # Code from module byteswap: # Code from module c-ctype: # Code from module c-strcasecmp: # Code from module c-strcaseeq: # Code from module c32isalnum: # Code from module c32isalpha: # Code from module c32isblank: # Code from module c32iscntrl: # Code from module c32isdigit: # Code from module c32isgraph: # Code from module c32islower: # Code from module c32isprint: # Code from module c32ispunct: # Code from module c32isspace: # Code from module c32isupper: # Code from module c32isxdigit: # Code from module c32tolower: # Code from module c32width: # Code from module c99: # Code from module calloc-gnu: # Code from module calloc-posix: # Code from module ceil: # Code from module ceill: # Code from module cloexec: # Code from module close: # Code from module close-stream: # Code from module closeout: # Code from module configmake: # Code from module crypto/af_alg: # Code from module crypto/md5: # Code from module crypto/md5-buffer: # Code from module crypto/sha1: # Code from module crypto/sha1-buffer: # Code from module crypto/sha256: # Code from module crypto/sha256-buffer: # Code from module crypto/sha512: # Code from module crypto/sha512-buffer: # Code from module ctype-h: # Code from module dirname: # Code from module dirname-lgpl: # Code from module do-release-commit-and-tag: # Code from module double-slash-root: # Code from module dup2: # Code from module errno: # Code from module errno-h: # Code from module error: # Code from module error-h: # Code from module exitfail: # Code from module exp: # Code from module expl: # Code from module extensions: # This is actually already done in the pre-early phase. # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # Code from module extensions-aix: # Code from module extern-inline: # Code from module fabs: # Code from module fabsl: # Code from module fcntl: # Code from module fcntl-h: # Code from module fd-hook: # Code from module fflush: # Code from module filename: # Code from module flexmember: # Code from module float-h: # Code from module floor: # Code from module floorl: # Code from module fpending: # Code from module fpieee: # Code from module fpucw: # Code from module fpurge: # Code from module freading: # Code from module free-posix: # Code from module frexp: # Code from module frexpl: # Code from module fseek: # Code from module fseeko: # Code from module fstat: # Code from module ftell: # Code from module ftello: # Code from module gen-header: # Code from module gendocs: # Code from module getdtablesize: # Code from module getlocalename_l-unsafe: # Code from module getlocalename_l-unsafe-limited: # Code from module getopt-gnu: # Code from module getopt-posix: # Code from module getprogname: # Code from module getrandom: # Code from module gettext-h: # Code from module git-version-gen: # Code from module gitlog-to-changelog: # Code from module gnu-web-doc-update: # Code from module gnulib-i18n: # Code from module gnumakefile: # Code from module gnupload: # Code from module gperf: # Code from module hard-locale: # Code from module hash: # Code from module hash-pjw: # Code from module hash-pjw-bare: # Code from module havelib: # Code from module ialloc: # Code from module iconv: # Code from module iconv-h: # Code from module iconv_open: # Code from module idx: # Code from module ignore-value: # Code from module include_next: # Code from module inet_pton: # Code from module inline: # Code from module intprops: # Code from module inttostr: # Code from module inttypes: # Code from module inttypes-h: # Code from module inttypes-h-incomplete: # Code from module isblank: # Code from module isfinite: # Code from module isinf: # Code from module isnand: # Code from module isnand-nolibm: # Code from module isnanf-nolibm: # Code from module isnanl: # Code from module isnanl-nolibm: # Code from module iswblank: # Code from module iswdigit: # Code from module iswpunct: # Code from module iswxdigit: # Code from module largefile: # Code from module ldexp: # Code from module ldexpl: # Code from module libc-config: # Code from module limits-h: # Code from module linebuffer: # Code from module localcharset: # Code from module locale: # Code from module locale-h: # Code from module localeconv: # Code from module localename: # Code from module localename-environ: # Code from module localename-unsafe: # Code from module localename-unsafe-limited: # Code from module lock: # Code from module log: # Code from module logl: # Code from module lseek: # Code from module maintainer-makefile: # Code from module malloc-gnu: # Code from module malloc-posix: # Code from module malloca: # Code from module math-h: # Code from module mbchar: # Code from module mbrtoc32: # Code from module mbrtowc: # Code from module mbsinit: # Code from module mbslen: # Code from module mbsstr: # Code from module mbszero: # Code from module mbuiter: # Code from module mbuiterf: # Code from module memchr: # Code from module mempcpy: # Code from module minmax: # Code from module modf: # Code from module modfl: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module netinet_in: # Code from module netinet_in-h: # Code from module nocrash: # Code from module once: # Code from module open: # Code from module package-version: # Code from module pathmax: # Code from module pclose: # Code from module pmccabe2html: # Code from module popen: # Code from module progname: # Code from module propername: # Code from module pthread-h: if test -z "$gl_anythreadlib_early_done"; then case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac gl_anythreadlib_early_done=done fi # Code from module pthread-once: # Code from module quotearg: # Code from module quotearg-simple: # Code from module random: # Code from module random_r: # Code from module readme-release: # Code from module realloc-gnu: # Code from module realloc-posix: # Code from module reallocarray: # Code from module round: # Code from module roundl: # Code from module sched-h: # Code from module setlocale: # Code from module setlocale-fixes: # Code from module setlocale-null: # Code from module setlocale-null-unlocked: # Code from module sh-quote: # Code from module signbit: # Code from module size_max: # Code from module snippet/_Noreturn: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/warn-on-use: # Code from module snprintf: # Code from module socklen: # Code from module sqrt: # Code from module sqrtl: # Code from module ssize_t: # Code from module stat: # Code from module stat-time: # Code from module std-gnu11: # Code from module stdarg-h: # Code from module stdbool: # Code from module stdckdint-h: # Code from module stddef-h: # Code from module stdint: # Code from module stdint-h: # Code from module stdio-h: printf "%s\n" "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h # Code from module stdlib-h: # Code from module stdnoreturn: # Code from module stdnoreturn-h: # Code from module stpcpy: # Code from module strcase: # Code from module strcasecmp: # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: # Code from module striconv: # Code from module string-h: # Code from module strings-h: # Code from module strncasecmp: # Code from module strnlen: # Code from module strnlen1: # Code from module strsep: # Code from module strtod: # Code from module strtold: # Code from module strtoll: # Code from module strtoull: # Code from module strtoumax: # Code from module sys_random: # Code from module sys_random-h: # Code from module sys_socket: # Code from module sys_socket-h: # Code from module sys_stat-h: # Code from module sys_types-h: # Code from module sys_uio-h: # Code from module sys_wait-h: # Code from module thread-optim: # Code from module threadlib: # Code from module time-h: # Code from module trim: # Code from module trunc: # Code from module truncl: # Code from module u64: # Code from module uchar-h: # Code from module unicase/base: # Code from module unicase/tolower: # Code from module unictype/base: # Code from module unictype/ctype-alnum: # Code from module unictype/ctype-alpha: # Code from module unictype/ctype-blank: # Code from module unictype/ctype-cntrl: # Code from module unictype/ctype-digit: # Code from module unictype/ctype-graph: # Code from module unictype/ctype-lower: # Code from module unictype/ctype-print: # Code from module unictype/ctype-punct: # Code from module unictype/ctype-space: # Code from module unictype/ctype-upper: # Code from module unictype/ctype-xdigit: # Code from module uninorm/base: # Code from module unistd-h: # Code from module unistr/base: # Code from module unistr/u8-mbtoucr: # Code from module unistr/u8-uctomb: # Code from module unitypes-h: # Code from module uniwidth/base: # Code from module uniwidth/width: # Code from module unlocked-io: # Code from module unlocked-io-internal: # Code from module update-copyright: # Code from module useless-if-before-free: # Code from module vararrays: # Code from module vasnprintf: # Code from module vc-list-files: # Code from module version-etc: # Code from module vsnzprintf: # Code from module waitpid: # Code from module warnings: # Code from module wchar-h: # Code from module wctype-h: # Code from module wcwidth: # Code from module windows-mutex: # Code from module windows-once: # Code from module windows-recmutex: # Code from module windows-rwlock: # Code from module xalloc: # Code from module xalloc-die: # Code from module xalloc-oversized: # Code from module xsize: # Code from module xstriconv: # Code from module xstrtol: # Code from module xstrtol-error: # Code from module xstrtoumax: # Check whether --enable-cross-guesses was given. if test ${enable_cross_guesses+y} then : enableval=$enable_cross_guesses; if test "x$enableval" != xconservative && test "x$enableval" != xrisky; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-cross-guesses" >&5 printf "%s\n" "$as_me: WARNING: invalid argument supplied to --enable-cross-guesses" >&2;} enableval=conservative fi gl_cross_guesses="$enableval" else case e in #( e) gl_cross_guesses=conservative ;; esac fi if test $gl_cross_guesses = risky; then gl_cross_guess_normal="guessing yes" gl_cross_guess_inverted="guessing no" else gl_cross_guess_normal="guessing no" gl_cross_guess_inverted="guessing yes" fi LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes then : else case e in #( e) printf "%s\n" "#define size_t unsigned int" >>confdefs.h ;; esac fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 printf %s "checking for working alloca.h... " >&6; } if test ${ac_cv_working_alloca_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_working_alloca_h=yes else case e in #( e) ac_cv_working_alloca_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 printf "%s\n" "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 printf %s "checking for alloca... " >&6; } if test ${ac_cv_func_alloca_works+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_func_alloca_works=$ac_cv_working_alloca_h if test "$ac_cv_func_alloca_works" != yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef alloca # ifdef __GNUC__ # define alloca __builtin_alloca # elif defined _MSC_VER # include # define alloca _alloca # else # ifdef __cplusplus extern "C" # endif void *alloca (size_t); # endif #endif int main (void) { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_func_alloca_works=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 printf "%s\n" "$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 printf %s "checking stack direction for C alloca... " >&6; } if test ${ac_cv_c_stack_direction+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : ac_cv_c_stack_direction=0 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_c_stack_direction=1 else case e in #( e) ac_cv_c_stack_direction=-1 ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 printf "%s\n" "$ac_cv_c_stack_direction" >&6; } printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h fi HAVE_DECL_HTONL=1; HAVE_DECL_HTONS=1; HAVE_DECL_INET_NTOP=1; HAVE_DECL_INET_PTON=1; HAVE_DECL_NTOHL=1; HAVE_DECL_NTOHS=1; REPLACE_INET_NTOP=0; REPLACE_INET_PTON=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 printf %s "checking whether the preprocessor supports include_next... " >&6; } if test ${gl_cv_have_include_next+y} then : printf %s "(cached) " >&6 else case e in #( e) rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 cat < conftestd1a/conftest.h #define DEFINED_IN_CONFTESTD1 #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd1b/conftest.h #define DEFINED_IN_CONFTESTD1 #include #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd2/conftest.h #ifndef DEFINED_IN_CONFTESTD1 #error "include_next test doesn't work" #endif #define DEFINED_IN_CONFTESTD2 EOF gl_saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$gl_saved_CPPFLAGS -Iconftestd1b -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_have_include_next=yes else case e in #( e) CPPFLAGS="$gl_saved_CPPFLAGS -Iconftestd1a -Iconftestd2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_have_include_next=buggy else case e in #( e) gl_cv_have_include_next=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CPPFLAGS="$gl_saved_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 printf "%s\n" "$gl_cv_have_include_next" >&6; } PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next if test -n "$GCC"; then PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' fi else if test $gl_cv_have_include_next = buggy; then INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next else INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether source code line length is unlimited" >&5 printf %s "checking whether source code line length is unlimited... " >&6; } if test ${gl_cv_source_line_length_unlimited+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __TANDEM choke me #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "choke me" >/dev/null 2>&1 then : gl_cv_source_line_length_unlimited=no else case e in #( e) gl_cv_source_line_length_unlimited=yes ;; esac fi rm -rf conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_source_line_length_unlimited" >&5 printf "%s\n" "$gl_cv_source_line_length_unlimited" >&6; } if test $gl_cv_source_line_length_unlimited = no; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else PRAGMA_COLUMNS= fi if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else HAVE_FEATURES_H=0 fi if test $ac_cv_header_sys_socket_h = no; then ac_fn_c_check_header_compile "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" if test "x$ac_cv_header_ws2tcpip_h" = xyes then : printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h fi fi if test $ac_cv_header_arpa_inet_h = yes; then HAVE_ARPA_INET_H=1 else HAVE_ARPA_INET_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_arpa_inet_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_arpa_inet_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'arpa/inet.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_arpa_inet_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_arpa_inet_h gl_cv_next_arpa_inet_h='"'$gl_header'"' else gl_cv_next_arpa_inet_h='<'arpa/inet.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5 printf "%s\n" "$gl_cv_next_arpa_inet_h" >&6; } fi NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'arpa/inet.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_arpa_inet_h fi NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi GL_GNULIB_INET_NTOP=0 GL_GNULIB_INET_PTON=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 printf %s "checking for C/C++ restrict keyword... " >&6; } if test ${ac_cv_c_restrict+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_c_restrict=no # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see: # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html # Put 'restrict' last, because C++ lacks it. for ac_kw in __restrict__ __restrict _Restrict restrict; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef int *int_ptr; int foo (int_ptr $ac_kw ip) { return ip[0]; } int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ int bar (int ip[$ac_kw]) { return ip[0]; } int main (void) { int s[1]; int *$ac_kw t = s; t[0] = 0; return foo (t) + bar (t); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_restrict=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 printf "%s\n" "$ac_cv_c_restrict" >&6; } case $ac_cv_c_restrict in restrict) ;; no) printf "%s\n" "#define restrict /**/" >>confdefs.h ;; *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h ;; esac HAVE_C32RTOMB=1; HAVE_MBRTOC16=1; HAVE_MBRTOC32=1; REPLACE_C32RTOMB=0; REPLACE_MBRTOC16=0; REPLACE_MBRTOC32=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char8_t is correctly defined" >&5 printf %s "checking whether char8_t is correctly defined... " >&6; } if test ${gl_cv_type_char8_t_works+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __HAIKU__ #include #endif #include int verify[(char8_t)(-1) >= 0 && sizeof (char8_t) == sizeof (unsigned char) ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_char8_t_works=yes else case e in #( e) gl_cv_type_char8_t_works=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_char8_t_works" >&5 printf "%s\n" "$gl_cv_type_char8_t_works" >&6; } if test $gl_cv_type_char8_t_works = no; then GNULIBHEADERS_OVERRIDE_CHAR8_T=1 else GNULIBHEADERS_OVERRIDE_CHAR8_T=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char16_t is correctly defined" >&5 printf %s "checking whether char16_t is correctly defined... " >&6; } if test ${gl_cv_type_char16_t_works+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __HAIKU__ #include #endif #include /* For simplicity, assume that uint16_least_t is equivalent to 'unsigned short'. */ int verify[(char16_t)(-1) >= 0 && sizeof (char16_t) == sizeof (unsigned short) ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_char16_t_works=yes else case e in #( e) gl_cv_type_char16_t_works=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_char16_t_works" >&5 printf "%s\n" "$gl_cv_type_char16_t_works" >&6; } if test $gl_cv_type_char16_t_works = no; then GNULIBHEADERS_OVERRIDE_CHAR16_T=1 else GNULIBHEADERS_OVERRIDE_CHAR16_T=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char32_t is correctly defined" >&5 printf %s "checking whether char32_t is correctly defined... " >&6; } if test ${gl_cv_type_char32_t_works+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __HAIKU__ #include #endif #include /* For simplicity, assume that uint32_least_t is equivalent to 'unsigned int'. */ int verify[(char32_t)(-1) >= 0 && sizeof (char32_t) == sizeof (unsigned int) ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_char32_t_works=yes else case e in #( e) gl_cv_type_char32_t_works=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_char32_t_works" >&5 printf "%s\n" "$gl_cv_type_char32_t_works" >&6; } if test $gl_cv_type_char32_t_works = no; then GNULIBHEADERS_OVERRIDE_CHAR32_T=1 else GNULIBHEADERS_OVERRIDE_CHAR32_T=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_uchar_h='<'uchar.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_uchar_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_uchar_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'uchar.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_uchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_uchar_h gl_cv_next_uchar_h='"'$gl_header'"' else gl_cv_next_uchar_h='<'uchar.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_uchar_h" >&5 printf "%s\n" "$gl_cv_next_uchar_h" >&6; } fi NEXT_UCHAR_H=$gl_cv_next_uchar_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'uchar.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_uchar_h fi NEXT_AS_FIRST_DIRECTIVE_UCHAR_H=$gl_next_as_first_directive if test $ac_cv_header_uchar_h = yes; then HAVE_UCHAR_H=1 else HAVE_UCHAR_H=0 fi CXX_HAS_UCHAR_TYPES=0 if test $HAVE_UCHAR_H = 0; then if test "$CXX" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler predefines the types" >&5 printf %s "checking whether the C++ compiler predefines the types... " >&6; } if test ${gl_cv_cxx_has_uchar_types+y} then : printf %s "(cached) " >&6 else case e in #( e) cat > conftest.cpp <<\EOF #include char16_t a; char32_t b; EOF gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5 (eval $gl_command) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then gl_cv_cxx_has_uchar_types=yes else gl_cv_cxx_has_uchar_types=no fi rm -fr conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cxx_has_uchar_types" >&5 printf "%s\n" "$gl_cv_cxx_has_uchar_types" >&6; } if test $gl_cv_cxx_has_uchar_types = yes; then CXX_HAS_UCHAR_TYPES=1 fi fi fi CXX_HAS_CHAR8_TYPE=0 if test $HAVE_UCHAR_H = 0; then if test "$CXX" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler predefines the char8_t types" >&5 printf %s "checking whether the C++ compiler predefines the char8_t types... " >&6; } if test ${gl_cv_cxx_has_char8_type+y} then : printf %s "(cached) " >&6 else case e in #( e) cat > conftest.cpp <<\EOF #include char8_t a; EOF gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5 (eval $gl_command) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then gl_cv_cxx_has_char8_type=yes else gl_cv_cxx_has_char8_type=no fi rm -fr conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cxx_has_char8_type" >&5 printf "%s\n" "$gl_cv_cxx_has_char8_type" >&6; } if test $gl_cv_cxx_has_char8_type = yes; then CXX_HAS_CHAR8_TYPE=1 fi fi fi for gltype in wchar_t ; do { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 printf %s "checking for bit size of $gltype... " >&6; } if eval test \${gl_cv_bitsizeof_${gltype}+y} then : printf %s "(cached) " >&6 else case e in #( e) if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " #include #include #if HAVE_WCHAR_H # include #endif #include " then : else case e in #( e) result=unknown ;; esac fi eval gl_cv_bitsizeof_${gltype}=\$result ;; esac fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h eval BITSIZEOF_${GLTYPE}=\$result done if test $BITSIZEOF_WCHAR_T -lt 32; then SMALL_WCHAR_T=1 else SMALL_WCHAR_T=0 fi HAVE_BTOWC=1; HAVE_MBSINIT=1; HAVE_MBRTOWC=1; HAVE_MBRLEN=1; HAVE_MBSRTOWCS=1; HAVE_MBSNRTOWCS=1; HAVE_WCRTOMB=1; HAVE_WCSRTOMBS=1; HAVE_WCSNRTOMBS=1; HAVE_WMEMCHR=1; HAVE_WMEMCMP=1; HAVE_WMEMCPY=1; HAVE_WMEMMOVE=1; HAVE_WMEMPCPY=1; HAVE_WMEMSET=1; HAVE_WCSLEN=1; HAVE_WCSNLEN=1; HAVE_WCSCPY=1; HAVE_WCPCPY=1; HAVE_WCSNCPY=1; HAVE_WCPNCPY=1; HAVE_WCSCAT=1; HAVE_WCSNCAT=1; HAVE_WCSCMP=1; HAVE_WCSNCMP=1; HAVE_WCSCASECMP=1; HAVE_WCSNCASECMP=1; HAVE_WCSCOLL=1; HAVE_WCSXFRM=1; HAVE_WCSDUP=1; HAVE_WCSCHR=1; HAVE_WCSRCHR=1; HAVE_WCSCSPN=1; HAVE_WCSSPN=1; HAVE_WCSPBRK=1; HAVE_WCSSTR=1; HAVE_WCSTOK=1; HAVE_WCSWIDTH=1; HAVE_WCSFTIME=1; HAVE_DECL_WCTOB=1; HAVE_DECL_WCSDUP=1; HAVE_DECL_WCWIDTH=1; REPLACE_MBSTATE_T=0; REPLACE_BTOWC=0; REPLACE_WCTOB=0; REPLACE_MBSINIT=0; REPLACE_MBRTOWC=0; REPLACE_MBRLEN=0; REPLACE_MBSRTOWCS=0; REPLACE_MBSNRTOWCS=0; REPLACE_WCRTOMB=0; REPLACE_WCSRTOMBS=0; REPLACE_WCSNRTOMBS=0; REPLACE_WCWIDTH=0; REPLACE_WCSWIDTH=0; REPLACE_WCSFTIME=0; REPLACE_WCSCMP=0; REPLACE_WCSNCAT=0; REPLACE_WCSNCMP=0; REPLACE_WCSSTR=0; REPLACE_WCSTOK=0; REPLACE_WMEMCMP=0; REPLACE_WMEMPCPY=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 printf %s "checking for mbstate_t... " >&6; } if test ${ac_cv_type_mbstate_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default #include int main (void) { mbstate_t x; return sizeof x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_type_mbstate_t=yes else case e in #( e) ac_cv_type_mbstate_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 printf "%s\n" "$ac_cv_type_mbstate_t" >&6; } if test $ac_cv_type_mbstate_t = yes; then printf "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h else printf "%s\n" "#define mbstate_t int" >>confdefs.h fi ac_func= for ac_item in $ac_func_c_list do if test $ac_func; then ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then echo "#define $ac_item 1" >> confdefs.h fi ac_func= else ac_func=$ac_item fi done { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 printf %s "checking for nl_langinfo and CODESET... " >&6; } if test ${am_cv_langinfo_codeset+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { char* cs = nl_langinfo(CODESET); return !cs; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : am_cv_langinfo_codeset=yes else case e in #( e) am_cv_langinfo_codeset=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 printf "%s\n" "$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then printf "%s\n" "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 printf %s "checking for a traditional japanese locale... " >&6; } if test ${gt_cv_locale_ja+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 10 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 printf "%s\n" "$gt_cv_locale_ja" >&6; } LOCALE_JA=$gt_cv_locale_ja case $LOCALE_JA in #( '' | *[[:space:]\"\$\'*[]*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_JA\"; assuming \"none\"" >&5 printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_JA\"; assuming \"none\"" >&2;} LOCALE_JA=none;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an english Unicode locale" >&5 printf %s "checking for an english Unicode locale... " >&6; } if test ${gt_cv_locale_en_utf8+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in *-musl* | midipix*) gt_cv_locale_en_utf8=en_US.UTF-8 ;; *) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is "UTF-8" or equivalent. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (!(strcmp (cs, "UTF-8") == 0 || strcmp (cs, "UTF8") == 0 || strcmp (cs, "utf-8") == 0 || strcmp (cs, "utf8") == 0)) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check the third month name. */ t.tm_year = 1975 - 1900; t.tm_mon = 3 - 1; t.tm_mday = 24; if (strftime (buf, sizeof (buf), "%B", &t) < 5 || strcmp (buf, "March") != 0) return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a dot. */ if (localeconv () ->decimal_point[0] != '.') return 1; #endif return 0; } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. if (LC_ALL='English_United States.65001' LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8='English_United States.65001' else # None found. gt_cv_locale_en_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name with explicit encoding suffix first # (this is necessary on Haiku). if (LC_ALL=en_US.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8=en_US.UTF-8 else # Test for the locale name without encoding suffix. if (LC_ALL=en_US LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8=en_US else # Test for the Solaris 10 locale name. if (LC_ALL=en.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8=en.UTF-8 else # None found. gt_cv_locale_en_utf8=none fi fi fi ;; esac fi rm -fr conftest* ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_en_utf8" >&5 printf "%s\n" "$gt_cv_locale_en_utf8" >&6; } LOCALE_EN_UTF8="$gt_cv_locale_en_utf8" case "$LOCALE_EN_UTF8" in #( '' | *[\"\$\'*[]*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_EN_UTF8\"; assuming \"none\"" >&5 printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_EN_UTF8\"; assuming \"none\"" >&2;} LOCALE_EN_UTF8=none;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 printf %s "checking for a transitional chinese locale... " >&6; } if test ${gt_cv_locale_zh_CN+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; /* Check whether mbrtowc accept this character one byte at a time. This excludes NetBSD 10.0. */ if (sizeof (wchar_t) > 2) { wchar_t wc; mbstate_t state; memset (&state, 0, sizeof (state)); if (!(mbrtowc (&wc, "\203", 1, &state) == (size_t)(-2) && mbrtowc (&wc, "\062", 1, &state) == (size_t)(-2) && mbrtowc (&wc, "\332", 1, &state) == (size_t)(-2) && mbrtowc (&wc, "\066", 1, &state) == 1)) return 1; } return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 printf "%s\n" "$gt_cv_locale_zh_CN" >&6; } LOCALE_ZH_CN=$gt_cv_locale_zh_CN case $LOCALE_ZH_CN in #( '' | *[[:space:]\"\$\'*[]*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_ZH_CN\"; assuming \"none\"" >&5 printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_ZH_CN\"; assuming \"none\"" >&2;} LOCALE_ZH_CN=none;; esac if case "$host_os" in mingw* | windows*) true ;; *) test $ac_cv_func_mbsinit = yes ;; esac \ && test $ac_cv_func_mbrtowc = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 printf %s "checking whether mbrtowc handles incomplete characters... " >&6; } if test ${gl_cv_func_mbrtowc_incomplete_state+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on AIX and OSF/1. aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac if test $LOCALE_JA != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_incomplete_state=yes else case e in #( e) gl_cv_func_mbrtowc_incomplete_state=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi else if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { const char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_incomplete_state=yes else case e in #( e) gl_cv_func_mbrtowc_incomplete_state=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 printf %s "checking whether mbrtowc works as well as mbtowc... " >&6; } if test ${gl_cv_func_mbrtowc_sanitycheck+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on Solaris 8. solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { /* This fails on Solaris 8: mbrtowc returns 2, and sets wc to 0x00F0. mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 6, &state) != 4 && mbtowc (&wc, input + 3, 6) == 4) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_sanitycheck=yes else case e in #( e) gl_cv_func_mbrtowc_sanitycheck=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; } REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac case "$gl_cv_func_mbrtowc_sanitycheck" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac else REPLACE_MBSTATE_T=1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_save_CFLAGS=$CFLAGS ac_cv_c_undeclared_builtin_options='cannot detect' for ac_arg in '' -fno-builtin; do CFLAGS="$ac_save_CFLAGS $ac_arg" # This test program should *not* compile successfully. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { (void) strchr; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) # This test program should compile successfully. # No library function is consistently available on # freestanding implementations, so test against a dummy # declaration. Include always-available headers on the # off chance that they somehow elicit warnings. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include extern void ac_decl (int, char *); int main (void) { (void) ac_decl (0, (char *) 0); (void) ac_decl; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : if test x"$ac_arg" = x then : ac_cv_c_undeclared_builtin_options='none needed' else case e in #( e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; esac fi break fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done CFLAGS=$ac_save_CFLAGS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } case $ac_cv_c_undeclared_builtin_options in #( 'cannot detect') : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot make $CC report undeclared builtins See 'config.log' for more details" "$LINENO" 5; } ;; #( 'none needed') : ac_c_undeclared_builtin_options='' ;; #( *) : ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; esac ac_fn_check_decl "$LINENO" "mbrtoc32" "ac_cv_have_decl_mbrtoc32" "#ifdef __HAIKU__ #include #endif #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_mbrtoc32" = xyes then : fi if test $ac_cv_have_decl_mbrtoc32 = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbrtoc32" >&5 printf %s "checking for mbrtoc32... " >&6; } if test ${gl_cv_func_mbrtoc32+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __HAIKU__ #include #endif #include int main (void) { char32_t c; return mbrtoc32 (&c, "", 1, NULL) == 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_mbrtoc32=yes else case e in #( e) gl_cv_func_mbrtoc32=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32" >&5 printf "%s\n" "$gl_cv_func_mbrtoc32" >&6; } else gl_cv_func_mbrtoc32=no fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 printf %s "checking for a traditional french locale... " >&6; } if test ${gt_cv_locale_fr+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale and on Haiku in the fr_FR.UTF-8 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } _ACEOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 10 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 printf "%s\n" "$gt_cv_locale_fr" >&6; } LOCALE_FR=$gt_cv_locale_fr case $LOCALE_FR in #( '' | *[[:space:]\"\$\'*[]*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid locale \"$LOCALE_FR\"; assuming \"none\"" >&5 printf "%s\n" "$as_me: WARNING: invalid locale \"$LOCALE_FR\"; assuming \"none\"" >&2;} LOCALE_FR=none;; esac if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_mbrtoc32 = no; then HAVE_WORKING_MBRTOC32=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtoc32 works as well as mbrtowc" >&5 printf %s "checking whether mbrtoc32 works as well as mbrtowc... " >&6; } if test ${gl_cv_func_mbrtoc32_sanitycheck+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on FreeBSD, Solaris, native Windows. freebsd* | midnightbsd* | solaris* | mingw* | windows*) gl_cv_func_mbrtoc32_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtoc32_sanitycheck="guessing yes" ;; esac if test $LOCALE_FR != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #ifdef __HAIKU__ #include #endif #include int main () { int result = 0; /* This fails on native Windows: mbrtoc32 returns (size_t)-1. mbrtowc returns 1 (correct). */ if (strcmp ("$LOCALE_FR", "none") != 0 && setlocale (LC_ALL, "$LOCALE_FR") != NULL) { mbstate_t state; wchar_t wc = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\374", 1, &state) == 1) { char32_t c32 = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtoc32 (&c32, "\374", 1, &state) != 1) result |= 1; } } /* This fails on FreeBSD 13.0 and Solaris 11.4: mbrtoc32 returns (size_t)-2 or (size_t)-1. mbrtowc returns 4 (correct). */ if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\224\071\375\067", 4, &state) == 4) { char32_t c32 = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtoc32 (&c32, "\224\071\375\067", 4, &state) != 4) result |= 2; } } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtoc32_sanitycheck=yes else case e in #( e) gl_cv_func_mbrtoc32_sanitycheck=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32_sanitycheck" >&5 printf "%s\n" "$gl_cv_func_mbrtoc32_sanitycheck" >&6; } case "$gl_cv_func_mbrtoc32_sanitycheck" in *yes) HAVE_WORKING_MBRTOC32=1 printf "%s\n" "#define HAVE_WORKING_MBRTOC32 1" >>confdefs.h ;; *) HAVE_WORKING_MBRTOC32=0 ;; esac fi ac_fn_check_decl "$LINENO" "c32rtomb" "ac_cv_have_decl_c32rtomb" "#ifdef __HAIKU__ #include #endif #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_c32rtomb" = xyes then : fi if test $ac_cv_have_decl_c32rtomb = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for c32rtomb" >&5 printf %s "checking for c32rtomb... " >&6; } if test ${gl_cv_func_c32rtomb+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __HAIKU__ #include #endif #include int main (void) { char buf[8]; return c32rtomb (buf, 0, NULL) == 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_c32rtomb=yes else case e in #( e) gl_cv_func_c32rtomb=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb" >&5 printf "%s\n" "$gl_cv_func_c32rtomb" >&6; } else gl_cv_func_c32rtomb=no fi if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_c32rtomb = no; then HAVE_WORKING_C32RTOMB=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether c32rtomb works as well as wcrtomb" >&5 printf %s "checking whether c32rtomb works as well as wcrtomb... " >&6; } if test ${gl_cv_func_c32rtomb_sanitycheck+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on Solaris derivatives. solaris*) if test -f /etc/release && grep 'Oracle Solaris' /etc/release >/dev/null; then gl_cv_func_c32rtomb_sanitycheck="guessing yes" else gl_cv_func_c32rtomb_sanitycheck="guessing no" fi ;; # Guess yes otherwise. *) gl_cv_func_c32rtomb_sanitycheck="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #ifdef __HAIKU__ #include #endif #include int main () { int result = 0; /* This fails on Solaris 11 OmniOS: c32rtomb returns (size_t)-1. wcrtomb returns 4 (correct). */ if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc = (wchar_t) 0xBADFACE; char buf[16]; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\201\060\211\070", 4, &state) == 4 && wcrtomb (buf, wc, NULL) == 4 && memcmp (buf, "\201\060\211\070", 4) == 0) { char32_t c32 = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtoc32 (&c32, "\201\060\211\070", 4, &state) == 4 && c32rtomb (buf, c32, NULL) != 4) result |= 1; } } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_c32rtomb_sanitycheck=yes else case e in #( e) gl_cv_func_c32rtomb_sanitycheck=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c32rtomb_sanitycheck" >&5 printf "%s\n" "$gl_cv_func_c32rtomb_sanitycheck" >&6; } case "$gl_cv_func_c32rtomb_sanitycheck" in *yes) HAVE_WORKING_C32RTOMB=1 printf "%s\n" "#define HAVE_WORKING_C32RTOMB 1" >>confdefs.h ;; *) HAVE_WORKING_C32RTOMB=0 ;; esac fi GL_GNULIB_BTOC32=0 GL_GNULIB_C32ISALNUM=0 GL_GNULIB_C32ISALPHA=0 GL_GNULIB_C32ISBLANK=0 GL_GNULIB_C32ISCNTRL=0 GL_GNULIB_C32ISDIGIT=0 GL_GNULIB_C32ISGRAPH=0 GL_GNULIB_C32ISLOWER=0 GL_GNULIB_C32ISPRINT=0 GL_GNULIB_C32ISPUNCT=0 GL_GNULIB_C32ISSPACE=0 GL_GNULIB_C32ISUPPER=0 GL_GNULIB_C32ISXDIGIT=0 GL_GNULIB_C32TOLOWER=0 GL_GNULIB_C32TOUPPER=0 GL_GNULIB_C32WIDTH=0 GL_GNULIB_C32RTOMB=0 GL_GNULIB_C32SNRTOMBS=0 GL_GNULIB_C32SRTOMBS=0 GL_GNULIB_C32STOMBS=0 GL_GNULIB_C32SWIDTH=0 GL_GNULIB_C32TOB=0 GL_GNULIB_C32_APPLY_MAPPING=0 GL_GNULIB_C32_APPLY_TYPE_TEST=0 GL_GNULIB_C32_GET_MAPPING=0 GL_GNULIB_C32_GET_TYPE_TEST=0 GL_GNULIB_MBRTOC16=0 GL_GNULIB_MBRTOC32=0 GL_GNULIB_MBSNRTOC32S=0 GL_GNULIB_MBSRTOC32S=0 GL_GNULIB_MBSTOC32S=0 HAVE__EXIT=1; HAVE_ALIGNED_ALLOC=1; HAVE_ATOLL=1; HAVE_CANONICALIZE_FILE_NAME=1; HAVE_DECL_ECVT=1; HAVE_DECL_FCVT=1; HAVE_DECL_GCVT=1; HAVE_DECL_GETLOADAVG=1; HAVE_DECL_PROGRAM_INVOCATION_NAME=1; HAVE_GETPROGNAME=1; HAVE_GETSUBOPT=1; HAVE_GRANTPT=1; HAVE_INITSTATE=1; HAVE_DECL_INITSTATE=1; HAVE_MBTOWC=1; HAVE_MKDTEMP=1; HAVE_MKOSTEMP=1; HAVE_MKOSTEMPS=1; HAVE_MKSTEMP=1; HAVE_MKSTEMPS=1; HAVE_POSIX_MEMALIGN=1; HAVE_POSIX_OPENPT=1; HAVE_PTSNAME=1; HAVE_PTSNAME_R=1; HAVE_QSORT_R=1; HAVE_RANDOM=1; HAVE_RANDOM_H=1; HAVE_RANDOM_R=1; HAVE_REALLOCARRAY=1; HAVE_REALPATH=1; HAVE_RPMATCH=1; HAVE_SECURE_GETENV=1; HAVE_SETENV=1; HAVE_DECL_SETENV=1; HAVE_SETSTATE=1; HAVE_DECL_SETSTATE=1; HAVE_STRTOD=1; HAVE_STRTOF=1; HAVE_STRTOL=1; HAVE_STRTOLD=1; HAVE_STRTOLL=1; HAVE_STRTOUL=1; HAVE_STRTOULL=1; HAVE_STRUCT_RANDOM_DATA=1; HAVE_SYS_LOADAVG_H=0; HAVE_UNLOCKPT=1; HAVE_DECL_UNSETENV=1; REPLACE__EXIT=0; REPLACE_ABORT=0; REPLACE_ALIGNED_ALLOC=0; REPLACE_CALLOC_FOR_CALLOC_GNU=0; REPLACE_CALLOC_FOR_CALLOC_POSIX=0; REPLACE_CANONICALIZE_FILE_NAME=0; REPLACE_FREE=0; REPLACE_GETLOADAVG=0; REPLACE_GETPROGNAME=0; REPLACE_GETSUBOPT=0; REPLACE_INITSTATE=0; REPLACE_MALLOC_FOR_MALLOC_GNU=0; REPLACE_MALLOC_FOR_MALLOC_POSIX=0; REPLACE_MB_CUR_MAX=0; REPLACE_MBSTOWCS=0; REPLACE_MBTOWC=0; REPLACE_MKOSTEMP=0; REPLACE_MKOSTEMPS=0; REPLACE_MKSTEMP=0; REPLACE_POSIX_MEMALIGN=0; REPLACE_POSIX_OPENPT=0; REPLACE_PTSNAME=0; REPLACE_PTSNAME_R=0; REPLACE_PUTENV=0; REPLACE_QSORT_R=0; REPLACE_RAND=0; REPLACE_RANDOM=0; REPLACE_RANDOM_R=0; REPLACE_REALLOC_FOR_REALLOC_POSIX=0; REPLACE_REALLOCARRAY=0; REPLACE_REALPATH=0; REPLACE_SETENV=0; REPLACE_SETSTATE=0; REPLACE_STRTOD=0; REPLACE_STRTOF=0; REPLACE_STRTOL=0; REPLACE_STRTOLD=0; REPLACE_STRTOLL=0; REPLACE_STRTOUL=0; REPLACE_STRTOULL=0; REPLACE_UNSETENV=0; REPLACE_WCTOMB=0; CAN_PRINT_STACK_TRACE=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc is ptrdiff_t safe" >&5 printf %s "checking whether malloc is ptrdiff_t safe... " >&6; } if test ${gl_cv_malloc_ptrdiff+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { /* 64-bit ptrdiff_t is so wide that no practical platform can exceed it. */ #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) /* On rare machines where size_t fits in ptrdiff_t there is no problem. */ #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) /* glibc 2.30 and later malloc refuses to exceed ptrdiff_t bounds even on 32-bit platforms. We don't know which non-glibc systems are safe. */ #define KNOWN_SAFE (2 < __GLIBC__ + (30 <= __GLIBC_MINOR__)) #if WIDE_PTRDIFF || NARROW_SIZE || KNOWN_SAFE return 0; #else #error "malloc might not be ptrdiff_t safe" syntax error #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_malloc_ptrdiff=yes else case e in #( e) gl_cv_malloc_ptrdiff=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_malloc_ptrdiff" >&5 printf "%s\n" "$gl_cv_malloc_ptrdiff" >&6; } if test "$gl_cv_malloc_ptrdiff" = yes then : printf "%s\n" "#define HAVE_MALLOC_PTRDIFF 1" >>confdefs.h else case e in #( e) REPLACE_MALLOC_FOR_MALLOC_POSIX=1 ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc set errno on failure" >&5 printf %s "checking whether malloc, realloc, calloc set errno on failure... " >&6; } if test ${gl_cv_func_malloc_posix+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef _UCRT msvcrt yuck #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_malloc_posix="guessing yes" else case e in #( e) gl_cv_func_malloc_posix="guessing no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; irix* | solaris*) gl_cv_func_malloc_posix=no ;; *) gl_cv_func_malloc_posix=yes ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 printf "%s\n" "$gl_cv_func_malloc_posix" >&6; } case "$gl_cv_func_malloc_posix" in *yes) printf "%s\n" "#define HAVE_MALLOC_POSIX 1" >>confdefs.h ;; *) REPLACE_MALLOC_FOR_MALLOC_POSIX=1 ;; esac REPLACE_CALLOC_FOR_CALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX GL_GNULIB__EXIT=0 GL_GNULIB_ABORT_DEBUG=0 GL_GNULIB_ALIGNED_ALLOC=0 GL_GNULIB_ATOLL=0 GL_GNULIB_CALLOC_GNU=0 GL_GNULIB_CALLOC_POSIX=0 GL_GNULIB_CANONICALIZE_FILE_NAME=0 GL_GNULIB_FREE_POSIX=0 GL_GNULIB_GETLOADAVG=0 GL_GNULIB_GETPROGNAME=0 GL_GNULIB_GETSUBOPT=0 GL_GNULIB_GRANTPT=0 GL_GNULIB_MALLOC_GNU=0 GL_GNULIB_MALLOC_POSIX=0 GL_GNULIB_MBSTOWCS=0 GL_GNULIB_MBTOWC=0 GL_GNULIB_MKDTEMP=0 GL_GNULIB_MKOSTEMP=0 GL_GNULIB_MKOSTEMPS=0 GL_GNULIB_MKSTEMP=0 GL_GNULIB_MKSTEMPS=0 GL_GNULIB_POSIX_MEMALIGN=0 GL_GNULIB_POSIX_OPENPT=0 GL_GNULIB_PTSNAME=0 GL_GNULIB_PTSNAME_R=0 GL_GNULIB_PUTENV=0 GL_GNULIB_QSORT_R=0 GL_GNULIB_RAND=0 GL_GNULIB_RANDOM=0 GL_GNULIB_RANDOM_R=0 GL_GNULIB_REALLOCARRAY=0 GL_GNULIB_REALLOC_POSIX=0 GL_GNULIB_REALPATH=0 GL_GNULIB_RPMATCH=0 GL_GNULIB_SECURE_GETENV=0 GL_GNULIB_SETENV=0 GL_GNULIB_STACK_TRACE=0 GL_GNULIB_STRTOD=0 GL_GNULIB_STRTOF=0 GL_GNULIB_STRTOL=0 GL_GNULIB_STRTOLD=0 GL_GNULIB_STRTOLL=0 GL_GNULIB_STRTOUL=0 GL_GNULIB_STRTOULL=0 GL_GNULIB_SYSTEM_POSIX=0 GL_GNULIB_UNLOCKPT=0 GL_GNULIB_UNSETENV=0 GL_GNULIB_WCTOMB=0 GL_GNULIB_MDA_ECVT=1 GL_GNULIB_MDA_FCVT=1 GL_GNULIB_MDA_GCVT=1 GL_GNULIB_MDA_MKTEMP=1 GL_GNULIB_MDA_PUTENV=1 HAVE_ACOSF=1; HAVE_ACOSL=1; HAVE_ASINF=1; HAVE_ASINL=1; HAVE_ATANF=1; HAVE_ATANL=1; HAVE_ATAN2F=1; HAVE_CBRT=1; HAVE_CBRTF=1; HAVE_CBRTL=1; HAVE_COPYSIGN=1; HAVE_COPYSIGNL=1; HAVE_COSF=1; HAVE_COSL=1; HAVE_COSHF=1; HAVE_EXPF=1; HAVE_EXPL=1; HAVE_EXPM1=1; HAVE_EXPM1F=1; HAVE_FABSF=1; HAVE_FABSL=1; HAVE_FMA=1; HAVE_FMAF=1; HAVE_FMAL=1; HAVE_FMODF=1; HAVE_FMODL=1; HAVE_FREXPF=1; HAVE_GETPAYLOAD=1; HAVE_GETPAYLOADF=1; HAVE_GETPAYLOADL=1; HAVE_HYPOTF=1; HAVE_HYPOTL=1; HAVE_ILOGB=1; HAVE_ILOGBF=1; HAVE_ILOGBL=1; HAVE_ISNANF=1; HAVE_ISNAND=1; HAVE_ISNANL=1; HAVE_LDEXPF=1; HAVE_LOGF=1; HAVE_LOGL=1; HAVE_LOG10F=1; HAVE_LOG10L=1; HAVE_LOG1P=1; HAVE_LOG1PF=1; HAVE_LOG1PL=1; HAVE_LOGBF=1; HAVE_LOGBL=1; HAVE_LOGP1=1; HAVE_LOGP1F=1; HAVE_LOGP1L=1; HAVE_MODFF=1; HAVE_MODFL=1; HAVE_POWF=1; HAVE_REMAINDER=1; HAVE_REMAINDERF=1; HAVE_RINT=1; HAVE_RINTL=1; HAVE_SETPAYLOAD=1; HAVE_SETPAYLOADF=1; HAVE_SETPAYLOADL=1; HAVE_SETPAYLOADSIG=1; HAVE_SETPAYLOADSIGF=1; HAVE_SETPAYLOADSIGL=1; HAVE_SINF=1; HAVE_SINL=1; HAVE_SINHF=1; HAVE_SQRTF=1; HAVE_SQRTL=1; HAVE_TANF=1; HAVE_TANL=1; HAVE_TANHF=1; HAVE_TOTALORDER=1; HAVE_TOTALORDERF=1; HAVE_TOTALORDERL=1; HAVE_TOTALORDERMAG=1; HAVE_TOTALORDERMAGF=1; HAVE_TOTALORDERMAGL=1; HAVE_DECL_ACOSL=1; HAVE_DECL_ASINL=1; HAVE_DECL_ATANL=1; HAVE_DECL_CBRTF=1; HAVE_DECL_CBRTL=1; HAVE_DECL_CEILF=1; HAVE_DECL_CEILL=1; HAVE_DECL_COPYSIGNF=1; HAVE_DECL_COSL=1; HAVE_DECL_EXPL=1; HAVE_DECL_EXP2=1; HAVE_DECL_EXP2F=1; HAVE_DECL_EXP2L=1; HAVE_DECL_EXPM1L=1; HAVE_DECL_FLOORF=1; HAVE_DECL_FLOORL=1; HAVE_DECL_FREXPL=1; HAVE_DECL_LDEXPL=1; HAVE_DECL_LOGL=1; HAVE_DECL_LOG10L=1; HAVE_DECL_LOG2=1; HAVE_DECL_LOG2F=1; HAVE_DECL_LOG2L=1; HAVE_DECL_LOGB=1; HAVE_DECL_REMAINDER=1; HAVE_DECL_REMAINDERL=1; HAVE_DECL_RINTF=1; HAVE_DECL_ROUND=1; HAVE_DECL_ROUNDF=1; HAVE_DECL_ROUNDL=1; HAVE_DECL_SINL=1; HAVE_DECL_SQRTL=1; HAVE_DECL_TANL=1; HAVE_DECL_TRUNC=1; HAVE_DECL_TRUNCF=1; HAVE_DECL_TRUNCL=1; REPLACE_ACOSF=0; REPLACE_ASINF=0; REPLACE_ATANF=0; REPLACE_ATAN2F=0; REPLACE_CBRTF=0; REPLACE_CBRTL=0; REPLACE_CEIL=0; REPLACE_CEILF=0; REPLACE_CEILL=0; REPLACE_COSF=0; REPLACE_COSHF=0; REPLACE_EXPF=0; REPLACE_EXPL=0; REPLACE_EXPM1=0; REPLACE_EXPM1F=0; REPLACE_EXPM1L=0; REPLACE_EXP2=0; REPLACE_EXP2L=0; REPLACE_FABSL=0; REPLACE_FLOOR=0; REPLACE_FLOORF=0; REPLACE_FLOORL=0; REPLACE_FMA=0; REPLACE_FMAF=0; REPLACE_FMAL=0; REPLACE_FMOD=0; REPLACE_FMODF=0; REPLACE_FMODL=0; REPLACE_FREXPF=0; REPLACE_FREXP=0; REPLACE_FREXPL=0; REPLACE_GETPAYLOAD=0; REPLACE_GETPAYLOADF=0; REPLACE_GETPAYLOADL=0; REPLACE_HUGE_VAL=0; REPLACE_HYPOT=0; REPLACE_HYPOTF=0; REPLACE_HYPOTL=0; REPLACE_ILOGB=0; REPLACE_ILOGBF=0; REPLACE_ILOGBL=0; REPLACE_ISFINITE=0; REPLACE_ISINF=0; REPLACE_ISNAN=0; REPLACE_LDEXP=0; REPLACE_LDEXPL=0; REPLACE_LOG=0; REPLACE_LOGF=0; REPLACE_LOGL=0; REPLACE_LOG10=0; REPLACE_LOG10F=0; REPLACE_LOG10L=0; REPLACE_LOG1P=0; REPLACE_LOG1PF=0; REPLACE_LOG1PL=0; REPLACE_LOG2=0; REPLACE_LOG2F=0; REPLACE_LOG2L=0; REPLACE_LOGB=0; REPLACE_LOGBF=0; REPLACE_LOGBL=0; REPLACE_MODF=0; REPLACE_MODFF=0; REPLACE_MODFL=0; REPLACE_NAN=0; REPLACE_REMAINDER=0; REPLACE_REMAINDERF=0; REPLACE_REMAINDERL=0; REPLACE_RINTL=0; REPLACE_ROUND=0; REPLACE_ROUNDF=0; REPLACE_ROUNDL=0; REPLACE_SIGNBIT=0; REPLACE_SIGNBIT_USING_BUILTINS=0; REPLACE_SINF=0; REPLACE_SINHF=0; REPLACE_SQRTF=0; REPLACE_SQRTL=0; REPLACE_TANF=0; REPLACE_TANHF=0; REPLACE_TOTALORDER=0; REPLACE_TOTALORDERF=0; REPLACE_TOTALORDERL=0; REPLACE_TOTALORDERMAG=0; REPLACE_TOTALORDERMAGF=0; REPLACE_TOTALORDERMAGL=0; REPLACE_TRUNC=0; REPLACE_TRUNCF=0; REPLACE_TRUNCL=0; GL_GNULIB_ACOSF=0 GL_GNULIB_ACOSL=0 GL_GNULIB_ASINF=0 GL_GNULIB_ASINL=0 GL_GNULIB_ATANF=0 GL_GNULIB_ATANL=0 GL_GNULIB_ATAN2F=0 GL_GNULIB_CBRT=0 GL_GNULIB_CBRTF=0 GL_GNULIB_CBRTL=0 GL_GNULIB_CEIL=0 GL_GNULIB_CEILF=0 GL_GNULIB_CEILL=0 GL_GNULIB_COPYSIGN=0 GL_GNULIB_COPYSIGNF=0 GL_GNULIB_COPYSIGNL=0 GL_GNULIB_COSF=0 GL_GNULIB_COSL=0 GL_GNULIB_COSHF=0 GL_GNULIB_EXPF=0 GL_GNULIB_EXPL=0 GL_GNULIB_EXP2=0 GL_GNULIB_EXP2F=0 GL_GNULIB_EXP2L=0 GL_GNULIB_EXPM1=0 GL_GNULIB_EXPM1F=0 GL_GNULIB_EXPM1L=0 GL_GNULIB_FABSF=0 GL_GNULIB_FABSL=0 GL_GNULIB_FLOOR=0 GL_GNULIB_FLOORF=0 GL_GNULIB_FLOORL=0 GL_GNULIB_FMA=0 GL_GNULIB_FMAF=0 GL_GNULIB_FMAL=0 GL_GNULIB_FMOD=0 GL_GNULIB_FMODF=0 GL_GNULIB_FMODL=0 GL_GNULIB_FREXPF=0 GL_GNULIB_FREXP=0 GL_GNULIB_FREXPL=0 GL_GNULIB_GETPAYLOAD=0 GL_GNULIB_GETPAYLOADF=0 GL_GNULIB_GETPAYLOADL=0 GL_GNULIB_HYPOT=0 GL_GNULIB_HYPOTF=0 GL_GNULIB_HYPOTL=0 GL_GNULIB_ILOGB=0 GL_GNULIB_ILOGBF=0 GL_GNULIB_ILOGBL=0 GL_GNULIB_ISFINITE=0 GL_GNULIB_ISINF=0 GL_GNULIB_ISNAN=0 GL_GNULIB_ISNANF=0 GL_GNULIB_ISNAND=0 GL_GNULIB_ISNANL=0 GL_GNULIB_LDEXP=0 GL_GNULIB_LDEXPF=0 GL_GNULIB_LDEXPL=0 GL_GNULIB_LOG=0 GL_GNULIB_LOGF=0 GL_GNULIB_LOGL=0 GL_GNULIB_LOG10=0 GL_GNULIB_LOG10F=0 GL_GNULIB_LOG10L=0 GL_GNULIB_LOG1P=0 GL_GNULIB_LOG1PF=0 GL_GNULIB_LOG1PL=0 GL_GNULIB_LOG2=0 GL_GNULIB_LOG2F=0 GL_GNULIB_LOG2L=0 GL_GNULIB_LOGB=0 GL_GNULIB_LOGBF=0 GL_GNULIB_LOGBL=0 GL_GNULIB_LOGP1=0 GL_GNULIB_LOGP1F=0 GL_GNULIB_LOGP1L=0 GL_GNULIB_MODF=0 GL_GNULIB_MODFF=0 GL_GNULIB_MODFL=0 GL_GNULIB_POWF=0 GL_GNULIB_REMAINDER=0 GL_GNULIB_REMAINDERF=0 GL_GNULIB_REMAINDERL=0 GL_GNULIB_RINT=0 GL_GNULIB_RINTF=0 GL_GNULIB_RINTL=0 GL_GNULIB_ROUND=0 GL_GNULIB_ROUNDF=0 GL_GNULIB_ROUNDL=0 GL_GNULIB_SETPAYLOAD=0 GL_GNULIB_SETPAYLOADF=0 GL_GNULIB_SETPAYLOADL=0 GL_GNULIB_SETPAYLOADSIG=0 GL_GNULIB_SETPAYLOADSIGF=0 GL_GNULIB_SETPAYLOADSIGL=0 GL_GNULIB_SIGNBIT=0 GL_GNULIB_SINF=0 GL_GNULIB_SINL=0 GL_GNULIB_SINHF=0 GL_GNULIB_SQRTF=0 GL_GNULIB_SQRTL=0 GL_GNULIB_TANF=0 GL_GNULIB_TANL=0 GL_GNULIB_TANHF=0 GL_GNULIB_TOTALORDER=0 GL_GNULIB_TOTALORDERF=0 GL_GNULIB_TOTALORDERL=0 GL_GNULIB_TOTALORDERMAG=0 GL_GNULIB_TOTALORDERMAGF=0 GL_GNULIB_TOTALORDERMAGL=0 GL_GNULIB_TRUNC=0 GL_GNULIB_TRUNCF=0 GL_GNULIB_TRUNCL=0 GL_GNULIB_MDA_J0=1 GL_GNULIB_MDA_J1=1 GL_GNULIB_MDA_JN=1 GL_GNULIB_MDA_Y0=1 GL_GNULIB_MDA_Y1=1 GL_GNULIB_MDA_YN=1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether long double and double are the same" >&5 printf %s "checking whether long double and double are the same... " >&6; } if test ${gl_cv_long_double_equals_double+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { typedef int check[sizeof (long double) == sizeof (double) && LDBL_MANT_DIG == DBL_MANT_DIG && LDBL_MAX_EXP == DBL_MAX_EXP && LDBL_MIN_EXP == DBL_MIN_EXP ? 1 : -1]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_long_double_equals_double=yes else case e in #( e) gl_cv_long_double_equals_double=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_long_double_equals_double" >&5 printf "%s\n" "$gl_cv_long_double_equals_double" >&6; } if test $gl_cv_long_double_equals_double = yes; then printf "%s\n" "#define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1" >>confdefs.h HAVE_SAME_LONG_DOUBLE_AS_DOUBLE=1 else HAVE_SAME_LONG_DOUBLE_AS_DOUBLE=0 fi HAVE_CHOWN=1; HAVE_COPY_FILE_RANGE=1; HAVE_DUP3=1; HAVE_EUIDACCESS=1; HAVE_EXECVPE=1; HAVE_FACCESSAT=1; HAVE_FCHDIR=1; HAVE_FCHOWNAT=1; HAVE_FDATASYNC=1; HAVE_FSYNC=1; HAVE_FTRUNCATE=1; HAVE_GETDTABLESIZE=1; HAVE_GETENTROPY=1; HAVE_GETGROUPS=1; HAVE_GETHOSTNAME=1; HAVE_GETLOGIN=1; HAVE_GETPAGESIZE=1; HAVE_GETPASS=1; HAVE_GROUP_MEMBER=1; HAVE_LCHOWN=1; HAVE_LINK=1; HAVE_LINKAT=1; HAVE_PIPE=1; HAVE_PIPE2=1; HAVE_PREAD=1; HAVE_PWRITE=1; HAVE_READLINK=1; HAVE_READLINKAT=1; HAVE_SETHOSTNAME=1; HAVE_SLEEP=1; HAVE_SYMLINK=1; HAVE_SYMLINKAT=1; HAVE_UNLINKAT=1; HAVE_USLEEP=1; HAVE_DECL_ENVIRON=1; HAVE_DECL_EXECVPE=1; HAVE_DECL_FCHDIR=1; HAVE_DECL_FDATASYNC=1; HAVE_DECL_GETDOMAINNAME=1; HAVE_DECL_GETLOGIN=1; HAVE_DECL_GETLOGIN_R=1; HAVE_DECL_GETPAGESIZE=1; HAVE_DECL_GETUSERSHELL=1; HAVE_DECL_SETHOSTNAME=1; HAVE_DECL_TRUNCATE=1; HAVE_DECL_TTYNAME_R=1; HAVE_OS_H=0; HAVE_SYS_PARAM_H=0; REPLACE_ACCESS=0; REPLACE_CHOWN=0; REPLACE_CLOSE=0; REPLACE_COPY_FILE_RANGE=0; REPLACE_DUP=0; REPLACE_DUP2=0; REPLACE_DUP3=0; REPLACE_EXECL=0; REPLACE_EXECLE=0; REPLACE_EXECLP=0; REPLACE_EXECV=0; REPLACE_EXECVE=0; REPLACE_EXECVP=0; REPLACE_EXECVPE=0; REPLACE_FACCESSAT=0; REPLACE_FCHDIR=0; REPLACE_FCHOWNAT=0; REPLACE_FDATASYNC=0; REPLACE_FTRUNCATE=0; REPLACE_GETCWD=0; REPLACE_GETDOMAINNAME=0; REPLACE_GETDTABLESIZE=0; REPLACE_GETENTROPY=0; REPLACE_GETLOGIN=0; REPLACE_GETLOGIN_R=0; REPLACE_GETGROUPS=0; REPLACE_GETPAGESIZE=0; REPLACE_GETPASS=0; REPLACE_GETPASS_FOR_GETPASS_GNU=0; REPLACE_GETUSERSHELL=0; REPLACE_ISATTY=0; REPLACE_LCHOWN=0; REPLACE_LINK=0; REPLACE_LINKAT=0; REPLACE_LSEEK=0; REPLACE_PIPE2=0; REPLACE_PREAD=0; REPLACE_PWRITE=0; REPLACE_READ=0; REPLACE_READLINK=0; REPLACE_READLINKAT=0; REPLACE_RMDIR=0; REPLACE_SETHOSTNAME=0; REPLACE_SLEEP=0; REPLACE_SYMLINK=0; REPLACE_SYMLINKAT=0; REPLACE_TRUNCATE=0; REPLACE_TTYNAME_R=0; REPLACE_UNLINK=0; REPLACE_UNLINKAT=0; REPLACE_USLEEP=0; REPLACE_WRITE=0; UNISTD_H_HAVE_SYS_RANDOM_H=0; UNISTD_H_HAVE_WINSOCK2_H=0; UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 printf "%s\n" "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 fi if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi if test $ac_cv_header_sys_socket_h != yes; then ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes then : printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then REPLACE_CLOSE=1 fi GL_GNULIB_ACCESS=0 GL_GNULIB_CHDIR=0 GL_GNULIB_CHOWN=0 GL_GNULIB_CLOSE=0 GL_GNULIB_COPY_FILE_RANGE=0 GL_GNULIB_DUP=0 GL_GNULIB_DUP2=0 GL_GNULIB_DUP3=0 GL_GNULIB_ENVIRON=0 GL_GNULIB_EUIDACCESS=0 GL_GNULIB_EXECL=0 GL_GNULIB_EXECLE=0 GL_GNULIB_EXECLP=0 GL_GNULIB_EXECV=0 GL_GNULIB_EXECVE=0 GL_GNULIB_EXECVP=0 GL_GNULIB_EXECVPE=0 GL_GNULIB_FACCESSAT=0 GL_GNULIB_FCHDIR=0 GL_GNULIB_FCHOWNAT=0 GL_GNULIB_FDATASYNC=0 GL_GNULIB_FSYNC=0 GL_GNULIB_FTRUNCATE=0 GL_GNULIB_GETCWD=0 GL_GNULIB_GETDOMAINNAME=0 GL_GNULIB_GETDTABLESIZE=0 GL_GNULIB_GETENTROPY=0 GL_GNULIB_GETGROUPS=0 GL_GNULIB_GETHOSTNAME=0 GL_GNULIB_GETLOGIN=0 GL_GNULIB_GETLOGIN_R=0 GL_GNULIB_GETOPT_POSIX=0 GL_GNULIB_GETPAGESIZE=0 GL_GNULIB_GETPASS=0 GL_GNULIB_GETPASS_GNU=0 GL_GNULIB_GETUSERSHELL=0 GL_GNULIB_GROUP_MEMBER=0 GL_GNULIB_ISATTY=0 GL_GNULIB_LCHOWN=0 GL_GNULIB_LINK=0 GL_GNULIB_LINKAT=0 GL_GNULIB_LSEEK=0 GL_GNULIB_PIPE=0 GL_GNULIB_PIPE2=0 GL_GNULIB_PREAD=0 GL_GNULIB_PWRITE=0 GL_GNULIB_READ=0 GL_GNULIB_READLINK=0 GL_GNULIB_READLINKAT=0 GL_GNULIB_RMDIR=0 GL_GNULIB_SETHOSTNAME=0 GL_GNULIB_SLEEP=0 GL_GNULIB_SYMLINK=0 GL_GNULIB_SYMLINKAT=0 GL_GNULIB_TRUNCATE=0 GL_GNULIB_TTYNAME_R=0 GL_GNULIB_UNISTD_H_GETOPT=0 GL_GNULIB_UNISTD_H_NONBLOCKING=0 GL_GNULIB_UNISTD_H_SIGPIPE=0 GL_GNULIB_UNLINK=0 GL_GNULIB_UNLINKAT=0 GL_GNULIB_USLEEP=0 GL_GNULIB_WRITE=0 GL_GNULIB_MDA_ACCESS=1 GL_GNULIB_MDA_CHDIR=1 GL_GNULIB_MDA_CLOSE=1 GL_GNULIB_MDA_DUP=1 GL_GNULIB_MDA_DUP2=1 GL_GNULIB_MDA_EXECL=1 GL_GNULIB_MDA_EXECLE=1 GL_GNULIB_MDA_EXECLP=1 GL_GNULIB_MDA_EXECV=1 GL_GNULIB_MDA_EXECVE=1 GL_GNULIB_MDA_EXECVP=1 GL_GNULIB_MDA_EXECVPE=1 GL_GNULIB_MDA_GETCWD=1 GL_GNULIB_MDA_GETPID=1 GL_GNULIB_MDA_ISATTY=1 GL_GNULIB_MDA_LSEEK=1 GL_GNULIB_MDA_READ=1 GL_GNULIB_MDA_RMDIR=1 GL_GNULIB_MDA_SWAB=1 GL_GNULIB_MDA_UNLINK=1 GL_GNULIB_MDA_WRITE=1 if test "x$lispdir" = x; then lispdir='${datarootdir}/emacs/site-lisp' fi if test "x$runstatedir" = x; then runstatedir='${localstatedir}/run' fi pkgdatadir='${datadir}/${PACKAGE}' pkgincludedir='${includedir}/${PACKAGE}' pkglibdir='${libdir}/${PACKAGE}' pkglibexecdir='${libexecdir}/${PACKAGE}' gl_sed_double_backslashes='s/\\/\\\\/g' gl_sed_escape_doublequotes='s/"/\\"/g' gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g" gl_sed_escape_for_make_2='s,\$,\\$$,g' case `echo r | tr -d '\r'` in '') gl_tr_cr='\015' ;; *) gl_tr_cr='\r' ;; esac HAVE_STRUCT_SOCKADDR_STORAGE=1; HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; HAVE_ACCEPT4=1; case "$host_os" in osf*) printf "%s\n" "#define _POSIX_PII_SOCKET 1" >>confdefs.h ;; esac GL_GENERATE_SYS_SOCKET_H=false { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 printf %s "checking whether is self-contained... " >&6; } if test ${gl_cv_header_sys_socket_h_selfcontained+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_sys_socket_h_selfcontained=yes else case e in #( e) gl_cv_header_sys_socket_h_selfcontained=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5 printf "%s\n" "$gl_cv_header_sys_socket_h_selfcontained" >&6; } if test $gl_cv_header_sys_socket_h_selfcontained = yes; then ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown" if test "x$ac_cv_func_shutdown" = xyes then : printf "%s\n" "#define HAVE_SHUTDOWN 1" >>confdefs.h fi if test $ac_cv_func_shutdown = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether defines the SHUT_* macros" >&5 printf %s "checking whether defines the SHUT_* macros... " >&6; } if test ${gl_cv_header_sys_socket_h_shut+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR }; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_sys_socket_h_shut=yes else case e in #( e) gl_cv_header_sys_socket_h_shut=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5 printf "%s\n" "$gl_cv_header_sys_socket_h_shut" >&6; } if test $gl_cv_header_sys_socket_h_shut = no; then GL_GENERATE_SYS_SOCKET_H=true fi fi fi # We need to check for ws2tcpip.h now. if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_socket_h='<'sys/socket.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sys_socket_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_sys_socket_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/socket.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_socket_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_socket_h gl_cv_next_sys_socket_h='"'$gl_header'"' else gl_cv_next_sys_socket_h='<'sys/socket.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5 printf "%s\n" "$gl_cv_next_sys_socket_h" >&6; } fi NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/socket.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_socket_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive if test $ac_cv_header_sys_socket_h = yes; then HAVE_SYS_SOCKET_H=1 else HAVE_SYS_SOCKET_H=0 fi if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_struct_sockaddr_storage" = xyes then : printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_type_sa_family_t" = xyes then : printf "%s\n" "#define HAVE_SA_FAMILY_T 1" >>confdefs.h fi if test $ac_cv_type_sa_family_t = yes; then HAVE_SA_FAMILY_T=1 else HAVE_SA_FAMILY_T=0 fi if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi if test $ac_cv_type_struct_sockaddr_storage != no; then ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif " if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes then : printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1" >>confdefs.h else case e in #( e) HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0 ;; esac fi fi if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then GL_GENERATE_SYS_SOCKET_H=true fi if test $ac_cv_header_sys_socket_h != yes; then ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes then : printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 printf %s "checking for inline... " >&6; } if test ${ac_cv_c_inline+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo (void) {return 0; } $ac_kw foo_t foo (void) {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_inline" != no && break done ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 printf "%s\n" "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/if_alg.h has struct sockaddr_alg." >&5 printf %s "checking whether linux/if_alg.h has struct sockaddr_alg.... " >&6; } if test ${gl_cv_header_linux_if_alg_salg+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct sockaddr_alg salg = { .salg_family = AF_ALG, .salg_type = "hash", .salg_name = "sha1", }; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_linux_if_alg_salg=yes else case e in #( e) gl_cv_header_linux_if_alg_salg=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_linux_if_alg_salg" >&5 printf "%s\n" "$gl_cv_header_linux_if_alg_salg" >&6; } if test "$gl_cv_header_linux_if_alg_salg" = yes; then printf "%s\n" "#define HAVE_LINUX_IF_ALG_H 1" >>confdefs.h fi use_af_alg=no # Check whether --with-linux-crypto was given. if test ${with_linux_crypto+y} then : withval=$with_linux_crypto; use_af_alg=$withval else case e in #( e) use_af_alg=no ;; esac fi if test "$gl_cv_header_linux_if_alg_salg" != yes; then if test "$use_af_alg" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Linux kernel cryptographic API not found" >&5 printf "%s\n" "$as_me: WARNING: Linux kernel cryptographic API not found" >&2;} fi use_af_alg=no fi if test "$use_af_alg" != no; then USE_AF_ALG=1 else USE_AF_ALG=0 fi printf "%s\n" "#define USE_LINUX_CRYPTO_API $USE_AF_ALG" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 printf %s "checking whether byte ordering is bigendian... " >&6; } if test ${ac_cv_c_bigendian+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO" then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes else case e in #( e) ac_cv_c_bigendian=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes else case e in #( e) ac_cv_c_bigendian=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } int main (int argc, char **argv) { /* Intimidate the compiler so that it does not optimize the arrays away. */ char *p = argv[0]; ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; return use_ascii (argc) == use_ebcdic (*p); } _ACEOF if ac_fn_c_try_link "$LINENO" then : if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_c_bigendian=no else case e in #( e) ac_cv_c_bigendian=yes ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 printf "%s\n" "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac HAVE_ISALNUM_L=1; HAVE_ISALPHA_L=1; HAVE_ISBLANK=1; HAVE_ISBLANK_L=1; HAVE_ISCNTRL_L=1; HAVE_ISDIGIT_L=1; HAVE_ISGRAPH_L=1; HAVE_ISLOWER_L=1; HAVE_ISPRINT_L=1; HAVE_ISPUNCT_L=1; HAVE_ISSPACE_L=1; HAVE_ISUPPER_L=1; HAVE_ISXDIGIT_L=1; HAVE_TOLOWER_L=1; HAVE_TOUPPER_L=1; if test $gl_cv_have_include_next = yes; then gl_cv_next_ctype_h='<'ctype.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_ctype_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'ctype.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_ctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_ctype_h gl_cv_next_ctype_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_ctype_h" >&5 printf "%s\n" "$gl_cv_next_ctype_h" >&6; } fi NEXT_CTYPE_H=$gl_cv_next_ctype_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'ctype.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_ctype_h fi NEXT_AS_FIRST_DIRECTIVE_CTYPE_H=$gl_next_as_first_directive GL_GNULIB_ISALNUM_L=0 GL_GNULIB_ISALPHA_L=0 GL_GNULIB_ISBLANK=0 GL_GNULIB_ISBLANK_L=0 GL_GNULIB_ISCNTRL_L=0 GL_GNULIB_ISDIGIT_L=0 GL_GNULIB_ISGRAPH_L=0 GL_GNULIB_ISLOWER_L=0 GL_GNULIB_ISPRINT_L=0 GL_GNULIB_ISPUNCT_L=0 GL_GNULIB_ISSPACE_L=0 GL_GNULIB_ISUPPER_L=0 GL_GNULIB_ISXDIGIT_L=0 GL_GNULIB_TOLOWER_L=0 GL_GNULIB_TOUPPER_L=0 gl_mda_defines=' #if defined _WIN32 && !defined __CYGWIN__ #define access _access #define chdir _chdir #define chmod _chmod #define close _close #define creat _creat #define dup _dup #define dup2 _dup2 #define ecvt _ecvt #define execl _execl #define execle _execle #define execlp _execlp #define execv _execv #define execve _execve #define execvp _execvp #define execvpe _execvpe #define fcloseall _fcloseall #define fcvt _fcvt #define fdopen _fdopen #define fileno _fileno #define gcvt _gcvt #define getcwd _getcwd #define getpid _getpid #define getw _getw #define isatty _isatty #define j0 _j0 #define j1 _j1 #define jn _jn #define lfind _lfind #define lsearch _lsearch #define lseek _lseek #define memccpy _memccpy #define mkdir _mkdir #define mktemp _mktemp #define open _open #define putenv _putenv #define putw _putw #define read _read #define rmdir _rmdir #define strdup _strdup #define swab _swab #define tempnam _tempnam #define tzset _tzset #define umask _umask #define unlink _unlink #define utime _utime #define wcsdup _wcsdup #define write _write #define y0 _y0 #define y1 _y1 #define yn _yn #endif ' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 printf %s "checking for complete errno.h... " >&6; } if test ${gl_cv_header_errno_h_complete+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if !defined ETXTBSY booboo #endif #if !defined ENOMSG booboo #endif #if !defined EIDRM booboo #endif #if !defined ENOLINK booboo #endif #if !defined EPROTO booboo #endif #if !defined EMULTIHOP booboo #endif #if !defined EBADMSG booboo #endif #if !defined EOVERFLOW booboo #endif #if !defined ENOTSUP booboo #endif #if !defined ENETRESET booboo #endif #if !defined ECONNABORTED booboo #endif #if !defined ESTALE booboo #endif #if !defined EDQUOT booboo #endif #if !defined ECANCELED booboo #endif #if !defined EOWNERDEAD booboo #endif #if !defined ENOTRECOVERABLE booboo #endif #if !defined EILSEQ booboo #endif #if !defined ESOCKTNOSUPPORT booboo #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "booboo" >/dev/null 2>&1 then : gl_cv_header_errno_h_complete=no else case e in #( e) gl_cv_header_errno_h_complete=yes ;; esac fi rm -rf conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 printf "%s\n" "$gl_cv_header_errno_h_complete" >&6; } if test $gl_cv_header_errno_h_complete = yes; then GL_GENERATE_ERRNO_H=false else if test $gl_cv_have_include_next = yes; then gl_cv_next_errno_h='<'errno.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_errno_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'errno.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_errno_h gl_cv_next_errno_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 printf "%s\n" "$gl_cv_next_errno_h" >&6; } fi NEXT_ERRNO_H=$gl_cv_next_errno_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'errno.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_errno_h fi NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive GL_GENERATE_ERRNO_H=true fi if $GL_GENERATE_ERRNO_H; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 printf %s "checking for EMULTIHOP value... " >&6; } if test ${gl_cv_header_errno_h_EMULTIHOP+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef EMULTIHOP yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : gl_cv_header_errno_h_EMULTIHOP=yes else case e in #( e) gl_cv_header_errno_h_EMULTIHOP=no ;; esac fi rm -rf conftest* if test $gl_cv_header_errno_h_EMULTIHOP = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef EMULTIHOP yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : gl_cv_header_errno_h_EMULTIHOP=hidden fi rm -rf conftest* if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include " then : fi fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 printf "%s\n" "$gl_cv_header_errno_h_EMULTIHOP" >&6; } case $gl_cv_header_errno_h_EMULTIHOP in yes | no) EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= ;; *) EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" ;; esac fi if $GL_GENERATE_ERRNO_H; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 printf %s "checking for ENOLINK value... " >&6; } if test ${gl_cv_header_errno_h_ENOLINK+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef ENOLINK yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : gl_cv_header_errno_h_ENOLINK=yes else case e in #( e) gl_cv_header_errno_h_ENOLINK=no ;; esac fi rm -rf conftest* if test $gl_cv_header_errno_h_ENOLINK = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef ENOLINK yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : gl_cv_header_errno_h_ENOLINK=hidden fi rm -rf conftest* if test $gl_cv_header_errno_h_ENOLINK = hidden; then if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include " then : fi fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 printf "%s\n" "$gl_cv_header_errno_h_ENOLINK" >&6; } case $gl_cv_header_errno_h_ENOLINK in yes | no) ENOLINK_HIDDEN=0; ENOLINK_VALUE= ;; *) ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" ;; esac fi if $GL_GENERATE_ERRNO_H; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 printf %s "checking for EOVERFLOW value... " >&6; } if test ${gl_cv_header_errno_h_EOVERFLOW+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef EOVERFLOW yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : gl_cv_header_errno_h_EOVERFLOW=yes else case e in #( e) gl_cv_header_errno_h_EOVERFLOW=no ;; esac fi rm -rf conftest* if test $gl_cv_header_errno_h_EOVERFLOW = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef EOVERFLOW yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "yes" >/dev/null 2>&1 then : gl_cv_header_errno_h_EOVERFLOW=hidden fi rm -rf conftest* if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include " then : fi fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 printf "%s\n" "$gl_cv_header_errno_h_EOVERFLOW" >&6; } case $gl_cv_header_errno_h_EOVERFLOW in yes | no) EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= ;; *) EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" ;; esac fi if test $gl_cv_have_include_next = yes; then gl_cv_next_error_h='<'error.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_error_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_error_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'error.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_error_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_error_h gl_cv_next_error_h='"'$gl_header'"' else gl_cv_next_error_h='<'error.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_error_h" >&5 printf "%s\n" "$gl_cv_next_error_h" >&6; } fi NEXT_ERROR_H=$gl_cv_next_error_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'error.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_error_h fi NEXT_AS_FIRST_DIRECTIVE_ERROR_H=$gl_next_as_first_directive if test $ac_cv_header_error_h = yes; then HAVE_ERROR_H=1 else HAVE_ERROR_H=0 fi REPLACE_ERROR=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error" >&5 printf %s "checking for error... " >&6; } if test ${gl_cv_onwards_func_error+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "error" "ac_cv_have_decl_error" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_error" = xyes then : fi if test $ac_cv_have_decl_error = yes; then ac_fn_c_check_func "$LINENO" "error" "ac_cv_func_error" if test "x$ac_cv_func_error" = xyes then : fi if test $ac_cv_func_error = yes; then gl_cv_onwards_func_error=yes else gl_cv_onwards_func_error='future OS version' fi else gl_cv_onwards_func_error='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "error" "ac_cv_func_error" if test "x$ac_cv_func_error" = xyes then : fi gl_cv_onwards_func_error=$ac_cv_func_error ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_error" >&5 printf "%s\n" "$gl_cv_onwards_func_error" >&6; } case "$gl_cv_onwards_func_error" in future*) ac_cv_func_error=no ;; *) ac_cv_func_error=$gl_cv_onwards_func_error ;; esac if test $ac_cv_func_error = yes; then printf "%s\n" "#define HAVE_ERROR 1" >>confdefs.h fi if test $ac_cv_func_error = yes; then HAVE_ERROR=1 else HAVE_ERROR=0 case "$gl_cv_onwards_func_error" in future*) REPLACE_ERROR=1 ;; esac fi ac_fn_check_decl "$LINENO" "error_at_line" "ac_cv_have_decl_error_at_line" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_error_at_line" = xyes then : fi if test $ac_cv_have_decl_error_at_line = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 printf %s "checking for error_at_line... " >&6; } if test ${ac_cv_lib_error_at_line+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { error_at_line (0, 0, "", 0, "an error occurred"); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_error_at_line=yes else case e in #( e) ac_cv_lib_error_at_line=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 printf "%s\n" "$ac_cv_lib_error_at_line" >&6; } else ac_cv_lib_error_at_line=no fi if test $ac_cv_lib_error_at_line = yes; then HAVE_ERROR_AT_LINE=1 else HAVE_ERROR_AT_LINE=0 fi REPLACE_ERROR_AT_LINE=0 if test $ac_cv_func_error = yes && test $ac_cv_lib_error_at_line = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working error function" >&5 printf %s "checking for working error function... " >&6; } if test ${gl_cv_func_working_error+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $cross_compiling != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include static void print_no_progname (void) {} int main (void) { error_print_progname = print_no_progname; error (0, 0, "foo"); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : rm -f conftest.out if test -s conftest$ac_exeext \ && ./conftest$ac_exeext 2> conftest.out; then if grep ' ' conftest.out >/dev/null; then gl_cv_func_working_error=no else gl_cv_func_working_error=yes fi else gl_cv_func_working_error=no fi rm -f conftest.out else case e in #( e) gl_cv_func_working_error=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { error (0, 0, "foo"); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_error="guessing yes" ;; # Guess no on Android. linux*-android*) gl_cv_func_working_error="guessing no" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_working_error="$gl_cross_guess_normal" ;; esac else case e in #( e) gl_cv_func_working_error=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_error" >&5 printf "%s\n" "$gl_cv_func_working_error" >&6; } case "$gl_cv_func_working_error" in *no) REPLACE_ERROR=1 REPLACE_ERROR_AT_LINE=1 ;; esac fi if test $HAVE_ERROR = 0 || test $REPLACE_ERROR = 1 \ || test $HAVE_ERROR_AT_LINE = 0 \ || test $REPLACE_ERROR_AT_LINE = 1; then COMPILE_ERROR_C=1 else COMPILE_ERROR_C=0 fi ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strerror_r" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_strerror_r = yes; then # For backward compatibility's sake, define HAVE_STRERROR_R. # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well # as AC_CHECK_DECLS_ONCE.) printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 printf %s "checking whether strerror_r returns char *... " >&6; } if test ${ac_cv_func_strerror_r_char_p+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); return !p || x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_func_strerror_r_char_p=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi XGETTEXT_EXTRA_OPTIONS= POW_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pow can be used without linking with libm" >&5 printf %s "checking whether pow can be used without linking with libm... " >&6; } if test ${gl_cv_func_pow_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (* volatile funcptr) (double, double) = pow; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { double y = funcptr (1.6180339887, 1.6180339887) + pow (1.6180339887, 1.6180339887); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_pow_no_libm=yes else case e in #( e) gl_cv_func_pow_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pow_no_libm" >&5 printf "%s\n" "$gl_cv_func_pow_no_libm" >&6; } if test $gl_cv_func_pow_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pow can be used with libm" >&5 printf %s "checking whether pow can be used with libm... " >&6; } if test ${gl_cv_func_pow_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (* volatile funcptr) (double, double) = pow; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { double y = funcptr (1.6180339887, 1.6180339887) + pow (1.6180339887, 1.6180339887); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_pow_in_libm=yes else case e in #( e) gl_cv_func_pow_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pow_in_libm" >&5 printf "%s\n" "$gl_cv_func_pow_in_libm" >&6; } if test $gl_cv_func_pow_in_libm = yes; then POW_LIBM=-lm fi fi ISNANL_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5 printf %s "checking whether isnan(long double) can be used without linking with libm... " >&6; } if test ${gl_cv_func_isnanl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif long double x; int main (void) { return isnanl (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnanl_no_libm=yes else case e in #( e) gl_cv_func_isnanl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5 printf "%s\n" "$gl_cv_func_isnanl_no_libm" >&6; } if test $gl_cv_func_isnanl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used with libm" >&5 printf %s "checking whether isnan(long double) can be used with libm... " >&6; } if test ${gl_cv_func_isnanl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif long double x; int main (void) { return isnanl (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnanl_in_libm=yes else case e in #( e) gl_cv_func_isnanl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_in_libm" >&5 printf "%s\n" "$gl_cv_func_isnanl_in_libm" >&6; } if test $gl_cv_func_isnanl_in_libm = yes; then ISNANL_LIBM=-lm fi fi if test $gl_cv_func_isnanl_no_libm = yes || test -n "$ISNANL_LIBM"; then saved_LIBS="$LIBS" LIBS="$LIBS $ISNANL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5 printf %s "checking whether isnanl works... " >&6; } if test ${gl_cv_func_isnanl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in mingw* | windows*) # Guess yes on mingw, no on MSVC. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __MINGW32__ Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_isnanl_works="guessing yes" else case e in #( e) gl_cv_func_isnanl_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_isnanl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; if (!isnanl (NaNl ())) result |= 1; { memory_long_double m; unsigned int i; /* The isnanl function should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (!isnanl (m.value)) result |= 1; } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (!isnanl (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (!isnanl (x.value)) result |= 2; } /* isnanl should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 64; } #endif return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_isnanl_works=yes else case e in #( e) gl_cv_func_isnanl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5 printf "%s\n" "$gl_cv_func_isnanl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_isnanl_works" in *yes) gl_func_isnanl=yes ;; *) gl_func_isnanl=no; ISNANL_LIBM= ;; esac else gl_func_isnanl=no fi if test $gl_func_isnanl != yes; then HAVE_ISNANL=0 fi saved_LIBS="$LIBS" ROUND_LIBM=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include extern #ifdef __cplusplus "C" #endif double round (double); double x; int main (void) { x = round (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ROUND_LIBM=$libm break fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext done LIBS="$saved_LIBS" if test "$ROUND_LIBM" != missing; then HAVE_ROUND=1 ac_fn_check_decl "$LINENO" "round" "ac_cv_have_decl_round" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_round" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ROUND $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) HAVE_DECL_ROUND=0 ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether round works" >&5 printf %s "checking whether round works... " >&6; } if test ${gl_cv_func_round_works+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS $ROUND_LIBM" if test "$cross_compiling" = yes then : case "$host_os" in netbsd* | aix*) gl_cv_func_round_works="guessing no" ;; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_round_works="guessing yes" ;; mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_round_works="guessing yes" else case e in #( e) gl_cv_func_round_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_round_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif double round (double); #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif int main() { /* 2^DBL_MANT_DIG. */ static const double TWO_MANT_DIG = /* Assume DBL_MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (double) (1U << (DBL_MANT_DIG / 5)) * (double) (1U << ((DBL_MANT_DIG + 1) / 5)) * (double) (1U << ((DBL_MANT_DIG + 2) / 5)) * (double) (1U << ((DBL_MANT_DIG + 3) / 5)) * (double) (1U << ((DBL_MANT_DIG + 4) / 5)); volatile double x = 0.5 - 0.5 / TWO_MANT_DIG; return (x < 0.5 && round (x) != 0.0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_round_works=yes else case e in #( e) gl_cv_func_round_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_round_works" >&5 printf "%s\n" "$gl_cv_func_round_works" >&6; } case "$gl_cv_func_round_works" in *no) REPLACE_ROUND=1 ;; esac else HAVE_ROUND=0 HAVE_DECL_ROUND=0 fi if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then exec 9>&6 6>/dev/null if test ${gl_cv_func_floor_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_floor_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x; int main (void) { x = funcptr(x) + floor(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floor_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floor_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x; int main (void) { x = funcptr(x) + floor(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floor_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- FLOOR_LIBM="$gl_cv_func_floor_libm" exec 9>&6 6>/dev/null if test ${gl_cv_func_ceil_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_ceil_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x; int main (void) { x = funcptr(x) + ceil(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceil_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_ceil_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x; int main (void) { x = funcptr(x) + ceil(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceil_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- CEIL_LIBM="$gl_cv_func_ceil_libm" ROUND_LIBM= case " $ROUND_LIBM " in *" $FLOOR_LIBM "*) ;; *) ROUND_LIBM="$ROUND_LIBM $FLOOR_LIBM" ;; esac case " $ROUND_LIBM " in *" $CEIL_LIBM "*) ;; *) ROUND_LIBM="$ROUND_LIBM $CEIL_LIBM" ;; esac fi saved_LIBS="$LIBS" ROUNDL_LIBM=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include extern #ifdef __cplusplus "C" #endif long double roundl (long double); long double x; int main (void) { x = roundl (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ROUNDL_LIBM=$libm break fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext done LIBS="$saved_LIBS" if test "$ROUNDL_LIBM" != missing; then HAVE_ROUNDL=1 ac_fn_check_decl "$LINENO" "roundl" "ac_cv_have_decl_roundl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_roundl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ROUNDL $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) HAVE_DECL_ROUNDL=0 ;; esac fi else HAVE_ROUNDL=0 HAVE_DECL_ROUNDL=0 fi if test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then ROUNDL_LIBM="$ROUND_LIBM" else ac_fn_check_decl "$LINENO" "ceill" "ac_cv_have_decl_ceill" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ceill" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_CEILL $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "floorl" "ac_cv_have_decl_floorl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_floorl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FLOORL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_floorl" = yes \ && test "$ac_cv_have_decl_ceill" = yes; then exec 9>&6 6>/dev/null if test ${gl_cv_func_floorl_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_floorl_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x; int main (void) { x = funcptr (x) + floorl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floorl_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floorl_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x; int main (void) { x = funcptr (x) + floorl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floorl_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- FLOORL_LIBM="$gl_cv_func_floorl_libm" exec 9>&6 6>/dev/null if test ${gl_cv_func_ceill_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_ceill_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x; int main (void) { x = funcptr(x) + ceill(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceill_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_ceill_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x; int main (void) { x = funcptr(x) + ceill(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceill_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- CEILL_LIBM="$gl_cv_func_ceill_libm" if test "$FLOORL_LIBM" != '?' && test "$CEILL_LIBM" != '?'; then printf "%s\n" "#define HAVE_FLOORL_AND_CEILL 1" >>confdefs.h ROUNDL_LIBM= case " $ROUNDL_LIBM " in *" $FLOORL_LIBM "*) ;; *) ROUNDL_LIBM="$ROUNDL_LIBM $FLOORL_LIBM" ;; esac case " $ROUNDL_LIBM " in *" $CEILL_LIBM "*) ;; *) ROUNDL_LIBM="$ROUNDL_LIBM $CEILL_LIBM" ;; esac else ROUNDL_LIBM= fi else ROUNDL_LIBM= fi fi fi ISNAND_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5 printf %s "checking whether isnan(double) can be used without linking with libm... " >&6; } if test ${gl_cv_func_isnand_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) #else # undef isnand # define isnand(x) isnan ((double)(x)) #endif double x; int main (void) { return isnand (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnand_no_libm=yes else case e in #( e) gl_cv_func_isnand_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5 printf "%s\n" "$gl_cv_func_isnand_no_libm" >&6; } if test $gl_cv_func_isnand_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used with libm" >&5 printf %s "checking whether isnan(double) can be used with libm... " >&6; } if test ${gl_cv_func_isnand_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) #elif defined isnan # undef isnand # define isnand(x) isnan ((double)(x)) #endif double x; int main (void) { return isnand (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnand_in_libm=yes else case e in #( e) gl_cv_func_isnand_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_in_libm" >&5 printf "%s\n" "$gl_cv_func_isnand_in_libm" >&6; } if test $gl_cv_func_isnand_in_libm = yes; then ISNAND_LIBM=-lm fi fi if test $gl_cv_func_isnand_no_libm = yes || test -n "$ISNAND_LIBM"; then gl_func_isnand=yes else gl_func_isnand=no HAVE_ISNAND=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5 printf %s "checking whether ldexp() can be used without linking with libm... " >&6; } if test ${gl_cv_func_ldexp_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double, int) = ldexp; double x; int main (void) { return ldexp (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexp_no_libm=yes else case e in #( e) gl_cv_func_ldexp_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5 printf "%s\n" "$gl_cv_func_ldexp_no_libm" >&6; } LDEXP_LIBM= if test $gl_cv_func_ldexp_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used with libm" >&5 printf %s "checking whether ldexp() can be used with libm... " >&6; } if test ${gl_cv_func_ldexp_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double, int) = ldexp; double x; int main (void) { return ldexp (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexp_in_libm=yes else case e in #( e) gl_cv_func_ldexp_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_in_libm" >&5 printf "%s\n" "$gl_cv_func_ldexp_in_libm" >&6; } if test $gl_cv_func_ldexp_in_libm = yes; then LDEXP_LIBM=-lm fi fi saved_LIBS="$LIBS" LIBS="$LIBS $LDEXP_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexp works" >&5 printf %s "checking whether ldexp works... " >&6; } if test ${gl_cv_func_ldexp_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in openbsd*) gl_cv_func_ldexp_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ldexp_works="guessing yes" ;; *) gl_cv_func_ldexp_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main() { int result = 0; { volatile double x = 1.9269695883136991774e-308; volatile double y = ldexp (x, 0); if (y != x) result |= 1; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ldexp_works=yes else case e in #( e) gl_cv_func_ldexp_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_works" >&5 printf "%s\n" "$gl_cv_func_ldexp_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_ldexp_works" in *yes) ;; *) REPLACE_LDEXP=1 ;; esac if test $REPLACE_LDEXP = 1; then LDEXP_LIBM="$ISNAND_LIBM" fi ac_fn_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ldexpl" = xyes then : else case e in #( e) HAVE_DECL_LDEXPL=0 ;; esac fi LDEXPL_LIBM= if test $HAVE_DECL_LDEXPL = 1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5 printf %s "checking whether ldexpl() can be used without linking with libm... " >&6; } if test ${gl_cv_func_ldexpl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main (void) { return ldexpl (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexpl_no_libm=yes else case e in #( e) gl_cv_func_ldexpl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5 printf "%s\n" "$gl_cv_func_ldexpl_no_libm" >&6; } if test $gl_cv_func_ldexpl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used with libm" >&5 printf %s "checking whether ldexpl() can be used with libm... " >&6; } if test ${gl_cv_func_ldexpl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main (void) { return ldexpl (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexpl_in_libm=yes else case e in #( e) gl_cv_func_ldexpl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_in_libm" >&5 printf "%s\n" "$gl_cv_func_ldexpl_in_libm" >&6; } if test $gl_cv_func_ldexpl_in_libm = yes; then LDEXPL_LIBM=-lm fi fi if test $gl_cv_func_ldexpl_no_libm = yes \ || test $gl_cv_func_ldexpl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $LDEXPL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5 printf %s "checking whether ldexpl works... " >&6; } if test ${gl_cv_func_ldexpl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ldexpl_works="guessing yes" ;; *) gl_cv_func_ldexpl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern #ifdef __cplusplus "C" #endif long double ldexpl (long double, int); int main() { int result = 0; { volatile long double x = 1.0; volatile long double y = ldexpl (x, -1); if (y != 0.5L) result |= 1; } { volatile long double x = 1.73205L; volatile long double y = ldexpl (x, 0); if (y != x) result |= 2; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ldexpl_works=yes else case e in #( e) gl_cv_func_ldexpl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5 printf "%s\n" "$gl_cv_func_ldexpl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_ldexpl_works" in *yes) gl_func_ldexpl=yes ;; *) gl_func_ldexpl=no; REPLACE_LDEXPL=1 ;; esac else gl_func_ldexpl=no fi if test $gl_func_ldexpl = yes; then printf "%s\n" "#define HAVE_LDEXPL 1" >>confdefs.h fi fi if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then LDEXPL_LIBM="$LDEXP_LIBM" else LDEXPL_LIBM="$ISNANL_LIBM" fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ctype.h defines __header_inline" >&5 printf %s "checking whether ctype.h defines __header_inline... " >&6; } if test ${gl_cv_have___header_inline+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef __header_inline #error " does not define __header_inline" #endif _ACEOF if ac_fn_c_try_cpp "$LINENO" then : gl_cv_have___header_inline=yes else case e in #( e) gl_cv_have___header_inline=no ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have___header_inline" >&5 printf "%s\n" "$gl_cv_have___header_inline" >&6; } if test "$gl_cv_have___header_inline" = yes; then printf "%s\n" "#define HAVE___HEADER_INLINE 1" >>confdefs.h fi HAVE_FCNTL=1; HAVE_OPENAT=1; REPLACE_CREAT=0; REPLACE_FCNTL=0; REPLACE_OPEN=0; REPLACE_OPENAT=0; GL_GNULIB_CREAT=0 GL_GNULIB_FCNTL=0 GL_GNULIB_NONBLOCKING=0 GL_GNULIB_OPEN=0 GL_GNULIB_OPENAT=0 GL_GNULIB_MDA_CREAT=1 GL_GNULIB_MDA_OPEN=1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 printf %s "checking for working fcntl.h... " >&6; } if test ${gl_cv_header_working_fcntl_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess 'no' on native Windows. mingw* | windows*) gl_cv_header_working_fcntl_h='no' ;; *) gl_cv_header_working_fcntl_h=cross-compiling ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include # include # defined sleep(n) _sleep ((n) * 1000) #endif #include $gl_mda_defines #ifndef O_NOATIME #define O_NOATIME 0 #endif #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif static int const constants[] = { O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY }; int main (void) { int result = !constants; #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink ("/dev/null", sym) != 0) result |= 2; else { int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); if (fd >= 0) { close (fd); result |= 4; } } if (unlink (sym) != 0 || symlink (".", sym) != 0) result |= 2; else { int fd = open (sym, O_RDONLY | O_NOFOLLOW); if (fd >= 0) { close (fd); result |= 4; } } unlink (sym); } #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); if (fd < 0) result |= 8; else { struct stat st0; if (fstat (fd, &st0) != 0) result |= 16; else { char c; sleep (1); if (read (fd, &c, 1) != 1) result |= 24; else { if (close (fd) != 0) result |= 32; else { struct stat st1; if (stat (file, &st1) != 0) result |= 40; else if (st0.st_atime != st1.st_atime) result |= 64; } } } } } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_header_working_fcntl_h=yes else case e in #( e) case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( *) gl_cv_header_working_fcntl_h='no';; esac ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 printf "%s\n" "$gl_cv_header_working_fcntl_h" >&6; } case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac printf "%s\n" "#define HAVE_WORKING_O_NOATIME $ac_val" >>confdefs.h case $gl_cv_header_working_fcntl_h in #( *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac printf "%s\n" "#define HAVE_WORKING_O_NOFOLLOW $ac_val" >>confdefs.h ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default " if test "x$ac_cv_type_pid_t" = xyes then : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _WIN64 && !defined __CYGWIN__ LLP64 #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_pid_type='int' else case e in #( e) ac_pid_type='__int64' ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h ;; esac fi ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" if test "x$ac_cv_type_mode_t" = xyes then : else case e in #( e) printf "%s\n" "#define mode_t int" >>confdefs.h ;; esac fi if test $gl_cv_have_include_next = yes; then gl_cv_next_fcntl_h='<'fcntl.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_fcntl_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'fcntl.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_fcntl_h gl_cv_next_fcntl_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 printf "%s\n" "$gl_cv_next_fcntl_h" >&6; } fi NEXT_FCNTL_H=$gl_cv_next_fcntl_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'fcntl.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_fcntl_h fi NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive HAVE_DECL_FCLOSEALL=1; HAVE_DECL_FPURGE=1; HAVE_DECL_FSEEKO=1; HAVE_DECL_FTELLO=1; HAVE_DECL_GETDELIM=1; HAVE_DECL_GETLINE=1; HAVE_DECL_GETW=1; HAVE_DECL_OBSTACK_PRINTF=1; HAVE_DECL_PUTW=1; HAVE_DECL_SNPRINTF=1; HAVE_DECL_VSNPRINTF=1; HAVE_DPRINTF=1; HAVE_FSEEKO=1; HAVE_FTELLO=1; HAVE_PCLOSE=1; HAVE_POPEN=1; HAVE_RENAMEAT=1; HAVE_VASPRINTF=1; HAVE_VDPRINTF=1; REPLACE_DPRINTF=0; REPLACE_FCLOSE=0; REPLACE_FDOPEN=0; REPLACE_FFLUSH=0; REPLACE_FOPEN=0; REPLACE_FOPEN_FOR_FOPEN_GNU=0; REPLACE_FPRINTF=0; REPLACE_FPURGE=0; REPLACE_FREOPEN=0; REPLACE_FSEEK=0; REPLACE_FSEEKO=0; REPLACE_FTELL=0; REPLACE_FTELLO=0; REPLACE_GETDELIM=0; REPLACE_GETLINE=0; REPLACE_OBSTACK_PRINTF=0; REPLACE_PERROR=0; REPLACE_POPEN=0; REPLACE_PRINTF=0; REPLACE_REMOVE=0; REPLACE_RENAME=0; REPLACE_RENAMEAT=0; REPLACE_SNPRINTF=0; REPLACE_SPRINTF=0; REPLACE_STDIO_READ_FUNCS=0; REPLACE_STDIO_WRITE_FUNCS=0; REPLACE_TMPFILE=0; REPLACE_VASPRINTF=0; REPLACE_VDPRINTF=0; REPLACE_VFPRINTF=0; REPLACE_VPRINTF=0; REPLACE_VSNPRINTF=0; REPLACE_VSPRINTF=0; GL_GNULIB_DPRINTF=0 GL_GNULIB_DZPRINTF=0 GL_GNULIB_FCLOSE=0 GL_GNULIB_FDOPEN=0 GL_GNULIB_FFLUSH=0 GL_GNULIB_FGETC=0 GL_GNULIB_FGETS=0 GL_GNULIB_FOPEN=0 GL_GNULIB_FOPEN_GNU=0 GL_GNULIB_FPRINTF=0 GL_GNULIB_FPRINTF_POSIX=0 GL_GNULIB_FPURGE=0 GL_GNULIB_FPUTC=0 GL_GNULIB_FPUTS=0 GL_GNULIB_FREAD=0 GL_GNULIB_FREOPEN=0 GL_GNULIB_FSCANF=0 GL_GNULIB_FSEEK=0 GL_GNULIB_FSEEKO=0 GL_GNULIB_FTELL=0 GL_GNULIB_FTELLO=0 GL_GNULIB_FWRITE=0 GL_GNULIB_FZPRINTF=0 GL_GNULIB_GETC=0 GL_GNULIB_GETCHAR=0 GL_GNULIB_GETDELIM=0 GL_GNULIB_GETLINE=0 GL_GNULIB_OBSTACK_PRINTF=0 GL_GNULIB_OBSTACK_PRINTF_POSIX=0 GL_GNULIB_OBSTACK_ZPRINTF=0 GL_GNULIB_PCLOSE=0 GL_GNULIB_PERROR=0 GL_GNULIB_POPEN=0 GL_GNULIB_PRINTF=0 GL_GNULIB_PRINTF_POSIX=0 GL_GNULIB_PUTC=0 GL_GNULIB_PUTCHAR=0 GL_GNULIB_PUTS=0 GL_GNULIB_REMOVE=0 GL_GNULIB_RENAME=0 GL_GNULIB_RENAMEAT=0 GL_GNULIB_SCANF=0 GL_GNULIB_SNPRINTF=0 GL_GNULIB_SNZPRINTF=0 GL_GNULIB_SPRINTF_POSIX=0 GL_GNULIB_STDIO_H_NONBLOCKING=0 GL_GNULIB_STDIO_H_SIGPIPE=0 GL_GNULIB_SZPRINTF=0 GL_GNULIB_TMPFILE=0 GL_GNULIB_VASPRINTF=0 GL_GNULIB_VASZPRINTF=0 GL_GNULIB_VFSCANF=0 GL_GNULIB_VSCANF=0 GL_GNULIB_VDPRINTF=0 GL_GNULIB_VDZPRINTF=0 GL_GNULIB_VFPRINTF=0 GL_GNULIB_VFPRINTF_POSIX=0 GL_GNULIB_VFZPRINTF=0 GL_GNULIB_VPRINTF=0 GL_GNULIB_VPRINTF_POSIX=0 GL_GNULIB_VSNPRINTF=0 GL_GNULIB_VSNZPRINTF=0 GL_GNULIB_VSPRINTF_POSIX=0 GL_GNULIB_VSZPRINTF=0 GL_GNULIB_VZPRINTF=0 GL_GNULIB_ZPRINTF=0 GL_GNULIB_MDA_FCLOSEALL=1 GL_GNULIB_MDA_FDOPEN=1 GL_GNULIB_MDA_FILENO=1 GL_GNULIB_MDA_GETW=1 GL_GNULIB_MDA_PUTW=1 GL_GNULIB_MDA_TEMPNAM=1 exec 9>&6 6>/dev/null if test ${gl_cv_func_floor_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_floor_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x; int main (void) { x = funcptr(x) + floor(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floor_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floor_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x; int main (void) { x = funcptr(x) + floor(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floor_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- FLOOR_LIBM="$gl_cv_func_floor_libm" if test "$FLOOR_LIBM" = "?"; then FLOOR_LIBM= fi if test $REPLACE_FLOOR = 1; then FLOOR_LIBM= fi ac_fn_check_decl "$LINENO" "floorl" "ac_cv_have_decl_floorl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_floorl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FLOORL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_floorl" = yes; then exec 9>&6 6>/dev/null if test ${gl_cv_func_floorl_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_floorl_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x; int main (void) { x = funcptr (x) + floorl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floorl_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floorl_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x; int main (void) { x = funcptr (x) + floorl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floorl_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- FLOORL_LIBM="$gl_cv_func_floorl_libm" if test "$FLOORL_LIBM" = "?"; then REPLACE_FLOORL=1 fi else HAVE_DECL_FLOORL=0 fi if test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then FLOORL_LIBM="$FLOOR_LIBM" else FLOORL_LIBM= fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5 printf %s "checking whether frexp() can be used without linking with libm... " >&6; } if test ${gl_cv_func_frexp_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include double x; int main (void) { int e; return frexp (x, &e) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_frexp_no_libm=yes else case e in #( e) gl_cv_func_frexp_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5 printf "%s\n" "$gl_cv_func_frexp_no_libm" >&6; } ac_fn_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_alarm" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ALARM $ac_have_decl" >>confdefs.h FREXP_LIBM= if test $gl_cv_func_frexp_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used with libm" >&5 printf %s "checking whether frexp() can be used with libm... " >&6; } if test ${gl_cv_func_frexp_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include double x; int main (void) { int e; return frexp (x, &e) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_frexp_in_libm=yes else case e in #( e) gl_cv_func_frexp_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_in_libm" >&5 printf "%s\n" "$gl_cv_func_frexp_in_libm" >&6; } if test $gl_cv_func_frexp_in_libm = yes; then FREXP_LIBM=-lm fi fi if test $gl_cv_func_frexp_no_libm = yes \ || test $gl_cv_func_frexp_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $FREXP_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5 printf %s "checking whether frexp works... " >&6; } if test ${gl_cv_func_frexp_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;; # Guess yes with MSVC, no with mingw. windows*-msvc*) gl_cv_func_frexp_works="guessing yes" ;; mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Good #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Good" >/dev/null 2>&1 then : gl_cv_func_frexp_works="guessing yes" else case e in #( e) gl_cv_func_frexp_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_frexp_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if HAVE_DECL_ALARM # include # include #endif /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */ #if defined __hpux || defined __sgi || defined __ICC static double compute_minus_zero (void) { return -DBL_MIN * DBL_MIN; } # define minus_zero compute_minus_zero () #else double minus_zero = -0.0; #endif int main() { int result = 0; int i; volatile double x; double zero = 0.0; #if HAVE_DECL_ALARM /* NeXTstep 3.3 frexp() runs into an endless loop when called on an infinite number. Let the test fail in this case. */ signal (SIGALRM, SIG_DFL); alarm (5); #endif /* Test on denormalized numbers. */ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ; if (x > 0.0) { int exp; double y = frexp (x, &exp); /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. On NetBSD: y = 0.75. Correct: y = 0.5. */ if (y != 0.5) result |= 1; } /* Test on infinite numbers. */ x = 1.0 / zero; { int exp; double y = frexp (x, &exp); if (y != x) result |= 2; } /* Test on negative zero. */ x = minus_zero; { int exp; double y = frexp (x, &exp); double x1 = x; if (memcmp (&y, &x1, sizeof x1)) result |= 4; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_frexp_works=yes else case e in #( e) gl_cv_func_frexp_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5 printf "%s\n" "$gl_cv_func_frexp_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_frexp_works" in *yes) gl_func_frexp=yes ;; *) gl_func_frexp=no; REPLACE_FREXP=1; FREXP_LIBM= ;; esac else gl_func_frexp=no fi if test $gl_func_frexp = yes; then printf "%s\n" "#define HAVE_FREXP 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_frexpl" = xyes then : else case e in #( e) HAVE_DECL_FREXPL=0 ;; esac fi FREXPL_LIBM= if test $HAVE_DECL_FREXPL = 1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5 printf %s "checking whether frexpl() can be used without linking with libm... " >&6; } if test ${gl_cv_func_frexpl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main (void) { int e; return frexpl (x, &e) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_frexpl_no_libm=yes else case e in #( e) gl_cv_func_frexpl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5 printf "%s\n" "$gl_cv_func_frexpl_no_libm" >&6; } if test $gl_cv_func_frexpl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used with libm" >&5 printf %s "checking whether frexpl() can be used with libm... " >&6; } if test ${gl_cv_func_frexpl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main (void) { int e; return frexpl (x, &e) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_frexpl_in_libm=yes else case e in #( e) gl_cv_func_frexpl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_in_libm" >&5 printf "%s\n" "$gl_cv_func_frexpl_in_libm" >&6; } if test $gl_cv_func_frexpl_in_libm = yes; then FREXPL_LIBM=-lm fi fi if test $gl_cv_func_frexpl_no_libm = yes \ || test $gl_cv_func_frexpl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $FREXPL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5 printf %s "checking whether frexpl works... " >&6; } if test ${gl_cv_func_frexpl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | windows* | pw*) gl_cv_func_frexpl_works="guessing no";; *) gl_cv_func_frexpl_works="guessing yes";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* Override the values of , like done in float.in.h. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) #endif #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) #endif #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif #if defined __sgi && (LDBL_MANT_DIG >= 106) # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # endif #endif extern #ifdef __cplusplus "C" #endif long double frexpl (long double, int *); long double zero = 0.0L; int main() { int result = 0; volatile long double x; /* Test on finite numbers that fails on AIX 5.1. */ x = 16.0L; { int exp = -9999; frexpl (x, &exp); if (exp != 5) result |= 1; } /* Test on finite numbers that fails on Mac OS X 10.4, because its frexpl function returns an invalid (incorrectly normalized) value: it returns y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } but the correct result is 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ x = 1.01L; { int exp = -9999; long double y = frexpl (x, &exp); if (!(exp == 1 && y == 0.505L)) result |= 2; } /* Test on large finite numbers. This fails on BeOS at i = 16322, while LDBL_MAX_EXP = 16384. In the loop end test, we test x against Infinity, rather than comparing i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ { int i; for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) { int exp = -9999; frexpl (x, &exp); if (exp != i) { result |= 4; break; } } } /* Test on denormalized numbers. */ { int i; for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ; if (x > 0.0L) { int exp; long double y = frexpl (x, &exp); /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, exp = -16382, y = 0.5. On Mac OS X 10.5: exp = -16384, y = 0.5. */ if (exp != LDBL_MIN_EXP - 1) result |= 8; } } /* Test on infinite numbers. */ /* The Microsoft MSVC 14 compiler chokes on the expression 1.0 / 0.0. */ x = 1.0L / zero; { int exp; long double y = frexpl (x, &exp); if (y != x) result |= 16; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_frexpl_works=yes else case e in #( e) gl_cv_func_frexpl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5 printf "%s\n" "$gl_cv_func_frexpl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_frexpl_works" in *yes) gl_func_frexpl=yes ;; *) gl_func_frexpl=no; REPLACE_FREXPL=1 ;; esac else gl_func_frexpl=no fi if test $gl_func_frexpl = yes; then printf "%s\n" "#define HAVE_FREXPL 1" >>confdefs.h fi fi if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then FREXPL_LIBM="$FREXP_LIBM" else FREXPL_LIBM= fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5 printf %s "checking whether stdin defaults to large file offsets... " >&6; } if test ${gl_cv_var_stdin_large_offset+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if defined __SL64 && defined __SCLE /* cygwin */ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and it is easier to do a version check than building a runtime test. */ # include # if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) choke me # endif #endif ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_var_stdin_large_offset=yes else case e in #( e) gl_cv_var_stdin_large_offset=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5 printf "%s\n" "$gl_cv_var_stdin_large_offset" >&6; } case "$host_os" in mingw* | windows*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5 printf %s "checking for 64-bit off_t... " >&6; } if test ${gl_cv_type_off_t_64+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_off_t_64=yes else case e in #( e) gl_cv_type_off_t_64=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5 printf "%s\n" "$gl_cv_type_off_t_64" >&6; } if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5 printf %s "checking for 64-bit st_size... " >&6; } if test ${gl_cv_member_st_size_64+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_member_st_size_64=yes else case e in #( e) gl_cv_member_st_size_64=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_member_st_size_64" >&5 printf "%s\n" "$gl_cv_member_st_size_64" >&6; } if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5 printf %s "checking for off64_t... " >&6; } if test ${gl_cv_off64_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int x = sizeof (off64_t *) + sizeof (off64_t); return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_off64_t=yes else case e in #( e) gl_cv_off64_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_off64_t" >&5 printf "%s\n" "$gl_cv_off64_t" >&6; } if test $gl_cv_off64_t != no; then HAVE_OFF64_T=1 else HAVE_OFF64_T=0 fi printf "%s\n" "#define _USE_STD_STAT 1" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_types_h='<'sys/types.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sys_types_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/types.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_types_h gl_cv_next_sys_types_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 printf "%s\n" "$gl_cv_next_sys_types_h" >&6; } fi NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/types.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_types_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive WINDOWS_STAT_INODES=0 ac_fn_c_check_type "$LINENO" "blksize_t" "ac_cv_type_blksize_t" "$ac_includes_default" if test "x$ac_cv_type_blksize_t" = xyes then : HAVE_BLKSIZE_T=1 else case e in #( e) HAVE_BLKSIZE_T=0 ;; esac fi ac_fn_c_check_type "$LINENO" "blkcnt_t" "ac_cv_type_blkcnt_t" "$ac_includes_default" if test "x$ac_cv_type_blkcnt_t" = xyes then : HAVE_BLKCNT_T=1 else case e in #( e) HAVE_BLKCNT_T=0 ;; esac fi ac_fn_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fseeko" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FSEEKO $ac_have_decl" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 printf %s "checking for fseeko... " >&6; } if test ${gl_cv_func_fseeko+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { fseeko (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_fseeko=yes else case e in #( e) gl_cv_func_fseeko=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 printf "%s\n" "$gl_cv_func_fseeko" >&6; } if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 printf %s "checking whether fflush works on input streams... " >&6; } if test ${gl_cv_func_fflush_stdin+y} then : printf %s "(cached) " >&6 else case e in #( e) echo hello world > conftest.txt if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on NetBSD, OpenBSD, native Windows. netbsd* | openbsd* | mingw* | windows*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif $gl_mda_defines int main (void) { FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_fflush_stdin=yes else case e in #( e) gl_cv_func_fflush_stdin=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm conftest.txt ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 printf "%s\n" "$gl_cv_func_fflush_stdin" >&6; } case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac fi HAVE_FCHMODAT=1; HAVE_FSTATAT=1; HAVE_FUTIMENS=1; HAVE_GETUMASK=1; HAVE_LCHMOD=1; HAVE_LSTAT=1; HAVE_MKDIRAT=1; HAVE_MKFIFO=1; HAVE_MKFIFOAT=1; HAVE_MKNOD=1; HAVE_MKNODAT=1; HAVE_UTIMENSAT=1; REPLACE_CHMOD=0; REPLACE_FCHMODAT=0; REPLACE_FSTAT=0; REPLACE_FSTATAT=0; REPLACE_FUTIMENS=0; REPLACE_LSTAT=0; REPLACE_MKDIR=0; REPLACE_MKFIFO=0; REPLACE_MKFIFOAT=0; REPLACE_MKNOD=0; REPLACE_MKNODAT=0; REPLACE_STAT=0; REPLACE_UTIMENSAT=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 printf %s "checking whether stat file-mode macros are broken... " >&6; } if test ${ac_cv_header_stat_broken+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if defined S_ISBLK && defined S_IFDIR extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; #endif #if defined S_ISBLK && defined S_IFCHR extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; #endif #if defined S_ISLNK && defined S_IFREG extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; #endif #if defined S_ISSOCK && defined S_IFREG extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_header_stat_broken=no else case e in #( e) ac_cv_header_stat_broken=yes ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 printf "%s\n" "$ac_cv_header_stat_broken" >&6; } if test $ac_cv_header_stat_broken = yes; then printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_stat_h='<'sys/stat.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sys_stat_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_sys_stat_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/stat.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_stat_h gl_cv_next_sys_stat_h='"'$gl_header'"' else gl_cv_next_sys_stat_h='<'sys/stat.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 printf "%s\n" "$gl_cv_next_sys_stat_h" >&6; } fi NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/stat.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_stat_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive WINDOWS_STAT_TIMESPEC=0 ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include #include " if test "x$ac_cv_type_nlink_t" = xyes then : else case e in #( e) printf "%s\n" "#define nlink_t int" >>confdefs.h ;; esac fi case "$host_os" in mingw* | windows*) ac_fn_c_check_header_compile "$LINENO" "sdkddkver.h" "ac_cv_header_sdkddkver_h" "$ac_includes_default" if test "x$ac_cv_header_sdkddkver_h" = xyes then : printf "%s\n" "#define HAVE_SDKDDKVER_H 1" >>confdefs.h fi ;; esac GL_GNULIB_CHMOD=0 GL_GNULIB_FCHMODAT=0 GL_GNULIB_FSTAT=0 GL_GNULIB_FSTATAT=0 GL_GNULIB_FUTIMENS=0 GL_GNULIB_GETUMASK=0 GL_GNULIB_LCHMOD=0 GL_GNULIB_LSTAT=0 GL_GNULIB_MKDIR=0 GL_GNULIB_MKDIRAT=0 GL_GNULIB_MKFIFO=0 GL_GNULIB_MKFIFOAT=0 GL_GNULIB_MKNOD=0 GL_GNULIB_MKNODAT=0 GL_GNULIB_STAT=0 GL_GNULIB_UTIMENSAT=0 GL_GNULIB_OVERRIDES_STRUCT_STAT=0 GL_GNULIB_MDA_CHMOD=1 GL_GNULIB_MDA_MKDIR=1 GL_GNULIB_MDA_UMASK=1 ac_fn_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ftello" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FTELLO $ac_have_decl" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5 printf %s "checking whether ungetc works on arbitrary bytes... " >&6; } if test ${gl_cv_func_ungetc_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on bionic systems. *-android*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ungetc_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_ungetc_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { FILE *f; if (!(f = fopen ("conftest.tmp", "w+"))) return 1; if (fputs ("abc", f) < 0) { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != 'b') { fclose (f); return 4; } if (ungetc ('d', f) != 'd') { fclose (f); return 5; } if (ftell (f) != 1) { fclose (f); return 6; } if (fgetc (f) != 'd') { fclose (f); return 7; } if (ftell (f) != 2) { fclose (f); return 8; } if (fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 9; } if (ftell (f) != 2) { fclose (f); return 10; } if (fgetc (f) != 'c') { fclose (f); return 11; } fclose (f); remove ("conftest.tmp"); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ungetc_works=yes else case e in #( e) gl_cv_func_ungetc_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5 printf "%s\n" "$gl_cv_func_ungetc_works" >&6; } gl_ftello_broken_after_ungetc=no case "$gl_cv_func_ungetc_works" in *yes) ;; *) case "$host_os" in darwin*) gl_ftello_broken_after_ungetc=yes ;; *) printf "%s\n" "#define FUNC_UNGETC_BROKEN 1" >>confdefs.h ;; esac ;; esac if test $ac_cv_have_decl_ftello = no; then HAVE_DECL_FTELLO=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 printf %s "checking for ftello... " >&6; } if test ${gl_cv_func_ftello+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { ftello (stdin); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ftello=yes else case e in #( e) gl_cv_func_ftello=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5 printf "%s\n" "$gl_cv_func_ftello" >&6; } if test $gl_cv_func_ftello = no; then HAVE_FTELLO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FTELLO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FTELLO=1 fi if test $REPLACE_FTELLO = 0; then case "$host_os" in mingw* | windows*) REPLACE_FTELLO=1 ;; esac fi if test $REPLACE_FTELLO = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 printf %s "checking whether ftello works... " >&6; } if test ${gl_cv_func_ftello_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ftello_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ftello_works="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_ftello_works="guessing yes" ;; esac if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #define TESTFILE "conftest.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) return 70; if (fwrite ("foogarsh", 1, 8, fp) < 8) { fclose (fp); return 71; } if (fclose (fp)) return 72; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) return 73; if (fseek (fp, -1, SEEK_END)) { fclose (fp); return 74; } if (!(getc (fp) == 'h')) { fclose (fp); return 1; } if (!(getc (fp) == EOF)) { fclose (fp); return 2; } if (!(ftell (fp) == 8)) { fclose (fp); return 3; } if (!(ftell (fp) == 8)) { fclose (fp); return 4; } if (!(putc ('!', fp) == '!')) { fclose (fp); return 5; } if (!(ftell (fp) == 9)) { fclose (fp); return 6; } if (!(fclose (fp) == 0)) return 7; fp = fopen (TESTFILE, "r"); if (fp == NULL) return 75; { char buf[10]; if (!(fread (buf, 1, 10, fp) == 9)) { fclose (fp); return 10; } if (!(memcmp (buf, "foogarsh!", 9) == 0)) { fclose (fp); return 11; } } if (!(fclose (fp) == 0)) return 12; /* The file's contents is now "foogarsh!". */ return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ftello_works=yes else case e in #( e) gl_cv_func_ftello_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5 printf "%s\n" "$gl_cv_func_ftello_works" >&6; } case "$gl_cv_func_ftello_works" in *yes) ;; *) REPLACE_FTELLO=1 printf "%s\n" "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h ;; esac fi if test $REPLACE_FTELLO = 0; then if test $gl_ftello_broken_after_ungetc = yes; then REPLACE_FTELLO=1 printf "%s\n" "#define FTELLO_BROKEN_AFTER_UNGETC 1" >>confdefs.h fi fi fi ac_fn_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getdtablesize" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_GETDTABLESIZE $ac_have_decl" >>confdefs.h if test -z "$gl_pthreadlib_body_done"; then gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_ANYTHREADLIB_EARLY. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : gl_have_pthread_h=yes else case e in #( e) gl_have_pthread_h=no ;; esac fi if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include pthread_mutex_t m; pthread_mutexattr_t ma; int main (void) { pthread_mutex_lock (&m); pthread_mutexattr_init (&ma); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_pthread_api=yes LIBPTHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done echo "$as_me:18483: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:18484: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. case "$host_os" in linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34) || (__GLIBC__ > 2) Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 then : gl_pthread_in_glibc=yes fi rm -rf conftest* ;; esac echo "$as_me:18510: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_kill=yes else case e in #( e) ac_cv_lib_pthread_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac fi else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lthr" >&5 printf %s "checking for pthread_kill in -lthr... " >&6; } if test ${ac_cv_lib_thr_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lthr $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_thr_pthread_kill=yes else case e in #( e) ac_cv_lib_thr_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thr_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_thr_pthread_kill" >&6; } if test "x$ac_cv_lib_thr_pthread_kill" = xyes then : if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lthr fi fi ;; esac fi elif test $gl_pthread_api != yes; then # Some library is needed. Try libpthread and libc_r. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_kill=yes else case e in #( e) ac_cv_lib_pthread_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : gl_pthread_api=yes LIBPTHREAD=-lpthread LIBPMULTITHREAD=-lpthread fi if test $gl_pthread_api != yes; then # For FreeBSD 4. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 printf %s "checking for pthread_kill in -lc_r... " >&6; } if test ${ac_cv_lib_c_r_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_c_r_pthread_kill=yes else case e in #( e) ac_cv_lib_c_r_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } if test "x$ac_cv_lib_c_r_pthread_kill" = xyes then : gl_pthread_api=yes LIBPTHREAD=-lc_r LIBPMULTITHREAD=-lc_r fi fi fi echo "$as_me:18744: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 printf %s "checking whether POSIX threads API is available... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 printf "%s\n" "$gl_pthread_api" >&6; } if test $gl_pthread_api = yes; then printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : SCHED_YIELD_LIB= else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5 printf %s "checking for sched_yield in -lrt... " >&6; } if test ${ac_cv_lib_rt_sched_yield+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char sched_yield (void); int main (void) { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_rt_sched_yield=yes else case e in #( e) ac_cv_lib_rt_sched_yield=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5 printf "%s\n" "$ac_cv_lib_rt_sched_yield" >&6; } if test "x$ac_cv_lib_rt_sched_yield" = xyes then : SCHED_YIELD_LIB=-lrt else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 printf %s "checking for sched_yield in -lposix4... " >&6; } if test ${ac_cv_lib_posix4_sched_yield+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char sched_yield (void); int main (void) { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_posix4_sched_yield=yes else case e in #( e) ac_cv_lib_posix4_sched_yield=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 printf "%s\n" "$ac_cv_lib_posix4_sched_yield" >&6; } if test "x$ac_cv_lib_posix4_sched_yield" = xyes then : SCHED_YIELD_LIB=-lposix4 fi ;; esac fi ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIB_SCHED_YIELD="$SCHED_YIELD_LIB" gl_pthreadlib_body_done=done fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setlocale (LC_ALL, NULL) is multithread-safe" >&5 printf %s "checking whether setlocale (LC_ALL, NULL) is multithread-safe... " >&6; } if test ${gl_cv_func_setlocale_null_all_mtsafe+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on musl libc, macOS, FreeBSD, NetBSD, OpenBSD, AIX, Haiku. *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | aix* | haiku*) gl_cv_func_setlocale_null_all_mtsafe=no ;; # Guess no on Cygwin < 3.4.6. cygwin*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED >= CYGWIN_VERSION_DLL_MAKE_COMBINED (3004, 6) Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 then : gl_cv_func_setlocale_null_all_mtsafe=yes else case e in #( e) gl_cv_func_setlocale_null_all_mtsafe=no ;; esac fi rm -rf conftest* ;; # Guess yes on glibc, HP-UX, IRIX, Solaris, native Windows. *-gnu* | gnu* | hpux* | irix* | solaris* | mingw* | windows*) gl_cv_func_setlocale_null_all_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_setlocale_null_all_mtsafe="$gl_cross_guess_normal" ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setlocale_null_all_mtsafe" >&5 printf "%s\n" "$gl_cv_func_setlocale_null_all_mtsafe" >&6; } case "$host_os" in mingw* | windows*) ;; *) if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then gl_cv_func_setlocale_null_all_mtsafe="trivially yes" fi ;; esac case "$gl_cv_func_setlocale_null_all_mtsafe" in *yes) SETLOCALE_NULL_ALL_MTSAFE=1 ;; *) SETLOCALE_NULL_ALL_MTSAFE=0 ;; esac printf "%s\n" "#define SETLOCALE_NULL_ALL_MTSAFE $SETLOCALE_NULL_ALL_MTSAFE" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether setlocale (category, NULL) is multithread-safe" >&5 printf %s "checking whether setlocale (category, NULL) is multithread-safe... " >&6; } if test ${gl_cv_func_setlocale_null_one_mtsafe+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on OpenBSD, AIX. openbsd* | aix*) gl_cv_func_setlocale_null_one_mtsafe=no ;; # Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, HP-UX, IRIX, Solaris, Haiku, Cygwin, native Windows. *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw* | windows*) gl_cv_func_setlocale_null_one_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_setlocale_null_one_mtsafe="$gl_cross_guess_normal" ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setlocale_null_one_mtsafe" >&5 printf "%s\n" "$gl_cv_func_setlocale_null_one_mtsafe" >&6; } case "$host_os" in mingw* | windows*) ;; *) if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then gl_cv_func_setlocale_null_one_mtsafe="trivially yes" fi ;; esac case "$gl_cv_func_setlocale_null_one_mtsafe" in *yes) SETLOCALE_NULL_ONE_MTSAFE=1 ;; *) SETLOCALE_NULL_ONE_MTSAFE=0 ;; esac printf "%s\n" "#define SETLOCALE_NULL_ONE_MTSAFE $SETLOCALE_NULL_ONE_MTSAFE" >>confdefs.h if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then case "$host_os" in mingw* | windows*) SETLOCALE_NULL_LIB= ;; *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 printf %s "checking whether imported symbols can be declared weak... " >&6; } if test ${gl_cv_have_weak+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in cygwin* | mingw* | windows*) gl_cv_have_weak="guessing no" ;; *) gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main (void) { xyzzy(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_have_weak=maybe fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test $gl_cv_have_weak = maybe; then if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 then : gl_cv_have_weak="guessing yes" else case e in #( e) gl_cv_have_weak="guessing no" ;; esac fi rm -rf conftest* else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #pragma weak fputs int main () { return (fputs == NULL); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_have_weak=yes else case e in #( e) gl_cv_have_weak=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac case "$gl_cv_have_weak" in *yes) case "$host_os" in freebsd* | dragonfly* | midnightbsd*) : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 cat < conftest2.c #include #pragma weak pthread_mutexattr_gettype int main () { return (pthread_mutexattr_gettype != NULL); } EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest ;; esac ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 printf "%s\n" "$gl_cv_have_weak" >&6; } case "$gl_cv_have_weak" in *yes) printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h ;; esac case "$gl_cv_have_weak" in *yes) SETLOCALE_NULL_LIB= ;; *) SETLOCALE_NULL_LIB="$LIBPTHREAD" ;; esac ;; esac else SETLOCALE_NULL_LIB= fi LIB_SETLOCALE_NULL="$SETLOCALE_NULL_LIB" if test $ac_cv_func_getlocalename_l = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getlocalename_l works" >&5 printf %s "checking whether getlocalename_l works... " >&6; } if test ${gl_cv_func_getlocalename_l_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in cygwin*) # Guess no on Cygwin. gl_cv_func_getlocalename_l_works="guessing no" ;; *) # Guess yes otherwise. gl_cv_func_getlocalename_l_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE); return strlen (ret) == 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getlocalename_l_works=yes else case e in #( e) gl_cv_func_getlocalename_l_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getlocalename_l_works" >&5 printf "%s\n" "$gl_cv_func_getlocalename_l_works" >&6; } case "$gl_cv_func_getlocalename_l_works" in *yes) ;; *) REPLACE_GETLOCALENAME_L=1 ;; esac else HAVE_GETLOCALENAME_L=0 fi if test $HAVE_GETLOCALENAME_L = 0 || test $REPLACE_GETLOCALENAME_L = 1; then GETLOCALENAME_L_LIB="$SETLOCALE_NULL_LIB" else GETLOCALENAME_L_LIB= fi HAVE_NEWLOCALE=1; HAVE_DUPLOCALE=1; HAVE_FREELOCALE=1; HAVE_GETLOCALENAME_L=1; REPLACE_LOCALECONV=0; REPLACE_SETLOCALE=0; REPLACE_NEWLOCALE=0; REPLACE_DUPLOCALE=0; REPLACE_FREELOCALE=0; REPLACE_GETLOCALENAME_L=0; REPLACE_STRUCT_LCONV=0; LOCALENAME_ENHANCE_LOCALE_FUNCS=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5 printf %s "checking whether locale.h defines locale_t... " >&6; } if test ${gl_cv_header_locale_has_locale_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include locale_t x; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_locale_has_locale_t=yes else case e in #( e) gl_cv_header_locale_has_locale_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5 printf "%s\n" "$gl_cv_header_locale_has_locale_t" >&6; } if test $ac_cv_header_xlocale_h = yes; then HAVE_XLOCALE_H=1 if test $gl_cv_header_locale_has_locale_t = yes; then gl_cv_header_locale_h_needs_xlocale_h=no else gl_cv_header_locale_h_needs_xlocale_h=yes fi HAVE_LOCALE_T=1 else HAVE_XLOCALE_H=0 gl_cv_header_locale_h_needs_xlocale_h=no if test $gl_cv_header_locale_has_locale_t = yes; then HAVE_LOCALE_T=1 else HAVE_LOCALE_T=0 fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uselocale" >&5 printf %s "checking for uselocale... " >&6; } if test ${gl_cv_onwards_func_uselocale+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "uselocale" "ac_cv_have_decl_uselocale" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_uselocale" = xyes then : fi if test $ac_cv_have_decl_uselocale = yes; then ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" if test "x$ac_cv_func_uselocale" = xyes then : fi if test $ac_cv_func_uselocale = yes; then gl_cv_onwards_func_uselocale=yes else gl_cv_onwards_func_uselocale='future OS version' fi else gl_cv_onwards_func_uselocale='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" if test "x$ac_cv_func_uselocale" = xyes then : fi gl_cv_onwards_func_uselocale=$ac_cv_func_uselocale ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_uselocale" >&5 printf "%s\n" "$gl_cv_onwards_func_uselocale" >&6; } case "$gl_cv_onwards_func_uselocale" in future*) ac_cv_func_uselocale=no ;; *) ac_cv_func_uselocale=$gl_cv_onwards_func_uselocale ;; esac if test $ac_cv_func_uselocale = yes; then printf "%s\n" "#define HAVE_USELOCALE 1" >>confdefs.h fi if test $ac_cv_func_uselocale = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uselocale works" >&5 printf %s "checking whether uselocale works... " >&6; } if test ${gt_cv_func_uselocale_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : # Guess no on AIX and z/OS, yes otherwise. case "$host_os" in aix* | openedition*) gt_cv_func_uselocale_works="guessing no" ;; *) gt_cv_func_uselocale_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_XLOCALE_H # include #endif locale_t loc1; int main () { uselocale (NULL); setlocale (LC_ALL, "en_US.UTF-8"); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gt_cv_func_uselocale_works=yes else case e in #( e) gt_cv_func_uselocale_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_uselocale_works" >&5 printf "%s\n" "$gt_cv_func_uselocale_works" >&6; } else gt_cv_func_uselocale_works=no fi case "$gt_cv_func_uselocale_works" in *yes) gt_working_uselocale=yes printf "%s\n" "#define HAVE_WORKING_USELOCALE 1" >>confdefs.h ;; *) gt_working_uselocale=no ;; esac case "$gt_cv_func_uselocale_works" in *yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fake locale system (OpenBSD, Android)" >&5 printf %s "checking for fake locale system (OpenBSD, Android)... " >&6; } if test ${gt_cv_locale_fake+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in *-android*) gt_cv_locale_fake=yes ;; *) if test "$cross_compiling" = yes then : case "$host_os" in openbsd*) gt_cv_locale_fake="guessing yes" ;; *) gt_cv_locale_fake="guessing no" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_XLOCALE_H # include #endif int main () { locale_t loc1, loc2; if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL) return 1; if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) return 1; loc1 = newlocale (LC_ALL_MASK, "de_DE.UTF-8", (locale_t)0); loc2 = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", (locale_t)0); return !(loc1 == loc2); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gt_cv_locale_fake=yes else case e in #( e) gt_cv_locale_fake=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fake" >&5 printf "%s\n" "$gt_cv_locale_fake" >&6; } ;; *) gt_cv_locale_fake=no ;; esac case "$gt_cv_locale_fake" in *yes) gt_fake_locales=yes printf "%s\n" "#define HAVE_FAKE_LOCALES 1" >>confdefs.h ;; *) gt_fake_locales=no ;; esac case "$gt_cv_func_uselocale_works" in *yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris 11.4 locale system" >&5 printf %s "checking for Solaris 11.4 locale system... " >&6; } if test ${gt_cv_locale_solaris114+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in solaris*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct _LC_locale_t *x; locale_t y; int main (void) { *y = x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gt_cv_locale_solaris114=yes else case e in #( e) gt_cv_locale_solaris114=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; *) gt_cv_locale_solaris114=no ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_solaris114" >&5 printf "%s\n" "$gt_cv_locale_solaris114" >&6; } ;; *) gt_cv_locale_solaris114=no ;; esac if test $gt_cv_locale_solaris114 = yes; then printf "%s\n" "#define HAVE_SOLARIS114_LOCALES 1" >>confdefs.h fi gt_nameless_locales=$gt_fake_locales case "$host_os" in aix*) gt_nameless_locales=yes { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AIX locales with LC_MESSAGES name" >&5 printf %s "checking for AIX locales with LC_MESSAGES name... " >&6; } if test ${gt_cv_locale_aix72+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Include , which defines __locale_t. */ #include locale_t x; int main (void) { return ((__locale_t) x)->locale_name[0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gt_cv_locale_aix72=yes else case e in #( e) gt_cv_locale_aix72=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_aix72" >&5 printf "%s\n" "$gt_cv_locale_aix72" >&6; } if test $gt_cv_locale_aix72 = yes; then printf "%s\n" "#define HAVE_AIX72_LOCALES 1" >>confdefs.h fi ;; esac if test $gt_nameless_locales = yes; then printf "%s\n" "#define HAVE_NAMELESS_LOCALES 1" >>confdefs.h fi if test $gt_working_uselocale = yes && test $gt_fake_locales = no; then gt_good_uselocale=yes printf "%s\n" "#define HAVE_GOOD_USELOCALE 1" >>confdefs.h else gt_good_uselocale=no fi if test $gt_working_uselocale = yes && test $gt_nameless_locales = yes; then gt_localename_enhances_locale_funcs=yes LOCALENAME_ENHANCE_LOCALE_FUNCS=1 printf "%s\n" "#define LOCALENAME_ENHANCE_LOCALE_FUNCS 1" >>confdefs.h else gt_localename_enhances_locale_funcs=no fi GL_GNULIB_LOCALECONV=0 GL_GNULIB_SETLOCALE=0 GL_GNULIB_SETLOCALE_NULL=0 GL_GNULIB_NEWLOCALE=0 GL_GNULIB_DUPLOCALE=0 GL_GNULIB_FREELOCALE=0 GL_GNULIB_GETLOCALENAME_L=0 GL_GNULIB_GETLOCALENAME_L_UNSAFE=0 GL_GNULIB_LOCALENAME_UNSAFE=0 if test $gl_cv_have_include_next = yes; then gl_cv_next_getopt_h='<'getopt.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_getopt_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_getopt_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'getopt.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_getopt_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_getopt_h gl_cv_next_getopt_h='"'$gl_header'"' else gl_cv_next_getopt_h='<'getopt.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 printf "%s\n" "$gl_cv_next_getopt_h" >&6; } fi NEXT_GETOPT_H=$gl_cv_next_getopt_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'getopt.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_getopt_h fi NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive if test $ac_cv_header_getopt_h = yes; then HAVE_GETOPT_H=1 else HAVE_GETOPT_H=0 fi gl_replace_getopt= if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then for ac_header in getopt.h do : ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" if test "x$ac_cv_header_getopt_h" = xyes then : printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h else case e in #( e) gl_replace_getopt=yes ;; esac fi done fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then for ac_func in getopt_long_only do : ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" if test "x$ac_cv_func_getopt_long_only" = xyes then : printf "%s\n" "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h else case e in #( e) gl_replace_getopt=yes ;; esac fi done fi if test -z "$gl_replace_getopt"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 printf %s "checking whether getopt is POSIX compatible... " >&6; } if test ${gl_cv_func_getopt_posix+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $cross_compiling = no; then if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static char program[] = "program"; static char a[] = "-a"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, a, foo, bar, NULL }; int c; c = getopt (4, argv, "ab"); if (!(c == 'a')) return 1; c = getopt (4, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) return 3; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getopt_posix=maybe else case e in #( e) gl_cv_func_getopt_posix=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi if test $gl_cv_func_getopt_posix = maybe; then if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static char program[] = "program"; static char donald[] = "donald"; static char p[] = "-p"; static char billy[] = "billy"; static char duck[] = "duck"; static char a[] = "-a"; static char bar[] = "bar"; char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; int c; c = getopt (7, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) return 5; if (!(strcmp (argv[1], "donald") == 0)) return 6; if (!(strcmp (argv[2], "-p") == 0)) return 7; if (!(strcmp (argv[3], "billy") == 0)) return 8; if (!(strcmp (argv[4], "duck") == 0)) return 9; if (!(strcmp (argv[5], "-a") == 0)) return 10; if (!(strcmp (argv[6], "bar") == 0)) return 11; if (!(optind == 1)) return 12; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getopt_posix=maybe else case e in #( e) gl_cv_func_getopt_posix=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi if test $gl_cv_func_getopt_posix = maybe; then if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { static char program[] = "program"; static char ab[] = "-ab"; char *argv[3] = { program, ab, NULL }; if (getopt (2, argv, "ab:") != 'a') return 13; if (getopt (2, argv, "ab:") != '?') return 14; if (optopt != 'b') return 15; if (optind != 2) return 16; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getopt_posix=yes else case e in #( e) gl_cv_func_getopt_posix=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi else case "$host_os" in darwin* | aix* | mingw* | windows*) gl_cv_func_getopt_posix="guessing no";; *) gl_cv_func_getopt_posix="guessing yes";; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 printf "%s\n" "$gl_cv_func_getopt_posix" >&6; } case "$gl_cv_func_getopt_posix" in *no) gl_replace_getopt=yes ;; esac fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 printf %s "checking for working GNU getopt function... " >&6; } if test ${gl_cv_func_getopt_gnu+y} then : printf %s "(cached) " >&6 else case e in #( e) # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the # optstring is necessary for programs like m4 that have POSIX-mandated # semantics for supporting options interspersed with files. # Also, since getopt_long is a GNU extension, we require optind=0. # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; # so take care to revert to the correct (non-)export state. gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #if defined __MACH__ && defined __APPLE__ /* Avoid a crash on Mac OS X. */ #include #include #include #include #include #include /* The exception port on which our thread listens. */ static mach_port_t our_exception_port; /* The main function of the thread listening for exceptions of type EXC_BAD_ACCESS. */ static void * mach_exception_thread (void *arg) { /* Buffer for a message to be received. */ struct { mach_msg_header_t head; mach_msg_body_t msgh_body; char data[1024]; } msg; mach_msg_return_t retval; /* Wait for a message on the exception port. */ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); if (retval != MACH_MSG_SUCCESS) abort (); exit (1); } static void nocrash_init (void) { mach_port_t self = mach_task_self (); /* Allocate a port on which the thread shall listen for exceptions. */ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) == KERN_SUCCESS) { /* See https://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ if (mach_port_insert_right (self, our_exception_port, our_exception_port, MACH_MSG_TYPE_MAKE_SEND) == KERN_SUCCESS) { /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting for us. */ exception_mask_t mask = EXC_MASK_BAD_ACCESS; /* Create the thread listening on the exception port. */ pthread_attr_t attr; pthread_t thread; if (pthread_attr_init (&attr) == 0 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { pthread_attr_destroy (&attr); /* Replace the exception port info for these exceptions with our own. Note that we replace the exception port for the entire task, not only for a particular thread. This has the effect that when our exception port gets the message, the thread specific exception port has already been asked, and we don't need to bother about it. See https://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ task_set_exception_ports (self, mask, our_exception_port, EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); } } } } #elif defined _WIN32 && ! defined __CYGWIN__ /* Avoid a crash on native Windows. */ #define WIN32_LEAN_AND_MEAN #include #include static LONG WINAPI exception_filter (EXCEPTION_POINTERS *ExceptionInfo) { switch (ExceptionInfo->ExceptionRecord->ExceptionCode) { case EXCEPTION_ACCESS_VIOLATION: case EXCEPTION_IN_PAGE_ERROR: case EXCEPTION_STACK_OVERFLOW: case EXCEPTION_GUARD_PAGE: case EXCEPTION_PRIV_INSTRUCTION: case EXCEPTION_ILLEGAL_INSTRUCTION: case EXCEPTION_DATATYPE_MISALIGNMENT: case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: case EXCEPTION_NONCONTINUABLE_EXCEPTION: exit (1); } return EXCEPTION_CONTINUE_SEARCH; } static void nocrash_init (void) { SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); } #else /* Avoid a crash on POSIX systems. */ #include #include /* A POSIX signal handler. */ static void exception_handler (int sig) { _exit (1); } static void nocrash_init (void) { #ifdef SIGSEGV signal (SIGSEGV, exception_handler); #endif #ifdef SIGBUS signal (SIGBUS, exception_handler); #endif } #endif int main (void) { int result = 0; nocrash_init(); /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */ { static char conftest[] = "conftest"; static char plus[] = "-+"; char *argv[3] = { conftest, plus, NULL }; opterr = 0; if (getopt (2, argv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { static char program[] = "program"; static char p[] = "-p"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, p, foo, bar, NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') result |= 2; else if (optarg != NULL) result |= 4; else if (getopt (4, argv, "p::") != -1) result |= 6; else if (optind != 2) result |= 8; } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { static char program[] = "program"; static char foo[] = "foo"; static char p[] = "-p"; char *argv[] = { program, foo, p, NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; else if (getopt (3, argv, "-p") != 'p') result |= 16; } /* This code fails on glibc 2.11. */ { static char program[] = "program"; static char b[] = "-b"; static char a[] = "-a"; char *argv[] = { program, b, a, NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 32; else if (getopt (3, argv, "+:a:b") != ':') result |= 32; } /* This code dumps core on glibc 2.14. */ { static char program[] = "program"; static char w[] = "-W"; static char dummy[] = "dummy"; char *argv[] = { program, w, dummy, NULL }; optind = opterr = 1; if (getopt (3, argv, "W;") != 'W') result |= 64; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getopt_gnu=yes else case e in #( e) gl_cv_func_getopt_gnu=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi case $gl_had_POSIXLY_CORRECT in exported) ;; yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 printf "%s\n" "$gl_cv_func_getopt_gnu" >&6; } if test "$gl_cv_func_getopt_gnu" != yes; then gl_replace_getopt=yes else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5 printf %s "checking for working GNU getopt_long function... " >&6; } if test ${gl_cv_func_getopt_long_gnu+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in openbsd*) gl_cv_func_getopt_long_gnu="guessing no";; *) gl_cv_func_getopt_long_gnu="guessing yes";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main (void) { static const struct option long_options[] = { { "xtremely-",no_argument, NULL, 1003 }, { "xtra", no_argument, NULL, 1001 }, { "xtreme", no_argument, NULL, 1002 }, { "xtremely", no_argument, NULL, 1003 }, { NULL, 0, NULL, 0 } }; /* This code fails on OpenBSD 5.0. */ { static char program[] = "program"; static char xtremel[] = "--xtremel"; char *argv[] = { program, xtremel, NULL }; int option_index; optind = 1; opterr = 0; if (getopt_long (2, argv, "", long_options, &option_index) != 1003) return 1; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getopt_long_gnu=yes else case e in #( e) gl_cv_func_getopt_long_gnu=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5 printf "%s\n" "$gl_cv_func_getopt_long_gnu" >&6; } case "$gl_cv_func_getopt_long_gnu" in *yes) ;; *) gl_replace_getopt=yes ;; esac fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glibc-compatible sys/cdefs.h" >&5 printf %s "checking for glibc-compatible sys/cdefs.h... " >&6; } if test ${gl_cv_header_sys_cdefs_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include enum { foo = __GNUC_PREREQ (14, 1) } bar; _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_sys_cdefs_h=yes else case e in #( e) gl_cv_header_sys_cdefs_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_cdefs_h" >&5 printf "%s\n" "$gl_cv_header_sys_cdefs_h" >&6; } if test "$gl_cv_header_sys_cdefs_h" = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi case "$host_os" in *-musl* | midipix*) printf "%s\n" "#define MUSL_LIBC 1" >>confdefs.h ;; esac HAVE_GETRANDOM=1; REPLACE_GETRANDOM=0; GL_GNULIB_GETRANDOM=0 if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_saved_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_saved_prefix" # Check whether --with-gnu-ld was given. if test ${with_gnu_ld+y} then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else case e in #( e) with_gnu_ld=no ;; esac fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 printf %s "checking for ld... " >&6; } elif test "$GCC" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 printf %s "checking for ld used by $CC... " >&6; } elif test "$with_gnu_ld" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 printf %s "checking for GNU ld... " >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 printf %s "checking for non-GNU ld... " >&6; } fi if test -n "$LD"; then # Let the user override the test with a path. : else if test ${acl_cv_path_LD+y} then : printf %s "(cached) " >&6 else case e in #( e) acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw* | windows*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_saved_IFS" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : # The compiler produces 64-bit code. Add option '-b64' so that the # linker groks 64-bit object files. case "$acl_cv_path_LD " in *" -b64 "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; sparc64-*-netbsd*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) # The compiler produces 32-bit code. Add option '-m elf32_sparc' # so that the linker groks 32-bit object files. case "$acl_cv_path_LD " in *" -m elf32_sparc "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; esac ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac ;; esac fi LD="$acl_cv_path_LD" fi if test -n "$LD"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 printf "%s\n" "$LD" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 printf %s "checking if the linker ($LD) is GNU ld... " >&6; } if test ${acl_cv_prog_gnu_ld+y} then : printf %s "(cached) " >&6 else case e in #( e) # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 printf %s "checking for shared library run path origin... " >&6; } if test ${acl_cv_rpath+y} then : printf %s "(cached) " >&6 else case e in #( e) CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 printf "%s\n" "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test ${enable_rpath+y} then : enableval=$enable_rpath; : else case e in #( e) enable_rpath=yes ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 printf %s "checking 32-bit host C ABI... " >&6; } if test ${gl_cv_host_cpu_c_abi_32bit+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_cpu" in # CPUs that only support a 32-bit ABI. arc \ | bfin \ | cris* \ | csky \ | epiphany \ | ft32 \ | h8300 \ | m68k \ | microblaze | microblazeel \ | nds32 | nds32le | nds32be \ | nios2 | nios2eb | nios2el \ | or1k* \ | or32 \ | sh | sh1234 | sh1234elb \ | tic6x \ | xtensa* ) gl_cv_host_cpu_c_abi_32bit=yes ;; # CPUs that only support a 64-bit ABI. alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ | mmix ) gl_cv_host_cpu_c_abi_32bit=no ;; *) if test -n "$gl_cv_host_cpu_c_abi"; then case "$gl_cv_host_cpu_c_abi" in i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | loongarch32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) gl_cv_host_cpu_c_abi_32bit=yes ;; x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | loongarch64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) gl_cv_host_cpu_c_abi_32bit=no ;; *) gl_cv_host_cpu_c_abi_32bit=unknown ;; esac else gl_cv_host_cpu_c_abi_32bit=unknown fi if test $gl_cv_host_cpu_c_abi_32bit = unknown; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int test_pointer_size[sizeof (void *) - 5]; _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_host_cpu_c_abi_32bit=no else case e in #( e) gl_cv_host_cpu_c_abi_32bit=yes ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; } HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5 printf %s "checking for ELF binary format... " >&6; } if test ${gl_cv_elf+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C)) Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 then : gl_cv_elf=yes else case e in #( e) gl_cv_elf=no ;; esac fi rm -rf conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5 printf "%s\n" "$gl_cv_elf" >&6; } if test $gl_cv_elf = yes; then # Extract the ELF class of a file (5th byte) in decimal. # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header if od -A x < /dev/null >/dev/null 2>/dev/null; then # Use POSIX od. func_elfclass () { od -A n -t d1 -j 4 -N 1 } else # Use BSD hexdump. func_elfclass () { dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' echo } fi # Use 'expr', not 'test', to compare the values of func_elfclass, because on # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002, # not 1 or 2. case $HOST_CPU_C_ABI_32BIT in yes) # 32-bit ABI. acl_is_expected_elfclass () { expr "`func_elfclass | sed -e 's/[ ]//g'`" = 1 > /dev/null } ;; no) # 64-bit ABI. acl_is_expected_elfclass () { expr "`func_elfclass | sed -e 's/[ ]//g'`" = 2 > /dev/null } ;; *) # Unknown. acl_is_expected_elfclass () { : } ;; esac else acl_is_expected_elfclass () { : } fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 printf %s "checking for the common suffixes of directories in the library search path... " >&6; } if test ${acl_cv_libdirstems+y} then : printf %s "(cached) " >&6 else case e in #( e) acl_libdirstem=lib acl_libdirstem2= acl_libdirstem3= case "$host_os" in solaris*) if test $HOST_CPU_C_ABI_32BIT = no; then acl_libdirstem2=lib/64 case "$host_cpu" in sparc*) acl_libdirstem3=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; esac fi ;; netbsd*) if test $HOST_CPU_C_ABI_32BIT != no; then case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparc ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test $HOST_CPU_C_ABI_32BIT != no; then # 32-bit or unknown ABI. if test -d /usr/lib32; then acl_libdirstem2=lib32 fi fi if test $HOST_CPU_C_ABI_32BIT != yes; then # 64-bit or unknown ABI. if test -d /usr/lib64; then acl_libdirstem3=lib64 fi fi if test -n "$searchpath"; then acl_saved_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib32 ) acl_libdirstem2=lib32 ;; */lib64 ) acl_libdirstem3=lib64 ;; esac ;; esac fi done IFS="$acl_saved_IFS" if test $HOST_CPU_C_ABI_32BIT = yes; then # 32-bit ABI. acl_libdirstem3= fi if test $HOST_CPU_C_ABI_32BIT = no; then # 64-bit ABI. acl_libdirstem2= fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 printf "%s\n" "$acl_cv_libdirstems" >&6; } acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` use_additional=yes acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" # Check whether --with-libiconv-prefix was given. if test ${with_libiconv_prefix+y} then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" additional_libdir2="$withval/$acl_libdirstem2" additional_libdir3="$withval/$acl_libdirstem3" fi fi fi if test "X$additional_libdir2" = "X$additional_libdir"; then additional_libdir2= fi if test "X$additional_libdir3" = "X$additional_libdir"; then additional_libdir3= fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do if test "X$found_dir" = "X"; then eval dir=\$$additional_libdir_variable if test -n "$dir"; then if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi fi done fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem3 | */$acl_libdirstem3/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then saved_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$saved_libdir" for dep in $dependency_libs; do case "$dep" in -L*) dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then haveit= if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dep=`echo "X$dep" | sed -e 's/^X-l//'` if test "X$dep" != Xc \ || case $host_os in linux* | gnu* | k*bsd*-gnu) false ;; *) true ;; esac; then names_next_round="$names_next_round $dep" fi ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_saved_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi ICONV_CONST=; REPLACE_ICONV=0; REPLACE_ICONV_OPEN=0; REPLACE_ICONV_UTF=0; GL_GENERATE_ICONV_H=false if false; then GL_GENERATE_ICONV_H=true fi gl_saved_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 printf %s "checking for iconv... " >&6; } if test ${am_cv_func_iconv+y} then : printf %s "(cached) " >&6 else case e in #( e) am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_saved_LIBS" fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 printf "%s\n" "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 printf %s "checking for working iconv... " >&6; } if test ${am_cv_func_iconv_works+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do if test "$cross_compiling" = yes then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif int main (void) { int result = 0; /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from successful returns. This is even documented in */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against macOS 14.4 bug: Failures are not distinguishable from successful returns. POSIX:2018 says: "The iconv() function shall ... return the number of non-identical conversions performed." But here, the conversion always does transliteration (the suffixes "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and does not report when it does a non-identical conversion. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); /* Here: With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ. With musl libc, NetBSD 10, Solaris 11: res == 1. With macOS 14.4: res == 0, output is "l". */ if (res == 0) result |= 2; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 4; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 8; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 16; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 32; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi test "$am_cv_func_iconv_works" = no || break done LIBS="$gl_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 printf "%s\n" "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 printf %s "checking how to link with libiconv... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 printf "%s\n" "$LIBICONV" >&6; } else CPPFLAGS="$gl_saved_CPPFLAGS" LIBICONV= LTLIBICONV= fi if test "$am_cv_func_iconv" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5 printf %s "checking whether iconv is compatible with its POSIX signature... " >&6; } if test ${gl_cv_iconv_nonconst+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_iconv_nonconst=yes else case e in #( e) gl_cv_iconv_nonconst=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5 printf "%s\n" "$gl_cv_iconv_nonconst" >&6; } else gl_cv_iconv_nonconst=yes fi if test $gl_cv_iconv_nonconst = yes; then iconv_arg1="" else iconv_arg1="const" fi printf "%s\n" "#define ICONV_CONST $iconv_arg1" >>confdefs.h if test $gl_cv_iconv_nonconst != yes; then ICONV_CONST="const" fi if test "$am_func_iconv" = yes; then if test -n "$LIBICONV"; then am_cv_func_iconv_summary='yes, in libiconv' else am_cv_func_iconv_summary='yes, in libc' fi else if test "$am_cv_func_iconv" = yes; then am_cv_func_iconv_summary='not working, consider installing GNU libiconv' else am_cv_func_iconv_summary='no, consider installing GNU libiconv' fi fi GL_GNULIB_ICONV=0 if test $gl_cv_have_include_next = yes; then gl_cv_next_iconv_h='<'iconv.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_iconv_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_iconv_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'iconv.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_iconv_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_iconv_h gl_cv_next_iconv_h='"'$gl_header'"' else gl_cv_next_iconv_h='<'iconv.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_iconv_h" >&5 printf "%s\n" "$gl_cv_next_iconv_h" >&6; } fi NEXT_ICONV_H=$gl_cv_next_iconv_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'iconv.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_iconv_h fi NEXT_AS_FIRST_DIRECTIVE_ICONV_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5 printf %s "checking for IPv4 sockets... " >&6; } if test ${gl_cv_socket_ipv4+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif int main (void) { int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_socket_ipv4=yes else case e in #( e) gl_cv_socket_ipv4=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5 printf "%s\n" "$gl_cv_socket_ipv4" >&6; } if test $gl_cv_socket_ipv4 = yes; then printf "%s\n" "#define HAVE_IPV4 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5 printf %s "checking for IPv6 sockets... " >&6; } if test ${gl_cv_socket_ipv6+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif int main (void) { int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_socket_ipv6=yes else case e in #( e) gl_cv_socket_ipv6=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5 printf "%s\n" "$gl_cv_socket_ipv6" >&6; } if test $gl_cv_socket_ipv6 = yes; then printf "%s\n" "#define HAVE_IPV6 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" if test "x$ac_cv_type_off_t" = xyes then : else case e in #( e) printf "%s\n" "#define off_t long int" >>confdefs.h ;; esac fi if test $gl_cv_have_include_next = yes; then gl_cv_next_limits_h='<'limits.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_limits_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_limits_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'limits.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_limits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_limits_h gl_cv_next_limits_h='"'$gl_header'"' else gl_cv_next_limits_h='<'limits.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5 printf "%s\n" "$gl_cv_next_limits_h" >&6; } fi NEXT_LIMITS_H=$gl_cv_next_limits_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'limits.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_limits_h fi NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether limits.h has WORD_BIT, BOOL_WIDTH etc." >&5 printf %s "checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... " >&6; } if test ${gl_cv_header_limits_width+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include long long llm = LLONG_MAX; int wb = WORD_BIT; int ullw = ULLONG_WIDTH; int bw = BOOL_WIDTH; int bm = BOOL_MAX; int mblm = MB_LEN_MAX; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_limits_width=yes else case e in #( e) gl_cv_header_limits_width=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_width" >&5 printf "%s\n" "$gl_cv_header_limits_width" >&6; } GL_GENERATE_LIMITS_H=true if test "$gl_cv_header_limits_width" = yes then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether limits.h has SSIZE_MAX" >&5 printf %s "checking whether limits.h has SSIZE_MAX... " >&6; } if test ${gl_cv_header_limits_ssize_max+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef SSIZE_MAX #error "SSIZE_MAX is not defined" #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_limits_ssize_max=yes else case e in #( e) gl_cv_header_limits_ssize_max=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_limits_ssize_max" >&5 printf "%s\n" "$gl_cv_header_limits_ssize_max" >&6; } if test "$gl_cv_header_limits_ssize_max" = yes; then GL_GENERATE_LIMITS_H=false fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 printf %s "checking for wint_t... " >&6; } if test ${gt_cv_c_wint_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include wint_t foo = (wchar_t)'\0'; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gt_cv_c_wint_t=yes else case e in #( e) gt_cv_c_wint_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 printf "%s\n" "$gt_cv_c_wint_t" >&6; } if test $gt_cv_c_wint_t = yes; then printf "%s\n" "#define HAVE_WINT_T 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wint_t is large enough" >&5 printf %s "checking whether wint_t is large enough... " >&6; } if test ${gl_cv_type_wint_t_large_enough+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_wint_t_large_enough=yes else case e in #( e) gl_cv_type_wint_t_large_enough=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wint_t_large_enough" >&5 printf "%s\n" "$gl_cv_type_wint_t_large_enough" >&6; } if test $gl_cv_type_wint_t_large_enough = no; then GNULIBHEADERS_OVERRIDE_WINT_T=1 else GNULIBHEADERS_OVERRIDE_WINT_T=0 fi else GNULIBHEADERS_OVERRIDE_WINT_T=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler produces multi-arch binaries" >&5 printf %s "checking whether the compiler produces multi-arch binaries... " >&6; } if test ${gl_cv_c_multiarch+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_c_multiarch=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO" then : arch= prev= for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in i?86 | x86_64 | ppc | ppc64 | arm | arm64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else gl_cv_c_multiarch=yes fi ;; esac prev= else if test "x$word" = "x-arch"; then prev=arch fi fi done fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_multiarch" >&5 printf "%s\n" "$gl_cv_c_multiarch" >&6; } if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else APPLE_UNIVERSAL_BUILD=0 fi printf "%s\n" "#define HAVE_LONG_LONG_INT 1" >>confdefs.h printf "%s\n" "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi if test $ac_cv_header_inttypes_h = yes; then HAVE_INTTYPES_H=1 else HAVE_INTTYPES_H=0 fi if test $ac_cv_header_sys_types_h = yes; then HAVE_SYS_TYPES_H=1 else HAVE_SYS_TYPES_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_stdint_h='<'stdint.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_stdint_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_stdint_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdint.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdint_h gl_cv_next_stdint_h='"'$gl_header'"' else gl_cv_next_stdint_h='<'stdint.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 printf "%s\n" "$gl_cv_next_stdint_h" >&6; } fi NEXT_STDINT_H=$gl_cv_next_stdint_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdint.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdint_h fi NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive if test $ac_cv_header_stdint_h = yes; then HAVE_STDINT_H=1 else HAVE_STDINT_H=0 fi if test $ac_cv_header_stdint_h = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 printf %s "checking whether stdint.h conforms to C99... " >&6; } if test ${gl_cv_header_working_stdint_h+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_header_working_stdint_h=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ #if !(defined WCHAR_MIN && defined WCHAR_MAX) #error "WCHAR_MIN, WCHAR_MAX not defined in " #endif #include #include #if HAVE_WCHAR_H # include #endif #ifdef INT8_MAX int8_t a1 = INT8_MAX; int8_t a1min = INT8_MIN; #endif #ifdef INT16_MAX int16_t a2 = INT16_MAX; int16_t a2min = INT16_MIN; #endif #ifdef INT32_MAX int32_t a3 = INT32_MAX; int32_t a3min = INT32_MIN; #endif #ifdef INT64_MAX int64_t a4 = INT64_MAX; int64_t a4min = INT64_MIN; #endif #ifdef UINT8_MAX uint8_t b1 = UINT8_MAX; #else typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; #endif #ifdef UINT16_MAX uint16_t b2 = UINT16_MAX; #endif #ifdef UINT32_MAX uint32_t b3 = UINT32_MAX; #endif #ifdef UINT64_MAX uint64_t b4 = UINT64_MAX; #endif int_least8_t c1 = INT8_C (0x7f); int_least8_t c1max = INT_LEAST8_MAX; int_least8_t c1min = INT_LEAST8_MIN; int_least16_t c2 = INT16_C (0x7fff); int_least16_t c2max = INT_LEAST16_MAX; int_least16_t c2min = INT_LEAST16_MIN; int_least32_t c3 = INT32_C (0x7fffffff); int_least32_t c3max = INT_LEAST32_MAX; int_least32_t c3min = INT_LEAST32_MIN; int_least64_t c4 = INT64_C (0x7fffffffffffffff); int_least64_t c4max = INT_LEAST64_MAX; int_least64_t c4min = INT_LEAST64_MIN; uint_least8_t d1 = UINT8_C (0xff); uint_least8_t d1max = UINT_LEAST8_MAX; uint_least16_t d2 = UINT16_C (0xffff); uint_least16_t d2max = UINT_LEAST16_MAX; uint_least32_t d3 = UINT32_C (0xffffffff); uint_least32_t d3max = UINT_LEAST32_MAX; uint_least64_t d4 = UINT64_C (0xffffffffffffffff); uint_least64_t d4max = UINT_LEAST64_MAX; int_fast8_t e1 = INT_FAST8_MAX; int_fast8_t e1min = INT_FAST8_MIN; int_fast16_t e2 = INT_FAST16_MAX; int_fast16_t e2min = INT_FAST16_MIN; int_fast32_t e3 = INT_FAST32_MAX; int_fast32_t e3min = INT_FAST32_MIN; int_fast64_t e4 = INT_FAST64_MAX; int_fast64_t e4min = INT_FAST64_MIN; uint_fast8_t f1 = UINT_FAST8_MAX; uint_fast16_t f2 = UINT_FAST16_MAX; uint_fast32_t f3 = UINT_FAST32_MAX; uint_fast64_t f4 = UINT_FAST64_MAX; #ifdef INTPTR_MAX intptr_t g = INTPTR_MAX; intptr_t gmin = INTPTR_MIN; #endif #ifdef UINTPTR_MAX uintptr_t h = UINTPTR_MAX; #endif intmax_t i = INTMAX_MAX; uintmax_t j = UINTMAX_MAX; /* Check that SIZE_MAX has the correct type, if possible. */ /* ISO C 11 mandates _Generic, but GCC versions < 4.9 lack it. */ #if 201112 <= __STDC_VERSION__ \ && (!defined __GNUC__ || 4 < __GNUC__ + (9 <= __GNUC_MINOR__) \ || defined __clang__) int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || 4 <= __clang_major__ || defined __IBM__TYPEOF__ \ || (0x5110 <= __SUNPRO_C && !__STDC__) || 1939 <= _MSC_VER) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif #include /* for CHAR_BIT */ #define TYPE_MINIMUM(t) \ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) #define TYPE_MAXIMUM(t) \ ((t) ((t) 0 < (t) -1 \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) struct s { int check_PTRDIFF: PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ? 1 : -1; /* Detect bug in FreeBSD 6.0/ia64 and FreeBSD 13.0/arm64. */ int check_SIG_ATOMIC: SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ? 1 : -1; int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; int check_WCHAR: WCHAR_MIN == TYPE_MINIMUM (wchar_t) && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ? 1 : -1; /* Detect bug in mingw. */ int check_WINT: WINT_MIN == TYPE_MINIMUM (wint_t) && WINT_MAX == TYPE_MAXIMUM (wint_t) ? 1 : -1; /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ int check_UINT8_C: (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; int check_UINT16_C: (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; /* Detect bugs in OpenBSD 3.9 stdint.h. */ #ifdef UINT8_MAX int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; #endif #ifdef UINT16_MAX int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; #endif #ifdef UINT32_MAX int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; #endif #ifdef UINT64_MAX int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; #endif int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; }; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_header_working_stdint_h="guessing yes" ;; # In general, assume it works. *) gl_cv_header_working_stdint_h="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include #include #include #if HAVE_WCHAR_H # include #endif #include #include #define MVAL(macro) MVAL1(macro) #define MVAL1(expression) #expression static const char *macro_values[] = { #ifdef INT8_MAX MVAL (INT8_MAX), #endif #ifdef INT16_MAX MVAL (INT16_MAX), #endif #ifdef INT32_MAX MVAL (INT32_MAX), #endif #ifdef INT64_MAX MVAL (INT64_MAX), #endif #ifdef UINT8_MAX MVAL (UINT8_MAX), #endif #ifdef UINT16_MAX MVAL (UINT16_MAX), #endif #ifdef UINT32_MAX MVAL (UINT32_MAX), #endif #ifdef UINT64_MAX MVAL (UINT64_MAX), #endif NULL }; int main (void) { const char **mv; for (mv = macro_values; *mv != NULL; mv++) { const char *value = *mv; /* Test whether it looks like a cast expression. */ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 || strncmp (value, "((int)"/*)*/, 6) == 0 || strncmp (value, "((signed short)"/*)*/, 15) == 0 || strncmp (value, "((signed char)"/*)*/, 14) == 0) return mv - macro_values + 1; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_header_working_stdint_h=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 printf "%s\n" "$gl_cv_header_working_stdint_h" >&6; } fi HAVE_C99_STDINT_H=0 HAVE_SYS_BITYPES_H=0 HAVE_SYS_INTTYPES_H=0 GL_GENERATE_STDINT_H=true case "$gl_cv_header_working_stdint_h" in *yes) HAVE_C99_STDINT_H=1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h works without ISO C predefines" >&5 printf %s "checking whether stdint.h works without ISO C predefines... " >&6; } if test ${gl_cv_header_stdint_without_STDC_macros+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_header_stdint_without_STDC_macros=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #include #include #include #if HAVE_WCHAR_H # include #endif intmax_t im = INTMAX_MAX; int32_t i32 = INT32_C (0x7fffffff); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_stdint_without_STDC_macros=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_without_STDC_macros" >&5 printf "%s\n" "$gl_cv_header_stdint_without_STDC_macros" >&6; } if test $gl_cv_header_stdint_without_STDC_macros = no; then printf "%s\n" "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h printf "%s\n" "#define __STDC_LIMIT_MACROS 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5 printf %s "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; } if test ${gl_cv_header_stdint_width+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_header_stdint_width=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include #include #include #if HAVE_WCHAR_H # include #endif int iw = UINTMAX_WIDTH; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_stdint_width=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_width" >&5 printf "%s\n" "$gl_cv_header_stdint_width" >&6; } if test "$gl_cv_header_stdint_width" = yes; then GL_GENERATE_STDINT_H=false fi ;; *) ac_fn_c_check_header_compile "$LINENO" "sys/inttypes.h" "ac_cv_header_sys_inttypes_h" "$ac_includes_default" if test "x$ac_cv_header_sys_inttypes_h" = xyes then : printf "%s\n" "#define HAVE_SYS_INTTYPES_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/bitypes.h" "ac_cv_header_sys_bitypes_h" "$ac_includes_default" if test "x$ac_cv_header_sys_bitypes_h" = xyes then : printf "%s\n" "#define HAVE_SYS_BITYPES_H 1" >>confdefs.h fi if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 fi if test $ac_cv_header_sys_bitypes_h = yes; then HAVE_SYS_BITYPES_H=1 fi if test $APPLE_UNIVERSAL_BUILD = 0; then for gltype in ptrdiff_t size_t ; do { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 printf %s "checking for bit size of $gltype... " >&6; } if eval test \${gl_cv_bitsizeof_${gltype}+y} then : printf %s "(cached) " >&6 else case e in #( e) if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " #include #include #if HAVE_WCHAR_H # include #endif #include " then : else case e in #( e) result=unknown ;; esac fi eval gl_cv_bitsizeof_${gltype}=\$result ;; esac fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h eval BITSIZEOF_${GLTYPE}=\$result done fi for gltype in sig_atomic_t wchar_t wint_t ; do { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 printf %s "checking for bit size of $gltype... " >&6; } if eval test \${gl_cv_bitsizeof_${gltype}+y} then : printf %s "(cached) " >&6 else case e in #( e) if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " #include #include #if HAVE_WCHAR_H # include #endif #include " then : else case e in #( e) result=unknown ;; esac fi eval gl_cv_bitsizeof_${gltype}=\$result ;; esac fi eval ac_res=\$gl_cv_bitsizeof_${gltype} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` printf "%s\n" "#define BITSIZEOF_${GLTYPE} $result" >>confdefs.h eval BITSIZEOF_${GLTYPE}=\$result done for gltype in sig_atomic_t wchar_t wint_t ; do { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 printf %s "checking whether $gltype is signed... " >&6; } if eval test \${gl_cv_type_${gltype}_signed+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_WCHAR_H # include #endif int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : result=yes else case e in #( e) result=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval gl_cv_type_${gltype}_signed=\$result ;; esac fi eval ac_res=\$gl_cv_type_${gltype}_signed { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then printf "%s\n" "#define HAVE_SIGNED_${GLTYPE} 1" >>confdefs.h eval HAVE_SIGNED_${GLTYPE}=1 else eval HAVE_SIGNED_${GLTYPE}=0 fi done gl_cv_type_ptrdiff_t_signed=yes gl_cv_type_size_t_signed=no if test $APPLE_UNIVERSAL_BUILD = 0; then for gltype in ptrdiff_t size_t ; do { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 printf %s "checking for $gltype integer literal suffix... " >&6; } if eval test \${gl_cv_type_${gltype}_suffix+y} then : printf %s "(cached) " >&6 else case e in #( e) eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_WCHAR_H # include #endif extern $gltype foo; extern $gltype1 foo; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done ;; esac fi eval ac_res=\$gl_cv_type_${gltype}_suffix { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result printf "%s\n" "#define ${GLTYPE}_SUFFIX $result" >>confdefs.h done fi for gltype in sig_atomic_t wchar_t wint_t ; do { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 printf %s "checking for $gltype integer literal suffix... " >&6; } if eval test \${gl_cv_type_${gltype}_suffix+y} then : printf %s "(cached) " >&6 else case e in #( e) eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_WCHAR_H # include #endif extern $gltype foo; extern $gltype1 foo; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval gl_cv_type_${gltype}_suffix=\$glsuf fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done ;; esac fi eval ac_res=\$gl_cv_type_${gltype}_suffix { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result printf "%s\n" "#define ${GLTYPE}_SUFFIX $result" >>confdefs.h done if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then BITSIZEOF_WINT_T=32 fi ;; esac GL_GENERATE_LIMITS_H=true HAVE_DECL_IMAXABS=1; HAVE_DECL_IMAXDIV=1; HAVE_DECL_STRTOIMAX=1; HAVE_DECL_STRTOUMAX=1; HAVE_IMAXDIV_T=1; HAVE_IMAXABS=1; HAVE_IMAXDIV=1; REPLACE_IMAXABS=0; REPLACE_IMAXDIV=0; REPLACE_STRTOIMAX=0; REPLACE_STRTOUMAX=0; INT32_MAX_LT_INTMAX_MAX=1; INT64_MAX_EQ_LONG_MAX='defined _LP64'; PRIPTR_PREFIX=__PRIPTR_PREFIX; UINT32_MAX_LT_UINTMAX_MAX=1; UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; if test $gl_cv_have_include_next = yes; then gl_cv_next_inttypes_h='<'inttypes.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_inttypes_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_inttypes_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'inttypes.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_inttypes_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_inttypes_h gl_cv_next_inttypes_h='"'$gl_header'"' else gl_cv_next_inttypes_h='<'inttypes.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 printf "%s\n" "$gl_cv_next_inttypes_h" >&6; } fi NEXT_INTTYPES_H=$gl_cv_next_inttypes_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'inttypes.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_inttypes_h fi NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive PRIPTR_PREFIX= if $GL_GENERATE_STDINT_H; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _WIN64 LLP64 #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : PRIPTR_PREFIX='"l"' else case e in #( e) PRIPTR_PREFIX='"ll"' ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else for glpfx in '' l ll I64; do case $glpfx in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; I64) gltype1='__int64';; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern intptr_t foo; extern $gltype1 foo; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : PRIPTR_PREFIX='"'$glpfx'"' fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test -n "$PRIPTR_PREFIX" && break done fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5 printf %s "checking whether INT32_MAX < INTMAX_MAX... " >&6; } if test ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined INT32_MAX && defined INTMAX_MAX #define CONDITION (INT32_MAX < INTMAX_MAX) #else #define CONDITION (sizeof (int) < sizeof (long long int)) #endif int test[CONDITION ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes else case e in #( e) gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5 printf "%s\n" "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; } if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then INT32_MAX_LT_INTMAX_MAX=1; else INT32_MAX_LT_INTMAX_MAX=0; fi if test $APPLE_UNIVERSAL_BUILD = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5 printf %s "checking whether INT64_MAX == LONG_MAX... " >&6; } if test ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined INT64_MAX #define CONDITION (INT64_MAX == LONG_MAX) #else #define CONDITION (sizeof (long long int) == sizeof (long int)) #endif int test[CONDITION ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes else case e in #( e) gl_cv_test_INT64_MAX_EQ_LONG_MAX=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5 printf "%s\n" "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; } if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then INT64_MAX_EQ_LONG_MAX=1; else INT64_MAX_EQ_LONG_MAX=0; fi else INT64_MAX_EQ_LONG_MAX=-1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5 printf %s "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; } if test ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined UINT32_MAX && defined UINTMAX_MAX #define CONDITION (UINT32_MAX < UINTMAX_MAX) #else #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int)) #endif int test[CONDITION ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes else case e in #( e) gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5 printf "%s\n" "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; } if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then UINT32_MAX_LT_UINTMAX_MAX=1; else UINT32_MAX_LT_UINTMAX_MAX=0; fi if test $APPLE_UNIVERSAL_BUILD = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5 printf %s "checking whether UINT64_MAX == ULONG_MAX... " >&6; } if test ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if defined UINT64_MAX #define CONDITION (UINT64_MAX == ULONG_MAX) #else #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int)) #endif int test[CONDITION ? 1 : -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes else case e in #( e) gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5 printf "%s\n" "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; } if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then UINT64_MAX_EQ_ULONG_MAX=1; else UINT64_MAX_EQ_ULONG_MAX=0; fi else UINT64_MAX_EQ_ULONG_MAX=-1 fi GL_GNULIB_IMAXABS=0 GL_GNULIB_IMAXDIV=0 GL_GNULIB_STRTOIMAX=0 GL_GNULIB_STRTOUMAX=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5 printf %s "checking where to find the exponent in a 'long double'... " >&6; } if test ${gl_cv_cc_long_double_expbit0+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : gl_cv_cc_long_double_expbit0="unknown" case "$host_os" in mingw* | windows*) # On native Windows (little-endian), we know the result # in two cases: mingw, MSVC. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __MINGW32__ Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_cc_long_double_expbit0="word 2 bit 0" fi rm -rf conftest* cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_cc_long_double_expbit0="word 1 bit 20" fi rm -rf conftest* ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { long double value; unsigned int word[NWORDS]; } memory_long_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (long double *x) { memory_long_double m; size_t i; /* Clear it first, in case sizeof (long double) < sizeof (memory_long_double). */ memset (&m, 0, sizeof (memory_long_double)); m.value = *x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { static long double samples[5] = { 0.25L, 0.5L, 1.0L, 2.0L, 4.0L }; size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; for (j = 0; j < 5; j++) add_to_ored_words (&samples[j]); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_cc_long_double_expbit0=`cat conftest.out` else case e in #( e) gl_cv_cc_long_double_expbit0="unknown" ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.out ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5 printf "%s\n" "$gl_cv_cc_long_double_expbit0" >&6; } case "$gl_cv_cc_long_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` printf "%s\n" "#define LDBL_EXPBIT0_WORD $word" >>confdefs.h printf "%s\n" "#define LDBL_EXPBIT0_BIT $bit" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5 printf %s "checking where to find the exponent in a 'double'... " >&6; } if test ${gl_cv_cc_double_expbit0+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined arm || defined __arm || defined __arm__ mixed_endianness #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "mixed_endianness" >/dev/null 2>&1 then : gl_cv_cc_double_expbit0="unknown" else case e in #( e) : if test ${ac_cv_c_bigendian+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO" then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes else case e in #( e) ac_cv_c_bigendian=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes else case e in #( e) ac_cv_c_bigendian=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } int main (int argc, char **argv) { /* Intimidate the compiler so that it does not optimize the arrays away. */ char *p = argv[0]; ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; return use_ascii (argc) == use_ebcdic (*p); } _ACEOF if ac_fn_c_try_link "$LINENO" then : if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_c_bigendian=no else case e in #( e) ac_cv_c_bigendian=yes ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi : case $ac_cv_c_bigendian in #( yes) gl_cv_cc_double_expbit0="word 0 bit 20";; #( no) gl_cv_cc_double_expbit0="word 1 bit 20" ;; #( universal) printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) gl_cv_cc_double_expbit0="unknown" ;; esac ;; esac fi rm -rf conftest* else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (double x) { memory_double m; size_t i; /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ memset (&m, 0, sizeof (memory_double)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25); add_to_ored_words (0.5); add_to_ored_words (1.0); add_to_ored_words (2.0); add_to_ored_words (4.0); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_cc_double_expbit0=`cat conftest.out` else case e in #( e) gl_cv_cc_double_expbit0="unknown" ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.out ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5 printf "%s\n" "$gl_cv_cc_double_expbit0" >&6; } case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` printf "%s\n" "#define DBL_EXPBIT0_WORD $word" >>confdefs.h printf "%s\n" "#define DBL_EXPBIT0_BIT $bit" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5 printf %s "checking where to find the exponent in a 'float'... " >&6; } if test ${gl_cv_cc_float_expbit0+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : gl_cv_cc_float_expbit0="word 0 bit 23" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define NWORDS \ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { float value; unsigned int word[NWORDS]; } memory_float; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (float x) { memory_float m; size_t i; /* Clear it first, in case sizeof (float) < sizeof (memory_float). */ memset (&m, 0, sizeof (memory_float)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25f); add_to_ored_words (0.5f); add_to_ored_words (1.0f); add_to_ored_words (2.0f); add_to_ored_words (4.0f); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_cc_float_expbit0=`cat conftest.out` else case e in #( e) gl_cv_cc_float_expbit0="unknown" ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.out ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5 printf "%s\n" "$gl_cv_cc_float_expbit0" >&6; } case "$gl_cv_cc_float_expbit0" in word*bit*) word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` printf "%s\n" "#define FLT_EXPBIT0_WORD $word" >>confdefs.h printf "%s\n" "#define FLT_EXPBIT0_BIT $bit" >>confdefs.h ;; esac HAVE_ISWBLANK=1; HAVE_WCTYPE_T=1; HAVE_WCTRANS_T=1; REPLACE_ISWBLANK=0; REPLACE_ISWDIGIT=0; REPLACE_ISWPUNCT=0; REPLACE_ISWXDIGIT=0; REPLACE_WCTRANS=0; REPLACE_WCTYPE=0; if test $ac_cv_header_crtdefs_h = yes; then HAVE_CRTDEFS_H=1 else HAVE_CRTDEFS_H=0 fi if test $ac_cv_func_iswcntrl = yes; then HAVE_ISWCNTRL=1 else HAVE_ISWCNTRL=0 fi if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_wctype_h='<'wctype.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_wctype_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_wctype_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'wctype.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_wctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_wctype_h gl_cv_next_wctype_h='"'$gl_header'"' else gl_cv_next_wctype_h='<'wctype.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 printf "%s\n" "$gl_cv_next_wctype_h" >&6; } fi NEXT_WCTYPE_H=$gl_cv_next_wctype_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'wctype.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_wctype_h fi NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive if test $ac_cv_header_wctype_h = yes; then if test $ac_cv_func_iswcntrl = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 printf %s "checking whether iswcntrl works... " >&6; } if test ${gl_cv_func_iswcntrl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if __GNU_LIBRARY__ == 1 Linux libc5 i18n is broken. #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_iswcntrl_works="guessing yes" else case e in #( e) gl_cv_func_iswcntrl_works="guessing no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return iswprint ('x') == 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_iswcntrl_works=yes else case e in #( e) gl_cv_func_iswcntrl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 printf "%s\n" "$gl_cv_func_iswcntrl_works" >&6; } fi HAVE_WCTYPE_H=1 else HAVE_WCTYPE_H=0 fi if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then REPLACE_ISWCNTRL=1 else case "$gl_cv_func_iswcntrl_works" in *yes) REPLACE_ISWCNTRL=0 ;; *) REPLACE_ISWCNTRL=1 ;; esac fi if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then : fi if test $REPLACE_ISWCNTRL = 1; then REPLACE_TOWLOWER=1 else ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower" if test "x$ac_cv_func_towlower" = xyes then : printf "%s\n" "#define HAVE_TOWLOWER 1" >>confdefs.h fi if test $ac_cv_func_towlower = yes; then REPLACE_TOWLOWER=0 else ac_fn_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "#include #if HAVE_WCTYPE_H # include #endif " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_towlower" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_TOWLOWER $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_towlower = yes; then REPLACE_TOWLOWER=1 else REPLACE_TOWLOWER=0 fi fi fi if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then : fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 printf %s "checking for wctype_t... " >&6; } if test ${gl_cv_type_wctype_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_WCTYPE_H # include #endif wctype_t a; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_wctype_t=yes else case e in #( e) gl_cv_type_wctype_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 printf "%s\n" "$gl_cv_type_wctype_t" >&6; } if test $gl_cv_type_wctype_t = no; then HAVE_WCTYPE_T=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 printf %s "checking for wctrans_t... " >&6; } if test ${gl_cv_type_wctrans_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include wctrans_t a; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_wctrans_t=yes else case e in #( e) gl_cv_type_wctrans_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 printf "%s\n" "$gl_cv_type_wctrans_t" >&6; } if test $gl_cv_type_wctrans_t = no; then HAVE_WCTRANS_T=0 fi GL_GNULIB_ISWBLANK=0 GL_GNULIB_ISWDIGIT=0 GL_GNULIB_ISWPUNCT=0 GL_GNULIB_ISWXDIGIT=0 GL_GNULIB_WCTYPE=0 GL_GNULIB_ISWCTYPE=0 GL_GNULIB_WCTRANS=0 GL_GNULIB_TOWCTRANS=0 NULLPTR_T_NEEDS_STDDEF=1; STDDEF_NOT_IDEMPOTENT=0; REPLACE_NULL=0; HAVE_MAX_ALIGN_T=1; GL_GENERATE_STDDEF_H=false { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for good max_align_t" >&5 printf %s "checking for good max_align_t... " >&6; } if test ${gl_cv_type_max_align_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* On FreeBSD 12.0/x86, max_align_t defined by has the correct alignment with the default (wrong) definition of _Alignof, but a wrong alignment as soon as we activate an ISO C compliant _Alignof definition. */ #if ((defined __GNUC__ && 4 <= __GNUC__) || defined __clang__) && !defined __cplusplus #define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b) #endif #include unsigned int s = sizeof (max_align_t); #if defined __GNUC__ || defined __clang__ || defined __IBM__ALIGNOF__ int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1]; int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1]; #endif typedef struct { char a; max_align_t b; } max_helper; typedef struct { char a; long b; } long_helper; typedef struct { char a; double b; } double_helper; typedef struct { char a; long double b; } long_double_helper; int check3[2 * (offsetof (long_helper, b) <= offsetof (max_helper, b)) - 1]; int check4[2 * (offsetof (double_helper, b) <= offsetof (max_helper, b)) - 1]; int check5[2 * (offsetof (long_double_helper, b) <= offsetof (max_helper, b)) - 1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_type_max_align_t=yes else case e in #( e) gl_cv_type_max_align_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_max_align_t" >&5 printf "%s\n" "$gl_cv_type_max_align_t" >&6; } if test $gl_cv_type_max_align_t = no; then HAVE_MAX_ALIGN_T=0 GL_GENERATE_STDDEF_H=true fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 printf %s "checking whether NULL can be used in arbitrary expressions... " >&6; } if test ${gl_cv_decl_null_works+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int test[2 * (sizeof NULL == sizeof (void *)) -1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_decl_null_works=yes else case e in #( e) gl_cv_decl_null_works=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 printf "%s\n" "$gl_cv_decl_null_works" >&6; } if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 GL_GENERATE_STDDEF_H=true fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unreachable" >&5 printf %s "checking for unreachable... " >&6; } if test ${gl_cv_func_unreachable+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { unreachable (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_unreachable=yes else case e in #( e) gl_cv_func_unreachable=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unreachable" >&5 printf "%s\n" "$gl_cv_func_unreachable" >&6; } if test $gl_cv_func_unreachable = no; then GL_GENERATE_STDDEF_H=true fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether nullptr_t needs " >&5 printf %s "checking whether nullptr_t needs ... " >&6; } if test ${gl_cv_nullptr_t_needs_stddef+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ nullptr_t x; _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_nullptr_t_needs_stddef=no else case e in #( e) gl_cv_nullptr_t_needs_stddef=yes ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_nullptr_t_needs_stddef" >&5 printf "%s\n" "$gl_cv_nullptr_t_needs_stddef" >&6; } if test "$gl_cv_nullptr_t_needs_stddef" = no; then NULLPTR_T_NEEDS_STDDEF=0 GL_GENERATE_STDDEF_H=true fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clean definition of __STDC_VERSION_STDDEF_H__" >&5 printf %s "checking for clean definition of __STDC_VERSION_STDDEF_H__... " >&6; } if test ${gl_cv_clean_version_stddef+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870 */ #include #undef __STDC_VERSION_STDDEF_H__ #include #ifdef __STDC_VERSION_STDDEF_H__ # error " defines __STDC_VERSION_STDDEF_H__" #endif _ACEOF if ac_fn_c_try_cpp "$LINENO" then : gl_cv_clean_version_stddef=yes else case e in #( e) gl_cv_clean_version_stddef=no ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_clean_version_stddef" >&5 printf "%s\n" "$gl_cv_clean_version_stddef" >&6; } if test "$gl_cv_clean_version_stddef" = no; then STDDEF_NOT_IDEMPOTENT=1 GL_GENERATE_STDDEF_H=true fi if $GL_GENERATE_STDDEF_H; then if test $gl_cv_have_include_next = yes; then gl_cv_next_stddef_h='<'stddef.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_stddef_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stddef.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stddef_h gl_cv_next_stddef_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 printf "%s\n" "$gl_cv_next_stddef_h" >&6; } fi NEXT_STDDEF_H=$gl_cv_next_stddef_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stddef.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stddef_h fi NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines _locale_t" >&5 printf %s "checking whether locale.h defines _locale_t... " >&6; } if test ${gl_cv_header_locale_has_windows_locale_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _locale_t x; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_locale_has_windows_locale_t=yes else case e in #( e) gl_cv_header_locale_has_windows_locale_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_windows_locale_t" >&5 printf "%s\n" "$gl_cv_header_locale_has_windows_locale_t" >&6; } if test $gl_cv_header_locale_has_windows_locale_t = yes; then HAVE_WINDOWS_LOCALE_T=1 printf "%s\n" "#define HAVE_WINDOWS_LOCALE_T 1" >>confdefs.h else HAVE_WINDOWS_LOCALE_T=0 fi case "$host_os" in solaris*) printf "%s\n" "#define _LCONV_C99 1" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5 printf %s "checking whether locale.h conforms to POSIX:2001... " >&6; } if test ${gl_cv_header_locale_h_posix2001+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = LC_MESSAGES; int y = sizeof (((struct lconv *) 0)->decimal_point); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_locale_h_posix2001=yes else case e in #( e) gl_cv_header_locale_h_posix2001=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5 printf "%s\n" "$gl_cv_header_locale_h_posix2001" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5 printf %s "checking whether struct lconv is properly defined... " >&6; } if test ${gl_cv_sys_struct_lconv_ok+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include struct lconv l; int x = sizeof (l.decimal_point); int y = sizeof (l.int_p_cs_precedes); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_sys_struct_lconv_ok=yes else case e in #( e) gl_cv_sys_struct_lconv_ok=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_lconv_ok" >&5 printf "%s\n" "$gl_cv_sys_struct_lconv_ok" >&6; } if test $gl_cv_sys_struct_lconv_ok = no; then case "$host_os" in windows*-msvc*) ;; mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Special #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Special" >/dev/null 2>&1 then : else case e in #( e) REPLACE_STRUCT_LCONV=1 ;; esac fi rm -rf conftest* ;; *) REPLACE_STRUCT_LCONV=1 ;; esac fi if test $gl_cv_have_include_next = yes; then gl_cv_next_locale_h='<'locale.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_locale_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'locale.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_locale_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_locale_h gl_cv_next_locale_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5 printf "%s\n" "$gl_cv_next_locale_h" >&6; } fi NEXT_LOCALE_H=$gl_cv_next_locale_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'locale.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_locale_h fi NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 printf %s "checking for CFPreferencesCopyAppValue... " >&6; } if test ${gt_cv_func_CFPreferencesCopyAppValue+y} then : printf %s "(cached) " >&6 else case e in #( e) gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_func_CFPreferencesCopyAppValue=yes else case e in #( e) gt_cv_func_CFPreferencesCopyAppValue=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; } if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y} then : printf %s "(cached) " >&6 else case e in #( e) gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { CFLocaleCopyPreferredLanguages(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_func_CFLocaleCopyPreferredLanguages=yes else case e in #( e) gt_cv_func_CFLocaleCopyPreferredLanguages=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 printf %s "checking for LC_MESSAGES... " >&6; } if test ${gt_cv_val_LC_MESSAGES+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_val_LC_MESSAGES=yes else case e in #( e) gt_cv_val_LC_MESSAGES=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 printf "%s\n" "$gt_cv_val_LC_MESSAGES" >&6; } if test $gt_cv_val_LC_MESSAGES = yes; then printf "%s\n" "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 printf %s "checking whether imported symbols can be declared weak... " >&6; } if test ${gl_cv_have_weak+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in cygwin* | mingw* | windows*) gl_cv_have_weak="guessing no" ;; *) gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main (void) { xyzzy(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_have_weak=maybe fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test $gl_cv_have_weak = maybe; then if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 then : gl_cv_have_weak="guessing yes" else case e in #( e) gl_cv_have_weak="guessing no" ;; esac fi rm -rf conftest* else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #pragma weak fputs int main () { return (fputs == NULL); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_have_weak=yes else case e in #( e) gl_cv_have_weak=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac case "$gl_cv_have_weak" in *yes) case "$host_os" in freebsd* | dragonfly* | midnightbsd*) : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 cat < conftest2.c #include #pragma weak pthread_mutexattr_gettype int main () { return (pthread_mutexattr_gettype != NULL); } EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest ;; esac ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 printf "%s\n" "$gl_cv_have_weak" >&6; } case "$gl_cv_have_weak" in *yes) printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h ;; esac if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then : fi if test "$gl_use_threads" = isoc || test "$gl_use_threads" = isoc+posix; then gl_have_isoc_threads="$ac_cv_header_threads_h" fi if test "$gl_use_threads" = yes \ || test "$gl_use_threads" = posix \ || test "$gl_use_threads" = isoc+posix; then if test -z "$gl_pthreadlib_body_done"; then gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_ANYTHREADLIB_EARLY. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : gl_have_pthread_h=yes else case e in #( e) gl_have_pthread_h=no ;; esac fi if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include pthread_mutex_t m; pthread_mutexattr_t ma; int main (void) { pthread_mutex_lock (&m); pthread_mutexattr_init (&ma); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_pthread_api=yes LIBPTHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done echo "$as_me:25234: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:25235: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. case "$host_os" in linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34) || (__GLIBC__ > 2) Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 then : gl_pthread_in_glibc=yes fi rm -rf conftest* ;; esac echo "$as_me:25261: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_kill=yes else case e in #( e) ac_cv_lib_pthread_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac fi else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lthr" >&5 printf %s "checking for pthread_kill in -lthr... " >&6; } if test ${ac_cv_lib_thr_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lthr $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_thr_pthread_kill=yes else case e in #( e) ac_cv_lib_thr_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thr_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_thr_pthread_kill" >&6; } if test "x$ac_cv_lib_thr_pthread_kill" = xyes then : if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lthr fi fi ;; esac fi elif test $gl_pthread_api != yes; then # Some library is needed. Try libpthread and libc_r. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_kill=yes else case e in #( e) ac_cv_lib_pthread_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : gl_pthread_api=yes LIBPTHREAD=-lpthread LIBPMULTITHREAD=-lpthread fi if test $gl_pthread_api != yes; then # For FreeBSD 4. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 printf %s "checking for pthread_kill in -lc_r... " >&6; } if test ${ac_cv_lib_c_r_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_c_r_pthread_kill=yes else case e in #( e) ac_cv_lib_c_r_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } if test "x$ac_cv_lib_c_r_pthread_kill" = xyes then : gl_pthread_api=yes LIBPTHREAD=-lc_r LIBPMULTITHREAD=-lc_r fi fi fi echo "$as_me:25495: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 printf %s "checking whether POSIX threads API is available... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 printf "%s\n" "$gl_pthread_api" >&6; } if test $gl_pthread_api = yes; then printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : SCHED_YIELD_LIB= else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5 printf %s "checking for sched_yield in -lrt... " >&6; } if test ${ac_cv_lib_rt_sched_yield+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char sched_yield (void); int main (void) { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_rt_sched_yield=yes else case e in #( e) ac_cv_lib_rt_sched_yield=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5 printf "%s\n" "$ac_cv_lib_rt_sched_yield" >&6; } if test "x$ac_cv_lib_rt_sched_yield" = xyes then : SCHED_YIELD_LIB=-lrt else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 printf %s "checking for sched_yield in -lposix4... " >&6; } if test ${ac_cv_lib_posix4_sched_yield+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char sched_yield (void); int main (void) { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_posix4_sched_yield=yes else case e in #( e) ac_cv_lib_posix4_sched_yield=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 printf "%s\n" "$ac_cv_lib_posix4_sched_yield" >&6; } if test "x$ac_cv_lib_posix4_sched_yield" = xyes then : SCHED_YIELD_LIB=-lposix4 fi ;; esac fi ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIB_SCHED_YIELD="$SCHED_YIELD_LIB" gl_pthreadlib_body_done=done fi LIBTHREAD=$LIBPTHREAD LTLIBTHREAD=$LIBPTHREAD LIBMULTITHREAD=$LIBPMULTITHREAD LTLIBMULTITHREAD=$LIBPMULTITHREAD if test $gl_pthread_api = yes; then if test "$gl_use_threads" = isoc+posix && test "$gl_have_isoc_threads" = yes; then gl_threads_api='isoc+posix' printf "%s\n" "#define USE_ISOC_AND_POSIX_THREADS 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= else gl_threads_api=posix printf "%s\n" "#define USE_POSIX_THREADS 1" >>confdefs.h if test -z "$LIBMULTITHREAD" && test -z "$LTLIBMULTITHREAD"; then printf "%s\n" "#define USE_POSIX_THREADS_FROM_LIBC 1" >>confdefs.h else if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then printf "%s\n" "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= else case "$host_os" in freebsd* | dragonfly* | midnightbsd*) if test "x$LIBTHREAD" != "x$LIBMULTITHREAD"; then printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h fi ;; esac fi fi fi fi fi if test $gl_threads_api = none; then if test "$gl_use_threads" = isoc && test "$gl_have_isoc_threads" = yes; then if test -z "$gl_stdthreadlib_body_done"; then case "$host_os" in mingw* | windows*) LIBSTDTHREAD= ;; *) if test -z "$gl_pthreadlib_body_done"; then gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_ANYTHREADLIB_EARLY. ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then : gl_have_pthread_h=yes else case e in #( e) gl_have_pthread_h=no ;; esac fi if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include pthread_mutex_t m; pthread_mutexattr_t ma; int main (void) { pthread_mutex_lock (&m); pthread_mutexattr_init (&ma); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_pthread_api=yes LIBPTHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done echo "$as_me:25744: gl_pthread_api=$gl_pthread_api" >&5 echo "$as_me:25745: LIBPTHREAD=$LIBPTHREAD" >&5 gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. case "$host_os" in linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34) || (__GLIBC__ > 2) Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 then : gl_pthread_in_glibc=yes fi rm -rf conftest* ;; esac echo "$as_me:25771: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&5 # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_kill=yes else case e in #( e) ac_cv_lib_pthread_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac fi else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lthr" >&5 printf %s "checking for pthread_kill in -lthr... " >&6; } if test ${ac_cv_lib_thr_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lthr $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_thr_pthread_kill=yes else case e in #( e) ac_cv_lib_thr_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thr_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_thr_pthread_kill" >&6; } if test "x$ac_cv_lib_thr_pthread_kill" = xyes then : if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lthr fi fi ;; esac fi elif test $gl_pthread_api != yes; then # Some library is needed. Try libpthread and libc_r. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 printf %s "checking for pthread_kill in -lpthread... " >&6; } if test ${ac_cv_lib_pthread_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_pthread_pthread_kill=yes else case e in #( e) ac_cv_lib_pthread_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes then : gl_pthread_api=yes LIBPTHREAD=-lpthread LIBPMULTITHREAD=-lpthread fi if test $gl_pthread_api != yes; then # For FreeBSD 4. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 printf %s "checking for pthread_kill in -lc_r... " >&6; } if test ${ac_cv_lib_c_r_pthread_kill+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char pthread_kill (void); int main (void) { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_c_r_pthread_kill=yes else case e in #( e) ac_cv_lib_c_r_pthread_kill=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5 printf "%s\n" "$ac_cv_lib_c_r_pthread_kill" >&6; } if test "x$ac_cv_lib_c_r_pthread_kill" = xyes then : gl_pthread_api=yes LIBPTHREAD=-lc_r LIBPMULTITHREAD=-lc_r fi fi fi echo "$as_me:26005: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&5 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX threads API is available" >&5 printf %s "checking whether POSIX threads API is available... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_pthread_api" >&5 printf "%s\n" "$gl_pthread_api" >&6; } if test $gl_pthread_api = yes; then printf "%s\n" "#define HAVE_PTHREAD_API 1" >>confdefs.h fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : SCHED_YIELD_LIB= else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5 printf %s "checking for sched_yield in -lrt... " >&6; } if test ${ac_cv_lib_rt_sched_yield+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char sched_yield (void); int main (void) { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_rt_sched_yield=yes else case e in #( e) ac_cv_lib_rt_sched_yield=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5 printf "%s\n" "$ac_cv_lib_rt_sched_yield" >&6; } if test "x$ac_cv_lib_rt_sched_yield" = xyes then : SCHED_YIELD_LIB=-lrt else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 printf %s "checking for sched_yield in -lposix4... " >&6; } if test ${ac_cv_lib_posix4_sched_yield+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char sched_yield (void); int main (void) { return sched_yield (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_posix4_sched_yield=yes else case e in #( e) ac_cv_lib_posix4_sched_yield=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 printf "%s\n" "$ac_cv_lib_posix4_sched_yield" >&6; } if test "x$ac_cv_lib_posix4_sched_yield" = xyes then : SCHED_YIELD_LIB=-lposix4 fi ;; esac fi ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIB_SCHED_YIELD="$SCHED_YIELD_LIB" gl_pthreadlib_body_done=done fi if test $ac_cv_header_threads_h = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thrd_create" >&5 printf %s "checking for thrd_create... " >&6; } if test ${gl_cv_onwards_func_thrd_create+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "thrd_create" "ac_cv_have_decl_thrd_create" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_thrd_create" = xyes then : fi if test $ac_cv_have_decl_thrd_create = yes; then ac_fn_c_check_func "$LINENO" "thrd_create" "ac_cv_func_thrd_create" if test "x$ac_cv_func_thrd_create" = xyes then : fi if test $ac_cv_func_thrd_create = yes; then gl_cv_onwards_func_thrd_create=yes else gl_cv_onwards_func_thrd_create='future OS version' fi else gl_cv_onwards_func_thrd_create='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "thrd_create" "ac_cv_func_thrd_create" if test "x$ac_cv_func_thrd_create" = xyes then : fi gl_cv_onwards_func_thrd_create=$ac_cv_func_thrd_create ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_thrd_create" >&5 printf "%s\n" "$gl_cv_onwards_func_thrd_create" >&6; } case "$gl_cv_onwards_func_thrd_create" in future*) ac_cv_func_thrd_create=no ;; *) ac_cv_func_thrd_create=$gl_cv_onwards_func_thrd_create ;; esac if test $ac_cv_func_thrd_create = yes; then printf "%s\n" "#define HAVE_THRD_CREATE 1" >>confdefs.h fi if test $ac_cv_func_thrd_create = yes; then LIBSTDTHREAD= else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thrd_create in -lstdthreads" >&5 printf %s "checking for thrd_create in -lstdthreads... " >&6; } if test ${ac_cv_lib_stdthreads_thrd_create+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lstdthreads $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char thrd_create (void); int main (void) { return thrd_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_stdthreads_thrd_create=yes else case e in #( e) ac_cv_lib_stdthreads_thrd_create=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdthreads_thrd_create" >&5 printf "%s\n" "$ac_cv_lib_stdthreads_thrd_create" >&6; } if test "x$ac_cv_lib_stdthreads_thrd_create" = xyes then : LIBSTDTHREAD='-lstdthreads -lpthread' else case e in #( e) LIBSTDTHREAD="$LIBPMULTITHREAD" ;; esac fi fi else LIBSTDTHREAD="$LIBPMULTITHREAD $SCHED_YIELD_LIB" fi ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ISO C threads API is available" >&5 printf %s "checking whether ISO C threads API is available... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_threads_h" >&5 printf "%s\n" "$ac_cv_header_threads_h" >&6; } gl_stdthreadlib_body_done=done fi LIBTHREAD=$LIBSTDTHREAD LTLIBTHREAD=$LIBSTDTHREAD LIBMULTITHREAD=$LIBSTDTHREAD LTLIBMULTITHREAD=$LIBSTDTHREAD gl_threads_api=isoc printf "%s\n" "#define USE_ISOC_THREADS 1" >>confdefs.h fi fi if test $gl_threads_api = none; then case "$gl_use_threads" in yes | windows | win32) # The 'win32' is for backward compatibility. if { case "$host_os" in mingw* | windows*) true;; *) false;; esac }; then gl_threads_api=windows printf "%s\n" "#define USE_WINDOWS_THREADS 1" >>confdefs.h fi ;; esac fi else printf "%s\n" "#define AVOID_ANY_THREADS 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 printf %s "checking for multithread API to use... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 printf "%s\n" "$gl_threads_api" >&6; } LOG_LIBM="$POW_LIBM" saved_LIBS="$LIBS" LIBS="$LIBS $LOG_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether log works" >&5 printf %s "checking whether log works... " >&6; } if test ${gl_cv_func_log_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in osf*) gl_cv_func_log_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_log_works="guessing yes" ;; *) gl_cv_func_log_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include volatile double x; double y; int main () { x = -0.0; y = log (x); if (!(y + y == y)) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_log_works=yes else case e in #( e) gl_cv_func_log_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_log_works" >&5 printf "%s\n" "$gl_cv_func_log_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_log_works" in *yes) ;; *) REPLACE_LOG=1 ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 printf %s "checking for a sed that does not truncate output... " >&6; } if test ${ac_cv_path_SED+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in sed gsed do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in #( *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; #( *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 printf "%s\n" "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 printf %s "checking for grep that handles long lines and -e... " >&6; } if test ${ac_cv_path_GREP+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in grep ggrep do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in #( *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; #( *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 printf "%s\n" "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc (0) returns nonnull" >&5 printf %s "checking whether malloc (0) returns nonnull... " >&6; } if test ${ac_cv_func_malloc_0_nonnull+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case $host_os in #( # Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ | gnu* | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin* | mingw* | windows* | msys*) : ac_cv_func_malloc_0_nonnull="guessing yes" ;; #( *) : # Guess as follows if we don't know. ac_cv_func_malloc_0_nonnull="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Use pmalloc to test; 'volatile' prevents the compiler from optimizing the malloc call away. */ void *(*volatile pmalloc) (size_t) = malloc; int main (void) { void *p = pmalloc (0); int result = !p; free (p); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_func_malloc_0_nonnull=yes else case e in #( e) ac_cv_func_malloc_0_nonnull=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } case $ac_cv_func_malloc_0_nonnull in #( *yes) : printf "%s\n" "#define HAVE_MALLOC_0_NONNULL 1" >>confdefs.h ;; #( *) : ;; esac if test $gl_cv_have_include_next = yes; then gl_cv_next_math_h='<'math.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_math_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_math_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'math.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_math_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_math_h gl_cv_next_math_h='"'$gl_header'"' else gl_cv_next_math_h='<'math.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5 printf "%s\n" "$gl_cv_next_math_h" >&6; } fi NEXT_MATH_H=$gl_cv_next_math_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'math.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_math_h fi NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5 printf %s "checking whether NAN macro works... " >&6; } if test ${gl_cv_header_math_nan_works+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { /* Solaris 10 has a broken definition of NAN. Other platforms fail to provide NAN, or provide it only in C99 mode; this test only needs to fail when NAN is provided but wrong. */ float f = 1.0f; #ifdef NAN f = NAN; #endif return f == 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_math_nan_works=yes else case e in #( e) gl_cv_header_math_nan_works=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5 printf "%s\n" "$gl_cv_header_math_nan_works" >&6; } if test $gl_cv_header_math_nan_works = no; then REPLACE_NAN=1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5 printf %s "checking whether HUGE_VAL works... " >&6; } if test ${gl_cv_header_math_huge_val_works+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { /* Solaris 10 has a broken definition of HUGE_VAL. */ double d = HUGE_VAL; return d == 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_math_huge_val_works=yes else case e in #( e) gl_cv_header_math_huge_val_works=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5 printf "%s\n" "$gl_cv_header_math_huge_val_works" >&6; } if test $gl_cv_header_math_huge_val_works = no; then REPLACE_HUGE_VAL=1 fi GL_GNULIB_BTOWC=0 GL_GNULIB_WCTOB=0 GL_GNULIB_MBSINIT=0 GL_GNULIB_MBSZERO=0 GL_GNULIB_MBRTOWC=0 GL_GNULIB_MBRLEN=0 GL_GNULIB_MBSRTOWCS=0 GL_GNULIB_MBSNRTOWCS=0 GL_GNULIB_WCRTOMB=0 GL_GNULIB_WCSRTOMBS=0 GL_GNULIB_WCSNRTOMBS=0 GL_GNULIB_WCWIDTH=0 GL_GNULIB_WMEMCHR=0 GL_GNULIB_WMEMCMP=0 GL_GNULIB_WMEMCPY=0 GL_GNULIB_WMEMMOVE=0 GL_GNULIB_WMEMPCPY=0 GL_GNULIB_WMEMSET=0 GL_GNULIB_WCSLEN=0 GL_GNULIB_WCSNLEN=0 GL_GNULIB_WCSCPY=0 GL_GNULIB_WCPCPY=0 GL_GNULIB_WCSNCPY=0 GL_GNULIB_WCPNCPY=0 GL_GNULIB_WCSCAT=0 GL_GNULIB_WCSNCAT=0 GL_GNULIB_WCSCMP=0 GL_GNULIB_WCSNCMP=0 GL_GNULIB_WCSCASECMP=0 GL_GNULIB_WCSNCASECMP=0 GL_GNULIB_WCSCOLL=0 GL_GNULIB_WCSXFRM=0 GL_GNULIB_WCSDUP=0 GL_GNULIB_WCSCHR=0 GL_GNULIB_WCSRCHR=0 GL_GNULIB_WCSCSPN=0 GL_GNULIB_WCSSPN=0 GL_GNULIB_WCSPBRK=0 GL_GNULIB_WCSSTR=0 GL_GNULIB_WCSTOK=0 GL_GNULIB_WCSWIDTH=0 GL_GNULIB_WCSFTIME=0 GL_GNULIB_WGETCWD=0 GL_GNULIB_MDA_WCSDUP=1 HAVE_MBSLEN=0; HAVE_EXPLICIT_BZERO=1; HAVE_FFSL=1; HAVE_FFSLL=1; HAVE_DECL_MEMMEM=1; HAVE_MEMPCPY=1; HAVE_MEMSET_EXPLICIT=1; HAVE_DECL_MEMRCHR=1; HAVE_RAWMEMCHR=1; HAVE_STPCPY=1; HAVE_STPNCPY=1; HAVE_STRCHRNUL=1; HAVE_DECL_STRDUP=1; HAVE_DECL_STRNDUP=1; HAVE_DECL_STRNLEN=1; HAVE_STRPBRK=1; HAVE_STRSEP=1; HAVE_STRCASESTR=1; HAVE_DECL_STRTOK_R=1; HAVE_DECL_STRERROR_R=1; HAVE_STRERROR_L=1; HAVE_STRERRORNAME_NP=1; HAVE_SIGABBREV_NP=1; HAVE_SIGDESCR_NP=1; HAVE_DECL_STRSIGNAL=1; HAVE_STRVERSCMP=1; REPLACE_FFSLL=0; REPLACE_MEMCHR=0; REPLACE_MEMMEM=0; REPLACE_MEMPCPY=0; REPLACE_MEMSET_EXPLICIT=0; REPLACE_STPCPY=0; REPLACE_STPNCPY=0; REPLACE_STRCHRNUL=0; REPLACE_STRDUP=0; REPLACE_STRNCAT=0; REPLACE_STRNDUP=0; REPLACE_STRNLEN=0; REPLACE_STRSTR=0; REPLACE_STRCASESTR=0; REPLACE_STRTOK_R=0; REPLACE_STRERROR=0; REPLACE_STRERROR_R=0; REPLACE_STRERROR_L=0; REPLACE_STRERRORNAME_NP=0; REPLACE_STRSIGNAL=0; REPLACE_STRVERSCMP=0; UNDEFINE_STRTOK_R=0; GL_GNULIB_EXPLICIT_BZERO=0 GL_GNULIB_FFSL=0 GL_GNULIB_FFSLL=0 GL_GNULIB_MEMCHR=0 GL_GNULIB_MEMMEM=0 GL_GNULIB_MEMPCPY=0 GL_GNULIB_MEMRCHR=0 GL_GNULIB_MEMSET_EXPLICIT=0 GL_GNULIB_RAWMEMCHR=0 GL_GNULIB_STPCPY=0 GL_GNULIB_STPNCPY=0 GL_GNULIB_STRCHRNUL=0 GL_GNULIB_STRDUP=0 GL_GNULIB_STRNCAT=0 GL_GNULIB_STRNDUP=0 GL_GNULIB_STRNLEN=0 GL_GNULIB_STRPBRK=0 GL_GNULIB_STRSEP=0 GL_GNULIB_STRSTR=0 GL_GNULIB_STRCASESTR=0 GL_GNULIB_STRTOK_R=0 GL_GNULIB_STR_STARTSWITH=0 GL_GNULIB_STR_ENDSWITH=0 GL_GNULIB_MBSLEN=0 GL_GNULIB_MBSNLEN=0 GL_GNULIB_MBSCHR=0 GL_GNULIB_MBSRCHR=0 GL_GNULIB_MBSSTR=0 GL_GNULIB_MBSCASECMP=0 GL_GNULIB_MBSNCASECMP=0 GL_GNULIB_MBSPCASECMP=0 GL_GNULIB_MBSCASESTR=0 GL_GNULIB_MBSCSPN=0 GL_GNULIB_MBSPBRK=0 GL_GNULIB_MBSSPN=0 GL_GNULIB_MBSSEP=0 GL_GNULIB_MBSTOK_R=0 GL_GNULIB_MBS_STARTSWITH=0 GL_GNULIB_MBS_ENDSWITH=0 GL_GNULIB_STRERROR=0 GL_GNULIB_STRERROR_R=0 GL_GNULIB_STRERROR_L=0 GL_GNULIB_STRERRORNAME_NP=0 GL_GNULIB_SIGABBREV_NP=0 GL_GNULIB_SIGDESCR_NP=0 GL_GNULIB_STRSIGNAL=0 GL_GNULIB_STRVERSCMP=0 GL_GNULIB_MDA_MEMCCPY=1 GL_GNULIB_MDA_STRDUP=1 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" if test "x$ac_cv_func_mmap" = xyes then : gl_have_mmap=yes else case e in #( e) gl_have_mmap=no ;; esac fi # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 printf %s "checking for MAP_ANONYMOUS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "I cannot identify this map" >/dev/null 2>&1 then : gl_have_mmap_anonymous=yes fi rm -rf conftest* if test $gl_have_mmap_anonymous != yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef MAP_ANON I cannot identify this map #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "I cannot identify this map" >/dev/null 2>&1 then : printf "%s\n" "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h gl_have_mmap_anonymous=yes fi rm -rf conftest* fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 printf "%s\n" "$gl_have_mmap_anonymous" >&6; } if test $gl_have_mmap_anonymous = yes; then printf "%s\n" "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h fi fi # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 printf %s "checking whether memchr works... " >&6; } if test ${gl_cv_func_memchr_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_memchr_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_memchr_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_memchr_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_SYS_MMAN_H # include # include # include # include # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif int main (void) { int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { long int pagesize = sysconf (_SC_PAGESIZE); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) fence = two_pages + pagesize; } #endif if (fence) { /* Test against bugs on glibc systems. */ if (memchr (fence, 0, 0)) result |= 1; strcpy (fence - 9, "12345678"); if (memchr (fence - 9, 0, 79) != fence - 1) result |= 2; if (memchr (fence - 1, 0, 3) != fence - 1) result |= 4; /* Test against bug on AIX 7.2. */ if (memchr (fence - 4, '6', 16) != fence - 4) result |= 8; } /* Test against bug on Android 4.3. */ { char input[3]; input[0] = 'a'; input[1] = 'b'; input[2] = 'c'; if (memchr (input, 0x789abc00 | 'b', 3) != input + 1) result |= 16; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_memchr_works=yes else case e in #( e) gl_cv_func_memchr_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 printf "%s\n" "$gl_cv_func_memchr_works" >&6; } case "$gl_cv_func_memchr_works" in *yes) ;; *) REPLACE_MEMCHR=1 ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether defines MIN and MAX" >&5 printf %s "checking whether defines MIN and MAX... " >&6; } if test ${gl_cv_minmax_in_limits_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = MIN (42, 17); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_minmax_in_limits_h=yes else case e in #( e) gl_cv_minmax_in_limits_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_limits_h" >&5 printf "%s\n" "$gl_cv_minmax_in_limits_h" >&6; } if test $gl_cv_minmax_in_limits_h = yes; then printf "%s\n" "#define HAVE_MINMAX_IN_LIMITS_H 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether defines MIN and MAX" >&5 printf %s "checking whether defines MIN and MAX... " >&6; } if test ${gl_cv_minmax_in_sys_param_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = MIN (42, 17); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_minmax_in_sys_param_h=yes else case e in #( e) gl_cv_minmax_in_sys_param_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_minmax_in_sys_param_h" >&5 printf "%s\n" "$gl_cv_minmax_in_sys_param_h" >&6; } if test $gl_cv_minmax_in_sys_param_h = yes; then printf "%s\n" "#define HAVE_MINMAX_IN_SYS_PARAM_H 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "trunc" "ac_cv_have_decl_trunc" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_trunc" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_TRUNC $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_trunc" = yes; then TRUNC_LIBM=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = trunc; double x; int main (void) { x = funcptr(x) + trunc(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNC_LIBM= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$TRUNC_LIBM" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = trunc; double x; int main (void) { x = funcptr(x) + trunc(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNC_LIBM="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi if test "$TRUNC_LIBM" = "?"; then TRUNC_LIBM= fi else HAVE_DECL_TRUNC=0 fi if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then TRUNC_LIBM= fi ac_fn_check_decl "$LINENO" "truncl" "ac_cv_have_decl_truncl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_truncl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_TRUNCL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_truncl" = yes; then TRUNCL_LIBM=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = truncl; long double x; int main (void) { x = funcptr(x) + truncl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNCL_LIBM= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$TRUNCL_LIBM" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = truncl; long double x; int main (void) { x = funcptr(x) + truncl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNCL_LIBM="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi if test "$TRUNCL_LIBM" = "?"; then TRUNCL_LIBM= fi saved_LIBS="$LIBS" LIBS="$LIBS $TRUNCL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether truncl works" >&5 printf %s "checking whether truncl works... " >&6; } if test ${gl_cv_func_truncl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in osf4*) gl_cv_func_truncl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_truncl_works="guessing yes" ;; *) gl_cv_func_truncl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main() { x = truncl (0.0L); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_truncl_works=yes else case e in #( e) gl_cv_func_truncl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_truncl_works" >&5 printf "%s\n" "$gl_cv_func_truncl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_truncl_works" in *yes) ;; *) REPLACE_TRUNCL=1 ;; esac else HAVE_DECL_TRUNCL=0 fi if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then TRUNCL_LIBM="$TRUNC_LIBM" else TRUNCL_LIBM= fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5 printf %s "checking for O_CLOEXEC... " >&6; } if test ${gl_cv_macro_O_CLOEXEC+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef O_CLOEXEC choke me; #endif int main (void) { return O_CLOEXEC; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_macro_O_CLOEXEC=yes else case e in #( e) gl_cv_macro_O_CLOEXEC=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_macro_O_CLOEXEC" >&5 printf "%s\n" "$gl_cv_macro_O_CLOEXEC" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5 printf %s "checking for promoted mode_t type... " >&6; } if test ${gl_cv_promoted_mode_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_promoted_mode_t='int' else case e in #( e) gl_cv_promoted_mode_t='mode_t' ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5 printf "%s\n" "$gl_cv_promoted_mode_t" >&6; } printf "%s\n" "#define PROMOTED_MODE_T $gl_cv_promoted_mode_t" >>confdefs.h HAVE_PTHREAD_T=1; HAVE_PTHREAD_SPINLOCK_T=1; HAVE_PTHREAD_CREATE_DETACHED=1; HAVE_PTHREAD_MUTEX_RECURSIVE=1; HAVE_PTHREAD_MUTEX_ROBUST=1; HAVE_PTHREAD_PROCESS_SHARED=1; HAVE_PTHREAD_CREATE=1; HAVE_PTHREAD_ATTR_INIT=1; HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; HAVE_PTHREAD_ATTR_DESTROY=1; HAVE_PTHREAD_SELF=1; HAVE_PTHREAD_EQUAL=1; HAVE_PTHREAD_DETACH=1; HAVE_PTHREAD_JOIN=1; HAVE_PTHREAD_EXIT=1; HAVE_PTHREAD_ONCE=1; HAVE_PTHREAD_MUTEX_INIT=1; HAVE_PTHREAD_MUTEXATTR_INIT=1; HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; HAVE_PTHREAD_MUTEXATTR_DESTROY=1; HAVE_PTHREAD_MUTEX_LOCK=1; HAVE_PTHREAD_MUTEX_TRYLOCK=1; HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; HAVE_PTHREAD_MUTEX_UNLOCK=1; HAVE_PTHREAD_MUTEX_DESTROY=1; HAVE_PTHREAD_RWLOCK_INIT=1; HAVE_PTHREAD_RWLOCKATTR_INIT=1; HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; HAVE_PTHREAD_RWLOCK_RDLOCK=1; HAVE_PTHREAD_RWLOCK_WRLOCK=1; HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; HAVE_PTHREAD_RWLOCK_UNLOCK=1; HAVE_PTHREAD_RWLOCK_DESTROY=1; HAVE_PTHREAD_COND_INIT=1; HAVE_PTHREAD_CONDATTR_INIT=1; HAVE_PTHREAD_CONDATTR_DESTROY=1; HAVE_PTHREAD_COND_WAIT=1; HAVE_PTHREAD_COND_TIMEDWAIT=1; HAVE_PTHREAD_COND_SIGNAL=1; HAVE_PTHREAD_COND_BROADCAST=1; HAVE_PTHREAD_COND_DESTROY=1; HAVE_PTHREAD_KEY_CREATE=1; HAVE_PTHREAD_SETSPECIFIC=1; HAVE_PTHREAD_GETSPECIFIC=1; HAVE_PTHREAD_KEY_DELETE=1; HAVE_PTHREAD_SPIN_INIT=1; HAVE_PTHREAD_SPIN_LOCK=1; HAVE_PTHREAD_SPIN_TRYLOCK=1; HAVE_PTHREAD_SPIN_UNLOCK=1; HAVE_PTHREAD_SPIN_DESTROY=1; REPLACE_PTHREAD_CREATE=0; REPLACE_PTHREAD_ATTR_INIT=0; REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; REPLACE_PTHREAD_ATTR_DESTROY=0; REPLACE_PTHREAD_SELF=0; REPLACE_PTHREAD_EQUAL=0; REPLACE_PTHREAD_DETACH=0; REPLACE_PTHREAD_JOIN=0; REPLACE_PTHREAD_EXIT=0; REPLACE_PTHREAD_ONCE=0; REPLACE_PTHREAD_MUTEX_INIT=0; REPLACE_PTHREAD_MUTEXATTR_INIT=0; REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; REPLACE_PTHREAD_MUTEX_LOCK=0; REPLACE_PTHREAD_MUTEX_TRYLOCK=0; REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; REPLACE_PTHREAD_MUTEX_UNLOCK=0; REPLACE_PTHREAD_MUTEX_DESTROY=0; REPLACE_PTHREAD_RWLOCK_INIT=0; REPLACE_PTHREAD_RWLOCKATTR_INIT=0; REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; REPLACE_PTHREAD_RWLOCK_RDLOCK=0; REPLACE_PTHREAD_RWLOCK_WRLOCK=0; REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; REPLACE_PTHREAD_RWLOCK_UNLOCK=0; REPLACE_PTHREAD_RWLOCK_DESTROY=0; REPLACE_PTHREAD_COND_INIT=0; REPLACE_PTHREAD_CONDATTR_INIT=0; REPLACE_PTHREAD_CONDATTR_DESTROY=0; REPLACE_PTHREAD_COND_WAIT=0; REPLACE_PTHREAD_COND_TIMEDWAIT=0; REPLACE_PTHREAD_COND_SIGNAL=0; REPLACE_PTHREAD_COND_BROADCAST=0; REPLACE_PTHREAD_COND_DESTROY=0; REPLACE_PTHREAD_KEY_CREATE=0; REPLACE_PTHREAD_SETSPECIFIC=0; REPLACE_PTHREAD_GETSPECIFIC=0; REPLACE_PTHREAD_KEY_DELETE=0; REPLACE_PTHREAD_SPIN_INIT=0; REPLACE_PTHREAD_SPIN_LOCK=0; REPLACE_PTHREAD_SPIN_TRYLOCK=0; REPLACE_PTHREAD_SPIN_UNLOCK=0; REPLACE_PTHREAD_SPIN_DESTROY=0; if test $gl_cv_have_include_next = yes; then gl_cv_next_pthread_h='<'pthread.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_pthread_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_pthread_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'pthread.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_pthread_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_pthread_h gl_cv_next_pthread_h='"'$gl_header'"' else gl_cv_next_pthread_h='<'pthread.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5 printf "%s\n" "$gl_cv_next_pthread_h" >&6; } fi NEXT_PTHREAD_H=$gl_cv_next_pthread_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'pthread.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_pthread_h fi NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive if test $ac_cv_header_pthread_h = yes; then HAVE_PTHREAD_H=1 if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then HAVE_PTHREAD_H=0 fi else HAVE_PTHREAD_H=0 fi ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default #if HAVE_PTHREAD_H #include #endif " if test "x$ac_cv_type_pthread_t" = xyes then : printf "%s\n" "#define HAVE_PTHREAD_T 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default #if HAVE_PTHREAD_H #include #endif " if test "x$ac_cv_type_pthread_spinlock_t" = xyes then : printf "%s\n" "#define HAVE_PTHREAD_SPINLOCK_T 1" >>confdefs.h fi if test $ac_cv_type_pthread_t != yes; then HAVE_PTHREAD_T=0 fi if test $ac_cv_type_pthread_spinlock_t != yes; then HAVE_PTHREAD_SPINLOCK_T=0 fi if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then REPLACE_PTHREAD_SPIN_INIT=1 REPLACE_PTHREAD_SPIN_LOCK=1 REPLACE_PTHREAD_SPIN_TRYLOCK=1 REPLACE_PTHREAD_SPIN_UNLOCK=1 REPLACE_PTHREAD_SPIN_DESTROY=1 else if test $HAVE_PTHREAD_H = 0 || test $HAVE_PTHREAD_SPINLOCK_T = 0; then HAVE_PTHREAD_SPIN_INIT=0 HAVE_PTHREAD_SPIN_LOCK=0 HAVE_PTHREAD_SPIN_TRYLOCK=0 HAVE_PTHREAD_SPIN_UNLOCK=0 HAVE_PTHREAD_SPIN_DESTROY=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_spin_init" >&5 printf %s "checking for pthread_spin_init... " >&6; } if test ${gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { pthread_spinlock_t lock; return pthread_spin_init (&lock, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD=yes else case e in #( e) gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD" >&5 printf "%s\n" "$gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD" >&6; } if test $gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD != yes; then HAVE_PTHREAD_SPIN_INIT=0 REPLACE_PTHREAD_SPIN_INIT=1 HAVE_PTHREAD_SPIN_LOCK=0 REPLACE_PTHREAD_SPIN_LOCK=1 HAVE_PTHREAD_SPIN_TRYLOCK=0 REPLACE_PTHREAD_SPIN_TRYLOCK=1 HAVE_PTHREAD_SPIN_UNLOCK=0 REPLACE_PTHREAD_SPIN_UNLOCK=1 HAVE_PTHREAD_SPIN_DESTROY=0 REPLACE_PTHREAD_SPIN_DESTROY=1 fi fi fi GL_GNULIB_PTHREAD_THREAD=0 GL_GNULIB_PTHREAD_ONCE=0 GL_GNULIB_PTHREAD_MUTEX=0 GL_GNULIB_PTHREAD_RWLOCK=0 GL_GNULIB_PTHREAD_COND=0 GL_GNULIB_PTHREAD_TSS=0 GL_GNULIB_PTHREAD_SPIN=0 GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK=0 ac_fn_check_decl "$LINENO" "initstate" "ac_cv_have_decl_initstate" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_initstate" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_INITSTATE $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "setstate" "ac_cv_have_decl_setstate" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_setstate" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_SETSTATE $ac_have_decl" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc should abort upon undefined behaviour" >&5 printf %s "checking whether realloc should abort upon undefined behaviour... " >&6; } if test ${gl_cv_func_realloc_sanitize+y} then : printf %s "(cached) " >&6 else case e in #( e) test -n "$gl_cv_func_realloc_sanitize" || gl_cv_func_realloc_sanitize=no ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realloc_sanitize" >&5 printf "%s\n" "$gl_cv_func_realloc_sanitize" >&6; } HAVE_SCHED_YIELD=1; REPLACE_SCHED_YIELD=0; ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "#if HAVE_SYS_CDEFS_H #include #endif " if test "x$ac_cv_header_sched_h" = xyes then : printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sched_h='<'sched.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sched_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sched.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sched_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sched_h gl_cv_next_sched_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5 printf "%s\n" "$gl_cv_next_sched_h" >&6; } fi NEXT_SCHED_H=$gl_cv_next_sched_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sched.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sched_h fi NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive if test "$ac_cv_header_sched_h" = yes; then HAVE_SCHED_H=1 else HAVE_SCHED_H=0 fi if test "$HAVE_SCHED_H" = 1; then ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#if HAVE_SYS_CDEFS_H #include #endif #include " if test "x$ac_cv_type_struct_sched_param" = xyes then : HAVE_STRUCT_SCHED_PARAM=1 else case e in #( e) HAVE_STRUCT_SCHED_PARAM=0 ;; esac fi else HAVE_STRUCT_SCHED_PARAM=0 case "$host_os" in os2*) ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include " if test "x$ac_cv_type_struct_sched_param" = xyes then : HAVE_STRUCT_SCHED_PARAM=1 fi ;; vms) ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include " if test "x$ac_cv_type_struct_sched_param" = xyes then : HAVE_STRUCT_SCHED_PARAM=1 fi ;; esac fi GL_GNULIB_SCHED_YIELD=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 printf %s "checking whether snprintf returns a byte count as in C99... " >&6; } if test ${gl_cv_func_snprintf_retval_c99+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; midnightbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_retval_c99="guessing no";; openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_retval_c99="guessing no";; netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_snprintf_retval_c99="guessing yes" ;; mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_snprintf_retval_c99="guessing yes" else case e in #( e) gl_cv_func_snprintf_retval_c99="guessing no" ;; esac fi rm -rf conftest* ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_snprintf_retval_c99="$gl_cross_guess_normal";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_snprintf_retval_c99=yes else case e in #( e) gl_cv_func_snprintf_retval_c99=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 printf "%s\n" "$gl_cv_func_snprintf_retval_c99" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5 printf %s "checking whether printf supports POSIX/XSI format strings with positions... " >&6; } if test ${gl_cv_func_printf_positions+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) gl_cv_func_printf_positions="guessing no";; beos*) gl_cv_func_printf_positions="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_positions="guessing yes";; # Guess no on native Windows. mingw* | windows* | pw*) gl_cv_func_printf_positions="guessing no";; *) gl_cv_func_printf_positions="guessing yes";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_printf_positions=yes else case e in #( e) gl_cv_func_printf_positions=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5 printf "%s\n" "$gl_cv_func_printf_positions" >&6; } ac_fn_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_snprintf" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_SNPRINTF $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fcloseall" "ac_cv_have_decl_fcloseall" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fcloseall" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FCLOSEALL $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "getw" "ac_cv_have_decl_getw" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getw" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_GETW $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "putw" "ac_cv_have_decl_putw" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_putw" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PUTW $ac_have_decl" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_stdio_h='<'stdio.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_stdio_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdio.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdio_h gl_cv_next_stdio_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 printf "%s\n" "$gl_cv_next_stdio_h" >&6; } fi NEXT_STDIO_H=$gl_cv_next_stdio_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdio.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdio_h fi NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5 printf %s "checking which flavor of printf attribute matches inttypes macros... " >&6; } if test ${gl_cv_func_printf_attribute_flavor+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define __STDC_FORMAT_MACROS 1 #include #include /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_printf_attribute_flavor=system else case e in #( e) gl_cv_func_printf_attribute_flavor=gnu ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_attribute_flavor" >&5 printf "%s\n" "$gl_cv_func_printf_attribute_flavor" >&6; } if test "$gl_cv_func_printf_attribute_flavor" = gnu; then printf "%s\n" "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h fi if test $ac_cv_have_decl_fcloseall = no; then HAVE_DECL_FCLOSEALL=0 fi if test $ac_cv_have_decl_getw = no; then HAVE_DECL_GETW=0 fi if test $ac_cv_have_decl_putw = no; then HAVE_DECL_PUTW=0 fi ac_fn_check_decl "$LINENO" "ecvt" "ac_cv_have_decl_ecvt" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ecvt" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ECVT $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fcvt" "ac_cv_have_decl_fcvt" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fcvt" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FCVT $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "gcvt" "ac_cv_have_decl_gcvt" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_gcvt" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_GCVT $ac_have_decl" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_stdlib_h='<'stdlib.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_stdlib_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdlib.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdlib_h gl_cv_next_stdlib_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 printf "%s\n" "$gl_cv_next_stdlib_h" >&6; } fi NEXT_STDLIB_H=$gl_cv_next_stdlib_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdlib.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdlib_h fi NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MB_CUR_MAX is correct" >&5 printf %s "checking whether MB_CUR_MAX is correct... " >&6; } if test ${gl_cv_macro_MB_CUR_MAX_good+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { return !!MB_CUR_MAX; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : # Guess no on Solaris and Haiku, yes otherwise. case $host_os in #( solaris* | haiku*) : gl_cv_macro_MB_CUR_MAX_good="guessing no" ;; #( *) : gl_cv_macro_MB_CUR_MAX_good="guessing yes" ;; esac if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { if (MB_CUR_MAX < 4) result |= 1; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_macro_MB_CUR_MAX_good=yes else case e in #( e) gl_cv_macro_MB_CUR_MAX_good=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi else case e in #( e) gl_cv_macro_MB_CUR_MAX_good="link failed - so no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_macro_MB_CUR_MAX_good" >&5 printf "%s\n" "$gl_cv_macro_MB_CUR_MAX_good" >&6; } case $gl_cv_macro_MB_CUR_MAX_good in #( *yes) : ;; #( "link failed - so no") : # 4 suffices as a workaround in Android NDK 16, # the only known platform with the bug. REPLACE_MB_CUR_MAX=4 ;; #( *) : REPLACE_MB_CUR_MAX="(-1)" ;; esac if test $ac_cv_have_decl_ecvt = no; then HAVE_DECL_ECVT=0 fi if test $ac_cv_have_decl_fcvt = no; then HAVE_DECL_FCVT=0 fi if test $ac_cv_have_decl_gcvt = no; then HAVE_DECL_GCVT=0 fi HAVE_FFS=1; HAVE_STRCASECMP=1; HAVE_STRCASECMP_L=1; HAVE_STRNCASECMP=1; HAVE_STRNCASECMP_L=1; HAVE_DECL_STRNCASECMP=1; REPLACE_STRCASECMP=0; REPLACE_STRCASECMP_L=0; REPLACE_STRNCASECMP=0; REPLACE_STRNCASECMP_L=0; GL_GNULIB_FFS=0 GL_GNULIB_STRCASECMP=0 GL_GNULIB_STRCASECMP_L=0 GL_GNULIB_STRNCASECMP=0 GL_GNULIB_STRNCASECMP_L=0 ac_fn_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strdup" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRDUP $ac_have_decl" >>confdefs.h REPLACE_STRERROR_0=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 printf %s "checking whether strerror(0) succeeds... " >&6; } if test ${gl_cv_func_strerror_0_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_strerror_0_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_strerror_0_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { int result = 0; char *str; errno = 0; str = strerror (0); if (!*str) result |= 1; if (errno) result |= 2; if (strstr (str, "nknown") || strstr (str, "ndefined")) result |= 4; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strerror_0_works=yes else case e in #( e) gl_cv_func_strerror_0_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 printf "%s\n" "$gl_cv_func_strerror_0_works" >&6; } case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 printf "%s\n" "#define REPLACE_STRERROR_0 1" >>confdefs.h ;; esac if test $gl_cv_have_include_next = yes; then gl_cv_next_string_h='<'string.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_string_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'string.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_string_h gl_cv_next_string_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 printf "%s\n" "$gl_cv_next_string_h" >&6; } fi NEXT_STRING_H=$gl_cv_next_string_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'string.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_string_h fi NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive if test $gl_cv_have_include_next = yes; then gl_cv_next_strings_h='<'strings.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_strings_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_strings_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'strings.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_strings_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_strings_h gl_cv_next_strings_h='"'$gl_header'"' else gl_cv_next_strings_h='<'strings.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 printf "%s\n" "$gl_cv_next_strings_h" >&6; } fi NEXT_STRINGS_H=$gl_cv_next_strings_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'strings.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_strings_h fi NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive if test $ac_cv_header_strings_h = yes; then HAVE_STRINGS_H=1 else HAVE_STRINGS_H=0 fi ac_fn_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strnlen" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRNLEN $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "strtoumax" "ac_cv_have_decl_strtoumax" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strtoumax" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRTOUMAX $ac_have_decl" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_random_h='<'sys/random.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sys_random_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_sys_random_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/random.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_random_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_random_h gl_cv_next_sys_random_h='"'$gl_header'"' else gl_cv_next_sys_random_h='<'sys/random.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_random_h" >&5 printf "%s\n" "$gl_cv_next_sys_random_h" >&6; } fi NEXT_SYS_RANDOM_H=$gl_cv_next_sys_random_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/random.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_random_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_RANDOM_H=$gl_next_as_first_directive if test $ac_cv_header_sys_random_h = yes; then HAVE_SYS_RANDOM_H=1 else HAVE_SYS_RANDOM_H=0 fi if test $ac_cv_header_sys_random_h = yes; then UNISTD_H_HAVE_SYS_RANDOM_H=1 fi GL_GNULIB_SOCKET=0 GL_GNULIB_CONNECT=0 GL_GNULIB_ACCEPT=0 GL_GNULIB_BIND=0 GL_GNULIB_GETPEERNAME=0 GL_GNULIB_GETSOCKNAME=0 GL_GNULIB_GETSOCKOPT=0 GL_GNULIB_LISTEN=0 GL_GNULIB_RECV=0 GL_GNULIB_SEND=0 GL_GNULIB_RECVFROM=0 GL_GNULIB_SENDTO=0 GL_GNULIB_SETSOCKOPT=0 GL_GNULIB_SHUTDOWN=0 GL_GNULIB_ACCEPT4=0 if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_uio_h='<'sys/uio.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sys_uio_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_sys_uio_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/uio.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_uio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_uio_h gl_cv_next_sys_uio_h='"'$gl_header'"' else gl_cv_next_sys_uio_h='<'sys/uio.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5 printf "%s\n" "$gl_cv_next_sys_uio_h" >&6; } fi NEXT_SYS_UIO_H=$gl_cv_next_sys_uio_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/uio.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_uio_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H=$gl_next_as_first_directive if test $ac_cv_header_sys_uio_h = yes; then HAVE_SYS_UIO_H=1 else HAVE_SYS_UIO_H=0 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_sys_wait_h='<'sys/wait.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_sys_wait_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_sys_wait_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'sys/wait.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_sys_wait_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_sys_wait_h gl_cv_next_sys_wait_h='"'$gl_header'"' else gl_cv_next_sys_wait_h='<'sys/wait.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5 printf "%s\n" "$gl_cv_next_sys_wait_h" >&6; } fi NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'sys/wait.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_sys_wait_h fi NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive GL_GNULIB_WAITPID=0 HAVE_DECL_LOCALTIME_R=1; HAVE_NANOSLEEP=1; HAVE_STRPTIME=1; HAVE_TIMEGM=1; HAVE_TIMESPEC_GET=1; HAVE_TIMESPEC_GETRES=1; HAVE_TIMEZONE_T=0; HAVE_TZALLOC=0; REPLACE_CTIME=0; REPLACE_GMTIME=0; REPLACE_LOCALTIME=0; REPLACE_LOCALTIME_R=0; REPLACE_LOCALTIME_RZ=0; REPLACE_MKTIME=0; REPLACE_MKTIME_Z=0; REPLACE_NANOSLEEP=0; REPLACE_STRFTIME=0; REPLACE_TIME=0; REPLACE_TIMEGM=0; REPLACE_TIMESPEC_GET=0; REPLACE_TIMESPEC_GETRES=0; REPLACE_TZSET=0; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 printf %s "checking for struct timespec in ... " >&6; } if test ${gl_cv_sys_struct_timespec_in_time_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_sys_struct_timespec_in_time_h=yes else case e in #( e) gl_cv_sys_struct_timespec_in_time_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 printf "%s\n" "$gl_cv_sys_struct_timespec_in_time_h" >&6; } TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 printf %s "checking for struct timespec in ... " >&6; } if test ${gl_cv_sys_struct_timespec_in_sys_time_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_sys_struct_timespec_in_sys_time_h=yes else case e in #( e) gl_cv_sys_struct_timespec_in_sys_time_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 printf "%s\n" "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 printf %s "checking for struct timespec in ... " >&6; } if test ${gl_cv_sys_struct_timespec_in_pthread_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_sys_struct_timespec_in_pthread_h=yes else case e in #( e) gl_cv_sys_struct_timespec_in_pthread_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 printf "%s\n" "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 printf %s "checking for struct timespec in ... " >&6; } if test ${gl_cv_sys_struct_timespec_in_unistd_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { static struct timespec x; x.tv_sec = x.tv_nsec; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_sys_struct_timespec_in_unistd_h=yes else case e in #( e) gl_cv_sys_struct_timespec_in_unistd_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_unistd_h" >&5 printf "%s\n" "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; } if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 fi fi fi fi if test $gl_cv_have_include_next = yes; then gl_cv_next_time_h='<'time.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_time_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'time.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_time_h gl_cv_next_time_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 printf "%s\n" "$gl_cv_next_time_h" >&6; } fi NEXT_TIME_H=$gl_cv_next_time_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'time.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_time_h fi NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIME_UTC in " >&5 printf %s "checking for TIME_UTC in ... " >&6; } if test ${gl_cv_time_h_has_TIME_UTC+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { static int x = TIME_UTC; x++; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_time_h_has_TIME_UTC=yes else case e in #( e) gl_cv_time_h_has_TIME_UTC=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_h_has_TIME_UTC" >&5 printf "%s\n" "$gl_cv_time_h_has_TIME_UTC" >&6; } if test $gl_cv_time_h_has_TIME_UTC = yes; then TIME_H_DEFINES_TIME_UTC=1 else TIME_H_DEFINES_TIME_UTC=0 fi GL_GNULIB_CTIME=0 GL_GNULIB_MKTIME=0 GL_GNULIB_LOCALTIME=0 GL_GNULIB_NANOSLEEP=0 GL_GNULIB_STRFTIME=0 GL_GNULIB_STRPTIME=0 GL_GNULIB_TIME=0 GL_GNULIB_TIMEGM=0 GL_GNULIB_TIMESPEC_GET=0 GL_GNULIB_TIMESPEC_GETRES=0 GL_GNULIB_TIME_R=0 GL_GNULIB_TIME_RZ=0 GL_GNULIB_TZNAME=0 GL_GNULIB_TZSET=0 GL_GNULIB_MDA_TZSET=1 gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' if test "$HAVE_LIBUNISTRING" = yes; then LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"` LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"` LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"` fi if test "$HAVE_LIBUNISTRING" = yes; then for ac_header in unistring/woe32dll.h do : ac_fn_c_check_header_compile "$LINENO" "unistring/woe32dll.h" "ac_cv_header_unistring_woe32dll_h" "$ac_includes_default" if test "x$ac_cv_header_unistring_woe32dll_h" = xyes then : printf "%s\n" "#define HAVE_UNISTRING_WOE32DLL_H 1" >>confdefs.h HAVE_UNISTRING_WOE32DLL_H=1 else case e in #( e) HAVE_UNISTRING_WOE32DLL_H=0 ;; esac fi done else HAVE_UNISTRING_WOE32DLL_H=0 fi GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNINORM_NFD_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNINORM_NFC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNINORM_NFKD_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' GL_GNULIB_UNINORM_NFKC_DLL_VARIABLE='LIBUNISTRING_DLL_VARIABLE' ac_fn_check_decl "$LINENO" "execvpe" "ac_cv_have_decl_execvpe" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_execvpe" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_EXECVPE $ac_have_decl" >>confdefs.h if test $gl_cv_have_include_next = yes; then gl_cv_next_unistd_h='<'unistd.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_unistd_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_unistd_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'unistd.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_unistd_h gl_cv_next_unistd_h='"'$gl_header'"' else gl_cv_next_unistd_h='<'unistd.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 printf "%s\n" "$gl_cv_next_unistd_h" >&6; } fi NEXT_UNISTD_H=$gl_cv_next_unistd_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'unistd.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_unistd_h fi NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive if test $ac_cv_header_unistd_h = yes; then HAVE_UNISTD_H=1 else HAVE_UNISTD_H=0 fi if test $ac_cv_have_decl_execvpe = no; then HAVE_DECL_EXECVPE=0 fi ac_fn_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_feof_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ferror_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fflush_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fgets_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fputc_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fputs_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fread_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getc_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getchar_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_putc_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_putchar_unlocked" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 printf %s "checking for inttypes.h... " >&6; } if test ${gl_cv_header_inttypes_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_inttypes_h=yes else case e in #( e) gl_cv_header_inttypes_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 printf "%s\n" "$gl_cv_header_inttypes_h" >&6; } if test $gl_cv_header_inttypes_h = yes; then printf "%s\n" "#define HAVE_INTTYPES_H_WITH_UINTMAX 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 printf %s "checking for stdint.h... " >&6; } if test ${gl_cv_header_stdint_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_stdint_h=yes else case e in #( e) gl_cv_header_stdint_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 printf "%s\n" "$gl_cv_header_stdint_h" >&6; } if test $gl_cv_header_stdint_h = yes; then printf "%s\n" "#define HAVE_STDINT_H_WITH_UINTMAX 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 printf %s "checking for intmax_t... " >&6; } if test ${gt_cv_c_intmax_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif int main (void) { intmax_t x = -1; return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gt_cv_c_intmax_t=yes else case e in #( e) gt_cv_c_intmax_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 printf "%s\n" "$gt_cv_c_intmax_t" >&6; } if test $gt_cv_c_intmax_t = yes; then printf "%s\n" "#define HAVE_INTMAX_T 1" >>confdefs.h else printf "%s\n" "#define intmax_t long long" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf truncates the result as in C99" >&5 printf %s "checking whether snprintf truncates the result as in C99... " >&6; } if test ${gl_cv_func_snprintf_truncation_c99+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_truncation_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; midnightbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_truncation_c99="guessing no";; openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_truncation_c99="guessing no";; solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_truncation_c99="guessing no";; netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_snprintf_truncation_c99="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_snprintf_truncation_c99="$gl_cross_guess_normal";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); my_snprintf (buf, 3, "%d %d", 4567, 89); if (memcmp (buf, "45\0DEF", 6) != 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_snprintf_truncation_c99=yes else case e in #( e) gl_cv_func_snprintf_truncation_c99=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_truncation_c99" >&5 printf "%s\n" "$gl_cv_func_snprintf_truncation_c99" >&6; } ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen" if test "x$ac_cv_func_wcslen" = xyes then : printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" if test "x$ac_cv_func_snprintf" = xyes then : printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" if test "x$ac_cv_func_strnlen" = xyes then : printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "wcrtomb" "ac_cv_func_wcrtomb" if test "x$ac_cv_func_wcrtomb" = xyes then : printf "%s\n" "#define HAVE_WCRTOMB 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl__snprintf" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL__SNPRINTF $ac_have_decl" >>confdefs.h case "$gl_cv_func_snprintf_retval_c99" in *yes) printf "%s\n" "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h ;; esac case "$gl_cv_func_snprintf_truncation_c99" in *yes) printf "%s\n" "#define HAVE_SNPRINTF_TRUNCATION_C99 1" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 printf %s "checking whether uses 'inline' correctly... " >&6; } if test ${gl_cv_header_wchar_h_correct_inline+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_header_wchar_h_correct_inline=yes case "$host_os" in *-gnu* | gnu*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define wcstod renamed_wcstod #include extern int zero (void); int main () { return zero(); } _ACEOF saved_ac_compile="$ac_compile" ac_compile=`echo "$saved_ac_compile" | sed s/conftest/conftest1/` if echo '#include "conftest.c"' >conftest1.c \ && { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define wcstod renamed_wcstod #include int zero (void) { return 0; } _ACEOF ac_compile=`echo "$saved_ac_compile" | sed s/conftest/conftest2/` if echo '#include "conftest.c"' >conftest2.c \ && { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then : else gl_cv_header_wchar_h_correct_inline=no fi fi fi ac_compile="$saved_ac_compile" rm -f conftest12.c conftest12.$ac_objext conftest$ac_exeext ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 printf "%s\n" "$gl_cv_header_wchar_h_correct_inline" >&6; } if test $gl_cv_header_wchar_h_correct_inline = no; then as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted." "$LINENO" 5 fi if test $gl_cv_have_include_next = yes; then gl_cv_next_wchar_h='<'wchar.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_wchar_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_wchar_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'wchar.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_wchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_wchar_h gl_cv_next_wchar_h='"'$gl_header'"' else gl_cv_next_wchar_h='<'wchar.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 printf "%s\n" "$gl_cv_next_wchar_h" >&6; } fi NEXT_WCHAR_H=$gl_cv_next_wchar_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'wchar.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_wchar_h fi NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi ac_fn_check_decl "$LINENO" "wcsdup" "ac_cv_have_decl_wcsdup" " #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_wcsdup" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_WCSDUP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_wcsdup = no; then HAVE_DECL_WCSDUP=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler option to allow warnings" >&5 printf %s "checking for C compiler option to allow warnings... " >&6; } if test ${gl_cv_cc_wallow+y} then : printf %s "(cached) " >&6 else case e in #( e) rm -f conftest* echo 'int dummy;' > conftest.c { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } >/dev/null { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -Wno-error -c conftest.c 2>conftest2.err' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } >/dev/null if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then gl_cv_cc_wallow='-Wno-error' else gl_cv_cc_wallow=none fi rm -f conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_wallow" >&5 printf "%s\n" "$gl_cv_cc_wallow" >&6; } case "$gl_cv_cc_wallow" in none) GL_CFLAG_ALLOW_WARNINGS='' ;; *) GL_CFLAG_ALLOW_WARNINGS="$gl_cv_cc_wallow" ;; esac GL_CFLAG_GNULIB_WARNINGS='' if test -n "$GL_CFLAG_ALLOW_WARNINGS"; then cat > conftest.c <<\EOF #if (__GNUC__ >= 3 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 9) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-float-conversion #endif #if (__GNUC__ >= 7 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wimplicit-fallthrough #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-pedantic #endif #if 3 < __clang_major__ + (9 <= __clang_minor__) -Wno-tautological-constant-out-of-range-compare #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-sign-conversion -Wno-type-limits #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 4) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-unused-const-variable #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 5) > 4 && !defined __clang__) -Wno-unsuffixed-float-constants #endif EOF gl_command="$CC $CFLAGS $CPPFLAGS -E conftest.c > conftest.out" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gl_command\""; } >&5 (eval $gl_command) 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then gl_options=`grep -v '#' conftest.out` for word in $gl_options; do GL_CFLAG_GNULIB_WARNINGS="$GL_CFLAG_GNULIB_WARNINGS $word" done fi rm -f conftest.c conftest.out fi if false; then GL_COND_LIBTOOL_TRUE= GL_COND_LIBTOOL_FALSE='#' else GL_COND_LIBTOOL_TRUE='#' GL_COND_LIBTOOL_FALSE= fi gl_cond_libtool=false gl_libdeps= gl_ltlibdeps= gl_m4_base='m4' gl_source_base='lib' gl_source_base_prefix='$(top_build_prefix)lib/' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alignas and alignof" >&5 printf %s "checking for alignas and alignof... " >&6; } if test ${gl_cv_header_working_stdalign_h+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS=$CFLAGS for gl_working in "yes, keywords" "yes, macros"; do case $gl_working in #( *stdalign.h*) : CFLAGS="$gl_saved_CFLAGS -DINCLUDE_STDALIGN_H" ;; #( *) : ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef INCLUDE_STDALIGN_H #include #endif #include /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 . */ #ifdef __cplusplus template struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper, b) #else # define ao(type) offsetof (struct { char a; type b; }, b) #endif char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; /* Test alignas only on platforms where gnulib can help. */ #if \ ((defined __cplusplus && 201103 <= __cplusplus) \ || (__TINYC__ && defined __attribute__) \ || (defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ || 1300 <= _MSC_VER) struct alignas_test { char c; char alignas (8) alignas_8; }; char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 ? 1 : -1]; #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_working_stdalign_h=$gl_working else case e in #( e) gl_cv_header_working_stdalign_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$gl_saved_CFLAGS test "$gl_cv_header_working_stdalign_h" != no && break done ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdalign_h" >&5 printf "%s\n" "$gl_cv_header_working_stdalign_h" >&6; } case $gl_cv_header_working_stdalign_h in #( yes*keyword*) : printf "%s\n" "#define HAVE_C_ALIGNASOF 1" >>confdefs.h ;; #( *) : ;; esac if test $ac_cv_func_alloca_works = no; then : fi # Define an additional variable used in the Makefile substitution. if test $ac_cv_working_alloca_h = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 printf %s "checking for alloca as a compiler built-in... " >&6; } if test ${gl_cv_rpl_alloca+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __GNUC__ || defined _AIX || defined _MSC_VER Need own alloca #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Need own alloca" >/dev/null 2>&1 then : gl_cv_rpl_alloca=yes else case e in #( e) gl_cv_rpl_alloca=no ;; esac fi rm -rf conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 printf "%s\n" "$gl_cv_rpl_alloca" >&6; } if test $gl_cv_rpl_alloca = yes; then printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h GL_GENERATE_ALLOCA_H=true else GL_GENERATE_ALLOCA_H=false fi else GL_GENERATE_ALLOCA_H=true fi if test $ac_cv_working_alloca_h = yes; then HAVE_ALLOCA_H=1 else HAVE_ALLOCA_H=0 fi case "$GL_GENERATE_ALLOCA_H" in false) ALLOCA_H='' ;; true) if test -z "$ALLOCA_H"; then ALLOCA_H="${gl_source_base_prefix}alloca.h" fi ;; *) echo "*** GL_GENERATE_ALLOCA_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_ALLOCA_H; then GL_GENERATE_ALLOCA_H_TRUE= GL_GENERATE_ALLOCA_H_FALSE='#' else GL_GENERATE_ALLOCA_H_TRUE='#' GL_GENERATE_ALLOCA_H_FALSE= fi : if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then GL_GENERATE_ALLOCA_H_TRUE='#' GL_GENERATE_ALLOCA_H_FALSE='#' fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 printf %s "checking whether to enable assertions... " >&6; } # Check whether --enable-assert was given. if test ${enable_assert+y} then : enableval=$enable_assert; if test "x$enableval" = xno then : printf "%s\n" "#define NDEBUG 1" >>confdefs.h elif test "x$enableval" != xyes then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 printf "%s\n" "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} enable_assert=yes fi else case e in #( e) enable_assert=yes ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5 printf "%s\n" "$enable_assert" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for static_assert" >&5 printf %s "checking for static_assert... " >&6; } if test ${gl_cv_static_assert+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS=$CFLAGS for gl_working in "yes, a keyword" "yes, an macro"; do case $gl_working in #( *assert.h*) : CFLAGS="$gl_saved_CFLAGS -DINCLUDE_ASSERT_H" ;; #( *) : ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __clang__ && __STDC_VERSION__ < 202311 #pragma clang diagnostic error "-Wc2x-extensions" #pragma clang diagnostic error "-Wc++1z-extensions" #endif #ifdef INCLUDE_ASSERT_H #include #endif static_assert (2 + 2 == 4, "arithmetic does not work"); static_assert (2 + 2 == 4); int main (void) { static_assert (sizeof (char) == 1, "sizeof does not work"); static_assert (sizeof (char) == 1); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_static_assert=$gl_working else case e in #( e) gl_cv_static_assert=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$gl_saved_CFLAGS test "$gl_cv_static_assert" != no && break done ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_static_assert" >&5 printf "%s\n" "$gl_cv_static_assert" >&6; } GL_GENERATE_ASSERT_H=false case $gl_cv_static_assert in #( yes*keyword*) : printf "%s\n" "#define HAVE_C_STATIC_ASSERT 1" >>confdefs.h ;; #( no) : GL_GENERATE_ASSERT_H=true if test $gl_cv_have_include_next = yes; then gl_cv_next_assert_h='<'assert.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_assert_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'assert.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_assert_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_assert_h gl_cv_next_assert_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_assert_h" >&5 printf "%s\n" "$gl_cv_next_assert_h" >&6; } fi NEXT_ASSERT_H=$gl_cv_next_assert_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'assert.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_assert_h fi NEXT_AS_FIRST_DIRECTIVE_ASSERT_H=$gl_next_as_first_directive ;; #( *) : ;; esac case "$GL_GENERATE_ASSERT_H" in false) ASSERT_H='' ;; true) if test -z "$ASSERT_H"; then ASSERT_H="${gl_source_base_prefix}assert.h" fi ;; *) echo "*** GL_GENERATE_ASSERT_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_ASSERT_H; then GL_GENERATE_ASSERT_H_TRUE= GL_GENERATE_ASSERT_H_FALSE='#' else GL_GENERATE_ASSERT_H_TRUE='#' GL_GENERATE_ASSERT_H_FALSE= fi : if test -z "${GL_GENERATE_ASSERT_H_TRUE}" && test -z "${GL_GENERATE_ASSERT_H_FALSE}"; then GL_GENERATE_ASSERT_H_TRUE='#' GL_GENERATE_ASSERT_H_FALSE='#' fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bool, true, false" >&5 printf %s "checking for bool, true, false... " >&6; } if test ${gl_cv_c_bool+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if true == false #error "true == false" #endif extern bool b; bool b = true == false; _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_c_bool=yes else case e in #( e) gl_cv_c_bool=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_bool" >&5 printf "%s\n" "$gl_cv_c_bool" >&6; } if test "$gl_cv_c_bool" = yes; then printf "%s\n" "#define HAVE_C_BOOL 1" >>confdefs.h fi if test $ac_cv_header_byteswap_h = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working bswap_16, bswap_32, bswap_64" >&5 printf %s "checking for working bswap_16, bswap_32, bswap_64... " >&6; } if test ${gl_cv_header_working_byteswap_h+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_header_working_byteswap_h=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int value_16 = bswap_16 (0.0); int value_32 = bswap_32 (0.0); int value_64 = bswap_64 (0.0); return !(value_16 + value_32 + value_64); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_working_byteswap_h=yes else case e in #( e) gl_cv_header_working_byteswap_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_byteswap_h" >&5 printf "%s\n" "$gl_cv_header_working_byteswap_h" >&6; } fi if test "$gl_cv_header_working_byteswap_h" = yes; then GL_GENERATE_BYTESWAP_H=false else GL_GENERATE_BYTESWAP_H=true fi case "$GL_GENERATE_BYTESWAP_H" in false) BYTESWAP_H='' ;; true) if test -z "$BYTESWAP_H"; then BYTESWAP_H="${gl_source_base_prefix}byteswap.h" fi ;; *) echo "*** GL_GENERATE_BYTESWAP_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_BYTESWAP_H; then GL_GENERATE_BYTESWAP_H_TRUE= GL_GENERATE_BYTESWAP_H_FALSE='#' else GL_GENERATE_BYTESWAP_H_TRUE='#' GL_GENERATE_BYTESWAP_H_FALSE= fi : if test -z "${GL_GENERATE_BYTESWAP_H_TRUE}" && test -z "${GL_GENERATE_BYTESWAP_H_FALSE}"; then GL_GENERATE_BYTESWAP_H_TRUE='#' GL_GENERATE_BYTESWAP_H_FALSE='#' fi GL_GNULIB_C32ISALNUM=1 printf "%s\n" "#define GNULIB_TEST_C32ISALNUM 1" >>confdefs.h GL_GNULIB_C32ISALPHA=1 printf "%s\n" "#define GNULIB_TEST_C32ISALPHA 1" >>confdefs.h GL_GNULIB_C32ISBLANK=1 printf "%s\n" "#define GNULIB_TEST_C32ISBLANK 1" >>confdefs.h GL_GNULIB_C32ISCNTRL=1 printf "%s\n" "#define GNULIB_TEST_C32ISCNTRL 1" >>confdefs.h GL_GNULIB_C32ISDIGIT=1 printf "%s\n" "#define GNULIB_TEST_C32ISDIGIT 1" >>confdefs.h GL_GNULIB_C32ISGRAPH=1 printf "%s\n" "#define GNULIB_TEST_C32ISGRAPH 1" >>confdefs.h GL_GNULIB_C32ISLOWER=1 printf "%s\n" "#define GNULIB_TEST_C32ISLOWER 1" >>confdefs.h GL_GNULIB_C32ISPRINT=1 printf "%s\n" "#define GNULIB_TEST_C32ISPRINT 1" >>confdefs.h GL_GNULIB_C32ISPUNCT=1 printf "%s\n" "#define GNULIB_TEST_C32ISPUNCT 1" >>confdefs.h GL_GNULIB_C32ISSPACE=1 printf "%s\n" "#define GNULIB_TEST_C32ISSPACE 1" >>confdefs.h GL_GNULIB_C32ISUPPER=1 printf "%s\n" "#define GNULIB_TEST_C32ISUPPER 1" >>confdefs.h GL_GNULIB_C32ISXDIGIT=1 printf "%s\n" "#define GNULIB_TEST_C32ISXDIGIT 1" >>confdefs.h GL_GNULIB_C32TOLOWER=1 printf "%s\n" "#define GNULIB_TEST_C32TOLOWER 1" >>confdefs.h GL_GNULIB_C32WIDTH=1 printf "%s\n" "#define GNULIB_TEST_C32WIDTH 1" >>confdefs.h REPLACE_CALLOC_FOR_CALLOC_GNU="$REPLACE_CALLOC_FOR_CALLOC_POSIX" if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether calloc (0, n) and calloc (n, 0) return nonnull" >&5 printf %s "checking whether calloc (0, n) and calloc (n, 0) return nonnull... " >&6; } if test ${gl_cv_func_calloc_0_nonnull+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case $host_os in #( # Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ | gnu* | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin* | mingw* | windows* | msys*) : gl_cv_func_calloc_0_nonnull="guessing yes" ;; #( *) : # If we don't know, obey --enable-cross-guesses. gl_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Use pcalloc to test; "volatile" prevents the compiler from optimizing the calloc call away. */ void *(*volatile pcalloc) (size_t, size_t) = calloc; int main (void) { void *p = pcalloc (0, 0); int result = !p; free (p); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_calloc_0_nonnull=yes else case e in #( e) gl_cv_func_calloc_0_nonnull=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_calloc_0_nonnull" >&5 printf "%s\n" "$gl_cv_func_calloc_0_nonnull" >&6; } case $gl_cv_func_calloc_0_nonnull in #( *yes) : ;; #( *) : REPLACE_CALLOC_FOR_CALLOC_GNU=1 ;; esac fi if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext" fi GL_GNULIB_CALLOC_GNU=1 printf "%s\n" "#define GNULIB_TEST_CALLOC_GNU 1" >>confdefs.h REPLACE_CALLOC_FOR_CALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext" fi GL_GNULIB_CALLOC_POSIX=1 printf "%s\n" "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h exec 9>&6 6>/dev/null if test ${gl_cv_func_ceil_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_ceil_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x; int main (void) { x = funcptr(x) + ceil(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceil_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_ceil_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x; int main (void) { x = funcptr(x) + ceil(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceil_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- CEIL_LIBM="$gl_cv_func_ceil_libm" if test "$CEIL_LIBM" = "?"; then CEIL_LIBM= fi if test $REPLACE_CEIL = 1; then CEIL_LIBM= fi if test $REPLACE_CEIL = 1; then GL_COND_OBJ_CEIL_TRUE= GL_COND_OBJ_CEIL_FALSE='#' else GL_COND_OBJ_CEIL_TRUE='#' GL_COND_OBJ_CEIL_FALSE= fi : if test -z "${GL_COND_OBJ_CEIL_TRUE}" && test -z "${GL_COND_OBJ_CEIL_FALSE}"; then GL_COND_OBJ_CEIL_TRUE='#' GL_COND_OBJ_CEIL_FALSE='#' fi GL_GNULIB_CEIL=1 printf "%s\n" "#define GNULIB_TEST_CEIL 1" >>confdefs.h ac_fn_check_decl "$LINENO" "ceill" "ac_cv_have_decl_ceill" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ceill" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_CEILL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_ceill" = yes; then exec 9>&6 6>/dev/null if test ${gl_cv_func_ceill_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_ceill_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x; int main (void) { x = funcptr(x) + ceill(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceill_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_ceill_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x; int main (void) { x = funcptr(x) + ceill(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceill_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- CEILL_LIBM="$gl_cv_func_ceill_libm" if test "$CEILL_LIBM" = "?"; then REPLACE_CEILL=1 fi else HAVE_DECL_CEILL=0 fi if test $REPLACE_CEILL = 0 ; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ceill() works" >&5 printf %s "checking whether ceill() works... " >&6; } if test ${gl_cv_func_ceill_works+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$CEILL_LIBM" if test "$cross_compiling" = yes then : case "$host_os" in openbsd*) gl_cv_func_ceill_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ceill_works="guessing yes" ;; *) gl_cv_func_ceill_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double d = 0.3L; int main (void) { return (!(ceill (d) == 1)); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ceill_works=yes else case e in #( e) gl_cv_func_ceill_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ceill_works" >&5 printf "%s\n" "$gl_cv_func_ceill_works" >&6; } case "$gl_cv_func_ceill_works" in *yes) ;; *) REPLACE_CEILL=1 ;; esac fi if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then CEILL_LIBM="$CEIL_LIBM" else CEILL_LIBM= fi fi if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then GL_COND_OBJ_CEILL_TRUE= GL_COND_OBJ_CEILL_FALSE='#' else GL_COND_OBJ_CEILL_TRUE='#' GL_COND_OBJ_CEILL_FALSE= fi : if test -z "${GL_COND_OBJ_CEILL_TRUE}" && test -z "${GL_COND_OBJ_CEILL_FALSE}"; then GL_COND_OBJ_CEILL_TRUE='#' GL_COND_OBJ_CEILL_FALSE='#' fi GL_GNULIB_CEILL=1 printf "%s\n" "#define GNULIB_TEST_CEILL 1" >>confdefs.h printf "%s\n" "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h if test $REPLACE_CLOSE = 1; then GL_COND_OBJ_CLOSE_TRUE= GL_COND_OBJ_CLOSE_FALSE='#' else GL_COND_OBJ_CLOSE_TRUE='#' GL_COND_OBJ_CLOSE_FALSE= fi : if test -z "${GL_COND_OBJ_CLOSE_TRUE}" && test -z "${GL_COND_OBJ_CLOSE_FALSE}"; then GL_COND_OBJ_CLOSE_TRUE='#' GL_COND_OBJ_CLOSE_FALSE='#' fi GL_GNULIB_CLOSE=1 printf "%s\n" "#define GNULIB_TEST_CLOSE 1" >>confdefs.h printf "%s\n" "#define GNULIB_CLOSE 1" >>confdefs.h printf "%s\n" "#define GNULIB_CLOSE_STREAM 1" >>confdefs.h gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_bindir="${bindir}" gl_saved_sbindir="${sbindir}" gl_saved_libexecdir="${libexecdir}" gl_saved_datarootdir="${datarootdir}" gl_saved_datadir="${datadir}" gl_saved_sysconfdir="${sysconfdir}" gl_saved_sharedstatedir="${sharedstatedir}" gl_saved_localstatedir="${localstatedir}" gl_saved_runstatedir="${runstatedir}" gl_saved_includedir="${includedir}" gl_saved_oldincludedir="${oldincludedir}" gl_saved_docdir="${docdir}" gl_saved_infodir="${infodir}" gl_saved_htmldir="${htmldir}" gl_saved_dvidir="${dvidir}" gl_saved_pdfdir="${pdfdir}" gl_saved_psdir="${psdir}" gl_saved_libdir="${libdir}" gl_saved_lispdir="${lispdir}" gl_saved_localedir="${localedir}" gl_saved_mandir="${mandir}" gl_saved_pkgdatadir="${pkgdatadir}" gl_saved_pkgincludedir="${pkgincludedir}" gl_saved_pkglibdir="${pkglibdir}" gl_saved_pkglibexecdir="${pkglibexecdir}" if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval bindir="$bindir" eval sbindir="$sbindir" eval libexecdir="$libexecdir" eval datarootdir="$datarootdir" eval datadir="$datadir" eval sysconfdir="$sysconfdir" eval sharedstatedir="$sharedstatedir" eval localstatedir="$localstatedir" eval runstatedir="$runstatedir" eval includedir="$includedir" eval oldincludedir="$oldincludedir" eval docdir="$docdir" eval infodir="$infodir" eval htmldir="$htmldir" eval dvidir="$dvidir" eval pdfdir="$pdfdir" eval psdir="$psdir" eval libdir="$libdir" eval lispdir="$lispdir" eval localedir="$localedir" eval mandir="$mandir" eval pkgdatadir="$pkgdatadir" eval pkgincludedir="$pkgincludedir" eval pkglibdir="$pkglibdir" eval pkglibexecdir="$pkglibexecdir" gl_final_prefix="$prefix" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_prefix=`cygpath -w "$gl_final_prefix"` ;; esac ;; esac prefix_c=`printf '%s\n' "$gl_final_prefix" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` prefix_c='"'"$prefix_c"'"' prefix_c_make=`printf '%s\n' "$prefix_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$prefix_c_make" = '\"'"${gl_final_prefix}"'\"'; then prefix_c_make='\"$(prefix)\"' fi gl_final_exec_prefix="$exec_prefix" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_exec_prefix=`cygpath -w "$gl_final_exec_prefix"` ;; esac ;; esac exec_prefix_c=`printf '%s\n' "$gl_final_exec_prefix" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` exec_prefix_c='"'"$exec_prefix_c"'"' exec_prefix_c_make=`printf '%s\n' "$exec_prefix_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$exec_prefix_c_make" = '\"'"${gl_final_exec_prefix}"'\"'; then exec_prefix_c_make='\"$(exec_prefix)\"' fi gl_final_bindir="$bindir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_bindir=`cygpath -w "$gl_final_bindir"` ;; esac ;; esac bindir_c=`printf '%s\n' "$gl_final_bindir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` bindir_c='"'"$bindir_c"'"' bindir_c_make=`printf '%s\n' "$bindir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$bindir_c_make" = '\"'"${gl_final_bindir}"'\"'; then bindir_c_make='\"$(bindir)\"' fi gl_final_sbindir="$sbindir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_sbindir=`cygpath -w "$gl_final_sbindir"` ;; esac ;; esac sbindir_c=`printf '%s\n' "$gl_final_sbindir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` sbindir_c='"'"$sbindir_c"'"' sbindir_c_make=`printf '%s\n' "$sbindir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$sbindir_c_make" = '\"'"${gl_final_sbindir}"'\"'; then sbindir_c_make='\"$(sbindir)\"' fi gl_final_libexecdir="$libexecdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_libexecdir=`cygpath -w "$gl_final_libexecdir"` ;; esac ;; esac libexecdir_c=`printf '%s\n' "$gl_final_libexecdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` libexecdir_c='"'"$libexecdir_c"'"' libexecdir_c_make=`printf '%s\n' "$libexecdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$libexecdir_c_make" = '\"'"${gl_final_libexecdir}"'\"'; then libexecdir_c_make='\"$(libexecdir)\"' fi gl_final_datarootdir="$datarootdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_datarootdir=`cygpath -w "$gl_final_datarootdir"` ;; esac ;; esac datarootdir_c=`printf '%s\n' "$gl_final_datarootdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` datarootdir_c='"'"$datarootdir_c"'"' datarootdir_c_make=`printf '%s\n' "$datarootdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$datarootdir_c_make" = '\"'"${gl_final_datarootdir}"'\"'; then datarootdir_c_make='\"$(datarootdir)\"' fi gl_final_datadir="$datadir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_datadir=`cygpath -w "$gl_final_datadir"` ;; esac ;; esac datadir_c=`printf '%s\n' "$gl_final_datadir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` datadir_c='"'"$datadir_c"'"' datadir_c_make=`printf '%s\n' "$datadir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$datadir_c_make" = '\"'"${gl_final_datadir}"'\"'; then datadir_c_make='\"$(datadir)\"' fi gl_final_sysconfdir="$sysconfdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_sysconfdir=`cygpath -w "$gl_final_sysconfdir"` ;; esac ;; esac sysconfdir_c=`printf '%s\n' "$gl_final_sysconfdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` sysconfdir_c='"'"$sysconfdir_c"'"' sysconfdir_c_make=`printf '%s\n' "$sysconfdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$sysconfdir_c_make" = '\"'"${gl_final_sysconfdir}"'\"'; then sysconfdir_c_make='\"$(sysconfdir)\"' fi gl_final_sharedstatedir="$sharedstatedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_sharedstatedir=`cygpath -w "$gl_final_sharedstatedir"` ;; esac ;; esac sharedstatedir_c=`printf '%s\n' "$gl_final_sharedstatedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` sharedstatedir_c='"'"$sharedstatedir_c"'"' sharedstatedir_c_make=`printf '%s\n' "$sharedstatedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$sharedstatedir_c_make" = '\"'"${gl_final_sharedstatedir}"'\"'; then sharedstatedir_c_make='\"$(sharedstatedir)\"' fi gl_final_localstatedir="$localstatedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_localstatedir=`cygpath -w "$gl_final_localstatedir"` ;; esac ;; esac localstatedir_c=`printf '%s\n' "$gl_final_localstatedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` localstatedir_c='"'"$localstatedir_c"'"' localstatedir_c_make=`printf '%s\n' "$localstatedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$localstatedir_c_make" = '\"'"${gl_final_localstatedir}"'\"'; then localstatedir_c_make='\"$(localstatedir)\"' fi gl_final_runstatedir="$runstatedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_runstatedir=`cygpath -w "$gl_final_runstatedir"` ;; esac ;; esac runstatedir_c=`printf '%s\n' "$gl_final_runstatedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` runstatedir_c='"'"$runstatedir_c"'"' runstatedir_c_make=`printf '%s\n' "$runstatedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$runstatedir_c_make" = '\"'"${gl_final_runstatedir}"'\"'; then runstatedir_c_make='\"$(runstatedir)\"' fi gl_final_includedir="$includedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_includedir=`cygpath -w "$gl_final_includedir"` ;; esac ;; esac includedir_c=`printf '%s\n' "$gl_final_includedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` includedir_c='"'"$includedir_c"'"' includedir_c_make=`printf '%s\n' "$includedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$includedir_c_make" = '\"'"${gl_final_includedir}"'\"'; then includedir_c_make='\"$(includedir)\"' fi gl_final_oldincludedir="$oldincludedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_oldincludedir=`cygpath -w "$gl_final_oldincludedir"` ;; esac ;; esac oldincludedir_c=`printf '%s\n' "$gl_final_oldincludedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` oldincludedir_c='"'"$oldincludedir_c"'"' oldincludedir_c_make=`printf '%s\n' "$oldincludedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$oldincludedir_c_make" = '\"'"${gl_final_oldincludedir}"'\"'; then oldincludedir_c_make='\"$(oldincludedir)\"' fi gl_final_docdir="$docdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_docdir=`cygpath -w "$gl_final_docdir"` ;; esac ;; esac docdir_c=`printf '%s\n' "$gl_final_docdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` docdir_c='"'"$docdir_c"'"' docdir_c_make=`printf '%s\n' "$docdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$docdir_c_make" = '\"'"${gl_final_docdir}"'\"'; then docdir_c_make='\"$(docdir)\"' fi gl_final_infodir="$infodir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_infodir=`cygpath -w "$gl_final_infodir"` ;; esac ;; esac infodir_c=`printf '%s\n' "$gl_final_infodir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` infodir_c='"'"$infodir_c"'"' infodir_c_make=`printf '%s\n' "$infodir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$infodir_c_make" = '\"'"${gl_final_infodir}"'\"'; then infodir_c_make='\"$(infodir)\"' fi gl_final_htmldir="$htmldir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_htmldir=`cygpath -w "$gl_final_htmldir"` ;; esac ;; esac htmldir_c=`printf '%s\n' "$gl_final_htmldir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` htmldir_c='"'"$htmldir_c"'"' htmldir_c_make=`printf '%s\n' "$htmldir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$htmldir_c_make" = '\"'"${gl_final_htmldir}"'\"'; then htmldir_c_make='\"$(htmldir)\"' fi gl_final_dvidir="$dvidir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_dvidir=`cygpath -w "$gl_final_dvidir"` ;; esac ;; esac dvidir_c=`printf '%s\n' "$gl_final_dvidir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` dvidir_c='"'"$dvidir_c"'"' dvidir_c_make=`printf '%s\n' "$dvidir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$dvidir_c_make" = '\"'"${gl_final_dvidir}"'\"'; then dvidir_c_make='\"$(dvidir)\"' fi gl_final_pdfdir="$pdfdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_pdfdir=`cygpath -w "$gl_final_pdfdir"` ;; esac ;; esac pdfdir_c=`printf '%s\n' "$gl_final_pdfdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` pdfdir_c='"'"$pdfdir_c"'"' pdfdir_c_make=`printf '%s\n' "$pdfdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$pdfdir_c_make" = '\"'"${gl_final_pdfdir}"'\"'; then pdfdir_c_make='\"$(pdfdir)\"' fi gl_final_psdir="$psdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_psdir=`cygpath -w "$gl_final_psdir"` ;; esac ;; esac psdir_c=`printf '%s\n' "$gl_final_psdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` psdir_c='"'"$psdir_c"'"' psdir_c_make=`printf '%s\n' "$psdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$psdir_c_make" = '\"'"${gl_final_psdir}"'\"'; then psdir_c_make='\"$(psdir)\"' fi gl_final_libdir="$libdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_libdir=`cygpath -w "$gl_final_libdir"` ;; esac ;; esac libdir_c=`printf '%s\n' "$gl_final_libdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` libdir_c='"'"$libdir_c"'"' libdir_c_make=`printf '%s\n' "$libdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$libdir_c_make" = '\"'"${gl_final_libdir}"'\"'; then libdir_c_make='\"$(libdir)\"' fi gl_final_lispdir="$lispdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_lispdir=`cygpath -w "$gl_final_lispdir"` ;; esac ;; esac lispdir_c=`printf '%s\n' "$gl_final_lispdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` lispdir_c='"'"$lispdir_c"'"' lispdir_c_make=`printf '%s\n' "$lispdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$lispdir_c_make" = '\"'"${gl_final_lispdir}"'\"'; then lispdir_c_make='\"$(lispdir)\"' fi gl_final_localedir="$localedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_localedir=`cygpath -w "$gl_final_localedir"` ;; esac ;; esac localedir_c=`printf '%s\n' "$gl_final_localedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` localedir_c='"'"$localedir_c"'"' localedir_c_make=`printf '%s\n' "$localedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$localedir_c_make" = '\"'"${gl_final_localedir}"'\"'; then localedir_c_make='\"$(localedir)\"' fi gl_final_mandir="$mandir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_mandir=`cygpath -w "$gl_final_mandir"` ;; esac ;; esac mandir_c=`printf '%s\n' "$gl_final_mandir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` mandir_c='"'"$mandir_c"'"' mandir_c_make=`printf '%s\n' "$mandir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$mandir_c_make" = '\"'"${gl_final_mandir}"'\"'; then mandir_c_make='\"$(mandir)\"' fi gl_final_pkgdatadir="$pkgdatadir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_pkgdatadir=`cygpath -w "$gl_final_pkgdatadir"` ;; esac ;; esac pkgdatadir_c=`printf '%s\n' "$gl_final_pkgdatadir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` pkgdatadir_c='"'"$pkgdatadir_c"'"' pkgdatadir_c_make=`printf '%s\n' "$pkgdatadir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$pkgdatadir_c_make" = '\"'"${gl_final_pkgdatadir}"'\"'; then pkgdatadir_c_make='\"$(pkgdatadir)\"' fi gl_final_pkgincludedir="$pkgincludedir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_pkgincludedir=`cygpath -w "$gl_final_pkgincludedir"` ;; esac ;; esac pkgincludedir_c=`printf '%s\n' "$gl_final_pkgincludedir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` pkgincludedir_c='"'"$pkgincludedir_c"'"' pkgincludedir_c_make=`printf '%s\n' "$pkgincludedir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$pkgincludedir_c_make" = '\"'"${gl_final_pkgincludedir}"'\"'; then pkgincludedir_c_make='\"$(pkgincludedir)\"' fi gl_final_pkglibdir="$pkglibdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_pkglibdir=`cygpath -w "$gl_final_pkglibdir"` ;; esac ;; esac pkglibdir_c=`printf '%s\n' "$gl_final_pkglibdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` pkglibdir_c='"'"$pkglibdir_c"'"' pkglibdir_c_make=`printf '%s\n' "$pkglibdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$pkglibdir_c_make" = '\"'"${gl_final_pkglibdir}"'\"'; then pkglibdir_c_make='\"$(pkglibdir)\"' fi gl_final_pkglibexecdir="$pkglibexecdir" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_pkglibexecdir=`cygpath -w "$gl_final_pkglibexecdir"` ;; esac ;; esac pkglibexecdir_c=`printf '%s\n' "$gl_final_pkglibexecdir" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` pkglibexecdir_c='"'"$pkglibexecdir_c"'"' pkglibexecdir_c_make=`printf '%s\n' "$pkglibexecdir_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$pkglibexecdir_c_make" = '\"'"${gl_final_pkglibexecdir}"'\"'; then pkglibexecdir_c_make='\"$(pkglibexecdir)\"' fi pkglibexecdir="${gl_saved_pkglibexecdir}" pkglibdir="${gl_saved_pkglibdir}" pkgincludedir="${gl_saved_pkgincludedir}" pkgdatadir="${gl_saved_pkgdatadir}" mandir="${gl_saved_mandir}" localedir="${gl_saved_localedir}" lispdir="${gl_saved_lispdir}" libdir="${gl_saved_libdir}" psdir="${gl_saved_psdir}" pdfdir="${gl_saved_pdfdir}" dvidir="${gl_saved_dvidir}" htmldir="${gl_saved_htmldir}" infodir="${gl_saved_infodir}" docdir="${gl_saved_docdir}" oldincludedir="${gl_saved_oldincludedir}" includedir="${gl_saved_includedir}" runstatedir="${gl_saved_runstatedir}" localstatedir="${gl_saved_localstatedir}" sharedstatedir="${gl_saved_sharedstatedir}" sysconfdir="${gl_saved_sysconfdir}" datadir="${gl_saved_datadir}" datarootdir="${gl_saved_datarootdir}" libexecdir="${gl_saved_libexecdir}" sbindir="${gl_saved_sbindir}" bindir="${gl_saved_bindir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" # Check whether --with-openssl was given. if test ${with_openssl+y} then : withval=$with_openssl; else case e in #( e) with_openssl=$with_openssl_default ;; esac fi if test "x$with_openssl" != xno; then if test "x$with_openssl" = xauto-gpl-compat; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether openssl is GPL compatible" >&5 printf %s "checking whether openssl is GPL compatible... " >&6; } if test ${gl_cv_openssl_gpl_compat+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if OPENSSL_VERSION_MAJOR < 3 #error "openssl >= version 3 not found" #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_openssl_gpl_compat=yes else case e in #( e) gl_cv_openssl_gpl_compat=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_openssl_gpl_compat" >&5 printf "%s\n" "$gl_cv_openssl_gpl_compat" >&6; } fi if test "x$with_openssl" != xauto-gpl-compat || test "x$gl_cv_openssl_gpl_compat" = xyes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 printf %s "checking for MD5 in -lcrypto... " >&6; } if test ${ac_cv_lib_crypto_MD5+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char MD5 (void); int main (void) { return MD5 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_crypto_MD5=yes else case e in #( e) ac_cv_lib_crypto_MD5=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 printf "%s\n" "$ac_cv_lib_crypto_MD5" >&6; } if test "x$ac_cv_lib_crypto_MD5" = xyes then : for ac_header in openssl/md5.h do : ac_fn_c_check_header_compile "$LINENO" "openssl/md5.h" "ac_cv_header_openssl_md5_h" "$ac_includes_default" if test "x$ac_cv_header_openssl_md5_h" = xyes then : printf "%s\n" "#define HAVE_OPENSSL_MD5_H 1" >>confdefs.h LIB_CRYPTO=-lcrypto printf "%s\n" "#define HAVE_OPENSSL_MD5 1" >>confdefs.h fi done fi fi if test "x$LIB_CRYPTO" = x; then message='openssl development library not found for MD5. If you want to install it, first find the pre-built package name: - On Debian and Debian-based systems: libssl-dev, - On Red Hat distributions: openssl-devel. - Other: https://repology.org/project/openssl/versions' if test "x$with_openssl" = xyes; then as_fn_error $? "$message" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $message" >&5 printf "%s\n" "$as_me: WARNING: $message" >&2;} fi fi fi # Check whether --with-openssl was given. if test ${with_openssl+y} then : withval=$with_openssl; else case e in #( e) with_openssl=$with_openssl_default ;; esac fi if test "x$with_openssl" != xno; then if test "x$with_openssl" = xauto-gpl-compat; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether openssl is GPL compatible" >&5 printf %s "checking whether openssl is GPL compatible... " >&6; } if test ${gl_cv_openssl_gpl_compat+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if OPENSSL_VERSION_MAJOR < 3 #error "openssl >= version 3 not found" #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_openssl_gpl_compat=yes else case e in #( e) gl_cv_openssl_gpl_compat=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_openssl_gpl_compat" >&5 printf "%s\n" "$gl_cv_openssl_gpl_compat" >&6; } fi if test "x$with_openssl" != xauto-gpl-compat || test "x$gl_cv_openssl_gpl_compat" = xyes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA1 in -lcrypto" >&5 printf %s "checking for SHA1 in -lcrypto... " >&6; } if test ${ac_cv_lib_crypto_SHA1+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char SHA1 (void); int main (void) { return SHA1 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_crypto_SHA1=yes else case e in #( e) ac_cv_lib_crypto_SHA1=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1" >&5 printf "%s\n" "$ac_cv_lib_crypto_SHA1" >&6; } if test "x$ac_cv_lib_crypto_SHA1" = xyes then : for ac_header in openssl/sha.h do : ac_fn_c_check_header_compile "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default" if test "x$ac_cv_header_openssl_sha_h" = xyes then : printf "%s\n" "#define HAVE_OPENSSL_SHA_H 1" >>confdefs.h LIB_CRYPTO=-lcrypto printf "%s\n" "#define HAVE_OPENSSL_SHA1 1" >>confdefs.h fi done fi fi if test "x$LIB_CRYPTO" = x; then message='openssl development library not found for SHA1. If you want to install it, first find the pre-built package name: - On Debian and Debian-based systems: libssl-dev, - On Red Hat distributions: openssl-devel. - Other: https://repology.org/project/openssl/versions' if test "x$with_openssl" = xyes; then as_fn_error $? "$message" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $message" >&5 printf "%s\n" "$as_me: WARNING: $message" >&2;} fi fi fi # Check whether --with-openssl was given. if test ${with_openssl+y} then : withval=$with_openssl; else case e in #( e) with_openssl=$with_openssl_default ;; esac fi if test "x$with_openssl" != xno; then if test "x$with_openssl" = xauto-gpl-compat; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether openssl is GPL compatible" >&5 printf %s "checking whether openssl is GPL compatible... " >&6; } if test ${gl_cv_openssl_gpl_compat+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if OPENSSL_VERSION_MAJOR < 3 #error "openssl >= version 3 not found" #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_openssl_gpl_compat=yes else case e in #( e) gl_cv_openssl_gpl_compat=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_openssl_gpl_compat" >&5 printf "%s\n" "$gl_cv_openssl_gpl_compat" >&6; } fi if test "x$with_openssl" != xauto-gpl-compat || test "x$gl_cv_openssl_gpl_compat" = xyes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA256 in -lcrypto" >&5 printf %s "checking for SHA256 in -lcrypto... " >&6; } if test ${ac_cv_lib_crypto_SHA256+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char SHA256 (void); int main (void) { return SHA256 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_crypto_SHA256=yes else case e in #( e) ac_cv_lib_crypto_SHA256=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA256" >&5 printf "%s\n" "$ac_cv_lib_crypto_SHA256" >&6; } if test "x$ac_cv_lib_crypto_SHA256" = xyes then : for ac_header in openssl/sha.h do : ac_fn_c_check_header_compile "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default" if test "x$ac_cv_header_openssl_sha_h" = xyes then : printf "%s\n" "#define HAVE_OPENSSL_SHA_H 1" >>confdefs.h LIB_CRYPTO=-lcrypto printf "%s\n" "#define HAVE_OPENSSL_SHA256 1" >>confdefs.h fi done fi fi if test "x$LIB_CRYPTO" = x; then message='openssl development library not found for SHA256. If you want to install it, first find the pre-built package name: - On Debian and Debian-based systems: libssl-dev, - On Red Hat distributions: openssl-devel. - Other: https://repology.org/project/openssl/versions' if test "x$with_openssl" = xyes; then as_fn_error $? "$message" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $message" >&5 printf "%s\n" "$as_me: WARNING: $message" >&2;} fi fi fi # Check whether --with-openssl was given. if test ${with_openssl+y} then : withval=$with_openssl; else case e in #( e) with_openssl=$with_openssl_default ;; esac fi if test "x$with_openssl" != xno; then if test "x$with_openssl" = xauto-gpl-compat; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether openssl is GPL compatible" >&5 printf %s "checking whether openssl is GPL compatible... " >&6; } if test ${gl_cv_openssl_gpl_compat+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if OPENSSL_VERSION_MAJOR < 3 #error "openssl >= version 3 not found" #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_openssl_gpl_compat=yes else case e in #( e) gl_cv_openssl_gpl_compat=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_openssl_gpl_compat" >&5 printf "%s\n" "$gl_cv_openssl_gpl_compat" >&6; } fi if test "x$with_openssl" != xauto-gpl-compat || test "x$gl_cv_openssl_gpl_compat" = xyes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA512 in -lcrypto" >&5 printf %s "checking for SHA512 in -lcrypto... " >&6; } if test ${ac_cv_lib_crypto_SHA512+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char SHA512 (void); int main (void) { return SHA512 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_crypto_SHA512=yes else case e in #( e) ac_cv_lib_crypto_SHA512=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA512" >&5 printf "%s\n" "$ac_cv_lib_crypto_SHA512" >&6; } if test "x$ac_cv_lib_crypto_SHA512" = xyes then : for ac_header in openssl/sha.h do : ac_fn_c_check_header_compile "$LINENO" "openssl/sha.h" "ac_cv_header_openssl_sha_h" "$ac_includes_default" if test "x$ac_cv_header_openssl_sha_h" = xyes then : printf "%s\n" "#define HAVE_OPENSSL_SHA_H 1" >>confdefs.h LIB_CRYPTO=-lcrypto printf "%s\n" "#define HAVE_OPENSSL_SHA512 1" >>confdefs.h fi done fi fi if test "x$LIB_CRYPTO" = x; then message='openssl development library not found for SHA512. If you want to install it, first find the pre-built package name: - On Debian and Debian-based systems: libssl-dev, - On Red Hat distributions: openssl-devel. - Other: https://repology.org/project/openssl/versions' if test "x$with_openssl" = xyes; then as_fn_error $? "$message" "$LINENO" 5 elif test "x$with_openssl" = xoptional; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $message" >&5 printf "%s\n" "$as_me: WARNING: $message" >&2;} fi fi fi printf "%s\n" "#define GNULIB_DIRNAME 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 printf %s "checking whether // is distinct from /... " >&6; } if test ${gl_cv_double_slash_root+y} then : printf %s "(cached) " >&6 else case e in #( e) if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date # that have a distinct // are Apollo DomainOS (too old to port to), # Cygwin, and z/OS. If anyone knows of another system for which // has # special semantics and is distinct from /, please report it to # . case $host in *-cygwin | i370-ibm-openedition) gl_cv_double_slash_root=yes ;; *) # Be optimistic and assume that / and // are the same when we # don't know. gl_cv_double_slash_root='unknown, assuming no' ;; esac else set x `ls -di / // 2>/dev/null` if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then gl_cv_double_slash_root=no else gl_cv_double_slash_root=yes fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 printf "%s\n" "$gl_cv_double_slash_root" >&6; } if test "$gl_cv_double_slash_root" = yes; then printf "%s\n" "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 printf %s "checking whether dup2 works... " >&6; } if test ${gl_cv_func_dup2_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in mingw* | windows*) # on this platform, dup2 always returns 0 for success gl_cv_func_dup2_works="guessing no" ;; cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 gl_cv_func_dup2_works="guessing no" ;; aix* | freebsd*) # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, # not EBADF. gl_cv_func_dup2_works="guessing no" ;; haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. gl_cv_func_dup2_works="guessing no" ;; *-android*) # implemented using dup3(), which fails if oldfd == newfd gl_cv_func_dup2_works="guessing no" ;; os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. gl_cv_func_dup2_works="guessing no" ;; *) gl_cv_func_dup2_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include $gl_mda_defines #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif int main (void) { int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; #endif if (dup2 (1, 1) != 1) result |= 2; #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif close (0); if (dup2 (0, 0) != -1) result |= 8; /* Many gnulib modules require POSIX conformance of EBADF. */ if (dup2 (2, bad_fd) == -1 && errno != EBADF) result |= 16; /* Flush out some cygwin core dumps. */ if (dup2 (2, -1) != -1 || errno != EBADF) result |= 32; dup2 (2, 255); dup2 (2, 256); /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ { int fd = open (".", O_RDONLY); if (fd == -1) result |= 64; else if (dup2 (fd, fd + 1) == -1) result |= 128; close (fd); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_dup2_works=yes else case e in #( e) gl_cv_func_dup2_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5 printf "%s\n" "$gl_cv_func_dup2_works" >&6; } case "$gl_cv_func_dup2_works" in *yes) ;; *) REPLACE_DUP2=1 ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize" if test "x$ac_cv_func_setdtablesize" = xyes then : printf "%s\n" "#define HAVE_SETDTABLESIZE 1" >>confdefs.h fi ;; esac if test $REPLACE_DUP2 = 1; then GL_COND_OBJ_DUP2_TRUE= GL_COND_OBJ_DUP2_FALSE='#' else GL_COND_OBJ_DUP2_TRUE='#' GL_COND_OBJ_DUP2_FALSE= fi : if test -z "${GL_COND_OBJ_DUP2_TRUE}" && test -z "${GL_COND_OBJ_DUP2_FALSE}"; then GL_COND_OBJ_DUP2_TRUE='#' GL_COND_OBJ_DUP2_FALSE='#' fi if test -z "$GL_COND_OBJ_DUP2_TRUE"; then : fi GL_GNULIB_DUP2=1 printf "%s\n" "#define GNULIB_TEST_DUP2 1" >>confdefs.h case "$GL_GENERATE_ERRNO_H" in false) ERRNO_H='' ;; true) if test -z "$ERRNO_H"; then ERRNO_H="${gl_source_base_prefix}errno.h" fi ;; *) echo "*** GL_GENERATE_ERRNO_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_ERRNO_H; then GL_GENERATE_ERRNO_H_TRUE= GL_GENERATE_ERRNO_H_FALSE='#' else GL_GENERATE_ERRNO_H_TRUE='#' GL_GENERATE_ERRNO_H_FALSE= fi : if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then GL_GENERATE_ERRNO_H_TRUE='#' GL_GENERATE_ERRNO_H_FALSE='#' fi if test $COMPILE_ERROR_C = 1; then GL_COND_OBJ_ERROR_TRUE= GL_COND_OBJ_ERROR_FALSE='#' else GL_COND_OBJ_ERROR_TRUE='#' GL_COND_OBJ_ERROR_FALSE= fi : if test -z "${GL_COND_OBJ_ERROR_TRUE}" && test -z "${GL_COND_OBJ_ERROR_FALSE}"; then GL_COND_OBJ_ERROR_TRUE='#' GL_COND_OBJ_ERROR_FALSE='#' fi if test -z "$GL_COND_OBJ_ERROR_TRUE"; then : : fi XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" EXP_LIBM="$POW_LIBM" EXPL_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether expl() can be used without linking with libm" >&5 printf %s "checking whether expl() can be used without linking with libm... " >&6; } if test ${gl_cv_func_expl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = expl; long double x; int main (void) { return funcptr (x) > 1.5 || expl (x) > 1.5; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_expl_no_libm=yes else case e in #( e) gl_cv_func_expl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_expl_no_libm" >&5 printf "%s\n" "$gl_cv_func_expl_no_libm" >&6; } if test $gl_cv_func_expl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether expl() can be used with libm" >&5 printf %s "checking whether expl() can be used with libm... " >&6; } if test ${gl_cv_func_expl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = expl; long double x; int main (void) { return funcptr (x) > 1.5 || expl (x) > 1.5; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_expl_in_libm=yes else case e in #( e) gl_cv_func_expl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_expl_in_libm" >&5 printf "%s\n" "$gl_cv_func_expl_in_libm" >&6; } if test $gl_cv_func_expl_in_libm = yes; then EXPL_LIBM=-lm fi fi if test $gl_cv_func_expl_no_libm = yes \ || test $gl_cv_func_expl_in_libm = yes; then ac_fn_check_decl "$LINENO" "expl" "ac_cv_have_decl_expl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_expl" = xyes then : else case e in #( e) HAVE_DECL_EXPL=0 ;; esac fi if test $REPLACE_EXPL = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether expl works" >&5 printf %s "checking whether expl works... " >&6; } if test ${gl_cv_func_expl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS $EXPL_LIBM" if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_expl_works="guessing yes" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_expl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_expl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_expl_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include #include /* Override the values of , like done in float.in.h. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # endif #endif #undef expl extern #ifdef __cplusplus "C" #endif long double expl (long double); static long double dummy (long double x) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_expl) (long double) = argc ? expl : dummy; int result = 0; /* On Haiku 2017 the system's native expl() is just a stub: it returns 0.0 and prints "__expl not implemented" for all arguments. */ { volatile long double x1 = -1.0; if (expl (x1) == 0.0) result |= 1; } /* On OpenBSD 5.4 the system's native expl() is buggy: it returns 'nan' for small values. */ { volatile long double x1 = -1.0; volatile long double x2 = -0.8; volatile long double x3 = -0.4; if (isnan (expl (x1)) || isnan (expl (x2)) || isnan (expl (x3))) result |= 2; } /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */ { const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */ (long double) (1U << ((LDBL_MANT_DIG - 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 2) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 3) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 4) / 5)); long double x = 11.358L; long double err = (my_expl (x) * my_expl (- x) - 1.0L) * TWO_LDBL_MANT_DIG; if (!(err >= -100.0L && err <= 100.0L)) result |= 4; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_expl_works=yes else case e in #( e) gl_cv_func_expl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_expl_works" >&5 printf "%s\n" "$gl_cv_func_expl_works" >&6; } case "$gl_cv_func_expl_works" in *yes) ;; *) REPLACE_EXPL=1 ;; esac fi else HAVE_DECL_EXPL=0 HAVE_EXPL=0 fi if test $HAVE_EXPL = 0 || test $REPLACE_EXPL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then EXPL_LIBM="$EXP_LIBM" else EXPL_LIBM= case " $EXPL_LIBM " in *" $ISNANL_LIBM "*) ;; *) EXPL_LIBM="$EXPL_LIBM $ISNANL_LIBM" ;; esac case " $EXPL_LIBM " in *" $ROUNDL_LIBM "*) ;; *) EXPL_LIBM="$EXPL_LIBM $ROUNDL_LIBM" ;; esac case " $EXPL_LIBM " in *" $LDEXPL_LIBM "*) ;; *) EXPL_LIBM="$EXPL_LIBM $LDEXPL_LIBM" ;; esac fi fi if test $HAVE_EXPL = 0 || test $REPLACE_EXPL = 1; then GL_COND_OBJ_EXPL_TRUE= GL_COND_OBJ_EXPL_FALSE='#' else GL_COND_OBJ_EXPL_TRUE='#' GL_COND_OBJ_EXPL_FALSE= fi : if test -z "${GL_COND_OBJ_EXPL_TRUE}" && test -z "${GL_COND_OBJ_EXPL_FALSE}"; then GL_COND_OBJ_EXPL_TRUE='#' GL_COND_OBJ_EXPL_FALSE='#' fi if test -z "$GL_COND_OBJ_EXPL_TRUE"; then : gl_LIBOBJS="$gl_LIBOBJS expl-table.$ac_objext" fi GL_GNULIB_EXPL=1 printf "%s\n" "#define GNULIB_TEST_EXPL 1" >>confdefs.h FABS_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fabs can be used without linking with libm" >&5 printf %s "checking whether fabs can be used without linking with libm... " >&6; } if test ${gl_cv_func_fabs_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (* volatile funcptr) (double) = fabs; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { double y = funcptr (1.6180339887) + fabs (1.6180339887); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_fabs_no_libm=yes else case e in #( e) gl_cv_func_fabs_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fabs_no_libm" >&5 printf "%s\n" "$gl_cv_func_fabs_no_libm" >&6; } if test $gl_cv_func_fabs_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fabs can be used with libm" >&5 printf %s "checking whether fabs can be used with libm... " >&6; } if test ${gl_cv_func_fabs_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (* volatile funcptr) (double) = fabs; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { double y = funcptr (1.6180339887) + fabs (1.6180339887); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_fabs_in_libm=yes else case e in #( e) gl_cv_func_fabs_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fabs_in_libm" >&5 printf "%s\n" "$gl_cv_func_fabs_in_libm" >&6; } if test $gl_cv_func_fabs_in_libm = yes; then FABS_LIBM=-lm fi fi FABSL_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fabsl can be used without linking with libm" >&5 printf %s "checking whether fabsl can be used without linking with libm... " >&6; } if test ${gl_cv_func_fabsl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = fabsl; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { long double y = funcptr (1.618033988749894848L) + fabsl (1.618033988749894848L); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_fabsl_no_libm=yes else case e in #( e) gl_cv_func_fabsl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fabsl_no_libm" >&5 printf "%s\n" "$gl_cv_func_fabsl_no_libm" >&6; } if test $gl_cv_func_fabsl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fabsl can be used with libm" >&5 printf %s "checking whether fabsl can be used with libm... " >&6; } if test ${gl_cv_func_fabsl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = fabsl; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { long double y = funcptr (1.618033988749894848L) + fabsl (1.618033988749894848L); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_fabsl_in_libm=yes else case e in #( e) gl_cv_func_fabsl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fabsl_in_libm" >&5 printf "%s\n" "$gl_cv_func_fabsl_in_libm" >&6; } if test $gl_cv_func_fabsl_in_libm = yes; then FABSL_LIBM=-lm fi fi if test $gl_cv_func_fabsl_no_libm = yes \ || test $gl_cv_func_fabsl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $FABSL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fabsl works" >&5 printf %s "checking whether fabsl works... " >&6; } if test ${gl_cv_func_fabsl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in irix*) gl_cv_func_fabsl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_fabsl_works="guessing yes" ;; *) gl_cv_func_fabsl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include volatile long double x; long double y; long double zero = 0.0L; int main () { x = - (LDBL_MIN * LDBL_MIN * LDBL_MIN); y = fabsl (x); return (memcmp (&y, &zero, sizeof y) != 0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_fabsl_works=yes else case e in #( e) gl_cv_func_fabsl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fabsl_works" >&5 printf "%s\n" "$gl_cv_func_fabsl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_fabsl_works" in *yes) ;; *) REPLACE_FABSL=1 ;; esac else HAVE_FABSL=0 fi if test $HAVE_FABSL = 0 || test $REPLACE_FABSL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then FABSL_LIBM="$FABS_LIBM" else FABSL_LIBM= fi fi if test $HAVE_FABSL = 0 || test $REPLACE_FABSL = 1; then GL_COND_OBJ_FABSL_TRUE= GL_COND_OBJ_FABSL_FALSE='#' else GL_COND_OBJ_FABSL_TRUE='#' GL_COND_OBJ_FABSL_FALSE= fi : if test -z "${GL_COND_OBJ_FABSL_TRUE}" && test -z "${GL_COND_OBJ_FABSL_FALSE}"; then GL_COND_OBJ_FABSL_TRUE='#' GL_COND_OBJ_FABSL_FALSE='#' fi GL_GNULIB_FABSL=1 printf "%s\n" "#define GNULIB_TEST_FABSL 1" >>confdefs.h if test $ac_cv_func_fcntl = no; then if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5 printf %s "checking whether fcntl handles F_DUPFD correctly... " >&6; } if test ${gl_cv_func_fcntl_f_dupfd_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case $host_os in aix* | cygwin* | haiku*) gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include $gl_mda_defines #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif int main (void) { int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; if (errno != EINVAL) result |= 2; if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; if (errno != EINVAL) result |= 8; /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ { int fd; fd = open (".", O_RDONLY); if (fd == -1) result |= 16; else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) result |= 32; close (fd); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_fcntl_f_dupfd_works=yes else case e in #( e) gl_cv_func_fcntl_f_dupfd_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5 printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_works" >&6; } case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; *) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi printf "%s\n" "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5 printf %s "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; } if test ${gl_cv_func_fcntl_f_dupfd_cloexec+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on NetBSD. netbsd*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_cloexec="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (int argc, char *argv[]) { if (argc == 1) /* parent process */ { if (fcntl (1, F_DUPFD_CLOEXEC, 10) < 0) return 1; return execl ("./conftest", "./conftest", "child", NULL); } else /* child process */ return (fcntl (10, F_GETFL) < 0 ? 0 : 42); } _ACEOF if ac_fn_c_try_run "$LINENO" then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __linux__ /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace it to support the semantics on older kernels that failed with EINVAL. */ choke me #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_fcntl_f_dupfd_cloexec=yes else case e in #( e) gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else case e in #( e) gl_cv_func_fcntl_f_dupfd_cloexec=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5 printf "%s\n" "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; } case "$gl_cv_func_fcntl_f_dupfd_cloexec" in *yes) ;; *) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi ;; esac fi if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then GL_COND_OBJ_FCNTL_TRUE= GL_COND_OBJ_FCNTL_FALSE='#' else GL_COND_OBJ_FCNTL_TRUE='#' GL_COND_OBJ_FCNTL_FALSE= fi : if test -z "${GL_COND_OBJ_FCNTL_TRUE}" && test -z "${GL_COND_OBJ_FCNTL_FALSE}"; then GL_COND_OBJ_FCNTL_TRUE='#' GL_COND_OBJ_FCNTL_FALSE='#' fi GL_GNULIB_FCNTL=1 printf "%s\n" "#define GNULIB_TEST_FCNTL 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 printf %s "checking whether fflush works on input streams... " >&6; } if test ${gl_cv_func_fflush_stdin+y} then : printf %s "(cached) " >&6 else case e in #( e) echo hello world > conftest.txt if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on NetBSD, OpenBSD, native Windows. netbsd* | openbsd* | mingw* | windows*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif $gl_mda_defines int main (void) { FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_fflush_stdin=yes else case e in #( e) gl_cv_func_fflush_stdin=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm conftest.txt ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 printf "%s\n" "$gl_cv_func_fflush_stdin" >&6; } case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FFLUSH=1 ;; esac if test $REPLACE_FFLUSH = 1; then GL_COND_OBJ_FFLUSH_TRUE= GL_COND_OBJ_FFLUSH_FALSE='#' else GL_COND_OBJ_FFLUSH_TRUE='#' GL_COND_OBJ_FFLUSH_FALSE= fi : if test -z "${GL_COND_OBJ_FFLUSH_TRUE}" && test -z "${GL_COND_OBJ_FFLUSH_FALSE}"; then GL_COND_OBJ_FFLUSH_TRUE='#' GL_COND_OBJ_FFLUSH_FALSE='#' fi if test -z "$GL_COND_OBJ_FFLUSH_TRUE"; then : : fi printf "%s\n" "#define GNULIB_FFLUSH 1" >>confdefs.h GL_GNULIB_FFLUSH=1 printf "%s\n" "#define GNULIB_TEST_FFLUSH 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5 printf %s "checking for flexible array member... " >&6; } if test ${ac_cv_c_flexmember+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include struct m { struct m *next, **list; char name[]; }; struct s { struct s *p; struct m *m; int n; double d[]; }; int main (void) { int m = getchar (); size_t nbytes = offsetof (struct s, d) + m * sizeof (double); nbytes += sizeof (struct s) - 1; nbytes -= nbytes % sizeof (struct s); struct s *p = malloc (nbytes); p->p = p; p->m = NULL; p->d[0] = 0.0; return p->d != (double *) NULL; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_flexmember=yes else case e in #( e) ac_cv_c_flexmember=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5 printf "%s\n" "$ac_cv_c_flexmember" >&6; } if test $ac_cv_c_flexmember = yes; then printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h else printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h fi GL_GENERATE_FLOAT_H=false REPLACE_FLOAT_LDBL=0 case "$host_os" in aix* | beos* | openbsd* | mirbsd* | irix*) GL_GENERATE_FLOAT_H=true ;; freebsd* | dragonfly*) case "$host_cpu" in i[34567]86 ) GL_GENERATE_FLOAT_H=true ;; x86_64 ) # On x86_64 systems, the C compiler may still be generating # 32-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __x86_64__ || defined __amd64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) GL_GENERATE_FLOAT_H=true ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac ;; linux*) case "$host_cpu" in powerpc*) GL_GENERATE_FLOAT_H=true ;; esac ;; esac case "$host_os" in aix* | freebsd* | dragonfly* | linux*) if $GL_GENERATE_FLOAT_H; then REPLACE_FLOAT_LDBL=1 fi ;; esac REPLACE_FLOAT_SNAN=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether float.h conforms to ISO C23" >&5 printf %s "checking whether float.h conforms to ISO C23... " >&6; } if test ${gl_cv_header_float_h_isoc23+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x[] = { FLT_DECIMAL_DIG, DBL_DECIMAL_DIG, LDBL_DECIMAL_DIG }; float maxf = FLT_NORM_MAX; double maxd = DBL_NORM_MAX; long double maxl = LDBL_NORM_MAX; int main (void) { float sf = FLT_SNAN; double sd = DBL_SNAN; long double sl = LDBL_SNAN; return (sf != 0) + (sd != 0) + (sl != 0); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_float_h_isoc23=yes else case e in #( e) gl_cv_header_float_h_isoc23=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_float_h_isoc23" >&5 printf "%s\n" "$gl_cv_header_float_h_isoc23" >&6; } if test $gl_cv_header_float_h_isoc23 != yes; then GL_GENERATE_FLOAT_H=true REPLACE_FLOAT_SNAN=1 fi REPLACE_ITOLD=0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5 printf %s "checking whether conversion from 'int' to 'long double' works... " >&6; } if test ${gl_cv_func_itold_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host" in sparc*-*-linux*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_itold_works="guessing no" else case e in #( e) gl_cv_func_itold_works="guessing yes" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_itold_works="guessing yes" ;; *) gl_cv_func_itold_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int i = -1; volatile long double ld; int main () { ld += i * 1.0L; if (ld > 0) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_itold_works=yes else case e in #( e) gl_cv_func_itold_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_itold_works" >&5 printf "%s\n" "$gl_cv_func_itold_works" >&6; } case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 GL_GENERATE_FLOAT_H=true ;; esac if $GL_GENERATE_FLOAT_H; then if test $gl_cv_have_include_next = yes; then gl_cv_next_float_h='<'float.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_float_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'float.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_float_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_float_h gl_cv_next_float_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 printf "%s\n" "$gl_cv_next_float_h" >&6; } fi NEXT_FLOAT_H=$gl_cv_next_float_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'float.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_float_h fi NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive fi case "$GL_GENERATE_FLOAT_H" in false) FLOAT_H='' ;; true) if test -z "$FLOAT_H"; then FLOAT_H="${gl_source_base_prefix}float.h" fi ;; *) echo "*** GL_GENERATE_FLOAT_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_FLOAT_H; then GL_GENERATE_FLOAT_H_TRUE= GL_GENERATE_FLOAT_H_FALSE='#' else GL_GENERATE_FLOAT_H_TRUE='#' GL_GENERATE_FLOAT_H_FALSE= fi : if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then GL_GENERATE_FLOAT_H_TRUE='#' GL_GENERATE_FLOAT_H_FALSE='#' fi if test $REPLACE_FLOAT_LDBL = 1 || test $REPLACE_FLOAT_SNAN = 1; then GL_COND_OBJ_FLOAT_TRUE= GL_COND_OBJ_FLOAT_FALSE='#' else GL_COND_OBJ_FLOAT_TRUE='#' GL_COND_OBJ_FLOAT_FALSE= fi : if test -z "${GL_COND_OBJ_FLOAT_TRUE}" && test -z "${GL_COND_OBJ_FLOAT_FALSE}"; then GL_COND_OBJ_FLOAT_TRUE='#' GL_COND_OBJ_FLOAT_FALSE='#' fi if test $REPLACE_ITOLD = 1; then GL_COND_OBJ_ITOLD_TRUE= GL_COND_OBJ_ITOLD_FALSE='#' else GL_COND_OBJ_ITOLD_TRUE='#' GL_COND_OBJ_ITOLD_FALSE= fi : if test -z "${GL_COND_OBJ_ITOLD_TRUE}" && test -z "${GL_COND_OBJ_ITOLD_FALSE}"; then GL_COND_OBJ_ITOLD_TRUE='#' GL_COND_OBJ_ITOLD_FALSE='#' fi if test $REPLACE_FLOOR = 1; then GL_COND_OBJ_FLOOR_TRUE= GL_COND_OBJ_FLOOR_FALSE='#' else GL_COND_OBJ_FLOOR_TRUE='#' GL_COND_OBJ_FLOOR_FALSE= fi : if test -z "${GL_COND_OBJ_FLOOR_TRUE}" && test -z "${GL_COND_OBJ_FLOOR_FALSE}"; then GL_COND_OBJ_FLOOR_TRUE='#' GL_COND_OBJ_FLOOR_FALSE='#' fi GL_GNULIB_FLOOR=1 printf "%s\n" "#define GNULIB_TEST_FLOOR 1" >>confdefs.h if test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; then GL_COND_OBJ_FLOORL_TRUE= GL_COND_OBJ_FLOORL_FALSE='#' else GL_COND_OBJ_FLOORL_TRUE='#' GL_COND_OBJ_FLOORL_FALSE= fi : if test -z "${GL_COND_OBJ_FLOORL_TRUE}" && test -z "${GL_COND_OBJ_FLOORL_FALSE}"; then GL_COND_OBJ_FLOORL_TRUE='#' GL_COND_OBJ_FLOORL_FALSE='#' fi GL_GNULIB_FLOORL=1 printf "%s\n" "#define GNULIB_TEST_FLOORL 1" >>confdefs.h fp_headers=' #include #if HAVE_STDIO_EXT_H # include #endif ' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __fpending" >&5 printf %s "checking for __fpending... " >&6; } if test ${gl_cv_func___fpending+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $fp_headers int main (void) { return ! __fpending (stdin); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func___fpending=yes else case e in #( e) gl_cv_func___fpending=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func___fpending" >&5 printf "%s\n" "$gl_cv_func___fpending" >&6; } if test $gl_cv_func___fpending = yes; then ac_fn_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl___fpending" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL___FPENDING $ac_have_decl" >>confdefs.h fi if test $gl_cv_func___fpending = no; then GL_COND_OBJ_FPENDING_TRUE= GL_COND_OBJ_FPENDING_FALSE='#' else GL_COND_OBJ_FPENDING_TRUE='#' GL_COND_OBJ_FPENDING_FALSE= fi : if test -z "${GL_COND_OBJ_FPENDING_TRUE}" && test -z "${GL_COND_OBJ_FPENDING_FALSE}"; then GL_COND_OBJ_FPENDING_TRUE='#' GL_COND_OBJ_FPENDING_FALSE='#' fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __fpurge" >&5 printf %s "checking for __fpurge... " >&6; } if test ${gl_cv_onwards_func___fpurge+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "__fpurge" "ac_cv_have_decl___fpurge" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl___fpurge" = xyes then : fi if test $ac_cv_have_decl___fpurge = yes; then ac_fn_c_check_func "$LINENO" "__fpurge" "ac_cv_func___fpurge" if test "x$ac_cv_func___fpurge" = xyes then : fi if test $ac_cv_func___fpurge = yes; then gl_cv_onwards_func___fpurge=yes else gl_cv_onwards_func___fpurge='future OS version' fi else gl_cv_onwards_func___fpurge='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "__fpurge" "ac_cv_func___fpurge" if test "x$ac_cv_func___fpurge" = xyes then : fi gl_cv_onwards_func___fpurge=$ac_cv_func___fpurge ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func___fpurge" >&5 printf "%s\n" "$gl_cv_onwards_func___fpurge" >&6; } case "$gl_cv_onwards_func___fpurge" in future*) ac_cv_func___fpurge=no ;; *) ac_cv_func___fpurge=$gl_cv_onwards_func___fpurge ;; esac if test $ac_cv_func___fpurge = yes; then printf "%s\n" "#define HAVE___FPURGE 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_fpurge" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FPURGE $ac_have_decl" >>confdefs.h if test $ac_cv_func_fpurge = yes; then HAVE_FPURGE=1 # Detect BSD bug. Only cygwin 1.7 and musl are known to be immune. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5 printf %s "checking whether fpurge works... " >&6; } if test ${gl_cv_func_fpurge_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_have_decl_fpurge = yes; then if test "$cross_compiling" = yes then : # Obey --enable-cross-guesses. gl_cv_func_fpurge_works="$gl_cross_guess_normal" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { FILE *f = fopen ("conftest.txt", "w+"); if (!f) return 1; if (fputc ('a', f) != 'a') { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != EOF) { fclose (f); return 4; } if (fpurge (f) != 0) { fclose (f); return 5; } if (putc ('b', f) != 'b') { fclose (f); return 6; } if (fclose (f) != 0) return 7; if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; if (fgetc (f) != 'a') { fclose (f); return 9; } if (fgetc (f) != 'b') { fclose (f); return 10; } if (fgetc (f) != EOF) { fclose (f); return 11; } if (fclose (f) != 0) return 12; if (remove ("conftest.txt") != 0) return 13; return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_fpurge_works=yes else case e in #( e) gl_cv_func_fpurge_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi else gl_cv_func_fpurge_works=no fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fpurge_works" >&5 printf "%s\n" "$gl_cv_func_fpurge_works" >&6; } case "$gl_cv_func_fpurge_works" in *yes) ;; *) REPLACE_FPURGE=1 ;; esac else HAVE_FPURGE=0 fi if test "x$ac_cv_have_decl_fpurge" = xno; then HAVE_DECL_FPURGE=0 fi if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then GL_COND_OBJ_FPURGE_TRUE= GL_COND_OBJ_FPURGE_FALSE='#' else GL_COND_OBJ_FPURGE_TRUE='#' GL_COND_OBJ_FPURGE_FALSE= fi : if test -z "${GL_COND_OBJ_FPURGE_TRUE}" && test -z "${GL_COND_OBJ_FPURGE_FALSE}"; then GL_COND_OBJ_FPURGE_TRUE='#' GL_COND_OBJ_FPURGE_FALSE='#' fi GL_GNULIB_FPURGE=1 printf "%s\n" "#define GNULIB_TEST_FPURGE 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __freading" >&5 printf %s "checking for __freading... " >&6; } if test ${gl_cv_onwards_func___freading+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "__freading" "ac_cv_have_decl___freading" "#include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl___freading" = xyes then : fi if test $ac_cv_have_decl___freading = yes; then ac_fn_c_check_func "$LINENO" "__freading" "ac_cv_func___freading" if test "x$ac_cv_func___freading" = xyes then : fi if test $ac_cv_func___freading = yes; then gl_cv_onwards_func___freading=yes else gl_cv_onwards_func___freading='future OS version' fi else gl_cv_onwards_func___freading='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "__freading" "ac_cv_func___freading" if test "x$ac_cv_func___freading" = xyes then : fi gl_cv_onwards_func___freading=$ac_cv_func___freading ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func___freading" >&5 printf "%s\n" "$gl_cv_onwards_func___freading" >&6; } case "$gl_cv_onwards_func___freading" in future*) ac_cv_func___freading=no ;; *) ac_cv_func___freading=$gl_cv_onwards_func___freading ;; esac if test $ac_cv_func___freading = yes; then printf "%s\n" "#define HAVE___FREADING 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether free is known to preserve errno" >&5 printf %s "checking whether free is known to preserve errno... " >&6; } if test ${gl_cv_func_free_preserves_errno+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if 2 < __GLIBC__ + (33 <= __GLIBC_MINOR__) #elif defined __OpenBSD__ #elif defined __sun #else #error "'free' is not known to preserve errno" #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_free_preserves_errno=yes else case e in #( e) gl_cv_func_free_preserves_errno=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_free_preserves_errno" >&5 printf "%s\n" "$gl_cv_func_free_preserves_errno" >&6; } case $gl_cv_func_free_preserves_errno in *yes) printf "%s\n" "#define HAVE_FREE_POSIX 1" >>confdefs.h ;; *) REPLACE_FREE=1 ;; esac if test $REPLACE_FREE = 1; then GL_COND_OBJ_FREE_TRUE= GL_COND_OBJ_FREE_FALSE='#' else GL_COND_OBJ_FREE_TRUE='#' GL_COND_OBJ_FREE_FALSE= fi : if test -z "${GL_COND_OBJ_FREE_TRUE}" && test -z "${GL_COND_OBJ_FREE_FALSE}"; then GL_COND_OBJ_FREE_TRUE='#' GL_COND_OBJ_FREE_FALSE='#' fi if test -z "$GL_COND_OBJ_FREE_TRUE"; then : : fi GL_GNULIB_FREE_POSIX=1 printf "%s\n" "#define GNULIB_TEST_FREE_POSIX 1" >>confdefs.h if test $gl_func_frexp != yes; then gl_LIBOBJS="$gl_LIBOBJS frexp.$ac_objext" fi GL_GNULIB_FREXP=1 printf "%s\n" "#define GNULIB_TEST_FREXP 1" >>confdefs.h if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then gl_LIBOBJS="$gl_LIBOBJS frexpl.$ac_objext" fi GL_GNULIB_FREXPL=1 printf "%s\n" "#define GNULIB_TEST_FREXPL 1" >>confdefs.h if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then REPLACE_FSEEK=1 fi if test $REPLACE_FSEEK = 1; then GL_COND_OBJ_FSEEK_TRUE= GL_COND_OBJ_FSEEK_FALSE='#' else GL_COND_OBJ_FSEEK_TRUE='#' GL_COND_OBJ_FSEEK_FALSE= fi : if test -z "${GL_COND_OBJ_FSEEK_TRUE}" && test -z "${GL_COND_OBJ_FSEEK_FALSE}"; then GL_COND_OBJ_FSEEK_TRUE='#' GL_COND_OBJ_FSEEK_FALSE='#' fi GL_GNULIB_FSEEK=1 printf "%s\n" "#define GNULIB_TEST_FSEEK 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5 printf %s "checking for fseeko... " >&6; } if test ${gl_cv_func_fseeko+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { fseeko (stdin, 0, 0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_fseeko=yes else case e in #( e) gl_cv_func_fseeko=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5 printf "%s\n" "$gl_cv_func_fseeko" >&6; } if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5 printf %s "checking whether fflush works on input streams... " >&6; } if test ${gl_cv_func_fflush_stdin+y} then : printf %s "(cached) " >&6 else case e in #( e) echo hello world > conftest.txt if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on NetBSD, OpenBSD, native Windows. netbsd* | openbsd* | mingw* | windows*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif $gl_mda_defines int main (void) { FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_fflush_stdin=yes else case e in #( e) gl_cv_func_fflush_stdin=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm conftest.txt ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5 printf "%s\n" "$gl_cv_func_fflush_stdin" >&6; } case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac fi if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then GL_COND_OBJ_FSEEKO_TRUE= GL_COND_OBJ_FSEEKO_FALSE='#' else GL_COND_OBJ_FSEEKO_TRUE='#' GL_COND_OBJ_FSEEKO_FALSE= fi : if test -z "${GL_COND_OBJ_FSEEKO_TRUE}" && test -z "${GL_COND_OBJ_FSEEKO_FALSE}"; then GL_COND_OBJ_FSEEKO_TRUE='#' GL_COND_OBJ_FSEEKO_FALSE='#' fi if test -z "$GL_COND_OBJ_FSEEKO_TRUE"; then : if test $gl_cv_func_fseeko != no; then printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "_fseeki64" "ac_cv_func__fseeki64" if test "x$ac_cv_func__fseeki64" = xyes then : printf "%s\n" "#define HAVE__FSEEKI64 1" >>confdefs.h fi if test $ac_cv_func__fseeki64 = yes; then ac_fn_check_decl "$LINENO" "_fseeki64" "ac_cv_have_decl__fseeki64" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl__fseeki64" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL__FSEEKI64 $ac_have_decl" >>confdefs.h fi fi GL_GNULIB_FSEEKO=1 printf "%s\n" "#define GNULIB_TEST_FSEEKO 1" >>confdefs.h case "$host_os" in darwin* | mingw* | windows* | solaris*) REPLACE_FSTAT=1 ;; esac if test $REPLACE_FSTAT = 1; then GL_COND_OBJ_FSTAT_TRUE= GL_COND_OBJ_FSTAT_FALSE='#' else GL_COND_OBJ_FSTAT_TRUE='#' GL_COND_OBJ_FSTAT_FALSE= fi : if test -z "${GL_COND_OBJ_FSTAT_TRUE}" && test -z "${GL_COND_OBJ_FSTAT_FALSE}"; then GL_COND_OBJ_FSTAT_TRUE='#' GL_COND_OBJ_FSTAT_FALSE='#' fi if test -z "$GL_COND_OBJ_FSTAT_TRUE"; then : case "$host_os" in mingw* | windows*) gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext" ;; esac : fi GL_GNULIB_FSTAT=1 printf "%s\n" "#define GNULIB_TEST_FSTAT 1" >>confdefs.h printf "%s\n" "#define GNULIB_FSTAT 1" >>confdefs.h if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then REPLACE_FTELL=1 fi if test $REPLACE_FTELL = 1; then GL_COND_OBJ_FTELL_TRUE= GL_COND_OBJ_FTELL_FALSE='#' else GL_COND_OBJ_FTELL_TRUE='#' GL_COND_OBJ_FTELL_FALSE= fi : if test -z "${GL_COND_OBJ_FTELL_TRUE}" && test -z "${GL_COND_OBJ_FTELL_FALSE}"; then GL_COND_OBJ_FTELL_TRUE='#' GL_COND_OBJ_FTELL_FALSE='#' fi GL_GNULIB_FTELL=1 printf "%s\n" "#define GNULIB_TEST_FTELL 1" >>confdefs.h if test $ac_cv_have_decl_ftello = no; then HAVE_DECL_FTELLO=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5 printf %s "checking for ftello... " >&6; } if test ${gl_cv_func_ftello+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { ftello (stdin); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ftello=yes else case e in #( e) gl_cv_func_ftello=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5 printf "%s\n" "$gl_cv_func_ftello" >&6; } if test $gl_cv_func_ftello = no; then HAVE_FTELLO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FTELLO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FTELLO=1 fi if test $REPLACE_FTELLO = 0; then case "$host_os" in mingw* | windows*) REPLACE_FTELLO=1 ;; esac fi if test $REPLACE_FTELLO = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5 printf %s "checking whether ftello works... " >&6; } if test ${gl_cv_func_ftello_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ftello_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ftello_works="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_ftello_works="guessing yes" ;; esac if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #define TESTFILE "conftest.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) return 70; if (fwrite ("foogarsh", 1, 8, fp) < 8) { fclose (fp); return 71; } if (fclose (fp)) return 72; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) return 73; if (fseek (fp, -1, SEEK_END)) { fclose (fp); return 74; } if (!(getc (fp) == 'h')) { fclose (fp); return 1; } if (!(getc (fp) == EOF)) { fclose (fp); return 2; } if (!(ftell (fp) == 8)) { fclose (fp); return 3; } if (!(ftell (fp) == 8)) { fclose (fp); return 4; } if (!(putc ('!', fp) == '!')) { fclose (fp); return 5; } if (!(ftell (fp) == 9)) { fclose (fp); return 6; } if (!(fclose (fp) == 0)) return 7; fp = fopen (TESTFILE, "r"); if (fp == NULL) return 75; { char buf[10]; if (!(fread (buf, 1, 10, fp) == 9)) { fclose (fp); return 10; } if (!(memcmp (buf, "foogarsh!", 9) == 0)) { fclose (fp); return 11; } } if (!(fclose (fp) == 0)) return 12; /* The file's contents is now "foogarsh!". */ return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ftello_works=yes else case e in #( e) gl_cv_func_ftello_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5 printf "%s\n" "$gl_cv_func_ftello_works" >&6; } case "$gl_cv_func_ftello_works" in *yes) ;; *) REPLACE_FTELLO=1 printf "%s\n" "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h ;; esac fi if test $REPLACE_FTELLO = 0; then if test $gl_ftello_broken_after_ungetc = yes; then REPLACE_FTELLO=1 printf "%s\n" "#define FTELLO_BROKEN_AFTER_UNGETC 1" >>confdefs.h fi fi fi if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then GL_COND_OBJ_FTELLO_TRUE= GL_COND_OBJ_FTELLO_FALSE='#' else GL_COND_OBJ_FTELLO_TRUE='#' GL_COND_OBJ_FTELLO_FALSE= fi : if test -z "${GL_COND_OBJ_FTELLO_TRUE}" && test -z "${GL_COND_OBJ_FTELLO_FALSE}"; then GL_COND_OBJ_FTELLO_TRUE='#' GL_COND_OBJ_FTELLO_FALSE='#' fi if test -z "$GL_COND_OBJ_FTELLO_TRUE"; then : if test $gl_cv_func_ftello != no; then printf "%s\n" "#define HAVE_FTELLO 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "_ftelli64" "ac_cv_func__ftelli64" if test "x$ac_cv_func__ftelli64" = xyes then : printf "%s\n" "#define HAVE__FTELLI64 1" >>confdefs.h fi fi GL_GNULIB_FTELLO=1 printf "%s\n" "#define GNULIB_TEST_FTELLO 1" >>confdefs.h if test $ac_cv_func_getdtablesize = yes && test $ac_cv_have_decl_getdtablesize = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5 printf %s "checking whether getdtablesize works... " >&6; } if test ${gl_cv_func_getdtablesize_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;; *) if test "$cross_compiling" = yes then : case "$host_os" in cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows gl_cv_func_getdtablesize_works="guessing no" ;; *) gl_cv_func_getdtablesize_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gl_mda_defines int main (void) { int size = getdtablesize(); if (dup2 (0, getdtablesize()) != -1) return 1; if (size != getdtablesize()) return 2; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_getdtablesize_works=yes else case e in #( e) gl_cv_func_getdtablesize_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5 printf "%s\n" "$gl_cv_func_getdtablesize_works" >&6; } case "$gl_cv_func_getdtablesize_works" in *yes | "no (limitation)") ;; *) REPLACE_GETDTABLESIZE=1 ;; esac else HAVE_GETDTABLESIZE=0 fi if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then GL_COND_OBJ_GETDTABLESIZE_TRUE= GL_COND_OBJ_GETDTABLESIZE_FALSE='#' else GL_COND_OBJ_GETDTABLESIZE_TRUE='#' GL_COND_OBJ_GETDTABLESIZE_FALSE= fi : if test -z "${GL_COND_OBJ_GETDTABLESIZE_TRUE}" && test -z "${GL_COND_OBJ_GETDTABLESIZE_FALSE}"; then GL_COND_OBJ_GETDTABLESIZE_TRUE='#' GL_COND_OBJ_GETDTABLESIZE_FALSE='#' fi if test -z "$GL_COND_OBJ_GETDTABLESIZE_TRUE"; then : : fi GL_GNULIB_GETDTABLESIZE=1 printf "%s\n" "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h if test $HAVE_LOCALE_T = 1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for newlocale" >&5 printf %s "checking for newlocale... " >&6; } if test ${gl_cv_onwards_func_newlocale+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "newlocale" "ac_cv_have_decl_newlocale" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_newlocale" = xyes then : fi if test $ac_cv_have_decl_newlocale = yes; then ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" if test "x$ac_cv_func_newlocale" = xyes then : fi if test $ac_cv_func_newlocale = yes; then gl_cv_onwards_func_newlocale=yes else gl_cv_onwards_func_newlocale='future OS version' fi else gl_cv_onwards_func_newlocale='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "newlocale" "ac_cv_func_newlocale" if test "x$ac_cv_func_newlocale" = xyes then : fi gl_cv_onwards_func_newlocale=$ac_cv_func_newlocale ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_newlocale" >&5 printf "%s\n" "$gl_cv_onwards_func_newlocale" >&6; } case "$gl_cv_onwards_func_newlocale" in future*) ac_cv_func_newlocale=no ;; *) ac_cv_func_newlocale=$gl_cv_onwards_func_newlocale ;; esac if test $ac_cv_func_newlocale = yes; then printf "%s\n" "#define HAVE_NEWLOCALE 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for duplocale" >&5 printf %s "checking for duplocale... " >&6; } if test ${gl_cv_onwards_func_duplocale+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "duplocale" "ac_cv_have_decl_duplocale" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_duplocale" = xyes then : fi if test $ac_cv_have_decl_duplocale = yes; then ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" if test "x$ac_cv_func_duplocale" = xyes then : fi if test $ac_cv_func_duplocale = yes; then gl_cv_onwards_func_duplocale=yes else gl_cv_onwards_func_duplocale='future OS version' fi else gl_cv_onwards_func_duplocale='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "duplocale" "ac_cv_func_duplocale" if test "x$ac_cv_func_duplocale" = xyes then : fi gl_cv_onwards_func_duplocale=$ac_cv_func_duplocale ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_duplocale" >&5 printf "%s\n" "$gl_cv_onwards_func_duplocale" >&6; } case "$gl_cv_onwards_func_duplocale" in future*) ac_cv_func_duplocale=no ;; *) ac_cv_func_duplocale=$gl_cv_onwards_func_duplocale ;; esac if test $ac_cv_func_duplocale = yes; then printf "%s\n" "#define HAVE_DUPLOCALE 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freelocale" >&5 printf %s "checking for freelocale... " >&6; } if test ${gl_cv_onwards_func_freelocale+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "freelocale" "ac_cv_have_decl_freelocale" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_freelocale" = xyes then : fi if test $ac_cv_have_decl_freelocale = yes; then ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" if test "x$ac_cv_func_freelocale" = xyes then : fi if test $ac_cv_func_freelocale = yes; then gl_cv_onwards_func_freelocale=yes else gl_cv_onwards_func_freelocale='future OS version' fi else gl_cv_onwards_func_freelocale='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "freelocale" "ac_cv_func_freelocale" if test "x$ac_cv_func_freelocale" = xyes then : fi gl_cv_onwards_func_freelocale=$ac_cv_func_freelocale ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_freelocale" >&5 printf "%s\n" "$gl_cv_onwards_func_freelocale" >&6; } case "$gl_cv_onwards_func_freelocale" in future*) ac_cv_func_freelocale=no ;; *) ac_cv_func_freelocale=$gl_cv_onwards_func_freelocale ;; esac if test $ac_cv_func_freelocale = yes; then printf "%s\n" "#define HAVE_FREELOCALE 1" >>confdefs.h fi gl_func_newlocale="$ac_cv_func_newlocale" gl_func_duplocale="$ac_cv_func_duplocale" gl_func_freelocale="$ac_cv_func_freelocale" else gl_cv_onwards_func_newlocale='future OS version' gl_cv_onwards_func_duplocale='future OS version' gl_cv_onwards_func_freelocale='future OS version' gl_func_newlocale=no gl_func_duplocale=no gl_func_freelocale=no fi if test $gl_func_newlocale != yes; then HAVE_NEWLOCALE=0 case "$gl_cv_onwards_func_newlocale" in future*) REPLACE_NEWLOCALE=1 ;; esac fi if test $gl_func_duplocale != yes; then HAVE_DUPLOCALE=0 case "$gl_cv_onwards_func_duplocale" in future*) REPLACE_DUPLOCALE=1 ;; esac fi if test $gl_func_freelocale != yes; then HAVE_FREELOCALE=0 case "$gl_cv_onwards_func_freelocale" in future*) REPLACE_FREELOCALE=1 ;; esac fi if test $gt_localename_enhances_locale_funcs = yes; then REPLACE_NEWLOCALE=1 REPLACE_DUPLOCALE=1 REPLACE_FREELOCALE=1 fi GL_GNULIB_GETLOCALENAME_L_UNSAFE=1 printf "%s\n" "#define GNULIB_TEST_GETLOCALENAME_L_UNSAFE 1" >>confdefs.h if case "$host_os" in netbsd* | solaris*) true;; *) false;; esac; then GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE= GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE='#' else GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE='#' GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE= fi : if test -z "${GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE}" && test -z "${GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE}"; then GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_TRUE='#' GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED_FALSE='#' fi REPLACE_GETOPT=0 if test -n "$gl_replace_getopt"; then REPLACE_GETOPT=1 fi GL_GENERATE_GETOPT_H=false GL_GENERATE_GETOPT_CDEFS_H=false if test $REPLACE_GETOPT = 1; then printf "%s\n" "#define __GETOPT_PREFIX rpl_" >>confdefs.h GL_GENERATE_GETOPT_H=true GL_GENERATE_GETOPT_CDEFS_H=true fi case "$GL_GENERATE_GETOPT_H" in false) GETOPT_H='' ;; true) if test -z "$GETOPT_H"; then GETOPT_H="${gl_source_base_prefix}getopt.h" fi ;; *) echo "*** GL_GENERATE_GETOPT_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_GETOPT_H; then GL_GENERATE_GETOPT_H_TRUE= GL_GENERATE_GETOPT_H_FALSE='#' else GL_GENERATE_GETOPT_H_TRUE='#' GL_GENERATE_GETOPT_H_FALSE= fi : if test -z "${GL_GENERATE_GETOPT_H_TRUE}" && test -z "${GL_GENERATE_GETOPT_H_FALSE}"; then GL_GENERATE_GETOPT_H_TRUE='#' GL_GENERATE_GETOPT_H_FALSE='#' fi case "$GL_GENERATE_GETOPT_CDEFS_H" in false) GETOPT_CDEFS_H='' ;; true) if test -z "$GETOPT_CDEFS_H"; then GETOPT_CDEFS_H="${gl_source_base_prefix}getopt-cdefs.h" fi ;; *) echo "*** GL_GENERATE_GETOPT_CDEFS_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_GETOPT_CDEFS_H; then GL_GENERATE_GETOPT_CDEFS_H_TRUE= GL_GENERATE_GETOPT_CDEFS_H_FALSE='#' else GL_GENERATE_GETOPT_CDEFS_H_TRUE='#' GL_GENERATE_GETOPT_CDEFS_H_FALSE= fi : if test -z "${GL_GENERATE_GETOPT_CDEFS_H_TRUE}" && test -z "${GL_GENERATE_GETOPT_CDEFS_H_FALSE}"; then GL_GENERATE_GETOPT_CDEFS_H_TRUE='#' GL_GENERATE_GETOPT_CDEFS_H_FALSE='#' fi if test $REPLACE_GETOPT = 1; then GL_COND_OBJ_GETOPT_TRUE= GL_COND_OBJ_GETOPT_FALSE='#' else GL_COND_OBJ_GETOPT_TRUE='#' GL_COND_OBJ_GETOPT_FALSE= fi : if test -z "${GL_COND_OBJ_GETOPT_TRUE}" && test -z "${GL_COND_OBJ_GETOPT_FALSE}"; then GL_COND_OBJ_GETOPT_TRUE='#' GL_COND_OBJ_GETOPT_FALSE='#' fi if test -z "$GL_COND_OBJ_GETOPT_TRUE"; then : GL_GNULIB_UNISTD_H_GETOPT=1 fi GL_GNULIB_GETOPT_POSIX=1 printf "%s\n" "#define GNULIB_TEST_GETOPT_POSIX 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprogname" >&5 printf %s "checking for getprogname... " >&6; } if test ${gl_cv_onwards_func_getprogname+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getprogname" = xyes then : fi if test $ac_cv_have_decl_getprogname = yes; then ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname" if test "x$ac_cv_func_getprogname" = xyes then : fi if test $ac_cv_func_getprogname = yes; then gl_cv_onwards_func_getprogname=yes else gl_cv_onwards_func_getprogname='future OS version' fi else gl_cv_onwards_func_getprogname='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname" if test "x$ac_cv_func_getprogname" = xyes then : fi gl_cv_onwards_func_getprogname=$ac_cv_func_getprogname ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_getprogname" >&5 printf "%s\n" "$gl_cv_onwards_func_getprogname" >&6; } case "$gl_cv_onwards_func_getprogname" in future*) ac_cv_func_getprogname=no ;; *) ac_cv_func_getprogname=$gl_cv_onwards_func_getprogname ;; esac if test $ac_cv_func_getprogname = yes; then printf "%s\n" "#define HAVE_GETPROGNAME 1" >>confdefs.h fi if test $ac_cv_func_getprogname = no; then HAVE_GETPROGNAME=0 case "$gl_cv_onwards_func_getprogname" in future*) REPLACE_GETPROGNAME=1 ;; esac fi ac_fn_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_program_invocation_name" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) HAVE_DECL_PROGRAM_INVOCATION_NAME=0 ;; esac fi if test $HAVE_GETPROGNAME = 0 || test $REPLACE_GETPROGNAME = 1; then GL_COND_OBJ_GETPROGNAME_TRUE= GL_COND_OBJ_GETPROGNAME_FALSE='#' else GL_COND_OBJ_GETPROGNAME_TRUE='#' GL_COND_OBJ_GETPROGNAME_FALSE= fi : if test -z "${GL_COND_OBJ_GETPROGNAME_TRUE}" && test -z "${GL_COND_OBJ_GETPROGNAME_FALSE}"; then GL_COND_OBJ_GETPROGNAME_TRUE='#' GL_COND_OBJ_GETPROGNAME_FALSE='#' fi if test -z "$GL_COND_OBJ_GETPROGNAME_TRUE"; then : ac_found=0 ac_fn_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_program_invocation_name" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : ac_found=1 fi ac_fn_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : ac_found=1 fi ac_fn_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl___argv" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL___ARGV $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : ac_found=1 fi # Incur the cost of this test only if none of the above worked. if test $ac_found = 0; then # On OpenBSD 5.1, using the global __progname variable appears to be # the only way to implement getprogname. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5 printf %s "checking whether __progname is defined in default libraries... " >&6; } if test ${gl_cv_var___progname+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_var___progname= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern char *__progname; int main (void) { return *__progname; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_var___progname=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var___progname" >&5 printf "%s\n" "$gl_cv_var___progname" >&6; } if test "$gl_cv_var___progname" = yes; then printf "%s\n" "#define HAVE_VAR___PROGNAME 1" >>confdefs.h fi fi fi GL_GNULIB_GETPROGNAME=1 printf "%s\n" "#define GNULIB_TEST_GETPROGNAME 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getrandom" >&5 printf %s "checking for getrandom... " >&6; } if test ${gl_cv_onwards_func_getrandom+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "getrandom" "ac_cv_have_decl_getrandom" "/* Additional includes are needed before on uClibc and Mac OS X. */ #include #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_getrandom" = xyes then : fi if test $ac_cv_have_decl_getrandom = yes; then ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom" if test "x$ac_cv_func_getrandom" = xyes then : fi if test $ac_cv_func_getrandom = yes; then gl_cv_onwards_func_getrandom=yes else gl_cv_onwards_func_getrandom='future OS version' fi else gl_cv_onwards_func_getrandom='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom" if test "x$ac_cv_func_getrandom" = xyes then : fi gl_cv_onwards_func_getrandom=$ac_cv_func_getrandom ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_getrandom" >&5 printf "%s\n" "$gl_cv_onwards_func_getrandom" >&6; } case "$gl_cv_onwards_func_getrandom" in future*) ac_cv_func_getrandom=no ;; *) ac_cv_func_getrandom=$gl_cv_onwards_func_getrandom ;; esac if test $ac_cv_func_getrandom = yes; then printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h fi if test "$ac_cv_func_getrandom" != yes; then HAVE_GETRANDOM=0 case "$gl_cv_onwards_func_getrandom" in future*) REPLACE_GETRANDOM=1 ;; esac else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getrandom is compatible with its GNU+BSD signature" >&5 printf %s "checking whether getrandom is compatible with its GNU+BSD signature... " >&6; } if test ${gl_cv_func_getrandom_ok+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Additional includes are needed before on uClibc and Mac OS X. */ #include #include #include ssize_t getrandom (void *, size_t, unsigned int); int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_getrandom_ok=yes else case e in #( e) gl_cv_func_getrandom_ok=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getrandom_ok" >&5 printf "%s\n" "$gl_cv_func_getrandom_ok" >&6; } if test $gl_cv_func_getrandom_ok = no; then REPLACE_GETRANDOM=1 fi fi case "$host_os" in mingw* | windows*) ac_fn_c_check_header_compile "$LINENO" "bcrypt.h" "ac_cv_header_bcrypt_h" "#include " if test "x$ac_cv_header_bcrypt_h" = xyes then : printf "%s\n" "#define HAVE_BCRYPT_H 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the bcrypt library is guaranteed to be present" >&5 printf %s "checking whether the bcrypt library is guaranteed to be present... " >&6; } if test ${gl_cv_lib_assume_bcrypt+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if !(_WIN32_WINNT >= _WIN32_WINNT_WIN7) cannot assume it #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_lib_assume_bcrypt=yes else case e in #( e) gl_cv_lib_assume_bcrypt=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_assume_bcrypt" >&5 printf "%s\n" "$gl_cv_lib_assume_bcrypt" >&6; } if test $gl_cv_lib_assume_bcrypt = yes; then printf "%s\n" "#define HAVE_LIB_BCRYPT 1" >>confdefs.h GETRANDOM_LIB='-lbcrypt' else GETRANDOM_LIB='-ladvapi32' fi ;; *) GETRANDOM_LIB= ;; esac LIB_GETRANDOM="$GETRANDOM_LIB" if test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1; then GL_COND_OBJ_GETRANDOM_TRUE= GL_COND_OBJ_GETRANDOM_FALSE='#' else GL_COND_OBJ_GETRANDOM_TRUE='#' GL_COND_OBJ_GETRANDOM_FALSE= fi : if test -z "${GL_COND_OBJ_GETRANDOM_TRUE}" && test -z "${GL_COND_OBJ_GETRANDOM_FALSE}"; then GL_COND_OBJ_GETRANDOM_TRUE='#' GL_COND_OBJ_GETRANDOM_FALSE='#' fi GL_GNULIB_GETRANDOM=1 printf "%s\n" "#define GNULIB_TEST_GETRANDOM 1" >>confdefs.h GNULIB_LOCALEDIR="${localedir}" # Check whether --with-gnulib-prefix was given. if test ${with_gnulib_prefix+y} then : withval=$with_gnulib_prefix; if test "X$withval" != "X" && test "X$withval" != "Xno"; then GNULIB_LOCALEDIR="$withval/share/locale" fi fi gl_saved_prefix="${prefix}" gl_saved_datarootdir="${datarootdir}" gl_saved_localedir="${localedir}" gl_saved_gnuliblocaledir="${GNULIB_LOCALEDIR}" if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi eval datarootdir="$datarootdir" eval localedir="$localedir" eval GNULIB_LOCALEDIR="$GNULIB_LOCALEDIR" gl_final_GNULIB_LOCALEDIR="$GNULIB_LOCALEDIR" case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_GNULIB_LOCALEDIR=`cygpath -w "$gl_final_GNULIB_LOCALEDIR"` ;; esac ;; esac GNULIB_LOCALEDIR_c=`printf '%s\n' "$gl_final_GNULIB_LOCALEDIR" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` GNULIB_LOCALEDIR_c='"'"$GNULIB_LOCALEDIR_c"'"' GNULIB_LOCALEDIR_c_make=`printf '%s\n' "$GNULIB_LOCALEDIR_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` if test "$GNULIB_LOCALEDIR_c_make" = '\"'"${gl_final_GNULIB_LOCALEDIR}"'\"'; then GNULIB_LOCALEDIR_c_make='\"$(GNULIB_LOCALEDIR)\"' fi GNULIB_LOCALEDIR="${gl_saved_gnuliblocaledir}" localedir="${gl_saved_localedir}" datarootdir="${gl_saved_datarootdir}" prefix="${gl_saved_prefix}" printf "%s\n" "#define GNULIB_LOCALEDIR ${GNULIB_LOCALEDIR_c}" >>confdefs.h # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" HARD_LOCALE_LIB="$SETLOCALE_NULL_LIB" LIB_HARD_LOCALE="$HARD_LOCALE_LIB" GL_GNULIB_ICONV=1 case "$GL_GENERATE_ICONV_H" in false) ICONV_H='' ;; true) if test -z "$ICONV_H"; then ICONV_H="${gl_source_base_prefix}iconv.h" fi ;; *) echo "*** GL_GENERATE_ICONV_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_ICONV_H; then GL_GENERATE_ICONV_H_TRUE= GL_GENERATE_ICONV_H_FALSE='#' else GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE= fi : if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE='#' fi if test "$am_cv_func_iconv" = yes; then GL_GENERATE_ICONV_H=true cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \ || (defined __GLIBC__ && !defined __UCLIBC__) gnu_iconv #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "gnu_iconv" >/dev/null 2>&1 then : gl_func_iconv_gnu=yes else case e in #( e) gl_func_iconv_gnu=no ;; esac fi rm -rf conftest* if test $gl_func_iconv_gnu = no; then iconv_flavor= case "$host_os" in aix*) iconv_flavor=ICONV_FLAVOR_AIX ;; irix*) iconv_flavor=ICONV_FLAVOR_IRIX ;; hpux*) iconv_flavor=ICONV_FLAVOR_HPUX ;; osf*) iconv_flavor=ICONV_FLAVOR_OSF ;; solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;; openedition*) iconv_flavor=ICONV_FLAVOR_ZOS ;; esac if test -n "$iconv_flavor"; then printf "%s\n" "#define ICONV_FLAVOR $iconv_flavor" >>confdefs.h GL_GENERATE_ICONV_H=true REPLACE_ICONV_OPEN=1 fi fi fi case "$GL_GENERATE_ICONV_H" in false) ICONV_H='' ;; true) if test -z "$ICONV_H"; then ICONV_H="${gl_source_base_prefix}iconv.h" fi ;; *) echo "*** GL_GENERATE_ICONV_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_ICONV_H; then GL_GENERATE_ICONV_H_TRUE= GL_GENERATE_ICONV_H_FALSE='#' else GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE= fi : if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then GL_GENERATE_ICONV_H_TRUE='#' GL_GENERATE_ICONV_H_FALSE='#' fi if test $REPLACE_ICONV_OPEN = 1; then GL_COND_OBJ_ICONV_OPEN_TRUE= GL_COND_OBJ_ICONV_OPEN_FALSE='#' else GL_COND_OBJ_ICONV_OPEN_TRUE='#' GL_COND_OBJ_ICONV_OPEN_FALSE= fi : if test -z "${GL_COND_OBJ_ICONV_OPEN_TRUE}" && test -z "${GL_COND_OBJ_ICONV_OPEN_FALSE}"; then GL_COND_OBJ_ICONV_OPEN_TRUE='#' GL_COND_OBJ_ICONV_OPEN_FALSE='#' fi if test $REPLACE_ICONV = 1; then GL_COND_OBJ_ICONV_TRUE= GL_COND_OBJ_ICONV_FALSE='#' else GL_COND_OBJ_ICONV_TRUE='#' GL_COND_OBJ_ICONV_FALSE= fi : if test -z "${GL_COND_OBJ_ICONV_TRUE}" && test -z "${GL_COND_OBJ_ICONV_FALSE}"; then GL_COND_OBJ_ICONV_TRUE='#' GL_COND_OBJ_ICONV_FALSE='#' fi HAVE_INET_PTON=1 INET_PTON_LIB= if test $ac_cv_header_sys_socket_h != yes; then ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes then : printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi if test $HAVE_WINSOCK2_H = 1; then REPLACE_INET_PTON=1 ac_fn_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_inet_pton" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_INET_PTON $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_inet_pton = yes; then INET_PTON_LIB="-lws2_32" else HAVE_DECL_INET_PTON=0 fi else gl_saved_LIBS=$LIBS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5 printf %s "checking for library containing inet_pton... " >&6; } if test ${ac_cv_search_inet_pton+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char inet_pton (void); int main (void) { return inet_pton (); ; return 0; } _ACEOF for ac_lib in '' nsl resolv network do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO" then : ac_cv_search_inet_pton=$ac_res fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext if test ${ac_cv_search_inet_pton+y} then : break fi done if test ${ac_cv_search_inet_pton+y} then : else case e in #( e) ac_cv_search_inet_pton=no ;; esac fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5 printf "%s\n" "$ac_cv_search_inet_pton" >&6; } ac_res=$ac_cv_search_inet_pton if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" else case e in #( e) ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" if test "x$ac_cv_func_inet_pton" = xyes then : printf "%s\n" "#define HAVE_INET_PTON 1" >>confdefs.h fi if test $ac_cv_func_inet_pton = no; then HAVE_INET_PTON=0 fi ;; esac fi LIBS=$gl_saved_LIBS if test "$ac_cv_search_inet_pton" != "no" \ && test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi ac_fn_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include #if HAVE_NETDB_H # include #endif " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_inet_pton" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_INET_PTON $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_inet_pton = no; then HAVE_DECL_INET_PTON=0 fi fi if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then GL_COND_OBJ_INET_PTON_TRUE= GL_COND_OBJ_INET_PTON_FALSE='#' else GL_COND_OBJ_INET_PTON_TRUE='#' GL_COND_OBJ_INET_PTON_FALSE= fi : if test -z "${GL_COND_OBJ_INET_PTON_TRUE}" && test -z "${GL_COND_OBJ_INET_PTON_FALSE}"; then GL_COND_OBJ_INET_PTON_TRUE='#' GL_COND_OBJ_INET_PTON_FALSE='#' fi if test -z "$GL_COND_OBJ_INET_PTON_TRUE"; then : fi GL_GNULIB_INET_PTON=1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5 printf %s "checking whether the compiler generally respects inline... " >&6; } if test ${gl_cv_c_inline_effective+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_c_inline = no; then gl_cv_c_inline_effective=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { #ifdef __NO_INLINE__ #error "inline is not effective" #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_c_inline_effective=yes else case e in #( e) gl_cv_c_inline_effective=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5 printf "%s\n" "$gl_cv_c_inline_effective" >&6; } if test $gl_cv_c_inline_effective = yes; then printf "%s\n" "#define HAVE_INLINE 1" >>confdefs.h fi : : : : : if test $ac_cv_func_isblank = no; then HAVE_ISBLANK=0 fi if test $HAVE_ISBLANK = 0; then GL_COND_OBJ_ISBLANK_TRUE= GL_COND_OBJ_ISBLANK_FALSE='#' else GL_COND_OBJ_ISBLANK_TRUE='#' GL_COND_OBJ_ISBLANK_FALSE= fi : if test -z "${GL_COND_OBJ_ISBLANK_TRUE}" && test -z "${GL_COND_OBJ_ISBLANK_FALSE}"; then GL_COND_OBJ_ISBLANK_TRUE='#' GL_COND_OBJ_ISBLANK_FALSE='#' fi printf "%s\n" "#define GNULIB_ISBLANK 1" >>confdefs.h GL_GNULIB_ISBLANK=1 ac_fn_check_decl "$LINENO" "isfinite" "ac_cv_have_decl_isfinite" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_isfinite" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ISFINITE $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_isfinite" = yes; then saved_LIBS="$LIBS" ISFINITE_LIBM=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double x; int main (void) { x = isfinite (x) + isfinite ((float) x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ISFINITE_LIBM=$libm break fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext done LIBS="$saved_LIBS" if test "$ISFINITE_LIBM" != missing; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isfinite(long double) works" >&5 printf %s "checking whether isfinite(long double) works... " >&6; } if test ${gl_cv_func_isfinitel_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on native Windows. mingw* | windows*) gl_cv_func_isfinitel_works="guessing no" ;; *) gl_cv_func_isfinitel_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; { memory_long_double m; unsigned int i; /* The isfinite macro should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (isfinite (m.value)) result |= 1; #if defined LDBL_EXPBIT0_WORD && defined LDBL_EXPBIT0_BIT /* Another NaN, more precisely crafted. */ m.value = NaNl (); #if defined __powerpc__ && LDBL_MANT_DIG == 106 /* This is PowerPC "double double", a pair of two doubles. Inf and NaN are represented as the corresponding 64-bit IEEE values in the first double; the second is ignored. Manipulate only the first double. */ #define HNWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) #else #define HNWORDS NWORDS #endif #if LDBL_EXPBIT0_BIT > 0 m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); #else m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < HNWORDS / 2 ? 1 : - 1)] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); #endif m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < HNWORDS / 2 ? 1 : - 1)] |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; #undef HNWORDS if (isfinite (m.value)) result |= 1; #endif } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (isfinite (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (isfinite (x.value)) result |= 2; } /* isfinite should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 64; } #endif return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_isfinitel_works=yes else case e in #( e) gl_cv_func_isfinitel_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isfinitel_works" >&5 printf "%s\n" "$gl_cv_func_isfinitel_works" >&6; } case "$gl_cv_func_isfinitel_works" in *yes) ;; *) ISFINITE_LIBM=missing;; esac fi fi if test "$ac_cv_have_decl_isfinite" != yes \ || test "$ISFINITE_LIBM" = missing \ || { case "$host_os" in solaris*) true;; *) false;; esac; }; then REPLACE_ISFINITE=1 ISFINITE_LIBM= fi if test $REPLACE_ISFINITE = 1; then GL_COND_OBJ_ISFINITE_TRUE= GL_COND_OBJ_ISFINITE_FALSE='#' else GL_COND_OBJ_ISFINITE_TRUE='#' GL_COND_OBJ_ISFINITE_FALSE= fi : if test -z "${GL_COND_OBJ_ISFINITE_TRUE}" && test -z "${GL_COND_OBJ_ISFINITE_FALSE}"; then GL_COND_OBJ_ISFINITE_TRUE='#' GL_COND_OBJ_ISFINITE_FALSE='#' fi GL_GNULIB_ISFINITE=1 printf "%s\n" "#define GNULIB_TEST_ISFINITE 1" >>confdefs.h ac_fn_check_decl "$LINENO" "isinf" "ac_cv_have_decl_isinf" "#include #ifndef isinf #error \"isinf must be a macro, not a function\" #endif " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_isinf" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ISINF $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_isinf" = yes; then saved_LIBS="$LIBS" ISINF_LIBM=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double x; int main (void) { x = isinf (x) + isinf ((float) x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ISINF_LIBM=$libm break fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext done LIBS="$saved_LIBS" if test "$ISINF_LIBM" != missing; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isinf(long double) works" >&5 printf %s "checking whether isinf(long double) works... " >&6; } if test ${gl_cv_func_isinfl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in mingw* | windows*) # Guess yes on mingw, no on MSVC. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __MINGW32__ Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_isinfl_works="guessing yes" else case e in #( e) gl_cv_func_isinfl_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_isinfl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; if (isinf (LDBL_MAX)) result |= 1; { memory_long_double m; unsigned int i; /* The isinf macro should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (isinf (m.value)) result |= 2; } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (isinf (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (isinf (x.value)) result |= 2; } /* isinf should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 64; } #endif return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_isinfl_works=yes else case e in #( e) gl_cv_func_isinfl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isinfl_works" >&5 printf "%s\n" "$gl_cv_func_isinfl_works" >&6; } case "$gl_cv_func_isinfl_works" in *yes) ;; *) ISINF_LIBM=missing;; esac fi fi if test "$ac_cv_have_decl_isinf" != yes \ || test "$ISINF_LIBM" = missing \ || { case "$host_os" in solaris*) true;; *) false;; esac; }; then REPLACE_ISINF=1 ISINF_LIBM= fi if test $REPLACE_ISINF = 1; then GL_COND_OBJ_ISINF_TRUE= GL_COND_OBJ_ISINF_FALSE='#' else GL_COND_OBJ_ISINF_TRUE='#' GL_COND_OBJ_ISINF_FALSE= fi : if test -z "${GL_COND_OBJ_ISINF_TRUE}" && test -z "${GL_COND_OBJ_ISINF_FALSE}"; then GL_COND_OBJ_ISINF_TRUE='#' GL_COND_OBJ_ISINF_FALSE='#' fi GL_GNULIB_ISINF=1 printf "%s\n" "#define GNULIB_TEST_ISINF 1" >>confdefs.h if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then gl_LIBOBJS="$gl_LIBOBJS isnand.$ac_objext" fi GL_GNULIB_ISNAND=1 printf "%s\n" "#define GNULIB_TEST_ISNAND 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5 printf %s "checking whether isnan(double) can be used without linking with libm... " >&6; } if test ${gl_cv_func_isnand_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) #else # undef isnand # define isnand(x) isnan ((double)(x)) #endif double x; int main (void) { return isnand (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnand_no_libm=yes else case e in #( e) gl_cv_func_isnand_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5 printf "%s\n" "$gl_cv_func_isnand_no_libm" >&6; } gl_func_isnand_no_libm=$gl_cv_func_isnand_no_libm if test $gl_cv_func_isnand_no_libm = yes; then printf "%s\n" "#define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h fi if test $gl_func_isnand_no_libm != yes; then gl_LIBOBJS="$gl_LIBOBJS isnand.$ac_objext" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5 printf %s "checking whether isnan(float) can be used without linking with libm... " >&6; } if test ${gl_cv_func_isnanf_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) #elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) #endif float x; int main (void) { return isnanf (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnanf_no_libm=yes else case e in #( e) gl_cv_func_isnanf_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5 printf "%s\n" "$gl_cv_func_isnanf_no_libm" >&6; } if test $gl_cv_func_isnanf_no_libm = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5 printf %s "checking whether isnan(float) works... " >&6; } if test ${gl_cv_func_isnanf_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in irix* | solaris*) gl_cv_func_isnanf_works="guessing no" ;; mingw* | windows*) # Guess yes on mingw, no on MSVC. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __MINGW32__ Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_isnanf_works="guessing yes" else case e in #( e) gl_cv_func_isnanf_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_isnanf_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) #elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) #endif /* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ #ifdef __DECC static float NaN () { static float zero = 0.0f; return zero / zero; } #else # define NaN() (0.0f / 0.0f) #endif #define NWORDS \ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; float value; } memory_float; int main() { int result = 0; if (isnanf (1.0f / 0.0f)) result |= 1; if (!isnanf (NaN ())) result |= 2; #if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT /* The isnanf function should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit. */ if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0) { memory_float m; m.value = NaN (); /* Set the bits below the exponent to 01111...111. */ m.word[0] &= -1U << FLT_EXPBIT0_BIT; m.word[0] |= (1U << (FLT_EXPBIT0_BIT - 1)) - 1; if (!isnanf (m.value)) result |= 4; } #endif return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_isnanf_works=yes else case e in #( e) gl_cv_func_isnanf_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_works" >&5 printf "%s\n" "$gl_cv_func_isnanf_works" >&6; } fi if test $gl_cv_func_isnanf_no_libm = yes \ && { case "$gl_cv_func_isnanf_works" in *yes) true;; *) false;; esac }; then gl_func_isnanf_no_libm=yes printf "%s\n" "#define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h else gl_func_isnanf_no_libm=no fi if test $gl_func_isnanf_no_libm != yes; then gl_LIBOBJS="$gl_LIBOBJS isnanf.$ac_objext" fi if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then gl_LIBOBJS="$gl_LIBOBJS isnanl.$ac_objext" fi GL_GNULIB_ISNANL=1 printf "%s\n" "#define GNULIB_TEST_ISNANL 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5 printf %s "checking whether isnan(long double) can be used without linking with libm... " >&6; } if test ${gl_cv_func_isnanl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif long double x; int main (void) { return isnanl (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_isnanl_no_libm=yes else case e in #( e) gl_cv_func_isnanl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5 printf "%s\n" "$gl_cv_func_isnanl_no_libm" >&6; } gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm if test $gl_func_isnanl_no_libm = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5 printf %s "checking whether isnanl works... " >&6; } if test ${gl_cv_func_isnanl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in mingw* | windows*) # Guess yes on mingw, no on MSVC. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __MINGW32__ Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_isnanl_works="guessing yes" else case e in #( e) gl_cv_func_isnanl_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_isnanl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; if (!isnanl (NaNl ())) result |= 1; { memory_long_double m; unsigned int i; /* The isnanl function should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (!isnanl (m.value)) result |= 1; } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (!isnanl (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (!isnanl (x.value)) result |= 2; } /* isnanl should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 64; } #endif return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_isnanl_works=yes else case e in #( e) gl_cv_func_isnanl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5 printf "%s\n" "$gl_cv_func_isnanl_works" >&6; } case "$gl_cv_func_isnanl_works" in *yes) ;; *) gl_func_isnanl_no_libm=no ;; esac fi if test $gl_func_isnanl_no_libm = yes; then printf "%s\n" "#define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h fi if test $gl_func_isnanl_no_libm != yes; then gl_LIBOBJS="$gl_LIBOBJS isnanl.$ac_objext" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iswblank" >&5 printf %s "checking for iswblank... " >&6; } if test ${gl_cv_onwards_func_iswblank+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_iswblank" = xyes then : fi if test $ac_cv_have_decl_iswblank = yes; then ac_fn_c_check_func "$LINENO" "iswblank" "ac_cv_func_iswblank" if test "x$ac_cv_func_iswblank" = xyes then : fi if test $ac_cv_func_iswblank = yes; then gl_cv_onwards_func_iswblank=yes else gl_cv_onwards_func_iswblank='future OS version' fi else gl_cv_onwards_func_iswblank='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "iswblank" "ac_cv_func_iswblank" if test "x$ac_cv_func_iswblank" = xyes then : fi gl_cv_onwards_func_iswblank=$ac_cv_func_iswblank ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_iswblank" >&5 printf "%s\n" "$gl_cv_onwards_func_iswblank" >&6; } case "$gl_cv_onwards_func_iswblank" in future*) ac_cv_func_iswblank=no ;; *) ac_cv_func_iswblank=$gl_cv_onwards_func_iswblank ;; esac if test $ac_cv_func_iswblank = yes; then printf "%s\n" "#define HAVE_ISWBLANK 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" " #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_iswblank" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ISWBLANK $ac_have_decl" >>confdefs.h if test $ac_cv_func_iswblank = no; then HAVE_ISWBLANK=0 if test $ac_cv_have_decl_iswblank = yes \ || case "$gl_cv_onwards_func_iswblank" in \ future*) true ;; \ *) false ;; \ esac; then REPLACE_ISWBLANK=1 fi fi if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then : else if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then : fi fi if ! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && { test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; }; then GL_COND_OBJ_ISWBLANK_TRUE= GL_COND_OBJ_ISWBLANK_FALSE='#' else GL_COND_OBJ_ISWBLANK_TRUE='#' GL_COND_OBJ_ISWBLANK_FALSE= fi : if test -z "${GL_COND_OBJ_ISWBLANK_TRUE}" && test -z "${GL_COND_OBJ_ISWBLANK_FALSE}"; then GL_COND_OBJ_ISWBLANK_TRUE='#' GL_COND_OBJ_ISWBLANK_FALSE='#' fi GL_GNULIB_ISWBLANK=1 printf "%s\n" "#define GNULIB_TEST_ISWBLANK 1" >>confdefs.h if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then REPLACE_ISWDIGIT="$REPLACE_ISWCNTRL" else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswdigit is ISO C compliant" >&5 printf %s "checking whether iswdigit is ISO C compliant... " >&6; } if test ${gl_cv_func_iswdigit_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on FreeBSD, NetBSD, OpenBSD, Solaris, native Windows, Haiku, Android. freebsd* | dragonfly* | netbsd* | openbsd* | solaris* | mingw* | windows* | haiku* | *-android*) gl_cv_func_iswdigit_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswdigit_works="guessing yes" ;; esac if test $LOCALE_FR != none || test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include /* Returns the value of iswdigit for the multibyte character s[0..n-1]. */ static int for_character (const char *s, size_t n) { mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, s, n, &state); if (ret != n) abort (); return iswdigit (wc); } int main (int argc, char *argv[]) { int is; int result = 0; if (strcmp ("$LOCALE_FR", "none") != 0 && setlocale (LC_ALL, "$LOCALE_FR") != NULL) { /* This fails on mingw, MSVC 14. */ /* U+00B2 SUPERSCRIPT TWO */ is = for_character ("\262", 1); if (!(is == 0)) result |= 1; } if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { /* This fails on NetBSD 10.0. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 2; } if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { /* This fails on FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+0663 ARABIC-INDIC DIGIT THREE */ is = for_character ("\331\243", 2); if (!(is == 0)) result |= 4; /* This fails on FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\357\274\221", 3); if (!(is == 0)) result |= 8; } if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { /* This fails on NetBSD 10.0, Solaris 10, Solaris 11.4. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 16; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_iswdigit_works=yes else case e in #( e) gl_cv_func_iswdigit_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswdigit_works" >&5 printf "%s\n" "$gl_cv_func_iswdigit_works" >&6; } case "$gl_cv_func_iswdigit_works" in *yes) ;; *) REPLACE_ISWDIGIT=1 ;; esac fi if ! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWDIGIT = 1; then GL_COND_OBJ_ISWDIGIT_TRUE= GL_COND_OBJ_ISWDIGIT_FALSE='#' else GL_COND_OBJ_ISWDIGIT_TRUE='#' GL_COND_OBJ_ISWDIGIT_FALSE= fi : if test -z "${GL_COND_OBJ_ISWDIGIT_TRUE}" && test -z "${GL_COND_OBJ_ISWDIGIT_FALSE}"; then GL_COND_OBJ_ISWDIGIT_TRUE='#' GL_COND_OBJ_ISWDIGIT_FALSE='#' fi GL_GNULIB_ISWDIGIT=1 printf "%s\n" "#define GNULIB_TEST_ISWDIGIT 1" >>confdefs.h if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then REPLACE_ISWPUNCT="$REPLACE_ISWCNTRL" else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswpunct is consistent with ispunct" >&5 printf %s "checking whether iswpunct is consistent with ispunct... " >&6; } if test ${gl_cv_func_iswpunct_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on Android. android*) gl_cv_func_iswpunct_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswpunct_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main (int argc, char *argv[]) { int result = 0; /* This fails on Android 11. */ if ((! iswpunct ('\`')) != (! ispunct ('\`'))) result |= 1; return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_iswpunct_works=yes else case e in #( e) gl_cv_func_iswpunct_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswpunct_works" >&5 printf "%s\n" "$gl_cv_func_iswpunct_works" >&6; } case "$gl_cv_func_iswpunct_works" in *yes) ;; *) REPLACE_ISWPUNCT=1 ;; esac fi if ! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWPUNCT = 1; then GL_COND_OBJ_ISWPUNCT_TRUE= GL_COND_OBJ_ISWPUNCT_FALSE='#' else GL_COND_OBJ_ISWPUNCT_TRUE='#' GL_COND_OBJ_ISWPUNCT_FALSE= fi : if test -z "${GL_COND_OBJ_ISWPUNCT_TRUE}" && test -z "${GL_COND_OBJ_ISWPUNCT_FALSE}"; then GL_COND_OBJ_ISWPUNCT_TRUE='#' GL_COND_OBJ_ISWPUNCT_FALSE='#' fi GL_GNULIB_ISWPUNCT=1 printf "%s\n" "#define GNULIB_TEST_ISWPUNCT 1" >>confdefs.h if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then REPLACE_ISWXDIGIT="$REPLACE_ISWCNTRL" else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswxdigit is ISO C compliant" >&5 printf %s "checking whether iswxdigit is ISO C compliant... " >&6; } if test ${gl_cv_func_iswxdigit_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on FreeBSD, NetBSD, OpenBSD, Solaris, native Windows, Haiku, Android. freebsd* | dragonfly* | netbsd* | openbsd* | solaris* | mingw* | windows* | haiku* | *-android*) gl_cv_func_iswxdigit_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswxdigit_works="guessing yes" ;; esac if test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include /* Returns the value of iswxdigit for the multibyte character s[0..n-1]. */ static int for_character (const char *s, size_t n) { mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, s, n, &state); if (ret != n) abort (); return iswxdigit (wc); } int main (int argc, char *argv[]) { int is; int result = 0; if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { /* This fails on NetBSD 10.0. */ /* U+FF21 FULLWIDTH LATIN CAPITAL LETTER A */ is = for_character ("\243\301", 2); if (!(is == 0)) result |= 1; } if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { /* This fails on FreeBSD 13.0, Haiku, Android. */ /* U+0663 ARABIC-INDIC DIGIT THREE */ is = for_character ("\331\243", 2); if (!(is == 0)) result |= 2; /* This fails on NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+FF21 FULLWIDTH LATIN CAPITAL LETTER A */ is = for_character ("\357\274\241", 3); if (!(is == 0)) result |= 4; } if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { /* This fails on Solaris 10, Solaris 11.4. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 8; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_iswxdigit_works=yes else case e in #( e) gl_cv_func_iswxdigit_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswxdigit_works" >&5 printf "%s\n" "$gl_cv_func_iswxdigit_works" >&6; } case "$gl_cv_func_iswxdigit_works" in *yes) ;; *) REPLACE_ISWXDIGIT=1 ;; esac fi if ! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWXDIGIT = 1; then GL_COND_OBJ_ISWXDIGIT_TRUE= GL_COND_OBJ_ISWXDIGIT_FALSE='#' else GL_COND_OBJ_ISWXDIGIT_TRUE='#' GL_COND_OBJ_ISWXDIGIT_FALSE= fi : if test -z "${GL_COND_OBJ_ISWXDIGIT_TRUE}" && test -z "${GL_COND_OBJ_ISWXDIGIT_FALSE}"; then GL_COND_OBJ_ISWXDIGIT_TRUE='#' GL_COND_OBJ_ISWXDIGIT_FALSE='#' fi GL_GNULIB_ISWXDIGIT=1 printf "%s\n" "#define GNULIB_TEST_ISWXDIGIT 1" >>confdefs.h LDEXP_LIBM= if test $gl_cv_func_ldexp_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used with libm" >&5 printf %s "checking whether ldexp() can be used with libm... " >&6; } if test ${gl_cv_func_ldexp_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double, int) = ldexp; double x; int main (void) { return ldexp (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexp_in_libm=yes else case e in #( e) gl_cv_func_ldexp_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_in_libm" >&5 printf "%s\n" "$gl_cv_func_ldexp_in_libm" >&6; } if test $gl_cv_func_ldexp_in_libm = yes; then LDEXP_LIBM=-lm fi fi saved_LIBS="$LIBS" LIBS="$LIBS $LDEXP_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexp works" >&5 printf %s "checking whether ldexp works... " >&6; } if test ${gl_cv_func_ldexp_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in openbsd*) gl_cv_func_ldexp_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ldexp_works="guessing yes" ;; *) gl_cv_func_ldexp_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main() { int result = 0; { volatile double x = 1.9269695883136991774e-308; volatile double y = ldexp (x, 0); if (y != x) result |= 1; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ldexp_works=yes else case e in #( e) gl_cv_func_ldexp_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_works" >&5 printf "%s\n" "$gl_cv_func_ldexp_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_ldexp_works" in *yes) ;; *) REPLACE_LDEXP=1 ;; esac if test $REPLACE_LDEXP = 1; then LDEXP_LIBM="$ISNAND_LIBM" fi if test $REPLACE_LDEXP = 1; then GL_COND_OBJ_LDEXP_TRUE= GL_COND_OBJ_LDEXP_FALSE='#' else GL_COND_OBJ_LDEXP_TRUE='#' GL_COND_OBJ_LDEXP_FALSE= fi : if test -z "${GL_COND_OBJ_LDEXP_TRUE}" && test -z "${GL_COND_OBJ_LDEXP_FALSE}"; then GL_COND_OBJ_LDEXP_TRUE='#' GL_COND_OBJ_LDEXP_FALSE='#' fi GL_GNULIB_LDEXP=1 printf "%s\n" "#define GNULIB_TEST_LDEXP 1" >>confdefs.h ac_fn_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ldexpl" = xyes then : else case e in #( e) HAVE_DECL_LDEXPL=0 ;; esac fi LDEXPL_LIBM= if test $HAVE_DECL_LDEXPL = 1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5 printf %s "checking whether ldexpl() can be used without linking with libm... " >&6; } if test ${gl_cv_func_ldexpl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main (void) { return ldexpl (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexpl_no_libm=yes else case e in #( e) gl_cv_func_ldexpl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5 printf "%s\n" "$gl_cv_func_ldexpl_no_libm" >&6; } if test $gl_cv_func_ldexpl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used with libm" >&5 printf %s "checking whether ldexpl() can be used with libm... " >&6; } if test ${gl_cv_func_ldexpl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main (void) { return ldexpl (x, -1) > 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ldexpl_in_libm=yes else case e in #( e) gl_cv_func_ldexpl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_in_libm" >&5 printf "%s\n" "$gl_cv_func_ldexpl_in_libm" >&6; } if test $gl_cv_func_ldexpl_in_libm = yes; then LDEXPL_LIBM=-lm fi fi if test $gl_cv_func_ldexpl_no_libm = yes \ || test $gl_cv_func_ldexpl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $LDEXPL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5 printf %s "checking whether ldexpl works... " >&6; } if test ${gl_cv_func_ldexpl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ldexpl_works="guessing yes" ;; *) gl_cv_func_ldexpl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern #ifdef __cplusplus "C" #endif long double ldexpl (long double, int); int main() { int result = 0; { volatile long double x = 1.0; volatile long double y = ldexpl (x, -1); if (y != 0.5L) result |= 1; } { volatile long double x = 1.73205L; volatile long double y = ldexpl (x, 0); if (y != x) result |= 2; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_ldexpl_works=yes else case e in #( e) gl_cv_func_ldexpl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5 printf "%s\n" "$gl_cv_func_ldexpl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_ldexpl_works" in *yes) gl_func_ldexpl=yes ;; *) gl_func_ldexpl=no; REPLACE_LDEXPL=1 ;; esac else gl_func_ldexpl=no fi if test $gl_func_ldexpl = yes; then printf "%s\n" "#define HAVE_LDEXPL 1" >>confdefs.h fi fi if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then LDEXPL_LIBM="$LDEXP_LIBM" else LDEXPL_LIBM="$ISNANL_LIBM" fi fi if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then GL_COND_OBJ_LDEXPL_TRUE= GL_COND_OBJ_LDEXPL_FALSE='#' else GL_COND_OBJ_LDEXPL_TRUE='#' GL_COND_OBJ_LDEXPL_FALSE= fi : if test -z "${GL_COND_OBJ_LDEXPL_TRUE}" && test -z "${GL_COND_OBJ_LDEXPL_FALSE}"; then GL_COND_OBJ_LDEXPL_TRUE='#' GL_COND_OBJ_LDEXPL_FALSE='#' fi GL_GNULIB_LDEXPL=1 printf "%s\n" "#define GNULIB_TEST_LDEXPL 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the __inline keyword" >&5 printf %s "checking whether the compiler supports the __inline keyword... " >&6; } if test ${gl_cv_c___inline+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef int foo_t; static __inline foo_t foo (void) { return 0; } int main (void) { return foo (); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_c___inline=yes else case e in #( e) gl_cv_c___inline=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c___inline" >&5 printf "%s\n" "$gl_cv_c___inline" >&6; } if test $gl_cv_c___inline = yes; then printf "%s\n" "#define HAVE___INLINE 1" >>confdefs.h fi case "$GL_GENERATE_LIMITS_H" in false) LIMITS_H='' ;; true) if test -z "$LIMITS_H"; then LIMITS_H="${gl_source_base_prefix}limits.h" fi ;; *) echo "*** GL_GENERATE_LIMITS_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_LIMITS_H; then GL_GENERATE_LIMITS_H_TRUE= GL_GENERATE_LIMITS_H_FALSE='#' else GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE= fi : if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE='#' fi LOCALCHARSET_TESTS_ENVIRONMENT= if test $REPLACE_STRUCT_LCONV = 1; then REPLACE_LOCALECONV=1 fi if test $REPLACE_LOCALECONV = 0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether localeconv works" >&5 printf %s "checking whether localeconv works... " >&6; } if test ${gl_cv_func_localeconv_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_localeconv_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_localeconv_works="guessing yes" ;; # Guess no on native Windows. mingw* | windows*) gl_cv_func_localeconv_works="guessing no" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_localeconv_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { struct lconv *l = localeconv (); return l->frac_digits != CHAR_MAX && l->frac_digits < 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_localeconv_works=yes else case e in #( e) gl_cv_func_localeconv_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_localeconv_works" >&5 printf "%s\n" "$gl_cv_func_localeconv_works" >&6; } case "$gl_cv_func_localeconv_works" in *yes) ;; *) REPLACE_LOCALECONV=1 ;; esac fi if test $REPLACE_LOCALECONV = 1; then GL_COND_OBJ_LOCALECONV_TRUE= GL_COND_OBJ_LOCALECONV_FALSE='#' else GL_COND_OBJ_LOCALECONV_TRUE='#' GL_COND_OBJ_LOCALECONV_FALSE= fi : if test -z "${GL_COND_OBJ_LOCALECONV_TRUE}" && test -z "${GL_COND_OBJ_LOCALECONV_FALSE}"; then GL_COND_OBJ_LOCALECONV_TRUE='#' GL_COND_OBJ_LOCALECONV_FALSE='#' fi if test -z "$GL_COND_OBJ_LOCALECONV_TRUE"; then : ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include " if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes then : printf "%s\n" "#define HAVE_STRUCT_LCONV_DECIMAL_POINT 1" >>confdefs.h fi ac_fn_c_check_member "$LINENO" "struct lconv" "int_p_cs_precedes" "ac_cv_member_struct_lconv_int_p_cs_precedes" "#include " if test "x$ac_cv_member_struct_lconv_int_p_cs_precedes" = xyes then : printf "%s\n" "#define HAVE_STRUCT_LCONV_INT_P_CS_PRECEDES 1" >>confdefs.h fi fi GL_GNULIB_LOCALECONV=1 printf "%s\n" "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h printf "%s\n" "#define GNULIB_LOCALECONV 1" >>confdefs.h GL_GNULIB_LOCALENAME_ENVIRON=1 printf "%s\n" "#define GNULIB_TEST_LOCALENAME_ENVIRON 1" >>confdefs.h GL_GNULIB_LOCALENAME_UNSAFE=1 printf "%s\n" "#define GNULIB_TEST_LOCALENAME_UNSAFE 1" >>confdefs.h if case "$host_os" in netbsd* | solaris*) true;; *) false;; esac; then GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE= GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE='#' else GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE='#' GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE= fi : if test -z "${GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE}" && test -z "${GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE}"; then GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_TRUE='#' GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED_FALSE='#' fi if test "$gl_threads_api" = posix; then # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. has_rwlock=false ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include " if test "x$ac_cv_type_pthread_rwlock_t" = xyes then : has_rwlock=true printf "%s\n" "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h fi if $has_rwlock; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_rwlock_rdlock prefers a writer to a reader" >&5 printf %s "checking whether pthread_rwlock_rdlock prefers a writer to a reader... " >&6; } if test ${gl_cv_pthread_rwlock_rdlock_prefer_writer+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; # Guess no on bionic systems. *-android*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; # Guess yes on native Windows with the mingw-w64 winpthreads library. # Guess no on native Windows with the gnulib windows-rwlock module. mingw* | windows*) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes" else gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" fi ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_pthread_rwlock_rdlock_prefer_writer="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (exit (10 + (n))) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static pthread_rwlock_t lock; static pthread_t reader1; static pthread_t writer; static pthread_t reader2; static pthread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static pthread_mutex_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9: The second reader thread requests the lock. */ err = pthread_rwlock_tryrdlock (&lock); if (err == 0) FAILURE (); else if (err != EBUSY) UNEXPECTED (9); /* Step 10: Launch a timer, to test whether the next call blocks. */ if (pthread_create (&timer, NULL, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = pthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (pthread_create (&reader2, NULL, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (pthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = pthread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (pthread_rwlock_init (&lock, NULL)) UNEXPECTED (1); if (pthread_mutex_init (&baton, NULL)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (pthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (pthread_create (&writer, NULL, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_pthread_rwlock_rdlock_prefer_writer=yes else case e in #( e) gl_cv_pthread_rwlock_rdlock_prefer_writer=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pthread_rwlock_rdlock_prefer_writer" >&5 printf "%s\n" "$gl_cv_pthread_rwlock_rdlock_prefer_writer" >&6; } case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in *yes) printf "%s\n" "#define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1" >>confdefs.h ;; esac fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : printf "%s\n" "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi : printf "%s\n" "#define GNULIB_LOCK 1" >>confdefs.h if test $REPLACE_LOG = 1; then GL_COND_OBJ_LOG_TRUE= GL_COND_OBJ_LOG_FALSE='#' else GL_COND_OBJ_LOG_TRUE='#' GL_COND_OBJ_LOG_FALSE= fi : if test -z "${GL_COND_OBJ_LOG_TRUE}" && test -z "${GL_COND_OBJ_LOG_FALSE}"; then GL_COND_OBJ_LOG_TRUE='#' GL_COND_OBJ_LOG_FALSE='#' fi GL_GNULIB_LOG=1 printf "%s\n" "#define GNULIB_TEST_LOG 1" >>confdefs.h LOGL_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether logl() can be used without linking with libm" >&5 printf %s "checking whether logl() can be used without linking with libm... " >&6; } if test ${gl_cv_func_logl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = logl; long double x; int main (void) { return funcptr (x) > 1 || logl (x) > 1; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_logl_no_libm=yes else case e in #( e) gl_cv_func_logl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_logl_no_libm" >&5 printf "%s\n" "$gl_cv_func_logl_no_libm" >&6; } if test $gl_cv_func_logl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether logl() can be used with libm" >&5 printf %s "checking whether logl() can be used with libm... " >&6; } if test ${gl_cv_func_logl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = logl; long double x; int main (void) { return funcptr (x) > 1 || logl (x) > 1; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_logl_in_libm=yes else case e in #( e) gl_cv_func_logl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_logl_in_libm" >&5 printf "%s\n" "$gl_cv_func_logl_in_libm" >&6; } if test $gl_cv_func_logl_in_libm = yes; then LOGL_LIBM=-lm fi fi if test $gl_cv_func_logl_no_libm = yes \ || test $gl_cv_func_logl_in_libm = yes; then ac_fn_check_decl "$LINENO" "logl" "ac_cv_have_decl_logl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_logl" = xyes then : else case e in #( e) HAVE_DECL_LOGL=0 ;; esac fi saved_LIBS="$LIBS" LIBS="$LIBS $LOGL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether logl works" >&5 printf %s "checking whether logl works... " >&6; } if test ${gl_cv_func_logl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_logl_works="guessing yes" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_logl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_logl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_logl_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include #include /* Override the values of , like done in float.in.h. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # endif #endif #undef logl extern #ifdef __cplusplus "C" #endif long double logl (long double); static long double dummy (long double x) { return 0; } volatile long double gx; long double gy; int main (int argc, char *argv[]) { long double (* volatile my_logl) (long double) = argc ? logl : dummy; int result = 0; /* This test fails on OSF/1 5.1. */ { gx = -0.0L; gy = logl (gx); if (!(gy + gy == gy)) result |= 1; } /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */ { const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */ (long double) (1U << ((LDBL_MANT_DIG - 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 2) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 3) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 4) / 5)); long double x = 16.981137113807045L; long double err = (my_logl (x) + my_logl (1.0L / x)) * TWO_LDBL_MANT_DIG; if (!(err >= -100.0L && err <= 100.0L)) result |= 2; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_logl_works=yes else case e in #( e) gl_cv_func_logl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_logl_works" >&5 printf "%s\n" "$gl_cv_func_logl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_logl_works" in *yes) ;; *) REPLACE_LOGL=1 ;; esac else HAVE_LOGL=0 HAVE_DECL_LOGL=0 fi if test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then LOGL_LIBM="$LOG_LIBM" else if test $HAVE_LOGL = 0; then case " $LOGL_LIBM " in *" $FREXPL_LIBM "*) ;; *) LOGL_LIBM="$LOGL_LIBM $FREXPL_LIBM" ;; esac case " $LOGL_LIBM " in *" $ISNANL_LIBM "*) ;; *) LOGL_LIBM="$LOGL_LIBM $ISNANL_LIBM" ;; esac case " $LOGL_LIBM " in *" $FLOORL_LIBM "*) ;; *) LOGL_LIBM="$LOGL_LIBM $FLOORL_LIBM" ;; esac fi fi fi if test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1; then GL_COND_OBJ_LOGL_TRUE= GL_COND_OBJ_LOGL_FALSE='#' else GL_COND_OBJ_LOGL_TRUE='#' GL_COND_OBJ_LOGL_FALSE= fi : if test -z "${GL_COND_OBJ_LOGL_TRUE}" && test -z "${GL_COND_OBJ_LOGL_FALSE}"; then GL_COND_OBJ_LOGL_TRUE='#' GL_COND_OBJ_LOGL_FALSE='#' fi GL_GNULIB_LOGL=1 printf "%s\n" "#define GNULIB_TEST_LOGL 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5 printf %s "checking whether lseek detects pipes... " >&6; } if test ${gl_cv_func_lseek_pipe+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in mingw* | windows*) gl_cv_func_lseek_pipe=no ;; *) if test $cross_compiling = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for off_t */ #include /* for SEEK_CUR */ #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif $gl_mda_defines int main (void) { /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : if test -s conftest$ac_exeext \ && ./conftest$ac_exeext < conftest.$ac_ext \ && test 1 = "`echo hi \ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi else case e in #( e) gl_cv_func_lseek_pipe=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __BEOS__ /* BeOS mistakenly return 0 when trying to seek on pipes. */ Choke me. #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_lseek_pipe=yes else case e in #( e) gl_cv_func_lseek_pipe=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5 printf "%s\n" "$gl_cv_func_lseek_pipe" >&6; } if test "$gl_cv_func_lseek_pipe" = no; then REPLACE_LSEEK=1 printf "%s\n" "#define LSEEK_PIPE_BROKEN 1" >>confdefs.h fi if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_LSEEK=1 fi if test $REPLACE_LSEEK = 0 then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether SEEK_DATA works but is incompatible with GNU" >&5 printf %s "checking whether SEEK_DATA works but is incompatible with GNU... " >&6; } if test ${gl_cv_func_lseek_works_but_incompatible+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if defined __APPLE__ && defined __MACH__ && defined SEEK_DATA # ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ # include # endif # if 99990000 <= MAC_OS_X_VERSION_MIN_REQUIRED # define LSEEK_WORKS_BUT_IS_INCOMPATIBLE_WITH_GNU # endif #endif #ifndef LSEEK_WORKS_BUT_IS_INCOMPATIBLE_WITH_GNU #error "No need to work around the bug" #endif _ACEOF if ac_fn_c_try_cpp "$LINENO" then : gl_cv_func_lseek_works_but_incompatible=yes else case e in #( e) gl_cv_func_lseek_works_but_incompatible=no ;; esac fi rm -f conftest.err conftest.i conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_works_but_incompatible" >&5 printf "%s\n" "$gl_cv_func_lseek_works_but_incompatible" >&6; } if test "$gl_cv_func_lseek_works_but_incompatible" = yes; then REPLACE_LSEEK=1 fi fi if test $REPLACE_LSEEK = 1; then GL_COND_OBJ_LSEEK_TRUE= GL_COND_OBJ_LSEEK_FALSE='#' else GL_COND_OBJ_LSEEK_TRUE='#' GL_COND_OBJ_LSEEK_FALSE= fi : if test -z "${GL_COND_OBJ_LSEEK_TRUE}" && test -z "${GL_COND_OBJ_LSEEK_FALSE}"; then GL_COND_OBJ_LSEEK_TRUE='#' GL_COND_OBJ_LSEEK_FALSE='#' fi GL_GNULIB_LSEEK=1 printf "%s\n" "#define GNULIB_TEST_LSEEK 1" >>confdefs.h case $ac_cv_func_malloc_0_nonnull in #( *yes) : REPLACE_MALLOC_FOR_MALLOC_GNU=$REPLACE_MALLOC_FOR_MALLOC_POSIX ;; #( *) : REPLACE_MALLOC_FOR_MALLOC_GNU=1 ;; esac if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" fi GL_GNULIB_MALLOC_GNU=1 printf "%s\n" "#define GNULIB_TEST_MALLOC_GNU 1" >>confdefs.h if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" fi GL_GNULIB_MALLOC_POSIX=1 printf "%s\n" "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h if test $gl_cv_func_mbrtoc32 = no; then HAVE_MBRTOC32=0 else if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOC32=1 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtoc32 works on empty input" >&5 printf %s "checking whether mbrtoc32 works on empty input... " >&6; } if test ${gl_cv_func_mbrtoc32_empty_input+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;; # Guess no on Android. linux*-android*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;; # Guess no on native Windows. mingw* | windows*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;; *) gl_cv_func_mbrtoc32_empty_input="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __HAIKU__ #include #endif #include static char32_t wc; static mbstate_t mbs; int main (void) { return mbrtoc32 (&wc, "", 0, &mbs) != (size_t) -2; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtoc32_empty_input=yes else case e in #( e) gl_cv_func_mbrtoc32_empty_input=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32_empty_input" >&5 printf "%s\n" "$gl_cv_func_mbrtoc32_empty_input" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5 printf %s "checking whether the C locale is free of encoding errors... " >&6; } if test ${gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="guessing yes" ;; *) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifdef __HAIKU__ #include #endif #include int main (void) { int i; char *locale = setlocale (LC_ALL, "C"); if (! locale) return 2; for (i = CHAR_MIN; i <= CHAR_MAX; i++) { char c = i; char32_t wc; mbstate_t mbs = { 0, }; size_t ss = mbrtoc32 (&wc, &c, 1, &mbs); if (1 < ss) return 3; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ=yes else case e in #( e) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ" >&5 printf "%s\n" "$gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtoc32 works in an UTF-8 locale" >&5 printf %s "checking whether mbrtoc32 works in an UTF-8 locale... " >&6; } if test ${gl_cv_func_mbrtoc32_utf8_locale_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on Cygwin. cygwin*) gl_cv_func_mbrtoc32_utf8_locale_works="guessing no" ;; *) gl_cv_func_mbrtoc32_utf8_locale_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __HAIKU__ #include #endif #include int main (void) { char *locale = setlocale (LC_ALL, "en_US.UTF-8"); if (locale) { /* This test fails on Cygwin 3.5.3. */ mbstate_t state = { 0, }; char32_t uc = 0xDEADBEEF; /* \360\237\220\203 = U+0001F403 */ if (mbrtoc32 (&uc, "\360", 1, &state) != (size_t)-2) return 1; if (mbrtoc32 (&uc, "\237", 1, &state) != (size_t)-2) return 2; if (mbrtoc32 (&uc, "\220", 1, &state) != (size_t)-2) return 3; if (mbrtoc32 (&uc, "\203", 1, &state) != 1) return 4; if (uc != 0x0001F403) return 5; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtoc32_utf8_locale_works=yes else case e in #( e) gl_cv_func_mbrtoc32_utf8_locale_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtoc32_utf8_locale_works" >&5 printf "%s\n" "$gl_cv_func_mbrtoc32_utf8_locale_works" >&6; } case "$gl_cv_func_mbrtoc32_empty_input" in *yes) ;; *) printf "%s\n" "#define MBRTOC32_EMPTY_INPUT_BUG 1" >>confdefs.h REPLACE_MBRTOC32=1 ;; esac case "$gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ" in *yes) ;; *) printf "%s\n" "#define MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h REPLACE_MBRTOC32=1 ;; esac case "$gl_cv_func_mbrtoc32_utf8_locale_works" in *yes) ;; *) printf "%s\n" "#define MBRTOC32_MULTIBYTE_LOCALE_BUG 1" >>confdefs.h REPLACE_MBRTOC32=1 LOCALE_ZH_CN=none ;; esac fi if test $HAVE_WORKING_MBRTOC32 = 0; then REPLACE_MBRTOC32=1 fi fi if test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; then GL_COND_OBJ_MBRTOC32_TRUE= GL_COND_OBJ_MBRTOC32_FALSE='#' else GL_COND_OBJ_MBRTOC32_TRUE='#' GL_COND_OBJ_MBRTOC32_FALSE= fi : if test -z "${GL_COND_OBJ_MBRTOC32_TRUE}" && test -z "${GL_COND_OBJ_MBRTOC32_FALSE}"; then GL_COND_OBJ_MBRTOC32_TRUE='#' GL_COND_OBJ_MBRTOC32_FALSE='#' fi if test -z "$GL_COND_OBJ_MBRTOC32_TRUE"; then : if test $REPLACE_MBSTATE_T = 1; then gl_LIBOBJS="$gl_LIBOBJS lc-charset-dispatch.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS mbtowc-lock.$ac_objext" CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 printf %s "checking whether the -Werror option is usable... " >&6; } if test ${gl_cv_cc_vis_werror+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_cc_vis_werror=yes else case e in #( e) gl_cv_cc_vis_werror=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$gl_saved_CFLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 printf "%s\n" "$gl_cv_cc_vis_werror" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 printf %s "checking for simple visibility declarations... " >&6; } if test ${gl_cv_cc_visibility+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" if test $gl_cv_cc_vis_werror = yes; then CFLAGS="$CFLAGS -Werror" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); void dummyfunc (void); int hiddenvar; int exportedvar; int hiddenfunc (void) { return 51; } int exportedfunc (void) { return 1225736919; } void dummyfunc (void) {} int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_cc_visibility=yes else case e in #( e) gl_cv_cc_visibility=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$gl_saved_CFLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 printf "%s\n" "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi printf "%s\n" "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h fi : fi GL_GNULIB_MBRTOC32=1 printf "%s\n" "#define GNULIB_TEST_MBRTOC32 1" >>confdefs.h if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 ac_fn_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_mbrtowc" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_MBRTOWC $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_mbrtowc = yes; then REPLACE_MBRTOWC=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOWC=1 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 printf %s "checking whether mbrtowc handles a NULL pwc argument... " >&6; } if test ${gl_cv_func_mbrtowc_null_arg1+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; esac if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { char input[] = "\303\237er"; mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 5, &state); if (ret != 2) result |= 1; if (!mbsinit (&state)) result |= 2; memset (&state, '\0', sizeof (mbstate_t)); ret = mbrtowc (NULL, input, 5, &state); if (ret != 2) /* Solaris 7 fails here: ret is -1. */ result |= 4; if (!mbsinit (&state)) result |= 8; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_null_arg1=yes else case e in #( e) gl_cv_func_mbrtowc_null_arg1=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_null_arg1" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 printf %s "checking whether mbrtowc handles a NULL string argument... " >&6; } if test ${gl_cv_func_mbrtowc_null_arg2+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on OSF/1. osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; esac if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { mbstate_t state; wchar_t wc; int ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; mbrtowc (&wc, NULL, 5, &state); /* Check that wc was not modified. */ if (wc != (wchar_t) 0xBADFACE) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_null_arg2=yes else case e in #( e) gl_cv_func_mbrtowc_null_arg2=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_null_arg2" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 printf %s "checking whether mbrtowc has a correct return value... " >&6; } if test ${gl_cv_func_mbrtowc_retval+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on HP-UX, Solaris, native Windows. hpux* | solaris* | mingw* | windows*) gl_cv_func_mbrtowc_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_retval="guessing yes" ;; esac if test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none \ || { case "$host_os" in mingw* | windows*) true;; *) false;; esac; }; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { int result = 0; int found_some_locale = 0; /* This fails on Solaris. */ if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 1) result |= 1; } found_some_locale = 1; } /* This fails on HP-UX 11.11. */ if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 2) result |= 2; } found_some_locale = 1; } /* This fails on native Windows. */ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) { char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 4; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) { char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 8; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_China.936") != NULL) { char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 16; } found_some_locale = 1; } return (found_some_locale ? result : 77); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_retval=yes else case e in #( e) if test $? != 77; then gl_cv_func_mbrtowc_retval=no fi ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_retval" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 printf %s "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } if test ${gl_cv_func_mbrtowc_nul_retval+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess no on Solaris 8 and 9. solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; esac if test $LOCALE_ZH_CN != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { /* This fails on Solaris 8 and 9. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "", 1, &state) != 0) return 2; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_nul_retval=yes else case e in #( e) gl_cv_func_mbrtowc_nul_retval=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_nul_retval" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc stores incomplete characters" >&5 printf %s "checking whether mbrtowc stores incomplete characters... " >&6; } if test ${gl_cv_func_mbrtowc_stores_incomplete+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_func_mbrtowc_stores_incomplete="guessing yes" ;; *) gl_cv_func_mbrtowc_stores_incomplete="guessing no" ;; esac case "$host_os" in mingw* | windows*) if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "French_France.65001") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\303", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 1; } if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\226", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 2; } if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\245", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 4; } if (setlocale (LC_ALL, "Chinese_China.936") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\261", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 8; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_stores_incomplete=no else case e in #( e) gl_cv_func_mbrtowc_stores_incomplete=yes ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; *) if test "$LOCALE_EN_UTF8" != none; then if test "$cross_compiling" = yes then : : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\303", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) return 1; } return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_stores_incomplete=no else case e in #( e) gl_cv_func_mbrtowc_stores_incomplete=yes ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_stores_incomplete" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_stores_incomplete" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5 printf %s "checking whether mbrtowc works on empty input... " >&6; } if test ${gl_cv_func_mbrtowc_empty_input+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on AIX and glibc systems. aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; # Guess no on Android. linux*-android*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; # Guess no on native Windows. mingw* | windows*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; *) gl_cv_func_mbrtowc_empty_input="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include static wchar_t wc; static mbstate_t mbs; int main (void) { return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_empty_input=yes else case e in #( e) gl_cv_func_mbrtowc_empty_input=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_empty_input" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_empty_input" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5 printf %s "checking whether the C locale is free of encoding errors... " >&6; } if test ${gl_cv_func_mbrtowc_C_locale_sans_EILSEQ+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="guessing yes" ;; *) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main (void) { int i; char *locale = setlocale (LC_ALL, "C"); if (! locale) return 2; for (i = CHAR_MIN; i <= CHAR_MAX; i++) { char c = i; wchar_t wc; mbstate_t mbs = { 0, }; size_t ss = mbrtowc (&wc, &c, 1, &mbs); if (1 < ss) return 3; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=yes else case e in #( e) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" >&5 printf "%s\n" "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" >&6; } case "$gl_cv_func_mbrtowc_null_arg1" in *yes) ;; *) printf "%s\n" "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_null_arg2" in *yes) ;; *) printf "%s\n" "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_retval" in *yes) ;; *) printf "%s\n" "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_nul_retval" in *yes) ;; *) printf "%s\n" "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_stores_incomplete" in *no) ;; *) printf "%s\n" "#define MBRTOWC_STORES_INCOMPLETE_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_empty_input" in *yes) ;; *) printf "%s\n" "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in *yes) ;; *) printf "%s\n" "#define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h REPLACE_MBRTOWC=1 ;; esac fi fi if test $REPLACE_MBSTATE_T = 1; then case "$host_os" in mingw* | windows*) MBRTOWC_LIB= ;; *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 printf %s "checking whether imported symbols can be declared weak... " >&6; } if test ${gl_cv_have_weak+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in cygwin* | mingw* | windows*) gl_cv_have_weak="guessing no" ;; *) gl_cv_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main (void) { xyzzy(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_have_weak=maybe fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test $gl_cv_have_weak = maybe; then if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/null 2>&1 then : gl_cv_have_weak="guessing yes" else case e in #( e) gl_cv_have_weak="guessing no" ;; esac fi rm -rf conftest* else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #pragma weak fputs int main () { return (fputs == NULL); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_have_weak=yes else case e in #( e) gl_cv_have_weak=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac case "$gl_cv_have_weak" in *yes) case "$host_os" in freebsd* | dragonfly* | midnightbsd*) : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&5 2>&1 cat < conftest2.c #include #pragma weak pthread_mutexattr_gettype int main () { return (pthread_mutexattr_gettype != NULL); } EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&5 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest ;; esac ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5 printf "%s\n" "$gl_cv_have_weak" >&6; } case "$gl_cv_have_weak" in *yes) printf "%s\n" "#define HAVE_WEAK_SYMBOLS 1" >>confdefs.h ;; esac case "$gl_cv_have_weak" in *yes) MBRTOWC_LIB= ;; *) MBRTOWC_LIB="$LIBPTHREAD" ;; esac ;; esac else MBRTOWC_LIB= fi LIB_MBRTOWC="$MBRTOWC_LIB" if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then GL_COND_OBJ_MBRTOWC_TRUE= GL_COND_OBJ_MBRTOWC_FALSE='#' else GL_COND_OBJ_MBRTOWC_TRUE='#' GL_COND_OBJ_MBRTOWC_FALSE= fi : if test -z "${GL_COND_OBJ_MBRTOWC_TRUE}" && test -z "${GL_COND_OBJ_MBRTOWC_FALSE}"; then GL_COND_OBJ_MBRTOWC_TRUE='#' GL_COND_OBJ_MBRTOWC_FALSE='#' fi if test -z "$GL_COND_OBJ_MBRTOWC_TRUE"; then : if test $REPLACE_MBSTATE_T = 1; then gl_LIBOBJS="$gl_LIBOBJS lc-charset-dispatch.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS mbtowc-lock.$ac_objext" CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 printf %s "checking whether the -Werror option is usable... " >&6; } if test ${gl_cv_cc_vis_werror+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_cc_vis_werror=yes else case e in #( e) gl_cv_cc_vis_werror=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$gl_saved_CFLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 printf "%s\n" "$gl_cv_cc_vis_werror" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 printf %s "checking for simple visibility declarations... " >&6; } if test ${gl_cv_cc_visibility+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" if test $gl_cv_cc_vis_werror = yes; then CFLAGS="$CFLAGS -Werror" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); void dummyfunc (void); int hiddenvar; int exportedvar; int hiddenfunc (void) { return 51; } int exportedfunc (void) { return 1225736919; } void dummyfunc (void) {} int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_cc_visibility=yes else case e in #( e) gl_cv_cc_visibility=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$gl_saved_CFLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 printf "%s\n" "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi printf "%s\n" "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h fi : fi GL_GNULIB_MBRTOWC=1 printf "%s\n" "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 ac_fn_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_mbsinit" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_MBSINIT $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_mbsinit = yes; then REPLACE_MBSINIT=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSINIT=1 else case "$host_os" in mingw* | windows*) REPLACE_MBSINIT=1 ;; esac fi fi if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then GL_COND_OBJ_MBSINIT_TRUE= GL_COND_OBJ_MBSINIT_FALSE='#' else GL_COND_OBJ_MBSINIT_TRUE='#' GL_COND_OBJ_MBSINIT_FALSE= fi : if test -z "${GL_COND_OBJ_MBSINIT_TRUE}" && test -z "${GL_COND_OBJ_MBSINIT_FALSE}"; then GL_COND_OBJ_MBSINIT_TRUE='#' GL_COND_OBJ_MBSINIT_FALSE='#' fi if test -z "$GL_COND_OBJ_MBSINIT_TRUE"; then : : fi GL_GNULIB_MBSINIT=1 printf "%s\n" "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h if test $ac_cv_func_mbslen = yes; then HAVE_MBSLEN=1 else HAVE_MBSLEN=0 fi GL_GNULIB_MBSLEN=1 printf "%s\n" "#define GNULIB_TEST_MBSLEN 1" >>confdefs.h GL_GNULIB_MBSSTR=1 printf "%s\n" "#define GNULIB_TEST_MBSSTR 1" >>confdefs.h GL_GNULIB_MBSZERO=1 printf "%s\n" "#define GNULIB_TEST_MBSZERO 1" >>confdefs.h : : if test $REPLACE_MEMCHR = 1; then GL_COND_OBJ_MEMCHR_TRUE= GL_COND_OBJ_MEMCHR_FALSE='#' else GL_COND_OBJ_MEMCHR_TRUE='#' GL_COND_OBJ_MEMCHR_FALSE= fi : if test -z "${GL_COND_OBJ_MEMCHR_TRUE}" && test -z "${GL_COND_OBJ_MEMCHR_FALSE}"; then GL_COND_OBJ_MEMCHR_TRUE='#' GL_COND_OBJ_MEMCHR_FALSE='#' fi if test -z "$GL_COND_OBJ_MEMCHR_TRUE"; then : ac_fn_c_check_header_compile "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" if test "x$ac_cv_header_bp_sym_h" = xyes then : printf "%s\n" "#define HAVE_BP_SYM_H 1" >>confdefs.h fi fi GL_GNULIB_MEMCHR=1 printf "%s\n" "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mempcpy" >&5 printf %s "checking for mempcpy... " >&6; } if test ${gl_cv_onwards_func_mempcpy+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_mempcpy" = xyes then : fi if test $ac_cv_have_decl_mempcpy = yes; then ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" if test "x$ac_cv_func_mempcpy" = xyes then : fi if test $ac_cv_func_mempcpy = yes; then gl_cv_onwards_func_mempcpy=yes else gl_cv_onwards_func_mempcpy='future OS version' fi else gl_cv_onwards_func_mempcpy='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" if test "x$ac_cv_func_mempcpy" = xyes then : fi gl_cv_onwards_func_mempcpy=$ac_cv_func_mempcpy ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_mempcpy" >&5 printf "%s\n" "$gl_cv_onwards_func_mempcpy" >&6; } case "$gl_cv_onwards_func_mempcpy" in future*) ac_cv_func_mempcpy=no ;; *) ac_cv_func_mempcpy=$gl_cv_onwards_func_mempcpy ;; esac if test $ac_cv_func_mempcpy = yes; then printf "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h fi if test $ac_cv_func_mempcpy = no; then HAVE_MEMPCPY=0 case "$gl_cv_onwards_func_mempcpy" in future*) REPLACE_MEMPCPY=1 ;; esac fi if test $HAVE_MEMPCPY = 0 || test $REPLACE_MEMPCPY = 1; then GL_COND_OBJ_MEMPCPY_TRUE= GL_COND_OBJ_MEMPCPY_FALSE='#' else GL_COND_OBJ_MEMPCPY_TRUE='#' GL_COND_OBJ_MEMPCPY_FALSE= fi : if test -z "${GL_COND_OBJ_MEMPCPY_TRUE}" && test -z "${GL_COND_OBJ_MEMPCPY_FALSE}"; then GL_COND_OBJ_MEMPCPY_TRUE='#' GL_COND_OBJ_MEMPCPY_FALSE='#' fi if test -z "$GL_COND_OBJ_MEMPCPY_TRUE"; then : : fi GL_GNULIB_MEMPCPY=1 printf "%s\n" "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h MODF_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether modf can be used without linking with libm" >&5 printf %s "checking whether modf can be used without linking with libm... " >&6; } if test ${gl_cv_func_modf_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (* volatile funcptr) (double, double *) = modf; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { double y = funcptr (1.6180339887, &d_ret) + modf (1.6180339887, &d_ret); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_modf_no_libm=yes else case e in #( e) gl_cv_func_modf_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_modf_no_libm" >&5 printf "%s\n" "$gl_cv_func_modf_no_libm" >&6; } if test $gl_cv_func_modf_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether modf can be used with libm" >&5 printf %s "checking whether modf can be used with libm... " >&6; } if test ${gl_cv_func_modf_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (* volatile funcptr) (double, double *) = modf; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { double y = funcptr (1.6180339887, &d_ret) + modf (1.6180339887, &d_ret); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_modf_in_libm=yes else case e in #( e) gl_cv_func_modf_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_modf_in_libm" >&5 printf "%s\n" "$gl_cv_func_modf_in_libm" >&6; } if test $gl_cv_func_modf_in_libm = yes; then MODF_LIBM=-lm fi fi if test $REPLACE_MODF = 1; then MODF_LIBM="$TRUNC_LIBM" fi if test $REPLACE_MODF = 1; then GL_COND_OBJ_MODF_TRUE= GL_COND_OBJ_MODF_FALSE='#' else GL_COND_OBJ_MODF_TRUE='#' GL_COND_OBJ_MODF_FALSE= fi : if test -z "${GL_COND_OBJ_MODF_TRUE}" && test -z "${GL_COND_OBJ_MODF_FALSE}"; then GL_COND_OBJ_MODF_TRUE='#' GL_COND_OBJ_MODF_FALSE='#' fi GL_GNULIB_MODF=1 printf "%s\n" "#define GNULIB_TEST_MODF 1" >>confdefs.h MODFL_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether modfl can be used without linking with libm" >&5 printf %s "checking whether modfl can be used without linking with libm... " >&6; } if test ${gl_cv_func_modfl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double, long double *) = modfl; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { long double y = funcptr (1.618033988749894848L, &l_ret) + modfl (1.618033988749894848L, &l_ret); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_modfl_no_libm=yes else case e in #( e) gl_cv_func_modfl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_modfl_no_libm" >&5 printf "%s\n" "$gl_cv_func_modfl_no_libm" >&6; } if test $gl_cv_func_modfl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether modfl can be used with libm" >&5 printf %s "checking whether modfl can be used with libm... " >&6; } if test ${gl_cv_func_modfl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double, long double *) = modfl; int i_ret; float f_ret; double d_ret; long double l_ret; int main (void) { long double y = funcptr (1.618033988749894848L, &l_ret) + modfl (1.618033988749894848L, &l_ret); return y < 0.3 || y > 1.7; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_modfl_in_libm=yes else case e in #( e) gl_cv_func_modfl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_modfl_in_libm" >&5 printf "%s\n" "$gl_cv_func_modfl_in_libm" >&6; } if test $gl_cv_func_modfl_in_libm = yes; then MODFL_LIBM=-lm fi fi if test $gl_cv_func_modfl_no_libm = yes \ || test $gl_cv_func_modfl_in_libm = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether modfl works" >&5 printf %s "checking whether modfl works... " >&6; } if test ${gl_cv_func_modfl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS $MODFL_LIBM" if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_modfl_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_modfl_works="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_modfl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_modfl_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include static long double dummy (long double x, long double *iptr) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_modfl) (long double, long double *) = argc ? modfl : dummy; long double i; long double f; /* Test modfl(5.972406760L,...). This test fails on NetBSD 10.0/arm64. */ f = my_modfl (5.972406760L, &i); if (!(f < 1.0L && i == 5.0L)) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_modfl_works=yes else case e in #( e) gl_cv_func_modfl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_modfl_works" >&5 printf "%s\n" "$gl_cv_func_modfl_works" >&6; } case "$gl_cv_func_modfl_works" in *yes) ;; *) REPLACE_MODFL=1 ;; esac else HAVE_MODFL=0 fi if test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then MODFL_LIBM="$MODF_LIBM" else MODFL_LIBM="$TRUNCL_LIBM" fi fi if test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; then GL_COND_OBJ_MODFL_TRUE= GL_COND_OBJ_MODFL_FALSE='#' else GL_COND_OBJ_MODFL_TRUE='#' GL_COND_OBJ_MODFL_FALSE= fi : if test -z "${GL_COND_OBJ_MODFL_TRUE}" && test -z "${GL_COND_OBJ_MODFL_FALSE}"; then GL_COND_OBJ_MODFL_TRUE='#' GL_COND_OBJ_MODFL_FALSE='#' fi GL_GNULIB_MODFL=1 printf "%s\n" "#define GNULIB_TEST_MODFL 1" >>confdefs.h if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then GL_COND_OBJ_MSVC_INVAL_TRUE= GL_COND_OBJ_MSVC_INVAL_FALSE='#' else GL_COND_OBJ_MSVC_INVAL_TRUE='#' GL_COND_OBJ_MSVC_INVAL_FALSE= fi : if test -z "${GL_COND_OBJ_MSVC_INVAL_TRUE}" && test -z "${GL_COND_OBJ_MSVC_INVAL_FALSE}"; then GL_COND_OBJ_MSVC_INVAL_TRUE='#' GL_COND_OBJ_MSVC_INVAL_FALSE='#' fi if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then GL_COND_OBJ_MSVC_NOTHROW_TRUE= GL_COND_OBJ_MSVC_NOTHROW_FALSE='#' else GL_COND_OBJ_MSVC_NOTHROW_TRUE='#' GL_COND_OBJ_MSVC_NOTHROW_FALSE= fi : if test -z "${GL_COND_OBJ_MSVC_NOTHROW_TRUE}" && test -z "${GL_COND_OBJ_MSVC_NOTHROW_FALSE}"; then GL_COND_OBJ_MSVC_NOTHROW_TRUE='#' GL_COND_OBJ_MSVC_NOTHROW_FALSE='#' fi printf "%s\n" "#define GNULIB_MSVC_NOTHROW 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether is self-contained" >&5 printf %s "checking whether is self-contained... " >&6; } if test ${gl_cv_header_netinet_in_h_selfcontained+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_netinet_in_h_selfcontained=yes else case e in #( e) gl_cv_header_netinet_in_h_selfcontained=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5 printf "%s\n" "$gl_cv_header_netinet_in_h_selfcontained" >&6; } if test $gl_cv_header_netinet_in_h_selfcontained = yes; then GL_GENERATE_NETINET_IN_H=false else GL_GENERATE_NETINET_IN_H=true ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" if test "x$ac_cv_header_netinet_in_h" = xyes then : printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h fi if test $gl_cv_have_include_next = yes; then gl_cv_next_netinet_in_h='<'netinet/in.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_netinet_in_h+y} then : printf %s "(cached) " >&6 else case e in #( e) if test $ac_cv_header_netinet_in_h = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'netinet/in.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_netinet_in_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_netinet_in_h gl_cv_next_netinet_in_h='"'$gl_header'"' else gl_cv_next_netinet_in_h='<'netinet/in.h'>' fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5 printf "%s\n" "$gl_cv_next_netinet_in_h" >&6; } fi NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'netinet/in.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_netinet_in_h fi NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive if test $ac_cv_header_netinet_in_h = yes; then HAVE_NETINET_IN_H=1 else HAVE_NETINET_IN_H=0 fi fi case "$GL_GENERATE_NETINET_IN_H" in false) NETINET_IN_H='' ;; true) if test -z "$NETINET_IN_H"; then NETINET_IN_H="${gl_source_base_prefix}netinet/in.h" fi ;; *) echo "*** GL_GENERATE_NETINET_IN_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_NETINET_IN_H; then GL_GENERATE_NETINET_IN_H_TRUE= GL_GENERATE_NETINET_IN_H_FALSE='#' else GL_GENERATE_NETINET_IN_H_TRUE='#' GL_GENERATE_NETINET_IN_H_FALSE= fi : if test -z "${GL_GENERATE_NETINET_IN_H_TRUE}" && test -z "${GL_GENERATE_NETINET_IN_H_FALSE}"; then GL_GENERATE_NETINET_IN_H_TRUE='#' GL_GENERATE_NETINET_IN_H_FALSE='#' fi case "$host_os" in mingw* | windows* | pw*) REPLACE_OPEN=1 ;; *) if test "$gl_cv_macro_O_CLOEXEC" != yes; then REPLACE_OPEN=1 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5 printf %s "checking whether open recognizes a trailing slash... " >&6; } if test ${gl_cv_func_open_slash+y} then : printf %s "(cached) " >&6 else case e in #( e) # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then touch conftest.tmp ln -s conftest.tmp conftest.lnk fi if test "$cross_compiling" = yes then : case "$host_os" in freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) gl_cv_func_open_slash="guessing no" ;; *) gl_cv_func_open_slash="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_UNISTD_H # include #endif $gl_mda_defines int main () { int result = 0; #if HAVE_LSTAT if (open ("conftest.lnk/", O_RDONLY) != -1) result |= 1; #endif if (open ("conftest.sl/", O_CREAT, 0600) >= 0) result |= 2; return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_open_slash=yes else case e in #( e) gl_cv_func_open_slash=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.sl conftest.tmp conftest.lnk ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5 printf "%s\n" "$gl_cv_func_open_slash" >&6; } case "$gl_cv_func_open_slash" in *no) printf "%s\n" "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h ;; esac case "$gl_cv_func_open_slash" in *no) REPLACE_OPEN=1 ;; esac ;; esac if test $REPLACE_OPEN = 1; then GL_COND_OBJ_OPEN_TRUE= GL_COND_OBJ_OPEN_FALSE='#' else GL_COND_OBJ_OPEN_TRUE='#' GL_COND_OBJ_OPEN_FALSE= fi : if test -z "${GL_COND_OBJ_OPEN_TRUE}" && test -z "${GL_COND_OBJ_OPEN_FALSE}"; then GL_COND_OBJ_OPEN_TRUE='#' GL_COND_OBJ_OPEN_FALSE='#' fi if test -z "$GL_COND_OBJ_OPEN_TRUE"; then : : fi GL_GNULIB_OPEN=1 printf "%s\n" "#define GNULIB_TEST_OPEN 1" >>confdefs.h if test $ac_cv_func_pclose = no; then HAVE_PCLOSE=0 fi if test $HAVE_PCLOSE = 0; then GL_COND_OBJ_PCLOSE_TRUE= GL_COND_OBJ_PCLOSE_FALSE='#' else GL_COND_OBJ_PCLOSE_TRUE='#' GL_COND_OBJ_PCLOSE_FALSE= fi : if test -z "${GL_COND_OBJ_PCLOSE_TRUE}" && test -z "${GL_COND_OBJ_PCLOSE_FALSE}"; then GL_COND_OBJ_PCLOSE_TRUE='#' GL_COND_OBJ_PCLOSE_FALSE='#' fi if test -z "$GL_COND_OBJ_PCLOSE_TRUE"; then : : fi GL_GNULIB_PCLOSE=1 printf "%s\n" "#define GNULIB_TEST_PCLOSE 1" >>confdefs.h # Extract the first word of "pmccabe", so it can be a program name with args. set dummy pmccabe; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PMCCABE+y} then : printf %s "(cached) " >&6 else case e in #( e) case $PMCCABE in [\\/]* | ?:[\\/]*) ac_cv_path_PMCCABE="$PMCCABE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_PMCCABE="$as_dir$ac_word$ac_exec_ext" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PMCCABE" && ac_cv_path_PMCCABE="false" ;; esac ;; esac fi PMCCABE=$ac_cv_path_PMCCABE if test -n "$PMCCABE"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMCCABE" >&5 printf "%s\n" "$PMCCABE" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test $ac_cv_func_popen = no; then HAVE_POPEN=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether popen works with closed stdin" >&5 printf %s "checking whether popen works with closed stdin... " >&6; } if test ${gl_cv_func_popen_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in os2*) # On OS/2 kLIBC, popen() with closed stdios hangs on. gl_cv_func_popen_works="guessing no" ;; *) if test "$cross_compiling" = yes then : case "$host_os" in # For now, only cygwin 1.5 or older is known to be broken. cygwin*) gl_cv_func_popen_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_popen_works="guessing yes" ;; *) gl_cv_func_popen_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int result = 0; FILE *child; fclose (stdin); fclose (stdout); child = popen ("echo a", "r"); if (fgetc (child) != 'a') result |= 1; if (pclose (child) != 0) result |= 2; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_popen_works=yes else case e in #( e) gl_cv_func_popen_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_popen_works" >&5 printf "%s\n" "$gl_cv_func_popen_works" >&6; } case "$gl_cv_func_popen_works" in *yes) ;; *) REPLACE_POPEN=1 ;; esac fi if test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1; then GL_COND_OBJ_POPEN_TRUE= GL_COND_OBJ_POPEN_FALSE='#' else GL_COND_OBJ_POPEN_TRUE='#' GL_COND_OBJ_POPEN_FALSE= fi : if test -z "${GL_COND_OBJ_POPEN_TRUE}" && test -z "${GL_COND_OBJ_POPEN_FALSE}"; then GL_COND_OBJ_POPEN_TRUE='#' GL_COND_OBJ_POPEN_FALSE='#' fi if test -z "$GL_COND_OBJ_POPEN_TRUE"; then : : fi GL_GNULIB_POPEN=1 printf "%s\n" "#define GNULIB_TEST_POPEN 1" >>confdefs.h ac_fn_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_program_invocation_name" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl" >>confdefs.h XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'" XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_CREATE_DETACHED" >&5 printf %s "checking for PTHREAD_CREATE_DETACHED... " >&6; } if test ${gl_cv_const_PTHREAD_CREATE_DETACHED+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_CREATE_DETACHED; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_const_PTHREAD_CREATE_DETACHED=yes else case e in #( e) gl_cv_const_PTHREAD_CREATE_DETACHED=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_CREATE_DETACHED" >&5 printf "%s\n" "$gl_cv_const_PTHREAD_CREATE_DETACHED" >&6; } if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then HAVE_PTHREAD_CREATE_DETACHED=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_RECURSIVE" >&5 printf %s "checking for PTHREAD_MUTEX_RECURSIVE... " >&6; } if test ${gl_cv_const_PTHREAD_MUTEX_RECURSIVE+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_MUTEX_RECURSIVE; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes else case e in #( e) gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&5 printf "%s\n" "$gl_cv_const_PTHREAD_MUTEX_RECURSIVE" >&6; } if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then HAVE_PTHREAD_MUTEX_RECURSIVE=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_MUTEX_ROBUST" >&5 printf %s "checking for PTHREAD_MUTEX_ROBUST... " >&6; } if test ${gl_cv_const_PTHREAD_MUTEX_ROBUST+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_MUTEX_ROBUST; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_const_PTHREAD_MUTEX_ROBUST=yes else case e in #( e) gl_cv_const_PTHREAD_MUTEX_ROBUST=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_MUTEX_ROBUST" >&5 printf "%s\n" "$gl_cv_const_PTHREAD_MUTEX_ROBUST" >&6; } if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then HAVE_PTHREAD_MUTEX_ROBUST=0 fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PROCESS_SHARED" >&5 printf %s "checking for PTHREAD_PROCESS_SHARED... " >&6; } if test ${gl_cv_const_PTHREAD_PROCESS_SHARED+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int x = PTHREAD_PROCESS_SHARED; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_const_PTHREAD_PROCESS_SHARED=yes else case e in #( e) gl_cv_const_PTHREAD_PROCESS_SHARED=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_const_PTHREAD_PROCESS_SHARED" >&5 printf "%s\n" "$gl_cv_const_PTHREAD_PROCESS_SHARED" >&6; } if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then HAVE_PTHREAD_PROCESS_SHARED=0 fi LIB_PTHREAD="$LIBPMULTITHREAD" if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then REPLACE_PTHREAD_ONCE=1 else if test $HAVE_PTHREAD_H = 0; then HAVE_PTHREAD_ONCE=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_once works" >&5 printf %s "checking whether pthread_once works... " >&6; } if test ${gl_cv_func_pthread_once_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in cygwin*) gl_cv_func_pthread_once_works="guessing no" ;; *) gl_cv_func_pthread_once_works="yes" ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_pthread_once_works" >&5 printf "%s\n" "$gl_cv_func_pthread_once_works" >&6; } case "$gl_cv_func_pthread_once_works" in *yes) ;; *) REPLACE_PTHREAD_ONCE=1 ;; esac fi fi if test $HAVE_PTHREAD_ONCE = 0 || test $REPLACE_PTHREAD_ONCE = 1; then GL_COND_OBJ_PTHREAD_ONCE_TRUE= GL_COND_OBJ_PTHREAD_ONCE_FALSE='#' else GL_COND_OBJ_PTHREAD_ONCE_TRUE='#' GL_COND_OBJ_PTHREAD_ONCE_FALSE= fi : if test -z "${GL_COND_OBJ_PTHREAD_ONCE_TRUE}" && test -z "${GL_COND_OBJ_PTHREAD_ONCE_FALSE}"; then GL_COND_OBJ_PTHREAD_ONCE_TRUE='#' GL_COND_OBJ_PTHREAD_ONCE_FALSE='#' fi GL_GNULIB_PTHREAD_ONCE=1 printf "%s\n" "#define GNULIB_TEST_PTHREAD_ONCE 1" >>confdefs.h : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for random" >&5 printf %s "checking for random... " >&6; } if test ${gl_cv_func_random+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { return random() == 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_random=yes else case e in #( e) gl_cv_func_random=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_random" >&5 printf "%s\n" "$gl_cv_func_random" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initstate" >&5 printf %s "checking for initstate... " >&6; } if test ${gl_cv_onwards_func_initstate+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "initstate" "ac_cv_have_decl_initstate" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_initstate" = xyes then : fi if test $ac_cv_have_decl_initstate = yes; then ac_fn_c_check_func "$LINENO" "initstate" "ac_cv_func_initstate" if test "x$ac_cv_func_initstate" = xyes then : fi if test $ac_cv_func_initstate = yes; then gl_cv_onwards_func_initstate=yes else gl_cv_onwards_func_initstate='future OS version' fi else gl_cv_onwards_func_initstate='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "initstate" "ac_cv_func_initstate" if test "x$ac_cv_func_initstate" = xyes then : fi gl_cv_onwards_func_initstate=$ac_cv_func_initstate ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_initstate" >&5 printf "%s\n" "$gl_cv_onwards_func_initstate" >&6; } case "$gl_cv_onwards_func_initstate" in future*) ac_cv_func_initstate=no ;; *) ac_cv_func_initstate=$gl_cv_onwards_func_initstate ;; esac if test $ac_cv_func_initstate = yes; then printf "%s\n" "#define HAVE_INITSTATE 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setstate" >&5 printf %s "checking for setstate... " >&6; } if test ${gl_cv_onwards_func_setstate+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "setstate" "ac_cv_have_decl_setstate" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_setstate" = xyes then : fi if test $ac_cv_have_decl_setstate = yes; then ac_fn_c_check_func "$LINENO" "setstate" "ac_cv_func_setstate" if test "x$ac_cv_func_setstate" = xyes then : fi if test $ac_cv_func_setstate = yes; then gl_cv_onwards_func_setstate=yes else gl_cv_onwards_func_setstate='future OS version' fi else gl_cv_onwards_func_setstate='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "setstate" "ac_cv_func_setstate" if test "x$ac_cv_func_setstate" = xyes then : fi gl_cv_onwards_func_setstate=$ac_cv_func_setstate ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_setstate" >&5 printf "%s\n" "$gl_cv_onwards_func_setstate" >&6; } case "$gl_cv_onwards_func_setstate" in future*) ac_cv_func_setstate=no ;; *) ac_cv_func_setstate=$gl_cv_onwards_func_setstate ;; esac if test $ac_cv_func_setstate = yes; then printf "%s\n" "#define HAVE_SETSTATE 1" >>confdefs.h fi if test $gl_cv_func_random = no; then HAVE_RANDOM=0 HAVE_INITSTATE=0 HAVE_SETSTATE=0 else if test $ac_cv_func_initstate = no; then HAVE_INITSTATE=0 fi if test $ac_cv_func_setstate = no; then HAVE_SETSTATE=0 fi fi if test $HAVE_INITSTATE = 0; then case "$gl_cv_onwards_func_initstate" in future*) REPLACE_INITSTATE=1 ;; esac fi if test $HAVE_SETSTATE = 0; then case "$gl_cv_onwards_func_setstate" in future*) REPLACE_SETSTATE=1 ;; esac fi if test $ac_cv_func_initstate = no || test $ac_cv_func_setstate = no \ || case "$host_os" in \ darwin* | freebsd* | solaris* | cygwin* | haiku*) true ;; \ *) false ;; \ esac then REPLACE_RANDOM=1 if test $ac_cv_func_initstate = yes; then REPLACE_INITSTATE=1 fi if test $ac_cv_func_setstate = yes; then REPLACE_SETSTATE=1 fi fi if test $ac_cv_have_decl_initstate = no; then HAVE_DECL_INITSTATE=0 fi if test $ac_cv_have_decl_setstate = no; then HAVE_DECL_SETSTATE=0 fi if test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1; then GL_COND_OBJ_RANDOM_TRUE= GL_COND_OBJ_RANDOM_FALSE='#' else GL_COND_OBJ_RANDOM_TRUE='#' GL_COND_OBJ_RANDOM_FALSE= fi : if test -z "${GL_COND_OBJ_RANDOM_TRUE}" && test -z "${GL_COND_OBJ_RANDOM_FALSE}"; then GL_COND_OBJ_RANDOM_TRUE='#' GL_COND_OBJ_RANDOM_FALSE='#' fi if test -z "$GL_COND_OBJ_RANDOM_TRUE"; then : : fi GL_GNULIB_RANDOM=1 printf "%s\n" "#define GNULIB_TEST_RANDOM 1" >>confdefs.h ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default " if test "x$ac_cv_header_random_h" = xyes then : printf "%s\n" "#define HAVE_RANDOM_H 1" >>confdefs.h fi if test $ac_cv_header_random_h = no; then HAVE_RANDOM_H=0 fi ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include #if HAVE_RANDOM_H # include #endif " if test "x$ac_cv_type_struct_random_data" = xyes then : printf "%s\n" "#define HAVE_STRUCT_RANDOM_DATA 1" >>confdefs.h else case e in #( e) HAVE_STRUCT_RANDOM_DATA=0 ;; esac fi case "$host_os" in aix* | osf*) REPLACE_RANDOM_R=1 ;; *) ac_fn_c_check_func "$LINENO" "random_r" "ac_cv_func_random_r" if test "x$ac_cv_func_random_r" = xyes then : printf "%s\n" "#define HAVE_RANDOM_R 1" >>confdefs.h fi if test $ac_cv_func_random_r = no; then HAVE_RANDOM_R=0 fi ;; esac if test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1; then GL_COND_OBJ_RANDOM_R_TRUE= GL_COND_OBJ_RANDOM_R_FALSE='#' else GL_COND_OBJ_RANDOM_R_TRUE='#' GL_COND_OBJ_RANDOM_R_FALSE= fi : if test -z "${GL_COND_OBJ_RANDOM_R_TRUE}" && test -z "${GL_COND_OBJ_RANDOM_R_FALSE}"; then GL_COND_OBJ_RANDOM_R_TRUE='#' GL_COND_OBJ_RANDOM_R_FALSE='#' fi if test -z "$GL_COND_OBJ_RANDOM_R_TRUE"; then : : fi GL_GNULIB_RANDOM_R=1 printf "%s\n" "#define GNULIB_TEST_RANDOM_R 1" >>confdefs.h if test "$gl_cv_func_realloc_sanitize" != no; then REPLACE_REALLOC_FOR_REALLOC_POSIX=1 printf "%s\n" "#define NEED_SANITIZED_REALLOC 1" >>confdefs.h else REPLACE_REALLOC_FOR_REALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether realloc (..., 0) returns nonnull" >&5 printf %s "checking whether realloc (..., 0) returns nonnull... " >&6; } if test ${gl_cv_func_realloc_0_nonnull+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case $host_os in #( # Guess yes on platforms where we know the result. freebsd* | netbsd* | openbsd* | darwin* | bitrig* \ | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin*) : gl_cv_func_realloc_0_nonnull="guessing yes" ;; #( *) : # Guess as follows if we don't know. gl_cv_func_realloc_0_nonnull=$gl_cross_guess_normal ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Use prealloc to test; "volatile" prevents the compiler from optimizing the realloc call away. */ void *(*volatile prealloc) (void *, size_t) = realloc; int main (void) { void *p = prealloc (0, 0); int result = !p; p = prealloc (p, 0); result |= !p; free (p); return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_realloc_0_nonnull=yes else case e in #( e) gl_cv_func_realloc_0_nonnull=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realloc_0_nonnull" >&5 printf "%s\n" "$gl_cv_func_realloc_0_nonnull" >&6; } case $gl_cv_func_realloc_0_nonnull in #( *yes) : printf "%s\n" "#define HAVE_REALLOC_0_NONNULL 1" >>confdefs.h ;; #( *) : case $gl_cv_func_realloc_sanitize,$gl_cv_malloc_ptrdiff,$gl_cv_func_malloc_posix,$host in #( yes,*,*,* | *,no,*,* | *,*,*no,* | *,*,*,aarch64c-*-freebsd*) : REPLACE_REALLOC_FOR_REALLOC_POSIX=1 ;; #( *) : # Optimize for common case of glibc 2.1.1+ and compatibles. REPLACE_REALLOC_FOR_REALLOC_POSIX=2 ;; esac ;; esac if test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0; then GL_COND_OBJ_REALLOC_POSIX_TRUE= GL_COND_OBJ_REALLOC_POSIX_FALSE='#' else GL_COND_OBJ_REALLOC_POSIX_TRUE='#' GL_COND_OBJ_REALLOC_POSIX_FALSE= fi : if test -z "${GL_COND_OBJ_REALLOC_POSIX_TRUE}" && test -z "${GL_COND_OBJ_REALLOC_POSIX_FALSE}"; then GL_COND_OBJ_REALLOC_POSIX_TRUE='#' GL_COND_OBJ_REALLOC_POSIX_FALSE='#' fi GL_GNULIB_REALLOC_POSIX=1 printf "%s\n" "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for reallocarray" >&5 printf %s "checking for reallocarray... " >&6; } if test ${gl_cv_onwards_func_reallocarray+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_reallocarray" = xyes then : fi if test $ac_cv_have_decl_reallocarray = yes; then ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray" if test "x$ac_cv_func_reallocarray" = xyes then : fi if test $ac_cv_func_reallocarray = yes; then gl_cv_onwards_func_reallocarray=yes else gl_cv_onwards_func_reallocarray='future OS version' fi else gl_cv_onwards_func_reallocarray='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray" if test "x$ac_cv_func_reallocarray" = xyes then : fi gl_cv_onwards_func_reallocarray=$ac_cv_func_reallocarray ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_reallocarray" >&5 printf "%s\n" "$gl_cv_onwards_func_reallocarray" >&6; } case "$gl_cv_onwards_func_reallocarray" in future*) ac_cv_func_reallocarray=no ;; *) ac_cv_func_reallocarray=$gl_cv_onwards_func_reallocarray ;; esac if test $ac_cv_func_reallocarray = yes; then printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h fi if test "$ac_cv_func_reallocarray" = no; then HAVE_REALLOCARRAY=0 case "$gl_cv_onwards_func_reallocarray" in future*) REPLACE_REALLOCARRAY=1 ;; esac else if test "$gl_cv_malloc_ptrdiff" = no; then REPLACE_REALLOCARRAY=1 fi case "$gl_cv_func_realloc_0_nonnull" in *yes) ;; *) REPLACE_REALLOCARRAY=1 ;; esac fi if test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1; then GL_COND_OBJ_REALLOCARRAY_TRUE= GL_COND_OBJ_REALLOCARRAY_FALSE='#' else GL_COND_OBJ_REALLOCARRAY_TRUE='#' GL_COND_OBJ_REALLOCARRAY_FALSE= fi : if test -z "${GL_COND_OBJ_REALLOCARRAY_TRUE}" && test -z "${GL_COND_OBJ_REALLOCARRAY_FALSE}"; then GL_COND_OBJ_REALLOCARRAY_TRUE='#' GL_COND_OBJ_REALLOCARRAY_FALSE='#' fi if test -z "$GL_COND_OBJ_REALLOCARRAY_TRUE"; then : : fi printf "%s\n" "#define GNULIB_REALLOCARRAY 1" >>confdefs.h GL_GNULIB_REALLOCARRAY=1 printf "%s\n" "#define GNULIB_TEST_REALLOCARRAY 1" >>confdefs.h saved_LIBS="$LIBS" ROUND_LIBM=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include extern #ifdef __cplusplus "C" #endif double round (double); double x; int main (void) { x = round (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ROUND_LIBM=$libm break fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext done LIBS="$saved_LIBS" if test "$ROUND_LIBM" != missing; then HAVE_ROUND=1 ac_fn_check_decl "$LINENO" "round" "ac_cv_have_decl_round" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_round" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ROUND $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) HAVE_DECL_ROUND=0 ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether round works" >&5 printf %s "checking whether round works... " >&6; } if test ${gl_cv_func_round_works+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS $ROUND_LIBM" if test "$cross_compiling" = yes then : case "$host_os" in netbsd* | aix*) gl_cv_func_round_works="guessing no" ;; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_round_works="guessing yes" ;; mingw* | windows*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _MSC_VER Known #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Known" >/dev/null 2>&1 then : gl_cv_func_round_works="guessing yes" else case e in #( e) gl_cv_func_round_works="guessing no" ;; esac fi rm -rf conftest* ;; *) gl_cv_func_round_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif double round (double); #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif int main() { /* 2^DBL_MANT_DIG. */ static const double TWO_MANT_DIG = /* Assume DBL_MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (double) (1U << (DBL_MANT_DIG / 5)) * (double) (1U << ((DBL_MANT_DIG + 1) / 5)) * (double) (1U << ((DBL_MANT_DIG + 2) / 5)) * (double) (1U << ((DBL_MANT_DIG + 3) / 5)) * (double) (1U << ((DBL_MANT_DIG + 4) / 5)); volatile double x = 0.5 - 0.5 / TWO_MANT_DIG; return (x < 0.5 && round (x) != 0.0); } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_round_works=yes else case e in #( e) gl_cv_func_round_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_round_works" >&5 printf "%s\n" "$gl_cv_func_round_works" >&6; } case "$gl_cv_func_round_works" in *no) REPLACE_ROUND=1 ;; esac else HAVE_ROUND=0 HAVE_DECL_ROUND=0 fi if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then exec 9>&6 6>/dev/null if test ${gl_cv_func_floor_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_floor_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x; int main (void) { x = funcptr(x) + floor(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floor_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floor_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x; int main (void) { x = funcptr(x) + floor(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floor_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- FLOOR_LIBM="$gl_cv_func_floor_libm" exec 9>&6 6>/dev/null if test ${gl_cv_func_ceil_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_ceil_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x; int main (void) { x = funcptr(x) + ceil(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceil_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_ceil_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x; int main (void) { x = funcptr(x) + ceil(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceil_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- CEIL_LIBM="$gl_cv_func_ceil_libm" ROUND_LIBM= case " $ROUND_LIBM " in *" $FLOOR_LIBM "*) ;; *) ROUND_LIBM="$ROUND_LIBM $FLOOR_LIBM" ;; esac case " $ROUND_LIBM " in *" $CEIL_LIBM "*) ;; *) ROUND_LIBM="$ROUND_LIBM $CEIL_LIBM" ;; esac fi if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then GL_COND_OBJ_ROUND_TRUE= GL_COND_OBJ_ROUND_FALSE='#' else GL_COND_OBJ_ROUND_TRUE='#' GL_COND_OBJ_ROUND_FALSE= fi : if test -z "${GL_COND_OBJ_ROUND_TRUE}" && test -z "${GL_COND_OBJ_ROUND_FALSE}"; then GL_COND_OBJ_ROUND_TRUE='#' GL_COND_OBJ_ROUND_FALSE='#' fi GL_GNULIB_ROUND=1 printf "%s\n" "#define GNULIB_TEST_ROUND 1" >>confdefs.h saved_LIBS="$LIBS" ROUNDL_LIBM=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include extern #ifdef __cplusplus "C" #endif long double roundl (long double); long double x; int main (void) { x = roundl (x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ROUNDL_LIBM=$libm break fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext done LIBS="$saved_LIBS" if test "$ROUNDL_LIBM" != missing; then HAVE_ROUNDL=1 ac_fn_check_decl "$LINENO" "roundl" "ac_cv_have_decl_roundl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_roundl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ROUNDL $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) HAVE_DECL_ROUNDL=0 ;; esac fi else HAVE_ROUNDL=0 HAVE_DECL_ROUNDL=0 fi if test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then ROUNDL_LIBM="$ROUND_LIBM" else ac_fn_check_decl "$LINENO" "ceill" "ac_cv_have_decl_ceill" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_ceill" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_CEILL $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "floorl" "ac_cv_have_decl_floorl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_floorl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_FLOORL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_floorl" = yes \ && test "$ac_cv_have_decl_ceill" = yes; then exec 9>&6 6>/dev/null if test ${gl_cv_func_floorl_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_floorl_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x; int main (void) { x = funcptr (x) + floorl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floorl_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_floorl_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x; int main (void) { x = funcptr (x) + floorl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_floorl_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- FLOORL_LIBM="$gl_cv_func_floorl_libm" exec 9>&6 6>/dev/null if test ${gl_cv_func_ceill_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_func_ceill_libm=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x; int main (void) { x = funcptr(x) + ceill(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceill_libm= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$gl_cv_func_ceill_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x; int main (void) { x = funcptr(x) + ceill(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_ceill_libm="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi ;; esac fi exec 6>&9 9>&- CEILL_LIBM="$gl_cv_func_ceill_libm" if test "$FLOORL_LIBM" != '?' && test "$CEILL_LIBM" != '?'; then printf "%s\n" "#define HAVE_FLOORL_AND_CEILL 1" >>confdefs.h ROUNDL_LIBM= case " $ROUNDL_LIBM " in *" $FLOORL_LIBM "*) ;; *) ROUNDL_LIBM="$ROUNDL_LIBM $FLOORL_LIBM" ;; esac case " $ROUNDL_LIBM " in *" $CEILL_LIBM "*) ;; *) ROUNDL_LIBM="$ROUNDL_LIBM $CEILL_LIBM" ;; esac else ROUNDL_LIBM= fi else ROUNDL_LIBM= fi fi fi if test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then GL_COND_OBJ_ROUNDL_TRUE= GL_COND_OBJ_ROUNDL_FALSE='#' else GL_COND_OBJ_ROUNDL_TRUE='#' GL_COND_OBJ_ROUNDL_FALSE= fi : if test -z "${GL_COND_OBJ_ROUNDL_TRUE}" && test -z "${GL_COND_OBJ_ROUNDL_FALSE}"; then GL_COND_OBJ_ROUNDL_TRUE='#' GL_COND_OBJ_ROUNDL_FALSE='#' fi GL_GNULIB_ROUNDL=1 printf "%s\n" "#define GNULIB_TEST_ROUNDL 1" >>confdefs.h NEED_SETLOCALE_IMPROVED=0 case "$host_os" in mingw* | windows*) NEED_SETLOCALE_IMPROVED=1 ;; *-android*) NEED_SETLOCALE_IMPROVED=1 ;; cygwin*) case `uname -r` in 1.5.*) NEED_SETLOCALE_IMPROVED=1 ;; esac ;; esac printf "%s\n" "#define NEED_SETLOCALE_IMPROVED $NEED_SETLOCALE_IMPROVED" >>confdefs.h NEED_SETLOCALE_MTSAFE=0 if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then NEED_SETLOCALE_MTSAFE=1 fi printf "%s\n" "#define NEED_SETLOCALE_MTSAFE $NEED_SETLOCALE_MTSAFE" >>confdefs.h if test $NEED_SETLOCALE_IMPROVED = 1 || test $NEED_SETLOCALE_MTSAFE = 1; then REPLACE_SETLOCALE=1 fi if test $NEED_SETLOCALE_MTSAFE = 1; then SETLOCALE_LIB="$SETLOCALE_NULL_LIB" else SETLOCALE_LIB= fi LIB_SETLOCALE="$SETLOCALE_LIB" if test $REPLACE_SETLOCALE = 1; then GL_COND_OBJ_SETLOCALE_TRUE= GL_COND_OBJ_SETLOCALE_FALSE='#' else GL_COND_OBJ_SETLOCALE_TRUE='#' GL_COND_OBJ_SETLOCALE_FALSE= fi : if test -z "${GL_COND_OBJ_SETLOCALE_TRUE}" && test -z "${GL_COND_OBJ_SETLOCALE_FALSE}"; then GL_COND_OBJ_SETLOCALE_TRUE='#' GL_COND_OBJ_SETLOCALE_FALSE='#' fi if test -z "$GL_COND_OBJ_SETLOCALE_TRUE"; then : : fi GL_GNULIB_SETLOCALE=1 printf "%s\n" "#define GNULIB_TEST_SETLOCALE 1" >>confdefs.h if case "$host_os" in mingw* | windows* | *-android*) true;; *) false;; esac; then GL_COND_OBJ_SETLOCALE_FIXES_TRUE= GL_COND_OBJ_SETLOCALE_FIXES_FALSE='#' else GL_COND_OBJ_SETLOCALE_FIXES_TRUE='#' GL_COND_OBJ_SETLOCALE_FIXES_FALSE= fi : if test -z "${GL_COND_OBJ_SETLOCALE_FIXES_TRUE}" && test -z "${GL_COND_OBJ_SETLOCALE_FIXES_FALSE}"; then GL_COND_OBJ_SETLOCALE_FIXES_TRUE='#' GL_COND_OBJ_SETLOCALE_FIXES_FALSE='#' fi if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then GL_COND_OBJ_SETLOCALE_LOCK_TRUE= GL_COND_OBJ_SETLOCALE_LOCK_FALSE='#' else GL_COND_OBJ_SETLOCALE_LOCK_TRUE='#' GL_COND_OBJ_SETLOCALE_LOCK_FALSE= fi : if test -z "${GL_COND_OBJ_SETLOCALE_LOCK_TRUE}" && test -z "${GL_COND_OBJ_SETLOCALE_LOCK_FALSE}"; then GL_COND_OBJ_SETLOCALE_LOCK_TRUE='#' GL_COND_OBJ_SETLOCALE_LOCK_FALSE='#' fi if test -z "$GL_COND_OBJ_SETLOCALE_LOCK_TRUE"; then : CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 printf %s "checking whether the -Werror option is usable... " >&6; } if test ${gl_cv_cc_vis_werror+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_cc_vis_werror=yes else case e in #( e) gl_cv_cc_vis_werror=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$gl_saved_CFLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 printf "%s\n" "$gl_cv_cc_vis_werror" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 printf %s "checking for simple visibility declarations... " >&6; } if test ${gl_cv_cc_visibility+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" if test $gl_cv_cc_vis_werror = yes; then CFLAGS="$CFLAGS -Werror" fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); void dummyfunc (void); int hiddenvar; int exportedvar; int hiddenfunc (void) { return 51; } int exportedfunc (void) { return 1225736919; } void dummyfunc (void) {} int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_cc_visibility=yes else case e in #( e) gl_cv_cc_visibility=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$gl_saved_CFLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 printf "%s\n" "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi printf "%s\n" "#define HAVE_VISIBILITY $HAVE_VISIBILITY" >>confdefs.h fi GL_GNULIB_SETLOCALE_NULL=1 printf "%s\n" "#define GNULIB_TEST_SETLOCALE_NULL 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5 printf %s "checking for signbit macro... " >&6; } if test ${gl_cv_func_signbit+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_signbit="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_signbit="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_signbit="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* If signbit is defined as a function, don't use it, since calling it for 'float' or 'long double' arguments would involve conversions. If signbit is not declared at all but exists as a library function, don't use it, since the prototype may not match. If signbit is not declared at all but exists as a compiler built-in, don't use it, since it's preferable to use __builtin_signbit* (no warnings, no conversions). */ #ifndef signbit # error "signbit should be a macro" #endif #include /* Global variables. Needed because GCC 4 constant-folds __builtin_signbitl (literal) but cannot constant-fold __builtin_signbitl (variable). */ float vf; double vd; long double vl; int main () { /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. So we use -p0f and -p0d instead. */ float p0f = 0.0f; float m0f = -p0f; double p0d = 0.0; double m0d = -p0d; /* On HP-UX 10.20, negating 0.0L does not yield -0.0L. So we use another constant expression instead. But that expression does not work on other platforms, such as when cross-compiling to PowerPC on Mac OS X 10.5. */ long double p0l = 0.0L; #if defined __hpux || defined __sgi long double m0l = -LDBL_MIN * LDBL_MIN; #else long double m0l = -p0l; #endif int result = 0; if (signbit (vf)) /* link check */ vf++; { float plus_inf = 1.0f / p0f; float minus_inf = -1.0f / p0f; if (!(!signbit (255.0f) && signbit (-255.0f) && !signbit (p0f) && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) && !signbit (plus_inf) && signbit (minus_inf))) result |= 1; } if (signbit (vd)) /* link check */ vd++; { double plus_inf = 1.0 / p0d; double minus_inf = -1.0 / p0d; if (!(!signbit (255.0) && signbit (-255.0) && !signbit (p0d) && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) && !signbit (plus_inf) && signbit (minus_inf))) result |= 2; } if (signbit (vl)) /* link check */ vl++; { long double plus_inf = 1.0L / p0l; long double minus_inf = -1.0L / p0l; if (signbit (255.0L)) result |= 4; if (!signbit (-255.0L)) result |= 4; if (signbit (p0l)) result |= 8; if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) result |= 16; if (signbit (plus_inf)) result |= 32; if (!signbit (minus_inf)) result |= 64; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_signbit=yes else case e in #( e) gl_cv_func_signbit=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit" >&5 printf "%s\n" "$gl_cv_func_signbit" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5 printf %s "checking for signbit compiler built-ins... " >&6; } if test ${gl_cv_func_signbit_builtins+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_signbit_builtins="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_signbit_builtins="guessing yes" ;; # Guess yes on mingw, no on MSVC. mingw* | windows*) if test -n "$GCC"; then gl_cv_func_signbit_builtins="guessing yes" else gl_cv_func_signbit_builtins="guessing no" fi ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_signbit_builtins="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # define signbit(x) \ (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ __builtin_signbitf (x)) #else # error "signbit should be three compiler built-ins" #endif #include /* Global variables. Needed because GCC 4 constant-folds __builtin_signbitl (literal) but cannot constant-fold __builtin_signbitl (variable). */ float vf; double vd; long double vl; int main () { /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. So we use -p0f and -p0d instead. */ float p0f = 0.0f; float m0f = -p0f; double p0d = 0.0; double m0d = -p0d; /* On HP-UX 10.20, negating 0.0L does not yield -0.0L. So we use another constant expression instead. But that expression does not work on other platforms, such as when cross-compiling to PowerPC on Mac OS X 10.5. */ long double p0l = 0.0L; #if defined __hpux || defined __sgi long double m0l = -LDBL_MIN * LDBL_MIN; #else long double m0l = -p0l; #endif int result = 0; if (signbit (vf)) /* link check */ vf++; { float plus_inf = 1.0f / p0f; float minus_inf = -1.0f / p0f; if (!(!signbit (255.0f) && signbit (-255.0f) && !signbit (p0f) && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) && !signbit (plus_inf) && signbit (minus_inf))) result |= 1; } if (signbit (vd)) /* link check */ vd++; { double plus_inf = 1.0 / p0d; double minus_inf = -1.0 / p0d; if (!(!signbit (255.0) && signbit (-255.0) && !signbit (p0d) && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) && !signbit (plus_inf) && signbit (minus_inf))) result |= 2; } if (signbit (vl)) /* link check */ vl++; { long double plus_inf = 1.0L / p0l; long double minus_inf = -1.0L / p0l; if (signbit (255.0L)) result |= 4; if (!signbit (-255.0L)) result |= 4; if (signbit (p0l)) result |= 8; if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) result |= 16; if (signbit (plus_inf)) result |= 32; if (!signbit (minus_inf)) result |= 64; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_signbit_builtins=yes else case e in #( e) gl_cv_func_signbit_builtins=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit_builtins" >&5 printf "%s\n" "$gl_cv_func_signbit_builtins" >&6; } case "$gl_cv_func_signbit_builtins" in *yes) REPLACE_SIGNBIT_USING_BUILTINS=1 ;; *) case "$gl_cv_func_signbit" in *yes) ;; *) REPLACE_SIGNBIT=1 ;; esac ;; esac case "$host_os" in solaris*) REPLACE_SIGNBIT=1 ;; esac if test $REPLACE_SIGNBIT = 1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5 printf %s "checking where to find the sign bit in a 'float'... " >&6; } if test ${gl_cv_cc_float_signbit+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : gl_cv_cc_float_signbit="unknown" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #define NWORDS \ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { float value; unsigned int word[NWORDS]; } memory_float; static memory_float plus = { 1.0f }; static memory_float minus = { -1.0f }; int main () { size_t j, k, i; unsigned int m; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; /* Find the different bit. */ k = 0; m = 0; for (j = 0; j < NWORDS; j++) { unsigned int x = plus.word[j] ^ minus.word[j]; if ((x & (x - 1)) || (x && m)) { /* More than one bit difference. */ fprintf (fp, "unknown"); fclose (fp); return 2; } if (x) { k = j; m = x; } } if (m == 0) { /* No difference. */ fprintf (fp, "unknown"); fclose (fp); return 3; } /* Now m = plus.word[k] ^ ~minus.word[k]. */ if (plus.word[k] & ~minus.word[k]) { /* Oh? The sign bit is set in the positive and cleared in the negative numbers? */ fprintf (fp, "unknown"); fclose (fp); return 4; } for (i = 0; ; i++) if ((m >> i) & 1) break; fprintf (fp, "word %d bit %d", (int) k, (int) i); if (fclose (fp) != 0) return 5; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_cc_float_signbit=`cat conftest.out` else case e in #( e) gl_cv_cc_float_signbit="unknown" ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.out ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5 printf "%s\n" "$gl_cv_cc_float_signbit" >&6; } case "$gl_cv_cc_float_signbit" in word*bit*) word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'` printf "%s\n" "#define FLT_SIGNBIT_WORD $word" >>confdefs.h printf "%s\n" "#define FLT_SIGNBIT_BIT $bit" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5 printf %s "checking where to find the sign bit in a 'double'... " >&6; } if test ${gl_cv_cc_double_signbit+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : gl_cv_cc_double_signbit="unknown" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_float; static memory_float plus = { 1.0 }; static memory_float minus = { -1.0 }; int main () { size_t j, k, i; unsigned int m; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; /* Find the different bit. */ k = 0; m = 0; for (j = 0; j < NWORDS; j++) { unsigned int x = plus.word[j] ^ minus.word[j]; if ((x & (x - 1)) || (x && m)) { /* More than one bit difference. */ fprintf (fp, "unknown"); fclose (fp); return 2; } if (x) { k = j; m = x; } } if (m == 0) { /* No difference. */ fprintf (fp, "unknown"); fclose (fp); return 3; } /* Now m = plus.word[k] ^ ~minus.word[k]. */ if (plus.word[k] & ~minus.word[k]) { /* Oh? The sign bit is set in the positive and cleared in the negative numbers? */ fprintf (fp, "unknown"); fclose (fp); return 4; } for (i = 0; ; i++) if ((m >> i) & 1) break; fprintf (fp, "word %d bit %d", (int) k, (int) i); if (fclose (fp) != 0) return 5; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_cc_double_signbit=`cat conftest.out` else case e in #( e) gl_cv_cc_double_signbit="unknown" ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.out ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5 printf "%s\n" "$gl_cv_cc_double_signbit" >&6; } case "$gl_cv_cc_double_signbit" in word*bit*) word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'` printf "%s\n" "#define DBL_SIGNBIT_WORD $word" >>confdefs.h printf "%s\n" "#define DBL_SIGNBIT_BIT $bit" >>confdefs.h ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5 printf %s "checking where to find the sign bit in a 'long double'... " >&6; } if test ${gl_cv_cc_long_double_signbit+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : gl_cv_cc_long_double_signbit="unknown" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { long double value; unsigned int word[NWORDS]; } memory_float; static memory_float plus = { 1.0L }; static memory_float minus = { -1.0L }; int main () { size_t j, k, i; unsigned int m; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; /* Find the different bit. */ k = 0; m = 0; for (j = 0; j < NWORDS; j++) { unsigned int x = plus.word[j] ^ minus.word[j]; if ((x & (x - 1)) || (x && m)) { /* More than one bit difference. */ fprintf (fp, "unknown"); fclose (fp); return 2; } if (x) { k = j; m = x; } } if (m == 0) { /* No difference. */ fprintf (fp, "unknown"); fclose (fp); return 3; } /* Now m = plus.word[k] ^ ~minus.word[k]. */ if (plus.word[k] & ~minus.word[k]) { /* Oh? The sign bit is set in the positive and cleared in the negative numbers? */ fprintf (fp, "unknown"); fclose (fp); return 4; } for (i = 0; ; i++) if ((m >> i) & 1) break; fprintf (fp, "word %d bit %d", (int) k, (int) i); if (fclose (fp) != 0) return 5; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_cc_long_double_signbit=`cat conftest.out` else case e in #( e) gl_cv_cc_long_double_signbit="unknown" ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.out ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5 printf "%s\n" "$gl_cv_cc_long_double_signbit" >&6; } case "$gl_cv_cc_long_double_signbit" in word*bit*) word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'` printf "%s\n" "#define LDBL_SIGNBIT_WORD $word" >>confdefs.h printf "%s\n" "#define LDBL_SIGNBIT_BIT $bit" >>confdefs.h ;; esac if test "$gl_cv_cc_float_signbit" = unknown; then ac_fn_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_copysignf" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_COPYSIGNF $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_copysignf" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5 printf %s "checking whether copysignf can be used without linking with libm... " >&6; } if test ${gl_cv_func_copysignf_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include float x, y; int main (void) { return copysignf (x, y) < 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_copysignf_no_libm=yes else case e in #( e) gl_cv_func_copysignf_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5 printf "%s\n" "$gl_cv_func_copysignf_no_libm" >&6; } if test $gl_cv_func_copysignf_no_libm = yes; then printf "%s\n" "#define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h fi fi fi if test "$gl_cv_cc_double_signbit" = unknown; then ac_fn_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_copysign" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_COPYSIGN $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_copysign" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5 printf %s "checking whether copysign can be used without linking with libm... " >&6; } if test ${gl_cv_func_copysign_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include double x, y; int main (void) { return copysign (x, y) < 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_copysign_no_libm=yes else case e in #( e) gl_cv_func_copysign_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5 printf "%s\n" "$gl_cv_func_copysign_no_libm" >&6; } if test $gl_cv_func_copysign_no_libm = yes; then printf "%s\n" "#define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h fi fi fi if test "$gl_cv_cc_long_double_signbit" = unknown; then ac_fn_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_copysignl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_COPYSIGNL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_copysignl" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5 printf %s "checking whether copysignl can be used without linking with libm... " >&6; } if test ${gl_cv_func_copysignl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x, y; int main (void) { return copysignl (x, y) < 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_copysignl_no_libm=yes else case e in #( e) gl_cv_func_copysignl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5 printf "%s\n" "$gl_cv_func_copysignl_no_libm" >&6; } if test $gl_cv_func_copysignl_no_libm = yes; then printf "%s\n" "#define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h fi fi fi fi if test $REPLACE_SIGNBIT = 1; then GL_COND_OBJ_SIGNBIT3_TRUE= GL_COND_OBJ_SIGNBIT3_FALSE='#' else GL_COND_OBJ_SIGNBIT3_TRUE='#' GL_COND_OBJ_SIGNBIT3_FALSE= fi : if test -z "${GL_COND_OBJ_SIGNBIT3_TRUE}" && test -z "${GL_COND_OBJ_SIGNBIT3_FALSE}"; then GL_COND_OBJ_SIGNBIT3_TRUE='#' GL_COND_OBJ_SIGNBIT3_FALSE='#' fi GL_GNULIB_SIGNBIT=1 printf "%s\n" "#define GNULIB_TEST_SIGNBIT 1" >>confdefs.h ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes then : printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 printf %s "checking for SIZE_MAX... " >&6; } if test ${gl_cv_size_max+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_cv_size_max=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Found it" >/dev/null 2>&1 then : gl_cv_size_max=yes fi rm -rf conftest* if test $gl_cv_size_max != yes; then if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include #include " then : else case e in #( e) size_t_bits_minus_1= ;; esac fi if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include " then : else case e in #( e) fits_in_uint= ;; esac fi if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern size_t foo; extern unsigned long foo; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : fits_in_uint=0 fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else gl_cv_size_max='((size_t)~(size_t)0)' fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 printf "%s\n" "$gl_cv_size_max" >&6; } if test "$gl_cv_size_max" != yes; then printf "%s\n" "#define SIZE_MAX $gl_cv_size_max" >>confdefs.h fi gl_cv_func_snprintf_usable=no ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" if test "x$ac_cv_func_snprintf" = xyes then : printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h fi if test $ac_cv_func_snprintf = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 printf %s "checking whether snprintf respects a size of 1... " >&6; } if test ${gl_cv_func_snprintf_size1+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_snprintf_size1="guessing yes" ;; *) gl_cv_func_snprintf_size1="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_snprintf_size1=yes else case e in #( e) gl_cv_func_snprintf_size1=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 printf "%s\n" "$gl_cv_func_snprintf_size1" >&6; } case "$gl_cv_func_snprintf_size1" in *yes) case "$gl_cv_func_snprintf_retval_c99" in *yes) case "$gl_cv_func_printf_positions" in *yes) gl_cv_func_snprintf_usable=yes ;; esac ;; esac ;; esac fi if test $gl_cv_func_snprintf_usable = no; then gl_LIBOBJS="$gl_LIBOBJS snprintf.$ac_objext" if test $ac_cv_func_snprintf = yes; then REPLACE_SNPRINTF=1 else if test $ac_cv_have_decl_snprintf = yes; then REPLACE_SNPRINTF=1 fi fi : fi if test $ac_cv_have_decl_snprintf = no; then HAVE_DECL_SNPRINTF=0 fi GL_GNULIB_SNPRINTF=1 printf "%s\n" "#define GNULIB_TEST_SNPRINTF 1" >>confdefs.h printf "%s\n" "#define GNULIB_SNPRINTF 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #if HAVE_SYS_SOCKET_H # include #elif HAVE_WS2TCPIP_H # include #endif " if test "x$ac_cv_type_socklen_t" = xyes then : else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 printf %s "checking for socklen_t equivalent... " >&6; } if test ${gl_cv_socklen_t_equiv+y} then : printf %s "(cached) " >&6 else case e in #( e) # Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t "unsigned int" "long int" "unsigned long int"; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int getpeername (int, $arg2 *, $t *); int main (void) { $t len; getpeername (0, 0, &len); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_socklen_t_equiv="$t" fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break done if test "$gl_cv_socklen_t_equiv" = ""; then as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5 fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5 printf "%s\n" "$gl_cv_socklen_t_equiv" >&6; } printf "%s\n" "#define socklen_t $gl_cv_socklen_t_equiv" >>confdefs.h ;; esac fi SQRT_LIBM="$POW_LIBM" SQRTL_LIBM= { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sqrtl() can be used without linking with libm" >&5 printf %s "checking whether sqrtl() can be used without linking with libm... " >&6; } if test ${gl_cv_func_sqrtl_no_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = sqrtl; long double x; int main (void) { return funcptr (x) > 0.4 || sqrtl (x) > 0.4; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_sqrtl_no_libm=yes else case e in #( e) gl_cv_func_sqrtl_no_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sqrtl_no_libm" >&5 printf "%s\n" "$gl_cv_func_sqrtl_no_libm" >&6; } if test $gl_cv_func_sqrtl_no_libm = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sqrtl() can be used with libm" >&5 printf %s "checking whether sqrtl() can be used with libm... " >&6; } if test ${gl_cv_func_sqrtl_in_libm+y} then : printf %s "(cached) " >&6 else case e in #( e) saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = sqrtl; long double x; int main (void) { return funcptr (x) > 0.4 || sqrtl (x) > 0.4; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_func_sqrtl_in_libm=yes else case e in #( e) gl_cv_func_sqrtl_in_libm=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sqrtl_in_libm" >&5 printf "%s\n" "$gl_cv_func_sqrtl_in_libm" >&6; } if test $gl_cv_func_sqrtl_in_libm = yes; then SQRTL_LIBM=-lm fi fi if test $gl_cv_func_sqrtl_no_libm = yes \ || test $gl_cv_func_sqrtl_in_libm = yes; then ac_fn_check_decl "$LINENO" "sqrtl" "ac_cv_have_decl_sqrtl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_sqrtl" = xyes then : else case e in #( e) HAVE_DECL_SQRTL=0 ;; esac fi saved_LIBS="$LIBS" LIBS="$LIBS $SQRTL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sqrtl works" >&5 printf %s "checking whether sqrtl works... " >&6; } if test ${gl_cv_func_sqrtl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in openbsd*) gl_cv_func_sqrtl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_sqrtl_works="guessing yes" ;; *) gl_cv_func_sqrtl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef sqrtl /* for AIX */ extern #ifdef __cplusplus "C" #endif long double sqrtl (long double); #endif static long double my_ldexpl (long double x, int d) { for (; d > 0; d--) x *= 2.0L; for (; d < 0; d++) x *= 0.5L; return x; } volatile long double x; volatile long double y; long double z; int main () { x = 8.1974099812331540680810141969554806865L; y = sqrtl (x); z = y * y - x; z = my_ldexpl (z, LDBL_MANT_DIG); if (z < 0) z = - z; if (z > 100.0L) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_sqrtl_works=yes else case e in #( e) gl_cv_func_sqrtl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sqrtl_works" >&5 printf "%s\n" "$gl_cv_func_sqrtl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_sqrtl_works" in *yes) ;; *) REPLACE_SQRTL=1 ;; esac else HAVE_DECL_SQRTL=0 HAVE_SQRTL=0 fi if test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then SQRTL_LIBM="$SQRT_LIBM" else case " $SQRTL_LIBM " in *" $ISNANL_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $ISNANL_LIBM" ;; esac case " $SQRTL_LIBM " in *" $FREXPL_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $FREXPL_LIBM" ;; esac case " $SQRTL_LIBM " in *" $LDEXPL_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $LDEXPL_LIBM" ;; esac case " $SQRTL_LIBM " in *" $SQRT_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $SQRT_LIBM" ;; esac fi fi if test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; then GL_COND_OBJ_SQRTL_TRUE= GL_COND_OBJ_SQRTL_FALSE='#' else GL_COND_OBJ_SQRTL_TRUE='#' GL_COND_OBJ_SQRTL_FALSE= fi : if test -z "${GL_COND_OBJ_SQRTL_TRUE}" && test -z "${GL_COND_OBJ_SQRTL_FALSE}"; then GL_COND_OBJ_SQRTL_TRUE='#' GL_COND_OBJ_SQRTL_FALSE='#' fi GL_GNULIB_SQRTL=1 printf "%s\n" "#define GNULIB_TEST_SQRTL 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 printf %s "checking for ssize_t... " >&6; } if test ${gl_cv_ssize_t+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_ssize_t=yes else case e in #( e) gl_cv_ssize_t=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ssize_t" >&5 printf "%s\n" "$gl_cv_ssize_t" >&6; } if test $gl_cv_ssize_t = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether size_t is wider than 'long'" >&5 printf %s "checking whether size_t is wider than 'long'... " >&6; } if test ${gl_cv_size_t_large+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include typedef int array [2 * (sizeof (size_t) > sizeof (long)) - 1]; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_size_t_large=yes else case e in #( e) gl_cv_size_t_large=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_t_large" >&5 printf "%s\n" "$gl_cv_size_t_large" >&6; } if test $gl_cv_size_t_large = yes; then gl_def_ssize_t='long long' else gl_def_ssize_t='long' fi printf "%s\n" "#define ssize_t $gl_def_ssize_t" >>confdefs.h fi case "$host_os" in mingw* | windows*) REPLACE_STAT=1 ;; *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 printf %s "checking whether stat handles trailing slashes on files... " >&6; } if test ${gl_cv_func_stat_file_slash+y} then : printf %s "(cached) " >&6 else case e in #( e) touch conftest.tmp # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then ln -s conftest.tmp conftest.lnk fi if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on systems that emulate the Linux system calls. midipix*) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_stat_file_slash="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int result = 0; struct stat st; if (!stat ("conftest.tmp/", &st)) result |= 1; #if HAVE_LSTAT if (!stat ("conftest.lnk/", &st)) result |= 2; #endif return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_stat_file_slash=yes else case e in #( e) gl_cv_func_stat_file_slash=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f conftest.tmp conftest.lnk ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5 printf "%s\n" "$gl_cv_func_stat_file_slash" >&6; } case $gl_cv_func_stat_file_slash in *no) REPLACE_STAT=1 printf "%s\n" "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h ;; esac case $host_os in darwin* | solaris*) REPLACE_FSTAT=1 ;; esac ;; esac if test $REPLACE_STAT = 1; then GL_COND_OBJ_STAT_TRUE= GL_COND_OBJ_STAT_FALSE='#' else GL_COND_OBJ_STAT_TRUE='#' GL_COND_OBJ_STAT_FALSE= fi : if test -z "${GL_COND_OBJ_STAT_TRUE}" && test -z "${GL_COND_OBJ_STAT_FALSE}"; then GL_COND_OBJ_STAT_TRUE='#' GL_COND_OBJ_STAT_FALSE='#' fi if test -z "$GL_COND_OBJ_STAT_TRUE"; then : case "$host_os" in mingw* | windows*) gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext" ;; esac : fi GL_GNULIB_STAT=1 printf "%s\n" "#define GNULIB_TEST_STAT 1" >>confdefs.h printf "%s\n" "#define GNULIB_STAT 1" >>confdefs.h ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5 printf %s "checking whether struct stat.st_atim is of type struct timespec... " >&6; } if test ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_SYS_TIME_H # include #endif #include struct timespec ts; struct stat st; int main (void) { st.st_atim = ts; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes else case e in #( e) ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5 printf "%s\n" "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; } if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then printf "%s\n" "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h fi else case e in #( e) ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1" >>confdefs.h else case e in #( e) ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMENSEC 1" >>confdefs.h else case e in #( e) ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1" >>confdefs.h fi ;; esac fi ;; esac fi ;; esac fi ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1" >>confdefs.h else case e in #( e) ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1" >>confdefs.h else case e in #( e) ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include #include " if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1" >>confdefs.h fi ;; esac fi ;; esac fi GL_GENERATE_STDARG_H=false NEXT_STDARG_H='' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 printf %s "checking for va_copy... " >&6; } if test ${gl_cv_func_va_copy+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #ifndef va_copy void (*func) (va_list, va_list) = va_copy; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func_va_copy=yes else case e in #( e) gl_cv_func_va_copy=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5 printf "%s\n" "$gl_cv_func_va_copy" >&6; } if test $gl_cv_func_va_copy = no; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _AIX && !defined __GNUC__ AIX vaccine #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "vaccine" >/dev/null 2>&1 then : gl_aixcc=yes else case e in #( e) gl_aixcc=no ;; esac fi rm -rf conftest* if test $gl_aixcc = yes; then GL_GENERATE_STDARG_H=true if test $gl_cv_have_include_next = yes; then gl_cv_next_stdarg_h='<'stdarg.h'>' else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 printf %s "checking absolute name of ... " >&6; } if test ${gl_cv_next_stdarg_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac case "$host_os" in mingw* | windows*) gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo 'stdarg.h' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' gl_cv_absolute_stdarg_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | sed -n "$gl_absolute_header_sed"` gl_header=$gl_cv_absolute_stdarg_h gl_cv_next_stdarg_h='"'$gl_header'"' ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5 printf "%s\n" "$gl_cv_next_stdarg_h" >&6; } fi NEXT_STDARG_H=$gl_cv_next_stdarg_h if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'stdarg.h'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=$gl_cv_next_stdarg_h fi NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive if test "$gl_cv_next_stdarg_h" = '""'; then gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' NEXT_STDARG_H="$gl_cv_next_stdarg_h" fi else exec 9>&6 6>/dev/null if test ${gl_cv_func___va_copy+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #ifndef __va_copy error, bail out #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_func___va_copy=yes else case e in #( e) gl_cv_func___va_copy=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi exec 6>&9 9>&- if test $gl_cv_func___va_copy = yes; then printf "%s\n" "#define va_copy __va_copy" >>confdefs.h else printf "%s\n" "#define va_copy gl_va_copy" >>confdefs.h fi fi fi case "$GL_GENERATE_STDARG_H" in false) STDARG_H='' ;; true) if test -z "$STDARG_H"; then STDARG_H="${gl_source_base_prefix}stdarg.h" fi ;; *) echo "*** GL_GENERATE_STDARG_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_STDARG_H; then GL_GENERATE_STDARG_H_TRUE= GL_GENERATE_STDARG_H_FALSE='#' else GL_GENERATE_STDARG_H_TRUE='#' GL_GENERATE_STDARG_H_FALSE= fi : if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then GL_GENERATE_STDARG_H_TRUE='#' GL_GENERATE_STDARG_H_FALSE='#' fi if test $ac_cv_header_stdckdint_h = yes; then GL_GENERATE_STDCKDINT_H=false else GL_GENERATE_STDCKDINT_H=true fi case "$GL_GENERATE_STDCKDINT_H" in false) STDCKDINT_H='' ;; true) if test -z "$STDCKDINT_H"; then STDCKDINT_H="${gl_source_base_prefix}stdckdint.h" fi ;; *) echo "*** GL_GENERATE_STDCKDINT_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_STDCKDINT_H; then GL_GENERATE_STDCKDINT_H_TRUE= GL_GENERATE_STDCKDINT_H_FALSE='#' else GL_GENERATE_STDCKDINT_H_TRUE='#' GL_GENERATE_STDCKDINT_H_FALSE= fi : if test -z "${GL_GENERATE_STDCKDINT_H_TRUE}" && test -z "${GL_GENERATE_STDCKDINT_H_FALSE}"; then GL_GENERATE_STDCKDINT_H_TRUE='#' GL_GENERATE_STDCKDINT_H_FALSE='#' fi case "$GL_GENERATE_STDDEF_H" in false) STDDEF_H='' ;; true) if test -z "$STDDEF_H"; then STDDEF_H="${gl_source_base_prefix}stddef.h" fi ;; *) echo "*** GL_GENERATE_STDDEF_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_STDDEF_H; then GL_GENERATE_STDDEF_H_TRUE= GL_GENERATE_STDDEF_H_FALSE='#' else GL_GENERATE_STDDEF_H_TRUE='#' GL_GENERATE_STDDEF_H_FALSE= fi : if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then GL_GENERATE_STDDEF_H_TRUE='#' GL_GENERATE_STDDEF_H_FALSE='#' fi case "$GL_GENERATE_STDINT_H" in false) STDINT_H='' ;; true) if test -z "$STDINT_H"; then STDINT_H="${gl_source_base_prefix}stdint.h" fi ;; *) echo "*** GL_GENERATE_STDINT_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_STDINT_H; then GL_GENERATE_STDINT_H_TRUE= GL_GENERATE_STDINT_H_FALSE='#' else GL_GENERATE_STDINT_H_TRUE='#' GL_GENERATE_STDINT_H_FALSE= fi : if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then GL_GENERATE_STDINT_H_TRUE='#' GL_GENERATE_STDINT_H_FALSE='#' fi case "$GL_GENERATE_LIMITS_H" in false) LIMITS_H='' ;; true) if test -z "$LIMITS_H"; then LIMITS_H="${gl_source_base_prefix}limits.h" fi ;; *) echo "*** GL_GENERATE_LIMITS_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_LIMITS_H; then GL_GENERATE_LIMITS_H_TRUE= GL_GENERATE_LIMITS_H_FALSE='#' else GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE= fi : if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then GL_GENERATE_LIMITS_H_TRUE='#' GL_GENERATE_LIMITS_H_FALSE='#' fi if test $REPLACE_STDIO_READ_FUNCS = 1; then GL_COND_OBJ_STDIO_READ_TRUE= GL_COND_OBJ_STDIO_READ_FALSE='#' else GL_COND_OBJ_STDIO_READ_TRUE='#' GL_COND_OBJ_STDIO_READ_FALSE= fi : if test -z "${GL_COND_OBJ_STDIO_READ_TRUE}" && test -z "${GL_COND_OBJ_STDIO_READ_FALSE}"; then GL_COND_OBJ_STDIO_READ_TRUE='#' GL_COND_OBJ_STDIO_READ_FALSE='#' fi if test $REPLACE_STDIO_WRITE_FUNCS = 1; then GL_COND_OBJ_STDIO_WRITE_TRUE= GL_COND_OBJ_STDIO_WRITE_FALSE='#' else GL_COND_OBJ_STDIO_WRITE_TRUE='#' GL_COND_OBJ_STDIO_WRITE_FALSE= fi : if test -z "${GL_COND_OBJ_STDIO_WRITE_TRUE}" && test -z "${GL_COND_OBJ_STDIO_WRITE_FALSE}"; then GL_COND_OBJ_STDIO_WRITE_TRUE='#' GL_COND_OBJ_STDIO_WRITE_FALSE='#' fi GL_GNULIB_FSCANF=1 printf "%s\n" "#define GNULIB_TEST_FSCANF 1" >>confdefs.h printf "%s\n" "#define GNULIB_FSCANF 1" >>confdefs.h GL_GNULIB_SCANF=1 printf "%s\n" "#define GNULIB_TEST_SCANF 1" >>confdefs.h printf "%s\n" "#define GNULIB_SCANF 1" >>confdefs.h GL_GNULIB_FGETC=1 printf "%s\n" "#define GNULIB_TEST_FGETC 1" >>confdefs.h GL_GNULIB_GETC=1 printf "%s\n" "#define GNULIB_TEST_GETC 1" >>confdefs.h GL_GNULIB_GETCHAR=1 printf "%s\n" "#define GNULIB_TEST_GETCHAR 1" >>confdefs.h GL_GNULIB_FGETS=1 printf "%s\n" "#define GNULIB_TEST_FGETS 1" >>confdefs.h GL_GNULIB_FREAD=1 printf "%s\n" "#define GNULIB_TEST_FREAD 1" >>confdefs.h GL_GNULIB_FPRINTF=1 printf "%s\n" "#define GNULIB_TEST_FPRINTF 1" >>confdefs.h GL_GNULIB_PRINTF=1 printf "%s\n" "#define GNULIB_TEST_PRINTF 1" >>confdefs.h GL_GNULIB_VFPRINTF=1 printf "%s\n" "#define GNULIB_TEST_VFPRINTF 1" >>confdefs.h GL_GNULIB_VPRINTF=1 printf "%s\n" "#define GNULIB_TEST_VPRINTF 1" >>confdefs.h GL_GNULIB_FPUTC=1 printf "%s\n" "#define GNULIB_TEST_FPUTC 1" >>confdefs.h GL_GNULIB_PUTC=1 printf "%s\n" "#define GNULIB_TEST_PUTC 1" >>confdefs.h GL_GNULIB_PUTCHAR=1 printf "%s\n" "#define GNULIB_TEST_PUTCHAR 1" >>confdefs.h GL_GNULIB_FPUTS=1 printf "%s\n" "#define GNULIB_TEST_FPUTS 1" >>confdefs.h GL_GNULIB_PUTS=1 printf "%s\n" "#define GNULIB_TEST_PUTS 1" >>confdefs.h GL_GNULIB_FWRITE=1 printf "%s\n" "#define GNULIB_TEST_FWRITE 1" >>confdefs.h case "$host_os" in cygwin*) GL_GENERATE_STDNORETURN_H=true ;; *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working stdnoreturn.h" >&5 printf %s "checking for working stdnoreturn.h... " >&6; } if test ${gl_cv_header_working_stdnoreturn_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if defined _WIN32 && !defined __CYGWIN__ # include #endif /* Do not check for 'noreturn' after the return type. C11 allows it, but it's rarely done that way and circa-2012 bleeding-edge GCC rejects it when given -Werror=old-style-declaration. */ noreturn void foo1 (void) { exit (0); } _Noreturn void foo2 (void) { exit (0); } int testit (int argc, char **argv) { if (argc & 1) return 0; (argv[0][0] ? foo1 : foo2) (); } int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : gl_cv_header_working_stdnoreturn_h=yes else case e in #( e) gl_cv_header_working_stdnoreturn_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdnoreturn_h" >&5 printf "%s\n" "$gl_cv_header_working_stdnoreturn_h" >&6; } if test $gl_cv_header_working_stdnoreturn_h = yes; then GL_GENERATE_STDNORETURN_H=false else GL_GENERATE_STDNORETURN_H=true fi ;; esac case "$GL_GENERATE_STDNORETURN_H" in false) STDNORETURN_H='' ;; true) if test -z "$STDNORETURN_H"; then STDNORETURN_H="${gl_source_base_prefix}stdnoreturn.h" fi ;; *) echo "*** GL_GENERATE_STDNORETURN_H is not set correctly" 1>&2; exit 1 ;; esac if $GL_GENERATE_STDNORETURN_H; then GL_GENERATE_STDNORETURN_H_TRUE= GL_GENERATE_STDNORETURN_H_FALSE='#' else GL_GENERATE_STDNORETURN_H_TRUE='#' GL_GENERATE_STDNORETURN_H_FALSE= fi : if test -z "${GL_GENERATE_STDNORETURN_H_TRUE}" && test -z "${GL_GENERATE_STDNORETURN_H_FALSE}"; then GL_GENERATE_STDNORETURN_H_TRUE='#' GL_GENERATE_STDNORETURN_H_FALSE='#' fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stpcpy" >&5 printf %s "checking for stpcpy... " >&6; } if test ${gl_cv_onwards_func_stpcpy+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_stpcpy" = xyes then : fi if test $ac_cv_have_decl_stpcpy = yes; then ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" if test "x$ac_cv_func_stpcpy" = xyes then : fi if test $ac_cv_func_stpcpy = yes; then gl_cv_onwards_func_stpcpy=yes else gl_cv_onwards_func_stpcpy='future OS version' fi else gl_cv_onwards_func_stpcpy='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy" if test "x$ac_cv_func_stpcpy" = xyes then : fi gl_cv_onwards_func_stpcpy=$ac_cv_func_stpcpy ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_stpcpy" >&5 printf "%s\n" "$gl_cv_onwards_func_stpcpy" >&6; } case "$gl_cv_onwards_func_stpcpy" in future*) ac_cv_func_stpcpy=no ;; *) ac_cv_func_stpcpy=$gl_cv_onwards_func_stpcpy ;; esac if test $ac_cv_func_stpcpy = yes; then printf "%s\n" "#define HAVE_STPCPY 1" >>confdefs.h fi if test $ac_cv_func_stpcpy = no; then HAVE_STPCPY=0 case "$gl_cv_onwards_func_stpcpy" in future*) REPLACE_STPCPY=1 ;; esac fi if test $HAVE_STPCPY = 0 || test $REPLACE_STPCPY = 1; then GL_COND_OBJ_STPCPY_TRUE= GL_COND_OBJ_STPCPY_FALSE='#' else GL_COND_OBJ_STPCPY_TRUE='#' GL_COND_OBJ_STPCPY_FALSE= fi : if test -z "${GL_COND_OBJ_STPCPY_TRUE}" && test -z "${GL_COND_OBJ_STPCPY_FALSE}"; then GL_COND_OBJ_STPCPY_TRUE='#' GL_COND_OBJ_STPCPY_FALSE='#' fi if test -z "$GL_COND_OBJ_STPCPY_TRUE"; then : : fi GL_GNULIB_STPCPY=1 printf "%s\n" "#define GNULIB_TEST_STPCPY 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" if test "x$ac_cv_func_strcasecmp" = xyes then : printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h fi if test $ac_cv_func_strcasecmp = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strcasecmp works" >&5 printf %s "checking whether strcasecmp works... " >&6; } if test ${gl_cv_func_strcasecmp_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in solaris* | cygwin*) gl_cv_func_strcasecmp_works="guessing no" ;; *) gl_cv_func_strcasecmp_works="guessing yes" ;; esac if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { if (setlocale (LC_ALL, "fr_FR.ISO-8859-1") != NULL || setlocale (LC_ALL, "fr_FR.ISO8859-1") != NULL) { int c1 = (unsigned char) '\311'; int c2 = (unsigned char) '\351'; if (tolower (c1) == c2 && toupper (c2) == c1) return strcasecmp ("Fej\311r", "Fej\351r") != 0; } return 2; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strcasecmp_works=yes else case e in #( e) if test $? = 1; then gl_cv_func_strcasecmp_works=no fi ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasecmp_works" >&5 printf "%s\n" "$gl_cv_func_strcasecmp_works" >&6; } case "$gl_cv_func_strcasecmp_works" in *yes) ;; *) REPLACE_STRCASECMP=1 ;; esac else HAVE_STRCASECMP=0 fi if test $HAVE_STRCASECMP = 0 || test $REPLACE_STRCASECMP = 1; then GL_COND_OBJ_STRCASECMP_TRUE= GL_COND_OBJ_STRCASECMP_FALSE='#' else GL_COND_OBJ_STRCASECMP_TRUE='#' GL_COND_OBJ_STRCASECMP_FALSE= fi : if test -z "${GL_COND_OBJ_STRCASECMP_TRUE}" && test -z "${GL_COND_OBJ_STRCASECMP_FALSE}"; then GL_COND_OBJ_STRCASECMP_TRUE='#' GL_COND_OBJ_STRCASECMP_FALSE='#' fi if test -z "$GL_COND_OBJ_STRCASECMP_TRUE"; then : : fi GL_GNULIB_STRCASECMP=1 case "$gl_cv_func_malloc_posix" in *yes) ;; *) REPLACE_STRDUP=1 ;; esac if test $ac_cv_have_decl_strdup = no; then HAVE_DECL_STRDUP=0 fi if test $REPLACE_STRDUP = 1; then GL_COND_OBJ_STRDUP_TRUE= GL_COND_OBJ_STRDUP_FALSE='#' else GL_COND_OBJ_STRDUP_TRUE='#' GL_COND_OBJ_STRDUP_FALSE= fi : if test -z "${GL_COND_OBJ_STRDUP_TRUE}" && test -z "${GL_COND_OBJ_STRDUP_FALSE}"; then GL_COND_OBJ_STRDUP_TRUE='#' GL_COND_OBJ_STRDUP_FALSE='#' fi if test -z "$GL_COND_OBJ_STRDUP_TRUE"; then : : fi GL_GNULIB_STRDUP=1 printf "%s\n" "#define GNULIB_TEST_STRDUP 1" >>confdefs.h if test "$GL_GENERATE_ERRNO_H:$REPLACE_STRERROR_0" = false:0; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 printf %s "checking for working strerror function... " >&6; } if test ${gl_cv_func_working_strerror+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_working_strerror="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_working_strerror="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { if (!*strerror (-2)) return 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_working_strerror=yes else case e in #( e) gl_cv_func_working_strerror=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 printf "%s\n" "$gl_cv_func_working_strerror" >&6; } case "$gl_cv_func_working_strerror" in *yes) ;; *) REPLACE_STRERROR=1 ;; esac else REPLACE_STRERROR=1 fi if test $REPLACE_STRERROR = 1; then GL_COND_OBJ_STRERROR_TRUE= GL_COND_OBJ_STRERROR_FALSE='#' else GL_COND_OBJ_STRERROR_TRUE='#' GL_COND_OBJ_STRERROR_FALSE= fi : if test -z "${GL_COND_OBJ_STRERROR_TRUE}" && test -z "${GL_COND_OBJ_STRERROR_FALSE}"; then GL_COND_OBJ_STRERROR_TRUE='#' GL_COND_OBJ_STRERROR_FALSE='#' fi printf "%s\n" "#define GNULIB_STRERROR 1" >>confdefs.h GL_GNULIB_STRERROR=1 printf "%s\n" "#define GNULIB_TEST_STRERROR 1" >>confdefs.h if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then GL_COND_OBJ_STRERROR_OVERRIDE_TRUE= GL_COND_OBJ_STRERROR_OVERRIDE_FALSE='#' else GL_COND_OBJ_STRERROR_OVERRIDE_TRUE='#' GL_COND_OBJ_STRERROR_OVERRIDE_FALSE= fi : if test -z "${GL_COND_OBJ_STRERROR_OVERRIDE_TRUE}" && test -z "${GL_COND_OBJ_STRERROR_OVERRIDE_FALSE}"; then GL_COND_OBJ_STRERROR_OVERRIDE_TRUE='#' GL_COND_OBJ_STRERROR_OVERRIDE_FALSE='#' fi if test -z "$GL_COND_OBJ_STRERROR_OVERRIDE_TRUE"; then : if test $ac_cv_header_sys_socket_h != yes; then ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes then : printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h fi fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi fi if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" gl_libdeps="$gl_libdeps $LIBICONV" fi ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" if test "x$ac_cv_func_strncasecmp" = xyes then : printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h fi if test $ac_cv_func_strncasecmp = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strcasecmp works" >&5 printf %s "checking whether strcasecmp works... " >&6; } if test ${gl_cv_func_strcasecmp_works+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$host_os" in solaris* | cygwin*) gl_cv_func_strcasecmp_works="guessing no" ;; *) gl_cv_func_strcasecmp_works="guessing yes" ;; esac if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { if (setlocale (LC_ALL, "fr_FR.ISO-8859-1") != NULL || setlocale (LC_ALL, "fr_FR.ISO8859-1") != NULL) { int c1 = (unsigned char) '\311'; int c2 = (unsigned char) '\351'; if (tolower (c1) == c2 && toupper (c2) == c1) return strcasecmp ("Fej\311r", "Fej\351r") != 0; } return 2; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strcasecmp_works=yes else case e in #( e) if test $? = 1; then gl_cv_func_strcasecmp_works=no fi ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strcasecmp_works" >&5 printf "%s\n" "$gl_cv_func_strcasecmp_works" >&6; } case "$gl_cv_func_strcasecmp_works" in *yes) ;; *) REPLACE_STRNCASECMP=1 ;; esac else HAVE_STRNCASECMP=0 fi ac_fn_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strncasecmp" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRNCASECMP $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_strncasecmp = no; then HAVE_DECL_STRNCASECMP=0 fi if test $HAVE_STRNCASECMP = 0 || test $REPLACE_STRNCASECMP = 1; then GL_COND_OBJ_STRNCASECMP_TRUE= GL_COND_OBJ_STRNCASECMP_FALSE='#' else GL_COND_OBJ_STRNCASECMP_TRUE='#' GL_COND_OBJ_STRNCASECMP_FALSE= fi : if test -z "${GL_COND_OBJ_STRNCASECMP_TRUE}" && test -z "${GL_COND_OBJ_STRNCASECMP_FALSE}"; then GL_COND_OBJ_STRNCASECMP_TRUE='#' GL_COND_OBJ_STRNCASECMP_FALSE='#' fi if test -z "$GL_COND_OBJ_STRNCASECMP_TRUE"; then : : fi GL_GNULIB_STRNCASECMP=1 if test $ac_cv_have_decl_strnlen = no; then HAVE_DECL_STRNLEN=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 printf %s "checking for working strnlen... " >&6; } if test ${ac_cv_func_strnlen_working+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { #if defined _AIX && !defined _AIX51 #error "AIX pre 5.1 is buggy" #endif #ifdef __ANDROID__ #include #if __ANDROID_API__ < 22 #error "Android API < 22 is buggy" #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_func_strnlen_working=yes else case e in #( e) ac_cv_func_strnlen_working=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default /* Use pstrnlen to test; 'volatile' prevents the compiler from optimizing the strnlen calls away. */ size_t (*volatile pstrnlen) (char const *, size_t) = strnlen; char const s[] = "foobar"; int s_len = sizeof s - 1; int main (void) { /* AIX 4.3 is buggy: strnlen (S, 1) == 3. */ int i; for (i = 0; i < s_len + 1; ++i) { int expected = i <= s_len ? i : s_len; if (pstrnlen (s, i) != expected) return 1; } /* Android 5.0 (API 21) strnlen ("", SIZE_MAX) incorrectly crashes. */ if (pstrnlen ("", -1) != 0) return 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_func_strnlen_working=yes else case e in #( e) ac_cv_func_strnlen_working=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 printf "%s\n" "$ac_cv_func_strnlen_working" >&6; } test $ac_cv_func_strnlen_working = no && : if test $ac_cv_func_strnlen_working = no; then REPLACE_STRNLEN=1 fi fi if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then GL_COND_OBJ_STRNLEN_TRUE= GL_COND_OBJ_STRNLEN_FALSE='#' else GL_COND_OBJ_STRNLEN_TRUE='#' GL_COND_OBJ_STRNLEN_FALSE= fi : if test -z "${GL_COND_OBJ_STRNLEN_TRUE}" && test -z "${GL_COND_OBJ_STRNLEN_FALSE}"; then GL_COND_OBJ_STRNLEN_TRUE='#' GL_COND_OBJ_STRNLEN_FALSE='#' fi if test -z "$GL_COND_OBJ_STRNLEN_TRUE"; then : : fi GL_GNULIB_STRNLEN=1 printf "%s\n" "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" if test "x$ac_cv_func_strsep" = xyes then : printf "%s\n" "#define HAVE_STRSEP 1" >>confdefs.h fi if test $ac_cv_func_strsep = no; then HAVE_STRSEP=0 fi if test $HAVE_STRSEP = 0; then GL_COND_OBJ_STRSEP_TRUE= GL_COND_OBJ_STRSEP_FALSE='#' else GL_COND_OBJ_STRSEP_TRUE='#' GL_COND_OBJ_STRSEP_FALSE= fi : if test -z "${GL_COND_OBJ_STRSEP_TRUE}" && test -z "${GL_COND_OBJ_STRSEP_FALSE}"; then GL_COND_OBJ_STRSEP_TRUE='#' GL_COND_OBJ_STRSEP_FALSE='#' fi if test -z "$GL_COND_OBJ_STRSEP_TRUE"; then : : fi GL_GNULIB_STRSEP=1 printf "%s\n" "#define GNULIB_TEST_STRSEP 1" >>confdefs.h if test $HAVE_STRTOD = 1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5 printf %s "checking whether strtod obeys C99... " >&6; } if test ${gl_cv_func_strtod_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ && !defined __UCLIBC__ Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 then : gl_cv_func_strtod_works="guessing yes" else case e in #( e) case "$host_os" in # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_strtod_works="guessing yes" ;; # Guess 'no (gradual underflow problem)' on Cygwin. cygwin*) gl_cv_func_strtod_works="guessing no (gradual underflow problem)" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_strtod_works="guessing yes" ;; *) gl_cv_func_strtod_works="$gl_cross_guess_normal" ;; esac ;; esac fi rm -rf conftest* else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (double x, double y) { return x == y; } int main (void) { int result = 0; { /* In some old versions of Linux (2000 or before), strtod mis-parses strings with leading '+'. */ const char *string = " +69"; char *term; double value = strtod (string, &term); if (value != 69 || term != (string + 4)) result |= 1; } { /* Under Solaris 2.4, strtod returns the wrong value for the terminating character under some conditions. */ const char *string = "NaN"; char *term; strtod (string, &term); if (term != string && *(term - 1) == 0) result |= 1; } { /* Older glibc and Cygwin mis-parse "-0x". */ const char *string = "-0x"; char *term; double value = strtod (string, &term); double zero = 0.0; if (1.0 / value != -1.0 / zero || term != (string + 2)) result |= 2; } { /* Many platforms do not parse hex floats. */ const char *string = "0XaP+1"; char *term; double value = strtod (string, &term); if (value != 20.0 || term != (string + 6)) result |= 4; } { /* Many platforms do not parse infinities. HP-UX 11.31 parses inf, but mistakenly sets errno. */ const char *string = "inf"; char *term; double value; errno = 0; value = strtod (string, &term); if (value != HUGE_VAL || term != (string + 3) || errno) result |= 8; } { /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */ const char *string = "nan()"; char *term; double value = strtod (string, &term); if (numeric_equal (value, value) || term != (string + 5)) result |= 16; } { /* Darwin 10.6.1 (macOS 10.6.6) misparses "nan(". */ const char *string = "nan("; char *term; double value = strtod (string, &term); if (numeric_equal (value, value) || term != (string + 3)) result |= 16; } #ifndef _MSC_VER /* On MSVC, this is expected behaviour. */ { /* In Cygwin 2.9, strtod does not set errno upon gradual underflow. */ const char *string = "1e-320"; char *term; double value; errno = 0; value = strtod (string, &term); if (term != (string + 6) || (value > 0.0 && value <= DBL_MIN && errno != ERANGE)) result |= 32; } #endif { /* strtod could not set errno upon flush-to-zero underflow. */ const char *string = "1E-100000"; char *term; double value; errno = 0; value = strtod (string, &term); if (term != (string + 9) || (value == 0.0L && errno != ERANGE)) result |= 64; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strtod_works=yes else case e in #( e) result=$? if expr $result '>=' 64 >/dev/null; then gl_cv_func_strtod_works="no (underflow problem)" else if expr $result '>=' 32 >/dev/null; then gl_cv_func_strtod_works="no (gradual underflow problem)" else gl_cv_func_strtod_works=no fi fi ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtod_works" >&5 printf "%s\n" "$gl_cv_func_strtod_works" >&6; } case "$gl_cv_func_strtod_works" in *yes) ;; *) REPLACE_STRTOD=1 case "$gl_cv_func_strtod_works" in *"no (underflow problem)") printf "%s\n" "#define STRTOD_HAS_UNDERFLOW_BUG 1" >>confdefs.h ;; *"no (gradual underflow problem)") printf "%s\n" "#define STRTOD_HAS_GRADUAL_UNDERFLOW_PROBLEM 1" >>confdefs.h ;; esac ;; esac fi if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then GL_COND_OBJ_STRTOD_TRUE= GL_COND_OBJ_STRTOD_FALSE='#' else GL_COND_OBJ_STRTOD_TRUE='#' GL_COND_OBJ_STRTOD_FALSE= fi : if test -z "${GL_COND_OBJ_STRTOD_TRUE}" && test -z "${GL_COND_OBJ_STRTOD_FALSE}"; then GL_COND_OBJ_STRTOD_TRUE='#' GL_COND_OBJ_STRTOD_FALSE='#' fi if test -z "$GL_COND_OBJ_STRTOD_TRUE"; then : if test $gl_cv_func_ldexp_no_libm = yes; then printf "%s\n" "#define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo" >&5 printf %s "checking for nl_langinfo... " >&6; } if test ${gl_cv_onwards_func_nl_langinfo+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "nl_langinfo" "ac_cv_have_decl_nl_langinfo" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_nl_langinfo" = xyes then : fi if test $ac_cv_have_decl_nl_langinfo = yes; then ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" if test "x$ac_cv_func_nl_langinfo" = xyes then : fi if test $ac_cv_func_nl_langinfo = yes; then gl_cv_onwards_func_nl_langinfo=yes else gl_cv_onwards_func_nl_langinfo='future OS version' fi else gl_cv_onwards_func_nl_langinfo='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" if test "x$ac_cv_func_nl_langinfo" = xyes then : fi gl_cv_onwards_func_nl_langinfo=$ac_cv_func_nl_langinfo ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_nl_langinfo" >&5 printf "%s\n" "$gl_cv_onwards_func_nl_langinfo" >&6; } case "$gl_cv_onwards_func_nl_langinfo" in future*) ac_cv_func_nl_langinfo=no ;; *) ac_cv_func_nl_langinfo=$gl_cv_onwards_func_nl_langinfo ;; esac if test $ac_cv_func_nl_langinfo = yes; then printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h fi fi GL_GNULIB_STRTOD=1 printf "%s\n" "#define GNULIB_TEST_STRTOD 1" >>confdefs.h if test $ac_cv_func_strtold != yes; then HAVE_STRTOLD=0 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strtold obeys POSIX" >&5 printf %s "checking whether strtold obeys POSIX... " >&6; } if test ${gl_cv_func_strtold_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ && !defined __UCLIBC__ Lucky user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "Lucky user" >/dev/null 2>&1 then : gl_cv_func_strtold_works="guessing yes" else case e in #( e) case "$host_os" in # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_strtold_works="guessing yes" ;; # Guess 'no (underflow problem)' on Cygwin. cygwin*) gl_cv_func_strtold_works="guessing no (underflow problem)" ;; # Guess 'no (gradual underflow problem)' on mingw. # (Although the results may vary depending on # __USE_MINGW_ANSI_STDIO.) mingw* | windows*) gl_cv_func_strtold_works="guessing no (gradual underflow problem)" ;; *) gl_cv_func_strtold_works="$gl_cross_guess_normal" ;; esac ;; esac fi rm -rf conftest* else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (long double x, long double y) { return x == y; } int main (void) { int result = 0; { /* Under Solaris 2.4, strtod returns the wrong value for the terminating character under some conditions. */ const char *string = "NaN"; char *term; strtold (string, &term); if (term != string && *(term - 1) == 0) result |= 1; } { /* Older glibc and Cygwin mis-parse "-0x". */ const char *string = "-0x"; char *term; long double value = strtold (string, &term); long double zero = 0.0L; if (1.0L / value != -1.0L / zero || term != (string + 2)) result |= 2; } { /* IRIX 6.5, mingw do not parse hex floats. */ const char *string = "0XaP+1"; char *term; long double value = strtold (string, &term); if (value != 20.0L || term != (string + 6)) result |= 4; } { /* IRIX 6.5 does not parse infinities. HP-UX 11.31/ia64 parses inf, but mistakenly sets errno. */ const char *string = "inf"; char *term; long double value; errno = 0; value = strtold (string, &term); if (value != HUGE_VAL || term != (string + 3) || errno) result |= 8; } { /* glibc-2.3.2, IRIX 6.5, mingw, Haiku misparse "nan()". */ const char *string = "nan()"; char *term; long double value = strtold (string, &term); if (numeric_equal (value, value) || term != (string + 5)) result |= 16; } { /* Mac OS X 10.5, IRIX 6.5 misparse "nan(". */ const char *string = "nan("; char *term; long double value = strtold (string, &term); if (numeric_equal (value, value) || term != (string + 3)) result |= 16; } #ifndef _MSC_VER /* On MSVC, this is expected behaviour. */ { /* In Cygwin 2.9 and mingw 5.0, strtold does not set errno upon gradual underflow. */ # if LDBL_MAX_EXP > 10000 const char *string = "1e-4950"; # else const char *string = "1e-320"; # endif char *term; long double value; errno = 0; value = strtold (string, &term); if (term != (string + strlen (string)) || (value > 0.0L && value <= LDBL_MIN && errno != ERANGE)) result |= 32; } #endif { /* In Cygwin 2.9, strtold does not set errno upon flush-to-zero underflow. */ const char *string = "1E-100000"; char *term; long double value; errno = 0; value = strtold (string, &term); if (term != (string + 9) || (value == 0.0L && errno != ERANGE)) result |= 64; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strtold_works=yes else case e in #( e) result=$? if expr $result '>=' 64 >/dev/null; then gl_cv_func_strtold_works="no (underflow problem)" else if expr $result '>=' 32 >/dev/null; then gl_cv_func_strtold_works="no (gradual underflow problem)" else gl_cv_func_strtold_works=no fi fi ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtold_works" >&5 printf "%s\n" "$gl_cv_func_strtold_works" >&6; } case "$gl_cv_func_strtold_works" in *yes) ;; *) REPLACE_STRTOLD=1 case "$gl_cv_func_strtold_works" in *"no (underflow problem)") printf "%s\n" "#define STRTOLD_HAS_UNDERFLOW_BUG 1" >>confdefs.h ;; *"no (gradual underflow problem)") printf "%s\n" "#define STRTOLD_HAS_GRADUAL_UNDERFLOW_PROBLEM 1" >>confdefs.h ;; esac ;; esac fi if test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1; then GL_COND_OBJ_STRTOLD_TRUE= GL_COND_OBJ_STRTOLD_FALSE='#' else GL_COND_OBJ_STRTOLD_TRUE='#' GL_COND_OBJ_STRTOLD_FALSE= fi : if test -z "${GL_COND_OBJ_STRTOLD_TRUE}" && test -z "${GL_COND_OBJ_STRTOLD_FALSE}"; then GL_COND_OBJ_STRTOLD_TRUE='#' GL_COND_OBJ_STRTOLD_FALSE='#' fi if test -z "$GL_COND_OBJ_STRTOLD_TRUE"; then : if test $gl_cv_func_ldexpl_no_libm = yes; then printf "%s\n" "#define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo" >&5 printf %s "checking for nl_langinfo... " >&6; } if test ${gl_cv_onwards_func_nl_langinfo+y} then : printf %s "(cached) " >&6 else case e in #( e) exec 9>&6 6>/dev/null case "$host_os" in linux*-android*) ac_fn_check_decl "$LINENO" "nl_langinfo" "ac_cv_have_decl_nl_langinfo" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_nl_langinfo" = xyes then : fi if test $ac_cv_have_decl_nl_langinfo = yes; then ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" if test "x$ac_cv_func_nl_langinfo" = xyes then : fi if test $ac_cv_func_nl_langinfo = yes; then gl_cv_onwards_func_nl_langinfo=yes else gl_cv_onwards_func_nl_langinfo='future OS version' fi else gl_cv_onwards_func_nl_langinfo='future OS version' fi ;; *) ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" if test "x$ac_cv_func_nl_langinfo" = xyes then : fi gl_cv_onwards_func_nl_langinfo=$ac_cv_func_nl_langinfo ;; esac exec 6>&9 9>&- ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_onwards_func_nl_langinfo" >&5 printf "%s\n" "$gl_cv_onwards_func_nl_langinfo" >&6; } case "$gl_cv_onwards_func_nl_langinfo" in future*) ac_cv_func_nl_langinfo=no ;; *) ac_cv_func_nl_langinfo=$gl_cv_onwards_func_nl_langinfo ;; esac if test $ac_cv_func_nl_langinfo = yes; then printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h fi fi GL_GNULIB_STRTOLD=1 printf "%s\n" "#define GNULIB_TEST_STRTOLD 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" if test "x$ac_cv_func_strtoll" = xyes then : printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h fi if test $ac_cv_func_strtoll = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strtoll works" >&5 printf %s "checking whether strtoll works... " >&6; } if test ${gl_cv_func_strtoll_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on native Windows. mingw* | windows*) gl_cv_func_strtoll_works="guessing no" ;; # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_strtoll_works="guessing no" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_strtoll_works="guessing no" ;; *) gl_cv_func_strtoll_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int result = 0; char *term; /* This test fails on Minix and native Windows. */ { static char const input[2][3] = {"0x", "0b"}; static int const base[] = {0, 2, 10}; int i, j; for (i = 0; i < 2; i++) for (j = 0; j < 3; j++) { (void) strtoll (input[i], &term, base[j]); if (term != input[i] + 1) result |= 1; } } /* This test fails on pre-C23 platforms. */ { const char input[] = "0b1"; (void) strtoll (input, &term, 2); if (term != input + 3) result |= 2; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strtoll_works=yes else case e in #( e) gl_cv_func_strtoll_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtoll_works" >&5 printf "%s\n" "$gl_cv_func_strtoll_works" >&6; } case "$gl_cv_func_strtoll_works" in *yes) ;; *) REPLACE_STRTOLL=1 ;; esac else HAVE_STRTOLL=0 fi if test $HAVE_STRTOLL = 0 || test $REPLACE_STRTOLL = 1; then GL_COND_OBJ_STRTOLL_TRUE= GL_COND_OBJ_STRTOLL_FALSE='#' else GL_COND_OBJ_STRTOLL_TRUE='#' GL_COND_OBJ_STRTOLL_FALSE= fi : if test -z "${GL_COND_OBJ_STRTOLL_TRUE}" && test -z "${GL_COND_OBJ_STRTOLL_FALSE}"; then GL_COND_OBJ_STRTOLL_TRUE='#' GL_COND_OBJ_STRTOLL_FALSE='#' fi if test -z "$GL_COND_OBJ_STRTOLL_TRUE"; then : : fi GL_GNULIB_STRTOLL=1 printf "%s\n" "#define GNULIB_TEST_STRTOLL 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" if test "x$ac_cv_func_strtoull" = xyes then : printf "%s\n" "#define HAVE_STRTOULL 1" >>confdefs.h fi if test $ac_cv_func_strtoull = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strtoull works" >&5 printf %s "checking whether strtoull works... " >&6; } if test ${gl_cv_func_strtoull_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on native Windows. mingw* | windows*) gl_cv_func_strtoull_works="guessing no" ;; # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_strtoull_works="guessing no" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_strtoull_works="guessing no" ;; *) gl_cv_func_strtoull_works="$gl_cross_guess_normal" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { int result = 0; char *term; /* This test fails on Minix and native Windows. */ { const char input[] = "0x"; (void) strtoull (input, &term, 16); if (term != input + 1) result |= 1; } /* This test fails on pre-C23 platforms. */ { const char input[] = "0b1"; (void) strtoull (input, &term, 2); if (term != input + 3) result |= 2; } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_strtoull_works=yes else case e in #( e) gl_cv_func_strtoull_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtoull_works" >&5 printf "%s\n" "$gl_cv_func_strtoull_works" >&6; } case "$gl_cv_func_strtoull_works" in *yes) ;; *) REPLACE_STRTOULL=1 ;; esac else HAVE_STRTOULL=0 fi if test $HAVE_STRTOULL = 0 || test $REPLACE_STRTOULL = 1; then GL_COND_OBJ_STRTOULL_TRUE= GL_COND_OBJ_STRTOULL_FALSE='#' else GL_COND_OBJ_STRTOULL_TRUE='#' GL_COND_OBJ_STRTOULL_FALSE= fi : if test -z "${GL_COND_OBJ_STRTOULL_TRUE}" && test -z "${GL_COND_OBJ_STRTOULL_FALSE}"; then GL_COND_OBJ_STRTOULL_TRUE='#' GL_COND_OBJ_STRTOULL_FALSE='#' fi if test -z "$GL_COND_OBJ_STRTOULL_TRUE"; then : : fi GL_GNULIB_STRTOULL=1 printf "%s\n" "#define GNULIB_TEST_STRTOULL 1" >>confdefs.h if test "$ac_cv_have_decl_strtoumax" = yes; then if test "$ac_cv_func_strtoumax" != yes; then # HP-UX 11.11 has "#define strtoimax(...) ..." but no function. REPLACE_STRTOUMAX=1 fi else HAVE_DECL_STRTOUMAX=0 fi if test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; then GL_COND_OBJ_STRTOUMAX_TRUE= GL_COND_OBJ_STRTOUMAX_FALSE='#' else GL_COND_OBJ_STRTOUMAX_TRUE='#' GL_COND_OBJ_STRTOUMAX_FALSE= fi : if test -z "${GL_COND_OBJ_STRTOUMAX_TRUE}" && test -z "${GL_COND_OBJ_STRTOUMAX_FALSE}"; then GL_COND_OBJ_STRTOUMAX_TRUE='#' GL_COND_OBJ_STRTOUMAX_FALSE='#' fi if test -z "$GL_COND_OBJ_STRTOUMAX_TRUE"; then : ac_fn_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strtoull" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRTOULL $ac_have_decl" >>confdefs.h fi GL_GNULIB_STRTOUMAX=1 ac_fn_c_check_header_compile "$LINENO" "sys/single_threaded.h" "ac_cv_header_sys_single_threaded_h" "$ac_includes_default" if test "x$ac_cv_header_sys_single_threaded_h" = xyes then : printf "%s\n" "#define HAVE_SYS_SINGLE_THREADED_H 1" >>confdefs.h fi ac_fn_check_decl "$LINENO" "trunc" "ac_cv_have_decl_trunc" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_trunc" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_TRUNC $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_trunc" = yes; then TRUNC_LIBM=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = trunc; double x; int main (void) { x = funcptr(x) + trunc(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNC_LIBM= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$TRUNC_LIBM" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = trunc; double x; int main (void) { x = funcptr(x) + trunc(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNC_LIBM="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi if test "$TRUNC_LIBM" = "?"; then TRUNC_LIBM= fi else HAVE_DECL_TRUNC=0 fi if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then TRUNC_LIBM= fi if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then GL_COND_OBJ_TRUNC_TRUE= GL_COND_OBJ_TRUNC_FALSE='#' else GL_COND_OBJ_TRUNC_TRUE='#' GL_COND_OBJ_TRUNC_FALSE= fi : if test -z "${GL_COND_OBJ_TRUNC_TRUE}" && test -z "${GL_COND_OBJ_TRUNC_FALSE}"; then GL_COND_OBJ_TRUNC_TRUE='#' GL_COND_OBJ_TRUNC_FALSE='#' fi GL_GNULIB_TRUNC=1 printf "%s\n" "#define GNULIB_TEST_TRUNC 1" >>confdefs.h ac_fn_check_decl "$LINENO" "truncl" "ac_cv_have_decl_truncl" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_truncl" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_TRUNCL $ac_have_decl" >>confdefs.h if test "$ac_cv_have_decl_truncl" = yes; then TRUNCL_LIBM=? cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = truncl; long double x; int main (void) { x = funcptr(x) + truncl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNCL_LIBM= fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$TRUNCL_LIBM" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = truncl; long double x; int main (void) { x = funcptr(x) + truncl(x); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : TRUNCL_LIBM="-lm" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$saved_LIBS" fi if test "$TRUNCL_LIBM" = "?"; then TRUNCL_LIBM= fi saved_LIBS="$LIBS" LIBS="$LIBS $TRUNCL_LIBM" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether truncl works" >&5 printf %s "checking whether truncl works... " >&6; } if test ${gl_cv_func_truncl_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in osf4*) gl_cv_func_truncl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_truncl_works="guessing yes" ;; *) gl_cv_func_truncl_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include long double x; int main() { x = truncl (0.0L); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_truncl_works=yes else case e in #( e) gl_cv_func_truncl_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_truncl_works" >&5 printf "%s\n" "$gl_cv_func_truncl_works" >&6; } LIBS="$saved_LIBS" case "$gl_cv_func_truncl_works" in *yes) ;; *) REPLACE_TRUNCL=1 ;; esac else HAVE_DECL_TRUNCL=0 fi if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then TRUNCL_LIBM="$TRUNC_LIBM" else TRUNCL_LIBM= fi fi if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then GL_COND_OBJ_TRUNCL_TRUE= GL_COND_OBJ_TRUNCL_FALSE='#' else GL_COND_OBJ_TRUNCL_TRUE='#' GL_COND_OBJ_TRUNCL_FALSE= fi : if test -z "${GL_COND_OBJ_TRUNCL_TRUE}" && test -z "${GL_COND_OBJ_TRUNCL_FALSE}"; then GL_COND_OBJ_TRUNCL_TRUE='#' GL_COND_OBJ_TRUNCL_FALSE='#' fi GL_GNULIB_TRUNCL=1 printf "%s\n" "#define GNULIB_TEST_TRUNCL 1" >>confdefs.h if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then if test -z "$LIBUNISTRING_UNICASE_H"; then LIBUNISTRING_UNICASE_H="${gl_source_base_prefix}unicase.h" fi else LIBUNISTRING_UNICASE_H= fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE= LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE='#' else LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE='#' LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE}"; then LIBUNISTRING_COMPILE_UNICASE_TOLOWER_TRUE='#' LIBUNISTRING_COMPILE_UNICASE_TOLOWER_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then if test -z "$LIBUNISTRING_UNICTYPE_H"; then LIBUNISTRING_UNICTYPE_H="${gl_source_base_prefix}unictype.h" fi else LIBUNISTRING_UNICTYPE_H= fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8 } } } } }; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE= LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE='#' else LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE}"; then LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_TRUE='#' LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then if test -z "$LIBUNISTRING_UNINORM_H"; then LIBUNISTRING_UNINORM_H="${gl_source_base_prefix}uninorm.h" fi else LIBUNISTRING_UNINORM_H= fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 2 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 2 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then if test -z "$LIBUNISTRING_UNISTR_H"; then LIBUNISTRING_UNISTR_H="${gl_source_base_prefix}unistr.h" fi else LIBUNISTRING_UNISTR_H= fi printf "%s\n" "#define GNULIB_UNISTR_U8_MBTOUCR 1" >>confdefs.h if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE= LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE='#' else LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE='#' LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE='#' LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE='#' fi printf "%s\n" "#define GNULIB_UNISTR_U8_UCTOMB 1" >>confdefs.h if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE= LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE='#' else LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE='#' LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE}"; then LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE='#' LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE='#' fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 } } } } }; then if test -z "$LIBUNISTRING_UNITYPES_H"; then LIBUNISTRING_UNITYPES_H="${gl_source_base_prefix}unitypes.h" fi else LIBUNISTRING_UNITYPES_H= fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 11 } } } } }; then if test -z "$LIBUNISTRING_UNIWIDTH_H"; then LIBUNISTRING_UNIWIDTH_H="${gl_source_base_prefix}uniwidth.h" fi else LIBUNISTRING_UNIWIDTH_H= fi if { test "$HAVE_LIBUNISTRING" != yes \ || { test $LIBUNISTRING_VERSION_MAJOR -lt 1 \ || { test $LIBUNISTRING_VERSION_MAJOR -eq 1 \ && { test $LIBUNISTRING_VERSION_MINOR -lt 3 \ || { test $LIBUNISTRING_VERSION_MINOR -eq 3 \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 } } } } }; then LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE= LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' else LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE= fi : if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' fi printf "%s\n" "#define GNULIB_STDIO_SINGLE_THREAD 1" >>confdefs.h printf "%s\n" "#define USE_UNLOCKED_IO GNULIB_STDIO_SINGLE_THREAD" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for variable-length arrays" >&5 printf %s "checking for variable-length arrays... " >&6; } if test ${ac_cv_c_vararrays+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __STDC_NO_VLA__ #error __STDC_NO_VLA__ not defined #endif _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_vararrays='no: __STDC_NO_VLA__ is defined' else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Test for VLA support. This test is partly inspired from examples in the C standard. Use at least two VLA functions to detect the GCC 3.4.3 bug described in: https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00014.html */ #ifdef __STDC_NO_VLA__ syntax error; #else extern int n; int B[100]; int fvla (int m, int C[m][m]); int simple (int count, int all[static count]) { return all[count - 1]; } int fvla (int m, int C[m][m]) { typedef int VLA[m][m]; VLA x; int D[m]; static int (*q)[m] = &B; int (*s)[n] = q; return C && &x[0][0] == &D[0] && &D[0] == s[0]; } #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_vararrays=yes else case e in #( e) ac_cv_c_vararrays=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_vararrays" >&5 printf "%s\n" "$ac_cv_c_vararrays" >&6; } if test "$ac_cv_c_vararrays" = yes; then printf "%s\n" "#define HAVE_C_VARARRAYS 1" >>confdefs.h elif test "$ac_cv_c_vararrays" = no; then printf "%s\n" "#define __STDC_NO_VLA__ 1" >>confdefs.h fi if test $ac_cv_func_vasnprintf = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether vasnprintf works" >&5 printf %s "checking whether vasnprintf works... " >&6; } if test ${gl_cv_func_vasnprintf_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess no on Cygwin. cygwin*) gl_cv_func_vasnprintf_works="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_vasnprintf_works="$gl_cross_guess_normal";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_vasnprintf_works=yes else case e in #( e) gl_cv_func_vasnprintf_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_vasnprintf_works" >&5 printf "%s\n" "$gl_cv_func_vasnprintf_works" >&6; } fi if test $ac_cv_func_vasnprintf != yes \ || case "$gl_cv_func_vasnprintf_works" in *yes) false;; *) true;; esac then gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" if test $ac_cv_func_vasnprintf = yes; then printf "%s\n" "#define REPLACE_VASNPRINTF 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes then : else case e in #( e) printf "%s\n" "#define ptrdiff_t long" >>confdefs.h ;; esac fi fi # Check whether --with-packager was given. if test ${with_packager+y} then : withval=$with_packager; case $withval in yes|no) ;; *) printf "%s\n" "#define PACKAGE_PACKAGER \"$withval\"" >>confdefs.h ;; esac fi # Check whether --with-packager-version was given. if test ${with_packager_version+y} then : withval=$with_packager_version; case $withval in yes|no) ;; *) printf "%s\n" "#define PACKAGE_PACKAGER_VERSION \"$withval\"" >>confdefs.h ;; esac fi # Check whether --with-packager-bug-reports was given. if test ${with_packager_bug_reports+y} then : withval=$with_packager_bug_reports; case $withval in yes|no) ;; *) printf "%s\n" "#define PACKAGE_PACKAGER_BUG_REPORTS \"$withval\"" >>confdefs.h ;; esac fi if test "X$with_packager" = "X" && \ test "X$with_packager_version$with_packager_bug_reports" != "X" then as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5 fi GL_GNULIB_VSNZPRINTF=1 printf "%s\n" "#define GNULIB_TEST_VSNZPRINTF 1" >>confdefs.h HAVE_WAITPID=1 case $host_os in mingw* | windows*) HAVE_WAITPID=0 ;; esac if test $HAVE_WAITPID = 0; then GL_COND_OBJ_WAITPID_TRUE= GL_COND_OBJ_WAITPID_FALSE='#' else GL_COND_OBJ_WAITPID_TRUE='#' GL_COND_OBJ_WAITPID_FALSE= fi : if test -z "${GL_COND_OBJ_WAITPID_TRUE}" && test -z "${GL_COND_OBJ_WAITPID_FALSE}"; then GL_COND_OBJ_WAITPID_TRUE='#' GL_COND_OBJ_WAITPID_FALSE='#' fi GL_GNULIB_WAITPID=1 printf "%s\n" "#define GNULIB_TEST_WAITPID 1" >>confdefs.h ac_fn_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" " #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_wcwidth" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_WCWIDTH $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_wcwidth != yes; then HAVE_DECL_WCWIDTH=0 fi if test $ac_cv_func_wcwidth != yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcwidth is a macro" >&5 printf %s "checking whether wcwidth is a macro... " >&6; } if test ${gl_cv_func_wcwidth_macro+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef wcwidth wchar_header_defines_wcwidth #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP_TRADITIONAL "wchar_header_defines_wcwidth" >/dev/null 2>&1 then : gl_cv_func_wcwidth_macro=yes else case e in #( e) gl_cv_func_wcwidth_macro=no ;; esac fi rm -rf conftest* ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_macro" >&5 printf "%s\n" "$gl_cv_func_wcwidth_macro" >&6; } fi if test $ac_cv_func_wcwidth = yes || test $gl_cv_func_wcwidth_macro = yes; then HAVE_WCWIDTH=1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5 printf %s "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; } if test ${gl_cv_func_wcwidth_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_wcwidth_works="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_wcwidth_works="guessing yes";; # Guess yes on AIX 7 systems. aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";; *) gl_cv_func_wcwidth_works="$gl_cross_guess_normal";; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if !HAVE_DECL_WCWIDTH extern # ifdef __cplusplus "C" # endif int wcwidth (int); #endif int main () { int result = 0; if (setlocale (LC_ALL, "en_US.UTF-8") != NULL) { if (wcwidth (0x0301) > 0) result |= 1; if (wcwidth (0x05B0) > 0) result |= 2; if (wcwidth (0x200B) > 0) result |= 4; if (wcwidth (0xFF1A) == 0) result |= 8; if (wcwidth (0x2202) > 1) result |= 16; } return result; } _ACEOF if ac_fn_c_try_run "$LINENO" then : gl_cv_func_wcwidth_works=yes else case e in #( e) gl_cv_func_wcwidth_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5 printf "%s\n" "$gl_cv_func_wcwidth_works" >&6; } case "$gl_cv_func_wcwidth_works" in *yes) ;; *no) REPLACE_WCWIDTH=1 ;; esac else HAVE_WCWIDTH=0 fi if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then GL_COND_OBJ_WCWIDTH_TRUE= GL_COND_OBJ_WCWIDTH_FALSE='#' else GL_COND_OBJ_WCWIDTH_TRUE='#' GL_COND_OBJ_WCWIDTH_FALSE= fi : if test -z "${GL_COND_OBJ_WCWIDTH_TRUE}" && test -z "${GL_COND_OBJ_WCWIDTH_FALSE}"; then GL_COND_OBJ_WCWIDTH_TRUE='#' GL_COND_OBJ_WCWIDTH_FALSE='#' fi if test -z "$GL_COND_OBJ_WCWIDTH_TRUE"; then : : fi GL_GNULIB_WCWIDTH=1 printf "%s\n" "#define GNULIB_TEST_WCWIDTH 1" >>confdefs.h if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then GL_COND_OBJ_WINDOWS_MUTEX_TRUE= GL_COND_OBJ_WINDOWS_MUTEX_FALSE='#' else GL_COND_OBJ_WINDOWS_MUTEX_TRUE='#' GL_COND_OBJ_WINDOWS_MUTEX_FALSE= fi : if test -z "${GL_COND_OBJ_WINDOWS_MUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_MUTEX_FALSE}"; then GL_COND_OBJ_WINDOWS_MUTEX_TRUE='#' GL_COND_OBJ_WINDOWS_MUTEX_FALSE='#' fi if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then GL_COND_OBJ_WINDOWS_ONCE_TRUE= GL_COND_OBJ_WINDOWS_ONCE_FALSE='#' else GL_COND_OBJ_WINDOWS_ONCE_TRUE='#' GL_COND_OBJ_WINDOWS_ONCE_FALSE= fi : if test -z "${GL_COND_OBJ_WINDOWS_ONCE_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_ONCE_FALSE}"; then GL_COND_OBJ_WINDOWS_ONCE_TRUE='#' GL_COND_OBJ_WINDOWS_ONCE_FALSE='#' fi if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE= GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE='#' else GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE='#' GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE= fi : if test -z "${GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE}"; then GL_COND_OBJ_WINDOWS_RECMUTEX_TRUE='#' GL_COND_OBJ_WINDOWS_RECMUTEX_FALSE='#' fi if case "$host_os" in mingw* | windows*) true;; *) false;; esac; then GL_COND_OBJ_WINDOWS_RWLOCK_TRUE= GL_COND_OBJ_WINDOWS_RWLOCK_FALSE='#' else GL_COND_OBJ_WINDOWS_RWLOCK_TRUE='#' GL_COND_OBJ_WINDOWS_RWLOCK_FALSE= fi : if test -z "${GL_COND_OBJ_WINDOWS_RWLOCK_TRUE}" && test -z "${GL_COND_OBJ_WINDOWS_RWLOCK_FALSE}"; then GL_COND_OBJ_WINDOWS_RWLOCK_TRUE='#' GL_COND_OBJ_WINDOWS_RWLOCK_FALSE='#' fi : printf "%s\n" "#define GNULIB_XALLOC 1" >>confdefs.h printf "%s\n" "#define GNULIB_XALLOC_DIE 1" >>confdefs.h ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes then : printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h fi : # End of code from modules gltests_libdeps= gltests_ltlibdeps= gl_source_base='tests' gl_source_base_prefix= gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS gl_module_indicator_condition=$gltests_WITNESS LIBDATAMASH_LIBDEPS="$gl_libdeps" LIBDATAMASH_LTLIBDEPS="$gl_ltlibdeps" # Add extra compilation warnings. These will only apply to datamash.c not to # any gnulib modules). See $(WARN_CFLAGS) in Makefile.am ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror -Wunknown-warning-option" >&5 printf %s "checking whether C compiler handles -Werror -Wunknown-warning-option... " >&6; } if test ${gl_cv_warn_c__Werror__Wunknown_warning_option+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Werror__Wunknown_warning_option=yes else case e in #( e) gl_cv_warn_c__Werror__Wunknown_warning_option=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror__Wunknown_warning_option" >&5 printf "%s\n" "$gl_cv_warn_c__Werror__Wunknown_warning_option" >&6; } if test "x$gl_cv_warn_c__Werror__Wunknown_warning_option" = xyes then : gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror' else case e in #( e) gl_unknown_warnings_are_errors= ;; esac fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wall" >&5 printf %s "checking whether C compiler handles -Wall... " >&6; } if test ${gl_cv_warn_c__Wall+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wall=yes else case e in #( e) gl_cv_warn_c__Wall=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wall" >&5 printf "%s\n" "$gl_cv_warn_c__Wall" >&6; } if test "x$gl_cv_warn_c__Wall" = xyes then : as_fn_append WARN_CFLAGS " -Wall" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wextra" >&5 printf %s "checking whether C compiler handles -Wextra... " >&6; } if test ${gl_cv_warn_c__Wextra+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wextra" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wextra=yes else case e in #( e) gl_cv_warn_c__Wextra=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wextra" >&5 printf "%s\n" "$gl_cv_warn_c__Wextra" >&6; } if test "x$gl_cv_warn_c__Wextra" = xyes then : as_fn_append WARN_CFLAGS " -Wextra" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wformat-security" >&5 printf %s "checking whether C compiler handles -Wformat-security... " >&6; } if test ${gl_cv_warn_c__Wformat_security+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wformat_security=yes else case e in #( e) gl_cv_warn_c__Wformat_security=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wformat_security" >&5 printf "%s\n" "$gl_cv_warn_c__Wformat_security" >&6; } if test "x$gl_cv_warn_c__Wformat_security" = xyes then : as_fn_append WARN_CFLAGS " -Wformat-security" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wswitch-enum" >&5 printf %s "checking whether C compiler handles -Wswitch-enum... " >&6; } if test ${gl_cv_warn_c__Wswitch_enum+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wswitch-enum" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wswitch_enum=yes else case e in #( e) gl_cv_warn_c__Wswitch_enum=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wswitch_enum" >&5 printf "%s\n" "$gl_cv_warn_c__Wswitch_enum" >&6; } if test "x$gl_cv_warn_c__Wswitch_enum" = xyes then : as_fn_append WARN_CFLAGS " -Wswitch-enum" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wswitch-default" >&5 printf %s "checking whether C compiler handles -Wswitch-default... " >&6; } if test ${gl_cv_warn_c__Wswitch_default+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wswitch-default" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wswitch_default=yes else case e in #( e) gl_cv_warn_c__Wswitch_default=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wswitch_default" >&5 printf "%s\n" "$gl_cv_warn_c__Wswitch_default" >&6; } if test "x$gl_cv_warn_c__Wswitch_default" = xyes then : as_fn_append WARN_CFLAGS " -Wswitch-default" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wunused-parameter" >&5 printf %s "checking whether C compiler handles -Wunused-parameter... " >&6; } if test ${gl_cv_warn_c__Wunused_parameter+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wunused-parameter" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wunused_parameter=yes else case e in #( e) gl_cv_warn_c__Wunused_parameter=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wunused_parameter" >&5 printf "%s\n" "$gl_cv_warn_c__Wunused_parameter" >&6; } if test "x$gl_cv_warn_c__Wunused_parameter" = xyes then : as_fn_append WARN_CFLAGS " -Wunused-parameter" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wfloat-equal" >&5 printf %s "checking whether C compiler handles -Wfloat-equal... " >&6; } if test ${gl_cv_warn_c__Wfloat_equal+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wfloat-equal" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wfloat_equal=yes else case e in #( e) gl_cv_warn_c__Wfloat_equal=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wfloat_equal" >&5 printf "%s\n" "$gl_cv_warn_c__Wfloat_equal" >&6; } if test "x$gl_cv_warn_c__Wfloat_equal" = xyes then : as_fn_append WARN_CFLAGS " -Wfloat-equal" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5 printf %s "checking whether C compiler handles -fdiagnostics-show-option... " >&6; } if test ${gl_cv_warn_c__fdiagnostics_show_option+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -fdiagnostics-show-option" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__fdiagnostics_show_option=yes else case e in #( e) gl_cv_warn_c__fdiagnostics_show_option=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__fdiagnostics_show_option" >&5 printf "%s\n" "$gl_cv_warn_c__fdiagnostics_show_option" >&6; } if test "x$gl_cv_warn_c__fdiagnostics_show_option" = xyes then : as_fn_append WARN_CFLAGS " -fdiagnostics-show-option" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -funit-at-a-time" >&5 printf %s "checking whether C compiler handles -funit-at-a-time... " >&6; } if test ${gl_cv_warn_c__funit_at_a_time+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -funit-at-a-time" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__funit_at_a_time=yes else case e in #( e) gl_cv_warn_c__funit_at_a_time=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__funit_at_a_time" >&5 printf "%s\n" "$gl_cv_warn_c__funit_at_a_time" >&6; } if test "x$gl_cv_warn_c__funit_at_a_time" = xyes then : as_fn_append WARN_CFLAGS " -funit-at-a-time" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wmissing-format-attribute" >&5 printf %s "checking whether C compiler handles -Wmissing-format-attribute... " >&6; } if test ${gl_cv_warn_c__Wmissing_format_attribute+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-format-attribute" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wmissing_format_attribute=yes else case e in #( e) gl_cv_warn_c__Wmissing_format_attribute=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wmissing_format_attribute" >&5 printf "%s\n" "$gl_cv_warn_c__Wmissing_format_attribute" >&6; } if test "x$gl_cv_warn_c__Wmissing_format_attribute" = xyes then : as_fn_append WARN_CFLAGS " -Wmissing-format-attribute" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wstrict-overflow" >&5 printf %s "checking whether C compiler handles -Wstrict-overflow... " >&6; } if test ${gl_cv_warn_c__Wstrict_overflow+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wstrict-overflow" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wstrict_overflow=yes else case e in #( e) gl_cv_warn_c__Wstrict_overflow=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wstrict_overflow" >&5 printf "%s\n" "$gl_cv_warn_c__Wstrict_overflow" >&6; } if test "x$gl_cv_warn_c__Wstrict_overflow" = xyes then : as_fn_append WARN_CFLAGS " -Wstrict-overflow" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wsuggest-attribute=const" >&5 printf %s "checking whether C compiler handles -Wsuggest-attribute=const... " >&6; } if test ${gl_cv_warn_c__Wsuggest_attribute_const+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsuggest-attribute=const" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wsuggest_attribute_const=yes else case e in #( e) gl_cv_warn_c__Wsuggest_attribute_const=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wsuggest_attribute_const" >&5 printf "%s\n" "$gl_cv_warn_c__Wsuggest_attribute_const" >&6; } if test "x$gl_cv_warn_c__Wsuggest_attribute_const" = xyes then : as_fn_append WARN_CFLAGS " -Wsuggest-attribute=const" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wsuggest-attribute=pure" >&5 printf %s "checking whether C compiler handles -Wsuggest-attribute=pure... " >&6; } if test ${gl_cv_warn_c__Wsuggest_attribute_pure+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsuggest-attribute=pure" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Wsuggest_attribute_pure=yes else case e in #( e) gl_cv_warn_c__Wsuggest_attribute_pure=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wsuggest_attribute_pure" >&5 printf "%s\n" "$gl_cv_warn_c__Wsuggest_attribute_pure" >&6; } if test "x$gl_cv_warn_c__Wsuggest_attribute_pure" = xyes then : as_fn_append WARN_CFLAGS " -Wsuggest-attribute=pure" fi # Enable lint checks, for coverage/static-analyzers. # Check whether --enable-lint was given. if test ${enable_lint+y} then : enableval=$enable_lint; case $enableval in yes|no) ;; *) as_fn_error $? "bad value $enableval for lint option" "$LINENO" 5 ;; esac use_lint=$enableval else case e in #( e) use_lint=no ;; esac fi if test "$use_lint" = yes ; then printf "%s\n" "#define lint 1" >>confdefs.h fi ## Add --enable-werror option to ./configure, ## To enable/disable treating compiler warnings as errors. ## If not specified AND we're compiling from .git repository, ## enable this automatically. # Check whether --enable-werror was given. if test ${enable_werror+y} then : enableval=$enable_werror; case $enableval in yes|no) ;; *) as_fn_error $? "bad value $enableval for werror option" "$LINENO" 5 ;; esac werror=$enableval else case e in #( e) test -d "$srcdir"/.git \ && ! test -f "$srcdir"/.tarball-version \ && werror=yes ;; esac fi if test "$werror" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5 printf %s "checking whether C compiler handles -Werror... " >&6; } if test ${gl_cv_warn_c__Werror+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_compiler_FLAGS="$CFLAGS" as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gl_cv_warn_c__Werror=yes else case e in #( e) gl_cv_warn_c__Werror=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$gl_saved_compiler_FLAGS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5 printf "%s\n" "$gl_cv_warn_c__Werror" >&6; } if test "x$gl_cv_warn_c__Werror" = xyes then : as_fn_append WERROR_CFLAGS " -Werror" fi fi ## Test for CygWin hosts - these have a broken 'strtold()' implementation: ## calling strtold("4\t5",NULL) returns "e+9999", ## whereas every other (sane) system returns "4" and stops at the whitespace. case "$host" in *-cygwin) have_broken_strtold=yes ;; esac if test "x$have_broken_strtold" = "xyes" ; then printf "%s\n" "#define HAVE_BROKEN_STRTOLD 1" >>confdefs.h fi ## Look for OpenBSD pledge(2) ac_fn_c_check_func "$LINENO" "pledge" "ac_cv_func_pledge" if test "x$ac_cv_func_pledge" = xyes then : printf "%s\n" "#define HAVE_PLEDGE 1" >>confdefs.h fi ## Check for bash-completion using pkg-config ## ./configure --with-bash-completion-dir=[no|local|global|PATH] . ## See README for details. # Check whether --with-bash-completion-dir was given. if test ${with_bash_completion_dir+y} then : withval=$with_bash_completion_dir; else case e in #( e) with_bash_completion_dir=local ;; esac fi if test "x$with_bash_completion_dir" = "xlocal" ; then bashcompdir="$datarootdir/${PACKAGE}/bash-completion.d" elif test "x$with_bash_completion_dir" = "xglobal"; then if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PKG_CONFIG+y} then : printf %s "(cached) " >&6 else case e in #( e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 printf "%s\n" "$PKG_CONFIG" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} then : printf %s "(cached) " >&6 else case e in #( e) case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi if test -z "$PKG_CONFIG"; then as_fn_error $? "pkg-config not found" "$LINENO" 5 fi if test -n "$bashcompdir"; then pkg_cv_bashcompdir="$bashcompdir" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bash-completion\""; } >&5 ($PKG_CONFIG --exists --print-errors "bash-completion") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_bashcompdir=`$PKG_CONFIG --variable="completionsdir" "bash-completion" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi bashcompdir=$pkg_cv_bashcompdir if test "x$bashcompdir" = x"" then : bashcompdir="$datarootdir/${PACKAGE}/bash-completion.d" fi else # either 'no', or a user-specified custom DIR - use it. bashcompdir="$with_bash_completion_dir" fi if test "x$with_bash_completion_dir" != "xno"; then ENABLE_BASH_COMPLETION_TRUE= ENABLE_BASH_COMPLETION_FALSE='#' else ENABLE_BASH_COMPLETION_TRUE='#' ENABLE_BASH_COMPLETION_FALSE= fi ## Prefer gsort over sort to get GNU coreutils version on non-GNU ## userspace OSes if available. for ac_prog in gsort sort do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_SORT_PATH+y} then : printf %s "(cached) " >&6 else case e in #( e) case $SORT_PATH in [\\/]* | ?:[\\/]*) ac_cv_path_SORT_PATH="$SORT_PATH" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_SORT_PATH="$as_dir$ac_word$ac_exec_ext" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac ;; esac fi SORT_PATH=$ac_cv_path_SORT_PATH if test -n "$SORT_PATH"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SORT_PATH" >&5 printf "%s\n" "$SORT_PATH" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$SORT_PATH" && break done test -n "$SORT_PATH" || SORT_PATH="as_fn_error $? "could not find a sort program" "$LINENO" 5" printf "%s\n" "#define SORT_PATH \"$SORT_PATH\"" >>confdefs.h ## ## Check if the system's sort support "-s" (stable) sort. ## 'sort' from GNU Coreutils, FreeBSD, OpenBSD, Busybox support it. ## DilOS (illumos/opensolaris) does not. ## if ${SORT_PATH} -s < /dev/null > /dev/null 2>/dev/null ; then printf "%s\n" "#define HAVE_STABLE_SORT 1" >>confdefs.h fi ## ## Check if the system's sort supports "-z" for NUL line delimiters ## if ${SORT_PATH} -z < /dev/null > /dev/null 2>/dev/null ; then printf "%s\n" "#define HAVE_ZERO_SORT 1" >>confdefs.h fi ## Are we building from git checked-out sources? ## (if not, assume it's from a tarball) ## This is used in "Makefile.am" to avoid re-generating the manpage ## when building from tarballs. if test -d "$srcdir/.git"; then BUILD_FROM_GIT_TRUE= BUILD_FROM_GIT_FALSE='#' else BUILD_FROM_GIT_TRUE='#' BUILD_FROM_GIT_FALSE= fi ## Perl is needed for some tests (but not required for building) ## 'PERL_FOUND' is used in Makefile.am to skip some tests. # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_PERL+y} then : printf %s "(cached) " >&6 else case e in #( e) case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL="$PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac ;; esac fi PERL=$ac_cv_path_PERL if test -n "$PERL"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 printf "%s\n" "$PERL" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test -n "$PERL"; then PERL_FOUND_TRUE= PERL_FOUND_FALSE='#' else PERL_FOUND_TRUE='#' PERL_FOUND_FALSE= fi # i18n support from GNU gettext. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 printf %s "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test ${enable_nls+y} then : enableval=$enable_nls; USE_NLS=$enableval else case e in #( e) USE_NLS=yes ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 printf "%s\n" "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.19 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_MSGFMT+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 printf "%s\n" "$MSGFMT" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_GMSGFMT+y} then : printf %s "(cached) " >&6 else case e in #( e) case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 printf "%s\n" "$GMSGFMT" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_XGETTEXT+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 printf "%s\n" "$XGETTEXT" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_MSGMERGE+y} then : printf %s "(cached) " >&6 else case e in #( e) case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 printf "%s\n" "$MSGMERGE" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 printf %s "checking for CFPreferencesCopyAppValue... " >&6; } if test ${gt_cv_func_CFPreferencesCopyAppValue+y} then : printf %s "(cached) " >&6 else case e in #( e) gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_func_CFPreferencesCopyAppValue=yes else case e in #( e) gt_cv_func_CFPreferencesCopyAppValue=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; } if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y} then : printf %s "(cached) " >&6 else case e in #( e) gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { CFLocaleCopyPreferredLanguages(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : gt_cv_func_CFLocaleCopyPreferredLanguages=yes else case e in #( e) gt_cv_func_CFLocaleCopyPreferredLanguages=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 printf %s "checking for GNU gettext in libc... " >&6; } if eval test \${$gt_func_gnugettext_libc+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main (void) { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$gt_func_gnugettext_libc=yes" else case e in #( e) eval "$gt_func_gnugettext_libc=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi eval ac_res=\$$gt_func_gnugettext_libc { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then gl_saved_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 printf %s "checking for iconv... " >&6; } if test ${am_cv_func_iconv+y} then : printf %s "(cached) " >&6 else case e in #( e) am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_saved_LIBS" fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 printf "%s\n" "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 printf %s "checking for working iconv... " >&6; } if test ${am_cv_func_iconv_works+y} then : printf %s "(cached) " >&6 else case e in #( e) gl_saved_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do if test "$cross_compiling" = yes then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif int main (void) { int result = 0; /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from successful returns. This is even documented in */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against macOS 14.4 bug: Failures are not distinguishable from successful returns. POSIX:2018 says: "The iconv() function shall ... return the number of non-identical conversions performed." But here, the conversion always does transliteration (the suffixes "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and does not report when it does a non-identical conversion. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); /* Here: With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ. With musl libc, NetBSD 10, Solaris 11: res == 1. With macOS 14.4: res == 0, output is "l". */ if (res == 0) result |= 2; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 4; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 8; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 16; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 32; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi test "$am_cv_func_iconv_works" = no || break done LIBS="$gl_saved_LIBS" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 printf "%s\n" "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 printf %s "checking how to link with libiconv... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 printf "%s\n" "$LIBICONV" >&6; } else CPPFLAGS="$gl_saved_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" # Check whether --with-libintl-prefix was given. if test ${with_libintl_prefix+y} then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" additional_libdir2="$withval/$acl_libdirstem2" additional_libdir3="$withval/$acl_libdirstem3" fi fi fi if test "X$additional_libdir2" = "X$additional_libdir"; then additional_libdir2= fi if test "X$additional_libdir3" = "X$additional_libdir"; then additional_libdir3= fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= HAVE_LIBINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do if test "X$found_dir" = "X"; then eval dir=\$$additional_libdir_variable if test -n "$dir"; then if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi fi done fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem3 | */$acl_libdirstem3/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then saved_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$saved_libdir" for dep in $dependency_libs; do case "$dep" in -L*) dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then haveit= if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dep=`echo "X$dep" | sed -e 's/^X-l//'` if test "X$dep" != Xc \ || case $host_os in linux* | gnu* | k*bsd*-gnu) false ;; *) true ;; esac; then names_next_round="$names_next_round $dep" fi ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_saved_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 printf %s "checking for GNU gettext in libintl... " >&6; } if eval test \${$gt_func_gnugettext_libintl+y} then : printf %s "(cached) " >&6 else case e in #( e) gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main (void) { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$gt_func_gnugettext_libintl=yes" else case e in #( e) eval "$gt_func_gnugettext_libintl=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main (void) { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" ;; esac fi eval ac_res=\$$gt_func_gnugettext_libintl { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 printf %s "checking whether to use NLS... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 printf "%s\n" "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 printf %s "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 printf "%s\n" "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 printf %s "checking how to link with libintl... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 printf "%s\n" "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" ac_config_files="$ac_config_files Makefile po/Makefile.in" # This is needed when building outside the source dir # with --disable-dependency-tracking. # Inspired by sed's https://bugs.gnu.org/25371 as_dir=lib; as_fn_mkdir_p as_dir=src; as_fn_mkdir_p as_dir=doc; as_fn_mkdir_p as_dir=tests; as_fn_mkdir_p cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # 'ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 printf %s "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 printf "%s\n" "done" >&6; } case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; esac if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi # Check whether --enable-year2038 was given. if test ${enable_year2038+y} then : enableval=$enable_year2038; fi if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi CONFIG_INCLUDE=config.h gl_libobjs= gl_ltlibobjs= gl_libobjdeps= gl_libdatamash_libobjs= gl_libdatamash_ltlibobjs= gl_libdatamash_libobjdeps= if test -n "$gl_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' sed_dirname1='s,//*,/,g' sed_dirname2='s,\(.\)/$,\1,' sed_dirname3='s,[^/]*$,,' sed_basename1='s,.*/,,' for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs lib/$i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs lib/$i.lo" i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"` i_base=`echo "$i" | sed -e "$sed_basename1"` gl_libdatamash_libobjs="$gl_libdatamash_libobjs lib/$i_dir""libdatamash_a-$i_base.$ac_objext" gl_libdatamash_ltlibobjs="$gl_libdatamash_ltlibobjs lib/$i_dir""libdatamash_la-$i_base.lo" gl_libobjdeps="$gl_libobjdeps lib/$i_dir\$(DEPDIR)/$i_base.Po" gl_libdatamash_libobjdeps="$gl_libdatamash_libobjdeps lib/$i_dir\$(DEPDIR)/libdatamash_a-$i_base.Po" done fi gl_LIBOBJS=$gl_libobjs gl_LTLIBOBJS=$gl_ltlibobjs gl_LIBOBJDEPS=$gl_libobjdeps gl_libdatamash_LIBOBJS=$gl_libdatamash_libobjs gl_libdatamash_LTLIBOBJS=$gl_libdatamash_ltlibobjs gl_libdatamash_LIBOBJDEPS=$gl_libdatamash_libobjdeps gltests_libobjs= gltests_ltlibobjs= gltests_libobjdeps= gltests_libdatamash_libobjs= gltests_libdatamash_ltlibobjs= gltests_libdatamash_libobjdeps= if test -n "$gltests_LIBOBJS"; then # Remove the extension. sed_drop_objext='s/\.o$//;s/\.obj$//' sed_dirname1='s,//*,/,g' sed_dirname2='s,\(.\)/$,\1,' sed_dirname3='s,[^/]*$,,' sed_basename1='s,.*/,,' for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs lib/$i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs lib/$i.lo" i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"` i_base=`echo "$i" | sed -e "$sed_basename1"` gltests_libdatamash_libobjs="$gltests_libdatamash_libobjs lib/$i_dir""libdatamash_a-$i_base.$ac_objext" gltests_libdatamash_ltlibobjs="$gltests_libdatamash_ltlibobjs lib/$i_dir""libdatamash_la-$i_base.lo" gltests_libobjdeps="$gltests_libobjdeps lib/$i_dir\$(DEPDIR)/$i_base.Po" gltests_libdatamash_libobjdeps="$gltests_libdatamash_libobjdeps lib/$i_dir\$(DEPDIR)/libdatamash_a-$i_base.Po" done fi gltests_LIBOBJS=$gltests_libobjs gltests_LTLIBOBJS=$gltests_ltlibobjs gltests_LIBOBJDEPS=$gltests_libobjdeps gltests_libdatamash_LIBOBJS=$gltests_libdatamash_libobjs gltests_libdatamash_LTLIBOBJS=$gltests_libdatamash_ltlibobjs gltests_libdatamash_LIBOBJDEPS=$gltests_libdatamash_libobjdeps if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_FROM_GIT_TRUE}" && test -z "${BUILD_FROM_GIT_FALSE}"; then as_fn_error $? "conditional \"BUILD_FROM_GIT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${PERL_FOUND_TRUE}" && test -z "${PERL_FOUND_FALSE}"; then as_fn_error $? "conditional \"PERL_FOUND\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case e in #( e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac ;; esac fi # Reset variables that may have inherited troublesome values from # the environment. # IFS needs to be set, to space, tab, and newline, in precisely that order. # (If _AS_PATH_WALK were called with IFS unset, it would have the # side effect of setting IFS to empty, thus disabling word splitting.) # Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl IFS=" "" $as_nl" PS1='$ ' PS2='> ' PS4='+ ' # Ensure predictable behavior from utilities with locale-dependent output. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # We cannot yet rely on "unset" to work, but we need these variables # to be unset--not just set to an empty or harmless value--now, to # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct # also avoids known problems related to "unset" and subshell syntax # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH do eval test \${$as_var+y} \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done # Ensure that fds 0, 1, and 2 are open. if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null then : eval 'as_fn_append () { eval $1+=\$2 }' else case e in #( e) as_fn_append () { eval $1=\$$1\$2 } ;; esac fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null then : eval 'as_fn_arith () { as_val=$(( $* )) }' else case e in #( e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } ;; esac fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # Determine whether it's possible to make 'echo' print without a newline. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed # for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac # For backward compatibility with old third-party macros, we provide # the shell variables $as_echo and $as_echo_n. New code should use # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. as_echo='printf %s\n' as_echo_n='printf %s' rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" as_tr_sh="eval sed '$as_sed_sh'" # deprecated exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by GNU datamash $as_me 1.9, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_links="$ac_config_links" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ '$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration links: $config_links Configuration commands: $config_commands Report bugs to . GNU datamash home page: . General help using GNU software: ." _ACEOF ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ GNU datamash config.status 1.9 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" Copyright (C) 2023 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: '$1' Try '$0 --help' for more information.";; --help | --hel | -h ) printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: '$1' Try '$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX printf "%s\n" "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" GNUmakefile=$GNUmakefile # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to '$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with './config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with './config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script 'defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain ':'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is 'configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when '$srcdir' = '.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&5 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :L) # # CONFIG_LINK # if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then : else # Prefer the file from the source tree if names are identical. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then ac_source=$srcdir/$ac_source fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;} if test ! -r "$ac_source"; then as_fn_error $? "$ac_source: file not found" "$LINENO" 5 fi rm -f "$ac_file" # Try a relative symlink, then a hard link, then a copy. case $ac_source in [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; *) ac_rel_source=$ac_top_build_prefix$ac_source ;; esac ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || ln "$ac_source" "$ac_file" 2>/dev/null || cp -p "$ac_source" "$ac_file" || as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 fi ;; :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 printf "%s\n" "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. case $CONFIG_FILES in #( *\'*) : eval set x "$CONFIG_FILES" ;; #( *) : set x $CONFIG_FILES ;; #( *) : ;; esac shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`$as_dirname -- "$am_mf" || $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` am_filepart=`$as_basename -- "$am_mf" || $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` { echo "$as_me:$LINENO: cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles" >&5 (cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE=\"gmake\" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See 'config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} { am_mf=; unset am_mf;} { am_rc=; unset am_rc;} rm -f conftest-deps.mk } ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 printf "%s\n" "" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Configuration summary for $PACKAGE" >&5 printf "%s\n" " Configuration summary for $PACKAGE" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: version: $VERSION" >&5 printf "%s\n" " version: $VERSION" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: COMPILER: $CC" >&5 printf "%s\n" " COMPILER: $CC" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CFLAGS: $CFLAGS $WARN_CFLAGS $MINGW_CFLAGS" >&5 printf "%s\n" " CFLAGS: $CFLAGS $WARN_CFLAGS $MINGW_CFLAGS" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS: $CPPFLAGS" >&5 printf "%s\n" " CPPFLAGS: $CPPFLAGS" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LDFLAGS: $LDFLAGS" >&5 printf "%s\n" " LDFLAGS: $LDFLAGS" >&6; } # Show which sha* implementation is used # for hash functions (md5/sha*) if test "x$LIB_CRYPTO" = x ; then lib_crypto_desc="internal (gnulib)" else lib_crypto_desc="external ($LIB_CRYPTO)" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: md5/sha*: $lib_crypto_desc" >&5 printf "%s\n" " md5/sha*: $lib_crypto_desc" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 printf "%s\n" "" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Default installation directories:" >&5 printf "%s\n" " Default installation directories:" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: program: ${prefix}/bin/ " >&5 printf "%s\n" " program: ${prefix}/bin/ " >&6; } eval example_dir=${datarootdir}/${PACKAGE}/examples { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: examples: ${example_dir}" >&5 printf "%s\n" " examples: ${example_dir}" >&6; } if test "x$with_bash_completion_dir" != "xno" ; then eval bash_comp_dir=$bashcompdir else bash_comp_dir="Not installed" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: bash-comp: ${bash_comp_dir}" >&5 printf "%s\n" " bash-comp: ${bash_comp_dir}" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 printf "%s\n" "" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: To change installation path, re-run:" >&5 printf "%s\n" " To change installation path, re-run:" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ./configure --prefix NEW-PATH" >&5 printf "%s\n" " ./configure --prefix NEW-PATH" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 printf "%s\n" "" >&6; } datamash-1.9/configure.ac0000644000000000000000000001630014771573715011103 dnl Copyright (C) 2013-2021 Assaf Gordon dnl Copyright (C) 2022-2025 Timothy Rice dnl dnl This file is free software; as a special exception the author gives dnl unlimited permission to copy and/or distribute it, with or without dnl modifications, as long as this notice is preserved. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. AC_INIT([GNU datamash], [m4_esyscmd([build-aux/git-version-gen .tarball-version])], [bug-datamash@gnu.org], [], [https://www.gnu.org/software/datamash]) dnl Must come before AM_INIT_AUTOMAKE. AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([ 1.11.1 parallel-tests subdir-objects ]) # Minimum Autoconf version required. AC_PREREQ([2.69]) # Where to generate output; srcdir location. AC_CONFIG_HEADERS([config.h:config.in])dnl Keep filename to 8.3 for MS-DOS. AC_CONFIG_SRCDIR([src/datamash.c]) dnl Checks for programs. # We need a C compiler. AC_PROG_CC AM_PROG_CC_C_O AC_PROG_CPP # Since we use gnulib: gl_EARLY must be called as soon as possible after # the C compiler is checked. The others could be later, but we just # keep everything together. gl_EARLY gl_INIT # Add extra compilation warnings. These will only apply to datamash.c not to # any gnulib modules). See $(WARN_CFLAGS) in Makefile.am gl_WARN_ADD([-Wall]) gl_WARN_ADD([-Wextra]) gl_WARN_ADD([-Wformat-security]) gl_WARN_ADD([-Wswitch-enum]) gl_WARN_ADD([-Wswitch-default]) gl_WARN_ADD([-Wunused-parameter]) gl_WARN_ADD([-Wfloat-equal]) gl_WARN_ADD([-fdiagnostics-show-option]) gl_WARN_ADD([-funit-at-a-time]) gl_WARN_ADD([-Wmissing-format-attribute]) gl_WARN_ADD([-Wstrict-overflow]) gl_WARN_ADD([-Wsuggest-attribute=const]) gl_WARN_ADD([-Wsuggest-attribute=pure]) AC_SUBST([WARN_CFLAGS]) # Enable lint checks, for coverage/static-analyzers. AC_ARG_ENABLE([lint], [AS_HELP_STRING([--enable-lint],[enable lint])], [case $enableval in yes|no) ;; *) AC_MSG_ERROR([bad value $enableval for lint option]) ;; esac use_lint=$enableval], [use_lint=no] ) if test "$use_lint" = yes ; then AC_DEFINE([lint], [1], [Define to 1 if the compiler is checking for lint.]) fi ## Add --enable-werror option to ./configure, ## To enable/disable treating compiler warnings as errors. ## If not specified AND we're compiling from .git repository, ## enable this automatically. AC_ARG_ENABLE([werror], [AS_HELP_STRING([--enable-werror], [treat compiler warnings as errors (for developers)])], [case $enableval in yes|no) ;; *) AC_MSG_ERROR([bad value $enableval for werror option]) ;; esac werror=$enableval], [test -d "$srcdir"/.git \ && ! test -f "$srcdir"/.tarball-version \ && werror=yes] ) if test "$werror" = yes; then gl_WARN_ADD([-Werror], [WERROR_CFLAGS]) AC_SUBST([WERROR_CFLAGS]) fi ## Test for CygWin hosts - these have a broken 'strtold()' implementation: ## calling strtold("4\t5",NULL) returns "e+9999", ## whereas every other (sane) system returns "4" and stops at the whitespace. case "$host" in *-cygwin) have_broken_strtold=yes ;; esac if test "x$have_broken_strtold" = "xyes" ; then AC_DEFINE([HAVE_BROKEN_STRTOLD],[1], [Define to 1 if strtold does not work properly (e.g. in cygwin)]) fi ## Look for OpenBSD pledge(2) AC_CHECK_FUNCS([pledge]) ## Check for bash-completion using pkg-config ## ./configure --with-bash-completion-dir=[no|local|global|PATH] . ## See README for details. AC_ARG_WITH([bash-completion-dir], AS_HELP_STRING([--with-bash-completion-dir[=PATH]], [Where to install the bash auto-completion script: no|local|global|PATH. @<:@default=local@:>@]), [], [with_bash_completion_dir=local]) if test "x$with_bash_completion_dir" = "xlocal" ; then bashcompdir="$datarootdir/${PACKAGE}/bash-completion.d" elif test "x$with_bash_completion_dir" = "xglobal"; then PKG_CHECK_VAR(bashcompdir, [bash-completion], [completionsdir], , bashcompdir="$datarootdir/${PACKAGE}/bash-completion.d") else # either 'no', or a user-specified custom DIR - use it. bashcompdir="$with_bash_completion_dir" fi AC_SUBST(bashcompdir) AM_CONDITIONAL([ENABLE_BASH_COMPLETION], [test "x$with_bash_completion_dir" != "xno"]) ## Prefer gsort over sort to get GNU coreutils version on non-GNU ## userspace OSes if available. AC_PATH_PROGS([SORT_PATH], [gsort sort], [AC_MSG_ERROR([could not find a sort program])]) AC_DEFINE_UNQUOTED([SORT_PATH], "$SORT_PATH", [Absolute path to sort command]) ## ## Check if the system's sort support "-s" (stable) sort. ## 'sort' from GNU Coreutils, FreeBSD, OpenBSD, Busybox support it. ## DilOS (illumos/opensolaris) does not. ## if ${SORT_PATH} -s < /dev/null > /dev/null 2>/dev/null ; then AC_DEFINE([HAVE_STABLE_SORT],[1], [Define to 1 if sort on this system supports -s for stable sorting]) fi ## ## Check if the system's sort supports "-z" for NUL line delimiters ## if ${SORT_PATH} -z < /dev/null > /dev/null 2>/dev/null ; then AC_DEFINE([HAVE_ZERO_SORT],[1], [Define to 1 if sort on this system supports -z for NUL line delimiters]) fi ## Are we building from git checked-out sources? ## (if not, assume it's from a tarball) ## This is used in "Makefile.am" to avoid re-generating the manpage ## when building from tarballs. AM_CONDITIONAL([BUILD_FROM_GIT], [test -d "$srcdir/.git"]) ## Perl is needed for some tests (but not required for building) ## 'PERL_FOUND' is used in Makefile.am to skip some tests. AC_PATH_PROG([PERL], [perl]) AC_SUBST([PERL]) AM_CONDITIONAL([PERL_FOUND],[test -n "$PERL"]) # i18n support from GNU gettext. AM_GNU_GETTEXT_VERSION([0.19.4]) AM_GNU_GETTEXT([external]) AC_CONFIG_FILES([Makefile po/Makefile.in ]) # This is needed when building outside the source dir # with --disable-dependency-tracking. # Inspired by sed's https://bugs.gnu.org/25371 AS_MKDIR_P([lib]) AS_MKDIR_P([src]) AS_MKDIR_P([doc]) AS_MKDIR_P([tests]) AC_OUTPUT dnl dnl Report Configuration dnl AC_MSG_RESULT([]) AC_MSG_RESULT([ Configuration summary for $PACKAGE]) AC_MSG_RESULT([ version: $VERSION]) AC_MSG_RESULT([ COMPILER: $CC]) AC_MSG_RESULT([ CFLAGS: $CFLAGS $WARN_CFLAGS $MINGW_CFLAGS]) AC_MSG_RESULT([ CPPFLAGS: $CPPFLAGS]) AC_MSG_RESULT([ LDFLAGS: $LDFLAGS]) # Show which sha* implementation is used # for hash functions (md5/sha*) if test "x$LIB_CRYPTO" = x ; then lib_crypto_desc="internal (gnulib)" else lib_crypto_desc="external ($LIB_CRYPTO)" fi AC_MSG_RESULT([ md5/sha*: $lib_crypto_desc]) AC_MSG_RESULT([]) AC_MSG_RESULT([ Default installation directories:]) AC_MSG_RESULT([ program: ${prefix}/bin/ ]) eval example_dir=${datarootdir}/${PACKAGE}/examples AC_MSG_RESULT([ examples: ${example_dir}]) if test "x$with_bash_completion_dir" != "xno" ; then eval bash_comp_dir=$bashcompdir else bash_comp_dir="Not installed" fi AC_MSG_RESULT([ bash-comp: ${bash_comp_dir}]) AC_MSG_RESULT([]) AC_MSG_RESULT([ To change installation path, re-run:]) AC_MSG_RESULT([ ./configure --prefix NEW-PATH]) AC_MSG_RESULT([]) datamash-1.9/contrib/0000755000000000000000000000000014774035552010330 5datamash-1.9/contrib/bash-completion/0000755000000000000000000000000014774035552013414 5datamash-1.9/contrib/bash-completion/datamash0000644000000000000000000000657514771573715015063 #!/bin/bash # datamash bash-completion # ## Copyright (C) 2014-2021 Assaf Gordon ## Copyright (C) 2022-2025 Timothy Rice ## ## This file is part of GNU Datamash. ## ## This file is free software; as a special exception the author gives ## unlimited permission to copy and/or distribute it, with or without ## modifications, as long as this notice is preserved. ## ## This program is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY, to the extent permitted by law; without even the ## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ## _datamash () { local cur prev words cword split=false _get_comp_words_by_ref cur prev words cword local modes="check crosstab groupby reverse rmdup transpose" local modes_re=${modes// /|} #NOTE: do not change the spaces (or indentation or backslashes) # or the regex will fail. local groupby_ops="sum min max absmin absmax range \ count first last rand \ unique uniq collapse countunique \ mean geomean harmmean trimmean median q1 q3 iqr perc mode antimode \ pstdev sstdev pvar svar mad madraw \ pskew sskew pkurt skurt dpo jarque \ pcov scov ppearson spearson dotprod" local groupby_ops_re=${groupby_ops// /|} local line_ops="base64 debase64 md5 sha1 sha224 sha256 sha384 sha512 \ round floor ceil trunc frac bin strbin dirname basename extname barename \ getnum cut echo" local line_ops_re=${line_ops// /|} local datamash_short_options="-c -C -f -g -h -H -i -s -t -R -V -W -z" local datamash_long_options=" --skip-comments --full --group --header-in --header-out --headers --vnlog --ignore-case --sort --no-strict --filler --format --field-separator --narm --output-delimiter --round --whitespace --zero-terminated --collapse-delimiter --help --version" local all_ops_re="$modes_re|$groupby_ops_re|$line_ops_re" # IF the previous word as an operator, the next parameter should # be a numeric value, so don't offer any completion. if [[ "$prev" =~ $all_ops_re ]] ; then return 0 fi # Based on current parameteres, check which mode we're in. local suggest_modes=1 local suggest_groupby_ops=1 local suggest_line_ops=1 local i=$((cword-1)) while [ "$i" -gt 0 ] ; do local tmp_word=${words[$i]} if [[ "$tmp_word" =~ $modes_re ]] ; then suggest_modes=0 case "$tmp_word" in crosstab|groupby) suggest_line_ops=0 esac fi if [[ "$tmp_word" =~ $groupby_ops_re ]]; then suggest_modes=0 suggest_line_ops=0 fi # if the user specified -g, we're in "groupby" mode if [[ "$tmp_word" = "-g" ]] ; then suggest_modes=0 suggest_line_ops=0 fi if [[ "$tmp_word" =~ $line_ops_re ]]; then suggest_modes=0 suggest_groupby_ops=0 fi i=$((i-1)) done # Options trump everything (if the user typed '-') if [[ "$cur" = "-"* ]] ; then COMPREPLY=( $(compgen -W \ "$datamash_short_options $datamash_long_options" -- "$cur") ) return 0 fi # suggest other possibilities local suggest="" if [ "$suggest_modes" -eq 1 ] ; then suggest="$modes" fi if [ "$suggest_groupby_ops" -eq 1 ] ; then suggest="$suggest $groupby_ops" fi if [ "$suggest_line_ops" -eq 1 ] ; then suggest="$suggest $line_ops" fi COMPREPLY=( $(compgen -W "$suggest" -- "$cur") ) return 0 } complete -F _datamash datamash # ex: ts=4 sw=4 et filetype=sh datamash-1.9/datamash.10000644000000000000000000004423014774035523010455 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .TH DATAMASH "1" "April 2025" "datamash 1.9" "User Commands" .SH NAME datamash - command-line calculations .SH SYNOPSIS .B datamash [\fI\,OPTION\/\fR] \fI\,op \/\fR[\fI\,fld\/\fR] [\fI\,op fld \/\fR...] .SH DESCRIPTION Performs numeric/string operations on input from stdin. .PP \&'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. \&'fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the \fB\-H\fR or \fB\-\-header\-in\fR options. Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2\-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). .SS "Primary operations:" .IP groupby, crosstab, transpose, reverse, check .SS "Line-Filtering operations:" .IP rmdup .SS "Per-Line operations:" .IP base64, debase64, md5, sha1, sha224, sha256, sha384, sha512, bin, strbin, round, floor, ceil, trunc, frac, dirname, basename, barename, extname, getnum, cut .SS "Numeric Grouping operations:" .IP sum, min, max, absmin, absmax, range .SS "Textual/Numeric Grouping operations:" .IP count, first, last, rand, unique, collapse, countunique .SS "Statistical Grouping operations:" .IP mean, geomean, harmmean, trimmean, median, q1, q3, iqr, perc, mode, antimode, pstdev, sstdev, pvar, svar, ms, rms, mad, madraw, pskew, sskew, pkurt, skurt, dpo, jarque, scov, pcov, spearson, ppearson, dotprod .SH OPTIONS .SS "Grouping Options:" .TP \fB\-C\fR, \fB\-\-skip\-comments\fR skip comment lines (starting with '#' or ';' and optional whitespace) .TP \fB\-f\fR, \fB\-\-full\fR print entire input line before op results (default: print only the grouped keys) .IP This option is only sensible for linewise operations. Other uses are deprecated and will be removed in a future version of GNU Datamash. .TP \fB\-g\fR, \fB\-\-group\fR=\fI\,X[\/\fR,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' .TP \fB\-\-header\-in\fR first input line is column headers .TP \fB\-\-header\-out\fR print column headers as first line .TP \fB\-H\fR, \fB\-\-headers\fR same as '\-\-header\-in \fB\-\-header\-out\fR' .TP \fB\-\-vnlog\fR Reads and writes data in the vnlog format. Implies \fB\-C\fR \fB\-H\fR \fB\-W\fR .TP \fB\-i\fR, \fB\-\-ignore\-case\fR ignore upper/lower case when comparing text; this affects grouping, and string operations .TP \fB\-s\fR, \fB\-\-sort\fR sort the input before grouping; this removes the need to manually pipe the input through 'sort' .TP \fB\-S\fR, \fB\-\-seed\fR set a seed for operations that use randomization .TP \fB\-c\fR, \fB\-\-collapse\-delimiter\fR=\fI\,X\/\fR use X to separate elements in collapse and unique lists (default: comma) .SS "File Operation Options:" .TP \fB\-\-no\-strict\fR allow lines with varying number of fields .TP \fB\-\-filler\fR=\fI\,X\/\fR fill missing values with X (default N/A) .SS "General Options:" .TP \fB\-t\fR, \fB\-\-field\-separator\fR=\fI\,X\/\fR use X instead of TAB as field delimiter .TP \fB\-\-format\fR=\fI\,FORMAT\/\fR print numeric values with printf style floating\-point FORMAT. .TP \fB\-\-output\-delimiter\fR=\fI\,X\/\fR use X instead as output field delimiter (default: use same delimiter as \fB\-t\fR/\-W) .TP \fB\-\-narm\fR skip NA/NaN values .TP \fB\-R\fR, \fB\-\-round\fR=\fI\,N\/\fR round numeric output to N decimal places .TP \fB\-W\fR, \fB\-\-whitespace\fR use whitespace (one or more spaces and/or tabs) for field delimiters .TP \fB\-z\fR, \fB\-\-zero\-terminated\fR end lines with 0 byte, not newline .TP \fB\-\-sort\-cmd=\fR/path/to/sort Alternative sort(1) to use. .TP \fB\-h\fR, \fB\-\-help\fR display this help and exit .TP \fB\-V\fR, \fB\-\-version\fR output version information and exit .PP .SH AVAILABLE OPERATIONS .PP .SS "Primary Operations" Primary operations affect the way the file is processed. If used, the primary operation must be listed first. If primary operation is not listed the entire file is processed - either line-by-line (for 'per-line' operations) or all lines as one group (for grouping operations). See Examples section below. .PP .TP "\w'\fBcountunique\fR'u+1n" .B groupby X,Y,... op fld ... group the file by given fields. Equivalent to option '\-g'. For each group perform operation \fBop\fR on field \fBfld\fR. .TP .B crosstab X,Y [op fld ...] cross-tabulate a file by two fields (cross-tabulation is also known as pivot tables). If no operation is specified, counts how many incidents exist of X,Y. .TP .B transpose transpose rows, columns of the input file .TP .B reverse reverse field order in each line .TP .B check [N lines] [N fields] verify the input file has same number of fields in all lines, or the expected number of lines/fields. number of lines and fields are printed to STDOUT. Exits with non-zero code and prints the offending line if there's a mismatch in the number of lines/ fields. .PP .SS "Line-Filtering operations" .TP "\w'\fBcountunique\fR'u+1n" .B rmdup remove lines with duplicated key value .PP .SS "Per-Line operations" .TP "\w'\fBcountunique\fR'u+1n" .B base64 Encode the field as base64 .TP .B debase64 Decode the field as base64, exit with error if invalid base64 string .TP .B md5/sha1/sha224/sha256/sha384/sha512 Calculate md5/sha1/sha224/sha256/sha384/sha512 hash of the field value .TP .B bin[:BUCKET-SIZE] bin numeric values into buckets of size \fBBUCKET-SIZE\fR (defaults to 100). .TP .B strbin[:BUCKET-SIZE] hashes the input and returns a numeric integer value between zero and \fBBUCKET-SIZE\fB (defaults to 10). .TP .B round/floor/ceil/trunc/frac numeric rounding operations. round (round half away from zero), floor (round down), ceil (ceiling, round up), trunc (truncate, round towards zero), frac (fraction, return fraction part of a decimal-point value). .TP .B dirname/basename extract the directory name and the base file name from a given string (same as to dirname(1) and basename(1)). .TP .B extname extract the extension of the file name (without the '.'). .TP .B barename extract the base file name without the extension. .TP .B getnum[:TYPE] extract a number from the field. \fBTYPE\fR is optional single letter option n/i/d/p/h/o (see examples below). .TP .B cut/echo copy input field to output field (similar to cut(1)). The echo command is simply an alias to cut. .PP .SS "Numeric Grouping operations" .TP "\w'\fBcountunique\fR'u+1n" .B sum sum the of values .TP .B min minimum value .TP .B max maximum value .TP .B absmin minimum of the absolute values .TP .B absmax maximum of the absolute values .TP .B range the values range (max-min) .PP .SS "Textual/Numeric Grouping operations" .TP "\w'\fBcountunique\fR'u+1n" .B count count number of elements in the group .TP .B first the first value of the group .TP .B last the last value of the group .TP .B rand one random value from the group .TP .B unique/uniq comma-separated sorted list of unique values The uniq command is simply an alias to unique. .TP .B collapse comma-separated list of all input values .TP .B countunique number of unique/distinct values .PP .SS "Statistical Grouping operations" A \fBp/s\fR prefix indicates the variant: \fBp\fRopulation or \fBs\fRample. Typically, the \fBs\fRample variant is equivalent with \fBGNU R\fR's internal functions (e.g datamash's \fBsstdev\fR operation is equivalent to R's \fBsd()\fR function). .PP .TP "\w'\fBcountunique\fR'u+1n" .B mean mean of the values .TP .B geomean geometric mean of the values .TP .B harmmean harmonic mean of the values .TP .B trimmean[:PERCENT] trimmed mean of the values. \fBPERCENT\fR should be between 0 and 0.5. (\fBtrimmean:0\fR is equivalent to \fBmean\fR. \fBtrimmean:0.5\fR is equivalent to \fBmedian\fR). .TP .B ms mean square of the values .TP .B rms root mean square of the values .TP .B median median value .TP .B q1 1st quartile value .TP .B q3 3rd quartile value .TP .B iqr inter-quartile range .TP .B perc[:PERCENTILE] percentile value \fBPERCENTILE\fR (defaults to 95). .TP .B mode mode value (most common value) .TP .B antimode anti-mode value (least common value) .TP .B pstdev/sstdev population/sample standard deviation .TP .B pvar/svar population/sample variance .TP .B mad median absolute deviation, scaled by constant 1.4826 for normal distributions .TP .B madraw median absolute deviation, unscaled .TP .B pskew/sskew skewness of the group values x reported by 'sskew' and 'pskew' operations: .nf x > 0 - positively skewed / skewed right 0 > x - negatively skewed / skewed left x > 1 - highly skewed right 1 > x > 0.5 - moderately skewed right 0.5 > x > \-0.5 - approximately symmetric \-0.5 > x > \-1 - moderately skewed left \-1 > x - highly skewed left .fi .TP .B pkurt/skurt excess Kurtosis of the group .TP .B jarque/dpo p-value of the Jarque-Beta (\fBjarque\fR) and D'Agostino-Pearson Omnibus (\fBdpo\fR) tests for normality: null hypothesis is normality; low p-Values indicate non-normal data; high p-Values indicate null-hypothesis cannot be rejected. .TP .B pcov/scov [X:Y] covariance of fields X and Y .TP .B ppearson/spearson [X:Y] Pearson product-moment correlation coefficient [Pearson's R] of fields X and Y .TP .B dotprod [X:Y] Scalar product (aka dot product or Euclidean inner product) of fields X and Y .SH EXAMPLES .SS "Basic usage" Print the sum and the mean of values from field 1: .PP .nf .RS $ seq 10 | \fBdatamash\fR sum 1 mean 1 55 5.5 .RE .fi .PP Group input based on field 1, and sum values (per group) on field 2: .PP .nf .RS $ cat example.txt A 10 A 5 B 9 B 11 $ \fBdatamash\fR \-g 1 sum 2 < example.txt A 15 B 20 $ \fBdatamash\fR groupby 1 sum 2 < example.txt A 15 B 20 .RE .fi .PP Unsorted input must be sorted (with '\-s'): .PP .nf .RS $ cat example.txt A 10 C 4 B 9 C 1 A 5 B 11 $ \fBdatamash\fR \-s \-g1 sum 2 < example.txt A 15 B 20 C 5 .RE .fi .PP Which is equivalent to: .PP .nf .RS $ cat example.txt | sort \-k1,1 | \fBdatamash\fR \-g 1 sum 2 .RE .fi .SS "Header lines" .PP Use \fB\-H\fR \fB(\-\-headers)\fR if the input file has a header line: .PP .nf .RS # Given a file with student name, field, test score... $ head \-n5 scores_h.txt Name Major Score Shawn Engineering 47 Caleb Business 87 Christian Business 88 Derek Arts 60 # Calculate the mean and standard deviation for each major $ \fBdatamash\fR \-\-sort \-\-headers \-\-group 2 mean 3 pstdev 3 < scores_h.txt (or use short form) $ \fBdatamash\fR \-sH \-g2 mean 3 pstdev 3 < scores_h.txt (or use named fields) $ \fBdatamash\fR \-sH \-g Major mean Score pstdev Score < scores_h.txt GroupBy(Major) mean(Score) pstdev(Score) Arts 68.9 10.1 Business 87.3 4.9 Engineering 66.5 19.1 Health-Medicine 90.6 8.8 Life-Sciences 55.3 19.7 Social-Sciences 60.2 16.6 .RE .fi .PP Field names must be escaped with a backslash if they start with a digit or contain special characters (dash/minus, colons, commas). Note the interplay between escaping with backslash and shell quoting. The following equivalent command sum the values of a field named "FOO-BAR": .PP .nf .RS $ datamash -H sum FOO\\\\\-BAR < input.txt $ datamash -H sum 'FOO\\\-BAR' < input.txt $ datamash -H sum "FOO\\\\\-BAR" < input.txt .RE .fi .PP .SS "Skipping comment lines" Use \fB\-C\fR \fB(\-\-skip\-comments)\fR to skip lines starting with '#' or '\;' characters (and optional whitespace before them): .PP .nf .RS $ cat in.txt #foo 3 bar 5 ;baz 7 $ datamash sum 2 < in.txt 15 $ datamash \-C sum 2 < in.txt 5 .RE .fi .PP .SS "Multiple fields" Use comma or dash to specify multiple fields. The following are equivalent: .nf .RS $ seq 9 | paste \- \- \- 1 2 3 4 5 6 7 8 9 $ seq 9 | paste \- \- \- | datamash sum 1 sum 2 sum 3 12 15 18 $ seq 9 | paste \- \- \- | datamash sum 1,2,3 12 15 18 $ seq 9 | paste \- \- \- | datamash sum 1-3 12 15 18 .RE .fi .PP .SS "Rounding" The following demonstrate the different rounding operations: .nf .RS .RE .\" NOTE: The weird spacing/alignment is due to extract backslash .\" characters. Modify with caution. $ ( echo X ; seq \-1.25 0.25 1.25 ) \\ | datamash \-\-full \-H round 1 ceil 1 floor 1 trunc 1 frac 1 X round(X) ceil(X) floor(X) trunc(X) frac(X) \-1.25 \-1 \-1 \-2 \-1 \-0.25 \-1.00 \-1 \-1 \-1 \-1 0 \-0.75 \-1 0 \-1 0 \-0.75 \-0.50 \-1 0 \-1 0 \-0.5 \-0.25 0 0 \-1 0 \-0.25 0.00 0 0 0 0 0 0.25 0 1 0 0 0.25 0.50 1 1 0 0 0.5 0.75 1 1 0 0 0.75 1.00 1 1 1 1 0 1.25 1 2 1 1 0.25 .fi .PP .SS "Reversing fields" .PP .nf .RS $ seq 6 | paste \- \- | \fBdatamash\fR reverse 2 1 4 3 6 5 .RE .fi .PP .SS "Transposing a file" .PP .nf .RS $ seq 6 | paste \- \- | \fBdatamash\fR transpose 1 3 5 2 4 6 .RE .fi .PP .SS "Removing Duplicated lines" Remove lines with duplicate key value from field 1 (Unlike \fBfirst\fR,\fBlast\fR operations, \fBrmdup\fR is much faster and does not require sorting the file with \-s): .PP .nf .RS # Given a list of files and sample IDs: $ cat INPUT SampleID File 2 cc.txt 3 dd.txt 1 ab.txt 2 ee.txt 3 ff.txt # Remove lines with duplicated Sample-ID (field 1): $ \fBdatamash\fR rmdup 1 < INPUT # or use named field: $ \fBdatamash\fR \-H rmdup SampleID < INPUT SampleID File 2 cc.txt 3 dd.txt 1 ab.txt .RE .fi .PP .SS "Checksums" Calculate the sha1 hash value of each TXT file, after calculating the sha1 value of each file's content: .PP .nf .RS $ sha1sum *.txt | datamash -Wf sha1 2 .RE .fi .PP .SS "Check file structure" Check the structure of the input file: ensure all lines have the same number of fields, or expected number of lines/fields: .PP .nf .RS $ seq 10 | paste \- \- | datamash check && echo ok || echo fail 5 lines, 2 fields ok $ seq 13 | paste \- \- \- | datamash check && echo ok || echo fail line 4 (3 fields): 10 11 12 line 5 (2 fields): 13 datamash: check failed: line 5 has 2 fields (previous line had 3) fail $ seq 10 | paste \- \- | datamash check 2 fields 5 lines 5 lines, 2 fields $ seq 10 | paste \- \- | datamash check 4 fields line 1 (2 fields): 1 2 datamash: check failed: line 1 has 2 fields (expecting 4) $ seq 10 | paste \- \- | datamash check 7 lines datamash: check failed: input had 5 lines (expecting 7) .RE .fi .PP .SS "Cross-Tabulation" Cross-tabulation compares the relationship between two fields. Given the following input file: .nf .RS $ cat input.txt a x 3 a y 7 b x 21 a x 40 .RE .fi .PP Show cross-tabulation between the first field (a/b) and the second field (x/y) - counting how many times each pair appears (note: sorting is required): .PP .nf .RS $ \fBdatamash\fR \-s crosstab 1,2 < input.txt x y a 2 1 b 1 N/A .RE .fi .PP An optional grouping operation can be used instead of counting: .PP .nf .RS .PP $ \fBdatamash\fR \-s crosstab 1,2 sum 3 < input.txt x y a 43 7 b 21 N/A $ \fBdatamash\fR \-s crosstab 1,2 unique 3 < input.txt x y a 3,40 7 b 21 N/A .RE .fi .PP .SS "Binning numeric values" Bin input values into buckets of size 5: .PP .nf .RS $ ( echo X ; seq \-10 2.5 10 ) \\ | \fBdatamash\fR \-H \-\-full bin:5 1 X bin(X) \-10.0 \-10 \-7.5 \-10 \-5.0 \-5 \-2.5 \-5 0.0 0 2.5 0 5.0 5 7.5 5 10.0 10 .RE .fi .PP .SS "Binning string values" Hash any input value into a numeric integer. A typical usage would be to split an input file into N chunks, ensuring that all values of a certain key will be stored in the same chunk: .PP .nf .RS $ cat input.txt PatientA 10 PatientB 11 PatientC 12 PatientA 14 PatientC 15 .RE Each patient ID is hashed into a bin between 0 and 9 and printed in the last field: .RS $ \fBdatamash\fR \-\-full strbin 1 < input.txt PatientA 10 5 PatientB 11 6 PatientC 12 7 PatientA 14 5 PatientC 15 7 .RE Splitting the input into chunks can be done with awk: .RS $ cat input.txt \\ | \fBdatamash\fR \-\-full strbin 1 \\ | awk '{print > $NF ".txt"}' .RE .fi .PP .SS "Extracting numbers with getnum" The 'getnum' operation extracts a numeric value from the field: .PP .nf .RS $ echo zoom-123.45xyz | \fBdatamash\fR getnum 1 123.45 .RE \fBgetnum\fR accepts an optional single-letter \fBTYPE\fR option: .nf getnum:n - natural numbers (positive integers, including zero) getnum:i - integers getnum:d - decimal point numbers getnum:p - positive decimal point numbers (this is the default) getnum:h - hex numbers getnum:o - octal numbers .fi .PP Examples: .nf .RS $ echo zoom-123.45xyz | \fBdatamash\fR getnum 1 123.45 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:n 1 123 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:i 1 -123 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:d 1 123.45 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:p 1 -123.45 # Hex 0x123 = 291 Decimal $ echo zoom-123.45xyz | \fBdatamash\fR getnum:h 1 291 # Octal 0123 = 83 Decimal $ echo zoom-123.45xyz | \fBdatamash\fR getnum:o 1 83 .RE .SH "ADDITIONAL INFORMATION" See .UR https://www.gnu.org/software/datamash GNU Datamash Website (https://www.gnu.org/software/datamash) .SH ENVIRONMENT .TP LC_NUMERIC decimal\-point character and thousands separator .SH AUTHOR Written by Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald. .SH COPYRIGHT Copyright \(co 2025 Assaf Gordon and Tim Rice License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B datamash is maintained as a Texinfo manual. If the .B info and .B datamash programs are properly installed at your site, the command .IP .B info datamash .PP should give you access to the complete manual. datamash-1.9/decorate.10000644000000000000000000001125714774035523010464 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .TH DECORATE "1" "April 2025" "decorate 1.9" "User Commands" .SH NAME decorate - convert fields of various formats .SH SYNOPSIS .B decorate [\fI\,OPTION\/\fR]... [\fI\,INPUT\/\fR] .br .B decorate \fI\,--decorate \/\fR[\fI\,OPTION\/\fR]... [\fI\,INPUT\/\fR] .br .B decorate \fI\,--undecorate N \/\fR[\fI\,OPTION\/\fR]... [\fI\,INPUT\/\fR] .SH DESCRIPTION Converts (and optionally sorts) fields of various formats .PP With \fB\-\-decorate\fR: adds the converted fields to the start of each line and prints and prints it to STDOUT; does not sort. .PP With \fB\-\-undecorate\fR: removes the first N fields from the input; Use as post\-processing step after sort(1). .PP Without \fB\-\-decorate\fR and \fB\-\-undecorate\fR: automatically decorates the input, runs sort(1) and undecorates the result; This is the easiest method to use. The \fBdecorate\fR program allows sorting input according to various ordering, e.g. IP addresses, roman numerals, etc. It works in tandem with sort(1) to perform the actual sorting. The idea was suggested by .UR https://lists.gnu.org/r/bug-coreutils/2015-06/msg00076.html Pádraig Brady in https://lists.gnu.org/r/bug-coreutils/2015-06/msg00076.html: 1. Decorate: convert the input to a sortable-format as additional fields .br 2. Sort according to the inserted fields .br 3. Undecorate: remove the inserted fields .SH OPTIONS .SS "General Options:" .TP \fB\-\-decorate\fR decorate/convert the specified fields and print the output to STDOUT. Does not automatically run sort(1) or undecorates the output .TP \fB\-\-header\fR=\fI\,N\/\fR does not decorate or sort the first N lines .TP \fB\-H\fR same as \fB\-\-header\fR=\fI\,N\/\fR .TP \fB\-k\fR, \fB\-\-key\fR=\fI\,KEYDEF\/\fR key/field to sort; same syntax as sort(1), optionally followed by ':method' to convert to the field into a sortable value; see examples and available conversion below .TP \fB\-t\fR, \fB\-\-field\-separator\fR=\fI\,SEP\/\fR use SEP instead of non\-blank to blank transition .TP \fB\-\-print\-sort\-args\fR print adjusted parameters for sort(1); Useful when using \fB\-\-decorate\fR and then manually running sort(1) .TP \fB\-\-undecorate\fR=\fI\,N\/\fR removes the first N fields .TP \fB\-z\fR, \fB\-\-zero\-terminated\fR line delimiter is NUL, not newline .TP \fB\-\-sort\-cmd=\fR/path/to/sort Alternative sort(1) to use. .TP \fB\-h\fR, \fB\-\-help\fR display this help and exit .TP \fB\-V\fR, \fB\-\-version\fR output version information and exit .PP The following options are passed to sort as\-is (Most of them assume GNU sort): .HP \fB\-c\fR, \fB\-\-check\fR .HP \fB\-\-compress\-program\fR .HP \fB\-\-random\-source\fR .HP \fB\-s\fR, \fB\-\-stable\fR .HP \fB\-\-batch\-size\fR .HP \fB\-S\fR, \fB\-\-buffer\-size\fR .HP \fB\-T\fR, \fB\-\-temporary\-directory\fR .HP \fB\-u\fR, \fB\-\-unique\fR .HP \fB\-\-parallel\fR .PP Available conversions methods (use with \fB\-k\fR): .TP as\-is copy as\-is .TP roman roman numerals .TP strlen length (in bytes) of the specified field .TP ipv4 dotted\-decimal IPv4 addresses .TP ipv6 IPv6 addresses .TP ipv4inet number\-and\-dots IPv4 addresses (incl. octal, hex values) .TP ipv6v4map IPv6 and IPv4 (as IPv4\-Mapped IPv6) addresses .TP ipv6v4comp IPv6 and IPv4 (as IPv4\-Compatible IPv6) addresses .SH EXAMPLES Example of preparing to sort by roman numerals: .PP .nf .RS $ printf "%s\\n" C V III IX XI | \fBdecorate\fR \-k1,1:roman \-\-decorate 0000100 C 0000005 V 0000003 III 0000009 IX 0000011 XI .RE .fi .PP The output can now be sent to sort(1), followed by removing (=undecorate) the first field. .PP .nf .RS $ printf "%s\\n" C V III IX XI \\ | \fBdecorate\fR \-k1,1:roman \-\-decorate \\ | sort \-k1,1 \\ | \fBdecorate\fR \-\-undecorate 1 III V IX XI C .RE .fi .PP \fBdecorate(1)\fR can automatically combine the decorate-sort-undecorate steps (when run without \-\-decorate or \-\-undecorate): .PP .nf .RS $ printf "%s\\n" C V III IX XI | \fBdecorate\fR \-k1,1:roman III V IX XI C .RE .fi .PP .SH "ADDITIONAL INFORMATION" See .UR https://www.gnu.org/software/datamash GNU Datamash Website (https://www.gnu.org/software/datamash) .SH AUTHOR Written by Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald. .SH COPYRIGHT Copyright \(co 2025 Assaf Gordon and Timothy Rice License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B decorate is maintained as a Texinfo manual. If the .B info and .B decorate programs are properly installed at your site, the command .IP .B info decorate .PP should give you access to the complete manual. datamash-1.9/doc/0000755000000000000000000000000014774035553007436 5datamash-1.9/doc/datamash-texinfo.css0000644000000000000000000001131714771573715013333 /* CSS for TexInfo/HTML files. Copyright (C) 2015-2021 Assaf Gordon (assafgordon@gmail.com) License: GNU All Permissive License https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. The used tags/classes were collected from a Texinfo-generated HTML using: cd coreutils makeinfo --html --no-split -o coreutils.html doc/coreutils.texi cat coreutils.html | sed 's/.*;>;g' \ | grep '^<' | grep 'class=' | sort -u \ | perl -lane 'm/<(\w+) .*class="([-\w]+)"/ ; print $1, "\t", $2' \ | sort -u */ body { font-family: sans-serif; font-size: 16px; margin: 1em; overflow-x: hidden; /* Coupled with the div.header trick, this will extend the header lines access the entire page width without causing a horizontal scroll bar to appear. */ } a { text-decoration: none; outline-style: none; color: blue; } a:visited { color: rgb(16,0,112); } a:hover { text-decoration: underline; } /***************************************************** Titles / Headers ******************************************************/ /* @settitle: The title of the document at the top of the document/header */ h1.settitle { color: rgb(51,70,131); text-shadow: rgb(153,153,153) 1px 1px 0px; } /* The title at the beginning of the document, before the @menu */ h1.top { color: rgb(51,70,131); text-shadow: rgb(153,153,153) 1px 1px 0px; } /* @chapter */ h2.chapter { } h2.appendix { } h2.unnumbered { } /* @section */ h3.section { } /* @unnumberedsec */ h3.unnumberedsec { } /* @heading (seems to be only used in fdl.texi) */ h3.heading { } /* @subsection */ h4.subsection { } /************************************************** Short Contents (if @shortcontents command is used) ***************************************************/ h2.shortcontents-heading { } div.shortcontents { } div.shortcontents ul { } div.shortcontents ul li { } /************************************************** Contents (if @contents command is used) ***************************************************/ h2.contents-heading { } div.contents { } div.contents ul { } div.contents ul li { } /* The @menu table */ table.menu { } pre.menu-comment {} /************************************ @example and @verbatim ************************************/ div.example { margin-left: 2em; margin-right: 2em; } div.example pre.example { /* Round Corners */ -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #c0c0c0; padding: 1ex; background-color: #f3f3f3; } /* Note: @verbatim is also rendered inside a 'div.example' */ div.example pre.verbatim { /* Round Corners */ -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 1px solid #c0c0c0; padding: 1ex; background-color: #f3f3f3; } /************************************ @smallexample ************************************/ div.smallexample { } div.smallexample pre.smallexample { } /*********************************** @display ***********************************/ div.display { } div.display pre.display { } /************************************** @footnote **************************************/ div.footnote { } h4.footnotes-heading { } /************************************** The header at the top of each page / section (the next/previous/top/up links) **************************************/ div.header { padding-top: 0.5ex; padding-bottom: 0.5ex; background-color: #ddddff; /* This will extend the background color of the header bar to the entire width of the page (and beyond), requires 'overflow-x: hidden' in the 'body'. */ padding-left: 3000px; margin-left: -3000px; padding-right: 3000px; margin-right: -3000px; } /* Disable any additional margins */ div.header p { margin: 0; } div.header p a { color: blue; } /************************************** @table is rendered as
(defnition list), @item is rendered as
(definition term), text is rendered as
(definition description) **************************************/ dl { margin: 0 1em; } dl dt { margin: 1em 0; } dl dd { margin-left: 2em; } /******************************************************* Text Styles *******************************************************/ /* @var{} */ var { color: #CC0000; } /* @samp{} */ samp { color: #6600CC; } /* @env{} will result in

X

*/ p code { color: #532c14; } /* @option{} */ span.nocodebreak { color: #5D4C46; } datamash-1.9/doc/datamash.info0000644000000000000000000024174214774035525012026 This is datamash.info, produced by makeinfo version 7.1.1 from datamash.texi. This manual is for GNU Datamash (version 1.9, 28 March 2025), which provides command-line computations on input files. Copyright © 2014-2021 Assaf Gordon. Copyright © 2022-2025 Timothy Rice. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". INFO-DIR-SECTION Basics START-INFO-DIR-ENTRY * Datamash: (datamash). datamash END-INFO-DIR-ENTRY  File: datamash.info, Node: Top, Next: Overview, Up: (dir) Datamash ******** This manual is for GNU Datamash (version 1.9, 28 March 2025), which provides command-line computations on input files. * Menu: * Overview:: General purpose and information. * Invoking datamash:: How to run ‘datamash’. * Available Operations:: Available operations in ‘datamash’. * Statistical Operations:: Statistical operations in ‘datamash’. * Usage Examples:: Usage Examples. * Reporting bugs:: Sending bug reports and feature suggestions. * GNU Free Documentation License:: Copying and sharing this documentation. * Concept index:: Index of concepts.  File: datamash.info, Node: Overview, Next: Invoking datamash, Prev: Top, Up: Top 1 Overview ********** The ‘datamash’ program () performs calculation (e.g. _sum,_, _count_, _min_, _max_, _skewness_, _standard deviation_) on input files. Example: sum up the values in the first column of the input: $ seq 10 | datamash sum 1 55 ‘datamash’ can group input data and perform operations on each group. It can sort the file, and read header lines. Example: Given a file with three fields (name, subject, score), find the average score in each subject: $ cat scores.txt Name Subject Score Bryan Arts 68 Isaiah Arts 80 Gabriel Health-Medicine 100 Tysza Business 92 Zackery Engineering 54 ... $ datamash --sort --headers --group 2 mean 3 sstdev 3 < scores.txt GroupBy(Subject) mean(Score) sstdev(Score) Arts 68.9474 10.4215 Business 87.3636 5.18214 Engineering 66.5385 19.8814 Health-Medicine 90.6154 9.22441 Life-Sciences 55.3333 20.606 Social-Sciences 60.2667 17.2273 ‘datamash’ is designed for interactive exploration of textual data and for automating tasks in shell scripts. ‘datamash’ has a rich set of statistical functions to quickly assess information in textual input files. An example of calculating basic statistic (mean, 1st quartile, median, 3rd quartile, IQR, sample-standard-deviation, and p-value of Jarque-Bera test for normal distribution: $ datamash -H mean 1 q1 1 median 1 q3 1 iqr 1 sstdev 1 jarque 1 < FILE mean(x) q1(x) median(x) q3(x) iqr(x) sstdev(x) jarque(x) 45.32 23 37 61.5 38.5 30.4487 8.0113-09  File: datamash.info, Node: Invoking datamash, Next: Available Operations, Prev: Overview, Up: Top 2 Invoking ‘datamash’ ********************* The format for running the ‘datamash’ program is: datamash [OPTION]... OP1 COLUMN1 [OP2 COLUMN2 ...] Where OP1 is the operation to perform on the values in COLUMN1. ‘datamash’ reads input from stdin and performs one or more operations on the input data. If ‘--group’ is used, each operation is performed on every group. If ‘--group’ is not used, each operation is performed on all the values in the input file. The ‘LC_NUMERIC’ locale specifies the decimal-point character and the thousands separator. ‘datamash’ supports the following operations: Primary operations: ‘groupby’, ‘crosstab’, ‘transpose’, ‘reverse’, ‘check’ Line-Filtering operations: ‘rmdup’ Per-Line operations: ‘base64’, ‘debase64’, ‘md5’, ‘sha1’, ‘sha224’, ‘sha256’, ‘sha384’, ‘sha512’, ‘bin’, ‘strbin’, ‘round’, ‘floor’, ‘ceil’, ‘trunc’, ‘frac’, ‘dirname’, ‘basename’, ‘extname’, ‘barename’, ‘getnum’, ‘cut’, ‘echo’ Group-by Numeric operations: ‘sum’, ‘min’, ‘max’, ‘absmin’, ‘absmax’, ‘range’ Group-by Textual/Numeric operations: ‘count’, ‘first’, ‘last’, ‘rand’, ‘unique’, ‘uniq’, ‘collapse’, ‘countunique’ Group-by Statistical operations: ‘mean’, ‘geomean’, ‘harmmean’, ‘mode’, ‘median’, ‘q1’, ‘q3’, ‘iqr’, ‘perc’, ‘antimode’, ‘pstdev’, ‘sstdev’, ‘pvar’, ‘svar’, ‘ms’, ‘rms’, ‘mad’, ‘madraw’, ‘sskew’, ‘pskew’, ‘skurt’, ‘pkurt’, ‘jarque’, ‘dpo’, ‘scov’, ‘pcov’, ‘spearson’, ‘ppearson’, ‘dotprod’ Grouping options: ‘--skip-comments’ ‘-C’ Skip comment lines (starting with '#' or ';' and optional whitespace). ‘--full’ ‘-f’ Print entire input line before op results (default: print only the grouped keys). While using this option with non-linewise operations was historically permitted, it never produced very sensible output. Such usage has been deprecated, and in a future release it will result in an error. ‘--group=X[,Y,Z]’ ‘-g X[,Y,Z]’ Group input via fields X[,Y,Z]. By default, fields are separated by TABs. Use ‘--field-separator’ to change the delimiter character. Input file must be sorted by the same fields X[,Y,Z]. Use ‘--sort’ to automatically sort the input. If ‘--group’ is not specified, each operation is performed in the entire input file. Ranges of field numbers like X-Z are also supported. ‘--header-in’ Indicates the first input line is column headers, and should not be used for any calculations. ‘--header-out’ Print column headers as first line. If the column header names are known (i.e. the input file had a header line, and the ‘command’ was invoked with ‘--header-in’, ‘-H’ or ‘--headers’), prints the operation and the name of the field (e.g. ‘mean(X)’). Otherwise, prints the number operation and the field number (e.g. ‘mean(field-3)’). ‘--headers’ ‘-H’ Same as ‘--header-in --header-out’. A short option indicating the input file has a header line, and the output should contain a header line as well. ‘--vnlog’ Enable experimental support for the vnlog data file format for both input and output. This format is explained at . ‘--ignore-case’ ‘-i’ Ignore upper/lower case when comparing text for grouping, sorting, and comparing unique values in the ‘countunique’ and ‘unique’ (or ‘uniq’) operations. ‘--sort’ ‘-s’ Sort the input before grouping. ‘datamash’ requires sorted input. If the input is not sorted, using ‘--sort’ will automatically sort the input before processing it further. Sorting will be performed based on the specified ‘--group’ parameter, and respecting case ‘--ignore-case’ option (if used). The following commands are equivalent: $ cat FILE | sort -k1,1 | datamash --group 1 sum 1 $ cat FILE | datamash --sort --group 1 sum 1 ‘--sort-cmd=PATH’ Use the given program to sort instead of the system ‘sort’ File Operation options: ‘--no-strict’ Allow lines with varying number of fields. By default, ‘transpose’ and ‘reverse’ will fail with an error message unless all input lines have the same number of fields. ‘--filler=X’ When use ‘--no-strict’ option, missing fields will be filled with this value. General options: ‘--format=FORMAT’ print numeric values with printf style floating-point FORMAT. ‘--field-separator=X’ ‘-t X’ Use character X instead of TAB as input and output field delimiter. If ‘--output-delimiter’ is also used, it will override the output field delimiter. ‘--narm’ Skip NA or NAN values. ‘--output-delimiter=X’ Use character X instead as output field delimiter. This option overrides ‘--field-separator’/‘-t’/ ‘--whitespace’/‘-W’. ‘--collapse-delimiter=X’ ‘-c X’ Use character X instead of comma to delimit items in a ‘collapse’ or ‘unique’ (aka ‘uniq’) list. ‘--round=N’ ‘-R N’ Round numeric output to N decimal places. ‘--whitespace’ ‘-W’ Use whitespace (one or more spaces and/or tabs) for field delimiters. Leading whitespace is ignored, trailing whitespace results in an empty field. TAB character will be used as output field separator. If ‘--output-delimiter’ is also used, it will override the output field delimiter. ‘--seed’ ‘-S’ Select a specific random seed. By default, GNU Datamash uses getrandom(2), which should be suitable for most purposes. You may wish to force a specific seed if you either wish to draw on a specific entropy source or for ensuring the reproducibility of a specific test. ‘--zero-terminated’ ‘-z’ End lines with a 0 byte, not newline. ‘--help’ ‘-h’ Print an informative help message on standard output and exit successfully. ‘--version’ ‘-V’ Print the version number and licensing information of Datamash on standard output and then exit successfully.  File: datamash.info, Node: Available Operations, Next: Statistical Operations, Prev: Invoking datamash, Up: Top 3 Available operations in ‘datamash’ ************************************ Primary operations: ‘groupby’ alternative syntax for ‘--group’ ‘crosstab’ cross-tabulate two fields (also known as 'pivot-tables') ‘transpose’ transpose rows, columns of a text file ‘reverse’ reverse fields in each line of a text file ‘check’ verify tabular structure of input (ensure same number of fields in all lines) Line-Filtering operation: ‘rmdup’ remove lines with duplicated key value Per-Line operations: ‘base64’ encode the field as base64 ‘debase64’ decode the field as base64. Exit with an error if the field is invalid base64 value which cannot be decoded. ‘md5’ calculates md5 hash of the field ‘sha1’ calculates sha1 hash of the field ‘sha224’ calculates sha224 hash of the field ‘sha256’ calculates sha256 hash of the field ‘sha384’ calculates sha384 hash of the field ‘sha512’ calculates sha512 hash of the field ‘dirname’ extracts the directory name of the field (assuming the field is a file name). Similar to ‘dirname(1)’. ‘basename’ extracts the base file name of the field (assuming the field is a file name). Similar to ‘basename(1)’. ‘extname’ extracts the extension of the file name of the field (assuming the field is a file name). ‘extname’ extracts the base file name of the field without the extension (assuming the field is a file name). ‘getnum’ extract a number from the field. ‘getnum’ accepts an optional single letter option ‘n/i/d/p/h/o’ affecting the detected value. ‘cut’ copy input field to output field (similar to ‘cut(1)’). When the ‘cut’ operation is given a list of fields, the fields are copied in the given order (in contrast to ‘cut(1)’). ‘echo’ an alias for ‘cut’. Group-by Numeric operations: ‘sum’ sum the of values ‘min’ minimum value ‘max’ maximum value ‘absmin’ minimum of the absolute values ‘absmax’ maximum of the absolute values ‘range’ range of values (maximum - minimum) Group-By Textual/Numeric operations: ‘count’ count number of elements in the group ‘first’ the first value of the group ‘last’ the last value of the group ‘rand’ one random value from the group ‘unique’ comma-separated sorted list of unique values ‘uniq’ an alias for ‘unique’. ‘--collapse-delimiter’ can be used to use a different character than comma. ‘collapse’ comma-separated list of all input values ‘--collapse-delimiter’ can be used to use a different character than comma. ‘countunique’ number of unique/distinct values Group-By Statistical operations: ‘mean’ mean of the values ‘geomean’ geometric mean of the values ‘harmmean’ harmonic mean of the values ‘trimmean’ trimmed mean of the values ‘ms’ mean square of the values ‘rms’ root mean square of the values ‘median’ median value ‘q1’ 1st quartile value ‘q3’ 3rd quartile value ‘iqr’ inter-quartile range ‘perc’ percentile value ‘mode’ mode value (most common value) ‘antimode’ anti-mode value (least common value) ‘pstdev’ population standard deviation ‘sstdev’ sample standard deviation ‘pvar’ population variance ‘svar’ sample variance ‘mad’ Median Absolute Deviation, scaled by a constant 1.4826 for normal distributions ‘madraw’ Median Absolute Deviation, unscaled ‘sskew’ skewness of the (sample) group ‘pskew’ skewness of the (population) group ‘skurt’ Excess Kurtosis of the (sample) group ‘pkurt’ Excess Kurtosis of the (population) group ‘jarque’ p-value of the Jarque-Beta test for normality ‘dpo’ p-value of the D'Agostino-Pearson Omnibus test for normality.  File: datamash.info, Node: Statistical Operations, Next: Usage Examples, Prev: Available Operations, Up: Top 4 Statistical Operations ************************ Equivalent R functions ====================== GNU Datamash is designed to closely follow R project's () statistical functions. See the ‘files/operators.R’ file for the R equivalent code for each of datamash's operators. When building ‘datamash’ from source code on your local computer, operators are compared to known results of the equivalent R functions.  File: datamash.info, Node: Usage Examples, Next: Reporting bugs, Prev: Statistical Operations, Up: Top 5 Usage Examples **************** * Menu: * Summary Statistics:: count,min,max,mean,stdev,median,quartiles * Header Lines and Column Names:: Using files with header lines * Field Delimiters:: Tabs, Whitespace, other delimiters * Column Ranges:: Operating on multiple columns * Reverse and Transpose:: swapping and transposing rows, columns * Groupby on /etc/passwd:: Groupby, count, collapse * Check:: Validate tabular structure * Crosstab:: Cross-tabulation (pivot-tables) * Rounding numbers:: round, ceil, floor, trunc, frac * Binning numbers:: assigning numbers into fixed number of buckets * Binning strings:: assigning strings into fixed number of buckets * Extracting numeric values:: using getnum  File: datamash.info, Node: Summary Statistics, Next: Header Lines and Column Names, Up: Usage Examples 5.1 Summary Statistics ====================== The following are examples of using ‘datamash’ to quickly calculate summary statistics. The examples will use a file with three fields (name, subject, score) representing grades of students: $ cat scores.txt Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 Walter Arts 75 ... Counting how many students study each subject (_subject_ is the second field in the input file, thus ‘groupby 2’): $ datamash --sort groupby 2 count 2 < scores.txt Arts 19 Business 11 Engineering 13 Health-Medicine 13 Life-Sciences 12 Social-Sciences 15 Similarly, find the minimum and maximum score in each subject: $ datamash --sort groupby 2 min 3 max 3 < scores.txt Arts 46 88 Business 79 94 Engineering 39 99 Health-Medicine 72 100 Life-Sciences 14 91 Social-Sciences 27 90 find the mean and (population) standard deviation in each subject: $ datamash --sort groupby 2 mean 3 pstdev 3 < scores.txt Arts 68.947 10.143 Business 87.363 4.940 Engineering 66.538 19.101 Health-Medicine 90.615 8.862 Life-Sciences 55.333 19.728 Social-Sciences 60.266 16.643 Find the median, first, third quartiles and the inter-quartile range in each subject: $ datamash --sort groupby 2 median 3 q1 3 q3 3 iqr 3 < scores.txt Arts 71 61.5 75.5 14 Business 87 83 92 9 Engineering 56 51 83 32 Health-Medicine 91 84 100 16 Life-Sciences 58.5 44.25 67.75 23.5 Social-Sciences 62 55 70.5 15.5 *Note Header Lines and Column Names:: for examples of dealing with header lines.  File: datamash.info, Node: Header Lines and Column Names, Next: Field Delimiters, Prev: Summary Statistics, Up: Usage Examples 5.2 Header Lines and Column Names ================================= Output Header Lines ------------------- If the input does _not_ have a header line, use ‘--header-out’ to add a header in the first line of the output, indicating which operation was performed: $ datamash --sort --header-out groupby 2 min 3 max 3 < scores.txt GroupBy(field-2) min(field-3) max(field-3) Arts 46 88 Business 79 94 Engineering 39 99 Health-Medicine 72 100 Life-Sciences 14 91 Social-Sciences 27 90 Skipping Input Header Lines --------------------------- If the input has a header line (first line containing column names), use ‘--header-in’ to skip the line: $ cat scores_h.txt Name Major Score Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 ... $ datamash --sort --header-in groupby 2 mean 3 < scores_h.txt Arts 68.947 Business 87.363 Engineering 66.538 Health-Medicine 90.615 Life-Sciences 55.333 Social-Sciences 60.266 If the header line is not skipped, ‘datamash’ will show an error (due to strict input validation): $ datamash groupby 2 mean 3 < scores_h.txt datamash: invalid numeric value in line 1 field 3: 'Score' Using Header Lines ------------------ Column names in the input header lines can be printed in the output header lines by using ‘--headers’ (or ‘-H’, both are equivalent to ‘--header-in --header-out’): $ datamash --sort --headers groupby 2 mean 3 < scores_h.txt GroupBy(Major) mean(Score) Arts 68.947 Business 87.363 Engineering 66.538 Health-Medicine 90.615 Life-Sciences 55.333 Social-Sciences 60.266 Or in short form (‘-sH’ instead of ‘--sort --headers’), equivalent to the above command: $ datamash -sH groupby 2 mean 3 Column Names ------------ When the input file has a header line, column names can be used instead of column numbers. In the example below, MAJOR is used instead of the value 2, and SCORE is used instead of the value 3: $ datamash --sort --headers groupby Major mean Score < scores_h.txt GroupBy(Major) mean(Score) Arts 68.947 Business 87.363 Engineering 66.538 Health-Medicine 90.615 Life-Sciences 55.333 Social-Sciences 60.266 ‘datamash’ will read the first line of the input, and deduce the correct column number based on the given name. If the column name is not found, an error will be printed: $ datamash --sort --headers groupby 2 mean Foo < scores_h.txt datamash: column name 'Foo' not found in input file Field names must be escaped with a backslash if they start with a digit or contain special characters (dash/minus, colons, commas). Note the interplay between escaping with backslash and shell quoting. The following equivalent command sum the values of a field named ‘FOO-BAR’: $ datamash -H sum FOO\\-BAR < input.txt $ datamash -H sum 'FOO\-BAR' < input.txt $ datamash -H sum "FOO\\-BAR" < input.txt  File: datamash.info, Node: Field Delimiters, Next: Column Ranges, Prev: Header Lines and Column Names, Up: Usage Examples 5.3 Field Delimiters ==================== ‘datamash’ uses tabs (ASCII character 0x09) as default field delimiters. Use ‘-W’ to treat one or more consecutive whitespace characters as field delimiters. Use ‘-t’, ‘--field-separator’ to set a custom field delimiter. The following examples illustrate the various options. By default, fields are separated by a single tab. Multiple tabs denotes multiple fields (this is consistent with GNU coreutils' ‘cut’): $ printf '1\t\t2\n' | datamash sum 3 2 $ printf '1\t\t2\n' | cut -f3 2 Every tab separates two fields. A line starting with a tab thus starts with an empty field, and a line ending with a tab ends with an empty field. Using ‘-W’, one or more consecutive whitespace characters are treated as a single field delimiter: $ printf '1 \t 2\n' | datamash -W sum 2 2 $ printf '1 \t 2\n' | datamash -W sum 3 datamash: invalid input: field 3 requested, line 1 has only 2 fields With ‘-W’, leading whitespace is ignored, but trailing whitespace is significant. A line starting with one or more consecutive whitespace characters followed by a non-whitespace character starts with a non-empty field. A line ending with one or more consecutive whitespace characters ends with an empty field. Using ‘-t’, a custom field delimiter character can be specified. Multiple consecutive delimiters are treated as multiple fields: $ printf '1,10,,100\n' | datamash -t, sum 4 100  File: datamash.info, Node: Column Ranges, Next: Reverse and Transpose, Prev: Field Delimiters, Up: Usage Examples 5.4 Column Ranges ================= ‘datamash’ accepts column ranges such as 1,2,3 and 1-3. Simulating input with multiple columns: $ seq 100 | paste - - - - 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... The following are equivalent: $ seq 100 | paste - - - - | datamash sum 1 sum 2 sum 3 sum 4 1225 1250 1275 1300 $ seq 100 | paste - - - - | datamash sum 1,2,3,4 1225 1250 1275 1300 $ seq 100 | paste - - - - | datamash sum 1-4 1225 1250 1275 1300 $ seq 100 | paste - - - - | datamash sum 1-3,4 1225 1250 1275 1300 Ranges can be used with multiple operations: $ seq 100 | paste - - - - | datamash sum 1-4 mean 1-4 1225 1250 1275 1300 49 50 51 52  File: datamash.info, Node: Reverse and Transpose, Next: Groupby on /etc/passwd, Prev: Column Ranges, Up: Usage Examples 5.5 Reverse and Transpose ========================= Transpose --------- Use ‘transpose’ to swap rows and columns in a file: $ cat input.txt Sample Year Count A 2014 1002 B 2013 990 C 2014 2030 D 2014 599 $ datamash transpose < input.txt Sample A B C D Year 2014 2013 2014 2014 Count 1002 990 2030 599 By default, ‘transpose’ verifies the input has the same number of fields in each line, and fails with an error otherwise: $ cat input.txt Sample Year Count A 2014 1002 B 2013 C 2014 2030 D 2014 599 $ datamash transpose < input1.txt datamash: transpose input error: line 3 has 2 fields (previous lines had 3); see --help to disable strict mode Use ‘--no-strict’ to allow missing values: $ datamash --no-strict transpose < input1.txt Sample A B C D Year 2014 2013 2014 2014 Count 1002 N/A 2030 599 Use ‘--filler’ to set the missing-field filler value: $ datamash --no-strict --filler XYZ transpose < input1.txt Sample A B C D Year 2014 2013 2014 2014 Count 1002 XYZ 2030 599 Reverse ------- Use ‘reverse’ to reverse the fields order in a file: $ cat input.txt Sample Year Count A 2014 1002 B 2013 990 C 2014 2030 D 2014 599 $ datamash reverse < input.txt Count Year Sample 1002 2014 A 990 2013 B 2030 2014 C 599 2014 D By default, reverse verifies the input has the same number of fields in each line, and fails with an error otherwise. Use ‘--no-strict’ to disable this behavior (see section above for an example). Combining Reverse and Transpose ------------------------------- Reverse and Transpose can be combined to achieve various manipulations. (reminder: tac (https://www.gnu.org/software/coreutils/tac) can be used to reverse lines in a file): $ cat input.txt A 1 xx B 2 yy C 3 zz $ tac input.txt C 3 zz B 2 yy A 1 xx $ tac input.txt | datamash reverse zz 3 C yy 2 B xx 1 A $ cat input.txt | datamash reverse | datamash transpose xx yy zz 1 2 3 A B C $ tac input.txt | datamash reverse | datamash transpose zz yy xx 3 2 1 C B A  File: datamash.info, Node: Groupby on /etc/passwd, Next: Check, Prev: Reverse and Transpose, Up: Usage Examples 5.6 Groupby on ‘/etc/passwd’ ============================ ‘datamash’ with the ‘groupby’ operation mode can be used to aggregate information. Using this simulated ‘/etc/passwd’ file as input: $ cat passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin mysql:x:115:124:MySQL Server,,,:/var/lib/mysql:/bin/false sshd:x:116:65534::/var/run/sshd:/usr/sbin/nologin guest:x:118:125:Guest,,,:/tmp/guest-home.phc17z:/bin/bash gordon:x:1004:1000:Assaf Gordon,,,,:/home/gordon:/bin/bash charles:x:1005:1000:Charles,,,,:/home/charles:/bin/bash alice:x:1006:1000:Alice,,,,:/home/alice:/bin/bash bob:x:1007:1000:Bob,,,,:/home/bob:/bin/bash postgres:x:119:126:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash rabbitmq:x:125:138:RabbitMQ messaging server,,,:/var/lib/rabbitmq:/bin/false redis:x:126:140:redis server,,,:/var/lib/redis:/bin/false postfix:x:127:141::/var/spool/postfix:/bin/false Parameter ‘-t’ is used to indicate the field separator : (instead of the default TAB). Aggregate (‘groupby’) login shells (column 7) and ‘count’ how many users use each: $ datamash -t: --sort groupby 7 count 7 < passwd /bin/bash:7 /bin/false:4 /bin/sync:1 /usr/sbin/nologin:14 Aggregate (‘groupby’) login shells (column 7) and print comma-separated list of users (column 1) for each shell (‘collapse’): $ cat passwd | datamash -t: --sort groupby 7 collapse 1 /bin/bash:root,guest,gordon,charles,alice,bob,postgres /bin/false:mysql,rabbitmq,redis,postfix /bin/sync:sync /usr/sbin/nologin:daemon,bin,sys,games,man,lp,mail,news,uucp,proxy ,www-data,backup,list,sshd Aggregate unix-groups (column 4) and print comma-separated list of users (column 1) for in each group: $ datamash -t: --sort groupby 4 collapse 1 < /etc/passwd 0:root 1:daemon 10:uucp 1000:gordon,charles,alice,bob 12:man 124:mysql 125:guest 126:postgres 13:proxy 138:rabbitmq 140:redis 141:postfix 2:bin 3:sys 33:www-data 34:backup 38:list 60:games 65534:sync,sshd 7:lp 8:mail 9:news  File: datamash.info, Node: Check, Next: Crosstab, Prev: Groupby on /etc/passwd, Up: Usage Examples 5.7 Check - checking tabular structure ====================================== ‘datamash’ ‘check’ validates the tabular structure of a file, ensuring all lines have the same number of fields. ‘check’ is meant to be used in scripting and automation pipelines, as it will terminate with non-zero exit code if the file is not well structured, while also printing detailed context information about the offending lines: $ cat good.txt A 1 ww B 2 xx C 3 yy D 4 zz $ cat bad.txt A 1 ww B 2 xx C 3 D 4 zz $ datamash check < good.txt && echo ok || echo fail 4 lines, 3 fields ok $ datamash check < bad.txt && echo ok || echo fail line 2 (3 fields): B 2 xx line 3 (2 fields): C 3 datamash: check failed: line 3 has 2 fields (previous line had 3) fail 5.7.1 Expected number of lines/fields ------------------------------------- ‘check’ accepts optional LINES and FIELDS and will return failure if the input does not have the requested number of lines/fields. The syntax is: datamash check [N lines] [N fields] Usage examples: $ cat file.txt A 1 ww B 2 xx C 3 yy D 4 zz $ datamash check 4 lines < file.txt && echo ok 4 lines, 3 fields ok $ datamash check 3 fields < file.txt && echo ok 4 lines, 3 fields ok $ datamash check 4 lines 3 fields < file.txt && echo ok 4 lines, 3 fields ok $ datamash check 7 fields < file.txt && echo ok line 1 (3 fields): A 1 ww datamash: check failed: line 1 has 3 fields (expecting 22) $ datamash check 10 lines < file.txt && echo ok datamash: check failed: input had 4 lines (expecting 10) For convenience, LINE,ROW,ROWS can be used instead of LINES; FIELD,COLUMNS,COLUMN,COL can be used instead of FIELDS. The following are all equivalent: datamash check 4 lines 10 fields < file.txt datamash check 4 rows 10 columns < file.txt datamash check 10 col 4 row < file.txt 5.7.2 checks in automation scripts ---------------------------------- In pipeline/automation context, it is often beneficial to validate files as early as possible (immediately after file is created, as in fail-fast methodology (https://en.wikipedia.org/wiki/Fail-fast)). A typical usage in a shell script would be: #!/bin/sh die() { base=$(basename "$0") echo "$base: error: $@" >&2 exit 1 } custom pipeline-or-program > output.txt \ || die "program failed" datamash check < output.txt \ || die "'output.txt' has invalid structure (missing fields)" If the generated ‘output.txt’ file has invalid structure (i.e. missing fields), ‘datamash’ will print the ‘stderr’ enough details to help in troubleshooting (line numbers and offending line's content).  File: datamash.info, Node: Crosstab, Next: Rounding numbers, Prev: Check, Up: Usage Examples 5.8 Crosstab - Cross-Tabulation (pivot-tables) ============================================== Cross-tabulation compares the relationship between two fields. Given the following input file: $ cat input.txt a x 3 a y 7 b x 21 a x 40 Show cross-tabulation between the first field (a/b) and the second field (x/y) - counting how many times each pair appears (note: sorting is required): $ datamash -s crosstab 1,2 < input.txt x y a 2 1 b 1 N/A The default operation is ‘count’ - in the above example, A and X appear twice in the input file, while B and Y never appear together. An optional grouping operation can be used instead of counting. For each pair, ‘sum’ the values in the third column: $ datamash -s crosstab 1,2 sum 3 < input.txt x y a 43 7 b 21 N/A For each pair, list all ‘unique’ values in the third column: $ datamash -s crosstab 1,2 unique 3 < input.txt x y a 3,40 7 b 21 N/A Note that using ‘--header-out’ with crosstab prints a line showing how to interpret the rows and columns, and what operation was used. $ datamash -s --header-in --header-out crosstab 1,2 < input.txt GroupBy(a) GroupBy(x) count(a) x y a 1 1 b 1 N/A  File: datamash.info, Node: Rounding numbers, Next: Binning numbers, Prev: Crosstab, Up: Usage Examples 5.9 Rounding numbers ==================== The following demonstrate the different rounding operations: $ ( echo X ; seq -1.25 0.25 1.25 ) \ | datamash --full -H round 1 ceil 1 floor 1 trunc 1 frac 1 X round(X) ceil(X) floor(X) trunc(X) frac(X) -1.25 -1 -1 -2 -1 -0.25 -1.00 -1 -1 -1 -1 0 -0.75 -1 0 -1 0 -0.75 -0.50 -1 0 -1 0 -0.5 -0.25 0 0 -1 0 -0.25 0.00 0 0 0 0 0 0.25 0 1 0 0 0.25 0.50 1 1 0 0 0.5 0.75 1 1 0 0 0.75 1.00 1 1 1 1 0 1.25 1 2 1 1 0.25  File: datamash.info, Node: Binning numbers, Next: Binning strings, Prev: Rounding numbers, Up: Usage Examples 5.10 Binning numbers ==================== Bin input values into buckets of size 5: $ ( echo X ; seq -10 2.5 10 ) \ | datamash -H --full bin:5 1 X bin(X) -10.0 -10 -7.5 -10 -5.0 -5 -2.5 -5 0.0 0 2.5 0 5.0 5 7.5 5 10.0 10  File: datamash.info, Node: Binning strings, Next: Extracting numeric values, Prev: Binning numbers, Up: Usage Examples 5.11 Binning strings ==================== Hash any string input value into a numeric integer. A typical usage would be to split an input file into N chunks, ensuring that all values of a certain key will be stored in the same chunk: $ cat input.txt PatientA 10 PatientB 11 PatientC 12 PatientA 14 PatientC 15 Each patient ID is hashed into a bin between 0 and 9 and printed in the last field: $ datamash --full strbin 1 < input.txt PatientA 10 5 PatientB 11 6 PatientC 12 7 PatientA 14 5 PatientC 15 7 Splitting the input into chunks can be done with awk: $ cat input.txt | datamash --full strbin 1 \ | awk '{print > $NF ".txt"}'  File: datamash.info, Node: Extracting numeric values, Prev: Binning strings, Up: Usage Examples 5.12 Extracting numeric values - using getnum ============================================= The ‘getnum’ operation extracts a numeric value from the field: $ echo zoom-123.45xyz | datamash getnum 1 123.45 ‘getnum’ accepts an optional single-letter TYPE option: ‘getnum:n’ natural numbers (positive integers, including zero) ‘getnum:i’ integers ‘getnum:d’ decimal point numbers ‘getnum:p’ positive decimal point numbers (this is the default) ‘getnum:h’ hex numbers ‘getnum:o’ octal numbers Examples: $ echo zoom-123.45xyz | datamash getnum 1 123.45 $ echo zoom-123.45xyz | datamash getnum:n 1 123 $ echo zoom-123.45xyz | datamash getnum:i 1 -123 $ echo zoom-123.45xyz | datamash getnum:d 1 123.45 $ echo zoom-123.45xyz | datamash getnum:p 1 -123.45 # Hex 0x123 = 291 Decimal $ echo zoom-123.45xyz | datamash getnum:h 1 291 # Octal 0123 = 83 Decimal $ echo zoom-123.45xyz | datamash getnum:o 1 83  File: datamash.info, Node: Reporting bugs, Next: GNU Free Documentation License, Prev: Usage Examples, Up: Top 6 Reporting bugs **************** To report bugs, suggest enhancements or otherwise discuss GNU Datamash, please send electronic mail to . For bug reports, please include enough information for the maintainers to reproduce the problem. Generally speaking, that means: • The version numbers of Datamash (which you can find by running ‘datamash --version’) and any other program(s) or manual(s) involved. • Hardware and operating system names and versions. • The contents of any input files necessary to reproduce the bug. • The expected behavior and/or output. • A description of the problem and samples of any erroneous output. • Options you gave to ‘configure’ other than specifying installation directories. • Anything else that you think would be helpful. When in doubt whether something is needed or not, include it. It's better to include too much than to leave out something important. Patches are welcome; if possible, please make them with ‘diff -u’ (*note Overview: (diff)Top.) and include ‘ChangeLog’ entries (*note (emacs)Change Log::). Please follow the existing coding style.  File: datamash.info, Node: GNU Free Documentation License, Next: Concept index, Prev: Reporting bugs, Up: Top Appendix A GNU Free Documentation License ***************************************** Version 1.3, 3 November 2008 Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 0. PREAMBLE The purpose of this License is to make a manual, textbook, or other functional and useful document “free†in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. 1. APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not "Transparent" is called "Opaque". Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only. The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. The "publisher" means any person or entity that distributes copies of the Document to the public. A section "Entitled XYZ" means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as "Acknowledgements", "Dedications", "Endorsements", or "History".) To "Preserve the Title" of such a section when you modify the Document means that it remains a section "Entitled XYZ" according to this definition. The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. 2. VERBATIM COPYING You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. 3. COPYING IN QUANTITY If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. 4. MODIFICATIONS You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: A. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. B. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement. C. State on the Title page the name of the publisher of the Modified Version, as the publisher. D. Preserve all the copyright notices of the Document. E. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. F. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. G. Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. H. Include an unaltered copy of this License. I. Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. J. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. K. For any section Entitled "Acknowledgements" or "Dedications", Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. L. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. M. Delete any section Entitled "Endorsements". Such a section may not be included in the Modified Version. N. Do not retitle any existing section to be Entitled "Endorsements" or to conflict in title with any Invariant Section. O. Preserve any Warranty Disclaimers. If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. You may add a section Entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties--for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. 5. COMBINING DOCUMENTS You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. In the combination, you must combine any sections Entitled "History" in the various original documents, forming one section Entitled "History"; likewise combine any sections Entitled "Acknowledgements", and any sections Entitled "Dedications". You must delete all sections Entitled "Endorsements." 6. COLLECTIONS OF DOCUMENTS You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. 7. AGGREGATION WITH INDEPENDENT WORKS A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an "aggregate" if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. 8. TRANSLATION Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. If a section in the Document is Entitled "Acknowledgements", "Dedications", or "History", the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. 9. TERMINATION You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License. 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, receipt of a copy of some or all of the same material does not give you any rights to use it. 10. FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions of the GNU Free Documentation 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. See . Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Document. 11. RELICENSING "Massive Multiauthor Collaboration Site" (or "MMC Site") means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A "Massive Multiauthor Collaboration" (or "MMC") contained in the site means any set of copyrightable works thus published on the MMC site. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization. "Incorporate" means to publish or republish a Document, in whole or in part, as part of another Document. An MMC is "eligible for relicensing" if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. ADDENDUM: How to use this License for your documents ==================================================== To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: Copyright (C) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the "with...Texts." line with this: with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software.  File: datamash.info, Node: Concept index, Prev: GNU Free Documentation License, Up: Top Concept index ************* [index] * Menu: * --collapse-delimiter: Invoking datamash. (line 144) * --field-separator: Invoking datamash. (line 131) * --field-separator <1>: Groupby on /etc/passwd. (line 39) * --filler: Invoking datamash. (line 121) * --filler <1>: Reverse and Transpose. (line 45) * --format: Invoking datamash. (line 127) * --full: Invoking datamash. (line 55) * --group: Invoking datamash. (line 63) * --header-in: Invoking datamash. (line 71) * --header-in <1>: Header Lines and Column Names. (line 25) * --header-out: Invoking datamash. (line 75) * --header-out <1>: Header Lines and Column Names. (line 6) * --header-out <2>: Crosstab. (line 43) * --headers: Invoking datamash. (line 84) * --headers <1>: Header Lines and Column Names. (line 54) * --help: Invoking datamash. (line 174) * --ignore-case: Invoking datamash. (line 95) * --narm: Invoking datamash. (line 136) * --no-strict: Invoking datamash. (line 116) * --no-strict <1>: Reverse and Transpose. (line 40) * --output-delimiter: Invoking datamash. (line 139) * --round: Invoking datamash. (line 150) * --seed: Invoking datamash. (line 162) * --skip-comments: Invoking datamash. (line 50) * --sort: Invoking datamash. (line 101) * --sort-cmd: Invoking datamash. (line 111) * --version: Invoking datamash. (line 179) * --vnlog: Invoking datamash. (line 89) * --whitespace: Invoking datamash. (line 154) * --zero-terminated: Invoking datamash. (line 170) * -C: Invoking datamash. (line 50) * -c: Invoking datamash. (line 144) * -f: Invoking datamash. (line 55) * -g: Invoking datamash. (line 63) * -H: Invoking datamash. (line 84) * -h: Invoking datamash. (line 174) * -H <1>: Header Lines and Column Names. (line 54) * -header-out, crosstab and: Crosstab. (line 43) * -i: Invoking datamash. (line 95) * -R: Invoking datamash. (line 150) * -s: Invoking datamash. (line 101) * -S: Invoking datamash. (line 162) * -t: Invoking datamash. (line 131) * -t <1>: Invoking datamash. (line 139) * -t <2>: Groupby on /etc/passwd. (line 39) * -V: Invoking datamash. (line 179) * -W: Invoking datamash. (line 154) * -z: Invoking datamash. (line 170) * /etc/passwd, examples: Groupby on /etc/passwd. (line 6) * bin: Binning numbers. (line 6) * binning numbers: Binning numbers. (line 6) * binning strings: Binning strings. (line 6) * buckets, binning numbers: Binning numbers. (line 6) * buckets, binning strings: Binning strings. (line 6) * bug reporting: Reporting bugs. (line 6) * ceil: Rounding numbers. (line 6) * check: Check. (line 6) * check, in automation and shell scripts: Check. (line 88) * checking tabular structure: Check. (line 6) * checklist for bug reports: Reporting bugs. (line 9) * collapse: Groupby on /etc/passwd. (line 51) * column names: Header Lines and Column Names. (line 75) * column ranges: Column Ranges. (line 6) * columns, reverse: Reverse and Transpose. (line 55) * count: Crosstab. (line 15) * count <1>: Groupby on /etc/passwd. (line 42) * count, crosstab and: Crosstab. (line 15) * cross tabulation: Crosstab. (line 6) * crosstab: Crosstab. (line 6) * crosstab and -header-out: Crosstab. (line 43) * crosstab and sum: Crosstab. (line 29) * crosstab and unique: Crosstab. (line 36) * delimiters, tabs: Field Delimiters. (line 6) * delimiters, whitespace: Field Delimiters. (line 6) * example, grouping: Overview. (line 30) * example, sorting: Overview. (line 30) * example, statistics: Overview. (line 48) * example, sum: Overview. (line 12) * examples, /etc/passwd: Groupby on /etc/passwd. (line 6) * examples, header: Header Lines and Column Names. (line 6) * examples, header <1>: Header Lines and Column Names. (line 25) * examples, header-in: Header Lines and Column Names. (line 25) * examples, header-out: Header Lines and Column Names. (line 6) * examples, headers: Header Lines and Column Names. (line 54) * examples, max: Summary Statistics. (line 29) * examples, mean: Summary Statistics. (line 39) * examples, median: Summary Statistics. (line 49) * examples, min: Summary Statistics. (line 29) * examples, quartiles: Summary Statistics. (line 49) * examples, standard deviation: Summary Statistics. (line 39) * examples, summary statistics: Summary Statistics. (line 6) * examples, usage: Usage Examples. (line 6) * fail fast: Check. (line 88) * field delimiters: Field Delimiters. (line 6) * field names: Header Lines and Column Names. (line 75) * floor: Rounding numbers. (line 6) * frac: Rounding numbers. (line 6) * getnum: Extracting numeric values. (line 6) * groupby: Groupby on /etc/passwd. (line 6) * groupby, and collapse: Groupby on /etc/passwd. (line 51) * groupby, and count: Groupby on /etc/passwd. (line 42) * grouping: Overview. (line 30) * grouping <1>: Invoking datamash. (line 63) * header-in, examples: Header Lines and Column Names. (line 25) * header-out, examples: Header Lines and Column Names. (line 5) * header, examples: Header Lines and Column Names. (line 6) * headers, examples: Header Lines and Column Names. (line 54) * help: Invoking datamash. (line 6) * input validation, transpose: Reverse and Transpose. (line 23) * invoking: Invoking datamash. (line 6) * LC_NUMERIC: Invoking datamash. (line 16) * line filtering operation: Available Operations. (line 21) * login shell, examples: Groupby on /etc/passwd. (line 42) * max, examples: Summary Statistics. (line 29) * mean, examples: Summary Statistics. (line 39) * median, examples: Summary Statistics. (line 49) * min, examples: Summary Statistics. (line 29) * missing values, transpose: Reverse and Transpose. (line 45) * multiple columns: Column Ranges. (line 6) * numbers, extracting from a field: Extracting numeric values. (line 6) * numeric operations: Available Operations. (line 68) * operations, line filtering: Available Operations. (line 21) * operations, numeric: Available Operations. (line 68) * operations, per-line: Available Operations. (line 26) * operations, primary: Available Operations. (line 7) * operations, statistical: Available Operations. (line 110) * operations, statistical <1>: Statistical Operations. (line 6) * operations, textual: Available Operations. (line 83) * options: Invoking datamash. (line 6) * overview: Overview. (line 6) * patches, contributing: Reporting bugs. (line 26) * Per-Line operations: Available Operations. (line 26) * pivot tables: Crosstab. (line 6) * primary operations: Available Operations. (line 7) * problems: Reporting bugs. (line 6) * quartiles, examples: Summary Statistics. (line 49) * ranges, columns: Column Ranges. (line 6) * reporting bugs: Reporting bugs. (line 6) * reverse columns: Reverse and Transpose. (line 55) * reverse, and transpose: Reverse and Transpose. (line 78) * reverse, strict: Reverse and Transpose. (line 71) * reversing lines: Reverse and Transpose. (line 78) * round: Rounding numbers. (line 6) * rounding numbers: Rounding numbers. (line 6) * shell scripts, check: Check. (line 88) * sorting: Overview. (line 30) * sorting <1>: Invoking datamash. (line 101) * sorting <2>: Invoking datamash. (line 111) * standard deviation, examples: Summary Statistics. (line 39) * Statistical operations: Available Operations. (line 110) * statistical operations: Statistical Operations. (line 5) * statistics: Statistical Operations. (line 6) * strbin: Binning strings. (line 6) * strict mode: Reverse and Transpose. (line 23) * strict, reverse: Reverse and Transpose. (line 71) * strict, transpose: Reverse and Transpose. (line 40) * sum: Crosstab. (line 29) * sum, crosstab and: Crosstab. (line 29) * summary statistics example: Summary Statistics. (line 6) * swap rows, columns: Reverse and Transpose. (line 9) * tab delimiters: Field Delimiters. (line 6) * tac: Reverse and Transpose. (line 78) * Textual operations: Available Operations. (line 83) * transpose: Reverse and Transpose. (line 9) * transpose, and reverse: Reverse and Transpose. (line 78) * transpose, filler value: Reverse and Transpose. (line 45) * transpose, input validation: Reverse and Transpose. (line 23) * transpose, missing values: Reverse and Transpose. (line 45) * transpose, strict: Reverse and Transpose. (line 40) * trunc: Rounding numbers. (line 6) * unique: Crosstab. (line 36) * unique, crosstab and: Crosstab. (line 36) * usage: Invoking datamash. (line 6) * usage examples: Usage Examples. (line 6) * whitespace delimiters: Field Delimiters. (line 6)  Tag Table: Node: Top789 Node: Overview1456 Node: Invoking datamash3363 Node: Available Operations10058 Node: Statistical Operations14981 Node: Usage Examples15545 Node: Summary Statistics16492 Node: Header Lines and Column Names18576 Node: Field Delimiters22019 Node: Column Ranges23677 Node: Reverse and Transpose24630 Node: Groupby on /etc/passwd27521 Node: Check30576 Node: Crosstab33682 Node: Rounding numbers35173 Node: Binning numbers36201 Node: Binning strings36662 Node: Extracting numeric values37541 Node: Reporting bugs38739 Node: GNU Free Documentation License40052 Node: Concept index65215  End Tag Table  Local Variables: coding: utf-8 End: datamash-1.9/doc/datamash.texi0000644000000000000000000012204114771573715012037 \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename datamash.info @include version.texi @settitle GNU Datamash @value{VERSION} @c Define a new index for options. @defcodeindex op @c Combine everything into one index (arbitrarily chosen to be the @c concept index). @syncodeindex op cp @syncodeindex vr cp @c %**end of header @copying This manual is for GNU Datamash (version @value{VERSION}, @value{UPDATED}), which provides command-line computations on input files. Copyright @copyright{} 2014--2021 Assaf Gordon. Copyright @copyright{} 2022--2025 Timothy Rice. @quotation Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. @end quotation @end copying @c If your manual is published on paper by the FSF, it should include @c the standard FSF Front-Cover and Back-Cover Texts, as given in @c maintain.texi. @dircategory Basics @direntry * Datamash: (datamash). datamash @end direntry @titlepage @title GNU Datamash @subtitle for version @value{VERSION}, @value{UPDATED} @author GNU Datamash Developers (@email{assafgordon@@gmail.com}) @page @vskip 0pt plus 1filll @insertcopying @end titlepage @contents @ifnottex @node Top @top Datamash This manual is for GNU Datamash (version @value{VERSION}, @value{UPDATED}), which provides command-line computations on input files. @end ifnottex @menu * Overview:: General purpose and information. * Invoking datamash:: How to run @command{datamash}. * Available Operations:: Available operations in @command{datamash}. * Statistical Operations:: Statistical operations in @command{datamash}. * Usage Examples:: Usage Examples. * Reporting bugs:: Sending bug reports and feature suggestions. * GNU Free Documentation License:: Copying and sharing this documentation. * Concept index:: Index of concepts. @end menu @node Overview @chapter Overview @cindex overview The @command{datamash} program (@url{https://www.gnu.org/software/datamash}) performs calculation (e.g. @emph{sum,}, @emph{count}, @emph{min}, @emph{max}, @emph{skewness}, @emph{standard deviation}) on input files. Example: sum up the values in the first column of the input: @example @cindex example, sum $ seq 10 | datamash sum 1 55 @end example @command{datamash} can group input data and perform operations on each group. It can sort the file, and read header lines. Example: Given a file with three fields (name, subject, score), find the average score in each subject: @example $ cat scores.txt Name Subject Score Bryan Arts 68 Isaiah Arts 80 Gabriel Health-Medicine 100 Tysza Business 92 Zackery Engineering 54 ... @cindex sorting @cindex grouping @cindex example, sorting @cindex example, grouping $ datamash --sort --headers --group 2 mean 3 sstdev 3 < scores.txt GroupBy(Subject) mean(Score) sstdev(Score) Arts 68.9474 10.4215 Business 87.3636 5.18214 Engineering 66.5385 19.8814 Health-Medicine 90.6154 9.22441 Life-Sciences 55.3333 20.606 Social-Sciences 60.2667 17.2273 @end example @command{datamash} is designed for interactive exploration of textual data and for automating tasks in shell scripts. @command{datamash} has a rich set of statistical functions to quickly assess information in textual input files. An example of calculating basic statistic (mean, 1st quartile, median, 3rd quartile, IQR, sample-standard-deviation, and p-value of Jarque-Bera test for normal distribution: @cindex example, statistics @example $ datamash -H mean 1 q1 1 median 1 q3 1 iqr 1 sstdev 1 jarque 1 < FILE mean(x) q1(x) median(x) q3(x) iqr(x) sstdev(x) jarque(x) 45.32 23 37 61.5 38.5 30.4487 8.0113-09 @end example @node Invoking datamash @chapter Invoking @command{datamash} @cindex invoking @cindex options @cindex usage @cindex help The format for running the @command{datamash} program is: @example datamash [@var{option}]@dots{} @var{op1} @var{column1} @ [@var{op2} @var{column2} @dots{}] @end example Where @var{op1} is the operation to perform on the values in @var{column1}. @command{datamash} reads input from stdin and performs one or more operations on the input data. If @option{--group} is used, each operation is performed on every group. If @option{--group} is not used, each operation is performed on all the values in the input file. @vindex LC_NUMERIC The @env{LC_NUMERIC} locale specifies the decimal-point character and the thousands separator. @exdent @command{datamash} supports the following operations: @table @asis @item Primary operations: @code{groupby}, @code{crosstab}, @code{transpose}, @code{reverse}, @code{check} @item Line-Filtering operations: @code{rmdup} @item Per-Line operations: @code{base64}, @code{debase64}, @code{md5}, @code{sha1}, @code{sha224}, @code{sha256}, @code{sha384}, @code{sha512}, @code{bin}, @code{strbin}, @code{round}, @code{floor}, @code{ceil}, @code{trunc}, @code{frac}, @code{dirname}, @code{basename}, @code{extname}, @code{barename}, @code{getnum}, @code{cut}, @code{echo} @item Group-by Numeric operations: @code{sum}, @code{min}, @code{max}, @code{absmin}, @code{absmax}, @code{range} @item Group-by Textual/Numeric operations: @code{count}, @code{first}, @code{last}, @code{rand}, @code{unique}, @code{uniq}, @code{collapse}, @code{countunique} @item Group-by Statistical operations: @code{mean}, @code{geomean}, @code{harmmean}, @code{mode}, @code{median}, @code{q1}, @code{q3}, @code{iqr}, @code{perc}, @code{antimode}, @code{pstdev}, @code{sstdev}, @code{pvar}, @code{svar}, @code{ms}, @code{rms}, @code{mad}, @code{madraw}, @code{sskew}, @code{pskew}, @code{skurt}, @code{pkurt}, @code{jarque}, @code{dpo}, @code{scov}, @code{pcov}, @code{spearson}, @code{ppearson}, @code{dotprod} @end table @exdent Grouping options: @table @option @item --skip-comments @itemx -C @opindex --skip-comments @opindex -C Skip comment lines (starting with '#' or ';' and optional whitespace). @item --full @itemx -f @opindex --full @opindex -f Print entire input line before op results (default: print only the grouped keys). While using this option with non-linewise operations was historically permitted, it never produced very sensible output. Such usage has been deprecated, and in a future release it will result in an error. @item --group=@var{X[,Y,Z]} @itemx -g @var{X[,Y,Z]} @opindex --group @opindex -g @cindex grouping Group input via fields @var{X[,Y,Z]}. By default, fields are separated by TABs. Use @option{--field-separator} to change the delimiter character. Input file must be sorted by the same fields @var{X[,Y,Z]}. Use @option{--sort} to automatically sort the input. If @option{--group} is not specified, each operation is performed in the entire input file. Ranges of field numbers like @var{X-Z} are also supported. @item --header-in @opindex --header-in Indicates the first input line is column headers, and should not be used for any calculations. @item --header-out @opindex --header-out Print column headers as first line. If the column header names are known (i.e. the input file had a header line, and the @command{command} was invoked with @option{--header-in}, @option{-H} or @option{--headers}), prints the operation and the name of the field (e.g. @samp{mean(X)}). Otherwise, prints the number operation and the field number (e.g. @samp{mean(field-3)}). @item --headers @itemx -H @opindex --headers @opindex -H Same as @samp{--header-in --header-out}. A short option indicating the input file has a header line, and the output should contain a header line as well. @item --vnlog @opindex --vnlog Enable experimental support for the vnlog data file format for both input and output. This format is explained at @url{https://github.com/dkogan/vnlog}. @item --ignore-case @itemx -i @opindex --ignore-case @opindex -i Ignore upper/lower case when comparing text for grouping, sorting, and comparing unique values in the @samp{countunique} and @samp{unique} (or @samp{uniq}) operations. @item --sort @itemx -s @opindex --sort @opindex -s @cindex sorting Sort the input before grouping. @command{datamash} requires sorted input. If the input is not sorted, using @option{--sort} will automatically sort the input before processing it further. Sorting will be performed based on the specified @option{--group} parameter, and respecting case @option{--ignore-case} option (if used). The following commands are equivalent: @example $ cat FILE | sort -k1,1 | datamash --group 1 sum 1 $ cat FILE | datamash --sort --group 1 sum 1 @end example @item --sort-cmd=@var{PATH} @opindex --sort-cmd @cindex sorting Use the given program to sort instead of the system @command{sort} @end table @exdent File Operation options: @table @option @item --no-strict @opindex --no-strict Allow lines with varying number of fields. By default, @option{transpose} and @option{reverse} will fail with an error message unless all input lines have the same number of fields. @item --filler=@var{x} @opindex --filler When use @option{--no-strict} option, missing fields will be filled with this value. @end table @exdent General options: @table @option @item --format=@var{FORMAT} @opindex --format print numeric values with printf style floating-point @var{FORMAT}. @item --field-separator=@var{x} @itemx -t @var{x} @opindex --field-separator @opindex -t Use character @var{X} instead of TAB as input and output field delimiter. If @option{--output-delimiter} is also used, it will override the output field delimiter. @item --narm @opindex --narm Skip @var{NA} or @var{NaN} values. @item --output-delimiter=@var{x} @opindex --output-delimiter @opindex -t Use character @var{X} instead as output field delimiter. This option overrides @option{--field-separator}/@option{-t}/ @option{--whitespace}/@option{-W}. @item --collapse-delimiter=@var{x} @itemx -c @var{x} @opindex --collapse-delimiter @opindex -c Use character @var{X} instead of comma to delimit items in a @samp{collapse} or @samp{unique} (aka @samp{uniq}) list. @item --round=@var{N} @itemx -R @var{N} @opindex --round @opindex -R Round numeric output to @var{N} decimal places. @item --whitespace @itemx -W @opindex --whitespace @opindex -W Use whitespace (one or more spaces and/or tabs) for field delimiters. Leading whitespace is ignored, trailing whitespace results in an empty field. TAB character will be used as output field separator. If @option{--output-delimiter} is also used, it will override the output field delimiter. @item --seed @itemx -S @opindex --seed @opindex -S Select a specific random seed. By default, GNU Datamash uses getrandom(2), which should be suitable for most purposes. You may wish to force a specific seed if you either wish to draw on a specific entropy source or for ensuring the reproducibility of a specific test. @item --zero-terminated @itemx -z @opindex --zero-terminated @opindex -z End lines with a 0 byte, not newline. @item --help @itemx -h @opindex --help @opindex -h Print an informative help message on standard output and exit successfully. @item --version @itemx -V @opindex --version @opindex -V Print the version number and licensing information of Datamash on standard output and then exit successfully. @end table @node Available Operations @chapter Available operations in @command{datamash} @table @asis @item Primary operations: @cindex primary operations @cindex operations, primary @table @option @item groupby alternative syntax for @option{--group} @item crosstab cross-tabulate two fields (also known as 'pivot-tables') @item transpose transpose rows, columns of a text file @item reverse reverse fields in each line of a text file @item check verify tabular structure of input (ensure same number of fields in all lines) @end table @item Line-Filtering operation: @cindex line filtering operation @cindex operations, line filtering @table @option @item rmdup remove lines with duplicated key value @end table @item Per-Line operations: @cindex Per-Line operations @cindex operations, per-line @table @option @item base64 encode the field as base64 @item debase64 decode the field as base64. Exit with an error if the field is invalid base64 value which cannot be decoded. @item md5 calculates md5 hash of the field @item sha1 calculates sha1 hash of the field @item sha224 calculates sha224 hash of the field @item sha256 calculates sha256 hash of the field @item sha384 calculates sha384 hash of the field @item sha512 calculates sha512 hash of the field @item dirname extracts the directory name of the field (assuming the field is a file name). Similar to @command{dirname(1)}. @item basename extracts the base file name of the field (assuming the field is a file name). Similar to @command{basename(1)}. @item extname extracts the extension of the file name of the field (assuming the field is a file name). @item extname extracts the base file name of the field without the extension (assuming the field is a file name). @item getnum extract a number from the field. @code{getnum} accepts an optional single letter option @samp{n/i/d/p/h/o} affecting the detected value. @item cut copy input field to output field (similar to @command{cut(1)}). When the @code{cut} operation is given a list of fields, the fields are copied in the given order (in contrast to @command{cut(1)}). @item echo an alias for @code{cut}. @end table @item Group-by Numeric operations: @cindex numeric operations @cindex operations, numeric @table @option @item sum sum the of values @item min minimum value @item max maximum value @item absmin minimum of the absolute values @item absmax maximum of the absolute values @item range range of values (maximum - minimum) @end table @item Group-By Textual/Numeric operations: @cindex Textual operations @cindex operations, textual @table @option @item count count number of elements in the group @item first the first value of the group @item last the last value of the group @item rand one random value from the group @item unique comma-separated sorted list of unique values @item uniq an alias for @code{unique}. @option{--collapse-delimiter} can be used to use a different character than comma. @item collapse comma-separated list of all input values @option{--collapse-delimiter} can be used to use a different character than comma. @item countunique number of unique/distinct values @end table @item Group-By Statistical operations: @cindex Statistical operations @cindex operations, statistical @table @option @item mean mean of the values @item geomean geometric mean of the values @item harmmean harmonic mean of the values @item trimmean trimmed mean of the values @item ms mean square of the values @item rms root mean square of the values @item median median value @item q1 1st quartile value @item q3 3rd quartile value @item iqr inter-quartile range @item perc percentile value @item mode mode value (most common value) @item antimode anti-mode value (least common value) @item pstdev population standard deviation @item sstdev sample standard deviation @item pvar population variance @item svar sample variance @item mad Median Absolute Deviation, scaled by a constant 1.4826 for normal distributions @item madraw Median Absolute Deviation, unscaled @item sskew skewness of the (sample) group @item pskew skewness of the (population) group @item skurt Excess Kurtosis of the (sample) group @item pkurt Excess Kurtosis of the (population) group @item jarque p-value of the Jarque-Beta test for normality @item dpo p-value of the D'Agostino-Pearson Omnibus test for normality. @end table @end table @node Statistical Operations @chapter Statistical Operations @cindex statistics @cindex operations, statistical @cindex statistical operations @unnumberedsec Equivalent R functions GNU Datamash is designed to closely follow R project's (@url{https://www.r-project.org/}) statistical functions. See the @file{files/operators.R} file for the R equivalent code for each of datamash's operators. When building @command{datamash} from source code on your local computer, operators are compared to known results of the equivalent R functions. @node Usage Examples @chapter Usage Examples @cindex usage examples @cindex examples, usage @menu * Summary Statistics:: count,min,max,mean,stdev,median,quartiles * Header Lines and Column Names:: Using files with header lines * Field Delimiters:: Tabs, Whitespace, other delimiters * Column Ranges:: Operating on multiple columns * Reverse and Transpose:: swapping and transposing rows, columns * Groupby on @file{/etc/passwd}:: Groupby, count, collapse * Check:: Validate tabular structure * Crosstab:: Cross-tabulation (pivot-tables) * Rounding numbers:: round, ceil, floor, trunc, frac * Binning numbers:: assigning numbers into fixed number of buckets * Binning strings:: assigning strings into fixed number of buckets * Extracting numeric values:: using getnum @end menu @node Summary Statistics @section Summary Statistics @cindex summary statistics example @cindex examples, summary statistics The following are examples of using @command{datamash} to quickly calculate summary statistics. The examples will use a file with three fields (name, subject, score) representing grades of students: @example $ cat scores.txt Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 Walter Arts 75 ... @end example Counting how many students study each subject (@emph{subject} is the second field in the input file, thus @option{groupby 2}): @example $ datamash --sort groupby 2 @option{count} 2 < scores.txt Arts 19 Business 11 Engineering 13 Health-Medicine 13 Life-Sciences 12 Social-Sciences 15 @end example @cindex min, examples @cindex max, examples @cindex examples, min @cindex examples, max Similarly, find the minimum and maximum score in each subject: @example $ datamash --sort groupby 2 @option{min} 3 @option{max} 3 < scores.txt Arts 46 88 Business 79 94 Engineering 39 99 Health-Medicine 72 100 Life-Sciences 14 91 Social-Sciences 27 90 @end example @cindex mean, examples @cindex standard deviation, examples @cindex examples, mean @cindex examples, standard deviation find the mean and (population) standard deviation in each subject: @example $ datamash --sort groupby 2 @option{mean} 3 @option{pstdev} 3 < scores.txt Arts 68.947 10.143 Business 87.363 4.940 Engineering 66.538 19.101 Health-Medicine 90.615 8.862 Life-Sciences 55.333 19.728 Social-Sciences 60.266 16.643 @end example @cindex median, examples @cindex examples, median @cindex quartiles, examples @cindex examples, quartiles Find the median, first, third quartiles and the inter-quartile range in each subject: @example $ datamash --sort groupby 2 @option{median} 3 @option{q1} 3 @option{q3} @ 3 @option{iqr} 3 < scores.txt Arts 71 61.5 75.5 14 Business 87 83 92 9 Engineering 56 51 83 32 Health-Medicine 91 84 100 16 Life-Sciences 58.5 44.25 67.75 23.5 Social-Sciences 62 55 70.5 15.5 @end example @xref{Header Lines and Column Names} for examples of dealing with header lines. @node Header Lines and Column Names @section Header Lines and Column Names @opindex --header-out @cindex examples, header @cindex examples, header-out @cindex header, examples @cindex header-out, examples @unnumberedsubsec Output Header Lines If the input does @emph{not} have a header line, use @option{--header-out} to add a header in the first line of the output, indicating which operation was performed: @example $ datamash --sort @option{--header-out} groupby 2 @option{min} @ 3 @option{max} 3 < scores.txt GroupBy(field-2) min(field-3) max(field-3) Arts 46 88 Business 79 94 Engineering 39 99 Health-Medicine 72 100 Life-Sciences 14 91 Social-Sciences 27 90 @end example @unnumberedsubsec Skipping Input Header Lines @opindex --header-in @cindex examples, header @cindex examples, header-in @cindex header-in, examples If the input has a header line (first line containing column names), use @option{--header-in} to skip the line: @example $ cat scores_h.txt Name Major Score Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 ... $ datamash --sort @option{--header-in} groupby 2 mean 3 < scores_h.txt Arts 68.947 Business 87.363 Engineering 66.538 Health-Medicine 90.615 Life-Sciences 55.333 Social-Sciences 60.266 @end example If the header line is not skipped, @command{datamash} will show an error (due to strict input validation): @example $ datamash groupby 2 mean 3 < scores_h.txt datamash: invalid numeric value in line 1 field 3: 'Score' @end example @unnumberedsubsec Using Header Lines @opindex --headers @opindex -H @cindex examples, headers @cindex headers, examples Column names in the input header lines can be printed in the output header lines by using @option{--headers} (or @option{-H}, both are equivalent to @option{--header-in --header-out}): @example $ datamash --sort @option{--headers} groupby 2 mean 3 < scores_h.txt GroupBy(Major) mean(Score) Arts 68.947 Business 87.363 Engineering 66.538 Health-Medicine 90.615 Life-Sciences 55.333 Social-Sciences 60.266 @end example Or in short form (@option{-sH} instead of @option{--sort --headers}), equivalent to the above command: @example $ datamash @option{-sH} groupby 2 mean 3 @end example @unnumberedsubsec Column Names @cindex column names @cindex field names When the input file has a header line, column names can be used instead of column numbers. In the example below, @var{Major} is used instead of the value 2, and @var{Score} is used instead of the value 3: @example $ datamash --sort --headers groupby Major mean Score < scores_h.txt GroupBy(Major) mean(Score) Arts 68.947 Business 87.363 Engineering 66.538 Health-Medicine 90.615 Life-Sciences 55.333 Social-Sciences 60.266 @end example @command{datamash} will read the first line of the input, and deduce the correct column number based on the given name. If the column name is not found, an error will be printed: @example $ datamash --sort --headers groupby 2 mean @option{Foo} < scores_h.txt datamash: column name 'Foo' not found in input file @end example Field names must be escaped with a backslash if they start with a digit or contain special characters (dash/minus, colons, commas). Note the interplay between escaping with backslash and shell quoting. The following equivalent command sum the values of a field named @samp{FOO-BAR}: @example $ datamash -H sum FOO\\-BAR < input.txt $ datamash -H sum 'FOO\-BAR' < input.txt $ datamash -H sum "FOO\\-BAR" < input.txt @end example @node Field Delimiters @section Field Delimiters @cindex field delimiters @cindex whitespace delimiters @cindex delimiters, whitespace @cindex tab delimiters @cindex delimiters, tabs @command{datamash} uses tabs (ASCII character 0x09) as default field delimiters. Use @option{-W} to treat one or more consecutive whitespace characters as field delimiters. Use @option{-t}, @option{--field-separator} to set a custom field delimiter. The following examples illustrate the various options. By default, fields are separated by a single tab. Multiple tabs denotes multiple fields (this is consistent with GNU coreutils' @command{cut}): @example $ printf '1\t\t2\n' | datamash sum 3 2 $ printf '1\t\t2\n' | cut -f3 2 @end example Every tab separates two fields. A line starting with a tab thus starts with an empty field, and a line ending with a tab ends with an empty field. Using @option{-W}, one or more consecutive whitespace characters are treated as a single field delimiter: @example $ printf '1 \t 2\n' | datamash -W sum 2 2 $ printf '1 \t 2\n' | datamash -W sum 3 datamash: invalid input: field 3 requested, line 1 has only 2 fields @end example With @option{-W}, leading whitespace is ignored, but trailing whitespace is significant. A line starting with one or more consecutive whitespace characters followed by a non-whitespace character starts with a non-empty field. A line ending with one or more consecutive whitespace characters ends with an empty field. Using @option{-t}, a custom field delimiter character can be specified. Multiple consecutive delimiters are treated as multiple fields: @example $ printf '1,10,,100\n' | datamash -t, sum 4 100 @end example @node Column Ranges @section Column Ranges @cindex column ranges @cindex ranges, columns @cindex multiple columns @command{datamash} accepts column ranges such as @var{1,2,3} and @var{1-3}. Simulating input with multiple columns: @example $ seq 100 | paste - - - - 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... @end example The following are equivalent: @example $ seq 100 | paste - - - - | datamash sum @option{1 sum 2 sum 3 sum 4} 1225 1250 1275 1300 $ seq 100 | paste - - - - | datamash sum @option{1,2,3,4} 1225 1250 1275 1300 $ seq 100 | paste - - - - | datamash sum @option{1-4} 1225 1250 1275 1300 $ seq 100 | paste - - - - | datamash sum @option{1-3,4} 1225 1250 1275 1300 @end example Ranges can be used with multiple operations: @example $ seq 100 | paste - - - - | datamash @option{sum 1-4 mean 1-4} 1225 1250 1275 1300 49 50 51 52 @end example @node Reverse and Transpose @section Reverse and Transpose @unnumberedsubsec Transpose @cindex transpose @cindex swap rows, columns Use @option{transpose} to swap rows and columns in a file: @example $ cat input.txt Sample Year Count A 2014 1002 B 2013 990 C 2014 2030 D 2014 599 $ datamash @option{transpose} < input.txt Sample A B C D Year 2014 2013 2014 2014 Count 1002 990 2030 599 @end example @cindex strict mode @cindex input validation, transpose @cindex transpose, input validation By default, @option{transpose} verifies the input has the same number of fields in each line, and fails with an error otherwise: @example $ cat input.txt Sample Year Count A 2014 1002 B 2013 C 2014 2030 D 2014 599 $ datamash @option{transpose} < input1.txt datamash: transpose input error: line 3 has 2 fields (previous lines had 3); see --help to disable strict mode @end example Use @option{--no-strict} to allow missing values: @opindex --no-strict @cindex strict, transpose @cindex transpose, strict @example $ datamash @option{--no-strict} transpose < input1.txt Sample A B C D Year 2014 2013 2014 2014 Count 1002 N/A 2030 599 @end example @opindex --filler @cindex missing values, transpose @cindex transpose, missing values @cindex transpose, filler value Use @option{--filler} to set the missing-field filler value: @example $ datamash --no-strict @option{--filler XYZ} transpose < input1.txt Sample A B C D Year 2014 2013 2014 2014 Count 1002 XYZ 2030 599 @end example @unnumberedsubsec Reverse @cindex reverse columns @cindex columns, reverse Use @option{reverse} to reverse the fields order in a file: @example $ cat input.txt Sample Year Count A 2014 1002 B 2013 990 C 2014 2030 D 2014 599 $ datamash @option{reverse} < input.txt Count Year Sample 1002 2014 A 990 2013 B 2030 2014 C 599 2014 D @end example @cindex reverse, strict @cindex strict, reverse By default, reverse verifies the input has the same number of fields in each line, and fails with an error otherwise. Use @option{--no-strict} to disable this behavior (see section above for an example). @unnumberedsubsec Combining Reverse and Transpose @cindex tac @cindex reversing lines @cindex reverse, and transpose @cindex transpose, and reverse Reverse and Transpose can be combined to achieve various manipulations. (reminder: @url{https://www.gnu.org/software/coreutils/tac,tac} can be used to reverse lines in a file): @example $ cat input.txt A 1 xx B 2 yy C 3 zz $ tac input.txt C 3 zz B 2 yy A 1 xx $ tac input.txt | datamash reverse zz 3 C yy 2 B xx 1 A $ cat input.txt | datamash reverse | datamash transpose xx yy zz 1 2 3 A B C $ tac input.txt | datamash reverse | datamash transpose zz yy xx 3 2 1 C B A @end example @node Groupby on @file{/etc/passwd} @section Groupby on @file{/etc/passwd} @cindex groupby @cindex @file{/etc/passwd}, examples @cindex examples, @file{/etc/passwd} @command{datamash} with the @option{groupby} operation mode can be used to aggregate information. Using this simulated @file{/etc/passwd} file as input: @example $ cat passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin mysql:x:115:124:MySQL Server,,,:/var/lib/mysql:/bin/false sshd:x:116:65534::/var/run/sshd:/usr/sbin/nologin guest:x:118:125:Guest,,,:/tmp/guest-home.phc17z:/bin/bash gordon:x:1004:1000:Assaf Gordon,,,,:/home/gordon:/bin/bash charles:x:1005:1000:Charles,,,,:/home/charles:/bin/bash alice:x:1006:1000:Alice,,,,:/home/alice:/bin/bash bob:x:1007:1000:Bob,,,,:/home/bob:/bin/bash postgres:x:119:126:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash rabbitmq:x:125:138:RabbitMQ messaging server,,,:/var/lib/rabbitmq:/bin/false redis:x:126:140:redis server,,,:/var/lib/redis:/bin/false postfix:x:127:141::/var/spool/postfix:/bin/false @end example @opindex -t @opindex --field-separator Parameter @option{-t} is used to indicate the field separator @var{:} (instead of the default @var{tab}). @cindex groupby, and count @cindex count @cindex login shell, examples Aggregate (@option{groupby}) login shells (column 7) and @option{count} how many users use each: @example $ datamash -t: --sort groupby 7 count 7 < passwd /bin/bash:7 /bin/false:4 /bin/sync:1 /usr/sbin/nologin:14 @end example @cindex groupby, and collapse @cindex collapse Aggregate (@option{groupby}) login shells (column 7) and print comma-separated list of users (column 1) for each shell (@option{collapse}): @example $ cat passwd | datamash -t: --sort groupby 7 collapse 1 /bin/bash:root,guest,gordon,charles,alice,bob,postgres /bin/false:mysql,rabbitmq,redis,postfix /bin/sync:sync /usr/sbin/nologin:daemon,bin,sys,games,man,lp,mail,news,uucp,proxy@ ,www-data,backup,list,sshd @end example Aggregate unix-groups (column 4) and print comma-separated list of users (column 1) for in each group: @example $ datamash -t: --sort groupby 4 collapse 1 < /etc/passwd 0:root 1:daemon 10:uucp 1000:gordon,charles,alice,bob 12:man 124:mysql 125:guest 126:postgres 13:proxy 138:rabbitmq 140:redis 141:postfix 2:bin 3:sys 33:www-data 34:backup 38:list 60:games 65534:sync,sshd 7:lp 8:mail 9:news @end example @node Check @section Check - checking tabular structure @cindex check @cindex checking tabular structure @command{datamash} @option{check} validates the tabular structure of a file, ensuring all lines have the same number of fields. @option{check} is meant to be used in scripting and automation pipelines, as it will terminate with non-zero exit code if the file is not well structured, while also printing detailed context information about the offending lines: @example $ cat good.txt A 1 ww B 2 xx C 3 yy D 4 zz $ cat bad.txt A 1 ww B 2 xx C 3 D 4 zz $ datamash check < good.txt && echo ok || echo fail 4 lines, 3 fields ok $ datamash check < bad.txt && echo ok || echo fail line 2 (3 fields): B 2 xx line 3 (2 fields): C 3 datamash: check failed: line 3 has 2 fields (previous line had 3) fail @end example @subsection Expected number of lines/fields @option{check} accepts optional @var{lines} and @var{fields} and will return failure if the input does not have the requested number of lines/fields. @exdent The syntax is: @example datamash check [@var{N} lines] [@var{N} fields] @end example @exdent Usage examples: @example $ cat file.txt A 1 ww B 2 xx C 3 yy D 4 zz $ datamash check 4 lines < file.txt && echo ok 4 lines, 3 fields ok $ datamash check 3 fields < file.txt && echo ok 4 lines, 3 fields ok $ datamash check 4 lines 3 fields < file.txt && echo ok 4 lines, 3 fields ok $ datamash check 7 fields < file.txt && echo ok line 1 (3 fields): A 1 ww datamash: check failed: line 1 has 3 fields (expecting 22) $ datamash check 10 lines < file.txt && echo ok datamash: check failed: input had 4 lines (expecting 10) @end example For convenience, @var{line},@var{row},@var{rows} can be used instead of @var{lines}; @var{field},@var{columns},@var{column},@var{col} can be used instead of @var{fields}. The following are all equivalent: @example datamash check 4 lines 10 fields < file.txt datamash check 4 rows 10 columns < file.txt datamash check 10 col 4 row < file.txt @end example @subsection checks in automation scripts @cindex fail fast @cindex shell scripts, check @cindex check, in automation and shell scripts In pipeline/automation context, it is often beneficial to validate files as early as possible (immediately after file is created, as in @url{https://en.wikipedia.org/wiki/Fail-fast, fail-fast methodology}). A typical usage in a shell script would be: @example @verbatim #!/bin/sh die() { base=$(basename "$0") echo "$base: error: $@" >&2 exit 1 } custom pipeline-or-program > output.txt \ || die "program failed" datamash check < output.txt \ || die "'output.txt' has invalid structure (missing fields)" @end verbatim @end example If the generated @file{output.txt} file has invalid structure (i.e. missing fields), @command{datamash} will print the @file{stderr} enough details to help in troubleshooting (line numbers and offending line's content). @node Crosstab @section Crosstab - Cross-Tabulation (pivot-tables) @cindex crosstab @cindex pivot tables @cindex cross tabulation Cross-tabulation compares the relationship between two fields. Given the following input file: @example $ cat input.txt a x 3 a y 7 b x 21 a x 40 @end example @opindex count @cindex count, crosstab and Show cross-tabulation between the first field (a/b) and the second field (x/y) - counting how many times each pair appears (note: sorting is required): @example $ datamash -s crosstab 1,2 < input.txt x y a 2 1 b 1 N/A @end example The default operation is @option{count} - in the above example, @var{a} and @var{x} appear twice in the input file, while @var{b} and @var{y} never appear together. An optional grouping operation can be used instead of counting. @opindex sum @cindex sum, crosstab and @cindex crosstab and sum For each pair, @option{sum} the values in the third column: @example $ datamash -s crosstab 1,2 sum 3 < input.txt x y a 43 7 b 21 N/A @end example @opindex unique @cindex unique, crosstab and @cindex crosstab and unique For each pair, list all @option{unique} values in the third column: @example $ datamash -s crosstab 1,2 unique 3 < input.txt x y a 3,40 7 b 21 N/A @end example @opindex --header-out @cindex --header-out, crosstab and @cindex crosstab and --header-out Note that using @option{--header-out} with crosstab prints a line showing how to interpret the rows and columns, and what operation was used. @example $ datamash -s --header-in --header-out crosstab 1,2 < input.txt GroupBy(a) GroupBy(x) count(a) x y a 1 1 b 1 N/A @end example @node Rounding numbers @section Rounding numbers @cindex rounding numbers @opindex round @opindex ceil @opindex floor @opindex trunc @opindex frac The following demonstrate the different rounding operations: @example $ ( echo X ; seq -1.25 0.25 1.25 ) \ | datamash --full -H round 1 ceil 1 floor 1 trunc 1 frac 1 X round(X) ceil(X) floor(X) trunc(X) frac(X) -1.25 -1 -1 -2 -1 -0.25 -1.00 -1 -1 -1 -1 0 -0.75 -1 0 -1 0 -0.75 -0.50 -1 0 -1 0 -0.5 -0.25 0 0 -1 0 -0.25 0.00 0 0 0 0 0 0.25 0 1 0 0 0.25 0.50 1 1 0 0 0.5 0.75 1 1 0 0 0.75 1.00 1 1 1 1 0 1.25 1 2 1 1 0.25 @end example @node Binning numbers @section Binning numbers @opindex bin @cindex buckets, binning numbers @cindex binning numbers Bin input values into buckets of size 5: @example $ ( echo X ; seq -10 2.5 10 ) \ | datamash -H --full bin:5 1 X bin(X) -10.0 -10 -7.5 -10 -5.0 -5 -2.5 -5 0.0 0 2.5 0 5.0 5 7.5 5 10.0 10 @end example @node Binning strings @section Binning strings @opindex strbin @cindex buckets, binning strings @cindex binning strings Hash any string input value into a numeric integer. A typical usage would be to split an input file into @var{N} chunks, ensuring that all values of a certain key will be stored in the same chunk: @example $ cat input.txt PatientA 10 PatientB 11 PatientC 12 PatientA 14 PatientC 15 @end example Each patient ID is hashed into a bin between 0 and 9 and printed in the last field: @example $ datamash --full strbin 1 < input.txt PatientA 10 5 PatientB 11 6 PatientC 12 7 PatientA 14 5 PatientC 15 7 @end example Splitting the input into chunks can be done with awk: @example @verbatim $ cat input.txt | datamash --full strbin 1 \ | awk '{print > $NF ".txt"}' @end verbatim @end example @node Extracting numeric values @section Extracting numeric values - using getnum @opindex getnum @cindex numbers, extracting from a field The @code{getnum} operation extracts a numeric value from the field: @example @verbatim $ echo zoom-123.45xyz | datamash getnum 1 123.45 @end verbatim @end example @code{getnum} accepts an optional single-letter @var{TYPE} option: @table @option @item getnum:n natural numbers (positive integers, including zero) @item getnum:i integers @item getnum:d decimal point numbers @item getnum:p positive decimal point numbers (this is the default) @item getnum:h hex numbers @item getnum:o octal numbers @end table Examples: @example @verbatim $ echo zoom-123.45xyz | datamash getnum 1 123.45 $ echo zoom-123.45xyz | datamash getnum:n 1 123 $ echo zoom-123.45xyz | datamash getnum:i 1 -123 $ echo zoom-123.45xyz | datamash getnum:d 1 123.45 $ echo zoom-123.45xyz | datamash getnum:p 1 -123.45 # Hex 0x123 = 291 Decimal $ echo zoom-123.45xyz | datamash getnum:h 1 291 # Octal 0123 = 83 Decimal $ echo zoom-123.45xyz | datamash getnum:o 1 83 @end verbatim @end example @node Reporting bugs @chapter Reporting bugs @cindex bug reporting @cindex problems @cindex reporting bugs To report bugs, suggest enhancements or otherwise discuss GNU Datamash, please send electronic mail to @email{bug-datamash@@gnu.org}. @cindex checklist for bug reports For bug reports, please include enough information for the maintainers to reproduce the problem. Generally speaking, that means: @itemize @bullet @item The version numbers of Datamash (which you can find by running @w{@samp{datamash --version}}) and any other program(s) or manual(s) involved. @item Hardware and operating system names and versions. @item The contents of any input files necessary to reproduce the bug. @item The expected behavior and/or output. @item A description of the problem and samples of any erroneous output. @item Options you gave to @command{configure} other than specifying installation directories. @item Anything else that you think would be helpful. @end itemize When in doubt whether something is needed or not, include it. It's better to include too much than to leave out something important. @cindex patches, contributing Patches are welcome; if possible, please make them with @samp{@w{diff -u}} (@pxref{Top,, Overview, diff, Comparing and Merging Files}) and include @file{ChangeLog} entries (@pxref{Change Log,,, emacs, The GNU Emacs Manual}). Please follow the existing coding style. @node GNU Free Documentation License @appendix GNU Free Documentation License @include fdl.texi @node Concept index @unnumbered Concept index @printindex cp @bye datamash-1.9/doc/fdl.texi0000644000000000000000000005561214771573715011033 @c The GNU Free Documentation License. @center Version 1.3, 3 November 2008 @c This file is intended to be included within another document, @c hence no sectioning command or @node. @display Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. @uref{https://fsf.org/} Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @end display @enumerate 0 @item PREAMBLE The purpose of this License is to make a manual, textbook, or other functional and useful document @dfn{free} in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. This License is a kind of ``copyleft'', which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. @item APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The ``Document'', below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as ``you''. You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. A ``Modified Version'' of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. A ``Secondary Section'' is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. The ``Invariant Sections'' are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. The ``Cover Texts'' are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. A ``Transparent'' copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not ``Transparent'' is called ``Opaque''. Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, La@TeX{} input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG@. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only. The ``Title Page'' means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, ``Title Page'' means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. The ``publisher'' means any person or entity that distributes copies of the Document to the public. A section ``Entitled XYZ'' means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as ``Acknowledgements'', ``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title'' of such a section when you modify the Document means that it remains a section ``Entitled XYZ'' according to this definition. The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. @item VERBATIM COPYING You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. @item COPYING IN QUANTITY If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. @item MODIFICATIONS You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: @enumerate A @item Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. @item List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement. @item State on the Title page the name of the publisher of the Modified Version, as the publisher. @item Preserve all the copyright notices of the Document. @item Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. @item Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. @item Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice. @item Include an unaltered copy of this License. @item Preserve the section Entitled ``History'', Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled ``History'' in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. @item Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the ``History'' section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. @item For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. @item Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. @item Delete any section Entitled ``Endorsements''. Such a section may not be included in the Modified Version. @item Do not retitle any existing section to be Entitled ``Endorsements'' or to conflict in title with any Invariant Section. @item Preserve any Warranty Disclaimers. @end enumerate If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. You may add a section Entitled ``Endorsements'', provided it contains nothing but endorsements of your Modified Version by various parties---for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. @item COMBINING DOCUMENTS You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. In the combination, you must combine any sections Entitled ``History'' in the various original documents, forming one section Entitled ``History''; likewise combine any sections Entitled ``Acknowledgements'', and any sections Entitled ``Dedications''. You must delete all sections Entitled ``Endorsements.'' @item COLLECTIONS OF DOCUMENTS You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. @item AGGREGATION WITH INDEPENDENT WORKS A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an ``aggregate'' if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. @item TRANSLATION Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. If a section in the Document is Entitled ``Acknowledgements'', ``Dedications'', or ``History'', the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. @item TERMINATION You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License. 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, receipt of a copy of some or all of the same material does not give you any rights to use it. @item FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions of the GNU Free Documentation 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. See @uref{https://www.gnu.org/licenses/}. Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License ``or any later version'' applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Document. @item RELICENSING ``Massive Multiauthor Collaboration Site'' (or ``MMC Site'') means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A ``Massive Multiauthor Collaboration'' (or ``MMC'') contained in the site means any set of copyrightable works thus published on the MMC site. ``CC-BY-SA'' means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization. ``Incorporate'' means to publish or republish a Document, in whole or in part, as part of another Document. An MMC is ``eligible for relicensing'' if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. @end enumerate @page @heading ADDENDUM: How to use this License for your documents To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: @smallexample @group Copyright (C) @var{year} @var{your name}. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. @end group @end smallexample If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the ``with@dots{}Texts.''@: line with this: @smallexample @group with the Invariant Sections being @var{list their titles}, with the Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}. @end group @end smallexample If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software. @c Local Variables: @c ispell-local-pdict: "ispell-dict" @c End: datamash-1.9/doc/local.mk0000644000000000000000000000270314771573715011007 # Make GNU Datamash documentation. -*-Makefile-*- # This is included by the top-level Makefile.am. # Based on GNU Hello: # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, # 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free # Software Foundation, Inc. # Modifications for GNU Datamash are # Copyright (C) 2014-2021 Assaf Gordon # 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 . info_TEXINFOS = doc/datamash.texi EXTRA_DIST += doc/datamash-texinfo.css # For the 'make html' target - generate a single HTML file # and embed the CSS statements in it. AM_MAKEINFOHTMLFLAGS = --no-split \ --css-include=$(top_srcdir)/doc/datamash-texinfo.css # Changes to the CSS should trigger a new HTML regeneration $(top_builddir)/doc/datamash.html: $(top_srcdir)/doc/datamash-texinfo.css doc_datamash_TEXINFOS = \ doc/fdl.texi datamash-1.9/doc/stamp-vti0000644000000000000000000000013314774035523011217 @set UPDATED 28 March 2025 @set UPDATED-MONTH March 2025 @set EDITION 1.9 @set VERSION 1.9 datamash-1.9/doc/version.texi0000644000000000000000000000013314774035523011730 @set UPDATED 28 March 2025 @set UPDATED-MONTH March 2025 @set EDITION 1.9 @set VERSION 1.9 datamash-1.9/examples/0000755000000000000000000000000014774035552010506 5datamash-1.9/examples/genes.txt0000644000000000000000000372467714352357450012316 1274 NM_020466 chr6 - 90341942 90348474 90346991 90348435 3 90341942,90347460,90348390, 90347072,90347601,90348474, 0 LYRM2 cmpl cmpl 0,0,0, 92 NM_152584 chrY + 20708576 20750849 20708673 20750520 2 20708576,20750421, 20709186,20750849, 0 HSFY1 cmpl cmpl 0,0, 1156 NM_001135752 chr10 - 74894281 74927853 74894340 74923695 15 74894281,74896461,74897760,74899066,74899388,74901144,74906033,74908033,74912050,74914013,74916032,74916325,74920191,74923490,74927623, 74894571,74896676,74897828,74899253,74899495,74901243,74906119,74908162,74912179,74914206,74916211,74916413,74920309,74923708,74927853, 0 ECD cmpl cmpl 0,1,2,1,2,2,0,0,0,2,0,2,1,0,-1, 875 NM_001195545 chr17 + 38097726 38100987 38097776 38100987 2 38097726,38100185, 38097802,38100987, 0 LRRC3C cmpl cmpl 0,2, 2296 NR_049764 chr1 + 224301788 224349749 224349749 224349749 4 224301788,224318173,224340843,224345053, 224302098,224318283,224341039,224349749, 0 FBXO28 unk unk -1,-1,-1,-1, 1448 NM_005054 chr2 - 113125964 113191107 113127754 113191030 23 113125964,113135629,113138400,113145600,113148551,113152194,113155498,113155675,113156799,113157208,113157612,113158693,113158984,113159243,113161542,113163873,113170007,113174769,113175260,113179536,113180124,113181816,113190958, 113127789,113135831,113138540,113147824,113148646,113152330,113155582,113155855,113156946,113157346,113157771,113158817,113159160,113159425,113161752,113163961,113170203,113174915,113175491,113179689,113180236,113181884,113191107, 0 RGPD5 cmpl cmpl 1,0,1,0,1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0, 1181 NM_012245 chr14 - 78183943 78227497 78184430 78227470 14 78183943,78184709,78187053,78189523,78197330,78198827,78201289,78202279,78203313,78205120,78205308,78217661,78221309,78227456, 78184629,78184873,78187171,78189620,78197472,78198944,78201355,78202349,78203418,78205227,78205404,78217823,78221463,78227497, 0 SNW1 cmpl cmpl 2,0,2,1,0,0,0,2,2,0,0,0,2,0, 1156 NM_198955 chr17 + 74868728 74946471 74868831 74944920 16 74868728,74878232,74898636,74899384,74900333,74901250,74902099,74921047,74922678,74928726,74934069,74936483,74936813,74942457,74943911,74944721, 74869045,74878380,74898752,74899458,74900504,74901415,74902269,74921179,74922812,74928857,74934225,74936630,74936930,74942532,74944168,74946471, 0 MGAT5B cmpl cmpl 0,1,2,1,0,0,0,2,2,1,0,0,0,0,0,2, 2142 NM_000537 chr1 - 204123943 204135465 204124143 204135421 10 204123943,204124947,204125305,204125804,204126488,204128526,204129687,204130419,204131140,204135323, 204124305,204125046,204125447,204125924,204126497,204128723,204129806,204130543,204131291,204135465, 0 REN cmpl cmpl 0,0,2,2,2,0,1,0,2,0, 874 NM_025079 chr1 + 37940118 37949978 37941097 37949212 6 37940118,37941059,37945890,37947201,37948034,37948337, 37940230,37941540,37946030,37947436,37948141,37949978, 0 ZC3H12A cmpl cmpl -1,0,2,1,2,1, 1427 NM_000757 chr1 + 110453232 110473616 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110465787,110467397,110467768,110471473, 110453684,110457003,110458318,110460085,110464616,110466812,110467450,110467824,110473616, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,0,2,-1, 1734 NM_001145017 chr5 - 150655925 150683334 150656953 150682915 11 150655925,150660574,150663604,150664173,150666806,150667946,150668494,150672924,150675740,150678153,150682787, 150657222,150660744,150663771,150664272,150667025,150668031,150668617,150673020,150675829,150678244,150683334, 0 SLC36A3 cmpl cmpl 1,2,0,0,0,2,2,2,0,2,0, 631 NM_006303 chr7 + 6048881 6063465 6048994 6063322 4 6048881,6054776,6057444,6062933, 6049129,6054983,6057676,6063465, 0 AIMP2 cmpl cmpl 0,0,0,1, 928 NM_015945 chr20 - 44978166 44993097 44979032 44987145 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1, 1735 NM_004935 chr7 - 150750898 150755052 150751095 150754935 12 150750898,150751298,150751491,150752113,150752363,150752618,150752839,150753666,150753822,150753994,150754158,150754898, 150751182,150751379,150751552,150752183,150752460,150752693,150752935,150753723,150753883,150754062,150754247,150755052, 0 CDK5 cmpl cmpl 0,0,2,1,0,0,0,0,2,0,1,0, 143 NM_001204426 chr7 + 73507485 73536855 73507579 73535631 15 73507485,73510951,73511409,73513361,73520204,73520406,73521339,73522200,73523234,73525977,73526262,73530131,73534912,73535221,73535468, 73507629,73511090,73511519,73513568,73520310,73520573,73521523,73522287,73523366,73526037,73526328,73530288,73534968,73535379,73536855, 0 LIMK1 cmpl cmpl 0,2,0,2,2,0,2,0,0,0,0,0,1,0,2, 1022 NM_007264 chr12 + 57388354 57390469 57388993 57390208 2 57388354,57388977, 57388432,57390469, 0 GPR182 cmpl cmpl -1,0, 1090 NM_005700 chr11 + 66247483 66277130 66249671 66276722 18 66247483,66249666,66252643,66254010,66254738,66255384,66258723,66258964,66259168,66260186,66260537,66261011,66262676,66262835,66263100,66264768,66272082,66276549, 66247936,66249941,66252733,66254148,66254813,66255478,66258854,66259095,66259227,66260381,66260650,66261104,66262739,66262960,66263221,66264948,66272245,66277130, 0 DPP3 cmpl cmpl -1,0,0,0,0,0,1,0,2,1,1,0,0,0,2,0,0,1, 1093 NM_017858 chr15 - 66629007 66649054 66629295 66645285 8 66629007,66633487,66641397,66641652,66643862,66644466,66645152,66648976, 66629519,66633694,66641461,66641775,66643938,66644545,66645293,66649054, 0 TIPIN cmpl cmpl 1,1,0,0,2,1,0,-1, 647 NM_001135109 chr11 - 8127596 8190590 8132244 8190536 2 8127596,8190412, 8132684,8190590, 0 RIC3 cmpl cmpl 1,0, 1184 NM_025234 chr15 - 78575577 78591940 78575773 78588028 11 78575577,78577602,78578382,78580630,78581960,78582292,78584957,78585508,78587287,78588016,78591903, 78575863,78577681,78578475,78580724,78582054,78582441,78585130,78585614,78587315,78588067,78591940, 0 WDR61 cmpl cmpl 0,2,2,1,0,1,2,1,0,0,-1, 1414 NM_001142344 chr12 - 108681820 108733094 108685617 108687368 3 108681820,108687365,108732803, 108686736,108687441,108733094, 0 CMKLR1 cmpl cmpl 0,0,-1, 1414 NM_001142343 chr12 - 108681820 108733094 108685617 108687368 4 108681820,108687365,108723771,108732803, 108686736,108687441,108723984,108733094, 0 CMKLR1 cmpl cmpl 0,0,-1,-1, 1471 NM_001172896 chr7 + 116166346 116201239 116166641 116199341 2 116166346,116198999, 116166743,116201239, 0 CAV1 cmpl cmpl 0,0, 661 NM_005680 chr2 + 9983570 10074545 9983670 10074113 15 9983570,9985348,9989501,9991669,9994454,10008404,10015993,10022834,10044987,10050864,10051639,10053287,10059169,10059726,10073911, 9983688,9985447,9989589,9991767,9994550,10008558,10016147,10022934,10045135,10051042,10051686,10053378,10059240,10059949,10074545, 0 TAF1B cmpl cmpl 0,0,0,1,0,0,1,2,0,1,2,1,2,1,2, 971 NR_024228 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A8 unk unk -1, 1583 NM_198938 chr9 - 130882971 130890741 130883423 130886093 8 130882971,130884640,130885212,130885980,130886770,130887057,130887522,130890526, 130883552,130884758,130885413,130886130,130886829,130887150,130887720,130890741, 0 PTGES2 cmpl cmpl 0,2,2,0,-1,-1,-1,-1, 1154 NM_000859 chr5 + 74632992 74657926 74638430 74656167 20 74632992,74638407,74639677,74640069,74641398,74643028,74645866,74646082,74646613,74646892,74647248,74650327,74650880,74651189,74652167,74654481,74654994,74655222,74655809,74656112, 74633125,74638595,74639789,74640157,74641483,74643134,74645973,74646199,74646774,74647140,74647427,74650522,74651039,74651347,74652273,74654652,74655135,74655381,74655964,74657926, 0 HMGCR cmpl cmpl -1,0,0,1,2,0,1,0,0,2,1,0,0,0,2,0,0,0,0,2, 588 NM_001286439 chr16 + 447191 450754 449108 450342 6 447191,448207,448989,449378,449626,450218, 447313,448394,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,-1,0,0,0,2, 859 NM_001171873 chr5 - 35960857 36001130 35962975 35988585 6 35960857,35965487,35968120,35988551,35997340,36001069, 35963053,35966019,35968235,35988653,35997431,36001130, 0 UGT3A1 cmpl cmpl 0,2,1,0,-1,-1, 1864 NM_001146191 chr1 + 167691186 167761156 167691388 167757158 3 167691186,167734819,167757056, 167691479,167734986,167761156, 0 MPZL1 cmpl cmpl 0,1,0, 700 NM_001175 chr12 - 15094949 15114562 15095455 15103646 6 15094949,15097709,15100806,15102735,15103465,15114470, 15095655,15097773,15100883,15102819,15103658,15114562, 0 ARHGDIB cmpl cmpl 1,0,1,1,0,-1, 774 NM_001143919 chr14 + 24780704 24787242 24784857 24785916 2 24780704,24784842, 24781010,24787242, 0 LTB4R cmpl cmpl -1,0, 14 NM_001135197 chr3 + 49236932 49295537 49249213 49294715 8 49236932,49249198,49273980,49278658,49281836,49282078,49292822,49293566, 49237006,49249269,49274155,49278822,49281885,49282166,49292926,49295537, 0 CCDC36 cmpl cmpl -1,0,2,0,2,0,1,0, 33 NM_001168221 chr2 - 202352143 202483905 202352334 202483853 16 202352143,202355891,202360617,202400743,202402158,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202352625,202359482,202360692,202401043,202402202,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl 0,0,0,0,1,0,2,2,0,0,0,0,1,0,0,0, 2129 NM_001168217 chr2 - 202399042 202483905 202400596 202483853 13 202399042,202402158,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202401043,202402202,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl 0,1,0,2,2,0,0,0,0,1,0,0,0, 33 NM_001168216 chr2 - 202352143 202483905 202360666 202483853 13 202352143,202360617,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202352625,202360692,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl -1,1,0,2,2,0,0,0,0,1,0,0,0, 978 NM_001145260 chr10 + 51565107 51590734 51568356 51586675 12 51565107,51568293,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51586609,51589224, 51565296,51568390,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51586698,51590734, 0 NCOA4 cmpl cmpl -1,0,1,0,0,2,0,0,0,0,0,-1, 191 NR_027282 chr10 + 124639148 124658230 124658230 124658230 6 124639148,124640190,124641113,124644232,124647784,124657308, 124639595,124640272,124641183,124644368,124648239,124658230, 0 LOC399815 unk unk -1,-1,-1,-1,-1,-1, 930 NM_001166292 chr1 - 45285515 45308616 45286360 45308604 23 45285515,45288273,45288740,45288914,45291921,45292159,45292573,45292838,45293073,45293514,45293967,45294177,45294653,45294828,45295073,45295285,45295580,45296519,45297377,45297646,45297823,45307518,45308532, 45286376,45288341,45288840,45289057,45292059,45292440,45292754,45292981,45293386,45293863,45294086,45294303,45294746,45294984,45295205,45295433,45295702,45296715,45297469,45297716,45298013,45307711,45308616, 0 PTCH2 cmpl cmpl 2,0,2,0,0,1,0,1,0,2,0,0,0,0,0,2,0,2,0,2,1,0,0, 909 NM_015497 chr15 - 42502649 42565782 42503905 42565596 20 42502649,42510000,42510520,42511778,42512259,42519003,42519908,42520909,42523387,42525410,42528517,42529629,42531867,42536247,42553155,42553393,42556287,42560144,42564260,42565452, 42503947,42510031,42510576,42511840,42512333,42519107,42519967,42521016,42523458,42525504,42528617,42529813,42531929,42536365,42553200,42553447,42556401,42560230,42564321,42565782, 0 TMEM87A cmpl cmpl 0,2,0,1,2,0,1,2,0,2,1,0,1,0,0,0,0,1,0,0, 1406 NM_017515 chr11 - 107661716 107729914 107663340 107729493 8 107661716,107673726,107675443,107676084,107677442,107682392,107686515,107729383, 107663526,107673881,107675496,107676241,107677602,107682520,107686691,107729914, 0 SLC35F2 cmpl cmpl 0,1,2,1,0,1,2,0, 1510 NM_001012659 chr3 + 121286777 121309469 121289560 121305447 5 121286777,121289548,121295630,121303763,121304868, 121286860,121289663,121295747,121303912,121309469, 0 ARGFX cmpl cmpl -1,0,1,1,0, 1347 NM_001098200 chr13 - 99906966 99910682 99907130 99908126 2 99906966,99910407, 99908160,99910682, 0 GPR18 cmpl cmpl 0,-1, 1420 NM_001145374 chr12 - 109525992 109531293 109526010 109530591 4 109525992,109527813,109530311,109531051, 109526317,109528012,109530742,109531293, 0 ALKBH2 cmpl cmpl 2,1,0,-1, 754 NM_015359 chr8 + 22224761 22280249 22262223 22277211 9 22224761,22262208,22265822,22267458,22272292,22273281,22273585,22275163,22277064, 22224921,22262493,22266009,22267628,22272415,22273470,22273793,22275348,22280249, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 817 NR_002222 chr17 - 30477386 30478590 30478590 30478590 1 30477386, 30478590, 0 ARGFXP2 unk unk -1, 662 NM_031917 chr19 - 10203012 10213425 10203264 10207239 6 10203012,10204024,10204368,10205433,10206657,10213243, 10203455,10204295,10204556,10205614,10207249,10213425, 0 ANGPTL6 cmpl cmpl 1,0,1,0,0,-1, 846 NM_032963 chr17 - 34310691 34313764 34310836 34313685 3 34310691,34311373,34313606, 34310924,34311488,34313764, 0 CCL14 cmpl cmpl 2,1,0, 1187 NM_001256567 chr15 - 78916635 78933587 78917296 78933475 5 78916635,78923417,78923629,78927780,78933420, 78917633,78923527,78923674,78927929,78933587, 0 CHRNB4 cmpl cmpl 2,0,0,1,0, 1264 NM_001160104 chr14 + 89029252 89079853 89029477 89078095 17 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89068267,89069171,89073586,89075610,89076058,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89068427,89069389,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,1,2,1,2,1,0,2, 959 NM_000884 chr3 - 49061761 49066875 49061815 49066783 14 49061761,49061927,49062091,49062328,49062558,49063756,49063951,49064119,49064392,49065142,49065680,49065863,49066190,49066685, 49061837,49062011,49062235,49062473,49062702,49063852,49064042,49064319,49064480,49065349,49065755,49065965,49066239,49066875, 0 IMPDH2 cmpl cmpl 2,2,2,1,1,1,0,1,0,0,0,0,2,0, 602 NM_013321 chr7 - 2291404 2354099 2294690 2354056 11 2291404,2296508,2296999,2297369,2302864,2303932,2309193,2311484,2314746,2317734,2353962, 2294804,2296658,2297149,2297438,2302997,2304093,2309274,2311606,2314864,2317940,2354099, 0 SNX8 cmpl cmpl 0,0,0,0,2,0,0,1,0,1,0, 176 NM_015723 chr7 - 108110865 108166762 108112844 108155935 12 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108158633,108161919,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108156018,108158745,108161965,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1,-1,-1, 901 NR_003365 chr13 - 41486024 41495910 41495910 41495910 3 41486024,41495609,41495754, 41486859,41495667,41495910, 0 SUGT1P3 unk unk -1,-1,-1, 141 NM_001190807 chr18 - 71920526 71959251 71920818 71959110 4 71920526,71922975,71930583,71958981, 71920900,71923010,71930712,71959251, 0 CYB5A cmpl cmpl 2,0,0,0, 915 NM_001146037 chr18 + 43306917 43332485 43307236 43329916 9 43306917,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43307383,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl 0,0,1,2,2,0,1,1,0, 90 NM_001204145 chr7 + 18535368 18708466 18535925 18706150 11 18535368,18535884,18624903,18629967,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18535477,18535947,18625145,18630109,18631265,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,0,0,1,0, 835 NM_148919 chr6 - 32808493 32811816 32808735 32811773 6 32808493,32809307,32809910,32810448,32810718,32811626, 32808824,32809512,32810040,32810560,32810866,32811816, 0 PSMB8 cmpl cmpl 1,0,2,1,0,0, 832 NM_017964 chr2 + 32390909 32449181 32390969 32445782 14 32390909,32396355,32399131,32400387,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32434561,32445281, 32390972,32396442,32399216,32400430,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32434630,32449181, 0 SLC30A6 cmpl cmpl 0,0,0,1,2,2,2,2,1,2,2,0,0,0, 119 NM_022827 chr17 + 48624449 48633213 48624569 48633023 17 48624449,48625080,48625643,48625914,48626170,48626403,48626646,48627345,48627568,48627896,48628068,48628358,48628871,48629329,48631611,48632592,48632852, 48624646,48625128,48625814,48625979,48626325,48626547,48626848,48627476,48627673,48627971,48628278,48628551,48629040,48629541,48631811,48632673,48633213, 0 SPATA20 cmpl cmpl 0,2,2,2,1,0,0,1,0,0,0,0,1,2,1,0,0, 980 NM_001242362 chrX - 51804922 51812368 51805124 51811268 14 51804922,51805329,51806082,51806798,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51806846,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811320,51812368, 0 MAGED4B cmpl cmpl 2,0,2,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_001242362 chrX + 51927918 51935364 51929018 51935162 14 51927918,51928966,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51933440,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51933488,51934204,51934957,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,2,0,2, 1007 NM_001242357 chr19 + 55417507 55424439 55417545 55424239 5 55417507,55417656,55420603,55421377,55424057, 55417579,55417692,55420882,55421425,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1, 1007 NM_001242356 chr19 + 55417507 55424439 55417545 55424239 6 55417507,55417656,55420603,55421377,55423535,55424057, 55417579,55417692,55420882,55421425,55423586,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1, 113 NM_006345 chr4 + 41992522 42089551 41992668 42088143 18 41992522,42003632,42020127,42022432,42024854,42025318,42037291,42041002,42051393,42062207,42065002,42067326,42068566,42069101,42072542,42077673,42080228,42088098, 41992777,42003797,42020187,42022532,42024947,42025401,42037350,42041070,42051496,42062263,42065138,42067366,42068638,42069209,42072708,42077803,42080342,42089551, 0 SLC30A9 cmpl cmpl 0,1,1,1,2,2,1,0,2,0,2,0,1,1,1,2,0,0, 93 NM_022459 chr13 - 21351467 21476913 21357860 21476877 23 21351467,21361103,21361619,21362624,21364600,21370214,21370902,21373303,21374294,21374969,21381595,21382574,21383221,21383929,21395842,21396270,21401205,21417033,21417908,21429765,21436855,21442734,21476808, 21358058,21361196,21361737,21362755,21364719,21370395,21371196,21373478,21374464,21375129,21381773,21382720,21383364,21384106,21396017,21396428,21401318,21417187,21418025,21429904,21436997,21442840,21476913, 0 XPO4 cmpl cmpl 0,0,2,0,1,0,0,2,0,2,1,2,0,0,2,0,1,0,0,2,1,0,0, 828 NM_006929 chr6 + 31926580 31937532 31926969 31937492 28 31926580,31927073,31927786,31927996,31928208,31928442,31928817,31928972,31929323,31929685,31930215,31930490,31930761,31931189,31931413,31931689,31932008,31933559,31934485,31934780,31935049,31935491,31935732,31936104,31936462,31936647,31937056,31937291, 31926991,31927177,31927896,31928114,31928323,31928517,31928871,31929163,31929452,31929831,31930362,31930575,31930868,31931336,31931510,31931902,31932119,31933790,31934623,31934918,31935154,31935639,31935859,31936315,31936573,31936866,31937197,31937532, 0 SKIV2L cmpl cmpl 0,1,0,2,0,1,1,1,0,0,2,2,0,2,2,0,0,0,0,0,0,0,1,2,0,0,0,0, 143 NM_153614 chr11 + 73661363 73681332 73662114 73681159 8 73661363,73669361,73670538,73675922,73677182,73679389,73680290,73681005, 73662182,73669465,73670700,73676080,73677296,73679503,73680367,73681332, 0 DNAJB13 cmpl cmpl 0,2,1,1,0,0,0,2, 2264 NR_046437 chr1 - 220087605 220101993 220101993 220101993 4 220087605,220091596,220100369,220101142, 220089290,220091836,220100485,220101993, 0 SLC30A10 unk unk -1,-1,-1,-1, 1333 NR_040097 chr2 - 98081675 98091049 98091049 98091049 4 98081675,98088031,98088547,98088769, 98082014,98088252,98088677,98091049, 0 AC159540.1 unk unk -1,-1,-1,-1, 780 NM_020317 chr1 - 25568739 25573985 25569079 25573454 5 25568739,25570040,25571640,25572934,25573799, 25569196,25570124,25571792,25573520,25573985, 0 C1orf63 cmpl cmpl 0,0,1,0,-1, 1454 NM_012455 chr2 + 113931559 113960677 113940033 113958992 17 113931559,113939922,113942533,113942941,113943453,113949956,113950624,113950834,113951168,113951435,113953303,113953723,113955140,113955323,113956316,113956659,113958734, 113931631,113941089,113942650,113943017,113943832,113950166,113950705,113950947,113951227,113951525,113953347,113953884,113955211,113955490,113956461,113956803,113960677, 0 PSD4 cmpl cmpl -1,0,0,0,1,2,2,2,1,0,0,2,1,0,2,0,0, 1259 NM_001009894 chr12 + 88429267 88443937 88429425 88442199 7 88429267,88433924,88436601,88437375,88439358,88440583,88442010, 88429515,88434042,88436697,88437492,88439556,88440753,88443937, 0 C12orf29 cmpl cmpl 0,0,1,1,1,1,0, 596 NR_026710 chrX + 1519423 1532479 1532479 1532479 4 1519423,1520354,1522353,1531635, 1519479,1521118,1522478,1532479, 0 ASMTL-AS1 unk unk -1,-1,-1,-1, 955 NM_001272082 chr3 - 48509196 48514742 48510505 48514423 4 48509196,48510759,48511126,48514418, 48510585,48510972,48511242,48514742, 0 SHISA5 cmpl cmpl 1,1,2,0, 1108 NM_181515 chr11 - 68658745 68671303 68658798 68664123 7 68658745,68660357,68660870,68663982,68665394,68668002,68671190, 68658863,68660461,68660923,68664146,68665480,68668073,68671303, 0 MRPL21 cmpl cmpl 1,2,0,0,-1,-1,-1, 1108 NM_181514 chr11 - 68658745 68671303 68658798 68671278 7 68658745,68660357,68660870,68663982,68665394,68668015,68671190, 68658863,68660461,68660923,68664146,68665480,68668073,68671303, 0 MRPL21 cmpl cmpl 1,2,0,1,2,1,0, 587 NR_073609 chr5 + 271735 277055 277055 277055 3 271735,272825,276126, 271936,272887,277055, 0 PDCD6 unk unk -1,-1,-1, 1073 NR_102684 chr8 - 64080283 64081001 64081001 64081001 1 64080283, 64081001, 0 YTHDF3-AS1 unk unk -1, 897 NR_102422 chr17 + 41003200 41010147 41010147 41010147 4 41003200,41006553,41007460,41008291, 41004960,41006750,41007590,41010147, 0 AOC3 unk unk -1,-1,-1,-1, 1457 NM_012411 chr1 - 114356432 114414375 114357526 114414245 19 114356432,114362198,114367763,114372213,114372570,114375732,114376930,114377531,114380211,114381165,114397092,114397528,114399003,114399169,114400359,114401099,114401623,114401973,114414158, 114357591,114362276,114367794,114372329,114372651,114375760,114377061,114377615,114381029,114381242,114397159,114397671,114399063,114399241,114400398,114401195,114401700,114402082,114414375, 0 PTPN22 cmpl cmpl 1,1,0,1,1,0,1,1,2,0,2,0,0,0,0,0,1,0,0, 144 NM_001102421 chr9 - 74966340 74980163 74970868 74975694 6 74966340,74971846,74974333,74975025,74975543,74979611, 74971017,74971972,74974437,74975137,74975703,74980163, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1, 144 NM_001102420 chr9 - 74966340 74980163 74970868 74975694 7 74966340,74971846,74974333,74975025,74975543,74978385,74979611, 74971017,74971972,74974437,74975137,74975703,74978522,74980163, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1,-1, 865 NM_017826 chr13 - 36742344 36788752 36743170 36788663 11 36742344,36744667,36747828,36748612,36748858,36764082,36765931,36767757,36767942,36776015,36788615, 36743191,36744924,36747947,36748704,36749006,36764193,36766031,36767862,36768004,36776230,36788752, 0 SOHLH2 cmpl cmpl 0,1,2,0,2,2,1,1,2,0,0, 1234 NM_001166295 chr1 - 85109389 85156151 85113115 85136460 13 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85155836, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85156151, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,0,-1, 130 NM_194449 chr18 + 60382671 60647676 60382916 60646664 17 60382671,60497267,60506016,60527667,60562243,60563013,60570196,60572456,60582145,60587191,60608950,60612341,60625861,60630600,60639746,60642629,60645494, 60384492,60497464,60506142,60527834,60562390,60563244,60570399,60572517,60582241,60587347,60609151,60612504,60625992,60630705,60639941,60642858,60647676, 0 PHLPP1 cmpl cmpl 0,1,0,0,2,2,2,1,2,2,2,2,0,2,2,2,0, 1680 NM_001206938 chr7 - 143548460 143599278 143554188 143573701 9 143548460,143554166,143555916,143557300,143558187,143559508,143559894,143573081,143599119, 143551235,143554443,143556254,143557540,143558401,143559606,143560889,143573715,143599278, 0 FAM115A cmpl cmpl -1,0,1,1,0,1,2,0,-1, 1640 NM_014811 chr9 + 138371647 138380739 138376356 138379986 4 138371647,138374528,138375795,138376294, 138371868,138374661,138375928,138380739, 0 PPP1R26 cmpl cmpl -1,-1,-1,0, 816 NM_001199119 chr6 + 30297087 30314635 30297094 30314587 10 30297087,30298557,30303521,30307684,30308281,30309488,30313074,30313267,30314208,30314489, 30297547,30298653,30303752,30307707,30308397,30309673,30313175,30313350,30314334,30314635, 0 TRIM39-RPP21 cmpl cmpl 0,0,0,0,2,1,0,2,1,1, 965 NM_000084 chrX + 49832214 49863892 49834580 49856876 12 49832214,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49832415,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl -1,0,0,1,0,0,0,0,0,1,1,2, 177 NM_018984 chr12 - 109176465 109251359 109181763 109251272 15 109176465,109186061,109192775,109194555,109196097,109198831,109200076,109201408,109203468,109205035,109210813,109212024,109217033,109246413,109251203, 109183020,109186605,109192976,109194702,109196144,109198960,109200170,109201603,109203534,109205104,109210935,109212089,109217137,109246454,109251359, 0 SSH1 cmpl cmpl 0,2,2,2,0,0,2,2,2,2,0,1,2,0,0, 936 NM_001278216 chr17 + 46048321 46059152 46053256 46058868 12 46048321,46048727,46050884,46051296,46051765,46052879,46054077,46055197,46056194,46057958,46058528,46058802, 46048518,46048773,46051016,46051397,46052703,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl -1,-1,-1,-1,-1,0,0,0,1,0,2,0, 1087 NM_001242310 chrX - 65815481 65835872 65819325 65835862 7 65815481,65819315,65819880,65822474,65824262,65824889,65835775, 65817935,65819708,65819937,65822639,65824348,65825068,65835872, 0 EDA2R cmpl cmpl -1,1,1,1,2,0,0, 1626 NM_001097599 chr3 + 136537860 136574734 136573302 136574541 2 136537860,136573284, 136538205,136574734, 0 SLC35G2 cmpl cmpl -1,0, 816 NM_052888 chr17 + 30348154 30380519 30348165 30380347 12 30348154,30351729,30354787,30357674,30358396,30361928,30362583,30372718,30374779,30376120,30377021,30380284, 30349844,30351801,30354859,30357746,30358477,30362000,30362658,30372837,30374920,30376413,30377126,30380519, 0 LRRC37B cmpl cmpl 0,2,2,2,2,2,2,2,1,1,0,0, 683 NM_001099677 chr8 + 12869772 12887284 12878566 12879553 2 12869772,12878516, 12870302,12887284, 0 KIAA1456 cmpl cmpl -1,0, 983 NM_138792 chr15 - 52230221 52263998 52230352 52263942 12 52230221,52239488,52242004,52244040,52245325,52246677,52250938,52252095,52252835,52254585,52257945,52263884, 52230457,52239586,52242191,52244176,52245460,52246772,52251023,52252241,52252930,52254690,52258701,52263998, 0 LEO1 cmpl cmpl 0,1,0,2,2,0,2,0,1,1,1,0, 199 NM_001164618 chrX - 132669775 133119673 132670151 133119476 8 132669775,132730467,132795757,132826396,132833922,132887508,133087124,133119301, 132670321,132730627,132795878,132826522,132834056,132888203,133087238,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,1,1,0, 138 NR_015446 chr4 + 69048009 69078188 69078188 69078188 3 69048009,69051477,69078023, 69049221,69051601,69078188, 0 FTLP10 unk unk -1,-1,-1, 821 NM_001282328 chr22 - 30972611 31003000 30973032 30980655 17 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30988118,31001400,31002795, 30973116,30974985,30975290,30975922,30976165,30976688,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30988385,31001504,31003000, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1, 74 NM_001282326 chr17 - 1963132 1992055 1964785 1990458 7 1963132,1968366,1968761,1972071,1985103,1989018,1990368, 1964916,1968448,1968973,1972225,1985250,1989195,1992055, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,0, 825 NM_004847 chr6 + 31582993 31584798 31583888 31584287 3 31582993,31583297,31583446, 31583070,31583359,31584798, 0 AIF1 cmpl cmpl -1,-1,0, 862 NM_001195415 chr13 - 36342788 36429998 36348778 36429665 14 36342788,36362348,36367502,36379835,36382360,36383154,36384971,36396865,36401771,36402386,36410169,36413228,36428635,36429646, 36348836,36362422,36367616,36379916,36382457,36383232,36385105,36397012,36401891,36402444,36410278,36413313,36428730,36429998, 0 DCLK1 cmpl cmpl 2,0,0,0,2,2,0,0,0,2,1,0,1,0, 882 NM_001195387 chr17 + 38975343 38992526 38990768 38991545 3 38975343,38989366,38990633, 38975422,38989451,38992526, 0 TMEM99 cmpl cmpl -1,-1,0, 1314 NM_001134658 chr10 + 95653729 95662491 95653790 95661247 3 95653729,95658327,95660508, 95653968,95658508,95662491, 0 SLC35G1 cmpl cmpl 0,1,2, 1260 NM_181783 chr12 + 88536072 88593664 88542092 88589426 14 88536072,88542064,88547067,88548064,88553890,88554455,88560106,88566373,88568383,88569984,88582619,88584229,88586380,88588614, 88536264,88542281,88547286,88548164,88554006,88554628,88560359,88566522,88568504,88570096,88582723,88584399,88586607,88593664, 0 TMTC3 cmpl cmpl -1,0,0,0,1,0,2,0,2,0,1,0,2,1, 1734 NM_181776 chr5 - 150694538 150727151 150696377 150727021 10 150694538,150701606,150704846,150712784,150714889,150718620,150722448,150723070,150723737,150726857, 150696649,150701776,150705013,150712883,150715108,150718705,150722544,150723159,150723828,150727151, 0 SLC36A2 cmpl cmpl 1,2,0,0,0,2,2,0,2,0, 1734 NM_181774 chr5 - 150655925 150683334 150656953 150682915 10 150655925,150660574,150663604,150664173,150666806,150667946,150672924,150675740,150678153,150682787, 150657222,150660744,150663771,150664272,150667025,150668031,150673020,150675829,150678244,150683334, 0 SLC36A3 cmpl cmpl 1,2,0,0,0,2,2,0,2,0, 886 NM_181773 chr22 + 39493228 39500072 39496283 39499702 5 39493228,39496276,39497241,39497922,39499693, 39493348,39496433,39497509,39498047,39500072, 0 APOBEC3H cmpl cmpl -1,0,0,1,0, 144 NM_001142444 chr15 - 74922898 74988386 74924952 74967465 8 74922898,74927749,74932806,74948073,74963795,74967301,74979431,74988220, 74925287,74927967,74932960,74948409,74964115,74967483,74979520,74988386, 0 EDC3 cmpl cmpl 1,2,1,1,2,0,-1,-1, 144 NM_001142443 chr15 - 74922898 74988386 74924952 74967465 10 74922898,74927749,74932806,74948073,74963795,74967301,74969281,74979431,74985226,74988220, 74925287,74927967,74932960,74948409,74964115,74967483,74969363,74979520,74985359,74988386, 0 EDC3 cmpl cmpl 1,2,1,1,2,0,-1,-1,-1,-1, 719 NM_177405 chr22 - 17659679 17680673 17662372 17680468 7 17659679,17662709,17663493,17669228,17670831,17672572,17680438, 17662466,17662912,17663651,17669337,17670922,17672700,17680673, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,0, 1116 NM_001104554 chr15 + 69606741 69699976 69652419 69696161 9 69606741,69629679,69652304,69672221,69677015,69681992,69689806,69692312,69695919, 69607133,69629840,69652470,69672349,69677221,69682119,69689903,69692454,69699976, 0 PAQR5 cmpl cmpl -1,-1,0,0,2,1,2,0,1, 838 NM_001164267 chr6 - 33246879 33257304 33247052 33256947 15 33246879,33247273,33247540,33248204,33248450,33254571,33254867,33255131,33255390,33255741,33255924,33256134,33256390,33256580,33256878, 33247151,33247387,33247636,33248299,33248764,33254671,33255003,33255282,33255495,33255803,33256012,33256247,33256471,33256628,33257304, 0 WDR46 cmpl cmpl 0,0,0,1,2,1,0,2,2,0,2,0,0,0,0, 818 NM_001164239 chr6 - 30620895 30640830 30621018 30640759 20 30620895,30622482,30622951,30623211,30623974,30624167,30624373,30624728,30627248,30627512,30627808,30630403,30630687,30632577,30632847,30633255,30638186,30638566,30638812,30640732, 30621147,30622656,30623113,30623374,30624042,30624286,30624536,30624869,30627401,30627611,30628019,30630519,30630798,30632769,30633051,30633510,30638243,30638729,30639051,30640830, 0 DHX16 cmpl cmpl 0,0,0,2,0,1,0,0,0,0,2,0,0,0,0,0,0,2,0,0, 598 NM_001171039 chrX + 1734025 1761974 1734092 1761907 7 1734025,1742031,1743161,1746595,1748713,1755330,1761695, 1734161,1742206,1743291,1746664,1748832,1755453,1761974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1, 670 NR_038972 chr20 - 11247306 11254031 11254031 11254031 2 11247306,11253981, 11249530,11254031, 0 LOC339593 unk unk -1,-1, 1719 NM_016153 chrX - 148674182 148676974 148674251 148676360 2 148674182,148675796, 148674959,148676974, 0 HSFX1 cmpl cmpl 0,0, 1155 NM_016170 chr2 + 74741595 74744275 74741933 74743316 3 74741595,74742759,74743099, 74742333,74742997,74744275, 0 TLX2 cmpl cmpl 0,1,2, 594 NM_012217 chr16 + 1306272 1308494 1306281 1308377 5 1306272,1306516,1306797,1308059,1308332, 1306363,1306688,1307063,1308223,1308494, 0 TPSD1 cmpl cmpl 0,1,2,1,0, 755 NM_020346 chr11 + 22359666 22401046 22360079 22399286 12 22359666,22363073,22364792,22380958,22382442,22384284,22387092,22391584,22396300,22397527,22398090,22398950, 22360165,22363326,22364911,22381073,22382530,22384371,22387235,22391734,22396433,22397638,22398218,22401046, 0 SLC17A6 cmpl cmpl 0,2,0,2,0,1,1,0,0,1,1,0, 818 NM_001134870 chr6 - 30644165 30655093 30645045 30653795 4 30644165,30646955,30652184,30654890, 30645065,30647166,30653823,30655093, 0 PPP1R18 cmpl cmpl 1,0,0,-1, 102 NM_017769 chr14 + 31028328 31089046 31050285 31085740 15 31028328,31050281,31055923,31058588,31061528,31062679,31066625,31067688,31070975,31071204,31074710,31077093,31081412,31084554,31085483, 31028478,31050322,31056021,31058690,31061653,31062845,31066732,31067805,31071100,31071337,31075018,31077275,31081585,31084745,31089046, 0 G2E3 cmpl cmpl -1,0,1,0,0,2,0,2,2,1,2,1,0,2,1, 704 NR_003088 chr21 + 15646119 15663706 15663706 15663706 5 15646119,15651916,15659870,15660724,15663606, 15646478,15651978,15660018,15660867,15663706, 0 ABCC13 unk unk -1,-1,-1,-1,-1, 1722 NM_001013845 chrX - 149100414 149106716 149100761 149102092 5 149100414,149101839,149102222,149105650,149106410, 149100985,149102121,149102355,149105698,149106716, 0 CXorf40B cmpl cmpl 1,0,-1,-1,-1, 1232 NM_058248 chr1 + 84874033 84880691 84878108 84880551 4 84874033,84876520,84878031,84880210, 84874201,84876682,84878229,84880691, 0 DNASE2B cmpl cmpl -1,-1,0,1, 1413 NM_021815 chr2 + 108602994 108630443 108604611 108627317 9 108602994,108604560,108608561,108609427,108614293,108618352,108622504,108624920,108626687, 108603219,108604789,108608675,108609583,108614442,108618496,108622658,108625138,108630443, 0 SLC5A7 cmpl cmpl -1,0,1,1,1,0,0,1,0, 2436 NM_001287249 chr2 + 242673993 242708231 242681901 242707384 9 242673993,242680447,242681849,242683036,242684123,242689565,242690660,242695263,242707124, 242674110,242680505,242681989,242683230,242684292,242689709,242690803,242695429,242708231, 0 D2HGDH cmpl cmpl -1,-1,0,1,0,1,1,0,1, 10 NM_001128627 chr18 - 12446510 12656731 12449636 12635072 16 12446510,12452253,12452483,12453066,12454344,12463349,12464866,12479697,12493070,12496014,12506475,12512452,12535474,12546672,12635060,12656649, 12449895,12452390,12452511,12453137,12454482,12463492,12464957,12479870,12493200,12496101,12506640,12512530,12535600,12546903,12635095,12656731, 0 SPIRE1 cmpl cmpl 2,0,2,0,0,1,0,1,0,0,0,0,0,0,0,-1, 10 NM_001128626 chr18 - 12446510 12657912 12449636 12657865 17 12446510,12452253,12452483,12453066,12454344,12463349,12464866,12479697,12485957,12493070,12496014,12506475,12512452,12535474,12546672,12635060,12657528, 12449895,12452390,12452511,12453137,12454482,12463492,12464957,12479870,12485999,12493200,12496101,12506640,12512530,12535600,12546903,12635095,12657912, 0 SPIRE1 cmpl cmpl 2,0,2,0,0,1,0,1,1,0,0,0,0,0,0,1,0, 767 NM_020345 chr3 - 23933571 23958537 23934585 23952395 5 23933571,23942298,23952301,23952819,23958274, 23934828,23942540,23952412,23952941,23958537, 0 NKIRAS1 cmpl cmpl 0,1,0,-1,-1, 1007 NM_001145458 chr19 + 55417507 55424439 55417545 55424239 6 55417507,55417656,55417880,55420603,55421377,55424057, 55417579,55417692,55418165,55420882,55421425,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1, 1007 NM_001145457 chr19 + 55417507 55424439 55417545 55424239 7 55417507,55417656,55417880,55420603,55421377,55423538,55424057, 55417579,55417692,55418165,55420882,55421425,55423586,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1,1, 973 NM_014551 chr22 + 50946644 50958191 50946766 50957788 9 50946644,50954875,50955855,50956005,50956169,50956401,50956561,50957077,50957618, 50946874,50954977,50955911,50956090,50956238,50956481,50956707,50957161,50958191, 0 NCAPH2 cmpl cmpl 0,0,0,2,0,0,2,1,1, 122 NM_001981 chr1 - 51819934 51984995 51822371 51984903 25 51819934,51826842,51829537,51831624,51860052,51864703,51866589,51868106,51869090,51871576,51873806,51875206,51887457,51906018,51910560,51912631,51913717,51926762,51929344,51930932,51934144,51937361,51938530,51946944,51984870, 51822518,51827027,51829700,51831701,51860119,51864837,51866625,51868197,51869204,51871780,51874004,51875368,51887530,51906104,51910717,51912777,51913807,51926822,51929470,51930998,51934240,51937409,51938620,51946986,51984995, 0 EPS15 cmpl cmpl 0,1,0,1,0,1,1,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 88 NM_004996 chr16 + 16043433 16236930 16043608 16235138 31 16043433,16101672,16103632,16108347,16110352,16126965,16130328,16138306,16139692,16141998,16146580,16149948,16162012,16165498,16170182,16173208,16177222,16180680,16184261,16196483,16200594,16205231,16208622,16215831,16218645,16219666,16225645,16228206,16230334,16232220,16235029, 16043656,16101849,16103758,16108485,16110478,16127027,16130460,16138537,16139870,16142160,16146673,16150152,16162159,16165586,16170258,16173335,16177399,16180848,16184445,16196574,16200730,16205439,16208933,16216031,16218772,16219768,16225792,16228365,16230501,16232415,16236930, 0 ABCC1 cmpl cmpl 0,0,0,0,0,0,2,2,2,0,0,0,0,0,1,2,0,0,0,1,2,0,1,0,2,0,0,0,0,2,2, 921 NM_025165 chr15 - 44064797 44069502 44065313 44069099 11 44064797,44065501,44066379,44066673,44066793,44067503,44067722,44067919,44068236,44068706,44068967, 44065424,44065546,44066551,44066716,44066971,44067579,44067808,44068121,44068349,44068742,44069502, 0 ELL3 cmpl cmpl 0,0,2,1,0,2,0,2,0,0,0, 1643 NM_020119 chr7 - 138728265 138794465 138732339 138794077 13 138728265,138738196,138738710,138739950,138745781,138749624,138758601,138761031,138763297,138764215,138768525,138774369,138793769, 138732599,138738327,138738841,138740041,138745884,138749745,138758776,138761155,138763399,138764989,138768778,138774505,138794465, 0 ZC3HAV1 cmpl cmpl 1,2,0,2,1,0,2,1,1,1,0,2,0, 779 NR_003348 chr15 + 25475984 25476066 25476066 25476066 1 25475984, 25476066, 0 SNORD115-33 unk unk -1, 1696 NM_130849 chr8 - 145637797 145642279 145637921 145642173 12 145637797,145638142,145638620,145638896,145639133,145639341,145639645,145640108,145640357,145640610,145641193,145641981, 145638050,145638330,145638773,145638951,145639265,145639479,145639818,145640280,145640494,145640803,145641475,145642279, 0 SLC39A4 cmpl cmpl 0,1,1,0,0,0,1,0,1,0,0,0, 102 NM_001193336 chr22 - 30920916 30942669 30920983 30942669 12 30920916,30921336,30921597,30921812,30925073,30925275,30927889,30928511,30928783,30929982,30934813,30942615, 30921096,30921506,30921737,30921919,30925157,30925336,30927985,30928700,30928843,30930026,30934889,30942669, 0 SEC14L6 cmpl cmpl 1,2,0,1,1,0,0,0,0,1,0,0, 730 NR_026651 chr22 + 19010136 19011063 19011063 19011063 1 19010136, 19011063, 0 DGCR10 unk unk -1, 1611 NM_177400 chr10 - 134598319 134599537 134598419 134599452 3 134598319,134598783,134599046, 134598674,134598956,134599537, 0 NKX6-2 cmpl cmpl 0,1,0, 791 NR_000009 chr17 + 27050698 27050772 27050772 27050772 1 27050698, 27050772, 0 SNORD4B unk unk -1, 2371 NM_001190267 chr2 + 234160216 234204320 234172670 234202996 18 234160216,234164747,234171775,234172641,234173537,234178647,234181611,234182366,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234171881,234172711,234173789,234178713,234181698,234182423,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl -1,-1,-1,0,2,2,2,2,2,0,1,0,0,1,2,2,2,2, 2371 NM_001190266 chr2 + 234160216 234204320 234171818 234202996 18 234160216,234164747,234171775,234172637,234173537,234178647,234181611,234182366,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160586,234164841,234171881,234172711,234173789,234178713,234181698,234182423,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl -1,-1,0,0,2,2,2,2,2,0,1,0,0,1,2,2,2,2, 1057 NM_020882 chr20 + 61924537 61962285 61926459 61961010 36 61924537,61926449,61929261,61936768,61937232,61938841,61939322,61939893,61940684,61941109,61941732,61942745,61942976,61943267,61943771,61944143,61944468,61945094,61945423,61946755,61947904,61950409,61950838,61951390,61951642,61952364,61953409,61956792,61957019,61957447,61958103,61959303,61959430,61959682,61960936,61962071, 61924627,61926541,61929372,61936912,61937391,61939000,61939442,61940058,61940849,61941267,61941862,61942891,61943100,61943407,61943901,61944286,61944601,61945243,61945553,61946791,61948043,61950552,61950948,61951549,61951720,61952451,61953463,61956846,61957073,61957501,61958175,61959339,61959479,61959850,61961013,61962285, 0 COL20A1 cmpl cmpl -1,0,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0,1,1,-1, 1538 NM_001145290 chr11 + 124933012 124960412 124933263 124958030 18 124933012,124946652,124947125,124947345,124949007,124949579,124950509,124951316,124951649,124952139,124953710,124954129,124954720,124954961,124955290,124955472,124955849,124958014, 124933322,124946734,124947219,124947424,124949143,124949656,124950676,124951354,124951802,124952230,124953773,124954215,124954769,124955035,124955369,124955570,124955914,124960412, 0 SLC37A2 cmpl cmpl 0,2,0,1,2,0,2,1,0,0,1,1,0,1,0,1,0,2, 1134 NR_029598 chr6 - 72086662 72086734 72086734 72086734 1 72086662, 72086734, 0 MIR30C2 unk unk -1, 1136 NR_029603 chr11 - 72326106 72326174 72326174 72326174 1 72326106, 72326174, 0 MIR139 unk unk -1, 819 NR_002781 chr20 - 30776948 30778163 30778163 30778163 1 30776948, 30778163, 0 TSPY26P unk unk -1, 1771 NM_173657 chr3 - 155480400 155524055 155481305 155520365 6 155480400,155485297,155493489,155520320,155523385,155523927, 155481707,155485458,155493637,155520380,155523512,155524055, 0 C3orf33 cmpl cmpl 0,1,0,0,-1,-1, 1064 NM_001136506 chr11 - 62847411 62911693 62847411 62911251 10 62847411,62848391,62849029,62850714,62863462,62871646,62886383,62886652,62902136,62910849, 62847472,62848595,62849138,62850929,62863578,62871770,62886552,62886807,62902240,62911693, 0 SLC22A24 cmpl cmpl 2,2,1,2,0,2,1,2,0,0, 18 NM_001160011 chr1 + 76540388 77042892 76540551 77042540 4 76540388,76779489,76877692,77042530, 76540569,76779684,76878102,77042892, 0 ST6GALNAC3 cmpl cmpl 0,0,0,2, 613 NM_001258430 chr20 - 3734145 3748452 3734704 3740747 6 3734145,3735043,3736115,3739182,3740728,3747855, 3734805,3735166,3736254,3739325,3740833,3748452, 0 C20orf27 cmpl cmpl 1,1,0,1,0,-1, 1609 NM_001080538 chr7 + 134233848 134264592 134249371 134264301 12 134233848,134241487,134249349,134252909,134254164,134256355,134260171,134260572,134261100,134261714,134262455,134264258, 134234001,134241611,134249521,134253077,134254281,134256433,134260294,134260679,134261182,134261798,134262538,134264592, 0 AKR1B15 cmpl cmpl -1,-1,0,0,0,0,0,0,2,0,0,2, 918 NM_004046 chr18 - 43664109 43678319 43664247 43678197 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43675018,43678137, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,1,0,0, 250 NM_001145674 chr4 - 186506597 186578123 186508780 186577792 15 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186544067,186547985,186551702,186567821,186570620,186573815,186577768, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186545648,186548173,186551752,186567936,186570810,186573882,186578123, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,1,2,0,2,1,0,0, 893 NM_001136493 chr1 + 40420783 40435640 40420964 40435240 14 40420783,40422758,40424333,40430882,40431142,40431528,40432272,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl 0,0,0,2,0,1,0,1,0,0,0,2,2,2, 1815 NM_000530 chr1 - 161274524 161279762 161275665 161279695 6 161274524,161275897,161276118,161276497,161277047,161279628, 161275767,161275958,161276254,161276711,161277214,161279762, 0 MPZ cmpl cmpl 0,2,1,0,1,0, 890 NR_027277 chr4 - 40044536 40058819 40058819 40058819 3 40044536,40046584,40058580, 40045804,40046690,40058819, 0 LOC344967 unk unk -1,-1,-1, 152 NM_001191049 chr4 - 83739813 83812335 83740226 83812304 26 83739813,83742189,83745707,83748521,83750152,83763337,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83812335, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0, 1370 NM_152326 chr14 - 102973197 102976128 102973272 102974226 4 102973197,102974811,102974977,102975865, 102974279,102974886,102975183,102976128, 0 ANKRD9 cmpl cmpl 0,-1,-1,-1, 1561 NM_000122 chr2 - 128014865 128051752 128015171 128051657 15 128014865,128016871,128018803,128028911,128030440,128036748,128038022,128044278,128046235,128046912,128047264,128047799,128050185,128051088,128051629, 128015303,128017024,128018922,128029029,128030537,128036951,128038207,128044593,128046440,128047077,128047400,128047849,128050422,128051294,128051752, 0 ERCC3 cmpl cmpl 0,0,1,0,2,0,1,1,0,0,2,0,0,1,0, 1390 NM_022361 chr6 - 105605774 105627858 105606344 105609784 4 105605774,105607585,105609299,105627707, 105606626,105607694,105610035,105627858, 0 POPDC3 cmpl cmpl 0,2,0,-1, 1003 NM_177433 chrX + 54834031 54842448 54835764 54842115 13 54834031,54835735,54836154,54837253,54837682,54838006,54838589,54839377,54839550,54839920,54841093,54841680,54842313, 54834235,54835809,54836646,54837562,54837746,54838086,54838684,54839457,54839593,54839983,54841208,54842123,54842448, 0 MAGED2 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 985 NR_103447 chr6 + 52442095 52448791 52448791 52448791 4 52442095,52442847,52444172,52447660, 52442449,52443191,52444407,52448791, 0 TRAM2-AS1 unk unk -1,-1,-1,-1, 121 NM_001276451 chr10 - 50574160 50604062 50574160 50603486 7 50574160,50594523,50594725,50598178,50599209,50603452,50603980, 50574426,50594636,50594904,50598280,50599307,50603567,50604062, 0 DRGX cmpl cmpl 1,2,0,0,1,0,-1, 825 NM_001145467 chr6 - 31557050 31560762 31557088 31560498 4 31557050,31557302,31557558,31560455, 31557165,31557410,31557903,31560762, 0 NCR3 cmpl cmpl 1,1,1,0, 1771 NM_001190992 chr3 - 155544300 155572248 155545998 155571786 7 155544300,155545970,155547476,155551256,155551645,155560220,155571011, 155544608,155546166,155547692,155551374,155551830,155560408,155572248, 0 SLC33A1 cmpl cmpl -1,0,0,2,0,1,0, 10 NM_001195279 chr3 - 12581279 12586963 12581691 12586963 4 12581279,12583358,12584678,12586745, 12581932,12583521,12584728,12586963, 0 C3orf83 cmpl cmpl 2,1,2,0, 734 NM_015965 chr19 + 19627018 19639013 19627047 19638935 5 19627018,19636990,19638089,19638509,19638815, 19627141,19637069,19638161,19638579,19639013, 0 NDUFA13 cmpl cmpl 0,1,2,2,0, 14 NM_001123066 chr17 + 43971747 44105699 44039703 44101537 15 43971747,44039686,44049224,44051750,44055740,44060543,44064405,44067243,44068825,44071289,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44061296,44064461,44067441,44068952,44071343,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,1,0,0,1,1,0,0,1,0, 941 NM_018976 chr12 - 46751970 46766645 46754893 46765076 16 46751970,46756066,46756276,46756803,46757508,46757706,46758171,46758426,46758889,46760646,46760858,46761049,46764294,46764558,46764960,46766291, 46754992,46756164,46756421,46756928,46757609,46757786,46758339,46758485,46758972,46760728,46760951,46761123,46764410,46764640,46765162,46766645, 0 SLC38A2 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1, 1110 NM_138964 chr2 + 68872953 68882708 68872953 68882708 2 68872953,68882011, 68873438,68882708, 0 PROKR1 cmpl cmpl 0,2, 149 NM_139062 chr17 - 80200536 80231594 80203882 80231257 10 80200536,80203851,80206750,80207306,80209254,80210309,80210891,80213304,80223561,80231181, 80202707,80203915,80206890,80207478,80209403,80210480,80211120,80213453,80223672,80231594, 0 CSNK1D cmpl cmpl -1,0,1,0,1,1,0,1,1,0, 299 NM_001035 chr1 + 237205701 237997288 237205821 237995947 105 237205701,237433796,237494177,237519264,237527657,237532833,237538016,237540622,237550580,237551386,237580348,237586391,237604618,237608700,237617690,237619899,237632391,237655105,237656253,237659810,237664010,237666588,237670009,237674987,237693726,237711730,237713843,237729866,237732444,237753092,237753939,237755038,237756775,237758797,237765324,237774061,237777338,237780585,237787064,237788960,237791106,237794726,237796877,237798188,237801656,237802314,237804196,237806626,237811743,237813176,237814710,237817573,237819120,237821243,237823284,237824109,237829811,237831182,237837395,237838030,237841347,237843755,237850754,237862264,237863528,237865277,237868512,237870248,237872157,237872779,237875044,237880497,237881761,237886427,237889572,237890386,237893559,237895345,237897004,237905595,237919587,237920996,237923075,237924254,237934106,237935311,237936819,237941965,237944864,237946974,237949268,237951287,237954728,237955404,237957166,237958588,237961336,237965155,237969436,237972200,237982335,237991680,237993829,237994813,237995851, 237205869,237433916,237494282,237519285,237527672,237532908,237538095,237540735,237550680,237551483,237580423,237586548,237604783,237608822,237617874,237620035,237632487,237655224,237656387,237660052,237664203,237666805,237670114,237675091,237693810,237711890,237713991,237730075,237732619,237753301,237754292,237755153,237756936,237758957,237765411,237774288,237778143,237780786,237787170,237789104,237791380,237794841,237797010,237798292,237801792,237802501,237804302,237806747,237811913,237813397,237814801,237817714,237819284,237821322,237823374,237824247,237829889,237831258,237837519,237838146,237841412,237843877,237850804,237862325,237863767,237865359,237868643,237870569,237872398,237872867,237875137,237880668,237881821,237886562,237889608,237890499,237893656,237895449,237897056,237905649,237919687,237921076,237923152,237924328,237934187,237935400,237936948,237942070,237944946,237948272,237949336,237951435,237954815,237955623,237957297,237958631,237961470,237965216,237969583,237972335,237982492,237991745,237993930,237994865,237997288, 0 RYR2 cmpl cmpl 0,0,0,0,0,0,0,1,0,1,2,2,0,0,2,0,1,1,0,2,1,2,0,0,2,2,0,1,0,1,0,2,0,2,0,0,2,0,0,1,1,2,0,1,0,1,2,0,1,0,2,0,0,2,0,0,0,0,1,2,1,0,2,1,2,1,2,1,1,2,0,0,0,0,0,0,2,0,2,0,0,1,0,2,1,1,0,0,0,1,0,2,0,0,0,2,0,2,0,0,0,1,0,2,0, 1067 NM_000524 chr5 - 63255874 63258119 63256277 63257546 1 63255874, 63258119, 0 HTR1A cmpl cmpl 0, 1568 NM_001199469 chr3 - 128846258 128880073 128848923 128879818 12 128846258,128849392,128852916,128853674,128855973,128859210,128864603,128875475,128875697,128877350,128877996,128879815, 128849031,128849479,128853038,128853797,128856039,128859328,128864716,128875518,128875763,128877402,128878019,128880073, 0 ISY1 cmpl cmpl 0,0,1,1,1,0,1,0,0,2,0,0, 1449 NM_016816 chr12 + 113344738 113357712 113344844 113357358 6 113344738,113346340,113348855,113354313,113355351,113357193, 113345024,113346629,113349040,113354543,113355505,113357712, 0 OAS1 cmpl cmpl 0,0,1,0,2,0, 596 NM_001173473 chrX - 1522031 1572655 1522161 1561129 13 1522031,1531624,1536865,1537874,1540550,1544417,1546626,1551161,1553914,1554586,1557989,1561078,1572510, 1522382,1531747,1537009,1538007,1540735,1544580,1547014,1551270,1553976,1554651,1558037,1561210,1572655, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,-1, 586 NM_052909 chr5 + 140372 190087 140422 182438 18 140372,143161,143494,144941,151627,154989,155459,156185,156887,161897,162836,169454,171157,171328,173011,174032,181628,182118, 140831,143371,143618,145035,151714,155106,155558,156325,157026,162059,163663,169707,171247,171559,173182,174213,181790,190087, 0 PLEKHG4B cmpl cmpl 0,1,1,2,0,0,0,0,2,0,0,2,0,0,0,0,1,1, 1654 NM_001177317 chr9 + 140125208 140131006 140126154 140130868 13 140125208,140126112,140126523,140127026,140127235,140127455,140127660,140128084,140128314,140128560,140128867,140129058,140130403, 140125390,140126239,140126613,140127155,140127379,140127567,140127856,140128174,140128393,140128728,140128984,140129183,140131006, 0 SLC34A3 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 605 NM_003140 chrY - 2654895 2655782 2655029 2655644 1 2654895, 2655782, 0 SRY cmpl cmpl 0, 716 NM_004412 chr10 - 17184981 17244070 17191038 17243633 11 17184981,17195505,17196675,17199439,17201144,17202303,17203481,17204164,17210839,17216549,17243569, 17191139,17195635,17196733,17199783,17201228,17202373,17203547,17204236,17210916,17216659,17244070, 0 TRDMT1 cmpl cmpl 1,0,2,0,0,2,2,2,0,1,0, 595 NM_001012288 chrX - 1314886 1331527 1314886 1325338 5 1314886,1317418,1321271,1325325,1331448, 1315014,1317581,1321405,1325492,1331527, 0 CRLF2 incmpl cmpl 1,0,1,0,-1, 594 NM_001012288 chrY - 1264886 1281527 1264886 1275338 5 1264886,1267418,1271271,1275325,1281448, 1265014,1267581,1271405,1275492,1281527, 0 CRLF2 incmpl cmpl 1,0,1,0,-1, 166 NM_001122646 chr2 - 97541618 97652301 97542012 97652050 17 97541618,97543626,97544152,97559662,97568356,97586901,97587214,97589226,97594942,97613554,97617115,97626024,97633256,97636452,97637637,97638274,97651977, 97542045,97543779,97544230,97559788,97568444,97586999,97587391,97589320,97595057,97613639,97617221,97626177,97633364,97636514,97638059,97638343,97652301, 0 FAM178B cmpl cmpl 0,0,0,0,2,0,0,2,1,0,2,2,2,0,1,1,0, 732 NM_001145783 chr19 - 19292684 19303400 19293377 19302926 4 19292684,19296842,19297701,19302889, 19293492,19296907,19297814,19303400, 0 MEF2BNB cmpl cmpl 2,0,1,0, 12 NM_000275 chr15 - 28000022 28344458 28000533 28327020 24 28000022,28090104,28096527,28116299,28117008,28171272,28196929,28200303,28202733,28211835,28228490,28230209,28231732,28234746,28235721,28259921,28261249,28263542,28267646,28269990,28273016,28277210,28326793,28344369, 28000618,28090198,28096621,28116404,28117068,28171400,28197038,28200361,28202881,28211968,28228629,28230334,28231789,28234812,28235793,28260075,28261332,28263703,28267719,28270048,28273205,28277309,28327041,28344458, 0 OCA2 cmpl cmpl 2,1,0,0,0,1,0,2,1,0,2,0,0,0,0,2,0,1,0,2,2,2,0,-1, 850 NM_001123392 chr17 - 34746062 34757007 34746433 34755465 14 34746062,34747965,34748488,34749051,34749501,34750309,34750973,34752270,34752709,34753260,34753823,34755145,34755393,34756894, 34747002,34748118,34748588,34749117,34749596,34750430,34751022,34752380,34752817,34753341,34753863,34755231,34755466,34757007, 0 TBC1D3H cmpl cmpl 1,1,0,0,1,0,2,0,0,0,2,0,0,-1, 1878 NM_153353 chr3 - 169511215 169530574 169511422 169530336 10 169511215,169513272,169514001,169514532,169521840,169524635,169525213,169525375,169526415,169530197, 169511626,169513399,169514157,169514687,169521969,169524719,169525278,169525497,169526533,169530574, 0 LRRC34 cmpl cmpl 0,2,2,0,0,0,1,2,1,0, 1034 NM_001195135 chr19 + 58907456 58908446 58907456 58908446 1 58907456, 58908446, 0 LOC646862 cmpl cmpl 0, 794 NM_001172303 chr10 + 27443752 27475848 27444355 27475465 12 27443752,27447477,27448547,27450022,27453992,27454317,27456030,27458872,27462046,27469881,27470408,27475307, 27444541,27447615,27448687,27450111,27454099,27454468,27456203,27460012,27462188,27469995,27470510,27475848, 0 MASTL cmpl cmpl 0,0,0,2,1,0,1,0,0,1,1,1, 2436 NR_109778 chr2 + 242673993 242708231 242708231 242708231 8 242673993,242674547,242680447,242681849,242683036,242684123,242695263,242707124, 242674110,242674931,242680505,242681989,242683230,242684292,242695429,242708231, 0 D2HGDH unk unk -1,-1,-1,-1,-1,-1,-1,-1, 245 NM_001195000 chr1 + 181002560 181031074 181003143 181024401 6 181002560,181003022,181018187,181019146,181022708,181024360, 181002600,181003210,181018448,181019422,181022813,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1,1, 1053 NR_002775 chr11 + 61382507 61406921 61406921 61406921 5 61382507,61392456,61396313,61403600,61404056, 61382600,61392599,61396511,61403826,61406921, 0 RPLP0P2 unk unk -1,-1,-1,-1,-1, 596 NR_026710 chrY + 1469423 1482479 1482479 1482479 4 1469423,1470354,1472353,1481635, 1469479,1471118,1472478,1482479, 0 ASMTL-AS1 unk unk -1,-1,-1,-1, 111 NM_001284423 chr3 + 39850404 40301811 39942307 40299657 17 39850404,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 39850472,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,0,2,2,1,1,0,0,0,1,0,0,0,0,0,1,0, 20 NM_001244580 chr7 + 98476112 98610866 98478773 98609978 72 98476112,98478712,98479597,98487957,98490046,98491420,98493386,98495363,98497044,98497301,98498246,98501001,98503799,98506350,98507678,98508132,98508699,98509644,98513345,98515045,98519375,98522734,98524789,98527611,98528255,98529027,98530863,98533201,98534778,98535272,98540571,98543369,98545843,98546188,98547039,98547282,98547686,98548498,98550789,98552720,98553768,98554021,98555603,98556966,98558883,98559924,98562251,98563318,98564663,98565107,98567734,98569421,98573771,98574105,98574561,98575833,98576391,98579391,98580886,98581715,98582566,98586387,98588077,98589759,98591214,98592209,98601812,98602753,98605999,98608674,98608963,98609693, 98476260,98478873,98479647,98488068,98490151,98491504,98493443,98495489,98497122,98497390,98498343,98501140,98503878,98506585,98508042,98508230,98508894,98509836,98513511,98515302,98519576,98522886,98524989,98527829,98528453,98529288,98531025,98533298,98534900,98535443,98540640,98543423,98545963,98546308,98547204,98547464,98547885,98548627,98551056,98552927,98553927,98554156,98555714,98557113,98559097,98560050,98562398,98563518,98564785,98565321,98567914,98569568,98573891,98574393,98574699,98575946,98576527,98579583,98581115,98581981,98582667,98586589,98588242,98589850,98591360,98592471,98602038,98602971,98606184,98608878,98609158,98610866, 0 TRRAP cmpl cmpl -1,0,1,0,0,0,0,0,0,0,2,0,1,2,0,1,0,0,0,1,0,0,2,1,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,2,0,0,1,0,2,0,0,1,0,1,2,1,0,0,0, 1066 NM_014495 chr1 + 63063157 63071976 63063237 63070488 7 63063157,63064366,63066752,63067439,63067955,63069639,63070303, 63063732,63064477,63066867,63067553,63068051,63069906,63071976, 0 ANGPTL3 cmpl cmpl 0,0,0,1,1,1,1, 1365 NM_015490 chr10 - 102246402 102279595 102247372 102276709 26 102246402,102247783,102248614,102249008,102249459,102249764,102250462,102255141,102256014,102256891,102257423,102257785,102258461,102258916,102259280,102262010,102265117,102265796,102266077,102267181,102267664,102268763,102269072,102275852,102276630,102279538, 102247552,102247855,102248731,102249155,102249518,102250079,102250640,102255303,102256188,102257037,102257550,102257964,102258561,102259015,102259355,102262241,102265252,102265958,102266177,102267324,102267808,102268859,102269268,102275976,102276754,102279595, 0 SEC31B cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 129 NM_198463 chr3 - 58727736 59035715 58728186 58923391 16 58727736,58739495,58792120,58817411,58849283,58852291,58853542,58855053,58855898,58870270,58899433,58923373,59025282,59031954,59032890,59035660, 58728299,58739590,58792182,58817615,58849618,58852414,58853662,58855216,58856035,58870435,58899590,58923488,59025355,59032048,59032980,59035715, 0 C3orf67 cmpl cmpl 1,2,0,0,1,1,1,0,1,1,0,0,-1,-1,-1,-1, 821 NM_014303 chr22 - 30972611 30987927 30973032 30987820 15 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30987796, 30973116,30974985,30975290,30975922,30976165,30976688,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30987927, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,2,0,2,0,0, 190 NM_018249 chr9 - 123151146 123342448 123151513 123342256 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123222945,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 cmpl cmpl 0,1,0,0,1,1,1,2,1,1,1,2,1,2,1,1,0,2,0,0,0,1,2,0,0,0,0,0,0,0,2,0,2,0,0,1,2,0, 923 NM_014834 chr17 + 44372496 44415160 44372499 44415089 14 44372496,44377159,44380003,44382874,44383594,44399687,44400318,44405757,44407815,44409917,44412910,44414661,44414794,44415040, 44375108,44377231,44380075,44382946,44383675,44399759,44400393,44405876,44409347,44410022,44412960,44414716,44414934,44415160, 0 LRRC37A cmpl cmpl 0,2,2,2,2,2,2,2,1,0,0,2,0,2, 1153 NM_030798 chr7 - 74456269 74489717 74457139 74489573 11 74456269,74466817,74470007,74471635,74474399,74477019,74479106,74480394,74482476,74486453,74489249, 74457217,74466903,74470181,74471723,74474581,74477104,74479158,74480461,74482605,74486583,74489717, 0 WBSCR16 cmpl cmpl 0,1,1,0,1,0,2,1,1,0,0, 2371 NM_030803 chr2 + 234160216 234204320 234160473 234202996 18 234160216,234164747,234171775,234172637,234173537,234178647,234181611,234182366,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234171881,234172711,234173789,234178713,234181698,234182423,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl 0,1,2,0,2,2,2,2,2,0,1,0,0,1,2,2,2,2, 980 NM_030801 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811299,51812368, 0 MAGED4B cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_030801 chrX + 51927918 51935364 51929018 51935162 13 51927918,51928987,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 1762 NM_001242640 chrX + 154299694 154351349 154299802 154348425 11 154299694,154300601,154301648,154305444,154306890,154317537,154319058,154344331,154344985,154348273,154349497, 154299925,154300618,154301706,154305564,154306978,154317626,154319114,154344463,154345029,154348443,154351349, 0 BRCC3 cmpl cmpl 0,0,2,0,0,1,0,2,2,1,-1, 202 NR_024418 chr5 - 135527155 135528851 135528851 135528851 1 135527155, 135528851, 0 LOC389332 unk unk -1, 890 NM_003819 chr1 - 40026484 40042521 40027369 40041623 16 40026484,40027356,40027744,40027994,40029285,40029507,40030142,40030357,40030777,40033422,40034473,40035266,40035534,40036905,40038064,40041430, 40026794,40027459,40027875,40028088,40029413,40029594,40030214,40030445,40031050,40033518,40034611,40035361,40035674,40037021,40038258,40042521, 0 PABPC4 cmpl cmpl -1,0,1,0,1,1,1,0,0,0,0,1,2,0,1,0, 944 NM_004651 chrX + 47092313 47107727 47092313 47107329 21 47092313,47098468,47098749,47099188,47099703,47099985,47100172,47100675,47100939,47101480,47101837,47102024,47102794,47103896,47104080,47104414,47104768,47106470,47106702,47107009,47107191, 47092618,47098578,47098880,47099306,47099849,47100047,47100275,47100849,47101098,47101705,47101921,47102119,47103001,47103949,47104323,47104485,47104881,47106620,47106818,47107098,47107727, 0 USP11 cmpl cmpl 0,2,1,0,1,0,2,0,0,0,0,0,2,2,1,1,0,2,2,1,0, 1596 NM_214461 chr2 - 132552533 132559234 132552735 132558510 3 132552533,132558464,132558954, 132553319,132558723,132559234, 0 C2orf27B cmpl cmpl 1,0,-1, 2200 NM_021194 chr1 - 211748380 211752099 211748729 211751954 2 211748380,211751332, 211749631,211752099, 0 SLC30A1 cmpl cmpl 1,0, 2454 NR_026778 chr1 - 245003939 245010243 245010243 245010243 2 245003939,245009905, 245008646,245010243, 0 HNRNPU-AS1 unk unk -1,-1, 33 NM_152525 chr2 - 202352143 202483905 202352334 202483853 15 202352143,202360617,202400743,202402158,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202352625,202360692,202401043,202402202,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl 0,0,0,1,0,2,2,0,0,0,0,1,0,0,0, 644 NM_174894 chr19 + 7745706 7747748 7747139 7747706 2 7745706,7747127, 7745935,7747748, 0 TRAPPC5 cmpl cmpl -1,0, 1642 NM_001040061 chr3 + 138666075 138672830 138666206 138669414 3 138666075,138668361,138669106, 138666306,138668481,138672830, 0 C3orf72 cmpl cmpl 0,1,1, 1660 NM_003883 chr5 - 141000442 141016423 141001034 141016357 15 141000442,141004774,141005251,141005579,141005760,141007459,141007680,141008125,141008739,141009250,141009426,141009610,141014377,141016114,141016302, 141001104,141004932,141005331,141005638,141005850,141007524,141007754,141008206,141008873,141009306,141009483,141009692,141014520,141016197,141016423, 0 HDAC3 cmpl cmpl 2,0,1,2,2,0,1,1,2,0,0,2,0,1,0, 169 NM_022091 chr6 - 101304178 101329248 101306983 101315873 4 101304178,101311939,101315783,101328936, 101307078,101312090,101315914,101329248, 0 ASCC3 cmpl cmpl 1,0,0,-1, 2076 NM_018406 chr3 - 195473637 195538844 195474046 195538688 25 195473637,195475772,195477759,195478077,195479243,195479921,195481083,195484017,195485994,195487754,195488354,195488957,195489725,195490303,195490915,195491867,195492140,195493533,195495892,195497086,195498522,195501042,195505173,195505660,195538606, 195474251,195475935,195477983,195478142,195479317,195480101,195481243,195484199,195486132,195487988,195488456,195489125,195489816,195490512,195491035,195491993,195492320,195493622,195496023,195497242,195498687,195501176,195505326,195518368,195538844, 0 MUC4 cmpl cmpl 2,1,2,0,1,1,0,1,1,1,1,1,0,1,1,1,1,2,0,0,0,1,1,1,0, 1864 NM_003953 chr1 + 167691186 167761156 167691388 167757158 6 167691186,167734819,167741511,167742472,167745300,167757056, 167691479,167734986,167741725,167742605,167745403,167761156, 0 MPZL1 cmpl cmpl 0,1,0,1,2,0, 1607 NM_001185095 chr9 + 133971862 133998539 133972016 133995709 7 133971862,133972188,133981574,133986983,133989963,133993142,133995621, 133972047,133972250,133981652,133987050,133990005,133993305,133998539, 0 AIF1L cmpl cmpl 0,1,0,0,1,1,2, 955 NM_003850 chr13 - 48516790 48575462 48517505 48575405 11 48516790,48523074,48523617,48528274,48528530,48542729,48547398,48562675,48563016,48570977,48575315, 48517580,48523163,48523738,48528417,48528692,48542868,48547527,48562838,48563116,48571158,48575462, 0 SUCLA2 cmpl cmpl 0,1,0,1,1,0,0,2,1,0,0, 828 NM_001710 chr6 + 31913720 31919861 31913998 31919807 18 31913720,31914149,31914783,31915124,31915518,31915721,31916150,31916606,31917019,31917196,31917826,31918062,31918395,31918644,31918920,31919117,31919331,31919651, 31914062,31914383,31914969,31915298,31915620,31915858,31916289,31916738,31917121,31917334,31917924,31918180,31918549,31918721,31919021,31919250,31919381,31919861, 0 CFB cmpl cmpl 0,1,1,1,1,1,0,1,1,1,1,0,1,2,1,0,1,0, 600 NM_172168 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030641,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030732,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 980 NM_177535 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4B cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 743 NM_182895 chr22 - 20778873 20792146 20779664 20792041 11 20778873,20781684,20783511,20783822,20784016,20784715,20784976,20785304,20786031,20786216,20791868, 20780569,20781837,20783627,20783940,20784120,20784844,20785195,20785824,20786133,20786275,20792146, 0 SCARF2 cmpl cmpl 1,1,2,1,2,2,2,1,1,2,0, 845 NM_015966 chr20 + 34129777 34145405 34129846 34145275 13 34129777,34130071,34130261,34130570,34135162,34136261,34136560,34142814,34143803,34143977,34144743,34144964,34145195, 34129934,34130142,34130349,34130690,34135256,34136427,34136618,34142846,34143900,34144042,34144880,34145020,34145405, 0 ERGIC3 cmpl cmpl 0,1,0,1,1,2,0,1,0,1,0,2,1, 1364 NM_152892 chr7 + 102105389 102113612 102105527 102113496 15 102105389,102106263,102106600,102107785,102108165,102108508,102108709,102109000,102109301,102110020,102110188,102112664,102112900,102113138,102113355, 102105607,102106498,102106717,102107926,102108270,102108634,102108824,102109101,102109509,102110093,102110329,102112756,102113056,102113251,102113612, 0 LRWD1 cmpl cmpl 0,2,0,0,0,0,0,1,0,1,2,2,1,1,0, 105 NM_005898 chr11 + 34073229 34124157 34073967 34120914 19 34073229,34073967,34093272,34093447,34097782,34098106,34101174,34104371,34104501,34107610,34107851,34110941,34111725,34112075,34113452,34118025,34118742,34119244,34120849, 34073418,34074183,34093335,34093534,34098021,34098189,34101312,34104424,34104588,34107766,34107960,34111003,34111836,34112225,34113603,34118220,34118843,34119308,34124157, 0 CAPRIN1 cmpl cmpl -1,0,0,0,0,2,1,1,0,0,0,1,0,0,0,1,1,0,1, 839 NM_001170 chr9 - 33384947 33402517 33385002 33401260 8 33384947,33385646,33386074,33386401,33386966,33395075,33401234,33402370, 33385288,33385864,33386193,33386539,33387090,33395193,33401285,33402517, 0 AQP7 cmpl cmpl 2,0,1,1,0,2,0,-1, 749 NM_001278530 chr14 + 21538418 21558406 21546543 21557030 23 21538418,21541203,21542090,21543490,21543781,21544518,21544721,21544932,21546335,21546531,21547042,21548818,21549031,21549667,21550402,21550989,21551993,21552911,21553847,21555159,21556126,21556988,21557172, 21538558,21541401,21543150,21543658,21543924,21544615,21544802,21545049,21546431,21546647,21547169,21548941,21549175,21550278,21550637,21551076,21552209,21553082,21554025,21555264,21556257,21557035,21558406, 0 ARHGEF40 cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,0,2,0,0,0,0,1,1,0,-1, 749 NM_001278529 chr14 + 21538418 21558406 21546543 21557030 24 21538418,21541203,21542090,21543490,21543803,21544518,21544694,21544932,21546335,21546531,21547042,21548818,21549031,21549667,21550402,21550989,21551993,21552911,21553847,21555159,21555478,21556126,21556988,21557172, 21538558,21541401,21543339,21543658,21543924,21544615,21544802,21545049,21546431,21546647,21547169,21548941,21549175,21550278,21550637,21551076,21552209,21553082,21554025,21555264,21555622,21556257,21557035,21558406, 0 ARHGEF40 cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,0,2,0,0,0,0,1,1,1,0,-1, 202 NM_032143 chr2 - 135954538 136288806 135957911 136262059 21 135954538,135960401,135965003,135966437,135975034,135976646,135981995,135985381,135988082,136023103,136026531,136029337,136033205,136071058,136072928,136103119,136107553,136111019,136148371,136261898,136288696, 135958010,135960533,135965406,135966548,135975177,135976748,135982087,135985585,135988497,136023256,136026711,136029457,136033325,136071175,136073100,136103205,136107785,136111198,136148390,136262066,136288806, 0 ZRANB3 cmpl cmpl 0,0,2,2,0,0,1,1,0,0,0,0,0,0,2,0,2,0,2,0,-1, 847 NM_002915 chr13 + 34392205 34411644 34392315 34410432 9 34392205,34395268,34398053,34399925,34403972,34404855,34405392,34409284,34410240, 34392402,34395406,34398121,34400023,34404154,34404992,34405491,34409354,34411644, 0 RFC3 cmpl cmpl 0,0,0,2,1,0,2,2,0, 854 NM_001164825 chr1 - 35315962 35325338 35321299 35321578 2 35315962,35325055, 35321583,35325338, 0 SMIM12 cmpl cmpl 0,-1, 231 NM_001199148 chr2 - 165754708 165812035 165754946 165809277 11 165754708,165765149,165768145,165771621,165772412,165793859,165795959,165801078,165802102,165809216,165811718, 165755240,165765281,165768258,165771783,165772483,165793939,165796066,165801144,165802237,165809291,165812035, 0 SLC38A11 cmpl cmpl 0,0,1,1,2,0,1,1,1,0,-1, 981 NM_001098800 chrX + 51927918 51935366 51929018 51934961 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934969,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 915 NM_015865 chr18 + 43304091 43332485 43310285 43329916 10 43304091,43304914,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43304238,43304978,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl -1,-1,0,1,2,2,0,1,1,0, 681 NM_024899 chr18 - 12672625 12702776 12673363 12702547 12 12672625,12674534,12678107,12680660,12686260,12691357,12695252,12697221,12698977,12699828,12700956,12702484, 12673502,12674752,12678441,12680827,12686449,12691486,12695350,12697407,12699202,12699904,12701112,12702776, 0 CEP76 cmpl cmpl 2,0,2,0,0,0,1,1,1,0,0,0, 184 NM_138972 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164649,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 180 NM_015412 chr3 - 112721291 112738555 112724382 112738494 9 112721291,112727017,112729489,112729891,112731580,112732118,112732799,112736294,112738388, 112724851,112727277,112729551,112730253,112731658,112732250,112732879,112736449,112738555, 0 C3orf17 cmpl cmpl 2,0,1,2,2,2,0,1,0, 14 NM_006159 chr12 - 44902057 45270247 44902716 45269652 21 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597,45270076, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269683,45270247, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,0,-1, 1154 NM_006302 chr2 - 74688183 74692537 74688401 74692374 4 74688183,74690316,74691622,74692022, 74690139,74690513,74691849,74692537, 0 MOGS cmpl cmpl 2,0,1,0, 1000 NM_006144 chr5 + 54398473 54406080 54398510 54406010 5 54398473,54401301,54403621,54403952,54405848, 54398580,54401446,54403763,54404222,54406080, 0 GZMA cmpl cmpl 0,1,2,0,0, 724 NM_152725 chr10 + 18240767 18332221 18242205 18331762 12 18240767,18242119,18250509,18254411,18266830,18270240,18276407,18280079,18284584,18289595,18292099,18331633, 18240954,18242466,18250791,18254619,18267003,18270412,18276580,18280232,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,0,1,0,1,0,0,1,1,0, 164 NM_018063 chr10 + 96305523 96361856 96305678 96361379 22 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 906 NM_002098 chr6 - 42151021 42162694 42152552 42162558 4 42151021,42153417,42156319,42162351, 42152680,42153535,42156469,42162694, 0 GUCA1B cmpl cmpl 1,0,0,0, 105 NM_058187 chr21 + 33784744 33887710 33785161 33887500 8 33784744,33825619,33829904,33840003,33867336,33873724,33876235,33887123, 33785321,33825816,33830028,33840156,33867480,33873805,33876325,33887710, 0 EVA1C cmpl cmpl 0,1,0,1,1,1,1,1, 1327 NM_014754 chr8 + 97274166 97346774 97274268 97345794 13 97274166,97285526,97296336,97299249,97307325,97311921,97316267,97318671,97321784,97332473,97342440,97343253,97345684, 97274447,97285618,97296381,97299374,97307484,97312073,97316409,97318784,97321850,97332573,97342509,97343323,97346774, 0 PTDSS1 cmpl cmpl 0,2,1,1,0,0,2,0,2,2,0,0,1, 1276 NM_020801 chr5 - 90664540 90679149 90667216 90678909 8 90664540,90669500,90669930,90670738,90671327,90672437,90674510,90678629, 90667273,90669655,90670093,90670995,90671430,90672585,90674592,90679149, 0 ARRDC3 cmpl cmpl 0,1,0,1,0,2,1,0, 1183 NM_001271889 chr15 - 78396947 78423877 78397652 78423557 4 78396947,78398080,78401576,78423506, 78397674,78398276,78401724,78423877, 0 CIB2 cmpl cmpl 2,1,0,0, 1183 NM_001271888 chr15 - 78396947 78423877 78397652 78403575 5 78396947,78398080,78401576,78403506,78423506, 78397674,78398276,78401724,78403618,78423877, 0 CIB2 cmpl cmpl 2,1,0,0,-1, 119 NM_006677 chr3 - 49146105 49158371 49146390 49156578 26 49146105,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154869,49155089,49155379,49156454,49158188, 49146618,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153371,49153595,49153784,49154040,49154376,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,1,1,1,0,-1, 1172 NR_103782 chr4 - 77035811 77069668 77069668 77069668 12 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77065301,77065542,77066707,77068631,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77065445,77065626,77066730,77068793,77069668, 0 NUP54 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 730 NM_022719 chr22 - 19117791 19132190 19121708 19132153 10 19117791,19122572,19124835,19125727,19126671,19127124,19127367,19130050,19130238,19132018, 19121988,19122688,19124945,19125830,19126805,19127242,19127537,19130146,19130407,19132190, 0 DGCR14 cmpl cmpl 2,0,1,0,1,0,1,1,0,0, 971 NR_024215 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A4 unk unk -1, 156 NM_138290 chr7 + 87257728 87461613 87258139 87459345 12 87257728,87280137,87323223,87329736,87339885,87369106,87370814,87399896,87407113,87436687,87445455,87459199, 87258261,87280253,87323274,87329870,87339971,87369196,87370895,87400065,87407271,87436834,87445577,87461613, 0 RUNDC3B cmpl cmpl 0,2,1,1,0,2,2,2,0,2,2,1, 656 NM_001256867 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L30 cmpl cmpl 0, 1729 NM_001099696 chr7 + 150065878 150071133 150068330 150070034 2 150065878,150068316, 150066030,150071133, 0 REPIN1 cmpl cmpl -1,0, 184 NM_138971 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165978,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164724,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 963 NM_139046 chr10 + 49609654 49647402 49609703 49642938 11 49609654,49612894,49617921,49618072,49628197,49632556,49633930,49634422,49635122,49639235,49642921, 49609825,49613024,49617980,49618211,49628363,49632628,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,1,0,1,1, 933 NM_138568 chr19 - 45715878 45737469 45716326 45735110 10 45715878,45719330,45720785,45721454,45728035,45730919,45731231,45731422,45735020,45737450, 45716615,45719452,45720941,45721577,45728171,45731030,45731332,45731524,45735132,45737469, 0 EXOC3L2 cmpl cmpl 2,0,0,0,2,2,0,0,0,-1, 949 NM_004602 chr20 - 47729875 47804904 47731414 47770570 14 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47790731,47795658,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47790806,47795781,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1,-1,-1, 1345 NM_006833 chr7 + 99686582 99689822 99686613 99689412 10 99686582,99686912,99687237,99688021,99688214,99688524,99688660,99688860,99689042,99689271, 99686689,99687038,99687369,99688110,99688277,99688572,99688775,99688953,99689143,99689822, 0 COPS6 cmpl cmpl 0,1,1,1,0,0,0,1,1,0, 885 NM_014508 chr22 + 39410264 39414825 39410367 39414392 4 39410264,39411599,39413770,39414273, 39410384,39411756,39414050,39414825, 0 APOBEC3C cmpl cmpl 0,2,0,1, 598 NM_005088 chrX + 1710485 1721411 1712355 1720487 5 1710485,1712336,1714276,1718084,1719551, 1710662,1713117,1714425,1718325,1721411, 0 AKAP17A cmpl cmpl -1,0,0,2,0, 1481 NM_017899 chr12 - 117476727 117537251 117476937 117537087 8 117476727,117479751,117484363,117484581,117486823,117494610,117513075,117537029, 117477015,117479799,117484471,117484643,117486963,117494691,117513145,117537251, 0 TESC cmpl cmpl 0,0,0,1,2,2,1,0, 676 NM_201402 chr8 - 11994676 11996269 11994676 11996269 1 11994676, 11996269, 0 USP17L2 cmpl cmpl 0, 14 NM_033151 chr16 - 48200821 48266182 48201184 48265832 29 48200821,48201406,48204015,48204799,48209168,48210834,48212507,48218350,48220863,48221111,48226430,48227789,48230142,48231881,48232051,48234186,48237138,48239323,48242335,48244858,48247353,48248791,48249107,48250024,48256508,48258192,48261716,48264347,48265733, 48201277,48201571,48204129,48204878,48209328,48211024,48212597,48218537,48221001,48221338,48226628,48227893,48230232,48231978,48232186,48234390,48237211,48239448,48242407,48245110,48247461,48248940,48249255,48250198,48256742,48258340,48261875,48264484,48266182, 0 ABCC11 cmpl cmpl 0,0,0,2,1,0,0,2,2,0,0,1,1,0,0,0,2,0,0,0,0,1,0,0,0,2,2,0,0, 1075 NM_001271649 chr7 + 64254765 64294059 64292061 64292580 2 64254765,64291828, 64254949,64294059, 0 ZNF138 cmpl cmpl -1,0, 1857 NR_073093 chr6 - 166778407 166796501 166796501 166796501 5 166778407,166779461,166780282,166782220,166796293, 166778941,166779594,166780379,166782453,166796501, 0 MPC1 unk unk -1,-1,-1,-1,-1, 141 NM_001145440 chr7 - 72039491 72298813 72040482 72298654 15 72039491,72081656,72093871,72159676,72178578,72193789,72209459,72209528,72242426,72267414,72277658,72281056,72285958,72297433,72298650, 72040704,72081824,72093982,72159812,72178756,72193899,72209527,72209578,72242544,72267537,72277949,72281251,72286060,72297564,72298813, 0 TYW1B cmpl cmpl 0,0,0,2,1,2,0,1,0,0,0,0,0,1,0, 1768 NM_001122837 chr1 + 155108287 155111334 155108428 155110757 5 155108287,155108774,155110036,155110454,155110655, 155108467,155108852,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0,0, 1985 NM_203454 chr1 - 183615410 183622448 183616812 183617916 2 183615410,183622206, 183617946,183622448, 0 APOBEC4 cmpl cmpl 0,-1, 646 NM_201280 chr6 - 8013799 8064647 8015881 8064609 5 8013799,8026599,8041371,8062766,8064497, 8016061,8026658,8041501,8062849,8064647, 0 BLOC1S5 cmpl cmpl 0,1,0,1,0, 934 NM_177417 chr19 + 45843997 45854778 45848799 45854615 13 45843997,45848791,45849801,45850704,45851198,45851903,45852077,45852686,45853598,45853771,45853898,45854211,45854543, 45844104,45849057,45850032,45850774,45851418,45851991,45852179,45852860,45853689,45853809,45854005,45854275,45854778, 0 KLC3 cmpl cmpl -1,0,0,0,1,2,0,0,0,1,0,2,0, 141 NR_028292 chr1 - 71318035 71513491 71513491 71513491 6 71318035,71327987,71334926,71419445,71477987,71512363, 71318542,71328080,71335002,71419472,71478167,71513491, 0 PTGER3 unk unk -1,-1,-1,-1,-1,-1, 587 NR_028322 chr1 + 323891 328581 328581 328581 3 323891,324287,324438, 324060,324345,328581, 0 RP4-669L17.10 unk unk -1,-1,-1, 821 NM_001282327 chr22 - 30972611 31003000 30973032 30980655 17 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30988118,31001447,31002795, 30973116,30974985,30975290,30975922,30976165,30976688,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30988385,31001504,31003000, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1, 757 NM_001204062 chr10 + 22605311 22620414 22605346 22618471 14 22605311,22606812,22607033,22607200,22607887,22615359,22615818,22616523,22616670,22616878,22617062,22617528,22617976,22618141, 22605485,22606924,22607097,22607235,22607947,22615490,22615915,22616579,22616721,22616987,22617108,22617627,22618057,22620414, 0 COMMD3-BMI1 cmpl cmpl 0,1,2,0,2,2,1,2,1,1,2,0,0,0, 138 NM_022902 chr5 + 68389775 68426899 68390082 68425444 16 68389775,68396633,68398888,68400457,68404175,68408966,68410246,68411063,68411752,68412220,68413065,68414325,68417520,68419025,68423830,68425273, 68390165,68396756,68398955,68400543,68404263,68409054,68410323,68411234,68412041,68412429,68413223,68414455,68417722,68419252,68423959,68426899, 0 SLC30A5 cmpl cmpl 0,2,2,0,2,0,1,0,0,1,0,2,0,1,0,0, 811 NM_001098479 chr6 + 29691116 29695073 29691240 29694952 7 29691116,29691434,29691949,29692807,29693223,29693787,29694659, 29691304,29691704,29692225,29693083,29693340,29693820,29695073, 0 HLA-F cmpl cmpl 0,1,1,1,1,1,1, 1804 NM_001134233 chr1 - 159804263 159825137 159807707 159825027 6 159804263,159807706,159810500,159810915,159824546,159824965, 159805945,159807817,159810656,159811025,159824816,159825137, 0 C1orf204 cmpl cmpl -1,1,1,2,2,0, 936 NM_005282 chr19 - 46093022 46105466 46094035 46095124 2 46093022,46105352, 46095955,46105466, 0 GPR4 cmpl cmpl 0,-1, 595 NM_172249 chrX + 1387692 1428828 1401596 1424394 9 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1424338,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,-1, 595 NM_172249 chrY + 1337692 1378828 1351596 1374394 9 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1374338,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,-1, 1643 NM_080660 chr7 - 138710451 138720775 138711289 138720763 5 138710451,138711453,138713447,138719288,138720398, 138711306,138711579,138713706,138719424,138720775, 0 ZC3HAV1L cmpl cmpl 1,1,0,2,0, 2 NM_015599 chr6 - 83874592 83903012 83878952 83900731 13 83874592,83880023,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83900527,83902897, 83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83900733,83903012, 0 PGM3 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,0,0,-1, 18 NM_001170574 chrX + 79591002 79700810 79698038 79699208 5 79591002,79591148,79597998,79694108,79698020, 79591063,79591215,79598063,79694231,79700810, 0 FAM46D cmpl cmpl -1,-1,-1,-1,0, 989 NM_001146226 chr12 - 52979372 52995322 52979765 52995236 8 52979372,52980729,52981414,52985247,52986179,52986675,52992681,52994810, 52979956,52980764,52981635,52985412,52986275,52986736,52992896,52995322, 0 KRT72 cmpl cmpl 1,2,0,0,0,2,0,0, 1728 NM_181873 chr1 - 149900542 149908266 149900758 149908057 17 149900542,149901046,149901514,149902256,149902683,149903151,149903835,149904155,149905298,149905502,149905747,149906083,149906340,149906878,149907191,149907476,149908046, 149900793,149901209,149901808,149902439,149902857,149903318,149903906,149904222,149905423,149905591,149905835,149906219,149906419,149907021,149907252,149907513,149908266, 0 MTMR11 cmpl cmpl 1,0,0,0,0,1,2,1,2,0,2,1,0,1,0,2,0, 147 NM_000115 chr13 - 78469615 78549664 78472334 78492708 8 78469615,78473993,78474655,78475192,78477290,78477629,78492225,78549481, 78472469,78474102,78474789,78475342,78477495,78477742,78492759,78549664, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0,-1, 686 NM_001100631 chr1 - 13328832 13331671 13328832 13331671 3 13328832,13330413,13331378, 13329406,13330992,13331671, 0 PRAMEF22 cmpl cmpl 2,2,0, 948 NM_001143984 chr11 + 47586981 47595013 47587174 47593114 2 47586981,47593022, 47587538,47595013, 0 PTPMT1 cmpl cmpl 0,1, 112 NM_007040 chr19 + 41770119 41813811 41770408 41812470 15 41770119,41774127,41777986,41779886,41782063,41784981,41787067,41798149,41800242,41800462,41807440,41808569,41809876,41811580,41812353, 41770703,41774250,41778140,41779960,41782203,41785081,41787180,41798416,41800365,41800591,41807609,41808854,41810166,41811772,41813811, 0 HNRNPUL1 cmpl cmpl 0,1,1,2,1,0,1,0,0,0,0,1,1,0,0, 117 NM_014246 chr22 - 46756730 46933067 46759074 46933067 35 46756730,46759892,46760408,46761127,46761482,46762282,46762889,46763625,46765075,46765588,46768779,46772957,46774487,46776684,46777742,46780439,46782298,46785186,46786288,46787082,46787529,46790038,46792501,46793570,46794420,46795613,46804892,46805651,46806294,46807498,46829289,46832070,46835085,46859603,46929523, 46759084,46760148,46760633,46761277,46761586,46762377,46763015,46763752,46765155,46765701,46768954,46773158,46774614,46776852,46777947,46780583,46782482,46785396,46786383,46787184,46787713,46790159,46792643,46793745,46794534,46795799,46805059,46805777,46806458,46807656,46829378,46832186,46835308,46860242,46933067, 0 CELSR1 cmpl cmpl 2,1,1,1,2,0,0,2,0,1,0,0,2,2,1,1,0,0,1,1,0,2,1,0,0,0,1,1,2,0,1,2,1,1,0, 1563 NM_007354 chr3 - 128290842 128294929 128292122 128292572 3 128290842,128294108,128294657, 128293146,128294229,128294929, 0 C3orf27 cmpl cmpl 0,-1,-1, 894 NM_004229 chrX - 40508794 40594804 40511057 40594664 31 40508794,40513615,40514186,40518478,40518679,40522176,40523558,40525971,40531112,40534472,40539115,40540009,40541103,40541854,40542087,40547705,40551434,40551959,40556275,40560416,40562695,40568599,40569230,40570420,40571437,40572165,40573029,40573788,40585997,40588570,40594449, 40511131,40513808,40514312,40518586,40518859,40522412,40523741,40526103,40531224,40534613,40539385,40540162,40541195,40542001,40542248,40547782,40551569,40552154,40556435,40560495,40562821,40568711,40569381,40570553,40571545,40572294,40573159,40573962,40586103,40588597,40594804, 0 MED14 cmpl cmpl 1,0,0,0,0,1,1,1,0,0,0,0,1,1,2,0,0,0,2,1,1,0,2,1,1,1,0,0,2,2,0, 626 NM_024803 chr10 - 5435060 5446793 5435479 5446755 4 5435060,5437289,5442806,5446752, 5436424,5437438,5443050,5446793, 0 TUBAL3 cmpl cmpl 0,1,0,0, 30 NM_201568 chr1 + 183441505 183523328 183441755 183521066 22 183441505,183481971,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183518342,183518898,183519885,183520179,183520952, 183441784,183482003,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511499,183513632,183514447,183515472,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl 0,2,1,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,1,1,0, 1654 NM_001184991 chr4 - 140211070 140222364 140213703 140216952 5 140211070,140213683,140216196,140216885,140221755, 140211246,140213763,140216300,140217114,140222364, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 1654 NM_001184989 chr4 - 140211070 140223705 140213703 140216952 6 140211070,140213683,140216196,140216885,140218538,140223569, 140211246,140213763,140216300,140217114,140218597,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1,-1, 1654 NM_001184990 chr4 - 140211070 140223705 140213703 140216952 5 140211070,140213683,140216196,140216885,140223569, 140211246,140213763,140216300,140217110,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 125 NM_019036 chr6 - 55299170 55444012 55300459 55443853 10 55299170,55304231,55360216,55364033,55378845,55381305,55406526,55406857,55441875,55443745, 55300561,55304357,55360405,55364097,55378994,55381401,55406634,55406938,55441965,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,0,0,0,0, 113 NM_001144883 chr12 - 42852139 42877797 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42877559, 42854467,42859060,42860182,42862631,42863389,42864161,42866363,42877797, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 1696 NM_005309 chr8 + 145729464 145732555 145729687 145732383 11 145729464,145729986,145730153,145730380,145730628,145731230,145731377,145731614,145731883,145732113,145732292, 145729849,145730076,145730262,145730514,145730872,145731310,145731514,145731789,145732039,145732226,145732555, 0 GPT cmpl cmpl 0,0,0,1,0,1,0,2,0,0,2, 1744 NM_001080848 chrX + 151927733 151928738 151927886 151928428 2 151927733,151928358, 151928200,151928738, 0 CSAG2 cmpl cmpl 0,2, 36 NM_004238 chr2 - 230628552 230786725 230632269 230744795 41 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230705537,230723487,230744697,230786595, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670518,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695537,230701700,230705643,230724290,230744844,230786725, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,1,2,0,-1, 738 NM_001185024 chr22 + 20119363 20135530 20119470 20134754 11 20119363,20126716,20127000,20127242,20127637,20128139,20128393,20128739,20128943,20130278,20134543, 20119574,20126838,20127158,20127415,20127740,20128231,20128535,20128860,20129053,20131279,20135530, 0 ZDHHC8 cmpl cmpl 0,2,1,0,2,0,2,0,1,0,2, 896 NM_022733 chr1 + 40839377 40888998 40839792 40887773 10 40839377,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40839895,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl 0,1,0,2,0,0,1,0,1,0, 85 NM_012298 chr3 + 12838170 12876313 12838219 12875481 13 12838170,12844986,12851557,12854488,12854744,12856639,12857365,12857872,12861584,12867040,12868938,12872963,12875253, 12838287,12845130,12851823,12854594,12854887,12856932,12857507,12859375,12861680,12867138,12869103,12873071,12876313, 0 CAND2 cmpl cmpl 0,2,2,1,2,1,0,1,1,1,0,0,0, 656 NM_001242332 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L29 cmpl cmpl 0, 656 NM_001242332 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L29 cmpl cmpl 0, 146 NM_012330 chr10 + 76586170 76792380 76602615 76790804 18 76586170,76598440,76602357,76719727,76729417,76729777,76732264,76735156,76737073,76738981,76741544,76744837,76748776,76780339,76780883,76781638,76784715,76788246, 76586543,76598510,76603236,76719836,76729533,76729859,76732397,76736088,76737195,76739097,76741686,76744999,76748870,76780571,76781043,76781989,76785007,76792380, 0 KAT6B cmpl cmpl -1,-1,0,0,1,0,1,2,1,0,2,0,0,1,2,0,0,1, 182 NM_015906 chr1 - 114935398 115053781 114940269 115053697 20 114935398,114940561,114942078,114944010,114945381,114948031,114949562,114951298,114952805,114964057,114967212,114968070,114969798,114970369,114973419,114976238,115005725,115006033,115006891,115053171, 114940482,114940612,114942231,114944085,114945505,114948381,114949722,114951362,114952938,114964258,114967377,114968345,114969916,114970516,114973534,114976355,115005858,115006178,115007010,115053781, 0 TRIM33 cmpl cmpl 0,0,0,0,2,0,2,1,0,0,0,1,0,0,2,2,1,0,1,0, 631 NM_001145547 chr10 + 6131308 6159422 6139028 6157519 12 6131308,6139010,6143233,6146893,6148103,6150648,6151948,6154172,6155470,6156011,6157201,6157415, 6131934,6139151,6143350,6147060,6148201,6150705,6152090,6154324,6155544,6156110,6157274,6159422, 0 RBM17 cmpl cmpl -1,0,0,0,2,1,1,2,1,0,0,1, 936 NM_005283 chr3 - 46062290 46068979 46062437 46063439 3 46062290,46063647,46068908, 46063470,46063769,46068979, 0 XCR1 cmpl cmpl 0,-1,-1, 659 NR_003593 chrY + 9748406 9749571 9749571 9749571 3 9748406,9748576,9749262, 9748463,9748722,9749571, 0 TTTY23B unk unk -1,-1,-1, 1477 NR_027346 chr12 + 116971239 116974318 116974318 116974318 3 116971239,116973924,116974157, 116971421,116974016,116974318, 0 LINC00173 unk unk -1,-1,-1, 772 NR_030334 chr10 + 24564613 24564710 24564710 24564710 1 24564613, 24564710, 0 MIR603 unk unk -1, 895 NR_045671 chr17 - 40724327 40729734 40729734 40729734 7 40724327,40725124,40725328,40725495,40726213,40729230,40729478, 40725042,40725184,40725382,40725641,40726228,40729320,40729734, 0 PSMC3IP unk unk -1,-1,-1,-1,-1,-1,-1, 895 NR_045670 chr17 - 40724327 40729849 40729849 40729849 8 40724327,40725124,40725328,40725495,40726213,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP unk unk -1,-1,-1,-1,-1,-1,-1,-1, 895 NR_045669 chr17 - 40724327 40729849 40729849 40729849 8 40724327,40725124,40725328,40725495,40725836,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP unk unk -1,-1,-1,-1,-1,-1,-1,-1, 649 NM_139314 chr19 + 8429010 8439259 8429205 8438770 7 8429010,8430837,8431085,8434102,8435939,8436124,8438588, 8429523,8430948,8431203,8434216,8436035,8436406,8439259, 0 ANGPTL4 cmpl cmpl 0,0,0,1,1,1,1, 589 NM_004359 chr19 + 531732 542087 531931 541552 5 531732,535836,536242,537012,541338, 532108,535923,536340,537147,542087, 0 CDC34 cmpl cmpl 0,0,0,2,2, 744 NM_152584 chrY - 20893325 20935601 20893654 20935504 2 20893325,20934991, 20893753,20935601, 0 HSFY1 cmpl cmpl 0,0, 18 NM_152996 chr1 + 76540388 77096669 76540551 77094491 5 76540388,76779489,76877692,77093136,77094304, 76540569,76779684,76878102,77093244,77096669, 0 ST6GALNAC3 cmpl cmpl 0,0,0,2,2, 956 NM_152994 chr2 + 48667907 48742531 48668092 48741883 21 48667907,48678146,48681733,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48722817,48725631,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48722910,48725874,48734524,48737252,48738607,48742531, 0 PPP1R21 cmpl cmpl 0,0,0,0,0,0,2,1,0,0,0,2,1,1,0,0,0,0,0,0,0, 1321 NM_018343 chr5 - 96496570 96519005 96498764 96518895 10 96496570,96500754,96503170,96504463,96506909,96508878,96512819,96513435,96514758,96518829, 96498929,96500851,96503695,96504556,96507101,96508967,96512995,96513552,96514897,96519005, 0 RIOK2 cmpl cmpl 0,2,2,2,2,0,1,1,0,0, 870 NM_178342 chr3 + 37440967 37459865 37458757 37459117 5 37440967,37452628,37458044,37458509,37458743, 37441150,37452800,37458215,37458633,37459865, 0 C3orf35 cmpl cmpl -1,-1,-1,-1,0, 870 NM_178339 chr3 + 37440967 37476988 37458757 37476621 6 37440967,37452628,37458044,37458509,37458743,37476334, 37441150,37452800,37458215,37458633,37458983,37476988, 0 C3orf35 cmpl cmpl -1,-1,-1,-1,0,1, 838 NR_029633 chr6 + 33175611 33175721 33175721 33175721 1 33175611, 33175721, 0 MIR219-1 unk unk -1, 809 NR_002556 chr16 - 29476288 29478899 29478899 29478899 5 29476288,29476798,29476932,29477896,29478225, 29476658,29476862,29477062,29478136,29478899, 0 LOC388242 unk unk -1,-1,-1,-1,-1, 815 NR_002556 chr16 - 30215637 30218248 30218248 30218248 5 30215637,30216147,30216281,30217245,30217574, 30216007,30216211,30216411,30217485,30218248, 0 LOC388242 unk unk -1,-1,-1,-1,-1, 1584 NR_029619 chr9 - 131006999 131007109 131007109 131007109 1 131006999, 131007109, 0 MIR199B unk unk -1, 920 NM_018964 chr21 + 43919741 44001550 43938564 44000470 21 43919741,43922405,43938386,43945885,43954807,43955581,43959621,43962513,43963545,43967212,43974171,43979067,43982187,43983924,43984817,43985936,43987094,43988469,43994927,43999845,44000454, 43919853,43922527,43938620,43945967,43954940,43955660,43959757,43962590,43963712,43967250,43974252,43979199,43982278,43983987,43984903,43985985,43987168,43988548,43995025,43999910,44001550, 0 SLC37A1 cmpl cmpl -1,-1,0,2,0,1,2,0,2,1,0,0,0,1,1,0,1,0,1,0,2, 176 NM_018112 chr9 + 108456805 108538892 108456941 108536361 6 108456805,108467877,108483817,108484814,108510353,108536145, 108457053,108468034,108484002,108484902,108510471,108538892, 0 TMEM38B cmpl cmpl 0,1,2,1,2,0, 1607 NM_031426 chr9 + 133971862 133998539 133972016 133995709 6 133971862,133972188,133986983,133989963,133993142,133995621, 133972047,133972250,133987050,133990005,133993305,133998539, 0 AIF1L cmpl cmpl 0,1,0,1,1,2, 837 NM_001166118 chr7 - 33053724 33080777 33054341 33066527 11 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33069240,33075545,33080483, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33069326,33075600,33080777, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,-1,-1,-1, 87 NR_037859 chrX - 15363712 15509432 15509432 15509432 15 15363712,15365285,15371189,15373271,15376124,15381230,15408306,15415570,15425251,15425627,15444028,15473970,15477779,15497851,15509284, 15364381,15365481,15371290,15373420,15376315,15381441,15408373,15415653,15425504,15425672,15444113,15474177,15477863,15497944,15509432, 0 PIR-FIGF unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 825 NR_037852 chr6 - 31497995 31510252 31510252 31510252 9 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31508098,31509726, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31508441,31510252, 0 DDX39B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 802 NM_052923 chr6 - 28539406 28555112 28539687 28554494 4 28539406,28542420,28547048,28554074, 28541604,28543913,28547196,28555112, 0 SCAND3 cmpl cmpl 0,1,0,0, 1060 NM_020062 chr20 + 62371210 62375403 62371265 62374343 8 62371210,62371729,62372722,62373221,62373482,62373688,62374051,62374231, 62371391,62371884,62372832,62373409,62373583,62373968,62374143,62375403, 0 SLC2A4RG cmpl cmpl 0,0,2,1,0,2,0,2, 90 NM_015310 chr8 - 18384812 18871196 18393252 18871093 16 18384812,18413718,18430037,18432637,18457873,18490122,18513151,18622958,18656804,18658779,18662031,18662213,18725183,18729135,18793543,18871072, 18393468,18413862,18430182,18432795,18457944,18490316,18513195,18623048,18656863,18658892,18662112,18662408,18725579,18730243,18793652,18871196, 0 PSD3 cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,2,1,0,0, 805 NM_017846 chr1 + 28879528 28905057 28879622 28904148 9 28879528,28880151,28887144,28887857,28891214,28893805,28897687,28898378,28904011, 28879649,28880249,28887244,28887910,28891346,28893925,28897850,28898412,28905057, 0 TRNAU1AP cmpl cmpl 0,0,2,0,2,2,2,0,1, 2038 NM_019048 chr2 + 190526124 190535557 190530858 190535452 6 190526124,190528626,190530101,190530766,190532489,190535166, 190526336,190528680,190530177,190532322,190532671,190535557, 0 ASNSD1 cmpl cmpl -1,-1,-1,0,0,2, 1347 NM_005292 chr13 - 99906966 99910682 99907130 99908126 3 99906966,99908581,99910407, 99908160,99908773,99910682, 0 GPR18 cmpl cmpl 0,-1,-1, 142 NM_001244889 chr10 + 72972291 73062635 72972742 73059034 16 72972291,73039577,73044476,73045082,73046445,73047354,73048324,73050671,73051188,73052223,73053161,73053456,73055567,73056334,73057665,73058868, 72972821,73039802,73044620,73045186,73046626,73047522,73048489,73050866,73051578,73052311,73053330,73053690,73055717,73056499,73057847,73062635, 0 UNC5B cmpl cmpl 0,1,1,1,0,1,1,1,1,1,2,0,0,0,0,2, 631 NM_000417 chr10 - 6052656 6104333 6054834 6104114 8 6052656,6060015,6061390,6061832,6063440,6066206,6067796,6104050, 6054859,6060082,6061462,6061904,6063656,6066317,6067988,6104333, 0 IL2RA cmpl cmpl 2,1,1,1,1,1,1,0, 1654 NM_001184986 chr4 - 140211070 140222364 140213703 140216952 6 140211070,140213683,140216196,140216885,140218538,140221755, 140211246,140213763,140216300,140217114,140218597,140222364, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1,-1, 1179 NM_001079867 chr8 - 77892493 77912524 77895496 77896414 3 77892493,77898422,77912225, 77896431,77898532,77912524, 0 PEX2 cmpl cmpl 0,-1,-1, 790 NM_014680 chr17 - 26941457 26972177 26942081 26972074 39 26941457,26942681,26943113,26943396,26943635,26943906,26944249,26945808,26946671,26946877,26947526,26948005,26948416,26950777,26951250,26955282,26958496,26958837,26959066,26959959,26960300,26960566,26960912,26961534,26963982,26964853,26965269,26965541,26966332,26966592,26966918,26967577,26968906,26969292,26969886,26970181,26970627,26971075,26972006, 26942264,26942816,26943215,26943527,26943771,26944017,26944336,26945989,26946793,26947033,26947648,26948188,26948516,26950984,26951408,26955577,26958699,26958937,26959257,26960180,26960419,26960769,26961104,26962627,26964188,26965112,26965433,26965660,26966478,26966660,26967043,26967701,26969096,26969353,26970005,26970329,26970677,26971205,26972177, 0 KIAA0100 cmpl cmpl 0,0,0,1,0,0,0,2,0,0,1,1,0,0,1,0,1,0,1,2,0,1,1,0,1,0,1,2,0,1,2,1,0,2,0,2,0,2,0, 199 NM_001164617 chrX - 132669775 133119673 132670151 133119476 9 132669775,132730467,132795757,132826396,132833922,132838232,132887508,133087076,133119301, 132670321,132730627,132795878,132826522,132834056,132838301,132888203,133087238,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,0,1,1,0, 1007 NM_001098815 chr12 - 55342086 55375622 55354952 55368346 11 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260,55368183,55375557, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367303,55368391,55375622, 0 TESPA1 cmpl cmpl -1,0,1,2,2,1,1,2,1,0,-1, 142 NR_033867 chr8 - 73117533 73163869 73163869 73163869 21 73117533,73121230,73121995,73124244,73125524,73126403,73127212,73133558,73134187,73137514,73139194,73140364,73142281,73142531,73146222,73150290,73150631,73152904,73157083,73159742,73163689, 73117602,73121413,73122125,73124414,73125614,73126566,73127283,73133657,73134247,73137608,73139362,73140477,73142446,73142701,73146271,73150436,73150740,73153012,73157267,73159899,73163869, 0 LOC392232 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 831 NR_033866 chr16 - 32300867 32301302 32301302 32301302 1 32300867, 32301302, 0 LOC390705 unk unk -1, 839 NR_033866 chr16 - 33298267 33298702 33298702 33298702 1 33298267, 33298702, 0 LOC390705 unk unk -1, 1341 NM_001287804 chr10 + 99205887 99217127 99211432 99216648 8 99205887,99211427,99211846,99212171,99212651,99215358,99215730,99216533, 99206110,99211675,99212041,99212260,99212680,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,1,0,2, 1341 NM_001287803 chr10 + 99205887 99217127 99211432 99216648 12 99205887,99210113,99211427,99211846,99212171,99212651,99213286,99213555,99214470,99215470,99215730,99216533, 99206110,99210293,99211675,99212041,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,-1,0,0,0,2,1,0,0,2,0,2, 1458 NM_001143946 chr13 - 114523521 114536714 114523836 114535662 7 114523521,114524930,114526347,114529968,114531519,114535271,114535606, 114523991,114525159,114526523,114530137,114531684,114535461,114536714, 0 GAS6 cmpl cmpl 1,0,1,0,0,2,0, 1256 NM_001184771 chrX + 88002225 88009785 88008415 88009321 3 88002225,88004318,88008407, 88002332,88004424,88009785, 0 CPXCR1 cmpl cmpl -1,-1,0, 650 NM_194284 chr8 + 8559665 8561617 8559908 8560787 1 8559665, 8561617, 0 CLDN23 cmpl cmpl 0, 153 NM_005153 chr16 + 84733554 84813527 84733696 84812688 14 84733554,84767040,84773914,84778238,84792321,84792968,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84767109,84773975,84779279,84792413,84793078,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 cmpl cmpl 0,0,0,1,1,0,2,1,0,1,2,0,1,1, 1608 NM_001628 chr7 - 134127106 134143888 134127479 134143814 10 134127106,134129989,134132049,134132731,134133138,134133748,134134471,134135537,134136337,134143748, 134127522,134130072,134132133,134132813,134133245,134133871,134134549,134135654,134136505,134143888, 0 AKR1B1 cmpl cmpl 2,0,0,2,0,0,0,0,0,0, 896 NM_001198978 chr1 + 40840304 40888998 40840367 40887773 10 40840304,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40840380,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl 0,1,0,2,0,0,1,0,1,0, 861 NM_001833 chr9 + 36190852 36212059 36191053 36211771 5 36190852,36197547,36198975,36204064,36211599, 36191270,36197585,36199093,36204176,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2, 98 NR_001525 chrY + 26716348 26753172 26753172 26753172 4 26716348,26743515,26745395,26752171, 26716509,26743591,26745503,26753172, 0 TTTY4 unk unk -1,-1,-1,-1, 792 NR_001525 chrY - 27209229 27246039 27246039 27246039 4 27209229,27216880,27218792,27245878, 27210230,27216988,27218868,27246039, 0 TTTY4 unk unk -1,-1,-1,-1, 671 NM_001282712 chr2 + 11295497 11318998 11295672 11300833 4 11295497,11300591,11300750,11317862, 11295815,11300674,11300874,11318998, 0 PQLC3 cmpl cmpl 0,2,1,-1, 671 NM_001282711 chr2 + 11295497 11318998 11295672 11315102 6 11295497,11300591,11300750,11304329,11315093,11317862, 11295815,11300674,11300820,11304387,11315135,11318998, 0 PQLC3 cmpl cmpl 0,2,1,2,0,-1, 1653 NM_001278732 chr5 + 140071010 140078903 140073546 140078137 11 140071010,140073075,140073519,140075322,140075687,140076105,140076527,140076748,140077153,140077516,140078077, 140071341,140073250,140073639,140075430,140075786,140076199,140076655,140076991,140077270,140077663,140078903, 0 HARS2 cmpl cmpl -1,-1,0,0,0,0,1,0,0,0,0, 167 NM_005723 chr4 - 99391517 99579812 99393672 99579377 8 99391517,99397339,99397563,99399835,99403155,99407888,99428828,99579296, 99393738,99397456,99397611,99399961,99403326,99408035,99428879,99579812, 0 TSPAN5 cmpl cmpl 0,0,0,0,0,0,0,0, 1926 NM_007097 chr5 - 175819455 175843570 175819774 175843364 6 175819455,175823479,175824607,175824930,175837257,175843177, 175819946,175823533,175824719,175825048,175837304,175843570, 0 CLTB cmpl cmpl 2,2,1,0,1,0, 2 NM_001199918 chr6 - 83874592 83903012 83879016 83898478 12 83874592,83880019,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83902897, 83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83903012, 0 PGM3 cmpl cmpl 1,0,0,0,0,0,1,0,1,2,0,-1, 121 NM_198794 chr14 - 50885210 50999376 50886736 50998767 32 50885210,50889838,50892624,50895379,50895909,50901111,50901679,50904193,50904611,50906730,50907079,50909449,50910446,50910656,50911758,50912796,50914131,50915491,50923233,50929382,50930769,50933300,50935368,50941794,50942845,50942976,50949078,50952295,50952821,50971517,50998659,50999117, 50886824,50889894,50892695,50895472,50895978,50901289,50901783,50904252,50904729,50906791,50907159,50909534,50910488,50910754,50911912,50912839,50914199,50915550,50923312,50929499,50930851,50933363,50935500,50941867,50942888,50943024,50949134,50952360,50952912,50971575,50998876,50999376, 0 MAP4K5 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0,-1, 771 NM_001136234 chrX + 24380877 24383541 24380877 24383541 1 24380877, 24383541, 0 SUPT20HL1 cmpl cmpl 0, 770 NM_001136233 chrX - 24328978 24331432 24328978 24331432 1 24328978, 24331432, 0 SUPT20HL2 cmpl cmpl 0, 655 NM_001256894 chr4 + 9236110 9238060 9236110 9238060 2 9236110,9237998, 9237728,9238060, 0 USP17L15 cmpl cmpl 0,1, 116 NM_002856 chr19 + 45349392 45382198 45349782 45381877 6 45349392,45368527,45375109,45377172,45377586,45381479, 45349870,45368917,45375406,45377290,45377735,45382198, 0 PVRL2 cmpl cmpl 0,1,1,1,2,1, 595 NM_001039211 chr1 + 1385068 1405538 1386063 1403910 12 1385068,1387425,1387744,1389724,1390839,1391170,1391604,1392508,1394540,1396129,1397979,1403763, 1386138,1387502,1387814,1389880,1390899,1391296,1391729,1392560,1394611,1396297,1398088,1405538, 0 ATAD3C cmpl cmpl 0,0,2,0,0,0,0,2,0,2,2,0, 1318 NM_022451 chr10 - 96092988 96122683 96093933 96122595 21 96092988,96094390,96097533,96098364,96099495,96100032,96100189,96101429,96104171,96104609,96106181,96109006,96109869,96112066,96112652,96114719,96116291,96116930,96117839,96121421,96122586, 96094062,96094475,96097631,96098493,96099677,96100104,96100253,96101502,96104272,96104690,96106313,96109135,96110045,96112160,96112814,96114850,96116348,96117088,96117972,96121629,96122683, 0 NOC3L cmpl cmpl 0,2,0,0,1,1,0,2,0,0,0,0,1,0,0,1,1,2,1,0,0, 709 NM_206831 chr3 - 16298567 16306496 16302270 16306383 3 16298567,16305661,16306275, 16302336,16305736,16306496, 0 DPH3 cmpl cmpl 0,0,0, 147 NM_020421 chr14 + 78266425 78400297 78285321 78399734 11 78266425,78285310,78288777,78325418,78353433,78365442,78374145,78390799,78392106,78397860,78399562, 78266513,78285456,78288861,78325622,78353592,78365601,78374262,78390949,78392304,78398054,78400297, 0 ADCK1 cmpl cmpl -1,0,0,0,0,0,0,0,0,0,2, 843 NM_001256192 chr3 + 33840062 33868756 33840220 33868171 6 33840062,33853563,33855050,33863446,33866678,33867971, 33840429,33853618,33855120,33863574,33866832,33868756, 0 PDCD6IP cmpl cmpl 0,2,0,1,0,1, 949 NM_001278923 chr10 + 47746849 47763040 47747111 47762187 10 47746849,47751144,47752404,47753837,47756032,47756638,47756971,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47756092,47756732,47757067,47758904,47759772,47763040, 0 ANXA8L1 cmpl cmpl 0,0,1,0,0,0,1,1,0,0, 295 NM_001103146 chr2 + 233562014 233725289 233599907 233721570 29 233562014,233568133,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655407,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233568199,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,-1,0,2,0,0,1,2,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 1234 NM_001166417 chr1 - 85109389 85156151 85113115 85136902 15 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85136859,85146020,85155836, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85136991,85146070,85156151, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,1,0,-1,-1, 93 NR_027054 chr9 - 21454266 21559697 21559697 21559697 4 21454266,21476897,21477167,21559487, 21455943,21477034,21477291,21559697, 0 MIR31HG unk unk -1,-1,-1,-1, 107 NM_080607 chr20 + 36531498 36573747 36531752 36572655 4 36531498,36560036,36561940,36572382, 36531873,36560206,36561991,36573747, 0 VSTM2L cmpl cmpl 0,1,0,0, 613 NM_001114118 chr17 - 3710044 3749545 3716337 3749517 13 3710044,3717615,3719409,3721556,3724542,3725246,3728235,3729060,3729380,3732536,3743393,3746379,3749334, 3716573,3717777,3719564,3721866,3724646,3725346,3728344,3729137,3729509,3732662,3743499,3746445,3749545, 0 C17orf85 cmpl cmpl 1,1,2,1,2,1,0,1,1,1,0,0,0, 1349 NM_033506 chr7 + 100183955 100198740 100184248 100198522 10 100183955,100187599,100187796,100189289,100190405,100192005,100192724,100193197,100197653,100198156, 100184287,100187698,100187980,100189525,100190640,100192164,100192846,100193329,100197824,100198740, 0 FBXO24 cmpl cmpl 0,0,0,1,0,1,1,0,0,0, 972 NM_001042412 chr16 + 50776028 50835846 50783609 50830419 18 50776028,50776672,50783486,50785514,50788229,50810089,50811735,50813575,50815156,50816235,50818239,50820765,50821696,50825468,50826507,50827456,50828122,50830234, 50776127,50776752,50784113,50785817,50788335,50810188,50811852,50813955,50815322,50816377,50818362,50820857,50821763,50825601,50826616,50827575,50828339,50835846, 0 CYLD cmpl cmpl -1,-1,0,0,0,1,1,1,0,1,2,2,1,2,0,1,0,1, 1658 NM_013453 chrX + 140677858 140678889 140677894 140678835 2 140677858,140678613, 140677966,140678889, 0 SPANXA1 cmpl cmpl 0,0, 162 NM_003567 chr1 - 94027342 94147394 94027797 94140486 12 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94107859,94140169,94147153, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94107899,94140497,94147394, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,2,0,-1, 1355 NM_001159531 chr14 - 101003483 101034407 101004305 101034261 6 101003483,101006832,101010194,101011336,101012837,101034247, 101005652,101006916,101010302,101011403,101012999,101034407, 0 BEGAIN cmpl cmpl 0,0,0,2,2,0, 843 NM_001162429 chr3 + 33840062 33911199 33840220 33908017 18 33840062,33853563,33855050,33863446,33866678,33867971,33870329,33877535,33879695,33883388,33885603,33886910,33893979,33895370,33896657,33905497,33906734,33907842, 33840429,33853618,33855120,33863574,33866832,33868072,33870461,33877758,33879819,33883566,33885715,33887080,33894228,33895505,33896752,33905621,33906922,33911199, 0 PDCD6IP cmpl cmpl 0,2,0,1,0,1,0,0,1,2,0,1,0,0,0,2,0,2, 89 NM_001282227 chr22 - 17659679 17702744 17662372 17690441 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17702616, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690488,17702744, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 89 NM_001282226 chr22 - 17659679 17700475 17662372 17690567 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690580,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 724 NR_001443 chr17 + 18325494 18328647 18328647 18328647 1 18325494, 18328647, 0 LOC339240 unk unk -1, 949 NM_001127240 chr19 - 47724078 47736023 47724957 47735859 4 47724078,47729820,47731414,47735771, 47725175,47730011,47731703,47736023, 0 BBC3 cmpl cmpl 1,2,1,0, 1680 NM_001206941 chr7 - 143548460 143582466 143551225 143560237 8 143548460,143554192,143555916,143557300,143558187,143559508,143559894,143582302, 143551235,143554443,143556254,143557540,143558401,143559606,143560889,143582466, 0 FAM115A cmpl cmpl 2,0,1,1,0,1,0,-1, 987 NM_001278697 chrX - 52725945 52736277 52727037 52734799 9 52725945,52727033,52727903,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736277, 0 SSX2 cmpl cmpl -1,1,1,0,1,1,0,0,-1, 987 NM_001278697 chrX + 52780279 52790617 52781757 52789521 9 52780279,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788655,52789525,52790617, 0 SSX2 cmpl cmpl -1,0,0,1,1,0,1,1,-1, 596 NM_004192 chrX - 1522031 1571870 1522161 1571733 13 1522031,1531624,1536865,1537874,1540550,1544417,1546626,1551161,1553914,1554586,1557989,1561078,1571640, 1522382,1531747,1537009,1538007,1540735,1544580,1547014,1551270,1553976,1554651,1558037,1561210,1571870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,0, 114 NM_007163 chr18 + 43194765 43263060 43204629 43262484 20 43194765,43204595,43205647,43206922,43212314,43216954,43219710,43221173,43223096,43223950,43243749,43246101,43246899,43247797,43248313,43249270,43252864,43253647,43258939,43262283, 43195547,43204779,43205828,43207112,43212443,43217147,43219858,43221308,43223146,43224125,43243872,43246184,43247059,43247987,43248442,43249463,43253012,43253782,43258989,43263060, 0 SLC14A2 cmpl cmpl -1,0,0,1,2,2,0,1,1,0,1,1,0,1,2,2,0,1,1,0, 919 NM_020990 chr15 + 43885251 43891604 43886416 43891471 10 43885251,43886242,43887169,43887571,43888053,43888404,43888605,43890390,43891024,43891354, 43885469,43886565,43887368,43887667,43888275,43888490,43888729,43890525,43891150,43891604, 0 CKMT1B cmpl cmpl -1,0,2,0,0,0,2,0,0,0, 1768 NM_001287591 chr1 + 155107819 155111334 155108790 155110757 6 155107819,155108774,155109303,155110054,155110454,155110655, 155108074,155108852,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl -1,0,2,0,0,0, 1167 NM_005512 chr11 - 76368567 76381044 76370647 76376998 3 76368567,76376914,76380805, 76372552,76377002,76381044, 0 LRRC32 cmpl cmpl 0,0,-1, 9 NR_003590 chrY - 6274284 6296485 6296485 6296485 8 6274284,6276187,6276505,6279414,6280263,6287805,6290368,6296280, 6274964,6276385,6276584,6279571,6280412,6287892,6290446,6296485, 0 TTTY2B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 935 NM_030891 chr21 + 45875392 45878739 45876527 45877301 2 45875392,45876380, 45875538,45878739, 0 LRRC3 cmpl cmpl -1,0, 118 NM_030885 chr3 - 48014568 48130769 48016947 48040350 4 48014568,48019354,48040127,48130262, 48016955,48019423,48040369,48130769, 0 MAP4 cmpl cmpl 1,1,0,-1, 884 NM_031960 chr17 - 39253233 39254375 39253778 39254336 1 39253233, 39254375, 0 KRTAP4-8 cmpl cmpl 0, 137 NM_015139 chr1 - 67465014 67520080 67470022 67519696 12 67465014,67474767,67486051,67487217,67507918,67512947,67515464,67516115,67517694,67518453,67518638,67519493, 67470131,67474850,67486130,67487285,67508011,67513050,67515533,67516187,67517762,67518540,67518672,67520080, 0 SLC35D1 cmpl cmpl 2,0,2,0,0,2,2,2,0,0,2,0, 823 NM_173847 chr17 + 31318881 31324892 31318956 31324796 5 31318881,31322426,31323860,31324462,31324729, 31318990,31322735,31324019,31324541,31324892, 0 SPACA3 cmpl cmpl 0,1,1,1,2, 91 NM_005919 chr19 - 19256375 19303400 19256502 19261544 10 19256375,19257363,19257550,19257844,19258506,19260034,19261490,19291494,19293381,19302889, 19256831,19257457,19257684,19257992,19258641,19260238,19261573,19291570,19293492,19303400, 0 MEF2BNB-MEF2B cmpl cmpl 1,0,1,0,0,0,0,-1,-1,-1, 1348 NM_030935 chr7 - 100064141 100076902 100064581 100075661 5 100064141,100065174,100071896,100074899,100076416, 100064791,100065223,100072063,100075930,100076902, 0 TSC22D4 cmpl cmpl 0,2,0,0,-1, 955 NM_001272083 chr3 - 48509196 48514742 48510736 48514423 3 48509196,48511126,48514418, 48510972,48511242,48514742, 0 SHISA5 cmpl cmpl 1,2,0, 1420 NM_001205180 chr12 - 109525992 109531293 109526123 109530591 3 109525992,109530311,109531051, 109526317,109530592,109531293, 0 ALKBH2 cmpl cmpl 1,0,-1, 1420 NM_001205179 chr12 - 109525992 109531293 109526123 109530591 3 109525992,109530311,109531154, 109526317,109530742,109531293, 0 ALKBH2 cmpl cmpl 1,0,-1, 1486 NR_104405 chr11 - 118097404 118123083 118123083 118123083 5 118097404,118104174,118106138,118110925,118122936, 118100635,118104238,118106304,118111092,118123083, 0 MPZL3 unk unk -1,-1,-1,-1,-1, 1486 NR_104404 chr11 - 118097404 118123083 118123083 118123083 3 118097404,118104174,118122936, 118100635,118104238,118123083, 0 MPZL3 unk unk -1,-1,-1, 611 NM_001164673 chr4 + 3465032 3496209 3465102 3494492 7 3465032,3465232,3475132,3478068,3487265,3491403,3494485, 3465156,3465278,3475363,3478258,3487385,3491523,3496209, 0 DOK7 cmpl cmpl 0,0,1,1,2,2,2, 136 NM_002755 chr15 + 66679210 66783882 66679685 66782953 11 66679210,66727364,66729083,66735617,66736993,66774092,66777327,66779565,66781552,66782055,66782839, 66679765,66727575,66729230,66735695,66737045,66774217,66777529,66779630,66781614,66782101,66783882, 0 MAP2K1 cmpl cmpl 0,2,0,0,0,1,0,1,0,2,0, 1689 NM_001100599 chr8 + 144766621 144777555 144772278 144776700 5 144766621,144772226,144773242,144773769,144775840, 144766712,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,0,0,1,1, 647 NM_004054 chr12 - 8210918 8218955 8211332 8212781 2 8210918,8218873, 8212791,8218955, 0 C3AR1 cmpl cmpl 0,-1, 858 NM_001039792 chr9 + 35906188 35907138 35906284 35906632 1 35906188, 35907138, 0 HRCT1 cmpl cmpl 0, 1880 NM_001166110 chr4 + 169753155 169849608 169799042 169847536 12 169753155,169798873,169812072,169815729,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169847363, 169753322,169799545,169812208,169815828,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169849608, 0 PALLD cmpl cmpl -1,0,2,0,0,0,0,2,0,1,2,1, 848 NM_001123392 chr17 - 34581028 34591996 34581399 34590454 14 34581028,34582949,34583468,34584031,34584481,34585292,34585956,34587257,34587696,34588248,34588811,34590134,34590382,34591883, 34581968,34583102,34583568,34584097,34584576,34585413,34586005,34587367,34587804,34588329,34588851,34590220,34590455,34591996, 0 TBC1D3H cmpl cmpl 1,1,0,0,1,0,2,0,0,0,2,0,0,-1, 1018 NM_001280797 chr12 - 56864727 56882198 56865270 56871485 17 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56873563,56874071,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868894,56869466,56869761,56871502,56871880,56872046,56873685,56874171,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,2,0,0,0,-1,-1,-1,-1,-1, 837 NM_032514 chr20 + 33146500 33148149 33146672 33147702 4 33146500,33147011,33147150,33147539, 33146712,33147067,33147257,33148149, 0 MAP1LC3A cmpl cmpl 0,1,0,2, 893 NM_032793 chr1 + 40420783 40435640 40420964 40435240 14 40420783,40422758,40424372,40430882,40431142,40431528,40432272,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl 0,0,0,2,0,1,0,1,0,0,0,2,2,2, 1134 NM_144982 chr12 - 72003378 72057749 72004207 72057390 35 72003378,72004474,72004837,72005565,72007114,72008314,72008613,72008985,72013094,72013705,72013989,72017139,72017883,72020039,72021530,72022697,72023388,72024379,72024602,72025557,72025751,72026665,72027043,72027934,72028483,72029222,72030269,72030629,72032197,72036215,72037874,72038656,72041528,72050664,72056792, 72004345,72004537,72004877,72005667,72007215,72008480,72008718,72009096,72013189,72013904,72014095,72017377,72018072,72020226,72021714,72022817,72023490,72024501,72024734,72025667,72026294,72026797,72027218,72028084,72028605,72029360,72030434,72030839,72032295,72036339,72038098,72038855,72041593,72051081,72057749, 0 ZFC3H1 cmpl cmpl 0,0,2,2,0,2,2,2,0,2,1,0,0,2,1,1,1,2,2,0,0,0,2,2,0,0,0,0,1,0,1,0,1,1,0, 1520 NM_018117 chr10 + 122610686 122669038 122610932 122668225 29 122610686,122612035,122618154,122619620,122622246,122624558,122625141,122626080,122626577,122630681,122633350,122637864,122640337,122643291,122645325,122646200,122648589,122649406,122650227,122659540,122660547,122661768,122662566,122663558,122664157,122664830,122665387,122666287,122668067, 122611018,122612147,122618308,122619794,122622433,122624724,122625256,122626276,122626681,122630858,122633435,122637971,122640413,122643400,122645450,122646348,122648696,122649521,122650399,122659649,122660610,122661834,122662744,122663654,122664323,122664928,122665533,122666367,122669038, 0 WDR11 cmpl cmpl 0,2,0,1,1,2,0,1,2,1,1,2,1,2,0,2,0,2,0,1,2,2,2,0,0,1,0,2,1, 936 NM_198699 chr21 + 46117086 46117959 46117116 46117854 1 46117086, 46117959, 0 KRTAP10-12 cmpl cmpl 0, 936 NM_198688 chr21 - 46011148 46012386 46011267 46012365 1 46011148, 46012386, 0 KRTAP10-6 cmpl cmpl 0, 1139 NR_026836 chr12 - 72656326 72667289 72667289 72667289 3 72656326,72665602,72666544, 72658401,72665942,72667289, 0 TRHDE-AS1 unk unk -1,-1,-1, 1007 NM_004829 chr19 + 55417507 55424439 55417545 55424239 7 55417507,55417656,55417880,55420603,55421377,55423535,55424057, 55417579,55417692,55418165,55420882,55421425,55423586,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1,1, 1457 NM_015967 chr1 - 114356432 114414375 114357526 114414245 21 114356432,114362198,114367763,114372213,114372570,114375732,114376930,114377531,114380211,114381165,114391161,114394648,114397092,114397528,114399003,114399169,114400359,114401099,114401623,114401973,114414158, 114357591,114362276,114367794,114372329,114372651,114375760,114377061,114377615,114381029,114381242,114391248,114394726,114397159,114397671,114399063,114399241,114400398,114401195,114401700,114402082,114414375, 0 PTPN22 cmpl cmpl 1,1,0,1,1,0,1,1,2,0,0,0,2,0,0,0,0,0,1,0,0, 161 NM_001286139 chr11 - 92877336 92930621 92881702 92914906 11 92877336,92887273,92895871,92899083,92901109,92913962,92914856,92916000,92917595,92918856,92930357, 92882010,92887443,92896041,92899182,92901337,92914047,92914952,92916060,92917686,92918980,92930621, 0 SLC36A4 cmpl cmpl 1,2,0,0,0,2,0,-1,-1,-1,-1, 90 NM_014707 chr7 + 18535368 18708465 18535925 18706150 12 18535368,18535884,18624903,18629967,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835, 18535477,18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18708465, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,1,0,0,1,0, 182 NM_020871 chrX - 114345182 114468635 114347778 114468604 21 114345182,114357089,114357322,114357642,114358507,114361405,114364717,114384389,114384584,114391164,114398238,114399967,114400120,114400403,114400817,114404861,114413989,114414208,114418973,114422788,114468255, 114347898,114357167,114357460,114357755,114358565,114361456,114364762,114384506,114384633,114391230,114398346,114400026,114400218,114400515,114400905,114404995,114414126,114414314,114419100,114422933,114468635, 0 LRCH2 cmpl cmpl 0,0,0,1,0,0,0,0,2,2,2,0,1,0,2,0,1,0,2,1,0, 152 NM_016211 chr4 - 83739813 83812412 83740226 83803089 25 83739813,83742189,83745707,83748521,83750152,83763292,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,2,0,0,0,2,1,0,-1, 21 NM_015221 chr10 - 101635333 101769676 101636907 101731881 17 101635333,101639567,101643767,101645443,101646056,101648581,101654702,101656023,101657842,101658499,101659675,101667751,101668709,101714970,101728871,101731736,101769594, 101637093,101640118,101643966,101645623,101646389,101648710,101654807,101656154,101658042,101658517,101659823,101667851,101668903,101716962,101728994,101731891,101769676, 0 DNMBP cmpl cmpl 0,1,0,0,0,0,0,1,2,2,1,0,1,1,1,0,-1, 128 NM_001282476 chr17 - 58520509 58603601 58524941 58603168 12 58520509,58529240,58531662,58533656,58538023,58539170,58539354,58541381,58543651,58556508,58571826,58603154, 58525195,58529406,58531853,58533742,58538148,58539276,58539422,58541471,58543820,58556632,58571978,58603601, 0 APPBP2 cmpl cmpl 1,0,1,2,0,2,0,0,2,1,2,0, 1351 NM_003302 chr7 + 100464949 100471076 100465119 100470925 9 100464949,100465482,100465729,100466116,100467991,100468195,100469164,100470245,100470793, 100465228,100465610,100465855,100466488,100468085,100468365,100469343,100470366,100471076, 0 TRIP6 cmpl cmpl 0,1,0,0,0,1,0,2,0, 861 NM_001076677 chr9 + 36190852 36212059 36191053 36211771 6 36190852,36197547,36198975,36204064,36209263,36211599, 36191270,36197585,36199093,36204176,36209317,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2,2, 924 NM_000341 chr2 + 44502596 44547962 44502674 44547778 10 44502596,44507854,44508525,44513170,44527109,44528141,44531281,44539724,44540973,44547337, 44503104,44508034,44508680,44513296,44527229,44528266,44531477,44539892,44541090,44547962, 0 SLC3A1 cmpl cmpl 0,1,1,0,0,0,2,0,0,0, 587 NM_001267558 chr5 + 271735 315089 306718 314630 7 271735,271890,272825,304291,306716,311407,314531, 271805,271936,272887,304336,306875,311517,315089, 0 PDCD6 cmpl cmpl -1,-1,-1,-1,0,1,0, 587 NM_001267556 chr5 + 271735 315089 271835 314630 6 271735,272825,304291,306716,311407,314531, 271936,272887,304336,306869,311517,315089, 0 PDCD6 cmpl cmpl 0,2,1,1,1,0, 2290 NM_058165 chr2 + 223536456 223574649 223536504 223574609 6 223536456,223553062,223553983,223559080,223559807,223574454, 223536598,223553241,223554188,223559255,223560007,223574649, 0 MOGAT1 cmpl cmpl 0,1,0,1,2,1, 1139 NR_003186 chr7 + 72634673 72649979 72649979 72649979 8 72634673,72637912,72641443,72643600,72645844,72648647,72649222,72649702, 72634752,72637991,72641499,72644294,72645924,72648752,72649368,72649979, 0 NCF1B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 88 NM_006387 chr19 - 16628699 16653263 16629969 16653189 17 16628699,16630431,16630959,16631174,16631636,16632331,16633862,16636052,16638890,16640458,16641395,16641579,16643408,16643821,16646262,16652680,16653164, 16630163,16630526,16631076,16631318,16631723,16632465,16634101,16636488,16639066,16640711,16641485,16641691,16643560,16643959,16646447,16652854,16653263, 0 CHERP cmpl cmpl 1,2,2,2,2,0,1,0,1,0,0,2,0,0,1,1,0, 1267 NM_019610 chr1 - 89445138 89458643 89448336 89449509 2 89445138,89458267, 89449749,89458643, 0 RBMXL1 cmpl cmpl 0,-1, 820 NM_003885 chr17 + 30814104 30818271 30814638 30815562 2 30814104,30814493, 30814180,30818271, 0 CDK5R1 cmpl cmpl -1,0, 173 NM_015275 chr12 + 105501491 105562906 105501578 105560709 33 105501491,105504902,105507993,105508139,105508961,105509438,105512223,105514332,105514878,105515895,105519781,105520012,105520906,105527547,105531663,105534071,105534676,105534944,105536230,105536904,105538064,105538495,105540229,105540819,105543392,105546120,105550503,105551013,105553778,105556526,105557888,105558418,105560641, 105501639,105505042,105508047,105508205,105509007,105509506,105512306,105514375,105514982,105516016,105519905,105520140,105521067,105527674,105531789,105534179,105534823,105535024,105536336,105537021,105538233,105538650,105540304,105540924,105543527,105546229,105550570,105551100,105553926,105556623,105558085,105558518,105562906, 0 KIAA1033 cmpl cmpl 0,1,0,0,0,1,0,2,0,2,0,1,0,2,0,0,0,0,2,0,0,1,0,0,0,0,1,2,2,0,1,0,1, 745 NM_207355 chr15 - 21040700 21071977 21040719 21071610 11 21040700,21042572,21051161,21052373,21053821,21059385,21061964,21063439,21066370,21066703,21071200, 21040932,21042696,21051328,21052418,21053892,21059456,21062102,21063546,21066544,21066818,21071977, 0 LOC339010 cmpl cmpl 0,2,0,0,1,2,2,0,0,2,0, 753 NM_207355 chr15 - 22051852 22083137 22051871 22082770 11 22051852,22053722,22062315,22063527,22064975,22070539,22073120,22074595,22077530,22077863,22082360, 22052084,22053846,22062482,22063572,22065046,22070610,22073258,22074702,22077704,22077978,22083137, 0 LOC339010 cmpl cmpl 0,2,0,0,1,2,2,0,0,2,0, 864 NM_001270895 chr1 - 36602169 36621654 36602803 36605671 5 36602169,36603396,36605320,36605669,36621483, 36602923,36603579,36605420,36605767,36621654, 0 TRAPPC3 cmpl cmpl 0,0,2,0,-1, 1756 NM_002960 chr1 - 153519808 153521734 153520157 153520961 3 153519808,153520820,153521656, 153520322,153520966,153521734, 0 S100A3 cmpl cmpl 0,0,-1, 2135 NM_003465 chr1 - 203185206 203198860 203186016 203198764 11 203185206,203186866,203188343,203188791,203191329,203192262,203192622,203194175,203194796,203197660,203198739, 203186261,203186993,203188457,203188977,203191453,203192387,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 cmpl cmpl 1,0,0,0,2,0,2,2,1,1,0, 875 NM_003462 chr1 + 38022519 38032458 38022529 38030662 6 38022519,38023203,38024927,38027157,38027681,38030626, 38022676,38023349,38025097,38027336,38027846,38032458, 0 DNALI1 cmpl cmpl 0,0,2,1,0,0, 794 NM_003459 chr2 - 27477439 27485960 27478179 27485774 8 27477439,27479253,27479655,27480021,27480772,27481028,27481620,27485679, 27478328,27479388,27479761,27480220,27480926,27481175,27481802,27485960, 0 SLC30A3 cmpl cmpl 1,1,0,2,1,1,2,0, 9 NM_018968 chr2 + 946553 1371384 946682 1371246 17 946553,1079203,1093881,1094038,1133307,1133453,1161233,1168777,1204788,1241659,1243509,1251098,1263141,1271136,1312265,1320036,1371114, 946754,1079341,1093938,1094096,1133351,1133495,1161321,1168869,1204916,1241789,1243548,1251215,1263213,1271343,1312358,1320147,1371384, 0 SNTG2 cmpl cmpl 0,0,0,0,1,0,0,1,0,2,0,0,0,0,0,0,0, 826 NM_001199697 chr6 - 31606804 31620477 31606907 31619540 23 31606804,31607975,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610877,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620200, 31607003,31608083,31608481,31608715,31609005,31609199,31609369,31609722,31610077,31610892,31611751,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,1,0,0,1,1,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 1195 NM_005052 chr17 + 79989531 79992080 79989637 79991705 6 79989531,79990262,79990586,79990822,79991315,79991574, 79989672,79990334,79990704,79990885,79991475,79992080, 0 RAC3 cmpl cmpl 0,2,2,0,0,1, 734 NR_110504 chr14 - 19563121 19566680 19566680 19566680 2 19563121,19566285, 19564808,19566680, 0 LOC101929572 unk unk -1,-1, 918 NM_144626 chr1 + 43735664 43739673 43738393 43739053 4 43735664,43736351,43737854,43738248, 43735756,43736464,43738010,43739673, 0 TMEM125 cmpl cmpl -1,-1,-1,0, 877 NM_007359 chr17 + 38296506 38328431 38296801 38325874 14 38296506,38297459,38297822,38318005,38318254,38318977,38319733,38323049,38323750,38324102,38324455,38325576,38325850,38326699, 38297032,38297487,38297860,38318164,38318406,38319154,38320419,38323114,38323865,38324201,38324670,38325699,38325915,38328431, 0 CASC3 cmpl cmpl 0,0,1,0,0,2,2,1,0,1,1,0,0,-1, 1194 NM_006907 chr17 - 79890261 79895133 79891089 79894690 7 79890261,79892201,79892528,79892801,79893212,79893998,79894623, 79891252,79892365,79892621,79893023,79893392,79894069,79895133, 0 PYCR1 cmpl cmpl 2,0,0,0,0,1,0, 1458 NM_025181 chr2 - 114470368 114514400 114475351 114513986 16 114470368,114475329,114476730,114480680,114482954,114486977,114489160,114492162,114493353,114500268,114501289,114503853,114508001,114512741,114513030,114513946, 114472772,114475427,114476885,114480771,114483114,114487082,114489225,114492250,114493435,114500456,114501371,114503916,114508145,114512883,114513121,114514400, 0 SLC35F5 cmpl cmpl -1,2,0,2,1,1,2,1,0,1,0,0,0,2,1,0, 1348 NM_001194992 chr7 + 100026412 100031749 100029048 100031177 5 100026412,100028652,100030541,100030885,100031124, 100026528,100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl -1,0,0,0,1, 623 NM_001353 chr10 + 5005453 5020158 5005636 5019934 9 5005453,5008105,5009118,5010500,5011013,5014392,5014775,5018042,5019891, 5005720,5008273,5009235,5010578,5011136,5014502,5014941,5018125,5020158, 0 AKR1C1 cmpl cmpl 0,0,0,0,0,0,2,0,2, 858 NM_007026 chr17 + 35849950 35873588 35872374 35872971 3 35849950,35870778,35872282, 35850064,35870866,35873588, 0 DUSP14 cmpl cmpl -1,-1,0, 605 NM_006392 chr20 + 2633177 2639039 2633306 2638940 12 2633177,2633487,2633924,2635059,2635394,2635970,2636240,2636579,2637046,2637419,2637726,2638574, 2633309,2633577,2634039,2635221,2635593,2636158,2636392,2636680,2637195,2637541,2637864,2639039, 0 NOP56 cmpl cmpl 0,0,0,1,1,2,1,0,2,1,0,0, 1300 NM_001938 chr1 + 93811477 93828148 93812202 93826196 3 93811477,93819464,93826049, 93812422,93819628,93828148, 0 DR1 cmpl cmpl 0,1,0, 169 NM_001099686 chrX + 101502093 101581634 101562040 101581428 23 101502093,101503429,101561987,101571919,101572335,101572789,101572984,101573204,101573431,101573657,101573866,101574153,101575938,101576355,101576510,101576697,101576925,101577122,101577333,101577976,101578583,101581176,101581383, 101502232,101503551,101562083,101572109,101572486,101572873,101573089,101573285,101573501,101573746,101573974,101574263,101575975,101576424,101576566,101576805,101576984,101577238,101577376,101578049,101578766,101581237,101581634, 0 NXF2B cmpl cmpl -1,-1,0,1,2,0,0,0,0,1,0,0,2,0,0,2,2,1,0,1,2,2,0, 30 NM_001174061 chr1 + 183441505 183523328 183485073 183521066 22 183441505,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183516237,183518342,183518898,183519885,183520179,183520952, 183441784,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511637,183513632,183514447,183515472,183516387,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl -1,0,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,0,1,1,0, 1194 NM_001185078 chr17 - 79825596 79829282 79826751 79827806 6 79825596,79827048,79827205,79827417,79827616,79829173, 79826819,79827112,79827282,79827501,79827833,79829282, 0 ARHGDIA cmpl cmpl 1,0,1,1,0,-1, 887 NM_001017370 chr13 + 39612447 39624244 39612776 39622063 6 39612447,39613272,39613700,39618226,39621176,39621810, 39612860,39613425,39613848,39618318,39621289,39624244, 0 NHLRC3 cmpl cmpl 0,0,0,1,0,2, 949 NM_001127241 chr19 - 47724078 47736023 47725058 47735859 3 47724078,47729820,47735771, 47725175,47730011,47736023, 0 BBC3 cmpl cmpl 0,1,0, 1058 NR_073400 chr1 + 62119913 62121800 62121800 62121800 1 62119913, 62121800, 0 MGC34796 unk unk -1, 978 NM_005437 chr10 + 51572363 51590734 51579141 51589230 10 51572363,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51572492,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,0,0,2,0,0,0,0,0, 1433 NR_034154 chr11 - 111164113 111170539 111170539 111170539 2 111164113,111170318, 111169391,111170539, 0 COLCA1 unk unk -1,-1, 131 NR_033344 chr14 + 61447964 61550451 61550451 61550451 17 61447964,61449225,61451447,61482621,61486258,61497162,61503776,61504342,61509864,61510167,61512063,61512784,61517229,61518504,61518758,61545527,61550267, 61448409,61449356,61451521,61482674,61486298,61497241,61503859,61504401,61509930,61510221,61512143,61512885,61517354,61518649,61518853,61545645,61550451, 0 SLC38A6 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 892 NR_040059 chr15 + 40331511 40359710 40359710 40359710 4 40331511,40338161,40356661,40357421, 40331791,40338270,40356802,40359710, 0 SRP14-AS1 unk unk -1,-1,-1,-1, 699 NR_036144 chr16 + 15005076 15005170 15005170 15005170 1 15005076, 15005170, 0 MIR3180-3 unk unk -1, 710 NR_036144 chr16 + 16403731 16403825 16403825 16403825 1 16403731, 16403825, 0 MIR3180-3 unk unk -1, 726 NR_036144 chr16 - 18496034 18496128 18496128 18496128 1 18496034, 18496128, 0 MIR3180-3 unk unk -1, 1390 NR_024539 chr6 - 105605774 105624130 105624130 105624130 4 105605774,105607585,105609670,105624067, 105606626,105607694,105610035,105624130, 0 POPDC3 unk unk -1,-1,-1,-1, 1706 NR_033699 chrX + 146993468 147032647 147032647 147032647 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147019617,147022094,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147019680,147022181,147026571,147027136,147032647, 0 FMR1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 724 NM_001145195 chr10 + 18240767 18332221 18242205 18331762 13 18240767,18242119,18250509,18254411,18266830,18270240,18276407,18280079,18282109,18284584,18289595,18292099,18331633, 18240954,18242466,18250791,18254619,18267003,18270412,18276580,18280232,18282220,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,0,1,0,1,0,0,0,1,1,0, 789 NM_005517 chr1 + 26798901 26803133 26799103 26801639 6 26798901,26799973,26800193,26800575,26801062,26801603, 26799118,26800018,26800223,26800626,26801158,26803133, 0 HMGN2 cmpl cmpl 0,0,0,0,0,0, 1575 NM_012098 chr9 - 129849627 129885044 129851217 129871010 5 129849627,129853948,129856011,129870193,129884593, 129851417,129854219,129856205,129871059,129885044, 0 ANGPTL2 cmpl cmpl 1,0,1,0,-1, 882 NM_001195386 chr17 + 38975436 38992526 38990768 38991545 3 38975436,38989366,38990633, 38975531,38989451,38992526, 0 TMEM99 cmpl cmpl -1,-1,0, 859 NM_152404 chr5 - 35953190 35991535 35954303 35991342 7 35953190,35955746,35957289,35965487,35968120,35988551,35991248, 35954580,35955966,35957521,35966019,35968235,35988653,35991535, 0 UGT3A1 cmpl cmpl 2,1,0,2,1,1,0, 1508 NM_002881 chr2 + 121010413 121052286 121036240 121050836 5 121010413,121036193,121043449,121047155,121050716, 121010556,121036354,121043658,121047333,121052286, 0 RALB cmpl cmpl -1,0,0,2,0, 907 NM_005662 chr8 + 42249278 42263455 42251729 42262980 10 42249278,42251362,42251727,42252601,42256229,42257168,42259305,42260828,42262384,42262888, 42249446,42251402,42251796,42252651,42256382,42257221,42259533,42260979,42262442,42263455, 0 VDAC3 cmpl cmpl -1,-1,0,1,0,0,2,2,0,1, 29 NM_022763 chr3 + 171757417 172118492 171830269 172115265 26 171757417,171830241,171851260,171944660,171965322,171969049,172003715,172013152,172016517,172025152,172028617,172046741,172048330,172050878,172052733,172055119,172058902,172060800,172061875,172064116,172065001,172070592,172080422,172096059,172098755,172114953, 171757561,171830380,171851336,171944737,171965566,171969331,172003774,172013304,172016577,172025291,172028671,172046866,172048505,172050965,172052872,172055191,172059021,172060906,172062048,172064230,172065151,172070873,172080635,172096226,172098883,172118492, 0 FNDC3B cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 271 NM_175710 chr1 + 207818457 207897036 207818578 207897030 12 207818457,207850733,207851542,207857216,207867697,207870847,207871115,207872533,207874863,207881522,207890808,207896962, 207818675,207850913,207851642,207857302,207868096,207871024,207871218,207872619,207874963,207881608,207891036,207897036, 0 CR1L cmpl cmpl 0,1,1,2,1,1,1,2,1,2,1,1, 862 NM_001195416 chr13 - 36342788 36429998 36348671 36429665 13 36342788,36367502,36379835,36382360,36383154,36384971,36396865,36401771,36402386,36410169,36413228,36428635,36429646, 36348836,36367616,36379916,36382457,36383232,36385105,36397012,36401891,36402444,36410278,36413313,36428730,36429998, 0 DCLK1 cmpl cmpl 0,0,0,2,2,0,0,0,2,1,0,1,0, 190 NR_073555 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169524,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123222945,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 128 NM_001206920 chr14 - 58030639 58332592 58030852 58332543 8 58030639,58033192,58036505,58038611,58047931,58055933,58060656,58332440, 58031094,58033282,58036698,58038737,58048151,58056228,58060842,58332592, 0 SLC35F4 cmpl cmpl 1,1,0,0,2,1,1,0, 1016 NM_032786 chr12 + 56512029 56516278 56514346 56515651 3 56512029,56512871,56514294, 56512102,56512935,56516278, 0 ZC3H10 cmpl cmpl -1,-1,0, 633 NR_003592 chrY + 6317508 6325947 6325947 6325947 6 6317508,6318486,6320955,6321718,6324112,6325701, 6317545,6318648,6321030,6322195,6324226,6325947, 0 TTTY7B unk unk -1,-1,-1,-1,-1,-1, 989 NM_005486 chr17 + 52978051 53039328 52978226 53037987 16 52978051,52981068,52982849,52990026,52991108,52991999,52993106,53007433,53014009,53014469,53016284,53024621,53026878,53027405,53037926,53038595, 52978284,52981153,52982928,52990176,52991234,52992104,52993223,53007567,53014070,53014587,53016381,53024673,53026984,53027487,53037988,53039328, 0 TOM1L1 cmpl cmpl 0,1,2,0,0,0,0,0,2,0,1,2,0,1,2,-1, 1379 NM_001270966 chr10 - 104162373 104179484 104162956 104173941 18 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104170614,104170814,104171463,104171903,104172137,104173525,104174619,104175773,104176141,104178457,104179412, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104170704,104170873,104171576,104171984,104172332,104173954,104174986,104175876,104176388,104178516,104179484, 0 PSD cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,0,-1,-1,-1,-1,-1, 123 NM_175078 chr12 - 53083410 53097247 53084948 53097218 9 53083410,53085721,53086204,53086538,53088409,53089555,53090153,53091465,53096675, 53085223,53085756,53086425,53086664,53088574,53089651,53090214,53091680,53097247, 0 KRT77 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1999 NR_027317 chr3 + 185431039 185435955 185435955 185435955 2 185431039,185434228, 185431276,185435955, 0 C3orf65 unk unk -1,-1, 1607 NM_001185096 chr9 + 133971862 133998539 133972016 133995636 6 133971862,133972188,133986983,133989963,133993142,133995621, 133972047,133972250,133987050,133990005,133993234,133998539, 0 AIF1L cmpl cmpl 0,1,0,1,1,0, 885 NM_001270406 chr22 + 39353526 39359188 39353696 39358514 5 39353526,39355600,39357391,39358102,39358499, 39353725,39355691,39357686,39358218,39359188, 0 APOBEC3A cmpl cmpl 0,2,0,1,0, 918 NM_001001935 chr18 - 43664109 43678319 43664247 43671806 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43674945,43678137, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,0,-1,-1, 79 NM_001257326 chr11 - 6416353 6426647 6416763 6424996 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6426362, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426647, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,0,-1, 647 NM_001177802 chr17 + 8191968 8193409 8192106 8192879 3 8191968,8192273,8192575, 8192183,8192390,8193409, 0 RANGRF cmpl cmpl 0,2,2, 600 NM_144603 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030656,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030729,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 1096 NR_036060 chr1 + 67094122 67094200 67094200 67094200 1 67094122, 67094200, 0 MIR3117 unk unk -1, 763 NR_036057 chr1 + 23370797 23370865 23370865 23370865 1 23370797, 23370865, 0 MIR3115 unk unk -1, 1654 NM_001184988 chr4 - 140211070 140223705 140213703 140216952 6 140211070,140213683,140216196,140216885,140217485,140223569, 140211246,140213763,140216300,140217114,140217521,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1,-1, 956 NM_001193475 chr2 + 48667907 48742531 48668092 48741883 20 48667907,48678146,48681733,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48725631,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48725874,48734524,48737252,48738607,48742531, 0 PPP1R21 cmpl cmpl 0,0,0,0,0,0,2,1,0,0,0,2,1,1,0,0,0,0,0,0, 830 NM_001204103 chr6 + 32121775 32131458 32122371 32130727 9 32121775,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32130583, 32122171,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32131458, 0 PPT2 cmpl cmpl -1,0,0,1,1,1,1,2,0, 2042 NM_001164467 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L3 cmpl cmpl 0, 110 NM_001171174 chr3 - 39304984 39323226 39306932 39323186 2 39304984,39323099, 39308009,39323226, 0 CX3CR1 cmpl cmpl 0,0, 110 NM_001171172 chr3 - 39304984 39321930 39306932 39308000 2 39304984,39321739, 39308009,39321930, 0 CX3CR1 cmpl cmpl 0,-1, 110 NM_001171171 chr3 - 39304984 39322764 39306932 39308000 2 39304984,39322533, 39308009,39322764, 0 CX3CR1 cmpl cmpl 0,-1, 115 NM_016598 chr3 - 44956752 45017674 44968180 45000928 8 44956752,44970797,44974398,44974609,44975379,44986659,45000622,45017424, 44968339,44970928,44974482,44974691,44975476,44986784,45000952,45017674, 0 ZDHHC3 cmpl cmpl 0,1,1,0,2,0,0,-1, 91 NM_005315 chr22 - 19136503 19137796 19136503 19137796 3 19136503,19137175,19137537, 19136608,19137429,19137796, 0 GSC2 cmpl cmpl 0,1,0, 1149 NM_030568 chr6 - 73951037 73972907 73951251 73952240 4 73951037,73951777,73952128,73972496, 73951451,73951960,73952253,73972907, 0 KHDC1 cmpl cmpl 1,1,0,-1, 0 NM_020299 chr7 + 134212343 134226166 134212663 134225841 10 134212343,134215394,134216659,134217755,134221401,134221802,134222331,134222945,134223686,134225798, 134212729,134215562,134216776,134217833,134221524,134221909,134222413,134223029,134223769,134226166, 0 AKR1B10 cmpl cmpl 0,0,0,0,0,0,2,0,0,2, 167 NM_020429 chr7 - 98625057 98741743 98628206 98741403 19 98625057,98630659,98633137,98634689,98636010,98638000,98639740,98643320,98645306,98647185,98648537,98648979,98649827,98652412,98654827,98655040,98658221,98659421,98741348, 98628306,98630744,98633339,98634810,98636148,98638179,98639855,98643424,98645505,98647332,98648615,98649064,98650069,98652488,98654893,98655174,98658330,98659460,98741743, 0 SMURF1 cmpl cmpl 2,1,0,2,2,0,2,0,2,2,2,1,2,1,1,2,1,1,0, 82 NM_020248 chr1 - 9908333 9970316 9910775 9932122 6 9908333,9931244,9932026,9937962,9943762,9970152, 9910834,9931335,9932146,9938047,9943796,9970316, 0 CTNNBIP1 cmpl cmpl 1,0,0,-1,-1,-1, 1130 NM_203350 chr1 - 71528973 71546972 71530756 71546678 10 71528973,71532458,71534958,71536509,71537803,71538154,71542477,71544139,71544338,71546622, 71530820,71532617,71535045,71536679,71537938,71538231,71542560,71544248,71544391,71546972, 0 ZRANB2 cmpl cmpl 2,2,2,0,0,1,2,1,2,0, 770 NR_003603 chr19 - 24344994 24346249 24346249 24346249 1 24344994, 24346249, 0 HAVCR1P1 unk unk -1, 1767 NM_001256455 chr1 + 154975105 154991001 154987136 154989161 3 154975105,154987130,154988695, 154975419,154988290,154991001, 0 ZBTB7B cmpl cmpl -1,0,2, 828 NM_005510 chr6 - 31937587 31940032 31937653 31939452 7 31937587,31937885,31938119,31938382,31938688,31939096,31939705, 31937801,31937980,31938255,31938602,31938924,31939458,31940032, 0 DXO cmpl cmpl 2,0,2,1,2,0,-1, 630 NM_012416 chr9 - 6011018 6015640 6012289 6015607 1 6011018, 6015640, 0 RANBP6 cmpl cmpl 0, 830 NM_004557 chr6 - 32162619 32191844 32163213 32191705 30 32162619,32164100,32164701,32165075,32166197,32166425,32166702,32168607,32168893,32169852,32171546,32171913,32178528,32180250,32180600,32180911,32181464,32181886,32183002,32184721,32184929,32185771,32187368,32187905,32188181,32188532,32188754,32190287,32190781,32191632, 32163927,32164198,32164849,32165371,32166336,32166507,32166922,32168783,32169277,32170376,32171659,32172166,32178713,32180404,32180688,32181029,32181617,32182032,32183162,32184844,32185043,32185885,32187563,32188061,32188418,32188655,32189102,32190583,32190863,32191844, 0 NOTCH4 cmpl cmpl 0,1,0,1,0,2,1,2,2,0,1,0,1,0,2,1,1,2,1,1,1,1,1,1,1,1,1,2,1,0, 895 NM_002225 chr15 + 40697685 40713512 40698019 40710462 12 40697685,40699836,40700137,40702826,40703458,40703753,40705189,40707087,40707599,40708276,40708488,40710328, 40698172,40699926,40700189,40702996,40703552,40703890,40705286,40707181,40707681,40708381,40708561,40713512, 0 IVD cmpl cmpl 0,0,0,1,0,1,0,1,2,0,0,1, 1256 NM_001032392 chr2 + 88047609 88058994 88047672 88053152 4 88047609,88051765,88053046,88056338, 88047721,88051901,88053153,88058994, 0 PLGLB1 cmpl cmpl 0,1,2,-1, 1 NM_001032391 chr16 + 25123046 25189551 25123204 25189344 9 25123046,25139795,25143722,25151491,25175918,25180432,25182034,25186257,25189321, 25123317,25139887,25143844,25151568,25176039,25180534,25182126,25186355,25189551, 0 LCMT1 cmpl cmpl 0,2,1,0,2,0,0,2,1, 1364 NM_001165 chr11 + 102188180 102210135 102195240 102207833 9 102188180,102192567,102196196,102198782,102199627,102201729,102206696,102207490,102207639, 102188302,102196093,102196296,102198861,102199676,102201972,102206951,102207532,102210135, 0 BIRC3 cmpl cmpl -1,0,1,2,0,1,1,1,1, 79 NM_001164 chr11 - 6416353 6440341 6416763 6432577 14 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6431856,6440214, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6432591,6440341, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,1,0,-1, 823 NM_002117 chr6 - 31236525 31239913 31236945 31239848 8 31236525,31237114,31237269,31237742,31237986,31238849,31239375,31239775, 31236950,31237162,31237302,31237862,31238262,31239125,31239645,31239913, 0 HLA-C cmpl cmpl 1,1,1,1,1,1,1,0, 36 NM_001284214 chr2 - 230628552 230786725 230632269 230744795 42 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230705537,230723487,230725121,230744697,230786595, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670518,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695555,230701700,230705643,230724290,230725247,230744844,230786725, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,1,2,2,0,-1, 1574 NM_001282191 chr7 - 129658125 129691291 129658503 129691206 9 129658125,129662158,129664102,129665997,129668741,129679303,129680790,129688872,129691060, 129658572,129662365,129664346,129666152,129668869,129679387,129680941,129688984,129691291, 0 ZC3HC1 cmpl cmpl 0,0,2,0,1,1,0,2,0, 112 NM_144732 chr19 + 41768390 41813811 41774132 41812470 15 41768390,41774127,41777986,41779886,41782063,41784981,41787067,41798149,41800242,41800462,41807440,41808569,41809876,41811580,41812353, 41768487,41774250,41778140,41779960,41782203,41785081,41787180,41798416,41800365,41800591,41807609,41808854,41810166,41811772,41813811, 0 HNRNPUL1 cmpl cmpl -1,0,1,2,1,0,1,0,0,0,0,1,1,0,0, 635 NM_024067 chr7 + 6629914 6648355 6629914 6647792 6 6629914,6631276,6634065,6639459,6641731,6647590, 6630106,6631498,6634231,6639987,6641771,6648355, 0 C7orf26 cmpl cmpl 0,0,0,1,1,2, 949 NM_017452 chr20 - 47729875 47804904 47731414 47770570 13 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47790731,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47790806,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1,-1, 13 NM_022758 chr6 - 34555056 34664627 34558341 34664380 4 34555056,34574331,34622401,34664222, 34558377,34574681,34622556,34664627, 0 C6orf106 cmpl cmpl 0,1,2,0, 1737 NM_176894 chr3 - 151044095 151047337 151045778 151047316 2 151044095,151047268, 151046795,151047337, 0 P2RY13 cmpl cmpl 0,0, 952 NM_015401 chr12 - 48176506 48213763 48177623 48213568 26 48176506,48177861,48179169,48179534,48180367,48181494,48181827,48183043,48183305,48183595,48185041,48185368,48185653,48187151,48188542,48188966,48189369,48189688,48189989,48190799,48191166,48191890,48192344,48192567,48196006,48213549, 48177669,48178000,48179254,48179668,48180486,48181592,48181947,48183131,48183361,48183703,48185091,48185489,48185787,48187371,48188716,48189163,48189550,48189799,48190081,48190925,48191282,48192002,48192435,48192755,48196057,48213763, 0 HDAC7 cmpl cmpl 2,1,0,1,2,0,0,2,0,0,1,0,1,0,0,1,0,0,1,1,2,1,0,1,1,0, 249 NM_001025266 chr3 - 184795837 184870802 184800794 184870611 2 184795837,184870415, 184801351,184870802, 0 C3orf70 cmpl cmpl 1,0, 144 NM_001058 chr2 - 75273589 75426645 75276558 75426060 5 75273589,75278377,75280731,75347699,75425671, 75276850,75278574,75280882,75347894,75426645, 0 TACR1 cmpl cmpl 2,0,2,2,0, 289 NM_002221 chr1 - 226819390 226926876 226822371 226925159 8 226819390,226825379,226827257,226829621,226834867,226836372,226923227,226926741, 226822587,226825451,226827359,226829826,226835081,226836472,226925364,226926876, 0 ITPKB cmpl cmpl 0,0,0,2,1,0,0,-1, 949 NM_001630 chr10 + 47746919 47763040 47747111 47762187 12 47746919,47751144,47752404,47753837,47754714,47755464,47756032,47756638,47756971,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47754805,47755544,47756092,47756732,47757067,47758904,47759772,47763040, 0 ANXA8L2 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 826 NM_004638 chr6 + 31588449 31605554 31590566 31605363 31 31588449,31590466,31591508,31592037,31592226,31592947,31593236,31593568,31593796,31594548,31594758,31595541,31596920,31597324,31598367,31598915,31601155,31601635,31602012,31602248,31602529,31602908,31603170,31603358,31603743,31603985,31604286,31604509,31604818,31605010,31605222, 31588635,31590678,31591686,31592137,31592299,31593091,31593388,31593648,31593939,31594639,31594975,31596016,31597111,31597622,31598578,31600769,31601424,31601766,31602142,31602334,31602754,31603049,31603242,31603526,31603826,31604196,31604385,31604722,31604913,31605101,31605554, 0 PRRC2A cmpl cmpl -1,0,1,2,0,1,1,0,2,1,2,0,1,0,1,2,2,1,0,1,0,0,0,0,0,2,0,0,0,2,0, 971 NM_001171743 chr3 - 50595455 50605223 50597087 50603130 5 50595455,50598347,50599152,50602956,50604893, 50597168,50598495,50599178,50603131,50605223, 0 C3orf18 cmpl cmpl 0,2,0,0,-1, 971 NM_001171741 chr3 - 50595455 50608458 50597087 50603130 5 50595455,50598347,50599152,50602896,50608333, 50597168,50598495,50599178,50603292,50608458, 0 C3orf18 cmpl cmpl 0,2,0,0,-1, 890 NM_001135654 chr1 - 40026484 40042521 40027369 40041623 15 40026484,40027356,40027744,40027994,40029285,40030094,40030357,40030777,40033422,40034473,40035266,40035534,40036905,40038064,40041430, 40026794,40027459,40027875,40028088,40029413,40030214,40030445,40031050,40033518,40034611,40035361,40035674,40037021,40038258,40042521, 0 PABPC4 cmpl cmpl -1,0,1,0,1,1,0,0,0,0,1,2,0,1,0, 85 NM_020844 chr8 + 12803182 12887284 12863711 12879553 5 12803182,12848342,12863710,12870192,12878516, 12803475,12848540,12863865,12870366,12887284, 0 KIAA1456 cmpl cmpl -1,-1,0,1,1, 1729 NM_013400 chr7 + 150065878 150071133 150068330 150070034 4 150065878,150066759,150067848,150068316, 150066030,150066957,150067973,150071133, 0 REPIN1 cmpl cmpl -1,-1,-1,0, 176 NM_001199859 chr8 - 108261709 108510254 108264082 108509786 9 108261709,108276448,108296909,108306163,108315467,108334126,108348377,108359169,108509489, 108264243,108276579,108297076,108306265,108315595,108334356,108348499,108359325,108510254, 0 ANGPT1 cmpl cmpl 1,2,0,0,1,2,0,0,0, 156 NM_004194 chr7 + 87563565 87811428 87563780 87811343 29 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87808249,87810819,87811272, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87808357,87810920,87811428, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,2,1, 702 NM_001039697 chr9 + 15422781 15461627 15422877 15459864 9 15422781,15423906,15433549,15444599,15447092,15451317,15453038,15457957,15459716, 15423191,15423984,15433634,15444704,15447242,15451400,15453203,15458065,15461627, 0 SNAPC3 cmpl cmpl 0,2,2,0,0,0,2,2,2, 861 NM_001184760 chr9 + 36190852 36212059 36191053 36211771 6 36190852,36197547,36198975,36204064,36210621,36211599, 36191270,36197585,36199093,36204176,36210657,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2,2, 133 NM_178221 chr1 + 63249776 63330941 63269457 63329830 11 63249776,63269389,63270842,63282245,63284675,63286809,63294710,63299708,63300446,63307098,63329662, 63249896,63269533,63270926,63282479,63285006,63286880,63294847,63299787,63300523,63307218,63330941, 0 ATG4C cmpl cmpl -1,0,1,1,1,2,1,0,1,0,0, 1547 NR_103789 chr3 - 126111874 126113641 126113641 126113641 2 126111874,126113141, 126112136,126113641, 0 CCDC37-AS1 unk unk -1,-1, 1547 NR_103788 chr3 - 126111874 126113641 126113641 126113641 3 126111874,126112325,126113141, 126112136,126112377,126113641, 0 CCDC37-AS1 unk unk -1,-1,-1, 153 NR_073578 chr16 + 84733554 84813527 84813527 84813527 11 84733554,84767040,84778238,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84767109,84779279,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 153 NR_073577 chr16 + 84733554 84813527 84813527 84813527 12 84733554,84767040,84792321,84792968,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84767109,84792413,84793078,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 190 NR_073558 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334254,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 832 NM_002125 chr6 - 32485153 32498006 32485515 32498001 6 32485153,32485830,32486332,32487146,32489681,32497901, 32485529,32485854,32486443,32487428,32489951,32498006, 0 HLA-DRB5 cmpl cmpl 1,1,1,1,1,0, 833 NM_002124 chr6 - 32546546 32557613 32546867 32557519 6 32546546,32548023,32548522,32549333,32551885,32557419, 32546881,32548047,32548633,32549615,32552155,32557613, 0 HLA-DRB1 cmpl cmpl 1,1,1,1,1,0, 952 NM_002611 chr17 + 48172638 48188733 48172799 48187461 11 48172638,48174786,48182734,48183248,48184157,48184439,48185519,48185682,48185975,48186650,48187320, 48172917,48174928,48182806,48183433,48184247,48184517,48185596,48185781,48186083,48186764,48188733, 0 PDK2 cmpl cmpl 0,1,2,2,1,1,1,0,0,0,0, 21 NM_001100874 chr4 - 103806204 103940896 103806389 103912868 12 103806204,103826670,103827692,103831595,103832587,103853280,103866349,103867803,103870413,103910956,103912799,103940755, 103806485,103826807,103827801,103831745,103832694,103853456,103866477,103867946,103870584,103911098,103912869,103940896, 0 SLC9B1 cmpl cmpl 0,1,0,0,1,2,0,1,1,0,0,-1, 1540 NM_001013628 chrX - 125297481 125300080 125298515 125299907 1 125297481, 125300080, 0 DCAF12L2 cmpl cmpl 0, 213 NM_001097616 chr1 + 147425566 147465755 147425566 147465149 9 147425566,147426553,147438785,147441106,147442098,147458430,147460663,147464733,147464942, 147425697,147426634,147438895,147441195,147442191,147458526,147460753,147464799,147465755, 0 GPR89C cmpl cmpl 0,2,2,1,0,0,0,0,0, 2478 NM_001258284 chr1 + 248185249 248186188 248185249 248186188 1 248185249, 248186188, 0 OR2L5 cmpl cmpl 0, 122 NM_052978 chr14 - 51462784 51562422 51464717 51561657 7 51462784,51467400,51475797,51477101,51489552,51491982,51560835, 51464906,51467558,51475951,51477212,51489675,51492078,51562422, 0 TRIM9 cmpl cmpl 0,1,0,0,0,0,0, 1587 NM_006325 chr12 + 131356616 131360826 131357138 131360471 7 131356616,131357128,131357380,131357547,131359090,131360156,131360426, 131356671,131357174,131357465,131357673,131359278,131360327,131360826, 0 RAN cmpl cmpl -1,0,0,1,1,0,0, 161 NM_152313 chr11 - 92877336 92931141 92881702 92930998 11 92877336,92887273,92895871,92899083,92901109,92913962,92914856,92915971,92917595,92918856,92930943, 92882010,92887443,92896041,92899182,92901337,92914047,92914952,92916060,92917686,92918980,92931141, 0 SLC36A4 cmpl cmpl 1,2,0,0,0,2,2,0,2,1,0, 1689 NM_001100598 chr8 + 144766621 144777555 144772278 144776700 6 144766621,144771373,144772226,144773242,144773769,144775840, 144766712,144771471,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,0,0,1,1, 102 NM_033382 chr22 + 30792929 30812964 30793105 30812490 11 30792929,30795631,30802330,30803083,30803403,30805175,30805414,30806584,30811747,30811936,30812222, 30793159,30795707,30802374,30803143,30803592,30805271,30805475,30806668,30811854,30812076,30812964, 0 SEC14L2 cmpl cmpl 0,0,1,0,0,0,0,1,1,0,2, 1583 NM_025072 chr9 - 130882971 130890741 130883423 130889996 7 130882971,130884640,130885212,130885980,130886770,130887522,130889717, 130883552,130884758,130885413,130886130,130886829,130887720,130890741, 0 PTGES2 cmpl cmpl 0,2,2,2,0,0,0, 824 NR_002812 chr6 + 31439005 31440185 31440185 31440185 1 31439005, 31440185, 0 HCG26 unk unk -1, 986 NM_005556 chr12 + 52626953 52642709 52627080 52642544 9 52626953,52628938,52631292,52632463,52635255,52636795,52639195,52641960,52642374, 52627404,52629150,52631353,52632559,52635420,52636921,52639416,52641995,52642709, 0 KRT7 cmpl cmpl 0,0,2,0,0,0,0,2,1, 748 NM_014579 chr14 + 21467413 21470034 21467605 21469738 4 21467413,21467900,21468274,21469105, 21467720,21468031,21468325,21470034, 0 SLC39A2 cmpl cmpl 0,1,0,0, 597 NM_000934 chr17 + 1646129 1658559 1648289 1657828 10 1646129,1648285,1648468,1648626,1649001,1650312,1650602,1651891,1655879,1657415, 1646202,1648352,1648507,1648689,1649203,1650456,1650806,1652034,1656084,1658559, 0 SERPINF2 cmpl cmpl -1,0,0,0,0,1,1,1,0,1, 979 NM_015832 chr18 - 51729049 51751158 51729265 51750929 3 51729049,51731367,51750387, 51729472,51731527,51751158, 0 MBD2 cmpl cmpl 0,2,0, 1418 NM_001161331 chr12 - 109185694 109221327 109185875 109221181 13 109185694,109192775,109194555,109196097,109198831,109200076,109201408,109203468,109205035,109210813,109212024,109217033,109221038, 109186605,109192976,109194702,109196144,109198960,109200170,109201603,109203534,109205104,109210935,109212089,109217137,109221327, 0 SSH1 cmpl cmpl 2,2,2,0,0,2,2,2,2,0,1,2,0, 1776 NM_001193300 chr1 + 156123321 156147542 156124369 156146788 15 156123321,156124340,156126204,156127860,156128178,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156123546,156124508,156126365,156127923,156128277,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,1,0,0,0,1,1,0,2,0,1,0,2,1, 1471 NM_001172897 chr7 + 116166411 116201239 116166641 116199341 3 116166411,116166578,116198999, 116166442,116166743,116201239, 0 CAV1 cmpl cmpl -1,0,0, 794 NM_001172304 chr10 + 27443752 27475848 27444355 27475465 11 27443752,27447477,27448547,27450022,27453992,27454317,27456030,27458872,27462049,27470408,27475307, 27444541,27447615,27448687,27450111,27454099,27454468,27456203,27460012,27462188,27470510,27475848, 0 MASTL cmpl cmpl 0,0,0,2,1,0,1,0,0,1,1, 159 NR_027435 chr5 + 90676163 90716532 90716532 90716532 3 90676163,90714525,90714671, 90676741,90714588,90716532, 0 ARRDC3-AS1 unk unk -1,-1,-1, 1739 NM_000449 chr1 - 151313115 151319769 151314661 151318796 11 151313115,151315817,151316156,151316672,151316892,151317203,151317581,151318403,151318680,151318957,151319686, 151315654,151315918,151316358,151316754,151317012,151317323,151317664,151318437,151318809,151319082,151319769, 0 RFX5 cmpl cmpl 0,1,0,2,2,2,0,2,0,-1,-1, 1083 NM_001130144 chr11 - 65306029 65325699 65306550 65325430 28 65306029,65306798,65307018,65307190,65307483,65307715,65307956,65308341,65308596,65309070,65310575,65310897,65313912,65314268,65314909,65315160,65315390,65318596,65318872,65319018,65319442,65319718,65320330,65320634,65320895,65321171,65321521,65325099, 65306702,65306930,65307099,65307352,65307624,65307853,65308085,65308425,65308764,65309199,65310695,65311020,65314035,65314391,65315038,65315292,65315516,65318695,65318945,65319035,65319628,65319877,65320453,65320727,65321001,65321374,65321851,65325699, 0 LTBP3 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0, 920 NR_024560 chr17 + 43973148 43976164 43976164 43976164 1 43973148, 43976164, 0 MAPT-IT1 unk unk -1, 920 NR_024559 chr17 - 43920721 43972879 43972879 43972879 2 43920721,43972845, 43921527,43972879, 0 MAPT-AS1 unk unk -1,-1, 1507 NR_027141 chr10 + 120863628 120897376 120897376 120897376 9 120863628,120867479,120871360,120877030,120879852,120882980,120889026,120892026,120895982, 120863709,120867676,120871440,120877179,120879964,120883081,120889134,120892121,120897376, 0 FAM45B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 196 NR_027141 chrX + 129628914 129631421 129631421 129631421 1 129628914, 129631421, 0 FAM45B unk unk -1, 144 NM_022492 chr2 + 74710199 74721691 74710222 74720345 13 74710199,74710448,74717151,74717370,74717782,74718254,74718421,74718607,74719130,74719265,74719430,74719772,74720048, 74710262,74710537,74717254,74717600,74717866,74718311,74718502,74718799,74719182,74719356,74719572,74719874,74721691, 0 TTC31 cmpl cmpl 0,1,0,1,0,0,0,0,0,1,2,0,0, 1926 NM_020444 chr5 - 175773063 175788810 175774602 175786511 9 175773063,175774923,175775252,175777615,175779624,175782573,175786483,175786813,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175786570,175786921,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,1,0,-1,-1, 663 NM_003755 chr19 - 10225689 10230599 10225789 10230535 11 10225689,10226154,10226359,10226642,10227475,10227759,10229343,10229543,10229763,10230329,10230515, 10225805,10226261,10226496,10226750,10227665,10227864,10229403,10229632,10229847,10230376,10230599, 0 EIF3G cmpl cmpl 2,0,1,1,0,0,0,1,1,2,0, 949 NM_017454 chr20 - 47729875 47804904 47731414 47770570 12 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1, 2371 NM_017974 chr2 + 234160216 234204320 234160473 234202996 17 234160216,234164747,234171775,234172637,234173537,234178647,234181611,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234171881,234172711,234173789,234178713,234181698,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl 0,1,2,0,2,2,2,2,0,1,0,0,1,2,2,2,2, 1737 NM_198285 chr7 - 151078206 151107124 151078667 151106675 6 151078206,151078963,151082173,151092861,151097185,151106512, 151078832,151079067,151082309,151093282,151097327,151107124, 0 WDR86 cmpl cmpl 0,1,0,2,1,0, 1112 NM_182536 chr2 - 69172363 69180102 69172499 69179993 6 69172363,69173435,69174278,69177257,69177833,69179981, 69172582,69173592,69174389,69177395,69177887,69180102, 0 GKN2 cmpl cmpl 1,0,0,0,0,0, 1737 NR_034013 chr7 + 151106246 151110132 151110132 151110132 4 151106246,151108755,151109052,151109804, 151106468,151108878,151109156,151110132, 0 WDR86-AS1 unk unk -1,-1,-1,-1, 1737 NR_034012 chr7 + 151106246 151110132 151110132 151110132 5 151106246,151108313,151108755,151109052,151109804, 151106468,151108398,151108878,151109156,151110132, 0 WDR86-AS1 unk unk -1,-1,-1,-1,-1, 1781 NR_034008 chr3 + 156807669 156818924 156818924 156818924 3 156807669,156817271,156818474, 156807911,156817370,156818924, 0 LINC00881 unk unk -1,-1,-1, 765 NM_001102398 chr1 - 23636275 23670853 23636946 23667501 11 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23667344,23670703, 23637559,23637815,23640195,23645190,23648156,23650225,23660124,23664354,23665101,23667510,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,1,0,-1, 595 NM_172245 chrY + 1337692 1378828 1351596 1378372 13 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1343711,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 115 NM_001135179 chr3 - 44956752 45017674 44968180 45000928 7 44956752,44970797,44974609,44975379,44986659,45000622,45017424, 44968339,44970928,44974691,44975476,44986784,45000952,45017674, 0 ZDHHC3 cmpl cmpl 0,1,0,2,0,0,-1, 1183 NM_001201397 chr13 - 78469615 78493903 78472334 78493750 8 78469615,78473993,78474655,78475192,78477290,78477629,78492225,78493531, 78472469,78474102,78474789,78475342,78477495,78477742,78492759,78493903, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0,0, 1087 NM_001199687 chrX - 65815481 65859140 65819325 65835862 7 65815481,65819315,65822474,65824262,65824889,65835775,65859042, 65817935,65819702,65822639,65824348,65825068,65835872,65859140, 0 EDA2R cmpl cmpl -1,1,1,2,0,0,-1, 103 NM_016408 chr20 - 31946644 31989375 31946848 31984870 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984890,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,0,-1, 746 NM_002756 chr17 + 21191347 21218551 21201762 21217542 12 21191347,21201724,21202189,21203856,21204185,21205454,21206494,21207737,21208362,21215453,21216803,21217458, 21191403,21201791,21202238,21203970,21204305,21205571,21206546,21207865,21208440,21215593,21216849,21218551, 0 MAP2K3 cmpl cmpl -1,0,2,0,0,0,0,1,0,0,2,0, 980 NM_001272061 chrX - 51804922 51812368 51805124 51811268 14 51804922,51805329,51806082,51806798,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51806846,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811320,51812368, 0 MAGED4 cmpl cmpl 2,0,2,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_001272061 chrX + 51927918 51935366 51929018 51935162 14 51927918,51928966,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51933440,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51933488,51934204,51934957,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,2,0,2, 854 NM_001164824 chr1 - 35315962 35324646 35321299 35321578 3 35315962,35322156,35324440, 35321583,35322340,35324646, 0 SMIM12 cmpl cmpl 0,-1,-1, 132 NM_138363 chr17 + 62503157 62534062 62503215 62533897 20 62503157,62504709,62506290,62510365,62512840,62515438,62517519,62518819,62521887,62522188,62523228,62525405,62527043,62528007,62528956,62529234,62530702,62532719,62533158,62533720, 62503234,62504838,62506398,62510476,62512946,62515554,62517645,62519013,62522000,62522318,62523382,62525545,62527136,62528140,62529126,62529309,62530855,62532866,62533230,62534062, 0 CEP95 cmpl cmpl 0,1,1,1,1,2,1,1,0,2,0,1,0,0,1,0,0,0,0,0, 811 NR_026972 chr6 - 29694377 29716826 29716826 29716826 6 29694377,29696141,29705742,29706327,29714924,29716676, 29694916,29696272,29706213,29706663,29715202,29716826, 0 HLA-F-AS1 unk unk -1,-1,-1,-1,-1,-1, 11 NR_027791 chr21 + 17566698 17982094 17982094 17982094 6 17566698,17603375,17763933,17859809,17909698,17979313, 17566953,17603435,17764005,17859858,17909759,17982094, 0 LINC00478 unk unk -1,-1,-1,-1,-1,-1, 749 NR_027130 chr19 + 21541734 21571384 21571384 21571384 5 21541734,21544567,21558039,21558670,21560190, 21541945,21544660,21558166,21558766,21571384, 0 ZNF738 unk unk -1,-1,-1,-1,-1, 1753 NM_002910 chrX - 153200721 153210232 153200738 153210062 11 153200721,153200941,153205554,153206930,153207402,153208306,153208997,153209346,153209531,153209760,153210035, 153200857,153201029,153205686,153207106,153207484,153208531,153209170,153209422,153209607,153209870,153210232, 0 RENBP cmpl cmpl 1,0,0,1,0,0,1,0,2,0,0, 84 NM_003010 chr17 + 11924134 12047148 11924203 12044577 11 11924134,11958205,11984672,11998891,12011106,12013691,12016549,12028610,12032455,12043155,12044463, 11924318,11958308,11984847,11999011,12011226,12013743,12016677,12028688,12032604,12043201,12047148, 0 MAP2K4 cmpl cmpl 0,1,2,0,0,0,1,0,0,2,0, 1727 NM_003548 chr1 + 149804220 149804616 149804248 149804560 1 149804220, 149804616, 0 HIST2H4A cmpl cmpl 0, 1728 NM_003548 chr1 - 149832329 149832725 149832385 149832697 1 149832329, 149832725, 0 HIST2H4A cmpl cmpl 0, 17 NM_004392 chr13 - 72012097 72441330 72014786 72440907 7 72012097,72049272,72049837,72053300,72063128,72255926,72440053, 72014824,72049341,72049981,72053448,72063280,72256042,72441330, 0 DACH1 cmpl cmpl 1,1,1,0,1,2,0, 211 NM_013291 chr8 - 145618445 145634733 145618532 145634542 38 145618445,145618666,145618881,145619097,145619327,145619448,145619593,145619858,145620096,145620312,145620479,145620649,145621562,145621812,145622054,145622421,145622701,145622957,145623168,145623691,145623914,145624168,145624347,145624517,145624665,145624841,145624977,145625170,145625381,145625559,145625747,145626064,145626317,145626604,145626823,145627039,145634398,145634672, 145618580,145618805,145619011,145619253,145619375,145619515,145619770,145620011,145620238,145620397,145620570,145620766,145621715,145621956,145622144,145622628,145622876,145623094,145623347,145623833,145624028,145624258,145624428,145624592,145624763,145624893,145625100,145625258,145625475,145625670,145625887,145626211,145626469,145626685,145626957,145627067,145634556,145634733, 0 CPSF1 cmpl cmpl 0,2,1,1,1,0,0,0,2,1,0,0,0,0,0,0,2,0,1,0,0,0,0,0,1,0,0,2,1,1,2,2,0,0,1,0,0,-1, 895 NM_013290 chr17 - 40724327 40729849 40724985 40729704 8 40724327,40725124,40725328,40725495,40726116,40729230,40729478,40729670, 40725042,40725184,40725382,40725605,40726228,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,0,1,0, 128 NM_001164318 chr3 + 57994126 58157982 57994291 58156489 46 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58118534,58120342,58121705,58124008,58127584,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58118658,58120499,58121895,58124256,58127623,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,2,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 861 NM_001184762 chr9 + 36190852 36212059 36191053 36211771 3 36190852,36204064,36211599, 36191270,36204176,36212059, 0 CLTA cmpl cmpl 0,1,2, 861 NM_001184761 chr9 + 36190852 36212059 36191053 36211626 5 36190852,36197547,36198975,36204064,36211604, 36191270,36197585,36199093,36204176,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2, 1501 NM_001080138 chrX - 120101740 120105058 120103049 120104803 3 120101740,120103018,120104061, 120101880,120103174,120105058, 0 CT47A9 cmpl cmpl -1,1,0, 1501 NM_001080138 chrX - 120106600 120109918 120107909 120109663 3 120106600,120107878,120108921, 120106740,120108034,120109918, 0 CT47A9 cmpl cmpl -1,1,0, 1016 NM_001130420 chr12 - 56555635 56583351 56557472 56583245 30 56555635,56558086,56558431,56559101,56561843,56563312,56563559,56563927,56565054,56565462,56566211,56566368,56566720,56567479,56568434,56571805,56572187,56572593,56572780,56574760,56575265,56575487,56575787,56577644,56577958,56578627,56578813,56579938,56580970,56583134, 56557549,56558152,56558515,56559483,56561978,56563479,56563695,56563992,56565216,56565721,56566274,56566488,56566813,56567633,56568548,56571877,56572318,56572631,56572840,56574885,56575381,56575619,56575863,56577714,56578028,56578720,56578895,56580024,56581090,56583351, 0 SMARCC2 cmpl cmpl 1,1,1,0,0,1,0,1,1,0,0,0,0,2,2,2,0,1,1,2,0,0,2,1,0,0,2,0,0,0, 1146 NM_016565 chr11 - 73583712 73587890 73584159 73584423 2 73583712,73587801, 73584439,73587890, 0 COA4 cmpl cmpl 0,-1, 837 NM_080679 chr6 - 33130468 33160245 33131454 33160017 63 33130468,33132043,33132628,33133325,33133707,33133947,33134289,33134496,33134846,33135040,33135202,33135575,33136295,33136482,33136731,33137159,33137607,33137823,33138102,33138333,33138586,33138890,33139047,33139243,33139489,33139826,33140065,33140306,33140836,33141124,33141278,33141477,33141649,33141787,33141941,33142303,33143350,33143792,33144035,33144209,33144497,33144768,33144957,33145188,33145438,33145908,33146084,33146211,33146455,33146696,33146849,33147007,33147207,33147495,33148034,33148444,33148740,33148887,33154403,33156138,33156754,33157096,33159935, 33131595,33132250,33132741,33133593,33133761,33133983,33134343,33134604,33134900,33135094,33135310,33135629,33136349,33136536,33136785,33137267,33137661,33137877,33138156,33138387,33138694,33138944,33139101,33139351,33139597,33139880,33140155,33140414,33140890,33141178,33141332,33141522,33141703,33141832,33141995,33142357,33143458,33143846,33144080,33144263,33144542,33144822,33145002,33145242,33145483,33145962,33146129,33146265,33146509,33146750,33146903,33147061,33147264,33147582,33148109,33148507,33148782,33148947,33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0, 1653 NM_032295 chr7 - 140033551 140098350 140035062 140082326 12 140033551,140037083,140048425,140051072,140051861,140055467,140058439,140064207,140069389,140080081,140082237,140098215, 140035304,140037149,140048567,140051251,140051946,140055564,140058585,140064291,140069482,140080190,140082396,140098350, 0 SLC37A3 cmpl cmpl 1,1,0,1,0,2,0,0,0,2,0,-1, 14 NM_178173 chr3 + 49235860 49295537 49249213 49294715 10 49235860,49235974,49236322,49249198,49273980,49278658,49281836,49282078,49292822,49293566, 49235893,49236095,49236540,49249269,49274155,49278822,49281885,49282166,49292926,49295537, 0 CCDC36 cmpl cmpl -1,-1,-1,0,2,0,2,0,1,0, 93 NM_000384 chr2 - 21224300 21266945 21224601 21266817 29 21224300,21227140,21227432,21227951,21236031,21237319,21237944,21238241,21239310,21241863,21242594,21245702,21246396,21247804,21249659,21250699,21251198,21252510,21252769,21255225,21256170,21257687,21258455,21259971,21260829,21263809,21265232,21266384,21266735, 21226206,21227324,21227547,21235523,21236405,21237465,21238132,21238417,21239521,21241985,21242777,21245914,21246564,21247996,21249836,21250937,21251410,21252657,21252887,21255453,21256390,21257773,21258580,21260127,21260983,21263955,21265348,21266423,21266945, 0 APOB cmpl cmpl 0,2,1,1,2,0,1,2,1,2,2,0,0,0,0,2,0,0,2,2,1,2,0,0,2,0,1,1,0, 609 NM_023935 chr20 - 3171011 3185295 3171298 3185273 9 3171011,3171835,3172410,3175475,3175876,3180646,3180987,3183858,3185182, 3171465,3171884,3172467,3175514,3175999,3180748,3181100,3184062,3185295, 0 DDRGK1 cmpl cmpl 1,0,0,0,0,0,1,1,0, 892 NR_040062 chr15 + 40331511 40349201 40349201 40349201 3 40331511,40338161,40348889, 40331649,40338270,40349201, 0 SRP14-AS1 unk unk -1,-1,-1, 1333 NR_103732 chr2 - 98081675 98094824 98094824 98094824 4 98081675,98088547,98088769,98094796, 98082014,98088677,98088865,98094824, 0 AC159540.1 unk unk -1,-1,-1,-1, 1195 NR_046685 chr13 - 80051498 80055366 80055366 80055366 3 80051498,80053970,80055286, 80051754,80054065,80055366, 0 NDFIP2-AS1 unk unk -1,-1,-1, 102 NR_038927 chr12 - 31173696 31226781 31226781 31226781 3 31173696,31213593,31226128, 31174963,31213704,31226781, 0 DDX11-AS1 unk unk -1,-1,-1, 744 NM_033108 chrY - 20933699 20935604 20933820 20935504 2 20933699,20934991, 20934513,20935604, 0 HSFY1 cmpl cmpl 0,0, 704 NM_001288648 chr17 + 15602890 15624100 15619374 15620604 5 15602890,15604465,15609700,15611468,15619313, 15603091,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,0, 704 NM_001288645 chr17 + 15602890 15624100 15619374 15620604 6 15602890,15603361,15604465,15609700,15611468,15619313, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,-1,0, 1072 NR_029404 chr7 + 63894070 63895895 63895895 63895895 1 63894070, 63895895, 0 YWHAEP1 unk unk -1, 1359 NR_030392 chr14 + 101533060 101533138 101533138 101533138 1 101533060, 101533138, 0 MIR656 unk unk -1, 704 NM_001288644 chr17 + 15602890 15624100 15603032 15620604 4 15602890,15604465,15611468,15619372, 15603091,15604554,15611561,15624100, 0 ZNF286A cmpl cmpl 0,2,1,1, 704 NM_001288643 chr17 + 15602890 15624100 15603084 15620604 5 15602890,15604465,15609700,15611468,15619372, 15603091,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl 0,1,0,1,1, 704 NM_001288642 chr17 + 15602890 15624100 15603084 15620604 6 15602890,15603521,15604465,15609700,15611468,15619372, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl 0,1,1,0,1,1, 837 NM_001163771 chr6 - 33154221 33160245 33154328 33160017 5 33154221,33156138,33156754,33157096,33159935, 33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,2,1,1,0, 110 NM_022157 chr1 - 39303868 39325495 39305224 39325318 7 39303868,39311610,39317286,39318045,39321379,39322550,39325081, 39305376,39311759,39317429,39318160,39321579,39322754,39325495, 0 RRAGC cmpl cmpl 1,2,0,2,0,0,0, 85 NM_001162499 chr3 + 12838170 12876313 12838219 12875481 15 12838170,12844986,12848804,12849708,12851557,12854488,12854744,12856639,12857365,12857872,12861584,12866968,12868938,12872963,12875253, 12838287,12845130,12848959,12849832,12851823,12854594,12854887,12856932,12857507,12859375,12861680,12867138,12869103,12873071,12876313, 0 CAND2 cmpl cmpl 0,2,2,1,2,1,2,1,0,1,1,1,0,0,0, 589 NM_198075 chr11 + 537521 554916 540684 554276 14 537521,538597,539579,540673,541536,544719,549901,550071,551130,551650,551902,552089,552568,553962, 537605,538860,539726,540861,541624,544780,549998,550272,551302,551827,551967,552232,552702,554916, 0 LRRC56 cmpl cmpl -1,-1,-1,0,0,1,2,0,0,1,1,0,2,1, 234 NM_197972 chr1 - 169101767 169337201 169102022 169293633 12 169101767,169138684,169199955,169204368,169206860,169256540,169267793,169272382,169279207,169292354,169293630,169336945, 169102055,169138792,169200057,169204437,169206925,169256646,169268001,169272433,169279318,169292521,169293707,169337201, 0 NME7 cmpl cmpl 0,0,0,0,1,0,2,2,2,0,0,-1, 75 NM_020972 chr4 - 2271323 2420370 2272451 2420050 13 2271323,2273037,2273401,2274899,2275788,2306015,2321896,2337431,2339133,2341179,2343204,2355659,2420011, 2272583,2273141,2273506,2275016,2275943,2307263,2321998,2337521,2339223,2341382,2343342,2355800,2420370, 0 ZFYVE28 cmpl cmpl 0,1,1,1,2,2,2,2,2,0,0,0,0, 161 NM_001256375 chr12 - 92378751 92536447 92380457 92387179 5 92378751,92381308,92382872,92387145,92536382, 92380473,92381419,92382969,92387305,92536447, 0 C12orf79 cmpl cmpl 2,2,1,0,-1, 1731 NM_018326 chr7 + 150264457 150271041 150266989 150270148 3 150264457,150266975,150269216, 150264525,150267047,150271041, 0 GIMAP4 cmpl cmpl -1,0,1, 1768 NM_001287586 chr1 + 155108287 155111334 155108428 155110757 5 155108287,155109303,155110036,155110454,155110655, 155108448,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,2,0,0,0, 1768 NM_001287587 chr1 + 155108287 155111334 155108428 155110757 6 155108287,155108774,155109303,155110036,155110454,155110655, 155108467,155108872,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,2,0,0,0, 957 NM_001282650 chrX - 48760888 48769235 48762003 48768913 4 48760888,48763668,48767090,48768783, 48762759,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 957 NM_001282649 chrX - 48760888 48769235 48762003 48768913 3 48760888,48763668,48768822, 48762759,48763820,48769235, 0 SLC35A2 cmpl cmpl 0,1,0, 957 NM_001282651 chrX - 48760888 48769235 48762003 48768913 5 48760888,48763668,48767090,48767510,48768822, 48762759,48763820,48767273,48767594,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,1,0, 89 NM_001282229 chr22 - 17659679 17700475 17662372 17688142 9 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,0,-1, 89 NM_001282228 chr22 - 17659679 17700475 17662372 17690441 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690488,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 1372 NM_022154 chr4 - 103182820 103266348 103184200 103265819 8 103182820,103188646,103189028,103225473,103226145,103228592,103236824,103265600, 103184350,103188831,103189236,103225638,103226268,103228762,103236987,103266348, 0 SLC39A8 cmpl cmpl 0,1,0,0,0,1,0,0, 595 NM_022148 chrX - 1314893 1331530 1314893 1331527 6 1314893,1317418,1321271,1325325,1327698,1331448, 1315014,1317581,1321405,1325492,1327801,1331530, 0 CRLF2 incmpl cmpl 1,0,1,2,1,0, 825 NM_001159740 chr6 + 31539875 31542100 31540519 31541470 4 31539875,31540510,31540704,31541057, 31540079,31540618,31540810,31542100, 0 LTA cmpl cmpl -1,0,0,1, 245 NM_001531 chr1 + 181002560 181031074 181003143 181024401 7 181002560,181003022,181018187,181019146,181021370,181022708,181024360, 181002600,181003210,181018448,181019422,181021646,181022813,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1,1,1, 898 NM_001258421 chr15 + 41099273 41106767 41102122 41106424 11 41099273,41101316,41101605,41102049,41102268,41102846,41104896,41105535,41105910,41106140,41106345, 41099869,41101438,41101656,41102168,41102414,41102955,41105100,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl -1,-1,-1,0,1,0,1,1,0,0,2, 1610 NR_037938 chr6 - 134435110 134438818 134438818 134438818 2 134435110,134438681, 134437162,134438818, 0 HMGA1P7 unk unk -1,-1, 780 NM_001282869 chr1 + 25598976 25656936 25599038 25655506 8 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2, 780 NM_001282868 chr1 + 25598976 25656936 25599038 25655506 8 25598976,25611063,25617131,25627436,25628010,25629812,25643490,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25643570,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2, 780 NM_001282867 chr1 + 25598976 25656936 25627448 25655415 10 25598976,25611063,25617131,25627440,25628010,25629812,25633086,25643490,25648379,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25643570,25648453,25656936, 0 RHD cmpl cmpl -1,-1,-1,0,1,0,0,2,1,0, 110 NM_001009182 chr14 + 39583487 39606177 39583509 39605683 9 39583487,39584032,39587202,39587743,39591633,39597483,39601161,39602864,39605643, 39583679,39584117,39587292,39587803,39591747,39597552,39601272,39602923,39606177, 0 GEMIN2 cmpl cmpl 0,2,0,0,0,0,0,0,2, 201 NM_002410 chr2 + 135011829 135212192 135011974 135206418 16 135011829,135027956,135075099,135076220,135093787,135095829,135099160,135102500,135107375,135119845,135160558,135170439,135180373,135185935,135199328,135206219, 135012215,135028121,135075176,135076310,135093859,135095991,135099330,135102635,135107509,135119979,135160708,135170586,135180490,135186010,135199486,135212192, 0 MGAT5 cmpl cmpl 0,1,1,0,0,0,0,2,2,1,0,0,0,0,0,2, 137 NM_002757 chr15 + 67835020 68099455 67835673 68099088 21 67835020,67842371,67855620,67873091,67878227,67879183,67885263,67893022,67923225,67938568,67938725,67950890,67956934,67984816,67985855,67995674,68040568,68040906,68061939,68065044,68098983, 67835808,67842420,67855688,67873161,67878268,67879251,67885312,67893087,67923265,67938637,67938807,67950952,67956983,67984890,67985906,67995746,68040595,68040939,68062001,68065090,68099455, 0 MAP2K5 cmpl cmpl 0,0,1,0,1,0,2,0,2,0,0,1,0,1,0,0,0,0,0,2,0, 1134 NM_033053 chrX + 72064875 72068636 72064969 72068209 6 72064875,72065332,72065705,72066718,72066963,72068096, 72065033,72065391,72065839,72066779,72067111,72068636, 0 DMRTC1 cmpl cmpl 0,1,0,2,0,1, 1135 NM_033053 chrX - 72091858 72095622 72092285 72095528 6 72091858,72093383,72093715,72094658,72095106,72095464, 72092398,72093531,72093776,72094792,72095165,72095622, 0 DMRTC1 cmpl cmpl 1,0,2,0,1,0, 1115 NM_005117 chr11 - 69513005 69519106 69514029 69518644 3 69513005,69518028,69518412, 69514344,69518132,69519106, 0 FGF19 cmpl cmpl 0,1,0, 1772 NM_004744 chr4 + 155665162 155674270 155665478 155670288 3 155665162,155665477,155670135, 155665374,155666018,155674270, 0 LRAT cmpl cmpl -1,0,0, 586 NM_005151 chr18 + 158482 213739 158698 211284 16 158482,163307,166786,178932,180235,192841,196636,197615,198046,199201,202879,203097,204563,209970,210385,211132, 158714,163453,166819,179037,180339,192900,196767,197696,198132,199316,202945,203190,204692,210031,210493,213739, 0 USP14 cmpl cmpl 0,1,0,0,0,2,1,0,0,2,0,0,0,0,1,1, 1060 NM_001267548 chr20 - 62329994 62339205 62331794 62338443 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339161, 62331882,62332054,62333252,62333569,62337791,62338090,62338449,62339205, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,0,-1, 656 NM_198535 chr19 - 9405985 9415795 9406150 9415795 5 9405985,9407971,9408555,9413053,9415747, 9407609,9408155,9408666,9413180,9415795, 0 ZNF699 cmpl cmpl 2,1,1,0,0, 914 NM_198941 chr20 - 43124863 43150726 43128936 43150592 11 43124863,43128898,43129713,43132455,43133441,43135467,43138531,43139929,43141441,43142519,43150553, 43124996,43129075,43129941,43132636,43133532,43135637,43138669,43140009,43141635,43142681,43150726, 0 SERINC3 cmpl cmpl -1,2,2,1,0,1,1,2,0,0,0, 1075 NM_001271640 chr7 + 64254765 64294059 64254946 64291864 4 64254765,64275295,64291317,64291828, 64254949,64275422,64291454,64294059, 0 ZNF138 cmpl cmpl 0,0,1,0, 1075 NM_001271638 chr7 + 64254765 64294059 64275310 64292580 4 64254765,64274436,64275295,64291828, 64254949,64274525,64275422,64294059, 0 ZNF138 cmpl cmpl -1,-1,0,1, 1075 NM_001271637 chr7 + 64254765 64294059 64254946 64276008 4 64254765,64275295,64275949,64291828, 64254949,64275422,64276031,64294059, 0 ZNF138 cmpl cmpl 0,0,1,-1, 775 NM_013430 chr22 + 24979717 25024972 25007048 25024806 16 24979717,25003920,25005931,25006216,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24979776,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 726 NM_001199319 chr22 + 18560685 18573797 18561142 18570841 5 18560685,18561061,18562639,18566202,18570737, 18560813,18561372,18562780,18566498,18573797, 0 PEX26 cmpl cmpl -1,0,2,2,1, 853 NM_024009 chr1 + 35246789 35251965 35250363 35251176 2 35246789,35250338, 35247379,35251965, 0 GJB3 cmpl cmpl -1,0, 140 NM_017488 chr2 - 70889215 70995375 70900033 70933540 17 70889215,70900009,70900372,70901809,70903927,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70995017, 70890867,70900138,70900458,70901957,70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70995375, 0 ADD2 cmpl cmpl -1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,-1,-1, 726 NM_017929 chr22 + 18560685 18573797 18561142 18570841 6 18560685,18561061,18562639,18566202,18567877,18570737, 18560813,18561372,18562780,18566498,18568024,18573797, 0 PEX26 cmpl cmpl -1,0,2,2,1,1, 892 NM_001252039 chr17 - 40276993 40307062 40277800 40283635 7 40276993,40278772,40280278,40280666,40282354,40283624,40306910, 40277916,40278866,40280401,40280818,40282608,40283840,40307062, 0 RAB5C cmpl cmpl 1,0,0,1,2,0,-1, 598 NM_006342 chr4 + 1723216 1746905 1725148 1746740 16 1723216,1725147,1725454,1729434,1732613,1732898,1736999,1737457,1738967,1739324,1741428,1741685,1742552,1746244,1746438,1746674, 1723370,1725310,1725597,1730514,1732689,1733028,1737052,1737561,1739055,1739429,1741505,1741729,1742713,1746351,1746559,1746905, 0 TACC3 cmpl cmpl -1,0,0,2,2,0,1,0,2,0,0,2,1,0,2,0, 1308 NM_014639 chr5 - 94799598 94890709 94800310 94882854 43 94799598,94803569,94805483,94813993,94818176,94820427,94826611,94830385,94830667,94833119,94834073,94838583,94839517,94842637,94845297,94848180,94849274,94850558,94852056,94852228,94852375,94852619,94852849,94856419,94857757,94858905,94859358,94860168,94861101,94861290,94863716,94864704,94865792,94872520,94872746,94876393,94877008,94877518,94878887,94882764,94884263,94886284,94890639, 94800385,94803693,94805614,94814146,94818335,94820549,94826740,94830497,94830721,94833192,94834295,94838707,94839642,94842715,94845391,94848322,94849349,94850627,94852113,94852290,94852454,94852764,94853026,94856522,94858011,94859030,94859538,94860295,94861205,94861377,94863856,94864806,94865933,94872629,94872845,94876534,94877084,94877610,94879031,94882855,94884419,94886354,94890709, 0 TTC37 cmpl cmpl 0,2,0,0,0,1,1,0,0,2,2,1,2,2,1,0,0,0,0,1,0,2,2,1,2,0,0,2,0,0,1,1,1,0,0,0,2,0,0,0,-1,-1,-1, 142 NM_013381 chr12 + 72666528 73059422 72666558 73056975 19 72666528,72680460,72771774,72863537,72866846,72893277,72936070,72955944,72956632,72962347,72969034,72969266,73012670,73014887,73015423,73046101,73046795,73050706,73056831, 72667337,72680734,72771901,72863692,72866960,72893415,72936136,72956010,72956820,72962436,72969168,72969322,73012818,73014985,73015531,73046269,73046936,73050788,73059422, 0 TRHDE cmpl cmpl 0,2,0,1,0,0,0,0,0,2,1,0,2,0,2,2,2,2,0, 999 NM_007036 chr5 - 54273694 54281414 54275159 54281345 3 54273694,54277824,54281044, 54275263,54277974,54281414, 0 ESM1 cmpl cmpl 1,1,0, 1700 NM_021105 chr3 - 146232966 146262628 146233831 146254339 9 146232966,146234792,146239330,146239619,146243391,146246400,146251256,146254326,146262253, 146233888,146234954,146239492,146239840,146243434,146246618,146251337,146254352,146262628, 0 PLSCR1 cmpl cmpl 0,0,0,1,0,1,1,0,-1, 596 NM_004192 chrY - 1472031 1521870 1472161 1521733 13 1472031,1481624,1486865,1487874,1490550,1494417,1496626,1501161,1503914,1504586,1507989,1511078,1521640, 1472382,1481747,1487009,1488007,1490735,1494580,1497014,1501270,1503976,1504651,1508037,1511210,1521870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,0, 957 NM_001282647 chrX - 48760456 48769235 48760640 48768913 5 48760456,48762022,48763668,48767090,48768822, 48760742,48762169,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,0,1,1,0, 144 NM_006456 chr17 - 74561460 74582145 74562185 74581890 9 74561460,74563534,74564794,74566646,74568718,74569276,74570446,74574837,74581765, 74562353,74563634,74564878,74566750,74568857,74569445,74570621,74574898,74582145, 0 ST6GALNAC2 cmpl cmpl 0,2,2,0,2,1,0,2,0, 889 NM_006455 chr17 - 39958204 39968451 39959208 39968167 8 39958204,39959538,39963047,39964110,39965957,39967114,39967383,39967705, 39959231,39959683,39963131,39964256,39966086,39967286,39967536,39968451, 0 LEPREL4 cmpl cmpl 1,0,0,1,1,0,0,0, 12 NM_006447 chr21 + 30396937 30426807 30400234 30426508 18 30396937,30400193,30402915,30407157,30408591,30409596,30410655,30411346,30411801,30412929,30414333,30414792,30415743,30418987,30421081,30422412,30426122,30426386, 30397098,30400295,30403094,30407261,30408695,30409784,30410751,30411477,30411889,30413008,30414425,30414849,30415920,30419642,30421176,30422499,30426279,30426807, 0 USP16 cmpl cmpl -1,0,1,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1, 649 NM_015948 chr6 - 8413299 8435800 8413781 8434620 11 8413299,8415140,8417116,8417634,8419812,8420953,8422702,8428169,8430096,8434617,8435309, 8413932,8415210,8417228,8417727,8419910,8421061,8422857,8428291,8430390,8434663,8435800, 0 SLC35B3 cmpl cmpl 2,1,0,0,1,1,2,0,0,0,-1, 647 NM_001177801 chr17 + 8191968 8193409 8192106 8192910 4 8191968,8192273,8192575,8192820, 8192183,8192390,8192732,8193409, 0 RANGRF cmpl cmpl 0,2,2,0, 780 NM_001177998 chr4 + 25657434 25680368 25664122 25678371 13 25657434,25664119,25664329,25665823,25667749,25669501,25671268,25672359,25673222,25674708,25675917,25676126,25677756, 25657512,25664234,25664464,25665952,25667893,25669613,25671464,25672455,25673343,25674876,25676034,25676251,25680368, 0 SLC34A2 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 1180 NM_005752 chr16 + 78056442 78066001 78056496 78064738 3 78056442,78062003,78064343, 78056638,78062087,78066001, 0 CLEC3A cmpl cmpl 0,1,1, 822 NM_007109 chr6 + 31126302 31131992 31127246 31130494 4 31126302,31126673,31129223,31130253, 31126499,31127484,31129782,31131992, 0 TCF19 cmpl cmpl -1,0,1,2, 811 NM_206814 chr6 + 29624757 29640149 29624986 29638962 7 29624757,29633928,29635419,29635680,29638057,29638477,29638948, 29625074,29634042,29635440,29635701,29638174,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 645 NM_145185 chr19 + 7968764 7979363 7968829 7977316 11 7968764,7974639,7974947,7975144,7975337,7975580,7975864,7976134,7976320,7977033,7977181, 7968953,7974781,7975014,7975258,7975457,7975688,7976044,7976215,7976463,7977079,7979363, 0 MAP2K7 cmpl cmpl 0,1,2,0,0,0,0,0,0,2,0, 643 NM_198185 chr11 - 7710668 7727941 7711185 7727941 17 7710668,7711154,7712499,7713132,7716288,7716800,7717219,7718011,7718255,7720296,7721842,7722870,7723262,7723703,7725244,7726111,7727853, 7710833,7711244,7712631,7713226,7716419,7716903,7717257,7718136,7718346,7720320,7722032,7723022,7723358,7723876,7725336,7726221,7727941, 0 OVCH2 cmpl cmpl -1,1,1,0,1,0,1,2,1,1,0,1,1,2,0,1,0, 90 NM_144775 chr17 + 18218593 18231370 18219103 18226384 2 18218593,18225930, 18221463,18231370, 0 SMCR8 cmpl cmpl 0,2, 837 NM_080680 chr6 - 33130468 33160245 33131454 33160017 66 33130468,33132043,33132628,33133325,33133707,33133947,33134289,33134496,33134846,33135040,33135202,33135575,33136295,33136482,33136731,33137159,33137607,33137823,33138102,33138333,33138586,33138890,33139047,33139243,33139489,33139826,33140065,33140306,33140836,33141124,33141278,33141477,33141649,33141787,33141941,33142303,33143350,33143792,33144035,33144209,33144497,33144768,33144957,33145188,33145438,33145908,33146084,33146211,33146455,33146696,33146849,33147007,33147207,33147495,33148034,33148444,33148740,33148887,33151921,33152768,33153477,33154403,33156138,33156754,33157096,33159935, 33131595,33132250,33132741,33133593,33133761,33133983,33134343,33134604,33134900,33135094,33135310,33135629,33136349,33136536,33136785,33137267,33137661,33137877,33138156,33138387,33138694,33138944,33139101,33139351,33139597,33139880,33140155,33140414,33140890,33141178,33141332,33141522,33141703,33141832,33141995,33142357,33143458,33143846,33144080,33144263,33144542,33144822,33145002,33145242,33145483,33145962,33146129,33146265,33146509,33146750,33146903,33147061,33147264,33147582,33148109,33148507,33148782,33148947,33152101,33152831,33153555,33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0, 180 NM_007203 chr9 + 112542576 112934791 112542768 112930777 11 112542576,112629770,112642830,112686014,112687340,112694206,112778233,112898406,112918598,112924373,112930678, 112542813,112629851,112642961,112686129,112687362,112694308,112778319,112900819,112918777,112924412,112934791, 0 PALM2-AKAP2 cmpl cmpl 0,0,0,2,0,1,1,0,1,0,0, 797 NM_001282730 chr2 - 27873675 27886707 27876351 27884263 6 27873675,27878231,27880211,27883850,27885045,27886195, 27876614,27878469,27880536,27884468,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,0,-1,-1, 726 NM_001261386 chr11 - 18552949 18610293 18554023 18610201 7 18552949,18566169,18579774,18586438,18596893,18600270,18610159, 18554034,18566343,18579877,18586557,18596959,18600355,18610293, 0 UEVLD cmpl cmpl 1,1,0,1,1,0,0, 820 NM_001202521 chr6 + 30856464 30867933 30856506 30864804 15 30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30864790,30865155,30865849,30866664,30866932, 30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,1,2,0,1,2,0,1,1,0,1,-1,-1,-1,-1, 93 NM_000478 chr1 + 21835857 21904905 21880574 21904141 12 21835857,21880470,21887118,21887589,21889602,21890533,21894596,21896797,21900157,21902225,21903014,21903875, 21836010,21880635,21887238,21887705,21889777,21890709,21894740,21896867,21900292,21902417,21903134,21904905, 0 ALPL cmpl cmpl -1,0,1,1,0,1,0,0,1,1,1,1, 102 NM_001204204 chr22 + 30792929 30821291 30793105 30818396 10 30792929,30795631,30802330,30805175,30805414,30806584,30811747,30811936,30812222,30818265, 30793159,30795707,30802374,30805271,30805475,30806668,30811854,30812076,30812392,30821291, 0 SEC14L2 cmpl cmpl 0,0,1,0,0,1,1,0,2,1, 842 NM_012319 chr18 - 33688493 33709357 33689555 33706970 10 33688493,33691021,33692463,33694059,33696636,33702014,33703457,33704482,33706181,33709076, 33689708,33691212,33692544,33694437,33696742,33702233,33703627,33704663,33706979,33709357, 0 SLC39A6 cmpl cmpl 0,1,1,1,0,0,1,0,0,-1, 980 NM_152353 chr19 - 51870351 51872257 51870395 51871831 4 51870351,51870710,51871139,51871662, 51870469,51870830,51871280,51872257, 0 CLDND2 cmpl cmpl 1,1,1,0, 861 NM_001161429 chr5 - 36249103 36302011 36249755 36301518 15 36249103,36251414,36253748,36255571,36257042,36257555,36260881,36262040,36265060,36265550,36268294,36269491,36270052,36271354,36301427, 36249799,36251601,36253891,36255692,36257173,36257658,36260966,36262144,36265200,36265622,36268369,36269569,36270092,36271413,36302011, 0 RANBP3L cmpl cmpl 1,0,1,0,1,0,2,0,1,1,1,1,0,1,0, 657 NR_003592 chrY - 9544432 9552871 9552871 9552871 6 9544432,9546153,9548184,9549349,9551731,9552834, 9544678,9546267,9548661,9549424,9551893,9552871, 0 TTTY7B unk unk -1,-1,-1,-1,-1,-1, 658 NR_003590 chrY + 9573894 9596085 9596085 9596085 8 9573894,9579932,9582486,9589957,9590798,9593785,9593984,9595405, 9574099,9580010,9582573,9590106,9590955,9593864,9594182,9596085, 0 TTTY2B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 934 NM_018389 chr11 + 45826640 45834567 45827352 45832886 2 45826640,45832326, 45827887,45834567, 0 SLC35C1 cmpl cmpl 0,1, 811 NM_206811 chr6 + 29624757 29640149 29624986 29639227 8 29624757,29627095,29633928,29635419,29635680,29637950,29638477,29639198, 29625074,29627443,29634042,29635440,29635701,29637998,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 845 NM_152781 chr17 - 34181959 34195895 34182066 34195746 15 34181959,34182667,34183176,34183735,34185203,34185436,34185891,34189998,34190505,34191249,34191500,34191761,34192218,34193727,34195658, 34182414,34182754,34183228,34183809,34185323,34185529,34186074,34190129,34190563,34191306,34191557,34191894,34192400,34193777,34195895, 0 C17orf66 cmpl cmpl 0,0,2,0,0,0,0,1,0,0,0,2,0,1,0, 2014 NM_018471 chr2 + 187350884 187374087 187351109 187373460 10 187350884,187359959,187364908,187365999,187367222,187368758,187370177,187370466,187371439,187373269, 187351184,187360061,187365020,187366152,187367314,187368941,187370324,187370568,187371563,187374087, 0 ZC3H15 cmpl cmpl 0,0,0,1,1,0,0,0,0,1, 1438 NM_005475 chr12 + 111843751 111889427 111855949 111886106 8 111843751,111855922,111884556,111884745,111884928,111885133,111885459,111885786, 111844081,111856681,111884658,111884837,111885023,111885348,111885631,111889427, 0 SH2B3 cmpl cmpl -1,0,0,0,2,1,0,1, 634 NM_014804 chr17 - 6481644 6544247 6483066 6538423 19 6481644,6493098,6493829,6498291,6499477,6502556,6503699,6510192,6510500,6511667,6513313,6515238,6524107,6526201,6526828,6528074,6531436,6538330,6543956, 6483184,6493323,6493950,6498373,6499663,6502640,6503778,6510282,6510590,6511784,6513480,6515468,6524318,6526417,6526891,6528181,6532061,6538491,6544247, 0 KIAA0753 cmpl cmpl 2,2,1,0,0,0,2,2,2,2,0,1,0,0,0,1,0,0,-1, 1153 NM_001281441 chr7 - 74470621 74489717 74470811 74489573 9 74470621,74471635,74474399,74477019,74479106,74480394,74482476,74486453,74489249, 74470831,74471723,74474581,74477104,74479158,74480461,74482605,74486583,74489717, 0 WBSCR16 cmpl cmpl 1,0,1,0,2,1,1,0,0, 11 NM_001082968 chr17 - 17746821 17875784 17750948 17875627 15 17746821,17752136,17754206,17764789,17766044,17769609,17770189,17772653,17782940,17786018,17787947,17796974,17801909,17810760,17875575, 17751097,17752173,17754266,17764865,17766162,17769733,17770238,17772787,17783057,17786177,17788082,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,2,1,0,2,0,0,0,0,0,2,1,0, 182 NM_000820 chr13 - 114523521 114567046 114523836 114566893 15 114523521,114524930,114526347,114529968,114531519,114535271,114535606,114537523,114538485,114541041,114542700,114549499,114550998,114566547,114566805, 114523991,114525159,114526523,114530137,114531684,114535461,114535725,114537645,114538608,114541164,114542823,114549562,114551023,114566714,114567046, 0 GAS6 cmpl cmpl 1,0,1,0,0,2,0,1,1,1,1,1,0,1,0, 657 NR_001534 chrY - 9544432 9552871 9552871 9552871 7 9544432,9544924,9546153,9548184,9549349,9551731,9552834, 9544678,9545180,9546267,9548661,9549424,9551893,9552871, 0 TTTY7 unk unk -1,-1,-1,-1,-1,-1,-1, 117 NM_030674 chr12 - 46576840 46663208 46582752 46633583 17 46576840,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46662308, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1924 NM_000079 chr2 - 175612322 175629200 175612851 175629122 9 175612322,175613307,175614673,175618230,175618946,175622293,175624058,175624215,175629079, 175612983,175613547,175614897,175618468,175619142,175622403,175624103,175624361,175629200, 0 CHRNA1 cmpl cmpl 0,0,1,0,2,0,0,1,0, 647 NM_024557 chr11 - 8127596 8190590 8132244 8190536 6 8127596,8148205,8158924,8159818,8161513,8190412, 8132684,8148351,8159018,8159894,8161740,8190590, 0 RIC3 cmpl cmpl 1,2,1,0,1,0, 943 NM_018215 chr19 - 46969747 46974820 46971817 46974292 3 46969747,46972989,46974593, 46971834,46974371,46974820, 0 PNMAL1 cmpl cmpl 1,0,-1, 164 NM_001289068 chr10 + 96305523 96361856 96306150 96361379 22 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305664,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,0,0,0,0,1,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 160 NM_016848 chr9 - 91620685 91793682 91628361 91793375 12 91620685,91652907,91656940,91660660,91661758,91666951,91680443,91686113,91690023,91692754,91727470,91792901, 91628490,91653203,91657099,91660748,91661909,91667078,91680495,91686167,91690143,91692818,91727541,91793682, 0 SHC3 cmpl cmpl 0,1,1,0,2,1,0,0,0,2,0,0, 14 NM_016841 chr17 + 43971747 44105699 44039703 44101537 9 43971747,44039686,44055740,44064405,44068825,44073764,44091608,44095983,44101321, 43972052,44039836,44055806,44064461,44068952,44074030,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,0,1,0,1,0, 1291 NM_006413 chr10 + 92631708 92661947 92631743 92660436 11 92631708,92634625,92635314,92635780,92638819,92645568,92654531,92655210,92655636,92656069,92660326, 92631825,92634681,92635371,92635855,92638891,92645658,92654648,92655240,92655674,92656149,92661947, 0 RPP30 cmpl cmpl 0,1,0,0,0,0,0,0,0,2,1, 14 NM_001145110 chr12 - 44902057 45307711 44902716 45307619 21 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597,45307581, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269683,45307711, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,2,0, 861 NM_007096 chr9 + 36190852 36212059 36191053 36211771 7 36190852,36197547,36198975,36204064,36209263,36210621,36211599, 36191270,36197585,36199093,36204176,36209317,36210657,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2,2,2, 87 NM_178234 chr8 + 15397595 15624158 15397939 15621727 10 15397595,15480588,15508205,15517015,15519664,15531255,15588174,15601046,15605883,15621711, 15398077,15480758,15508323,15517156,15519805,15531345,15588238,15601121,15605974,15624158, 0 TUSC3 cmpl cmpl 0,0,2,0,0,0,0,1,1,2, 921 NM_005926 chr15 - 44096732 44116951 44097291 44116767 9 44096732,44097573,44101952,44105184,44105446,44106698,44107142,44109426,44116688, 44097474,44097663,44102112,44105345,44105555,44106886,44107272,44109646,44116951, 0 MFAP1 cmpl cmpl 0,0,2,0,2,0,2,1,0, 241 NM_170710 chr4 + 176986984 177103979 177017670 177100730 31 176986984,177017613,177032725,177036946,177041017,177046254,177049888,177052704,177056258,177058670,177061042,177063133,177067145,177069283,177070957,177071193,177071618,177072962,177077229,177081144,177082061,177083225,177084304,177087274,177089798,177093525,177094417,177095767,177098208,177098621,177100610, 176987230,177017736,177032854,177037130,177041248,177046506,177050011,177052889,177056427,177058762,177061125,177063220,177067310,177069486,177071107,177071324,177071744,177073118,177077294,177081277,177082153,177083325,177084444,177087295,177089934,177093667,177094520,177095869,177098307,177098805,177103979, 0 WDR17 cmpl cmpl -1,0,0,0,1,1,1,1,0,1,0,2,2,2,1,1,0,0,0,2,0,2,0,2,2,0,1,2,2,2,0, 635 NM_006284 chr11 - 6632047 6633475 6632152 6633420 5 6632047,6632419,6632618,6632894,6633188, 6632242,6632534,6632683,6633049,6633475, 0 TAF10 cmpl cmpl 0,2,0,1,0, 1314 NR_036131 chr14 - 95604255 95604323 95604323 95604323 1 95604255, 95604323, 0 MIR3173 unk unk -1, 973 NM_152299 chr22 + 50946644 50963209 50946766 50961804 20 50946644,50954875,50955855,50956005,50956169,50956401,50956561,50957077,50957618,50959393,50959971,50960169,50960414,50960609,50960771,50960929,50961099,50961249,50961445,50961663, 50946874,50954977,50955911,50956090,50956238,50956481,50956707,50957161,50957749,50959465,50960038,50960277,50960468,50960680,50960844,50960998,50961149,50961351,50961595,50963209, 0 NCAPH2 cmpl cmpl 0,0,0,2,0,0,2,1,1,0,0,1,1,1,0,1,1,0,0,0, 1911 NR_002746 chr1 - 173833506 173833583 173833583 173833583 1 173833506, 173833583, 0 SNORD47 unk unk -1, 779 NR_003311 chr15 + 25446469 25446551 25446551 25446551 1 25446469, 25446551, 0 SNORD115-19 unk unk -1, 779 NR_003311 chr15 + 25448373 25448455 25448455 25448455 1 25448373, 25448455, 0 SNORD115-19 unk unk -1, 779 NR_003311 chr15 + 25449503 25449585 25449585 25449585 1 25449503, 25449585, 0 SNORD115-19 unk unk -1, 779 NR_003310 chr15 + 25446469 25446551 25446551 25446551 1 25446469, 25446551, 0 SNORD115-18 unk unk -1, 779 NR_003310 chr15 + 25448373 25448455 25448455 25448455 1 25448373, 25448455, 0 SNORD115-18 unk unk -1, 779 NR_003310 chr15 + 25449503 25449585 25449585 25449585 1 25449503, 25449585, 0 SNORD115-18 unk unk -1, 779 NR_003309 chr15 + 25446469 25446551 25446551 25446551 1 25446469, 25446551, 0 SNORD115-17 unk unk -1, 779 NR_003309 chr15 + 25448373 25448455 25448455 25448455 1 25448373, 25448455, 0 SNORD115-17 unk unk -1, 779 NR_003309 chr15 + 25449503 25449585 25449585 25449585 1 25449503, 25449585, 0 SNORD115-17 unk unk -1, 779 NR_003308 chr15 + 25444594 25444676 25444676 25444676 1 25444594, 25444676, 0 SNORD115-16 unk unk -1, 779 NR_003307 chr15 + 25451408 25477615 25477615 25477615 2 25451408,25477557, 25451431,25477615, 0 SNORD115-15 unk unk -1,-1, 779 NR_003306 chr15 + 25440067 25440148 25440148 25440148 1 25440067, 25440148, 0 SNORD115-14 unk unk -1, 779 NR_003305 chr15 + 25438467 25438549 25438549 25438549 1 25438467, 25438549, 0 SNORD115-13 unk unk -1, 778 NR_003304 chr15 + 25423887 25423966 25423966 25423966 1 25423887, 25423966, 0 SNORD115-12 unk unk -1, 779 NR_003304 chr15 + 25430777 25430859 25430859 25430859 1 25430777, 25430859, 0 SNORD115-12 unk unk -1, 779 NR_003304 chr15 + 25436562 25436644 25436644 25436644 1 25436562, 25436644, 0 SNORD115-12 unk unk -1, 779 NR_003303 chr15 + 25434560 25434642 25434642 25434642 1 25434560, 25434642, 0 SNORD115-11 unk unk -1, 779 NR_003303 chr15 + 25468392 25468474 25468474 25468474 1 25468392, 25468474, 0 SNORD115-11 unk unk -1, 779 NR_003303 chr15 + 25481231 25481313 25481313 25481313 1 25481231, 25481313, 0 SNORD115-11 unk unk -1, 779 NR_003303 chr15 + 25494344 25494426 25494426 25494426 1 25494344, 25494426, 0 SNORD115-11 unk unk -1, 778 NR_003302 chr15 + 25423887 25423966 25423966 25423966 1 25423887, 25423966, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25430777 25430859 25430859 25430859 1 25430777, 25430859, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25432682 25432763 25432763 25432763 1 25432682, 25432763, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25436562 25436644 25436644 25436644 1 25436562, 25436644, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25492491 25492573 25492573 25492573 1 25492491, 25492573, 0 SNORD115-10 unk unk -1, 676 NR_003275 chr8 - 11985366 11986806 11986806 11986806 1 11985366, 11986806, 0 LOC392196 unk unk -1, 979 NM_001243725 chr3 + 51705289 51738339 51708320 51738032 5 51705289,51708286,51718428,51733421,51737739, 51705563,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,0,1, 962 NM_000146 chr19 + 49468565 49470136 49468764 49469992 4 49468565,49469026,49469537,49469839, 49468866,49469173,49469663,49470136, 0 FTL cmpl cmpl 0,0,0,0, 944 NM_001271703 chr10 - 47157983 47174143 47158836 47173918 10 47157983,47161250,47162121,47163958,47164293,47164933,47165481,47166220,47167069,47173897, 47158896,47161373,47162180,47164054,47164387,47164993,47165561,47166311,47167183,47174143, 0 ANXA8 cmpl cmpl 0,0,1,1,0,0,1,0,0,0, 882 NM_145274 chr17 + 38975373 38992526 38990768 38991545 3 38975373,38989366,38990633, 38975460,38989451,38992526, 0 TMEM99 cmpl cmpl -1,-1,0, 826 NM_080703 chr6 - 31606804 31620477 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620176, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 1608 NM_032728 chr9 + 134165080 134184649 134165384 134183674 2 134165080,134183309, 134165835,134184649, 0 PPAPDC3 cmpl cmpl 0,1, 1743 NM_001282505 chrX + 151883074 151887096 151885595 151886540 2 151883074,151885530, 151883171,151887096, 0 MAGEA2 cmpl cmpl -1,0, 1744 NM_001282505 chrX - 151918386 151922408 151918942 151919887 2 151918386,151922311, 151919952,151922408, 0 MAGEA2 cmpl cmpl 0,-1, 1743 NM_001282504 chrX + 151883074 151887096 151885595 151886540 3 151883074,151885384,151885530, 151883171,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,0, 1744 NM_001282504 chrX - 151918386 151922408 151918942 151919887 3 151918386,151920032,151922311, 151919952,151920098,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1, 1660 NM_138702 chrX + 140926101 140985618 140926101 140985618 8 140926101,140953256,140966960,140969188,140983054,140983270,140984667,140985414, 140926224,140953391,140967217,140969582,140983193,140983345,140985272,140985618, 0 MAGEC3 cmpl cmpl 0,0,0,2,0,1,1,0, 119 NM_003786 chr17 + 48712217 48769063 48712297 48768561 31 48712217,48733192,48734062,48734406,48735442,48735795,48736597,48738283,48741041,48741310,48742513,48744914,48745223,48745790,48746213,48746500,48746712,48750331,48750829,48752722,48752991,48753243,48753638,48755104,48755453,48757158,48760970,48761309,48762069,48764896,48768452, 48712342,48733369,48734188,48734544,48735568,48735857,48736729,48738475,48741219,48741472,48742606,48745118,48745370,48745878,48746280,48746627,48746889,48750499,48751019,48752837,48753136,48753451,48753949,48755304,48755580,48757260,48761117,48761468,48762236,48765091,48769063, 0 ABCC3 cmpl cmpl 0,0,0,0,0,0,2,2,2,0,0,0,0,0,1,2,0,0,0,1,2,0,1,0,2,0,0,0,0,2,2, 1540 NM_012363 chr9 - 125288636 125289572 125288636 125289572 1 125288636, 125289572, 0 OR1N1 cmpl cmpl 0, 187 NM_012338 chr7 - 120427373 120498177 120428645 120496817 8 120427373,120446602,120450516,120455782,120478830,120480080,120496751,120497873, 120428951,120446746,120450624,120455857,120478966,120480163,120496887,120498177, 0 TSPAN12 cmpl cmpl 0,0,0,0,2,0,0,-1, 949 NM_017453 chr20 - 47729875 47804904 47731414 47782738 14 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47782533,47790731,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47782822,47790806,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,1,0,-1,-1, 1158 NM_004255 chr15 - 75212616 75230495 75215997 75230355 5 75212616,75215988,75219106,75221456,75230255, 75212783,75216111,75219228,75221573,75230495, 0 COX5A cmpl cmpl -1,0,1,1,0, 949 NM_005827 chr17 - 47778295 47785313 47778819 47785306 9 47778295,47780219,47780549,47781461,47782485,47783227,47783565,47784326,47785091, 47778872,47780373,47780656,47781588,47782643,47783258,47783696,47784430,47785313, 0 SLC35B1 cmpl cmpl 1,0,1,0,1,0,1,2,0, 698 NM_017506 chr19 - 14937138 14939276 14938093 14939053 1 14937138, 14939276, 0 OR7A5 cmpl cmpl 0, 952 NM_006105 chr12 - 48128452 48152244 48131349 48151741 28 48128452,48131804,48131975,48132472,48132925,48133923,48134087,48134424,48134697,48135287,48137312,48137769,48140642,48141326,48141494,48141856,48142236,48142601,48143172,48143523,48143712,48144123,48144830,48145181,48145505,48145698,48151648,48152154, 48131468,48131876,48132030,48132537,48133013,48133974,48134178,48134606,48134823,48135385,48137459,48137851,48140682,48141409,48141645,48141935,48142325,48142714,48143319,48143600,48143773,48144208,48144999,48145303,48145612,48145752,48151861,48152244, 0 RAPGEF3 cmpl cmpl 1,1,0,1,0,0,2,0,0,1,1,0,2,0,2,1,2,0,0,1,0,2,1,2,0,0,0,-1, 985 NR_103446 chr6 + 52441999 52448791 52448791 52448791 3 52441999,52444172,52447660, 52443191,52444407,52448791, 0 TRAM2-AS1 unk unk -1,-1,-1, 79 NM_001257323 chr11 - 6416353 6426163 6416763 6426035 13 6416353,6417015,6417329,6422218,6422574,6422803,6423311,6423805,6424374,6424548,6424717,6424876,6425974, 6416931,6417192,6417445,6422302,6422659,6422918,6423439,6423955,6424438,6424634,6424774,6425052,6426163, 0 APBB1 cmpl cmpl 0,0,1,1,0,2,0,0,2,0,0,1,0, 1814 NM_016406 chr1 + 161123533 161128646 161123787 161128282 6 161123533,161126739,161127043,161127406,161127910,161128201, 161123910,161126807,161127107,161127483,161128001,161128646, 0 UFC1 cmpl cmpl 0,0,2,0,2,0, 1926 NM_016391 chr5 - 175810939 175815763 175811231 175815540 5 175810939,175812221,175813840,175815235,175815433, 175811375,175812328,175813910,175815344,175815763, 0 NOP16 cmpl cmpl 0,1,0,2,0, 113 NM_024053 chr22 - 42334740 42343148 42335059 42343080 6 42334740,42339613,42341228,42341916,42342420,42343023, 42335200,42339705,42341308,42342009,42342500,42343148, 0 CENPM cmpl cmpl 0,1,2,2,0,0, 1673 NM_198504 chr3 - 142680073 142682178 142681044 142682178 1 142680073, 142682178, 0 PAQR9 cmpl cmpl 0, 113 NM_001144881 chr12 - 42852139 42877416 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42877177, 42854467,42859060,42860182,42862631,42863389,42864161,42866366,42877416, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 820 NM_013994 chr6 + 30856464 30867933 30856506 30867073 17 30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30863180,30864397,30864790,30865137,30865849,30866664,30866932, 30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30863291,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,1,2,0,1,2,0,1,1,0,1,1,0,2,2,0,0, 596 NM_016111 chr16 + 1543351 1560460 1544282 1559937 21 1543351,1544246,1545346,1547036,1547361,1549231,1550096,1550347,1550563,1551420,1551663,1552047,1552313,1552645,1552931,1555410,1556238,1556952,1557306,1557601,1559830, 1543606,1544617,1545624,1547105,1547509,1549334,1550165,1550489,1550700,1551500,1551774,1552136,1552405,1552762,1553003,1555602,1556330,1557052,1557371,1557717,1560460, 0 TELO2 cmpl cmpl -1,0,2,1,1,2,0,0,1,0,2,2,1,0,0,0,0,2,0,2,1, 2454 NM_031844 chr1 - 245013601 245027827 245017751 245027609 14 245013601,245018274,245018725,245019205,245019758,245020029,245020899,245021312,245022030,245022576,245023636,245025762,245025920,245026918, 245017805,245018346,245018910,245019460,245019927,245020158,245021019,245021576,245022143,245022676,245023776,245025836,245026032,245027827, 0 HNRNPU cmpl cmpl 0,0,1,1,0,0,0,0,1,0,1,2,1,0, 1311 NM_180989 chr13 + 95254103 95286899 95254181 95279425 9 95254103,95257644,95264443,95271403,95271721,95273331,95275362,95278219,95279266, 95254326,95257803,95264644,95271584,95271771,95273489,95275554,95278297,95286899, 0 GPR180 cmpl cmpl 0,1,1,1,2,1,0,0,0, 1264 NM_001160103 chr14 + 89029252 89079853 89029477 89078095 17 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89068267,89069171,89073586,89075610,89076058,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89068427,89069404,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,1,2,1,2,1,0,2, 1878 NM_001172780 chr3 - 169513428 169530574 169513979 169530336 9 169513428,169514532,169518446,169521840,169524635,169525213,169525375,169526415,169530197, 169514157,169514687,169518542,169521969,169524719,169525278,169525497,169526533,169530574, 0 LRRC34 cmpl cmpl 2,0,0,0,0,1,2,1,0, 1878 NM_001172779 chr3 - 169511215 169530574 169511422 169530336 11 169511215,169513272,169514001,169514532,169518446,169521840,169524635,169525213,169525375,169526415,169530197, 169511626,169513399,169514157,169514687,169518542,169521969,169524719,169525278,169525497,169526533,169530574, 0 LRRC34 cmpl cmpl 0,2,2,0,0,0,0,1,2,1,0, 949 NM_001278784 chr17 - 47778295 47785313 47778819 47784358 9 47778295,47780219,47780549,47781461,47782485,47783227,47783565,47784326,47785091, 47778872,47780373,47780656,47781588,47782643,47783258,47783671,47784430,47785313, 0 SLC35B1 cmpl cmpl 1,0,1,0,1,0,2,0,-1, 784 NM_004680 chrY - 26191376 26194161 26191750 26193835 2 26191376,26192243, 26191823,26194161, 0 CDY1 cmpl cmpl 2,0, 796 NM_004680 chrY + 27768263 27771048 27768589 27770674 2 27768263,27770601, 27770181,27771048, 0 CDY1 cmpl cmpl 0,2, 588 NM_007277 chr5 + 443333 467409 446320 467013 13 443333,446264,447647,453484,457003,458014,459473,462074,462271,464404,465225,465832,466841, 443405,446464,447867,454166,457121,458140,459574,462185,462422,464527,465387,465960,467409, 0 EXOC3 cmpl cmpl -1,0,0,1,2,0,0,2,2,0,0,0,2, 164 NM_001289072 chr10 + 96305523 96361856 96305678 96361379 20 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336466,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,1,2,1, 14 NM_005910 chr17 + 43971747 44105699 44039703 44101537 12 43971747,44039686,44049224,44051750,44055740,44064405,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44064461,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,0,1,0,0,1,0, 1 NM_016309 chr16 + 25123046 25189551 25123204 25189344 11 25123046,25139795,25143722,25151491,25162874,25172422,25175918,25180432,25182034,25186257,25189321, 25123317,25139887,25143844,25151568,25162936,25172525,25176039,25180534,25182126,25186355,25189551, 0 LCMT1 cmpl cmpl 0,2,1,0,2,1,2,0,0,2,1, 954 NM_017883 chrX + 48455879 48463582 48456384 48463420 9 48455879,48457104,48457740,48457974,48458706,48460171,48460452,48462659,48463235, 48456425,48457345,48457850,48458105,48459014,48460352,48460594,48462778,48463582, 0 WDR13 cmpl cmpl 0,2,0,2,1,0,1,2,1, 712 NM_024881 chr19 - 16660647 16683193 16664489 16683175 6 16660647,16665962,16677342,16678842,16682322,16682754, 16664720,16666208,16677468,16678980,16682393,16683193, 0 SLC35E1 cmpl cmpl 0,0,0,0,1,0, 953 NM_033518 chrX - 48316919 48328644 48317318 48326311 17 48316919,48317921,48318117,48319034,48319371,48320103,48320392,48320618,48321282,48324401,48324616,48325185,48325348,48326096,48326258,48327722,48328569, 48317420,48318025,48318262,48319150,48319472,48320183,48320530,48320677,48321365,48324480,48324709,48325259,48325464,48326172,48326312,48327824,48328644, 0 SLC38A5 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1137 NM_021963 chrX - 72432136 72434710 72432945 72434328 1 72432136, 72434710, 0 NAP1L2 cmpl cmpl 0, 668 NM_023921 chr12 - 10977944 10978868 10977944 10978868 1 10977944, 10978868, 0 TAS2R10 cmpl cmpl 0, 971 NR_024225 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A11 unk unk -1, 971 NR_024228 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A8 unk unk -1, 971 NR_024229 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A10 unk unk -1, 954 NR_024228 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A8 unk unk -1, 954 NR_024229 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A10 unk unk -1, 234 NM_001166109 chr4 + 169552767 169849608 169602541 169847536 19 169552767,169589340,169602482,169604148,169606635,169611753,169612419,169630178,169632731,169812072,169815729,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169847363, 169553051,169589519,169602549,169604254,169606710,169611895,169612443,169630298,169633074,169812208,169815828,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169849608, 0 PALLD cmpl cmpl -1,-1,0,2,0,0,1,1,1,2,0,0,0,0,2,0,1,2,1, 885 NM_001193289 chr22 + 39353526 39388783 39353696 39388450 5 39353526,39355546,39357391,39358102,39388435, 39353725,39355691,39357686,39358218,39388783, 0 APOBEC3A_B cmpl cmpl 0,2,0,1,0, 1952 NM_001142298 chr5 + 179233387 179265077 179250004 179263593 9 179233387,179238573,179249957,179250857,179251181,179252145,179260031,179260586,179263435, 179233591,179238682,179250053,179251087,179251323,179252226,179260246,179260782,179265077, 0 SQSTM1 cmpl cmpl -1,-1,0,1,0,1,1,0,1, 1252 NM_022818 chr16 + 87425800 87438380 87426033 87436703 4 87425800,87432420,87435780,87436528, 87426073,87432476,87435887,87438380, 0 MAP1LC3B cmpl cmpl 0,1,0,2, 953 NM_001271702 chr10 + 48255203 48271368 48255428 48270515 12 48255203,48259473,48260620,48262167,48263039,48263789,48264357,48264963,48265296,48267170,48267977,48270455, 48255449,48259564,48260829,48262281,48263130,48263869,48264417,48265057,48265392,48267229,48268100,48271368, 0 ANXA8 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 944 NM_001271702 chr10 - 47157983 47174143 47158836 47173918 12 47157983,47161250,47162121,47163958,47164293,47164933,47165481,47166220,47167069,47168521,47169786,47173897, 47158896,47161373,47162180,47164054,47164387,47164993,47165561,47166311,47167183,47168730,47169877,47174143, 0 ANXA8 cmpl cmpl 0,0,1,1,0,0,1,0,0,1,0,0, 930 NR_001457 chr1 + 45244061 45244130 45244130 45244130 1 45244061, 45244130, 0 SNORD38B unk unk -1, 634 NM_002342 chr12 + 6493198 6500737 6493524 6500103 10 6493198,6493753,6494187,6494392,6495231,6495512,6497563,6497965,6499277,6499825, 6493620,6493850,6494313,6494545,6495328,6495610,6497671,6497991,6499506,6500737, 0 LTBR cmpl cmpl 0,0,1,1,1,2,1,1,0,1, 1018 NM_033280 chr18 + 56807124 56826063 56807180 56825917 6 56807124,56816744,56819767,56822919,56824839,56825863, 56807267,56816854,56819917,56823039,56824897,56826063, 0 SEC11C cmpl cmpl 0,0,2,2,2,0, 826 NM_080686 chr6 + 31588449 31605554 31590566 31605363 31 31588449,31590503,31591508,31592037,31592226,31592947,31593236,31593568,31593796,31594548,31594758,31595541,31596920,31597324,31598367,31598915,31601155,31601635,31602012,31602248,31602529,31602908,31603170,31603358,31603743,31603985,31604286,31604509,31604818,31605010,31605222, 31588635,31590678,31591686,31592137,31592299,31593091,31593388,31593648,31593939,31594639,31594975,31596016,31597111,31597622,31598578,31600769,31601424,31601766,31602142,31602334,31602754,31603049,31603242,31603526,31603826,31604196,31604385,31604722,31604913,31605101,31605554, 0 PRRC2A cmpl cmpl -1,0,1,2,0,1,1,0,2,1,2,0,1,0,1,2,2,1,0,1,0,0,0,0,0,2,0,0,0,2,0, 828 NM_181609 chr21 - 31863781 31864275 31864029 31864275 1 31863781, 31864275, 0 KRTAP19-3 cmpl cmpl 0, 811 NM_018950 chr6 + 29691116 29694303 29691240 29694184 7 29691116,29691434,29691949,29692807,29693223,29693787,29694179, 29691304,29691704,29692225,29693083,29693340,29693820,29694303, 0 HLA-F cmpl cmpl 0,1,1,1,1,1,1, 82 NR_103765 chr11 + 10329859 10452220 10452220 10452220 4 10329859,10352116,10432303,10451922, 10330220,10352256,10432523,10452220, 0 CAND1.11 unk unk -1,-1,-1,-1, 106 NM_001282676 chr11 - 35453375 35547579 35453903 35547133 9 35453375,35456059,35457450,35461174,35463028,35489548,35513592,35515643,35547060, 35454440,35456352,35457683,35461241,35463241,35489656,35513721,35515820,35547579, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,1,1,0, 1004 NM_004645 chr17 - 55015560 55038411 55016431 55038380 7 55015560,55019395,55023802,55026747,55027041,55027249,55038135, 55016515,55019484,55023872,55026795,55027128,55028357,55038411, 0 COIL cmpl cmpl 0,1,0,0,0,2,0, 91 NM_138340 chr18 - 19230857 19284766 19231551 19284626 9 19230857,19236821,19237064,19239130,19244078,19263880,19282276,19283544,19284464, 19231724,19236987,19237113,19239304,19244191,19263926,19282459,19283708,19284766, 0 ABHD3 cmpl cmpl 1,0,2,2,0,2,2,0,0, 1177 NM_174976 chr14 - 77597612 77608134 77600025 77606081 3 77597612,77605555,77607945, 77600291,77606095,77608134, 0 ZDHHC22 cmpl cmpl 1,0,-1, 1104 NM_001258024 chr15 + 68112041 68126174 68112041 68126174 15 68112041,68114280,68116296,68117057,68118273,68119201,68119931,68120348,68121516,68122528,68123155,68124611,68124944,68125529,68126079, 68112083,68114508,68116381,68117367,68118964,68119430,68120237,68120482,68121607,68122636,68123227,68124686,68125019,68125595,68126174, 0 SKOR1 cmpl cmpl 0,0,0,1,2,0,1,1,0,1,1,1,1,1,1, 1352 NM_001256385 chr1 - 100614003 100643829 100614923 100634072 11 100614003,100614921,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100638886,100643673, 100614653,100614991,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100638926,100643829, 0 LRRC39 cmpl cmpl -1,1,2,2,0,1,0,2,0,-1,-1, 1352 NM_001256386 chr1 - 100614003 100643829 100614597 100634072 10 100614003,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100638886,100643673, 100614653,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100638926,100643829, 0 LRRC39 cmpl cmpl 1,2,2,0,1,0,2,0,-1,-1, 1352 NM_001256387 chr1 - 100614003 100643829 100614597 100634072 9 100614003,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100643690, 100614653,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100643829, 0 LRRC39 cmpl cmpl 1,2,2,0,1,0,2,0,-1, 161 NM_001256373 chr12 - 92378751 92536447 92381353 92387179 5 92378751,92381331,92382872,92387145,92536382, 92380473,92381570,92382969,92387305,92536447, 0 C12orf79 cmpl cmpl -1,2,1,0,-1, 161 NM_001256374 chr12 - 92378751 92536447 92380401 92387179 5 92378751,92381331,92382872,92387145,92536382, 92380473,92381419,92382969,92387305,92536447, 0 C12orf79 cmpl cmpl 0,2,1,0,-1, 811 NR_001590 chr6 - 29718583 29718925 29718925 29718925 1 29718583, 29718925, 0 IFITM4P unk unk -1, 1344 NM_001174122 chr10 + 99496877 99520664 99498234 99519057 9 99496877,99498233,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497078,99498431,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,1,0,0,1,0,1, 1344 NM_001174120 chr10 + 99496877 99520664 99498234 99519057 10 99496877,99498233,99508025,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497078,99498431,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,2,1,0,0,1,0,1, 1344 NM_001174119 chr10 + 99496877 99520664 99498234 99519057 11 99496877,99498233,99504485,99508025,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497078,99498406,99504672,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,1,2,2,1,0,0,1,0,1, 1241 NM_001554 chr1 + 86046443 86049648 86046667 86048725 5 86046443,86047047,86047610,86048098,86048422, 86046730,86047261,86047967,86048307,86049648, 0 CYR61 cmpl cmpl 0,0,1,1,0, 930 NM_003738 chr1 - 45287937 45308616 45288086 45308604 22 45287937,45288740,45288914,45291921,45292159,45292573,45292838,45293073,45293514,45293967,45294177,45294653,45294828,45295073,45295285,45295580,45296519,45297377,45297646,45297823,45307518,45308532, 45288341,45288840,45289057,45292059,45292440,45292754,45292981,45293386,45293863,45294086,45294303,45294746,45294984,45295205,45295433,45295702,45296715,45297469,45297716,45298013,45307711,45308616, 0 PTCH2 cmpl cmpl 0,2,0,0,1,0,1,0,2,0,0,0,0,0,2,0,2,0,2,1,0,0, 1194 NM_001185077 chr17 - 79825596 79828790 79826751 79827806 6 79825596,79827048,79827205,79827417,79827616,79828511, 79826951,79827112,79827282,79827501,79827833,79828790, 0 ARHGDIA cmpl cmpl 1,0,1,1,0,-1, 193 NM_173685 chr8 + 126104082 126379367 126114572 126379127 8 126104082,126114292,126114558,126163412,126194344,126369460,126369953,126379009, 126104200,126114388,126114729,126163519,126194498,126369561,126370060,126379367, 0 NSMCE2 cmpl cmpl -1,-1,0,1,0,1,0,2, 1012 NM_020378 chr19 + 55996556 55998935 55997075 55998323 3 55996556,55997027,55997774, 55996625,55997147,55998935, 0 NAT14 cmpl cmpl -1,0,0, 942 NM_001256127 chr1 + 46806849 46830824 46810526 46827518 6 46806849,46810472,46812592,46818539,46826375,46827241, 46807537,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 cmpl cmpl -1,0,2,1,0,2, 1652 NM_004669 chr9 - 139889059 139891024 139889132 139890995 6 139889059,139889381,139889637,139889893,139890099,139890962, 139889291,139889557,139889744,139890019,139890209,139891024, 0 CLIC3 cmpl cmpl 0,1,2,2,0,0, 857 NM_001135730 chr22 + 35695796 35743987 35695921 35743202 14 35695796,35713869,35717951,35719020,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 cmpl cmpl 0,1,2,0,0,0,0,2,0,1,2,0,0,1, 857 NM_005488 chr22 + 35695796 35743987 35695921 35743202 15 35695796,35713869,35717951,35719020,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 cmpl cmpl 0,1,2,0,0,0,0,0,2,0,1,2,0,0,1, 216 NM_078483 chr5 + 150827162 150871940 150838353 150867815 11 150827162,150838348,150843113,150844074,150844634,150846759,150847267,150853233,150856150,150858880,150867543, 150827374,150838496,150843204,150844163,150844730,150846844,150847486,150853332,150856317,150859050,150871940, 0 SLC36A1 cmpl cmpl -1,0,2,0,2,2,0,0,0,2,1, 2128 NM_014176 chr1 - 202300784 202311094 202300962 202304882 7 202300784,202302137,202302364,202302577,202304116,202304773,202311022, 202301088,202302221,202302463,202302683,202304186,202304946,202311094, 0 UBE2T cmpl cmpl 0,0,0,2,1,0,-1, 2197 NM_006055 chr2 - 211295972 211341491 211299210 211341120 10 211295972,211300110,211300939,211302413,211305321,211306031,211319830,211336682,211341039,211341343, 211299287,211300183,211301116,211302596,211305468,211306167,211320038,211336800,211341136,211341491, 0 LANCL1 cmpl cmpl 1,0,0,0,0,2,1,0,0,-1, 167 NM_001199847 chr7 - 98625057 98741743 98628206 98741403 18 98625057,98630659,98633137,98634689,98636010,98638000,98639740,98643320,98645306,98647185,98648979,98649827,98652412,98654827,98655040,98658221,98659421,98741348, 98628306,98630735,98633339,98634810,98636148,98638179,98639855,98643424,98645505,98647332,98649064,98650069,98652488,98654893,98655174,98658330,98659460,98741743, 0 SMURF1 cmpl cmpl 2,1,0,2,2,0,2,0,2,2,1,2,1,1,2,1,1,0, 1392 NM_007227 chr2 + 105858199 105859924 105858315 105859434 1 105858199, 105859924, 0 GPR45 cmpl cmpl 0, 1351 NM_000665 chr7 - 100487614 100493541 100487834 100491853 5 100487614,100488789,100489954,100490785,100493422, 100487956,100488959,100490439,100491873,100493541, 0 ACHE cmpl cmpl 1,2,0,0,-1, 1147 NM_003356 chr11 - 73711325 73720282 73712456 73718087 7 73711325,73714871,73715528,73716774,73717213,73717961,73720022, 73712571,73715052,73715630,73716978,73717424,73718182,73720282, 0 UCP3 cmpl cmpl 2,1,1,1,0,0,-1, 1125 NM_000200 chr4 + 70894129 70902255 70896457 70898937 6 70894129,70896444,70897695,70897794,70898883,70901983, 70894233,70896508,70897716,70897824,70898970,70902255, 0 HTN3 cmpl cmpl -1,0,0,0,0,-1, 1681 NM_173552 chr3 + 143690639 143711210 143691174 143708683 3 143690639,143704384,143708351, 143691831,143704688,143711210, 0 C3orf58 cmpl cmpl 0,0,1, 123 NM_175834 chr12 - 53215230 53228077 53215655 53228044 9 53215230,53216128,53216799,53217670,53217981,53223806,53224015,53225189,53227567, 53215861,53216163,53217020,53217796,53218146,53223902,53224076,53225410,53228077, 0 KRT79 cmpl cmpl 1,2,0,0,0,0,2,0,0, 818 NM_133471 chr6 - 30644165 30655672 30645045 30653795 3 30644165,30646955,30652184, 30645065,30647166,30655672, 0 PPP1R18 cmpl cmpl 1,0,0, 1 NM_001166265 chr2 + 33359663 33624575 33359804 33623612 30 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482509,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33567904,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33568030,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 14 NM_145186 chr16 - 48200821 48269088 48201184 48265832 29 48200821,48201406,48204799,48209168,48210834,48212507,48218350,48220863,48221111,48226430,48227789,48230142,48231881,48232051,48234186,48237138,48239323,48242335,48244858,48247353,48248791,48249107,48250024,48256508,48258192,48261716,48264347,48265733,48269042, 48201277,48201571,48204878,48209328,48211024,48212597,48218537,48221001,48221338,48226628,48227893,48230232,48231978,48232186,48234390,48237211,48239448,48242407,48245110,48247461,48248940,48249255,48250198,48256742,48258340,48261875,48264484,48265850,48269088, 0 ABCC11 cmpl cmpl 0,0,2,1,0,0,2,2,0,0,1,1,0,0,0,2,0,0,0,0,1,0,0,0,2,2,0,0,-1, 969 NM_013277 chr12 - 50382944 50419307 50384050 50410498 19 50382944,50384466,50385780,50386027,50386332,50387913,50388196,50390822,50392923,50393398,50394954,50396029,50398017,50399038,50400216,50410413,50413526,50414844,50419180, 50384126,50384575,50385916,50386160,50386438,50388112,50388292,50390987,50393054,50393516,50395035,50396083,50398087,50399175,50400419,50410502,50413589,50414960,50419307, 0 RACGAP1 cmpl cmpl 2,1,0,2,1,0,0,0,1,0,0,0,2,0,1,0,-1,-1,-1, 1988 NM_138345 chr3 + 183948316 183960117 183948316 183959826 19 183948316,183948534,183950965,183951363,183952053,183952418,183952940,183953939,183954130,183954425,183955013,183956090,183956350,183957181,183957476,183958578,183958811,183958974,183959277, 183948455,183948705,183951185,183951521,183952185,183952543,183953096,183954050,183954339,183954537,183955199,183956262,183956661,183957371,183957824,183958716,183958895,183959192,183960117, 0 VWA5B2 cmpl cmpl 0,1,1,2,1,1,0,0,0,2,0,0,1,0,1,1,1,1,0, 200 NM_006059 chr9 + 133884503 133968446 133884601 133967174 28 133884503,133901671,133907431,133911552,133914250,133914517,133917023,133920910,133924406,133927877,133928236,133932315,133936421,133942346,133943464,133944294,133945058,133946870,133948016,133948631,133951217,133952573,133954535,133957445,133960910,133962862,133963104,133966923, 133884974,133901976,133907562,133911719,133914439,133914635,133917122,133921047,133924517,133928070,133928352,133932534,133936610,133942592,133943618,133944437,133945237,133947012,133948222,133948708,133951352,133952721,133954685,133957548,133961110,133963009,133963204,133968446, 0 LAMC3 cmpl cmpl 0,1,0,2,1,1,2,2,1,1,2,1,1,1,1,2,1,0,1,0,2,2,0,0,1,0,0,1, 1266 NM_004897 chr10 + 89264222 89313218 89264672 89312235 5 89264222,89268092,89272880,89280792,89311838, 89265309,89268290,89272978,89280926,89313218, 0 MINPP1 cmpl cmpl 0,1,1,0,2, 954 NR_024215 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A4 unk unk -1, 98 NM_018317 chr4 + 26585545 26756918 26585815 26756569 21 26585545,26614790,26616029,26622234,26638832,26640392,26641762,26661218,26667954,26673770,26675397,26685296,26689966,26719554,26721702,26737076,26741485,26744129,26750032,26755441,26756494, 26585914,26614863,26616075,26622310,26638907,26640456,26641809,26661329,26668027,26673809,26675510,26685371,26690029,26719639,26721747,26737109,26741595,26744221,26750148,26755512,26756918, 0 TBC1D19 cmpl cmpl 0,0,1,2,0,0,1,0,0,1,1,0,0,0,1,1,1,0,2,1,0, 87 NM_001168342 chr9 - 15170841 15250198 15172016 15211382 18 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15249915, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15214247,15250198, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,0,-1,-1, 606 NR_033851 chr6 - 2854890 2876744 2876744 2876744 2 2854890,2876526, 2855924,2876744, 0 MGC39372 unk unk -1,-1, 189 NR_033850 chr10 - 122521323 122610691 122610691 122610691 3 122521323,122536246,122610205, 122523187,122536396,122610691, 0 WDR11-AS1 unk unk -1,-1,-1, 149 NM_024083 chr17 + 79935425 79975282 79935522 79975198 16 79935425,79937059,79941429,79943382,79952696,79953867,79954295,79966912,79967361,79968677,79969418,79970106,79974351,79974675,79974816,79975184, 79935624,79937115,79941544,79943483,79952754,79953941,79954722,79967067,79967443,79968744,79969481,79970159,79974403,79974745,79974989,79975282, 0 ASPSCR1 cmpl cmpl 0,0,2,0,2,0,2,0,2,0,1,1,0,1,2,1, 169 NM_024642 chr9 + 101569980 101612363 101569980 101611374 10 101569980,101585537,101589033,101594053,101597530,101599253,101602283,101606377,101608258,101611233, 101570351,101585707,101589223,101594239,101597648,101599430,101602415,101606491,101608405,101612363, 0 GALNT12 cmpl cmpl 0,2,1,2,2,0,0,0,0,0, 115 NM_021927 chr4 + 44680432 44702697 44680639 44700698 17 44680432,44682457,44682710,44683139,44684350,44685251,44687975,44688526,44690023,44691302,44691859,44692733,44693682,44696428,44697631,44699424,44700560, 44680804,44682569,44682859,44683220,44684428,44685335,44688040,44688730,44690163,44691426,44691992,44692877,44693816,44696530,44697751,44699461,44702697, 0 GUF1 cmpl cmpl 0,0,1,0,0,0,0,2,2,1,2,0,0,2,2,2,0, 1203 NM_015251 chr16 + 81069457 81080951 81069475 81078575 4 81069457,81074960,81075885,81076765, 81069811,81075086,81076085,81080951, 0 ATMIN cmpl cmpl 0,0,0,2, 838 NM_001205265 chr16 + 33262119 33264719 33262149 33263252 2 33262119,33263181, 33262387,33264719, 0 TP53TG3B cmpl cmpl 0,1, 834 NM_001205265 chr16 - 32684848 32687448 32686315 32687418 2 32684848,32687180, 32686386,32687448, 0 TP53TG3B cmpl cmpl 1,0, 1879 NM_000655 chr1 - 169659805 169680843 169660924 169680678 9 169659805,169665675,169670700,169672395,169673708,169676482,169677557,169679576,169680636, 169660943,169665694,169670829,169672581,169673894,169676590,169677944,169679658,169680843, 0 SELL cmpl cmpl 2,1,1,1,1,1,1,0,0, 1513 NM_001199799 chr3 - 121706169 121741127 121707213 121740924 8 121706169,121711996,121713028,121720154,121720591,121724090,121725837,121740866, 121707255,121712817,121713160,121720301,121720711,121724240,121726008,121741127, 0 ILDR1 cmpl cmpl 0,1,1,1,1,1,1,0, 606 NM_001145276 chrY + 2803111 2850547 2821977 2848034 7 2803111,2821949,2843135,2843551,2844710,2845980,2846850, 2803487,2822038,2843285,2843695,2844863,2846121,2850547, 0 ZFY cmpl cmpl -1,0,1,1,1,1,1, 1926 NM_001079685 chr5 - 175773063 175788810 175774602 175786511 8 175773063,175774923,175775252,175777615,175779624,175782573,175786483,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175786570,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,1,0,-1, 1926 NM_001079684 chr5 - 175773063 175788810 175774602 175782723 8 175773063,175774923,175775252,175777615,175779624,175782573,175786813,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175786921,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,0,-1,-1, 914 NM_021016 chr19 - 43225793 43244668 43228133 43244536 7 43225793,43228093,43233274,43233929,43236935,43242875,43244472, 43226242,43228177,43233529,43234208,43237214,43243241,43244668, 0 PSG3 cmpl cmpl -1,1,1,1,1,1,0, 820 NM_013993 chr6 + 30852326 30867933 30856506 30867073 19 30852326,30853401,30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30863180,30864397,30864790,30865155,30865849,30866664,30866932, 30852487,30853457,30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30863291,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl -1,-1,0,1,2,0,1,2,0,1,1,0,1,1,0,2,2,0,0, 9 NM_017575 chr17 - 1963132 2207069 1964785 2207014 19 1963132,1968366,1968761,1972071,1985103,1989018,2075951,2089956,2091692,2139785,2147951,2185940,2186918,2195845,2196164,2200536,2201156,2202199,2206926, 1964916,1968448,1968973,1972225,1985250,1989195,2076153,2090125,2091809,2139931,2148013,2186153,2187029,2195924,2196271,2200647,2201349,2203958,2207069, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,2,1,1,2,0,0,0,2,0,0,2,1,0, 1265 NM_001243279 chr16 + 89160216 89222254 89167089 89220615 11 89160216,89164998,89167069,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160404,89165171,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,-1,0,0,0,2,1,0,1,1,2, 77 NM_001201479 chr16 - 4390251 4466962 4390319 4466519 31 4390251,4390920,4391368,4393207,4405286,4407168,4407968,4408367,4409296,4409480,4410278,4410444,4410943,4411162,4411361,4411985,4412612,4414276,4414597,4414775,4415003,4415491,4437986,4438545,4445289,4455491,4457501,4458181,4462356,4463308,4466459, 4390406,4390986,4391505,4393292,4405373,4407260,4408104,4408484,4409386,4409622,4410364,4410549,4411086,4411249,4411470,4412161,4412739,4414414,4414690,4414921,4415061,4415546,4438069,4438632,4445340,4455568,4457685,4458252,4462431,4463405,4466962, 0 CORO7-PAM16 cmpl cmpl 0,0,1,0,0,1,0,0,0,2,0,0,1,1,0,1,0,0,0,1,0,2,0,0,0,1,0,1,1,0,0, 158 NM_052941 chr1 - 89646830 89664633 89650936 89664517 11 89646830,89652015,89652682,89654264,89655720,89656943,89658586,89658985,89660979,89662792,89664477, 89651152,89652209,89652785,89654477,89656001,89657189,89658783,89659095,89661107,89662987,89664633, 0 GBP4 cmpl cmpl 0,1,0,0,1,1,2,0,1,1,0, 734 NR_039706 chr11 + 19596856 19596919 19596919 19596919 1 19596856, 19596919, 0 MIR4486 unk unk -1, 1767 NR_049765 chr1 + 154975105 154991001 154991001 154991001 4 154975105,154975318,154987130,154988695, 154975162,154975419,154988290,154991001, 0 ZBTB7B unk unk -1,-1,-1,-1, 587 NM_001176 chr16 + 330605 333003 330680 332814 6 330605,331745,332024,332296,332466,332614, 330753,331925,332108,332373,332530,333003, 0 ARHGDIG cmpl cmpl 0,1,1,1,0,1, 83 NM_001173461 chr17 + 11144739 11467380 11144739 11461621 4 11144739,11166682,11459056,11461070, 11145377,11166843,11459209,11467380, 0 SHISA6 cmpl cmpl 0,2,1,1, 220 NM_181359 chr1 + 154377668 154441926 154378105 154437641 9 154377668,154401671,154402958,154406994,154407465,154408444,154420600,154422386,154437609, 154378190,154401920,154403082,154407176,154407632,154408586,154420647,154422456,154441926, 0 IL6R cmpl cmpl 0,1,1,2,1,0,1,0,1, 942 NR_045790 chr1 + 46805848 46830824 46830824 46830824 5 46805848,46810472,46818539,46826375,46827241, 46806591,46810816,46818700,46826500,46830824, 0 NSUN4 unk unk -1,-1,-1,-1,-1, 923 NM_172131 chr20 - 44313289 44333658 44313468 44333630 3 44313289,44333135,44333556, 44313599,44333200,44333658, 0 WFDC10B cmpl cmpl 1,2,0, 127 NM_001178054 chr12 - 57403780 57410344 57406162 57409581 6 57403780,57406161,57407142,57407361,57409467,57410170, 57404072,57406236,57407172,57407455,57409586,57410344, 0 TAC3 cmpl cmpl -1,1,1,0,0,-1, 896 NM_020783 chr18 - 40847856 40857615 40850305 40857246 4 40847856,40851676,40853544,40857212, 40850613,40851797,40854359,40857615, 0 SYT4 cmpl cmpl 1,0,1,0, 1607 NM_020815 chr4 + 134070469 134074404 134071295 134073986 1 134070469, 134074404, 0 PCDH10 cmpl cmpl 0, 85 NM_030640 chr12 - 12626215 12715448 12629766 12674032 7 12626215,12633156,12639961,12653452,12672795,12673804,12715050, 12630949,12633280,12640121,12653616,12672934,12674397,12715448, 0 DUSP16 cmpl cmpl 2,1,0,1,0,0,-1, 1025 NM_001130406 chr13 + 57721621 57724643 57722008 57723695 3 57721621,57721989,57723081, 57721835,57722060,57724643, 0 PRR20D cmpl cmpl -1,0,1, 1025 NM_001130406 chr13 + 57728194 57731216 57728581 57730268 3 57728194,57728562,57729654, 57728408,57728633,57731216, 0 PRR20D cmpl cmpl -1,0,1, 127 NM_013251 chr12 - 57403780 57410344 57406162 57409581 7 57403780,57406161,57406605,57407142,57407361,57409467,57410170, 57404072,57406236,57406659,57407172,57407455,57409586,57410344, 0 TAC3 cmpl cmpl -1,1,1,1,0,0,-1, 608 NM_022468 chr16 + 3096681 3110724 3096918 3109099 10 3096681,3097415,3100009,3100254,3107033,3107310,3107531,3108181,3108412,3108827, 3097017,3097548,3100145,3100547,3107210,3107395,3107614,3108334,3108670,3110724, 0 MMP25 cmpl cmpl 0,0,1,2,1,1,2,1,1,1, 2042 NM_033178 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4 cmpl cmpl 0, 692 NM_145287 chr18 - 14099941 14132489 14104915 14132276 3 14099941,14124348,14132273, 14106408,14124475,14132489, 0 ZNF519 cmpl cmpl 1,0,0, 2416 NR_046582 chr1 - 240061318 240063172 240063172 240063172 2 240061318,240063063, 240061692,240063172, 0 CHRM3-AS1 unk unk -1,-1, 125 NM_001287753 chr6 - 55299170 55444012 55300459 55443853 6 55299170,55304231,55360216,55406526,55406857,55443745, 55300561,55304357,55360405,55406634,55406938,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,0,0,0, 246 NR_033918 chr4 - 181985242 182080302 182080302 182080302 3 181985242,182076765,182080228, 181985633,182076892,182080302, 0 LINC00290 unk unk -1,-1,-1, 620 NM_017913 chr9 + 4679565 4706594 4679767 4706112 7 4679565,4684876,4688512,4697095,4697756,4701863,4706010, 4679899,4685158,4688606,4697211,4697879,4702028,4706594, 0 CDC37L1 cmpl cmpl 0,0,0,1,0,0,0, 87 NM_152396 chr3 - 15451376 15469042 15452762 15468018 6 15451376,15455527,15457278,15466461,15467793,15468908, 15452944,15455669,15457449,15466596,15468142,15469042, 0 METTL6 cmpl cmpl 1,0,0,0,0,-1, 1653 NM_000832 chr9 + 140033608 140063214 140033938 140062294 19 140033608,140036464,140040177,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140062225, 140034196,140036599,140040354,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0, 811 NM_002433 chr6 + 29624757 29640149 29624986 29639227 8 29624757,29627095,29633928,29635419,29635680,29638057,29638477,29639198, 29625074,29627443,29634042,29635440,29635701,29638174,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 1743 NM_005361 chrX + 151883074 151887096 151885595 151886540 4 151883074,151884445,151885384,151885530, 151883346,151884565,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,0, 1744 NM_005361 chrX - 151918386 151922408 151918942 151919887 4 151918386,151920032,151920917,151922136, 151919952,151920098,151921037,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1, 149 NM_001251888 chr17 + 79935425 79975282 79935522 79975198 17 79935425,79937059,79941429,79943382,79952696,79953867,79954295,79966912,79967361,79968677,79969418,79970106,79972950,79974351,79974675,79974816,79975184, 79935624,79937115,79941544,79943483,79952754,79953941,79954722,79967067,79967443,79968744,79969481,79970159,79973232,79974403,79974745,79974989,79975282, 0 ASPSCR1 cmpl cmpl 0,0,2,0,2,0,2,0,2,0,1,1,0,0,1,2,1, 793 NM_080654 chr11 - 27370418 27384795 27371794 27384741 3 27370418,27378949,27384382, 27371986,27379088,27384795, 0 CCDC34 cmpl cmpl 0,2,0, 113 NR_024380 chr10 - 42827313 42863493 42863493 42863493 3 42827313,42835948,42863263, 42833688,42836004,42863493, 0 LOC441666 unk unk -1,-1,-1, 170 NM_001242560 chr2 + 102314164 102511152 102314542 102507711 31 102314164,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102480282,102481391,102482889,102483673,102484490,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102480513,102481498,102483041,102483771,102484499,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,0,2,0,1,1,1,1,0,0,1,0, 1158 NM_020447 chr15 - 75192327 75199462 75194959 75199141 5 75192327,75197004,75197494,75198618,75198927, 75195127,75197053,75197572,75198706,75199462, 0 FAM219B cmpl cmpl 0,2,2,1,0, 142 NM_170744 chr10 + 72972291 73062635 72972742 73059034 17 72972291,73039577,73044476,73045082,73046445,73047354,73048324,73048714,73050671,73051188,73052223,73053161,73053456,73055567,73056334,73057665,73058868, 72972821,73039802,73044620,73045186,73046626,73047522,73048489,73048747,73050866,73051578,73052311,73053330,73053690,73055717,73056499,73057847,73062635, 0 UNC5B cmpl cmpl 0,1,1,1,0,1,1,1,1,1,1,2,0,0,0,0,2, 700 NM_022340 chr3 - 15111579 15140655 15115288 15137627 14 15111579,15117112,15118568,15119581,15122238,15123873,15126241,15126506,15127367,15131905,15137479,15138041,15139625,15140541, 15116437,15117217,15118671,15119668,15122309,15124115,15126403,15126552,15127468,15132046,15137795,15138217,15139781,15140655, 0 ZFYVE20 cmpl cmpl 0,0,2,2,0,1,1,0,1,1,0,-1,-1,-1, 182 NM_003358 chr9 + 114659205 114695433 114659495 114695277 9 114659205,114676884,114685128,114687056,114688663,114691779,114693550,114694449,114695106, 114659593,114677026,114685231,114687158,114688776,114691958,114693637,114694639,114695433, 0 UGCG cmpl cmpl 0,2,0,1,1,0,2,2,0, 79 NM_001145118 chr7 - 6536408 6591067 6537404 6591067 22 6536408,6537694,6541411,6541619,6542416,6542638,6543121,6544423,6545450,6547615,6548588,6549913,6550239,6550538,6554005,6560208,6561059,6561518,6565854,6566151,6579348,6590638, 6537476,6537859,6541530,6541749,6542503,6542794,6543318,6544501,6545538,6548032,6548944,6550031,6550337,6550670,6554160,6560392,6561154,6561588,6565940,6566400,6579503,6591067, 0 GRID2IP cmpl cmpl 0,0,1,0,0,0,1,1,0,0,1,0,1,1,2,1,2,1,2,2,0,0, 82 NM_001077526 chr3 + 9691116 9744078 9691267 9743657 18 9691116,9695304,9703950,9710402,9711115,9712731,9714368,9719000,9719667,9724861,9726268,9726571,9726894,9729504,9730379,9730627,9731647,9743473, 9691426,9695453,9704059,9710478,9711176,9712854,9714442,9719071,9719742,9724928,9726354,9726648,9726931,9729575,9730438,9730766,9731827,9744078, 0 MTMR14 cmpl cmpl 0,0,2,0,1,2,2,1,0,0,1,0,2,0,2,1,2,2, 987 NM_001164417 chrX + 52780280 52790617 52781757 52789521 8 52780280,52781737,52782264,52782914,52784876,52786930,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52789525,52790617, 0 SSX2B cmpl cmpl -1,0,0,1,1,0,1,-1, 738 NM_001243537 chr22 - 20136108 20137431 20136136 20137261 6 20136108,20136397,20136709,20136934,20137103,20137246, 20136323,20136447,20136767,20136999,20137163,20137431, 0 LOC388849 cmpl cmpl 2,0,2,0,0,0, 217 NM_001242767 chr6 + 151186814 151423023 151186958 151413692 28 151186814,151197225,151198769,151198908,151203897,151206769,151208977,151226785,151239712,151243340,151247257,151257939,151259834,151265621,151266602,151270166,151277130,151281410,151286104,151293082,151330954,151334914,151336015,151336651,151355628,151358100,151413602,151422661, 151187185,151197310,151198820,151198962,151204022,151206870,151209117,151226897,151239804,151243438,151247431,151258076,151259881,151265729,151266677,151270269,151277207,151281551,151286173,151293194,151331094,151334956,151336116,151336829,151355736,151358253,151413723,151423023, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 969 NM_001258018 chr19 - 50392912 50432796 50392926 50404974 10 50392912,50394227,50394661,50397524,50398324,50399071,50404895,50407455,50430950,50432582, 50393857,50394364,50394730,50397726,50398437,50399310,50405136,50407578,50431072,50432796, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1,-1,-1, 108 NM_080552 chr20 + 37353104 37358015 37353367 37357282 2 37353104,37356094, 37353757,37358015, 0 SLC32A1 cmpl cmpl 0,0, 209 NM_145003 chr8 - 143293440 143484543 143310844 143436085 14 143293440,143310833,143356141,143365773,143381846,143395744,143396363,143399904,143412261,143413114,143425326,143427103,143435997,143484464, 143293674,143310940,143356224,143365846,143382005,143395801,143396453,143399995,143412331,143413192,143425833,143427253,143436124,143484543, 0 TSNARE1 cmpl cmpl -1,0,1,0,0,0,0,2,1,1,1,1,0,-1, 861 NM_145000 chr5 - 36249103 36302011 36249755 36301518 14 36249103,36251414,36253748,36255571,36257042,36257555,36260881,36262040,36265060,36265550,36269491,36270052,36271354,36301427, 36249799,36251601,36253891,36255692,36257173,36257658,36260966,36262144,36265200,36265622,36269569,36270092,36271413,36302011, 0 RANBP3L cmpl cmpl 1,0,1,0,1,0,2,0,1,1,1,0,1,0, 240 NM_052899 chr5 - 176022802 176037131 176023808 176026835 2 176022802,176036999, 176026878,176037131, 0 GPRIN1 cmpl cmpl 0,-1, 1102 NM_001288990 chr16 + 67840780 67861971 67841052 67861896 16 67840780,67848204,67854741,67855001,67857528,67858485,67859039,67859569,67859819,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67854854,67855128,67857622,67858682,67859175,67859739,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl 0,2,0,2,0,1,0,1,0,1,0,0,0,2,0,2, 111 NM_004310 chr4 + 40198526 40246384 40245006 40245582 3 40198526,40244333,40244797, 40198920,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 1194 NM_004309 chr17 - 79825596 79829282 79826751 79827806 6 79825596,79827048,79827205,79827417,79827616,79829173, 79826951,79827112,79827282,79827501,79827833,79829282, 0 ARHGDIA cmpl cmpl 1,0,1,1,0,-1, 87 NM_001168340 chr9 - 15170841 15307358 15172016 15307321 19 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189701,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15225914,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15214247,15226010,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,1,0,0,2,0,1,2,2,2,2,0,0, 2477 NM_015431 chr1 + 248020500 248043438 248020548 248039791 6 248020500,248023918,248028006,248031146,248031264,248039201, 248020968,248024014,248028237,248031169,248031365,248043438, 0 TRIM58 cmpl cmpl 0,0,0,0,2,1, 1099 NM_020948 chr1 + 67390577 67454302 67394586 67450583 15 67390577,67391824,67394572,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1, 1659 NM_002588 chr5 + 140855568 140892544 140855683 140890740 4 140855568,140874373,140884959,140890513, 140858113,140874432,140885048,140892544, 0 PCDHGC3 cmpl cmpl 0,0,2,1, 1513 NM_175924 chr3 - 121706169 121741127 121707213 121740924 7 121706169,121711996,121720154,121720591,121724090,121725837,121740866, 121707255,121712817,121720301,121720711,121724240,121726008,121741127, 0 ILDR1 cmpl cmpl 0,1,1,1,1,1,0, 128 NM_004811 chr11 - 58294343 58343390 58294926 58343245 9 58294343,58295515,58317258,58317445,58318537,58322313,58331627,58338028,58343232, 58295196,58295664,58317340,58317619,58318705,58322413,58331674,58338186,58343390, 0 LPXN cmpl cmpl 0,1,0,0,0,2,0,1,0, 164 NM_001289074 chr10 + 96305523 96361856 96341133 96361379 23 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96336838,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336466,96336853,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,2,0,0,0,0,1,2,1, 157 NM_012381 chr6 + 88299784 88377172 88299886 88376841 20 88299784,88304070,88311501,88313101,88315634,88317390,88318813,88321806,88326031,88331071,88331667,88344562,88346124,88362833,88366623,88367638,88372720,88374460,88375471,88376735, 88299910,88304125,88311599,88313246,88315739,88317542,88318947,88321966,88326145,88331205,88331731,88344679,88346204,88362967,88366700,88367736,88372862,88374577,88375551,88377172, 0 ORC3 cmpl cmpl 0,0,1,0,1,1,0,2,0,0,2,0,0,2,1,0,2,0,0,2, 98 NM_017877 chr2 + 26987141 27004099 26987217 27001379 6 26987141,26997118,26997911,26998331,26999239,27000909, 26987294,26997191,26998083,26998544,26999350,27004099, 0 SLC35F6 cmpl cmpl 0,2,0,1,1,1, 178 NM_178584 chr2 - 110300373 110371783 110301885 110371404 10 110300373,110303626,110310663,110321942,110323339,110325391,110332157,110342702,110343297,110371374, 110301901,110303814,110310796,110322111,110323436,110325553,110332344,110342898,110343415,110371783, 0 SEPT10 cmpl cmpl 2,0,2,1,0,0,2,1,0,0, 946 NM_002804 chr11 - 47440319 47448024 47440385 47447830 12 47440319,47440666,47441814,47442181,47444124,47444380,47445596,47445979,47446157,47446671,47447417,47447755, 47440496,47440748,47441960,47442278,47444273,47444524,47445734,47446042,47446262,47446797,47447501,47448024, 0 PSMC3 cmpl cmpl 0,2,0,2,0,0,0,0,0,0,0,0, 1776 NM_022367 chr1 + 156123321 156147542 156124369 156146788 15 156123321,156124340,156126204,156127860,156128178,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156123555,156124508,156126365,156127923,156128277,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,1,0,0,0,1,1,0,2,0,1,0,2,1, 164 NM_006260 chr13 + 96329392 96447243 96329509 96443284 12 96329392,96361480,96375495,96377431,96409897,96412293,96412932,96415896,96416086,96438192,96439260,96443126, 96329591,96361591,96375620,96377506,96410050,96412475,96413052,96416002,96416207,96438325,96439409,96447243, 0 DNAJC3 cmpl cmpl 0,1,1,0,0,0,2,2,0,1,2,1, 1762 NM_024332 chrX + 154299694 154351349 154299802 154348425 12 154299694,154300601,154301651,154305444,154306890,154317537,154319058,154327589,154344331,154344985,154348273,154349497, 154299925,154300618,154301706,154305564,154306978,154317626,154319114,154327664,154344463,154345029,154348443,154351349, 0 BRCC3 cmpl cmpl 0,0,2,0,0,1,0,2,2,2,1,-1, 935 NM_001166049 chr19 - 45910590 45927177 45912932 45926632 9 45910590,45916934,45918118,45920078,45922355,45923581,45924435,45926527,45927038, 45912983,45917003,45918218,45920155,45922455,45923685,45924651,45926639,45927177, 0 ERCC1 cmpl cmpl 0,0,2,0,2,0,0,0,-1, 1356 NR_024096 chr14 + 101123604 101139081 101139081 101139081 2 101123604,101137897, 101124047,101139081, 0 LINC00523 unk unk -1,-1, 911 NM_015349 chr6 + 42788793 42836296 42789760 42833184 12 42788793,42789755,42790533,42790672,42796230,42819829,42821375,42823593,42824828,42827999,42830247,42832396, 42788951,42789801,42790582,42790741,42797910,42819935,42821476,42823655,42824974,42828094,42830350,42836296, 0 GLTSCR1L cmpl cmpl -1,0,2,0,0,0,1,0,2,1,0,1, 12 NM_001001992 chr21 + 30396937 30426807 30400234 30426508 18 30396937,30400193,30402915,30407157,30408591,30409599,30410655,30411346,30411801,30412929,30414333,30414792,30415743,30418987,30421081,30422412,30426122,30426386, 30397098,30400295,30403094,30407261,30408695,30409784,30410751,30411477,30411889,30413008,30414425,30414849,30415920,30419642,30421176,30422499,30426279,30426807, 0 USP16 cmpl cmpl -1,0,1,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1, 1767 NR_046206 chr1 + 154975105 154991001 154991001 154991001 5 154975105,154975318,154986490,154987130,154988695, 154975162,154975419,154986569,154988290,154991001, 0 ZBTB7B unk unk -1,-1,-1,-1,-1, 87 NM_001184958 chr3 + 14716605 14814543 14724586 14814382 17 14716605,14723676,14724481,14725748,14731503,14744636,14745843,14755513,14756795,14763159,14768407,14769945,14798877,14801397,14802979,14813573,14814297, 14716759,14723838,14724704,14725889,14731623,14744769,14746125,14755666,14756916,14763291,14768531,14770195,14799181,14801505,14803122,14813708,14814543, 0 C3orf20 cmpl cmpl -1,-1,0,1,1,1,2,2,2,0,0,1,2,0,0,2,2, 220 NM_001206866 chr1 + 154377668 154410561 154378105 154410020 7 154377668,154401671,154402958,154406994,154407465,154408444,154409910, 154378190,154401920,154403082,154407176,154407632,154408586,154410561, 0 IL6R cmpl cmpl 0,1,1,2,1,0,1, 718 NM_138401 chr19 + 17530911 17536140 17530944 17535802 9 17530911,17531121,17531346,17533140,17534306,17534501,17534814,17535429,17535739, 17531034,17531220,17531443,17533267,17534426,17534608,17534876,17535486,17536140, 0 MVB12A cmpl cmpl 0,0,0,1,2,2,1,0,0, 1924 NM_001039523 chr2 - 175612322 175629200 175612851 175629122 10 175612322,175613307,175614673,175618230,175618946,175622293,175622673,175624058,175624215,175629079, 175612983,175613547,175614897,175618468,175619142,175622403,175622748,175624103,175624361,175629200, 0 CHRNA1 cmpl cmpl 0,0,1,0,2,0,0,0,1,0, 898 NM_001258420 chr15 + 41099273 41106767 41099787 41106424 10 41099273,41101316,41101605,41102049,41102268,41102846,41105535,41105910,41106140,41106345, 41100066,41101438,41101656,41102168,41102414,41102955,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl 0,0,2,2,1,0,1,0,0,2, 158 NM_001271602 chr4 + 89513573 89629693 89571118 89628111 25 89513573,89516707,89570990,89573162,89574019,89575192,89576324,89577025,89579565,89583581,89585303,89588527,89589042,89591010,89591289,89597368,89597484,89599114,89601243,89602309,89607886,89608367,89625248,89625658,89627902, 89513725,89516765,89571150,89573239,89574241,89575284,89576455,89577186,89579642,89583706,89585363,89588639,89589232,89591174,89591403,89597392,89597574,89599285,89601387,89602476,89607953,89608450,89625432,89625761,89629693, 0 HERC3 cmpl cmpl -1,-1,0,2,1,1,0,2,1,0,2,2,0,1,0,0,0,0,0,0,2,0,2,0,1, 1654 NM_001177316 chr9 + 140125208 140131006 140126154 140130868 13 140125208,140126115,140126523,140127026,140127235,140127455,140127660,140128084,140128314,140128560,140128867,140129058,140130403, 140125390,140126239,140126613,140127155,140127379,140127567,140127856,140128174,140128393,140128728,140128984,140129183,140131006, 0 SLC34A3 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 1012 NM_182633 chr7 + 55980330 56008433 55980368 56007699 4 55980330,55990854,55991299,56006674, 55980416,55990981,55991392,56008433, 0 ZNF713 cmpl cmpl 0,0,1,1, 1654 NM_001190228 chr9 + 140122017 140124090 140122787 140123538 3 140122017,140122603,140123073, 140122313,140122793,140124090, 0 RNF224 cmpl cmpl -1,0,0, 952 NM_001098532 chr12 - 48128452 48152181 48131349 48151741 27 48128452,48131804,48131975,48132472,48132925,48133923,48134087,48134424,48134697,48135287,48137312,48137769,48140642,48141326,48141494,48141856,48142236,48142601,48143172,48143523,48143712,48144123,48144830,48145181,48145505,48145698,48151648, 48131468,48131876,48132030,48132537,48133013,48133974,48134178,48134606,48134823,48135385,48137459,48137851,48140682,48141409,48141645,48141935,48142325,48142714,48143319,48143600,48143773,48144208,48144999,48145303,48145612,48145752,48152181, 0 RAPGEF3 cmpl cmpl 1,1,0,1,0,0,2,0,0,1,1,0,2,0,2,1,2,0,0,1,0,2,1,2,0,0,0, 717 NR_003607 chr22 + 17308363 17310225 17310225 17310225 2 17308363,17309431, 17308950,17310225, 0 HSFY1P1 unk unk -1,-1, 656 NM_001256867 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L30 cmpl cmpl 0, 655 NM_001256863 chr4 + 9259849 9261442 9259849 9261442 1 9259849, 9261442, 0 USP17L22 cmpl cmpl 0, 942 NR_045791 chr1 + 46805848 46830824 46830824 46830824 5 46805848,46810472,46818539,46826375,46827241, 46806591,46810634,46818700,46826500,46830824, 0 NSUN4 unk unk -1,-1,-1,-1,-1, 840 NM_018096 chr17 - 33458340 33469334 33459455 33469294 13 33458340,33460189,33460357,33462267,33463187,33463380,33464019,33464561,33464832,33466253,33466867,33468997,33469276, 33459468,33460260,33460517,33462470,33463234,33463516,33464212,33464659,33464909,33466333,33467085,33469141,33469334, 0 NLE1 cmpl cmpl 2,0,2,0,1,0,2,0,1,2,0,0,0, 743 NR_002159 chrY - 20743091 20752407 20752407 20752407 5 20743091,20749297,20750016,20750491,20752265, 20744234,20749434,20750130,20750592,20752407, 0 TTTY9B unk unk -1,-1,-1,-1,-1, 744 NR_002159 chrY + 20891767 20901083 20901083 20901083 5 20891767,20893582,20894044,20894740,20899940, 20891909,20893683,20894158,20894877,20901083, 0 TTTY9B unk unk -1,-1,-1,-1,-1, 128 NM_001164317 chr3 + 57994126 58157982 57994291 58156489 47 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58117653,58118534,58120342,58121705,58124008,58127584,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58117746,58118658,58120499,58121895,58124256,58127656,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,1,2,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 1627 NM_003413 chrX + 136648345 136654259 136648850 136652229 3 136648345,136651060,136652049, 136649910,136651224,136654259, 0 ZIC3 cmpl cmpl 0,1,0, 606 NM_003411 chrY + 2803517 2850547 2821977 2848034 8 2803517,2821949,2829114,2843135,2843551,2844710,2845980,2846850, 2803810,2822038,2829687,2843285,2843695,2844863,2846121,2850547, 0 ZFY cmpl cmpl -1,0,1,1,1,1,1,1, 90 NM_001130009 chr2 + 17935413 17966632 17941210 17963206 14 17935413,17941195,17942662,17946163,17947845,17950004,17952462,17953900,17954362,17954485,17955537,17959268,17961244,17961887, 17935612,17941371,17942849,17946340,17947956,17950078,17952554,17954051,17954399,17954566,17955668,17959330,17961388,17966632, 0 GEN1 cmpl cmpl -1,0,2,0,0,0,2,1,2,0,0,2,1,1, 600 NM_005262 chr16 + 2034149 2037750 2034219 2036029 3 2034149,2034747,2035866, 2034477,2034944,2037750, 0 GFER cmpl cmpl 0,0,2, 657 NM_145054 chr17 + 9479943 9546776 9480012 9546515 14 9479943,9489089,9490014,9497509,9501550,9503383,9511435,9515625,9531988,9536204,9538721,9541925,9545040,9546339, 9480082,9489289,9490151,9497638,9501650,9503500,9511536,9515796,9532137,9536350,9538873,9542028,9545152,9546776, 0 WDR16 cmpl cmpl 0,1,0,2,2,0,0,2,2,1,0,2,0,1, 238 NM_172071 chr1 - 173900351 173962210 173907858 173962123 19 173900351,173910402,173912579,173915613,173915883,173916506,173921123,173930214,173930862,173933110,173933976,173939642,173941646,173947625,173949946,173951864,173952555,173953636,173961892, 173908009,173910518,173912753,173915746,173915974,173916720,173921276,173930382,173931233,173933325,173934258,173939755,173941765,173947758,173950147,173952040,173952795,173953757,173962210, 0 RC3H1 cmpl cmpl 2,0,0,2,1,0,0,0,1,2,2,0,1,0,0,1,1,0,0, 1743 NM_175743 chrX + 151883074 151887096 151885595 151886540 6 151883074,151883567,151884445,151885136,151885384,151885530, 151883171,151883646,151884565,151885234,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,-1,-1,0, 1744 NM_175743 chrX - 151918386 151922408 151918942 151919887 6 151918386,151920032,151920248,151920917,151921836,151922311, 151919952,151920098,151920346,151921037,151921915,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1,-1,-1, 1743 NM_175742 chrX + 151883074 151887096 151885595 151886540 6 151883074,151883335,151883567,151884445,151885384,151885530, 151883171,151883417,151883646,151884565,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,-1,-1,0, 597 NM_182838 chr1 - 1658823 1677438 1663893 1670996 6 1658823,1666128,1669759,1670360,1670674,1677162, 1663962,1666274,1669887,1670496,1671143,1677438, 0 SLC35E2 cmpl cmpl 0,1,2,1,0,-1, 970 NR_102736 chr14 - 50474030 50506602 50506602 50506602 6 50474030,50477323,50477651,50505732,50506109,50506398, 50474137,50477403,50477744,50505975,50506187,50506602, 0 RP11-58E21.3 unk unk -1,-1,-1,-1,-1,-1, 961 NM_198562 chr3 - 49306029 49314508 49308612 49314305 3 49306029,49311481,49313859, 49308878,49311573,49314508, 0 C3orf62 cmpl cmpl 1,2,0, 2257 NM_198559 chr2 + 219221578 219232817 219221607 219232687 10 219221578,219221817,219222256,219222759,219225295,219227457,219229350,219231746,219232152,219232444, 219221632,219221910,219222457,219222815,219225382,219227625,219229475,219231823,219232241,219232817, 0 CATIP cmpl cmpl 0,1,1,1,0,0,0,2,1,0, 656 NM_001242331 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L28 cmpl cmpl 0, 2 NM_032564 chr11 + 75479777 75512581 75480036 75511553 8 75479777,75495662,75501232,75501705,75507372,75508202,75509271,75511398, 75480157,75495791,75501340,75501776,75507577,75508377,75509474,75512581, 0 DGAT2 cmpl cmpl 0,1,1,1,0,1,2,1, 2296 NM_015176 chr1 + 224301788 224349749 224301831 224345448 5 224301788,224318173,224321775,224340843,224345053, 224302098,224318283,224321914,224341039,224349749, 0 FBXO28 cmpl cmpl 0,0,2,0,1, 589 NR_036137 chr16 + 593276 593366 593366 593366 1 593276, 593366, 0 MIR3176 unk unk -1, 1339 NR_036129 chr13 + 98860777 98860854 98860854 98860854 1 98860777, 98860854, 0 MIR3170 unk unk -1, 1056 NR_036128 chr13 - 61773931 61774014 61774014 61774014 1 61773931, 61774014, 0 MIR3169 unk unk -1, 1132 NR_036123 chr11 - 71783273 71783348 71783348 71783348 1 71783273, 71783348, 0 MIR3165 unk unk -1, 1037 NR_036120 chr11 - 59362549 59362631 59362631 59362631 1 59362549, 59362631, 0 MIR3162 unk unk -1, 939 NR_036118 chr11 + 46473356 46473437 46473437 46473437 1 46473356, 46473437, 0 MIR3160-2 unk unk -1, 939 NR_036117 chr11 - 46473354 46473439 46473439 46473439 1 46473354, 46473439, 0 MIR3160-1 unk unk -1, 1373 NR_036115 chr10 - 103361173 103361254 103361254 103361254 1 103361173, 103361254, 0 MIR3158-2 unk unk -1, 1373 NR_036114 chr10 + 103361173 103361254 103361254 103361254 1 103361173, 103361254, 0 MIR3158-1 unk unk -1, 1331 NR_036113 chr10 - 97824071 97824156 97824156 97824156 1 97824071, 97824156, 0 MIR3157 unk unk -1, 933 NR_036112 chr10 + 45659461 45659536 45659536 45659536 1 45659461, 45659536, 0 MIR3156-1 unk unk -1, 632 NR_036111 chr10 + 6194158 6194240 6194240 6194240 1 6194158, 6194240, 0 MIR3155A unk unk -1, 1034 NM_138466 chr19 - 58878989 58892389 58879103 58880699 3 58878989,58881185,58892307, 58880728,58881295,58892389, 0 ZNF837 cmpl cmpl 0,-1,-1, 296 NM_173508 chr1 + 234040678 234460262 234040823 234458989 8 234040678,234041274,234367162,234444846,234452347,234454496,234455843,234458753, 234040876,234041504,234367487,234445066,234452473,234454689,234455933,234460262, 0 SLC35F3 cmpl cmpl 0,2,1,2,0,0,1,1, 1102 NM_001288994 chr16 + 67840780 67861971 67859873 67861896 11 67840780,67848204,67859039,67859569,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67859175,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,-1,0,1,0,0,0,2,0,2, 1721 NR_036573 chr7 + 148982371 148994403 148994403 148994403 11 148982371,148984655,148985521,148986638,148987028,148989301,148990467,148990841,148991470,148991630,148994141, 148982587,148984867,148986548,148986817,148987129,148989399,148990583,148991107,148991503,148992274,148994403, 0 LOC155060 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1492 NM_001164277 chr11 - 118895060 118901616 118895619 118900079 11 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899931,118900941,118901558, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118900274,118901445,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,1,0,-1,-1, 1329 NM_016490 chr2 - 97541618 97563870 97542012 97559758 5 97541618,97543626,97544152,97559662,97563650, 97542045,97543779,97544230,97559788,97563870, 0 FAM178B cmpl cmpl 0,0,0,0,-1, 955 NM_016479 chr3 - 48509196 48541682 48510505 48541527 6 48509196,48510759,48511126,48520585,48538569,48541451, 48510585,48510972,48511242,48520666,48538726,48541682, 0 SHISA5 cmpl cmpl 1,1,2,2,1,0, 1574 NM_016478 chr7 - 129658125 129691291 129658503 129691206 10 129658125,129662158,129663350,129664102,129665997,129668741,129679303,129680790,129688872,129691060, 129658572,129662365,129663563,129664346,129666152,129668869,129679387,129680941,129688984,129691291, 0 ZC3HC1 cmpl cmpl 0,0,0,2,0,1,1,0,2,0, 121 NM_006575 chr14 - 50885210 50999376 50886736 50998767 32 50885210,50889838,50892624,50895379,50895909,50901111,50901679,50904193,50904611,50906730,50907079,50909449,50910446,50910656,50911758,50912796,50914131,50915491,50923233,50929382,50930769,50933300,50935368,50941794,50942845,50942976,50949078,50952295,50952821,50971517,50998659,50999165, 50886824,50889894,50892695,50895472,50895978,50901289,50901783,50904252,50904729,50906791,50907159,50909534,50910488,50910754,50911912,50912839,50914199,50915550,50923312,50929499,50930851,50933363,50935500,50941867,50942888,50943024,50949134,50952360,50952912,50971575,50998876,50999376, 0 MAP4K5 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0,-1, 792 NM_022078 chr1 - 27216978 27226962 27217500 27226933 7 27216978,27218901,27219160,27219879,27220726,27223791,27226482, 27217717,27219029,27219282,27219939,27220901,27224216,27226962, 0 GPATCH3 cmpl cmpl 2,0,1,1,0,1,0, 14 NM_001203252 chr17 + 43971747 44105699 44039703 44101537 11 43971747,44039686,44049224,44051750,44055740,44064405,44068825,44073764,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44064461,44068952,44074030,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,0,1,0,1,0, 159 NM_022769 chr15 + 91073117 91188577 91073303 91185372 15 91073117,91083270,91136867,91145555,91147616,91150609,91157684,91161114,91162972,91169007,91172465,91181677,91181966,91184328,91185163, 91073435,91083369,91136987,91145617,91147679,91150710,91157720,91161200,91163022,91169225,91172764,91181878,91182047,91184431,91188577, 0 CRTC3 cmpl cmpl 0,0,0,0,2,2,1,1,0,2,1,0,0,0,1, 2127 NM_139163 chr2 - 202153146 202222101 202153377 202216127 15 202153146,202154179,202154418,202163960,202172241,202173873,202195192,202195458,202207092,202208892,202211264,202212976,202215433,202216014,202221704, 202153504,202154289,202154577,202164023,202172345,202173973,202195245,202195556,202207154,202208986,202211398,202213025,202215505,202216174,202222101, 0 ALS2CR12 cmpl cmpl 2,0,0,0,1,0,1,2,0,2,0,2,2,0,-1, 837 NM_139160 chr11 + 33037727 33055128 33038085 33055001 9 33037727,33047204,33049231,33050148,33052923,33053881,33054213,33054434,33054807, 33038131,33047595,33049359,33050338,33053135,33054024,33054339,33054513,33055128, 0 DEPDC7 cmpl cmpl 0,1,2,1,2,1,0,0,1, 132 NM_006313 chr12 + 62654120 62803501 62654195 62798155 21 62654120,62687959,62696570,62708570,62715244,62719652,62749111,62775270,62777620,62777858,62783210,62783384,62783576,62784643,62784936,62785595,62786051,62786832,62790074,62794966,62797972, 62654284,62688087,62696701,62708697,62715390,62719714,62749256,62775444,62777779,62778083,62783294,62783479,62783768,62784759,62785209,62785666,62786167,62786982,62790178,62795055,62803501, 0 USP15 cmpl cmpl 0,2,1,0,1,0,2,0,0,0,0,0,2,2,1,1,0,2,2,1,0, 811 NM_001170418 chr6 + 29624757 29640149 29624986 29638962 7 29624757,29633928,29635419,29635680,29637950,29638477,29638948, 29625074,29634042,29635440,29635701,29637998,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 144 NR_027749 chr2 + 74710199 74721691 74721691 74721691 12 74710199,74710448,74717370,74717782,74718254,74718421,74718607,74719130,74719265,74719430,74719772,74720048, 74710262,74710537,74717600,74717866,74718311,74718502,74718793,74719182,74719356,74719572,74719874,74721691, 0 TTC31 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1312 NR_039817 chr9 - 95290265 95290340 95290340 95290340 1 95290265, 95290340, 0 MIR4670 unk unk -1, 635 NR_039807 chr8 - 6602688 6602761 6602761 6602761 1 6602688, 6602761, 0 MIR4659B unk unk -1, 1580 NM_001134431 chr9 - 130493802 130497628 130495771 130497549 2 130493802,130497398, 130495839,130497628, 0 TOR2A cmpl cmpl 1,0, 1580 NM_001134430 chr9 - 130493802 130497628 130494421 130497549 4 130493802,130495663,130496577,130497398, 130494557,130495839,130496843,130497628, 0 TOR2A cmpl cmpl 2,0,1,0, 1352 NR_047483 chr13 - 100647153 100650163 100650163 100650163 1 100647153, 100650163, 0 LINC00554 unk unk -1, 701 NR_046559 chr12 + 15304856 15308215 15308215 15308215 3 15304856,15307173,15308129, 15305004,15307274,15308215, 0 RERG-AS1 unk unk -1,-1,-1, 952 NM_001199900 chr17 + 48172638 48183735 48172799 48183516 4 48172638,48174786,48182734,48183248, 48172917,48174928,48182806,48183735, 0 PDK2 cmpl cmpl 0,1,2,2, 97 NM_000965 chr3 + 25469833 25639422 25470222 25638107 8 25469833,25502683,25542672,25611248,25622036,25634993,25636010,25637910, 25470379,25502832,25542814,25611409,25622213,25635198,25636169,25639422, 0 RARB cmpl cmpl 0,1,0,1,0,0,1,1, 14 NM_001145109 chr12 - 44902057 45269444 44902716 45269341 20 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269289, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269444, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,0, 889 NM_001167959 chr2 + 39892637 39945104 39934220 39944391 4 39892637,39931220,39934188,39944149, 39892780,39931334,39934326,39945104, 0 TMEM178A cmpl cmpl -1,-1,0,1, 14 NM_001145108 chr12 - 44902057 45270247 44902716 45269652 20 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45270247, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,0, 22 NR_015395 chr2 - 112124590 112252692 112252692 112252692 2 112124590,112252461, 112125152,112252692, 0 MIR4435-1HG unk unk -1,-1, 140 NM_001159770 chr17 - 70642084 71088853 70643722 71084903 10 70642084,70644941,70645308,70732788,70845772,70943869,71027694,71080946,71084795,71088749, 70643801,70645100,70645407,70732858,70845943,70944014,71027853,71080985,71084914,71088853, 0 SLC39A11 cmpl cmpl 2,2,2,1,1,0,0,0,0,-1, 776 NR_001525 chrY + 25082601 25119431 25119431 25119431 4 25082601,25109774,25111654,25118430, 25082762,25109850,25111762,25119431, 0 TTTY4 unk unk -1,-1,-1,-1, 957 NM_001282648 chrX - 48760888 48769235 48761866 48769154 4 48760888,48763668,48767090,48769135, 48762169,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 969 NM_001126104 chr12 - 50382944 50419307 50384050 50410498 17 50382944,50384466,50385780,50386027,50386332,50387913,50388196,50390822,50392923,50393398,50394954,50396029,50398017,50399038,50400216,50410413,50419110, 50384126,50384575,50385916,50386160,50386438,50388112,50388292,50390987,50393054,50393516,50395035,50396083,50398087,50399175,50400419,50410502,50419307, 0 RACGAP1 cmpl cmpl 2,1,0,2,1,0,0,0,1,0,0,0,2,0,1,0,-1, 128 NM_001130099 chr16 - 57792128 57831929 57793060 57805562 19 57792128,57793036,57793639,57794193,57794637,57794953,57795324,57796051,57798054,57799370,57800785,57803506,57803719,57804438,57805109,57805454,57806134,57828910,57831616, 57792821,57793065,57793748,57794328,57794867,57795083,57795448,57796182,57798159,57799552,57800897,57803637,57803867,57804612,57805349,57805598,57806200,57829053,57831929, 0 KIFC3 cmpl cmpl -1,1,0,0,1,0,2,0,0,1,0,1,0,0,0,0,-1,-1,-1, 912 NM_057161 chr6 + 42981840 42989036 42984930 42988471 11 42981840,42984871,42985256,42985590,42985882,42986080,42986370,42986600,42986829,42987025,42988404, 42982086,42985084,42985433,42985706,42985954,42986294,42986457,42986709,42986903,42987104,42989036, 0 KLHDC3 cmpl cmpl -1,0,1,1,0,0,1,1,2,1,2, 595 NM_001161532 chrY + 1337692 1378828 1357707 1378372 11 1337692,1351570,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1351672,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,2,1,0,0,1,2,0, 595 NM_001161531 chrX + 1387692 1424711 1401596 1424628 13 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1424520, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1424711, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 595 NM_001161531 chrY + 1337692 1374711 1351596 1374628 13 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1374520, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1374711, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 1004 NM_014481 chrX + 55026755 55034306 55026855 55033868 6 55026755,55027978,55028683,55029394,55030231,55032950, 55027012,55028062,55028864,55029541,55030301,55034306, 0 APEX2 cmpl cmpl 0,1,1,2,2,0, 895 NM_016556 chr17 - 40724327 40729849 40724985 40729704 8 40724327,40725124,40725328,40725495,40726116,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,0,1,0, 3 NM_001197114 chr3 + 158787040 159615155 158787221 159614563 10 158787040,158963631,158980336,159482231,159583951,159603995,159605496,159606608,159609885,159614511, 158787230,158963696,158980472,159482927,159584070,159604113,159605694,159606732,159609979,159615155, 0 IQCJ-SCHIP1 cmpl cmpl 0,0,2,0,0,2,0,0,1,2, 164 NM_001289071 chr10 + 96305523 96361856 96322570 96361379 23 96305523,96306133,96313882,96316935,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96316979,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,-1,-1,0,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 738 NM_013373 chr22 + 20119363 20135530 20119470 20132923 11 20119363,20126716,20127000,20127242,20127637,20128139,20128393,20128739,20128943,20130278,20132751, 20119574,20126838,20127158,20127415,20127740,20128231,20128535,20128860,20129053,20131279,20135530, 0 ZDHHC8 cmpl cmpl 0,2,1,0,2,0,2,0,1,0,2, 1653 NM_013366 chr9 - 140069235 140083057 140069393 140082984 13 140069235,140069688,140070159,140074632,140074903,140075239,140076132,140077576,140078123,140079364,140080675,140081932,140082867, 140069606,140069924,140070289,140074836,140074979,140075381,140076314,140077694,140078243,140079539,140080808,140082555,140083057, 0 ANAPC2 cmpl cmpl 0,1,0,0,2,1,2,1,1,0,2,0,0, 961 NM_001286957 chr12 + 49297892 49315359 49308315 49315226 8 49297892,49298743,49308186,49310752,49312057,49312467,49314712,49314950, 49298226,49298896,49308356,49310891,49312255,49312686,49314865,49315359, 0 CCDC65 cmpl cmpl -1,-1,0,2,0,0,0,0, 273 NM_031845 chr2 + 210444402 210598834 210517894 210595121 12 210444402,210444759,210489776,210517865,210543295,210545473,210565000,210570303,210574637,210590432,210594573,210594905, 210444479,210444824,210489853,210518156,210543409,210545551,210565062,210570451,210574978,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,0,1,1,1,0,1,0,1,0, 969 NM_152899 chr19 - 50392913 50400147 50392926 50399417 8 50392913,50394227,50394661,50397524,50398324,50399071,50399404,50400091, 50393857,50394364,50394730,50397726,50398437,50399310,50399439,50400147, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1, 907 NM_001207020 chr22 - 42305557 42310671 42305768 42310671 4 42305557,42306411,42307219,42310141, 42306151,42306558,42307353,42310671, 0 SHISA8 cmpl cmpl 1,1,2,0, 1478 NM_001207049 chr11 - 117156401 117166386 117160281 117166263 8 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117166213, 117160523,117161375,117161765,117162529,117163904,117164649,117166063,117166386, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0, 1285 NM_194455 chr7 - 91828282 91875414 91830049 91871449 19 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91874778, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874448,91875414, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1, 1583 NM_197956 chr9 - 130823511 130829599 130825706 130829380 2 130823511,130828869, 130826179,130829599, 0 NAIF1 cmpl cmpl 1,0, 102 NM_012429 chr22 + 30792929 30821291 30793105 30818396 12 30792929,30795631,30802330,30803083,30803403,30805175,30805414,30806584,30811747,30811936,30812222,30818265, 30793159,30795707,30802374,30803143,30803592,30805271,30805475,30806668,30811854,30812076,30812392,30821291, 0 SEC14L2 cmpl cmpl 0,0,1,0,0,0,0,1,1,0,2,1, 91 NM_198207 chr19 - 18988717 19006953 18989734 19006881 6 18988717,18990049,18991082,18994895,19004224,19006632, 18989848,18990197,18991244,18995076,19004384,19006953, 0 CERS1 cmpl cmpl 0,2,2,1,0,0, 2400 NM_198189 chr2 + 237994083 238007489 237995838 238006385 9 237994083,237995374,237995769,237997247,237998504,238002732,238004464,238005464,238006305, 237994685,237995439,237995840,237997296,237998637,238002840,238004527,238005512,238007489, 0 COPS8 cmpl cmpl -1,-1,0,2,0,1,1,1,1, 120 NM_015953 chr19 - 50058724 50083829 50059007 50063948 10 50058724,50059573,50059805,50060131,50060346,50062153,50063190,50063878,50080015,50083771, 50059079,50059682,50059993,50060250,50060506,50062235,50063296,50063949,50080134,50083829, 0 NOSIP cmpl cmpl 0,2,0,1,0,2,1,0,-1,-1, 164 NM_001289070 chr10 + 96305523 96361856 96305678 96361379 20 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,1,2,1, 1706 NM_001185075 chrX + 146993468 147032647 146993697 147030350 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147019617,147022094,147026463,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147019680,147022181,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,0,0,2, 704 NM_020652 chr17 + 15602890 15624100 15603643 15620604 6 15602890,15603361,15604465,15609700,15611468,15619372, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,0,1,0,1,1, 907 NM_001135694 chr8 + 42249278 42263455 42251729 42262980 10 42249278,42251362,42251727,42252601,42256229,42257168,42259305,42260828,42262384,42262888, 42249446,42251402,42251796,42252654,42256382,42257221,42259533,42260979,42262442,42263455, 0 VDAC3 cmpl cmpl -1,-1,0,1,0,0,2,2,0,1, 1420 NM_001145375 chr12 - 109525992 109531293 109526010 109530591 4 109525992,109527813,109530311,109531154, 109526317,109528012,109530592,109531293, 0 ALKBH2 cmpl cmpl 2,1,0,-1, 250 NM_001145675 chr4 - 186506597 186578123 186508780 186577792 15 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186567821,186570620,186572937,186573815,186577768, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186567936,186570810,186572982,186573882,186578123, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,2,1,1,0,0, 616 NM_030662 chr19 - 4090319 4124126 4090595 4123872 11 4090319,4094450,4095385,4097276,4099198,4101016,4101226,4102373,4110506,4117416,4123780, 4090706,4094496,4095447,4097341,4099412,4101141,4101278,4102451,4110653,4117627,4124126, 0 MAP2K2 cmpl cmpl 0,2,0,1,0,1,0,0,0,2,0, 941 NM_017931 chr22 + 46663860 46689905 46663936 46688781 14 46663860,46664410,46668231,46669794,46671144,46674482,46677495,46679869,46681137,46682969,46684319,46685298,46685722,46688687, 46663969,46664488,46668313,46669966,46671318,46674558,46677615,46679929,46681176,46683051,46684485,46685458,46685796,46689905, 0 TTC38 cmpl cmpl 0,0,0,1,2,2,0,0,0,0,1,2,0,2, 295 NM_015575 chr2 + 233562014 233725289 233599907 233721570 31 233562014,233565294,233568133,233599126,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655407,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233565364,233568199,233599196,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,-1,-1,-1,0,2,0,0,1,2,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 980 NM_177537 chrX - 51804922 51812368 51805325 51811268 13 51804922,51805317,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4B cmpl cmpl -1,0,2,2,1,2,0,1,0,0,0,0,-1, 3 NM_001161662 chr5 + 167719064 167899308 167719157 167896022 23 167719064,167798428,167812215,167824728,167826492,167833202,167835511,167836926,167841352,167849012,167850537,167855037,167855711,167857141,167858256,167868686,167871498,167880972,167882360,167887654,167891715,167894847,167895955, 167719276,167798538,167812419,167824805,167826572,167833332,167835658,167837000,167841595,167849102,167851073,167855146,167855792,167857228,167858449,167868839,167871590,167881105,167882525,167887747,167891967,167894969,167899308, 0 WWC1 cmpl cmpl 0,2,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 185 NM_001172815 chr8 + 117963189 118188953 118159268 118184920 11 117963189,118051457,118147518,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 117963358,118051497,118147637,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,-1,-1,0,1,1,2,0,1,1, 185 NM_001172813 chr8 + 117963189 118188953 118159268 118184920 11 117963189,118019229,118147470,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 117963358,118019352,118147637,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,-1,-1,0,1,1,2,0,1,1, 989 NM_175053 chr12 - 52959602 52967609 52960752 52967561 9 52959602,52961442,52961952,52963642,52964452,52965142,52965727,52966236,52967090, 52960952,52961477,52962173,52963768,52964617,52965238,52965788,52966451,52967609, 0 KRT74 cmpl cmpl 1,2,0,0,0,0,2,0,0, 590 NM_174940 chr11 + 695590 704131 695608 703150 5 695590,698868,700141,700614,702944, 695822,698888,700235,700707,704131, 0 TMEM80 cmpl cmpl 0,1,0,1,1, 914 NM_024097 chr1 + 43232915 43241413 43232982 43241065 5 43232915,43233179,43239233,43240407,43240879, 43233061,43233295,43239320,43240539,43241413, 0 C1orf50 cmpl cmpl 0,1,0,0,0, 1865 NM_018417 chr1 - 167778624 167883453 167778914 167874378 33 167778624,167779961,167787309,167791261,167792245,167793713,167793888,167798504,167802224,167803207,167805546,167806486,167814800,167815222,167817598,167823590,167825402,167829044,167830108,167839494,167844368,167847683,167849352,167849728,167852674,167863090,167865832,167868660,167870899,167871253,167873124,167874230,167883213, 167779076,167780150,167787505,167791379,167792361,167793810,167794093,167798661,167802400,167803315,167805778,167806556,167815091,167815501,167817727,167823727,167825677,167829131,167830301,167839648,167844424,167847873,167849429,167849847,167852866,167863179,167865929,167868866,167871043,167871292,167873229,167874436,167883453, 0 ADCY10 cmpl cmpl 0,0,2,1,2,1,0,2,0,0,2,1,1,1,1,2,0,0,2,1,2,1,2,0,0,1,0,1,1,1,1,0,-1, 1190 NR_002714 chr2 - 79362628 79365553 79365553 79365553 1 79362628, 79365553, 0 REG1P unk unk -1, 1818 NM_007240 chr1 + 161719580 161726952 161719591 161726737 6 161719580,161721457,161721655,161722157,161722864,161726575, 161719935,161721571,161721774,161722254,161723051,161726952, 0 DUSP12 cmpl cmpl 0,2,2,1,2,0, 19 NM_016931 chr11 - 89057521 89224653 89059923 89224414 18 89057521,89069012,89070614,89073230,89075241,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89224357, 89060044,89069113,89070683,89073339,89075361,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185063,89223721,89224653, 0 NOX4 cmpl cmpl 2,0,0,2,2,1,0,0,0,2,2,1,0,1,0,0,0,0, 670 NM_054028 chr8 + 11188494 11189695 11188615 11189632 1 11188494, 11189695, 0 SLC35G5 cmpl cmpl 0, 726 NM_018314 chr11 - 18552949 18610293 18554018 18610201 11 18552949,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18596893,18600270,18610159, 18554034,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18596959,18600355,18610293, 0 UEVLD cmpl cmpl 2,1,1,1,0,1,0,1,1,0,0, 273 NM_031847 chr2 + 210444402 210598834 210517894 210595121 13 210444402,210444759,210489776,210517865,210543295,210545473,210565000,210570303,210574637,210588318,210590432,210594573,210594905, 210444479,210444824,210489853,210518156,210543409,210545551,210565062,210570451,210574978,210588411,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,0,1,1,1,0,1,0,0,1,0, 1890 NR_049854 chr1 + 171070879 171070939 171070939 171070939 1 171070879, 171070939, 0 MIR1295B unk unk -1, 1061 NM_001079559 chr11 - 62480096 62494857 62482770 62494628 14 62480096,62482971,62483335,62484460,62487494,62488766,62489291,62489588,62490072,62490284,62491058,62491385,62491762,62494090, 62482851,62483079,62483409,62484661,62487663,62488895,62489414,62489852,62490185,62490375,62491198,62491462,62491898,62494857, 0 HNRNPUL2 cmpl cmpl 0,0,1,1,0,0,0,0,1,0,1,2,1,0, 697 NR_029875 chr8 - 14710946 14711019 14711019 14711019 1 14710946, 14711019, 0 MIR383 unk unk -1, 974 NM_012324 chr22 + 51039130 51049979 51039247 51049207 12 51039130,51040217,51041651,51042054,51042269,51043795,51043989,51044252,51045085,51045348,51048639,51049134, 51039312,51040323,51041927,51042148,51043492,51043871,51044162,51044362,51045193,51045419,51048738,51049979, 0 MAPK8IP2 cmpl cmpl 0,2,0,0,1,1,2,1,0,0,2,2, 1743 NM_153488 chrX + 151885383 151887079 151885595 151886540 2 151885383,151885530, 151885450,151887079, 0 MAGEA2B cmpl cmpl -1,0, 1744 NM_153488 chrX - 151918403 151920099 151918942 151919887 2 151918403,151920032, 151919952,151920099, 0 MAGEA2B cmpl cmpl 0,-1, 2296 NM_001136115 chr1 + 224301788 224349749 224301831 224345077 4 224301788,224318173,224321775,224345053, 224302098,224318283,224321914,224349749, 0 FBXO28 cmpl cmpl 0,0,2,0, 861 NM_001123392 chr17 + 36284002 36294971 36285544 36294600 14 36284002,36285543,36285778,36287147,36287669,36288193,36288630,36289993,36290585,36291419,36291898,36292427,36292897,36294031, 36284115,36285616,36285864,36287187,36287750,36288301,36288740,36290042,36290706,36291514,36291964,36292527,36293050,36294971, 0 TBC1D3H cmpl cmpl -1,0,0,2,0,0,0,2,0,1,0,0,1,1, 91 NM_021267 chr19 - 18979360 19006953 18981385 19006881 8 18979360,18980791,18989738,18990049,18991082,18994895,19004224,19006632, 18980199,18981428,18989848,18990197,18991244,18995076,19004384,19006953, 0 CERS1 cmpl cmpl -1,2,0,2,2,1,0,0, 1145 NM_021260 chr14 - 73436152 73493920 73437589 73491216 12 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73459850,73464518,73490733,73493633, 73437822,73440901,73441667,73442429,73444752,73444942,73445677,73448603,73460065,73465023,73491650,73493920, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,1,0,0,-1, 1055 NR_024340 chr10 - 61717974 61720671 61720671 61720671 2 61717974,61720608, 61719726,61720671, 0 C10orf40 unk unk -1,-1, 933 NR_033252 chr15 + 45670897 45672321 45672321 45672321 1 45670897, 45672321, 0 GATM-AS1 unk unk -1, 158 NM_153636 chr16 + 89642175 89663654 89642305 89663029 15 89642175,89643946,89650104,89650435,89651181,89651871,89652094,89653077,89653450,89655082,89656304,89657414,89657534,89661774,89662891, 89642479,89644129,89650179,89650510,89651265,89651961,89652193,89653164,89653510,89655216,89656359,89657466,89657668,89662011,89663654, 0 CPNE7 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,2,0,1,0,0, 1152 NM_001142602 chr17 + 74381288 74383941 74381725 74383667 5 74381288,74382065,74382301,74382473,74382886, 74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl 0,1,1,0,2, 1152 NM_001142601 chr17 + 74380689 74383941 74381725 74383667 6 74380689,74381531,74382065,74382301,74382473,74382886, 74380887,74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl -1,0,1,1,0,2, 199 NM_001164619 chrX - 132669775 133119673 132670151 133119476 7 132669775,132730467,132795757,132826396,132833922,132887508,133119301, 132670321,132730627,132795878,132826522,132834056,132888203,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,1,0, 925 NM_020708 chr20 + 44657820 44688789 44657983 44686244 26 44657820,44663586,44664042,44664415,44665379,44665893,44669011,44669967,44671791,44672271,44672514,44673604,44674516,44674976,44676092,44676619,44678260,44680313,44681595,44682216,44683554,44684788,44685003,44685535,44685808,44686152, 44658035,44663681,44664174,44664562,44665434,44666024,44669253,44670179,44671962,44672370,44672572,44673779,44674635,44675075,44676212,44676724,44678429,44680509,44681765,44682348,44683662,44684911,44685203,44685550,44685942,44688789, 0 SLC12A5 cmpl cmpl 0,1,0,0,0,1,0,2,1,1,1,2,0,2,2,2,2,0,1,0,0,0,0,2,2,1, 163 NM_020698 chr12 - 94960899 95044324 94965210 95044206 4 94960899,94972169,94975397,95044128, 94965513,94972305,94976314,95044324, 0 TMCC3 cmpl cmpl 0,2,0,0, 1351 NM_015831 chr7 - 100487614 100493541 100488578 100491853 5 100487614,100488789,100489954,100490785,100493422, 100488709,100488959,100490439,100491873,100493541, 0 ACHE cmpl cmpl 1,2,0,0,-1, 2264 NM_018713 chr1 - 220087605 220101993 220088790 220101782 4 220087605,220091596,220100369,220101142, 220089290,220091836,220100447,220101993, 0 SLC30A10 cmpl cmpl 1,1,1,0, 1112 NM_018656 chr12 + 69139935 69159853 69140157 69158670 5 69139935,69141709,69145811,69152936,69158483, 69140559,69141820,69145970,69153019,69159853, 0 SLC35E3 cmpl cmpl 0,0,0,0,2, 1319 NM_001130140 chr5 + 96211643 96255406 96215389 96253309 19 96211643,96215267,96219495,96222358,96224888,96228002,96230949,96232076,96232435,96235824,96237209,96237977,96239080,96244664,96245283,96248340,96249020,96251391,96253165, 96211794,96215964,96219634,96222493,96225009,96228157,96231063,96232208,96232567,96235893,96237385,96238057,96239264,96244821,96245468,96248502,96249161,96251473,96255406, 0 ERAP2 cmpl cmpl -1,0,2,0,0,1,0,0,0,0,0,2,1,2,0,2,2,2,0, 13 NM_004734 chr13 - 36342788 36705514 36348778 36700274 18 36342788,36362348,36367502,36379835,36382360,36383154,36384971,36396865,36401771,36402386,36410169,36413228,36428635,36445360,36521494,36686005,36699898,36705250, 36348836,36362422,36367616,36379916,36382457,36383232,36385105,36397012,36401891,36402444,36410278,36413313,36428730,36445477,36521594,36686352,36700293,36705514, 0 DCLK1 cmpl cmpl 2,0,0,0,2,2,0,0,0,2,1,0,1,1,0,1,0,-1, 240 NM_001130703 chr4 + 175839508 175899331 175896676 175899139 4 175839508,175841837,175852136,175896496, 175839622,175841943,175852325,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,0, 1778 NM_012206 chr5 - 156456530 156485487 156456743 156484954 8 156456530,156459864,156464257,156469637,156476048,156479371,156482211,156484908, 156456852,156459898,156464372,156469693,156476156,156479665,156482544,156485487, 0 HAVCR1 cmpl cmpl 2,1,0,1,1,1,1,0, 1653 NM_007327 chr9 + 140033608 140063214 140033938 140061979 20 140033608,140036464,140040177,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140059637,140061862, 140034196,140036599,140040354,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140059748,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0,0, 1179 NM_000318 chr8 - 77892493 77912524 77895496 77896414 4 77892493,77898422,77900542,77912225, 77896431,77898532,77900574,77912524, 0 PEX2 cmpl cmpl 0,-1,-1,-1, 91 NM_001492 chr19 - 18979360 19006953 18979405 18981116 8 18979360,18980791,18989738,18990049,18991082,18994895,19004224,19006632, 18980199,18981428,18989848,18990197,18991244,18995076,19004384,19006953, 0 GDF1 cmpl cmpl 1,0,-1,-1,-1,-1,-1,-1, 892 NM_004583 chr17 - 40276993 40307062 40277800 40282520 6 40276993,40278772,40280278,40280666,40282354,40306910, 40277916,40278866,40280401,40280818,40282608,40307062, 0 RAB5C cmpl cmpl 1,0,0,1,0,-1, 1350 NR_003260 chr15 - 100330360 100347132 100347132 100347132 5 100330360,100339836,100341179,100345004,100347000, 100333101,100340459,100341384,100345134,100347132, 0 DNM1P46 unk unk -1,-1,-1,-1,-1, 813 NR_001317 chr6 - 29892368 29894992 29894992 29894992 2 29892368,29893700, 29893662,29894992, 0 HCG4B unk unk -1,-1, 1257 NM_173824 chr3 + 88198892 88207115 88199202 88205785 3 88198892,88202379,88205170, 88199335,88202621,88207115, 0 C3orf38 cmpl cmpl 0,1,0, 19 NM_001143837 chr11 - 89057521 89322779 89059923 89223706 21 89057521,89069012,89070614,89073230,89075241,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89225288,89231164,89279804,89322607, 89060044,89069113,89070683,89073339,89075361,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185063,89223721,89225387,89231355,89279863,89322779, 0 NOX4 cmpl cmpl 2,0,0,2,2,1,0,0,0,2,2,1,0,1,0,0,0,-1,-1,-1,-1, 1127 NM_001163817 chr11 - 71145456 71159477 71146420 71155998 9 71145456,71148857,71149924,71152272,71153308,71155038,71155900,71158655,71159358, 71146885,71148989,71150129,71152486,71153399,71155261,71156004,71158780,71159477, 0 DHCR7 cmpl cmpl 0,0,2,1,0,2,0,-1,-1, 991 NM_198066 chr14 - 53241910 53258386 53245028 53251368 6 53241910,53247396,53248501,53250140,53251214,53258145, 53245176,53247458,53248629,53250203,53251382,53258386, 0 GNPNAT1 cmpl cmpl 2,0,1,1,0,-1, 593 NM_178578 chr20 + 1093905 1148426 1099416 1145724 8 1093905,1099395,1106140,1108068,1115763,1143773,1144961,1145672, 1094052,1099545,1106293,1108151,1115949,1143827,1145120,1148426, 0 PSMF1 cmpl cmpl -1,0,0,0,2,2,2,2, 117 NM_133443 chr16 + 46918307 46965201 46918627 46962909 12 46918307,46918605,46931559,46934593,46940753,46943595,46950539,46952532,46956153,46958300,46960836,46962818, 46918379,46918870,46931649,46934702,46940887,46943839,46950619,46952669,46956328,46958456,46960949,46965201, 0 GPT2 cmpl cmpl -1,0,0,0,1,0,1,0,2,0,0,2, 635 NM_001272053 chr4 + 6641817 6644470 6642589 6642973 3 6641817,6642554,6643456, 6642435,6642985,6644470, 0 MRFAP1 cmpl cmpl -1,0,-1, 948 NM_175732 chr11 + 47586981 47595013 47587174 47593181 4 47586981,47587457,47591251,47593022, 47587348,47587538,47591443,47595013, 0 PTPMT1 cmpl cmpl 0,0,0,0, 898 NM_025267 chr17 - 41102542 41132020 41102609 41131634 17 41102542,41103816,41105740,41106892,41107174,41107858,41108220,41108420,41109154,41113208,41116122,41122305,41123623,41131186,41131394,41131566,41131921, 41102745,41103911,41105795,41106984,41107241,41107989,41108337,41108577,41109212,41113368,41116254,41122359,41123713,41131285,41131461,41131680,41132020, 0 PTGES3L-AARSD1 cmpl cmpl 2,0,2,0,2,0,0,2,1,0,0,0,0,0,2,0,-1, 957 NM_153608 chr19 + 48774653 48790863 48783056 48790135 5 48774653,48774983,48782987,48785627,48789017, 48774706,48775085,48783065,48785754,48790863, 0 ZNF114 cmpl cmpl -1,-1,0,0,1, 143 NM_006077 chr10 - 74127083 74385949 74127952 74326551 12 74127083,74135540,74167686,74182991,74234857,74236931,74267912,74293503,74310936,74322652,74326390,74385767, 74128113,74135630,74167795,74183129,74235055,74237014,74268033,74293547,74311099,74322821,74326552,74385949, 0 MICU1 cmpl cmpl 1,1,0,0,0,1,0,1,0,2,0,-1, 17 NM_080760 chr13 - 72012097 72441330 72014786 72440907 8 72012097,72049272,72049837,72053300,72063128,72204687,72255926,72440053, 72014824,72049341,72049981,72053448,72063280,72204849,72256042,72441330, 0 DACH1 cmpl cmpl 1,1,1,0,1,1,2,0, 17 NM_080759 chr13 - 72012097 72441330 72014786 72440907 11 72012097,72049272,72049837,72053300,72063128,72131155,72133951,72146971,72204687,72255926,72440053, 72014824,72049341,72049981,72053448,72063280,72131290,72134087,72147144,72204849,72256042,72441330, 0 DACH1 cmpl cmpl 1,1,1,0,1,1,0,1,1,2,0, 989 NM_080747 chr12 - 52979372 52995322 52979765 52995236 9 52979372,52980729,52981414,52984619,52985247,52986179,52986675,52992681,52994810, 52979956,52980764,52981635,52984745,52985412,52986275,52986736,52992896,52995322, 0 KRT72 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1418 NM_001161330 chr12 - 109185694 109251359 109185875 109251272 14 109185694,109192775,109194555,109196097,109198831,109200076,109201408,109203468,109205035,109210813,109212024,109217033,109246413,109251203, 109186605,109192976,109194702,109196144,109198960,109200170,109201603,109203534,109205104,109210935,109212089,109217137,109246454,109251359, 0 SSH1 cmpl cmpl 2,2,2,0,0,2,2,2,2,0,1,2,0,0, 980 NM_001159969 chr1 - 51819934 51887793 51822371 51887628 13 51819934,51826842,51829537,51831624,51860052,51864703,51866589,51868106,51869090,51871576,51873806,51875206,51887457, 51822518,51827027,51829700,51831701,51860119,51864837,51866625,51868197,51869204,51871780,51874004,51875368,51887793, 0 EPS15 cmpl cmpl 0,1,0,1,0,1,1,0,0,0,0,0,0, 786 NM_001191033 chr2 + 26403584 26412532 26405340 26411126 6 26403584,26405835,26407101,26409057,26410099,26410583, 26405362,26405966,26408145,26409227,26410184,26412532, 0 GAREML cmpl cmpl 0,1,0,0,2,0, 118 NM_207499 chr6 - 47867344 48036425 47869642 48036391 3 47867344,47976369,48035965, 47869671,47976850,48036425, 0 PTCHD4 cmpl cmpl 1,0,0, 0 NM_207481 chr2 - 133429371 134326031 133430861 134275097 18 133429371,133483199,133486388,133489309,133531388,133547595,133554200,133618064,133626508,133636420,133721292,133751724,133887549,133971287,134060608,134275028,134316620,134325786, 133430878,133483332,133486525,133489624,133531467,133547778,133554302,133618184,133626547,133636489,133721442,133751812,133887683,133971351,134060682,134275158,134316688,134326031, 0 NCKAP5 cmpl cmpl 1,0,1,1,0,0,0,0,0,0,0,2,0,2,0,0,-1,-1, 73 NM_001170738 chr12 + 176048 287625 176048 284199 14 176048,208311,234798,247432,250289,266190,266693,271091,272659,274599,274894,278178,280277,283764, 176602,208380,235078,248520,250451,266313,266860,271231,272785,274699,275056,278271,280327,287625, 0 IQSEC3 cmpl cmpl 0,2,2,0,2,2,2,1,0,0,1,1,1,0, 682 NM_013406 chr19 - 12786530 12792701 12786651 12792580 8 12786530,12786830,12788104,12790270,12790436,12790614,12790974,12792373, 12786747,12786919,12788210,12790357,12790533,12790736,12791139,12792701, 0 DHPS cmpl cmpl 0,1,0,0,2,0,0,0, 988 NM_130776 chrX - 52891557 52896332 52891646 52896164 5 52891557,52893803,52895461,52896083,52896280, 52891669,52893929,52895567,52896172,52896332, 0 XAGE3 cmpl cmpl 1,1,0,0,-1, 284 NM_144729 chr1 - 221874763 221915516 221875753 221879593 3 221874763,221879436,221915322, 221876019,221879808,221915516, 0 DUSP10 cmpl cmpl 1,0,-1, 284 NM_144728 chr1 - 221874763 221910802 221875753 221879593 3 221874763,221879436,221910184, 221876019,221879808,221910802, 0 DUSP10 cmpl cmpl 1,0,-1, 20 NM_003496 chr7 + 98476112 98610866 98478773 98609978 71 98476112,98478712,98479597,98487957,98490046,98491420,98493386,98495363,98497044,98497301,98498246,98501001,98503799,98506350,98507678,98508132,98508699,98509644,98513345,98515045,98519375,98522734,98524789,98527611,98528255,98529027,98530863,98533201,98534778,98535272,98540571,98545843,98546188,98547039,98547282,98547686,98548498,98550789,98552720,98553768,98554021,98555603,98556966,98558883,98559924,98562251,98563318,98564663,98565107,98567734,98569421,98573771,98574105,98574561,98575833,98576391,98579391,98580886,98581715,98582566,98586387,98588077,98589759,98591214,98592209,98601812,98602753,98605999,98608674,98608963,98609693, 98476260,98478873,98479647,98488068,98490151,98491504,98493443,98495489,98497122,98497390,98498343,98501140,98503878,98506585,98508042,98508230,98508894,98509836,98513511,98515302,98519576,98522886,98524989,98527829,98528453,98529288,98531025,98533298,98534900,98535443,98540640,98545963,98546308,98547204,98547464,98547885,98548627,98551056,98552927,98553927,98554156,98555714,98557113,98559097,98560050,98562398,98563518,98564785,98565321,98567914,98569568,98573891,98574393,98574699,98575946,98576527,98579583,98581082,98581981,98582667,98586589,98588242,98589850,98591360,98592471,98602038,98602971,98606184,98608878,98609158,98610866, 0 TRRAP cmpl cmpl -1,0,1,0,0,0,0,0,0,0,2,0,1,2,0,1,0,0,0,1,0,0,2,1,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,2,0,0,1,0,2,0,0,1,0,1,2,1,0,0,0, 785 NM_003540 chr6 + 26240653 26241021 26240653 26240965 1 26240653, 26241021, 0 HIST1H4F cmpl cmpl 0, 144 NM_025055 chr15 + 74528629 74628482 74529060 74628394 19 74528629,74536325,74554780,74559018,74560682,74564043,74565111,74572303,74573008,74574118,74588094,74622529,74623003,74623321,74623543,74625019,74626221,74627315,74628265, 74529081,74536489,74554914,74559128,74560799,74564135,74565232,74572433,74573142,74574190,74588289,74622695,74623092,74623453,74623637,74625186,74626308,74627429,74628482, 0 CCDC33 cmpl cmpl 0,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1,0,0,0, 1383 NR_037644 chr10 + 104613966 104661655 104661655 104661655 15 104613966,104620088,104620254,104621916,104622629,104629561,104629840,104632204,104632853,104634348,104636710,104638135,104638605,104650300,104660349, 104614184,104620151,104620298,104621937,104622689,104629602,104629968,104632355,104632990,104634418,104636792,104638267,104638748,104650435,104661655, 0 C10orf32-ASMT unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 832 NM_001193514 chr2 + 32390909 32449181 32390969 32445782 13 32390909,32396355,32399131,32400387,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32445281, 32390972,32396442,32399216,32400430,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32449181, 0 SLC30A6 cmpl cmpl 0,0,0,1,2,2,2,2,1,2,2,0,0, 1551 NM_017580 chr10 + 126630691 126676005 126631062 126673561 9 126630691,126655162,126660533,126662213,126662768,126670277,126671743,126672027,126673342, 126631876,126655350,126660687,126662285,126662967,126670398,126671873,126672257,126676005, 0 ZRANB1 cmpl cmpl 0,1,0,1,1,2,0,1,0, 89 NR_027253 chr5 - 17130136 17217531 17217531 17217531 3 17130136,17162577,17216185, 17132009,17162674,17217531, 0 AC091878.1 unk unk -1,-1,-1, 898 NM_001136042 chr17 - 41102542 41132545 41102609 41132199 17 41102542,41103816,41105740,41106892,41107174,41107858,41108220,41108420,41109154,41113208,41116122,41122305,41123623,41131186,41131394,41131566,41132062, 41102745,41103911,41105795,41106984,41107241,41107989,41108337,41108577,41109212,41113368,41116254,41122359,41123713,41131285,41131461,41131680,41132545, 0 PTGES3L-AARSD1 cmpl cmpl 2,0,2,0,2,0,0,2,1,0,0,0,0,0,2,2,0, 1130 NM_198719 chr1 - 71436463 71513491 71437412 71513260 4 71436463,71439979,71477987,71512363, 71437416,71440071,71478167,71513491, 0 PTGER3 cmpl cmpl 2,0,0,0, 141 NM_198718 chr1 - 71418114 71513491 71418589 71513260 4 71418114,71419445,71477987,71512363, 71418742,71419472,71478167,71513491, 0 PTGER3 cmpl cmpl 0,0,0,0, 1094 NM_177963 chr11 + 66790815 66818334 66797615 66816228 8 66790815,66797592,66802115,66807281,66811108,66812063,66813214,66816054, 66790931,66797649,66802309,66807674,66811324,66812184,66813348,66818334, 0 SYT12 cmpl cmpl -1,0,1,0,0,0,1,0, 12 NR_038287 chr13 - 31456971 31506745 31506745 31506745 4 31456971,31458074,31504937,31505382, 31457472,31458197,31505011,31506745, 0 TEX26-AS1 unk unk -1,-1,-1,-1, 895 NM_001159508 chr15 + 40697685 40713512 40698019 40710462 11 40697685,40700137,40702826,40703458,40703753,40705189,40707087,40707599,40708276,40708488,40710328, 40698172,40700189,40702996,40703552,40703890,40705286,40707181,40707681,40708381,40708561,40713512, 0 IVD cmpl cmpl 0,0,1,0,1,0,1,2,0,0,1, 14 NM_001143824 chr12 - 47158543 47219780 47160483 47186854 16 47158543,47162092,47163066,47168831,47170686,47172071,47172283,47173393,47173562,47173731,47178324,47178886,47181698,47182310,47186735,47219685, 47160585,47162190,47163211,47168956,47170787,47172151,47172559,47173452,47173645,47173813,47178417,47178960,47181814,47182401,47186966,47219780, 0 SLC38A4 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1, 85 NM_031455 chr10 - 12938624 13043704 12940415 13043570 3 12938624,13040337,13043196, 12940679,13040512,13043704, 0 CCDC3 cmpl cmpl 0,2,0, 1149 NM_003584 chr2 - 73989324 74007284 73989787 74007242 9 73989324,73993544,73993954,73994287,73996391,74000926,74002039,74005427,74007000, 73989986,73993721,73994030,73994334,73996452,74001050,74002171,74005503,74007284, 0 DUSP11 cmpl cmpl 2,2,1,2,1,0,0,2,0, 588 NM_005009 chr16 + 447191 450754 447222 450342 5 447191,448989,449378,449626,450218, 447313,449123,449480,449739,450754, 0 NME4 cmpl cmpl 0,1,0,0,2, 88 NM_001256579 chr21 - 15964483 16015428 15964942 16015394 7 15964483,15966333,15974343,15981802,15985196,15988296,16015322, 15964960,15966399,15974420,15981889,15985234,15988337,16015428, 0 LOC388813 cmpl cmpl 0,0,1,1,2,0,0, 1193 NM_001105251 chr5 + 79703831 79775688 79729966 79773196 19 79703831,79707464,79729927,79732574,79735754,79738941,79741081,79743844,79745409,79746249,79747303,79751510,79752279,79752763,79755232,79768579,79769572,79770481,79773037, 79703972,79707592,79730036,79734826,79735851,79739103,79741224,79744223,79745532,79746405,79747528,79751593,79752384,79752911,79755313,79768742,79769678,79770649,79775688, 0 ZFYVE16 cmpl cmpl -1,-1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 1154 NM_001130996 chr5 + 74632992 74657926 74638430 74656167 19 74632992,74638407,74639677,74640069,74641398,74643028,74645866,74646082,74646613,74646892,74647248,74650327,74651189,74652167,74654481,74654994,74655222,74655809,74656112, 74633125,74638595,74639789,74640157,74641483,74643134,74645973,74646199,74646774,74647140,74647427,74650522,74651347,74652273,74654652,74655135,74655381,74655964,74657926, 0 HMGCR cmpl cmpl -1,0,0,1,2,0,1,0,0,2,1,0,0,2,0,0,0,0,2, 14 NM_016835 chr17 + 43971747 44105699 44039703 44101537 14 43971747,44039686,44049224,44051750,44055740,44060543,44064405,44067243,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44061296,44064461,44067441,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,1,0,0,1,0,0,1,0, 929 NM_022842 chr3 - 45123765 45187914 45127129 45187779 9 45123765,45130545,45132664,45134768,45136838,45151964,45153574,45159903,45187697, 45127559,45130633,45133030,45135149,45137060,45152333,45153937,45160113,45187914, 0 CDCP1 cmpl cmpl 2,1,1,1,1,1,1,1,0, 1660 NM_001130029 chr5 + 141016516 141020631 141017792 141020011 8 141016516,141017736,141018361,141018521,141019030,141019486,141019978,141020237, 141017308,141017976,141018427,141018588,141019216,141019862,141020012,141020631, 0 RELL2 cmpl cmpl -1,0,1,1,2,2,0,-1, 195 NM_001128926 chr7 + 128312319 128323309 128312451 128323213 5 128312319,128315728,128317617,128320084,128323017, 128312604,128315913,128317867,128320203,128323309, 0 FAM71F2 cmpl cmpl 0,0,2,0,2, 12 NR_026859 chr15 + 30395934 30423948 30423948 30423948 5 30395934,30402504,30409094,30419887,30423330, 30396211,30402629,30409141,30419966,30423948, 0 ULK4P3 unk unk -1,-1,-1,-1,-1, 87 NM_032137 chr3 + 14716605 14814543 14724220 14814382 17 14716605,14723676,14724084,14725748,14731503,14744636,14745843,14755513,14756795,14763159,14768407,14769945,14798877,14801397,14802979,14813573,14814297, 14716759,14723838,14724704,14725889,14731623,14744769,14746125,14755666,14756916,14763291,14768531,14770195,14799181,14801505,14803122,14813708,14814543, 0 C3orf20 cmpl cmpl -1,-1,0,1,1,1,2,2,2,0,0,1,2,0,0,2,2, 1 NM_001166266 chr2 + 33359663 33624575 33359804 33623612 29 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482509,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 113 NM_001144882 chr12 - 42852139 42877797 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42877559, 42854467,42859060,42860182,42862631,42863389,42864161,42866366,42877797, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 2262 NM_003936 chr2 + 219824349 219826877 219824542 219825646 1 219824349, 219826877, 0 CDK5R2 cmpl cmpl 0, 230 NM_004490 chr2 - 165349322 165478360 165349545 165477819 14 165349322,165350940,165353517,165353720,165353883,165358764,165364964,165365251,165378489,165381513,165383523,165404169,165476196,165477628, 165349692,165351034,165353605,165353793,165354000,165358845,165365060,165365362,165378627,165381588,165383645,165404326,165476329,165478360, 0 GRB14 cmpl cmpl 0,2,1,0,0,0,0,0,0,0,1,0,2,0, 1617 NM_001130929 chr7 + 135347220 135361160 135347327 135358913 3 135347220,135357500,135358838, 135347342,135357554,135361160, 0 C7orf73 cmpl cmpl 0,0,0, 954 NM_024661 chr3 - 48473579 48481529 48473817 48476538 4 48473579,48475116,48476226,48481505, 48474576,48475281,48476546,48481529, 0 CCDC51 cmpl cmpl 0,0,0,-1, 769 NM_001166059 chr1 - 24128366 24151949 24128952 24151905 7 24128366,24130889,24134624,24143164,24143965,24146999,24151845, 24129054,24131015,24134813,24143260,24144073,24147083,24151949, 0 HMGCL cmpl cmpl 0,0,0,0,0,0,0, 1127 NM_001284211 chr14 - 71049937 71067407 71050810 71067354 9 71049937,71051533,71052472,71057982,71059596,71060012,71063327,71064334,71067332, 71050847,71051660,71052500,71058098,71059705,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 2,1,0,1,0,1,2,1,0, 1127 NM_001284210 chr14 - 71049937 71067407 71051608 71067354 7 71049937,71052472,71059596,71060012,71063327,71064334,71067332, 71051660,71052500,71059705,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 2,1,0,1,2,1,0, 1127 NM_001284209 chr14 - 71049937 71067407 71051529 71067354 8 71049937,71052472,71057982,71059596,71060012,71063327,71064334,71067332, 71051660,71052500,71058098,71059726,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 1,0,1,0,1,2,1,0, 110 NM_002647 chr18 + 39535198 39661446 39535256 39661101 25 39535198,39537534,39542453,39550290,39567775,39570422,39573233,39575853,39576601,39584319,39593405,39595439,39600601,39607406,39609288,39613789,39617655,39618744,39620640,39623696,39629494,39637846,39644703,39647351,39661086, 39535324,39537723,39542597,39550420,39567862,39570518,39573305,39575958,39576694,39584505,39593560,39595530,39600669,39607512,39609405,39613921,39617784,39618814,39620705,39623781,39629569,39638015,39644794,39647477,39661446, 0 PIK3C3 cmpl cmpl 0,2,2,2,0,0,0,0,0,0,0,2,0,2,0,0,0,0,1,0,1,1,2,0,0, 1379 NM_002779 chr10 - 104162373 104178901 104162956 104176795 17 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104170614,104170814,104171463,104171903,104172137,104173525,104174619,104175773,104176141,104178457, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104170704,104170873,104171576,104171984,104172332,104173954,104174986,104175876,104176878,104178901, 0 PSD cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,2,1,0,0,-1, 2400 NM_006710 chr2 + 237994083 238007489 237994607 238006385 8 237994083,237995769,237997247,237998504,238002732,238004464,238005464,238006305, 237994685,237995840,237997296,237998637,238002840,238004527,238005512,238007489, 0 COPS8 cmpl cmpl 0,0,2,0,1,1,1,1, 1706 NM_001185081 chrX + 146993468 147032647 146993697 147030350 15 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147026463,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,0,2, 19 NM_001143836 chr11 - 89057521 89224653 89059923 89224414 17 89057521,89069012,89070614,89073230,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89224357, 89060044,89069113,89070683,89073339,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185063,89223721,89224653, 0 NOX4 cmpl cmpl 2,0,0,2,1,0,0,0,2,2,1,0,1,0,0,0,0, 1951 NM_001164444 chr5 - 179105558 179107975 179105583 179107919 2 179105558,179107873, 179106266,179107975, 0 CBY3 cmpl cmpl 1,0, 1521 NM_176824 chr4 - 122745483 122791652 122747014 122791468 19 122745483,122749300,122749556,122749773,122754385,122756298,122760785,122765081,122766658,122768558,122769998,122774110,122775858,122776643,122780146,122782658,122784371,122789135,122791432, 122747148,122749424,122749660,122749883,122754550,122756438,122760851,122765156,122766851,122768661,122770083,122774241,122775975,122776716,122780333,122782834,122784434,122789201,122791652, 0 BBS7 cmpl cmpl 1,0,1,2,2,0,0,0,2,1,0,1,1,0,2,0,0,0,0, 604 NM_152743 chr7 - 2577443 2595392 2577702 2594065 14 2577443,2578812,2579177,2579419,2580612,2580931,2581351,2581753,2582837,2583223,2584542,2586957,2593938,2595120, 2578398,2578985,2579276,2579522,2580686,2581118,2581470,2581845,2582957,2583596,2584690,2587112,2594081,2595392, 0 BRAT1 cmpl cmpl 0,1,1,0,1,0,1,2,2,1,0,1,0,-1, 1784 NM_006186 chr2 - 157180943 157189287 157182255 157186698 8 157180943,157182661,157183229,157184362,157184915,157185834,157187179,157188991, 157182512,157182840,157183432,157184526,157185045,157186700,157187303,157189287, 0 NR4A2 cmpl cmpl 1,2,0,1,0,0,-1,-1, 142 NM_005744 chr15 + 72766666 72878896 72766980 72875633 14 72766666,72810407,72837160,72847611,72848192,72853823,72855734,72858903,72859446,72862517,72864448,72873071,72874415,72875548, 72767355,72810475,72837305,72847704,72848248,72853890,72855841,72858946,72859518,72862648,72864506,72873332,72874528,72878896, 0 ARIH1 cmpl cmpl 0,0,2,0,0,2,0,2,0,0,2,0,0,2, 884 NM_001337 chr3 - 39304984 39321527 39306932 39308000 2 39304984,39321444, 39308009,39321527, 0 CX3CR1 cmpl cmpl 0,-1, 137 NM_020850 chr16 - 67757004 67840555 67760330 67840439 14 67757004,67761229,67761653,67762292,67763182,67763582,67763840,67765374,67768760,67771915,67778190,67805936,67839330,67840204, 67760461,67761341,67761799,67762414,67763387,67763731,67763949,67765487,67768945,67771938,67778358,67805989,67839442,67840555, 0 RANBP10 cmpl cmpl 1,0,1,2,1,2,1,2,0,1,1,2,1,0, 119 NM_001199160 chr3 - 49146105 49158371 49146390 49156578 27 49146105,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154491,49154869,49155089,49155379,49156454,49158188, 49146618,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153371,49153595,49153784,49154040,49154376,49154794,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,0,1,1,1,0,-1, 946 NM_001256197 chrX + 47420498 47425373 47422366 47424753 6 47420498,47422307,47422624,47424195,47424383,47424650, 47420650,47422462,47422728,47424298,47424538,47425373, 0 ARAF cmpl cmpl -1,0,0,2,0,2, 1156 NM_001199172 chr17 + 74864797 74946471 74865111 74944920 17 74864797,74868932,74878232,74898636,74899384,74900333,74901250,74902099,74921047,74922678,74928726,74934063,74936483,74936813,74942457,74943911,74944721, 74865179,74869045,74878380,74898752,74899458,74900504,74901415,74902269,74921179,74922812,74928857,74934225,74936630,74936930,74942532,74944168,74946471, 0 MGAT5B cmpl cmpl 0,2,1,2,1,0,0,0,2,2,1,0,0,0,0,0,2, 979 NM_001243726 chr3 + 51705289 51738339 51708320 51738032 5 51705289,51708286,51718428,51733421,51737739, 51705347,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,0,1, 886 NM_001166003 chr22 + 39493228 39500072 39496283 39498576 6 39493228,39496276,39497241,39497922,39498516,39499693, 39493348,39496433,39497509,39498047,39498610,39500072, 0 APOBEC3H cmpl cmpl -1,0,0,1,0,-1, 886 NM_001166002 chr22 + 39493228 39500072 39496283 39499702 5 39493228,39496276,39497241,39497922,39499696, 39493348,39496433,39497509,39498047,39500072, 0 APOBEC3H cmpl cmpl -1,0,0,1,0, 14 NM_032583 chr16 - 48200821 48269088 48201184 48265832 30 48200821,48201406,48204015,48204799,48209168,48210834,48212507,48218350,48220863,48221111,48226430,48227789,48230142,48231881,48232051,48234186,48237138,48239323,48242335,48244858,48247353,48248791,48249107,48250024,48256508,48258192,48261716,48264347,48265733,48269042, 48201277,48201571,48204129,48204878,48209328,48211024,48212597,48218537,48221001,48221338,48226628,48227893,48230232,48231978,48232186,48234390,48237211,48239448,48242407,48245110,48247461,48248940,48249255,48250198,48256742,48258340,48261875,48264484,48265850,48269088, 0 ABCC11 cmpl cmpl 0,0,0,2,1,0,0,2,2,0,0,1,1,0,0,0,2,0,0,0,0,1,0,0,0,2,2,0,0,-1, 1160 NM_025098 chr11 + 75428933 75442331 75428933 75442331 6 75428933,75431036,75438479,75439014,75439834,75442176, 75429024,75431215,75438684,75439189,75440034,75442331, 0 MOGAT2 cmpl cmpl 0,1,0,1,2,1, 595 NM_001161532 chrX + 1387692 1428828 1407707 1428372 11 1387692,1401570,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1401672,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,2,1,0,0,1,2,0, 642 NM_133491 chr17 - 7529555 7531194 7529764 7530953 6 7529555,7530070,7530260,7530460,7530680,7530887, 7529932,7530111,7530362,7530544,7530732,7531194, 0 SAT2 cmpl cmpl 0,1,1,1,0,0, 1592 NM_002188 chr5 + 131993864 131996801 131993878 131995974 4 131993864,131995109,131995415,131995866, 131994052,131995163,131995520,131996801, 0 IL13 cmpl cmpl 0,0,0,0, 609 NM_182916 chr3 + 3168599 3190706 3170724 3189838 8 3168599,3170697,3178943,3182193,3186267,3188113,3189133,3189589, 3168674,3170872,3179137,3182332,3186394,3188307,3189387,3190706, 0 TRNT1 cmpl cmpl -1,0,1,0,1,2,1,0, 1147 NM_022803 chr11 - 73713811 73720282 73714867 73718087 6 73713811,73715528,73716774,73717213,73717961,73720022, 73715052,73715630,73716978,73717424,73718182,73720282, 0 UCP3 cmpl cmpl 1,1,1,0,0,-1, 823 NM_017762 chr15 - 31231143 31283807 31233672 31283709 16 31231143,31235092,31239332,31240504,31244170,31245764,31246965,31251065,31251236,31253083,31260122,31266516,31267133,31269021,31282979,31283649, 31234275,31235275,31239503,31240674,31244241,31245834,31247096,31251154,31251324,31253276,31260213,31266659,31267206,31269158,31283040,31283807, 0 MTMR10 cmpl cmpl 0,0,0,1,2,1,2,0,2,1,0,1,0,1,0,0, 108 NM_014831 chr3 - 36868307 36986548 36869765 36986300 23 36868307,36871054,36872363,36876252,36879862,36880103,36884112,36887738,36888690,36893209,36893636,36896663,36900208,36902396,36905809,36915616,36931319,36933692,36934391,36937130,36940599,36944639,36986277, 36869866,36871153,36875410,36876398,36879995,36880207,36884201,36887895,36888837,36893347,36893836,36899540,36900385,36902651,36905971,36915787,36931451,36933831,36934475,36937249,36940750,36944766,36986548, 0 TRANK1 cmpl cmpl 1,1,2,0,2,0,1,0,0,0,1,1,1,1,1,1,1,0,0,1,0,2,0, 267 NM_014827 chr1 + 203764750 203823256 203786198 203821527 20 203764750,203765420,203770702,203772084,203786053,203787697,203797426,203798578,203798907,203799250,203800788,203802918,203807093,203809433,203816311,203817458,203818838,203819642,203820184,203821268, 203764903,203765624,203770756,203772144,203786252,203787817,203797550,203798782,203799024,203799331,203800899,203802981,203807192,203809502,203816815,203817535,203819154,203819809,203820252,203823256, 0 ZC3H11A cmpl cmpl -1,-1,-1,-1,0,0,0,1,1,1,1,1,1,1,1,1,0,1,0,2, 682 NM_152290 chr1 + 12806162 12821102 12806378 12820884 4 12806162,12815649,12819242,12820702, 12806489,12815763,12819420,12821102, 0 C1orf158 cmpl cmpl 0,0,0,1, 120 NM_001270960 chr19 - 50058724 50083829 50059007 50063948 9 50058724,50059573,50059805,50060131,50060346,50062153,50063190,50063878,50083771, 50059079,50059682,50059993,50060250,50060506,50062235,50063296,50063949,50083829, 0 NOSIP cmpl cmpl 0,2,0,1,0,2,1,0,-1, 1060 NM_001283009 chr20 + 62289162 62327606 62290755 62327211 35 62289162,62290585,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62327003,62327606, 0 RTEL1 cmpl cmpl -1,0,0,1,2,0,1,2,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,0, 965 NM_203370 chr3 + 49840686 49842463 49840819 49842420 2 49840686,49841613, 49840876,49842463, 0 FAM212A cmpl cmpl 0,0, 766 NR_003950 chr22 - 23732791 23744799 23744799 23744799 6 23732791,23734913,23736112,23741946,23744027,23744547, 23733911,23735020,23736244,23742770,23744140,23744799, 0 ZDHHC8P1 unk unk -1,-1,-1,-1,-1,-1, 857 NM_001135732 chr22 + 35695796 35743987 35695921 35743202 15 35695796,35713869,35717951,35719020,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742965,35743987, 0 TOM1 cmpl cmpl 0,1,2,0,0,0,0,0,2,0,1,2,0,0,1, 971 NR_024225 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A11 unk unk -1, 1566 NM_031445 chr2 - 128619206 128642434 128622667 128631808 8 128619206,128624473,128627027,128628387,128628822,128631401,128641776,128642331, 128622779,128624570,128627118,128628502,128628933,128631846,128641886,128642434, 0 AMMECR1L cmpl cmpl 2,1,0,2,2,0,-1,-1, 93 NM_001177520 chr1 + 21835857 21904905 21887172 21904141 10 21835857,21887118,21889602,21890533,21894596,21896797,21900157,21902225,21903014,21903875, 21836010,21887238,21889777,21890709,21894740,21896867,21900292,21902417,21903134,21904905, 0 ALPL cmpl cmpl -1,0,0,1,0,0,1,1,1,1, 962 NM_006666 chr19 + 49497155 49519182 49497168 49519099 15 49497155,49502575,49506535,49507533,49510274,49510558,49513032,49513229,49513744,49514255,49514448,49517740,49518277,49518828,49519073, 49497180,49502630,49506591,49507675,49510404,49510625,49513139,49513323,49513868,49514350,49514567,49517860,49518407,49518943,49519182, 0 RUVBL2 cmpl cmpl 0,0,1,0,1,2,0,2,0,1,0,2,2,0,1, 12 NM_001032410 chr21 + 30396937 30426807 30400234 30426508 19 30396937,30398029,30400193,30402915,30407157,30408591,30409596,30410655,30411346,30411801,30412929,30414333,30414792,30415743,30418987,30421081,30422412,30426122,30426386, 30397098,30398092,30400295,30403094,30407261,30408695,30409784,30410751,30411477,30411889,30413008,30414425,30414849,30415920,30419642,30421176,30422499,30426279,30426807, 0 USP16 cmpl cmpl -1,-1,0,1,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1, 1643 NM_024625 chr7 - 138745083 138794465 138745777 138794077 9 138745083,138749624,138758601,138761031,138763297,138764215,138768525,138774369,138793769, 138745884,138749745,138758776,138761155,138763399,138764989,138768778,138774505,138794465, 0 ZC3HAV1 cmpl cmpl 1,0,2,1,1,1,0,2,0, 1438 NM_024616 chr3 + 111805181 111837044 111805254 111835493 6 111805181,111812206,111821684,111828389,111831810,111835488, 111805392,111812336,111821812,111828460,111831992,111837044, 0 C3orf52 cmpl cmpl 0,0,1,0,2,1, 598 NM_001040439 chr16 + 1756220 1820318 1756340 1818825 31 1756220,1774557,1779138,1779487,1793335,1797029,1798244,1798602,1802534,1809954,1810380,1811224,1812351,1812675,1812836,1813657,1814115,1814301,1815013,1815960,1816220,1816529,1816723,1816904,1817149,1817564,1817805,1818069,1818199,1818477,1818703, 1756658,1774678,1779209,1779579,1793477,1797276,1798347,1798722,1802541,1810016,1810533,1811306,1812482,1812732,1813007,1813784,1814211,1814460,1815179,1816143,1816410,1816649,1816804,1816972,1817298,1817736,1817919,1818108,1818379,1818627,1820318, 0 MAPK8IP3 cmpl cmpl 0,0,1,0,2,0,1,2,2,0,2,2,0,2,2,2,0,0,0,1,1,2,2,2,1,0,1,1,1,1,1, 273 NM_001039538 chr2 + 210288770 210598834 210517894 210595121 15 210288770,210372315,210444759,210489776,210517865,210543295,210545473,210565000,210569173,210570303,210574637,210588318,210590432,210594573,210594905, 210289000,210372365,210444824,210489853,210518156,210543409,210545551,210565062,210569344,210570451,210574978,210588411,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,-1,0,1,1,1,0,0,1,0,0,1,0, 1023 NM_001159279 chr7 + 57509882 57533265 57509994 57529655 4 57509882,57522165,57522778,57528429, 57510033,57522292,57522874,57533265, 0 ZNF716 cmpl cmpl 0,0,1,1, 1771 NM_004733 chr3 - 155544300 155572248 155545998 155571786 6 155544300,155547476,155551256,155551645,155560220,155571011, 155546166,155547692,155551374,155551830,155560408,155572248, 0 SLC33A1 cmpl cmpl 0,0,2,0,1,0, 1358 NM_001144884 chr1 + 101361631 101447311 101361818 101440413 12 101361631,101362125,101372407,101376618,101377667,101379218,101383632,101387261,101427383,101431324,101440365,101440774, 101361898,101362227,101372521,101376706,101377794,101379362,101383683,101387397,101427474,101431474,101440458,101447311, 0 SLC30A7 cmpl cmpl 0,2,2,2,0,1,1,1,2,0,0,-1, 2076 NM_004532 chr3 - 195473637 195538844 195474046 195538688 24 195473637,195475772,195477759,195478077,195479243,195479921,195481083,195484017,195485994,195487754,195488354,195488957,195489725,195490303,195490915,195491867,195492140,195493533,195495892,195497086,195498522,195501042,195505173,195538606, 195474251,195475935,195477983,195478142,195479317,195480101,195481243,195484199,195486132,195487988,195488456,195489125,195489816,195490512,195491035,195491993,195492320,195493622,195496023,195497242,195498687,195501176,195505326,195538844, 0 MUC4 cmpl cmpl 2,1,2,0,1,1,0,1,1,1,1,1,0,1,1,1,1,2,0,0,0,1,1,0, 1187 NM_000750 chr15 - 78916635 78933587 78917474 78933475 6 78916635,78921308,78923417,78923629,78927780,78933420, 78917633,78922287,78923527,78923674,78927929,78933587, 0 CHRNB4 cmpl cmpl 0,2,0,0,1,0, 2415 NR_103776 chr1 - 239870425 239882419 239882419 239882419 3 239870425,239877476,239882249, 239871060,239877564,239882419, 0 CHRM3-AS2 unk unk -1,-1,-1, 1689 NM_173831 chr8 + 144766621 144777555 144772278 144776700 7 144766621,144770163,144771373,144772226,144773242,144773769,144775840, 144766712,144770237,144771471,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,-1,0,0,1,1, 127 NM_013449 chr12 - 56989379 57030163 56992401 57029969 29 56989379,56992651,56992912,56993485,56993747,56993984,56994464,56994726,56994963,56995329,56996496,56997142,56997303,56998000,56998368,56998856,56999613,57000030,57000416,57003519,57003897,57004192,57005356,57005556,57006798,57007736,57008797,57011178,57029965, 56992567,56992795,56993142,56993632,56993880,56994274,56994616,56994882,56995186,56995976,56996641,56997202,56997484,56998075,56998583,56999111,56999847,57000096,57000517,57003730,57003999,57004301,57005417,57006030,57007017,57007922,57009391,57011316,57030163, 0 BAZ2A cmpl cmpl 2,2,0,0,2,0,1,1,0,1,0,0,2,2,0,0,0,0,1,0,0,2,1,1,1,1,1,1,0, 141 NR_028294 chr1 - 71318035 71513491 71513491 71513491 6 71318035,71327987,71331371,71419445,71477987,71512363, 71318542,71328080,71331516,71419472,71478167,71513491, 0 PTGER3 unk unk -1,-1,-1,-1,-1,-1, 141 NR_028293 chr1 - 71318035 71513491 71513491 71513491 5 71318035,71327987,71334926,71477987,71512363, 71318542,71328080,71335002,71478167,71513491, 0 PTGER3 unk unk -1,-1,-1,-1,-1, 999 NM_001135604 chr5 - 54273694 54281414 54275159 54281345 2 54273694,54281044, 54275263,54281414, 0 ESM1 cmpl cmpl 1,0, 635 NM_004517 chr11 + 6624937 6632105 6625501 6631842 13 6624937,6625409,6629275,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629441,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,0,2,0,0,1,1,0,2,1,0,1,0, 176 NM_000051 chr11 + 108093558 108239826 108098351 108236235 63 108093558,108098321,108098502,108099904,108106396,108114679,108115514,108117690,108119659,108121427,108122563,108123543,108124540,108126941,108128207,108129712,108137897,108139136,108141790,108141977,108143258,108143448,108150217,108151721,108153436,108154953,108158326,108159703,108160328,108163345,108164039,108165653,108168013,108170440,108172374,108173579,108175401,108178623,108180886,108183137,108186549,108186737,108188099,108190680,108192027,108196036,108196784,108198371,108199747,108200940,108202170,108202605,108203488,108204612,108205695,108206571,108213948,108216469,108218005,108224492,108225537,108235808,108236051, 108093913,108098423,108098615,108100050,108106561,108114845,108115753,108117854,108119829,108121799,108122758,108123639,108124766,108127067,108128333,108129802,108138069,108139336,108141873,108142133,108143334,108143579,108150335,108151895,108153606,108155200,108158442,108159830,108160528,108163520,108164204,108165786,108168109,108170612,108172516,108173756,108175579,108178711,108181042,108183225,108186638,108186840,108188248,108190785,108192147,108196271,108196952,108198485,108199965,108201148,108202284,108202764,108203627,108204695,108205836,108206688,108214098,108216635,108218092,108224607,108225601,108235945,108239826, 0 ATM cmpl cmpl -1,0,0,2,1,1,2,1,0,2,2,2,2,0,0,0,0,1,0,2,2,0,2,0,0,2,0,2,0,2,0,0,1,1,2,0,0,1,2,2,0,2,0,2,2,2,0,0,0,2,0,0,0,1,0,0,0,0,1,1,2,0,2, 1016 NM_013444 chrX + 56590025 56593443 56590306 56592181 1 56590025, 56593443, 0 UBQLN2 cmpl cmpl 0, 128 NM_005550 chr16 - 57792128 57836439 57792795 57832155 19 57792128,57793639,57794193,57794637,57794953,57795324,57796051,57798054,57799370,57800785,57803506,57803719,57804438,57805109,57805454,57806134,57828910,57831983,57836281, 57792821,57793748,57794328,57794867,57795083,57795448,57796182,57798159,57799552,57800897,57803637,57803867,57804612,57805349,57805598,57806200,57829053,57832194,57836439, 0 KIFC3 cmpl cmpl 1,0,0,1,0,2,0,0,1,0,1,0,0,0,0,0,1,0,-1, 1379 NR_073110 chr10 - 104162373 104169041 104169041 104169041 8 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104168651, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104169041, 0 PSD unk unk -1,-1,-1,-1,-1,-1,-1,-1, 829 NM_022110 chr6 - 32096483 32098067 32096507 32097557 2 32096483,32097871, 32097631,32098067, 0 FKBPL cmpl cmpl 0,-1, 1735 NM_020322 chr7 + 150745378 150749843 150745972 150749834 10 150745378,150747192,150747567,150747844,150748125,150748258,150748896,150749069,150749252,150749660, 150746506,150747343,150747695,150748040,150748182,150748406,150748988,150749149,150749324,150749843, 0 ASIC3 cmpl cmpl 0,0,1,0,1,1,2,1,0,0, 1094 NM_017975 chr15 + 66797420 66841822 66797676 66839017 19 66797420,66801178,66806325,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66801230,66806421,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl 0,2,0,0,2,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 1744 NM_175742 chrX - 151918386 151922408 151918942 151919887 6 151918386,151920032,151920917,151921836,151922065,151922311, 151919952,151920098,151921037,151921915,151922147,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1,-1,-1, 1926 NM_001256539 chr5 - 175810939 175815763 175810966 175815540 5 175810939,175812221,175813840,175815235,175815433, 175811287,175812328,175813910,175815344,175815763, 0 NOP16 cmpl cmpl 0,1,0,2,0, 684 NM_001012277 chr1 + 12976466 12980300 12977512 12980233 4 12976466,12977487,12978181,12979671, 12976507,12977799,12978757,12980300, 0 PRAMEF7 cmpl cmpl -1,0,2,2, 1348 NM_001194990 chr7 + 100026412 100031749 100029048 100031177 5 100026412,100028237,100030541,100030885,100031124, 100026663,100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl -1,0,0,0,1, 636 NM_203462 chr4 - 6709428 6711606 6710972 6711356 2 6709428,6710957, 6710370,6711606, 0 MRFAP1L1 cmpl cmpl -1,0, 1706 NM_001185082 chrX + 146993468 147032647 146993697 147030364 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147024650,147026463,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147024846,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,1,1,0, 149 NM_001893 chr17 - 80200536 80231594 80202656 80231257 9 80200536,80206750,80207306,80209254,80210309,80210891,80213304,80223561,80231181, 80202707,80206890,80207478,80209403,80210480,80211120,80213453,80223672,80231594, 0 CSNK1D cmpl cmpl 0,1,0,1,1,0,1,1,0, 198 NM_001122672 chr9 - 131595391 131644354 131595862 131607684 12 131595391,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131604932,131607631,131644175, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131605080,131607690,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,2,0,-1, 802 NM_018690 chr16 + 28505969 28510291 28506002 28509826 4 28505969,28506419,28509401,28509756, 28506059,28509317,28509670,28510291, 0 APOBR cmpl cmpl 0,0,0,2, 602 NR_104485 chr16 - 2303116 2318413 2318413 2318413 7 2303116,2305585,2312278,2312740,2313096,2314176,2317933, 2304064,2305727,2312432,2312843,2313288,2314332,2318413, 0 RNPS1 unk unk -1,-1,-1,-1,-1,-1,-1, 265 NM_001162407 chr2 - 201717731 201729284 201718028 201728949 13 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201724847,201725960,201726424,201728823, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201724469,201724938,201726189,201726585,201729284, 0 CLK1 cmpl cmpl 0,2,0,1,0,1,2,2,1,0,2,0,0, 9 NR_073397 chr8 + 687604 1087777 1087777 1087777 4 687604,772091,857911,1087298, 687825,772193,857966,1087777, 0 ERICH1-AS1 unk unk -1,-1,-1,-1, 826 NM_004639 chr6 - 31606804 31620477 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620176, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615621,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 594 NM_006761 chr17 - 1247833 1303556 1248740 1303404 6 1247833,1257504,1264385,1265195,1268152,1303340, 1248793,1257641,1264592,1265302,1268352,1303556, 0 YWHAE cmpl cmpl 1,2,2,0,1,0, 825 NM_005931 chr6 + 31465826 31478901 31465970 31477686 6 31465826,31473393,31473919,31474798,31475176,31477558, 31466040,31473648,31474207,31475077,31475308,31478901, 0 MICB cmpl cmpl 0,1,1,1,1,1, 87 NM_001184957 chr3 + 14716605 14814543 14724586 14814382 17 14716605,14723781,14724481,14725748,14731503,14744636,14745843,14755513,14756795,14763159,14768407,14769945,14798877,14801397,14802979,14813573,14814297, 14716759,14723838,14724704,14725889,14731623,14744769,14746125,14755666,14756916,14763291,14768531,14770195,14799181,14801505,14803122,14813708,14814543, 0 C3orf20 cmpl cmpl -1,-1,0,1,1,1,2,2,2,0,0,1,2,0,0,2,2, 271 NM_000573 chr1 + 207669472 207815110 207669612 207812754 39 207669472,207679248,207680058,207684913,207696955,207700097,207700365,207702060,207724079,207725308,207726096,207731882,207734083,207737208,207737476,207739182,207741168,207742403,207743191,207748939,207751149,207753584,207753855,207755262,207757993,207760730,207762019,207780595,207782634,207785021,207785283,207787748,207789919,207791415,207793224,207795317,207796337,207803861,207812741, 207669733,207679428,207680158,207684999,207697354,207700274,207700468,207702146,207724298,207725488,207726196,207731968,207734482,207737385,207737579,207739268,207741387,207742583,207743291,207749025,207751548,207753761,207753958,207755348,207758221,207760910,207762119,207780681,207783033,207785198,207785386,207787834,207790147,207791592,207793410,207795341,207796413,207803966,207815110, 0 CR1 cmpl cmpl 0,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,1,1,2,2, 1952 NM_001142299 chr5 + 179234002 179265077 179250004 179263593 9 179234002,179238573,179249957,179250857,179251181,179252145,179260031,179260586,179263435, 179234123,179238682,179250053,179251087,179251323,179252226,179260246,179260782,179265077, 0 SQSTM1 cmpl cmpl -1,-1,0,1,0,1,1,0,1, 738 NM_001693 chr8 + 20054703 20079207 20054917 20077913 14 20054703,20061994,20066943,20067856,20068079,20068687,20069162,20069612,20070292,20072328,20073923,20074730,20075663,20077773, 20055053,20062050,20067042,20067950,20068157,20068827,20069264,20069710,20070416,20072479,20074006,20074835,20075793,20079207, 0 ATP6V1B2 cmpl cmpl 0,1,0,0,1,1,0,0,2,0,1,0,0,1, 163 NM_012081 chr5 - 95220801 95297775 95224574 95297425 12 95220801,95224789,95226806,95231331,95233943,95236396,95236659,95242226,95249474,95255127,95278705,95297278, 95224691,95224834,95226978,95231395,95234514,95236484,95236784,95242486,95249638,95255249,95278753,95297775, 0 ELL2 cmpl cmpl 0,0,2,1,0,2,0,1,2,0,0,0, 14 NM_018018 chr12 - 47158543 47219780 47160483 47186854 17 47158543,47162092,47163066,47168831,47170686,47172071,47172283,47173393,47173562,47173731,47178324,47178886,47181698,47182310,47186735,47197385,47219685, 47160585,47162190,47163211,47168956,47170787,47172151,47172559,47173452,47173645,47173813,47178417,47178960,47181814,47182401,47186966,47197577,47219780, 0 SLC38A4 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1358 NR_003196 chr14 + 101420680 101420784 101420784 101420784 1 101420680, 101420784, 0 SNORD114-4 unk unk -1, 599 NM_001163926 chr12 + 1929432 1945918 1937314 1943887 5 1929432,1936572,1937241,1940100,1943432, 1929980,1936760,1937381,1940691,1945918, 0 LRTM2 cmpl cmpl -1,-1,0,1,1, 599 NM_001163925 chr12 + 1929432 1945918 1937314 1943887 5 1929432,1936575,1937241,1940100,1943432, 1929980,1936796,1937381,1940691,1945918, 0 LRTM2 cmpl cmpl -1,-1,0,1,1, 134 NM_002737 chr17 + 64298925 64806862 64298969 64800155 17 64298925,64302213,64492318,64637472,64641500,64683228,64684419,64685068,64728805,64731606,64734881,64737776,64738739,64770104,64782984,64784956,64799990, 64299142,64302245,64492401,64637584,64641629,64683385,64684554,64685165,64728943,64731780,64734973,64737839,64738878,64770185,64783092,64785097,64806862, 0 PRKCA cmpl cmpl 0,2,1,0,1,1,2,2,0,0,0,2,2,0,0,0,0, 1624 NM_017503 chr9 + 136223420 136228041 136223468 136228015 6 136223420,136223789,136224586,136226825,136227140,136227931, 136223546,136223944,136224690,136227005,136227310,136228041, 0 SURF2 cmpl cmpl 0,0,2,1,1,0, 1083 NM_001164266 chr11 - 65306029 65325699 65306550 65321831 27 65306029,65306798,65307018,65307190,65307715,65307956,65308341,65308596,65309070,65310575,65310897,65313912,65314268,65314909,65315160,65315390,65318596,65318872,65319018,65319442,65319718,65320330,65320634,65320895,65321171,65321521,65325103, 65306702,65306930,65307099,65307352,65307853,65308085,65308425,65308764,65309199,65310695,65311020,65314035,65314391,65315038,65315292,65315516,65318695,65318945,65319035,65319628,65319877,65320453,65320727,65321001,65321374,65321851,65325699, 0 LTBP3 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,-1, 73 NM_004237 chr5 + 892968 918164 893113 917218 13 892968,894901,896779,900608,901455,904262,907244,908102,908469,911957,914579,916018,917122, 893205,895067,896909,900664,901546,904335,907308,908189,908576,912111,914692,916088,918164, 0 TRIP13 cmpl cmpl 0,2,0,1,0,1,2,0,0,2,0,2,0, 926 NM_004234 chr19 - 44790500 44809178 44791370 44807557 5 44790500,44802960,44803758,44807542,44809123, 44793349,44803056,44803885,44807605,44809178, 0 ZNF235 cmpl cmpl 1,1,0,0,-1, 98 NM_052953 chr3 + 26664299 26752265 26751163 26751943 2 26664299,26751003, 26664728,26752265, 0 LRRC3B cmpl cmpl -1,0, 1359 NM_001277423 chrX + 101470279 101481785 101476558 101481591 10 101470279,101470806,101472933,101476533,101477417,101478374,101478757,101479076,101480019,101481358, 101470319,101470944,101473059,101476654,101477608,101478511,101478978,101479258,101480183,101481785, 0 TCP11X2 cmpl cmpl -1,-1,-1,0,0,2,1,0,2,1, 1476 NM_001139444 chr6 - 116817650 116866773 116818116 116866677 5 116817650,116821643,116861525,116864465,116866635, 116818236,116821829,116861625,116864563,116866773, 0 TRAPPC3L cmpl cmpl 0,0,2,0,0, 605 NR_033754 chr18 - 2652168 2655394 2655394 2655394 2 2652168,2655098, 2653301,2655394, 0 CBX3P2 unk unk -1,-1, 741 NR_038836 chr15 + 20487996 20496811 20496811 20496811 6 20487996,20488748,20489407,20490503,20495365,20496596, 20488227,20488912,20489495,20490588,20495446,20496811, 0 CHEK2P2 unk unk -1,-1,-1,-1,-1,-1, 110 NM_025132 chr4 + 39184023 39287430 39184177 39280270 37 39184023,39187345,39188158,39191275,39196163,39201097,39205261,39206773,39207182,39216220,39217460,39217715,39218753,39219602,39226503,39229829,39230105,39233416,39233781,39236385,39241896,39245867,39246089,39246988,39254765,39255525,39257467,39259105,39267682,39269614,39271595,39274599,39276427,39278639,39279750,39280158,39287106, 39184183,39187437,39188224,39191401,39196279,39201213,39205342,39206886,39207356,39216291,39217633,39217830,39218860,39219725,39226653,39229977,39230310,39233576,39233892,39236495,39241954,39246008,39246172,39247072,39254912,39255650,39257580,39259174,39267760,39269711,39271720,39274681,39276578,39278763,39279827,39280283,39287430, 0 WDR19 cmpl cmpl 0,0,2,2,2,1,0,0,2,2,1,0,1,0,0,0,1,2,0,0,2,0,0,2,2,2,1,0,0,0,1,0,1,2,0,2,-1, 659 NR_046450 chr12 + 9769879 9811010 9811010 9811010 5 9769879,9806278,9808468,9809163,9809516, 9769947,9806404,9808575,9809245,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 659 NR_046448 chr12 + 9786014 9811010 9811010 9811010 5 9786014,9806278,9807720,9808468,9809516, 9786117,9806404,9807899,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 1379 NM_001077494 chr10 + 104154334 104162286 104155716 104162133 23 104154334,104155644,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162008, 104154531,104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl -1,0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 656 NM_001242332 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L29 cmpl cmpl 0, 954 NM_004962 chr10 - 48425787 48439138 48426569 48438710 3 48425787,48428640,48438391, 48426761,48429566,48439138, 0 GDF10 cmpl cmpl 0,1,0, 108 NM_001278482 chr13 - 37583450 37633624 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633331, 37583946,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619513,37621738,37622073,37622736,37625720,37633624, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 118 NM_002507 chr17 + 47572654 47592382 47572779 47590371 6 47572654,47579424,47583660,47587773,47589253,47590069, 47572845,47579566,47584020,47588026,47589414,47592382, 0 NGFR cmpl cmpl 0,0,1,1,2,1, 111 NM_001278369 chr4 + 40195268 40246384 40245006 40245582 3 40195268,40244333,40244797, 40195432,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 111 NM_001278368 chr4 + 40192630 40246384 40245006 40245582 3 40192630,40244333,40244797, 40192958,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 111 NM_001278366 chr4 + 40194586 40246384 40245006 40245582 4 40194586,40198740,40244333,40244797, 40194743,40198920,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 143 NM_001195519 chr10 - 74127083 74283744 74127952 74283617 7 74127083,74135540,74167686,74182991,74234857,74236931,74283559, 74128113,74135630,74167795,74183129,74235055,74237014,74283744, 0 MICU1 cmpl cmpl 1,1,0,0,0,1,0, 1346 NM_018275 chr7 - 99752042 99756302 99752633 99756122 11 99752042,99752884,99753293,99754008,99754256,99754467,99754716,99754995,99755255,99755465,99755711, 99752787,99753078,99753448,99754172,99754339,99754615,99754837,99755082,99755385,99755561,99756302, 0 C7orf43 cmpl cmpl 2,0,1,2,0,2,1,1,0,0,0, 946 NM_000256 chr11 - 47352956 47374253 47353421 47374198 34 47352956,47353395,47353622,47354116,47354364,47354744,47355107,47355472,47356592,47357427,47358941,47359240,47360070,47360874,47361201,47362553,47362688,47363541,47364128,47364380,47364571,47365042,47367757,47368177,47368972,47368975,47369201,47369407,47369974,47371324,47371564,47372052,47372789,47374173, 47353267,47353432,47353809,47354253,47354524,47354884,47355303,47355561,47356760,47357562,47359130,47359345,47360230,47360955,47361341,47362583,47362795,47363707,47364295,47364486,47364699,47365175,47367921,47368195,47368974,47369030,47369231,47369456,47370092,47371473,47371663,47372166,47373056,47374253, 0 MYBPC3 cmpl cmpl -1,1,0,1,0,1,0,1,1,1,1,1,0,0,1,1,2,1,2,1,2,1,2,2,0,2,2,1,0,1,1,1,1,0, 804 NR_033353 chr15 - 28764756 28778143 28778143 28778143 18 28764756,28767988,28768230,28768413,28769088,28769617,28771052,28771400,28772047,28772330,28772544,28773653,28773858,28774031,28775245,28775509,28776154,28777971, 28767903,28768141,28768331,28768514,28769180,28769693,28771133,28771657,28772135,28772438,28772634,28773763,28773943,28774391,28775326,28775569,28776274,28778143, 0 GOLGA8G unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1127 NR_038862 chr11 - 71116791 71134400 71134400 71134400 3 71116791,71132846,71134379, 71118828,71132950,71134400, 0 FLJ42102 unk unk -1,-1,-1, 764 NR_038400 chr21 + 23470935 23488847 23488847 23488847 6 23470935,23481764,23484089,23487078,23487296,23488654, 23471031,23481872,23484145,23487217,23487431,23488847, 0 LINC00308 unk unk -1,-1,-1,-1,-1,-1, 156 NM_021721 chr7 + 87563565 87811428 87563780 87811343 28 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87810819,87811272, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87810920,87811428, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,1, 605 NR_003078 chr20 + 2634857 2634932 2634932 2634932 1 2634857, 2634932, 0 SNORD110 unk unk -1, 1152 NM_021972 chr17 + 74380689 74383941 74381725 74383667 6 74380689,74381531,74382023,74382301,74382473,74382886, 74380887,74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl -1,0,1,1,0,2, 612 NM_133261 chr19 + 3585568 3593539 3585595 3590188 6 3585568,3586492,3586811,3589440,3589828,3590036, 3585820,3586678,3586992,3589553,3589910,3593539, 0 GIPC3 cmpl cmpl 0,0,0,1,0,1, 592 NM_001031617 chr7 - 1004485 1015235 1009013 1015145 3 1004485,1012816,1015063, 1009092,1012928,1015235, 0 COX19 cmpl cmpl 2,1,0, 177 NM_001171689 chrX - 109437413 109683461 109441747 109560930 8 109437413,109444181,109445673,109459745,109507716,109560826,109669885,109683117, 109441862,109444278,109445764,109459860,109507827,109561077,109670031,109683461, 0 AMMECR1 cmpl cmpl 2,1,0,2,2,0,-1,-1, 971 NM_001171740 chr3 - 50595455 50605223 50597087 50603130 5 50595455,50598347,50599152,50602896,50604893, 50597168,50598495,50599178,50603292,50605223, 0 C3orf18 cmpl cmpl 0,2,0,0,-1, 1888 NM_001199462 chr6 - 170884659 170893742 170886646 170893669 7 170884659,170887944,170889089,170892144,170892592,170893386,170893579, 170886805,170888058,170889193,170892276,170892835,170893480,170893742, 0 PDCD2 cmpl cmpl 0,0,1,1,1,0,0, 1279 NM_001359 chr8 + 91013579 91064227 91013720 91064125 10 91013579,91029351,91031136,91031313,91033136,91049068,91054955,91057076,91063904,91064065, 91013789,91029554,91031194,91031400,91033284,91049168,91055028,91057223,91063967,91064227, 0 DECR1 cmpl cmpl 0,0,2,0,0,1,2,0,0,0, 90 NM_001204148 chr7 + 18548899 18708466 18624974 18706150 11 18548899,18624903,18629958,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835, 18549069,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,0,1,2,1,1,0,0,1,0, 90 NM_001204146 chr7 + 18535368 18708466 18535925 18706150 11 18535368,18535884,18624903,18629958,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18535646,18535947,18625145,18630109,18631265,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,0,0,1,0, 90 NM_001204144 chr7 + 18126571 18708466 18201947 18706150 13 18126571,18201851,18498464,18535884,18624903,18629967,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18126836,18201972,18498524,18535947,18625145,18630109,18631265,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,1,1,1,0,1,2,1,0,0,1,0, 110 NM_003616 chr14 + 39583487 39606177 39583509 39605683 10 39583487,39584032,39587202,39587743,39591633,39594195,39597483,39601161,39602864,39605643, 39583679,39584117,39587292,39587803,39591747,39594240,39597552,39601272,39602923,39606177, 0 GEMIN2 cmpl cmpl 0,2,0,0,0,0,0,0,0,2, 1538 NM_198277 chr11 + 124933012 124960412 124933263 124956127 19 124933012,124946652,124947125,124947345,124949007,124949579,124950509,124951316,124951649,124952139,124953710,124954129,124954720,124954961,124955290,124955472,124955849,124956099,124958014, 124933322,124946734,124947219,124947424,124949143,124949656,124950676,124951354,124951802,124952230,124953773,124954215,124954769,124955035,124955369,124955570,124955914,124956156,124960412, 0 SLC37A2 cmpl cmpl 0,2,0,1,2,0,2,1,0,0,1,1,0,1,0,1,0,2,-1, 79 NM_145689 chr11 - 6416353 6440702 6416763 6432577 14 6416353,6417015,6417329,6422218,6422574,6422803,6423311,6423805,6424374,6424548,6424717,6424876,6431856,6440575, 6416931,6417192,6417445,6422302,6422659,6422918,6423439,6423955,6424438,6424634,6424774,6425052,6432591,6440702, 0 APBB1 cmpl cmpl 0,0,1,1,0,2,0,0,2,0,0,1,0,-1, 2197 NM_001136575 chr2 - 211295972 211341499 211299210 211341120 10 211295972,211300110,211300939,211302413,211305321,211306031,211319830,211336682,211341039,211341445, 211299287,211300183,211301116,211302596,211305468,211306167,211320038,211336800,211341136,211341499, 0 LANCL1 cmpl cmpl 1,0,0,0,0,2,1,0,0,-1, 1737 NR_109857 chr7 + 151106246 151110440 151110440 151110440 6 151106246,151108313,151108755,151109052,151109804,151110357, 151106468,151108398,151108878,151109156,151109938,151110440, 0 WDR86-AS1 unk unk -1,-1,-1,-1,-1,-1, 156 NM_016351 chr7 + 87563565 87832204 87563780 87825806 30 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87810819,87811272,87822430,87825785, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87810920,87811339,87822554,87832204, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,1,2,0, 152 NM_014933 chr4 - 83739813 83812419 83740226 83803089 27 83739813,83742189,83745707,83748521,83750152,83763292,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803090,83812419, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 856 NM_006285 chr9 + 35605280 35610038 35605616 35609739 10 35605280,35605980,35606233,35606833,35607323,35607578,35607924,35608156,35608391,35608858, 35605835,35606102,35606282,35606980,35607406,35607669,35608008,35608246,35608506,35610038, 0 TESK1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1, 749 NM_001243425 chr18 + 21594383 21600262 21594835 21599887 2 21594383,21599823, 21595002,21600262, 0 TTC39C cmpl cmpl 0,2, 129 NR_046095 chr14 + 59105554 59115038 59115038 59115038 4 59105554,59107453,59108309,59112086, 59105980,59107586,59108465,59115038, 0 DACT1 unk unk -1,-1,-1,-1, 733 NR_046104 chr14 - 19407014 19410111 19410111 19410111 3 19407014,19409572,19409941, 19408008,19409681,19410111, 0 RP11-536C10.7 unk unk -1,-1,-1, 241 NM_001167579 chr5 + 176811431 176817514 176812742 176816726 9 176811431,176812695,176812987,176813221,176813423,176814762,176814994,176815277,176816639, 176811488,176812851,176813137,176813350,176813567,176814874,176815190,176815373,176817514, 0 SLC34A1 cmpl cmpl -1,0,1,1,1,1,2,0,0, 1698 NM_001097616 chr1 + 145883867 145924049 145883867 145923443 9 145883867,145884854,145897084,145899405,145900397,145916724,145918957,145923027,145923236, 145883998,145884935,145897194,145899494,145900490,145916820,145919047,145923093,145924049, 0 GPR89C cmpl cmpl 0,2,2,1,0,0,0,0,0, 1706 NM_001185076 chrX + 146993468 147032647 146993697 147030364 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147024650,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147024846,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,1,1,0, 717 NM_001202439 chr11 + 17373308 17398868 17373516 17394059 5 17373308,17378197,17388555,17390413,17393552, 17373586,17378548,17388894,17390511,17398868, 0 NCR3LG1 cmpl cmpl 0,1,1,1,0, 825 NM_001623 chr6 + 31583032 31584798 31583106 31584677 6 31583032,31583297,31583446,31583880,31584120,31584592, 31583131,31583359,31583513,31583922,31584283,31584798, 0 AIF1 cmpl cmpl 0,1,0,1,1,2, 1513 NM_001199800 chr3 - 121706169 121741127 121707213 121740924 6 121706169,121711996,121713028,121724090,121725837,121740866, 121707255,121712817,121713160,121724240,121726008,121741127, 0 ILDR1 cmpl cmpl 0,1,1,1,1,0, 176 NM_001146 chr8 - 108261709 108510254 108264082 108509786 9 108261709,108276448,108296909,108306163,108315467,108334123,108348377,108359169,108509489, 108264243,108276579,108297076,108306265,108315595,108334356,108348499,108359325,108510254, 0 ANGPT1 cmpl cmpl 1,2,0,0,1,2,0,0,0, 1486 NM_173851 chr8 + 118147336 118188953 118147566 118184920 8 118147336,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 118147637,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl 0,2,1,1,2,0,1,1, 182 NM_005023 chr5 - 114546526 114598569 114548098 114598548 9 114546526,114552561,114557520,114566672,114572086,114573554,114577235,114588833,114598408, 114548280,114552670,114557705,114566718,114572219,114573706,114577303,114588952,114598569, 0 PGGT1B cmpl cmpl 1,0,1,0,2,0,1,2,0, 2 NM_001199919 chr6 - 83875848 83903012 83876105 83900731 14 83875848,83878960,83880023,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83900527,83902897, 83876185,83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83900733,83903012, 0 PGM3 cmpl cmpl 1,0,0,0,0,0,0,1,0,1,2,0,0,-1, 2 NM_001199917 chr6 - 83874592 83903655 83878952 83900987 14 83874592,83880023,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83900527,83900905,83903541, 83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83900733,83901042,83903655, 0 PGM3 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,0,1,0,-1, 952 NM_001199899 chr17 + 48173058 48188733 48174860 48187461 11 48173058,48174786,48182734,48183248,48184157,48184439,48185519,48185682,48185975,48186650,48187320, 48173174,48174928,48182806,48183433,48184247,48184517,48185596,48185781,48186083,48186764,48188733, 0 PDK2 cmpl cmpl -1,0,2,2,1,1,1,0,0,0,0, 883 NM_213656 chr17 - 39114668 39123144 39114852 39123108 7 39114668,39116532,39118413,39118653,39119878,39120697,39122640, 39115111,39116753,39118539,39118815,39120035,39120780,39123144, 0 KRT39 cmpl cmpl 2,0,0,0,2,0,0, 143 NM_002314 chr7 + 73498106 73536855 73498320 73535631 16 73498106,73500077,73510951,73511409,73513361,73520204,73520406,73521339,73522200,73523234,73525977,73526262,73530131,73534912,73535221,73535468, 73498375,73500174,73511090,73511519,73513568,73520310,73520573,73521523,73522287,73523366,73526037,73526328,73530288,73534968,73535379,73536855, 0 LIMK1 cmpl cmpl 0,1,2,0,2,2,0,2,0,0,0,0,0,1,0,2, 1327 NM_003384 chr14 + 97263683 97347951 97299808 97347545 13 97263683,97299803,97304098,97312431,97313593,97319167,97319410,97321560,97322466,97322864,97326893,97342366,97347513, 97263784,97299968,97304154,97312501,97313681,97319276,97319503,97321693,97322587,97322923,97327072,97342457,97347951, 0 VRK1 cmpl cmpl -1,0,1,0,1,2,0,0,1,2,1,0,1, 985 NM_015136 chr3 + 52529355 52558511 52529429 52558372 69 52529355,52535181,52535653,52536021,52536174,52536647,52537014,52537359,52537787,52538043,52538476,52538754,52539018,52539334,52539683,52539898,52540185,52540707,52541628,52541946,52542288,52543225,52543885,52544157,52544364,52545665,52546356,52546611,52546843,52547145,52547732,52547898,52548130,52548380,52548716,52549004,52549438,52550058,52550371,52550557,52550707,52550999,52551335,52551565,52551896,52552327,52552551,52552738,52553279,52553520,52553959,52554219,52554415,52554657,52554819,52555376,52555611,52555859,52556052,52556345,52556570,52556790,52557040,52557237,52557442,52557667,52557886,52558115,52558315, 52529507,52535318,52535769,52536107,52536244,52536743,52537125,52537556,52537918,52538171,52538565,52538892,52539159,52539397,52539797,52539952,52540266,52540866,52541691,52542042,52542375,52543337,52544072,52544251,52544523,52545761,52546452,52546659,52546974,52547257,52547810,52547997,52548229,52548512,52548845,52549061,52549522,52550254,52550467,52550603,52550784,52551125,52551409,52551640,52552019,52552375,52552629,52552885,52553420,52553580,52554136,52554306,52554565,52554714,52555021,52555526,52555716,52555967,52556246,52556490,52556704,52556956,52557150,52557357,52557592,52557772,52558033,52558229,52558511, 0 STAB1 cmpl cmpl 0,0,2,1,0,1,1,1,0,2,1,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,2,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,0,0,0,0, 897 NM_001277732 chr17 + 41005259 41010147 41006493 41008567 4 41005259,41006464,41007460,41008291, 41005381,41006750,41007590,41010147, 0 AOC3 cmpl cmpl -1,0,2,0, 112 NM_002883 chr22 - 41640780 41682255 41642606 41677048 16 41640780,41645333,41645732,41647010,41648875,41650311,41652024,41652194,41652714,41653951,41657449,41660667,41664100,41670603,41676936,41681989, 41642676,41645455,41645821,41647113,41648995,41650498,41652109,41652294,41652828,41654110,41657584,41660847,41664160,41670731,41677086,41682255, 0 RANGAP1 cmpl cmpl 2,0,1,0,0,2,1,0,0,0,0,0,0,1,0,-1, 847 NR_104056 chr21 + 34430134 34437385 34437385 34437385 5 34430134,34430406,34435097,34436581,34436908, 34430204,34430510,34435122,34436754,34437385, 0 LINC00945 unk unk -1,-1,-1,-1,-1, 1613 NR_038219 chr6 + 134759527 134825158 134825158 134825158 5 134759527,134773172,134785878,134792046,134823925, 134759659,134773267,134785987,134792164,134825158, 0 LINC01010 unk unk -1,-1,-1,-1,-1, 1613 NR_038218 chr6 + 134759527 134825158 134825158 134825158 3 134759527,134785878,134823925, 134759659,134785987,134825158, 0 LINC01010 unk unk -1,-1,-1, 1613 NR_038217 chr6 + 134758853 134825158 134825158 134825158 3 134758853,134785878,134823925, 134759019,134785987,134825158, 0 LINC01010 unk unk -1,-1,-1, 968 NM_144499 chr3 + 50229042 50235129 50229158 50232388 9 50229042,50230565,50230697,50230938,50231185,50231524,50231933,50232197,50232700, 50229264,50230608,50230839,50231096,50231314,50231654,50232087,50232389,50235129, 0 GNAT1 cmpl cmpl 0,1,2,0,2,2,0,1,-1, 793 NM_030771 chr11 - 27360060 27384795 27360367 27384741 6 27360060,27362242,27362938,27371878,27378949,27384382, 27360582,27362384,27363097,27371986,27379088,27384795, 0 CCDC34 cmpl cmpl 1,0,0,0,2,0, 1491 NM_152539 chr3 + 118864996 118870302 118865036 118870139 3 118864996,118867026,118870070, 118866434,118867170,118870302, 0 C3orf30 cmpl cmpl 0,0,0, 1449 NM_001032409 chr12 + 113344738 113357712 113344844 113357498 6 113344738,113346340,113348855,113354313,113355351,113357291, 113345024,113346629,113349040,113354543,113355505,113357712, 0 OAS1 cmpl cmpl 0,0,1,0,2,0, 1329 NM_001172667 chr2 - 97541618 97560899 97542012 97560824 5 97541618,97543626,97544152,97559662,97560797, 97542045,97543779,97544230,97559788,97560899, 0 FAM178B cmpl cmpl 0,0,0,0,0, 900 NM_080732 chr19 + 41305047 41314346 41306477 41313769 6 41305047,41306243,41312459,41313042,41313388,41313713, 41305167,41307320,41312579,41313179,41313456,41314346, 0 EGLN2 cmpl cmpl -1,0,0,0,2,1, 1354 NR_002799 chr4 + 100871635 100873620 100873620 100873620 1 100871635, 100873620, 0 LOC256880 unk unk -1, 1768 NM_001287588 chr1 + 155108287 155111334 155108428 155110649 5 155108287,155108774,155110036,155110454,155110637, 155108467,155108852,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0,0, 1141 NR_038453 chr10 - 72976980 72977985 72977985 72977985 2 72976980,72977750, 72977392,72977985, 0 UNC5B-AS1 unk unk -1,-1, 1379 NM_024071 chr14 + 104182080 104200005 104182178 104199355 7 104182080,104193128,104194082,104195244,104195427,104198956,104199319, 104182316,104193179,104194251,104195320,104195519,104199099,104200005, 0 ZFYVE21 cmpl cmpl 0,0,0,1,2,1,0, 1414 NM_004072 chr12 - 108681820 108733094 108685617 108686733 3 108681820,108723771,108732803, 108686736,108723984,108733094, 0 CMKLR1 cmpl cmpl 0,-1,-1, 806 NM_001195202 chr6 + 29003999 29044517 29031773 29044301 6 29003999,29007990,29012021,29031706,29032897,29044072, 29004122,29008125,29012128,29031906,29032949,29044517, 0 LOC100129636 cmpl cmpl -1,-1,-1,0,1,2, 131 NM_002431 chr14 + 61201458 61435398 61201580 61435067 8 61201458,61262934,61264804,61275042,61278704,61285439,61346431,61434946, 61201669,61263087,61264878,61275146,61278845,61285565,61346553,61435398, 0 MNAT1 cmpl cmpl 0,2,2,1,0,0,0,2, 590 NM_001042463 chr11 + 695590 704131 695608 703150 5 695590,698868,700141,700614,702944, 695846,698888,700235,700707,704131, 0 TMEM80 cmpl cmpl 0,1,0,1,1, 644 NM_001042461 chr19 + 7745706 7747748 7747139 7747706 2 7745706,7747127, 7745912,7747748, 0 TRAPPC5 cmpl cmpl -1,0, 128 NM_001457 chr3 + 57994126 58157982 57994291 58156489 46 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58118534,58120342,58121705,58124008,58127584,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58118658,58120499,58121895,58124256,58127656,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,2,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 941 NR_026566 chr10 - 46737612 46762892 46762892 46762892 9 46737612,46751425,46752800,46753640,46754678,46758553,46759908,46760994,46762724, 46740604,46751565,46752922,46753788,46754867,46758633,46760098,46761198,46762892, 0 BMS1P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 958 NR_026566 chr10 - 48927373 48952629 48952629 48952629 9 48927373,48941193,48942568,48943408,48944446,48948320,48949675,48950761,48952461, 48930366,48941333,48942690,48943556,48944635,48948400,48949865,48950965,48952629, 0 BMS1P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1604 NM_025041 chr3 - 133646989 133648656 133647149 133647647 1 133646989, 133648656, 0 C3orf36 cmpl cmpl 0, 618 NM_016069 chr16 - 4390251 4401373 4390319 4401235 5 4390251,4390920,4391368,4393207,4401232, 4390406,4390986,4391505,4393292,4401373, 0 PAM16 cmpl cmpl 0,0,1,0,0, 595 NM_001161530 chrY + 1351570 1378828 1351596 1378372 12 1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372153,1372815,1374338,1378294, 1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372255,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,1,2,0, 595 NM_001161529 chrX + 1387692 1428828 1401596 1428372 14 1387692,1393647,1401301,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1393711,1401453,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,1,0,1,2,1,0,0,1,2,0, 595 NM_001161529 chrY + 1337692 1378828 1351596 1378372 14 1337692,1343647,1351301,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1343711,1351453,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,1,0,1,2,1,0,0,1,2,0, 1349 NM_012172 chr7 + 100187195 100198740 100187263 100198522 10 100187195,100187599,100187796,100189289,100190405,100192005,100192724,100193197,100197653,100198156, 100187416,100187698,100187980,100189525,100190640,100192164,100192846,100193329,100197824,100198740, 0 FBXO24 cmpl cmpl 0,0,0,1,0,1,1,0,0,0, 1767 NM_005840 chrX + 154997450 155012117 155003533 155004400 2 154997450,155003427, 154997798,155012117, 0 SPRY3 cmpl cmpl -1,0, 129 NM_005840 chrY + 59100456 59115123 59106539 59107406 2 59100456,59106433, 59100804,59115123, 0 SPRY3 cmpl cmpl -1,0, 1238 NM_152573 chr9 - 85594499 85678043 85597591 85677782 17 85594499,85605305,85607820,85611926,85613279,85615083,85615347,85615810,85619412,85620330,85622351,85624555,85627348,85630719,85637250,85640689,85677351, 85597697,85605382,85607940,85612041,85613361,85615231,85615485,85616045,85619501,85620415,85622420,85624671,85627426,85630815,85637341,85640836,85678043, 0 RASEF cmpl cmpl 2,0,0,2,1,0,0,2,0,2,2,0,0,0,2,2,0, 95 NM_000231 chr13 + 23755059 23899304 23777833 23898680 8 23755059,23777833,23808749,23824768,23853497,23869553,23894775,23898506, 23755214,23778028,23808851,23824856,23853617,23869626,23894899,23899304, 0 SGCG cmpl cmpl -1,0,0,0,1,1,2,0, 1419 NM_006267 chr2 + 109335936 109402267 109336062 109400357 29 109335936,109345587,109347229,109347777,109351987,109352559,109356944,109363166,109365375,109367719,109367983,109368326,109369453,109369881,109370280,109371360,109371631,109374868,109378556,109379692,109388156,109388944,109389323,109392187,109393585,109397724,109398583,109398983,109400051, 109336134,109345655,109347341,109347930,109352218,109352705,109357137,109363254,109365585,109367901,109368159,109368450,109369615,109370019,109370427,109371540,109371715,109375004,109378651,109384844,109388327,109389037,109389502,109392392,109393687,109397885,109398857,109399318,109402267, 0 RANBP2 cmpl cmpl 0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1,0,1,1,1,0,1,1,0,1,0, 1888 NM_001199464 chr6 - 170890834 170893742 170891345 170893669 5 170890834,170892144,170892592,170893386,170893579, 170891353,170892276,170892835,170893480,170893742, 0 PDCD2 cmpl cmpl 1,1,1,0,0, 1888 NM_001199463 chr6 - 170890834 170893742 170892115 170893669 4 170890834,170892592,170893386,170893579, 170892276,170892835,170893480,170893742, 0 PDCD2 cmpl cmpl 1,1,0,0, 822 NM_019052 chr6 - 31110215 31126015 31110368 31124815 18 31110215,31110739,31111038,31112463,31112661,31112942,31113224,31113472,31116181,31116394,31117842,31118231,31118501,31118735,31122272,31124507,31124799,31125943, 31110493,31110911,31111190,31112565,31112850,31113079,31113270,31113585,31116288,31116505,31117992,31118342,31118637,31118899,31122576,31124721,31124866,31126015, 0 CCHCR1 cmpl cmpl 1,0,1,1,1,2,1,2,0,0,0,0,2,0,2,1,0,-1, 111 NM_001284426 chr3 + 40141501 40301811 40208347 40299657 15 40141501,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 40141741,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,-1,-1,0,0,0,0,1,0,0,0,0,0,1,0, 110 NM_001270425 chr2 - 39476406 39664453 39477758 39664128 33 39476406,39478970,39481590,39485488,39485659,39487746,39492343,39494329,39499423,39499622,39505547,39507412,39509653,39513992,39515261,39517432,39519913,39520370,39526883,39536601,39542450,39552658,39552870,39553039,39553286,39559057,39560672,39564060,39564666,39570528,39583389,39605206,39664032, 39477846,39479026,39481661,39485581,39485728,39487918,39492447,39494388,39499541,39499683,39505627,39507497,39509695,39514105,39515421,39517475,39519967,39520409,39526942,39536660,39542529,39552769,39552952,39553102,39553418,39559130,39560715,39564108,39564722,39570593,39583480,39605264,39664453, 0 MAP4K3 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 92 NM_033108 chrY + 20708573 20710478 20708673 20710357 2 20708573,20709664, 20709186,20710478, 0 HSFY1 cmpl cmpl 0,0, 2135 NM_001270509 chr1 - 203185206 203198860 203186016 203198764 11 203185206,203186866,203188343,203188791,203191329,203192262,203192655,203194175,203194796,203197660,203198739, 203186261,203186906,203188457,203188977,203191453,203192372,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 cmpl cmpl 1,0,0,0,2,0,2,2,1,1,0, 1732 NM_015660 chr7 + 150382793 150390728 150384147 150390388 3 150382793,150384139,150389402, 150382873,150384175,150390728, 0 GIMAP2 cmpl cmpl -1,0,1, 298 NM_018072 chr1 - 236712304 236767841 236714201 236767395 45 236712304,236715298,236716880,236717897,236718595,236718850,236719104,236719399,236720494,236721536,236722294,236723013,236724524,236727797,236729218,236729945,236732295,236734650,236734867,236735710,236736024,236737501,236737960,236739518,236740079,236744521,236746035,236746312,236748324,236749119,236749540,236750701,236751247,236754146,236755292,236755822,236757311,236758839,236759132,236760135,236761177,236762782,236766459,236767253,236767721, 236714290,236715407,236717039,236718052,236718764,236718955,236719239,236719558,236720645,236721829,236722435,236723137,236724571,236727961,236729345,236730176,236732424,236734772,236734986,236735854,236736128,236737633,236738203,236739677,236740249,236744714,236746172,236746496,236748516,236749241,236749752,236750790,236751343,236754254,236755410,236755933,236757414,236758973,236759344,236760276,236761279,236762924,236766676,236767427,236767841, 0 HEATR1 cmpl cmpl 1,0,0,1,0,0,0,0,2,0,0,2,0,1,0,0,0,1,2,2,0,0,0,0,1,0,1,0,0,1,2,0,0,0,2,2,1,2,0,0,0,2,1,0,-1, 745 NM_002176 chr9 - 21077103 21077943 21077304 21077868 1 21077103, 21077943, 0 IFNB1 cmpl cmpl 0, 1095 NM_001204746 chr16 - 66942024 66952887 66942294 66951968 17 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66950025,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944405,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948241,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,0,0,0,0,0,-1, 738 NM_002882 chr22 + 20104946 20114880 20105172 20114575 6 20104946,20106535,20109786,20112830,20113825,20114474, 20105187,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl 0,0,2,1,1,1, 1361 NM_001277423 chrX - 101715239 101726732 101715433 101720465 10 101715239,101716840,101717765,101718045,101718512,101719415,101720369,101723952,101726067,101726692, 101715666,101717004,101717947,101718266,101718649,101719606,101720490,101724078,101726205,101726732, 0 TCP11X2 cmpl cmpl 1,2,0,1,2,0,0,-1,-1,-1, 656 NM_001242326 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L25 cmpl cmpl 0, 1768 NM_001287590 chr1 + 155107819 155111334 155108147 155110757 5 155107819,155108774,155110036,155110454,155110655, 155108156,155108852,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0,0, 595 NM_006140 chrY + 1337692 1378828 1351596 1378372 13 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 1150 NM_001017361 chr6 + 74072399 74073898 74072452 74073583 3 74072399,74072817,74073278, 74072621,74072997,74073898, 0 KHDC3L cmpl cmpl 0,1,1, 960 NR_110019 chr12 + 49182929 49184318 49184318 49184318 3 49182929,49183767,49184095, 49183010,49183902,49184318, 0 RP11-579D7.4 unk unk -1,-1,-1, 786 NM_001168241 chr2 + 26395959 26412532 26396089 26411126 6 26395959,26399212,26405835,26407101,26409057,26410099, 26396201,26399353,26405966,26408145,26409227,26412532, 0 GAREML cmpl cmpl 0,1,1,0,0,2, 1017 NM_173596 chr12 + 56623819 56631629 56625058 56631515 13 56623819,56624023,56624614,56624987,56626472,56628607,56628940,56629343,56630179,56630365,56630714,56630933,56631371, 56623906,56624079,56624657,56625345,56626656,56628770,56629110,56629484,56630276,56630530,56630795,56631124,56631629, 0 SLC39A5 cmpl cmpl -1,-1,-1,0,2,0,1,0,0,1,1,1,0, 1566 NM_001199140 chr2 - 128619206 128643514 128622667 128631808 8 128619206,128624473,128627027,128628387,128628822,128631401,128641776,128643383, 128622779,128624570,128627118,128628502,128628933,128631846,128641886,128643514, 0 AMMECR1L cmpl cmpl 2,1,0,2,2,0,-1,-1, 656 NR_027279 chr4 + 9369599 9370796 9370796 9370796 1 9369599, 9370796, 0 USP17L6P unk unk -1, 988 NM_033448 chr12 - 52937692 52946931 52938315 52946861 9 52937692,52939348,52940069,52941640,52941935,52942484,52943076,52943812,52946420, 52938527,52939383,52940290,52941766,52942100,52942580,52943137,52944027,52946931, 0 KRT71 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1282 NR_104447 chr15 - 91474147 91475799 91475799 91475799 4 91474147,91474933,91475284,91475615, 91474635,91475174,91475340,91475799, 0 HDDC3 unk unk -1,-1,-1,-1, 647 NM_001206671 chr11 - 8127596 8190590 8132244 8190536 6 8127596,8148205,8158924,8159818,8161513,8190412, 8132684,8148354,8159018,8159894,8161740,8190590, 0 RIC3 cmpl cmpl 1,2,1,0,1,0, 659 NR_046451 chr12 + 9800514 9811010 9811010 9811010 4 9800514,9806278,9808468,9809516, 9800585,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 594 NM_022148 chrY - 1264893 1281530 1264893 1281527 6 1264893,1267418,1271271,1275325,1277698,1281448, 1265014,1267581,1271405,1275492,1277801,1281530, 0 CRLF2 incmpl cmpl 1,0,1,2,1,0, 762 NM_001282746 chr10 + 23216952 23303416 23220925 23303050 17 23216952,23220924,23235072,23244735,23247998,23248327,23250812,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297743,23303028, 23217035,23220973,23235190,23244861,23248067,23248503,23251007,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23303416, 0 ARMC3 cmpl cmpl -1,0,0,1,1,1,0,0,1,1,2,0,2,0,2,2,2, 1654 NM_002494 chr4 - 140211070 140222388 140213703 140216952 5 140211070,140213683,140216196,140216885,140222117, 140211246,140213763,140216300,140217114,140222388, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 1319 NM_022350 chr5 + 96211643 96255406 96215389 96253309 19 96211643,96215267,96219495,96222358,96224888,96228002,96230949,96232076,96232435,96235824,96237209,96237977,96239080,96244664,96245283,96248340,96249020,96251391,96253165, 96212231,96215964,96219634,96222493,96225009,96228157,96231063,96232208,96232567,96235893,96237385,96238057,96239264,96244821,96245468,96248502,96249161,96251473,96255406, 0 ERAP2 cmpl cmpl -1,0,2,0,0,1,0,0,0,0,0,2,1,2,0,2,2,2,0, 12 NR_046198 chr21 + 26212863 26430056 26430056 26430056 4 26212863,26217092,26402096,26427746, 26213042,26217243,26402172,26430056, 0 LOC339622 unk unk -1,-1,-1,-1, 1234 NR_038274 chr15 + 85113879 85123412 85123412 85123412 4 85113879,85115445,85116252,85121178, 85113965,85115575,85116482,85123412, 0 LINC00933 unk unk -1,-1,-1,-1, 164 NR_038242 chr12 + 95611521 95696566 95696566 95696566 12 95611521,95645715,95650929,95656681,95660132,95663814,95668517,95676088,95681439,95688047,95689826,95693940, 95611662,95645847,95651015,95656857,95660408,95663964,95668665,95676420,95681633,95688148,95690034,95696566, 0 VEZT unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 164 NR_038241 chr12 + 95611521 95696566 95696566 95696566 13 95611521,95645715,95650325,95650925,95656681,95660132,95663826,95668517,95676088,95681439,95688047,95689826,95693940, 95611662,95645847,95650398,95651015,95656857,95660408,95663964,95668665,95676420,95681633,95688148,95690034,95696566, 0 VEZT unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 882 NM_181535 chr17 - 38948447 38956211 38948678 38956145 8 38948447,38949406,38950080,38953167,38953371,38954486,38955168,38955695, 38948821,38949462,38950298,38953293,38953533,38954643,38955251,38956211, 0 KRT28 cmpl cmpl 1,2,0,0,0,2,0,0, 1449 NM_002534 chr12 + 113344738 113355831 113344844 113355562 5 113344738,113346340,113348855,113354313,113355351, 113345024,113346629,113349040,113354543,113355831, 0 OAS1 cmpl cmpl 0,0,1,0,2, 1571 NM_004794 chrX + 129305772 129318844 129306036 129318714 2 129305772,129318258, 129306294,129318844, 0 RAB33A cmpl cmpl 0,0, 587 NM_003641 chr11 + 313990 315272 314170 315113 2 313990,314921, 314356,315272, 0 IFITM1 cmpl cmpl 0,0, 933 NM_001482 chr15 - 45653321 45670980 45654306 45670651 9 45653321,45656097,45656994,45658243,45658568,45660267,45661523,45668798,45670582, 45654419,45656214,45657058,45658408,45658706,45660458,45661719,45669017,45670980, 0 GATM cmpl cmpl 1,1,0,0,0,1,0,0,0, 723 NM_000367 chr6 - 18128544 18155374 18130898 18149358 9 18128544,18132363,18134034,18139193,18139895,18143826,18148053,18149218,18155263, 18131011,18132408,18134120,18139268,18139948,18143959,18148146,18149402,18155374, 0 TPMT cmpl cmpl 1,1,2,2,0,2,2,0,-1, 593 NM_006814 chr20 + 1099239 1148426 1099416 1145724 7 1099239,1106140,1108068,1115763,1143773,1144961,1145672, 1099545,1106293,1108151,1115949,1143827,1145120,1148426, 0 PSMF1 cmpl cmpl 0,0,0,2,2,2,2, 818 NM_001161376 chr6 + 30614815 30620987 30615008 30620692 6 30614815,30617334,30618770,30619042,30620424,30620578, 30615623,30617736,30618859,30619243,30620494,30620987, 0 C6orf136 cmpl cmpl 0,0,0,2,2,0, 1351 NM_001271685 chr1 + 100435991 100492534 100436092 100488032 8 100435991,100459092,100464816,100472589,100476920,100480857,100483237,100487941, 100436200,100459297,100464971,100472712,100477089,100480976,100483371,100492534, 0 SLC35A3 cmpl cmpl 0,0,1,0,0,1,0,2, 1018 NM_001017992 chr5 - 56775842 56778636 56777403 56778534 1 56775842, 56778636, 0 ACTBL2 cmpl cmpl 0, 738 NM_001278639 chr22 + 20103460 20114880 20103707 20114575 6 20103460,20106535,20109786,20112830,20113825,20114474, 20103953,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl 0,0,2,1,1,1, 963 NM_001278548 chr10 + 49609654 49647402 49609703 49642938 10 49609654,49612894,49617921,49618072,49628197,49634086,49634422,49635122,49639235,49642921, 49609825,49613024,49617980,49618211,49628363,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,0,1,1, 850 NM_005643 chr6 - 34845554 34855848 34846366 34855734 5 34845554,34847743,34848065,34850708,34855563, 34846497,34847840,34848153,34850857,34855848, 0 TAF11 cmpl cmpl 1,0,2,0,0, 888 NM_004877 chr19 - 39818998 39826726 39819116 39826616 7 39818998,39819639,39820183,39823716,39825900,39826074,39826613, 39819188,39819713,39820266,39823766,39825950,39826171,39826726, 0 GMFG cmpl cmpl 0,1,2,0,1,0,0, 754 NM_001128431 chr8 + 22224761 22280249 22262223 22277211 9 22224761,22262208,22265822,22269549,22272292,22273281,22273585,22275163,22277064, 22224921,22262493,22266009,22269719,22272415,22273470,22273793,22275348,22280249, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 134 NM_182920 chr3 - 64501330 64673365 64507846 64673333 40 64501330,64507841,64518841,64524878,64526770,64526995,64527201,64527513,64532433,64536567,64547253,64554043,64579933,64582505,64587619,64589597,64589902,64592635,64599020,64600996,64601635,64606789,64607873,64608095,64617130,64617483,64619147,64619373,64627523,64633615,64635312,64636692,64640028,64640247,64641251,64641467,64644177,64666876,64672243,64673218, 64502797,64507936,64518946,64524970,64526904,64527090,64527296,64527646,64532628,64536738,64547427,64554211,64580110,64582667,64587889,64589765,64590007,64592755,64599185,64601161,64601846,64606916,64608003,64608262,64617226,64617601,64619284,64619555,64627669,64633720,64635454,64636839,64640134,64640288,64641367,64641551,64644467,64667039,64672644,64673365, 0 ADAMTS9 cmpl cmpl -1,0,0,1,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,1,1,0,1,2,0,0,2,2,1,2,0,0,1,0,1,0, 1134 NM_001080851 chrX + 72064875 72068636 72064969 72068209 6 72064875,72065332,72065705,72066718,72066963,72068096, 72065033,72065391,72065839,72066779,72067111,72068636, 0 DMRTC1B cmpl cmpl 0,1,0,2,0,1, 1135 NM_001080851 chrX - 72091858 72095622 72092285 72095528 6 72091858,72093383,72093715,72094658,72095106,72095464, 72092398,72093531,72093776,72094792,72095165,72095622, 0 DMRTC1B cmpl cmpl 1,0,2,0,1,0, 94 NM_001135154 chr8 + 22224761 22291640 22262223 22291517 9 22224761,22262208,22265822,22269549,22272292,22273281,22273585,22275163,22291403, 22224921,22262493,22266009,22269719,22272415,22273470,22273793,22275348,22291640, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 754 NM_001135153 chr8 + 22225049 22280249 22262223 22277211 9 22225049,22262208,22265822,22269549,22272292,22273281,22273585,22275163,22277064, 22225250,22262493,22266009,22269719,22272415,22273470,22273793,22275348,22280249, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 1372 NM_001135148 chr4 - 103182820 103245469 103184200 103245424 8 103182820,103188646,103189028,103225473,103226145,103228592,103236824,103245406, 103184350,103188831,103189236,103225638,103226268,103228762,103236987,103245469, 0 SLC39A8 cmpl cmpl 0,1,0,0,0,1,0,0, 1372 NM_001135147 chr4 - 103172197 103266410 103174578 103265819 11 103172197,103180611,103184317,103188646,103189028,103225473,103226145,103228592,103236824,103265600,103266299, 103174587,103180671,103184350,103188831,103189236,103225638,103226268,103228762,103236987,103266072,103266410, 0 SLC39A8 cmpl cmpl 0,0,0,1,0,0,0,1,0,0,-1, 1372 NM_001135146 chr4 - 103182820 103266655 103184200 103265819 9 103182820,103188646,103189028,103225473,103226145,103228592,103236824,103265600,103266501, 103184350,103188831,103189236,103225638,103226268,103228762,103236987,103266072,103266655, 0 SLC39A8 cmpl cmpl 0,1,0,0,0,1,0,0,-1, 183 NM_015641 chr7 + 115850546 115898837 115850761 115897536 7 115850546,115874587,115889073,115890214,115891813,115892371,115897347, 115850788,115874673,115889326,115890550,115892029,115892530,115898837, 0 TES cmpl cmpl 0,0,2,0,0,0,0, 1659 NM_032403 chr5 + 140855568 140892544 140855683 140890740 4 140855568,140874373,140884959,140890513, 140855713,140874432,140885048,140892544, 0 PCDHGC3 cmpl cmpl 0,0,2,1, 2 NM_001253891 chr11 + 75479777 75512581 75480036 75511553 7 75479777,75501232,75501705,75507372,75508202,75509271,75511398, 75480157,75501340,75501776,75507577,75508377,75509474,75512581, 0 DGAT2 cmpl cmpl 0,1,1,0,1,2,1, 805 NR_015341 chr17 + 28903482 28964484 28964484 28964484 9 28903482,28926921,28934569,28935447,28937906,28942913,28958772,28960115,28961011, 28903679,28926996,28934683,28935580,28937960,28942998,28958945,28960408,28964484, 0 LRRC37BP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1102 NM_018430 chr16 + 67840780 67861971 67854756 67861896 16 67840780,67848204,67854741,67855001,67857528,67858485,67859039,67859569,67859819,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841288,67848304,67854854,67855128,67857622,67858682,67859175,67859739,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,0,2,0,1,0,1,0,1,0,0,0,2,0,2, 13 NM_015358 chr21 + 37692486 37748944 37692562 37747594 17 37692486,37705943,37709171,37710029,37711071,37713696,37716876,37717209,37721608,37728917,37732252,37732481,37734480,37736390,37741285,37744671,37747440, 37692601,37706016,37709304,37710244,37711219,37713844,37717005,37717329,37721706,37729022,37732375,37732556,37734526,37736557,37742174,37744829,37748944, 0 MORC3 cmpl cmpl 0,0,1,2,1,2,0,0,0,2,2,2,2,0,2,0,2, 873 NM_000025 chr8 - 37820513 37824184 37821735 37823987 2 37820513,37822782, 37821757,37824184, 0 ADRB3 cmpl cmpl 2,0, 182 NM_033020 chr1 - 114935398 115053781 114940269 115053697 19 114935398,114942078,114944010,114945381,114948031,114949562,114951298,114952805,114964057,114967212,114968070,114969798,114970369,114973419,114976238,115005725,115006033,115006891,115053171, 114940482,114942231,114944085,114945505,114948381,114949722,114951362,114952938,114964258,114967377,114968345,114969916,114970516,114973534,114976355,115005858,115006178,115007010,115053781, 0 TRIM33 cmpl cmpl 0,0,0,2,0,2,1,0,0,0,1,0,0,2,2,1,0,1,0, 87 NM_032918 chr12 - 15260715 15374411 15262043 15370423 5 15260715,15264277,15273996,15370362,15374128, 15262451,15264351,15274053,15370537,15374411, 0 RERG cmpl cmpl 0,1,1,0,-1, 159 NM_001141945 chr10 - 90694830 90751147 90694979 90708687 9 90694830,90697817,90699263,90700985,90701541,90703553,90707014,90708558,90750695, 90695123,90697999,90699455,90701147,90701626,90703664,90707143,90708710,90751147, 0 ACTA2 cmpl cmpl 0,1,1,1,0,0,0,0,-1, 1776 NM_001193301 chr1 + 156119734 156147542 156124369 156146788 15 156119734,156124340,156126204,156127860,156128178,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156119884,156124508,156126365,156127923,156128277,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,1,0,0,0,1,1,0,2,0,1,0,2,1, 1095 NM_001204744 chr16 - 66942024 66952887 66942294 66951968 18 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66949122,66949967,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944339,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948315,66949281,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,1,1,0,0,0,0,-1, 646 NM_001199323 chr6 - 8013799 8064647 8016042 8064609 4 8013799,8026599,8062766,8064497, 8016061,8026658,8062849,8064647, 0 BLOC1S5 cmpl cmpl 2,0,1,0, 825 NR_037853 chr6 - 31497995 31514625 31514625 31514625 13 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31506539,31506923,31508098,31509726,31513885,31514254, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31506632,31507051,31508441,31509925,31513986,31514625, 0 ATP6V1G2-DDX39B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 741 NR_028083 chrY - 20551155 20566932 20566932 20566932 10 20551155,20551964,20552398,20552879,20553363,20553566,20554330,20554671,20566129,20566774, 20551882,20552186,20552586,20553089,20553457,20553737,20554424,20554800,20566179,20566932, 0 FAM41AY1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 75 NM_001172657 chr4 - 2331979 2420370 2332612 2420050 7 2331979,2337431,2339133,2341179,2343204,2355659,2420011, 2332775,2337521,2339223,2341382,2343342,2355800,2420370, 0 ZFYVE28 cmpl cmpl 2,2,2,0,0,0,0, 825 NM_080598 chr6 - 31497995 31510252 31498210 31508309 11 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31506539,31506923,31508098,31509726, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31506632,31507051,31508311,31510252, 0 DDX39B cmpl cmpl 1,0,2,0,0,1,0,0,1,0,-1, 1024 NM_145064 chr12 - 57637237 57644976 57637594 57643419 12 57637237,57637870,57638097,57638319,57638698,57638927,57640586,57641908,57642488,57642823,57643353,57644775, 57637693,57638008,57638149,57638405,57638748,57638994,57640684,57641981,57642586,57643091,57643420,57644976, 0 STAC3 cmpl cmpl 0,0,2,0,1,0,1,0,1,0,0,-1, 1115 NM_201262 chr10 - 69570965 69597937 69571254 69597769 3 69570965,69583071,69597691, 69571421,69583150,69597937, 0 DNAJC12 cmpl cmpl 1,0,0, 1003 NM_201222 chrX + 54835492 54842448 54835764 54842115 13 54835492,54835735,54836154,54837253,54837682,54838006,54838589,54839377,54839550,54839920,54841093,54841680,54842313, 54835656,54835809,54836646,54837562,54837746,54838086,54838684,54839457,54839593,54839983,54841208,54842123,54842448, 0 MAGED2 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 780 NM_014313 chr1 + 25664788 25688852 25666977 25687196 7 25664788,25666964,25669451,25678116,25679372,25683283,25687150, 25664947,25667070,25669564,25678184,25679465,25683344,25688852, 0 TMEM50A cmpl cmpl -1,0,0,2,1,1,2, 1898 NM_004417 chr5 - 172195092 172198203 172195764 172197955 4 172195092,172196577,172197163,172197588, 172196135,172196797,172197309,172198203, 0 DUSP1 cmpl cmpl 1,0,1,0, 1451 NM_000576 chr2 - 113587336 113594356 113587937 113593806 7 113587336,113588868,113590238,113590950,113593142,113593759,113594284, 113588150,113588999,113590403,113591152,113593194,113593821,113594356, 0 IL1B cmpl cmpl 0,1,1,0,2,0,-1, 585 NM_003585 chr17 - 6010 31421 6010 31270 6 6010,11205,11871,13920,22327,30897, 6168,11332,11981,13995,22407,31421, 0 DOC2B incmpl cmpl 0,2,0,0,1,0, 1481 NR_031766 chr12 - 117476727 117537251 117537251 117537251 8 117476727,117479751,117484363,117484576,117486823,117494610,117513075,117537029, 117477015,117479799,117484471,117484643,117486963,117494691,117513145,117537251, 0 TESC unk unk -1,-1,-1,-1,-1,-1,-1,-1, 156 NR_039993 chr5 + 87564698 87732491 87732491 87732491 4 87564698,87566342,87705889,87732089, 87564844,87566402,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1,-1, 1640 NR_038969 chr9 - 138354564 138364095 138364095 138364095 3 138354564,138359933,138363922, 138356696,138360555,138364095, 0 PPP1R26-AS1 unk unk -1,-1,-1, 716 NR_037446 chr1 - 17185443 17185516 17185516 17185516 1 17185443, 17185516, 0 MIR3675 unk unk -1, 128 NM_001164319 chr3 + 57994126 58157982 57994291 58156489 45 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58118534,58120342,58121705,58124008,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58118658,58120499,58121895,58124256,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,2,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 597 NM_001164407 chr17 - 1606083 1613662 1611063 1613536 4 1606083,1612792,1613097,1613360, 1611516,1612875,1613180,1613662, 0 TLCD2 cmpl cmpl 0,1,2,0, 812 NM_005115 chr16 + 29831714 29859360 29841870 29859310 15 29831714,29841835,29842198,29845053,29845255,29847024,29848042,29851498,29852916,29853235,29855813,29857183,29857478,29858517,29859082, 29831831,29841995,29842394,29845177,29845387,29847119,29848279,29851780,29853161,29853433,29856200,29857300,29857605,29858706,29859360, 0 MVP cmpl cmpl -1,0,2,0,1,1,0,0,0,2,2,2,2,0,0, 240 NM_014269 chr4 + 175839508 175899331 175896676 175899139 5 175839508,175841837,175852136,175858083,175896496, 175839622,175841943,175852325,175858164,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,-1,0, 1735 NM_020321 chr7 + 150745378 150749843 150745972 150749773 11 150745378,150747192,150747567,150747844,150748125,150748258,150748896,150749069,150749252,150749502,150749640, 150746506,150747343,150747695,150748040,150748182,150748406,150748988,150749149,150749324,150749561,150749843, 0 ASIC3 cmpl cmpl 0,0,1,0,1,1,2,1,0,0,2, 1988 NM_001142314 chr2 + 183943286 183964722 183943661 183960386 3 183943286,183948235,183960158, 183943887,183948282,183964722, 0 DUSP19 cmpl cmpl 0,1,0, 1926 NM_001287336 chr5 - 175773063 175788810 175774602 175782723 7 175773063,175774923,175775252,175777615,175779624,175782573,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,0,-1, 935 NM_005456 chr11 + 45907046 45928016 45907371 45927272 12 45907046,45919635,45921688,45923530,45923922,45924915,45925539,45926005,45926268,45926521,45926701,45927199, 45907472,45919741,45922003,45923612,45924735,45924991,45925712,45926115,45926385,45926592,45926800,45928016, 0 MAPK8IP1 cmpl cmpl 0,2,0,0,1,1,2,1,0,0,2,2, 1130 NM_005455 chr1 - 71528973 71546972 71531401 71546678 11 71528973,71531360,71532458,71534958,71536509,71537803,71538154,71542477,71544139,71544338,71546622, 71530820,71531435,71532617,71535045,71536679,71537938,71538231,71542560,71544248,71544391,71546972, 0 ZRANB2 cmpl cmpl -1,2,2,2,0,0,1,2,1,2,0, 164 NM_001289069 chr10 + 96305523 96361856 96305678 96361379 22 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336466,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 921 NR_047558 chr10 + 44141389 44143467 44143467 44143467 3 44141389,44142559,44143016, 44141745,44142657,44143467, 0 ZNF32-AS2 unk unk -1,-1,-1, 74 NM_002183 chrY + 1405508 1451582 1410658 1451358 12 1405508,1410620,1414208,1417323,1420992,1421214,1425113,1427753,1434030,1447551,1449915,1451283, 1405819,1410722,1414327,1417438,1421125,1421399,1425229,1427780,1434145,1447657,1449997,1451582, 0 IL3RA cmpl cmpl -1,0,1,0,1,2,1,0,0,1,2,0, 596 NM_002183 chrX + 1455508 1501582 1460658 1501358 12 1455508,1460620,1464208,1467323,1470992,1471214,1475113,1477753,1484030,1497551,1499915,1501283, 1455819,1460722,1464327,1467438,1471125,1471399,1475229,1477780,1484145,1497657,1499997,1501582, 0 IL3RA cmpl cmpl -1,0,1,0,1,2,1,0,0,1,2,0, 1379 NM_002502 chr10 + 104155352 104162286 104155716 104162133 23 104155352,104155644,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162011, 104155553,104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl -1,0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 1652 NM_004065 chrX - 139865424 139866723 139865742 139866531 1 139865424, 139866723, 0 CDR1 cmpl cmpl 0, 837 NM_016489 chr7 - 33053724 33080777 33054341 33075581 10 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33075545,33080483, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33075600,33080777, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,0,-1, 1232 NM_021233 chr1 + 84864214 84880691 84864247 84880551 6 84864214,84867583,84874119,84876520,84878031,84880210, 84864372,84867761,84874201,84876682,84878229,84880691, 0 DNASE2B cmpl cmpl 0,2,0,1,1,1, 969 NM_172374 chr19 - 50392912 50432796 50392926 50404974 10 50392912,50394227,50394661,50397524,50398324,50399071,50404895,50407455,50430950,50432582, 50393857,50394364,50394730,50397726,50398437,50399310,50405078,50407578,50431072,50432796, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1,-1,-1, 158 NR_003226 chr16 + 90038987 90063028 90063028 90063028 11 90038987,90044012,90045217,90046649,90048180,90050938,90055259,90057273,90059128,90060175,90061100, 90039173,90044210,90045286,90046744,90048331,90051007,90055359,90057411,90059236,90060301,90063028, 0 AFG3L1P unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1060 NM_032957 chr20 + 62289162 62327606 62290755 62327138 35 62289162,62290585,62292650,62293202,62293826,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62326833,62327606, 0 RTEL1 cmpl cmpl -1,0,0,1,2,0,1,2,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,1, 968 NM_144984 chr10 - 50310216 50323577 50311786 50323530 3 50310216,50315638,50323475, 50311905,50316040,50323577, 0 VSTM4 cmpl cmpl 1,1,0, 1172 NM_017426 chr4 - 77035811 77069668 77036518 77069527 12 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77055327,77057338,77065301,77065542,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77055515,77057565,77065445,77065626,77069668, 0 NUP54 cmpl cmpl 0,0,0,0,2,1,2,0,1,1,1,0, 1122 NM_201453 chr9 - 70431999 70490177 70432428 70490068 15 70431999,70432922,70434177,70434346,70445952,70457086,70463030,70465707,70467483,70473436,70475018,70483187,70484374,70486792,70489914, 70432535,70433052,70434243,70434415,70446004,70457143,70463075,70465794,70467530,70473474,70475078,70483279,70484471,70486879,70490177, 0 CBWD3 cmpl cmpl 1,0,0,0,2,2,2,2,0,1,1,2,1,1,0, 140 NM_201453 chr9 + 70856838 70914932 70856947 70914503 15 70856838,70860128,70862528,70863721,70871836,70873447,70879383,70881135,70883849,70889797,70900904,70912495,70912667,70913879,70914396, 70857101,70860215,70862625,70863813,70871896,70873485,70879430,70881222,70883894,70889854,70900956,70912564,70912733,70914009,70914932, 0 CBWD3 cmpl cmpl 0,1,1,2,1,1,0,2,2,2,2,0,0,0,1, 123 NM_007324 chr1 + 52607765 52812358 52698878 52811893 18 52607765,52682040,52698842,52703159,52729444,52734134,52740135,52744163,52747332,52759124,52761566,52769492,52798439,52800359,52803443,52805797,52810439,52811731, 52608075,52682146,52698948,52705267,52729544,52734304,52740256,52744286,52747488,52759349,52761649,52769597,52798590,52800440,52803606,52805903,52810616,52812358, 0 ZFYVE9 cmpl cmpl -1,-1,0,1,0,1,0,1,1,1,1,0,0,1,1,2,0,0, 630 NM_007322 chr19 - 5916151 5978320 5917620 5978093 17 5916151,5917804,5918506,5921211,5923204,5923822,5924837,5925644,5927978,5931414,5932462,5933424,5941631,5941809,5951403,5957928,5978071, 5917664,5917991,5918649,5921332,5923314,5923925,5924916,5925748,5928098,5931542,5932555,5933490,5941718,5941846,5951607,5957984,5978320, 0 RANBP3 cmpl cmpl 1,0,1,0,1,0,2,0,0,1,1,1,1,0,0,1,0, 630 NM_007320 chr19 - 5916151 5978320 5917620 5978093 16 5916151,5917804,5918506,5921211,5923204,5923822,5924837,5925644,5927978,5931414,5932462,5933424,5941631,5941809,5957928,5978071, 5917664,5917991,5918649,5921332,5923314,5923925,5924916,5925748,5928098,5931542,5932555,5933490,5941718,5941846,5957984,5978320, 0 RANBP3 cmpl cmpl 1,0,1,0,1,0,2,0,0,1,1,1,1,0,1,0, 1503 NR_037596 chr4 - 120326677 120331815 120331815 120331815 3 120326677,120331386,120331671, 120331293,120331444,120331815, 0 LINC01061 unk unk -1,-1,-1, 979 NR_103463 chr3 + 51705642 51738339 51738339 51738339 4 51705642,51718428,51733421,51737739, 51705688,51718650,51733590,51738339, 0 TEX264 unk unk -1,-1,-1,-1, 27 NM_001099777 chr3 + 157261132 157296680 157271046 157296122 5 157261132,157271018,157288965,157289743,157296067, 157261298,157271129,157289095,157289832,157296680, 0 C3orf55 cmpl cmpl -1,0,2,0,2, 1696 NM_017767 chr8 - 145637797 145641917 145637921 145641592 11 145637797,145638142,145638620,145638896,145639133,145639341,145639645,145640108,145640357,145640610,145641193, 145638050,145638330,145638773,145638951,145639265,145639479,145639818,145640280,145640494,145640803,145641917, 0 SLC39A4 cmpl cmpl 0,1,1,0,0,0,1,0,1,0,0, 949 NM_014417 chr19 - 47724078 47734451 47725058 47731688 4 47724078,47729820,47731414,47734185, 47725175,47730011,47731703,47734451, 0 BBC3 cmpl cmpl 0,1,0,-1, 141 NM_001145441 chr7 - 72023728 72298813 72023756 72298654 13 72023728,72081656,72093871,72159676,72178578,72193789,72209459,72209528,72242426,72267414,72285958,72297433,72298650, 72023873,72081824,72093982,72159812,72178756,72193899,72209527,72209578,72242544,72267537,72286060,72297564,72298813, 0 TYW1B cmpl cmpl 0,0,0,2,1,2,0,1,0,0,0,1,0, 18 NM_152630 chrX + 79675945 79700810 79698038 79699208 3 79675945,79694108,79698020, 79676062,79694231,79700810, 0 FAM46D cmpl cmpl -1,-1,0, 829 NM_001136153 chr6 - 32083044 32096017 32083515 32095984 18 32083044,32084256,32084480,32084813,32085099,32085363,32085635,32086551,32086732,32087600,32088547,32088765,32089039,32093893,32094879,32095218,32095447,32095902, 32083745,32084341,32084592,32084884,32085181,32085471,32085815,32086643,32086918,32087734,32088679,32088901,32089125,32094029,32094971,32095297,32095527,32096017, 0 ATF6B cmpl cmpl 1,0,2,0,2,2,2,0,0,1,1,0,1,0,1,0,1,0, 874 NM_001242946 chr7 + 37960162 37991542 37960541 37989805 2 37960162,37989801, 37960810,37991542, 0 EPDR1 cmpl cmpl 0,2, 987 NM_001278702 chrX + 52780280 52790617 52781757 52789521 9 52780280,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788655,52789525,52790617, 0 SSX2B cmpl cmpl -1,0,0,1,1,0,1,1,-1, 90 NM_006532 chr19 - 18553472 18632937 18555561 18632865 12 18553472,18556033,18557118,18557557,18561286,18562361,18569014,18572387,18576221,18576606,18583644,18632730, 18555678,18556078,18557290,18557624,18561785,18562458,18569139,18572662,18576385,18576728,18583692,18632937, 0 ELL cmpl cmpl 0,0,2,1,0,2,0,1,2,0,0,0, 1024 NM_001286257 chr12 - 57637237 57644976 57637594 57640631 9 57637237,57637870,57638097,57638319,57638698,57638927,57640586,57641908,57644775, 57637693,57638008,57638149,57638405,57638748,57638994,57640684,57641981,57644976, 0 STAC3 cmpl cmpl 0,0,2,0,1,0,0,-1,-1, 1024 NM_001286256 chr12 - 57637237 57644976 57637594 57643040 11 57637237,57637870,57638097,57638319,57638698,57638927,57640586,57641908,57642488,57642823,57644775, 57637693,57638008,57638149,57638405,57638748,57638994,57640684,57641981,57642586,57643091,57644976, 0 STAC3 cmpl cmpl 0,0,2,0,1,0,1,0,1,0,-1, 825 NR_026806 chr12 + 31477249 31478879 31478879 31478879 1 31477249, 31478879, 0 FLJ13224 unk unk -1, 846 NM_032962 chr17 - 34310691 34313764 34310836 34313685 4 34310691,34311373,34312783,34313606, 34310924,34311488,34312831,34313764, 0 CCL14 cmpl cmpl 2,1,1,0, 200 NM_032961 chr4 + 134070469 134112732 134071295 134111315 5 134070469,134075461,134076071,134084131,134111295, 134073926,134075520,134076178,134084437,134112732, 0 PCDH10 cmpl cmpl 0,0,2,1,1, 1344 NM_144588 chr10 + 99496877 99520664 99498234 99519057 13 99496877,99498233,99502850,99504485,99508025,99509230,99510087,99511147,99512613,99512794,99517021,99517398,99518992, 99497082,99498431,99502921,99504672,99508121,99509343,99510227,99511219,99512634,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,1,2,2,1,0,0,0,1,0,1, 1828 NM_002054 chr2 - 162999378 163008914 162999873 163005688 6 162999378,163000536,163002049,163003862,163005596,163008667, 162999880,163000680,163002187,163004024,163005697,163008914, 0 GCG cmpl cmpl 2,2,2,2,0,-1, 956 NM_002049 chrX + 48644981 48652717 48649516 48652571 6 48644981,48649497,48650250,48650729,48651578,48652199, 48645053,48649736,48650628,48650875,48651704,48652717, 0 GATA1 cmpl cmpl -1,0,1,1,0,0, 806 NR_039742 chr16 + 28969903 28969982 28969982 28969982 1 28969903, 28969982, 0 MIR4517 unk unk -1, 2172 NM_001773 chr1 - 208059882 208084683 208061448 208084425 8 208059882,208062026,208062505,208062809,208070837,208072317,208073165,208084346, 208061463,208062191,208062558,208062966,208070918,208072571,208073348,208084683, 0 CD34 cmpl cmpl 0,0,1,0,0,1,1,0, 73 NM_015232 chr12 + 186541 280494 247438 280487 13 186541,208311,247432,250289,266190,266693,271091,272659,274599,274894,278178,280277,280412, 186878,208380,248520,250451,266313,266860,271231,272785,274699,275056,278271,280327,280494, 0 IQSEC3 cmpl cmpl -1,-1,0,2,2,2,1,0,0,1,1,1,0, 301 NM_000740 chr1 + 239792372 240072717 240070751 240072524 5 239792372,239795523,239841485,239990551,240070732, 239792839,239795586,239841588,239990678,240072717, 0 CHRM3 cmpl cmpl -1,-1,-1,-1,0, 987 NM_003147 chrX + 52780279 52790617 52781757 52789480 9 52780279,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788723,52789525,52790617, 0 SSX2 cmpl cmpl -1,0,0,1,1,0,1,0,-1, 987 NM_003147 chrX - 52725945 52736277 52727078 52734799 9 52725945,52727033,52727835,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736277, 0 SSX2 cmpl cmpl -1,0,1,0,1,1,0,0,-1, 1888 NM_002598 chr6 - 170884659 170893780 170886646 170893669 6 170884659,170887944,170889089,170892144,170892592,170893386, 170886805,170888058,170889193,170892276,170892835,170893780, 0 PDCD2 cmpl cmpl 0,0,1,1,1,0, 586 NM_139074 chr20 + 138110 139804 138185 139665 2 138110,139414, 138234,139804, 0 DEFB127 cmpl cmpl 0,1, 597 NM_001199787 chr1 - 1656276 1677438 1656852 1670996 7 1656276,1666128,1669759,1670360,1670674,1675689,1677162, 1656861,1666274,1669887,1670496,1671143,1676107,1677438, 0 SLC35E2 cmpl cmpl 0,1,2,1,0,-1,-1, 785 NM_004331 chr8 + 26240522 26270644 26240646 26267928 6 26240522,26248758,26252745,26265515,26265742,26267879, 26240746,26248942,26252818,26265619,26265892,26270644, 0 BNIP3L cmpl cmpl 0,1,2,0,2,2, 817 NM_004118 chr20 - 30432102 30433420 30432352 30433345 1 30432102, 30433420, 0 FOXS1 cmpl cmpl 0, 916 NM_001198934 chr6 + 43395291 43418163 43395716 43417829 22 43395291,43395705,43399879,43402358,43403488,43403875,43405671,43406361,43409599,43410707,43411670,43411896,43412525,43412862,43413336,43414014,43414985,43415421,43416618,43416844,43417159,43417666, 43395495,43395877,43401098,43402586,43403645,43403985,43405751,43406533,43409698,43410897,43411748,43412091,43412676,43413052,43413680,43414184,43415146,43415675,43416764,43416942,43417272,43418163, 0 ABCC10 cmpl cmpl -1,0,2,0,0,1,0,2,0,0,1,1,1,2,0,2,1,0,2,1,0,2, 2139 NM_018256 chr2 - 203745322 203776949 203745582 203776199 13 203745322,203747433,203748331,203748920,203749117,203757339,203759303,203760787,203762022,203764253,203765747,203772587,203776158, 203745660,203747506,203748464,203749026,203749258,203757425,203759349,203760942,203762138,203764360,203765842,203772682,203776949, 0 WDR12 cmpl cmpl 0,2,1,0,0,1,0,1,2,0,1,2,0, 200 NM_001277196 chr8 + 133787603 133861052 133790074 133858168 20 133787603,133790037,133806655,133806978,133811017,133816063,133816859,133823290,133826881,133829132,133829583,133836248,133837508,133844479,133848784,133849956,133851631,133854759,133856400,133858025, 133787891,133790157,133806827,133807063,133811106,133816277,133816985,133823373,133827134,133829321,133829790,133836305,133837616,133844644,133848966,133850056,133851827,133855120,133856563,133861052, 0 PHF20L1 cmpl cmpl -1,0,2,0,1,0,1,1,0,1,1,1,1,1,1,0,1,2,0,1, 840 NM_001014445 chr17 - 33458340 33469270 33459455 33463468 12 33458340,33460189,33460357,33462267,33463187,33463380,33464019,33464561,33464832,33466253,33466867,33468997, 33459468,33460260,33460517,33462470,33463234,33463516,33464212,33464659,33464909,33466333,33467085,33469270, 0 NLE1 cmpl cmpl 2,0,2,0,1,0,-1,-1,-1,-1,-1,-1, 1478 NM_001207048 chr11 - 117156401 117166386 117160281 117166263 8 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117166213, 117160523,117161375,117161765,117162529,117163904,117164724,117166063,117166386, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0, 780 NM_016124 chr1 + 25598976 25656936 25599038 25655415 10 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25643490,25648379,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25643570,25648453,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1,0, 908 NM_006695 chr17 + 42385926 42395238 42386200 42394872 11 42385926,42389947,42390471,42390785,42392102,42392296,42392522,42392819,42393752,42393986,42394852, 42386307,42390063,42390620,42390871,42392192,42392377,42392688,42392977,42393890,42394093,42395238, 0 RUNDC3A cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 1543 NM_001100588 chr9 - 125611731 125667562 125611905 125659788 21 125611731,125613359,125613601,125616230,125616463,125616809,125617462,125618010,125620201,125620947,125622195,125627627,125639749,125642033,125642271,125642872,125645482,125652590,125655187,125659557,125667388, 125612101,125613508,125613715,125616365,125616545,125616894,125617676,125618157,125620372,125621381,125622410,125627936,125639862,125642152,125642404,125643073,125645658,125652824,125655305,125659855,125667562, 0 RC3H2 cmpl cmpl 2,0,0,0,2,1,0,0,0,1,2,2,0,1,0,0,1,1,0,0,-1, 90 NM_182625 chr2 + 17935176 17966632 17941210 17963206 14 17935176,17941195,17942662,17946163,17947845,17950004,17952462,17953900,17954362,17954485,17955537,17959268,17961244,17961887, 17935234,17941371,17942849,17946340,17947956,17950078,17952554,17954051,17954399,17954566,17955668,17959330,17961388,17966632, 0 GEN1 cmpl cmpl -1,0,2,0,0,0,2,1,2,0,0,2,1,1, 14 NM_016834 chr17 + 43971747 44105699 44039703 44101537 10 43971747,44039686,44055740,44064405,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44055806,44064461,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,0,1,0,0,1,0, 952 NM_033226 chr16 - 48116883 48180681 48117625 48180335 29 48116883,48117819,48119503,48120651,48121836,48122455,48125030,48130656,48134782,48138052,48139049,48141232,48142350,48145346,48145488,48145686,48149325,48151171,48155626,48158123,48162369,48164698,48167597,48172138,48173073,48174597,48175112,48177820,48180216, 48117712,48117984,48119617,48120730,48121996,48122645,48125120,48130813,48134920,48138279,48139247,48141336,48142440,48145418,48145573,48145821,48149529,48151244,48155751,48158195,48162648,48164806,48167746,48172286,48173247,48174827,48175264,48177976,48180681, 0 ABCC12 cmpl cmpl 0,0,0,2,1,0,0,2,2,0,0,1,1,1,0,0,0,2,0,0,0,0,1,0,0,1,2,2,0, 1888 NM_144781 chr6 - 170890834 170893780 170892115 170893669 3 170890834,170892592,170893386, 170892276,170892835,170893780, 0 PDCD2 cmpl cmpl 1,1,0, 943 NM_172225 chr1 + 46972667 46979886 46972682 46978166 4 46972667,46976147,46976606,46977714, 46972836,46976326,46976955,46979886, 0 DMBX1 cmpl cmpl 0,1,0,1, 878 NM_153682 chr21 - 38437663 38445458 38437881 38444815 5 38437663,38439561,38441851,38444733,38445299, 38438012,38439680,38441924,38444837,38445458, 0 PIGP cmpl cmpl 1,2,1,0,-1, 1180 NM_001244755 chr16 + 78062985 78066001 78063001 78064738 2 78062985,78064343, 78063044,78066001, 0 CLEC3A cmpl cmpl 0,1, 2210 NM_014053 chr1 + 213031596 213072705 213031794 213068632 10 213031596,213037066,213046019,213056712,213058634,213061232,213061830,213062487,213068327,213068557, 213032532,213037211,213046160,213056780,213058738,213061343,213061936,213062599,213068395,213072705, 0 FLVCR1 cmpl cmpl 0,0,1,1,0,2,2,0,1,0, 1087 NM_021783 chrX - 65815481 65858892 65819325 65835862 7 65815481,65819315,65822474,65824262,65824889,65835775,65858836, 65817935,65819702,65822639,65824348,65825068,65835872,65858892, 0 EDA2R cmpl cmpl -1,1,1,2,0,0,-1, 1204 NR_029406 chr17 + 81174665 81188573 81188573 81188573 4 81174665,81176163,81176760,81187692, 81175002,81176298,81177663,81188573, 0 FLJ43681 unk unk -1,-1,-1,-1, 177 NM_015365 chrX - 109437413 109561380 109441747 109561299 6 109437413,109444181,109445673,109459745,109507716,109560826, 109441862,109444278,109445764,109459860,109507827,109561380, 0 AMMECR1 cmpl cmpl 2,1,0,2,2,0, 817 NM_080611 chr20 - 30448869 30458479 30449205 30458140 7 30448869,30450373,30451709,30452755,30454873,30457366,30458119, 30449478,30450545,30451784,30452805,30454956,30457400,30458479, 0 DUSP15 cmpl cmpl 0,2,2,0,1,0,0, 78 NM_032172 chr7 + 6144549 6201195 6150764 6199088 18 6144549,6150755,6154953,6175471,6178722,6179758,6180544,6182562,6183715,6185146,6185778,6187369,6189213,6190042,6193386,6196384,6199080,6200185, 6144663,6151005,6155154,6175582,6178825,6179826,6180615,6182645,6183827,6185287,6185879,6187523,6189933,6190137,6194826,6196686,6199124,6201195, 0 USP42 cmpl cmpl -1,0,1,1,1,2,1,0,2,0,0,2,0,0,2,2,1,-1, 295 NM_001103147 chr2 + 233562014 233725289 233599907 233721570 31 233562014,233565294,233568133,233599864,233612324,233613696,233620932,233625189,233626105,233641121,233651859,233655407,233655717,233655970,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233565364,233568199,233599948,233612454,233613792,233621044,233625301,233626146,233641187,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,-1,-1,0,2,0,0,1,2,1,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 765 NM_005826 chr1 - 23636275 23670853 23636946 23667501 11 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23667344,23670703, 23637559,23637815,23640195,23645181,23648156,23650225,23660124,23664354,23665101,23667510,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,1,0,-1, 114 NM_016142 chr11 + 43702142 43878169 43702377 43876798 11 43702142,43772460,43775595,43819869,43836986,43837896,43852525,43859866,43861548,43876264,43876693, 43702537,43772507,43775671,43819977,43837051,43837941,43852560,43859948,43861614,43876414,43878169, 0 HSD17B12 cmpl cmpl 0,1,0,1,1,0,0,2,0,0,0, 934 NM_013309 chr15 - 45774679 45815002 45777360 45814552 8 45774679,45778808,45779724,45781038,45782925,45803335,45814161,45814804, 45777515,45778943,45779830,45781240,45783079,45803482,45814666,45815002, 0 SLC30A4 cmpl cmpl 1,1,0,2,1,1,0,-1, 1084 NM_006660 chr15 - 65442783 65477563 65443160 65477491 14 65442783,65444767,65445884,65447119,65448029,65449181,65450083,65450912,65454941,65456366,65458968,65471271,65472381,65477412, 65443251,65444874,65445977,65447419,65448194,65449270,65450248,65451089,65454983,65456526,65459123,65471389,65472542,65477563, 0 CLPX cmpl cmpl 2,0,0,0,0,1,1,1,1,0,1,0,1,0, 1234 NM_014021 chr1 - 85109389 85156240 85113115 85136902 15 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85136859,85146020,85156053, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85136991,85146070,85156240, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,1,0,-1,-1, 948 NM_014342 chr11 - 47638857 47664206 47640384 47664017 13 47638857,47644252,47647225,47648631,47650504,47652106,47652587,47653205,47656223,47657096,47660250,47660518,47663930, 47640471,47644328,47647293,47648679,47650598,47652166,47652639,47653263,47656286,47657123,47660357,47660603,47664206, 0 MTCH2 cmpl cmpl 0,2,0,0,2,2,1,0,0,0,1,0,0, 1878 NM_024727 chr3 - 169557028 169587723 169557769 169587595 9 169557028,169565907,169569406,169572600,169574123,169574492,169578348,169579457,169587420, 169558101,169566075,169569574,169572768,169574291,169574660,169578516,169579601,169587723, 0 LRRC31 cmpl cmpl 1,1,1,1,1,1,1,1,0, 1389 NM_001171020 chrX + 105412297 105452949 105449425 105451516 4 105412297,105415004,105447977,105449211, 105412418,105415132,105448163,105452949, 0 MUM1L1 cmpl cmpl -1,-1,-1,0, 598 NM_001170820 chr11 - 1753639 1771824 1756509 1771672 3 1753639,1768896,1771588, 1756659,1769349,1771824, 0 IFITM10 cmpl cmpl 0,0,0, 1484 NM_001560 chrX + 117861558 117928496 117861601 117925817 11 117861558,117874979,117880916,117883620,117892017,117895100,117900492,117900806,117907841,117910389,117925724, 117861689,117875119,117881055,117883741,117892205,117895252,117900540,117900939,117907938,117910474,117928496, 0 IL13RA1 cmpl cmpl 0,1,0,1,2,1,0,0,1,2,0, 2428 NM_001102467 chr2 - 241615834 241622317 241615961 241622254 3 241615834,241619768,241621647, 241616161,241619885,241622317, 0 AQP12B cmpl cmpl 1,1,0, 898 NM_005258 chr15 + 41056284 41059911 41056378 41059547 3 41056284,41058024,41059423, 41056414,41058119,41059911, 0 GCHFR cmpl cmpl 0,0,2, 1501 NM_001080138 chrX - 120111460 120114778 120112769 120114523 3 120111460,120112738,120113781, 120111600,120112894,120114778, 0 CT47A9 cmpl cmpl -1,1,0, 1888 NM_001199461 chr6 - 170890834 170893780 170891345 170893669 4 170890834,170892144,170892592,170893386, 170891353,170892276,170892835,170893780, 0 PDCD2 cmpl cmpl 1,1,1,0, 127 NM_018261 chr4 + 56719815 56771244 56724489 56770661 19 56719815,56724479,56726576,56730392,56734501,56736843,56737266,56738014,56744082,56749988,56755053,56756388,56757480,56758800,56759717,56762882,56765850,56768509,56770508, 56719963,56724613,56726707,56730552,56734689,56737071,56737399,56738124,56744232,56750094,56755098,56756552,56757588,56758877,56759946,56763066,56766050,56768704,56771244, 0 EXOC1 cmpl cmpl -1,0,1,0,1,0,0,1,0,0,1,1,0,0,2,0,1,0,0, 1348 NM_001194991 chr7 + 100026412 100031749 100029048 100031177 5 100026412,100028652,100030541,100030885,100031124, 100026663,100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl -1,0,0,0,1, 141 NM_001914 chr18 - 71920526 71959251 71924079 71959110 6 71920526,71922975,71924064,71928149,71930583,71958981, 71920900,71923010,71924088,71928179,71930712,71959251, 0 CYB5A cmpl cmpl -1,-1,0,0,0,0, 967 NM_018191 chr13 - 50106081 50159719 50108257 50141415 13 50106081,50115011,50115811,50118872,50123593,50125461,50126313,50129650,50134053,50140753,50141289,50154640,50159579, 50108398,50115142,50115963,50118999,50123784,50125604,50126421,50129809,50134220,50140904,50141456,50154720,50159719, 0 RCBTB1 cmpl cmpl 0,1,2,1,2,0,0,0,1,0,0,-1,-1, 105 NM_203364 chr11 + 34073229 34120607 34073967 34119328 18 34073229,34073967,34093272,34093447,34097782,34098106,34101174,34104371,34104501,34107610,34107851,34110941,34111725,34112075,34113452,34118025,34118742,34119244, 34073418,34074183,34093335,34093534,34098021,34098189,34101312,34104424,34104588,34107766,34107960,34111003,34111836,34112225,34113603,34118220,34118843,34120607, 0 CAPRIN1 cmpl cmpl -1,0,0,0,0,2,1,1,0,0,0,1,0,0,0,1,1,0, 837 NM_002121 chr6 + 33043702 33057473 33043818 33054015 6 33043702,33048448,33052726,33053555,33053995,33054315, 33043918,33048712,33053008,33053666,33054019,33057473, 0 HLA-DPB1 cmpl cmpl 0,1,1,1,1,-1, 2084 NM_001127257 chr2 + 196521531 196602426 196544766 196599765 10 196521531,196544755,196548422,196571339,196573379,196578156,196581360,196582975,196592882,196599606, 196521734,196545774,196548630,196571509,196573568,196578277,196581729,196583056,196593073,196602426, 0 SLC39A10 cmpl cmpl -1,0,0,1,0,0,1,1,1,0, 18 NM_003719 chr5 + 76506705 76724080 76506750 76722379 22 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76645243,76646889,76649170,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76645384,76646978,76649231,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 261 NM_001206774 chr2 - 197644812 197664492 197645258 197664335 9 197644812,197649580,197650164,197653927,197654602,197656060,197657679,197662520,197664233, 197645386,197649653,197650312,197654093,197654794,197656184,197657876,197662632,197664492, 0 GTF3C3 cmpl cmpl 1,0,2,1,1,0,1,0,0, 75 NM_001172660 chr4 - 2330305 2366604 2330868 2343312 7 2330305,2337431,2339133,2341179,2343204,2355659,2366212, 2330869,2337521,2339223,2341382,2343342,2355800,2366604, 0 ZFYVE28 cmpl cmpl 2,2,2,0,0,-1,-1, 821 NM_152511 chr22 - 31058038 31063872 31059423 31059990 2 31058038,31063448, 31060067,31063872, 0 DUSP18 cmpl cmpl 0,-1, 1720 NM_016153 chrX + 148855725 148858517 148856339 148858448 2 148855725,148857740, 148856903,148858517, 0 HSFX1 cmpl cmpl 0,0, 97 NM_016152 chr3 + 25469753 25639422 25542702 25638107 8 25469753,25502683,25542672,25611248,25622036,25634993,25636010,25637910, 25470022,25502832,25542814,25611409,25622213,25635198,25636169,25639422, 0 RARB cmpl cmpl -1,-1,0,1,0,0,1,1, 90 NM_000923 chr19 - 18318770 18359010 18321738 18344001 16 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331683,18331914,18332070,18332941,18343759,18358980, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331733,18331988,18332107,18333133,18344210,18359010, 0 PDE4C cmpl cmpl 0,0,0,1,0,0,0,1,0,1,2,0,2,2,0,-1, 1152 NM_182965 chr17 + 74380689 74383941 74381186 74383667 6 74380689,74381531,74382065,74382301,74382473,74382886, 74381250,74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl 0,1,1,1,0,2, 820 NM_080870 chr6 + 30908776 30921998 30908776 30920894 3 30908776,30916323,30920747, 30908858,30920276,30921998, 0 DPCR1 cmpl cmpl 0,1,0, 780 NM_001282871 chr1 + 25598976 25656936 25599038 25655627 9 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25634137,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25634307,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1, 780 NM_001282870 chr1 + 25598976 25656936 25599038 25655627 9 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25643490,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25643570,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1, 1379 NM_001198953 chr14 + 104182080 104200005 104182178 104199355 8 104182080,104193128,104194082,104195244,104195427,104196129,104198956,104199319, 104182316,104193179,104194251,104195320,104195519,104196183,104199099,104200005, 0 ZFYVE21 cmpl cmpl 0,0,0,1,2,1,1,0, 14 NM_014159 chr3 - 47057897 47205467 47058582 47205414 21 47057897,47059127,47061249,47079155,47084050,47087976,47098310,47103652,47108559,47125209,47127684,47129602,47139444,47142947,47144835,47147486,47155365,47158112,47161671,47168137,47205343, 47058744,47059229,47061330,47079267,47084190,47088111,47098980,47103836,47108608,47125872,47127804,47129737,47139571,47143045,47144913,47147610,47155494,47158244,47166038,47168153,47205467, 0 SETD2 cmpl cmpl 0,0,0,2,0,0,2,1,0,0,0,0,2,0,0,2,2,2,0,2,0, 1264 NM_207661 chr14 + 89029690 89079853 89034405 89078095 15 89029690,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89073586,89075610,89076055,89077177,89078088, 89029799,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl -1,-1,0,2,1,2,0,2,1,1,1,2,1,0,2, 1264 NM_207660 chr14 + 89029252 89079853 89029477 89078095 14 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89073586,89075610,89076058,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,2,1,0,2, 836 NM_207454 chr17 - 32901141 32906388 32904545 32906299 2 32901141,32905889, 32904639,32906388, 0 C17orf102 cmpl cmpl 2,0, 890 NM_001135653 chr1 - 40026484 40042521 40027369 40041623 16 40026484,40027356,40027744,40027994,40029285,40029507,40030094,40030357,40030777,40033422,40034473,40035266,40035534,40036905,40038064,40041430, 40026794,40027459,40027875,40028088,40029413,40029594,40030214,40030445,40031050,40033518,40034611,40035361,40035674,40037021,40038258,40042521, 0 PABPC4 cmpl cmpl -1,0,1,0,1,1,1,0,0,0,0,1,2,0,1,0, 1492 NM_001467 chr11 - 118895060 118901616 118895619 118900079 10 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899931,118901558, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118900274,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,1,0,-1, 595 NM_001161530 chrX + 1401570 1428828 1401596 1428372 12 1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422153,1422815,1424338,1428294, 1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422255,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,1,2,0, 898 NM_032850 chr15 + 41099273 41106767 41099486 41106424 12 41099273,41100452,41101316,41101605,41102049,41102268,41102846,41104896,41105535,41105910,41106140,41106345, 41099611,41100576,41101438,41101656,41102168,41102414,41102955,41105100,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl 0,2,0,2,2,1,0,1,1,0,0,2, 113 NM_016248 chr13 + 42846288 42897403 42860484 42893364 13 42846288,42860121,42860435,42866520,42869830,42871183,42872668,42873498,42882589,42887182,42888029,42891663,42893223, 42846364,42860171,42860535,42866637,42869878,42871318,42872933,42877999,42882745,42887266,42888076,42891824,42897403, 0 AKAP11 cmpl cmpl -1,-1,0,0,0,0,0,1,2,2,2,1,0, 1864 NM_024569 chr1 + 167691186 167761156 167691388 167757081 5 167691186,167734819,167741511,167742472,167757056, 167691479,167734986,167741725,167742605,167761156, 0 MPZL1 cmpl cmpl 0,1,0,1,2, 1626 NM_025246 chr3 + 136537860 136574734 136573302 136574541 2 136537860,136573284, 136538470,136574734, 0 SLC35G2 cmpl cmpl -1,0, 726 NM_004864 chr19 + 18496967 18499986 18496999 18499745 2 18496967,18499095, 18497276,18499986, 0 GDF15 cmpl cmpl 0,1, 2474 NM_198074 chr1 - 247693433 247697141 247694850 247695813 2 247693433,247696808, 247695842,247697141, 0 OR2C3 cmpl cmpl 0,-1, 1156 NM_144677 chr17 + 74864797 74946471 74865111 74944920 17 74864797,74868932,74878232,74898636,74899384,74900333,74901250,74902099,74921047,74922678,74928726,74934069,74936483,74936813,74942457,74943911,74944721, 74865179,74869045,74878380,74898752,74899458,74900504,74901415,74902269,74921179,74922812,74928857,74934225,74936630,74936930,74942532,74944168,74946471, 0 MGAT5B cmpl cmpl 0,2,1,2,1,0,0,0,2,2,1,0,0,0,0,0,2, 857 NM_001135729 chr22 + 35695267 35743987 35713916 35743202 15 35695267,35713869,35717951,35719020,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695371,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742965,35743987, 0 TOM1 cmpl cmpl -1,0,2,0,0,0,0,0,2,0,1,2,0,0,1, 1813 NM_007122 chr1 - 161009040 161015769 161009709 161013065 11 161009040,161009991,161010365,161010603,161011113,161011440,161011905,161012344,161012622,161013057,161015647, 161009799,161010120,161010460,161010662,161011201,161011636,161012007,161012460,161012672,161013150,161015769, 0 USF1 cmpl cmpl 0,0,1,2,1,0,0,1,2,0,-1, 1653 NM_001278731 chr5 + 140071010 140078903 140071233 140078137 12 140071010,140073519,140073769,140075092,140075322,140075687,140076105,140076527,140076748,140077153,140077516,140078077, 140071341,140073639,140073865,140075218,140075430,140075786,140076199,140076655,140076991,140077270,140077663,140078903, 0 HARS2 cmpl cmpl 0,0,0,0,0,0,0,1,0,0,0,0, 1099 NM_001146111 chr1 + 67390577 67454302 67394586 67452156 16 67390577,67391824,67394572,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450335,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1,1, 1099 NM_001146110 chr1 + 67390577 67454302 67394586 67450583 15 67390577,67391824,67394569,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1, 10 NM_058169 chr12 + 12510019 12619838 12510385 12618710 4 12510019,12514139,12588561,12618479, 12510443,12514283,12588719,12619838, 0 LOH12CR1 cmpl cmpl 0,1,1,0, 170 NM_058170 chr1 - 102268122 102462790 102269793 102462372 6 102268122,102271631,102290581,102296227,102302434,102462303, 102270471,102271738,102290801,102296383,102302581,102462790, 0 OLFM3 cmpl cmpl 0,1,0,0,0,0, 116 NM_021116 chr7 + 45614124 45762714 45614142 45753594 20 45614124,45632357,45649977,45662230,45688268,45697325,45699640,45701657,45717467,45717764,45719307,45724577,45725560,45726145,45742974,45743198,45744116,45747948,45750126,45753291, 45614781,45632507,45650096,45662342,45688396,45697484,45699782,45701813,45717662,45717862,45719392,45724667,45725814,45726272,45743091,45743345,45744215,45748063,45750251,45762714, 0 ADCY1 cmpl cmpl 0,0,0,2,0,2,2,0,0,0,2,0,0,2,0,0,0,0,1,0, 89 NM_001282225 chr22 - 17659679 17700475 17662372 17690567 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690613,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 1696 NM_001280557 chr8 - 145637797 145638975 145637921 145638753 4 145637797,145638142,145638620,145638896, 145638050,145638330,145638773,145638975, 0 SLC39A4 cmpl cmpl 0,1,0,-1, 855 NR_002937 chr14 + 35409127 35409702 35409702 35409702 1 35409127, 35409702, 0 IGBP1P1 unk unk -1, 1298 NR_003032 chr11 - 93464144 93464265 93464265 93464265 1 93464144, 93464265, 0 SNORA32 unk unk -1, 1729 NM_014374 chr7 + 150068257 150071133 150068330 150070034 1 150068257, 150071133, 0 REPIN1 cmpl cmpl 0, 818 NM_003587 chr6 - 30620895 30640830 30621018 30640618 20 30620895,30622482,30622951,30623211,30623974,30624167,30624373,30624728,30627248,30627512,30627808,30630403,30630687,30632577,30632847,30633255,30638186,30638566,30638812,30640411, 30621147,30622656,30623113,30623374,30624042,30624286,30624536,30624869,30627401,30627611,30628019,30630519,30630798,30632769,30633051,30633510,30638243,30638729,30639051,30640830, 0 DHX16 cmpl cmpl 0,0,0,2,0,1,0,0,0,0,2,0,0,0,0,0,0,2,0,0, 190 NR_038266 chr3 + 123304402 123349666 123349666 123349666 3 123304402,123348340,123349342, 123304648,123348528,123349666, 0 MYLK-AS1 unk unk -1,-1,-1, 846 NR_027921 chr17 - 34310691 34329084 34329084 34329084 8 34310691,34311373,34312783,34313606,34324756,34325315,34325901,34328455, 34310924,34311488,34312831,34313740,34324896,34325427,34325961,34329084, 0 CCL15-CCL14 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 128 NM_001143995 chr11 - 58294343 58345639 58294926 58345519 9 58294343,58295515,58317258,58317445,58318537,58322313,58331627,58338028,58345491, 58295196,58295664,58317340,58317619,58318705,58322413,58331674,58338186,58345639, 0 LPXN cmpl cmpl 0,1,0,0,0,2,0,1,0, 120 NM_001127898 chrX + 49687224 49863892 49689908 49856876 15 49687224,49688015,49689780,49806924,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49687402,49688091,49689924,49807071,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl -1,-1,0,1,1,0,1,0,0,0,0,0,1,1,2, 190 NR_073556 chr9 - 123151146 123342448 123342448 123342448 39 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280034,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334254,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232498,123234156,123239728,123249715,123253755,123280164,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1725 NM_005211 chr5 - 149432853 149492935 149433631 149465990 22 149432853,149433884,149434799,149435588,149435781,149436849,149437066,149439262,149440424,149441053,149441285,149447777,149449435,149449744,149450018,149452863,149456838,149457674,149459614,149460329,149465941,149492823, 149433787,149433993,149434899,149435700,149435904,149436947,149437155,149439425,149440535,149441158,149441412,149447893,149449626,149449865,149450134,149453056,149456998,149457811,149459899,149460587,149466170,149492935, 0 CSF1R cmpl cmpl 0,2,1,0,0,1,2,1,1,1,0,1,2,1,2,1,0,1,1,1,0,-1, 646 NM_001199322 chr6 - 8013799 8064647 8015881 8054505 6 8013799,8026599,8041371,8054502,8062766,8064497, 8016061,8026658,8041501,8054605,8062849,8064647, 0 BLOC1S5 cmpl cmpl 0,1,0,0,-1,-1, 16 NM_003368 chr1 + 62902382 62917475 62905538 62916652 9 62902382,62905469,62907158,62907865,62908829,62910408,62913011,62914135,62915916, 62903071,62905708,62907279,62907970,62908990,62911100,62913182,62914337,62917475, 0 USP1 cmpl cmpl -1,0,2,0,0,2,1,1,2, 924 NM_001242907 chr18 - 44542730 44544607 44542730 44544371 1 44542730, 44544607, 0 TCEB3CL2 cmpl cmpl 0, 924 NM_001242907 chr18 - 44548657 44550534 44548657 44550298 1 44548657, 44550534, 0 TCEB3CL2 cmpl cmpl 0, 164 NM_001289073 chr10 + 96305523 96361856 96322463 96361379 21 96305523,96306133,96313882,96317895,96322447,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,0,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 786 NM_032513 chr1 - 26364513 26372604 26365650 26372387 7 26364513,26366267,26368190,26369039,26369888,26371487,26372337, 26365796,26366402,26368296,26369199,26370042,26371708,26372604, 0 SLC30A2 cmpl cmpl 1,1,0,2,1,2,0, 774 NM_014430 chr14 - 24774392 24780576 24774838 24777064 7 24774392,24775152,24775579,24776576,24777023,24777684,24779854, 24774971,24775343,24775729,24776721,24777126,24778036,24780576, 0 CIDEB cmpl cmpl 2,0,0,2,0,-1,-1, 158 NM_014427 chr16 + 89642175 89663654 89642305 89663029 17 89642175,89643946,89645264,89649851,89650104,89650435,89651181,89651871,89652094,89653077,89653450,89655082,89656304,89657414,89657534,89661774,89662891, 89642479,89644129,89645404,89649936,89650179,89650510,89651265,89651961,89652193,89653164,89653510,89655216,89656359,89657466,89657668,89662011,89663654, 0 CPNE7 cmpl cmpl 0,0,0,2,0,0,0,0,0,0,0,0,2,0,1,0,0, 922 NM_178148 chr6 - 44221837 44225308 44222442 44225147 4 44221837,44224078,44224421,44225136, 44223381,44224233,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,1,2,0, 1361 NM_178127 chr11 - 101761404 101787253 101762009 101778640 9 101761404,101765609,101771160,101773351,101775544,101776474,101777833,101778544,101786749, 101762329,101765795,101771281,101773452,101775638,101776578,101777978,101778732,101787253, 0 ANGPTL5 cmpl cmpl 1,1,0,1,0,1,0,0,-1, 811 NR_026973 chr6 - 29694377 29716826 29716826 29716826 2 29694377,29716676, 29694916,29716826, 0 HLA-F-AS1 unk unk -1,-1, 1381 NR_034142 chr7 - 104439446 104444539 104444539 104444539 3 104439446,104443285,104444402, 104440516,104443410,104444539, 0 LHFPL3-AS1 unk unk -1,-1,-1, 1381 NR_034141 chr7 - 104436953 104444539 104444539 104444539 4 104436953,104440264,104443285,104444402, 104437396,104440516,104443410,104444539, 0 LHFPL3-AS1 unk unk -1,-1,-1,-1, 87 NM_001168341 chr9 - 15170841 15307358 15172016 15307321 18 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,0,0, 87 NM_001168339 chr9 - 15170841 15307358 15172016 15307321 20 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15225914,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210156,15211395,15214247,15226010,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,2,0,0, 265 NM_004071 chr2 - 201717731 201729467 201718028 201726585 13 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201724847,201725960,201726424,201729286, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201724469,201724938,201726189,201726585,201729467, 0 CLK1 cmpl cmpl 0,2,0,1,0,1,2,2,1,0,2,0,-1, 1229 NM_021998 chrX + 84498996 84528368 84502578 84526834 9 84498996,84500908,84502552,84510264,84519280,84520123,84523299,84525008,84525656, 84499197,84501028,84502657,84510807,84519436,84520261,84523347,84525152,84528368, 0 ZNF711 cmpl cmpl -1,-1,0,1,1,1,1,1,1, 14 NM_001242692 chr18 + 42792946 43263060 43204629 43262484 21 42792946,43063197,43204595,43205647,43206922,43212314,43216954,43219710,43221173,43223096,43223950,43243749,43246101,43246899,43247797,43248313,43249270,43252864,43253647,43258939,43262283, 42793156,43063287,43204779,43205828,43207112,43212443,43217147,43219858,43221308,43223146,43224125,43243872,43246184,43247059,43247987,43248442,43249463,43253012,43253782,43258989,43263060, 0 SLC14A2 cmpl cmpl -1,-1,0,0,1,2,2,0,1,1,0,1,1,0,1,2,2,0,1,1,0, 1267 NM_001162536 chr1 - 89445138 89458643 89448336 89449509 3 89445138,89453934,89458267, 89449749,89454034,89458643, 0 RBMXL1 cmpl cmpl 0,-1,-1, 1307 NM_018039 chr11 + 94706844 94732676 94730536 94732108 3 94706844,94708817,94730187, 94707232,94708912,94732676, 0 KDM4D cmpl cmpl -1,-1,0, 234 NM_001166108 chr4 + 169418216 169849608 169432655 169846397 22 169418216,169432573,169589340,169602482,169604148,169606635,169611753,169612419,169630178,169632731,169812072,169815729,169817699,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169846383,169847363, 169418345,169433563,169589519,169602549,169604254,169606710,169611895,169612443,169630298,169633074,169812208,169815828,169817750,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169846429,169849608, 0 PALLD cmpl cmpl -1,0,2,1,2,0,0,1,1,1,2,0,0,0,0,0,2,0,1,2,1,-1, 117 NM_001278739 chr6 - 46517316 46620567 46518102 46605687 11 46517316,46521503,46554813,46555770,46563723,46593154,46598699,46604125,46605565,46609899,46620142, 46518174,46521591,46554902,46555866,46563857,46593245,46598807,46604219,46605715,46610035,46620567, 0 CYP39A1 cmpl cmpl 0,2,0,0,1,0,0,2,0,-1,-1, 117 NM_001278738 chr6 - 46517316 46620567 46518102 46620319 12 46517316,46521503,46554813,46555770,46563723,46593154,46598699,46604125,46605565,46607230,46609899,46620142, 46518174,46521591,46554902,46555866,46563857,46593245,46598807,46604219,46605715,46607345,46610035,46620567, 0 CYP39A1 cmpl cmpl 0,2,0,0,1,0,0,2,2,1,0,0, 195 NM_001204890 chr3 - 128806411 128880073 128813867 128879818 13 128806411,128813828,128848930,128849392,128852916,128853674,128859210,128864603,128875475,128875697,128877350,128877996,128879815, 128810189,128814012,128849031,128849479,128853038,128853797,128859328,128864716,128875518,128875763,128877402,128878019,128880073, 0 ISY1-RAB43 cmpl cmpl -1,2,0,0,1,1,0,1,0,0,2,0,0, 140 NM_001185055 chr2 - 70902215 70995375 70903840 70995031 12 70902215,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70995017, 70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70995375, 0 ADD2 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,2,0, 935 NM_033413 chr17 + 45908992 45915079 45909355 45914486 8 45908992,45909465,45911790,45912718,45913031,45913398,45913698,45914115, 45909365,45909571,45911899,45912765,45913141,45913468,45913841,45915079, 0 LRRC46 cmpl cmpl 0,1,2,0,2,1,2,1, 1225 NM_033411 chr6 + 83903031 83906256 83904170 83905991 3 83903031,83904030,83905313, 83903162,83904371,83906256, 0 RWDD2A cmpl cmpl -1,0,0, 183 NM_001859 chr9 + 115983807 116026772 116018428 116022753 5 115983807,116018393,116019392,116020973,116022551, 115983958,116018557,116019465,116021142,116026772, 0 SLC31A1 cmpl cmpl -1,0,0,1,2, 15 NM_153035 chr1 + 54519273 54565416 54520095 54562146 5 54519273,54520053,54534428,54554269,54561957, 54519431,54520197,54534570,54554463,54565416, 0 TCEANC2 cmpl cmpl -1,0,0,1,0, 113 NM_153026 chr12 - 42852139 42983572 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42983266, 42854467,42859060,42860182,42862631,42863389,42864161,42866366,42983572, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 2350 NM_014236 chr1 + 231376918 231413719 231377124 231413288 16 231376918,231386706,231396252,231398468,231401038,231401457,231401759,231402022,231403425,231406503,231408057,231409667,231410966,231411150,231411880,231413244, 231377202,231386889,231396429,231398598,231401166,231401533,231401911,231402153,231403649,231406746,231408137,231409808,231411066,231411244,231411942,231413719, 0 GNPAT cmpl cmpl 0,0,0,0,1,0,1,0,2,1,1,0,0,1,2,1, 1024 NR_104422 chr12 - 57637237 57644976 57644976 57644976 8 57637237,57637870,57638097,57638319,57638698,57640586,57641908,57644775, 57637693,57638008,57638149,57638405,57638748,57640684,57641981,57644976, 0 STAC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 724 NR_104413 chr12 - 18233802 18243127 18243127 18243127 5 18233802,18237450,18238553,18241833,18243022, 18234407,18237496,18238627,18241890,18243127, 0 RERGL unk unk -1,-1,-1,-1,-1, 2074 NM_006241 chr3 - 195241220 195270224 195243693 195269848 6 195241220,195245814,195250489,195251616,195256594,195269726, 195243740,195245982,195250584,195251694,195256702,195270224, 0 PPP1R2 cmpl cmpl 1,1,2,2,2,0, 949 NM_001278924 chr10 + 47746849 47763040 47747111 47762187 9 47746849,47751144,47752290,47753837,47756032,47756638,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47756092,47756732,47758904,47759772,47763040, 0 ANXA8L1 cmpl cmpl 0,0,1,0,0,0,1,0,0, 122 NM_001080494 chr1 - 51752929 51787938 51753828 51787833 18 51752929,51754510,51755676,51756185,51760062,51761750,51767243,51768028,51768177,51768755,51770752,51771648,51774932,51776925,51777790,51778483,51787392,51787789, 51753952,51754627,51755791,51756297,51760183,51761842,51767405,51768088,51768245,51768864,51770818,51771748,51774997,51776993,51777867,51778615,51787497,51787938, 0 TTC39A cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,0, 140 NM_017482 chr2 - 70902215 70995375 70903840 70933540 13 70902215,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70995017, 70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70995375, 0 ADD2 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,0,-1,-1, 613 NM_020402 chr11 - 3686816 3692614 3687336 3692542 5 3686816,3688461,3690425,3691025,3692481, 3687794,3688994,3690580,3691171,3692614, 0 CHRNA10 cmpl cmpl 1,2,0,1,0, 1731 NM_025218 chr6 + 150285142 150294846 150285185 150291261 5 150285142,150289742,150290220,150291151,150292504, 150285270,150290006,150290496,150291283,150294846, 0 ULBP1 cmpl cmpl 0,1,1,1,-1, 76 NM_016030 chr2 + 3383445 3483342 3391394 3483232 12 3383445,3391390,3405547,3425651,3428295,3447549,3461391,3464033,3469367,3481465,3482616,3482989, 3383647,3392441,3405664,3425765,3428434,3447662,3461464,3464107,3469466,3481566,3482704,3483342, 0 TRAPPC12 cmpl cmpl -1,0,0,0,0,1,0,1,0,0,2,0, 1007 NM_001261844 chr12 - 55342086 55367516 55354952 55359868 10 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260,55367394, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367303,55367516, 0 TESPA1 cmpl cmpl -1,0,1,2,0,-1,-1,-1,-1,-1, 656 NM_001242326 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L25 cmpl cmpl 0, 821 NM_001198815 chr6 + 30973728 31003179 30978483 31002715 5 30973728,30978446,30993278,30999972,31002448, 30973910,30978553,30997877,31000358,31003179, 0 MUC22 cmpl cmpl -1,0,1,1,0, 15 NM_012288 chr6 - 52362199 52441862 52367994 52441713 11 52362199,52369388,52370396,52370829,52372350,52373031,52374325,52380803,52381425,52400580,52441593, 52368068,52369552,52370540,52370934,52372421,52373116,52374384,52380920,52381535,52400644,52441862, 0 TRAM2 cmpl cmpl 1,2,2,2,0,2,0,0,1,0,0, 1728 NM_001145862 chr1 - 149900542 149908791 149901020 149908540 17 149900542,149901514,149902256,149902683,149903151,149903835,149904155,149905298,149905502,149905747,149906083,149906340,149906878,149907191,149907476,149908046,149908474, 149901209,149901808,149902439,149902857,149903318,149903906,149904222,149905423,149905591,149905835,149906219,149906419,149907021,149907252,149907598,149908122,149908791, 0 MTMR11 cmpl cmpl 0,0,0,0,1,2,1,2,0,2,1,0,1,0,1,0,0, 977 NR_002948 chr19 - 51385351 51399654 51399654 51399654 5 51385351,51390974,51398318,51398846,51399582, 51385940,51391130,51398524,51398948,51399654, 0 KLKP1 unk unk -1,-1,-1,-1,-1, 917 NR_002940 chr17 - 43583248 43597889 43597889 43597889 6 43583248,43587609,43590550,43591233,43594543,43595226, 43585905,43587659,43590655,43592891,43594648,43597889, 0 LRRC37A4P unk unk -1,-1,-1,-1,-1,-1, 1857 NM_016098 chr6 - 166778407 166796501 166778916 166796364 4 166778407,166779461,166780282,166796293, 166778941,166779594,166780382,166796501, 0 MPC1 cmpl cmpl 2,1,2,0, 180 NM_005445 chr10 + 112327448 112364392 112327574 112364060 29 112327448,112328695,112333464,112335093,112337178,112337592,112338385,112340661,112341680,112342319,112343141,112343598,112343940,112349362,112349649,112350169,112350748,112352830,112356155,112357896,112359411,112360196,112360779,112361394,112361723,112362231,112362582,112362941,112363988, 112327589,112328771,112333503,112335161,112337250,112337672,112338464,112340779,112341856,112342400,112343306,112343720,112344154,112349466,112349749,112350330,112350890,112352981,112356308,112358048,112359570,112360304,112360888,112361642,112361936,112362423,112362760,112363048,112364392, 0 SMC3 cmpl cmpl 0,0,1,1,0,0,2,0,1,0,0,0,2,0,2,0,2,0,1,1,0,0,0,1,0,0,0,1,0, 1568 NM_020120 chr2 + 128848753 128953249 128848931 128947316 41 128848753,128855002,128861505,128865511,128867207,128870657,128872697,128873838,128877929,128878772,128880759,128884934,128886602,128890714,128892449,128896290,128900667,128903376,128910357,128913062,128913965,128914825,128917087,128918033,128918711,128922303,128927861,128928778,128930146,128931354,128932346,128934387,128935405,128936041,128937359,128938463,128939703,128941248,128944256,128945022,128947290, 128848989,128855138,128861588,128865642,128867320,128870832,128872794,128873917,128878030,128878872,128880820,128885026,128886753,128890834,128892535,128896426,128900799,128903541,128910478,128913161,128913989,128914920,128917294,128918165,128918842,128922399,128927964,128928858,128930336,128931513,128932432,128934472,128935494,128936143,128937444,128938646,128939864,128941363,128944373,128945188,128953249, 0 UGGT1 cmpl cmpl 0,1,2,1,0,2,0,1,2,1,2,0,2,0,0,2,0,0,0,1,1,1,0,0,0,2,2,0,2,0,0,2,0,2,2,0,0,2,0,0,1, 1027 NM_207374 chr11 - 58034263 58035732 58034412 58035330 1 58034263, 58035732, 0 OR10W1 cmpl cmpl 0, 99 NM_153371 chr13 - 28120049 28194720 28122471 28155840 10 28120049,28124469,28127344,28130372,28133978,28136549,28141776,28143165,28155433,28194511, 28122607,28124628,28127576,28130550,28134122,28136918,28141976,28143413,28155940,28194720, 0 LNX2 cmpl cmpl 2,2,1,0,0,0,1,2,0,-1, 765 NM_001102399 chr1 - 23636275 23670853 23636946 23664327 10 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23670703, 23637559,23637815,23640195,23645190,23648156,23650225,23660124,23664354,23665101,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,-1,-1, 89 NM_148173 chr17 - 17408876 17480779 17409104 17480326 7 17408876,17409540,17412747,17415822,17425593,17480233,17480727, 17409162,17409615,17412859,17415968,17425709,17480341,17480779, 0 PEMT cmpl cmpl 2,2,1,2,0,0,-1, 89 NM_148172 chr17 - 17408876 17495017 17409104 17494940 7 17408876,17409540,17412747,17415822,17425593,17480233,17494844, 17409162,17409615,17412859,17415968,17425709,17480341,17495017, 0 PEMT cmpl cmpl 2,2,1,2,0,0,0, 112 NM_001278651 chr22 - 41640780 41682021 41642606 41677048 17 41640780,41645333,41645732,41647010,41648875,41650311,41652024,41652194,41652714,41653951,41657449,41660667,41664100,41670603,41676936,41680904,41681547, 41642676,41645455,41645821,41647113,41648995,41650498,41652109,41652294,41652828,41654110,41657584,41660847,41664160,41670731,41677086,41681157,41682021, 0 RANGAP1 cmpl cmpl 2,0,1,0,0,2,1,0,0,0,0,0,0,1,0,-1,-1, 1360 NM_001099686 chrX - 101615315 101694929 101615521 101634957 23 101615315,101615712,101618183,101618900,101619573,101619711,101619965,101620144,101620383,101620525,101620974,101622689,101622978,101623206,101623451,101623707,101623903,101624119,101624506,101624883,101634914,101693473,101694790, 101615566,101615773,101618366,101618973,101619616,101619827,101620024,101620252,101620439,101620594,101621011,101622799,101623086,101623295,101623521,101623788,101624008,101624203,101624657,101625073,101635010,101693595,101694929, 0 NXF2B cmpl cmpl 0,2,2,1,0,1,2,2,0,0,2,0,0,1,0,0,0,0,2,1,0,-1,-1, 17 NM_173163 chr16 + 68119268 68263162 68119584 68260255 11 68119268,68155889,68160350,68191771,68200745,68208276,68215377,68217142,68224670,68255098,68260252, 68119687,68157024,68160513,68191971,68200918,68208417,68215433,68217269,68225678,68255187,68263162, 0 NFATC3 cmpl cmpl 0,1,2,0,2,1,1,0,1,1,0, 30 NM_173156 chr1 + 183441505 183523328 183441755 183521066 22 183441505,183481971,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183518342,183518898,183519885,183520179,183520952, 183441784,183482003,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511637,183513632,183514447,183515472,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl 0,2,1,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,1,1,0, 762 NM_173081 chr10 + 23216952 23327452 23220925 23326408 19 23216952,23220924,23235072,23244735,23247998,23248327,23250812,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297743,23319524,23321789,23326198, 23217035,23220973,23235190,23244861,23248067,23248503,23251007,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23319725,23321952,23327452, 0 ARMC3 cmpl cmpl -1,0,0,1,1,1,0,0,1,1,2,0,2,0,2,2,2,2,0, 1751 NM_173080 chr1 + 152943127 152945069 152944366 152944606 2 152943127,152944346, 152943170,152945069, 0 SPRR4 cmpl cmpl -1,0, 1456 NM_000640 chrX - 114238537 114252207 114238642 114251832 10 114238537,114239759,114242494,114244083,114245206,114248331,114248983,114250232,114251738,114252115, 114238669,114239878,114242639,114244229,114245391,114248452,114249137,114250384,114251865,114252207, 0 IL13RA2 cmpl cmpl 0,1,0,1,2,1,0,1,0,-1, 1193 NM_000160 chr17 + 79762009 79771889 79766894 79771565 14 79762009,79766717,79767657,79768700,79768885,79769097,79769279,79769526,79769761,79770058,79770452,79770682,79770891,79771349, 79762125,79766954,79767760,79768808,79769007,79769204,79769436,79769686,79769822,79770128,79770541,79770821,79770933,79771889, 0 GCGR cmpl cmpl -1,0,0,1,1,0,2,0,1,2,0,2,0,0, 1481 NM_001168325 chr12 - 117476727 117537251 117476937 117537087 7 117476727,117479751,117484363,117484581,117486823,117513075,117537029, 117477015,117479799,117484471,117484643,117486963,117513145,117537251, 0 TESC cmpl cmpl 0,0,0,1,2,1,0, 1190 NR_039894 chr17 - 79374515 79374578 79374578 79374578 1 79374515, 79374578, 0 MIR4740 unk unk -1, 1015 NR_039889 chr17 - 56413336 56413383 56413383 56413383 1 56413336, 56413383, 0 MIR4736 unk unk -1, 908 NM_001144826 chr17 + 42385926 42395238 42386200 42394872 11 42385926,42389947,42390486,42390785,42392102,42392296,42392522,42392819,42393752,42393986,42394852, 42386307,42390063,42390620,42390871,42392192,42392377,42392688,42392977,42393890,42394093,42395238, 0 RUNDC3A cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 908 NM_001144825 chr17 + 42385926 42396038 42386200 42395606 11 42385926,42389947,42390471,42390785,42392102,42392296,42392522,42392819,42393752,42393986,42395463, 42386307,42390063,42390620,42390871,42392192,42392377,42392688,42392977,42393890,42394093,42396038, 0 RUNDC3A cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 31 NM_001145673 chr4 - 186506597 186697066 186508780 186598642 23 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186560030,186567821,186570620,186572937,186573815,186578577,186583257,186598150,186599576,186599949,186696380,186696855, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186560189,186567936,186570810,186572982,186573882,186578750,186583396,186598792,186599632,186599976,186696520,186697066, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,0,2,1,1,0,1,0,0,-1,-1,-1,-1, 31 NM_001145672 chr4 - 186506597 186732048 186508780 186611725 21 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186611715,186731901, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186611765,186732048, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,2,1,1,0,1,0,1,1,0,-1, 31 NM_001145671 chr4 - 186506597 186732258 186508780 186605968 23 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186560030,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186605907,186696380,186732091, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186560189,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186606000,186696520,186732258, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,0,2,1,1,0,1,0,1,1,0,-1,-1, 31 NM_001145670 chr4 - 186506597 186733410 186508780 186605968 21 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186567821,186570620,186573815,186578577,186583257,186599576,186599949,186605907,186611715,186696380,186732817, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186567936,186570810,186573882,186578750,186583396,186599701,186599976,186605996,186611765,186696520,186733410, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,2,1,0,1,0,1,1,0,-1,-1,-1, 682 NM_001930 chr19 - 12786530 12792701 12786651 12792580 9 12786530,12786830,12787921,12788104,12790270,12790436,12790614,12790974,12792373, 12786747,12786956,12788025,12788210,12790357,12790533,12790736,12791139,12792701, 0 DHPS cmpl cmpl 0,0,1,0,0,2,0,0,0, 946 NM_001128225 chr11 + 47430045 47438051 47431645 47436914 10 47430045,47431637,47433476,47433896,47434950,47435147,47435975,47436327,47436589,47436838, 47430213,47431946,47433590,47434018,47435058,47435237,47436026,47436460,47436710,47438051, 0 SLC39A13 cmpl cmpl -1,0,1,1,0,0,0,0,1,2, 1163 NM_001128223 chr3 - 75786028 75834255 75786028 75832513 5 75786028,75790426,75790760,75832456,75833934, 75788496,75790519,75790887,75832515,75834255, 0 ZNF717 cmpl cmpl 1,1,0,0,-1, 2454 NM_004501 chr1 - 245013601 245027827 245017751 245027609 14 245013601,245018274,245018725,245019205,245019758,245020029,245020899,245021312,245022030,245022576,245023636,245025762,245025920,245026975, 245017805,245018346,245018910,245019460,245019927,245020158,245021019,245021576,245022143,245022676,245023776,245025836,245026032,245027827, 0 HNRNPU cmpl cmpl 0,0,1,1,0,0,0,0,1,0,1,2,1,0, 1234 NR_038273 chr15 + 85114364 85123412 85123412 85123412 4 85114364,85115445,85116252,85121178, 85114459,85115575,85116482,85123412, 0 LINC00933 unk unk -1,-1,-1,-1, 170 NM_004834 chr2 + 102314164 102511152 102314542 102507711 30 102314164,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102481391,102482892,102483673,102484490,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102481498,102483041,102483771,102484499,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503723,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,2,1,0,0,2,0,1,1,1,1,0,0,1,0, 87 NM_003662 chrX - 15402923 15511711 15403125 15509380 10 15402923,15408306,15415570,15425627,15444028,15473970,15477779,15497851,15509284,15511278, 15403238,15408373,15415653,15425672,15444113,15474177,15477863,15497944,15509432,15511711, 0 PIR cmpl cmpl 1,0,1,1,0,0,0,0,0,-1, 682 NM_001310 chr12 + 12764766 12798042 12765106 12794932 4 12764766,12788710,12790503,12794927, 12765121,12788908,12790648,12798042, 0 CREBL2 cmpl cmpl 0,0,0,1, 1150 NM_018665 chr6 + 74104284 74127289 74104628 74125949 17 74104284,74107411,74109956,74111581,74114412,74115401,74116086,74117227,74117682,74118970,74121927,74123380,74123692,74124270,74125219,74125835,74126909, 74104878,74107467,74110086,74111713,74114494,74115558,74116205,74117338,74117824,74119071,74122015,74123508,74123802,74124409,74125307,74125974,74127289, 0 DDX43 cmpl cmpl 0,1,0,1,1,2,0,2,2,0,2,0,2,1,2,0,-1, 640 NM_001105581 chr18 + 7231136 7232042 7231136 7232042 1 7231136, 7232042, 0 LRRC30 cmpl cmpl 0, 591 NM_015985 chr20 - 853296 896960 853602 896857 9 853296,854926,858803,860389,861813,865720,868960,870855,896548, 853763,855057,858970,860491,861929,865968,869082,871011,896960, 0 ANGPT4 cmpl cmpl 1,2,0,0,1,2,0,0,0, 1234 NM_001166294 chr1 - 85109389 85156240 85113115 85136460 13 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85156053, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85156240, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,0,-1, 1234 NM_001166293 chr1 - 85109389 85156240 85113115 85136902 14 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85136859,85156053, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85136991,85156240, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,1,0,-1, 963 NM_139049 chr10 + 49609654 49647402 49609703 49643072 11 49609654,49612894,49617921,49618072,49628197,49632130,49633930,49634422,49635122,49639235,49642926, 49609825,49613024,49617980,49618211,49628363,49632202,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,1,0,1,1, 587 NR_027231 chrX + 281384 282054 282054 282054 1 281384, 282054, 0 LINC00685 unk unk -1, 586 NR_027231 chrY + 231384 232054 232054 232054 1 231384, 232054, 0 LINC00685 unk unk -1, 999 NR_029866 chr19 + 54291958 54292027 54292027 54292027 1 54291958, 54292027, 0 MIR373 unk unk -1, 1451 NR_029860 chr4 - 113569029 113569097 113569097 113569097 1 113569029, 113569097, 0 MIR367 unk unk -1, 82 NM_005112 chr4 - 10075962 10118573 10077001 10118290 12 10075962,10078927,10079376,10080514,10082980,10084645,10086064,10089330,10089916,10090287,10117736,10118274, 10077108,10079072,10079550,10080625,10083068,10084800,10086154,10089564,10089997,10090365,10117858,10118573, 0 WDR1 cmpl cmpl 1,0,0,0,2,0,0,0,0,0,1,0, 1680 NM_014719 chr7 - 143548460 143599172 143551225 143573701 9 143548460,143554192,143555916,143557300,143558187,143559508,143559894,143573081,143599053, 143551235,143554443,143556254,143557540,143558401,143559606,143560889,143573715,143599172, 0 FAM115A cmpl cmpl 2,0,1,1,0,1,2,0,-1, 596 NM_001173473 chrY - 1472031 1522655 1472161 1511129 13 1472031,1481624,1486865,1487874,1490550,1494417,1496626,1501161,1503914,1504586,1507989,1511078,1522510, 1472382,1481747,1487009,1488007,1490735,1494580,1497014,1501270,1503976,1504651,1508037,1511210,1522655, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,-1, 157 NM_006416 chr6 + 88182642 88222057 88182721 88221244 8 88182642,88187079,88210225,88210875,88216099,88218137,88218758,88221116, 88182737,88187257,88210385,88211028,88216166,88218314,88218893,88222057, 0 SLC35A1 cmpl cmpl 0,1,2,0,0,1,1,1, 1266 NM_001178117 chr10 + 89264222 89313218 89264672 89311942 3 89264222,89268092,89311838, 89265309,89268290,89313218, 0 MINPP1 cmpl cmpl 0,1,1, 1469 NM_001860 chr9 + 115913237 115926422 115913354 115925197 4 115913237,115920006,115923788,115925028, 115913360,115920073,115923978,115926422, 0 SLC31A2 cmpl cmpl 0,0,1,2, 1776 NM_001193302 chr1 + 156123368 156147542 156126362 156146788 13 156123368,156126204,156127860,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156123555,156126365,156127923,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,0,0,1,1,0,2,0,1,0,2,1, 898 NM_001077268 chr15 + 41099273 41106767 41099787 41106424 11 41099273,41101316,41101605,41102049,41102268,41102846,41104896,41105535,41105910,41106140,41106345, 41100066,41101438,41101656,41102168,41102414,41102955,41105100,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl 0,0,2,2,1,0,1,1,0,0,2, 1618 NM_033178 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4 cmpl cmpl 0,0, 608 NM_152341 chr16 + 3019245 3023490 3019675 3021949 3 3019245,3021157,3021515, 3019841,3021379,3023490, 0 PAQR4 cmpl cmpl 0,1,1, 876 NM_138632 chr22 + 38142240 38155963 38142244 38155534 8 38142240,38147778,38150883,38151107,38151556,38153619,38155160,38155423, 38142427,38147835,38150991,38151197,38151666,38154145,38155271,38155963, 0 TRIOBP cmpl cmpl 0,0,0,0,0,2,0,0, 1653 NM_021569 chr9 + 140033608 140063214 140033938 140061979 19 140033608,140036464,140040177,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140061862, 140034196,140036599,140040354,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0, 117 NM_001077484 chr12 - 46576840 46663208 46582752 46633583 17 46576840,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46662647, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1094 NM_001287823 chr15 + 66797420 66841822 66811238 66839017 18 66797420,66806325,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66806421,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl -1,-1,-1,0,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 714 NR_037446 chr1 + 17007749 17007823 17007823 17007823 1 17007749, 17007823, 0 MIR3675 unk unk -1, 1988 NM_080876 chr2 + 183943286 183964722 183943661 183960386 4 183943286,183948235,183951767,183960158, 183943887,183948282,183951920,183964722, 0 DUSP19 cmpl cmpl 0,1,0,0, 21 NR_047513 chr4 - 103806204 103940896 103940896 103940896 11 103806204,103826670,103827692,103831595,103832587,103853280,103867803,103870413,103910956,103912799,103940755, 103806485,103826807,103827801,103831745,103832694,103853456,103867946,103870584,103911098,103912869,103940896, 0 SLC9B1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 605 NM_144564 chr19 - 2732522 2740074 2732748 2737255 3 2732522,2737045,2739942, 2733483,2737377,2740074, 0 SLC39A3 cmpl cmpl 0,0,-1, 954 NM_018509 chr17 - 48458593 48474914 48460348 48474678 7 48458593,48462478,48465420,48469758,48470099,48472289,48474573, 48460596,48462652,48465493,48469863,48470258,48472349,48474914, 0 LRRC59 cmpl cmpl 1,1,0,0,0,0,0, 661 NM_018447 chr3 - 10005635 10028522 10005752 10028345 8 10005635,10011402,10012265,10015311,10016067,10018640,10019072,10028190, 10005881,10011485,10012345,10015393,10016172,10018734,10019130,10028522, 0 EMC3 cmpl cmpl 0,1,2,1,1,0,2,0, 1 NM_001166264 chr2 + 33359663 33624575 33359804 33623612 29 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482350,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1658 NM_013453 chrX - 140671805 140672836 140671859 140672800 2 140671805,140672728, 140672081,140672836, 0 SPANXA1 cmpl cmpl 0,0, 139 NM_001161498 chr14 + 69951470 69995215 69951682 69995136 13 69951470,69966831,69967293,69967587,69968450,69969543,69988999,69990945,69992660,69993413,69993904,69994499,69994966, 69951831,69966925,69967383,69967664,69968542,69969596,69989094,69991039,69992839,69993546,69994049,69994649,69995215, 0 PLEKHD1 cmpl cmpl 0,2,0,0,2,1,0,2,0,2,0,1,1, 123 NM_004693 chr12 - 52817853 52828110 52818300 52828088 9 52817853,52820600,52822039,52822401,52824324,52825326,52825789,52826821,52827590, 52818539,52820635,52822260,52822527,52824489,52825422,52825850,52827036,52828110, 0 KRT75 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1025 NM_001130406 chr13 + 57715051 57718073 57715438 57717125 3 57715051,57715419,57716511, 57715265,57715490,57718073, 0 PRR20D cmpl cmpl -1,0,1, 820 NM_001202523 chr6 + 30852756 30867933 30852996 30867073 17 30852756,30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30864397,30864790,30865155,30865849,30866664,30866932, 30853008,30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,0,1,2,0,1,2,0,1,1,0,1,0,2,2,0,0, 1075 NM_001160183 chr7 + 64254765 64294059 64254946 64291864 5 64254765,64275295,64275953,64291317,64291828, 64254949,64275422,64276031,64291454,64294059, 0 ZNF138 cmpl cmpl 0,0,1,1,0, 10 NM_005493 chr6 - 13621729 13711796 13622593 13711737 14 13621729,13625884,13632601,13634662,13638039,13639794,13641430,13642710,13644776,13652890,13657340,13659011,13697016,13711166, 13622724,13625996,13632753,13634784,13638187,13639985,13641539,13642823,13644961,13652913,13657508,13659064,13697128,13711796, 0 RANBP9 cmpl cmpl 1,0,1,2,1,2,1,2,0,1,1,2,1,0, 144 NM_015727 chr2 - 75278162 75426645 75278373 75426060 4 75278162,75280731,75347699,75425671, 75278574,75280882,75347894,75426645, 0 TACR1 cmpl cmpl 0,2,2,0, 724 NM_024730 chr12 - 18233802 18243127 18234124 18242217 6 18233802,18237450,18238553,18241833,18242162,18243022, 18234407,18237599,18238627,18241890,18242319,18243127, 0 RERGL cmpl cmpl 2,0,1,1,0,-1, 1379 NM_001127610 chr9 - 104122698 104145801 104124709 104133686 4 104122698,104130401,104133220,104145751, 104125297,104130604,104133745,104145801, 0 BAAT cmpl cmpl 0,1,0,-1, 1768 NM_001122839 chr1 + 155108287 155111334 155108387 155110757 5 155108287,155108774,155109303,155110454,155110655, 155108467,155108852,155109427,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,2,2,0,0, 1061 NR_037946 chr11 - 62457733 62494856 62494856 62494856 24 62457733,62458083,62458258,62458546,62458751,62459847,62460134,62462039,62469939,62472772,62474580,62482971,62483335,62484460,62487494,62488766,62489291,62489588,62490072,62490284,62491058,62491385,62491762,62494090, 62457993,62458164,62458339,62458613,62458893,62459945,62460269,62462183,62470021,62473089,62474796,62483079,62483409,62484661,62487663,62488895,62489414,62489852,62490185,62490375,62491198,62491462,62491898,62494856, 0 HNRNPUL2-BSCL2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 613 NR_034031 chrX - 3735575 3761935 3761935 3761935 5 3735575,3736482,3736697,3746546,3761381, 3735819,3736541,3736744,3747433,3761935, 0 LOC389906 unk unk -1,-1,-1,-1,-1, 761 NR_033928 chr8 + 23082733 23088439 23088439 23088439 3 23082733,23085578,23087460, 23083636,23085666,23088439, 0 LOC389641 unk unk -1,-1,-1, 88 NR_047665 chr19 - 16466054 16582823 16582823 16582823 23 16466054,16472589,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16466662,16472795,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 295 NR_103494 chr2 + 233562014 233601358 233601358 233601358 6 233562014,233565294,233568133,233599126,233599864,233600472, 233562102,233565364,233568199,233599196,233599948,233601358, 0 GIGYF2 unk unk -1,-1,-1,-1,-1,-1, 88 NR_047666 chr19 - 16472388 16582823 16582823 16582823 23 16472388,16487932,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551695,16552702,16552988,16582723, 16472795,16488065,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 87 NM_006765 chr8 + 15397595 15624158 15397939 15615318 11 15397595,15480588,15508205,15517015,15519664,15531255,15588174,15601046,15605883,15615299,15621711, 15398077,15480758,15508323,15517156,15519805,15531345,15588238,15601121,15605974,15615364,15624158, 0 TUSC3 cmpl cmpl 0,0,2,0,0,0,0,1,1,2,-1, 167 NM_007001 chr9 - 99082987 99145992 99083523 99145916 12 99082987,99084279,99086372,99098998,99106185,99107580,99113384,99114319,99122435,99126745,99130553,99145758, 99083623,99084362,99086451,99099066,99106278,99107683,99113453,99114391,99122503,99126832,99130587,99145992, 0 SLC35D2 cmpl cmpl 2,0,2,0,0,2,2,2,0,0,2,0, 1319 NM_182496 chr12 - 96260825 96336428 96260853 96330287 16 96260825,96263257,96266032,96271988,96273421,96275262,96282235,96284609,96288766,96292162,96292345,96300164,96310906,96312653,96330250,96336208, 96260967,96263351,96266238,96272124,96273573,96275332,96282284,96284708,96288924,96292243,96292509,96300229,96311072,96312754,96330301,96336428, 0 CCDC38 cmpl cmpl 0,2,0,2,0,2,1,1,2,2,0,1,0,1,0,-1, 176 NM_014648 chr3 + 108308336 108413693 108324253 108409744 33 108308336,108324181,108326935,108330020,108335387,108343290,108344691,108347908,108351799,108353717,108355462,108356342,108361284,108363010,108365463,108366789,108367764,108369983,108372991,108380723,108380976,108388527,108391406,108392924,108394632,108396343,108403062,108405291,108406822,108407439,108407669,108409633,108412206, 108308686,108324285,108327005,108330176,108335504,108343371,108344816,108348023,108351919,108353819,108355555,108356395,108361361,108363628,108365496,108366959,108367809,108370009,108373157,108380819,108381104,108388596,108391503,108393028,108394720,108396445,108403188,108405431,108406943,108407583,108407771,108409750,108413693, 0 DZIP3 cmpl cmpl -1,0,2,0,0,0,0,2,0,0,0,0,2,1,1,1,0,0,2,0,0,2,2,0,2,0,0,0,2,0,0,0,-1, 1486 NM_144765 chr11 - 118127627 118135251 118127964 118134868 5 118127627,118130768,118133152,118133645,118134810, 118128028,118130916,118133363,118133812,118135251, 0 MPZL2 cmpl cmpl 2,1,0,1,0, 1653 NM_207113 chr7 - 140033551 140098350 140035211 140082326 15 140033551,140037083,140043211,140045015,140045668,140048425,140051072,140051861,140055467,140058439,140064207,140069389,140080081,140082237,140098215, 140035304,140037149,140043363,140045063,140045770,140048567,140051251,140051946,140055564,140058585,140064291,140069482,140080190,140082396,140098350, 0 SLC37A3 cmpl cmpl 0,0,1,1,1,0,1,0,2,0,0,0,2,0,-1, 73 NM_207332 chr8 - 614199 681226 614602 681161 6 614199,618597,623288,642477,665860,681139, 614676,618792,624047,642612,666007,681226, 0 ERICH1 cmpl cmpl 1,1,1,1,1,0, 1428 NM_032260 chr2 + 110550334 110590596 110552042 110590540 20 110550334,110551741,110559359,110561008,110561555,110565750,110566326,110571036,110577272,110579481,110581798,110582063,110582406,110583452,110583877,110584277,110585368,110585641,110588893,110590427, 110550566,110552114,110559427,110561120,110561708,110565981,110566472,110571232,110577360,110579691,110581980,110582239,110582530,110583611,110584015,110584424,110585548,110585725,110589029,110590596, 0 RGPD5 cmpl cmpl -1,0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1, 624 NM_001253909 chr10 + 5136567 5140368 5136636 5139790 3 5136567,5138601,5139625, 5136720,5138769,5140368, 0 AKR1C3 cmpl cmpl 0,0,0, 589 NM_176677 chr16 + 617031 619495 618047 618419 2 617031,617495, 617075,619495, 0 NHLRC4 cmpl cmpl -1,0, 848 NM_198573 chr9 - 34521039 34523037 34521462 34521693 2 34521039,34522774, 34521854,34523037, 0 ENHO cmpl cmpl 0,-1, 1502 NM_006623 chr1 + 120254418 120286849 120254645 120286663 12 120254418,120263792,120265998,120269473,120269626,120277256,120277917,120279736,120283008,120284389,120285429,120286508, 120254783,120263944,120266064,120269528,120269725,120277389,120278066,120279889,120283141,120284520,120285667,120286849, 0 PHGDH cmpl cmpl 0,0,2,2,0,0,1,0,0,1,0,1, 898 NM_001142654 chr17 - 41120104 41132545 41121164 41132199 6 41120104,41122305,41123623,41131186,41131394,41132062, 41121203,41122359,41123713,41131285,41131461,41132545, 0 PTGES3L cmpl cmpl 0,0,0,0,2,0, 898 NM_001142653 chr17 - 41120104 41132545 41121164 41132199 6 41120104,41122305,41123623,41131394,41131566,41132062, 41121203,41122359,41123713,41131461,41131680,41132545, 0 PTGES3L cmpl cmpl 0,0,0,2,2,0, 1653 NM_053045 chr9 - 140098534 140100090 140099455 140099866 1 140098534, 140100090, 0 TMEM203 cmpl cmpl 0, 200 NM_018223 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133438918,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133439011,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 1564 NR_046392 chr12 + 128399954 128436097 128436097 128436097 5 128399954,128418834,128429262,128433368,128434518, 128400227,128418894,128429344,128433503,128436097, 0 LINC00507 unk unk -1,-1,-1,-1,-1, 961 NM_033124 chr12 + 49297892 49315359 49298119 49315226 8 49297892,49298728,49308186,49310752,49312057,49312467,49314712,49314950, 49298251,49298896,49308356,49310891,49312255,49312686,49314865,49315359, 0 CCDC65 cmpl cmpl 0,0,0,2,0,0,0,0, 838 NM_006979 chr6 + 33168602 33172214 33169022 33171590 7 33168602,33169521,33169848,33170039,33170336,33170686,33171317, 33169433,33169690,33169902,33170204,33170477,33170883,33172214, 0 SLC39A7 cmpl cmpl 0,0,1,1,1,1,0, 1547 NM_148910 chr11 + 126152981 126163071 126160789 126163012 5 126152981,126159559,126160356,126160697,126162371, 126153048,126159728,126160480,126160856,126163071, 0 TIRAP cmpl cmpl -1,-1,-1,0,1, 624 NM_003739 chr10 + 5136567 5149878 5136636 5149695 9 5136567,5138601,5139625,5140993,5141518,5144292,5144676,5147786,5149652, 5136720,5138769,5139742,5141071,5141641,5144402,5144842,5147869,5149878, 0 AKR1C3 cmpl cmpl 0,0,0,0,0,0,2,0,2, 990 NM_015848 chr12 - 53161938 53171129 53162496 53171075 9 53161938,53163332,53164782,53165654,53165877,53166566,53167365,53169171,53170475, 53162894,53163367,53165003,53165780,53166042,53166662,53167426,53169386,53171129, 0 KRT76 cmpl cmpl 1,2,0,0,0,0,2,0,0, 128 NM_001130100 chr16 - 57792128 57836439 57793060 57832155 20 57792128,57793036,57793639,57794193,57794637,57794953,57795324,57796051,57798054,57799370,57800785,57803506,57803719,57804438,57805109,57805454,57806134,57828910,57831983,57836281, 57792821,57793065,57793748,57794328,57794867,57795083,57795448,57796182,57798159,57799552,57800897,57803637,57803867,57804612,57805349,57805598,57806200,57829053,57832194,57836439, 0 KIFC3 cmpl cmpl -1,1,0,0,1,0,2,0,0,1,0,1,0,0,0,0,0,1,0,-1, 657 NR_109957 chr20 - 9485826 9495645 9495645 9495645 5 9485826,9486856,9487571,9489526,9495410, 9486770,9486984,9487906,9489812,9495645, 0 RP5-1119D9.4 unk unk -1,-1,-1,-1,-1, 746 NM_145109 chr17 + 21187967 21218551 21188232 21217542 12 21187967,21201724,21202189,21203856,21204185,21205454,21206494,21207737,21208362,21215453,21216803,21217458, 21188281,21201791,21202238,21203970,21204305,21205571,21206546,21207865,21208440,21215593,21216849,21218551, 0 MAP2K3 cmpl cmpl 0,1,2,0,0,0,0,1,0,0,2,0, 1074 NM_003942 chr11 + 64126624 64139687 64126707 64138952 17 64126624,64126849,64127634,64127948,64128605,64128940,64129113,64129323,64132772,64135603,64135939,64136175,64136917,64137170,64137696,64138034,64138754, 64126762,64126921,64127853,64128064,64128713,64129021,64129217,64129474,64132937,64135732,64136073,64136269,64137091,64137365,64137856,64138198,64139687, 0 RPS6KA4 cmpl cmpl 0,1,1,1,0,0,0,2,0,0,0,2,0,0,0,1,0, 175 NM_001270419 chr7 + 107204401 107218968 107207515 107218005 8 107204401,107205032,107207494,107211589,107214148,107215632,107216810,107217757, 107204504,107205121,107207631,107211711,107214266,107215755,107217037,107218968, 0 DUS4L cmpl cmpl -1,-1,0,2,1,2,2,1, 950 NR_003695 chr20 + 47896849 47896952 47896952 47896952 1 47896849, 47896952, 0 SNORD12B unk unk -1, 883 NM_007181 chr19 - 39078279 39108675 39078449 39108535 32 39078279,39079817,39083921,39086124,39086279,39086578,39086951,39087673,39087965,39088125,39090564,39090716,39092080,39096048,39096207,39096812,39098503,39098629,39098751,39100235,39100548,39101690,39101882,39103250,39104519,39104682,39104884,39105029,39106834,39107993,39108207,39108436, 39078457,39079915,39083977,39086195,39086369,39086641,39087126,39087777,39088024,39088234,39090625,39090793,39092165,39096131,39096370,39096855,39098551,39098673,39098810,39100314,39100665,39101772,39101945,39103382,39104592,39104725,39104932,39105085,39106899,39108084,39108265,39108675, 0 MAP4K1 cmpl cmpl 1,2,0,1,1,1,0,1,2,1,0,1,0,1,0,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 1021 NM_138969 chr8 - 57212569 57233241 57214038 57228906 7 57212569,57218155,57219234,57221486,57224715,57228573,57232617, 57214132,57218281,57219379,57221586,57224847,57228920,57233241, 0 SDR16C5 cmpl cmpl 2,2,1,0,0,0,-1, 906 NR_040009 chr8 + 42128819 42190171 42190171 42190171 22 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175227,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 200 NM_016018 chr8 + 133787603 133861052 133790074 133858168 21 133787603,133790037,133806655,133806978,133811017,133811340,133816063,133816859,133823290,133826881,133829132,133829583,133836248,133837508,133844479,133848784,133849956,133851631,133854759,133856400,133858025, 133787891,133790157,133806827,133807063,133811106,133811418,133816277,133816985,133823373,133827134,133829321,133829790,133836305,133837616,133844644,133848966,133850056,133851827,133855120,133856563,133861052, 0 PHF20L1 cmpl cmpl -1,0,2,0,1,0,0,1,1,0,1,1,1,1,1,1,0,1,2,0,1, 749 NM_018071 chr14 + 21538418 21558406 21538555 21557030 24 21538418,21541203,21542090,21543490,21543803,21544518,21544721,21544932,21546335,21546531,21547042,21548818,21549031,21549667,21550402,21550989,21551993,21552911,21553847,21555159,21555478,21556126,21556988,21557172, 21538558,21541401,21543339,21543658,21543924,21544615,21544802,21545049,21546431,21546647,21547169,21548941,21549175,21550278,21550637,21551076,21552209,21553082,21554025,21555264,21555622,21556257,21557035,21558406, 0 ARHGEF40 cmpl cmpl 0,0,0,1,1,2,0,0,0,0,2,0,0,0,2,0,0,0,0,1,1,1,0,-1, 916 NM_033450 chr6 + 43399488 43418163 43399847 43417829 20 43399488,43402358,43403488,43403830,43405671,43406361,43409599,43410707,43411670,43411896,43412525,43412862,43413336,43414014,43414985,43415421,43416618,43416844,43417159,43417666, 43401098,43402586,43403645,43403985,43405751,43406533,43409698,43410897,43411748,43412091,43412676,43413052,43413680,43414184,43415146,43415675,43416764,43416942,43417272,43418163, 0 ABCC10 cmpl cmpl 0,0,0,1,0,2,0,0,1,1,1,2,0,2,1,0,2,1,0,2, 842 NM_001145025 chr20 - 33703159 33735161 33703235 33735061 10 33703159,33706400,33711692,33714053,33719444,33722540,33725682,33730175,33732781,33734954, 33703736,33706522,33711837,33714178,33719586,33722752,33725808,33730281,33732821,33735161, 0 EDEM2 cmpl cmpl 0,1,0,1,0,1,1,0,2,0, 168 NM_016337 chr14 + 100531750 100610573 100531837 100610075 14 100531750,100551023,100563817,100589875,100593043,100594855,100595899,100599055,100602241,100603914,100604076,100607516,100608072,100610037, 100531848,100551192,100563995,100589939,100593108,100595085,100596021,100599116,100602305,100603981,100604139,100607583,100608130,100610573, 0 EVL cmpl cmpl 0,2,0,1,2,1,0,2,0,1,2,2,0,1, 125 NM_001287741 chr6 - 55299170 55444012 55300459 55443853 8 55299170,55304231,55360216,55364033,55378845,55406526,55406857,55443745, 55300561,55304357,55360405,55364097,55378994,55406634,55406938,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,0,0, 262 NR_040073 chr1 - 198777131 198906558 198906558 198906558 3 198777131,198869539,198906354, 198777372,198869698,198906558, 0 MIR181A1HG unk unk -1,-1,-1, 699 NR_036145 chr16 + 14995364 14995448 14995448 14995448 1 14995364, 14995448, 0 MIR3179-3 unk unk -1, 710 NR_036145 chr16 + 16394015 16394099 16394099 16394099 1 16394015, 16394099, 0 MIR3179-3 unk unk -1, 726 NR_036145 chr16 - 18505750 18505834 18505834 18505834 1 18505750, 18505834, 0 MIR3179-3 unk unk -1, 699 NR_036143 chr16 + 14995364 14995448 14995448 14995448 1 14995364, 14995448, 0 MIR3179-2 unk unk -1, 861 NR_024178 chr17 - 36202572 36244363 36244363 36244363 7 36202572,36204745,36214021,36214741,36233821,36243580,36244310, 36204338,36205003,36214127,36214848,36233931,36243635,36244363, 0 YWHAEP7 unk unk -1,-1,-1,-1,-1,-1,-1, 120 NM_001127899 chrX + 49687224 49863892 49689908 49856876 15 49687224,49688015,49689780,49806924,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49687402,49688350,49689924,49807071,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl -1,-1,0,1,1,0,1,0,0,0,0,0,1,1,2, 838 NM_001077516 chr6 + 33168602 33172214 33169022 33171590 8 33168602,33169018,33169521,33169848,33170039,33170336,33170686,33171317, 33168715,33169433,33169690,33169902,33170204,33170477,33170883,33172214, 0 SLC39A7 cmpl cmpl -1,0,0,1,1,1,1,0, 655 NM_001256854 chr4 + 9250355 9251948 9250355 9251948 1 9250355, 9251948, 0 USP17L11 cmpl cmpl 0, 655 NM_001256854 chr4 + 9259849 9261442 9259849 9261442 1 9259849, 9261442, 0 USP17L11 cmpl cmpl 0, 655 NM_001256860 chr4 + 9255103 9256696 9255103 9256696 1 9255103, 9256696, 0 USP17L19 cmpl cmpl 0, 655 NM_001256859 chr4 + 9217130 9218723 9217130 9218723 1 9217130, 9218723, 0 USP17L18 cmpl cmpl 0, 923 NM_015380 chr22 + 44351260 44392412 44351457 44392263 15 44351260,44359165,44360331,44364610,44368115,44368750,44369115,44371934,44372629,44373751,44377270,44379812,44384990,44386144,44392217, 44351478,44359276,44360433,44364698,44368222,44368881,44369203,44372063,44372701,44373838,44377341,44379880,44385137,44386286,44392412, 0 SAMM50 cmpl cmpl 0,0,0,0,1,0,2,0,0,0,0,2,1,1,2, 986 NM_003657 chr20 - 52560078 52687304 52561460 52675257 12 52560078,52569970,52573970,52583444,52591927,52601825,52611550,52612430,52644930,52674623,52675185,52686971, 52561535,52570234,52574036,52583612,52591969,52602038,52611595,52612589,52645511,52674693,52675262,52687304, 0 BCAS1 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,0,-1, 1653 NM_012208 chr5 + 140071010 140078903 140071233 140078137 13 140071010,140073175,140073519,140073769,140075092,140075322,140075687,140076105,140076527,140076748,140077153,140077516,140078077, 140071341,140073250,140073639,140073865,140075218,140075430,140075786,140076199,140076655,140076991,140077270,140077663,140078903, 0 HARS2 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,0,0,0, 1759 NM_014437 chr1 - 153931574 153940208 153932573 153935191 5 153931574,153934695,153935004,153936072,153939861, 153933230,153934826,153935223,153936179,153940208, 0 SLC39A1 cmpl cmpl 0,1,0,-1,-1, 896 NM_016602 chr17 - 40831419 40833845 40831570 40833841 2 40831419,40833817, 40832635,40833845, 0 CCR10 cmpl cmpl 0,0, 215 NM_004522 chr2 + 149632791 149883273 149633186 149868190 26 149632791,149679705,149686849,149793797,149798123,149798448,149799186,149803412,149806352,149806827,149818484,149829849,149835435,149837868,149840133,149847523,149850934,149853777,149854913,149856936,149857235,149861906,149864476,149866648,149868083,149879591, 149633312,149679796,149686923,149793902,149798172,149798504,149799274,149803537,149806457,149806976,149818633,149830025,149835504,149838075,149840280,149847712,149851052,149853854,149855023,149857038,149857296,149861978,149864581,149866865,149868197,149883273, 0 KIF5C cmpl cmpl 0,0,1,0,0,1,0,1,0,0,2,1,0,0,0,0,0,1,0,2,2,0,0,0,1,-1, 125 NM_015360 chr5 + 54603575 54721409 54603841 54720600 27 54603575,54618154,54619959,54623543,54624526,54635837,54637508,54639158,54640349,54640921,54642840,54645400,54646746,54648995,54654400,54662552,54674141,54674954,54683801,54693243,54696060,54701252,54706351,54710009,54711797,54718705,54720547, 54603975,54618292,54620026,54623606,54624639,54636012,54637599,54639283,54640448,54641024,54642972,54645480,54646857,54649097,54654526,54662703,54674314,54675023,54683930,54693354,54696249,54701416,54706457,54710066,54711960,54718810,54721409, 0 SKIV2L2 cmpl cmpl 0,2,2,0,0,2,0,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,2,0,0,1,1, 1156 NR_030737 chrX - 74960372 74962914 74962914 74962914 1 74960372, 74962914, 0 TTC3P1 unk unk -1, 1102 NM_001288992 chr16 + 67840780 67861971 67859873 67861896 12 67840780,67848204,67858485,67859039,67859569,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67858682,67859175,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,-1,-1,0,1,0,0,0,2,0,2, 1102 NM_001288991 chr16 + 67840780 67861971 67841052 67861896 14 67840780,67848204,67855001,67858485,67859039,67859569,67859819,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67855128,67858682,67859175,67859739,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl 0,2,0,1,0,1,0,1,0,0,0,2,0,2, 585 NM_001242480 chr7_gl000195_random - 42937 86719 44723 49117 4 42937,48954,74120,86517, 44923,49119,74180,86719, 0 LOC389831 cmpl cmpl 1,0,-1,-1, 649 NM_001142541 chr6 - 8413299 8435800 8413781 8434620 11 8413299,8415140,8417116,8417634,8419812,8420953,8422702,8428169,8430096,8434617,8435671, 8413932,8415210,8417228,8417727,8419910,8421061,8422857,8428291,8430390,8434663,8435800, 0 SLC35B3 cmpl cmpl 2,1,0,0,1,1,2,0,0,0,-1, 845 NM_001144030 chr11 + 34127110 34168458 34133614 34167739 27 34127110,34133598,34135262,34137369,34139726,34139942,34144005,34145308,34145848,34149009,34152359,34152927,34153671,34154572,34155865,34156058,34156721,34158188,34158524,34160737,34160931,34161946,34162635,34163265,34163821,34164991,34167630, 34127339,34133770,34135385,34137431,34139841,34140050,34144139,34145402,34145947,34149146,34152484,34153078,34153768,34154689,34155967,34156133,34156838,34158322,34158573,34160834,34161042,34162119,34162755,34163364,34163895,34165075,34168458, 0 NAT10 cmpl cmpl -1,0,0,0,2,0,0,2,0,0,2,1,2,0,0,0,0,0,2,0,1,1,0,0,0,2,2, 74 NM_001171039 chrY + 1684025 1711974 1684092 1711907 7 1684025,1692031,1693161,1696595,1698713,1705330,1711695, 1684161,1692206,1693291,1696664,1698832,1705453,1711974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1, 598 NM_001171038 chrX + 1733940 1761974 1734092 1761907 9 1733940,1742031,1743161,1746595,1748713,1751596,1752042,1755330,1761695, 1734161,1742206,1743291,1746664,1748832,1751680,1752183,1755453,1761974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1,1,1, 74 NM_001171038 chrY + 1683940 1711974 1684092 1711907 9 1683940,1692031,1693161,1696595,1698713,1701596,1702042,1705330,1711695, 1684161,1692206,1693291,1696664,1698832,1701680,1702183,1705453,1711974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1,1,1, 998 NR_030200 chr19 + 54214255 54214342 54214342 54214342 1 54214255, 54214342, 0 MIR524 unk unk -1, 937 NM_006936 chr21 - 46225531 46238044 46226865 46237883 4 46225531,46228961,46233890,46237862, 46226955,46229033,46234019,46238044, 0 SUMO3 cmpl cmpl 0,0,0,0, 876 NM_007032 chr22 + 38142240 38172563 38142244 38168769 14 38142240,38147778,38150883,38151107,38151556,38153619,38155160,38161676,38164080,38165034,38165268,38167656,38168607,38169789, 38142427,38147835,38150991,38151197,38151666,38154145,38155271,38161824,38164183,38165194,38165382,38167743,38168771,38172563, 0 TRIOBP cmpl cmpl 0,0,0,0,0,2,0,0,1,2,0,0,0,-1, 1189 NM_004390 chr15 - 79214091 79237420 79214471 79237323 12 79214091,79215334,79217675,79220054,79221753,79223792,79224713,79227319,79228021,79229659,79231481,79237232, 79214547,79215460,79217782,79220123,79221835,79223848,79224800,79227424,79228092,79229765,79231513,79237420, 0 CTSH cmpl cmpl 2,2,0,0,2,0,0,0,1,0,1,0, 1130 NR_038420 chr1 + 71512188 71532865 71532865 71532865 3 71512188,71514496,71532448, 71513272,71514671,71532865, 0 ZRANB2-AS1 unk unk -1,-1,-1, 1501 NM_001080138 chrX - 120077415 120080733 120078724 120080478 3 120077415,120078693,120079736, 120077555,120078849,120080733, 0 CT47A9 cmpl cmpl -1,1,0, 1501 NM_001080138 chrX - 120082276 120085594 120083585 120085339 3 120082276,120083554,120084597, 120082416,120083710,120085594, 0 CT47A9 cmpl cmpl -1,1,0, 1521 NM_018190 chr4 - 122748881 122791652 122749295 122791468 18 122748881,122749556,122749773,122754385,122756298,122760785,122765081,122766658,122768558,122769998,122774110,122775858,122776643,122780146,122782658,122784371,122789135,122791432, 122749424,122749660,122749883,122754550,122756438,122760851,122765156,122766851,122768661,122770083,122774241,122775975,122776716,122780333,122782834,122784434,122789201,122791652, 0 BBS7 cmpl cmpl 0,1,2,2,0,0,0,2,1,0,1,1,0,2,0,0,0,0, 200 NM_001161347 chr12 - 133416937 133464204 133418139 133463914 16 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,2,1,0,-1, 200 NM_001161346 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133446204,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133446384,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 1107 NM_015463 chr2 - 68520141 68547183 68520993 68546532 3 68520141,68544288,68546353, 68521158,68544439,68547183, 0 CNRIP1 cmpl cmpl 0,2,0, 111 NM_015460 chr3 + 39851150 40301811 39942307 40299657 17 39851150,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,0,2,2,1,1,0,0,0,1,0,0,0,0,0,1,0, 813 NM_001011878 chr20 - 29992647 29994069 29992715 29993955 2 29992647,29993897, 29992888,29994069, 0 DEFB121 cmpl cmpl 1,0, 588 NM_001286440 chr16 + 447741 450754 449108 450342 5 447741,448989,449378,449626,450218, 448179,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,0,0,0,2, 588 NM_001286438 chr16 + 447191 450754 449108 450342 6 447191,448207,448989,449378,449626,450218, 447313,448385,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,-1,0,0,0,2, 157 NM_001197259 chr6 + 88299784 88377172 88317392 88376841 19 88299784,88304070,88313101,88315634,88317390,88318813,88321806,88326031,88331071,88331667,88344562,88346124,88362833,88366623,88367638,88372720,88374460,88375471,88376735, 88299910,88304125,88313246,88315739,88317542,88318947,88321966,88326145,88331205,88331731,88344679,88346204,88362967,88366700,88367736,88372862,88374577,88375551,88377172, 0 ORC3 cmpl cmpl -1,-1,-1,-1,0,0,2,0,0,2,0,0,2,1,0,2,0,0,2, 659 NM_006826 chr2 - 9724095 9771184 9725414 9770581 6 9724095,9727542,9728293,9731520,9770287,9771069, 9725474,9727638,9728457,9731644,9770663,9771184, 0 YWHAQ cmpl cmpl 0,0,1,0,0,-1, 114 NM_173050 chr22 - 43599228 43739394 43600002 43739267 22 43599228,43603539,43604077,43606048,43606927,43608430,43610095,43614260,43616455,43617178,43618643,43619102,43623379,43625077,43627758,43634843,43654224,43658725,43687051,43715942,43735109,43739179, 43600155,43603619,43604230,43606246,43607089,43608598,43610257,43614464,43616593,43617295,43618748,43619222,43623502,43625194,43627881,43634960,43654341,43658851,43687186,43716071,43735241,43739394, 0 SCUBE1 cmpl cmpl 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 928 NM_173073 chr20 - 44978166 44993097 44979032 44987145 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983817,44984513,44985276,44986412,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1, 842 NM_001099406 chr18 - 33690962 33709357 33691009 33704627 8 33690962,33692463,33694059,33696636,33702014,33703457,33704482,33709076, 33691212,33692544,33694437,33696742,33702233,33703627,33704663,33709357, 0 SLC39A6 cmpl cmpl 1,1,1,0,0,1,0,-1, 960 NM_001472 chrX + 49197595 49214430 49198718 49214326 5 49197595,49198710,49199264,49211737,49214303, 49197670,49198799,49199385,49211863,49214430, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 245 NM_001195035 chr1 + 181002560 181031074 181003143 181024401 5 181002560,181003022,181018187,181019146,181024360, 181002600,181003210,181018448,181019422,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1, 644 NM_001644 chr12 - 7801995 7818502 7802142 7818468 5 7801995,7803618,7805033,7807200,7818452, 7802292,7803737,7805431,7807228,7818502, 0 APOBEC1 cmpl cmpl 0,1,2,1,0, 2042 NM_001127389 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L5 cmpl cmpl 0, 2137 NM_014359 chr1 + 203463270 203478077 203465133 203472848 8 203463270,203465092,203466104,203467808,203468776,203472041,203472677,203477773, 203463345,203465364,203466243,203467967,203468979,203472137,203472873,203478077, 0 OPTC cmpl cmpl -1,0,0,1,1,0,0,-1, 1003 NM_014599 chrX + 54834770 54842448 54835764 54842115 13 54834770,54835735,54836154,54837253,54837682,54838006,54838589,54839377,54839550,54839920,54841093,54841680,54842313, 54834866,54835809,54836646,54837562,54837746,54838086,54838684,54839457,54839593,54839983,54841208,54842123,54842448, 0 MAGED2 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 1077 NM_004579 chr11 - 64556608 64570713 64557008 64570621 32 64556608,64557201,64557360,64557659,64557865,64559380,64559643,64559835,64563744,64563964,64564105,64564280,64564453,64564575,64564746,64564972,64565097,64566265,64566892,64567076,64567580,64567782,64568235,64568371,64568582,64569050,64569181,64569537,64569890,64570034,64570356,64570525, 64557096,64557257,64557431,64557746,64557934,64559558,64559747,64559894,64563862,64564025,64564185,64564365,64564495,64564664,64564852,64565006,64565136,64566309,64566951,64567155,64567688,64567864,64568298,64568503,64568655,64569093,64569229,64569593,64569955,64570125,64570414,64570713, 0 MAP4K2 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 1653 NM_001185090 chr9 + 140033608 140063214 140033938 140062294 21 140033608,140036464,140040177,140042603,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140059637,140062225, 140034196,140036599,140040354,140042666,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140059748,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0,0, 1414 NM_001142345 chr12 - 108681820 108714439 108685617 108687368 3 108681820,108687365,108714321, 108686736,108687441,108714439, 0 CMKLR1 cmpl cmpl 0,0,-1, 885 NM_145699 chr22 + 39353526 39359188 39353696 39358514 5 39353526,39355546,39357391,39358102,39358499, 39353725,39355691,39357686,39358218,39359188, 0 APOBEC3A cmpl cmpl 0,2,0,1,0, 118 NM_002843 chr11 + 48002109 48192394 48002464 48188914 25 48002109,48131609,48134298,48142554,48145164,48146519,48149331,48152010,48157590,48158554,48161037,48164470,48166226,48166551,48168427,48170998,48171541,48171647,48175347,48177352,48177536,48181481,48185009,48185931,48188755, 48002560,48131628,48134535,48142818,48145422,48146738,48149595,48152268,48157848,48158833,48161328,48164602,48166437,48166676,48168515,48171040,48171550,48171735,48175438,48177426,48177671,48181601,48185170,48186067,48192394, 0 PTPRJ cmpl cmpl 0,0,1,1,1,1,1,1,1,1,1,1,1,2,1,2,2,2,0,1,0,0,0,2,0, 1441 NM_017945 chr3 + 112280856 112303284 112282250 112301583 7 112280856,112282231,112288017,112289386,112292735,112299392,112301517, 112281120,112282380,112288116,112289517,112292803,112300173,112303284, 0 SLC35A5 cmpl cmpl -1,0,1,1,0,2,0, 80 NM_001561 chr1 - 7975930 8003225 7980894 8000054 9 7975930,7993221,7995072,7997749,7998252,7998780,7999954,8000843,8003198, 7980983,7993356,7995203,7997816,7998390,7998888,8000138,8000993,8003225, 0 TNFRSF9 cmpl cmpl 1,1,2,1,1,1,0,-1,-1, 118 NM_002375 chr3 - 47892179 48130769 47894521 48040350 19 47892179,47894652,47896737,47898920,47908735,47910703,47912302,47912716,47913406,47917174,47918906,47956306,47957440,47960208,47963254,47969717,48019354,48040127,48130262, 47894529,47894842,47896850,47899002,47908828,47910817,47912595,47912776,47913590,47917390,47919013,47956429,47958664,47960331,47963368,47969840,48019423,48040369,48130769, 0 MAP4 cmpl cmpl 1,0,1,0,0,0,1,1,0,0,1,1,1,1,1,1,1,0,-1, 22 NM_032518 chr4 - 109745038 110223799 109745245 110223175 34 109745038,109746351,109748290,109753535,109762850,109765674,109766344,109767294,109769914,109773391,109774057,109780811,109782082,109783656,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109858963,109861694,109862521,109895522,109895688,109931513,109971282,110221738,110222878,110223324, 109745383,109746378,109748344,109753589,109762877,109765725,109766407,109767375,109769959,109773436,109774081,109780889,109782127,109783701,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109858999,109861802,109862593,109895549,109895715,109931531,109971335,110221808,110223231,110223799, 0 COL25A1 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,-1, 1582 NR_026740 chr2 - 130680434 130691890 130691890 130691890 3 130680434,130681130,130691751, 130680572,130681254,130691890, 0 LOC389033 unk unk -1,-1,-1, 198 NM_001122671 chr9 - 131595391 131644354 131595862 131607684 13 131595391,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131644181, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131600646,131605080,131607690,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,0,2,0,-1, 732 NM_001145784 chr19 - 19287712 19303400 19291536 19302926 6 19287712,19291494,19293381,19296842,19297701,19302889, 19288269,19291570,19293492,19296907,19297814,19303400, 0 MEF2BNB cmpl cmpl -1,2,2,0,1,0, 1142 NM_032317 chr7 - 73095247 73097781 73097072 73097753 1 73095247, 73097781, 0 DNAJC30 cmpl cmpl 0, 1367 NM_033211 chr5 + 102594441 102614361 102611620 102612241 3 102594441,102601608,102611597, 102594597,102601698,102614361, 0 C5orf30 cmpl cmpl -1,-1,0, 784 NR_024498 chr1 - 26146444 26150097 26150097 26150097 1 26146444, 26150097, 0 LOC646471 unk unk -1, 116 NM_006310 chr17 + 45608443 45700642 45608666 45699286 23 45608443,45623274,45646782,45656755,45660107,45662865,45663513,45663730,45664595,45668082,45669321,45669850,45673718,45677041,45678973,45681280,45682698,45689825,45691034,45695715,45696374,45697102,45699133, 45608921,45623359,45646860,45656877,45660215,45663066,45663610,45663764,45664710,45668247,45669426,45669911,45673828,45677105,45679113,45681415,45682918,45689968,45691091,45695823,45696530,45697150,45700642, 0 NPEPPS cmpl cmpl 0,0,1,1,0,0,0,1,2,0,0,0,1,0,1,0,0,1,0,0,0,0,0, 845 NM_024662 chr11 + 34127110 34168458 34129772 34167739 29 34127110,34129757,34130288,34133598,34135262,34137369,34139726,34139942,34144005,34145308,34145848,34149009,34152359,34152927,34153671,34154572,34155865,34156058,34156721,34158188,34158524,34160737,34160931,34161946,34162635,34163265,34163821,34164991,34167630, 34127339,34129880,34130380,34133770,34135385,34137431,34139841,34140050,34144139,34145402,34145947,34149146,34152484,34153078,34153768,34154689,34155967,34156133,34156838,34158322,34158573,34160834,34161042,34162119,34162755,34163364,34163895,34165075,34168458, 0 NAT10 cmpl cmpl -1,0,0,2,0,0,2,0,0,2,0,0,2,1,2,0,0,0,0,0,2,0,1,1,0,0,0,2,2, 205 NM_032289 chr5 + 139175405 139224048 139189025 139222059 15 139175405,139188975,139192893,139193754,139197065,139201477,139202310,139213286,139215307,139216395,139216752,139217209,139218212,139219611,139221855, 139175560,139189396,139193343,139193949,139197146,139201590,139202369,139213376,139215351,139216586,139216823,139217367,139218357,139219755,139224048, 0 PSD2 cmpl cmpl -1,0,2,2,2,2,1,0,0,2,1,0,2,0,0, 1017 NM_016584 chr12 + 56732662 56734194 56732828 56733888 4 56732662,56733209,56733474,56733726, 56732990,56733308,56733621,56734194, 0 IL23A cmpl cmpl 0,0,0,0, 646 NR_037618 chr6 - 8013799 8102828 8102828 8102828 7 8013799,8026599,8041371,8062766,8090418,8097499,8102667, 8016061,8026658,8041501,8062849,8090514,8097700,8102828, 0 EEF1E1-BLOC1S5 unk unk -1,-1,-1,-1,-1,-1,-1, 0 NM_207363 chr2 - 133429371 134326031 133430861 134275097 20 133429371,133483199,133486388,133489309,133531388,133538624,133539512,133547595,133554200,133618064,133626508,133636420,133721292,133751724,133887549,133971287,134060608,134275028,134316620,134325786, 133430878,133483332,133486525,133489624,133531467,133538802,133543291,133547778,133554302,133618184,133626547,133636489,133721442,133751812,133887683,133971351,134060682,134275158,134316688,134326031, 0 NCKAP5 cmpl cmpl 1,0,1,1,0,2,0,0,0,0,0,0,0,2,0,2,0,0,-1,-1, 1878 NM_001277127 chr3 - 169557028 169587723 169558114 169587595 9 169557028,169565907,169569406,169572600,169574123,169574492,169578348,169579457,169587420, 169558119,169566075,169569574,169572768,169574291,169574660,169578516,169579601,169587723, 0 LRRC31 cmpl cmpl 1,1,1,1,1,1,1,1,0, 1471 NM_001753 chr7 + 116164838 116201239 116165116 116199341 3 116164838,116166578,116198999, 116165146,116166743,116201239, 0 CAV1 cmpl cmpl 0,0,0, 156 NM_001134406 chr7 + 87257728 87461613 87258139 87459345 10 87257728,87280137,87329736,87339885,87369106,87370814,87399896,87407113,87445455,87459199, 87258261,87280253,87329870,87339971,87369196,87370895,87400065,87407271,87445577,87461613, 0 RUNDC3B cmpl cmpl 0,2,1,0,2,2,2,0,2,1, 937 NR_038267 chr19 + 46242887 46262748 46262748 46262748 9 46242887,46248449,46253932,46256908,46257736,46259227,46260434,46262135,46262671, 46242988,46248579,46254044,46257046,46257982,46259336,46260535,46262291,46262748, 0 LOC388553 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 952 NM_015711 chr19 + 48111452 48206534 48176831 48205672 15 48111452,48173699,48176826,48176976,48179107,48182577,48185232,48197371,48198156,48198621,48199707,48201890,48202221,48202559,48204584, 48111539,48173801,48176872,48177019,48179173,48184533,48185409,48197983,48198337,48198731,48199769,48202039,48202316,48202662,48206534, 0 GLTSCR1 cmpl cmpl -1,-1,0,2,0,0,0,0,0,1,0,2,1,0,1, 699 NM_001741 chr11 - 14990047 14993832 14990344 14992738 4 14990047,14991480,14992652,14993790, 14990543,14991621,14992747,14993832, 0 CALCA cmpl cmpl 2,2,0,-1, 896 NM_001198979 chr1 + 40859016 40888998 40859088 40887773 10 40859016,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40859176,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl 0,1,0,2,0,0,1,0,1,0, 1138 NR_003664 chr7 - 72490259 72500309 72500309 72500309 8 72490259,72492582,72492809,72494759,72496072,72497164,72498383,72500191, 72491729,72492687,72493053,72494845,72496131,72497383,72498966,72500309, 0 SPDYE8P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 812 NR_036104 chr8 - 29814787 29814864 29814864 29814864 1 29814787, 29814864, 0 MIR3148 unk unk -1, 1882 NR_036065 chr1 + 170120518 170120603 170120603 170120603 1 170120518, 170120603, 0 MIR3119-2 unk unk -1, 1057 NR_033983 chr18 - 61880317 61927290 61927290 61927290 3 61880317,61925452,61927149, 61882281,61925754,61927290, 0 RP11-909B2.1 unk unk -1,-1,-1, 1099 NM_001161575 chr16 + 67381257 67419109 67381369 67418992 11 67381257,67384104,67397492,67399206,67400919,67404846,67409149,67410629,67412491,67416035,67418772, 67381494,67384193,67397617,67399258,67401360,67405145,67409315,67410775,67412615,67416150,67419109, 0 LRRC36 cmpl cmpl 0,2,1,0,1,1,0,1,0,1,2, 1548 NM_152533 chr3 - 126268518 126277758 126268710 126272233 4 126268518,126270839,126272144,126277469, 126268921,126270965,126272273,126277758, 0 C3orf22 cmpl cmpl 2,2,0,-1, 1458 NM_001143945 chr13 - 114523521 114539017 114523836 114537538 9 114523521,114524930,114526347,114529968,114531519,114535271,114535606,114537523,114538485, 114523991,114525159,114526523,114530137,114531684,114535461,114535725,114537645,114539017, 0 GAS6 cmpl cmpl 1,0,1,0,0,2,0,0,-1, 79 NM_001144856 chr12 + 6420098 6437672 6421392 6437311 16 6420098,6421324,6422794,6424170,6424719,6425034,6425420,6426468,6426712,6427022,6427466,6427910,6428158,6435593,6436419,6437301, 6420260,6421530,6422950,6424335,6424815,6425085,6425570,6426579,6426862,6427160,6427586,6428043,6428274,6435739,6437112,6437672, 0 PLEKHG6 cmpl cmpl -1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,2, 122 NM_001144832 chr1 - 51752929 51810785 51753828 51810715 18 51752929,51754510,51755676,51756185,51760062,51761750,51767243,51768028,51768177,51768755,51770752,51771648,51774932,51776925,51777790,51778483,51787392,51810662, 51753952,51754627,51755791,51756297,51760183,51761842,51767405,51768088,51768245,51768864,51770818,51771748,51774997,51776993,51777867,51778615,51787497,51810785, 0 TTC39A cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,0, 1728 NM_003828 chrX + 149861868 149933575 149862003 149931202 16 149861868,149867667,149887096,149895686,149896155,149898580,149898996,149899941,149901013,149905066,149905713,149912832,149919201,149924160,149931037,149932984, 149862149,149867773,149887172,149895781,149896263,149898682,149899080,149900091,149901202,149905252,149905920,149912925,149919315,149924337,149931210,149933575, 0 MTMR1 cmpl cmpl 0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,-1, 158 NR_003227 chr16 + 90038987 90063028 90063028 90063028 10 90038987,90044085,90045217,90046649,90048180,90050938,90057273,90059128,90060175,90061166, 90039173,90044210,90045286,90046744,90048331,90051007,90057411,90059236,90060301,90063028, 0 AFG3L1P unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 699 NM_001033952 chr11 - 14990047 14993832 14990344 14992738 4 14990047,14991480,14992652,14993766, 14990543,14991621,14992747,14993832, 0 CALCA cmpl cmpl 2,2,0,-1, 886 NM_001166004 chr22 + 39493228 39498610 39496283 39498563 4 39493228,39496276,39497241,39498516, 39493348,39496433,39497509,39498610, 0 APOBEC3H cmpl cmpl -1,0,0,1, 75 NM_001172659 chr4 - 2271323 2366604 2272451 2343312 13 2271323,2273037,2273401,2274899,2275788,2306015,2321896,2337431,2339133,2341179,2343204,2355659,2366212, 2272583,2273141,2273506,2275016,2275943,2307263,2321998,2337521,2339223,2341382,2343342,2355800,2366604, 0 ZFYVE28 cmpl cmpl 0,1,1,1,2,2,2,2,2,0,0,-1,-1, 75 NM_001172658 chr4 - 2330305 2420370 2330820 2420050 5 2330305,2339133,2341179,2343204,2420011, 2330869,2339223,2341382,2343342,2420370, 0 ZFYVE28 cmpl cmpl 2,2,0,0,0, 885 NM_001270411 chr22 + 39378403 39388784 39378458 39388450 8 39378403,39380079,39381816,39382302,39385461,39387411,39388038,39388435, 39378475,39380236,39382096,39382417,39385615,39387631,39388154,39388784, 0 APOBEC3B cmpl cmpl 0,2,0,1,2,0,1,0, 80 NM_031923 chr10 + 7860466 8057016 7860672 8056714 7 7860466,7866280,8005882,8019203,8051040,8055693,8056599, 7860838,7866523,8007705,8019286,8051293,8055800,8057016, 0 TAF3 cmpl cmpl 0,1,1,0,2,0,2, 1145 NM_178441 chr14 - 73436152 73453664 73437589 73448561 9 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73453599, 73437822,73440901,73441667,73442429,73444752,73444942,73445677,73448603,73453664, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,-1, 665 NM_002261 chr12 - 10564913 10573194 10565170 10573149 7 10564913,10568302,10569265,10570942,10571642,10572464,10572962, 10565215,10568393,10569366,10571097,10571687,10572563,10573194, 0 KLRC3 cmpl cmpl 0,2,0,1,1,1,0, 1615 NM_001114734 chr4 - 135117488 135122903 135121061 135122348 2 135117488,135122872, 135122400,135122903, 0 PABPC4L cmpl cmpl 0,-1, 954 NR_024225 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A11 unk unk -1, 919 NM_002638 chr20 + 43803539 43805185 43803563 43804776 3 43803539,43804501,43805010, 43803642,43804777,43805185, 0 PI3 cmpl cmpl 0,1,-1, 1555 NM_004959 chr9 - 127243514 127269699 127245036 127265674 7 127243514,127253359,127255308,127262368,127265357,127265572,127269527, 127245284,127253507,127255428,127262994,127265499,127265689,127269699, 0 NR5A1 cmpl cmpl 1,0,0,1,0,0,-1, 1952 NM_003900 chr5 + 179247841 179265077 179247936 179263593 8 179247841,179249957,179250857,179251181,179252145,179260031,179260586,179263435, 179248141,179250053,179251087,179251323,179252226,179260246,179260782,179265077, 0 SQSTM1 cmpl cmpl 0,1,1,0,1,1,0,1, 1090 NM_014504 chr7 + 66205642 66276448 66236886 66274271 9 66205642,66236869,66240213,66248661,66260497,66262360,66264309,66270126,66273872, 66205779,66237065,66240380,66248828,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl -1,0,2,1,0,1,2,1,0, 655 NM_001256853 chr4 + 9264597 9266190 9264597 9266190 1 9264597, 9266190, 0 USP17L12 cmpl cmpl 0, 655 NM_001256852 chr4 + 9212382 9213975 9212382 9213975 1 9212382, 9213975, 0 USP17L10 cmpl cmpl 0, 837 NM_080681 chr6 - 33130468 33160245 33131454 33160017 64 33130468,33132043,33132628,33133325,33133707,33133947,33134289,33134496,33134846,33135040,33135202,33135575,33136295,33136482,33136731,33137159,33137607,33137823,33138102,33138333,33138586,33138890,33139047,33139243,33139489,33139826,33140065,33140306,33140836,33141124,33141278,33141477,33141649,33141787,33141941,33142303,33143350,33143792,33144035,33144209,33144497,33144768,33144957,33145188,33145438,33145908,33146084,33146211,33146455,33146696,33146849,33147007,33147207,33147495,33148034,33148444,33148740,33148887,33152768,33154403,33156138,33156754,33157096,33159935, 33131595,33132250,33132741,33133593,33133761,33133983,33134343,33134604,33134900,33135094,33135310,33135629,33136349,33136536,33136785,33137267,33137661,33137877,33138156,33138387,33138694,33138944,33139101,33139351,33139597,33139880,33140155,33140414,33140890,33141178,33141332,33141522,33141703,33141832,33141995,33142357,33143458,33143846,33144080,33144263,33144542,33144822,33145002,33145242,33145483,33145962,33146129,33146265,33146509,33146750,33146903,33147061,33147264,33147582,33148109,33148507,33148782,33148947,33152831,33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0, 135 NM_002076 chr12 - 65107221 65153226 65110520 65153056 14 65107221,65113801,65115374,65116785,65122735,65130783,65133160,65134385,65136920,65138588,65139438,65141491,65146477,65152864, 65110599,65113962,65115485,65116893,65122837,65130887,65133279,65134468,65137088,65138687,65139504,65141698,65146537,65153226, 0 GNS cmpl cmpl 2,0,0,0,0,1,2,0,0,0,0,0,0,0, 637 NM_001974 chr19 + 6887559 6940464 6887619 6940040 21 6887559,6890491,6896408,6897159,6897438,6901885,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897315,6897558,6902032,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 131 NM_001172702 chr14 + 61447831 61550451 61447995 61550430 17 61447831,61449225,61451447,61482621,61486258,61497162,61503776,61504342,61509864,61510167,61512063,61512784,61517229,61518504,61518758,61545527,61550272, 61448100,61449356,61451521,61482674,61486298,61497241,61503859,61504401,61509930,61510221,61512143,61512885,61517354,61518649,61518853,61545645,61550451, 0 SLC38A6 cmpl cmpl 0,0,2,1,0,1,2,1,0,0,0,2,1,0,1,0,1, 10 NM_020148 chr18 - 12446510 12657912 12449636 12657865 16 12446510,12452253,12452483,12453066,12454344,12463349,12464866,12479697,12493070,12496014,12506475,12512452,12535474,12546672,12635060,12657528, 12449895,12452390,12452511,12453137,12454482,12463492,12464957,12479870,12493200,12496101,12506640,12512530,12535600,12546903,12635095,12657912, 0 SPIRE1 cmpl cmpl 2,0,2,0,0,1,0,1,0,0,0,0,0,0,1,0, 814 NM_007028 chr6 - 30070673 30080867 30071312 30080582 9 30070673,30071878,30072944,30075829,30076802,30078224,30079424,30080165,30080840, 30071566,30071944,30073019,30075945,30076825,30078455,30079520,30080665,30080867, 0 TRIM31 cmpl cmpl 1,1,1,2,0,0,0,0,-1, 2169 NR_036078 chr2 + 207647957 207648032 207648032 207648032 1 207647957, 207648032, 0 MIR3130-2 unk unk -1, 2169 NR_036077 chr2 - 207647957 207648032 207648032 207648032 1 207647957, 207648032, 0 MIR3130-1 unk unk -1, 2034 NR_036076 chr2 - 189997761 189997837 189997837 189997837 1 189997761, 189997837, 0 MIR3129 unk unk -1, 1943 NR_036075 chr2 - 178120672 178120738 178120738 178120738 1 178120672, 178120738, 0 MIR3128 unk unk -1, 1328 NR_036074 chr2 + 97464014 97464090 97464090 97464090 1 97464014, 97464090, 0 MIR3127 unk unk -1, 1113 NR_036073 chr2 + 69330813 69330887 69330887 69330887 1 69330813, 69330887, 0 MIR3126 unk unk -1, 683 NR_036072 chr2 + 12877492 12877570 12877570 12877570 1 12877492, 12877570, 0 MIR3125 unk unk -1, 2485 NR_036070 chr1 + 249120575 249120642 249120642 249120642 1 249120575, 249120642, 0 MIR3124 unk unk -1, 2425 NR_036069 chr1 + 241295571 241295646 241295646 241295646 1 241295571, 241295646, 0 MIR3123 unk unk -1, 2204 NR_036068 chr1 + 212250954 212251027 212251027 212251027 1 212250954, 212251027, 0 MIR3122 unk unk -1, 1961 NR_036067 chr1 - 180407448 180407525 180407525 180407525 1 180407448, 180407525, 0 MIR3121 unk unk -1, 1898 NR_036066 chr1 + 172107947 172108028 172108028 172108028 1 172107947, 172108028, 0 MIR3120 unk unk -1, 1882 NR_036064 chr1 - 170120518 170120603 170120603 170120603 1 170120518, 170120603, 0 MIR3119-1 unk unk -1, 972 NM_001042355 chr16 + 50775960 50835846 50783609 50830419 18 50775960,50776672,50783486,50785514,50788229,50810089,50811735,50813575,50815156,50816235,50818239,50820765,50821696,50825468,50826507,50827456,50828122,50830234, 50776035,50776752,50784113,50785817,50788335,50810188,50811852,50813955,50815322,50816377,50818362,50820857,50821763,50825601,50826616,50827575,50828339,50835846, 0 CYLD cmpl cmpl -1,-1,0,0,0,1,1,1,0,1,2,2,1,2,0,1,0,1, 597 NM_005088 chrY + 1660485 1671411 1662355 1670487 5 1660485,1662336,1664276,1668084,1669551, 1660662,1663117,1664425,1668325,1671411, 0 AKAP17A cmpl cmpl -1,0,0,2,0, 138 NR_103715 chrX + 68399399 68429767 68429767 68429767 5 68399399,68421319,68424174,68424733,68428094, 68399488,68421475,68424292,68424870,68429767, 0 LINC00269 unk unk -1,-1,-1,-1,-1, 22 NR_024373 chr2 - 112186885 112252692 112252692 112252692 2 112186885,112252461, 112187197,112252692, 0 MIR4435-1HG unk unk -1,-1, 762 NM_001282747 chr10 + 23216952 23327452 23257291 23326408 16 23216952,23220924,23244735,23247998,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297743,23319524,23321789,23326198, 23217035,23220973,23244861,23248067,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23319725,23321952,23327452, 0 ARMC3 cmpl cmpl -1,-1,-1,-1,0,1,1,2,0,2,0,2,2,2,2,0, 176 NM_001256008 chr7 - 108110865 108166762 108112844 108155935 10 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108156018,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1, 176 NM_001256007 chr7 - 108110865 108166762 108112844 108155935 11 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108161919,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108156018,108161965,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1,-1, 17 NM_173165 chr16 + 68119268 68263162 68119584 68260374 10 68119268,68155889,68160350,68191771,68200745,68208276,68215377,68217142,68224670,68260252, 68119687,68157024,68160513,68191971,68200918,68208417,68215433,68217269,68225678,68263162, 0 NFATC3 cmpl cmpl 0,1,2,0,2,1,1,0,1,1, 1167 NM_001128922 chr11 - 76368567 76381791 76370647 76376998 3 76368567,76376914,76381657, 76372552,76377002,76381791, 0 LRRC32 cmpl cmpl 0,0,-1, 726 NM_001127649 chr22 + 18560759 18573797 18561142 18570841 5 18560759,18562639,18566202,18567877,18570737, 18561372,18562780,18566498,18568024,18573797, 0 PEX26 cmpl cmpl 0,2,2,1,1, 1753 NM_001101337 chr3 + 153202283 153220486 153202345 153220271 3 153202283,153203803,153220191, 153202477,153203894,153220486, 0 C3orf79 cmpl cmpl 0,0,1, 635 NM_033296 chr4 + 6641817 6644470 6642589 6642973 2 6641817,6643456, 6642985,6644470, 0 MRFAP1 cmpl cmpl 0,-1, 200 NM_001161344 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133446204,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133446420,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 197 NR_026975 chrX - 130836677 130964671 130964671 130964671 13 130836677,130843525,130845678,130883333,130889625,130890638,130902576,130917914,130928351,130929836,130938999,130959249,130964319, 130837546,130843584,130845748,130883486,130889774,130890737,130902724,130918067,130928494,130930359,130939065,130959393,130964671, 0 FIRRE unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1156 NM_001135753 chr10 - 74894281 74927853 74894340 74923695 13 74894281,74896461,74897760,74899066,74899388,74906033,74908033,74914013,74916032,74916325,74920191,74923490,74927623, 74894571,74896676,74897828,74899253,74899495,74906119,74908162,74914206,74916211,74916413,74920309,74923708,74927853, 0 ECD cmpl cmpl 0,1,2,1,2,0,0,2,0,2,1,0,-1, 862 NM_001123392 chr17 - 36337654 36348623 36338025 36347081 14 36337654,36339575,36340098,36340661,36341111,36341919,36342583,36343885,36344324,36344875,36345438,36346761,36347009,36348510, 36338594,36339728,36340198,36340727,36341206,36342040,36342632,36343995,36344432,36344956,36345478,36346847,36347082,36348623, 0 TBC1D3H cmpl cmpl 1,1,0,0,1,0,2,0,0,0,2,0,0,-1, 245 NM_001194999 chr1 + 181002560 181031074 181003143 181024401 7 181002560,181003022,181018187,181019281,181021370,181022708,181024360, 181002600,181003210,181018448,181019422,181021646,181022813,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1,1,1, 3 NM_001197113 chr3 + 158787040 159615155 158787221 159614563 11 158787040,158963631,158970515,158980336,159482231,159583951,159603995,159605496,159606608,159609885,159614511, 158787230,158963696,158970596,158980472,159482927,159584070,159604113,159605694,159606732,159609979,159615155, 0 IQCJ-SCHIP1 cmpl cmpl 0,0,2,2,0,0,2,0,0,1,2, 655 NM_001256853 chr4 + 9221877 9223470 9221877 9223470 1 9221877, 9223470, 0 USP17L12 cmpl cmpl 0, 1624 NM_001278928 chr9 + 136223420 136228041 136223468 136228015 6 136223420,136223789,136224586,136226825,136227140,136227934, 136223546,136223944,136224690,136227005,136227310,136228041, 0 SURF2 cmpl cmpl 0,0,2,1,1,0, 168 NM_024885 chrX - 100523240 100548059 100524180 100548033 13 100523240,100530209,100530987,100531294,100532593,100533036,100533981,100536707,100537314,100538437,100541562,100542465,100547777, 100524225,100530269,100531100,100531516,100532707,100533109,100534023,100536763,100537441,100538571,100541641,100542533,100548059, 0 TAF7L cmpl cmpl 0,0,1,1,1,0,0,1,0,1,0,1,0, 636 NM_001925 chr8 - 6793344 6795786 6793541 6794421 3 6793344,6794249,6795747, 6793663,6794433,6795786, 0 DEFA4 cmpl cmpl 1,0,-1, 1706 NM_002024 chrX + 146993468 147032647 146993697 147030364 17 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147019617,147022094,147024650,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147019680,147022181,147024846,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,0,1,1,0, 108 NM_001085399 chr4 - 37592421 37687999 37633009 37687909 7 37592421,37633006,37636508,37640068,37648989,37650897,37687821, 37592839,37633145,37636745,37640126,37649061,37651122,37687999, 0 RELL1 cmpl cmpl -1,2,2,1,1,1,0, 765 NM_001102397 chr1 - 23636275 23670853 23636946 23664327 10 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23670703, 23637559,23637815,23640195,23645181,23648156,23650225,23660124,23664354,23665101,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,-1,-1, 780 NM_030979 chr13 + 25670275 25672704 25670336 25672232 1 25670275, 25672704, 0 PABPC3 cmpl cmpl 0, 161 NM_001104546 chr10 + 92631708 92668312 92631743 92663019 14 92631708,92634625,92635314,92635780,92638819,92645568,92654531,92655210,92655636,92656069,92660326,92661999,92662948,92665058, 92631825,92634681,92635371,92635855,92638891,92645658,92654648,92655240,92655674,92656149,92660425,92662101,92663033,92668312, 0 RPP30 cmpl cmpl 0,1,0,0,0,0,0,0,0,2,1,1,1,-1, 100 NM_001941 chr18 - 28570051 28622781 28574140 28622626 16 28570051,28576756,28581583,28584107,28586872,28587981,28588234,28598036,28598631,28602301,28604314,28605725,28609474,28610938,28612157,28622557, 28574338,28577014,28581705,28584332,28587097,28588124,28588491,28598222,28598766,28602468,28604459,28605881,28609594,28611138,28612242,28622781, 0 DSC3 cmpl cmpl 0,0,1,1,1,2,0,0,0,1,0,0,0,1,0,0, 921 NM_001145641 chr19 + 44116252 44118650 44116273 44118421 1 44116252, 44118650, 0 SRRM5 cmpl cmpl 0, 979 NM_001129884 chr3 + 51705190 51738339 51708320 51738032 6 51705190,51706356,51708286,51718428,51733421,51737739, 51705304,51706408,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,-1,0,0,0,1, 1094 NM_001177880 chr11 + 66790189 66818334 66797615 66816228 8 66790189,66797592,66802115,66807281,66811108,66812063,66813214,66816054, 66790396,66797649,66802309,66807674,66811324,66812184,66813348,66818334, 0 SYT12 cmpl cmpl -1,0,1,0,0,0,1,0, 840 NM_152462 chr17 - 33519538 33521412 33520309 33521326 1 33519538, 33521412, 0 SLC35G3 cmpl cmpl 0, 775 NM_005265 chr22 + 24999123 25024972 25007048 25024806 16 24999123,25003920,25005931,25006216,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999288,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 934 NM_001145266 chr11 + 45825622 45834567 45827391 45832886 3 45825622,45827360,45832326, 45825971,45827887,45834567, 0 SLC35C1 cmpl cmpl -1,0,1, 934 NM_001145265 chr11 + 45825622 45834567 45827391 45832886 3 45825622,45827360,45832326, 45826068,45827887,45834567, 0 SLC35C1 cmpl cmpl -1,0,1, 655 NM_001256859 chr4 + 9250355 9251948 9250355 9251948 1 9250355, 9251948, 0 USP17L18 cmpl cmpl 0, 595 NM_172247 chrX + 1401570 1428828 1401596 1424394 10 1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1424338,1428294, 1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1424420,1428828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,-1, 595 NM_172247 chrY + 1351570 1378828 1351596 1374394 10 1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1374338,1378294, 1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1374420,1378828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,-1, 595 NM_172246 chrX + 1387692 1428828 1401596 1428482 11 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1, 595 NM_172246 chrY + 1337692 1378828 1351596 1378482 11 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1, 595 NM_172245 chrX + 1387692 1428828 1401596 1428372 13 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1393711,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 641 NM_152250 chr8 + 7345242 7347073 7345242 7347073 3 7345242,7345657,7346948, 7345312,7345699,7347073, 0 DEFB105A cmpl cmpl 0,1,1, 643 NM_152250 chr8 - 7679529 7681360 7679529 7681360 3 7679529,7680903,7681290, 7679654,7680945,7681360, 0 DEFB105A cmpl cmpl 1,1,0, 1358 NM_133496 chr1 + 101361633 101447311 101361818 101440413 11 101361633,101362125,101372407,101376618,101377667,101379218,101383632,101387261,101427383,101431324,101440365, 101361898,101362227,101372521,101376706,101377794,101379362,101383683,101387397,101427474,101431474,101447311, 0 SLC30A7 cmpl cmpl 0,2,2,2,0,1,1,1,2,0,0, 1652 NM_183241 chr9 + 139886869 139888428 139886895 139888257 7 139886869,139887091,139887376,139887504,139887794,139888031,139888217, 139887014,139887152,139887426,139887695,139887863,139888116,139888428, 0 C9orf142 cmpl cmpl 0,2,0,2,1,1,2, 1735 NR_046401 chr7 + 150745378 150749843 150749843 150749843 10 150745378,150747192,150747567,150747844,150748125,150748896,150749069,150749252,150749502,150749660, 150746506,150747343,150747695,150748040,150748182,150748988,150749149,150749324,150749561,150749843, 0 ASIC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 96 NM_006727 chr5 - 24487208 24645085 24487771 24593599 12 24487208,24491684,24492925,24498506,24505220,24509674,24511435,24535220,24535811,24537488,24593368,24644702, 24488262,24491936,24493034,24498628,24505357,24509928,24511623,24535388,24535931,24537783,24593722,24645085, 0 CDH10 cmpl cmpl 1,1,0,1,2,0,1,1,1,0,0,-1, 979 NM_003927 chr18 - 51677970 51751158 51686146 51750929 7 51677970,51686134,51690892,51692445,51715243,51731367,51750387, 51681681,51686273,51691070,51692536,51715381,51731527,51751158, 0 MBD2 cmpl cmpl -1,2,1,0,0,2,0, 1114 NM_013245 chr16 + 69345286 69358946 69345414 69358212 11 69345286,69349910,69350127,69352552,69352725,69353289,69354043,69354590,69354953,69356462,69358110, 69345435,69350022,69350275,69352614,69352845,69353446,69354192,69354672,69355173,69356603,69358946, 0 VPS4A cmpl cmpl 0,0,1,2,1,1,2,1,2,0,0, 147 NM_001142545 chr14 + 78266425 78400297 78285321 78399734 10 78266425,78285310,78288777,78353433,78365442,78374145,78390799,78392106,78397860,78399562, 78266513,78285456,78288861,78353592,78365601,78374262,78390949,78392304,78398054,78400297, 0 ADCK1 cmpl cmpl -1,0,0,0,0,0,0,0,0,2, 1193 NM_001284236 chr5 + 79703831 79775688 79729966 79773196 19 79703831,79723310,79729927,79732574,79735754,79738941,79741081,79743844,79745409,79746249,79747303,79751510,79752279,79752763,79755232,79768579,79769572,79770481,79773037, 79703972,79723364,79730036,79734826,79735851,79739103,79741224,79744223,79745532,79746405,79747528,79751593,79752384,79752911,79755313,79768742,79769678,79770649,79775688, 0 ZFYVE16 cmpl cmpl -1,-1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 1743 NM_001282502 chrX + 151883074 151887096 151885595 151886540 4 151883074,151884445,151885384,151885530, 151883171,151884565,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,0, 1744 NM_001282502 chrX - 151918386 151922408 151918942 151919887 4 151918386,151920032,151920917,151922311, 151919952,151920098,151921037,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1, 1743 NM_001282501 chrX + 151883074 151887096 151885595 151886540 5 151883074,151884445,151885136,151885384,151885530, 151883171,151884565,151885234,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,-1,0, 1744 NM_001282501 chrX - 151918386 151922408 151918942 151919887 5 151918386,151920032,151920248,151920917,151922311, 151919952,151920098,151920346,151921037,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1,-1, 928 NM_032135 chr14 - 44973353 44976499 44973712 44976190 1 44973353, 44976499, 0 FSCB cmpl cmpl 0, 1256 NM_033048 chrX + 88002225 88009785 88008415 88009321 3 88002225,88004318,88008407, 88002370,88004424,88009785, 0 CPXCR1 cmpl cmpl -1,-1,0, 849 NM_015578 chr19 + 34663351 34720420 34663547 34718293 10 34663351,34685382,34687538,34699833,34706028,34706500,34710295,34710610,34712411,34718269, 34663668,34685546,34687668,34699956,34706205,34706566,34710478,34710782,34712643,34720420, 0 LSM14A cmpl cmpl 0,1,0,1,1,1,1,1,2,0, 936 NM_198692 chr21 + 46066330 46067566 46066375 46067272 1 46066330, 46067566, 0 KRTAP10-11 cmpl cmpl 0, 146 NM_015336 chr12 + 77157853 77247474 77158016 77244765 17 77157853,77191213,77199096,77202822,77203492,77208925,77209636,77216185,77220687,77222169,77235761,77236698,77239488,77240375,77242012,77243155,77244626, 77158109,77191317,77199219,77202900,77203637,77208990,77209799,77216311,77220830,77222270,77235886,77236761,77239582,77240459,77242170,77243250,77247474, 0 ZDHHC17 cmpl cmpl 0,0,2,2,2,0,2,0,0,2,1,0,0,1,1,0,2, 598 NM_015133 chr16 + 1756220 1820318 1756340 1818825 32 1756220,1774557,1779138,1779487,1793335,1797029,1798244,1798602,1808148,1808978,1809958,1810380,1811224,1812351,1812675,1812836,1813657,1814115,1814301,1815013,1815960,1816220,1816529,1816723,1816904,1817149,1817564,1817805,1818069,1818199,1818477,1818703, 1756658,1774678,1779209,1779579,1793477,1797276,1798347,1798721,1808160,1808996,1810016,1810533,1811306,1812482,1812732,1813007,1813784,1814211,1814460,1815179,1816143,1816410,1816649,1816804,1816972,1817298,1817736,1817919,1818108,1818379,1818627,1820318, 0 MAPK8IP3 cmpl cmpl 0,0,1,0,2,0,1,2,1,1,1,2,2,0,2,2,2,0,0,0,1,1,2,2,2,1,0,1,1,1,1,1, 1626 NM_001097600 chr3 + 136537860 136574734 136573302 136574541 2 136537860,136573284, 136538056,136574734, 0 SLC35G2 cmpl cmpl -1,0, 140 NM_001185054 chr2 - 70889215 70994847 70890556 70933540 16 70889215,70900009,70901809,70903927,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70994735, 70890867,70900138,70901957,70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70994847, 0 ADD2 cmpl cmpl 1,1,0,0,0,0,0,0,0,0,0,1,0,0,-1,-1, 857 NR_024194 chr22 + 35695796 35743987 35743987 35743987 15 35695796,35713869,35717951,35718991,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 960 NM_001472 chrX + 49207148 49223953 49208271 49223849 5 49207148,49208263,49208816,49221260,49223826, 49207223,49208352,49208937,49221386,49223953, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 14 NM_001472 chrX + 49216647 49294598 49236830 49294494 5 49216647,49236822,49237376,49240333,49294471, 49216722,49236911,49237497,49240459,49294598, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 960 NM_001472 chrX + 49226170 49233491 49227293 49233387 5 49226170,49227285,49227839,49230798,49233364, 49226245,49227374,49227960,49230924,49233491, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 987 NM_001278702 chrX - 52725945 52736276 52727037 52734799 9 52725945,52727033,52727903,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736276, 0 SSX2B cmpl cmpl -1,1,1,0,1,1,0,0,-1, 1155 NM_145074 chr2 + 74756531 74760683 74757133 74760112 6 74756531,74757743,74758465,74758723,74758982,74759946, 74757639,74757948,74758498,74758829,74759052,74760683, 0 HTRA2 cmpl cmpl 0,2,0,0,1,2, 647 NM_015509 chr12 + 8234806 8250373 8234884 8248686 8 8234806,8242531,8242790,8244364,8245271,8245467,8248196,8248637, 8234979,8242632,8242895,8244446,8245380,8245651,8248299,8250373, 0 NECAP1 cmpl cmpl 0,2,1,1,2,0,1,2, 261 NM_012086 chr2 - 197627755 197664492 197629286 197664335 18 197627755,197631288,197634638,197636471,197637639,197639839,197640733,197641150,197643619,197645282,197649580,197650164,197653927,197654602,197656060,197657679,197662520,197664233, 197629409,197631441,197634763,197636662,197637877,197639975,197640835,197641353,197643791,197645386,197649653,197650312,197654093,197654794,197656184,197657876,197662632,197664492, 0 GTF3C3 cmpl cmpl 0,0,1,2,1,0,0,1,0,1,0,2,1,1,0,1,0,0, 235 NM_022897 chr5 + 170288895 170727019 170289037 170725862 28 170288895,170305100,170308809,170319390,170323053,170336664,170337972,170341170,170343468,170345716,170346444,170351360,170380600,170395245,170597133,170598209,170610170,170610325,170626673,170632527,170640634,170648761,170667931,170669685,170692684,170720886,170722890,170725765, 170289055,170305247,170308900,170319557,170323119,170336769,170338138,170341244,170343588,170345863,170346617,170351554,170380706,170395381,170597207,170598290,170610234,170610434,170626777,170632616,170640742,170648844,170668146,170669824,170692851,170720985,170723018,170727019, 0 RANBP17 cmpl cmpl 0,0,0,1,0,0,0,1,0,0,0,2,1,2,0,2,2,0,1,0,2,2,1,0,1,0,0,2, 851 NM_032346 chr19 + 34895302 34917072 34895335 34917025 7 34895302,34895553,34895834,34900065,34904641,34912423,34916894, 34895443,34895720,34895895,34900415,34904752,34912572,34917072, 0 PDCD2L cmpl cmpl 0,0,2,0,2,2,1, 775 NM_001013663 chr2 - 25013135 25016251 25013279 25016246 2 25013135,25015994, 25013450,25016251, 0 PTRHD1 cmpl cmpl 0,0, 794 NM_032844 chr10 + 27443752 27475848 27444355 27475465 12 27443752,27447477,27448547,27450022,27453992,27454317,27456030,27458872,27462049,27469881,27470408,27475307, 27444541,27447615,27448687,27450111,27454099,27454468,27456203,27460012,27462188,27469995,27470510,27475848, 0 MASTL cmpl cmpl 0,0,0,2,1,0,1,0,0,1,1,1, 1583 NR_024425 chr9 + 130890807 130892913 130892913 130892913 1 130890807, 130892913, 0 PTGES2-AS1 unk unk -1, 1097 NM_178516 chr16 - 67218281 67224107 67218296 67223579 14 67218281,67218588,67218804,67219038,67219263,67220139,67220459,67220661,67220923,67221127,67222623,67222922,67223533,67223873, 67218507,67218713,67218960,67219161,67219393,67220250,67220560,67220787,67221041,67221740,67222843,67223083,67223586,67224107, 0 EXOC3L1 cmpl cmpl 2,0,0,0,2,2,0,0,2,1,0,1,0,-1, 1261 NM_144604 chr16 + 88636788 88698372 88643531 88697707 18 88636788,88643517,88653007,88664585,88665027,88666198,88675341,88677675,88688604,88689626,88690365,88691009,88691609,88694029,88694327,88695165,88696892,88697508, 88636974,88644134,88653092,88664734,88665120,88666356,88675459,88677944,88688796,88689752,88690470,88691153,88691675,88694190,88694527,88695262,88696989,88698372, 0 ZC3H18 cmpl cmpl -1,0,0,1,0,0,2,0,2,2,2,2,2,2,1,0,1,2, 655 NM_001256862 chr4 + 9221877 9223470 9221877 9223470 1 9221877, 9223470, 0 USP17L21 cmpl cmpl 0, 655 NM_001256862 chr4 + 9264597 9266190 9264597 9266190 1 9264597, 9266190, 0 USP17L21 cmpl cmpl 0, 759 NR_003075 chr7 + 22896231 22896305 22896305 22896305 1 22896231, 22896305, 0 SNORD93 unk unk -1, 108 NM_017569 chr13 - 37583450 37633850 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633616, 37583946,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619513,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 79 NM_000064 chr19 - 6677845 6720662 6677892 6720600 41 6677845,6678162,6678382,6679135,6679417,6680168,6681951,6682152,6684398,6684570,6684785,6684998,6686134,6686756,6690639,6692934,6693422,6694441,6696389,6696603,6697354,6697662,6702137,6702481,6707086,6707476,6707810,6709694,6710649,6710997,6712267,6712518,6713199,6713417,6714002,6714176,6714362,6718104,6718257,6719221,6720526, 6678034,6678298,6678466,6679219,6679507,6680274,6682041,6682240,6684450,6684661,6684845,6685157,6686298,6686913,6690738,6693094,6693498,6694645,6696476,6696670,6697567,6697805,6702223,6702590,6707284,6707548,6707940,6709853,6710856,6711207,6712417,6712634,6713326,6713520,6714093,6714259,6714457,6718175,6718423,6719414,6720662, 0 C3 cmpl cmpl 2,1,1,1,1,0,0,2,1,0,0,0,1,0,0,2,1,1,1,0,0,1,2,1,1,1,0,0,0,0,0,1,0,2,1,2,0,1,0,2,0, 633 NM_002096 chr19 - 6379579 6393291 6380291 6393006 13 6379579,6380583,6380914,6381132,6381369,6381564,6381707,6383321,6387399,6389454,6391912,6392867,6392994, 6380496,6380701,6381053,6381206,6381489,6381626,6381861,6383506,6387570,6389648,6391985,6392914,6393291, 0 GTF2F1 cmpl cmpl 2,1,0,1,1,2,1,2,2,0,2,0,0, 118 NM_001134364 chr3 - 47892179 48130769 47894281 48040350 18 47892179,47896737,47898920,47908735,47910703,47912302,47912716,47913406,47917174,47918906,47956306,47957440,47960208,47963254,47969717,48019354,48040127,48130262, 47894428,47896850,47899002,47908828,47910817,47912595,47912776,47913590,47917390,47919013,47956429,47958664,47960331,47963368,47969840,48019423,48040369,48130769, 0 MAP4 cmpl cmpl 0,1,0,0,0,1,1,0,0,1,1,1,1,1,1,1,0,-1, 1266 NM_001178118 chr10 + 89267589 89313218 89267961 89312235 5 89267589,89268092,89272880,89280792,89311838, 89267995,89268290,89272978,89280926,89313218, 0 MINPP1 cmpl cmpl 0,1,1,0,2, 158 NM_032451 chr16 + 89894906 89937727 89894958 89936680 15 89894906,89911729,89916711,89920693,89920894,89922007,89922520,89924745,89925572,89927090,89929883,89930201,89934596,89935974,89936457, 89895202,89911773,89917068,89920774,89921059,89922094,89922644,89924915,89925762,89927203,89930018,89930269,89934624,89936090,89937727, 0 SPIRE2 cmpl cmpl 0,1,0,0,0,0,0,1,0,1,0,0,2,0,2, 898 NM_001261430 chr17 - 41120104 41132545 41121164 41132199 7 41120104,41122305,41123623,41131186,41131394,41131566,41132062, 41121203,41122359,41123713,41131285,41131461,41131680,41132545, 0 PTGES3L cmpl cmpl 0,0,0,0,2,2,0, 770 NM_001144931 chr22 + 24373116 24374043 24373137 24373873 2 24373116,24373609, 24373245,24374043, 0 LOC391322 cmpl cmpl 0,0, 1438 NM_001171747 chr3 + 111805181 111837073 111805254 111835845 4 111805181,111812206,111821684,111835488, 111805392,111812336,111821812,111837073, 0 C3orf52 cmpl cmpl 0,0,1,0, 220 NM_000565 chr1 + 154377668 154441926 154378105 154437856 10 154377668,154401671,154402958,154406994,154407465,154408444,154420600,154422386,154426963,154437609, 154378190,154401920,154403082,154407176,154407632,154408586,154420647,154422456,154427057,154441926, 0 IL6R cmpl cmpl 0,1,1,2,1,0,1,0,1,2, 169 NM_001284271 chr6 - 101163006 101329248 101163292 101315873 13 101163006,101165950,101173414,101214440,101215020,101246588,101247306,101248175,101253635,101296023,101311939,101315783,101328936, 101163409,101166127,101173579,101214581,101215221,101246714,101247448,101248380,101253756,101296583,101312090,101315914,101329248, 0 ASCC3 cmpl cmpl 0,0,0,0,0,0,2,1,0,1,0,0,-1, 156 NR_039995 chr5 + 87564698 87732491 87732491 87732491 3 87564698,87566342,87732089, 87564844,87566402,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1, 842 NM_018217 chr20 - 33703159 33735161 33703235 33735061 11 33703159,33706400,33711692,33714053,33719444,33722540,33725682,33730175,33732781,33734627,33734954, 33703736,33706522,33711837,33714178,33719586,33722752,33725808,33730281,33732821,33734738,33735161, 0 EDEM2 cmpl cmpl 0,1,0,1,0,1,1,0,2,2,0, 101 NR_026751 chr6 - 29968787 30028961 30028961 30028961 6 29968787,30002684,30003692,30025891,30028517,30028855, 29970509,30002887,30003760,30025967,30028772,30028961, 0 ZNRD1-AS1 unk unk -1,-1,-1,-1,-1,-1, 887 NM_001012754 chr13 + 39612447 39624244 39612776 39622063 7 39612447,39613272,39613700,39616241,39618226,39621176,39621810, 39612860,39613425,39613848,39616442,39618318,39621289,39624244, 0 NHLRC3 cmpl cmpl 0,0,0,1,1,0,2, 903 NM_017590 chr22 + 41697506 41756151 41716664 41753433 23 41697506,41716658,41721567,41721724,41723209,41726026,41728174,41734316,41735004,41735819,41737091,41738532,41739418,41742006,41744070,41745123,41747564,41751472,41751760,41751957,41752346,41752648,41753180, 41697776,41716717,41721601,41721922,41723368,41726107,41728231,41734359,41735195,41736141,41737150,41738632,41739580,41742212,41744171,41745305,41747650,41751606,41751866,41752066,41752480,41752812,41756151, 0 ZC3H7B cmpl cmpl -1,0,2,0,0,0,0,0,1,0,1,0,1,1,0,2,1,0,2,0,1,0,2, 883 NM_015515 chr17 - 39078947 39093895 39079240 39092855 9 39078947,39080723,39081605,39084489,39084697,39086191,39087624,39092459,39093597, 39079335,39080755,39081826,39084612,39084859,39086348,39087707,39093205,39093895, 0 KRT23 cmpl cmpl 1,2,0,0,0,2,0,0,-1, 290 NM_000092 chr2 - 227867426 228029275 227872040 228012199 48 227867426,227872733,227875028,227876896,227886763,227887220,227892615,227895158,227896660,227896863,227898125,227906863,227907792,227912190,227914783,227915692,227917020,227919309,227920660,227922154,227924120,227924851,227927245,227942609,227945158,227946830,227953368,227954583,227958840,227963409,227964335,227966219,227966580,227967504,227967859,227968687,227973296,227973548,227973939,227976393,227979343,227983360,227984610,227985729,228004876,228009231,228012128,228028722, 227872304,227873020,227875217,227877013,227886889,227887227,227892725,227895314,227896771,227896992,227898197,227906971,227907900,227912265,227914847,227915874,227917128,227919453,227920831,227922316,227924339,227924959,227927314,227942793,227945265,227946903,227953532,227954673,227959005,227963514,227964405,227966273,227966625,227967564,227967913,227968768,227973338,227973584,227974002,227976429,227979412,227983477,227984655,227985864,228004954,228009274,228012300,228029275, 0 COL4A4 cmpl cmpl 0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,-1, 780 NM_001177999 chr4 + 25658085 25680368 25664122 25678371 13 25658085,25664119,25664329,25665823,25667749,25669501,25671268,25672359,25673222,25674708,25675917,25676126,25677756, 25658186,25664234,25664464,25665952,25667893,25669613,25671464,25672455,25673343,25674876,25676034,25676251,25680368, 0 SLC34A2 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 1018 NM_013267 chr12 - 56864727 56882198 56865270 56881902 18 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56872835,56873563,56874071,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868894,56869466,56869761,56871502,56871880,56872046,56872965,56873685,56874171,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,2,0,0,1,2,0,2,0,2,0, 913 NM_001080850 chr1 + 43000559 43120335 43002155 43119699 16 43000559,43002146,43004843,43011080,43021826,43031966,43042690,43047030,43054991,43076648,43102907,43108143,43110363,43111805,43119046,43119488, 43000660,43002272,43004981,43011250,43022076,43032146,43042900,43047185,43055154,43076761,43103049,43108280,43110478,43111988,43119114,43120335, 0 CCDC30 cmpl cmpl -1,0,0,0,2,0,0,0,2,0,2,0,2,0,0,2, 980 NM_001098800 chrX - 51804922 51812368 51805325 51811268 13 51804922,51805317,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4 cmpl cmpl -1,0,2,2,1,2,0,1,0,0,0,0,-1, 944 NR_040042 chr19 + 47163620 47180713 47180713 47180713 3 47163620,47172424,47180396, 47163665,47172567,47180713, 0 DACT3-AS1 unk unk -1,-1,-1, 1379 NM_005432 chr14 - 104163953 104181823 104165134 104177424 10 104163953,104165469,104165700,104169509,104173339,104174858,104177369,104177802,104179211,104181760, 104165354,104165516,104165913,104169664,104173552,104174996,104177582,104177904,104179268,104181823, 0 XRCC3 cmpl cmpl 2,0,0,1,1,1,0,-1,-1,-1, 1079 NM_013299 chr11 + 64808375 64812300 64808764 64812199 2 64808375,64811696, 64809338,64812300, 0 SAC3D1 cmpl cmpl 0,1, 135 NM_004884 chr15 - 65619464 65670378 65621246 65670126 14 65619464,65621727,65622063,65622630,65622887,65623387,65623749,65624278,65625594,65627065,65627628,65628149,65667434,65670023, 65621486,65621935,65622202,65622735,65623079,65623552,65623997,65624444,65625753,65627203,65627759,65628294,65667740,65670378, 0 IGDCC3 cmpl cmpl 0,2,1,1,1,1,2,1,1,1,2,1,1,0, 838 NM_003680 chr1 - 33240839 33283633 33241581 33282845 13 33240839,33244982,33245685,33246648,33248004,33251962,33252540,33256762,33263363,33272082,33276191,33276511,33282788, 33241692,33245124,33245879,33246746,33248140,33252048,33252676,33256855,33263444,33272212,33276367,33276658,33283633, 0 YARS cmpl cmpl 0,2,0,1,0,1,0,0,0,2,0,0,0, 217 NM_015440 chr6 + 151186814 151423023 151186958 151413692 28 151186814,151197225,151198769,151198908,151203897,151206769,151208980,151226785,151239712,151243340,151247257,151257939,151259834,151265621,151266602,151270166,151277130,151281410,151286104,151293082,151330954,151334914,151336015,151336651,151355628,151358100,151413602,151422661, 151187185,151197310,151198820,151198962,151204022,151206870,151209117,151226897,151239804,151243438,151247431,151258076,151259881,151265729,151266677,151270269,151277207,151281551,151286173,151293194,151331094,151334956,151336116,151336829,151355736,151358253,151413723,151423023, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 587 NM_013232 chr5 + 271735 315089 271835 314630 6 271735,272825,304291,306716,311407,314531, 271936,272887,304336,306875,311517,315089, 0 PDCD6 cmpl cmpl 0,2,1,1,1,0, 874 NM_017549 chr7 + 37960162 37991542 37960541 37989998 3 37960162,37988441,37989801, 37960810,37988650,37991542, 0 EPDR1 cmpl cmpl 0,2,1, 699 NM_001033953 chr11 - 14988214 14993832 14989240 14992738 5 14988214,14989219,14991480,14992652,14993766, 14988647,14989400,14991621,14992747,14993832, 0 CALCA cmpl cmpl -1,2,2,0,-1, 1660 NM_173828 chr5 + 141016516 141020631 141017792 141020011 7 141016516,141018361,141018521,141019030,141019486,141019978,141020237, 141017976,141018427,141018588,141019216,141019862,141020012,141020631, 0 RELL2 cmpl cmpl 0,1,1,2,2,0,-1, 928 NM_001281459 chr20 - 44978166 44993097 44979032 44984506 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983817,44984513,44985276,44986341,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,0,-1,-1,-1,-1, 928 NM_001281458 chr20 - 44978166 44993097 44979032 44987364 11 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44987329,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987197,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,2,0,-1, 928 NM_001281457 chr20 - 44978166 44993097 44979032 44984506 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986341,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,0,-1,-1,-1,-1, 969 NM_001126103 chr12 - 50382944 50419307 50384050 50410498 19 50382944,50384466,50385780,50386027,50386332,50387913,50388196,50390822,50392923,50393398,50394954,50396029,50398017,50399038,50400216,50410413,50412298,50414844,50419180, 50384126,50384575,50385916,50386160,50386438,50388112,50388292,50390987,50393054,50393516,50395035,50396083,50398087,50399175,50400419,50410502,50412372,50414960,50419307, 0 RACGAP1 cmpl cmpl 2,1,0,2,1,0,0,0,1,0,0,0,2,0,1,0,-1,-1,-1, 670 NM_021146 chr1 + 11249345 11256038 11249636 11255080 5 11249345,11252326,11253636,11254517,11254910, 11250012,11252427,11253831,11254716,11256038, 0 ANGPTL7 cmpl cmpl 0,1,0,0,1, 659 NR_002814 chr12 + 9800642 9811010 9811010 9811010 4 9800642,9806278,9808468,9809516, 9801529,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 1952 NM_145867 chr5 + 179220985 179223513 179221081 179223395 5 179220985,179222584,179222786,179222941,179223253, 179221139,179222684,179222857,179223023,179223513, 0 LTC4S cmpl cmpl 0,1,2,1,2, 170 NM_145686 chr2 + 102314164 102511152 102314542 102507711 31 102314164,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102477286,102481391,102482889,102483673,102486083,102486756,102487955,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102477448,102481498,102483041,102483771,102486259,102486877,102488147,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,2,0,0,1,1,1,1,0,0,1,0, 1349 NM_001168682 chr7 - 100169852 100171270 100169909 100170791 6 100169852,100170276,100170482,100170728,100170919,100171219, 100170194,100170374,100170636,100170835,100171002,100171270, 0 SAP25 cmpl cmpl 0,1,0,0,-1,-1, 1145 NM_001281735 chr14 - 73436152 73453664 73437589 73448561 9 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73453604, 73437822,73440901,73441667,73442429,73444752,73444942,73445677,73448603,73453664, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,-1, 1778 NM_001099414 chr5 - 156456530 156485487 156456743 156484954 9 156456530,156459864,156464257,156469637,156476048,156479371,156482211,156484908,156485314, 156456852,156459898,156464372,156469693,156476156,156479665,156482544,156484966,156485487, 0 HAVCR1 cmpl cmpl 2,1,0,1,1,1,1,0,-1, 105 NM_181558 chr13 + 34392205 34540695 34392315 34540262 9 34392205,34395268,34398053,34399925,34403972,34404855,34405392,34409284,34540223, 34392402,34395406,34398121,34400023,34404154,34404992,34405491,34409354,34540695, 0 RFC3 cmpl cmpl 0,0,0,2,1,0,2,2,0, 21 NM_181552 chr7 + 101460881 101901513 101460919 101892322 24 101460881,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101839913,101842081,101843350,101844639,101847670,101848393,101870646,101877331,101882599,101891691, 101460949,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101840585,101842147,101843452,101845484,101847836,101848450,101870949,101877520,101882864,101901513, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,1,1,1,0,1,1,1,1,2, 969 NM_001258017 chr19 - 50392912 50432796 50392926 50404974 10 50392912,50394227,50394661,50397524,50398324,50399071,50404895,50407455,50430950,50432606, 50393857,50394364,50394730,50397726,50398437,50399310,50405078,50407578,50431072,50432796, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1,-1,-1, 1074 NM_001006944 chr11 + 64126624 64139687 64126707 64138952 17 64126624,64126849,64127634,64127948,64128605,64128940,64129113,64129323,64132772,64135603,64135957,64136175,64136917,64137170,64137696,64138034,64138754, 64126762,64126921,64127853,64128064,64128713,64129021,64129217,64129474,64132937,64135732,64136073,64136269,64137091,64137365,64137856,64138198,64139687, 0 RPS6KA4 cmpl cmpl 0,1,1,1,0,0,0,2,0,0,0,2,0,0,0,1,0, 1547 NM_182628 chr3 + 126113781 126155398 126114843 126155247 17 126113781,126114784,126126014,126132927,126135158,126137300,126137453,126137918,126138479,126138822,126138945,126142167,126142335,126151911,126153018,126154401,126155133, 126113821,126114892,126126095,126133022,126135351,126137368,126137617,126137999,126138661,126138864,126139072,126142219,126142487,126152047,126153224,126154495,126155398, 0 CCDC37 cmpl cmpl -1,0,1,1,0,1,0,2,2,1,1,2,0,2,0,2,0, 120 NM_003482 chr12 - 49412757 49449107 49415562 49449107 54 49412757,49415825,49416062,49416372,49418360,49418592,49419964,49421585,49421791,49422610,49422843,49423183,49424062,49424383,49424675,49424957,49427849,49428192,49428364,49428594,49430907,49433004,49433217,49433506,49435437,49435699,49435871,49436343,49436523,49436858,49437145,49437417,49437650,49437982,49438185,49438526,49439702,49439847,49440042,49440391,49441747,49442441,49442887,49443464,49444668,49446346,49446697,49446989,49447258,49447760,49448089,49448310,49448682,49449058, 49415655,49415934,49416136,49416658,49418491,49418729,49421105,49421713,49421924,49422741,49423019,49423259,49424222,49424551,49424816,49427747,49428082,49428259,49428449,49428718,49432772,49433141,49433400,49435318,49435488,49435773,49436113,49436428,49436661,49436969,49437211,49437565,49437781,49438087,49438305,49438748,49439750,49439957,49440207,49440573,49441852,49442552,49443001,49444573,49446207,49446492,49446855,49447104,49447424,49447923,49448199,49448534,49448809,49449107, 0 KMT2D cmpl cmpl 0,2,0,2,0,1,0,1,0,1,2,1,0,0,0,0,1,0,2,1,2,0,0,0,0,1,2,1,1,1,1,0,1,1,1,1,1,2,2,0,0,0,0,1,1,2,0,2,1,0,1,2,1,0, 1618 NM_001127387 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L7 cmpl cmpl 0,0, 1618 NM_001127387 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L7 cmpl cmpl 0,0, 117 NM_016593 chr6 - 46517316 46620567 46518102 46620319 12 46517316,46521503,46554813,46555770,46563723,46593154,46598699,46604125,46605565,46607230,46609899,46620142, 46518174,46521591,46554902,46555866,46563857,46593245,46598807,46604219,46605715,46607405,46610035,46620567, 0 CYP39A1 cmpl cmpl 0,2,0,0,1,0,0,2,2,1,0,0, 971 NR_024215 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A4 unk unk -1, 98 NM_019043 chr10 + 26727265 26856732 26781255 26856417 15 26727265,26727580,26781255,26785232,26789747,26792125,26800675,26802467,26822367,26825002,26830510,26849033,26849658,26851254,26855889, 26727384,26727782,26781327,26785320,26790040,26792203,26800835,26802589,26822454,26825146,26830621,26849132,26849773,26851358,26856732, 0 APBB1IP cmpl cmpl -1,-1,0,0,1,0,0,1,0,0,0,0,0,1,0, 1618 NM_033178 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4 cmpl cmpl 0,0, 1265 NM_001127214 chr16 + 89160216 89222254 89167089 89220615 10 89160216,89167069,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160404,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,0,0,0,2,1,0,1,1,2, 2127 NM_001127391 chr2 - 202153146 202222101 202153377 202216127 15 202153146,202154179,202154418,202163960,202172241,202173873,202195192,202195458,202207092,202208892,202211264,202212976,202215433,202216014,202221704, 202153504,202154289,202154508,202164023,202172345,202173973,202195245,202195556,202207154,202208986,202211398,202213025,202215505,202216174,202222101, 0 ALS2CR12 cmpl cmpl 2,0,0,0,1,0,1,2,0,2,0,2,2,0,-1, 145 NM_002440 chr1 + 76262555 76378923 76262670 76378572 20 76262555,76269415,76272665,76276381,76280705,76282057,76288093,76313893,76333198,76342620,76343833,76344676,76345734,76346930,76349305,76354935,76356380,76363591,76365302,76378380, 76262914,76269598,76272826,76276492,76280821,76282231,76288266,76313961,76333273,76342685,76344003,76344813,76345838,76347055,76349506,76355054,76356509,76363766,76365391,76378923, 0 MSH4 cmpl cmpl 0,1,1,0,0,2,2,1,0,0,2,1,0,2,1,1,0,0,1,0, 831 NM_001286475 chr6 - 32260474 32339689 32260757 32339483 24 32260474,32267698,32268456,32270385,32284170,32290262,32290893,32291367,32298365,32299810,32303213,32303688,32304391,32306755,32307376,32311014,32317516,32322900,32323425,32334049,32335701,32336558,32337673,32339470, 32261812,32267713,32268477,32270406,32284191,32290283,32290914,32291391,32298386,32299831,32303234,32303709,32304412,32306776,32307415,32311035,32317537,32322921,32323446,32334079,32335734,32336591,32337760,32339689, 0 C6orf10 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 591 NR_110179 chr2 - 895901 901137 901137 901137 4 895901,897247,897577,900905, 896138,897404,897645,901137, 0 AC113607.2 unk unk -1,-1,-1,-1, 928 NM_003278 chr3 + 45067758 45077563 45067854 45077416 3 45067758,45072318,45077015, 45067963,45072417,45077563, 0 CLEC3B cmpl cmpl 0,1,1, 144 NM_001270380 chr11 - 74551954 74660232 74554459 74651923 15 74551954,74555212,74556117,74559159,74562132,74617283,74618189,74632258,74638435,74641344,74644869,74647928,74651829,74656062,74659972, 74554498,74555328,74556316,74559507,74562248,74617501,74618318,74632392,74638533,74641417,74644917,74648113,74651927,74656130,74660232, 0 XRRA1 cmpl cmpl 0,1,0,0,1,2,2,0,1,0,0,1,0,-1,-1, 864 NM_145660 chr22 - 36585175 36600879 36587122 36598082 5 36585175,36591356,36595375,36598038,36600673, 36587958,36591483,36595422,36598101,36600879, 0 APOL4 cmpl cmpl 2,1,2,0,-1, 140 NM_139177 chr17 - 70642084 71088853 70643722 71084903 10 70642084,70644941,70645308,70732788,70845772,70943890,71027694,71080946,71084795,71088749, 70643801,70645100,70645407,70732858,70845943,70944014,71027853,71080985,71084914,71088853, 0 SLC39A11 cmpl cmpl 2,2,2,1,1,0,0,0,0,-1, 1547 NM_005573 chr5 + 126112314 126172712 126113200 126171956 11 126112314,126140467,126141262,126145871,126147464,126154613,126156601,126158472,126161679,126168385,126171914, 126113559,126140624,126141388,126146042,126147590,126154834,126156827,126158577,126161799,126168493,126172712, 0 LMNB1 cmpl cmpl 0,2,0,0,0,0,2,0,0,0,0, 1794 NM_032861 chr6 - 158530535 158589312 158532397 158579395 17 158530535,158534480,158535820,158537216,158538758,158540060,158541456,158549139,158551404,158564087,158565330,158567813,158569896,158571484,158576346,158579304,158589171, 158532534,158534624,158536003,158537314,158538853,158540202,158541607,158549302,158551518,158564216,158565452,158567945,158569986,158571621,158576383,158579396,158589312, 0 SERAC1 cmpl cmpl 1,1,1,2,0,2,1,0,0,0,1,1,1,2,1,0,-1, 154 NM_032856 chr15 - 85186011 85197521 85186700 85197505 8 85186011,85188701,85189414,85191120,85191767,85195944,85196862,85197464, 85186954,85189067,85189579,85191185,85191856,85196033,85196930,85197521, 0 WDR73 cmpl cmpl 1,1,1,2,0,1,2,0, 9 NM_139045 chr9 + 2015218 2193623 2029022 2192739 33 2015218,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2181570,2182140,2186095,2191265,2192703, 2015404,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2087071,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,0,0,1,0, 737 NM_001001722 chrY - 19990139 19992099 19990146 19991772 1 19990139, 19992099, 0 CDY2B cmpl cmpl 0, 738 NM_001001722 chrY + 20137667 20139627 20137994 20139620 1 20137667, 20139627, 0 CDY2B cmpl cmpl 0, 854 NM_138428 chr1 - 35315962 35325417 35321299 35321578 2 35315962,35325277, 35321583,35325417, 0 SMIM12 cmpl cmpl 0,-1, 172 NM_139173 chr4 - 103822084 103940896 103822273 103912868 12 103822084,103826670,103827692,103831595,103832587,103853280,103866349,103867803,103870413,103910956,103912799,103940755, 103822489,103826807,103827801,103831745,103832694,103853456,103866477,103867946,103870584,103911098,103912869,103940896, 0 SLC9B1 cmpl cmpl 0,1,0,0,1,2,0,1,1,0,0,-1, 1457 NM_001193431 chr1 - 114356432 114414375 114357526 114414245 21 114356432,114362198,114367763,114372213,114372570,114375732,114377014,114377531,114380211,114381165,114391161,114394648,114397092,114397528,114399003,114399169,114400359,114401099,114401623,114401973,114414158, 114357591,114362276,114367794,114372329,114372651,114375760,114377061,114377615,114381029,114381242,114391248,114394726,114397159,114397671,114399063,114399241,114400398,114401195,114401700,114402082,114414375, 0 PTPN22 cmpl cmpl 1,1,0,1,1,0,1,1,2,0,0,0,2,0,0,0,0,0,1,0,0, 36 NM_001284215 chr2 - 230628552 230744844 230632269 230744795 40 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230705537,230723487,230744697, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670599,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695555,230701700,230705643,230724290,230744844, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,1,2,0, 594 NR_024058 chr17 - 1247833 1303556 1303556 1303556 7 1247833,1257504,1264385,1265195,1268152,1273002,1303340, 1248793,1257641,1264592,1265302,1268352,1273035,1303556, 0 YWHAE unk unk -1,-1,-1,-1,-1,-1,-1, 1653 NM_001185091 chr9 + 140033608 140063214 140033938 140062294 20 140033608,140036464,140040177,140042603,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140062225, 140034196,140036599,140040354,140042666,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0, 1099 NM_001146112 chr1 + 67390577 67454302 67411879 67450583 15 67390577,67391824,67394611,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl -1,-1,-1,-1,0,0,0,1,0,1,0,1,0,2,1, 1282 NM_198527 chr15 - 91474147 91475799 91474772 91475770 4 91474147,91474933,91475284,91475658, 91474786,91475174,91475340,91475799, 0 HDDC3 cmpl cmpl 1,0,1,0, 159 NM_198526 chr15 + 90544751 90625432 90610369 90623061 5 90544751,90610341,90616302,90617347,90622891, 90544846,90611827,90616494,90617522,90625432, 0 ZNF710 cmpl cmpl -1,0,0,0,1, 956 NM_001144070 chr17 + 48712217 48745288 48712297 48745202 12 48712217,48733192,48734062,48734406,48735442,48735795,48736597,48738283,48741041,48741310,48742513,48744914, 48712342,48733369,48734188,48734544,48735568,48735857,48736729,48738475,48741219,48741472,48742606,48745288, 0 ABCC3 cmpl cmpl 0,0,0,0,0,0,2,2,2,0,0,0, 1027 NM_001144068 chr19 - 57980953 57988938 57984641 57988677 4 57980953,57987027,57988001,57988644, 57985789,57987154,57988040,57988938, 0 ZNF772 cmpl cmpl 1,0,0,0, 1114 NM_198512 chrX + 69397335 69425553 69397432 69424956 7 69397335,69419120,69419661,69420104,69421739,69424154,69424801, 69397517,69419231,69419732,69420309,69421914,69424366,69425553, 0 DGAT2L6 cmpl cmpl 0,1,1,0,1,2,1, 723 NM_138421 chr11 - 18101889 18127638 18101945 18127588 12 18101889,18102957,18105081,18108412,18108689,18110876,18111721,18111980,18113791,18118317,18124779,18127453, 18102038,18103050,18105278,18108601,18108772,18111057,18111837,18112040,18113871,18118401,18124893,18127638, 0 SAAL1 cmpl cmpl 0,0,1,1,2,1,2,2,0,0,0,0, 208 NM_001282857 chr3 - 142025448 142166904 142030352 142166786 41 142025448,142031439,142037433,142037631,142048275,142051216,142051808,142054289,142066075,142074242,142075753,142078703,142083888,142084151,142089326,142090080,142094639,142095320,142098923,142102141,142103364,142116170,142119285,142122515,142122710,142123748,142131385,142132976,142135981,142137345,142137656,142139857,142140317,142141423,142141676,142142401,142144063,142144270,142145585,142151502,142166711, 142030655,142031600,142037536,142037745,142048457,142051376,142051931,142054351,142066184,142074338,142075961,142078773,142084021,142084208,142089462,142090170,142094786,142095436,142099022,142102255,142103527,142116302,142119389,142122614,142122831,142123918,142131505,142133133,142136071,142137451,142137723,142139995,142140385,142141592,142141764,142142484,142144174,142144380,142145683,142151735,142166904, 0 XRN1 cmpl cmpl 0,1,0,0,1,0,0,1,0,0,2,1,0,0,2,2,2,0,0,0,2,2,0,0,2,0,0,2,2,1,0,0,1,0,2,0,0,1,2,0,0, 915 NM_001146036 chr18 + 43304091 43332485 43310285 43329916 11 43304091,43304914,43307296,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43304238,43304978,43307383,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl -1,-1,-1,0,1,2,2,0,1,1,0, 1744 NM_004909 chrX + 151927733 151928738 151927886 151928428 2 151927733,151928358, 151928149,151928738, 0 CSAG2 cmpl cmpl 0,2, 128 NM_006380 chr17 - 58520509 58603601 58524941 58603292 13 58520509,58529240,58531662,58533656,58538023,58539170,58539354,58541381,58543651,58556508,58571826,58577759,58603154, 58525195,58529406,58531853,58533742,58538148,58539276,58539422,58541471,58543820,58556632,58571978,58577848,58603601, 0 APPBP2 cmpl cmpl 1,0,1,2,0,2,0,0,2,1,2,0,0, 241 NM_181265 chr4 + 176986984 177103979 177032731 177100730 29 176986984,177032725,177036946,177041017,177046254,177049888,177052704,177056258,177058670,177061042,177063133,177067145,177069283,177070957,177071193,177071618,177072962,177077229,177081144,177082061,177083225,177084304,177089822,177093525,177094417,177095767,177098208,177098621,177100610, 176987230,177032854,177037130,177041248,177046506,177050011,177052889,177056427,177058762,177061125,177063220,177067310,177069486,177071107,177071324,177071744,177073118,177077294,177081277,177082153,177083325,177084444,177089934,177093667,177094520,177095869,177098307,177098805,177103979, 0 WDR17 cmpl cmpl -1,0,0,1,1,1,1,0,1,0,2,2,2,1,1,0,0,0,2,0,2,0,2,0,1,2,2,2,0, 1699 NM_021061 chr8 - 146102335 146126846 146106899 146115734 6 146102335,146112224,146114965,146115317,146115692,146126783, 146108221,146112287,146115079,146115459,146115788,146126846, 0 ZNF250 cmpl cmpl 1,1,1,0,0,-1, 874 NM_001242948 chr7 + 37960920 37991542 37960967 37989998 3 37960920,37988441,37989801, 37961053,37988650,37991542, 0 EPDR1 cmpl cmpl 0,2,1, 1069 NM_001159522 chr7 + 63505820 63538927 63505999 63538927 4 63505820,63529268,63529891,63537653, 63506002,63529395,63529987,63538927, 0 ZNF727 cmpl cmpl 0,0,1,1, 122 NM_147156 chr10 - 52065344 52383737 52066901 52103874 11 52065344,52067741,52071021,52086964,52103251,52193235,52220432,52226649,52279590,52349912,52383466, 52067081,52067908,52071175,52087082,52104105,52193316,52220574,52226692,52279681,52350007,52383737, 0 SGMS1 cmpl cmpl 0,1,0,2,0,-1,-1,-1,-1,-1,-1, 180 NM_147150 chr9 + 112542576 112934791 112542768 112930777 10 112542576,112629770,112642830,112686014,112687340,112694206,112778233,112898406,112918598,112930678, 112542813,112629851,112642961,112686129,112687362,112694308,112778319,112900819,112918777,112934791, 0 PALM2-AKAP2 cmpl cmpl 0,0,0,2,0,1,1,0,1,0, 946 NM_001654 chrX + 47420498 47431320 47422366 47430856 16 47420498,47422307,47422624,47424195,47424383,47424650,47426037,47426282,47426384,47426628,47428116,47428385,47428937,47429291,47430276,47430721, 47420650,47422462,47422728,47424298,47424538,47424749,47426179,47426310,47426530,47426831,47428293,47428432,47429056,47429423,47430411,47431320, 0 ARAF cmpl cmpl -1,0,0,2,0,2,2,0,1,0,2,2,1,0,0,0, 119 NM_001199162 chr3 - 49145478 49158371 49145844 49156578 27 49145478,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154491,49154899,49155089,49155379,49156454,49158188, 49145961,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153371,49153595,49153784,49154040,49154376,49154794,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,0,1,1,1,0,-1, 1007 NM_014796 chr12 - 55342086 55367516 55354952 55359868 9 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367516, 0 TESPA1 cmpl cmpl -1,0,1,2,0,-1,-1,-1,-1, 14 NM_001203251 chr17 + 43971747 44105699 44039703 44101537 10 43971747,44039686,44049224,44055740,44064405,44068825,44073764,44091608,44095983,44101321, 43972052,44039836,44049311,44055806,44064461,44068952,44074030,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,0,1,0,1,0, 923 NM_172006 chr20 - 44313289 44333658 44313468 44314631 4 44313289,44314540,44333135,44333556, 44313599,44314695,44333200,44333658, 0 WFDC10B cmpl cmpl 1,0,-1,-1, 144 NM_000428 chr14 - 74964885 75079034 74967586 75078647 36 74964885,74968143,74969355,74969921,74970171,74970628,74971480,74971685,74972750,74973400,74973881,74974675,74975306,74975532,74975940,74976436,74976793,74977947,74983524,74988613,74989492,74991826,74992777,74994049,74995185,74995660,74999128,75002628,75016565,75017766,75018889,75019594,75022205,75052556,75070337,75078153, 74967732,74968293,74969637,74970089,74970309,74970757,74971564,74971877,74972894,74973526,74974013,74974798,74975432,74975655,74976066,74976562,74976916,74978067,74983644,74988742,74989621,74991928,74992817,74994069,74995401,74995825,74999251,75002703,75016668,75018053,75019096,75019765,75022396,75052821,75070408,75079034, 0 LTBP2 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,2,1,2,0, 1698 NM_001244892 chrX - 145895621 145896249 145895724 145896241 2 145895621,145896109, 145895919,145896249, 0 CXorf51B cmpl cmpl 0,0, 1928 NR_030630 chr2 - 176032360 176032437 176032437 176032437 1 176032360, 176032437, 0 MIR933 unk unk -1, 820 NM_001202522 chr6 + 30856464 30867933 30856506 30867073 15 30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862364,30864790,30865155,30865849,30866664,30866932, 30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,1,2,0,1,2,0,1,1,0,0,2,2,0,0, 1183 NM_003991 chr13 - 78469615 78492966 78470576 78492708 7 78469615,78473993,78474655,78475192,78477290,78477629,78492225, 78470693,78474102,78474789,78475342,78477495,78477742,78492966, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0, 1503 NM_000187 chr3 - 120347014 120401418 120347226 120400958 14 120347014,120351993,120357301,120360435,120363165,120365113,120365819,120366723,120369620,120371438,120389273,120393747,120394638,120400943, 120347376,120352175,120357428,120360540,120363290,120365213,120365899,120366758,120369712,120371498,120389379,120393836,120394710,120401418, 0 HGD cmpl cmpl 0,1,0,0,1,0,1,2,0,0,2,0,0,0, 987 NM_175698 chrX + 52780279 52790617 52781757 52789521 8 52780279,52781737,52782264,52782914,52784876,52786930,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52789525,52790617, 0 SSX2 cmpl cmpl -1,0,0,1,1,0,1,-1, 987 NM_175698 chrX - 52725945 52736277 52727037 52734799 8 52725945,52727033,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52729628,52731680,52733642,52734292,52734819,52736277, 0 SSX2 cmpl cmpl -1,1,0,1,1,0,0,-1, 600 NM_172167 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030656,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030732,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 748 NM_033176 chr20 - 21376004 21378047 21376548 21378037 2 21376004,21377595, 21377171,21378047, 0 NKX2-4 cmpl cmpl 1,0, 1332 NR_103732 chr2 + 97944453 97957632 97957632 97957632 4 97944453,97950426,97950614,97957293, 97944481,97950522,97950744,97957632, 0 AC159540.1 unk unk -1,-1,-1,-1, 1013 NM_005811 chr12 + 56137063 56146665 56137100 56143666 3 56137063,56142369,56143285, 56137545,56142767,56146665, 0 GDF11 cmpl cmpl 0,1,0, 1778 NM_001173393 chr5 - 156456530 156485970 156456743 156484954 9 156456530,156459864,156464257,156469637,156476048,156479371,156482211,156484908,156485931, 156456852,156459898,156464372,156469693,156476156,156479665,156482544,156484966,156485970, 0 HAVCR1 cmpl cmpl 2,1,0,1,1,1,1,0,-1, 1865 NM_001167749 chr1 - 167778624 167883453 167778914 167868843 30 167778624,167779961,167787309,167791261,167792245,167793713,167793888,167798504,167802224,167803207,167805546,167806486,167814800,167815222,167817598,167823590,167825402,167829044,167830108,167839494,167844368,167847683,167849352,167849728,167852674,167863090,167865832,167868660,167871253,167883213, 167779076,167780150,167787505,167791379,167792361,167793810,167794093,167798661,167802400,167803315,167805778,167806556,167815091,167815501,167817727,167823727,167825677,167829131,167830301,167839648,167844424,167847873,167849429,167849847,167852866,167863179,167865929,167868866,167871292,167883453, 0 ADCY10 cmpl cmpl 0,0,2,1,2,1,0,2,0,0,2,1,1,1,1,2,0,0,2,1,2,1,2,0,0,1,0,0,-1,-1, 118 NM_001190274 chr2 - 48034058 48132932 48035256 48132859 23 48034058,48035467,48036296,48036738,48037454,48040372,48040929,48045917,48046094,48047500,48049356,48050281,48059487,48059710,48059907,48060102,48061717,48061926,48063010,48065997,48066557,48066780,48132627, 48035386,48035566,48036405,48036846,48037565,48040516,48041006,48046003,48046217,48047595,48049442,48050499,48059625,48059817,48060019,48060209,48061850,48062010,48063140,48066142,48066639,48066908,48132932, 0 FBXO11 cmpl cmpl 2,2,1,1,1,1,2,0,0,1,2,0,0,1,0,1,0,0,2,1,0,1,0, 1083 NM_021070 chr11 - 65306029 65325699 65306550 65325430 27 65306029,65306798,65307018,65307190,65307715,65307956,65308341,65308596,65309070,65310575,65310897,65313912,65314268,65314909,65315160,65315390,65318596,65318872,65319018,65319442,65319718,65320330,65320634,65320895,65321171,65321521,65325099, 65306702,65306930,65307099,65307352,65307853,65308085,65308425,65308764,65309199,65310695,65311020,65314035,65314391,65315038,65315292,65315516,65318695,65318945,65319035,65319628,65319877,65320453,65320727,65321001,65321374,65321851,65325699, 0 LTBP3 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0, 14 NM_001145107 chr12 - 44902057 45270633 44902716 45270508 21 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597,45270389, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269683,45270633, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,2,0, 1320 NM_000895 chr12 - 96394530 96429439 96394766 96429297 19 96394530,96396737,96397615,96400091,96402871,96406965,96407527,96408632,96409360,96410821,96411334,96412540,96412945,96414862,96415924,96418256,96421221,96422832,96429138, 96394884,96396842,96397698,96400187,96402926,96407036,96407631,96408777,96409472,96410892,96411358,96412681,96413018,96414915,96416029,96418325,96421342,96422963,96429439, 0 LTA4H cmpl cmpl 2,2,0,0,2,0,1,0,2,0,0,0,2,0,0,0,2,0,0, 1605 NM_080656 chr5 - 133737755 133747598 133738605 133747545 3 133737755,133745593,133747306, 133738617,133745693,133747598, 0 CDKN2AIPNL cmpl cmpl 0,2,0, 1 NM_206943 chr2 + 33172368 33624575 33172391 33623612 34 33172368,33173941,33245975,33335648,33359859,33411922,33413643,33442618,33447146,33468728,33477743,33482350,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33567904,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33172885,33174012,33246273,33335818,33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33568030,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,2,1,2,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 587 NM_001267559 chr5 + 271735 315089 271835 314533 4 271735,272825,304291,314531, 271936,272887,304336,315089, 0 PDCD6 cmpl cmpl 0,2,1,1, 587 NM_001267557 chr5 + 271735 315089 271835 314630 4 271735,272825,311407,314531, 271936,272887,311517,315089, 0 PDCD6 cmpl cmpl 0,2,1,0, 936 NM_176096 chr17 + 46048321 46059152 46048512 46058868 14 46048321,46048727,46050884,46051296,46051765,46052524,46052879,46053234,46054077,46055197,46056194,46057958,46058528,46058802, 46048518,46048773,46051016,46051397,46051814,46052703,46053019,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl 0,0,1,1,0,1,0,2,0,0,1,0,2,0, 127 NM_178237 chr4 + 56719815 56771244 56724489 56770661 18 56719815,56724479,56726576,56730392,56734501,56736843,56737266,56738014,56744082,56749988,56756388,56757480,56758800,56759717,56762882,56765850,56768509,56770508, 56719963,56724613,56726707,56730552,56734689,56737071,56737399,56738124,56744232,56750094,56756552,56757588,56758877,56759946,56763066,56766050,56768704,56771244, 0 EXOC1 cmpl cmpl -1,0,1,0,1,0,0,1,0,0,1,0,0,2,0,1,0,0, 141 NM_198716 chr1 - 71318035 71513491 71318521 71513260 4 71318035,71419445,71477987,71512363, 71318542,71419472,71478167,71513491, 0 PTGER3 cmpl cmpl 0,0,0,0, 141 NM_198714 chr1 - 71318035 71513491 71419468 71513260 5 71318035,71419445,71439979,71477987,71512363, 71318542,71419472,71440071,71478167,71513491, 0 PTGER3 cmpl cmpl -1,2,0,0,0, 935 NM_198691 chr21 - 45959067 45960078 45959184 45960033 1 45959067, 45960078, 0 KRTAP10-1 cmpl cmpl 0, 108 NM_001198910 chr13 - 36742344 36871992 36743170 36857743 16 36742344,36744667,36747828,36748612,36748858,36764082,36765931,36767757,36767942,36776015,36801484,36822742,36827939,36828181,36857728,36871773, 36743191,36744924,36747947,36748704,36749006,36764193,36766031,36767862,36768004,36776230,36801518,36822819,36827993,36828280,36857839,36871992, 0 CCDC169-SOHLH2 cmpl cmpl 0,1,2,0,2,2,1,1,2,0,2,0,0,0,0,-1, 1179 NM_001172086 chr8 - 77892493 77913280 77895496 77896414 5 77892493,77898422,77900542,77912225,77913118, 77896431,77898532,77900574,77912368,77913280, 0 PEX2 cmpl cmpl 0,-1,-1,-1,-1, 17 NM_004555 chr16 + 68119268 68263162 68119584 68248332 11 68119268,68155889,68160350,68191771,68200745,68208276,68215377,68217142,68224670,68248231,68260252, 68119687,68157024,68160513,68191971,68200918,68208417,68215433,68217269,68225678,68248335,68263162, 0 NFATC3 cmpl cmpl 0,1,2,0,2,1,1,0,1,1,-1, 991 NM_173352 chr12 - 53232745 53242778 53232896 53242714 9 53232745,53233236,53233547,53237876,53238342,53239980,53240547,53241690,53242330, 53233156,53233271,53233768,53238002,53238507,53240076,53240608,53241905,53242778, 0 KRT78 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1165 NM_152468 chr17 + 76126858 76139049 76127669 76137193 16 76126858,76127361,76127962,76128439,76128868,76129486,76129933,76130474,76130950,76133315,76133797,76134085,76134429,76134654,76135242,76136914, 76126932,76127818,76128111,76128589,76128951,76129623,76130081,76130645,76131090,76133439,76133895,76134269,76134560,76134813,76135321,76139049, 0 TMC8 cmpl cmpl -1,0,2,1,1,0,2,0,0,2,0,2,0,2,2,0, 1580 NM_001085347 chr9 - 130493802 130497628 130494312 130497549 5 130493802,130494842,130495663,130496577,130497398, 130494557,130494970,130495839,130496843,130497628, 0 TOR2A cmpl cmpl 1,2,0,1,0, 779 NR_031570 chr2 - 25551508 25551590 25551590 25551590 1 25551508, 25551590, 0 MIR1301 unk unk -1, 11 NM_178425 chr7 + 18535884 19036992 18535925 19035685 25 18535884,18624903,18629958,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835,18767202,18788627,18801779,18806728,18832967,18868783,18869083,18875089,18875522,18914100,18975431,18993768,19015428,19035645, 18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18706099,18767380,18788761,18801900,18806778,18833075,18868839,18869171,18875209,18875620,18914219,18975565,18993853,19015576,19036992, 0 HDAC9 cmpl cmpl 0,1,0,1,2,1,1,0,0,1,0,0,1,0,1,0,0,2,0,0,2,1,0,1,2, 656 NM_001242327 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L24 cmpl cmpl 0, 90 NM_001204147 chr7 + 18548899 18708466 18624974 18706150 10 18548899,18624903,18629967,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18549069,18625145,18630109,18631259,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,0,1,2,1,0,0,1,0, 621 NR_027148 chr19 + 4769116 4772568 4772568 4772568 3 4769116,4769641,4772175, 4769363,4769769,4772568, 0 MIR7-3HG unk unk -1,-1,-1, 1427 NM_172211 chr1 + 110453232 110473616 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110466681,110467397,110467768,110471473, 110453684,110457003,110458318,110460085,110464616,110466812,110467450,110467824,110473616, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,0,2,-1, 820 NM_001954 chr6 + 30851860 30867933 30856506 30867073 19 30851860,30852314,30853401,30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30864397,30864790,30865155,30865849,30866664,30866932, 30851922,30852487,30853457,30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl -1,-1,-1,0,1,2,0,1,2,0,1,1,0,1,0,2,2,0,0, 162 NM_001698 chr9 - 93976096 94124206 93976629 94124171 10 93976096,93978340,93979558,93983086,94058302,94060265,94087599,94118164,94118369,94123909, 93976707,93978388,93979609,93983274,94058359,94060358,94087686,94118252,94118437,94124206, 0 AUH cmpl cmpl 0,0,0,1,1,1,1,0,1,0, 1171 NM_003255 chr17 - 76849058 76921472 76851748 76921170 5 76849058,76853603,76866979,76869900,76921040, 76851946,76853728,76867088,76870001,76921472, 0 TIMP2 cmpl cmpl 0,1,0,1,0, 1016 NM_003075 chr12 - 56555635 56583351 56557472 56583245 28 56555635,56558086,56559101,56561843,56563312,56563559,56563927,56565054,56565462,56566211,56566368,56567479,56568434,56571805,56572187,56572593,56572780,56574760,56575265,56575487,56575787,56577644,56577958,56578627,56578813,56579938,56580970,56583134, 56557549,56558515,56559483,56561978,56563479,56563695,56563992,56565216,56565721,56566274,56566488,56567633,56568548,56571877,56572318,56572631,56572840,56574885,56575381,56575619,56575863,56577714,56578028,56578720,56578895,56580024,56581090,56583351, 0 SMARCC2 cmpl cmpl 1,1,0,0,1,0,1,1,0,0,0,2,2,2,0,1,1,2,0,0,2,1,0,0,2,0,0,0, 234 NR_104229 chr1 - 169101767 169337201 169337201 169337201 13 169101767,169138684,169159880,169199955,169204368,169206860,169256540,169267793,169272382,169279207,169292354,169293630,169336945, 169102055,169138792,169159943,169200057,169204437,169206925,169256646,169268001,169272433,169279318,169292521,169293738,169337201, 0 NME7 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1060 NM_016434 chr20 + 62289162 62327606 62290755 62327138 35 62289162,62290585,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62326833,62327606, 0 RTEL1 cmpl cmpl -1,0,0,1,2,0,1,2,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,1, 727 NM_017414 chr22 + 18632757 18660162 18640430 18659584 11 18632757,18640324,18642938,18644556,18650021,18650656,18652610,18653519,18655916,18656559,18659538, 18632989,18640587,18643035,18644702,18650101,18650803,18652706,18653687,18656048,18656609,18660162, 0 USP18 cmpl cmpl -1,0,1,2,1,0,0,0,0,0,2, 2042 NM_001164467 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L3 cmpl cmpl 0, 1618 NM_001164467 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L3 cmpl cmpl 0,0, 928 NM_001281460 chr20 - 44978166 44993097 44979032 44987145 11 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44991724,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987597,44991861,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1,-1, 708 NR_073459 chr22 + 16162065 16172265 16172265 16172265 3 16162065,16164481,16171951, 16162388,16164569,16172265, 0 BMS1P18 unk unk -1,-1,-1, 942 NR_047493 chr13 - 46870579 46871979 46871979 46871979 1 46870579, 46871979, 0 LINC00563 unk unk -1, 1766 NR_038945 chr7 - 154858778 154863267 154863267 154863267 2 154858778,154862743, 154860955,154863267, 0 HTR5A-AS1 unk unk -1,-1, 607 NR_038933 chr12 + 2945981 2968961 2968961 2968961 4 2945981,2950007,2967177,2968699, 2946122,2950161,2967497,2968961, 0 LOC100507424 unk unk -1,-1,-1,-1, 644 NM_001256871 chr8 - 7833914 7835507 7833914 7835507 1 7833914, 7835507, 0 USP17L3 cmpl cmpl 0, 1344 NM_014930 chr9 - 99518146 99540328 99521059 99538351 6 99518146,99525399,99525787,99537069,99538281,99540315, 99522759,99525495,99525914,99537128,99538527,99540328, 0 ZNF510 cmpl cmpl 1,1,0,1,0,-1, 90 NM_001257177 chr3 + 18004063 18310410 18004177 18308535 5 18004063,18055146,18058109,18082940,18308509, 18004186,18055266,18058203,18083033,18310410, 0 LOC339862 cmpl cmpl 0,0,0,1,1, 1352 NM_007129 chr13 + 100634025 100639019 100634318 100637936 3 100634025,100637199,100637576, 100635393,100637363,100639019, 0 ZIC2 cmpl cmpl 0,1,0, 591 NM_001166260 chr5 + 892968 909047 893113 908580 9 892968,894901,896779,900608,901455,904262,907244,908102,908469, 893205,895067,896909,900664,901546,904335,907308,908189,909047, 0 TRIP13 cmpl cmpl 0,2,0,1,0,1,2,0,0, 1349 NM_001163499 chr7 + 100187195 100198740 100187263 100198522 10 100187195,100187599,100187796,100189289,100190405,100192005,100192724,100193197,100197653,100198156, 100187266,100187698,100187980,100189525,100190640,100192164,100192846,100193329,100197824,100198740, 0 FBXO24 cmpl cmpl 0,0,0,1,0,1,1,0,0,0, 969 NR_109831 chr3 + 50374941 50375727 50375727 50375727 1 50374941, 50375727, 0 RASSF1-AS1 unk unk -1, 979 NM_015926 chr3 + 51705190 51738339 51708320 51738032 5 51705190,51708286,51718428,51733421,51737739, 51705304,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,0,1, 1776 NM_001272113 chr1 - 156213111 156217908 156213651 156214644 5 156213111,156214551,156215913,156216471,156217747, 156214194,156214702,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1, 1776 NM_001272112 chr1 - 156213111 156217908 156213651 156214644 5 156213111,156214551,156215572,156215913,156217747, 156214194,156214702,156215778,156216041,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1, 1776 NM_001272111 chr1 - 156213111 156217908 156213651 156214644 7 156213111,156214551,156214932,156215572,156215913,156216471,156217747, 156214194,156214702,156215029,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 956 NM_001135629 chr2 + 48667907 48742531 48668092 48741883 22 48667907,48678146,48681733,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48722817,48725631,48732702,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48722910,48725874,48732735,48734524,48737252,48738607,48742531, 0 PPP1R21 cmpl cmpl 0,0,0,0,0,0,2,1,0,0,0,2,1,1,0,0,0,0,0,0,0,0, 597 NM_001165920 chr17 + 1646319 1658559 1648289 1657828 10 1646319,1648285,1648468,1648626,1649001,1650312,1650602,1651891,1655879,1657415, 1646370,1648352,1648507,1648689,1649203,1650456,1650806,1652034,1656084,1658559, 0 SERPINF2 cmpl cmpl -1,0,0,0,0,1,1,1,0,1, 1105 NM_015346 chr14 - 68213236 68283306 68215152 68282680 42 68213236,68217768,68219060,68220423,68220787,68221767,68222664,68228082,68228919,68229388,68232943,68234420,68235233,68236310,68238763,68241732,68242576,68244275,68244842,68246957,68248049,68249496,68251050,68251775,68252574,68252830,68256051,68257288,68260324,68260887,68264388,68264730,68268795,68270817,68271933,68272170,68273261,68274114,68275916,68280702,68282486,68283250, 68215356,68217813,68219243,68220483,68220929,68221967,68222862,68228301,68229129,68229536,68233164,68234557,68235265,68236447,68238927,68241831,68242823,68244452,68244965,68247062,68248246,68250242,68251153,68251994,68252739,68252950,68256315,68257490,68260476,68260956,68264472,68265339,68268999,68270981,68272022,68272335,68273392,68274637,68276006,68280781,68282763,68283306, 0 ZFYVE26 cmpl cmpl 0,0,0,0,2,0,0,0,0,2,0,1,2,0,1,1,0,0,0,0,1,2,1,1,1,1,1,0,1,1,1,1,1,2,0,0,1,0,0,2,0,-1, 657 NM_006788 chr18 + 9475529 9538106 9513043 9535935 10 9475529,9512988,9516842,9522157,9524591,9525717,9530831,9533332,9533700,9535668, 9475689,9513287,9517301,9522507,9524753,9525849,9530939,9533454,9533824,9538106, 0 RALBP1 cmpl cmpl -1,0,1,1,0,0,0,0,2,0, 896 NM_001198980 chr1 + 40862471 40888998 40874327 40887773 10 40862471,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40862562,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl -1,-1,0,2,0,0,1,0,1,0, 187 NM_001198665 chr11 + 120207617 120360645 120207952 120355786 40 120207617,120276826,120278446,120291461,120292511,120295066,120298777,120300148,120300420,120302479,120308016,120310837,120312415,120312812,120316130,120317111,120317656,120318582,120318942,120319817,120322220,120327826,120328429,120328788,120329882,120331380,120335945,120337902,120339996,120343758,120345268,120346048,120347369,120347927,120348155,120348864,120350668,120351968,120355146,120355775, 120207984,120276850,120278532,120291560,120292561,120295124,120298956,120300226,120300540,120302620,120308091,120310930,120312526,120312911,120316173,120317217,120317794,120318615,120319057,120319923,120322433,120327959,120328465,120328943,120330029,120331466,120336071,120338017,120340097,120343836,120345344,120346216,120347457,120348014,120348235,120349098,120351139,120352285,120355216,120360645, 0 ARHGEF12 cmpl cmpl 0,2,2,1,1,0,1,0,0,0,0,0,0,0,0,1,2,2,2,0,1,1,2,2,1,1,0,0,1,0,0,1,1,2,2,1,1,1,0,1, 164 NM_001289075 chr10 + 96305523 96361856 96336551 96361379 21 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,2,0,0,0,0,1,2,1, 825 NM_002341 chr6 - 31548335 31550202 31548485 31550194 4 31548335,31549335,31549590,31550032, 31548940,31549407,31549636,31550202, 0 LTB cmpl cmpl 1,1,0,0, 1154 NR_108023 chr15 + 74610881 74628482 74628482 74628482 9 74610881,74622529,74623003,74623321,74623543,74625019,74626221,74627315,74627852, 74610999,74622695,74623092,74623453,74623637,74625186,74626308,74627751,74628482, 0 CCDC33 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 240 NM_001130705 chr4 + 175839508 175899331 175896676 175899139 3 175839508,175852136,175896496, 175839622,175852325,175899331, 0 ADAM29 cmpl cmpl -1,-1,0, 240 NM_001130704 chr4 + 175839508 175899331 175896676 175899139 4 175839508,175852136,175858083,175896496, 175839622,175852325,175858164,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,0, 1024 NR_037930 chr20 - 57603732 57617901 57617901 57617901 6 57603732,57605357,57610026,57611525,57611744,57617753, 57603896,57605484,57610181,57611628,57611815,57617901, 0 SLMO2-ATP5E unk unk -1,-1,-1,-1,-1,-1, 1024 NR_037929 chr20 - 57603732 57617901 57617901 57617901 8 57603732,57605357,57610026,57611525,57611744,57612245,57613520,57617753, 57603896,57605484,57610181,57611628,57611815,57612335,57613689,57617901, 0 SLMO2-ATP5E unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1608 NM_001163438 chrX + 134124967 134126503 134125125 134125377 1 134124967, 134126503, 0 SMIM10 cmpl cmpl 0, 1776 NM_001272110 chr1 - 156213111 156217908 156213651 156214644 7 156213111,156214551,156214932,156215572,156215913,156216471,156217705, 156214194,156214702,156215029,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1776 NM_001272109 chr1 - 156213111 156217908 156213651 156214644 5 156213111,156214551,156214932,156215572,156217747, 156214194,156214702,156215029,156216041,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1, 1776 NM_001272108 chr1 - 156213111 156217908 156213919 156216522 6 156213111,156214551,156214932,156215913,156216471,156217747, 156214194,156214702,156215029,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,0,0,-1, 1776 NM_001272107 chr1 - 156213111 156217908 156213919 156215639 7 156213111,156214551,156214932,156215325,156215572,156216471,156217705, 156214194,156214702,156215029,156215452,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,0,-1,-1, 1776 NM_001272106 chr1 - 156213111 156217908 156213651 156215437 6 156213111,156214480,156214932,156215325,156215572,156217747, 156214194,156214580,156215029,156215452,156216041,156217908, 0 PAQR6 cmpl cmpl 0,2,1,0,-1,-1, 1021 NM_024946 chr16 - 57186377 57219976 57188201 57207766 7 57186377,57197912,57201004,57206162,57206687,57207639,57219732, 57188419,57197977,57201138,57206284,57206786,57207781,57219976, 0 FAM192A cmpl cmpl 1,2,0,1,1,0,-1, 912 NM_015703 chr22 - 42904340 42915829 42908915 42915792 7 42904340,42910111,42910687,42911156,42912016,42914010,42915719, 42909001,42910310,42910785,42911274,42912142,42914153,42915829, 0 RRP7A cmpl cmpl 1,0,1,0,0,1,0, 1657 NM_020957 chr5 + 140561264 140565796 140562134 140564465 1 140561264, 140565796, 0 PCDHB16 cmpl cmpl 0, 1073 NM_001282941 chr10 - 63997908 64028622 63999402 64028369 5 63997908,64000900,64005757,64022383,64028309, 63999524,64000954,64005816,64022580,64028622, 0 RTKN2 cmpl cmpl 1,1,2,0,0, 971 NR_024225 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A11 unk unk -1, 954 NR_024223 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A5 unk unk -1, 954 NR_024221 chr19 + 48453552 48453671 48453671 48453671 1 48453552, 48453671, 0 SNAR-C3 unk unk -1, 267 NM_001114132 chr2 + 203879601 204082717 203881107 204082077 55 203879601,203880878,203906487,203914536,203921149,203922048,203933115,203942474,203947941,203949185,203964351,203972142,203972330,203974872,203976701,203977737,203980707,203986976,203990074,203990682,203991279,203991546,203992503,203995040,203996695,203997780,204000399,204001321,204002884,204003342,204009322,204009733,204013713,204016187,204022421,204030871,204031949,204034469,204036650,204037451,204039869,204045104,204048001,204053194,204055014,204058517,204062024,204064060,204066265,204067409,204073359,204073883,204075680,204078240,204081975, 203879705,203881158,203906579,203914698,203921231,203922176,203933198,203942560,203948248,203949292,203964435,203972241,203972911,203975005,203976821,203978041,203980793,203987066,203990243,203990816,203991439,203991649,203992660,203995199,203996855,203997869,204000975,204001497,204003038,204003471,204009628,204009883,204013871,204016312,204022548,204031020,204032083,204034574,204036746,204037576,204040010,204045235,204048111,204053312,204055112,204058634,204062114,204064170,204066438,204067504,204073476,204074045,204075829,204078376,204082717, 0 NBEAL1 cmpl cmpl -1,0,0,2,2,0,2,1,0,1,0,0,0,2,0,0,1,0,0,1,0,1,2,0,0,1,0,0,2,0,0,0,0,2,1,2,1,0,0,0,2,2,1,0,1,0,0,0,2,1,0,0,0,2,0, 898 NM_003573 chr19 + 41099071 41135725 41099071 41135455 33 41099071,41105102,41105307,41105973,41110940,41111310,41111634,41112138,41112309,41113270,41114125,41114389,41115435,41115651,41116437,41117057,41117764,41117978,41118970,41119309,41119821,41120220,41122794,41123005,41125251,41128305,41128854,41129508,41129840,41131761,41132879,41133609,41135300, 41099087,41105161,41105462,41106083,41111132,41111558,41111737,41112213,41112432,41113435,41114275,41114509,41115567,41115777,41116563,41117300,41117890,41118098,41119102,41119435,41119944,41120352,41122926,41123130,41125398,41128572,41128926,41129637,41129987,41131914,41133260,41133762,41135725, 0 LTBP4 cmpl cmpl 0,1,0,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 890 NM_052935 chr17 - 39981333 39992523 39981774 39992445 9 39981333,39983677,39985041,39987052,39988643,39991321,39991454,39992110,39992433, 39981909,39983878,39985204,39987142,39988729,39991368,39991524,39992209,39992523, 0 NT5C3B cmpl cmpl 0,0,2,2,0,1,0,0,0, 1650 NM_203347 chr9 - 139654085 139658965 139656270 139658940 7 139654085,139656238,139656639,139657808,139658164,139658321,139658844, 139654235,139656305,139656741,139657919,139658235,139658461,139658965, 0 LCN15 cmpl cmpl -1,1,1,1,2,0,0, 152 NM_001077206 chr4 - 83739813 83812412 83740226 83803089 26 83739813,83742189,83745707,83748521,83750152,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 1354 NM_178176 chr7 - 100839011 100844302 100839226 100844135 7 100839011,100839467,100841471,100841906,100843514,100843688,100844026, 100839381,100839670,100841646,100842111,100843585,100843796,100844302, 0 MOGAT3 cmpl cmpl 1,2,1,0,1,1,0, 968 NM_006841 chr3 + 50242691 50258406 50251632 50257609 16 50242691,50251581,50251833,50252084,50252817,50252975,50253171,50254669,50254846,50255107,50255348,50255701,50256024,50256235,50257312,50257504, 50242781,50251733,50251915,50252200,50252891,50253068,50253253,50254752,50254905,50255272,50255428,50255802,50256149,50256380,50257416,50258406, 0 SLC38A3 cmpl cmpl -1,0,2,0,2,1,1,2,1,0,0,2,1,0,1,0, 923 NM_080614 chr20 - 44402846 44420547 44403066 44418614 7 44402846,44404055,44405713,44416474,44417569,44418532,44420470, 44403083,44404241,44405848,44416621,44417698,44418621,44420547, 0 WFDC3 cmpl cmpl 1,1,1,1,1,0,-1, 224 NM_207118 chr6 + 158589378 158620376 158591535 158613189 3 158589378,158591501,158613008, 158589427,158591570,158620376, 0 GTF2H5 cmpl cmpl -1,0,2, 1189 NM_138570 chr17 - 79224670 79269139 79225014 79268721 14 79224670,79225994,79226872,79234037,79244717,79246315,79249768,79250830,79254408,79255988,79257208,79258649,79263490,79268622, 79225412,79226483,79227040,79234194,79244824,79246427,79249951,79250933,79254533,79256132,79257302,79258695,79263608,79269139, 0 SLC38A10 cmpl cmpl 1,1,1,0,1,0,0,2,0,0,2,1,0,0, 1183 NM_001122659 chr13 - 78469615 78492966 78472334 78492708 7 78469615,78473993,78474655,78475192,78477290,78477629,78492225, 78472469,78474102,78474789,78475342,78477495,78477742,78492966, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0, 158 NR_003228 chr16 + 90038987 90067195 90067195 90067195 13 90038987,90044046,90045217,90046649,90048180,90050938,90055259,90057273,90059128,90060175,90066231,90066510,90066856, 90039173,90044210,90045286,90046744,90048331,90051007,90055359,90057411,90059236,90060301,90066432,90066705,90067195, 0 AFG3L1P unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1156 NM_007265 chr10 - 74894281 74927853 74894340 74923695 14 74894281,74896461,74897760,74899066,74899388,74906033,74908033,74912050,74914013,74916032,74916325,74920191,74923490,74927623, 74894571,74896676,74897828,74899253,74899495,74906119,74908162,74912179,74914206,74916211,74916413,74920309,74923708,74927853, 0 ECD cmpl cmpl 0,1,2,1,2,0,0,0,2,0,2,1,0,-1, 75 NM_001242672 chr1 - 2572806 2706230 2572806 2706156 7 2572806,2575702,2576731,2700153,2702383,2704045,2706067, 2573334,2575917,2577002,2700320,2702588,2704271,2706230, 0 TTC34 cmpl cmpl 0,1,0,1,0,2,0, 665 NM_007333 chr12 - 10568182 10573194 10568206 10573149 6 10568182,10569265,10570942,10571642,10572464,10572962, 10568393,10569366,10571097,10571687,10572563,10573194, 0 KLRC3 cmpl cmpl 2,0,1,1,1,0, 141 NM_005909 chr5 + 71403117 71505397 71403358 71501066 7 71403117,71411524,71479569,71482440,71489692,71499389,71500910, 71403542,71411626,71479652,71482581,71496194,71499628,71505397, 0 MAP1B cmpl cmpl 0,1,1,0,0,1,0, 144 NM_001278244 chr9 - 74966340 74979508 74970868 74975694 6 74966340,74971846,74974333,74975025,74975543,74979377, 74971017,74971972,74974437,74975137,74975703,74979508, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1, 144 NM_001278243 chr9 - 74966340 74979508 74970868 74975694 7 74966340,74971846,74974333,74975025,74975543,74978385,74979377, 74971017,74971972,74974437,74975137,74975703,74978522,74979508, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1,-1, 906 NM_001556 chr8 + 42128819 42190171 42129618 42188497 22 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB cmpl cmpl -1,0,0,2,0,1,0,0,2,2,0,0,1,2,1,0,2,1,2,0,2,0, 1351 NM_012243 chr1 + 100435344 100492534 100459110 100488032 8 100435344,100459092,100464816,100472589,100476920,100480857,100483237,100487941, 100435718,100459297,100464971,100472712,100477089,100480976,100483371,100492534, 0 SLC35A3 cmpl cmpl -1,0,1,0,0,1,0,2, 954 NM_001256965 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481397, 48474576,48475386,48476425,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 834 NM_020056 chr6 + 32709162 32714664 32709220 32714171 5 32709162,32712935,32713567,32714016,32714358, 32709302,32713184,32713849,32714191,32714664, 0 HLA-DQA2 cmpl cmpl 0,1,1,1,-1, 968 NM_000172 chr3 + 50229042 50235129 50229158 50232388 9 50229042,50230565,50230697,50230938,50231185,50231524,50231933,50232197,50233834, 50229264,50230608,50230839,50231096,50231314,50231654,50232087,50232389,50235129, 0 GNAT1 cmpl cmpl 0,1,2,0,2,2,0,1,-1, 864 NM_030643 chr22 - 36585175 36600879 36587122 36597780 6 36585175,36591356,36595375,36597745,36598038,36600673, 36587958,36591483,36595422,36597934,36598101,36600879, 0 APOL4 cmpl cmpl 2,1,2,0,-1,-1, 1321 NM_001159749 chr5 - 96502449 96519005 96503142 96518895 8 96502449,96504463,96506909,96508878,96512819,96513435,96514758,96518829, 96503695,96504556,96507101,96508967,96512995,96513552,96514897,96519005, 0 RIOK2 cmpl cmpl 2,2,2,0,1,1,0,0, 1193 NM_014733 chr5 + 79703831 79775688 79729966 79773196 18 79703831,79729927,79732574,79735754,79738941,79741081,79743844,79745409,79746249,79747303,79751510,79752279,79752763,79755232,79768579,79769572,79770481,79773037, 79703972,79730036,79734826,79735851,79739103,79741224,79744223,79745532,79746405,79747528,79751593,79752384,79752911,79755313,79768742,79769678,79770649,79775688, 0 ZFYVE16 cmpl cmpl -1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 1501 NM_001080138 chrX - 120096880 120100198 120098189 120099943 3 120096880,120098158,120099201, 120097020,120098314,120100198, 0 CT47A9 cmpl cmpl -1,1,0, 91 NM_001145785 chr19 - 19256375 19281098 19256605 19261544 9 19256375,19257081,19257363,19257550,19257844,19258506,19260034,19261490,19281013, 19256831,19257193,19257457,19257684,19257992,19258641,19260238,19261573,19281098, 0 MEF2B cmpl cmpl 2,1,0,1,0,0,0,0,-1, 180 NM_032494 chr2 - 112973438 113012664 112988494 113012558 9 112973438,112988479,112989414,112990834,112991696,112994138,112995891,113007767,113012484, 112974045,112988527,112989522,112990948,112991813,112994272,112996105,113007849,113012664, 0 ZC3H8 cmpl cmpl -1,0,0,0,0,1,0,2,0, 825 NM_009588 chr6 - 31548335 31550202 31549335 31550194 3 31548335,31549335,31550032, 31548940,31549407,31550202, 0 LTB cmpl cmpl -1,0,0, 87 NM_001190726 chr12 - 15260715 15374411 15262043 15370423 4 15260715,15264277,15370362,15374128, 15262451,15264351,15370537,15374411, 0 RERG cmpl cmpl 0,1,0,-1, 832 NM_001193515 chr2 + 32390909 32449181 32390969 32445782 13 32390909,32399131,32400387,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32434561,32445281, 32390972,32399216,32400430,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32434630,32449181, 0 SLC30A6 cmpl cmpl 0,0,1,2,2,2,2,1,2,2,0,0,0, 1768 NM_018845 chr1 + 155108287 155111334 155108387 155110757 6 155108287,155108774,155109303,155110036,155110454,155110655, 155108467,155108852,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,2,2,0,0,0, 1659 NM_032402 chr5 + 140855568 140858362 140855683 140858275 1 140855568, 140858362, 0 PCDHGC3 cmpl cmpl 0, 137 NM_018296 chr16 + 67360746 67419109 67360765 67418992 14 67360746,67375859,67380158,67381397,67384104,67397492,67399206,67400919,67404846,67409149,67410629,67412491,67416035,67418772, 67360835,67375987,67380351,67381494,67384193,67397617,67399258,67401360,67405145,67409315,67410775,67412615,67416150,67419109, 0 LRRC36 cmpl cmpl 0,1,0,1,2,1,0,1,1,0,1,0,1,2, 11 NM_058176 chr7 + 18535884 18993939 18535925 18993876 23 18535884,18624903,18629967,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835,18767202,18788627,18801779,18806728,18832967,18868783,18869083,18875089,18875522,18914100,18975431,18993768, 18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18706099,18767380,18788761,18801900,18806778,18833075,18868839,18869171,18875209,18875620,18914219,18975565,18993939, 0 HDAC9 cmpl cmpl 0,1,0,1,2,1,1,0,0,1,0,0,1,0,1,0,0,2,0,0,2,1,0, 956 NM_184231 chr3 - 48711271 48723366 48711976 48723240 13 48711271,48715996,48716309,48716487,48716809,48717007,48717233,48717491,48718719,48719477,48719780,48720335,48723069, 48712180,48716169,48716402,48716616,48716890,48717146,48717320,48717662,48719213,48719568,48719985,48720445,48723366, 0 NCKIPSD cmpl cmpl 0,1,1,1,1,0,0,0,1,0,2,0,0, 1234 NR_027379 chr1 - 85093912 85100703 85100703 85100703 3 85093912,85097292,85100614, 85096570,85097429,85100703, 0 C1orf180 unk unk -1,-1,-1, 111 NM_001284424 chr3 + 39851150 40301811 39942307 40299657 16 39851150,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,0,2,2,1,1,0,0,0,1,0,0,0,0,1,0, 949 NR_036158 chr19 + 47730198 47730278 47730278 47730278 1 47730198, 47730278, 0 MIR3190 unk unk -1, 726 NR_036156 chr19 + 18497371 18497444 18497444 18497444 1 18497371, 18497444, 0 MIR3189 unk unk -1, 725 NR_036155 chr19 + 18392886 18392971 18392971 18392971 1 18392886, 18392971, 0 MIR3188 unk unk -1, 591 NR_036154 chr19 + 813583 813653 813653 813653 1 813583, 813653, 0 MIR3187 unk unk -1, 698 NR_036153 chr18 + 14830164 14830241 14830241 14830241 1 14830164, 14830241, 0 MIR3156-2 unk unk -1, 1190 NR_036152 chr17 - 79418129 79418214 79418214 79418214 1 79418129, 79418214, 0 MIR3186 unk unk -1, 802 NR_036149 chr17 - 28444103 28444178 28444178 28444178 1 28444103, 28444178, 0 MIR3184 unk unk -1, 592 NR_036148 chr17 - 925715 925799 925799 925799 1 925715, 925799, 0 MIR3183 unk unk -1, 1222 NR_036147 chr16 + 83541950 83542013 83542013 83542013 1 83541950, 83542013, 0 MIR3182 unk unk -1, 973 NM_001185011 chr22 + 50946644 50963209 50946766 50961804 20 50946644,50954875,50955855,50956005,50956169,50956401,50956561,50957077,50957618,50959393,50959971,50960169,50960414,50960609,50960771,50960926,50961099,50961249,50961445,50961663, 50946874,50954977,50955911,50956090,50956238,50956481,50956707,50957161,50957749,50959465,50960038,50960277,50960468,50960680,50960844,50960998,50961149,50961351,50961595,50963209, 0 NCAPH2 cmpl cmpl 0,0,0,2,0,0,2,1,1,0,0,1,1,1,0,1,1,0,0,0, 597 NM_001165921 chr17 + 1646129 1658559 1648289 1657828 9 1646129,1648285,1648468,1648626,1650312,1650602,1651891,1655879,1657415, 1646202,1648352,1648507,1648699,1650456,1650806,1652034,1656084,1658559, 0 SERPINF2 cmpl cmpl -1,0,0,0,1,1,1,0,1, 828 NM_181842 chr6 - 31867393 31869769 31867702 31869082 2 31867393,31869613, 31869102,31869769, 0 ZBTB12 cmpl cmpl 0,-1, 821 NM_001243225 chr22 - 30972611 30987927 30973032 30987820 15 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30987796, 30973116,30974985,30975290,30975922,30976165,30976673,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30987927, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,2,0,2,0,0, 659 NR_046447 chr12 + 9800642 9811010 9811010 9811010 4 9800642,9806278,9808468,9809516, 9800924,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 659 NR_046446 chr12 + 9800642 9811010 9811010 9811010 5 9800642,9806278,9808468,9809163,9809516, 9800924,9806404,9808575,9809245,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 659 NR_046445 chr12 + 9800642 9811010 9811010 9811010 5 9800642,9806278,9808468,9809163,9809516, 9800924,9806404,9808575,9809293,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 659 NR_046444 chr12 + 9800642 9811010 9811010 9811010 5 9800642,9806278,9807816,9808468,9809516, 9801529,9806404,9807899,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 845 NM_198398 chr20 + 34129777 34145405 34129846 34145275 14 34129777,34130071,34130261,34130570,34135162,34136261,34136560,34142142,34142814,34143803,34143977,34144743,34144964,34145195, 34129934,34130142,34130349,34130690,34135256,34136427,34136618,34142157,34142846,34143900,34144042,34144880,34145020,34145405, 0 ERGIC3 cmpl cmpl 0,1,0,1,1,2,0,1,1,0,1,0,2,1, 953 NM_001271703 chr10 + 48255203 48271368 48255428 48270515 10 48255203,48262167,48263039,48263789,48264357,48264963,48265296,48267170,48267977,48270455, 48255449,48262281,48263130,48263869,48264417,48265057,48265392,48267229,48268100,48271368, 0 ANXA8 cmpl cmpl 0,0,0,1,0,0,1,1,0,0, 778 NR_001291 chr15 + 25415869 25415951 25415951 25415951 1 25415869, 25415951, 0 SNORD115-1 unk unk -1, 1669 NM_001282859 chr3 - 142136683 142166904 142137311 142166786 12 142136683,142137656,142139857,142140317,142141423,142141676,142142401,142144063,142144270,142145585,142151502,142166711, 142137451,142137723,142139995,142140385,142141592,142141764,142142484,142144174,142144380,142145683,142151735,142166904, 0 XRN1 cmpl cmpl 1,0,0,1,0,2,0,0,1,2,0,0, 734 NR_026852 chr13 + 19582398 19586774 19586774 19586774 4 19582398,19583413,19585572,19585819, 19583279,19583583,19585704,19586774, 0 LINC00442 unk unk -1,-1,-1,-1, 886 NM_001136275 chr1 + 39456915 39471737 39457052 39469727 4 39456915,39463842,39469018,39469716, 39457272,39463983,39469090,39471737, 0 AKIRIN1 cmpl cmpl 0,1,1,1, 600 NM_001267721 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030641,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030729,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 1447 NM_198581 chr2 + 113033177 113097640 113033571 113090065 12 113033177,113057425,113060805,113067461,113069380,113074046,113074797,113079332,113080225,113081728,113082540,113088581, 113033603,113057606,113060928,113067738,113069514,113074163,113074909,113079442,113080479,113082240,113082774,113097640, 0 ZC3H6 cmpl cmpl 0,2,0,0,1,0,0,1,0,2,1,1, 838 NM_005452 chr6 - 33246879 33257304 33247052 33256947 15 33246879,33247273,33247540,33248204,33248450,33254571,33254867,33255131,33255390,33255741,33255924,33256134,33256390,33256580,33256878, 33247151,33247387,33247636,33248299,33248764,33254671,33255003,33255282,33255495,33255803,33256012,33256247,33256471,33256790,33257304, 0 WDR46 cmpl cmpl 0,0,0,1,2,1,0,2,2,0,2,0,0,0,0, 30 NM_201569 chr1 + 183441505 183523328 183441755 183522336 23 183441505,183481971,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183516237,183518342,183518898,183519885,183520179,183522111, 183441784,183482003,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511499,183513632,183514447,183515472,183516387,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl 0,2,1,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,0,1,1,0, 1347 NM_004951 chr13 - 99946788 99959749 99947313 99948399 2 99946788,99959593, 99948417,99959749, 0 GPR183 cmpl cmpl 0,-1, 831 NM_001286474 chr6 - 32260474 32339689 32260757 32339483 26 32260474,32267698,32268456,32270385,32283548,32284170,32290262,32290893,32291367,32298365,32299810,32303213,32303688,32304391,32306755,32307376,32311014,32317516,32322900,32323425,32333943,32334049,32335701,32336558,32337673,32339470, 32261812,32267713,32268477,32270406,32283569,32284191,32290283,32290914,32291391,32298386,32299831,32303234,32303709,32304412,32306776,32307415,32311035,32317537,32322921,32323446,32333964,32334079,32335734,32336591,32337760,32339689, 0 C6orf10 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 953 NR_024193 chr17 - 48248788 48249837 48249837 48249837 1 48248788, 48249837, 0 HILS1 unk unk -1, 953 NR_024192 chr17 - 48248788 48249837 48249837 48249837 2 48248788,48249538, 48249392,48249837, 0 HILS1 unk unk -1,-1, 146 NM_003664 chr5 - 77298149 77590579 77298725 77590403 27 77298149,77311233,77316515,77330184,77334866,77385216,77396776,77406030,77409575,77411949,77423853,77424944,77436966,77452081,77458642,77461433,77471449,77471607,77473162,77477330,77511878,77521365,77523195,77523967,77536685,77563343,77590275, 77298879,77311372,77316613,77330269,77335098,77385323,77396849,77406178,77409747,77412058,77423984,77425131,77437143,77452191,77458775,77461496,77471521,77471662,77473260,77477486,77512061,77521432,77523356,77524063,77536760,77563419,77590579, 0 AP3B1 cmpl cmpl 2,1,2,1,0,1,0,2,1,0,1,0,0,1,0,0,0,2,0,0,0,2,0,0,0,2,0, 155 NM_000840 chr7 + 86273229 86494192 86394461 86493671 6 86273229,86394321,86415576,86468154,86479685,86493597, 86274188,86394929,86416432,86469221,86479860,86494192, 0 GRM3 cmpl cmpl -1,0,0,1,0,1, 656 NM_001242332 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L29 cmpl cmpl 0, 656 NM_001242332 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L29 cmpl cmpl 0, 647 NM_016492 chr17 + 8191968 8193409 8192106 8193254 5 8191968,8192273,8192575,8192820,8193130, 8192183,8192390,8192732,8192906,8193409, 0 RANGRF cmpl cmpl 0,2,2,0,2, 954 NM_001256966 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481397, 48474576,48475281,48476425,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 864 NM_001270896 chr1 - 36602169 36615115 36602803 36605671 5 36602169,36603396,36605320,36605669,36614692, 36602923,36603579,36605420,36605767,36615115, 0 TRAPPC3 cmpl cmpl 0,0,2,0,-1, 1063 NM_018419 chr20 - 62679078 62680979 62679518 62680869 2 62679078,62680511, 62680315,62680979, 0 SOX18 cmpl cmpl 1,0, 809 NM_052967 chr6 - 29454542 29455679 29454542 29455679 1 29454542, 29455679, 0 MAS1L cmpl cmpl 0, 3 NM_001029884 chr6 + 150920998 151164799 151054817 151162032 17 150920998,150971863,151054719,151089773,151107525,151116991,151121854,151125745,151130240,151130516,151130783,151139318,151140814,151142330,151144789,151151717,151160968, 150921153,150971922,151055228,151089874,151107595,151117038,151122005,151125877,151130423,151130612,151130870,151139352,151140910,151142369,151144812,151153341,151164799, 0 PLEKHG1 cmpl cmpl -1,-1,0,0,2,0,2,0,0,0,0,0,1,1,1,0,1, 1102 NM_002496 chr11 + 67798083 67804114 67799618 67804060 7 67798083,67799618,67799752,67800389,67800577,67803719,67803928, 67798200,67799676,67799803,67800479,67800750,67803848,67804114, 0 NDUFS8 cmpl cmpl -1,0,1,1,1,0,0, 164 NM_017599 chr12 + 95611521 95696566 95611626 95694449 12 95611521,95645715,95650925,95656681,95660132,95663826,95668517,95676088,95681439,95688047,95689826,95693940, 95611662,95645847,95651015,95656857,95660408,95663964,95668665,95676420,95681633,95688148,95690034,95696566, 0 VEZT cmpl cmpl 0,0,0,0,2,2,2,0,2,1,0,1, 172 NM_017619 chr1 + 104068577 104097859 104068692 104094402 15 104068577,104070316,104076360,104077395,104077951,104078747,104079963,104083971,104085917,104087562,104088869,104089598,104093562,104094342,104097655, 104068884,104070364,104076479,104077479,104078063,104078816,104080106,104084097,104086069,104087724,104088964,104089657,104093695,104094414,104097859, 0 RNPC3 cmpl cmpl 0,0,0,2,2,0,0,2,2,1,1,0,2,0,-1, 983 NM_133367 chr6 + 52226925 52272575 52268011 52269076 2 52226925,52267959, 52227047,52272575, 0 PAQR8 cmpl cmpl -1,0, 1017 NM_001135195 chr12 + 56624500 56631629 56625058 56631515 11 56624500,56624987,56626472,56628607,56628940,56629343,56630179,56630365,56630714,56630933,56631371, 56624657,56625345,56626656,56628770,56629110,56629484,56630276,56630530,56630795,56631124,56631629, 0 SLC39A5 cmpl cmpl -1,0,2,0,1,0,0,1,1,1,0, 1179 NM_001172087 chr8 - 77892493 77913280 77895496 77896414 3 77892493,77912225,77913118, 77896431,77912368,77913280, 0 PEX2 cmpl cmpl 0,-1,-1, 222 NM_138400 chr7 + 156742416 156765876 156742431 156762397 11 156742416,156745167,156746796,156752544,156754844,156755701,156756598,156758963,156759654,156761780,156762222, 156743418,156745292,156746992,156752868,156754955,156755869,156756720,156759096,156759786,156761890,156765876, 0 NOM1 cmpl cmpl 0,0,2,0,0,0,0,2,0,0,2, 943 NM_147192 chr1 + 46972667 46979886 46972682 46978166 4 46972667,46976132,46976606,46977714, 46972836,46976326,46976955,46979886, 0 DMBX1 cmpl cmpl 0,1,0,1, 812 NM_001207043 chr6 + 29759682 29765584 29759784 29764971 3 29759682,29760213,29764969, 29760082,29760483,29765584, 0 LOC554223 cmpl cmpl 0,1,1, 1287 NM_016023 chr8 + 92082423 92099323 92082522 92097096 7 92082423,92083365,92086058,92090583,92092896,92096235,92097011, 92082694,92083517,92086139,92090896,92092958,92096342,92099323, 0 OTUD6B cmpl cmpl 0,1,0,0,1,0,2, 915 NM_001128588 chr18 + 43304091 43332485 43307236 43329916 11 43304091,43304914,43307225,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43304238,43304978,43307383,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl -1,-1,0,0,1,2,2,0,1,1,0, 1691 NR_030592 chrX - 145076301 145076378 145076378 145076378 1 145076301, 145076378, 0 MIR888 unk unk -1, 596 NR_026711 chrX + 1519423 1534314 1534314 1534314 6 1519423,1520354,1522353,1531635,1532654,1533635, 1519479,1521118,1522478,1531781,1533203,1534314, 0 ASMTL-AS1 unk unk -1,-1,-1,-1,-1,-1, 596 NR_026711 chrY + 1469423 1484314 1484314 1484314 6 1469423,1470354,1472353,1481635,1482654,1483635, 1469479,1471118,1472478,1481781,1483203,1484314, 0 ASMTL-AS1 unk unk -1,-1,-1,-1,-1,-1, 587 NR_027232 chrX + 281384 282054 282054 282054 1 281384, 282054, 0 LINC00685 unk unk -1, 586 NR_027232 chrY + 231384 232054 232054 232054 1 231384, 232054, 0 LINC00685 unk unk -1, 77 NM_014520 chr17 - 4442190 4458681 4442709 4458619 26 4442190,4443642,4444757,4445078,4445758,4445910,4446207,4447783,4448045,4448320,4448553,4448904,4449140,4451252,4451437,4451818,4452626,4453352,4455174,4455419,4455745,4457104,4457313,4457489,4458155,4458421, 4443262,4443779,4444859,4445186,4445827,4446036,4446460,4447941,4448216,4448470,4448640,4449056,4449237,4451352,4451605,4451944,4452737,4453648,4455292,4455587,4455921,4457212,4457388,4457573,4458251,4458681, 0 MYBBP1A cmpl cmpl 2,0,0,0,0,0,2,0,0,0,0,1,0,2,2,2,2,0,2,2,0,0,0,0,0,0, 1738 NM_001242769 chr6 + 151186814 151220136 151186958 151220043 8 151186814,151197225,151198769,151198908,151203897,151206769,151208980,151219995, 151187185,151197310,151198820,151198962,151204022,151206870,151209117,151220136, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0, 217 NM_001242768 chr6 + 151187468 151423023 151187494 151413692 28 151187468,151197225,151198769,151198908,151203897,151206769,151208977,151226785,151239712,151243340,151247257,151257939,151259834,151265621,151266602,151270166,151277130,151281410,151286104,151293082,151330954,151334914,151336015,151336651,151355628,151358100,151413602,151422661, 151187523,151197310,151198820,151198962,151204022,151206870,151209117,151226897,151239804,151243438,151247431,151258076,151259881,151265729,151266677,151270269,151277207,151281551,151286173,151293194,151331094,151334956,151336116,151336829,151355736,151358253,151413723,151423023, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 146 NM_001271769 chr5 - 77298149 77590579 77298725 77563400 27 77298149,77311233,77316515,77330184,77334866,77385216,77396776,77406030,77409575,77411949,77423853,77424944,77436966,77452081,77458642,77461433,77471449,77471607,77473162,77477330,77511878,77521365,77523195,77523967,77536685,77563343,77590263, 77298879,77311372,77316613,77330269,77335098,77385323,77396849,77406178,77409747,77412058,77423984,77425131,77437143,77452191,77458775,77461496,77471521,77471662,77473260,77477486,77512061,77521432,77523356,77524063,77536760,77563419,77590579, 0 AP3B1 cmpl cmpl 2,1,2,1,0,1,0,2,1,0,1,0,0,1,0,0,0,2,0,0,0,2,0,0,0,0,-1, 598 NM_004043 chrX + 1714347 1761974 1734092 1761907 10 1714347,1734025,1742031,1743161,1746595,1748713,1751596,1752042,1755330,1761695, 1714425,1734161,1742206,1743291,1746664,1748832,1751680,1752183,1755453,1761974, 0 ASMT cmpl cmpl -1,0,0,1,2,2,1,1,1,1, 74 NM_004043 chrY + 1664347 1711974 1684092 1711907 10 1664347,1684025,1692031,1693161,1696595,1698713,1701596,1702042,1705330,1711695, 1664425,1684161,1692206,1693291,1696664,1698832,1701680,1702183,1705453,1711974, 0 ASMT cmpl cmpl -1,0,0,1,2,2,1,1,1,1, 834 NR_026859 chr15 - 32698800 32727065 32727065 32727065 5 32698800,32702782,32713882,32720391,32726788, 32699418,32702861,32713929,32720516,32727065, 0 ULK4P3 unk unk -1,-1,-1,-1,-1, 820 NR_026858 chr15 + 30864757 30892911 30892911 30892911 5 30864757,30865171,30871490,30888862,30892304, 30864774,30865219,30871615,30888941,30892911, 0 ULK4P1 unk unk -1,-1,-1,-1,-1, 834 NR_026858 chr15 - 32698811 32727250 32727250 32727250 5 32698811,32702782,32720391,32726788,32727233, 32699418,32702861,32720516,32726836,32727250, 0 ULK4P1 unk unk -1,-1,-1,-1,-1, 964 NR_036257 chrX + 49775279 49775358 49775358 49775358 1 49775279, 49775358, 0 MIR500B unk unk -1, 1760 NR_036259 chrX - 154115634 154115733 154115733 154115733 1 154115634, 154115733, 0 MIR1184-2 unk unk -1, 1764 NR_036259 chrX - 154612748 154612847 154612847 154612847 1 154612748, 154612847, 0 MIR1184-2 unk unk -1, 1765 NR_036259 chrX + 154687177 154687276 154687276 154687276 1 154687177, 154687276, 0 MIR1184-2 unk unk -1, 75 NM_001172656 chr4 - 2271323 2420370 2272451 2420050 12 2271323,2273037,2273401,2274899,2275788,2306015,2321896,2339133,2341179,2343204,2355659,2420011, 2272583,2273141,2273506,2275016,2275943,2307263,2321998,2339223,2341382,2343342,2355800,2420370, 0 ZFYVE28 cmpl cmpl 0,1,1,1,2,2,2,2,0,0,0,0, 639 NM_001256873 chr8 + 7189908 7191501 7189908 7191501 1 7189908, 7191501, 0 USP17L1P cmpl cmpl 0, 1777 NR_038443 chr5 + 156277548 156279539 156279539 156279539 1 156277548, 156279539, 0 PPP1R2P3 unk unk -1, 170 NM_001242559 chr2 + 102314537 102511152 102314542 102507711 30 102314537,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476104,102477286,102481391,102482892,102483673,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102477448,102481498,102483041,102483771,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,2,0,1,1,1,1,0,0,1,0, 957 NM_001136157 chrX - 48779302 48814893 48780450 48814832 9 48779302,48780909,48781127,48783122,48791736,48791983,48792226,48801450,48814238, 48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48814893, 0 OTUD5 cmpl cmpl 1,1,0,0,1,0,1,0,0, 1183 NM_006383 chr15 - 78396947 78423877 78397652 78423557 6 78396947,78398080,78401576,78403506,78416046,78423506, 78397674,78398276,78401724,78403618,78416081,78423877, 0 CIB2 cmpl cmpl 2,1,0,2,0,0, 31 NM_003603 chr4 - 186506597 186733410 186508780 186611725 23 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186559232,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186611715,186696380,186732817, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186559316,186567936,186570810,186572982,186573882,186578750,186583396,186599632,186599976,186611765,186696520,186733410, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,0,2,1,1,0,1,0,1,1,0,-1,-1, 963 NM_002237 chr20 - 49620192 49639675 49620575 49626875 3 49620192,49626101,49639406, 49621343,49626901,49639675, 0 KCNG1 cmpl cmpl 0,0,-1, 864 NM_014408 chr1 - 36602169 36615115 36602803 36614979 5 36602169,36603396,36605320,36605669,36614937, 36602923,36603579,36605420,36605767,36615115, 0 TRAPPC3 cmpl cmpl 0,0,2,0,0, 2197 NM_001136574 chr2 - 211295972 211341429 211299210 211341120 10 211295972,211300110,211300939,211302413,211305321,211306031,211319830,211336682,211341039,211341370, 211299287,211300183,211301116,211302596,211305468,211306167,211320038,211336800,211341136,211341429, 0 LANCL1 cmpl cmpl 1,0,0,0,0,2,1,0,0,-1, 862 NM_001195430 chr13 - 36420036 36429998 36424856 36429665 3 36420036,36428635,36429646, 36424913,36428730,36429998, 0 DCLK1 cmpl cmpl 0,1,0, 93 NM_001135993 chr18 + 21594383 21715574 21594835 21712538 14 21594383,21644103,21645975,21649120,21660548,21662876,21694517,21698088,21703797,21705390,21708849,21710276,21711845,21712448, 21595002,21644152,21646104,21649235,21660903,21663045,21694611,21698196,21703907,21705514,21708947,21710381,21711884,21715574, 0 TTC39C cmpl cmpl 0,2,0,0,1,2,0,1,1,0,1,0,0,0, 1735 NM_001164410 chr7 - 150750901 150755052 150751095 150754935 11 150750901,150751298,150751491,150752113,150752363,150752618,150753666,150753822,150753994,150754158,150754898, 150751182,150751379,150751552,150752183,150752460,150752693,150753723,150753883,150754062,150754247,150755052, 0 CDK5 cmpl cmpl 0,0,2,1,0,0,0,2,0,1,0, 981 NM_177535 chrX + 51927918 51935364 51929018 51935162 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 1090 NM_130443 chr11 + 66247483 66277130 66249671 66276722 18 66247483,66249663,66252643,66254010,66254738,66255384,66258723,66258964,66259168,66260186,66260537,66261011,66262676,66262835,66263100,66264768,66272082,66276549, 66247936,66249941,66252733,66254148,66254813,66255478,66258854,66259095,66259227,66260381,66260650,66261104,66262739,66262960,66263221,66264948,66272245,66277130, 0 DPP3 cmpl cmpl -1,0,0,0,0,0,1,0,2,1,1,0,0,0,2,0,0,1, 1614 NR_037450 chr2 + 134884695 134884763 134884763 134884763 1 134884695, 134884763, 0 MIR3679 unk unk -1, 713 NR_037446 chr1 + 16875408 16875482 16875482 16875482 1 16875408, 16875482, 0 MIR3675 unk unk -1, 602 NR_037448 chr16 + 2320713 2320773 2320773 2320773 1 2320713, 2320773, 0 MIR3677 unk unk -1, 1743 NM_004909 chrX - 151876742 151877747 151877052 151877594 2 151876742,151877331, 151877122,151877747, 0 CSAG2 cmpl cmpl 2,0, 105 NM_133468 chr7 + 33944522 34195484 33945225 34192885 16 33944522,33945085,33946429,33976900,34006090,34009940,34014313,34085917,34091472,34094774,34097670,34101613,34118468,34125367,34182841,34192703, 33944756,33945358,33946515,33977000,34006173,34010031,34014396,34086017,34091582,34094915,34097775,34101659,34118798,34125704,34182972,34195484, 0 BMPER cmpl cmpl -1,0,1,0,1,0,1,0,1,0,0,0,1,1,2,1, 1265 NM_001284316 chr16 + 89160216 89222254 89169140 89220615 9 89160216,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160400,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,0,0,2,1,0,1,1,2, 920 NR_026952 chr11 + 43918852 43921424 43921424 43921424 1 43918852, 43921424, 0 SEC14L1P1 unk unk -1, 774 NM_001164692 chr14 + 24779356 24781259 24779870 24780947 2 24779356,24779804, 24779461,24781259, 0 LTB4R2 cmpl cmpl -1,0, 1743 NM_001129828 chrX - 151876742 151877747 151877052 151877594 2 151876742,151877331, 151877122,151877747, 0 CSAG3 cmpl cmpl 2,0, 1744 NM_001129828 chrX + 151927733 151928738 151927886 151928428 2 151927733,151928358, 151928149,151928738, 0 CSAG3 cmpl cmpl 0,2, 1379 NM_001100118 chr14 - 104163953 104181823 104165134 104177424 9 104163953,104165469,104165700,104169509,104173339,104174858,104177369,104177802,104181760, 104165354,104165516,104165913,104169664,104173552,104174996,104177582,104177904,104181823, 0 XRCC3 cmpl cmpl 2,0,0,1,1,1,0,-1,-1, 170 NM_145687 chr2 + 102314537 102511152 102314542 102507711 31 102314537,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102477286,102481391,102482889,102483673,102484490,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102477448,102481498,102483041,102483771,102484499,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,0,2,0,1,1,1,1,0,0,1,0, 82 NM_017491 chr4 - 10075962 10118573 10077001 10118290 15 10075962,10078927,10079376,10080514,10082980,10084645,10086064,10089330,10089916,10090287,10099334,10100615,10105519,10117736,10118274, 10077108,10079072,10079550,10080625,10083068,10084800,10086154,10089564,10089997,10090365,10099515,10100763,10105610,10117858,10118573, 0 WDR1 cmpl cmpl 1,0,0,0,2,0,0,0,0,0,2,1,0,1,0, 812 NM_017458 chr16 + 29831714 29859360 29841870 29859310 15 29831714,29841794,29842198,29845053,29845255,29847024,29848042,29851498,29852916,29853235,29855813,29857183,29857478,29858517,29859082, 29831831,29841995,29842394,29845177,29845387,29847119,29848279,29851780,29853161,29853433,29856200,29857300,29857605,29858706,29859360, 0 MVP cmpl cmpl -1,0,2,0,1,1,0,0,0,2,2,2,2,0,0, 925 NM_001134771 chr20 + 44650328 44688789 44650404 44686244 26 44650328,44663586,44664042,44664415,44665379,44665893,44669011,44669967,44671791,44672271,44672514,44673604,44674516,44674976,44676092,44676619,44678260,44680313,44681595,44682216,44683554,44684788,44685003,44685535,44685808,44686152, 44650525,44663681,44664174,44664562,44665434,44666024,44669253,44670179,44671962,44672370,44672572,44673779,44674635,44675075,44676212,44676724,44678429,44680509,44681765,44682348,44683662,44684911,44685203,44685550,44685942,44688789, 0 SLC12A5 cmpl cmpl 0,1,0,0,0,1,0,2,1,1,1,2,0,2,2,2,2,0,1,0,0,0,0,2,2,1, 1060 NM_001134758 chr20 - 62329994 62339365 62331949 62338443 7 62329994,62333181,62333487,62337708,62338002,62338350,62339218, 62332054,62333252,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 cmpl cmpl 0,1,0,1,0,0,-1, 130 NM_001080512 chr10 + 60272903 60588845 60272903 60588651 21 60272903,60380614,60461833,60544760,60546682,60548129,60549021,60549441,60553243,60556099,60558158,60558815,60559953,60560649,60562836,60566343,60566763,60573589,60577321,60580128,60588520, 60273093,60380661,60461903,60544840,60546841,60548183,60549216,60549693,60553375,60556286,60558320,60559012,60560086,60560806,60563002,60566383,60566918,60573746,60577482,60580228,60588845, 0 BICC1 cmpl cmpl 0,1,0,1,0,0,0,0,0,0,1,1,0,1,2,0,1,0,1,0,1, 978 NM_001145263 chr10 + 51565107 51590734 51579141 51589230 10 51565107,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51565296,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,0,0,2,0,0,0,0,0, 780 NM_001127691 chr1 + 25598976 25656936 25599038 25655415 7 25598976,25611063,25617131,25627436,25628010,25629812,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0, 1547 NM_001198557 chr5 + 126112844 126172712 126141376 126171956 11 126112844,126140467,126141262,126145871,126147464,126154613,126156601,126158472,126161679,126168385,126171914, 126112936,126140624,126141388,126146042,126147590,126154834,126156827,126158577,126161799,126168493,126172712, 0 LMNB1 cmpl cmpl -1,-1,0,0,0,0,2,0,0,0,0, 626 NM_001171864 chr10 - 5435060 5446793 5435479 5446755 4 5435060,5437289,5442806,5446752, 5436424,5437438,5442930,5446793, 0 TUBAL3 cmpl cmpl 0,1,0,0, 813 NM_001171832 chr20 - 29992647 30000641 29992715 30000446 2 29992647,30000424, 29992888,30000641, 0 DEFB121 cmpl cmpl 1,0, 633 NM_001147 chr8 - 6357174 6420784 6360621 6420455 9 6357174,6366452,6371198,6372197,6377384,6378698,6385075,6389852,6420167, 6360782,6366583,6371365,6372299,6377515,6378931,6385197,6390008,6420784, 0 ANGPT2 cmpl cmpl 1,2,0,0,1,2,0,0,0, 84 NM_024693 chr10 + 11784355 11806065 11784575 11805543 5 11784355,11789347,11791493,11797406,11805222, 11784745,11789469,11791591,11797607,11806065, 0 ECHDC3 cmpl cmpl 0,2,1,0,0, 656 NM_001242331 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L28 cmpl cmpl 0, 656 NM_001242330 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L27 cmpl cmpl 0, 978 NM_001145262 chr10 + 51576284 51590734 51579141 51589230 10 51576284,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51576499,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,0,0,2,0,0,0,0,0, 978 NM_001145261 chr10 + 51565107 51590734 51568356 51589230 11 51565107,51568293,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51565296,51568390,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,1,0,0,2,0,0,0,0,0, 936 NM_001278198 chr17 + 46048321 46059152 46053256 46059100 13 46048321,46048727,46050884,46051296,46051765,46052879,46054077,46055197,46056194,46057958,46058528,46058802,46058952, 46048518,46048773,46051016,46051397,46052703,46053379,46054188,46055276,46056283,46058164,46058700,46058825,46059152, 0 CDK5RAP3 cmpl cmpl -1,-1,-1,-1,-1,0,0,0,1,0,2,0,2, 936 NM_001278197 chr17 + 46047893 46059152 46048008 46058868 14 46047893,46048727,46050884,46051296,46051765,46052524,46052879,46053234,46054077,46055197,46056194,46057958,46058528,46058802, 46048089,46048773,46051016,46051397,46051814,46052703,46053019,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl 0,0,1,1,0,1,0,2,0,0,1,0,2,0, 906 NM_138387 chr17 + 42148097 42153712 42148333 42153411 6 42148097,42151527,42152047,42152336,42152677,42153047, 42148551,42151634,42152138,42152455,42152819,42153712, 0 G6PC3 cmpl cmpl 0,2,1,2,1,2, 811 NM_206809 chr6 + 29624757 29640149 29624986 29638962 8 29624757,29627095,29633928,29635419,29635680,29638057,29638477,29638948, 29625074,29627443,29634042,29635440,29635701,29638174,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 811 NM_206810 chr6 + 29624757 29640149 29624986 29639227 7 29624757,29627095,29633928,29635419,29635680,29638477,29639198, 29625074,29627443,29634042,29635440,29635701,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 641 NM_001102614 chr17 + 7384720 7386383 7384835 7386320 2 7384720,7385306, 7384838,7386383, 0 SLC35G6 cmpl cmpl 0,0, 1007 NM_001136030 chr12 - 55342086 55378530 55354952 55368346 11 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260,55368183,55378368, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367303,55368391,55378530, 0 TESPA1 cmpl cmpl -1,0,1,2,2,1,1,2,1,0,-1, 944 NR_040041 chr19 + 47164734 47174598 47174598 47174598 3 47164734,47172424,47174397, 47165694,47172567,47174598, 0 DACT3-AS1 unk unk -1,-1,-1, 1148 NR_040034 chr18 + 73834952 73857210 73857210 73857210 6 73834952,73835898,73837665,73844888,73856448,73856711, 73835654,73835958,73838969,73845029,73856536,73857210, 0 LOC339298 unk unk -1,-1,-1,-1,-1,-1, 156 NM_021723 chr7 + 87563565 87832204 87563780 87825806 31 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87808249,87810819,87811272,87822430,87825785, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87808357,87810920,87811339,87822554,87832204, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,2,1,2,0, 190 NM_001130698 chr4 - 122800182 122872909 122800890 122872835 12 122800182,122803508,122820766,122824006,122825476,122828457,122831308,122833031,122835934,122846172,122853425,122872620, 122801033,122803584,122820850,122824216,122825672,122828722,122831542,122833248,122836099,122846361,122854197,122872909, 0 TRPC3 cmpl cmpl 1,0,0,0,2,1,1,0,0,0,2,0, 971 NR_024228 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A8 unk unk -1, 1099 NM_001077700 chr1 + 67390577 67454302 67390711 67450583 14 67390577,67391824,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl 0,1,0,1,0,0,1,0,1,0,1,0,2,1, 907 NM_001110215 chr22 - 42334740 42336223 42335059 42336178 2 42334740,42336142, 42335200,42336223, 0 CENPM cmpl cmpl 0,0, 949 NM_001098845 chr10 + 47746849 47763040 47747111 47762187 12 47746849,47751144,47752404,47753837,47754714,47755464,47756032,47756638,47756971,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47754805,47755544,47756092,47756732,47757067,47758904,47759772,47763040, 0 ANXA8L1 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 31 NM_021069 chr4 - 186506597 186877870 186508780 186583351 21 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186544067,186547985,186551702,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186696380,186877349, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186545648,186548173,186551752,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186696520,186877870, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,1,2,0,2,1,1,0,1,0,-1,-1,-1,-1, 886 NM_021822 chr22 + 39473009 39483748 39473366 39483426 8 39473009,39474936,39476937,39477475,39479735,39482283,39483015,39483411, 39473383,39475090,39477232,39477590,39479889,39482572,39483131,39483748, 0 APOBEC3G cmpl cmpl 0,2,0,1,2,0,1,0, 1135 NM_001168499 chr18 + 72166822 72190689 72167208 72187303 9 72166822,72168563,72178047,72179682,72180793,72183462,72185733,72186183,72187233, 72167268,72168707,72178248,72179767,72180954,72183627,72185875,72186331,72190689, 0 CNDP2 cmpl cmpl 0,0,0,0,1,0,0,1,2, 1344 NM_001174121 chr10 + 99496877 99520664 99504511 99519057 10 99496877,99504485,99508025,99509230,99510087,99511132,99512794,99517021,99517398,99518992, 99497078,99504672,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,2,1,0,0,1,0,1, 110 NM_003618 chr2 - 39476406 39664453 39477758 39664128 34 39476406,39478970,39481590,39485488,39485659,39487746,39492343,39494329,39499423,39499622,39505547,39507412,39509653,39513992,39515261,39517432,39519913,39520370,39526883,39535083,39536601,39542450,39552658,39552870,39553039,39553286,39559057,39560672,39564060,39564666,39570528,39583389,39605206,39664032, 39477846,39479026,39481661,39485581,39485728,39487918,39492447,39494388,39499541,39499683,39505627,39507497,39509695,39514105,39515421,39517475,39519967,39520409,39526942,39535146,39536660,39542529,39552769,39552952,39553102,39553418,39559130,39560715,39564108,39564722,39570593,39583480,39605264,39664453, 0 MAP4K3 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,2,2,0,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 31 NM_001270771 chr4 - 186506597 186877870 186508780 186611725 24 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186544067,186547985,186551702,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186605907,186611715,186696380,186815450,186877349, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186545648,186548173,186551752,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186606000,186611765,186696520,186815527,186877870, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,1,2,0,2,1,1,0,1,0,1,1,1,0,-1,-1,-1, 164 NM_001289067 chr10 + 96305523 96361856 96305678 96361379 23 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96343744,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96343882,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,2,0,0,0,2,0,0,0,0,1,2,1, 1089 NM_004292 chr11 - 66099541 66104000 66099746 66103873 10 66099541,66100728,66100997,66101389,66101984,66102877,66103080,66103232,66103448,66103787, 66100223,66100880,66101129,66101695,66102722,66102969,66103153,66103347,66103629,66104000, 0 RIN1 cmpl cmpl 0,1,1,1,1,2,1,0,2,0, 1020 NM_021216 chr19 + 57106663 57135544 57132655 57134125 3 57106663,57112874,57132635, 57106796,57112959,57135544, 0 ZNF71 cmpl cmpl -1,-1,0, 1095 NM_001204745 chr16 - 66942024 66952887 66942294 66951968 18 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66949122,66949967,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944288,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948315,66949281,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,1,1,0,0,0,0,-1, 895 NM_012382 chr5 - 40711677 40756072 40716246 40747120 5 40711677,40728446,40730363,40746899,40755925, 40716600,40728578,40730445,40747121,40756072, 0 TTC33 cmpl cmpl 0,0,2,0,-1, 980 NM_001985 chr19 - 51848408 51869672 51848464 51869580 6 51848408,51850153,51853582,51856385,51857403,51869523, 51848635,51850312,51853645,51856544,51857562,51869672, 0 ETFB cmpl cmpl 0,0,0,0,0,0, 935 NM_001983 chr19 - 45910590 45927177 45912932 45926632 10 45910590,45916934,45917220,45918118,45920078,45922355,45923581,45924435,45926527,45927038, 45912983,45917003,45917292,45918218,45920155,45922455,45923685,45924651,45926639,45927177, 0 ERCC1 cmpl cmpl 0,0,0,2,0,2,0,0,0,-1, 1285 NM_004912 chr7 - 91828282 91875212 91830049 91871449 19 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91874740, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874485,91875212, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1, 1409 NM_002519 chr11 - 108028118 108093365 108029668 108093263 18 108028118,108031606,108032846,108040470,108040654,108042925,108046972,108047720,108055958,108056129,108057208,108058824,108059832,108061186,108062844,108064683,108068028,108093226, 108029746,108032741,108032907,108040579,108040770,108044578,108047101,108047817,108056046,108056221,108057296,108058906,108060057,108061227,108062917,108064744,108068147,108093365, 0 NPAT cmpl cmpl 0,2,1,0,1,1,1,0,2,0,2,1,1,2,1,0,1,0, 1933 NM_013237 chr5 + 176730762 176733960 176730986 176733571 5 176730762,176731625,176732871,176733098,176733422, 176731078,176731851,176732985,176733177,176733960, 0 PRELID1 cmpl cmpl 0,2,0,0,1, 190 NM_001011649 chr9 - 123151146 123342448 123151513 123342256 37 123151146,123152018,123156789,123163019,123165083,123166313,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123222945,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 cmpl cmpl 0,1,0,0,1,1,2,1,1,1,2,1,2,1,1,0,2,0,0,0,1,2,0,0,0,0,0,0,0,2,0,2,0,0,1,2,0, 971 NM_016210 chr3 - 50595455 50605223 50597087 50603130 6 50595455,50598347,50599152,50602896,50603436,50604893, 50597168,50598495,50599178,50603292,50603525,50605223, 0 C3orf18 cmpl cmpl 0,2,0,0,-1,-1, 989 NM_175068 chr12 - 53001353 53012343 53001979 53012308 9 53001353,53003030,53004398,53004987,53007471,53008362,53009062,53009949,53011861, 53002236,53003065,53004619,53005113,53007636,53008458,53009123,53010164,53012343, 0 KRT73 cmpl cmpl 1,2,0,0,0,0,2,0,0, 883 NM_001145450 chr2 + 39103102 39109850 39108582 39109656 5 39103102,39107319,39107740,39108582,39109553, 39103251,39107370,39107847,39108719,39109850, 0 MORN2 cmpl cmpl -1,-1,-1,0,2, 957 NM_001136158 chrX - 48779302 48814893 48780450 48814832 10 48779302,48780413,48780909,48781127,48783122,48791736,48791983,48792226,48801450,48814238, 48780187,48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48814893, 0 OTUD5 cmpl cmpl -1,1,1,0,0,1,0,1,0,0, 957 NM_001136159 chrX - 48779302 48815648 48780450 48801487 9 48779302,48780909,48781127,48783122,48791736,48791983,48792226,48801450,48815493, 48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48815648, 0 OTUD5 cmpl cmpl 1,1,0,0,1,0,1,0,-1, 892 NR_040061 chr15 + 40331511 40349201 40349201 40349201 4 40331511,40338161,40348653,40348930, 40331649,40338270,40348842,40349201, 0 SRP14-AS1 unk unk -1,-1,-1,-1, 892 NR_040060 chr15 + 40331511 40359710 40359710 40359710 3 40331511,40338161,40357421, 40331649,40338270,40359710, 0 SRP14-AS1 unk unk -1,-1,-1, 95 NM_014433 chr22 - 23401592 23484241 23401639 23482607 7 23401592,23403986,23406079,23476212,23481026,23482408,23484135, 23401896,23404123,23406311,23476331,23481129,23482659,23484241, 0 RTDR1 cmpl cmpl 1,2,1,2,1,0,-1, 596 NM_001173474 chrX - 1522031 1571870 1522161 1571733 12 1522031,1531624,1536865,1537874,1540550,1544417,1546626,1551161,1553914,1554586,1561078,1571640, 1522382,1531747,1537009,1538007,1540735,1544580,1547014,1551270,1553976,1554651,1561210,1571870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0, 596 NM_001173474 chrY - 1472031 1521870 1472161 1521733 12 1472031,1481624,1486865,1487874,1490550,1494417,1496626,1501161,1503914,1504586,1511078,1521640, 1472382,1481747,1487009,1488007,1490735,1494580,1497014,1501270,1503976,1504651,1511210,1521870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0, 157 NM_001168398 chr6 + 88182642 88222057 88182721 88221244 7 88182642,88187079,88210225,88210875,88216099,88218758,88221116, 88182737,88187257,88210385,88211028,88216166,88218893,88222057, 0 SLC35A1 cmpl cmpl 0,1,2,0,0,1,1, 1949 NM_004673 chr1 - 178818669 178840215 178820263 178834911 6 178818669,178821817,178822728,178834088,178838248,178839875, 178820451,178822088,178822922,178834937,178838358,178840215, 0 ANGPTL1 cmpl cmpl 1,0,1,0,-1,-1, 168 NM_015904 chr2 + 99953833 100016728 99954017 100015877 24 99953833,99976698,99976927,99977610,99980107,99980733,99984955,99985854,99988118,99992809,99995481,99995780,99998621,99999242,100006180,100006681,100007006,100009429,100010729,100010971,100011181,100013222,100015210,100015769, 99954052,99976824,99977012,99978283,99980325,99980884,99985054,99985944,99988193,99993099,99995589,99995891,99998689,99999384,100006312,100006864,100007168,100009561,100010861,100011048,100011346,100013361,100015372,100016728, 0 EIF5B cmpl cmpl 0,2,2,0,1,0,1,1,1,1,0,0,0,2,0,0,0,0,0,0,2,2,0,0, 9 NM_003070 chr9 + 2015218 2193623 2029022 2192739 34 2015218,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2170418,2181570,2182140,2186095,2191265,2192703, 2015404,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2087071,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2170472,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,2,0,0,1,0, 987 NM_001164417 chrX - 52725945 52736276 52727037 52734799 8 52725945,52727033,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52729628,52731680,52733642,52734292,52734819,52736276, 0 SSX2B cmpl cmpl -1,1,0,1,1,0,0,-1, 1115 NM_021800 chr10 - 69556426 69597937 69556873 69597769 5 69556426,69565340,69571281,69583071,69597691, 69556968,69565545,69571421,69583150,69597937, 0 DNAJC12 cmpl cmpl 1,0,1,0,0, 241 NM_003052 chr5 + 176811431 176825849 176812742 176825287 13 176811431,176812695,176812987,176813221,176813423,176814762,176814994,176815277,176820694,176821028,176823733,176823950,176824783, 176811488,176812851,176813137,176813350,176813567,176814874,176815190,176815373,176820764,176821196,176823850,176824075,176825849, 0 SLC34A1 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 29 NM_024947 chr3 - 169805367 169899537 169815017 169899503 15 169805367,169820266,169820589,169824619,169831147,169835013,169840378,169846471,169854206,169863210,169866873,169889160,169890344,169896560,169899489, 169815172,169820498,169820722,169824734,169831307,169835264,169840532,169847340,169854453,169863309,169867032,169889238,169890500,169896726,169899537, 0 PHC3 cmpl cmpl 1,0,2,1,0,1,0,1,0,0,0,0,0,2,0, 162 NM_001261408 chr1 - 94027342 94312706 94027797 94140486 14 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94107859,94140169,94171647,94311122,94312625, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94107899,94140497,94171698,94311268,94312706, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,2,0,-1,-1,-1, 704 NR_003087 chr21 + 15646119 15673692 15673692 15673692 6 15646119,15651916,15659870,15660724,15663890,15671758, 15646478,15651978,15660018,15660867,15664068,15673692, 0 ABCC13 unk unk -1,-1,-1,-1,-1,-1, 1018 NM_001280796 chr12 - 56864727 56882198 56865270 56869435 18 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56872835,56873563,56874071,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868967,56869466,56869761,56871502,56871880,56872046,56872965,56873685,56874171,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,1,0,-1,-1,-1,-1,-1,-1,-1,-1, 1543 NM_018835 chr9 - 125616023 125667562 125616152 125659788 18 125616023,125616463,125616809,125617462,125618010,125620201,125620947,125622195,125627627,125639749,125642033,125642271,125642872,125645482,125652590,125655187,125659557,125667388, 125616365,125616545,125616894,125617676,125618157,125620372,125621381,125622410,125627936,125639862,125642152,125642404,125643073,125645658,125652824,125655305,125659855,125667562, 0 RC3H2 cmpl cmpl 0,2,1,0,0,0,1,2,2,0,1,0,0,1,1,0,0,-1, 1923 NM_032361 chr5 - 175386533 175395318 175386971 175395211 6 175386533,175388053,175388275,175391953,175394113,175394944, 175387135,175388154,175388437,175392158,175394270,175395318, 0 THOC3 cmpl cmpl 1,2,2,1,0,0, 11 NM_001288786 chr17 - 17746821 17875784 17750948 17875627 15 17746821,17752136,17754206,17761082,17764789,17766044,17769609,17770189,17772653,17782940,17787947,17796974,17801909,17810760,17875575, 17751097,17752173,17754266,17761169,17764865,17766162,17769733,17770238,17772787,17783057,17788082,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,0,2,1,0,2,0,0,0,0,2,1,0, 805 NR_003109 chr1 + 28879528 28905057 28905057 28905057 10 28879528,28880151,28887144,28887624,28887857,28891214,28893805,28897687,28898378,28904011, 28879649,28880249,28887244,28887772,28887910,28891346,28893925,28897850,28898412,28905057, 0 TRNAU1AP unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 82 NM_022485 chr3 + 9691116 9744078 9691267 9743657 17 9691116,9695304,9703950,9710402,9711115,9712731,9714368,9719000,9719667,9724861,9726268,9726571,9726894,9729504,9730379,9730627,9743473, 9691426,9695453,9704059,9710478,9711176,9712854,9714442,9719071,9719742,9724928,9726354,9726648,9726931,9729575,9730438,9730766,9744078, 0 MTMR14 cmpl cmpl 0,0,2,0,1,2,2,1,0,0,1,0,2,0,2,1,2, 656 NM_001242330 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L27 cmpl cmpl 0, 656 NM_001242329 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L5 cmpl cmpl 0, 656 NM_001242328 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L26 cmpl cmpl 0, 656 NM_001242326 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L25 cmpl cmpl 0, 131 NM_001177963 chr14 + 61201458 61435398 61201580 61435067 7 61201458,61262934,61264804,61275042,61278704,61346431,61434946, 61201669,61263087,61264878,61275146,61278845,61346553,61435398, 0 MNAT1 cmpl cmpl 0,2,2,1,0,0,2, 906 NM_001190720 chr8 + 42128819 42190171 42128888 42188497 21 42128819,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB cmpl cmpl 0,0,2,0,1,0,0,2,2,0,0,1,2,1,0,2,1,2,0,2,0, 21 NM_001202543 chr7 + 101459183 101901513 101459310 101892322 24 101459183,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101839913,101842081,101843350,101844639,101847670,101848393,101870646,101877331,101882599,101891691, 101459373,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101840585,101842147,101843452,101845484,101847836,101848450,101870949,101877520,101882864,101901513, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,1,1,1,0,1,1,1,1,2, 826 NM_182658 chr20 + 31643229 31661434 31643229 31661411 15 31643229,31644347,31647183,31647696,31649573,31651420,31652262,31652471,31654629,31656608,31657693,31659058,31659909,31660522,31661381, 31643353,31644504,31647288,31647837,31649637,31651481,31652354,31652651,31654683,31656779,31657761,31659101,31659973,31660599,31661434, 0 BPIFB3 cmpl cmpl 0,1,2,2,2,0,1,0,0,0,0,2,0,1,0, 835 NM_004159 chr6 - 32808493 32812712 32808735 32812190 6 32808493,32809307,32809910,32810448,32810718,32812055, 32808824,32809512,32810040,32810560,32810866,32812712, 0 PSMB8 cmpl cmpl 1,0,2,1,0,0, 143 NM_001195518 chr10 - 74127083 74385949 74127952 74326551 12 74127083,74135540,74167686,74182991,74234857,74236931,74267912,74293503,74310936,74322652,74326390,74385767, 74128113,74135630,74167795,74183129,74235055,74237014,74268027,74293547,74311099,74322821,74326552,74385949, 0 MICU1 cmpl cmpl 1,1,0,0,0,1,0,1,0,2,0,-1, 1106 NM_024055 chr5 + 68389775 68400567 68390082 68399872 4 68389775,68396633,68398888,68399788, 68390165,68396756,68398955,68400567, 0 SLC30A5 cmpl cmpl 0,2,2,0, 145 NM_015393 chr4 + 75858284 75975325 75858537 75971457 4 75858284,75937634,75959092,75971372, 75858580,75938360,75959171,75975325, 0 PARM1 cmpl cmpl 0,1,1,2, 954 NR_029427 chrX + 48455879 48463582 48463582 48463582 9 48455879,48457138,48457740,48457974,48458706,48460171,48460452,48462659,48463235, 48456425,48457345,48457850,48458105,48459014,48460352,48460594,48462778,48463582, 0 WDR13 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1879 NR_029467 chr1 - 169659805 169677997 169677997 169677997 7 169659805,169665675,169670700,169672395,169673708,169676482,169677557, 169660943,169665694,169670829,169672581,169673894,169676590,169677997, 0 SELL unk unk -1,-1,-1,-1,-1,-1,-1, 644 NM_001042462 chr19 + 7745706 7747748 7747139 7747706 2 7745706,7747127, 7745764,7747748, 0 TRAPPC5 cmpl cmpl -1,0, 1095 NM_004062 chr16 - 66942024 66952887 66942294 66951968 18 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66949122,66949967,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944405,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948315,66949281,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,1,1,0,0,0,0,-1, 825 NM_032955 chr6 + 31583788 31584798 31583888 31584677 3 31583788,31584120,31584592, 31583922,31584283,31584798, 0 AIF1 cmpl cmpl 0,1,2, 177 NM_001025580 chrX - 109437413 109561380 109441747 109561299 5 109437413,109444181,109445673,109459745,109560826, 109441862,109444278,109445764,109459860,109561380, 0 AMMECR1 cmpl cmpl 2,1,0,2,0, 118 NM_015168 chr19 - 47567446 47617009 47569612 47615841 15 47567446,47572348,47575034,47575608,47584769,47585440,47587601,47588312,47588574,47589640,47593223,47597226,47597645,47615680,47616976, 47571126,47572600,47575378,47575970,47584879,47585552,47587712,47588452,47588671,47589795,47593446,47597337,47597865,47615846,47617009, 0 ZC3H4 cmpl cmpl 1,1,2,0,1,0,0,1,0,1,0,0,2,0,-1, 1927 NM_014901 chr5 - 175953699 175964421 175956028 175959473 11 175953699,175956288,175956523,175956731,175957082,175957582,175957848,175958463,175959004,175959366,175963940, 175956091,175956388,175956645,175956819,175957207,175957744,175958022,175958631,175959194,175959517,175964421, 0 RNF44 cmpl cmpl 0,2,0,2,0,0,0,0,2,0,-1, 93 NM_153211 chr18 + 21572736 21715574 21644119 21712538 14 21572736,21644103,21645975,21649120,21660548,21662876,21694517,21698088,21703797,21705390,21708849,21710276,21711845,21712448, 21573002,21644152,21646104,21649235,21660903,21663045,21694611,21698196,21703907,21705514,21708947,21710381,21711884,21715574, 0 TTC39C cmpl cmpl -1,0,0,0,1,2,0,1,1,0,1,0,0,0, 1010 NM_054104 chr12 + 55725484 55726420 55725484 55726420 1 55725484, 55726420, 0 OR6C3 cmpl cmpl 0, 175 NM_181581 chr7 + 107204401 107218968 107207515 107218005 8 107204401,107205032,107207494,107211589,107214148,107215632,107216810,107217757, 107204654,107205121,107207631,107211711,107214266,107215755,107217037,107218968, 0 DUS4L cmpl cmpl -1,-1,0,2,1,2,2,1, 630 NM_003624 chr19 - 5916151 5978320 5917620 5978093 17 5916151,5917804,5918506,5921211,5923204,5923822,5924837,5925644,5927978,5931429,5932462,5933424,5941631,5941809,5951403,5957928,5978071, 5917664,5917991,5918649,5921332,5923314,5923925,5924916,5925748,5928098,5931542,5932555,5933490,5941718,5941846,5951607,5957984,5978320, 0 RANBP3 cmpl cmpl 1,0,1,0,1,0,2,0,0,1,1,1,1,0,0,1,0, 671 NM_152391 chr2 + 11295497 11318998 11295672 11317954 7 11295497,11300591,11300750,11304329,11312050,11315093,11317862, 11295815,11300674,11300820,11304387,11312171,11315135,11318998, 0 PQLC3 cmpl cmpl 0,2,1,2,0,1,1, 889 NM_152390 chr2 + 39893034 39945104 39893114 39944391 4 39893034,39931220,39934188,39944149, 39893514,39931334,39934326,39945104, 0 TMEM178A cmpl cmpl 0,1,1,1, 184 NM_138973 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165978,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164649,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 783 NR_026713 chr20 + 26035249 26067553 26067553 26067553 5 26035249,26049552,26054405,26061799,26063529, 26035721,26049840,26054505,26062026,26067553, 0 FAM182A unk unk -1,-1,-1,-1,-1, 789 NR_024027 chr21 - 26758132 26804013 26804013 26804013 5 26758132,26793019,26796865,26802077,26803489, 26758651,26793112,26796961,26802321,26804013, 0 LINC00158 unk unk -1,-1,-1,-1,-1, 892 NM_201434 chr17 - 40276993 40307062 40277800 40282520 7 40276993,40278772,40280278,40280666,40282354,40289779,40306910, 40277916,40278866,40280401,40280818,40282608,40289896,40307062, 0 RAB5C cmpl cmpl 1,0,0,1,0,-1,-1, 989 NM_001146225 chr12 - 52979372 52995322 52979765 52995236 10 52979372,52979746,52980729,52981414,52984619,52985247,52986179,52986675,52992681,52994810, 52979619,52979956,52980764,52981635,52984745,52985412,52986275,52986736,52992896,52995322, 0 KRT72 cmpl cmpl -1,1,2,0,0,0,0,2,0,0, 271 NM_000651 chr1 + 207669472 207815110 207669612 207812754 47 207669472,207679248,207680058,207684913,207696955,207700097,207700365,207702060,207705524,207706753,207707541,207713325,207715526,207718652,207718920,207720615,207724079,207725308,207726096,207731882,207734083,207737208,207737476,207739182,207741168,207742403,207743191,207748939,207751149,207753584,207753855,207755262,207757993,207760730,207762019,207780595,207782634,207785021,207785283,207787748,207789919,207791415,207793224,207795317,207796337,207803861,207812741, 207669733,207679428,207680158,207684999,207697354,207700274,207700468,207702146,207705743,207706933,207707641,207713411,207715925,207718829,207719023,207720701,207724298,207725488,207726196,207731968,207734482,207737385,207737579,207739268,207741387,207742583,207743291,207749025,207751548,207753761,207753958,207755348,207758221,207760910,207762119,207780681,207783033,207785198,207785386,207787834,207790147,207791592,207793410,207795341,207796413,207803966,207815110, 0 CR1 cmpl cmpl 0,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,1,1,2,2, 655 NM_001256854 chr4 + 9217130 9218723 9217130 9218723 1 9217130, 9218723, 0 USP17L11 cmpl cmpl 0, 657 NM_001080556 chr17 + 9479943 9546776 9480012 9546515 13 9479943,9490018,9497509,9501550,9503383,9511435,9515625,9531988,9536204,9538721,9541925,9545040,9546339, 9480082,9490151,9497638,9501650,9503500,9511536,9515796,9532137,9536350,9538873,9542028,9545152,9546776, 0 WDR16 cmpl cmpl 0,1,2,2,0,0,2,2,1,0,2,0,1, 704 NM_001130842 chr17 + 15602890 15624100 15603643 15620604 6 15602890,15603448,15604465,15609700,15611468,15619372, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,0,1,0,1,1, 661 NM_022787 chr1 + 10003485 10045556 10032131 10042759 5 10003485,10032075,10035649,10041088,10042358, 10003573,10032246,10035833,10041228,10045556, 0 NMNAT1 cmpl cmpl -1,0,1,2,1, 738 NM_001278641 chr22 + 20105475 20114880 20106670 20114575 6 20105475,20106535,20109786,20112830,20113825,20114477, 20105836,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl -1,0,2,1,1,1, 612 NM_178844 chr16 - 3589035 3627392 3591824 3615037 21 3589035,3592190,3592691,3593424,3594245,3598134,3598669,3599141,3599696,3600413,3602195,3602228,3604242,3606911,3607593,3611702,3613009,3614859,3615319,3617243,3627149, 3591915,3592274,3592775,3593508,3594329,3598218,3598753,3599225,3599780,3600497,3602227,3602280,3604326,3606995,3607677,3611789,3614759,3615061,3615381,3617325,3627392, 0 NLRC3 cmpl cmpl 2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,1,0,-1,-1,-1, 885 NM_152426 chr22 + 39417117 39429256 39417524 39428321 7 39417117,39418826,39421074,39421561,39425367,39427698,39428202, 39417541,39419019,39421354,39421676,39425524,39427978,39429256, 0 APOBEC3D cmpl cmpl 0,2,0,1,2,0,1, 1389 NM_152423 chrX + 105412297 105452949 105449425 105451516 5 105412297,105415004,105421216,105447977,105449211, 105412418,105415132,105421352,105448163,105452949, 0 MUM1L1 cmpl cmpl -1,-1,-1,-1,0, 1352 NM_144620 chr1 - 100614003 100643829 100614597 100634072 10 100614003,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100638886,100643690, 100614653,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100638926,100643829, 0 LRRC39 cmpl cmpl 1,2,2,0,1,0,2,0,-1,-1, 929 NM_178181 chr3 - 45151707 45187914 45151956 45187779 4 45151707,45153574,45159903,45187697, 45152333,45153937,45160113,45187914, 0 CDCP1 cmpl cmpl 1,1,1,0, 649 NM_001039667 chr19 + 8429010 8439259 8429205 8438770 6 8429010,8430837,8431085,8435939,8436124,8438588, 8429523,8430948,8431203,8436035,8436406,8439259, 0 ANGPTL4 cmpl cmpl 0,0,0,1,1,1, 73 NM_015155 chr10 - 852853 977645 858865 931661 18 852853,860681,860885,863664,866739,871004,871703,875324,875620,876806,882342,888871,890916,909682,910062,930386,931580,977367, 859153,860790,861010,863829,866785,871256,871810,875534,875674,876917,882446,889008,890995,909823,910210,930446,931700,977645, 0 LARP4B cmpl cmpl 0,2,0,0,2,2,0,0,0,0,1,2,1,1,0,0,0,-1, 1486 NM_005797 chr11 - 118124130 118135251 118127964 118134868 6 118124130,118127952,118130768,118133152,118133645,118134810, 118125948,118128028,118130916,118133363,118133812,118135251, 0 MPZL2 cmpl cmpl -1,2,1,0,1,0, 1158 NM_019896 chr2 + 75185774 75196859 75185806 75196549 4 75185774,75186467,75187231,75196535, 75186019,75186552,75187273,75196859, 0 POLE4 cmpl cmpl 0,0,1,1, 1449 NM_017699 chr3 + 113251217 113348422 113251868 113346555 25 113251217,113285266,113286386,113295768,113299454,113300207,113302255,113303544,113304023,113311851,113320434,113321851,113322806,113323756,113325887,113326940,113327265,113329854,113330932,113334946,113338526,113342273,113342469,113344948,113346492, 113252090,113285388,113286557,113295814,113299556,113300291,113302343,113303616,113304117,113311895,113320506,113321997,113322880,113323823,113325961,113327064,113327383,113329991,113331041,113335023,113338573,113342379,113342580,113345062,113348422, 0 SIDT1 cmpl cmpl 0,0,2,2,0,0,0,1,1,2,1,1,0,2,0,2,0,1,0,1,0,2,0,0,0, 849 NM_001114093 chr19 + 34663351 34720420 34663547 34717336 11 34663351,34685382,34687538,34699833,34706028,34706500,34710295,34710610,34712411,34717312,34718269, 34663668,34685546,34687668,34699956,34706205,34706566,34710478,34710782,34712643,34717369,34720420, 0 LSM14A cmpl cmpl 0,1,0,1,1,1,1,1,2,0,-1, 825 NM_001145466 chr6 - 31556659 31560762 31556970 31560498 4 31556659,31557302,31557558,31560455, 31557008,31557410,31557903,31560762, 0 NCR3 cmpl cmpl 1,1,1,0, 972 NM_004977 chr19 - 50818764 50832634 50823502 50832339 5 50818764,50823479,50823849,50826231,50831469, 50819348,50823606,50824041,50827339,50832634, 0 KCNC3 cmpl cmpl -1,1,1,0,0, 607 NR_024371 chr1 - 2980635 2984289 2984289 2984289 2 2980635,2983900, 2980866,2984289, 0 LINC00982 unk unk -1,-1, 864 NR_049735 chr14 - 36604915 36645857 36645857 36645857 4 36604915,36623009,36631829,36645503, 36605562,36623100,36631889,36645857, 0 PTCSC3 unk unk -1,-1,-1,-1, 1162 NM_018975 chr16 + 75681634 75691341 75681780 75690509 3 75681634,75688170,75690104, 75682450,75688295,75691341, 0 TERF2IP cmpl cmpl 0,1,0, 79 NM_018173 chr12 + 6419601 6437672 6421392 6437311 16 6419601,6421324,6422794,6424170,6424719,6425034,6425420,6426468,6426712,6427022,6427466,6427910,6428158,6435593,6436419,6437301, 6419681,6421530,6422950,6424335,6424815,6425085,6425570,6426579,6426862,6427160,6427586,6428043,6428274,6435739,6437112,6437672, 0 PLEKHG6 cmpl cmpl -1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,2, 1285 NM_194456 chr7 - 91828282 91875414 91830049 91871449 20 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91874740,91875219, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874485,91874909,91875414, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1,-1, 639 NM_001256874 chr8 + 7194636 7196229 7194636 7196229 1 7194636, 7196229, 0 USP17L4 cmpl cmpl 0, 644 NM_001256872 chr8 - 7829182 7830775 7829182 7830775 1 7829182, 7830775, 0 USP17L8 cmpl cmpl 0, 121 NM_020717 chrX - 50334642 50557044 50339694 50557018 9 50334642,50341265,50345632,50350380,50370613,50376177,50381173,50438785,50556901, 50339964,50341535,50345813,50351184,50370675,50378668,50381308,50438937,50557044, 0 SHROOM4 cmpl cmpl 0,0,2,2,0,2,2,0,0, 830 NR_037861 chr6 + 32121775 32136062 32136062 32136062 16 32121775,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32132355,32133914,32134477,32134686,32134863,32135126,32135279,32135686, 32122181,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32132434,32134397,32134587,32134782,32135034,32135206,32135433,32136062, 0 PPT2-EGFL8 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 815 NM_001003684 chr22 + 30163357 30166402 30163387 30163576 2 30163357,30165666, 30163596,30166402, 0 UQCR10 cmpl cmpl 0,-1, 122 NM_015163 chr14 - 51441980 51562422 51444008 51561657 10 51441980,51446104,51448517,51464767,51467400,51475797,51477101,51489552,51491982,51560835, 51444071,51446267,51448821,51464906,51467558,51475951,51477212,51489675,51492078,51562422, 0 TRIM9 cmpl cmpl 0,2,1,0,1,0,0,0,0,0, 16 NM_199340 chr17 - 62850487 62914903 62850716 62893375 14 62850487,62851957,62854896,62855559,62859017,62864579,62865212,62882203,62882932,62885798,62888646,62890766,62894479,62914867, 62850762,62852007,62855001,62857091,62859136,62864654,62865284,62882284,62883004,62885870,62888718,62893772,62894577,62914903, 0 LRRC37A3 cmpl cmpl 2,0,0,1,2,2,2,2,2,2,2,0,-1,-1, 825 NM_000595 chr6 + 31540070 31542100 31540519 31541470 4 31540070,31540510,31540704,31541057, 31540223,31540618,31540810,31542100, 0 LTA cmpl cmpl -1,0,0,1, 606 NM_001145275 chrY + 2803517 2850547 2829131 2848034 6 2803517,2829114,2843135,2843551,2845980,2846850, 2803810,2829687,2843285,2843695,2846121,2850547, 0 ZFY cmpl cmpl -1,0,1,1,1,1, 117 NM_001142466 chr16 + 46919101 46965201 46931616 46962909 12 46919101,46919378,46931559,46934593,46940753,46943595,46950539,46952532,46956153,46958300,46960836,46962818, 46919243,46919489,46931649,46934702,46940887,46943839,46950619,46952669,46956328,46958456,46960949,46965201, 0 GPT2 cmpl cmpl -1,-1,0,0,1,0,1,0,2,0,0,2, 140 NM_001617 chr2 - 70889215 70995375 70890556 70933540 16 70889215,70900009,70901809,70903927,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70995017, 70890867,70900138,70901957,70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70995375, 0 ADD2 cmpl cmpl 1,1,0,0,0,0,0,0,0,0,0,1,0,0,-1,-1, 602 NM_001286627 chr16 - 2303116 2318413 2303897 2318057 6 2303116,2312278,2312740,2313096,2314176,2318055, 2304064,2312432,2312843,2313288,2314332,2318413, 0 RNPS1 cmpl cmpl 1,0,2,2,2,0, 168 NM_001168474 chrX - 100523240 100546325 100524180 100542531 13 100523240,100530209,100530987,100531294,100532593,100533036,100533981,100536707,100537314,100538437,100541562,100542465,100546211, 100524225,100530269,100531100,100531516,100532707,100533109,100534023,100536763,100537441,100538571,100541641,100542533,100546325, 0 TAF7L cmpl cmpl 0,0,1,1,1,0,0,1,0,1,0,0,-1, 184 NM_012104 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164724,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 30 NR_047568 chr3 + 177159708 177470492 177470492 177470492 4 177159708,177257182,177347204,177469698, 177159898,177257281,177347343,177470492, 0 LINC00578 unk unk -1,-1,-1,-1, 937 NM_001295 chr3 - 46243199 46249832 46244736 46245804 2 46243199,46249772, 46245815,46249832, 0 CCR1 cmpl cmpl 0,-1, 2116 NM_153689 chr2 + 200775978 200792996 200776161 200790609 2 200775978,200789784, 200776494,200792996, 0 C2orf69 cmpl cmpl 0,0, 140 NM_022479 chr7 + 70597522 71178586 70597788 71177131 11 70597522,70800535,70853220,70880874,70885893,71036269,71130395,71134956,71142195,71175745,71177002, 70598026,70800719,70853387,70881049,70886091,71036387,71130581,71135094,71142291,71175913,71178586, 0 WBSCR17 cmpl cmpl 0,1,2,1,2,2,0,0,0,0,0, 112 NM_006789 chr6 + 41020939 41032630 41021086 41029610 3 41020939,41029066,41031839, 41021217,41029631,41032630, 0 APOBEC2 cmpl cmpl 0,2,-1, 1380 NM_001008219 chr1 - 104230040 104238911 104230070 104238261 11 104230040,104231579,104231815,104233915,104234109,104235048,104235921,104236600,104237601,104238093,104238663, 104230260,104231705,104231934,104234015,104234232,104235182,104236152,104236798,104237748,104238307,104238911, 0 AMY1C cmpl cmpl 2,2,0,2,2,0,0,0,0,0,-1, 774 NM_019839 chr14 + 24779356 24781259 24779870 24780947 2 24779356,24779860, 24779461,24781259, 0 LTB4R2 cmpl cmpl -1,0, 1355 NM_020836 chr14 - 101003483 101036131 101004305 101034261 7 101003483,101006832,101010194,101011336,101012837,101034247,101036074, 101005652,101006916,101010302,101011403,101012999,101034276,101036131, 0 BEGAIN cmpl cmpl 0,0,0,2,2,0,-1, 1805 NM_001168214 chr3 + 159943422 159946000 159943422 159944166 1 159943422, 159946000, 0 C3orf80 cmpl cmpl 0, 675 NM_014153 chr16 - 11844441 11891114 11845172 11876210 23 11844441,11846524,11850092,11852286,11855261,11855765,11856526,11857333,11858908,11859344,11861272,11862170,11862886,11864638,11868091,11868835,11870175,11870307,11870606,11873021,11875280,11876142,11890979, 11845362,11846688,11850226,11852395,11855367,11855899,11856603,11857515,11859009,11859541,11861434,11862357,11862951,11864843,11868375,11868869,11870214,11870388,11870765,11873219,11875320,11876244,11891114, 0 ZC3H7A cmpl cmpl 2,0,1,0,2,0,1,2,0,1,1,0,1,0,1,0,0,0,0,0,2,0,-1, 89 NM_005013 chr11 + 17298285 17353070 17316870 17352966 14 17298285,17304335,17316870,17317650,17323290,17331118,17332371,17332739,17333418,17333574,17336927,17351673,17352448,17352958, 17298375,17304490,17317014,17317758,17323417,17331222,17332557,17332830,17333477,17333662,17337022,17351844,17352530,17353070, 0 NUCB2 cmpl cmpl -1,-1,0,0,0,1,0,0,1,0,1,0,0,1, 969 NM_020436 chr20 - 50400582 50419048 50400803 50418947 4 50400582,50405399,50406560,50418817, 50401223,50405680,50408891,50419048, 0 SALL4 cmpl cmpl 0,1,1,0, 968 NM_001031746 chr10 - 50222289 50323577 50227694 50323530 8 50222289,50255027,50256522,50272747,50285263,50293999,50315638,50323475, 50227820,50255089,50256629,50272781,50285371,50294068,50316040,50323577, 0 VSTM4 cmpl cmpl 0,1,2,1,1,1,1,0, 1348 NM_019606 chr7 + 100027253 100031749 100027641 100031177 4 100027253,100030541,100030885,100031124, 100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl 0,0,0,1, 1226 NM_001080442 chr16 - 84043388 84075762 84043388 84075762 10 84043388,84046605,84050123,84050744,84056379,84063098,84065471,84066932,84070306,84075573, 84043482,84046657,84050332,84050892,84056494,84063156,84065573,84067074,84070505,84075762, 0 SLC38A8 cmpl cmpl 2,1,2,1,0,2,2,1,0,0, 722 NM_001105569 chr2 + 17997785 17998367 17997785 17998367 1 17997785, 17998367, 0 MSGN1 cmpl cmpl 0, 850 NM_001270488 chr6 - 34845554 34855848 34846440 34855734 4 34845554,34848065,34850708,34855563, 34846497,34848153,34850857,34855848, 0 TAF11 cmpl cmpl 0,2,0,0, 1267 NM_001146162 chr11 + 89443466 89451040 89443466 89451040 6 89443466,89444577,89447359,89448325,89449057,89450546, 89443877,89444673,89447590,89448348,89449155,89451040, 0 TRIM77 cmpl cmpl 0,0,0,0,2,1, 778 NM_001001660 chr12 + 25348149 25357949 25356890 25357246 3 25348149,25356853,25357024, 25348271,25356941,25357949, 0 LYRM5 cmpl cmpl -1,0,0, 82 NM_015691 chrX + 9983794 10112518 10031578 10109541 23 9983794,10031484,10035326,10046838,10047764,10058810,10062171,10066545,10077817,10084457,10085163,10090658,10092304,10093063,10094153,10096027,10096596,10097995,10102471,10104672,10106748,10107452,10109474, 9983898,10031594,10035530,10046915,10047844,10058940,10062321,10066619,10078060,10084547,10085729,10090779,10092379,10093150,10094346,10096201,10096748,10098161,10102636,10104765,10106976,10107580,10112518, 0 WWC3 cmpl cmpl -1,0,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 111 NM_001284425 chr3 + 39851150 40301811 40085560 40299657 16 39851150,39942277,40085540,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,-1,0,1,1,0,0,0,1,0,0,0,0,0,1,0, 127 NM_001024924 chr4 + 56719815 56771244 56724489 56770661 19 56719815,56724479,56726576,56730392,56734501,56736843,56737266,56738014,56744082,56749988,56755053,56756388,56757480,56758800,56759717,56762882,56765850,56768509,56770508, 56720119,56724613,56726707,56730552,56734689,56737071,56737399,56738124,56744232,56750094,56755098,56756552,56757588,56758877,56759946,56763066,56766050,56768704,56771244, 0 EXOC1 cmpl cmpl -1,0,1,0,1,0,0,1,0,0,1,1,0,0,2,0,1,0,0, 776 NR_002178 chrY + 25082601 25119431 25119431 25119431 4 25082601,25109774,25111654,25118430, 25082762,25109850,25111762,25119431, 0 TTTY4B unk unk -1,-1,-1,-1, 1234 NR_003654 chr15 + 85174690 85185694 85185694 85185694 4 85174690,85180577,85181626,85182738, 85175529,85180651,85181708,85185694, 0 SCAND2P unk unk -1,-1,-1,-1, 169 NM_006828 chr6 - 100956070 101329248 100957261 101315873 42 100956070,100957807,100960584,100964055,100965866,100988038,101037509,101037823,101049685,101053443,101054615,101054826,101073067,101075465,101075717,101076890,101079003,101086476,101090456,101091906,101094490,101095101,101098413,101099435,101100600,101103574,101109681,101110220,101127493,101163337,101165950,101173414,101214440,101215020,101246588,101247306,101248175,101253635,101296023,101311939,101315783,101328936, 100957409,100957983,100960794,100964203,100966018,100988263,101037644,101037935,101049811,101053576,101054736,101054964,101073210,101075586,101075863,101077057,101079089,101086697,101090625,101092005,101094645,101095327,101098590,101099522,101100765,101103694,101109906,101110412,101127628,101163409,101166127,101173579,101214581,101215221,101246714,101247448,101248380,101253756,101296583,101312090,101315914,101329248, 0 ASCC3 cmpl cmpl 2,0,0,2,0,0,0,2,2,1,0,0,1,0,1,2,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,1,0,0,-1, 1380 NM_001008219 chr1 + 104292440 104301310 104293091 104301280 11 104292440,104293045,104293604,104294554,104295200,104296170,104297120,104297336,104299416,104299645,104301090, 104292688,104293259,104293751,104294752,104295431,104296304,104297243,104297436,104299535,104299771,104301310, 0 AMY1C cmpl cmpl -1,0,0,0,0,0,2,2,0,2,2, 1677 NR_039682 chr8 + 143257699 143257779 143257779 143257779 1 143257699, 143257779, 0 MIR4472-1 unk unk -1, 200 NM_016103 chr5 - 133936838 133968533 133942639 133959709 7 133936838,133944061,133945260,133948380,133956622,133959651,133968417, 133942756,133944193,133945364,133948446,133956742,133959727,133968533, 0 SAR1B cmpl cmpl 0,0,1,1,1,0,-1, 161 NR_046160 chr12 - 92378751 92536447 92536447 92536447 6 92378751,92381331,92382872,92384063,92387145,92536382, 92380473,92381419,92382969,92384138,92387305,92536447, 0 C12orf79 unk unk -1,-1,-1,-1,-1,-1, 161 NR_046159 chr12 - 92378751 92535489 92535489 92535489 6 92378751,92381331,92382872,92384063,92387145,92535426, 92380473,92381419,92382969,92384138,92387305,92535489, 0 C12orf79 unk unk -1,-1,-1,-1,-1,-1, 79 NM_001144857 chr12 + 6421816 6437672 6422310 6437311 15 6421816,6422794,6424170,6424719,6425034,6425420,6426468,6426712,6427022,6427466,6427910,6428158,6435593,6436419,6437301, 6422352,6422950,6424335,6424815,6425085,6425570,6426579,6426862,6427160,6427586,6428043,6428274,6435739,6437112,6437672, 0 PLEKHG6 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,1,0,2,2, 135 NM_015279 chr12 + 65218351 65274798 65218659 65269568 12 65218351,65221614,65222223,65224156,65225898,65230269,65232462,65237159,65258447,65260543,65264381,65268780, 65218813,65221676,65222289,65224282,65226084,65230438,65232631,65237265,65258560,65260683,65264588,65274798, 0 TBC1D30 cmpl cmpl 0,1,0,0,0,0,1,2,0,2,1,1, 141 NM_148923 chr18 - 71920526 71959251 71920818 71959110 5 71920526,71922975,71928149,71930583,71958981, 71920900,71923010,71928179,71930712,71959251, 0 CYB5A cmpl cmpl 2,0,0,0,0, 1379 NM_001288724 chr10 + 104153866 104162286 104155716 104162133 23 104153866,104155644,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162011, 104154357,104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl -1,0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 85 NM_001282658 chr10 - 12938624 13141773 12940415 13040511 7 12938624,13040337,13091673,13115867,13140524,13141083,13141505, 12940679,13040512,13091941,13116100,13140602,13141309,13141773, 0 CCDC3 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1018 NM_001280798 chr12 - 56864727 56882198 56865270 56871485 15 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868894,56869466,56869761,56871502,56871880,56872046,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,2,0,0,0,-1,-1,-1, 1458 NR_044995 chr13 + 114518582 114545814 114545814 114545814 5 114518582,114536464,114537656,114541049,114545341, 114518664,114536552,114537737,114541220,114545814, 0 GAS6-AS1 unk unk -1,-1,-1,-1,-1, 1459 NR_044993 chr13 + 114567149 114569805 114569805 114569805 2 114567149,114567982, 114567268,114569805, 0 GAS6-AS2 unk unk -1,-1, 824 NR_040662 chr6 + 31430956 31433586 31433586 31433586 2 31430956,31431147, 31431056,31433586, 0 HCP5 unk unk -1,-1, 158 NM_014606 chr4 + 89513573 89629693 89526974 89628111 26 89513573,89516707,89526945,89570990,89573162,89574019,89575192,89576324,89577025,89579565,89583581,89585303,89588527,89589042,89591010,89591289,89597368,89597484,89599114,89601243,89602309,89607886,89608367,89625248,89625658,89627902, 89513725,89516765,89527200,89571150,89573239,89574241,89575284,89576455,89577186,89579642,89583706,89585363,89588639,89589232,89591174,89591403,89597392,89597574,89599285,89601387,89602476,89607953,89608450,89625432,89625761,89629693, 0 HERC3 cmpl cmpl -1,-1,0,1,2,1,1,0,2,1,0,2,2,0,1,0,0,0,0,0,0,2,0,2,0,1, 104 NM_014586 chr21 + 33245627 33376377 33245987 33371497 11 33245627,33296779,33312476,33318347,33331154,33340561,33346866,33355838,33362441,33368080,33370838, 33246248,33297072,33312532,33318483,33331282,33340697,33347029,33355922,33362489,33368261,33376377, 0 HUNK cmpl cmpl 0,0,2,1,2,1,2,0,0,0,1, 830 NM_005155 chr6 + 32121775 32131458 32122371 32130727 9 32121775,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32130583, 32122181,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32131458, 0 PPT2 cmpl cmpl -1,0,0,1,1,1,1,2,0, 1060 NR_051958 chr20 - 62329994 62339365 62339365 62339365 7 62329994,62331953,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1, 1060 NR_051957 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333247,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 971 NM_002751 chr22 - 50702141 50708779 50703376 50708721 12 50702141,50703749,50704010,50704654,50704968,50705362,50705555,50705685,50705799,50705997,50706248,50708605, 50703456,50703923,50704089,50704734,50705040,50705477,50705603,50705715,50705911,50706056,50706378,50708779, 0 MAPK11 cmpl cmpl 1,1,0,1,1,0,0,0,2,0,2,0, 963 NM_002750 chr10 + 49609654 49647402 49609703 49642938 11 49609654,49612894,49617921,49618072,49628197,49632130,49633930,49634422,49635122,49639235,49642921, 49609825,49613024,49617980,49618211,49628363,49632202,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,1,0,1,1, 954 NM_001166426 chrX + 48456223 48463582 48457339 48463420 8 48456223,48457740,48457974,48458706,48460171,48460452,48462659,48463235, 48457345,48457850,48458105,48459014,48460352,48460594,48462778,48463582, 0 WDR13 cmpl cmpl 0,0,2,1,0,1,2,1, 1250 NM_001032392 chr2 - 87237587 87248969 87243425 87248906 4 87237587,87243424,87244675,87248857, 87240242,87243531,87244811,87248969, 0 PLGLB1 cmpl cmpl -1,2,1,0, 987 NM_001278701 chrX - 52725945 52736276 52727078 52734799 9 52725945,52727033,52727835,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736276, 0 SSX2B cmpl cmpl -1,0,1,0,1,1,0,0,-1, 987 NM_001278701 chrX + 52780280 52790617 52781757 52789480 9 52780280,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788723,52789525,52790617, 0 SSX2B cmpl cmpl -1,0,0,1,1,0,1,0,-1, 2135 NR_045785 chr1 - 203185206 203198860 203198860 203198860 12 203185206,203186429,203186866,203188343,203188791,203191329,203192262,203192622,203194175,203194796,203197660,203198739, 203186261,203186500,203186993,203188457,203188977,203191453,203192387,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1088 NR_039736 chr15 - 66011583 66011670 66011670 66011670 1 66011583, 66011670, 0 MIR4511 unk unk -1, 1171 NM_016364 chr10 - 76854191 76859248 76854433 76857642 4 76854191,76855332,76857469,76859186, 76854636,76855553,76857643,76859248, 0 DUSP13 cmpl cmpl 1,2,0,-1, 818 NM_145029 chr6 + 30614815 30620987 30615008 30620692 5 30614815,30618770,30619042,30620424,30620578, 30615080,30618859,30619243,30620494,30620987, 0 C6orf136 cmpl cmpl 0,0,2,2,0, 2101 NR_029626 chr1 - 198828172 198828282 198828282 198828282 1 198828172, 198828282, 0 MIR181A1 unk unk -1, 132 NM_001013251 chr11 + 62648343 62656355 62648495 62656165 9 62648343,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,0,0,2,0,0,0, 1768 NM_001287589 chr1 + 155108287 155111334 155108428 155110757 4 155108287,155108774,155110454,155110655, 155108467,155108852,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0, 125 NR_037640 chr1 + 55107426 55208328 55208328 55208328 33 55107426,55117621,55118525,55130839,55134526,55136169,55136472,55138763,55139373,55139688,55144414,55144935,55145563,55148328,55151930,55158096,55161048,55165993,55166815,55167762,55168295,55172107,55174686,55181195,55182272,55183164,55186835,55188347,55194018,55197158,55199301,55203254,55207083, 55107641,55117656,55119830,55130913,55134610,55136249,55136602,55138859,55139478,55139824,55144527,55145112,55145718,55148467,55152121,55158234,55161163,55166134,55166995,55167918,55168418,55172210,55174749,55181283,55182390,55183326,55186913,55188472,55194105,55197373,55199383,55203337,55208328, 0 MROH7-TTC4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 898 NR_026938 chr6 + 41068772 41108573 41108573 41108573 23 41068772,41069748,41072848,41076043,41076687,41078961,41085036,41085214,41085867,41086662,41086979,41088261,41089084,41089524,41090715,41092223,41095283,41100032,41102923,41105094,41106346,41107593,41108335, 41068917,41069853,41072887,41076248,41077643,41079095,41085121,41085404,41085923,41086846,41087202,41088396,41089213,41089682,41090988,41092559,41095347,41100252,41103080,41105299,41106464,41107807,41108573, 0 ADCY10P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 105 NM_001286556 chr21 + 33784744 33887710 33785161 33887500 8 33784744,33825619,33829904,33840003,33867336,33873724,33876235,33887123, 33785321,33825816,33830028,33840156,33867480,33873796,33876325,33887710, 0 EVA1C cmpl cmpl 0,1,0,1,1,1,1,1, 1375 NM_001077594 chr14 + 103566480 103576894 103566556 103576560 11 103566480,103568454,103570277,103570603,103571074,103571328,103573121,103573760,103573967,103574732,103576367, 103566950,103569109,103570389,103570726,103571175,103571409,103573236,103573880,103574120,103574854,103576894, 0 EXOC3L4 cmpl cmpl 0,1,2,0,0,2,2,0,0,0,2, 864 NR_073097 chr1 - 36602169 36615115 36615115 36615115 3 36602169,36603396,36614692, 36602923,36603579,36615115, 0 TRAPPC3 unk unk -1,-1,-1, 177 NM_033390 chr11 + 109964086 110042566 109964137 110036462 6 109964086,110007387,110023643,110029980,110033997,110035065, 109964158,110008139,110023783,110030215,110034104,110042566, 0 ZC3H12C cmpl cmpl 0,0,2,1,2,1, 129 NM_016651 chr14 + 59104756 59115038 59104920 59113852 4 59104756,59107453,59108309,59111975, 59105265,59107586,59108465,59115038, 0 DACT1 cmpl cmpl 0,0,1,1, 1568 NM_020701 chr3 - 128846258 128880073 128848923 128879818 11 128846258,128849392,128852916,128853674,128859210,128864603,128875475,128875697,128877350,128877996,128879815, 128849031,128849479,128853038,128853797,128859328,128864716,128875518,128875763,128877402,128878019,128880073, 0 ISY1 cmpl cmpl 0,0,1,1,0,1,0,0,2,0,0, 954 NM_001256967 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481397, 48474576,48475281,48476420,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 954 NM_001256968 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481505, 48474576,48475281,48476425,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 954 NM_001256969 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481505, 48474576,48475281,48476420,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 1172 NM_001278603 chr4 - 77035811 77069668 77036518 77069527 11 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77055327,77057338,77065542,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77055515,77057565,77065626,77069668, 0 NUP54 cmpl cmpl 0,0,0,0,2,1,2,0,1,1,0, 2436 NM_152783 chr2 + 242673993 242708231 242674639 242707384 10 242673993,242674547,242680447,242681849,242683036,242684123,242689565,242690660,242695263,242707124, 242674110,242674931,242680505,242681989,242683230,242684292,242689709,242690803,242695429,242708231, 0 D2HGDH cmpl cmpl -1,0,1,2,1,0,1,1,0,1, 2440 NR_029401 chr1 - 243219615 243265046 243265046 243265046 18 243219615,243220665,243222779,243223720,243229374,243230392,243230926,243232882,243242289,243245191,243251011,243252622,243254832,243255342,243255780,243259292,243260491,243264687, 243220572,243220723,243222970,243223839,243229543,243230589,243231024,243233006,243242354,243245427,243251534,243252681,243254898,243255496,243255997,243259424,243260601,243265046, 0 RP11-261C10.3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1674 NM_001009615 chrX - 142795054 142804516 142795134 142803762 2 142795054,142803684, 142795599,142804516, 0 SPANXN2 cmpl cmpl 0,0, 11 NM_001288714 chr11 + 20691096 21597229 20691269 21596568 19 20691096,20699477,20805225,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21555919,21581734,21592309,21594730,21596517, 20691324,20699606,20805376,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21556060,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,2,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0, 11 NM_001288787 chr17 - 17746821 17875784 17750948 17875627 14 17746821,17752136,17754206,17764789,17766044,17769609,17770189,17772653,17782940,17786018,17796974,17801909,17810760,17875575, 17751097,17752173,17754266,17764865,17766162,17769733,17770238,17772787,17783057,17786177,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,2,1,0,2,0,0,0,0,2,1,0, 11 NM_001288788 chr17 - 17746821 17875784 17750948 17875627 12 17746821,17752136,17764789,17766044,17769609,17770189,17772653,17782940,17796974,17801909,17810760,17875575, 17751097,17752173,17764865,17766162,17769733,17770238,17772787,17783057,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,2,1,0,2,0,0,0,2,1,0, 633 NM_014336 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330076,6330377,6331826,6337418,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 771 NM_001503 chr6 - 24426061 24489850 24429259 24489739 25 24426061,24433414,24433590,24436803,24437340,24445773,24445953,24447065,24448104,24448361,24450016,24454242,24456725,24460506,24462957,24466907,24467139,24467394,24472809,24473846,24475348,24476408,24480108,24486302,24489642, 24429346,24433465,24433617,24436964,24437517,24445867,24446059,24447207,24448261,24448436,24450127,24454429,24456865,24460627,24463023,24467047,24467167,24467502,24472864,24473895,24475459,24476506,24480187,24486358,24489850, 0 GPLD1 cmpl cmpl 0,0,0,1,1,0,2,1,0,0,0,2,0,2,2,0,2,2,1,0,0,1,0,1,0, 1654 NM_001184987 chr4 - 140211070 140223705 140213703 140216952 5 140211070,140213683,140216196,140216885,140223569, 140211246,140213763,140216300,140217114,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 187 NM_015313 chr11 + 120207617 120360645 120207952 120355786 41 120207617,120276826,120278446,120280102,120291461,120292511,120295066,120298777,120300148,120300420,120302479,120308016,120310837,120312415,120312812,120316130,120317111,120317656,120318582,120318942,120319817,120322220,120327826,120328429,120328788,120329882,120331380,120335945,120337902,120339996,120343758,120345268,120346048,120347369,120347927,120348155,120348864,120350668,120351968,120355146,120355775, 120207984,120276850,120278532,120280159,120291560,120292561,120295124,120298956,120300226,120300540,120302620,120308091,120310930,120312526,120312911,120316173,120317217,120317794,120318615,120319057,120319923,120322433,120327959,120328465,120328943,120330029,120331466,120336071,120338017,120340097,120343836,120345344,120346216,120347457,120348014,120348235,120349098,120351139,120352285,120355216,120360645, 0 ARHGEF12 cmpl cmpl 0,2,2,1,1,1,0,1,0,0,0,0,0,0,0,0,1,2,2,2,0,1,1,2,2,1,1,0,0,1,0,0,1,1,2,2,1,1,1,0,1, 1003 NM_019888 chr20 + 54823787 54824871 54823899 54824871 1 54823787, 54824871, 0 MC3R cmpl cmpl 0, 1660 NM_177456 chrX + 140982451 140985618 140984438 140985479 5 140982451,140983054,140983968,140984216,140984370, 140982600,140983193,140984062,140984293,140985618, 0 MAGEC3 cmpl cmpl -1,-1,-1,-1,0, 942 NR_045789 chr1 + 46805848 46830824 46830824 46830824 7 46805848,46806994,46810472,46812592,46818539,46826375,46827241, 46806591,46807169,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 unk unk -1,-1,-1,-1,-1,-1,-1, 936 NM_001024644 chr3 - 46062290 46068979 46062437 46063439 2 46062290,46068908, 46063470,46068979, 0 XCR1 cmpl cmpl 0,-1, 77 NM_001105538 chr17 - 4442190 4458681 4442234 4458619 27 4442190,4442733,4443642,4444757,4445078,4445758,4445910,4446207,4447783,4448045,4448320,4448553,4448904,4449140,4451252,4451437,4451818,4452626,4453352,4455174,4455419,4455745,4457104,4457313,4457489,4458155,4458421, 4442270,4443262,4443779,4444859,4445186,4445827,4446036,4446460,4447941,4448216,4448470,4448640,4449056,4449237,4451352,4451605,4451944,4452737,4453648,4455292,4455587,4455921,4457212,4457388,4457573,4458251,4458681, 0 MYBBP1A cmpl cmpl 0,2,0,0,0,0,0,2,0,0,0,0,1,0,2,2,2,2,0,2,2,0,0,0,0,0,0, 956 NM_016453 chr3 - 48711271 48723366 48711976 48723240 13 48711271,48715996,48716309,48716487,48716809,48717007,48717233,48717491,48718719,48719477,48719780,48720335,48723069, 48712180,48716169,48716402,48716616,48716890,48717146,48717320,48717662,48719213,48719589,48719985,48720445,48723366, 0 NCKIPSD cmpl cmpl 0,1,1,1,1,0,0,0,1,0,2,0,0, 2409 NM_030768 chr2 - 239079042 239112324 239079176 239112194 12 239079042,239079583,239082174,239090705,239092293,239092660,239093821,239096771,239098493,239102915,239103445,239112139, 239079317,239079665,239082294,239090827,239092381,239092754,239093928,239096898,239098613,239102972,239103511,239112324, 0 ILKAP cmpl cmpl 0,2,2,0,2,1,2,1,1,1,1,0, 109 NM_003316 chr21 + 38455246 38575408 38459557 38573875 46 38455246,38459546,38460132,38460495,38461098,38462532,38463592,38466304,38467649,38468880,38480691,38494116,38495282,38496918,38498379,38501302,38504981,38507679,38510933,38512860,38516824,38519780,38520845,38522377,38523119,38524192,38525250,38528956,38532000,38533103,38534291,38536352,38537851,38539856,38544896,38555075,38558006,38559349,38560795,38563634,38564412,38567975,38569870,38570182,38572532,38573740, 38456631,38459701,38460175,38460646,38461186,38462586,38463713,38466390,38467744,38468943,38480746,38494279,38495328,38497042,38498443,38501363,38505066,38507814,38511014,38512973,38516945,38519903,38520947,38522470,38523184,38524329,38525577,38529208,38532047,38533160,38534365,38536517,38538917,38539922,38545046,38555215,38558075,38559446,38560896,38563725,38564514,38568337,38569997,38570326,38572625,38575408, 0 TTC3 cmpl cmpl -1,0,0,1,2,0,0,1,0,2,2,0,1,2,0,1,2,0,0,0,2,0,0,0,0,2,1,1,1,0,0,2,2,0,0,0,2,2,0,2,0,0,2,0,0,0, 1270 NM_006813 chr6 + 89790428 89794879 89790613 89793915 2 89790428,89793471, 89791153,89794879, 0 PNRC1 cmpl cmpl 0,0, 692 NR_033354 chr18 - 14075988 14132489 14132489 14132489 6 14075988,14078198,14080187,14084195,14084875,14132273, 14077525,14078297,14080265,14084346,14085075,14132489, 0 ZNF519 unk unk -1,-1,-1,-1,-1,-1, 803 NR_033353 chr15 + 28623783 28637171 28637171 28637171 18 28623783,28625652,28626357,28626600,28627535,28627983,28628163,28629292,28629488,28629791,28630270,28630794,28632234,28632747,28633413,28633596,28633786,28634024, 28623955,28625772,28626417,28626681,28627895,28628068,28628273,28629382,28629596,28629879,28630527,28630875,28632310,28632839,28633514,28633697,28633939,28637171, 0 GOLGA8G unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1275 NR_040117 chr9 - 90472957 90473971 90473971 90473971 1 90472957, 90473971, 0 LOC392364 unk unk -1, 946 NM_152264 chr11 + 47430045 47438051 47431645 47436914 10 47430045,47431616,47433476,47433896,47434950,47435147,47435975,47436327,47436610,47436838, 47430213,47431946,47433590,47434018,47435058,47435237,47436026,47436460,47436710,47438051, 0 SLC39A13 cmpl cmpl -1,0,1,1,0,0,0,0,1,2, 726 NM_001261385 chr11 - 18552949 18601065 18554018 18600283 11 18552949,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18596893,18600270,18600974, 18554034,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18596959,18600355,18601065, 0 UEVLD cmpl cmpl 2,1,1,1,0,1,0,1,1,0,-1, 1701 NR_047115 chr5 - 146293769 146299069 146299069 146299069 4 146293769,146297385,146297936,146298954, 146293997,146297474,146297951,146299069, 0 PPP2R2B-IT1 unk unk -1,-1,-1,-1, 159 NM_001613 chr10 - 90694830 90712580 90694979 90708687 9 90694830,90697817,90699263,90700985,90701541,90703553,90707014,90708558,90712487, 90695123,90697999,90699455,90701147,90701626,90703664,90707143,90708710,90712580, 0 ACTA2 cmpl cmpl 0,1,1,1,0,0,0,0,-1, 179 NM_005054 chr2 - 111271397 111334678 111273187 111334601 23 111271397,111281072,111283841,111291041,111293992,111297631,111300935,111301112,111302236,111302645,111303049,111304130,111304421,111304680,111306969,111309300,111315428,111320188,111320679,111324952,111325540,111327233,111334529, 111273222,111281274,111283981,111293265,111294087,111297767,111301019,111301292,111302383,111302783,111303208,111304254,111304597,111304862,111307179,111309388,111315624,111320334,111320910,111325105,111325652,111327301,111334678, 0 RGPD5 cmpl cmpl 1,0,1,0,1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0, 1428 NM_005054 chr2 + 110551965 110615263 110552042 110613473 23 110551965,110559359,110561008,110561555,110565750,110566326,110571036,110577272,110579481,110581798,110582063,110582406,110583452,110583877,110584277,110585368,110585641,110588893,110592573,110593395,110602679,110605386,110613438, 110552114,110559427,110561120,110561708,110565981,110566472,110571232,110577360,110579691,110581980,110582239,110582530,110583611,110584015,110584424,110585548,110585725,110589029,110592668,110595619,110602819,110605588,110615263, 0 RGPD5 cmpl cmpl 0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1,0,1,0,1, 666 NM_001101387 chr17 - 10725791 10741418 10728548 10728962 2 10725791,10741261, 10729100,10741418, 0 PIRT cmpl cmpl 0,-1, 832 NM_001193513 chr2 + 32390909 32449181 32390969 32445782 15 32390909,32396355,32399131,32400387,32402545,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32434561,32445281, 32390972,32396442,32399216,32400430,32402665,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32434630,32449181, 0 SLC30A6 cmpl cmpl 0,0,0,1,2,2,2,2,2,1,2,2,0,0,0, 129 NM_001079520 chr14 + 59104756 59115038 59104920 59113852 4 59104756,59107453,59108309,59112086, 59105265,59107586,59108465,59115038, 0 DACT1 cmpl cmpl 0,0,1,1, 3 NM_001161661 chr5 + 167719064 167899308 167719157 167896022 23 167719064,167798428,167812215,167824728,167826492,167833202,167835511,167836926,167841352,167849012,167850537,167855037,167855711,167857141,167858256,167868686,167871498,167880972,167882360,167887654,167891715,167894844,167895955, 167719276,167798538,167812419,167824805,167826572,167833332,167835658,167837000,167841595,167849102,167851073,167855146,167855792,167857228,167858449,167868839,167871590,167881105,167882525,167887747,167891967,167894969,167899308, 0 WWC1 cmpl cmpl 0,2,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 2256 NM_000634 chr2 - 219027567 219031716 219028881 219029934 2 219027567,219031630, 219029967,219031716, 0 CXCR1 cmpl cmpl 0,-1, 592 NM_024100 chr19 + 984327 994569 984353 994343 10 984327,985864,989761,990222,990851,991080,991226,991954,994018,994211, 984563,985975,989895,990364,990995,991145,991351,992121,994087,994569, 0 WDR18 cmpl cmpl 0,0,0,2,0,0,2,1,0,0, 952 NM_001199898 chr17 + 48172100 48188733 48174860 48187461 12 48172100,48173495,48174786,48182734,48183248,48184157,48184439,48185519,48185682,48185975,48186650,48187320, 48172262,48173650,48174928,48182806,48183433,48184247,48184517,48185596,48185781,48186083,48186764,48188733, 0 PDK2 cmpl cmpl -1,-1,0,2,2,1,1,1,0,0,0,0, 11 NR_027790 chr21 + 17442841 17982094 17982094 17982094 8 17442841,17443433,17553910,17603375,17859809,17909698,17966659,17979313, 17442868,17443718,17554007,17603435,17859858,17909759,17966774,17982094, 0 LINC00478 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1519 NM_001136239 chr5 + 122424840 122523745 122425709 122522895 8 122424840,122425694,122435348,122491577,122495207,122506459,122515840,122522780, 122425214,122426301,122435656,122491705,122495332,122506802,122516017,122523745, 0 PRDM6 cmpl cmpl -1,0,1,0,2,1,2,2, 595 NM_006140 chrX + 1387692 1428828 1401596 1428372 13 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 144 NM_025083 chr15 - 74922898 74988386 74924952 74967465 7 74922898,74927749,74932806,74948073,74963795,74967301,74988220, 74925287,74927967,74932960,74948409,74964115,74967483,74988386, 0 EDC3 cmpl cmpl 1,2,1,1,2,0,-1, 1 NM_000627 chr2 + 33359663 33624575 33359804 33623612 30 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482350,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33567904,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33568030,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 119 NM_025087 chr4 + 48988264 49064095 48988446 49063907 16 48988264,48990493,48993470,48993952,48996635,49000476,49005751,49009217,49019265,49030645,49032841,49034582,49040052,49046802,49052710,49063828, 48988489,48990685,48993591,48994107,48996837,49000565,49006009,49009343,49019345,49030751,49032977,49034732,49040197,49046864,49052866,49064095, 0 CWH43 cmpl cmpl 0,1,1,2,1,2,1,1,1,0,1,2,2,0,2,2, 119 NM_001199161 chr3 - 49145478 49158371 49145844 49156578 27 49145478,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154491,49154869,49155089,49155379,49156454,49158188, 49145961,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153377,49153595,49153784,49154040,49154376,49154794,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,0,1,1,1,0,-1, 825 NM_004640 chr6 - 31497995 31510252 31498210 31508309 11 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31506539,31506923,31508098,31509726, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31506632,31507051,31508441,31510252, 0 DDX39B cmpl cmpl 1,0,2,0,0,1,0,0,1,0,-1, 1193 NM_001284237 chr5 + 79703831 79736195 79729966 79735862 4 79703831,79729927,79732574,79735754, 79703972,79730036,79734826,79736195, 0 ZFYVE16 cmpl cmpl -1,0,1,0, 1946 NM_152517 chr2 - 178414880 178417524 178415493 178417491 1 178414880, 178417524, 0 TTC30B cmpl cmpl 0, 1749 NM_178433 chr1 + 152586286 152586574 152586286 152586574 1 152586286, 152586574, 0 LCE3B cmpl cmpl 0, 830 NM_138717 chr6 + 32121228 32131458 32121403 32130727 9 32121228,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32130583, 32121413,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32131458, 0 PPT2 cmpl cmpl 0,1,0,1,1,1,1,2,0, 805 NR_103538 chr6 + 28911560 28912315 28912315 28912315 1 28911560, 28912315, 0 C6orf100 unk unk -1, 1566 NR_002187 chr7 + 128695276 128697293 128697293 128697293 1 128695276, 128697293, 0 TPI1P2 unk unk -1, 605 NM_213568 chr19 - 2734523 2740074 2736937 2737255 2 2734523,2739942, 2737377,2740074, 0 SLC39A3 cmpl cmpl 0,-1, 1081 NR_030347 chr12 + 65016288 65016385 65016385 65016385 1 65016288, 65016385, 0 MIR548C unk unk -1, 777 NR_022011 chr15 + 25227140 25228937 25228937 25228937 1 25227140, 25228937, 0 PWARSN unk unk -1, 1060 NM_001267546 chr20 - 62329994 62339365 62331794 62338042 7 62329994,62331953,62333181,62333487,62337708,62338002,62339218, 62331882,62332054,62333252,62333569,62337791,62338090,62339365, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,-1, 914 NM_006811 chr20 - 43127900 43150726 43128936 43150592 10 43127900,43129713,43132455,43133441,43135467,43138531,43139929,43141441,43142519,43150553, 43129075,43129941,43132636,43133532,43135637,43138669,43140009,43141635,43142681,43150726, 0 SERINC3 cmpl cmpl 2,2,1,0,1,1,2,0,0,0, 607 NR_015440 chr1 - 2976180 2984289 2984289 2984289 6 2976180,2976793,2977064,2977670,2980775,2983900, 2976301,2976847,2977168,2980619,2980866,2984289, 0 LINC00982 unk unk -1,-1,-1,-1,-1,-1, 165 NR_015448 chr7 - 96597826 96643377 96643377 96643377 3 96597826,96607658,96643236, 96598430,96608903,96643377, 0 DLX6-AS1 unk unk -1,-1,-1, 99 NM_182488 chr13 - 27640286 27746033 27643419 27745776 9 27640286,27645207,27649327,27664019,27664218,27669737,27679867,27690652,27745728, 27643521,27645286,27649525,27664103,27664295,27669967,27680081,27690733,27746033, 0 USP12 cmpl cmpl 0,2,2,2,0,1,0,0,0, 837 NM_181509 chr20 + 33134687 33148149 33137781 33147702 5 33134687,33137708,33147011,33147150,33147539, 33134720,33137833,33147067,33147257,33148149, 0 MAP1LC3A cmpl cmpl -1,0,1,0,2, 148 NM_014984 chr17 - 79163392 79196751 79163568 79193856 26 79163392,79163714,79164438,79164706,79164992,79166117,79166275,79166535,79167725,79168669,79169634,79170500,79170729,79171511,79171914,79172676,79173180,79173518,79174128,79176039,79177293,79180543,79180924,79182727,79193679,79196568, 79163643,79163775,79164602,79164884,79165135,79166192,79166393,79166643,79167927,79168772,79169751,79170626,79170855,79171688,79172097,79172771,79173349,79173635,79174246,79176198,79177407,79180671,79181039,79182822,79193873,79196751, 0 AZI1 cmpl cmpl 0,2,0,2,0,0,2,2,1,0,0,0,0,0,0,1,0,0,2,2,2,0,2,0,0,-1, 602 NM_080594 chr16 - 2303116 2318413 2303964 2314644 8 2303116,2305585,2312278,2312740,2313096,2314176,2314573,2318055, 2304064,2305727,2312432,2312843,2313288,2314332,2314761,2318413, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0,-1, 676 NM_001256869 chr8 - 11989925 11991518 11989925 11991518 1 11989925, 11991518, 0 USP17L7 cmpl cmpl 0, 656 NM_001256867 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L30 cmpl cmpl 0, 1124 NR_003951 chr14 - 70712469 70714518 70714518 70714518 1 70712469, 70714518, 0 ADAM21P1 unk unk -1, 1118 NM_001252152 chr14 + 69865095 69929107 69908934 69925310 8 69865095,69890810,69908548,69908785,69919957,69921528,69922448,69925079, 69865167,69890919,69908689,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl -1,-1,-1,0,1,1,0,0, 939 NR_027240 chr22 + 46402495 46406657 46406657 46406657 1 46402495, 46406657, 0 LOC730668 unk unk -1, 1011 NM_207366 chr7 - 55861236 55930482 55863605 55929689 10 55861236,55872950,55874782,55886819,55902117,55910634,55912215,55914209,55929635,55930380, 55863785,55873083,55874951,55886916,55902279,55910821,55912411,55914330,55929704,55930482, 0 SEPT14 cmpl cmpl 0,2,1,0,0,2,1,0,0,-1, 1725 NM_001288705 chr5 - 149432853 149466203 149433631 149465990 21 149432853,149433884,149434799,149435588,149435781,149436849,149437066,149439262,149440424,149441053,149441285,149447777,149449435,149449744,149450018,149452863,149456838,149457674,149459614,149460329,149465941, 149433787,149433993,149434899,149435700,149435904,149436947,149437155,149439425,149440535,149441158,149441412,149447893,149449626,149449865,149450134,149453056,149456998,149457811,149459899,149460587,149466203, 0 CSF1R cmpl cmpl 0,2,1,0,0,1,2,1,1,1,0,1,2,1,2,1,0,1,1,1,0, 910 NR_002191 chrX - 42636616 42637486 42637486 42637486 1 42636616, 42637486, 0 PPP1R2P9 unk unk -1, 137 NM_002758 chr17 + 67410837 67538470 67411125 67537894 12 67410837,67501920,67512995,67513640,67515453,67516410,67517189,67519654,67521041,67522710,67532255,67537816, 67411141,67501987,67513044,67513754,67515573,67516527,67517241,67519782,67521119,67522850,67532301,67538470, 0 MAP2K6 cmpl cmpl 0,1,2,0,0,0,0,1,0,0,2,0, 90 NM_206909 chr8 - 18384812 18666405 18393252 18666296 13 18384812,18413718,18430037,18432637,18457873,18490122,18513151,18622958,18656804,18658779,18662031,18662213,18666264, 18393468,18413862,18430182,18432795,18457944,18490316,18513195,18623048,18656863,18658892,18662112,18662408,18666405, 0 PSD3 cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,0, 1813 NM_207005 chr1 - 161009040 161015769 161009709 161012004 11 161009040,161009991,161010365,161010603,161011113,161011440,161011905,161012375,161012622,161013057,161015647, 161009799,161010120,161010460,161010662,161011201,161011636,161012007,161012460,161012672,161013150,161015769, 0 USF1 cmpl cmpl 0,0,1,2,1,0,0,-1,-1,-1,-1, 29 NM_001135095 chr3 + 171758343 172118492 171830269 172115265 26 171758343,171830241,171851260,171944660,171965322,171969049,172003715,172013152,172016517,172025152,172028617,172046741,172048330,172050878,172052733,172055119,172058902,172060800,172061875,172064116,172065001,172070592,172080422,172096059,172098755,172114953, 171758414,171830380,171851336,171944737,171965566,171969331,172003774,172013304,172016577,172025291,172028671,172046866,172048505,172050965,172052872,172055191,172059021,172060906,172062048,172064230,172065151,172070873,172080635,172096226,172098883,172118492, 0 FNDC3B cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 588 NM_001286433 chr16 + 447191 450754 447222 450342 4 447191,448989,449626,450218, 447313,449123,449739,450754, 0 NME4 cmpl cmpl 0,1,0,2, 900 NM_053046 chr19 + 41305333 41314346 41306477 41313769 6 41305333,41306243,41312459,41313042,41313388,41313713, 41305543,41307320,41312579,41313179,41313456,41314346, 0 EGLN2 cmpl cmpl -1,0,0,0,2,1, 775 NR_002180 chrY + 24997730 24998862 24998862 24998862 2 24997730,24998756, 24997790,24998862, 0 TTTY17B unk unk -1,-1, 788 NR_002180 chrY + 26631478 26632610 26632610 26632610 2 26631478,26632504, 26631538,26632610, 0 TTTY17B unk unk -1,-1, 793 NR_002180 chrY - 27329789 27330920 27330920 27330920 2 27329789,27330860, 27329895,27330920, 0 TTTY17B unk unk -1,-1, 98 NR_002178 chrY + 26716348 26753172 26753172 26753172 4 26716348,26743515,26745395,26752171, 26716509,26743591,26745503,26753172, 0 TTTY4B unk unk -1,-1,-1,-1, 792 NR_002178 chrY - 27209229 27246039 27246039 27246039 4 27209229,27216880,27218792,27245878, 27210230,27216988,27218868,27246039, 0 TTTY4B unk unk -1,-1,-1,-1, 776 NR_002177 chrY + 25082601 25119431 25119431 25119431 4 25082601,25109774,25111654,25118430, 25082762,25109850,25111762,25119431, 0 TTTY4C unk unk -1,-1,-1,-1, 98 NR_002177 chrY + 26716348 26753172 26753172 26753172 4 26716348,26743515,26745395,26752171, 26716509,26743591,26745503,26753172, 0 TTTY4C unk unk -1,-1,-1,-1, 792 NR_002177 chrY - 27209229 27246039 27246039 27246039 4 27209229,27216880,27218792,27245878, 27210230,27216988,27218868,27246039, 0 TTTY4C unk unk -1,-1,-1,-1, 11 NM_001288789 chr17 - 17746821 17875784 17750948 17875627 13 17746821,17752136,17754206,17761082,17764789,17766044,17769609,17770189,17772653,17782940,17801909,17810760,17875575, 17751097,17752173,17754266,17761169,17764865,17766162,17769733,17770238,17772787,17783057,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,0,2,1,0,2,0,0,2,1,0, 906 NM_001242778 chr8 + 42128819 42190171 42129700 42188497 21 42128819,42129600,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB cmpl cmpl -1,0,2,0,1,0,0,2,2,0,0,1,2,1,0,2,1,2,0,2,0, 645 NR_033250 chr19 - 7943516 7945117 7945117 7945117 1 7943516, 7945117, 0 LOC388499 unk unk -1, 1073 NR_033245 chr7 + 64042987 64044129 64044129 64044129 1 64042987, 64044129, 0 LOC641746 unk unk -1, 1341 NM_198045 chr10 + 99205887 99217127 99211432 99216648 9 99205887,99211427,99212171,99212651,99213286,99214470,99215416,99215730,99216533, 99206110,99211675,99212260,99212680,99213420,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,2,1,0,2,0,2, 1737 NM_002362 chrX + 151084708 151093642 151092136 151093090 3 151084708,151091924,151092071, 151084792,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1964 NR_028322 chr5 + 180750506 180755196 180755196 180755196 3 180750506,180750902,180751053, 180750675,180750960,180755196, 0 RP4-669L17.10 unk unk -1,-1,-1, 1438 NR_029429 chr1 - 111927140 111932473 111932473 111932473 5 111927140,111929358,111930875,111931769,111932383, 111927217,111929480,111931075,111931888,111932473, 0 PGCP1 unk unk -1,-1,-1,-1,-1, 142 NR_029423 chrX - 72744110 72782921 72782921 72782921 2 72744110,72782795, 72746523,72782921, 0 MAP2K4P1 unk unk -1,-1, 170 NM_001288823 chr1 - 102268122 102462790 102269793 102296374 7 102268122,102271631,102290581,102296227,102302434,102433075,102462303, 102270471,102271738,102290801,102296383,102302581,102433136,102462790, 0 OLFM3 cmpl cmpl 0,1,0,0,-1,-1,-1, 1365 NM_001288821 chr1 - 102268122 102312636 102269793 102312529 6 102268122,102271631,102290581,102296227,102302434,102312400, 102270471,102271738,102290801,102296383,102302581,102312636, 0 OLFM3 cmpl cmpl 0,1,0,0,0,0, 1076 NR_033837 chr2 - 64412212 64432619 64432619 64432619 6 64412212,64416150,64419489,64428361,64430126,64430423, 64412876,64416266,64419592,64428492,64430222,64432619, 0 LINC00309 unk unk -1,-1,-1,-1,-1,-1, 17 NM_148842 chr7 - 74441223 74489717 74442135 74489573 11 74441223,74466817,74470007,74471635,74474399,74477019,74479106,74480394,74482476,74486453,74489249, 74442183,74466903,74470181,74471723,74474581,74477104,74479158,74480461,74482605,74486583,74489717, 0 WBSCR16 cmpl cmpl 0,1,1,0,1,0,2,1,1,0,0, 774 NR_026646 chr15 + 24803303 24832926 24832926 24832926 9 24803303,24811802,24813043,24814929,24815178,24819656,24820053,24825373,24832713, 24803468,24811947,24813329,24814956,24815275,24819960,24820150,24825477,24832926, 0 PWRN1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 822 NR_026816 chr6 - 31141511 31145676 31145676 31145676 3 31141511,31142014,31145415, 31141810,31142047,31145676, 0 PSORS1C3 unk unk -1,-1,-1, 1068 NR_036635 chr2 - 63344985 63346677 63346677 63346677 1 63344985, 63346677, 0 DBIL5P2 unk unk -1, 19 NR_026571 chr11 - 89057521 89224653 89224653 89224653 18 89057521,89069012,89070614,89073230,89075241,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89224357, 89060044,89069113,89070683,89073339,89075361,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185059,89223721,89224653, 0 NOX4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 113 NR_026558 chr9 + 42858151 42893137 42893137 42893137 4 42858151,42859318,42883123,42892898, 42858219,42859369,42883294,42893137, 0 AQP7P3 unk unk -1,-1,-1,-1, 92 NR_003510 chrY + 20708576 20750849 20750849 20750849 6 20708576,20711999,20712668,20713802,20744558,20750421, 20709186,20712109,20712755,20713957,20744644,20750849, 0 HSFY1 unk unk -1,-1,-1,-1,-1,-1, 744 NR_003510 chrY - 20893325 20935601 20935601 20935601 6 20893325,20899530,20930216,20931418,20932068,20934991, 20893753,20899616,20930371,20931505,20932178,20935601, 0 HSFY1 unk unk -1,-1,-1,-1,-1,-1, 1154 NM_001146158 chr2 - 74688183 74692537 74688401 74692056 5 74688183,74690316,74691622,74692022,74692440, 74690139,74690513,74691849,74692114,74692537, 0 MOGS cmpl cmpl 2,0,1,0,-1, 112 NM_172163 chr1 + 41249683 41306124 41249765 41304195 13 41249683,41282936,41283835,41284176,41285018,41285546,41285836,41287985,41296755,41298685,41300638,41303336,41303982, 41250079,41283027,41283962,41284352,41285144,41285657,41285932,41288074,41296976,41298785,41300770,41303466,41306124, 0 KCNQ4 cmpl cmpl 0,2,0,1,0,0,0,0,2,1,2,2,0, 1707 NM_152578 chrX + 147062848 147108187 147062922 147106520 6 147062848,147084720,147088221,147090137,147106384,147108021, 147063199,147084840,147088362,147090231,147106533,147108187, 0 FMR1NB cmpl cmpl 0,1,1,1,2,-1, 87 NM_152574 chr9 - 15170841 15307358 15172016 15307321 20 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15225914,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15214247,15226010,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,2,0,0, 1274 NM_001150 chr15 - 90328125 90358072 90328579 90349814 21 90328125,90333690,90334183,90335390,90335682,90336265,90340805,90342490,90342656,90344341,90344665,90346469,90346672,90346877,90347119,90347483,90347721,90348308,90348551,90349200,90358003, 90328732,90333772,90334324,90335558,90335793,90336357,90340953,90342546,90342790,90344418,90344838,90346535,90346738,90347021,90347233,90347638,90347848,90348448,90348694,90350037,90358072, 0 ANPEP cmpl cmpl 0,2,2,2,2,0,2,0,1,2,0,0,0,0,0,1,0,1,2,0,-1, 141 NM_198717 chr1 - 71318035 71513491 71318521 71513260 3 71318035,71477987,71512363, 71318542,71478167,71513491, 0 PTGER3 cmpl cmpl 0,0,0, 1130 NM_198715 chr1 - 71471536 71513491 71477897 71513260 2 71471536,71512363, 71478167,71513491, 0 PTGER3 cmpl cmpl 0,0, 175 NR_073005 chr7 + 107204401 107218968 107218968 107218968 7 107204401,107205032,107207494,107211589,107215632,107216810,107217757, 107204504,107205121,107207631,107211711,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1, 175 NR_073004 chr7 + 107204401 107218968 107218968 107218968 7 107204401,107205032,107207494,107211589,107215632,107216853,107217757, 107204654,107205121,107207631,107211711,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1, 890 NR_033464 chr17 - 39981333 39992488 39992488 39992488 9 39981333,39983677,39985041,39987052,39988643,39991321,39991454,39992110,39992330, 39981909,39983878,39985204,39987142,39988729,39991368,39991524,39992209,39992488, 0 NT5C3B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 220 NR_028090 chr7 + 154795142 154797413 154797413 154797413 1 154795142, 154797413, 0 PAXIP1-AS1 unk unk -1, 1098 NR_002817 chr9 - 67270214 67289492 67289492 67289492 4 67270214,67281701,67288037,67289183, 67272904,67281831,67288088,67289492, 0 AQP7P1 unk unk -1,-1,-1,-1, 1135 NM_018235 chr18 + 72163499 72190689 72167208 72187303 12 72163499,72167116,72168563,72173083,72176074,72178047,72179682,72180793,72183462,72185733,72186183,72187233, 72163666,72167268,72168707,72173246,72176163,72178248,72179767,72180954,72183627,72185875,72186331,72190689, 0 CNDP2 cmpl cmpl -1,0,0,0,1,0,0,1,0,0,1,2, 1393 NM_025268 chr14 + 105992952 105996539 105995171 105996131 2 105992952,105995058, 105992990,105996539, 0 TMEM121 cmpl cmpl -1,0, 139 NM_017705 chr15 + 69591293 69699976 69652419 69696161 9 69591293,69629679,69652304,69672221,69677015,69681992,69689806,69692312,69695919, 69591395,69629840,69652470,69672349,69677221,69682119,69689903,69692454,69699976, 0 PAQR5 cmpl cmpl -1,-1,0,0,2,1,2,0,1, 883 NR_028386 chr2 - 39186428 39187485 39187485 39187485 1 39186428, 39187485, 0 LOC375196 unk unk -1, 1926 NM_001834 chr5 - 175819455 175843570 175819774 175843364 5 175819455,175824607,175824930,175837257,175843177, 175819946,175824719,175825048,175837304,175843570, 0 CLTB cmpl cmpl 2,1,0,1,0, 1427 NM_172212 chr1 + 110453232 110469365 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110465787,110467397,110467768,110468684, 110453684,110457003,110458318,110460085,110464616,110466812,110467450,110467824,110469365, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,0,2,-1, 1427 NM_172210 chr1 + 110453232 110467824 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110465787,110466681,110467397,110467768, 110453684,110457003,110458318,110460085,110464616,110466333,110466812,110467450,110467824, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,1,0,2, 598 NR_026642 chr11 - 1704499 1706859 1706859 1706859 3 1704499,1705423,1706667, 1705264,1705532,1706859, 0 FAM99B unk unk -1,-1,-1, 1194 NM_153824 chr17 - 79890261 79895133 79890755 79894690 8 79890261,79891182,79892201,79892528,79892801,79893212,79893998,79894623, 79890839,79891252,79892365,79892621,79893023,79893392,79894069,79895133, 0 PYCR1 cmpl cmpl 0,2,0,0,0,0,1,0, 131 NM_153811 chr14 + 61447831 61519261 61447995 61519147 16 61447831,61449225,61451447,61482621,61486258,61497162,61503776,61504342,61509864,61510167,61512063,61512784,61517229,61518504,61518758,61519066, 61448100,61449356,61451521,61482674,61486298,61497241,61503859,61504401,61509930,61510221,61512143,61512885,61517354,61518649,61518853,61519261, 0 SLC38A6 cmpl cmpl 0,0,2,1,0,1,2,1,0,0,0,2,1,0,1,0, 1607 NM_032826 chr7 - 133974089 134001827 133979584 134001503 10 133974089,133981142,133984274,133984903,133986512,133986780,133989556,133991423,133994117,134001426, 133979831,133981218,133984350,133985013,133986573,133986862,133989606,133991526,133994231,134001827, 0 SLC35B4 cmpl cmpl 2,1,0,1,0,2,0,2,2,0, 756 NR_027154 chr16 + 22448328 22503541 22503541 22503541 29 22448328,22466022,22466770,22470675,22472107,22473441,22477013,22477517,22478511,22480343,22482948,22485445,22486269,22490011,22490296,22491584,22492174,22492351,22493072,22493764,22494351,22494716,22495982,22497150,22497441,22500526,22501615,22502137,22503027, 22448813,22466186,22466926,22470812,22472163,22473655,22477139,22477590,22478609,22480516,22483173,22485547,22486539,22490142,22490452,22491703,22492262,22492453,22493213,22493964,22494548,22494881,22496137,22497293,22497643,22500636,22501763,22502297,22503541, 0 SMG1P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 190 NM_003305 chr4 - 122800182 122854268 122800890 122854193 11 122800182,122803508,122820766,122824006,122825476,122828457,122831308,122833031,122835934,122846172,122853425, 122801033,122803584,122820850,122824216,122825672,122828722,122831542,122833248,122836099,122846361,122854268, 0 TRPC3 cmpl cmpl 1,0,0,0,2,1,1,0,0,0,0, 943 NM_001103149 chr19 - 46969747 46974820 46971795 46974292 3 46969747,46973194,46974593, 46971834,46974371,46974820, 0 PNMAL1 cmpl cmpl 0,0,-1, 295 NM_001103148 chr2 + 233562014 233725289 233599907 233721570 28 233562014,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655425,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,0,2,0,0,1,2,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 1530 NM_022717 chr12 + 123942650 123950941 123950087 123950828 2 123942650,123950084, 123942763,123950941, 0 SNRNP35 cmpl cmpl -1,0, 134 NR_038264 chr3 + 64670545 64997143 64997143 64997143 6 64670545,64785140,64795469,64852842,64994619,64995854, 64671014,64785421,64795526,64852932,64994661,64997143, 0 ADAMTS9-AS2 unk unk -1,-1,-1,-1,-1,-1, 149 NR_038826 chr4 + 80413746 80497614 80497614 80497614 4 80413746,80414305,80434938,80496294, 80413928,80414739,80435056,80497614, 0 LINC00989 unk unk -1,-1,-1,-1, 822 NM_001105563 chr6 - 31110215 31125566 31110368 31125377 18 31110215,31110739,31111038,31112463,31112661,31112942,31113224,31113472,31116181,31116394,31117842,31118231,31118501,31118735,31122272,31124507,31124799,31125161, 31110493,31110911,31111190,31112565,31112850,31113079,31113270,31113585,31116288,31116505,31117992,31118342,31118637,31118899,31122576,31124613,31124866,31125566, 0 CCHCR1 cmpl cmpl 1,0,1,1,1,2,1,2,0,0,0,0,2,0,2,1,0,0, 1025 NM_001130406 chr13 + 57734765 57737787 57735152 57736839 3 57734765,57735133,57736225, 57734979,57735204,57737787, 0 PRR20D cmpl cmpl -1,0,1, 1025 NM_001130406 chr13 + 57741330 57744352 57741717 57743404 3 57741330,57741698,57742790, 57741544,57741769,57744352, 0 PRR20D cmpl cmpl -1,0,1, 116 NM_001042724 chr19 + 45349392 45392485 45349782 45391636 9 45349392,45368527,45375109,45377172,45377586,45385467,45389193,45389389,45391366, 45349870,45368917,45375406,45377290,45377735,45385621,45389257,45389476,45392485, 0 PVRL2 cmpl cmpl 0,1,1,1,2,1,2,0,0, 1653 NM_001287498 chr7 - 140033551 140098350 140035211 140082326 14 140033551,140037083,140043211,140045668,140048425,140051072,140051861,140055467,140058439,140064207,140069389,140080081,140082237,140098215, 140035304,140037149,140043363,140045770,140048567,140051251,140051946,140055564,140058585,140064291,140069482,140080190,140082396,140098350, 0 SLC37A3 cmpl cmpl 0,0,1,1,0,1,0,2,0,0,0,2,0,-1, 1060 NM_020685 chr3 + 62305395 62319320 62306146 62319064 5 62305395,62306134,62307604,62316999,62318929, 62305507,62306199,62307728,62317074,62319320, 0 C3orf14 cmpl cmpl -1,0,2,0,0, 114 NM_000898 chrX - 43625856 43741721 43626712 43741545 15 43625856,43627900,43628553,43634421,43637928,43639588,43640694,43652665,43654985,43656371,43661418,43662546,43698113,43702915,43741499, 43626865,43627963,43628665,43634519,43637986,43639642,43640791,43652825,43655135,43656513,43661510,43662651,43698251,43703010,43741721, 0 MAOB cmpl cmpl 0,0,2,0,2,2,1,0,0,2,0,0,0,1,0, 824 NM_014654 chr1 - 31342312 31381480 31346057 31381433 5 31342312,31347143,31349398,31351469,31381295, 31346224,31347435,31350012,31351587,31381480, 0 SDC3 cmpl cmpl 1,0,1,0,0, 1259 NR_029410 chr9 + 88420916 88457794 88457794 88457794 9 88420916,88430793,88437794,88444377,88445238,88452673,88454991,88455664,88457638, 88421048,88431178,88437995,88444521,88445491,88452880,88455177,88455764,88457794, 0 LOC389765 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 724 NR_040546 chr19 - 18318770 18337285 18337285 18337285 14 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331914,18332070,18332941,18337079, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331988,18332107,18333133,18337285, 0 PDE4C unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 931 NR_026583 chr12 - 45456400 45459194 45459194 45459194 1 45456400, 45459194, 0 RACGAP1P unk unk -1, 1486 NM_001286152 chr11 - 118097404 118123083 118100608 118123009 6 118097404,118104174,118106138,118107764,118110925,118122936, 118100635,118104238,118106304,118107975,118111056,118123083, 0 MPZL3 cmpl cmpl 0,2,1,0,1,0, 110 NM_001271851 chr1 - 39303868 39325495 39305224 39325318 7 39303868,39311610,39317286,39318045,39321379,39322550,39325081, 39305376,39311759,39317429,39318160,39321579,39322652,39325495, 0 RRAGC cmpl cmpl 1,2,0,2,0,0,0, 647 NM_001206672 chr11 - 8127596 8190590 8132244 8190536 4 8127596,8159818,8161513,8190412, 8132684,8159894,8161740,8190590, 0 RIC3 cmpl cmpl 1,0,1,0, 703 NM_198996 chr21 - 15481134 15579254 15481313 15579244 10 15481134,15516943,15524893,15535739,15537543,15538682,15554078,15558281,15561354,15579135, 15481401,15517120,15525005,15535844,15537711,15538772,15554180,15558390,15561740,15579254, 0 LIPI cmpl cmpl 2,2,1,1,1,1,1,0,1,0, 156 NM_021722 chr7 + 87563565 87832204 87563780 87825806 31 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87810819,87811272,87815929,87822430,87825785, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87810920,87811339,87816016,87822554,87832204, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,1,2,2,0, 157 NM_015239 chr9 - 88161453 88356944 88162023 88327448 26 88161453,88190229,88193834,88200377,88201745,88203212,88204442,88207474,88211276,88233897,88234129,88236116,88247576,88257741,88261235,88270057,88272349,88275850,88284399,88287464,88292350,88293249,88296182,88307603,88327416,88356689, 88162201,88190390,88194011,88200509,88201875,88203393,88204596,88207619,88211364,88234046,88234216,88236200,88248289,88257858,88261333,88270115,88272558,88275888,88284493,88287596,88292497,88293313,88296250,88307728,88327481,88356944, 0 AGTPBP1 cmpl cmpl 2,0,0,0,2,1,0,2,1,2,2,2,0,0,1,0,1,2,1,1,1,0,1,2,0,-1, 200 NM_198513 chr8 + 133787603 133825439 133790074 133823379 8 133787603,133790041,133806655,133806978,133811017,133816063,133816859,133823290, 133787891,133790157,133806827,133807063,133811106,133816277,133816985,133825439, 0 PHF20L1 cmpl cmpl -1,0,2,0,1,0,1,1, 1379 NM_001701 chr9 - 104122698 104147287 104124709 104133686 4 104122698,104130401,104133220,104147136, 104125297,104130604,104133745,104147287, 0 BAAT cmpl cmpl 0,1,0,-1, 602 NM_006711 chr16 - 2303116 2317887 2303964 2314644 8 2303116,2305585,2312278,2312740,2313096,2314176,2314573,2317663, 2304064,2305727,2312432,2312843,2313288,2314332,2314761,2317887, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0,-1, 1522 NR_027288 chr11 + 122888273 122890319 122890319 122890319 1 122888273, 122890319, 0 LOC341056 unk unk -1, 273 NM_002374 chr2 + 210444402 210598834 210517894 210595121 15 210444402,210444759,210489776,210517865,210543295,210545473,210557348,210561265,210561640,210565000,210570303,210574637,210590432,210594573,210594905, 210444479,210444824,210489853,210518156,210543409,210545551,210561074,210561472,210561775,210565062,210570451,210574978,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,0,1,1,1,1,1,1,0,1,0,1,0, 597 NM_006830 chr19 - 1597153 1605483 1599438 1605408 3 1597153,1599410,1605358, 1598214,1599559,1605483, 0 UQCR11 cmpl cmpl -1,2,0, 843 NM_013374 chr3 + 33840062 33911199 33840220 33908017 18 33840062,33853563,33855050,33863446,33866678,33867971,33870344,33877535,33879695,33883388,33885603,33886910,33893979,33895370,33896657,33905497,33906734,33907842, 33840429,33853618,33855120,33863574,33866832,33868072,33870461,33877758,33879819,33883566,33885715,33887080,33894228,33895505,33896752,33905621,33906922,33911199, 0 PDCD6IP cmpl cmpl 0,2,0,1,0,1,0,0,1,2,0,1,0,0,0,2,0,2, 1880 NM_020423 chr1 - 169822214 169863100 169822853 169857981 13 169822214,169823410,169828181,169831753,169833509,169836036,169838068,169839395,169842836,169845118,169847774,169857816,169862928, 169822913,169824105,169828353,169831938,169833649,169836114,169838180,169839498,169842893,169845232,169847960,169858031,169863100, 0 SCYL3 cmpl cmpl 0,1,0,1,2,2,1,0,0,0,0,0,-1, 85 NM_018327 chr20 + 12989626 13147411 12989915 13145514 12 12989626,13029592,13052903,13054996,13071730,13074130,13090758,13098152,13107237,13134649,13140649,13145400, 12990032,13029778,13053058,13055145,13071855,13074224,13090864,13098372,13107364,13134785,13140779,13147411, 0 SPTLC3 cmpl cmpl 0,0,0,2,1,0,1,2,0,1,2,0, 1118 NM_018375 chr14 + 69865384 69929107 69866086 69925310 7 69865384,69890810,69908785,69919957,69921528,69922448,69925079, 69866182,69890919,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl 0,0,1,1,1,0,0, 144 NM_006007 chr9 - 74966340 74980163 74970868 74975694 6 74966340,74971846,74974333,74975025,74975543,74979611, 74971017,74971972,74974437,74975137,74975700,74980163, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1, 1156 NR_003664 chr7 + 74936532 74946587 74946587 74946587 8 74936532,74937875,74939461,74940713,74941999,74943793,74944159,74945117, 74936650,74938458,74939680,74940772,74942085,74944037,74944264,74946587, 0 SPDYE8P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 144 NR_003664 chr7 + 74964559 74974606 74974606 74974606 8 74964559,74965902,74967484,74968736,74970023,74971812,74972178,74973136, 74964677,74966485,74967703,74968795,74970109,74972056,74972283,74974606, 0 SPDYE8P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 836 NR_033832 chr5 + 32947548 32962573 32962573 32962573 6 32947548,32949048,32950221,32958719,32961246,32961473, 32947927,32949206,32950389,32958803,32961365,32962573, 0 LOC340113 unk unk -1,-1,-1,-1,-1,-1, 631 NR_003593 chrY - 6110486 6111651 6111651 6111651 3 6110486,6111335,6111594, 6110795,6111481,6111651, 0 TTTY23B unk unk -1,-1,-1, 609 NR_038428 chrX + 3189860 3202694 3202694 3202694 3 3189860,3190337,3202195, 3189959,3190413,3202694, 0 CXorf28 unk unk -1,-1,-1, 784 NM_170723 chrY - 26191939 26194161 26192212 26193835 1 26191939, 26194161, 0 CDY1 cmpl cmpl 0, 796 NM_170723 chrY + 27768263 27770485 27768589 27770212 1 27768263, 27770485, 0 CDY1 cmpl cmpl 0, 2005 NR_033844 chr3 - 186172769 186211450 186211450 186211450 8 186172769,186173224,186173776,186173952,186175129,186195951,186209900,186210894, 186172963,186173562,186173834,186174393,186175419,186196190,186210079,186211450, 0 RP11-48F14.1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 88 NM_003489 chr21 - 16333555 16437126 16337036 16340513 4 16333555,16386664,16415815,16437065, 16340847,16386787,16415895,16437126, 0 NRIP1 cmpl cmpl 0,-1,-1,-1, 134 NM_005956 chr14 + 64854758 64926725 64855145 64925021 28 64854758,64867510,64877807,64879189,64882075,64882356,64884605,64886531,64891521,64892447,64892736,64894054,64896901,64898249,64898504,64902286,64905813,64906843,64908102,64908771,64908980,64911410,64914934,64916162,64920471,64921440,64924931,64926476, 64855186,64867595,64877867,64879243,64882212,64882457,64884742,64886643,64891649,64892545,64892910,64894191,64896948,64898357,64898579,64902389,64905890,64906984,64908171,64908883,64909120,64911452,64915035,64916340,64920579,64921593,64925025,64926725, 0 MTHFD1 cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 1530 NM_180699 chr12 + 123944250 123950941 123944435 123950828 2 123944250,123950084, 123944447,123950941, 0 SNRNP35 cmpl cmpl 0,0, 178 NM_001287222 chr12 - 110872694 110888216 110872959 110888065 7 110872694,110873914,110874361,110874888,110878116,110883256,110888059, 110873022,110874006,110874488,110874957,110878193,110883356,110888216, 0 ARPC3 cmpl cmpl 0,1,0,0,1,0,0, 830 NM_030651 chr6 - 32116139 32119720 32116998 32119604 4 32116139,32117313,32118144,32119585, 32117175,32117499,32118683,32119720, 0 PRRT1 cmpl cmpl 0,0,1,0, 77 NM_001253908 chr10 + 5090957 5149878 5091003 5149695 9 5090957,5138601,5139625,5140993,5141518,5144292,5144676,5147786,5149652, 5091087,5138769,5139742,5141071,5141641,5144402,5144842,5147869,5149878, 0 AKR1C3 cmpl cmpl 0,0,0,0,0,0,2,0,2, 906 NR_028581 chr17 + 42148097 42153712 42153712 42153712 7 42148097,42148995,42151527,42152047,42152336,42152677,42153047, 42148551,42149189,42151634,42152138,42152455,42152819,42153712, 0 G6PC3 unk unk -1,-1,-1,-1,-1,-1,-1, 83 NM_001173462 chr17 + 11144739 11467380 11144739 11461621 5 11144739,11166682,11282730,11459056,11461070, 11145377,11166843,11282826,11459209,11467380, 0 SHISA6 cmpl cmpl 0,2,1,1,1, 826 NM_001199698 chr6 - 31606804 31620477 31606907 31619540 24 31606804,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620200, 31607003,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 586 NR_033859 chr12 - 246576 258332 258332 258332 10 246576,247465,247716,249405,249813,250077,250499,252404,253474,258244, 246793,247618,247810,249536,249969,250410,251799,252575,253735,258332, 0 RP11-598F7.4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 934 NR_047476 chr21 - 45870868 45875167 45875167 45875167 4 45870868,45871289,45874859,45875126, 45871172,45871652,45874935,45875167, 0 LRRC3-AS1 unk unk -1,-1,-1,-1, 709 NM_001047434 chr3 - 16298567 16306496 16302270 16306383 2 16298567,16306275, 16302336,16306496, 0 DPH3 cmpl cmpl 0,0, 743 NM_153334 chr22 - 20778873 20792146 20779664 20792041 11 20778873,20781684,20783511,20783822,20784016,20784715,20784976,20785304,20786031,20786216,20791868, 20780569,20781837,20783642,20783940,20784120,20784844,20785195,20785824,20786133,20786275,20792146, 0 SCARF2 cmpl cmpl 1,1,2,1,2,2,2,1,1,2,0, 101 NM_005626 chr1 - 29474249 29508637 29474921 29508264 6 29474249,29476614,29481207,29485885,29486886,29508157, 29475738,29476704,29481422,29485998,29487029,29508637, 0 SRSF4 cmpl cmpl 2,2,0,1,2,0, 1267 NM_001271942 chr11 + 89443466 89451040 89443466 89451040 5 89443466,89444577,89448325,89449057,89450546, 89443877,89444673,89448348,89449155,89451040, 0 TRIM77 cmpl cmpl 0,0,0,2,1, 1580 NM_130459 chr9 - 130493802 130497628 130495494 130497549 3 130493802,130496577,130497398, 130495839,130496843,130497628, 0 TOR2A cmpl cmpl 0,1,0, 167 NM_181349 chr7 - 98625057 98741743 98628206 98741403 18 98625057,98630659,98633137,98634689,98636010,98638000,98639740,98643320,98645306,98647185,98648979,98649827,98652412,98654827,98655040,98658221,98659421,98741348, 98628306,98630744,98633339,98634810,98636148,98638179,98639855,98643424,98645505,98647332,98649064,98650069,98652488,98654893,98655174,98658330,98659460,98741743, 0 SMURF1 cmpl cmpl 2,1,0,2,2,0,2,0,2,2,1,2,1,1,2,1,1,0, 905 NR_015363 chr9 - 41952398 41955076 41955076 41955076 2 41952398,41954748, 41954651,41955076, 0 GLIDR unk unk -1,-1, 749 NR_029505 chr9 - 21512113 21512184 21512184 21512184 1 21512113, 21512184, 0 MIR31 unk unk -1, 1586 NR_033930 chr2 - 131294142 131307488 131307488 131307488 3 131294142,131301455,131307336, 131296043,131301631,131307488, 0 LOC646743 unk unk -1,-1,-1, 198 NR_033930 chr2 + 131328401 131341734 131341734 131341734 3 131328401,131334245,131339833, 131328553,131334421,131341734, 0 LOC646743 unk unk -1,-1,-1, 971 NR_029486 chr13 - 50623108 50623197 50623197 50623197 1 50623108, 50623197, 0 MIR16-1 unk unk -1, 957 NM_005660 chrX - 48760456 48769235 48760714 48768913 5 48760456,48762022,48763668,48767090,48768822, 48760742,48762759,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 2,0,1,1,0, 635 NM_001014795 chr11 + 6625039 6632105 6625501 6631842 12 6625039,6629275,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625590,6629441,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl 0,2,0,0,1,1,0,2,1,0,1,0, 635 NM_001014794 chr11 + 6624937 6632105 6625501 6631842 13 6624937,6625455,6629275,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629441,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,0,2,0,0,1,1,0,2,1,0,1,0, 736 NM_001002906 chrY - 19880859 19882440 19881423 19881777 1 19880859, 19882440, 0 XKRY2 cmpl cmpl 0, 739 NM_001002906 chrY + 20297334 20298915 20297997 20298351 1 20297334, 20298915, 0 XKRY2 cmpl cmpl 0, 1001 NR_039851 chr12 - 54625180 54625260 54625260 54625260 1 54625180, 54625260, 0 MIR3198-2 unk unk -1, 1048 NM_006039 chr17 + 60704761 60770962 60705163 60769812 30 60704761,60741908,60743454,60743815,60744117,60744750,60749009,60749358,60751423,60753150,60753743,60754629,60755864,60757160,60757530,60757778,60758160,60758422,60759197,60759595,60765649,60765861,60766212,60766882,60767254,60767516,60768002,60768309,60769472,60769591, 60705281,60742310,60743628,60743980,60744231,60744894,60749198,60749513,60751531,60753266,60753892,60754847,60756007,60757263,60757669,60757814,60758321,60758490,60759298,60759738,60765764,60766025,60766321,60767121,60767423,60767666,60768122,60768489,60769499,60770962, 0 MRC2 cmpl cmpl 0,1,1,1,1,1,1,1,0,0,2,1,0,2,0,1,1,0,2,1,0,1,0,1,0,1,1,1,1,1, 234 NM_013330 chr1 - 169101767 169337201 169102022 169336948 12 169101767,169138684,169199955,169204368,169206860,169256540,169267793,169272382,169279207,169292354,169293630,169336945, 169102055,169138792,169200057,169204437,169206925,169256646,169268001,169272433,169279318,169292521,169293738,169337201, 0 NME7 cmpl cmpl 0,0,0,0,1,0,2,2,2,0,0,0, 682 NM_001206974 chr19 - 12786530 12792025 12786651 12791927 9 12786530,12786830,12787921,12788104,12790270,12790436,12790614,12790974,12791846, 12786747,12786956,12788025,12788210,12790357,12790533,12790736,12791139,12792025, 0 DHPS cmpl cmpl 0,0,1,0,0,2,0,0,0, 747 NM_182515 chr19 + 21264952 21307883 21281074 21301135 5 21264952,21266783,21280990,21281617,21299612, 21265154,21266875,21281117,21281716,21307883, 0 ZNF714 cmpl cmpl -1,-1,0,1,1, 2335 NM_004578 chr1 + 229406808 229441640 229407086 229438724 8 229406808,229422232,229424475,229431594,229433228,229434723,229438608,229439552, 229407117,229422313,229424590,229431657,229433383,229434819,229438736,229441640, 0 RAB4A cmpl cmpl 0,1,1,2,2,1,1,-1, 931 NM_001645 chr19 + 45417920 45422606 45418148 45422487 4 45417920,45418128,45419446,45422429, 45417990,45418206,45419582,45422606, 0 APOC1 cmpl cmpl -1,0,1,2, 1149 NM_016347 chr2 - 73927635 73928467 73927748 73928432 1 73927635, 73928467, 0 NAT8B cmpl cmpl 0, 198 NM_004059 chr9 - 131595391 131644354 131595862 131607684 13 131595391,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131644175, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131600646,131605080,131607690,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,0,2,0,-1, 1946 NM_152275 chr2 - 178479025 178483694 178481431 178483429 1 178479025, 178483694, 0 TTC30A cmpl cmpl 0, 815 NM_013387 chr22 + 30163357 30166402 30163387 30165708 2 30163357,30165666, 30163537,30166402, 0 UQCR10 cmpl cmpl 0,0, 127 NR_033654 chr12 - 57403780 57410344 57410344 57410344 8 57403780,57406161,57406404,57406605,57407142,57407361,57409467,57410170, 57404072,57406236,57406521,57406659,57407172,57407455,57409586,57410344, 0 TAC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 608 NM_001284511 chr16 + 3019245 3023490 3019675 3021949 3 3019245,3021274,3021515, 3019841,3021379,3023490, 0 PAQR4 cmpl cmpl 0,1,1, 156 NM_001134405 chr7 + 87257728 87461613 87258139 87459345 11 87257728,87280137,87329736,87339885,87369106,87370814,87399896,87407113,87436687,87445455,87459199, 87258261,87280253,87329870,87339971,87369196,87370895,87400065,87407271,87436834,87445577,87461613, 0 RUNDC3B cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 1359 NR_030390 chr14 + 101506555 101506636 101506636 101506636 1 101506555, 101506636, 0 MIR654 unk unk -1, 635 NM_024654 chr1 - 6581406 6614658 6585913 6614562 12 6581406,6586755,6589053,6592027,6592522,6593339,6601889,6604885,6605104,6609630,6610455,6614166, 6586063,6586889,6589231,6592139,6592820,6593501,6601987,6604982,6605240,6609758,6610675,6614658, 0 NOL9 cmpl cmpl 0,1,0,2,1,1,2,1,0,1,0,0, 244 NM_003940 chr3 + 179370932 179507189 179371013 179501929 21 179370932,179399665,179408028,179418795,179424721,179426560,179437727,179439189,179447976,179448403,179458034,179459984,179462830,179470072,179472519,179474839,179478899,179481789,179483482,179499526,179501835, 179371181,179399791,179408089,179418917,179424864,179426745,179437822,179439377,179448048,179448497,179458160,179460138,179463005,179470161,179472642,179474866,179479043,179481956,179483636,179499611,179507189, 0 USP13 cmpl cmpl 0,0,0,1,0,2,1,0,2,2,0,0,1,2,1,1,1,1,0,1,2, 1776 NM_198406 chr1 - 156213111 156217908 156213919 156216522 8 156213111,156214551,156214932,156215325,156215572,156215913,156216471,156217747, 156214194,156214702,156215029,156215452,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,2,0,0,-1, 199 NM_004484 chrX - 132669775 133119673 132670151 133119476 8 132669775,132730467,132795757,132826396,132833922,132887508,133087076,133119301, 132670321,132730627,132795878,132826522,132834056,132888203,133087238,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,1,1,0, 125 NR_037641 chr1 + 55107426 55208328 55208328 55208328 33 55107426,55117621,55118525,55130839,55134526,55136169,55136472,55138763,55139373,55139672,55144414,55144935,55145563,55148328,55151930,55158096,55161048,55165993,55166815,55167762,55172107,55174686,55181195,55182272,55183164,55186835,55188347,55194018,55197158,55197327,55199301,55203254,55207083, 55107641,55117656,55119830,55130913,55134610,55136249,55136602,55138859,55139478,55139824,55144527,55145112,55145718,55148467,55152121,55158234,55161163,55166134,55166995,55167909,55172210,55174749,55181283,55182390,55183326,55186913,55188472,55194105,55197222,55197373,55199383,55203337,55208328, 0 MROH7-TTC4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 125 NR_037639 chr1 + 55107426 55208328 55208328 55208328 33 55107426,55117516,55118525,55124787,55130839,55134526,55136169,55136472,55138763,55139373,55139672,55144414,55144935,55145563,55148328,55151930,55158096,55161048,55165993,55166815,55167762,55168295,55172107,55181195,55182272,55183164,55186835,55188347,55194018,55197158,55199301,55203254,55207083, 55107641,55117656,55119830,55124862,55130913,55134610,55136249,55136602,55138859,55139478,55139824,55144527,55145112,55145718,55148467,55152121,55158234,55161163,55166134,55166995,55167918,55168418,55172210,55181283,55182390,55183326,55186913,55188472,55194105,55197373,55199383,55203337,55208328, 0 MROH7-TTC4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 906 NR_033819 chr8 + 42128819 42190171 42190171 42190171 21 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 633 NM_001285402 chr17 - 6327056 6338452 6328779 6337397 6 6327056,6329934,6330200,6331637,6337238,6338270, 6329150,6330076,6330377,6331826,6337418,6338452, 0 AIPL1 cmpl cmpl 1,0,0,0,0,-1, 76 NM_015113 chr17 - 3907738 4046253 3910183 4046189 55 3907738,3912176,3912897,3916742,3917383,3917640,3919616,3920664,3921129,3922962,3924422,3926002,3928212,3935419,3936121,3937308,3945722,3947517,3953001,3954074,3955264,3957350,3959509,3961287,3962464,3966046,3967654,3969740,3970456,3973977,3975901,3977443,3978390,3978556,3979930,3980161,3981176,3984669,3985730,3988963,3989779,3990727,3991971,3994012,3999124,3999902,4005610,4007926,4008986,4012946,4015902,4017592,4020265,4027200,4045835, 3910264,3912248,3913051,3916908,3917482,3917809,3919760,3921024,3921265,3923063,3924614,3926122,3928412,3935552,3936296,3937586,3945862,3947668,3953153,3954337,3955430,3957489,3959639,3961449,3962584,3966211,3968123,3969834,3970536,3974218,3976050,3977645,3978472,3978723,3980053,3980283,3981336,3984784,3985798,3989097,3989949,3990828,3992187,3994124,3999273,3999994,4005709,4008105,4009103,4013157,4016102,4017764,4020460,4027345,4046253, 0 ZZEF1 cmpl cmpl 0,0,2,1,1,0,0,0,2,0,0,0,1,0,2,0,1,0,1,2,1,0,2,2,2,2,1,0,1,0,1,0,2,0,0,1,0,2,0,1,2,0,0,2,0,1,1,2,2,1,2,1,1,0,0, 656 NM_001242332 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L29 cmpl cmpl 0, 656 NM_001242332 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L29 cmpl cmpl 0, 974 NM_016431 chr22 + 51041561 51049979 51041561 51049207 10 51041561,51042054,51042269,51043795,51043989,51044252,51045085,51045348,51048639,51049134, 51041927,51042148,51043492,51043871,51044162,51044362,51045193,51045419,51048738,51049979, 0 MAPK8IP2 cmpl cmpl 0,0,1,1,2,1,0,0,2,2, 79 NM_014262 chr12 + 6937537 6949018 6937605 6948625 15 6937537,6939022,6939516,6939802,6940379,6940988,6942755,6942905,6943088,6946148,6946586,6946895,6947121,6948163,6948460, 6938102,6939175,6939718,6939934,6940516,6941078,6942808,6942973,6943213,6946250,6946737,6947013,6947197,6948304,6949018, 0 LEPREL2 cmpl cmpl 0,0,0,1,1,0,0,2,1,0,0,1,2,0,0, 721 NR_029480 chr21 + 17912147 17912231 17912231 17912231 1 17912147, 17912231, 0 MIRLET7C unk unk -1, 909 NM_001286487 chr15 - 42502649 42565782 42503905 42565474 19 42502649,42510000,42510520,42511778,42512259,42519003,42519908,42520909,42523387,42525410,42528517,42529629,42531867,42536247,42553155,42553393,42556287,42560144,42565452, 42503947,42510031,42510576,42511840,42512333,42519107,42519967,42521016,42523458,42525504,42528617,42529813,42531929,42536365,42553200,42553447,42556401,42560230,42565782, 0 TMEM87A cmpl cmpl 0,2,0,1,2,0,1,2,0,2,1,0,1,0,0,0,0,1,0, 971 NR_024243 chr19 - 50643458 50643577 50643577 50643577 1 50643458, 50643577, 0 SNAR-D unk unk -1, 1598 NR_024563 chr12 + 132851976 132857486 132857486 132857486 4 132851976,132852816,132853842,132855005, 132852422,132853116,132854492,132857486, 0 LOC100130238 unk unk -1,-1,-1,-1, 860 NR_024351 chr21 - 36096104 36109479 36109479 36109479 6 36096104,36096343,36105206,36106257,36106982,36109406, 36096251,36096494,36105377,36106338,36107053,36109479, 0 LINC00160 unk unk -1,-1,-1,-1,-1,-1, 595 NR_027760 chrX + 1387692 1428828 1428828 1428828 12 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1422815,1424338,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1422912,1424420,1428828, 0 CSF2RA unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 595 NR_027760 chrY + 1337692 1378828 1378828 1378828 12 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1372815,1374338,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1372912,1374420,1378828, 0 CSF2RA unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1346 NR_002942 chr9 - 99837952 99844227 99844227 99844227 3 99837952,99841568,99844142, 99839973,99841724,99844227, 0 LOC340508 unk unk -1,-1,-1, 599 NR_029625 chr17 - 1953564 1953674 1953674 1953674 1 1953564, 1953674, 0 MIR212 unk unk -1, 1023 NR_036102 chr7 + 57472730 57472796 57472796 57472796 1 57472730, 57472796, 0 MIR3147 unk unk -1, 735 NR_036101 chr7 - 19744980 19745059 19745059 19745059 1 19744980, 19745059, 0 MIR3146 unk unk -1, 661 NR_036090 chr4 - 10080234 10080316 10080316 10080316 1 10080234, 10080316, 0 MIR3138 unk unk -1, 1112 NR_036087 chr3 - 69098108 69098186 69098186 69098186 1 69098108, 69098186, 0 MIR3136 unk unk -1, 182 NR_036085 chr9 - 114758831 115112545 115112545 115112545 4 114758831,115095046,115095118,115112520, 114758856,115095059,115095124,115112545, 0 MIR3134 unk unk -1,-1,-1,-1, 2266 NR_036082 chr2 - 220413794 220413869 220413869 220413869 1 220413794, 220413869, 0 MIR3132 unk unk -1, 2262 NR_036081 chr2 - 219923409 219923472 219923472 219923472 1 219923409, 219923472, 0 MIR3131 unk unk -1, 1643 NR_036099 chr6 - 138756349 138756431 138756431 138756431 1 138756349, 138756431, 0 MIR3145 unk unk -1, 726 NR_036107 chr9 + 18573303 18573377 18573377 18573377 1 18573303, 18573377, 0 MIR3152 unk unk -1, 123 NM_004799 chr1 + 52607765 52812358 52698878 52811893 19 52607765,52682040,52698842,52703159,52729444,52732326,52734134,52740135,52744163,52747332,52759124,52761566,52769492,52798439,52800359,52803443,52805797,52810439,52811731, 52608075,52682146,52698948,52705267,52729544,52732503,52734304,52740256,52744286,52747488,52759349,52761649,52769597,52798590,52800440,52803606,52805903,52810616,52812358, 0 ZFYVE9 cmpl cmpl -1,-1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 109 NM_005109 chr3 + 38207025 38296979 38207367 38294382 18 38207025,38224493,38232221,38240212,38257586,38263068,38265302,38266061,38271177,38271855,38278329,38284233,38287565,38289158,38291456,38292893,38293818,38294307, 38207437,38224606,38232330,38240354,38257642,38263178,38265404,38266195,38271226,38271921,38278452,38284269,38287712,38289223,38291509,38292962,38293883,38296979, 0 OXSR1 cmpl cmpl 0,1,0,1,2,1,0,0,2,0,0,0,0,0,2,1,1,0, 1127 NM_001360 chr11 - 71145456 71159477 71146420 71155998 9 71145456,71148857,71149924,71152272,71153308,71155038,71155900,71158655,71159335, 71146885,71148989,71150129,71152486,71153399,71155261,71156004,71158780,71159477, 0 DHCR7 cmpl cmpl 0,0,2,1,0,2,0,-1,-1, 1718 NM_018241 chr4 + 148538538 148556672 148539107 148555585 10 148538538,148544984,148545212,148545954,148549511,148550749,148552543,148554053,148554915,148555319, 148539230,148545115,148545249,148546160,148549586,148550843,148552656,148554153,148555087,148556672, 0 TMEM184C cmpl cmpl 0,0,2,0,2,2,0,2,0,1, 726 NR_036140 chr16 - 18505750 18505834 18505834 18505834 1 18505750, 18505834, 0 MIR3179-1 unk unk -1, 604 NR_036139 chr16 - 2581922 2582006 2582006 2582006 1 2581922, 2582006, 0 MIR3178 unk unk -1, 699 NR_036140 chr16 + 14995364 14995448 14995448 14995448 1 14995364, 14995448, 0 MIR3179-1 unk unk -1, 710 NR_036140 chr16 + 16394015 16394099 16394099 16394099 1 16394015, 16394099, 0 MIR3179-1 unk unk -1, 1768 NM_001287592 chr1 + 155107819 155111334 155108062 155110757 4 155107819,155108774,155110454,155110655, 155108074,155108852,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0, 3 NM_015238 chr5 + 167719064 167899308 167719157 167896022 23 167719064,167798428,167812215,167824728,167826492,167833202,167835511,167836926,167841352,167849012,167850537,167855037,167855711,167857141,167858256,167868686,167871498,167880972,167882360,167887654,167891733,167894844,167895955, 167719276,167798538,167812419,167824805,167826572,167833332,167835658,167837000,167841595,167849102,167851073,167855146,167855792,167857228,167858449,167868839,167871590,167881105,167882525,167887747,167891967,167894969,167899308, 0 WWC1 cmpl cmpl 0,2,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 2076 NM_138297 chr3 - 195473637 195538844 195474046 195538688 23 195473637,195475772,195477759,195478077,195479243,195479921,195481083,195484017,195485994,195487754,195488354,195488957,195489725,195490303,195490915,195491867,195492140,195493533,195495892,195497086,195498522,195501042,195538606, 195474251,195475935,195477983,195478142,195479317,195480101,195481243,195484199,195486132,195487988,195488456,195489125,195489816,195490512,195491035,195491993,195492320,195493622,195496023,195497242,195498687,195501176,195538844, 0 MUC4 cmpl cmpl 2,1,2,0,1,1,0,1,1,1,1,1,0,1,1,1,1,2,0,0,0,1,0, 11 NM_178423 chr7 + 18535368 19036992 18535925 19035685 26 18535368,18535884,18624903,18629967,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835,18767202,18788627,18801779,18806728,18832967,18868783,18869083,18875089,18875522,18914100,18975431,18993768,19015428,19035645, 18535477,18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18706099,18767380,18788761,18801900,18806778,18833075,18868839,18869171,18875209,18875620,18914219,18975565,18993853,19015576,19036992, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,1,0,0,1,0,0,1,0,1,0,0,2,0,0,2,1,0,1,2, 784 NM_178422 chr1 - 26187974 26197744 26189289 26190330 2 26187974,26197099, 26190352,26197744, 0 PAQR7 cmpl cmpl 0,-1, 631 NM_032905 chr10 + 6130948 6159422 6139028 6157519 12 6130948,6139010,6143233,6146893,6148103,6150648,6151948,6154172,6155470,6156011,6157201,6157415, 6131156,6139151,6143350,6147060,6148201,6150705,6152090,6154324,6155544,6156110,6157274,6159422, 0 RBM17 cmpl cmpl -1,0,0,0,2,1,1,2,1,0,0,1, 780 NM_001282872 chr1 + 25598976 25656936 25599038 25643543 10 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25634137,25643490,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25634307,25643570,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1,-1, 1651 NR_036251 chr9 + 139725408 139725475 139725475 139725475 1 139725408, 139725475, 0 MIR4292 unk unk -1, 1426 NM_004109 chr11 + 110300660 110335608 110300844 110333192 4 110300660,110306557,110327641,110333077, 110301029,110306682,110327771,110335608, 0 FDX1 cmpl cmpl 0,2,1,2, 940 NM_001278389 chr12 - 46576839 46660278 46582752 46633583 17 46576839,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46660228, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46660278, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 117 NM_001278388 chr12 - 46576839 46663208 46582752 46633583 16 46576839,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46662308, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1, 117 NM_001278387 chr12 - 46576839 46663208 46582752 46633583 18 46576839,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46648596,46662308, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46648719,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1,-1, 15 NM_005611 chr16 + 53468350 53525560 53468468 53524212 22 53468350,53472927,53476569,53480953,53485614,53487363,53487616,53488567,53493362,53495652,53496463,53498137,53499349,53500969,53503827,53504294,53504657,53513065,53513797,53514478,53515582,53524041, 53468708,53473058,53476770,53481018,53485743,53487524,53487681,53488754,53493529,53495762,53496567,53498275,53499514,53501081,53504097,53504575,53504834,53513137,53513903,53514681,53515747,53525560, 0 RBL2 cmpl cmpl 0,0,2,2,1,1,0,2,0,2,1,0,0,0,1,1,0,0,0,1,0,0, 284 NM_007207 chr1 - 221874763 221915516 221875753 221913086 4 221874763,221879436,221912275,221915322, 221876019,221879808,221913129,221915516, 0 DUSP10 cmpl cmpl 1,1,0,-1, 710 NR_036143 chr16 + 16394015 16394099 16394099 16394099 1 16394015, 16394099, 0 MIR3179-2 unk unk -1, 726 NR_036143 chr16 - 18505750 18505834 18505834 18505834 1 18505750, 18505834, 0 MIR3179-2 unk unk -1, 699 NR_036142 chr16 + 15005080 15005168 15005168 15005168 1 15005080, 15005168, 0 MIR3180-2 unk unk -1, 710 NR_036142 chr16 + 16403735 16403823 16403823 16403823 1 16403735, 16403823, 0 MIR3180-2 unk unk -1, 726 NR_036142 chr16 - 18496036 18496124 18496124 18496124 1 18496036, 18496124, 0 MIR3180-2 unk unk -1, 699 NR_036141 chr16 + 15005076 15005170 15005170 15005170 1 15005076, 15005170, 0 MIR3180-1 unk unk -1, 710 NR_036141 chr16 + 16403731 16403825 16403825 16403825 1 16403731, 16403825, 0 MIR3180-1 unk unk -1, 726 NR_036141 chr16 - 18496034 18496128 18496128 18496128 1 18496034, 18496128, 0 MIR3180-1 unk unk -1, 1004 NM_173514 chr5 - 54921672 55008163 54922321 54993786 16 54921672,54923718,54929581,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54993673,55007279,55008044, 54922487,54923808,54929730,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54993820,55007327,55008163, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,1,0,2,0,2,0,-1,-1, 747 NR_026675 chr16 + 21312169 21329912 21329912 21329912 3 21312169,21327204,21328182, 21312656,21327291,21329912, 0 CRYM-AS1 unk unk -1,-1,-1, 1004 NM_001258286 chr5 - 54921672 54988881 54922321 54968447 14 54921672,54923718,54929581,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54988417, 54922487,54923808,54929730,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54988881, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,1,0,2,0,0,-1, 587 NR_028325 chr1 + 323891 328581 328581 328581 3 323891,324287,324438, 324060,324345,328581, 0 RP4-669L17.10 unk unk -1,-1,-1, 1964 NR_028325 chr5 + 180750506 180755196 180755196 180755196 3 180750506,180750902,180751053, 180750675,180750960,180755196, 0 RP4-669L17.10 unk unk -1,-1,-1, 1723 NR_038408 chr6 - 149275396 149285820 149285820 149285820 3 149275396,149280113,149285696, 149277289,149280177,149285820, 0 RP11-162J8.2 unk unk -1,-1,-1, 1064 NR_028348 chr7 + 62809447 62812152 62812152 62812152 2 62809447,62811976, 62809926,62812152, 0 LOC100287704 unk unk -1,-1, 1118 NM_001252151 chr14 + 69865095 69929107 69908934 69925310 7 69865095,69890810,69908785,69919957,69921528,69922448,69925079, 69865320,69890919,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl -1,-1,0,1,1,0,0, 1118 NM_001252148 chr14 + 69865384 69929107 69866086 69925310 6 69865384,69890810,69908785,69921528,69922448,69925079, 69866182,69890919,69908983,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl 0,0,1,1,0,0, 890 NR_033465 chr17 - 39981333 39992523 39992523 39992523 8 39981333,39983677,39985041,39987052,39988643,39991321,39991454,39992110, 39981909,39983878,39985204,39987142,39988729,39991368,39991524,39992523, 0 NT5C3B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 164 NR_033966 chr1 + 95940292 95944912 95944912 95944912 4 95940292,95940869,95942299,95942894, 95940731,95940930,95942536,95944912, 0 FLJ31662 unk unk -1,-1,-1,-1, 1234 NR_004859 chr15 + 85174690 85185694 85185694 85185694 5 85174690,85177054,85180577,85181626,85182738, 85175529,85177612,85180651,85181708,85185694, 0 SCAND2P unk unk -1,-1,-1,-1,-1, 699 NR_003920 chr9 + 14993324 15019722 15019722 15019722 5 14993324,14997161,15001631,15017352,15019482, 14993575,14997321,15001730,15017525,15019722, 0 LOC389705 unk unk -1,-1,-1,-1,-1, 665 NM_007065 chr19 - 10501808 10514271 10502226 10514155 8 10501808,10503761,10503934,10505696,10505903,10506110,10506603,10514053, 10502382,10503833,10504117,10505819,10506019,10506219,10506879,10514271, 0 CDC37 cmpl cmpl 0,0,0,0,1,0,0,0, 1351 NM_001271684 chr1 + 100435344 100492534 100459110 100487970 6 100435344,100459092,100464816,100472589,100476920,100487941, 100435718,100459297,100464971,100472712,100477089,100492534, 0 SLC35A3 cmpl cmpl -1,0,1,0,0,1, 133 NM_032852 chr1 + 63249776 63330941 63269457 63329830 11 63249776,63269389,63270842,63282245,63284675,63286809,63294710,63299708,63300446,63307098,63329662, 63249944,63269533,63270926,63282479,63285006,63286880,63294847,63299787,63300523,63307218,63330941, 0 ATG4C cmpl cmpl -1,0,1,1,1,2,1,0,1,0,0, 13 NM_024294 chr6 - 34555056 34664627 34558341 34664380 5 34555056,34574331,34614377,34622401,34664222, 34558377,34574681,34614575,34622556,34664627, 0 C6orf106 cmpl cmpl 0,1,1,2,0, 1084 NR_037443 chr1 - 65523437 65523525 65523525 65523525 1 65523437, 65523525, 0 MIR3671 unk unk -1, 1145 NR_037449 chr17 + 73402149 73402243 73402243 73402243 1 73402149, 73402243, 0 MIR3678 unk unk -1, 88 NM_021235 chr19 - 16472388 16582823 16472580 16582756 23 16472388,16487932,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16472795,16488065,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 1,0,1,0,1,1,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 137 NM_145160 chr15 + 67835020 68099455 67835673 68099088 22 67835020,67842371,67855620,67873091,67878227,67879183,67885263,67893022,67923225,67938568,67938725,67950890,67956934,67984816,67985855,67995674,68020253,68040568,68040906,68061939,68065044,68098983, 67835808,67842420,67855688,67873161,67878268,67879251,67885312,67893087,67923265,67938637,67938807,67950952,67956983,67984890,67985906,67995746,68020283,68040595,68040939,68062001,68065090,68099455, 0 MAP2K5 cmpl cmpl 0,0,1,0,1,0,2,0,2,0,0,1,0,1,0,0,0,0,0,0,2,0, 601 NR_037467 chr16 - 2185977 2186130 2186130 2186130 1 2185977, 2186130, 0 MIR3180-5 unk unk -1, 701 NR_037466 chr16 - 15248706 15248859 15248859 15248859 1 15248706, 15248859, 0 MIR3180-4 unk unk -1, 1026 NM_001278081 chr16 + 57844548 57850831 57844620 57850127 5 57844548,57847573,57847635,57849327,57850123, 57844696,57847634,57847785,57849549,57850831, 0 LOC388282 cmpl cmpl 0,1,2,2,2, 1127 NM_005466 chr14 - 71049937 71067407 71051529 71067354 8 71049937,71052472,71057982,71059596,71060012,71063327,71064334,71067332, 71051660,71052500,71058098,71059705,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 1,0,1,0,1,2,1,0, 780 NM_006424 chr4 + 25657434 25680368 25664122 25678371 13 25657434,25664119,25664326,25665823,25667749,25669501,25671268,25672359,25673222,25674708,25675917,25676126,25677756, 25657512,25664234,25664464,25665952,25667893,25669613,25671464,25672455,25673343,25674876,25676034,25676251,25680368, 0 SLC34A2 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 20 NR_027004 chr14 - 94371075 94392718 94392718 94392718 11 94371075,94374315,94375264,94376915,94377859,94383584,94384530,94388406,94388621,94389746,94392621, 94371734,94374458,94375516,94376955,94377965,94383742,94384666,94388511,94388727,94390346,94392718, 0 FAM181A-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 825 NM_147130 chr6 - 31556659 31560762 31556843 31560498 4 31556659,31557302,31557558,31560455, 31556953,31557410,31557903,31560762, 0 NCR3 cmpl cmpl 1,1,1,0, 1457 NR_034087 chr9 - 114365110 114375833 114375833 114375833 3 114365110,114371293,114375277, 114365393,114371549,114375833, 0 LRRC37A5P unk unk -1,-1,-1, 906 NR_028582 chr17 + 42148097 42153712 42153712 42153712 6 42148097,42151527,42152047,42152336,42152677,42153047, 42148610,42151634,42152138,42152455,42152819,42153712, 0 G6PC3 unk unk -1,-1,-1,-1,-1,-1, 829 NM_004381 chr6 - 32083044 32096017 32083515 32095984 18 32083044,32084256,32084480,32084813,32085099,32085363,32085635,32086551,32086732,32087600,32088547,32088765,32089039,32093893,32094879,32095218,32095447,32095893, 32083745,32084341,32084592,32084884,32085181,32085471,32085815,32086643,32086918,32087734,32088679,32088901,32089125,32094029,32094971,32095297,32095527,32096017, 0 ATF6B cmpl cmpl 1,0,2,0,2,2,2,0,0,1,1,0,1,0,1,0,1,0, 631 NM_022573 chrY + 6114263 6117053 6114309 6116866 6 6114263,6115396,6115602,6115815,6116067,6116843, 6114795,6115474,6115714,6115961,6116149,6117053, 0 TSPY2 cmpl cmpl 0,0,0,1,0,1, 1753 NM_001010857 chr1 + 153175905 153177601 153177183 153177480 2 153175905,153177162, 153176007,153177601, 0 LELP1 cmpl cmpl -1,0, 934 NR_022014 chr15 + 45803333 45848928 45848928 45848928 6 45803333,45805895,45807970,45828282,45839277,45847670, 45803403,45806161,45808090,45828407,45839365,45848928, 0 HMGN2P46 unk unk -1,-1,-1,-1,-1,-1, 886 NR_027695 chr21 + 39578249 39580738 39580738 39580738 3 39578249,39578565,39580228, 39578454,39578710,39580738, 0 DSCR10 unk unk -1,-1,-1, 1102 NM_001288993 chr16 + 67840780 67861971 67859873 67861896 13 67840780,67848204,67855001,67858485,67859039,67859569,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67855128,67858682,67859175,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,-1,-1,-1,0,1,0,0,0,2,0,2, 833 NR_001298 chr6 - 32520489 32527779 32527779 32527779 6 32520489,32521152,32521632,32522466,32525692,32527592, 32520849,32521176,32521743,32522748,32525963,32527779, 0 HLA-DRB6 unk unk -1,-1,-1,-1,-1,-1, 775 NM_207644 chr22 - 24981590 24989035 24981853 24989006 4 24981590,24984181,24985788,24988829, 24982379,24984297,24985917,24989035, 0 FAM211B cmpl cmpl 2,0,0,0, 281 NR_026597 chr2 - 218148745 218621316 218621316 218621316 13 218148745,218182688,218183642,218190568,218192719,218290024,218291313,218292113,218297645,218298670,218343103,218464334,218621190, 218149586,218182924,218183900,218190693,218192875,218290245,218291509,218292196,218297744,218298839,218343281,218465552,218621316, 0 DIRC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 21 NR_024130 chr10 + 101686965 101718755 101718755 101718755 5 101686965,101687916,101715430,101716238,101716545, 101687056,101687997,101715589,101716348,101718755, 0 DNMBP-AS1 unk unk -1,-1,-1,-1,-1, 1318 NR_037484 chr8 - 96085138 96085224 96085224 96085224 1 96085138, 96085224, 0 MIR3150B unk unk -1, 1880 NM_181093 chr1 - 169822214 169863100 169822853 169857981 14 169822214,169823410,169824936,169828181,169831753,169833509,169836036,169838068,169839395,169842836,169845118,169847774,169857816,169862928, 169822913,169824105,169825098,169828353,169831938,169833649,169836114,169838180,169839498,169842893,169845232,169847960,169858031,169863100, 0 SCYL3 cmpl cmpl 0,1,1,0,1,2,2,1,0,0,0,0,0,-1, 885 NM_145298 chr22 + 39436672 39451975 39436965 39448700 7 39436672,39438941,39440945,39441432,39445429,39448078,39448581, 39436982,39439095,39441225,39441547,39445586,39448358,39451975, 0 APOBEC3F cmpl cmpl 0,2,0,1,2,0,1, 16 NM_145307 chr10 - 63952844 64028622 63957666 64028369 12 63952844,63959512,63964615,63976876,63977953,63982996,63995824,63999406,64000900,64005757,64022383,64028309, 63958202,63959620,63964781,63977008,63978060,63983091,63996022,63999524,64000954,64005816,64022580,64028622, 0 RTKN2 cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,0, 1032 NM_018231 chr16 - 58700297 58718674 58701288 58714030 12 58700297,58704016,58704948,58705999,58709843,58710192,58711229,58712236,58712599,58713760,58717858,58718620, 58701391,58704071,58705148,58706147,58709958,58710250,58711328,58712378,58712798,58714145,58718082,58718674, 0 SLC38A7 cmpl cmpl 2,1,2,1,0,2,2,1,0,0,-1,-1, 1607 NR_033701 chr9 + 133971862 133998539 133998539 133998539 6 133971862,133972166,133986983,133989963,133993142,133995621, 133972047,133972250,133987050,133990005,133993305,133998539, 0 AIF1L unk unk -1,-1,-1,-1,-1,-1, 1706 NR_033700 chrX + 146993468 147032647 147032647 147032647 15 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147026571,147027136,147032647, 0 FMR1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1149 NM_001126063 chr6 - 73933267 73935175 73933470 73935131 3 73933267,73933888,73935019, 73933562,73934071,73935175, 0 KHDC1L cmpl cmpl 1,1,0, 1154 NM_033046 chr2 - 74652987 74667710 74653369 74666749 13 74652987,74654295,74654550,74655394,74655757,74655974,74656954,74657378,74657591,74657742,74659593,74666677,74667479, 74653701,74654400,74654719,74655523,74655864,74656069,74657164,74657496,74657645,74657804,74659793,74667104,74667710, 0 RTKN cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,0,-1, 1501 NR_029584 chr3 - 120114514 120114576 120114576 120114576 1 120114514, 120114576, 0 MIR198 unk unk -1, 121 NR_027121 chrX - 50334642 50557044 50557044 50557044 10 50334642,50338697,50341265,50345632,50350380,50370613,50376177,50381173,50438785,50556901, 50335144,50339964,50341535,50345813,50351184,50370675,50378668,50381308,50438937,50557044, 0 SHROOM4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 724 NM_001282733 chr10 + 18240767 18332221 18242205 18331762 13 18240767,18242119,18250509,18254411,18266830,18270240,18276407,18280079,18282112,18284584,18289595,18292099,18331633, 18240954,18242466,18250791,18254619,18267003,18270412,18276580,18280232,18282220,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,0,1,0,1,0,0,0,1,1,0, 797 NM_001282732 chr2 - 27873675 27886707 27876351 27885059 5 27873675,27878231,27880211,27885045,27886195, 27876614,27878469,27880536,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,0,-1, 145 NM_015072 chr14 + 76127550 76421425 76129492 76420789 32 76127550,76129397,76135758,76147887,76149892,76156534,76165530,76173360,76173965,76184203,76186077,76186938,76198680,76200331,76201537,76211437,76211832,76219235,76230957,76232404,76238076,76241826,76243089,76245917,76248829,76249489,76259258,76286349,76330009,76349027,76368484,76420766, 76127730,76129566,76135865,76147970,76149999,76156665,76165613,76173430,76174050,76184305,76186169,76187046,76198762,76200393,76201632,76211551,76211924,76219298,76231115,76232711,76238197,76241973,76243193,76246045,76248916,76249873,76259443,76286504,76330205,76349245,76368567,76421425, 0 TTLL5 cmpl cmpl -1,0,2,1,0,2,1,0,1,2,2,1,1,2,1,0,0,2,2,1,2,0,0,2,1,1,1,0,2,0,2,1, 1059 NM_024059 chr20 + 62184372 62188035 62187016 62187973 2 62184372,62187006, 62184454,62188035, 0 C20orf195 cmpl cmpl -1,0, 1271 NR_110261 chr15 - 90014639 90039844 90039844 90039844 11 90014639,90015952,90019985,90020312,90020747,90021067,90022552,90023491,90026297,90030029,90039591, 90015086,90016094,90020059,90020437,90020808,90021205,90022719,90023639,90026448,90030216,90039844, 0 RHCG unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 983 NR_024330 chr19 + 52196592 52208443 52208443 52208443 8 52196592,52204910,52205881,52206273,52206480,52207282,52207522,52208342, 52197808,52204979,52205905,52206351,52206588,52207439,52207733,52208443, 0 SPACA6P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1318 NR_036105 chr8 + 96085141 96085221 96085221 96085221 1 96085141, 96085221, 0 MIR3150A unk unk -1, 1804 NR_036095 chr5 + 159901408 159901490 159901490 159901490 1 159901408, 159901490, 0 MIR3142 unk unk -1, 1759 NR_036094 chr5 - 153975571 153975632 153975632 153975632 1 153975571, 153975632, 0 MIR3141 unk unk -1, 1755 NR_036092 chr4 - 153410478 153410568 153410568 153410568 1 153410478, 153410568, 0 MIR3140 unk unk -1, 152 NM_021204 chr4 + 83351725 83382244 83351982 83381273 6 83351725,83369072,83372195,83375874,83378067,83381133, 83352066,83369174,83372398,83376007,83378191,83382244, 0 ENOPH1 cmpl cmpl 0,0,0,2,0,1, 116 NM_007170 chr1 - 45809554 45956840 45810511 45923457 11 45809554,45811548,45812364,45812650,45813280,45813589,45820974,45851583,45887396,45923235,45956523, 45811230,45811666,45812451,45812734,45813365,45813672,45821121,45851632,45887518,45923543,45956840, 0 TESK2 cmpl cmpl 1,0,0,0,2,0,0,2,0,0,-1, 89 NM_007169 chr17 - 17408876 17485745 17409104 17480326 7 17408876,17409540,17412747,17415822,17425593,17480233,17485580, 17409162,17409615,17412859,17415968,17425709,17480341,17485745, 0 PEMT cmpl cmpl 2,2,1,2,0,0,-1, 1869 NR_037851 chr1 - 168369426 168391894 168391894 168391894 4 168369426,168382030,168391367,168391827, 168371581,168382174,168391442,168391894, 0 RP5-968D22.1 unk unk -1,-1,-1,-1, 597 NR_027383 chrY + 1660485 1671407 1671407 1671407 6 1660485,1662336,1664276,1668084,1669030,1669551, 1660662,1663117,1664425,1668325,1669100,1671407, 0 AKAP17A unk unk -1,-1,-1,-1,-1,-1, 1477 NR_027345 chr12 + 116971226 116973326 116973326 116973326 2 116971226,116971770, 116971267,116973326, 0 LINC00173 unk unk -1,-1, 2001 NR_033752 chr3 + 185677757 185698665 185698665 185698665 6 185677757,185686267,185689403,185692954,185693801,185697446, 185677867,185686506,185689653,185693145,185693958,185698665, 0 LOC344887 unk unk -1,-1,-1,-1,-1,-1, 656 NR_046416 chr4 + 9360107 9361700 9361700 9361700 1 9360107, 9361700, 0 USP17L9P unk unk -1, 587 NM_033089 chr20 + 278203 280963 278227 279442 1 278203, 280963, 0 ZCCHC3 cmpl cmpl 0, 91 NR_027308 chr19 - 19256375 19303400 19303400 19303400 12 19256375,19257363,19257550,19257844,19258506,19260034,19261490,19291494,19293381,19296842,19297701,19302889, 19256831,19257457,19257684,19257992,19258641,19260238,19261573,19291570,19293492,19296907,19297814,19303400, 0 MEF2BNB-MEF2B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 842 NR_026728 chr20 - 33703159 33735161 33735161 33735161 10 33703159,33706400,33711692,33714053,33719444,33722540,33725682,33730175,33732781,33734627, 33703736,33706522,33711837,33714178,33719586,33722752,33725808,33730281,33732821,33735161, 0 EDEM2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 879 NR_026719 chr21 + 38580803 38594037 38594037 38594037 3 38580803,38580954,38592538, 38580845,38581057,38594037, 0 DSCR9 unk unk -1,-1,-1, 647 NR_024260 chr12 + 8234806 8250373 8250373 8250373 7 8234806,8242531,8242790,8245271,8245467,8248196,8248637, 8234979,8242632,8242895,8245380,8245651,8248299,8250373, 0 NECAP1 unk unk -1,-1,-1,-1,-1,-1,-1, 940 NM_015070 chr13 - 46536313 46626896 46537956 46619642 17 46536313,46539414,46541638,46542882,46544496,46549417,46553947,46559431,46562921,46577273,46584482,46585549,46594583,46616298,46619089,46619525,46626832, 46538177,46539567,46542163,46544106,46544600,46549973,46554139,46559896,46563232,46577471,46584640,46585689,46594692,46616410,46619199,46619651,46626896, 0 ZC3H13 cmpl cmpl 1,1,1,1,2,1,1,1,2,2,0,1,0,2,0,0,-1, 106 NM_001282675 chr11 - 35453375 35551848 35453903 35515773 13 35453375,35456059,35457450,35461174,35463028,35489548,35492148,35496177,35513592,35515643,35534918,35550499,35551474, 35454440,35456352,35457683,35461241,35463241,35489656,35492366,35496292,35513721,35515820,35535025,35550527,35551848, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,2,1,1,0,-1,-1,-1, 1271 NM_016321 chr15 - 90014639 90039844 90015965 90039775 11 90014639,90015941,90019985,90020312,90020747,90021067,90022552,90023491,90026297,90030029,90039591, 90015086,90016094,90020059,90020437,90020884,90021205,90022719,90023639,90026448,90030216,90039844, 0 RHCG cmpl cmpl -1,0,1,2,0,0,1,0,2,1,0, 234 NM_016081 chr4 + 169418216 169849608 169432655 169846397 21 169418216,169432573,169589340,169602482,169604148,169606635,169611753,169612419,169630178,169632731,169812072,169815729,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169846383,169847363, 169418345,169433563,169589519,169602549,169604254,169606710,169611895,169612443,169630298,169633074,169812208,169815828,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169846429,169849608, 0 PALLD cmpl cmpl -1,0,2,1,2,0,0,1,1,1,2,0,0,0,0,2,0,1,2,1,-1, 1942 NM_033127 chr1 - 177898241 177939050 177898992 177937116 26 177898241,177899679,177901624,177901832,177902348,177902618,177905432,177906348,177908836,177909744,177911034,177913695,177915554,177916959,177921048,177923413,177927266,177927974,177929476,177929925,177930724,177933305,177934181,177935027,177936817,177939018, 177899064,177899778,177901704,177901941,177902447,177902771,177905500,177906648,177908912,177909849,177911175,177913801,177915666,177917077,177921130,177923511,177927497,177928110,177929538,177930074,177930869,177933414,177934302,177935140,177937174,177939050, 0 SEC16B cmpl cmpl 0,0,1,0,0,0,1,1,0,0,0,2,1,0,2,0,0,2,0,1,0,2,1,2,0,-1, 175 NM_007356 chr7 - 107663995 107770801 107664483 107763609 34 107663995,107669487,107671250,107674652,107677832,107684196,107688352,107689770,107692541,107696076,107698276,107703218,107704205,107706206,107706813,107708460,107710152,107717388,107718645,107720045,107732070,107732781,107735672,107738847,107743488,107744943,107746261,107746953,107748075,107749615,107752255,107756448,107763575,107770750, 107664623,107669641,107671424,107674791,107678040,107684341,107688556,107689976,107692702,107696452,107698373,107703439,107704430,107706364,107707045,107708604,107710330,107717509,107718761,107720231,107732221,107732861,107735782,107739027,107743677,107745064,107746476,107747017,107748264,107749689,107752391,107756606,107763642,107770801, 0 LAMB4 cmpl cmpl 1,0,0,2,1,0,0,1,2,1,0,1,1,2,1,1,0,2,0,0,2,0,1,1,1,0,1,0,0,1,0,1,0,-1, 1568 NR_027671 chr2 + 128848781 128953249 128953249 128953249 41 128848781,128855002,128861505,128865511,128867207,128870657,128872697,128873838,128877929,128878772,128880759,128884934,128886602,128890714,128892449,128896290,128900667,128903376,128910357,128913062,128913965,128914825,128917087,128918033,128918711,128922303,128927861,128928778,128930146,128931354,128932346,128934387,128935405,128936041,128937359,128938463,128939703,128941248,128944256,128945022,128947290, 128849170,128855138,128861588,128865642,128867320,128870832,128872794,128873917,128878030,128878872,128880820,128885026,128886753,128890834,128892535,128896426,128900799,128903541,128910478,128913161,128913989,128914920,128917294,128918165,128918842,128922399,128927964,128928858,128930336,128931513,128932432,128934472,128935494,128936143,128937444,128938646,128939864,128941363,128944373,128945188,128953249, 0 UGGT1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 80 NR_037616 chr6 - 7881482 8064647 8064647 8064647 13 7881482,7884591,7886193,7888937,7889727,7891853,7895338,7899808,7904806,8026599,8041371,8062766,8064497, 7883499,7884721,7886276,7889081,7889814,7891969,7895435,7899914,7904956,8026658,8041501,8062849,8064647, 0 BLOC1S5-TXNDC5 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 86 NR_026916 chr21 + 14410486 14490571 14490571 14490571 12 14410486,14414822,14415099,14417483,14421285,14424116,14432786,14435160,14437495,14439172,14441495,14490158, 14410745,14414937,14415273,14417591,14421350,14425023,14433204,14435279,14438020,14439369,14441613,14490571, 0 ANKRD30BP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 180 NR_027796 chr3 - 112721291 112738555 112738555 112738555 8 112721291,112727017,112729489,112729891,112731580,112732118,112732799,112738388, 112724851,112727277,112729551,112730253,112731658,112732250,112732879,112738555, 0 C3orf17 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 180 NR_027794 chr3 - 112721291 112738555 112738555 112738555 8 112721291,112727017,112729489,112729891,112731580,112732118,112732795,112738388, 112724851,112727277,112729551,112730253,112731658,112732250,112732879,112738555, 0 C3orf17 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 199 NR_046946 chr2 + 132202795 132360468 132360468 132360468 3 132202795,132203095,132360440, 132202810,132203100,132360468, 0 RNU6-81P unk unk -1,-1,-1, 1178 NR_046948 chr11 - 77764353 77830821 77830821 77830821 3 77764353,77764854,77830800, 77764369,77764859,77830821, 0 RNU6-83P unk unk -1,-1,-1, 1141 NR_046948 chr8 + 72886127 72886418 72886418 72886418 2 72886127,72886400, 72886143,72886418, 0 RNU6-83P unk unk -1,-1, 846 NR_027922 chr17 - 34310691 34329084 34329084 34329084 7 34310691,34311373,34313606,34324756,34325315,34325901,34328455, 34310924,34311488,34313740,34324896,34325427,34325961,34329084, 0 CCL15-CCL14 unk unk -1,-1,-1,-1,-1,-1,-1, 1478 NR_037803 chr11 + 117162061 117162857 117162857 117162857 1 117162061, 117162857, 0 BACE1-AS unk unk -1, 2414 NR_034162 chr2 - 239840997 239847965 239847965 239847965 10 239840997,239841423,239842183,239843078,239843305,239843691,239844768,239846553,239847633,239847934, 239841212,239841543,239842276,239843172,239843567,239844034,239846086,239847383,239847816,239847965, 0 FLJ43879 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 725 NR_036160 chr20 + 18451258 18451335 18451335 18451335 1 18451258, 18451335, 0 MIR3192 unk unk -1, 942 NR_036150 chr17 - 46801769 46801837 46801837 46801837 1 46801769, 46801837, 0 MIR3185 unk unk -1, 801 NR_036170 chr22 + 28316513 28316599 28316599 28316599 1 28316513, 28316599, 0 MIR3199-2 unk unk -1, 801 NR_036169 chr22 - 28316512 28316600 28316600 28316600 1 28316512, 28316600, 0 MIR3199-1 unk unk -1, 724 NR_036168 chr22 - 18246945 18247025 18247025 18247025 1 18246945, 18247025, 0 MIR3198-1 unk unk -1, 909 NR_036167 chr21 + 42539483 42539556 42539556 42539556 1 42539483, 42539556, 0 MIR3197 unk unk -1, 1057 NR_036163 chr20 + 61870130 61870194 61870194 61870194 1 61870130, 61870194, 0 MIR3196 unk unk -1, 120 NR_036162 chr20 - 50069441 50069514 50069514 50069514 1 50069441, 50069514, 0 MIR3194 unk unk -1, 815 NR_036161 chr20 + 30194988 30195043 30195043 30195043 1 30194988, 30195043, 0 MIR3193 unk unk -1, 949 NR_036159 chr19 - 47730200 47730276 47730276 47730276 1 47730200, 47730276, 0 MIR3191 unk unk -1, 1264 NM_024824 chr14 + 89029252 89079853 89029477 89078095 17 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89068267,89069171,89073586,89075610,89076055,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89068427,89069404,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,1,2,1,2,1,0,2, 1126 NR_037933 chr14 - 70935595 70950473 70950473 70950473 2 70935595,70950151, 70938309,70950473, 0 ADAM20P1 unk unk -1,-1, 240 NM_001278126 chr4 + 175839508 175899331 175896676 175899139 6 175839508,175841837,175852136,175858083,175869318,175896496, 175839622,175841943,175852325,175858164,175869372,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,-1,-1,0, 868 NR_033753 chr17 + 37186158 37209458 37209458 37209458 5 37186158,37190422,37199451,37200640,37209117, 37188690,37190494,37199532,37201194,37209458, 0 LRRC37A11P unk unk -1,-1,-1,-1,-1, 2210 NR_027286 chr1 - 213029945 213031480 213031480 213031480 2 213029945,213031107, 213030260,213031480, 0 FLVCR1-AS1 unk unk -1,-1, 2210 NR_027285 chr1 - 213029945 213031480 213031480 213031480 2 213029945,213031107, 213030514,213031480, 0 FLVCR1-AS1 unk unk -1,-1, 886 NM_024595 chr1 + 39456915 39471737 39457052 39469727 5 39456915,39463842,39466643,39469018,39469716, 39457272,39463983,39466778,39469090,39471737, 0 AKIRIN1 cmpl cmpl 0,1,1,1,1, 265 NR_027856 chr2 - 201717731 201729467 201729467 201729467 11 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201726424,201729286, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201726189,201726585,201729467, 0 CLK1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 265 NR_027855 chr2 - 201717731 201729467 201729467 201729467 12 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201725960,201726424,201729286, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201724469,201726189,201726585,201729467, 0 CLK1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 598 NR_027383 chrX + 1710485 1721407 1721407 1721407 6 1710485,1712336,1714276,1718084,1719030,1719551, 1710662,1713117,1714425,1718325,1719100,1721407, 0 AKAP17A unk unk -1,-1,-1,-1,-1,-1, 1611 NR_037895 chr5 - 134571923 134583867 134583867 134583867 4 134571923,134574842,134583302,134583815, 134573679,134574994,134583502,134583867, 0 LOC340073 unk unk -1,-1,-1,-1, 878 NR_028352 chr21 - 38437663 38445458 38445458 38445458 6 38437663,38439561,38441851,38444444,38444733,38445299, 38438012,38439680,38441924,38444610,38444837,38445458, 0 PIGP unk unk -1,-1,-1,-1,-1,-1, 1075 NM_006524 chr7 + 64254765 64294059 64254946 64292580 3 64254765,64275295,64291828, 64254949,64275422,64294059, 0 ZNF138 cmpl cmpl 0,0,1, 656 NM_001242332 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L29 cmpl cmpl 0, 826 NM_021246 chr6 + 31683132 31685581 31683132 31685581 3 31683132,31683278,31685357, 31683187,31683401,31685581, 0 LY6G6D cmpl cmpl 0,1,1, 1274 NR_028493 chr6 - 90341942 90348216 90348216 90348216 3 90341942,90347443,90347990, 90347072,90347601,90348216, 0 LYRM2 unk unk -1,-1,-1, 1274 NR_028495 chr6 - 90341942 90348216 90348216 90348216 3 90341942,90347460,90348122, 90347072,90347601,90348216, 0 LYRM2 unk unk -1,-1,-1, 1274 NR_028494 chr6 - 90341942 90348216 90348216 90348216 3 90341942,90347460,90347990, 90347072,90347601,90348216, 0 LYRM2 unk unk -1,-1,-1, 697 NR_036164 chr21 - 14778704 14778781 14778781 14778781 1 14778704, 14778781, 0 MIR3156-3 unk unk -1, 857 NR_024195 chr22 + 35695796 35743987 35743987 35743987 14 35695796,35713869,35718991,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 910 NR_036498 chr22 + 42665758 42670868 42670868 42670868 2 42665758,42669899, 42666031,42670868, 0 LOC388906 unk unk -1,-1, 1584 NR_036110 chr9 - 131007225 131007309 131007309 131007309 1 131007225, 131007309, 0 MIR3154 unk unk -1, 797 NM_014860 chr2 - 27873675 27886707 27876351 27885059 6 27873675,27878231,27880211,27883850,27885045,27886195, 27876614,27878469,27880536,27884255,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,2,0,-1, 121 NM_024884 chr14 - 50709151 50778947 50713775 50778868 10 50709151,50732075,50734470,50735880,50745237,50750588,50760832,50768734,50769619,50778728, 50713971,50732207,50734628,50736048,50745272,50750751,50760964,50768886,50769735,50778947, 0 L2HGDH cmpl cmpl 2,2,0,0,1,0,0,1,2,0, 835 NR_038918 chr22 + 32772650 32780329 32780329 32780329 3 32772650,32773312,32779242, 32772708,32773724,32780329, 0 RP1-149A16.3 unk unk -1,-1,-1, 600 NR_024471 chr11 - 2004438 2011150 2011150 2011150 4 2004438,2006079,2006672,2011055, 2005915,2006212,2006871,2011150, 0 MRPL23-AS1 unk unk -1,-1,-1,-1, 1706 NR_024500 chrX - 146990948 147003676 147003676 147003676 3 146990948,147003450,147003587, 146993748,147003503,147003676, 0 FMR1-AS1 unk unk -1,-1,-1, 1140 NR_039990 chr9 - 72830974 72873790 72873790 72873790 4 72830974,72844129,72872830,72873311, 72831337,72844305,72872851,72873790, 0 SMC5-AS1 unk unk -1,-1,-1,-1, 722 NM_021220 chr20 - 18004795 18038521 18005279 18038278 4 18004795,18022177,18037300,18038178, 18005596,18022367,18037521,18038521, 0 OVOL2 cmpl cmpl 1,0,1,0, 1434 NM_032260 chr2 - 111296064 111336309 111296120 111334601 20 111296064,111297631,111300935,111301112,111302236,111302645,111303049,111304130,111304421,111304680,111306969,111309300,111315428,111320188,111320679,111324952,111325540,111327233,111334529,111336077, 111296233,111297767,111301019,111301292,111302383,111302783,111303208,111304254,111304597,111304862,111307179,111309388,111315624,111320334,111320910,111325105,111325652,111327301,111334902,111336309, 0 RGPD5 cmpl cmpl 1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0,-1, 2084 NM_020342 chr2 + 196521851 196602426 196544766 196599765 10 196521851,196544755,196548422,196571339,196573379,196578156,196581360,196582975,196592882,196599606, 196522005,196545774,196548630,196571509,196573568,196578277,196581729,196583056,196593073,196602426, 0 SLC39A10 cmpl cmpl -1,0,0,1,0,0,1,1,1,0, 1297 NR_036136 chr15 + 93447628 93447705 93447705 93447705 1 93447628, 93447705, 0 MIR3175 unk unk -1, 172 NM_001031701 chr12 - 104166080 104234975 104171606 104234934 14 104166080,104174077,104179112,104181218,104182615,104186941,104187187,104187714,104190671,104192364,104200099,104200632,104208714,104234726, 104171859,104174142,104179253,104181305,104182697,104187043,104187290,104187775,104190809,104192455,104200155,104200707,104208899,104234975, 0 NT5DC3 cmpl cmpl 2,0,0,0,2,2,1,0,0,2,0,0,1,0, 19 NM_001024457 chr2 - 88055478 88285309 88056910 88285293 23 88055478,88071687,88074462,88081642,88084593,88088240,88091508,88091680,88092740,88093149,88093553,88094635,88094926,88095185,88097483,88100123,88106214,88111003,88111494,88115787,88116384,88118077,88285245, 88056945,88071883,88074602,88083866,88084688,88088358,88091592,88091860,88092887,88093287,88093712,88094759,88095102,88095367,88097693,88100211,88106410,88111149,88111725,88115940,88116496,88118142,88285309, 0 RGPD1 cmpl cmpl 1,0,1,0,1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0, 1099 NM_001077704 chr1 + 67395925 67454302 67396074 67452156 14 67395925,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67396083,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl 0,0,1,0,0,1,0,1,0,1,0,2,1,1, 1099 NM_001077703 chr1 + 67390577 67454302 67390711 67452156 15 67390577,67391824,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl 0,1,0,1,0,0,1,0,1,0,1,0,2,1,1, 769 NM_000191 chr1 - 24128366 24151949 24128952 24151905 9 24128366,24130889,24134624,24137225,24140679,24143164,24143965,24146999,24151845, 24129054,24131015,24134813,24137289,24140828,24143260,24144073,24147083,24151949, 0 HMGCL cmpl cmpl 0,0,0,2,0,0,0,0,0, 885 NM_004900 chr22 + 39378403 39388784 39378458 39388450 8 39378403,39380079,39381816,39382302,39385461,39387336,39388038,39388435, 39378475,39380236,39382096,39382417,39385615,39387631,39388154,39388784, 0 APOBEC3B cmpl cmpl 0,2,0,1,2,0,1,0, 81 NM_138799 chr2 - 8996700 9143876 8998808 9143743 13 8996700,9000742,9002719,9004299,9008575,9013237,9017159,9022640,9028147,9048750,9083315,9098625,9143668, 8999034,9000894,9002852,9004364,9008679,9013430,9017343,9022695,9028203,9048846,9083393,9098771,9143876, 0 MBOAT2 cmpl cmpl 2,0,2,0,1,0,2,1,2,2,2,0,0, 120 NM_001079673 chr13 + 49550047 49783915 49580326 49781531 26 49550047,49580287,49649424,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49550313,49580425,49649500,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765256,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 1183 NM_001101404 chr15 + 78384926 78396393 78384926 78395857 6 78384926,78386453,78390270,78390725,78393240,78395806, 78385102,78386543,78390436,78390938,78393900,78396393, 0 SH2D7 cmpl cmpl 0,2,2,0,0,0, 30 NM_181426 chr3 - 180331795 180397283 180332708 180397168 20 180331795,180334068,180334303,180334613,180337046,180337598,180349256,180359780,180361907,180364866,180365952,180369188,180369950,180372549,180377239,180377464,180378357,180379648,180381654,180397078, 180332865,180334151,180334483,180334754,180337153,180337758,180349380,180359989,180362045,180365031,180366147,180369321,180370054,180372741,180377368,180377557,180378516,180379795,180381774,180397283, 0 CCDC39 cmpl cmpl 2,0,0,0,1,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0, 1344 NM_181538 chr7 - 99520891 99527243 99521167 99527243 2 99520891,99526462, 99521226,99527243, 0 GJC3 cmpl cmpl 1,0, 1608 NR_027030 chr6 + 134142284 134175130 134175130 134175130 3 134142284,134158730,134172334, 134142873,134158862,134175130, 0 MGC34034 unk unk -1,-1,-1, 1099 NM_001146113 chr1 + 67390577 67454302 67423750 67452156 14 67390577,67391824,67405710,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67405735,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl -1,-1,-1,0,0,1,0,1,0,1,0,2,1,1, 118 NM_001013732 chr6 - 47845763 48036425 47846038 48036391 3 47845763,47976369,48035965, 47847672,47976850,48036425, 0 PTCHD4 cmpl cmpl 1,0,0, 156 NM_001024457 chr2 + 87144737 87241099 87144753 87239670 23 87144737,87178418,87180064,87180620,87184828,87185404,87190151,87196350,87198869,87201195,87201460,87201803,87202850,87203275,87203675,87204702,87204970,87208205,87211876,87212698,87221963,87224685,87239635, 87144801,87178483,87180176,87180773,87185059,87185550,87190347,87196438,87199079,87201377,87201636,87201927,87203009,87203413,87203822,87204882,87205054,87208323,87211971,87214922,87222103,87224881,87241099, 0 RGPD1 cmpl cmpl 0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1,0,1,0,1, 178 NM_144710 chr2 - 110300373 110371783 110301885 110371404 11 110300373,110303626,110310663,110321942,110323339,110325391,110332157,110342702,110343297,110350627,110371374, 110301901,110303814,110310796,110322111,110323436,110325553,110332344,110342898,110343415,110350696,110371783, 0 SEPT10 cmpl cmpl 2,0,2,1,0,0,2,1,0,0,0, 2042 NM_001127388 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127386 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127389 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127388 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127386 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127389 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127388 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127386 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L2 cmpl cmpl 0, 1618 NM_001127386 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L2 cmpl cmpl 0,0, 1618 NM_001127388 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L6 cmpl cmpl 0,0, 1618 NM_001127389 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L5 cmpl cmpl 0,0, 1618 NM_001127386 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L2 cmpl cmpl 0,0, 1618 NM_001127388 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L6 cmpl cmpl 0,0, 1618 NM_001127389 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L5 cmpl cmpl 0,0, 1618 NM_001127386 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L2 cmpl cmpl 0,0, 1618 NM_001127388 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L6 cmpl cmpl 0,0, 1618 NM_001127389 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L5 cmpl cmpl 0,0, 2042 NM_001127386 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127388 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127389 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127386 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127388 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127389 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127386 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127388 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127389 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L5 cmpl cmpl 0, 826 NM_080702 chr6 - 31606804 31620477 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620200, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 1354 NM_198571 chr7 - 100813773 100823557 100815359 100818088 4 100813773,100816576,100817776,100823322, 100815932,100816801,100818092,100823557, 0 NAT16 cmpl cmpl 0,0,0,-1, 1767 NR_040773 chr1 - 155017667 155036467 155036467 155036467 4 155017667,155018435,155021744,155036232, 155018329,155018631,155021837,155036467, 0 RP11-307C12.11 unk unk -1,-1,-1,-1, 1767 NR_040772 chr1 - 155017667 155023641 155023641 155023641 4 155017667,155018435,155021744,155023082, 155018329,155018722,155021837,155023641, 0 RP11-307C12.11 unk unk -1,-1,-1,-1, 914 NR_040733 chr1 + 43232915 43241413 43241413 43241413 4 43232915,43239233,43240407,43240879, 43233061,43239320,43240539,43241413, 0 C1orf50 unk unk -1,-1,-1,-1, 1501 NM_001080138 chrX - 120072555 120075873 120073864 120075618 3 120072555,120073833,120074876, 120072695,120073989,120075873, 0 CT47A9 cmpl cmpl -1,1,0, 187 NM_001080138 chrX - 120011344 120066151 120064142 120065896 3 120011344,120064111,120065154, 120011484,120064267,120066151, 0 CT47A9 cmpl cmpl -1,1,0, 1501 NM_001080138 chrX - 120067694 120071012 120069003 120070757 3 120067694,120068972,120070015, 120067834,120069128,120071012, 0 CT47A9 cmpl cmpl -1,1,0, 955 NM_001272066 chr3 - 48509196 48542259 48510505 48538709 6 48509196,48510759,48511126,48520585,48538569,48542062, 48510585,48510972,48511242,48520666,48538726,48542259, 0 SHISA5 cmpl cmpl 1,1,2,2,0,-1, 137 NM_001206804 chr15 + 67841341 68099455 67841518 68099088 22 67841341,67842371,67855620,67873091,67878227,67879183,67885263,67893022,67923225,67938568,67938725,67950890,67956934,67984816,67985855,67995674,68020253,68040568,68040906,68061939,68065044,68098983, 67841545,67842420,67855688,67873161,67878268,67879251,67885312,67893087,67923265,67938637,67938807,67950952,67956983,67984890,67985906,67995746,68020283,68040595,68040939,68062001,68065090,68099455, 0 MAP2K5 cmpl cmpl 0,0,1,0,1,0,2,0,2,0,0,1,0,1,0,0,0,0,0,0,2,0, 873 NM_016042 chr9 - 37779710 37785089 37780675 37785041 4 37779710,37781982,37783910,37784717, 37780877,37782134,37784060,37785089, 0 EXOSC3 cmpl cmpl 2,0,0,0, 1926 NR_045724 chr5 - 175819455 175843570 175843570 175843570 6 175819455,175824607,175824930,175833157,175837257,175843177, 175819946,175824719,175825048,175833709,175837304,175843570, 0 CLTB unk unk -1,-1,-1,-1,-1,-1, 1060 NM_003224 chr20 - 62329994 62339365 62331794 62338443 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333252,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,0,-1, 79 NR_047512 chr11 - 6416353 6440341 6440341 6440341 14 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6431856,6440214, 6416509,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6432591,6440341, 0 APBB1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 606 NM_024967 chr19 + 2867332 2878501 2867419 2878327 4 2867332,2873493,2876090,2877270, 2867422,2873620,2876274,2878501, 0 ZNF556 cmpl cmpl 0,0,1,2, 662 NR_027300 chr19 + 10152031 10184813 10184813 10184813 30 10152031,10152405,10153159,10153386,10153823,10154322,10155733,10157027,10157405,10157800,10157994,10160671,10162977,10163204,10165922,10166268,10169243,10169485,10172484,10172860,10176254,10178499,10179641,10180966,10181310,10181657,10183599,10183765,10183975,10184592, 10152155,10152521,10153300,10153596,10154033,10154484,10155811,10157225,10157517,10157886,10158134,10160740,10163029,10163291,10165998,10166437,10169333,10169784,10172657,10173019,10176314,10178590,10179687,10181054,10181397,10181763,10183686,10183855,10184111,10184813, 0 C3P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 637 NR_038291 chr10 + 6821559 6884868 6884868 6884868 5 6821559,6823265,6875604,6879935,6882352, 6821849,6823448,6875650,6879970,6884868, 0 LINC00707 unk unk -1,-1,-1,-1,-1, 813 NR_028032 chr6 + 29942891 29946177 29946177 29946177 3 29942891,29945430,29945994, 29943294,29945494,29946177, 0 HCG9 unk unk -1,-1,-1, 817 NM_177991 chr20 - 30448869 30458011 30449205 30450499 7 30448869,30450373,30451709,30452755,30454873,30457366,30457850, 30449478,30450545,30451784,30452805,30454956,30457400,30458011, 0 DUSP15 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1735 NM_004769 chr7 + 150745378 150749843 150745972 150749739 11 150745378,150747192,150747567,150747844,150748125,150748258,150748896,150749069,150749252,150749502,150749660, 150746506,150747343,150747695,150748040,150748182,150748406,150748988,150749149,150749324,150749561,150749843, 0 ASIC3 cmpl cmpl 0,0,1,0,1,1,2,1,0,0,2, 1255 NR_039634 chr2 + 87929273 87929353 87929353 87929353 1 87929273, 87929353, 0 MIR4435-1 unk unk -1, 1652 NM_080670 chr5 + 139944419 139948683 139946754 139947729 3 139944419,139945457,139946149, 139944443,139945556,139948683, 0 SLC35A4 cmpl cmpl -1,-1,0, 1458 NM_018700 chr5 - 114460458 114516243 114462199 114515734 10 114460458,114466288,114469556,114472696,114473059,114476975,114480294,114482765,114499214,114515671, 114462554,114466586,114469844,114472821,114473313,114477071,114480441,114483091,114499449,114516243, 0 TRIM36 cmpl cmpl 2,1,1,2,0,0,0,1,0,0, 774 NM_181657 chr14 + 24782312 24787242 24784857 24785916 2 24782312,24784842, 24784226,24787242, 0 LTB4R cmpl cmpl -1,0, 231 NM_173512 chr2 - 165754708 165812035 165754946 165809277 10 165754708,165765149,165768145,165771621,165772412,165793859,165795959,165802102,165809216,165811718, 165755240,165765281,165768258,165771783,165772483,165793939,165796066,165802237,165809291,165812035, 0 SLC38A11 cmpl cmpl 0,0,1,1,2,0,1,1,0,-1, 91 NR_027307 chr19 - 19256375 19303400 19303400 19303400 13 19256375,19257081,19257363,19257550,19257844,19258506,19260034,19261490,19291494,19293381,19296842,19297701,19302889, 19256831,19257193,19257457,19257684,19257992,19258641,19260238,19261573,19291570,19293492,19296907,19297814,19303400, 0 MEF2BNB-MEF2B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1756 NM_080388 chr1 - 153579366 153585514 153580009 153580627 3 153579366,153580474,153585427, 153580168,153580653,153585514, 0 S100A16 cmpl cmpl 0,0,-1, 972 NM_015247 chr16 + 50775960 50835846 50783609 50830419 20 50775960,50776672,50778640,50783486,50785514,50788229,50788371,50810085,50811735,50813575,50815156,50816235,50818239,50820765,50821696,50825468,50826507,50827456,50828122,50830234, 50776035,50776752,50778777,50784113,50785817,50788335,50788376,50810188,50811852,50813955,50815322,50816377,50818362,50820857,50821763,50825601,50826616,50827575,50828339,50835846, 0 CYLD cmpl cmpl -1,-1,-1,0,0,0,1,0,1,1,0,1,2,2,1,2,0,1,0,1, 635 NM_001272054 chr4 + 6641817 6644470 6642589 6642973 3 6641817,6642958,6643456, 6642886,6642985,6644470, 0 MRFAP1 cmpl cmpl 0,0,-1, 590 NM_001276274 chr11 + 695590 705028 695608 704646 6 695590,698868,700141,700614,702944,704441, 695846,698888,700235,700707,703146,705028, 0 TMEM80 cmpl cmpl 0,1,0,1,1,2, 590 NM_001276253 chr11 + 695590 704131 695608 703735 4 695590,698868,700141,703674, 695846,698888,700212,704131, 0 TMEM80 cmpl cmpl 0,1,0,2, 931 NR_028413 chr19 + 45430059 45434643 45434643 45434643 3 45430059,45431051,45434256, 45430290,45431187,45434643, 0 APOC1P1 unk unk -1,-1,-1, 669 NM_182482 chr21 - 11020841 11098925 11049570 11098717 10 11020841,11021109,11026722,11029597,11038727,11047480,11049449,11058160,11097545,11098702, 11020917,11021211,11026839,11029717,11039429,11047595,11049621,11058323,11097646,11098925, 0 BAGE2 cmpl cmpl -1,-1,-1,-1,-1,-1,0,2,0,0, 598 NR_036138 chr16 + 1784985 1785067 1785067 1785067 1 1784985, 1785067, 0 MIR3177 unk unk -1, 1552 NR_036126 chr11 - 126858353 126858438 126858438 126858438 1 126858353, 126858438, 0 MIR3167 unk unk -1, 22 NR_045756 chr4 - 109731876 110223523 110223523 110223523 36 109731876,109733859,109738552,109740967,109745329,109746351,109748290,109753535,109755510,109762850,109765674,109766344,109767338,109769914,109773391,109774057,109780811,109782082,109783656,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109895522,109895688,109931513,109971282,110221738,110222878,110223458, 109733412,109735085,109738591,109741054,109745383,109746378,109748344,109753589,109755546,109762877,109765725,109766407,109767375,109769959,109773436,109774081,109780889,109782127,109783701,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109895549,109895715,109931531,109971335,110221808,110223231,110223523, 0 COL25A1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 138 NR_040077 chr1 + 68297970 68668670 68668670 68668670 10 68297970,68500329,68537482,68564325,68565411,68566380,68583133,68586807,68603979,68667651, 68298119,68500446,68537556,68564519,68565475,68566457,68583415,68586924,68604133,68668670, 0 GNG12-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 78 NR_040000 chr17 + 5675553 5834016 5834016 5834016 4 5675553,5740500,5792076,5833099, 5676347,5740536,5792150,5834016, 0 LOC339166 unk unk -1,-1,-1,-1, 797 NM_001282729 chr2 - 27873675 27886707 27876351 27885059 6 27873675,27878231,27880211,27883850,27885045,27886190, 27876614,27878469,27880536,27884255,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,2,0,-1, 633 NR_001534 chrY + 6317508 6325947 6325947 6325947 7 6317508,6318486,6320955,6321718,6324112,6325199,6325701, 6317545,6318648,6321030,6322195,6324226,6325455,6325947, 0 TTTY7 unk unk -1,-1,-1,-1,-1,-1,-1, 21 NR_047515 chr4 - 103806204 103940896 103940896 103940896 11 103806204,103811737,103826670,103827692,103831595,103832587,103833164,103853280,103910956,103912799,103940755, 103806446,103811830,103826807,103827801,103831745,103832694,103833286,103853456,103911098,103912869,103940896, 0 SLC9B1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 132 NR_037193 chr11 + 62649170 62656355 62656355 62656355 9 62649170,62650379,62651460,62651928,62652103,62652648,62652936,62655606,62655802, 62649538,62650471,62651584,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 861 NR_047461 chr20 - 36247699 36251521 36251521 36251521 3 36247699,36250492,36251230, 36247841,36250602,36251521, 0 LINC00489 unk unk -1,-1,-1, 1879 NR_045787 chr2 - 169628460 169642939 169642939 169642939 3 169628460,169631330,169642866, 169631148,169631461,169642939, 0 CERS6-AS1 unk unk -1,-1,-1, 1879 NR_045786 chr2 - 169628460 169642939 169642939 169642939 4 169628460,169631330,169640464,169642866, 169631148,169631461,169640557,169642939, 0 CERS6-AS1 unk unk -1,-1,-1,-1, 1739 NM_001025603 chr1 - 151313115 151319769 151314661 151318796 11 151313115,151315817,151316156,151316672,151316892,151317203,151317581,151318403,151318680,151318964,151319686, 151315654,151315918,151316358,151316754,151317012,151317323,151317664,151318437,151318809,151319082,151319769, 0 RFX5 cmpl cmpl 0,1,0,2,2,2,0,2,0,-1,-1, 964 NM_014923 chr13 + 49684438 49783915 49684535 49781531 24 49684438,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49684542,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765256,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A cmpl cmpl 0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 1312 NR_077228 chr3 - 95373266 95402037 95402037 95402037 5 95373266,95382087,95387253,95399845,95401444, 95374691,95382184,95387609,95399969,95402037, 0 MTHFD2P1 unk unk -1,-1,-1,-1,-1, 1984 NR_040063 chr1 - 183430010 183441117 183441117 183441117 5 183430010,183430900,183438808,183439599,183439854, 183430803,183431096,183438934,183439675,183441117, 0 SMG7-AS1 unk unk -1,-1,-1,-1,-1, 190 NR_073554 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169524,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232495,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 774 NR_046531 chr13 - 24826886 24828577 24828577 24828577 3 24826886,24827216,24828473, 24827094,24827337,24828577, 0 SPATA13-AS1 unk unk -1,-1,-1, 1514 NR_051996 chr5 - 121772191 121814782 121814782 121814782 6 121772191,121786241,121787475,121790070,121814280,121814709, 121773032,121786361,121787501,121790204,121814510,121814782, 0 MGC32805 unk unk -1,-1,-1,-1,-1,-1, 157 NM_181837 chr6 + 88299784 88377172 88299886 88376841 20 88299784,88304070,88311501,88313101,88315634,88317390,88318813,88321806,88326031,88331071,88331667,88344562,88346124,88362833,88366620,88367638,88372720,88374460,88375471,88376735, 88299910,88304125,88311599,88313246,88315739,88317542,88318947,88321966,88326145,88331205,88331731,88344679,88346204,88362967,88366700,88367736,88372862,88374577,88375551,88377172, 0 ORC3 cmpl cmpl 0,0,1,0,1,1,0,2,0,0,2,0,0,2,1,0,2,0,0,2, 2042 NM_001177376 chr4 + 191002175 191003549 191002272 191003541 1 191002175, 191003549, 0 DUX4L4 cmpl cmpl 0, 2042 NM_001177376 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L4 cmpl cmpl 0, 1016 NM_139067 chr12 - 56555635 56583351 56557472 56583245 29 56555635,56558431,56559101,56561843,56563312,56563559,56563927,56565054,56565462,56566211,56566368,56566720,56567479,56568434,56571805,56572187,56572593,56572780,56574760,56575265,56575487,56575787,56577644,56577958,56578627,56578813,56579938,56580970,56583134, 56557549,56558515,56559483,56561978,56563479,56563695,56563992,56565216,56565721,56566274,56566488,56566813,56567633,56568548,56571877,56572318,56572631,56572840,56574885,56575381,56575619,56575863,56577714,56578028,56578720,56578895,56580024,56581090,56583351, 0 SMARCC2 cmpl cmpl 1,1,0,0,1,0,1,1,0,0,0,0,2,2,2,0,1,1,2,0,0,2,1,0,0,2,0,0,0, 1350 NM_021637 chrX + 100333835 100351355 100333991 100349945 2 100333835,100349561, 100334111,100351355, 0 TMEM35 cmpl cmpl 0,0, 997 NR_038277 chr10 - 54056607 54073888 54073888 54073888 6 54056607,54060272,54061020,54069159,54073157,54073393, 54057673,54060598,54061160,54069297,54073245,54073888, 0 PRKG1-AS1 unk unk -1,-1,-1,-1,-1,-1, 659 NR_046449 chr12 + 9795467 9811010 9811010 9811010 4 9795467,9806278,9808468,9809516, 9795699,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 104 NR_037714 chr17 - 33336130 33448541 33448541 33448541 7 33336130,33343388,33428219,33430272,33430472,33433404,33448309, 33339168,33343599,33428384,33430343,33430563,33433500,33448541, 0 RAD51L3-RFFL unk unk -1,-1,-1,-1,-1,-1,-1, 178 NR_047585 chr2 - 110300373 110371783 110371783 110371783 9 110300373,110303626,110310663,110321942,110323339,110325391,110332157,110350627,110371374, 110301901,110303814,110310796,110322111,110323436,110325553,110332344,110350696,110371783, 0 SEPT10 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 129 NR_046093 chr14 + 59100785 59115038 59115038 59115038 4 59100785,59107453,59108309,59112086, 59100903,59107586,59108465,59115038, 0 DACT1 unk unk -1,-1,-1,-1, 1646 NM_001271560 chrX + 139173825 139175070 139173901 139174723 1 139173825, 139175070, 0 LOC389895 cmpl cmpl 0, 883 NM_001282433 chr17 - 39078947 39093895 39079240 39087692 8 39078947,39080723,39081605,39084489,39084697,39086191,39087624,39093379, 39079335,39080755,39081826,39084612,39084859,39086348,39087707,39093895, 0 KRT23 cmpl cmpl 1,2,0,0,0,2,0,-1, 1004 NM_001282429 chr5 - 54921672 55008163 54922321 54965444 15 54921672,54923718,54929581,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54993673,55007279,55008044, 54922487,54923808,54929730,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54993820,55007327,55008163, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,1,0,0,-1,-1,-1,-1, 112 NR_037791 chr19 + 41284123 41314346 41314346 41314346 12 41284123,41285923,41286289,41289682,41289825,41292569,41292752,41306243,41312459,41313042,41313388,41313713, 41284296,41286004,41286404,41289745,41289980,41292665,41292883,41307320,41312579,41313179,41313456,41314346, 0 RAB4B-EGLN2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 199 NR_037804 chr3 - 132276981 132441303 132441303 132441303 45 132276981,132278676,132279944,132294615,132295787,132297639,132322072,132323941,132337477,132338311,132339975,132345534,132347183,132349280,132350184,132358335,132360815,132361520,132363640,132400757,132401546,132402242,132403397,132405103,132405994,132407493,132407917,132409371,132410035,132411497,132413670,132415574,132416103,132418761,132419177,132420273,132423041,132424583,132426944,132431969,132433928,132435600,132437837,132438548,132440806, 132277929,132278786,132280061,132294770,132295859,132298402,132322171,132324049,132337616,132338389,132340136,132345661,132347290,132349402,132350323,132358500,132360977,132361646,132363735,132400934,132401662,132402368,132403638,132405231,132406070,132407735,132408107,132409494,132410130,132411662,132413809,132415657,132416206,132418905,132419292,132420377,132423215,132424658,132427101,132432130,132434062,132435753,132437988,132438674,132441303, 0 NPHP3-ACAD11 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 734 NR_028083 chrY + 19612837 19628622 19628622 19628622 10 19612837,19613590,19624977,19625353,19626040,19626320,19626688,19627191,19627591,19627895, 19612995,19613640,19625106,19625447,19626211,19626414,19626898,19627379,19627813,19628622, 0 FAM41AY1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 126 NR_039970 chr20 + 55913212 55998278 55998278 55998278 3 55913212,55996406,55998253, 55913256,55996417,55998278, 0 MIR5095 unk unk -1,-1,-1, 1238 NR_039619 chr1 + 85599476 85599556 85599556 85599556 1 85599476, 85599556, 0 MIR4423 unk unk -1, 732 NR_039954 chr3 - 19356339 19356423 19356423 19356423 1 19356339, 19356423, 0 MIR4791 unk unk -1, 1314 NM_153226 chr10 + 95653729 95662491 95653790 95661247 3 95653729,95658330,95660508, 95653968,95658508,95662491, 0 SLC35G1 cmpl cmpl 0,1,2, 1028 NR_027408 chr17 - 58179120 58180280 58180280 58180280 1 58179120, 58180280, 0 LOC653653 unk unk -1, 1060 NR_037882 chr20 + 62289162 62330051 62330051 62330051 38 62289162,62290585,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130,62328112,62328680,62329632, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62327003,62327207,62328544,62328875,62330051, 0 RTEL1-TNFRSF6B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 588 NM_001286435 chr16 + 447191 450754 447222 450190 5 447191,448989,449378,449626,450108, 447313,449123,449480,449739,450754, 0 NME4 cmpl cmpl 0,1,0,0,2, 937 NM_001286416 chr21 - 46225531 46238044 46226865 46237883 4 46225531,46228961,46233776,46237862, 46226955,46229033,46234019,46238044, 0 SUMO3 cmpl cmpl 0,0,0,0, 232 NM_001286378 chr1 + 166944818 166991449 166959009 166991092 13 166944818,166958637,166958973,166960614,166961922,166963264,166973416,166974312,166974492,166985458,166987063,166990321,166990904, 166944903,166958721,166959066,166960714,166962078,166963306,166973541,166974367,166974634,166985521,166987196,166990397,166991449, 0 MAEL cmpl cmpl -1,-1,0,0,1,1,1,0,1,2,2,0,1, 232 NM_001286377 chr1 + 166958325 166991449 166958589 166991092 11 166958325,166960614,166961922,166963264,166973416,166974312,166974492,166985458,166987063,166990321,166990904, 166958721,166960714,166962078,166963306,166973541,166974367,166974634,166985521,166987196,166990397,166991449, 0 MAEL cmpl cmpl 0,0,1,1,1,0,1,2,2,0,1, 810 NR_026765 chr8 - 29578775 29605625 29605625 29605625 4 29578775,29582392,29583671,29605530, 29579667,29582535,29583939,29605625, 0 LINC00589 unk unk -1,-1,-1,-1, 202 NM_001286568 chr2 - 135954538 136288300 135957911 136262059 21 135954538,135960401,135965003,135966437,135975034,135976646,135981995,135985387,135988082,136023103,136026531,136029337,136033205,136071058,136072928,136103119,136107553,136111019,136148371,136261898,136288095, 135958010,135960533,135965406,135966548,135975177,135976748,135982087,135985585,135988497,136023256,136026711,136029457,136033325,136071175,136073100,136103205,136107785,136111198,136148390,136262066,136288300, 0 ZRANB3 cmpl cmpl 0,0,2,2,0,0,1,1,0,0,0,0,0,0,2,0,2,0,2,0,-1, 202 NM_001286569 chr2 - 135954538 136288300 135957911 136026555 22 135954538,135960401,135965003,135966437,135975034,135976646,135981995,135985381,135988082,136023103,136026531,136028870,136029337,136033205,136071058,136072928,136103119,136107553,136111019,136148371,136261898,136288067, 135958010,135960533,135965406,135966548,135975177,135976748,135982087,135985585,135988497,136023256,136026711,136028965,136029457,136033325,136071175,136073100,136103205,136107785,136111198,136148390,136262066,136288300, 0 ZRANB3 cmpl cmpl 0,0,2,2,0,0,1,1,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1114 NM_144676 chr16 - 69377148 69385712 69377309 69385656 4 69377148,69381690,69383427,69385443, 69377543,69381839,69383554,69385712, 0 TMED6 cmpl cmpl 0,1,0,0, 736 NR_073459 chr14 + 19894368 19904572 19904572 19904572 3 19894368,19896784,19904258, 19894691,19896872,19904572, 0 BMS1P18 unk unk -1,-1,-1, 735 NR_073459 chr14 - 19670791 19681016 19681016 19681016 3 19670791,19678512,19680693, 19671105,19678600,19681016, 0 BMS1P18 unk unk -1,-1,-1, 141 NR_046217 chr1 + 71547006 71703406 71703406 71703406 4 71547006,71557346,71688739,71702812, 71547096,71557387,71688797,71703406, 0 ZRANB2-AS2 unk unk -1,-1,-1,-1, 100 NM_024423 chr18 - 28570051 28622781 28574435 28622626 17 28570051,28574419,28576756,28581583,28584107,28586872,28587981,28588234,28598036,28598631,28602301,28604314,28605725,28609474,28610938,28612157,28622557, 28574338,28574462,28577014,28581705,28584332,28587097,28588124,28588491,28598222,28598766,28602468,28604459,28605881,28609594,28611138,28612242,28622781, 0 DSC3 cmpl cmpl -1,0,0,1,1,1,2,0,0,0,1,0,0,0,1,0,0, 1243 NR_038438 chr16 + 86320036 86326995 86326995 86326995 3 86320036,86324270,86325133, 86320155,86324350,86326995, 0 RP11-514D23.1 unk unk -1,-1,-1, 1072 NR_027378 chr8 + 63890419 63897460 63897460 63897460 1 63890419, 63897460, 0 UG0898H09 unk unk -1, 133 NR_026866 chr3 + 63805040 63834312 63834312 63834312 7 63805040,63808925,63813276,63816785,63817355,63830698,63834039, 63805272,63809245,63813401,63816899,63817520,63830758,63834312, 0 C3orf49 unk unk -1,-1,-1,-1,-1,-1,-1, 922 NM_001286520 chr6 - 44221837 44225308 44222442 44223342 4 44221837,44224074,44224421,44225136, 44223381,44224233,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,-1,-1,-1, 1139 NR_026837 chr12 - 72647286 72667289 72667289 72667289 2 72647286,72665602, 72649554,72667289, 0 TRHDE-AS1 unk unk -1,-1, 605 NR_027700 chr20 + 2633177 2639039 2639039 2639039 12 2633177,2633487,2633924,2635059,2635394,2635970,2636240,2636579,2637046,2637419,2637726,2638574, 2633309,2633577,2634039,2635221,2635593,2636158,2636392,2636860,2637195,2637541,2637864,2639039, 0 NOP56 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 215 NR_027002 chr1 + 149279475 149291742 149291742 149291742 1 149279475, 149291742, 0 LOC388692 unk unk -1, 1065 NR_026897 chr15 - 62929370 62937380 62937380 62937380 3 62929370,62932358,62936715, 62930817,62932561,62937380, 0 MGC15885 unk unk -1,-1,-1, 1737 NM_001284262 chr7 - 151078206 151107791 151078667 151093203 6 151078206,151078963,151082173,151092861,151097185,151107678, 151078832,151079067,151082309,151093282,151097327,151107791, 0 WDR86 cmpl cmpl 0,1,0,0,-1,-1, 1737 NM_001284261 chr7 - 151078206 151107791 151078444 151093203 5 151078206,151078963,151092861,151097185,151107678, 151078832,151079067,151093282,151097327,151107791, 0 WDR86 cmpl cmpl 2,0,0,-1,-1, 1737 NM_001284260 chr7 - 151078206 151107124 151078413 151106675 6 151078206,151078963,151082173,151092861,151097185,151106512, 151078832,151079067,151082373,151093282,151097327,151107124, 0 WDR86 cmpl cmpl 1,2,0,2,1,0, 108 NM_001085400 chr4 - 37612255 37687999 37633009 37687909 7 37612255,37633006,37636508,37640068,37648989,37650897,37687821, 37614964,37633145,37636745,37640126,37649061,37651122,37687999, 0 RELL1 cmpl cmpl -1,2,2,1,1,1,0, 1267 NR_038385 chr12 - 89404902 89413469 89413469 89413469 3 89404902,89408468,89413329, 89407094,89408645,89413469, 0 RP11-13A1.1 unk unk -1,-1,-1, 585 NR_038377 chr4_gl000193_random - 49162 88375 88375 88375 6 49162,50561,59868,75048,75487,88199, 49618,50619,59956,75288,75675,88375, 0 MGC39584 unk unk -1,-1,-1,-1,-1,-1, 1614 NR_027127 chr5 - 134984371 134989624 134989624 134989624 3 134984371,134988043,134989530, 134986212,134988150,134989624, 0 LOC340074 unk unk -1,-1,-1, 931 NR_028414 chr19 + 45430059 45434643 45434643 45434643 4 45430059,45430212,45431051,45434256, 45430089,45430290,45431187,45434643, 0 APOC1P1 unk unk -1,-1,-1,-1, 931 NR_028412 chr19 + 45430059 45434643 45434643 45434643 3 45430059,45430866,45434256, 45430290,45431187,45434643, 0 APOC1P1 unk unk -1,-1,-1, 922 NM_001286513 chr6 - 44221837 44225308 44222442 44224502 3 44221837,44224421,44225136, 44223381,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,0,-1, 922 NM_001286512 chr6 - 44221837 44225089 44222442 44224479 4 44221837,44224078,44224421,44224918, 44223381,44224233,44224615,44225089, 0 SLC35B2 cmpl cmpl 0,1,0,-1, 613 NR_047675 chr20 - 3734145 3749035 3749035 3749035 6 3734145,3735043,3736115,3739182,3740728,3748748, 3734805,3735166,3736254,3739325,3740833,3749035, 0 C20orf27 unk unk -1,-1,-1,-1,-1,-1, 1767 NR_045515 chr1 + 154975105 154991001 154991001 154991001 6 154975105,154975318,154982733,154983391,154987130,154988695, 154975145,154975419,154982873,154983491,154988290,154991001, 0 ZBTB7B unk unk -1,-1,-1,-1,-1,-1, 697 NR_046285 chr5 + 14712802 14716638 14716638 14716638 2 14712802,14716530, 14715293,14716638, 0 LOC100130744 unk unk -1,-1, 1053 NR_036496 chr2 - 61368726 61372110 61372110 61372110 2 61368726,61371907, 61371080,61372110, 0 LOC339803 unk unk -1,-1, 1430 NR_049830 chr2 - 110844009 110844100 110844100 110844100 1 110844009, 110844100, 0 MIR4436B2 unk unk -1, 1432 NR_049830 chr2 + 111042429 111042520 111042520 111042520 1 111042429, 111042520, 0 MIR4436B2 unk unk -1, 1182 NR_049799 chr15 + 78375874 78375901 78375901 78375901 1 78375874, 78375901, 0 MIR5003 unk unk -1, 933 NR_030599 chr15 + 45725247 45725327 45725327 45725327 1 45725247, 45725327, 0 MIR147B unk unk -1, 1349 NR_031619 chr10 - 100154974 100155064 100155064 100155064 1 100154974, 100155064, 0 MIR1287 unk unk -1, 2002 NR_039977 chr4 - 185814153 185820615 185820615 185820615 2 185814153,185820460, 185815294,185820615, 0 LINC01093 unk unk -1,-1, 2002 NR_039976 chr4 - 185814153 185820615 185820615 185820615 3 185814153,185818501,185820460, 185815294,185818721,185820615, 0 LINC01093 unk unk -1,-1,-1, 2002 NR_039975 chr4 - 185814153 185820615 185820615 185820615 3 185814153,185818488,185820460, 185815294,185818721,185820615, 0 LINC01093 unk unk -1,-1,-1, 1420 NR_038996 chr12 - 109489845 109491770 109491770 109491770 2 109489845,109491490, 109490543,109491770, 0 USP30-AS1 unk unk -1,-1, 24 NR_038976 chr3 - 131043935 131100319 131100319 131100319 4 131043935,131046020,131095455,131100176, 131045120,131046574,131095551,131100319, 0 LOC339874 unk unk -1,-1,-1,-1, 1332 NR_040097 chr2 + 97948228 97957632 97957632 97957632 5 97948228,97948300,97950614,97951039,97957293, 97948286,97950522,97950744,97951260,97957632, 0 AC159540.1 unk unk -1,-1,-1,-1,-1, 956 NR_024188 chr2 + 48667907 48742531 48742531 48742531 22 48667907,48678146,48681694,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48722817,48725631,48732702,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48722910,48725874,48732735,48734524,48737252,48738607,48742531, 0 PPP1R21 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 795 NR_003525 chr10 - 27534781 27541235 27541235 27541235 1 27534781, 27541235, 0 LRRC37A6P unk unk -1, 1440 NR_039634 chr2 - 112078588 112078668 112078668 112078668 1 112078588, 112078668, 0 MIR4435-1 unk unk -1, 1079 NR_039633 chr2 + 64752646 64752699 64752699 64752699 1 64752646, 64752699, 0 MIR4434 unk unk -1, 637 NR_040089 chr17 - 6888441 6915653 6915653 6915653 3 6888441,6913114,6915514, 6888859,6913208,6915653, 0 LOC100506713 unk unk -1,-1,-1, 878 NM_153681 chr21 - 38437663 38445103 38437881 38444887 4 38437663,38439561,38441851,38444733, 38438012,38439680,38441924,38445103, 0 PIGP cmpl cmpl 1,2,1,0, 821 NR_040245 chr12 + 30948614 30955645 30955645 30955645 5 30948614,30951078,30952846,30953467,30954634, 30949150,30951249,30952955,30953535,30955645, 0 LINC00941 unk unk -1,-1,-1,-1,-1, 886 NR_040111 chr17 + 39558667 39568840 39568840 39568840 3 39558667,39564672,39568670, 39558760,39566569,39568840, 0 AC003958.2 unk unk -1,-1,-1, 1170 NR_046482 chr14 - 76737449 76737476 76737476 76737476 1 76737449, 76737476, 0 RNU6-31P unk unk -1, 1361 NR_046482 chr1 - 101806424 101806451 101806451 101806451 1 101806424, 101806451, 0 RNU6-31P unk unk -1, 912 NR_040101 chr6 + 42981840 42989036 42989036 42989036 10 42981840,42984871,42985256,42985882,42986080,42986370,42986600,42986829,42987025,42988404, 42982086,42985084,42985433,42985954,42986294,42986457,42986709,42986903,42987104,42989036, 0 KLHDC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 208 NM_019001 chr3 - 142025448 142166904 142030352 142166786 42 142025448,142031439,142031977,142037433,142037631,142048275,142051216,142051808,142054289,142066075,142074242,142075753,142078703,142083888,142084151,142089326,142090080,142094639,142095320,142098923,142102141,142103364,142116170,142119285,142122515,142122710,142123748,142131385,142132976,142135981,142137345,142137656,142139857,142140317,142141423,142141676,142142401,142144063,142144270,142145585,142151502,142166711, 142030655,142031600,142032016,142037536,142037745,142048457,142051373,142051931,142054351,142066184,142074338,142075961,142078773,142084021,142084208,142089462,142090170,142094786,142095436,142099022,142102255,142103527,142116302,142119389,142122614,142122831,142123918,142131505,142133133,142136071,142137451,142137723,142139995,142140385,142141592,142141764,142142484,142144174,142144380,142145683,142151735,142166904, 0 XRN1 cmpl cmpl 0,1,1,0,0,1,0,0,1,0,0,2,1,0,0,2,2,2,0,0,0,2,2,0,0,2,0,0,2,2,1,0,0,1,0,2,0,0,1,2,0,0, 1794 NR_073096 chr6 - 158535502 158589312 158589312 158589312 13 158535502,158537216,158540060,158541456,158549139,158564087,158565330,158567813,158569896,158571484,158576346,158579304,158589171, 158536003,158537314,158540202,158541607,158549302,158564216,158565452,158567945,158569986,158571621,158576383,158579396,158589312, 0 SERAC1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 2135 NR_045784 chr1 - 203185206 203198860 203198860 203198860 13 203185206,203186429,203186866,203187062,203188343,203188791,203191329,203192262,203192622,203194175,203194796,203197660,203198739, 203186261,203186500,203186993,203187219,203188457,203188977,203191453,203192387,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 647 NR_045405 chr11 - 8127596 8190590 8190590 8190590 7 8127596,8148205,8158924,8159818,8161513,8174921,8190412, 8132684,8148354,8159018,8159894,8161740,8174970,8190590, 0 RIC3 unk unk -1,-1,-1,-1,-1,-1,-1, 149 NR_045351 chr17 + 79935425 79975282 79975282 79975282 15 79935425,79941429,79943382,79952696,79953867,79954295,79966912,79967361,79968677,79969418,79970106,79974351,79974675,79974816,79975184, 79935624,79941544,79943483,79952754,79953941,79954722,79967067,79967443,79968744,79969481,79970159,79974403,79974745,79974989,79975282, 0 ASPSCR1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 942 NM_199044 chr1 + 46805848 46830824 46806498 46827518 6 46805848,46810472,46812592,46818539,46826375,46827241, 46806591,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 cmpl cmpl 0,0,2,1,0,2, 1060 NR_051956 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333247,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1060 NR_051955 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333250,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1060 NR_051954 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333250,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 825 NR_038288 chr13 - 31504808 31506745 31506745 31506745 3 31504808,31505382,31506412, 31505011,31506073,31506745, 0 TEX26-AS1 unk unk -1,-1,-1, 1368 NM_001282674 chrX + 102631250 102633092 102631330 102632755 2 102631250,102632390, 102631541,102633092, 0 NGFRAP1 cmpl cmpl 0,1, 988 NM_133179 chrX - 52891557 52897119 52891646 52896164 5 52891557,52893803,52895461,52896083,52897036, 52891669,52893929,52895567,52896172,52897119, 0 XAGE3 cmpl cmpl 1,1,0,0,-1, 1149 NM_001251874 chr6 - 73951037 74019938 73951251 74019437 5 73951037,73951777,73952128,74001720,74019274, 73951451,73951960,73952253,74001763,74019938, 0 KHDC1 cmpl cmpl 1,1,2,1,0, 103 NM_001278167 chr20 - 31946644 31989375 31946848 31984870 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954811,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984890,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,0,-1, 1654 NM_080877 chr9 + 140125384 140131006 140126154 140130868 13 140125384,140126115,140126523,140127026,140127235,140127455,140127660,140128084,140128314,140128560,140128867,140129058,140130403, 140125531,140126239,140126613,140127155,140127379,140127567,140127856,140128174,140128393,140128728,140128984,140129183,140131006, 0 SLC34A3 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 103 NM_001278169 chr20 - 31946644 31989375 31946848 31989364 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984658,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,2,0, 1004 NR_047649 chr5 - 54921672 54988881 54988881 54988881 14 54921672,54923718,54929522,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54988417, 54922487,54923808,54929636,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54988881, 0 SLC38A9 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1580 NM_001252023 chr9 - 130493802 130497628 130494421 130495770 3 130493802,130495663,130497398, 130494557,130495839,130497628, 0 TOR2A cmpl cmpl 2,0,-1, 671 NR_104231 chr2 + 11295497 11318998 11318998 11318998 8 11295497,11300591,11300750,11304329,11312050,11312876,11315093,11317862, 11295815,11300674,11300820,11304387,11312171,11312950,11315135,11318998, 0 PQLC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1580 NM_001252021 chr9 - 130493802 130497628 130494312 130495770 4 130493802,130494842,130495663,130497398, 130494557,130494970,130495836,130497628, 0 TOR2A cmpl cmpl 1,2,0,-1, 1580 NM_001252018 chr9 - 130493802 130497628 130494312 130495770 4 130493802,130494842,130495663,130497398, 130494557,130494970,130495839,130497628, 0 TOR2A cmpl cmpl 1,2,0,-1, 1106 NM_001251969 chr5 + 68389775 68400567 68390082 68399872 3 68389775,68398888,68399788, 68390165,68398955,68400567, 0 SLC30A5 cmpl cmpl 0,2,0, 936 NM_001278217 chr17 + 46048321 46059152 46052451 46058868 13 46048321,46048727,46050884,46051296,46051765,46052879,46053234,46054077,46055197,46056194,46057958,46058528,46058802, 46048518,46048773,46051016,46051397,46052703,46053019,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl -1,-1,-1,-1,0,0,2,0,0,1,0,2,0, 630 NM_001243203 chr9 - 6011018 6015640 6014285 6015607 2 6011018,6015471, 6014356,6015640, 0 RANBP6 cmpl cmpl 1,0, 630 NM_001243202 chr9 - 6011018 6015640 6012289 6015607 2 6011018,6015412, 6014356,6015640, 0 RANBP6 cmpl cmpl 0,0, 1341 NM_198043 chr10 + 99205887 99217127 99211432 99216648 10 99205887,99211427,99211846,99212171,99212651,99213286,99214470,99215416,99215730,99216533, 99206110,99211675,99212041,99212260,99212680,99213420,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,1,0,2,0,2, 1264 NM_207662 chr14 + 89060729 89079853 89061070 89078095 7 89060729,89063077,89073586,89075610,89076058,89077177,89078088, 89061455,89063152,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,1,1,2,1,0,2, 1099 NM_001077701 chr1 + 67395925 67454302 67396074 67450583 13 67395925,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67396083,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl 0,0,1,0,0,1,0,1,0,1,0,2,1, 125 NR_109869 chr6 - 55299170 55444012 55444012 55444012 5 55299170,55304231,55406526,55406857,55443745, 55300561,55304357,55406634,55406938,55444012, 0 HMGCLL1 unk unk -1,-1,-1,-1,-1, 1353 NM_001039355 chr14 - 100757452 100772860 100758619 100772569 4 100757452,100759630,100765178,100772535, 100759369,100759714,100765222,100772860, 0 SLC25A29 cmpl cmpl 0,0,1,0, 1265 NR_104293 chr16 + 89160216 89222254 89222254 89222254 11 89160216,89164998,89167069,89169011,89178499,89180746,89187208,89199543,89211621,89212345,89220497, 89160404,89165171,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 2082 NM_001077657 chr3 - 196233749 196242237 196234757 196242080 3 196233749,196236390,196242030, 196235202,196236540,196242237, 0 C3orf43 cmpl cmpl 2,2,0, 82 NM_001077525 chr3 + 9691116 9744078 9691267 9743657 19 9691116,9695304,9703950,9710402,9711115,9712731,9714368,9719000,9719667,9724861,9726268,9726571,9726894,9729504,9730379,9730627,9731647,9739394,9743473, 9691426,9695453,9704059,9710478,9711176,9712854,9714442,9719071,9719742,9724928,9726354,9726648,9726931,9729575,9730438,9730766,9731827,9739550,9744078, 0 MTMR14 cmpl cmpl 0,0,2,0,1,2,2,1,0,0,1,0,2,0,2,1,2,2,2, 822 NM_001077511 chr6 + 31126302 31131992 31127246 31130494 4 31126302,31126919,31129223,31130253, 31126499,31127484,31129782,31131992, 0 TCF19 cmpl cmpl -1,0,1,2, 27 NM_001130002 chr3 + 157261132 157319021 157271046 157318087 5 157261132,157271018,157288965,157289743,157317981, 157261298,157271129,157289095,157289832,157319021, 0 C3orf55 cmpl cmpl -1,0,2,0,2, 27 NM_001130001 chr3 + 157261132 157319021 157271046 157318170 4 157261132,157271018,157288965,157317981, 157261298,157271129,157289095,157319021, 0 C3orf55 cmpl cmpl -1,0,2,0, 837 NM_001077242 chr11 + 33037409 33055128 33037501 33055001 9 33037409,33047204,33049231,33050148,33052923,33053881,33054213,33054434,33054807, 33037574,33047595,33049359,33050338,33053135,33054024,33054339,33054513,33055128, 0 DEPDC7 cmpl cmpl 0,1,2,1,2,1,0,0,1, 1501 NM_001080140 chrX - 120087136 120090454 120088445 120090199 3 120087136,120088414,120089457, 120087276,120088570,120090454, 0 CT47A7 cmpl cmpl -1,1,0, 1743 NM_001080848 chrX - 151876742 151877747 151877052 151877594 2 151876742,151877280, 151877122,151877747, 0 CSAG2 cmpl cmpl 2,0, 1004 NM_001271748 chrX + 55026755 55034306 55029485 55033868 5 55026755,55027978,55029394,55030231,55032950, 55027012,55028062,55029541,55030301,55034306, 0 APEX2 cmpl cmpl -1,-1,0,2,0, 1107 NM_001111101 chr2 - 68511302 68547183 68511559 68546532 3 68511302,68544288,68546353, 68511616,68544439,68547183, 0 CNRIP1 cmpl cmpl 0,2,0, 818 NM_001109938 chr6 + 30614815 30620987 30615008 30620692 6 30614815,30617334,30618770,30619042,30620424,30620578, 30615080,30617736,30618859,30619243,30620494,30620987, 0 C6orf136 cmpl cmpl 0,0,0,2,2,0, 1743 NM_001129826 chrX - 151876742 151877670 151877052 151877594 2 151876742,151877280, 151877122,151877670, 0 CSAG3 cmpl cmpl 2,0, 1744 NM_001129826 chrX + 151927810 151928738 151927886 151928428 2 151927810,151928358, 151928200,151928738, 0 CSAG3 cmpl cmpl 0,2, 14 NM_001080476 chr4 + 42895282 43032675 42895283 43032557 4 42895282,42964908,43022370,43032377, 42895667,42965151,43022436,43032675, 0 GRXCR1 cmpl cmpl 0,0,0,0, 1477 NM_001085481 chr12 + 116997185 117014425 117013747 117014125 2 116997185,117013646, 116997238,117014425, 0 MAP1LC3B2 cmpl cmpl -1,0, 118 NM_001080467 chr18 - 47349155 47721451 47352840 47721163 40 47349155,47361713,47363080,47363886,47365513,47367734,47369610,47373515,47375936,47379818,47383182,47389596,47390510,47398536,47402056,47404132,47405314,47406740,47421310,47428963,47431041,47432788,47438431,47455881,47462621,47463614,47479629,47480682,47488635,47489318,47500719,47506813,47511087,47516808,47518657,47527624,47563219,47566512,47581637,47721136, 47352993,47361794,47363255,47364172,47365664,47367824,47369762,47373659,47376030,47380017,47383260,47389697,47390750,47398602,47402197,47404252,47405460,47406825,47421544,47429203,47431198,47433000,47438543,47455968,47462719,47463767,47479713,47480805,47488776,47489400,47500985,47506923,47511195,47516890,47518801,47527781,47563364,47566684,47581748,47721451, 0 MYO5B cmpl cmpl 0,0,2,1,0,0,1,1,0,2,2,0,0,0,0,0,1,0,0,0,2,0,2,2,0,0,0,0,0,2,0,1,1,0,0,2,1,0,0,0, 918 NM_001257335 chr18 - 43664109 43678319 43664247 43671806 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43675018,43677801, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,0,-1,-1, 111 NR_104316 chr3 + 39851150 40301811 40301811 40301811 17 39851150,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275386,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1488 NM_001080441 chr11 + 118398209 118401740 118398209 118401631 3 118398209,118399317,118401368, 118398327,118399506,118401740, 0 TTC36 cmpl cmpl 0,1,1, 822 NM_001105564 chr6 - 31110215 31125566 31110368 31125377 18 31110215,31110739,31111038,31112463,31112661,31112942,31113224,31113472,31116181,31116394,31117842,31118231,31118501,31118735,31122272,31124507,31124799,31125161, 31110493,31110911,31111190,31112565,31112850,31113079,31113270,31113585,31116288,31116505,31117992,31118342,31118637,31118899,31122576,31124721,31124866,31125566, 0 CCHCR1 cmpl cmpl 1,0,1,1,1,2,1,2,0,0,0,0,2,0,2,1,0,0, 1681 NM_001134470 chr3 + 143692166 143711210 143692374 143708683 3 143692166,143704384,143708351, 143692404,143704688,143711210, 0 C3orf58 cmpl cmpl 0,0,1, 213 NM_001040433 chr5 + 147715121 147719412 147715176 147719275 4 147715121,147715984,147718040,147719229, 147715231,147716016,147718168,147719412, 0 SPINK9 cmpl cmpl 0,1,0,2, 159 NM_001042574 chr15 + 91073117 91188577 91073303 91185372 15 91073117,91083270,91136867,91145555,91147616,91150609,91157684,91161114,91162972,91169007,91172465,91181677,91181966,91184328,91185166, 91073435,91083369,91136987,91145617,91147679,91150710,91157720,91161200,91163022,91169225,91172764,91181878,91182047,91184431,91188577, 0 CRTC3 cmpl cmpl 0,0,0,0,2,2,1,1,0,2,1,0,0,0,1, 2042 NM_001164467 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L3 cmpl cmpl 0, 1099 NM_001077702 chr1 + 67390577 67454302 67394586 67452156 16 67390577,67391824,67394572,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1,1, 109 NM_001039141 chr22 + 38092994 38172563 38097372 38168769 24 38092994,38093594,38097312,38106433,38109216,38111769,38119191,38129304,38130405,38134648,38136901,38147778,38150883,38151107,38151556,38153619,38155160,38161676,38164080,38165034,38165268,38167656,38168607,38169789, 38093096,38093703,38097486,38106573,38109418,38111941,38122510,38129419,38131449,38134726,38137039,38147835,38150991,38151197,38151666,38154145,38155271,38161824,38164183,38165194,38165382,38167743,38168771,38172563, 0 TRIOBP cmpl cmpl -1,-1,0,0,2,0,1,2,0,0,0,0,0,0,0,2,0,0,1,2,0,0,0,-1, 952 NM_001098416 chr12 - 48176506 48213763 48177623 48213568 25 48176506,48177861,48179169,48179534,48180367,48181494,48181827,48183043,48183305,48183595,48185041,48185368,48185653,48187151,48188542,48188966,48189369,48189989,48190799,48191166,48191890,48192344,48192567,48196006,48213549, 48177669,48178000,48179254,48179668,48180486,48181592,48181947,48183131,48183361,48183703,48185091,48185489,48185787,48187371,48188716,48189163,48189550,48190081,48190925,48191282,48192002,48192435,48192755,48196057,48213763, 0 HDAC7 cmpl cmpl 2,1,0,1,2,0,0,2,0,0,1,0,1,0,0,1,0,1,1,2,1,0,1,1,0, 1553 NM_001007534 chr3 + 126911973 126917027 126915528 126916257 2 126911973,126915433, 126912118,126917027, 0 C3orf56 cmpl cmpl -1,0, 949 NM_001127242 chr19 - 47724078 47736023 47724957 47735859 2 47724078,47735771, 47725175,47736023, 0 BBC3 cmpl cmpl 1,0, 27 NR_024016 chr3 + 157261132 157287701 157287701 157287701 3 157261132,157271018,157287095, 157261298,157271129,157287701, 0 C3orf55 unk unk -1,-1,-1, 892 NR_024015 chr6 + 40346162 40347631 40347631 40347631 2 40346162,40347020, 40346636,40347631, 0 TDRG1 unk unk -1,-1, 979 NR_024012 chr3 + 51705190 51738339 51738339 51738339 4 51705190,51718428,51733421,51737739, 51705304,51718650,51733590,51738339, 0 TEX264 unk unk -1,-1,-1,-1, 152 NM_001077207 chr4 - 83739813 83812412 83740226 83803089 27 83739813,83742189,83745707,83748521,83750152,83763292,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 754 NR_046639 chrX - 22180848 22191100 22191100 22191100 5 22180848,22187910,22189275,22189626,22190062, 22181488,22187972,22189307,22189761,22191100, 0 PHEX-AS1 unk unk -1,-1,-1,-1,-1, 125 NM_001042406 chr6 - 55299170 55444012 55300459 55443853 9 55299170,55304231,55360216,55364033,55378845,55381305,55406526,55406857,55443745, 55300561,55304357,55360405,55364097,55378994,55381401,55406634,55406938,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,0,0,0, 724 NM_001098818 chr19 - 18318770 18337285 18321738 18337225 15 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331683,18331914,18332070,18332941,18337079, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331733,18331988,18332107,18333133,18337285, 0 PDE4C cmpl cmpl 0,0,0,1,0,0,0,1,0,1,2,0,2,2,0, 120 NM_001037806 chr12 - 50184928 50222208 50185621 50197827 13 50184928,50186228,50186460,50187134,50187516,50188547,50192132,50195630,50196740,50196879,50197704,50199762,50222104, 50185834,50186371,50186769,50187216,50187679,50191177,50192246,50195750,50196779,50196948,50197863,50199824,50222208, 0 NCKAP5L cmpl cmpl 0,1,1,0,2,0,0,0,0,0,0,-1,-1, 103 NM_001040446 chr5 - 32227110 32313114 32229883 32312944 16 32227110,32233878,32235067,32239106,32242162,32243626,32248107,32248877,32255798,32263218,32268806,32270922,32271938,32274085,32276787,32312863, 32230453,32234040,32235235,32239279,32242233,32243705,32248232,32248984,32255874,32263348,32268900,32271053,32272011,32274228,32276848,32313114, 0 MTMR12 cmpl cmpl 0,0,0,1,2,1,2,0,2,1,0,1,0,1,0,0, 883 NM_001042600 chr19 - 39078279 39108675 39078387 39108535 31 39078279,39083921,39086124,39086279,39086578,39086951,39087673,39087965,39088125,39090564,39090716,39092080,39096048,39096207,39096812,39098503,39098629,39098751,39100235,39100548,39101690,39101882,39103250,39104519,39104682,39104884,39105029,39106834,39107993,39108207,39108436, 39078457,39083977,39086195,39086369,39086641,39087126,39087777,39088024,39088234,39090625,39090793,39092165,39096131,39096370,39096855,39098551,39098673,39098810,39100314,39100665,39101772,39101945,39103382,39104592,39104725,39104932,39105085,39106899,39108084,39108265,39108675, 0 MAP4K1 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,1,0,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 834 NM_001099687 chr16 - 32684848 32687448 32685872 32687418 2 32684848,32687056, 32685885,32687448, 0 TP53TG3B cmpl cmpl 2,0, 898 NM_001042545 chr19 + 41107276 41135725 41107293 41135455 30 41107276,41110940,41111310,41111634,41112138,41112309,41113270,41114125,41114389,41115435,41115651,41116437,41117057,41117764,41117978,41118970,41119309,41119821,41120220,41122794,41123005,41125251,41128305,41128854,41129508,41129840,41131761,41132879,41133609,41135300, 41107543,41111132,41111558,41111737,41112213,41112432,41113435,41114275,41114509,41115567,41115777,41116563,41117300,41117890,41118098,41119102,41119435,41119944,41120352,41122926,41123130,41125398,41128572,41128926,41129637,41129987,41131914,41133260,41133762,41135725, 0 LTBP4 cmpl cmpl 0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 898 NM_001042544 chr19 + 41103140 41135725 41103140 41135455 33 41103140,41105102,41105326,41105973,41110940,41111310,41111634,41112138,41112309,41113270,41114125,41114389,41115435,41115651,41116437,41117057,41117764,41117978,41118970,41119309,41119821,41120220,41122794,41123005,41125251,41128305,41128854,41129508,41129840,41131761,41132879,41133609,41135300, 41103286,41105161,41105462,41106083,41111132,41111558,41111737,41112213,41112432,41113435,41114275,41114509,41115567,41115777,41116563,41117300,41117890,41118098,41119102,41119435,41119944,41120352,41122926,41123130,41125398,41128572,41128926,41129637,41129987,41131914,41133260,41133762,41135725, 0 LTBP4 cmpl cmpl 0,2,1,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 826 NM_001098534 chr6 - 31606804 31620170 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620023, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620170, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 633 NM_001118888 chr8 - 6357174 6420784 6360621 6420455 8 6357174,6366452,6371198,6372197,6377384,6378698,6385075,6420167, 6360782,6366583,6371365,6372299,6377515,6378931,6385197,6420784, 0 ANGPT2 cmpl cmpl 1,2,0,0,1,2,0,0, 1762 NM_001018055 chrX + 154299694 154351349 154299802 154348425 11 154299694,154300601,154301651,154305444,154306890,154317537,154319058,154344331,154344985,154348273,154349497, 154299925,154300618,154301706,154305564,154306978,154317626,154319114,154344463,154345029,154348443,154351349, 0 BRCC3 cmpl cmpl 0,0,2,0,0,1,0,2,2,1,-1, 611 NM_001256896 chr4 + 3486270 3496209 3494643 3495228 4 3486270,3487265,3491403,3494485, 3486570,3487385,3491523,3496209, 0 DOK7 cmpl cmpl -1,-1,-1,0, 957 NM_001042498 chrX - 48760888 48769235 48762003 48768913 4 48760888,48763668,48767090,48768822, 48762759,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 18 NM_001029854 chr5 + 76506705 76724080 76506750 76722379 21 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76646889,76649170,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76646978,76649231,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 1547 NM_001039661 chr11 + 126152981 126164828 126160789 126163582 6 126152981,126159559,126160356,126160697,126162371,126163562, 126153048,126159712,126160480,126160856,126162950,126164828, 0 TIRAP cmpl cmpl -1,-1,-1,0,1,1, 632 NM_001037329 chr11 + 6260321 6265707 6260436 6265639 6 6260321,6260613,6260913,6261295,6262660,6265178, 6260498,6260715,6261020,6261941,6263010,6265707, 0 CNGA4 cmpl cmpl 0,2,2,1,2,1, 949 NM_001037328 chr20 - 47729875 47804904 47731414 47770570 14 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47790731,47795658,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741142,47752468,47768284,47770608,47790806,47795781,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1,-1,-1, 597 NM_001110781 chr1 - 1592938 1624243 1597220 1608138 9 1592938,1599765,1601102,1601536,1602947,1606901,1607502,1607816,1623887, 1597458,1599911,1601175,1601590,1603068,1607029,1607638,1608285,1624243, 0 SLC35E2B cmpl cmpl 2,0,2,2,1,2,1,0,-1, 684 NM_001100631 chr1 + 13035542 13038381 13035542 13038381 3 13035542,13036221,13037807, 13035835,13036800,13038381, 0 PRAMEF22 cmpl cmpl 0,2,2, 980 NM_001014763 chr19 - 51848408 51858096 51848464 51857892 5 51848408,51850153,51853582,51856385,51857403, 51848635,51850312,51853645,51856544,51858096, 0 ETFB cmpl cmpl 0,0,0,0,0, 775 NM_001032365 chr22 + 25003625 25024972 25007048 25024806 16 25003625,25003920,25005931,25006216,25007044,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 25003699,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 775 NM_001032364 chr22 + 24999123 25024972 25007048 25024806 16 24999123,25003920,25005931,25006324,25007044,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999288,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 11 NM_001033551 chr17 - 17746821 17875784 17750948 17875627 14 17746821,17752136,17754206,17764789,17766044,17769609,17770189,17772653,17782940,17786018,17787947,17801909,17810760,17875575, 17751097,17752173,17754266,17764865,17766162,17769733,17770238,17772787,17783057,17786177,17788082,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,2,1,0,2,0,0,0,0,2,1,0, 957 NM_001032289 chrX - 48760888 48769235 48761866 48768913 4 48760888,48763668,48767090,48768822, 48762169,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 93 NM_001127501 chr1 + 21835857 21904905 21887222 21904141 11 21835857,21887118,21887589,21889602,21890533,21894596,21896797,21900157,21902225,21903014,21903875, 21836010,21887238,21887705,21889777,21890709,21894740,21896867,21900292,21902417,21903134,21904905, 0 ALPL cmpl cmpl -1,0,1,0,1,0,0,1,1,1,1, 1194 NM_001040202 chr4 - 79839093 79860582 79841692 79860378 6 79839093,79845010,79847674,79851323,79856274,79860193, 79841835,79845101,79847872,79851479,79856437,79860582, 0 PAQR3 cmpl cmpl 1,0,0,0,2,0, 613 NM_001039140 chr20 - 3734145 3748452 3734704 3740747 6 3734145,3735043,3736115,3739182,3740653,3748309, 3734805,3735166,3736254,3739325,3740833,3748452, 0 C20orf27 cmpl cmpl 1,1,0,1,0,-1, 599 NM_001039029 chr12 + 1929432 1945918 1937314 1943887 5 1929432,1936575,1937241,1940100,1943432, 1929980,1936760,1937381,1940691,1945918, 0 LRTM2 cmpl cmpl -1,-1,0,1,1, 836 NM_001040436 chr12 - 32899477 32908887 32900137 32908808 5 32899477,32902870,32903652,32906851,32908029, 32900297,32903041,32903808,32907019,32908887, 0 YARS2 cmpl cmpl 2,2,2,2,0, 1379 NM_001100119 chr14 - 104163953 104181823 104165134 104177424 10 104163953,104165469,104165700,104169509,104173339,104174858,104177369,104177802,104179211,104181760, 104165354,104165516,104165913,104169664,104173552,104174996,104177582,104177904,104179305,104181823, 0 XRCC3 cmpl cmpl 2,0,0,1,1,1,0,-1,-1,-1, 87 NM_001018109 chrX - 15402923 15511711 15403125 15509380 10 15402923,15408306,15415570,15425627,15444028,15473970,15477779,15497851,15509284,15511312, 15403238,15408373,15415653,15425672,15444113,15474177,15477863,15497944,15509432,15511711, 0 PIR cmpl cmpl 1,0,1,1,0,0,0,0,0,-1, 18 NM_001029853 chr5 + 76506705 76724080 76506750 76722379 21 76506705,76621363,76624822,76627226,76633051,76640677,76645243,76646889,76649170,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76621554,76624882,76627284,76633140,76640756,76645384,76646978,76649231,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,2,2,0,2,0,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 1613 NM_001017417 chrX + 134847184 134856988 134852701 134856795 5 134847184,134852695,134854789,134855419,134856737, 134847423,134852870,134855038,134855513,134856988, 0 CT45A1 cmpl cmpl -1,0,1,1,2, 16 NM_001017416 chr1 + 62901974 62917475 62905538 62916652 9 62901974,62905469,62907158,62907865,62908829,62910408,62913011,62914135,62915916, 62902138,62905708,62907279,62907970,62908990,62911100,62913182,62914337,62917475, 0 USP1 cmpl cmpl -1,0,2,0,0,2,1,1,2, 586 NM_001037334 chr18 + 158482 213739 158698 211284 15 158482,163307,166786,180235,192841,196636,197615,198046,199201,202879,203097,204563,209970,210385,211132, 158714,163453,166819,180339,192900,196767,197696,198132,199316,202945,203190,204692,210031,210493,213739, 0 USP14 cmpl cmpl 0,1,0,0,2,1,0,0,2,0,0,0,0,1,1, 909 NM_001110503 chr15 - 42549094 42565782 42551146 42565596 7 42549094,42553155,42553393,42556287,42560144,42564260,42565452, 42551188,42553200,42553447,42556401,42560230,42564321,42565782, 0 TMEM87A cmpl cmpl 0,0,0,0,1,0,0, 724 NM_001098819 chr19 - 18318770 18335303 18321738 18333057 15 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331683,18331914,18332070,18332941,18335044, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331733,18331988,18332107,18333133,18335303, 0 PDE4C cmpl cmpl 0,0,0,1,0,0,0,1,0,1,2,0,2,0,-1, 853 NM_001005752 chr1 + 35247910 35251967 35250363 35251176 2 35247910,35250338, 35248043,35251967, 0 GJB3 cmpl cmpl -1,0, 16 NM_001017415 chr1 + 62901974 62917475 62905538 62916652 9 62901974,62905469,62907158,62907865,62908829,62910408,62913011,62914135,62915916, 62902233,62905708,62907279,62907970,62908990,62911100,62913182,62914337,62917475, 0 USP1 cmpl cmpl -1,0,2,0,0,2,1,1,2, 1458 NM_001017398 chr5 - 114513235 114516243 114513446 114515734 2 114513235,114515671, 114513569,114516243, 0 TRIM36 cmpl cmpl 0,0, 1458 NM_001017397 chr5 - 114506798 114516243 114506799 114515734 2 114506798,114515671, 114506919,114516243, 0 TRIM36 cmpl cmpl 0,0, 118 NM_001098503 chr11 + 48002109 48154266 48002464 48153067 9 48002109,48131609,48134298,48142554,48145164,48146519,48149331,48152010,48153062, 48002560,48131628,48134535,48142818,48145422,48146738,48149595,48152268,48154266, 0 PTPRJ cmpl cmpl 0,0,1,1,1,1,1,1,1, 144 NM_001024674 chr14 + 74551655 74667117 74551665 74665680 6 74551655,74557934,74562650,74564496,74567857,74665624, 74551696,74558009,74562688,74564563,74567941,74667117, 0 LIN52 cmpl cmpl 0,1,1,0,1,1, 633 NM_001118887 chr8 - 6357174 6420784 6360621 6420455 9 6357174,6366452,6371198,6372197,6377384,6378698,6385075,6389852,6420167, 6360782,6366583,6371365,6372299,6377512,6378931,6385197,6390008,6420784, 0 ANGPT2 cmpl cmpl 1,2,0,0,1,2,0,0,0, 664 NM_001031734 chr19 - 10420890 10426691 10421161 10426672 5 10420890,10421528,10426061,10426380,10426527, 10421318,10421616,10426168,10426435,10426691, 0 FDX1L cmpl cmpl 2,1,2,1,0, 960 NM_001080528 chr3 - 49215068 49229291 49215068 49229204 4 49215068,49215914,49227457,49229177, 49215485,49215971,49227571,49229291, 0 C3orf84 cmpl cmpl 0,0,0,0, 811 NM_001098478 chr6 + 29691116 29694303 29691240 29694184 6 29691116,29691434,29691949,29693223,29693787,29694179, 29691304,29691704,29692225,29693340,29693820,29694303, 0 HLA-F cmpl cmpl 0,1,1,1,1,1, 23 NM_001029858 chr6 + 118228688 118638839 118228889 118635415 8 118228688,118475607,118556671,118588157,118596621,118598656,118606346,118635190, 118229062,118475783,118556799,118588317,118596778,118598709,118606501,118638839, 0 SLC35F1 cmpl cmpl 0,2,1,0,1,2,1,0, 18 NM_001029852 chr5 + 76506705 76724080 76506750 76722379 21 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76645243,76646889,76649170,76696072,76700544,76703205,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76645384,76646978,76649231,76696115,76700622,76703282,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,0,2,0,1,1,0,1,2,0,2,0,0,1, 1351 NM_001282449 chr7 - 100487614 100493592 100487834 100491853 5 100487614,100488789,100489954,100490785,100493422, 100487956,100488959,100490175,100491873,100493592, 0 ACHE cmpl cmpl 1,2,0,0,-1, 921 NM_001007561 chr19 - 44088518 44100287 44096177 44099490 3 44088518,44098960,44100133, 44097519,44099492,44100287, 0 IRGQ cmpl cmpl 2,0,-1, 965 NM_001007540 chr3 - 49828166 49837254 49828264 49837245 19 49828166,49828873,49829146,49829335,49829900,49830286,49830593,49831015,49831235,49832040,49832379,49832628,49833060,49833375,49834354,49836258,49836426,49836679,49837196, 49828320,49828901,49829234,49829392,49830043,49830507,49830744,49831155,49831439,49832134,49832533,49832812,49833197,49833479,49834465,49836350,49836589,49836870,49837254, 0 CDHR4 cmpl cmpl 1,0,2,2,0,1,0,1,1,0,2,1,2,0,0,1,0,1,0, 1193 NM_001007533 chr17 - 79791367 79792926 79791604 79792829 3 79791367,79792378,79792639, 79791728,79792529,79792926, 0 PPP1R27 cmpl cmpl 2,1,0, 1171 NM_001007273 chr10 - 76854189 76868970 76854433 76863834 6 76854189,76855332,76857469,76861624,76863651,76868766, 76854636,76855553,76857643,76861719,76863855,76868970, 0 DUSP13 cmpl cmpl 1,2,2,0,0,-1, 1171 NM_001007272 chr10 - 76854189 76868970 76854433 76868915 4 76854189,76855332,76857469,76868766, 76854636,76855553,76857643,76868970, 0 DUSP13 cmpl cmpl 1,2,2,0, 1171 NM_001007271 chr10 - 76854189 76868970 76865426 76868915 8 76854189,76855332,76857469,76861624,76863651,76865418,76867749,76868766, 76854636,76855553,76857643,76861719,76863855,76865626,76867967,76868970, 0 DUSP13 cmpl cmpl -1,-1,-1,-1,-1,1,2,0, 110 NM_001009183 chr14 + 39583487 39606177 39583509 39605652 9 39583487,39584032,39587202,39587743,39591633,39594195,39597483,39601161,39605643, 39583679,39584117,39587292,39587803,39591747,39594240,39597552,39601272,39606177, 0 GEMIN2 cmpl cmpl 0,2,0,0,0,0,0,0,0, 1767 NM_001252406 chr1 + 154975105 154991001 154983395 154989161 5 154975105,154982733,154983391,154987130,154988695, 154975419,154982873,154983491,154988290,154991001, 0 ZBTB7B cmpl cmpl -1,-1,0,0,2, 1613 NR_038216 chr6 + 134758853 134825158 134825158 134825158 3 134758853,134785878,134823925, 134759019,134786196,134825158, 0 LINC01010 unk unk -1,-1,-1, 682 NR_038192 chr19 - 12786530 12792701 12792701 12792701 8 12786530,12786830,12788104,12790270,12790436,12790614,12790974,12792373, 12786747,12786956,12788210,12790357,12790533,12790736,12791139,12792701, 0 DHPS unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1364 NM_182962 chr11 + 102188180 102210135 102195240 102207833 10 102188180,102192567,102195191,102196196,102198782,102199627,102201729,102206696,102207490,102207639, 102188302,102192631,102196093,102196296,102198861,102199676,102201972,102206951,102207532,102210135, 0 BIRC3 cmpl cmpl -1,-1,0,1,2,0,1,1,1,1, 79 NM_001257320 chr11 - 6416353 6426893 6416763 6424996 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6426616, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426893, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,0,-1, 144 NM_182969 chr11 - 74551954 74660232 74554244 74651923 19 74551954,74554898,74555212,74556117,74559159,74562132,74563033,74570202,74574025,74617283,74618189,74632258,74638435,74641344,74644869,74647928,74651829,74656062,74659972, 74554498,74555004,74555328,74556316,74559507,74562248,74563127,74570328,74574066,74617501,74618318,74632392,74638533,74641417,74644917,74648113,74651927,74656130,74660232, 0 XRRA1 cmpl cmpl 1,0,1,0,0,1,0,0,1,2,2,0,1,0,0,1,0,-1,-1, 22 NM_001256074 chr4 - 109745037 110223523 109745245 110223175 32 109745037,109748290,109753535,109755510,109759253,109762850,109765674,109766344,109767294,109769914,109773391,109780811,109782082,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109858963,109861694,109863364,109895522,109895688,109931513,109971282,110221738,110222878, 109745383,109748344,109753589,109755546,109759334,109762877,109765725,109766407,109767375,109769959,109773436,109780889,109782127,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109858999,109861802,109863424,109895549,109895715,109931531,109971335,110221808,110223523, 0 COL25A1 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0, 1063 NM_001252079 chr12 + 62654120 62730474 62654195 62728971 7 62654120,62687959,62696570,62708570,62715244,62719652,62728946, 62654284,62688087,62696701,62708697,62715390,62719714,62730474, 0 USP15 cmpl cmpl 0,2,1,0,1,0,2, 27 NM_001243729 chr3 + 157261132 157296680 157271046 157296073 4 157261132,157271018,157288965,157296067, 157261298,157271129,157289095,157296680, 0 C3orf55 cmpl cmpl -1,0,2,0, 1698 NM_001244892 chrX + 145891301 145891929 145891309 145891826 2 145891301,145891631, 145891441,145891929, 0 CXorf51B cmpl cmpl 0,0, 833 NM_001243965 chr6 - 32546546 32557613 32546867 32557519 7 32546546,32548023,32548522,32549333,32551885,32551948,32557419, 32546881,32548047,32548633,32549615,32551947,32552129,32557613, 0 HLA-DRB1 cmpl cmpl 1,1,1,1,2,0,0, 182 NM_001243963 chrX - 114345182 114468635 114347778 114468604 20 114345182,114357089,114357322,114357642,114358507,114364717,114384389,114384584,114391164,114398238,114399967,114400120,114400403,114400817,114404861,114413989,114414208,114418973,114422788,114468255, 114347898,114357167,114357460,114357755,114358565,114364762,114384506,114384633,114391230,114398346,114400026,114400218,114400515,114400905,114404995,114414126,114414314,114419100,114422933,114468635, 0 LRCH2 cmpl cmpl 0,0,0,1,0,0,0,2,2,2,0,1,0,2,0,1,0,2,1,0, 1075 NR_073391 chr7 + 64254765 64294059 64294059 64294059 5 64254765,64275295,64275953,64280597,64291828, 64254949,64275422,64276031,64280701,64294059, 0 ZNF138 unk unk -1,-1,-1,-1,-1, 1075 NR_073389 chr7 + 64254765 64314178 64314178 64314178 3 64254765,64275295,64312176, 64254949,64275422,64314178, 0 ZNF138 unk unk -1,-1,-1, 19 NM_173538 chr8 + 87878675 88394955 87878723 88394855 11 87878675,87899769,87917308,87951823,88218220,88249146,88296905,88298766,88363912,88365863,88394847, 87878811,87899839,87917422,87951982,88218366,88249340,88297043,88298899,88364022,88366014,88394955, 0 CNBD1 cmpl cmpl 0,1,2,2,2,1,0,0,1,0,1, 1336 NM_183376 chr15 + 98503932 98517068 98504091 98514417 8 98503932,98508829,98509124,98511243,98512352,98513112,98513818,98514360, 98504398,98508896,98509272,98511346,98512609,98513275,98513973,98517068, 0 ARRDC4 cmpl cmpl 0,1,2,0,1,0,1,0, 1034 NR_049780 chr19 - 58878989 58892389 58892389 58892389 3 58878989,58881083,58892307, 58880728,58881295,58892389, 0 ZNF837 unk unk -1,-1,-1, 688 NM_001012277 chr1 - 13607699 13611533 13607766 13610487 4 13607699,13609242,13610200,13611492, 13608328,13609818,13610512,13611533, 0 PRAMEF7 cmpl cmpl 2,2,0,-1, 965 NM_001282163 chrX + 49834155 49863892 49834386 49856876 12 49834155,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49834399,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl 0,1,0,1,0,0,0,0,0,1,1,2, 1579 NM_139055 chr11 + 130318868 130346539 130318868 130343716 8 130318868,130331383,130331981,130332391,130339156,130340814,130341102,130342941, 130319825,130331516,130332149,130332675,130339334,130340996,130341278,130346539, 0 ADAMTS15 cmpl cmpl 0,0,1,1,0,1,0,2, 152 NM_001077208 chr4 - 83739813 83812412 83740226 83803089 27 83739813,83742189,83745707,83748521,83750152,83763337,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 1145 NM_001281734 chr14 - 73436152 73493920 73437589 73491216 12 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73459850,73464518,73490733,73493633, 73437822,73440901,73441667,73442429,73444710,73444942,73445677,73448603,73460065,73465023,73491650,73493920, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,1,0,0,-1, 772 NM_203402 chr14 + 24600674 24602058 24600772 24602032 2 24600674,24601419, 24601038,24602058, 0 FITM1 cmpl cmpl 0,2, 895 NM_001256016 chr17 - 40724327 40729849 40724985 40726216 9 40724327,40725124,40725328,40725495,40726116,40726333,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40726352,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,-1,-1,-1,-1, 176 NM_001256010 chr7 - 108110865 108166762 108112844 108155635 10 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108155891,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1, 176 NM_001256009 chr7 - 108110865 108166762 108112844 108155935 10 108110865,108119627,108121156,108131851,108137027,108137926,108142934,108154587,108154879,108166472, 108113119,108119823,108121163,108131911,108137199,108138021,108143086,108154737,108156018,108166762, 0 PNPLA8 cmpl cmpl 1,0,2,2,1,2,0,0,0,-1, 895 NM_001256015 chr17 - 40724327 40729849 40724985 40726216 8 40724327,40725124,40725328,40725495,40726116,40729097,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,-1,-1,-1, 895 NM_001256014 chr17 - 40724327 40729734 40724985 40729266 7 40724327,40725124,40725328,40725495,40726116,40729230,40729478, 40725042,40725184,40725382,40725641,40726228,40729320,40729734, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,0,-1, 1583 NM_001256335 chr9 - 130882971 130890467 130883423 130886093 8 130882971,130884640,130885212,130885980,130886770,130887522,130887654,130890333, 130883552,130884758,130885413,130886126,130886829,130887562,130887720,130890467, 0 PTGES2 cmpl cmpl 0,2,2,0,-1,-1,-1,-1, 176 NM_001256011 chr7 - 108110865 108168605 108112844 108155635 11 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108161919,108168500, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108155891,108161965,108168605, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1,-1, 162 NM_001261409 chr1 - 94027342 94146926 94027797 94140486 12 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94107859,94140169,94146662, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94107899,94140497,94146926, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,2,0,-1, 1776 NM_024897 chr1 - 156213111 156217908 156213651 156215639 7 156213111,156214480,156214932,156215325,156215572,156216471,156217705, 156214194,156214702,156215029,156215452,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,2,1,0,-1,-1, 865 NM_001282147 chr13 - 36756128 36788752 36757297 36788663 7 36756128,36764082,36765931,36767757,36767942,36776015,36788615, 36757334,36764193,36766031,36767862,36768004,36776230,36788752, 0 SOHLH2 cmpl cmpl 2,2,1,1,2,0,0, 183 NM_152829 chr7 + 115863004 115898837 115874587 115897536 7 115863004,115874587,115889073,115890214,115891813,115892371,115897347, 115863080,115874673,115889326,115890550,115892029,115892530,115898837, 0 TES cmpl cmpl -1,0,2,0,0,0,0, 84 NM_001281435 chr17 + 11924134 12047148 11924203 12044577 12 11924134,11935582,11958205,11984672,11998891,12011106,12013691,12016549,12028610,12032455,12043155,12044463, 11924318,11935615,11958308,11984847,11999011,12011226,12013743,12016677,12028688,12032604,12043201,12047148, 0 MAP2K4 cmpl cmpl 0,1,1,2,0,0,0,1,0,0,2,0, 637 NM_001256254 chr19 + 6887559 6940464 6887619 6940040 18 6887559,6890491,6896408,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 637 NM_001256253 chr19 + 6887559 6940464 6887619 6940040 20 6887559,6890491,6896408,6897159,6897438,6901885,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897315,6897558,6902032,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,2,0,2,0,0, 637 NM_001256252 chr19 + 6887559 6940464 6887619 6940040 20 6887559,6890491,6896408,6897438,6901885,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897558,6902032,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928321,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 935 NM_202001 chr19 - 45916691 45926820 45916805 45926632 8 45916691,45917220,45918118,45920078,45922355,45923581,45924435,45926527, 45917003,45917292,45918218,45920155,45922455,45923685,45924651,45926820, 0 ERCC1 cmpl cmpl 0,0,2,0,2,0,0,0, 981 NM_177537 chrX + 51927918 51935364 51929018 51934961 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934969,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 946 NM_001256196 chrX + 47420498 47431320 47422366 47430856 16 47420498,47422307,47422624,47424195,47424383,47424641,47426037,47426282,47426384,47426628,47428116,47428385,47428937,47429291,47430276,47430721, 47420650,47422462,47422728,47424298,47424538,47424749,47426179,47426310,47426530,47426831,47428293,47428432,47429056,47429423,47430411,47431320, 0 ARAF cmpl cmpl -1,0,0,2,0,2,2,0,1,0,2,2,1,0,0,0, 112 NM_004700 chr1 + 41249683 41306124 41249765 41304195 14 41249683,41282936,41283835,41284176,41285018,41285546,41285836,41287985,41289768,41296755,41298685,41300638,41303336,41303982, 41250079,41283027,41283962,41284352,41285144,41285657,41285932,41288074,41289930,41296976,41298785,41300770,41303466,41306124, 0 KCNQ4 cmpl cmpl 0,2,0,1,0,0,0,0,2,2,1,2,2,0, 637 NM_001256255 chr19 + 6887559 6940464 6887619 6940040 18 6887559,6890491,6896408,6897159,6897438,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897315,6897462,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 730 NR_024157 chr22 - 19033674 19035888 19035888 19035888 1 19033674, 19035888, 0 DGCR11 unk unk -1, 762 NM_001282745 chr10 + 23216952 23327452 23220925 23326408 19 23216952,23220924,23235072,23244735,23247998,23248327,23250812,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297764,23319524,23321789,23326198, 23217035,23220973,23235190,23244861,23248067,23248503,23251007,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23319725,23321952,23327452, 0 ARMC3 cmpl cmpl -1,0,0,1,1,1,0,0,1,1,2,0,2,0,2,2,2,2,0, 932 NR_102268 chrX + 45590576 45591246 45591246 45591246 1 45590576, 45591246, 0 LOC392452 unk unk -1, 1492 NM_001164279 chr11 - 118895060 118901616 118895619 118899065 11 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899444,118900101,118901558, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118899544,118900274,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,0,-1,-1,-1, 897 NM_003734 chr17 + 41003200 41010147 41003360 41008567 4 41003200,41006464,41007460,41008291, 41004960,41006750,41007590,41010147, 0 AOC3 cmpl cmpl 0,1,2,0, 2335 NR_073545 chr1 + 229406808 229441640 229441640 229441640 8 229406808,229422232,229424475,229431594,229433266,229434723,229438608,229439552, 229407117,229422313,229424590,229431657,229433383,229434819,229438736,229441640, 0 RAB4A unk unk -1,-1,-1,-1,-1,-1,-1,-1, 681 NR_073537 chr18 - 12661954 12702776 12702776 12702776 13 12661954,12673386,12674534,12678107,12680660,12686260,12691357,12695252,12697221,12698977,12699828,12700956,12702484, 12662168,12673502,12674752,12678441,12680827,12686449,12691486,12695350,12697407,12699202,12699899,12701112,12702776, 0 CEP76 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 175 NR_073003 chr7 + 107204401 107218968 107218968 107218968 7 107204401,107205032,107207494,107211589,107215632,107216810,107217757, 107204654,107205121,107207631,107211711,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1, 175 NR_073002 chr7 + 107204401 107218968 107218968 107218968 8 107204401,107205032,107207494,107211589,107214148,107215632,107216810,107217757, 107204692,107205121,107207631,107211711,107214328,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1,-1, 190 NR_073557 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 132 NM_001252078 chr12 + 62654120 62803501 62654195 62798155 22 62654120,62687959,62696570,62708570,62715244,62719652,62743001,62749111,62775270,62777620,62777858,62783210,62783384,62783576,62784643,62784936,62785595,62786051,62786832,62790074,62794966,62797972, 62654284,62688087,62696701,62708697,62715390,62719714,62743088,62749256,62775444,62777779,62778083,62783294,62783479,62783768,62784759,62785209,62785666,62786167,62786982,62790178,62795055,62803501, 0 USP15 cmpl cmpl 0,2,1,0,1,0,2,2,0,0,0,0,0,2,2,1,1,0,2,2,1,0, 611 NM_173660 chr4 + 3465032 3496209 3465102 3495228 7 3465032,3465232,3475132,3478068,3487265,3491403,3494485, 3465156,3465278,3475363,3478269,3487385,3491523,3496209, 0 DOK7 cmpl cmpl 0,0,1,1,1,1,1, 1727 NM_207360 chr6 - 149768765 149806148 149771818 149795679 6 149768765,149773751,149777801,149782966,149795374,149805948, 149772615,149773858,149778036,149783106,149795749,149806148, 0 ZC3H12D cmpl cmpl 1,2,1,2,0,-1, 811 NM_206812 chr6 + 29624757 29640149 29624986 29638962 7 29624757,29627095,29633928,29635419,29635680,29638477,29638948, 29625074,29627443,29634042,29635440,29635701,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 83 NM_207386 chr17 + 11144739 11467380 11144739 11461621 6 11144739,11166682,11282730,11455212,11459056,11461070, 11145377,11166843,11282826,11455269,11459209,11467380, 0 SHISA6 cmpl cmpl 0,2,1,1,1,1, 887 NR_073109 chr13 + 39612447 39624244 39624244 39624244 7 39612447,39613272,39613700,39616241,39618226,39621176,39621810, 39612602,39613425,39613848,39616442,39618318,39621289,39624244, 0 NHLRC3 unk unk -1,-1,-1,-1,-1,-1,-1, 1183 NR_103853 chr13 + 78393071 78482563 78482563 78482563 7 78393071,78402377,78403162,78404687,78407499,78407867,78481826, 78393145,78402550,78403237,78404738,78407562,78409125,78482563, 0 EDNRB-AS1 unk unk -1,-1,-1,-1,-1,-1,-1, 1776 NR_073610 chr1 - 156213111 156217908 156217908 156217908 7 156213111,156214551,156214932,156215325,156215572,156215913,156217747, 156214194,156214702,156215029,156215452,156215778,156216041,156217908, 0 PAQR6 unk unk -1,-1,-1,-1,-1,-1,-1, 864 NR_073098 chr1 - 36602169 36615115 36615115 36615115 2 36602169,36614937, 36602923,36615115, 0 TRAPPC3 unk unk -1,-1, 735 NR_073460 chr14 - 19670791 19681016 19681016 19681016 3 19670791,19678512,19680693, 19671105,19678600,19681016, 0 BMS1P17 unk unk -1,-1,-1, 736 NR_073460 chr14 + 19894368 19904572 19904572 19904572 3 19894368,19896784,19904258, 19894691,19896872,19904572, 0 BMS1P17 unk unk -1,-1,-1, 708 NR_073460 chr22 + 16162065 16172265 16172265 16172265 3 16162065,16164481,16171951, 16162388,16164569,16172265, 0 BMS1P17 unk unk -1,-1,-1, 1118 NM_001252150 chr14 + 69865384 69929107 69866086 69928419 7 69865384,69890810,69908785,69919957,69921528,69922448,69928413, 69866182,69890919,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl 0,0,1,1,1,0,0, 1341 NM_198046 chr10 + 99205887 99217127 99211432 99216648 12 99205887,99210113,99211427,99211846,99212171,99212651,99213286,99213555,99214470,99215416,99215730,99216533, 99206110,99210293,99211675,99212041,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,-1,0,0,0,2,1,0,0,2,0,2, 2371 NM_198890 chr2 + 234160216 234204320 234160473 234202996 14 234160216,234164747,234178647,234181611,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234178713,234181698,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl 0,1,2,2,2,0,1,0,0,1,2,2,2,2, 838 NM_001205265 chr16 + 33205584 33208179 33205614 33206717 2 33205584,33206646, 33205852,33208179, 0 TP53TG3B cmpl cmpl 0,1, 144 NM_001278245 chr9 - 74966340 74979508 74970868 74975694 7 74966340,74971846,74974333,74975025,74975543,74978385,74979377, 74971017,74971972,74974437,74975137,74975700,74978522,74979508, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1,-1, 1573 NR_104173 chr12 + 129594234 129597843 129597843 129597843 3 129594234,129595537,129597609, 129594302,129595684,129597843, 0 RP11-669N7.2 unk unk -1,-1,-1, 1573 NR_104172 chr12 + 129594234 129597843 129597843 129597843 4 129594234,129595537,129595964,129597609, 129594302,129595684,129596060,129597843, 0 RP11-669N7.2 unk unk -1,-1,-1,-1, 915 NR_104171 chr1 + 43323292 43354463 43354463 43354463 4 43323292,43335755,43346024,43352342, 43323379,43335832,43346104,43354463, 0 LOC339539 unk unk -1,-1,-1,-1, 1379 NM_001270965 chr10 - 104162373 104179691 104162956 104176795 18 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104170614,104170814,104171463,104171903,104172137,104173525,104174619,104175773,104176141,104178457,104179630, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104170704,104170873,104171576,104171984,104172332,104173954,104174986,104175876,104176878,104178516,104179691, 0 PSD cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,2,1,0,0,-1,-1, 146 NM_001256469 chr10 + 76586170 76792380 76602615 76790804 18 76586170,76598440,76602357,76719727,76729417,76729777,76732264,76735156,76737073,76738981,76741544,76744837,76748776,76780339,76780883,76781638,76784715,76788246, 76586543,76598510,76603236,76719836,76729533,76729859,76732397,76735212,76737195,76739097,76741686,76744999,76748870,76780571,76781043,76781989,76785007,76792380, 0 KAT6B cmpl cmpl -1,-1,0,0,1,0,1,2,1,0,2,0,0,1,2,0,0,1, 240 NM_001278127 chr4 + 175839508 175899331 175896676 175899139 2 175839508,175896496, 175839622,175899331, 0 ADAM29 cmpl cmpl -1,0, 240 NM_001278125 chr4 + 175839508 175899331 175896676 175899139 6 175839508,175840080,175841837,175852136,175858083,175896496, 175839622,175840141,175841943,175852325,175858164,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,-1,-1,0, 612 NR_075083 chr16 - 3589035 3627392 3627392 3627392 21 3589035,3592190,3592691,3593424,3594245,3598134,3598669,3599141,3599696,3600413,3602195,3604242,3605781,3606911,3607593,3611702,3613009,3614859,3615319,3617243,3627149, 3591915,3592274,3592775,3593508,3594329,3598218,3598753,3599225,3599780,3600497,3602280,3604326,3605917,3606995,3607677,3611789,3614759,3615061,3615381,3617386,3627392, 0 NLRC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1249 NR_047469 chr3 + 87138429 87147852 87147852 87147852 2 87138429,87143880, 87138757,87147852, 0 LINC00506 unk unk -1,-1, 156 NR_104153 chr3 + 87138429 87206219 87206219 87206219 3 87138429,87203487,87205941, 87138757,87203549,87206219, 0 LINC00506 unk unk -1,-1,-1, 10 NM_198516 chr11 - 11292420 11643561 11292690 11643140 11 11292420,11314575,11348632,11354240,11362365,11394061,11398728,11400627,11454167,11470290,11642905, 11292837,11314740,11348728,11354378,11362551,11394176,11398926,11400811,11454334,11470483,11643561, 0 GALNT18 cmpl cmpl 0,0,0,0,0,2,2,1,2,1,0, 1320 NM_001256644 chr12 - 96394530 96437298 96396773 96437153 18 96394530,96396737,96400091,96402871,96406965,96407527,96408632,96409360,96410821,96411334,96412540,96412945,96414862,96415924,96418256,96421221,96422832,96437066, 96394884,96396842,96400187,96402926,96407036,96407631,96408777,96409472,96410892,96411358,96412681,96413018,96414915,96416029,96418325,96421342,96422963,96437298, 0 LTA4H cmpl cmpl -1,0,0,2,0,1,0,2,0,0,0,2,0,0,0,2,0,0, 1320 NM_001256643 chr12 - 96394530 96437298 96394766 96437153 19 96394530,96396737,96397615,96400091,96402871,96406965,96407527,96408632,96409360,96410821,96411334,96412540,96412945,96414862,96415924,96418256,96421221,96422832,96437066, 96394884,96396842,96397698,96400187,96402926,96407036,96407631,96408777,96409472,96410892,96411358,96412681,96413018,96414915,96416029,96418325,96421342,96422963,96437298, 0 LTA4H cmpl cmpl 2,2,0,0,2,0,1,0,2,0,0,0,2,0,0,0,2,0,0, 748 NM_001256588 chr14 + 21467413 21470034 21467605 21468291 4 21467413,21467900,21468279,21469105, 21467720,21468031,21468325,21470034, 0 SLC39A2 cmpl cmpl 0,1,0,-1, 885 NR_104187 chr22 - 39387563 39394225 39394225 39394225 5 39387563,39388402,39388942,39393485,39394090, 39387623,39388586,39389008,39393742,39394225, 0 APOBEC3B-AS1 unk unk -1,-1,-1,-1,-1, 1471 NM_001172895 chr7 + 116165062 116201239 116166641 116199341 3 116165062,116166578,116198999, 116165859,116166743,116201239, 0 CAV1 cmpl cmpl -1,0,0, 146 NM_001256468 chr10 + 76586170 76792380 76602615 76790804 18 76586170,76598440,76602357,76719727,76729417,76729777,76732264,76735156,76737073,76738981,76741544,76744837,76748776,76780339,76780883,76781638,76784715,76788246, 76586543,76598510,76603236,76719836,76729533,76729859,76732397,76735539,76737195,76739097,76741686,76744999,76748870,76780571,76781043,76781989,76785007,76792380, 0 KAT6B cmpl cmpl -1,-1,0,0,1,0,1,2,1,0,2,0,0,1,2,0,0,1, 111 NM_001278364 chr4 + 40194586 40246384 40245006 40245582 5 40194586,40198740,40236796,40244333,40244797, 40194743,40198920,40236978,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,-1,0, 111 NM_001278362 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40202131,40244333,40244797, 40198920,40202185,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 111 NM_001278360 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40219766,40244333,40244797, 40198920,40219918,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 111 NM_001278359 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40236812,40244333,40244797, 40198920,40236978,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 1150 NM_001243237 chr8 - 74153658 74171737 74153691 74171693 4 74153658,74162502,74169207,74171566, 74153840,74162558,74169361,74171737, 0 LOC100130301 cmpl cmpl 1,2,1,0, 1926 NM_001256540 chr5 - 175810939 175815763 175810966 175815540 5 175810939,175812221,175813840,175815235,175815433, 175811284,175812328,175813910,175815344,175815763, 0 NOP16 cmpl cmpl 0,1,0,2,0, 1090 NM_001256670 chr11 + 66247483 66277130 66249671 66276722 17 66247483,66249666,66254010,66254738,66255384,66258723,66258964,66259168,66260186,66260537,66261011,66262676,66262835,66263100,66264768,66272082,66276549, 66247936,66249941,66254148,66254813,66255478,66258854,66259095,66259227,66260381,66260650,66261104,66262739,66262960,66263221,66264948,66272245,66277130, 0 DPP3 cmpl cmpl -1,0,0,0,0,1,0,2,1,1,0,0,0,2,0,0,1, 26 NM_001024678 chr8 - 145747760 145752416 145747858 145750358 5 145747760,145749493,145749824,145750199,145752343, 145748793,145749662,145750103,145750417,145752416, 0 LRRC24 cmpl cmpl 1,0,0,0,-1, 18 NM_001029851 chr5 + 76506705 76724080 76506750 76722379 19 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 1209 NM_001012973 chr10 + 81892257 81904784 81892518 81904666 4 81892257,81901837,81903978,81904655, 81892582,81901935,81904099,81904784, 0 PLAC9 cmpl cmpl 0,1,0,1, 1027 NM_001024596 chr19 - 57980953 57988938 57984641 57988677 5 57980953,57986391,57987027,57988001,57988644, 57985789,57986514,57987154,57988040,57988938, 0 ZNF772 cmpl cmpl 1,1,0,0,0, 1580 NM_001012502 chr9 + 130469270 130476303 130469310 130476184 9 130469270,130471700,130472879,130473507,130474098,130474477,130474987,130475298,130476112, 130469471,130471972,130473033,130473775,130474229,130474628,130475154,130475485,130476303, 0 C9orf117 cmpl cmpl 0,2,1,2,0,2,0,2,0, 195 NM_001012454 chr7 + 128312319 128323377 128312451 128323213 5 128312319,128315701,128317617,128320084,128323017, 128312604,128315913,128317867,128320203,128323377, 0 FAM71F2 cmpl cmpl 0,0,2,0,2, 1760 NM_001007524 chrX + 154114649 154115765 154114649 154115765 1 154114649, 154115765, 0 F8A3 cmpl cmpl 0, 1764 NM_001007524 chrX + 154611763 154612879 154611763 154612879 1 154611763, 154612879, 0 F8A3 cmpl cmpl 0, 1765 NM_001007524 chrX - 154687145 154688261 154687145 154688261 1 154687145, 154688261, 0 F8A3 cmpl cmpl 0, 200 NM_001033503 chr5 - 133936838 133968533 133942639 133959709 8 133936838,133944061,133945260,133948380,133956622,133959651,133967766,133968417, 133942756,133944193,133945364,133948446,133956742,133959727,133967885,133968533, 0 SAR1B cmpl cmpl 0,0,1,1,1,0,-1,-1, 1618 NM_001127387 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L7 cmpl cmpl 0,0, 150 NM_001080532 chr15 - 81624759 81666418 81624759 81666418 22 81624759,81627060,81628949,81630182,81630995,81631734,81633730,81635618,81636257,81637106,81638705,81641798,81644034,81648065,81648787,81650489,81650742,81651705,81654560,81660593,81664931,81666329, 81625603,81627316,81628988,81630265,81631121,81631845,81633859,81635686,81636386,81637352,81638784,81641908,81644182,81648109,81648935,81650632,81650841,81651812,81654642,81660669,81665078,81666418, 0 TMC3 cmpl cmpl 2,1,1,2,2,2,2,0,0,0,2,0,2,0,2,0,0,1,0,2,2,0, 1078 NM_001010888 chrX + 64708614 64727767 64708681 64723089 5 64708614,64717011,64718878,64719762,64721668, 64709289,64717151,64719113,64719869,64727767, 0 ZC3H12B cmpl cmpl 0,2,1,2,1, 726 NM_001261383 chr11 - 18552949 18610293 18554018 18610201 10 18552949,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18600270,18610159, 18554034,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18600355,18610293, 0 UEVLD cmpl cmpl 2,1,1,1,0,1,0,1,0,0, 1154 NM_001015056 chr2 - 74652987 74667710 74653369 74659754 12 74652987,74654295,74654550,74655394,74655757,74655974,74656954,74657378,74657591,74657742,74659593,74667479, 74653701,74654400,74654719,74655523,74655864,74656069,74657164,74657496,74657645,74657804,74659793,74667710, 0 RTKN cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,-1, 1154 NM_001015055 chr2 - 74652987 74669060 74653369 74668943 12 74652987,74654295,74654550,74655394,74655757,74655974,74656954,74657378,74657591,74657742,74659593,74668832, 74653701,74654400,74654719,74655523,74655864,74656069,74657164,74657496,74657645,74657804,74659793,74669060, 0 RTKN cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,0, 113 NM_001002876 chr22 - 42334740 42343148 42335186 42343080 5 42334740,42341228,42341916,42342420,42343023, 42335200,42341308,42342009,42342500,42343148, 0 CENPM cmpl cmpl 1,2,2,0,0, 1699 NM_001109689 chr8 - 146102335 146126846 146106899 146115734 6 146102335,146112224,146114965,146115317,146115692,146126783, 146108221,146112287,146115079,146115444,146115788,146126846, 0 ZNF250 cmpl cmpl 1,1,1,0,0,-1, 838 NM_001099687 chr16 + 33205584 33208179 33205614 33207160 2 33205584,33207147, 33205976,33208179, 0 TP53TG3B cmpl cmpl 0,2, 838 NM_001099687 chr16 + 33262119 33264719 33262149 33263695 2 33262119,33263682, 33262511,33264719, 0 TP53TG3B cmpl cmpl 0,2, 108 NM_001014286 chr13 - 37583450 37633850 37583808 37625627 26 37583450,37584688,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633695, 37583946,37584792,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619510,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 0,1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 82 NM_001012329 chr1 - 9908333 9970316 9910775 9932122 5 9908333,9931244,9932026,9937962,9970152, 9910834,9931335,9932146,9938047,9970316, 0 CTNNBIP1 cmpl cmpl 1,0,0,-1,-1, 955 NM_019855 chr19 - 48532639 48547311 48533813 48547179 6 48532639,48537471,48542464,48543861,48544829,48547116, 48533839,48537619,48542574,48544005,48544860,48547311, 0 CABP5 cmpl cmpl 1,0,1,1,0,0, 106 NM_015430 chr11 - 35453375 35547579 35453903 35547133 12 35453375,35456059,35457450,35461174,35463028,35473435,35489548,35492148,35496177,35513592,35515643,35547060, 35454440,35456352,35457683,35461241,35463241,35473486,35489656,35492366,35496292,35513721,35515820,35547579, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,1,2,1,1,1,0, 1075 NM_001271639 chr7 + 64254765 64294059 64254946 64292580 4 64254765,64275295,64275953,64291828, 64254949,64275422,64276031,64294059, 0 ZNF138 cmpl cmpl 0,0,1,1, 156 NR_039994 chr5 + 87564832 87732491 87732491 87732491 4 87564832,87566342,87705889,87732089, 87564936,87566402,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1,-1, 210 NM_015117 chr8 - 144519824 144623620 144520225 144623591 12 144519824,144522210,144523105,144547886,144550378,144550551,144550786,144557567,144589915,144618426,144620172,144623545, 144520257,144522533,144523290,144548018,144550448,144550710,144550829,144557755,144590069,144618623,144621490,144623620, 0 ZC3H3 cmpl cmpl 1,2,0,0,2,2,1,2,1,2,1,0, 1368 NM_206915 chrX + 102631250 102633092 102632419 102632755 3 102631250,102631955,102632390, 102631541,102632034,102633092, 0 NGFRAP1 cmpl cmpl -1,-1,0, 1368 NM_206917 chrX + 102631250 102633092 102632449 102632755 3 102631250,102631955,102632437, 102631541,102632034,102633092, 0 NGFRAP1 cmpl cmpl -1,-1,0, 1368 NM_014380 chrX + 102632108 102633092 102632419 102632755 1 102632108, 102633092, 0 NGFRAP1 cmpl cmpl 0, 1486 NM_001172814 chr8 + 118147336 118188953 118159268 118184920 9 118147336,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 118147637,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,0,1,1,2,0,1,1, 185 NM_001172811 chr8 + 117962511 118188953 118159268 118184920 10 117962511,117963257,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 117962624,117963358,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,-1,0,1,1,2,0,1,1, 1189 NM_001037984 chr17 - 79218610 79269139 79219355 79268721 16 79218610,79220684,79225292,79225994,79226872,79234037,79244717,79246315,79249768,79250830,79254408,79255988,79257208,79258649,79263490,79268622, 79220473,79220861,79225412,79226483,79227040,79234194,79244824,79246427,79249951,79250933,79254533,79256132,79257302,79258695,79263608,79269139, 0 SLC38A10 cmpl cmpl 1,1,1,1,1,0,1,0,0,2,0,0,2,1,0,0, 2042 NM_001164467 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L3 cmpl cmpl 0, 1618 NM_001164467 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L3 cmpl cmpl 0,0, 1729 NM_001099695 chr7 + 150065878 150071133 150066800 150070034 3 150065878,150066759,150068316, 150066030,150066957,150071133, 0 REPIN1 cmpl cmpl -1,0,1, 1618 NM_001164467 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L3 cmpl cmpl 0,0, 795 NR_038427 chr2 + 27558408 27560670 27560670 27560670 4 27558408,27559158,27560077,27560303, 27558587,27559337,27560193,27560670, 0 AC109828.1 unk unk -1,-1,-1,-1, 1319 NR_046232 chr8 - 96219234 96228602 96228602 96228602 3 96219234,96220646,96228545, 96219536,96220806,96228602, 0 C8orf69 unk unk -1,-1,-1, 22 NM_198721 chr4 - 109731876 110223799 109735082 110223175 37 109731876,109738552,109740407,109745329,109746351,109748290,109753535,109762850,109765674,109766344,109767294,109769914,109773391,109774057,109780811,109782082,109783656,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109858963,109861694,109862521,109895522,109895688,109931513,109971282,110221738,110222878,110223324, 109735085,109738591,109740485,109745383,109746378,109748344,109753589,109762877,109765725,109766407,109767375,109769959,109773436,109774081,109780889,109782127,109783701,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109858999,109861802,109862593,109895549,109895715,109931531,109971335,110221808,110223231,110223799, 0 COL25A1 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,-1, 655 NM_001256863 chr4 + 9269344 9270937 9269344 9270937 1 9269344, 9270937, 0 USP17L22 cmpl cmpl 0, 655 NM_001256861 chr4 + 9217130 9218723 9217130 9218723 1 9217130, 9218723, 0 USP17L20 cmpl cmpl 0, 655 NM_001256861 chr4 + 9259849 9261442 9259849 9261442 1 9259849, 9261442, 0 USP17L20 cmpl cmpl 0, 655 NM_001256861 chr4 + 9269344 9270937 9269344 9270937 1 9269344, 9270937, 0 USP17L20 cmpl cmpl 0, 724 NM_001282734 chr10 + 18240767 18332221 18250650 18331762 12 18240767,18250509,18254411,18266830,18270240,18276407,18280079,18282109,18284584,18289595,18292099,18331633, 18240954,18250791,18254619,18267003,18270412,18276580,18280232,18282220,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,1,0,1,0,0,0,1,1,0, 797 NM_001282731 chr2 - 27873675 27886707 27876351 27884263 6 27873675,27878231,27880211,27883850,27885045,27886195, 27876614,27878469,27880536,27884310,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,0,-1,-1, 2042 NM_001164467 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L3 cmpl cmpl 0, 2042 NM_001164467 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L3 cmpl cmpl 0, 928 NM_173179 chr20 - 44978166 44993097 44979032 44987145 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987597,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1, 655 NM_001256857 chr4 + 9245604 9247197 9245604 9247197 1 9245604, 9247197, 0 USP17L17 cmpl cmpl 0, 655 NM_001256855 chr4 + 9226621 9228214 9226621 9228214 1 9226621, 9228214, 0 USP17L13 cmpl cmpl 0, 9 NM_001256828 chr17 - 1963132 2140141 1964785 2139930 11 1963132,1968366,1968761,1972071,1985103,1989018,2075951,2089956,2091692,2139785,2140090, 1964916,1968448,1968973,1972225,1985250,1989195,2076153,2090125,2091809,2139931,2140141, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,2,1,1,0,-1, 9 NM_001256827 chr17 - 1963132 2169493 1964785 2139930 12 1963132,1968366,1968761,1972071,1985103,1989018,2075951,2089956,2091692,2139785,2147951,2169261, 1964916,1968448,1968973,1972225,1985250,1989195,2076153,2090125,2091809,2139931,2148013,2169493, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,2,1,1,0,-1,-1, 954 NM_001256964 chr3 - 48473579 48481529 48473817 48476538 4 48473579,48475116,48476226,48481397, 48474576,48475281,48476546,48481529, 0 CCDC51 cmpl cmpl 0,0,0,-1, 656 NM_001256867 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L30 cmpl cmpl 0, 1492 NM_001164278 chr11 - 118895060 118901616 118895619 118900079 12 118895060,118895900,118896401,118896676,118897312,118897646,118898337,118898436,118898903,118899931,118901257,118901558, 118895786,118896039,118896467,118896790,118897398,118897805,118898435,118898582,118899136,118900274,118901445,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,0,1,1,2,0,1,0,-1,-1, 979 NM_001243727 chr3 + 51705190 51738339 51708320 51738032 4 51705190,51708286,51733421,51737739, 51705304,51708578,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,1, 1379 NR_036106 chr8 + 104166841 104166917 104166917 104166917 1 104166841, 104166917, 0 MIR3151 unk unk -1, 791 NR_036096 chr6 + 27115404 27115467 27115467 27115467 1 27115404, 27115467, 0 MIR3143 unk unk -1, 157 NM_001286717 chr9 - 88161453 88356944 88162023 88356877 25 88161453,88190229,88193834,88200377,88201745,88203212,88204442,88207474,88211276,88233897,88234129,88236116,88247576,88257741,88261235,88270057,88272349,88275850,88284399,88287464,88292350,88293249,88296182,88307603,88356689, 88162201,88190390,88194011,88200509,88201875,88203393,88204596,88207619,88211364,88234046,88234216,88236200,88248289,88257858,88261333,88270115,88272558,88275888,88284493,88287596,88292497,88293313,88296250,88307728,88356944, 0 AGTPBP1 cmpl cmpl 2,0,0,0,2,1,0,2,1,2,2,2,0,0,1,0,1,2,1,1,1,0,1,2,0, 1194 NM_001282281 chr17 - 79890261 79895115 79891089 79895089 8 79890261,79892201,79892528,79892801,79893212,79893998,79894623,79895055, 79891252,79892365,79892621,79893023,79893392,79894069,79894737,79895115, 0 PYCR1 cmpl cmpl 2,0,0,0,0,1,1,0, 1194 NM_001282280 chr17 - 79890261 79895204 79891089 79894690 8 79890261,79892201,79892528,79892801,79893212,79893998,79894623,79895137, 79891252,79892365,79892621,79893023,79893392,79894069,79894737,79895204, 0 PYCR1 cmpl cmpl 2,0,0,0,0,1,0,-1, 1194 NM_001282279 chr17 - 79890261 79895204 79891089 79894690 7 79890261,79892201,79892801,79893212,79893998,79894623,79895137, 79891252,79892365,79893023,79893392,79894069,79894737,79895204, 0 PYCR1 cmpl cmpl 2,0,0,0,1,0,-1, 823 NM_001243042 chr6 - 31236525 31239913 31236945 31239848 8 31236525,31237114,31237269,31237742,31237986,31238849,31239375,31239775, 31236950,31237162,31237302,31237862,31238262,31239125,31239645,31239913, 0 HLA-C cmpl cmpl 1,1,1,1,1,1,1,0, 1155 NM_013247 chr2 + 74756531 74760683 74757133 74760112 8 74756531,74757743,74758037,74758465,74758723,74758982,74759745,74759946, 74757639,74757948,74758232,74758498,74758829,74759052,74759841,74760683, 0 HTRA2 cmpl cmpl 0,2,0,0,0,1,2,2, 157 NM_001286715 chr9 - 88161453 88356944 88162023 88356877 25 88161453,88190229,88193834,88200377,88201745,88203212,88204442,88207474,88211276,88233897,88234129,88236116,88247576,88257741,88261235,88270057,88272349,88275850,88284399,88287464,88292350,88293249,88296182,88307603,88356689, 88162201,88190390,88194011,88200509,88201875,88203393,88204596,88207619,88211364,88234046,88234216,88236200,88248289,88257858,88261333,88270235,88272558,88275888,88284493,88287596,88292497,88293313,88296250,88307728,88356944, 0 AGTPBP1 cmpl cmpl 2,0,0,0,2,1,0,2,1,2,2,2,0,0,1,0,1,2,1,1,1,0,1,2,0, 918 NM_001257334 chr18 - 43664109 43678319 43664247 43678197 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669854,43671647,43675018,43678137, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,1,0,0, 906 NR_033818 chr8 + 42128819 42190171 42190171 42190171 22 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151086,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 79 NM_001257325 chr11 - 6416353 6425921 6416763 6425852 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6425836, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6425921, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,1,0, 915 NR_034104 chr20 - 43285091 43300380 43300380 43300380 5 43285091,43287635,43288351,43291994,43300279, 43285692,43287822,43288419,43292194,43300380, 0 RP11-445H22.3 unk unk -1,-1,-1,-1,-1, 1286 NR_036108 chr9 + 91927139 91927221 91927221 91927221 1 91927139, 91927221, 0 MIR3153 unk unk -1, 88 NM_001258376 chr19 - 16511441 16582823 16513116 16582756 16 16511441,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 88 NM_001258375 chr19 - 16472388 16582823 16472777 16582756 22 16472388,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16472795,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 0,1,0,1,1,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 88 NM_001258374 chr19 - 16466054 16582823 16466515 16582756 24 16466054,16472589,16487932,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16466662,16472795,16488065,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 0,1,0,1,0,1,1,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 119 NM_001258373 chr17 + 48624449 48633213 48625698 48633023 17 48624449,48625025,48625643,48625914,48626170,48626403,48626646,48627345,48627568,48627896,48628068,48628358,48628871,48629329,48631611,48632592,48632852, 48624646,48625128,48625814,48625979,48626325,48626547,48626848,48627476,48627673,48627971,48628278,48628551,48629040,48629541,48631811,48632673,48633213, 0 SPATA20 cmpl cmpl -1,-1,0,2,1,0,0,1,0,0,0,0,1,2,1,0,0, 119 NM_001258372 chr17 + 48624449 48633213 48624569 48633023 16 48624449,48625643,48625914,48626170,48626403,48626646,48627345,48627568,48627896,48628068,48628358,48628871,48629329,48631611,48632592,48632852, 48624646,48625814,48625979,48626325,48626547,48626848,48627476,48627673,48627971,48628278,48628551,48629040,48629541,48631811,48632673,48633213, 0 SPATA20 cmpl cmpl 0,2,2,1,0,0,1,0,0,0,0,1,2,1,0,0, 957 NM_017602 chrX - 48779302 48814893 48780450 48814832 9 48779302,48780909,48781127,48783122,48791736,48791968,48792226,48801450,48814238, 48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48814893, 0 OTUD5 cmpl cmpl 1,1,0,0,1,0,1,0,0, 132 NM_002394 chr11 + 62623483 62656355 62623741 62656165 12 62623483,62638216,62639048,62648490,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62623853,62638309,62639141,62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,1,1,1,0,0,2,0,0,0, 117 NM_001278390 chr12 - 46589507 46661770 46589909 46633583 17 46589507,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46661007, 46590059,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46661770, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1004 NM_001258287 chr5 - 54921672 54988881 54922321 54987048 14 54921672,54923718,54929581,54931371,54941616,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54987016,54988417, 54922487,54923808,54929730,54931485,54941723,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54987120,54988881, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,0,2,0,2,0,-1, 936 NM_181688 chr21 + 46057272 46058372 46057334 46058090 1 46057272, 46058372, 0 KRTAP10-10 cmpl cmpl 0, 828 NR_104191 chr6 - 31902250 31909501 31909501 31909501 3 31902250,31903116,31908961, 31902409,31903179,31909501, 0 LOC102060414 unk unk -1,-1,-1, 981 NM_001272062 chrX + 51927918 51935366 51929018 51935162 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 1933 NM_001271828 chr5 + 176730762 176733960 176730986 176733571 5 176730762,176731625,176732871,176733098,176733455, 176731078,176731851,176732985,176733177,176733960, 0 PRELID1 cmpl cmpl 0,2,0,0,1, 36 NM_001284216 chr2 - 230628552 230786725 230632269 230744795 39 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230744697,230786595, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670599,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695555,230701700,230744844,230786725, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,0,-1, 118 NM_025133 chr2 - 48034058 48115858 48035256 48066888 23 48034058,48035467,48036296,48036738,48037454,48040372,48040929,48045917,48046094,48047500,48049356,48050281,48059487,48059710,48059907,48060102,48061717,48061926,48063010,48065997,48066557,48066780,48115764, 48035386,48035566,48036405,48036846,48037565,48040516,48041006,48046003,48046217,48047595,48049442,48050499,48059625,48059817,48060019,48060209,48061850,48062010,48063140,48066142,48066639,48066908,48115858, 0 FBXO11 cmpl cmpl 2,2,1,1,1,1,2,0,0,1,2,0,0,1,0,1,0,0,2,1,0,0,-1, 1379 NM_001261403 chr10 + 104155352 104162286 104155716 104162133 22 104155352,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162011, 104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl 0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 1302 NM_001261410 chr1 - 94027342 94079702 94027797 94079487 10 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94079403, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94079702, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,0, 1265 NM_174917 chr16 + 89160216 89222254 89167089 89220615 11 89160216,89164998,89167069,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160400,89165171,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,-1,0,0,0,2,1,0,1,1,2, 799 NR_103448 chr6 + 28129538 28137373 28137373 28137373 5 28129538,28130357,28132526,28134278,28137179, 28129599,28130544,28132679,28135332,28137373, 0 ZNF192P1 unk unk -1,-1,-1,-1,-1, 1265 NR_045667 chr16 + 89202955 89222254 89222254 89222254 5 89202955,89207474,89211674,89212345,89220497, 89203237,89207684,89211809,89212457,89222254, 0 ACSF3 unk unk -1,-1,-1,-1,-1, 933 NM_001281768 chr7 + 45613738 45704271 45632393 45703974 10 45613738,45614487,45632357,45649977,45662230,45688268,45697325,45699640,45701657,45703887, 45613787,45614781,45632507,45650096,45662342,45688396,45697484,45699782,45701813,45704271, 0 ADCY1 cmpl cmpl -1,-1,0,0,2,0,2,2,0,0, 295 NR_103495 chr2 + 233562014 233601358 233601358 233601358 5 233562014,233565294,233568133,233599864,233600472, 233562102,233565364,233568199,233599948,233601358, 0 GIGYF2 unk unk -1,-1,-1,-1,-1, 295 NR_103493 chr2 + 233562014 233601358 233601358 233601358 7 233562014,233565294,233568133,233589283,233595831,233599864,233600472, 233562102,233565364,233568199,233589401,233595944,233599948,233601358, 0 GIGYF2 unk unk -1,-1,-1,-1,-1,-1,-1, 295 NR_103492 chr2 + 233599126 233725287 233725287 233725287 27 233599126,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655407,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233712057,233714971,233721502, 233599196,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233712281,233715119,233725287, 0 GIGYF2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 979 NR_103462 chr3 + 51705642 51738339 51738339 51738339 4 51705642,51718428,51733421,51737739, 51705719,51718650,51733590,51738339, 0 TEX264 unk unk -1,-1,-1,-1, 738 NM_001278640 chr22 + 20104946 20114880 20105172 20114575 6 20104946,20106535,20109786,20112830,20113825,20114477, 20105187,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl 0,0,2,1,1,1, 1267 NM_153696 chr11 + 89392464 89431886 89402576 89431767 14 89392464,89395317,89402572,89403557,89405054,89407254,89409272,89413776,89420514,89421751,89424049,89424614,89429800,89431577, 89392892,89395411,89402671,89403643,89405174,89407337,89409336,89413844,89420606,89421842,89424314,89424696,89429893,89431886, 0 FOLH1B cmpl cmpl -1,-1,0,2,1,1,0,1,0,2,0,1,2,2, 89 NM_001267552 chr17 - 17408876 17495017 17409147 17494940 8 17408876,17409540,17410482,17412747,17415822,17425593,17480233,17494844, 17409162,17409615,17410513,17412859,17415968,17425709,17480341,17495017, 0 PEMT cmpl cmpl 0,0,2,1,2,0,0,0, 89 NM_001267551 chr17 - 17408876 17495017 17409104 17494940 7 17408876,17409540,17412747,17415822,17425593,17480233,17494910, 17409162,17409615,17412859,17415968,17425709,17480341,17495017, 0 PEMT cmpl cmpl 2,2,1,2,0,0,0, 1060 NM_001267549 chr20 - 62329994 62339365 62331949 62338443 7 62329994,62333181,62333487,62337708,62338002,62338350,62339218, 62332054,62333252,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 cmpl cmpl 0,1,0,1,0,0,-1, 1060 NM_001267547 chr20 - 62329994 62339365 62331794 62338443 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333252,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,0,-1, 893 NR_109896 chr1 + 40420783 40435640 40435640 40435640 12 40420783,40422758,40424372,40430882,40431142,40431528,40432272,40432482,40432757,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40434149,40434417,40435640, 0 MFSD2A unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 608 NM_001284512 chr16 + 3019245 3023490 3019675 3021949 2 3019245,3021515, 3019841,3023490, 0 PAQR4 cmpl cmpl 0,1, 1060 NM_001267545 chr20 - 62329994 62339365 62332034 62338443 6 62329994,62333487,62337708,62338002,62338350,62339218, 62332054,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 cmpl cmpl 1,0,1,0,0,-1, 1060 NM_001267544 chr20 - 62329994 62339365 62332034 62338443 7 62329994,62333181,62333487,62337708,62338002,62338350,62339218, 62332054,62333250,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 cmpl cmpl 1,1,0,1,0,0,-1, 608 NM_001284513 chr16 + 3019342 3023490 3021192 3021949 3 3019342,3021157,3021515, 3019444,3021379,3023490, 0 PAQR4 cmpl cmpl -1,0,1, 2135 NM_001256125 chr1 - 203185206 203198860 203186016 203198764 10 203185206,203186866,203188343,203188791,203191329,203192262,203192622,203194796,203197660,203198739, 203186261,203186993,203188457,203188977,203191453,203192387,203192788,203194998,203197690,203198860, 0 CHIT1 cmpl cmpl 1,0,0,0,2,0,2,1,1,0, 942 NM_001256128 chr1 + 46806849 46830824 46810526 46827518 6 46806849,46810472,46812592,46818539,46826375,46827241, 46807169,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 cmpl cmpl -1,0,2,1,0,2, 74 NM_001267713 chrY + 1405508 1451582 1410658 1451358 10 1405508,1410620,1420992,1421214,1425113,1427753,1434030,1447551,1449915,1451283, 1405819,1410722,1421125,1421399,1425229,1427780,1434145,1447657,1449997,1451582, 0 IL3RA cmpl cmpl -1,0,1,2,1,0,0,1,2,0, 596 NM_001267713 chrX + 1455508 1501582 1460658 1501358 10 1455508,1460620,1470992,1471214,1475113,1477753,1484030,1497551,1499915,1501283, 1455819,1460722,1471125,1471399,1475229,1477780,1484145,1497657,1499997,1501582, 0 IL3RA cmpl cmpl -1,0,1,2,1,0,0,1,2,0, 964 NM_001272102 chrX + 49687224 49807150 49689908 49807103 4 49687224,49688015,49689780,49806924, 49687402,49688091,49689924,49807150, 0 CLCN5 cmpl cmpl -1,-1,0,1, 153 NM_001272075 chr16 + 84733554 84813527 84738433 84812688 15 84733554,84738345,84767040,84773914,84778238,84792321,84792968,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84738466,84767109,84773975,84779279,84792413,84793078,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 cmpl cmpl -1,0,0,0,1,1,0,2,1,0,1,2,0,1,1, 955 NM_001272068 chr3 - 48509196 48541483 48510505 48538709 7 48509196,48510759,48511126,48520585,48538569,48540527,48541153, 48510585,48510972,48511242,48520666,48538726,48540626,48541483, 0 SHISA5 cmpl cmpl 1,1,2,2,0,-1,-1, 955 NM_001272067 chr3 - 48509196 48542247 48510505 48538709 6 48509196,48510759,48511126,48520585,48538569,48541855, 48510585,48510972,48511242,48520666,48538726,48542247, 0 SHISA5 cmpl cmpl 1,1,2,2,0,-1, 955 NM_001272065 chr3 - 48509196 48541682 48510505 48541527 6 48509196,48510759,48511126,48520585,48538590,48541451, 48510585,48510972,48511242,48520666,48538726,48541682, 0 SHISA5 cmpl cmpl 1,1,2,2,1,0, 980 NM_001272063 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811299,51812368, 0 MAGED4 cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_001272063 chrX + 51927918 51935366 51929018 51935162 13 51927918,51928987,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 120 NR_103528 chr13 + 49550744 49783915 49783915 49783915 26 49550744,49580287,49649424,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49551053,49580425,49649500,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765245,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 633 NM_001285400 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330076,6330377,6331826,6337352,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 633 NM_001285399 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330076,6330377,6331826,6337382,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 633 NM_001285403 chr17 - 6329371 6338519 6329905 6338424 5 6329371,6330200,6331637,6337238,6338328, 6330076,6330353,6331826,6337418,6338519, 0 AIPL1 cmpl cmpl 0,0,0,0,0, 633 NM_001285401 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330004,6330377,6331826,6337418,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 1475 NM_000040 chr11 + 116700623 116703787 116701298 116703600 4 116700623,116701285,116701488,116703479, 116700656,116701353,116701612,116703787, 0 APOC3 cmpl cmpl -1,0,1,2, 1332 NR_103733 chr2 + 97949671 97957632 97957632 97957632 4 97949671,97950426,97950614,97957293, 97949910,97950522,97950744,97957632, 0 AC159540.1 unk unk -1,-1,-1,-1, 1333 NR_103733 chr2 - 98081675 98089620 98089620 98089620 4 98081675,98088547,98088769,98089381, 98082014,98088677,98088865,98089620, 0 AC159540.1 unk unk -1,-1,-1,-1, 109 NR_103554 chr5 + 38556887 38671318 38671318 38671318 9 38556887,38595023,38641030,38644451,38646733,38647334,38653178,38653966,38671127, 38559279,38595171,38641131,38644547,38646816,38647537,38653262,38654054,38671318, 0 LIFR-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 879 NR_103553 chr5 + 38556887 38608959 38608959 38608959 3 38556887,38595023,38607701, 38559279,38595171,38608959, 0 LIFR-AS1 unk unk -1,-1,-1, 144 NM_001270381 chr11 - 74551954 74660232 74554244 74618251 16 74551954,74554898,74555212,74556117,74559159,74562132,74563033,74574025,74617283,74618189,74632258,74638435,74641344,74644845,74647928,74659972, 74554498,74555004,74555328,74556316,74559507,74562248,74563127,74574066,74617501,74618318,74632392,74638533,74641417,74644917,74648113,74660232, 0 XRRA1 cmpl cmpl 1,0,1,0,0,1,0,1,2,0,-1,-1,-1,-1,-1,-1, 699 NR_103772 chr16 - 15019606 15021140 15021140 15021140 3 15019606,15019877,15020904, 15019639,15020684,15021140, 0 LOC100288162 unk unk -1,-1,-1, 724 NM_001286201 chr12 - 18233802 18243127 18234124 18243074 5 18233802,18237450,18238553,18241833,18243022, 18234407,18237599,18238627,18241890,18243127, 0 RERGL cmpl cmpl 2,0,1,1,0, 1486 NM_198275 chr11 - 118097404 118123083 118100608 118123009 6 118097404,118104174,118106138,118107764,118110925,118122936, 118100635,118104238,118106304,118107975,118111092,118123083, 0 MPZL3 cmpl cmpl 0,2,1,0,1,0, 710 NR_103772 chr16 - 16418257 16419791 16419791 16419791 3 16418257,16418528,16419555, 16418290,16419335,16419791, 0 LOC100288162 unk unk -1,-1,-1, 725 NR_103772 chr16 + 18436589 18438123 18438123 18438123 3 18436589,18437045,18438090, 18436825,18437852,18438123, 0 LOC100288162 unk unk -1,-1,-1, 1172 NR_103781 chr4 - 77035811 77069668 77069668 77069668 10 77035811,77038816,77039227,77051808,77052382,77053675,77055327,77065301,77065542,77069460, 77036647,77038927,77039347,77051902,77052437,77053872,77055515,77065445,77065626,77069668, 0 NUP54 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1172 NR_103780 chr4 - 77035811 77069668 77069668 77069668 11 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77055327,77065301,77065542,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77055515,77065445,77065626,77069668, 0 NUP54 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1547 NR_103787 chr3 - 126111874 126113641 126113641 126113641 3 126111874,126112325,126113141, 126112136,126112496,126113641, 0 CCDC37-AS1 unk unk -1,-1,-1, 2315 NR_103784 chr1 - 226843780 226862769 226862769 226862769 2 226843780,226862617, 226844975,226862769, 0 ITPKB-IT1 unk unk -1,-1, 983 NM_001286430 chr15 - 52230221 52263998 52230352 52263942 10 52230221,52239488,52242004,52244040,52245325,52252095,52252835,52254585,52257945,52263884, 52230457,52239586,52242191,52244176,52245460,52252241,52252930,52254690,52258701,52263998, 0 LEO1 cmpl cmpl 0,1,0,2,2,0,1,1,1,0, 232 NM_032858 chr1 + 166958325 166991449 166958589 166991092 12 166958325,166958973,166960614,166961922,166963264,166973416,166974312,166974492,166985458,166987063,166990321,166990904, 166958721,166959066,166960714,166962078,166963306,166973541,166974367,166974634,166985521,166987196,166990397,166991449, 0 MAEL cmpl cmpl 0,0,0,1,1,1,0,1,2,2,0,1, 1857 NM_001270879 chr6 - 166778407 166796501 166778916 166780325 5 166778407,166779461,166780282,166780456,166796293, 166778941,166779594,166780379,166780675,166796501, 0 MPC1 cmpl cmpl 2,1,0,-1,-1, 864 NM_001270894 chr1 - 36602169 36615115 36602803 36614979 5 36602169,36603396,36605320,36605669,36614937, 36602923,36603579,36605444,36605767,36615115, 0 TRAPPC3 cmpl cmpl 0,0,2,0,0, 588 NM_001286436 chr16 + 446754 450754 449108 450342 5 446754,448989,449378,449626,450218, 447079,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,0,0,0,2, 864 NM_001270897 chr1 - 36602169 36615115 36602803 36614979 3 36602169,36603396,36614937, 36602923,36603579,36615115, 0 TRAPPC3 cmpl cmpl 0,0,0, 1282 NM_001286451 chr15 - 91474147 91475799 91474504 91475770 4 91474147,91474933,91475284,91475658, 91474635,91475174,91475340,91475799, 0 HDDC3 cmpl cmpl 1,0,1,0, 634 NM_001270987 chr12 + 6484533 6500737 6484721 6500103 10 6484533,6493753,6494187,6494392,6495231,6495512,6497563,6497965,6499277,6499825, 6484760,6493850,6494313,6494545,6495328,6495610,6497671,6497991,6499506,6500737, 0 LTBR cmpl cmpl 0,0,1,1,1,2,1,1,0,1, 661 NR_103821 chr3 + 10028576 10048687 10048687 10048687 3 10028576,10030395,10044400, 10028948,10030431,10048687, 0 EMC3-AS1 unk unk -1,-1,-1, 2349 NM_001256615 chr1 - 231319844 231323373 231320759 231323313 3 231319844,231321821,231323262, 231320982,231321919,231323373, 0 RP5-1097F14.3 cmpl cmpl 2,0,0, 79 NM_001257321 chr11 - 6416353 6426647 6416763 6424996 14 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6425974,6426362, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426014,6426647, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,0,-1,-1, 673 NM_001282300 chr18 + 11609556 11610611 11609594 11610611 1 11609556, 11610611, 0 SLC35G4 cmpl cmpl 0, 1492 NM_001164280 chr11 - 118895060 118900278 118895619 118900079 9 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899931, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118900278, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,1,0, 79 NM_001257319 chr11 - 6416353 6426163 6416763 6426035 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6425974, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426163, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,1,0, 837 NM_001002009 chr7 - 33053724 33102409 33054341 33075581 10 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33075545,33102179, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33075600,33102409, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,0,-1, 1287 NM_001286745 chr8 + 92082423 92099323 92088947 92097096 8 92082423,92083365,92086058,92088819,92090583,92092896,92096235,92097011, 92082694,92083517,92086139,92088959,92090896,92092958,92096342,92099323, 0 OTUD6B cmpl cmpl -1,-1,-1,0,0,1,0,2, 1022 NR_103832 chr8 - 57287276 57303269 57303269 57303269 4 57287276,57294500,57302681,57303160, 57287402,57294658,57302813,57303269, 0 SDR16C6P unk unk -1,-1,-1,-1, 922 NM_001286510 chr6 - 44221837 44225089 44222442 44224615 4 44221837,44224078,44224421,44224918, 44223381,44224229,44224615,44225089, 0 SLC35B2 cmpl cmpl 0,2,0,-1, 922 NM_001286509 chr6 - 44221837 44225308 44222442 44224615 4 44221837,44224078,44224421,44225136, 44223381,44224229,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,2,0,-1, 922 NM_001286517 chr6 - 44221837 44225308 44222442 44224123 3 44221837,44224078,44225136, 44223381,44224233,44225308, 0 SLC35B2 cmpl cmpl 0,0,-1, 922 NM_001286519 chr6 - 44221837 44225308 44222442 44223342 2 44221837,44225136, 44223381,44225308, 0 SLC35B2 cmpl cmpl 0,-1, 922 NM_001286511 chr6 - 44221837 44225627 44222442 44224479 4 44221837,44224078,44224421,44225505, 44223381,44224233,44224615,44225627, 0 SLC35B2 cmpl cmpl 0,1,0,-1, 1458 NR_104470 chr2 - 114470368 114514270 114514270 114514270 17 114470368,114472734,114475329,114476730,114480680,114482954,114486977,114489160,114492162,114493353,114500268,114501289,114503853,114508001,114512741,114513030,114513431, 114472618,114472772,114475427,114476885,114480771,114483114,114487082,114489225,114492250,114493435,114500456,114501371,114503916,114508145,114512883,114513121,114514270, 0 SLC35F5 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 105 NR_104472 chr21 + 33784744 33887710 33887710 33887710 7 33784744,33829904,33840003,33867336,33873724,33876235,33887123, 33785321,33830028,33840156,33867480,33873796,33876325,33887710, 0 EVA1C unk unk -1,-1,-1,-1,-1,-1,-1, 119 NM_001286791 chr4 + 48988658 49064095 48990531 49063907 16 48988658,48990493,48993470,48993952,48996635,49000476,49005751,49009217,49019265,49030645,49032841,49034582,49040052,49046802,49052710,49063828, 48988802,48990685,48993591,48994107,48996837,49000565,49006009,49009343,49019345,49030751,49032977,49034732,49040197,49046864,49052866,49064095, 0 CWH43 cmpl cmpl -1,0,1,2,1,2,1,1,1,0,1,2,2,0,2,2, 106 NM_014691 chr15 - 35148551 35261995 35148992 35261814 35 35148551,35152242,35155067,35159724,35162952,35166028,35166877,35168135,35174702,35176725,35178726,35182415,35185863,35189097,35189759,35192822,35196536,35198745,35202335,35207238,35210458,35212532,35219235,35222458,35224518,35226771,35230937,35233099,35234212,35236488,35240464,35245085,35252974,35256434,35261739, 35149307,35152356,35155242,35159810,35163123,35166200,35167065,35168207,35174840,35176935,35178862,35182525,35185974,35189167,35189906,35193064,35196706,35198913,35202514,35207380,35210579,35212635,35219339,35222572,35224635,35226836,35231014,35233200,35234281,35236629,35240585,35245121,35253015,35256491,35261995, 0 AQR cmpl cmpl 0,0,2,0,0,2,0,0,0,0,2,0,0,2,2,0,1,1,2,1,0,2,0,0,0,1,2,0,0,0,2,2,0,0,0, 831 NM_006781 chr6 - 32260474 32339689 32260757 32339483 23 32260474,32267698,32268456,32270385,32290262,32290893,32291367,32298365,32299810,32303213,32303688,32304391,32306755,32307376,32317516,32322900,32323425,32333943,32334049,32335701,32336558,32337673,32339470, 32261812,32267713,32268477,32270406,32290283,32290914,32291391,32298386,32299831,32303234,32303709,32304412,32306776,32307415,32317606,32322921,32323446,32333964,32334079,32335734,32336591,32337760,32339689, 0 C6orf10 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 602 NM_001286625 chr16 - 2303116 2317338 2303964 2314644 8 2303116,2305585,2312278,2312740,2313096,2314176,2314573,2317175, 2304064,2305727,2312432,2312843,2313288,2314332,2314761,2317338, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0,-1, 602 NM_001286626 chr16 - 2303116 2318413 2303964 2318057 7 2303116,2305585,2312278,2312740,2313096,2314176,2318055, 2304064,2305727,2312432,2312843,2313288,2314332,2318413, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0, 1060 NM_001283010 chr20 + 62289162 62327606 62298876 62327138 34 62289162,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289812,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62326833,62327606, 0 RTEL1 cmpl cmpl -1,-1,-1,-1,-1,-1,0,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,1, 631 NM_001271700 chr7 + 6071006 6076183 6071006 6076017 3 6071006,6072469,6075074, 6071222,6072567,6076183, 0 ANKRD61 cmpl cmpl 0,0,2, 132 NM_001012664 chr11 + 62623483 62656355 62623741 62656165 10 62623483,62648490,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62623853,62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,1,0,0,2,0,0,0, 132 NM_001012662 chr11 + 62623483 62656355 62623741 62656165 12 62623483,62639048,62644255,62648490,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62623853,62639141,62644351,62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,1,1,1,0,0,2,0,0,0, 817 NM_001012644 chr20 - 30448869 30457801 30449205 30450499 7 30448869,30450373,30451709,30452755,30454873,30457366,30457612, 30449478,30450545,30451784,30452805,30454956,30457400,30457801, 0 DUSP15 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1737 NM_001011550 chrX + 151086759 151093642 151092136 151093090 3 151086759,151091924,151092071, 151086828,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1737 NM_001011549 chrX + 151085396 151093642 151092136 151093090 3 151085396,151091924,151092071, 151085474,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1737 NM_001011548 chrX + 151081360 151093642 151092136 151093090 3 151081360,151091924,151092071, 151081441,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1761 NM_001010979 chr1 - 154171561 154178841 154171902 154178783 4 154171561,154172934,154178073,154178750, 154172004,154173064,154178114,154178841, 0 C1orf189 cmpl cmpl 0,2,0,0, 14 NM_001123067 chr17 + 43971747 44105699 44039703 44101537 11 43971747,44039686,44049224,44055740,44064405,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44055806,44064461,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,0,1,0,0,1,0, 953 NM_001040084 chr10 + 48255203 48271368 48255428 48270515 12 48255203,48259473,48260734,48262167,48263039,48263789,48264357,48264963,48265296,48267170,48267977,48270455, 48255449,48259564,48260829,48262281,48263130,48263869,48264417,48265057,48265392,48267229,48268100,48271368, 0 ANXA8 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 944 NM_001040084 chr10 - 47157983 47174143 47158836 47173918 12 47157983,47161250,47162121,47163958,47164293,47164933,47165481,47166220,47167069,47168521,47169786,47173897, 47158896,47161373,47162180,47164054,47164387,47164993,47165561,47166311,47167183,47168616,47169877,47174143, 0 ANXA8 cmpl cmpl 0,0,1,1,0,0,1,0,0,1,0,0, 633 NM_001033055 chr17 - 6327056 6338519 6328779 6338424 5 6327056,6329934,6330200,6331637,6338328, 6329150,6330076,6330377,6331826,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0, 2172 NM_001025109 chr1 - 208059882 208084683 208061082 208084425 8 208059882,208062026,208062505,208062809,208070837,208072317,208073165,208084346, 208061268,208062191,208062558,208062966,208070918,208072571,208073348,208084683, 0 CD34 cmpl cmpl 0,0,1,0,0,1,1,0, 1727 NM_001005464 chr1 - 149812258 149812765 149812318 149812729 1 149812258, 149812765, 0 HIST2H3A cmpl cmpl 0, 1728 NM_001005464 chr1 + 149824180 149824687 149824216 149824627 1 149824180, 149824687, 0 HIST2H3A cmpl cmpl 0, 726 NM_001261382 chr11 - 18552949 18610293 18553866 18610201 11 18552949,18555876,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18600270,18610159, 18554034,18556000,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18600355,18610293, 0 UEVLD cmpl cmpl 0,2,1,1,1,0,1,0,1,0,0, 11 NM_006157 chr11 + 20691096 21597229 20691269 21596568 20 20691096,20699477,20805225,20869128,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21555919,21581734,21592309,21594730,21596517, 20691324,20699606,20805376,20869299,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21556060,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,2,2,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0, 690 NM_001010847 chr1 - 13801444 13840242 13802313 13840088 2 13801444,13839457, 13802567,13840242, 0 LRRC38 cmpl cmpl 1,0, 148 NM_001009811 chr17 - 79163392 79196751 79163568 79193856 25 79163392,79163714,79164438,79164706,79164992,79166117,79166275,79167725,79168669,79169634,79170500,79170729,79171511,79171914,79172676,79173180,79173518,79174128,79176039,79177293,79180543,79180924,79182727,79193679,79196568, 79163643,79163775,79164602,79164884,79165135,79166192,79166393,79167927,79168772,79169751,79170626,79170855,79171688,79172097,79172771,79173349,79173635,79174246,79176198,79177407,79180671,79181039,79182822,79193873,79196751, 0 AZI1 cmpl cmpl 0,2,0,2,0,0,2,1,0,0,0,0,0,0,1,0,0,2,2,2,0,2,0,0,-1, 784 NM_001003894 chrY - 26191939 26194161 26192212 26193835 1 26191939, 26194161, 0 CDY1B cmpl cmpl 0, 796 NM_001003894 chrY + 27768263 27770485 27768589 27770212 1 27768263, 27770485, 0 CDY1B cmpl cmpl 0, 1632 NM_001008783 chr6 + 137243401 137246776 137243566 137245834 2 137243401,137245022, 137244005,137246776, 0 SLC35D3 cmpl cmpl 0,1, 1415 NM_001008743 chr2 + 108863650 108881807 108863650 108881807 7 108863650,108868820,108869800,108872027,108875189,108881280,108881694, 108863822,108868949,108869898,108872154,108875284,108881461,108881807, 0 SULT1C3 cmpl cmpl 0,1,1,0,1,0,1, 172 NM_001008219 chr1 + 104198302 104207172 104198952 104207142 11 104198302,104198906,104199465,104200415,104201061,104202031,104202981,104203198,104205278,104205507,104206952, 104198550,104199120,104199612,104200613,104201292,104202165,104203104,104203298,104205397,104205633,104207172, 0 AMY1C cmpl cmpl -1,0,0,0,0,0,2,2,0,2,2, 811 NM_001008228 chr6 + 29624757 29640149 29624986 29638962 8 29624757,29627095,29633928,29635419,29635680,29637950,29638477,29638948, 29625074,29627443,29634042,29635440,29635701,29637998,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 811 NM_001008229 chr6 + 29624757 29640149 29624986 29639227 6 29624757,29627095,29633928,29635419,29635680,29639198, 29625074,29627443,29634042,29635440,29635701,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1, 738 NM_001008237 chr2 - 20096513 20101744 20096747 20101615 3 20096513,20097629,20101466, 20096887,20097796,20101744, 0 TTC32 cmpl cmpl 1,2,0, 671 NM_001282710 chr2 + 11295497 11318998 11295672 11317954 6 11295497,11300591,11300750,11304329,11312050,11317862, 11295815,11300674,11300820,11304387,11312171,11318998, 0 PQLC3 cmpl cmpl 0,2,1,2,0,1, 613 NM_001258429 chr20 - 3734145 3748452 3734704 3740747 6 3734145,3735043,3736115,3739182,3740728,3748309, 3734805,3735166,3736254,3739325,3740833,3748452, 0 C20orf27 cmpl cmpl 1,1,0,1,0,-1, 969 NR_047577 chr19 - 50392912 50432796 50432796 50432796 11 50392912,50394227,50394661,50397524,50398324,50399071,50399404,50404895,50407455,50430950,50432582, 50393857,50394364,50394730,50397726,50398437,50399310,50399439,50405078,50407578,50431072,50432796, 0 IL4I1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1285 NM_194454 chr7 - 91828282 91875228 91830049 91871449 19 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91875103, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874485,91875228, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1, 980 NM_001272062 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4 cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 20 NM_001510 chr4 + 93225549 94695706 93225807 94693649 16 93225549,93511281,94006145,94031898,94128554,94137888,94145764,94159521,94316757,94343921,94376812,94411789,94436366,94547419,94690360,94693226, 93225895,93511437,94006430,94032104,94128608,94138062,94145926,94159641,94316859,94344119,94377125,94411928,94436562,94547586,94690601,94695706, 0 GRID2 cmpl cmpl 0,1,1,1,0,0,0,0,0,0,0,1,2,0,2,0, 20 NM_001286838 chr4 + 93225549 94695706 93225807 94693649 15 93225549,93511281,94031898,94128554,94137888,94145764,94159521,94316757,94343921,94376812,94411789,94436366,94547419,94690360,94693226, 93225895,93511437,94032104,94128608,94138062,94145926,94159641,94316859,94344119,94377125,94411928,94436562,94547586,94690601,94695706, 0 GRID2 cmpl cmpl 0,1,1,0,0,0,0,0,0,0,1,2,0,2,0, 1530 NR_104103 chr12 + 123942650 123956909 123956909 123956909 2 123942650,123955638, 123942763,123956909, 0 SNRNP35 unk unk -1,-1, 1759 NM_001271960 chr1 - 153931574 153940660 153932573 153935191 5 153931574,153934695,153935004,153936072,153940559, 153933230,153934826,153935223,153936179,153940660, 0 SLC39A1 cmpl cmpl 0,1,0,-1,-1, 1759 NM_001271958 chr1 - 153931574 153936117 153932573 153935191 4 153931574,153934695,153935004,153935970, 153933230,153934826,153935223,153936117, 0 SLC39A1 cmpl cmpl 0,1,0,-1, 1759 NM_001271957 chr1 - 153931574 153935844 153932573 153935191 4 153931574,153934695,153935004,153935534, 153933230,153934826,153935223,153935844, 0 SLC39A1 cmpl cmpl 0,1,0,-1, 167 NR_104627 chr9 - 99075718 99145992 99145992 99145992 13 99075718,99083279,99084279,99086372,99098998,99106185,99107580,99113384,99114319,99122435,99126745,99130553,99145758, 99077181,99083623,99084362,99086451,99099066,99106278,99107683,99113453,99114391,99122503,99126832,99130587,99145992, 0 SLC35D2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1759 NM_001271961 chr1 - 153931574 153936117 153933066 153935191 3 153931574,153935004,153935970, 153933230,153935223,153936117, 0 SLC39A1 cmpl cmpl 1,0,-1, 1759 NM_001271959 chr1 - 153931574 153935968 153932573 153935191 4 153931574,153934695,153935004,153935652, 153933230,153934826,153935223,153935968, 0 SLC39A1 cmpl cmpl 0,1,0,-1, 136 NM_001287060 chr7 + 66147077 66276448 66260560 66274271 10 66147077,66177153,66204982,66236869,66240213,66260497,66262360,66264309,66270126,66273872, 66147245,66177211,66205779,66237065,66240380,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl -1,-1,-1,-1,-1,0,1,2,1,0, 1090 NM_001287062 chr7 + 66205642 66276448 66236886 66274271 10 66205642,66233817,66236869,66240213,66248661,66260497,66262360,66264309,66270126,66273872, 66205779,66234012,66237065,66240380,66248828,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl -1,-1,0,2,1,0,1,2,1,0, 1090 NM_001287061 chr7 + 66220868 66276448 66221039 66274271 9 66220868,66236869,66240213,66248661,66260497,66262360,66264309,66270126,66273872, 66221064,66237065,66240380,66248828,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl 0,1,2,1,0,1,2,1,0, 1241 NR_105017 chr5 + 86042634 86045589 86045589 86045589 3 86042634,86044932,86045138, 86042884,86044990,86045589, 0 LOC100505878 unk unk -1,-1,-1, 1605 NR_105044 chr5 - 133764741 133770738 133770738 133770738 3 133764741,133765575,133770680, 133765321,133765642,133770738, 0 LOC102546229 unk unk -1,-1,-1, 1354 NM_001287147 chr7 - 100839011 100844302 100839203 100844135 6 100839011,100841471,100841906,100843514,100843688,100844026, 100839381,100841646,100842111,100843585,100843796,100844302, 0 MOGAT3 cmpl cmpl 2,1,0,1,1,0, 200 NM_001161345 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133446204,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428320,133430159,133433216,133434145,133435813,133438220,133446420,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 874 NR_106790 chr1 + 37945830 37945890 37945890 37945890 1 37945830, 37945890, 0 MIR6732 unk unk -1, 1695 NR_106794 chr1 + 145584422 145584481 145584481 145584481 1 145584422, 145584481, 0 MIR6736 unk unk -1, 1759 NR_106795 chr1 - 153934826 153934896 153934896 153934896 1 153934826, 153934896, 0 MIR6737 unk unk -1, 2124 NR_106797 chr1 + 201832500 201832575 201832575 201832575 1 201832500, 201832575, 0 MIR6739 unk unk -1, 632 NR_039698 chr10 - 6194169 6194225 6194225 6194225 1 6194169, 6194225, 0 MIR3155B unk unk -1, 1328 NR_107016 chr11 - 97490875 97490895 97490895 97490895 1 97490875, 97490895, 0 MIR7976 unk unk -1, 1309 NR_106998 chr12 - 94965006 94965128 94965128 94965128 1 94965006, 94965128, 0 MIR7844 unk unk -1, 1529 NR_107039 chr12 - 123849310 123849390 123849390 123849390 1 123849310, 123849390, 0 MIR8072 unk unk -1, 1154 NM_001287181 chr15 + 74610881 74628482 74610930 74627513 8 74610881,74622529,74623003,74623321,74623543,74625019,74626221,74627315, 74610999,74622695,74623092,74623453,74623637,74625186,74626308,74628482, 0 CCDC33 cmpl cmpl 0,0,1,0,0,1,0,0, 1154 NM_182791 chr15 + 74610881 74628482 74610930 74627513 9 74610881,74622529,74623003,74623321,74623543,74625019,74625561,74626221,74627315, 74610999,74622695,74623092,74623453,74623637,74625186,74625663,74626308,74628482, 0 CCDC33 cmpl cmpl 0,0,1,0,0,1,0,0,0, 699 NR_107060 chr16 + 15024676 15024736 15024736 15024736 1 15024676, 15024736, 0 MIR6770-2 unk unk -1, 710 NR_107060 chr16 + 16423161 16423221 16423221 16423221 1 16423161, 16423221, 0 MIR6770-2 unk unk -1, 725 NR_107060 chr16 - 18473207 18473267 18473267 18473267 1 18473207, 18473267, 0 MIR6770-2 unk unk -1, 877 NR_106926 chr17 + 38318185 38318254 38318254 38318254 1 38318185, 38318254, 0 MIR6866 unk unk -1, 700 NR_107036 chr21 + 15096509 15096595 15096595 15096595 1 15096509, 15096595, 0 MIR8069 unk unk -1, 896 NR_106763 chr21 + 40818935 40818995 40818995 40818995 1 40818935, 40818995, 0 MIR6508 unk unk -1, 942 NR_106873 chr21 + 46898179 46898240 46898240 46898240 1 46898179, 46898240, 0 MIR6815 unk unk -1, 883 NR_106880 chr3 + 39179696 39179757 39179757 39179757 1 39179696, 39179757, 0 MIR6822 unk unk -1, 956 NR_106882 chr3 - 48671068 48671131 48671131 48671131 1 48671068, 48671131, 0 MIR6824 unk unk -1, 1522 NR_106960 chr3 + 122880640 122880726 122880726 122880726 1 122880640, 122880726, 0 MIR7110 unk unk -1, 815 NR_106951 chr6 + 30229276 30229317 30229317 30229317 1 30229276, 30229317, 0 MIR6891 unk unk -1, 823 NR_106951 chr6 - 31323000 31323093 31323093 31323093 1 31323000, 31323093, 0 MIR6891 unk unk -1, 826 NR_106890 chr6 + 31601563 31601635 31601635 31601635 1 31601563, 31601635, 0 MIR6832 unk unk -1, 830 NR_106779 chr6 - 32137806 32137893 32137893 32137893 1 32137806, 32137893, 0 MIR6721 unk unk -1, 855 NR_106961 chr6 + 35438284 35438356 35438356 35438356 1 35438284, 35438356, 0 MIR7111 unk unk -1, 1220 NR_107016 chr7 - 83246715 83246737 83246737 83246737 1 83246715, 83246737, 0 MIR7976 unk unk -1, 794 NR_106902 chr8 - 27468117 27468268 27468268 27468268 1 27468117, 27468268, 0 MIR6843 unk unk -1, 901 NR_106984 chr8 + 41517961 41518025 41518025 41518025 1 41517961, 41518025, 0 MIR486-2 unk unk -1, 1695 NR_106907 chr8 - 145540908 145540978 145540978 145540978 1 145540908, 145540978, 0 MIR6848 unk unk -1, 1757 NR_106917 chrX + 153678667 153678734 153678734 153678734 1 153678667, 153678734, 0 MIR6858 unk unk -1, 983 NR_108100 chr19 - 52188615 52196709 52196709 52196709 2 52188615,52195886, 52191754,52196709, 0 SPACA6P-AS unk unk -1,-1, 619 NR_108075 chr3 - 4532000 4534847 4534847 4534847 2 4532000,4534467, 4533052,4534847, 0 ITPR1-AS1 unk unk -1,-1, 693 NR_108096 chr6 - 14280357 14285685 14285685 14285685 3 14280357,14284175,14285286, 14283419,14284411,14285685, 0 LINC01108 unk unk -1,-1,-1, 693 NR_108097 chr6 - 14280357 14285685 14285685 14285685 2 14280357,14285286, 14283419,14285685, 0 LINC01108 unk unk -1,-1, 649 NR_104213 chr19 + 8429010 8439259 8439259 8439259 3 8429010,8430837,8439076, 8429523,8430948,8439259, 0 ANGPTL4 unk unk -1,-1,-1, 681 NM_001271989 chr18 - 12672625 12702776 12673363 12702547 11 12672625,12674534,12678107,12680660,12686260,12691357,12695252,12697221,12699828,12700956,12702484, 12673502,12674752,12678441,12680827,12686449,12691486,12695350,12697407,12699904,12701112,12702776, 0 CEP76 cmpl cmpl 2,0,2,0,0,0,1,1,0,0,0, 167 NM_001286990 chr9 - 99082987 99145992 99083523 99145916 9 99082987,99084279,99086372,99113384,99114319,99122435,99126745,99130553,99145758, 99083623,99084362,99086451,99113453,99114391,99122503,99126832,99130587,99145992, 0 SLC35D2 cmpl cmpl 2,0,2,2,2,0,0,2,0, 2335 NM_001271998 chr1 + 229406808 229441640 229431644 229438724 6 229406808,229431594,229433266,229434723,229438608,229439552, 229407117,229431657,229433383,229434819,229438736,229441640, 0 RAB4A cmpl cmpl -1,0,1,1,1,-1, 726 NM_001040697 chr11 - 18552949 18610293 18553866 18610201 12 18552949,18555876,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18596893,18600270,18610159, 18554034,18556000,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18596959,18600355,18610293, 0 UEVLD cmpl cmpl 0,2,1,1,1,0,1,0,1,1,0,0, 1926 NM_001287335 chr5 - 175773063 175788810 175774602 175779715 6 175773063,175774923,175775252,175777615,175779624,175788604, 175774811,175775066,175775359,175777740,175779751,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,-1, 1776 NM_001272105 chr1 - 156213111 156217908 156213919 156216522 9 156213111,156214551,156214932,156215325,156215572,156215913,156216480,156217300,156217747, 156214194,156214702,156215029,156215452,156215778,156216041,156216547,156217423,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,2,0,0,-1,-1, 1776 NM_001272104 chr1 - 156213111 156217908 156213919 156216522 8 156213111,156214551,156214932,156215325,156215572,156215913,156216471,156217705, 156214194,156214702,156215029,156215452,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,2,0,0,-1, 190 NM_001272039 chr9 - 123151146 123342448 123151513 123342256 35 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123230275,123232495,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 cmpl cmpl 0,1,0,0,1,1,1,2,1,1,1,2,1,2,1,1,0,0,1,2,0,0,0,0,0,0,0,2,0,2,0,0,1,2,0, 1574 NM_001282190 chr7 - 129658125 129691291 129658503 129691097 11 129658125,129662158,129663350,129664102,129665997,129668741,129679303,129680790,129688872,129690282,129691060, 129658572,129662365,129663563,129664346,129666152,129668869,129679387,129680941,129688984,129690328,129691291, 0 ZC3HC1 cmpl cmpl 0,0,0,2,0,1,1,0,2,1,0, 1562 NR_109833 chr8 + 128092118 128104840 128104840 128104840 1 128092118, 128104840, 0 PRNCR1 unk unk -1, 1564 NR_109834 chr8 + 128412643 128414395 128414395 128414395 1 128412643, 128414395, 0 CCAT2 unk unk -1, 125 NM_001287746 chr6 - 55299170 55444012 55300459 55381401 10 55299170,55304231,55360216,55364033,55378845,55381305,55406526,55406857,55428616,55443745, 55300561,55304357,55360405,55364097,55378994,55381401,55406634,55406938,55428712,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,-1,-1,-1,-1, 601 NM_001287682 chr20 + 2187573 2193797 2187790 2193566 2 2187573,2193554, 2188165,2193797, 0 LOC388780 cmpl cmpl 0,0, 1813 NM_001276373 chr1 - 161009040 161014727 161009709 161013065 11 161009040,161009991,161010365,161010603,161011113,161011440,161011905,161012344,161012622,161013057,161014701, 161009799,161010120,161010460,161010662,161011201,161011636,161012007,161012460,161012672,161013150,161014727, 0 USF1 cmpl cmpl 0,0,1,2,1,0,0,1,2,0,-1, 141 NM_001126044 chr1 - 71418114 71513491 71419468 71513260 5 71418114,71419445,71439979,71477987,71512363, 71418742,71419472,71440071,71478167,71513491, 0 PTGER3 cmpl cmpl -1,2,0,0,0, 198 NM_001287390 chr9 - 131595220 131644354 131595862 131609807 15 131595220,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131608958,131609711,131644175, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131600646,131605080,131607690,131609138,131609922,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,0,2,0,0,0,-1, 87 NM_001277323 chr16 + 14805545 14820195 14805545 14820150 8 14805545,14809924,14813683,14813946,14817048,14818174,14818344,14819739, 14805608,14810053,14813783,14814091,14817156,14818235,14818380,14820195, 0 NPIPA3 cmpl cmpl 0,0,0,1,2,2,0,0, 698 NM_001277323 chr16 + 14844669 14859315 14844669 14859270 8 14844669,14849048,14852803,14853066,14856168,14857294,14857464,14858859, 14844732,14849177,14852903,14853211,14856276,14857355,14857500,14859315, 0 NPIPA3 cmpl cmpl 0,0,0,1,2,2,0,0, 103 NM_016082 chr20 - 31946644 31989375 31946848 31989364 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984742,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,2,0, 952 NM_001098531 chr12 - 48128452 48152889 48131349 48152339 28 48128452,48131804,48131975,48132472,48132925,48133923,48134087,48134424,48134697,48135287,48137312,48137769,48140642,48141326,48141494,48141856,48142236,48142601,48143172,48143523,48143712,48144123,48144830,48145181,48145505,48145698,48151648,48152333, 48131468,48131876,48132030,48132537,48133013,48133974,48134178,48134606,48134823,48135385,48137459,48137851,48140682,48141409,48141645,48141935,48142325,48142714,48143319,48143600,48143773,48144208,48144999,48145303,48145612,48145752,48151861,48152889, 0 RAPGEF3 cmpl cmpl 1,1,0,1,0,0,2,0,0,1,1,0,2,0,2,1,2,0,0,1,0,2,1,2,0,0,0,0, 125 NR_109867 chr6 - 55376872 55444012 55444012 55444012 4 55376872,55406526,55406857,55443745, 55378994,55406634,55406938,55444012, 0 HMGCLL1 unk unk -1,-1,-1,-1, 1878 NM_001277128 chr3 - 169557028 169587723 169557769 169587595 8 169557028,169565907,169569406,169572600,169574123,169574492,169579457,169587420, 169558101,169566075,169569574,169572768,169574291,169574660,169579601,169587723, 0 LRRC31 cmpl cmpl 1,1,1,1,1,1,1,0, 2042 NM_033178 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4 cmpl cmpl 0, 1618 NM_033178 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4 cmpl cmpl 0,0, 893 NM_001287808 chr1 + 40420783 40435640 40430997 40435240 12 40420783,40430882,40431142,40431528,40432272,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl -1,0,0,1,0,1,0,0,0,2,2,2, 893 NM_001287809 chr1 + 40420783 40435640 40420964 40435240 14 40420783,40422869,40424372,40430882,40431142,40431528,40432278,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl 0,0,0,2,0,1,0,1,0,0,0,2,2,2, 1341 NM_032327 chr10 + 99205887 99217127 99211432 99216648 11 99205887,99211427,99211846,99212171,99212651,99213286,99213555,99214470,99215416,99215730,99216533, 99206110,99211675,99212041,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,1,0,0,2,0,2, 1341 NM_198044 chr10 + 99205887 99217127 99211432 99216648 10 99205887,99211427,99211846,99212171,99213374,99213555,99214470,99215416,99215730,99216533, 99206110,99211675,99212041,99212260,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,0,0,2,0,2, 1341 NR_109895 chr10 + 99205887 99217127 99217127 99217127 9 99205887,99212171,99212651,99213286,99213555,99214470,99215470,99215730,99216533, 99206110,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 897 NM_001277731 chr17 + 41003200 41010147 41003360 41008310 3 41003200,41006464,41008291, 41004960,41006750,41010147, 0 AOC3 cmpl cmpl 0,1,2, 1094 NM_001287821 chr15 + 66797420 66841822 66811238 66839017 19 66797420,66801083,66806325,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66801230,66806421,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl -1,-1,-1,-1,0,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 1094 NM_001287822 chr15 + 66797420 66841822 66811238 66839017 18 66797420,66801083,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66801230,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl -1,-1,-1,0,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 1254 NR_105020 chr5 + 87688011 87732491 87732491 87732491 3 87688011,87705889,87732089, 87688159,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1, 156 NR_105019 chr5 + 87564832 87732491 87732491 87732491 8 87564832,87566342,87577858,87583252,87587200,87588384,87705889,87732089, 87564936,87566402,87577923,87583439,87587293,87588460,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1089 NR_104676 chr7 + 66147077 66150679 66150679 66150679 2 66147077,66150346, 66147245,66150679, 0 RABGEF1 unk unk -1,-1, 704 NM_001288646 chr17 + 15602890 15624100 15619374 15620604 6 15602890,15603448,15604465,15609700,15611468,15619313, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,-1,0, 704 NM_001288647 chr17 + 15602890 15624100 15619374 15620604 5 15602890,15603448,15604465,15611468,15619313, 15603091,15603680,15604554,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,0, 704 NM_001288649 chr17 + 15602890 15624100 15619374 15620604 4 15602890,15609790,15611468,15619313, 15603091,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,0, 103 NM_001278168 chr20 - 31946644 31989375 31946848 31984870 13 31946644,31948156,31954664,31958304,31960447,31961920,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31973576,31975339,31980048,31981872,31982922,31984890,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,2,1,2,0,1,0,-1, 1099 NM_001278215 chr1 + 67390577 67413923 67394586 67411993 5 67390577,67391824,67394572,67405710,67411832, 67390778,67391925,67394646,67405735,67413923, 0 MIER1 cmpl cmpl -1,-1,0,0,1, 979 NM_001278195 chr3 + 51705190 51738339 51708320 51738032 6 51705190,51706225,51708286,51718428,51733421,51737739, 51705304,51706317,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,-1,0,0,0,1, 1127 NR_109769 chr9 - 71158456 71161518 71161518 71161518 4 71158456,71160416,71160632,71161474, 71158519,71160540,71160752,71161518, 0 RP11-274B18.2 unk unk -1,-1,-1,-1, 111 NM_001278361 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40214283,40244333,40244797, 40198920,40214411,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 796 NR_046548 chr13 + 27746395 27757640 27757640 27757640 2 27746395,27756970, 27746509,27757640, 0 USP12-AS2 unk unk -1,-1, 11 NM_001288713 chr11 + 20691096 21597229 20691269 21596568 21 20691096,20696034,20699477,20805225,20869128,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21555919,21581734,21592309,21594730,21596517, 20691324,20696118,20699606,20805376,20869299,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21556060,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,1,2,2,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0, 11 NM_201551 chr11 + 20691096 21597229 20691269 21596568 19 20691096,20699477,20805225,20869128,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21581734,21592309,21594730,21596517, 20691324,20699606,20805376,20869299,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,2,2,0,1,0,0,1,0,1,1,1,1,1,0,0,0, 111 NM_001278367 chr4 + 40194586 40246384 40245006 40245582 3 40194586,40244333,40244797, 40194743,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 111 NM_001278365 chr4 + 40194586 40246384 40245006 40245582 4 40194586,40198720,40244333,40244797, 40194743,40198920,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 111 NM_001278363 chr4 + 40198526 40246384 40245006 40245582 3 40198526,40244333,40244797, 40198920,40244466,40246384, 0 RHOH cmpl cmpl -1,-1,0, 1926 NR_109797 chr5 - 175773063 175788810 175788810 175788810 5 175773063,175774923,175775252,175786483,175788604, 175774811,175775066,175775359,175786570,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1, 1926 NR_109796 chr5 - 175773063 175788810 175788810 175788810 5 175773063,175774923,175775252,175777615,175788604, 175774811,175775066,175775359,175777735,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1, 1926 NR_109800 chr5 - 175773063 175788810 175788810 175788810 5 175773063,175774923,175775252,175786813,175788604, 175774811,175775066,175775359,175786921,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1, 1926 NR_109799 chr5 - 175773063 175788810 175788810 175788810 6 175773063,175774923,175775252,175786483,175786813,175788604, 175774811,175775066,175775359,175786570,175786921,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1,-1, 1926 NR_109798 chr5 - 175773063 175788810 175788810 175788810 6 175773063,175774923,175775252,175777615,175786813,175788604, 175774811,175775066,175775359,175777740,175786921,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1,-1, 635 NM_001278442 chr11 + 6624937 6632105 6629974 6631842 12 6624937,6625455,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,-1,-1,0,1,1,0,2,1,0,1,0, 635 NM_001278441 chr11 + 6624937 6632105 6625501 6631842 11 6624937,6625409,6629275,6629623,6630114,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629441,6629719,6630198,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,0,2,0,0,0,2,1,0,1,0, 120 NM_001278438 chr13 + 49550744 49783915 49580326 49781531 26 49550744,49580287,49649424,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49551053,49580425,49649500,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765256,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 649 NR_109913 chr6 - 8413299 8435800 8435800 8435800 12 8413299,8415140,8417116,8417634,8418976,8419812,8420953,8422702,8428169,8430096,8434617,8435460, 8413932,8415210,8417228,8417727,8419118,8419910,8421061,8422857,8428291,8430390,8434663,8435800, 0 SLC35B3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 198 NR_109829 chr9 - 131595220 131644354 131644354 131644354 13 131595220,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131644175, 131595922,131596105,131597681,131597946,131598147,131598384,131599201,131600092,131600416,131600646,131605080,131607690,131644354, 0 CCBL1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 621 NR_110112 chr12 - 4809582 4829268 4829268 4829268 4 4809582,4812478,4813343,4829030, 4810345,4812606,4813463,4829268, 0 RP11-234B24.2 unk unk -1,-1,-1,-1, 838 NM_001288777 chr6 + 33168602 33172214 33169113 33171590 8 33168602,33169018,33169537,33169848,33170039,33170336,33170686,33171317, 33168715,33169165,33169690,33169902,33170204,33170477,33170883,33172214, 0 SLC39A7 cmpl cmpl -1,0,1,1,1,1,1,0, 108 NM_001278481 chr13 - 37583450 37633850 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633695, 37583946,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619513,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 108 NM_001278480 chr13 - 37583450 37633850 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633695, 37583946,37586434,37591501,37593534,37595739,37596454,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619510,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 1040 NR_109919 chr20 + 59654119 59655235 59655235 59655235 2 59654119,59655035, 59654386,59655235, 0 LOC100506470 unk unk -1,-1, 597 NR_110090 chr20 + 1614153 1629119 1629119 1629119 3 1614153,1617851,1626681, 1614366,1617996,1629119, 0 RP11-77C3.3 unk unk -1,-1,-1, 649 NR_109914 chr6 - 8413299 8435800 8435800 8435800 9 8413299,8415140,8417116,8417634,8419812,8420953,8428169,8430096,8435174, 8413932,8415210,8417228,8417727,8419910,8421061,8428291,8430390,8435800, 0 SLC35B3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1725 NR_109969 chr5 - 149432853 149466203 149466203 149466203 20 149432853,149433884,149434799,149435588,149435781,149436849,149437066,149440424,149441053,149441285,149447777,149449435,149449744,149450018,149452863,149456838,149457674,149459614,149460329,149465941, 149433787,149433993,149434899,149435700,149435904,149436947,149437155,149440535,149441158,149441412,149447893,149449626,149449865,149450134,149453056,149456998,149457811,149459899,149460587,149466203, 0 CSF1R unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 960 NR_110020 chr12 + 49183358 49184318 49184318 49184318 3 49183358,49183767,49184095, 49183473,49183902,49184318, 0 RP11-579D7.4 unk unk -1,-1,-1, 1156 NR_024203 chr10 - 74894281 74927853 74927853 74927853 12 74894281,74896461,74897760,74899066,74899388,74906033,74908033,74912050,74916032,74916325,74920191,74927623, 74894571,74896676,74897828,74899253,74899495,74906119,74908162,74912179,74916211,74916413,74920309,74927853, 0 ECD unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1689 NM_001288805 chr8 + 144766621 144777555 144772278 144776700 8 144766621,144769086,144770163,144770831,144772226,144773242,144773769,144775840, 144766712,144769184,144770237,144771471,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,-1,-1,0,0,1,1, 1689 NM_001288806 chr8 + 144766621 144777555 144772278 144776700 6 144766621,144769086,144772226,144773242,144773769,144775840, 144766712,144769184,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,0,0,1,1, 1689 NM_001288807 chr8 + 144766621 144777555 144774463 144776700 6 144766621,144772226,144773242,144773769,144774414,144775840, 144766712,144772293,144773369,144773883,144774500,144777555, 0 ZNF707 cmpl cmpl -1,-1,-1,-1,0,1, 1689 NM_001288808 chr8 + 144766621 144777555 144773335 144776700 4 144766621,144773242,144773769,144775840, 144766712,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,0,1,1, 1689 NM_001288809 chr8 + 144766621 144777555 144773335 144776700 4 144766621,144773068,144773769,144775840, 144766712,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,0,1,1, 1689 NR_110190 chr8 + 144766621 144777555 144777555 144777555 5 144766621,144772226,144773242,144773769,144775840, 144766712,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1, 1689 NR_110193 chr8 + 144766621 144777555 144777555 144777555 6 144766621,144771373,144772226,144773242,144773769,144775840, 144766712,144771471,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1,-1, 931 NR_110050 chr14 - 45368110 45381120 45381120 45381120 3 45368110,45368432,45380959, 45368279,45368516,45381120, 0 RP11-857B24.5 unk unk -1,-1,-1, 109 NM_016531 chr4 + 38665789 38703129 38682246 38698884 6 38665789,38682207,38690205,38691349,38696366,38698702, 38666082,38682303,38690692,38691500,38696527,38703129, 0 KLF3 cmpl cmpl -1,0,0,1,2,1, 893 NM_001195522 chrX + 40482817 40483391 40482817 40483228 1 40482817, 40483391, 0 MPC1L cmpl cmpl 0, 178 NM_001278556 chr12 - 110872694 110888216 110872959 110888065 7 110872694,110873914,110874361,110874888,110878116,110883256,110888059, 110873022,110874009,110874488,110874957,110878193,110883356,110888216, 0 ARPC3 cmpl cmpl 0,1,0,0,1,0,0, 120 NM_001278547 chr10 + 49514681 49647402 49609703 49643072 12 49514681,49609654,49612894,49617921,49618072,49628197,49632556,49633930,49634422,49635122,49639235,49642926, 49514864,49609825,49613024,49617980,49618211,49628363,49632628,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl -1,0,2,0,2,0,1,1,1,0,1,1, 1034 NR_110184 chr11 - 58901445 58910281 58910281 58910281 4 58901445,58903529,58907429,58910087, 58903061,58903754,58907640,58910281, 0 AP001258.4 unk unk -1,-1,-1,-1, 1106 NM_001278515 chr18 - 68297754 68318093 68297795 68317947 3 68297754,68309780,68317845, 68297925,68309959,68318093, 0 GTSCR1 cmpl cmpl 2,0,0, 1365 NR_110212 chr1 - 102268122 102312636 102312636 102312636 7 102268122,102271631,102277965,102290581,102296227,102302434,102312400, 102270471,102271738,102278702,102290801,102296383,102302581,102312636, 0 OLFM3 unk unk -1,-1,-1,-1,-1,-1,-1, 170 NR_110211 chr1 - 102268122 102462790 102462790 102462790 7 102268122,102271631,102277965,102290581,102296227,102302434,102462303, 102270471,102271738,102278702,102290801,102296383,102302581,102462790, 0 OLFM3 unk unk -1,-1,-1,-1,-1,-1,-1, 170 NR_110210 chr1 - 102268122 102462790 102462790 102462790 8 102268122,102271631,102277965,102290581,102296227,102302434,102433075,102462303, 102270471,102271738,102278702,102290801,102296383,102302581,102433136,102462790, 0 OLFM3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1689 NR_110192 chr8 + 144766621 144777555 144777555 144777555 5 144766621,144772226,144773242,144773766,144775840, 144766712,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1, 1689 NR_110191 chr8 + 144766621 144777555 144777555 144777555 6 144766621,144769550,144772226,144773242,144773769,144775840, 144766712,144769648,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1,-1, 1054 NM_080750 chr20 + 61475917 61477543 61477015 61477252 1 61475917, 61477543, 0 DPH3P1 cmpl cmpl 0, 885 NM_001006666 chr22 + 39436672 39440428 39436965 39440222 3 39436672,39438941,39440087, 39436982,39439095,39440428, 0 APOBEC3F cmpl cmpl 0,2,0, 633 NM_001033054 chr17 - 6327056 6338519 6328779 6338424 5 6327056,6329934,6330200,6337238,6338328, 6329150,6330076,6330377,6337418,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0, 925 NM_001006607 chr17 + 44590075 44633014 44590078 44632945 14 44590075,44594727,44597577,44600449,44601169,44617541,44618172,44623620,44625677,44627780,44630765,44632517,44632650,44632896, 44592687,44594799,44597649,44600521,44601250,44617613,44618247,44623739,44627209,44627885,44630815,44632572,44632790,44633014, 0 LRRC37A2 cmpl cmpl 0,2,2,2,2,2,2,2,1,0,0,2,0,2, 928 NM_001102597 chr19 - 45010210 45033548 45010212 45033532 13 45010210,45015087,45015694,45016074,45016925,45016991,45017230,45021006,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45015730,45016136,45016990,45017012,45017348,45021285,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,0,1,2,2,1,1,1,1,1,1,0, 928 NM_001102598 chr19 - 45010210 45033548 45010212 45033532 11 45010210,45015087,45016074,45016925,45016991,45017230,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45016136,45016990,45017012,45017348,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,1,2,2,1,1,1,1,1,0, 786 NM_001004434 chr1 - 26364513 26372604 26365650 26372387 8 26364513,26366267,26368190,26369039,26369888,26370788,26371487,26372337, 26365796,26366402,26368296,26369199,26370042,26370935,26371708,26372604, 0 SLC30A2 cmpl cmpl 1,1,0,2,1,1,2,0, 2432 NM_001004343 chr1 - 242158791 242162385 242159464 242162310 4 242158791,242161815,242162077,242162252, 242159687,242161922,242162133,242162385, 0 MAP1LC3C cmpl cmpl 2,0,1,0, 784 NM_001003895 chrY - 26191376 26194161 26191750 26193835 2 26191376,26192243, 26191823,26194161, 0 CDY1B cmpl cmpl 2,0, 796 NM_001003895 chrY + 27768263 27771048 27768589 27770674 2 27768263,27770601, 27770181,27771048, 0 CDY1B cmpl cmpl 0,2, 873 NM_001002269 chr9 - 37779710 37785089 37780856 37785041 3 37779710,37783910,37784717, 37780877,37784060,37785089, 0 EXOSC3 cmpl cmpl 0,0,0, 1344 NM_001002262 chr10 + 99496877 99520664 99498234 99519057 12 99496877,99498233,99502850,99504485,99508025,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497082,99498431,99502921,99504672,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,1,2,2,1,0,0,1,0,1, 1344 NM_001002261 chr10 + 99498233 99520664 99498234 99519057 12 99498233,99502850,99504485,99508025,99509230,99510087,99511132,99512613,99512794,99517021,99517398,99518992, 99498431,99502921,99504672,99508121,99509343,99510227,99511219,99512634,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl 0,2,1,2,2,1,0,0,0,1,0,1, 106 NM_001001991 chr11 - 35453375 35547579 35453903 35547133 11 35453375,35456059,35457450,35461174,35463028,35489548,35492148,35496177,35513592,35515643,35547060, 35454440,35456352,35457683,35461241,35463241,35489656,35492366,35496292,35513721,35515820,35547579, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,2,1,1,1,0, 918 NM_001001937 chr18 - 43664109 43684199 43664247 43678197 13 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43675018,43678137,43684102, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678245,43684199, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,1,0,0,-1, 1285 NM_001013406 chr7 - 91828282 91875228 91830049 91871449 17 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91864121,91864716,91865726,91866980,91870306,91871347,91874215,91875103, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91864237,91864960,91865856,91867073,91870466,91871451,91874485,91875228, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,0,2,1,1,0,0,-1,-1, 837 NM_001002010 chr7 - 33053724 33102409 33054341 33102332 9 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33102179, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33102409, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,0, 109 NM_001001894 chr21 + 38445570 38575408 38459557 38573875 46 38445570,38459546,38460132,38460495,38461098,38462532,38463592,38466304,38467649,38468880,38480691,38494116,38495282,38496918,38498379,38501302,38504981,38507679,38510933,38512860,38516824,38519780,38520845,38522377,38523119,38524192,38525250,38528956,38532000,38533103,38534291,38536352,38537851,38539856,38544896,38555075,38558006,38559349,38560795,38563634,38564412,38567975,38569870,38570182,38572532,38573740, 38445664,38459701,38460175,38460646,38461186,38462586,38463713,38466390,38467744,38468943,38480746,38494279,38495328,38497042,38498443,38501363,38505066,38507814,38511014,38512973,38516945,38519903,38520947,38522470,38523184,38524329,38525577,38529208,38532047,38533160,38534365,38536517,38538917,38539922,38545046,38555215,38558075,38559446,38560896,38563725,38564514,38568337,38569997,38570326,38572625,38575408, 0 TTC3 cmpl cmpl -1,0,0,1,2,0,0,1,0,2,2,0,1,2,0,1,2,0,0,0,2,0,0,0,0,2,1,1,1,0,0,2,2,0,0,0,2,2,0,2,0,0,2,0,0,0, 128 NM_001001872 chr14 - 58470807 58618847 58471453 58606076 8 58470807,58471765,58478836,58563441,58598229,58599807,58604707,58618792, 58471522,58471900,58478868,58563699,58598439,58600059,58606132,58618847, 0 C14orf37 cmpl cmpl 0,0,1,1,1,1,0,-1, 1420 NM_001001655 chr12 - 109525992 109531293 109526010 109530591 4 109525992,109527813,109530311,109531051, 109526317,109528012,109530592,109531293, 0 ALKBH2 cmpl cmpl 2,1,0,-1, 1326 NM_001001557 chr8 - 97154557 97173020 97156790 97172920 2 97154557,97172514, 97157752,97173020, 0 GDF6 cmpl cmpl 1,0, 821 NM_001001479 chr22 + 31031792 31043862 31032437 31043018 2 31031792,31042584, 31033056,31043862, 0 SLC35E4 cmpl cmpl 0,1, 848 NM_001001435 chr17 + 34538467 34540274 34538543 34539971 3 34538467,34539177,34539883, 34538619,34539292,34540274, 0 CCL4L1 cmpl cmpl 0,1,2, 849 NM_001001435 chr17 + 34640033 34641840 34640109 34641537 3 34640033,34640743,34641449, 34640185,34640858,34641840, 0 CCL4L1 cmpl cmpl 0,1,2, 1573 NR_110278 chr2 + 129622173 129626301 129626301 129626301 3 129622173,129623244,129625431, 129622330,129623308,129626301, 0 LOC101927881 unk unk -1,-1,-1, 775 NM_001288833 chr22 + 24999123 25024972 25007048 25024806 16 24999123,25003920,25005931,25006216,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999494,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 775 NM_013421 chr22 + 24999123 25024972 25007048 25024806 17 24999123,25003920,25004956,25005931,25006324,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999288,25003990,25005198,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 698 NR_037841 chr20 - 14864898 14910164 14910164 14910164 3 14864898,14868741,14910020, 14865240,14868950,14910164, 0 MACROD2-AS1 unk unk -1,-1,-1, 698 NR_110318 chr20 - 14864898 14910164 14910164 14910164 2 14864898,14910020, 14865240,14910164, 0 MACROD2-AS1 unk unk -1,-1, 698 NR_072988 chr20 - 14885586 14910164 14910164 14910164 2 14885586,14910020, 14886675,14910164, 0 MACROD2-AS1 unk unk -1,-1, 825 NM_001289160 chr6 + 31462657 31478901 31473419 31477686 6 31462657,31473393,31473919,31474798,31475176,31477558, 31462772,31473648,31474207,31475077,31475308,31478901, 0 MICB cmpl cmpl -1,0,1,1,1,1, 825 NM_001289161 chr6 + 31465826 31478901 31465970 31477686 6 31465826,31473393,31474048,31474798,31475176,31477558, 31466040,31473648,31474207,31475077,31475308,31478901, 0 MICB cmpl cmpl 0,1,1,1,1,1, 21 NM_001202544 chr7 + 101459183 101927250 101459310 101926382 22 101459183,101559394,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_001202545 chr7 + 101459183 101927250 101459310 101926382 22 101459183,101559394,101671377,101713618,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101671425,101713697,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,0,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_001913 chr7 + 101459183 101927250 101459310 101926382 23 101459183,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_181500 chr7 + 101459183 101927250 101459310 101926382 23 101459183,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821754,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_001202546 chr7 + 101459287 101927250 101459310 101926382 22 101459287,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821754,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 722 NM_001160179 chr8 + 18027970 18081198 18079556 18080429 5 18027970,18028187,18067289,18076919,18079550, 18028016,18028248,18067464,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,-1,0, 722 NM_000662 chr8 + 18067617 18081198 18079556 18080429 3 18067617,18076919,18079550, 18067689,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,0, 722 NM_001160170 chr8 + 18067617 18081198 18079556 18080429 5 18067617,18068701,18069899,18076919,18079550, 18067689,18068851,18070283,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,-1,0, 722 NM_001160171 chr8 + 18067617 18081198 18079556 18080429 4 18067617,18069899,18076919,18079550, 18067689,18070283,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,0, 722 NM_001160172 chr8 + 18067617 18081198 18079556 18080429 5 18067617,18068701,18069899,18076919,18079550, 18067689,18068851,18070054,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,-1,0, 722 NM_001160173 chr8 + 18067617 18081198 18079556 18080429 4 18067617,18068701,18076919,18079550, 18067689,18068851,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,0, 722 NM_001160175 chr8 + 18067617 18081198 18074402 18080429 5 18067617,18068701,18074385,18076919,18079550, 18067689,18068851,18074503,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,0,2,0, 722 NM_001160176 chr8 + 18067617 18081198 18074402 18080429 4 18067617,18074385,18076919,18079550, 18067689,18074503,18076998,18081198, 0 NAT1 cmpl cmpl -1,0,2,0, 722 NM_001160174 chr8 + 18079176 18081198 18079556 18080429 1 18079176, 18081198, 0 NAT1 cmpl cmpl 0, 9 NM_001289397 chr9 + 2015218 2193623 2029022 2192739 33 2015218,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2181570,2182140,2186095,2191265,2192703, 2015404,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2086897,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,0,0,1,0, 9 NM_001289396 chr9 + 2021944 2193623 2029022 2192739 34 2021944,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2170418,2181570,2182140,2186095,2191265,2192703, 2022117,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2087071,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2170472,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,2,0,0,1,0, 601 NM_001289398 chr9 + 2157679 2193623 2157881 2192739 7 2157679,2161685,2181570,2182140,2186095,2191265,2192703, 2157890,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl 0,0,2,0,0,1,0, 601 NM_001289399 chr9 + 2158451 2193623 2159816 2192739 8 2158451,2159813,2161685,2181570,2182140,2186095,2191265,2192703, 2158553,2159909,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,2,0,0,1,0, 601 NM_001289400 chr9 + 2158455 2193623 2158975 2192739 8 2158455,2159813,2161685,2181570,2182140,2186095,2191265,2192703, 2158978,2159909,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl 0,0,0,2,0,0,1,0, 1706 NR_024499 chrX - 146990948 147003676 147003676 147003676 2 146990948,147003450, 146993748,147003676, 0 FMR1-AS1 unk unk -1,-1, 1706 NR_024501 chrX - 146990948 147003676 147003676 147003676 3 146990948,146992895,147003448, 146992513,146993746,147003676, 0 FMR1-AS1 unk unk -1,-1,-1, 1706 NR_024502 chrX - 146990948 147003676 147003676 147003676 4 146990948,146992798,146993159,147003448, 146992513,146992902,146993746,147003676, 0 FMR1-AS1 unk unk -1,-1,-1,-1, 1706 NR_024503 chrX - 146990948 147003676 147003676 147003676 3 146990948,146993159,147003448, 146992513,146993746,147003676, 0 FMR1-AS1 unk unk -1,-1,-1, 622 NM_001005238 chr11 - 4935948 4936893 4935948 4936893 1 4935948, 4936893, 0 OR51G2 cmpl cmpl 0, 1533 NM_001005196 chr11 - 124293837 124294767 124293837 124294767 1 124293837, 124294767, 0 OR8B4 cmpl cmpl 0, 627 NM_001005162 chr11 + 5602106 5603114 5602106 5603114 1 5602106, 5603114, 0 OR52B6 cmpl cmpl 0, 1014 NM_001004742 chr11 - 56236963 56238014 56237049 56237973 1 56236963, 56238014, 0 OR5M3 cmpl cmpl 0, 741 NM_001004717 chr14 + 20528203 20529142 20528203 20529142 1 20528203, 20529142, 0 OR4L1 cmpl cmpl 0, 953 NM_001004702 chr11 + 48346492 48347482 48346492 48347482 1 48346492, 48347482, 0 OR4C3 cmpl cmpl 0, 2480 NM_001004691 chr1 - 248486931 248487870 248486931 248487870 1 248486931, 248487870, 0 OR2M7 cmpl cmpl 0, 2479 NM_001004689 chr1 + 248366369 248367308 248366369 248367308 1 248366369, 248367308, 0 OR2M3 cmpl cmpl 0, 637 NM_001004684 chr11 + 6942232 6943225 6942232 6943225 1 6942232, 6943225, 0 OR2D3 cmpl cmpl 0, 637 NM_001004460 chr11 + 6890985 6891897 6890985 6891897 1 6890985, 6891897, 0 OR10A2 cmpl cmpl 0, 863 NM_001004334 chr17 - 36481492 36499693 36482347 36499672 11 36481492,36489133,36489815,36490586,36490915,36491473,36491958,36492860,36493515,36495299,36498878, 36487414,36489280,36489921,36490725,36491154,36491583,36492027,36493096,36493603,36495408,36499693, 0 GPR179 cmpl cmpl 0,0,2,1,2,0,0,1,0,2,0, 1403 NM_001001961 chr9 - 107298050 107299094 107298050 107299094 1 107298050, 107299094, 0 OR13C3 cmpl cmpl 0, 1010 NM_001001921 chr11 + 55797894 55798869 55797894 55798869 1 55797894, 55798869, 0 OR5AS1 cmpl cmpl 0, 38 NM_001001918 chr1 + 248512076 248513015 248512076 248513015 1 248512076, 248513015, 0 OR14C36 cmpl cmpl 0, 969 NM_001001852 chr22 + 50354142 50357720 50354595 50356775 6 50354142,50354772,50354965,50355089,50356336,50356587, 50354680,50354882,50355016,50355459,50356513,50357720, 0 PIM3 cmpl cmpl 0,1,0,0,1,1, 2483 NM_001001824 chr1 - 248813231 248814185 248813231 248814185 1 248813231, 248814185, 0 OR2T27 cmpl cmpl 0, 894 NM_001289773 chrX + 40594647 40597953 40594700 40597510 2 40594647,40597444, 40595042,40597953, 0 MED14-AS1 cmpl cmpl 0,0, 1540 NR_110409 chrX + 125243744 125249545 125249545 125249545 3 125243744,125243896,125249184, 125243787,125244131,125249545, 0 RP11-13E5.2 unk unk -1,-1,-1, 636 NR_110497 chr2 - 6789238 6790651 6790651 6790651 2 6789238,6790237, 6789513,6790651, 0 LOC102800314 unk unk -1,-1, 928 NM_001102599 chr19 - 45010210 45033548 45010212 45033532 12 45010210,45015087,45015694,45016074,45016925,45016991,45017230,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45015730,45016136,45016990,45017012,45017348,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,0,1,2,2,1,1,1,1,1,0, 928 NM_001102600 chr19 - 45010210 45033548 45010212 45033532 12 45010210,45015087,45016074,45016925,45016991,45017230,45021006,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45016136,45016990,45017012,45017348,45021285,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,1,2,2,1,1,1,1,1,1,0, 73 NM_001039127 chr4 + 53192 157949 53382 155912 5 53192,59322,59952,59958,154701, 53385,59452,59957,60046,157949, 0 ZNF718 cmpl cmpl 0,0,1,0,1, 73 NR_110527 chr4 + 53192 196095 196095 196095 5 53192,59322,59952,194869,195420, 53385,59452,60046,195000,196095, 0 ZNF718 unk unk -1,-1,-1,-1,-1, 73 NM_001289931 chr4 + 56867 157949 59415 155912 5 56867,59322,59952,59958,154701, 56989,59452,59957,60046,157949, 0 ZNF718 cmpl cmpl -1,0,1,0,1, 73 NM_001289930 chr4 + 124357 157949 154698 155912 2 124357,154698, 125179,157949, 0 ZNF718 incmpl cmpl -1,1, 73 NR_110529 chr4 + 124357 157949 157949 157949 2 124357,154701, 124555,157949, 0 ZNF718 unk unk -1,-1, 73 NR_110528 chr4 + 124357 196095 196095 196095 3 124357,194869,195420, 124555,195000,196095, 0 ZNF718 unk unk -1,-1,-1, 110 NR_110545 chr21 - 39698280 39717998 39717998 39717998 6 39698280,39703642,39704347,39704883,39705237,39717816, 39698467,39703710,39704399,39704954,39705298,39717998, 0 AP001422.3 unk unk -1,-1,-1,-1,-1,-1, 620 NM_001014985 chr17 + 4692253 4693884 4692306 4693591 4 4692253,4692520,4692805,4693053, 4692412,4692585,4692972,4693884, 0 GLTPD2 cmpl cmpl 0,1,0,2, 726 NM_001261384 chr11 - 18552949 18610293 18553866 18587996 10 18552949,18555876,18557952,18566169,18568426,18579774,18586438,18587893,18596893,18610159, 18554034,18556000,18558016,18566343,18568597,18579877,18586557,18588029,18596959,18610293, 0 UEVLD cmpl cmpl 0,2,1,1,1,0,1,0,-1,-1, 149 NR_110578 chr17 - 80200536 80231618 80231618 80231618 9 80200536,80203851,80206750,80207306,80209254,80210309,80213304,80223561,80231181, 80202707,80203915,80206890,80207478,80209403,80210480,80213453,80223672,80231618, 0 CSNK1D unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, datamash-1.9/examples/genes_h.txt0000644000000000000000000372510014352357450012603 bin name chrom strand txStart txEnd cdsStart cdsEnd exonCount exonStarts exonEnds score name2 cdsStartStat cdsEndStat exonFrames 1274 NM_020466 chr6 - 90341942 90348474 90346991 90348435 3 90341942,90347460,90348390, 90347072,90347601,90348474, 0 LYRM2 cmpl cmpl 0,0,0, 92 NM_152584 chrY + 20708576 20750849 20708673 20750520 2 20708576,20750421, 20709186,20750849, 0 HSFY1 cmpl cmpl 0,0, 1156 NM_001135752 chr10 - 74894281 74927853 74894340 74923695 15 74894281,74896461,74897760,74899066,74899388,74901144,74906033,74908033,74912050,74914013,74916032,74916325,74920191,74923490,74927623, 74894571,74896676,74897828,74899253,74899495,74901243,74906119,74908162,74912179,74914206,74916211,74916413,74920309,74923708,74927853, 0 ECD cmpl cmpl 0,1,2,1,2,2,0,0,0,2,0,2,1,0,-1, 875 NM_001195545 chr17 + 38097726 38100987 38097776 38100987 2 38097726,38100185, 38097802,38100987, 0 LRRC3C cmpl cmpl 0,2, 2296 NR_049764 chr1 + 224301788 224349749 224349749 224349749 4 224301788,224318173,224340843,224345053, 224302098,224318283,224341039,224349749, 0 FBXO28 unk unk -1,-1,-1,-1, 1448 NM_005054 chr2 - 113125964 113191107 113127754 113191030 23 113125964,113135629,113138400,113145600,113148551,113152194,113155498,113155675,113156799,113157208,113157612,113158693,113158984,113159243,113161542,113163873,113170007,113174769,113175260,113179536,113180124,113181816,113190958, 113127789,113135831,113138540,113147824,113148646,113152330,113155582,113155855,113156946,113157346,113157771,113158817,113159160,113159425,113161752,113163961,113170203,113174915,113175491,113179689,113180236,113181884,113191107, 0 RGPD5 cmpl cmpl 1,0,1,0,1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0, 1181 NM_012245 chr14 - 78183943 78227497 78184430 78227470 14 78183943,78184709,78187053,78189523,78197330,78198827,78201289,78202279,78203313,78205120,78205308,78217661,78221309,78227456, 78184629,78184873,78187171,78189620,78197472,78198944,78201355,78202349,78203418,78205227,78205404,78217823,78221463,78227497, 0 SNW1 cmpl cmpl 2,0,2,1,0,0,0,2,2,0,0,0,2,0, 1156 NM_198955 chr17 + 74868728 74946471 74868831 74944920 16 74868728,74878232,74898636,74899384,74900333,74901250,74902099,74921047,74922678,74928726,74934069,74936483,74936813,74942457,74943911,74944721, 74869045,74878380,74898752,74899458,74900504,74901415,74902269,74921179,74922812,74928857,74934225,74936630,74936930,74942532,74944168,74946471, 0 MGAT5B cmpl cmpl 0,1,2,1,0,0,0,2,2,1,0,0,0,0,0,2, 2142 NM_000537 chr1 - 204123943 204135465 204124143 204135421 10 204123943,204124947,204125305,204125804,204126488,204128526,204129687,204130419,204131140,204135323, 204124305,204125046,204125447,204125924,204126497,204128723,204129806,204130543,204131291,204135465, 0 REN cmpl cmpl 0,0,2,2,2,0,1,0,2,0, 874 NM_025079 chr1 + 37940118 37949978 37941097 37949212 6 37940118,37941059,37945890,37947201,37948034,37948337, 37940230,37941540,37946030,37947436,37948141,37949978, 0 ZC3H12A cmpl cmpl -1,0,2,1,2,1, 1427 NM_000757 chr1 + 110453232 110473616 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110465787,110467397,110467768,110471473, 110453684,110457003,110458318,110460085,110464616,110466812,110467450,110467824,110473616, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,0,2,-1, 1734 NM_001145017 chr5 - 150655925 150683334 150656953 150682915 11 150655925,150660574,150663604,150664173,150666806,150667946,150668494,150672924,150675740,150678153,150682787, 150657222,150660744,150663771,150664272,150667025,150668031,150668617,150673020,150675829,150678244,150683334, 0 SLC36A3 cmpl cmpl 1,2,0,0,0,2,2,2,0,2,0, 631 NM_006303 chr7 + 6048881 6063465 6048994 6063322 4 6048881,6054776,6057444,6062933, 6049129,6054983,6057676,6063465, 0 AIMP2 cmpl cmpl 0,0,0,1, 928 NM_015945 chr20 - 44978166 44993097 44979032 44987145 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1, 1735 NM_004935 chr7 - 150750898 150755052 150751095 150754935 12 150750898,150751298,150751491,150752113,150752363,150752618,150752839,150753666,150753822,150753994,150754158,150754898, 150751182,150751379,150751552,150752183,150752460,150752693,150752935,150753723,150753883,150754062,150754247,150755052, 0 CDK5 cmpl cmpl 0,0,2,1,0,0,0,0,2,0,1,0, 143 NM_001204426 chr7 + 73507485 73536855 73507579 73535631 15 73507485,73510951,73511409,73513361,73520204,73520406,73521339,73522200,73523234,73525977,73526262,73530131,73534912,73535221,73535468, 73507629,73511090,73511519,73513568,73520310,73520573,73521523,73522287,73523366,73526037,73526328,73530288,73534968,73535379,73536855, 0 LIMK1 cmpl cmpl 0,2,0,2,2,0,2,0,0,0,0,0,1,0,2, 1022 NM_007264 chr12 + 57388354 57390469 57388993 57390208 2 57388354,57388977, 57388432,57390469, 0 GPR182 cmpl cmpl -1,0, 1090 NM_005700 chr11 + 66247483 66277130 66249671 66276722 18 66247483,66249666,66252643,66254010,66254738,66255384,66258723,66258964,66259168,66260186,66260537,66261011,66262676,66262835,66263100,66264768,66272082,66276549, 66247936,66249941,66252733,66254148,66254813,66255478,66258854,66259095,66259227,66260381,66260650,66261104,66262739,66262960,66263221,66264948,66272245,66277130, 0 DPP3 cmpl cmpl -1,0,0,0,0,0,1,0,2,1,1,0,0,0,2,0,0,1, 1093 NM_017858 chr15 - 66629007 66649054 66629295 66645285 8 66629007,66633487,66641397,66641652,66643862,66644466,66645152,66648976, 66629519,66633694,66641461,66641775,66643938,66644545,66645293,66649054, 0 TIPIN cmpl cmpl 1,1,0,0,2,1,0,-1, 647 NM_001135109 chr11 - 8127596 8190590 8132244 8190536 2 8127596,8190412, 8132684,8190590, 0 RIC3 cmpl cmpl 1,0, 1184 NM_025234 chr15 - 78575577 78591940 78575773 78588028 11 78575577,78577602,78578382,78580630,78581960,78582292,78584957,78585508,78587287,78588016,78591903, 78575863,78577681,78578475,78580724,78582054,78582441,78585130,78585614,78587315,78588067,78591940, 0 WDR61 cmpl cmpl 0,2,2,1,0,1,2,1,0,0,-1, 1414 NM_001142344 chr12 - 108681820 108733094 108685617 108687368 3 108681820,108687365,108732803, 108686736,108687441,108733094, 0 CMKLR1 cmpl cmpl 0,0,-1, 1414 NM_001142343 chr12 - 108681820 108733094 108685617 108687368 4 108681820,108687365,108723771,108732803, 108686736,108687441,108723984,108733094, 0 CMKLR1 cmpl cmpl 0,0,-1,-1, 1471 NM_001172896 chr7 + 116166346 116201239 116166641 116199341 2 116166346,116198999, 116166743,116201239, 0 CAV1 cmpl cmpl 0,0, 661 NM_005680 chr2 + 9983570 10074545 9983670 10074113 15 9983570,9985348,9989501,9991669,9994454,10008404,10015993,10022834,10044987,10050864,10051639,10053287,10059169,10059726,10073911, 9983688,9985447,9989589,9991767,9994550,10008558,10016147,10022934,10045135,10051042,10051686,10053378,10059240,10059949,10074545, 0 TAF1B cmpl cmpl 0,0,0,1,0,0,1,2,0,1,2,1,2,1,2, 971 NR_024228 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A8 unk unk -1, 971 NR_024228 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A8 unk unk -1, 1583 NM_198938 chr9 - 130882971 130890741 130883423 130886093 8 130882971,130884640,130885212,130885980,130886770,130887057,130887522,130890526, 130883552,130884758,130885413,130886130,130886829,130887150,130887720,130890741, 0 PTGES2 cmpl cmpl 0,2,2,0,-1,-1,-1,-1, 1154 NM_000859 chr5 + 74632992 74657926 74638430 74656167 20 74632992,74638407,74639677,74640069,74641398,74643028,74645866,74646082,74646613,74646892,74647248,74650327,74650880,74651189,74652167,74654481,74654994,74655222,74655809,74656112, 74633125,74638595,74639789,74640157,74641483,74643134,74645973,74646199,74646774,74647140,74647427,74650522,74651039,74651347,74652273,74654652,74655135,74655381,74655964,74657926, 0 HMGCR cmpl cmpl -1,0,0,1,2,0,1,0,0,2,1,0,0,0,2,0,0,0,0,2, 588 NM_001286439 chr16 + 447191 450754 449108 450342 6 447191,448207,448989,449378,449626,450218, 447313,448394,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,-1,0,0,0,2, 859 NM_001171873 chr5 - 35960857 36001130 35962975 35988585 6 35960857,35965487,35968120,35988551,35997340,36001069, 35963053,35966019,35968235,35988653,35997431,36001130, 0 UGT3A1 cmpl cmpl 0,2,1,0,-1,-1, 1864 NM_001146191 chr1 + 167691186 167761156 167691388 167757158 3 167691186,167734819,167757056, 167691479,167734986,167761156, 0 MPZL1 cmpl cmpl 0,1,0, 700 NM_001175 chr12 - 15094949 15114562 15095455 15103646 6 15094949,15097709,15100806,15102735,15103465,15114470, 15095655,15097773,15100883,15102819,15103658,15114562, 0 ARHGDIB cmpl cmpl 1,0,1,1,0,-1, 774 NM_001143919 chr14 + 24780704 24787242 24784857 24785916 2 24780704,24784842, 24781010,24787242, 0 LTB4R cmpl cmpl -1,0, 14 NM_001135197 chr3 + 49236932 49295537 49249213 49294715 8 49236932,49249198,49273980,49278658,49281836,49282078,49292822,49293566, 49237006,49249269,49274155,49278822,49281885,49282166,49292926,49295537, 0 CCDC36 cmpl cmpl -1,0,2,0,2,0,1,0, 33 NM_001168221 chr2 - 202352143 202483905 202352334 202483853 16 202352143,202355891,202360617,202400743,202402158,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202352625,202359482,202360692,202401043,202402202,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl 0,0,0,0,1,0,2,2,0,0,0,0,1,0,0,0, 2129 NM_001168217 chr2 - 202399042 202483905 202400596 202483853 13 202399042,202402158,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202401043,202402202,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl 0,1,0,2,2,0,0,0,0,1,0,0,0, 33 NM_001168216 chr2 - 202352143 202483905 202360666 202483853 13 202352143,202360617,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202352625,202360692,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl -1,1,0,2,2,0,0,0,0,1,0,0,0, 978 NM_001145260 chr10 + 51565107 51590734 51568356 51586675 12 51565107,51568293,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51586609,51589224, 51565296,51568390,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51586698,51590734, 0 NCOA4 cmpl cmpl -1,0,1,0,0,2,0,0,0,0,0,-1, 191 NR_027282 chr10 + 124639148 124658230 124658230 124658230 6 124639148,124640190,124641113,124644232,124647784,124657308, 124639595,124640272,124641183,124644368,124648239,124658230, 0 LOC399815 unk unk -1,-1,-1,-1,-1,-1, 930 NM_001166292 chr1 - 45285515 45308616 45286360 45308604 23 45285515,45288273,45288740,45288914,45291921,45292159,45292573,45292838,45293073,45293514,45293967,45294177,45294653,45294828,45295073,45295285,45295580,45296519,45297377,45297646,45297823,45307518,45308532, 45286376,45288341,45288840,45289057,45292059,45292440,45292754,45292981,45293386,45293863,45294086,45294303,45294746,45294984,45295205,45295433,45295702,45296715,45297469,45297716,45298013,45307711,45308616, 0 PTCH2 cmpl cmpl 2,0,2,0,0,1,0,1,0,2,0,0,0,0,0,2,0,2,0,2,1,0,0, 909 NM_015497 chr15 - 42502649 42565782 42503905 42565596 20 42502649,42510000,42510520,42511778,42512259,42519003,42519908,42520909,42523387,42525410,42528517,42529629,42531867,42536247,42553155,42553393,42556287,42560144,42564260,42565452, 42503947,42510031,42510576,42511840,42512333,42519107,42519967,42521016,42523458,42525504,42528617,42529813,42531929,42536365,42553200,42553447,42556401,42560230,42564321,42565782, 0 TMEM87A cmpl cmpl 0,2,0,1,2,0,1,2,0,2,1,0,1,0,0,0,0,1,0,0, 1406 NM_017515 chr11 - 107661716 107729914 107663340 107729493 8 107661716,107673726,107675443,107676084,107677442,107682392,107686515,107729383, 107663526,107673881,107675496,107676241,107677602,107682520,107686691,107729914, 0 SLC35F2 cmpl cmpl 0,1,2,1,0,1,2,0, 1510 NM_001012659 chr3 + 121286777 121309469 121289560 121305447 5 121286777,121289548,121295630,121303763,121304868, 121286860,121289663,121295747,121303912,121309469, 0 ARGFX cmpl cmpl -1,0,1,1,0, 1347 NM_001098200 chr13 - 99906966 99910682 99907130 99908126 2 99906966,99910407, 99908160,99910682, 0 GPR18 cmpl cmpl 0,-1, 1420 NM_001145374 chr12 - 109525992 109531293 109526010 109530591 4 109525992,109527813,109530311,109531051, 109526317,109528012,109530742,109531293, 0 ALKBH2 cmpl cmpl 2,1,0,-1, 754 NM_015359 chr8 + 22224761 22280249 22262223 22277211 9 22224761,22262208,22265822,22267458,22272292,22273281,22273585,22275163,22277064, 22224921,22262493,22266009,22267628,22272415,22273470,22273793,22275348,22280249, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 817 NR_002222 chr17 - 30477386 30478590 30478590 30478590 1 30477386, 30478590, 0 ARGFXP2 unk unk -1, 662 NM_031917 chr19 - 10203012 10213425 10203264 10207239 6 10203012,10204024,10204368,10205433,10206657,10213243, 10203455,10204295,10204556,10205614,10207249,10213425, 0 ANGPTL6 cmpl cmpl 1,0,1,0,0,-1, 846 NM_032963 chr17 - 34310691 34313764 34310836 34313685 3 34310691,34311373,34313606, 34310924,34311488,34313764, 0 CCL14 cmpl cmpl 2,1,0, 1187 NM_001256567 chr15 - 78916635 78933587 78917296 78933475 5 78916635,78923417,78923629,78927780,78933420, 78917633,78923527,78923674,78927929,78933587, 0 CHRNB4 cmpl cmpl 2,0,0,1,0, 1264 NM_001160104 chr14 + 89029252 89079853 89029477 89078095 17 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89068267,89069171,89073586,89075610,89076058,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89068427,89069389,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,1,2,1,2,1,0,2, 959 NM_000884 chr3 - 49061761 49066875 49061815 49066783 14 49061761,49061927,49062091,49062328,49062558,49063756,49063951,49064119,49064392,49065142,49065680,49065863,49066190,49066685, 49061837,49062011,49062235,49062473,49062702,49063852,49064042,49064319,49064480,49065349,49065755,49065965,49066239,49066875, 0 IMPDH2 cmpl cmpl 2,2,2,1,1,1,0,1,0,0,0,0,2,0, 602 NM_013321 chr7 - 2291404 2354099 2294690 2354056 11 2291404,2296508,2296999,2297369,2302864,2303932,2309193,2311484,2314746,2317734,2353962, 2294804,2296658,2297149,2297438,2302997,2304093,2309274,2311606,2314864,2317940,2354099, 0 SNX8 cmpl cmpl 0,0,0,0,2,0,0,1,0,1,0, 176 NM_015723 chr7 - 108110865 108166762 108112844 108155935 12 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108158633,108161919,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108156018,108158745,108161965,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1,-1,-1, 901 NR_003365 chr13 - 41486024 41495910 41495910 41495910 3 41486024,41495609,41495754, 41486859,41495667,41495910, 0 SUGT1P3 unk unk -1,-1,-1, 141 NM_001190807 chr18 - 71920526 71959251 71920818 71959110 4 71920526,71922975,71930583,71958981, 71920900,71923010,71930712,71959251, 0 CYB5A cmpl cmpl 2,0,0,0, 915 NM_001146037 chr18 + 43306917 43332485 43307236 43329916 9 43306917,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43307383,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl 0,0,1,2,2,0,1,1,0, 90 NM_001204145 chr7 + 18535368 18708466 18535925 18706150 11 18535368,18535884,18624903,18629967,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18535477,18535947,18625145,18630109,18631265,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,0,0,1,0, 835 NM_148919 chr6 - 32808493 32811816 32808735 32811773 6 32808493,32809307,32809910,32810448,32810718,32811626, 32808824,32809512,32810040,32810560,32810866,32811816, 0 PSMB8 cmpl cmpl 1,0,2,1,0,0, 832 NM_017964 chr2 + 32390909 32449181 32390969 32445782 14 32390909,32396355,32399131,32400387,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32434561,32445281, 32390972,32396442,32399216,32400430,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32434630,32449181, 0 SLC30A6 cmpl cmpl 0,0,0,1,2,2,2,2,1,2,2,0,0,0, 119 NM_022827 chr17 + 48624449 48633213 48624569 48633023 17 48624449,48625080,48625643,48625914,48626170,48626403,48626646,48627345,48627568,48627896,48628068,48628358,48628871,48629329,48631611,48632592,48632852, 48624646,48625128,48625814,48625979,48626325,48626547,48626848,48627476,48627673,48627971,48628278,48628551,48629040,48629541,48631811,48632673,48633213, 0 SPATA20 cmpl cmpl 0,2,2,2,1,0,0,1,0,0,0,0,1,2,1,0,0, 980 NM_001242362 chrX - 51804922 51812368 51805124 51811268 14 51804922,51805329,51806082,51806798,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51806846,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811320,51812368, 0 MAGED4B cmpl cmpl 2,0,2,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_001242362 chrX + 51927918 51935364 51929018 51935162 14 51927918,51928966,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51933440,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51933488,51934204,51934957,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,2,0,2, 1007 NM_001242357 chr19 + 55417507 55424439 55417545 55424239 5 55417507,55417656,55420603,55421377,55424057, 55417579,55417692,55420882,55421425,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1, 1007 NM_001242356 chr19 + 55417507 55424439 55417545 55424239 6 55417507,55417656,55420603,55421377,55423535,55424057, 55417579,55417692,55420882,55421425,55423586,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1, 113 NM_006345 chr4 + 41992522 42089551 41992668 42088143 18 41992522,42003632,42020127,42022432,42024854,42025318,42037291,42041002,42051393,42062207,42065002,42067326,42068566,42069101,42072542,42077673,42080228,42088098, 41992777,42003797,42020187,42022532,42024947,42025401,42037350,42041070,42051496,42062263,42065138,42067366,42068638,42069209,42072708,42077803,42080342,42089551, 0 SLC30A9 cmpl cmpl 0,1,1,1,2,2,1,0,2,0,2,0,1,1,1,2,0,0, 93 NM_022459 chr13 - 21351467 21476913 21357860 21476877 23 21351467,21361103,21361619,21362624,21364600,21370214,21370902,21373303,21374294,21374969,21381595,21382574,21383221,21383929,21395842,21396270,21401205,21417033,21417908,21429765,21436855,21442734,21476808, 21358058,21361196,21361737,21362755,21364719,21370395,21371196,21373478,21374464,21375129,21381773,21382720,21383364,21384106,21396017,21396428,21401318,21417187,21418025,21429904,21436997,21442840,21476913, 0 XPO4 cmpl cmpl 0,0,2,0,1,0,0,2,0,2,1,2,0,0,2,0,1,0,0,2,1,0,0, 828 NM_006929 chr6 + 31926580 31937532 31926969 31937492 28 31926580,31927073,31927786,31927996,31928208,31928442,31928817,31928972,31929323,31929685,31930215,31930490,31930761,31931189,31931413,31931689,31932008,31933559,31934485,31934780,31935049,31935491,31935732,31936104,31936462,31936647,31937056,31937291, 31926991,31927177,31927896,31928114,31928323,31928517,31928871,31929163,31929452,31929831,31930362,31930575,31930868,31931336,31931510,31931902,31932119,31933790,31934623,31934918,31935154,31935639,31935859,31936315,31936573,31936866,31937197,31937532, 0 SKIV2L cmpl cmpl 0,1,0,2,0,1,1,1,0,0,2,2,0,2,2,0,0,0,0,0,0,0,1,2,0,0,0,0, 143 NM_153614 chr11 + 73661363 73681332 73662114 73681159 8 73661363,73669361,73670538,73675922,73677182,73679389,73680290,73681005, 73662182,73669465,73670700,73676080,73677296,73679503,73680367,73681332, 0 DNAJB13 cmpl cmpl 0,2,1,1,0,0,0,2, 2264 NR_046437 chr1 - 220087605 220101993 220101993 220101993 4 220087605,220091596,220100369,220101142, 220089290,220091836,220100485,220101993, 0 SLC30A10 unk unk -1,-1,-1,-1, 1333 NR_040097 chr2 - 98081675 98091049 98091049 98091049 4 98081675,98088031,98088547,98088769, 98082014,98088252,98088677,98091049, 0 AC159540.1 unk unk -1,-1,-1,-1, 780 NM_020317 chr1 - 25568739 25573985 25569079 25573454 5 25568739,25570040,25571640,25572934,25573799, 25569196,25570124,25571792,25573520,25573985, 0 C1orf63 cmpl cmpl 0,0,1,0,-1, 1454 NM_012455 chr2 + 113931559 113960677 113940033 113958992 17 113931559,113939922,113942533,113942941,113943453,113949956,113950624,113950834,113951168,113951435,113953303,113953723,113955140,113955323,113956316,113956659,113958734, 113931631,113941089,113942650,113943017,113943832,113950166,113950705,113950947,113951227,113951525,113953347,113953884,113955211,113955490,113956461,113956803,113960677, 0 PSD4 cmpl cmpl -1,0,0,0,1,2,2,2,1,0,0,2,1,0,2,0,0, 1259 NM_001009894 chr12 + 88429267 88443937 88429425 88442199 7 88429267,88433924,88436601,88437375,88439358,88440583,88442010, 88429515,88434042,88436697,88437492,88439556,88440753,88443937, 0 C12orf29 cmpl cmpl 0,0,1,1,1,1,0, 596 NR_026710 chrX + 1519423 1532479 1532479 1532479 4 1519423,1520354,1522353,1531635, 1519479,1521118,1522478,1532479, 0 ASMTL-AS1 unk unk -1,-1,-1,-1, 955 NM_001272082 chr3 - 48509196 48514742 48510505 48514423 4 48509196,48510759,48511126,48514418, 48510585,48510972,48511242,48514742, 0 SHISA5 cmpl cmpl 1,1,2,0, 1108 NM_181515 chr11 - 68658745 68671303 68658798 68664123 7 68658745,68660357,68660870,68663982,68665394,68668002,68671190, 68658863,68660461,68660923,68664146,68665480,68668073,68671303, 0 MRPL21 cmpl cmpl 1,2,0,0,-1,-1,-1, 1108 NM_181514 chr11 - 68658745 68671303 68658798 68671278 7 68658745,68660357,68660870,68663982,68665394,68668015,68671190, 68658863,68660461,68660923,68664146,68665480,68668073,68671303, 0 MRPL21 cmpl cmpl 1,2,0,1,2,1,0, 587 NR_073609 chr5 + 271735 277055 277055 277055 3 271735,272825,276126, 271936,272887,277055, 0 PDCD6 unk unk -1,-1,-1, 1073 NR_102684 chr8 - 64080283 64081001 64081001 64081001 1 64080283, 64081001, 0 YTHDF3-AS1 unk unk -1, 897 NR_102422 chr17 + 41003200 41010147 41010147 41010147 4 41003200,41006553,41007460,41008291, 41004960,41006750,41007590,41010147, 0 AOC3 unk unk -1,-1,-1,-1, 1457 NM_012411 chr1 - 114356432 114414375 114357526 114414245 19 114356432,114362198,114367763,114372213,114372570,114375732,114376930,114377531,114380211,114381165,114397092,114397528,114399003,114399169,114400359,114401099,114401623,114401973,114414158, 114357591,114362276,114367794,114372329,114372651,114375760,114377061,114377615,114381029,114381242,114397159,114397671,114399063,114399241,114400398,114401195,114401700,114402082,114414375, 0 PTPN22 cmpl cmpl 1,1,0,1,1,0,1,1,2,0,2,0,0,0,0,0,1,0,0, 144 NM_001102421 chr9 - 74966340 74980163 74970868 74975694 6 74966340,74971846,74974333,74975025,74975543,74979611, 74971017,74971972,74974437,74975137,74975703,74980163, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1, 144 NM_001102420 chr9 - 74966340 74980163 74970868 74975694 7 74966340,74971846,74974333,74975025,74975543,74978385,74979611, 74971017,74971972,74974437,74975137,74975703,74978522,74980163, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1,-1, 865 NM_017826 chr13 - 36742344 36788752 36743170 36788663 11 36742344,36744667,36747828,36748612,36748858,36764082,36765931,36767757,36767942,36776015,36788615, 36743191,36744924,36747947,36748704,36749006,36764193,36766031,36767862,36768004,36776230,36788752, 0 SOHLH2 cmpl cmpl 0,1,2,0,2,2,1,1,2,0,0, 1234 NM_001166295 chr1 - 85109389 85156151 85113115 85136460 13 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85155836, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85156151, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,0,-1, 130 NM_194449 chr18 + 60382671 60647676 60382916 60646664 17 60382671,60497267,60506016,60527667,60562243,60563013,60570196,60572456,60582145,60587191,60608950,60612341,60625861,60630600,60639746,60642629,60645494, 60384492,60497464,60506142,60527834,60562390,60563244,60570399,60572517,60582241,60587347,60609151,60612504,60625992,60630705,60639941,60642858,60647676, 0 PHLPP1 cmpl cmpl 0,1,0,0,2,2,2,1,2,2,2,2,0,2,2,2,0, 1680 NM_001206938 chr7 - 143548460 143599278 143554188 143573701 9 143548460,143554166,143555916,143557300,143558187,143559508,143559894,143573081,143599119, 143551235,143554443,143556254,143557540,143558401,143559606,143560889,143573715,143599278, 0 FAM115A cmpl cmpl -1,0,1,1,0,1,2,0,-1, 1640 NM_014811 chr9 + 138371647 138380739 138376356 138379986 4 138371647,138374528,138375795,138376294, 138371868,138374661,138375928,138380739, 0 PPP1R26 cmpl cmpl -1,-1,-1,0, 816 NM_001199119 chr6 + 30297087 30314635 30297094 30314587 10 30297087,30298557,30303521,30307684,30308281,30309488,30313074,30313267,30314208,30314489, 30297547,30298653,30303752,30307707,30308397,30309673,30313175,30313350,30314334,30314635, 0 TRIM39-RPP21 cmpl cmpl 0,0,0,0,2,1,0,2,1,1, 965 NM_000084 chrX + 49832214 49863892 49834580 49856876 12 49832214,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49832415,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl -1,0,0,1,0,0,0,0,0,1,1,2, 177 NM_018984 chr12 - 109176465 109251359 109181763 109251272 15 109176465,109186061,109192775,109194555,109196097,109198831,109200076,109201408,109203468,109205035,109210813,109212024,109217033,109246413,109251203, 109183020,109186605,109192976,109194702,109196144,109198960,109200170,109201603,109203534,109205104,109210935,109212089,109217137,109246454,109251359, 0 SSH1 cmpl cmpl 0,2,2,2,0,0,2,2,2,2,0,1,2,0,0, 936 NM_001278216 chr17 + 46048321 46059152 46053256 46058868 12 46048321,46048727,46050884,46051296,46051765,46052879,46054077,46055197,46056194,46057958,46058528,46058802, 46048518,46048773,46051016,46051397,46052703,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl -1,-1,-1,-1,-1,0,0,0,1,0,2,0, 1087 NM_001242310 chrX - 65815481 65835872 65819325 65835862 7 65815481,65819315,65819880,65822474,65824262,65824889,65835775, 65817935,65819708,65819937,65822639,65824348,65825068,65835872, 0 EDA2R cmpl cmpl -1,1,1,1,2,0,0, 1626 NM_001097599 chr3 + 136537860 136574734 136573302 136574541 2 136537860,136573284, 136538205,136574734, 0 SLC35G2 cmpl cmpl -1,0, 816 NM_052888 chr17 + 30348154 30380519 30348165 30380347 12 30348154,30351729,30354787,30357674,30358396,30361928,30362583,30372718,30374779,30376120,30377021,30380284, 30349844,30351801,30354859,30357746,30358477,30362000,30362658,30372837,30374920,30376413,30377126,30380519, 0 LRRC37B cmpl cmpl 0,2,2,2,2,2,2,2,1,1,0,0, 683 NM_001099677 chr8 + 12869772 12887284 12878566 12879553 2 12869772,12878516, 12870302,12887284, 0 KIAA1456 cmpl cmpl -1,0, 983 NM_138792 chr15 - 52230221 52263998 52230352 52263942 12 52230221,52239488,52242004,52244040,52245325,52246677,52250938,52252095,52252835,52254585,52257945,52263884, 52230457,52239586,52242191,52244176,52245460,52246772,52251023,52252241,52252930,52254690,52258701,52263998, 0 LEO1 cmpl cmpl 0,1,0,2,2,0,2,0,1,1,1,0, 199 NM_001164618 chrX - 132669775 133119673 132670151 133119476 8 132669775,132730467,132795757,132826396,132833922,132887508,133087124,133119301, 132670321,132730627,132795878,132826522,132834056,132888203,133087238,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,1,1,0, 138 NR_015446 chr4 + 69048009 69078188 69078188 69078188 3 69048009,69051477,69078023, 69049221,69051601,69078188, 0 FTLP10 unk unk -1,-1,-1, 821 NM_001282328 chr22 - 30972611 31003000 30973032 30980655 17 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30988118,31001400,31002795, 30973116,30974985,30975290,30975922,30976165,30976688,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30988385,31001504,31003000, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1, 74 NM_001282326 chr17 - 1963132 1992055 1964785 1990458 7 1963132,1968366,1968761,1972071,1985103,1989018,1990368, 1964916,1968448,1968973,1972225,1985250,1989195,1992055, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,0, 825 NM_004847 chr6 + 31582993 31584798 31583888 31584287 3 31582993,31583297,31583446, 31583070,31583359,31584798, 0 AIF1 cmpl cmpl -1,-1,0, 862 NM_001195415 chr13 - 36342788 36429998 36348778 36429665 14 36342788,36362348,36367502,36379835,36382360,36383154,36384971,36396865,36401771,36402386,36410169,36413228,36428635,36429646, 36348836,36362422,36367616,36379916,36382457,36383232,36385105,36397012,36401891,36402444,36410278,36413313,36428730,36429998, 0 DCLK1 cmpl cmpl 2,0,0,0,2,2,0,0,0,2,1,0,1,0, 882 NM_001195387 chr17 + 38975343 38992526 38990768 38991545 3 38975343,38989366,38990633, 38975422,38989451,38992526, 0 TMEM99 cmpl cmpl -1,-1,0, 1314 NM_001134658 chr10 + 95653729 95662491 95653790 95661247 3 95653729,95658327,95660508, 95653968,95658508,95662491, 0 SLC35G1 cmpl cmpl 0,1,2, 1260 NM_181783 chr12 + 88536072 88593664 88542092 88589426 14 88536072,88542064,88547067,88548064,88553890,88554455,88560106,88566373,88568383,88569984,88582619,88584229,88586380,88588614, 88536264,88542281,88547286,88548164,88554006,88554628,88560359,88566522,88568504,88570096,88582723,88584399,88586607,88593664, 0 TMTC3 cmpl cmpl -1,0,0,0,1,0,2,0,2,0,1,0,2,1, 1734 NM_181776 chr5 - 150694538 150727151 150696377 150727021 10 150694538,150701606,150704846,150712784,150714889,150718620,150722448,150723070,150723737,150726857, 150696649,150701776,150705013,150712883,150715108,150718705,150722544,150723159,150723828,150727151, 0 SLC36A2 cmpl cmpl 1,2,0,0,0,2,2,0,2,0, 1734 NM_181774 chr5 - 150655925 150683334 150656953 150682915 10 150655925,150660574,150663604,150664173,150666806,150667946,150672924,150675740,150678153,150682787, 150657222,150660744,150663771,150664272,150667025,150668031,150673020,150675829,150678244,150683334, 0 SLC36A3 cmpl cmpl 1,2,0,0,0,2,2,0,2,0, 886 NM_181773 chr22 + 39493228 39500072 39496283 39499702 5 39493228,39496276,39497241,39497922,39499693, 39493348,39496433,39497509,39498047,39500072, 0 APOBEC3H cmpl cmpl -1,0,0,1,0, 144 NM_001142444 chr15 - 74922898 74988386 74924952 74967465 8 74922898,74927749,74932806,74948073,74963795,74967301,74979431,74988220, 74925287,74927967,74932960,74948409,74964115,74967483,74979520,74988386, 0 EDC3 cmpl cmpl 1,2,1,1,2,0,-1,-1, 144 NM_001142443 chr15 - 74922898 74988386 74924952 74967465 10 74922898,74927749,74932806,74948073,74963795,74967301,74969281,74979431,74985226,74988220, 74925287,74927967,74932960,74948409,74964115,74967483,74969363,74979520,74985359,74988386, 0 EDC3 cmpl cmpl 1,2,1,1,2,0,-1,-1,-1,-1, 719 NM_177405 chr22 - 17659679 17680673 17662372 17680468 7 17659679,17662709,17663493,17669228,17670831,17672572,17680438, 17662466,17662912,17663651,17669337,17670922,17672700,17680673, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,0, 1116 NM_001104554 chr15 + 69606741 69699976 69652419 69696161 9 69606741,69629679,69652304,69672221,69677015,69681992,69689806,69692312,69695919, 69607133,69629840,69652470,69672349,69677221,69682119,69689903,69692454,69699976, 0 PAQR5 cmpl cmpl -1,-1,0,0,2,1,2,0,1, 838 NM_001164267 chr6 - 33246879 33257304 33247052 33256947 15 33246879,33247273,33247540,33248204,33248450,33254571,33254867,33255131,33255390,33255741,33255924,33256134,33256390,33256580,33256878, 33247151,33247387,33247636,33248299,33248764,33254671,33255003,33255282,33255495,33255803,33256012,33256247,33256471,33256628,33257304, 0 WDR46 cmpl cmpl 0,0,0,1,2,1,0,2,2,0,2,0,0,0,0, 818 NM_001164239 chr6 - 30620895 30640830 30621018 30640759 20 30620895,30622482,30622951,30623211,30623974,30624167,30624373,30624728,30627248,30627512,30627808,30630403,30630687,30632577,30632847,30633255,30638186,30638566,30638812,30640732, 30621147,30622656,30623113,30623374,30624042,30624286,30624536,30624869,30627401,30627611,30628019,30630519,30630798,30632769,30633051,30633510,30638243,30638729,30639051,30640830, 0 DHX16 cmpl cmpl 0,0,0,2,0,1,0,0,0,0,2,0,0,0,0,0,0,2,0,0, 598 NM_001171039 chrX + 1734025 1761974 1734092 1761907 7 1734025,1742031,1743161,1746595,1748713,1755330,1761695, 1734161,1742206,1743291,1746664,1748832,1755453,1761974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1, 670 NR_038972 chr20 - 11247306 11254031 11254031 11254031 2 11247306,11253981, 11249530,11254031, 0 LOC339593 unk unk -1,-1, 1719 NM_016153 chrX - 148674182 148676974 148674251 148676360 2 148674182,148675796, 148674959,148676974, 0 HSFX1 cmpl cmpl 0,0, 1155 NM_016170 chr2 + 74741595 74744275 74741933 74743316 3 74741595,74742759,74743099, 74742333,74742997,74744275, 0 TLX2 cmpl cmpl 0,1,2, 594 NM_012217 chr16 + 1306272 1308494 1306281 1308377 5 1306272,1306516,1306797,1308059,1308332, 1306363,1306688,1307063,1308223,1308494, 0 TPSD1 cmpl cmpl 0,1,2,1,0, 755 NM_020346 chr11 + 22359666 22401046 22360079 22399286 12 22359666,22363073,22364792,22380958,22382442,22384284,22387092,22391584,22396300,22397527,22398090,22398950, 22360165,22363326,22364911,22381073,22382530,22384371,22387235,22391734,22396433,22397638,22398218,22401046, 0 SLC17A6 cmpl cmpl 0,2,0,2,0,1,1,0,0,1,1,0, 818 NM_001134870 chr6 - 30644165 30655093 30645045 30653795 4 30644165,30646955,30652184,30654890, 30645065,30647166,30653823,30655093, 0 PPP1R18 cmpl cmpl 1,0,0,-1, 102 NM_017769 chr14 + 31028328 31089046 31050285 31085740 15 31028328,31050281,31055923,31058588,31061528,31062679,31066625,31067688,31070975,31071204,31074710,31077093,31081412,31084554,31085483, 31028478,31050322,31056021,31058690,31061653,31062845,31066732,31067805,31071100,31071337,31075018,31077275,31081585,31084745,31089046, 0 G2E3 cmpl cmpl -1,0,1,0,0,2,0,2,2,1,2,1,0,2,1, 704 NR_003088 chr21 + 15646119 15663706 15663706 15663706 5 15646119,15651916,15659870,15660724,15663606, 15646478,15651978,15660018,15660867,15663706, 0 ABCC13 unk unk -1,-1,-1,-1,-1, 1722 NM_001013845 chrX - 149100414 149106716 149100761 149102092 5 149100414,149101839,149102222,149105650,149106410, 149100985,149102121,149102355,149105698,149106716, 0 CXorf40B cmpl cmpl 1,0,-1,-1,-1, 1232 NM_058248 chr1 + 84874033 84880691 84878108 84880551 4 84874033,84876520,84878031,84880210, 84874201,84876682,84878229,84880691, 0 DNASE2B cmpl cmpl -1,-1,0,1, 1413 NM_021815 chr2 + 108602994 108630443 108604611 108627317 9 108602994,108604560,108608561,108609427,108614293,108618352,108622504,108624920,108626687, 108603219,108604789,108608675,108609583,108614442,108618496,108622658,108625138,108630443, 0 SLC5A7 cmpl cmpl -1,0,1,1,1,0,0,1,0, 2436 NM_001287249 chr2 + 242673993 242708231 242681901 242707384 9 242673993,242680447,242681849,242683036,242684123,242689565,242690660,242695263,242707124, 242674110,242680505,242681989,242683230,242684292,242689709,242690803,242695429,242708231, 0 D2HGDH cmpl cmpl -1,-1,0,1,0,1,1,0,1, 10 NM_001128627 chr18 - 12446510 12656731 12449636 12635072 16 12446510,12452253,12452483,12453066,12454344,12463349,12464866,12479697,12493070,12496014,12506475,12512452,12535474,12546672,12635060,12656649, 12449895,12452390,12452511,12453137,12454482,12463492,12464957,12479870,12493200,12496101,12506640,12512530,12535600,12546903,12635095,12656731, 0 SPIRE1 cmpl cmpl 2,0,2,0,0,1,0,1,0,0,0,0,0,0,0,-1, 10 NM_001128626 chr18 - 12446510 12657912 12449636 12657865 17 12446510,12452253,12452483,12453066,12454344,12463349,12464866,12479697,12485957,12493070,12496014,12506475,12512452,12535474,12546672,12635060,12657528, 12449895,12452390,12452511,12453137,12454482,12463492,12464957,12479870,12485999,12493200,12496101,12506640,12512530,12535600,12546903,12635095,12657912, 0 SPIRE1 cmpl cmpl 2,0,2,0,0,1,0,1,1,0,0,0,0,0,0,1,0, 767 NM_020345 chr3 - 23933571 23958537 23934585 23952395 5 23933571,23942298,23952301,23952819,23958274, 23934828,23942540,23952412,23952941,23958537, 0 NKIRAS1 cmpl cmpl 0,1,0,-1,-1, 1007 NM_001145458 chr19 + 55417507 55424439 55417545 55424239 6 55417507,55417656,55417880,55420603,55421377,55424057, 55417579,55417692,55418165,55420882,55421425,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1, 1007 NM_001145457 chr19 + 55417507 55424439 55417545 55424239 7 55417507,55417656,55417880,55420603,55421377,55423538,55424057, 55417579,55417692,55418165,55420882,55421425,55423586,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1,1, 973 NM_014551 chr22 + 50946644 50958191 50946766 50957788 9 50946644,50954875,50955855,50956005,50956169,50956401,50956561,50957077,50957618, 50946874,50954977,50955911,50956090,50956238,50956481,50956707,50957161,50958191, 0 NCAPH2 cmpl cmpl 0,0,0,2,0,0,2,1,1, 122 NM_001981 chr1 - 51819934 51984995 51822371 51984903 25 51819934,51826842,51829537,51831624,51860052,51864703,51866589,51868106,51869090,51871576,51873806,51875206,51887457,51906018,51910560,51912631,51913717,51926762,51929344,51930932,51934144,51937361,51938530,51946944,51984870, 51822518,51827027,51829700,51831701,51860119,51864837,51866625,51868197,51869204,51871780,51874004,51875368,51887530,51906104,51910717,51912777,51913807,51926822,51929470,51930998,51934240,51937409,51938620,51946986,51984995, 0 EPS15 cmpl cmpl 0,1,0,1,0,1,1,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 88 NM_004996 chr16 + 16043433 16236930 16043608 16235138 31 16043433,16101672,16103632,16108347,16110352,16126965,16130328,16138306,16139692,16141998,16146580,16149948,16162012,16165498,16170182,16173208,16177222,16180680,16184261,16196483,16200594,16205231,16208622,16215831,16218645,16219666,16225645,16228206,16230334,16232220,16235029, 16043656,16101849,16103758,16108485,16110478,16127027,16130460,16138537,16139870,16142160,16146673,16150152,16162159,16165586,16170258,16173335,16177399,16180848,16184445,16196574,16200730,16205439,16208933,16216031,16218772,16219768,16225792,16228365,16230501,16232415,16236930, 0 ABCC1 cmpl cmpl 0,0,0,0,0,0,2,2,2,0,0,0,0,0,1,2,0,0,0,1,2,0,1,0,2,0,0,0,0,2,2, 921 NM_025165 chr15 - 44064797 44069502 44065313 44069099 11 44064797,44065501,44066379,44066673,44066793,44067503,44067722,44067919,44068236,44068706,44068967, 44065424,44065546,44066551,44066716,44066971,44067579,44067808,44068121,44068349,44068742,44069502, 0 ELL3 cmpl cmpl 0,0,2,1,0,2,0,2,0,0,0, 1643 NM_020119 chr7 - 138728265 138794465 138732339 138794077 13 138728265,138738196,138738710,138739950,138745781,138749624,138758601,138761031,138763297,138764215,138768525,138774369,138793769, 138732599,138738327,138738841,138740041,138745884,138749745,138758776,138761155,138763399,138764989,138768778,138774505,138794465, 0 ZC3HAV1 cmpl cmpl 1,2,0,2,1,0,2,1,1,1,0,2,0, 779 NR_003348 chr15 + 25475984 25476066 25476066 25476066 1 25475984, 25476066, 0 SNORD115-33 unk unk -1, 1696 NM_130849 chr8 - 145637797 145642279 145637921 145642173 12 145637797,145638142,145638620,145638896,145639133,145639341,145639645,145640108,145640357,145640610,145641193,145641981, 145638050,145638330,145638773,145638951,145639265,145639479,145639818,145640280,145640494,145640803,145641475,145642279, 0 SLC39A4 cmpl cmpl 0,1,1,0,0,0,1,0,1,0,0,0, 102 NM_001193336 chr22 - 30920916 30942669 30920983 30942669 12 30920916,30921336,30921597,30921812,30925073,30925275,30927889,30928511,30928783,30929982,30934813,30942615, 30921096,30921506,30921737,30921919,30925157,30925336,30927985,30928700,30928843,30930026,30934889,30942669, 0 SEC14L6 cmpl cmpl 1,2,0,1,1,0,0,0,0,1,0,0, 730 NR_026651 chr22 + 19010136 19011063 19011063 19011063 1 19010136, 19011063, 0 DGCR10 unk unk -1, 1611 NM_177400 chr10 - 134598319 134599537 134598419 134599452 3 134598319,134598783,134599046, 134598674,134598956,134599537, 0 NKX6-2 cmpl cmpl 0,1,0, 791 NR_000009 chr17 + 27050698 27050772 27050772 27050772 1 27050698, 27050772, 0 SNORD4B unk unk -1, 2371 NM_001190267 chr2 + 234160216 234204320 234172670 234202996 18 234160216,234164747,234171775,234172641,234173537,234178647,234181611,234182366,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234171881,234172711,234173789,234178713,234181698,234182423,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl -1,-1,-1,0,2,2,2,2,2,0,1,0,0,1,2,2,2,2, 2371 NM_001190266 chr2 + 234160216 234204320 234171818 234202996 18 234160216,234164747,234171775,234172637,234173537,234178647,234181611,234182366,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160586,234164841,234171881,234172711,234173789,234178713,234181698,234182423,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl -1,-1,0,0,2,2,2,2,2,0,1,0,0,1,2,2,2,2, 1057 NM_020882 chr20 + 61924537 61962285 61926459 61961010 36 61924537,61926449,61929261,61936768,61937232,61938841,61939322,61939893,61940684,61941109,61941732,61942745,61942976,61943267,61943771,61944143,61944468,61945094,61945423,61946755,61947904,61950409,61950838,61951390,61951642,61952364,61953409,61956792,61957019,61957447,61958103,61959303,61959430,61959682,61960936,61962071, 61924627,61926541,61929372,61936912,61937391,61939000,61939442,61940058,61940849,61941267,61941862,61942891,61943100,61943407,61943901,61944286,61944601,61945243,61945553,61946791,61948043,61950552,61950948,61951549,61951720,61952451,61953463,61956846,61957073,61957501,61958175,61959339,61959479,61959850,61961013,61962285, 0 COL20A1 cmpl cmpl -1,0,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0,1,1,-1, 1538 NM_001145290 chr11 + 124933012 124960412 124933263 124958030 18 124933012,124946652,124947125,124947345,124949007,124949579,124950509,124951316,124951649,124952139,124953710,124954129,124954720,124954961,124955290,124955472,124955849,124958014, 124933322,124946734,124947219,124947424,124949143,124949656,124950676,124951354,124951802,124952230,124953773,124954215,124954769,124955035,124955369,124955570,124955914,124960412, 0 SLC37A2 cmpl cmpl 0,2,0,1,2,0,2,1,0,0,1,1,0,1,0,1,0,2, 1134 NR_029598 chr6 - 72086662 72086734 72086734 72086734 1 72086662, 72086734, 0 MIR30C2 unk unk -1, 1136 NR_029603 chr11 - 72326106 72326174 72326174 72326174 1 72326106, 72326174, 0 MIR139 unk unk -1, 819 NR_002781 chr20 - 30776948 30778163 30778163 30778163 1 30776948, 30778163, 0 TSPY26P unk unk -1, 1771 NM_173657 chr3 - 155480400 155524055 155481305 155520365 6 155480400,155485297,155493489,155520320,155523385,155523927, 155481707,155485458,155493637,155520380,155523512,155524055, 0 C3orf33 cmpl cmpl 0,1,0,0,-1,-1, 1064 NM_001136506 chr11 - 62847411 62911693 62847411 62911251 10 62847411,62848391,62849029,62850714,62863462,62871646,62886383,62886652,62902136,62910849, 62847472,62848595,62849138,62850929,62863578,62871770,62886552,62886807,62902240,62911693, 0 SLC22A24 cmpl cmpl 2,2,1,2,0,2,1,2,0,0, 18 NM_001160011 chr1 + 76540388 77042892 76540551 77042540 4 76540388,76779489,76877692,77042530, 76540569,76779684,76878102,77042892, 0 ST6GALNAC3 cmpl cmpl 0,0,0,2, 613 NM_001258430 chr20 - 3734145 3748452 3734704 3740747 6 3734145,3735043,3736115,3739182,3740728,3747855, 3734805,3735166,3736254,3739325,3740833,3748452, 0 C20orf27 cmpl cmpl 1,1,0,1,0,-1, 1609 NM_001080538 chr7 + 134233848 134264592 134249371 134264301 12 134233848,134241487,134249349,134252909,134254164,134256355,134260171,134260572,134261100,134261714,134262455,134264258, 134234001,134241611,134249521,134253077,134254281,134256433,134260294,134260679,134261182,134261798,134262538,134264592, 0 AKR1B15 cmpl cmpl -1,-1,0,0,0,0,0,0,2,0,0,2, 918 NM_004046 chr18 - 43664109 43678319 43664247 43678197 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43675018,43678137, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,1,0,0, 250 NM_001145674 chr4 - 186506597 186578123 186508780 186577792 15 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186544067,186547985,186551702,186567821,186570620,186573815,186577768, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186545648,186548173,186551752,186567936,186570810,186573882,186578123, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,1,2,0,2,1,0,0, 893 NM_001136493 chr1 + 40420783 40435640 40420964 40435240 14 40420783,40422758,40424333,40430882,40431142,40431528,40432272,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl 0,0,0,2,0,1,0,1,0,0,0,2,2,2, 1815 NM_000530 chr1 - 161274524 161279762 161275665 161279695 6 161274524,161275897,161276118,161276497,161277047,161279628, 161275767,161275958,161276254,161276711,161277214,161279762, 0 MPZ cmpl cmpl 0,2,1,0,1,0, 890 NR_027277 chr4 - 40044536 40058819 40058819 40058819 3 40044536,40046584,40058580, 40045804,40046690,40058819, 0 LOC344967 unk unk -1,-1,-1, 152 NM_001191049 chr4 - 83739813 83812335 83740226 83812304 26 83739813,83742189,83745707,83748521,83750152,83763337,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83812335, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0, 1370 NM_152326 chr14 - 102973197 102976128 102973272 102974226 4 102973197,102974811,102974977,102975865, 102974279,102974886,102975183,102976128, 0 ANKRD9 cmpl cmpl 0,-1,-1,-1, 1561 NM_000122 chr2 - 128014865 128051752 128015171 128051657 15 128014865,128016871,128018803,128028911,128030440,128036748,128038022,128044278,128046235,128046912,128047264,128047799,128050185,128051088,128051629, 128015303,128017024,128018922,128029029,128030537,128036951,128038207,128044593,128046440,128047077,128047400,128047849,128050422,128051294,128051752, 0 ERCC3 cmpl cmpl 0,0,1,0,2,0,1,1,0,0,2,0,0,1,0, 1390 NM_022361 chr6 - 105605774 105627858 105606344 105609784 4 105605774,105607585,105609299,105627707, 105606626,105607694,105610035,105627858, 0 POPDC3 cmpl cmpl 0,2,0,-1, 1003 NM_177433 chrX + 54834031 54842448 54835764 54842115 13 54834031,54835735,54836154,54837253,54837682,54838006,54838589,54839377,54839550,54839920,54841093,54841680,54842313, 54834235,54835809,54836646,54837562,54837746,54838086,54838684,54839457,54839593,54839983,54841208,54842123,54842448, 0 MAGED2 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 985 NR_103447 chr6 + 52442095 52448791 52448791 52448791 4 52442095,52442847,52444172,52447660, 52442449,52443191,52444407,52448791, 0 TRAM2-AS1 unk unk -1,-1,-1,-1, 121 NM_001276451 chr10 - 50574160 50604062 50574160 50603486 7 50574160,50594523,50594725,50598178,50599209,50603452,50603980, 50574426,50594636,50594904,50598280,50599307,50603567,50604062, 0 DRGX cmpl cmpl 1,2,0,0,1,0,-1, 825 NM_001145467 chr6 - 31557050 31560762 31557088 31560498 4 31557050,31557302,31557558,31560455, 31557165,31557410,31557903,31560762, 0 NCR3 cmpl cmpl 1,1,1,0, 1771 NM_001190992 chr3 - 155544300 155572248 155545998 155571786 7 155544300,155545970,155547476,155551256,155551645,155560220,155571011, 155544608,155546166,155547692,155551374,155551830,155560408,155572248, 0 SLC33A1 cmpl cmpl -1,0,0,2,0,1,0, 10 NM_001195279 chr3 - 12581279 12586963 12581691 12586963 4 12581279,12583358,12584678,12586745, 12581932,12583521,12584728,12586963, 0 C3orf83 cmpl cmpl 2,1,2,0, 734 NM_015965 chr19 + 19627018 19639013 19627047 19638935 5 19627018,19636990,19638089,19638509,19638815, 19627141,19637069,19638161,19638579,19639013, 0 NDUFA13 cmpl cmpl 0,1,2,2,0, 14 NM_001123066 chr17 + 43971747 44105699 44039703 44101537 15 43971747,44039686,44049224,44051750,44055740,44060543,44064405,44067243,44068825,44071289,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44061296,44064461,44067441,44068952,44071343,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,1,0,0,1,1,0,0,1,0, 941 NM_018976 chr12 - 46751970 46766645 46754893 46765076 16 46751970,46756066,46756276,46756803,46757508,46757706,46758171,46758426,46758889,46760646,46760858,46761049,46764294,46764558,46764960,46766291, 46754992,46756164,46756421,46756928,46757609,46757786,46758339,46758485,46758972,46760728,46760951,46761123,46764410,46764640,46765162,46766645, 0 SLC38A2 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1, 1110 NM_138964 chr2 + 68872953 68882708 68872953 68882708 2 68872953,68882011, 68873438,68882708, 0 PROKR1 cmpl cmpl 0,2, 149 NM_139062 chr17 - 80200536 80231594 80203882 80231257 10 80200536,80203851,80206750,80207306,80209254,80210309,80210891,80213304,80223561,80231181, 80202707,80203915,80206890,80207478,80209403,80210480,80211120,80213453,80223672,80231594, 0 CSNK1D cmpl cmpl -1,0,1,0,1,1,0,1,1,0, 299 NM_001035 chr1 + 237205701 237997288 237205821 237995947 105 237205701,237433796,237494177,237519264,237527657,237532833,237538016,237540622,237550580,237551386,237580348,237586391,237604618,237608700,237617690,237619899,237632391,237655105,237656253,237659810,237664010,237666588,237670009,237674987,237693726,237711730,237713843,237729866,237732444,237753092,237753939,237755038,237756775,237758797,237765324,237774061,237777338,237780585,237787064,237788960,237791106,237794726,237796877,237798188,237801656,237802314,237804196,237806626,237811743,237813176,237814710,237817573,237819120,237821243,237823284,237824109,237829811,237831182,237837395,237838030,237841347,237843755,237850754,237862264,237863528,237865277,237868512,237870248,237872157,237872779,237875044,237880497,237881761,237886427,237889572,237890386,237893559,237895345,237897004,237905595,237919587,237920996,237923075,237924254,237934106,237935311,237936819,237941965,237944864,237946974,237949268,237951287,237954728,237955404,237957166,237958588,237961336,237965155,237969436,237972200,237982335,237991680,237993829,237994813,237995851, 237205869,237433916,237494282,237519285,237527672,237532908,237538095,237540735,237550680,237551483,237580423,237586548,237604783,237608822,237617874,237620035,237632487,237655224,237656387,237660052,237664203,237666805,237670114,237675091,237693810,237711890,237713991,237730075,237732619,237753301,237754292,237755153,237756936,237758957,237765411,237774288,237778143,237780786,237787170,237789104,237791380,237794841,237797010,237798292,237801792,237802501,237804302,237806747,237811913,237813397,237814801,237817714,237819284,237821322,237823374,237824247,237829889,237831258,237837519,237838146,237841412,237843877,237850804,237862325,237863767,237865359,237868643,237870569,237872398,237872867,237875137,237880668,237881821,237886562,237889608,237890499,237893656,237895449,237897056,237905649,237919687,237921076,237923152,237924328,237934187,237935400,237936948,237942070,237944946,237948272,237949336,237951435,237954815,237955623,237957297,237958631,237961470,237965216,237969583,237972335,237982492,237991745,237993930,237994865,237997288, 0 RYR2 cmpl cmpl 0,0,0,0,0,0,0,1,0,1,2,2,0,0,2,0,1,1,0,2,1,2,0,0,2,2,0,1,0,1,0,2,0,2,0,0,2,0,0,1,1,2,0,1,0,1,2,0,1,0,2,0,0,2,0,0,0,0,1,2,1,0,2,1,2,1,2,1,1,2,0,0,0,0,0,0,2,0,2,0,0,1,0,2,1,1,0,0,0,1,0,2,0,0,0,2,0,2,0,0,0,1,0,2,0, 1067 NM_000524 chr5 - 63255874 63258119 63256277 63257546 1 63255874, 63258119, 0 HTR1A cmpl cmpl 0, 1568 NM_001199469 chr3 - 128846258 128880073 128848923 128879818 12 128846258,128849392,128852916,128853674,128855973,128859210,128864603,128875475,128875697,128877350,128877996,128879815, 128849031,128849479,128853038,128853797,128856039,128859328,128864716,128875518,128875763,128877402,128878019,128880073, 0 ISY1 cmpl cmpl 0,0,1,1,1,0,1,0,0,2,0,0, 1449 NM_016816 chr12 + 113344738 113357712 113344844 113357358 6 113344738,113346340,113348855,113354313,113355351,113357193, 113345024,113346629,113349040,113354543,113355505,113357712, 0 OAS1 cmpl cmpl 0,0,1,0,2,0, 596 NM_001173473 chrX - 1522031 1572655 1522161 1561129 13 1522031,1531624,1536865,1537874,1540550,1544417,1546626,1551161,1553914,1554586,1557989,1561078,1572510, 1522382,1531747,1537009,1538007,1540735,1544580,1547014,1551270,1553976,1554651,1558037,1561210,1572655, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,-1, 586 NM_052909 chr5 + 140372 190087 140422 182438 18 140372,143161,143494,144941,151627,154989,155459,156185,156887,161897,162836,169454,171157,171328,173011,174032,181628,182118, 140831,143371,143618,145035,151714,155106,155558,156325,157026,162059,163663,169707,171247,171559,173182,174213,181790,190087, 0 PLEKHG4B cmpl cmpl 0,1,1,2,0,0,0,0,2,0,0,2,0,0,0,0,1,1, 1654 NM_001177317 chr9 + 140125208 140131006 140126154 140130868 13 140125208,140126112,140126523,140127026,140127235,140127455,140127660,140128084,140128314,140128560,140128867,140129058,140130403, 140125390,140126239,140126613,140127155,140127379,140127567,140127856,140128174,140128393,140128728,140128984,140129183,140131006, 0 SLC34A3 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 605 NM_003140 chrY - 2654895 2655782 2655029 2655644 1 2654895, 2655782, 0 SRY cmpl cmpl 0, 716 NM_004412 chr10 - 17184981 17244070 17191038 17243633 11 17184981,17195505,17196675,17199439,17201144,17202303,17203481,17204164,17210839,17216549,17243569, 17191139,17195635,17196733,17199783,17201228,17202373,17203547,17204236,17210916,17216659,17244070, 0 TRDMT1 cmpl cmpl 1,0,2,0,0,2,2,2,0,1,0, 595 NM_001012288 chrX - 1314886 1331527 1314886 1325338 5 1314886,1317418,1321271,1325325,1331448, 1315014,1317581,1321405,1325492,1331527, 0 CRLF2 incmpl cmpl 1,0,1,0,-1, 594 NM_001012288 chrY - 1264886 1281527 1264886 1275338 5 1264886,1267418,1271271,1275325,1281448, 1265014,1267581,1271405,1275492,1281527, 0 CRLF2 incmpl cmpl 1,0,1,0,-1, 166 NM_001122646 chr2 - 97541618 97652301 97542012 97652050 17 97541618,97543626,97544152,97559662,97568356,97586901,97587214,97589226,97594942,97613554,97617115,97626024,97633256,97636452,97637637,97638274,97651977, 97542045,97543779,97544230,97559788,97568444,97586999,97587391,97589320,97595057,97613639,97617221,97626177,97633364,97636514,97638059,97638343,97652301, 0 FAM178B cmpl cmpl 0,0,0,0,2,0,0,2,1,0,2,2,2,0,1,1,0, 732 NM_001145783 chr19 - 19292684 19303400 19293377 19302926 4 19292684,19296842,19297701,19302889, 19293492,19296907,19297814,19303400, 0 MEF2BNB cmpl cmpl 2,0,1,0, 12 NM_000275 chr15 - 28000022 28344458 28000533 28327020 24 28000022,28090104,28096527,28116299,28117008,28171272,28196929,28200303,28202733,28211835,28228490,28230209,28231732,28234746,28235721,28259921,28261249,28263542,28267646,28269990,28273016,28277210,28326793,28344369, 28000618,28090198,28096621,28116404,28117068,28171400,28197038,28200361,28202881,28211968,28228629,28230334,28231789,28234812,28235793,28260075,28261332,28263703,28267719,28270048,28273205,28277309,28327041,28344458, 0 OCA2 cmpl cmpl 2,1,0,0,0,1,0,2,1,0,2,0,0,0,0,2,0,1,0,2,2,2,0,-1, 850 NM_001123392 chr17 - 34746062 34757007 34746433 34755465 14 34746062,34747965,34748488,34749051,34749501,34750309,34750973,34752270,34752709,34753260,34753823,34755145,34755393,34756894, 34747002,34748118,34748588,34749117,34749596,34750430,34751022,34752380,34752817,34753341,34753863,34755231,34755466,34757007, 0 TBC1D3H cmpl cmpl 1,1,0,0,1,0,2,0,0,0,2,0,0,-1, 1878 NM_153353 chr3 - 169511215 169530574 169511422 169530336 10 169511215,169513272,169514001,169514532,169521840,169524635,169525213,169525375,169526415,169530197, 169511626,169513399,169514157,169514687,169521969,169524719,169525278,169525497,169526533,169530574, 0 LRRC34 cmpl cmpl 0,2,2,0,0,0,1,2,1,0, 1034 NM_001195135 chr19 + 58907456 58908446 58907456 58908446 1 58907456, 58908446, 0 LOC646862 cmpl cmpl 0, 794 NM_001172303 chr10 + 27443752 27475848 27444355 27475465 12 27443752,27447477,27448547,27450022,27453992,27454317,27456030,27458872,27462046,27469881,27470408,27475307, 27444541,27447615,27448687,27450111,27454099,27454468,27456203,27460012,27462188,27469995,27470510,27475848, 0 MASTL cmpl cmpl 0,0,0,2,1,0,1,0,0,1,1,1, 2436 NR_109778 chr2 + 242673993 242708231 242708231 242708231 8 242673993,242674547,242680447,242681849,242683036,242684123,242695263,242707124, 242674110,242674931,242680505,242681989,242683230,242684292,242695429,242708231, 0 D2HGDH unk unk -1,-1,-1,-1,-1,-1,-1,-1, 245 NM_001195000 chr1 + 181002560 181031074 181003143 181024401 6 181002560,181003022,181018187,181019146,181022708,181024360, 181002600,181003210,181018448,181019422,181022813,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1,1, 1053 NR_002775 chr11 + 61382507 61406921 61406921 61406921 5 61382507,61392456,61396313,61403600,61404056, 61382600,61392599,61396511,61403826,61406921, 0 RPLP0P2 unk unk -1,-1,-1,-1,-1, 596 NR_026710 chrY + 1469423 1482479 1482479 1482479 4 1469423,1470354,1472353,1481635, 1469479,1471118,1472478,1482479, 0 ASMTL-AS1 unk unk -1,-1,-1,-1, 111 NM_001284423 chr3 + 39850404 40301811 39942307 40299657 17 39850404,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 39850472,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,0,2,2,1,1,0,0,0,1,0,0,0,0,0,1,0, 20 NM_001244580 chr7 + 98476112 98610866 98478773 98609978 72 98476112,98478712,98479597,98487957,98490046,98491420,98493386,98495363,98497044,98497301,98498246,98501001,98503799,98506350,98507678,98508132,98508699,98509644,98513345,98515045,98519375,98522734,98524789,98527611,98528255,98529027,98530863,98533201,98534778,98535272,98540571,98543369,98545843,98546188,98547039,98547282,98547686,98548498,98550789,98552720,98553768,98554021,98555603,98556966,98558883,98559924,98562251,98563318,98564663,98565107,98567734,98569421,98573771,98574105,98574561,98575833,98576391,98579391,98580886,98581715,98582566,98586387,98588077,98589759,98591214,98592209,98601812,98602753,98605999,98608674,98608963,98609693, 98476260,98478873,98479647,98488068,98490151,98491504,98493443,98495489,98497122,98497390,98498343,98501140,98503878,98506585,98508042,98508230,98508894,98509836,98513511,98515302,98519576,98522886,98524989,98527829,98528453,98529288,98531025,98533298,98534900,98535443,98540640,98543423,98545963,98546308,98547204,98547464,98547885,98548627,98551056,98552927,98553927,98554156,98555714,98557113,98559097,98560050,98562398,98563518,98564785,98565321,98567914,98569568,98573891,98574393,98574699,98575946,98576527,98579583,98581115,98581981,98582667,98586589,98588242,98589850,98591360,98592471,98602038,98602971,98606184,98608878,98609158,98610866, 0 TRRAP cmpl cmpl -1,0,1,0,0,0,0,0,0,0,2,0,1,2,0,1,0,0,0,1,0,0,2,1,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,2,0,0,1,0,2,0,0,1,0,1,2,1,0,0,0, 1066 NM_014495 chr1 + 63063157 63071976 63063237 63070488 7 63063157,63064366,63066752,63067439,63067955,63069639,63070303, 63063732,63064477,63066867,63067553,63068051,63069906,63071976, 0 ANGPTL3 cmpl cmpl 0,0,0,1,1,1,1, 1365 NM_015490 chr10 - 102246402 102279595 102247372 102276709 26 102246402,102247783,102248614,102249008,102249459,102249764,102250462,102255141,102256014,102256891,102257423,102257785,102258461,102258916,102259280,102262010,102265117,102265796,102266077,102267181,102267664,102268763,102269072,102275852,102276630,102279538, 102247552,102247855,102248731,102249155,102249518,102250079,102250640,102255303,102256188,102257037,102257550,102257964,102258561,102259015,102259355,102262241,102265252,102265958,102266177,102267324,102267808,102268859,102269268,102275976,102276754,102279595, 0 SEC31B cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 129 NM_198463 chr3 - 58727736 59035715 58728186 58923391 16 58727736,58739495,58792120,58817411,58849283,58852291,58853542,58855053,58855898,58870270,58899433,58923373,59025282,59031954,59032890,59035660, 58728299,58739590,58792182,58817615,58849618,58852414,58853662,58855216,58856035,58870435,58899590,58923488,59025355,59032048,59032980,59035715, 0 C3orf67 cmpl cmpl 1,2,0,0,1,1,1,0,1,1,0,0,-1,-1,-1,-1, 821 NM_014303 chr22 - 30972611 30987927 30973032 30987820 15 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30987796, 30973116,30974985,30975290,30975922,30976165,30976688,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30987927, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,2,0,2,0,0, 190 NM_018249 chr9 - 123151146 123342448 123151513 123342256 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123222945,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 cmpl cmpl 0,1,0,0,1,1,1,2,1,1,1,2,1,2,1,1,0,2,0,0,0,1,2,0,0,0,0,0,0,0,2,0,2,0,0,1,2,0, 923 NM_014834 chr17 + 44372496 44415160 44372499 44415089 14 44372496,44377159,44380003,44382874,44383594,44399687,44400318,44405757,44407815,44409917,44412910,44414661,44414794,44415040, 44375108,44377231,44380075,44382946,44383675,44399759,44400393,44405876,44409347,44410022,44412960,44414716,44414934,44415160, 0 LRRC37A cmpl cmpl 0,2,2,2,2,2,2,2,1,0,0,2,0,2, 1153 NM_030798 chr7 - 74456269 74489717 74457139 74489573 11 74456269,74466817,74470007,74471635,74474399,74477019,74479106,74480394,74482476,74486453,74489249, 74457217,74466903,74470181,74471723,74474581,74477104,74479158,74480461,74482605,74486583,74489717, 0 WBSCR16 cmpl cmpl 0,1,1,0,1,0,2,1,1,0,0, 2371 NM_030803 chr2 + 234160216 234204320 234160473 234202996 18 234160216,234164747,234171775,234172637,234173537,234178647,234181611,234182366,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234171881,234172711,234173789,234178713,234181698,234182423,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl 0,1,2,0,2,2,2,2,2,0,1,0,0,1,2,2,2,2, 980 NM_030801 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811299,51812368, 0 MAGED4B cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_030801 chrX + 51927918 51935364 51929018 51935162 13 51927918,51928987,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 1762 NM_001242640 chrX + 154299694 154351349 154299802 154348425 11 154299694,154300601,154301648,154305444,154306890,154317537,154319058,154344331,154344985,154348273,154349497, 154299925,154300618,154301706,154305564,154306978,154317626,154319114,154344463,154345029,154348443,154351349, 0 BRCC3 cmpl cmpl 0,0,2,0,0,1,0,2,2,1,-1, 202 NR_024418 chr5 - 135527155 135528851 135528851 135528851 1 135527155, 135528851, 0 LOC389332 unk unk -1, 890 NM_003819 chr1 - 40026484 40042521 40027369 40041623 16 40026484,40027356,40027744,40027994,40029285,40029507,40030142,40030357,40030777,40033422,40034473,40035266,40035534,40036905,40038064,40041430, 40026794,40027459,40027875,40028088,40029413,40029594,40030214,40030445,40031050,40033518,40034611,40035361,40035674,40037021,40038258,40042521, 0 PABPC4 cmpl cmpl -1,0,1,0,1,1,1,0,0,0,0,1,2,0,1,0, 944 NM_004651 chrX + 47092313 47107727 47092313 47107329 21 47092313,47098468,47098749,47099188,47099703,47099985,47100172,47100675,47100939,47101480,47101837,47102024,47102794,47103896,47104080,47104414,47104768,47106470,47106702,47107009,47107191, 47092618,47098578,47098880,47099306,47099849,47100047,47100275,47100849,47101098,47101705,47101921,47102119,47103001,47103949,47104323,47104485,47104881,47106620,47106818,47107098,47107727, 0 USP11 cmpl cmpl 0,2,1,0,1,0,2,0,0,0,0,0,2,2,1,1,0,2,2,1,0, 1596 NM_214461 chr2 - 132552533 132559234 132552735 132558510 3 132552533,132558464,132558954, 132553319,132558723,132559234, 0 C2orf27B cmpl cmpl 1,0,-1, 2200 NM_021194 chr1 - 211748380 211752099 211748729 211751954 2 211748380,211751332, 211749631,211752099, 0 SLC30A1 cmpl cmpl 1,0, 2454 NR_026778 chr1 - 245003939 245010243 245010243 245010243 2 245003939,245009905, 245008646,245010243, 0 HNRNPU-AS1 unk unk -1,-1, 33 NM_152525 chr2 - 202352143 202483905 202352334 202483853 15 202352143,202360617,202400743,202402158,202410265,202412227,202430451,202436663,202438931,202440004,202446817,202466461,202467946,202469333,202483622, 202352625,202360692,202401043,202402202,202410344,202412333,202430595,202436743,202439000,202440049,202446940,202466607,202467998,202469420,202483905, 0 ALS2CR11 cmpl cmpl 0,0,0,1,0,2,2,0,0,0,0,1,0,0,0, 644 NM_174894 chr19 + 7745706 7747748 7747139 7747706 2 7745706,7747127, 7745935,7747748, 0 TRAPPC5 cmpl cmpl -1,0, 1642 NM_001040061 chr3 + 138666075 138672830 138666206 138669414 3 138666075,138668361,138669106, 138666306,138668481,138672830, 0 C3orf72 cmpl cmpl 0,1,1, 1660 NM_003883 chr5 - 141000442 141016423 141001034 141016357 15 141000442,141004774,141005251,141005579,141005760,141007459,141007680,141008125,141008739,141009250,141009426,141009610,141014377,141016114,141016302, 141001104,141004932,141005331,141005638,141005850,141007524,141007754,141008206,141008873,141009306,141009483,141009692,141014520,141016197,141016423, 0 HDAC3 cmpl cmpl 2,0,1,2,2,0,1,1,2,0,0,2,0,1,0, 169 NM_022091 chr6 - 101304178 101329248 101306983 101315873 4 101304178,101311939,101315783,101328936, 101307078,101312090,101315914,101329248, 0 ASCC3 cmpl cmpl 1,0,0,-1, 2076 NM_018406 chr3 - 195473637 195538844 195474046 195538688 25 195473637,195475772,195477759,195478077,195479243,195479921,195481083,195484017,195485994,195487754,195488354,195488957,195489725,195490303,195490915,195491867,195492140,195493533,195495892,195497086,195498522,195501042,195505173,195505660,195538606, 195474251,195475935,195477983,195478142,195479317,195480101,195481243,195484199,195486132,195487988,195488456,195489125,195489816,195490512,195491035,195491993,195492320,195493622,195496023,195497242,195498687,195501176,195505326,195518368,195538844, 0 MUC4 cmpl cmpl 2,1,2,0,1,1,0,1,1,1,1,1,0,1,1,1,1,2,0,0,0,1,1,1,0, 1864 NM_003953 chr1 + 167691186 167761156 167691388 167757158 6 167691186,167734819,167741511,167742472,167745300,167757056, 167691479,167734986,167741725,167742605,167745403,167761156, 0 MPZL1 cmpl cmpl 0,1,0,1,2,0, 1607 NM_001185095 chr9 + 133971862 133998539 133972016 133995709 7 133971862,133972188,133981574,133986983,133989963,133993142,133995621, 133972047,133972250,133981652,133987050,133990005,133993305,133998539, 0 AIF1L cmpl cmpl 0,1,0,0,1,1,2, 955 NM_003850 chr13 - 48516790 48575462 48517505 48575405 11 48516790,48523074,48523617,48528274,48528530,48542729,48547398,48562675,48563016,48570977,48575315, 48517580,48523163,48523738,48528417,48528692,48542868,48547527,48562838,48563116,48571158,48575462, 0 SUCLA2 cmpl cmpl 0,1,0,1,1,0,0,2,1,0,0, 828 NM_001710 chr6 + 31913720 31919861 31913998 31919807 18 31913720,31914149,31914783,31915124,31915518,31915721,31916150,31916606,31917019,31917196,31917826,31918062,31918395,31918644,31918920,31919117,31919331,31919651, 31914062,31914383,31914969,31915298,31915620,31915858,31916289,31916738,31917121,31917334,31917924,31918180,31918549,31918721,31919021,31919250,31919381,31919861, 0 CFB cmpl cmpl 0,1,1,1,1,1,0,1,1,1,1,0,1,2,1,0,1,0, 600 NM_172168 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030641,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030732,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 980 NM_177535 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4B cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 743 NM_182895 chr22 - 20778873 20792146 20779664 20792041 11 20778873,20781684,20783511,20783822,20784016,20784715,20784976,20785304,20786031,20786216,20791868, 20780569,20781837,20783627,20783940,20784120,20784844,20785195,20785824,20786133,20786275,20792146, 0 SCARF2 cmpl cmpl 1,1,2,1,2,2,2,1,1,2,0, 845 NM_015966 chr20 + 34129777 34145405 34129846 34145275 13 34129777,34130071,34130261,34130570,34135162,34136261,34136560,34142814,34143803,34143977,34144743,34144964,34145195, 34129934,34130142,34130349,34130690,34135256,34136427,34136618,34142846,34143900,34144042,34144880,34145020,34145405, 0 ERGIC3 cmpl cmpl 0,1,0,1,1,2,0,1,0,1,0,2,1, 1364 NM_152892 chr7 + 102105389 102113612 102105527 102113496 15 102105389,102106263,102106600,102107785,102108165,102108508,102108709,102109000,102109301,102110020,102110188,102112664,102112900,102113138,102113355, 102105607,102106498,102106717,102107926,102108270,102108634,102108824,102109101,102109509,102110093,102110329,102112756,102113056,102113251,102113612, 0 LRWD1 cmpl cmpl 0,2,0,0,0,0,0,1,0,1,2,2,1,1,0, 105 NM_005898 chr11 + 34073229 34124157 34073967 34120914 19 34073229,34073967,34093272,34093447,34097782,34098106,34101174,34104371,34104501,34107610,34107851,34110941,34111725,34112075,34113452,34118025,34118742,34119244,34120849, 34073418,34074183,34093335,34093534,34098021,34098189,34101312,34104424,34104588,34107766,34107960,34111003,34111836,34112225,34113603,34118220,34118843,34119308,34124157, 0 CAPRIN1 cmpl cmpl -1,0,0,0,0,2,1,1,0,0,0,1,0,0,0,1,1,0,1, 839 NM_001170 chr9 - 33384947 33402517 33385002 33401260 8 33384947,33385646,33386074,33386401,33386966,33395075,33401234,33402370, 33385288,33385864,33386193,33386539,33387090,33395193,33401285,33402517, 0 AQP7 cmpl cmpl 2,0,1,1,0,2,0,-1, 749 NM_001278530 chr14 + 21538418 21558406 21546543 21557030 23 21538418,21541203,21542090,21543490,21543781,21544518,21544721,21544932,21546335,21546531,21547042,21548818,21549031,21549667,21550402,21550989,21551993,21552911,21553847,21555159,21556126,21556988,21557172, 21538558,21541401,21543150,21543658,21543924,21544615,21544802,21545049,21546431,21546647,21547169,21548941,21549175,21550278,21550637,21551076,21552209,21553082,21554025,21555264,21556257,21557035,21558406, 0 ARHGEF40 cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,0,2,0,0,0,0,1,1,0,-1, 749 NM_001278529 chr14 + 21538418 21558406 21546543 21557030 24 21538418,21541203,21542090,21543490,21543803,21544518,21544694,21544932,21546335,21546531,21547042,21548818,21549031,21549667,21550402,21550989,21551993,21552911,21553847,21555159,21555478,21556126,21556988,21557172, 21538558,21541401,21543339,21543658,21543924,21544615,21544802,21545049,21546431,21546647,21547169,21548941,21549175,21550278,21550637,21551076,21552209,21553082,21554025,21555264,21555622,21556257,21557035,21558406, 0 ARHGEF40 cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,0,2,0,0,0,0,1,1,1,0,-1, 202 NM_032143 chr2 - 135954538 136288806 135957911 136262059 21 135954538,135960401,135965003,135966437,135975034,135976646,135981995,135985381,135988082,136023103,136026531,136029337,136033205,136071058,136072928,136103119,136107553,136111019,136148371,136261898,136288696, 135958010,135960533,135965406,135966548,135975177,135976748,135982087,135985585,135988497,136023256,136026711,136029457,136033325,136071175,136073100,136103205,136107785,136111198,136148390,136262066,136288806, 0 ZRANB3 cmpl cmpl 0,0,2,2,0,0,1,1,0,0,0,0,0,0,2,0,2,0,2,0,-1, 847 NM_002915 chr13 + 34392205 34411644 34392315 34410432 9 34392205,34395268,34398053,34399925,34403972,34404855,34405392,34409284,34410240, 34392402,34395406,34398121,34400023,34404154,34404992,34405491,34409354,34411644, 0 RFC3 cmpl cmpl 0,0,0,2,1,0,2,2,0, 854 NM_001164825 chr1 - 35315962 35325338 35321299 35321578 2 35315962,35325055, 35321583,35325338, 0 SMIM12 cmpl cmpl 0,-1, 231 NM_001199148 chr2 - 165754708 165812035 165754946 165809277 11 165754708,165765149,165768145,165771621,165772412,165793859,165795959,165801078,165802102,165809216,165811718, 165755240,165765281,165768258,165771783,165772483,165793939,165796066,165801144,165802237,165809291,165812035, 0 SLC38A11 cmpl cmpl 0,0,1,1,2,0,1,1,1,0,-1, 981 NM_001098800 chrX + 51927918 51935366 51929018 51934961 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934969,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 915 NM_015865 chr18 + 43304091 43332485 43310285 43329916 10 43304091,43304914,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43304238,43304978,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl -1,-1,0,1,2,2,0,1,1,0, 681 NM_024899 chr18 - 12672625 12702776 12673363 12702547 12 12672625,12674534,12678107,12680660,12686260,12691357,12695252,12697221,12698977,12699828,12700956,12702484, 12673502,12674752,12678441,12680827,12686449,12691486,12695350,12697407,12699202,12699904,12701112,12702776, 0 CEP76 cmpl cmpl 2,0,2,0,0,0,1,1,1,0,0,0, 184 NM_138972 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164649,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 180 NM_015412 chr3 - 112721291 112738555 112724382 112738494 9 112721291,112727017,112729489,112729891,112731580,112732118,112732799,112736294,112738388, 112724851,112727277,112729551,112730253,112731658,112732250,112732879,112736449,112738555, 0 C3orf17 cmpl cmpl 2,0,1,2,2,2,0,1,0, 14 NM_006159 chr12 - 44902057 45270247 44902716 45269652 21 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597,45270076, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269683,45270247, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,0,-1, 1154 NM_006302 chr2 - 74688183 74692537 74688401 74692374 4 74688183,74690316,74691622,74692022, 74690139,74690513,74691849,74692537, 0 MOGS cmpl cmpl 2,0,1,0, 1000 NM_006144 chr5 + 54398473 54406080 54398510 54406010 5 54398473,54401301,54403621,54403952,54405848, 54398580,54401446,54403763,54404222,54406080, 0 GZMA cmpl cmpl 0,1,2,0,0, 724 NM_152725 chr10 + 18240767 18332221 18242205 18331762 12 18240767,18242119,18250509,18254411,18266830,18270240,18276407,18280079,18284584,18289595,18292099,18331633, 18240954,18242466,18250791,18254619,18267003,18270412,18276580,18280232,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,0,1,0,1,0,0,1,1,0, 164 NM_018063 chr10 + 96305523 96361856 96305678 96361379 22 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 906 NM_002098 chr6 - 42151021 42162694 42152552 42162558 4 42151021,42153417,42156319,42162351, 42152680,42153535,42156469,42162694, 0 GUCA1B cmpl cmpl 1,0,0,0, 105 NM_058187 chr21 + 33784744 33887710 33785161 33887500 8 33784744,33825619,33829904,33840003,33867336,33873724,33876235,33887123, 33785321,33825816,33830028,33840156,33867480,33873805,33876325,33887710, 0 EVA1C cmpl cmpl 0,1,0,1,1,1,1,1, 1327 NM_014754 chr8 + 97274166 97346774 97274268 97345794 13 97274166,97285526,97296336,97299249,97307325,97311921,97316267,97318671,97321784,97332473,97342440,97343253,97345684, 97274447,97285618,97296381,97299374,97307484,97312073,97316409,97318784,97321850,97332573,97342509,97343323,97346774, 0 PTDSS1 cmpl cmpl 0,2,1,1,0,0,2,0,2,2,0,0,1, 1276 NM_020801 chr5 - 90664540 90679149 90667216 90678909 8 90664540,90669500,90669930,90670738,90671327,90672437,90674510,90678629, 90667273,90669655,90670093,90670995,90671430,90672585,90674592,90679149, 0 ARRDC3 cmpl cmpl 0,1,0,1,0,2,1,0, 1183 NM_001271889 chr15 - 78396947 78423877 78397652 78423557 4 78396947,78398080,78401576,78423506, 78397674,78398276,78401724,78423877, 0 CIB2 cmpl cmpl 2,1,0,0, 1183 NM_001271888 chr15 - 78396947 78423877 78397652 78403575 5 78396947,78398080,78401576,78403506,78423506, 78397674,78398276,78401724,78403618,78423877, 0 CIB2 cmpl cmpl 2,1,0,0,-1, 119 NM_006677 chr3 - 49146105 49158371 49146390 49156578 26 49146105,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154869,49155089,49155379,49156454,49158188, 49146618,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153371,49153595,49153784,49154040,49154376,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,1,1,1,0,-1, 1172 NR_103782 chr4 - 77035811 77069668 77069668 77069668 12 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77065301,77065542,77066707,77068631,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77065445,77065626,77066730,77068793,77069668, 0 NUP54 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 730 NM_022719 chr22 - 19117791 19132190 19121708 19132153 10 19117791,19122572,19124835,19125727,19126671,19127124,19127367,19130050,19130238,19132018, 19121988,19122688,19124945,19125830,19126805,19127242,19127537,19130146,19130407,19132190, 0 DGCR14 cmpl cmpl 2,0,1,0,1,0,1,1,0,0, 971 NR_024215 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A4 unk unk -1, 971 NR_024215 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A4 unk unk -1, 156 NM_138290 chr7 + 87257728 87461613 87258139 87459345 12 87257728,87280137,87323223,87329736,87339885,87369106,87370814,87399896,87407113,87436687,87445455,87459199, 87258261,87280253,87323274,87329870,87339971,87369196,87370895,87400065,87407271,87436834,87445577,87461613, 0 RUNDC3B cmpl cmpl 0,2,1,1,0,2,2,2,0,2,2,1, 656 NM_001256867 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L30 cmpl cmpl 0, 1729 NM_001099696 chr7 + 150065878 150071133 150068330 150070034 2 150065878,150068316, 150066030,150071133, 0 REPIN1 cmpl cmpl -1,0, 184 NM_138971 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165978,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164724,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 963 NM_139046 chr10 + 49609654 49647402 49609703 49642938 11 49609654,49612894,49617921,49618072,49628197,49632556,49633930,49634422,49635122,49639235,49642921, 49609825,49613024,49617980,49618211,49628363,49632628,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,1,0,1,1, 933 NM_138568 chr19 - 45715878 45737469 45716326 45735110 10 45715878,45719330,45720785,45721454,45728035,45730919,45731231,45731422,45735020,45737450, 45716615,45719452,45720941,45721577,45728171,45731030,45731332,45731524,45735132,45737469, 0 EXOC3L2 cmpl cmpl 2,0,0,0,2,2,0,0,0,-1, 949 NM_004602 chr20 - 47729875 47804904 47731414 47770570 14 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47790731,47795658,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47790806,47795781,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1,-1,-1, 1345 NM_006833 chr7 + 99686582 99689822 99686613 99689412 10 99686582,99686912,99687237,99688021,99688214,99688524,99688660,99688860,99689042,99689271, 99686689,99687038,99687369,99688110,99688277,99688572,99688775,99688953,99689143,99689822, 0 COPS6 cmpl cmpl 0,1,1,1,0,0,0,1,1,0, 885 NM_014508 chr22 + 39410264 39414825 39410367 39414392 4 39410264,39411599,39413770,39414273, 39410384,39411756,39414050,39414825, 0 APOBEC3C cmpl cmpl 0,2,0,1, 598 NM_005088 chrX + 1710485 1721411 1712355 1720487 5 1710485,1712336,1714276,1718084,1719551, 1710662,1713117,1714425,1718325,1721411, 0 AKAP17A cmpl cmpl -1,0,0,2,0, 1481 NM_017899 chr12 - 117476727 117537251 117476937 117537087 8 117476727,117479751,117484363,117484581,117486823,117494610,117513075,117537029, 117477015,117479799,117484471,117484643,117486963,117494691,117513145,117537251, 0 TESC cmpl cmpl 0,0,0,1,2,2,1,0, 676 NM_201402 chr8 - 11994676 11996269 11994676 11996269 1 11994676, 11996269, 0 USP17L2 cmpl cmpl 0, 14 NM_033151 chr16 - 48200821 48266182 48201184 48265832 29 48200821,48201406,48204015,48204799,48209168,48210834,48212507,48218350,48220863,48221111,48226430,48227789,48230142,48231881,48232051,48234186,48237138,48239323,48242335,48244858,48247353,48248791,48249107,48250024,48256508,48258192,48261716,48264347,48265733, 48201277,48201571,48204129,48204878,48209328,48211024,48212597,48218537,48221001,48221338,48226628,48227893,48230232,48231978,48232186,48234390,48237211,48239448,48242407,48245110,48247461,48248940,48249255,48250198,48256742,48258340,48261875,48264484,48266182, 0 ABCC11 cmpl cmpl 0,0,0,2,1,0,0,2,2,0,0,1,1,0,0,0,2,0,0,0,0,1,0,0,0,2,2,0,0, 1075 NM_001271649 chr7 + 64254765 64294059 64292061 64292580 2 64254765,64291828, 64254949,64294059, 0 ZNF138 cmpl cmpl -1,0, 1857 NR_073093 chr6 - 166778407 166796501 166796501 166796501 5 166778407,166779461,166780282,166782220,166796293, 166778941,166779594,166780379,166782453,166796501, 0 MPC1 unk unk -1,-1,-1,-1,-1, 141 NM_001145440 chr7 - 72039491 72298813 72040482 72298654 15 72039491,72081656,72093871,72159676,72178578,72193789,72209459,72209528,72242426,72267414,72277658,72281056,72285958,72297433,72298650, 72040704,72081824,72093982,72159812,72178756,72193899,72209527,72209578,72242544,72267537,72277949,72281251,72286060,72297564,72298813, 0 TYW1B cmpl cmpl 0,0,0,2,1,2,0,1,0,0,0,0,0,1,0, 1768 NM_001122837 chr1 + 155108287 155111334 155108428 155110757 5 155108287,155108774,155110036,155110454,155110655, 155108467,155108852,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0,0, 1985 NM_203454 chr1 - 183615410 183622448 183616812 183617916 2 183615410,183622206, 183617946,183622448, 0 APOBEC4 cmpl cmpl 0,-1, 646 NM_201280 chr6 - 8013799 8064647 8015881 8064609 5 8013799,8026599,8041371,8062766,8064497, 8016061,8026658,8041501,8062849,8064647, 0 BLOC1S5 cmpl cmpl 0,1,0,1,0, 934 NM_177417 chr19 + 45843997 45854778 45848799 45854615 13 45843997,45848791,45849801,45850704,45851198,45851903,45852077,45852686,45853598,45853771,45853898,45854211,45854543, 45844104,45849057,45850032,45850774,45851418,45851991,45852179,45852860,45853689,45853809,45854005,45854275,45854778, 0 KLC3 cmpl cmpl -1,0,0,0,1,2,0,0,0,1,0,2,0, 141 NR_028292 chr1 - 71318035 71513491 71513491 71513491 6 71318035,71327987,71334926,71419445,71477987,71512363, 71318542,71328080,71335002,71419472,71478167,71513491, 0 PTGER3 unk unk -1,-1,-1,-1,-1,-1, 587 NR_028322 chr1 + 323891 328581 328581 328581 3 323891,324287,324438, 324060,324345,328581, 0 RP4-669L17.10 unk unk -1,-1,-1, 821 NM_001282327 chr22 - 30972611 31003000 30973032 30980655 17 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30988118,31001447,31002795, 30973116,30974985,30975290,30975922,30976165,30976688,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30988385,31001504,31003000, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1, 757 NM_001204062 chr10 + 22605311 22620414 22605346 22618471 14 22605311,22606812,22607033,22607200,22607887,22615359,22615818,22616523,22616670,22616878,22617062,22617528,22617976,22618141, 22605485,22606924,22607097,22607235,22607947,22615490,22615915,22616579,22616721,22616987,22617108,22617627,22618057,22620414, 0 COMMD3-BMI1 cmpl cmpl 0,1,2,0,2,2,1,2,1,1,2,0,0,0, 138 NM_022902 chr5 + 68389775 68426899 68390082 68425444 16 68389775,68396633,68398888,68400457,68404175,68408966,68410246,68411063,68411752,68412220,68413065,68414325,68417520,68419025,68423830,68425273, 68390165,68396756,68398955,68400543,68404263,68409054,68410323,68411234,68412041,68412429,68413223,68414455,68417722,68419252,68423959,68426899, 0 SLC30A5 cmpl cmpl 0,2,2,0,2,0,1,0,0,1,0,2,0,1,0,0, 811 NM_001098479 chr6 + 29691116 29695073 29691240 29694952 7 29691116,29691434,29691949,29692807,29693223,29693787,29694659, 29691304,29691704,29692225,29693083,29693340,29693820,29695073, 0 HLA-F cmpl cmpl 0,1,1,1,1,1,1, 1804 NM_001134233 chr1 - 159804263 159825137 159807707 159825027 6 159804263,159807706,159810500,159810915,159824546,159824965, 159805945,159807817,159810656,159811025,159824816,159825137, 0 C1orf204 cmpl cmpl -1,1,1,2,2,0, 936 NM_005282 chr19 - 46093022 46105466 46094035 46095124 2 46093022,46105352, 46095955,46105466, 0 GPR4 cmpl cmpl 0,-1, 595 NM_172249 chrX + 1387692 1428828 1401596 1424394 9 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1424338,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,-1, 595 NM_172249 chrY + 1337692 1378828 1351596 1374394 9 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1374338,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,-1, 1643 NM_080660 chr7 - 138710451 138720775 138711289 138720763 5 138710451,138711453,138713447,138719288,138720398, 138711306,138711579,138713706,138719424,138720775, 0 ZC3HAV1L cmpl cmpl 1,1,0,2,0, 2 NM_015599 chr6 - 83874592 83903012 83878952 83900731 13 83874592,83880023,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83900527,83902897, 83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83900733,83903012, 0 PGM3 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,0,0,-1, 18 NM_001170574 chrX + 79591002 79700810 79698038 79699208 5 79591002,79591148,79597998,79694108,79698020, 79591063,79591215,79598063,79694231,79700810, 0 FAM46D cmpl cmpl -1,-1,-1,-1,0, 989 NM_001146226 chr12 - 52979372 52995322 52979765 52995236 8 52979372,52980729,52981414,52985247,52986179,52986675,52992681,52994810, 52979956,52980764,52981635,52985412,52986275,52986736,52992896,52995322, 0 KRT72 cmpl cmpl 1,2,0,0,0,2,0,0, 1728 NM_181873 chr1 - 149900542 149908266 149900758 149908057 17 149900542,149901046,149901514,149902256,149902683,149903151,149903835,149904155,149905298,149905502,149905747,149906083,149906340,149906878,149907191,149907476,149908046, 149900793,149901209,149901808,149902439,149902857,149903318,149903906,149904222,149905423,149905591,149905835,149906219,149906419,149907021,149907252,149907513,149908266, 0 MTMR11 cmpl cmpl 1,0,0,0,0,1,2,1,2,0,2,1,0,1,0,2,0, 147 NM_000115 chr13 - 78469615 78549664 78472334 78492708 8 78469615,78473993,78474655,78475192,78477290,78477629,78492225,78549481, 78472469,78474102,78474789,78475342,78477495,78477742,78492759,78549664, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0,-1, 686 NM_001100631 chr1 - 13328832 13331671 13328832 13331671 3 13328832,13330413,13331378, 13329406,13330992,13331671, 0 PRAMEF22 cmpl cmpl 2,2,0, 948 NM_001143984 chr11 + 47586981 47595013 47587174 47593114 2 47586981,47593022, 47587538,47595013, 0 PTPMT1 cmpl cmpl 0,1, 112 NM_007040 chr19 + 41770119 41813811 41770408 41812470 15 41770119,41774127,41777986,41779886,41782063,41784981,41787067,41798149,41800242,41800462,41807440,41808569,41809876,41811580,41812353, 41770703,41774250,41778140,41779960,41782203,41785081,41787180,41798416,41800365,41800591,41807609,41808854,41810166,41811772,41813811, 0 HNRNPUL1 cmpl cmpl 0,1,1,2,1,0,1,0,0,0,0,1,1,0,0, 117 NM_014246 chr22 - 46756730 46933067 46759074 46933067 35 46756730,46759892,46760408,46761127,46761482,46762282,46762889,46763625,46765075,46765588,46768779,46772957,46774487,46776684,46777742,46780439,46782298,46785186,46786288,46787082,46787529,46790038,46792501,46793570,46794420,46795613,46804892,46805651,46806294,46807498,46829289,46832070,46835085,46859603,46929523, 46759084,46760148,46760633,46761277,46761586,46762377,46763015,46763752,46765155,46765701,46768954,46773158,46774614,46776852,46777947,46780583,46782482,46785396,46786383,46787184,46787713,46790159,46792643,46793745,46794534,46795799,46805059,46805777,46806458,46807656,46829378,46832186,46835308,46860242,46933067, 0 CELSR1 cmpl cmpl 2,1,1,1,2,0,0,2,0,1,0,0,2,2,1,1,0,0,1,1,0,2,1,0,0,0,1,1,2,0,1,2,1,1,0, 1563 NM_007354 chr3 - 128290842 128294929 128292122 128292572 3 128290842,128294108,128294657, 128293146,128294229,128294929, 0 C3orf27 cmpl cmpl 0,-1,-1, 894 NM_004229 chrX - 40508794 40594804 40511057 40594664 31 40508794,40513615,40514186,40518478,40518679,40522176,40523558,40525971,40531112,40534472,40539115,40540009,40541103,40541854,40542087,40547705,40551434,40551959,40556275,40560416,40562695,40568599,40569230,40570420,40571437,40572165,40573029,40573788,40585997,40588570,40594449, 40511131,40513808,40514312,40518586,40518859,40522412,40523741,40526103,40531224,40534613,40539385,40540162,40541195,40542001,40542248,40547782,40551569,40552154,40556435,40560495,40562821,40568711,40569381,40570553,40571545,40572294,40573159,40573962,40586103,40588597,40594804, 0 MED14 cmpl cmpl 1,0,0,0,0,1,1,1,0,0,0,0,1,1,2,0,0,0,2,1,1,0,2,1,1,1,0,0,2,2,0, 626 NM_024803 chr10 - 5435060 5446793 5435479 5446755 4 5435060,5437289,5442806,5446752, 5436424,5437438,5443050,5446793, 0 TUBAL3 cmpl cmpl 0,1,0,0, 30 NM_201568 chr1 + 183441505 183523328 183441755 183521066 22 183441505,183481971,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183518342,183518898,183519885,183520179,183520952, 183441784,183482003,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511499,183513632,183514447,183515472,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl 0,2,1,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,1,1,0, 1654 NM_001184991 chr4 - 140211070 140222364 140213703 140216952 5 140211070,140213683,140216196,140216885,140221755, 140211246,140213763,140216300,140217114,140222364, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 1654 NM_001184989 chr4 - 140211070 140223705 140213703 140216952 6 140211070,140213683,140216196,140216885,140218538,140223569, 140211246,140213763,140216300,140217114,140218597,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1,-1, 1654 NM_001184990 chr4 - 140211070 140223705 140213703 140216952 5 140211070,140213683,140216196,140216885,140223569, 140211246,140213763,140216300,140217110,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 125 NM_019036 chr6 - 55299170 55444012 55300459 55443853 10 55299170,55304231,55360216,55364033,55378845,55381305,55406526,55406857,55441875,55443745, 55300561,55304357,55360405,55364097,55378994,55381401,55406634,55406938,55441965,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,0,0,0,0, 113 NM_001144883 chr12 - 42852139 42877797 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42877559, 42854467,42859060,42860182,42862631,42863389,42864161,42866363,42877797, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 1696 NM_005309 chr8 + 145729464 145732555 145729687 145732383 11 145729464,145729986,145730153,145730380,145730628,145731230,145731377,145731614,145731883,145732113,145732292, 145729849,145730076,145730262,145730514,145730872,145731310,145731514,145731789,145732039,145732226,145732555, 0 GPT cmpl cmpl 0,0,0,1,0,1,0,2,0,0,2, 1744 NM_001080848 chrX + 151927733 151928738 151927886 151928428 2 151927733,151928358, 151928200,151928738, 0 CSAG2 cmpl cmpl 0,2, 36 NM_004238 chr2 - 230628552 230786725 230632269 230744795 41 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230705537,230723487,230744697,230786595, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670518,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695537,230701700,230705643,230724290,230744844,230786725, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,1,2,0,-1, 738 NM_001185024 chr22 + 20119363 20135530 20119470 20134754 11 20119363,20126716,20127000,20127242,20127637,20128139,20128393,20128739,20128943,20130278,20134543, 20119574,20126838,20127158,20127415,20127740,20128231,20128535,20128860,20129053,20131279,20135530, 0 ZDHHC8 cmpl cmpl 0,2,1,0,2,0,2,0,1,0,2, 896 NM_022733 chr1 + 40839377 40888998 40839792 40887773 10 40839377,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40839895,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl 0,1,0,2,0,0,1,0,1,0, 85 NM_012298 chr3 + 12838170 12876313 12838219 12875481 13 12838170,12844986,12851557,12854488,12854744,12856639,12857365,12857872,12861584,12867040,12868938,12872963,12875253, 12838287,12845130,12851823,12854594,12854887,12856932,12857507,12859375,12861680,12867138,12869103,12873071,12876313, 0 CAND2 cmpl cmpl 0,2,2,1,2,1,0,1,1,1,0,0,0, 656 NM_001242332 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L29 cmpl cmpl 0, 656 NM_001242332 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L29 cmpl cmpl 0, 146 NM_012330 chr10 + 76586170 76792380 76602615 76790804 18 76586170,76598440,76602357,76719727,76729417,76729777,76732264,76735156,76737073,76738981,76741544,76744837,76748776,76780339,76780883,76781638,76784715,76788246, 76586543,76598510,76603236,76719836,76729533,76729859,76732397,76736088,76737195,76739097,76741686,76744999,76748870,76780571,76781043,76781989,76785007,76792380, 0 KAT6B cmpl cmpl -1,-1,0,0,1,0,1,2,1,0,2,0,0,1,2,0,0,1, 182 NM_015906 chr1 - 114935398 115053781 114940269 115053697 20 114935398,114940561,114942078,114944010,114945381,114948031,114949562,114951298,114952805,114964057,114967212,114968070,114969798,114970369,114973419,114976238,115005725,115006033,115006891,115053171, 114940482,114940612,114942231,114944085,114945505,114948381,114949722,114951362,114952938,114964258,114967377,114968345,114969916,114970516,114973534,114976355,115005858,115006178,115007010,115053781, 0 TRIM33 cmpl cmpl 0,0,0,0,2,0,2,1,0,0,0,1,0,0,2,2,1,0,1,0, 631 NM_001145547 chr10 + 6131308 6159422 6139028 6157519 12 6131308,6139010,6143233,6146893,6148103,6150648,6151948,6154172,6155470,6156011,6157201,6157415, 6131934,6139151,6143350,6147060,6148201,6150705,6152090,6154324,6155544,6156110,6157274,6159422, 0 RBM17 cmpl cmpl -1,0,0,0,2,1,1,2,1,0,0,1, 936 NM_005283 chr3 - 46062290 46068979 46062437 46063439 3 46062290,46063647,46068908, 46063470,46063769,46068979, 0 XCR1 cmpl cmpl 0,-1,-1, 659 NR_003593 chrY + 9748406 9749571 9749571 9749571 3 9748406,9748576,9749262, 9748463,9748722,9749571, 0 TTTY23B unk unk -1,-1,-1, 1477 NR_027346 chr12 + 116971239 116974318 116974318 116974318 3 116971239,116973924,116974157, 116971421,116974016,116974318, 0 LINC00173 unk unk -1,-1,-1, 772 NR_030334 chr10 + 24564613 24564710 24564710 24564710 1 24564613, 24564710, 0 MIR603 unk unk -1, 895 NR_045671 chr17 - 40724327 40729734 40729734 40729734 7 40724327,40725124,40725328,40725495,40726213,40729230,40729478, 40725042,40725184,40725382,40725641,40726228,40729320,40729734, 0 PSMC3IP unk unk -1,-1,-1,-1,-1,-1,-1, 895 NR_045670 chr17 - 40724327 40729849 40729849 40729849 8 40724327,40725124,40725328,40725495,40726213,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP unk unk -1,-1,-1,-1,-1,-1,-1,-1, 895 NR_045669 chr17 - 40724327 40729849 40729849 40729849 8 40724327,40725124,40725328,40725495,40725836,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP unk unk -1,-1,-1,-1,-1,-1,-1,-1, 649 NM_139314 chr19 + 8429010 8439259 8429205 8438770 7 8429010,8430837,8431085,8434102,8435939,8436124,8438588, 8429523,8430948,8431203,8434216,8436035,8436406,8439259, 0 ANGPTL4 cmpl cmpl 0,0,0,1,1,1,1, 589 NM_004359 chr19 + 531732 542087 531931 541552 5 531732,535836,536242,537012,541338, 532108,535923,536340,537147,542087, 0 CDC34 cmpl cmpl 0,0,0,2,2, 744 NM_152584 chrY - 20893325 20935601 20893654 20935504 2 20893325,20934991, 20893753,20935601, 0 HSFY1 cmpl cmpl 0,0, 18 NM_152996 chr1 + 76540388 77096669 76540551 77094491 5 76540388,76779489,76877692,77093136,77094304, 76540569,76779684,76878102,77093244,77096669, 0 ST6GALNAC3 cmpl cmpl 0,0,0,2,2, 956 NM_152994 chr2 + 48667907 48742531 48668092 48741883 21 48667907,48678146,48681733,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48722817,48725631,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48722910,48725874,48734524,48737252,48738607,48742531, 0 PPP1R21 cmpl cmpl 0,0,0,0,0,0,2,1,0,0,0,2,1,1,0,0,0,0,0,0,0, 1321 NM_018343 chr5 - 96496570 96519005 96498764 96518895 10 96496570,96500754,96503170,96504463,96506909,96508878,96512819,96513435,96514758,96518829, 96498929,96500851,96503695,96504556,96507101,96508967,96512995,96513552,96514897,96519005, 0 RIOK2 cmpl cmpl 0,2,2,2,2,0,1,1,0,0, 870 NM_178342 chr3 + 37440967 37459865 37458757 37459117 5 37440967,37452628,37458044,37458509,37458743, 37441150,37452800,37458215,37458633,37459865, 0 C3orf35 cmpl cmpl -1,-1,-1,-1,0, 870 NM_178339 chr3 + 37440967 37476988 37458757 37476621 6 37440967,37452628,37458044,37458509,37458743,37476334, 37441150,37452800,37458215,37458633,37458983,37476988, 0 C3orf35 cmpl cmpl -1,-1,-1,-1,0,1, 838 NR_029633 chr6 + 33175611 33175721 33175721 33175721 1 33175611, 33175721, 0 MIR219-1 unk unk -1, 809 NR_002556 chr16 - 29476288 29478899 29478899 29478899 5 29476288,29476798,29476932,29477896,29478225, 29476658,29476862,29477062,29478136,29478899, 0 LOC388242 unk unk -1,-1,-1,-1,-1, 815 NR_002556 chr16 - 30215637 30218248 30218248 30218248 5 30215637,30216147,30216281,30217245,30217574, 30216007,30216211,30216411,30217485,30218248, 0 LOC388242 unk unk -1,-1,-1,-1,-1, 1584 NR_029619 chr9 - 131006999 131007109 131007109 131007109 1 131006999, 131007109, 0 MIR199B unk unk -1, 920 NM_018964 chr21 + 43919741 44001550 43938564 44000470 21 43919741,43922405,43938386,43945885,43954807,43955581,43959621,43962513,43963545,43967212,43974171,43979067,43982187,43983924,43984817,43985936,43987094,43988469,43994927,43999845,44000454, 43919853,43922527,43938620,43945967,43954940,43955660,43959757,43962590,43963712,43967250,43974252,43979199,43982278,43983987,43984903,43985985,43987168,43988548,43995025,43999910,44001550, 0 SLC37A1 cmpl cmpl -1,-1,0,2,0,1,2,0,2,1,0,0,0,1,1,0,1,0,1,0,2, 176 NM_018112 chr9 + 108456805 108538892 108456941 108536361 6 108456805,108467877,108483817,108484814,108510353,108536145, 108457053,108468034,108484002,108484902,108510471,108538892, 0 TMEM38B cmpl cmpl 0,1,2,1,2,0, 1607 NM_031426 chr9 + 133971862 133998539 133972016 133995709 6 133971862,133972188,133986983,133989963,133993142,133995621, 133972047,133972250,133987050,133990005,133993305,133998539, 0 AIF1L cmpl cmpl 0,1,0,1,1,2, 837 NM_001166118 chr7 - 33053724 33080777 33054341 33066527 11 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33069240,33075545,33080483, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33069326,33075600,33080777, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,-1,-1,-1, 87 NR_037859 chrX - 15363712 15509432 15509432 15509432 15 15363712,15365285,15371189,15373271,15376124,15381230,15408306,15415570,15425251,15425627,15444028,15473970,15477779,15497851,15509284, 15364381,15365481,15371290,15373420,15376315,15381441,15408373,15415653,15425504,15425672,15444113,15474177,15477863,15497944,15509432, 0 PIR-FIGF unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 825 NR_037852 chr6 - 31497995 31510252 31510252 31510252 9 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31508098,31509726, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31508441,31510252, 0 DDX39B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 802 NM_052923 chr6 - 28539406 28555112 28539687 28554494 4 28539406,28542420,28547048,28554074, 28541604,28543913,28547196,28555112, 0 SCAND3 cmpl cmpl 0,1,0,0, 1060 NM_020062 chr20 + 62371210 62375403 62371265 62374343 8 62371210,62371729,62372722,62373221,62373482,62373688,62374051,62374231, 62371391,62371884,62372832,62373409,62373583,62373968,62374143,62375403, 0 SLC2A4RG cmpl cmpl 0,0,2,1,0,2,0,2, 90 NM_015310 chr8 - 18384812 18871196 18393252 18871093 16 18384812,18413718,18430037,18432637,18457873,18490122,18513151,18622958,18656804,18658779,18662031,18662213,18725183,18729135,18793543,18871072, 18393468,18413862,18430182,18432795,18457944,18490316,18513195,18623048,18656863,18658892,18662112,18662408,18725579,18730243,18793652,18871196, 0 PSD3 cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,2,1,0,0, 805 NM_017846 chr1 + 28879528 28905057 28879622 28904148 9 28879528,28880151,28887144,28887857,28891214,28893805,28897687,28898378,28904011, 28879649,28880249,28887244,28887910,28891346,28893925,28897850,28898412,28905057, 0 TRNAU1AP cmpl cmpl 0,0,2,0,2,2,2,0,1, 2038 NM_019048 chr2 + 190526124 190535557 190530858 190535452 6 190526124,190528626,190530101,190530766,190532489,190535166, 190526336,190528680,190530177,190532322,190532671,190535557, 0 ASNSD1 cmpl cmpl -1,-1,-1,0,0,2, 1347 NM_005292 chr13 - 99906966 99910682 99907130 99908126 3 99906966,99908581,99910407, 99908160,99908773,99910682, 0 GPR18 cmpl cmpl 0,-1,-1, 142 NM_001244889 chr10 + 72972291 73062635 72972742 73059034 16 72972291,73039577,73044476,73045082,73046445,73047354,73048324,73050671,73051188,73052223,73053161,73053456,73055567,73056334,73057665,73058868, 72972821,73039802,73044620,73045186,73046626,73047522,73048489,73050866,73051578,73052311,73053330,73053690,73055717,73056499,73057847,73062635, 0 UNC5B cmpl cmpl 0,1,1,1,0,1,1,1,1,1,2,0,0,0,0,2, 631 NM_000417 chr10 - 6052656 6104333 6054834 6104114 8 6052656,6060015,6061390,6061832,6063440,6066206,6067796,6104050, 6054859,6060082,6061462,6061904,6063656,6066317,6067988,6104333, 0 IL2RA cmpl cmpl 2,1,1,1,1,1,1,0, 1654 NM_001184986 chr4 - 140211070 140222364 140213703 140216952 6 140211070,140213683,140216196,140216885,140218538,140221755, 140211246,140213763,140216300,140217114,140218597,140222364, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1,-1, 1179 NM_001079867 chr8 - 77892493 77912524 77895496 77896414 3 77892493,77898422,77912225, 77896431,77898532,77912524, 0 PEX2 cmpl cmpl 0,-1,-1, 790 NM_014680 chr17 - 26941457 26972177 26942081 26972074 39 26941457,26942681,26943113,26943396,26943635,26943906,26944249,26945808,26946671,26946877,26947526,26948005,26948416,26950777,26951250,26955282,26958496,26958837,26959066,26959959,26960300,26960566,26960912,26961534,26963982,26964853,26965269,26965541,26966332,26966592,26966918,26967577,26968906,26969292,26969886,26970181,26970627,26971075,26972006, 26942264,26942816,26943215,26943527,26943771,26944017,26944336,26945989,26946793,26947033,26947648,26948188,26948516,26950984,26951408,26955577,26958699,26958937,26959257,26960180,26960419,26960769,26961104,26962627,26964188,26965112,26965433,26965660,26966478,26966660,26967043,26967701,26969096,26969353,26970005,26970329,26970677,26971205,26972177, 0 KIAA0100 cmpl cmpl 0,0,0,1,0,0,0,2,0,0,1,1,0,0,1,0,1,0,1,2,0,1,1,0,1,0,1,2,0,1,2,1,0,2,0,2,0,2,0, 199 NM_001164617 chrX - 132669775 133119673 132670151 133119476 9 132669775,132730467,132795757,132826396,132833922,132838232,132887508,133087076,133119301, 132670321,132730627,132795878,132826522,132834056,132838301,132888203,133087238,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,0,1,1,0, 1007 NM_001098815 chr12 - 55342086 55375622 55354952 55368346 11 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260,55368183,55375557, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367303,55368391,55375622, 0 TESPA1 cmpl cmpl -1,0,1,2,2,1,1,2,1,0,-1, 142 NR_033867 chr8 - 73117533 73163869 73163869 73163869 21 73117533,73121230,73121995,73124244,73125524,73126403,73127212,73133558,73134187,73137514,73139194,73140364,73142281,73142531,73146222,73150290,73150631,73152904,73157083,73159742,73163689, 73117602,73121413,73122125,73124414,73125614,73126566,73127283,73133657,73134247,73137608,73139362,73140477,73142446,73142701,73146271,73150436,73150740,73153012,73157267,73159899,73163869, 0 LOC392232 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 831 NR_033866 chr16 - 32300867 32301302 32301302 32301302 1 32300867, 32301302, 0 LOC390705 unk unk -1, 839 NR_033866 chr16 - 33298267 33298702 33298702 33298702 1 33298267, 33298702, 0 LOC390705 unk unk -1, 1341 NM_001287804 chr10 + 99205887 99217127 99211432 99216648 8 99205887,99211427,99211846,99212171,99212651,99215358,99215730,99216533, 99206110,99211675,99212041,99212260,99212680,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,1,0,2, 1341 NM_001287803 chr10 + 99205887 99217127 99211432 99216648 12 99205887,99210113,99211427,99211846,99212171,99212651,99213286,99213555,99214470,99215470,99215730,99216533, 99206110,99210293,99211675,99212041,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,-1,0,0,0,2,1,0,0,2,0,2, 1458 NM_001143946 chr13 - 114523521 114536714 114523836 114535662 7 114523521,114524930,114526347,114529968,114531519,114535271,114535606, 114523991,114525159,114526523,114530137,114531684,114535461,114536714, 0 GAS6 cmpl cmpl 1,0,1,0,0,2,0, 1256 NM_001184771 chrX + 88002225 88009785 88008415 88009321 3 88002225,88004318,88008407, 88002332,88004424,88009785, 0 CPXCR1 cmpl cmpl -1,-1,0, 650 NM_194284 chr8 + 8559665 8561617 8559908 8560787 1 8559665, 8561617, 0 CLDN23 cmpl cmpl 0, 153 NM_005153 chr16 + 84733554 84813527 84733696 84812688 14 84733554,84767040,84773914,84778238,84792321,84792968,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84767109,84773975,84779279,84792413,84793078,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 cmpl cmpl 0,0,0,1,1,0,2,1,0,1,2,0,1,1, 1608 NM_001628 chr7 - 134127106 134143888 134127479 134143814 10 134127106,134129989,134132049,134132731,134133138,134133748,134134471,134135537,134136337,134143748, 134127522,134130072,134132133,134132813,134133245,134133871,134134549,134135654,134136505,134143888, 0 AKR1B1 cmpl cmpl 2,0,0,2,0,0,0,0,0,0, 896 NM_001198978 chr1 + 40840304 40888998 40840367 40887773 10 40840304,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40840380,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl 0,1,0,2,0,0,1,0,1,0, 861 NM_001833 chr9 + 36190852 36212059 36191053 36211771 5 36190852,36197547,36198975,36204064,36211599, 36191270,36197585,36199093,36204176,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2, 98 NR_001525 chrY + 26716348 26753172 26753172 26753172 4 26716348,26743515,26745395,26752171, 26716509,26743591,26745503,26753172, 0 TTTY4 unk unk -1,-1,-1,-1, 792 NR_001525 chrY - 27209229 27246039 27246039 27246039 4 27209229,27216880,27218792,27245878, 27210230,27216988,27218868,27246039, 0 TTTY4 unk unk -1,-1,-1,-1, 671 NM_001282712 chr2 + 11295497 11318998 11295672 11300833 4 11295497,11300591,11300750,11317862, 11295815,11300674,11300874,11318998, 0 PQLC3 cmpl cmpl 0,2,1,-1, 671 NM_001282711 chr2 + 11295497 11318998 11295672 11315102 6 11295497,11300591,11300750,11304329,11315093,11317862, 11295815,11300674,11300820,11304387,11315135,11318998, 0 PQLC3 cmpl cmpl 0,2,1,2,0,-1, 1653 NM_001278732 chr5 + 140071010 140078903 140073546 140078137 11 140071010,140073075,140073519,140075322,140075687,140076105,140076527,140076748,140077153,140077516,140078077, 140071341,140073250,140073639,140075430,140075786,140076199,140076655,140076991,140077270,140077663,140078903, 0 HARS2 cmpl cmpl -1,-1,0,0,0,0,1,0,0,0,0, 167 NM_005723 chr4 - 99391517 99579812 99393672 99579377 8 99391517,99397339,99397563,99399835,99403155,99407888,99428828,99579296, 99393738,99397456,99397611,99399961,99403326,99408035,99428879,99579812, 0 TSPAN5 cmpl cmpl 0,0,0,0,0,0,0,0, 1926 NM_007097 chr5 - 175819455 175843570 175819774 175843364 6 175819455,175823479,175824607,175824930,175837257,175843177, 175819946,175823533,175824719,175825048,175837304,175843570, 0 CLTB cmpl cmpl 2,2,1,0,1,0, 2 NM_001199918 chr6 - 83874592 83903012 83879016 83898478 12 83874592,83880019,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83902897, 83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83903012, 0 PGM3 cmpl cmpl 1,0,0,0,0,0,1,0,1,2,0,-1, 121 NM_198794 chr14 - 50885210 50999376 50886736 50998767 32 50885210,50889838,50892624,50895379,50895909,50901111,50901679,50904193,50904611,50906730,50907079,50909449,50910446,50910656,50911758,50912796,50914131,50915491,50923233,50929382,50930769,50933300,50935368,50941794,50942845,50942976,50949078,50952295,50952821,50971517,50998659,50999117, 50886824,50889894,50892695,50895472,50895978,50901289,50901783,50904252,50904729,50906791,50907159,50909534,50910488,50910754,50911912,50912839,50914199,50915550,50923312,50929499,50930851,50933363,50935500,50941867,50942888,50943024,50949134,50952360,50952912,50971575,50998876,50999376, 0 MAP4K5 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0,-1, 771 NM_001136234 chrX + 24380877 24383541 24380877 24383541 1 24380877, 24383541, 0 SUPT20HL1 cmpl cmpl 0, 770 NM_001136233 chrX - 24328978 24331432 24328978 24331432 1 24328978, 24331432, 0 SUPT20HL2 cmpl cmpl 0, 655 NM_001256894 chr4 + 9236110 9238060 9236110 9238060 2 9236110,9237998, 9237728,9238060, 0 USP17L15 cmpl cmpl 0,1, 116 NM_002856 chr19 + 45349392 45382198 45349782 45381877 6 45349392,45368527,45375109,45377172,45377586,45381479, 45349870,45368917,45375406,45377290,45377735,45382198, 0 PVRL2 cmpl cmpl 0,1,1,1,2,1, 595 NM_001039211 chr1 + 1385068 1405538 1386063 1403910 12 1385068,1387425,1387744,1389724,1390839,1391170,1391604,1392508,1394540,1396129,1397979,1403763, 1386138,1387502,1387814,1389880,1390899,1391296,1391729,1392560,1394611,1396297,1398088,1405538, 0 ATAD3C cmpl cmpl 0,0,2,0,0,0,0,2,0,2,2,0, 1318 NM_022451 chr10 - 96092988 96122683 96093933 96122595 21 96092988,96094390,96097533,96098364,96099495,96100032,96100189,96101429,96104171,96104609,96106181,96109006,96109869,96112066,96112652,96114719,96116291,96116930,96117839,96121421,96122586, 96094062,96094475,96097631,96098493,96099677,96100104,96100253,96101502,96104272,96104690,96106313,96109135,96110045,96112160,96112814,96114850,96116348,96117088,96117972,96121629,96122683, 0 NOC3L cmpl cmpl 0,2,0,0,1,1,0,2,0,0,0,0,1,0,0,1,1,2,1,0,0, 709 NM_206831 chr3 - 16298567 16306496 16302270 16306383 3 16298567,16305661,16306275, 16302336,16305736,16306496, 0 DPH3 cmpl cmpl 0,0,0, 147 NM_020421 chr14 + 78266425 78400297 78285321 78399734 11 78266425,78285310,78288777,78325418,78353433,78365442,78374145,78390799,78392106,78397860,78399562, 78266513,78285456,78288861,78325622,78353592,78365601,78374262,78390949,78392304,78398054,78400297, 0 ADCK1 cmpl cmpl -1,0,0,0,0,0,0,0,0,0,2, 843 NM_001256192 chr3 + 33840062 33868756 33840220 33868171 6 33840062,33853563,33855050,33863446,33866678,33867971, 33840429,33853618,33855120,33863574,33866832,33868756, 0 PDCD6IP cmpl cmpl 0,2,0,1,0,1, 949 NM_001278923 chr10 + 47746849 47763040 47747111 47762187 10 47746849,47751144,47752404,47753837,47756032,47756638,47756971,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47756092,47756732,47757067,47758904,47759772,47763040, 0 ANXA8L1 cmpl cmpl 0,0,1,0,0,0,1,1,0,0, 295 NM_001103146 chr2 + 233562014 233725289 233599907 233721570 29 233562014,233568133,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655407,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233568199,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,-1,0,2,0,0,1,2,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 1234 NM_001166417 chr1 - 85109389 85156151 85113115 85136902 15 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85136859,85146020,85155836, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85136991,85146070,85156151, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,1,0,-1,-1, 93 NR_027054 chr9 - 21454266 21559697 21559697 21559697 4 21454266,21476897,21477167,21559487, 21455943,21477034,21477291,21559697, 0 MIR31HG unk unk -1,-1,-1,-1, 107 NM_080607 chr20 + 36531498 36573747 36531752 36572655 4 36531498,36560036,36561940,36572382, 36531873,36560206,36561991,36573747, 0 VSTM2L cmpl cmpl 0,1,0,0, 613 NM_001114118 chr17 - 3710044 3749545 3716337 3749517 13 3710044,3717615,3719409,3721556,3724542,3725246,3728235,3729060,3729380,3732536,3743393,3746379,3749334, 3716573,3717777,3719564,3721866,3724646,3725346,3728344,3729137,3729509,3732662,3743499,3746445,3749545, 0 C17orf85 cmpl cmpl 1,1,2,1,2,1,0,1,1,1,0,0,0, 1349 NM_033506 chr7 + 100183955 100198740 100184248 100198522 10 100183955,100187599,100187796,100189289,100190405,100192005,100192724,100193197,100197653,100198156, 100184287,100187698,100187980,100189525,100190640,100192164,100192846,100193329,100197824,100198740, 0 FBXO24 cmpl cmpl 0,0,0,1,0,1,1,0,0,0, 972 NM_001042412 chr16 + 50776028 50835846 50783609 50830419 18 50776028,50776672,50783486,50785514,50788229,50810089,50811735,50813575,50815156,50816235,50818239,50820765,50821696,50825468,50826507,50827456,50828122,50830234, 50776127,50776752,50784113,50785817,50788335,50810188,50811852,50813955,50815322,50816377,50818362,50820857,50821763,50825601,50826616,50827575,50828339,50835846, 0 CYLD cmpl cmpl -1,-1,0,0,0,1,1,1,0,1,2,2,1,2,0,1,0,1, 1658 NM_013453 chrX + 140677858 140678889 140677894 140678835 2 140677858,140678613, 140677966,140678889, 0 SPANXA1 cmpl cmpl 0,0, 162 NM_003567 chr1 - 94027342 94147394 94027797 94140486 12 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94107859,94140169,94147153, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94107899,94140497,94147394, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,2,0,-1, 1355 NM_001159531 chr14 - 101003483 101034407 101004305 101034261 6 101003483,101006832,101010194,101011336,101012837,101034247, 101005652,101006916,101010302,101011403,101012999,101034407, 0 BEGAIN cmpl cmpl 0,0,0,2,2,0, 843 NM_001162429 chr3 + 33840062 33911199 33840220 33908017 18 33840062,33853563,33855050,33863446,33866678,33867971,33870329,33877535,33879695,33883388,33885603,33886910,33893979,33895370,33896657,33905497,33906734,33907842, 33840429,33853618,33855120,33863574,33866832,33868072,33870461,33877758,33879819,33883566,33885715,33887080,33894228,33895505,33896752,33905621,33906922,33911199, 0 PDCD6IP cmpl cmpl 0,2,0,1,0,1,0,0,1,2,0,1,0,0,0,2,0,2, 89 NM_001282227 chr22 - 17659679 17702744 17662372 17690441 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17702616, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690488,17702744, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 89 NM_001282226 chr22 - 17659679 17700475 17662372 17690567 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690580,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 724 NR_001443 chr17 + 18325494 18328647 18328647 18328647 1 18325494, 18328647, 0 LOC339240 unk unk -1, 949 NM_001127240 chr19 - 47724078 47736023 47724957 47735859 4 47724078,47729820,47731414,47735771, 47725175,47730011,47731703,47736023, 0 BBC3 cmpl cmpl 1,2,1,0, 1680 NM_001206941 chr7 - 143548460 143582466 143551225 143560237 8 143548460,143554192,143555916,143557300,143558187,143559508,143559894,143582302, 143551235,143554443,143556254,143557540,143558401,143559606,143560889,143582466, 0 FAM115A cmpl cmpl 2,0,1,1,0,1,0,-1, 987 NM_001278697 chrX - 52725945 52736277 52727037 52734799 9 52725945,52727033,52727903,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736277, 0 SSX2 cmpl cmpl -1,1,1,0,1,1,0,0,-1, 987 NM_001278697 chrX + 52780279 52790617 52781757 52789521 9 52780279,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788655,52789525,52790617, 0 SSX2 cmpl cmpl -1,0,0,1,1,0,1,1,-1, 596 NM_004192 chrX - 1522031 1571870 1522161 1571733 13 1522031,1531624,1536865,1537874,1540550,1544417,1546626,1551161,1553914,1554586,1557989,1561078,1571640, 1522382,1531747,1537009,1538007,1540735,1544580,1547014,1551270,1553976,1554651,1558037,1561210,1571870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,0, 114 NM_007163 chr18 + 43194765 43263060 43204629 43262484 20 43194765,43204595,43205647,43206922,43212314,43216954,43219710,43221173,43223096,43223950,43243749,43246101,43246899,43247797,43248313,43249270,43252864,43253647,43258939,43262283, 43195547,43204779,43205828,43207112,43212443,43217147,43219858,43221308,43223146,43224125,43243872,43246184,43247059,43247987,43248442,43249463,43253012,43253782,43258989,43263060, 0 SLC14A2 cmpl cmpl -1,0,0,1,2,2,0,1,1,0,1,1,0,1,2,2,0,1,1,0, 919 NM_020990 chr15 + 43885251 43891604 43886416 43891471 10 43885251,43886242,43887169,43887571,43888053,43888404,43888605,43890390,43891024,43891354, 43885469,43886565,43887368,43887667,43888275,43888490,43888729,43890525,43891150,43891604, 0 CKMT1B cmpl cmpl -1,0,2,0,0,0,2,0,0,0, 1768 NM_001287591 chr1 + 155107819 155111334 155108790 155110757 6 155107819,155108774,155109303,155110054,155110454,155110655, 155108074,155108852,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl -1,0,2,0,0,0, 1167 NM_005512 chr11 - 76368567 76381044 76370647 76376998 3 76368567,76376914,76380805, 76372552,76377002,76381044, 0 LRRC32 cmpl cmpl 0,0,-1, 9 NR_003590 chrY - 6274284 6296485 6296485 6296485 8 6274284,6276187,6276505,6279414,6280263,6287805,6290368,6296280, 6274964,6276385,6276584,6279571,6280412,6287892,6290446,6296485, 0 TTTY2B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 935 NM_030891 chr21 + 45875392 45878739 45876527 45877301 2 45875392,45876380, 45875538,45878739, 0 LRRC3 cmpl cmpl -1,0, 118 NM_030885 chr3 - 48014568 48130769 48016947 48040350 4 48014568,48019354,48040127,48130262, 48016955,48019423,48040369,48130769, 0 MAP4 cmpl cmpl 1,1,0,-1, 884 NM_031960 chr17 - 39253233 39254375 39253778 39254336 1 39253233, 39254375, 0 KRTAP4-8 cmpl cmpl 0, 137 NM_015139 chr1 - 67465014 67520080 67470022 67519696 12 67465014,67474767,67486051,67487217,67507918,67512947,67515464,67516115,67517694,67518453,67518638,67519493, 67470131,67474850,67486130,67487285,67508011,67513050,67515533,67516187,67517762,67518540,67518672,67520080, 0 SLC35D1 cmpl cmpl 2,0,2,0,0,2,2,2,0,0,2,0, 823 NM_173847 chr17 + 31318881 31324892 31318956 31324796 5 31318881,31322426,31323860,31324462,31324729, 31318990,31322735,31324019,31324541,31324892, 0 SPACA3 cmpl cmpl 0,1,1,1,2, 91 NM_005919 chr19 - 19256375 19303400 19256502 19261544 10 19256375,19257363,19257550,19257844,19258506,19260034,19261490,19291494,19293381,19302889, 19256831,19257457,19257684,19257992,19258641,19260238,19261573,19291570,19293492,19303400, 0 MEF2BNB-MEF2B cmpl cmpl 1,0,1,0,0,0,0,-1,-1,-1, 1348 NM_030935 chr7 - 100064141 100076902 100064581 100075661 5 100064141,100065174,100071896,100074899,100076416, 100064791,100065223,100072063,100075930,100076902, 0 TSC22D4 cmpl cmpl 0,2,0,0,-1, 955 NM_001272083 chr3 - 48509196 48514742 48510736 48514423 3 48509196,48511126,48514418, 48510972,48511242,48514742, 0 SHISA5 cmpl cmpl 1,2,0, 1420 NM_001205180 chr12 - 109525992 109531293 109526123 109530591 3 109525992,109530311,109531051, 109526317,109530592,109531293, 0 ALKBH2 cmpl cmpl 1,0,-1, 1420 NM_001205179 chr12 - 109525992 109531293 109526123 109530591 3 109525992,109530311,109531154, 109526317,109530742,109531293, 0 ALKBH2 cmpl cmpl 1,0,-1, 1486 NR_104405 chr11 - 118097404 118123083 118123083 118123083 5 118097404,118104174,118106138,118110925,118122936, 118100635,118104238,118106304,118111092,118123083, 0 MPZL3 unk unk -1,-1,-1,-1,-1, 1486 NR_104404 chr11 - 118097404 118123083 118123083 118123083 3 118097404,118104174,118122936, 118100635,118104238,118123083, 0 MPZL3 unk unk -1,-1,-1, 611 NM_001164673 chr4 + 3465032 3496209 3465102 3494492 7 3465032,3465232,3475132,3478068,3487265,3491403,3494485, 3465156,3465278,3475363,3478258,3487385,3491523,3496209, 0 DOK7 cmpl cmpl 0,0,1,1,2,2,2, 136 NM_002755 chr15 + 66679210 66783882 66679685 66782953 11 66679210,66727364,66729083,66735617,66736993,66774092,66777327,66779565,66781552,66782055,66782839, 66679765,66727575,66729230,66735695,66737045,66774217,66777529,66779630,66781614,66782101,66783882, 0 MAP2K1 cmpl cmpl 0,2,0,0,0,1,0,1,0,2,0, 1689 NM_001100599 chr8 + 144766621 144777555 144772278 144776700 5 144766621,144772226,144773242,144773769,144775840, 144766712,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,0,0,1,1, 647 NM_004054 chr12 - 8210918 8218955 8211332 8212781 2 8210918,8218873, 8212791,8218955, 0 C3AR1 cmpl cmpl 0,-1, 858 NM_001039792 chr9 + 35906188 35907138 35906284 35906632 1 35906188, 35907138, 0 HRCT1 cmpl cmpl 0, 1880 NM_001166110 chr4 + 169753155 169849608 169799042 169847536 12 169753155,169798873,169812072,169815729,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169847363, 169753322,169799545,169812208,169815828,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169849608, 0 PALLD cmpl cmpl -1,0,2,0,0,0,0,2,0,1,2,1, 848 NM_001123392 chr17 - 34581028 34591996 34581399 34590454 14 34581028,34582949,34583468,34584031,34584481,34585292,34585956,34587257,34587696,34588248,34588811,34590134,34590382,34591883, 34581968,34583102,34583568,34584097,34584576,34585413,34586005,34587367,34587804,34588329,34588851,34590220,34590455,34591996, 0 TBC1D3H cmpl cmpl 1,1,0,0,1,0,2,0,0,0,2,0,0,-1, 1018 NM_001280797 chr12 - 56864727 56882198 56865270 56871485 17 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56873563,56874071,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868894,56869466,56869761,56871502,56871880,56872046,56873685,56874171,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,2,0,0,0,-1,-1,-1,-1,-1, 837 NM_032514 chr20 + 33146500 33148149 33146672 33147702 4 33146500,33147011,33147150,33147539, 33146712,33147067,33147257,33148149, 0 MAP1LC3A cmpl cmpl 0,1,0,2, 893 NM_032793 chr1 + 40420783 40435640 40420964 40435240 14 40420783,40422758,40424372,40430882,40431142,40431528,40432272,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl 0,0,0,2,0,1,0,1,0,0,0,2,2,2, 1134 NM_144982 chr12 - 72003378 72057749 72004207 72057390 35 72003378,72004474,72004837,72005565,72007114,72008314,72008613,72008985,72013094,72013705,72013989,72017139,72017883,72020039,72021530,72022697,72023388,72024379,72024602,72025557,72025751,72026665,72027043,72027934,72028483,72029222,72030269,72030629,72032197,72036215,72037874,72038656,72041528,72050664,72056792, 72004345,72004537,72004877,72005667,72007215,72008480,72008718,72009096,72013189,72013904,72014095,72017377,72018072,72020226,72021714,72022817,72023490,72024501,72024734,72025667,72026294,72026797,72027218,72028084,72028605,72029360,72030434,72030839,72032295,72036339,72038098,72038855,72041593,72051081,72057749, 0 ZFC3H1 cmpl cmpl 0,0,2,2,0,2,2,2,0,2,1,0,0,2,1,1,1,2,2,0,0,0,2,2,0,0,0,0,1,0,1,0,1,1,0, 1520 NM_018117 chr10 + 122610686 122669038 122610932 122668225 29 122610686,122612035,122618154,122619620,122622246,122624558,122625141,122626080,122626577,122630681,122633350,122637864,122640337,122643291,122645325,122646200,122648589,122649406,122650227,122659540,122660547,122661768,122662566,122663558,122664157,122664830,122665387,122666287,122668067, 122611018,122612147,122618308,122619794,122622433,122624724,122625256,122626276,122626681,122630858,122633435,122637971,122640413,122643400,122645450,122646348,122648696,122649521,122650399,122659649,122660610,122661834,122662744,122663654,122664323,122664928,122665533,122666367,122669038, 0 WDR11 cmpl cmpl 0,2,0,1,1,2,0,1,2,1,1,2,1,2,0,2,0,2,0,1,2,2,2,0,0,1,0,2,1, 936 NM_198699 chr21 + 46117086 46117959 46117116 46117854 1 46117086, 46117959, 0 KRTAP10-12 cmpl cmpl 0, 936 NM_198688 chr21 - 46011148 46012386 46011267 46012365 1 46011148, 46012386, 0 KRTAP10-6 cmpl cmpl 0, 1139 NR_026836 chr12 - 72656326 72667289 72667289 72667289 3 72656326,72665602,72666544, 72658401,72665942,72667289, 0 TRHDE-AS1 unk unk -1,-1,-1, 1007 NM_004829 chr19 + 55417507 55424439 55417545 55424239 7 55417507,55417656,55417880,55420603,55421377,55423535,55424057, 55417579,55417692,55418165,55420882,55421425,55423586,55424439, 0 NCR1 cmpl cmpl 0,1,1,1,1,1,1, 1457 NM_015967 chr1 - 114356432 114414375 114357526 114414245 21 114356432,114362198,114367763,114372213,114372570,114375732,114376930,114377531,114380211,114381165,114391161,114394648,114397092,114397528,114399003,114399169,114400359,114401099,114401623,114401973,114414158, 114357591,114362276,114367794,114372329,114372651,114375760,114377061,114377615,114381029,114381242,114391248,114394726,114397159,114397671,114399063,114399241,114400398,114401195,114401700,114402082,114414375, 0 PTPN22 cmpl cmpl 1,1,0,1,1,0,1,1,2,0,0,0,2,0,0,0,0,0,1,0,0, 161 NM_001286139 chr11 - 92877336 92930621 92881702 92914906 11 92877336,92887273,92895871,92899083,92901109,92913962,92914856,92916000,92917595,92918856,92930357, 92882010,92887443,92896041,92899182,92901337,92914047,92914952,92916060,92917686,92918980,92930621, 0 SLC36A4 cmpl cmpl 1,2,0,0,0,2,0,-1,-1,-1,-1, 90 NM_014707 chr7 + 18535368 18708465 18535925 18706150 12 18535368,18535884,18624903,18629967,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835, 18535477,18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18708465, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,1,0,0,1,0, 182 NM_020871 chrX - 114345182 114468635 114347778 114468604 21 114345182,114357089,114357322,114357642,114358507,114361405,114364717,114384389,114384584,114391164,114398238,114399967,114400120,114400403,114400817,114404861,114413989,114414208,114418973,114422788,114468255, 114347898,114357167,114357460,114357755,114358565,114361456,114364762,114384506,114384633,114391230,114398346,114400026,114400218,114400515,114400905,114404995,114414126,114414314,114419100,114422933,114468635, 0 LRCH2 cmpl cmpl 0,0,0,1,0,0,0,0,2,2,2,0,1,0,2,0,1,0,2,1,0, 152 NM_016211 chr4 - 83739813 83812412 83740226 83803089 25 83739813,83742189,83745707,83748521,83750152,83763292,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,2,0,0,0,2,1,0,-1, 21 NM_015221 chr10 - 101635333 101769676 101636907 101731881 17 101635333,101639567,101643767,101645443,101646056,101648581,101654702,101656023,101657842,101658499,101659675,101667751,101668709,101714970,101728871,101731736,101769594, 101637093,101640118,101643966,101645623,101646389,101648710,101654807,101656154,101658042,101658517,101659823,101667851,101668903,101716962,101728994,101731891,101769676, 0 DNMBP cmpl cmpl 0,1,0,0,0,0,0,1,2,2,1,0,1,1,1,0,-1, 128 NM_001282476 chr17 - 58520509 58603601 58524941 58603168 12 58520509,58529240,58531662,58533656,58538023,58539170,58539354,58541381,58543651,58556508,58571826,58603154, 58525195,58529406,58531853,58533742,58538148,58539276,58539422,58541471,58543820,58556632,58571978,58603601, 0 APPBP2 cmpl cmpl 1,0,1,2,0,2,0,0,2,1,2,0, 1351 NM_003302 chr7 + 100464949 100471076 100465119 100470925 9 100464949,100465482,100465729,100466116,100467991,100468195,100469164,100470245,100470793, 100465228,100465610,100465855,100466488,100468085,100468365,100469343,100470366,100471076, 0 TRIP6 cmpl cmpl 0,1,0,0,0,1,0,2,0, 861 NM_001076677 chr9 + 36190852 36212059 36191053 36211771 6 36190852,36197547,36198975,36204064,36209263,36211599, 36191270,36197585,36199093,36204176,36209317,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2,2, 924 NM_000341 chr2 + 44502596 44547962 44502674 44547778 10 44502596,44507854,44508525,44513170,44527109,44528141,44531281,44539724,44540973,44547337, 44503104,44508034,44508680,44513296,44527229,44528266,44531477,44539892,44541090,44547962, 0 SLC3A1 cmpl cmpl 0,1,1,0,0,0,2,0,0,0, 587 NM_001267558 chr5 + 271735 315089 306718 314630 7 271735,271890,272825,304291,306716,311407,314531, 271805,271936,272887,304336,306875,311517,315089, 0 PDCD6 cmpl cmpl -1,-1,-1,-1,0,1,0, 587 NM_001267556 chr5 + 271735 315089 271835 314630 6 271735,272825,304291,306716,311407,314531, 271936,272887,304336,306869,311517,315089, 0 PDCD6 cmpl cmpl 0,2,1,1,1,0, 2290 NM_058165 chr2 + 223536456 223574649 223536504 223574609 6 223536456,223553062,223553983,223559080,223559807,223574454, 223536598,223553241,223554188,223559255,223560007,223574649, 0 MOGAT1 cmpl cmpl 0,1,0,1,2,1, 1139 NR_003186 chr7 + 72634673 72649979 72649979 72649979 8 72634673,72637912,72641443,72643600,72645844,72648647,72649222,72649702, 72634752,72637991,72641499,72644294,72645924,72648752,72649368,72649979, 0 NCF1B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 88 NM_006387 chr19 - 16628699 16653263 16629969 16653189 17 16628699,16630431,16630959,16631174,16631636,16632331,16633862,16636052,16638890,16640458,16641395,16641579,16643408,16643821,16646262,16652680,16653164, 16630163,16630526,16631076,16631318,16631723,16632465,16634101,16636488,16639066,16640711,16641485,16641691,16643560,16643959,16646447,16652854,16653263, 0 CHERP cmpl cmpl 1,2,2,2,2,0,1,0,1,0,0,2,0,0,1,1,0, 1267 NM_019610 chr1 - 89445138 89458643 89448336 89449509 2 89445138,89458267, 89449749,89458643, 0 RBMXL1 cmpl cmpl 0,-1, 820 NM_003885 chr17 + 30814104 30818271 30814638 30815562 2 30814104,30814493, 30814180,30818271, 0 CDK5R1 cmpl cmpl -1,0, 173 NM_015275 chr12 + 105501491 105562906 105501578 105560709 33 105501491,105504902,105507993,105508139,105508961,105509438,105512223,105514332,105514878,105515895,105519781,105520012,105520906,105527547,105531663,105534071,105534676,105534944,105536230,105536904,105538064,105538495,105540229,105540819,105543392,105546120,105550503,105551013,105553778,105556526,105557888,105558418,105560641, 105501639,105505042,105508047,105508205,105509007,105509506,105512306,105514375,105514982,105516016,105519905,105520140,105521067,105527674,105531789,105534179,105534823,105535024,105536336,105537021,105538233,105538650,105540304,105540924,105543527,105546229,105550570,105551100,105553926,105556623,105558085,105558518,105562906, 0 KIAA1033 cmpl cmpl 0,1,0,0,0,1,0,2,0,2,0,1,0,2,0,0,0,0,2,0,0,1,0,0,0,0,1,2,2,0,1,0,1, 745 NM_207355 chr15 - 21040700 21071977 21040719 21071610 11 21040700,21042572,21051161,21052373,21053821,21059385,21061964,21063439,21066370,21066703,21071200, 21040932,21042696,21051328,21052418,21053892,21059456,21062102,21063546,21066544,21066818,21071977, 0 LOC339010 cmpl cmpl 0,2,0,0,1,2,2,0,0,2,0, 753 NM_207355 chr15 - 22051852 22083137 22051871 22082770 11 22051852,22053722,22062315,22063527,22064975,22070539,22073120,22074595,22077530,22077863,22082360, 22052084,22053846,22062482,22063572,22065046,22070610,22073258,22074702,22077704,22077978,22083137, 0 LOC339010 cmpl cmpl 0,2,0,0,1,2,2,0,0,2,0, 864 NM_001270895 chr1 - 36602169 36621654 36602803 36605671 5 36602169,36603396,36605320,36605669,36621483, 36602923,36603579,36605420,36605767,36621654, 0 TRAPPC3 cmpl cmpl 0,0,2,0,-1, 1756 NM_002960 chr1 - 153519808 153521734 153520157 153520961 3 153519808,153520820,153521656, 153520322,153520966,153521734, 0 S100A3 cmpl cmpl 0,0,-1, 2135 NM_003465 chr1 - 203185206 203198860 203186016 203198764 11 203185206,203186866,203188343,203188791,203191329,203192262,203192622,203194175,203194796,203197660,203198739, 203186261,203186993,203188457,203188977,203191453,203192387,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 cmpl cmpl 1,0,0,0,2,0,2,2,1,1,0, 875 NM_003462 chr1 + 38022519 38032458 38022529 38030662 6 38022519,38023203,38024927,38027157,38027681,38030626, 38022676,38023349,38025097,38027336,38027846,38032458, 0 DNALI1 cmpl cmpl 0,0,2,1,0,0, 794 NM_003459 chr2 - 27477439 27485960 27478179 27485774 8 27477439,27479253,27479655,27480021,27480772,27481028,27481620,27485679, 27478328,27479388,27479761,27480220,27480926,27481175,27481802,27485960, 0 SLC30A3 cmpl cmpl 1,1,0,2,1,1,2,0, 9 NM_018968 chr2 + 946553 1371384 946682 1371246 17 946553,1079203,1093881,1094038,1133307,1133453,1161233,1168777,1204788,1241659,1243509,1251098,1263141,1271136,1312265,1320036,1371114, 946754,1079341,1093938,1094096,1133351,1133495,1161321,1168869,1204916,1241789,1243548,1251215,1263213,1271343,1312358,1320147,1371384, 0 SNTG2 cmpl cmpl 0,0,0,0,1,0,0,1,0,2,0,0,0,0,0,0,0, 826 NM_001199697 chr6 - 31606804 31620477 31606907 31619540 23 31606804,31607975,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610877,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620200, 31607003,31608083,31608481,31608715,31609005,31609199,31609369,31609722,31610077,31610892,31611751,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,1,0,0,1,1,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 1195 NM_005052 chr17 + 79989531 79992080 79989637 79991705 6 79989531,79990262,79990586,79990822,79991315,79991574, 79989672,79990334,79990704,79990885,79991475,79992080, 0 RAC3 cmpl cmpl 0,2,2,0,0,1, 734 NR_110504 chr14 - 19563121 19566680 19566680 19566680 2 19563121,19566285, 19564808,19566680, 0 LOC101929572 unk unk -1,-1, 918 NM_144626 chr1 + 43735664 43739673 43738393 43739053 4 43735664,43736351,43737854,43738248, 43735756,43736464,43738010,43739673, 0 TMEM125 cmpl cmpl -1,-1,-1,0, 877 NM_007359 chr17 + 38296506 38328431 38296801 38325874 14 38296506,38297459,38297822,38318005,38318254,38318977,38319733,38323049,38323750,38324102,38324455,38325576,38325850,38326699, 38297032,38297487,38297860,38318164,38318406,38319154,38320419,38323114,38323865,38324201,38324670,38325699,38325915,38328431, 0 CASC3 cmpl cmpl 0,0,1,0,0,2,2,1,0,1,1,0,0,-1, 1194 NM_006907 chr17 - 79890261 79895133 79891089 79894690 7 79890261,79892201,79892528,79892801,79893212,79893998,79894623, 79891252,79892365,79892621,79893023,79893392,79894069,79895133, 0 PYCR1 cmpl cmpl 2,0,0,0,0,1,0, 1458 NM_025181 chr2 - 114470368 114514400 114475351 114513986 16 114470368,114475329,114476730,114480680,114482954,114486977,114489160,114492162,114493353,114500268,114501289,114503853,114508001,114512741,114513030,114513946, 114472772,114475427,114476885,114480771,114483114,114487082,114489225,114492250,114493435,114500456,114501371,114503916,114508145,114512883,114513121,114514400, 0 SLC35F5 cmpl cmpl -1,2,0,2,1,1,2,1,0,1,0,0,0,2,1,0, 1348 NM_001194992 chr7 + 100026412 100031749 100029048 100031177 5 100026412,100028652,100030541,100030885,100031124, 100026528,100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl -1,0,0,0,1, 623 NM_001353 chr10 + 5005453 5020158 5005636 5019934 9 5005453,5008105,5009118,5010500,5011013,5014392,5014775,5018042,5019891, 5005720,5008273,5009235,5010578,5011136,5014502,5014941,5018125,5020158, 0 AKR1C1 cmpl cmpl 0,0,0,0,0,0,2,0,2, 858 NM_007026 chr17 + 35849950 35873588 35872374 35872971 3 35849950,35870778,35872282, 35850064,35870866,35873588, 0 DUSP14 cmpl cmpl -1,-1,0, 605 NM_006392 chr20 + 2633177 2639039 2633306 2638940 12 2633177,2633487,2633924,2635059,2635394,2635970,2636240,2636579,2637046,2637419,2637726,2638574, 2633309,2633577,2634039,2635221,2635593,2636158,2636392,2636680,2637195,2637541,2637864,2639039, 0 NOP56 cmpl cmpl 0,0,0,1,1,2,1,0,2,1,0,0, 1300 NM_001938 chr1 + 93811477 93828148 93812202 93826196 3 93811477,93819464,93826049, 93812422,93819628,93828148, 0 DR1 cmpl cmpl 0,1,0, 169 NM_001099686 chrX + 101502093 101581634 101562040 101581428 23 101502093,101503429,101561987,101571919,101572335,101572789,101572984,101573204,101573431,101573657,101573866,101574153,101575938,101576355,101576510,101576697,101576925,101577122,101577333,101577976,101578583,101581176,101581383, 101502232,101503551,101562083,101572109,101572486,101572873,101573089,101573285,101573501,101573746,101573974,101574263,101575975,101576424,101576566,101576805,101576984,101577238,101577376,101578049,101578766,101581237,101581634, 0 NXF2B cmpl cmpl -1,-1,0,1,2,0,0,0,0,1,0,0,2,0,0,2,2,1,0,1,2,2,0, 30 NM_001174061 chr1 + 183441505 183523328 183485073 183521066 22 183441505,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183516237,183518342,183518898,183519885,183520179,183520952, 183441784,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511637,183513632,183514447,183515472,183516387,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl -1,0,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,0,1,1,0, 1194 NM_001185078 chr17 - 79825596 79829282 79826751 79827806 6 79825596,79827048,79827205,79827417,79827616,79829173, 79826819,79827112,79827282,79827501,79827833,79829282, 0 ARHGDIA cmpl cmpl 1,0,1,1,0,-1, 887 NM_001017370 chr13 + 39612447 39624244 39612776 39622063 6 39612447,39613272,39613700,39618226,39621176,39621810, 39612860,39613425,39613848,39618318,39621289,39624244, 0 NHLRC3 cmpl cmpl 0,0,0,1,0,2, 949 NM_001127241 chr19 - 47724078 47736023 47725058 47735859 3 47724078,47729820,47735771, 47725175,47730011,47736023, 0 BBC3 cmpl cmpl 0,1,0, 1058 NR_073400 chr1 + 62119913 62121800 62121800 62121800 1 62119913, 62121800, 0 MGC34796 unk unk -1, 978 NM_005437 chr10 + 51572363 51590734 51579141 51589230 10 51572363,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51572492,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,0,0,2,0,0,0,0,0, 1433 NR_034154 chr11 - 111164113 111170539 111170539 111170539 2 111164113,111170318, 111169391,111170539, 0 COLCA1 unk unk -1,-1, 131 NR_033344 chr14 + 61447964 61550451 61550451 61550451 17 61447964,61449225,61451447,61482621,61486258,61497162,61503776,61504342,61509864,61510167,61512063,61512784,61517229,61518504,61518758,61545527,61550267, 61448409,61449356,61451521,61482674,61486298,61497241,61503859,61504401,61509930,61510221,61512143,61512885,61517354,61518649,61518853,61545645,61550451, 0 SLC38A6 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 892 NR_040059 chr15 + 40331511 40359710 40359710 40359710 4 40331511,40338161,40356661,40357421, 40331791,40338270,40356802,40359710, 0 SRP14-AS1 unk unk -1,-1,-1,-1, 699 NR_036144 chr16 + 15005076 15005170 15005170 15005170 1 15005076, 15005170, 0 MIR3180-3 unk unk -1, 710 NR_036144 chr16 + 16403731 16403825 16403825 16403825 1 16403731, 16403825, 0 MIR3180-3 unk unk -1, 726 NR_036144 chr16 - 18496034 18496128 18496128 18496128 1 18496034, 18496128, 0 MIR3180-3 unk unk -1, 1390 NR_024539 chr6 - 105605774 105624130 105624130 105624130 4 105605774,105607585,105609670,105624067, 105606626,105607694,105610035,105624130, 0 POPDC3 unk unk -1,-1,-1,-1, 1706 NR_033699 chrX + 146993468 147032647 147032647 147032647 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147019617,147022094,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147019680,147022181,147026571,147027136,147032647, 0 FMR1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 724 NM_001145195 chr10 + 18240767 18332221 18242205 18331762 13 18240767,18242119,18250509,18254411,18266830,18270240,18276407,18280079,18282109,18284584,18289595,18292099,18331633, 18240954,18242466,18250791,18254619,18267003,18270412,18276580,18280232,18282220,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,0,1,0,1,0,0,0,1,1,0, 789 NM_005517 chr1 + 26798901 26803133 26799103 26801639 6 26798901,26799973,26800193,26800575,26801062,26801603, 26799118,26800018,26800223,26800626,26801158,26803133, 0 HMGN2 cmpl cmpl 0,0,0,0,0,0, 1575 NM_012098 chr9 - 129849627 129885044 129851217 129871010 5 129849627,129853948,129856011,129870193,129884593, 129851417,129854219,129856205,129871059,129885044, 0 ANGPTL2 cmpl cmpl 1,0,1,0,-1, 882 NM_001195386 chr17 + 38975436 38992526 38990768 38991545 3 38975436,38989366,38990633, 38975531,38989451,38992526, 0 TMEM99 cmpl cmpl -1,-1,0, 859 NM_152404 chr5 - 35953190 35991535 35954303 35991342 7 35953190,35955746,35957289,35965487,35968120,35988551,35991248, 35954580,35955966,35957521,35966019,35968235,35988653,35991535, 0 UGT3A1 cmpl cmpl 2,1,0,2,1,1,0, 1508 NM_002881 chr2 + 121010413 121052286 121036240 121050836 5 121010413,121036193,121043449,121047155,121050716, 121010556,121036354,121043658,121047333,121052286, 0 RALB cmpl cmpl -1,0,0,2,0, 907 NM_005662 chr8 + 42249278 42263455 42251729 42262980 10 42249278,42251362,42251727,42252601,42256229,42257168,42259305,42260828,42262384,42262888, 42249446,42251402,42251796,42252651,42256382,42257221,42259533,42260979,42262442,42263455, 0 VDAC3 cmpl cmpl -1,-1,0,1,0,0,2,2,0,1, 29 NM_022763 chr3 + 171757417 172118492 171830269 172115265 26 171757417,171830241,171851260,171944660,171965322,171969049,172003715,172013152,172016517,172025152,172028617,172046741,172048330,172050878,172052733,172055119,172058902,172060800,172061875,172064116,172065001,172070592,172080422,172096059,172098755,172114953, 171757561,171830380,171851336,171944737,171965566,171969331,172003774,172013304,172016577,172025291,172028671,172046866,172048505,172050965,172052872,172055191,172059021,172060906,172062048,172064230,172065151,172070873,172080635,172096226,172098883,172118492, 0 FNDC3B cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 271 NM_175710 chr1 + 207818457 207897036 207818578 207897030 12 207818457,207850733,207851542,207857216,207867697,207870847,207871115,207872533,207874863,207881522,207890808,207896962, 207818675,207850913,207851642,207857302,207868096,207871024,207871218,207872619,207874963,207881608,207891036,207897036, 0 CR1L cmpl cmpl 0,1,1,2,1,1,1,2,1,2,1,1, 862 NM_001195416 chr13 - 36342788 36429998 36348671 36429665 13 36342788,36367502,36379835,36382360,36383154,36384971,36396865,36401771,36402386,36410169,36413228,36428635,36429646, 36348836,36367616,36379916,36382457,36383232,36385105,36397012,36401891,36402444,36410278,36413313,36428730,36429998, 0 DCLK1 cmpl cmpl 0,0,0,2,2,0,0,0,2,1,0,1,0, 190 NR_073555 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169524,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123222945,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 128 NM_001206920 chr14 - 58030639 58332592 58030852 58332543 8 58030639,58033192,58036505,58038611,58047931,58055933,58060656,58332440, 58031094,58033282,58036698,58038737,58048151,58056228,58060842,58332592, 0 SLC35F4 cmpl cmpl 1,1,0,0,2,1,1,0, 1016 NM_032786 chr12 + 56512029 56516278 56514346 56515651 3 56512029,56512871,56514294, 56512102,56512935,56516278, 0 ZC3H10 cmpl cmpl -1,-1,0, 633 NR_003592 chrY + 6317508 6325947 6325947 6325947 6 6317508,6318486,6320955,6321718,6324112,6325701, 6317545,6318648,6321030,6322195,6324226,6325947, 0 TTTY7B unk unk -1,-1,-1,-1,-1,-1, 989 NM_005486 chr17 + 52978051 53039328 52978226 53037987 16 52978051,52981068,52982849,52990026,52991108,52991999,52993106,53007433,53014009,53014469,53016284,53024621,53026878,53027405,53037926,53038595, 52978284,52981153,52982928,52990176,52991234,52992104,52993223,53007567,53014070,53014587,53016381,53024673,53026984,53027487,53037988,53039328, 0 TOM1L1 cmpl cmpl 0,1,2,0,0,0,0,0,2,0,1,2,0,1,2,-1, 1379 NM_001270966 chr10 - 104162373 104179484 104162956 104173941 18 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104170614,104170814,104171463,104171903,104172137,104173525,104174619,104175773,104176141,104178457,104179412, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104170704,104170873,104171576,104171984,104172332,104173954,104174986,104175876,104176388,104178516,104179484, 0 PSD cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,0,-1,-1,-1,-1,-1, 123 NM_175078 chr12 - 53083410 53097247 53084948 53097218 9 53083410,53085721,53086204,53086538,53088409,53089555,53090153,53091465,53096675, 53085223,53085756,53086425,53086664,53088574,53089651,53090214,53091680,53097247, 0 KRT77 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1999 NR_027317 chr3 + 185431039 185435955 185435955 185435955 2 185431039,185434228, 185431276,185435955, 0 C3orf65 unk unk -1,-1, 1607 NM_001185096 chr9 + 133971862 133998539 133972016 133995636 6 133971862,133972188,133986983,133989963,133993142,133995621, 133972047,133972250,133987050,133990005,133993234,133998539, 0 AIF1L cmpl cmpl 0,1,0,1,1,0, 885 NM_001270406 chr22 + 39353526 39359188 39353696 39358514 5 39353526,39355600,39357391,39358102,39358499, 39353725,39355691,39357686,39358218,39359188, 0 APOBEC3A cmpl cmpl 0,2,0,1,0, 918 NM_001001935 chr18 - 43664109 43678319 43664247 43671806 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43674945,43678137, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,0,-1,-1, 79 NM_001257326 chr11 - 6416353 6426647 6416763 6424996 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6426362, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426647, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,0,-1, 647 NM_001177802 chr17 + 8191968 8193409 8192106 8192879 3 8191968,8192273,8192575, 8192183,8192390,8193409, 0 RANGRF cmpl cmpl 0,2,2, 600 NM_144603 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030656,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030729,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 1096 NR_036060 chr1 + 67094122 67094200 67094200 67094200 1 67094122, 67094200, 0 MIR3117 unk unk -1, 763 NR_036057 chr1 + 23370797 23370865 23370865 23370865 1 23370797, 23370865, 0 MIR3115 unk unk -1, 1654 NM_001184988 chr4 - 140211070 140223705 140213703 140216952 6 140211070,140213683,140216196,140216885,140217485,140223569, 140211246,140213763,140216300,140217114,140217521,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1,-1, 956 NM_001193475 chr2 + 48667907 48742531 48668092 48741883 20 48667907,48678146,48681733,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48725631,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48725874,48734524,48737252,48738607,48742531, 0 PPP1R21 cmpl cmpl 0,0,0,0,0,0,2,1,0,0,0,2,1,1,0,0,0,0,0,0, 830 NM_001204103 chr6 + 32121775 32131458 32122371 32130727 9 32121775,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32130583, 32122171,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32131458, 0 PPT2 cmpl cmpl -1,0,0,1,1,1,1,2,0, 2042 NM_001164467 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L3 cmpl cmpl 0, 110 NM_001171174 chr3 - 39304984 39323226 39306932 39323186 2 39304984,39323099, 39308009,39323226, 0 CX3CR1 cmpl cmpl 0,0, 110 NM_001171172 chr3 - 39304984 39321930 39306932 39308000 2 39304984,39321739, 39308009,39321930, 0 CX3CR1 cmpl cmpl 0,-1, 110 NM_001171171 chr3 - 39304984 39322764 39306932 39308000 2 39304984,39322533, 39308009,39322764, 0 CX3CR1 cmpl cmpl 0,-1, 115 NM_016598 chr3 - 44956752 45017674 44968180 45000928 8 44956752,44970797,44974398,44974609,44975379,44986659,45000622,45017424, 44968339,44970928,44974482,44974691,44975476,44986784,45000952,45017674, 0 ZDHHC3 cmpl cmpl 0,1,1,0,2,0,0,-1, 91 NM_005315 chr22 - 19136503 19137796 19136503 19137796 3 19136503,19137175,19137537, 19136608,19137429,19137796, 0 GSC2 cmpl cmpl 0,1,0, 1149 NM_030568 chr6 - 73951037 73972907 73951251 73952240 4 73951037,73951777,73952128,73972496, 73951451,73951960,73952253,73972907, 0 KHDC1 cmpl cmpl 1,1,0,-1, 0 NM_020299 chr7 + 134212343 134226166 134212663 134225841 10 134212343,134215394,134216659,134217755,134221401,134221802,134222331,134222945,134223686,134225798, 134212729,134215562,134216776,134217833,134221524,134221909,134222413,134223029,134223769,134226166, 0 AKR1B10 cmpl cmpl 0,0,0,0,0,0,2,0,0,2, 167 NM_020429 chr7 - 98625057 98741743 98628206 98741403 19 98625057,98630659,98633137,98634689,98636010,98638000,98639740,98643320,98645306,98647185,98648537,98648979,98649827,98652412,98654827,98655040,98658221,98659421,98741348, 98628306,98630744,98633339,98634810,98636148,98638179,98639855,98643424,98645505,98647332,98648615,98649064,98650069,98652488,98654893,98655174,98658330,98659460,98741743, 0 SMURF1 cmpl cmpl 2,1,0,2,2,0,2,0,2,2,2,1,2,1,1,2,1,1,0, 82 NM_020248 chr1 - 9908333 9970316 9910775 9932122 6 9908333,9931244,9932026,9937962,9943762,9970152, 9910834,9931335,9932146,9938047,9943796,9970316, 0 CTNNBIP1 cmpl cmpl 1,0,0,-1,-1,-1, 1130 NM_203350 chr1 - 71528973 71546972 71530756 71546678 10 71528973,71532458,71534958,71536509,71537803,71538154,71542477,71544139,71544338,71546622, 71530820,71532617,71535045,71536679,71537938,71538231,71542560,71544248,71544391,71546972, 0 ZRANB2 cmpl cmpl 2,2,2,0,0,1,2,1,2,0, 770 NR_003603 chr19 - 24344994 24346249 24346249 24346249 1 24344994, 24346249, 0 HAVCR1P1 unk unk -1, 1767 NM_001256455 chr1 + 154975105 154991001 154987136 154989161 3 154975105,154987130,154988695, 154975419,154988290,154991001, 0 ZBTB7B cmpl cmpl -1,0,2, 828 NM_005510 chr6 - 31937587 31940032 31937653 31939452 7 31937587,31937885,31938119,31938382,31938688,31939096,31939705, 31937801,31937980,31938255,31938602,31938924,31939458,31940032, 0 DXO cmpl cmpl 2,0,2,1,2,0,-1, 630 NM_012416 chr9 - 6011018 6015640 6012289 6015607 1 6011018, 6015640, 0 RANBP6 cmpl cmpl 0, 830 NM_004557 chr6 - 32162619 32191844 32163213 32191705 30 32162619,32164100,32164701,32165075,32166197,32166425,32166702,32168607,32168893,32169852,32171546,32171913,32178528,32180250,32180600,32180911,32181464,32181886,32183002,32184721,32184929,32185771,32187368,32187905,32188181,32188532,32188754,32190287,32190781,32191632, 32163927,32164198,32164849,32165371,32166336,32166507,32166922,32168783,32169277,32170376,32171659,32172166,32178713,32180404,32180688,32181029,32181617,32182032,32183162,32184844,32185043,32185885,32187563,32188061,32188418,32188655,32189102,32190583,32190863,32191844, 0 NOTCH4 cmpl cmpl 0,1,0,1,0,2,1,2,2,0,1,0,1,0,2,1,1,2,1,1,1,1,1,1,1,1,1,2,1,0, 895 NM_002225 chr15 + 40697685 40713512 40698019 40710462 12 40697685,40699836,40700137,40702826,40703458,40703753,40705189,40707087,40707599,40708276,40708488,40710328, 40698172,40699926,40700189,40702996,40703552,40703890,40705286,40707181,40707681,40708381,40708561,40713512, 0 IVD cmpl cmpl 0,0,0,1,0,1,0,1,2,0,0,1, 1256 NM_001032392 chr2 + 88047609 88058994 88047672 88053152 4 88047609,88051765,88053046,88056338, 88047721,88051901,88053153,88058994, 0 PLGLB1 cmpl cmpl 0,1,2,-1, 1 NM_001032391 chr16 + 25123046 25189551 25123204 25189344 9 25123046,25139795,25143722,25151491,25175918,25180432,25182034,25186257,25189321, 25123317,25139887,25143844,25151568,25176039,25180534,25182126,25186355,25189551, 0 LCMT1 cmpl cmpl 0,2,1,0,2,0,0,2,1, 1364 NM_001165 chr11 + 102188180 102210135 102195240 102207833 9 102188180,102192567,102196196,102198782,102199627,102201729,102206696,102207490,102207639, 102188302,102196093,102196296,102198861,102199676,102201972,102206951,102207532,102210135, 0 BIRC3 cmpl cmpl -1,0,1,2,0,1,1,1,1, 79 NM_001164 chr11 - 6416353 6440341 6416763 6432577 14 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6431856,6440214, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6432591,6440341, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,1,0,-1, 823 NM_002117 chr6 - 31236525 31239913 31236945 31239848 8 31236525,31237114,31237269,31237742,31237986,31238849,31239375,31239775, 31236950,31237162,31237302,31237862,31238262,31239125,31239645,31239913, 0 HLA-C cmpl cmpl 1,1,1,1,1,1,1,0, 36 NM_001284214 chr2 - 230628552 230786725 230632269 230744795 42 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230705537,230723487,230725121,230744697,230786595, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670518,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695555,230701700,230705643,230724290,230725247,230744844,230786725, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,1,2,2,0,-1, 1574 NM_001282191 chr7 - 129658125 129691291 129658503 129691206 9 129658125,129662158,129664102,129665997,129668741,129679303,129680790,129688872,129691060, 129658572,129662365,129664346,129666152,129668869,129679387,129680941,129688984,129691291, 0 ZC3HC1 cmpl cmpl 0,0,2,0,1,1,0,2,0, 112 NM_144732 chr19 + 41768390 41813811 41774132 41812470 15 41768390,41774127,41777986,41779886,41782063,41784981,41787067,41798149,41800242,41800462,41807440,41808569,41809876,41811580,41812353, 41768487,41774250,41778140,41779960,41782203,41785081,41787180,41798416,41800365,41800591,41807609,41808854,41810166,41811772,41813811, 0 HNRNPUL1 cmpl cmpl -1,0,1,2,1,0,1,0,0,0,0,1,1,0,0, 635 NM_024067 chr7 + 6629914 6648355 6629914 6647792 6 6629914,6631276,6634065,6639459,6641731,6647590, 6630106,6631498,6634231,6639987,6641771,6648355, 0 C7orf26 cmpl cmpl 0,0,0,1,1,2, 949 NM_017452 chr20 - 47729875 47804904 47731414 47770570 13 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47790731,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47790806,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1,-1, 13 NM_022758 chr6 - 34555056 34664627 34558341 34664380 4 34555056,34574331,34622401,34664222, 34558377,34574681,34622556,34664627, 0 C6orf106 cmpl cmpl 0,1,2,0, 1737 NM_176894 chr3 - 151044095 151047337 151045778 151047316 2 151044095,151047268, 151046795,151047337, 0 P2RY13 cmpl cmpl 0,0, 952 NM_015401 chr12 - 48176506 48213763 48177623 48213568 26 48176506,48177861,48179169,48179534,48180367,48181494,48181827,48183043,48183305,48183595,48185041,48185368,48185653,48187151,48188542,48188966,48189369,48189688,48189989,48190799,48191166,48191890,48192344,48192567,48196006,48213549, 48177669,48178000,48179254,48179668,48180486,48181592,48181947,48183131,48183361,48183703,48185091,48185489,48185787,48187371,48188716,48189163,48189550,48189799,48190081,48190925,48191282,48192002,48192435,48192755,48196057,48213763, 0 HDAC7 cmpl cmpl 2,1,0,1,2,0,0,2,0,0,1,0,1,0,0,1,0,0,1,1,2,1,0,1,1,0, 249 NM_001025266 chr3 - 184795837 184870802 184800794 184870611 2 184795837,184870415, 184801351,184870802, 0 C3orf70 cmpl cmpl 1,0, 144 NM_001058 chr2 - 75273589 75426645 75276558 75426060 5 75273589,75278377,75280731,75347699,75425671, 75276850,75278574,75280882,75347894,75426645, 0 TACR1 cmpl cmpl 2,0,2,2,0, 289 NM_002221 chr1 - 226819390 226926876 226822371 226925159 8 226819390,226825379,226827257,226829621,226834867,226836372,226923227,226926741, 226822587,226825451,226827359,226829826,226835081,226836472,226925364,226926876, 0 ITPKB cmpl cmpl 0,0,0,2,1,0,0,-1, 949 NM_001630 chr10 + 47746919 47763040 47747111 47762187 12 47746919,47751144,47752404,47753837,47754714,47755464,47756032,47756638,47756971,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47754805,47755544,47756092,47756732,47757067,47758904,47759772,47763040, 0 ANXA8L2 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 826 NM_004638 chr6 + 31588449 31605554 31590566 31605363 31 31588449,31590466,31591508,31592037,31592226,31592947,31593236,31593568,31593796,31594548,31594758,31595541,31596920,31597324,31598367,31598915,31601155,31601635,31602012,31602248,31602529,31602908,31603170,31603358,31603743,31603985,31604286,31604509,31604818,31605010,31605222, 31588635,31590678,31591686,31592137,31592299,31593091,31593388,31593648,31593939,31594639,31594975,31596016,31597111,31597622,31598578,31600769,31601424,31601766,31602142,31602334,31602754,31603049,31603242,31603526,31603826,31604196,31604385,31604722,31604913,31605101,31605554, 0 PRRC2A cmpl cmpl -1,0,1,2,0,1,1,0,2,1,2,0,1,0,1,2,2,1,0,1,0,0,0,0,0,2,0,0,0,2,0, 971 NM_001171743 chr3 - 50595455 50605223 50597087 50603130 5 50595455,50598347,50599152,50602956,50604893, 50597168,50598495,50599178,50603131,50605223, 0 C3orf18 cmpl cmpl 0,2,0,0,-1, 971 NM_001171741 chr3 - 50595455 50608458 50597087 50603130 5 50595455,50598347,50599152,50602896,50608333, 50597168,50598495,50599178,50603292,50608458, 0 C3orf18 cmpl cmpl 0,2,0,0,-1, 890 NM_001135654 chr1 - 40026484 40042521 40027369 40041623 15 40026484,40027356,40027744,40027994,40029285,40030094,40030357,40030777,40033422,40034473,40035266,40035534,40036905,40038064,40041430, 40026794,40027459,40027875,40028088,40029413,40030214,40030445,40031050,40033518,40034611,40035361,40035674,40037021,40038258,40042521, 0 PABPC4 cmpl cmpl -1,0,1,0,1,1,0,0,0,0,1,2,0,1,0, 85 NM_020844 chr8 + 12803182 12887284 12863711 12879553 5 12803182,12848342,12863710,12870192,12878516, 12803475,12848540,12863865,12870366,12887284, 0 KIAA1456 cmpl cmpl -1,-1,0,1,1, 1729 NM_013400 chr7 + 150065878 150071133 150068330 150070034 4 150065878,150066759,150067848,150068316, 150066030,150066957,150067973,150071133, 0 REPIN1 cmpl cmpl -1,-1,-1,0, 176 NM_001199859 chr8 - 108261709 108510254 108264082 108509786 9 108261709,108276448,108296909,108306163,108315467,108334126,108348377,108359169,108509489, 108264243,108276579,108297076,108306265,108315595,108334356,108348499,108359325,108510254, 0 ANGPT1 cmpl cmpl 1,2,0,0,1,2,0,0,0, 156 NM_004194 chr7 + 87563565 87811428 87563780 87811343 29 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87808249,87810819,87811272, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87808357,87810920,87811428, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,2,1, 702 NM_001039697 chr9 + 15422781 15461627 15422877 15459864 9 15422781,15423906,15433549,15444599,15447092,15451317,15453038,15457957,15459716, 15423191,15423984,15433634,15444704,15447242,15451400,15453203,15458065,15461627, 0 SNAPC3 cmpl cmpl 0,2,2,0,0,0,2,2,2, 861 NM_001184760 chr9 + 36190852 36212059 36191053 36211771 6 36190852,36197547,36198975,36204064,36210621,36211599, 36191270,36197585,36199093,36204176,36210657,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2,2, 133 NM_178221 chr1 + 63249776 63330941 63269457 63329830 11 63249776,63269389,63270842,63282245,63284675,63286809,63294710,63299708,63300446,63307098,63329662, 63249896,63269533,63270926,63282479,63285006,63286880,63294847,63299787,63300523,63307218,63330941, 0 ATG4C cmpl cmpl -1,0,1,1,1,2,1,0,1,0,0, 1547 NR_103789 chr3 - 126111874 126113641 126113641 126113641 2 126111874,126113141, 126112136,126113641, 0 CCDC37-AS1 unk unk -1,-1, 1547 NR_103788 chr3 - 126111874 126113641 126113641 126113641 3 126111874,126112325,126113141, 126112136,126112377,126113641, 0 CCDC37-AS1 unk unk -1,-1,-1, 153 NR_073578 chr16 + 84733554 84813527 84813527 84813527 11 84733554,84767040,84778238,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84767109,84779279,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 153 NR_073577 chr16 + 84733554 84813527 84813527 84813527 12 84733554,84767040,84792321,84792968,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84767109,84792413,84793078,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 190 NR_073558 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334254,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 832 NM_002125 chr6 - 32485153 32498006 32485515 32498001 6 32485153,32485830,32486332,32487146,32489681,32497901, 32485529,32485854,32486443,32487428,32489951,32498006, 0 HLA-DRB5 cmpl cmpl 1,1,1,1,1,0, 833 NM_002124 chr6 - 32546546 32557613 32546867 32557519 6 32546546,32548023,32548522,32549333,32551885,32557419, 32546881,32548047,32548633,32549615,32552155,32557613, 0 HLA-DRB1 cmpl cmpl 1,1,1,1,1,0, 952 NM_002611 chr17 + 48172638 48188733 48172799 48187461 11 48172638,48174786,48182734,48183248,48184157,48184439,48185519,48185682,48185975,48186650,48187320, 48172917,48174928,48182806,48183433,48184247,48184517,48185596,48185781,48186083,48186764,48188733, 0 PDK2 cmpl cmpl 0,1,2,2,1,1,1,0,0,0,0, 21 NM_001100874 chr4 - 103806204 103940896 103806389 103912868 12 103806204,103826670,103827692,103831595,103832587,103853280,103866349,103867803,103870413,103910956,103912799,103940755, 103806485,103826807,103827801,103831745,103832694,103853456,103866477,103867946,103870584,103911098,103912869,103940896, 0 SLC9B1 cmpl cmpl 0,1,0,0,1,2,0,1,1,0,0,-1, 1540 NM_001013628 chrX - 125297481 125300080 125298515 125299907 1 125297481, 125300080, 0 DCAF12L2 cmpl cmpl 0, 213 NM_001097616 chr1 + 147425566 147465755 147425566 147465149 9 147425566,147426553,147438785,147441106,147442098,147458430,147460663,147464733,147464942, 147425697,147426634,147438895,147441195,147442191,147458526,147460753,147464799,147465755, 0 GPR89C cmpl cmpl 0,2,2,1,0,0,0,0,0, 2478 NM_001258284 chr1 + 248185249 248186188 248185249 248186188 1 248185249, 248186188, 0 OR2L5 cmpl cmpl 0, 122 NM_052978 chr14 - 51462784 51562422 51464717 51561657 7 51462784,51467400,51475797,51477101,51489552,51491982,51560835, 51464906,51467558,51475951,51477212,51489675,51492078,51562422, 0 TRIM9 cmpl cmpl 0,1,0,0,0,0,0, 1587 NM_006325 chr12 + 131356616 131360826 131357138 131360471 7 131356616,131357128,131357380,131357547,131359090,131360156,131360426, 131356671,131357174,131357465,131357673,131359278,131360327,131360826, 0 RAN cmpl cmpl -1,0,0,1,1,0,0, 161 NM_152313 chr11 - 92877336 92931141 92881702 92930998 11 92877336,92887273,92895871,92899083,92901109,92913962,92914856,92915971,92917595,92918856,92930943, 92882010,92887443,92896041,92899182,92901337,92914047,92914952,92916060,92917686,92918980,92931141, 0 SLC36A4 cmpl cmpl 1,2,0,0,0,2,2,0,2,1,0, 1689 NM_001100598 chr8 + 144766621 144777555 144772278 144776700 6 144766621,144771373,144772226,144773242,144773769,144775840, 144766712,144771471,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,0,0,1,1, 102 NM_033382 chr22 + 30792929 30812964 30793105 30812490 11 30792929,30795631,30802330,30803083,30803403,30805175,30805414,30806584,30811747,30811936,30812222, 30793159,30795707,30802374,30803143,30803592,30805271,30805475,30806668,30811854,30812076,30812964, 0 SEC14L2 cmpl cmpl 0,0,1,0,0,0,0,1,1,0,2, 1583 NM_025072 chr9 - 130882971 130890741 130883423 130889996 7 130882971,130884640,130885212,130885980,130886770,130887522,130889717, 130883552,130884758,130885413,130886130,130886829,130887720,130890741, 0 PTGES2 cmpl cmpl 0,2,2,2,0,0,0, 824 NR_002812 chr6 + 31439005 31440185 31440185 31440185 1 31439005, 31440185, 0 HCG26 unk unk -1, 986 NM_005556 chr12 + 52626953 52642709 52627080 52642544 9 52626953,52628938,52631292,52632463,52635255,52636795,52639195,52641960,52642374, 52627404,52629150,52631353,52632559,52635420,52636921,52639416,52641995,52642709, 0 KRT7 cmpl cmpl 0,0,2,0,0,0,0,2,1, 748 NM_014579 chr14 + 21467413 21470034 21467605 21469738 4 21467413,21467900,21468274,21469105, 21467720,21468031,21468325,21470034, 0 SLC39A2 cmpl cmpl 0,1,0,0, 597 NM_000934 chr17 + 1646129 1658559 1648289 1657828 10 1646129,1648285,1648468,1648626,1649001,1650312,1650602,1651891,1655879,1657415, 1646202,1648352,1648507,1648689,1649203,1650456,1650806,1652034,1656084,1658559, 0 SERPINF2 cmpl cmpl -1,0,0,0,0,1,1,1,0,1, 979 NM_015832 chr18 - 51729049 51751158 51729265 51750929 3 51729049,51731367,51750387, 51729472,51731527,51751158, 0 MBD2 cmpl cmpl 0,2,0, 1418 NM_001161331 chr12 - 109185694 109221327 109185875 109221181 13 109185694,109192775,109194555,109196097,109198831,109200076,109201408,109203468,109205035,109210813,109212024,109217033,109221038, 109186605,109192976,109194702,109196144,109198960,109200170,109201603,109203534,109205104,109210935,109212089,109217137,109221327, 0 SSH1 cmpl cmpl 2,2,2,0,0,2,2,2,2,0,1,2,0, 1776 NM_001193300 chr1 + 156123321 156147542 156124369 156146788 15 156123321,156124340,156126204,156127860,156128178,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156123546,156124508,156126365,156127923,156128277,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,1,0,0,0,1,1,0,2,0,1,0,2,1, 1471 NM_001172897 chr7 + 116166411 116201239 116166641 116199341 3 116166411,116166578,116198999, 116166442,116166743,116201239, 0 CAV1 cmpl cmpl -1,0,0, 794 NM_001172304 chr10 + 27443752 27475848 27444355 27475465 11 27443752,27447477,27448547,27450022,27453992,27454317,27456030,27458872,27462049,27470408,27475307, 27444541,27447615,27448687,27450111,27454099,27454468,27456203,27460012,27462188,27470510,27475848, 0 MASTL cmpl cmpl 0,0,0,2,1,0,1,0,0,1,1, 159 NR_027435 chr5 + 90676163 90716532 90716532 90716532 3 90676163,90714525,90714671, 90676741,90714588,90716532, 0 ARRDC3-AS1 unk unk -1,-1,-1, 1739 NM_000449 chr1 - 151313115 151319769 151314661 151318796 11 151313115,151315817,151316156,151316672,151316892,151317203,151317581,151318403,151318680,151318957,151319686, 151315654,151315918,151316358,151316754,151317012,151317323,151317664,151318437,151318809,151319082,151319769, 0 RFX5 cmpl cmpl 0,1,0,2,2,2,0,2,0,-1,-1, 1083 NM_001130144 chr11 - 65306029 65325699 65306550 65325430 28 65306029,65306798,65307018,65307190,65307483,65307715,65307956,65308341,65308596,65309070,65310575,65310897,65313912,65314268,65314909,65315160,65315390,65318596,65318872,65319018,65319442,65319718,65320330,65320634,65320895,65321171,65321521,65325099, 65306702,65306930,65307099,65307352,65307624,65307853,65308085,65308425,65308764,65309199,65310695,65311020,65314035,65314391,65315038,65315292,65315516,65318695,65318945,65319035,65319628,65319877,65320453,65320727,65321001,65321374,65321851,65325699, 0 LTBP3 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0, 920 NR_024560 chr17 + 43973148 43976164 43976164 43976164 1 43973148, 43976164, 0 MAPT-IT1 unk unk -1, 920 NR_024559 chr17 - 43920721 43972879 43972879 43972879 2 43920721,43972845, 43921527,43972879, 0 MAPT-AS1 unk unk -1,-1, 1507 NR_027141 chr10 + 120863628 120897376 120897376 120897376 9 120863628,120867479,120871360,120877030,120879852,120882980,120889026,120892026,120895982, 120863709,120867676,120871440,120877179,120879964,120883081,120889134,120892121,120897376, 0 FAM45B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 196 NR_027141 chrX + 129628914 129631421 129631421 129631421 1 129628914, 129631421, 0 FAM45B unk unk -1, 144 NM_022492 chr2 + 74710199 74721691 74710222 74720345 13 74710199,74710448,74717151,74717370,74717782,74718254,74718421,74718607,74719130,74719265,74719430,74719772,74720048, 74710262,74710537,74717254,74717600,74717866,74718311,74718502,74718799,74719182,74719356,74719572,74719874,74721691, 0 TTC31 cmpl cmpl 0,1,0,1,0,0,0,0,0,1,2,0,0, 1926 NM_020444 chr5 - 175773063 175788810 175774602 175786511 9 175773063,175774923,175775252,175777615,175779624,175782573,175786483,175786813,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175786570,175786921,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,1,0,-1,-1, 663 NM_003755 chr19 - 10225689 10230599 10225789 10230535 11 10225689,10226154,10226359,10226642,10227475,10227759,10229343,10229543,10229763,10230329,10230515, 10225805,10226261,10226496,10226750,10227665,10227864,10229403,10229632,10229847,10230376,10230599, 0 EIF3G cmpl cmpl 2,0,1,1,0,0,0,1,1,2,0, 949 NM_017454 chr20 - 47729875 47804904 47731414 47770570 12 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1, 2371 NM_017974 chr2 + 234160216 234204320 234160473 234202996 17 234160216,234164747,234171775,234172637,234173537,234178647,234181611,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234171881,234172711,234173789,234178713,234181698,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl 0,1,2,0,2,2,2,2,0,1,0,0,1,2,2,2,2, 1737 NM_198285 chr7 - 151078206 151107124 151078667 151106675 6 151078206,151078963,151082173,151092861,151097185,151106512, 151078832,151079067,151082309,151093282,151097327,151107124, 0 WDR86 cmpl cmpl 0,1,0,2,1,0, 1112 NM_182536 chr2 - 69172363 69180102 69172499 69179993 6 69172363,69173435,69174278,69177257,69177833,69179981, 69172582,69173592,69174389,69177395,69177887,69180102, 0 GKN2 cmpl cmpl 1,0,0,0,0,0, 1737 NR_034013 chr7 + 151106246 151110132 151110132 151110132 4 151106246,151108755,151109052,151109804, 151106468,151108878,151109156,151110132, 0 WDR86-AS1 unk unk -1,-1,-1,-1, 1737 NR_034012 chr7 + 151106246 151110132 151110132 151110132 5 151106246,151108313,151108755,151109052,151109804, 151106468,151108398,151108878,151109156,151110132, 0 WDR86-AS1 unk unk -1,-1,-1,-1,-1, 1781 NR_034008 chr3 + 156807669 156818924 156818924 156818924 3 156807669,156817271,156818474, 156807911,156817370,156818924, 0 LINC00881 unk unk -1,-1,-1, 765 NM_001102398 chr1 - 23636275 23670853 23636946 23667501 11 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23667344,23670703, 23637559,23637815,23640195,23645190,23648156,23650225,23660124,23664354,23665101,23667510,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,1,0,-1, 595 NM_172245 chrY + 1337692 1378828 1351596 1378372 13 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1343711,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 115 NM_001135179 chr3 - 44956752 45017674 44968180 45000928 7 44956752,44970797,44974609,44975379,44986659,45000622,45017424, 44968339,44970928,44974691,44975476,44986784,45000952,45017674, 0 ZDHHC3 cmpl cmpl 0,1,0,2,0,0,-1, 1183 NM_001201397 chr13 - 78469615 78493903 78472334 78493750 8 78469615,78473993,78474655,78475192,78477290,78477629,78492225,78493531, 78472469,78474102,78474789,78475342,78477495,78477742,78492759,78493903, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0,0, 1087 NM_001199687 chrX - 65815481 65859140 65819325 65835862 7 65815481,65819315,65822474,65824262,65824889,65835775,65859042, 65817935,65819702,65822639,65824348,65825068,65835872,65859140, 0 EDA2R cmpl cmpl -1,1,1,2,0,0,-1, 103 NM_016408 chr20 - 31946644 31989375 31946848 31984870 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984890,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,0,-1, 746 NM_002756 chr17 + 21191347 21218551 21201762 21217542 12 21191347,21201724,21202189,21203856,21204185,21205454,21206494,21207737,21208362,21215453,21216803,21217458, 21191403,21201791,21202238,21203970,21204305,21205571,21206546,21207865,21208440,21215593,21216849,21218551, 0 MAP2K3 cmpl cmpl -1,0,2,0,0,0,0,1,0,0,2,0, 980 NM_001272061 chrX - 51804922 51812368 51805124 51811268 14 51804922,51805329,51806082,51806798,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51806846,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811320,51812368, 0 MAGED4 cmpl cmpl 2,0,2,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_001272061 chrX + 51927918 51935366 51929018 51935162 14 51927918,51928966,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51933440,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51933488,51934204,51934957,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,2,0,2, 854 NM_001164824 chr1 - 35315962 35324646 35321299 35321578 3 35315962,35322156,35324440, 35321583,35322340,35324646, 0 SMIM12 cmpl cmpl 0,-1,-1, 132 NM_138363 chr17 + 62503157 62534062 62503215 62533897 20 62503157,62504709,62506290,62510365,62512840,62515438,62517519,62518819,62521887,62522188,62523228,62525405,62527043,62528007,62528956,62529234,62530702,62532719,62533158,62533720, 62503234,62504838,62506398,62510476,62512946,62515554,62517645,62519013,62522000,62522318,62523382,62525545,62527136,62528140,62529126,62529309,62530855,62532866,62533230,62534062, 0 CEP95 cmpl cmpl 0,1,1,1,1,2,1,1,0,2,0,1,0,0,1,0,0,0,0,0, 811 NR_026972 chr6 - 29694377 29716826 29716826 29716826 6 29694377,29696141,29705742,29706327,29714924,29716676, 29694916,29696272,29706213,29706663,29715202,29716826, 0 HLA-F-AS1 unk unk -1,-1,-1,-1,-1,-1, 11 NR_027791 chr21 + 17566698 17982094 17982094 17982094 6 17566698,17603375,17763933,17859809,17909698,17979313, 17566953,17603435,17764005,17859858,17909759,17982094, 0 LINC00478 unk unk -1,-1,-1,-1,-1,-1, 749 NR_027130 chr19 + 21541734 21571384 21571384 21571384 5 21541734,21544567,21558039,21558670,21560190, 21541945,21544660,21558166,21558766,21571384, 0 ZNF738 unk unk -1,-1,-1,-1,-1, 1753 NM_002910 chrX - 153200721 153210232 153200738 153210062 11 153200721,153200941,153205554,153206930,153207402,153208306,153208997,153209346,153209531,153209760,153210035, 153200857,153201029,153205686,153207106,153207484,153208531,153209170,153209422,153209607,153209870,153210232, 0 RENBP cmpl cmpl 1,0,0,1,0,0,1,0,2,0,0, 84 NM_003010 chr17 + 11924134 12047148 11924203 12044577 11 11924134,11958205,11984672,11998891,12011106,12013691,12016549,12028610,12032455,12043155,12044463, 11924318,11958308,11984847,11999011,12011226,12013743,12016677,12028688,12032604,12043201,12047148, 0 MAP2K4 cmpl cmpl 0,1,2,0,0,0,1,0,0,2,0, 1727 NM_003548 chr1 + 149804220 149804616 149804248 149804560 1 149804220, 149804616, 0 HIST2H4A cmpl cmpl 0, 1728 NM_003548 chr1 - 149832329 149832725 149832385 149832697 1 149832329, 149832725, 0 HIST2H4A cmpl cmpl 0, 17 NM_004392 chr13 - 72012097 72441330 72014786 72440907 7 72012097,72049272,72049837,72053300,72063128,72255926,72440053, 72014824,72049341,72049981,72053448,72063280,72256042,72441330, 0 DACH1 cmpl cmpl 1,1,1,0,1,2,0, 211 NM_013291 chr8 - 145618445 145634733 145618532 145634542 38 145618445,145618666,145618881,145619097,145619327,145619448,145619593,145619858,145620096,145620312,145620479,145620649,145621562,145621812,145622054,145622421,145622701,145622957,145623168,145623691,145623914,145624168,145624347,145624517,145624665,145624841,145624977,145625170,145625381,145625559,145625747,145626064,145626317,145626604,145626823,145627039,145634398,145634672, 145618580,145618805,145619011,145619253,145619375,145619515,145619770,145620011,145620238,145620397,145620570,145620766,145621715,145621956,145622144,145622628,145622876,145623094,145623347,145623833,145624028,145624258,145624428,145624592,145624763,145624893,145625100,145625258,145625475,145625670,145625887,145626211,145626469,145626685,145626957,145627067,145634556,145634733, 0 CPSF1 cmpl cmpl 0,2,1,1,1,0,0,0,2,1,0,0,0,0,0,0,2,0,1,0,0,0,0,0,1,0,0,2,1,1,2,2,0,0,1,0,0,-1, 895 NM_013290 chr17 - 40724327 40729849 40724985 40729704 8 40724327,40725124,40725328,40725495,40726116,40729230,40729478,40729670, 40725042,40725184,40725382,40725605,40726228,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,0,1,0, 128 NM_001164318 chr3 + 57994126 58157982 57994291 58156489 46 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58118534,58120342,58121705,58124008,58127584,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58118658,58120499,58121895,58124256,58127623,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,2,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 861 NM_001184762 chr9 + 36190852 36212059 36191053 36211771 3 36190852,36204064,36211599, 36191270,36204176,36212059, 0 CLTA cmpl cmpl 0,1,2, 861 NM_001184761 chr9 + 36190852 36212059 36191053 36211626 5 36190852,36197547,36198975,36204064,36211604, 36191270,36197585,36199093,36204176,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2, 1501 NM_001080138 chrX - 120101740 120105058 120103049 120104803 3 120101740,120103018,120104061, 120101880,120103174,120105058, 0 CT47A9 cmpl cmpl -1,1,0, 1501 NM_001080138 chrX - 120106600 120109918 120107909 120109663 3 120106600,120107878,120108921, 120106740,120108034,120109918, 0 CT47A9 cmpl cmpl -1,1,0, 1016 NM_001130420 chr12 - 56555635 56583351 56557472 56583245 30 56555635,56558086,56558431,56559101,56561843,56563312,56563559,56563927,56565054,56565462,56566211,56566368,56566720,56567479,56568434,56571805,56572187,56572593,56572780,56574760,56575265,56575487,56575787,56577644,56577958,56578627,56578813,56579938,56580970,56583134, 56557549,56558152,56558515,56559483,56561978,56563479,56563695,56563992,56565216,56565721,56566274,56566488,56566813,56567633,56568548,56571877,56572318,56572631,56572840,56574885,56575381,56575619,56575863,56577714,56578028,56578720,56578895,56580024,56581090,56583351, 0 SMARCC2 cmpl cmpl 1,1,1,0,0,1,0,1,1,0,0,0,0,2,2,2,0,1,1,2,0,0,2,1,0,0,2,0,0,0, 1146 NM_016565 chr11 - 73583712 73587890 73584159 73584423 2 73583712,73587801, 73584439,73587890, 0 COA4 cmpl cmpl 0,-1, 837 NM_080679 chr6 - 33130468 33160245 33131454 33160017 63 33130468,33132043,33132628,33133325,33133707,33133947,33134289,33134496,33134846,33135040,33135202,33135575,33136295,33136482,33136731,33137159,33137607,33137823,33138102,33138333,33138586,33138890,33139047,33139243,33139489,33139826,33140065,33140306,33140836,33141124,33141278,33141477,33141649,33141787,33141941,33142303,33143350,33143792,33144035,33144209,33144497,33144768,33144957,33145188,33145438,33145908,33146084,33146211,33146455,33146696,33146849,33147007,33147207,33147495,33148034,33148444,33148740,33148887,33154403,33156138,33156754,33157096,33159935, 33131595,33132250,33132741,33133593,33133761,33133983,33134343,33134604,33134900,33135094,33135310,33135629,33136349,33136536,33136785,33137267,33137661,33137877,33138156,33138387,33138694,33138944,33139101,33139351,33139597,33139880,33140155,33140414,33140890,33141178,33141332,33141522,33141703,33141832,33141995,33142357,33143458,33143846,33144080,33144263,33144542,33144822,33145002,33145242,33145483,33145962,33146129,33146265,33146509,33146750,33146903,33147061,33147264,33147582,33148109,33148507,33148782,33148947,33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0, 1653 NM_032295 chr7 - 140033551 140098350 140035062 140082326 12 140033551,140037083,140048425,140051072,140051861,140055467,140058439,140064207,140069389,140080081,140082237,140098215, 140035304,140037149,140048567,140051251,140051946,140055564,140058585,140064291,140069482,140080190,140082396,140098350, 0 SLC37A3 cmpl cmpl 1,1,0,1,0,2,0,0,0,2,0,-1, 14 NM_178173 chr3 + 49235860 49295537 49249213 49294715 10 49235860,49235974,49236322,49249198,49273980,49278658,49281836,49282078,49292822,49293566, 49235893,49236095,49236540,49249269,49274155,49278822,49281885,49282166,49292926,49295537, 0 CCDC36 cmpl cmpl -1,-1,-1,0,2,0,2,0,1,0, 93 NM_000384 chr2 - 21224300 21266945 21224601 21266817 29 21224300,21227140,21227432,21227951,21236031,21237319,21237944,21238241,21239310,21241863,21242594,21245702,21246396,21247804,21249659,21250699,21251198,21252510,21252769,21255225,21256170,21257687,21258455,21259971,21260829,21263809,21265232,21266384,21266735, 21226206,21227324,21227547,21235523,21236405,21237465,21238132,21238417,21239521,21241985,21242777,21245914,21246564,21247996,21249836,21250937,21251410,21252657,21252887,21255453,21256390,21257773,21258580,21260127,21260983,21263955,21265348,21266423,21266945, 0 APOB cmpl cmpl 0,2,1,1,2,0,1,2,1,2,2,0,0,0,0,2,0,0,2,2,1,2,0,0,2,0,1,1,0, 609 NM_023935 chr20 - 3171011 3185295 3171298 3185273 9 3171011,3171835,3172410,3175475,3175876,3180646,3180987,3183858,3185182, 3171465,3171884,3172467,3175514,3175999,3180748,3181100,3184062,3185295, 0 DDRGK1 cmpl cmpl 1,0,0,0,0,0,1,1,0, 892 NR_040062 chr15 + 40331511 40349201 40349201 40349201 3 40331511,40338161,40348889, 40331649,40338270,40349201, 0 SRP14-AS1 unk unk -1,-1,-1, 1333 NR_103732 chr2 - 98081675 98094824 98094824 98094824 4 98081675,98088547,98088769,98094796, 98082014,98088677,98088865,98094824, 0 AC159540.1 unk unk -1,-1,-1,-1, 1195 NR_046685 chr13 - 80051498 80055366 80055366 80055366 3 80051498,80053970,80055286, 80051754,80054065,80055366, 0 NDFIP2-AS1 unk unk -1,-1,-1, 102 NR_038927 chr12 - 31173696 31226781 31226781 31226781 3 31173696,31213593,31226128, 31174963,31213704,31226781, 0 DDX11-AS1 unk unk -1,-1,-1, 744 NM_033108 chrY - 20933699 20935604 20933820 20935504 2 20933699,20934991, 20934513,20935604, 0 HSFY1 cmpl cmpl 0,0, 704 NM_001288648 chr17 + 15602890 15624100 15619374 15620604 5 15602890,15604465,15609700,15611468,15619313, 15603091,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,0, 704 NM_001288645 chr17 + 15602890 15624100 15619374 15620604 6 15602890,15603361,15604465,15609700,15611468,15619313, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,-1,0, 1072 NR_029404 chr7 + 63894070 63895895 63895895 63895895 1 63894070, 63895895, 0 YWHAEP1 unk unk -1, 1359 NR_030392 chr14 + 101533060 101533138 101533138 101533138 1 101533060, 101533138, 0 MIR656 unk unk -1, 704 NM_001288644 chr17 + 15602890 15624100 15603032 15620604 4 15602890,15604465,15611468,15619372, 15603091,15604554,15611561,15624100, 0 ZNF286A cmpl cmpl 0,2,1,1, 704 NM_001288643 chr17 + 15602890 15624100 15603084 15620604 5 15602890,15604465,15609700,15611468,15619372, 15603091,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl 0,1,0,1,1, 704 NM_001288642 chr17 + 15602890 15624100 15603084 15620604 6 15602890,15603521,15604465,15609700,15611468,15619372, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl 0,1,1,0,1,1, 837 NM_001163771 chr6 - 33154221 33160245 33154328 33160017 5 33154221,33156138,33156754,33157096,33159935, 33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,2,1,1,0, 110 NM_022157 chr1 - 39303868 39325495 39305224 39325318 7 39303868,39311610,39317286,39318045,39321379,39322550,39325081, 39305376,39311759,39317429,39318160,39321579,39322754,39325495, 0 RRAGC cmpl cmpl 1,2,0,2,0,0,0, 85 NM_001162499 chr3 + 12838170 12876313 12838219 12875481 15 12838170,12844986,12848804,12849708,12851557,12854488,12854744,12856639,12857365,12857872,12861584,12866968,12868938,12872963,12875253, 12838287,12845130,12848959,12849832,12851823,12854594,12854887,12856932,12857507,12859375,12861680,12867138,12869103,12873071,12876313, 0 CAND2 cmpl cmpl 0,2,2,1,2,1,2,1,0,1,1,1,0,0,0, 589 NM_198075 chr11 + 537521 554916 540684 554276 14 537521,538597,539579,540673,541536,544719,549901,550071,551130,551650,551902,552089,552568,553962, 537605,538860,539726,540861,541624,544780,549998,550272,551302,551827,551967,552232,552702,554916, 0 LRRC56 cmpl cmpl -1,-1,-1,0,0,1,2,0,0,1,1,0,2,1, 234 NM_197972 chr1 - 169101767 169337201 169102022 169293633 12 169101767,169138684,169199955,169204368,169206860,169256540,169267793,169272382,169279207,169292354,169293630,169336945, 169102055,169138792,169200057,169204437,169206925,169256646,169268001,169272433,169279318,169292521,169293707,169337201, 0 NME7 cmpl cmpl 0,0,0,0,1,0,2,2,2,0,0,-1, 75 NM_020972 chr4 - 2271323 2420370 2272451 2420050 13 2271323,2273037,2273401,2274899,2275788,2306015,2321896,2337431,2339133,2341179,2343204,2355659,2420011, 2272583,2273141,2273506,2275016,2275943,2307263,2321998,2337521,2339223,2341382,2343342,2355800,2420370, 0 ZFYVE28 cmpl cmpl 0,1,1,1,2,2,2,2,2,0,0,0,0, 161 NM_001256375 chr12 - 92378751 92536447 92380457 92387179 5 92378751,92381308,92382872,92387145,92536382, 92380473,92381419,92382969,92387305,92536447, 0 C12orf79 cmpl cmpl 2,2,1,0,-1, 1731 NM_018326 chr7 + 150264457 150271041 150266989 150270148 3 150264457,150266975,150269216, 150264525,150267047,150271041, 0 GIMAP4 cmpl cmpl -1,0,1, 1768 NM_001287586 chr1 + 155108287 155111334 155108428 155110757 5 155108287,155109303,155110036,155110454,155110655, 155108448,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,2,0,0,0, 1768 NM_001287587 chr1 + 155108287 155111334 155108428 155110757 6 155108287,155108774,155109303,155110036,155110454,155110655, 155108467,155108872,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,2,0,0,0, 957 NM_001282650 chrX - 48760888 48769235 48762003 48768913 4 48760888,48763668,48767090,48768783, 48762759,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 957 NM_001282649 chrX - 48760888 48769235 48762003 48768913 3 48760888,48763668,48768822, 48762759,48763820,48769235, 0 SLC35A2 cmpl cmpl 0,1,0, 957 NM_001282651 chrX - 48760888 48769235 48762003 48768913 5 48760888,48763668,48767090,48767510,48768822, 48762759,48763820,48767273,48767594,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,1,0, 89 NM_001282229 chr22 - 17659679 17700475 17662372 17688142 9 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,0,-1, 89 NM_001282228 chr22 - 17659679 17700475 17662372 17690441 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690488,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 1372 NM_022154 chr4 - 103182820 103266348 103184200 103265819 8 103182820,103188646,103189028,103225473,103226145,103228592,103236824,103265600, 103184350,103188831,103189236,103225638,103226268,103228762,103236987,103266348, 0 SLC39A8 cmpl cmpl 0,1,0,0,0,1,0,0, 595 NM_022148 chrX - 1314893 1331530 1314893 1331527 6 1314893,1317418,1321271,1325325,1327698,1331448, 1315014,1317581,1321405,1325492,1327801,1331530, 0 CRLF2 incmpl cmpl 1,0,1,2,1,0, 825 NM_001159740 chr6 + 31539875 31542100 31540519 31541470 4 31539875,31540510,31540704,31541057, 31540079,31540618,31540810,31542100, 0 LTA cmpl cmpl -1,0,0,1, 245 NM_001531 chr1 + 181002560 181031074 181003143 181024401 7 181002560,181003022,181018187,181019146,181021370,181022708,181024360, 181002600,181003210,181018448,181019422,181021646,181022813,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1,1,1, 898 NM_001258421 chr15 + 41099273 41106767 41102122 41106424 11 41099273,41101316,41101605,41102049,41102268,41102846,41104896,41105535,41105910,41106140,41106345, 41099869,41101438,41101656,41102168,41102414,41102955,41105100,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl -1,-1,-1,0,1,0,1,1,0,0,2, 1610 NR_037938 chr6 - 134435110 134438818 134438818 134438818 2 134435110,134438681, 134437162,134438818, 0 HMGA1P7 unk unk -1,-1, 780 NM_001282869 chr1 + 25598976 25656936 25599038 25655506 8 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2, 780 NM_001282868 chr1 + 25598976 25656936 25599038 25655506 8 25598976,25611063,25617131,25627436,25628010,25629812,25643490,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25643570,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2, 780 NM_001282867 chr1 + 25598976 25656936 25627448 25655415 10 25598976,25611063,25617131,25627440,25628010,25629812,25633086,25643490,25648379,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25643570,25648453,25656936, 0 RHD cmpl cmpl -1,-1,-1,0,1,0,0,2,1,0, 110 NM_001009182 chr14 + 39583487 39606177 39583509 39605683 9 39583487,39584032,39587202,39587743,39591633,39597483,39601161,39602864,39605643, 39583679,39584117,39587292,39587803,39591747,39597552,39601272,39602923,39606177, 0 GEMIN2 cmpl cmpl 0,2,0,0,0,0,0,0,2, 201 NM_002410 chr2 + 135011829 135212192 135011974 135206418 16 135011829,135027956,135075099,135076220,135093787,135095829,135099160,135102500,135107375,135119845,135160558,135170439,135180373,135185935,135199328,135206219, 135012215,135028121,135075176,135076310,135093859,135095991,135099330,135102635,135107509,135119979,135160708,135170586,135180490,135186010,135199486,135212192, 0 MGAT5 cmpl cmpl 0,1,1,0,0,0,0,2,2,1,0,0,0,0,0,2, 137 NM_002757 chr15 + 67835020 68099455 67835673 68099088 21 67835020,67842371,67855620,67873091,67878227,67879183,67885263,67893022,67923225,67938568,67938725,67950890,67956934,67984816,67985855,67995674,68040568,68040906,68061939,68065044,68098983, 67835808,67842420,67855688,67873161,67878268,67879251,67885312,67893087,67923265,67938637,67938807,67950952,67956983,67984890,67985906,67995746,68040595,68040939,68062001,68065090,68099455, 0 MAP2K5 cmpl cmpl 0,0,1,0,1,0,2,0,2,0,0,1,0,1,0,0,0,0,0,2,0, 1134 NM_033053 chrX + 72064875 72068636 72064969 72068209 6 72064875,72065332,72065705,72066718,72066963,72068096, 72065033,72065391,72065839,72066779,72067111,72068636, 0 DMRTC1 cmpl cmpl 0,1,0,2,0,1, 1135 NM_033053 chrX - 72091858 72095622 72092285 72095528 6 72091858,72093383,72093715,72094658,72095106,72095464, 72092398,72093531,72093776,72094792,72095165,72095622, 0 DMRTC1 cmpl cmpl 1,0,2,0,1,0, 1115 NM_005117 chr11 - 69513005 69519106 69514029 69518644 3 69513005,69518028,69518412, 69514344,69518132,69519106, 0 FGF19 cmpl cmpl 0,1,0, 1772 NM_004744 chr4 + 155665162 155674270 155665478 155670288 3 155665162,155665477,155670135, 155665374,155666018,155674270, 0 LRAT cmpl cmpl -1,0,0, 586 NM_005151 chr18 + 158482 213739 158698 211284 16 158482,163307,166786,178932,180235,192841,196636,197615,198046,199201,202879,203097,204563,209970,210385,211132, 158714,163453,166819,179037,180339,192900,196767,197696,198132,199316,202945,203190,204692,210031,210493,213739, 0 USP14 cmpl cmpl 0,1,0,0,0,2,1,0,0,2,0,0,0,0,1,1, 1060 NM_001267548 chr20 - 62329994 62339205 62331794 62338443 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339161, 62331882,62332054,62333252,62333569,62337791,62338090,62338449,62339205, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,0,-1, 656 NM_198535 chr19 - 9405985 9415795 9406150 9415795 5 9405985,9407971,9408555,9413053,9415747, 9407609,9408155,9408666,9413180,9415795, 0 ZNF699 cmpl cmpl 2,1,1,0,0, 914 NM_198941 chr20 - 43124863 43150726 43128936 43150592 11 43124863,43128898,43129713,43132455,43133441,43135467,43138531,43139929,43141441,43142519,43150553, 43124996,43129075,43129941,43132636,43133532,43135637,43138669,43140009,43141635,43142681,43150726, 0 SERINC3 cmpl cmpl -1,2,2,1,0,1,1,2,0,0,0, 1075 NM_001271640 chr7 + 64254765 64294059 64254946 64291864 4 64254765,64275295,64291317,64291828, 64254949,64275422,64291454,64294059, 0 ZNF138 cmpl cmpl 0,0,1,0, 1075 NM_001271638 chr7 + 64254765 64294059 64275310 64292580 4 64254765,64274436,64275295,64291828, 64254949,64274525,64275422,64294059, 0 ZNF138 cmpl cmpl -1,-1,0,1, 1075 NM_001271637 chr7 + 64254765 64294059 64254946 64276008 4 64254765,64275295,64275949,64291828, 64254949,64275422,64276031,64294059, 0 ZNF138 cmpl cmpl 0,0,1,-1, 775 NM_013430 chr22 + 24979717 25024972 25007048 25024806 16 24979717,25003920,25005931,25006216,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24979776,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 726 NM_001199319 chr22 + 18560685 18573797 18561142 18570841 5 18560685,18561061,18562639,18566202,18570737, 18560813,18561372,18562780,18566498,18573797, 0 PEX26 cmpl cmpl -1,0,2,2,1, 853 NM_024009 chr1 + 35246789 35251965 35250363 35251176 2 35246789,35250338, 35247379,35251965, 0 GJB3 cmpl cmpl -1,0, 140 NM_017488 chr2 - 70889215 70995375 70900033 70933540 17 70889215,70900009,70900372,70901809,70903927,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70995017, 70890867,70900138,70900458,70901957,70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70995375, 0 ADD2 cmpl cmpl -1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,-1,-1, 726 NM_017929 chr22 + 18560685 18573797 18561142 18570841 6 18560685,18561061,18562639,18566202,18567877,18570737, 18560813,18561372,18562780,18566498,18568024,18573797, 0 PEX26 cmpl cmpl -1,0,2,2,1,1, 892 NM_001252039 chr17 - 40276993 40307062 40277800 40283635 7 40276993,40278772,40280278,40280666,40282354,40283624,40306910, 40277916,40278866,40280401,40280818,40282608,40283840,40307062, 0 RAB5C cmpl cmpl 1,0,0,1,2,0,-1, 598 NM_006342 chr4 + 1723216 1746905 1725148 1746740 16 1723216,1725147,1725454,1729434,1732613,1732898,1736999,1737457,1738967,1739324,1741428,1741685,1742552,1746244,1746438,1746674, 1723370,1725310,1725597,1730514,1732689,1733028,1737052,1737561,1739055,1739429,1741505,1741729,1742713,1746351,1746559,1746905, 0 TACC3 cmpl cmpl -1,0,0,2,2,0,1,0,2,0,0,2,1,0,2,0, 1308 NM_014639 chr5 - 94799598 94890709 94800310 94882854 43 94799598,94803569,94805483,94813993,94818176,94820427,94826611,94830385,94830667,94833119,94834073,94838583,94839517,94842637,94845297,94848180,94849274,94850558,94852056,94852228,94852375,94852619,94852849,94856419,94857757,94858905,94859358,94860168,94861101,94861290,94863716,94864704,94865792,94872520,94872746,94876393,94877008,94877518,94878887,94882764,94884263,94886284,94890639, 94800385,94803693,94805614,94814146,94818335,94820549,94826740,94830497,94830721,94833192,94834295,94838707,94839642,94842715,94845391,94848322,94849349,94850627,94852113,94852290,94852454,94852764,94853026,94856522,94858011,94859030,94859538,94860295,94861205,94861377,94863856,94864806,94865933,94872629,94872845,94876534,94877084,94877610,94879031,94882855,94884419,94886354,94890709, 0 TTC37 cmpl cmpl 0,2,0,0,0,1,1,0,0,2,2,1,2,2,1,0,0,0,0,1,0,2,2,1,2,0,0,2,0,0,1,1,1,0,0,0,2,0,0,0,-1,-1,-1, 142 NM_013381 chr12 + 72666528 73059422 72666558 73056975 19 72666528,72680460,72771774,72863537,72866846,72893277,72936070,72955944,72956632,72962347,72969034,72969266,73012670,73014887,73015423,73046101,73046795,73050706,73056831, 72667337,72680734,72771901,72863692,72866960,72893415,72936136,72956010,72956820,72962436,72969168,72969322,73012818,73014985,73015531,73046269,73046936,73050788,73059422, 0 TRHDE cmpl cmpl 0,2,0,1,0,0,0,0,0,2,1,0,2,0,2,2,2,2,0, 999 NM_007036 chr5 - 54273694 54281414 54275159 54281345 3 54273694,54277824,54281044, 54275263,54277974,54281414, 0 ESM1 cmpl cmpl 1,1,0, 1700 NM_021105 chr3 - 146232966 146262628 146233831 146254339 9 146232966,146234792,146239330,146239619,146243391,146246400,146251256,146254326,146262253, 146233888,146234954,146239492,146239840,146243434,146246618,146251337,146254352,146262628, 0 PLSCR1 cmpl cmpl 0,0,0,1,0,1,1,0,-1, 596 NM_004192 chrY - 1472031 1521870 1472161 1521733 13 1472031,1481624,1486865,1487874,1490550,1494417,1496626,1501161,1503914,1504586,1507989,1511078,1521640, 1472382,1481747,1487009,1488007,1490735,1494580,1497014,1501270,1503976,1504651,1508037,1511210,1521870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,0, 957 NM_001282647 chrX - 48760456 48769235 48760640 48768913 5 48760456,48762022,48763668,48767090,48768822, 48760742,48762169,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,0,1,1,0, 144 NM_006456 chr17 - 74561460 74582145 74562185 74581890 9 74561460,74563534,74564794,74566646,74568718,74569276,74570446,74574837,74581765, 74562353,74563634,74564878,74566750,74568857,74569445,74570621,74574898,74582145, 0 ST6GALNAC2 cmpl cmpl 0,2,2,0,2,1,0,2,0, 889 NM_006455 chr17 - 39958204 39968451 39959208 39968167 8 39958204,39959538,39963047,39964110,39965957,39967114,39967383,39967705, 39959231,39959683,39963131,39964256,39966086,39967286,39967536,39968451, 0 LEPREL4 cmpl cmpl 1,0,0,1,1,0,0,0, 12 NM_006447 chr21 + 30396937 30426807 30400234 30426508 18 30396937,30400193,30402915,30407157,30408591,30409596,30410655,30411346,30411801,30412929,30414333,30414792,30415743,30418987,30421081,30422412,30426122,30426386, 30397098,30400295,30403094,30407261,30408695,30409784,30410751,30411477,30411889,30413008,30414425,30414849,30415920,30419642,30421176,30422499,30426279,30426807, 0 USP16 cmpl cmpl -1,0,1,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1, 649 NM_015948 chr6 - 8413299 8435800 8413781 8434620 11 8413299,8415140,8417116,8417634,8419812,8420953,8422702,8428169,8430096,8434617,8435309, 8413932,8415210,8417228,8417727,8419910,8421061,8422857,8428291,8430390,8434663,8435800, 0 SLC35B3 cmpl cmpl 2,1,0,0,1,1,2,0,0,0,-1, 647 NM_001177801 chr17 + 8191968 8193409 8192106 8192910 4 8191968,8192273,8192575,8192820, 8192183,8192390,8192732,8193409, 0 RANGRF cmpl cmpl 0,2,2,0, 780 NM_001177998 chr4 + 25657434 25680368 25664122 25678371 13 25657434,25664119,25664329,25665823,25667749,25669501,25671268,25672359,25673222,25674708,25675917,25676126,25677756, 25657512,25664234,25664464,25665952,25667893,25669613,25671464,25672455,25673343,25674876,25676034,25676251,25680368, 0 SLC34A2 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 1180 NM_005752 chr16 + 78056442 78066001 78056496 78064738 3 78056442,78062003,78064343, 78056638,78062087,78066001, 0 CLEC3A cmpl cmpl 0,1,1, 822 NM_007109 chr6 + 31126302 31131992 31127246 31130494 4 31126302,31126673,31129223,31130253, 31126499,31127484,31129782,31131992, 0 TCF19 cmpl cmpl -1,0,1,2, 811 NM_206814 chr6 + 29624757 29640149 29624986 29638962 7 29624757,29633928,29635419,29635680,29638057,29638477,29638948, 29625074,29634042,29635440,29635701,29638174,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 645 NM_145185 chr19 + 7968764 7979363 7968829 7977316 11 7968764,7974639,7974947,7975144,7975337,7975580,7975864,7976134,7976320,7977033,7977181, 7968953,7974781,7975014,7975258,7975457,7975688,7976044,7976215,7976463,7977079,7979363, 0 MAP2K7 cmpl cmpl 0,1,2,0,0,0,0,0,0,2,0, 643 NM_198185 chr11 - 7710668 7727941 7711185 7727941 17 7710668,7711154,7712499,7713132,7716288,7716800,7717219,7718011,7718255,7720296,7721842,7722870,7723262,7723703,7725244,7726111,7727853, 7710833,7711244,7712631,7713226,7716419,7716903,7717257,7718136,7718346,7720320,7722032,7723022,7723358,7723876,7725336,7726221,7727941, 0 OVCH2 cmpl cmpl -1,1,1,0,1,0,1,2,1,1,0,1,1,2,0,1,0, 90 NM_144775 chr17 + 18218593 18231370 18219103 18226384 2 18218593,18225930, 18221463,18231370, 0 SMCR8 cmpl cmpl 0,2, 837 NM_080680 chr6 - 33130468 33160245 33131454 33160017 66 33130468,33132043,33132628,33133325,33133707,33133947,33134289,33134496,33134846,33135040,33135202,33135575,33136295,33136482,33136731,33137159,33137607,33137823,33138102,33138333,33138586,33138890,33139047,33139243,33139489,33139826,33140065,33140306,33140836,33141124,33141278,33141477,33141649,33141787,33141941,33142303,33143350,33143792,33144035,33144209,33144497,33144768,33144957,33145188,33145438,33145908,33146084,33146211,33146455,33146696,33146849,33147007,33147207,33147495,33148034,33148444,33148740,33148887,33151921,33152768,33153477,33154403,33156138,33156754,33157096,33159935, 33131595,33132250,33132741,33133593,33133761,33133983,33134343,33134604,33134900,33135094,33135310,33135629,33136349,33136536,33136785,33137267,33137661,33137877,33138156,33138387,33138694,33138944,33139101,33139351,33139597,33139880,33140155,33140414,33140890,33141178,33141332,33141522,33141703,33141832,33141995,33142357,33143458,33143846,33144080,33144263,33144542,33144822,33145002,33145242,33145483,33145962,33146129,33146265,33146509,33146750,33146903,33147061,33147264,33147582,33148109,33148507,33148782,33148947,33152101,33152831,33153555,33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0, 180 NM_007203 chr9 + 112542576 112934791 112542768 112930777 11 112542576,112629770,112642830,112686014,112687340,112694206,112778233,112898406,112918598,112924373,112930678, 112542813,112629851,112642961,112686129,112687362,112694308,112778319,112900819,112918777,112924412,112934791, 0 PALM2-AKAP2 cmpl cmpl 0,0,0,2,0,1,1,0,1,0,0, 797 NM_001282730 chr2 - 27873675 27886707 27876351 27884263 6 27873675,27878231,27880211,27883850,27885045,27886195, 27876614,27878469,27880536,27884468,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,0,-1,-1, 726 NM_001261386 chr11 - 18552949 18610293 18554023 18610201 7 18552949,18566169,18579774,18586438,18596893,18600270,18610159, 18554034,18566343,18579877,18586557,18596959,18600355,18610293, 0 UEVLD cmpl cmpl 1,1,0,1,1,0,0, 820 NM_001202521 chr6 + 30856464 30867933 30856506 30864804 15 30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30864790,30865155,30865849,30866664,30866932, 30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,1,2,0,1,2,0,1,1,0,1,-1,-1,-1,-1, 93 NM_000478 chr1 + 21835857 21904905 21880574 21904141 12 21835857,21880470,21887118,21887589,21889602,21890533,21894596,21896797,21900157,21902225,21903014,21903875, 21836010,21880635,21887238,21887705,21889777,21890709,21894740,21896867,21900292,21902417,21903134,21904905, 0 ALPL cmpl cmpl -1,0,1,1,0,1,0,0,1,1,1,1, 102 NM_001204204 chr22 + 30792929 30821291 30793105 30818396 10 30792929,30795631,30802330,30805175,30805414,30806584,30811747,30811936,30812222,30818265, 30793159,30795707,30802374,30805271,30805475,30806668,30811854,30812076,30812392,30821291, 0 SEC14L2 cmpl cmpl 0,0,1,0,0,1,1,0,2,1, 842 NM_012319 chr18 - 33688493 33709357 33689555 33706970 10 33688493,33691021,33692463,33694059,33696636,33702014,33703457,33704482,33706181,33709076, 33689708,33691212,33692544,33694437,33696742,33702233,33703627,33704663,33706979,33709357, 0 SLC39A6 cmpl cmpl 0,1,1,1,0,0,1,0,0,-1, 980 NM_152353 chr19 - 51870351 51872257 51870395 51871831 4 51870351,51870710,51871139,51871662, 51870469,51870830,51871280,51872257, 0 CLDND2 cmpl cmpl 1,1,1,0, 861 NM_001161429 chr5 - 36249103 36302011 36249755 36301518 15 36249103,36251414,36253748,36255571,36257042,36257555,36260881,36262040,36265060,36265550,36268294,36269491,36270052,36271354,36301427, 36249799,36251601,36253891,36255692,36257173,36257658,36260966,36262144,36265200,36265622,36268369,36269569,36270092,36271413,36302011, 0 RANBP3L cmpl cmpl 1,0,1,0,1,0,2,0,1,1,1,1,0,1,0, 657 NR_003592 chrY - 9544432 9552871 9552871 9552871 6 9544432,9546153,9548184,9549349,9551731,9552834, 9544678,9546267,9548661,9549424,9551893,9552871, 0 TTTY7B unk unk -1,-1,-1,-1,-1,-1, 658 NR_003590 chrY + 9573894 9596085 9596085 9596085 8 9573894,9579932,9582486,9589957,9590798,9593785,9593984,9595405, 9574099,9580010,9582573,9590106,9590955,9593864,9594182,9596085, 0 TTTY2B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 934 NM_018389 chr11 + 45826640 45834567 45827352 45832886 2 45826640,45832326, 45827887,45834567, 0 SLC35C1 cmpl cmpl 0,1, 811 NM_206811 chr6 + 29624757 29640149 29624986 29639227 8 29624757,29627095,29633928,29635419,29635680,29637950,29638477,29639198, 29625074,29627443,29634042,29635440,29635701,29637998,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 845 NM_152781 chr17 - 34181959 34195895 34182066 34195746 15 34181959,34182667,34183176,34183735,34185203,34185436,34185891,34189998,34190505,34191249,34191500,34191761,34192218,34193727,34195658, 34182414,34182754,34183228,34183809,34185323,34185529,34186074,34190129,34190563,34191306,34191557,34191894,34192400,34193777,34195895, 0 C17orf66 cmpl cmpl 0,0,2,0,0,0,0,1,0,0,0,2,0,1,0, 2014 NM_018471 chr2 + 187350884 187374087 187351109 187373460 10 187350884,187359959,187364908,187365999,187367222,187368758,187370177,187370466,187371439,187373269, 187351184,187360061,187365020,187366152,187367314,187368941,187370324,187370568,187371563,187374087, 0 ZC3H15 cmpl cmpl 0,0,0,1,1,0,0,0,0,1, 1438 NM_005475 chr12 + 111843751 111889427 111855949 111886106 8 111843751,111855922,111884556,111884745,111884928,111885133,111885459,111885786, 111844081,111856681,111884658,111884837,111885023,111885348,111885631,111889427, 0 SH2B3 cmpl cmpl -1,0,0,0,2,1,0,1, 634 NM_014804 chr17 - 6481644 6544247 6483066 6538423 19 6481644,6493098,6493829,6498291,6499477,6502556,6503699,6510192,6510500,6511667,6513313,6515238,6524107,6526201,6526828,6528074,6531436,6538330,6543956, 6483184,6493323,6493950,6498373,6499663,6502640,6503778,6510282,6510590,6511784,6513480,6515468,6524318,6526417,6526891,6528181,6532061,6538491,6544247, 0 KIAA0753 cmpl cmpl 2,2,1,0,0,0,2,2,2,2,0,1,0,0,0,1,0,0,-1, 1153 NM_001281441 chr7 - 74470621 74489717 74470811 74489573 9 74470621,74471635,74474399,74477019,74479106,74480394,74482476,74486453,74489249, 74470831,74471723,74474581,74477104,74479158,74480461,74482605,74486583,74489717, 0 WBSCR16 cmpl cmpl 1,0,1,0,2,1,1,0,0, 11 NM_001082968 chr17 - 17746821 17875784 17750948 17875627 15 17746821,17752136,17754206,17764789,17766044,17769609,17770189,17772653,17782940,17786018,17787947,17796974,17801909,17810760,17875575, 17751097,17752173,17754266,17764865,17766162,17769733,17770238,17772787,17783057,17786177,17788082,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,2,1,0,2,0,0,0,0,0,2,1,0, 182 NM_000820 chr13 - 114523521 114567046 114523836 114566893 15 114523521,114524930,114526347,114529968,114531519,114535271,114535606,114537523,114538485,114541041,114542700,114549499,114550998,114566547,114566805, 114523991,114525159,114526523,114530137,114531684,114535461,114535725,114537645,114538608,114541164,114542823,114549562,114551023,114566714,114567046, 0 GAS6 cmpl cmpl 1,0,1,0,0,2,0,1,1,1,1,1,0,1,0, 657 NR_001534 chrY - 9544432 9552871 9552871 9552871 7 9544432,9544924,9546153,9548184,9549349,9551731,9552834, 9544678,9545180,9546267,9548661,9549424,9551893,9552871, 0 TTTY7 unk unk -1,-1,-1,-1,-1,-1,-1, 117 NM_030674 chr12 - 46576840 46663208 46582752 46633583 17 46576840,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46662308, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1924 NM_000079 chr2 - 175612322 175629200 175612851 175629122 9 175612322,175613307,175614673,175618230,175618946,175622293,175624058,175624215,175629079, 175612983,175613547,175614897,175618468,175619142,175622403,175624103,175624361,175629200, 0 CHRNA1 cmpl cmpl 0,0,1,0,2,0,0,1,0, 647 NM_024557 chr11 - 8127596 8190590 8132244 8190536 6 8127596,8148205,8158924,8159818,8161513,8190412, 8132684,8148351,8159018,8159894,8161740,8190590, 0 RIC3 cmpl cmpl 1,2,1,0,1,0, 943 NM_018215 chr19 - 46969747 46974820 46971817 46974292 3 46969747,46972989,46974593, 46971834,46974371,46974820, 0 PNMAL1 cmpl cmpl 1,0,-1, 164 NM_001289068 chr10 + 96305523 96361856 96306150 96361379 22 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305664,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,0,0,0,0,1,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 160 NM_016848 chr9 - 91620685 91793682 91628361 91793375 12 91620685,91652907,91656940,91660660,91661758,91666951,91680443,91686113,91690023,91692754,91727470,91792901, 91628490,91653203,91657099,91660748,91661909,91667078,91680495,91686167,91690143,91692818,91727541,91793682, 0 SHC3 cmpl cmpl 0,1,1,0,2,1,0,0,0,2,0,0, 14 NM_016841 chr17 + 43971747 44105699 44039703 44101537 9 43971747,44039686,44055740,44064405,44068825,44073764,44091608,44095983,44101321, 43972052,44039836,44055806,44064461,44068952,44074030,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,0,1,0,1,0, 1291 NM_006413 chr10 + 92631708 92661947 92631743 92660436 11 92631708,92634625,92635314,92635780,92638819,92645568,92654531,92655210,92655636,92656069,92660326, 92631825,92634681,92635371,92635855,92638891,92645658,92654648,92655240,92655674,92656149,92661947, 0 RPP30 cmpl cmpl 0,1,0,0,0,0,0,0,0,2,1, 14 NM_001145110 chr12 - 44902057 45307711 44902716 45307619 21 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597,45307581, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269683,45307711, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,2,0, 861 NM_007096 chr9 + 36190852 36212059 36191053 36211771 7 36190852,36197547,36198975,36204064,36209263,36210621,36211599, 36191270,36197585,36199093,36204176,36209317,36210657,36212059, 0 CLTA cmpl cmpl 0,1,0,1,2,2,2, 87 NM_178234 chr8 + 15397595 15624158 15397939 15621727 10 15397595,15480588,15508205,15517015,15519664,15531255,15588174,15601046,15605883,15621711, 15398077,15480758,15508323,15517156,15519805,15531345,15588238,15601121,15605974,15624158, 0 TUSC3 cmpl cmpl 0,0,2,0,0,0,0,1,1,2, 921 NM_005926 chr15 - 44096732 44116951 44097291 44116767 9 44096732,44097573,44101952,44105184,44105446,44106698,44107142,44109426,44116688, 44097474,44097663,44102112,44105345,44105555,44106886,44107272,44109646,44116951, 0 MFAP1 cmpl cmpl 0,0,2,0,2,0,2,1,0, 241 NM_170710 chr4 + 176986984 177103979 177017670 177100730 31 176986984,177017613,177032725,177036946,177041017,177046254,177049888,177052704,177056258,177058670,177061042,177063133,177067145,177069283,177070957,177071193,177071618,177072962,177077229,177081144,177082061,177083225,177084304,177087274,177089798,177093525,177094417,177095767,177098208,177098621,177100610, 176987230,177017736,177032854,177037130,177041248,177046506,177050011,177052889,177056427,177058762,177061125,177063220,177067310,177069486,177071107,177071324,177071744,177073118,177077294,177081277,177082153,177083325,177084444,177087295,177089934,177093667,177094520,177095869,177098307,177098805,177103979, 0 WDR17 cmpl cmpl -1,0,0,0,1,1,1,1,0,1,0,2,2,2,1,1,0,0,0,2,0,2,0,2,2,0,1,2,2,2,0, 635 NM_006284 chr11 - 6632047 6633475 6632152 6633420 5 6632047,6632419,6632618,6632894,6633188, 6632242,6632534,6632683,6633049,6633475, 0 TAF10 cmpl cmpl 0,2,0,1,0, 1314 NR_036131 chr14 - 95604255 95604323 95604323 95604323 1 95604255, 95604323, 0 MIR3173 unk unk -1, 973 NM_152299 chr22 + 50946644 50963209 50946766 50961804 20 50946644,50954875,50955855,50956005,50956169,50956401,50956561,50957077,50957618,50959393,50959971,50960169,50960414,50960609,50960771,50960929,50961099,50961249,50961445,50961663, 50946874,50954977,50955911,50956090,50956238,50956481,50956707,50957161,50957749,50959465,50960038,50960277,50960468,50960680,50960844,50960998,50961149,50961351,50961595,50963209, 0 NCAPH2 cmpl cmpl 0,0,0,2,0,0,2,1,1,0,0,1,1,1,0,1,1,0,0,0, 1911 NR_002746 chr1 - 173833506 173833583 173833583 173833583 1 173833506, 173833583, 0 SNORD47 unk unk -1, 779 NR_003311 chr15 + 25446469 25446551 25446551 25446551 1 25446469, 25446551, 0 SNORD115-19 unk unk -1, 779 NR_003311 chr15 + 25448373 25448455 25448455 25448455 1 25448373, 25448455, 0 SNORD115-19 unk unk -1, 779 NR_003311 chr15 + 25449503 25449585 25449585 25449585 1 25449503, 25449585, 0 SNORD115-19 unk unk -1, 779 NR_003310 chr15 + 25446469 25446551 25446551 25446551 1 25446469, 25446551, 0 SNORD115-18 unk unk -1, 779 NR_003310 chr15 + 25448373 25448455 25448455 25448455 1 25448373, 25448455, 0 SNORD115-18 unk unk -1, 779 NR_003310 chr15 + 25449503 25449585 25449585 25449585 1 25449503, 25449585, 0 SNORD115-18 unk unk -1, 779 NR_003309 chr15 + 25446469 25446551 25446551 25446551 1 25446469, 25446551, 0 SNORD115-17 unk unk -1, 779 NR_003309 chr15 + 25448373 25448455 25448455 25448455 1 25448373, 25448455, 0 SNORD115-17 unk unk -1, 779 NR_003309 chr15 + 25449503 25449585 25449585 25449585 1 25449503, 25449585, 0 SNORD115-17 unk unk -1, 779 NR_003308 chr15 + 25444594 25444676 25444676 25444676 1 25444594, 25444676, 0 SNORD115-16 unk unk -1, 779 NR_003307 chr15 + 25451408 25477615 25477615 25477615 2 25451408,25477557, 25451431,25477615, 0 SNORD115-15 unk unk -1,-1, 779 NR_003306 chr15 + 25440067 25440148 25440148 25440148 1 25440067, 25440148, 0 SNORD115-14 unk unk -1, 779 NR_003305 chr15 + 25438467 25438549 25438549 25438549 1 25438467, 25438549, 0 SNORD115-13 unk unk -1, 778 NR_003304 chr15 + 25423887 25423966 25423966 25423966 1 25423887, 25423966, 0 SNORD115-12 unk unk -1, 779 NR_003304 chr15 + 25430777 25430859 25430859 25430859 1 25430777, 25430859, 0 SNORD115-12 unk unk -1, 779 NR_003304 chr15 + 25436562 25436644 25436644 25436644 1 25436562, 25436644, 0 SNORD115-12 unk unk -1, 779 NR_003303 chr15 + 25434560 25434642 25434642 25434642 1 25434560, 25434642, 0 SNORD115-11 unk unk -1, 779 NR_003303 chr15 + 25468392 25468474 25468474 25468474 1 25468392, 25468474, 0 SNORD115-11 unk unk -1, 779 NR_003303 chr15 + 25481231 25481313 25481313 25481313 1 25481231, 25481313, 0 SNORD115-11 unk unk -1, 779 NR_003303 chr15 + 25494344 25494426 25494426 25494426 1 25494344, 25494426, 0 SNORD115-11 unk unk -1, 778 NR_003302 chr15 + 25423887 25423966 25423966 25423966 1 25423887, 25423966, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25430777 25430859 25430859 25430859 1 25430777, 25430859, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25432682 25432763 25432763 25432763 1 25432682, 25432763, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25436562 25436644 25436644 25436644 1 25436562, 25436644, 0 SNORD115-10 unk unk -1, 779 NR_003302 chr15 + 25492491 25492573 25492573 25492573 1 25492491, 25492573, 0 SNORD115-10 unk unk -1, 676 NR_003275 chr8 - 11985366 11986806 11986806 11986806 1 11985366, 11986806, 0 LOC392196 unk unk -1, 979 NM_001243725 chr3 + 51705289 51738339 51708320 51738032 5 51705289,51708286,51718428,51733421,51737739, 51705563,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,0,1, 962 NM_000146 chr19 + 49468565 49470136 49468764 49469992 4 49468565,49469026,49469537,49469839, 49468866,49469173,49469663,49470136, 0 FTL cmpl cmpl 0,0,0,0, 944 NM_001271703 chr10 - 47157983 47174143 47158836 47173918 10 47157983,47161250,47162121,47163958,47164293,47164933,47165481,47166220,47167069,47173897, 47158896,47161373,47162180,47164054,47164387,47164993,47165561,47166311,47167183,47174143, 0 ANXA8 cmpl cmpl 0,0,1,1,0,0,1,0,0,0, 882 NM_145274 chr17 + 38975373 38992526 38990768 38991545 3 38975373,38989366,38990633, 38975460,38989451,38992526, 0 TMEM99 cmpl cmpl -1,-1,0, 826 NM_080703 chr6 - 31606804 31620477 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620176, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 1608 NM_032728 chr9 + 134165080 134184649 134165384 134183674 2 134165080,134183309, 134165835,134184649, 0 PPAPDC3 cmpl cmpl 0,1, 1743 NM_001282505 chrX + 151883074 151887096 151885595 151886540 2 151883074,151885530, 151883171,151887096, 0 MAGEA2 cmpl cmpl -1,0, 1744 NM_001282505 chrX - 151918386 151922408 151918942 151919887 2 151918386,151922311, 151919952,151922408, 0 MAGEA2 cmpl cmpl 0,-1, 1743 NM_001282504 chrX + 151883074 151887096 151885595 151886540 3 151883074,151885384,151885530, 151883171,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,0, 1744 NM_001282504 chrX - 151918386 151922408 151918942 151919887 3 151918386,151920032,151922311, 151919952,151920098,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1, 1660 NM_138702 chrX + 140926101 140985618 140926101 140985618 8 140926101,140953256,140966960,140969188,140983054,140983270,140984667,140985414, 140926224,140953391,140967217,140969582,140983193,140983345,140985272,140985618, 0 MAGEC3 cmpl cmpl 0,0,0,2,0,1,1,0, 119 NM_003786 chr17 + 48712217 48769063 48712297 48768561 31 48712217,48733192,48734062,48734406,48735442,48735795,48736597,48738283,48741041,48741310,48742513,48744914,48745223,48745790,48746213,48746500,48746712,48750331,48750829,48752722,48752991,48753243,48753638,48755104,48755453,48757158,48760970,48761309,48762069,48764896,48768452, 48712342,48733369,48734188,48734544,48735568,48735857,48736729,48738475,48741219,48741472,48742606,48745118,48745370,48745878,48746280,48746627,48746889,48750499,48751019,48752837,48753136,48753451,48753949,48755304,48755580,48757260,48761117,48761468,48762236,48765091,48769063, 0 ABCC3 cmpl cmpl 0,0,0,0,0,0,2,2,2,0,0,0,0,0,1,2,0,0,0,1,2,0,1,0,2,0,0,0,0,2,2, 1540 NM_012363 chr9 - 125288636 125289572 125288636 125289572 1 125288636, 125289572, 0 OR1N1 cmpl cmpl 0, 187 NM_012338 chr7 - 120427373 120498177 120428645 120496817 8 120427373,120446602,120450516,120455782,120478830,120480080,120496751,120497873, 120428951,120446746,120450624,120455857,120478966,120480163,120496887,120498177, 0 TSPAN12 cmpl cmpl 0,0,0,0,2,0,0,-1, 949 NM_017453 chr20 - 47729875 47804904 47731414 47782738 14 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47782533,47790731,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741124,47752468,47768284,47770608,47782822,47790806,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,1,0,-1,-1, 1158 NM_004255 chr15 - 75212616 75230495 75215997 75230355 5 75212616,75215988,75219106,75221456,75230255, 75212783,75216111,75219228,75221573,75230495, 0 COX5A cmpl cmpl -1,0,1,1,0, 949 NM_005827 chr17 - 47778295 47785313 47778819 47785306 9 47778295,47780219,47780549,47781461,47782485,47783227,47783565,47784326,47785091, 47778872,47780373,47780656,47781588,47782643,47783258,47783696,47784430,47785313, 0 SLC35B1 cmpl cmpl 1,0,1,0,1,0,1,2,0, 698 NM_017506 chr19 - 14937138 14939276 14938093 14939053 1 14937138, 14939276, 0 OR7A5 cmpl cmpl 0, 952 NM_006105 chr12 - 48128452 48152244 48131349 48151741 28 48128452,48131804,48131975,48132472,48132925,48133923,48134087,48134424,48134697,48135287,48137312,48137769,48140642,48141326,48141494,48141856,48142236,48142601,48143172,48143523,48143712,48144123,48144830,48145181,48145505,48145698,48151648,48152154, 48131468,48131876,48132030,48132537,48133013,48133974,48134178,48134606,48134823,48135385,48137459,48137851,48140682,48141409,48141645,48141935,48142325,48142714,48143319,48143600,48143773,48144208,48144999,48145303,48145612,48145752,48151861,48152244, 0 RAPGEF3 cmpl cmpl 1,1,0,1,0,0,2,0,0,1,1,0,2,0,2,1,2,0,0,1,0,2,1,2,0,0,0,-1, 985 NR_103446 chr6 + 52441999 52448791 52448791 52448791 3 52441999,52444172,52447660, 52443191,52444407,52448791, 0 TRAM2-AS1 unk unk -1,-1,-1, 79 NM_001257323 chr11 - 6416353 6426163 6416763 6426035 13 6416353,6417015,6417329,6422218,6422574,6422803,6423311,6423805,6424374,6424548,6424717,6424876,6425974, 6416931,6417192,6417445,6422302,6422659,6422918,6423439,6423955,6424438,6424634,6424774,6425052,6426163, 0 APBB1 cmpl cmpl 0,0,1,1,0,2,0,0,2,0,0,1,0, 1814 NM_016406 chr1 + 161123533 161128646 161123787 161128282 6 161123533,161126739,161127043,161127406,161127910,161128201, 161123910,161126807,161127107,161127483,161128001,161128646, 0 UFC1 cmpl cmpl 0,0,2,0,2,0, 1926 NM_016391 chr5 - 175810939 175815763 175811231 175815540 5 175810939,175812221,175813840,175815235,175815433, 175811375,175812328,175813910,175815344,175815763, 0 NOP16 cmpl cmpl 0,1,0,2,0, 113 NM_024053 chr22 - 42334740 42343148 42335059 42343080 6 42334740,42339613,42341228,42341916,42342420,42343023, 42335200,42339705,42341308,42342009,42342500,42343148, 0 CENPM cmpl cmpl 0,1,2,2,0,0, 1673 NM_198504 chr3 - 142680073 142682178 142681044 142682178 1 142680073, 142682178, 0 PAQR9 cmpl cmpl 0, 113 NM_001144881 chr12 - 42852139 42877416 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42877177, 42854467,42859060,42860182,42862631,42863389,42864161,42866366,42877416, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 820 NM_013994 chr6 + 30856464 30867933 30856506 30867073 17 30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30863180,30864397,30864790,30865137,30865849,30866664,30866932, 30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30863291,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,1,2,0,1,2,0,1,1,0,1,1,0,2,2,0,0, 596 NM_016111 chr16 + 1543351 1560460 1544282 1559937 21 1543351,1544246,1545346,1547036,1547361,1549231,1550096,1550347,1550563,1551420,1551663,1552047,1552313,1552645,1552931,1555410,1556238,1556952,1557306,1557601,1559830, 1543606,1544617,1545624,1547105,1547509,1549334,1550165,1550489,1550700,1551500,1551774,1552136,1552405,1552762,1553003,1555602,1556330,1557052,1557371,1557717,1560460, 0 TELO2 cmpl cmpl -1,0,2,1,1,2,0,0,1,0,2,2,1,0,0,0,0,2,0,2,1, 2454 NM_031844 chr1 - 245013601 245027827 245017751 245027609 14 245013601,245018274,245018725,245019205,245019758,245020029,245020899,245021312,245022030,245022576,245023636,245025762,245025920,245026918, 245017805,245018346,245018910,245019460,245019927,245020158,245021019,245021576,245022143,245022676,245023776,245025836,245026032,245027827, 0 HNRNPU cmpl cmpl 0,0,1,1,0,0,0,0,1,0,1,2,1,0, 1311 NM_180989 chr13 + 95254103 95286899 95254181 95279425 9 95254103,95257644,95264443,95271403,95271721,95273331,95275362,95278219,95279266, 95254326,95257803,95264644,95271584,95271771,95273489,95275554,95278297,95286899, 0 GPR180 cmpl cmpl 0,1,1,1,2,1,0,0,0, 1264 NM_001160103 chr14 + 89029252 89079853 89029477 89078095 17 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89068267,89069171,89073586,89075610,89076058,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89068427,89069404,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,1,2,1,2,1,0,2, 1878 NM_001172780 chr3 - 169513428 169530574 169513979 169530336 9 169513428,169514532,169518446,169521840,169524635,169525213,169525375,169526415,169530197, 169514157,169514687,169518542,169521969,169524719,169525278,169525497,169526533,169530574, 0 LRRC34 cmpl cmpl 2,0,0,0,0,1,2,1,0, 1878 NM_001172779 chr3 - 169511215 169530574 169511422 169530336 11 169511215,169513272,169514001,169514532,169518446,169521840,169524635,169525213,169525375,169526415,169530197, 169511626,169513399,169514157,169514687,169518542,169521969,169524719,169525278,169525497,169526533,169530574, 0 LRRC34 cmpl cmpl 0,2,2,0,0,0,0,1,2,1,0, 949 NM_001278784 chr17 - 47778295 47785313 47778819 47784358 9 47778295,47780219,47780549,47781461,47782485,47783227,47783565,47784326,47785091, 47778872,47780373,47780656,47781588,47782643,47783258,47783671,47784430,47785313, 0 SLC35B1 cmpl cmpl 1,0,1,0,1,0,2,0,-1, 784 NM_004680 chrY - 26191376 26194161 26191750 26193835 2 26191376,26192243, 26191823,26194161, 0 CDY1 cmpl cmpl 2,0, 796 NM_004680 chrY + 27768263 27771048 27768589 27770674 2 27768263,27770601, 27770181,27771048, 0 CDY1 cmpl cmpl 0,2, 588 NM_007277 chr5 + 443333 467409 446320 467013 13 443333,446264,447647,453484,457003,458014,459473,462074,462271,464404,465225,465832,466841, 443405,446464,447867,454166,457121,458140,459574,462185,462422,464527,465387,465960,467409, 0 EXOC3 cmpl cmpl -1,0,0,1,2,0,0,2,2,0,0,0,2, 164 NM_001289072 chr10 + 96305523 96361856 96305678 96361379 20 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336466,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,1,2,1, 14 NM_005910 chr17 + 43971747 44105699 44039703 44101537 12 43971747,44039686,44049224,44051750,44055740,44064405,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44064461,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,0,1,0,0,1,0, 1 NM_016309 chr16 + 25123046 25189551 25123204 25189344 11 25123046,25139795,25143722,25151491,25162874,25172422,25175918,25180432,25182034,25186257,25189321, 25123317,25139887,25143844,25151568,25162936,25172525,25176039,25180534,25182126,25186355,25189551, 0 LCMT1 cmpl cmpl 0,2,1,0,2,1,2,0,0,2,1, 954 NM_017883 chrX + 48455879 48463582 48456384 48463420 9 48455879,48457104,48457740,48457974,48458706,48460171,48460452,48462659,48463235, 48456425,48457345,48457850,48458105,48459014,48460352,48460594,48462778,48463582, 0 WDR13 cmpl cmpl 0,2,0,2,1,0,1,2,1, 712 NM_024881 chr19 - 16660647 16683193 16664489 16683175 6 16660647,16665962,16677342,16678842,16682322,16682754, 16664720,16666208,16677468,16678980,16682393,16683193, 0 SLC35E1 cmpl cmpl 0,0,0,0,1,0, 953 NM_033518 chrX - 48316919 48328644 48317318 48326311 17 48316919,48317921,48318117,48319034,48319371,48320103,48320392,48320618,48321282,48324401,48324616,48325185,48325348,48326096,48326258,48327722,48328569, 48317420,48318025,48318262,48319150,48319472,48320183,48320530,48320677,48321365,48324480,48324709,48325259,48325464,48326172,48326312,48327824,48328644, 0 SLC38A5 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1137 NM_021963 chrX - 72432136 72434710 72432945 72434328 1 72432136, 72434710, 0 NAP1L2 cmpl cmpl 0, 668 NM_023921 chr12 - 10977944 10978868 10977944 10978868 1 10977944, 10978868, 0 TAS2R10 cmpl cmpl 0, 971 NR_024225 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A11 unk unk -1, 971 NR_024228 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A8 unk unk -1, 971 NR_024229 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A10 unk unk -1, 954 NR_024228 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A8 unk unk -1, 954 NR_024229 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A10 unk unk -1, 971 NR_024229 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A10 unk unk -1, 234 NM_001166109 chr4 + 169552767 169849608 169602541 169847536 19 169552767,169589340,169602482,169604148,169606635,169611753,169612419,169630178,169632731,169812072,169815729,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169847363, 169553051,169589519,169602549,169604254,169606710,169611895,169612443,169630298,169633074,169812208,169815828,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169849608, 0 PALLD cmpl cmpl -1,-1,0,2,0,0,1,1,1,2,0,0,0,0,2,0,1,2,1, 885 NM_001193289 chr22 + 39353526 39388783 39353696 39388450 5 39353526,39355546,39357391,39358102,39388435, 39353725,39355691,39357686,39358218,39388783, 0 APOBEC3A_B cmpl cmpl 0,2,0,1,0, 1952 NM_001142298 chr5 + 179233387 179265077 179250004 179263593 9 179233387,179238573,179249957,179250857,179251181,179252145,179260031,179260586,179263435, 179233591,179238682,179250053,179251087,179251323,179252226,179260246,179260782,179265077, 0 SQSTM1 cmpl cmpl -1,-1,0,1,0,1,1,0,1, 1252 NM_022818 chr16 + 87425800 87438380 87426033 87436703 4 87425800,87432420,87435780,87436528, 87426073,87432476,87435887,87438380, 0 MAP1LC3B cmpl cmpl 0,1,0,2, 953 NM_001271702 chr10 + 48255203 48271368 48255428 48270515 12 48255203,48259473,48260620,48262167,48263039,48263789,48264357,48264963,48265296,48267170,48267977,48270455, 48255449,48259564,48260829,48262281,48263130,48263869,48264417,48265057,48265392,48267229,48268100,48271368, 0 ANXA8 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 944 NM_001271702 chr10 - 47157983 47174143 47158836 47173918 12 47157983,47161250,47162121,47163958,47164293,47164933,47165481,47166220,47167069,47168521,47169786,47173897, 47158896,47161373,47162180,47164054,47164387,47164993,47165561,47166311,47167183,47168730,47169877,47174143, 0 ANXA8 cmpl cmpl 0,0,1,1,0,0,1,0,0,1,0,0, 930 NR_001457 chr1 + 45244061 45244130 45244130 45244130 1 45244061, 45244130, 0 SNORD38B unk unk -1, 634 NM_002342 chr12 + 6493198 6500737 6493524 6500103 10 6493198,6493753,6494187,6494392,6495231,6495512,6497563,6497965,6499277,6499825, 6493620,6493850,6494313,6494545,6495328,6495610,6497671,6497991,6499506,6500737, 0 LTBR cmpl cmpl 0,0,1,1,1,2,1,1,0,1, 1018 NM_033280 chr18 + 56807124 56826063 56807180 56825917 6 56807124,56816744,56819767,56822919,56824839,56825863, 56807267,56816854,56819917,56823039,56824897,56826063, 0 SEC11C cmpl cmpl 0,0,2,2,2,0, 826 NM_080686 chr6 + 31588449 31605554 31590566 31605363 31 31588449,31590503,31591508,31592037,31592226,31592947,31593236,31593568,31593796,31594548,31594758,31595541,31596920,31597324,31598367,31598915,31601155,31601635,31602012,31602248,31602529,31602908,31603170,31603358,31603743,31603985,31604286,31604509,31604818,31605010,31605222, 31588635,31590678,31591686,31592137,31592299,31593091,31593388,31593648,31593939,31594639,31594975,31596016,31597111,31597622,31598578,31600769,31601424,31601766,31602142,31602334,31602754,31603049,31603242,31603526,31603826,31604196,31604385,31604722,31604913,31605101,31605554, 0 PRRC2A cmpl cmpl -1,0,1,2,0,1,1,0,2,1,2,0,1,0,1,2,2,1,0,1,0,0,0,0,0,2,0,0,0,2,0, 828 NM_181609 chr21 - 31863781 31864275 31864029 31864275 1 31863781, 31864275, 0 KRTAP19-3 cmpl cmpl 0, 811 NM_018950 chr6 + 29691116 29694303 29691240 29694184 7 29691116,29691434,29691949,29692807,29693223,29693787,29694179, 29691304,29691704,29692225,29693083,29693340,29693820,29694303, 0 HLA-F cmpl cmpl 0,1,1,1,1,1,1, 82 NR_103765 chr11 + 10329859 10452220 10452220 10452220 4 10329859,10352116,10432303,10451922, 10330220,10352256,10432523,10452220, 0 CAND1.11 unk unk -1,-1,-1,-1, 106 NM_001282676 chr11 - 35453375 35547579 35453903 35547133 9 35453375,35456059,35457450,35461174,35463028,35489548,35513592,35515643,35547060, 35454440,35456352,35457683,35461241,35463241,35489656,35513721,35515820,35547579, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,1,1,0, 1004 NM_004645 chr17 - 55015560 55038411 55016431 55038380 7 55015560,55019395,55023802,55026747,55027041,55027249,55038135, 55016515,55019484,55023872,55026795,55027128,55028357,55038411, 0 COIL cmpl cmpl 0,1,0,0,0,2,0, 91 NM_138340 chr18 - 19230857 19284766 19231551 19284626 9 19230857,19236821,19237064,19239130,19244078,19263880,19282276,19283544,19284464, 19231724,19236987,19237113,19239304,19244191,19263926,19282459,19283708,19284766, 0 ABHD3 cmpl cmpl 1,0,2,2,0,2,2,0,0, 1177 NM_174976 chr14 - 77597612 77608134 77600025 77606081 3 77597612,77605555,77607945, 77600291,77606095,77608134, 0 ZDHHC22 cmpl cmpl 1,0,-1, 1104 NM_001258024 chr15 + 68112041 68126174 68112041 68126174 15 68112041,68114280,68116296,68117057,68118273,68119201,68119931,68120348,68121516,68122528,68123155,68124611,68124944,68125529,68126079, 68112083,68114508,68116381,68117367,68118964,68119430,68120237,68120482,68121607,68122636,68123227,68124686,68125019,68125595,68126174, 0 SKOR1 cmpl cmpl 0,0,0,1,2,0,1,1,0,1,1,1,1,1,1, 1352 NM_001256385 chr1 - 100614003 100643829 100614923 100634072 11 100614003,100614921,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100638886,100643673, 100614653,100614991,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100638926,100643829, 0 LRRC39 cmpl cmpl -1,1,2,2,0,1,0,2,0,-1,-1, 1352 NM_001256386 chr1 - 100614003 100643829 100614597 100634072 10 100614003,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100638886,100643673, 100614653,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100638926,100643829, 0 LRRC39 cmpl cmpl 1,2,2,0,1,0,2,0,-1,-1, 1352 NM_001256387 chr1 - 100614003 100643829 100614597 100634072 9 100614003,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100643690, 100614653,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100643829, 0 LRRC39 cmpl cmpl 1,2,2,0,1,0,2,0,-1, 161 NM_001256373 chr12 - 92378751 92536447 92381353 92387179 5 92378751,92381331,92382872,92387145,92536382, 92380473,92381570,92382969,92387305,92536447, 0 C12orf79 cmpl cmpl -1,2,1,0,-1, 161 NM_001256374 chr12 - 92378751 92536447 92380401 92387179 5 92378751,92381331,92382872,92387145,92536382, 92380473,92381419,92382969,92387305,92536447, 0 C12orf79 cmpl cmpl 0,2,1,0,-1, 811 NR_001590 chr6 - 29718583 29718925 29718925 29718925 1 29718583, 29718925, 0 IFITM4P unk unk -1, 1344 NM_001174122 chr10 + 99496877 99520664 99498234 99519057 9 99496877,99498233,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497078,99498431,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,1,0,0,1,0,1, 1344 NM_001174120 chr10 + 99496877 99520664 99498234 99519057 10 99496877,99498233,99508025,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497078,99498431,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,2,1,0,0,1,0,1, 1344 NM_001174119 chr10 + 99496877 99520664 99498234 99519057 11 99496877,99498233,99504485,99508025,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497078,99498406,99504672,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,1,2,2,1,0,0,1,0,1, 1241 NM_001554 chr1 + 86046443 86049648 86046667 86048725 5 86046443,86047047,86047610,86048098,86048422, 86046730,86047261,86047967,86048307,86049648, 0 CYR61 cmpl cmpl 0,0,1,1,0, 930 NM_003738 chr1 - 45287937 45308616 45288086 45308604 22 45287937,45288740,45288914,45291921,45292159,45292573,45292838,45293073,45293514,45293967,45294177,45294653,45294828,45295073,45295285,45295580,45296519,45297377,45297646,45297823,45307518,45308532, 45288341,45288840,45289057,45292059,45292440,45292754,45292981,45293386,45293863,45294086,45294303,45294746,45294984,45295205,45295433,45295702,45296715,45297469,45297716,45298013,45307711,45308616, 0 PTCH2 cmpl cmpl 0,2,0,0,1,0,1,0,2,0,0,0,0,0,2,0,2,0,2,1,0,0, 1194 NM_001185077 chr17 - 79825596 79828790 79826751 79827806 6 79825596,79827048,79827205,79827417,79827616,79828511, 79826951,79827112,79827282,79827501,79827833,79828790, 0 ARHGDIA cmpl cmpl 1,0,1,1,0,-1, 193 NM_173685 chr8 + 126104082 126379367 126114572 126379127 8 126104082,126114292,126114558,126163412,126194344,126369460,126369953,126379009, 126104200,126114388,126114729,126163519,126194498,126369561,126370060,126379367, 0 NSMCE2 cmpl cmpl -1,-1,0,1,0,1,0,2, 1012 NM_020378 chr19 + 55996556 55998935 55997075 55998323 3 55996556,55997027,55997774, 55996625,55997147,55998935, 0 NAT14 cmpl cmpl -1,0,0, 942 NM_001256127 chr1 + 46806849 46830824 46810526 46827518 6 46806849,46810472,46812592,46818539,46826375,46827241, 46807537,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 cmpl cmpl -1,0,2,1,0,2, 1652 NM_004669 chr9 - 139889059 139891024 139889132 139890995 6 139889059,139889381,139889637,139889893,139890099,139890962, 139889291,139889557,139889744,139890019,139890209,139891024, 0 CLIC3 cmpl cmpl 0,1,2,2,0,0, 857 NM_001135730 chr22 + 35695796 35743987 35695921 35743202 14 35695796,35713869,35717951,35719020,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 cmpl cmpl 0,1,2,0,0,0,0,2,0,1,2,0,0,1, 857 NM_005488 chr22 + 35695796 35743987 35695921 35743202 15 35695796,35713869,35717951,35719020,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 cmpl cmpl 0,1,2,0,0,0,0,0,2,0,1,2,0,0,1, 216 NM_078483 chr5 + 150827162 150871940 150838353 150867815 11 150827162,150838348,150843113,150844074,150844634,150846759,150847267,150853233,150856150,150858880,150867543, 150827374,150838496,150843204,150844163,150844730,150846844,150847486,150853332,150856317,150859050,150871940, 0 SLC36A1 cmpl cmpl -1,0,2,0,2,2,0,0,0,2,1, 2128 NM_014176 chr1 - 202300784 202311094 202300962 202304882 7 202300784,202302137,202302364,202302577,202304116,202304773,202311022, 202301088,202302221,202302463,202302683,202304186,202304946,202311094, 0 UBE2T cmpl cmpl 0,0,0,2,1,0,-1, 2197 NM_006055 chr2 - 211295972 211341491 211299210 211341120 10 211295972,211300110,211300939,211302413,211305321,211306031,211319830,211336682,211341039,211341343, 211299287,211300183,211301116,211302596,211305468,211306167,211320038,211336800,211341136,211341491, 0 LANCL1 cmpl cmpl 1,0,0,0,0,2,1,0,0,-1, 167 NM_001199847 chr7 - 98625057 98741743 98628206 98741403 18 98625057,98630659,98633137,98634689,98636010,98638000,98639740,98643320,98645306,98647185,98648979,98649827,98652412,98654827,98655040,98658221,98659421,98741348, 98628306,98630735,98633339,98634810,98636148,98638179,98639855,98643424,98645505,98647332,98649064,98650069,98652488,98654893,98655174,98658330,98659460,98741743, 0 SMURF1 cmpl cmpl 2,1,0,2,2,0,2,0,2,2,1,2,1,1,2,1,1,0, 1392 NM_007227 chr2 + 105858199 105859924 105858315 105859434 1 105858199, 105859924, 0 GPR45 cmpl cmpl 0, 1351 NM_000665 chr7 - 100487614 100493541 100487834 100491853 5 100487614,100488789,100489954,100490785,100493422, 100487956,100488959,100490439,100491873,100493541, 0 ACHE cmpl cmpl 1,2,0,0,-1, 1147 NM_003356 chr11 - 73711325 73720282 73712456 73718087 7 73711325,73714871,73715528,73716774,73717213,73717961,73720022, 73712571,73715052,73715630,73716978,73717424,73718182,73720282, 0 UCP3 cmpl cmpl 2,1,1,1,0,0,-1, 1125 NM_000200 chr4 + 70894129 70902255 70896457 70898937 6 70894129,70896444,70897695,70897794,70898883,70901983, 70894233,70896508,70897716,70897824,70898970,70902255, 0 HTN3 cmpl cmpl -1,0,0,0,0,-1, 1681 NM_173552 chr3 + 143690639 143711210 143691174 143708683 3 143690639,143704384,143708351, 143691831,143704688,143711210, 0 C3orf58 cmpl cmpl 0,0,1, 123 NM_175834 chr12 - 53215230 53228077 53215655 53228044 9 53215230,53216128,53216799,53217670,53217981,53223806,53224015,53225189,53227567, 53215861,53216163,53217020,53217796,53218146,53223902,53224076,53225410,53228077, 0 KRT79 cmpl cmpl 1,2,0,0,0,0,2,0,0, 818 NM_133471 chr6 - 30644165 30655672 30645045 30653795 3 30644165,30646955,30652184, 30645065,30647166,30655672, 0 PPP1R18 cmpl cmpl 1,0,0, 1 NM_001166265 chr2 + 33359663 33624575 33359804 33623612 30 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482509,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33567904,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33568030,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 14 NM_145186 chr16 - 48200821 48269088 48201184 48265832 29 48200821,48201406,48204799,48209168,48210834,48212507,48218350,48220863,48221111,48226430,48227789,48230142,48231881,48232051,48234186,48237138,48239323,48242335,48244858,48247353,48248791,48249107,48250024,48256508,48258192,48261716,48264347,48265733,48269042, 48201277,48201571,48204878,48209328,48211024,48212597,48218537,48221001,48221338,48226628,48227893,48230232,48231978,48232186,48234390,48237211,48239448,48242407,48245110,48247461,48248940,48249255,48250198,48256742,48258340,48261875,48264484,48265850,48269088, 0 ABCC11 cmpl cmpl 0,0,2,1,0,0,2,2,0,0,1,1,0,0,0,2,0,0,0,0,1,0,0,0,2,2,0,0,-1, 969 NM_013277 chr12 - 50382944 50419307 50384050 50410498 19 50382944,50384466,50385780,50386027,50386332,50387913,50388196,50390822,50392923,50393398,50394954,50396029,50398017,50399038,50400216,50410413,50413526,50414844,50419180, 50384126,50384575,50385916,50386160,50386438,50388112,50388292,50390987,50393054,50393516,50395035,50396083,50398087,50399175,50400419,50410502,50413589,50414960,50419307, 0 RACGAP1 cmpl cmpl 2,1,0,2,1,0,0,0,1,0,0,0,2,0,1,0,-1,-1,-1, 1988 NM_138345 chr3 + 183948316 183960117 183948316 183959826 19 183948316,183948534,183950965,183951363,183952053,183952418,183952940,183953939,183954130,183954425,183955013,183956090,183956350,183957181,183957476,183958578,183958811,183958974,183959277, 183948455,183948705,183951185,183951521,183952185,183952543,183953096,183954050,183954339,183954537,183955199,183956262,183956661,183957371,183957824,183958716,183958895,183959192,183960117, 0 VWA5B2 cmpl cmpl 0,1,1,2,1,1,0,0,0,2,0,0,1,0,1,1,1,1,0, 200 NM_006059 chr9 + 133884503 133968446 133884601 133967174 28 133884503,133901671,133907431,133911552,133914250,133914517,133917023,133920910,133924406,133927877,133928236,133932315,133936421,133942346,133943464,133944294,133945058,133946870,133948016,133948631,133951217,133952573,133954535,133957445,133960910,133962862,133963104,133966923, 133884974,133901976,133907562,133911719,133914439,133914635,133917122,133921047,133924517,133928070,133928352,133932534,133936610,133942592,133943618,133944437,133945237,133947012,133948222,133948708,133951352,133952721,133954685,133957548,133961110,133963009,133963204,133968446, 0 LAMC3 cmpl cmpl 0,1,0,2,1,1,2,2,1,1,2,1,1,1,1,2,1,0,1,0,2,2,0,0,1,0,0,1, 1266 NM_004897 chr10 + 89264222 89313218 89264672 89312235 5 89264222,89268092,89272880,89280792,89311838, 89265309,89268290,89272978,89280926,89313218, 0 MINPP1 cmpl cmpl 0,1,1,0,2, 954 NR_024215 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A4 unk unk -1, 98 NM_018317 chr4 + 26585545 26756918 26585815 26756569 21 26585545,26614790,26616029,26622234,26638832,26640392,26641762,26661218,26667954,26673770,26675397,26685296,26689966,26719554,26721702,26737076,26741485,26744129,26750032,26755441,26756494, 26585914,26614863,26616075,26622310,26638907,26640456,26641809,26661329,26668027,26673809,26675510,26685371,26690029,26719639,26721747,26737109,26741595,26744221,26750148,26755512,26756918, 0 TBC1D19 cmpl cmpl 0,0,1,2,0,0,1,0,0,1,1,0,0,0,1,1,1,0,2,1,0, 87 NM_001168342 chr9 - 15170841 15250198 15172016 15211382 18 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15249915, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15214247,15250198, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,0,-1,-1, 606 NR_033851 chr6 - 2854890 2876744 2876744 2876744 2 2854890,2876526, 2855924,2876744, 0 MGC39372 unk unk -1,-1, 189 NR_033850 chr10 - 122521323 122610691 122610691 122610691 3 122521323,122536246,122610205, 122523187,122536396,122610691, 0 WDR11-AS1 unk unk -1,-1,-1, 149 NM_024083 chr17 + 79935425 79975282 79935522 79975198 16 79935425,79937059,79941429,79943382,79952696,79953867,79954295,79966912,79967361,79968677,79969418,79970106,79974351,79974675,79974816,79975184, 79935624,79937115,79941544,79943483,79952754,79953941,79954722,79967067,79967443,79968744,79969481,79970159,79974403,79974745,79974989,79975282, 0 ASPSCR1 cmpl cmpl 0,0,2,0,2,0,2,0,2,0,1,1,0,1,2,1, 169 NM_024642 chr9 + 101569980 101612363 101569980 101611374 10 101569980,101585537,101589033,101594053,101597530,101599253,101602283,101606377,101608258,101611233, 101570351,101585707,101589223,101594239,101597648,101599430,101602415,101606491,101608405,101612363, 0 GALNT12 cmpl cmpl 0,2,1,2,2,0,0,0,0,0, 115 NM_021927 chr4 + 44680432 44702697 44680639 44700698 17 44680432,44682457,44682710,44683139,44684350,44685251,44687975,44688526,44690023,44691302,44691859,44692733,44693682,44696428,44697631,44699424,44700560, 44680804,44682569,44682859,44683220,44684428,44685335,44688040,44688730,44690163,44691426,44691992,44692877,44693816,44696530,44697751,44699461,44702697, 0 GUF1 cmpl cmpl 0,0,1,0,0,0,0,2,2,1,2,0,0,2,2,2,0, 1203 NM_015251 chr16 + 81069457 81080951 81069475 81078575 4 81069457,81074960,81075885,81076765, 81069811,81075086,81076085,81080951, 0 ATMIN cmpl cmpl 0,0,0,2, 838 NM_001205265 chr16 + 33262119 33264719 33262149 33263252 2 33262119,33263181, 33262387,33264719, 0 TP53TG3B cmpl cmpl 0,1, 834 NM_001205265 chr16 - 32684848 32687448 32686315 32687418 2 32684848,32687180, 32686386,32687448, 0 TP53TG3B cmpl cmpl 1,0, 1879 NM_000655 chr1 - 169659805 169680843 169660924 169680678 9 169659805,169665675,169670700,169672395,169673708,169676482,169677557,169679576,169680636, 169660943,169665694,169670829,169672581,169673894,169676590,169677944,169679658,169680843, 0 SELL cmpl cmpl 2,1,1,1,1,1,1,0,0, 1513 NM_001199799 chr3 - 121706169 121741127 121707213 121740924 8 121706169,121711996,121713028,121720154,121720591,121724090,121725837,121740866, 121707255,121712817,121713160,121720301,121720711,121724240,121726008,121741127, 0 ILDR1 cmpl cmpl 0,1,1,1,1,1,1,0, 606 NM_001145276 chrY + 2803111 2850547 2821977 2848034 7 2803111,2821949,2843135,2843551,2844710,2845980,2846850, 2803487,2822038,2843285,2843695,2844863,2846121,2850547, 0 ZFY cmpl cmpl -1,0,1,1,1,1,1, 1926 NM_001079685 chr5 - 175773063 175788810 175774602 175786511 8 175773063,175774923,175775252,175777615,175779624,175782573,175786483,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175786570,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,1,0,-1, 1926 NM_001079684 chr5 - 175773063 175788810 175774602 175782723 8 175773063,175774923,175775252,175777615,175779624,175782573,175786813,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175786921,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,0,-1,-1, 914 NM_021016 chr19 - 43225793 43244668 43228133 43244536 7 43225793,43228093,43233274,43233929,43236935,43242875,43244472, 43226242,43228177,43233529,43234208,43237214,43243241,43244668, 0 PSG3 cmpl cmpl -1,1,1,1,1,1,0, 820 NM_013993 chr6 + 30852326 30867933 30856506 30867073 19 30852326,30853401,30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30863180,30864397,30864790,30865155,30865849,30866664,30866932, 30852487,30853457,30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30863291,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl -1,-1,0,1,2,0,1,2,0,1,1,0,1,1,0,2,2,0,0, 9 NM_017575 chr17 - 1963132 2207069 1964785 2207014 19 1963132,1968366,1968761,1972071,1985103,1989018,2075951,2089956,2091692,2139785,2147951,2185940,2186918,2195845,2196164,2200536,2201156,2202199,2206926, 1964916,1968448,1968973,1972225,1985250,1989195,2076153,2090125,2091809,2139931,2148013,2186153,2187029,2195924,2196271,2200647,2201349,2203958,2207069, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,2,1,1,2,0,0,0,2,0,0,2,1,0, 1265 NM_001243279 chr16 + 89160216 89222254 89167089 89220615 11 89160216,89164998,89167069,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160404,89165171,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,-1,0,0,0,2,1,0,1,1,2, 77 NM_001201479 chr16 - 4390251 4466962 4390319 4466519 31 4390251,4390920,4391368,4393207,4405286,4407168,4407968,4408367,4409296,4409480,4410278,4410444,4410943,4411162,4411361,4411985,4412612,4414276,4414597,4414775,4415003,4415491,4437986,4438545,4445289,4455491,4457501,4458181,4462356,4463308,4466459, 4390406,4390986,4391505,4393292,4405373,4407260,4408104,4408484,4409386,4409622,4410364,4410549,4411086,4411249,4411470,4412161,4412739,4414414,4414690,4414921,4415061,4415546,4438069,4438632,4445340,4455568,4457685,4458252,4462431,4463405,4466962, 0 CORO7-PAM16 cmpl cmpl 0,0,1,0,0,1,0,0,0,2,0,0,1,1,0,1,0,0,0,1,0,2,0,0,0,1,0,1,1,0,0, 158 NM_052941 chr1 - 89646830 89664633 89650936 89664517 11 89646830,89652015,89652682,89654264,89655720,89656943,89658586,89658985,89660979,89662792,89664477, 89651152,89652209,89652785,89654477,89656001,89657189,89658783,89659095,89661107,89662987,89664633, 0 GBP4 cmpl cmpl 0,1,0,0,1,1,2,0,1,1,0, 734 NR_039706 chr11 + 19596856 19596919 19596919 19596919 1 19596856, 19596919, 0 MIR4486 unk unk -1, 1767 NR_049765 chr1 + 154975105 154991001 154991001 154991001 4 154975105,154975318,154987130,154988695, 154975162,154975419,154988290,154991001, 0 ZBTB7B unk unk -1,-1,-1,-1, 587 NM_001176 chr16 + 330605 333003 330680 332814 6 330605,331745,332024,332296,332466,332614, 330753,331925,332108,332373,332530,333003, 0 ARHGDIG cmpl cmpl 0,1,1,1,0,1, 83 NM_001173461 chr17 + 11144739 11467380 11144739 11461621 4 11144739,11166682,11459056,11461070, 11145377,11166843,11459209,11467380, 0 SHISA6 cmpl cmpl 0,2,1,1, 220 NM_181359 chr1 + 154377668 154441926 154378105 154437641 9 154377668,154401671,154402958,154406994,154407465,154408444,154420600,154422386,154437609, 154378190,154401920,154403082,154407176,154407632,154408586,154420647,154422456,154441926, 0 IL6R cmpl cmpl 0,1,1,2,1,0,1,0,1, 942 NR_045790 chr1 + 46805848 46830824 46830824 46830824 5 46805848,46810472,46818539,46826375,46827241, 46806591,46810816,46818700,46826500,46830824, 0 NSUN4 unk unk -1,-1,-1,-1,-1, 923 NM_172131 chr20 - 44313289 44333658 44313468 44333630 3 44313289,44333135,44333556, 44313599,44333200,44333658, 0 WFDC10B cmpl cmpl 1,2,0, 127 NM_001178054 chr12 - 57403780 57410344 57406162 57409581 6 57403780,57406161,57407142,57407361,57409467,57410170, 57404072,57406236,57407172,57407455,57409586,57410344, 0 TAC3 cmpl cmpl -1,1,1,0,0,-1, 896 NM_020783 chr18 - 40847856 40857615 40850305 40857246 4 40847856,40851676,40853544,40857212, 40850613,40851797,40854359,40857615, 0 SYT4 cmpl cmpl 1,0,1,0, 1607 NM_020815 chr4 + 134070469 134074404 134071295 134073986 1 134070469, 134074404, 0 PCDH10 cmpl cmpl 0, 85 NM_030640 chr12 - 12626215 12715448 12629766 12674032 7 12626215,12633156,12639961,12653452,12672795,12673804,12715050, 12630949,12633280,12640121,12653616,12672934,12674397,12715448, 0 DUSP16 cmpl cmpl 2,1,0,1,0,0,-1, 1025 NM_001130406 chr13 + 57721621 57724643 57722008 57723695 3 57721621,57721989,57723081, 57721835,57722060,57724643, 0 PRR20D cmpl cmpl -1,0,1, 1025 NM_001130406 chr13 + 57728194 57731216 57728581 57730268 3 57728194,57728562,57729654, 57728408,57728633,57731216, 0 PRR20D cmpl cmpl -1,0,1, 127 NM_013251 chr12 - 57403780 57410344 57406162 57409581 7 57403780,57406161,57406605,57407142,57407361,57409467,57410170, 57404072,57406236,57406659,57407172,57407455,57409586,57410344, 0 TAC3 cmpl cmpl -1,1,1,1,0,0,-1, 608 NM_022468 chr16 + 3096681 3110724 3096918 3109099 10 3096681,3097415,3100009,3100254,3107033,3107310,3107531,3108181,3108412,3108827, 3097017,3097548,3100145,3100547,3107210,3107395,3107614,3108334,3108670,3110724, 0 MMP25 cmpl cmpl 0,0,1,2,1,1,2,1,1,1, 2042 NM_033178 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4 cmpl cmpl 0, 692 NM_145287 chr18 - 14099941 14132489 14104915 14132276 3 14099941,14124348,14132273, 14106408,14124475,14132489, 0 ZNF519 cmpl cmpl 1,0,0, 2416 NR_046582 chr1 - 240061318 240063172 240063172 240063172 2 240061318,240063063, 240061692,240063172, 0 CHRM3-AS1 unk unk -1,-1, 125 NM_001287753 chr6 - 55299170 55444012 55300459 55443853 6 55299170,55304231,55360216,55406526,55406857,55443745, 55300561,55304357,55360405,55406634,55406938,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,0,0,0, 246 NR_033918 chr4 - 181985242 182080302 182080302 182080302 3 181985242,182076765,182080228, 181985633,182076892,182080302, 0 LINC00290 unk unk -1,-1,-1, 620 NM_017913 chr9 + 4679565 4706594 4679767 4706112 7 4679565,4684876,4688512,4697095,4697756,4701863,4706010, 4679899,4685158,4688606,4697211,4697879,4702028,4706594, 0 CDC37L1 cmpl cmpl 0,0,0,1,0,0,0, 87 NM_152396 chr3 - 15451376 15469042 15452762 15468018 6 15451376,15455527,15457278,15466461,15467793,15468908, 15452944,15455669,15457449,15466596,15468142,15469042, 0 METTL6 cmpl cmpl 1,0,0,0,0,-1, 1653 NM_000832 chr9 + 140033608 140063214 140033938 140062294 19 140033608,140036464,140040177,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140062225, 140034196,140036599,140040354,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0, 811 NM_002433 chr6 + 29624757 29640149 29624986 29639227 8 29624757,29627095,29633928,29635419,29635680,29638057,29638477,29639198, 29625074,29627443,29634042,29635440,29635701,29638174,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 1743 NM_005361 chrX + 151883074 151887096 151885595 151886540 4 151883074,151884445,151885384,151885530, 151883346,151884565,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,0, 1744 NM_005361 chrX - 151918386 151922408 151918942 151919887 4 151918386,151920032,151920917,151922136, 151919952,151920098,151921037,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1, 149 NM_001251888 chr17 + 79935425 79975282 79935522 79975198 17 79935425,79937059,79941429,79943382,79952696,79953867,79954295,79966912,79967361,79968677,79969418,79970106,79972950,79974351,79974675,79974816,79975184, 79935624,79937115,79941544,79943483,79952754,79953941,79954722,79967067,79967443,79968744,79969481,79970159,79973232,79974403,79974745,79974989,79975282, 0 ASPSCR1 cmpl cmpl 0,0,2,0,2,0,2,0,2,0,1,1,0,0,1,2,1, 793 NM_080654 chr11 - 27370418 27384795 27371794 27384741 3 27370418,27378949,27384382, 27371986,27379088,27384795, 0 CCDC34 cmpl cmpl 0,2,0, 113 NR_024380 chr10 - 42827313 42863493 42863493 42863493 3 42827313,42835948,42863263, 42833688,42836004,42863493, 0 LOC441666 unk unk -1,-1,-1, 170 NM_001242560 chr2 + 102314164 102511152 102314542 102507711 31 102314164,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102480282,102481391,102482889,102483673,102484490,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102480513,102481498,102483041,102483771,102484499,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,0,2,0,1,1,1,1,0,0,1,0, 1158 NM_020447 chr15 - 75192327 75199462 75194959 75199141 5 75192327,75197004,75197494,75198618,75198927, 75195127,75197053,75197572,75198706,75199462, 0 FAM219B cmpl cmpl 0,2,2,1,0, 142 NM_170744 chr10 + 72972291 73062635 72972742 73059034 17 72972291,73039577,73044476,73045082,73046445,73047354,73048324,73048714,73050671,73051188,73052223,73053161,73053456,73055567,73056334,73057665,73058868, 72972821,73039802,73044620,73045186,73046626,73047522,73048489,73048747,73050866,73051578,73052311,73053330,73053690,73055717,73056499,73057847,73062635, 0 UNC5B cmpl cmpl 0,1,1,1,0,1,1,1,1,1,1,2,0,0,0,0,2, 700 NM_022340 chr3 - 15111579 15140655 15115288 15137627 14 15111579,15117112,15118568,15119581,15122238,15123873,15126241,15126506,15127367,15131905,15137479,15138041,15139625,15140541, 15116437,15117217,15118671,15119668,15122309,15124115,15126403,15126552,15127468,15132046,15137795,15138217,15139781,15140655, 0 ZFYVE20 cmpl cmpl 0,0,2,2,0,1,1,0,1,1,0,-1,-1,-1, 182 NM_003358 chr9 + 114659205 114695433 114659495 114695277 9 114659205,114676884,114685128,114687056,114688663,114691779,114693550,114694449,114695106, 114659593,114677026,114685231,114687158,114688776,114691958,114693637,114694639,114695433, 0 UGCG cmpl cmpl 0,2,0,1,1,0,2,2,0, 79 NM_001145118 chr7 - 6536408 6591067 6537404 6591067 22 6536408,6537694,6541411,6541619,6542416,6542638,6543121,6544423,6545450,6547615,6548588,6549913,6550239,6550538,6554005,6560208,6561059,6561518,6565854,6566151,6579348,6590638, 6537476,6537859,6541530,6541749,6542503,6542794,6543318,6544501,6545538,6548032,6548944,6550031,6550337,6550670,6554160,6560392,6561154,6561588,6565940,6566400,6579503,6591067, 0 GRID2IP cmpl cmpl 0,0,1,0,0,0,1,1,0,0,1,0,1,1,2,1,2,1,2,2,0,0, 82 NM_001077526 chr3 + 9691116 9744078 9691267 9743657 18 9691116,9695304,9703950,9710402,9711115,9712731,9714368,9719000,9719667,9724861,9726268,9726571,9726894,9729504,9730379,9730627,9731647,9743473, 9691426,9695453,9704059,9710478,9711176,9712854,9714442,9719071,9719742,9724928,9726354,9726648,9726931,9729575,9730438,9730766,9731827,9744078, 0 MTMR14 cmpl cmpl 0,0,2,0,1,2,2,1,0,0,1,0,2,0,2,1,2,2, 987 NM_001164417 chrX + 52780280 52790617 52781757 52789521 8 52780280,52781737,52782264,52782914,52784876,52786930,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52789525,52790617, 0 SSX2B cmpl cmpl -1,0,0,1,1,0,1,-1, 738 NM_001243537 chr22 - 20136108 20137431 20136136 20137261 6 20136108,20136397,20136709,20136934,20137103,20137246, 20136323,20136447,20136767,20136999,20137163,20137431, 0 LOC388849 cmpl cmpl 2,0,2,0,0,0, 217 NM_001242767 chr6 + 151186814 151423023 151186958 151413692 28 151186814,151197225,151198769,151198908,151203897,151206769,151208977,151226785,151239712,151243340,151247257,151257939,151259834,151265621,151266602,151270166,151277130,151281410,151286104,151293082,151330954,151334914,151336015,151336651,151355628,151358100,151413602,151422661, 151187185,151197310,151198820,151198962,151204022,151206870,151209117,151226897,151239804,151243438,151247431,151258076,151259881,151265729,151266677,151270269,151277207,151281551,151286173,151293194,151331094,151334956,151336116,151336829,151355736,151358253,151413723,151423023, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 969 NM_001258018 chr19 - 50392912 50432796 50392926 50404974 10 50392912,50394227,50394661,50397524,50398324,50399071,50404895,50407455,50430950,50432582, 50393857,50394364,50394730,50397726,50398437,50399310,50405136,50407578,50431072,50432796, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1,-1,-1, 108 NM_080552 chr20 + 37353104 37358015 37353367 37357282 2 37353104,37356094, 37353757,37358015, 0 SLC32A1 cmpl cmpl 0,0, 209 NM_145003 chr8 - 143293440 143484543 143310844 143436085 14 143293440,143310833,143356141,143365773,143381846,143395744,143396363,143399904,143412261,143413114,143425326,143427103,143435997,143484464, 143293674,143310940,143356224,143365846,143382005,143395801,143396453,143399995,143412331,143413192,143425833,143427253,143436124,143484543, 0 TSNARE1 cmpl cmpl -1,0,1,0,0,0,0,2,1,1,1,1,0,-1, 861 NM_145000 chr5 - 36249103 36302011 36249755 36301518 14 36249103,36251414,36253748,36255571,36257042,36257555,36260881,36262040,36265060,36265550,36269491,36270052,36271354,36301427, 36249799,36251601,36253891,36255692,36257173,36257658,36260966,36262144,36265200,36265622,36269569,36270092,36271413,36302011, 0 RANBP3L cmpl cmpl 1,0,1,0,1,0,2,0,1,1,1,0,1,0, 240 NM_052899 chr5 - 176022802 176037131 176023808 176026835 2 176022802,176036999, 176026878,176037131, 0 GPRIN1 cmpl cmpl 0,-1, 1102 NM_001288990 chr16 + 67840780 67861971 67841052 67861896 16 67840780,67848204,67854741,67855001,67857528,67858485,67859039,67859569,67859819,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67854854,67855128,67857622,67858682,67859175,67859739,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl 0,2,0,2,0,1,0,1,0,1,0,0,0,2,0,2, 111 NM_004310 chr4 + 40198526 40246384 40245006 40245582 3 40198526,40244333,40244797, 40198920,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 1194 NM_004309 chr17 - 79825596 79829282 79826751 79827806 6 79825596,79827048,79827205,79827417,79827616,79829173, 79826951,79827112,79827282,79827501,79827833,79829282, 0 ARHGDIA cmpl cmpl 1,0,1,1,0,-1, 87 NM_001168340 chr9 - 15170841 15307358 15172016 15307321 19 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189701,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15225914,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15214247,15226010,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,1,0,0,2,0,1,2,2,2,2,0,0, 2477 NM_015431 chr1 + 248020500 248043438 248020548 248039791 6 248020500,248023918,248028006,248031146,248031264,248039201, 248020968,248024014,248028237,248031169,248031365,248043438, 0 TRIM58 cmpl cmpl 0,0,0,0,2,1, 1099 NM_020948 chr1 + 67390577 67454302 67394586 67450583 15 67390577,67391824,67394572,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1, 1659 NM_002588 chr5 + 140855568 140892544 140855683 140890740 4 140855568,140874373,140884959,140890513, 140858113,140874432,140885048,140892544, 0 PCDHGC3 cmpl cmpl 0,0,2,1, 1513 NM_175924 chr3 - 121706169 121741127 121707213 121740924 7 121706169,121711996,121720154,121720591,121724090,121725837,121740866, 121707255,121712817,121720301,121720711,121724240,121726008,121741127, 0 ILDR1 cmpl cmpl 0,1,1,1,1,1,0, 128 NM_004811 chr11 - 58294343 58343390 58294926 58343245 9 58294343,58295515,58317258,58317445,58318537,58322313,58331627,58338028,58343232, 58295196,58295664,58317340,58317619,58318705,58322413,58331674,58338186,58343390, 0 LPXN cmpl cmpl 0,1,0,0,0,2,0,1,0, 164 NM_001289074 chr10 + 96305523 96361856 96341133 96361379 23 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96336838,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336466,96336853,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,2,0,0,0,0,1,2,1, 157 NM_012381 chr6 + 88299784 88377172 88299886 88376841 20 88299784,88304070,88311501,88313101,88315634,88317390,88318813,88321806,88326031,88331071,88331667,88344562,88346124,88362833,88366623,88367638,88372720,88374460,88375471,88376735, 88299910,88304125,88311599,88313246,88315739,88317542,88318947,88321966,88326145,88331205,88331731,88344679,88346204,88362967,88366700,88367736,88372862,88374577,88375551,88377172, 0 ORC3 cmpl cmpl 0,0,1,0,1,1,0,2,0,0,2,0,0,2,1,0,2,0,0,2, 98 NM_017877 chr2 + 26987141 27004099 26987217 27001379 6 26987141,26997118,26997911,26998331,26999239,27000909, 26987294,26997191,26998083,26998544,26999350,27004099, 0 SLC35F6 cmpl cmpl 0,2,0,1,1,1, 178 NM_178584 chr2 - 110300373 110371783 110301885 110371404 10 110300373,110303626,110310663,110321942,110323339,110325391,110332157,110342702,110343297,110371374, 110301901,110303814,110310796,110322111,110323436,110325553,110332344,110342898,110343415,110371783, 0 SEPT10 cmpl cmpl 2,0,2,1,0,0,2,1,0,0, 946 NM_002804 chr11 - 47440319 47448024 47440385 47447830 12 47440319,47440666,47441814,47442181,47444124,47444380,47445596,47445979,47446157,47446671,47447417,47447755, 47440496,47440748,47441960,47442278,47444273,47444524,47445734,47446042,47446262,47446797,47447501,47448024, 0 PSMC3 cmpl cmpl 0,2,0,2,0,0,0,0,0,0,0,0, 1776 NM_022367 chr1 + 156123321 156147542 156124369 156146788 15 156123321,156124340,156126204,156127860,156128178,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156123555,156124508,156126365,156127923,156128277,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,1,0,0,0,1,1,0,2,0,1,0,2,1, 164 NM_006260 chr13 + 96329392 96447243 96329509 96443284 12 96329392,96361480,96375495,96377431,96409897,96412293,96412932,96415896,96416086,96438192,96439260,96443126, 96329591,96361591,96375620,96377506,96410050,96412475,96413052,96416002,96416207,96438325,96439409,96447243, 0 DNAJC3 cmpl cmpl 0,1,1,0,0,0,2,2,0,1,2,1, 1762 NM_024332 chrX + 154299694 154351349 154299802 154348425 12 154299694,154300601,154301651,154305444,154306890,154317537,154319058,154327589,154344331,154344985,154348273,154349497, 154299925,154300618,154301706,154305564,154306978,154317626,154319114,154327664,154344463,154345029,154348443,154351349, 0 BRCC3 cmpl cmpl 0,0,2,0,0,1,0,2,2,2,1,-1, 935 NM_001166049 chr19 - 45910590 45927177 45912932 45926632 9 45910590,45916934,45918118,45920078,45922355,45923581,45924435,45926527,45927038, 45912983,45917003,45918218,45920155,45922455,45923685,45924651,45926639,45927177, 0 ERCC1 cmpl cmpl 0,0,2,0,2,0,0,0,-1, 1356 NR_024096 chr14 + 101123604 101139081 101139081 101139081 2 101123604,101137897, 101124047,101139081, 0 LINC00523 unk unk -1,-1, 911 NM_015349 chr6 + 42788793 42836296 42789760 42833184 12 42788793,42789755,42790533,42790672,42796230,42819829,42821375,42823593,42824828,42827999,42830247,42832396, 42788951,42789801,42790582,42790741,42797910,42819935,42821476,42823655,42824974,42828094,42830350,42836296, 0 GLTSCR1L cmpl cmpl -1,0,2,0,0,0,1,0,2,1,0,1, 12 NM_001001992 chr21 + 30396937 30426807 30400234 30426508 18 30396937,30400193,30402915,30407157,30408591,30409599,30410655,30411346,30411801,30412929,30414333,30414792,30415743,30418987,30421081,30422412,30426122,30426386, 30397098,30400295,30403094,30407261,30408695,30409784,30410751,30411477,30411889,30413008,30414425,30414849,30415920,30419642,30421176,30422499,30426279,30426807, 0 USP16 cmpl cmpl -1,0,1,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1, 1767 NR_046206 chr1 + 154975105 154991001 154991001 154991001 5 154975105,154975318,154986490,154987130,154988695, 154975162,154975419,154986569,154988290,154991001, 0 ZBTB7B unk unk -1,-1,-1,-1,-1, 87 NM_001184958 chr3 + 14716605 14814543 14724586 14814382 17 14716605,14723676,14724481,14725748,14731503,14744636,14745843,14755513,14756795,14763159,14768407,14769945,14798877,14801397,14802979,14813573,14814297, 14716759,14723838,14724704,14725889,14731623,14744769,14746125,14755666,14756916,14763291,14768531,14770195,14799181,14801505,14803122,14813708,14814543, 0 C3orf20 cmpl cmpl -1,-1,0,1,1,1,2,2,2,0,0,1,2,0,0,2,2, 220 NM_001206866 chr1 + 154377668 154410561 154378105 154410020 7 154377668,154401671,154402958,154406994,154407465,154408444,154409910, 154378190,154401920,154403082,154407176,154407632,154408586,154410561, 0 IL6R cmpl cmpl 0,1,1,2,1,0,1, 718 NM_138401 chr19 + 17530911 17536140 17530944 17535802 9 17530911,17531121,17531346,17533140,17534306,17534501,17534814,17535429,17535739, 17531034,17531220,17531443,17533267,17534426,17534608,17534876,17535486,17536140, 0 MVB12A cmpl cmpl 0,0,0,1,2,2,1,0,0, 1924 NM_001039523 chr2 - 175612322 175629200 175612851 175629122 10 175612322,175613307,175614673,175618230,175618946,175622293,175622673,175624058,175624215,175629079, 175612983,175613547,175614897,175618468,175619142,175622403,175622748,175624103,175624361,175629200, 0 CHRNA1 cmpl cmpl 0,0,1,0,2,0,0,0,1,0, 898 NM_001258420 chr15 + 41099273 41106767 41099787 41106424 10 41099273,41101316,41101605,41102049,41102268,41102846,41105535,41105910,41106140,41106345, 41100066,41101438,41101656,41102168,41102414,41102955,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl 0,0,2,2,1,0,1,0,0,2, 158 NM_001271602 chr4 + 89513573 89629693 89571118 89628111 25 89513573,89516707,89570990,89573162,89574019,89575192,89576324,89577025,89579565,89583581,89585303,89588527,89589042,89591010,89591289,89597368,89597484,89599114,89601243,89602309,89607886,89608367,89625248,89625658,89627902, 89513725,89516765,89571150,89573239,89574241,89575284,89576455,89577186,89579642,89583706,89585363,89588639,89589232,89591174,89591403,89597392,89597574,89599285,89601387,89602476,89607953,89608450,89625432,89625761,89629693, 0 HERC3 cmpl cmpl -1,-1,0,2,1,1,0,2,1,0,2,2,0,1,0,0,0,0,0,0,2,0,2,0,1, 1654 NM_001177316 chr9 + 140125208 140131006 140126154 140130868 13 140125208,140126115,140126523,140127026,140127235,140127455,140127660,140128084,140128314,140128560,140128867,140129058,140130403, 140125390,140126239,140126613,140127155,140127379,140127567,140127856,140128174,140128393,140128728,140128984,140129183,140131006, 0 SLC34A3 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 1012 NM_182633 chr7 + 55980330 56008433 55980368 56007699 4 55980330,55990854,55991299,56006674, 55980416,55990981,55991392,56008433, 0 ZNF713 cmpl cmpl 0,0,1,1, 1654 NM_001190228 chr9 + 140122017 140124090 140122787 140123538 3 140122017,140122603,140123073, 140122313,140122793,140124090, 0 RNF224 cmpl cmpl -1,0,0, 952 NM_001098532 chr12 - 48128452 48152181 48131349 48151741 27 48128452,48131804,48131975,48132472,48132925,48133923,48134087,48134424,48134697,48135287,48137312,48137769,48140642,48141326,48141494,48141856,48142236,48142601,48143172,48143523,48143712,48144123,48144830,48145181,48145505,48145698,48151648, 48131468,48131876,48132030,48132537,48133013,48133974,48134178,48134606,48134823,48135385,48137459,48137851,48140682,48141409,48141645,48141935,48142325,48142714,48143319,48143600,48143773,48144208,48144999,48145303,48145612,48145752,48152181, 0 RAPGEF3 cmpl cmpl 1,1,0,1,0,0,2,0,0,1,1,0,2,0,2,1,2,0,0,1,0,2,1,2,0,0,0, 717 NR_003607 chr22 + 17308363 17310225 17310225 17310225 2 17308363,17309431, 17308950,17310225, 0 HSFY1P1 unk unk -1,-1, 656 NM_001256867 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L30 cmpl cmpl 0, 655 NM_001256863 chr4 + 9259849 9261442 9259849 9261442 1 9259849, 9261442, 0 USP17L22 cmpl cmpl 0, 942 NR_045791 chr1 + 46805848 46830824 46830824 46830824 5 46805848,46810472,46818539,46826375,46827241, 46806591,46810634,46818700,46826500,46830824, 0 NSUN4 unk unk -1,-1,-1,-1,-1, 840 NM_018096 chr17 - 33458340 33469334 33459455 33469294 13 33458340,33460189,33460357,33462267,33463187,33463380,33464019,33464561,33464832,33466253,33466867,33468997,33469276, 33459468,33460260,33460517,33462470,33463234,33463516,33464212,33464659,33464909,33466333,33467085,33469141,33469334, 0 NLE1 cmpl cmpl 2,0,2,0,1,0,2,0,1,2,0,0,0, 743 NR_002159 chrY - 20743091 20752407 20752407 20752407 5 20743091,20749297,20750016,20750491,20752265, 20744234,20749434,20750130,20750592,20752407, 0 TTTY9B unk unk -1,-1,-1,-1,-1, 744 NR_002159 chrY + 20891767 20901083 20901083 20901083 5 20891767,20893582,20894044,20894740,20899940, 20891909,20893683,20894158,20894877,20901083, 0 TTTY9B unk unk -1,-1,-1,-1,-1, 128 NM_001164317 chr3 + 57994126 58157982 57994291 58156489 47 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58117653,58118534,58120342,58121705,58124008,58127584,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58117746,58118658,58120499,58121895,58124256,58127656,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,1,2,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 1627 NM_003413 chrX + 136648345 136654259 136648850 136652229 3 136648345,136651060,136652049, 136649910,136651224,136654259, 0 ZIC3 cmpl cmpl 0,1,0, 606 NM_003411 chrY + 2803517 2850547 2821977 2848034 8 2803517,2821949,2829114,2843135,2843551,2844710,2845980,2846850, 2803810,2822038,2829687,2843285,2843695,2844863,2846121,2850547, 0 ZFY cmpl cmpl -1,0,1,1,1,1,1,1, 90 NM_001130009 chr2 + 17935413 17966632 17941210 17963206 14 17935413,17941195,17942662,17946163,17947845,17950004,17952462,17953900,17954362,17954485,17955537,17959268,17961244,17961887, 17935612,17941371,17942849,17946340,17947956,17950078,17952554,17954051,17954399,17954566,17955668,17959330,17961388,17966632, 0 GEN1 cmpl cmpl -1,0,2,0,0,0,2,1,2,0,0,2,1,1, 600 NM_005262 chr16 + 2034149 2037750 2034219 2036029 3 2034149,2034747,2035866, 2034477,2034944,2037750, 0 GFER cmpl cmpl 0,0,2, 657 NM_145054 chr17 + 9479943 9546776 9480012 9546515 14 9479943,9489089,9490014,9497509,9501550,9503383,9511435,9515625,9531988,9536204,9538721,9541925,9545040,9546339, 9480082,9489289,9490151,9497638,9501650,9503500,9511536,9515796,9532137,9536350,9538873,9542028,9545152,9546776, 0 WDR16 cmpl cmpl 0,1,0,2,2,0,0,2,2,1,0,2,0,1, 238 NM_172071 chr1 - 173900351 173962210 173907858 173962123 19 173900351,173910402,173912579,173915613,173915883,173916506,173921123,173930214,173930862,173933110,173933976,173939642,173941646,173947625,173949946,173951864,173952555,173953636,173961892, 173908009,173910518,173912753,173915746,173915974,173916720,173921276,173930382,173931233,173933325,173934258,173939755,173941765,173947758,173950147,173952040,173952795,173953757,173962210, 0 RC3H1 cmpl cmpl 2,0,0,2,1,0,0,0,1,2,2,0,1,0,0,1,1,0,0, 1743 NM_175743 chrX + 151883074 151887096 151885595 151886540 6 151883074,151883567,151884445,151885136,151885384,151885530, 151883171,151883646,151884565,151885234,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,-1,-1,0, 1744 NM_175743 chrX - 151918386 151922408 151918942 151919887 6 151918386,151920032,151920248,151920917,151921836,151922311, 151919952,151920098,151920346,151921037,151921915,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1,-1,-1, 1743 NM_175742 chrX + 151883074 151887096 151885595 151886540 6 151883074,151883335,151883567,151884445,151885384,151885530, 151883171,151883417,151883646,151884565,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,-1,-1,0, 597 NM_182838 chr1 - 1658823 1677438 1663893 1670996 6 1658823,1666128,1669759,1670360,1670674,1677162, 1663962,1666274,1669887,1670496,1671143,1677438, 0 SLC35E2 cmpl cmpl 0,1,2,1,0,-1, 970 NR_102736 chr14 - 50474030 50506602 50506602 50506602 6 50474030,50477323,50477651,50505732,50506109,50506398, 50474137,50477403,50477744,50505975,50506187,50506602, 0 RP11-58E21.3 unk unk -1,-1,-1,-1,-1,-1, 961 NM_198562 chr3 - 49306029 49314508 49308612 49314305 3 49306029,49311481,49313859, 49308878,49311573,49314508, 0 C3orf62 cmpl cmpl 1,2,0, 2257 NM_198559 chr2 + 219221578 219232817 219221607 219232687 10 219221578,219221817,219222256,219222759,219225295,219227457,219229350,219231746,219232152,219232444, 219221632,219221910,219222457,219222815,219225382,219227625,219229475,219231823,219232241,219232817, 0 CATIP cmpl cmpl 0,1,1,1,0,0,0,2,1,0, 656 NM_001242331 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L28 cmpl cmpl 0, 2 NM_032564 chr11 + 75479777 75512581 75480036 75511553 8 75479777,75495662,75501232,75501705,75507372,75508202,75509271,75511398, 75480157,75495791,75501340,75501776,75507577,75508377,75509474,75512581, 0 DGAT2 cmpl cmpl 0,1,1,1,0,1,2,1, 2296 NM_015176 chr1 + 224301788 224349749 224301831 224345448 5 224301788,224318173,224321775,224340843,224345053, 224302098,224318283,224321914,224341039,224349749, 0 FBXO28 cmpl cmpl 0,0,2,0,1, 589 NR_036137 chr16 + 593276 593366 593366 593366 1 593276, 593366, 0 MIR3176 unk unk -1, 1339 NR_036129 chr13 + 98860777 98860854 98860854 98860854 1 98860777, 98860854, 0 MIR3170 unk unk -1, 1056 NR_036128 chr13 - 61773931 61774014 61774014 61774014 1 61773931, 61774014, 0 MIR3169 unk unk -1, 1132 NR_036123 chr11 - 71783273 71783348 71783348 71783348 1 71783273, 71783348, 0 MIR3165 unk unk -1, 1037 NR_036120 chr11 - 59362549 59362631 59362631 59362631 1 59362549, 59362631, 0 MIR3162 unk unk -1, 939 NR_036118 chr11 + 46473356 46473437 46473437 46473437 1 46473356, 46473437, 0 MIR3160-2 unk unk -1, 939 NR_036117 chr11 - 46473354 46473439 46473439 46473439 1 46473354, 46473439, 0 MIR3160-1 unk unk -1, 1373 NR_036115 chr10 - 103361173 103361254 103361254 103361254 1 103361173, 103361254, 0 MIR3158-2 unk unk -1, 1373 NR_036114 chr10 + 103361173 103361254 103361254 103361254 1 103361173, 103361254, 0 MIR3158-1 unk unk -1, 1331 NR_036113 chr10 - 97824071 97824156 97824156 97824156 1 97824071, 97824156, 0 MIR3157 unk unk -1, 933 NR_036112 chr10 + 45659461 45659536 45659536 45659536 1 45659461, 45659536, 0 MIR3156-1 unk unk -1, 632 NR_036111 chr10 + 6194158 6194240 6194240 6194240 1 6194158, 6194240, 0 MIR3155A unk unk -1, 1034 NM_138466 chr19 - 58878989 58892389 58879103 58880699 3 58878989,58881185,58892307, 58880728,58881295,58892389, 0 ZNF837 cmpl cmpl 0,-1,-1, 296 NM_173508 chr1 + 234040678 234460262 234040823 234458989 8 234040678,234041274,234367162,234444846,234452347,234454496,234455843,234458753, 234040876,234041504,234367487,234445066,234452473,234454689,234455933,234460262, 0 SLC35F3 cmpl cmpl 0,2,1,2,0,0,1,1, 1102 NM_001288994 chr16 + 67840780 67861971 67859873 67861896 11 67840780,67848204,67859039,67859569,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67859175,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,-1,0,1,0,0,0,2,0,2, 1721 NR_036573 chr7 + 148982371 148994403 148994403 148994403 11 148982371,148984655,148985521,148986638,148987028,148989301,148990467,148990841,148991470,148991630,148994141, 148982587,148984867,148986548,148986817,148987129,148989399,148990583,148991107,148991503,148992274,148994403, 0 LOC155060 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1492 NM_001164277 chr11 - 118895060 118901616 118895619 118900079 11 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899931,118900941,118901558, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118900274,118901445,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,1,0,-1,-1, 1329 NM_016490 chr2 - 97541618 97563870 97542012 97559758 5 97541618,97543626,97544152,97559662,97563650, 97542045,97543779,97544230,97559788,97563870, 0 FAM178B cmpl cmpl 0,0,0,0,-1, 955 NM_016479 chr3 - 48509196 48541682 48510505 48541527 6 48509196,48510759,48511126,48520585,48538569,48541451, 48510585,48510972,48511242,48520666,48538726,48541682, 0 SHISA5 cmpl cmpl 1,1,2,2,1,0, 1574 NM_016478 chr7 - 129658125 129691291 129658503 129691206 10 129658125,129662158,129663350,129664102,129665997,129668741,129679303,129680790,129688872,129691060, 129658572,129662365,129663563,129664346,129666152,129668869,129679387,129680941,129688984,129691291, 0 ZC3HC1 cmpl cmpl 0,0,0,2,0,1,1,0,2,0, 121 NM_006575 chr14 - 50885210 50999376 50886736 50998767 32 50885210,50889838,50892624,50895379,50895909,50901111,50901679,50904193,50904611,50906730,50907079,50909449,50910446,50910656,50911758,50912796,50914131,50915491,50923233,50929382,50930769,50933300,50935368,50941794,50942845,50942976,50949078,50952295,50952821,50971517,50998659,50999165, 50886824,50889894,50892695,50895472,50895978,50901289,50901783,50904252,50904729,50906791,50907159,50909534,50910488,50910754,50911912,50912839,50914199,50915550,50923312,50929499,50930851,50933363,50935500,50941867,50942888,50943024,50949134,50952360,50952912,50971575,50998876,50999376, 0 MAP4K5 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0,-1, 792 NM_022078 chr1 - 27216978 27226962 27217500 27226933 7 27216978,27218901,27219160,27219879,27220726,27223791,27226482, 27217717,27219029,27219282,27219939,27220901,27224216,27226962, 0 GPATCH3 cmpl cmpl 2,0,1,1,0,1,0, 14 NM_001203252 chr17 + 43971747 44105699 44039703 44101537 11 43971747,44039686,44049224,44051750,44055740,44064405,44068825,44073764,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44064461,44068952,44074030,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,0,1,0,1,0, 159 NM_022769 chr15 + 91073117 91188577 91073303 91185372 15 91073117,91083270,91136867,91145555,91147616,91150609,91157684,91161114,91162972,91169007,91172465,91181677,91181966,91184328,91185163, 91073435,91083369,91136987,91145617,91147679,91150710,91157720,91161200,91163022,91169225,91172764,91181878,91182047,91184431,91188577, 0 CRTC3 cmpl cmpl 0,0,0,0,2,2,1,1,0,2,1,0,0,0,1, 2127 NM_139163 chr2 - 202153146 202222101 202153377 202216127 15 202153146,202154179,202154418,202163960,202172241,202173873,202195192,202195458,202207092,202208892,202211264,202212976,202215433,202216014,202221704, 202153504,202154289,202154577,202164023,202172345,202173973,202195245,202195556,202207154,202208986,202211398,202213025,202215505,202216174,202222101, 0 ALS2CR12 cmpl cmpl 2,0,0,0,1,0,1,2,0,2,0,2,2,0,-1, 837 NM_139160 chr11 + 33037727 33055128 33038085 33055001 9 33037727,33047204,33049231,33050148,33052923,33053881,33054213,33054434,33054807, 33038131,33047595,33049359,33050338,33053135,33054024,33054339,33054513,33055128, 0 DEPDC7 cmpl cmpl 0,1,2,1,2,1,0,0,1, 132 NM_006313 chr12 + 62654120 62803501 62654195 62798155 21 62654120,62687959,62696570,62708570,62715244,62719652,62749111,62775270,62777620,62777858,62783210,62783384,62783576,62784643,62784936,62785595,62786051,62786832,62790074,62794966,62797972, 62654284,62688087,62696701,62708697,62715390,62719714,62749256,62775444,62777779,62778083,62783294,62783479,62783768,62784759,62785209,62785666,62786167,62786982,62790178,62795055,62803501, 0 USP15 cmpl cmpl 0,2,1,0,1,0,2,0,0,0,0,0,2,2,1,1,0,2,2,1,0, 811 NM_001170418 chr6 + 29624757 29640149 29624986 29638962 7 29624757,29633928,29635419,29635680,29637950,29638477,29638948, 29625074,29634042,29635440,29635701,29637998,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 144 NR_027749 chr2 + 74710199 74721691 74721691 74721691 12 74710199,74710448,74717370,74717782,74718254,74718421,74718607,74719130,74719265,74719430,74719772,74720048, 74710262,74710537,74717600,74717866,74718311,74718502,74718793,74719182,74719356,74719572,74719874,74721691, 0 TTC31 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1312 NR_039817 chr9 - 95290265 95290340 95290340 95290340 1 95290265, 95290340, 0 MIR4670 unk unk -1, 635 NR_039807 chr8 - 6602688 6602761 6602761 6602761 1 6602688, 6602761, 0 MIR4659B unk unk -1, 1580 NM_001134431 chr9 - 130493802 130497628 130495771 130497549 2 130493802,130497398, 130495839,130497628, 0 TOR2A cmpl cmpl 1,0, 1580 NM_001134430 chr9 - 130493802 130497628 130494421 130497549 4 130493802,130495663,130496577,130497398, 130494557,130495839,130496843,130497628, 0 TOR2A cmpl cmpl 2,0,1,0, 1352 NR_047483 chr13 - 100647153 100650163 100650163 100650163 1 100647153, 100650163, 0 LINC00554 unk unk -1, 701 NR_046559 chr12 + 15304856 15308215 15308215 15308215 3 15304856,15307173,15308129, 15305004,15307274,15308215, 0 RERG-AS1 unk unk -1,-1,-1, 952 NM_001199900 chr17 + 48172638 48183735 48172799 48183516 4 48172638,48174786,48182734,48183248, 48172917,48174928,48182806,48183735, 0 PDK2 cmpl cmpl 0,1,2,2, 97 NM_000965 chr3 + 25469833 25639422 25470222 25638107 8 25469833,25502683,25542672,25611248,25622036,25634993,25636010,25637910, 25470379,25502832,25542814,25611409,25622213,25635198,25636169,25639422, 0 RARB cmpl cmpl 0,1,0,1,0,0,1,1, 14 NM_001145109 chr12 - 44902057 45269444 44902716 45269341 20 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269289, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269444, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,0, 889 NM_001167959 chr2 + 39892637 39945104 39934220 39944391 4 39892637,39931220,39934188,39944149, 39892780,39931334,39934326,39945104, 0 TMEM178A cmpl cmpl -1,-1,0,1, 14 NM_001145108 chr12 - 44902057 45270247 44902716 45269652 20 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45270247, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,0, 22 NR_015395 chr2 - 112124590 112252692 112252692 112252692 2 112124590,112252461, 112125152,112252692, 0 MIR4435-1HG unk unk -1,-1, 140 NM_001159770 chr17 - 70642084 71088853 70643722 71084903 10 70642084,70644941,70645308,70732788,70845772,70943869,71027694,71080946,71084795,71088749, 70643801,70645100,70645407,70732858,70845943,70944014,71027853,71080985,71084914,71088853, 0 SLC39A11 cmpl cmpl 2,2,2,1,1,0,0,0,0,-1, 776 NR_001525 chrY + 25082601 25119431 25119431 25119431 4 25082601,25109774,25111654,25118430, 25082762,25109850,25111762,25119431, 0 TTTY4 unk unk -1,-1,-1,-1, 957 NM_001282648 chrX - 48760888 48769235 48761866 48769154 4 48760888,48763668,48767090,48769135, 48762169,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 969 NM_001126104 chr12 - 50382944 50419307 50384050 50410498 17 50382944,50384466,50385780,50386027,50386332,50387913,50388196,50390822,50392923,50393398,50394954,50396029,50398017,50399038,50400216,50410413,50419110, 50384126,50384575,50385916,50386160,50386438,50388112,50388292,50390987,50393054,50393516,50395035,50396083,50398087,50399175,50400419,50410502,50419307, 0 RACGAP1 cmpl cmpl 2,1,0,2,1,0,0,0,1,0,0,0,2,0,1,0,-1, 128 NM_001130099 chr16 - 57792128 57831929 57793060 57805562 19 57792128,57793036,57793639,57794193,57794637,57794953,57795324,57796051,57798054,57799370,57800785,57803506,57803719,57804438,57805109,57805454,57806134,57828910,57831616, 57792821,57793065,57793748,57794328,57794867,57795083,57795448,57796182,57798159,57799552,57800897,57803637,57803867,57804612,57805349,57805598,57806200,57829053,57831929, 0 KIFC3 cmpl cmpl -1,1,0,0,1,0,2,0,0,1,0,1,0,0,0,0,-1,-1,-1, 912 NM_057161 chr6 + 42981840 42989036 42984930 42988471 11 42981840,42984871,42985256,42985590,42985882,42986080,42986370,42986600,42986829,42987025,42988404, 42982086,42985084,42985433,42985706,42985954,42986294,42986457,42986709,42986903,42987104,42989036, 0 KLHDC3 cmpl cmpl -1,0,1,1,0,0,1,1,2,1,2, 595 NM_001161532 chrY + 1337692 1378828 1357707 1378372 11 1337692,1351570,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1351672,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,2,1,0,0,1,2,0, 595 NM_001161531 chrX + 1387692 1424711 1401596 1424628 13 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1424520, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1424711, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 595 NM_001161531 chrY + 1337692 1374711 1351596 1374628 13 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1374520, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1374711, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 1004 NM_014481 chrX + 55026755 55034306 55026855 55033868 6 55026755,55027978,55028683,55029394,55030231,55032950, 55027012,55028062,55028864,55029541,55030301,55034306, 0 APEX2 cmpl cmpl 0,1,1,2,2,0, 895 NM_016556 chr17 - 40724327 40729849 40724985 40729704 8 40724327,40725124,40725328,40725495,40726116,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,0,1,0, 3 NM_001197114 chr3 + 158787040 159615155 158787221 159614563 10 158787040,158963631,158980336,159482231,159583951,159603995,159605496,159606608,159609885,159614511, 158787230,158963696,158980472,159482927,159584070,159604113,159605694,159606732,159609979,159615155, 0 IQCJ-SCHIP1 cmpl cmpl 0,0,2,0,0,2,0,0,1,2, 164 NM_001289071 chr10 + 96305523 96361856 96322570 96361379 23 96305523,96306133,96313882,96316935,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96316979,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,-1,-1,0,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 738 NM_013373 chr22 + 20119363 20135530 20119470 20132923 11 20119363,20126716,20127000,20127242,20127637,20128139,20128393,20128739,20128943,20130278,20132751, 20119574,20126838,20127158,20127415,20127740,20128231,20128535,20128860,20129053,20131279,20135530, 0 ZDHHC8 cmpl cmpl 0,2,1,0,2,0,2,0,1,0,2, 1653 NM_013366 chr9 - 140069235 140083057 140069393 140082984 13 140069235,140069688,140070159,140074632,140074903,140075239,140076132,140077576,140078123,140079364,140080675,140081932,140082867, 140069606,140069924,140070289,140074836,140074979,140075381,140076314,140077694,140078243,140079539,140080808,140082555,140083057, 0 ANAPC2 cmpl cmpl 0,1,0,0,2,1,2,1,1,0,2,0,0, 961 NM_001286957 chr12 + 49297892 49315359 49308315 49315226 8 49297892,49298743,49308186,49310752,49312057,49312467,49314712,49314950, 49298226,49298896,49308356,49310891,49312255,49312686,49314865,49315359, 0 CCDC65 cmpl cmpl -1,-1,0,2,0,0,0,0, 273 NM_031845 chr2 + 210444402 210598834 210517894 210595121 12 210444402,210444759,210489776,210517865,210543295,210545473,210565000,210570303,210574637,210590432,210594573,210594905, 210444479,210444824,210489853,210518156,210543409,210545551,210565062,210570451,210574978,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,0,1,1,1,0,1,0,1,0, 969 NM_152899 chr19 - 50392913 50400147 50392926 50399417 8 50392913,50394227,50394661,50397524,50398324,50399071,50399404,50400091, 50393857,50394364,50394730,50397726,50398437,50399310,50399439,50400147, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1, 907 NM_001207020 chr22 - 42305557 42310671 42305768 42310671 4 42305557,42306411,42307219,42310141, 42306151,42306558,42307353,42310671, 0 SHISA8 cmpl cmpl 1,1,2,0, 1478 NM_001207049 chr11 - 117156401 117166386 117160281 117166263 8 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117166213, 117160523,117161375,117161765,117162529,117163904,117164649,117166063,117166386, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0, 1285 NM_194455 chr7 - 91828282 91875414 91830049 91871449 19 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91874778, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874448,91875414, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1, 1583 NM_197956 chr9 - 130823511 130829599 130825706 130829380 2 130823511,130828869, 130826179,130829599, 0 NAIF1 cmpl cmpl 1,0, 102 NM_012429 chr22 + 30792929 30821291 30793105 30818396 12 30792929,30795631,30802330,30803083,30803403,30805175,30805414,30806584,30811747,30811936,30812222,30818265, 30793159,30795707,30802374,30803143,30803592,30805271,30805475,30806668,30811854,30812076,30812392,30821291, 0 SEC14L2 cmpl cmpl 0,0,1,0,0,0,0,1,1,0,2,1, 91 NM_198207 chr19 - 18988717 19006953 18989734 19006881 6 18988717,18990049,18991082,18994895,19004224,19006632, 18989848,18990197,18991244,18995076,19004384,19006953, 0 CERS1 cmpl cmpl 0,2,2,1,0,0, 2400 NM_198189 chr2 + 237994083 238007489 237995838 238006385 9 237994083,237995374,237995769,237997247,237998504,238002732,238004464,238005464,238006305, 237994685,237995439,237995840,237997296,237998637,238002840,238004527,238005512,238007489, 0 COPS8 cmpl cmpl -1,-1,0,2,0,1,1,1,1, 120 NM_015953 chr19 - 50058724 50083829 50059007 50063948 10 50058724,50059573,50059805,50060131,50060346,50062153,50063190,50063878,50080015,50083771, 50059079,50059682,50059993,50060250,50060506,50062235,50063296,50063949,50080134,50083829, 0 NOSIP cmpl cmpl 0,2,0,1,0,2,1,0,-1,-1, 164 NM_001289070 chr10 + 96305523 96361856 96305678 96361379 20 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,1,2,1, 1706 NM_001185075 chrX + 146993468 147032647 146993697 147030350 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147019617,147022094,147026463,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147019680,147022181,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,0,0,2, 704 NM_020652 chr17 + 15602890 15624100 15603643 15620604 6 15602890,15603361,15604465,15609700,15611468,15619372, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,0,1,0,1,1, 907 NM_001135694 chr8 + 42249278 42263455 42251729 42262980 10 42249278,42251362,42251727,42252601,42256229,42257168,42259305,42260828,42262384,42262888, 42249446,42251402,42251796,42252654,42256382,42257221,42259533,42260979,42262442,42263455, 0 VDAC3 cmpl cmpl -1,-1,0,1,0,0,2,2,0,1, 1420 NM_001145375 chr12 - 109525992 109531293 109526010 109530591 4 109525992,109527813,109530311,109531154, 109526317,109528012,109530592,109531293, 0 ALKBH2 cmpl cmpl 2,1,0,-1, 250 NM_001145675 chr4 - 186506597 186578123 186508780 186577792 15 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186567821,186570620,186572937,186573815,186577768, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186567936,186570810,186572982,186573882,186578123, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,2,1,1,0,0, 616 NM_030662 chr19 - 4090319 4124126 4090595 4123872 11 4090319,4094450,4095385,4097276,4099198,4101016,4101226,4102373,4110506,4117416,4123780, 4090706,4094496,4095447,4097341,4099412,4101141,4101278,4102451,4110653,4117627,4124126, 0 MAP2K2 cmpl cmpl 0,2,0,1,0,1,0,0,0,2,0, 941 NM_017931 chr22 + 46663860 46689905 46663936 46688781 14 46663860,46664410,46668231,46669794,46671144,46674482,46677495,46679869,46681137,46682969,46684319,46685298,46685722,46688687, 46663969,46664488,46668313,46669966,46671318,46674558,46677615,46679929,46681176,46683051,46684485,46685458,46685796,46689905, 0 TTC38 cmpl cmpl 0,0,0,1,2,2,0,0,0,0,1,2,0,2, 295 NM_015575 chr2 + 233562014 233725289 233599907 233721570 31 233562014,233565294,233568133,233599126,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655407,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233565364,233568199,233599196,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,-1,-1,-1,0,2,0,0,1,2,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 980 NM_177537 chrX - 51804922 51812368 51805325 51811268 13 51804922,51805317,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4B cmpl cmpl -1,0,2,2,1,2,0,1,0,0,0,0,-1, 3 NM_001161662 chr5 + 167719064 167899308 167719157 167896022 23 167719064,167798428,167812215,167824728,167826492,167833202,167835511,167836926,167841352,167849012,167850537,167855037,167855711,167857141,167858256,167868686,167871498,167880972,167882360,167887654,167891715,167894847,167895955, 167719276,167798538,167812419,167824805,167826572,167833332,167835658,167837000,167841595,167849102,167851073,167855146,167855792,167857228,167858449,167868839,167871590,167881105,167882525,167887747,167891967,167894969,167899308, 0 WWC1 cmpl cmpl 0,2,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 185 NM_001172815 chr8 + 117963189 118188953 118159268 118184920 11 117963189,118051457,118147518,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 117963358,118051497,118147637,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,-1,-1,0,1,1,2,0,1,1, 185 NM_001172813 chr8 + 117963189 118188953 118159268 118184920 11 117963189,118019229,118147470,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 117963358,118019352,118147637,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,-1,-1,0,1,1,2,0,1,1, 989 NM_175053 chr12 - 52959602 52967609 52960752 52967561 9 52959602,52961442,52961952,52963642,52964452,52965142,52965727,52966236,52967090, 52960952,52961477,52962173,52963768,52964617,52965238,52965788,52966451,52967609, 0 KRT74 cmpl cmpl 1,2,0,0,0,0,2,0,0, 590 NM_174940 chr11 + 695590 704131 695608 703150 5 695590,698868,700141,700614,702944, 695822,698888,700235,700707,704131, 0 TMEM80 cmpl cmpl 0,1,0,1,1, 914 NM_024097 chr1 + 43232915 43241413 43232982 43241065 5 43232915,43233179,43239233,43240407,43240879, 43233061,43233295,43239320,43240539,43241413, 0 C1orf50 cmpl cmpl 0,1,0,0,0, 1865 NM_018417 chr1 - 167778624 167883453 167778914 167874378 33 167778624,167779961,167787309,167791261,167792245,167793713,167793888,167798504,167802224,167803207,167805546,167806486,167814800,167815222,167817598,167823590,167825402,167829044,167830108,167839494,167844368,167847683,167849352,167849728,167852674,167863090,167865832,167868660,167870899,167871253,167873124,167874230,167883213, 167779076,167780150,167787505,167791379,167792361,167793810,167794093,167798661,167802400,167803315,167805778,167806556,167815091,167815501,167817727,167823727,167825677,167829131,167830301,167839648,167844424,167847873,167849429,167849847,167852866,167863179,167865929,167868866,167871043,167871292,167873229,167874436,167883453, 0 ADCY10 cmpl cmpl 0,0,2,1,2,1,0,2,0,0,2,1,1,1,1,2,0,0,2,1,2,1,2,0,0,1,0,1,1,1,1,0,-1, 1190 NR_002714 chr2 - 79362628 79365553 79365553 79365553 1 79362628, 79365553, 0 REG1P unk unk -1, 1818 NM_007240 chr1 + 161719580 161726952 161719591 161726737 6 161719580,161721457,161721655,161722157,161722864,161726575, 161719935,161721571,161721774,161722254,161723051,161726952, 0 DUSP12 cmpl cmpl 0,2,2,1,2,0, 19 NM_016931 chr11 - 89057521 89224653 89059923 89224414 18 89057521,89069012,89070614,89073230,89075241,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89224357, 89060044,89069113,89070683,89073339,89075361,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185063,89223721,89224653, 0 NOX4 cmpl cmpl 2,0,0,2,2,1,0,0,0,2,2,1,0,1,0,0,0,0, 670 NM_054028 chr8 + 11188494 11189695 11188615 11189632 1 11188494, 11189695, 0 SLC35G5 cmpl cmpl 0, 726 NM_018314 chr11 - 18552949 18610293 18554018 18610201 11 18552949,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18596893,18600270,18610159, 18554034,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18596959,18600355,18610293, 0 UEVLD cmpl cmpl 2,1,1,1,0,1,0,1,1,0,0, 273 NM_031847 chr2 + 210444402 210598834 210517894 210595121 13 210444402,210444759,210489776,210517865,210543295,210545473,210565000,210570303,210574637,210588318,210590432,210594573,210594905, 210444479,210444824,210489853,210518156,210543409,210545551,210565062,210570451,210574978,210588411,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,0,1,1,1,0,1,0,0,1,0, 1890 NR_049854 chr1 + 171070879 171070939 171070939 171070939 1 171070879, 171070939, 0 MIR1295B unk unk -1, 1061 NM_001079559 chr11 - 62480096 62494857 62482770 62494628 14 62480096,62482971,62483335,62484460,62487494,62488766,62489291,62489588,62490072,62490284,62491058,62491385,62491762,62494090, 62482851,62483079,62483409,62484661,62487663,62488895,62489414,62489852,62490185,62490375,62491198,62491462,62491898,62494857, 0 HNRNPUL2 cmpl cmpl 0,0,1,1,0,0,0,0,1,0,1,2,1,0, 697 NR_029875 chr8 - 14710946 14711019 14711019 14711019 1 14710946, 14711019, 0 MIR383 unk unk -1, 974 NM_012324 chr22 + 51039130 51049979 51039247 51049207 12 51039130,51040217,51041651,51042054,51042269,51043795,51043989,51044252,51045085,51045348,51048639,51049134, 51039312,51040323,51041927,51042148,51043492,51043871,51044162,51044362,51045193,51045419,51048738,51049979, 0 MAPK8IP2 cmpl cmpl 0,2,0,0,1,1,2,1,0,0,2,2, 1743 NM_153488 chrX + 151885383 151887079 151885595 151886540 2 151885383,151885530, 151885450,151887079, 0 MAGEA2B cmpl cmpl -1,0, 1744 NM_153488 chrX - 151918403 151920099 151918942 151919887 2 151918403,151920032, 151919952,151920099, 0 MAGEA2B cmpl cmpl 0,-1, 2296 NM_001136115 chr1 + 224301788 224349749 224301831 224345077 4 224301788,224318173,224321775,224345053, 224302098,224318283,224321914,224349749, 0 FBXO28 cmpl cmpl 0,0,2,0, 861 NM_001123392 chr17 + 36284002 36294971 36285544 36294600 14 36284002,36285543,36285778,36287147,36287669,36288193,36288630,36289993,36290585,36291419,36291898,36292427,36292897,36294031, 36284115,36285616,36285864,36287187,36287750,36288301,36288740,36290042,36290706,36291514,36291964,36292527,36293050,36294971, 0 TBC1D3H cmpl cmpl -1,0,0,2,0,0,0,2,0,1,0,0,1,1, 91 NM_021267 chr19 - 18979360 19006953 18981385 19006881 8 18979360,18980791,18989738,18990049,18991082,18994895,19004224,19006632, 18980199,18981428,18989848,18990197,18991244,18995076,19004384,19006953, 0 CERS1 cmpl cmpl -1,2,0,2,2,1,0,0, 1145 NM_021260 chr14 - 73436152 73493920 73437589 73491216 12 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73459850,73464518,73490733,73493633, 73437822,73440901,73441667,73442429,73444752,73444942,73445677,73448603,73460065,73465023,73491650,73493920, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,1,0,0,-1, 1055 NR_024340 chr10 - 61717974 61720671 61720671 61720671 2 61717974,61720608, 61719726,61720671, 0 C10orf40 unk unk -1,-1, 933 NR_033252 chr15 + 45670897 45672321 45672321 45672321 1 45670897, 45672321, 0 GATM-AS1 unk unk -1, 158 NM_153636 chr16 + 89642175 89663654 89642305 89663029 15 89642175,89643946,89650104,89650435,89651181,89651871,89652094,89653077,89653450,89655082,89656304,89657414,89657534,89661774,89662891, 89642479,89644129,89650179,89650510,89651265,89651961,89652193,89653164,89653510,89655216,89656359,89657466,89657668,89662011,89663654, 0 CPNE7 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,2,0,1,0,0, 1152 NM_001142602 chr17 + 74381288 74383941 74381725 74383667 5 74381288,74382065,74382301,74382473,74382886, 74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl 0,1,1,0,2, 1152 NM_001142601 chr17 + 74380689 74383941 74381725 74383667 6 74380689,74381531,74382065,74382301,74382473,74382886, 74380887,74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl -1,0,1,1,0,2, 199 NM_001164619 chrX - 132669775 133119673 132670151 133119476 7 132669775,132730467,132795757,132826396,132833922,132887508,133119301, 132670321,132730627,132795878,132826522,132834056,132888203,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,1,0, 925 NM_020708 chr20 + 44657820 44688789 44657983 44686244 26 44657820,44663586,44664042,44664415,44665379,44665893,44669011,44669967,44671791,44672271,44672514,44673604,44674516,44674976,44676092,44676619,44678260,44680313,44681595,44682216,44683554,44684788,44685003,44685535,44685808,44686152, 44658035,44663681,44664174,44664562,44665434,44666024,44669253,44670179,44671962,44672370,44672572,44673779,44674635,44675075,44676212,44676724,44678429,44680509,44681765,44682348,44683662,44684911,44685203,44685550,44685942,44688789, 0 SLC12A5 cmpl cmpl 0,1,0,0,0,1,0,2,1,1,1,2,0,2,2,2,2,0,1,0,0,0,0,2,2,1, 163 NM_020698 chr12 - 94960899 95044324 94965210 95044206 4 94960899,94972169,94975397,95044128, 94965513,94972305,94976314,95044324, 0 TMCC3 cmpl cmpl 0,2,0,0, 1351 NM_015831 chr7 - 100487614 100493541 100488578 100491853 5 100487614,100488789,100489954,100490785,100493422, 100488709,100488959,100490439,100491873,100493541, 0 ACHE cmpl cmpl 1,2,0,0,-1, 2264 NM_018713 chr1 - 220087605 220101993 220088790 220101782 4 220087605,220091596,220100369,220101142, 220089290,220091836,220100447,220101993, 0 SLC30A10 cmpl cmpl 1,1,1,0, 1112 NM_018656 chr12 + 69139935 69159853 69140157 69158670 5 69139935,69141709,69145811,69152936,69158483, 69140559,69141820,69145970,69153019,69159853, 0 SLC35E3 cmpl cmpl 0,0,0,0,2, 1319 NM_001130140 chr5 + 96211643 96255406 96215389 96253309 19 96211643,96215267,96219495,96222358,96224888,96228002,96230949,96232076,96232435,96235824,96237209,96237977,96239080,96244664,96245283,96248340,96249020,96251391,96253165, 96211794,96215964,96219634,96222493,96225009,96228157,96231063,96232208,96232567,96235893,96237385,96238057,96239264,96244821,96245468,96248502,96249161,96251473,96255406, 0 ERAP2 cmpl cmpl -1,0,2,0,0,1,0,0,0,0,0,2,1,2,0,2,2,2,0, 13 NM_004734 chr13 - 36342788 36705514 36348778 36700274 18 36342788,36362348,36367502,36379835,36382360,36383154,36384971,36396865,36401771,36402386,36410169,36413228,36428635,36445360,36521494,36686005,36699898,36705250, 36348836,36362422,36367616,36379916,36382457,36383232,36385105,36397012,36401891,36402444,36410278,36413313,36428730,36445477,36521594,36686352,36700293,36705514, 0 DCLK1 cmpl cmpl 2,0,0,0,2,2,0,0,0,2,1,0,1,1,0,1,0,-1, 240 NM_001130703 chr4 + 175839508 175899331 175896676 175899139 4 175839508,175841837,175852136,175896496, 175839622,175841943,175852325,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,0, 1778 NM_012206 chr5 - 156456530 156485487 156456743 156484954 8 156456530,156459864,156464257,156469637,156476048,156479371,156482211,156484908, 156456852,156459898,156464372,156469693,156476156,156479665,156482544,156485487, 0 HAVCR1 cmpl cmpl 2,1,0,1,1,1,1,0, 1653 NM_007327 chr9 + 140033608 140063214 140033938 140061979 20 140033608,140036464,140040177,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140059637,140061862, 140034196,140036599,140040354,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140059748,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0,0, 1179 NM_000318 chr8 - 77892493 77912524 77895496 77896414 4 77892493,77898422,77900542,77912225, 77896431,77898532,77900574,77912524, 0 PEX2 cmpl cmpl 0,-1,-1,-1, 91 NM_001492 chr19 - 18979360 19006953 18979405 18981116 8 18979360,18980791,18989738,18990049,18991082,18994895,19004224,19006632, 18980199,18981428,18989848,18990197,18991244,18995076,19004384,19006953, 0 GDF1 cmpl cmpl 1,0,-1,-1,-1,-1,-1,-1, 892 NM_004583 chr17 - 40276993 40307062 40277800 40282520 6 40276993,40278772,40280278,40280666,40282354,40306910, 40277916,40278866,40280401,40280818,40282608,40307062, 0 RAB5C cmpl cmpl 1,0,0,1,0,-1, 1350 NR_003260 chr15 - 100330360 100347132 100347132 100347132 5 100330360,100339836,100341179,100345004,100347000, 100333101,100340459,100341384,100345134,100347132, 0 DNM1P46 unk unk -1,-1,-1,-1,-1, 813 NR_001317 chr6 - 29892368 29894992 29894992 29894992 2 29892368,29893700, 29893662,29894992, 0 HCG4B unk unk -1,-1, 1257 NM_173824 chr3 + 88198892 88207115 88199202 88205785 3 88198892,88202379,88205170, 88199335,88202621,88207115, 0 C3orf38 cmpl cmpl 0,1,0, 19 NM_001143837 chr11 - 89057521 89322779 89059923 89223706 21 89057521,89069012,89070614,89073230,89075241,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89225288,89231164,89279804,89322607, 89060044,89069113,89070683,89073339,89075361,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185063,89223721,89225387,89231355,89279863,89322779, 0 NOX4 cmpl cmpl 2,0,0,2,2,1,0,0,0,2,2,1,0,1,0,0,0,-1,-1,-1,-1, 1127 NM_001163817 chr11 - 71145456 71159477 71146420 71155998 9 71145456,71148857,71149924,71152272,71153308,71155038,71155900,71158655,71159358, 71146885,71148989,71150129,71152486,71153399,71155261,71156004,71158780,71159477, 0 DHCR7 cmpl cmpl 0,0,2,1,0,2,0,-1,-1, 991 NM_198066 chr14 - 53241910 53258386 53245028 53251368 6 53241910,53247396,53248501,53250140,53251214,53258145, 53245176,53247458,53248629,53250203,53251382,53258386, 0 GNPNAT1 cmpl cmpl 2,0,1,1,0,-1, 593 NM_178578 chr20 + 1093905 1148426 1099416 1145724 8 1093905,1099395,1106140,1108068,1115763,1143773,1144961,1145672, 1094052,1099545,1106293,1108151,1115949,1143827,1145120,1148426, 0 PSMF1 cmpl cmpl -1,0,0,0,2,2,2,2, 117 NM_133443 chr16 + 46918307 46965201 46918627 46962909 12 46918307,46918605,46931559,46934593,46940753,46943595,46950539,46952532,46956153,46958300,46960836,46962818, 46918379,46918870,46931649,46934702,46940887,46943839,46950619,46952669,46956328,46958456,46960949,46965201, 0 GPT2 cmpl cmpl -1,0,0,0,1,0,1,0,2,0,0,2, 635 NM_001272053 chr4 + 6641817 6644470 6642589 6642973 3 6641817,6642554,6643456, 6642435,6642985,6644470, 0 MRFAP1 cmpl cmpl -1,0,-1, 948 NM_175732 chr11 + 47586981 47595013 47587174 47593181 4 47586981,47587457,47591251,47593022, 47587348,47587538,47591443,47595013, 0 PTPMT1 cmpl cmpl 0,0,0,0, 898 NM_025267 chr17 - 41102542 41132020 41102609 41131634 17 41102542,41103816,41105740,41106892,41107174,41107858,41108220,41108420,41109154,41113208,41116122,41122305,41123623,41131186,41131394,41131566,41131921, 41102745,41103911,41105795,41106984,41107241,41107989,41108337,41108577,41109212,41113368,41116254,41122359,41123713,41131285,41131461,41131680,41132020, 0 PTGES3L-AARSD1 cmpl cmpl 2,0,2,0,2,0,0,2,1,0,0,0,0,0,2,0,-1, 957 NM_153608 chr19 + 48774653 48790863 48783056 48790135 5 48774653,48774983,48782987,48785627,48789017, 48774706,48775085,48783065,48785754,48790863, 0 ZNF114 cmpl cmpl -1,-1,0,0,1, 143 NM_006077 chr10 - 74127083 74385949 74127952 74326551 12 74127083,74135540,74167686,74182991,74234857,74236931,74267912,74293503,74310936,74322652,74326390,74385767, 74128113,74135630,74167795,74183129,74235055,74237014,74268033,74293547,74311099,74322821,74326552,74385949, 0 MICU1 cmpl cmpl 1,1,0,0,0,1,0,1,0,2,0,-1, 17 NM_080760 chr13 - 72012097 72441330 72014786 72440907 8 72012097,72049272,72049837,72053300,72063128,72204687,72255926,72440053, 72014824,72049341,72049981,72053448,72063280,72204849,72256042,72441330, 0 DACH1 cmpl cmpl 1,1,1,0,1,1,2,0, 17 NM_080759 chr13 - 72012097 72441330 72014786 72440907 11 72012097,72049272,72049837,72053300,72063128,72131155,72133951,72146971,72204687,72255926,72440053, 72014824,72049341,72049981,72053448,72063280,72131290,72134087,72147144,72204849,72256042,72441330, 0 DACH1 cmpl cmpl 1,1,1,0,1,1,0,1,1,2,0, 989 NM_080747 chr12 - 52979372 52995322 52979765 52995236 9 52979372,52980729,52981414,52984619,52985247,52986179,52986675,52992681,52994810, 52979956,52980764,52981635,52984745,52985412,52986275,52986736,52992896,52995322, 0 KRT72 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1418 NM_001161330 chr12 - 109185694 109251359 109185875 109251272 14 109185694,109192775,109194555,109196097,109198831,109200076,109201408,109203468,109205035,109210813,109212024,109217033,109246413,109251203, 109186605,109192976,109194702,109196144,109198960,109200170,109201603,109203534,109205104,109210935,109212089,109217137,109246454,109251359, 0 SSH1 cmpl cmpl 2,2,2,0,0,2,2,2,2,0,1,2,0,0, 980 NM_001159969 chr1 - 51819934 51887793 51822371 51887628 13 51819934,51826842,51829537,51831624,51860052,51864703,51866589,51868106,51869090,51871576,51873806,51875206,51887457, 51822518,51827027,51829700,51831701,51860119,51864837,51866625,51868197,51869204,51871780,51874004,51875368,51887793, 0 EPS15 cmpl cmpl 0,1,0,1,0,1,1,0,0,0,0,0,0, 786 NM_001191033 chr2 + 26403584 26412532 26405340 26411126 6 26403584,26405835,26407101,26409057,26410099,26410583, 26405362,26405966,26408145,26409227,26410184,26412532, 0 GAREML cmpl cmpl 0,1,0,0,2,0, 118 NM_207499 chr6 - 47867344 48036425 47869642 48036391 3 47867344,47976369,48035965, 47869671,47976850,48036425, 0 PTCHD4 cmpl cmpl 1,0,0, 0 NM_207481 chr2 - 133429371 134326031 133430861 134275097 18 133429371,133483199,133486388,133489309,133531388,133547595,133554200,133618064,133626508,133636420,133721292,133751724,133887549,133971287,134060608,134275028,134316620,134325786, 133430878,133483332,133486525,133489624,133531467,133547778,133554302,133618184,133626547,133636489,133721442,133751812,133887683,133971351,134060682,134275158,134316688,134326031, 0 NCKAP5 cmpl cmpl 1,0,1,1,0,0,0,0,0,0,0,2,0,2,0,0,-1,-1, 73 NM_001170738 chr12 + 176048 287625 176048 284199 14 176048,208311,234798,247432,250289,266190,266693,271091,272659,274599,274894,278178,280277,283764, 176602,208380,235078,248520,250451,266313,266860,271231,272785,274699,275056,278271,280327,287625, 0 IQSEC3 cmpl cmpl 0,2,2,0,2,2,2,1,0,0,1,1,1,0, 682 NM_013406 chr19 - 12786530 12792701 12786651 12792580 8 12786530,12786830,12788104,12790270,12790436,12790614,12790974,12792373, 12786747,12786919,12788210,12790357,12790533,12790736,12791139,12792701, 0 DHPS cmpl cmpl 0,1,0,0,2,0,0,0, 988 NM_130776 chrX - 52891557 52896332 52891646 52896164 5 52891557,52893803,52895461,52896083,52896280, 52891669,52893929,52895567,52896172,52896332, 0 XAGE3 cmpl cmpl 1,1,0,0,-1, 284 NM_144729 chr1 - 221874763 221915516 221875753 221879593 3 221874763,221879436,221915322, 221876019,221879808,221915516, 0 DUSP10 cmpl cmpl 1,0,-1, 284 NM_144728 chr1 - 221874763 221910802 221875753 221879593 3 221874763,221879436,221910184, 221876019,221879808,221910802, 0 DUSP10 cmpl cmpl 1,0,-1, 20 NM_003496 chr7 + 98476112 98610866 98478773 98609978 71 98476112,98478712,98479597,98487957,98490046,98491420,98493386,98495363,98497044,98497301,98498246,98501001,98503799,98506350,98507678,98508132,98508699,98509644,98513345,98515045,98519375,98522734,98524789,98527611,98528255,98529027,98530863,98533201,98534778,98535272,98540571,98545843,98546188,98547039,98547282,98547686,98548498,98550789,98552720,98553768,98554021,98555603,98556966,98558883,98559924,98562251,98563318,98564663,98565107,98567734,98569421,98573771,98574105,98574561,98575833,98576391,98579391,98580886,98581715,98582566,98586387,98588077,98589759,98591214,98592209,98601812,98602753,98605999,98608674,98608963,98609693, 98476260,98478873,98479647,98488068,98490151,98491504,98493443,98495489,98497122,98497390,98498343,98501140,98503878,98506585,98508042,98508230,98508894,98509836,98513511,98515302,98519576,98522886,98524989,98527829,98528453,98529288,98531025,98533298,98534900,98535443,98540640,98545963,98546308,98547204,98547464,98547885,98548627,98551056,98552927,98553927,98554156,98555714,98557113,98559097,98560050,98562398,98563518,98564785,98565321,98567914,98569568,98573891,98574393,98574699,98575946,98576527,98579583,98581082,98581981,98582667,98586589,98588242,98589850,98591360,98592471,98602038,98602971,98606184,98608878,98609158,98610866, 0 TRRAP cmpl cmpl -1,0,1,0,0,0,0,0,0,0,2,0,1,2,0,1,0,0,0,1,0,0,2,1,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,2,0,0,1,0,2,0,0,1,0,1,2,1,0,0,0, 785 NM_003540 chr6 + 26240653 26241021 26240653 26240965 1 26240653, 26241021, 0 HIST1H4F cmpl cmpl 0, 144 NM_025055 chr15 + 74528629 74628482 74529060 74628394 19 74528629,74536325,74554780,74559018,74560682,74564043,74565111,74572303,74573008,74574118,74588094,74622529,74623003,74623321,74623543,74625019,74626221,74627315,74628265, 74529081,74536489,74554914,74559128,74560799,74564135,74565232,74572433,74573142,74574190,74588289,74622695,74623092,74623453,74623637,74625186,74626308,74627429,74628482, 0 CCDC33 cmpl cmpl 0,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1,0,0,0, 1383 NR_037644 chr10 + 104613966 104661655 104661655 104661655 15 104613966,104620088,104620254,104621916,104622629,104629561,104629840,104632204,104632853,104634348,104636710,104638135,104638605,104650300,104660349, 104614184,104620151,104620298,104621937,104622689,104629602,104629968,104632355,104632990,104634418,104636792,104638267,104638748,104650435,104661655, 0 C10orf32-ASMT unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 832 NM_001193514 chr2 + 32390909 32449181 32390969 32445782 13 32390909,32396355,32399131,32400387,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32445281, 32390972,32396442,32399216,32400430,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32449181, 0 SLC30A6 cmpl cmpl 0,0,0,1,2,2,2,2,1,2,2,0,0, 1551 NM_017580 chr10 + 126630691 126676005 126631062 126673561 9 126630691,126655162,126660533,126662213,126662768,126670277,126671743,126672027,126673342, 126631876,126655350,126660687,126662285,126662967,126670398,126671873,126672257,126676005, 0 ZRANB1 cmpl cmpl 0,1,0,1,1,2,0,1,0, 89 NR_027253 chr5 - 17130136 17217531 17217531 17217531 3 17130136,17162577,17216185, 17132009,17162674,17217531, 0 AC091878.1 unk unk -1,-1,-1, 898 NM_001136042 chr17 - 41102542 41132545 41102609 41132199 17 41102542,41103816,41105740,41106892,41107174,41107858,41108220,41108420,41109154,41113208,41116122,41122305,41123623,41131186,41131394,41131566,41132062, 41102745,41103911,41105795,41106984,41107241,41107989,41108337,41108577,41109212,41113368,41116254,41122359,41123713,41131285,41131461,41131680,41132545, 0 PTGES3L-AARSD1 cmpl cmpl 2,0,2,0,2,0,0,2,1,0,0,0,0,0,2,2,0, 1130 NM_198719 chr1 - 71436463 71513491 71437412 71513260 4 71436463,71439979,71477987,71512363, 71437416,71440071,71478167,71513491, 0 PTGER3 cmpl cmpl 2,0,0,0, 141 NM_198718 chr1 - 71418114 71513491 71418589 71513260 4 71418114,71419445,71477987,71512363, 71418742,71419472,71478167,71513491, 0 PTGER3 cmpl cmpl 0,0,0,0, 1094 NM_177963 chr11 + 66790815 66818334 66797615 66816228 8 66790815,66797592,66802115,66807281,66811108,66812063,66813214,66816054, 66790931,66797649,66802309,66807674,66811324,66812184,66813348,66818334, 0 SYT12 cmpl cmpl -1,0,1,0,0,0,1,0, 12 NR_038287 chr13 - 31456971 31506745 31506745 31506745 4 31456971,31458074,31504937,31505382, 31457472,31458197,31505011,31506745, 0 TEX26-AS1 unk unk -1,-1,-1,-1, 895 NM_001159508 chr15 + 40697685 40713512 40698019 40710462 11 40697685,40700137,40702826,40703458,40703753,40705189,40707087,40707599,40708276,40708488,40710328, 40698172,40700189,40702996,40703552,40703890,40705286,40707181,40707681,40708381,40708561,40713512, 0 IVD cmpl cmpl 0,0,1,0,1,0,1,2,0,0,1, 14 NM_001143824 chr12 - 47158543 47219780 47160483 47186854 16 47158543,47162092,47163066,47168831,47170686,47172071,47172283,47173393,47173562,47173731,47178324,47178886,47181698,47182310,47186735,47219685, 47160585,47162190,47163211,47168956,47170787,47172151,47172559,47173452,47173645,47173813,47178417,47178960,47181814,47182401,47186966,47219780, 0 SLC38A4 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1, 85 NM_031455 chr10 - 12938624 13043704 12940415 13043570 3 12938624,13040337,13043196, 12940679,13040512,13043704, 0 CCDC3 cmpl cmpl 0,2,0, 1149 NM_003584 chr2 - 73989324 74007284 73989787 74007242 9 73989324,73993544,73993954,73994287,73996391,74000926,74002039,74005427,74007000, 73989986,73993721,73994030,73994334,73996452,74001050,74002171,74005503,74007284, 0 DUSP11 cmpl cmpl 2,2,1,2,1,0,0,2,0, 588 NM_005009 chr16 + 447191 450754 447222 450342 5 447191,448989,449378,449626,450218, 447313,449123,449480,449739,450754, 0 NME4 cmpl cmpl 0,1,0,0,2, 88 NM_001256579 chr21 - 15964483 16015428 15964942 16015394 7 15964483,15966333,15974343,15981802,15985196,15988296,16015322, 15964960,15966399,15974420,15981889,15985234,15988337,16015428, 0 LOC388813 cmpl cmpl 0,0,1,1,2,0,0, 1193 NM_001105251 chr5 + 79703831 79775688 79729966 79773196 19 79703831,79707464,79729927,79732574,79735754,79738941,79741081,79743844,79745409,79746249,79747303,79751510,79752279,79752763,79755232,79768579,79769572,79770481,79773037, 79703972,79707592,79730036,79734826,79735851,79739103,79741224,79744223,79745532,79746405,79747528,79751593,79752384,79752911,79755313,79768742,79769678,79770649,79775688, 0 ZFYVE16 cmpl cmpl -1,-1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 1154 NM_001130996 chr5 + 74632992 74657926 74638430 74656167 19 74632992,74638407,74639677,74640069,74641398,74643028,74645866,74646082,74646613,74646892,74647248,74650327,74651189,74652167,74654481,74654994,74655222,74655809,74656112, 74633125,74638595,74639789,74640157,74641483,74643134,74645973,74646199,74646774,74647140,74647427,74650522,74651347,74652273,74654652,74655135,74655381,74655964,74657926, 0 HMGCR cmpl cmpl -1,0,0,1,2,0,1,0,0,2,1,0,0,2,0,0,0,0,2, 14 NM_016835 chr17 + 43971747 44105699 44039703 44101537 14 43971747,44039686,44049224,44051750,44055740,44060543,44064405,44067243,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44051837,44055806,44061296,44064461,44067441,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,1,1,0,0,1,0,0,1,0, 929 NM_022842 chr3 - 45123765 45187914 45127129 45187779 9 45123765,45130545,45132664,45134768,45136838,45151964,45153574,45159903,45187697, 45127559,45130633,45133030,45135149,45137060,45152333,45153937,45160113,45187914, 0 CDCP1 cmpl cmpl 2,1,1,1,1,1,1,1,0, 1660 NM_001130029 chr5 + 141016516 141020631 141017792 141020011 8 141016516,141017736,141018361,141018521,141019030,141019486,141019978,141020237, 141017308,141017976,141018427,141018588,141019216,141019862,141020012,141020631, 0 RELL2 cmpl cmpl -1,0,1,1,2,2,0,-1, 195 NM_001128926 chr7 + 128312319 128323309 128312451 128323213 5 128312319,128315728,128317617,128320084,128323017, 128312604,128315913,128317867,128320203,128323309, 0 FAM71F2 cmpl cmpl 0,0,2,0,2, 12 NR_026859 chr15 + 30395934 30423948 30423948 30423948 5 30395934,30402504,30409094,30419887,30423330, 30396211,30402629,30409141,30419966,30423948, 0 ULK4P3 unk unk -1,-1,-1,-1,-1, 87 NM_032137 chr3 + 14716605 14814543 14724220 14814382 17 14716605,14723676,14724084,14725748,14731503,14744636,14745843,14755513,14756795,14763159,14768407,14769945,14798877,14801397,14802979,14813573,14814297, 14716759,14723838,14724704,14725889,14731623,14744769,14746125,14755666,14756916,14763291,14768531,14770195,14799181,14801505,14803122,14813708,14814543, 0 C3orf20 cmpl cmpl -1,-1,0,1,1,1,2,2,2,0,0,1,2,0,0,2,2, 1 NM_001166266 chr2 + 33359663 33624575 33359804 33623612 29 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482509,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 113 NM_001144882 chr12 - 42852139 42877797 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42877559, 42854467,42859060,42860182,42862631,42863389,42864161,42866366,42877797, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 2262 NM_003936 chr2 + 219824349 219826877 219824542 219825646 1 219824349, 219826877, 0 CDK5R2 cmpl cmpl 0, 230 NM_004490 chr2 - 165349322 165478360 165349545 165477819 14 165349322,165350940,165353517,165353720,165353883,165358764,165364964,165365251,165378489,165381513,165383523,165404169,165476196,165477628, 165349692,165351034,165353605,165353793,165354000,165358845,165365060,165365362,165378627,165381588,165383645,165404326,165476329,165478360, 0 GRB14 cmpl cmpl 0,2,1,0,0,0,0,0,0,0,1,0,2,0, 1617 NM_001130929 chr7 + 135347220 135361160 135347327 135358913 3 135347220,135357500,135358838, 135347342,135357554,135361160, 0 C7orf73 cmpl cmpl 0,0,0, 954 NM_024661 chr3 - 48473579 48481529 48473817 48476538 4 48473579,48475116,48476226,48481505, 48474576,48475281,48476546,48481529, 0 CCDC51 cmpl cmpl 0,0,0,-1, 769 NM_001166059 chr1 - 24128366 24151949 24128952 24151905 7 24128366,24130889,24134624,24143164,24143965,24146999,24151845, 24129054,24131015,24134813,24143260,24144073,24147083,24151949, 0 HMGCL cmpl cmpl 0,0,0,0,0,0,0, 1127 NM_001284211 chr14 - 71049937 71067407 71050810 71067354 9 71049937,71051533,71052472,71057982,71059596,71060012,71063327,71064334,71067332, 71050847,71051660,71052500,71058098,71059705,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 2,1,0,1,0,1,2,1,0, 1127 NM_001284210 chr14 - 71049937 71067407 71051608 71067354 7 71049937,71052472,71059596,71060012,71063327,71064334,71067332, 71051660,71052500,71059705,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 2,1,0,1,2,1,0, 1127 NM_001284209 chr14 - 71049937 71067407 71051529 71067354 8 71049937,71052472,71057982,71059596,71060012,71063327,71064334,71067332, 71051660,71052500,71058098,71059726,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 1,0,1,0,1,2,1,0, 110 NM_002647 chr18 + 39535198 39661446 39535256 39661101 25 39535198,39537534,39542453,39550290,39567775,39570422,39573233,39575853,39576601,39584319,39593405,39595439,39600601,39607406,39609288,39613789,39617655,39618744,39620640,39623696,39629494,39637846,39644703,39647351,39661086, 39535324,39537723,39542597,39550420,39567862,39570518,39573305,39575958,39576694,39584505,39593560,39595530,39600669,39607512,39609405,39613921,39617784,39618814,39620705,39623781,39629569,39638015,39644794,39647477,39661446, 0 PIK3C3 cmpl cmpl 0,2,2,2,0,0,0,0,0,0,0,2,0,2,0,0,0,0,1,0,1,1,2,0,0, 1379 NM_002779 chr10 - 104162373 104178901 104162956 104176795 17 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104170614,104170814,104171463,104171903,104172137,104173525,104174619,104175773,104176141,104178457, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104170704,104170873,104171576,104171984,104172332,104173954,104174986,104175876,104176878,104178901, 0 PSD cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,2,1,0,0,-1, 2400 NM_006710 chr2 + 237994083 238007489 237994607 238006385 8 237994083,237995769,237997247,237998504,238002732,238004464,238005464,238006305, 237994685,237995840,237997296,237998637,238002840,238004527,238005512,238007489, 0 COPS8 cmpl cmpl 0,0,2,0,1,1,1,1, 1706 NM_001185081 chrX + 146993468 147032647 146993697 147030350 15 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147026463,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,0,2, 19 NM_001143836 chr11 - 89057521 89224653 89059923 89224414 17 89057521,89069012,89070614,89073230,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89224357, 89060044,89069113,89070683,89073339,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185063,89223721,89224653, 0 NOX4 cmpl cmpl 2,0,0,2,1,0,0,0,2,2,1,0,1,0,0,0,0, 1951 NM_001164444 chr5 - 179105558 179107975 179105583 179107919 2 179105558,179107873, 179106266,179107975, 0 CBY3 cmpl cmpl 1,0, 1521 NM_176824 chr4 - 122745483 122791652 122747014 122791468 19 122745483,122749300,122749556,122749773,122754385,122756298,122760785,122765081,122766658,122768558,122769998,122774110,122775858,122776643,122780146,122782658,122784371,122789135,122791432, 122747148,122749424,122749660,122749883,122754550,122756438,122760851,122765156,122766851,122768661,122770083,122774241,122775975,122776716,122780333,122782834,122784434,122789201,122791652, 0 BBS7 cmpl cmpl 1,0,1,2,2,0,0,0,2,1,0,1,1,0,2,0,0,0,0, 604 NM_152743 chr7 - 2577443 2595392 2577702 2594065 14 2577443,2578812,2579177,2579419,2580612,2580931,2581351,2581753,2582837,2583223,2584542,2586957,2593938,2595120, 2578398,2578985,2579276,2579522,2580686,2581118,2581470,2581845,2582957,2583596,2584690,2587112,2594081,2595392, 0 BRAT1 cmpl cmpl 0,1,1,0,1,0,1,2,2,1,0,1,0,-1, 1784 NM_006186 chr2 - 157180943 157189287 157182255 157186698 8 157180943,157182661,157183229,157184362,157184915,157185834,157187179,157188991, 157182512,157182840,157183432,157184526,157185045,157186700,157187303,157189287, 0 NR4A2 cmpl cmpl 1,2,0,1,0,0,-1,-1, 142 NM_005744 chr15 + 72766666 72878896 72766980 72875633 14 72766666,72810407,72837160,72847611,72848192,72853823,72855734,72858903,72859446,72862517,72864448,72873071,72874415,72875548, 72767355,72810475,72837305,72847704,72848248,72853890,72855841,72858946,72859518,72862648,72864506,72873332,72874528,72878896, 0 ARIH1 cmpl cmpl 0,0,2,0,0,2,0,2,0,0,2,0,0,2, 884 NM_001337 chr3 - 39304984 39321527 39306932 39308000 2 39304984,39321444, 39308009,39321527, 0 CX3CR1 cmpl cmpl 0,-1, 137 NM_020850 chr16 - 67757004 67840555 67760330 67840439 14 67757004,67761229,67761653,67762292,67763182,67763582,67763840,67765374,67768760,67771915,67778190,67805936,67839330,67840204, 67760461,67761341,67761799,67762414,67763387,67763731,67763949,67765487,67768945,67771938,67778358,67805989,67839442,67840555, 0 RANBP10 cmpl cmpl 1,0,1,2,1,2,1,2,0,1,1,2,1,0, 119 NM_001199160 chr3 - 49146105 49158371 49146390 49156578 27 49146105,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154491,49154869,49155089,49155379,49156454,49158188, 49146618,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153371,49153595,49153784,49154040,49154376,49154794,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,0,1,1,1,0,-1, 946 NM_001256197 chrX + 47420498 47425373 47422366 47424753 6 47420498,47422307,47422624,47424195,47424383,47424650, 47420650,47422462,47422728,47424298,47424538,47425373, 0 ARAF cmpl cmpl -1,0,0,2,0,2, 1156 NM_001199172 chr17 + 74864797 74946471 74865111 74944920 17 74864797,74868932,74878232,74898636,74899384,74900333,74901250,74902099,74921047,74922678,74928726,74934063,74936483,74936813,74942457,74943911,74944721, 74865179,74869045,74878380,74898752,74899458,74900504,74901415,74902269,74921179,74922812,74928857,74934225,74936630,74936930,74942532,74944168,74946471, 0 MGAT5B cmpl cmpl 0,2,1,2,1,0,0,0,2,2,1,0,0,0,0,0,2, 979 NM_001243726 chr3 + 51705289 51738339 51708320 51738032 5 51705289,51708286,51718428,51733421,51737739, 51705347,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,0,1, 886 NM_001166003 chr22 + 39493228 39500072 39496283 39498576 6 39493228,39496276,39497241,39497922,39498516,39499693, 39493348,39496433,39497509,39498047,39498610,39500072, 0 APOBEC3H cmpl cmpl -1,0,0,1,0,-1, 886 NM_001166002 chr22 + 39493228 39500072 39496283 39499702 5 39493228,39496276,39497241,39497922,39499696, 39493348,39496433,39497509,39498047,39500072, 0 APOBEC3H cmpl cmpl -1,0,0,1,0, 14 NM_032583 chr16 - 48200821 48269088 48201184 48265832 30 48200821,48201406,48204015,48204799,48209168,48210834,48212507,48218350,48220863,48221111,48226430,48227789,48230142,48231881,48232051,48234186,48237138,48239323,48242335,48244858,48247353,48248791,48249107,48250024,48256508,48258192,48261716,48264347,48265733,48269042, 48201277,48201571,48204129,48204878,48209328,48211024,48212597,48218537,48221001,48221338,48226628,48227893,48230232,48231978,48232186,48234390,48237211,48239448,48242407,48245110,48247461,48248940,48249255,48250198,48256742,48258340,48261875,48264484,48265850,48269088, 0 ABCC11 cmpl cmpl 0,0,0,2,1,0,0,2,2,0,0,1,1,0,0,0,2,0,0,0,0,1,0,0,0,2,2,0,0,-1, 1160 NM_025098 chr11 + 75428933 75442331 75428933 75442331 6 75428933,75431036,75438479,75439014,75439834,75442176, 75429024,75431215,75438684,75439189,75440034,75442331, 0 MOGAT2 cmpl cmpl 0,1,0,1,2,1, 595 NM_001161532 chrX + 1387692 1428828 1407707 1428372 11 1387692,1401570,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1401672,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,2,1,0,0,1,2,0, 642 NM_133491 chr17 - 7529555 7531194 7529764 7530953 6 7529555,7530070,7530260,7530460,7530680,7530887, 7529932,7530111,7530362,7530544,7530732,7531194, 0 SAT2 cmpl cmpl 0,1,1,1,0,0, 1592 NM_002188 chr5 + 131993864 131996801 131993878 131995974 4 131993864,131995109,131995415,131995866, 131994052,131995163,131995520,131996801, 0 IL13 cmpl cmpl 0,0,0,0, 609 NM_182916 chr3 + 3168599 3190706 3170724 3189838 8 3168599,3170697,3178943,3182193,3186267,3188113,3189133,3189589, 3168674,3170872,3179137,3182332,3186394,3188307,3189387,3190706, 0 TRNT1 cmpl cmpl -1,0,1,0,1,2,1,0, 1147 NM_022803 chr11 - 73713811 73720282 73714867 73718087 6 73713811,73715528,73716774,73717213,73717961,73720022, 73715052,73715630,73716978,73717424,73718182,73720282, 0 UCP3 cmpl cmpl 1,1,1,0,0,-1, 823 NM_017762 chr15 - 31231143 31283807 31233672 31283709 16 31231143,31235092,31239332,31240504,31244170,31245764,31246965,31251065,31251236,31253083,31260122,31266516,31267133,31269021,31282979,31283649, 31234275,31235275,31239503,31240674,31244241,31245834,31247096,31251154,31251324,31253276,31260213,31266659,31267206,31269158,31283040,31283807, 0 MTMR10 cmpl cmpl 0,0,0,1,2,1,2,0,2,1,0,1,0,1,0,0, 108 NM_014831 chr3 - 36868307 36986548 36869765 36986300 23 36868307,36871054,36872363,36876252,36879862,36880103,36884112,36887738,36888690,36893209,36893636,36896663,36900208,36902396,36905809,36915616,36931319,36933692,36934391,36937130,36940599,36944639,36986277, 36869866,36871153,36875410,36876398,36879995,36880207,36884201,36887895,36888837,36893347,36893836,36899540,36900385,36902651,36905971,36915787,36931451,36933831,36934475,36937249,36940750,36944766,36986548, 0 TRANK1 cmpl cmpl 1,1,2,0,2,0,1,0,0,0,1,1,1,1,1,1,1,0,0,1,0,2,0, 267 NM_014827 chr1 + 203764750 203823256 203786198 203821527 20 203764750,203765420,203770702,203772084,203786053,203787697,203797426,203798578,203798907,203799250,203800788,203802918,203807093,203809433,203816311,203817458,203818838,203819642,203820184,203821268, 203764903,203765624,203770756,203772144,203786252,203787817,203797550,203798782,203799024,203799331,203800899,203802981,203807192,203809502,203816815,203817535,203819154,203819809,203820252,203823256, 0 ZC3H11A cmpl cmpl -1,-1,-1,-1,0,0,0,1,1,1,1,1,1,1,1,1,0,1,0,2, 682 NM_152290 chr1 + 12806162 12821102 12806378 12820884 4 12806162,12815649,12819242,12820702, 12806489,12815763,12819420,12821102, 0 C1orf158 cmpl cmpl 0,0,0,1, 120 NM_001270960 chr19 - 50058724 50083829 50059007 50063948 9 50058724,50059573,50059805,50060131,50060346,50062153,50063190,50063878,50083771, 50059079,50059682,50059993,50060250,50060506,50062235,50063296,50063949,50083829, 0 NOSIP cmpl cmpl 0,2,0,1,0,2,1,0,-1, 1060 NM_001283009 chr20 + 62289162 62327606 62290755 62327211 35 62289162,62290585,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62327003,62327606, 0 RTEL1 cmpl cmpl -1,0,0,1,2,0,1,2,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,0, 965 NM_203370 chr3 + 49840686 49842463 49840819 49842420 2 49840686,49841613, 49840876,49842463, 0 FAM212A cmpl cmpl 0,0, 766 NR_003950 chr22 - 23732791 23744799 23744799 23744799 6 23732791,23734913,23736112,23741946,23744027,23744547, 23733911,23735020,23736244,23742770,23744140,23744799, 0 ZDHHC8P1 unk unk -1,-1,-1,-1,-1,-1, 857 NM_001135732 chr22 + 35695796 35743987 35695921 35743202 15 35695796,35713869,35717951,35719020,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742965,35743987, 0 TOM1 cmpl cmpl 0,1,2,0,0,0,0,0,2,0,1,2,0,0,1, 971 NR_024225 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A11 unk unk -1, 1566 NM_031445 chr2 - 128619206 128642434 128622667 128631808 8 128619206,128624473,128627027,128628387,128628822,128631401,128641776,128642331, 128622779,128624570,128627118,128628502,128628933,128631846,128641886,128642434, 0 AMMECR1L cmpl cmpl 2,1,0,2,2,0,-1,-1, 93 NM_001177520 chr1 + 21835857 21904905 21887172 21904141 10 21835857,21887118,21889602,21890533,21894596,21896797,21900157,21902225,21903014,21903875, 21836010,21887238,21889777,21890709,21894740,21896867,21900292,21902417,21903134,21904905, 0 ALPL cmpl cmpl -1,0,0,1,0,0,1,1,1,1, 962 NM_006666 chr19 + 49497155 49519182 49497168 49519099 15 49497155,49502575,49506535,49507533,49510274,49510558,49513032,49513229,49513744,49514255,49514448,49517740,49518277,49518828,49519073, 49497180,49502630,49506591,49507675,49510404,49510625,49513139,49513323,49513868,49514350,49514567,49517860,49518407,49518943,49519182, 0 RUVBL2 cmpl cmpl 0,0,1,0,1,2,0,2,0,1,0,2,2,0,1, 12 NM_001032410 chr21 + 30396937 30426807 30400234 30426508 19 30396937,30398029,30400193,30402915,30407157,30408591,30409596,30410655,30411346,30411801,30412929,30414333,30414792,30415743,30418987,30421081,30422412,30426122,30426386, 30397098,30398092,30400295,30403094,30407261,30408695,30409784,30410751,30411477,30411889,30413008,30414425,30414849,30415920,30419642,30421176,30422499,30426279,30426807, 0 USP16 cmpl cmpl -1,-1,0,1,0,2,1,0,0,2,0,1,0,0,0,1,0,0,1, 1643 NM_024625 chr7 - 138745083 138794465 138745777 138794077 9 138745083,138749624,138758601,138761031,138763297,138764215,138768525,138774369,138793769, 138745884,138749745,138758776,138761155,138763399,138764989,138768778,138774505,138794465, 0 ZC3HAV1 cmpl cmpl 1,0,2,1,1,1,0,2,0, 1438 NM_024616 chr3 + 111805181 111837044 111805254 111835493 6 111805181,111812206,111821684,111828389,111831810,111835488, 111805392,111812336,111821812,111828460,111831992,111837044, 0 C3orf52 cmpl cmpl 0,0,1,0,2,1, 598 NM_001040439 chr16 + 1756220 1820318 1756340 1818825 31 1756220,1774557,1779138,1779487,1793335,1797029,1798244,1798602,1802534,1809954,1810380,1811224,1812351,1812675,1812836,1813657,1814115,1814301,1815013,1815960,1816220,1816529,1816723,1816904,1817149,1817564,1817805,1818069,1818199,1818477,1818703, 1756658,1774678,1779209,1779579,1793477,1797276,1798347,1798722,1802541,1810016,1810533,1811306,1812482,1812732,1813007,1813784,1814211,1814460,1815179,1816143,1816410,1816649,1816804,1816972,1817298,1817736,1817919,1818108,1818379,1818627,1820318, 0 MAPK8IP3 cmpl cmpl 0,0,1,0,2,0,1,2,2,0,2,2,0,2,2,2,0,0,0,1,1,2,2,2,1,0,1,1,1,1,1, 273 NM_001039538 chr2 + 210288770 210598834 210517894 210595121 15 210288770,210372315,210444759,210489776,210517865,210543295,210545473,210565000,210569173,210570303,210574637,210588318,210590432,210594573,210594905, 210289000,210372365,210444824,210489853,210518156,210543409,210545551,210565062,210569344,210570451,210574978,210588411,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,-1,0,1,1,1,0,0,1,0,0,1,0, 1023 NM_001159279 chr7 + 57509882 57533265 57509994 57529655 4 57509882,57522165,57522778,57528429, 57510033,57522292,57522874,57533265, 0 ZNF716 cmpl cmpl 0,0,1,1, 1771 NM_004733 chr3 - 155544300 155572248 155545998 155571786 6 155544300,155547476,155551256,155551645,155560220,155571011, 155546166,155547692,155551374,155551830,155560408,155572248, 0 SLC33A1 cmpl cmpl 0,0,2,0,1,0, 1358 NM_001144884 chr1 + 101361631 101447311 101361818 101440413 12 101361631,101362125,101372407,101376618,101377667,101379218,101383632,101387261,101427383,101431324,101440365,101440774, 101361898,101362227,101372521,101376706,101377794,101379362,101383683,101387397,101427474,101431474,101440458,101447311, 0 SLC30A7 cmpl cmpl 0,2,2,2,0,1,1,1,2,0,0,-1, 2076 NM_004532 chr3 - 195473637 195538844 195474046 195538688 24 195473637,195475772,195477759,195478077,195479243,195479921,195481083,195484017,195485994,195487754,195488354,195488957,195489725,195490303,195490915,195491867,195492140,195493533,195495892,195497086,195498522,195501042,195505173,195538606, 195474251,195475935,195477983,195478142,195479317,195480101,195481243,195484199,195486132,195487988,195488456,195489125,195489816,195490512,195491035,195491993,195492320,195493622,195496023,195497242,195498687,195501176,195505326,195538844, 0 MUC4 cmpl cmpl 2,1,2,0,1,1,0,1,1,1,1,1,0,1,1,1,1,2,0,0,0,1,1,0, 1187 NM_000750 chr15 - 78916635 78933587 78917474 78933475 6 78916635,78921308,78923417,78923629,78927780,78933420, 78917633,78922287,78923527,78923674,78927929,78933587, 0 CHRNB4 cmpl cmpl 0,2,0,0,1,0, 2415 NR_103776 chr1 - 239870425 239882419 239882419 239882419 3 239870425,239877476,239882249, 239871060,239877564,239882419, 0 CHRM3-AS2 unk unk -1,-1,-1, 1689 NM_173831 chr8 + 144766621 144777555 144772278 144776700 7 144766621,144770163,144771373,144772226,144773242,144773769,144775840, 144766712,144770237,144771471,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,-1,0,0,1,1, 127 NM_013449 chr12 - 56989379 57030163 56992401 57029969 29 56989379,56992651,56992912,56993485,56993747,56993984,56994464,56994726,56994963,56995329,56996496,56997142,56997303,56998000,56998368,56998856,56999613,57000030,57000416,57003519,57003897,57004192,57005356,57005556,57006798,57007736,57008797,57011178,57029965, 56992567,56992795,56993142,56993632,56993880,56994274,56994616,56994882,56995186,56995976,56996641,56997202,56997484,56998075,56998583,56999111,56999847,57000096,57000517,57003730,57003999,57004301,57005417,57006030,57007017,57007922,57009391,57011316,57030163, 0 BAZ2A cmpl cmpl 2,2,0,0,2,0,1,1,0,1,0,0,2,2,0,0,0,0,1,0,0,2,1,1,1,1,1,1,0, 141 NR_028294 chr1 - 71318035 71513491 71513491 71513491 6 71318035,71327987,71331371,71419445,71477987,71512363, 71318542,71328080,71331516,71419472,71478167,71513491, 0 PTGER3 unk unk -1,-1,-1,-1,-1,-1, 141 NR_028293 chr1 - 71318035 71513491 71513491 71513491 5 71318035,71327987,71334926,71477987,71512363, 71318542,71328080,71335002,71478167,71513491, 0 PTGER3 unk unk -1,-1,-1,-1,-1, 999 NM_001135604 chr5 - 54273694 54281414 54275159 54281345 2 54273694,54281044, 54275263,54281414, 0 ESM1 cmpl cmpl 1,0, 635 NM_004517 chr11 + 6624937 6632105 6625501 6631842 13 6624937,6625409,6629275,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629441,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,0,2,0,0,1,1,0,2,1,0,1,0, 176 NM_000051 chr11 + 108093558 108239826 108098351 108236235 63 108093558,108098321,108098502,108099904,108106396,108114679,108115514,108117690,108119659,108121427,108122563,108123543,108124540,108126941,108128207,108129712,108137897,108139136,108141790,108141977,108143258,108143448,108150217,108151721,108153436,108154953,108158326,108159703,108160328,108163345,108164039,108165653,108168013,108170440,108172374,108173579,108175401,108178623,108180886,108183137,108186549,108186737,108188099,108190680,108192027,108196036,108196784,108198371,108199747,108200940,108202170,108202605,108203488,108204612,108205695,108206571,108213948,108216469,108218005,108224492,108225537,108235808,108236051, 108093913,108098423,108098615,108100050,108106561,108114845,108115753,108117854,108119829,108121799,108122758,108123639,108124766,108127067,108128333,108129802,108138069,108139336,108141873,108142133,108143334,108143579,108150335,108151895,108153606,108155200,108158442,108159830,108160528,108163520,108164204,108165786,108168109,108170612,108172516,108173756,108175579,108178711,108181042,108183225,108186638,108186840,108188248,108190785,108192147,108196271,108196952,108198485,108199965,108201148,108202284,108202764,108203627,108204695,108205836,108206688,108214098,108216635,108218092,108224607,108225601,108235945,108239826, 0 ATM cmpl cmpl -1,0,0,2,1,1,2,1,0,2,2,2,2,0,0,0,0,1,0,2,2,0,2,0,0,2,0,2,0,2,0,0,1,1,2,0,0,1,2,2,0,2,0,2,2,2,0,0,0,2,0,0,0,1,0,0,0,0,1,1,2,0,2, 1016 NM_013444 chrX + 56590025 56593443 56590306 56592181 1 56590025, 56593443, 0 UBQLN2 cmpl cmpl 0, 128 NM_005550 chr16 - 57792128 57836439 57792795 57832155 19 57792128,57793639,57794193,57794637,57794953,57795324,57796051,57798054,57799370,57800785,57803506,57803719,57804438,57805109,57805454,57806134,57828910,57831983,57836281, 57792821,57793748,57794328,57794867,57795083,57795448,57796182,57798159,57799552,57800897,57803637,57803867,57804612,57805349,57805598,57806200,57829053,57832194,57836439, 0 KIFC3 cmpl cmpl 1,0,0,1,0,2,0,0,1,0,1,0,0,0,0,0,1,0,-1, 1379 NR_073110 chr10 - 104162373 104169041 104169041 104169041 8 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104168651, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104169041, 0 PSD unk unk -1,-1,-1,-1,-1,-1,-1,-1, 829 NM_022110 chr6 - 32096483 32098067 32096507 32097557 2 32096483,32097871, 32097631,32098067, 0 FKBPL cmpl cmpl 0,-1, 1735 NM_020322 chr7 + 150745378 150749843 150745972 150749834 10 150745378,150747192,150747567,150747844,150748125,150748258,150748896,150749069,150749252,150749660, 150746506,150747343,150747695,150748040,150748182,150748406,150748988,150749149,150749324,150749843, 0 ASIC3 cmpl cmpl 0,0,1,0,1,1,2,1,0,0, 1094 NM_017975 chr15 + 66797420 66841822 66797676 66839017 19 66797420,66801178,66806325,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66801230,66806421,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl 0,2,0,0,2,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 1744 NM_175742 chrX - 151918386 151922408 151918942 151919887 6 151918386,151920032,151920917,151921836,151922065,151922311, 151919952,151920098,151921037,151921915,151922147,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1,-1,-1, 1926 NM_001256539 chr5 - 175810939 175815763 175810966 175815540 5 175810939,175812221,175813840,175815235,175815433, 175811287,175812328,175813910,175815344,175815763, 0 NOP16 cmpl cmpl 0,1,0,2,0, 684 NM_001012277 chr1 + 12976466 12980300 12977512 12980233 4 12976466,12977487,12978181,12979671, 12976507,12977799,12978757,12980300, 0 PRAMEF7 cmpl cmpl -1,0,2,2, 1348 NM_001194990 chr7 + 100026412 100031749 100029048 100031177 5 100026412,100028237,100030541,100030885,100031124, 100026663,100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl -1,0,0,0,1, 636 NM_203462 chr4 - 6709428 6711606 6710972 6711356 2 6709428,6710957, 6710370,6711606, 0 MRFAP1L1 cmpl cmpl -1,0, 1706 NM_001185082 chrX + 146993468 147032647 146993697 147030364 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147024650,147026463,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147024846,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,1,1,0, 149 NM_001893 chr17 - 80200536 80231594 80202656 80231257 9 80200536,80206750,80207306,80209254,80210309,80210891,80213304,80223561,80231181, 80202707,80206890,80207478,80209403,80210480,80211120,80213453,80223672,80231594, 0 CSNK1D cmpl cmpl 0,1,0,1,1,0,1,1,0, 198 NM_001122672 chr9 - 131595391 131644354 131595862 131607684 12 131595391,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131604932,131607631,131644175, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131605080,131607690,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,2,0,-1, 802 NM_018690 chr16 + 28505969 28510291 28506002 28509826 4 28505969,28506419,28509401,28509756, 28506059,28509317,28509670,28510291, 0 APOBR cmpl cmpl 0,0,0,2, 602 NR_104485 chr16 - 2303116 2318413 2318413 2318413 7 2303116,2305585,2312278,2312740,2313096,2314176,2317933, 2304064,2305727,2312432,2312843,2313288,2314332,2318413, 0 RNPS1 unk unk -1,-1,-1,-1,-1,-1,-1, 265 NM_001162407 chr2 - 201717731 201729284 201718028 201728949 13 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201724847,201725960,201726424,201728823, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201724469,201724938,201726189,201726585,201729284, 0 CLK1 cmpl cmpl 0,2,0,1,0,1,2,2,1,0,2,0,0, 9 NR_073397 chr8 + 687604 1087777 1087777 1087777 4 687604,772091,857911,1087298, 687825,772193,857966,1087777, 0 ERICH1-AS1 unk unk -1,-1,-1,-1, 826 NM_004639 chr6 - 31606804 31620477 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620176, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615621,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 594 NM_006761 chr17 - 1247833 1303556 1248740 1303404 6 1247833,1257504,1264385,1265195,1268152,1303340, 1248793,1257641,1264592,1265302,1268352,1303556, 0 YWHAE cmpl cmpl 1,2,2,0,1,0, 825 NM_005931 chr6 + 31465826 31478901 31465970 31477686 6 31465826,31473393,31473919,31474798,31475176,31477558, 31466040,31473648,31474207,31475077,31475308,31478901, 0 MICB cmpl cmpl 0,1,1,1,1,1, 87 NM_001184957 chr3 + 14716605 14814543 14724586 14814382 17 14716605,14723781,14724481,14725748,14731503,14744636,14745843,14755513,14756795,14763159,14768407,14769945,14798877,14801397,14802979,14813573,14814297, 14716759,14723838,14724704,14725889,14731623,14744769,14746125,14755666,14756916,14763291,14768531,14770195,14799181,14801505,14803122,14813708,14814543, 0 C3orf20 cmpl cmpl -1,-1,0,1,1,1,2,2,2,0,0,1,2,0,0,2,2, 271 NM_000573 chr1 + 207669472 207815110 207669612 207812754 39 207669472,207679248,207680058,207684913,207696955,207700097,207700365,207702060,207724079,207725308,207726096,207731882,207734083,207737208,207737476,207739182,207741168,207742403,207743191,207748939,207751149,207753584,207753855,207755262,207757993,207760730,207762019,207780595,207782634,207785021,207785283,207787748,207789919,207791415,207793224,207795317,207796337,207803861,207812741, 207669733,207679428,207680158,207684999,207697354,207700274,207700468,207702146,207724298,207725488,207726196,207731968,207734482,207737385,207737579,207739268,207741387,207742583,207743291,207749025,207751548,207753761,207753958,207755348,207758221,207760910,207762119,207780681,207783033,207785198,207785386,207787834,207790147,207791592,207793410,207795341,207796413,207803966,207815110, 0 CR1 cmpl cmpl 0,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,1,1,2,2, 1952 NM_001142299 chr5 + 179234002 179265077 179250004 179263593 9 179234002,179238573,179249957,179250857,179251181,179252145,179260031,179260586,179263435, 179234123,179238682,179250053,179251087,179251323,179252226,179260246,179260782,179265077, 0 SQSTM1 cmpl cmpl -1,-1,0,1,0,1,1,0,1, 738 NM_001693 chr8 + 20054703 20079207 20054917 20077913 14 20054703,20061994,20066943,20067856,20068079,20068687,20069162,20069612,20070292,20072328,20073923,20074730,20075663,20077773, 20055053,20062050,20067042,20067950,20068157,20068827,20069264,20069710,20070416,20072479,20074006,20074835,20075793,20079207, 0 ATP6V1B2 cmpl cmpl 0,1,0,0,1,1,0,0,2,0,1,0,0,1, 163 NM_012081 chr5 - 95220801 95297775 95224574 95297425 12 95220801,95224789,95226806,95231331,95233943,95236396,95236659,95242226,95249474,95255127,95278705,95297278, 95224691,95224834,95226978,95231395,95234514,95236484,95236784,95242486,95249638,95255249,95278753,95297775, 0 ELL2 cmpl cmpl 0,0,2,1,0,2,0,1,2,0,0,0, 14 NM_018018 chr12 - 47158543 47219780 47160483 47186854 17 47158543,47162092,47163066,47168831,47170686,47172071,47172283,47173393,47173562,47173731,47178324,47178886,47181698,47182310,47186735,47197385,47219685, 47160585,47162190,47163211,47168956,47170787,47172151,47172559,47173452,47173645,47173813,47178417,47178960,47181814,47182401,47186966,47197577,47219780, 0 SLC38A4 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1358 NR_003196 chr14 + 101420680 101420784 101420784 101420784 1 101420680, 101420784, 0 SNORD114-4 unk unk -1, 599 NM_001163926 chr12 + 1929432 1945918 1937314 1943887 5 1929432,1936572,1937241,1940100,1943432, 1929980,1936760,1937381,1940691,1945918, 0 LRTM2 cmpl cmpl -1,-1,0,1,1, 599 NM_001163925 chr12 + 1929432 1945918 1937314 1943887 5 1929432,1936575,1937241,1940100,1943432, 1929980,1936796,1937381,1940691,1945918, 0 LRTM2 cmpl cmpl -1,-1,0,1,1, 134 NM_002737 chr17 + 64298925 64806862 64298969 64800155 17 64298925,64302213,64492318,64637472,64641500,64683228,64684419,64685068,64728805,64731606,64734881,64737776,64738739,64770104,64782984,64784956,64799990, 64299142,64302245,64492401,64637584,64641629,64683385,64684554,64685165,64728943,64731780,64734973,64737839,64738878,64770185,64783092,64785097,64806862, 0 PRKCA cmpl cmpl 0,2,1,0,1,1,2,2,0,0,0,2,2,0,0,0,0, 1624 NM_017503 chr9 + 136223420 136228041 136223468 136228015 6 136223420,136223789,136224586,136226825,136227140,136227931, 136223546,136223944,136224690,136227005,136227310,136228041, 0 SURF2 cmpl cmpl 0,0,2,1,1,0, 1083 NM_001164266 chr11 - 65306029 65325699 65306550 65321831 27 65306029,65306798,65307018,65307190,65307715,65307956,65308341,65308596,65309070,65310575,65310897,65313912,65314268,65314909,65315160,65315390,65318596,65318872,65319018,65319442,65319718,65320330,65320634,65320895,65321171,65321521,65325103, 65306702,65306930,65307099,65307352,65307853,65308085,65308425,65308764,65309199,65310695,65311020,65314035,65314391,65315038,65315292,65315516,65318695,65318945,65319035,65319628,65319877,65320453,65320727,65321001,65321374,65321851,65325699, 0 LTBP3 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,-1, 73 NM_004237 chr5 + 892968 918164 893113 917218 13 892968,894901,896779,900608,901455,904262,907244,908102,908469,911957,914579,916018,917122, 893205,895067,896909,900664,901546,904335,907308,908189,908576,912111,914692,916088,918164, 0 TRIP13 cmpl cmpl 0,2,0,1,0,1,2,0,0,2,0,2,0, 926 NM_004234 chr19 - 44790500 44809178 44791370 44807557 5 44790500,44802960,44803758,44807542,44809123, 44793349,44803056,44803885,44807605,44809178, 0 ZNF235 cmpl cmpl 1,1,0,0,-1, 98 NM_052953 chr3 + 26664299 26752265 26751163 26751943 2 26664299,26751003, 26664728,26752265, 0 LRRC3B cmpl cmpl -1,0, 1359 NM_001277423 chrX + 101470279 101481785 101476558 101481591 10 101470279,101470806,101472933,101476533,101477417,101478374,101478757,101479076,101480019,101481358, 101470319,101470944,101473059,101476654,101477608,101478511,101478978,101479258,101480183,101481785, 0 TCP11X2 cmpl cmpl -1,-1,-1,0,0,2,1,0,2,1, 1476 NM_001139444 chr6 - 116817650 116866773 116818116 116866677 5 116817650,116821643,116861525,116864465,116866635, 116818236,116821829,116861625,116864563,116866773, 0 TRAPPC3L cmpl cmpl 0,0,2,0,0, 605 NR_033754 chr18 - 2652168 2655394 2655394 2655394 2 2652168,2655098, 2653301,2655394, 0 CBX3P2 unk unk -1,-1, 741 NR_038836 chr15 + 20487996 20496811 20496811 20496811 6 20487996,20488748,20489407,20490503,20495365,20496596, 20488227,20488912,20489495,20490588,20495446,20496811, 0 CHEK2P2 unk unk -1,-1,-1,-1,-1,-1, 110 NM_025132 chr4 + 39184023 39287430 39184177 39280270 37 39184023,39187345,39188158,39191275,39196163,39201097,39205261,39206773,39207182,39216220,39217460,39217715,39218753,39219602,39226503,39229829,39230105,39233416,39233781,39236385,39241896,39245867,39246089,39246988,39254765,39255525,39257467,39259105,39267682,39269614,39271595,39274599,39276427,39278639,39279750,39280158,39287106, 39184183,39187437,39188224,39191401,39196279,39201213,39205342,39206886,39207356,39216291,39217633,39217830,39218860,39219725,39226653,39229977,39230310,39233576,39233892,39236495,39241954,39246008,39246172,39247072,39254912,39255650,39257580,39259174,39267760,39269711,39271720,39274681,39276578,39278763,39279827,39280283,39287430, 0 WDR19 cmpl cmpl 0,0,2,2,2,1,0,0,2,2,1,0,1,0,0,0,1,2,0,0,2,0,0,2,2,2,1,0,0,0,1,0,1,2,0,2,-1, 659 NR_046450 chr12 + 9769879 9811010 9811010 9811010 5 9769879,9806278,9808468,9809163,9809516, 9769947,9806404,9808575,9809245,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 659 NR_046448 chr12 + 9786014 9811010 9811010 9811010 5 9786014,9806278,9807720,9808468,9809516, 9786117,9806404,9807899,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 1379 NM_001077494 chr10 + 104154334 104162286 104155716 104162133 23 104154334,104155644,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162008, 104154531,104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl -1,0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 656 NM_001242332 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L29 cmpl cmpl 0, 954 NM_004962 chr10 - 48425787 48439138 48426569 48438710 3 48425787,48428640,48438391, 48426761,48429566,48439138, 0 GDF10 cmpl cmpl 0,1,0, 108 NM_001278482 chr13 - 37583450 37633624 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633331, 37583946,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619513,37621738,37622073,37622736,37625720,37633624, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 118 NM_002507 chr17 + 47572654 47592382 47572779 47590371 6 47572654,47579424,47583660,47587773,47589253,47590069, 47572845,47579566,47584020,47588026,47589414,47592382, 0 NGFR cmpl cmpl 0,0,1,1,2,1, 111 NM_001278369 chr4 + 40195268 40246384 40245006 40245582 3 40195268,40244333,40244797, 40195432,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 111 NM_001278368 chr4 + 40192630 40246384 40245006 40245582 3 40192630,40244333,40244797, 40192958,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 111 NM_001278366 chr4 + 40194586 40246384 40245006 40245582 4 40194586,40198740,40244333,40244797, 40194743,40198920,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 143 NM_001195519 chr10 - 74127083 74283744 74127952 74283617 7 74127083,74135540,74167686,74182991,74234857,74236931,74283559, 74128113,74135630,74167795,74183129,74235055,74237014,74283744, 0 MICU1 cmpl cmpl 1,1,0,0,0,1,0, 1346 NM_018275 chr7 - 99752042 99756302 99752633 99756122 11 99752042,99752884,99753293,99754008,99754256,99754467,99754716,99754995,99755255,99755465,99755711, 99752787,99753078,99753448,99754172,99754339,99754615,99754837,99755082,99755385,99755561,99756302, 0 C7orf43 cmpl cmpl 2,0,1,2,0,2,1,1,0,0,0, 946 NM_000256 chr11 - 47352956 47374253 47353421 47374198 34 47352956,47353395,47353622,47354116,47354364,47354744,47355107,47355472,47356592,47357427,47358941,47359240,47360070,47360874,47361201,47362553,47362688,47363541,47364128,47364380,47364571,47365042,47367757,47368177,47368972,47368975,47369201,47369407,47369974,47371324,47371564,47372052,47372789,47374173, 47353267,47353432,47353809,47354253,47354524,47354884,47355303,47355561,47356760,47357562,47359130,47359345,47360230,47360955,47361341,47362583,47362795,47363707,47364295,47364486,47364699,47365175,47367921,47368195,47368974,47369030,47369231,47369456,47370092,47371473,47371663,47372166,47373056,47374253, 0 MYBPC3 cmpl cmpl -1,1,0,1,0,1,0,1,1,1,1,1,0,0,1,1,2,1,2,1,2,1,2,2,0,2,2,1,0,1,1,1,1,0, 804 NR_033353 chr15 - 28764756 28778143 28778143 28778143 18 28764756,28767988,28768230,28768413,28769088,28769617,28771052,28771400,28772047,28772330,28772544,28773653,28773858,28774031,28775245,28775509,28776154,28777971, 28767903,28768141,28768331,28768514,28769180,28769693,28771133,28771657,28772135,28772438,28772634,28773763,28773943,28774391,28775326,28775569,28776274,28778143, 0 GOLGA8G unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1127 NR_038862 chr11 - 71116791 71134400 71134400 71134400 3 71116791,71132846,71134379, 71118828,71132950,71134400, 0 FLJ42102 unk unk -1,-1,-1, 764 NR_038400 chr21 + 23470935 23488847 23488847 23488847 6 23470935,23481764,23484089,23487078,23487296,23488654, 23471031,23481872,23484145,23487217,23487431,23488847, 0 LINC00308 unk unk -1,-1,-1,-1,-1,-1, 156 NM_021721 chr7 + 87563565 87811428 87563780 87811343 28 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87810819,87811272, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87810920,87811428, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,1, 605 NR_003078 chr20 + 2634857 2634932 2634932 2634932 1 2634857, 2634932, 0 SNORD110 unk unk -1, 1152 NM_021972 chr17 + 74380689 74383941 74381725 74383667 6 74380689,74381531,74382023,74382301,74382473,74382886, 74380887,74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl -1,0,1,1,0,2, 612 NM_133261 chr19 + 3585568 3593539 3585595 3590188 6 3585568,3586492,3586811,3589440,3589828,3590036, 3585820,3586678,3586992,3589553,3589910,3593539, 0 GIPC3 cmpl cmpl 0,0,0,1,0,1, 592 NM_001031617 chr7 - 1004485 1015235 1009013 1015145 3 1004485,1012816,1015063, 1009092,1012928,1015235, 0 COX19 cmpl cmpl 2,1,0, 177 NM_001171689 chrX - 109437413 109683461 109441747 109560930 8 109437413,109444181,109445673,109459745,109507716,109560826,109669885,109683117, 109441862,109444278,109445764,109459860,109507827,109561077,109670031,109683461, 0 AMMECR1 cmpl cmpl 2,1,0,2,2,0,-1,-1, 971 NM_001171740 chr3 - 50595455 50605223 50597087 50603130 5 50595455,50598347,50599152,50602896,50604893, 50597168,50598495,50599178,50603292,50605223, 0 C3orf18 cmpl cmpl 0,2,0,0,-1, 1888 NM_001199462 chr6 - 170884659 170893742 170886646 170893669 7 170884659,170887944,170889089,170892144,170892592,170893386,170893579, 170886805,170888058,170889193,170892276,170892835,170893480,170893742, 0 PDCD2 cmpl cmpl 0,0,1,1,1,0,0, 1279 NM_001359 chr8 + 91013579 91064227 91013720 91064125 10 91013579,91029351,91031136,91031313,91033136,91049068,91054955,91057076,91063904,91064065, 91013789,91029554,91031194,91031400,91033284,91049168,91055028,91057223,91063967,91064227, 0 DECR1 cmpl cmpl 0,0,2,0,0,1,2,0,0,0, 90 NM_001204148 chr7 + 18548899 18708466 18624974 18706150 11 18548899,18624903,18629958,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835, 18549069,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,0,1,2,1,1,0,0,1,0, 90 NM_001204146 chr7 + 18535368 18708466 18535925 18706150 11 18535368,18535884,18624903,18629958,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18535646,18535947,18625145,18630109,18631265,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,0,0,1,0, 90 NM_001204144 chr7 + 18126571 18708466 18201947 18706150 13 18126571,18201851,18498464,18535884,18624903,18629967,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18126836,18201972,18498524,18535947,18625145,18630109,18631265,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,1,1,1,0,1,2,1,0,0,1,0, 110 NM_003616 chr14 + 39583487 39606177 39583509 39605683 10 39583487,39584032,39587202,39587743,39591633,39594195,39597483,39601161,39602864,39605643, 39583679,39584117,39587292,39587803,39591747,39594240,39597552,39601272,39602923,39606177, 0 GEMIN2 cmpl cmpl 0,2,0,0,0,0,0,0,0,2, 1538 NM_198277 chr11 + 124933012 124960412 124933263 124956127 19 124933012,124946652,124947125,124947345,124949007,124949579,124950509,124951316,124951649,124952139,124953710,124954129,124954720,124954961,124955290,124955472,124955849,124956099,124958014, 124933322,124946734,124947219,124947424,124949143,124949656,124950676,124951354,124951802,124952230,124953773,124954215,124954769,124955035,124955369,124955570,124955914,124956156,124960412, 0 SLC37A2 cmpl cmpl 0,2,0,1,2,0,2,1,0,0,1,1,0,1,0,1,0,2,-1, 79 NM_145689 chr11 - 6416353 6440702 6416763 6432577 14 6416353,6417015,6417329,6422218,6422574,6422803,6423311,6423805,6424374,6424548,6424717,6424876,6431856,6440575, 6416931,6417192,6417445,6422302,6422659,6422918,6423439,6423955,6424438,6424634,6424774,6425052,6432591,6440702, 0 APBB1 cmpl cmpl 0,0,1,1,0,2,0,0,2,0,0,1,0,-1, 2197 NM_001136575 chr2 - 211295972 211341499 211299210 211341120 10 211295972,211300110,211300939,211302413,211305321,211306031,211319830,211336682,211341039,211341445, 211299287,211300183,211301116,211302596,211305468,211306167,211320038,211336800,211341136,211341499, 0 LANCL1 cmpl cmpl 1,0,0,0,0,2,1,0,0,-1, 1737 NR_109857 chr7 + 151106246 151110440 151110440 151110440 6 151106246,151108313,151108755,151109052,151109804,151110357, 151106468,151108398,151108878,151109156,151109938,151110440, 0 WDR86-AS1 unk unk -1,-1,-1,-1,-1,-1, 156 NM_016351 chr7 + 87563565 87832204 87563780 87825806 30 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87810819,87811272,87822430,87825785, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87810920,87811339,87822554,87832204, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,1,2,0, 152 NM_014933 chr4 - 83739813 83812419 83740226 83803089 27 83739813,83742189,83745707,83748521,83750152,83763292,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803090,83812419, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 856 NM_006285 chr9 + 35605280 35610038 35605616 35609739 10 35605280,35605980,35606233,35606833,35607323,35607578,35607924,35608156,35608391,35608858, 35605835,35606102,35606282,35606980,35607406,35607669,35608008,35608246,35608506,35610038, 0 TESK1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1, 749 NM_001243425 chr18 + 21594383 21600262 21594835 21599887 2 21594383,21599823, 21595002,21600262, 0 TTC39C cmpl cmpl 0,2, 129 NR_046095 chr14 + 59105554 59115038 59115038 59115038 4 59105554,59107453,59108309,59112086, 59105980,59107586,59108465,59115038, 0 DACT1 unk unk -1,-1,-1,-1, 733 NR_046104 chr14 - 19407014 19410111 19410111 19410111 3 19407014,19409572,19409941, 19408008,19409681,19410111, 0 RP11-536C10.7 unk unk -1,-1,-1, 241 NM_001167579 chr5 + 176811431 176817514 176812742 176816726 9 176811431,176812695,176812987,176813221,176813423,176814762,176814994,176815277,176816639, 176811488,176812851,176813137,176813350,176813567,176814874,176815190,176815373,176817514, 0 SLC34A1 cmpl cmpl -1,0,1,1,1,1,2,0,0, 1698 NM_001097616 chr1 + 145883867 145924049 145883867 145923443 9 145883867,145884854,145897084,145899405,145900397,145916724,145918957,145923027,145923236, 145883998,145884935,145897194,145899494,145900490,145916820,145919047,145923093,145924049, 0 GPR89C cmpl cmpl 0,2,2,1,0,0,0,0,0, 1706 NM_001185076 chrX + 146993468 147032647 146993697 147030364 16 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147024650,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147024846,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,1,1,0, 717 NM_001202439 chr11 + 17373308 17398868 17373516 17394059 5 17373308,17378197,17388555,17390413,17393552, 17373586,17378548,17388894,17390511,17398868, 0 NCR3LG1 cmpl cmpl 0,1,1,1,0, 825 NM_001623 chr6 + 31583032 31584798 31583106 31584677 6 31583032,31583297,31583446,31583880,31584120,31584592, 31583131,31583359,31583513,31583922,31584283,31584798, 0 AIF1 cmpl cmpl 0,1,0,1,1,2, 1513 NM_001199800 chr3 - 121706169 121741127 121707213 121740924 6 121706169,121711996,121713028,121724090,121725837,121740866, 121707255,121712817,121713160,121724240,121726008,121741127, 0 ILDR1 cmpl cmpl 0,1,1,1,1,0, 176 NM_001146 chr8 - 108261709 108510254 108264082 108509786 9 108261709,108276448,108296909,108306163,108315467,108334123,108348377,108359169,108509489, 108264243,108276579,108297076,108306265,108315595,108334356,108348499,108359325,108510254, 0 ANGPT1 cmpl cmpl 1,2,0,0,1,2,0,0,0, 1486 NM_173851 chr8 + 118147336 118188953 118147566 118184920 8 118147336,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 118147637,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl 0,2,1,1,2,0,1,1, 182 NM_005023 chr5 - 114546526 114598569 114548098 114598548 9 114546526,114552561,114557520,114566672,114572086,114573554,114577235,114588833,114598408, 114548280,114552670,114557705,114566718,114572219,114573706,114577303,114588952,114598569, 0 PGGT1B cmpl cmpl 1,0,1,0,2,0,1,2,0, 2 NM_001199919 chr6 - 83875848 83903012 83876105 83900731 14 83875848,83878960,83880023,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83900527,83902897, 83876185,83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83900733,83903012, 0 PGM3 cmpl cmpl 1,0,0,0,0,0,0,1,0,1,2,0,0,-1, 2 NM_001199917 chr6 - 83874592 83903655 83878952 83900987 14 83874592,83880023,83881655,83884092,83885680,83888391,83889528,83891454,83892563,83896726,83898332,83900527,83900905,83903541, 83879042,83880197,83881778,83884206,83885779,83888475,83889686,83891650,83892697,83896794,83898517,83900733,83901042,83903655, 0 PGM3 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,0,1,0,-1, 952 NM_001199899 chr17 + 48173058 48188733 48174860 48187461 11 48173058,48174786,48182734,48183248,48184157,48184439,48185519,48185682,48185975,48186650,48187320, 48173174,48174928,48182806,48183433,48184247,48184517,48185596,48185781,48186083,48186764,48188733, 0 PDK2 cmpl cmpl -1,0,2,2,1,1,1,0,0,0,0, 883 NM_213656 chr17 - 39114668 39123144 39114852 39123108 7 39114668,39116532,39118413,39118653,39119878,39120697,39122640, 39115111,39116753,39118539,39118815,39120035,39120780,39123144, 0 KRT39 cmpl cmpl 2,0,0,0,2,0,0, 143 NM_002314 chr7 + 73498106 73536855 73498320 73535631 16 73498106,73500077,73510951,73511409,73513361,73520204,73520406,73521339,73522200,73523234,73525977,73526262,73530131,73534912,73535221,73535468, 73498375,73500174,73511090,73511519,73513568,73520310,73520573,73521523,73522287,73523366,73526037,73526328,73530288,73534968,73535379,73536855, 0 LIMK1 cmpl cmpl 0,1,2,0,2,2,0,2,0,0,0,0,0,1,0,2, 1327 NM_003384 chr14 + 97263683 97347951 97299808 97347545 13 97263683,97299803,97304098,97312431,97313593,97319167,97319410,97321560,97322466,97322864,97326893,97342366,97347513, 97263784,97299968,97304154,97312501,97313681,97319276,97319503,97321693,97322587,97322923,97327072,97342457,97347951, 0 VRK1 cmpl cmpl -1,0,1,0,1,2,0,0,1,2,1,0,1, 985 NM_015136 chr3 + 52529355 52558511 52529429 52558372 69 52529355,52535181,52535653,52536021,52536174,52536647,52537014,52537359,52537787,52538043,52538476,52538754,52539018,52539334,52539683,52539898,52540185,52540707,52541628,52541946,52542288,52543225,52543885,52544157,52544364,52545665,52546356,52546611,52546843,52547145,52547732,52547898,52548130,52548380,52548716,52549004,52549438,52550058,52550371,52550557,52550707,52550999,52551335,52551565,52551896,52552327,52552551,52552738,52553279,52553520,52553959,52554219,52554415,52554657,52554819,52555376,52555611,52555859,52556052,52556345,52556570,52556790,52557040,52557237,52557442,52557667,52557886,52558115,52558315, 52529507,52535318,52535769,52536107,52536244,52536743,52537125,52537556,52537918,52538171,52538565,52538892,52539159,52539397,52539797,52539952,52540266,52540866,52541691,52542042,52542375,52543337,52544072,52544251,52544523,52545761,52546452,52546659,52546974,52547257,52547810,52547997,52548229,52548512,52548845,52549061,52549522,52550254,52550467,52550603,52550784,52551125,52551409,52551640,52552019,52552375,52552629,52552885,52553420,52553580,52554136,52554306,52554565,52554714,52555021,52555526,52555716,52555967,52556246,52556490,52556704,52556956,52557150,52557357,52557592,52557772,52558033,52558229,52558511, 0 STAB1 cmpl cmpl 0,0,2,1,0,1,1,1,0,2,1,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,2,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,0,0,0,0, 897 NM_001277732 chr17 + 41005259 41010147 41006493 41008567 4 41005259,41006464,41007460,41008291, 41005381,41006750,41007590,41010147, 0 AOC3 cmpl cmpl -1,0,2,0, 112 NM_002883 chr22 - 41640780 41682255 41642606 41677048 16 41640780,41645333,41645732,41647010,41648875,41650311,41652024,41652194,41652714,41653951,41657449,41660667,41664100,41670603,41676936,41681989, 41642676,41645455,41645821,41647113,41648995,41650498,41652109,41652294,41652828,41654110,41657584,41660847,41664160,41670731,41677086,41682255, 0 RANGAP1 cmpl cmpl 2,0,1,0,0,2,1,0,0,0,0,0,0,1,0,-1, 847 NR_104056 chr21 + 34430134 34437385 34437385 34437385 5 34430134,34430406,34435097,34436581,34436908, 34430204,34430510,34435122,34436754,34437385, 0 LINC00945 unk unk -1,-1,-1,-1,-1, 1613 NR_038219 chr6 + 134759527 134825158 134825158 134825158 5 134759527,134773172,134785878,134792046,134823925, 134759659,134773267,134785987,134792164,134825158, 0 LINC01010 unk unk -1,-1,-1,-1,-1, 1613 NR_038218 chr6 + 134759527 134825158 134825158 134825158 3 134759527,134785878,134823925, 134759659,134785987,134825158, 0 LINC01010 unk unk -1,-1,-1, 1613 NR_038217 chr6 + 134758853 134825158 134825158 134825158 3 134758853,134785878,134823925, 134759019,134785987,134825158, 0 LINC01010 unk unk -1,-1,-1, 968 NM_144499 chr3 + 50229042 50235129 50229158 50232388 9 50229042,50230565,50230697,50230938,50231185,50231524,50231933,50232197,50232700, 50229264,50230608,50230839,50231096,50231314,50231654,50232087,50232389,50235129, 0 GNAT1 cmpl cmpl 0,1,2,0,2,2,0,1,-1, 793 NM_030771 chr11 - 27360060 27384795 27360367 27384741 6 27360060,27362242,27362938,27371878,27378949,27384382, 27360582,27362384,27363097,27371986,27379088,27384795, 0 CCDC34 cmpl cmpl 1,0,0,0,2,0, 1491 NM_152539 chr3 + 118864996 118870302 118865036 118870139 3 118864996,118867026,118870070, 118866434,118867170,118870302, 0 C3orf30 cmpl cmpl 0,0,0, 1449 NM_001032409 chr12 + 113344738 113357712 113344844 113357498 6 113344738,113346340,113348855,113354313,113355351,113357291, 113345024,113346629,113349040,113354543,113355505,113357712, 0 OAS1 cmpl cmpl 0,0,1,0,2,0, 1329 NM_001172667 chr2 - 97541618 97560899 97542012 97560824 5 97541618,97543626,97544152,97559662,97560797, 97542045,97543779,97544230,97559788,97560899, 0 FAM178B cmpl cmpl 0,0,0,0,0, 900 NM_080732 chr19 + 41305047 41314346 41306477 41313769 6 41305047,41306243,41312459,41313042,41313388,41313713, 41305167,41307320,41312579,41313179,41313456,41314346, 0 EGLN2 cmpl cmpl -1,0,0,0,2,1, 1354 NR_002799 chr4 + 100871635 100873620 100873620 100873620 1 100871635, 100873620, 0 LOC256880 unk unk -1, 1768 NM_001287588 chr1 + 155108287 155111334 155108428 155110649 5 155108287,155108774,155110036,155110454,155110637, 155108467,155108852,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0,0, 1141 NR_038453 chr10 - 72976980 72977985 72977985 72977985 2 72976980,72977750, 72977392,72977985, 0 UNC5B-AS1 unk unk -1,-1, 1379 NM_024071 chr14 + 104182080 104200005 104182178 104199355 7 104182080,104193128,104194082,104195244,104195427,104198956,104199319, 104182316,104193179,104194251,104195320,104195519,104199099,104200005, 0 ZFYVE21 cmpl cmpl 0,0,0,1,2,1,0, 1414 NM_004072 chr12 - 108681820 108733094 108685617 108686733 3 108681820,108723771,108732803, 108686736,108723984,108733094, 0 CMKLR1 cmpl cmpl 0,-1,-1, 806 NM_001195202 chr6 + 29003999 29044517 29031773 29044301 6 29003999,29007990,29012021,29031706,29032897,29044072, 29004122,29008125,29012128,29031906,29032949,29044517, 0 LOC100129636 cmpl cmpl -1,-1,-1,0,1,2, 131 NM_002431 chr14 + 61201458 61435398 61201580 61435067 8 61201458,61262934,61264804,61275042,61278704,61285439,61346431,61434946, 61201669,61263087,61264878,61275146,61278845,61285565,61346553,61435398, 0 MNAT1 cmpl cmpl 0,2,2,1,0,0,0,2, 590 NM_001042463 chr11 + 695590 704131 695608 703150 5 695590,698868,700141,700614,702944, 695846,698888,700235,700707,704131, 0 TMEM80 cmpl cmpl 0,1,0,1,1, 644 NM_001042461 chr19 + 7745706 7747748 7747139 7747706 2 7745706,7747127, 7745912,7747748, 0 TRAPPC5 cmpl cmpl -1,0, 128 NM_001457 chr3 + 57994126 58157982 57994291 58156489 46 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58118534,58120342,58121705,58124008,58127584,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58118658,58120499,58121895,58124256,58127656,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,2,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 941 NR_026566 chr10 - 46737612 46762892 46762892 46762892 9 46737612,46751425,46752800,46753640,46754678,46758553,46759908,46760994,46762724, 46740604,46751565,46752922,46753788,46754867,46758633,46760098,46761198,46762892, 0 BMS1P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 958 NR_026566 chr10 - 48927373 48952629 48952629 48952629 9 48927373,48941193,48942568,48943408,48944446,48948320,48949675,48950761,48952461, 48930366,48941333,48942690,48943556,48944635,48948400,48949865,48950965,48952629, 0 BMS1P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1604 NM_025041 chr3 - 133646989 133648656 133647149 133647647 1 133646989, 133648656, 0 C3orf36 cmpl cmpl 0, 618 NM_016069 chr16 - 4390251 4401373 4390319 4401235 5 4390251,4390920,4391368,4393207,4401232, 4390406,4390986,4391505,4393292,4401373, 0 PAM16 cmpl cmpl 0,0,1,0,0, 595 NM_001161530 chrY + 1351570 1378828 1351596 1378372 12 1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372153,1372815,1374338,1378294, 1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372255,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,1,2,0, 595 NM_001161529 chrX + 1387692 1428828 1401596 1428372 14 1387692,1393647,1401301,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1393711,1401453,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,1,0,1,2,1,0,0,1,2,0, 595 NM_001161529 chrY + 1337692 1378828 1351596 1378372 14 1337692,1343647,1351301,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1343711,1351453,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,-1,0,1,0,1,2,1,0,0,1,2,0, 1349 NM_012172 chr7 + 100187195 100198740 100187263 100198522 10 100187195,100187599,100187796,100189289,100190405,100192005,100192724,100193197,100197653,100198156, 100187416,100187698,100187980,100189525,100190640,100192164,100192846,100193329,100197824,100198740, 0 FBXO24 cmpl cmpl 0,0,0,1,0,1,1,0,0,0, 1767 NM_005840 chrX + 154997450 155012117 155003533 155004400 2 154997450,155003427, 154997798,155012117, 0 SPRY3 cmpl cmpl -1,0, 129 NM_005840 chrY + 59100456 59115123 59106539 59107406 2 59100456,59106433, 59100804,59115123, 0 SPRY3 cmpl cmpl -1,0, 1238 NM_152573 chr9 - 85594499 85678043 85597591 85677782 17 85594499,85605305,85607820,85611926,85613279,85615083,85615347,85615810,85619412,85620330,85622351,85624555,85627348,85630719,85637250,85640689,85677351, 85597697,85605382,85607940,85612041,85613361,85615231,85615485,85616045,85619501,85620415,85622420,85624671,85627426,85630815,85637341,85640836,85678043, 0 RASEF cmpl cmpl 2,0,0,2,1,0,0,2,0,2,2,0,0,0,2,2,0, 95 NM_000231 chr13 + 23755059 23899304 23777833 23898680 8 23755059,23777833,23808749,23824768,23853497,23869553,23894775,23898506, 23755214,23778028,23808851,23824856,23853617,23869626,23894899,23899304, 0 SGCG cmpl cmpl -1,0,0,0,1,1,2,0, 1419 NM_006267 chr2 + 109335936 109402267 109336062 109400357 29 109335936,109345587,109347229,109347777,109351987,109352559,109356944,109363166,109365375,109367719,109367983,109368326,109369453,109369881,109370280,109371360,109371631,109374868,109378556,109379692,109388156,109388944,109389323,109392187,109393585,109397724,109398583,109398983,109400051, 109336134,109345655,109347341,109347930,109352218,109352705,109357137,109363254,109365585,109367901,109368159,109368450,109369615,109370019,109370427,109371540,109371715,109375004,109378651,109384844,109388327,109389037,109389502,109392392,109393687,109397885,109398857,109399318,109402267, 0 RANBP2 cmpl cmpl 0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1,0,1,1,1,0,1,1,0,1,0, 1888 NM_001199464 chr6 - 170890834 170893742 170891345 170893669 5 170890834,170892144,170892592,170893386,170893579, 170891353,170892276,170892835,170893480,170893742, 0 PDCD2 cmpl cmpl 1,1,1,0,0, 1888 NM_001199463 chr6 - 170890834 170893742 170892115 170893669 4 170890834,170892592,170893386,170893579, 170892276,170892835,170893480,170893742, 0 PDCD2 cmpl cmpl 1,1,0,0, 822 NM_019052 chr6 - 31110215 31126015 31110368 31124815 18 31110215,31110739,31111038,31112463,31112661,31112942,31113224,31113472,31116181,31116394,31117842,31118231,31118501,31118735,31122272,31124507,31124799,31125943, 31110493,31110911,31111190,31112565,31112850,31113079,31113270,31113585,31116288,31116505,31117992,31118342,31118637,31118899,31122576,31124721,31124866,31126015, 0 CCHCR1 cmpl cmpl 1,0,1,1,1,2,1,2,0,0,0,0,2,0,2,1,0,-1, 111 NM_001284426 chr3 + 40141501 40301811 40208347 40299657 15 40141501,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 40141741,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,-1,-1,0,0,0,0,1,0,0,0,0,0,1,0, 110 NM_001270425 chr2 - 39476406 39664453 39477758 39664128 33 39476406,39478970,39481590,39485488,39485659,39487746,39492343,39494329,39499423,39499622,39505547,39507412,39509653,39513992,39515261,39517432,39519913,39520370,39526883,39536601,39542450,39552658,39552870,39553039,39553286,39559057,39560672,39564060,39564666,39570528,39583389,39605206,39664032, 39477846,39479026,39481661,39485581,39485728,39487918,39492447,39494388,39499541,39499683,39505627,39507497,39509695,39514105,39515421,39517475,39519967,39520409,39526942,39536660,39542529,39552769,39552952,39553102,39553418,39559130,39560715,39564108,39564722,39570593,39583480,39605264,39664453, 0 MAP4K3 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 92 NM_033108 chrY + 20708573 20710478 20708673 20710357 2 20708573,20709664, 20709186,20710478, 0 HSFY1 cmpl cmpl 0,0, 2135 NM_001270509 chr1 - 203185206 203198860 203186016 203198764 11 203185206,203186866,203188343,203188791,203191329,203192262,203192655,203194175,203194796,203197660,203198739, 203186261,203186906,203188457,203188977,203191453,203192372,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 cmpl cmpl 1,0,0,0,2,0,2,2,1,1,0, 1732 NM_015660 chr7 + 150382793 150390728 150384147 150390388 3 150382793,150384139,150389402, 150382873,150384175,150390728, 0 GIMAP2 cmpl cmpl -1,0,1, 298 NM_018072 chr1 - 236712304 236767841 236714201 236767395 45 236712304,236715298,236716880,236717897,236718595,236718850,236719104,236719399,236720494,236721536,236722294,236723013,236724524,236727797,236729218,236729945,236732295,236734650,236734867,236735710,236736024,236737501,236737960,236739518,236740079,236744521,236746035,236746312,236748324,236749119,236749540,236750701,236751247,236754146,236755292,236755822,236757311,236758839,236759132,236760135,236761177,236762782,236766459,236767253,236767721, 236714290,236715407,236717039,236718052,236718764,236718955,236719239,236719558,236720645,236721829,236722435,236723137,236724571,236727961,236729345,236730176,236732424,236734772,236734986,236735854,236736128,236737633,236738203,236739677,236740249,236744714,236746172,236746496,236748516,236749241,236749752,236750790,236751343,236754254,236755410,236755933,236757414,236758973,236759344,236760276,236761279,236762924,236766676,236767427,236767841, 0 HEATR1 cmpl cmpl 1,0,0,1,0,0,0,0,2,0,0,2,0,1,0,0,0,1,2,2,0,0,0,0,1,0,1,0,0,1,2,0,0,0,2,2,1,2,0,0,0,2,1,0,-1, 745 NM_002176 chr9 - 21077103 21077943 21077304 21077868 1 21077103, 21077943, 0 IFNB1 cmpl cmpl 0, 1095 NM_001204746 chr16 - 66942024 66952887 66942294 66951968 17 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66950025,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944405,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948241,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,0,0,0,0,0,-1, 738 NM_002882 chr22 + 20104946 20114880 20105172 20114575 6 20104946,20106535,20109786,20112830,20113825,20114474, 20105187,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl 0,0,2,1,1,1, 1361 NM_001277423 chrX - 101715239 101726732 101715433 101720465 10 101715239,101716840,101717765,101718045,101718512,101719415,101720369,101723952,101726067,101726692, 101715666,101717004,101717947,101718266,101718649,101719606,101720490,101724078,101726205,101726732, 0 TCP11X2 cmpl cmpl 1,2,0,1,2,0,0,-1,-1,-1, 656 NM_001242326 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L25 cmpl cmpl 0, 1768 NM_001287590 chr1 + 155107819 155111334 155108147 155110757 5 155107819,155108774,155110036,155110454,155110655, 155108156,155108852,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0,0, 595 NM_006140 chrY + 1337692 1378828 1351596 1378372 13 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1372815,1374338,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1372912,1374420,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 1150 NM_001017361 chr6 + 74072399 74073898 74072452 74073583 3 74072399,74072817,74073278, 74072621,74072997,74073898, 0 KHDC3L cmpl cmpl 0,1,1, 960 NR_110019 chr12 + 49182929 49184318 49184318 49184318 3 49182929,49183767,49184095, 49183010,49183902,49184318, 0 RP11-579D7.4 unk unk -1,-1,-1, 786 NM_001168241 chr2 + 26395959 26412532 26396089 26411126 6 26395959,26399212,26405835,26407101,26409057,26410099, 26396201,26399353,26405966,26408145,26409227,26412532, 0 GAREML cmpl cmpl 0,1,1,0,0,2, 1017 NM_173596 chr12 + 56623819 56631629 56625058 56631515 13 56623819,56624023,56624614,56624987,56626472,56628607,56628940,56629343,56630179,56630365,56630714,56630933,56631371, 56623906,56624079,56624657,56625345,56626656,56628770,56629110,56629484,56630276,56630530,56630795,56631124,56631629, 0 SLC39A5 cmpl cmpl -1,-1,-1,0,2,0,1,0,0,1,1,1,0, 1566 NM_001199140 chr2 - 128619206 128643514 128622667 128631808 8 128619206,128624473,128627027,128628387,128628822,128631401,128641776,128643383, 128622779,128624570,128627118,128628502,128628933,128631846,128641886,128643514, 0 AMMECR1L cmpl cmpl 2,1,0,2,2,0,-1,-1, 656 NR_027279 chr4 + 9369599 9370796 9370796 9370796 1 9369599, 9370796, 0 USP17L6P unk unk -1, 988 NM_033448 chr12 - 52937692 52946931 52938315 52946861 9 52937692,52939348,52940069,52941640,52941935,52942484,52943076,52943812,52946420, 52938527,52939383,52940290,52941766,52942100,52942580,52943137,52944027,52946931, 0 KRT71 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1282 NR_104447 chr15 - 91474147 91475799 91475799 91475799 4 91474147,91474933,91475284,91475615, 91474635,91475174,91475340,91475799, 0 HDDC3 unk unk -1,-1,-1,-1, 647 NM_001206671 chr11 - 8127596 8190590 8132244 8190536 6 8127596,8148205,8158924,8159818,8161513,8190412, 8132684,8148354,8159018,8159894,8161740,8190590, 0 RIC3 cmpl cmpl 1,2,1,0,1,0, 659 NR_046451 chr12 + 9800514 9811010 9811010 9811010 4 9800514,9806278,9808468,9809516, 9800585,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 594 NM_022148 chrY - 1264893 1281530 1264893 1281527 6 1264893,1267418,1271271,1275325,1277698,1281448, 1265014,1267581,1271405,1275492,1277801,1281530, 0 CRLF2 incmpl cmpl 1,0,1,2,1,0, 762 NM_001282746 chr10 + 23216952 23303416 23220925 23303050 17 23216952,23220924,23235072,23244735,23247998,23248327,23250812,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297743,23303028, 23217035,23220973,23235190,23244861,23248067,23248503,23251007,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23303416, 0 ARMC3 cmpl cmpl -1,0,0,1,1,1,0,0,1,1,2,0,2,0,2,2,2, 1654 NM_002494 chr4 - 140211070 140222388 140213703 140216952 5 140211070,140213683,140216196,140216885,140222117, 140211246,140213763,140216300,140217114,140222388, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 1319 NM_022350 chr5 + 96211643 96255406 96215389 96253309 19 96211643,96215267,96219495,96222358,96224888,96228002,96230949,96232076,96232435,96235824,96237209,96237977,96239080,96244664,96245283,96248340,96249020,96251391,96253165, 96212231,96215964,96219634,96222493,96225009,96228157,96231063,96232208,96232567,96235893,96237385,96238057,96239264,96244821,96245468,96248502,96249161,96251473,96255406, 0 ERAP2 cmpl cmpl -1,0,2,0,0,1,0,0,0,0,0,2,1,2,0,2,2,2,0, 12 NR_046198 chr21 + 26212863 26430056 26430056 26430056 4 26212863,26217092,26402096,26427746, 26213042,26217243,26402172,26430056, 0 LOC339622 unk unk -1,-1,-1,-1, 1234 NR_038274 chr15 + 85113879 85123412 85123412 85123412 4 85113879,85115445,85116252,85121178, 85113965,85115575,85116482,85123412, 0 LINC00933 unk unk -1,-1,-1,-1, 164 NR_038242 chr12 + 95611521 95696566 95696566 95696566 12 95611521,95645715,95650929,95656681,95660132,95663814,95668517,95676088,95681439,95688047,95689826,95693940, 95611662,95645847,95651015,95656857,95660408,95663964,95668665,95676420,95681633,95688148,95690034,95696566, 0 VEZT unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 164 NR_038241 chr12 + 95611521 95696566 95696566 95696566 13 95611521,95645715,95650325,95650925,95656681,95660132,95663826,95668517,95676088,95681439,95688047,95689826,95693940, 95611662,95645847,95650398,95651015,95656857,95660408,95663964,95668665,95676420,95681633,95688148,95690034,95696566, 0 VEZT unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 882 NM_181535 chr17 - 38948447 38956211 38948678 38956145 8 38948447,38949406,38950080,38953167,38953371,38954486,38955168,38955695, 38948821,38949462,38950298,38953293,38953533,38954643,38955251,38956211, 0 KRT28 cmpl cmpl 1,2,0,0,0,2,0,0, 1449 NM_002534 chr12 + 113344738 113355831 113344844 113355562 5 113344738,113346340,113348855,113354313,113355351, 113345024,113346629,113349040,113354543,113355831, 0 OAS1 cmpl cmpl 0,0,1,0,2, 1571 NM_004794 chrX + 129305772 129318844 129306036 129318714 2 129305772,129318258, 129306294,129318844, 0 RAB33A cmpl cmpl 0,0, 587 NM_003641 chr11 + 313990 315272 314170 315113 2 313990,314921, 314356,315272, 0 IFITM1 cmpl cmpl 0,0, 933 NM_001482 chr15 - 45653321 45670980 45654306 45670651 9 45653321,45656097,45656994,45658243,45658568,45660267,45661523,45668798,45670582, 45654419,45656214,45657058,45658408,45658706,45660458,45661719,45669017,45670980, 0 GATM cmpl cmpl 1,1,0,0,0,1,0,0,0, 723 NM_000367 chr6 - 18128544 18155374 18130898 18149358 9 18128544,18132363,18134034,18139193,18139895,18143826,18148053,18149218,18155263, 18131011,18132408,18134120,18139268,18139948,18143959,18148146,18149402,18155374, 0 TPMT cmpl cmpl 1,1,2,2,0,2,2,0,-1, 593 NM_006814 chr20 + 1099239 1148426 1099416 1145724 7 1099239,1106140,1108068,1115763,1143773,1144961,1145672, 1099545,1106293,1108151,1115949,1143827,1145120,1148426, 0 PSMF1 cmpl cmpl 0,0,0,2,2,2,2, 818 NM_001161376 chr6 + 30614815 30620987 30615008 30620692 6 30614815,30617334,30618770,30619042,30620424,30620578, 30615623,30617736,30618859,30619243,30620494,30620987, 0 C6orf136 cmpl cmpl 0,0,0,2,2,0, 1351 NM_001271685 chr1 + 100435991 100492534 100436092 100488032 8 100435991,100459092,100464816,100472589,100476920,100480857,100483237,100487941, 100436200,100459297,100464971,100472712,100477089,100480976,100483371,100492534, 0 SLC35A3 cmpl cmpl 0,0,1,0,0,1,0,2, 1018 NM_001017992 chr5 - 56775842 56778636 56777403 56778534 1 56775842, 56778636, 0 ACTBL2 cmpl cmpl 0, 738 NM_001278639 chr22 + 20103460 20114880 20103707 20114575 6 20103460,20106535,20109786,20112830,20113825,20114474, 20103953,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl 0,0,2,1,1,1, 963 NM_001278548 chr10 + 49609654 49647402 49609703 49642938 10 49609654,49612894,49617921,49618072,49628197,49634086,49634422,49635122,49639235,49642921, 49609825,49613024,49617980,49618211,49628363,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,0,1,1, 850 NM_005643 chr6 - 34845554 34855848 34846366 34855734 5 34845554,34847743,34848065,34850708,34855563, 34846497,34847840,34848153,34850857,34855848, 0 TAF11 cmpl cmpl 1,0,2,0,0, 888 NM_004877 chr19 - 39818998 39826726 39819116 39826616 7 39818998,39819639,39820183,39823716,39825900,39826074,39826613, 39819188,39819713,39820266,39823766,39825950,39826171,39826726, 0 GMFG cmpl cmpl 0,1,2,0,1,0,0, 754 NM_001128431 chr8 + 22224761 22280249 22262223 22277211 9 22224761,22262208,22265822,22269549,22272292,22273281,22273585,22275163,22277064, 22224921,22262493,22266009,22269719,22272415,22273470,22273793,22275348,22280249, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 134 NM_182920 chr3 - 64501330 64673365 64507846 64673333 40 64501330,64507841,64518841,64524878,64526770,64526995,64527201,64527513,64532433,64536567,64547253,64554043,64579933,64582505,64587619,64589597,64589902,64592635,64599020,64600996,64601635,64606789,64607873,64608095,64617130,64617483,64619147,64619373,64627523,64633615,64635312,64636692,64640028,64640247,64641251,64641467,64644177,64666876,64672243,64673218, 64502797,64507936,64518946,64524970,64526904,64527090,64527296,64527646,64532628,64536738,64547427,64554211,64580110,64582667,64587889,64589765,64590007,64592755,64599185,64601161,64601846,64606916,64608003,64608262,64617226,64617601,64619284,64619555,64627669,64633720,64635454,64636839,64640134,64640288,64641367,64641551,64644467,64667039,64672644,64673365, 0 ADAMTS9 cmpl cmpl -1,0,0,1,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,1,1,0,1,2,0,0,2,2,1,2,0,0,1,0,1,0, 1134 NM_001080851 chrX + 72064875 72068636 72064969 72068209 6 72064875,72065332,72065705,72066718,72066963,72068096, 72065033,72065391,72065839,72066779,72067111,72068636, 0 DMRTC1B cmpl cmpl 0,1,0,2,0,1, 1135 NM_001080851 chrX - 72091858 72095622 72092285 72095528 6 72091858,72093383,72093715,72094658,72095106,72095464, 72092398,72093531,72093776,72094792,72095165,72095622, 0 DMRTC1B cmpl cmpl 1,0,2,0,1,0, 94 NM_001135154 chr8 + 22224761 22291640 22262223 22291517 9 22224761,22262208,22265822,22269549,22272292,22273281,22273585,22275163,22291403, 22224921,22262493,22266009,22269719,22272415,22273470,22273793,22275348,22291640, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 754 NM_001135153 chr8 + 22225049 22280249 22262223 22277211 9 22225049,22262208,22265822,22269549,22272292,22273281,22273585,22275163,22277064, 22225250,22262493,22266009,22269719,22272415,22273470,22273793,22275348,22280249, 0 SLC39A14 cmpl cmpl -1,0,0,1,0,0,0,1,0, 1372 NM_001135148 chr4 - 103182820 103245469 103184200 103245424 8 103182820,103188646,103189028,103225473,103226145,103228592,103236824,103245406, 103184350,103188831,103189236,103225638,103226268,103228762,103236987,103245469, 0 SLC39A8 cmpl cmpl 0,1,0,0,0,1,0,0, 1372 NM_001135147 chr4 - 103172197 103266410 103174578 103265819 11 103172197,103180611,103184317,103188646,103189028,103225473,103226145,103228592,103236824,103265600,103266299, 103174587,103180671,103184350,103188831,103189236,103225638,103226268,103228762,103236987,103266072,103266410, 0 SLC39A8 cmpl cmpl 0,0,0,1,0,0,0,1,0,0,-1, 1372 NM_001135146 chr4 - 103182820 103266655 103184200 103265819 9 103182820,103188646,103189028,103225473,103226145,103228592,103236824,103265600,103266501, 103184350,103188831,103189236,103225638,103226268,103228762,103236987,103266072,103266655, 0 SLC39A8 cmpl cmpl 0,1,0,0,0,1,0,0,-1, 183 NM_015641 chr7 + 115850546 115898837 115850761 115897536 7 115850546,115874587,115889073,115890214,115891813,115892371,115897347, 115850788,115874673,115889326,115890550,115892029,115892530,115898837, 0 TES cmpl cmpl 0,0,2,0,0,0,0, 1659 NM_032403 chr5 + 140855568 140892544 140855683 140890740 4 140855568,140874373,140884959,140890513, 140855713,140874432,140885048,140892544, 0 PCDHGC3 cmpl cmpl 0,0,2,1, 2 NM_001253891 chr11 + 75479777 75512581 75480036 75511553 7 75479777,75501232,75501705,75507372,75508202,75509271,75511398, 75480157,75501340,75501776,75507577,75508377,75509474,75512581, 0 DGAT2 cmpl cmpl 0,1,1,0,1,2,1, 805 NR_015341 chr17 + 28903482 28964484 28964484 28964484 9 28903482,28926921,28934569,28935447,28937906,28942913,28958772,28960115,28961011, 28903679,28926996,28934683,28935580,28937960,28942998,28958945,28960408,28964484, 0 LRRC37BP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1102 NM_018430 chr16 + 67840780 67861971 67854756 67861896 16 67840780,67848204,67854741,67855001,67857528,67858485,67859039,67859569,67859819,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841288,67848304,67854854,67855128,67857622,67858682,67859175,67859739,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,0,2,0,1,0,1,0,1,0,0,0,2,0,2, 13 NM_015358 chr21 + 37692486 37748944 37692562 37747594 17 37692486,37705943,37709171,37710029,37711071,37713696,37716876,37717209,37721608,37728917,37732252,37732481,37734480,37736390,37741285,37744671,37747440, 37692601,37706016,37709304,37710244,37711219,37713844,37717005,37717329,37721706,37729022,37732375,37732556,37734526,37736557,37742174,37744829,37748944, 0 MORC3 cmpl cmpl 0,0,1,2,1,2,0,0,0,2,2,2,2,0,2,0,2, 873 NM_000025 chr8 - 37820513 37824184 37821735 37823987 2 37820513,37822782, 37821757,37824184, 0 ADRB3 cmpl cmpl 2,0, 182 NM_033020 chr1 - 114935398 115053781 114940269 115053697 19 114935398,114942078,114944010,114945381,114948031,114949562,114951298,114952805,114964057,114967212,114968070,114969798,114970369,114973419,114976238,115005725,115006033,115006891,115053171, 114940482,114942231,114944085,114945505,114948381,114949722,114951362,114952938,114964258,114967377,114968345,114969916,114970516,114973534,114976355,115005858,115006178,115007010,115053781, 0 TRIM33 cmpl cmpl 0,0,0,2,0,2,1,0,0,0,1,0,0,2,2,1,0,1,0, 87 NM_032918 chr12 - 15260715 15374411 15262043 15370423 5 15260715,15264277,15273996,15370362,15374128, 15262451,15264351,15274053,15370537,15374411, 0 RERG cmpl cmpl 0,1,1,0,-1, 159 NM_001141945 chr10 - 90694830 90751147 90694979 90708687 9 90694830,90697817,90699263,90700985,90701541,90703553,90707014,90708558,90750695, 90695123,90697999,90699455,90701147,90701626,90703664,90707143,90708710,90751147, 0 ACTA2 cmpl cmpl 0,1,1,1,0,0,0,0,-1, 1776 NM_001193301 chr1 + 156119734 156147542 156124369 156146788 15 156119734,156124340,156126204,156127860,156128178,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156119884,156124508,156126365,156127923,156128277,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,1,0,0,0,1,1,0,2,0,1,0,2,1, 1095 NM_001204744 chr16 - 66942024 66952887 66942294 66951968 18 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66949122,66949967,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944339,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948315,66949281,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,1,1,0,0,0,0,-1, 646 NM_001199323 chr6 - 8013799 8064647 8016042 8064609 4 8013799,8026599,8062766,8064497, 8016061,8026658,8062849,8064647, 0 BLOC1S5 cmpl cmpl 2,0,1,0, 825 NR_037853 chr6 - 31497995 31514625 31514625 31514625 13 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31506539,31506923,31508098,31509726,31513885,31514254, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31506632,31507051,31508441,31509925,31513986,31514625, 0 ATP6V1G2-DDX39B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 741 NR_028083 chrY - 20551155 20566932 20566932 20566932 10 20551155,20551964,20552398,20552879,20553363,20553566,20554330,20554671,20566129,20566774, 20551882,20552186,20552586,20553089,20553457,20553737,20554424,20554800,20566179,20566932, 0 FAM41AY1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 75 NM_001172657 chr4 - 2331979 2420370 2332612 2420050 7 2331979,2337431,2339133,2341179,2343204,2355659,2420011, 2332775,2337521,2339223,2341382,2343342,2355800,2420370, 0 ZFYVE28 cmpl cmpl 2,2,2,0,0,0,0, 825 NM_080598 chr6 - 31497995 31510252 31498210 31508309 11 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31506539,31506923,31508098,31509726, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31506632,31507051,31508311,31510252, 0 DDX39B cmpl cmpl 1,0,2,0,0,1,0,0,1,0,-1, 1024 NM_145064 chr12 - 57637237 57644976 57637594 57643419 12 57637237,57637870,57638097,57638319,57638698,57638927,57640586,57641908,57642488,57642823,57643353,57644775, 57637693,57638008,57638149,57638405,57638748,57638994,57640684,57641981,57642586,57643091,57643420,57644976, 0 STAC3 cmpl cmpl 0,0,2,0,1,0,1,0,1,0,0,-1, 1115 NM_201262 chr10 - 69570965 69597937 69571254 69597769 3 69570965,69583071,69597691, 69571421,69583150,69597937, 0 DNAJC12 cmpl cmpl 1,0,0, 1003 NM_201222 chrX + 54835492 54842448 54835764 54842115 13 54835492,54835735,54836154,54837253,54837682,54838006,54838589,54839377,54839550,54839920,54841093,54841680,54842313, 54835656,54835809,54836646,54837562,54837746,54838086,54838684,54839457,54839593,54839983,54841208,54842123,54842448, 0 MAGED2 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 780 NM_014313 chr1 + 25664788 25688852 25666977 25687196 7 25664788,25666964,25669451,25678116,25679372,25683283,25687150, 25664947,25667070,25669564,25678184,25679465,25683344,25688852, 0 TMEM50A cmpl cmpl -1,0,0,2,1,1,2, 1898 NM_004417 chr5 - 172195092 172198203 172195764 172197955 4 172195092,172196577,172197163,172197588, 172196135,172196797,172197309,172198203, 0 DUSP1 cmpl cmpl 1,0,1,0, 1451 NM_000576 chr2 - 113587336 113594356 113587937 113593806 7 113587336,113588868,113590238,113590950,113593142,113593759,113594284, 113588150,113588999,113590403,113591152,113593194,113593821,113594356, 0 IL1B cmpl cmpl 0,1,1,0,2,0,-1, 585 NM_003585 chr17 - 6010 31421 6010 31270 6 6010,11205,11871,13920,22327,30897, 6168,11332,11981,13995,22407,31421, 0 DOC2B incmpl cmpl 0,2,0,0,1,0, 1481 NR_031766 chr12 - 117476727 117537251 117537251 117537251 8 117476727,117479751,117484363,117484576,117486823,117494610,117513075,117537029, 117477015,117479799,117484471,117484643,117486963,117494691,117513145,117537251, 0 TESC unk unk -1,-1,-1,-1,-1,-1,-1,-1, 156 NR_039993 chr5 + 87564698 87732491 87732491 87732491 4 87564698,87566342,87705889,87732089, 87564844,87566402,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1,-1, 1640 NR_038969 chr9 - 138354564 138364095 138364095 138364095 3 138354564,138359933,138363922, 138356696,138360555,138364095, 0 PPP1R26-AS1 unk unk -1,-1,-1, 716 NR_037446 chr1 - 17185443 17185516 17185516 17185516 1 17185443, 17185516, 0 MIR3675 unk unk -1, 128 NM_001164319 chr3 + 57994126 58157982 57994291 58156489 45 57994126,58062772,58064443,58067355,58080562,58081867,58083541,58084437,58087929,58089685,58090806,58092406,58094184,58094905,58095302,58095736,58097517,58097875,58104598,58106967,58108819,58110058,58111307,58112328,58116467,58118534,58120342,58121705,58124008,58128376,58129199,58131647,58132546,58133932,58134375,58135576,58135831,58139101,58140517,58141686,58145280,58148880,58154166,58155316,58156301, 57994583,58063021,58064541,58067503,58080681,58081945,58083704,58084635,58088067,58089812,58090943,58092600,58094298,58095049,58095426,58095897,58097608,58098045,58104716,58107230,58109417,58110232,58111470,58112489,58116635,58118658,58120499,58121895,58124256,58128479,58129340,58131776,58132720,58134091,58134579,58135729,58135954,58139368,58140655,58141802,58145413,58149057,58154385,58155520,58157982, 0 FLNB cmpl cmpl 0,1,1,0,1,0,0,1,1,1,2,1,0,0,0,1,0,1,0,1,0,1,1,2,1,1,2,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1, 597 NM_001164407 chr17 - 1606083 1613662 1611063 1613536 4 1606083,1612792,1613097,1613360, 1611516,1612875,1613180,1613662, 0 TLCD2 cmpl cmpl 0,1,2,0, 812 NM_005115 chr16 + 29831714 29859360 29841870 29859310 15 29831714,29841835,29842198,29845053,29845255,29847024,29848042,29851498,29852916,29853235,29855813,29857183,29857478,29858517,29859082, 29831831,29841995,29842394,29845177,29845387,29847119,29848279,29851780,29853161,29853433,29856200,29857300,29857605,29858706,29859360, 0 MVP cmpl cmpl -1,0,2,0,1,1,0,0,0,2,2,2,2,0,0, 240 NM_014269 chr4 + 175839508 175899331 175896676 175899139 5 175839508,175841837,175852136,175858083,175896496, 175839622,175841943,175852325,175858164,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,-1,0, 1735 NM_020321 chr7 + 150745378 150749843 150745972 150749773 11 150745378,150747192,150747567,150747844,150748125,150748258,150748896,150749069,150749252,150749502,150749640, 150746506,150747343,150747695,150748040,150748182,150748406,150748988,150749149,150749324,150749561,150749843, 0 ASIC3 cmpl cmpl 0,0,1,0,1,1,2,1,0,0,2, 1988 NM_001142314 chr2 + 183943286 183964722 183943661 183960386 3 183943286,183948235,183960158, 183943887,183948282,183964722, 0 DUSP19 cmpl cmpl 0,1,0, 1926 NM_001287336 chr5 - 175773063 175788810 175774602 175782723 7 175773063,175774923,175775252,175777615,175779624,175782573,175788604, 175774811,175775066,175775359,175777740,175779751,175782752,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,0,-1, 935 NM_005456 chr11 + 45907046 45928016 45907371 45927272 12 45907046,45919635,45921688,45923530,45923922,45924915,45925539,45926005,45926268,45926521,45926701,45927199, 45907472,45919741,45922003,45923612,45924735,45924991,45925712,45926115,45926385,45926592,45926800,45928016, 0 MAPK8IP1 cmpl cmpl 0,2,0,0,1,1,2,1,0,0,2,2, 1130 NM_005455 chr1 - 71528973 71546972 71531401 71546678 11 71528973,71531360,71532458,71534958,71536509,71537803,71538154,71542477,71544139,71544338,71546622, 71530820,71531435,71532617,71535045,71536679,71537938,71538231,71542560,71544248,71544391,71546972, 0 ZRANB2 cmpl cmpl -1,2,2,2,0,0,1,2,1,2,0, 164 NM_001289069 chr10 + 96305523 96361856 96305678 96361379 22 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336466,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 921 NR_047558 chr10 + 44141389 44143467 44143467 44143467 3 44141389,44142559,44143016, 44141745,44142657,44143467, 0 ZNF32-AS2 unk unk -1,-1,-1, 74 NM_002183 chrY + 1405508 1451582 1410658 1451358 12 1405508,1410620,1414208,1417323,1420992,1421214,1425113,1427753,1434030,1447551,1449915,1451283, 1405819,1410722,1414327,1417438,1421125,1421399,1425229,1427780,1434145,1447657,1449997,1451582, 0 IL3RA cmpl cmpl -1,0,1,0,1,2,1,0,0,1,2,0, 596 NM_002183 chrX + 1455508 1501582 1460658 1501358 12 1455508,1460620,1464208,1467323,1470992,1471214,1475113,1477753,1484030,1497551,1499915,1501283, 1455819,1460722,1464327,1467438,1471125,1471399,1475229,1477780,1484145,1497657,1499997,1501582, 0 IL3RA cmpl cmpl -1,0,1,0,1,2,1,0,0,1,2,0, 1379 NM_002502 chr10 + 104155352 104162286 104155716 104162133 23 104155352,104155644,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162011, 104155553,104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl -1,0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 1652 NM_004065 chrX - 139865424 139866723 139865742 139866531 1 139865424, 139866723, 0 CDR1 cmpl cmpl 0, 837 NM_016489 chr7 - 33053724 33080777 33054341 33075581 10 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33075545,33080483, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33075600,33080777, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,0,-1, 1232 NM_021233 chr1 + 84864214 84880691 84864247 84880551 6 84864214,84867583,84874119,84876520,84878031,84880210, 84864372,84867761,84874201,84876682,84878229,84880691, 0 DNASE2B cmpl cmpl 0,2,0,1,1,1, 969 NM_172374 chr19 - 50392912 50432796 50392926 50404974 10 50392912,50394227,50394661,50397524,50398324,50399071,50404895,50407455,50430950,50432582, 50393857,50394364,50394730,50397726,50398437,50399310,50405078,50407578,50431072,50432796, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1,-1,-1, 158 NR_003226 chr16 + 90038987 90063028 90063028 90063028 11 90038987,90044012,90045217,90046649,90048180,90050938,90055259,90057273,90059128,90060175,90061100, 90039173,90044210,90045286,90046744,90048331,90051007,90055359,90057411,90059236,90060301,90063028, 0 AFG3L1P unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1060 NM_032957 chr20 + 62289162 62327606 62290755 62327138 35 62289162,62290585,62292650,62293202,62293826,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62326833,62327606, 0 RTEL1 cmpl cmpl -1,0,0,1,2,0,1,2,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,1, 968 NM_144984 chr10 - 50310216 50323577 50311786 50323530 3 50310216,50315638,50323475, 50311905,50316040,50323577, 0 VSTM4 cmpl cmpl 1,1,0, 1172 NM_017426 chr4 - 77035811 77069668 77036518 77069527 12 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77055327,77057338,77065301,77065542,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77055515,77057565,77065445,77065626,77069668, 0 NUP54 cmpl cmpl 0,0,0,0,2,1,2,0,1,1,1,0, 1122 NM_201453 chr9 - 70431999 70490177 70432428 70490068 15 70431999,70432922,70434177,70434346,70445952,70457086,70463030,70465707,70467483,70473436,70475018,70483187,70484374,70486792,70489914, 70432535,70433052,70434243,70434415,70446004,70457143,70463075,70465794,70467530,70473474,70475078,70483279,70484471,70486879,70490177, 0 CBWD3 cmpl cmpl 1,0,0,0,2,2,2,2,0,1,1,2,1,1,0, 140 NM_201453 chr9 + 70856838 70914932 70856947 70914503 15 70856838,70860128,70862528,70863721,70871836,70873447,70879383,70881135,70883849,70889797,70900904,70912495,70912667,70913879,70914396, 70857101,70860215,70862625,70863813,70871896,70873485,70879430,70881222,70883894,70889854,70900956,70912564,70912733,70914009,70914932, 0 CBWD3 cmpl cmpl 0,1,1,2,1,1,0,2,2,2,2,0,0,0,1, 123 NM_007324 chr1 + 52607765 52812358 52698878 52811893 18 52607765,52682040,52698842,52703159,52729444,52734134,52740135,52744163,52747332,52759124,52761566,52769492,52798439,52800359,52803443,52805797,52810439,52811731, 52608075,52682146,52698948,52705267,52729544,52734304,52740256,52744286,52747488,52759349,52761649,52769597,52798590,52800440,52803606,52805903,52810616,52812358, 0 ZFYVE9 cmpl cmpl -1,-1,0,1,0,1,0,1,1,1,1,0,0,1,1,2,0,0, 630 NM_007322 chr19 - 5916151 5978320 5917620 5978093 17 5916151,5917804,5918506,5921211,5923204,5923822,5924837,5925644,5927978,5931414,5932462,5933424,5941631,5941809,5951403,5957928,5978071, 5917664,5917991,5918649,5921332,5923314,5923925,5924916,5925748,5928098,5931542,5932555,5933490,5941718,5941846,5951607,5957984,5978320, 0 RANBP3 cmpl cmpl 1,0,1,0,1,0,2,0,0,1,1,1,1,0,0,1,0, 630 NM_007320 chr19 - 5916151 5978320 5917620 5978093 16 5916151,5917804,5918506,5921211,5923204,5923822,5924837,5925644,5927978,5931414,5932462,5933424,5941631,5941809,5957928,5978071, 5917664,5917991,5918649,5921332,5923314,5923925,5924916,5925748,5928098,5931542,5932555,5933490,5941718,5941846,5957984,5978320, 0 RANBP3 cmpl cmpl 1,0,1,0,1,0,2,0,0,1,1,1,1,0,1,0, 1503 NR_037596 chr4 - 120326677 120331815 120331815 120331815 3 120326677,120331386,120331671, 120331293,120331444,120331815, 0 LINC01061 unk unk -1,-1,-1, 979 NR_103463 chr3 + 51705642 51738339 51738339 51738339 4 51705642,51718428,51733421,51737739, 51705688,51718650,51733590,51738339, 0 TEX264 unk unk -1,-1,-1,-1, 27 NM_001099777 chr3 + 157261132 157296680 157271046 157296122 5 157261132,157271018,157288965,157289743,157296067, 157261298,157271129,157289095,157289832,157296680, 0 C3orf55 cmpl cmpl -1,0,2,0,2, 1696 NM_017767 chr8 - 145637797 145641917 145637921 145641592 11 145637797,145638142,145638620,145638896,145639133,145639341,145639645,145640108,145640357,145640610,145641193, 145638050,145638330,145638773,145638951,145639265,145639479,145639818,145640280,145640494,145640803,145641917, 0 SLC39A4 cmpl cmpl 0,1,1,0,0,0,1,0,1,0,0, 949 NM_014417 chr19 - 47724078 47734451 47725058 47731688 4 47724078,47729820,47731414,47734185, 47725175,47730011,47731703,47734451, 0 BBC3 cmpl cmpl 0,1,0,-1, 141 NM_001145441 chr7 - 72023728 72298813 72023756 72298654 13 72023728,72081656,72093871,72159676,72178578,72193789,72209459,72209528,72242426,72267414,72285958,72297433,72298650, 72023873,72081824,72093982,72159812,72178756,72193899,72209527,72209578,72242544,72267537,72286060,72297564,72298813, 0 TYW1B cmpl cmpl 0,0,0,2,1,2,0,1,0,0,0,1,0, 18 NM_152630 chrX + 79675945 79700810 79698038 79699208 3 79675945,79694108,79698020, 79676062,79694231,79700810, 0 FAM46D cmpl cmpl -1,-1,0, 829 NM_001136153 chr6 - 32083044 32096017 32083515 32095984 18 32083044,32084256,32084480,32084813,32085099,32085363,32085635,32086551,32086732,32087600,32088547,32088765,32089039,32093893,32094879,32095218,32095447,32095902, 32083745,32084341,32084592,32084884,32085181,32085471,32085815,32086643,32086918,32087734,32088679,32088901,32089125,32094029,32094971,32095297,32095527,32096017, 0 ATF6B cmpl cmpl 1,0,2,0,2,2,2,0,0,1,1,0,1,0,1,0,1,0, 874 NM_001242946 chr7 + 37960162 37991542 37960541 37989805 2 37960162,37989801, 37960810,37991542, 0 EPDR1 cmpl cmpl 0,2, 987 NM_001278702 chrX + 52780280 52790617 52781757 52789521 9 52780280,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788655,52789525,52790617, 0 SSX2B cmpl cmpl -1,0,0,1,1,0,1,1,-1, 90 NM_006532 chr19 - 18553472 18632937 18555561 18632865 12 18553472,18556033,18557118,18557557,18561286,18562361,18569014,18572387,18576221,18576606,18583644,18632730, 18555678,18556078,18557290,18557624,18561785,18562458,18569139,18572662,18576385,18576728,18583692,18632937, 0 ELL cmpl cmpl 0,0,2,1,0,2,0,1,2,0,0,0, 1024 NM_001286257 chr12 - 57637237 57644976 57637594 57640631 9 57637237,57637870,57638097,57638319,57638698,57638927,57640586,57641908,57644775, 57637693,57638008,57638149,57638405,57638748,57638994,57640684,57641981,57644976, 0 STAC3 cmpl cmpl 0,0,2,0,1,0,0,-1,-1, 1024 NM_001286256 chr12 - 57637237 57644976 57637594 57643040 11 57637237,57637870,57638097,57638319,57638698,57638927,57640586,57641908,57642488,57642823,57644775, 57637693,57638008,57638149,57638405,57638748,57638994,57640684,57641981,57642586,57643091,57644976, 0 STAC3 cmpl cmpl 0,0,2,0,1,0,1,0,1,0,-1, 825 NR_026806 chr12 + 31477249 31478879 31478879 31478879 1 31477249, 31478879, 0 FLJ13224 unk unk -1, 846 NM_032962 chr17 - 34310691 34313764 34310836 34313685 4 34310691,34311373,34312783,34313606, 34310924,34311488,34312831,34313764, 0 CCL14 cmpl cmpl 2,1,1,0, 200 NM_032961 chr4 + 134070469 134112732 134071295 134111315 5 134070469,134075461,134076071,134084131,134111295, 134073926,134075520,134076178,134084437,134112732, 0 PCDH10 cmpl cmpl 0,0,2,1,1, 1344 NM_144588 chr10 + 99496877 99520664 99498234 99519057 13 99496877,99498233,99502850,99504485,99508025,99509230,99510087,99511147,99512613,99512794,99517021,99517398,99518992, 99497082,99498431,99502921,99504672,99508121,99509343,99510227,99511219,99512634,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,1,2,2,1,0,0,0,1,0,1, 1828 NM_002054 chr2 - 162999378 163008914 162999873 163005688 6 162999378,163000536,163002049,163003862,163005596,163008667, 162999880,163000680,163002187,163004024,163005697,163008914, 0 GCG cmpl cmpl 2,2,2,2,0,-1, 956 NM_002049 chrX + 48644981 48652717 48649516 48652571 6 48644981,48649497,48650250,48650729,48651578,48652199, 48645053,48649736,48650628,48650875,48651704,48652717, 0 GATA1 cmpl cmpl -1,0,1,1,0,0, 806 NR_039742 chr16 + 28969903 28969982 28969982 28969982 1 28969903, 28969982, 0 MIR4517 unk unk -1, 2172 NM_001773 chr1 - 208059882 208084683 208061448 208084425 8 208059882,208062026,208062505,208062809,208070837,208072317,208073165,208084346, 208061463,208062191,208062558,208062966,208070918,208072571,208073348,208084683, 0 CD34 cmpl cmpl 0,0,1,0,0,1,1,0, 73 NM_015232 chr12 + 186541 280494 247438 280487 13 186541,208311,247432,250289,266190,266693,271091,272659,274599,274894,278178,280277,280412, 186878,208380,248520,250451,266313,266860,271231,272785,274699,275056,278271,280327,280494, 0 IQSEC3 cmpl cmpl -1,-1,0,2,2,2,1,0,0,1,1,1,0, 301 NM_000740 chr1 + 239792372 240072717 240070751 240072524 5 239792372,239795523,239841485,239990551,240070732, 239792839,239795586,239841588,239990678,240072717, 0 CHRM3 cmpl cmpl -1,-1,-1,-1,0, 987 NM_003147 chrX + 52780279 52790617 52781757 52789480 9 52780279,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788723,52789525,52790617, 0 SSX2 cmpl cmpl -1,0,0,1,1,0,1,0,-1, 987 NM_003147 chrX - 52725945 52736277 52727078 52734799 9 52725945,52727033,52727835,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736277, 0 SSX2 cmpl cmpl -1,0,1,0,1,1,0,0,-1, 1888 NM_002598 chr6 - 170884659 170893780 170886646 170893669 6 170884659,170887944,170889089,170892144,170892592,170893386, 170886805,170888058,170889193,170892276,170892835,170893780, 0 PDCD2 cmpl cmpl 0,0,1,1,1,0, 586 NM_139074 chr20 + 138110 139804 138185 139665 2 138110,139414, 138234,139804, 0 DEFB127 cmpl cmpl 0,1, 597 NM_001199787 chr1 - 1656276 1677438 1656852 1670996 7 1656276,1666128,1669759,1670360,1670674,1675689,1677162, 1656861,1666274,1669887,1670496,1671143,1676107,1677438, 0 SLC35E2 cmpl cmpl 0,1,2,1,0,-1,-1, 785 NM_004331 chr8 + 26240522 26270644 26240646 26267928 6 26240522,26248758,26252745,26265515,26265742,26267879, 26240746,26248942,26252818,26265619,26265892,26270644, 0 BNIP3L cmpl cmpl 0,1,2,0,2,2, 817 NM_004118 chr20 - 30432102 30433420 30432352 30433345 1 30432102, 30433420, 0 FOXS1 cmpl cmpl 0, 916 NM_001198934 chr6 + 43395291 43418163 43395716 43417829 22 43395291,43395705,43399879,43402358,43403488,43403875,43405671,43406361,43409599,43410707,43411670,43411896,43412525,43412862,43413336,43414014,43414985,43415421,43416618,43416844,43417159,43417666, 43395495,43395877,43401098,43402586,43403645,43403985,43405751,43406533,43409698,43410897,43411748,43412091,43412676,43413052,43413680,43414184,43415146,43415675,43416764,43416942,43417272,43418163, 0 ABCC10 cmpl cmpl -1,0,2,0,0,1,0,2,0,0,1,1,1,2,0,2,1,0,2,1,0,2, 2139 NM_018256 chr2 - 203745322 203776949 203745582 203776199 13 203745322,203747433,203748331,203748920,203749117,203757339,203759303,203760787,203762022,203764253,203765747,203772587,203776158, 203745660,203747506,203748464,203749026,203749258,203757425,203759349,203760942,203762138,203764360,203765842,203772682,203776949, 0 WDR12 cmpl cmpl 0,2,1,0,0,1,0,1,2,0,1,2,0, 200 NM_001277196 chr8 + 133787603 133861052 133790074 133858168 20 133787603,133790037,133806655,133806978,133811017,133816063,133816859,133823290,133826881,133829132,133829583,133836248,133837508,133844479,133848784,133849956,133851631,133854759,133856400,133858025, 133787891,133790157,133806827,133807063,133811106,133816277,133816985,133823373,133827134,133829321,133829790,133836305,133837616,133844644,133848966,133850056,133851827,133855120,133856563,133861052, 0 PHF20L1 cmpl cmpl -1,0,2,0,1,0,1,1,0,1,1,1,1,1,1,0,1,2,0,1, 840 NM_001014445 chr17 - 33458340 33469270 33459455 33463468 12 33458340,33460189,33460357,33462267,33463187,33463380,33464019,33464561,33464832,33466253,33466867,33468997, 33459468,33460260,33460517,33462470,33463234,33463516,33464212,33464659,33464909,33466333,33467085,33469270, 0 NLE1 cmpl cmpl 2,0,2,0,1,0,-1,-1,-1,-1,-1,-1, 1478 NM_001207048 chr11 - 117156401 117166386 117160281 117166263 8 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117166213, 117160523,117161375,117161765,117162529,117163904,117164724,117166063,117166386, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0, 780 NM_016124 chr1 + 25598976 25656936 25599038 25655415 10 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25643490,25648379,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25643570,25648453,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1,0, 908 NM_006695 chr17 + 42385926 42395238 42386200 42394872 11 42385926,42389947,42390471,42390785,42392102,42392296,42392522,42392819,42393752,42393986,42394852, 42386307,42390063,42390620,42390871,42392192,42392377,42392688,42392977,42393890,42394093,42395238, 0 RUNDC3A cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 1543 NM_001100588 chr9 - 125611731 125667562 125611905 125659788 21 125611731,125613359,125613601,125616230,125616463,125616809,125617462,125618010,125620201,125620947,125622195,125627627,125639749,125642033,125642271,125642872,125645482,125652590,125655187,125659557,125667388, 125612101,125613508,125613715,125616365,125616545,125616894,125617676,125618157,125620372,125621381,125622410,125627936,125639862,125642152,125642404,125643073,125645658,125652824,125655305,125659855,125667562, 0 RC3H2 cmpl cmpl 2,0,0,0,2,1,0,0,0,1,2,2,0,1,0,0,1,1,0,0,-1, 90 NM_182625 chr2 + 17935176 17966632 17941210 17963206 14 17935176,17941195,17942662,17946163,17947845,17950004,17952462,17953900,17954362,17954485,17955537,17959268,17961244,17961887, 17935234,17941371,17942849,17946340,17947956,17950078,17952554,17954051,17954399,17954566,17955668,17959330,17961388,17966632, 0 GEN1 cmpl cmpl -1,0,2,0,0,0,2,1,2,0,0,2,1,1, 14 NM_016834 chr17 + 43971747 44105699 44039703 44101537 10 43971747,44039686,44055740,44064405,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44055806,44064461,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,0,1,0,0,1,0, 952 NM_033226 chr16 - 48116883 48180681 48117625 48180335 29 48116883,48117819,48119503,48120651,48121836,48122455,48125030,48130656,48134782,48138052,48139049,48141232,48142350,48145346,48145488,48145686,48149325,48151171,48155626,48158123,48162369,48164698,48167597,48172138,48173073,48174597,48175112,48177820,48180216, 48117712,48117984,48119617,48120730,48121996,48122645,48125120,48130813,48134920,48138279,48139247,48141336,48142440,48145418,48145573,48145821,48149529,48151244,48155751,48158195,48162648,48164806,48167746,48172286,48173247,48174827,48175264,48177976,48180681, 0 ABCC12 cmpl cmpl 0,0,0,2,1,0,0,2,2,0,0,1,1,1,0,0,0,2,0,0,0,0,1,0,0,1,2,2,0, 1888 NM_144781 chr6 - 170890834 170893780 170892115 170893669 3 170890834,170892592,170893386, 170892276,170892835,170893780, 0 PDCD2 cmpl cmpl 1,1,0, 943 NM_172225 chr1 + 46972667 46979886 46972682 46978166 4 46972667,46976147,46976606,46977714, 46972836,46976326,46976955,46979886, 0 DMBX1 cmpl cmpl 0,1,0,1, 878 NM_153682 chr21 - 38437663 38445458 38437881 38444815 5 38437663,38439561,38441851,38444733,38445299, 38438012,38439680,38441924,38444837,38445458, 0 PIGP cmpl cmpl 1,2,1,0,-1, 1180 NM_001244755 chr16 + 78062985 78066001 78063001 78064738 2 78062985,78064343, 78063044,78066001, 0 CLEC3A cmpl cmpl 0,1, 2210 NM_014053 chr1 + 213031596 213072705 213031794 213068632 10 213031596,213037066,213046019,213056712,213058634,213061232,213061830,213062487,213068327,213068557, 213032532,213037211,213046160,213056780,213058738,213061343,213061936,213062599,213068395,213072705, 0 FLVCR1 cmpl cmpl 0,0,1,1,0,2,2,0,1,0, 1087 NM_021783 chrX - 65815481 65858892 65819325 65835862 7 65815481,65819315,65822474,65824262,65824889,65835775,65858836, 65817935,65819702,65822639,65824348,65825068,65835872,65858892, 0 EDA2R cmpl cmpl -1,1,1,2,0,0,-1, 1204 NR_029406 chr17 + 81174665 81188573 81188573 81188573 4 81174665,81176163,81176760,81187692, 81175002,81176298,81177663,81188573, 0 FLJ43681 unk unk -1,-1,-1,-1, 177 NM_015365 chrX - 109437413 109561380 109441747 109561299 6 109437413,109444181,109445673,109459745,109507716,109560826, 109441862,109444278,109445764,109459860,109507827,109561380, 0 AMMECR1 cmpl cmpl 2,1,0,2,2,0, 817 NM_080611 chr20 - 30448869 30458479 30449205 30458140 7 30448869,30450373,30451709,30452755,30454873,30457366,30458119, 30449478,30450545,30451784,30452805,30454956,30457400,30458479, 0 DUSP15 cmpl cmpl 0,2,2,0,1,0,0, 78 NM_032172 chr7 + 6144549 6201195 6150764 6199088 18 6144549,6150755,6154953,6175471,6178722,6179758,6180544,6182562,6183715,6185146,6185778,6187369,6189213,6190042,6193386,6196384,6199080,6200185, 6144663,6151005,6155154,6175582,6178825,6179826,6180615,6182645,6183827,6185287,6185879,6187523,6189933,6190137,6194826,6196686,6199124,6201195, 0 USP42 cmpl cmpl -1,0,1,1,1,2,1,0,2,0,0,2,0,0,2,2,1,-1, 295 NM_001103147 chr2 + 233562014 233725289 233599907 233721570 31 233562014,233565294,233568133,233599864,233612324,233613696,233620932,233625189,233626105,233641121,233651859,233655407,233655717,233655970,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233565364,233568199,233599948,233612454,233613792,233621044,233625301,233626146,233641187,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,-1,-1,0,2,0,0,1,2,1,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 765 NM_005826 chr1 - 23636275 23670853 23636946 23667501 11 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23667344,23670703, 23637559,23637815,23640195,23645181,23648156,23650225,23660124,23664354,23665101,23667510,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,1,0,-1, 114 NM_016142 chr11 + 43702142 43878169 43702377 43876798 11 43702142,43772460,43775595,43819869,43836986,43837896,43852525,43859866,43861548,43876264,43876693, 43702537,43772507,43775671,43819977,43837051,43837941,43852560,43859948,43861614,43876414,43878169, 0 HSD17B12 cmpl cmpl 0,1,0,1,1,0,0,2,0,0,0, 934 NM_013309 chr15 - 45774679 45815002 45777360 45814552 8 45774679,45778808,45779724,45781038,45782925,45803335,45814161,45814804, 45777515,45778943,45779830,45781240,45783079,45803482,45814666,45815002, 0 SLC30A4 cmpl cmpl 1,1,0,2,1,1,0,-1, 1084 NM_006660 chr15 - 65442783 65477563 65443160 65477491 14 65442783,65444767,65445884,65447119,65448029,65449181,65450083,65450912,65454941,65456366,65458968,65471271,65472381,65477412, 65443251,65444874,65445977,65447419,65448194,65449270,65450248,65451089,65454983,65456526,65459123,65471389,65472542,65477563, 0 CLPX cmpl cmpl 2,0,0,0,0,1,1,1,1,0,1,0,1,0, 1234 NM_014021 chr1 - 85109389 85156240 85113115 85136902 15 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85136859,85146020,85156053, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85136991,85146070,85156240, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,1,0,-1,-1, 948 NM_014342 chr11 - 47638857 47664206 47640384 47664017 13 47638857,47644252,47647225,47648631,47650504,47652106,47652587,47653205,47656223,47657096,47660250,47660518,47663930, 47640471,47644328,47647293,47648679,47650598,47652166,47652639,47653263,47656286,47657123,47660357,47660603,47664206, 0 MTCH2 cmpl cmpl 0,2,0,0,2,2,1,0,0,0,1,0,0, 1878 NM_024727 chr3 - 169557028 169587723 169557769 169587595 9 169557028,169565907,169569406,169572600,169574123,169574492,169578348,169579457,169587420, 169558101,169566075,169569574,169572768,169574291,169574660,169578516,169579601,169587723, 0 LRRC31 cmpl cmpl 1,1,1,1,1,1,1,1,0, 1389 NM_001171020 chrX + 105412297 105452949 105449425 105451516 4 105412297,105415004,105447977,105449211, 105412418,105415132,105448163,105452949, 0 MUM1L1 cmpl cmpl -1,-1,-1,0, 598 NM_001170820 chr11 - 1753639 1771824 1756509 1771672 3 1753639,1768896,1771588, 1756659,1769349,1771824, 0 IFITM10 cmpl cmpl 0,0,0, 1484 NM_001560 chrX + 117861558 117928496 117861601 117925817 11 117861558,117874979,117880916,117883620,117892017,117895100,117900492,117900806,117907841,117910389,117925724, 117861689,117875119,117881055,117883741,117892205,117895252,117900540,117900939,117907938,117910474,117928496, 0 IL13RA1 cmpl cmpl 0,1,0,1,2,1,0,0,1,2,0, 2428 NM_001102467 chr2 - 241615834 241622317 241615961 241622254 3 241615834,241619768,241621647, 241616161,241619885,241622317, 0 AQP12B cmpl cmpl 1,1,0, 898 NM_005258 chr15 + 41056284 41059911 41056378 41059547 3 41056284,41058024,41059423, 41056414,41058119,41059911, 0 GCHFR cmpl cmpl 0,0,2, 1501 NM_001080138 chrX - 120111460 120114778 120112769 120114523 3 120111460,120112738,120113781, 120111600,120112894,120114778, 0 CT47A9 cmpl cmpl -1,1,0, 1888 NM_001199461 chr6 - 170890834 170893780 170891345 170893669 4 170890834,170892144,170892592,170893386, 170891353,170892276,170892835,170893780, 0 PDCD2 cmpl cmpl 1,1,1,0, 127 NM_018261 chr4 + 56719815 56771244 56724489 56770661 19 56719815,56724479,56726576,56730392,56734501,56736843,56737266,56738014,56744082,56749988,56755053,56756388,56757480,56758800,56759717,56762882,56765850,56768509,56770508, 56719963,56724613,56726707,56730552,56734689,56737071,56737399,56738124,56744232,56750094,56755098,56756552,56757588,56758877,56759946,56763066,56766050,56768704,56771244, 0 EXOC1 cmpl cmpl -1,0,1,0,1,0,0,1,0,0,1,1,0,0,2,0,1,0,0, 1348 NM_001194991 chr7 + 100026412 100031749 100029048 100031177 5 100026412,100028652,100030541,100030885,100031124, 100026663,100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl -1,0,0,0,1, 141 NM_001914 chr18 - 71920526 71959251 71924079 71959110 6 71920526,71922975,71924064,71928149,71930583,71958981, 71920900,71923010,71924088,71928179,71930712,71959251, 0 CYB5A cmpl cmpl -1,-1,0,0,0,0, 967 NM_018191 chr13 - 50106081 50159719 50108257 50141415 13 50106081,50115011,50115811,50118872,50123593,50125461,50126313,50129650,50134053,50140753,50141289,50154640,50159579, 50108398,50115142,50115963,50118999,50123784,50125604,50126421,50129809,50134220,50140904,50141456,50154720,50159719, 0 RCBTB1 cmpl cmpl 0,1,2,1,2,0,0,0,1,0,0,-1,-1, 105 NM_203364 chr11 + 34073229 34120607 34073967 34119328 18 34073229,34073967,34093272,34093447,34097782,34098106,34101174,34104371,34104501,34107610,34107851,34110941,34111725,34112075,34113452,34118025,34118742,34119244, 34073418,34074183,34093335,34093534,34098021,34098189,34101312,34104424,34104588,34107766,34107960,34111003,34111836,34112225,34113603,34118220,34118843,34120607, 0 CAPRIN1 cmpl cmpl -1,0,0,0,0,2,1,1,0,0,0,1,0,0,0,1,1,0, 837 NM_002121 chr6 + 33043702 33057473 33043818 33054015 6 33043702,33048448,33052726,33053555,33053995,33054315, 33043918,33048712,33053008,33053666,33054019,33057473, 0 HLA-DPB1 cmpl cmpl 0,1,1,1,1,-1, 2084 NM_001127257 chr2 + 196521531 196602426 196544766 196599765 10 196521531,196544755,196548422,196571339,196573379,196578156,196581360,196582975,196592882,196599606, 196521734,196545774,196548630,196571509,196573568,196578277,196581729,196583056,196593073,196602426, 0 SLC39A10 cmpl cmpl -1,0,0,1,0,0,1,1,1,0, 18 NM_003719 chr5 + 76506705 76724080 76506750 76722379 22 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76645243,76646889,76649170,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76645384,76646978,76649231,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 261 NM_001206774 chr2 - 197644812 197664492 197645258 197664335 9 197644812,197649580,197650164,197653927,197654602,197656060,197657679,197662520,197664233, 197645386,197649653,197650312,197654093,197654794,197656184,197657876,197662632,197664492, 0 GTF3C3 cmpl cmpl 1,0,2,1,1,0,1,0,0, 75 NM_001172660 chr4 - 2330305 2366604 2330868 2343312 7 2330305,2337431,2339133,2341179,2343204,2355659,2366212, 2330869,2337521,2339223,2341382,2343342,2355800,2366604, 0 ZFYVE28 cmpl cmpl 2,2,2,0,0,-1,-1, 821 NM_152511 chr22 - 31058038 31063872 31059423 31059990 2 31058038,31063448, 31060067,31063872, 0 DUSP18 cmpl cmpl 0,-1, 1720 NM_016153 chrX + 148855725 148858517 148856339 148858448 2 148855725,148857740, 148856903,148858517, 0 HSFX1 cmpl cmpl 0,0, 97 NM_016152 chr3 + 25469753 25639422 25542702 25638107 8 25469753,25502683,25542672,25611248,25622036,25634993,25636010,25637910, 25470022,25502832,25542814,25611409,25622213,25635198,25636169,25639422, 0 RARB cmpl cmpl -1,-1,0,1,0,0,1,1, 90 NM_000923 chr19 - 18318770 18359010 18321738 18344001 16 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331683,18331914,18332070,18332941,18343759,18358980, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331733,18331988,18332107,18333133,18344210,18359010, 0 PDE4C cmpl cmpl 0,0,0,1,0,0,0,1,0,1,2,0,2,2,0,-1, 1152 NM_182965 chr17 + 74380689 74383941 74381186 74383667 6 74380689,74381531,74382065,74382301,74382473,74382886, 74381250,74381735,74382218,74382396,74382589,74383941, 0 SPHK1 cmpl cmpl 0,1,1,1,0,2, 820 NM_080870 chr6 + 30908776 30921998 30908776 30920894 3 30908776,30916323,30920747, 30908858,30920276,30921998, 0 DPCR1 cmpl cmpl 0,1,0, 780 NM_001282871 chr1 + 25598976 25656936 25599038 25655627 9 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25634137,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25634307,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1, 780 NM_001282870 chr1 + 25598976 25656936 25599038 25655627 9 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25643490,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25643570,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1, 1379 NM_001198953 chr14 + 104182080 104200005 104182178 104199355 8 104182080,104193128,104194082,104195244,104195427,104196129,104198956,104199319, 104182316,104193179,104194251,104195320,104195519,104196183,104199099,104200005, 0 ZFYVE21 cmpl cmpl 0,0,0,1,2,1,1,0, 14 NM_014159 chr3 - 47057897 47205467 47058582 47205414 21 47057897,47059127,47061249,47079155,47084050,47087976,47098310,47103652,47108559,47125209,47127684,47129602,47139444,47142947,47144835,47147486,47155365,47158112,47161671,47168137,47205343, 47058744,47059229,47061330,47079267,47084190,47088111,47098980,47103836,47108608,47125872,47127804,47129737,47139571,47143045,47144913,47147610,47155494,47158244,47166038,47168153,47205467, 0 SETD2 cmpl cmpl 0,0,0,2,0,0,2,1,0,0,0,0,2,0,0,2,2,2,0,2,0, 1264 NM_207661 chr14 + 89029690 89079853 89034405 89078095 15 89029690,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89073586,89075610,89076055,89077177,89078088, 89029799,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl -1,-1,0,2,1,2,0,2,1,1,1,2,1,0,2, 1264 NM_207660 chr14 + 89029252 89079853 89029477 89078095 14 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89073586,89075610,89076058,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,2,1,0,2, 836 NM_207454 chr17 - 32901141 32906388 32904545 32906299 2 32901141,32905889, 32904639,32906388, 0 C17orf102 cmpl cmpl 2,0, 890 NM_001135653 chr1 - 40026484 40042521 40027369 40041623 16 40026484,40027356,40027744,40027994,40029285,40029507,40030094,40030357,40030777,40033422,40034473,40035266,40035534,40036905,40038064,40041430, 40026794,40027459,40027875,40028088,40029413,40029594,40030214,40030445,40031050,40033518,40034611,40035361,40035674,40037021,40038258,40042521, 0 PABPC4 cmpl cmpl -1,0,1,0,1,1,1,0,0,0,0,1,2,0,1,0, 1492 NM_001467 chr11 - 118895060 118901616 118895619 118900079 10 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899931,118901558, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118900274,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,1,0,-1, 595 NM_001161530 chrX + 1401570 1428828 1401596 1428372 12 1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422153,1422815,1424338,1428294, 1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422255,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,1,2,0, 898 NM_032850 chr15 + 41099273 41106767 41099486 41106424 12 41099273,41100452,41101316,41101605,41102049,41102268,41102846,41104896,41105535,41105910,41106140,41106345, 41099611,41100576,41101438,41101656,41102168,41102414,41102955,41105100,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl 0,2,0,2,2,1,0,1,1,0,0,2, 113 NM_016248 chr13 + 42846288 42897403 42860484 42893364 13 42846288,42860121,42860435,42866520,42869830,42871183,42872668,42873498,42882589,42887182,42888029,42891663,42893223, 42846364,42860171,42860535,42866637,42869878,42871318,42872933,42877999,42882745,42887266,42888076,42891824,42897403, 0 AKAP11 cmpl cmpl -1,-1,0,0,0,0,0,1,2,2,2,1,0, 1864 NM_024569 chr1 + 167691186 167761156 167691388 167757081 5 167691186,167734819,167741511,167742472,167757056, 167691479,167734986,167741725,167742605,167761156, 0 MPZL1 cmpl cmpl 0,1,0,1,2, 1626 NM_025246 chr3 + 136537860 136574734 136573302 136574541 2 136537860,136573284, 136538470,136574734, 0 SLC35G2 cmpl cmpl -1,0, 726 NM_004864 chr19 + 18496967 18499986 18496999 18499745 2 18496967,18499095, 18497276,18499986, 0 GDF15 cmpl cmpl 0,1, 2474 NM_198074 chr1 - 247693433 247697141 247694850 247695813 2 247693433,247696808, 247695842,247697141, 0 OR2C3 cmpl cmpl 0,-1, 1156 NM_144677 chr17 + 74864797 74946471 74865111 74944920 17 74864797,74868932,74878232,74898636,74899384,74900333,74901250,74902099,74921047,74922678,74928726,74934069,74936483,74936813,74942457,74943911,74944721, 74865179,74869045,74878380,74898752,74899458,74900504,74901415,74902269,74921179,74922812,74928857,74934225,74936630,74936930,74942532,74944168,74946471, 0 MGAT5B cmpl cmpl 0,2,1,2,1,0,0,0,2,2,1,0,0,0,0,0,2, 857 NM_001135729 chr22 + 35695267 35743987 35713916 35743202 15 35695267,35713869,35717951,35719020,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695371,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742965,35743987, 0 TOM1 cmpl cmpl -1,0,2,0,0,0,0,0,2,0,1,2,0,0,1, 1813 NM_007122 chr1 - 161009040 161015769 161009709 161013065 11 161009040,161009991,161010365,161010603,161011113,161011440,161011905,161012344,161012622,161013057,161015647, 161009799,161010120,161010460,161010662,161011201,161011636,161012007,161012460,161012672,161013150,161015769, 0 USF1 cmpl cmpl 0,0,1,2,1,0,0,1,2,0,-1, 1653 NM_001278731 chr5 + 140071010 140078903 140071233 140078137 12 140071010,140073519,140073769,140075092,140075322,140075687,140076105,140076527,140076748,140077153,140077516,140078077, 140071341,140073639,140073865,140075218,140075430,140075786,140076199,140076655,140076991,140077270,140077663,140078903, 0 HARS2 cmpl cmpl 0,0,0,0,0,0,0,1,0,0,0,0, 1099 NM_001146111 chr1 + 67390577 67454302 67394586 67452156 16 67390577,67391824,67394572,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450335,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1,1, 1099 NM_001146110 chr1 + 67390577 67454302 67394586 67450583 15 67390577,67391824,67394569,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1, 10 NM_058169 chr12 + 12510019 12619838 12510385 12618710 4 12510019,12514139,12588561,12618479, 12510443,12514283,12588719,12619838, 0 LOH12CR1 cmpl cmpl 0,1,1,0, 170 NM_058170 chr1 - 102268122 102462790 102269793 102462372 6 102268122,102271631,102290581,102296227,102302434,102462303, 102270471,102271738,102290801,102296383,102302581,102462790, 0 OLFM3 cmpl cmpl 0,1,0,0,0,0, 116 NM_021116 chr7 + 45614124 45762714 45614142 45753594 20 45614124,45632357,45649977,45662230,45688268,45697325,45699640,45701657,45717467,45717764,45719307,45724577,45725560,45726145,45742974,45743198,45744116,45747948,45750126,45753291, 45614781,45632507,45650096,45662342,45688396,45697484,45699782,45701813,45717662,45717862,45719392,45724667,45725814,45726272,45743091,45743345,45744215,45748063,45750251,45762714, 0 ADCY1 cmpl cmpl 0,0,0,2,0,2,2,0,0,0,2,0,0,2,0,0,0,0,1,0, 89 NM_001282225 chr22 - 17659679 17700475 17662372 17690567 10 17659679,17662709,17663493,17669228,17670831,17672572,17684452,17687960,17690245,17700245, 17662466,17662912,17663651,17669337,17670922,17672700,17684663,17688180,17690613,17700475, 0 CECR1 cmpl cmpl 2,0,1,0,2,0,2,1,0,-1, 1696 NM_001280557 chr8 - 145637797 145638975 145637921 145638753 4 145637797,145638142,145638620,145638896, 145638050,145638330,145638773,145638975, 0 SLC39A4 cmpl cmpl 0,1,0,-1, 855 NR_002937 chr14 + 35409127 35409702 35409702 35409702 1 35409127, 35409702, 0 IGBP1P1 unk unk -1, 1298 NR_003032 chr11 - 93464144 93464265 93464265 93464265 1 93464144, 93464265, 0 SNORA32 unk unk -1, 1729 NM_014374 chr7 + 150068257 150071133 150068330 150070034 1 150068257, 150071133, 0 REPIN1 cmpl cmpl 0, 818 NM_003587 chr6 - 30620895 30640830 30621018 30640618 20 30620895,30622482,30622951,30623211,30623974,30624167,30624373,30624728,30627248,30627512,30627808,30630403,30630687,30632577,30632847,30633255,30638186,30638566,30638812,30640411, 30621147,30622656,30623113,30623374,30624042,30624286,30624536,30624869,30627401,30627611,30628019,30630519,30630798,30632769,30633051,30633510,30638243,30638729,30639051,30640830, 0 DHX16 cmpl cmpl 0,0,0,2,0,1,0,0,0,0,2,0,0,0,0,0,0,2,0,0, 190 NR_038266 chr3 + 123304402 123349666 123349666 123349666 3 123304402,123348340,123349342, 123304648,123348528,123349666, 0 MYLK-AS1 unk unk -1,-1,-1, 846 NR_027921 chr17 - 34310691 34329084 34329084 34329084 8 34310691,34311373,34312783,34313606,34324756,34325315,34325901,34328455, 34310924,34311488,34312831,34313740,34324896,34325427,34325961,34329084, 0 CCL15-CCL14 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 128 NM_001143995 chr11 - 58294343 58345639 58294926 58345519 9 58294343,58295515,58317258,58317445,58318537,58322313,58331627,58338028,58345491, 58295196,58295664,58317340,58317619,58318705,58322413,58331674,58338186,58345639, 0 LPXN cmpl cmpl 0,1,0,0,0,2,0,1,0, 120 NM_001127898 chrX + 49687224 49863892 49689908 49856876 15 49687224,49688015,49689780,49806924,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49687402,49688091,49689924,49807071,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl -1,-1,0,1,1,0,1,0,0,0,0,0,1,1,2, 190 NR_073556 chr9 - 123151146 123342448 123342448 123342448 39 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280034,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334254,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232498,123234156,123239728,123249715,123253755,123280164,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1725 NM_005211 chr5 - 149432853 149492935 149433631 149465990 22 149432853,149433884,149434799,149435588,149435781,149436849,149437066,149439262,149440424,149441053,149441285,149447777,149449435,149449744,149450018,149452863,149456838,149457674,149459614,149460329,149465941,149492823, 149433787,149433993,149434899,149435700,149435904,149436947,149437155,149439425,149440535,149441158,149441412,149447893,149449626,149449865,149450134,149453056,149456998,149457811,149459899,149460587,149466170,149492935, 0 CSF1R cmpl cmpl 0,2,1,0,0,1,2,1,1,1,0,1,2,1,2,1,0,1,1,1,0,-1, 646 NM_001199322 chr6 - 8013799 8064647 8015881 8054505 6 8013799,8026599,8041371,8054502,8062766,8064497, 8016061,8026658,8041501,8054605,8062849,8064647, 0 BLOC1S5 cmpl cmpl 0,1,0,0,-1,-1, 16 NM_003368 chr1 + 62902382 62917475 62905538 62916652 9 62902382,62905469,62907158,62907865,62908829,62910408,62913011,62914135,62915916, 62903071,62905708,62907279,62907970,62908990,62911100,62913182,62914337,62917475, 0 USP1 cmpl cmpl -1,0,2,0,0,2,1,1,2, 924 NM_001242907 chr18 - 44542730 44544607 44542730 44544371 1 44542730, 44544607, 0 TCEB3CL2 cmpl cmpl 0, 924 NM_001242907 chr18 - 44548657 44550534 44548657 44550298 1 44548657, 44550534, 0 TCEB3CL2 cmpl cmpl 0, 164 NM_001289073 chr10 + 96305523 96361856 96322463 96361379 21 96305523,96306133,96313882,96317895,96322447,96331144,96333716,96334310,96336418,96341082,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96331186,96333944,96334493,96336562,96341279,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,0,0,0,0,0,0,2,0,0,2,0,0,0,0,1,2,1, 786 NM_032513 chr1 - 26364513 26372604 26365650 26372387 7 26364513,26366267,26368190,26369039,26369888,26371487,26372337, 26365796,26366402,26368296,26369199,26370042,26371708,26372604, 0 SLC30A2 cmpl cmpl 1,1,0,2,1,2,0, 774 NM_014430 chr14 - 24774392 24780576 24774838 24777064 7 24774392,24775152,24775579,24776576,24777023,24777684,24779854, 24774971,24775343,24775729,24776721,24777126,24778036,24780576, 0 CIDEB cmpl cmpl 2,0,0,2,0,-1,-1, 158 NM_014427 chr16 + 89642175 89663654 89642305 89663029 17 89642175,89643946,89645264,89649851,89650104,89650435,89651181,89651871,89652094,89653077,89653450,89655082,89656304,89657414,89657534,89661774,89662891, 89642479,89644129,89645404,89649936,89650179,89650510,89651265,89651961,89652193,89653164,89653510,89655216,89656359,89657466,89657668,89662011,89663654, 0 CPNE7 cmpl cmpl 0,0,0,2,0,0,0,0,0,0,0,0,2,0,1,0,0, 922 NM_178148 chr6 - 44221837 44225308 44222442 44225147 4 44221837,44224078,44224421,44225136, 44223381,44224233,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,1,2,0, 1361 NM_178127 chr11 - 101761404 101787253 101762009 101778640 9 101761404,101765609,101771160,101773351,101775544,101776474,101777833,101778544,101786749, 101762329,101765795,101771281,101773452,101775638,101776578,101777978,101778732,101787253, 0 ANGPTL5 cmpl cmpl 1,1,0,1,0,1,0,0,-1, 811 NR_026973 chr6 - 29694377 29716826 29716826 29716826 2 29694377,29716676, 29694916,29716826, 0 HLA-F-AS1 unk unk -1,-1, 1381 NR_034142 chr7 - 104439446 104444539 104444539 104444539 3 104439446,104443285,104444402, 104440516,104443410,104444539, 0 LHFPL3-AS1 unk unk -1,-1,-1, 1381 NR_034141 chr7 - 104436953 104444539 104444539 104444539 4 104436953,104440264,104443285,104444402, 104437396,104440516,104443410,104444539, 0 LHFPL3-AS1 unk unk -1,-1,-1,-1, 87 NM_001168341 chr9 - 15170841 15307358 15172016 15307321 18 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,0,0, 87 NM_001168339 chr9 - 15170841 15307358 15172016 15307321 20 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15225914,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210156,15211395,15214247,15226010,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,2,0,0, 265 NM_004071 chr2 - 201717731 201729467 201718028 201726585 13 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201724847,201725960,201726424,201729286, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201724469,201724938,201726189,201726585,201729467, 0 CLK1 cmpl cmpl 0,2,0,1,0,1,2,2,1,0,2,0,-1, 1229 NM_021998 chrX + 84498996 84528368 84502578 84526834 9 84498996,84500908,84502552,84510264,84519280,84520123,84523299,84525008,84525656, 84499197,84501028,84502657,84510807,84519436,84520261,84523347,84525152,84528368, 0 ZNF711 cmpl cmpl -1,-1,0,1,1,1,1,1,1, 14 NM_001242692 chr18 + 42792946 43263060 43204629 43262484 21 42792946,43063197,43204595,43205647,43206922,43212314,43216954,43219710,43221173,43223096,43223950,43243749,43246101,43246899,43247797,43248313,43249270,43252864,43253647,43258939,43262283, 42793156,43063287,43204779,43205828,43207112,43212443,43217147,43219858,43221308,43223146,43224125,43243872,43246184,43247059,43247987,43248442,43249463,43253012,43253782,43258989,43263060, 0 SLC14A2 cmpl cmpl -1,-1,0,0,1,2,2,0,1,1,0,1,1,0,1,2,2,0,1,1,0, 1267 NM_001162536 chr1 - 89445138 89458643 89448336 89449509 3 89445138,89453934,89458267, 89449749,89454034,89458643, 0 RBMXL1 cmpl cmpl 0,-1,-1, 1307 NM_018039 chr11 + 94706844 94732676 94730536 94732108 3 94706844,94708817,94730187, 94707232,94708912,94732676, 0 KDM4D cmpl cmpl -1,-1,0, 234 NM_001166108 chr4 + 169418216 169849608 169432655 169846397 22 169418216,169432573,169589340,169602482,169604148,169606635,169611753,169612419,169630178,169632731,169812072,169815729,169817699,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169846383,169847363, 169418345,169433563,169589519,169602549,169604254,169606710,169611895,169612443,169630298,169633074,169812208,169815828,169817750,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169846429,169849608, 0 PALLD cmpl cmpl -1,0,2,1,2,0,0,1,1,1,2,0,0,0,0,0,2,0,1,2,1,-1, 117 NM_001278739 chr6 - 46517316 46620567 46518102 46605687 11 46517316,46521503,46554813,46555770,46563723,46593154,46598699,46604125,46605565,46609899,46620142, 46518174,46521591,46554902,46555866,46563857,46593245,46598807,46604219,46605715,46610035,46620567, 0 CYP39A1 cmpl cmpl 0,2,0,0,1,0,0,2,0,-1,-1, 117 NM_001278738 chr6 - 46517316 46620567 46518102 46620319 12 46517316,46521503,46554813,46555770,46563723,46593154,46598699,46604125,46605565,46607230,46609899,46620142, 46518174,46521591,46554902,46555866,46563857,46593245,46598807,46604219,46605715,46607345,46610035,46620567, 0 CYP39A1 cmpl cmpl 0,2,0,0,1,0,0,2,2,1,0,0, 195 NM_001204890 chr3 - 128806411 128880073 128813867 128879818 13 128806411,128813828,128848930,128849392,128852916,128853674,128859210,128864603,128875475,128875697,128877350,128877996,128879815, 128810189,128814012,128849031,128849479,128853038,128853797,128859328,128864716,128875518,128875763,128877402,128878019,128880073, 0 ISY1-RAB43 cmpl cmpl -1,2,0,0,1,1,0,1,0,0,2,0,0, 140 NM_001185055 chr2 - 70902215 70995375 70903840 70995031 12 70902215,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70995017, 70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70995375, 0 ADD2 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,2,0, 935 NM_033413 chr17 + 45908992 45915079 45909355 45914486 8 45908992,45909465,45911790,45912718,45913031,45913398,45913698,45914115, 45909365,45909571,45911899,45912765,45913141,45913468,45913841,45915079, 0 LRRC46 cmpl cmpl 0,1,2,0,2,1,2,1, 1225 NM_033411 chr6 + 83903031 83906256 83904170 83905991 3 83903031,83904030,83905313, 83903162,83904371,83906256, 0 RWDD2A cmpl cmpl -1,0,0, 183 NM_001859 chr9 + 115983807 116026772 116018428 116022753 5 115983807,116018393,116019392,116020973,116022551, 115983958,116018557,116019465,116021142,116026772, 0 SLC31A1 cmpl cmpl -1,0,0,1,2, 15 NM_153035 chr1 + 54519273 54565416 54520095 54562146 5 54519273,54520053,54534428,54554269,54561957, 54519431,54520197,54534570,54554463,54565416, 0 TCEANC2 cmpl cmpl -1,0,0,1,0, 113 NM_153026 chr12 - 42852139 42983572 42853610 42866318 8 42852139,42858196,42859995,42862427,42863251,42864047,42866186,42983266, 42854467,42859060,42860182,42862631,42863389,42864161,42866366,42983572, 0 PRICKLE1 cmpl cmpl 1,1,0,0,0,0,0,-1, 2350 NM_014236 chr1 + 231376918 231413719 231377124 231413288 16 231376918,231386706,231396252,231398468,231401038,231401457,231401759,231402022,231403425,231406503,231408057,231409667,231410966,231411150,231411880,231413244, 231377202,231386889,231396429,231398598,231401166,231401533,231401911,231402153,231403649,231406746,231408137,231409808,231411066,231411244,231411942,231413719, 0 GNPAT cmpl cmpl 0,0,0,0,1,0,1,0,2,1,1,0,0,1,2,1, 1024 NR_104422 chr12 - 57637237 57644976 57644976 57644976 8 57637237,57637870,57638097,57638319,57638698,57640586,57641908,57644775, 57637693,57638008,57638149,57638405,57638748,57640684,57641981,57644976, 0 STAC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 724 NR_104413 chr12 - 18233802 18243127 18243127 18243127 5 18233802,18237450,18238553,18241833,18243022, 18234407,18237496,18238627,18241890,18243127, 0 RERGL unk unk -1,-1,-1,-1,-1, 2074 NM_006241 chr3 - 195241220 195270224 195243693 195269848 6 195241220,195245814,195250489,195251616,195256594,195269726, 195243740,195245982,195250584,195251694,195256702,195270224, 0 PPP1R2 cmpl cmpl 1,1,2,2,2,0, 949 NM_001278924 chr10 + 47746849 47763040 47747111 47762187 9 47746849,47751144,47752290,47753837,47756032,47756638,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47756092,47756732,47758904,47759772,47763040, 0 ANXA8L1 cmpl cmpl 0,0,1,0,0,0,1,0,0, 122 NM_001080494 chr1 - 51752929 51787938 51753828 51787833 18 51752929,51754510,51755676,51756185,51760062,51761750,51767243,51768028,51768177,51768755,51770752,51771648,51774932,51776925,51777790,51778483,51787392,51787789, 51753952,51754627,51755791,51756297,51760183,51761842,51767405,51768088,51768245,51768864,51770818,51771748,51774997,51776993,51777867,51778615,51787497,51787938, 0 TTC39A cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,0, 140 NM_017482 chr2 - 70902215 70995375 70903840 70933540 13 70902215,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70995017, 70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70995375, 0 ADD2 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,0,-1,-1, 613 NM_020402 chr11 - 3686816 3692614 3687336 3692542 5 3686816,3688461,3690425,3691025,3692481, 3687794,3688994,3690580,3691171,3692614, 0 CHRNA10 cmpl cmpl 1,2,0,1,0, 1731 NM_025218 chr6 + 150285142 150294846 150285185 150291261 5 150285142,150289742,150290220,150291151,150292504, 150285270,150290006,150290496,150291283,150294846, 0 ULBP1 cmpl cmpl 0,1,1,1,-1, 76 NM_016030 chr2 + 3383445 3483342 3391394 3483232 12 3383445,3391390,3405547,3425651,3428295,3447549,3461391,3464033,3469367,3481465,3482616,3482989, 3383647,3392441,3405664,3425765,3428434,3447662,3461464,3464107,3469466,3481566,3482704,3483342, 0 TRAPPC12 cmpl cmpl -1,0,0,0,0,1,0,1,0,0,2,0, 1007 NM_001261844 chr12 - 55342086 55367516 55354952 55359868 10 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260,55367394, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367303,55367516, 0 TESPA1 cmpl cmpl -1,0,1,2,0,-1,-1,-1,-1,-1, 656 NM_001242326 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L25 cmpl cmpl 0, 821 NM_001198815 chr6 + 30973728 31003179 30978483 31002715 5 30973728,30978446,30993278,30999972,31002448, 30973910,30978553,30997877,31000358,31003179, 0 MUC22 cmpl cmpl -1,0,1,1,0, 15 NM_012288 chr6 - 52362199 52441862 52367994 52441713 11 52362199,52369388,52370396,52370829,52372350,52373031,52374325,52380803,52381425,52400580,52441593, 52368068,52369552,52370540,52370934,52372421,52373116,52374384,52380920,52381535,52400644,52441862, 0 TRAM2 cmpl cmpl 1,2,2,2,0,2,0,0,1,0,0, 1728 NM_001145862 chr1 - 149900542 149908791 149901020 149908540 17 149900542,149901514,149902256,149902683,149903151,149903835,149904155,149905298,149905502,149905747,149906083,149906340,149906878,149907191,149907476,149908046,149908474, 149901209,149901808,149902439,149902857,149903318,149903906,149904222,149905423,149905591,149905835,149906219,149906419,149907021,149907252,149907598,149908122,149908791, 0 MTMR11 cmpl cmpl 0,0,0,0,1,2,1,2,0,2,1,0,1,0,1,0,0, 977 NR_002948 chr19 - 51385351 51399654 51399654 51399654 5 51385351,51390974,51398318,51398846,51399582, 51385940,51391130,51398524,51398948,51399654, 0 KLKP1 unk unk -1,-1,-1,-1,-1, 917 NR_002940 chr17 - 43583248 43597889 43597889 43597889 6 43583248,43587609,43590550,43591233,43594543,43595226, 43585905,43587659,43590655,43592891,43594648,43597889, 0 LRRC37A4P unk unk -1,-1,-1,-1,-1,-1, 1857 NM_016098 chr6 - 166778407 166796501 166778916 166796364 4 166778407,166779461,166780282,166796293, 166778941,166779594,166780382,166796501, 0 MPC1 cmpl cmpl 2,1,2,0, 180 NM_005445 chr10 + 112327448 112364392 112327574 112364060 29 112327448,112328695,112333464,112335093,112337178,112337592,112338385,112340661,112341680,112342319,112343141,112343598,112343940,112349362,112349649,112350169,112350748,112352830,112356155,112357896,112359411,112360196,112360779,112361394,112361723,112362231,112362582,112362941,112363988, 112327589,112328771,112333503,112335161,112337250,112337672,112338464,112340779,112341856,112342400,112343306,112343720,112344154,112349466,112349749,112350330,112350890,112352981,112356308,112358048,112359570,112360304,112360888,112361642,112361936,112362423,112362760,112363048,112364392, 0 SMC3 cmpl cmpl 0,0,1,1,0,0,2,0,1,0,0,0,2,0,2,0,2,0,1,1,0,0,0,1,0,0,0,1,0, 1568 NM_020120 chr2 + 128848753 128953249 128848931 128947316 41 128848753,128855002,128861505,128865511,128867207,128870657,128872697,128873838,128877929,128878772,128880759,128884934,128886602,128890714,128892449,128896290,128900667,128903376,128910357,128913062,128913965,128914825,128917087,128918033,128918711,128922303,128927861,128928778,128930146,128931354,128932346,128934387,128935405,128936041,128937359,128938463,128939703,128941248,128944256,128945022,128947290, 128848989,128855138,128861588,128865642,128867320,128870832,128872794,128873917,128878030,128878872,128880820,128885026,128886753,128890834,128892535,128896426,128900799,128903541,128910478,128913161,128913989,128914920,128917294,128918165,128918842,128922399,128927964,128928858,128930336,128931513,128932432,128934472,128935494,128936143,128937444,128938646,128939864,128941363,128944373,128945188,128953249, 0 UGGT1 cmpl cmpl 0,1,2,1,0,2,0,1,2,1,2,0,2,0,0,2,0,0,0,1,1,1,0,0,0,2,2,0,2,0,0,2,0,2,2,0,0,2,0,0,1, 1027 NM_207374 chr11 - 58034263 58035732 58034412 58035330 1 58034263, 58035732, 0 OR10W1 cmpl cmpl 0, 99 NM_153371 chr13 - 28120049 28194720 28122471 28155840 10 28120049,28124469,28127344,28130372,28133978,28136549,28141776,28143165,28155433,28194511, 28122607,28124628,28127576,28130550,28134122,28136918,28141976,28143413,28155940,28194720, 0 LNX2 cmpl cmpl 2,2,1,0,0,0,1,2,0,-1, 765 NM_001102399 chr1 - 23636275 23670853 23636946 23664327 10 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23670703, 23637559,23637815,23640195,23645190,23648156,23650225,23660124,23664354,23665101,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,-1,-1, 89 NM_148173 chr17 - 17408876 17480779 17409104 17480326 7 17408876,17409540,17412747,17415822,17425593,17480233,17480727, 17409162,17409615,17412859,17415968,17425709,17480341,17480779, 0 PEMT cmpl cmpl 2,2,1,2,0,0,-1, 89 NM_148172 chr17 - 17408876 17495017 17409104 17494940 7 17408876,17409540,17412747,17415822,17425593,17480233,17494844, 17409162,17409615,17412859,17415968,17425709,17480341,17495017, 0 PEMT cmpl cmpl 2,2,1,2,0,0,0, 112 NM_001278651 chr22 - 41640780 41682021 41642606 41677048 17 41640780,41645333,41645732,41647010,41648875,41650311,41652024,41652194,41652714,41653951,41657449,41660667,41664100,41670603,41676936,41680904,41681547, 41642676,41645455,41645821,41647113,41648995,41650498,41652109,41652294,41652828,41654110,41657584,41660847,41664160,41670731,41677086,41681157,41682021, 0 RANGAP1 cmpl cmpl 2,0,1,0,0,2,1,0,0,0,0,0,0,1,0,-1,-1, 1360 NM_001099686 chrX - 101615315 101694929 101615521 101634957 23 101615315,101615712,101618183,101618900,101619573,101619711,101619965,101620144,101620383,101620525,101620974,101622689,101622978,101623206,101623451,101623707,101623903,101624119,101624506,101624883,101634914,101693473,101694790, 101615566,101615773,101618366,101618973,101619616,101619827,101620024,101620252,101620439,101620594,101621011,101622799,101623086,101623295,101623521,101623788,101624008,101624203,101624657,101625073,101635010,101693595,101694929, 0 NXF2B cmpl cmpl 0,2,2,1,0,1,2,2,0,0,2,0,0,1,0,0,0,0,2,1,0,-1,-1, 17 NM_173163 chr16 + 68119268 68263162 68119584 68260255 11 68119268,68155889,68160350,68191771,68200745,68208276,68215377,68217142,68224670,68255098,68260252, 68119687,68157024,68160513,68191971,68200918,68208417,68215433,68217269,68225678,68255187,68263162, 0 NFATC3 cmpl cmpl 0,1,2,0,2,1,1,0,1,1,0, 30 NM_173156 chr1 + 183441505 183523328 183441755 183521066 22 183441505,183481971,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183518342,183518898,183519885,183520179,183520952, 183441784,183482003,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511637,183513632,183514447,183515472,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl 0,2,1,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,1,1,0, 762 NM_173081 chr10 + 23216952 23327452 23220925 23326408 19 23216952,23220924,23235072,23244735,23247998,23248327,23250812,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297743,23319524,23321789,23326198, 23217035,23220973,23235190,23244861,23248067,23248503,23251007,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23319725,23321952,23327452, 0 ARMC3 cmpl cmpl -1,0,0,1,1,1,0,0,1,1,2,0,2,0,2,2,2,2,0, 1751 NM_173080 chr1 + 152943127 152945069 152944366 152944606 2 152943127,152944346, 152943170,152945069, 0 SPRR4 cmpl cmpl -1,0, 1456 NM_000640 chrX - 114238537 114252207 114238642 114251832 10 114238537,114239759,114242494,114244083,114245206,114248331,114248983,114250232,114251738,114252115, 114238669,114239878,114242639,114244229,114245391,114248452,114249137,114250384,114251865,114252207, 0 IL13RA2 cmpl cmpl 0,1,0,1,2,1,0,1,0,-1, 1193 NM_000160 chr17 + 79762009 79771889 79766894 79771565 14 79762009,79766717,79767657,79768700,79768885,79769097,79769279,79769526,79769761,79770058,79770452,79770682,79770891,79771349, 79762125,79766954,79767760,79768808,79769007,79769204,79769436,79769686,79769822,79770128,79770541,79770821,79770933,79771889, 0 GCGR cmpl cmpl -1,0,0,1,1,0,2,0,1,2,0,2,0,0, 1481 NM_001168325 chr12 - 117476727 117537251 117476937 117537087 7 117476727,117479751,117484363,117484581,117486823,117513075,117537029, 117477015,117479799,117484471,117484643,117486963,117513145,117537251, 0 TESC cmpl cmpl 0,0,0,1,2,1,0, 1190 NR_039894 chr17 - 79374515 79374578 79374578 79374578 1 79374515, 79374578, 0 MIR4740 unk unk -1, 1015 NR_039889 chr17 - 56413336 56413383 56413383 56413383 1 56413336, 56413383, 0 MIR4736 unk unk -1, 908 NM_001144826 chr17 + 42385926 42395238 42386200 42394872 11 42385926,42389947,42390486,42390785,42392102,42392296,42392522,42392819,42393752,42393986,42394852, 42386307,42390063,42390620,42390871,42392192,42392377,42392688,42392977,42393890,42394093,42395238, 0 RUNDC3A cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 908 NM_001144825 chr17 + 42385926 42396038 42386200 42395606 11 42385926,42389947,42390471,42390785,42392102,42392296,42392522,42392819,42393752,42393986,42395463, 42386307,42390063,42390620,42390871,42392192,42392377,42392688,42392977,42393890,42394093,42396038, 0 RUNDC3A cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 31 NM_001145673 chr4 - 186506597 186697066 186508780 186598642 23 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186560030,186567821,186570620,186572937,186573815,186578577,186583257,186598150,186599576,186599949,186696380,186696855, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186560189,186567936,186570810,186572982,186573882,186578750,186583396,186598792,186599632,186599976,186696520,186697066, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,0,2,1,1,0,1,0,0,-1,-1,-1,-1, 31 NM_001145672 chr4 - 186506597 186732048 186508780 186611725 21 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186611715,186731901, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186611765,186732048, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,2,1,1,0,1,0,1,1,0,-1, 31 NM_001145671 chr4 - 186506597 186732258 186508780 186605968 23 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186560030,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186605907,186696380,186732091, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186560189,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186606000,186696520,186732258, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,0,2,1,1,0,1,0,1,1,0,-1,-1, 31 NM_001145670 chr4 - 186506597 186733410 186508780 186605968 21 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186567821,186570620,186573815,186578577,186583257,186599576,186599949,186605907,186611715,186696380,186732817, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186567936,186570810,186573882,186578750,186583396,186599701,186599976,186605996,186611765,186696520,186733410, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,2,1,0,1,0,1,1,0,-1,-1,-1, 682 NM_001930 chr19 - 12786530 12792701 12786651 12792580 9 12786530,12786830,12787921,12788104,12790270,12790436,12790614,12790974,12792373, 12786747,12786956,12788025,12788210,12790357,12790533,12790736,12791139,12792701, 0 DHPS cmpl cmpl 0,0,1,0,0,2,0,0,0, 946 NM_001128225 chr11 + 47430045 47438051 47431645 47436914 10 47430045,47431637,47433476,47433896,47434950,47435147,47435975,47436327,47436589,47436838, 47430213,47431946,47433590,47434018,47435058,47435237,47436026,47436460,47436710,47438051, 0 SLC39A13 cmpl cmpl -1,0,1,1,0,0,0,0,1,2, 1163 NM_001128223 chr3 - 75786028 75834255 75786028 75832513 5 75786028,75790426,75790760,75832456,75833934, 75788496,75790519,75790887,75832515,75834255, 0 ZNF717 cmpl cmpl 1,1,0,0,-1, 2454 NM_004501 chr1 - 245013601 245027827 245017751 245027609 14 245013601,245018274,245018725,245019205,245019758,245020029,245020899,245021312,245022030,245022576,245023636,245025762,245025920,245026975, 245017805,245018346,245018910,245019460,245019927,245020158,245021019,245021576,245022143,245022676,245023776,245025836,245026032,245027827, 0 HNRNPU cmpl cmpl 0,0,1,1,0,0,0,0,1,0,1,2,1,0, 1234 NR_038273 chr15 + 85114364 85123412 85123412 85123412 4 85114364,85115445,85116252,85121178, 85114459,85115575,85116482,85123412, 0 LINC00933 unk unk -1,-1,-1,-1, 170 NM_004834 chr2 + 102314164 102511152 102314542 102507711 30 102314164,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102481391,102482892,102483673,102484490,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102481498,102483041,102483771,102484499,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503723,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,2,1,0,0,2,0,1,1,1,1,0,0,1,0, 87 NM_003662 chrX - 15402923 15511711 15403125 15509380 10 15402923,15408306,15415570,15425627,15444028,15473970,15477779,15497851,15509284,15511278, 15403238,15408373,15415653,15425672,15444113,15474177,15477863,15497944,15509432,15511711, 0 PIR cmpl cmpl 1,0,1,1,0,0,0,0,0,-1, 682 NM_001310 chr12 + 12764766 12798042 12765106 12794932 4 12764766,12788710,12790503,12794927, 12765121,12788908,12790648,12798042, 0 CREBL2 cmpl cmpl 0,0,0,1, 1150 NM_018665 chr6 + 74104284 74127289 74104628 74125949 17 74104284,74107411,74109956,74111581,74114412,74115401,74116086,74117227,74117682,74118970,74121927,74123380,74123692,74124270,74125219,74125835,74126909, 74104878,74107467,74110086,74111713,74114494,74115558,74116205,74117338,74117824,74119071,74122015,74123508,74123802,74124409,74125307,74125974,74127289, 0 DDX43 cmpl cmpl 0,1,0,1,1,2,0,2,2,0,2,0,2,1,2,0,-1, 640 NM_001105581 chr18 + 7231136 7232042 7231136 7232042 1 7231136, 7232042, 0 LRRC30 cmpl cmpl 0, 591 NM_015985 chr20 - 853296 896960 853602 896857 9 853296,854926,858803,860389,861813,865720,868960,870855,896548, 853763,855057,858970,860491,861929,865968,869082,871011,896960, 0 ANGPT4 cmpl cmpl 1,2,0,0,1,2,0,0,0, 1234 NM_001166294 chr1 - 85109389 85156240 85113115 85136460 13 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85156053, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85156240, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,0,-1, 1234 NM_001166293 chr1 - 85109389 85156240 85113115 85136902 14 85109389,85116044,85117565,85121514,85122030,85124000,85127880,85128137,85130099,85131804,85135363,85136328,85136859,85156053, 85113290,85116210,85117680,85121688,85122167,85124151,85128058,85128213,85130235,85131915,85135576,85136498,85136991,85156240, 0 SSX2IP cmpl cmpl 2,1,0,0,1,0,2,1,0,0,0,1,0,-1, 963 NM_139049 chr10 + 49609654 49647402 49609703 49643072 11 49609654,49612894,49617921,49618072,49628197,49632130,49633930,49634422,49635122,49639235,49642926, 49609825,49613024,49617980,49618211,49628363,49632202,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,1,0,1,1, 587 NR_027231 chrX + 281384 282054 282054 282054 1 281384, 282054, 0 LINC00685 unk unk -1, 586 NR_027231 chrY + 231384 232054 232054 232054 1 231384, 232054, 0 LINC00685 unk unk -1, 999 NR_029866 chr19 + 54291958 54292027 54292027 54292027 1 54291958, 54292027, 0 MIR373 unk unk -1, 1451 NR_029860 chr4 - 113569029 113569097 113569097 113569097 1 113569029, 113569097, 0 MIR367 unk unk -1, 82 NM_005112 chr4 - 10075962 10118573 10077001 10118290 12 10075962,10078927,10079376,10080514,10082980,10084645,10086064,10089330,10089916,10090287,10117736,10118274, 10077108,10079072,10079550,10080625,10083068,10084800,10086154,10089564,10089997,10090365,10117858,10118573, 0 WDR1 cmpl cmpl 1,0,0,0,2,0,0,0,0,0,1,0, 1680 NM_014719 chr7 - 143548460 143599172 143551225 143573701 9 143548460,143554192,143555916,143557300,143558187,143559508,143559894,143573081,143599053, 143551235,143554443,143556254,143557540,143558401,143559606,143560889,143573715,143599172, 0 FAM115A cmpl cmpl 2,0,1,1,0,1,2,0,-1, 596 NM_001173473 chrY - 1472031 1522655 1472161 1511129 13 1472031,1481624,1486865,1487874,1490550,1494417,1496626,1501161,1503914,1504586,1507989,1511078,1522510, 1472382,1481747,1487009,1488007,1490735,1494580,1497014,1501270,1503976,1504651,1508037,1511210,1522655, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0,-1, 157 NM_006416 chr6 + 88182642 88222057 88182721 88221244 8 88182642,88187079,88210225,88210875,88216099,88218137,88218758,88221116, 88182737,88187257,88210385,88211028,88216166,88218314,88218893,88222057, 0 SLC35A1 cmpl cmpl 0,1,2,0,0,1,1,1, 1266 NM_001178117 chr10 + 89264222 89313218 89264672 89311942 3 89264222,89268092,89311838, 89265309,89268290,89313218, 0 MINPP1 cmpl cmpl 0,1,1, 1469 NM_001860 chr9 + 115913237 115926422 115913354 115925197 4 115913237,115920006,115923788,115925028, 115913360,115920073,115923978,115926422, 0 SLC31A2 cmpl cmpl 0,0,1,2, 1776 NM_001193302 chr1 + 156123368 156147542 156126362 156146788 13 156123368,156126204,156127860,156128509,156130233,156130695,156131136,156132734,156142616,156144612,156144876,156145346,156146195, 156123555,156126365,156127923,156128615,156130350,156130820,156131309,156132885,156142797,156144731,156145034,156145447,156147542, 0 SEMA4A cmpl cmpl -1,0,0,0,1,1,0,2,0,1,0,2,1, 898 NM_001077268 chr15 + 41099273 41106767 41099787 41106424 11 41099273,41101316,41101605,41102049,41102268,41102846,41104896,41105535,41105910,41106140,41106345, 41100066,41101438,41101656,41102168,41102414,41102955,41105100,41105615,41106009,41106268,41106767, 0 ZFYVE19 cmpl cmpl 0,0,2,2,1,0,1,1,0,0,2, 1618 NM_033178 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4 cmpl cmpl 0,0, 608 NM_152341 chr16 + 3019245 3023490 3019675 3021949 3 3019245,3021157,3021515, 3019841,3021379,3023490, 0 PAQR4 cmpl cmpl 0,1,1, 876 NM_138632 chr22 + 38142240 38155963 38142244 38155534 8 38142240,38147778,38150883,38151107,38151556,38153619,38155160,38155423, 38142427,38147835,38150991,38151197,38151666,38154145,38155271,38155963, 0 TRIOBP cmpl cmpl 0,0,0,0,0,2,0,0, 1653 NM_021569 chr9 + 140033608 140063214 140033938 140061979 19 140033608,140036464,140040177,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140061862, 140034196,140036599,140040354,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0, 117 NM_001077484 chr12 - 46576840 46663208 46582752 46633583 17 46576840,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46662647, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1094 NM_001287823 chr15 + 66797420 66841822 66811238 66839017 18 66797420,66806325,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66806421,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl -1,-1,-1,0,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 714 NR_037446 chr1 + 17007749 17007823 17007823 17007823 1 17007749, 17007823, 0 MIR3675 unk unk -1, 1988 NM_080876 chr2 + 183943286 183964722 183943661 183960386 4 183943286,183948235,183951767,183960158, 183943887,183948282,183951920,183964722, 0 DUSP19 cmpl cmpl 0,1,0,0, 21 NR_047513 chr4 - 103806204 103940896 103940896 103940896 11 103806204,103826670,103827692,103831595,103832587,103853280,103867803,103870413,103910956,103912799,103940755, 103806485,103826807,103827801,103831745,103832694,103853456,103867946,103870584,103911098,103912869,103940896, 0 SLC9B1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 605 NM_144564 chr19 - 2732522 2740074 2732748 2737255 3 2732522,2737045,2739942, 2733483,2737377,2740074, 0 SLC39A3 cmpl cmpl 0,0,-1, 954 NM_018509 chr17 - 48458593 48474914 48460348 48474678 7 48458593,48462478,48465420,48469758,48470099,48472289,48474573, 48460596,48462652,48465493,48469863,48470258,48472349,48474914, 0 LRRC59 cmpl cmpl 1,1,0,0,0,0,0, 661 NM_018447 chr3 - 10005635 10028522 10005752 10028345 8 10005635,10011402,10012265,10015311,10016067,10018640,10019072,10028190, 10005881,10011485,10012345,10015393,10016172,10018734,10019130,10028522, 0 EMC3 cmpl cmpl 0,1,2,1,1,0,2,0, 1 NM_001166264 chr2 + 33359663 33624575 33359804 33623612 29 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482350,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1658 NM_013453 chrX - 140671805 140672836 140671859 140672800 2 140671805,140672728, 140672081,140672836, 0 SPANXA1 cmpl cmpl 0,0, 139 NM_001161498 chr14 + 69951470 69995215 69951682 69995136 13 69951470,69966831,69967293,69967587,69968450,69969543,69988999,69990945,69992660,69993413,69993904,69994499,69994966, 69951831,69966925,69967383,69967664,69968542,69969596,69989094,69991039,69992839,69993546,69994049,69994649,69995215, 0 PLEKHD1 cmpl cmpl 0,2,0,0,2,1,0,2,0,2,0,1,1, 123 NM_004693 chr12 - 52817853 52828110 52818300 52828088 9 52817853,52820600,52822039,52822401,52824324,52825326,52825789,52826821,52827590, 52818539,52820635,52822260,52822527,52824489,52825422,52825850,52827036,52828110, 0 KRT75 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1025 NM_001130406 chr13 + 57715051 57718073 57715438 57717125 3 57715051,57715419,57716511, 57715265,57715490,57718073, 0 PRR20D cmpl cmpl -1,0,1, 820 NM_001202523 chr6 + 30852756 30867933 30852996 30867073 17 30852756,30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30864397,30864790,30865155,30865849,30866664,30866932, 30853008,30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,0,1,2,0,1,2,0,1,1,0,1,0,2,2,0,0, 1075 NM_001160183 chr7 + 64254765 64294059 64254946 64291864 5 64254765,64275295,64275953,64291317,64291828, 64254949,64275422,64276031,64291454,64294059, 0 ZNF138 cmpl cmpl 0,0,1,1,0, 10 NM_005493 chr6 - 13621729 13711796 13622593 13711737 14 13621729,13625884,13632601,13634662,13638039,13639794,13641430,13642710,13644776,13652890,13657340,13659011,13697016,13711166, 13622724,13625996,13632753,13634784,13638187,13639985,13641539,13642823,13644961,13652913,13657508,13659064,13697128,13711796, 0 RANBP9 cmpl cmpl 1,0,1,2,1,2,1,2,0,1,1,2,1,0, 144 NM_015727 chr2 - 75278162 75426645 75278373 75426060 4 75278162,75280731,75347699,75425671, 75278574,75280882,75347894,75426645, 0 TACR1 cmpl cmpl 0,2,2,0, 724 NM_024730 chr12 - 18233802 18243127 18234124 18242217 6 18233802,18237450,18238553,18241833,18242162,18243022, 18234407,18237599,18238627,18241890,18242319,18243127, 0 RERGL cmpl cmpl 2,0,1,1,0,-1, 1379 NM_001127610 chr9 - 104122698 104145801 104124709 104133686 4 104122698,104130401,104133220,104145751, 104125297,104130604,104133745,104145801, 0 BAAT cmpl cmpl 0,1,0,-1, 1768 NM_001122839 chr1 + 155108287 155111334 155108387 155110757 5 155108287,155108774,155109303,155110454,155110655, 155108467,155108852,155109427,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,2,2,0,0, 1061 NR_037946 chr11 - 62457733 62494856 62494856 62494856 24 62457733,62458083,62458258,62458546,62458751,62459847,62460134,62462039,62469939,62472772,62474580,62482971,62483335,62484460,62487494,62488766,62489291,62489588,62490072,62490284,62491058,62491385,62491762,62494090, 62457993,62458164,62458339,62458613,62458893,62459945,62460269,62462183,62470021,62473089,62474796,62483079,62483409,62484661,62487663,62488895,62489414,62489852,62490185,62490375,62491198,62491462,62491898,62494856, 0 HNRNPUL2-BSCL2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 613 NR_034031 chrX - 3735575 3761935 3761935 3761935 5 3735575,3736482,3736697,3746546,3761381, 3735819,3736541,3736744,3747433,3761935, 0 LOC389906 unk unk -1,-1,-1,-1,-1, 761 NR_033928 chr8 + 23082733 23088439 23088439 23088439 3 23082733,23085578,23087460, 23083636,23085666,23088439, 0 LOC389641 unk unk -1,-1,-1, 88 NR_047665 chr19 - 16466054 16582823 16582823 16582823 23 16466054,16472589,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16466662,16472795,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 295 NR_103494 chr2 + 233562014 233601358 233601358 233601358 6 233562014,233565294,233568133,233599126,233599864,233600472, 233562102,233565364,233568199,233599196,233599948,233601358, 0 GIGYF2 unk unk -1,-1,-1,-1,-1,-1, 88 NR_047666 chr19 - 16472388 16582823 16582823 16582823 23 16472388,16487932,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551695,16552702,16552988,16582723, 16472795,16488065,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 87 NM_006765 chr8 + 15397595 15624158 15397939 15615318 11 15397595,15480588,15508205,15517015,15519664,15531255,15588174,15601046,15605883,15615299,15621711, 15398077,15480758,15508323,15517156,15519805,15531345,15588238,15601121,15605974,15615364,15624158, 0 TUSC3 cmpl cmpl 0,0,2,0,0,0,0,1,1,2,-1, 167 NM_007001 chr9 - 99082987 99145992 99083523 99145916 12 99082987,99084279,99086372,99098998,99106185,99107580,99113384,99114319,99122435,99126745,99130553,99145758, 99083623,99084362,99086451,99099066,99106278,99107683,99113453,99114391,99122503,99126832,99130587,99145992, 0 SLC35D2 cmpl cmpl 2,0,2,0,0,2,2,2,0,0,2,0, 1319 NM_182496 chr12 - 96260825 96336428 96260853 96330287 16 96260825,96263257,96266032,96271988,96273421,96275262,96282235,96284609,96288766,96292162,96292345,96300164,96310906,96312653,96330250,96336208, 96260967,96263351,96266238,96272124,96273573,96275332,96282284,96284708,96288924,96292243,96292509,96300229,96311072,96312754,96330301,96336428, 0 CCDC38 cmpl cmpl 0,2,0,2,0,2,1,1,2,2,0,1,0,1,0,-1, 176 NM_014648 chr3 + 108308336 108413693 108324253 108409744 33 108308336,108324181,108326935,108330020,108335387,108343290,108344691,108347908,108351799,108353717,108355462,108356342,108361284,108363010,108365463,108366789,108367764,108369983,108372991,108380723,108380976,108388527,108391406,108392924,108394632,108396343,108403062,108405291,108406822,108407439,108407669,108409633,108412206, 108308686,108324285,108327005,108330176,108335504,108343371,108344816,108348023,108351919,108353819,108355555,108356395,108361361,108363628,108365496,108366959,108367809,108370009,108373157,108380819,108381104,108388596,108391503,108393028,108394720,108396445,108403188,108405431,108406943,108407583,108407771,108409750,108413693, 0 DZIP3 cmpl cmpl -1,0,2,0,0,0,0,2,0,0,0,0,2,1,1,1,0,0,2,0,0,2,2,0,2,0,0,0,2,0,0,0,-1, 1486 NM_144765 chr11 - 118127627 118135251 118127964 118134868 5 118127627,118130768,118133152,118133645,118134810, 118128028,118130916,118133363,118133812,118135251, 0 MPZL2 cmpl cmpl 2,1,0,1,0, 1653 NM_207113 chr7 - 140033551 140098350 140035211 140082326 15 140033551,140037083,140043211,140045015,140045668,140048425,140051072,140051861,140055467,140058439,140064207,140069389,140080081,140082237,140098215, 140035304,140037149,140043363,140045063,140045770,140048567,140051251,140051946,140055564,140058585,140064291,140069482,140080190,140082396,140098350, 0 SLC37A3 cmpl cmpl 0,0,1,1,1,0,1,0,2,0,0,0,2,0,-1, 73 NM_207332 chr8 - 614199 681226 614602 681161 6 614199,618597,623288,642477,665860,681139, 614676,618792,624047,642612,666007,681226, 0 ERICH1 cmpl cmpl 1,1,1,1,1,0, 1428 NM_032260 chr2 + 110550334 110590596 110552042 110590540 20 110550334,110551741,110559359,110561008,110561555,110565750,110566326,110571036,110577272,110579481,110581798,110582063,110582406,110583452,110583877,110584277,110585368,110585641,110588893,110590427, 110550566,110552114,110559427,110561120,110561708,110565981,110566472,110571232,110577360,110579691,110581980,110582239,110582530,110583611,110584015,110584424,110585548,110585725,110589029,110590596, 0 RGPD5 cmpl cmpl -1,0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1, 624 NM_001253909 chr10 + 5136567 5140368 5136636 5139790 3 5136567,5138601,5139625, 5136720,5138769,5140368, 0 AKR1C3 cmpl cmpl 0,0,0, 589 NM_176677 chr16 + 617031 619495 618047 618419 2 617031,617495, 617075,619495, 0 NHLRC4 cmpl cmpl -1,0, 848 NM_198573 chr9 - 34521039 34523037 34521462 34521693 2 34521039,34522774, 34521854,34523037, 0 ENHO cmpl cmpl 0,-1, 1502 NM_006623 chr1 + 120254418 120286849 120254645 120286663 12 120254418,120263792,120265998,120269473,120269626,120277256,120277917,120279736,120283008,120284389,120285429,120286508, 120254783,120263944,120266064,120269528,120269725,120277389,120278066,120279889,120283141,120284520,120285667,120286849, 0 PHGDH cmpl cmpl 0,0,2,2,0,0,1,0,0,1,0,1, 898 NM_001142654 chr17 - 41120104 41132545 41121164 41132199 6 41120104,41122305,41123623,41131186,41131394,41132062, 41121203,41122359,41123713,41131285,41131461,41132545, 0 PTGES3L cmpl cmpl 0,0,0,0,2,0, 898 NM_001142653 chr17 - 41120104 41132545 41121164 41132199 6 41120104,41122305,41123623,41131394,41131566,41132062, 41121203,41122359,41123713,41131461,41131680,41132545, 0 PTGES3L cmpl cmpl 0,0,0,2,2,0, 1653 NM_053045 chr9 - 140098534 140100090 140099455 140099866 1 140098534, 140100090, 0 TMEM203 cmpl cmpl 0, 200 NM_018223 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133438918,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133439011,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 1564 NR_046392 chr12 + 128399954 128436097 128436097 128436097 5 128399954,128418834,128429262,128433368,128434518, 128400227,128418894,128429344,128433503,128436097, 0 LINC00507 unk unk -1,-1,-1,-1,-1, 961 NM_033124 chr12 + 49297892 49315359 49298119 49315226 8 49297892,49298728,49308186,49310752,49312057,49312467,49314712,49314950, 49298251,49298896,49308356,49310891,49312255,49312686,49314865,49315359, 0 CCDC65 cmpl cmpl 0,0,0,2,0,0,0,0, 838 NM_006979 chr6 + 33168602 33172214 33169022 33171590 7 33168602,33169521,33169848,33170039,33170336,33170686,33171317, 33169433,33169690,33169902,33170204,33170477,33170883,33172214, 0 SLC39A7 cmpl cmpl 0,0,1,1,1,1,0, 1547 NM_148910 chr11 + 126152981 126163071 126160789 126163012 5 126152981,126159559,126160356,126160697,126162371, 126153048,126159728,126160480,126160856,126163071, 0 TIRAP cmpl cmpl -1,-1,-1,0,1, 624 NM_003739 chr10 + 5136567 5149878 5136636 5149695 9 5136567,5138601,5139625,5140993,5141518,5144292,5144676,5147786,5149652, 5136720,5138769,5139742,5141071,5141641,5144402,5144842,5147869,5149878, 0 AKR1C3 cmpl cmpl 0,0,0,0,0,0,2,0,2, 990 NM_015848 chr12 - 53161938 53171129 53162496 53171075 9 53161938,53163332,53164782,53165654,53165877,53166566,53167365,53169171,53170475, 53162894,53163367,53165003,53165780,53166042,53166662,53167426,53169386,53171129, 0 KRT76 cmpl cmpl 1,2,0,0,0,0,2,0,0, 128 NM_001130100 chr16 - 57792128 57836439 57793060 57832155 20 57792128,57793036,57793639,57794193,57794637,57794953,57795324,57796051,57798054,57799370,57800785,57803506,57803719,57804438,57805109,57805454,57806134,57828910,57831983,57836281, 57792821,57793065,57793748,57794328,57794867,57795083,57795448,57796182,57798159,57799552,57800897,57803637,57803867,57804612,57805349,57805598,57806200,57829053,57832194,57836439, 0 KIFC3 cmpl cmpl -1,1,0,0,1,0,2,0,0,1,0,1,0,0,0,0,0,1,0,-1, 657 NR_109957 chr20 - 9485826 9495645 9495645 9495645 5 9485826,9486856,9487571,9489526,9495410, 9486770,9486984,9487906,9489812,9495645, 0 RP5-1119D9.4 unk unk -1,-1,-1,-1,-1, 746 NM_145109 chr17 + 21187967 21218551 21188232 21217542 12 21187967,21201724,21202189,21203856,21204185,21205454,21206494,21207737,21208362,21215453,21216803,21217458, 21188281,21201791,21202238,21203970,21204305,21205571,21206546,21207865,21208440,21215593,21216849,21218551, 0 MAP2K3 cmpl cmpl 0,1,2,0,0,0,0,1,0,0,2,0, 1074 NM_003942 chr11 + 64126624 64139687 64126707 64138952 17 64126624,64126849,64127634,64127948,64128605,64128940,64129113,64129323,64132772,64135603,64135939,64136175,64136917,64137170,64137696,64138034,64138754, 64126762,64126921,64127853,64128064,64128713,64129021,64129217,64129474,64132937,64135732,64136073,64136269,64137091,64137365,64137856,64138198,64139687, 0 RPS6KA4 cmpl cmpl 0,1,1,1,0,0,0,2,0,0,0,2,0,0,0,1,0, 175 NM_001270419 chr7 + 107204401 107218968 107207515 107218005 8 107204401,107205032,107207494,107211589,107214148,107215632,107216810,107217757, 107204504,107205121,107207631,107211711,107214266,107215755,107217037,107218968, 0 DUS4L cmpl cmpl -1,-1,0,2,1,2,2,1, 950 NR_003695 chr20 + 47896849 47896952 47896952 47896952 1 47896849, 47896952, 0 SNORD12B unk unk -1, 883 NM_007181 chr19 - 39078279 39108675 39078449 39108535 32 39078279,39079817,39083921,39086124,39086279,39086578,39086951,39087673,39087965,39088125,39090564,39090716,39092080,39096048,39096207,39096812,39098503,39098629,39098751,39100235,39100548,39101690,39101882,39103250,39104519,39104682,39104884,39105029,39106834,39107993,39108207,39108436, 39078457,39079915,39083977,39086195,39086369,39086641,39087126,39087777,39088024,39088234,39090625,39090793,39092165,39096131,39096370,39096855,39098551,39098673,39098810,39100314,39100665,39101772,39101945,39103382,39104592,39104725,39104932,39105085,39106899,39108084,39108265,39108675, 0 MAP4K1 cmpl cmpl 1,2,0,1,1,1,0,1,2,1,0,1,0,1,0,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 1021 NM_138969 chr8 - 57212569 57233241 57214038 57228906 7 57212569,57218155,57219234,57221486,57224715,57228573,57232617, 57214132,57218281,57219379,57221586,57224847,57228920,57233241, 0 SDR16C5 cmpl cmpl 2,2,1,0,0,0,-1, 906 NR_040009 chr8 + 42128819 42190171 42190171 42190171 22 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175227,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 200 NM_016018 chr8 + 133787603 133861052 133790074 133858168 21 133787603,133790037,133806655,133806978,133811017,133811340,133816063,133816859,133823290,133826881,133829132,133829583,133836248,133837508,133844479,133848784,133849956,133851631,133854759,133856400,133858025, 133787891,133790157,133806827,133807063,133811106,133811418,133816277,133816985,133823373,133827134,133829321,133829790,133836305,133837616,133844644,133848966,133850056,133851827,133855120,133856563,133861052, 0 PHF20L1 cmpl cmpl -1,0,2,0,1,0,0,1,1,0,1,1,1,1,1,1,0,1,2,0,1, 749 NM_018071 chr14 + 21538418 21558406 21538555 21557030 24 21538418,21541203,21542090,21543490,21543803,21544518,21544721,21544932,21546335,21546531,21547042,21548818,21549031,21549667,21550402,21550989,21551993,21552911,21553847,21555159,21555478,21556126,21556988,21557172, 21538558,21541401,21543339,21543658,21543924,21544615,21544802,21545049,21546431,21546647,21547169,21548941,21549175,21550278,21550637,21551076,21552209,21553082,21554025,21555264,21555622,21556257,21557035,21558406, 0 ARHGEF40 cmpl cmpl 0,0,0,1,1,2,0,0,0,0,2,0,0,0,2,0,0,0,0,1,1,1,0,-1, 916 NM_033450 chr6 + 43399488 43418163 43399847 43417829 20 43399488,43402358,43403488,43403830,43405671,43406361,43409599,43410707,43411670,43411896,43412525,43412862,43413336,43414014,43414985,43415421,43416618,43416844,43417159,43417666, 43401098,43402586,43403645,43403985,43405751,43406533,43409698,43410897,43411748,43412091,43412676,43413052,43413680,43414184,43415146,43415675,43416764,43416942,43417272,43418163, 0 ABCC10 cmpl cmpl 0,0,0,1,0,2,0,0,1,1,1,2,0,2,1,0,2,1,0,2, 842 NM_001145025 chr20 - 33703159 33735161 33703235 33735061 10 33703159,33706400,33711692,33714053,33719444,33722540,33725682,33730175,33732781,33734954, 33703736,33706522,33711837,33714178,33719586,33722752,33725808,33730281,33732821,33735161, 0 EDEM2 cmpl cmpl 0,1,0,1,0,1,1,0,2,0, 168 NM_016337 chr14 + 100531750 100610573 100531837 100610075 14 100531750,100551023,100563817,100589875,100593043,100594855,100595899,100599055,100602241,100603914,100604076,100607516,100608072,100610037, 100531848,100551192,100563995,100589939,100593108,100595085,100596021,100599116,100602305,100603981,100604139,100607583,100608130,100610573, 0 EVL cmpl cmpl 0,2,0,1,2,1,0,2,0,1,2,2,0,1, 125 NM_001287741 chr6 - 55299170 55444012 55300459 55443853 8 55299170,55304231,55360216,55364033,55378845,55406526,55406857,55443745, 55300561,55304357,55360405,55364097,55378994,55406634,55406938,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,0,0, 262 NR_040073 chr1 - 198777131 198906558 198906558 198906558 3 198777131,198869539,198906354, 198777372,198869698,198906558, 0 MIR181A1HG unk unk -1,-1,-1, 699 NR_036145 chr16 + 14995364 14995448 14995448 14995448 1 14995364, 14995448, 0 MIR3179-3 unk unk -1, 710 NR_036145 chr16 + 16394015 16394099 16394099 16394099 1 16394015, 16394099, 0 MIR3179-3 unk unk -1, 726 NR_036145 chr16 - 18505750 18505834 18505834 18505834 1 18505750, 18505834, 0 MIR3179-3 unk unk -1, 699 NR_036143 chr16 + 14995364 14995448 14995448 14995448 1 14995364, 14995448, 0 MIR3179-2 unk unk -1, 861 NR_024178 chr17 - 36202572 36244363 36244363 36244363 7 36202572,36204745,36214021,36214741,36233821,36243580,36244310, 36204338,36205003,36214127,36214848,36233931,36243635,36244363, 0 YWHAEP7 unk unk -1,-1,-1,-1,-1,-1,-1, 120 NM_001127899 chrX + 49687224 49863892 49689908 49856876 15 49687224,49688015,49689780,49806924,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49687402,49688350,49689924,49807071,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl -1,-1,0,1,1,0,1,0,0,0,0,0,1,1,2, 838 NM_001077516 chr6 + 33168602 33172214 33169022 33171590 8 33168602,33169018,33169521,33169848,33170039,33170336,33170686,33171317, 33168715,33169433,33169690,33169902,33170204,33170477,33170883,33172214, 0 SLC39A7 cmpl cmpl -1,0,0,1,1,1,1,0, 655 NM_001256854 chr4 + 9250355 9251948 9250355 9251948 1 9250355, 9251948, 0 USP17L11 cmpl cmpl 0, 655 NM_001256854 chr4 + 9259849 9261442 9259849 9261442 1 9259849, 9261442, 0 USP17L11 cmpl cmpl 0, 655 NM_001256860 chr4 + 9255103 9256696 9255103 9256696 1 9255103, 9256696, 0 USP17L19 cmpl cmpl 0, 655 NM_001256859 chr4 + 9217130 9218723 9217130 9218723 1 9217130, 9218723, 0 USP17L18 cmpl cmpl 0, 923 NM_015380 chr22 + 44351260 44392412 44351457 44392263 15 44351260,44359165,44360331,44364610,44368115,44368750,44369115,44371934,44372629,44373751,44377270,44379812,44384990,44386144,44392217, 44351478,44359276,44360433,44364698,44368222,44368881,44369203,44372063,44372701,44373838,44377341,44379880,44385137,44386286,44392412, 0 SAMM50 cmpl cmpl 0,0,0,0,1,0,2,0,0,0,0,2,1,1,2, 986 NM_003657 chr20 - 52560078 52687304 52561460 52675257 12 52560078,52569970,52573970,52583444,52591927,52601825,52611550,52612430,52644930,52674623,52675185,52686971, 52561535,52570234,52574036,52583612,52591969,52602038,52611595,52612589,52645511,52674693,52675262,52687304, 0 BCAS1 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,0,-1, 1653 NM_012208 chr5 + 140071010 140078903 140071233 140078137 13 140071010,140073175,140073519,140073769,140075092,140075322,140075687,140076105,140076527,140076748,140077153,140077516,140078077, 140071341,140073250,140073639,140073865,140075218,140075430,140075786,140076199,140076655,140076991,140077270,140077663,140078903, 0 HARS2 cmpl cmpl 0,0,0,0,0,0,0,0,1,0,0,0,0, 1759 NM_014437 chr1 - 153931574 153940208 153932573 153935191 5 153931574,153934695,153935004,153936072,153939861, 153933230,153934826,153935223,153936179,153940208, 0 SLC39A1 cmpl cmpl 0,1,0,-1,-1, 896 NM_016602 chr17 - 40831419 40833845 40831570 40833841 2 40831419,40833817, 40832635,40833845, 0 CCR10 cmpl cmpl 0,0, 215 NM_004522 chr2 + 149632791 149883273 149633186 149868190 26 149632791,149679705,149686849,149793797,149798123,149798448,149799186,149803412,149806352,149806827,149818484,149829849,149835435,149837868,149840133,149847523,149850934,149853777,149854913,149856936,149857235,149861906,149864476,149866648,149868083,149879591, 149633312,149679796,149686923,149793902,149798172,149798504,149799274,149803537,149806457,149806976,149818633,149830025,149835504,149838075,149840280,149847712,149851052,149853854,149855023,149857038,149857296,149861978,149864581,149866865,149868197,149883273, 0 KIF5C cmpl cmpl 0,0,1,0,0,1,0,1,0,0,2,1,0,0,0,0,0,1,0,2,2,0,0,0,1,-1, 125 NM_015360 chr5 + 54603575 54721409 54603841 54720600 27 54603575,54618154,54619959,54623543,54624526,54635837,54637508,54639158,54640349,54640921,54642840,54645400,54646746,54648995,54654400,54662552,54674141,54674954,54683801,54693243,54696060,54701252,54706351,54710009,54711797,54718705,54720547, 54603975,54618292,54620026,54623606,54624639,54636012,54637599,54639283,54640448,54641024,54642972,54645480,54646857,54649097,54654526,54662703,54674314,54675023,54683930,54693354,54696249,54701416,54706457,54710066,54711960,54718810,54721409, 0 SKIV2L2 cmpl cmpl 0,2,2,0,0,2,0,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,2,0,0,1,1, 1156 NR_030737 chrX - 74960372 74962914 74962914 74962914 1 74960372, 74962914, 0 TTC3P1 unk unk -1, 1102 NM_001288992 chr16 + 67840780 67861971 67859873 67861896 12 67840780,67848204,67858485,67859039,67859569,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67858682,67859175,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,-1,-1,0,1,0,0,0,2,0,2, 1102 NM_001288991 chr16 + 67840780 67861971 67841052 67861896 14 67840780,67848204,67855001,67858485,67859039,67859569,67859819,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67855128,67858682,67859175,67859739,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl 0,2,0,1,0,1,0,1,0,0,0,2,0,2, 585 NM_001242480 chr7_gl000195_random - 42937 86719 44723 49117 4 42937,48954,74120,86517, 44923,49119,74180,86719, 0 LOC389831 cmpl cmpl 1,0,-1,-1, 649 NM_001142541 chr6 - 8413299 8435800 8413781 8434620 11 8413299,8415140,8417116,8417634,8419812,8420953,8422702,8428169,8430096,8434617,8435671, 8413932,8415210,8417228,8417727,8419910,8421061,8422857,8428291,8430390,8434663,8435800, 0 SLC35B3 cmpl cmpl 2,1,0,0,1,1,2,0,0,0,-1, 845 NM_001144030 chr11 + 34127110 34168458 34133614 34167739 27 34127110,34133598,34135262,34137369,34139726,34139942,34144005,34145308,34145848,34149009,34152359,34152927,34153671,34154572,34155865,34156058,34156721,34158188,34158524,34160737,34160931,34161946,34162635,34163265,34163821,34164991,34167630, 34127339,34133770,34135385,34137431,34139841,34140050,34144139,34145402,34145947,34149146,34152484,34153078,34153768,34154689,34155967,34156133,34156838,34158322,34158573,34160834,34161042,34162119,34162755,34163364,34163895,34165075,34168458, 0 NAT10 cmpl cmpl -1,0,0,0,2,0,0,2,0,0,2,1,2,0,0,0,0,0,2,0,1,1,0,0,0,2,2, 74 NM_001171039 chrY + 1684025 1711974 1684092 1711907 7 1684025,1692031,1693161,1696595,1698713,1705330,1711695, 1684161,1692206,1693291,1696664,1698832,1705453,1711974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1, 598 NM_001171038 chrX + 1733940 1761974 1734092 1761907 9 1733940,1742031,1743161,1746595,1748713,1751596,1752042,1755330,1761695, 1734161,1742206,1743291,1746664,1748832,1751680,1752183,1755453,1761974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1,1,1, 74 NM_001171038 chrY + 1683940 1711974 1684092 1711907 9 1683940,1692031,1693161,1696595,1698713,1701596,1702042,1705330,1711695, 1684161,1692206,1693291,1696664,1698832,1701680,1702183,1705453,1711974, 0 ASMT cmpl cmpl 0,0,1,2,2,1,1,1,1, 998 NR_030200 chr19 + 54214255 54214342 54214342 54214342 1 54214255, 54214342, 0 MIR524 unk unk -1, 937 NM_006936 chr21 - 46225531 46238044 46226865 46237883 4 46225531,46228961,46233890,46237862, 46226955,46229033,46234019,46238044, 0 SUMO3 cmpl cmpl 0,0,0,0, 876 NM_007032 chr22 + 38142240 38172563 38142244 38168769 14 38142240,38147778,38150883,38151107,38151556,38153619,38155160,38161676,38164080,38165034,38165268,38167656,38168607,38169789, 38142427,38147835,38150991,38151197,38151666,38154145,38155271,38161824,38164183,38165194,38165382,38167743,38168771,38172563, 0 TRIOBP cmpl cmpl 0,0,0,0,0,2,0,0,1,2,0,0,0,-1, 1189 NM_004390 chr15 - 79214091 79237420 79214471 79237323 12 79214091,79215334,79217675,79220054,79221753,79223792,79224713,79227319,79228021,79229659,79231481,79237232, 79214547,79215460,79217782,79220123,79221835,79223848,79224800,79227424,79228092,79229765,79231513,79237420, 0 CTSH cmpl cmpl 2,2,0,0,2,0,0,0,1,0,1,0, 1130 NR_038420 chr1 + 71512188 71532865 71532865 71532865 3 71512188,71514496,71532448, 71513272,71514671,71532865, 0 ZRANB2-AS1 unk unk -1,-1,-1, 1501 NM_001080138 chrX - 120077415 120080733 120078724 120080478 3 120077415,120078693,120079736, 120077555,120078849,120080733, 0 CT47A9 cmpl cmpl -1,1,0, 1501 NM_001080138 chrX - 120082276 120085594 120083585 120085339 3 120082276,120083554,120084597, 120082416,120083710,120085594, 0 CT47A9 cmpl cmpl -1,1,0, 1521 NM_018190 chr4 - 122748881 122791652 122749295 122791468 18 122748881,122749556,122749773,122754385,122756298,122760785,122765081,122766658,122768558,122769998,122774110,122775858,122776643,122780146,122782658,122784371,122789135,122791432, 122749424,122749660,122749883,122754550,122756438,122760851,122765156,122766851,122768661,122770083,122774241,122775975,122776716,122780333,122782834,122784434,122789201,122791652, 0 BBS7 cmpl cmpl 0,1,2,2,0,0,0,2,1,0,1,1,0,2,0,0,0,0, 200 NM_001161347 chr12 - 133416937 133464204 133418139 133463914 16 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,2,1,0,-1, 200 NM_001161346 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133446204,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133446384,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 1107 NM_015463 chr2 - 68520141 68547183 68520993 68546532 3 68520141,68544288,68546353, 68521158,68544439,68547183, 0 CNRIP1 cmpl cmpl 0,2,0, 111 NM_015460 chr3 + 39851150 40301811 39942307 40299657 17 39851150,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,0,2,2,1,1,0,0,0,1,0,0,0,0,0,1,0, 813 NM_001011878 chr20 - 29992647 29994069 29992715 29993955 2 29992647,29993897, 29992888,29994069, 0 DEFB121 cmpl cmpl 1,0, 588 NM_001286440 chr16 + 447741 450754 449108 450342 5 447741,448989,449378,449626,450218, 448179,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,0,0,0,2, 588 NM_001286438 chr16 + 447191 450754 449108 450342 6 447191,448207,448989,449378,449626,450218, 447313,448385,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,-1,0,0,0,2, 157 NM_001197259 chr6 + 88299784 88377172 88317392 88376841 19 88299784,88304070,88313101,88315634,88317390,88318813,88321806,88326031,88331071,88331667,88344562,88346124,88362833,88366623,88367638,88372720,88374460,88375471,88376735, 88299910,88304125,88313246,88315739,88317542,88318947,88321966,88326145,88331205,88331731,88344679,88346204,88362967,88366700,88367736,88372862,88374577,88375551,88377172, 0 ORC3 cmpl cmpl -1,-1,-1,-1,0,0,2,0,0,2,0,0,2,1,0,2,0,0,2, 659 NM_006826 chr2 - 9724095 9771184 9725414 9770581 6 9724095,9727542,9728293,9731520,9770287,9771069, 9725474,9727638,9728457,9731644,9770663,9771184, 0 YWHAQ cmpl cmpl 0,0,1,0,0,-1, 114 NM_173050 chr22 - 43599228 43739394 43600002 43739267 22 43599228,43603539,43604077,43606048,43606927,43608430,43610095,43614260,43616455,43617178,43618643,43619102,43623379,43625077,43627758,43634843,43654224,43658725,43687051,43715942,43735109,43739179, 43600155,43603619,43604230,43606246,43607089,43608598,43610257,43614464,43616593,43617295,43618748,43619222,43623502,43625194,43627881,43634960,43654341,43658851,43687186,43716071,43735241,43739394, 0 SCUBE1 cmpl cmpl 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 928 NM_173073 chr20 - 44978166 44993097 44979032 44987145 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983817,44984513,44985276,44986412,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1, 842 NM_001099406 chr18 - 33690962 33709357 33691009 33704627 8 33690962,33692463,33694059,33696636,33702014,33703457,33704482,33709076, 33691212,33692544,33694437,33696742,33702233,33703627,33704663,33709357, 0 SLC39A6 cmpl cmpl 1,1,1,0,0,1,0,-1, 960 NM_001472 chrX + 49197595 49214430 49198718 49214326 5 49197595,49198710,49199264,49211737,49214303, 49197670,49198799,49199385,49211863,49214430, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 245 NM_001195035 chr1 + 181002560 181031074 181003143 181024401 5 181002560,181003022,181018187,181019146,181024360, 181002600,181003210,181018448,181019422,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1, 644 NM_001644 chr12 - 7801995 7818502 7802142 7818468 5 7801995,7803618,7805033,7807200,7818452, 7802292,7803737,7805431,7807228,7818502, 0 APOBEC1 cmpl cmpl 0,1,2,1,0, 2042 NM_001127389 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L5 cmpl cmpl 0, 2137 NM_014359 chr1 + 203463270 203478077 203465133 203472848 8 203463270,203465092,203466104,203467808,203468776,203472041,203472677,203477773, 203463345,203465364,203466243,203467967,203468979,203472137,203472873,203478077, 0 OPTC cmpl cmpl -1,0,0,1,1,0,0,-1, 1003 NM_014599 chrX + 54834770 54842448 54835764 54842115 13 54834770,54835735,54836154,54837253,54837682,54838006,54838589,54839377,54839550,54839920,54841093,54841680,54842313, 54834866,54835809,54836646,54837562,54837746,54838086,54838684,54839457,54839593,54839983,54841208,54842123,54842448, 0 MAGED2 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 1077 NM_004579 chr11 - 64556608 64570713 64557008 64570621 32 64556608,64557201,64557360,64557659,64557865,64559380,64559643,64559835,64563744,64563964,64564105,64564280,64564453,64564575,64564746,64564972,64565097,64566265,64566892,64567076,64567580,64567782,64568235,64568371,64568582,64569050,64569181,64569537,64569890,64570034,64570356,64570525, 64557096,64557257,64557431,64557746,64557934,64559558,64559747,64559894,64563862,64564025,64564185,64564365,64564495,64564664,64564852,64565006,64565136,64566309,64566951,64567155,64567688,64567864,64568298,64568503,64568655,64569093,64569229,64569593,64569955,64570125,64570414,64570713, 0 MAP4K2 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 1653 NM_001185090 chr9 + 140033608 140063214 140033938 140062294 21 140033608,140036464,140040177,140042603,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140059637,140062225, 140034196,140036599,140040354,140042666,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140059748,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0,0, 1414 NM_001142345 chr12 - 108681820 108714439 108685617 108687368 3 108681820,108687365,108714321, 108686736,108687441,108714439, 0 CMKLR1 cmpl cmpl 0,0,-1, 885 NM_145699 chr22 + 39353526 39359188 39353696 39358514 5 39353526,39355546,39357391,39358102,39358499, 39353725,39355691,39357686,39358218,39359188, 0 APOBEC3A cmpl cmpl 0,2,0,1,0, 118 NM_002843 chr11 + 48002109 48192394 48002464 48188914 25 48002109,48131609,48134298,48142554,48145164,48146519,48149331,48152010,48157590,48158554,48161037,48164470,48166226,48166551,48168427,48170998,48171541,48171647,48175347,48177352,48177536,48181481,48185009,48185931,48188755, 48002560,48131628,48134535,48142818,48145422,48146738,48149595,48152268,48157848,48158833,48161328,48164602,48166437,48166676,48168515,48171040,48171550,48171735,48175438,48177426,48177671,48181601,48185170,48186067,48192394, 0 PTPRJ cmpl cmpl 0,0,1,1,1,1,1,1,1,1,1,1,1,2,1,2,2,2,0,1,0,0,0,2,0, 1441 NM_017945 chr3 + 112280856 112303284 112282250 112301583 7 112280856,112282231,112288017,112289386,112292735,112299392,112301517, 112281120,112282380,112288116,112289517,112292803,112300173,112303284, 0 SLC35A5 cmpl cmpl -1,0,1,1,0,2,0, 80 NM_001561 chr1 - 7975930 8003225 7980894 8000054 9 7975930,7993221,7995072,7997749,7998252,7998780,7999954,8000843,8003198, 7980983,7993356,7995203,7997816,7998390,7998888,8000138,8000993,8003225, 0 TNFRSF9 cmpl cmpl 1,1,2,1,1,1,0,-1,-1, 118 NM_002375 chr3 - 47892179 48130769 47894521 48040350 19 47892179,47894652,47896737,47898920,47908735,47910703,47912302,47912716,47913406,47917174,47918906,47956306,47957440,47960208,47963254,47969717,48019354,48040127,48130262, 47894529,47894842,47896850,47899002,47908828,47910817,47912595,47912776,47913590,47917390,47919013,47956429,47958664,47960331,47963368,47969840,48019423,48040369,48130769, 0 MAP4 cmpl cmpl 1,0,1,0,0,0,1,1,0,0,1,1,1,1,1,1,1,0,-1, 22 NM_032518 chr4 - 109745038 110223799 109745245 110223175 34 109745038,109746351,109748290,109753535,109762850,109765674,109766344,109767294,109769914,109773391,109774057,109780811,109782082,109783656,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109858963,109861694,109862521,109895522,109895688,109931513,109971282,110221738,110222878,110223324, 109745383,109746378,109748344,109753589,109762877,109765725,109766407,109767375,109769959,109773436,109774081,109780889,109782127,109783701,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109858999,109861802,109862593,109895549,109895715,109931531,109971335,110221808,110223231,110223799, 0 COL25A1 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,-1, 1582 NR_026740 chr2 - 130680434 130691890 130691890 130691890 3 130680434,130681130,130691751, 130680572,130681254,130691890, 0 LOC389033 unk unk -1,-1,-1, 198 NM_001122671 chr9 - 131595391 131644354 131595862 131607684 13 131595391,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131644181, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131600646,131605080,131607690,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,0,2,0,-1, 732 NM_001145784 chr19 - 19287712 19303400 19291536 19302926 6 19287712,19291494,19293381,19296842,19297701,19302889, 19288269,19291570,19293492,19296907,19297814,19303400, 0 MEF2BNB cmpl cmpl -1,2,2,0,1,0, 1142 NM_032317 chr7 - 73095247 73097781 73097072 73097753 1 73095247, 73097781, 0 DNAJC30 cmpl cmpl 0, 1367 NM_033211 chr5 + 102594441 102614361 102611620 102612241 3 102594441,102601608,102611597, 102594597,102601698,102614361, 0 C5orf30 cmpl cmpl -1,-1,0, 784 NR_024498 chr1 - 26146444 26150097 26150097 26150097 1 26146444, 26150097, 0 LOC646471 unk unk -1, 116 NM_006310 chr17 + 45608443 45700642 45608666 45699286 23 45608443,45623274,45646782,45656755,45660107,45662865,45663513,45663730,45664595,45668082,45669321,45669850,45673718,45677041,45678973,45681280,45682698,45689825,45691034,45695715,45696374,45697102,45699133, 45608921,45623359,45646860,45656877,45660215,45663066,45663610,45663764,45664710,45668247,45669426,45669911,45673828,45677105,45679113,45681415,45682918,45689968,45691091,45695823,45696530,45697150,45700642, 0 NPEPPS cmpl cmpl 0,0,1,1,0,0,0,1,2,0,0,0,1,0,1,0,0,1,0,0,0,0,0, 845 NM_024662 chr11 + 34127110 34168458 34129772 34167739 29 34127110,34129757,34130288,34133598,34135262,34137369,34139726,34139942,34144005,34145308,34145848,34149009,34152359,34152927,34153671,34154572,34155865,34156058,34156721,34158188,34158524,34160737,34160931,34161946,34162635,34163265,34163821,34164991,34167630, 34127339,34129880,34130380,34133770,34135385,34137431,34139841,34140050,34144139,34145402,34145947,34149146,34152484,34153078,34153768,34154689,34155967,34156133,34156838,34158322,34158573,34160834,34161042,34162119,34162755,34163364,34163895,34165075,34168458, 0 NAT10 cmpl cmpl -1,0,0,2,0,0,2,0,0,2,0,0,2,1,2,0,0,0,0,0,2,0,1,1,0,0,0,2,2, 205 NM_032289 chr5 + 139175405 139224048 139189025 139222059 15 139175405,139188975,139192893,139193754,139197065,139201477,139202310,139213286,139215307,139216395,139216752,139217209,139218212,139219611,139221855, 139175560,139189396,139193343,139193949,139197146,139201590,139202369,139213376,139215351,139216586,139216823,139217367,139218357,139219755,139224048, 0 PSD2 cmpl cmpl -1,0,2,2,2,2,1,0,0,2,1,0,2,0,0, 1017 NM_016584 chr12 + 56732662 56734194 56732828 56733888 4 56732662,56733209,56733474,56733726, 56732990,56733308,56733621,56734194, 0 IL23A cmpl cmpl 0,0,0,0, 646 NR_037618 chr6 - 8013799 8102828 8102828 8102828 7 8013799,8026599,8041371,8062766,8090418,8097499,8102667, 8016061,8026658,8041501,8062849,8090514,8097700,8102828, 0 EEF1E1-BLOC1S5 unk unk -1,-1,-1,-1,-1,-1,-1, 0 NM_207363 chr2 - 133429371 134326031 133430861 134275097 20 133429371,133483199,133486388,133489309,133531388,133538624,133539512,133547595,133554200,133618064,133626508,133636420,133721292,133751724,133887549,133971287,134060608,134275028,134316620,134325786, 133430878,133483332,133486525,133489624,133531467,133538802,133543291,133547778,133554302,133618184,133626547,133636489,133721442,133751812,133887683,133971351,134060682,134275158,134316688,134326031, 0 NCKAP5 cmpl cmpl 1,0,1,1,0,2,0,0,0,0,0,0,0,2,0,2,0,0,-1,-1, 1878 NM_001277127 chr3 - 169557028 169587723 169558114 169587595 9 169557028,169565907,169569406,169572600,169574123,169574492,169578348,169579457,169587420, 169558119,169566075,169569574,169572768,169574291,169574660,169578516,169579601,169587723, 0 LRRC31 cmpl cmpl 1,1,1,1,1,1,1,1,0, 1471 NM_001753 chr7 + 116164838 116201239 116165116 116199341 3 116164838,116166578,116198999, 116165146,116166743,116201239, 0 CAV1 cmpl cmpl 0,0,0, 156 NM_001134406 chr7 + 87257728 87461613 87258139 87459345 10 87257728,87280137,87329736,87339885,87369106,87370814,87399896,87407113,87445455,87459199, 87258261,87280253,87329870,87339971,87369196,87370895,87400065,87407271,87445577,87461613, 0 RUNDC3B cmpl cmpl 0,2,1,0,2,2,2,0,2,1, 937 NR_038267 chr19 + 46242887 46262748 46262748 46262748 9 46242887,46248449,46253932,46256908,46257736,46259227,46260434,46262135,46262671, 46242988,46248579,46254044,46257046,46257982,46259336,46260535,46262291,46262748, 0 LOC388553 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 952 NM_015711 chr19 + 48111452 48206534 48176831 48205672 15 48111452,48173699,48176826,48176976,48179107,48182577,48185232,48197371,48198156,48198621,48199707,48201890,48202221,48202559,48204584, 48111539,48173801,48176872,48177019,48179173,48184533,48185409,48197983,48198337,48198731,48199769,48202039,48202316,48202662,48206534, 0 GLTSCR1 cmpl cmpl -1,-1,0,2,0,0,0,0,0,1,0,2,1,0,1, 699 NM_001741 chr11 - 14990047 14993832 14990344 14992738 4 14990047,14991480,14992652,14993790, 14990543,14991621,14992747,14993832, 0 CALCA cmpl cmpl 2,2,0,-1, 896 NM_001198979 chr1 + 40859016 40888998 40859088 40887773 10 40859016,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40859176,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl 0,1,0,2,0,0,1,0,1,0, 1138 NR_003664 chr7 - 72490259 72500309 72500309 72500309 8 72490259,72492582,72492809,72494759,72496072,72497164,72498383,72500191, 72491729,72492687,72493053,72494845,72496131,72497383,72498966,72500309, 0 SPDYE8P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 812 NR_036104 chr8 - 29814787 29814864 29814864 29814864 1 29814787, 29814864, 0 MIR3148 unk unk -1, 1882 NR_036065 chr1 + 170120518 170120603 170120603 170120603 1 170120518, 170120603, 0 MIR3119-2 unk unk -1, 1057 NR_033983 chr18 - 61880317 61927290 61927290 61927290 3 61880317,61925452,61927149, 61882281,61925754,61927290, 0 RP11-909B2.1 unk unk -1,-1,-1, 1099 NM_001161575 chr16 + 67381257 67419109 67381369 67418992 11 67381257,67384104,67397492,67399206,67400919,67404846,67409149,67410629,67412491,67416035,67418772, 67381494,67384193,67397617,67399258,67401360,67405145,67409315,67410775,67412615,67416150,67419109, 0 LRRC36 cmpl cmpl 0,2,1,0,1,1,0,1,0,1,2, 1548 NM_152533 chr3 - 126268518 126277758 126268710 126272233 4 126268518,126270839,126272144,126277469, 126268921,126270965,126272273,126277758, 0 C3orf22 cmpl cmpl 2,2,0,-1, 1458 NM_001143945 chr13 - 114523521 114539017 114523836 114537538 9 114523521,114524930,114526347,114529968,114531519,114535271,114535606,114537523,114538485, 114523991,114525159,114526523,114530137,114531684,114535461,114535725,114537645,114539017, 0 GAS6 cmpl cmpl 1,0,1,0,0,2,0,0,-1, 79 NM_001144856 chr12 + 6420098 6437672 6421392 6437311 16 6420098,6421324,6422794,6424170,6424719,6425034,6425420,6426468,6426712,6427022,6427466,6427910,6428158,6435593,6436419,6437301, 6420260,6421530,6422950,6424335,6424815,6425085,6425570,6426579,6426862,6427160,6427586,6428043,6428274,6435739,6437112,6437672, 0 PLEKHG6 cmpl cmpl -1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,2, 122 NM_001144832 chr1 - 51752929 51810785 51753828 51810715 18 51752929,51754510,51755676,51756185,51760062,51761750,51767243,51768028,51768177,51768755,51770752,51771648,51774932,51776925,51777790,51778483,51787392,51810662, 51753952,51754627,51755791,51756297,51760183,51761842,51767405,51768088,51768245,51768864,51770818,51771748,51774997,51776993,51777867,51778615,51787497,51810785, 0 TTC39A cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,0, 1728 NM_003828 chrX + 149861868 149933575 149862003 149931202 16 149861868,149867667,149887096,149895686,149896155,149898580,149898996,149899941,149901013,149905066,149905713,149912832,149919201,149924160,149931037,149932984, 149862149,149867773,149887172,149895781,149896263,149898682,149899080,149900091,149901202,149905252,149905920,149912925,149919315,149924337,149931210,149933575, 0 MTMR1 cmpl cmpl 0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,-1, 158 NR_003227 chr16 + 90038987 90063028 90063028 90063028 10 90038987,90044085,90045217,90046649,90048180,90050938,90057273,90059128,90060175,90061166, 90039173,90044210,90045286,90046744,90048331,90051007,90057411,90059236,90060301,90063028, 0 AFG3L1P unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 699 NM_001033952 chr11 - 14990047 14993832 14990344 14992738 4 14990047,14991480,14992652,14993766, 14990543,14991621,14992747,14993832, 0 CALCA cmpl cmpl 2,2,0,-1, 886 NM_001166004 chr22 + 39493228 39498610 39496283 39498563 4 39493228,39496276,39497241,39498516, 39493348,39496433,39497509,39498610, 0 APOBEC3H cmpl cmpl -1,0,0,1, 75 NM_001172659 chr4 - 2271323 2366604 2272451 2343312 13 2271323,2273037,2273401,2274899,2275788,2306015,2321896,2337431,2339133,2341179,2343204,2355659,2366212, 2272583,2273141,2273506,2275016,2275943,2307263,2321998,2337521,2339223,2341382,2343342,2355800,2366604, 0 ZFYVE28 cmpl cmpl 0,1,1,1,2,2,2,2,2,0,0,-1,-1, 75 NM_001172658 chr4 - 2330305 2420370 2330820 2420050 5 2330305,2339133,2341179,2343204,2420011, 2330869,2339223,2341382,2343342,2420370, 0 ZFYVE28 cmpl cmpl 2,2,0,0,0, 885 NM_001270411 chr22 + 39378403 39388784 39378458 39388450 8 39378403,39380079,39381816,39382302,39385461,39387411,39388038,39388435, 39378475,39380236,39382096,39382417,39385615,39387631,39388154,39388784, 0 APOBEC3B cmpl cmpl 0,2,0,1,2,0,1,0, 80 NM_031923 chr10 + 7860466 8057016 7860672 8056714 7 7860466,7866280,8005882,8019203,8051040,8055693,8056599, 7860838,7866523,8007705,8019286,8051293,8055800,8057016, 0 TAF3 cmpl cmpl 0,1,1,0,2,0,2, 1145 NM_178441 chr14 - 73436152 73453664 73437589 73448561 9 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73453599, 73437822,73440901,73441667,73442429,73444752,73444942,73445677,73448603,73453664, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,-1, 665 NM_002261 chr12 - 10564913 10573194 10565170 10573149 7 10564913,10568302,10569265,10570942,10571642,10572464,10572962, 10565215,10568393,10569366,10571097,10571687,10572563,10573194, 0 KLRC3 cmpl cmpl 0,2,0,1,1,1,0, 1615 NM_001114734 chr4 - 135117488 135122903 135121061 135122348 2 135117488,135122872, 135122400,135122903, 0 PABPC4L cmpl cmpl 0,-1, 954 NR_024225 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A11 unk unk -1, 919 NM_002638 chr20 + 43803539 43805185 43803563 43804776 3 43803539,43804501,43805010, 43803642,43804777,43805185, 0 PI3 cmpl cmpl 0,1,-1, 1555 NM_004959 chr9 - 127243514 127269699 127245036 127265674 7 127243514,127253359,127255308,127262368,127265357,127265572,127269527, 127245284,127253507,127255428,127262994,127265499,127265689,127269699, 0 NR5A1 cmpl cmpl 1,0,0,1,0,0,-1, 1952 NM_003900 chr5 + 179247841 179265077 179247936 179263593 8 179247841,179249957,179250857,179251181,179252145,179260031,179260586,179263435, 179248141,179250053,179251087,179251323,179252226,179260246,179260782,179265077, 0 SQSTM1 cmpl cmpl 0,1,1,0,1,1,0,1, 1090 NM_014504 chr7 + 66205642 66276448 66236886 66274271 9 66205642,66236869,66240213,66248661,66260497,66262360,66264309,66270126,66273872, 66205779,66237065,66240380,66248828,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl -1,0,2,1,0,1,2,1,0, 655 NM_001256853 chr4 + 9264597 9266190 9264597 9266190 1 9264597, 9266190, 0 USP17L12 cmpl cmpl 0, 655 NM_001256852 chr4 + 9212382 9213975 9212382 9213975 1 9212382, 9213975, 0 USP17L10 cmpl cmpl 0, 837 NM_080681 chr6 - 33130468 33160245 33131454 33160017 64 33130468,33132043,33132628,33133325,33133707,33133947,33134289,33134496,33134846,33135040,33135202,33135575,33136295,33136482,33136731,33137159,33137607,33137823,33138102,33138333,33138586,33138890,33139047,33139243,33139489,33139826,33140065,33140306,33140836,33141124,33141278,33141477,33141649,33141787,33141941,33142303,33143350,33143792,33144035,33144209,33144497,33144768,33144957,33145188,33145438,33145908,33146084,33146211,33146455,33146696,33146849,33147007,33147207,33147495,33148034,33148444,33148740,33148887,33152768,33154403,33156138,33156754,33157096,33159935, 33131595,33132250,33132741,33133593,33133761,33133983,33134343,33134604,33134900,33135094,33135310,33135629,33136349,33136536,33136785,33137267,33137661,33137877,33138156,33138387,33138694,33138944,33139101,33139351,33139597,33139880,33140155,33140414,33140890,33141178,33141332,33141522,33141703,33141832,33141995,33142357,33143458,33143846,33144080,33144263,33144542,33144822,33145002,33145242,33145483,33145962,33146129,33146265,33146509,33146750,33146903,33147061,33147264,33147582,33148109,33148507,33148782,33148947,33152831,33154595,33156301,33156965,33157246,33160245, 0 COL11A2 cmpl cmpl 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,0, 135 NM_002076 chr12 - 65107221 65153226 65110520 65153056 14 65107221,65113801,65115374,65116785,65122735,65130783,65133160,65134385,65136920,65138588,65139438,65141491,65146477,65152864, 65110599,65113962,65115485,65116893,65122837,65130887,65133279,65134468,65137088,65138687,65139504,65141698,65146537,65153226, 0 GNS cmpl cmpl 2,0,0,0,0,1,2,0,0,0,0,0,0,0, 637 NM_001974 chr19 + 6887559 6940464 6887619 6940040 21 6887559,6890491,6896408,6897159,6897438,6901885,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897315,6897558,6902032,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 131 NM_001172702 chr14 + 61447831 61550451 61447995 61550430 17 61447831,61449225,61451447,61482621,61486258,61497162,61503776,61504342,61509864,61510167,61512063,61512784,61517229,61518504,61518758,61545527,61550272, 61448100,61449356,61451521,61482674,61486298,61497241,61503859,61504401,61509930,61510221,61512143,61512885,61517354,61518649,61518853,61545645,61550451, 0 SLC38A6 cmpl cmpl 0,0,2,1,0,1,2,1,0,0,0,2,1,0,1,0,1, 10 NM_020148 chr18 - 12446510 12657912 12449636 12657865 16 12446510,12452253,12452483,12453066,12454344,12463349,12464866,12479697,12493070,12496014,12506475,12512452,12535474,12546672,12635060,12657528, 12449895,12452390,12452511,12453137,12454482,12463492,12464957,12479870,12493200,12496101,12506640,12512530,12535600,12546903,12635095,12657912, 0 SPIRE1 cmpl cmpl 2,0,2,0,0,1,0,1,0,0,0,0,0,0,1,0, 814 NM_007028 chr6 - 30070673 30080867 30071312 30080582 9 30070673,30071878,30072944,30075829,30076802,30078224,30079424,30080165,30080840, 30071566,30071944,30073019,30075945,30076825,30078455,30079520,30080665,30080867, 0 TRIM31 cmpl cmpl 1,1,1,2,0,0,0,0,-1, 2169 NR_036078 chr2 + 207647957 207648032 207648032 207648032 1 207647957, 207648032, 0 MIR3130-2 unk unk -1, 2169 NR_036077 chr2 - 207647957 207648032 207648032 207648032 1 207647957, 207648032, 0 MIR3130-1 unk unk -1, 2034 NR_036076 chr2 - 189997761 189997837 189997837 189997837 1 189997761, 189997837, 0 MIR3129 unk unk -1, 1943 NR_036075 chr2 - 178120672 178120738 178120738 178120738 1 178120672, 178120738, 0 MIR3128 unk unk -1, 1328 NR_036074 chr2 + 97464014 97464090 97464090 97464090 1 97464014, 97464090, 0 MIR3127 unk unk -1, 1113 NR_036073 chr2 + 69330813 69330887 69330887 69330887 1 69330813, 69330887, 0 MIR3126 unk unk -1, 683 NR_036072 chr2 + 12877492 12877570 12877570 12877570 1 12877492, 12877570, 0 MIR3125 unk unk -1, 2485 NR_036070 chr1 + 249120575 249120642 249120642 249120642 1 249120575, 249120642, 0 MIR3124 unk unk -1, 2425 NR_036069 chr1 + 241295571 241295646 241295646 241295646 1 241295571, 241295646, 0 MIR3123 unk unk -1, 2204 NR_036068 chr1 + 212250954 212251027 212251027 212251027 1 212250954, 212251027, 0 MIR3122 unk unk -1, 1961 NR_036067 chr1 - 180407448 180407525 180407525 180407525 1 180407448, 180407525, 0 MIR3121 unk unk -1, 1898 NR_036066 chr1 + 172107947 172108028 172108028 172108028 1 172107947, 172108028, 0 MIR3120 unk unk -1, 1882 NR_036064 chr1 - 170120518 170120603 170120603 170120603 1 170120518, 170120603, 0 MIR3119-1 unk unk -1, 972 NM_001042355 chr16 + 50775960 50835846 50783609 50830419 18 50775960,50776672,50783486,50785514,50788229,50810089,50811735,50813575,50815156,50816235,50818239,50820765,50821696,50825468,50826507,50827456,50828122,50830234, 50776035,50776752,50784113,50785817,50788335,50810188,50811852,50813955,50815322,50816377,50818362,50820857,50821763,50825601,50826616,50827575,50828339,50835846, 0 CYLD cmpl cmpl -1,-1,0,0,0,1,1,1,0,1,2,2,1,2,0,1,0,1, 597 NM_005088 chrY + 1660485 1671411 1662355 1670487 5 1660485,1662336,1664276,1668084,1669551, 1660662,1663117,1664425,1668325,1671411, 0 AKAP17A cmpl cmpl -1,0,0,2,0, 138 NR_103715 chrX + 68399399 68429767 68429767 68429767 5 68399399,68421319,68424174,68424733,68428094, 68399488,68421475,68424292,68424870,68429767, 0 LINC00269 unk unk -1,-1,-1,-1,-1, 22 NR_024373 chr2 - 112186885 112252692 112252692 112252692 2 112186885,112252461, 112187197,112252692, 0 MIR4435-1HG unk unk -1,-1, 762 NM_001282747 chr10 + 23216952 23327452 23257291 23326408 16 23216952,23220924,23244735,23247998,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297743,23319524,23321789,23326198, 23217035,23220973,23244861,23248067,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23319725,23321952,23327452, 0 ARMC3 cmpl cmpl -1,-1,-1,-1,0,1,1,2,0,2,0,2,2,2,2,0, 176 NM_001256008 chr7 - 108110865 108166762 108112844 108155935 10 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108156018,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1, 176 NM_001256007 chr7 - 108110865 108166762 108112844 108155935 11 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108161919,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108156018,108161965,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1,-1, 17 NM_173165 chr16 + 68119268 68263162 68119584 68260374 10 68119268,68155889,68160350,68191771,68200745,68208276,68215377,68217142,68224670,68260252, 68119687,68157024,68160513,68191971,68200918,68208417,68215433,68217269,68225678,68263162, 0 NFATC3 cmpl cmpl 0,1,2,0,2,1,1,0,1,1, 1167 NM_001128922 chr11 - 76368567 76381791 76370647 76376998 3 76368567,76376914,76381657, 76372552,76377002,76381791, 0 LRRC32 cmpl cmpl 0,0,-1, 726 NM_001127649 chr22 + 18560759 18573797 18561142 18570841 5 18560759,18562639,18566202,18567877,18570737, 18561372,18562780,18566498,18568024,18573797, 0 PEX26 cmpl cmpl 0,2,2,1,1, 1753 NM_001101337 chr3 + 153202283 153220486 153202345 153220271 3 153202283,153203803,153220191, 153202477,153203894,153220486, 0 C3orf79 cmpl cmpl 0,0,1, 635 NM_033296 chr4 + 6641817 6644470 6642589 6642973 2 6641817,6643456, 6642985,6644470, 0 MRFAP1 cmpl cmpl 0,-1, 200 NM_001161344 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133446204,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428323,133430159,133433216,133434145,133435813,133438220,133446420,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 197 NR_026975 chrX - 130836677 130964671 130964671 130964671 13 130836677,130843525,130845678,130883333,130889625,130890638,130902576,130917914,130928351,130929836,130938999,130959249,130964319, 130837546,130843584,130845748,130883486,130889774,130890737,130902724,130918067,130928494,130930359,130939065,130959393,130964671, 0 FIRRE unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1156 NM_001135753 chr10 - 74894281 74927853 74894340 74923695 13 74894281,74896461,74897760,74899066,74899388,74906033,74908033,74914013,74916032,74916325,74920191,74923490,74927623, 74894571,74896676,74897828,74899253,74899495,74906119,74908162,74914206,74916211,74916413,74920309,74923708,74927853, 0 ECD cmpl cmpl 0,1,2,1,2,0,0,2,0,2,1,0,-1, 862 NM_001123392 chr17 - 36337654 36348623 36338025 36347081 14 36337654,36339575,36340098,36340661,36341111,36341919,36342583,36343885,36344324,36344875,36345438,36346761,36347009,36348510, 36338594,36339728,36340198,36340727,36341206,36342040,36342632,36343995,36344432,36344956,36345478,36346847,36347082,36348623, 0 TBC1D3H cmpl cmpl 1,1,0,0,1,0,2,0,0,0,2,0,0,-1, 245 NM_001194999 chr1 + 181002560 181031074 181003143 181024401 7 181002560,181003022,181018187,181019281,181021370,181022708,181024360, 181002600,181003210,181018448,181019422,181021646,181022813,181031074, 0 MR1 cmpl cmpl -1,0,1,1,1,1,1, 3 NM_001197113 chr3 + 158787040 159615155 158787221 159614563 11 158787040,158963631,158970515,158980336,159482231,159583951,159603995,159605496,159606608,159609885,159614511, 158787230,158963696,158970596,158980472,159482927,159584070,159604113,159605694,159606732,159609979,159615155, 0 IQCJ-SCHIP1 cmpl cmpl 0,0,2,2,0,0,2,0,0,1,2, 655 NM_001256853 chr4 + 9221877 9223470 9221877 9223470 1 9221877, 9223470, 0 USP17L12 cmpl cmpl 0, 1624 NM_001278928 chr9 + 136223420 136228041 136223468 136228015 6 136223420,136223789,136224586,136226825,136227140,136227934, 136223546,136223944,136224690,136227005,136227310,136228041, 0 SURF2 cmpl cmpl 0,0,2,1,1,0, 168 NM_024885 chrX - 100523240 100548059 100524180 100548033 13 100523240,100530209,100530987,100531294,100532593,100533036,100533981,100536707,100537314,100538437,100541562,100542465,100547777, 100524225,100530269,100531100,100531516,100532707,100533109,100534023,100536763,100537441,100538571,100541641,100542533,100548059, 0 TAF7L cmpl cmpl 0,0,1,1,1,0,0,1,0,1,0,1,0, 636 NM_001925 chr8 - 6793344 6795786 6793541 6794421 3 6793344,6794249,6795747, 6793663,6794433,6795786, 0 DEFA4 cmpl cmpl 1,0,-1, 1706 NM_002024 chrX + 146993468 147032647 146993697 147030364 17 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147019617,147022094,147024650,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147019680,147022181,147024846,147026571,147027136,147032647, 0 FMR1 cmpl cmpl 0,0,2,0,0,2,0,0,0,1,0,0,0,0,1,1,0, 108 NM_001085399 chr4 - 37592421 37687999 37633009 37687909 7 37592421,37633006,37636508,37640068,37648989,37650897,37687821, 37592839,37633145,37636745,37640126,37649061,37651122,37687999, 0 RELL1 cmpl cmpl -1,2,2,1,1,1,0, 765 NM_001102397 chr1 - 23636275 23670853 23636946 23664327 10 23636275,23637693,23640045,23644975,23648020,23650048,23660010,23664246,23664982,23670703, 23637559,23637815,23640195,23645181,23648156,23650225,23660124,23664354,23665101,23670853, 0 HNRNPR cmpl cmpl 2,0,0,1,0,0,0,0,-1,-1, 780 NM_030979 chr13 + 25670275 25672704 25670336 25672232 1 25670275, 25672704, 0 PABPC3 cmpl cmpl 0, 161 NM_001104546 chr10 + 92631708 92668312 92631743 92663019 14 92631708,92634625,92635314,92635780,92638819,92645568,92654531,92655210,92655636,92656069,92660326,92661999,92662948,92665058, 92631825,92634681,92635371,92635855,92638891,92645658,92654648,92655240,92655674,92656149,92660425,92662101,92663033,92668312, 0 RPP30 cmpl cmpl 0,1,0,0,0,0,0,0,0,2,1,1,1,-1, 100 NM_001941 chr18 - 28570051 28622781 28574140 28622626 16 28570051,28576756,28581583,28584107,28586872,28587981,28588234,28598036,28598631,28602301,28604314,28605725,28609474,28610938,28612157,28622557, 28574338,28577014,28581705,28584332,28587097,28588124,28588491,28598222,28598766,28602468,28604459,28605881,28609594,28611138,28612242,28622781, 0 DSC3 cmpl cmpl 0,0,1,1,1,2,0,0,0,1,0,0,0,1,0,0, 921 NM_001145641 chr19 + 44116252 44118650 44116273 44118421 1 44116252, 44118650, 0 SRRM5 cmpl cmpl 0, 979 NM_001129884 chr3 + 51705190 51738339 51708320 51738032 6 51705190,51706356,51708286,51718428,51733421,51737739, 51705304,51706408,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,-1,0,0,0,1, 1094 NM_001177880 chr11 + 66790189 66818334 66797615 66816228 8 66790189,66797592,66802115,66807281,66811108,66812063,66813214,66816054, 66790396,66797649,66802309,66807674,66811324,66812184,66813348,66818334, 0 SYT12 cmpl cmpl -1,0,1,0,0,0,1,0, 840 NM_152462 chr17 - 33519538 33521412 33520309 33521326 1 33519538, 33521412, 0 SLC35G3 cmpl cmpl 0, 775 NM_005265 chr22 + 24999123 25024972 25007048 25024806 16 24999123,25003920,25005931,25006216,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999288,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 934 NM_001145266 chr11 + 45825622 45834567 45827391 45832886 3 45825622,45827360,45832326, 45825971,45827887,45834567, 0 SLC35C1 cmpl cmpl -1,0,1, 934 NM_001145265 chr11 + 45825622 45834567 45827391 45832886 3 45825622,45827360,45832326, 45826068,45827887,45834567, 0 SLC35C1 cmpl cmpl -1,0,1, 655 NM_001256859 chr4 + 9250355 9251948 9250355 9251948 1 9250355, 9251948, 0 USP17L18 cmpl cmpl 0, 595 NM_172247 chrX + 1401570 1428828 1401596 1424394 10 1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1424338,1428294, 1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1424420,1428828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,-1, 595 NM_172247 chrY + 1351570 1378828 1351596 1374394 10 1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1374338,1378294, 1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1374420,1378828, 0 CSF2RA cmpl cmpl 0,1,0,1,2,1,0,0,1,-1, 595 NM_172246 chrX + 1387692 1428828 1401596 1428482 11 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1, 595 NM_172246 chrY + 1337692 1378828 1351596 1378482 11 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1369383,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1369519,1378828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1, 595 NM_172245 chrX + 1387692 1428828 1401596 1428372 13 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1393711,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 641 NM_152250 chr8 + 7345242 7347073 7345242 7347073 3 7345242,7345657,7346948, 7345312,7345699,7347073, 0 DEFB105A cmpl cmpl 0,1,1, 643 NM_152250 chr8 - 7679529 7681360 7679529 7681360 3 7679529,7680903,7681290, 7679654,7680945,7681360, 0 DEFB105A cmpl cmpl 1,1,0, 1358 NM_133496 chr1 + 101361633 101447311 101361818 101440413 11 101361633,101362125,101372407,101376618,101377667,101379218,101383632,101387261,101427383,101431324,101440365, 101361898,101362227,101372521,101376706,101377794,101379362,101383683,101387397,101427474,101431474,101447311, 0 SLC30A7 cmpl cmpl 0,2,2,2,0,1,1,1,2,0,0, 1652 NM_183241 chr9 + 139886869 139888428 139886895 139888257 7 139886869,139887091,139887376,139887504,139887794,139888031,139888217, 139887014,139887152,139887426,139887695,139887863,139888116,139888428, 0 C9orf142 cmpl cmpl 0,2,0,2,1,1,2, 1735 NR_046401 chr7 + 150745378 150749843 150749843 150749843 10 150745378,150747192,150747567,150747844,150748125,150748896,150749069,150749252,150749502,150749660, 150746506,150747343,150747695,150748040,150748182,150748988,150749149,150749324,150749561,150749843, 0 ASIC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 96 NM_006727 chr5 - 24487208 24645085 24487771 24593599 12 24487208,24491684,24492925,24498506,24505220,24509674,24511435,24535220,24535811,24537488,24593368,24644702, 24488262,24491936,24493034,24498628,24505357,24509928,24511623,24535388,24535931,24537783,24593722,24645085, 0 CDH10 cmpl cmpl 1,1,0,1,2,0,1,1,1,0,0,-1, 979 NM_003927 chr18 - 51677970 51751158 51686146 51750929 7 51677970,51686134,51690892,51692445,51715243,51731367,51750387, 51681681,51686273,51691070,51692536,51715381,51731527,51751158, 0 MBD2 cmpl cmpl -1,2,1,0,0,2,0, 1114 NM_013245 chr16 + 69345286 69358946 69345414 69358212 11 69345286,69349910,69350127,69352552,69352725,69353289,69354043,69354590,69354953,69356462,69358110, 69345435,69350022,69350275,69352614,69352845,69353446,69354192,69354672,69355173,69356603,69358946, 0 VPS4A cmpl cmpl 0,0,1,2,1,1,2,1,2,0,0, 147 NM_001142545 chr14 + 78266425 78400297 78285321 78399734 10 78266425,78285310,78288777,78353433,78365442,78374145,78390799,78392106,78397860,78399562, 78266513,78285456,78288861,78353592,78365601,78374262,78390949,78392304,78398054,78400297, 0 ADCK1 cmpl cmpl -1,0,0,0,0,0,0,0,0,2, 1193 NM_001284236 chr5 + 79703831 79775688 79729966 79773196 19 79703831,79723310,79729927,79732574,79735754,79738941,79741081,79743844,79745409,79746249,79747303,79751510,79752279,79752763,79755232,79768579,79769572,79770481,79773037, 79703972,79723364,79730036,79734826,79735851,79739103,79741224,79744223,79745532,79746405,79747528,79751593,79752384,79752911,79755313,79768742,79769678,79770649,79775688, 0 ZFYVE16 cmpl cmpl -1,-1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 1743 NM_001282502 chrX + 151883074 151887096 151885595 151886540 4 151883074,151884445,151885384,151885530, 151883171,151884565,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,0, 1744 NM_001282502 chrX - 151918386 151922408 151918942 151919887 4 151918386,151920032,151920917,151922311, 151919952,151920098,151921037,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1, 1743 NM_001282501 chrX + 151883074 151887096 151885595 151886540 5 151883074,151884445,151885136,151885384,151885530, 151883171,151884565,151885234,151885450,151887096, 0 MAGEA2 cmpl cmpl -1,-1,-1,-1,0, 1744 NM_001282501 chrX - 151918386 151922408 151918942 151919887 5 151918386,151920032,151920248,151920917,151922311, 151919952,151920098,151920346,151921037,151922408, 0 MAGEA2 cmpl cmpl 0,-1,-1,-1,-1, 928 NM_032135 chr14 - 44973353 44976499 44973712 44976190 1 44973353, 44976499, 0 FSCB cmpl cmpl 0, 1256 NM_033048 chrX + 88002225 88009785 88008415 88009321 3 88002225,88004318,88008407, 88002370,88004424,88009785, 0 CPXCR1 cmpl cmpl -1,-1,0, 849 NM_015578 chr19 + 34663351 34720420 34663547 34718293 10 34663351,34685382,34687538,34699833,34706028,34706500,34710295,34710610,34712411,34718269, 34663668,34685546,34687668,34699956,34706205,34706566,34710478,34710782,34712643,34720420, 0 LSM14A cmpl cmpl 0,1,0,1,1,1,1,1,2,0, 936 NM_198692 chr21 + 46066330 46067566 46066375 46067272 1 46066330, 46067566, 0 KRTAP10-11 cmpl cmpl 0, 146 NM_015336 chr12 + 77157853 77247474 77158016 77244765 17 77157853,77191213,77199096,77202822,77203492,77208925,77209636,77216185,77220687,77222169,77235761,77236698,77239488,77240375,77242012,77243155,77244626, 77158109,77191317,77199219,77202900,77203637,77208990,77209799,77216311,77220830,77222270,77235886,77236761,77239582,77240459,77242170,77243250,77247474, 0 ZDHHC17 cmpl cmpl 0,0,2,2,2,0,2,0,0,2,1,0,0,1,1,0,2, 598 NM_015133 chr16 + 1756220 1820318 1756340 1818825 32 1756220,1774557,1779138,1779487,1793335,1797029,1798244,1798602,1808148,1808978,1809958,1810380,1811224,1812351,1812675,1812836,1813657,1814115,1814301,1815013,1815960,1816220,1816529,1816723,1816904,1817149,1817564,1817805,1818069,1818199,1818477,1818703, 1756658,1774678,1779209,1779579,1793477,1797276,1798347,1798721,1808160,1808996,1810016,1810533,1811306,1812482,1812732,1813007,1813784,1814211,1814460,1815179,1816143,1816410,1816649,1816804,1816972,1817298,1817736,1817919,1818108,1818379,1818627,1820318, 0 MAPK8IP3 cmpl cmpl 0,0,1,0,2,0,1,2,1,1,1,2,2,0,2,2,2,0,0,0,1,1,2,2,2,1,0,1,1,1,1,1, 1626 NM_001097600 chr3 + 136537860 136574734 136573302 136574541 2 136537860,136573284, 136538056,136574734, 0 SLC35G2 cmpl cmpl -1,0, 140 NM_001185054 chr2 - 70889215 70994847 70890556 70933540 16 70889215,70900009,70901809,70903927,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70994735, 70890867,70900138,70901957,70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70994847, 0 ADD2 cmpl cmpl 1,1,0,0,0,0,0,0,0,0,0,1,0,0,-1,-1, 857 NR_024194 chr22 + 35695796 35743987 35743987 35743987 15 35695796,35713869,35717951,35718991,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35718030,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 960 NM_001472 chrX + 49207148 49223953 49208271 49223849 5 49207148,49208263,49208816,49221260,49223826, 49207223,49208352,49208937,49221386,49223953, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 14 NM_001472 chrX + 49216647 49294598 49236830 49294494 5 49216647,49236822,49237376,49240333,49294471, 49216722,49236911,49237497,49240459,49294598, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 960 NM_001472 chrX + 49226170 49233491 49227293 49233387 5 49226170,49227285,49227839,49230798,49233364, 49226245,49227374,49227960,49230924,49233491, 0 GAGE2C cmpl cmpl -1,0,0,1,1, 987 NM_001278702 chrX - 52725945 52736276 52727037 52734799 9 52725945,52727033,52727903,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736276, 0 SSX2B cmpl cmpl -1,1,1,0,1,1,0,0,-1, 1155 NM_145074 chr2 + 74756531 74760683 74757133 74760112 6 74756531,74757743,74758465,74758723,74758982,74759946, 74757639,74757948,74758498,74758829,74759052,74760683, 0 HTRA2 cmpl cmpl 0,2,0,0,1,2, 647 NM_015509 chr12 + 8234806 8250373 8234884 8248686 8 8234806,8242531,8242790,8244364,8245271,8245467,8248196,8248637, 8234979,8242632,8242895,8244446,8245380,8245651,8248299,8250373, 0 NECAP1 cmpl cmpl 0,2,1,1,2,0,1,2, 261 NM_012086 chr2 - 197627755 197664492 197629286 197664335 18 197627755,197631288,197634638,197636471,197637639,197639839,197640733,197641150,197643619,197645282,197649580,197650164,197653927,197654602,197656060,197657679,197662520,197664233, 197629409,197631441,197634763,197636662,197637877,197639975,197640835,197641353,197643791,197645386,197649653,197650312,197654093,197654794,197656184,197657876,197662632,197664492, 0 GTF3C3 cmpl cmpl 0,0,1,2,1,0,0,1,0,1,0,2,1,1,0,1,0,0, 235 NM_022897 chr5 + 170288895 170727019 170289037 170725862 28 170288895,170305100,170308809,170319390,170323053,170336664,170337972,170341170,170343468,170345716,170346444,170351360,170380600,170395245,170597133,170598209,170610170,170610325,170626673,170632527,170640634,170648761,170667931,170669685,170692684,170720886,170722890,170725765, 170289055,170305247,170308900,170319557,170323119,170336769,170338138,170341244,170343588,170345863,170346617,170351554,170380706,170395381,170597207,170598290,170610234,170610434,170626777,170632616,170640742,170648844,170668146,170669824,170692851,170720985,170723018,170727019, 0 RANBP17 cmpl cmpl 0,0,0,1,0,0,0,1,0,0,0,2,1,2,0,2,2,0,1,0,2,2,1,0,1,0,0,2, 851 NM_032346 chr19 + 34895302 34917072 34895335 34917025 7 34895302,34895553,34895834,34900065,34904641,34912423,34916894, 34895443,34895720,34895895,34900415,34904752,34912572,34917072, 0 PDCD2L cmpl cmpl 0,0,2,0,2,2,1, 775 NM_001013663 chr2 - 25013135 25016251 25013279 25016246 2 25013135,25015994, 25013450,25016251, 0 PTRHD1 cmpl cmpl 0,0, 794 NM_032844 chr10 + 27443752 27475848 27444355 27475465 12 27443752,27447477,27448547,27450022,27453992,27454317,27456030,27458872,27462049,27469881,27470408,27475307, 27444541,27447615,27448687,27450111,27454099,27454468,27456203,27460012,27462188,27469995,27470510,27475848, 0 MASTL cmpl cmpl 0,0,0,2,1,0,1,0,0,1,1,1, 1583 NR_024425 chr9 + 130890807 130892913 130892913 130892913 1 130890807, 130892913, 0 PTGES2-AS1 unk unk -1, 1097 NM_178516 chr16 - 67218281 67224107 67218296 67223579 14 67218281,67218588,67218804,67219038,67219263,67220139,67220459,67220661,67220923,67221127,67222623,67222922,67223533,67223873, 67218507,67218713,67218960,67219161,67219393,67220250,67220560,67220787,67221041,67221740,67222843,67223083,67223586,67224107, 0 EXOC3L1 cmpl cmpl 2,0,0,0,2,2,0,0,2,1,0,1,0,-1, 1261 NM_144604 chr16 + 88636788 88698372 88643531 88697707 18 88636788,88643517,88653007,88664585,88665027,88666198,88675341,88677675,88688604,88689626,88690365,88691009,88691609,88694029,88694327,88695165,88696892,88697508, 88636974,88644134,88653092,88664734,88665120,88666356,88675459,88677944,88688796,88689752,88690470,88691153,88691675,88694190,88694527,88695262,88696989,88698372, 0 ZC3H18 cmpl cmpl -1,0,0,1,0,0,2,0,2,2,2,2,2,2,1,0,1,2, 655 NM_001256862 chr4 + 9221877 9223470 9221877 9223470 1 9221877, 9223470, 0 USP17L21 cmpl cmpl 0, 655 NM_001256862 chr4 + 9264597 9266190 9264597 9266190 1 9264597, 9266190, 0 USP17L21 cmpl cmpl 0, 759 NR_003075 chr7 + 22896231 22896305 22896305 22896305 1 22896231, 22896305, 0 SNORD93 unk unk -1, 108 NM_017569 chr13 - 37583450 37633850 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633616, 37583946,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619513,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 79 NM_000064 chr19 - 6677845 6720662 6677892 6720600 41 6677845,6678162,6678382,6679135,6679417,6680168,6681951,6682152,6684398,6684570,6684785,6684998,6686134,6686756,6690639,6692934,6693422,6694441,6696389,6696603,6697354,6697662,6702137,6702481,6707086,6707476,6707810,6709694,6710649,6710997,6712267,6712518,6713199,6713417,6714002,6714176,6714362,6718104,6718257,6719221,6720526, 6678034,6678298,6678466,6679219,6679507,6680274,6682041,6682240,6684450,6684661,6684845,6685157,6686298,6686913,6690738,6693094,6693498,6694645,6696476,6696670,6697567,6697805,6702223,6702590,6707284,6707548,6707940,6709853,6710856,6711207,6712417,6712634,6713326,6713520,6714093,6714259,6714457,6718175,6718423,6719414,6720662, 0 C3 cmpl cmpl 2,1,1,1,1,0,0,2,1,0,0,0,1,0,0,2,1,1,1,0,0,1,2,1,1,1,0,0,0,0,0,1,0,2,1,2,0,1,0,2,0, 633 NM_002096 chr19 - 6379579 6393291 6380291 6393006 13 6379579,6380583,6380914,6381132,6381369,6381564,6381707,6383321,6387399,6389454,6391912,6392867,6392994, 6380496,6380701,6381053,6381206,6381489,6381626,6381861,6383506,6387570,6389648,6391985,6392914,6393291, 0 GTF2F1 cmpl cmpl 2,1,0,1,1,2,1,2,2,0,2,0,0, 118 NM_001134364 chr3 - 47892179 48130769 47894281 48040350 18 47892179,47896737,47898920,47908735,47910703,47912302,47912716,47913406,47917174,47918906,47956306,47957440,47960208,47963254,47969717,48019354,48040127,48130262, 47894428,47896850,47899002,47908828,47910817,47912595,47912776,47913590,47917390,47919013,47956429,47958664,47960331,47963368,47969840,48019423,48040369,48130769, 0 MAP4 cmpl cmpl 0,1,0,0,0,1,1,0,0,1,1,1,1,1,1,1,0,-1, 1266 NM_001178118 chr10 + 89267589 89313218 89267961 89312235 5 89267589,89268092,89272880,89280792,89311838, 89267995,89268290,89272978,89280926,89313218, 0 MINPP1 cmpl cmpl 0,1,1,0,2, 158 NM_032451 chr16 + 89894906 89937727 89894958 89936680 15 89894906,89911729,89916711,89920693,89920894,89922007,89922520,89924745,89925572,89927090,89929883,89930201,89934596,89935974,89936457, 89895202,89911773,89917068,89920774,89921059,89922094,89922644,89924915,89925762,89927203,89930018,89930269,89934624,89936090,89937727, 0 SPIRE2 cmpl cmpl 0,1,0,0,0,0,0,1,0,1,0,0,2,0,2, 898 NM_001261430 chr17 - 41120104 41132545 41121164 41132199 7 41120104,41122305,41123623,41131186,41131394,41131566,41132062, 41121203,41122359,41123713,41131285,41131461,41131680,41132545, 0 PTGES3L cmpl cmpl 0,0,0,0,2,2,0, 770 NM_001144931 chr22 + 24373116 24374043 24373137 24373873 2 24373116,24373609, 24373245,24374043, 0 LOC391322 cmpl cmpl 0,0, 1438 NM_001171747 chr3 + 111805181 111837073 111805254 111835845 4 111805181,111812206,111821684,111835488, 111805392,111812336,111821812,111837073, 0 C3orf52 cmpl cmpl 0,0,1,0, 220 NM_000565 chr1 + 154377668 154441926 154378105 154437856 10 154377668,154401671,154402958,154406994,154407465,154408444,154420600,154422386,154426963,154437609, 154378190,154401920,154403082,154407176,154407632,154408586,154420647,154422456,154427057,154441926, 0 IL6R cmpl cmpl 0,1,1,2,1,0,1,0,1,2, 169 NM_001284271 chr6 - 101163006 101329248 101163292 101315873 13 101163006,101165950,101173414,101214440,101215020,101246588,101247306,101248175,101253635,101296023,101311939,101315783,101328936, 101163409,101166127,101173579,101214581,101215221,101246714,101247448,101248380,101253756,101296583,101312090,101315914,101329248, 0 ASCC3 cmpl cmpl 0,0,0,0,0,0,2,1,0,1,0,0,-1, 156 NR_039995 chr5 + 87564698 87732491 87732491 87732491 3 87564698,87566342,87732089, 87564844,87566402,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1, 842 NM_018217 chr20 - 33703159 33735161 33703235 33735061 11 33703159,33706400,33711692,33714053,33719444,33722540,33725682,33730175,33732781,33734627,33734954, 33703736,33706522,33711837,33714178,33719586,33722752,33725808,33730281,33732821,33734738,33735161, 0 EDEM2 cmpl cmpl 0,1,0,1,0,1,1,0,2,2,0, 101 NR_026751 chr6 - 29968787 30028961 30028961 30028961 6 29968787,30002684,30003692,30025891,30028517,30028855, 29970509,30002887,30003760,30025967,30028772,30028961, 0 ZNRD1-AS1 unk unk -1,-1,-1,-1,-1,-1, 887 NM_001012754 chr13 + 39612447 39624244 39612776 39622063 7 39612447,39613272,39613700,39616241,39618226,39621176,39621810, 39612860,39613425,39613848,39616442,39618318,39621289,39624244, 0 NHLRC3 cmpl cmpl 0,0,0,1,1,0,2, 903 NM_017590 chr22 + 41697506 41756151 41716664 41753433 23 41697506,41716658,41721567,41721724,41723209,41726026,41728174,41734316,41735004,41735819,41737091,41738532,41739418,41742006,41744070,41745123,41747564,41751472,41751760,41751957,41752346,41752648,41753180, 41697776,41716717,41721601,41721922,41723368,41726107,41728231,41734359,41735195,41736141,41737150,41738632,41739580,41742212,41744171,41745305,41747650,41751606,41751866,41752066,41752480,41752812,41756151, 0 ZC3H7B cmpl cmpl -1,0,2,0,0,0,0,0,1,0,1,0,1,1,0,2,1,0,2,0,1,0,2, 883 NM_015515 chr17 - 39078947 39093895 39079240 39092855 9 39078947,39080723,39081605,39084489,39084697,39086191,39087624,39092459,39093597, 39079335,39080755,39081826,39084612,39084859,39086348,39087707,39093205,39093895, 0 KRT23 cmpl cmpl 1,2,0,0,0,2,0,0,-1, 290 NM_000092 chr2 - 227867426 228029275 227872040 228012199 48 227867426,227872733,227875028,227876896,227886763,227887220,227892615,227895158,227896660,227896863,227898125,227906863,227907792,227912190,227914783,227915692,227917020,227919309,227920660,227922154,227924120,227924851,227927245,227942609,227945158,227946830,227953368,227954583,227958840,227963409,227964335,227966219,227966580,227967504,227967859,227968687,227973296,227973548,227973939,227976393,227979343,227983360,227984610,227985729,228004876,228009231,228012128,228028722, 227872304,227873020,227875217,227877013,227886889,227887227,227892725,227895314,227896771,227896992,227898197,227906971,227907900,227912265,227914847,227915874,227917128,227919453,227920831,227922316,227924339,227924959,227927314,227942793,227945265,227946903,227953532,227954673,227959005,227963514,227964405,227966273,227966625,227967564,227967913,227968768,227973338,227973584,227974002,227976429,227979412,227983477,227984655,227985864,228004954,228009274,228012300,228029275, 0 COL4A4 cmpl cmpl 0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,-1, 780 NM_001177999 chr4 + 25658085 25680368 25664122 25678371 13 25658085,25664119,25664329,25665823,25667749,25669501,25671268,25672359,25673222,25674708,25675917,25676126,25677756, 25658186,25664234,25664464,25665952,25667893,25669613,25671464,25672455,25673343,25674876,25676034,25676251,25680368, 0 SLC34A2 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 1018 NM_013267 chr12 - 56864727 56882198 56865270 56881902 18 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56872835,56873563,56874071,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868894,56869466,56869761,56871502,56871880,56872046,56872965,56873685,56874171,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,2,0,0,1,2,0,2,0,2,0, 913 NM_001080850 chr1 + 43000559 43120335 43002155 43119699 16 43000559,43002146,43004843,43011080,43021826,43031966,43042690,43047030,43054991,43076648,43102907,43108143,43110363,43111805,43119046,43119488, 43000660,43002272,43004981,43011250,43022076,43032146,43042900,43047185,43055154,43076761,43103049,43108280,43110478,43111988,43119114,43120335, 0 CCDC30 cmpl cmpl -1,0,0,0,2,0,0,0,2,0,2,0,2,0,0,2, 980 NM_001098800 chrX - 51804922 51812368 51805325 51811268 13 51804922,51805317,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4 cmpl cmpl -1,0,2,2,1,2,0,1,0,0,0,0,-1, 944 NR_040042 chr19 + 47163620 47180713 47180713 47180713 3 47163620,47172424,47180396, 47163665,47172567,47180713, 0 DACT3-AS1 unk unk -1,-1,-1, 1379 NM_005432 chr14 - 104163953 104181823 104165134 104177424 10 104163953,104165469,104165700,104169509,104173339,104174858,104177369,104177802,104179211,104181760, 104165354,104165516,104165913,104169664,104173552,104174996,104177582,104177904,104179268,104181823, 0 XRCC3 cmpl cmpl 2,0,0,1,1,1,0,-1,-1,-1, 1079 NM_013299 chr11 + 64808375 64812300 64808764 64812199 2 64808375,64811696, 64809338,64812300, 0 SAC3D1 cmpl cmpl 0,1, 135 NM_004884 chr15 - 65619464 65670378 65621246 65670126 14 65619464,65621727,65622063,65622630,65622887,65623387,65623749,65624278,65625594,65627065,65627628,65628149,65667434,65670023, 65621486,65621935,65622202,65622735,65623079,65623552,65623997,65624444,65625753,65627203,65627759,65628294,65667740,65670378, 0 IGDCC3 cmpl cmpl 0,2,1,1,1,1,2,1,1,1,2,1,1,0, 838 NM_003680 chr1 - 33240839 33283633 33241581 33282845 13 33240839,33244982,33245685,33246648,33248004,33251962,33252540,33256762,33263363,33272082,33276191,33276511,33282788, 33241692,33245124,33245879,33246746,33248140,33252048,33252676,33256855,33263444,33272212,33276367,33276658,33283633, 0 YARS cmpl cmpl 0,2,0,1,0,1,0,0,0,2,0,0,0, 217 NM_015440 chr6 + 151186814 151423023 151186958 151413692 28 151186814,151197225,151198769,151198908,151203897,151206769,151208980,151226785,151239712,151243340,151247257,151257939,151259834,151265621,151266602,151270166,151277130,151281410,151286104,151293082,151330954,151334914,151336015,151336651,151355628,151358100,151413602,151422661, 151187185,151197310,151198820,151198962,151204022,151206870,151209117,151226897,151239804,151243438,151247431,151258076,151259881,151265729,151266677,151270269,151277207,151281551,151286173,151293194,151331094,151334956,151336116,151336829,151355736,151358253,151413723,151423023, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 587 NM_013232 chr5 + 271735 315089 271835 314630 6 271735,272825,304291,306716,311407,314531, 271936,272887,304336,306875,311517,315089, 0 PDCD6 cmpl cmpl 0,2,1,1,1,0, 874 NM_017549 chr7 + 37960162 37991542 37960541 37989998 3 37960162,37988441,37989801, 37960810,37988650,37991542, 0 EPDR1 cmpl cmpl 0,2,1, 699 NM_001033953 chr11 - 14988214 14993832 14989240 14992738 5 14988214,14989219,14991480,14992652,14993766, 14988647,14989400,14991621,14992747,14993832, 0 CALCA cmpl cmpl -1,2,2,0,-1, 1660 NM_173828 chr5 + 141016516 141020631 141017792 141020011 7 141016516,141018361,141018521,141019030,141019486,141019978,141020237, 141017976,141018427,141018588,141019216,141019862,141020012,141020631, 0 RELL2 cmpl cmpl 0,1,1,2,2,0,-1, 928 NM_001281459 chr20 - 44978166 44993097 44979032 44984506 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983817,44984513,44985276,44986341,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,0,-1,-1,-1,-1, 928 NM_001281458 chr20 - 44978166 44993097 44979032 44987364 11 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44987329,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987197,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,2,0,-1, 928 NM_001281457 chr20 - 44978166 44993097 44979032 44984506 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986341,44987402,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,0,-1,-1,-1,-1, 969 NM_001126103 chr12 - 50382944 50419307 50384050 50410498 19 50382944,50384466,50385780,50386027,50386332,50387913,50388196,50390822,50392923,50393398,50394954,50396029,50398017,50399038,50400216,50410413,50412298,50414844,50419180, 50384126,50384575,50385916,50386160,50386438,50388112,50388292,50390987,50393054,50393516,50395035,50396083,50398087,50399175,50400419,50410502,50412372,50414960,50419307, 0 RACGAP1 cmpl cmpl 2,1,0,2,1,0,0,0,1,0,0,0,2,0,1,0,-1,-1,-1, 670 NM_021146 chr1 + 11249345 11256038 11249636 11255080 5 11249345,11252326,11253636,11254517,11254910, 11250012,11252427,11253831,11254716,11256038, 0 ANGPTL7 cmpl cmpl 0,1,0,0,1, 659 NR_002814 chr12 + 9800642 9811010 9811010 9811010 4 9800642,9806278,9808468,9809516, 9801529,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 1952 NM_145867 chr5 + 179220985 179223513 179221081 179223395 5 179220985,179222584,179222786,179222941,179223253, 179221139,179222684,179222857,179223023,179223513, 0 LTC4S cmpl cmpl 0,1,2,1,2, 170 NM_145686 chr2 + 102314164 102511152 102314542 102507711 31 102314164,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102477286,102481391,102482889,102483673,102486083,102486756,102487955,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102477448,102481498,102483041,102483771,102486259,102486877,102488147,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,2,0,0,1,1,1,1,0,0,1,0, 1349 NM_001168682 chr7 - 100169852 100171270 100169909 100170791 6 100169852,100170276,100170482,100170728,100170919,100171219, 100170194,100170374,100170636,100170835,100171002,100171270, 0 SAP25 cmpl cmpl 0,1,0,0,-1,-1, 1145 NM_001281735 chr14 - 73436152 73453664 73437589 73448561 9 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73453604, 73437822,73440901,73441667,73442429,73444752,73444942,73445677,73448603,73453664, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,-1, 1778 NM_001099414 chr5 - 156456530 156485487 156456743 156484954 9 156456530,156459864,156464257,156469637,156476048,156479371,156482211,156484908,156485314, 156456852,156459898,156464372,156469693,156476156,156479665,156482544,156484966,156485487, 0 HAVCR1 cmpl cmpl 2,1,0,1,1,1,1,0,-1, 105 NM_181558 chr13 + 34392205 34540695 34392315 34540262 9 34392205,34395268,34398053,34399925,34403972,34404855,34405392,34409284,34540223, 34392402,34395406,34398121,34400023,34404154,34404992,34405491,34409354,34540695, 0 RFC3 cmpl cmpl 0,0,0,2,1,0,2,2,0, 21 NM_181552 chr7 + 101460881 101901513 101460919 101892322 24 101460881,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101839913,101842081,101843350,101844639,101847670,101848393,101870646,101877331,101882599,101891691, 101460949,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101840585,101842147,101843452,101845484,101847836,101848450,101870949,101877520,101882864,101901513, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,1,1,1,0,1,1,1,1,2, 969 NM_001258017 chr19 - 50392912 50432796 50392926 50404974 10 50392912,50394227,50394661,50397524,50398324,50399071,50404895,50407455,50430950,50432606, 50393857,50394364,50394730,50397726,50398437,50399310,50405078,50407578,50431072,50432796, 0 IL4I1 cmpl cmpl 2,0,0,2,0,1,0,-1,-1,-1, 1074 NM_001006944 chr11 + 64126624 64139687 64126707 64138952 17 64126624,64126849,64127634,64127948,64128605,64128940,64129113,64129323,64132772,64135603,64135957,64136175,64136917,64137170,64137696,64138034,64138754, 64126762,64126921,64127853,64128064,64128713,64129021,64129217,64129474,64132937,64135732,64136073,64136269,64137091,64137365,64137856,64138198,64139687, 0 RPS6KA4 cmpl cmpl 0,1,1,1,0,0,0,2,0,0,0,2,0,0,0,1,0, 1547 NM_182628 chr3 + 126113781 126155398 126114843 126155247 17 126113781,126114784,126126014,126132927,126135158,126137300,126137453,126137918,126138479,126138822,126138945,126142167,126142335,126151911,126153018,126154401,126155133, 126113821,126114892,126126095,126133022,126135351,126137368,126137617,126137999,126138661,126138864,126139072,126142219,126142487,126152047,126153224,126154495,126155398, 0 CCDC37 cmpl cmpl -1,0,1,1,0,1,0,2,2,1,1,2,0,2,0,2,0, 120 NM_003482 chr12 - 49412757 49449107 49415562 49449107 54 49412757,49415825,49416062,49416372,49418360,49418592,49419964,49421585,49421791,49422610,49422843,49423183,49424062,49424383,49424675,49424957,49427849,49428192,49428364,49428594,49430907,49433004,49433217,49433506,49435437,49435699,49435871,49436343,49436523,49436858,49437145,49437417,49437650,49437982,49438185,49438526,49439702,49439847,49440042,49440391,49441747,49442441,49442887,49443464,49444668,49446346,49446697,49446989,49447258,49447760,49448089,49448310,49448682,49449058, 49415655,49415934,49416136,49416658,49418491,49418729,49421105,49421713,49421924,49422741,49423019,49423259,49424222,49424551,49424816,49427747,49428082,49428259,49428449,49428718,49432772,49433141,49433400,49435318,49435488,49435773,49436113,49436428,49436661,49436969,49437211,49437565,49437781,49438087,49438305,49438748,49439750,49439957,49440207,49440573,49441852,49442552,49443001,49444573,49446207,49446492,49446855,49447104,49447424,49447923,49448199,49448534,49448809,49449107, 0 KMT2D cmpl cmpl 0,2,0,2,0,1,0,1,0,1,2,1,0,0,0,0,1,0,2,1,2,0,0,0,0,1,2,1,1,1,1,0,1,1,1,1,1,2,2,0,0,0,0,1,1,2,0,2,1,0,1,2,1,0, 1618 NM_001127387 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L7 cmpl cmpl 0,0, 1618 NM_001127387 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L7 cmpl cmpl 0,0, 117 NM_016593 chr6 - 46517316 46620567 46518102 46620319 12 46517316,46521503,46554813,46555770,46563723,46593154,46598699,46604125,46605565,46607230,46609899,46620142, 46518174,46521591,46554902,46555866,46563857,46593245,46598807,46604219,46605715,46607405,46610035,46620567, 0 CYP39A1 cmpl cmpl 0,2,0,0,1,0,0,2,2,1,0,0, 971 NR_024215 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A4 unk unk -1, 98 NM_019043 chr10 + 26727265 26856732 26781255 26856417 15 26727265,26727580,26781255,26785232,26789747,26792125,26800675,26802467,26822367,26825002,26830510,26849033,26849658,26851254,26855889, 26727384,26727782,26781327,26785320,26790040,26792203,26800835,26802589,26822454,26825146,26830621,26849132,26849773,26851358,26856732, 0 APBB1IP cmpl cmpl -1,-1,0,0,1,0,0,1,0,0,0,0,0,1,0, 1618 NM_033178 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4 cmpl cmpl 0,0, 1265 NM_001127214 chr16 + 89160216 89222254 89167089 89220615 10 89160216,89167069,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160404,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,0,0,0,2,1,0,1,1,2, 2127 NM_001127391 chr2 - 202153146 202222101 202153377 202216127 15 202153146,202154179,202154418,202163960,202172241,202173873,202195192,202195458,202207092,202208892,202211264,202212976,202215433,202216014,202221704, 202153504,202154289,202154508,202164023,202172345,202173973,202195245,202195556,202207154,202208986,202211398,202213025,202215505,202216174,202222101, 0 ALS2CR12 cmpl cmpl 2,0,0,0,1,0,1,2,0,2,0,2,2,0,-1, 145 NM_002440 chr1 + 76262555 76378923 76262670 76378572 20 76262555,76269415,76272665,76276381,76280705,76282057,76288093,76313893,76333198,76342620,76343833,76344676,76345734,76346930,76349305,76354935,76356380,76363591,76365302,76378380, 76262914,76269598,76272826,76276492,76280821,76282231,76288266,76313961,76333273,76342685,76344003,76344813,76345838,76347055,76349506,76355054,76356509,76363766,76365391,76378923, 0 MSH4 cmpl cmpl 0,1,1,0,0,2,2,1,0,0,2,1,0,2,1,1,0,0,1,0, 831 NM_001286475 chr6 - 32260474 32339689 32260757 32339483 24 32260474,32267698,32268456,32270385,32284170,32290262,32290893,32291367,32298365,32299810,32303213,32303688,32304391,32306755,32307376,32311014,32317516,32322900,32323425,32334049,32335701,32336558,32337673,32339470, 32261812,32267713,32268477,32270406,32284191,32290283,32290914,32291391,32298386,32299831,32303234,32303709,32304412,32306776,32307415,32311035,32317537,32322921,32323446,32334079,32335734,32336591,32337760,32339689, 0 C6orf10 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 591 NR_110179 chr2 - 895901 901137 901137 901137 4 895901,897247,897577,900905, 896138,897404,897645,901137, 0 AC113607.2 unk unk -1,-1,-1,-1, 928 NM_003278 chr3 + 45067758 45077563 45067854 45077416 3 45067758,45072318,45077015, 45067963,45072417,45077563, 0 CLEC3B cmpl cmpl 0,1,1, 144 NM_001270380 chr11 - 74551954 74660232 74554459 74651923 15 74551954,74555212,74556117,74559159,74562132,74617283,74618189,74632258,74638435,74641344,74644869,74647928,74651829,74656062,74659972, 74554498,74555328,74556316,74559507,74562248,74617501,74618318,74632392,74638533,74641417,74644917,74648113,74651927,74656130,74660232, 0 XRRA1 cmpl cmpl 0,1,0,0,1,2,2,0,1,0,0,1,0,-1,-1, 864 NM_145660 chr22 - 36585175 36600879 36587122 36598082 5 36585175,36591356,36595375,36598038,36600673, 36587958,36591483,36595422,36598101,36600879, 0 APOL4 cmpl cmpl 2,1,2,0,-1, 140 NM_139177 chr17 - 70642084 71088853 70643722 71084903 10 70642084,70644941,70645308,70732788,70845772,70943890,71027694,71080946,71084795,71088749, 70643801,70645100,70645407,70732858,70845943,70944014,71027853,71080985,71084914,71088853, 0 SLC39A11 cmpl cmpl 2,2,2,1,1,0,0,0,0,-1, 1547 NM_005573 chr5 + 126112314 126172712 126113200 126171956 11 126112314,126140467,126141262,126145871,126147464,126154613,126156601,126158472,126161679,126168385,126171914, 126113559,126140624,126141388,126146042,126147590,126154834,126156827,126158577,126161799,126168493,126172712, 0 LMNB1 cmpl cmpl 0,2,0,0,0,0,2,0,0,0,0, 1794 NM_032861 chr6 - 158530535 158589312 158532397 158579395 17 158530535,158534480,158535820,158537216,158538758,158540060,158541456,158549139,158551404,158564087,158565330,158567813,158569896,158571484,158576346,158579304,158589171, 158532534,158534624,158536003,158537314,158538853,158540202,158541607,158549302,158551518,158564216,158565452,158567945,158569986,158571621,158576383,158579396,158589312, 0 SERAC1 cmpl cmpl 1,1,1,2,0,2,1,0,0,0,1,1,1,2,1,0,-1, 154 NM_032856 chr15 - 85186011 85197521 85186700 85197505 8 85186011,85188701,85189414,85191120,85191767,85195944,85196862,85197464, 85186954,85189067,85189579,85191185,85191856,85196033,85196930,85197521, 0 WDR73 cmpl cmpl 1,1,1,2,0,1,2,0, 9 NM_139045 chr9 + 2015218 2193623 2029022 2192739 33 2015218,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2181570,2182140,2186095,2191265,2192703, 2015404,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2087071,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,0,0,1,0, 737 NM_001001722 chrY - 19990139 19992099 19990146 19991772 1 19990139, 19992099, 0 CDY2B cmpl cmpl 0, 738 NM_001001722 chrY + 20137667 20139627 20137994 20139620 1 20137667, 20139627, 0 CDY2B cmpl cmpl 0, 854 NM_138428 chr1 - 35315962 35325417 35321299 35321578 2 35315962,35325277, 35321583,35325417, 0 SMIM12 cmpl cmpl 0,-1, 172 NM_139173 chr4 - 103822084 103940896 103822273 103912868 12 103822084,103826670,103827692,103831595,103832587,103853280,103866349,103867803,103870413,103910956,103912799,103940755, 103822489,103826807,103827801,103831745,103832694,103853456,103866477,103867946,103870584,103911098,103912869,103940896, 0 SLC9B1 cmpl cmpl 0,1,0,0,1,2,0,1,1,0,0,-1, 1457 NM_001193431 chr1 - 114356432 114414375 114357526 114414245 21 114356432,114362198,114367763,114372213,114372570,114375732,114377014,114377531,114380211,114381165,114391161,114394648,114397092,114397528,114399003,114399169,114400359,114401099,114401623,114401973,114414158, 114357591,114362276,114367794,114372329,114372651,114375760,114377061,114377615,114381029,114381242,114391248,114394726,114397159,114397671,114399063,114399241,114400398,114401195,114401700,114402082,114414375, 0 PTPN22 cmpl cmpl 1,1,0,1,1,0,1,1,2,0,0,0,2,0,0,0,0,0,1,0,0, 36 NM_001284215 chr2 - 230628552 230744844 230632269 230744795 40 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230705537,230723487,230744697, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670599,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695555,230701700,230705643,230724290,230744844, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,1,2,0, 594 NR_024058 chr17 - 1247833 1303556 1303556 1303556 7 1247833,1257504,1264385,1265195,1268152,1273002,1303340, 1248793,1257641,1264592,1265302,1268352,1273035,1303556, 0 YWHAE unk unk -1,-1,-1,-1,-1,-1,-1, 1653 NM_001185091 chr9 + 140033608 140063214 140033938 140062294 20 140033608,140036464,140040177,140042603,140043460,140051120,140051314,140052830,140053072,140055507,140055740,140056375,140056623,140056855,140057042,140057297,140057620,140058010,140058210,140062225, 140034196,140036599,140040354,140042666,140043561,140051242,140051489,140052975,140053156,140055649,140055868,140056540,140056742,140056968,140057191,140057455,140057782,140058120,140058356,140063214, 0 GRIN1 cmpl cmpl 0,0,0,0,0,2,1,2,0,0,1,0,0,2,1,0,2,2,1,0, 1099 NM_001146112 chr1 + 67390577 67454302 67411879 67450583 15 67390577,67391824,67394611,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl -1,-1,-1,-1,0,0,0,1,0,1,0,1,0,2,1, 1282 NM_198527 chr15 - 91474147 91475799 91474772 91475770 4 91474147,91474933,91475284,91475658, 91474786,91475174,91475340,91475799, 0 HDDC3 cmpl cmpl 1,0,1,0, 159 NM_198526 chr15 + 90544751 90625432 90610369 90623061 5 90544751,90610341,90616302,90617347,90622891, 90544846,90611827,90616494,90617522,90625432, 0 ZNF710 cmpl cmpl -1,0,0,0,1, 956 NM_001144070 chr17 + 48712217 48745288 48712297 48745202 12 48712217,48733192,48734062,48734406,48735442,48735795,48736597,48738283,48741041,48741310,48742513,48744914, 48712342,48733369,48734188,48734544,48735568,48735857,48736729,48738475,48741219,48741472,48742606,48745288, 0 ABCC3 cmpl cmpl 0,0,0,0,0,0,2,2,2,0,0,0, 1027 NM_001144068 chr19 - 57980953 57988938 57984641 57988677 4 57980953,57987027,57988001,57988644, 57985789,57987154,57988040,57988938, 0 ZNF772 cmpl cmpl 1,0,0,0, 1114 NM_198512 chrX + 69397335 69425553 69397432 69424956 7 69397335,69419120,69419661,69420104,69421739,69424154,69424801, 69397517,69419231,69419732,69420309,69421914,69424366,69425553, 0 DGAT2L6 cmpl cmpl 0,1,1,0,1,2,1, 723 NM_138421 chr11 - 18101889 18127638 18101945 18127588 12 18101889,18102957,18105081,18108412,18108689,18110876,18111721,18111980,18113791,18118317,18124779,18127453, 18102038,18103050,18105278,18108601,18108772,18111057,18111837,18112040,18113871,18118401,18124893,18127638, 0 SAAL1 cmpl cmpl 0,0,1,1,2,1,2,2,0,0,0,0, 208 NM_001282857 chr3 - 142025448 142166904 142030352 142166786 41 142025448,142031439,142037433,142037631,142048275,142051216,142051808,142054289,142066075,142074242,142075753,142078703,142083888,142084151,142089326,142090080,142094639,142095320,142098923,142102141,142103364,142116170,142119285,142122515,142122710,142123748,142131385,142132976,142135981,142137345,142137656,142139857,142140317,142141423,142141676,142142401,142144063,142144270,142145585,142151502,142166711, 142030655,142031600,142037536,142037745,142048457,142051376,142051931,142054351,142066184,142074338,142075961,142078773,142084021,142084208,142089462,142090170,142094786,142095436,142099022,142102255,142103527,142116302,142119389,142122614,142122831,142123918,142131505,142133133,142136071,142137451,142137723,142139995,142140385,142141592,142141764,142142484,142144174,142144380,142145683,142151735,142166904, 0 XRN1 cmpl cmpl 0,1,0,0,1,0,0,1,0,0,2,1,0,0,2,2,2,0,0,0,2,2,0,0,2,0,0,2,2,1,0,0,1,0,2,0,0,1,2,0,0, 915 NM_001146036 chr18 + 43304091 43332485 43310285 43329916 11 43304091,43304914,43307296,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43304238,43304978,43307383,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl -1,-1,-1,0,1,2,2,0,1,1,0, 1744 NM_004909 chrX + 151927733 151928738 151927886 151928428 2 151927733,151928358, 151928149,151928738, 0 CSAG2 cmpl cmpl 0,2, 128 NM_006380 chr17 - 58520509 58603601 58524941 58603292 13 58520509,58529240,58531662,58533656,58538023,58539170,58539354,58541381,58543651,58556508,58571826,58577759,58603154, 58525195,58529406,58531853,58533742,58538148,58539276,58539422,58541471,58543820,58556632,58571978,58577848,58603601, 0 APPBP2 cmpl cmpl 1,0,1,2,0,2,0,0,2,1,2,0,0, 241 NM_181265 chr4 + 176986984 177103979 177032731 177100730 29 176986984,177032725,177036946,177041017,177046254,177049888,177052704,177056258,177058670,177061042,177063133,177067145,177069283,177070957,177071193,177071618,177072962,177077229,177081144,177082061,177083225,177084304,177089822,177093525,177094417,177095767,177098208,177098621,177100610, 176987230,177032854,177037130,177041248,177046506,177050011,177052889,177056427,177058762,177061125,177063220,177067310,177069486,177071107,177071324,177071744,177073118,177077294,177081277,177082153,177083325,177084444,177089934,177093667,177094520,177095869,177098307,177098805,177103979, 0 WDR17 cmpl cmpl -1,0,0,1,1,1,1,0,1,0,2,2,2,1,1,0,0,0,2,0,2,0,2,0,1,2,2,2,0, 1699 NM_021061 chr8 - 146102335 146126846 146106899 146115734 6 146102335,146112224,146114965,146115317,146115692,146126783, 146108221,146112287,146115079,146115459,146115788,146126846, 0 ZNF250 cmpl cmpl 1,1,1,0,0,-1, 874 NM_001242948 chr7 + 37960920 37991542 37960967 37989998 3 37960920,37988441,37989801, 37961053,37988650,37991542, 0 EPDR1 cmpl cmpl 0,2,1, 1069 NM_001159522 chr7 + 63505820 63538927 63505999 63538927 4 63505820,63529268,63529891,63537653, 63506002,63529395,63529987,63538927, 0 ZNF727 cmpl cmpl 0,0,1,1, 122 NM_147156 chr10 - 52065344 52383737 52066901 52103874 11 52065344,52067741,52071021,52086964,52103251,52193235,52220432,52226649,52279590,52349912,52383466, 52067081,52067908,52071175,52087082,52104105,52193316,52220574,52226692,52279681,52350007,52383737, 0 SGMS1 cmpl cmpl 0,1,0,2,0,-1,-1,-1,-1,-1,-1, 180 NM_147150 chr9 + 112542576 112934791 112542768 112930777 10 112542576,112629770,112642830,112686014,112687340,112694206,112778233,112898406,112918598,112930678, 112542813,112629851,112642961,112686129,112687362,112694308,112778319,112900819,112918777,112934791, 0 PALM2-AKAP2 cmpl cmpl 0,0,0,2,0,1,1,0,1,0, 946 NM_001654 chrX + 47420498 47431320 47422366 47430856 16 47420498,47422307,47422624,47424195,47424383,47424650,47426037,47426282,47426384,47426628,47428116,47428385,47428937,47429291,47430276,47430721, 47420650,47422462,47422728,47424298,47424538,47424749,47426179,47426310,47426530,47426831,47428293,47428432,47429056,47429423,47430411,47431320, 0 ARAF cmpl cmpl -1,0,0,2,0,2,2,0,1,0,2,2,1,0,0,0, 119 NM_001199162 chr3 - 49145478 49158371 49145844 49156578 27 49145478,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154491,49154899,49155089,49155379,49156454,49158188, 49145961,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153371,49153595,49153784,49154040,49154376,49154794,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,0,1,1,1,0,-1, 1007 NM_014796 chr12 - 55342086 55367516 55354952 55359868 9 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367516, 0 TESPA1 cmpl cmpl -1,0,1,2,0,-1,-1,-1,-1, 14 NM_001203251 chr17 + 43971747 44105699 44039703 44101537 10 43971747,44039686,44049224,44055740,44064405,44068825,44073764,44091608,44095983,44101321, 43972052,44039836,44049311,44055806,44064461,44068952,44074030,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,0,1,0,1,0, 923 NM_172006 chr20 - 44313289 44333658 44313468 44314631 4 44313289,44314540,44333135,44333556, 44313599,44314695,44333200,44333658, 0 WFDC10B cmpl cmpl 1,0,-1,-1, 144 NM_000428 chr14 - 74964885 75079034 74967586 75078647 36 74964885,74968143,74969355,74969921,74970171,74970628,74971480,74971685,74972750,74973400,74973881,74974675,74975306,74975532,74975940,74976436,74976793,74977947,74983524,74988613,74989492,74991826,74992777,74994049,74995185,74995660,74999128,75002628,75016565,75017766,75018889,75019594,75022205,75052556,75070337,75078153, 74967732,74968293,74969637,74970089,74970309,74970757,74971564,74971877,74972894,74973526,74974013,74974798,74975432,74975655,74976066,74976562,74976916,74978067,74983644,74988742,74989621,74991928,74992817,74994069,74995401,74995825,74999251,75002703,75016668,75018053,75019096,75019765,75022396,75052821,75070408,75079034, 0 LTBP2 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,2,1,2,0, 1698 NM_001244892 chrX - 145895621 145896249 145895724 145896241 2 145895621,145896109, 145895919,145896249, 0 CXorf51B cmpl cmpl 0,0, 1928 NR_030630 chr2 - 176032360 176032437 176032437 176032437 1 176032360, 176032437, 0 MIR933 unk unk -1, 820 NM_001202522 chr6 + 30856464 30867933 30856506 30867073 15 30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862364,30864790,30865155,30865849,30866664,30866932, 30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl 0,1,2,0,1,2,0,1,1,0,0,2,2,0,0, 1183 NM_003991 chr13 - 78469615 78492966 78470576 78492708 7 78469615,78473993,78474655,78475192,78477290,78477629,78492225, 78470693,78474102,78474789,78475342,78477495,78477742,78492966, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0, 1503 NM_000187 chr3 - 120347014 120401418 120347226 120400958 14 120347014,120351993,120357301,120360435,120363165,120365113,120365819,120366723,120369620,120371438,120389273,120393747,120394638,120400943, 120347376,120352175,120357428,120360540,120363290,120365213,120365899,120366758,120369712,120371498,120389379,120393836,120394710,120401418, 0 HGD cmpl cmpl 0,1,0,0,1,0,1,2,0,0,2,0,0,0, 987 NM_175698 chrX + 52780279 52790617 52781757 52789521 8 52780279,52781737,52782264,52782914,52784876,52786930,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52789525,52790617, 0 SSX2 cmpl cmpl -1,0,0,1,1,0,1,-1, 987 NM_175698 chrX - 52725945 52736277 52727037 52734799 8 52725945,52727033,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52729628,52731680,52733642,52734292,52734819,52736277, 0 SSX2 cmpl cmpl -1,1,0,1,1,0,0,-1, 600 NM_172167 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030656,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030732,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 748 NM_033176 chr20 - 21376004 21378047 21376548 21378037 2 21376004,21377595, 21377171,21378047, 0 NKX2-4 cmpl cmpl 1,0, 1332 NR_103732 chr2 + 97944453 97957632 97957632 97957632 4 97944453,97950426,97950614,97957293, 97944481,97950522,97950744,97957632, 0 AC159540.1 unk unk -1,-1,-1,-1, 1013 NM_005811 chr12 + 56137063 56146665 56137100 56143666 3 56137063,56142369,56143285, 56137545,56142767,56146665, 0 GDF11 cmpl cmpl 0,1,0, 1778 NM_001173393 chr5 - 156456530 156485970 156456743 156484954 9 156456530,156459864,156464257,156469637,156476048,156479371,156482211,156484908,156485931, 156456852,156459898,156464372,156469693,156476156,156479665,156482544,156484966,156485970, 0 HAVCR1 cmpl cmpl 2,1,0,1,1,1,1,0,-1, 1865 NM_001167749 chr1 - 167778624 167883453 167778914 167868843 30 167778624,167779961,167787309,167791261,167792245,167793713,167793888,167798504,167802224,167803207,167805546,167806486,167814800,167815222,167817598,167823590,167825402,167829044,167830108,167839494,167844368,167847683,167849352,167849728,167852674,167863090,167865832,167868660,167871253,167883213, 167779076,167780150,167787505,167791379,167792361,167793810,167794093,167798661,167802400,167803315,167805778,167806556,167815091,167815501,167817727,167823727,167825677,167829131,167830301,167839648,167844424,167847873,167849429,167849847,167852866,167863179,167865929,167868866,167871292,167883453, 0 ADCY10 cmpl cmpl 0,0,2,1,2,1,0,2,0,0,2,1,1,1,1,2,0,0,2,1,2,1,2,0,0,1,0,0,-1,-1, 118 NM_001190274 chr2 - 48034058 48132932 48035256 48132859 23 48034058,48035467,48036296,48036738,48037454,48040372,48040929,48045917,48046094,48047500,48049356,48050281,48059487,48059710,48059907,48060102,48061717,48061926,48063010,48065997,48066557,48066780,48132627, 48035386,48035566,48036405,48036846,48037565,48040516,48041006,48046003,48046217,48047595,48049442,48050499,48059625,48059817,48060019,48060209,48061850,48062010,48063140,48066142,48066639,48066908,48132932, 0 FBXO11 cmpl cmpl 2,2,1,1,1,1,2,0,0,1,2,0,0,1,0,1,0,0,2,1,0,1,0, 1083 NM_021070 chr11 - 65306029 65325699 65306550 65325430 27 65306029,65306798,65307018,65307190,65307715,65307956,65308341,65308596,65309070,65310575,65310897,65313912,65314268,65314909,65315160,65315390,65318596,65318872,65319018,65319442,65319718,65320330,65320634,65320895,65321171,65321521,65325099, 65306702,65306930,65307099,65307352,65307853,65308085,65308425,65308764,65309199,65310695,65311020,65314035,65314391,65315038,65315292,65315516,65318695,65318945,65319035,65319628,65319877,65320453,65320727,65321001,65321374,65321851,65325699, 0 LTBP3 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0, 14 NM_001145107 chr12 - 44902057 45270633 44902716 45270508 21 44902057,44913787,44915782,44917073,44926363,45000951,45004630,45059266,45097508,45105074,45108432,45168529,45169804,45170824,45171024,45173445,45173631,45209768,45269007,45269597,45270389, 44902767,44914012,44915959,44917267,44926504,45001047,45004753,45059392,45097637,45105177,45108524,45168632,45169933,45170907,45171097,45173542,45173805,45209919,45269136,45269683,45270633, 0 NELL2 cmpl cmpl 0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,2,2,1,1,2,0, 1320 NM_000895 chr12 - 96394530 96429439 96394766 96429297 19 96394530,96396737,96397615,96400091,96402871,96406965,96407527,96408632,96409360,96410821,96411334,96412540,96412945,96414862,96415924,96418256,96421221,96422832,96429138, 96394884,96396842,96397698,96400187,96402926,96407036,96407631,96408777,96409472,96410892,96411358,96412681,96413018,96414915,96416029,96418325,96421342,96422963,96429439, 0 LTA4H cmpl cmpl 2,2,0,0,2,0,1,0,2,0,0,0,2,0,0,0,2,0,0, 1605 NM_080656 chr5 - 133737755 133747598 133738605 133747545 3 133737755,133745593,133747306, 133738617,133745693,133747598, 0 CDKN2AIPNL cmpl cmpl 0,2,0, 1 NM_206943 chr2 + 33172368 33624575 33172391 33623612 34 33172368,33173941,33245975,33335648,33359859,33411922,33413643,33442618,33447146,33468728,33477743,33482350,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33567904,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33172885,33174012,33246273,33335818,33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33568030,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,2,1,2,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 587 NM_001267559 chr5 + 271735 315089 271835 314533 4 271735,272825,304291,314531, 271936,272887,304336,315089, 0 PDCD6 cmpl cmpl 0,2,1,1, 587 NM_001267557 chr5 + 271735 315089 271835 314630 4 271735,272825,311407,314531, 271936,272887,311517,315089, 0 PDCD6 cmpl cmpl 0,2,1,0, 936 NM_176096 chr17 + 46048321 46059152 46048512 46058868 14 46048321,46048727,46050884,46051296,46051765,46052524,46052879,46053234,46054077,46055197,46056194,46057958,46058528,46058802, 46048518,46048773,46051016,46051397,46051814,46052703,46053019,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl 0,0,1,1,0,1,0,2,0,0,1,0,2,0, 127 NM_178237 chr4 + 56719815 56771244 56724489 56770661 18 56719815,56724479,56726576,56730392,56734501,56736843,56737266,56738014,56744082,56749988,56756388,56757480,56758800,56759717,56762882,56765850,56768509,56770508, 56719963,56724613,56726707,56730552,56734689,56737071,56737399,56738124,56744232,56750094,56756552,56757588,56758877,56759946,56763066,56766050,56768704,56771244, 0 EXOC1 cmpl cmpl -1,0,1,0,1,0,0,1,0,0,1,0,0,2,0,1,0,0, 141 NM_198716 chr1 - 71318035 71513491 71318521 71513260 4 71318035,71419445,71477987,71512363, 71318542,71419472,71478167,71513491, 0 PTGER3 cmpl cmpl 0,0,0,0, 141 NM_198714 chr1 - 71318035 71513491 71419468 71513260 5 71318035,71419445,71439979,71477987,71512363, 71318542,71419472,71440071,71478167,71513491, 0 PTGER3 cmpl cmpl -1,2,0,0,0, 935 NM_198691 chr21 - 45959067 45960078 45959184 45960033 1 45959067, 45960078, 0 KRTAP10-1 cmpl cmpl 0, 108 NM_001198910 chr13 - 36742344 36871992 36743170 36857743 16 36742344,36744667,36747828,36748612,36748858,36764082,36765931,36767757,36767942,36776015,36801484,36822742,36827939,36828181,36857728,36871773, 36743191,36744924,36747947,36748704,36749006,36764193,36766031,36767862,36768004,36776230,36801518,36822819,36827993,36828280,36857839,36871992, 0 CCDC169-SOHLH2 cmpl cmpl 0,1,2,0,2,2,1,1,2,0,2,0,0,0,0,-1, 1179 NM_001172086 chr8 - 77892493 77913280 77895496 77896414 5 77892493,77898422,77900542,77912225,77913118, 77896431,77898532,77900574,77912368,77913280, 0 PEX2 cmpl cmpl 0,-1,-1,-1,-1, 17 NM_004555 chr16 + 68119268 68263162 68119584 68248332 11 68119268,68155889,68160350,68191771,68200745,68208276,68215377,68217142,68224670,68248231,68260252, 68119687,68157024,68160513,68191971,68200918,68208417,68215433,68217269,68225678,68248335,68263162, 0 NFATC3 cmpl cmpl 0,1,2,0,2,1,1,0,1,1,-1, 991 NM_173352 chr12 - 53232745 53242778 53232896 53242714 9 53232745,53233236,53233547,53237876,53238342,53239980,53240547,53241690,53242330, 53233156,53233271,53233768,53238002,53238507,53240076,53240608,53241905,53242778, 0 KRT78 cmpl cmpl 1,2,0,0,0,0,2,0,0, 1165 NM_152468 chr17 + 76126858 76139049 76127669 76137193 16 76126858,76127361,76127962,76128439,76128868,76129486,76129933,76130474,76130950,76133315,76133797,76134085,76134429,76134654,76135242,76136914, 76126932,76127818,76128111,76128589,76128951,76129623,76130081,76130645,76131090,76133439,76133895,76134269,76134560,76134813,76135321,76139049, 0 TMC8 cmpl cmpl -1,0,2,1,1,0,2,0,0,2,0,2,0,2,2,0, 1580 NM_001085347 chr9 - 130493802 130497628 130494312 130497549 5 130493802,130494842,130495663,130496577,130497398, 130494557,130494970,130495839,130496843,130497628, 0 TOR2A cmpl cmpl 1,2,0,1,0, 779 NR_031570 chr2 - 25551508 25551590 25551590 25551590 1 25551508, 25551590, 0 MIR1301 unk unk -1, 11 NM_178425 chr7 + 18535884 19036992 18535925 19035685 25 18535884,18624903,18629958,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835,18767202,18788627,18801779,18806728,18832967,18868783,18869083,18875089,18875522,18914100,18975431,18993768,19015428,19035645, 18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18706099,18767380,18788761,18801900,18806778,18833075,18868839,18869171,18875209,18875620,18914219,18975565,18993853,19015576,19036992, 0 HDAC9 cmpl cmpl 0,1,0,1,2,1,1,0,0,1,0,0,1,0,1,0,0,2,0,0,2,1,0,1,2, 656 NM_001242327 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L24 cmpl cmpl 0, 656 NM_001242327 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L24 cmpl cmpl 0, 90 NM_001204147 chr7 + 18548899 18708466 18624974 18706150 10 18548899,18624903,18629967,18631138,18633530,18674249,18684293,18687407,18688088,18705835, 18549069,18625145,18630109,18631259,18633652,18674365,18684416,18687621,18688306,18708466, 0 HDAC9 cmpl cmpl -1,0,0,1,2,1,0,0,1,0, 621 NR_027148 chr19 + 4769116 4772568 4772568 4772568 3 4769116,4769641,4772175, 4769363,4769769,4772568, 0 MIR7-3HG unk unk -1,-1,-1, 1427 NM_172211 chr1 + 110453232 110473616 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110466681,110467397,110467768,110471473, 110453684,110457003,110458318,110460085,110464616,110466812,110467450,110467824,110473616, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,0,2,-1, 820 NM_001954 chr6 + 30851860 30867933 30856506 30867073 19 30851860,30852314,30853401,30856464,30856684,30856978,30858749,30859156,30859778,30860072,30860844,30861048,30862282,30864397,30864790,30865155,30865849,30866664,30866932, 30851922,30852487,30853457,30856591,30856787,30857207,30858897,30859256,30859965,30860319,30860940,30861200,30862448,30864642,30864918,30865374,30866084,30866814,30867933, 0 DDR1 cmpl cmpl -1,-1,-1,0,1,2,0,1,2,0,1,1,0,1,0,2,2,0,0, 162 NM_001698 chr9 - 93976096 94124206 93976629 94124171 10 93976096,93978340,93979558,93983086,94058302,94060265,94087599,94118164,94118369,94123909, 93976707,93978388,93979609,93983274,94058359,94060358,94087686,94118252,94118437,94124206, 0 AUH cmpl cmpl 0,0,0,1,1,1,1,0,1,0, 1171 NM_003255 chr17 - 76849058 76921472 76851748 76921170 5 76849058,76853603,76866979,76869900,76921040, 76851946,76853728,76867088,76870001,76921472, 0 TIMP2 cmpl cmpl 0,1,0,1,0, 1016 NM_003075 chr12 - 56555635 56583351 56557472 56583245 28 56555635,56558086,56559101,56561843,56563312,56563559,56563927,56565054,56565462,56566211,56566368,56567479,56568434,56571805,56572187,56572593,56572780,56574760,56575265,56575487,56575787,56577644,56577958,56578627,56578813,56579938,56580970,56583134, 56557549,56558515,56559483,56561978,56563479,56563695,56563992,56565216,56565721,56566274,56566488,56567633,56568548,56571877,56572318,56572631,56572840,56574885,56575381,56575619,56575863,56577714,56578028,56578720,56578895,56580024,56581090,56583351, 0 SMARCC2 cmpl cmpl 1,1,0,0,1,0,1,1,0,0,0,2,2,2,0,1,1,2,0,0,2,1,0,0,2,0,0,0, 234 NR_104229 chr1 - 169101767 169337201 169337201 169337201 13 169101767,169138684,169159880,169199955,169204368,169206860,169256540,169267793,169272382,169279207,169292354,169293630,169336945, 169102055,169138792,169159943,169200057,169204437,169206925,169256646,169268001,169272433,169279318,169292521,169293738,169337201, 0 NME7 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1060 NM_016434 chr20 + 62289162 62327606 62290755 62327138 35 62289162,62290585,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62326833,62327606, 0 RTEL1 cmpl cmpl -1,0,0,1,2,0,1,2,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,1, 727 NM_017414 chr22 + 18632757 18660162 18640430 18659584 11 18632757,18640324,18642938,18644556,18650021,18650656,18652610,18653519,18655916,18656559,18659538, 18632989,18640587,18643035,18644702,18650101,18650803,18652706,18653687,18656048,18656609,18660162, 0 USP18 cmpl cmpl -1,0,1,2,1,0,0,0,0,0,2, 2042 NM_001164467 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L3 cmpl cmpl 0, 1618 NM_001164467 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L3 cmpl cmpl 0,0, 928 NM_001281460 chr20 - 44978166 44993097 44979032 44987145 11 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44991724,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987597,44991861,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1,-1, 708 NR_073459 chr22 + 16162065 16172265 16172265 16172265 3 16162065,16164481,16171951, 16162388,16164569,16172265, 0 BMS1P18 unk unk -1,-1,-1, 942 NR_047493 chr13 - 46870579 46871979 46871979 46871979 1 46870579, 46871979, 0 LINC00563 unk unk -1, 1766 NR_038945 chr7 - 154858778 154863267 154863267 154863267 2 154858778,154862743, 154860955,154863267, 0 HTR5A-AS1 unk unk -1,-1, 607 NR_038933 chr12 + 2945981 2968961 2968961 2968961 4 2945981,2950007,2967177,2968699, 2946122,2950161,2967497,2968961, 0 LOC100507424 unk unk -1,-1,-1,-1, 644 NM_001256871 chr8 - 7833914 7835507 7833914 7835507 1 7833914, 7835507, 0 USP17L3 cmpl cmpl 0, 1344 NM_014930 chr9 - 99518146 99540328 99521059 99538351 6 99518146,99525399,99525787,99537069,99538281,99540315, 99522759,99525495,99525914,99537128,99538527,99540328, 0 ZNF510 cmpl cmpl 1,1,0,1,0,-1, 90 NM_001257177 chr3 + 18004063 18310410 18004177 18308535 5 18004063,18055146,18058109,18082940,18308509, 18004186,18055266,18058203,18083033,18310410, 0 LOC339862 cmpl cmpl 0,0,0,1,1, 1352 NM_007129 chr13 + 100634025 100639019 100634318 100637936 3 100634025,100637199,100637576, 100635393,100637363,100639019, 0 ZIC2 cmpl cmpl 0,1,0, 591 NM_001166260 chr5 + 892968 909047 893113 908580 9 892968,894901,896779,900608,901455,904262,907244,908102,908469, 893205,895067,896909,900664,901546,904335,907308,908189,909047, 0 TRIP13 cmpl cmpl 0,2,0,1,0,1,2,0,0, 1349 NM_001163499 chr7 + 100187195 100198740 100187263 100198522 10 100187195,100187599,100187796,100189289,100190405,100192005,100192724,100193197,100197653,100198156, 100187266,100187698,100187980,100189525,100190640,100192164,100192846,100193329,100197824,100198740, 0 FBXO24 cmpl cmpl 0,0,0,1,0,1,1,0,0,0, 969 NR_109831 chr3 + 50374941 50375727 50375727 50375727 1 50374941, 50375727, 0 RASSF1-AS1 unk unk -1, 979 NM_015926 chr3 + 51705190 51738339 51708320 51738032 5 51705190,51708286,51718428,51733421,51737739, 51705304,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,0,1, 1776 NM_001272113 chr1 - 156213111 156217908 156213651 156214644 5 156213111,156214551,156215913,156216471,156217747, 156214194,156214702,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1, 1776 NM_001272112 chr1 - 156213111 156217908 156213651 156214644 5 156213111,156214551,156215572,156215913,156217747, 156214194,156214702,156215778,156216041,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1, 1776 NM_001272111 chr1 - 156213111 156217908 156213651 156214644 7 156213111,156214551,156214932,156215572,156215913,156216471,156217747, 156214194,156214702,156215029,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 956 NM_001135629 chr2 + 48667907 48742531 48668092 48741883 22 48667907,48678146,48681733,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48722817,48725631,48732702,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48722910,48725874,48732735,48734524,48737252,48738607,48742531, 0 PPP1R21 cmpl cmpl 0,0,0,0,0,0,2,1,0,0,0,2,1,1,0,0,0,0,0,0,0,0, 597 NM_001165920 chr17 + 1646319 1658559 1648289 1657828 10 1646319,1648285,1648468,1648626,1649001,1650312,1650602,1651891,1655879,1657415, 1646370,1648352,1648507,1648689,1649203,1650456,1650806,1652034,1656084,1658559, 0 SERPINF2 cmpl cmpl -1,0,0,0,0,1,1,1,0,1, 1105 NM_015346 chr14 - 68213236 68283306 68215152 68282680 42 68213236,68217768,68219060,68220423,68220787,68221767,68222664,68228082,68228919,68229388,68232943,68234420,68235233,68236310,68238763,68241732,68242576,68244275,68244842,68246957,68248049,68249496,68251050,68251775,68252574,68252830,68256051,68257288,68260324,68260887,68264388,68264730,68268795,68270817,68271933,68272170,68273261,68274114,68275916,68280702,68282486,68283250, 68215356,68217813,68219243,68220483,68220929,68221967,68222862,68228301,68229129,68229536,68233164,68234557,68235265,68236447,68238927,68241831,68242823,68244452,68244965,68247062,68248246,68250242,68251153,68251994,68252739,68252950,68256315,68257490,68260476,68260956,68264472,68265339,68268999,68270981,68272022,68272335,68273392,68274637,68276006,68280781,68282763,68283306, 0 ZFYVE26 cmpl cmpl 0,0,0,0,2,0,0,0,0,2,0,1,2,0,1,1,0,0,0,0,1,2,1,1,1,1,1,0,1,1,1,1,1,2,0,0,1,0,0,2,0,-1, 657 NM_006788 chr18 + 9475529 9538106 9513043 9535935 10 9475529,9512988,9516842,9522157,9524591,9525717,9530831,9533332,9533700,9535668, 9475689,9513287,9517301,9522507,9524753,9525849,9530939,9533454,9533824,9538106, 0 RALBP1 cmpl cmpl -1,0,1,1,0,0,0,0,2,0, 896 NM_001198980 chr1 + 40862471 40888998 40874327 40887773 10 40862471,40872407,40874324,40875428,40878687,40879830,40880943,40881847,40882451,40887647, 40862562,40872541,40874410,40875507,40878774,40879912,40881053,40882013,40882768,40888998, 0 SMAP2 cmpl cmpl -1,-1,0,2,0,0,1,0,1,0, 187 NM_001198665 chr11 + 120207617 120360645 120207952 120355786 40 120207617,120276826,120278446,120291461,120292511,120295066,120298777,120300148,120300420,120302479,120308016,120310837,120312415,120312812,120316130,120317111,120317656,120318582,120318942,120319817,120322220,120327826,120328429,120328788,120329882,120331380,120335945,120337902,120339996,120343758,120345268,120346048,120347369,120347927,120348155,120348864,120350668,120351968,120355146,120355775, 120207984,120276850,120278532,120291560,120292561,120295124,120298956,120300226,120300540,120302620,120308091,120310930,120312526,120312911,120316173,120317217,120317794,120318615,120319057,120319923,120322433,120327959,120328465,120328943,120330029,120331466,120336071,120338017,120340097,120343836,120345344,120346216,120347457,120348014,120348235,120349098,120351139,120352285,120355216,120360645, 0 ARHGEF12 cmpl cmpl 0,2,2,1,1,0,1,0,0,0,0,0,0,0,0,1,2,2,2,0,1,1,2,2,1,1,0,0,1,0,0,1,1,2,2,1,1,1,0,1, 164 NM_001289075 chr10 + 96305523 96361856 96336551 96361379 21 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96342719,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96342816,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl -1,-1,-1,-1,-1,-1,-1,-1,-1,0,2,0,0,2,0,0,0,0,1,2,1, 825 NM_002341 chr6 - 31548335 31550202 31548485 31550194 4 31548335,31549335,31549590,31550032, 31548940,31549407,31549636,31550202, 0 LTB cmpl cmpl 1,1,0,0, 1154 NR_108023 chr15 + 74610881 74628482 74628482 74628482 9 74610881,74622529,74623003,74623321,74623543,74625019,74626221,74627315,74627852, 74610999,74622695,74623092,74623453,74623637,74625186,74626308,74627751,74628482, 0 CCDC33 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 240 NM_001130705 chr4 + 175839508 175899331 175896676 175899139 3 175839508,175852136,175896496, 175839622,175852325,175899331, 0 ADAM29 cmpl cmpl -1,-1,0, 240 NM_001130704 chr4 + 175839508 175899331 175896676 175899139 4 175839508,175852136,175858083,175896496, 175839622,175852325,175858164,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,0, 1024 NR_037930 chr20 - 57603732 57617901 57617901 57617901 6 57603732,57605357,57610026,57611525,57611744,57617753, 57603896,57605484,57610181,57611628,57611815,57617901, 0 SLMO2-ATP5E unk unk -1,-1,-1,-1,-1,-1, 1024 NR_037929 chr20 - 57603732 57617901 57617901 57617901 8 57603732,57605357,57610026,57611525,57611744,57612245,57613520,57617753, 57603896,57605484,57610181,57611628,57611815,57612335,57613689,57617901, 0 SLMO2-ATP5E unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1608 NM_001163438 chrX + 134124967 134126503 134125125 134125377 1 134124967, 134126503, 0 SMIM10 cmpl cmpl 0, 1776 NM_001272110 chr1 - 156213111 156217908 156213651 156214644 7 156213111,156214551,156214932,156215572,156215913,156216471,156217705, 156214194,156214702,156215029,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1776 NM_001272109 chr1 - 156213111 156217908 156213651 156214644 5 156213111,156214551,156214932,156215572,156217747, 156214194,156214702,156215029,156216041,156217908, 0 PAQR6 cmpl cmpl 0,0,-1,-1,-1, 1776 NM_001272108 chr1 - 156213111 156217908 156213919 156216522 6 156213111,156214551,156214932,156215913,156216471,156217747, 156214194,156214702,156215029,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,0,0,-1, 1776 NM_001272107 chr1 - 156213111 156217908 156213919 156215639 7 156213111,156214551,156214932,156215325,156215572,156216471,156217705, 156214194,156214702,156215029,156215452,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,0,-1,-1, 1776 NM_001272106 chr1 - 156213111 156217908 156213651 156215437 6 156213111,156214480,156214932,156215325,156215572,156217747, 156214194,156214580,156215029,156215452,156216041,156217908, 0 PAQR6 cmpl cmpl 0,2,1,0,-1,-1, 1021 NM_024946 chr16 - 57186377 57219976 57188201 57207766 7 57186377,57197912,57201004,57206162,57206687,57207639,57219732, 57188419,57197977,57201138,57206284,57206786,57207781,57219976, 0 FAM192A cmpl cmpl 1,2,0,1,1,0,-1, 912 NM_015703 chr22 - 42904340 42915829 42908915 42915792 7 42904340,42910111,42910687,42911156,42912016,42914010,42915719, 42909001,42910310,42910785,42911274,42912142,42914153,42915829, 0 RRP7A cmpl cmpl 1,0,1,0,0,1,0, 1657 NM_020957 chr5 + 140561264 140565796 140562134 140564465 1 140561264, 140565796, 0 PCDHB16 cmpl cmpl 0, 1073 NM_001282941 chr10 - 63997908 64028622 63999402 64028369 5 63997908,64000900,64005757,64022383,64028309, 63999524,64000954,64005816,64022580,64028622, 0 RTKN2 cmpl cmpl 1,1,2,0,0, 971 NR_024225 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A11 unk unk -1, 971 NR_024225 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A11 unk unk -1, 954 NR_024223 chr19 + 48427035 48427156 48427156 48427156 1 48427035, 48427156, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50595745 50595866 50595866 50595866 1 50595745, 50595866, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50601082 50601203 50601203 50601203 1 50601082, 50601203, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50604147 50604268 50604268 50604268 1 50604147, 50604268, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50607211 50607332 50607332 50607332 1 50607211, 50607332, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50610270 50610391 50610391 50610391 1 50610270, 50610391, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50615624 50615745 50615745 50615745 1 50615624, 50615745, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50620976 50621097 50621097 50621097 1 50620976, 50621097, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A5 unk unk -1, 971 NR_024223 chr19 - 50631658 50631779 50631779 50631779 1 50631658, 50631779, 0 SNAR-A5 unk unk -1, 954 NR_024221 chr19 + 48453552 48453671 48453671 48453671 1 48453552, 48453671, 0 SNAR-C3 unk unk -1, 267 NM_001114132 chr2 + 203879601 204082717 203881107 204082077 55 203879601,203880878,203906487,203914536,203921149,203922048,203933115,203942474,203947941,203949185,203964351,203972142,203972330,203974872,203976701,203977737,203980707,203986976,203990074,203990682,203991279,203991546,203992503,203995040,203996695,203997780,204000399,204001321,204002884,204003342,204009322,204009733,204013713,204016187,204022421,204030871,204031949,204034469,204036650,204037451,204039869,204045104,204048001,204053194,204055014,204058517,204062024,204064060,204066265,204067409,204073359,204073883,204075680,204078240,204081975, 203879705,203881158,203906579,203914698,203921231,203922176,203933198,203942560,203948248,203949292,203964435,203972241,203972911,203975005,203976821,203978041,203980793,203987066,203990243,203990816,203991439,203991649,203992660,203995199,203996855,203997869,204000975,204001497,204003038,204003471,204009628,204009883,204013871,204016312,204022548,204031020,204032083,204034574,204036746,204037576,204040010,204045235,204048111,204053312,204055112,204058634,204062114,204064170,204066438,204067504,204073476,204074045,204075829,204078376,204082717, 0 NBEAL1 cmpl cmpl -1,0,0,2,2,0,2,1,0,1,0,0,0,2,0,0,1,0,0,1,0,1,2,0,0,1,0,0,2,0,0,0,0,2,1,2,1,0,0,0,2,2,1,0,1,0,0,0,2,1,0,0,0,2,0, 898 NM_003573 chr19 + 41099071 41135725 41099071 41135455 33 41099071,41105102,41105307,41105973,41110940,41111310,41111634,41112138,41112309,41113270,41114125,41114389,41115435,41115651,41116437,41117057,41117764,41117978,41118970,41119309,41119821,41120220,41122794,41123005,41125251,41128305,41128854,41129508,41129840,41131761,41132879,41133609,41135300, 41099087,41105161,41105462,41106083,41111132,41111558,41111737,41112213,41112432,41113435,41114275,41114509,41115567,41115777,41116563,41117300,41117890,41118098,41119102,41119435,41119944,41120352,41122926,41123130,41125398,41128572,41128926,41129637,41129987,41131914,41133260,41133762,41135725, 0 LTBP4 cmpl cmpl 0,1,0,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 890 NM_052935 chr17 - 39981333 39992523 39981774 39992445 9 39981333,39983677,39985041,39987052,39988643,39991321,39991454,39992110,39992433, 39981909,39983878,39985204,39987142,39988729,39991368,39991524,39992209,39992523, 0 NT5C3B cmpl cmpl 0,0,2,2,0,1,0,0,0, 1650 NM_203347 chr9 - 139654085 139658965 139656270 139658940 7 139654085,139656238,139656639,139657808,139658164,139658321,139658844, 139654235,139656305,139656741,139657919,139658235,139658461,139658965, 0 LCN15 cmpl cmpl -1,1,1,1,2,0,0, 152 NM_001077206 chr4 - 83739813 83812412 83740226 83803089 26 83739813,83742189,83745707,83748521,83750152,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 1354 NM_178176 chr7 - 100839011 100844302 100839226 100844135 7 100839011,100839467,100841471,100841906,100843514,100843688,100844026, 100839381,100839670,100841646,100842111,100843585,100843796,100844302, 0 MOGAT3 cmpl cmpl 1,2,1,0,1,1,0, 968 NM_006841 chr3 + 50242691 50258406 50251632 50257609 16 50242691,50251581,50251833,50252084,50252817,50252975,50253171,50254669,50254846,50255107,50255348,50255701,50256024,50256235,50257312,50257504, 50242781,50251733,50251915,50252200,50252891,50253068,50253253,50254752,50254905,50255272,50255428,50255802,50256149,50256380,50257416,50258406, 0 SLC38A3 cmpl cmpl -1,0,2,0,2,1,1,2,1,0,0,2,1,0,1,0, 923 NM_080614 chr20 - 44402846 44420547 44403066 44418614 7 44402846,44404055,44405713,44416474,44417569,44418532,44420470, 44403083,44404241,44405848,44416621,44417698,44418621,44420547, 0 WFDC3 cmpl cmpl 1,1,1,1,1,0,-1, 224 NM_207118 chr6 + 158589378 158620376 158591535 158613189 3 158589378,158591501,158613008, 158589427,158591570,158620376, 0 GTF2H5 cmpl cmpl -1,0,2, 1189 NM_138570 chr17 - 79224670 79269139 79225014 79268721 14 79224670,79225994,79226872,79234037,79244717,79246315,79249768,79250830,79254408,79255988,79257208,79258649,79263490,79268622, 79225412,79226483,79227040,79234194,79244824,79246427,79249951,79250933,79254533,79256132,79257302,79258695,79263608,79269139, 0 SLC38A10 cmpl cmpl 1,1,1,0,1,0,0,2,0,0,2,1,0,0, 1183 NM_001122659 chr13 - 78469615 78492966 78472334 78492708 7 78469615,78473993,78474655,78475192,78477290,78477629,78492225, 78472469,78474102,78474789,78475342,78477495,78477742,78492966, 0 EDNRB cmpl cmpl 0,2,0,0,2,0,0, 158 NR_003228 chr16 + 90038987 90067195 90067195 90067195 13 90038987,90044046,90045217,90046649,90048180,90050938,90055259,90057273,90059128,90060175,90066231,90066510,90066856, 90039173,90044210,90045286,90046744,90048331,90051007,90055359,90057411,90059236,90060301,90066432,90066705,90067195, 0 AFG3L1P unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1156 NM_007265 chr10 - 74894281 74927853 74894340 74923695 14 74894281,74896461,74897760,74899066,74899388,74906033,74908033,74912050,74914013,74916032,74916325,74920191,74923490,74927623, 74894571,74896676,74897828,74899253,74899495,74906119,74908162,74912179,74914206,74916211,74916413,74920309,74923708,74927853, 0 ECD cmpl cmpl 0,1,2,1,2,0,0,0,2,0,2,1,0,-1, 75 NM_001242672 chr1 - 2572806 2706230 2572806 2706156 7 2572806,2575702,2576731,2700153,2702383,2704045,2706067, 2573334,2575917,2577002,2700320,2702588,2704271,2706230, 0 TTC34 cmpl cmpl 0,1,0,1,0,2,0, 665 NM_007333 chr12 - 10568182 10573194 10568206 10573149 6 10568182,10569265,10570942,10571642,10572464,10572962, 10568393,10569366,10571097,10571687,10572563,10573194, 0 KLRC3 cmpl cmpl 2,0,1,1,1,0, 141 NM_005909 chr5 + 71403117 71505397 71403358 71501066 7 71403117,71411524,71479569,71482440,71489692,71499389,71500910, 71403542,71411626,71479652,71482581,71496194,71499628,71505397, 0 MAP1B cmpl cmpl 0,1,1,0,0,1,0, 144 NM_001278244 chr9 - 74966340 74979508 74970868 74975694 6 74966340,74971846,74974333,74975025,74975543,74979377, 74971017,74971972,74974437,74975137,74975703,74979508, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1, 144 NM_001278243 chr9 - 74966340 74979508 74970868 74975694 7 74966340,74971846,74974333,74975025,74975543,74978385,74979377, 74971017,74971972,74974437,74975137,74975703,74978522,74979508, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1,-1, 906 NM_001556 chr8 + 42128819 42190171 42129618 42188497 22 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB cmpl cmpl -1,0,0,2,0,1,0,0,2,2,0,0,1,2,1,0,2,1,2,0,2,0, 1351 NM_012243 chr1 + 100435344 100492534 100459110 100488032 8 100435344,100459092,100464816,100472589,100476920,100480857,100483237,100487941, 100435718,100459297,100464971,100472712,100477089,100480976,100483371,100492534, 0 SLC35A3 cmpl cmpl -1,0,1,0,0,1,0,2, 954 NM_001256965 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481397, 48474576,48475386,48476425,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 834 NM_020056 chr6 + 32709162 32714664 32709220 32714171 5 32709162,32712935,32713567,32714016,32714358, 32709302,32713184,32713849,32714191,32714664, 0 HLA-DQA2 cmpl cmpl 0,1,1,1,-1, 968 NM_000172 chr3 + 50229042 50235129 50229158 50232388 9 50229042,50230565,50230697,50230938,50231185,50231524,50231933,50232197,50233834, 50229264,50230608,50230839,50231096,50231314,50231654,50232087,50232389,50235129, 0 GNAT1 cmpl cmpl 0,1,2,0,2,2,0,1,-1, 864 NM_030643 chr22 - 36585175 36600879 36587122 36597780 6 36585175,36591356,36595375,36597745,36598038,36600673, 36587958,36591483,36595422,36597934,36598101,36600879, 0 APOL4 cmpl cmpl 2,1,2,0,-1,-1, 1321 NM_001159749 chr5 - 96502449 96519005 96503142 96518895 8 96502449,96504463,96506909,96508878,96512819,96513435,96514758,96518829, 96503695,96504556,96507101,96508967,96512995,96513552,96514897,96519005, 0 RIOK2 cmpl cmpl 2,2,2,0,1,1,0,0, 1193 NM_014733 chr5 + 79703831 79775688 79729966 79773196 18 79703831,79729927,79732574,79735754,79738941,79741081,79743844,79745409,79746249,79747303,79751510,79752279,79752763,79755232,79768579,79769572,79770481,79773037, 79703972,79730036,79734826,79735851,79739103,79741224,79744223,79745532,79746405,79747528,79751593,79752384,79752911,79755313,79768742,79769678,79770649,79775688, 0 ZFYVE16 cmpl cmpl -1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 1501 NM_001080138 chrX - 120096880 120100198 120098189 120099943 3 120096880,120098158,120099201, 120097020,120098314,120100198, 0 CT47A9 cmpl cmpl -1,1,0, 91 NM_001145785 chr19 - 19256375 19281098 19256605 19261544 9 19256375,19257081,19257363,19257550,19257844,19258506,19260034,19261490,19281013, 19256831,19257193,19257457,19257684,19257992,19258641,19260238,19261573,19281098, 0 MEF2B cmpl cmpl 2,1,0,1,0,0,0,0,-1, 180 NM_032494 chr2 - 112973438 113012664 112988494 113012558 9 112973438,112988479,112989414,112990834,112991696,112994138,112995891,113007767,113012484, 112974045,112988527,112989522,112990948,112991813,112994272,112996105,113007849,113012664, 0 ZC3H8 cmpl cmpl -1,0,0,0,0,1,0,2,0, 825 NM_009588 chr6 - 31548335 31550202 31549335 31550194 3 31548335,31549335,31550032, 31548940,31549407,31550202, 0 LTB cmpl cmpl -1,0,0, 87 NM_001190726 chr12 - 15260715 15374411 15262043 15370423 4 15260715,15264277,15370362,15374128, 15262451,15264351,15370537,15374411, 0 RERG cmpl cmpl 0,1,0,-1, 832 NM_001193515 chr2 + 32390909 32449181 32390969 32445782 13 32390909,32399131,32400387,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32434561,32445281, 32390972,32399216,32400430,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32434630,32449181, 0 SLC30A6 cmpl cmpl 0,0,1,2,2,2,2,1,2,2,0,0,0, 1768 NM_018845 chr1 + 155108287 155111334 155108387 155110757 6 155108287,155108774,155109303,155110036,155110454,155110655, 155108467,155108852,155109427,155110198,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,2,2,0,0,0, 1659 NM_032402 chr5 + 140855568 140858362 140855683 140858275 1 140855568, 140858362, 0 PCDHGC3 cmpl cmpl 0, 137 NM_018296 chr16 + 67360746 67419109 67360765 67418992 14 67360746,67375859,67380158,67381397,67384104,67397492,67399206,67400919,67404846,67409149,67410629,67412491,67416035,67418772, 67360835,67375987,67380351,67381494,67384193,67397617,67399258,67401360,67405145,67409315,67410775,67412615,67416150,67419109, 0 LRRC36 cmpl cmpl 0,1,0,1,2,1,0,1,1,0,1,0,1,2, 11 NM_058176 chr7 + 18535884 18993939 18535925 18993876 23 18535884,18624903,18629967,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835,18767202,18788627,18801779,18806728,18832967,18868783,18869083,18875089,18875522,18914100,18975431,18993768, 18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18706099,18767380,18788761,18801900,18806778,18833075,18868839,18869171,18875209,18875620,18914219,18975565,18993939, 0 HDAC9 cmpl cmpl 0,1,0,1,2,1,1,0,0,1,0,0,1,0,1,0,0,2,0,0,2,1,0, 956 NM_184231 chr3 - 48711271 48723366 48711976 48723240 13 48711271,48715996,48716309,48716487,48716809,48717007,48717233,48717491,48718719,48719477,48719780,48720335,48723069, 48712180,48716169,48716402,48716616,48716890,48717146,48717320,48717662,48719213,48719568,48719985,48720445,48723366, 0 NCKIPSD cmpl cmpl 0,1,1,1,1,0,0,0,1,0,2,0,0, 1234 NR_027379 chr1 - 85093912 85100703 85100703 85100703 3 85093912,85097292,85100614, 85096570,85097429,85100703, 0 C1orf180 unk unk -1,-1,-1, 111 NM_001284424 chr3 + 39851150 40301811 39942307 40299657 16 39851150,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,0,2,2,1,1,0,0,0,1,0,0,0,0,1,0, 949 NR_036158 chr19 + 47730198 47730278 47730278 47730278 1 47730198, 47730278, 0 MIR3190 unk unk -1, 726 NR_036156 chr19 + 18497371 18497444 18497444 18497444 1 18497371, 18497444, 0 MIR3189 unk unk -1, 725 NR_036155 chr19 + 18392886 18392971 18392971 18392971 1 18392886, 18392971, 0 MIR3188 unk unk -1, 591 NR_036154 chr19 + 813583 813653 813653 813653 1 813583, 813653, 0 MIR3187 unk unk -1, 698 NR_036153 chr18 + 14830164 14830241 14830241 14830241 1 14830164, 14830241, 0 MIR3156-2 unk unk -1, 1190 NR_036152 chr17 - 79418129 79418214 79418214 79418214 1 79418129, 79418214, 0 MIR3186 unk unk -1, 802 NR_036149 chr17 - 28444103 28444178 28444178 28444178 1 28444103, 28444178, 0 MIR3184 unk unk -1, 592 NR_036148 chr17 - 925715 925799 925799 925799 1 925715, 925799, 0 MIR3183 unk unk -1, 1222 NR_036147 chr16 + 83541950 83542013 83542013 83542013 1 83541950, 83542013, 0 MIR3182 unk unk -1, 973 NM_001185011 chr22 + 50946644 50963209 50946766 50961804 20 50946644,50954875,50955855,50956005,50956169,50956401,50956561,50957077,50957618,50959393,50959971,50960169,50960414,50960609,50960771,50960926,50961099,50961249,50961445,50961663, 50946874,50954977,50955911,50956090,50956238,50956481,50956707,50957161,50957749,50959465,50960038,50960277,50960468,50960680,50960844,50960998,50961149,50961351,50961595,50963209, 0 NCAPH2 cmpl cmpl 0,0,0,2,0,0,2,1,1,0,0,1,1,1,0,1,1,0,0,0, 597 NM_001165921 chr17 + 1646129 1658559 1648289 1657828 9 1646129,1648285,1648468,1648626,1650312,1650602,1651891,1655879,1657415, 1646202,1648352,1648507,1648699,1650456,1650806,1652034,1656084,1658559, 0 SERPINF2 cmpl cmpl -1,0,0,0,1,1,1,0,1, 828 NM_181842 chr6 - 31867393 31869769 31867702 31869082 2 31867393,31869613, 31869102,31869769, 0 ZBTB12 cmpl cmpl 0,-1, 821 NM_001243225 chr22 - 30972611 30987927 30973032 30987820 15 30972611,30974823,30975123,30975737,30976039,30976557,30976998,30977320,30977514,30980351,30980532,30983272,30984007,30985177,30987796, 30973116,30974985,30975290,30975922,30976165,30976673,30977088,30977395,30977631,30980441,30980704,30983382,30984161,30985257,30987927, 0 PES1 cmpl cmpl 0,0,1,2,2,0,0,0,0,0,2,0,2,0,0, 659 NR_046447 chr12 + 9800642 9811010 9811010 9811010 4 9800642,9806278,9808468,9809516, 9800924,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 659 NR_046446 chr12 + 9800642 9811010 9811010 9811010 5 9800642,9806278,9808468,9809163,9809516, 9800924,9806404,9808575,9809245,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 659 NR_046445 chr12 + 9800642 9811010 9811010 9811010 5 9800642,9806278,9808468,9809163,9809516, 9800924,9806404,9808575,9809293,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 659 NR_046444 chr12 + 9800642 9811010 9811010 9811010 5 9800642,9806278,9807816,9808468,9809516, 9801529,9806404,9807899,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1,-1, 845 NM_198398 chr20 + 34129777 34145405 34129846 34145275 14 34129777,34130071,34130261,34130570,34135162,34136261,34136560,34142142,34142814,34143803,34143977,34144743,34144964,34145195, 34129934,34130142,34130349,34130690,34135256,34136427,34136618,34142157,34142846,34143900,34144042,34144880,34145020,34145405, 0 ERGIC3 cmpl cmpl 0,1,0,1,1,2,0,1,1,0,1,0,2,1, 953 NM_001271703 chr10 + 48255203 48271368 48255428 48270515 10 48255203,48262167,48263039,48263789,48264357,48264963,48265296,48267170,48267977,48270455, 48255449,48262281,48263130,48263869,48264417,48265057,48265392,48267229,48268100,48271368, 0 ANXA8 cmpl cmpl 0,0,0,1,0,0,1,1,0,0, 778 NR_001291 chr15 + 25415869 25415951 25415951 25415951 1 25415869, 25415951, 0 SNORD115-1 unk unk -1, 1669 NM_001282859 chr3 - 142136683 142166904 142137311 142166786 12 142136683,142137656,142139857,142140317,142141423,142141676,142142401,142144063,142144270,142145585,142151502,142166711, 142137451,142137723,142139995,142140385,142141592,142141764,142142484,142144174,142144380,142145683,142151735,142166904, 0 XRN1 cmpl cmpl 1,0,0,1,0,2,0,0,1,2,0,0, 734 NR_026852 chr13 + 19582398 19586774 19586774 19586774 4 19582398,19583413,19585572,19585819, 19583279,19583583,19585704,19586774, 0 LINC00442 unk unk -1,-1,-1,-1, 886 NM_001136275 chr1 + 39456915 39471737 39457052 39469727 4 39456915,39463842,39469018,39469716, 39457272,39463983,39469090,39471737, 0 AKIRIN1 cmpl cmpl 0,1,1,1, 600 NM_001267721 chr16 - 2028917 2031550 2029052 2031180 8 2028917,2029425,2029790,2029997,2030367,2030641,2030939,2031114, 2029350,2029543,2029904,2030182,2030545,2030729,2031020,2031550, 0 NOXO1 cmpl cmpl 2,1,1,2,1,0,0,0, 1447 NM_198581 chr2 + 113033177 113097640 113033571 113090065 12 113033177,113057425,113060805,113067461,113069380,113074046,113074797,113079332,113080225,113081728,113082540,113088581, 113033603,113057606,113060928,113067738,113069514,113074163,113074909,113079442,113080479,113082240,113082774,113097640, 0 ZC3H6 cmpl cmpl 0,2,0,0,1,0,0,1,0,2,1,1, 838 NM_005452 chr6 - 33246879 33257304 33247052 33256947 15 33246879,33247273,33247540,33248204,33248450,33254571,33254867,33255131,33255390,33255741,33255924,33256134,33256390,33256580,33256878, 33247151,33247387,33247636,33248299,33248764,33254671,33255003,33255282,33255495,33255803,33256012,33256247,33256471,33256790,33257304, 0 WDR46 cmpl cmpl 0,0,0,1,2,1,0,2,2,0,2,0,0,0,0, 30 NM_201569 chr1 + 183441505 183523328 183441755 183522336 23 183441505,183481971,183485008,183486822,183495730,183497090,183498026,183498532,183502298,183502810,183506279,183507514,183510118,183511210,183513487,183514064,183515100,183516237,183518342,183518898,183519885,183520179,183522111, 183441784,183482003,183485126,183486955,183495902,183497162,183498177,183498668,183502461,183502967,183506350,183507575,183510238,183511499,183513632,183514447,183515472,183516387,183518423,183519058,183520056,183520325,183523328, 0 SMG7 cmpl cmpl 0,2,1,2,0,1,1,2,0,1,2,1,2,2,0,1,0,0,0,0,1,1,0, 1347 NM_004951 chr13 - 99946788 99959749 99947313 99948399 2 99946788,99959593, 99948417,99959749, 0 GPR183 cmpl cmpl 0,-1, 831 NM_001286474 chr6 - 32260474 32339689 32260757 32339483 26 32260474,32267698,32268456,32270385,32283548,32284170,32290262,32290893,32291367,32298365,32299810,32303213,32303688,32304391,32306755,32307376,32311014,32317516,32322900,32323425,32333943,32334049,32335701,32336558,32337673,32339470, 32261812,32267713,32268477,32270406,32283569,32284191,32290283,32290914,32291391,32298386,32299831,32303234,32303709,32304412,32306776,32307415,32311035,32317537,32322921,32323446,32333964,32334079,32335734,32336591,32337760,32339689, 0 C6orf10 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 953 NR_024193 chr17 - 48248788 48249837 48249837 48249837 1 48248788, 48249837, 0 HILS1 unk unk -1, 953 NR_024192 chr17 - 48248788 48249837 48249837 48249837 2 48248788,48249538, 48249392,48249837, 0 HILS1 unk unk -1,-1, 146 NM_003664 chr5 - 77298149 77590579 77298725 77590403 27 77298149,77311233,77316515,77330184,77334866,77385216,77396776,77406030,77409575,77411949,77423853,77424944,77436966,77452081,77458642,77461433,77471449,77471607,77473162,77477330,77511878,77521365,77523195,77523967,77536685,77563343,77590275, 77298879,77311372,77316613,77330269,77335098,77385323,77396849,77406178,77409747,77412058,77423984,77425131,77437143,77452191,77458775,77461496,77471521,77471662,77473260,77477486,77512061,77521432,77523356,77524063,77536760,77563419,77590579, 0 AP3B1 cmpl cmpl 2,1,2,1,0,1,0,2,1,0,1,0,0,1,0,0,0,2,0,0,0,2,0,0,0,2,0, 155 NM_000840 chr7 + 86273229 86494192 86394461 86493671 6 86273229,86394321,86415576,86468154,86479685,86493597, 86274188,86394929,86416432,86469221,86479860,86494192, 0 GRM3 cmpl cmpl -1,0,0,1,0,1, 656 NM_001242332 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L29 cmpl cmpl 0, 656 NM_001242332 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L29 cmpl cmpl 0, 647 NM_016492 chr17 + 8191968 8193409 8192106 8193254 5 8191968,8192273,8192575,8192820,8193130, 8192183,8192390,8192732,8192906,8193409, 0 RANGRF cmpl cmpl 0,2,2,0,2, 954 NM_001256966 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481397, 48474576,48475281,48476425,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 864 NM_001270896 chr1 - 36602169 36615115 36602803 36605671 5 36602169,36603396,36605320,36605669,36614692, 36602923,36603579,36605420,36605767,36615115, 0 TRAPPC3 cmpl cmpl 0,0,2,0,-1, 1063 NM_018419 chr20 - 62679078 62680979 62679518 62680869 2 62679078,62680511, 62680315,62680979, 0 SOX18 cmpl cmpl 1,0, 809 NM_052967 chr6 - 29454542 29455679 29454542 29455679 1 29454542, 29455679, 0 MAS1L cmpl cmpl 0, 3 NM_001029884 chr6 + 150920998 151164799 151054817 151162032 17 150920998,150971863,151054719,151089773,151107525,151116991,151121854,151125745,151130240,151130516,151130783,151139318,151140814,151142330,151144789,151151717,151160968, 150921153,150971922,151055228,151089874,151107595,151117038,151122005,151125877,151130423,151130612,151130870,151139352,151140910,151142369,151144812,151153341,151164799, 0 PLEKHG1 cmpl cmpl -1,-1,0,0,2,0,2,0,0,0,0,0,1,1,1,0,1, 1102 NM_002496 chr11 + 67798083 67804114 67799618 67804060 7 67798083,67799618,67799752,67800389,67800577,67803719,67803928, 67798200,67799676,67799803,67800479,67800750,67803848,67804114, 0 NDUFS8 cmpl cmpl -1,0,1,1,1,0,0, 164 NM_017599 chr12 + 95611521 95696566 95611626 95694449 12 95611521,95645715,95650925,95656681,95660132,95663826,95668517,95676088,95681439,95688047,95689826,95693940, 95611662,95645847,95651015,95656857,95660408,95663964,95668665,95676420,95681633,95688148,95690034,95696566, 0 VEZT cmpl cmpl 0,0,0,0,2,2,2,0,2,1,0,1, 172 NM_017619 chr1 + 104068577 104097859 104068692 104094402 15 104068577,104070316,104076360,104077395,104077951,104078747,104079963,104083971,104085917,104087562,104088869,104089598,104093562,104094342,104097655, 104068884,104070364,104076479,104077479,104078063,104078816,104080106,104084097,104086069,104087724,104088964,104089657,104093695,104094414,104097859, 0 RNPC3 cmpl cmpl 0,0,0,2,2,0,0,2,2,1,1,0,2,0,-1, 983 NM_133367 chr6 + 52226925 52272575 52268011 52269076 2 52226925,52267959, 52227047,52272575, 0 PAQR8 cmpl cmpl -1,0, 1017 NM_001135195 chr12 + 56624500 56631629 56625058 56631515 11 56624500,56624987,56626472,56628607,56628940,56629343,56630179,56630365,56630714,56630933,56631371, 56624657,56625345,56626656,56628770,56629110,56629484,56630276,56630530,56630795,56631124,56631629, 0 SLC39A5 cmpl cmpl -1,0,2,0,1,0,0,1,1,1,0, 1179 NM_001172087 chr8 - 77892493 77913280 77895496 77896414 3 77892493,77912225,77913118, 77896431,77912368,77913280, 0 PEX2 cmpl cmpl 0,-1,-1, 222 NM_138400 chr7 + 156742416 156765876 156742431 156762397 11 156742416,156745167,156746796,156752544,156754844,156755701,156756598,156758963,156759654,156761780,156762222, 156743418,156745292,156746992,156752868,156754955,156755869,156756720,156759096,156759786,156761890,156765876, 0 NOM1 cmpl cmpl 0,0,2,0,0,0,0,2,0,0,2, 943 NM_147192 chr1 + 46972667 46979886 46972682 46978166 4 46972667,46976132,46976606,46977714, 46972836,46976326,46976955,46979886, 0 DMBX1 cmpl cmpl 0,1,0,1, 812 NM_001207043 chr6 + 29759682 29765584 29759784 29764971 3 29759682,29760213,29764969, 29760082,29760483,29765584, 0 LOC554223 cmpl cmpl 0,1,1, 1287 NM_016023 chr8 + 92082423 92099323 92082522 92097096 7 92082423,92083365,92086058,92090583,92092896,92096235,92097011, 92082694,92083517,92086139,92090896,92092958,92096342,92099323, 0 OTUD6B cmpl cmpl 0,1,0,0,1,0,2, 915 NM_001128588 chr18 + 43304091 43332485 43307236 43329916 11 43304091,43304914,43307225,43310264,43310979,43314238,43316420,43319127,43319492,43328340,43329742, 43304238,43304978,43307383,43310436,43311169,43314367,43316613,43319275,43319627,43328390,43332485, 0 SLC14A1 cmpl cmpl -1,-1,0,0,1,2,2,0,1,1,0, 1691 NR_030592 chrX - 145076301 145076378 145076378 145076378 1 145076301, 145076378, 0 MIR888 unk unk -1, 596 NR_026711 chrX + 1519423 1534314 1534314 1534314 6 1519423,1520354,1522353,1531635,1532654,1533635, 1519479,1521118,1522478,1531781,1533203,1534314, 0 ASMTL-AS1 unk unk -1,-1,-1,-1,-1,-1, 596 NR_026711 chrY + 1469423 1484314 1484314 1484314 6 1469423,1470354,1472353,1481635,1482654,1483635, 1469479,1471118,1472478,1481781,1483203,1484314, 0 ASMTL-AS1 unk unk -1,-1,-1,-1,-1,-1, 587 NR_027232 chrX + 281384 282054 282054 282054 1 281384, 282054, 0 LINC00685 unk unk -1, 586 NR_027232 chrY + 231384 232054 232054 232054 1 231384, 232054, 0 LINC00685 unk unk -1, 77 NM_014520 chr17 - 4442190 4458681 4442709 4458619 26 4442190,4443642,4444757,4445078,4445758,4445910,4446207,4447783,4448045,4448320,4448553,4448904,4449140,4451252,4451437,4451818,4452626,4453352,4455174,4455419,4455745,4457104,4457313,4457489,4458155,4458421, 4443262,4443779,4444859,4445186,4445827,4446036,4446460,4447941,4448216,4448470,4448640,4449056,4449237,4451352,4451605,4451944,4452737,4453648,4455292,4455587,4455921,4457212,4457388,4457573,4458251,4458681, 0 MYBBP1A cmpl cmpl 2,0,0,0,0,0,2,0,0,0,0,1,0,2,2,2,2,0,2,2,0,0,0,0,0,0, 1738 NM_001242769 chr6 + 151186814 151220136 151186958 151220043 8 151186814,151197225,151198769,151198908,151203897,151206769,151208980,151219995, 151187185,151197310,151198820,151198962,151204022,151206870,151209117,151220136, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0, 217 NM_001242768 chr6 + 151187468 151423023 151187494 151413692 28 151187468,151197225,151198769,151198908,151203897,151206769,151208977,151226785,151239712,151243340,151247257,151257939,151259834,151265621,151266602,151270166,151277130,151281410,151286104,151293082,151330954,151334914,151336015,151336651,151355628,151358100,151413602,151422661, 151187523,151197310,151198820,151198962,151204022,151206870,151209117,151226897,151239804,151243438,151247431,151258076,151259881,151265729,151266677,151270269,151277207,151281551,151286173,151293194,151331094,151334956,151336116,151336829,151355736,151358253,151413723,151423023, 0 MTHFD1L cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 146 NM_001271769 chr5 - 77298149 77590579 77298725 77563400 27 77298149,77311233,77316515,77330184,77334866,77385216,77396776,77406030,77409575,77411949,77423853,77424944,77436966,77452081,77458642,77461433,77471449,77471607,77473162,77477330,77511878,77521365,77523195,77523967,77536685,77563343,77590263, 77298879,77311372,77316613,77330269,77335098,77385323,77396849,77406178,77409747,77412058,77423984,77425131,77437143,77452191,77458775,77461496,77471521,77471662,77473260,77477486,77512061,77521432,77523356,77524063,77536760,77563419,77590579, 0 AP3B1 cmpl cmpl 2,1,2,1,0,1,0,2,1,0,1,0,0,1,0,0,0,2,0,0,0,2,0,0,0,0,-1, 598 NM_004043 chrX + 1714347 1761974 1734092 1761907 10 1714347,1734025,1742031,1743161,1746595,1748713,1751596,1752042,1755330,1761695, 1714425,1734161,1742206,1743291,1746664,1748832,1751680,1752183,1755453,1761974, 0 ASMT cmpl cmpl -1,0,0,1,2,2,1,1,1,1, 74 NM_004043 chrY + 1664347 1711974 1684092 1711907 10 1664347,1684025,1692031,1693161,1696595,1698713,1701596,1702042,1705330,1711695, 1664425,1684161,1692206,1693291,1696664,1698832,1701680,1702183,1705453,1711974, 0 ASMT cmpl cmpl -1,0,0,1,2,2,1,1,1,1, 834 NR_026859 chr15 - 32698800 32727065 32727065 32727065 5 32698800,32702782,32713882,32720391,32726788, 32699418,32702861,32713929,32720516,32727065, 0 ULK4P3 unk unk -1,-1,-1,-1,-1, 820 NR_026858 chr15 + 30864757 30892911 30892911 30892911 5 30864757,30865171,30871490,30888862,30892304, 30864774,30865219,30871615,30888941,30892911, 0 ULK4P1 unk unk -1,-1,-1,-1,-1, 834 NR_026858 chr15 - 32698811 32727250 32727250 32727250 5 32698811,32702782,32720391,32726788,32727233, 32699418,32702861,32720516,32726836,32727250, 0 ULK4P1 unk unk -1,-1,-1,-1,-1, 964 NR_036257 chrX + 49775279 49775358 49775358 49775358 1 49775279, 49775358, 0 MIR500B unk unk -1, 1760 NR_036259 chrX - 154115634 154115733 154115733 154115733 1 154115634, 154115733, 0 MIR1184-2 unk unk -1, 1764 NR_036259 chrX - 154612748 154612847 154612847 154612847 1 154612748, 154612847, 0 MIR1184-2 unk unk -1, 1765 NR_036259 chrX + 154687177 154687276 154687276 154687276 1 154687177, 154687276, 0 MIR1184-2 unk unk -1, 75 NM_001172656 chr4 - 2271323 2420370 2272451 2420050 12 2271323,2273037,2273401,2274899,2275788,2306015,2321896,2339133,2341179,2343204,2355659,2420011, 2272583,2273141,2273506,2275016,2275943,2307263,2321998,2339223,2341382,2343342,2355800,2420370, 0 ZFYVE28 cmpl cmpl 0,1,1,1,2,2,2,2,0,0,0,0, 639 NM_001256873 chr8 + 7189908 7191501 7189908 7191501 1 7189908, 7191501, 0 USP17L1P cmpl cmpl 0, 1777 NR_038443 chr5 + 156277548 156279539 156279539 156279539 1 156277548, 156279539, 0 PPP1R2P3 unk unk -1, 170 NM_001242559 chr2 + 102314537 102511152 102314542 102507711 30 102314537,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476104,102477286,102481391,102482892,102483673,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102477448,102481498,102483041,102483771,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,2,0,1,1,1,1,0,0,1,0, 957 NM_001136157 chrX - 48779302 48814893 48780450 48814832 9 48779302,48780909,48781127,48783122,48791736,48791983,48792226,48801450,48814238, 48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48814893, 0 OTUD5 cmpl cmpl 1,1,0,0,1,0,1,0,0, 1183 NM_006383 chr15 - 78396947 78423877 78397652 78423557 6 78396947,78398080,78401576,78403506,78416046,78423506, 78397674,78398276,78401724,78403618,78416081,78423877, 0 CIB2 cmpl cmpl 2,1,0,2,0,0, 31 NM_003603 chr4 - 186506597 186733410 186508780 186611725 23 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186547985,186551702,186556508,186559232,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186611715,186696380,186732817, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186548173,186551752,186556565,186559316,186567936,186570810,186572982,186573882,186578750,186583396,186599632,186599976,186611765,186696520,186733410, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,2,0,0,0,2,1,1,0,1,0,1,1,0,-1,-1, 963 NM_002237 chr20 - 49620192 49639675 49620575 49626875 3 49620192,49626101,49639406, 49621343,49626901,49639675, 0 KCNG1 cmpl cmpl 0,0,-1, 864 NM_014408 chr1 - 36602169 36615115 36602803 36614979 5 36602169,36603396,36605320,36605669,36614937, 36602923,36603579,36605420,36605767,36615115, 0 TRAPPC3 cmpl cmpl 0,0,2,0,0, 2197 NM_001136574 chr2 - 211295972 211341429 211299210 211341120 10 211295972,211300110,211300939,211302413,211305321,211306031,211319830,211336682,211341039,211341370, 211299287,211300183,211301116,211302596,211305468,211306167,211320038,211336800,211341136,211341429, 0 LANCL1 cmpl cmpl 1,0,0,0,0,2,1,0,0,-1, 862 NM_001195430 chr13 - 36420036 36429998 36424856 36429665 3 36420036,36428635,36429646, 36424913,36428730,36429998, 0 DCLK1 cmpl cmpl 0,1,0, 93 NM_001135993 chr18 + 21594383 21715574 21594835 21712538 14 21594383,21644103,21645975,21649120,21660548,21662876,21694517,21698088,21703797,21705390,21708849,21710276,21711845,21712448, 21595002,21644152,21646104,21649235,21660903,21663045,21694611,21698196,21703907,21705514,21708947,21710381,21711884,21715574, 0 TTC39C cmpl cmpl 0,2,0,0,1,2,0,1,1,0,1,0,0,0, 1735 NM_001164410 chr7 - 150750901 150755052 150751095 150754935 11 150750901,150751298,150751491,150752113,150752363,150752618,150753666,150753822,150753994,150754158,150754898, 150751182,150751379,150751552,150752183,150752460,150752693,150753723,150753883,150754062,150754247,150755052, 0 CDK5 cmpl cmpl 0,0,2,1,0,0,0,2,0,1,0, 981 NM_177535 chrX + 51927918 51935364 51929018 51935162 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 1090 NM_130443 chr11 + 66247483 66277130 66249671 66276722 18 66247483,66249663,66252643,66254010,66254738,66255384,66258723,66258964,66259168,66260186,66260537,66261011,66262676,66262835,66263100,66264768,66272082,66276549, 66247936,66249941,66252733,66254148,66254813,66255478,66258854,66259095,66259227,66260381,66260650,66261104,66262739,66262960,66263221,66264948,66272245,66277130, 0 DPP3 cmpl cmpl -1,0,0,0,0,0,1,0,2,1,1,0,0,0,2,0,0,1, 1614 NR_037450 chr2 + 134884695 134884763 134884763 134884763 1 134884695, 134884763, 0 MIR3679 unk unk -1, 713 NR_037446 chr1 + 16875408 16875482 16875482 16875482 1 16875408, 16875482, 0 MIR3675 unk unk -1, 602 NR_037448 chr16 + 2320713 2320773 2320773 2320773 1 2320713, 2320773, 0 MIR3677 unk unk -1, 1743 NM_004909 chrX - 151876742 151877747 151877052 151877594 2 151876742,151877331, 151877122,151877747, 0 CSAG2 cmpl cmpl 2,0, 105 NM_133468 chr7 + 33944522 34195484 33945225 34192885 16 33944522,33945085,33946429,33976900,34006090,34009940,34014313,34085917,34091472,34094774,34097670,34101613,34118468,34125367,34182841,34192703, 33944756,33945358,33946515,33977000,34006173,34010031,34014396,34086017,34091582,34094915,34097775,34101659,34118798,34125704,34182972,34195484, 0 BMPER cmpl cmpl -1,0,1,0,1,0,1,0,1,0,0,0,1,1,2,1, 1265 NM_001284316 chr16 + 89160216 89222254 89169140 89220615 9 89160216,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160400,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,0,0,2,1,0,1,1,2, 920 NR_026952 chr11 + 43918852 43921424 43921424 43921424 1 43918852, 43921424, 0 SEC14L1P1 unk unk -1, 774 NM_001164692 chr14 + 24779356 24781259 24779870 24780947 2 24779356,24779804, 24779461,24781259, 0 LTB4R2 cmpl cmpl -1,0, 1743 NM_001129828 chrX - 151876742 151877747 151877052 151877594 2 151876742,151877331, 151877122,151877747, 0 CSAG3 cmpl cmpl 2,0, 1744 NM_001129828 chrX + 151927733 151928738 151927886 151928428 2 151927733,151928358, 151928149,151928738, 0 CSAG3 cmpl cmpl 0,2, 1379 NM_001100118 chr14 - 104163953 104181823 104165134 104177424 9 104163953,104165469,104165700,104169509,104173339,104174858,104177369,104177802,104181760, 104165354,104165516,104165913,104169664,104173552,104174996,104177582,104177904,104181823, 0 XRCC3 cmpl cmpl 2,0,0,1,1,1,0,-1,-1, 170 NM_145687 chr2 + 102314537 102511152 102314542 102507711 31 102314537,102314934,102407181,102440389,102441780,102445965,102448182,102450870,102452361,102456280,102459070,102460562,102472438,102475457,102476197,102477286,102481391,102482889,102483673,102484490,102486083,102486756,102490108,102490543,102493464,102499012,102501648,102503549,102504239,102505257,102507627, 102314599,102315000,102407238,102440515,102441891,102446056,102448313,102450925,102452440,102456456,102459143,102460773,102472600,102475544,102476326,102477448,102481498,102483041,102483771,102484499,102486259,102486877,102490226,102490714,102493608,102499147,102501749,102503699,102504399,102505397,102511152, 0 MAP4K4 cmpl cmpl 0,0,0,0,0,0,1,0,1,2,1,2,0,0,0,0,0,2,1,0,0,2,0,1,1,1,1,0,0,1,0, 82 NM_017491 chr4 - 10075962 10118573 10077001 10118290 15 10075962,10078927,10079376,10080514,10082980,10084645,10086064,10089330,10089916,10090287,10099334,10100615,10105519,10117736,10118274, 10077108,10079072,10079550,10080625,10083068,10084800,10086154,10089564,10089997,10090365,10099515,10100763,10105610,10117858,10118573, 0 WDR1 cmpl cmpl 1,0,0,0,2,0,0,0,0,0,2,1,0,1,0, 812 NM_017458 chr16 + 29831714 29859360 29841870 29859310 15 29831714,29841794,29842198,29845053,29845255,29847024,29848042,29851498,29852916,29853235,29855813,29857183,29857478,29858517,29859082, 29831831,29841995,29842394,29845177,29845387,29847119,29848279,29851780,29853161,29853433,29856200,29857300,29857605,29858706,29859360, 0 MVP cmpl cmpl -1,0,2,0,1,1,0,0,0,2,2,2,2,0,0, 925 NM_001134771 chr20 + 44650328 44688789 44650404 44686244 26 44650328,44663586,44664042,44664415,44665379,44665893,44669011,44669967,44671791,44672271,44672514,44673604,44674516,44674976,44676092,44676619,44678260,44680313,44681595,44682216,44683554,44684788,44685003,44685535,44685808,44686152, 44650525,44663681,44664174,44664562,44665434,44666024,44669253,44670179,44671962,44672370,44672572,44673779,44674635,44675075,44676212,44676724,44678429,44680509,44681765,44682348,44683662,44684911,44685203,44685550,44685942,44688789, 0 SLC12A5 cmpl cmpl 0,1,0,0,0,1,0,2,1,1,1,2,0,2,2,2,2,0,1,0,0,0,0,2,2,1, 1060 NM_001134758 chr20 - 62329994 62339365 62331949 62338443 7 62329994,62333181,62333487,62337708,62338002,62338350,62339218, 62332054,62333252,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 cmpl cmpl 0,1,0,1,0,0,-1, 130 NM_001080512 chr10 + 60272903 60588845 60272903 60588651 21 60272903,60380614,60461833,60544760,60546682,60548129,60549021,60549441,60553243,60556099,60558158,60558815,60559953,60560649,60562836,60566343,60566763,60573589,60577321,60580128,60588520, 60273093,60380661,60461903,60544840,60546841,60548183,60549216,60549693,60553375,60556286,60558320,60559012,60560086,60560806,60563002,60566383,60566918,60573746,60577482,60580228,60588845, 0 BICC1 cmpl cmpl 0,1,0,1,0,0,0,0,0,0,1,1,0,1,2,0,1,0,1,0,1, 978 NM_001145263 chr10 + 51565107 51590734 51579141 51589230 10 51565107,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51565296,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,0,0,2,0,0,0,0,0, 780 NM_001127691 chr1 + 25598976 25656936 25599038 25655415 7 25598976,25611063,25617131,25627436,25628010,25629812,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0, 1547 NM_001198557 chr5 + 126112844 126172712 126141376 126171956 11 126112844,126140467,126141262,126145871,126147464,126154613,126156601,126158472,126161679,126168385,126171914, 126112936,126140624,126141388,126146042,126147590,126154834,126156827,126158577,126161799,126168493,126172712, 0 LMNB1 cmpl cmpl -1,-1,0,0,0,0,2,0,0,0,0, 626 NM_001171864 chr10 - 5435060 5446793 5435479 5446755 4 5435060,5437289,5442806,5446752, 5436424,5437438,5442930,5446793, 0 TUBAL3 cmpl cmpl 0,1,0,0, 813 NM_001171832 chr20 - 29992647 30000641 29992715 30000446 2 29992647,30000424, 29992888,30000641, 0 DEFB121 cmpl cmpl 1,0, 633 NM_001147 chr8 - 6357174 6420784 6360621 6420455 9 6357174,6366452,6371198,6372197,6377384,6378698,6385075,6389852,6420167, 6360782,6366583,6371365,6372299,6377515,6378931,6385197,6390008,6420784, 0 ANGPT2 cmpl cmpl 1,2,0,0,1,2,0,0,0, 84 NM_024693 chr10 + 11784355 11806065 11784575 11805543 5 11784355,11789347,11791493,11797406,11805222, 11784745,11789469,11791591,11797607,11806065, 0 ECHDC3 cmpl cmpl 0,2,1,0,0, 656 NM_001242331 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L28 cmpl cmpl 0, 656 NM_001242331 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L28 cmpl cmpl 0, 656 NM_001242330 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L27 cmpl cmpl 0, 978 NM_001145262 chr10 + 51576284 51590734 51579141 51589230 10 51576284,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51576499,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,0,0,2,0,0,0,0,0, 978 NM_001145261 chr10 + 51565107 51590734 51568356 51589230 11 51565107,51568293,51579127,51580555,51580879,51581269,51582182,51582795,51584615,51586270,51589224, 51565296,51568390,51579282,51580696,51580968,51581378,51582272,51582939,51585599,51586411,51590734, 0 NCOA4 cmpl cmpl -1,0,1,0,0,2,0,0,0,0,0, 936 NM_001278198 chr17 + 46048321 46059152 46053256 46059100 13 46048321,46048727,46050884,46051296,46051765,46052879,46054077,46055197,46056194,46057958,46058528,46058802,46058952, 46048518,46048773,46051016,46051397,46052703,46053379,46054188,46055276,46056283,46058164,46058700,46058825,46059152, 0 CDK5RAP3 cmpl cmpl -1,-1,-1,-1,-1,0,0,0,1,0,2,0,2, 936 NM_001278197 chr17 + 46047893 46059152 46048008 46058868 14 46047893,46048727,46050884,46051296,46051765,46052524,46052879,46053234,46054077,46055197,46056194,46057958,46058528,46058802, 46048089,46048773,46051016,46051397,46051814,46052703,46053019,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl 0,0,1,1,0,1,0,2,0,0,1,0,2,0, 906 NM_138387 chr17 + 42148097 42153712 42148333 42153411 6 42148097,42151527,42152047,42152336,42152677,42153047, 42148551,42151634,42152138,42152455,42152819,42153712, 0 G6PC3 cmpl cmpl 0,2,1,2,1,2, 811 NM_206809 chr6 + 29624757 29640149 29624986 29638962 8 29624757,29627095,29633928,29635419,29635680,29638057,29638477,29638948, 29625074,29627443,29634042,29635440,29635701,29638174,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 811 NM_206810 chr6 + 29624757 29640149 29624986 29639227 7 29624757,29627095,29633928,29635419,29635680,29638477,29639198, 29625074,29627443,29634042,29635440,29635701,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 641 NM_001102614 chr17 + 7384720 7386383 7384835 7386320 2 7384720,7385306, 7384838,7386383, 0 SLC35G6 cmpl cmpl 0,0, 1007 NM_001136030 chr12 - 55342086 55378530 55354952 55368346 11 55342086,55354951,55356214,55357525,55359836,55360171,55360966,55361626,55367260,55368183,55378368, 55344174,55355051,55357026,55357734,55359935,55360208,55361020,55361676,55367303,55368391,55378530, 0 TESPA1 cmpl cmpl -1,0,1,2,2,1,1,2,1,0,-1, 944 NR_040041 chr19 + 47164734 47174598 47174598 47174598 3 47164734,47172424,47174397, 47165694,47172567,47174598, 0 DACT3-AS1 unk unk -1,-1,-1, 1148 NR_040034 chr18 + 73834952 73857210 73857210 73857210 6 73834952,73835898,73837665,73844888,73856448,73856711, 73835654,73835958,73838969,73845029,73856536,73857210, 0 LOC339298 unk unk -1,-1,-1,-1,-1,-1, 156 NM_021723 chr7 + 87563565 87832204 87563780 87825806 31 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87808249,87810819,87811272,87822430,87825785, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87808357,87810920,87811339,87822554,87832204, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,2,1,2,0, 190 NM_001130698 chr4 - 122800182 122872909 122800890 122872835 12 122800182,122803508,122820766,122824006,122825476,122828457,122831308,122833031,122835934,122846172,122853425,122872620, 122801033,122803584,122820850,122824216,122825672,122828722,122831542,122833248,122836099,122846361,122854197,122872909, 0 TRPC3 cmpl cmpl 1,0,0,0,2,1,1,0,0,0,2,0, 971 NR_024228 chr19 - 50626330 50626451 50626451 50626451 1 50626330, 50626451, 0 SNAR-A8 unk unk -1, 1099 NM_001077700 chr1 + 67390577 67454302 67390711 67450583 14 67390577,67391824,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67390778,67391925,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl 0,1,0,1,0,0,1,0,1,0,1,0,2,1, 907 NM_001110215 chr22 - 42334740 42336223 42335059 42336178 2 42334740,42336142, 42335200,42336223, 0 CENPM cmpl cmpl 0,0, 949 NM_001098845 chr10 + 47746849 47763040 47747111 47762187 12 47746849,47751144,47752404,47753837,47754714,47755464,47756032,47756638,47756971,47758845,47759649,47762127, 47747132,47751235,47752499,47753951,47754805,47755544,47756092,47756732,47757067,47758904,47759772,47763040, 0 ANXA8L1 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 31 NM_021069 chr4 - 186506597 186877870 186508780 186583351 21 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186544067,186547985,186551702,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186696380,186877349, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186545648,186548173,186551752,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186696520,186877870, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,1,2,0,2,1,1,0,1,0,-1,-1,-1,-1, 886 NM_021822 chr22 + 39473009 39483748 39473366 39483426 8 39473009,39474936,39476937,39477475,39479735,39482283,39483015,39483411, 39473383,39475090,39477232,39477590,39479889,39482572,39483131,39483748, 0 APOBEC3G cmpl cmpl 0,2,0,1,2,0,1,0, 1135 NM_001168499 chr18 + 72166822 72190689 72167208 72187303 9 72166822,72168563,72178047,72179682,72180793,72183462,72185733,72186183,72187233, 72167268,72168707,72178248,72179767,72180954,72183627,72185875,72186331,72190689, 0 CNDP2 cmpl cmpl 0,0,0,0,1,0,0,1,2, 1344 NM_001174121 chr10 + 99496877 99520664 99504511 99519057 10 99496877,99504485,99508025,99509230,99510087,99511132,99512794,99517021,99517398,99518992, 99497078,99504672,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,2,1,0,0,1,0,1, 110 NM_003618 chr2 - 39476406 39664453 39477758 39664128 34 39476406,39478970,39481590,39485488,39485659,39487746,39492343,39494329,39499423,39499622,39505547,39507412,39509653,39513992,39515261,39517432,39519913,39520370,39526883,39535083,39536601,39542450,39552658,39552870,39553039,39553286,39559057,39560672,39564060,39564666,39570528,39583389,39605206,39664032, 39477846,39479026,39481661,39485581,39485728,39487918,39492447,39494388,39499541,39499683,39505627,39507497,39509695,39514105,39515421,39517475,39519967,39520409,39526942,39535146,39536660,39542529,39552769,39552952,39553102,39553418,39559130,39560715,39564108,39564722,39570593,39583480,39605264,39664453, 0 MAP4K3 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,0,1,0,2,2,2,0,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 31 NM_001270771 chr4 - 186506597 186877870 186508780 186611725 24 186506597,186510832,186515039,186532933,186535984,186536198,186539738,186541216,186544067,186547985,186551702,186567821,186570620,186572937,186573815,186578577,186583257,186599576,186599949,186605907,186611715,186696380,186815450,186877349, 186508842,186510939,186515089,186533134,186536113,186536313,186539785,186541305,186545648,186548173,186551752,186567936,186570810,186572982,186573882,186578750,186583396,186599701,186599976,186606000,186611765,186696520,186815527,186877870, 0 SORBS2 cmpl cmpl 1,2,0,0,0,2,0,1,1,2,0,2,1,1,0,1,0,1,1,1,0,-1,-1,-1, 164 NM_001289067 chr10 + 96305523 96361856 96305678 96361379 23 96305523,96306133,96313882,96317895,96322447,96322568,96331144,96333716,96334310,96336418,96341082,96342719,96343744,96347985,96350169,96350394,96351985,96352151,96353255,96354451,96356616,96356791,96361284, 96305709,96306255,96314005,96317952,96322484,96322633,96331186,96333944,96334493,96336562,96341279,96342816,96343882,96348147,96350309,96350533,96352069,96352271,96353372,96354611,96356713,96356868,96361856, 0 HELLS cmpl cmpl 0,1,0,0,0,1,0,0,0,0,0,2,0,0,0,2,0,0,0,0,1,2,1, 1089 NM_004292 chr11 - 66099541 66104000 66099746 66103873 10 66099541,66100728,66100997,66101389,66101984,66102877,66103080,66103232,66103448,66103787, 66100223,66100880,66101129,66101695,66102722,66102969,66103153,66103347,66103629,66104000, 0 RIN1 cmpl cmpl 0,1,1,1,1,2,1,0,2,0, 1020 NM_021216 chr19 + 57106663 57135544 57132655 57134125 3 57106663,57112874,57132635, 57106796,57112959,57135544, 0 ZNF71 cmpl cmpl -1,-1,0, 1095 NM_001204745 chr16 - 66942024 66952887 66942294 66951968 18 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66949122,66949967,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944288,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948315,66949281,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,1,1,0,0,0,0,-1, 895 NM_012382 chr5 - 40711677 40756072 40716246 40747120 5 40711677,40728446,40730363,40746899,40755925, 40716600,40728578,40730445,40747121,40756072, 0 TTC33 cmpl cmpl 0,0,2,0,-1, 980 NM_001985 chr19 - 51848408 51869672 51848464 51869580 6 51848408,51850153,51853582,51856385,51857403,51869523, 51848635,51850312,51853645,51856544,51857562,51869672, 0 ETFB cmpl cmpl 0,0,0,0,0,0, 935 NM_001983 chr19 - 45910590 45927177 45912932 45926632 10 45910590,45916934,45917220,45918118,45920078,45922355,45923581,45924435,45926527,45927038, 45912983,45917003,45917292,45918218,45920155,45922455,45923685,45924651,45926639,45927177, 0 ERCC1 cmpl cmpl 0,0,0,2,0,2,0,0,0,-1, 1285 NM_004912 chr7 - 91828282 91875212 91830049 91871449 19 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91874740, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874485,91875212, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1, 1409 NM_002519 chr11 - 108028118 108093365 108029668 108093263 18 108028118,108031606,108032846,108040470,108040654,108042925,108046972,108047720,108055958,108056129,108057208,108058824,108059832,108061186,108062844,108064683,108068028,108093226, 108029746,108032741,108032907,108040579,108040770,108044578,108047101,108047817,108056046,108056221,108057296,108058906,108060057,108061227,108062917,108064744,108068147,108093365, 0 NPAT cmpl cmpl 0,2,1,0,1,1,1,0,2,0,2,1,1,2,1,0,1,0, 1933 NM_013237 chr5 + 176730762 176733960 176730986 176733571 5 176730762,176731625,176732871,176733098,176733422, 176731078,176731851,176732985,176733177,176733960, 0 PRELID1 cmpl cmpl 0,2,0,0,1, 190 NM_001011649 chr9 - 123151146 123342448 123151513 123342256 37 123151146,123152018,123156789,123163019,123165083,123166313,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123222945,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 cmpl cmpl 0,1,0,0,1,1,2,1,1,1,2,1,2,1,1,0,2,0,0,0,1,2,0,0,0,0,0,0,0,2,0,2,0,0,1,2,0, 971 NM_016210 chr3 - 50595455 50605223 50597087 50603130 6 50595455,50598347,50599152,50602896,50603436,50604893, 50597168,50598495,50599178,50603292,50603525,50605223, 0 C3orf18 cmpl cmpl 0,2,0,0,-1,-1, 989 NM_175068 chr12 - 53001353 53012343 53001979 53012308 9 53001353,53003030,53004398,53004987,53007471,53008362,53009062,53009949,53011861, 53002236,53003065,53004619,53005113,53007636,53008458,53009123,53010164,53012343, 0 KRT73 cmpl cmpl 1,2,0,0,0,0,2,0,0, 883 NM_001145450 chr2 + 39103102 39109850 39108582 39109656 5 39103102,39107319,39107740,39108582,39109553, 39103251,39107370,39107847,39108719,39109850, 0 MORN2 cmpl cmpl -1,-1,-1,0,2, 957 NM_001136158 chrX - 48779302 48814893 48780450 48814832 10 48779302,48780413,48780909,48781127,48783122,48791736,48791983,48792226,48801450,48814238, 48780187,48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48814893, 0 OTUD5 cmpl cmpl -1,1,1,0,0,1,0,1,0,0, 957 NM_001136159 chrX - 48779302 48815648 48780450 48801487 9 48779302,48780909,48781127,48783122,48791736,48791983,48792226,48801450,48815493, 48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48815648, 0 OTUD5 cmpl cmpl 1,1,0,0,1,0,1,0,-1, 892 NR_040061 chr15 + 40331511 40349201 40349201 40349201 4 40331511,40338161,40348653,40348930, 40331649,40338270,40348842,40349201, 0 SRP14-AS1 unk unk -1,-1,-1,-1, 892 NR_040060 chr15 + 40331511 40359710 40359710 40359710 3 40331511,40338161,40357421, 40331649,40338270,40359710, 0 SRP14-AS1 unk unk -1,-1,-1, 95 NM_014433 chr22 - 23401592 23484241 23401639 23482607 7 23401592,23403986,23406079,23476212,23481026,23482408,23484135, 23401896,23404123,23406311,23476331,23481129,23482659,23484241, 0 RTDR1 cmpl cmpl 1,2,1,2,1,0,-1, 596 NM_001173474 chrX - 1522031 1571870 1522161 1571733 12 1522031,1531624,1536865,1537874,1540550,1544417,1546626,1551161,1553914,1554586,1561078,1571640, 1522382,1531747,1537009,1538007,1540735,1544580,1547014,1551270,1553976,1554651,1561210,1571870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0, 596 NM_001173474 chrY - 1472031 1521870 1472161 1521733 12 1472031,1481624,1486865,1487874,1490550,1494417,1496626,1501161,1503914,1504586,1511078,1521640, 1472382,1481747,1487009,1488007,1490735,1494580,1497014,1501270,1503976,1504651,1511210,1521870, 0 ASMTL cmpl cmpl 1,1,1,0,1,0,2,1,2,0,0,0, 157 NM_001168398 chr6 + 88182642 88222057 88182721 88221244 7 88182642,88187079,88210225,88210875,88216099,88218758,88221116, 88182737,88187257,88210385,88211028,88216166,88218893,88222057, 0 SLC35A1 cmpl cmpl 0,1,2,0,0,1,1, 1949 NM_004673 chr1 - 178818669 178840215 178820263 178834911 6 178818669,178821817,178822728,178834088,178838248,178839875, 178820451,178822088,178822922,178834937,178838358,178840215, 0 ANGPTL1 cmpl cmpl 1,0,1,0,-1,-1, 168 NM_015904 chr2 + 99953833 100016728 99954017 100015877 24 99953833,99976698,99976927,99977610,99980107,99980733,99984955,99985854,99988118,99992809,99995481,99995780,99998621,99999242,100006180,100006681,100007006,100009429,100010729,100010971,100011181,100013222,100015210,100015769, 99954052,99976824,99977012,99978283,99980325,99980884,99985054,99985944,99988193,99993099,99995589,99995891,99998689,99999384,100006312,100006864,100007168,100009561,100010861,100011048,100011346,100013361,100015372,100016728, 0 EIF5B cmpl cmpl 0,2,2,0,1,0,1,1,1,1,0,0,0,2,0,0,0,0,0,0,2,2,0,0, 9 NM_003070 chr9 + 2015218 2193623 2029022 2192739 34 2015218,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2170418,2181570,2182140,2186095,2191265,2192703, 2015404,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2087071,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2170472,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,2,0,0,1,0, 987 NM_001164417 chrX - 52725945 52736276 52727037 52734799 8 52725945,52727033,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52729628,52731680,52733642,52734292,52734819,52736276, 0 SSX2B cmpl cmpl -1,1,0,1,1,0,0,-1, 1115 NM_021800 chr10 - 69556426 69597937 69556873 69597769 5 69556426,69565340,69571281,69583071,69597691, 69556968,69565545,69571421,69583150,69597937, 0 DNAJC12 cmpl cmpl 1,0,1,0,0, 241 NM_003052 chr5 + 176811431 176825849 176812742 176825287 13 176811431,176812695,176812987,176813221,176813423,176814762,176814994,176815277,176820694,176821028,176823733,176823950,176824783, 176811488,176812851,176813137,176813350,176813567,176814874,176815190,176815373,176820764,176821196,176823850,176824075,176825849, 0 SLC34A1 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 29 NM_024947 chr3 - 169805367 169899537 169815017 169899503 15 169805367,169820266,169820589,169824619,169831147,169835013,169840378,169846471,169854206,169863210,169866873,169889160,169890344,169896560,169899489, 169815172,169820498,169820722,169824734,169831307,169835264,169840532,169847340,169854453,169863309,169867032,169889238,169890500,169896726,169899537, 0 PHC3 cmpl cmpl 1,0,2,1,0,1,0,1,0,0,0,0,0,2,0, 162 NM_001261408 chr1 - 94027342 94312706 94027797 94140486 14 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94107859,94140169,94171647,94311122,94312625, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94107899,94140497,94171698,94311268,94312706, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,2,0,-1,-1,-1, 704 NR_003087 chr21 + 15646119 15673692 15673692 15673692 6 15646119,15651916,15659870,15660724,15663890,15671758, 15646478,15651978,15660018,15660867,15664068,15673692, 0 ABCC13 unk unk -1,-1,-1,-1,-1,-1, 1018 NM_001280796 chr12 - 56864727 56882198 56865270 56869435 18 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56872835,56873563,56874071,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868967,56869466,56869761,56871502,56871880,56872046,56872965,56873685,56874171,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,1,0,-1,-1,-1,-1,-1,-1,-1,-1, 1543 NM_018835 chr9 - 125616023 125667562 125616152 125659788 18 125616023,125616463,125616809,125617462,125618010,125620201,125620947,125622195,125627627,125639749,125642033,125642271,125642872,125645482,125652590,125655187,125659557,125667388, 125616365,125616545,125616894,125617676,125618157,125620372,125621381,125622410,125627936,125639862,125642152,125642404,125643073,125645658,125652824,125655305,125659855,125667562, 0 RC3H2 cmpl cmpl 0,2,1,0,0,0,1,2,2,0,1,0,0,1,1,0,0,-1, 1923 NM_032361 chr5 - 175386533 175395318 175386971 175395211 6 175386533,175388053,175388275,175391953,175394113,175394944, 175387135,175388154,175388437,175392158,175394270,175395318, 0 THOC3 cmpl cmpl 1,2,2,1,0,0, 11 NM_001288786 chr17 - 17746821 17875784 17750948 17875627 15 17746821,17752136,17754206,17761082,17764789,17766044,17769609,17770189,17772653,17782940,17787947,17796974,17801909,17810760,17875575, 17751097,17752173,17754266,17761169,17764865,17766162,17769733,17770238,17772787,17783057,17788082,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,0,2,1,0,2,0,0,0,0,2,1,0, 805 NR_003109 chr1 + 28879528 28905057 28905057 28905057 10 28879528,28880151,28887144,28887624,28887857,28891214,28893805,28897687,28898378,28904011, 28879649,28880249,28887244,28887772,28887910,28891346,28893925,28897850,28898412,28905057, 0 TRNAU1AP unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 82 NM_022485 chr3 + 9691116 9744078 9691267 9743657 17 9691116,9695304,9703950,9710402,9711115,9712731,9714368,9719000,9719667,9724861,9726268,9726571,9726894,9729504,9730379,9730627,9743473, 9691426,9695453,9704059,9710478,9711176,9712854,9714442,9719071,9719742,9724928,9726354,9726648,9726931,9729575,9730438,9730766,9744078, 0 MTMR14 cmpl cmpl 0,0,2,0,1,2,2,1,0,0,1,0,2,0,2,1,2, 656 NM_001242330 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L27 cmpl cmpl 0, 656 NM_001242330 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L27 cmpl cmpl 0, 656 NM_001242329 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L5 cmpl cmpl 0, 656 NM_001242329 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L5 cmpl cmpl 0, 656 NM_001242328 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L26 cmpl cmpl 0, 656 NM_001242328 chr4 + 9364854 9366447 9364854 9366447 1 9364854, 9366447, 0 USP17L26 cmpl cmpl 0, 656 NM_001242326 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L25 cmpl cmpl 0, 656 NM_001242326 chr4 + 9341128 9342721 9341128 9342721 1 9341128, 9342721, 0 USP17L25 cmpl cmpl 0, 131 NM_001177963 chr14 + 61201458 61435398 61201580 61435067 7 61201458,61262934,61264804,61275042,61278704,61346431,61434946, 61201669,61263087,61264878,61275146,61278845,61346553,61435398, 0 MNAT1 cmpl cmpl 0,2,2,1,0,0,2, 906 NM_001190720 chr8 + 42128819 42190171 42128888 42188497 21 42128819,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB cmpl cmpl 0,0,2,0,1,0,0,2,2,0,0,1,2,1,0,2,1,2,0,2,0, 21 NM_001202543 chr7 + 101459183 101901513 101459310 101892322 24 101459183,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101839913,101842081,101843350,101844639,101847670,101848393,101870646,101877331,101882599,101891691, 101459373,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101840585,101842147,101843452,101845484,101847836,101848450,101870949,101877520,101882864,101901513, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,1,1,1,0,1,1,1,1,2, 826 NM_182658 chr20 + 31643229 31661434 31643229 31661411 15 31643229,31644347,31647183,31647696,31649573,31651420,31652262,31652471,31654629,31656608,31657693,31659058,31659909,31660522,31661381, 31643353,31644504,31647288,31647837,31649637,31651481,31652354,31652651,31654683,31656779,31657761,31659101,31659973,31660599,31661434, 0 BPIFB3 cmpl cmpl 0,1,2,2,2,0,1,0,0,0,0,2,0,1,0, 835 NM_004159 chr6 - 32808493 32812712 32808735 32812190 6 32808493,32809307,32809910,32810448,32810718,32812055, 32808824,32809512,32810040,32810560,32810866,32812712, 0 PSMB8 cmpl cmpl 1,0,2,1,0,0, 143 NM_001195518 chr10 - 74127083 74385949 74127952 74326551 12 74127083,74135540,74167686,74182991,74234857,74236931,74267912,74293503,74310936,74322652,74326390,74385767, 74128113,74135630,74167795,74183129,74235055,74237014,74268027,74293547,74311099,74322821,74326552,74385949, 0 MICU1 cmpl cmpl 1,1,0,0,0,1,0,1,0,2,0,-1, 1106 NM_024055 chr5 + 68389775 68400567 68390082 68399872 4 68389775,68396633,68398888,68399788, 68390165,68396756,68398955,68400567, 0 SLC30A5 cmpl cmpl 0,2,2,0, 145 NM_015393 chr4 + 75858284 75975325 75858537 75971457 4 75858284,75937634,75959092,75971372, 75858580,75938360,75959171,75975325, 0 PARM1 cmpl cmpl 0,1,1,2, 954 NR_029427 chrX + 48455879 48463582 48463582 48463582 9 48455879,48457138,48457740,48457974,48458706,48460171,48460452,48462659,48463235, 48456425,48457345,48457850,48458105,48459014,48460352,48460594,48462778,48463582, 0 WDR13 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1879 NR_029467 chr1 - 169659805 169677997 169677997 169677997 7 169659805,169665675,169670700,169672395,169673708,169676482,169677557, 169660943,169665694,169670829,169672581,169673894,169676590,169677997, 0 SELL unk unk -1,-1,-1,-1,-1,-1,-1, 644 NM_001042462 chr19 + 7745706 7747748 7747139 7747706 2 7745706,7747127, 7745764,7747748, 0 TRAPPC5 cmpl cmpl -1,0, 1095 NM_004062 chr16 - 66942024 66952887 66942294 66951968 18 66942024,66943169,66943888,66944162,66945084,66945801,66946144,66946406,66946566,66947033,66947393,66948118,66949122,66949967,66950176,66951544,66951923,66952706, 66942392,66943286,66943996,66944405,66945218,66946043,66946333,66946483,66946794,66947184,66947516,66948315,66949281,66950106,66950332,66951628,66951981,66952887, 0 CDH16 cmpl cmpl 1,1,1,1,2,0,0,1,1,0,0,1,1,0,0,0,0,-1, 825 NM_032955 chr6 + 31583788 31584798 31583888 31584677 3 31583788,31584120,31584592, 31583922,31584283,31584798, 0 AIF1 cmpl cmpl 0,1,2, 177 NM_001025580 chrX - 109437413 109561380 109441747 109561299 5 109437413,109444181,109445673,109459745,109560826, 109441862,109444278,109445764,109459860,109561380, 0 AMMECR1 cmpl cmpl 2,1,0,2,0, 118 NM_015168 chr19 - 47567446 47617009 47569612 47615841 15 47567446,47572348,47575034,47575608,47584769,47585440,47587601,47588312,47588574,47589640,47593223,47597226,47597645,47615680,47616976, 47571126,47572600,47575378,47575970,47584879,47585552,47587712,47588452,47588671,47589795,47593446,47597337,47597865,47615846,47617009, 0 ZC3H4 cmpl cmpl 1,1,2,0,1,0,0,1,0,1,0,0,2,0,-1, 1927 NM_014901 chr5 - 175953699 175964421 175956028 175959473 11 175953699,175956288,175956523,175956731,175957082,175957582,175957848,175958463,175959004,175959366,175963940, 175956091,175956388,175956645,175956819,175957207,175957744,175958022,175958631,175959194,175959517,175964421, 0 RNF44 cmpl cmpl 0,2,0,2,0,0,0,0,2,0,-1, 93 NM_153211 chr18 + 21572736 21715574 21644119 21712538 14 21572736,21644103,21645975,21649120,21660548,21662876,21694517,21698088,21703797,21705390,21708849,21710276,21711845,21712448, 21573002,21644152,21646104,21649235,21660903,21663045,21694611,21698196,21703907,21705514,21708947,21710381,21711884,21715574, 0 TTC39C cmpl cmpl -1,0,0,0,1,2,0,1,1,0,1,0,0,0, 1010 NM_054104 chr12 + 55725484 55726420 55725484 55726420 1 55725484, 55726420, 0 OR6C3 cmpl cmpl 0, 175 NM_181581 chr7 + 107204401 107218968 107207515 107218005 8 107204401,107205032,107207494,107211589,107214148,107215632,107216810,107217757, 107204654,107205121,107207631,107211711,107214266,107215755,107217037,107218968, 0 DUS4L cmpl cmpl -1,-1,0,2,1,2,2,1, 630 NM_003624 chr19 - 5916151 5978320 5917620 5978093 17 5916151,5917804,5918506,5921211,5923204,5923822,5924837,5925644,5927978,5931429,5932462,5933424,5941631,5941809,5951403,5957928,5978071, 5917664,5917991,5918649,5921332,5923314,5923925,5924916,5925748,5928098,5931542,5932555,5933490,5941718,5941846,5951607,5957984,5978320, 0 RANBP3 cmpl cmpl 1,0,1,0,1,0,2,0,0,1,1,1,1,0,0,1,0, 671 NM_152391 chr2 + 11295497 11318998 11295672 11317954 7 11295497,11300591,11300750,11304329,11312050,11315093,11317862, 11295815,11300674,11300820,11304387,11312171,11315135,11318998, 0 PQLC3 cmpl cmpl 0,2,1,2,0,1,1, 889 NM_152390 chr2 + 39893034 39945104 39893114 39944391 4 39893034,39931220,39934188,39944149, 39893514,39931334,39934326,39945104, 0 TMEM178A cmpl cmpl 0,1,1,1, 184 NM_138973 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165978,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164649,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 783 NR_026713 chr20 + 26035249 26067553 26067553 26067553 5 26035249,26049552,26054405,26061799,26063529, 26035721,26049840,26054505,26062026,26067553, 0 FAM182A unk unk -1,-1,-1,-1,-1, 789 NR_024027 chr21 - 26758132 26804013 26804013 26804013 5 26758132,26793019,26796865,26802077,26803489, 26758651,26793112,26796961,26802321,26804013, 0 LINC00158 unk unk -1,-1,-1,-1,-1, 892 NM_201434 chr17 - 40276993 40307062 40277800 40282520 7 40276993,40278772,40280278,40280666,40282354,40289779,40306910, 40277916,40278866,40280401,40280818,40282608,40289896,40307062, 0 RAB5C cmpl cmpl 1,0,0,1,0,-1,-1, 989 NM_001146225 chr12 - 52979372 52995322 52979765 52995236 10 52979372,52979746,52980729,52981414,52984619,52985247,52986179,52986675,52992681,52994810, 52979619,52979956,52980764,52981635,52984745,52985412,52986275,52986736,52992896,52995322, 0 KRT72 cmpl cmpl -1,1,2,0,0,0,0,2,0,0, 271 NM_000651 chr1 + 207669472 207815110 207669612 207812754 47 207669472,207679248,207680058,207684913,207696955,207700097,207700365,207702060,207705524,207706753,207707541,207713325,207715526,207718652,207718920,207720615,207724079,207725308,207726096,207731882,207734083,207737208,207737476,207739182,207741168,207742403,207743191,207748939,207751149,207753584,207753855,207755262,207757993,207760730,207762019,207780595,207782634,207785021,207785283,207787748,207789919,207791415,207793224,207795317,207796337,207803861,207812741, 207669733,207679428,207680158,207684999,207697354,207700274,207700468,207702146,207705743,207706933,207707641,207713411,207715925,207718829,207719023,207720701,207724298,207725488,207726196,207731968,207734482,207737385,207737579,207739268,207741387,207742583,207743291,207749025,207751548,207753761,207753958,207755348,207758221,207760910,207762119,207780681,207783033,207785198,207785386,207787834,207790147,207791592,207793410,207795341,207796413,207803966,207815110, 0 CR1 cmpl cmpl 0,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,1,1,2,2, 655 NM_001256854 chr4 + 9217130 9218723 9217130 9218723 1 9217130, 9218723, 0 USP17L11 cmpl cmpl 0, 657 NM_001080556 chr17 + 9479943 9546776 9480012 9546515 13 9479943,9490018,9497509,9501550,9503383,9511435,9515625,9531988,9536204,9538721,9541925,9545040,9546339, 9480082,9490151,9497638,9501650,9503500,9511536,9515796,9532137,9536350,9538873,9542028,9545152,9546776, 0 WDR16 cmpl cmpl 0,1,2,2,0,0,2,2,1,0,2,0,1, 704 NM_001130842 chr17 + 15602890 15624100 15603643 15620604 6 15602890,15603448,15604465,15609700,15611468,15619372, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,0,1,0,1,1, 661 NM_022787 chr1 + 10003485 10045556 10032131 10042759 5 10003485,10032075,10035649,10041088,10042358, 10003573,10032246,10035833,10041228,10045556, 0 NMNAT1 cmpl cmpl -1,0,1,2,1, 738 NM_001278641 chr22 + 20105475 20114880 20106670 20114575 6 20105475,20106535,20109786,20112830,20113825,20114477, 20105836,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl -1,0,2,1,1,1, 612 NM_178844 chr16 - 3589035 3627392 3591824 3615037 21 3589035,3592190,3592691,3593424,3594245,3598134,3598669,3599141,3599696,3600413,3602195,3602228,3604242,3606911,3607593,3611702,3613009,3614859,3615319,3617243,3627149, 3591915,3592274,3592775,3593508,3594329,3598218,3598753,3599225,3599780,3600497,3602227,3602280,3604326,3606995,3607677,3611789,3614759,3615061,3615381,3617325,3627392, 0 NLRC3 cmpl cmpl 2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,1,0,-1,-1,-1, 885 NM_152426 chr22 + 39417117 39429256 39417524 39428321 7 39417117,39418826,39421074,39421561,39425367,39427698,39428202, 39417541,39419019,39421354,39421676,39425524,39427978,39429256, 0 APOBEC3D cmpl cmpl 0,2,0,1,2,0,1, 1389 NM_152423 chrX + 105412297 105452949 105449425 105451516 5 105412297,105415004,105421216,105447977,105449211, 105412418,105415132,105421352,105448163,105452949, 0 MUM1L1 cmpl cmpl -1,-1,-1,-1,0, 1352 NM_144620 chr1 - 100614003 100643829 100614597 100634072 10 100614003,100617940,100620606,100621727,100623786,100624814,100626021,100633959,100638886,100643690, 100614653,100618080,100620759,100621873,100623923,100624971,100626127,100634150,100638926,100643829, 0 LRRC39 cmpl cmpl 1,2,2,0,1,0,2,0,-1,-1, 929 NM_178181 chr3 - 45151707 45187914 45151956 45187779 4 45151707,45153574,45159903,45187697, 45152333,45153937,45160113,45187914, 0 CDCP1 cmpl cmpl 1,1,1,0, 649 NM_001039667 chr19 + 8429010 8439259 8429205 8438770 6 8429010,8430837,8431085,8435939,8436124,8438588, 8429523,8430948,8431203,8436035,8436406,8439259, 0 ANGPTL4 cmpl cmpl 0,0,0,1,1,1, 73 NM_015155 chr10 - 852853 977645 858865 931661 18 852853,860681,860885,863664,866739,871004,871703,875324,875620,876806,882342,888871,890916,909682,910062,930386,931580,977367, 859153,860790,861010,863829,866785,871256,871810,875534,875674,876917,882446,889008,890995,909823,910210,930446,931700,977645, 0 LARP4B cmpl cmpl 0,2,0,0,2,2,0,0,0,0,1,2,1,1,0,0,0,-1, 1486 NM_005797 chr11 - 118124130 118135251 118127964 118134868 6 118124130,118127952,118130768,118133152,118133645,118134810, 118125948,118128028,118130916,118133363,118133812,118135251, 0 MPZL2 cmpl cmpl -1,2,1,0,1,0, 1158 NM_019896 chr2 + 75185774 75196859 75185806 75196549 4 75185774,75186467,75187231,75196535, 75186019,75186552,75187273,75196859, 0 POLE4 cmpl cmpl 0,0,1,1, 1449 NM_017699 chr3 + 113251217 113348422 113251868 113346555 25 113251217,113285266,113286386,113295768,113299454,113300207,113302255,113303544,113304023,113311851,113320434,113321851,113322806,113323756,113325887,113326940,113327265,113329854,113330932,113334946,113338526,113342273,113342469,113344948,113346492, 113252090,113285388,113286557,113295814,113299556,113300291,113302343,113303616,113304117,113311895,113320506,113321997,113322880,113323823,113325961,113327064,113327383,113329991,113331041,113335023,113338573,113342379,113342580,113345062,113348422, 0 SIDT1 cmpl cmpl 0,0,2,2,0,0,0,1,1,2,1,1,0,2,0,2,0,1,0,1,0,2,0,0,0, 849 NM_001114093 chr19 + 34663351 34720420 34663547 34717336 11 34663351,34685382,34687538,34699833,34706028,34706500,34710295,34710610,34712411,34717312,34718269, 34663668,34685546,34687668,34699956,34706205,34706566,34710478,34710782,34712643,34717369,34720420, 0 LSM14A cmpl cmpl 0,1,0,1,1,1,1,1,2,0,-1, 825 NM_001145466 chr6 - 31556659 31560762 31556970 31560498 4 31556659,31557302,31557558,31560455, 31557008,31557410,31557903,31560762, 0 NCR3 cmpl cmpl 1,1,1,0, 972 NM_004977 chr19 - 50818764 50832634 50823502 50832339 5 50818764,50823479,50823849,50826231,50831469, 50819348,50823606,50824041,50827339,50832634, 0 KCNC3 cmpl cmpl -1,1,1,0,0, 607 NR_024371 chr1 - 2980635 2984289 2984289 2984289 2 2980635,2983900, 2980866,2984289, 0 LINC00982 unk unk -1,-1, 864 NR_049735 chr14 - 36604915 36645857 36645857 36645857 4 36604915,36623009,36631829,36645503, 36605562,36623100,36631889,36645857, 0 PTCSC3 unk unk -1,-1,-1,-1, 1162 NM_018975 chr16 + 75681634 75691341 75681780 75690509 3 75681634,75688170,75690104, 75682450,75688295,75691341, 0 TERF2IP cmpl cmpl 0,1,0, 79 NM_018173 chr12 + 6419601 6437672 6421392 6437311 16 6419601,6421324,6422794,6424170,6424719,6425034,6425420,6426468,6426712,6427022,6427466,6427910,6428158,6435593,6436419,6437301, 6419681,6421530,6422950,6424335,6424815,6425085,6425570,6426579,6426862,6427160,6427586,6428043,6428274,6435739,6437112,6437672, 0 PLEKHG6 cmpl cmpl -1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,2, 1285 NM_194456 chr7 - 91828282 91875414 91830049 91871449 20 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91874740,91875219, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874485,91874909,91875414, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1,-1, 639 NM_001256874 chr8 + 7194636 7196229 7194636 7196229 1 7194636, 7196229, 0 USP17L4 cmpl cmpl 0, 644 NM_001256872 chr8 - 7829182 7830775 7829182 7830775 1 7829182, 7830775, 0 USP17L8 cmpl cmpl 0, 121 NM_020717 chrX - 50334642 50557044 50339694 50557018 9 50334642,50341265,50345632,50350380,50370613,50376177,50381173,50438785,50556901, 50339964,50341535,50345813,50351184,50370675,50378668,50381308,50438937,50557044, 0 SHROOM4 cmpl cmpl 0,0,2,2,0,2,2,0,0, 830 NR_037861 chr6 + 32121775 32136062 32136062 32136062 16 32121775,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32132355,32133914,32134477,32134686,32134863,32135126,32135279,32135686, 32122181,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32132434,32134397,32134587,32134782,32135034,32135206,32135433,32136062, 0 PPT2-EGFL8 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 815 NM_001003684 chr22 + 30163357 30166402 30163387 30163576 2 30163357,30165666, 30163596,30166402, 0 UQCR10 cmpl cmpl 0,-1, 122 NM_015163 chr14 - 51441980 51562422 51444008 51561657 10 51441980,51446104,51448517,51464767,51467400,51475797,51477101,51489552,51491982,51560835, 51444071,51446267,51448821,51464906,51467558,51475951,51477212,51489675,51492078,51562422, 0 TRIM9 cmpl cmpl 0,2,1,0,1,0,0,0,0,0, 16 NM_199340 chr17 - 62850487 62914903 62850716 62893375 14 62850487,62851957,62854896,62855559,62859017,62864579,62865212,62882203,62882932,62885798,62888646,62890766,62894479,62914867, 62850762,62852007,62855001,62857091,62859136,62864654,62865284,62882284,62883004,62885870,62888718,62893772,62894577,62914903, 0 LRRC37A3 cmpl cmpl 2,0,0,1,2,2,2,2,2,2,2,0,-1,-1, 825 NM_000595 chr6 + 31540070 31542100 31540519 31541470 4 31540070,31540510,31540704,31541057, 31540223,31540618,31540810,31542100, 0 LTA cmpl cmpl -1,0,0,1, 606 NM_001145275 chrY + 2803517 2850547 2829131 2848034 6 2803517,2829114,2843135,2843551,2845980,2846850, 2803810,2829687,2843285,2843695,2846121,2850547, 0 ZFY cmpl cmpl -1,0,1,1,1,1, 117 NM_001142466 chr16 + 46919101 46965201 46931616 46962909 12 46919101,46919378,46931559,46934593,46940753,46943595,46950539,46952532,46956153,46958300,46960836,46962818, 46919243,46919489,46931649,46934702,46940887,46943839,46950619,46952669,46956328,46958456,46960949,46965201, 0 GPT2 cmpl cmpl -1,-1,0,0,1,0,1,0,2,0,0,2, 140 NM_001617 chr2 - 70889215 70995375 70890556 70933540 16 70889215,70900009,70901809,70903927,70904889,70905835,70910722,70915155,70917917,70919534,70922852,70923376,70931452,70933357,70940197,70995017, 70890867,70900138,70901957,70904017,70905009,70906093,70910899,70915254,70918061,70919684,70922933,70923528,70931591,70933574,70940316,70995375, 0 ADD2 cmpl cmpl 1,1,0,0,0,0,0,0,0,0,0,1,0,0,-1,-1, 602 NM_001286627 chr16 - 2303116 2318413 2303897 2318057 6 2303116,2312278,2312740,2313096,2314176,2318055, 2304064,2312432,2312843,2313288,2314332,2318413, 0 RNPS1 cmpl cmpl 1,0,2,2,2,0, 168 NM_001168474 chrX - 100523240 100546325 100524180 100542531 13 100523240,100530209,100530987,100531294,100532593,100533036,100533981,100536707,100537314,100538437,100541562,100542465,100546211, 100524225,100530269,100531100,100531516,100532707,100533109,100534023,100536763,100537441,100538571,100541641,100542533,100546325, 0 TAF7L cmpl cmpl 0,0,1,1,1,0,0,1,0,1,0,0,-1, 184 NM_012104 chr11 - 117156401 117186972 117160281 117186511 9 117156401,117161203,117161615,117162427,117163769,117164586,117165846,117167588,117186250, 117160523,117161375,117161765,117162529,117163904,117164724,117166063,117167677,117186972, 0 BACE1 cmpl cmpl 1,0,0,0,0,0,2,0,0, 30 NR_047568 chr3 + 177159708 177470492 177470492 177470492 4 177159708,177257182,177347204,177469698, 177159898,177257281,177347343,177470492, 0 LINC00578 unk unk -1,-1,-1,-1, 937 NM_001295 chr3 - 46243199 46249832 46244736 46245804 2 46243199,46249772, 46245815,46249832, 0 CCR1 cmpl cmpl 0,-1, 2116 NM_153689 chr2 + 200775978 200792996 200776161 200790609 2 200775978,200789784, 200776494,200792996, 0 C2orf69 cmpl cmpl 0,0, 140 NM_022479 chr7 + 70597522 71178586 70597788 71177131 11 70597522,70800535,70853220,70880874,70885893,71036269,71130395,71134956,71142195,71175745,71177002, 70598026,70800719,70853387,70881049,70886091,71036387,71130581,71135094,71142291,71175913,71178586, 0 WBSCR17 cmpl cmpl 0,1,2,1,2,2,0,0,0,0,0, 112 NM_006789 chr6 + 41020939 41032630 41021086 41029610 3 41020939,41029066,41031839, 41021217,41029631,41032630, 0 APOBEC2 cmpl cmpl 0,2,-1, 1380 NM_001008219 chr1 - 104230040 104238911 104230070 104238261 11 104230040,104231579,104231815,104233915,104234109,104235048,104235921,104236600,104237601,104238093,104238663, 104230260,104231705,104231934,104234015,104234232,104235182,104236152,104236798,104237748,104238307,104238911, 0 AMY1C cmpl cmpl 2,2,0,2,2,0,0,0,0,0,-1, 774 NM_019839 chr14 + 24779356 24781259 24779870 24780947 2 24779356,24779860, 24779461,24781259, 0 LTB4R2 cmpl cmpl -1,0, 1355 NM_020836 chr14 - 101003483 101036131 101004305 101034261 7 101003483,101006832,101010194,101011336,101012837,101034247,101036074, 101005652,101006916,101010302,101011403,101012999,101034276,101036131, 0 BEGAIN cmpl cmpl 0,0,0,2,2,0,-1, 1805 NM_001168214 chr3 + 159943422 159946000 159943422 159944166 1 159943422, 159946000, 0 C3orf80 cmpl cmpl 0, 675 NM_014153 chr16 - 11844441 11891114 11845172 11876210 23 11844441,11846524,11850092,11852286,11855261,11855765,11856526,11857333,11858908,11859344,11861272,11862170,11862886,11864638,11868091,11868835,11870175,11870307,11870606,11873021,11875280,11876142,11890979, 11845362,11846688,11850226,11852395,11855367,11855899,11856603,11857515,11859009,11859541,11861434,11862357,11862951,11864843,11868375,11868869,11870214,11870388,11870765,11873219,11875320,11876244,11891114, 0 ZC3H7A cmpl cmpl 2,0,1,0,2,0,1,2,0,1,1,0,1,0,1,0,0,0,0,0,2,0,-1, 89 NM_005013 chr11 + 17298285 17353070 17316870 17352966 14 17298285,17304335,17316870,17317650,17323290,17331118,17332371,17332739,17333418,17333574,17336927,17351673,17352448,17352958, 17298375,17304490,17317014,17317758,17323417,17331222,17332557,17332830,17333477,17333662,17337022,17351844,17352530,17353070, 0 NUCB2 cmpl cmpl -1,-1,0,0,0,1,0,0,1,0,1,0,0,1, 969 NM_020436 chr20 - 50400582 50419048 50400803 50418947 4 50400582,50405399,50406560,50418817, 50401223,50405680,50408891,50419048, 0 SALL4 cmpl cmpl 0,1,1,0, 968 NM_001031746 chr10 - 50222289 50323577 50227694 50323530 8 50222289,50255027,50256522,50272747,50285263,50293999,50315638,50323475, 50227820,50255089,50256629,50272781,50285371,50294068,50316040,50323577, 0 VSTM4 cmpl cmpl 0,1,2,1,1,1,1,0, 1348 NM_019606 chr7 + 100027253 100031749 100027641 100031177 4 100027253,100030541,100030885,100031124, 100029312,100030760,100031012,100031749, 0 MEPCE cmpl cmpl 0,0,0,1, 1226 NM_001080442 chr16 - 84043388 84075762 84043388 84075762 10 84043388,84046605,84050123,84050744,84056379,84063098,84065471,84066932,84070306,84075573, 84043482,84046657,84050332,84050892,84056494,84063156,84065573,84067074,84070505,84075762, 0 SLC38A8 cmpl cmpl 2,1,2,1,0,2,2,1,0,0, 722 NM_001105569 chr2 + 17997785 17998367 17997785 17998367 1 17997785, 17998367, 0 MSGN1 cmpl cmpl 0, 850 NM_001270488 chr6 - 34845554 34855848 34846440 34855734 4 34845554,34848065,34850708,34855563, 34846497,34848153,34850857,34855848, 0 TAF11 cmpl cmpl 0,2,0,0, 1267 NM_001146162 chr11 + 89443466 89451040 89443466 89451040 6 89443466,89444577,89447359,89448325,89449057,89450546, 89443877,89444673,89447590,89448348,89449155,89451040, 0 TRIM77 cmpl cmpl 0,0,0,0,2,1, 778 NM_001001660 chr12 + 25348149 25357949 25356890 25357246 3 25348149,25356853,25357024, 25348271,25356941,25357949, 0 LYRM5 cmpl cmpl -1,0,0, 82 NM_015691 chrX + 9983794 10112518 10031578 10109541 23 9983794,10031484,10035326,10046838,10047764,10058810,10062171,10066545,10077817,10084457,10085163,10090658,10092304,10093063,10094153,10096027,10096596,10097995,10102471,10104672,10106748,10107452,10109474, 9983898,10031594,10035530,10046915,10047844,10058940,10062321,10066619,10078060,10084547,10085729,10090779,10092379,10093150,10094346,10096201,10096748,10098161,10102636,10104765,10106976,10107580,10112518, 0 WWC3 cmpl cmpl -1,0,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 111 NM_001284425 chr3 + 39851150 40301811 40085560 40299657 16 39851150,39942277,40085540,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275349,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP cmpl cmpl -1,-1,0,1,1,0,0,0,1,0,0,0,0,0,1,0, 127 NM_001024924 chr4 + 56719815 56771244 56724489 56770661 19 56719815,56724479,56726576,56730392,56734501,56736843,56737266,56738014,56744082,56749988,56755053,56756388,56757480,56758800,56759717,56762882,56765850,56768509,56770508, 56720119,56724613,56726707,56730552,56734689,56737071,56737399,56738124,56744232,56750094,56755098,56756552,56757588,56758877,56759946,56763066,56766050,56768704,56771244, 0 EXOC1 cmpl cmpl -1,0,1,0,1,0,0,1,0,0,1,1,0,0,2,0,1,0,0, 776 NR_002178 chrY + 25082601 25119431 25119431 25119431 4 25082601,25109774,25111654,25118430, 25082762,25109850,25111762,25119431, 0 TTTY4B unk unk -1,-1,-1,-1, 1234 NR_003654 chr15 + 85174690 85185694 85185694 85185694 4 85174690,85180577,85181626,85182738, 85175529,85180651,85181708,85185694, 0 SCAND2P unk unk -1,-1,-1,-1, 169 NM_006828 chr6 - 100956070 101329248 100957261 101315873 42 100956070,100957807,100960584,100964055,100965866,100988038,101037509,101037823,101049685,101053443,101054615,101054826,101073067,101075465,101075717,101076890,101079003,101086476,101090456,101091906,101094490,101095101,101098413,101099435,101100600,101103574,101109681,101110220,101127493,101163337,101165950,101173414,101214440,101215020,101246588,101247306,101248175,101253635,101296023,101311939,101315783,101328936, 100957409,100957983,100960794,100964203,100966018,100988263,101037644,101037935,101049811,101053576,101054736,101054964,101073210,101075586,101075863,101077057,101079089,101086697,101090625,101092005,101094645,101095327,101098590,101099522,101100765,101103694,101109906,101110412,101127628,101163409,101166127,101173579,101214581,101215221,101246714,101247448,101248380,101253756,101296583,101312090,101315914,101329248, 0 ASCC3 cmpl cmpl 2,0,0,2,0,0,0,2,2,1,0,0,1,0,1,2,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,1,0,0,-1, 1380 NM_001008219 chr1 + 104292440 104301310 104293091 104301280 11 104292440,104293045,104293604,104294554,104295200,104296170,104297120,104297336,104299416,104299645,104301090, 104292688,104293259,104293751,104294752,104295431,104296304,104297243,104297436,104299535,104299771,104301310, 0 AMY1C cmpl cmpl -1,0,0,0,0,0,2,2,0,2,2, 1677 NR_039682 chr8 + 143257699 143257779 143257779 143257779 1 143257699, 143257779, 0 MIR4472-1 unk unk -1, 200 NM_016103 chr5 - 133936838 133968533 133942639 133959709 7 133936838,133944061,133945260,133948380,133956622,133959651,133968417, 133942756,133944193,133945364,133948446,133956742,133959727,133968533, 0 SAR1B cmpl cmpl 0,0,1,1,1,0,-1, 161 NR_046160 chr12 - 92378751 92536447 92536447 92536447 6 92378751,92381331,92382872,92384063,92387145,92536382, 92380473,92381419,92382969,92384138,92387305,92536447, 0 C12orf79 unk unk -1,-1,-1,-1,-1,-1, 161 NR_046159 chr12 - 92378751 92535489 92535489 92535489 6 92378751,92381331,92382872,92384063,92387145,92535426, 92380473,92381419,92382969,92384138,92387305,92535489, 0 C12orf79 unk unk -1,-1,-1,-1,-1,-1, 79 NM_001144857 chr12 + 6421816 6437672 6422310 6437311 15 6421816,6422794,6424170,6424719,6425034,6425420,6426468,6426712,6427022,6427466,6427910,6428158,6435593,6436419,6437301, 6422352,6422950,6424335,6424815,6425085,6425570,6426579,6426862,6427160,6427586,6428043,6428274,6435739,6437112,6437672, 0 PLEKHG6 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,1,0,2,2, 135 NM_015279 chr12 + 65218351 65274798 65218659 65269568 12 65218351,65221614,65222223,65224156,65225898,65230269,65232462,65237159,65258447,65260543,65264381,65268780, 65218813,65221676,65222289,65224282,65226084,65230438,65232631,65237265,65258560,65260683,65264588,65274798, 0 TBC1D30 cmpl cmpl 0,1,0,0,0,0,1,2,0,2,1,1, 141 NM_148923 chr18 - 71920526 71959251 71920818 71959110 5 71920526,71922975,71928149,71930583,71958981, 71920900,71923010,71928179,71930712,71959251, 0 CYB5A cmpl cmpl 2,0,0,0,0, 1379 NM_001288724 chr10 + 104153866 104162286 104155716 104162133 23 104153866,104155644,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162011, 104154357,104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl -1,0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 85 NM_001282658 chr10 - 12938624 13141773 12940415 13040511 7 12938624,13040337,13091673,13115867,13140524,13141083,13141505, 12940679,13040512,13091941,13116100,13140602,13141309,13141773, 0 CCDC3 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1018 NM_001280798 chr12 - 56864727 56882198 56865270 56871485 15 56864727,56865556,56865902,56866473,56867011,56867246,56868327,56868629,56868827,56869407,56869728,56871443,56871716,56871966,56881720, 56865427,56865620,56865979,56866535,56867104,56867378,56868504,56868680,56868894,56869466,56869761,56871502,56871880,56872046,56882198, 0 GLS2 cmpl cmpl 2,1,2,0,0,0,0,0,2,0,0,0,-1,-1,-1, 1458 NR_044995 chr13 + 114518582 114545814 114545814 114545814 5 114518582,114536464,114537656,114541049,114545341, 114518664,114536552,114537737,114541220,114545814, 0 GAS6-AS1 unk unk -1,-1,-1,-1,-1, 1459 NR_044993 chr13 + 114567149 114569805 114569805 114569805 2 114567149,114567982, 114567268,114569805, 0 GAS6-AS2 unk unk -1,-1, 824 NR_040662 chr6 + 31430956 31433586 31433586 31433586 2 31430956,31431147, 31431056,31433586, 0 HCP5 unk unk -1,-1, 158 NM_014606 chr4 + 89513573 89629693 89526974 89628111 26 89513573,89516707,89526945,89570990,89573162,89574019,89575192,89576324,89577025,89579565,89583581,89585303,89588527,89589042,89591010,89591289,89597368,89597484,89599114,89601243,89602309,89607886,89608367,89625248,89625658,89627902, 89513725,89516765,89527200,89571150,89573239,89574241,89575284,89576455,89577186,89579642,89583706,89585363,89588639,89589232,89591174,89591403,89597392,89597574,89599285,89601387,89602476,89607953,89608450,89625432,89625761,89629693, 0 HERC3 cmpl cmpl -1,-1,0,1,2,1,1,0,2,1,0,2,2,0,1,0,0,0,0,0,0,2,0,2,0,1, 104 NM_014586 chr21 + 33245627 33376377 33245987 33371497 11 33245627,33296779,33312476,33318347,33331154,33340561,33346866,33355838,33362441,33368080,33370838, 33246248,33297072,33312532,33318483,33331282,33340697,33347029,33355922,33362489,33368261,33376377, 0 HUNK cmpl cmpl 0,0,2,1,2,1,2,0,0,0,1, 830 NM_005155 chr6 + 32121775 32131458 32122371 32130727 9 32121775,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32130583, 32122181,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32131458, 0 PPT2 cmpl cmpl -1,0,0,1,1,1,1,2,0, 1060 NR_051958 chr20 - 62329994 62339365 62339365 62339365 7 62329994,62331953,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1, 1060 NR_051957 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333247,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 971 NM_002751 chr22 - 50702141 50708779 50703376 50708721 12 50702141,50703749,50704010,50704654,50704968,50705362,50705555,50705685,50705799,50705997,50706248,50708605, 50703456,50703923,50704089,50704734,50705040,50705477,50705603,50705715,50705911,50706056,50706378,50708779, 0 MAPK11 cmpl cmpl 1,1,0,1,1,0,0,0,2,0,2,0, 963 NM_002750 chr10 + 49609654 49647402 49609703 49642938 11 49609654,49612894,49617921,49618072,49628197,49632130,49633930,49634422,49635122,49639235,49642921, 49609825,49613024,49617980,49618211,49628363,49632202,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl 0,2,0,2,0,1,1,1,0,1,1, 954 NM_001166426 chrX + 48456223 48463582 48457339 48463420 8 48456223,48457740,48457974,48458706,48460171,48460452,48462659,48463235, 48457345,48457850,48458105,48459014,48460352,48460594,48462778,48463582, 0 WDR13 cmpl cmpl 0,0,2,1,0,1,2,1, 1250 NM_001032392 chr2 - 87237587 87248969 87243425 87248906 4 87237587,87243424,87244675,87248857, 87240242,87243531,87244811,87248969, 0 PLGLB1 cmpl cmpl -1,2,1,0, 987 NM_001278701 chrX - 52725945 52736276 52727078 52734799 9 52725945,52727033,52727835,52729492,52731630,52733546,52734177,52734730,52736161, 52726568,52727138,52727981,52729628,52731680,52733642,52734292,52734819,52736276, 0 SSX2B cmpl cmpl -1,0,1,0,1,1,0,0,-1, 987 NM_001278701 chrX + 52780280 52790617 52781757 52789480 9 52780280,52781737,52782264,52782914,52784876,52786930,52788577,52789420,52789990, 52780395,52781826,52782379,52783010,52784926,52787066,52788723,52789525,52790617, 0 SSX2B cmpl cmpl -1,0,0,1,1,0,1,0,-1, 2135 NR_045785 chr1 - 203185206 203198860 203198860 203198860 12 203185206,203186429,203186866,203188343,203188791,203191329,203192262,203192622,203194175,203194796,203197660,203198739, 203186261,203186500,203186993,203188457,203188977,203191453,203192387,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1088 NR_039736 chr15 - 66011583 66011670 66011670 66011670 1 66011583, 66011670, 0 MIR4511 unk unk -1, 1171 NM_016364 chr10 - 76854191 76859248 76854433 76857642 4 76854191,76855332,76857469,76859186, 76854636,76855553,76857643,76859248, 0 DUSP13 cmpl cmpl 1,2,0,-1, 818 NM_145029 chr6 + 30614815 30620987 30615008 30620692 5 30614815,30618770,30619042,30620424,30620578, 30615080,30618859,30619243,30620494,30620987, 0 C6orf136 cmpl cmpl 0,0,2,2,0, 2101 NR_029626 chr1 - 198828172 198828282 198828282 198828282 1 198828172, 198828282, 0 MIR181A1 unk unk -1, 132 NM_001013251 chr11 + 62648343 62656355 62648495 62656165 9 62648343,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,0,0,2,0,0,0, 1768 NM_001287589 chr1 + 155108287 155111334 155108428 155110757 4 155108287,155108774,155110454,155110655, 155108467,155108852,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0, 125 NR_037640 chr1 + 55107426 55208328 55208328 55208328 33 55107426,55117621,55118525,55130839,55134526,55136169,55136472,55138763,55139373,55139688,55144414,55144935,55145563,55148328,55151930,55158096,55161048,55165993,55166815,55167762,55168295,55172107,55174686,55181195,55182272,55183164,55186835,55188347,55194018,55197158,55199301,55203254,55207083, 55107641,55117656,55119830,55130913,55134610,55136249,55136602,55138859,55139478,55139824,55144527,55145112,55145718,55148467,55152121,55158234,55161163,55166134,55166995,55167918,55168418,55172210,55174749,55181283,55182390,55183326,55186913,55188472,55194105,55197373,55199383,55203337,55208328, 0 MROH7-TTC4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 898 NR_026938 chr6 + 41068772 41108573 41108573 41108573 23 41068772,41069748,41072848,41076043,41076687,41078961,41085036,41085214,41085867,41086662,41086979,41088261,41089084,41089524,41090715,41092223,41095283,41100032,41102923,41105094,41106346,41107593,41108335, 41068917,41069853,41072887,41076248,41077643,41079095,41085121,41085404,41085923,41086846,41087202,41088396,41089213,41089682,41090988,41092559,41095347,41100252,41103080,41105299,41106464,41107807,41108573, 0 ADCY10P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 105 NM_001286556 chr21 + 33784744 33887710 33785161 33887500 8 33784744,33825619,33829904,33840003,33867336,33873724,33876235,33887123, 33785321,33825816,33830028,33840156,33867480,33873796,33876325,33887710, 0 EVA1C cmpl cmpl 0,1,0,1,1,1,1,1, 1375 NM_001077594 chr14 + 103566480 103576894 103566556 103576560 11 103566480,103568454,103570277,103570603,103571074,103571328,103573121,103573760,103573967,103574732,103576367, 103566950,103569109,103570389,103570726,103571175,103571409,103573236,103573880,103574120,103574854,103576894, 0 EXOC3L4 cmpl cmpl 0,1,2,0,0,2,2,0,0,0,2, 864 NR_073097 chr1 - 36602169 36615115 36615115 36615115 3 36602169,36603396,36614692, 36602923,36603579,36615115, 0 TRAPPC3 unk unk -1,-1,-1, 177 NM_033390 chr11 + 109964086 110042566 109964137 110036462 6 109964086,110007387,110023643,110029980,110033997,110035065, 109964158,110008139,110023783,110030215,110034104,110042566, 0 ZC3H12C cmpl cmpl 0,0,2,1,2,1, 129 NM_016651 chr14 + 59104756 59115038 59104920 59113852 4 59104756,59107453,59108309,59111975, 59105265,59107586,59108465,59115038, 0 DACT1 cmpl cmpl 0,0,1,1, 1568 NM_020701 chr3 - 128846258 128880073 128848923 128879818 11 128846258,128849392,128852916,128853674,128859210,128864603,128875475,128875697,128877350,128877996,128879815, 128849031,128849479,128853038,128853797,128859328,128864716,128875518,128875763,128877402,128878019,128880073, 0 ISY1 cmpl cmpl 0,0,1,1,0,1,0,0,2,0,0, 954 NM_001256967 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481397, 48474576,48475281,48476420,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 954 NM_001256968 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481505, 48474576,48475281,48476425,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 954 NM_001256969 chr3 - 48473579 48481529 48473817 48475266 4 48473579,48475116,48476226,48481505, 48474576,48475281,48476420,48481529, 0 CCDC51 cmpl cmpl 0,0,-1,-1, 1172 NM_001278603 chr4 - 77035811 77069668 77036518 77069527 11 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77055327,77057338,77065542,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77055515,77057565,77065626,77069668, 0 NUP54 cmpl cmpl 0,0,0,0,2,1,2,0,1,1,0, 2436 NM_152783 chr2 + 242673993 242708231 242674639 242707384 10 242673993,242674547,242680447,242681849,242683036,242684123,242689565,242690660,242695263,242707124, 242674110,242674931,242680505,242681989,242683230,242684292,242689709,242690803,242695429,242708231, 0 D2HGDH cmpl cmpl -1,0,1,2,1,0,1,1,0,1, 2440 NR_029401 chr1 - 243219615 243265046 243265046 243265046 18 243219615,243220665,243222779,243223720,243229374,243230392,243230926,243232882,243242289,243245191,243251011,243252622,243254832,243255342,243255780,243259292,243260491,243264687, 243220572,243220723,243222970,243223839,243229543,243230589,243231024,243233006,243242354,243245427,243251534,243252681,243254898,243255496,243255997,243259424,243260601,243265046, 0 RP11-261C10.3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1674 NM_001009615 chrX - 142795054 142804516 142795134 142803762 2 142795054,142803684, 142795599,142804516, 0 SPANXN2 cmpl cmpl 0,0, 11 NM_001288714 chr11 + 20691096 21597229 20691269 21596568 19 20691096,20699477,20805225,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21555919,21581734,21592309,21594730,21596517, 20691324,20699606,20805376,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21556060,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,2,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0, 11 NM_001288787 chr17 - 17746821 17875784 17750948 17875627 14 17746821,17752136,17754206,17764789,17766044,17769609,17770189,17772653,17782940,17786018,17796974,17801909,17810760,17875575, 17751097,17752173,17754266,17764865,17766162,17769733,17770238,17772787,17783057,17786177,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,2,1,0,2,0,0,0,0,2,1,0, 11 NM_001288788 chr17 - 17746821 17875784 17750948 17875627 12 17746821,17752136,17764789,17766044,17769609,17770189,17772653,17782940,17796974,17801909,17810760,17875575, 17751097,17752173,17764865,17766162,17769733,17770238,17772787,17783057,17797124,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,2,1,0,2,0,0,0,2,1,0, 633 NM_014336 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330076,6330377,6331826,6337418,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 771 NM_001503 chr6 - 24426061 24489850 24429259 24489739 25 24426061,24433414,24433590,24436803,24437340,24445773,24445953,24447065,24448104,24448361,24450016,24454242,24456725,24460506,24462957,24466907,24467139,24467394,24472809,24473846,24475348,24476408,24480108,24486302,24489642, 24429346,24433465,24433617,24436964,24437517,24445867,24446059,24447207,24448261,24448436,24450127,24454429,24456865,24460627,24463023,24467047,24467167,24467502,24472864,24473895,24475459,24476506,24480187,24486358,24489850, 0 GPLD1 cmpl cmpl 0,0,0,1,1,0,2,1,0,0,0,2,0,2,2,0,2,2,1,0,0,1,0,1,0, 1654 NM_001184987 chr4 - 140211070 140223705 140213703 140216952 5 140211070,140213683,140216196,140216885,140223569, 140211246,140213763,140216300,140217114,140223705, 0 NDUFC1 cmpl cmpl -1,0,1,0,-1, 187 NM_015313 chr11 + 120207617 120360645 120207952 120355786 41 120207617,120276826,120278446,120280102,120291461,120292511,120295066,120298777,120300148,120300420,120302479,120308016,120310837,120312415,120312812,120316130,120317111,120317656,120318582,120318942,120319817,120322220,120327826,120328429,120328788,120329882,120331380,120335945,120337902,120339996,120343758,120345268,120346048,120347369,120347927,120348155,120348864,120350668,120351968,120355146,120355775, 120207984,120276850,120278532,120280159,120291560,120292561,120295124,120298956,120300226,120300540,120302620,120308091,120310930,120312526,120312911,120316173,120317217,120317794,120318615,120319057,120319923,120322433,120327959,120328465,120328943,120330029,120331466,120336071,120338017,120340097,120343836,120345344,120346216,120347457,120348014,120348235,120349098,120351139,120352285,120355216,120360645, 0 ARHGEF12 cmpl cmpl 0,2,2,1,1,1,0,1,0,0,0,0,0,0,0,0,1,2,2,2,0,1,1,2,2,1,1,0,0,1,0,0,1,1,2,2,1,1,1,0,1, 1003 NM_019888 chr20 + 54823787 54824871 54823899 54824871 1 54823787, 54824871, 0 MC3R cmpl cmpl 0, 1660 NM_177456 chrX + 140982451 140985618 140984438 140985479 5 140982451,140983054,140983968,140984216,140984370, 140982600,140983193,140984062,140984293,140985618, 0 MAGEC3 cmpl cmpl -1,-1,-1,-1,0, 942 NR_045789 chr1 + 46805848 46830824 46830824 46830824 7 46805848,46806994,46810472,46812592,46818539,46826375,46827241, 46806591,46807169,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 unk unk -1,-1,-1,-1,-1,-1,-1, 936 NM_001024644 chr3 - 46062290 46068979 46062437 46063439 2 46062290,46068908, 46063470,46068979, 0 XCR1 cmpl cmpl 0,-1, 77 NM_001105538 chr17 - 4442190 4458681 4442234 4458619 27 4442190,4442733,4443642,4444757,4445078,4445758,4445910,4446207,4447783,4448045,4448320,4448553,4448904,4449140,4451252,4451437,4451818,4452626,4453352,4455174,4455419,4455745,4457104,4457313,4457489,4458155,4458421, 4442270,4443262,4443779,4444859,4445186,4445827,4446036,4446460,4447941,4448216,4448470,4448640,4449056,4449237,4451352,4451605,4451944,4452737,4453648,4455292,4455587,4455921,4457212,4457388,4457573,4458251,4458681, 0 MYBBP1A cmpl cmpl 0,2,0,0,0,0,0,2,0,0,0,0,1,0,2,2,2,2,0,2,2,0,0,0,0,0,0, 956 NM_016453 chr3 - 48711271 48723366 48711976 48723240 13 48711271,48715996,48716309,48716487,48716809,48717007,48717233,48717491,48718719,48719477,48719780,48720335,48723069, 48712180,48716169,48716402,48716616,48716890,48717146,48717320,48717662,48719213,48719589,48719985,48720445,48723366, 0 NCKIPSD cmpl cmpl 0,1,1,1,1,0,0,0,1,0,2,0,0, 2409 NM_030768 chr2 - 239079042 239112324 239079176 239112194 12 239079042,239079583,239082174,239090705,239092293,239092660,239093821,239096771,239098493,239102915,239103445,239112139, 239079317,239079665,239082294,239090827,239092381,239092754,239093928,239096898,239098613,239102972,239103511,239112324, 0 ILKAP cmpl cmpl 0,2,2,0,2,1,2,1,1,1,1,0, 109 NM_003316 chr21 + 38455246 38575408 38459557 38573875 46 38455246,38459546,38460132,38460495,38461098,38462532,38463592,38466304,38467649,38468880,38480691,38494116,38495282,38496918,38498379,38501302,38504981,38507679,38510933,38512860,38516824,38519780,38520845,38522377,38523119,38524192,38525250,38528956,38532000,38533103,38534291,38536352,38537851,38539856,38544896,38555075,38558006,38559349,38560795,38563634,38564412,38567975,38569870,38570182,38572532,38573740, 38456631,38459701,38460175,38460646,38461186,38462586,38463713,38466390,38467744,38468943,38480746,38494279,38495328,38497042,38498443,38501363,38505066,38507814,38511014,38512973,38516945,38519903,38520947,38522470,38523184,38524329,38525577,38529208,38532047,38533160,38534365,38536517,38538917,38539922,38545046,38555215,38558075,38559446,38560896,38563725,38564514,38568337,38569997,38570326,38572625,38575408, 0 TTC3 cmpl cmpl -1,0,0,1,2,0,0,1,0,2,2,0,1,2,0,1,2,0,0,0,2,0,0,0,0,2,1,1,1,0,0,2,2,0,0,0,2,2,0,2,0,0,2,0,0,0, 1270 NM_006813 chr6 + 89790428 89794879 89790613 89793915 2 89790428,89793471, 89791153,89794879, 0 PNRC1 cmpl cmpl 0,0, 692 NR_033354 chr18 - 14075988 14132489 14132489 14132489 6 14075988,14078198,14080187,14084195,14084875,14132273, 14077525,14078297,14080265,14084346,14085075,14132489, 0 ZNF519 unk unk -1,-1,-1,-1,-1,-1, 803 NR_033353 chr15 + 28623783 28637171 28637171 28637171 18 28623783,28625652,28626357,28626600,28627535,28627983,28628163,28629292,28629488,28629791,28630270,28630794,28632234,28632747,28633413,28633596,28633786,28634024, 28623955,28625772,28626417,28626681,28627895,28628068,28628273,28629382,28629596,28629879,28630527,28630875,28632310,28632839,28633514,28633697,28633939,28637171, 0 GOLGA8G unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1275 NR_040117 chr9 - 90472957 90473971 90473971 90473971 1 90472957, 90473971, 0 LOC392364 unk unk -1, 946 NM_152264 chr11 + 47430045 47438051 47431645 47436914 10 47430045,47431616,47433476,47433896,47434950,47435147,47435975,47436327,47436610,47436838, 47430213,47431946,47433590,47434018,47435058,47435237,47436026,47436460,47436710,47438051, 0 SLC39A13 cmpl cmpl -1,0,1,1,0,0,0,0,1,2, 726 NM_001261385 chr11 - 18552949 18601065 18554018 18600283 11 18552949,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18596893,18600270,18600974, 18554034,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18596959,18600355,18601065, 0 UEVLD cmpl cmpl 2,1,1,1,0,1,0,1,1,0,-1, 1701 NR_047115 chr5 - 146293769 146299069 146299069 146299069 4 146293769,146297385,146297936,146298954, 146293997,146297474,146297951,146299069, 0 PPP2R2B-IT1 unk unk -1,-1,-1,-1, 159 NM_001613 chr10 - 90694830 90712580 90694979 90708687 9 90694830,90697817,90699263,90700985,90701541,90703553,90707014,90708558,90712487, 90695123,90697999,90699455,90701147,90701626,90703664,90707143,90708710,90712580, 0 ACTA2 cmpl cmpl 0,1,1,1,0,0,0,0,-1, 179 NM_005054 chr2 - 111271397 111334678 111273187 111334601 23 111271397,111281072,111283841,111291041,111293992,111297631,111300935,111301112,111302236,111302645,111303049,111304130,111304421,111304680,111306969,111309300,111315428,111320188,111320679,111324952,111325540,111327233,111334529, 111273222,111281274,111283981,111293265,111294087,111297767,111301019,111301292,111302383,111302783,111303208,111304254,111304597,111304862,111307179,111309388,111315624,111320334,111320910,111325105,111325652,111327301,111334678, 0 RGPD5 cmpl cmpl 1,0,1,0,1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0, 1428 NM_005054 chr2 + 110551965 110615263 110552042 110613473 23 110551965,110559359,110561008,110561555,110565750,110566326,110571036,110577272,110579481,110581798,110582063,110582406,110583452,110583877,110584277,110585368,110585641,110588893,110592573,110593395,110602679,110605386,110613438, 110552114,110559427,110561120,110561708,110565981,110566472,110571232,110577360,110579691,110581980,110582239,110582530,110583611,110584015,110584424,110585548,110585725,110589029,110592668,110595619,110602819,110605588,110615263, 0 RGPD5 cmpl cmpl 0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1,0,1,0,1, 666 NM_001101387 chr17 - 10725791 10741418 10728548 10728962 2 10725791,10741261, 10729100,10741418, 0 PIRT cmpl cmpl 0,-1, 832 NM_001193513 chr2 + 32390909 32449181 32390969 32445782 15 32390909,32396355,32399131,32400387,32402545,32409341,32417404,32417986,32418957,32422412,32422775,32429658,32431954,32434561,32445281, 32390972,32396442,32399216,32400430,32402665,32409407,32417485,32418022,32419052,32422461,32422895,32429761,32432002,32434630,32449181, 0 SLC30A6 cmpl cmpl 0,0,0,1,2,2,2,2,2,1,2,2,0,0,0, 129 NM_001079520 chr14 + 59104756 59115038 59104920 59113852 4 59104756,59107453,59108309,59112086, 59105265,59107586,59108465,59115038, 0 DACT1 cmpl cmpl 0,0,1,1, 3 NM_001161661 chr5 + 167719064 167899308 167719157 167896022 23 167719064,167798428,167812215,167824728,167826492,167833202,167835511,167836926,167841352,167849012,167850537,167855037,167855711,167857141,167858256,167868686,167871498,167880972,167882360,167887654,167891715,167894844,167895955, 167719276,167798538,167812419,167824805,167826572,167833332,167835658,167837000,167841595,167849102,167851073,167855146,167855792,167857228,167858449,167868839,167871590,167881105,167882525,167887747,167891967,167894969,167899308, 0 WWC1 cmpl cmpl 0,2,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 2256 NM_000634 chr2 - 219027567 219031716 219028881 219029934 2 219027567,219031630, 219029967,219031716, 0 CXCR1 cmpl cmpl 0,-1, 592 NM_024100 chr19 + 984327 994569 984353 994343 10 984327,985864,989761,990222,990851,991080,991226,991954,994018,994211, 984563,985975,989895,990364,990995,991145,991351,992121,994087,994569, 0 WDR18 cmpl cmpl 0,0,0,2,0,0,2,1,0,0, 952 NM_001199898 chr17 + 48172100 48188733 48174860 48187461 12 48172100,48173495,48174786,48182734,48183248,48184157,48184439,48185519,48185682,48185975,48186650,48187320, 48172262,48173650,48174928,48182806,48183433,48184247,48184517,48185596,48185781,48186083,48186764,48188733, 0 PDK2 cmpl cmpl -1,-1,0,2,2,1,1,1,0,0,0,0, 11 NR_027790 chr21 + 17442841 17982094 17982094 17982094 8 17442841,17443433,17553910,17603375,17859809,17909698,17966659,17979313, 17442868,17443718,17554007,17603435,17859858,17909759,17966774,17982094, 0 LINC00478 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1519 NM_001136239 chr5 + 122424840 122523745 122425709 122522895 8 122424840,122425694,122435348,122491577,122495207,122506459,122515840,122522780, 122425214,122426301,122435656,122491705,122495332,122506802,122516017,122523745, 0 PRDM6 cmpl cmpl -1,0,1,0,2,1,2,2, 595 NM_006140 chrX + 1387692 1428828 1401596 1428372 13 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1419383,1422815,1424338,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1419519,1422912,1424420,1428828, 0 CSF2RA cmpl cmpl -1,-1,0,1,0,1,2,1,0,0,1,2,0, 144 NM_025083 chr15 - 74922898 74988386 74924952 74967465 7 74922898,74927749,74932806,74948073,74963795,74967301,74988220, 74925287,74927967,74932960,74948409,74964115,74967483,74988386, 0 EDC3 cmpl cmpl 1,2,1,1,2,0,-1, 1 NM_000627 chr2 + 33359663 33624575 33359804 33623612 30 33359663,33411922,33413643,33442618,33447146,33468728,33477743,33482350,33484654,33487788,33488360,33498722,33500031,33500867,33505105,33518226,33525517,33526588,33534500,33540210,33567904,33572433,33585663,33586495,33588456,33589282,33590399,33614250,33622199,33623430, 33360027,33412147,33413918,33442721,33447218,33468851,33477911,33482578,33484677,33487888,33488459,33498848,33500157,33500990,33505225,33518349,33525640,33526711,33534623,33540336,33568030,33572577,33585846,33586582,33588585,33589423,33590570,33614373,33622349,33624575, 0 LTBP1 cmpl cmpl 0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 119 NM_025087 chr4 + 48988264 49064095 48988446 49063907 16 48988264,48990493,48993470,48993952,48996635,49000476,49005751,49009217,49019265,49030645,49032841,49034582,49040052,49046802,49052710,49063828, 48988489,48990685,48993591,48994107,48996837,49000565,49006009,49009343,49019345,49030751,49032977,49034732,49040197,49046864,49052866,49064095, 0 CWH43 cmpl cmpl 0,1,1,2,1,2,1,1,1,0,1,2,2,0,2,2, 119 NM_001199161 chr3 - 49145478 49158371 49145844 49156578 27 49145478,49147616,49147876,49148143,49148382,49148687,49148932,49149343,49149716,49149921,49151424,49151606,49152195,49152391,49152660,49152876,49153156,49153479,49153712,49153883,49154159,49154491,49154869,49155089,49155379,49156454,49158188, 49145961,49147795,49148037,49148296,49148599,49148798,49149246,49149481,49149835,49150062,49151526,49151717,49152306,49152550,49152794,49153072,49153377,49153595,49153784,49154040,49154376,49154794,49155003,49155263,49155553,49156714,49158371, 0 USP19 cmpl cmpl 0,1,2,2,1,1,2,2,0,0,0,0,0,0,1,0,1,2,2,1,0,0,1,1,1,0,-1, 825 NM_004640 chr6 - 31497995 31510252 31498210 31508309 11 31497995,31498555,31498829,31499072,31500556,31503143,31504276,31506539,31506923,31508098,31509726, 31498227,31498703,31498974,31499182,31500688,31503262,31504460,31506632,31507051,31508441,31510252, 0 DDX39B cmpl cmpl 1,0,2,0,0,1,0,0,1,0,-1, 1193 NM_001284237 chr5 + 79703831 79736195 79729966 79735862 4 79703831,79729927,79732574,79735754, 79703972,79730036,79734826,79736195, 0 ZFYVE16 cmpl cmpl -1,0,1,0, 1946 NM_152517 chr2 - 178414880 178417524 178415493 178417491 1 178414880, 178417524, 0 TTC30B cmpl cmpl 0, 1749 NM_178433 chr1 + 152586286 152586574 152586286 152586574 1 152586286, 152586574, 0 LCE3B cmpl cmpl 0, 830 NM_138717 chr6 + 32121228 32131458 32121403 32130727 9 32121228,32122363,32122806,32123464,32123647,32125413,32125616,32130344,32130583, 32121413,32122554,32122960,32123560,32123755,32125497,32125701,32130399,32131458, 0 PPT2 cmpl cmpl 0,1,0,1,1,1,1,2,0, 805 NR_103538 chr6 + 28911560 28912315 28912315 28912315 1 28911560, 28912315, 0 C6orf100 unk unk -1, 1566 NR_002187 chr7 + 128695276 128697293 128697293 128697293 1 128695276, 128697293, 0 TPI1P2 unk unk -1, 605 NM_213568 chr19 - 2734523 2740074 2736937 2737255 2 2734523,2739942, 2737377,2740074, 0 SLC39A3 cmpl cmpl 0,-1, 1081 NR_030347 chr12 + 65016288 65016385 65016385 65016385 1 65016288, 65016385, 0 MIR548C unk unk -1, 777 NR_022011 chr15 + 25227140 25228937 25228937 25228937 1 25227140, 25228937, 0 PWARSN unk unk -1, 1060 NM_001267546 chr20 - 62329994 62339365 62331794 62338042 7 62329994,62331953,62333181,62333487,62337708,62338002,62339218, 62331882,62332054,62333252,62333569,62337791,62338090,62339365, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,-1, 914 NM_006811 chr20 - 43127900 43150726 43128936 43150592 10 43127900,43129713,43132455,43133441,43135467,43138531,43139929,43141441,43142519,43150553, 43129075,43129941,43132636,43133532,43135637,43138669,43140009,43141635,43142681,43150726, 0 SERINC3 cmpl cmpl 2,2,1,0,1,1,2,0,0,0, 607 NR_015440 chr1 - 2976180 2984289 2984289 2984289 6 2976180,2976793,2977064,2977670,2980775,2983900, 2976301,2976847,2977168,2980619,2980866,2984289, 0 LINC00982 unk unk -1,-1,-1,-1,-1,-1, 165 NR_015448 chr7 - 96597826 96643377 96643377 96643377 3 96597826,96607658,96643236, 96598430,96608903,96643377, 0 DLX6-AS1 unk unk -1,-1,-1, 99 NM_182488 chr13 - 27640286 27746033 27643419 27745776 9 27640286,27645207,27649327,27664019,27664218,27669737,27679867,27690652,27745728, 27643521,27645286,27649525,27664103,27664295,27669967,27680081,27690733,27746033, 0 USP12 cmpl cmpl 0,2,2,2,0,1,0,0,0, 837 NM_181509 chr20 + 33134687 33148149 33137781 33147702 5 33134687,33137708,33147011,33147150,33147539, 33134720,33137833,33147067,33147257,33148149, 0 MAP1LC3A cmpl cmpl -1,0,1,0,2, 148 NM_014984 chr17 - 79163392 79196751 79163568 79193856 26 79163392,79163714,79164438,79164706,79164992,79166117,79166275,79166535,79167725,79168669,79169634,79170500,79170729,79171511,79171914,79172676,79173180,79173518,79174128,79176039,79177293,79180543,79180924,79182727,79193679,79196568, 79163643,79163775,79164602,79164884,79165135,79166192,79166393,79166643,79167927,79168772,79169751,79170626,79170855,79171688,79172097,79172771,79173349,79173635,79174246,79176198,79177407,79180671,79181039,79182822,79193873,79196751, 0 AZI1 cmpl cmpl 0,2,0,2,0,0,2,2,1,0,0,0,0,0,0,1,0,0,2,2,2,0,2,0,0,-1, 602 NM_080594 chr16 - 2303116 2318413 2303964 2314644 8 2303116,2305585,2312278,2312740,2313096,2314176,2314573,2318055, 2304064,2305727,2312432,2312843,2313288,2314332,2314761,2318413, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0,-1, 676 NM_001256869 chr8 - 11989925 11991518 11989925 11991518 1 11989925, 11991518, 0 USP17L7 cmpl cmpl 0, 656 NM_001256867 chr4 + 9326890 9328483 9326890 9328483 1 9326890, 9328483, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9331636 9333229 9331636 9333229 1 9331636, 9333229, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L30 cmpl cmpl 0, 1124 NR_003951 chr14 - 70712469 70714518 70714518 70714518 1 70712469, 70714518, 0 ADAM21P1 unk unk -1, 1118 NM_001252152 chr14 + 69865095 69929107 69908934 69925310 8 69865095,69890810,69908548,69908785,69919957,69921528,69922448,69925079, 69865167,69890919,69908689,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl -1,-1,-1,0,1,1,0,0, 939 NR_027240 chr22 + 46402495 46406657 46406657 46406657 1 46402495, 46406657, 0 LOC730668 unk unk -1, 1011 NM_207366 chr7 - 55861236 55930482 55863605 55929689 10 55861236,55872950,55874782,55886819,55902117,55910634,55912215,55914209,55929635,55930380, 55863785,55873083,55874951,55886916,55902279,55910821,55912411,55914330,55929704,55930482, 0 SEPT14 cmpl cmpl 0,2,1,0,0,2,1,0,0,-1, 1725 NM_001288705 chr5 - 149432853 149466203 149433631 149465990 21 149432853,149433884,149434799,149435588,149435781,149436849,149437066,149439262,149440424,149441053,149441285,149447777,149449435,149449744,149450018,149452863,149456838,149457674,149459614,149460329,149465941, 149433787,149433993,149434899,149435700,149435904,149436947,149437155,149439425,149440535,149441158,149441412,149447893,149449626,149449865,149450134,149453056,149456998,149457811,149459899,149460587,149466203, 0 CSF1R cmpl cmpl 0,2,1,0,0,1,2,1,1,1,0,1,2,1,2,1,0,1,1,1,0, 910 NR_002191 chrX - 42636616 42637486 42637486 42637486 1 42636616, 42637486, 0 PPP1R2P9 unk unk -1, 137 NM_002758 chr17 + 67410837 67538470 67411125 67537894 12 67410837,67501920,67512995,67513640,67515453,67516410,67517189,67519654,67521041,67522710,67532255,67537816, 67411141,67501987,67513044,67513754,67515573,67516527,67517241,67519782,67521119,67522850,67532301,67538470, 0 MAP2K6 cmpl cmpl 0,1,2,0,0,0,0,1,0,0,2,0, 90 NM_206909 chr8 - 18384812 18666405 18393252 18666296 13 18384812,18413718,18430037,18432637,18457873,18490122,18513151,18622958,18656804,18658779,18662031,18662213,18666264, 18393468,18413862,18430182,18432795,18457944,18490316,18513195,18623048,18656863,18658892,18662112,18662408,18666405, 0 PSD3 cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,0, 1813 NM_207005 chr1 - 161009040 161015769 161009709 161012004 11 161009040,161009991,161010365,161010603,161011113,161011440,161011905,161012375,161012622,161013057,161015647, 161009799,161010120,161010460,161010662,161011201,161011636,161012007,161012460,161012672,161013150,161015769, 0 USF1 cmpl cmpl 0,0,1,2,1,0,0,-1,-1,-1,-1, 29 NM_001135095 chr3 + 171758343 172118492 171830269 172115265 26 171758343,171830241,171851260,171944660,171965322,171969049,172003715,172013152,172016517,172025152,172028617,172046741,172048330,172050878,172052733,172055119,172058902,172060800,172061875,172064116,172065001,172070592,172080422,172096059,172098755,172114953, 171758414,171830380,171851336,171944737,171965566,171969331,172003774,172013304,172016577,172025291,172028671,172046866,172048505,172050965,172052872,172055191,172059021,172060906,172062048,172064230,172065151,172070873,172080635,172096226,172098883,172118492, 0 FNDC3B cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 588 NM_001286433 chr16 + 447191 450754 447222 450342 4 447191,448989,449626,450218, 447313,449123,449739,450754, 0 NME4 cmpl cmpl 0,1,0,2, 900 NM_053046 chr19 + 41305333 41314346 41306477 41313769 6 41305333,41306243,41312459,41313042,41313388,41313713, 41305543,41307320,41312579,41313179,41313456,41314346, 0 EGLN2 cmpl cmpl -1,0,0,0,2,1, 775 NR_002180 chrY + 24997730 24998862 24998862 24998862 2 24997730,24998756, 24997790,24998862, 0 TTTY17B unk unk -1,-1, 788 NR_002180 chrY + 26631478 26632610 26632610 26632610 2 26631478,26632504, 26631538,26632610, 0 TTTY17B unk unk -1,-1, 793 NR_002180 chrY - 27329789 27330920 27330920 27330920 2 27329789,27330860, 27329895,27330920, 0 TTTY17B unk unk -1,-1, 98 NR_002178 chrY + 26716348 26753172 26753172 26753172 4 26716348,26743515,26745395,26752171, 26716509,26743591,26745503,26753172, 0 TTTY4B unk unk -1,-1,-1,-1, 792 NR_002178 chrY - 27209229 27246039 27246039 27246039 4 27209229,27216880,27218792,27245878, 27210230,27216988,27218868,27246039, 0 TTTY4B unk unk -1,-1,-1,-1, 776 NR_002177 chrY + 25082601 25119431 25119431 25119431 4 25082601,25109774,25111654,25118430, 25082762,25109850,25111762,25119431, 0 TTTY4C unk unk -1,-1,-1,-1, 98 NR_002177 chrY + 26716348 26753172 26753172 26753172 4 26716348,26743515,26745395,26752171, 26716509,26743591,26745503,26753172, 0 TTTY4C unk unk -1,-1,-1,-1, 792 NR_002177 chrY - 27209229 27246039 27246039 27246039 4 27209229,27216880,27218792,27245878, 27210230,27216988,27218868,27246039, 0 TTTY4C unk unk -1,-1,-1,-1, 11 NM_001288789 chr17 - 17746821 17875784 17750948 17875627 13 17746821,17752136,17754206,17761082,17764789,17766044,17769609,17770189,17772653,17782940,17801909,17810760,17875575, 17751097,17752173,17754266,17761169,17764865,17766162,17769733,17770238,17772787,17783057,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,0,2,1,0,2,0,0,2,1,0, 906 NM_001242778 chr8 + 42128819 42190171 42129700 42188497 21 42128819,42129600,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB cmpl cmpl -1,0,2,0,1,0,0,2,2,0,0,1,2,1,0,2,1,2,0,2,0, 645 NR_033250 chr19 - 7943516 7945117 7945117 7945117 1 7943516, 7945117, 0 LOC388499 unk unk -1, 1073 NR_033245 chr7 + 64042987 64044129 64044129 64044129 1 64042987, 64044129, 0 LOC641746 unk unk -1, 1341 NM_198045 chr10 + 99205887 99217127 99211432 99216648 9 99205887,99211427,99212171,99212651,99213286,99214470,99215416,99215730,99216533, 99206110,99211675,99212260,99212680,99213420,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,2,1,0,2,0,2, 1737 NM_002362 chrX + 151084708 151093642 151092136 151093090 3 151084708,151091924,151092071, 151084792,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1964 NR_028322 chr5 + 180750506 180755196 180755196 180755196 3 180750506,180750902,180751053, 180750675,180750960,180755196, 0 RP4-669L17.10 unk unk -1,-1,-1, 1438 NR_029429 chr1 - 111927140 111932473 111932473 111932473 5 111927140,111929358,111930875,111931769,111932383, 111927217,111929480,111931075,111931888,111932473, 0 PGCP1 unk unk -1,-1,-1,-1,-1, 142 NR_029423 chrX - 72744110 72782921 72782921 72782921 2 72744110,72782795, 72746523,72782921, 0 MAP2K4P1 unk unk -1,-1, 170 NM_001288823 chr1 - 102268122 102462790 102269793 102296374 7 102268122,102271631,102290581,102296227,102302434,102433075,102462303, 102270471,102271738,102290801,102296383,102302581,102433136,102462790, 0 OLFM3 cmpl cmpl 0,1,0,0,-1,-1,-1, 1365 NM_001288821 chr1 - 102268122 102312636 102269793 102312529 6 102268122,102271631,102290581,102296227,102302434,102312400, 102270471,102271738,102290801,102296383,102302581,102312636, 0 OLFM3 cmpl cmpl 0,1,0,0,0,0, 1076 NR_033837 chr2 - 64412212 64432619 64432619 64432619 6 64412212,64416150,64419489,64428361,64430126,64430423, 64412876,64416266,64419592,64428492,64430222,64432619, 0 LINC00309 unk unk -1,-1,-1,-1,-1,-1, 17 NM_148842 chr7 - 74441223 74489717 74442135 74489573 11 74441223,74466817,74470007,74471635,74474399,74477019,74479106,74480394,74482476,74486453,74489249, 74442183,74466903,74470181,74471723,74474581,74477104,74479158,74480461,74482605,74486583,74489717, 0 WBSCR16 cmpl cmpl 0,1,1,0,1,0,2,1,1,0,0, 774 NR_026646 chr15 + 24803303 24832926 24832926 24832926 9 24803303,24811802,24813043,24814929,24815178,24819656,24820053,24825373,24832713, 24803468,24811947,24813329,24814956,24815275,24819960,24820150,24825477,24832926, 0 PWRN1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 822 NR_026816 chr6 - 31141511 31145676 31145676 31145676 3 31141511,31142014,31145415, 31141810,31142047,31145676, 0 PSORS1C3 unk unk -1,-1,-1, 1068 NR_036635 chr2 - 63344985 63346677 63346677 63346677 1 63344985, 63346677, 0 DBIL5P2 unk unk -1, 19 NR_026571 chr11 - 89057521 89224653 89224653 89224653 18 89057521,89069012,89070614,89073230,89075241,89088129,89106599,89133184,89133382,89135493,89155069,89165951,89173855,89177302,89182607,89184952,89223625,89224357, 89060044,89069113,89070683,89073339,89075361,89088211,89106660,89133247,89133547,89135710,89155150,89166024,89173883,89177400,89182692,89185059,89223721,89224653, 0 NOX4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 113 NR_026558 chr9 + 42858151 42893137 42893137 42893137 4 42858151,42859318,42883123,42892898, 42858219,42859369,42883294,42893137, 0 AQP7P3 unk unk -1,-1,-1,-1, 92 NR_003510 chrY + 20708576 20750849 20750849 20750849 6 20708576,20711999,20712668,20713802,20744558,20750421, 20709186,20712109,20712755,20713957,20744644,20750849, 0 HSFY1 unk unk -1,-1,-1,-1,-1,-1, 744 NR_003510 chrY - 20893325 20935601 20935601 20935601 6 20893325,20899530,20930216,20931418,20932068,20934991, 20893753,20899616,20930371,20931505,20932178,20935601, 0 HSFY1 unk unk -1,-1,-1,-1,-1,-1, 1154 NM_001146158 chr2 - 74688183 74692537 74688401 74692056 5 74688183,74690316,74691622,74692022,74692440, 74690139,74690513,74691849,74692114,74692537, 0 MOGS cmpl cmpl 2,0,1,0,-1, 112 NM_172163 chr1 + 41249683 41306124 41249765 41304195 13 41249683,41282936,41283835,41284176,41285018,41285546,41285836,41287985,41296755,41298685,41300638,41303336,41303982, 41250079,41283027,41283962,41284352,41285144,41285657,41285932,41288074,41296976,41298785,41300770,41303466,41306124, 0 KCNQ4 cmpl cmpl 0,2,0,1,0,0,0,0,2,1,2,2,0, 1707 NM_152578 chrX + 147062848 147108187 147062922 147106520 6 147062848,147084720,147088221,147090137,147106384,147108021, 147063199,147084840,147088362,147090231,147106533,147108187, 0 FMR1NB cmpl cmpl 0,1,1,1,2,-1, 87 NM_152574 chr9 - 15170841 15307358 15172016 15307321 20 15170841,15175016,15177694,15182304,15185277,15186941,15187968,15189571,15189722,15190551,15191187,15192587,15199858,15203820,15210085,15211263,15214136,15225914,15267911,15307081, 15172107,15175133,15177812,15182413,15185404,15187033,15188130,15189631,15189790,15190660,15191253,15192693,15199923,15203888,15210162,15211395,15214247,15226010,15267946,15307358, 0 TTC39B cmpl cmpl 2,2,1,0,2,0,0,0,1,0,0,2,0,1,2,2,2,2,0,0, 1274 NM_001150 chr15 - 90328125 90358072 90328579 90349814 21 90328125,90333690,90334183,90335390,90335682,90336265,90340805,90342490,90342656,90344341,90344665,90346469,90346672,90346877,90347119,90347483,90347721,90348308,90348551,90349200,90358003, 90328732,90333772,90334324,90335558,90335793,90336357,90340953,90342546,90342790,90344418,90344838,90346535,90346738,90347021,90347233,90347638,90347848,90348448,90348694,90350037,90358072, 0 ANPEP cmpl cmpl 0,2,2,2,2,0,2,0,1,2,0,0,0,0,0,1,0,1,2,0,-1, 141 NM_198717 chr1 - 71318035 71513491 71318521 71513260 3 71318035,71477987,71512363, 71318542,71478167,71513491, 0 PTGER3 cmpl cmpl 0,0,0, 1130 NM_198715 chr1 - 71471536 71513491 71477897 71513260 2 71471536,71512363, 71478167,71513491, 0 PTGER3 cmpl cmpl 0,0, 175 NR_073005 chr7 + 107204401 107218968 107218968 107218968 7 107204401,107205032,107207494,107211589,107215632,107216810,107217757, 107204504,107205121,107207631,107211711,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1, 175 NR_073004 chr7 + 107204401 107218968 107218968 107218968 7 107204401,107205032,107207494,107211589,107215632,107216853,107217757, 107204654,107205121,107207631,107211711,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1, 890 NR_033464 chr17 - 39981333 39992488 39992488 39992488 9 39981333,39983677,39985041,39987052,39988643,39991321,39991454,39992110,39992330, 39981909,39983878,39985204,39987142,39988729,39991368,39991524,39992209,39992488, 0 NT5C3B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 220 NR_028090 chr7 + 154795142 154797413 154797413 154797413 1 154795142, 154797413, 0 PAXIP1-AS1 unk unk -1, 1098 NR_002817 chr9 - 67270214 67289492 67289492 67289492 4 67270214,67281701,67288037,67289183, 67272904,67281831,67288088,67289492, 0 AQP7P1 unk unk -1,-1,-1,-1, 1135 NM_018235 chr18 + 72163499 72190689 72167208 72187303 12 72163499,72167116,72168563,72173083,72176074,72178047,72179682,72180793,72183462,72185733,72186183,72187233, 72163666,72167268,72168707,72173246,72176163,72178248,72179767,72180954,72183627,72185875,72186331,72190689, 0 CNDP2 cmpl cmpl -1,0,0,0,1,0,0,1,0,0,1,2, 1393 NM_025268 chr14 + 105992952 105996539 105995171 105996131 2 105992952,105995058, 105992990,105996539, 0 TMEM121 cmpl cmpl -1,0, 139 NM_017705 chr15 + 69591293 69699976 69652419 69696161 9 69591293,69629679,69652304,69672221,69677015,69681992,69689806,69692312,69695919, 69591395,69629840,69652470,69672349,69677221,69682119,69689903,69692454,69699976, 0 PAQR5 cmpl cmpl -1,-1,0,0,2,1,2,0,1, 883 NR_028386 chr2 - 39186428 39187485 39187485 39187485 1 39186428, 39187485, 0 LOC375196 unk unk -1, 1926 NM_001834 chr5 - 175819455 175843570 175819774 175843364 5 175819455,175824607,175824930,175837257,175843177, 175819946,175824719,175825048,175837304,175843570, 0 CLTB cmpl cmpl 2,1,0,1,0, 1427 NM_172212 chr1 + 110453232 110469365 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110465787,110467397,110467768,110468684, 110453684,110457003,110458318,110460085,110464616,110466812,110467450,110467824,110469365, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,0,2,-1, 1427 NM_172210 chr1 + 110453232 110467824 110453645 110467811 9 110453232,110456880,110458255,110459914,110464468,110465787,110466681,110467397,110467768, 110453684,110457003,110458318,110460085,110464616,110466333,110466812,110467450,110467824, 0 CSF1 cmpl cmpl 0,0,0,0,0,1,1,0,2, 598 NR_026642 chr11 - 1704499 1706859 1706859 1706859 3 1704499,1705423,1706667, 1705264,1705532,1706859, 0 FAM99B unk unk -1,-1,-1, 1194 NM_153824 chr17 - 79890261 79895133 79890755 79894690 8 79890261,79891182,79892201,79892528,79892801,79893212,79893998,79894623, 79890839,79891252,79892365,79892621,79893023,79893392,79894069,79895133, 0 PYCR1 cmpl cmpl 0,2,0,0,0,0,1,0, 131 NM_153811 chr14 + 61447831 61519261 61447995 61519147 16 61447831,61449225,61451447,61482621,61486258,61497162,61503776,61504342,61509864,61510167,61512063,61512784,61517229,61518504,61518758,61519066, 61448100,61449356,61451521,61482674,61486298,61497241,61503859,61504401,61509930,61510221,61512143,61512885,61517354,61518649,61518853,61519261, 0 SLC38A6 cmpl cmpl 0,0,2,1,0,1,2,1,0,0,0,2,1,0,1,0, 1607 NM_032826 chr7 - 133974089 134001827 133979584 134001503 10 133974089,133981142,133984274,133984903,133986512,133986780,133989556,133991423,133994117,134001426, 133979831,133981218,133984350,133985013,133986573,133986862,133989606,133991526,133994231,134001827, 0 SLC35B4 cmpl cmpl 2,1,0,1,0,2,0,2,2,0, 756 NR_027154 chr16 + 22448328 22503541 22503541 22503541 29 22448328,22466022,22466770,22470675,22472107,22473441,22477013,22477517,22478511,22480343,22482948,22485445,22486269,22490011,22490296,22491584,22492174,22492351,22493072,22493764,22494351,22494716,22495982,22497150,22497441,22500526,22501615,22502137,22503027, 22448813,22466186,22466926,22470812,22472163,22473655,22477139,22477590,22478609,22480516,22483173,22485547,22486539,22490142,22490452,22491703,22492262,22492453,22493213,22493964,22494548,22494881,22496137,22497293,22497643,22500636,22501763,22502297,22503541, 0 SMG1P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 190 NM_003305 chr4 - 122800182 122854268 122800890 122854193 11 122800182,122803508,122820766,122824006,122825476,122828457,122831308,122833031,122835934,122846172,122853425, 122801033,122803584,122820850,122824216,122825672,122828722,122831542,122833248,122836099,122846361,122854268, 0 TRPC3 cmpl cmpl 1,0,0,0,2,1,1,0,0,0,0, 943 NM_001103149 chr19 - 46969747 46974820 46971795 46974292 3 46969747,46973194,46974593, 46971834,46974371,46974820, 0 PNMAL1 cmpl cmpl 0,0,-1, 295 NM_001103148 chr2 + 233562014 233725289 233599907 233721570 28 233562014,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655425,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233710441,233712057,233714971,233721502, 233562102,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233710596,233712281,233715119,233725289, 0 GIGYF2 cmpl cmpl -1,0,2,0,0,1,2,1,1,0,1,1,0,1,0,2,2,1,0,0,0,0,0,0,2,1,0,1, 1530 NM_022717 chr12 + 123942650 123950941 123950087 123950828 2 123942650,123950084, 123942763,123950941, 0 SNRNP35 cmpl cmpl -1,0, 134 NR_038264 chr3 + 64670545 64997143 64997143 64997143 6 64670545,64785140,64795469,64852842,64994619,64995854, 64671014,64785421,64795526,64852932,64994661,64997143, 0 ADAMTS9-AS2 unk unk -1,-1,-1,-1,-1,-1, 149 NR_038826 chr4 + 80413746 80497614 80497614 80497614 4 80413746,80414305,80434938,80496294, 80413928,80414739,80435056,80497614, 0 LINC00989 unk unk -1,-1,-1,-1, 822 NM_001105563 chr6 - 31110215 31125566 31110368 31125377 18 31110215,31110739,31111038,31112463,31112661,31112942,31113224,31113472,31116181,31116394,31117842,31118231,31118501,31118735,31122272,31124507,31124799,31125161, 31110493,31110911,31111190,31112565,31112850,31113079,31113270,31113585,31116288,31116505,31117992,31118342,31118637,31118899,31122576,31124613,31124866,31125566, 0 CCHCR1 cmpl cmpl 1,0,1,1,1,2,1,2,0,0,0,0,2,0,2,1,0,0, 1025 NM_001130406 chr13 + 57734765 57737787 57735152 57736839 3 57734765,57735133,57736225, 57734979,57735204,57737787, 0 PRR20D cmpl cmpl -1,0,1, 1025 NM_001130406 chr13 + 57741330 57744352 57741717 57743404 3 57741330,57741698,57742790, 57741544,57741769,57744352, 0 PRR20D cmpl cmpl -1,0,1, 116 NM_001042724 chr19 + 45349392 45392485 45349782 45391636 9 45349392,45368527,45375109,45377172,45377586,45385467,45389193,45389389,45391366, 45349870,45368917,45375406,45377290,45377735,45385621,45389257,45389476,45392485, 0 PVRL2 cmpl cmpl 0,1,1,1,2,1,2,0,0, 1653 NM_001287498 chr7 - 140033551 140098350 140035211 140082326 14 140033551,140037083,140043211,140045668,140048425,140051072,140051861,140055467,140058439,140064207,140069389,140080081,140082237,140098215, 140035304,140037149,140043363,140045770,140048567,140051251,140051946,140055564,140058585,140064291,140069482,140080190,140082396,140098350, 0 SLC37A3 cmpl cmpl 0,0,1,1,0,1,0,2,0,0,0,2,0,-1, 1060 NM_020685 chr3 + 62305395 62319320 62306146 62319064 5 62305395,62306134,62307604,62316999,62318929, 62305507,62306199,62307728,62317074,62319320, 0 C3orf14 cmpl cmpl -1,0,2,0,0, 114 NM_000898 chrX - 43625856 43741721 43626712 43741545 15 43625856,43627900,43628553,43634421,43637928,43639588,43640694,43652665,43654985,43656371,43661418,43662546,43698113,43702915,43741499, 43626865,43627963,43628665,43634519,43637986,43639642,43640791,43652825,43655135,43656513,43661510,43662651,43698251,43703010,43741721, 0 MAOB cmpl cmpl 0,0,2,0,2,2,1,0,0,2,0,0,0,1,0, 824 NM_014654 chr1 - 31342312 31381480 31346057 31381433 5 31342312,31347143,31349398,31351469,31381295, 31346224,31347435,31350012,31351587,31381480, 0 SDC3 cmpl cmpl 1,0,1,0,0, 1259 NR_029410 chr9 + 88420916 88457794 88457794 88457794 9 88420916,88430793,88437794,88444377,88445238,88452673,88454991,88455664,88457638, 88421048,88431178,88437995,88444521,88445491,88452880,88455177,88455764,88457794, 0 LOC389765 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 724 NR_040546 chr19 - 18318770 18337285 18337285 18337285 14 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331914,18332070,18332941,18337079, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331988,18332107,18333133,18337285, 0 PDE4C unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 931 NR_026583 chr12 - 45456400 45459194 45459194 45459194 1 45456400, 45459194, 0 RACGAP1P unk unk -1, 1486 NM_001286152 chr11 - 118097404 118123083 118100608 118123009 6 118097404,118104174,118106138,118107764,118110925,118122936, 118100635,118104238,118106304,118107975,118111056,118123083, 0 MPZL3 cmpl cmpl 0,2,1,0,1,0, 110 NM_001271851 chr1 - 39303868 39325495 39305224 39325318 7 39303868,39311610,39317286,39318045,39321379,39322550,39325081, 39305376,39311759,39317429,39318160,39321579,39322652,39325495, 0 RRAGC cmpl cmpl 1,2,0,2,0,0,0, 647 NM_001206672 chr11 - 8127596 8190590 8132244 8190536 4 8127596,8159818,8161513,8190412, 8132684,8159894,8161740,8190590, 0 RIC3 cmpl cmpl 1,0,1,0, 703 NM_198996 chr21 - 15481134 15579254 15481313 15579244 10 15481134,15516943,15524893,15535739,15537543,15538682,15554078,15558281,15561354,15579135, 15481401,15517120,15525005,15535844,15537711,15538772,15554180,15558390,15561740,15579254, 0 LIPI cmpl cmpl 2,2,1,1,1,1,1,0,1,0, 156 NM_021722 chr7 + 87563565 87832204 87563780 87825806 31 87563565,87564340,87607650,87704940,87737490,87743898,87746059,87754903,87757916,87759702,87760583,87762181,87763643,87765294,87772340,87774439,87774729,87778291,87780295,87780571,87782535,87785201,87792326,87795146,87797451,87800858,87810819,87811272,87815929,87822430,87825785, 87563865,87564501,87607727,87705007,87737573,87743962,87746129,87754974,87757991,87759774,87760750,87762266,87763734,87765346,87772440,87774511,87774822,87778372,87780346,87780635,87782641,87785321,87792495,87795261,87797542,87800876,87810920,87811339,87816016,87822554,87832204, 0 ADAM22 cmpl cmpl 0,1,0,2,0,2,0,1,0,0,0,2,0,1,2,0,0,0,0,0,1,2,2,0,1,2,2,1,2,2,0, 157 NM_015239 chr9 - 88161453 88356944 88162023 88327448 26 88161453,88190229,88193834,88200377,88201745,88203212,88204442,88207474,88211276,88233897,88234129,88236116,88247576,88257741,88261235,88270057,88272349,88275850,88284399,88287464,88292350,88293249,88296182,88307603,88327416,88356689, 88162201,88190390,88194011,88200509,88201875,88203393,88204596,88207619,88211364,88234046,88234216,88236200,88248289,88257858,88261333,88270115,88272558,88275888,88284493,88287596,88292497,88293313,88296250,88307728,88327481,88356944, 0 AGTPBP1 cmpl cmpl 2,0,0,0,2,1,0,2,1,2,2,2,0,0,1,0,1,2,1,1,1,0,1,2,0,-1, 200 NM_198513 chr8 + 133787603 133825439 133790074 133823379 8 133787603,133790041,133806655,133806978,133811017,133816063,133816859,133823290, 133787891,133790157,133806827,133807063,133811106,133816277,133816985,133825439, 0 PHF20L1 cmpl cmpl -1,0,2,0,1,0,1,1, 1379 NM_001701 chr9 - 104122698 104147287 104124709 104133686 4 104122698,104130401,104133220,104147136, 104125297,104130604,104133745,104147287, 0 BAAT cmpl cmpl 0,1,0,-1, 602 NM_006711 chr16 - 2303116 2317887 2303964 2314644 8 2303116,2305585,2312278,2312740,2313096,2314176,2314573,2317663, 2304064,2305727,2312432,2312843,2313288,2314332,2314761,2317887, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0,-1, 1522 NR_027288 chr11 + 122888273 122890319 122890319 122890319 1 122888273, 122890319, 0 LOC341056 unk unk -1, 273 NM_002374 chr2 + 210444402 210598834 210517894 210595121 15 210444402,210444759,210489776,210517865,210543295,210545473,210557348,210561265,210561640,210565000,210570303,210574637,210590432,210594573,210594905, 210444479,210444824,210489853,210518156,210543409,210545551,210561074,210561472,210561775,210565062,210570451,210574978,210590514,210594686,210598834, 0 MAP2 cmpl cmpl -1,-1,-1,0,1,1,1,1,1,1,0,1,0,1,0, 597 NM_006830 chr19 - 1597153 1605483 1599438 1605408 3 1597153,1599410,1605358, 1598214,1599559,1605483, 0 UQCR11 cmpl cmpl -1,2,0, 843 NM_013374 chr3 + 33840062 33911199 33840220 33908017 18 33840062,33853563,33855050,33863446,33866678,33867971,33870344,33877535,33879695,33883388,33885603,33886910,33893979,33895370,33896657,33905497,33906734,33907842, 33840429,33853618,33855120,33863574,33866832,33868072,33870461,33877758,33879819,33883566,33885715,33887080,33894228,33895505,33896752,33905621,33906922,33911199, 0 PDCD6IP cmpl cmpl 0,2,0,1,0,1,0,0,1,2,0,1,0,0,0,2,0,2, 1880 NM_020423 chr1 - 169822214 169863100 169822853 169857981 13 169822214,169823410,169828181,169831753,169833509,169836036,169838068,169839395,169842836,169845118,169847774,169857816,169862928, 169822913,169824105,169828353,169831938,169833649,169836114,169838180,169839498,169842893,169845232,169847960,169858031,169863100, 0 SCYL3 cmpl cmpl 0,1,0,1,2,2,1,0,0,0,0,0,-1, 85 NM_018327 chr20 + 12989626 13147411 12989915 13145514 12 12989626,13029592,13052903,13054996,13071730,13074130,13090758,13098152,13107237,13134649,13140649,13145400, 12990032,13029778,13053058,13055145,13071855,13074224,13090864,13098372,13107364,13134785,13140779,13147411, 0 SPTLC3 cmpl cmpl 0,0,0,2,1,0,1,2,0,1,2,0, 1118 NM_018375 chr14 + 69865384 69929107 69866086 69925310 7 69865384,69890810,69908785,69919957,69921528,69922448,69925079, 69866182,69890919,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl 0,0,1,1,1,0,0, 144 NM_006007 chr9 - 74966340 74980163 74970868 74975694 6 74966340,74971846,74974333,74975025,74975543,74979611, 74971017,74971972,74974437,74975137,74975700,74980163, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1, 1156 NR_003664 chr7 + 74936532 74946587 74946587 74946587 8 74936532,74937875,74939461,74940713,74941999,74943793,74944159,74945117, 74936650,74938458,74939680,74940772,74942085,74944037,74944264,74946587, 0 SPDYE8P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 144 NR_003664 chr7 + 74964559 74974606 74974606 74974606 8 74964559,74965902,74967484,74968736,74970023,74971812,74972178,74973136, 74964677,74966485,74967703,74968795,74970109,74972056,74972283,74974606, 0 SPDYE8P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 836 NR_033832 chr5 + 32947548 32962573 32962573 32962573 6 32947548,32949048,32950221,32958719,32961246,32961473, 32947927,32949206,32950389,32958803,32961365,32962573, 0 LOC340113 unk unk -1,-1,-1,-1,-1,-1, 631 NR_003593 chrY - 6110486 6111651 6111651 6111651 3 6110486,6111335,6111594, 6110795,6111481,6111651, 0 TTTY23B unk unk -1,-1,-1, 609 NR_038428 chrX + 3189860 3202694 3202694 3202694 3 3189860,3190337,3202195, 3189959,3190413,3202694, 0 CXorf28 unk unk -1,-1,-1, 784 NM_170723 chrY - 26191939 26194161 26192212 26193835 1 26191939, 26194161, 0 CDY1 cmpl cmpl 0, 796 NM_170723 chrY + 27768263 27770485 27768589 27770212 1 27768263, 27770485, 0 CDY1 cmpl cmpl 0, 2005 NR_033844 chr3 - 186172769 186211450 186211450 186211450 8 186172769,186173224,186173776,186173952,186175129,186195951,186209900,186210894, 186172963,186173562,186173834,186174393,186175419,186196190,186210079,186211450, 0 RP11-48F14.1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 88 NM_003489 chr21 - 16333555 16437126 16337036 16340513 4 16333555,16386664,16415815,16437065, 16340847,16386787,16415895,16437126, 0 NRIP1 cmpl cmpl 0,-1,-1,-1, 134 NM_005956 chr14 + 64854758 64926725 64855145 64925021 28 64854758,64867510,64877807,64879189,64882075,64882356,64884605,64886531,64891521,64892447,64892736,64894054,64896901,64898249,64898504,64902286,64905813,64906843,64908102,64908771,64908980,64911410,64914934,64916162,64920471,64921440,64924931,64926476, 64855186,64867595,64877867,64879243,64882212,64882457,64884742,64886643,64891649,64892545,64892910,64894191,64896948,64898357,64898579,64902389,64905890,64906984,64908171,64908883,64909120,64911452,64915035,64916340,64920579,64921593,64925025,64926725, 0 MTHFD1 cmpl cmpl 0,2,0,0,0,2,1,0,1,0,2,2,1,0,0,0,1,0,0,0,1,0,0,2,0,0,0,-1, 1530 NM_180699 chr12 + 123944250 123950941 123944435 123950828 2 123944250,123950084, 123944447,123950941, 0 SNRNP35 cmpl cmpl 0,0, 178 NM_001287222 chr12 - 110872694 110888216 110872959 110888065 7 110872694,110873914,110874361,110874888,110878116,110883256,110888059, 110873022,110874006,110874488,110874957,110878193,110883356,110888216, 0 ARPC3 cmpl cmpl 0,1,0,0,1,0,0, 830 NM_030651 chr6 - 32116139 32119720 32116998 32119604 4 32116139,32117313,32118144,32119585, 32117175,32117499,32118683,32119720, 0 PRRT1 cmpl cmpl 0,0,1,0, 77 NM_001253908 chr10 + 5090957 5149878 5091003 5149695 9 5090957,5138601,5139625,5140993,5141518,5144292,5144676,5147786,5149652, 5091087,5138769,5139742,5141071,5141641,5144402,5144842,5147869,5149878, 0 AKR1C3 cmpl cmpl 0,0,0,0,0,0,2,0,2, 906 NR_028581 chr17 + 42148097 42153712 42153712 42153712 7 42148097,42148995,42151527,42152047,42152336,42152677,42153047, 42148551,42149189,42151634,42152138,42152455,42152819,42153712, 0 G6PC3 unk unk -1,-1,-1,-1,-1,-1,-1, 83 NM_001173462 chr17 + 11144739 11467380 11144739 11461621 5 11144739,11166682,11282730,11459056,11461070, 11145377,11166843,11282826,11459209,11467380, 0 SHISA6 cmpl cmpl 0,2,1,1,1, 826 NM_001199698 chr6 - 31606804 31620477 31606907 31619540 24 31606804,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620200, 31607003,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 586 NR_033859 chr12 - 246576 258332 258332 258332 10 246576,247465,247716,249405,249813,250077,250499,252404,253474,258244, 246793,247618,247810,249536,249969,250410,251799,252575,253735,258332, 0 RP11-598F7.4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 934 NR_047476 chr21 - 45870868 45875167 45875167 45875167 4 45870868,45871289,45874859,45875126, 45871172,45871652,45874935,45875167, 0 LRRC3-AS1 unk unk -1,-1,-1,-1, 709 NM_001047434 chr3 - 16298567 16306496 16302270 16306383 2 16298567,16306275, 16302336,16306496, 0 DPH3 cmpl cmpl 0,0, 743 NM_153334 chr22 - 20778873 20792146 20779664 20792041 11 20778873,20781684,20783511,20783822,20784016,20784715,20784976,20785304,20786031,20786216,20791868, 20780569,20781837,20783642,20783940,20784120,20784844,20785195,20785824,20786133,20786275,20792146, 0 SCARF2 cmpl cmpl 1,1,2,1,2,2,2,1,1,2,0, 101 NM_005626 chr1 - 29474249 29508637 29474921 29508264 6 29474249,29476614,29481207,29485885,29486886,29508157, 29475738,29476704,29481422,29485998,29487029,29508637, 0 SRSF4 cmpl cmpl 2,2,0,1,2,0, 1267 NM_001271942 chr11 + 89443466 89451040 89443466 89451040 5 89443466,89444577,89448325,89449057,89450546, 89443877,89444673,89448348,89449155,89451040, 0 TRIM77 cmpl cmpl 0,0,0,2,1, 1580 NM_130459 chr9 - 130493802 130497628 130495494 130497549 3 130493802,130496577,130497398, 130495839,130496843,130497628, 0 TOR2A cmpl cmpl 0,1,0, 167 NM_181349 chr7 - 98625057 98741743 98628206 98741403 18 98625057,98630659,98633137,98634689,98636010,98638000,98639740,98643320,98645306,98647185,98648979,98649827,98652412,98654827,98655040,98658221,98659421,98741348, 98628306,98630744,98633339,98634810,98636148,98638179,98639855,98643424,98645505,98647332,98649064,98650069,98652488,98654893,98655174,98658330,98659460,98741743, 0 SMURF1 cmpl cmpl 2,1,0,2,2,0,2,0,2,2,1,2,1,1,2,1,1,0, 905 NR_015363 chr9 - 41952398 41955076 41955076 41955076 2 41952398,41954748, 41954651,41955076, 0 GLIDR unk unk -1,-1, 749 NR_029505 chr9 - 21512113 21512184 21512184 21512184 1 21512113, 21512184, 0 MIR31 unk unk -1, 1586 NR_033930 chr2 - 131294142 131307488 131307488 131307488 3 131294142,131301455,131307336, 131296043,131301631,131307488, 0 LOC646743 unk unk -1,-1,-1, 198 NR_033930 chr2 + 131328401 131341734 131341734 131341734 3 131328401,131334245,131339833, 131328553,131334421,131341734, 0 LOC646743 unk unk -1,-1,-1, 971 NR_029486 chr13 - 50623108 50623197 50623197 50623197 1 50623108, 50623197, 0 MIR16-1 unk unk -1, 957 NM_005660 chrX - 48760456 48769235 48760714 48768913 5 48760456,48762022,48763668,48767090,48768822, 48760742,48762759,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 2,0,1,1,0, 635 NM_001014795 chr11 + 6625039 6632105 6625501 6631842 12 6625039,6629275,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625590,6629441,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl 0,2,0,0,1,1,0,2,1,0,1,0, 635 NM_001014794 chr11 + 6624937 6632105 6625501 6631842 13 6624937,6625455,6629275,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629441,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,0,2,0,0,1,1,0,2,1,0,1,0, 736 NM_001002906 chrY - 19880859 19882440 19881423 19881777 1 19880859, 19882440, 0 XKRY2 cmpl cmpl 0, 739 NM_001002906 chrY + 20297334 20298915 20297997 20298351 1 20297334, 20298915, 0 XKRY2 cmpl cmpl 0, 1001 NR_039851 chr12 - 54625180 54625260 54625260 54625260 1 54625180, 54625260, 0 MIR3198-2 unk unk -1, 1048 NM_006039 chr17 + 60704761 60770962 60705163 60769812 30 60704761,60741908,60743454,60743815,60744117,60744750,60749009,60749358,60751423,60753150,60753743,60754629,60755864,60757160,60757530,60757778,60758160,60758422,60759197,60759595,60765649,60765861,60766212,60766882,60767254,60767516,60768002,60768309,60769472,60769591, 60705281,60742310,60743628,60743980,60744231,60744894,60749198,60749513,60751531,60753266,60753892,60754847,60756007,60757263,60757669,60757814,60758321,60758490,60759298,60759738,60765764,60766025,60766321,60767121,60767423,60767666,60768122,60768489,60769499,60770962, 0 MRC2 cmpl cmpl 0,1,1,1,1,1,1,1,0,0,2,1,0,2,0,1,1,0,2,1,0,1,0,1,0,1,1,1,1,1, 234 NM_013330 chr1 - 169101767 169337201 169102022 169336948 12 169101767,169138684,169199955,169204368,169206860,169256540,169267793,169272382,169279207,169292354,169293630,169336945, 169102055,169138792,169200057,169204437,169206925,169256646,169268001,169272433,169279318,169292521,169293738,169337201, 0 NME7 cmpl cmpl 0,0,0,0,1,0,2,2,2,0,0,0, 682 NM_001206974 chr19 - 12786530 12792025 12786651 12791927 9 12786530,12786830,12787921,12788104,12790270,12790436,12790614,12790974,12791846, 12786747,12786956,12788025,12788210,12790357,12790533,12790736,12791139,12792025, 0 DHPS cmpl cmpl 0,0,1,0,0,2,0,0,0, 747 NM_182515 chr19 + 21264952 21307883 21281074 21301135 5 21264952,21266783,21280990,21281617,21299612, 21265154,21266875,21281117,21281716,21307883, 0 ZNF714 cmpl cmpl -1,-1,0,1,1, 2335 NM_004578 chr1 + 229406808 229441640 229407086 229438724 8 229406808,229422232,229424475,229431594,229433228,229434723,229438608,229439552, 229407117,229422313,229424590,229431657,229433383,229434819,229438736,229441640, 0 RAB4A cmpl cmpl 0,1,1,2,2,1,1,-1, 931 NM_001645 chr19 + 45417920 45422606 45418148 45422487 4 45417920,45418128,45419446,45422429, 45417990,45418206,45419582,45422606, 0 APOC1 cmpl cmpl -1,0,1,2, 1149 NM_016347 chr2 - 73927635 73928467 73927748 73928432 1 73927635, 73928467, 0 NAT8B cmpl cmpl 0, 198 NM_004059 chr9 - 131595391 131644354 131595862 131607684 13 131595391,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131644175, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131600646,131605080,131607690,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,0,2,0,-1, 1946 NM_152275 chr2 - 178479025 178483694 178481431 178483429 1 178479025, 178483694, 0 TTC30A cmpl cmpl 0, 815 NM_013387 chr22 + 30163357 30166402 30163387 30165708 2 30163357,30165666, 30163537,30166402, 0 UQCR10 cmpl cmpl 0,0, 127 NR_033654 chr12 - 57403780 57410344 57410344 57410344 8 57403780,57406161,57406404,57406605,57407142,57407361,57409467,57410170, 57404072,57406236,57406521,57406659,57407172,57407455,57409586,57410344, 0 TAC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 608 NM_001284511 chr16 + 3019245 3023490 3019675 3021949 3 3019245,3021274,3021515, 3019841,3021379,3023490, 0 PAQR4 cmpl cmpl 0,1,1, 156 NM_001134405 chr7 + 87257728 87461613 87258139 87459345 11 87257728,87280137,87329736,87339885,87369106,87370814,87399896,87407113,87436687,87445455,87459199, 87258261,87280253,87329870,87339971,87369196,87370895,87400065,87407271,87436834,87445577,87461613, 0 RUNDC3B cmpl cmpl 0,2,1,0,2,2,2,0,2,2,1, 1359 NR_030390 chr14 + 101506555 101506636 101506636 101506636 1 101506555, 101506636, 0 MIR654 unk unk -1, 635 NM_024654 chr1 - 6581406 6614658 6585913 6614562 12 6581406,6586755,6589053,6592027,6592522,6593339,6601889,6604885,6605104,6609630,6610455,6614166, 6586063,6586889,6589231,6592139,6592820,6593501,6601987,6604982,6605240,6609758,6610675,6614658, 0 NOL9 cmpl cmpl 0,1,0,2,1,1,2,1,0,1,0,0, 244 NM_003940 chr3 + 179370932 179507189 179371013 179501929 21 179370932,179399665,179408028,179418795,179424721,179426560,179437727,179439189,179447976,179448403,179458034,179459984,179462830,179470072,179472519,179474839,179478899,179481789,179483482,179499526,179501835, 179371181,179399791,179408089,179418917,179424864,179426745,179437822,179439377,179448048,179448497,179458160,179460138,179463005,179470161,179472642,179474866,179479043,179481956,179483636,179499611,179507189, 0 USP13 cmpl cmpl 0,0,0,1,0,2,1,0,2,2,0,0,1,2,1,1,1,1,0,1,2, 1776 NM_198406 chr1 - 156213111 156217908 156213919 156216522 8 156213111,156214551,156214932,156215325,156215572,156215913,156216471,156217747, 156214194,156214702,156215029,156215452,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,2,0,0,-1, 199 NM_004484 chrX - 132669775 133119673 132670151 133119476 8 132669775,132730467,132795757,132826396,132833922,132887508,133087076,133119301, 132670321,132730627,132795878,132826522,132834056,132888203,133087238,133119673, 0 GPC3 cmpl cmpl 1,0,2,2,0,1,1,0, 125 NR_037641 chr1 + 55107426 55208328 55208328 55208328 33 55107426,55117621,55118525,55130839,55134526,55136169,55136472,55138763,55139373,55139672,55144414,55144935,55145563,55148328,55151930,55158096,55161048,55165993,55166815,55167762,55172107,55174686,55181195,55182272,55183164,55186835,55188347,55194018,55197158,55197327,55199301,55203254,55207083, 55107641,55117656,55119830,55130913,55134610,55136249,55136602,55138859,55139478,55139824,55144527,55145112,55145718,55148467,55152121,55158234,55161163,55166134,55166995,55167909,55172210,55174749,55181283,55182390,55183326,55186913,55188472,55194105,55197222,55197373,55199383,55203337,55208328, 0 MROH7-TTC4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 125 NR_037639 chr1 + 55107426 55208328 55208328 55208328 33 55107426,55117516,55118525,55124787,55130839,55134526,55136169,55136472,55138763,55139373,55139672,55144414,55144935,55145563,55148328,55151930,55158096,55161048,55165993,55166815,55167762,55168295,55172107,55181195,55182272,55183164,55186835,55188347,55194018,55197158,55199301,55203254,55207083, 55107641,55117656,55119830,55124862,55130913,55134610,55136249,55136602,55138859,55139478,55139824,55144527,55145112,55145718,55148467,55152121,55158234,55161163,55166134,55166995,55167918,55168418,55172210,55181283,55182390,55183326,55186913,55188472,55194105,55197373,55199383,55203337,55208328, 0 MROH7-TTC4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 906 NR_033819 chr8 + 42128819 42190171 42190171 42190171 21 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151030,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 633 NM_001285402 chr17 - 6327056 6338452 6328779 6337397 6 6327056,6329934,6330200,6331637,6337238,6338270, 6329150,6330076,6330377,6331826,6337418,6338452, 0 AIPL1 cmpl cmpl 1,0,0,0,0,-1, 76 NM_015113 chr17 - 3907738 4046253 3910183 4046189 55 3907738,3912176,3912897,3916742,3917383,3917640,3919616,3920664,3921129,3922962,3924422,3926002,3928212,3935419,3936121,3937308,3945722,3947517,3953001,3954074,3955264,3957350,3959509,3961287,3962464,3966046,3967654,3969740,3970456,3973977,3975901,3977443,3978390,3978556,3979930,3980161,3981176,3984669,3985730,3988963,3989779,3990727,3991971,3994012,3999124,3999902,4005610,4007926,4008986,4012946,4015902,4017592,4020265,4027200,4045835, 3910264,3912248,3913051,3916908,3917482,3917809,3919760,3921024,3921265,3923063,3924614,3926122,3928412,3935552,3936296,3937586,3945862,3947668,3953153,3954337,3955430,3957489,3959639,3961449,3962584,3966211,3968123,3969834,3970536,3974218,3976050,3977645,3978472,3978723,3980053,3980283,3981336,3984784,3985798,3989097,3989949,3990828,3992187,3994124,3999273,3999994,4005709,4008105,4009103,4013157,4016102,4017764,4020460,4027345,4046253, 0 ZZEF1 cmpl cmpl 0,0,2,1,1,0,0,0,2,0,0,0,1,0,2,0,1,0,1,2,1,0,2,2,2,2,1,0,1,0,1,0,2,0,0,1,0,2,0,1,2,0,0,2,0,1,1,2,2,1,2,1,1,0,0, 656 NM_001242332 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L29 cmpl cmpl 0, 656 NM_001242332 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L29 cmpl cmpl 0, 974 NM_016431 chr22 + 51041561 51049979 51041561 51049207 10 51041561,51042054,51042269,51043795,51043989,51044252,51045085,51045348,51048639,51049134, 51041927,51042148,51043492,51043871,51044162,51044362,51045193,51045419,51048738,51049979, 0 MAPK8IP2 cmpl cmpl 0,0,1,1,2,1,0,0,2,2, 79 NM_014262 chr12 + 6937537 6949018 6937605 6948625 15 6937537,6939022,6939516,6939802,6940379,6940988,6942755,6942905,6943088,6946148,6946586,6946895,6947121,6948163,6948460, 6938102,6939175,6939718,6939934,6940516,6941078,6942808,6942973,6943213,6946250,6946737,6947013,6947197,6948304,6949018, 0 LEPREL2 cmpl cmpl 0,0,0,1,1,0,0,2,1,0,0,1,2,0,0, 721 NR_029480 chr21 + 17912147 17912231 17912231 17912231 1 17912147, 17912231, 0 MIRLET7C unk unk -1, 909 NM_001286487 chr15 - 42502649 42565782 42503905 42565474 19 42502649,42510000,42510520,42511778,42512259,42519003,42519908,42520909,42523387,42525410,42528517,42529629,42531867,42536247,42553155,42553393,42556287,42560144,42565452, 42503947,42510031,42510576,42511840,42512333,42519107,42519967,42521016,42523458,42525504,42528617,42529813,42531929,42536365,42553200,42553447,42556401,42560230,42565782, 0 TMEM87A cmpl cmpl 0,2,0,1,2,0,1,2,0,2,1,0,1,0,0,0,0,1,0, 971 NR_024243 chr19 - 50643458 50643577 50643577 50643577 1 50643458, 50643577, 0 SNAR-D unk unk -1, 1598 NR_024563 chr12 + 132851976 132857486 132857486 132857486 4 132851976,132852816,132853842,132855005, 132852422,132853116,132854492,132857486, 0 LOC100130238 unk unk -1,-1,-1,-1, 860 NR_024351 chr21 - 36096104 36109479 36109479 36109479 6 36096104,36096343,36105206,36106257,36106982,36109406, 36096251,36096494,36105377,36106338,36107053,36109479, 0 LINC00160 unk unk -1,-1,-1,-1,-1,-1, 595 NR_027760 chrX + 1387692 1428828 1428828 1428828 12 1387692,1393647,1401570,1404670,1407411,1407651,1409229,1413220,1414319,1422815,1424338,1428294, 1387772,1393735,1401672,1404813,1407535,1407781,1409402,1413354,1414349,1422912,1424420,1428828, 0 CSF2RA unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 595 NR_027760 chrY + 1337692 1378828 1378828 1378828 12 1337692,1343647,1351570,1354670,1357411,1357651,1359229,1363220,1364319,1372815,1374338,1378294, 1337772,1343735,1351672,1354813,1357535,1357781,1359402,1363354,1364349,1372912,1374420,1378828, 0 CSF2RA unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1346 NR_002942 chr9 - 99837952 99844227 99844227 99844227 3 99837952,99841568,99844142, 99839973,99841724,99844227, 0 LOC340508 unk unk -1,-1,-1, 599 NR_029625 chr17 - 1953564 1953674 1953674 1953674 1 1953564, 1953674, 0 MIR212 unk unk -1, 1023 NR_036102 chr7 + 57472730 57472796 57472796 57472796 1 57472730, 57472796, 0 MIR3147 unk unk -1, 735 NR_036101 chr7 - 19744980 19745059 19745059 19745059 1 19744980, 19745059, 0 MIR3146 unk unk -1, 661 NR_036090 chr4 - 10080234 10080316 10080316 10080316 1 10080234, 10080316, 0 MIR3138 unk unk -1, 1112 NR_036087 chr3 - 69098108 69098186 69098186 69098186 1 69098108, 69098186, 0 MIR3136 unk unk -1, 182 NR_036085 chr9 - 114758831 115112545 115112545 115112545 4 114758831,115095046,115095118,115112520, 114758856,115095059,115095124,115112545, 0 MIR3134 unk unk -1,-1,-1,-1, 2266 NR_036082 chr2 - 220413794 220413869 220413869 220413869 1 220413794, 220413869, 0 MIR3132 unk unk -1, 2262 NR_036081 chr2 - 219923409 219923472 219923472 219923472 1 219923409, 219923472, 0 MIR3131 unk unk -1, 1643 NR_036099 chr6 - 138756349 138756431 138756431 138756431 1 138756349, 138756431, 0 MIR3145 unk unk -1, 726 NR_036107 chr9 + 18573303 18573377 18573377 18573377 1 18573303, 18573377, 0 MIR3152 unk unk -1, 123 NM_004799 chr1 + 52607765 52812358 52698878 52811893 19 52607765,52682040,52698842,52703159,52729444,52732326,52734134,52740135,52744163,52747332,52759124,52761566,52769492,52798439,52800359,52803443,52805797,52810439,52811731, 52608075,52682146,52698948,52705267,52729544,52732503,52734304,52740256,52744286,52747488,52759349,52761649,52769597,52798590,52800440,52803606,52805903,52810616,52812358, 0 ZFYVE9 cmpl cmpl -1,-1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,2,0,0, 109 NM_005109 chr3 + 38207025 38296979 38207367 38294382 18 38207025,38224493,38232221,38240212,38257586,38263068,38265302,38266061,38271177,38271855,38278329,38284233,38287565,38289158,38291456,38292893,38293818,38294307, 38207437,38224606,38232330,38240354,38257642,38263178,38265404,38266195,38271226,38271921,38278452,38284269,38287712,38289223,38291509,38292962,38293883,38296979, 0 OXSR1 cmpl cmpl 0,1,0,1,2,1,0,0,2,0,0,0,0,0,2,1,1,0, 1127 NM_001360 chr11 - 71145456 71159477 71146420 71155998 9 71145456,71148857,71149924,71152272,71153308,71155038,71155900,71158655,71159335, 71146885,71148989,71150129,71152486,71153399,71155261,71156004,71158780,71159477, 0 DHCR7 cmpl cmpl 0,0,2,1,0,2,0,-1,-1, 1718 NM_018241 chr4 + 148538538 148556672 148539107 148555585 10 148538538,148544984,148545212,148545954,148549511,148550749,148552543,148554053,148554915,148555319, 148539230,148545115,148545249,148546160,148549586,148550843,148552656,148554153,148555087,148556672, 0 TMEM184C cmpl cmpl 0,0,2,0,2,2,0,2,0,1, 726 NR_036140 chr16 - 18505750 18505834 18505834 18505834 1 18505750, 18505834, 0 MIR3179-1 unk unk -1, 604 NR_036139 chr16 - 2581922 2582006 2582006 2582006 1 2581922, 2582006, 0 MIR3178 unk unk -1, 699 NR_036140 chr16 + 14995364 14995448 14995448 14995448 1 14995364, 14995448, 0 MIR3179-1 unk unk -1, 710 NR_036140 chr16 + 16394015 16394099 16394099 16394099 1 16394015, 16394099, 0 MIR3179-1 unk unk -1, 1768 NM_001287592 chr1 + 155107819 155111334 155108062 155110757 4 155107819,155108774,155110454,155110655, 155108074,155108852,155110574,155111334, 0 SLC50A1 cmpl cmpl 0,0,0,0, 3 NM_015238 chr5 + 167719064 167899308 167719157 167896022 23 167719064,167798428,167812215,167824728,167826492,167833202,167835511,167836926,167841352,167849012,167850537,167855037,167855711,167857141,167858256,167868686,167871498,167880972,167882360,167887654,167891733,167894844,167895955, 167719276,167798538,167812419,167824805,167826572,167833332,167835658,167837000,167841595,167849102,167851073,167855146,167855792,167857228,167858449,167868839,167871590,167881105,167882525,167887747,167891967,167894969,167899308, 0 WWC1 cmpl cmpl 0,2,1,1,0,2,0,0,2,2,2,1,2,2,2,0,0,2,0,0,0,0,2, 2076 NM_138297 chr3 - 195473637 195538844 195474046 195538688 23 195473637,195475772,195477759,195478077,195479243,195479921,195481083,195484017,195485994,195487754,195488354,195488957,195489725,195490303,195490915,195491867,195492140,195493533,195495892,195497086,195498522,195501042,195538606, 195474251,195475935,195477983,195478142,195479317,195480101,195481243,195484199,195486132,195487988,195488456,195489125,195489816,195490512,195491035,195491993,195492320,195493622,195496023,195497242,195498687,195501176,195538844, 0 MUC4 cmpl cmpl 2,1,2,0,1,1,0,1,1,1,1,1,0,1,1,1,1,2,0,0,0,1,0, 11 NM_178423 chr7 + 18535368 19036992 18535925 19035685 26 18535368,18535884,18624903,18629967,18631138,18633530,18668972,18674249,18684293,18687407,18688088,18705835,18767202,18788627,18801779,18806728,18832967,18868783,18869083,18875089,18875522,18914100,18975431,18993768,19015428,19035645, 18535477,18535947,18625145,18630109,18631265,18633652,18669104,18674365,18684416,18687621,18688306,18706099,18767380,18788761,18801900,18806778,18833075,18868839,18869171,18875209,18875620,18914219,18975565,18993853,19015576,19036992, 0 HDAC9 cmpl cmpl -1,0,1,0,1,2,1,1,0,0,1,0,0,1,0,1,0,0,2,0,0,2,1,0,1,2, 784 NM_178422 chr1 - 26187974 26197744 26189289 26190330 2 26187974,26197099, 26190352,26197744, 0 PAQR7 cmpl cmpl 0,-1, 631 NM_032905 chr10 + 6130948 6159422 6139028 6157519 12 6130948,6139010,6143233,6146893,6148103,6150648,6151948,6154172,6155470,6156011,6157201,6157415, 6131156,6139151,6143350,6147060,6148201,6150705,6152090,6154324,6155544,6156110,6157274,6159422, 0 RBM17 cmpl cmpl -1,0,0,0,2,1,1,2,1,0,0,1, 780 NM_001282872 chr1 + 25598976 25656936 25599038 25643543 10 25598976,25611063,25617131,25627436,25628010,25629812,25633086,25634137,25643490,25655388, 25599186,25611250,25617282,25627584,25628177,25629950,25633220,25634307,25643570,25656936, 0 RHD cmpl cmpl 0,1,2,0,1,0,0,2,1,-1, 1651 NR_036251 chr9 + 139725408 139725475 139725475 139725475 1 139725408, 139725475, 0 MIR4292 unk unk -1, 1426 NM_004109 chr11 + 110300660 110335608 110300844 110333192 4 110300660,110306557,110327641,110333077, 110301029,110306682,110327771,110335608, 0 FDX1 cmpl cmpl 0,2,1,2, 940 NM_001278389 chr12 - 46576839 46660278 46582752 46633583 17 46576839,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46660228, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46660278, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 117 NM_001278388 chr12 - 46576839 46663208 46582752 46633583 16 46576839,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46662308, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1, 117 NM_001278387 chr12 - 46576839 46663208 46582752 46633583 18 46576839,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46648596,46662308, 46582854,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46648719,46663208, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1,-1, 15 NM_005611 chr16 + 53468350 53525560 53468468 53524212 22 53468350,53472927,53476569,53480953,53485614,53487363,53487616,53488567,53493362,53495652,53496463,53498137,53499349,53500969,53503827,53504294,53504657,53513065,53513797,53514478,53515582,53524041, 53468708,53473058,53476770,53481018,53485743,53487524,53487681,53488754,53493529,53495762,53496567,53498275,53499514,53501081,53504097,53504575,53504834,53513137,53513903,53514681,53515747,53525560, 0 RBL2 cmpl cmpl 0,0,2,2,1,1,0,2,0,2,1,0,0,0,1,1,0,0,0,1,0,0, 284 NM_007207 chr1 - 221874763 221915516 221875753 221913086 4 221874763,221879436,221912275,221915322, 221876019,221879808,221913129,221915516, 0 DUSP10 cmpl cmpl 1,1,0,-1, 710 NR_036143 chr16 + 16394015 16394099 16394099 16394099 1 16394015, 16394099, 0 MIR3179-2 unk unk -1, 726 NR_036143 chr16 - 18505750 18505834 18505834 18505834 1 18505750, 18505834, 0 MIR3179-2 unk unk -1, 699 NR_036142 chr16 + 15005080 15005168 15005168 15005168 1 15005080, 15005168, 0 MIR3180-2 unk unk -1, 710 NR_036142 chr16 + 16403735 16403823 16403823 16403823 1 16403735, 16403823, 0 MIR3180-2 unk unk -1, 726 NR_036142 chr16 - 18496036 18496124 18496124 18496124 1 18496036, 18496124, 0 MIR3180-2 unk unk -1, 699 NR_036141 chr16 + 15005076 15005170 15005170 15005170 1 15005076, 15005170, 0 MIR3180-1 unk unk -1, 710 NR_036141 chr16 + 16403731 16403825 16403825 16403825 1 16403731, 16403825, 0 MIR3180-1 unk unk -1, 726 NR_036141 chr16 - 18496034 18496128 18496128 18496128 1 18496034, 18496128, 0 MIR3180-1 unk unk -1, 1004 NM_173514 chr5 - 54921672 55008163 54922321 54993786 16 54921672,54923718,54929581,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54993673,55007279,55008044, 54922487,54923808,54929730,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54993820,55007327,55008163, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,1,0,2,0,2,0,-1,-1, 747 NR_026675 chr16 + 21312169 21329912 21329912 21329912 3 21312169,21327204,21328182, 21312656,21327291,21329912, 0 CRYM-AS1 unk unk -1,-1,-1, 1004 NM_001258286 chr5 - 54921672 54988881 54922321 54968447 14 54921672,54923718,54929581,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54988417, 54922487,54923808,54929730,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54988881, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,1,0,2,0,0,-1, 587 NR_028325 chr1 + 323891 328581 328581 328581 3 323891,324287,324438, 324060,324345,328581, 0 RP4-669L17.10 unk unk -1,-1,-1, 1964 NR_028325 chr5 + 180750506 180755196 180755196 180755196 3 180750506,180750902,180751053, 180750675,180750960,180755196, 0 RP4-669L17.10 unk unk -1,-1,-1, 1723 NR_038408 chr6 - 149275396 149285820 149285820 149285820 3 149275396,149280113,149285696, 149277289,149280177,149285820, 0 RP11-162J8.2 unk unk -1,-1,-1, 1064 NR_028348 chr7 + 62809447 62812152 62812152 62812152 2 62809447,62811976, 62809926,62812152, 0 LOC100287704 unk unk -1,-1, 1118 NM_001252151 chr14 + 69865095 69929107 69908934 69925310 7 69865095,69890810,69908785,69919957,69921528,69922448,69925079, 69865320,69890919,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl -1,-1,0,1,1,0,0, 1118 NM_001252148 chr14 + 69865384 69929107 69866086 69925310 6 69865384,69890810,69908785,69921528,69922448,69925079, 69866182,69890919,69908983,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl 0,0,1,1,0,0, 890 NR_033465 chr17 - 39981333 39992523 39992523 39992523 8 39981333,39983677,39985041,39987052,39988643,39991321,39991454,39992110, 39981909,39983878,39985204,39987142,39988729,39991368,39991524,39992523, 0 NT5C3B unk unk -1,-1,-1,-1,-1,-1,-1,-1, 164 NR_033966 chr1 + 95940292 95944912 95944912 95944912 4 95940292,95940869,95942299,95942894, 95940731,95940930,95942536,95944912, 0 FLJ31662 unk unk -1,-1,-1,-1, 1234 NR_004859 chr15 + 85174690 85185694 85185694 85185694 5 85174690,85177054,85180577,85181626,85182738, 85175529,85177612,85180651,85181708,85185694, 0 SCAND2P unk unk -1,-1,-1,-1,-1, 699 NR_003920 chr9 + 14993324 15019722 15019722 15019722 5 14993324,14997161,15001631,15017352,15019482, 14993575,14997321,15001730,15017525,15019722, 0 LOC389705 unk unk -1,-1,-1,-1,-1, 665 NM_007065 chr19 - 10501808 10514271 10502226 10514155 8 10501808,10503761,10503934,10505696,10505903,10506110,10506603,10514053, 10502382,10503833,10504117,10505819,10506019,10506219,10506879,10514271, 0 CDC37 cmpl cmpl 0,0,0,0,1,0,0,0, 1351 NM_001271684 chr1 + 100435344 100492534 100459110 100487970 6 100435344,100459092,100464816,100472589,100476920,100487941, 100435718,100459297,100464971,100472712,100477089,100492534, 0 SLC35A3 cmpl cmpl -1,0,1,0,0,1, 133 NM_032852 chr1 + 63249776 63330941 63269457 63329830 11 63249776,63269389,63270842,63282245,63284675,63286809,63294710,63299708,63300446,63307098,63329662, 63249944,63269533,63270926,63282479,63285006,63286880,63294847,63299787,63300523,63307218,63330941, 0 ATG4C cmpl cmpl -1,0,1,1,1,2,1,0,1,0,0, 13 NM_024294 chr6 - 34555056 34664627 34558341 34664380 5 34555056,34574331,34614377,34622401,34664222, 34558377,34574681,34614575,34622556,34664627, 0 C6orf106 cmpl cmpl 0,1,1,2,0, 1084 NR_037443 chr1 - 65523437 65523525 65523525 65523525 1 65523437, 65523525, 0 MIR3671 unk unk -1, 1145 NR_037449 chr17 + 73402149 73402243 73402243 73402243 1 73402149, 73402243, 0 MIR3678 unk unk -1, 88 NM_021235 chr19 - 16472388 16582823 16472580 16582756 23 16472388,16487932,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16472795,16488065,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 1,0,1,0,1,1,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 137 NM_145160 chr15 + 67835020 68099455 67835673 68099088 22 67835020,67842371,67855620,67873091,67878227,67879183,67885263,67893022,67923225,67938568,67938725,67950890,67956934,67984816,67985855,67995674,68020253,68040568,68040906,68061939,68065044,68098983, 67835808,67842420,67855688,67873161,67878268,67879251,67885312,67893087,67923265,67938637,67938807,67950952,67956983,67984890,67985906,67995746,68020283,68040595,68040939,68062001,68065090,68099455, 0 MAP2K5 cmpl cmpl 0,0,1,0,1,0,2,0,2,0,0,1,0,1,0,0,0,0,0,0,2,0, 601 NR_037467 chr16 - 2185977 2186130 2186130 2186130 1 2185977, 2186130, 0 MIR3180-5 unk unk -1, 701 NR_037466 chr16 - 15248706 15248859 15248859 15248859 1 15248706, 15248859, 0 MIR3180-4 unk unk -1, 1026 NM_001278081 chr16 + 57844548 57850831 57844620 57850127 5 57844548,57847573,57847635,57849327,57850123, 57844696,57847634,57847785,57849549,57850831, 0 LOC388282 cmpl cmpl 0,1,2,2,2, 1127 NM_005466 chr14 - 71049937 71067407 71051529 71067354 8 71049937,71052472,71057982,71059596,71060012,71063327,71064334,71067332, 71051660,71052500,71058098,71059705,71060095,71063419,71064494,71067407, 0 MED6 cmpl cmpl 1,0,1,0,1,2,1,0, 780 NM_006424 chr4 + 25657434 25680368 25664122 25678371 13 25657434,25664119,25664326,25665823,25667749,25669501,25671268,25672359,25673222,25674708,25675917,25676126,25677756, 25657512,25664234,25664464,25665952,25667893,25669613,25671464,25672455,25673343,25674876,25676034,25676251,25680368, 0 SLC34A2 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 20 NR_027004 chr14 - 94371075 94392718 94392718 94392718 11 94371075,94374315,94375264,94376915,94377859,94383584,94384530,94388406,94388621,94389746,94392621, 94371734,94374458,94375516,94376955,94377965,94383742,94384666,94388511,94388727,94390346,94392718, 0 FAM181A-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 825 NM_147130 chr6 - 31556659 31560762 31556843 31560498 4 31556659,31557302,31557558,31560455, 31556953,31557410,31557903,31560762, 0 NCR3 cmpl cmpl 1,1,1,0, 1457 NR_034087 chr9 - 114365110 114375833 114375833 114375833 3 114365110,114371293,114375277, 114365393,114371549,114375833, 0 LRRC37A5P unk unk -1,-1,-1, 906 NR_028582 chr17 + 42148097 42153712 42153712 42153712 6 42148097,42151527,42152047,42152336,42152677,42153047, 42148610,42151634,42152138,42152455,42152819,42153712, 0 G6PC3 unk unk -1,-1,-1,-1,-1,-1, 829 NM_004381 chr6 - 32083044 32096017 32083515 32095984 18 32083044,32084256,32084480,32084813,32085099,32085363,32085635,32086551,32086732,32087600,32088547,32088765,32089039,32093893,32094879,32095218,32095447,32095893, 32083745,32084341,32084592,32084884,32085181,32085471,32085815,32086643,32086918,32087734,32088679,32088901,32089125,32094029,32094971,32095297,32095527,32096017, 0 ATF6B cmpl cmpl 1,0,2,0,2,2,2,0,0,1,1,0,1,0,1,0,1,0, 631 NM_022573 chrY + 6114263 6117053 6114309 6116866 6 6114263,6115396,6115602,6115815,6116067,6116843, 6114795,6115474,6115714,6115961,6116149,6117053, 0 TSPY2 cmpl cmpl 0,0,0,1,0,1, 1753 NM_001010857 chr1 + 153175905 153177601 153177183 153177480 2 153175905,153177162, 153176007,153177601, 0 LELP1 cmpl cmpl -1,0, 934 NR_022014 chr15 + 45803333 45848928 45848928 45848928 6 45803333,45805895,45807970,45828282,45839277,45847670, 45803403,45806161,45808090,45828407,45839365,45848928, 0 HMGN2P46 unk unk -1,-1,-1,-1,-1,-1, 886 NR_027695 chr21 + 39578249 39580738 39580738 39580738 3 39578249,39578565,39580228, 39578454,39578710,39580738, 0 DSCR10 unk unk -1,-1,-1, 1102 NM_001288993 chr16 + 67840780 67861971 67859873 67861896 13 67840780,67848204,67855001,67858485,67859039,67859569,67860054,67860339,67860594,67860865,67861151,67861375,67861655, 67841099,67848304,67855128,67858682,67859175,67859979,67860185,67860465,67860747,67860975,67861278,67861482,67861971, 0 TSNAXIP1 cmpl cmpl -1,-1,-1,-1,-1,0,1,0,0,0,2,0,2, 833 NR_001298 chr6 - 32520489 32527779 32527779 32527779 6 32520489,32521152,32521632,32522466,32525692,32527592, 32520849,32521176,32521743,32522748,32525963,32527779, 0 HLA-DRB6 unk unk -1,-1,-1,-1,-1,-1, 775 NM_207644 chr22 - 24981590 24989035 24981853 24989006 4 24981590,24984181,24985788,24988829, 24982379,24984297,24985917,24989035, 0 FAM211B cmpl cmpl 2,0,0,0, 281 NR_026597 chr2 - 218148745 218621316 218621316 218621316 13 218148745,218182688,218183642,218190568,218192719,218290024,218291313,218292113,218297645,218298670,218343103,218464334,218621190, 218149586,218182924,218183900,218190693,218192875,218290245,218291509,218292196,218297744,218298839,218343281,218465552,218621316, 0 DIRC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 21 NR_024130 chr10 + 101686965 101718755 101718755 101718755 5 101686965,101687916,101715430,101716238,101716545, 101687056,101687997,101715589,101716348,101718755, 0 DNMBP-AS1 unk unk -1,-1,-1,-1,-1, 1318 NR_037484 chr8 - 96085138 96085224 96085224 96085224 1 96085138, 96085224, 0 MIR3150B unk unk -1, 1880 NM_181093 chr1 - 169822214 169863100 169822853 169857981 14 169822214,169823410,169824936,169828181,169831753,169833509,169836036,169838068,169839395,169842836,169845118,169847774,169857816,169862928, 169822913,169824105,169825098,169828353,169831938,169833649,169836114,169838180,169839498,169842893,169845232,169847960,169858031,169863100, 0 SCYL3 cmpl cmpl 0,1,1,0,1,2,2,1,0,0,0,0,0,-1, 885 NM_145298 chr22 + 39436672 39451975 39436965 39448700 7 39436672,39438941,39440945,39441432,39445429,39448078,39448581, 39436982,39439095,39441225,39441547,39445586,39448358,39451975, 0 APOBEC3F cmpl cmpl 0,2,0,1,2,0,1, 16 NM_145307 chr10 - 63952844 64028622 63957666 64028369 12 63952844,63959512,63964615,63976876,63977953,63982996,63995824,63999406,64000900,64005757,64022383,64028309, 63958202,63959620,63964781,63977008,63978060,63983091,63996022,63999524,64000954,64005816,64022580,64028622, 0 RTKN2 cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,0, 1032 NM_018231 chr16 - 58700297 58718674 58701288 58714030 12 58700297,58704016,58704948,58705999,58709843,58710192,58711229,58712236,58712599,58713760,58717858,58718620, 58701391,58704071,58705148,58706147,58709958,58710250,58711328,58712378,58712798,58714145,58718082,58718674, 0 SLC38A7 cmpl cmpl 2,1,2,1,0,2,2,1,0,0,-1,-1, 1607 NR_033701 chr9 + 133971862 133998539 133998539 133998539 6 133971862,133972166,133986983,133989963,133993142,133995621, 133972047,133972250,133987050,133990005,133993305,133998539, 0 AIF1L unk unk -1,-1,-1,-1,-1,-1, 1706 NR_033700 chrX + 146993468 147032647 147032647 147032647 15 146993468,147003450,147007057,147009839,147010176,147011466,147011646,147013943,147014203,147018022,147018984,147022094,147026388,147027053,147030202, 146993748,147003503,147007151,147009911,147010325,147011560,147011763,147014114,147014282,147018132,147019119,147022181,147026571,147027136,147032647, 0 FMR1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1149 NM_001126063 chr6 - 73933267 73935175 73933470 73935131 3 73933267,73933888,73935019, 73933562,73934071,73935175, 0 KHDC1L cmpl cmpl 1,1,0, 1154 NM_033046 chr2 - 74652987 74667710 74653369 74666749 13 74652987,74654295,74654550,74655394,74655757,74655974,74656954,74657378,74657591,74657742,74659593,74666677,74667479, 74653701,74654400,74654719,74655523,74655864,74656069,74657164,74657496,74657645,74657804,74659793,74667104,74667710, 0 RTKN cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,0,-1, 1501 NR_029584 chr3 - 120114514 120114576 120114576 120114576 1 120114514, 120114576, 0 MIR198 unk unk -1, 121 NR_027121 chrX - 50334642 50557044 50557044 50557044 10 50334642,50338697,50341265,50345632,50350380,50370613,50376177,50381173,50438785,50556901, 50335144,50339964,50341535,50345813,50351184,50370675,50378668,50381308,50438937,50557044, 0 SHROOM4 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 724 NM_001282733 chr10 + 18240767 18332221 18242205 18331762 13 18240767,18242119,18250509,18254411,18266830,18270240,18276407,18280079,18282112,18284584,18289595,18292099,18331633, 18240954,18242466,18250791,18254619,18267003,18270412,18276580,18280232,18282220,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,0,1,0,1,0,0,0,1,1,0, 797 NM_001282732 chr2 - 27873675 27886707 27876351 27885059 5 27873675,27878231,27880211,27885045,27886195, 27876614,27878469,27880536,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,0,-1, 145 NM_015072 chr14 + 76127550 76421425 76129492 76420789 32 76127550,76129397,76135758,76147887,76149892,76156534,76165530,76173360,76173965,76184203,76186077,76186938,76198680,76200331,76201537,76211437,76211832,76219235,76230957,76232404,76238076,76241826,76243089,76245917,76248829,76249489,76259258,76286349,76330009,76349027,76368484,76420766, 76127730,76129566,76135865,76147970,76149999,76156665,76165613,76173430,76174050,76184305,76186169,76187046,76198762,76200393,76201632,76211551,76211924,76219298,76231115,76232711,76238197,76241973,76243193,76246045,76248916,76249873,76259443,76286504,76330205,76349245,76368567,76421425, 0 TTLL5 cmpl cmpl -1,0,2,1,0,2,1,0,1,2,2,1,1,2,1,0,0,2,2,1,2,0,0,2,1,1,1,0,2,0,2,1, 1059 NM_024059 chr20 + 62184372 62188035 62187016 62187973 2 62184372,62187006, 62184454,62188035, 0 C20orf195 cmpl cmpl -1,0, 1271 NR_110261 chr15 - 90014639 90039844 90039844 90039844 11 90014639,90015952,90019985,90020312,90020747,90021067,90022552,90023491,90026297,90030029,90039591, 90015086,90016094,90020059,90020437,90020808,90021205,90022719,90023639,90026448,90030216,90039844, 0 RHCG unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 983 NR_024330 chr19 + 52196592 52208443 52208443 52208443 8 52196592,52204910,52205881,52206273,52206480,52207282,52207522,52208342, 52197808,52204979,52205905,52206351,52206588,52207439,52207733,52208443, 0 SPACA6P unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1318 NR_036105 chr8 + 96085141 96085221 96085221 96085221 1 96085141, 96085221, 0 MIR3150A unk unk -1, 1804 NR_036095 chr5 + 159901408 159901490 159901490 159901490 1 159901408, 159901490, 0 MIR3142 unk unk -1, 1759 NR_036094 chr5 - 153975571 153975632 153975632 153975632 1 153975571, 153975632, 0 MIR3141 unk unk -1, 1755 NR_036092 chr4 - 153410478 153410568 153410568 153410568 1 153410478, 153410568, 0 MIR3140 unk unk -1, 152 NM_021204 chr4 + 83351725 83382244 83351982 83381273 6 83351725,83369072,83372195,83375874,83378067,83381133, 83352066,83369174,83372398,83376007,83378191,83382244, 0 ENOPH1 cmpl cmpl 0,0,0,2,0,1, 116 NM_007170 chr1 - 45809554 45956840 45810511 45923457 11 45809554,45811548,45812364,45812650,45813280,45813589,45820974,45851583,45887396,45923235,45956523, 45811230,45811666,45812451,45812734,45813365,45813672,45821121,45851632,45887518,45923543,45956840, 0 TESK2 cmpl cmpl 1,0,0,0,2,0,0,2,0,0,-1, 89 NM_007169 chr17 - 17408876 17485745 17409104 17480326 7 17408876,17409540,17412747,17415822,17425593,17480233,17485580, 17409162,17409615,17412859,17415968,17425709,17480341,17485745, 0 PEMT cmpl cmpl 2,2,1,2,0,0,-1, 1869 NR_037851 chr1 - 168369426 168391894 168391894 168391894 4 168369426,168382030,168391367,168391827, 168371581,168382174,168391442,168391894, 0 RP5-968D22.1 unk unk -1,-1,-1,-1, 597 NR_027383 chrY + 1660485 1671407 1671407 1671407 6 1660485,1662336,1664276,1668084,1669030,1669551, 1660662,1663117,1664425,1668325,1669100,1671407, 0 AKAP17A unk unk -1,-1,-1,-1,-1,-1, 1477 NR_027345 chr12 + 116971226 116973326 116973326 116973326 2 116971226,116971770, 116971267,116973326, 0 LINC00173 unk unk -1,-1, 2001 NR_033752 chr3 + 185677757 185698665 185698665 185698665 6 185677757,185686267,185689403,185692954,185693801,185697446, 185677867,185686506,185689653,185693145,185693958,185698665, 0 LOC344887 unk unk -1,-1,-1,-1,-1,-1, 656 NR_046416 chr4 + 9360107 9361700 9361700 9361700 1 9360107, 9361700, 0 USP17L9P unk unk -1, 587 NM_033089 chr20 + 278203 280963 278227 279442 1 278203, 280963, 0 ZCCHC3 cmpl cmpl 0, 91 NR_027308 chr19 - 19256375 19303400 19303400 19303400 12 19256375,19257363,19257550,19257844,19258506,19260034,19261490,19291494,19293381,19296842,19297701,19302889, 19256831,19257457,19257684,19257992,19258641,19260238,19261573,19291570,19293492,19296907,19297814,19303400, 0 MEF2BNB-MEF2B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 842 NR_026728 chr20 - 33703159 33735161 33735161 33735161 10 33703159,33706400,33711692,33714053,33719444,33722540,33725682,33730175,33732781,33734627, 33703736,33706522,33711837,33714178,33719586,33722752,33725808,33730281,33732821,33735161, 0 EDEM2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 879 NR_026719 chr21 + 38580803 38594037 38594037 38594037 3 38580803,38580954,38592538, 38580845,38581057,38594037, 0 DSCR9 unk unk -1,-1,-1, 647 NR_024260 chr12 + 8234806 8250373 8250373 8250373 7 8234806,8242531,8242790,8245271,8245467,8248196,8248637, 8234979,8242632,8242895,8245380,8245651,8248299,8250373, 0 NECAP1 unk unk -1,-1,-1,-1,-1,-1,-1, 940 NM_015070 chr13 - 46536313 46626896 46537956 46619642 17 46536313,46539414,46541638,46542882,46544496,46549417,46553947,46559431,46562921,46577273,46584482,46585549,46594583,46616298,46619089,46619525,46626832, 46538177,46539567,46542163,46544106,46544600,46549973,46554139,46559896,46563232,46577471,46584640,46585689,46594692,46616410,46619199,46619651,46626896, 0 ZC3H13 cmpl cmpl 1,1,1,1,2,1,1,1,2,2,0,1,0,2,0,0,-1, 106 NM_001282675 chr11 - 35453375 35551848 35453903 35515773 13 35453375,35456059,35457450,35461174,35463028,35489548,35492148,35496177,35513592,35515643,35534918,35550499,35551474, 35454440,35456352,35457683,35461241,35463241,35489656,35492366,35496292,35513721,35515820,35535025,35550527,35551848, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,2,1,1,0,-1,-1,-1, 1271 NM_016321 chr15 - 90014639 90039844 90015965 90039775 11 90014639,90015941,90019985,90020312,90020747,90021067,90022552,90023491,90026297,90030029,90039591, 90015086,90016094,90020059,90020437,90020884,90021205,90022719,90023639,90026448,90030216,90039844, 0 RHCG cmpl cmpl -1,0,1,2,0,0,1,0,2,1,0, 234 NM_016081 chr4 + 169418216 169849608 169432655 169846397 21 169418216,169432573,169589340,169602482,169604148,169606635,169611753,169612419,169630178,169632731,169812072,169815729,169819643,169824907,169835077,169837045,169842684,169845405,169846095,169846383,169847363, 169418345,169433563,169589519,169602549,169604254,169606710,169611895,169612443,169630298,169633074,169812208,169815828,169819865,169825057,169835172,169837178,169842892,169845571,169846229,169846429,169849608, 0 PALLD cmpl cmpl -1,0,2,1,2,0,0,1,1,1,2,0,0,0,0,2,0,1,2,1,-1, 1942 NM_033127 chr1 - 177898241 177939050 177898992 177937116 26 177898241,177899679,177901624,177901832,177902348,177902618,177905432,177906348,177908836,177909744,177911034,177913695,177915554,177916959,177921048,177923413,177927266,177927974,177929476,177929925,177930724,177933305,177934181,177935027,177936817,177939018, 177899064,177899778,177901704,177901941,177902447,177902771,177905500,177906648,177908912,177909849,177911175,177913801,177915666,177917077,177921130,177923511,177927497,177928110,177929538,177930074,177930869,177933414,177934302,177935140,177937174,177939050, 0 SEC16B cmpl cmpl 0,0,1,0,0,0,1,1,0,0,0,2,1,0,2,0,0,2,0,1,0,2,1,2,0,-1, 175 NM_007356 chr7 - 107663995 107770801 107664483 107763609 34 107663995,107669487,107671250,107674652,107677832,107684196,107688352,107689770,107692541,107696076,107698276,107703218,107704205,107706206,107706813,107708460,107710152,107717388,107718645,107720045,107732070,107732781,107735672,107738847,107743488,107744943,107746261,107746953,107748075,107749615,107752255,107756448,107763575,107770750, 107664623,107669641,107671424,107674791,107678040,107684341,107688556,107689976,107692702,107696452,107698373,107703439,107704430,107706364,107707045,107708604,107710330,107717509,107718761,107720231,107732221,107732861,107735782,107739027,107743677,107745064,107746476,107747017,107748264,107749689,107752391,107756606,107763642,107770801, 0 LAMB4 cmpl cmpl 1,0,0,2,1,0,0,1,2,1,0,1,1,2,1,1,0,2,0,0,2,0,1,1,1,0,1,0,0,1,0,1,0,-1, 1568 NR_027671 chr2 + 128848781 128953249 128953249 128953249 41 128848781,128855002,128861505,128865511,128867207,128870657,128872697,128873838,128877929,128878772,128880759,128884934,128886602,128890714,128892449,128896290,128900667,128903376,128910357,128913062,128913965,128914825,128917087,128918033,128918711,128922303,128927861,128928778,128930146,128931354,128932346,128934387,128935405,128936041,128937359,128938463,128939703,128941248,128944256,128945022,128947290, 128849170,128855138,128861588,128865642,128867320,128870832,128872794,128873917,128878030,128878872,128880820,128885026,128886753,128890834,128892535,128896426,128900799,128903541,128910478,128913161,128913989,128914920,128917294,128918165,128918842,128922399,128927964,128928858,128930336,128931513,128932432,128934472,128935494,128936143,128937444,128938646,128939864,128941363,128944373,128945188,128953249, 0 UGGT1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 80 NR_037616 chr6 - 7881482 8064647 8064647 8064647 13 7881482,7884591,7886193,7888937,7889727,7891853,7895338,7899808,7904806,8026599,8041371,8062766,8064497, 7883499,7884721,7886276,7889081,7889814,7891969,7895435,7899914,7904956,8026658,8041501,8062849,8064647, 0 BLOC1S5-TXNDC5 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 86 NR_026916 chr21 + 14410486 14490571 14490571 14490571 12 14410486,14414822,14415099,14417483,14421285,14424116,14432786,14435160,14437495,14439172,14441495,14490158, 14410745,14414937,14415273,14417591,14421350,14425023,14433204,14435279,14438020,14439369,14441613,14490571, 0 ANKRD30BP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 180 NR_027796 chr3 - 112721291 112738555 112738555 112738555 8 112721291,112727017,112729489,112729891,112731580,112732118,112732799,112738388, 112724851,112727277,112729551,112730253,112731658,112732250,112732879,112738555, 0 C3orf17 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 180 NR_027794 chr3 - 112721291 112738555 112738555 112738555 8 112721291,112727017,112729489,112729891,112731580,112732118,112732795,112738388, 112724851,112727277,112729551,112730253,112731658,112732250,112732879,112738555, 0 C3orf17 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 199 NR_046946 chr2 + 132202795 132360468 132360468 132360468 3 132202795,132203095,132360440, 132202810,132203100,132360468, 0 RNU6-81P unk unk -1,-1,-1, 1178 NR_046948 chr11 - 77764353 77830821 77830821 77830821 3 77764353,77764854,77830800, 77764369,77764859,77830821, 0 RNU6-83P unk unk -1,-1,-1, 1141 NR_046948 chr8 + 72886127 72886418 72886418 72886418 2 72886127,72886400, 72886143,72886418, 0 RNU6-83P unk unk -1,-1, 846 NR_027922 chr17 - 34310691 34329084 34329084 34329084 7 34310691,34311373,34313606,34324756,34325315,34325901,34328455, 34310924,34311488,34313740,34324896,34325427,34325961,34329084, 0 CCL15-CCL14 unk unk -1,-1,-1,-1,-1,-1,-1, 1478 NR_037803 chr11 + 117162061 117162857 117162857 117162857 1 117162061, 117162857, 0 BACE1-AS unk unk -1, 2414 NR_034162 chr2 - 239840997 239847965 239847965 239847965 10 239840997,239841423,239842183,239843078,239843305,239843691,239844768,239846553,239847633,239847934, 239841212,239841543,239842276,239843172,239843567,239844034,239846086,239847383,239847816,239847965, 0 FLJ43879 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 725 NR_036160 chr20 + 18451258 18451335 18451335 18451335 1 18451258, 18451335, 0 MIR3192 unk unk -1, 942 NR_036150 chr17 - 46801769 46801837 46801837 46801837 1 46801769, 46801837, 0 MIR3185 unk unk -1, 801 NR_036170 chr22 + 28316513 28316599 28316599 28316599 1 28316513, 28316599, 0 MIR3199-2 unk unk -1, 801 NR_036169 chr22 - 28316512 28316600 28316600 28316600 1 28316512, 28316600, 0 MIR3199-1 unk unk -1, 724 NR_036168 chr22 - 18246945 18247025 18247025 18247025 1 18246945, 18247025, 0 MIR3198-1 unk unk -1, 909 NR_036167 chr21 + 42539483 42539556 42539556 42539556 1 42539483, 42539556, 0 MIR3197 unk unk -1, 1057 NR_036163 chr20 + 61870130 61870194 61870194 61870194 1 61870130, 61870194, 0 MIR3196 unk unk -1, 120 NR_036162 chr20 - 50069441 50069514 50069514 50069514 1 50069441, 50069514, 0 MIR3194 unk unk -1, 815 NR_036161 chr20 + 30194988 30195043 30195043 30195043 1 30194988, 30195043, 0 MIR3193 unk unk -1, 949 NR_036159 chr19 - 47730200 47730276 47730276 47730276 1 47730200, 47730276, 0 MIR3191 unk unk -1, 1264 NM_024824 chr14 + 89029252 89079853 89029477 89078095 17 89029252,89029994,89034382,89037427,89038373,89038921,89041036,89042183,89044328,89063077,89068267,89069171,89073586,89075610,89076055,89077177,89078088, 89029513,89030037,89034497,89037468,89038569,89039351,89041197,89042284,89044484,89063152,89068427,89069404,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,0,1,2,1,2,0,2,1,1,1,2,1,2,1,0,2, 1126 NR_037933 chr14 - 70935595 70950473 70950473 70950473 2 70935595,70950151, 70938309,70950473, 0 ADAM20P1 unk unk -1,-1, 240 NM_001278126 chr4 + 175839508 175899331 175896676 175899139 6 175839508,175841837,175852136,175858083,175869318,175896496, 175839622,175841943,175852325,175858164,175869372,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,-1,-1,0, 868 NR_033753 chr17 + 37186158 37209458 37209458 37209458 5 37186158,37190422,37199451,37200640,37209117, 37188690,37190494,37199532,37201194,37209458, 0 LRRC37A11P unk unk -1,-1,-1,-1,-1, 2210 NR_027286 chr1 - 213029945 213031480 213031480 213031480 2 213029945,213031107, 213030260,213031480, 0 FLVCR1-AS1 unk unk -1,-1, 2210 NR_027285 chr1 - 213029945 213031480 213031480 213031480 2 213029945,213031107, 213030514,213031480, 0 FLVCR1-AS1 unk unk -1,-1, 886 NM_024595 chr1 + 39456915 39471737 39457052 39469727 5 39456915,39463842,39466643,39469018,39469716, 39457272,39463983,39466778,39469090,39471737, 0 AKIRIN1 cmpl cmpl 0,1,1,1,1, 265 NR_027856 chr2 - 201717731 201729467 201729467 201729467 11 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201726424,201729286, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201726189,201726585,201729467, 0 CLK1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 265 NR_027855 chr2 - 201717731 201729467 201729467 201729467 12 201717731,201718625,201719338,201719726,201721404,201721613,201722440,201722695,201724402,201725960,201726424,201729286, 201718172,201718716,201719418,201719809,201721534,201721708,201722607,201722812,201724469,201726189,201726585,201729467, 0 CLK1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 598 NR_027383 chrX + 1710485 1721407 1721407 1721407 6 1710485,1712336,1714276,1718084,1719030,1719551, 1710662,1713117,1714425,1718325,1719100,1721407, 0 AKAP17A unk unk -1,-1,-1,-1,-1,-1, 1611 NR_037895 chr5 - 134571923 134583867 134583867 134583867 4 134571923,134574842,134583302,134583815, 134573679,134574994,134583502,134583867, 0 LOC340073 unk unk -1,-1,-1,-1, 878 NR_028352 chr21 - 38437663 38445458 38445458 38445458 6 38437663,38439561,38441851,38444444,38444733,38445299, 38438012,38439680,38441924,38444610,38444837,38445458, 0 PIGP unk unk -1,-1,-1,-1,-1,-1, 1075 NM_006524 chr7 + 64254765 64294059 64254946 64292580 3 64254765,64275295,64291828, 64254949,64275422,64294059, 0 ZNF138 cmpl cmpl 0,0,1, 656 NM_001242332 chr4 + 9336383 9337976 9336383 9337976 1 9336383, 9337976, 0 USP17L29 cmpl cmpl 0, 826 NM_021246 chr6 + 31683132 31685581 31683132 31685581 3 31683132,31683278,31685357, 31683187,31683401,31685581, 0 LY6G6D cmpl cmpl 0,1,1, 1274 NR_028493 chr6 - 90341942 90348216 90348216 90348216 3 90341942,90347443,90347990, 90347072,90347601,90348216, 0 LYRM2 unk unk -1,-1,-1, 1274 NR_028495 chr6 - 90341942 90348216 90348216 90348216 3 90341942,90347460,90348122, 90347072,90347601,90348216, 0 LYRM2 unk unk -1,-1,-1, 1274 NR_028494 chr6 - 90341942 90348216 90348216 90348216 3 90341942,90347460,90347990, 90347072,90347601,90348216, 0 LYRM2 unk unk -1,-1,-1, 697 NR_036164 chr21 - 14778704 14778781 14778781 14778781 1 14778704, 14778781, 0 MIR3156-3 unk unk -1, 857 NR_024195 chr22 + 35695796 35743987 35743987 35743987 14 35695796,35713869,35718991,35719488,35719760,35723263,35726339,35728973,35729396,35730320,35734705,35741717,35742922,35743047, 35695973,35713954,35719170,35719623,35719907,35723380,35726473,35729007,35729490,35730441,35734781,35741777,35742962,35743987, 0 TOM1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 910 NR_036498 chr22 + 42665758 42670868 42670868 42670868 2 42665758,42669899, 42666031,42670868, 0 LOC388906 unk unk -1,-1, 1584 NR_036110 chr9 - 131007225 131007309 131007309 131007309 1 131007225, 131007309, 0 MIR3154 unk unk -1, 797 NM_014860 chr2 - 27873675 27886707 27876351 27885059 6 27873675,27878231,27880211,27883850,27885045,27886195, 27876614,27878469,27880536,27884255,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,2,0,-1, 121 NM_024884 chr14 - 50709151 50778947 50713775 50778868 10 50709151,50732075,50734470,50735880,50745237,50750588,50760832,50768734,50769619,50778728, 50713971,50732207,50734628,50736048,50745272,50750751,50760964,50768886,50769735,50778947, 0 L2HGDH cmpl cmpl 2,2,0,0,1,0,0,1,2,0, 835 NR_038918 chr22 + 32772650 32780329 32780329 32780329 3 32772650,32773312,32779242, 32772708,32773724,32780329, 0 RP1-149A16.3 unk unk -1,-1,-1, 600 NR_024471 chr11 - 2004438 2011150 2011150 2011150 4 2004438,2006079,2006672,2011055, 2005915,2006212,2006871,2011150, 0 MRPL23-AS1 unk unk -1,-1,-1,-1, 1706 NR_024500 chrX - 146990948 147003676 147003676 147003676 3 146990948,147003450,147003587, 146993748,147003503,147003676, 0 FMR1-AS1 unk unk -1,-1,-1, 1140 NR_039990 chr9 - 72830974 72873790 72873790 72873790 4 72830974,72844129,72872830,72873311, 72831337,72844305,72872851,72873790, 0 SMC5-AS1 unk unk -1,-1,-1,-1, 722 NM_021220 chr20 - 18004795 18038521 18005279 18038278 4 18004795,18022177,18037300,18038178, 18005596,18022367,18037521,18038521, 0 OVOL2 cmpl cmpl 1,0,1,0, 1434 NM_032260 chr2 - 111296064 111336309 111296120 111334601 20 111296064,111297631,111300935,111301112,111302236,111302645,111303049,111304130,111304421,111304680,111306969,111309300,111315428,111320188,111320679,111324952,111325540,111327233,111334529,111336077, 111296233,111297767,111301019,111301292,111302383,111302783,111303208,111304254,111304597,111304862,111307179,111309388,111315624,111320334,111320910,111325105,111325652,111327301,111334902,111336309, 0 RGPD5 cmpl cmpl 1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0,-1, 2084 NM_020342 chr2 + 196521851 196602426 196544766 196599765 10 196521851,196544755,196548422,196571339,196573379,196578156,196581360,196582975,196592882,196599606, 196522005,196545774,196548630,196571509,196573568,196578277,196581729,196583056,196593073,196602426, 0 SLC39A10 cmpl cmpl -1,0,0,1,0,0,1,1,1,0, 1297 NR_036136 chr15 + 93447628 93447705 93447705 93447705 1 93447628, 93447705, 0 MIR3175 unk unk -1, 172 NM_001031701 chr12 - 104166080 104234975 104171606 104234934 14 104166080,104174077,104179112,104181218,104182615,104186941,104187187,104187714,104190671,104192364,104200099,104200632,104208714,104234726, 104171859,104174142,104179253,104181305,104182697,104187043,104187290,104187775,104190809,104192455,104200155,104200707,104208899,104234975, 0 NT5DC3 cmpl cmpl 2,0,0,0,2,2,1,0,0,2,0,0,1,0, 19 NM_001024457 chr2 - 88055478 88285309 88056910 88285293 23 88055478,88071687,88074462,88081642,88084593,88088240,88091508,88091680,88092740,88093149,88093553,88094635,88094926,88095185,88097483,88100123,88106214,88111003,88111494,88115787,88116384,88118077,88285245, 88056945,88071883,88074602,88083866,88084688,88088358,88091592,88091860,88092887,88093287,88093712,88094759,88095102,88095367,88097693,88100211,88106410,88111149,88111725,88115940,88116496,88118142,88285309, 0 RGPD1 cmpl cmpl 1,0,1,0,1,0,0,0,0,0,0,2,0,1,1,0,2,0,0,0,2,0,0, 1099 NM_001077704 chr1 + 67395925 67454302 67396074 67452156 14 67395925,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67396083,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl 0,0,1,0,0,1,0,1,0,1,0,2,1,1, 1099 NM_001077703 chr1 + 67390577 67454302 67390711 67452156 15 67390577,67391824,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl 0,1,0,1,0,0,1,0,1,0,1,0,2,1,1, 769 NM_000191 chr1 - 24128366 24151949 24128952 24151905 9 24128366,24130889,24134624,24137225,24140679,24143164,24143965,24146999,24151845, 24129054,24131015,24134813,24137289,24140828,24143260,24144073,24147083,24151949, 0 HMGCL cmpl cmpl 0,0,0,2,0,0,0,0,0, 885 NM_004900 chr22 + 39378403 39388784 39378458 39388450 8 39378403,39380079,39381816,39382302,39385461,39387336,39388038,39388435, 39378475,39380236,39382096,39382417,39385615,39387631,39388154,39388784, 0 APOBEC3B cmpl cmpl 0,2,0,1,2,0,1,0, 81 NM_138799 chr2 - 8996700 9143876 8998808 9143743 13 8996700,9000742,9002719,9004299,9008575,9013237,9017159,9022640,9028147,9048750,9083315,9098625,9143668, 8999034,9000894,9002852,9004364,9008679,9013430,9017343,9022695,9028203,9048846,9083393,9098771,9143876, 0 MBOAT2 cmpl cmpl 2,0,2,0,1,0,2,1,2,2,2,0,0, 120 NM_001079673 chr13 + 49550047 49783915 49580326 49781531 26 49550047,49580287,49649424,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49550313,49580425,49649500,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765256,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 1183 NM_001101404 chr15 + 78384926 78396393 78384926 78395857 6 78384926,78386453,78390270,78390725,78393240,78395806, 78385102,78386543,78390436,78390938,78393900,78396393, 0 SH2D7 cmpl cmpl 0,2,2,0,0,0, 30 NM_181426 chr3 - 180331795 180397283 180332708 180397168 20 180331795,180334068,180334303,180334613,180337046,180337598,180349256,180359780,180361907,180364866,180365952,180369188,180369950,180372549,180377239,180377464,180378357,180379648,180381654,180397078, 180332865,180334151,180334483,180334754,180337153,180337758,180349380,180359989,180362045,180365031,180366147,180369321,180370054,180372741,180377368,180377557,180378516,180379795,180381774,180397283, 0 CCDC39 cmpl cmpl 2,0,0,0,1,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0, 1344 NM_181538 chr7 - 99520891 99527243 99521167 99527243 2 99520891,99526462, 99521226,99527243, 0 GJC3 cmpl cmpl 1,0, 1608 NR_027030 chr6 + 134142284 134175130 134175130 134175130 3 134142284,134158730,134172334, 134142873,134158862,134175130, 0 MGC34034 unk unk -1,-1,-1, 1099 NM_001146113 chr1 + 67390577 67454302 67423750 67452156 14 67390577,67391824,67405710,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67405735,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl -1,-1,-1,0,0,1,0,1,0,1,0,2,1,1, 118 NM_001013732 chr6 - 47845763 48036425 47846038 48036391 3 47845763,47976369,48035965, 47847672,47976850,48036425, 0 PTCHD4 cmpl cmpl 1,0,0, 156 NM_001024457 chr2 + 87144737 87241099 87144753 87239670 23 87144737,87178418,87180064,87180620,87184828,87185404,87190151,87196350,87198869,87201195,87201460,87201803,87202850,87203275,87203675,87204702,87204970,87208205,87211876,87212698,87221963,87224685,87239635, 87144801,87178483,87180176,87180773,87185059,87185550,87190347,87196438,87199079,87201377,87201636,87201927,87203009,87203413,87203822,87204882,87205054,87208323,87211971,87214922,87222103,87224881,87241099, 0 RGPD1 cmpl cmpl 0,0,2,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,1,0,1,0,1, 178 NM_144710 chr2 - 110300373 110371783 110301885 110371404 11 110300373,110303626,110310663,110321942,110323339,110325391,110332157,110342702,110343297,110350627,110371374, 110301901,110303814,110310796,110322111,110323436,110325553,110332344,110342898,110343415,110350696,110371783, 0 SEPT10 cmpl cmpl 2,0,2,1,0,0,2,1,0,0,0, 2042 NM_001127388 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127386 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127389 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127388 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127386 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127389 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127388 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127386 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L2 cmpl cmpl 0, 1618 NM_001127386 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L2 cmpl cmpl 0,0, 1618 NM_001127388 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L6 cmpl cmpl 0,0, 1618 NM_001127389 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L5 cmpl cmpl 0,0, 1618 NM_001127386 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L2 cmpl cmpl 0,0, 1618 NM_001127388 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L6 cmpl cmpl 0,0, 1618 NM_001127389 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L5 cmpl cmpl 0,0, 1618 NM_001127386 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L2 cmpl cmpl 0,0, 1618 NM_001127388 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L6 cmpl cmpl 0,0, 1618 NM_001127389 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4L5 cmpl cmpl 0,0, 2042 NM_001127386 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127388 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127389 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127386 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127388 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127389 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4L5 cmpl cmpl 0, 2042 NM_001127386 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L2 cmpl cmpl 0, 2042 NM_001127388 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L6 cmpl cmpl 0, 2042 NM_001127389 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L5 cmpl cmpl 0, 826 NM_080702 chr6 - 31606804 31620477 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620200, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620477, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 1354 NM_198571 chr7 - 100813773 100823557 100815359 100818088 4 100813773,100816576,100817776,100823322, 100815932,100816801,100818092,100823557, 0 NAT16 cmpl cmpl 0,0,0,-1, 1767 NR_040773 chr1 - 155017667 155036467 155036467 155036467 4 155017667,155018435,155021744,155036232, 155018329,155018631,155021837,155036467, 0 RP11-307C12.11 unk unk -1,-1,-1,-1, 1767 NR_040772 chr1 - 155017667 155023641 155023641 155023641 4 155017667,155018435,155021744,155023082, 155018329,155018722,155021837,155023641, 0 RP11-307C12.11 unk unk -1,-1,-1,-1, 914 NR_040733 chr1 + 43232915 43241413 43241413 43241413 4 43232915,43239233,43240407,43240879, 43233061,43239320,43240539,43241413, 0 C1orf50 unk unk -1,-1,-1,-1, 1501 NM_001080138 chrX - 120072555 120075873 120073864 120075618 3 120072555,120073833,120074876, 120072695,120073989,120075873, 0 CT47A9 cmpl cmpl -1,1,0, 187 NM_001080138 chrX - 120011344 120066151 120064142 120065896 3 120011344,120064111,120065154, 120011484,120064267,120066151, 0 CT47A9 cmpl cmpl -1,1,0, 1501 NM_001080138 chrX - 120067694 120071012 120069003 120070757 3 120067694,120068972,120070015, 120067834,120069128,120071012, 0 CT47A9 cmpl cmpl -1,1,0, 955 NM_001272066 chr3 - 48509196 48542259 48510505 48538709 6 48509196,48510759,48511126,48520585,48538569,48542062, 48510585,48510972,48511242,48520666,48538726,48542259, 0 SHISA5 cmpl cmpl 1,1,2,2,0,-1, 137 NM_001206804 chr15 + 67841341 68099455 67841518 68099088 22 67841341,67842371,67855620,67873091,67878227,67879183,67885263,67893022,67923225,67938568,67938725,67950890,67956934,67984816,67985855,67995674,68020253,68040568,68040906,68061939,68065044,68098983, 67841545,67842420,67855688,67873161,67878268,67879251,67885312,67893087,67923265,67938637,67938807,67950952,67956983,67984890,67985906,67995746,68020283,68040595,68040939,68062001,68065090,68099455, 0 MAP2K5 cmpl cmpl 0,0,1,0,1,0,2,0,2,0,0,1,0,1,0,0,0,0,0,0,2,0, 873 NM_016042 chr9 - 37779710 37785089 37780675 37785041 4 37779710,37781982,37783910,37784717, 37780877,37782134,37784060,37785089, 0 EXOSC3 cmpl cmpl 2,0,0,0, 1926 NR_045724 chr5 - 175819455 175843570 175843570 175843570 6 175819455,175824607,175824930,175833157,175837257,175843177, 175819946,175824719,175825048,175833709,175837304,175843570, 0 CLTB unk unk -1,-1,-1,-1,-1,-1, 1060 NM_003224 chr20 - 62329994 62339365 62331794 62338443 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333252,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,0,-1, 79 NR_047512 chr11 - 6416353 6440341 6440341 6440341 14 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6431856,6440214, 6416509,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6432591,6440341, 0 APBB1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 606 NM_024967 chr19 + 2867332 2878501 2867419 2878327 4 2867332,2873493,2876090,2877270, 2867422,2873620,2876274,2878501, 0 ZNF556 cmpl cmpl 0,0,1,2, 662 NR_027300 chr19 + 10152031 10184813 10184813 10184813 30 10152031,10152405,10153159,10153386,10153823,10154322,10155733,10157027,10157405,10157800,10157994,10160671,10162977,10163204,10165922,10166268,10169243,10169485,10172484,10172860,10176254,10178499,10179641,10180966,10181310,10181657,10183599,10183765,10183975,10184592, 10152155,10152521,10153300,10153596,10154033,10154484,10155811,10157225,10157517,10157886,10158134,10160740,10163029,10163291,10165998,10166437,10169333,10169784,10172657,10173019,10176314,10178590,10179687,10181054,10181397,10181763,10183686,10183855,10184111,10184813, 0 C3P1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 637 NR_038291 chr10 + 6821559 6884868 6884868 6884868 5 6821559,6823265,6875604,6879935,6882352, 6821849,6823448,6875650,6879970,6884868, 0 LINC00707 unk unk -1,-1,-1,-1,-1, 813 NR_028032 chr6 + 29942891 29946177 29946177 29946177 3 29942891,29945430,29945994, 29943294,29945494,29946177, 0 HCG9 unk unk -1,-1,-1, 817 NM_177991 chr20 - 30448869 30458011 30449205 30450499 7 30448869,30450373,30451709,30452755,30454873,30457366,30457850, 30449478,30450545,30451784,30452805,30454956,30457400,30458011, 0 DUSP15 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1735 NM_004769 chr7 + 150745378 150749843 150745972 150749739 11 150745378,150747192,150747567,150747844,150748125,150748258,150748896,150749069,150749252,150749502,150749660, 150746506,150747343,150747695,150748040,150748182,150748406,150748988,150749149,150749324,150749561,150749843, 0 ASIC3 cmpl cmpl 0,0,1,0,1,1,2,1,0,0,2, 1255 NR_039634 chr2 + 87929273 87929353 87929353 87929353 1 87929273, 87929353, 0 MIR4435-1 unk unk -1, 1652 NM_080670 chr5 + 139944419 139948683 139946754 139947729 3 139944419,139945457,139946149, 139944443,139945556,139948683, 0 SLC35A4 cmpl cmpl -1,-1,0, 1458 NM_018700 chr5 - 114460458 114516243 114462199 114515734 10 114460458,114466288,114469556,114472696,114473059,114476975,114480294,114482765,114499214,114515671, 114462554,114466586,114469844,114472821,114473313,114477071,114480441,114483091,114499449,114516243, 0 TRIM36 cmpl cmpl 2,1,1,2,0,0,0,1,0,0, 774 NM_181657 chr14 + 24782312 24787242 24784857 24785916 2 24782312,24784842, 24784226,24787242, 0 LTB4R cmpl cmpl -1,0, 231 NM_173512 chr2 - 165754708 165812035 165754946 165809277 10 165754708,165765149,165768145,165771621,165772412,165793859,165795959,165802102,165809216,165811718, 165755240,165765281,165768258,165771783,165772483,165793939,165796066,165802237,165809291,165812035, 0 SLC38A11 cmpl cmpl 0,0,1,1,2,0,1,1,0,-1, 91 NR_027307 chr19 - 19256375 19303400 19303400 19303400 13 19256375,19257081,19257363,19257550,19257844,19258506,19260034,19261490,19291494,19293381,19296842,19297701,19302889, 19256831,19257193,19257457,19257684,19257992,19258641,19260238,19261573,19291570,19293492,19296907,19297814,19303400, 0 MEF2BNB-MEF2B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1756 NM_080388 chr1 - 153579366 153585514 153580009 153580627 3 153579366,153580474,153585427, 153580168,153580653,153585514, 0 S100A16 cmpl cmpl 0,0,-1, 972 NM_015247 chr16 + 50775960 50835846 50783609 50830419 20 50775960,50776672,50778640,50783486,50785514,50788229,50788371,50810085,50811735,50813575,50815156,50816235,50818239,50820765,50821696,50825468,50826507,50827456,50828122,50830234, 50776035,50776752,50778777,50784113,50785817,50788335,50788376,50810188,50811852,50813955,50815322,50816377,50818362,50820857,50821763,50825601,50826616,50827575,50828339,50835846, 0 CYLD cmpl cmpl -1,-1,-1,0,0,0,1,0,1,1,0,1,2,2,1,2,0,1,0,1, 635 NM_001272054 chr4 + 6641817 6644470 6642589 6642973 3 6641817,6642958,6643456, 6642886,6642985,6644470, 0 MRFAP1 cmpl cmpl 0,0,-1, 590 NM_001276274 chr11 + 695590 705028 695608 704646 6 695590,698868,700141,700614,702944,704441, 695846,698888,700235,700707,703146,705028, 0 TMEM80 cmpl cmpl 0,1,0,1,1,2, 590 NM_001276253 chr11 + 695590 704131 695608 703735 4 695590,698868,700141,703674, 695846,698888,700212,704131, 0 TMEM80 cmpl cmpl 0,1,0,2, 931 NR_028413 chr19 + 45430059 45434643 45434643 45434643 3 45430059,45431051,45434256, 45430290,45431187,45434643, 0 APOC1P1 unk unk -1,-1,-1, 669 NM_182482 chr21 - 11020841 11098925 11049570 11098717 10 11020841,11021109,11026722,11029597,11038727,11047480,11049449,11058160,11097545,11098702, 11020917,11021211,11026839,11029717,11039429,11047595,11049621,11058323,11097646,11098925, 0 BAGE2 cmpl cmpl -1,-1,-1,-1,-1,-1,0,2,0,0, 598 NR_036138 chr16 + 1784985 1785067 1785067 1785067 1 1784985, 1785067, 0 MIR3177 unk unk -1, 1552 NR_036126 chr11 - 126858353 126858438 126858438 126858438 1 126858353, 126858438, 0 MIR3167 unk unk -1, 22 NR_045756 chr4 - 109731876 110223523 110223523 110223523 36 109731876,109733859,109738552,109740967,109745329,109746351,109748290,109753535,109755510,109762850,109765674,109766344,109767338,109769914,109773391,109774057,109780811,109782082,109783656,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109895522,109895688,109931513,109971282,110221738,110222878,110223458, 109733412,109735085,109738591,109741054,109745383,109746378,109748344,109753589,109755546,109762877,109765725,109766407,109767375,109769959,109773436,109774081,109780889,109782127,109783701,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109895549,109895715,109931531,109971335,110221808,110223231,110223523, 0 COL25A1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 138 NR_040077 chr1 + 68297970 68668670 68668670 68668670 10 68297970,68500329,68537482,68564325,68565411,68566380,68583133,68586807,68603979,68667651, 68298119,68500446,68537556,68564519,68565475,68566457,68583415,68586924,68604133,68668670, 0 GNG12-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 78 NR_040000 chr17 + 5675553 5834016 5834016 5834016 4 5675553,5740500,5792076,5833099, 5676347,5740536,5792150,5834016, 0 LOC339166 unk unk -1,-1,-1,-1, 797 NM_001282729 chr2 - 27873675 27886707 27876351 27885059 6 27873675,27878231,27880211,27883850,27885045,27886190, 27876614,27878469,27880536,27884255,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,2,0,-1, 633 NR_001534 chrY + 6317508 6325947 6325947 6325947 7 6317508,6318486,6320955,6321718,6324112,6325199,6325701, 6317545,6318648,6321030,6322195,6324226,6325455,6325947, 0 TTTY7 unk unk -1,-1,-1,-1,-1,-1,-1, 21 NR_047515 chr4 - 103806204 103940896 103940896 103940896 11 103806204,103811737,103826670,103827692,103831595,103832587,103833164,103853280,103910956,103912799,103940755, 103806446,103811830,103826807,103827801,103831745,103832694,103833286,103853456,103911098,103912869,103940896, 0 SLC9B1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 132 NR_037193 chr11 + 62649170 62656355 62656355 62656355 9 62649170,62650379,62651460,62651928,62652103,62652648,62652936,62655606,62655802, 62649538,62650471,62651584,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 861 NR_047461 chr20 - 36247699 36251521 36251521 36251521 3 36247699,36250492,36251230, 36247841,36250602,36251521, 0 LINC00489 unk unk -1,-1,-1, 1879 NR_045787 chr2 - 169628460 169642939 169642939 169642939 3 169628460,169631330,169642866, 169631148,169631461,169642939, 0 CERS6-AS1 unk unk -1,-1,-1, 1879 NR_045786 chr2 - 169628460 169642939 169642939 169642939 4 169628460,169631330,169640464,169642866, 169631148,169631461,169640557,169642939, 0 CERS6-AS1 unk unk -1,-1,-1,-1, 1739 NM_001025603 chr1 - 151313115 151319769 151314661 151318796 11 151313115,151315817,151316156,151316672,151316892,151317203,151317581,151318403,151318680,151318964,151319686, 151315654,151315918,151316358,151316754,151317012,151317323,151317664,151318437,151318809,151319082,151319769, 0 RFX5 cmpl cmpl 0,1,0,2,2,2,0,2,0,-1,-1, 964 NM_014923 chr13 + 49684438 49783915 49684535 49781531 24 49684438,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49684542,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765256,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A cmpl cmpl 0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 1312 NR_077228 chr3 - 95373266 95402037 95402037 95402037 5 95373266,95382087,95387253,95399845,95401444, 95374691,95382184,95387609,95399969,95402037, 0 MTHFD2P1 unk unk -1,-1,-1,-1,-1, 1984 NR_040063 chr1 - 183430010 183441117 183441117 183441117 5 183430010,183430900,183438808,183439599,183439854, 183430803,183431096,183438934,183439675,183441117, 0 SMG7-AS1 unk unk -1,-1,-1,-1,-1, 190 NR_073554 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169524,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232495,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 774 NR_046531 chr13 - 24826886 24828577 24828577 24828577 3 24826886,24827216,24828473, 24827094,24827337,24828577, 0 SPATA13-AS1 unk unk -1,-1,-1, 1514 NR_051996 chr5 - 121772191 121814782 121814782 121814782 6 121772191,121786241,121787475,121790070,121814280,121814709, 121773032,121786361,121787501,121790204,121814510,121814782, 0 MGC32805 unk unk -1,-1,-1,-1,-1,-1, 157 NM_181837 chr6 + 88299784 88377172 88299886 88376841 20 88299784,88304070,88311501,88313101,88315634,88317390,88318813,88321806,88326031,88331071,88331667,88344562,88346124,88362833,88366620,88367638,88372720,88374460,88375471,88376735, 88299910,88304125,88311599,88313246,88315739,88317542,88318947,88321966,88326145,88331205,88331731,88344679,88346204,88362967,88366700,88367736,88372862,88374577,88375551,88377172, 0 ORC3 cmpl cmpl 0,0,1,0,1,1,0,2,0,0,2,0,0,2,1,0,2,0,0,2, 2042 NM_001177376 chr4 + 191002175 191003549 191002272 191003541 1 191002175, 191003549, 0 DUX4L4 cmpl cmpl 0, 2042 NM_001177376 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4L4 cmpl cmpl 0, 1016 NM_139067 chr12 - 56555635 56583351 56557472 56583245 29 56555635,56558431,56559101,56561843,56563312,56563559,56563927,56565054,56565462,56566211,56566368,56566720,56567479,56568434,56571805,56572187,56572593,56572780,56574760,56575265,56575487,56575787,56577644,56577958,56578627,56578813,56579938,56580970,56583134, 56557549,56558515,56559483,56561978,56563479,56563695,56563992,56565216,56565721,56566274,56566488,56566813,56567633,56568548,56571877,56572318,56572631,56572840,56574885,56575381,56575619,56575863,56577714,56578028,56578720,56578895,56580024,56581090,56583351, 0 SMARCC2 cmpl cmpl 1,1,0,0,1,0,1,1,0,0,0,0,2,2,2,0,1,1,2,0,0,2,1,0,0,2,0,0,0, 1350 NM_021637 chrX + 100333835 100351355 100333991 100349945 2 100333835,100349561, 100334111,100351355, 0 TMEM35 cmpl cmpl 0,0, 997 NR_038277 chr10 - 54056607 54073888 54073888 54073888 6 54056607,54060272,54061020,54069159,54073157,54073393, 54057673,54060598,54061160,54069297,54073245,54073888, 0 PRKG1-AS1 unk unk -1,-1,-1,-1,-1,-1, 659 NR_046449 chr12 + 9795467 9811010 9811010 9811010 4 9795467,9806278,9808468,9809516, 9795699,9806404,9808575,9811010, 0 LOC374443 unk unk -1,-1,-1,-1, 104 NR_037714 chr17 - 33336130 33448541 33448541 33448541 7 33336130,33343388,33428219,33430272,33430472,33433404,33448309, 33339168,33343599,33428384,33430343,33430563,33433500,33448541, 0 RAD51L3-RFFL unk unk -1,-1,-1,-1,-1,-1,-1, 178 NR_047585 chr2 - 110300373 110371783 110371783 110371783 9 110300373,110303626,110310663,110321942,110323339,110325391,110332157,110350627,110371374, 110301901,110303814,110310796,110322111,110323436,110325553,110332344,110350696,110371783, 0 SEPT10 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 129 NR_046093 chr14 + 59100785 59115038 59115038 59115038 4 59100785,59107453,59108309,59112086, 59100903,59107586,59108465,59115038, 0 DACT1 unk unk -1,-1,-1,-1, 1646 NM_001271560 chrX + 139173825 139175070 139173901 139174723 1 139173825, 139175070, 0 LOC389895 cmpl cmpl 0, 883 NM_001282433 chr17 - 39078947 39093895 39079240 39087692 8 39078947,39080723,39081605,39084489,39084697,39086191,39087624,39093379, 39079335,39080755,39081826,39084612,39084859,39086348,39087707,39093895, 0 KRT23 cmpl cmpl 1,2,0,0,0,2,0,-1, 1004 NM_001282429 chr5 - 54921672 55008163 54922321 54965444 15 54921672,54923718,54929581,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54993673,55007279,55008044, 54922487,54923808,54929730,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54993820,55007327,55008163, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,1,0,0,-1,-1,-1,-1, 112 NR_037791 chr19 + 41284123 41314346 41314346 41314346 12 41284123,41285923,41286289,41289682,41289825,41292569,41292752,41306243,41312459,41313042,41313388,41313713, 41284296,41286004,41286404,41289745,41289980,41292665,41292883,41307320,41312579,41313179,41313456,41314346, 0 RAB4B-EGLN2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 199 NR_037804 chr3 - 132276981 132441303 132441303 132441303 45 132276981,132278676,132279944,132294615,132295787,132297639,132322072,132323941,132337477,132338311,132339975,132345534,132347183,132349280,132350184,132358335,132360815,132361520,132363640,132400757,132401546,132402242,132403397,132405103,132405994,132407493,132407917,132409371,132410035,132411497,132413670,132415574,132416103,132418761,132419177,132420273,132423041,132424583,132426944,132431969,132433928,132435600,132437837,132438548,132440806, 132277929,132278786,132280061,132294770,132295859,132298402,132322171,132324049,132337616,132338389,132340136,132345661,132347290,132349402,132350323,132358500,132360977,132361646,132363735,132400934,132401662,132402368,132403638,132405231,132406070,132407735,132408107,132409494,132410130,132411662,132413809,132415657,132416206,132418905,132419292,132420377,132423215,132424658,132427101,132432130,132434062,132435753,132437988,132438674,132441303, 0 NPHP3-ACAD11 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 734 NR_028083 chrY + 19612837 19628622 19628622 19628622 10 19612837,19613590,19624977,19625353,19626040,19626320,19626688,19627191,19627591,19627895, 19612995,19613640,19625106,19625447,19626211,19626414,19626898,19627379,19627813,19628622, 0 FAM41AY1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 126 NR_039970 chr20 + 55913212 55998278 55998278 55998278 3 55913212,55996406,55998253, 55913256,55996417,55998278, 0 MIR5095 unk unk -1,-1,-1, 1238 NR_039619 chr1 + 85599476 85599556 85599556 85599556 1 85599476, 85599556, 0 MIR4423 unk unk -1, 732 NR_039954 chr3 - 19356339 19356423 19356423 19356423 1 19356339, 19356423, 0 MIR4791 unk unk -1, 1314 NM_153226 chr10 + 95653729 95662491 95653790 95661247 3 95653729,95658330,95660508, 95653968,95658508,95662491, 0 SLC35G1 cmpl cmpl 0,1,2, 1028 NR_027408 chr17 - 58179120 58180280 58180280 58180280 1 58179120, 58180280, 0 LOC653653 unk unk -1, 1060 NR_037882 chr20 + 62289162 62330051 62330051 62330051 38 62289162,62290585,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130,62328112,62328680,62329632, 62289819,62290857,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62327003,62327207,62328544,62328875,62330051, 0 RTEL1-TNFRSF6B unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 588 NM_001286435 chr16 + 447191 450754 447222 450190 5 447191,448989,449378,449626,450108, 447313,449123,449480,449739,450754, 0 NME4 cmpl cmpl 0,1,0,0,2, 937 NM_001286416 chr21 - 46225531 46238044 46226865 46237883 4 46225531,46228961,46233776,46237862, 46226955,46229033,46234019,46238044, 0 SUMO3 cmpl cmpl 0,0,0,0, 232 NM_001286378 chr1 + 166944818 166991449 166959009 166991092 13 166944818,166958637,166958973,166960614,166961922,166963264,166973416,166974312,166974492,166985458,166987063,166990321,166990904, 166944903,166958721,166959066,166960714,166962078,166963306,166973541,166974367,166974634,166985521,166987196,166990397,166991449, 0 MAEL cmpl cmpl -1,-1,0,0,1,1,1,0,1,2,2,0,1, 232 NM_001286377 chr1 + 166958325 166991449 166958589 166991092 11 166958325,166960614,166961922,166963264,166973416,166974312,166974492,166985458,166987063,166990321,166990904, 166958721,166960714,166962078,166963306,166973541,166974367,166974634,166985521,166987196,166990397,166991449, 0 MAEL cmpl cmpl 0,0,1,1,1,0,1,2,2,0,1, 810 NR_026765 chr8 - 29578775 29605625 29605625 29605625 4 29578775,29582392,29583671,29605530, 29579667,29582535,29583939,29605625, 0 LINC00589 unk unk -1,-1,-1,-1, 202 NM_001286568 chr2 - 135954538 136288300 135957911 136262059 21 135954538,135960401,135965003,135966437,135975034,135976646,135981995,135985387,135988082,136023103,136026531,136029337,136033205,136071058,136072928,136103119,136107553,136111019,136148371,136261898,136288095, 135958010,135960533,135965406,135966548,135975177,135976748,135982087,135985585,135988497,136023256,136026711,136029457,136033325,136071175,136073100,136103205,136107785,136111198,136148390,136262066,136288300, 0 ZRANB3 cmpl cmpl 0,0,2,2,0,0,1,1,0,0,0,0,0,0,2,0,2,0,2,0,-1, 202 NM_001286569 chr2 - 135954538 136288300 135957911 136026555 22 135954538,135960401,135965003,135966437,135975034,135976646,135981995,135985381,135988082,136023103,136026531,136028870,136029337,136033205,136071058,136072928,136103119,136107553,136111019,136148371,136261898,136288067, 135958010,135960533,135965406,135966548,135975177,135976748,135982087,135985585,135988497,136023256,136026711,136028965,136029457,136033325,136071175,136073100,136103205,136107785,136111198,136148390,136262066,136288300, 0 ZRANB3 cmpl cmpl 0,0,2,2,0,0,1,1,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1114 NM_144676 chr16 - 69377148 69385712 69377309 69385656 4 69377148,69381690,69383427,69385443, 69377543,69381839,69383554,69385712, 0 TMED6 cmpl cmpl 0,1,0,0, 736 NR_073459 chr14 + 19894368 19904572 19904572 19904572 3 19894368,19896784,19904258, 19894691,19896872,19904572, 0 BMS1P18 unk unk -1,-1,-1, 735 NR_073459 chr14 - 19670791 19681016 19681016 19681016 3 19670791,19678512,19680693, 19671105,19678600,19681016, 0 BMS1P18 unk unk -1,-1,-1, 141 NR_046217 chr1 + 71547006 71703406 71703406 71703406 4 71547006,71557346,71688739,71702812, 71547096,71557387,71688797,71703406, 0 ZRANB2-AS2 unk unk -1,-1,-1,-1, 100 NM_024423 chr18 - 28570051 28622781 28574435 28622626 17 28570051,28574419,28576756,28581583,28584107,28586872,28587981,28588234,28598036,28598631,28602301,28604314,28605725,28609474,28610938,28612157,28622557, 28574338,28574462,28577014,28581705,28584332,28587097,28588124,28588491,28598222,28598766,28602468,28604459,28605881,28609594,28611138,28612242,28622781, 0 DSC3 cmpl cmpl -1,0,0,1,1,1,2,0,0,0,1,0,0,0,1,0,0, 1243 NR_038438 chr16 + 86320036 86326995 86326995 86326995 3 86320036,86324270,86325133, 86320155,86324350,86326995, 0 RP11-514D23.1 unk unk -1,-1,-1, 1072 NR_027378 chr8 + 63890419 63897460 63897460 63897460 1 63890419, 63897460, 0 UG0898H09 unk unk -1, 133 NR_026866 chr3 + 63805040 63834312 63834312 63834312 7 63805040,63808925,63813276,63816785,63817355,63830698,63834039, 63805272,63809245,63813401,63816899,63817520,63830758,63834312, 0 C3orf49 unk unk -1,-1,-1,-1,-1,-1,-1, 922 NM_001286520 chr6 - 44221837 44225308 44222442 44223342 4 44221837,44224074,44224421,44225136, 44223381,44224233,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,-1,-1,-1, 1139 NR_026837 chr12 - 72647286 72667289 72667289 72667289 2 72647286,72665602, 72649554,72667289, 0 TRHDE-AS1 unk unk -1,-1, 605 NR_027700 chr20 + 2633177 2639039 2639039 2639039 12 2633177,2633487,2633924,2635059,2635394,2635970,2636240,2636579,2637046,2637419,2637726,2638574, 2633309,2633577,2634039,2635221,2635593,2636158,2636392,2636860,2637195,2637541,2637864,2639039, 0 NOP56 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 215 NR_027002 chr1 + 149279475 149291742 149291742 149291742 1 149279475, 149291742, 0 LOC388692 unk unk -1, 1065 NR_026897 chr15 - 62929370 62937380 62937380 62937380 3 62929370,62932358,62936715, 62930817,62932561,62937380, 0 MGC15885 unk unk -1,-1,-1, 1737 NM_001284262 chr7 - 151078206 151107791 151078667 151093203 6 151078206,151078963,151082173,151092861,151097185,151107678, 151078832,151079067,151082309,151093282,151097327,151107791, 0 WDR86 cmpl cmpl 0,1,0,0,-1,-1, 1737 NM_001284261 chr7 - 151078206 151107791 151078444 151093203 5 151078206,151078963,151092861,151097185,151107678, 151078832,151079067,151093282,151097327,151107791, 0 WDR86 cmpl cmpl 2,0,0,-1,-1, 1737 NM_001284260 chr7 - 151078206 151107124 151078413 151106675 6 151078206,151078963,151082173,151092861,151097185,151106512, 151078832,151079067,151082373,151093282,151097327,151107124, 0 WDR86 cmpl cmpl 1,2,0,2,1,0, 108 NM_001085400 chr4 - 37612255 37687999 37633009 37687909 7 37612255,37633006,37636508,37640068,37648989,37650897,37687821, 37614964,37633145,37636745,37640126,37649061,37651122,37687999, 0 RELL1 cmpl cmpl -1,2,2,1,1,1,0, 1267 NR_038385 chr12 - 89404902 89413469 89413469 89413469 3 89404902,89408468,89413329, 89407094,89408645,89413469, 0 RP11-13A1.1 unk unk -1,-1,-1, 585 NR_038377 chr4_gl000193_random - 49162 88375 88375 88375 6 49162,50561,59868,75048,75487,88199, 49618,50619,59956,75288,75675,88375, 0 MGC39584 unk unk -1,-1,-1,-1,-1,-1, 1614 NR_027127 chr5 - 134984371 134989624 134989624 134989624 3 134984371,134988043,134989530, 134986212,134988150,134989624, 0 LOC340074 unk unk -1,-1,-1, 931 NR_028414 chr19 + 45430059 45434643 45434643 45434643 4 45430059,45430212,45431051,45434256, 45430089,45430290,45431187,45434643, 0 APOC1P1 unk unk -1,-1,-1,-1, 931 NR_028412 chr19 + 45430059 45434643 45434643 45434643 3 45430059,45430866,45434256, 45430290,45431187,45434643, 0 APOC1P1 unk unk -1,-1,-1, 922 NM_001286513 chr6 - 44221837 44225308 44222442 44224502 3 44221837,44224421,44225136, 44223381,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,0,-1, 922 NM_001286512 chr6 - 44221837 44225089 44222442 44224479 4 44221837,44224078,44224421,44224918, 44223381,44224233,44224615,44225089, 0 SLC35B2 cmpl cmpl 0,1,0,-1, 613 NR_047675 chr20 - 3734145 3749035 3749035 3749035 6 3734145,3735043,3736115,3739182,3740728,3748748, 3734805,3735166,3736254,3739325,3740833,3749035, 0 C20orf27 unk unk -1,-1,-1,-1,-1,-1, 1767 NR_045515 chr1 + 154975105 154991001 154991001 154991001 6 154975105,154975318,154982733,154983391,154987130,154988695, 154975145,154975419,154982873,154983491,154988290,154991001, 0 ZBTB7B unk unk -1,-1,-1,-1,-1,-1, 697 NR_046285 chr5 + 14712802 14716638 14716638 14716638 2 14712802,14716530, 14715293,14716638, 0 LOC100130744 unk unk -1,-1, 1053 NR_036496 chr2 - 61368726 61372110 61372110 61372110 2 61368726,61371907, 61371080,61372110, 0 LOC339803 unk unk -1,-1, 1430 NR_049830 chr2 - 110844009 110844100 110844100 110844100 1 110844009, 110844100, 0 MIR4436B2 unk unk -1, 1432 NR_049830 chr2 + 111042429 111042520 111042520 111042520 1 111042429, 111042520, 0 MIR4436B2 unk unk -1, 1182 NR_049799 chr15 + 78375874 78375901 78375901 78375901 1 78375874, 78375901, 0 MIR5003 unk unk -1, 933 NR_030599 chr15 + 45725247 45725327 45725327 45725327 1 45725247, 45725327, 0 MIR147B unk unk -1, 1349 NR_031619 chr10 - 100154974 100155064 100155064 100155064 1 100154974, 100155064, 0 MIR1287 unk unk -1, 2002 NR_039977 chr4 - 185814153 185820615 185820615 185820615 2 185814153,185820460, 185815294,185820615, 0 LINC01093 unk unk -1,-1, 2002 NR_039976 chr4 - 185814153 185820615 185820615 185820615 3 185814153,185818501,185820460, 185815294,185818721,185820615, 0 LINC01093 unk unk -1,-1,-1, 2002 NR_039975 chr4 - 185814153 185820615 185820615 185820615 3 185814153,185818488,185820460, 185815294,185818721,185820615, 0 LINC01093 unk unk -1,-1,-1, 1420 NR_038996 chr12 - 109489845 109491770 109491770 109491770 2 109489845,109491490, 109490543,109491770, 0 USP30-AS1 unk unk -1,-1, 24 NR_038976 chr3 - 131043935 131100319 131100319 131100319 4 131043935,131046020,131095455,131100176, 131045120,131046574,131095551,131100319, 0 LOC339874 unk unk -1,-1,-1,-1, 1332 NR_040097 chr2 + 97948228 97957632 97957632 97957632 5 97948228,97948300,97950614,97951039,97957293, 97948286,97950522,97950744,97951260,97957632, 0 AC159540.1 unk unk -1,-1,-1,-1,-1, 956 NR_024188 chr2 + 48667907 48742531 48742531 48742531 22 48667907,48678146,48681694,48685264,48686892,48687233,48688276,48692075,48692631,48698225,48698417,48701821,48707062,48713769,48718156,48722817,48725631,48732702,48734407,48737153,48738478,48741853, 48668149,48678215,48681880,48685366,48687057,48687292,48688371,48692128,48692781,48698327,48698506,48701958,48707155,48713897,48718309,48722910,48725874,48732735,48734524,48737252,48738607,48742531, 0 PPP1R21 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 795 NR_003525 chr10 - 27534781 27541235 27541235 27541235 1 27534781, 27541235, 0 LRRC37A6P unk unk -1, 1440 NR_039634 chr2 - 112078588 112078668 112078668 112078668 1 112078588, 112078668, 0 MIR4435-1 unk unk -1, 1079 NR_039633 chr2 + 64752646 64752699 64752699 64752699 1 64752646, 64752699, 0 MIR4434 unk unk -1, 637 NR_040089 chr17 - 6888441 6915653 6915653 6915653 3 6888441,6913114,6915514, 6888859,6913208,6915653, 0 LOC100506713 unk unk -1,-1,-1, 878 NM_153681 chr21 - 38437663 38445103 38437881 38444887 4 38437663,38439561,38441851,38444733, 38438012,38439680,38441924,38445103, 0 PIGP cmpl cmpl 1,2,1,0, 821 NR_040245 chr12 + 30948614 30955645 30955645 30955645 5 30948614,30951078,30952846,30953467,30954634, 30949150,30951249,30952955,30953535,30955645, 0 LINC00941 unk unk -1,-1,-1,-1,-1, 886 NR_040111 chr17 + 39558667 39568840 39568840 39568840 3 39558667,39564672,39568670, 39558760,39566569,39568840, 0 AC003958.2 unk unk -1,-1,-1, 1170 NR_046482 chr14 - 76737449 76737476 76737476 76737476 1 76737449, 76737476, 0 RNU6-31P unk unk -1, 1361 NR_046482 chr1 - 101806424 101806451 101806451 101806451 1 101806424, 101806451, 0 RNU6-31P unk unk -1, 912 NR_040101 chr6 + 42981840 42989036 42989036 42989036 10 42981840,42984871,42985256,42985882,42986080,42986370,42986600,42986829,42987025,42988404, 42982086,42985084,42985433,42985954,42986294,42986457,42986709,42986903,42987104,42989036, 0 KLHDC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 208 NM_019001 chr3 - 142025448 142166904 142030352 142166786 42 142025448,142031439,142031977,142037433,142037631,142048275,142051216,142051808,142054289,142066075,142074242,142075753,142078703,142083888,142084151,142089326,142090080,142094639,142095320,142098923,142102141,142103364,142116170,142119285,142122515,142122710,142123748,142131385,142132976,142135981,142137345,142137656,142139857,142140317,142141423,142141676,142142401,142144063,142144270,142145585,142151502,142166711, 142030655,142031600,142032016,142037536,142037745,142048457,142051373,142051931,142054351,142066184,142074338,142075961,142078773,142084021,142084208,142089462,142090170,142094786,142095436,142099022,142102255,142103527,142116302,142119389,142122614,142122831,142123918,142131505,142133133,142136071,142137451,142137723,142139995,142140385,142141592,142141764,142142484,142144174,142144380,142145683,142151735,142166904, 0 XRN1 cmpl cmpl 0,1,1,0,0,1,0,0,1,0,0,2,1,0,0,2,2,2,0,0,0,2,2,0,0,2,0,0,2,2,1,0,0,1,0,2,0,0,1,2,0,0, 1794 NR_073096 chr6 - 158535502 158589312 158589312 158589312 13 158535502,158537216,158540060,158541456,158549139,158564087,158565330,158567813,158569896,158571484,158576346,158579304,158589171, 158536003,158537314,158540202,158541607,158549302,158564216,158565452,158567945,158569986,158571621,158576383,158579396,158589312, 0 SERAC1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 2135 NR_045784 chr1 - 203185206 203198860 203198860 203198860 13 203185206,203186429,203186866,203187062,203188343,203188791,203191329,203192262,203192622,203194175,203194796,203197660,203198739, 203186261,203186500,203186993,203187219,203188457,203188977,203191453,203192387,203192788,203194232,203194998,203197690,203198860, 0 CHIT1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 647 NR_045405 chr11 - 8127596 8190590 8190590 8190590 7 8127596,8148205,8158924,8159818,8161513,8174921,8190412, 8132684,8148354,8159018,8159894,8161740,8174970,8190590, 0 RIC3 unk unk -1,-1,-1,-1,-1,-1,-1, 149 NR_045351 chr17 + 79935425 79975282 79975282 79975282 15 79935425,79941429,79943382,79952696,79953867,79954295,79966912,79967361,79968677,79969418,79970106,79974351,79974675,79974816,79975184, 79935624,79941544,79943483,79952754,79953941,79954722,79967067,79967443,79968744,79969481,79970159,79974403,79974745,79974989,79975282, 0 ASPSCR1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 942 NM_199044 chr1 + 46805848 46830824 46806498 46827518 6 46805848,46810472,46812592,46818539,46826375,46827241, 46806591,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 cmpl cmpl 0,0,2,1,0,2, 1060 NR_051956 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333247,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1060 NR_051955 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333250,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1060 NR_051954 chr20 - 62329994 62339365 62339365 62339365 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333250,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 825 NR_038288 chr13 - 31504808 31506745 31506745 31506745 3 31504808,31505382,31506412, 31505011,31506073,31506745, 0 TEX26-AS1 unk unk -1,-1,-1, 1368 NM_001282674 chrX + 102631250 102633092 102631330 102632755 2 102631250,102632390, 102631541,102633092, 0 NGFRAP1 cmpl cmpl 0,1, 988 NM_133179 chrX - 52891557 52897119 52891646 52896164 5 52891557,52893803,52895461,52896083,52897036, 52891669,52893929,52895567,52896172,52897119, 0 XAGE3 cmpl cmpl 1,1,0,0,-1, 1149 NM_001251874 chr6 - 73951037 74019938 73951251 74019437 5 73951037,73951777,73952128,74001720,74019274, 73951451,73951960,73952253,74001763,74019938, 0 KHDC1 cmpl cmpl 1,1,2,1,0, 103 NM_001278167 chr20 - 31946644 31989375 31946848 31984870 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954811,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984890,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,0,-1, 1654 NM_080877 chr9 + 140125384 140131006 140126154 140130868 13 140125384,140126115,140126523,140127026,140127235,140127455,140127660,140128084,140128314,140128560,140128867,140129058,140130403, 140125531,140126239,140126613,140127155,140127379,140127567,140127856,140128174,140128393,140128728,140128984,140129183,140131006, 0 SLC34A3 cmpl cmpl -1,0,1,1,1,1,2,0,0,1,1,1,0, 103 NM_001278169 chr20 - 31946644 31989375 31946848 31989364 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984658,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,2,0, 1004 NR_047649 chr5 - 54921672 54988881 54988881 54988881 14 54921672,54923718,54929522,54931371,54941616,54945034,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54988417, 54922487,54923808,54929636,54931485,54941723,54945142,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54988881, 0 SLC38A9 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1580 NM_001252023 chr9 - 130493802 130497628 130494421 130495770 3 130493802,130495663,130497398, 130494557,130495839,130497628, 0 TOR2A cmpl cmpl 2,0,-1, 671 NR_104231 chr2 + 11295497 11318998 11318998 11318998 8 11295497,11300591,11300750,11304329,11312050,11312876,11315093,11317862, 11295815,11300674,11300820,11304387,11312171,11312950,11315135,11318998, 0 PQLC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1580 NM_001252021 chr9 - 130493802 130497628 130494312 130495770 4 130493802,130494842,130495663,130497398, 130494557,130494970,130495836,130497628, 0 TOR2A cmpl cmpl 1,2,0,-1, 1580 NM_001252018 chr9 - 130493802 130497628 130494312 130495770 4 130493802,130494842,130495663,130497398, 130494557,130494970,130495839,130497628, 0 TOR2A cmpl cmpl 1,2,0,-1, 1106 NM_001251969 chr5 + 68389775 68400567 68390082 68399872 3 68389775,68398888,68399788, 68390165,68398955,68400567, 0 SLC30A5 cmpl cmpl 0,2,0, 936 NM_001278217 chr17 + 46048321 46059152 46052451 46058868 13 46048321,46048727,46050884,46051296,46051765,46052879,46053234,46054077,46055197,46056194,46057958,46058528,46058802, 46048518,46048773,46051016,46051397,46052703,46053019,46053379,46054188,46055276,46056283,46058164,46058700,46059152, 0 CDK5RAP3 cmpl cmpl -1,-1,-1,-1,0,0,2,0,0,1,0,2,0, 630 NM_001243203 chr9 - 6011018 6015640 6014285 6015607 2 6011018,6015471, 6014356,6015640, 0 RANBP6 cmpl cmpl 1,0, 630 NM_001243202 chr9 - 6011018 6015640 6012289 6015607 2 6011018,6015412, 6014356,6015640, 0 RANBP6 cmpl cmpl 0,0, 1341 NM_198043 chr10 + 99205887 99217127 99211432 99216648 10 99205887,99211427,99211846,99212171,99212651,99213286,99214470,99215416,99215730,99216533, 99206110,99211675,99212041,99212260,99212680,99213420,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,1,0,2,0,2, 1264 NM_207662 chr14 + 89060729 89079853 89061070 89078095 7 89060729,89063077,89073586,89075610,89076058,89077177,89078088, 89061455,89063152,89073707,89075747,89076147,89077284,89079853, 0 ZC3H14 cmpl cmpl 0,1,1,2,1,0,2, 1099 NM_001077701 chr1 + 67395925 67454302 67396074 67450583 13 67395925,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254, 67396083,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67454302, 0 MIER1 cmpl cmpl 0,0,1,0,0,1,0,1,0,1,0,2,1, 125 NR_109869 chr6 - 55299170 55444012 55444012 55444012 5 55299170,55304231,55406526,55406857,55443745, 55300561,55304357,55406634,55406938,55444012, 0 HMGCLL1 unk unk -1,-1,-1,-1,-1, 1353 NM_001039355 chr14 - 100757452 100772860 100758619 100772569 4 100757452,100759630,100765178,100772535, 100759369,100759714,100765222,100772860, 0 SLC25A29 cmpl cmpl 0,0,1,0, 1265 NR_104293 chr16 + 89160216 89222254 89222254 89222254 11 89160216,89164998,89167069,89169011,89178499,89180746,89187208,89199543,89211621,89212345,89220497, 89160404,89165171,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 2082 NM_001077657 chr3 - 196233749 196242237 196234757 196242080 3 196233749,196236390,196242030, 196235202,196236540,196242237, 0 C3orf43 cmpl cmpl 2,2,0, 82 NM_001077525 chr3 + 9691116 9744078 9691267 9743657 19 9691116,9695304,9703950,9710402,9711115,9712731,9714368,9719000,9719667,9724861,9726268,9726571,9726894,9729504,9730379,9730627,9731647,9739394,9743473, 9691426,9695453,9704059,9710478,9711176,9712854,9714442,9719071,9719742,9724928,9726354,9726648,9726931,9729575,9730438,9730766,9731827,9739550,9744078, 0 MTMR14 cmpl cmpl 0,0,2,0,1,2,2,1,0,0,1,0,2,0,2,1,2,2,2, 822 NM_001077511 chr6 + 31126302 31131992 31127246 31130494 4 31126302,31126919,31129223,31130253, 31126499,31127484,31129782,31131992, 0 TCF19 cmpl cmpl -1,0,1,2, 27 NM_001130002 chr3 + 157261132 157319021 157271046 157318087 5 157261132,157271018,157288965,157289743,157317981, 157261298,157271129,157289095,157289832,157319021, 0 C3orf55 cmpl cmpl -1,0,2,0,2, 27 NM_001130001 chr3 + 157261132 157319021 157271046 157318170 4 157261132,157271018,157288965,157317981, 157261298,157271129,157289095,157319021, 0 C3orf55 cmpl cmpl -1,0,2,0, 837 NM_001077242 chr11 + 33037409 33055128 33037501 33055001 9 33037409,33047204,33049231,33050148,33052923,33053881,33054213,33054434,33054807, 33037574,33047595,33049359,33050338,33053135,33054024,33054339,33054513,33055128, 0 DEPDC7 cmpl cmpl 0,1,2,1,2,1,0,0,1, 1501 NM_001080140 chrX - 120087136 120090454 120088445 120090199 3 120087136,120088414,120089457, 120087276,120088570,120090454, 0 CT47A7 cmpl cmpl -1,1,0, 1743 NM_001080848 chrX - 151876742 151877747 151877052 151877594 2 151876742,151877280, 151877122,151877747, 0 CSAG2 cmpl cmpl 2,0, 1004 NM_001271748 chrX + 55026755 55034306 55029485 55033868 5 55026755,55027978,55029394,55030231,55032950, 55027012,55028062,55029541,55030301,55034306, 0 APEX2 cmpl cmpl -1,-1,0,2,0, 1107 NM_001111101 chr2 - 68511302 68547183 68511559 68546532 3 68511302,68544288,68546353, 68511616,68544439,68547183, 0 CNRIP1 cmpl cmpl 0,2,0, 818 NM_001109938 chr6 + 30614815 30620987 30615008 30620692 6 30614815,30617334,30618770,30619042,30620424,30620578, 30615080,30617736,30618859,30619243,30620494,30620987, 0 C6orf136 cmpl cmpl 0,0,0,2,2,0, 1743 NM_001129826 chrX - 151876742 151877670 151877052 151877594 2 151876742,151877280, 151877122,151877670, 0 CSAG3 cmpl cmpl 2,0, 1744 NM_001129826 chrX + 151927810 151928738 151927886 151928428 2 151927810,151928358, 151928200,151928738, 0 CSAG3 cmpl cmpl 0,2, 14 NM_001080476 chr4 + 42895282 43032675 42895283 43032557 4 42895282,42964908,43022370,43032377, 42895667,42965151,43022436,43032675, 0 GRXCR1 cmpl cmpl 0,0,0,0, 1477 NM_001085481 chr12 + 116997185 117014425 117013747 117014125 2 116997185,117013646, 116997238,117014425, 0 MAP1LC3B2 cmpl cmpl -1,0, 118 NM_001080467 chr18 - 47349155 47721451 47352840 47721163 40 47349155,47361713,47363080,47363886,47365513,47367734,47369610,47373515,47375936,47379818,47383182,47389596,47390510,47398536,47402056,47404132,47405314,47406740,47421310,47428963,47431041,47432788,47438431,47455881,47462621,47463614,47479629,47480682,47488635,47489318,47500719,47506813,47511087,47516808,47518657,47527624,47563219,47566512,47581637,47721136, 47352993,47361794,47363255,47364172,47365664,47367824,47369762,47373659,47376030,47380017,47383260,47389697,47390750,47398602,47402197,47404252,47405460,47406825,47421544,47429203,47431198,47433000,47438543,47455968,47462719,47463767,47479713,47480805,47488776,47489400,47500985,47506923,47511195,47516890,47518801,47527781,47563364,47566684,47581748,47721451, 0 MYO5B cmpl cmpl 0,0,2,1,0,0,1,1,0,2,2,0,0,0,0,0,1,0,0,0,2,0,2,2,0,0,0,0,0,2,0,1,1,0,0,2,1,0,0,0, 918 NM_001257335 chr18 - 43664109 43678319 43664247 43671806 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43675018,43677801, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,0,-1,-1, 111 NR_104316 chr3 + 39851150 40301811 40301811 40301811 17 39851150,39942277,40085540,40192538,40204220,40208336,40208649,40211440,40223710,40231316,40251344,40275386,40285936,40291712,40291929,40293371,40299624, 39851407,39942417,40085762,40192675,40204301,40208434,40208730,40211584,40223864,40231954,40251584,40275544,40286098,40291817,40291990,40293490,40301811, 0 MYRIP unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1488 NM_001080441 chr11 + 118398209 118401740 118398209 118401631 3 118398209,118399317,118401368, 118398327,118399506,118401740, 0 TTC36 cmpl cmpl 0,1,1, 822 NM_001105564 chr6 - 31110215 31125566 31110368 31125377 18 31110215,31110739,31111038,31112463,31112661,31112942,31113224,31113472,31116181,31116394,31117842,31118231,31118501,31118735,31122272,31124507,31124799,31125161, 31110493,31110911,31111190,31112565,31112850,31113079,31113270,31113585,31116288,31116505,31117992,31118342,31118637,31118899,31122576,31124721,31124866,31125566, 0 CCHCR1 cmpl cmpl 1,0,1,1,1,2,1,2,0,0,0,0,2,0,2,1,0,0, 1681 NM_001134470 chr3 + 143692166 143711210 143692374 143708683 3 143692166,143704384,143708351, 143692404,143704688,143711210, 0 C3orf58 cmpl cmpl 0,0,1, 213 NM_001040433 chr5 + 147715121 147719412 147715176 147719275 4 147715121,147715984,147718040,147719229, 147715231,147716016,147718168,147719412, 0 SPINK9 cmpl cmpl 0,1,0,2, 159 NM_001042574 chr15 + 91073117 91188577 91073303 91185372 15 91073117,91083270,91136867,91145555,91147616,91150609,91157684,91161114,91162972,91169007,91172465,91181677,91181966,91184328,91185166, 91073435,91083369,91136987,91145617,91147679,91150710,91157720,91161200,91163022,91169225,91172764,91181878,91182047,91184431,91188577, 0 CRTC3 cmpl cmpl 0,0,0,0,2,2,1,1,0,2,1,0,0,0,1, 2042 NM_001164467 chr4 + 191012062 191013442 191012159 191013434 1 191012062, 191013442, 0 DUX4L3 cmpl cmpl 0, 1099 NM_001077702 chr1 + 67390577 67454302 67394586 67452156 16 67390577,67391824,67394572,67405710,67411832,67423741,67424533,67425361,67428770,67436490,67437337,67438579,67442277,67447461,67450254,67452085, 67390778,67391925,67394646,67405735,67411978,67423903,67424666,67425426,67428843,67436642,67437419,67438674,67442405,67447601,67450275,67454302, 0 MIER1 cmpl cmpl -1,-1,0,0,1,0,0,1,0,1,0,1,0,2,1,1, 109 NM_001039141 chr22 + 38092994 38172563 38097372 38168769 24 38092994,38093594,38097312,38106433,38109216,38111769,38119191,38129304,38130405,38134648,38136901,38147778,38150883,38151107,38151556,38153619,38155160,38161676,38164080,38165034,38165268,38167656,38168607,38169789, 38093096,38093703,38097486,38106573,38109418,38111941,38122510,38129419,38131449,38134726,38137039,38147835,38150991,38151197,38151666,38154145,38155271,38161824,38164183,38165194,38165382,38167743,38168771,38172563, 0 TRIOBP cmpl cmpl -1,-1,0,0,2,0,1,2,0,0,0,0,0,0,0,2,0,0,1,2,0,0,0,-1, 952 NM_001098416 chr12 - 48176506 48213763 48177623 48213568 25 48176506,48177861,48179169,48179534,48180367,48181494,48181827,48183043,48183305,48183595,48185041,48185368,48185653,48187151,48188542,48188966,48189369,48189989,48190799,48191166,48191890,48192344,48192567,48196006,48213549, 48177669,48178000,48179254,48179668,48180486,48181592,48181947,48183131,48183361,48183703,48185091,48185489,48185787,48187371,48188716,48189163,48189550,48190081,48190925,48191282,48192002,48192435,48192755,48196057,48213763, 0 HDAC7 cmpl cmpl 2,1,0,1,2,0,0,2,0,0,1,0,1,0,0,1,0,1,1,2,1,0,1,1,0, 1553 NM_001007534 chr3 + 126911973 126917027 126915528 126916257 2 126911973,126915433, 126912118,126917027, 0 C3orf56 cmpl cmpl -1,0, 949 NM_001127242 chr19 - 47724078 47736023 47724957 47735859 2 47724078,47735771, 47725175,47736023, 0 BBC3 cmpl cmpl 1,0, 27 NR_024016 chr3 + 157261132 157287701 157287701 157287701 3 157261132,157271018,157287095, 157261298,157271129,157287701, 0 C3orf55 unk unk -1,-1,-1, 892 NR_024015 chr6 + 40346162 40347631 40347631 40347631 2 40346162,40347020, 40346636,40347631, 0 TDRG1 unk unk -1,-1, 979 NR_024012 chr3 + 51705190 51738339 51738339 51738339 4 51705190,51718428,51733421,51737739, 51705304,51718650,51733590,51738339, 0 TEX264 unk unk -1,-1,-1,-1, 152 NM_001077207 chr4 - 83739813 83812412 83740226 83803089 27 83739813,83742189,83745707,83748521,83750152,83763292,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 754 NR_046639 chrX - 22180848 22191100 22191100 22191100 5 22180848,22187910,22189275,22189626,22190062, 22181488,22187972,22189307,22189761,22191100, 0 PHEX-AS1 unk unk -1,-1,-1,-1,-1, 125 NM_001042406 chr6 - 55299170 55444012 55300459 55443853 9 55299170,55304231,55360216,55364033,55378845,55381305,55406526,55406857,55443745, 55300561,55304357,55360405,55364097,55378994,55381401,55406634,55406938,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,0,0,0, 724 NM_001098818 chr19 - 18318770 18337285 18321738 18337225 15 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331683,18331914,18332070,18332941,18337079, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331733,18331988,18332107,18333133,18337285, 0 PDE4C cmpl cmpl 0,0,0,1,0,0,0,1,0,1,2,0,2,2,0, 120 NM_001037806 chr12 - 50184928 50222208 50185621 50197827 13 50184928,50186228,50186460,50187134,50187516,50188547,50192132,50195630,50196740,50196879,50197704,50199762,50222104, 50185834,50186371,50186769,50187216,50187679,50191177,50192246,50195750,50196779,50196948,50197863,50199824,50222208, 0 NCKAP5L cmpl cmpl 0,1,1,0,2,0,0,0,0,0,0,-1,-1, 103 NM_001040446 chr5 - 32227110 32313114 32229883 32312944 16 32227110,32233878,32235067,32239106,32242162,32243626,32248107,32248877,32255798,32263218,32268806,32270922,32271938,32274085,32276787,32312863, 32230453,32234040,32235235,32239279,32242233,32243705,32248232,32248984,32255874,32263348,32268900,32271053,32272011,32274228,32276848,32313114, 0 MTMR12 cmpl cmpl 0,0,0,1,2,1,2,0,2,1,0,1,0,1,0,0, 883 NM_001042600 chr19 - 39078279 39108675 39078387 39108535 31 39078279,39083921,39086124,39086279,39086578,39086951,39087673,39087965,39088125,39090564,39090716,39092080,39096048,39096207,39096812,39098503,39098629,39098751,39100235,39100548,39101690,39101882,39103250,39104519,39104682,39104884,39105029,39106834,39107993,39108207,39108436, 39078457,39083977,39086195,39086369,39086641,39087126,39087777,39088024,39088234,39090625,39090793,39092165,39096131,39096370,39096855,39098551,39098673,39098810,39100314,39100665,39101772,39101945,39103382,39104592,39104725,39104932,39105085,39106899,39108084,39108265,39108675, 0 MAP4K1 cmpl cmpl 2,0,1,1,1,0,1,2,1,0,1,0,1,0,2,2,0,1,0,0,2,2,2,1,0,0,1,2,1,0,0, 834 NM_001099687 chr16 - 32684848 32687448 32685872 32687418 2 32684848,32687056, 32685885,32687448, 0 TP53TG3B cmpl cmpl 2,0, 898 NM_001042545 chr19 + 41107276 41135725 41107293 41135455 30 41107276,41110940,41111310,41111634,41112138,41112309,41113270,41114125,41114389,41115435,41115651,41116437,41117057,41117764,41117978,41118970,41119309,41119821,41120220,41122794,41123005,41125251,41128305,41128854,41129508,41129840,41131761,41132879,41133609,41135300, 41107543,41111132,41111558,41111737,41112213,41112432,41113435,41114275,41114509,41115567,41115777,41116563,41117300,41117890,41118098,41119102,41119435,41119944,41120352,41122926,41123130,41125398,41128572,41128926,41129637,41129987,41131914,41133260,41133762,41135725, 0 LTBP4 cmpl cmpl 0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 898 NM_001042544 chr19 + 41103140 41135725 41103140 41135455 33 41103140,41105102,41105326,41105973,41110940,41111310,41111634,41112138,41112309,41113270,41114125,41114389,41115435,41115651,41116437,41117057,41117764,41117978,41118970,41119309,41119821,41120220,41122794,41123005,41125251,41128305,41128854,41129508,41129840,41131761,41132879,41133609,41135300, 41103286,41105161,41105462,41106083,41111132,41111558,41111737,41112213,41112432,41113435,41114275,41114509,41115567,41115777,41116563,41117300,41117890,41118098,41119102,41119435,41119944,41120352,41122926,41123130,41125398,41128572,41128926,41129637,41129987,41131914,41133260,41133762,41135725, 0 LTBP4 cmpl cmpl 0,2,1,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 826 NM_001098534 chr6 - 31606804 31620170 31606907 31619540 25 31606804,31607276,31607975,31608161,31608421,31608568,31608880,31609096,31609315,31609552,31609888,31610605,31611666,31611858,31612301,31612722,31613183,31614170,31615367,31616453,31616687,31616975,31617286,31619432,31620023, 31607003,31607423,31608083,31608305,31608481,31608715,31609005,31609199,31609369,31609722,31610180,31610892,31611754,31611971,31612379,31612975,31613381,31614300,31615603,31616528,31616741,31617172,31617404,31619553,31620170, 0 BAG6 cmpl cmpl 0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,0,0,2,0,0,0,1,0,0,-1, 633 NM_001118888 chr8 - 6357174 6420784 6360621 6420455 8 6357174,6366452,6371198,6372197,6377384,6378698,6385075,6420167, 6360782,6366583,6371365,6372299,6377515,6378931,6385197,6420784, 0 ANGPT2 cmpl cmpl 1,2,0,0,1,2,0,0, 1762 NM_001018055 chrX + 154299694 154351349 154299802 154348425 11 154299694,154300601,154301651,154305444,154306890,154317537,154319058,154344331,154344985,154348273,154349497, 154299925,154300618,154301706,154305564,154306978,154317626,154319114,154344463,154345029,154348443,154351349, 0 BRCC3 cmpl cmpl 0,0,2,0,0,1,0,2,2,1,-1, 611 NM_001256896 chr4 + 3486270 3496209 3494643 3495228 4 3486270,3487265,3491403,3494485, 3486570,3487385,3491523,3496209, 0 DOK7 cmpl cmpl -1,-1,-1,0, 957 NM_001042498 chrX - 48760888 48769235 48762003 48768913 4 48760888,48763668,48767090,48768822, 48762759,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 18 NM_001029854 chr5 + 76506705 76724080 76506750 76722379 21 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76646889,76649170,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76646978,76649231,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 1547 NM_001039661 chr11 + 126152981 126164828 126160789 126163582 6 126152981,126159559,126160356,126160697,126162371,126163562, 126153048,126159712,126160480,126160856,126162950,126164828, 0 TIRAP cmpl cmpl -1,-1,-1,0,1,1, 632 NM_001037329 chr11 + 6260321 6265707 6260436 6265639 6 6260321,6260613,6260913,6261295,6262660,6265178, 6260498,6260715,6261020,6261941,6263010,6265707, 0 CNGA4 cmpl cmpl 0,2,2,1,2,1, 949 NM_001037328 chr20 - 47729875 47804904 47731414 47770570 14 47729875,47732318,47733662,47734313,47734869,47736518,47739628,47740911,47752369,47768118,47770469,47790731,47795658,47804652, 47731430,47732404,47733785,47734633,47734945,47736665,47739772,47741142,47752468,47768284,47770608,47790806,47795781,47804904, 0 STAU1 cmpl cmpl 2,0,0,1,0,0,0,0,0,2,0,-1,-1,-1, 597 NM_001110781 chr1 - 1592938 1624243 1597220 1608138 9 1592938,1599765,1601102,1601536,1602947,1606901,1607502,1607816,1623887, 1597458,1599911,1601175,1601590,1603068,1607029,1607638,1608285,1624243, 0 SLC35E2B cmpl cmpl 2,0,2,2,1,2,1,0,-1, 684 NM_001100631 chr1 + 13035542 13038381 13035542 13038381 3 13035542,13036221,13037807, 13035835,13036800,13038381, 0 PRAMEF22 cmpl cmpl 0,2,2, 980 NM_001014763 chr19 - 51848408 51858096 51848464 51857892 5 51848408,51850153,51853582,51856385,51857403, 51848635,51850312,51853645,51856544,51858096, 0 ETFB cmpl cmpl 0,0,0,0,0, 775 NM_001032365 chr22 + 25003625 25024972 25007048 25024806 16 25003625,25003920,25005931,25006216,25007044,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 25003699,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 775 NM_001032364 chr22 + 24999123 25024972 25007048 25024806 16 24999123,25003920,25005931,25006324,25007044,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999288,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 11 NM_001033551 chr17 - 17746821 17875784 17750948 17875627 14 17746821,17752136,17754206,17764789,17766044,17769609,17770189,17772653,17782940,17786018,17787947,17801909,17810760,17875575, 17751097,17752173,17754266,17764865,17766162,17769733,17770238,17772787,17783057,17786177,17788082,17801988,17810845,17875784, 0 TOM1L2 cmpl cmpl 1,0,0,2,1,0,2,0,0,0,0,2,1,0, 957 NM_001032289 chrX - 48760888 48769235 48761866 48768913 4 48760888,48763668,48767090,48768822, 48762169,48763820,48767273,48769235, 0 SLC35A2 cmpl cmpl 0,1,1,0, 93 NM_001127501 chr1 + 21835857 21904905 21887222 21904141 11 21835857,21887118,21887589,21889602,21890533,21894596,21896797,21900157,21902225,21903014,21903875, 21836010,21887238,21887705,21889777,21890709,21894740,21896867,21900292,21902417,21903134,21904905, 0 ALPL cmpl cmpl -1,0,1,0,1,0,0,1,1,1,1, 1194 NM_001040202 chr4 - 79839093 79860582 79841692 79860378 6 79839093,79845010,79847674,79851323,79856274,79860193, 79841835,79845101,79847872,79851479,79856437,79860582, 0 PAQR3 cmpl cmpl 1,0,0,0,2,0, 613 NM_001039140 chr20 - 3734145 3748452 3734704 3740747 6 3734145,3735043,3736115,3739182,3740653,3748309, 3734805,3735166,3736254,3739325,3740833,3748452, 0 C20orf27 cmpl cmpl 1,1,0,1,0,-1, 599 NM_001039029 chr12 + 1929432 1945918 1937314 1943887 5 1929432,1936575,1937241,1940100,1943432, 1929980,1936760,1937381,1940691,1945918, 0 LRTM2 cmpl cmpl -1,-1,0,1,1, 836 NM_001040436 chr12 - 32899477 32908887 32900137 32908808 5 32899477,32902870,32903652,32906851,32908029, 32900297,32903041,32903808,32907019,32908887, 0 YARS2 cmpl cmpl 2,2,2,2,0, 1379 NM_001100119 chr14 - 104163953 104181823 104165134 104177424 10 104163953,104165469,104165700,104169509,104173339,104174858,104177369,104177802,104179211,104181760, 104165354,104165516,104165913,104169664,104173552,104174996,104177582,104177904,104179305,104181823, 0 XRCC3 cmpl cmpl 2,0,0,1,1,1,0,-1,-1,-1, 87 NM_001018109 chrX - 15402923 15511711 15403125 15509380 10 15402923,15408306,15415570,15425627,15444028,15473970,15477779,15497851,15509284,15511312, 15403238,15408373,15415653,15425672,15444113,15474177,15477863,15497944,15509432,15511711, 0 PIR cmpl cmpl 1,0,1,1,0,0,0,0,0,-1, 18 NM_001029853 chr5 + 76506705 76724080 76506750 76722379 21 76506705,76621363,76624822,76627226,76633051,76640677,76645243,76646889,76649170,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76621554,76624882,76627284,76633140,76640756,76645384,76646978,76649231,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,2,2,0,2,0,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 1613 NM_001017417 chrX + 134847184 134856988 134852701 134856795 5 134847184,134852695,134854789,134855419,134856737, 134847423,134852870,134855038,134855513,134856988, 0 CT45A1 cmpl cmpl -1,0,1,1,2, 16 NM_001017416 chr1 + 62901974 62917475 62905538 62916652 9 62901974,62905469,62907158,62907865,62908829,62910408,62913011,62914135,62915916, 62902138,62905708,62907279,62907970,62908990,62911100,62913182,62914337,62917475, 0 USP1 cmpl cmpl -1,0,2,0,0,2,1,1,2, 586 NM_001037334 chr18 + 158482 213739 158698 211284 15 158482,163307,166786,180235,192841,196636,197615,198046,199201,202879,203097,204563,209970,210385,211132, 158714,163453,166819,180339,192900,196767,197696,198132,199316,202945,203190,204692,210031,210493,213739, 0 USP14 cmpl cmpl 0,1,0,0,2,1,0,0,2,0,0,0,0,1,1, 909 NM_001110503 chr15 - 42549094 42565782 42551146 42565596 7 42549094,42553155,42553393,42556287,42560144,42564260,42565452, 42551188,42553200,42553447,42556401,42560230,42564321,42565782, 0 TMEM87A cmpl cmpl 0,0,0,0,1,0,0, 724 NM_001098819 chr19 - 18318770 18335303 18321738 18333057 15 18318770,18322568,18324177,18327550,18328958,18329143,18329749,18330043,18331035,18331212,18331683,18331914,18332070,18332941,18335044, 18322086,18322751,18324300,18327705,18329058,18329308,18329848,18330207,18331129,18331325,18331733,18331988,18332107,18333133,18335303, 0 PDE4C cmpl cmpl 0,0,0,1,0,0,0,1,0,1,2,0,2,0,-1, 853 NM_001005752 chr1 + 35247910 35251967 35250363 35251176 2 35247910,35250338, 35248043,35251967, 0 GJB3 cmpl cmpl -1,0, 16 NM_001017415 chr1 + 62901974 62917475 62905538 62916652 9 62901974,62905469,62907158,62907865,62908829,62910408,62913011,62914135,62915916, 62902233,62905708,62907279,62907970,62908990,62911100,62913182,62914337,62917475, 0 USP1 cmpl cmpl -1,0,2,0,0,2,1,1,2, 1458 NM_001017398 chr5 - 114513235 114516243 114513446 114515734 2 114513235,114515671, 114513569,114516243, 0 TRIM36 cmpl cmpl 0,0, 1458 NM_001017397 chr5 - 114506798 114516243 114506799 114515734 2 114506798,114515671, 114506919,114516243, 0 TRIM36 cmpl cmpl 0,0, 118 NM_001098503 chr11 + 48002109 48154266 48002464 48153067 9 48002109,48131609,48134298,48142554,48145164,48146519,48149331,48152010,48153062, 48002560,48131628,48134535,48142818,48145422,48146738,48149595,48152268,48154266, 0 PTPRJ cmpl cmpl 0,0,1,1,1,1,1,1,1, 144 NM_001024674 chr14 + 74551655 74667117 74551665 74665680 6 74551655,74557934,74562650,74564496,74567857,74665624, 74551696,74558009,74562688,74564563,74567941,74667117, 0 LIN52 cmpl cmpl 0,1,1,0,1,1, 633 NM_001118887 chr8 - 6357174 6420784 6360621 6420455 9 6357174,6366452,6371198,6372197,6377384,6378698,6385075,6389852,6420167, 6360782,6366583,6371365,6372299,6377512,6378931,6385197,6390008,6420784, 0 ANGPT2 cmpl cmpl 1,2,0,0,1,2,0,0,0, 664 NM_001031734 chr19 - 10420890 10426691 10421161 10426672 5 10420890,10421528,10426061,10426380,10426527, 10421318,10421616,10426168,10426435,10426691, 0 FDX1L cmpl cmpl 2,1,2,1,0, 960 NM_001080528 chr3 - 49215068 49229291 49215068 49229204 4 49215068,49215914,49227457,49229177, 49215485,49215971,49227571,49229291, 0 C3orf84 cmpl cmpl 0,0,0,0, 811 NM_001098478 chr6 + 29691116 29694303 29691240 29694184 6 29691116,29691434,29691949,29693223,29693787,29694179, 29691304,29691704,29692225,29693340,29693820,29694303, 0 HLA-F cmpl cmpl 0,1,1,1,1,1, 23 NM_001029858 chr6 + 118228688 118638839 118228889 118635415 8 118228688,118475607,118556671,118588157,118596621,118598656,118606346,118635190, 118229062,118475783,118556799,118588317,118596778,118598709,118606501,118638839, 0 SLC35F1 cmpl cmpl 0,2,1,0,1,2,1,0, 18 NM_001029852 chr5 + 76506705 76724080 76506750 76722379 21 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76645243,76646889,76649170,76696072,76700544,76703205,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76645384,76646978,76649231,76696115,76700622,76703282,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,0,2,0,1,1,0,1,2,0,2,0,0,1, 1351 NM_001282449 chr7 - 100487614 100493592 100487834 100491853 5 100487614,100488789,100489954,100490785,100493422, 100487956,100488959,100490175,100491873,100493592, 0 ACHE cmpl cmpl 1,2,0,0,-1, 921 NM_001007561 chr19 - 44088518 44100287 44096177 44099490 3 44088518,44098960,44100133, 44097519,44099492,44100287, 0 IRGQ cmpl cmpl 2,0,-1, 965 NM_001007540 chr3 - 49828166 49837254 49828264 49837245 19 49828166,49828873,49829146,49829335,49829900,49830286,49830593,49831015,49831235,49832040,49832379,49832628,49833060,49833375,49834354,49836258,49836426,49836679,49837196, 49828320,49828901,49829234,49829392,49830043,49830507,49830744,49831155,49831439,49832134,49832533,49832812,49833197,49833479,49834465,49836350,49836589,49836870,49837254, 0 CDHR4 cmpl cmpl 1,0,2,2,0,1,0,1,1,0,2,1,2,0,0,1,0,1,0, 1193 NM_001007533 chr17 - 79791367 79792926 79791604 79792829 3 79791367,79792378,79792639, 79791728,79792529,79792926, 0 PPP1R27 cmpl cmpl 2,1,0, 1171 NM_001007273 chr10 - 76854189 76868970 76854433 76863834 6 76854189,76855332,76857469,76861624,76863651,76868766, 76854636,76855553,76857643,76861719,76863855,76868970, 0 DUSP13 cmpl cmpl 1,2,2,0,0,-1, 1171 NM_001007272 chr10 - 76854189 76868970 76854433 76868915 4 76854189,76855332,76857469,76868766, 76854636,76855553,76857643,76868970, 0 DUSP13 cmpl cmpl 1,2,2,0, 1171 NM_001007271 chr10 - 76854189 76868970 76865426 76868915 8 76854189,76855332,76857469,76861624,76863651,76865418,76867749,76868766, 76854636,76855553,76857643,76861719,76863855,76865626,76867967,76868970, 0 DUSP13 cmpl cmpl -1,-1,-1,-1,-1,1,2,0, 110 NM_001009183 chr14 + 39583487 39606177 39583509 39605652 9 39583487,39584032,39587202,39587743,39591633,39594195,39597483,39601161,39605643, 39583679,39584117,39587292,39587803,39591747,39594240,39597552,39601272,39606177, 0 GEMIN2 cmpl cmpl 0,2,0,0,0,0,0,0,0, 1767 NM_001252406 chr1 + 154975105 154991001 154983395 154989161 5 154975105,154982733,154983391,154987130,154988695, 154975419,154982873,154983491,154988290,154991001, 0 ZBTB7B cmpl cmpl -1,-1,0,0,2, 1613 NR_038216 chr6 + 134758853 134825158 134825158 134825158 3 134758853,134785878,134823925, 134759019,134786196,134825158, 0 LINC01010 unk unk -1,-1,-1, 682 NR_038192 chr19 - 12786530 12792701 12792701 12792701 8 12786530,12786830,12788104,12790270,12790436,12790614,12790974,12792373, 12786747,12786956,12788210,12790357,12790533,12790736,12791139,12792701, 0 DHPS unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1364 NM_182962 chr11 + 102188180 102210135 102195240 102207833 10 102188180,102192567,102195191,102196196,102198782,102199627,102201729,102206696,102207490,102207639, 102188302,102192631,102196093,102196296,102198861,102199676,102201972,102206951,102207532,102210135, 0 BIRC3 cmpl cmpl -1,-1,0,1,2,0,1,1,1,1, 79 NM_001257320 chr11 - 6416353 6426893 6416763 6424996 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6426616, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426893, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,0,-1, 144 NM_182969 chr11 - 74551954 74660232 74554244 74651923 19 74551954,74554898,74555212,74556117,74559159,74562132,74563033,74570202,74574025,74617283,74618189,74632258,74638435,74641344,74644869,74647928,74651829,74656062,74659972, 74554498,74555004,74555328,74556316,74559507,74562248,74563127,74570328,74574066,74617501,74618318,74632392,74638533,74641417,74644917,74648113,74651927,74656130,74660232, 0 XRRA1 cmpl cmpl 1,0,1,0,0,1,0,0,1,2,2,0,1,0,0,1,0,-1,-1, 22 NM_001256074 chr4 - 109745037 110223523 109745245 110223175 32 109745037,109748290,109753535,109755510,109759253,109762850,109765674,109766344,109767294,109769914,109773391,109780811,109782082,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109858963,109861694,109863364,109895522,109895688,109931513,109971282,110221738,110222878, 109745383,109748344,109753589,109755546,109759334,109762877,109765725,109766407,109767375,109769959,109773436,109780889,109782127,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109858999,109861802,109863424,109895549,109895715,109931531,109971335,110221808,110223523, 0 COL25A1 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0, 1063 NM_001252079 chr12 + 62654120 62730474 62654195 62728971 7 62654120,62687959,62696570,62708570,62715244,62719652,62728946, 62654284,62688087,62696701,62708697,62715390,62719714,62730474, 0 USP15 cmpl cmpl 0,2,1,0,1,0,2, 27 NM_001243729 chr3 + 157261132 157296680 157271046 157296073 4 157261132,157271018,157288965,157296067, 157261298,157271129,157289095,157296680, 0 C3orf55 cmpl cmpl -1,0,2,0, 1698 NM_001244892 chrX + 145891301 145891929 145891309 145891826 2 145891301,145891631, 145891441,145891929, 0 CXorf51B cmpl cmpl 0,0, 833 NM_001243965 chr6 - 32546546 32557613 32546867 32557519 7 32546546,32548023,32548522,32549333,32551885,32551948,32557419, 32546881,32548047,32548633,32549615,32551947,32552129,32557613, 0 HLA-DRB1 cmpl cmpl 1,1,1,1,2,0,0, 182 NM_001243963 chrX - 114345182 114468635 114347778 114468604 20 114345182,114357089,114357322,114357642,114358507,114364717,114384389,114384584,114391164,114398238,114399967,114400120,114400403,114400817,114404861,114413989,114414208,114418973,114422788,114468255, 114347898,114357167,114357460,114357755,114358565,114364762,114384506,114384633,114391230,114398346,114400026,114400218,114400515,114400905,114404995,114414126,114414314,114419100,114422933,114468635, 0 LRCH2 cmpl cmpl 0,0,0,1,0,0,0,2,2,2,0,1,0,2,0,1,0,2,1,0, 1075 NR_073391 chr7 + 64254765 64294059 64294059 64294059 5 64254765,64275295,64275953,64280597,64291828, 64254949,64275422,64276031,64280701,64294059, 0 ZNF138 unk unk -1,-1,-1,-1,-1, 1075 NR_073389 chr7 + 64254765 64314178 64314178 64314178 3 64254765,64275295,64312176, 64254949,64275422,64314178, 0 ZNF138 unk unk -1,-1,-1, 19 NM_173538 chr8 + 87878675 88394955 87878723 88394855 11 87878675,87899769,87917308,87951823,88218220,88249146,88296905,88298766,88363912,88365863,88394847, 87878811,87899839,87917422,87951982,88218366,88249340,88297043,88298899,88364022,88366014,88394955, 0 CNBD1 cmpl cmpl 0,1,2,2,2,1,0,0,1,0,1, 1336 NM_183376 chr15 + 98503932 98517068 98504091 98514417 8 98503932,98508829,98509124,98511243,98512352,98513112,98513818,98514360, 98504398,98508896,98509272,98511346,98512609,98513275,98513973,98517068, 0 ARRDC4 cmpl cmpl 0,1,2,0,1,0,1,0, 1034 NR_049780 chr19 - 58878989 58892389 58892389 58892389 3 58878989,58881083,58892307, 58880728,58881295,58892389, 0 ZNF837 unk unk -1,-1,-1, 688 NM_001012277 chr1 - 13607699 13611533 13607766 13610487 4 13607699,13609242,13610200,13611492, 13608328,13609818,13610512,13611533, 0 PRAMEF7 cmpl cmpl 2,2,0,-1, 965 NM_001282163 chrX + 49834155 49863892 49834386 49856876 12 49834155,49834533,49837143,49840449,49845250,49846297,49850636,49850984,49853354,49854772,49855326,49856785, 49834399,49834685,49837243,49840637,49845373,49846504,49850717,49851527,49853541,49855171,49855543,49863892, 0 CLCN5 cmpl cmpl 0,1,0,1,0,0,0,0,0,1,1,2, 1579 NM_139055 chr11 + 130318868 130346539 130318868 130343716 8 130318868,130331383,130331981,130332391,130339156,130340814,130341102,130342941, 130319825,130331516,130332149,130332675,130339334,130340996,130341278,130346539, 0 ADAMTS15 cmpl cmpl 0,0,1,1,0,1,0,2, 152 NM_001077208 chr4 - 83739813 83812412 83740226 83803089 27 83739813,83742189,83745707,83748521,83750152,83763337,83765538,83769956,83772583,83774722,83776055,83778104,83778841,83782783,83783686,83784470,83785514,83787960,83788307,83791477,83793096,83795763,83796879,83799882,83801951,83803010,83812240, 83740406,83742261,83745827,83748785,83750211,83763634,83765662,83770130,83772757,83774868,83776182,83778283,83778917,83782861,83783725,83784545,83785751,83788113,83788469,83791577,83793239,83795904,83796975,83800081,83802075,83803093,83812412, 0 SEC31A cmpl cmpl 0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,2,0,0,0,2,1,0,-1, 1145 NM_001281734 chr14 - 73436152 73493920 73437589 73491216 12 73436152,73440787,73441486,73442258,73444634,73444844,73445568,73448496,73459850,73464518,73490733,73493633, 73437822,73440901,73441667,73442429,73444710,73444942,73445677,73448603,73460065,73465023,73491650,73493920, 0 ZFYVE1 cmpl cmpl 1,1,0,0,2,0,2,0,1,0,0,-1, 772 NM_203402 chr14 + 24600674 24602058 24600772 24602032 2 24600674,24601419, 24601038,24602058, 0 FITM1 cmpl cmpl 0,2, 895 NM_001256016 chr17 - 40724327 40729849 40724985 40726216 9 40724327,40725124,40725328,40725495,40726116,40726333,40729230,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40726352,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,-1,-1,-1,-1, 176 NM_001256010 chr7 - 108110865 108166762 108112844 108155635 10 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108166472, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108155891,108166762, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1, 176 NM_001256009 chr7 - 108110865 108166762 108112844 108155935 10 108110865,108119627,108121156,108131851,108137027,108137926,108142934,108154587,108154879,108166472, 108113119,108119823,108121163,108131911,108137199,108138021,108143086,108154737,108156018,108166762, 0 PNPLA8 cmpl cmpl 1,0,2,2,1,2,0,0,0,-1, 895 NM_001256015 chr17 - 40724327 40729849 40724985 40726216 8 40724327,40725124,40725328,40725495,40726116,40729097,40729478,40729670, 40725042,40725184,40725382,40725641,40726228,40729320,40729579,40729849, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,-1,-1,-1, 895 NM_001256014 chr17 - 40724327 40729734 40724985 40729266 7 40724327,40725124,40725328,40725495,40726116,40729230,40729478, 40725042,40725184,40725382,40725641,40726228,40729320,40729734, 0 PSMC3IP cmpl cmpl 0,0,0,1,0,0,-1, 1583 NM_001256335 chr9 - 130882971 130890467 130883423 130886093 8 130882971,130884640,130885212,130885980,130886770,130887522,130887654,130890333, 130883552,130884758,130885413,130886126,130886829,130887562,130887720,130890467, 0 PTGES2 cmpl cmpl 0,2,2,0,-1,-1,-1,-1, 176 NM_001256011 chr7 - 108110865 108168605 108112844 108155635 11 108110865,108119627,108128202,108131853,108137027,108137926,108142934,108154587,108154879,108161919,108168500, 108113119,108119823,108128397,108131911,108137199,108138021,108143086,108154737,108155891,108161965,108168605, 0 PNPLA8 cmpl cmpl 1,0,0,2,1,2,0,0,0,-1,-1, 162 NM_001261409 chr1 - 94027342 94146926 94027797 94140486 12 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94107859,94140169,94146662, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94107899,94140497,94146926, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,2,0,-1, 1776 NM_024897 chr1 - 156213111 156217908 156213651 156215639 7 156213111,156214480,156214932,156215325,156215572,156216471,156217705, 156214194,156214702,156215029,156215452,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 0,0,2,1,0,-1,-1, 865 NM_001282147 chr13 - 36756128 36788752 36757297 36788663 7 36756128,36764082,36765931,36767757,36767942,36776015,36788615, 36757334,36764193,36766031,36767862,36768004,36776230,36788752, 0 SOHLH2 cmpl cmpl 2,2,1,1,2,0,0, 183 NM_152829 chr7 + 115863004 115898837 115874587 115897536 7 115863004,115874587,115889073,115890214,115891813,115892371,115897347, 115863080,115874673,115889326,115890550,115892029,115892530,115898837, 0 TES cmpl cmpl -1,0,2,0,0,0,0, 84 NM_001281435 chr17 + 11924134 12047148 11924203 12044577 12 11924134,11935582,11958205,11984672,11998891,12011106,12013691,12016549,12028610,12032455,12043155,12044463, 11924318,11935615,11958308,11984847,11999011,12011226,12013743,12016677,12028688,12032604,12043201,12047148, 0 MAP2K4 cmpl cmpl 0,1,1,2,0,0,0,1,0,0,2,0, 637 NM_001256254 chr19 + 6887559 6940464 6887619 6940040 18 6887559,6890491,6896408,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 637 NM_001256253 chr19 + 6887559 6940464 6887619 6940040 20 6887559,6890491,6896408,6897159,6897438,6901885,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897315,6897558,6902032,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,2,0,2,0,0, 637 NM_001256252 chr19 + 6887559 6940464 6887619 6940040 20 6887559,6890491,6896408,6897438,6901885,6903820,6904046,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897558,6902032,6903961,6904193,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928321,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 935 NM_202001 chr19 - 45916691 45926820 45916805 45926632 8 45916691,45917220,45918118,45920078,45922355,45923581,45924435,45926527, 45917003,45917292,45918218,45920155,45922455,45923685,45924651,45926820, 0 ERCC1 cmpl cmpl 0,0,2,0,2,0,0,0, 981 NM_177537 chrX + 51927918 51935364 51929018 51934961 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934969,51935364, 0 MAGED4B cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,-1, 946 NM_001256196 chrX + 47420498 47431320 47422366 47430856 16 47420498,47422307,47422624,47424195,47424383,47424641,47426037,47426282,47426384,47426628,47428116,47428385,47428937,47429291,47430276,47430721, 47420650,47422462,47422728,47424298,47424538,47424749,47426179,47426310,47426530,47426831,47428293,47428432,47429056,47429423,47430411,47431320, 0 ARAF cmpl cmpl -1,0,0,2,0,2,2,0,1,0,2,2,1,0,0,0, 112 NM_004700 chr1 + 41249683 41306124 41249765 41304195 14 41249683,41282936,41283835,41284176,41285018,41285546,41285836,41287985,41289768,41296755,41298685,41300638,41303336,41303982, 41250079,41283027,41283962,41284352,41285144,41285657,41285932,41288074,41289930,41296976,41298785,41300770,41303466,41306124, 0 KCNQ4 cmpl cmpl 0,2,0,1,0,0,0,0,2,2,1,2,2,0, 637 NM_001256255 chr19 + 6887559 6940464 6887619 6940040 18 6887559,6890491,6896408,6897159,6897438,6906443,6908699,6913663,6916259,6919558,6921723,6924688,6926376,6928155,6934997,6937253,6937554,6940034, 6887650,6890554,6896552,6897315,6897462,6906532,6908783,6913841,6916379,6919758,6921894,6924883,6926612,6928222,6935089,6937422,6937659,6940464, 0 EMR1 cmpl cmpl 0,1,1,1,1,1,0,0,1,1,0,0,0,2,0,2,0,0, 730 NR_024157 chr22 - 19033674 19035888 19035888 19035888 1 19033674, 19035888, 0 DGCR11 unk unk -1, 762 NM_001282745 chr10 + 23216952 23327452 23220925 23326408 19 23216952,23220924,23235072,23244735,23247998,23248327,23250812,23257234,23270268,23270523,23287076,23290847,23292174,23295812,23297204,23297764,23319524,23321789,23326198, 23217035,23220973,23235190,23244861,23248067,23248503,23251007,23257418,23270421,23270629,23287326,23290984,23292343,23295910,23297303,23297860,23319725,23321952,23327452, 0 ARMC3 cmpl cmpl -1,0,0,1,1,1,0,0,1,1,2,0,2,0,2,2,2,2,0, 932 NR_102268 chrX + 45590576 45591246 45591246 45591246 1 45590576, 45591246, 0 LOC392452 unk unk -1, 1492 NM_001164279 chr11 - 118895060 118901616 118895619 118899065 11 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899444,118900101,118901558, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118899544,118900274,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,0,-1,-1,-1, 897 NM_003734 chr17 + 41003200 41010147 41003360 41008567 4 41003200,41006464,41007460,41008291, 41004960,41006750,41007590,41010147, 0 AOC3 cmpl cmpl 0,1,2,0, 2335 NR_073545 chr1 + 229406808 229441640 229441640 229441640 8 229406808,229422232,229424475,229431594,229433266,229434723,229438608,229439552, 229407117,229422313,229424590,229431657,229433383,229434819,229438736,229441640, 0 RAB4A unk unk -1,-1,-1,-1,-1,-1,-1,-1, 681 NR_073537 chr18 - 12661954 12702776 12702776 12702776 13 12661954,12673386,12674534,12678107,12680660,12686260,12691357,12695252,12697221,12698977,12699828,12700956,12702484, 12662168,12673502,12674752,12678441,12680827,12686449,12691486,12695350,12697407,12699202,12699899,12701112,12702776, 0 CEP76 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 175 NR_073003 chr7 + 107204401 107218968 107218968 107218968 7 107204401,107205032,107207494,107211589,107215632,107216810,107217757, 107204654,107205121,107207631,107211711,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1, 175 NR_073002 chr7 + 107204401 107218968 107218968 107218968 8 107204401,107205032,107207494,107211589,107214148,107215632,107216810,107217757, 107204692,107205121,107207631,107211711,107214328,107215755,107217037,107218968, 0 DUS4L unk unk -1,-1,-1,-1,-1,-1,-1,-1, 190 NR_073557 chr9 - 123151146 123342448 123342448 123342448 38 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123215733,123220727,123222849,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123216151,123220900,123223025,123230275,123232498,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 132 NM_001252078 chr12 + 62654120 62803501 62654195 62798155 22 62654120,62687959,62696570,62708570,62715244,62719652,62743001,62749111,62775270,62777620,62777858,62783210,62783384,62783576,62784643,62784936,62785595,62786051,62786832,62790074,62794966,62797972, 62654284,62688087,62696701,62708697,62715390,62719714,62743088,62749256,62775444,62777779,62778083,62783294,62783479,62783768,62784759,62785209,62785666,62786167,62786982,62790178,62795055,62803501, 0 USP15 cmpl cmpl 0,2,1,0,1,0,2,2,0,0,0,0,0,2,2,1,1,0,2,2,1,0, 611 NM_173660 chr4 + 3465032 3496209 3465102 3495228 7 3465032,3465232,3475132,3478068,3487265,3491403,3494485, 3465156,3465278,3475363,3478269,3487385,3491523,3496209, 0 DOK7 cmpl cmpl 0,0,1,1,1,1,1, 1727 NM_207360 chr6 - 149768765 149806148 149771818 149795679 6 149768765,149773751,149777801,149782966,149795374,149805948, 149772615,149773858,149778036,149783106,149795749,149806148, 0 ZC3H12D cmpl cmpl 1,2,1,2,0,-1, 811 NM_206812 chr6 + 29624757 29640149 29624986 29638962 7 29624757,29627095,29633928,29635419,29635680,29638477,29638948, 29625074,29627443,29634042,29635440,29635701,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1, 83 NM_207386 chr17 + 11144739 11467380 11144739 11461621 6 11144739,11166682,11282730,11455212,11459056,11461070, 11145377,11166843,11282826,11455269,11459209,11467380, 0 SHISA6 cmpl cmpl 0,2,1,1,1,1, 887 NR_073109 chr13 + 39612447 39624244 39624244 39624244 7 39612447,39613272,39613700,39616241,39618226,39621176,39621810, 39612602,39613425,39613848,39616442,39618318,39621289,39624244, 0 NHLRC3 unk unk -1,-1,-1,-1,-1,-1,-1, 1183 NR_103853 chr13 + 78393071 78482563 78482563 78482563 7 78393071,78402377,78403162,78404687,78407499,78407867,78481826, 78393145,78402550,78403237,78404738,78407562,78409125,78482563, 0 EDNRB-AS1 unk unk -1,-1,-1,-1,-1,-1,-1, 1776 NR_073610 chr1 - 156213111 156217908 156217908 156217908 7 156213111,156214551,156214932,156215325,156215572,156215913,156217747, 156214194,156214702,156215029,156215452,156215778,156216041,156217908, 0 PAQR6 unk unk -1,-1,-1,-1,-1,-1,-1, 864 NR_073098 chr1 - 36602169 36615115 36615115 36615115 2 36602169,36614937, 36602923,36615115, 0 TRAPPC3 unk unk -1,-1, 735 NR_073460 chr14 - 19670791 19681016 19681016 19681016 3 19670791,19678512,19680693, 19671105,19678600,19681016, 0 BMS1P17 unk unk -1,-1,-1, 736 NR_073460 chr14 + 19894368 19904572 19904572 19904572 3 19894368,19896784,19904258, 19894691,19896872,19904572, 0 BMS1P17 unk unk -1,-1,-1, 708 NR_073460 chr22 + 16162065 16172265 16172265 16172265 3 16162065,16164481,16171951, 16162388,16164569,16172265, 0 BMS1P17 unk unk -1,-1,-1, 1118 NM_001252150 chr14 + 69865384 69929107 69866086 69928419 7 69865384,69890810,69908785,69919957,69921528,69922448,69928413, 69866182,69890919,69908983,69920026,69921614,69922583,69929107, 0 SLC39A9 cmpl cmpl 0,0,1,1,1,0,0, 1341 NM_198046 chr10 + 99205887 99217127 99211432 99216648 12 99205887,99210113,99211427,99211846,99212171,99212651,99213286,99213555,99214470,99215416,99215730,99216533, 99206110,99210293,99211675,99212041,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,-1,0,0,0,2,1,0,0,2,0,2, 2371 NM_198890 chr2 + 234160216 234204320 234160473 234202996 14 234160216,234164747,234178647,234181611,234183321,234186213,234189750,234191327,234198499,234198893,234200773,234201032,234201901,234202902, 234160588,234164841,234178713,234181698,234183424,234186319,234189821,234191399,234198620,234198999,234200923,234201080,234202003,234204320, 0 ATG16L1 cmpl cmpl 0,1,2,2,2,0,1,0,0,1,2,2,2,2, 838 NM_001205265 chr16 + 33205584 33208179 33205614 33206717 2 33205584,33206646, 33205852,33208179, 0 TP53TG3B cmpl cmpl 0,1, 144 NM_001278245 chr9 - 74966340 74979508 74970868 74975694 7 74966340,74971846,74974333,74975025,74975543,74978385,74979377, 74971017,74971972,74974437,74975137,74975700,74978522,74979508, 0 ZFAND5 cmpl cmpl 1,1,2,1,0,-1,-1, 1573 NR_104173 chr12 + 129594234 129597843 129597843 129597843 3 129594234,129595537,129597609, 129594302,129595684,129597843, 0 RP11-669N7.2 unk unk -1,-1,-1, 1573 NR_104172 chr12 + 129594234 129597843 129597843 129597843 4 129594234,129595537,129595964,129597609, 129594302,129595684,129596060,129597843, 0 RP11-669N7.2 unk unk -1,-1,-1,-1, 915 NR_104171 chr1 + 43323292 43354463 43354463 43354463 4 43323292,43335755,43346024,43352342, 43323379,43335832,43346104,43354463, 0 LOC339539 unk unk -1,-1,-1,-1, 1379 NM_001270965 chr10 - 104162373 104179691 104162956 104176795 18 104162373,104163598,104164339,104164654,104164939,104165102,104166979,104170614,104170814,104171463,104171903,104172137,104173525,104174619,104175773,104176141,104178457,104179630, 104163187,104163742,104164484,104164812,104165010,104165293,104167023,104170704,104170873,104171576,104171984,104172332,104173954,104174986,104175876,104176878,104178516,104179691, 0 PSD cmpl cmpl 0,0,2,0,1,2,0,0,1,2,2,2,2,1,0,0,-1,-1, 146 NM_001256469 chr10 + 76586170 76792380 76602615 76790804 18 76586170,76598440,76602357,76719727,76729417,76729777,76732264,76735156,76737073,76738981,76741544,76744837,76748776,76780339,76780883,76781638,76784715,76788246, 76586543,76598510,76603236,76719836,76729533,76729859,76732397,76735212,76737195,76739097,76741686,76744999,76748870,76780571,76781043,76781989,76785007,76792380, 0 KAT6B cmpl cmpl -1,-1,0,0,1,0,1,2,1,0,2,0,0,1,2,0,0,1, 240 NM_001278127 chr4 + 175839508 175899331 175896676 175899139 2 175839508,175896496, 175839622,175899331, 0 ADAM29 cmpl cmpl -1,0, 240 NM_001278125 chr4 + 175839508 175899331 175896676 175899139 6 175839508,175840080,175841837,175852136,175858083,175896496, 175839622,175840141,175841943,175852325,175858164,175899331, 0 ADAM29 cmpl cmpl -1,-1,-1,-1,-1,0, 612 NR_075083 chr16 - 3589035 3627392 3627392 3627392 21 3589035,3592190,3592691,3593424,3594245,3598134,3598669,3599141,3599696,3600413,3602195,3604242,3605781,3606911,3607593,3611702,3613009,3614859,3615319,3617243,3627149, 3591915,3592274,3592775,3593508,3594329,3598218,3598753,3599225,3599780,3600497,3602280,3604326,3605917,3606995,3607677,3611789,3614759,3615061,3615381,3617386,3627392, 0 NLRC3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1249 NR_047469 chr3 + 87138429 87147852 87147852 87147852 2 87138429,87143880, 87138757,87147852, 0 LINC00506 unk unk -1,-1, 156 NR_104153 chr3 + 87138429 87206219 87206219 87206219 3 87138429,87203487,87205941, 87138757,87203549,87206219, 0 LINC00506 unk unk -1,-1,-1, 10 NM_198516 chr11 - 11292420 11643561 11292690 11643140 11 11292420,11314575,11348632,11354240,11362365,11394061,11398728,11400627,11454167,11470290,11642905, 11292837,11314740,11348728,11354378,11362551,11394176,11398926,11400811,11454334,11470483,11643561, 0 GALNT18 cmpl cmpl 0,0,0,0,0,2,2,1,2,1,0, 1320 NM_001256644 chr12 - 96394530 96437298 96396773 96437153 18 96394530,96396737,96400091,96402871,96406965,96407527,96408632,96409360,96410821,96411334,96412540,96412945,96414862,96415924,96418256,96421221,96422832,96437066, 96394884,96396842,96400187,96402926,96407036,96407631,96408777,96409472,96410892,96411358,96412681,96413018,96414915,96416029,96418325,96421342,96422963,96437298, 0 LTA4H cmpl cmpl -1,0,0,2,0,1,0,2,0,0,0,2,0,0,0,2,0,0, 1320 NM_001256643 chr12 - 96394530 96437298 96394766 96437153 19 96394530,96396737,96397615,96400091,96402871,96406965,96407527,96408632,96409360,96410821,96411334,96412540,96412945,96414862,96415924,96418256,96421221,96422832,96437066, 96394884,96396842,96397698,96400187,96402926,96407036,96407631,96408777,96409472,96410892,96411358,96412681,96413018,96414915,96416029,96418325,96421342,96422963,96437298, 0 LTA4H cmpl cmpl 2,2,0,0,2,0,1,0,2,0,0,0,2,0,0,0,2,0,0, 748 NM_001256588 chr14 + 21467413 21470034 21467605 21468291 4 21467413,21467900,21468279,21469105, 21467720,21468031,21468325,21470034, 0 SLC39A2 cmpl cmpl 0,1,0,-1, 885 NR_104187 chr22 - 39387563 39394225 39394225 39394225 5 39387563,39388402,39388942,39393485,39394090, 39387623,39388586,39389008,39393742,39394225, 0 APOBEC3B-AS1 unk unk -1,-1,-1,-1,-1, 1471 NM_001172895 chr7 + 116165062 116201239 116166641 116199341 3 116165062,116166578,116198999, 116165859,116166743,116201239, 0 CAV1 cmpl cmpl -1,0,0, 146 NM_001256468 chr10 + 76586170 76792380 76602615 76790804 18 76586170,76598440,76602357,76719727,76729417,76729777,76732264,76735156,76737073,76738981,76741544,76744837,76748776,76780339,76780883,76781638,76784715,76788246, 76586543,76598510,76603236,76719836,76729533,76729859,76732397,76735539,76737195,76739097,76741686,76744999,76748870,76780571,76781043,76781989,76785007,76792380, 0 KAT6B cmpl cmpl -1,-1,0,0,1,0,1,2,1,0,2,0,0,1,2,0,0,1, 111 NM_001278364 chr4 + 40194586 40246384 40245006 40245582 5 40194586,40198740,40236796,40244333,40244797, 40194743,40198920,40236978,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,-1,0, 111 NM_001278362 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40202131,40244333,40244797, 40198920,40202185,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 111 NM_001278360 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40219766,40244333,40244797, 40198920,40219918,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 111 NM_001278359 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40236812,40244333,40244797, 40198920,40236978,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 1150 NM_001243237 chr8 - 74153658 74171737 74153691 74171693 4 74153658,74162502,74169207,74171566, 74153840,74162558,74169361,74171737, 0 LOC100130301 cmpl cmpl 1,2,1,0, 1926 NM_001256540 chr5 - 175810939 175815763 175810966 175815540 5 175810939,175812221,175813840,175815235,175815433, 175811284,175812328,175813910,175815344,175815763, 0 NOP16 cmpl cmpl 0,1,0,2,0, 1090 NM_001256670 chr11 + 66247483 66277130 66249671 66276722 17 66247483,66249666,66254010,66254738,66255384,66258723,66258964,66259168,66260186,66260537,66261011,66262676,66262835,66263100,66264768,66272082,66276549, 66247936,66249941,66254148,66254813,66255478,66258854,66259095,66259227,66260381,66260650,66261104,66262739,66262960,66263221,66264948,66272245,66277130, 0 DPP3 cmpl cmpl -1,0,0,0,0,1,0,2,1,1,0,0,0,2,0,0,1, 26 NM_001024678 chr8 - 145747760 145752416 145747858 145750358 5 145747760,145749493,145749824,145750199,145752343, 145748793,145749662,145750103,145750417,145752416, 0 LRRC24 cmpl cmpl 1,0,0,0,-1, 18 NM_001029851 chr5 + 76506705 76724080 76506750 76722379 19 76506705,76607818,76621363,76624822,76627226,76633051,76640677,76696072,76700544,76703205,76704717,76707500,76707924,76708935,76714053,76715591,76717645,76721591,76722269, 76507089,76607878,76621554,76624882,76627284,76633140,76640756,76696115,76700622,76703282,76704882,76707546,76708060,76709134,76714271,76715712,76717813,76721721,76724080, 0 PDE8B cmpl cmpl 0,0,0,2,2,0,2,0,1,1,0,0,1,2,0,2,0,0,1, 1209 NM_001012973 chr10 + 81892257 81904784 81892518 81904666 4 81892257,81901837,81903978,81904655, 81892582,81901935,81904099,81904784, 0 PLAC9 cmpl cmpl 0,1,0,1, 1027 NM_001024596 chr19 - 57980953 57988938 57984641 57988677 5 57980953,57986391,57987027,57988001,57988644, 57985789,57986514,57987154,57988040,57988938, 0 ZNF772 cmpl cmpl 1,1,0,0,0, 1580 NM_001012502 chr9 + 130469270 130476303 130469310 130476184 9 130469270,130471700,130472879,130473507,130474098,130474477,130474987,130475298,130476112, 130469471,130471972,130473033,130473775,130474229,130474628,130475154,130475485,130476303, 0 C9orf117 cmpl cmpl 0,2,1,2,0,2,0,2,0, 195 NM_001012454 chr7 + 128312319 128323377 128312451 128323213 5 128312319,128315701,128317617,128320084,128323017, 128312604,128315913,128317867,128320203,128323377, 0 FAM71F2 cmpl cmpl 0,0,2,0,2, 1760 NM_001007524 chrX + 154114649 154115765 154114649 154115765 1 154114649, 154115765, 0 F8A3 cmpl cmpl 0, 1764 NM_001007524 chrX + 154611763 154612879 154611763 154612879 1 154611763, 154612879, 0 F8A3 cmpl cmpl 0, 1765 NM_001007524 chrX - 154687145 154688261 154687145 154688261 1 154687145, 154688261, 0 F8A3 cmpl cmpl 0, 200 NM_001033503 chr5 - 133936838 133968533 133942639 133959709 8 133936838,133944061,133945260,133948380,133956622,133959651,133967766,133968417, 133942756,133944193,133945364,133948446,133956742,133959727,133967885,133968533, 0 SAR1B cmpl cmpl 0,0,1,1,1,0,-1,-1, 1618 NM_001127387 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L7 cmpl cmpl 0,0, 150 NM_001080532 chr15 - 81624759 81666418 81624759 81666418 22 81624759,81627060,81628949,81630182,81630995,81631734,81633730,81635618,81636257,81637106,81638705,81641798,81644034,81648065,81648787,81650489,81650742,81651705,81654560,81660593,81664931,81666329, 81625603,81627316,81628988,81630265,81631121,81631845,81633859,81635686,81636386,81637352,81638784,81641908,81644182,81648109,81648935,81650632,81650841,81651812,81654642,81660669,81665078,81666418, 0 TMC3 cmpl cmpl 2,1,1,2,2,2,2,0,0,0,2,0,2,0,2,0,0,1,0,2,2,0, 1078 NM_001010888 chrX + 64708614 64727767 64708681 64723089 5 64708614,64717011,64718878,64719762,64721668, 64709289,64717151,64719113,64719869,64727767, 0 ZC3H12B cmpl cmpl 0,2,1,2,1, 726 NM_001261383 chr11 - 18552949 18610293 18554018 18610201 10 18552949,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18600270,18610159, 18554034,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18600355,18610293, 0 UEVLD cmpl cmpl 2,1,1,1,0,1,0,1,0,0, 1154 NM_001015056 chr2 - 74652987 74667710 74653369 74659754 12 74652987,74654295,74654550,74655394,74655757,74655974,74656954,74657378,74657591,74657742,74659593,74667479, 74653701,74654400,74654719,74655523,74655864,74656069,74657164,74657496,74657645,74657804,74659793,74667710, 0 RTKN cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,-1, 1154 NM_001015055 chr2 - 74652987 74669060 74653369 74668943 12 74652987,74654295,74654550,74655394,74655757,74655974,74656954,74657378,74657591,74657742,74659593,74668832, 74653701,74654400,74654719,74655523,74655864,74656069,74657164,74657496,74657645,74657804,74659793,74669060, 0 RTKN cmpl cmpl 1,1,0,0,1,2,2,1,1,2,0,0, 113 NM_001002876 chr22 - 42334740 42343148 42335186 42343080 5 42334740,42341228,42341916,42342420,42343023, 42335200,42341308,42342009,42342500,42343148, 0 CENPM cmpl cmpl 1,2,2,0,0, 1699 NM_001109689 chr8 - 146102335 146126846 146106899 146115734 6 146102335,146112224,146114965,146115317,146115692,146126783, 146108221,146112287,146115079,146115444,146115788,146126846, 0 ZNF250 cmpl cmpl 1,1,1,0,0,-1, 838 NM_001099687 chr16 + 33205584 33208179 33205614 33207160 2 33205584,33207147, 33205976,33208179, 0 TP53TG3B cmpl cmpl 0,2, 838 NM_001099687 chr16 + 33262119 33264719 33262149 33263695 2 33262119,33263682, 33262511,33264719, 0 TP53TG3B cmpl cmpl 0,2, 108 NM_001014286 chr13 - 37583450 37633850 37583808 37625627 26 37583450,37584688,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633695, 37583946,37584792,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619510,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 0,1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 82 NM_001012329 chr1 - 9908333 9970316 9910775 9932122 5 9908333,9931244,9932026,9937962,9970152, 9910834,9931335,9932146,9938047,9970316, 0 CTNNBIP1 cmpl cmpl 1,0,0,-1,-1, 955 NM_019855 chr19 - 48532639 48547311 48533813 48547179 6 48532639,48537471,48542464,48543861,48544829,48547116, 48533839,48537619,48542574,48544005,48544860,48547311, 0 CABP5 cmpl cmpl 1,0,1,1,0,0, 106 NM_015430 chr11 - 35453375 35547579 35453903 35547133 12 35453375,35456059,35457450,35461174,35463028,35473435,35489548,35492148,35496177,35513592,35515643,35547060, 35454440,35456352,35457683,35461241,35463241,35473486,35489656,35492366,35496292,35513721,35515820,35547579, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,1,2,1,1,1,0, 1075 NM_001271639 chr7 + 64254765 64294059 64254946 64292580 4 64254765,64275295,64275953,64291828, 64254949,64275422,64276031,64294059, 0 ZNF138 cmpl cmpl 0,0,1,1, 156 NR_039994 chr5 + 87564832 87732491 87732491 87732491 4 87564832,87566342,87705889,87732089, 87564936,87566402,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1,-1, 210 NM_015117 chr8 - 144519824 144623620 144520225 144623591 12 144519824,144522210,144523105,144547886,144550378,144550551,144550786,144557567,144589915,144618426,144620172,144623545, 144520257,144522533,144523290,144548018,144550448,144550710,144550829,144557755,144590069,144618623,144621490,144623620, 0 ZC3H3 cmpl cmpl 1,2,0,0,2,2,1,2,1,2,1,0, 1368 NM_206915 chrX + 102631250 102633092 102632419 102632755 3 102631250,102631955,102632390, 102631541,102632034,102633092, 0 NGFRAP1 cmpl cmpl -1,-1,0, 1368 NM_206917 chrX + 102631250 102633092 102632449 102632755 3 102631250,102631955,102632437, 102631541,102632034,102633092, 0 NGFRAP1 cmpl cmpl -1,-1,0, 1368 NM_014380 chrX + 102632108 102633092 102632419 102632755 1 102632108, 102633092, 0 NGFRAP1 cmpl cmpl 0, 1486 NM_001172814 chr8 + 118147336 118188953 118159268 118184920 9 118147336,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 118147637,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,0,1,1,2,0,1,1, 185 NM_001172811 chr8 + 117962511 118188953 118159268 118184920 10 117962511,117963257,118159057,118159192,118165182,118169929,118173976,118175663,118183272,118184774, 117962624,117963358,118159087,118159392,118165329,118170083,118174127,118175769,118183407,118188953, 0 SLC30A8 cmpl cmpl -1,-1,-1,0,1,1,2,0,1,1, 1189 NM_001037984 chr17 - 79218610 79269139 79219355 79268721 16 79218610,79220684,79225292,79225994,79226872,79234037,79244717,79246315,79249768,79250830,79254408,79255988,79257208,79258649,79263490,79268622, 79220473,79220861,79225412,79226483,79227040,79234194,79244824,79246427,79249951,79250933,79254533,79256132,79257302,79258695,79263608,79269139, 0 SLC38A10 cmpl cmpl 1,1,1,1,1,0,1,0,0,2,0,0,2,1,0,0, 2042 NM_001164467 chr4 + 191008762 191010142 191008859 191010134 1 191008762, 191010142, 0 DUX4L3 cmpl cmpl 0, 1618 NM_001164467 chr10 + 135480557 135485241 135480654 135485233 2 135480557,135484981, 135481677,135485241, 0 DUX4L3 cmpl cmpl 0,0, 1729 NM_001099695 chr7 + 150065878 150071133 150066800 150070034 3 150065878,150066759,150068316, 150066030,150066957,150071133, 0 REPIN1 cmpl cmpl -1,0,1, 1618 NM_001164467 chr10 + 135487176 135491849 135487273 135491841 2 135487176,135491589, 135488296,135491849, 0 DUX4L3 cmpl cmpl 0,0, 795 NR_038427 chr2 + 27558408 27560670 27560670 27560670 4 27558408,27559158,27560077,27560303, 27558587,27559337,27560193,27560670, 0 AC109828.1 unk unk -1,-1,-1,-1, 1319 NR_046232 chr8 - 96219234 96228602 96228602 96228602 3 96219234,96220646,96228545, 96219536,96220806,96228602, 0 C8orf69 unk unk -1,-1,-1, 22 NM_198721 chr4 - 109731876 110223799 109735082 110223175 37 109731876,109738552,109740407,109745329,109746351,109748290,109753535,109762850,109765674,109766344,109767294,109769914,109773391,109774057,109780811,109782082,109783656,109784474,109790243,109805333,109810376,109810856,109817822,109820309,109822274,109839327,109841733,109858963,109861694,109862521,109895522,109895688,109931513,109971282,110221738,110222878,110223324, 109735085,109738591,109740485,109745383,109746378,109748344,109753589,109762877,109765725,109766407,109767375,109769959,109773436,109774081,109780889,109782127,109783701,109784543,109790306,109805378,109810412,109810889,109817867,109820336,109822328,109839372,109841760,109858999,109861802,109862593,109895549,109895715,109931531,109971335,110221808,110223231,110223799, 0 COL25A1 cmpl cmpl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,-1, 655 NM_001256863 chr4 + 9269344 9270937 9269344 9270937 1 9269344, 9270937, 0 USP17L22 cmpl cmpl 0, 655 NM_001256861 chr4 + 9217130 9218723 9217130 9218723 1 9217130, 9218723, 0 USP17L20 cmpl cmpl 0, 655 NM_001256861 chr4 + 9259849 9261442 9259849 9261442 1 9259849, 9261442, 0 USP17L20 cmpl cmpl 0, 655 NM_001256861 chr4 + 9269344 9270937 9269344 9270937 1 9269344, 9270937, 0 USP17L20 cmpl cmpl 0, 724 NM_001282734 chr10 + 18240767 18332221 18250650 18331762 12 18240767,18250509,18254411,18266830,18270240,18276407,18280079,18282109,18284584,18289595,18292099,18331633, 18240954,18250791,18254619,18267003,18270412,18276580,18280232,18282220,18284651,18289754,18292287,18332221, 0 SLC39A12 cmpl cmpl -1,0,0,1,0,1,0,0,0,1,1,0, 797 NM_001282731 chr2 - 27873675 27886707 27876351 27884263 6 27873675,27878231,27880211,27883850,27885045,27886195, 27876614,27878469,27880536,27884310,27885148,27886707, 0 SUPT7L cmpl cmpl 1,0,2,0,-1,-1, 2042 NM_001164467 chr4 + 191005469 191006849 191005566 191006841 1 191005469, 191006849, 0 DUX4L3 cmpl cmpl 0, 2042 NM_001164467 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4L3 cmpl cmpl 0, 928 NM_173179 chr20 - 44978166 44993097 44979032 44987145 10 44978166,44979399,44980689,44983520,44983711,44984440,44985212,44986261,44987025,44993009, 44979163,44979529,44980865,44983604,44983880,44984513,44985276,44986412,44987597,44993097, 0 SLC35C2 cmpl cmpl 1,0,1,1,0,2,1,0,0,-1, 655 NM_001256857 chr4 + 9245604 9247197 9245604 9247197 1 9245604, 9247197, 0 USP17L17 cmpl cmpl 0, 655 NM_001256855 chr4 + 9226621 9228214 9226621 9228214 1 9226621, 9228214, 0 USP17L13 cmpl cmpl 0, 9 NM_001256828 chr17 - 1963132 2140141 1964785 2139930 11 1963132,1968366,1968761,1972071,1985103,1989018,2075951,2089956,2091692,2139785,2140090, 1964916,1968448,1968973,1972225,1985250,1989195,2076153,2090125,2091809,2139931,2140141, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,2,1,1,0,-1, 9 NM_001256827 chr17 - 1963132 2169493 1964785 2139930 12 1963132,1968366,1968761,1972071,1985103,1989018,2075951,2089956,2091692,2139785,2147951,2169261, 1964916,1968448,1968973,1972225,1985250,1989195,2076153,2090125,2091809,2139931,2148013,2169493, 0 SMG6 cmpl cmpl 1,0,1,0,0,0,2,1,1,0,-1,-1, 954 NM_001256964 chr3 - 48473579 48481529 48473817 48476538 4 48473579,48475116,48476226,48481397, 48474576,48475281,48476546,48481529, 0 CCDC51 cmpl cmpl 0,0,0,-1, 656 NM_001256867 chr4 + 9345873 9347466 9345873 9347466 1 9345873, 9347466, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9350618 9352211 9350618 9352211 1 9350618, 9352211, 0 USP17L30 cmpl cmpl 0, 656 NM_001256867 chr4 + 9355363 9356956 9355363 9356956 1 9355363, 9356956, 0 USP17L30 cmpl cmpl 0, 1492 NM_001164278 chr11 - 118895060 118901616 118895619 118900079 12 118895060,118895900,118896401,118896676,118897312,118897646,118898337,118898436,118898903,118899931,118901257,118901558, 118895786,118896039,118896467,118896790,118897398,118897805,118898435,118898582,118899136,118900274,118901445,118901616, 0 SLC37A4 cmpl cmpl 1,0,0,0,1,1,2,0,1,0,-1,-1, 979 NM_001243727 chr3 + 51705190 51738339 51708320 51738032 4 51705190,51708286,51733421,51737739, 51705304,51708578,51733590,51738339, 0 TEX264 cmpl cmpl -1,0,0,1, 1379 NR_036106 chr8 + 104166841 104166917 104166917 104166917 1 104166841, 104166917, 0 MIR3151 unk unk -1, 791 NR_036096 chr6 + 27115404 27115467 27115467 27115467 1 27115404, 27115467, 0 MIR3143 unk unk -1, 157 NM_001286717 chr9 - 88161453 88356944 88162023 88356877 25 88161453,88190229,88193834,88200377,88201745,88203212,88204442,88207474,88211276,88233897,88234129,88236116,88247576,88257741,88261235,88270057,88272349,88275850,88284399,88287464,88292350,88293249,88296182,88307603,88356689, 88162201,88190390,88194011,88200509,88201875,88203393,88204596,88207619,88211364,88234046,88234216,88236200,88248289,88257858,88261333,88270115,88272558,88275888,88284493,88287596,88292497,88293313,88296250,88307728,88356944, 0 AGTPBP1 cmpl cmpl 2,0,0,0,2,1,0,2,1,2,2,2,0,0,1,0,1,2,1,1,1,0,1,2,0, 1194 NM_001282281 chr17 - 79890261 79895115 79891089 79895089 8 79890261,79892201,79892528,79892801,79893212,79893998,79894623,79895055, 79891252,79892365,79892621,79893023,79893392,79894069,79894737,79895115, 0 PYCR1 cmpl cmpl 2,0,0,0,0,1,1,0, 1194 NM_001282280 chr17 - 79890261 79895204 79891089 79894690 8 79890261,79892201,79892528,79892801,79893212,79893998,79894623,79895137, 79891252,79892365,79892621,79893023,79893392,79894069,79894737,79895204, 0 PYCR1 cmpl cmpl 2,0,0,0,0,1,0,-1, 1194 NM_001282279 chr17 - 79890261 79895204 79891089 79894690 7 79890261,79892201,79892801,79893212,79893998,79894623,79895137, 79891252,79892365,79893023,79893392,79894069,79894737,79895204, 0 PYCR1 cmpl cmpl 2,0,0,0,1,0,-1, 823 NM_001243042 chr6 - 31236525 31239913 31236945 31239848 8 31236525,31237114,31237269,31237742,31237986,31238849,31239375,31239775, 31236950,31237162,31237302,31237862,31238262,31239125,31239645,31239913, 0 HLA-C cmpl cmpl 1,1,1,1,1,1,1,0, 1155 NM_013247 chr2 + 74756531 74760683 74757133 74760112 8 74756531,74757743,74758037,74758465,74758723,74758982,74759745,74759946, 74757639,74757948,74758232,74758498,74758829,74759052,74759841,74760683, 0 HTRA2 cmpl cmpl 0,2,0,0,0,1,2,2, 157 NM_001286715 chr9 - 88161453 88356944 88162023 88356877 25 88161453,88190229,88193834,88200377,88201745,88203212,88204442,88207474,88211276,88233897,88234129,88236116,88247576,88257741,88261235,88270057,88272349,88275850,88284399,88287464,88292350,88293249,88296182,88307603,88356689, 88162201,88190390,88194011,88200509,88201875,88203393,88204596,88207619,88211364,88234046,88234216,88236200,88248289,88257858,88261333,88270235,88272558,88275888,88284493,88287596,88292497,88293313,88296250,88307728,88356944, 0 AGTPBP1 cmpl cmpl 2,0,0,0,2,1,0,2,1,2,2,2,0,0,1,0,1,2,1,1,1,0,1,2,0, 918 NM_001257334 chr18 - 43664109 43678319 43664247 43678197 12 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669854,43671647,43675018,43678137, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678319, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,1,0,0, 906 NR_033818 chr8 + 42128819 42190171 42190171 42190171 22 42128819,42129600,42146151,42147673,42150960,42162704,42163860,42166418,42171839,42173727,42174227,42175174,42176069,42176787,42177102,42178252,42179413,42179571,42179864,42183487,42186641,42188431, 42128987,42129723,42146246,42147791,42151086,42162793,42163950,42166543,42171947,42173857,42174422,42175289,42176193,42176939,42177164,42178362,42179463,42179671,42180012,42183615,42186732,42190171, 0 IKBKB unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 79 NM_001257325 chr11 - 6416353 6425921 6416763 6425852 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6425836, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6425921, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,1,0, 915 NR_034104 chr20 - 43285091 43300380 43300380 43300380 5 43285091,43287635,43288351,43291994,43300279, 43285692,43287822,43288419,43292194,43300380, 0 RP11-445H22.3 unk unk -1,-1,-1,-1,-1, 1286 NR_036108 chr9 + 91927139 91927221 91927221 91927221 1 91927139, 91927221, 0 MIR3153 unk unk -1, 88 NM_001258376 chr19 - 16511441 16582823 16513116 16582756 16 16511441,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 88 NM_001258375 chr19 - 16472388 16582823 16472777 16582756 22 16472388,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16472795,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 0,1,0,1,1,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 88 NM_001258374 chr19 - 16466054 16582823 16466515 16582756 24 16466054,16472589,16487932,16495939,16496981,16503114,16504761,16506154,16513131,16514543,16515398,16524583,16528362,16528758,16532129,16535893,16539512,16545175,16547747,16548580,16551672,16552702,16552988,16582723, 16466662,16472795,16488065,16496022,16497042,16503251,16504812,16506278,16513296,16514741,16515560,16524656,16528448,16528915,16532287,16536127,16539572,16545301,16547810,16548676,16551720,16552792,16553030,16582823, 0 EPS15L1 cmpl cmpl 0,1,0,1,0,1,1,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0, 119 NM_001258373 chr17 + 48624449 48633213 48625698 48633023 17 48624449,48625025,48625643,48625914,48626170,48626403,48626646,48627345,48627568,48627896,48628068,48628358,48628871,48629329,48631611,48632592,48632852, 48624646,48625128,48625814,48625979,48626325,48626547,48626848,48627476,48627673,48627971,48628278,48628551,48629040,48629541,48631811,48632673,48633213, 0 SPATA20 cmpl cmpl -1,-1,0,2,1,0,0,1,0,0,0,0,1,2,1,0,0, 119 NM_001258372 chr17 + 48624449 48633213 48624569 48633023 16 48624449,48625643,48625914,48626170,48626403,48626646,48627345,48627568,48627896,48628068,48628358,48628871,48629329,48631611,48632592,48632852, 48624646,48625814,48625979,48626325,48626547,48626848,48627476,48627673,48627971,48628278,48628551,48629040,48629541,48631811,48632673,48633213, 0 SPATA20 cmpl cmpl 0,2,2,1,0,0,1,0,0,0,0,1,2,1,0,0, 957 NM_017602 chrX - 48779302 48814893 48780450 48814832 9 48779302,48780909,48781127,48783122,48791736,48791968,48792226,48801450,48814238, 48780572,48781023,48781329,48783326,48791885,48792140,48792291,48801544,48814893, 0 OTUD5 cmpl cmpl 1,1,0,0,1,0,1,0,0, 132 NM_002394 chr11 + 62623483 62656355 62623741 62656165 12 62623483,62638216,62639048,62648490,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62623853,62638309,62639141,62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,1,1,1,0,0,2,0,0,0, 117 NM_001278390 chr12 - 46589507 46661770 46589909 46633583 17 46589507,46591502,46591701,46592407,46594880,46596792,46598083,46598314,46599862,46600937,46601311,46602836,46622935,46623346,46633461,46636982,46661007, 46590059,46591600,46591843,46592526,46594981,46596872,46598200,46598373,46599945,46601019,46601404,46602910,46623051,46623422,46633676,46637097,46661770, 0 SLC38A1 cmpl cmpl 0,1,0,1,2,0,0,1,2,1,1,2,0,2,0,-1,-1, 1004 NM_001258287 chr5 - 54921672 54988881 54922321 54987048 14 54921672,54923718,54929581,54931371,54941616,54948356,54952542,54960520,54965055,54965384,54965585,54968390,54987016,54988417, 54922487,54923808,54929730,54931485,54941723,54948551,54952602,54960691,54965149,54965448,54965707,54968523,54987120,54988881, 0 SLC38A9 cmpl cmpl 2,2,0,0,1,1,1,1,0,2,0,2,0,-1, 936 NM_181688 chr21 + 46057272 46058372 46057334 46058090 1 46057272, 46058372, 0 KRTAP10-10 cmpl cmpl 0, 828 NR_104191 chr6 - 31902250 31909501 31909501 31909501 3 31902250,31903116,31908961, 31902409,31903179,31909501, 0 LOC102060414 unk unk -1,-1,-1, 981 NM_001272062 chrX + 51927918 51935366 51929018 51935162 13 51927918,51929017,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 1933 NM_001271828 chr5 + 176730762 176733960 176730986 176733571 5 176730762,176731625,176732871,176733098,176733455, 176731078,176731851,176732985,176733177,176733960, 0 PRELID1 cmpl cmpl 0,2,0,0,1, 36 NM_001284216 chr2 - 230628552 230786725 230632269 230744795 39 230628552,230633331,230633946,230636234,230638812,230642030,230643148,230643591,230650472,230652220,230653513,230654326,230655839,230656581,230656868,230657688,230659894,230661306,230662405,230663590,230663998,230666967,230668286,230668714,230670445,230672423,230672967,230675595,230675851,230678585,230678948,230679814,230679988,230683079,230693908,230695471,230701563,230744697,230786595, 230632466,230633435,230634041,230636348,230638977,230642195,230643303,230643706,230650571,230652377,230653656,230654478,230655967,230656781,230656942,230657861,230660046,230661498,230662547,230663765,230664099,230667175,230668405,230668943,230670599,230672580,230673085,230675761,230675920,230678747,230679041,230679910,230680024,230683228,230694004,230695555,230701700,230744844,230786725, 0 TRIP12 cmpl cmpl 1,2,0,0,0,0,1,0,0,2,0,1,2,0,1,2,0,0,2,1,2,1,2,1,0,2,1,0,0,0,0,0,0,1,1,1,2,0,-1, 118 NM_025133 chr2 - 48034058 48115858 48035256 48066888 23 48034058,48035467,48036296,48036738,48037454,48040372,48040929,48045917,48046094,48047500,48049356,48050281,48059487,48059710,48059907,48060102,48061717,48061926,48063010,48065997,48066557,48066780,48115764, 48035386,48035566,48036405,48036846,48037565,48040516,48041006,48046003,48046217,48047595,48049442,48050499,48059625,48059817,48060019,48060209,48061850,48062010,48063140,48066142,48066639,48066908,48115858, 0 FBXO11 cmpl cmpl 2,2,1,1,1,1,2,0,0,1,2,0,0,1,0,1,0,0,2,1,0,0,-1, 1379 NM_001261403 chr10 + 104155352 104162286 104155716 104162133 22 104155352,104156009,104156205,104156481,104156660,104157058,104157283,104157737,104157968,104158141,104158495,104159044,104159333,104159836,104160034,104160411,104160703,104160936,104161205,104161501,104161804,104162011, 104155737,104156091,104156246,104156580,104156812,104157165,104157442,104157842,104158054,104158280,104158621,104159254,104159475,104159951,104160248,104160581,104160806,104161088,104161275,104161674,104161916,104162286, 0 NFKB2 cmpl cmpl 0,0,1,0,0,2,1,1,1,0,1,1,1,2,0,1,0,1,0,1,0,1, 1302 NM_001261410 chr1 - 94027342 94079702 94027797 94079487 10 94027342,94032835,94033296,94037226,94041570,94047857,94049574,94054533,94057821,94079403, 94027976,94033048,94033408,94037398,94041686,94048510,94049678,94054976,94057950,94079702, 0 BCAR3 cmpl cmpl 1,1,0,2,0,1,2,0,0,0, 1265 NM_174917 chr16 + 89160216 89222254 89167089 89220615 11 89160216,89164998,89167069,89169011,89178499,89180746,89187208,89199543,89211674,89212345,89220497, 89160400,89165171,89167755,89169167,89178654,89180895,89187321,89199670,89211809,89212457,89222254, 0 ACSF3 cmpl cmpl -1,-1,0,0,0,2,1,0,1,1,2, 799 NR_103448 chr6 + 28129538 28137373 28137373 28137373 5 28129538,28130357,28132526,28134278,28137179, 28129599,28130544,28132679,28135332,28137373, 0 ZNF192P1 unk unk -1,-1,-1,-1,-1, 1265 NR_045667 chr16 + 89202955 89222254 89222254 89222254 5 89202955,89207474,89211674,89212345,89220497, 89203237,89207684,89211809,89212457,89222254, 0 ACSF3 unk unk -1,-1,-1,-1,-1, 933 NM_001281768 chr7 + 45613738 45704271 45632393 45703974 10 45613738,45614487,45632357,45649977,45662230,45688268,45697325,45699640,45701657,45703887, 45613787,45614781,45632507,45650096,45662342,45688396,45697484,45699782,45701813,45704271, 0 ADCY1 cmpl cmpl -1,-1,0,0,2,0,2,2,0,0, 295 NR_103495 chr2 + 233562014 233601358 233601358 233601358 5 233562014,233565294,233568133,233599864,233600472, 233562102,233565364,233568199,233599948,233601358, 0 GIGYF2 unk unk -1,-1,-1,-1,-1, 295 NR_103493 chr2 + 233562014 233601358 233601358 233601358 7 233562014,233565294,233568133,233589283,233595831,233599864,233600472, 233562102,233565364,233568199,233589401,233595944,233599948,233601358, 0 GIGYF2 unk unk -1,-1,-1,-1,-1,-1,-1, 295 NR_103492 chr2 + 233599126 233725287 233725287 233725287 27 233599126,233599864,233612324,233613696,233620932,233625189,233626105,233651859,233655407,233655717,233655967,233659457,233660771,233671200,233674429,233675953,233677100,233680346,233681580,233684536,233697566,233704558,233708755,233709078,233712057,233714971,233721502, 233599196,233599948,233612454,233613792,233621044,233625301,233626146,233652039,233655625,233655880,233656156,233659654,233660931,233671367,233674521,233676061,233677201,233680447,233681742,233684695,233697803,233704681,233708965,233709284,233712281,233715119,233725287, 0 GIGYF2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 979 NR_103462 chr3 + 51705642 51738339 51738339 51738339 4 51705642,51718428,51733421,51737739, 51705719,51718650,51733590,51738339, 0 TEX264 unk unk -1,-1,-1,-1, 738 NM_001278640 chr22 + 20104946 20114880 20105172 20114575 6 20104946,20106535,20109786,20112830,20113825,20114477, 20105187,20106672,20109944,20112959,20113891,20114880, 0 RANBP1 cmpl cmpl 0,0,2,1,1,1, 1267 NM_153696 chr11 + 89392464 89431886 89402576 89431767 14 89392464,89395317,89402572,89403557,89405054,89407254,89409272,89413776,89420514,89421751,89424049,89424614,89429800,89431577, 89392892,89395411,89402671,89403643,89405174,89407337,89409336,89413844,89420606,89421842,89424314,89424696,89429893,89431886, 0 FOLH1B cmpl cmpl -1,-1,0,2,1,1,0,1,0,2,0,1,2,2, 89 NM_001267552 chr17 - 17408876 17495017 17409147 17494940 8 17408876,17409540,17410482,17412747,17415822,17425593,17480233,17494844, 17409162,17409615,17410513,17412859,17415968,17425709,17480341,17495017, 0 PEMT cmpl cmpl 0,0,2,1,2,0,0,0, 89 NM_001267551 chr17 - 17408876 17495017 17409104 17494940 7 17408876,17409540,17412747,17415822,17425593,17480233,17494910, 17409162,17409615,17412859,17415968,17425709,17480341,17495017, 0 PEMT cmpl cmpl 2,2,1,2,0,0,0, 1060 NM_001267549 chr20 - 62329994 62339365 62331949 62338443 7 62329994,62333181,62333487,62337708,62338002,62338350,62339218, 62332054,62333252,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 cmpl cmpl 0,1,0,1,0,0,-1, 1060 NM_001267547 chr20 - 62329994 62339365 62331794 62338443 8 62329994,62331953,62333181,62333487,62337708,62338002,62338350,62339218, 62331882,62332054,62333252,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 cmpl cmpl 2,0,1,0,1,0,0,-1, 893 NR_109896 chr1 + 40420783 40435640 40435640 40435640 12 40420783,40422758,40424372,40430882,40431142,40431528,40432272,40432482,40432757,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40434149,40434417,40435640, 0 MFSD2A unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 608 NM_001284512 chr16 + 3019245 3023490 3019675 3021949 2 3019245,3021515, 3019841,3023490, 0 PAQR4 cmpl cmpl 0,1, 1060 NM_001267545 chr20 - 62329994 62339365 62332034 62338443 6 62329994,62333487,62337708,62338002,62338350,62339218, 62332054,62333569,62337791,62338090,62338444,62339365, 0 ARFRP1 cmpl cmpl 1,0,1,0,0,-1, 1060 NM_001267544 chr20 - 62329994 62339365 62332034 62338443 7 62329994,62333181,62333487,62337708,62338002,62338350,62339218, 62332054,62333250,62333569,62337791,62338090,62338449,62339365, 0 ARFRP1 cmpl cmpl 1,1,0,1,0,0,-1, 608 NM_001284513 chr16 + 3019342 3023490 3021192 3021949 3 3019342,3021157,3021515, 3019444,3021379,3023490, 0 PAQR4 cmpl cmpl -1,0,1, 2135 NM_001256125 chr1 - 203185206 203198860 203186016 203198764 10 203185206,203186866,203188343,203188791,203191329,203192262,203192622,203194796,203197660,203198739, 203186261,203186993,203188457,203188977,203191453,203192387,203192788,203194998,203197690,203198860, 0 CHIT1 cmpl cmpl 1,0,0,0,2,0,2,1,1,0, 942 NM_001256128 chr1 + 46806849 46830824 46810526 46827518 6 46806849,46810472,46812592,46818539,46826375,46827241, 46807169,46810816,46812747,46818700,46826500,46830824, 0 NSUN4 cmpl cmpl -1,0,2,1,0,2, 74 NM_001267713 chrY + 1405508 1451582 1410658 1451358 10 1405508,1410620,1420992,1421214,1425113,1427753,1434030,1447551,1449915,1451283, 1405819,1410722,1421125,1421399,1425229,1427780,1434145,1447657,1449997,1451582, 0 IL3RA cmpl cmpl -1,0,1,2,1,0,0,1,2,0, 596 NM_001267713 chrX + 1455508 1501582 1460658 1501358 10 1455508,1460620,1470992,1471214,1475113,1477753,1484030,1497551,1499915,1501283, 1455819,1460722,1471125,1471399,1475229,1477780,1484145,1497657,1499997,1501582, 0 IL3RA cmpl cmpl -1,0,1,2,1,0,0,1,2,0, 964 NM_001272102 chrX + 49687224 49807150 49689908 49807103 4 49687224,49688015,49689780,49806924, 49687402,49688091,49689924,49807150, 0 CLCN5 cmpl cmpl -1,-1,0,1, 153 NM_001272075 chr16 + 84733554 84813527 84738433 84812688 15 84733554,84738345,84767040,84773914,84778238,84792321,84792968,84793496,84793777,84796594,84797691,84801798,84806146,84808765,84812500, 84733717,84738466,84767109,84773975,84779279,84792413,84793078,84793552,84793881,84796694,84797869,84801964,84806291,84808831,84813527, 0 USP10 cmpl cmpl -1,0,0,0,1,1,0,2,1,0,1,2,0,1,1, 955 NM_001272068 chr3 - 48509196 48541483 48510505 48538709 7 48509196,48510759,48511126,48520585,48538569,48540527,48541153, 48510585,48510972,48511242,48520666,48538726,48540626,48541483, 0 SHISA5 cmpl cmpl 1,1,2,2,0,-1,-1, 955 NM_001272067 chr3 - 48509196 48542247 48510505 48538709 6 48509196,48510759,48511126,48520585,48538569,48541855, 48510585,48510972,48511242,48520666,48538726,48542247, 0 SHISA5 cmpl cmpl 1,1,2,2,0,-1, 955 NM_001272065 chr3 - 48509196 48541682 48510505 48541527 6 48509196,48510759,48511126,48520585,48538590,48541451, 48510585,48510972,48511242,48520666,48538726,48541682, 0 SHISA5 cmpl cmpl 1,1,2,2,1,0, 980 NM_001272063 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811299,51812368, 0 MAGED4 cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 981 NM_001272063 chrX + 51927918 51935366 51929018 51935162 13 51927918,51928987,51929492,51930737,51931044,51931301,51931769,51932482,51932647,51933081,51934089,51934526,51935152, 51928061,51929228,51930326,51930941,51931108,51931381,51931861,51932562,51932690,51933144,51934204,51934957,51935366, 0 MAGED4 cmpl cmpl -1,0,0,0,0,1,0,2,1,2,2,0,2, 120 NR_103528 chr13 + 49550744 49783915 49783915 49783915 26 49550744,49580287,49649424,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49551053,49580425,49649500,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765245,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 633 NM_001285400 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330076,6330377,6331826,6337352,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 633 NM_001285399 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330076,6330377,6331826,6337382,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 633 NM_001285403 chr17 - 6329371 6338519 6329905 6338424 5 6329371,6330200,6331637,6337238,6338328, 6330076,6330353,6331826,6337418,6338519, 0 AIPL1 cmpl cmpl 0,0,0,0,0, 633 NM_001285401 chr17 - 6327056 6338519 6328779 6338424 6 6327056,6329934,6330200,6331637,6337238,6338328, 6329150,6330004,6330377,6331826,6337418,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0,0, 1475 NM_000040 chr11 + 116700623 116703787 116701298 116703600 4 116700623,116701285,116701488,116703479, 116700656,116701353,116701612,116703787, 0 APOC3 cmpl cmpl -1,0,1,2, 1332 NR_103733 chr2 + 97949671 97957632 97957632 97957632 4 97949671,97950426,97950614,97957293, 97949910,97950522,97950744,97957632, 0 AC159540.1 unk unk -1,-1,-1,-1, 1333 NR_103733 chr2 - 98081675 98089620 98089620 98089620 4 98081675,98088547,98088769,98089381, 98082014,98088677,98088865,98089620, 0 AC159540.1 unk unk -1,-1,-1,-1, 109 NR_103554 chr5 + 38556887 38671318 38671318 38671318 9 38556887,38595023,38641030,38644451,38646733,38647334,38653178,38653966,38671127, 38559279,38595171,38641131,38644547,38646816,38647537,38653262,38654054,38671318, 0 LIFR-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 879 NR_103553 chr5 + 38556887 38608959 38608959 38608959 3 38556887,38595023,38607701, 38559279,38595171,38608959, 0 LIFR-AS1 unk unk -1,-1,-1, 144 NM_001270381 chr11 - 74551954 74660232 74554244 74618251 16 74551954,74554898,74555212,74556117,74559159,74562132,74563033,74574025,74617283,74618189,74632258,74638435,74641344,74644845,74647928,74659972, 74554498,74555004,74555328,74556316,74559507,74562248,74563127,74574066,74617501,74618318,74632392,74638533,74641417,74644917,74648113,74660232, 0 XRRA1 cmpl cmpl 1,0,1,0,0,1,0,1,2,0,-1,-1,-1,-1,-1,-1, 699 NR_103772 chr16 - 15019606 15021140 15021140 15021140 3 15019606,15019877,15020904, 15019639,15020684,15021140, 0 LOC100288162 unk unk -1,-1,-1, 724 NM_001286201 chr12 - 18233802 18243127 18234124 18243074 5 18233802,18237450,18238553,18241833,18243022, 18234407,18237599,18238627,18241890,18243127, 0 RERGL cmpl cmpl 2,0,1,1,0, 1486 NM_198275 chr11 - 118097404 118123083 118100608 118123009 6 118097404,118104174,118106138,118107764,118110925,118122936, 118100635,118104238,118106304,118107975,118111092,118123083, 0 MPZL3 cmpl cmpl 0,2,1,0,1,0, 710 NR_103772 chr16 - 16418257 16419791 16419791 16419791 3 16418257,16418528,16419555, 16418290,16419335,16419791, 0 LOC100288162 unk unk -1,-1,-1, 725 NR_103772 chr16 + 18436589 18438123 18438123 18438123 3 18436589,18437045,18438090, 18436825,18437852,18438123, 0 LOC100288162 unk unk -1,-1,-1, 1172 NR_103781 chr4 - 77035811 77069668 77069668 77069668 10 77035811,77038816,77039227,77051808,77052382,77053675,77055327,77065301,77065542,77069460, 77036647,77038927,77039347,77051902,77052437,77053872,77055515,77065445,77065626,77069668, 0 NUP54 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1172 NR_103780 chr4 - 77035811 77069668 77069668 77069668 11 77035811,77038816,77039227,77045801,77051808,77052382,77053675,77055327,77065301,77065542,77069460, 77036647,77038927,77039347,77045909,77051902,77052437,77053872,77055515,77065445,77065626,77069668, 0 NUP54 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1547 NR_103787 chr3 - 126111874 126113641 126113641 126113641 3 126111874,126112325,126113141, 126112136,126112496,126113641, 0 CCDC37-AS1 unk unk -1,-1,-1, 2315 NR_103784 chr1 - 226843780 226862769 226862769 226862769 2 226843780,226862617, 226844975,226862769, 0 ITPKB-IT1 unk unk -1,-1, 983 NM_001286430 chr15 - 52230221 52263998 52230352 52263942 10 52230221,52239488,52242004,52244040,52245325,52252095,52252835,52254585,52257945,52263884, 52230457,52239586,52242191,52244176,52245460,52252241,52252930,52254690,52258701,52263998, 0 LEO1 cmpl cmpl 0,1,0,2,2,0,1,1,1,0, 232 NM_032858 chr1 + 166958325 166991449 166958589 166991092 12 166958325,166958973,166960614,166961922,166963264,166973416,166974312,166974492,166985458,166987063,166990321,166990904, 166958721,166959066,166960714,166962078,166963306,166973541,166974367,166974634,166985521,166987196,166990397,166991449, 0 MAEL cmpl cmpl 0,0,0,1,1,1,0,1,2,2,0,1, 1857 NM_001270879 chr6 - 166778407 166796501 166778916 166780325 5 166778407,166779461,166780282,166780456,166796293, 166778941,166779594,166780379,166780675,166796501, 0 MPC1 cmpl cmpl 2,1,0,-1,-1, 864 NM_001270894 chr1 - 36602169 36615115 36602803 36614979 5 36602169,36603396,36605320,36605669,36614937, 36602923,36603579,36605444,36605767,36615115, 0 TRAPPC3 cmpl cmpl 0,0,2,0,0, 588 NM_001286436 chr16 + 446754 450754 449108 450342 5 446754,448989,449378,449626,450218, 447079,449123,449480,449739,450754, 0 NME4 cmpl cmpl -1,0,0,0,2, 864 NM_001270897 chr1 - 36602169 36615115 36602803 36614979 3 36602169,36603396,36614937, 36602923,36603579,36615115, 0 TRAPPC3 cmpl cmpl 0,0,0, 1282 NM_001286451 chr15 - 91474147 91475799 91474504 91475770 4 91474147,91474933,91475284,91475658, 91474635,91475174,91475340,91475799, 0 HDDC3 cmpl cmpl 1,0,1,0, 634 NM_001270987 chr12 + 6484533 6500737 6484721 6500103 10 6484533,6493753,6494187,6494392,6495231,6495512,6497563,6497965,6499277,6499825, 6484760,6493850,6494313,6494545,6495328,6495610,6497671,6497991,6499506,6500737, 0 LTBR cmpl cmpl 0,0,1,1,1,2,1,1,0,1, 661 NR_103821 chr3 + 10028576 10048687 10048687 10048687 3 10028576,10030395,10044400, 10028948,10030431,10048687, 0 EMC3-AS1 unk unk -1,-1,-1, 2349 NM_001256615 chr1 - 231319844 231323373 231320759 231323313 3 231319844,231321821,231323262, 231320982,231321919,231323373, 0 RP5-1097F14.3 cmpl cmpl 2,0,0, 79 NM_001257321 chr11 - 6416353 6426647 6416763 6424996 14 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6425974,6426362, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426014,6426647, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,0,-1,-1, 673 NM_001282300 chr18 + 11609556 11610611 11609594 11610611 1 11609556, 11610611, 0 SLC35G4 cmpl cmpl 0, 1492 NM_001164280 chr11 - 118895060 118900278 118895619 118900079 9 118895060,118895900,118896676,118897312,118897646,118898337,118898436,118898903,118899931, 118895786,118896039,118896790,118897398,118897805,118898435,118898582,118899136,118900278, 0 SLC37A4 cmpl cmpl 1,0,0,1,1,2,0,1,0, 79 NM_001257319 chr11 - 6416353 6426163 6416763 6426035 13 6416353,6417015,6417329,6422218,6422574,6422803,6423307,6423805,6424374,6424548,6424717,6424876,6425974, 6416931,6417192,6417445,6422302,6422659,6422920,6423439,6423955,6424438,6424634,6424774,6425052,6426163, 0 APBB1 cmpl cmpl 0,0,1,1,0,0,0,0,2,0,0,1,0, 837 NM_001002009 chr7 - 33053724 33102409 33054341 33075581 10 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33075545,33102179, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33075600,33102409, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,0,-1, 1287 NM_001286745 chr8 + 92082423 92099323 92088947 92097096 8 92082423,92083365,92086058,92088819,92090583,92092896,92096235,92097011, 92082694,92083517,92086139,92088959,92090896,92092958,92096342,92099323, 0 OTUD6B cmpl cmpl -1,-1,-1,0,0,1,0,2, 1022 NR_103832 chr8 - 57287276 57303269 57303269 57303269 4 57287276,57294500,57302681,57303160, 57287402,57294658,57302813,57303269, 0 SDR16C6P unk unk -1,-1,-1,-1, 922 NM_001286510 chr6 - 44221837 44225089 44222442 44224615 4 44221837,44224078,44224421,44224918, 44223381,44224229,44224615,44225089, 0 SLC35B2 cmpl cmpl 0,2,0,-1, 922 NM_001286509 chr6 - 44221837 44225308 44222442 44224615 4 44221837,44224078,44224421,44225136, 44223381,44224229,44224615,44225308, 0 SLC35B2 cmpl cmpl 0,2,0,-1, 922 NM_001286517 chr6 - 44221837 44225308 44222442 44224123 3 44221837,44224078,44225136, 44223381,44224233,44225308, 0 SLC35B2 cmpl cmpl 0,0,-1, 922 NM_001286519 chr6 - 44221837 44225308 44222442 44223342 2 44221837,44225136, 44223381,44225308, 0 SLC35B2 cmpl cmpl 0,-1, 922 NM_001286511 chr6 - 44221837 44225627 44222442 44224479 4 44221837,44224078,44224421,44225505, 44223381,44224233,44224615,44225627, 0 SLC35B2 cmpl cmpl 0,1,0,-1, 1458 NR_104470 chr2 - 114470368 114514270 114514270 114514270 17 114470368,114472734,114475329,114476730,114480680,114482954,114486977,114489160,114492162,114493353,114500268,114501289,114503853,114508001,114512741,114513030,114513431, 114472618,114472772,114475427,114476885,114480771,114483114,114487082,114489225,114492250,114493435,114500456,114501371,114503916,114508145,114512883,114513121,114514270, 0 SLC35F5 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 105 NR_104472 chr21 + 33784744 33887710 33887710 33887710 7 33784744,33829904,33840003,33867336,33873724,33876235,33887123, 33785321,33830028,33840156,33867480,33873796,33876325,33887710, 0 EVA1C unk unk -1,-1,-1,-1,-1,-1,-1, 119 NM_001286791 chr4 + 48988658 49064095 48990531 49063907 16 48988658,48990493,48993470,48993952,48996635,49000476,49005751,49009217,49019265,49030645,49032841,49034582,49040052,49046802,49052710,49063828, 48988802,48990685,48993591,48994107,48996837,49000565,49006009,49009343,49019345,49030751,49032977,49034732,49040197,49046864,49052866,49064095, 0 CWH43 cmpl cmpl -1,0,1,2,1,2,1,1,1,0,1,2,2,0,2,2, 106 NM_014691 chr15 - 35148551 35261995 35148992 35261814 35 35148551,35152242,35155067,35159724,35162952,35166028,35166877,35168135,35174702,35176725,35178726,35182415,35185863,35189097,35189759,35192822,35196536,35198745,35202335,35207238,35210458,35212532,35219235,35222458,35224518,35226771,35230937,35233099,35234212,35236488,35240464,35245085,35252974,35256434,35261739, 35149307,35152356,35155242,35159810,35163123,35166200,35167065,35168207,35174840,35176935,35178862,35182525,35185974,35189167,35189906,35193064,35196706,35198913,35202514,35207380,35210579,35212635,35219339,35222572,35224635,35226836,35231014,35233200,35234281,35236629,35240585,35245121,35253015,35256491,35261995, 0 AQR cmpl cmpl 0,0,2,0,0,2,0,0,0,0,2,0,0,2,2,0,1,1,2,1,0,2,0,0,0,1,2,0,0,0,2,2,0,0,0, 831 NM_006781 chr6 - 32260474 32339689 32260757 32339483 23 32260474,32267698,32268456,32270385,32290262,32290893,32291367,32298365,32299810,32303213,32303688,32304391,32306755,32307376,32317516,32322900,32323425,32333943,32334049,32335701,32336558,32337673,32339470, 32261812,32267713,32268477,32270406,32290283,32290914,32291391,32298386,32299831,32303234,32303709,32304412,32306776,32307415,32317606,32322921,32323446,32333964,32334079,32335734,32336591,32337760,32339689, 0 C6orf10 cmpl cmpl 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0, 602 NM_001286625 chr16 - 2303116 2317338 2303964 2314644 8 2303116,2305585,2312278,2312740,2313096,2314176,2314573,2317175, 2304064,2305727,2312432,2312843,2313288,2314332,2314761,2317338, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0,-1, 602 NM_001286626 chr16 - 2303116 2318413 2303964 2318057 7 2303116,2305585,2312278,2312740,2313096,2314176,2318055, 2304064,2305727,2312432,2312843,2313288,2314332,2318413, 0 RNPS1 cmpl cmpl 2,1,0,2,2,2,0, 1060 NM_001283010 chr20 + 62289162 62327606 62298876 62327138 34 62289162,62292650,62293202,62293898,62294181,62297356,62298821,62303908,62305292,62309497,62309620,62311201,62312016,62316875,62317143,62318990,62319289,62319491,62319653,62319880,62320407,62320854,62321102,62321439,62321646,62322157,62323094,62324157,62324495,62325724,62326093,62326418,62326680,62327130, 62289812,62292849,62293296,62293980,62294242,62297432,62298906,62303974,62305446,62309536,62309699,62311299,62312072,62316950,62317225,62319123,62319403,62319532,62319739,62319958,62320485,62321001,62321218,62321563,62321794,62322300,62323190,62324356,62324636,62325841,62326327,62326574,62326833,62327606, 0 RTEL1 cmpl cmpl -1,-1,-1,-1,-1,-1,0,0,0,1,1,2,1,0,0,1,2,2,1,0,0,0,0,2,0,1,0,0,1,1,1,1,1,1, 631 NM_001271700 chr7 + 6071006 6076183 6071006 6076017 3 6071006,6072469,6075074, 6071222,6072567,6076183, 0 ANKRD61 cmpl cmpl 0,0,2, 132 NM_001012664 chr11 + 62623483 62656355 62623741 62656165 10 62623483,62648490,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62623853,62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,1,0,0,2,0,0,0, 132 NM_001012662 chr11 + 62623483 62656355 62623741 62656165 12 62623483,62639048,62644255,62648490,62649364,62650379,62651928,62652103,62652648,62652936,62655606,62655802, 62623853,62639141,62644351,62648919,62649538,62650471,62651997,62652162,62652829,62653080,62655690,62656355, 0 SLC3A2 cmpl cmpl 0,1,1,1,1,1,0,0,2,0,0,0, 817 NM_001012644 chr20 - 30448869 30457801 30449205 30450499 7 30448869,30450373,30451709,30452755,30454873,30457366,30457612, 30449478,30450545,30451784,30452805,30454956,30457400,30457801, 0 DUSP15 cmpl cmpl 0,0,-1,-1,-1,-1,-1, 1737 NM_001011550 chrX + 151086759 151093642 151092136 151093090 3 151086759,151091924,151092071, 151086828,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1737 NM_001011549 chrX + 151085396 151093642 151092136 151093090 3 151085396,151091924,151092071, 151085474,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1737 NM_001011548 chrX + 151081360 151093642 151092136 151093090 3 151081360,151091924,151092071, 151081441,151091996,151093642, 0 MAGEA4 cmpl cmpl -1,-1,0, 1761 NM_001010979 chr1 - 154171561 154178841 154171902 154178783 4 154171561,154172934,154178073,154178750, 154172004,154173064,154178114,154178841, 0 C1orf189 cmpl cmpl 0,2,0,0, 14 NM_001123067 chr17 + 43971747 44105699 44039703 44101537 11 43971747,44039686,44049224,44055740,44064405,44068825,44073764,44087675,44091608,44095983,44101321, 43972052,44039836,44049311,44055806,44064461,44068952,44074030,44087768,44091690,44096096,44105699, 0 MAPT cmpl cmpl -1,0,1,1,1,0,1,0,0,1,0, 953 NM_001040084 chr10 + 48255203 48271368 48255428 48270515 12 48255203,48259473,48260734,48262167,48263039,48263789,48264357,48264963,48265296,48267170,48267977,48270455, 48255449,48259564,48260829,48262281,48263130,48263869,48264417,48265057,48265392,48267229,48268100,48271368, 0 ANXA8 cmpl cmpl 0,0,1,0,0,1,0,0,1,1,0,0, 944 NM_001040084 chr10 - 47157983 47174143 47158836 47173918 12 47157983,47161250,47162121,47163958,47164293,47164933,47165481,47166220,47167069,47168521,47169786,47173897, 47158896,47161373,47162180,47164054,47164387,47164993,47165561,47166311,47167183,47168616,47169877,47174143, 0 ANXA8 cmpl cmpl 0,0,1,1,0,0,1,0,0,1,0,0, 633 NM_001033055 chr17 - 6327056 6338519 6328779 6338424 5 6327056,6329934,6330200,6331637,6338328, 6329150,6330076,6330377,6331826,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0, 2172 NM_001025109 chr1 - 208059882 208084683 208061082 208084425 8 208059882,208062026,208062505,208062809,208070837,208072317,208073165,208084346, 208061268,208062191,208062558,208062966,208070918,208072571,208073348,208084683, 0 CD34 cmpl cmpl 0,0,1,0,0,1,1,0, 1727 NM_001005464 chr1 - 149812258 149812765 149812318 149812729 1 149812258, 149812765, 0 HIST2H3A cmpl cmpl 0, 1728 NM_001005464 chr1 + 149824180 149824687 149824216 149824627 1 149824180, 149824687, 0 HIST2H3A cmpl cmpl 0, 726 NM_001261382 chr11 - 18552949 18610293 18553866 18610201 11 18552949,18555876,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18600270,18610159, 18554034,18556000,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18600355,18610293, 0 UEVLD cmpl cmpl 0,2,1,1,1,0,1,0,1,0,0, 11 NM_006157 chr11 + 20691096 21597229 20691269 21596568 20 20691096,20699477,20805225,20869128,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21555919,21581734,21592309,21594730,21596517, 20691324,20699606,20805376,20869299,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21556060,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,2,2,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0, 690 NM_001010847 chr1 - 13801444 13840242 13802313 13840088 2 13801444,13839457, 13802567,13840242, 0 LRRC38 cmpl cmpl 1,0, 148 NM_001009811 chr17 - 79163392 79196751 79163568 79193856 25 79163392,79163714,79164438,79164706,79164992,79166117,79166275,79167725,79168669,79169634,79170500,79170729,79171511,79171914,79172676,79173180,79173518,79174128,79176039,79177293,79180543,79180924,79182727,79193679,79196568, 79163643,79163775,79164602,79164884,79165135,79166192,79166393,79167927,79168772,79169751,79170626,79170855,79171688,79172097,79172771,79173349,79173635,79174246,79176198,79177407,79180671,79181039,79182822,79193873,79196751, 0 AZI1 cmpl cmpl 0,2,0,2,0,0,2,1,0,0,0,0,0,0,1,0,0,2,2,2,0,2,0,0,-1, 784 NM_001003894 chrY - 26191939 26194161 26192212 26193835 1 26191939, 26194161, 0 CDY1B cmpl cmpl 0, 796 NM_001003894 chrY + 27768263 27770485 27768589 27770212 1 27768263, 27770485, 0 CDY1B cmpl cmpl 0, 1632 NM_001008783 chr6 + 137243401 137246776 137243566 137245834 2 137243401,137245022, 137244005,137246776, 0 SLC35D3 cmpl cmpl 0,1, 1415 NM_001008743 chr2 + 108863650 108881807 108863650 108881807 7 108863650,108868820,108869800,108872027,108875189,108881280,108881694, 108863822,108868949,108869898,108872154,108875284,108881461,108881807, 0 SULT1C3 cmpl cmpl 0,1,1,0,1,0,1, 172 NM_001008219 chr1 + 104198302 104207172 104198952 104207142 11 104198302,104198906,104199465,104200415,104201061,104202031,104202981,104203198,104205278,104205507,104206952, 104198550,104199120,104199612,104200613,104201292,104202165,104203104,104203298,104205397,104205633,104207172, 0 AMY1C cmpl cmpl -1,0,0,0,0,0,2,2,0,2,2, 811 NM_001008228 chr6 + 29624757 29640149 29624986 29638962 8 29624757,29627095,29633928,29635419,29635680,29637950,29638477,29638948, 29625074,29627443,29634042,29635440,29635701,29637998,29638498,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1,1,1, 811 NM_001008229 chr6 + 29624757 29640149 29624986 29639227 6 29624757,29627095,29633928,29635419,29635680,29639198, 29625074,29627443,29634042,29635440,29635701,29640149, 0 MOG cmpl cmpl 0,1,1,1,1,1, 738 NM_001008237 chr2 - 20096513 20101744 20096747 20101615 3 20096513,20097629,20101466, 20096887,20097796,20101744, 0 TTC32 cmpl cmpl 1,2,0, 671 NM_001282710 chr2 + 11295497 11318998 11295672 11317954 6 11295497,11300591,11300750,11304329,11312050,11317862, 11295815,11300674,11300820,11304387,11312171,11318998, 0 PQLC3 cmpl cmpl 0,2,1,2,0,1, 613 NM_001258429 chr20 - 3734145 3748452 3734704 3740747 6 3734145,3735043,3736115,3739182,3740728,3748309, 3734805,3735166,3736254,3739325,3740833,3748452, 0 C20orf27 cmpl cmpl 1,1,0,1,0,-1, 969 NR_047577 chr19 - 50392912 50432796 50432796 50432796 11 50392912,50394227,50394661,50397524,50398324,50399071,50399404,50404895,50407455,50430950,50432582, 50393857,50394364,50394730,50397726,50398437,50399310,50399439,50405078,50407578,50431072,50432796, 0 IL4I1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1285 NM_194454 chr7 - 91828282 91875228 91830049 91871449 19 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91863762,91864121,91864716,91865726,91866980,91870306,91871347,91873315,91874215,91875103, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91863906,91864237,91864960,91865856,91867073,91870466,91871451,91873463,91874485,91875228, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,2,0,2,1,1,0,0,-1,-1,-1, 980 NM_001272062 chrX - 51804922 51812368 51805124 51811268 13 51804922,51805329,51806082,51807142,51807596,51807724,51808425,51808905,51809178,51809345,51809960,51811058,51812225, 51805134,51805760,51806197,51807205,51807639,51807804,51808517,51808985,51809242,51809549,51810794,51811269,51812368, 0 MAGED4 cmpl cmpl 2,0,2,2,1,2,0,1,0,0,0,0,-1, 20 NM_001510 chr4 + 93225549 94695706 93225807 94693649 16 93225549,93511281,94006145,94031898,94128554,94137888,94145764,94159521,94316757,94343921,94376812,94411789,94436366,94547419,94690360,94693226, 93225895,93511437,94006430,94032104,94128608,94138062,94145926,94159641,94316859,94344119,94377125,94411928,94436562,94547586,94690601,94695706, 0 GRID2 cmpl cmpl 0,1,1,1,0,0,0,0,0,0,0,1,2,0,2,0, 20 NM_001286838 chr4 + 93225549 94695706 93225807 94693649 15 93225549,93511281,94031898,94128554,94137888,94145764,94159521,94316757,94343921,94376812,94411789,94436366,94547419,94690360,94693226, 93225895,93511437,94032104,94128608,94138062,94145926,94159641,94316859,94344119,94377125,94411928,94436562,94547586,94690601,94695706, 0 GRID2 cmpl cmpl 0,1,1,0,0,0,0,0,0,0,1,2,0,2,0, 1530 NR_104103 chr12 + 123942650 123956909 123956909 123956909 2 123942650,123955638, 123942763,123956909, 0 SNRNP35 unk unk -1,-1, 1759 NM_001271960 chr1 - 153931574 153940660 153932573 153935191 5 153931574,153934695,153935004,153936072,153940559, 153933230,153934826,153935223,153936179,153940660, 0 SLC39A1 cmpl cmpl 0,1,0,-1,-1, 1759 NM_001271958 chr1 - 153931574 153936117 153932573 153935191 4 153931574,153934695,153935004,153935970, 153933230,153934826,153935223,153936117, 0 SLC39A1 cmpl cmpl 0,1,0,-1, 1759 NM_001271957 chr1 - 153931574 153935844 153932573 153935191 4 153931574,153934695,153935004,153935534, 153933230,153934826,153935223,153935844, 0 SLC39A1 cmpl cmpl 0,1,0,-1, 167 NR_104627 chr9 - 99075718 99145992 99145992 99145992 13 99075718,99083279,99084279,99086372,99098998,99106185,99107580,99113384,99114319,99122435,99126745,99130553,99145758, 99077181,99083623,99084362,99086451,99099066,99106278,99107683,99113453,99114391,99122503,99126832,99130587,99145992, 0 SLC35D2 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1759 NM_001271961 chr1 - 153931574 153936117 153933066 153935191 3 153931574,153935004,153935970, 153933230,153935223,153936117, 0 SLC39A1 cmpl cmpl 1,0,-1, 1759 NM_001271959 chr1 - 153931574 153935968 153932573 153935191 4 153931574,153934695,153935004,153935652, 153933230,153934826,153935223,153935968, 0 SLC39A1 cmpl cmpl 0,1,0,-1, 136 NM_001287060 chr7 + 66147077 66276448 66260560 66274271 10 66147077,66177153,66204982,66236869,66240213,66260497,66262360,66264309,66270126,66273872, 66147245,66177211,66205779,66237065,66240380,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl -1,-1,-1,-1,-1,0,1,2,1,0, 1090 NM_001287062 chr7 + 66205642 66276448 66236886 66274271 10 66205642,66233817,66236869,66240213,66248661,66260497,66262360,66264309,66270126,66273872, 66205779,66234012,66237065,66240380,66248828,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl -1,-1,0,2,1,0,1,2,1,0, 1090 NM_001287061 chr7 + 66220868 66276448 66221039 66274271 9 66220868,66236869,66240213,66248661,66260497,66262360,66264309,66270126,66273872, 66221064,66237065,66240380,66248828,66260579,66262493,66264401,66270383,66276448, 0 RABGEF1 cmpl cmpl 0,1,2,1,0,1,2,1,0, 1241 NR_105017 chr5 + 86042634 86045589 86045589 86045589 3 86042634,86044932,86045138, 86042884,86044990,86045589, 0 LOC100505878 unk unk -1,-1,-1, 1605 NR_105044 chr5 - 133764741 133770738 133770738 133770738 3 133764741,133765575,133770680, 133765321,133765642,133770738, 0 LOC102546229 unk unk -1,-1,-1, 1354 NM_001287147 chr7 - 100839011 100844302 100839203 100844135 6 100839011,100841471,100841906,100843514,100843688,100844026, 100839381,100841646,100842111,100843585,100843796,100844302, 0 MOGAT3 cmpl cmpl 2,1,0,1,1,0, 200 NM_001161345 chr12 - 133416937 133464204 133418139 133463914 18 133416937,133419596,133420612,133423628,133424670,133425226,133428203,133430016,133433053,133433990,133435653,133438052,133446204,133447309,133448870,133454140,133463781,133464132, 133418182,133419669,133420720,133423716,133424741,133425310,133428320,133430159,133433216,133434145,133435813,133438220,133446420,133447369,133448980,133454240,133463926,133464204, 0 CHFR cmpl cmpl 2,1,1,0,1,1,1,2,1,2,1,1,1,1,2,1,0,-1, 874 NR_106790 chr1 + 37945830 37945890 37945890 37945890 1 37945830, 37945890, 0 MIR6732 unk unk -1, 1695 NR_106794 chr1 + 145584422 145584481 145584481 145584481 1 145584422, 145584481, 0 MIR6736 unk unk -1, 1759 NR_106795 chr1 - 153934826 153934896 153934896 153934896 1 153934826, 153934896, 0 MIR6737 unk unk -1, 2124 NR_106797 chr1 + 201832500 201832575 201832575 201832575 1 201832500, 201832575, 0 MIR6739 unk unk -1, 632 NR_039698 chr10 - 6194169 6194225 6194225 6194225 1 6194169, 6194225, 0 MIR3155B unk unk -1, 1328 NR_107016 chr11 - 97490875 97490895 97490895 97490895 1 97490875, 97490895, 0 MIR7976 unk unk -1, 1309 NR_106998 chr12 - 94965006 94965128 94965128 94965128 1 94965006, 94965128, 0 MIR7844 unk unk -1, 1529 NR_107039 chr12 - 123849310 123849390 123849390 123849390 1 123849310, 123849390, 0 MIR8072 unk unk -1, 1154 NM_001287181 chr15 + 74610881 74628482 74610930 74627513 8 74610881,74622529,74623003,74623321,74623543,74625019,74626221,74627315, 74610999,74622695,74623092,74623453,74623637,74625186,74626308,74628482, 0 CCDC33 cmpl cmpl 0,0,1,0,0,1,0,0, 1154 NM_182791 chr15 + 74610881 74628482 74610930 74627513 9 74610881,74622529,74623003,74623321,74623543,74625019,74625561,74626221,74627315, 74610999,74622695,74623092,74623453,74623637,74625186,74625663,74626308,74628482, 0 CCDC33 cmpl cmpl 0,0,1,0,0,1,0,0,0, 699 NR_107060 chr16 + 15024676 15024736 15024736 15024736 1 15024676, 15024736, 0 MIR6770-2 unk unk -1, 710 NR_107060 chr16 + 16423161 16423221 16423221 16423221 1 16423161, 16423221, 0 MIR6770-2 unk unk -1, 725 NR_107060 chr16 - 18473207 18473267 18473267 18473267 1 18473207, 18473267, 0 MIR6770-2 unk unk -1, 877 NR_106926 chr17 + 38318185 38318254 38318254 38318254 1 38318185, 38318254, 0 MIR6866 unk unk -1, 700 NR_107036 chr21 + 15096509 15096595 15096595 15096595 1 15096509, 15096595, 0 MIR8069 unk unk -1, 896 NR_106763 chr21 + 40818935 40818995 40818995 40818995 1 40818935, 40818995, 0 MIR6508 unk unk -1, 942 NR_106873 chr21 + 46898179 46898240 46898240 46898240 1 46898179, 46898240, 0 MIR6815 unk unk -1, 883 NR_106880 chr3 + 39179696 39179757 39179757 39179757 1 39179696, 39179757, 0 MIR6822 unk unk -1, 956 NR_106882 chr3 - 48671068 48671131 48671131 48671131 1 48671068, 48671131, 0 MIR6824 unk unk -1, 1522 NR_106960 chr3 + 122880640 122880726 122880726 122880726 1 122880640, 122880726, 0 MIR7110 unk unk -1, 815 NR_106951 chr6 + 30229276 30229317 30229317 30229317 1 30229276, 30229317, 0 MIR6891 unk unk -1, 823 NR_106951 chr6 - 31323000 31323093 31323093 31323093 1 31323000, 31323093, 0 MIR6891 unk unk -1, 826 NR_106890 chr6 + 31601563 31601635 31601635 31601635 1 31601563, 31601635, 0 MIR6832 unk unk -1, 830 NR_106779 chr6 - 32137806 32137893 32137893 32137893 1 32137806, 32137893, 0 MIR6721 unk unk -1, 855 NR_106961 chr6 + 35438284 35438356 35438356 35438356 1 35438284, 35438356, 0 MIR7111 unk unk -1, 1220 NR_107016 chr7 - 83246715 83246737 83246737 83246737 1 83246715, 83246737, 0 MIR7976 unk unk -1, 794 NR_106902 chr8 - 27468117 27468268 27468268 27468268 1 27468117, 27468268, 0 MIR6843 unk unk -1, 901 NR_106984 chr8 + 41517961 41518025 41518025 41518025 1 41517961, 41518025, 0 MIR486-2 unk unk -1, 1695 NR_106907 chr8 - 145540908 145540978 145540978 145540978 1 145540908, 145540978, 0 MIR6848 unk unk -1, 1757 NR_106917 chrX + 153678667 153678734 153678734 153678734 1 153678667, 153678734, 0 MIR6858 unk unk -1, 983 NR_108100 chr19 - 52188615 52196709 52196709 52196709 2 52188615,52195886, 52191754,52196709, 0 SPACA6P-AS unk unk -1,-1, 619 NR_108075 chr3 - 4532000 4534847 4534847 4534847 2 4532000,4534467, 4533052,4534847, 0 ITPR1-AS1 unk unk -1,-1, 693 NR_108096 chr6 - 14280357 14285685 14285685 14285685 3 14280357,14284175,14285286, 14283419,14284411,14285685, 0 LINC01108 unk unk -1,-1,-1, 693 NR_108097 chr6 - 14280357 14285685 14285685 14285685 2 14280357,14285286, 14283419,14285685, 0 LINC01108 unk unk -1,-1, 649 NR_104213 chr19 + 8429010 8439259 8439259 8439259 3 8429010,8430837,8439076, 8429523,8430948,8439259, 0 ANGPTL4 unk unk -1,-1,-1, 681 NM_001271989 chr18 - 12672625 12702776 12673363 12702547 11 12672625,12674534,12678107,12680660,12686260,12691357,12695252,12697221,12699828,12700956,12702484, 12673502,12674752,12678441,12680827,12686449,12691486,12695350,12697407,12699904,12701112,12702776, 0 CEP76 cmpl cmpl 2,0,2,0,0,0,1,1,0,0,0, 167 NM_001286990 chr9 - 99082987 99145992 99083523 99145916 9 99082987,99084279,99086372,99113384,99114319,99122435,99126745,99130553,99145758, 99083623,99084362,99086451,99113453,99114391,99122503,99126832,99130587,99145992, 0 SLC35D2 cmpl cmpl 2,0,2,2,2,0,0,2,0, 2335 NM_001271998 chr1 + 229406808 229441640 229431644 229438724 6 229406808,229431594,229433266,229434723,229438608,229439552, 229407117,229431657,229433383,229434819,229438736,229441640, 0 RAB4A cmpl cmpl -1,0,1,1,1,-1, 726 NM_001040697 chr11 - 18552949 18610293 18553866 18610201 12 18552949,18555876,18557952,18566169,18568426,18579774,18586438,18587893,18591760,18596893,18600270,18610159, 18554034,18556000,18558016,18566343,18568597,18579877,18586557,18588029,18591924,18596959,18600355,18610293, 0 UEVLD cmpl cmpl 0,2,1,1,1,0,1,0,1,1,0,0, 1926 NM_001287335 chr5 - 175773063 175788810 175774602 175779715 6 175773063,175774923,175775252,175777615,175779624,175788604, 175774811,175775066,175775359,175777740,175779751,175788810, 0 KIAA1191 cmpl cmpl 1,2,0,1,0,-1, 1776 NM_001272105 chr1 - 156213111 156217908 156213919 156216522 9 156213111,156214551,156214932,156215325,156215572,156215913,156216480,156217300,156217747, 156214194,156214702,156215029,156215452,156215778,156216041,156216547,156217423,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,2,0,0,-1,-1, 1776 NM_001272104 chr1 - 156213111 156217908 156213919 156216522 8 156213111,156214551,156214932,156215325,156215572,156215913,156216471,156217705, 156214194,156214702,156215029,156215452,156215778,156216041,156216547,156217908, 0 PAQR6 cmpl cmpl 1,0,2,1,2,0,0,-1, 190 NM_001272039 chr9 - 123151146 123342448 123151513 123342256 35 123151146,123152018,123156789,123163019,123165083,123166313,123169289,123170624,123171404,123173635,123177317,123182065,123184970,123199572,123201676,123205897,123210172,123230137,123232388,123234025,123239627,123249571,123253584,123280704,123287263,123290083,123291021,123292255,123298649,123301318,123307991,123313069,123330598,123334251,123342197, 123151570,123152065,123156916,123163163,123165349,123166391,123169526,123170746,123171594,123173752,123177437,123182238,123185019,123199805,123202250,123206020,123210404,123230275,123232495,123234156,123239728,123249715,123253755,123280923,123287356,123290203,123291075,123292418,123298804,123301442,123308068,123313180,123330666,123334319,123342448, 0 CDK5RAP2 cmpl cmpl 0,1,0,0,1,1,1,2,1,1,1,2,1,2,1,1,0,0,1,2,0,0,0,0,0,0,0,2,0,2,0,0,1,2,0, 1574 NM_001282190 chr7 - 129658125 129691291 129658503 129691097 11 129658125,129662158,129663350,129664102,129665997,129668741,129679303,129680790,129688872,129690282,129691060, 129658572,129662365,129663563,129664346,129666152,129668869,129679387,129680941,129688984,129690328,129691291, 0 ZC3HC1 cmpl cmpl 0,0,0,2,0,1,1,0,2,1,0, 1562 NR_109833 chr8 + 128092118 128104840 128104840 128104840 1 128092118, 128104840, 0 PRNCR1 unk unk -1, 1564 NR_109834 chr8 + 128412643 128414395 128414395 128414395 1 128412643, 128414395, 0 CCAT2 unk unk -1, 125 NM_001287746 chr6 - 55299170 55444012 55300459 55381401 10 55299170,55304231,55360216,55364033,55378845,55381305,55406526,55406857,55428616,55443745, 55300561,55304357,55360405,55364097,55378994,55381401,55406634,55406938,55428712,55444012, 0 HMGCLL1 cmpl cmpl 0,0,0,2,0,0,-1,-1,-1,-1, 601 NM_001287682 chr20 + 2187573 2193797 2187790 2193566 2 2187573,2193554, 2188165,2193797, 0 LOC388780 cmpl cmpl 0,0, 1813 NM_001276373 chr1 - 161009040 161014727 161009709 161013065 11 161009040,161009991,161010365,161010603,161011113,161011440,161011905,161012344,161012622,161013057,161014701, 161009799,161010120,161010460,161010662,161011201,161011636,161012007,161012460,161012672,161013150,161014727, 0 USF1 cmpl cmpl 0,0,1,2,1,0,0,1,2,0,-1, 141 NM_001126044 chr1 - 71418114 71513491 71419468 71513260 5 71418114,71419445,71439979,71477987,71512363, 71418742,71419472,71440071,71478167,71513491, 0 PTGER3 cmpl cmpl -1,2,0,0,0, 198 NM_001287390 chr9 - 131595220 131644354 131595862 131609807 15 131595220,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131608958,131609711,131644175, 131595922,131596105,131597681,131597946,131598147,131598352,131599201,131600092,131600416,131600646,131605080,131607690,131609138,131609922,131644354, 0 CCBL1 cmpl cmpl 0,0,1,0,0,1,0,0,0,0,2,0,0,0,-1, 87 NM_001277323 chr16 + 14805545 14820195 14805545 14820150 8 14805545,14809924,14813683,14813946,14817048,14818174,14818344,14819739, 14805608,14810053,14813783,14814091,14817156,14818235,14818380,14820195, 0 NPIPA3 cmpl cmpl 0,0,0,1,2,2,0,0, 698 NM_001277323 chr16 + 14844669 14859315 14844669 14859270 8 14844669,14849048,14852803,14853066,14856168,14857294,14857464,14858859, 14844732,14849177,14852903,14853211,14856276,14857355,14857500,14859315, 0 NPIPA3 cmpl cmpl 0,0,0,1,2,2,0,0, 103 NM_016082 chr20 - 31946644 31989375 31946848 31989364 14 31946644,31948156,31954664,31958304,31960447,31961920,31967266,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31967497,31973576,31975339,31980048,31981872,31982922,31984742,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,0,2,1,2,0,1,2,0, 952 NM_001098531 chr12 - 48128452 48152889 48131349 48152339 28 48128452,48131804,48131975,48132472,48132925,48133923,48134087,48134424,48134697,48135287,48137312,48137769,48140642,48141326,48141494,48141856,48142236,48142601,48143172,48143523,48143712,48144123,48144830,48145181,48145505,48145698,48151648,48152333, 48131468,48131876,48132030,48132537,48133013,48133974,48134178,48134606,48134823,48135385,48137459,48137851,48140682,48141409,48141645,48141935,48142325,48142714,48143319,48143600,48143773,48144208,48144999,48145303,48145612,48145752,48151861,48152889, 0 RAPGEF3 cmpl cmpl 1,1,0,1,0,0,2,0,0,1,1,0,2,0,2,1,2,0,0,1,0,2,1,2,0,0,0,0, 125 NR_109867 chr6 - 55376872 55444012 55444012 55444012 4 55376872,55406526,55406857,55443745, 55378994,55406634,55406938,55444012, 0 HMGCLL1 unk unk -1,-1,-1,-1, 1878 NM_001277128 chr3 - 169557028 169587723 169557769 169587595 8 169557028,169565907,169569406,169572600,169574123,169574492,169579457,169587420, 169558101,169566075,169569574,169572768,169574291,169574660,169579601,169587723, 0 LRRC31 cmpl cmpl 1,1,1,1,1,1,1,0, 2042 NM_033178 chr4 + 190998875 191000255 190998972 191000247 1 190998875, 191000255, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 190995582 190996962 190995679 190996954 1 190995582, 190996962, 0 DUX4 cmpl cmpl 0, 2042 NM_033178 chr4 + 190992289 190993669 190992386 190993661 1 190992289, 190993669, 0 DUX4 cmpl cmpl 0, 1618 NM_033178 chr10 + 135493785 135498458 135493882 135498450 2 135493785,135498198, 135494905,135498458, 0 DUX4 cmpl cmpl 0,0, 893 NM_001287808 chr1 + 40420783 40435640 40430997 40435240 12 40420783,40430882,40431142,40431528,40432272,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl -1,0,0,1,0,1,0,0,0,2,2,2, 893 NM_001287809 chr1 + 40420783 40435640 40420964 40435240 14 40420783,40422869,40424372,40430882,40431142,40431528,40432278,40432482,40432757,40433299,40433475,40434005,40434240,40435176, 40421057,40422893,40424497,40431006,40431221,40431686,40432363,40432604,40432841,40433383,40433588,40434149,40434417,40435640, 0 MFSD2A cmpl cmpl 0,0,0,2,0,1,0,1,0,0,0,2,2,2, 1341 NM_032327 chr10 + 99205887 99217127 99211432 99216648 11 99205887,99211427,99211846,99212171,99212651,99213286,99213555,99214470,99215416,99215730,99216533, 99206110,99211675,99212041,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,1,0,0,2,0,2, 1341 NM_198044 chr10 + 99205887 99217127 99211432 99216648 10 99205887,99211427,99211846,99212171,99213374,99213555,99214470,99215416,99215730,99216533, 99206110,99211675,99212041,99212260,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 cmpl cmpl -1,0,0,0,2,0,0,2,0,2, 1341 NR_109895 chr10 + 99205887 99217127 99217127 99217127 9 99205887,99212171,99212651,99213286,99213555,99214470,99215470,99215730,99216533, 99206110,99212260,99212680,99213420,99213603,99214556,99215540,99215801,99217127, 0 ZDHHC16 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 897 NM_001277731 chr17 + 41003200 41010147 41003360 41008310 3 41003200,41006464,41008291, 41004960,41006750,41010147, 0 AOC3 cmpl cmpl 0,1,2, 1094 NM_001287821 chr15 + 66797420 66841822 66811238 66839017 19 66797420,66801083,66806325,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66801230,66806421,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl -1,-1,-1,-1,0,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 1094 NM_001287822 chr15 + 66797420 66841822 66811238 66839017 18 66797420,66801083,66807863,66811216,66812927,66813387,66816014,66819627,66820194,66821189,66821831,66824584,66825322,66828270,66829505,66832435,66838928,66840688, 66797729,66801230,66807982,66811416,66812998,66813543,66816086,66819721,66820250,66821295,66821911,66824741,66825351,66828407,66829601,66832548,66839043,66841822, 0 ZWILCH cmpl cmpl -1,-1,-1,0,1,0,0,0,1,0,1,0,1,0,2,2,1,-1, 1254 NR_105020 chr5 + 87688011 87732491 87732491 87732491 3 87688011,87705889,87732089, 87688159,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1, 156 NR_105019 chr5 + 87564832 87732491 87732491 87732491 8 87564832,87566342,87577858,87583252,87587200,87588384,87705889,87732089, 87564936,87566402,87577923,87583439,87587293,87588460,87706011,87732491, 0 TMEM161B-AS1 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1089 NR_104676 chr7 + 66147077 66150679 66150679 66150679 2 66147077,66150346, 66147245,66150679, 0 RABGEF1 unk unk -1,-1, 704 NM_001288646 chr17 + 15602890 15624100 15619374 15620604 6 15602890,15603448,15604465,15609700,15611468,15619313, 15603091,15603680,15604554,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,-1,0, 704 NM_001288647 chr17 + 15602890 15624100 15619374 15620604 5 15602890,15603448,15604465,15611468,15619313, 15603091,15603680,15604554,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,-1,0, 704 NM_001288649 chr17 + 15602890 15624100 15619374 15620604 4 15602890,15609790,15611468,15619313, 15603091,15609815,15611561,15624100, 0 ZNF286A cmpl cmpl -1,-1,-1,0, 103 NM_001278168 chr20 - 31946644 31989375 31946848 31984870 13 31946644,31948156,31954664,31958304,31960447,31961920,31973455,31975128,31979947,31981837,31982818,31984566,31989233, 31946929,31948297,31954814,31958435,31960503,31962018,31973576,31975339,31980048,31981872,31982922,31984890,31989375, 0 CDK5RAP1 cmpl cmpl 0,0,0,1,2,0,2,1,2,0,1,0,-1, 1099 NM_001278215 chr1 + 67390577 67413923 67394586 67411993 5 67390577,67391824,67394572,67405710,67411832, 67390778,67391925,67394646,67405735,67413923, 0 MIER1 cmpl cmpl -1,-1,0,0,1, 979 NM_001278195 chr3 + 51705190 51738339 51708320 51738032 6 51705190,51706225,51708286,51718428,51733421,51737739, 51705304,51706317,51708578,51718650,51733590,51738339, 0 TEX264 cmpl cmpl -1,-1,0,0,0,1, 1127 NR_109769 chr9 - 71158456 71161518 71161518 71161518 4 71158456,71160416,71160632,71161474, 71158519,71160540,71160752,71161518, 0 RP11-274B18.2 unk unk -1,-1,-1,-1, 111 NM_001278361 chr4 + 40198526 40246384 40245006 40245582 4 40198526,40214283,40244333,40244797, 40198920,40214411,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 796 NR_046548 chr13 + 27746395 27757640 27757640 27757640 2 27746395,27756970, 27746509,27757640, 0 USP12-AS2 unk unk -1,-1, 11 NM_001288713 chr11 + 20691096 21597229 20691269 21596568 21 20691096,20696034,20699477,20805225,20869128,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21555919,21581734,21592309,21594730,21596517, 20691324,20696118,20699606,20805376,20869299,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21556060,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,1,2,2,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0, 11 NM_201551 chr11 + 20691096 21597229 20691269 21596568 19 20691096,20699477,20805225,20869128,20906989,20939727,20940797,20948853,20949922,20959331,20968881,20981977,21135134,21250877,21392398,21581734,21592309,21594730,21596517, 20691324,20699606,20805376,20869299,20907086,20939800,20940880,20948988,20950025,20959405,20968981,20982106,21135260,21251000,21392494,21581928,21592486,21594955,21597229, 0 NELL1 cmpl cmpl 0,1,1,2,2,0,1,0,0,1,0,1,1,1,1,1,0,0,0, 111 NM_001278367 chr4 + 40194586 40246384 40245006 40245582 3 40194586,40244333,40244797, 40194743,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,0, 111 NM_001278365 chr4 + 40194586 40246384 40245006 40245582 4 40194586,40198720,40244333,40244797, 40194743,40198920,40244454,40246384, 0 RHOH cmpl cmpl -1,-1,-1,0, 111 NM_001278363 chr4 + 40198526 40246384 40245006 40245582 3 40198526,40244333,40244797, 40198920,40244466,40246384, 0 RHOH cmpl cmpl -1,-1,0, 1926 NR_109797 chr5 - 175773063 175788810 175788810 175788810 5 175773063,175774923,175775252,175786483,175788604, 175774811,175775066,175775359,175786570,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1, 1926 NR_109796 chr5 - 175773063 175788810 175788810 175788810 5 175773063,175774923,175775252,175777615,175788604, 175774811,175775066,175775359,175777735,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1, 1926 NR_109800 chr5 - 175773063 175788810 175788810 175788810 5 175773063,175774923,175775252,175786813,175788604, 175774811,175775066,175775359,175786921,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1, 1926 NR_109799 chr5 - 175773063 175788810 175788810 175788810 6 175773063,175774923,175775252,175786483,175786813,175788604, 175774811,175775066,175775359,175786570,175786921,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1,-1, 1926 NR_109798 chr5 - 175773063 175788810 175788810 175788810 6 175773063,175774923,175775252,175777615,175786813,175788604, 175774811,175775066,175775359,175777740,175786921,175788810, 0 KIAA1191 unk unk -1,-1,-1,-1,-1,-1, 635 NM_001278442 chr11 + 6624937 6632105 6629974 6631842 12 6624937,6625455,6629623,6629923,6630114,6630301,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629719,6630020,6630198,6630387,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,-1,-1,0,1,1,0,2,1,0,1,0, 635 NM_001278441 chr11 + 6624937 6632105 6625501 6631842 11 6624937,6625409,6629275,6629623,6630114,6630529,6630742,6630954,6631166,6631378,6631692, 6625052,6625590,6629441,6629719,6630198,6630639,6630870,6631076,6631266,6631509,6632105, 0 ILK cmpl cmpl -1,0,2,0,0,0,2,1,0,1,0, 120 NM_001278438 chr13 + 49550744 49783915 49580326 49781531 26 49550744,49580287,49649424,49688790,49705272,49710467,49712882,49719913,49741379,49742748,49746178,49748570,49749502,49752703,49760099,49761257,49762650,49765150,49765344,49771012,49771860,49772117,49772497,49775935,49777292,49781216, 49551053,49580425,49649500,49688867,49705510,49710737,49712941,49720071,49741439,49742887,49746232,49748695,49749677,49752790,49760238,49761326,49762769,49765256,49765520,49771126,49772010,49772401,49772710,49776102,49777420,49783915, 0 FNDC3A cmpl cmpl -1,0,0,1,0,1,1,0,2,2,0,0,2,0,0,1,1,0,1,0,0,0,2,2,1,0, 649 NR_109913 chr6 - 8413299 8435800 8435800 8435800 12 8413299,8415140,8417116,8417634,8418976,8419812,8420953,8422702,8428169,8430096,8434617,8435460, 8413932,8415210,8417228,8417727,8419118,8419910,8421061,8422857,8428291,8430390,8434663,8435800, 0 SLC35B3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 198 NR_109829 chr9 - 131595220 131644354 131644354 131644354 13 131595220,131596018,131597601,131597759,131598057,131598275,131599080,131599963,131600329,131600496,131604932,131607631,131644175, 131595922,131596105,131597681,131597946,131598147,131598384,131599201,131600092,131600416,131600646,131605080,131607690,131644354, 0 CCBL1 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 621 NR_110112 chr12 - 4809582 4829268 4829268 4829268 4 4809582,4812478,4813343,4829030, 4810345,4812606,4813463,4829268, 0 RP11-234B24.2 unk unk -1,-1,-1,-1, 838 NM_001288777 chr6 + 33168602 33172214 33169113 33171590 8 33168602,33169018,33169537,33169848,33170039,33170336,33170686,33171317, 33168715,33169165,33169690,33169902,33170204,33170477,33170883,33172214, 0 SLC39A7 cmpl cmpl -1,0,1,1,1,1,1,0, 108 NM_001278481 chr13 - 37583450 37633850 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633695, 37583946,37586434,37591501,37593534,37595739,37596217,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619513,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 108 NM_001278480 chr13 - 37583450 37633850 37583845 37625627 25 37583450,37586328,37591381,37593478,37595584,37596147,37598171,37598476,37599456,37600340,37600926,37602284,37603901,37605703,37605875,37607585,37614541,37614712,37618214,37619383,37621671,37622014,37622700,37625624,37633695, 37583946,37586434,37591501,37593534,37595739,37596454,37598330,37598579,37599574,37600373,37600953,37602442,37603973,37605760,37606032,37607725,37614595,37614829,37618318,37619510,37621738,37622073,37622736,37625720,37633850, 0 SUPT20H cmpl cmpl 1,0,0,1,2,1,1,0,2,2,2,0,0,0,2,0,0,0,1,0,2,0,0,0,-1, 1040 NR_109919 chr20 + 59654119 59655235 59655235 59655235 2 59654119,59655035, 59654386,59655235, 0 LOC100506470 unk unk -1,-1, 597 NR_110090 chr20 + 1614153 1629119 1629119 1629119 3 1614153,1617851,1626681, 1614366,1617996,1629119, 0 RP11-77C3.3 unk unk -1,-1,-1, 649 NR_109914 chr6 - 8413299 8435800 8435800 8435800 9 8413299,8415140,8417116,8417634,8419812,8420953,8428169,8430096,8435174, 8413932,8415210,8417228,8417727,8419910,8421061,8428291,8430390,8435800, 0 SLC35B3 unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, 1725 NR_109969 chr5 - 149432853 149466203 149466203 149466203 20 149432853,149433884,149434799,149435588,149435781,149436849,149437066,149440424,149441053,149441285,149447777,149449435,149449744,149450018,149452863,149456838,149457674,149459614,149460329,149465941, 149433787,149433993,149434899,149435700,149435904,149436947,149437155,149440535,149441158,149441412,149447893,149449626,149449865,149450134,149453056,149456998,149457811,149459899,149460587,149466203, 0 CSF1R unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 960 NR_110020 chr12 + 49183358 49184318 49184318 49184318 3 49183358,49183767,49184095, 49183473,49183902,49184318, 0 RP11-579D7.4 unk unk -1,-1,-1, 1156 NR_024203 chr10 - 74894281 74927853 74927853 74927853 12 74894281,74896461,74897760,74899066,74899388,74906033,74908033,74912050,74916032,74916325,74920191,74927623, 74894571,74896676,74897828,74899253,74899495,74906119,74908162,74912179,74916211,74916413,74920309,74927853, 0 ECD unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, 1689 NM_001288805 chr8 + 144766621 144777555 144772278 144776700 8 144766621,144769086,144770163,144770831,144772226,144773242,144773769,144775840, 144766712,144769184,144770237,144771471,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,-1,-1,0,0,1,1, 1689 NM_001288806 chr8 + 144766621 144777555 144772278 144776700 6 144766621,144769086,144772226,144773242,144773769,144775840, 144766712,144769184,144772293,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,-1,0,0,1,1, 1689 NM_001288807 chr8 + 144766621 144777555 144774463 144776700 6 144766621,144772226,144773242,144773769,144774414,144775840, 144766712,144772293,144773369,144773883,144774500,144777555, 0 ZNF707 cmpl cmpl -1,-1,-1,-1,0,1, 1689 NM_001288808 chr8 + 144766621 144777555 144773335 144776700 4 144766621,144773242,144773769,144775840, 144766712,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,0,1,1, 1689 NM_001288809 chr8 + 144766621 144777555 144773335 144776700 4 144766621,144773068,144773769,144775840, 144766712,144773369,144773883,144777555, 0 ZNF707 cmpl cmpl -1,0,1,1, 1689 NR_110190 chr8 + 144766621 144777555 144777555 144777555 5 144766621,144772226,144773242,144773769,144775840, 144766712,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1, 1689 NR_110193 chr8 + 144766621 144777555 144777555 144777555 6 144766621,144771373,144772226,144773242,144773769,144775840, 144766712,144771471,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1,-1, 931 NR_110050 chr14 - 45368110 45381120 45381120 45381120 3 45368110,45368432,45380959, 45368279,45368516,45381120, 0 RP11-857B24.5 unk unk -1,-1,-1, 109 NM_016531 chr4 + 38665789 38703129 38682246 38698884 6 38665789,38682207,38690205,38691349,38696366,38698702, 38666082,38682303,38690692,38691500,38696527,38703129, 0 KLF3 cmpl cmpl -1,0,0,1,2,1, 893 NM_001195522 chrX + 40482817 40483391 40482817 40483228 1 40482817, 40483391, 0 MPC1L cmpl cmpl 0, 178 NM_001278556 chr12 - 110872694 110888216 110872959 110888065 7 110872694,110873914,110874361,110874888,110878116,110883256,110888059, 110873022,110874009,110874488,110874957,110878193,110883356,110888216, 0 ARPC3 cmpl cmpl 0,1,0,0,1,0,0, 120 NM_001278547 chr10 + 49514681 49647402 49609703 49643072 12 49514681,49609654,49612894,49617921,49618072,49628197,49632556,49633930,49634422,49635122,49639235,49642926, 49514864,49609825,49613024,49617980,49618211,49628363,49632628,49634113,49634547,49635186,49639313,49647402, 0 MAPK8 cmpl cmpl -1,0,2,0,2,0,1,1,1,0,1,1, 1034 NR_110184 chr11 - 58901445 58910281 58910281 58910281 4 58901445,58903529,58907429,58910087, 58903061,58903754,58907640,58910281, 0 AP001258.4 unk unk -1,-1,-1,-1, 1106 NM_001278515 chr18 - 68297754 68318093 68297795 68317947 3 68297754,68309780,68317845, 68297925,68309959,68318093, 0 GTSCR1 cmpl cmpl 2,0,0, 1365 NR_110212 chr1 - 102268122 102312636 102312636 102312636 7 102268122,102271631,102277965,102290581,102296227,102302434,102312400, 102270471,102271738,102278702,102290801,102296383,102302581,102312636, 0 OLFM3 unk unk -1,-1,-1,-1,-1,-1,-1, 170 NR_110211 chr1 - 102268122 102462790 102462790 102462790 7 102268122,102271631,102277965,102290581,102296227,102302434,102462303, 102270471,102271738,102278702,102290801,102296383,102302581,102462790, 0 OLFM3 unk unk -1,-1,-1,-1,-1,-1,-1, 170 NR_110210 chr1 - 102268122 102462790 102462790 102462790 8 102268122,102271631,102277965,102290581,102296227,102302434,102433075,102462303, 102270471,102271738,102278702,102290801,102296383,102302581,102433136,102462790, 0 OLFM3 unk unk -1,-1,-1,-1,-1,-1,-1,-1, 1689 NR_110192 chr8 + 144766621 144777555 144777555 144777555 5 144766621,144772226,144773242,144773766,144775840, 144766712,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1, 1689 NR_110191 chr8 + 144766621 144777555 144777555 144777555 6 144766621,144769550,144772226,144773242,144773769,144775840, 144766712,144769648,144772293,144773402,144773883,144777555, 0 ZNF707 unk unk -1,-1,-1,-1,-1,-1, 1054 NM_080750 chr20 + 61475917 61477543 61477015 61477252 1 61475917, 61477543, 0 DPH3P1 cmpl cmpl 0, 885 NM_001006666 chr22 + 39436672 39440428 39436965 39440222 3 39436672,39438941,39440087, 39436982,39439095,39440428, 0 APOBEC3F cmpl cmpl 0,2,0, 633 NM_001033054 chr17 - 6327056 6338519 6328779 6338424 5 6327056,6329934,6330200,6337238,6338328, 6329150,6330076,6330377,6337418,6338519, 0 AIPL1 cmpl cmpl 1,0,0,0,0, 925 NM_001006607 chr17 + 44590075 44633014 44590078 44632945 14 44590075,44594727,44597577,44600449,44601169,44617541,44618172,44623620,44625677,44627780,44630765,44632517,44632650,44632896, 44592687,44594799,44597649,44600521,44601250,44617613,44618247,44623739,44627209,44627885,44630815,44632572,44632790,44633014, 0 LRRC37A2 cmpl cmpl 0,2,2,2,2,2,2,2,1,0,0,2,0,2, 928 NM_001102597 chr19 - 45010210 45033548 45010212 45033532 13 45010210,45015087,45015694,45016074,45016925,45016991,45017230,45021006,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45015730,45016136,45016990,45017012,45017348,45021285,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,0,1,2,2,1,1,1,1,1,1,0, 928 NM_001102598 chr19 - 45010210 45033548 45010212 45033532 11 45010210,45015087,45016074,45016925,45016991,45017230,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45016136,45016990,45017012,45017348,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,1,2,2,1,1,1,1,1,0, 786 NM_001004434 chr1 - 26364513 26372604 26365650 26372387 8 26364513,26366267,26368190,26369039,26369888,26370788,26371487,26372337, 26365796,26366402,26368296,26369199,26370042,26370935,26371708,26372604, 0 SLC30A2 cmpl cmpl 1,1,0,2,1,1,2,0, 2432 NM_001004343 chr1 - 242158791 242162385 242159464 242162310 4 242158791,242161815,242162077,242162252, 242159687,242161922,242162133,242162385, 0 MAP1LC3C cmpl cmpl 2,0,1,0, 784 NM_001003895 chrY - 26191376 26194161 26191750 26193835 2 26191376,26192243, 26191823,26194161, 0 CDY1B cmpl cmpl 2,0, 796 NM_001003895 chrY + 27768263 27771048 27768589 27770674 2 27768263,27770601, 27770181,27771048, 0 CDY1B cmpl cmpl 0,2, 873 NM_001002269 chr9 - 37779710 37785089 37780856 37785041 3 37779710,37783910,37784717, 37780877,37784060,37785089, 0 EXOSC3 cmpl cmpl 0,0,0, 1344 NM_001002262 chr10 + 99496877 99520664 99498234 99519057 12 99496877,99498233,99502850,99504485,99508025,99509230,99510087,99511147,99512794,99517021,99517398,99518992, 99497082,99498431,99502921,99504672,99508121,99509343,99510227,99511219,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl -1,0,2,1,2,2,1,0,0,1,0,1, 1344 NM_001002261 chr10 + 99498233 99520664 99498234 99519057 12 99498233,99502850,99504485,99508025,99509230,99510087,99511132,99512613,99512794,99517021,99517398,99518992, 99498431,99502921,99504672,99508121,99509343,99510227,99511219,99512634,99512939,99517068,99517480,99520664, 0 ZFYVE27 cmpl cmpl 0,2,1,2,2,1,0,0,0,1,0,1, 106 NM_001001991 chr11 - 35453375 35547579 35453903 35547133 11 35453375,35456059,35457450,35461174,35463028,35489548,35492148,35496177,35513592,35515643,35547060, 35454440,35456352,35457683,35461241,35463241,35489656,35492366,35496292,35513721,35515820,35547579, 0 PAMR1 cmpl cmpl 0,1,2,1,1,1,2,1,1,1,0, 918 NM_001001937 chr18 - 43664109 43684199 43664247 43678197 13 43664109,43664469,43666078,43666352,43666973,43667306,43668074,43669531,43669788,43671647,43675018,43678137,43684102, 43664329,43664620,43666223,43666460,43667198,43667458,43668223,43669698,43669962,43671817,43675097,43678245,43684199, 0 ATP5A1 cmpl cmpl 2,1,0,0,0,1,2,0,0,1,0,0,-1, 1285 NM_001013406 chr7 - 91828282 91875228 91830049 91871449 17 91828282,91830620,91842508,91843205,91843924,91851215,91852135,91855033,91855839,91864121,91864716,91865726,91866980,91870306,91871347,91874215,91875103, 91830118,91830737,91842715,91843293,91844091,91851367,91852292,91855141,91855996,91864237,91864960,91865856,91867073,91870466,91871451,91874485,91875228, 0 KRIT1 cmpl cmpl 0,0,0,2,0,1,0,0,2,0,2,1,1,0,0,-1,-1, 837 NM_001002010 chr7 - 33053724 33102409 33054341 33102332 9 33053724,33055281,33057050,33059246,33060883,33061664,33063650,33066428,33102179, 33054443,33055482,33057213,33059336,33060969,33061711,33063720,33066527,33102409, 0 NT5C3A cmpl cmpl 0,0,2,2,0,1,0,0,0, 109 NM_001001894 chr21 + 38445570 38575408 38459557 38573875 46 38445570,38459546,38460132,38460495,38461098,38462532,38463592,38466304,38467649,38468880,38480691,38494116,38495282,38496918,38498379,38501302,38504981,38507679,38510933,38512860,38516824,38519780,38520845,38522377,38523119,38524192,38525250,38528956,38532000,38533103,38534291,38536352,38537851,38539856,38544896,38555075,38558006,38559349,38560795,38563634,38564412,38567975,38569870,38570182,38572532,38573740, 38445664,38459701,38460175,38460646,38461186,38462586,38463713,38466390,38467744,38468943,38480746,38494279,38495328,38497042,38498443,38501363,38505066,38507814,38511014,38512973,38516945,38519903,38520947,38522470,38523184,38524329,38525577,38529208,38532047,38533160,38534365,38536517,38538917,38539922,38545046,38555215,38558075,38559446,38560896,38563725,38564514,38568337,38569997,38570326,38572625,38575408, 0 TTC3 cmpl cmpl -1,0,0,1,2,0,0,1,0,2,2,0,1,2,0,1,2,0,0,0,2,0,0,0,0,2,1,1,1,0,0,2,2,0,0,0,2,2,0,2,0,0,2,0,0,0, 128 NM_001001872 chr14 - 58470807 58618847 58471453 58606076 8 58470807,58471765,58478836,58563441,58598229,58599807,58604707,58618792, 58471522,58471900,58478868,58563699,58598439,58600059,58606132,58618847, 0 C14orf37 cmpl cmpl 0,0,1,1,1,1,0,-1, 1420 NM_001001655 chr12 - 109525992 109531293 109526010 109530591 4 109525992,109527813,109530311,109531051, 109526317,109528012,109530592,109531293, 0 ALKBH2 cmpl cmpl 2,1,0,-1, 1326 NM_001001557 chr8 - 97154557 97173020 97156790 97172920 2 97154557,97172514, 97157752,97173020, 0 GDF6 cmpl cmpl 1,0, 821 NM_001001479 chr22 + 31031792 31043862 31032437 31043018 2 31031792,31042584, 31033056,31043862, 0 SLC35E4 cmpl cmpl 0,1, 848 NM_001001435 chr17 + 34538467 34540274 34538543 34539971 3 34538467,34539177,34539883, 34538619,34539292,34540274, 0 CCL4L1 cmpl cmpl 0,1,2, 849 NM_001001435 chr17 + 34640033 34641840 34640109 34641537 3 34640033,34640743,34641449, 34640185,34640858,34641840, 0 CCL4L1 cmpl cmpl 0,1,2, 1573 NR_110278 chr2 + 129622173 129626301 129626301 129626301 3 129622173,129623244,129625431, 129622330,129623308,129626301, 0 LOC101927881 unk unk -1,-1,-1, 775 NM_001288833 chr22 + 24999123 25024972 25007048 25024806 16 24999123,25003920,25005931,25006216,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999494,25003990,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 775 NM_013421 chr22 + 24999123 25024972 25007048 25024806 17 24999123,25003920,25004956,25005931,25006324,25007041,25010742,25011007,25016294,25016879,25019073,25019746,25023398,25023818,25024047,25024241,25024659, 24999288,25003990,25005198,25006000,25006498,25007212,25010873,25011094,25016487,25017037,25019223,25019883,25023586,25023946,25024160,25024355,25024972, 0 GGT1 cmpl cmpl -1,-1,-1,-1,-1,0,2,1,1,2,1,1,0,2,1,0,0, 698 NR_037841 chr20 - 14864898 14910164 14910164 14910164 3 14864898,14868741,14910020, 14865240,14868950,14910164, 0 MACROD2-AS1 unk unk -1,-1,-1, 698 NR_110318 chr20 - 14864898 14910164 14910164 14910164 2 14864898,14910020, 14865240,14910164, 0 MACROD2-AS1 unk unk -1,-1, 698 NR_072988 chr20 - 14885586 14910164 14910164 14910164 2 14885586,14910020, 14886675,14910164, 0 MACROD2-AS1 unk unk -1,-1, 825 NM_001289160 chr6 + 31462657 31478901 31473419 31477686 6 31462657,31473393,31473919,31474798,31475176,31477558, 31462772,31473648,31474207,31475077,31475308,31478901, 0 MICB cmpl cmpl -1,0,1,1,1,1, 825 NM_001289161 chr6 + 31465826 31478901 31465970 31477686 6 31465826,31473393,31474048,31474798,31475176,31477558, 31466040,31473648,31474207,31475077,31475308,31478901, 0 MICB cmpl cmpl 0,1,1,1,1,1, 21 NM_001202544 chr7 + 101459183 101927250 101459310 101926382 22 101459183,101559394,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_001202545 chr7 + 101459183 101927250 101459310 101926382 22 101459183,101559394,101671377,101713618,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101671425,101713697,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,0,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_001913 chr7 + 101459183 101927250 101459310 101926382 23 101459183,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821748,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_181500 chr7 + 101459183 101927250 101459310 101926382 23 101459183,101559394,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821754,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101559505,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 21 NM_001202546 chr7 + 101459287 101927250 101459310 101926382 22 101459287,101671377,101713618,101740643,101747615,101754977,101758486,101801839,101813725,101821754,101833092,101837121,101838786,101916636,101917514,101918517,101921219,101923328,101924095,101925131,101926003,101926312, 101459373,101671425,101713697,101740781,101747739,101755054,101758553,101801888,101813830,101821937,101833151,101837170,101838883,101916764,101917581,101918630,101921336,101923412,101924152,101925212,101926068,101927250, 0 CUX1 cmpl cmpl 0,0,0,1,1,2,1,2,0,0,0,2,0,1,0,1,0,0,0,0,0,2, 722 NM_001160179 chr8 + 18027970 18081198 18079556 18080429 5 18027970,18028187,18067289,18076919,18079550, 18028016,18028248,18067464,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,-1,0, 722 NM_000662 chr8 + 18067617 18081198 18079556 18080429 3 18067617,18076919,18079550, 18067689,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,0, 722 NM_001160170 chr8 + 18067617 18081198 18079556 18080429 5 18067617,18068701,18069899,18076919,18079550, 18067689,18068851,18070283,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,-1,0, 722 NM_001160171 chr8 + 18067617 18081198 18079556 18080429 4 18067617,18069899,18076919,18079550, 18067689,18070283,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,0, 722 NM_001160172 chr8 + 18067617 18081198 18079556 18080429 5 18067617,18068701,18069899,18076919,18079550, 18067689,18068851,18070054,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,-1,0, 722 NM_001160173 chr8 + 18067617 18081198 18079556 18080429 4 18067617,18068701,18076919,18079550, 18067689,18068851,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,-1,0, 722 NM_001160175 chr8 + 18067617 18081198 18074402 18080429 5 18067617,18068701,18074385,18076919,18079550, 18067689,18068851,18074503,18076998,18081198, 0 NAT1 cmpl cmpl -1,-1,0,2,0, 722 NM_001160176 chr8 + 18067617 18081198 18074402 18080429 4 18067617,18074385,18076919,18079550, 18067689,18074503,18076998,18081198, 0 NAT1 cmpl cmpl -1,0,2,0, 722 NM_001160174 chr8 + 18079176 18081198 18079556 18080429 1 18079176, 18081198, 0 NAT1 cmpl cmpl 0, 9 NM_001289397 chr9 + 2015218 2193623 2029022 2192739 33 2015218,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2181570,2182140,2186095,2191265,2192703, 2015404,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2086897,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,0,0,1,0, 9 NM_001289396 chr9 + 2021944 2193623 2029022 2192739 34 2021944,2028986,2032951,2039465,2047228,2054596,2056671,2058290,2060815,2070417,2073211,2073565,2076228,2077628,2081831,2083346,2084085,2086828,2088499,2096656,2097384,2101569,2104002,2110253,2115821,2119457,2123718,2161685,2170418,2181570,2182140,2186095,2191265,2192703, 2022117,2029247,2033081,2039900,2047484,2054723,2056845,2058464,2060986,2070471,2073342,2073623,2076329,2077776,2081995,2083413,2084196,2087071,2088613,2096764,2097471,2101616,2104169,2110417,2116049,2119535,2123937,2161903,2170472,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,1,1,2,0,0,0,0,0,2,0,2,0,2,0,0,0,0,0,0,2,1,0,0,0,0,2,2,0,0,1,0, 601 NM_001289398 chr9 + 2157679 2193623 2157881 2192739 7 2157679,2161685,2181570,2182140,2186095,2191265,2192703, 2157890,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl 0,0,2,0,0,1,0, 601 NM_001289399 chr9 + 2158451 2193623 2159816 2192739 8 2158451,2159813,2161685,2181570,2182140,2186095,2191265,2192703, 2158553,2159909,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl -1,0,0,2,0,0,1,0, 601 NM_001289400 chr9 + 2158455 2193623 2158975 2192739 8 2158455,2159813,2161685,2181570,2182140,2186095,2191265,2192703, 2158978,2159909,2161903,2181676,2182242,2186228,2191408,2193623, 0 SMARCA2 cmpl cmpl 0,0,0,2,0,0,1,0, 1706 NR_024499 chrX - 146990948 147003676 147003676 147003676 2 146990948,147003450, 146993748,147003676, 0 FMR1-AS1 unk unk -1,-1, 1706 NR_024501 chrX - 146990948 147003676 147003676 147003676 3 146990948,146992895,147003448, 146992513,146993746,147003676, 0 FMR1-AS1 unk unk -1,-1,-1, 1706 NR_024502 chrX - 146990948 147003676 147003676 147003676 4 146990948,146992798,146993159,147003448, 146992513,146992902,146993746,147003676, 0 FMR1-AS1 unk unk -1,-1,-1,-1, 1706 NR_024503 chrX - 146990948 147003676 147003676 147003676 3 146990948,146993159,147003448, 146992513,146993746,147003676, 0 FMR1-AS1 unk unk -1,-1,-1, 622 NM_001005238 chr11 - 4935948 4936893 4935948 4936893 1 4935948, 4936893, 0 OR51G2 cmpl cmpl 0, 1533 NM_001005196 chr11 - 124293837 124294767 124293837 124294767 1 124293837, 124294767, 0 OR8B4 cmpl cmpl 0, 627 NM_001005162 chr11 + 5602106 5603114 5602106 5603114 1 5602106, 5603114, 0 OR52B6 cmpl cmpl 0, 1014 NM_001004742 chr11 - 56236963 56238014 56237049 56237973 1 56236963, 56238014, 0 OR5M3 cmpl cmpl 0, 741 NM_001004717 chr14 + 20528203 20529142 20528203 20529142 1 20528203, 20529142, 0 OR4L1 cmpl cmpl 0, 953 NM_001004702 chr11 + 48346492 48347482 48346492 48347482 1 48346492, 48347482, 0 OR4C3 cmpl cmpl 0, 2480 NM_001004691 chr1 - 248486931 248487870 248486931 248487870 1 248486931, 248487870, 0 OR2M7 cmpl cmpl 0, 2479 NM_001004689 chr1 + 248366369 248367308 248366369 248367308 1 248366369, 248367308, 0 OR2M3 cmpl cmpl 0, 637 NM_001004684 chr11 + 6942232 6943225 6942232 6943225 1 6942232, 6943225, 0 OR2D3 cmpl cmpl 0, 637 NM_001004460 chr11 + 6890985 6891897 6890985 6891897 1 6890985, 6891897, 0 OR10A2 cmpl cmpl 0, 863 NM_001004334 chr17 - 36481492 36499693 36482347 36499672 11 36481492,36489133,36489815,36490586,36490915,36491473,36491958,36492860,36493515,36495299,36498878, 36487414,36489280,36489921,36490725,36491154,36491583,36492027,36493096,36493603,36495408,36499693, 0 GPR179 cmpl cmpl 0,0,2,1,2,0,0,1,0,2,0, 1403 NM_001001961 chr9 - 107298050 107299094 107298050 107299094 1 107298050, 107299094, 0 OR13C3 cmpl cmpl 0, 1010 NM_001001921 chr11 + 55797894 55798869 55797894 55798869 1 55797894, 55798869, 0 OR5AS1 cmpl cmpl 0, 38 NM_001001918 chr1 + 248512076 248513015 248512076 248513015 1 248512076, 248513015, 0 OR14C36 cmpl cmpl 0, 969 NM_001001852 chr22 + 50354142 50357720 50354595 50356775 6 50354142,50354772,50354965,50355089,50356336,50356587, 50354680,50354882,50355016,50355459,50356513,50357720, 0 PIM3 cmpl cmpl 0,1,0,0,1,1, 2483 NM_001001824 chr1 - 248813231 248814185 248813231 248814185 1 248813231, 248814185, 0 OR2T27 cmpl cmpl 0, 894 NM_001289773 chrX + 40594647 40597953 40594700 40597510 2 40594647,40597444, 40595042,40597953, 0 MED14-AS1 cmpl cmpl 0,0, 1540 NR_110409 chrX + 125243744 125249545 125249545 125249545 3 125243744,125243896,125249184, 125243787,125244131,125249545, 0 RP11-13E5.2 unk unk -1,-1,-1, 636 NR_110497 chr2 - 6789238 6790651 6790651 6790651 2 6789238,6790237, 6789513,6790651, 0 LOC102800314 unk unk -1,-1, 928 NM_001102599 chr19 - 45010210 45033548 45010212 45033532 12 45010210,45015087,45015694,45016074,45016925,45016991,45017230,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45015730,45016136,45016990,45017012,45017348,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,0,1,2,2,1,1,1,1,1,0, 928 NM_001102600 chr19 - 45010210 45033548 45010212 45033532 12 45010210,45015087,45016074,45016925,45016991,45017230,45021006,45024507,45026662,45028018,45029133,45033480, 45010266,45015213,45016136,45016990,45017012,45017348,45021285,45024786,45026941,45028294,45029277,45033548, 0 CEACAM20 cmpl cmpl 0,0,1,2,2,1,1,1,1,1,1,0, 73 NM_001039127 chr4 + 53192 157949 53382 155912 5 53192,59322,59952,59958,154701, 53385,59452,59957,60046,157949, 0 ZNF718 cmpl cmpl 0,0,1,0,1, 73 NR_110527 chr4 + 53192 196095 196095 196095 5 53192,59322,59952,194869,195420, 53385,59452,60046,195000,196095, 0 ZNF718 unk unk -1,-1,-1,-1,-1, 73 NM_001289931 chr4 + 56867 157949 59415 155912 5 56867,59322,59952,59958,154701, 56989,59452,59957,60046,157949, 0 ZNF718 cmpl cmpl -1,0,1,0,1, 73 NM_001289930 chr4 + 124357 157949 154698 155912 2 124357,154698, 125179,157949, 0 ZNF718 incmpl cmpl -1,1, 73 NR_110529 chr4 + 124357 157949 157949 157949 2 124357,154701, 124555,157949, 0 ZNF718 unk unk -1,-1, 73 NR_110528 chr4 + 124357 196095 196095 196095 3 124357,194869,195420, 124555,195000,196095, 0 ZNF718 unk unk -1,-1,-1, 110 NR_110545 chr21 - 39698280 39717998 39717998 39717998 6 39698280,39703642,39704347,39704883,39705237,39717816, 39698467,39703710,39704399,39704954,39705298,39717998, 0 AP001422.3 unk unk -1,-1,-1,-1,-1,-1, 620 NM_001014985 chr17 + 4692253 4693884 4692306 4693591 4 4692253,4692520,4692805,4693053, 4692412,4692585,4692972,4693884, 0 GLTPD2 cmpl cmpl 0,1,0,2, 726 NM_001261384 chr11 - 18552949 18610293 18553866 18587996 10 18552949,18555876,18557952,18566169,18568426,18579774,18586438,18587893,18596893,18610159, 18554034,18556000,18558016,18566343,18568597,18579877,18586557,18588029,18596959,18610293, 0 UEVLD cmpl cmpl 0,2,1,1,1,0,1,0,-1,-1, 149 NR_110578 chr17 - 80200536 80231618 80231618 80231618 9 80200536,80203851,80206750,80207306,80209254,80210309,80213304,80223561,80231181, 80202707,80203915,80206890,80207478,80209403,80210480,80213453,80223672,80231618, 0 CSNK1D unk unk -1,-1,-1,-1,-1,-1,-1,-1,-1, datamash-1.9/examples/readme.md0000644000000000000000000001743614352357450012214 # GNU Datamash - Usage Examples This directory contains sample files demonstrating typical usage of the `datamash` program. `datamash` is a command-line calculator of basic operations on columnar input files. ## Synopsis `datamash` reads input from STDIN, and performs operations (e.g. sum, mean, count) on specified columns: datamash [OPTIONS] op1 column1 [op2 column2]... **op1** is the operation to perform, one of: count,sum,min,max,absmin, absmax,mean,median,mode,antimode,pstdev,sstdev,pvar,svar. **column1** is the column (in the input file) to use for **op1**. **OPTIONS** are possible command-line options which affect the behaviour of `datamash`. Example: sum and count the number of even values between 0 and 100: $ seq 0 2 100 | datamash sum 1 2550 $ seq 0 2 100 | datamash count 1 51 ## Example: Test Scores The file `scores.txt` contains tests scores of college students of different majors (Arts, Business, Health and Medicine, Life Sciences, Engineering, Social Sciences). The files has three columns: Name, Major, Score: $ cat scores.txt Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 Walter Arts 75 ... Using `datamash`, find the lowest (min) and highest (max) score for each College Major: (Major is in column 2, the score values are in column 3): $ datamash -g 2 min 3 max 3 < scores.txt Arts 46 88 Business 79 94 Health-Medicine 72 100 Social-Sciences 27 90 Life-Sciences 14 91 Engineering 39 99 Similarly, find the number of students, mean score and sample-standard-deviation for each College major: $ datamash -g 2 count 3 mean 3 sstdev 3 < scores.txt Arts 68.9474 10.4215 Business 87.3636 5.18214 Health-Medicine 90.6154 9.22441 Social-Sciences 60.2667 17.2273 Life-Sciences 55.3333 20.606 Engineering 66.5385 19.8814 ## Example: Header Lines A *header line* is an optional first line in the input or output files, which labels each column. `datamash` can generate header line in the output file, even if the input file doesn't have a header line (`scores.txt` does not have a header line, the first line in the file contains data). Use '--header-out' to add a header line to the output (when the input does not contain a header line): $ datamash --header-out -g 2 count 3 mean 3 pstdev 3 < scores.txt GroupBy(field-2) mean(field-3) sstdev(field-3) Arts 68.9474 10.4215 Business 87.3636 5.18214 Health-Medicine 90.6154 9.22441 Social-Sciences 60.2667 17.2273 Life-Sciences 55.3333 20.606 Engineering 66.5385 19.8814 When the input file has a header line, `datamash` can will use the labels from each column in the output header line. `scores_h.txt` contains the same information as `scores.txt`, with an additional header line: $ cat scores_h.txt Name Major Score Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 Walter Arts 75 ... Use `-H` (equivalent to `--header-in --header-out`) to use input headers and print output headers: $ datamash -H -g 2 count 3 mean 3 pstdev 3 < scores_h.txt GroupBy(Major) mean(Score) sstdev(Score) Arts 68.9474 10.4215 Business 87.3636 5.18214 Health-Medicine 90.6154 9.22441 Social-Sciences 60.2667 17.2273 Life-Sciences 55.3333 20.606 Engineering 66.5385 19.8814 ## Example: Human Genes **NOTE:** The follow examples assume some biology background knowledge. The `genes.txt` file contains a small subset of the Human Genome genes. The full dataset is available at the [UCSC Genome Browser](http://hgdownload.cse.ucsc.edu/downloads.html)'s [Human Genome Database](http://hgdownload.soe.ucsc.edu/goldenPath/hg19/database/) as [refGene.txt.gz](http://hgdownload.soe.ucsc.edu/goldenPath/hg19/database/refGene.txt.gz). The columns of `genes.txt` are: 1. bin 2. name - isoform/transcript identifier 3. chromosome 4. strand 5. txStart - transcription start site 6. txEnda - transcription end site 7. cdsStart - coding start site 8. cdsEnd - coding end site 9. exonCount - number of exons 10. exonStarts 11. exonEnds 12. score 13. GeneName - gene identifier 14. cdsStartStat 15. cdsEndStat 16. exonFrames ### Number of isoforms per gene The gene identifiers are in column 13, the transcript identifiers are in column 2. To count how many isoforms each gene has, use `datamash` to group by column 13, and for each group, count the values in column 2 (use `-s` to automatically sort the input file): $ datamash -s -g 13 count 2 < genes.txt ABCC1 1 ABCC10 2 ABCC11 3 ABCC12 1 ABCC13 2 ... Using the `collapse` operation, we can print all the isoforms for each gene: $ datamash -s -g 13 count 2 collapse 2 < genes.txt ABCC1 1 NM_004996 ABCC10 2 NM_001198934,NM_033450 ABCC11 3 NM_032583,NM_033151,NM_145186 ABCC12 1 NM_033226 ABCC13 2 NR_003087,NR_003088 ... ### Combining datamash with other programs Combining `datamash` with additional filtering programs (such as `awk`), we can find relevant information, such as: Which genes have more than 5 isoforms? $ cat genes.txt | datamash -s -g 13 count 2 collapse 2 | awk '$2>5' AC159540.1 6 NR_040097,NR_103732,NR_103733,NR_040097,NR_103732,NR_103733 ACSF3 6 NM_001127214,NM_001243279,NM_001284316,NM_174917,NR_045667,NR_104293 ADAM29 7 NM_001130703,NM_001130704,NM_001130705,NM_001278125,NM_001278126,NM_001278127,NM_014269 AIPL1 8 NM_001033054,NM_001033055,NM_001285399,NM_001285400,NM_001285401,NM_001285402,NM_001285403,NM_014336 ANXA8 6 NM_001040084,NM_001271702,NM_001271703,NM_001040084,NM_001271702,NM_001271703 ... Using `datamash` we can quickly explore the dataset and answer simple question, such as: How many genes are transcribed from both strands (that is, they have isoforms with both positive and negative strands. strand column is number 4): $ cat genes.txt | datamash -s -g 13 countunique 4 | awk '$2>1' AC159540.1 2 AMY1C 2 ANXA8 2 BMS1P17 2 BMS1P18 2 ... Which genes are transcribed from multiple chromosomes (that is, they have isoforms from multiple chromosomes. Chromosome column is number 3): $ cat genes.txt | datamash -s -g 13 countunique 2 unique 2 | awk '$2>1' AKAP17A 2 chrX,chrY ASMT 2 chrX,chrY ASMTL 2 chrX,chrY ASMTL-AS1 2 chrX,chrY BMS1P17 2 chr14,chr22 ... Explore Exon-count variability (for each gene, list the minimum, maximum, mean and stddev of the exon-count of its isoforms. Exon-Count column is number 9): $ cat genes.txt | datamash -s -g 13 count 9 min 9 max 9 mean 9 pstdev 9 | awk '$2>1' ABCC10 2 20 22 21 1 ABCC11 3 29 30 29.3 0.471405 ABCC13 2 5 6 5.5 0.5 ABCC3 2 12 31 21.5 9.5 AC159540.1 6 4 5 4.1 0.372678 ... ### Grouping multiple fields Chromosome name is in column 3. How many transcripts are in each chromosome? $ datamash -s -g 3 count 2 < genes.txt chr1 365 chr10 164 chr11 189 chr12 187 chr13 66 ... Strand information is in column 4. How many transcripts are in each chromsomse AND strand? $ datamash -s -g 3,4 count 2 < genes.txt chr1 - 183 chr1 + 182 chr10 - 52 chr10 + 112 chr11 - 105 chr11 + 84 chr12 - 117 chr12 + 70 ... ## More Information For more information about `datamash` usage, run `datamash --help`, and the [datamash Website](https://www.gnu.org/software/datamash). datamash-1.9/examples/scores.txt0000644000000000000000000000341114352357450012460 Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 Walter Arts 75 Derek Arts 60 Nathaniel Arts 88 Tyreque Arts 74 Trevon Arts 74 Nathan Arts 71 Zachary Arts 80 Donovan Arts 75 Levi Arts 76 Sage Arts 55 Roberto Arts 65 William Arts 46 Nico Arts 59 Bryan Arts 68 Isaiah Arts 80 David Business 92 Leonard Business 87 Tysza Business 92 Darren Business 94 Christian Business 88 Aaron Business 83 Kerris Business 82 Dakota Business 83 Teriuse Business 94 Caleb Business 87 Juan Business 79 Andre Health-Medicine 72 Diego Health-Medicine 82 Jonathan Health-Medicine 100 Kevin Health-Medicine 100 Patrick Health-Medicine 92 D'Angelo Health-Medicine 90 Daniel Health-Medicine 91 Dilan Health-Medicine 84 Angel Health-Medicine 100 Peter Health-Medicine 86 Dalton Health-Medicine 100 Israel Health-Medicine 81 Gabriel Health-Medicine 100 Chase Social-Sciences 27 Leroy Social-Sciences 74 Jesse Social-Sciences 32 Drake Social-Sciences 76 Ja'Won Social-Sciences 37 Joel Social-Sciences 72 Darius Social-Sciences 51 David Social-Sciences 69 Williams Social-Sciences 62 Manuel Social-Sciences 61 Lance Social-Sciences 65 Drake Social-Sciences 59 Joseph Social-Sciences 61 Randy Social-Sciences 68 Justin Social-Sciences 90 Yeng Life-Sciences 39 Allen Life-Sciences 50 Brandon Life-Sciences 72 Christian Life-Sciences 67 Aaron Life-Sciences 58 Gurnam Life-Sciences 66 Anthony Life-Sciences 32 Joshua Life-Sciences 14 Nathen Life-Sciences 46 Christopher Life-Sciences 59 John Life-Sciences 70 Austin Life-Sciences 91 Antonio Engineering 88 Faison Engineering 47 Devin Engineering 92 Ignatius Engineering 83 Sonny Engineering 50 Antonio Engineering 56 Zackery Engineering 54 Joe'Quann Engineering 75 Thanh Engineering 53 Michael Engineering 39 Leonardo Engineering 78 Omar Engineering 99 Avery Engineering 51 datamash-1.9/examples/scores_h.txt0000644000000000000000000000343214352357450012772 Name Major Score Shawn Arts 65 Marques Arts 58 Fernando Arts 78 Paul Arts 63 Walter Arts 75 Derek Arts 60 Nathaniel Arts 88 Tyreque Arts 74 Trevon Arts 74 Nathan Arts 71 Zachary Arts 80 Donovan Arts 75 Levi Arts 76 Sage Arts 55 Roberto Arts 65 William Arts 46 Nico Arts 59 Bryan Arts 68 Isaiah Arts 80 David Business 92 Leonard Business 87 Tysza Business 92 Darren Business 94 Christian Business 88 Aaron Business 83 Kerris Business 82 Dakota Business 83 Teriuse Business 94 Caleb Business 87 Juan Business 79 Andre Health-Medicine 72 Diego Health-Medicine 82 Jonathan Health-Medicine 100 Kevin Health-Medicine 100 Patrick Health-Medicine 92 D'Angelo Health-Medicine 90 Daniel Health-Medicine 91 Dilan Health-Medicine 84 Angel Health-Medicine 100 Peter Health-Medicine 86 Dalton Health-Medicine 100 Israel Health-Medicine 81 Gabriel Health-Medicine 100 Chase Social-Sciences 27 Leroy Social-Sciences 74 Jesse Social-Sciences 32 Drake Social-Sciences 76 Ja'Won Social-Sciences 37 Joel Social-Sciences 72 Darius Social-Sciences 51 David Social-Sciences 69 Williams Social-Sciences 62 Manuel Social-Sciences 61 Lance Social-Sciences 65 Drake Social-Sciences 59 Joseph Social-Sciences 61 Randy Social-Sciences 68 Justin Social-Sciences 90 Yeng Life-Sciences 39 Allen Life-Sciences 50 Brandon Life-Sciences 72 Christian Life-Sciences 67 Aaron Life-Sciences 58 Gurnam Life-Sciences 66 Anthony Life-Sciences 32 Joshua Life-Sciences 14 Nathen Life-Sciences 46 Christopher Life-Sciences 59 John Life-Sciences 70 Austin Life-Sciences 91 Antonio Engineering 88 Faison Engineering 47 Devin Engineering 92 Ignatius Engineering 83 Sonny Engineering 50 Antonio Engineering 56 Zackery Engineering 54 Joe'Quann Engineering 75 Thanh Engineering 53 Michael Engineering 39 Leonardo Engineering 78 Omar Engineering 99 Avery Engineering 51 datamash-1.9/init.cfg0000644000000000000000000000426414771573715010247 # This file is sourced by init.sh, *before* its initialization. ## ## The file was copied from GNU coreutils, with the following license: ## # Copyright (C) 2010-2014 Free Software Foundation, Inc. # Modifications for GNU Datamash are # Copyright (C) 2014-2021 Assaf Gordon # 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 . # This goes hand in hand with the "exec 9>&2;" in tests/Makefile.am's # TESTS_ENVIRONMENT definition. stderr_fileno_=9 # Skip the current test if valgrind doesn't work, # which could happen if not installed, # or hasn't support for the built architecture, # or hasn't appropriate error suppressions installed etc. require_valgrind_() { valgrind --error-exitcode=1 true 2>/dev/null || skip_ "requires a working valgrind" } # Skip the current test if 'paste' doesn't work. # Alpine linux does not have 'paste' in the default minimal installation. require_paste_() { paste - /dev/null || skip_ "requires a working paste(1)" } openbsd_seq_replacement_() { ## Wrap jot on OpenBSD since it doesn't have seq test "$(uname -s)" = OpenBSD || return seq() { if [ $# -eq 1 ]; then jot "$1" elif [ $# -eq 2 ]; then jot - "$1" "$2" fi } } expensive_() { if test "$RUN_EXPENSIVE_TESTS" != yes; then skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' fi } datamash-1.9/lib/0000755000000000000000000000000014774035553007437 5datamash-1.9/lib/_Noreturn.h0000644000000000000000000000460614767401140011500 /* A C macro for declaring that a function does not return. Copyright (C) 2011-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER)) \ && 0) /* [[noreturn]] is not practically usable, because with it the syntax extern _Noreturn void func (...); would not be valid; such a declaration would only be valid with 'extern' and '_Noreturn' swapped, or without the 'extern' keyword. However, some AIX system header files and several gnulib header files use precisely this syntax with 'extern'. */ # define _Noreturn [[noreturn]] # elif (defined __clang__ && __clang_major__ < 16 \ && defined _GL_WORK_AROUND_LLVM_BUG_59792) /* Compile with -D_GL_WORK_AROUND_LLVM_BUG_59792 to work around that rare LLVM bug, though you may get many false-alarm warnings. */ # define _Noreturn # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || (!defined __STRICT_ANSI__ \ && (4 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __clang__ \ || (defined __apple_build_version__ \ ? 6000000 <= __apple_build_version__ \ : 3 < __clang_major__ + (5 <= __clang_minor__)))))) /* _Noreturn works as-is. */ # elif (2 < __GNUC__ + (8 <= __GNUC_MINOR__) || defined __clang__ \ || 0x5110 <= __SUNPRO_C) # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif datamash-1.9/lib/af_alg.c0000644000000000000000000001527614767401140010736 /* af_alg.c - Compute message digests from file streams and buffers. Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Matteo Croce , 2018. */ #include #include "af_alg.h" #if USE_LINUX_CRYPTO_API #include #include #include #include #include #include #include #include #include "sys-limits.h" #define BLOCKSIZE 32768 /* Return a newly created socket for ALG. On error, return a negative error number. */ static int alg_socket (char const *alg) { struct sockaddr_alg salg = { .salg_family = AF_ALG, .salg_type = "hash", }; /* Copy alg into salg.salg_name, without calling strcpy nor strlen. */ for (size_t i = 0; (salg.salg_name[i] = alg[i]) != '\0'; i++) if (i == sizeof salg.salg_name - 1) /* alg is too long. */ return -EINVAL; int cfd = socket (AF_ALG, SOCK_SEQPACKET | SOCK_CLOEXEC, 0); if (cfd < 0) return -EAFNOSUPPORT; int ofd = (bind (cfd, (struct sockaddr *) &salg, sizeof salg) == 0 ? accept4 (cfd, NULL, 0, SOCK_CLOEXEC) : -1); close (cfd); return ofd < 0 ? -EAFNOSUPPORT : ofd; } int afalg_buffer (const char *buffer, size_t len, const char *alg, void *resblock, ssize_t hashlen) { /* On Linux < 4.9, the value for an empty stream is wrong (all zeroes). See . This was not fixed properly until November 2016, see . */ if (len == 0) return -EAFNOSUPPORT; int ofd = alg_socket (alg); if (ofd < 0) return ofd; int result; for (;;) { ssize_t size = (len > BLOCKSIZE ? BLOCKSIZE : len); if (send (ofd, buffer, size, MSG_MORE) != size) { result = -EAFNOSUPPORT; break; } buffer += size; len -= size; if (len == 0) { result = read (ofd, resblock, hashlen) == hashlen ? 0 : -EAFNOSUPPORT; break; } } close (ofd); return result; } int afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen) { int ofd = alg_socket (alg); if (ofd < 0) return ofd; /* If STREAM's size is known and nonzero and not too large, attempt sendfile to pipe the data. The nonzero restriction avoids issues with /proc files that pretend to be empty, and lets the classic read-write loop work around an empty-input bug noted below. */ int fd = fileno (stream); int result; struct stat st; off_t off = ftello (stream); if (0 <= off && fstat (fd, &st) == 0 && (S_ISREG (st.st_mode) || S_TYPEISSHM (&st) || S_TYPEISTMO (&st)) && off < st.st_size && st.st_size - off < SYS_BUFSIZE_MAX) { /* Make sure the offset of fileno (stream) reflects how many bytes have been read from stream before this function got invoked. Note: fflush on an input stream after ungetc does not work as expected on some platforms. Therefore this situation is not supported here. */ if (fflush (stream)) result = -EIO; else { off_t nbytes = st.st_size - off; if (sendfile (ofd, fd, &off, nbytes) == nbytes) { if (read (ofd, resblock, hashlen) == hashlen) { /* The input buffers of stream are no longer valid. */ if (lseek (fd, off, SEEK_SET) != (off_t)-1) result = 0; else /* The file position of fd has not changed. */ result = -EAFNOSUPPORT; } else /* The file position of fd has not changed. */ result = -EAFNOSUPPORT; } else /* The file position of fd has not changed. */ result = -EAFNOSUPPORT; } } else { /* sendfile not possible, do a classic read-write loop. */ /* Number of bytes to seek (backwards) in case of error. */ off_t nseek = 0; for (;;) { char buf[BLOCKSIZE]; /* When the stream is not seekable, start with a single-byte block, so that we can use ungetc() in the case that send() fails. */ size_t blocksize = (nseek == 0 && off < 0 ? 1 : BLOCKSIZE); ssize_t size = fread (buf, 1, blocksize, stream); if (size == 0) { /* On Linux < 4.9, the value for an empty stream is wrong (all 0). See . This was not fixed properly until November 2016, see . */ result = ferror (stream) ? -EIO : nseek == 0 ? -EAFNOSUPPORT : 0; break; } nseek -= size; if (send (ofd, buf, size, MSG_MORE) != size) { if (nseek == -1) { /* 1 byte of pushback buffer is guaranteed on stream, even if stream is not seekable. */ ungetc ((unsigned char) buf[0], stream); result = -EAFNOSUPPORT; } else if (fseeko (stream, nseek, SEEK_CUR) == 0) /* The position of stream has been restored. */ result = -EAFNOSUPPORT; else result = -EIO; break; } /* Don't assume that EOF is sticky. See: . */ if (feof (stream)) { result = 0; break; } } if (result == 0 && read (ofd, resblock, hashlen) != hashlen) { if (nseek == 0 || fseeko (stream, nseek, SEEK_CUR) == 0) /* The position of stream has been restored. */ result = -EAFNOSUPPORT; else result = -EIO; } } close (ofd); return result; } #endif datamash-1.9/lib/af_alg.h0000644000000000000000000000670414767401140010737 /* af_alg.h - Compute message digests from file streams and buffers. Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Matteo Croce , 2018. Documentation by Bruno Haible , 2018. */ /* Declare specific functions for computing message digests using the Linux kernel crypto API, if available. This kernel API gives access to specialized crypto instructions (that would also be available in user space) or to crypto devices (not directly available in user space). For a more complete set of facilities that use the Linux kernel crypto API, look at libkcapi. */ #ifndef AF_ALG_H # define AF_ALG_H 1 # include # include # ifdef __cplusplus extern "C" { # endif # if USE_LINUX_CRYPTO_API /* Compute a message digest of a memory region. The memory region starts at BUFFER and is LEN bytes long. ALG is the message digest algorithm; see the file /proc/crypto. RESBLOCK points to a block of HASHLEN bytes, for the result. HASHLEN must be the length of the message digest, in bytes, in particular: alg | hashlen -------+-------- md5 | 16 sha1 | 20 sha224 | 28 sha256 | 32 sha384 | 48 sha512 | 64 If successful, fill RESBLOCK and return 0. Upon failure, return a negated error number. */ int afalg_buffer (const char *buffer, size_t len, const char *alg, void *resblock, ssize_t hashlen); /* Compute a message digest of data read from STREAM. STREAM is an open file stream. The last operation on STREAM should not be 'ungetc', and if STREAM is also open for writing it should have been fflushed since its last write. Read from the current position to the end of STREAM. Handle regular files efficiently. ALG is the message digest algorithm; see the file /proc/crypto. RESBLOCK points to a block of HASHLEN bytes, for the result. HASHLEN must be the length of the message digest, in bytes, in particular: alg | hashlen -------+-------- md5 | 16 sha1 | 20 sha224 | 28 sha256 | 32 sha384 | 48 sha512 | 64 If successful, fill RESBLOCK and return 0. Upon failure, return a negated error number. Unless returning 0 or -EIO, restore STREAM's file position so that the caller can fall back on some other method. */ int afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen); # else static inline int afalg_buffer (const char *buffer, size_t len, const char *alg, void *resblock, ssize_t hashlen) { return -EAFNOSUPPORT; } static inline int afalg_stream (FILE *stream, const char *alg, void *resblock, ssize_t hashlen) { return -EAFNOSUPPORT; } # endif # ifdef __cplusplus } # endif #endif /* AF_ALG_H */ datamash-1.9/lib/alloca.in.h0000644000000000000000000000467414767401140011372 /* Memory allocation on the stack. Copyright (C) 1995, 1999, 2001-2004, 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H means there is a real alloca function. */ #ifndef _GL_ALLOCA_H #define _GL_ALLOCA_H /* alloca (N) returns a pointer to N bytes of memory allocated on the stack, which will last until the function returns. Use of alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns, - for huge N (say, N >= 65536) - you never know how large (or small) the stack is, and when the stack cannot fulfill the memory allocation request, the program just crashes. */ #ifndef alloca /* Some version of mingw have an that causes trouble when included after 'alloca' gets defined as a macro. As a workaround, include this first and define 'alloca' as a macro afterwards if needed. */ # if defined __GNUC__ && (defined _WIN32 && ! defined __CYGWIN__) && @HAVE_ALLOCA_H@ # include_next # endif #endif #ifndef alloca # if defined __GNUC__ || (__clang_major__ >= 4) # define alloca __builtin_alloca # elif defined _AIX # define alloca __alloca # elif defined _MSC_VER # include # define alloca _alloca # elif defined __DECC && defined __VMS # define alloca __ALLOCA # elif defined __TANDEM && defined _TNS_E_TARGET # ifdef __cplusplus extern "C" # endif void *_alloca (unsigned short); # pragma intrinsic (_alloca) # define alloca _alloca # elif defined __MVS__ # include # else # include # ifdef __cplusplus extern "C" # endif void *alloca (size_t); # endif #endif #endif /* _GL_ALLOCA_H */ datamash-1.9/lib/anytostr.c0000644000000000000000000000256114767401140011401 /* anytostr.c -- convert integers to printable strings Copyright (C) 2001, 2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert */ #include #include "inttostr.h" /* Convert I to a printable string in BUF, which must be at least INT_BUFSIZE_BOUND (INTTYPE) bytes long. Return the address of the printable string, which need not start at BUF. */ _GL_ATTRIBUTE_NODISCARD char * anytostr (inttype i, char *buf) { char *p = buf + INT_STRLEN_BOUND (inttype); *p = 0; if (i < 0) { do *--p = '0' - i % 10; while ((i /= 10) != 0); *--p = '-'; } else { do *--p = '0' + i % 10; while ((i /= 10) != 0); } return p; } datamash-1.9/lib/arg-nonnull.h0000644000000000000000000000235314767401140011756 /* A C macro for declaring that specific arguments must not be NULL. Copyright (C) 2009-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools that the values passed as arguments n, ..., m must be non-NULL pointers. n = 1 stands for the first argument, n = 2 for the second argument etc. */ #ifndef _GL_ARG_NONNULL # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || defined __clang__ # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) # else # define _GL_ARG_NONNULL(params) # endif #endif datamash-1.9/lib/arpa_inet.c0000644000000000000000000000152714767401140011461 /* Inline functions for . Copyright (C) 2024-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define _GL_ARPA_INET_INLINE _GL_EXTERN_INLINE #include datamash-1.9/lib/arpa_inet.in.h0000644000000000000000000001374514767401140012100 /* A GNU-like . Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_ARPA_INET_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_FEATURES_H@ # include /* for __GLIBC__ */ #endif /* Gnulib's sys/socket.h is responsible for defining socklen_t (used below) and for pulling in winsock2.h etc. under MinGW. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* On NonStop Kernel, inet_ntop and inet_pton are declared in . But avoid namespace pollution on glibc systems. */ #if defined __TANDEM && !defined __GLIBC__ # include #endif #if @HAVE_ARPA_INET_H@ /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_ARPA_INET_H@ #endif #ifndef _@GUARD_PREFIX@_ARPA_INET_H #define _@GUARD_PREFIX@_ARPA_INET_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get all possible declarations of inet_ntop() and inet_pton(). */ #if (@GNULIB_INET_NTOP@ || @GNULIB_INET_PTON@ || defined GNULIB_POSIXCHECK) \ && @HAVE_WS2TCPIP_H@ # include #endif #if !(@HAVE_DECL_HTONL@ || @HAVE_DECL_HTONS@ || @HAVE_DECL_NTOHL@ || @HAVE_DECL_NTOHS@) # include #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_ARPA_INET_INLINE # define _GL_ARPA_INET_INLINE _GL_INLINE #endif /* Host to network byte order. */ #if !@HAVE_DECL_HTONS@ _GL_ARPA_INET_INLINE uint16_t htons (uint16_t value) { return htobe16 (value); } #endif #if !@HAVE_DECL_HTONL@ _GL_ARPA_INET_INLINE uint32_t htonl (uint32_t value) { return htobe32 (value); } #endif /* Network to host byte order. */ #if !@HAVE_DECL_NTOHS@ _GL_ARPA_INET_INLINE uint16_t ntohs (uint16_t value) { return htobe16 (value); } #endif #if !@HAVE_DECL_NTOHL@ _GL_ARPA_INET_INLINE uint32_t ntohl (uint32_t value) { return htobe32 (value); } #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if @GNULIB_INET_NTOP@ /* Converts an internet address from internal format to a printable, presentable format. AF is an internet address family, such as AF_INET or AF_INET6. SRC points to a 'struct in_addr' (for AF_INET) or 'struct in6_addr' (for AF_INET6). DST points to a buffer having room for CNT bytes. The printable representation of the address (in numeric form, not surrounded by [...], no reverse DNS is done) is placed in DST, and DST is returned. If an error occurs, the return value is NULL and errno is set. If CNT bytes are not sufficient to hold the result, the return value is NULL and errno is set to ENOSPC. A good value for CNT is 46. For more details, see the POSIX:2008 specification . */ # if @REPLACE_INET_NTOP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef inet_ntop # define inet_ntop rpl_inet_ntop # endif _GL_FUNCDECL_RPL (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt)); # else # if !@HAVE_DECL_INET_NTOP@ _GL_FUNCDECL_SYS (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt), _GL_ARG_NONNULL ((2, 3))); # endif /* Need to cast, because on NonStop Kernel, the fourth parameter is size_t cnt. */ _GL_CXXALIAS_SYS_CAST (inet_ntop, const char *, (int af, const void *restrict src, char *restrict dst, socklen_t cnt)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (inet_ntop); # endif #elif defined GNULIB_POSIXCHECK # undef inet_ntop # if HAVE_RAW_DECL_INET_NTOP _GL_WARN_ON_USE (inet_ntop, "inet_ntop is unportable - " "use gnulib module inet_ntop for portability"); # endif #endif #if @GNULIB_INET_PTON@ # if @REPLACE_INET_PTON@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef inet_pton # define inet_pton rpl_inet_pton # endif _GL_FUNCDECL_RPL (inet_pton, int, (int af, const char *restrict src, void *restrict dst), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (inet_pton, int, (int af, const char *restrict src, void *restrict dst)); # else # if !@HAVE_DECL_INET_PTON@ _GL_FUNCDECL_SYS (inet_pton, int, (int af, const char *restrict src, void *restrict dst), _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (inet_pton, int, (int af, const char *restrict src, void *restrict dst)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (inet_pton); # endif #elif defined GNULIB_POSIXCHECK # undef inet_pton # if HAVE_RAW_DECL_INET_PTON _GL_WARN_ON_USE (inet_pton, "inet_pton is unportable - " "use gnulib module inet_pton for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_ARPA_INET_H */ #endif /* _@GUARD_PREFIX@_ARPA_INET_H */ datamash-1.9/lib/asnprintf.c0000644000000000000000000000211014767401140011510 /* Formatted output to strings. Copyright (C) 1999, 2002, 2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "vasnprintf.h" #include char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) { va_list args; char *result; va_start (args, format); result = vasnprintf (resultbuf, lengthp, format, args); va_end (args); return result; } datamash-1.9/lib/assert.in.h0000644000000000000000000000202514767401140011424 /* Substitute for and wrapper around Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Do not guard the include, since is supposed to define the assert macro each time it is included. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #@INCLUDE_NEXT@ @NEXT_ASSERT_H@ /* The definition of static_assert is copied here. */ datamash-1.9/lib/attribute.h0000644000000000000000000003277714767402206011546 /* ATTRIBUTE_* macros for using attributes in GCC and similar compilers Copyright 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ /* Provide public ATTRIBUTE_* names for the private _GL_ATTRIBUTE_* macros used within Gnulib. */ /* The placement of these attributes depends on the kind of declaration and, in some cases, also on the programming language (C vs. C++). In function declarations and function definitions: * ATTRIBUTE_NOTHROW must come after the parameter list. * The macros ATTRIBUTE_CONST ATTRIBUTE_PURE DEPRECATED MAYBE_UNUSED NODISCARD REPRODUCIBLE UNSEQUENCED must come before the return type, and more precisely: - In a function declaration/definition without a storage-class specifier: at the beginning of the declaration/definition. - In a function declaration/definition with a storage-class specifier: - In C: before the storage-class specifier. - In C++: between the storage-class specifier and the return type. * The other macros can be placed - Either - In a function declaration/definition without a storage-class specifier: at the beginning of the declaration/definition. - In a function declaration/definition with a storage-class specifier: between the storage-class specifier and the return type. - Or after the parameter list, ∙ but after ATTRIBUTE_NOTHROW if present. In other declarations, such as variable declarations: * Either - In C: before the storage-class specifier. - In C++: between the storage-class specifier and the return type. Then they apply to all entities that are declared by the declaration. * Or immediately after the name of an entity being declared by the declaration. Then they apply to that entity only. */ #ifndef _GL_ATTRIBUTE_H #define _GL_ATTRIBUTE_H /* This file defines two types of attributes: * C23 standard attributes. These have macro names that do not begin with 'ATTRIBUTE_'. * Selected GCC attributes; see: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html These names begin with 'ATTRIBUTE_' to avoid name clashes. */ /* This file uses _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_ALWAYS_INLINE, _GL_ATTRIBUTE_ARTIFICIAL, _GL_ATTRIBUTE_COLD, _GL_ATTRIBUTE_CONST, _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEPRECATED, _GL_ATTRIBUTE_ERROR, _GL_ATTRIBUTE_WARNING, _GL_ATTRIBUTE_EXTERNALLY_VISIBLE, _GL_ATTRIBUTE_FALLTHROUGH, _GL_ATTRIBUTE_FORMAT, _GL_ATTRIBUTE_LEAF, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_MAY_ALIAS, _GL_ATTRIBUTE_MAYBE_UNUSED, _GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_NOINLINE, _GL_ATTRIBUTE_NONNULL, _GL_ATTRIBUTE_NONSTRING, _GL_ATTRIBUTE_NOTHROW, _GL_ATTRIBUTE_PACKED, _GL_ATTRIBUTE_PURE, _GL_ATTRIBUTE_REPRODUCIBLE, _GL_ATTRIBUTE_RETURNS_NONNULL, _GL_ATTRIBUTE_SENTINEL, _GL_ATTRIBUTE_UNSEQUENCED. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* =============== Attributes for specific kinds of functions =============== */ /* Attributes for functions that should not be used. */ /* Warn if the entity is used. */ /* Applies to: - function, variable, - struct, union, struct/union member, - enumeration, enumeration item, - typedef, in C++ also: namespace, class, template specialization. */ #define DEPRECATED _GL_ATTRIBUTE_DEPRECATED /* If a function call is not optimized way, warn with MSG. */ /* Applies to: functions. */ #define ATTRIBUTE_WARNING(msg) _GL_ATTRIBUTE_WARNING (msg) /* If a function call is not optimized way, report an error with MSG. */ /* Applies to: functions. */ #define ATTRIBUTE_ERROR(msg) _GL_ATTRIBUTE_ERROR (msg) /* Attributes for memory-allocating functions. */ /* The function returns a pointer to freshly allocated memory. */ /* Applies to: functions. */ #define ATTRIBUTE_MALLOC _GL_ATTRIBUTE_MALLOC /* ATTRIBUTE_ALLOC_SIZE ((N)) - The Nth argument of the function is the size of the returned memory block. ATTRIBUTE_ALLOC_SIZE ((M, N)) - Multiply the Mth and Nth arguments to determine the size of the returned memory block. */ /* Applies to: functions, pointer to functions, function types. */ #define ATTRIBUTE_ALLOC_SIZE(args) _GL_ATTRIBUTE_ALLOC_SIZE (args) /* ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that can be freed via 'free'; it can be used only after declaring 'free'. */ /* Applies to: functions. Cannot be used on inline functions. */ #define ATTRIBUTE_DEALLOC(f, i) _GL_ATTRIBUTE_DEALLOC(f, i) #define ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC_FREE /* Attributes for variadic functions. */ /* The variadic function expects a trailing NULL argument. ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ /* Applies to: functions. */ #define ATTRIBUTE_SENTINEL(pos) _GL_ATTRIBUTE_SENTINEL (pos) /* ================== Attributes for compiler diagnostics ================== */ /* Attributes that help the compiler diagnose programmer mistakes. Some of them may also help for some compiler optimizations. */ /* ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) - The STRING-INDEXth function argument is a format string of style ARCHETYPE, which is one of: printf, gnu_printf scanf, gnu_scanf, strftime, gnu_strftime, strfmon, or the same thing prefixed and suffixed with '__'. If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK are suitable for the format string. */ /* Applies to: functions. */ #define ATTRIBUTE_FORMAT(spec) _GL_ATTRIBUTE_FORMAT (spec) /* ATTRIBUTE_NONNULL ((N1, N2,...)) - Arguments N1, N2,... must not be NULL. ATTRIBUTE_NONNULL () - All pointer arguments must not be null. */ /* Applies to: functions. */ #define ATTRIBUTE_NONNULL(args) _GL_ATTRIBUTE_NONNULL (args) /* The function's return value is a non-NULL pointer. */ /* Applies to: functions. */ #define ATTRIBUTE_RETURNS_NONNULL _GL_ATTRIBUTE_RETURNS_NONNULL /* Warn if the caller does not use the return value, unless the caller uses something like ignore_value. */ /* Applies to: function, enumeration, class. */ #define NODISCARD _GL_ATTRIBUTE_NODISCARD /* Attributes that disable false alarms when the compiler diagnoses programmer "mistakes". */ /* Do not warn if the entity is not used. */ /* Applies to: - function, variable, - struct, union, struct/union member, - enumeration, enumeration item, - typedef, in C++ also: class. */ #define MAYBE_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED /* The contents of a character array is not meant to be NUL-terminated. */ /* Applies to: struct/union members and variables that are arrays of element type '[[un]signed] char'. */ #define ATTRIBUTE_NONSTRING _GL_ATTRIBUTE_NONSTRING /* Do not warn if control flow falls through to the immediately following 'case' or 'default' label. */ /* Applies to: Empty statement (;), inside a 'switch' statement. */ #define FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH /* ================== Attributes for debugging information ================== */ /* Attributes regarding debugging information emitted by the compiler. */ /* Omit the function from stack traces when debugging. */ /* Applies to: functions. */ #define ATTRIBUTE_ARTIFICIAL _GL_ATTRIBUTE_ARTIFICIAL /* Make the entity visible to debuggers etc., even with '-fwhole-program'. */ /* Applies to: functions, variables. */ #define ATTRIBUTE_EXTERNALLY_VISIBLE _GL_ATTRIBUTE_EXTERNALLY_VISIBLE /* ========== Attributes that mainly direct compiler optimizations ========== */ /* The function does not throw exceptions. */ /* Applies to: functions. */ /* After a function's parameter list, this attribute must come first, before other attributes. */ #define ATTRIBUTE_NOTHROW _GL_ATTRIBUTE_NOTHROW /* Do not inline the function. */ /* Applies to: functions. */ #define ATTRIBUTE_NOINLINE _GL_ATTRIBUTE_NOINLINE /* Always inline the function, and report an error if the compiler cannot inline. */ /* Applies to: functions. */ #define ATTRIBUTE_ALWAYS_INLINE _GL_ATTRIBUTE_ALWAYS_INLINE /* It is OK for a compiler to move calls to the function and to omit calls to the function if another call has the same arguments or the result is not used. This attribute is safe for a function that neither depends on nor affects state, and always returns exactly once - e.g., does not raise an exception, call longjmp, or loop forever. (This attribute is stricter than ATTRIBUTE_PURE because the function cannot observe state. It is stricter than UNSEQUENCED because the function must return exactly once and cannot depend on state addressed by its arguments.) */ /* Applies to: functions. */ #define ATTRIBUTE_CONST _GL_ATTRIBUTE_CONST /* It is OK for a compiler to move calls to the function and to omit duplicate calls to the function with the same arguments, so long as the state addressed by its arguments is the same. This attribute is safe for a function that is effectless, idempotent, stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of these terms. (This attribute is stricter than REPRODUCIBLE because the function must be stateless and independent. It is looser than ATTRIBUTE_CONST because the function need not return exactly once and can depend on state addressed by its arguments.) See also and . ATTENTION! Efforts are underway to change the meaning of this attribute. See . */ /* Applies to: functions, pointer to functions, function type. */ #define UNSEQUENCED _GL_ATTRIBUTE_UNSEQUENCED /* It is OK for a compiler to move calls to the function and to omit calls to the function if another call has the same arguments or the result is not used, and if observable state is the same. This attribute is safe for a function that does not affect observable state and always returns exactly once. (This attribute is looser than ATTRIBUTE_CONST because the function can depend on observable state. It is stricter than REPRODUCIBLE because the function must return exactly once and cannot affect state addressed by its arguments.) */ /* Applies to: functions. */ #define ATTRIBUTE_PURE _GL_ATTRIBUTE_PURE /* It is OK for a compiler to move calls to the function and to omit duplicate calls to the function with the same arguments, so long as the state addressed by its arguments is the same and is updated in time for the rest of the program. This attribute is safe for a function that is effectless and idempotent; see ISO C 23 § 6.7.12.7 for a definition of these terms. (This attribute is looser than UNSEQUENCED because the function need not be stateless and idempotent. It is looser than ATTRIBUTE_PURE because the function need not return exactly once and can affect state addressed by its arguments.) See also and . ATTENTION! Efforts are underway to change the meaning of this attribute. See . */ /* Applies to: functions, pointer to functions, function type. */ #define REPRODUCIBLE _GL_ATTRIBUTE_REPRODUCIBLE /* The function is rarely executed. */ /* Applies to: functions. */ #define ATTRIBUTE_COLD _GL_ATTRIBUTE_COLD /* If called from some other compilation unit, the function executes code from that unit only by return or by exception handling, letting the compiler optimize that unit more aggressively. */ /* Applies to: functions. */ #define ATTRIBUTE_LEAF _GL_ATTRIBUTE_LEAF /* For struct members: The member has the smallest possible alignment. For struct, union, class: All members have the smallest possible alignment, minimizing the memory required. */ /* Applies to: struct members, struct, union, in C++ also: class. */ #define ATTRIBUTE_PACKED _GL_ATTRIBUTE_PACKED /* ================ Attributes that make invalid code valid ================ */ /* Attributes that prevent fatal compiler optimizations for code that is not fully ISO C compliant. */ /* Pointers to the type may point to the same storage as pointers to other types, thus disabling strict aliasing optimization. */ /* Applies to: types. */ #define ATTRIBUTE_MAY_ALIAS _GL_ATTRIBUTE_MAY_ALIAS #endif /* _GL_ATTRIBUTE_H */ datamash-1.9/lib/base64.c0000644000000000000000000004707214767401140010610 /* base64.c -- Encode binary data using printable characters. Copyright (C) 1999-2001, 2004-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Simon Josefsson. Partially adapted from GNU MailUtils * (mailbox/filter_trans.c, as of 2004-11-28). Improved by review * from Paul Eggert, Bruno Haible, and Stepan Kasal. * * See also RFC 4648 . * * Be careful with error checking. Here is how you would typically * use these functions: * * bool ok = base64_decode_alloc (in, inlen, &out, &outlen); * if (!ok) * FAIL: input was not valid base64 * if (out == NULL) * FAIL: memory allocation error * OK: data in OUT/OUTLEN * * idx_t outlen = base64_encode_alloc (in, inlen, &out); * if (out == NULL && outlen == 0 && inlen != 0) * FAIL: input too long * if (out == NULL) * FAIL: memory allocation error * OK: data in OUT/OUTLEN. * */ #include /* Get prototype. */ #define BASE64_INLINE _GL_EXTERN_INLINE #include "base64.h" /* Get imalloc. */ #include #include #include /* Convert 'char' to 'unsigned char' without casting. */ static unsigned char to_uchar (char ch) { return ch; } static const char b64c[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /* Base64 encode IN array of size INLEN into OUT array. OUT needs to be of length >= BASE64_LENGTH(INLEN), and INLEN needs to be a multiple of 3. */ static void base64_encode_fast (const char *restrict in, idx_t inlen, char *restrict out) { while (inlen) { *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; *out++ = b64c[to_uchar (in[2]) & 0x3f]; inlen -= 3; in += 3; } } /* Base64 encode IN array of size INLEN into OUT array of size OUTLEN. If OUTLEN is less than BASE64_LENGTH(INLEN), write as many bytes as possible. If OUTLEN is larger than BASE64_LENGTH(INLEN), also zero terminate the output buffer. */ void base64_encode (const char *restrict in, idx_t inlen, char *restrict out, idx_t outlen) { /* Note this outlen constraint can be enforced at compile time. I.E. that the output buffer is exactly large enough to hold the encoded inlen bytes. The inlen constraints (of corresponding to outlen, and being a multiple of 3) can change at runtime at the end of input. However the common case when reading large inputs is to have both constraints satisfied, so we depend on both in base_encode_fast(). */ if (outlen % 4 == 0 && inlen == (outlen >> 2) * 3) { base64_encode_fast (in, inlen, out); return; } while (inlen && outlen) { *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; if (!--outlen) break; *out++ = b64c[((to_uchar (in[0]) << 4) + (--inlen ? to_uchar (in[1]) >> 4 : 0)) & 0x3f]; if (!--outlen) break; *out++ = (inlen ? b64c[((to_uchar (in[1]) << 2) + (--inlen ? to_uchar (in[2]) >> 6 : 0)) & 0x3f] : '='); if (!--outlen) break; *out++ = inlen ? b64c[to_uchar (in[2]) & 0x3f] : '='; if (!--outlen) break; if (inlen) inlen--; if (inlen) in += 3; } if (outlen) *out = '\0'; } /* Allocate a buffer and store zero terminated base64 encoded data from array IN of size INLEN, returning BASE64_LENGTH(INLEN), i.e., the length of the encoded data, excluding the terminating zero. On return, the OUT variable will hold a pointer to newly allocated memory that must be deallocated by the caller. If output string length would overflow, 0 is returned and OUT is set to NULL. If memory allocation failed, OUT is set to NULL, and the return value indicates length of the requested memory block, i.e., BASE64_LENGTH(inlen) + 1. */ idx_t base64_encode_alloc (const char *in, idx_t inlen, char **out) { /* Check for overflow in outlen computation. Treat negative INLEN as overflow, for better compatibility with pre-2021-08-27 API, which used size_t. */ idx_t in_over_3 = inlen / 3 + (inlen % 3 != 0), outlen; if (ckd_mul (&outlen, in_over_3, 4) || inlen < 0) { *out = NULL; return 0; } outlen++; *out = imalloc (outlen); if (!*out) return outlen; base64_encode (in, inlen, *out, outlen); return outlen - 1; } /* With this approach this file works independent of the charset used (think EBCDIC). However, it does assume that the characters in the Base64 alphabet (A-Za-z0-9+/) are encoded in 0..255. POSIX 1003.1-2001 require that char and unsigned char are 8-bit quantities, though, taking care of that problem. But this may be a potential problem on non-POSIX C99 platforms. IBM C V6 for AIX mishandles "#define B64(x) ...'x'...", so use "_" as the formal parameter rather than "x". */ #define B64(_) \ ((_) == 'A' ? 0 \ : (_) == 'B' ? 1 \ : (_) == 'C' ? 2 \ : (_) == 'D' ? 3 \ : (_) == 'E' ? 4 \ : (_) == 'F' ? 5 \ : (_) == 'G' ? 6 \ : (_) == 'H' ? 7 \ : (_) == 'I' ? 8 \ : (_) == 'J' ? 9 \ : (_) == 'K' ? 10 \ : (_) == 'L' ? 11 \ : (_) == 'M' ? 12 \ : (_) == 'N' ? 13 \ : (_) == 'O' ? 14 \ : (_) == 'P' ? 15 \ : (_) == 'Q' ? 16 \ : (_) == 'R' ? 17 \ : (_) == 'S' ? 18 \ : (_) == 'T' ? 19 \ : (_) == 'U' ? 20 \ : (_) == 'V' ? 21 \ : (_) == 'W' ? 22 \ : (_) == 'X' ? 23 \ : (_) == 'Y' ? 24 \ : (_) == 'Z' ? 25 \ : (_) == 'a' ? 26 \ : (_) == 'b' ? 27 \ : (_) == 'c' ? 28 \ : (_) == 'd' ? 29 \ : (_) == 'e' ? 30 \ : (_) == 'f' ? 31 \ : (_) == 'g' ? 32 \ : (_) == 'h' ? 33 \ : (_) == 'i' ? 34 \ : (_) == 'j' ? 35 \ : (_) == 'k' ? 36 \ : (_) == 'l' ? 37 \ : (_) == 'm' ? 38 \ : (_) == 'n' ? 39 \ : (_) == 'o' ? 40 \ : (_) == 'p' ? 41 \ : (_) == 'q' ? 42 \ : (_) == 'r' ? 43 \ : (_) == 's' ? 44 \ : (_) == 't' ? 45 \ : (_) == 'u' ? 46 \ : (_) == 'v' ? 47 \ : (_) == 'w' ? 48 \ : (_) == 'x' ? 49 \ : (_) == 'y' ? 50 \ : (_) == 'z' ? 51 \ : (_) == '0' ? 52 \ : (_) == '1' ? 53 \ : (_) == '2' ? 54 \ : (_) == '3' ? 55 \ : (_) == '4' ? 56 \ : (_) == '5' ? 57 \ : (_) == '6' ? 58 \ : (_) == '7' ? 59 \ : (_) == '8' ? 60 \ : (_) == '9' ? 61 \ : (_) == '+' ? 62 \ : (_) == '/' ? 63 \ : -1) signed char const base64_to_int[256] = { B64 (0), B64 (1), B64 (2), B64 (3), B64 (4), B64 (5), B64 (6), B64 (7), B64 (8), B64 (9), B64 (10), B64 (11), B64 (12), B64 (13), B64 (14), B64 (15), B64 (16), B64 (17), B64 (18), B64 (19), B64 (20), B64 (21), B64 (22), B64 (23), B64 (24), B64 (25), B64 (26), B64 (27), B64 (28), B64 (29), B64 (30), B64 (31), B64 (32), B64 (33), B64 (34), B64 (35), B64 (36), B64 (37), B64 (38), B64 (39), B64 (40), B64 (41), B64 (42), B64 (43), B64 (44), B64 (45), B64 (46), B64 (47), B64 (48), B64 (49), B64 (50), B64 (51), B64 (52), B64 (53), B64 (54), B64 (55), B64 (56), B64 (57), B64 (58), B64 (59), B64 (60), B64 (61), B64 (62), B64 (63), B64 (64), B64 (65), B64 (66), B64 (67), B64 (68), B64 (69), B64 (70), B64 (71), B64 (72), B64 (73), B64 (74), B64 (75), B64 (76), B64 (77), B64 (78), B64 (79), B64 (80), B64 (81), B64 (82), B64 (83), B64 (84), B64 (85), B64 (86), B64 (87), B64 (88), B64 (89), B64 (90), B64 (91), B64 (92), B64 (93), B64 (94), B64 (95), B64 (96), B64 (97), B64 (98), B64 (99), B64 (100), B64 (101), B64 (102), B64 (103), B64 (104), B64 (105), B64 (106), B64 (107), B64 (108), B64 (109), B64 (110), B64 (111), B64 (112), B64 (113), B64 (114), B64 (115), B64 (116), B64 (117), B64 (118), B64 (119), B64 (120), B64 (121), B64 (122), B64 (123), B64 (124), B64 (125), B64 (126), B64 (127), B64 (128), B64 (129), B64 (130), B64 (131), B64 (132), B64 (133), B64 (134), B64 (135), B64 (136), B64 (137), B64 (138), B64 (139), B64 (140), B64 (141), B64 (142), B64 (143), B64 (144), B64 (145), B64 (146), B64 (147), B64 (148), B64 (149), B64 (150), B64 (151), B64 (152), B64 (153), B64 (154), B64 (155), B64 (156), B64 (157), B64 (158), B64 (159), B64 (160), B64 (161), B64 (162), B64 (163), B64 (164), B64 (165), B64 (166), B64 (167), B64 (168), B64 (169), B64 (170), B64 (171), B64 (172), B64 (173), B64 (174), B64 (175), B64 (176), B64 (177), B64 (178), B64 (179), B64 (180), B64 (181), B64 (182), B64 (183), B64 (184), B64 (185), B64 (186), B64 (187), B64 (188), B64 (189), B64 (190), B64 (191), B64 (192), B64 (193), B64 (194), B64 (195), B64 (196), B64 (197), B64 (198), B64 (199), B64 (200), B64 (201), B64 (202), B64 (203), B64 (204), B64 (205), B64 (206), B64 (207), B64 (208), B64 (209), B64 (210), B64 (211), B64 (212), B64 (213), B64 (214), B64 (215), B64 (216), B64 (217), B64 (218), B64 (219), B64 (220), B64 (221), B64 (222), B64 (223), B64 (224), B64 (225), B64 (226), B64 (227), B64 (228), B64 (229), B64 (230), B64 (231), B64 (232), B64 (233), B64 (234), B64 (235), B64 (236), B64 (237), B64 (238), B64 (239), B64 (240), B64 (241), B64 (242), B64 (243), B64 (244), B64 (245), B64 (246), B64 (247), B64 (248), B64 (249), B64 (250), B64 (251), B64 (252), B64 (253), B64 (254), B64 (255) }; /* If CTX->i is 0 or 4, there are four or more bytes in [*IN..IN_END), and none of those four is a newline, then return *IN. Otherwise, copy up to 4 - CTX->i non-newline bytes from that range into CTX->buf, starting at index CTX->i and setting CTX->i to reflect the number of bytes copied, and return CTX->buf. In either case, advance *IN to point to the byte after the last one processed, and set *N_NON_NEWLINE to the number of verified non-newline bytes accessible through the returned pointer. */ static char * get_4 (struct base64_decode_context *ctx, char const *restrict *in, char const *restrict in_end, idx_t *n_non_newline) { if (ctx->i == 4) ctx->i = 0; if (ctx->i == 0) { char const *t = *in; if (4 <= in_end - *in && memchr (t, '\n', 4) == NULL) { /* This is the common case: no newline. */ *in += 4; *n_non_newline = 4; return (char *) t; } } { /* Copy non-newline bytes into BUF. */ char const *p = *in; while (p < in_end) { char c = *p++; if (c != '\n') { ctx->buf[ctx->i++] = c; if (ctx->i == 4) break; } } *in = p; *n_non_newline = ctx->i; return ctx->buf; } } #define return_false \ do \ { \ *outp = out; \ return false; \ } \ while (false) /* Decode up to four bytes of base64-encoded data, IN, of length INLEN into the output buffer, *OUT, of size *OUTLEN bytes. Return true if decoding is successful, false otherwise. If *OUTLEN is too small, as many bytes as possible are written to *OUT. On return, advance *OUT to point to the byte after the last one written, and decrement *OUTLEN to reflect the number of bytes remaining in *OUT. */ static bool decode_4 (char const *restrict in, idx_t inlen, char *restrict *outp, idx_t *outleft) { char *out = *outp; if (inlen < 2) return false; if (!isbase64 (in[0]) || !isbase64 (in[1])) return false; if (*outleft) { *out++ = ((base64_to_int[to_uchar (in[0])] << 2) | (base64_to_int[to_uchar (in[1])] >> 4)); --*outleft; } if (inlen == 2) return_false; if (in[2] == '=') { if (inlen != 4) return_false; if (in[3] != '=') return_false; /* Reject non-canonical encodings. */ if (base64_to_int[to_uchar (in[1])] & 0x0f) return_false; } else { if (!isbase64 (in[2])) return_false; if (*outleft) { *out++ = (((base64_to_int[to_uchar (in[1])] << 4) & 0xf0) | (base64_to_int[to_uchar (in[2])] >> 2)); --*outleft; } if (inlen == 3) return_false; if (in[3] == '=') { if (inlen != 4) return_false; /* Reject non-canonical encodings. */ if (base64_to_int[to_uchar (in[2])] & 0x03) return_false; } else { if (!isbase64 (in[3])) return_false; if (*outleft) { *out++ = (((base64_to_int[to_uchar (in[2])] << 6) & 0xc0) | base64_to_int[to_uchar (in[3])]); --*outleft; } } } *outp = out; return true; } /* Decode base64-encoded input array IN of length INLEN to output array OUT that can hold *OUTLEN bytes. The input data may be interspersed with newlines. Return true if decoding was successful, i.e. if the input was valid base64 data, false otherwise. If *OUTLEN is too small, as many bytes as possible will be written to OUT. On return, *OUTLEN holds the length of decoded bytes in OUT. Note that as soon as any non-alphabet, non-newline character is encountered, decoding is stopped and false is returned. If INLEN is zero, then process only whatever data is stored in CTX. Initially, CTX must have been initialized via base64_decode_ctx_init. Subsequent calls to this function must reuse whatever state is recorded in that buffer. It is necessary for when a quadruple of base64 input bytes spans two input buffers. If CTX is NULL then newlines are treated as garbage and the input buffer is processed as a unit. */ bool base64_decode_ctx (struct base64_decode_context *ctx, const char *restrict in, idx_t inlen, char *restrict out, idx_t *outlen) { idx_t outleft = *outlen; bool ignore_newlines = ctx != NULL; bool flush_ctx = false; unsigned int ctx_i = 0; if (ignore_newlines) { ctx_i = ctx->i; flush_ctx = inlen == 0; } while (true) { idx_t outleft_save = outleft; if (ctx_i == 0 && !flush_ctx) { while (true) { /* Save a copy of outleft, in case we need to re-parse this block of four bytes. */ outleft_save = outleft; if (!decode_4 (in, inlen, &out, &outleft)) break; in += 4; inlen -= 4; } } if (inlen == 0 && !flush_ctx) break; /* Handle the common case of 72-byte wrapped lines. This also handles any other multiple-of-4-byte wrapping. */ if (inlen && *in == '\n' && ignore_newlines) { ++in; --inlen; continue; } /* Restore OUT and OUTLEFT. */ out -= outleft_save - outleft; outleft = outleft_save; { char const *in_end = in + inlen; char const *non_nl; if (ignore_newlines) non_nl = get_4 (ctx, &in, in_end, &inlen); else non_nl = in; /* Might have nl in this case. */ /* If the input is empty or consists solely of newlines (0 non-newlines), then we're done. Likewise if there are fewer than 4 bytes when not flushing context and not treating newlines as garbage. */ if (inlen == 0 || (inlen < 4 && !flush_ctx && ignore_newlines)) { inlen = 0; break; } if (!decode_4 (non_nl, inlen, &out, &outleft)) break; inlen = in_end - in; } } *outlen -= outleft; return inlen == 0; } /* Allocate an output buffer in *OUT, and decode the base64 encoded data stored in IN of size INLEN to the *OUT buffer. On return, the size of the decoded data is stored in *OUTLEN. OUTLEN may be NULL, if the caller is not interested in the decoded length. *OUT may be NULL to indicate an out of memory error, in which case *OUTLEN contains the size of the memory block needed. The function returns true on successful decoding and memory allocation errors. (Use the *OUT and *OUTLEN parameters to differentiate between successful decoding and memory error.) The function returns false if the input was invalid, in which case *OUT is NULL and *OUTLEN is undefined. */ bool base64_decode_alloc_ctx (struct base64_decode_context *ctx, const char *in, idx_t inlen, char **out, idx_t *outlen) { /* This may allocate a few bytes too many, depending on input, but it's not worth the extra CPU time to compute the exact size. The exact size is 3 * (inlen + (ctx ? ctx->i : 0)) / 4, minus 1 if the input ends with "=" and minus another 1 if the input ends with "==". Shifting before multiplying avoids the possibility of overflow. */ idx_t needlen = 3 * ((inlen >> 2) + 1); *out = imalloc (needlen); if (!*out) return true; if (!base64_decode_ctx (ctx, in, inlen, *out, &needlen)) { free (*out); *out = NULL; return false; } if (outlen) *outlen = needlen; return true; } datamash-1.9/lib/base64.h0000644000000000000000000000537314767401140010613 /* base64.h -- Encode binary data using printable characters. Copyright (C) 2004-2006, 2009-2025 Free Software Foundation, Inc. Written by Simon Josefsson. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef BASE64_H #define BASE64_H /* This file uses _GL_INLINE_HEADER_BEGIN. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get idx_t. */ #include /* Pacify GCC in isubase64. */ #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) && !defined __clang__ # pragma GCC diagnostic ignored "-Wtype-limits" #endif _GL_INLINE_HEADER_BEGIN #ifndef BASE64_INLINE # define BASE64_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* This uses that the expression (n+(k-1))/k means the smallest integer >= n/k, i.e., the ceiling of n/k. */ #define BASE64_LENGTH(inlen) ((((inlen) + 2) / 3) * 4) struct base64_decode_context { int i; char buf[4]; }; extern signed char const base64_to_int[256]; BASE64_INLINE bool isubase64 (unsigned char ch) { return ch < sizeof base64_to_int && 0 <= base64_to_int[ch]; } BASE64_INLINE bool isbase64 (char ch) { return isubase64 (ch); } extern void base64_encode (const char *restrict in, idx_t inlen, char *restrict out, idx_t outlen); extern idx_t base64_encode_alloc (const char *in, idx_t inlen, char **out); /* Initialize decode-context buffer, CTX. */ BASE64_INLINE void base64_decode_ctx_init (struct base64_decode_context *ctx) { ctx->i = 0; } extern bool base64_decode_ctx (struct base64_decode_context *ctx, const char *restrict in, idx_t inlen, char *restrict out, idx_t *outlen); extern bool base64_decode_alloc_ctx (struct base64_decode_context *ctx, const char *in, idx_t inlen, char **out, idx_t *outlen); #define base64_decode(in, inlen, out, outlen) \ base64_decode_ctx (NULL, in, inlen, out, outlen) #define base64_decode_alloc(in, inlen, out, outlen) \ base64_decode_alloc_ctx (NULL, in, inlen, out, outlen) #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* BASE64_H */ datamash-1.9/lib/basename-lgpl.c0000644000000000000000000000344014767401140012222 /* basename.c -- return the last element in a file name Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "basename-lgpl.h" #include #include "filename.h" char * last_component (char const *name) { char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); char const *p; bool last_was_slash = false; while (ISSLASH (*base)) base++; for (p = base; *p; p++) { if (ISSLASH (*p)) last_was_slash = true; else if (last_was_slash) { base = p; last_was_slash = false; } } return (char *) base; } size_t base_len (char const *name) { size_t len; size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) continue; if (DOUBLE_SLASH_IS_DISTINCT_ROOT && len == 1 && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2]) return 2; if (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && prefix_len && len == prefix_len && ISSLASH (name[prefix_len])) return prefix_len + 1; return len; } datamash-1.9/lib/basename-lgpl.h0000644000000000000000000000551214767401140012231 /* Extract the last component (base name) of a file name. Copyright (C) 1998, 2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _BASENAME_LGPL_H #define _BASENAME_LGPL_H /* This file uses _GL_ATTRIBUTE_PURE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT # define DOUBLE_SLASH_IS_DISTINCT_ROOT 0 #endif #ifdef __cplusplus extern "C" { #endif /* Return the address of the last file name component of FILENAME. If FILENAME has some trailing slash(es), they are considered to be part of the last component. If FILENAME has no relative file name components because it is a file system root, return the empty string. Examples: FILENAME RESULT "foo.c" "foo.c" "foo/bar.c" "bar.c" "/foo/bar.c" "bar.c" "foo/bar/" "bar/" "foo/bar//" "bar//" "/" "" "//" "" "" "" The return value is a tail of the given FILENAME; do NOT free() it! */ /* This function was traditionally called 'basename', but we avoid this function name because * Various platforms have different functions in their libc. In particular, the glibc basename(), defined in , does not consider trailing slashes to be part of the component: FILENAME RESULT "foo/bar/" "" "foo/bar//" "" * The 'basename' command eliminates trailing slashes and for a root produces a non-empty result: FILENAME RESULT "foo/bar/" "bar" "foo/bar//" "bar" "/" "/" "//" "/" */ extern char *last_component (char const *filename) _GL_ATTRIBUTE_PURE; /* Return the length of the basename FILENAME. Typically FILENAME is the value returned by base_name or last_component. Act like strlen (FILENAME), except omit all trailing slashes. */ extern size_t base_len (char const *filename) _GL_ATTRIBUTE_PURE; #ifdef __cplusplus } /* extern "C" */ #endif #endif /* _BASENAME_LGPL_H */ datamash-1.9/lib/basename.c0000644000000000000000000000352514767401140011272 /* basename.c -- return the last element in a file name Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. 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 . */ #include #include "dirname.h" #include #include "xalloc.h" char * base_name (char const *name) { char const *base = last_component (name); idx_t length; int dotslash_len; if (*base) { length = base_len (base); /* Collapse a sequence of trailing slashes into one. */ length += ISSLASH (base[length]); /* On systems with drive letters, "a/b:c" must return "./b:c" rather than "b:c" to avoid confusion with a drive letter. On systems with pure POSIX semantics, this is not an issue. */ dotslash_len = FILE_SYSTEM_PREFIX_LEN (base) != 0 ? 2 : 0; } else { /* There is no last component, so NAME is a file system root or the empty string. */ base = name; length = base_len (base); dotslash_len = 0; } char *p = ximalloc (dotslash_len + length + 1); if (dotslash_len) { p[0] = '.'; p[1] = '/'; } /* Finally, copy the basename. */ memcpy (p + dotslash_len, base, length); p[dotslash_len + length] = '\0'; return p; } datamash-1.9/lib/bitrotate.c0000644000000000000000000000151014767401140011504 /* Rotate bits in integers. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define BITROTATE_INLINE _GL_EXTERN_INLINE #include "bitrotate.h" datamash-1.9/lib/bitrotate.h0000644000000000000000000001122614767401140011516 /* bitrotate.h - Rotate bits in integers Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Simon Josefsson , 2008. */ #ifndef _GL_BITROTATE_H #define _GL_BITROTATE_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include _GL_INLINE_HEADER_BEGIN #ifndef BITROTATE_INLINE # define BITROTATE_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif #ifdef UINT64_MAX /* Given an unsigned 64-bit argument X, return the value corresponding to rotating the bits N steps to the left. N must be between 1 and 63 inclusive. */ BITROTATE_INLINE uint64_t rotl64 (uint64_t x, int n) { return ((x << n) | (x >> (64 - n))) & UINT64_MAX; } /* Given an unsigned 64-bit argument X, return the value corresponding to rotating the bits N steps to the right. N must be between 1 to 63 inclusive.*/ BITROTATE_INLINE uint64_t rotr64 (uint64_t x, int n) { return ((x >> n) | (x << (64 - n))) & UINT64_MAX; } #endif /* Given an unsigned 32-bit argument X, return the value corresponding to rotating the bits N steps to the left. N must be between 1 and 31 inclusive. */ BITROTATE_INLINE uint32_t rotl32 (uint32_t x, int n) { return ((x << n) | (x >> (32 - n))) & UINT32_MAX; } /* Given an unsigned 32-bit argument X, return the value corresponding to rotating the bits N steps to the right. N must be between 1 to 31 inclusive.*/ BITROTATE_INLINE uint32_t rotr32 (uint32_t x, int n) { return ((x >> n) | (x << (32 - n))) & UINT32_MAX; } /* Given a size_t argument X, return the value corresponding to rotating the bits N steps to the left. N must be between 1 and (CHAR_BIT * sizeof (size_t) - 1) inclusive. */ BITROTATE_INLINE size_t rotl_sz (size_t x, int n) { return ((x << n) | (x >> ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; } /* Given a size_t argument X, return the value corresponding to rotating the bits N steps to the right. N must be between 1 to (CHAR_BIT * sizeof (size_t) - 1) inclusive. */ BITROTATE_INLINE size_t rotr_sz (size_t x, int n) { return ((x >> n) | (x << ((CHAR_BIT * sizeof x) - n))) & SIZE_MAX; } /* Given an unsigned 16-bit argument X, return the value corresponding to rotating the bits N steps to the left. N must be between 1 to 15 inclusive, but on most relevant targets N can also be 0 and 16 because 'int' is at least 32 bits and the arguments must widen before shifting. */ BITROTATE_INLINE uint16_t rotl16 (uint16_t x, int n) { return (((unsigned int) x << n) | ((unsigned int) x >> (16 - n))) & UINT16_MAX; } /* Given an unsigned 16-bit argument X, return the value corresponding to rotating the bits N steps to the right. N must be in 1 to 15 inclusive, but on most relevant targets N can also be 0 and 16 because 'int' is at least 32 bits and the arguments must widen before shifting. */ BITROTATE_INLINE uint16_t rotr16 (uint16_t x, int n) { return (((unsigned int) x >> n) | ((unsigned int) x << (16 - n))) & UINT16_MAX; } /* Given an unsigned 8-bit argument X, return the value corresponding to rotating the bits N steps to the left. N must be between 1 to 7 inclusive, but on most relevant targets N can also be 0 and 8 because 'int' is at least 32 bits and the arguments must widen before shifting. */ BITROTATE_INLINE uint8_t rotl8 (uint8_t x, int n) { return (((unsigned int) x << n) | ((unsigned int) x >> (8 - n))) & UINT8_MAX; } /* Given an unsigned 8-bit argument X, return the value corresponding to rotating the bits N steps to the right. N must be in 1 to 7 inclusive, but on most relevant targets N can also be 0 and 8 because 'int' is at least 32 bits and the arguments must widen before shifting. */ BITROTATE_INLINE uint8_t rotr8 (uint8_t x, int n) { return (((unsigned int) x >> n) | ((unsigned int) x << (8 - n))) & UINT8_MAX; } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _GL_BITROTATE_H */ datamash-1.9/lib/byteswap.c0000644000000000000000000000152014767401140011346 /* Inline functions for . Copyright 2024-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define _GL_BYTESWAP_INLINE _GL_EXTERN_INLINE #include datamash-1.9/lib/byteswap.in.h0000644000000000000000000000637614767401140011776 /* byteswap.h - Byte swapping Copyright (C) 2005, 2007, 2009-2025 Free Software Foundation, Inc. Written by Oskar Liljeblad , 2005. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_BYTESWAP_H #define _GL_BYTESWAP_H 1 /* This file uses _GL_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include _GL_INLINE_HEADER_BEGIN #ifndef _GL_BYTESWAP_INLINE # define _GL_BYTESWAP_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) # define _GL_BYTESWAP_HAS_BUILTIN_BSWAP16 true #elif defined __has_builtin # if __has_builtin (__builtin_bswap16) # define _GL_BYTESWAP_HAS_BUILTIN_BSWAP16 true # endif #endif #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) # define _GL_BYTESWAP_HAS_BUILTIN_BSWAP32 true # define _GL_BYTESWAP_HAS_BUILTIN_BSWAP64 true #elif defined __has_builtin # if __has_builtin (__builtin_bswap32) # define _GL_BYTESWAP_HAS_BUILTIN_BSWAP32 true # endif # if __has_builtin (__builtin_bswap64) # define _GL_BYTESWAP_HAS_BUILTIN_BSWAP64 true # endif #endif /* Given an unsigned 16-bit argument X, return the value corresponding to X with reversed byte order. */ _GL_BYTESWAP_INLINE uint_least16_t bswap_16 (uint_least16_t x) { #ifdef _GL_BYTESWAP_HAS_BUILTIN_BSWAP16 return __builtin_bswap16 (x); #else uint_fast16_t mask = 0xff; return ( (x & mask << 8 * 1) >> 8 * 1 | (x & mask << 8 * 0) << 8 * 1); #endif } /* Given an unsigned 32-bit argument X, return the value corresponding to X with reversed byte order. */ _GL_BYTESWAP_INLINE uint_least32_t bswap_32 (uint_least32_t x) { #ifdef _GL_BYTESWAP_HAS_BUILTIN_BSWAP32 return __builtin_bswap32 (x); #else uint_fast32_t mask = 0xff; return ( (x & mask << 8 * 3) >> 8 * 3 | (x & mask << 8 * 2) >> 8 * 1 | (x & mask << 8 * 1) << 8 * 1 | (x & mask << 8 * 0) << 8 * 3); #endif } #ifdef UINT_LEAST64_MAX /* Given an unsigned 64-bit argument X, return the value corresponding to X with reversed byte order. */ _GL_BYTESWAP_INLINE uint_least64_t bswap_64 (uint_least64_t x) { # ifdef _GL_BYTESWAP_HAS_BUILTIN_BSWAP64 return __builtin_bswap64 (x); # else uint_fast64_t mask = 0xff; return ( (x & mask << 8 * 7) >> 8 * 7 | (x & mask << 8 * 6) >> 8 * 5 | (x & mask << 8 * 5) >> 8 * 3 | (x & mask << 8 * 4) >> 8 * 1 | (x & mask << 8 * 3) << 8 * 1 | (x & mask << 8 * 2) << 8 * 3 | (x & mask << 8 * 1) << 8 * 5 | (x & mask << 8 * 0) << 8 * 7); # endif } #endif #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _GL_BYTESWAP_H */ datamash-1.9/lib/c++defs.h0000644000000000000000000004004314767401140010732 /* C++ compatible function declaration macros. Copyright (C) 2010-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_CXXDEFS_H #define _GL_CXXDEFS_H /* Begin/end the GNULIB_NAMESPACE namespace. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_BEGIN_NAMESPACE namespace GNULIB_NAMESPACE { # define _GL_END_NAMESPACE } #else # define _GL_BEGIN_NAMESPACE # define _GL_END_NAMESPACE #endif /* The three most frequent use cases of these macros are: * For providing a substitute for a function that is missing on some platforms, but is declared and works fine on the platforms on which it exists: #if @GNULIB_FOO@ # if !@HAVE_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on all platforms, but is broken/insufficient and needs to be replaced on some platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif * For providing a replacement for a function that exists on some platforms but is broken/insufficient and needs to be replaced on some of them and is additionally either missing or undeclared on some other platforms: #if @GNULIB_FOO@ # if @REPLACE_FOO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef foo # define foo rpl_foo # endif _GL_FUNCDECL_RPL (foo, ...); _GL_CXXALIAS_RPL (foo, ...); # else # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ _GL_FUNCDECL_SYS (foo, ...); # endif _GL_CXXALIAS_SYS (foo, ...); # endif _GL_CXXALIASWARN (foo); #elif defined GNULIB_POSIXCHECK ... #endif */ /* _GL_EXTERN_C declaration; performs the declaration with C linkage. */ #if defined __cplusplus # define _GL_EXTERN_C extern "C" #else # define _GL_EXTERN_C extern #endif /* _GL_EXTERN_C_FUNC declaration; performs the declaration of a function with C linkage. */ #if defined __cplusplus # define _GL_EXTERN_C_FUNC extern "C" #else /* In C mode, omit the 'extern' keyword, because attributes in bracket syntax are not allowed between 'extern' and the return type (see gnulib-common.m4). */ # define _GL_EXTERN_C_FUNC #endif /* _GL_FUNCDECL_RPL (func, rettype, parameters, [attributes]); declares a replacement function, named rpl_func, with the given prototype, consisting of return type, parameters, and attributes. Although attributes are optional, the comma before them is required for portability to C17 and earlier. The attribute _GL_ATTRIBUTE_NOTHROW, if needed, must be placed after the _GL_FUNCDECL_RPL invocation, at the end of the declaration. Examples: _GL_FUNCDECL_RPL (free, void, (void *ptr), ) _GL_ATTRIBUTE_NOTHROW; _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...), _GL_ARG_NONNULL ((1))); Note: Attributes, such as _GL_ATTRIBUTE_DEPRECATED, are supported in front of a _GL_FUNCDECL_RPL invocation only in C mode, not in C++ mode. (That's because [[...]] extern "C" ; is invalid syntax in C++.) */ #define _GL_FUNCDECL_RPL(func,rettype,parameters,...) \ _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters, __VA_ARGS__) #define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters,...) \ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype rpl_func parameters /* _GL_FUNCDECL_SYS (func, rettype, parameters, [attributes]); declares the system function, named func, with the given prototype, consisting of return type, parameters, and attributes. Although attributes are optional, the comma before them is required for portability to C17 and earlier. The attribute _GL_ATTRIBUTE_NOTHROW, if needed, must be placed after the _GL_FUNCDECL_RPL invocation, at the end of the declaration. Examples: _GL_FUNCDECL_SYS (getumask, mode_t, (void), ) _GL_ATTRIBUTE_NOTHROW; _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); */ #define _GL_FUNCDECL_SYS(func,rettype,parameters,...) \ _GL_EXTERN_C_FUNC __VA_ARGS__ rettype func parameters /* _GL_CXXALIAS_RPL (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to rpl_func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); Wrapping rpl_func in an object with an inline conversion operator avoids a reference to rpl_func unless GNULIB_NAMESPACE::func is actually used in the program. */ #define _GL_CXXALIAS_RPL(func,rettype,parameters) \ _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::rpl_func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_MDA (func, rettype, parameters); is to be used when func is a Microsoft deprecated alias, on native Windows. It declares a C++ alias called GNULIB_NAMESPACE::func that redirects to _func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_MDA (open, int, (const char *filename, int flags, ...)); */ #define _GL_CXXALIAS_MDA(func,rettype,parameters) \ _GL_CXXALIAS_RPL_1 (func, _##func, rettype, parameters) /* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); except that the C function rpl_func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::rpl_func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_MDA_CAST (func, rettype, parameters); is like _GL_CXXALIAS_MDA (func, rettype, parameters); except that the C function func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #define _GL_CXXALIAS_MDA_CAST(func,rettype,parameters) \ _GL_CXXALIAS_RPL_CAST_1 (func, _##func, rettype, parameters) /* _GL_CXXALIAS_SYS (func, rettype, parameters); declares a C++ alias called GNULIB_NAMESPACE::func that redirects to the system provided function func, if GNULIB_NAMESPACE is defined. Example: _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); Wrapping func in an object with an inline conversion operator avoids a reference to func unless GNULIB_NAMESPACE::func is actually used in the program. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return ::func; \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function func may have a slightly different declaration. A cast is used to silence the "invalid conversion" error that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast(::func); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); is like _GL_CXXALIAS_SYS (func, rettype, parameters); except that the C function is picked among a set of overloaded functions, namely the one with rettype2 and parameters2. Two consecutive casts are used to silence the "cannot find a match" and "invalid conversion" errors that would otherwise occur. */ #if defined __cplusplus && defined GNULIB_NAMESPACE /* The outer cast must be a reinterpret_cast. The inner cast: When the function is defined as a set of overloaded functions, it works as a static_cast<>, choosing the designated variant. When the function is defined as a single variant, it works as a reinterpret_cast<>. The parenthesized cast syntax works both ways. */ # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ namespace GNULIB_NAMESPACE \ { \ static const struct _gl_ ## func ## _wrapper \ { \ typedef rettype (*type) parameters; \ \ inline operator type () const \ { \ return reinterpret_cast((rettype2 (*) parameters2)(::func)); \ } \ } func = {}; \ } \ _GL_EXTERN_C int _gl_cxxalias_dummy #else # define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN (func); causes a warning to be emitted when ::func is used but not when GNULIB_NAMESPACE::func is used. func must be defined without overloaded variants. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN(func) \ _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) # define _GL_CXXALIASWARN_1(func,namespace) \ _GL_CXXALIASWARN_2 (func, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__) # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_WARN_ON_USE (func, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # elif (__GNUC__ >= 3 || defined __clang__) && GNULIB_STRICT_CHECKING # define _GL_CXXALIASWARN_2(func,namespace) \ extern __typeof__ (func) func # else # define _GL_CXXALIASWARN_2(func,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN(func) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif /* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); causes a warning to be emitted when the given overloaded variant of ::func is used but not when GNULIB_NAMESPACE::func is used. */ #if defined __cplusplus && defined GNULIB_NAMESPACE # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ GNULIB_NAMESPACE) # define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) /* To work around GCC bug , we enable the warning only when not optimizing. */ # if !(defined __GNUC__ && !defined __clang__ && __OPTIMIZE__) # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_WARN_ON_USE_CXX (func, rettype, rettype, parameters_and_attributes, \ "The symbol ::" #func " refers to the system function. " \ "Use " #namespace "::" #func " instead.") # else # define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ _GL_EXTERN_C int _gl_cxxalias_dummy # endif #else # define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ _GL_EXTERN_C int _gl_cxxalias_dummy #endif #endif /* _GL_CXXDEFS_H */ datamash-1.9/lib/c-ctype.c0000644000000000000000000000151314767401140011056 /* Character handling in C locale. Copyright (C) 2003-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define C_CTYPE_INLINE _GL_EXTERN_INLINE #include "c-ctype.h" datamash-1.9/lib/c-ctype.h0000644000000000000000000002253014767401140011065 /* Character handling in C locale. These functions work like the corresponding functions in , except that they have the C (POSIX) locale hardwired, whereas the functions' behaviour depends on the current locale set via setlocale. Copyright (C) 2000-2003, 2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef C_CTYPE_H #define C_CTYPE_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef C_CTYPE_INLINE # define C_CTYPE_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* The functions defined in this file assume the "C" locale and a character set without diacritics (ASCII-US or EBCDIC-US or something like that). Even if the "C" locale on a particular system is an extension of the ASCII character set (like on BeOS, where it is UTF-8, or on AmigaOS, where it is ISO-8859-1), the functions in this file recognize only the ASCII characters. */ #if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126) /* The character set is ASCII or one of its variants or extensions, not EBCDIC. Testing the value of '\n' and '\r' is not relevant. */ # define C_CTYPE_ASCII 1 #elif ! (' ' == '\x40' && '0' == '\xf0' \ && 'A' == '\xc1' && 'J' == '\xd1' && 'S' == '\xe2' \ && 'a' == '\x81' && 'j' == '\x91' && 's' == '\xa2') # error "Only ASCII and EBCDIC are supported" #endif #if 'A' < 0 # error "EBCDIC and char is signed -- not supported" #endif /* Cases for control characters. */ #define _C_CTYPE_CNTRL \ case '\a': case '\b': case '\f': case '\n': \ case '\r': case '\t': case '\v': \ _C_CTYPE_OTHER_CNTRL /* ASCII control characters other than those with \-letter escapes. */ #if C_CTYPE_ASCII # define _C_CTYPE_OTHER_CNTRL \ case '\x00': case '\x01': case '\x02': case '\x03': \ case '\x04': case '\x05': case '\x06': case '\x0e': \ case '\x0f': case '\x10': case '\x11': case '\x12': \ case '\x13': case '\x14': case '\x15': case '\x16': \ case '\x17': case '\x18': case '\x19': case '\x1a': \ case '\x1b': case '\x1c': case '\x1d': case '\x1e': \ case '\x1f': case '\x7f' #else /* Use EBCDIC code page 1047's assignments for ASCII control chars; assume all EBCDIC code pages agree about these assignments. */ # define _C_CTYPE_OTHER_CNTRL \ case '\x00': case '\x01': case '\x02': case '\x03': \ case '\x07': case '\x0e': case '\x0f': case '\x10': \ case '\x11': case '\x12': case '\x13': case '\x18': \ case '\x19': case '\x1c': case '\x1d': case '\x1e': \ case '\x1f': case '\x26': case '\x27': case '\x2d': \ case '\x2e': case '\x32': case '\x37': case '\x3c': \ case '\x3d': case '\x3f' #endif /* Cases for lowercase hex letters, and lowercase letters, all offset by N. */ #define _C_CTYPE_LOWER_A_THRU_F_N(N) \ case 'a' + (N): case 'b' + (N): case 'c' + (N): case 'd' + (N): \ case 'e' + (N): case 'f' + (N) #define _C_CTYPE_LOWER_N(N) \ _C_CTYPE_LOWER_A_THRU_F_N(N): \ case 'g' + (N): case 'h' + (N): case 'i' + (N): case 'j' + (N): \ case 'k' + (N): case 'l' + (N): case 'm' + (N): case 'n' + (N): \ case 'o' + (N): case 'p' + (N): case 'q' + (N): case 'r' + (N): \ case 's' + (N): case 't' + (N): case 'u' + (N): case 'v' + (N): \ case 'w' + (N): case 'x' + (N): case 'y' + (N): case 'z' + (N) /* Cases for hex letters, digits, lower, punct, and upper. */ #define _C_CTYPE_A_THRU_F \ _C_CTYPE_LOWER_A_THRU_F_N (0): \ _C_CTYPE_LOWER_A_THRU_F_N ('A' - 'a') #define _C_CTYPE_DIGIT \ case '0': case '1': case '2': case '3': \ case '4': case '5': case '6': case '7': \ case '8': case '9' #define _C_CTYPE_LOWER _C_CTYPE_LOWER_N (0) #define _C_CTYPE_PUNCT \ case '!': case '"': case '#': case '$': \ case '%': case '&': case '\'': case '(': \ case ')': case '*': case '+': case ',': \ case '-': case '.': case '/': case ':': \ case ';': case '<': case '=': case '>': \ case '?': case '@': case '[': case '\\': \ case ']': case '^': case '_': case '`': \ case '{': case '|': case '}': case '~' #define _C_CTYPE_UPPER _C_CTYPE_LOWER_N ('A' - 'a') /* Function definitions. */ /* Unlike the functions in , which require an argument in the range of the 'unsigned char' type, the functions here operate on values that are in the 'unsigned char' range or in the 'char' range. In other words, when you have a 'char' value, you need to cast it before using it as argument to a function: const char *s = ...; if (isalpha ((unsigned char) *s)) ... but you don't need to cast it for the functions defined in this file: const char *s = ...; if (c_isalpha (*s)) ... */ C_CTYPE_INLINE bool c_isalnum (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isalpha (int c) { switch (c) { _C_CTYPE_LOWER: _C_CTYPE_UPPER: return true; default: return false; } } /* The function isascii is not locale dependent. Its use in EBCDIC is questionable. */ C_CTYPE_INLINE bool c_isascii (int c) { switch (c) { case ' ': _C_CTYPE_CNTRL: _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isblank (int c) { return c == ' ' || c == '\t'; } C_CTYPE_INLINE bool c_iscntrl (int c) { switch (c) { _C_CTYPE_CNTRL: return true; default: return false; } } C_CTYPE_INLINE bool c_isdigit (int c) { switch (c) { _C_CTYPE_DIGIT: return true; default: return false; } } C_CTYPE_INLINE bool c_isgraph (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_islower (int c) { switch (c) { _C_CTYPE_LOWER: return true; default: return false; } } C_CTYPE_INLINE bool c_isprint (int c) { switch (c) { case ' ': _C_CTYPE_DIGIT: _C_CTYPE_LOWER: _C_CTYPE_PUNCT: _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_ispunct (int c) { switch (c) { _C_CTYPE_PUNCT: return true; default: return false; } } C_CTYPE_INLINE bool c_isspace (int c) { switch (c) { case ' ': case '\t': case '\n': case '\v': case '\f': case '\r': return true; default: return false; } } C_CTYPE_INLINE bool c_isupper (int c) { switch (c) { _C_CTYPE_UPPER: return true; default: return false; } } C_CTYPE_INLINE bool c_isxdigit (int c) { switch (c) { _C_CTYPE_DIGIT: _C_CTYPE_A_THRU_F: return true; default: return false; } } C_CTYPE_INLINE int c_tolower (int c) { switch (c) { _C_CTYPE_UPPER: return c - 'A' + 'a'; default: return c; } } C_CTYPE_INLINE int c_toupper (int c) { switch (c) { _C_CTYPE_LOWER: return c - 'a' + 'A'; default: return c; } } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* C_CTYPE_H */ datamash-1.9/lib/c-strcase.h0000644000000000000000000000424414767401140011407 /* Case-insensitive string comparison functions in C locale. Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef C_STRCASE_H #define C_STRCASE_H /* This file uses _GL_ATTRIBUTE_PURE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include /* The functions defined in this file assume the "C" locale and a character set without diacritics (ASCII-US or EBCDIC-US or something like that). Even if the "C" locale on a particular system is an extension of the ASCII character set (like on BeOS, where it is UTF-8, or on AmigaOS, where it is ISO-8859-1), the functions in this file recognize only the ASCII characters. More precisely, one of the string arguments must be an ASCII string; the other one can also contain non-ASCII characters (but then the comparison result will be nonzero). */ #ifdef __cplusplus extern "C" { #endif /* Compare strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ extern int c_strcasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE; /* Compare no more than N characters of strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. */ extern int c_strncasecmp (const char *s1, const char *s2, size_t n) _GL_ATTRIBUTE_PURE; #ifdef __cplusplus } #endif #endif /* C_STRCASE_H */ datamash-1.9/lib/c-strcasecmp.c0000644000000000000000000000306614767401140012103 /* c-strcasecmp.c -- case insensitive string comparator in C locale Copyright (C) 1998-1999, 2005-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "c-strcase.h" #include #include "c-ctype.h" int c_strcasecmp (const char *s1, const char *s2) { register const unsigned char *p1 = (const unsigned char *) s1; register const unsigned char *p2 = (const unsigned char *) s2; unsigned char c1, c2; if (p1 == p2) return 0; do { c1 = c_tolower (*p1); c2 = c_tolower (*p2); if (c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); if (UCHAR_MAX <= INT_MAX) return c1 - c2; else /* On machines where 'char' and 'int' are types of the same size, the difference of two 'unsigned char' values - including the sign bit - doesn't fit in an 'int'. */ return _GL_CMP (c1, c2); } datamash-1.9/lib/c-strcaseeq.h0000644000000000000000000001063514767401140011736 /* Optimized case-insensitive string comparison in C locale. Copyright (C) 2001-2002, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible . */ #include "c-strcase.h" #include "c-ctype.h" #ifdef __cplusplus extern "C" { #endif /* STRCASEEQ allows to optimize string comparison with a small literal string. STRCASEEQ (s, "UTF-8", 'U','T','F','-','8',0,0,0,0) is semantically equivalent to c_strcasecmp (s, "UTF-8") == 0 just faster. */ /* Help GCC to generate good code for string comparisons with immediate strings. */ #if (defined __GNUC__ || defined __clang__) && defined __OPTIMIZE__ /* Case insensitive comparison of ASCII characters. */ # if C_CTYPE_ASCII # define CASEEQ(other,upper) \ (c_isupper (upper) ? ((other) & ~0x20) == (upper) : (other) == (upper)) # else # define CASEEQ(other,upper) \ (c_toupper (other) == (upper)) # endif static inline int strcaseeq9 (const char *s1, const char *s2) { return c_strcasecmp (s1 + 9, s2 + 9) == 0; } static inline int strcaseeq8 (const char *s1, const char *s2, char s28) { if (CASEEQ (s1[8], s28)) { if (s28 == 0) return 1; else return strcaseeq9 (s1, s2); } else return 0; } static inline int strcaseeq7 (const char *s1, const char *s2, char s27, char s28) { if (CASEEQ (s1[7], s27)) { if (s27 == 0) return 1; else return strcaseeq8 (s1, s2, s28); } else return 0; } static inline int strcaseeq6 (const char *s1, const char *s2, char s26, char s27, char s28) { if (CASEEQ (s1[6], s26)) { if (s26 == 0) return 1; else return strcaseeq7 (s1, s2, s27, s28); } else return 0; } static inline int strcaseeq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[5], s25)) { if (s25 == 0) return 1; else return strcaseeq6 (s1, s2, s26, s27, s28); } else return 0; } static inline int strcaseeq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[4], s24)) { if (s24 == 0) return 1; else return strcaseeq5 (s1, s2, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[3], s23)) { if (s23 == 0) return 1; else return strcaseeq4 (s1, s2, s24, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[2], s22)) { if (s22 == 0) return 1; else return strcaseeq3 (s1, s2, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[1], s21)) { if (s21 == 0) return 1; else return strcaseeq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int strcaseeq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (CASEEQ (s1[0], s20)) { if (s20 == 0) return 1; else return strcaseeq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); } else return 0; } #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ strcaseeq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) #else #define STRCASEEQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ (c_strcasecmp (s1, s2) == 0) #endif #ifdef __cplusplus } #endif datamash-1.9/lib/c32is-impl.h0000644000000000000000000000635214767401140011407 /* Test whether a 32-bit wide character belongs to a specific character class. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2020. */ #include #include #ifdef __CYGWIN__ # include #endif #if GNULIB_defined_mbstate_t # include "localcharset.h" # include "streq.h" #endif #if GL_CHAR32_T_IS_UNICODE # include "lc-charset-unicode.h" #endif #include "unictype.h" #if _GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t _GL_EXTERN_INLINE #endif int FUNC (wint_t wc) { /* The char32_t encoding of a multibyte character is defined by the way mbrtoc32() is defined. */ #if GNULIB_defined_mbstate_t /* AIX, IRIX */ /* mbrtoc32() is defined on top of mbtowc() for the non-UTF-8 locales and directly for the UTF-8 locales. */ if (wc != WEOF) { const char *encoding = locale_charset (); if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) return UCS_FUNC (wc); else return WCHAR_FUNC (wc); } else return 0; #elif HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB /* glibc, Android */ /* mbrtoc32() is essentially defined by the system libc. */ # if _GL_WCHAR_T_IS_UCS4 /* The char32_t encoding of a multibyte character is known to be the same as the wchar_t encoding. */ return WCHAR_FUNC (wc); # else /* The char32_t encoding of a multibyte character is known to be UCS-4, different from the wchar_t encoding. */ if (wc != WEOF) return UCS_FUNC (wc); else return 0; # endif #elif _GL_SMALL_WCHAR_T /* Cygwin, mingw, MSVC */ /* The wchar_t encoding is UTF-16. The char32_t encoding is UCS-4. */ # if defined __CYGWIN__ && CYGWIN_VERSION_DLL_MAJOR >= 1007 /* As an extension to POSIX, the iswalnum() function of Cygwin >= 1.7 supports also wc arguments outside the Unicode BMP, that is, outside the 'wchar_t' range. See = . */ return WCHAR_FUNC (wc); # else if (wc == WEOF || wc == (wchar_t) wc) /* wc is in the range for the isw* functions. */ return WCHAR_FUNC (wc); else return UCS_FUNC (wc); # endif #else /* macOS, FreeBSD, NetBSD, OpenBSD, HP-UX, Solaris, Minix, Android */ /* char32_t and wchar_t are equivalent. */ static_assert (sizeof (char32_t) == sizeof (wchar_t)); # if GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION return UCS_FUNC (wc); # else return WCHAR_FUNC (wc); # endif #endif } datamash-1.9/lib/c32isalnum.c0000644000000000000000000000171014767401140011471 /* Test 32-bit wide character for being alphanumeric. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISALNUM /* Specification. */ #include #define FUNC c32isalnum #define WCHAR_FUNC iswalnum #define UCS_FUNC uc_is_alnum #include "c32is-impl.h" datamash-1.9/lib/c32isalpha.c0000644000000000000000000000170614767401140011447 /* Test 32-bit wide character for being alphabetic. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISALPHA /* Specification. */ #include #define FUNC c32isalpha #define WCHAR_FUNC iswalpha #define UCS_FUNC uc_is_alpha #include "c32is-impl.h" datamash-1.9/lib/c32isblank.c0000644000000000000000000000170114767401140011444 /* Test 32-bit wide character for being blank. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISBLANK /* Specification. */ #include #define FUNC c32isblank #define WCHAR_FUNC iswblank #define UCS_FUNC uc_is_blank #include "c32is-impl.h" datamash-1.9/lib/c32iscntrl.c0000644000000000000000000000171714767401140011506 /* Test 32-bit wide character for being a control character. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISCNTRL /* Specification. */ #include #define FUNC c32iscntrl #define WCHAR_FUNC iswcntrl #define UCS_FUNC uc_is_cntrl #include "c32is-impl.h" datamash-1.9/lib/c32isdigit.c0000644000000000000000000000170314767401140011457 /* Test 32-bit wide character for being a digit. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISDIGIT /* Specification. */ #include #define FUNC c32isdigit #define WCHAR_FUNC iswdigit #define UCS_FUNC uc_is_digit #include "c32is-impl.h" datamash-1.9/lib/c32isgraph.c0000644000000000000000000000170314767401140011460 /* Test 32-bit wide character for being graphic. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISGRAPH /* Specification. */ #include #define FUNC c32isgraph #define WCHAR_FUNC iswgraph #define UCS_FUNC uc_is_graph #include "c32is-impl.h" datamash-1.9/lib/c32islower.c0000644000000000000000000000170514767401140011511 /* Test 32-bit wide character for being lowercase. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISLOWER /* Specification. */ #include #define FUNC c32islower #define WCHAR_FUNC iswlower #define UCS_FUNC uc_is_lower #include "c32is-impl.h" datamash-1.9/lib/c32isprint.c0000644000000000000000000000170514767401140011515 /* Test 32-bit wide character for being printable. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISPRINT /* Specification. */ #include #define FUNC c32isprint #define WCHAR_FUNC iswprint #define UCS_FUNC uc_is_print #include "c32is-impl.h" datamash-1.9/lib/c32ispunct.c0000644000000000000000000000173514767401140011515 /* Test 32-bit wide character for being a punctuation or symbol character. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISPUNCT /* Specification. */ #include #define FUNC c32ispunct #define WCHAR_FUNC iswpunct #define UCS_FUNC uc_is_punct #include "c32is-impl.h" datamash-1.9/lib/c32isspace.c0000644000000000000000000000170714767401140011456 /* Test 32-bit wide character for being white-space. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISSPACE /* Specification. */ #include #define FUNC c32isspace #define WCHAR_FUNC iswspace #define UCS_FUNC uc_is_space #include "c32is-impl.h" datamash-1.9/lib/c32isupper.c0000644000000000000000000000170514767401140011514 /* Test 32-bit wide character for being uppercase. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISUPPER /* Specification. */ #include #define FUNC c32isupper #define WCHAR_FUNC iswupper #define UCS_FUNC uc_is_upper #include "c32is-impl.h" datamash-1.9/lib/c32isxdigit.c0000644000000000000000000000172314767401140011651 /* Test 32-bit wide character for being a hexadecimal digit. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32ISXDIGIT /* Specification. */ #include #define FUNC c32isxdigit #define WCHAR_FUNC iswxdigit #define UCS_FUNC uc_is_xdigit #include "c32is-impl.h" datamash-1.9/lib/c32to-impl.h0000644000000000000000000000621614767401140011415 /* Case mapping of a 32-bit wide character. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2023. */ #include #include #if GNULIB_defined_mbstate_t # include "localcharset.h" # include "streq.h" #endif #if GL_CHAR32_T_IS_UNICODE # include "lc-charset-unicode.h" #endif #include "unicase.h" #if _GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t _GL_EXTERN_INLINE #endif wint_t FUNC (wint_t wc) { /* The char32_t encoding of a multibyte character is defined by the way mbrtoc32() is defined. */ #if GNULIB_defined_mbstate_t /* AIX, IRIX */ /* mbrtoc32() is defined on top of mbtowc() for the non-UTF-8 locales and directly for the UTF-8 locales. */ if (wc != WEOF) { const char *encoding = locale_charset (); if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) return UCS_FUNC (wc); else return WCHAR_FUNC (wc); } else return wc; #elif HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB /* glibc, Android */ /* mbrtoc32() is essentially defined by the system libc. */ # if _GL_WCHAR_T_IS_UCS4 /* The char32_t encoding of a multibyte character is known to be the same as the wchar_t encoding. */ return WCHAR_FUNC (wc); # else /* The char32_t encoding of a multibyte character is known to be UCS-4, different from the wchar_t encoding. */ if (wc != WEOF) return UCS_FUNC (wc); else return wc; # endif #elif _GL_SMALL_WCHAR_T /* Cygwin, mingw, MSVC */ /* The wchar_t encoding is UTF-16. The char32_t encoding is UCS-4. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, in the UTF-8 locale, towlower and towupper are lacking (at least) the mappings for ISO-8859-1 characters, such as 0x00C9 <-> 0x00E9. Since it is expensive to test whether the locale encoding is UTF-8, ignore the system's WCHAR_FUNC altogether. */ if (wc != WEOF) return UCS_FUNC (wc); else return wc; # else if (wc == WEOF || wc == (wchar_t) wc) /* wc is in the range for the tow* functions. */ return WCHAR_FUNC (wc); else return UCS_FUNC (wc); # endif #else /* macOS, FreeBSD, NetBSD, OpenBSD, HP-UX, Solaris, Minix, Android */ /* char32_t and wchar_t are equivalent. */ static_assert (sizeof (char32_t) == sizeof (wchar_t)); # if GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION return UCS_FUNC (wc); # else return WCHAR_FUNC (wc); # endif #endif } datamash-1.9/lib/c32tolower.c0000644000000000000000000000167614767401140011527 /* Map a 32-bit wide character to lowercase. Copyright (C) 2023-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IN_C32TOLOWER /* Specification. */ #include #define FUNC c32tolower #define WCHAR_FUNC towlower #define UCS_FUNC uc_tolower #include "c32to-impl.h" datamash-1.9/lib/c32width.c0000644000000000000000000000641514767401140011147 /* Determine the number of screen columns needed for a 32-bit wide character. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2023. */ #include #define IN_C32WIDTH /* Specification. */ #include #include #ifdef __CYGWIN__ # include #endif #if GNULIB_defined_mbstate_t # include "streq.h" #endif #include "localcharset.h" #if GL_CHAR32_T_IS_UNICODE # include "lc-charset-unicode.h" #endif #include "uniwidth.h" #if _GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t _GL_EXTERN_INLINE #endif int c32width (char32_t wc) { /* The char32_t encoding of a multibyte character is defined by the way mbrtoc32() is defined. */ #if GNULIB_defined_mbstate_t /* AIX, IRIX */ /* mbrtoc32() is defined on top of mbtowc() for the non-UTF-8 locales and directly for the UTF-8 locales. */ const char *encoding = locale_charset (); if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) return uc_width (wc, encoding); else return wcwidth (wc); #elif HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB /* glibc, Android */ /* mbrtoc32() is essentially defined by the system libc. */ # if _GL_WCHAR_T_IS_UCS4 /* The char32_t encoding of a multibyte character is known to be the same as the wchar_t encoding. */ return wcwidth (wc); # else /* The char32_t encoding of a multibyte character is known to be UCS-4, different from the wchar_t encoding. */ return uc_width (wc, locale_charset ()); # endif #elif _GL_SMALL_WCHAR_T /* Cygwin, mingw, MSVC */ /* The wchar_t encoding is UTF-16. The char32_t encoding is UCS-4. */ # if defined __CYGWIN__ && CYGWIN_VERSION_DLL_MAJOR >= 1007 && 0 /* As an extension to POSIX, the wcwidth() function of Cygwin >= 1.7 supports also wc arguments outside the Unicode BMP, that is, outside the 'wchar_t' range. See . But the resulting values for these characters are not of good quality. */ return wcwidth (wc); # else if (wc == (wchar_t) wc) /* wc is in the range for the wcwidth function. */ return wcwidth (wc); else return uc_width (wc, locale_charset ()); # endif #else /* macOS, FreeBSD, NetBSD, OpenBSD, HP-UX, Solaris, Minix, Android */ /* char32_t and wchar_t are equivalent. */ static_assert (sizeof (char32_t) == sizeof (wchar_t)); # if GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION return uc_width (wc, locale_charset ()); # endif return wcwidth (wc); #endif } datamash-1.9/lib/calloc.c0000644000000000000000000000305514767401140010752 /* calloc() function that is glibc compatible. This wrapper function is required at least on Tru64 UNIX 5.1 and mingw. Copyright (C) 2004-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Jim Meyering and Bruno Haible */ /* Ensure that we call the system's calloc() below. */ #define _GL_USE_STDLIB_ALLOC 1 #include /* Specification. */ #include #include #include /* Allocate and zero-fill an NxS-byte block of memory from the heap, even if N or S is zero. */ void * rpl_calloc (size_t n, size_t s) { #if !HAVE_MALLOC_0_NONNULL if (n == 0 || s == 0) n = s = 1; #endif #if !HAVE_MALLOC_PTRDIFF ptrdiff_t signed_n; if (ckd_mul (&signed_n, n, s)) { errno = ENOMEM; return NULL; } #endif void *result = calloc (n, s); #if !HAVE_MALLOC_POSIX if (result == NULL) errno = ENOMEM; #endif return result; } datamash-1.9/lib/cdefs.h0000644000000000000000000006440114767401140010610 /* Copyright (C) 1992-2025 Free Software Foundation, Inc. Copyright The GNU Toolchain Authors. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _SYS_CDEFS_H #define _SYS_CDEFS_H 1 /* We are almost always included from features.h. */ #ifndef _FEATURES_H # include #endif /* The GNU libc does not support any K&R compilers or the traditional mode of ISO C compilers anymore. Check for some of the combinations not supported anymore. */ #if defined __GNUC__ && !defined __STDC__ # error "You need a ISO C conforming compiler to use the glibc headers" #endif /* Some user header file might have defined this before. */ #undef __P #undef __PMT /* Compilers that lack __has_attribute may object to #if defined __has_attribute && __has_attribute (...) even though they do not need to evaluate the right-hand side of the &&. Similarly for __has_builtin, etc. */ #if (defined __has_attribute \ && (!defined __clang_minor__ \ || (defined __apple_build_version__ \ ? 7000000 <= __apple_build_version__ \ : 5 <= __clang_major__))) # define __glibc_has_attribute(attr) __has_attribute (attr) #else # define __glibc_has_attribute(attr) 0 #endif #ifdef __has_builtin # define __glibc_has_builtin(name) __has_builtin (name) #else # define __glibc_has_builtin(name) 0 #endif #ifdef __has_extension # define __glibc_has_extension(ext) __has_extension (ext) #else # define __glibc_has_extension(ext) 0 #endif #if defined __GNUC__ || defined __clang__ /* All functions, except those with callbacks or those that synchronize memory, are leaf functions. */ # if __GNUC_PREREQ (4, 6) && !defined _LIBC # define __LEAF , __leaf__ # define __LEAF_ATTR __attribute__ ((__leaf__)) # else # define __LEAF # define __LEAF_ATTR # endif /* GCC can always grok prototypes. For C++ programs we add throw() to help it optimize the function calls. But this only works with gcc 2.8.x and egcs. For gcc 3.4 and up we even mark C functions as non-throwing using a function attribute since programs can use the -fexceptions options for C code as well. */ # if !defined __cplusplus \ && (__GNUC_PREREQ (3, 4) || __glibc_has_attribute (__nothrow__)) # define __THROW __attribute__ ((__nothrow__ __LEAF)) # define __THROWNL __attribute__ ((__nothrow__)) # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct # define __NTHNL(fct) __attribute__ ((__nothrow__)) fct # else # if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major__ >= 4) # if __cplusplus >= 201103L # define __THROW noexcept (true) # else # define __THROW throw () # endif # define __THROWNL __THROW # define __NTH(fct) __LEAF_ATTR fct __THROW # define __NTHNL(fct) fct __THROW # else # define __THROW # define __THROWNL # define __NTH(fct) fct # define __NTHNL(fct) fct # endif # endif #else /* Not GCC or clang. */ # if (defined __cplusplus \ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)) # define __inline inline # else # define __inline /* No inline functions. */ # endif # define __THROW # define __THROWNL # define __NTH(fct) fct #endif /* GCC || clang. */ /* These two macros are not used in glibc anymore. They are kept here only because some other projects expect the macros to be defined. */ #define __P(args) args #define __PMT(args) args /* For these things, GCC behaves the ANSI way normally, and the non-ANSI way under -traditional. */ #define __CONCAT(x,y) x ## y #define __STRING(x) #x /* This is not a typedef so `const __ptr_t' does the right thing. */ #define __ptr_t void * /* C++ needs to know that types and declarations are C, not C++. */ #ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # define __END_DECLS } #else # define __BEGIN_DECLS # define __END_DECLS #endif /* Gnulib avoids these definitions, as they don't work on non-glibc platforms. In particular, __bos and __bos0 are defined differently in the Android libc. */ #ifndef __GNULIB_CDEFS /* Fortify support. */ # define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) # define __bos0(ptr) __builtin_object_size (ptr, 0) /* Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. */ # if __USE_FORTIFY_LEVEL == 3 && (__glibc_clang_prereq (9, 0) \ || __GNUC_PREREQ (12, 0)) # define __glibc_objsize0(__o) __builtin_dynamic_object_size (__o, 0) # define __glibc_objsize(__o) __builtin_dynamic_object_size (__o, 1) # else # define __glibc_objsize0(__o) __bos0 (__o) # define __glibc_objsize(__o) __bos (__o) # endif /* Compile time conditions to choose between the regular, _chk and _chk_warn variants. These conditions should get evaluated to constant and optimized away. */ # define __glibc_safe_len_cond(__l, __s, __osz) ((__l) <= (__osz) / (__s)) # define __glibc_unsigned_or_positive(__l) \ ((__typeof (__l)) 0 < (__typeof (__l)) -1 \ || (__builtin_constant_p (__l) && (__l) > 0)) /* Length is known to be safe at compile time if the __L * __S <= __OBJSZ condition can be folded to a constant and if it is true, or unknown (-1) */ # define __glibc_safe_or_unknown_len(__l, __s, __osz) \ ((__osz) == (__SIZE_TYPE__) -1 \ || (__glibc_unsigned_or_positive (__l) \ && __builtin_constant_p (__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), \ (__s), (__osz))) \ && __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), (__s), (__osz)))) /* Conversely, we know at compile time that the length is unsafe if the __L * __S <= __OBJSZ condition can be folded to a constant and if it is false. */ # define __glibc_unsafe_len(__l, __s, __osz) \ (__glibc_unsigned_or_positive (__l) \ && __builtin_constant_p (__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), \ __s, __osz)) \ && !__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz)) /* Fortify function f. __f_alias, __f_chk and __f_chk_warn must be declared. */ # define __glibc_fortify(f, __l, __s, __osz, ...) \ (__glibc_safe_or_unknown_len (__l, __s, __osz) \ ? __ ## f ## _alias (__VA_ARGS__) \ : (__glibc_unsafe_len (__l, __s, __osz) \ ? __ ## f ## _chk_warn (__VA_ARGS__, __osz) \ : __ ## f ## _chk (__VA_ARGS__, __osz))) \ /* Fortify function f, where object size argument passed to f is the number of elements and not total size. */ # define __glibc_fortify_n(f, __l, __s, __osz, ...) \ (__glibc_safe_or_unknown_len (__l, __s, __osz) \ ? __ ## f ## _alias (__VA_ARGS__) \ : (__glibc_unsafe_len (__l, __s, __osz) \ ? __ ## f ## _chk_warn (__VA_ARGS__, (__osz) / (__s)) \ : __ ## f ## _chk (__VA_ARGS__, (__osz) / (__s)))) \ #endif #if __GNUC_PREREQ (4,3) # define __warnattr(msg) __attribute__((__warning__ (msg))) # define __errordecl(name, msg) \ extern void name (void) __attribute__((__error__ (msg))) #else # define __warnattr(msg) # define __errordecl(name, msg) extern void name (void) #endif /* Support for flexible arrays. Headers that should use flexible arrays only if they're "real" (e.g. only if they won't affect sizeof()) should test #if __glibc_c99_flexarr_available. */ #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L && !defined __HP_cc # define __flexarr [] # define __glibc_c99_flexarr_available 1 #elif __GNUC_PREREQ (2,97) || defined __clang__ /* GCC 2.97 and clang support C99 flexible array members as an extension, even when in C89 mode or compiling C++ (any version). */ # define __flexarr [] # define __glibc_c99_flexarr_available 1 #elif defined __GNUC__ /* Pre-2.97 GCC did not support C99 flexible arrays but did have an equivalent extension with slightly different notation. */ # define __flexarr [0] # define __glibc_c99_flexarr_available 1 #else /* Some other non-C99 compiler. Approximate with [1]. */ # define __flexarr [1] # define __glibc_c99_flexarr_available 0 #endif /* __asm__ ("xyz") is used throughout the headers to rename functions at the assembly language level. This is wrapped by the __REDIRECT macro, in order to support compilers that can do this some other way. When compilers don't support asm-names at all, we have to do preprocessor tricks instead (which don't have exactly the right semantics, but it's the best we can do). Example: int __REDIRECT(setpgrp, (__pid_t pid, __pid_t pgrp), setpgid); */ #if (defined __GNUC__ && __GNUC__ >= 2) || (__clang_major__ >= 4) # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) # ifdef __cplusplus # define __REDIRECT_NTH(name, proto, alias) \ name proto __THROW __asm__ (__ASMNAME (#alias)) # define __REDIRECT_NTHNL(name, proto, alias) \ name proto __THROWNL __asm__ (__ASMNAME (#alias)) # else # define __REDIRECT_NTH(name, proto, alias) \ name proto __asm__ (__ASMNAME (#alias)) __THROW # define __REDIRECT_NTHNL(name, proto, alias) \ name proto __asm__ (__ASMNAME (#alias)) __THROWNL # endif # define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) # define __ASMNAME2(prefix, cname) __STRING (prefix) cname /* #elif __SOME_OTHER_COMPILER__ # define __REDIRECT(name, proto, alias) name proto; \ _Pragma("let " #name " = " #alias) */ #endif /* GCC and clang have various useful declarations that can be made with the '__attribute__' syntax. All of the ways we use this do fine if they are omitted for compilers that don't understand it. */ #if !(defined __GNUC__ || defined __clang__) # define __attribute__(xyz) /* Ignore */ #endif /* At some point during the gcc 2.96 development the `malloc' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (2,96) || __glibc_has_attribute (__malloc__) # define __attribute_malloc__ __attribute__ ((__malloc__)) #else # define __attribute_malloc__ /* Ignore */ #endif /* Tell the compiler which arguments to an allocation function indicate the size of the allocation. */ #if __GNUC_PREREQ (4, 3) # define __attribute_alloc_size__(params) \ __attribute__ ((__alloc_size__ params)) #else # define __attribute_alloc_size__(params) /* Ignore. */ #endif /* Tell the compiler which argument to an allocation function indicates the alignment of the allocation. */ #if __GNUC_PREREQ (4, 9) || __glibc_has_attribute (__alloc_align__) # define __attribute_alloc_align__(param) \ __attribute__ ((__alloc_align__ param)) #else # define __attribute_alloc_align__(param) /* Ignore. */ #endif /* At some point during the gcc 2.96 development the `pure' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (2,96) || __glibc_has_attribute (__pure__) # define __attribute_pure__ __attribute__ ((__pure__)) #else # define __attribute_pure__ /* Ignore */ #endif /* This declaration tells the compiler that the value is constant. */ #if __GNUC_PREREQ (2,5) || __glibc_has_attribute (__const__) # define __attribute_const__ __attribute__ ((__const__)) #else # define __attribute_const__ /* Ignore */ #endif #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__) # define __attribute_maybe_unused__ __attribute__ ((__unused__)) #else # define __attribute_maybe_unused__ /* Ignore */ #endif /* At some point during the gcc 3.1 development the `used' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (3,1) || __glibc_has_attribute (__used__) # define __attribute_used__ __attribute__ ((__used__)) # define __attribute_noinline__ __attribute__ ((__noinline__)) #else # define __attribute_used__ __attribute__ ((__unused__)) # define __attribute_noinline__ /* Ignore */ #endif /* Since version 3.2, gcc allows marking deprecated functions. */ #if __GNUC_PREREQ (3,2) || __glibc_has_attribute (__deprecated__) # define __attribute_deprecated__ __attribute__ ((__deprecated__)) #else # define __attribute_deprecated__ /* Ignore */ #endif /* Since version 4.5, gcc also allows one to specify the message printed when a deprecated function is used. clang claims to be gcc 4.2, but may also support this feature. */ #if __GNUC_PREREQ (4,5) \ || __glibc_has_extension (__attribute_deprecated_with_message__) # define __attribute_deprecated_msg__(msg) \ __attribute__ ((__deprecated__ (msg))) #else # define __attribute_deprecated_msg__(msg) __attribute_deprecated__ #endif /* At some point during the gcc 2.8 development the `format_arg' attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. If several `format_arg' attributes are given for the same function, in gcc-3.0 and older, all but the last one are ignored. In newer gccs, all designated arguments are considered. */ #if __GNUC_PREREQ (2,8) || __glibc_has_attribute (__format_arg__) # define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x))) #else # define __attribute_format_arg__(x) /* Ignore */ #endif /* At some point during the gcc 2.97 development the `strfmon' format attribute for functions was introduced. We don't want to use it unconditionally (although this would be possible) since it generates warnings. */ #if __GNUC_PREREQ (2,97) || __glibc_has_attribute (__format__) # define __attribute_format_strfmon__(a,b) \ __attribute__ ((__format__ (__strfmon__, a, b))) #else # define __attribute_format_strfmon__(a,b) /* Ignore */ #endif /* The nonnull function attribute marks pointer parameters that must not be NULL. This has the name __nonnull in glibc, and __attribute_nonnull__ in files shared with Gnulib to avoid collision with a different __nonnull in DragonFlyBSD 5.9. */ #ifndef __attribute_nonnull__ # if __GNUC_PREREQ (3,3) || __glibc_has_attribute (__nonnull__) # define __attribute_nonnull__(params) __attribute__ ((__nonnull__ params)) # else # define __attribute_nonnull__(params) # endif #endif #ifndef __nonnull # define __nonnull(params) __attribute_nonnull__ (params) #endif /* The returns_nonnull function attribute marks the return type of the function as always being non-null. */ #ifndef __returns_nonnull # if __GNUC_PREREQ (4, 9) || __glibc_has_attribute (__returns_nonnull__) # define __returns_nonnull __attribute__ ((__returns_nonnull__)) # else # define __returns_nonnull # endif #endif /* If fortification mode, we warn about unused results of certain function calls which can lead to problems. */ #if __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__) # define __attribute_warn_unused_result__ \ __attribute__ ((__warn_unused_result__)) # if defined __USE_FORTIFY_LEVEL && __USE_FORTIFY_LEVEL > 0 # define __wur __attribute_warn_unused_result__ # endif #else # define __attribute_warn_unused_result__ /* empty */ #endif #ifndef __wur # define __wur /* Ignore */ #endif /* Forces a function to be always inlined. */ #if __GNUC_PREREQ (3,2) || __glibc_has_attribute (__always_inline__) /* The Linux kernel defines __always_inline in stddef.h (283d7573), and it conflicts with this definition. Therefore undefine it first to allow either header to be included first. */ # undef __always_inline # define __always_inline __inline __attribute__ ((__always_inline__)) #else # undef __always_inline # define __always_inline __inline #endif /* Associate error messages with the source location of the call site rather than with the source location inside the function. */ #if __GNUC_PREREQ (4,3) || __glibc_has_attribute (__artificial__) # define __attribute_artificial__ __attribute__ ((__artificial__)) #else # define __attribute_artificial__ /* Ignore */ #endif /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions older than 4.3 may define these macros and still not guarantee GNU inlining semantics. clang++ identifies itself as gcc-4.2, but has support for GNU inlining semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and __GNUC_GNU_INLINE__ macro definitions. */ #if (!defined __cplusplus || __GNUC_PREREQ (4,3) \ || (defined __clang__ && (defined __GNUC_STDC_INLINE__ \ || defined __GNUC_GNU_INLINE__))) # if defined __GNUC_STDC_INLINE__ || defined __cplusplus # define __extern_inline extern __inline __attribute__ ((__gnu_inline__)) # define __extern_always_inline \ extern __always_inline __attribute__ ((__gnu_inline__)) # else # define __extern_inline extern __inline # define __extern_always_inline extern __always_inline # endif #endif #ifdef __extern_always_inline # define __fortify_function __extern_always_inline __attribute_artificial__ #endif /* GCC 4.3 and above allow passing all anonymous arguments of an __extern_always_inline function to some other vararg function. */ #if __GNUC_PREREQ (4,3) # define __va_arg_pack() __builtin_va_arg_pack () # define __va_arg_pack_len() __builtin_va_arg_pack_len () #endif /* It is possible to compile containing GCC extensions even if GCC is run in pedantic mode if the uses are carefully marked using the `__extension__' keyword. But this is not generally available before version 2.8. */ #if !(__GNUC_PREREQ (2,8) || defined __clang__) # define __extension__ /* Ignore */ #endif /* __restrict is known in EGCS 1.2 and above, and in clang. It works also in C++ mode (outside of arrays), but only when spelled as '__restrict', not 'restrict'. */ #if !(__GNUC_PREREQ (2,92) || __clang_major__ >= 3) # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # define __restrict restrict # else # define __restrict /* Ignore */ # endif #endif /* ISO C99 also allows to declare arrays as non-overlapping. The syntax is array_name[restrict] GCC 3.1 and clang support this. This syntax is not usable in C++ mode. */ #if (__GNUC_PREREQ (3,1) || __clang_major__ >= 3) && !defined __cplusplus # define __restrict_arr __restrict #else # ifdef __GNUC__ # define __restrict_arr /* Not supported in old GCC. */ # else # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # define __restrict_arr restrict # else /* Some other non-C99 compiler. */ # define __restrict_arr /* Not supported. */ # endif # endif #endif #if (__GNUC__ >= 3) || __glibc_has_builtin (__builtin_expect) # define __glibc_unlikely(cond) __builtin_expect ((cond), 0) # define __glibc_likely(cond) __builtin_expect ((cond), 1) #else # define __glibc_unlikely(cond) (cond) # define __glibc_likely(cond) (cond) #endif #if (!defined _Noreturn \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && !(__GNUC_PREREQ (4,7) \ || (3 < __clang_major__ + (5 <= __clang_minor__)))) # if __GNUC_PREREQ (2,8) # define _Noreturn __attribute__ ((__noreturn__)) # else # define _Noreturn # endif #endif #if __GNUC_PREREQ (8, 0) /* Describes a char array whose address can safely be passed as the first argument to strncpy and strncat, as the char array is not necessarily a NUL-terminated string. */ # define __attribute_nonstring__ __attribute__ ((__nonstring__)) #else # define __attribute_nonstring__ #endif /* Undefine (also defined in libc-symbols.h). */ #undef __attribute_copy__ #if __GNUC_PREREQ (9, 0) /* Copies attributes from the declaration or type referenced by the argument. */ # define __attribute_copy__(arg) __attribute__ ((__copy__ (arg))) #else # define __attribute_copy__(arg) #endif #if (!defined _Static_assert && !defined __cplusplus \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && (!(__GNUC_PREREQ (4, 6) || __clang_major__ >= 4) \ || defined __STRICT_ANSI__)) # define _Static_assert(expr, diagnostic) \ extern int (*__Static_assert_function (void)) \ [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })] #endif /* Gnulib avoids including these, as they don't work on non-glibc or older glibc platforms. */ #ifndef __GNULIB_CDEFS # include # include #endif #if __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1 # ifdef __REDIRECT /* Alias name defined automatically. */ # define __LDBL_REDIR(name, proto) ... unused__ldbl_redir # define __LDBL_REDIR_DECL(name) \ extern __typeof (name) name __asm (__ASMNAME ("__" #name "ieee128")); /* Alias name defined automatically, with leading underscores. */ # define __LDBL_REDIR2_DECL(name) \ extern __typeof (__##name) __##name \ __asm (__ASMNAME ("__" #name "ieee128")); /* Alias name defined manually. */ # define __LDBL_REDIR1(name, proto, alias) ... unused__ldbl_redir1 # define __LDBL_REDIR1_DECL(name, alias) \ extern __typeof (name) name __asm (__ASMNAME (#alias)); # define __LDBL_REDIR1_NTH(name, proto, alias) \ __REDIRECT_NTH (name, proto, alias) # define __REDIRECT_NTH_LDBL(name, proto, alias) \ __LDBL_REDIR1_NTH (name, proto, __##alias##ieee128) /* Unused. */ # define __REDIRECT_LDBL(name, proto, alias) ... unused__redirect_ldbl # define __LDBL_REDIR_NTH(name, proto) ... unused__ldbl_redir_nth # else _Static_assert (0, "IEEE 128-bits long double requires redirection on this platform"); # endif #elif defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH # define __LDBL_COMPAT 1 # ifdef __REDIRECT # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias) # define __LDBL_REDIR(name, proto) \ __LDBL_REDIR1 (name, proto, __nldbl_##name) # define __LDBL_REDIR1_NTH(name, proto, alias) __REDIRECT_NTH (name, proto, alias) # define __LDBL_REDIR_NTH(name, proto) \ __LDBL_REDIR1_NTH (name, proto, __nldbl_##name) # define __LDBL_REDIR2_DECL(name) \ extern __typeof (__##name) __##name __asm (__ASMNAME ("__nldbl___" #name)); # define __LDBL_REDIR1_DECL(name, alias) \ extern __typeof (name) name __asm (__ASMNAME (#alias)); # define __LDBL_REDIR_DECL(name) \ extern __typeof (name) name __asm (__ASMNAME ("__nldbl_" #name)); # define __REDIRECT_LDBL(name, proto, alias) \ __LDBL_REDIR1 (name, proto, __nldbl_##alias) # define __REDIRECT_NTH_LDBL(name, proto, alias) \ __LDBL_REDIR1_NTH (name, proto, __nldbl_##alias) # endif #endif #if (!defined __LDBL_COMPAT && __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 0) \ || !defined __REDIRECT # define __LDBL_REDIR1(name, proto, alias) name proto # define __LDBL_REDIR(name, proto) name proto # define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW # define __LDBL_REDIR_NTH(name, proto) name proto __THROW # define __LDBL_REDIR2_DECL(name) # define __LDBL_REDIR_DECL(name) # ifdef __REDIRECT # define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias) # define __REDIRECT_NTH_LDBL(name, proto, alias) \ __REDIRECT_NTH (name, proto, alias) # endif #endif /* __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is intended for use in preprocessor macros. Note: MESSAGE must be a _single_ string; concatenation of string literals is not supported. */ #if __GNUC_PREREQ (4,8) || __glibc_clang_prereq (3,5) # define __glibc_macro_warning1(message) _Pragma (#message) # define __glibc_macro_warning(message) \ __glibc_macro_warning1 (GCC warning message) #else # define __glibc_macro_warning(msg) #endif /* Generic selection (ISO C11) is a C-only feature, available in GCC since version 4.9. Previous versions do not provide generic selection, even though they might set __STDC_VERSION__ to 201112L, when in -std=c11 mode. Thus, we must check for !defined __GNUC__ when testing __STDC_VERSION__ for generic selection support. On the other hand, Clang also defines __GNUC__, so a clang-specific check is required to enable the use of generic selection. */ #if !defined __cplusplus \ && (__GNUC_PREREQ (4, 9) \ || __glibc_has_extension (c_generic_selections) \ || (!defined __GNUC__ && defined __STDC_VERSION__ \ && __STDC_VERSION__ >= 201112L)) # define __HAVE_GENERIC_SELECTION 1 #else # define __HAVE_GENERIC_SELECTION 0 #endif #if __GNUC_PREREQ (10, 0) /* Designates a 1-based positional argument ref-index of pointer type that can be used to access size-index elements of the pointed-to array according to access mode, or at least one element when size-index is not provided: access (access-mode, [, ]) */ # define __attr_access(x) __attribute__ ((__access__ x)) /* For _FORTIFY_SOURCE == 3 we use __builtin_dynamic_object_size, which may use the access attribute to get object sizes from function definition arguments, so we can't use them on functions we fortify. Drop the object size hints for such functions. */ # if __USE_FORTIFY_LEVEL == 3 # define __fortified_attr_access(a, o, s) __attribute__ ((__access__ (a, o))) # else # define __fortified_attr_access(a, o, s) __attr_access ((a, o, s)) # endif # if __GNUC_PREREQ (11, 0) # define __attr_access_none(argno) __attribute__ ((__access__ (__none__, argno))) # else # define __attr_access_none(argno) # endif #else # define __fortified_attr_access(a, o, s) # define __attr_access(x) # define __attr_access_none(argno) #endif #if __GNUC_PREREQ (11, 0) /* Designates dealloc as a function to call to deallocate objects allocated by the declared function. */ # define __attr_dealloc(dealloc, argno) \ __attribute__ ((__malloc__ (dealloc, argno))) # define __attr_dealloc_free __attr_dealloc (__builtin_free, 1) #else # define __attr_dealloc(dealloc, argno) # define __attr_dealloc_free #endif /* Specify that a function such as setjmp or vfork may return twice. */ #if __GNUC_PREREQ (4, 1) # define __attribute_returns_twice__ __attribute__ ((__returns_twice__)) #else # define __attribute_returns_twice__ /* Ignore. */ #endif #endif /* sys/cdefs.h */ datamash-1.9/lib/ceil.c0000644000000000000000000000706414767401140010435 /* Round towards positive infinity. Copyright (C) 2007, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #if ! defined USE_LONG_DOUBLE # include #endif /* Specification. */ #include #include #undef MIN #ifdef USE_LONG_DOUBLE # define FUNC ceill # define DOUBLE long double # define MANT_DIG LDBL_MANT_DIG # define MIN LDBL_MIN # define L_(literal) literal##L #elif ! defined USE_FLOAT # define FUNC ceil # define DOUBLE double # define MANT_DIG DBL_MANT_DIG # define MIN DBL_MIN # define L_(literal) literal #else /* defined USE_FLOAT */ # define FUNC ceilf # define DOUBLE float # define MANT_DIG FLT_MANT_DIG # define MIN FLT_MIN # define L_(literal) literal##f #endif /* -0.0. See minus-zero.h. */ #if defined __hpux || defined __sgi || defined __ICC # define MINUS_ZERO (-MIN * MIN) #else # define MINUS_ZERO L_(-0.0) #endif /* MSVC with option -fp:strict refuses to compile constant initializers that contain floating-point operations. Pacify this compiler. */ #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif /* 2^(MANT_DIG-1). */ static const DOUBLE TWO_MANT_DIG = /* Assume MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (DOUBLE) (1U << ((MANT_DIG - 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 2) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 3) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 4) / 5)); DOUBLE FUNC (DOUBLE x) { /* The use of 'volatile' guarantees that excess precision bits are dropped at each addition step and before the following comparison at the caller's site. It is necessary on x86 systems where double-floats are not IEEE compliant by default, to avoid that the results become platform and compiler option dependent. 'volatile' is a portable alternative to gcc's -ffloat-store option. */ volatile DOUBLE y = x; volatile DOUBLE z = y; if (z > L_(0.0)) { /* Avoid rounding errors for values near 2^k, where k >= MANT_DIG-1. */ if (z < TWO_MANT_DIG) { /* Round to the next integer (nearest or up or down, doesn't matter). */ z += TWO_MANT_DIG; z -= TWO_MANT_DIG; /* Enforce rounding up. */ if (z < y) z += L_(1.0); } } else if (z < L_(0.0)) { /* For -1 < x < 0, return -0.0 regardless of the current rounding mode. */ if (z > L_(-1.0)) z = MINUS_ZERO; /* Avoid rounding errors for values near -2^k, where k >= MANT_DIG-1. */ else if (z > - TWO_MANT_DIG) { /* Round to the next integer (nearest or up or down, doesn't matter). */ z -= TWO_MANT_DIG; z += TWO_MANT_DIG; /* Enforce rounding up. */ if (z < y) z += L_(1.0); } } return z; } datamash-1.9/lib/ceill.c0000644000000000000000000000201614767401140010601 /* Round towards positive infinity. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Specification. */ # include long double ceill (long double x) { return ceil (x); } #else # define USE_LONG_DOUBLE # include "ceil.c" #endif datamash-1.9/lib/cloexec.c0000644000000000000000000000445414767401140011143 /* cloexec.c - set or clear the close-on-exec descriptor flag Copyright (C) 1991, 2004-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* The code is taken from glibc/manual/llio.texi */ #include #include "cloexec.h" #include #include #include /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec followed by closing the original DESC, or use interfaces such as open or pipe2 that accept flags like O_CLOEXEC to create DESC non-inheritable in the first place. */ int set_cloexec_flag (int desc, bool value) { #ifdef F_SETFD int flags = fcntl (desc, F_GETFD, 0); if (0 <= flags) { int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC); if (flags == newflags || fcntl (desc, F_SETFD, newflags) != -1) return 0; } return -1; #else /* !F_SETFD */ /* Use dup2 to reject invalid file descriptors; the cloexec flag will be unaffected. */ if (desc < 0) { errno = EBADF; return -1; } if (dup2 (desc, desc) < 0) /* errno is EBADF here. */ return -1; /* There is nothing we can do on this kind of platform. Punt. */ return 0; #endif /* !F_SETFD */ } /* Duplicates a file handle FD, while marking the copy to be closed prior to exec or spawn. Returns -1 and sets errno if FD could not be duplicated. */ int dup_cloexec (int fd) { return fcntl (fd, F_DUPFD_CLOEXEC, 0); } datamash-1.9/lib/cloexec.h0000644000000000000000000000303614767401140011143 /* cloexec.c - set or clear the close-on-exec descriptor flag Copyright (C) 2004, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifdef __cplusplus extern "C" { #endif /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec followed by closing the original DESC, or use interfaces such as open or pipe2 that accept flags like O_CLOEXEC to create DESC non-inheritable in the first place. */ int set_cloexec_flag (int desc, bool value); /* Duplicates a file handle FD, while marking the copy to be closed prior to exec or spawn. Returns -1 and sets errno if FD could not be duplicated. */ int dup_cloexec (int fd); #ifdef __cplusplus } #endif datamash-1.9/lib/close-stream.c0000644000000000000000000000572214767401140012116 /* Close a stream, with nicer error checking than fclose's. Copyright (C) 1998-2002, 2004, 2006-2025 Free Software Foundation, Inc. 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 . */ #include #include "close-stream.h" #include #include "fpending.h" #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif /* Close STREAM. Return 0 if successful, EOF (setting errno) otherwise. A failure might set errno to 0 if the error number cannot be determined. A failure with errno set to EPIPE may or may not indicate an error situation worth signaling to the user. See the documentation of the close_stdout_set_ignore_EPIPE function for details. If a program writes *anything* to STREAM, that program should close STREAM and make sure that it succeeds before exiting. Otherwise, suppose that you go to the extreme of checking the return status of every function that does an explicit write to STREAM. The last printf can succeed in writing to the internal stream buffer, and yet the fclose(STREAM) could still fail (due e.g., to a disk full error) when it tries to write out that buffered data. Thus, you would be left with an incomplete output file and the offending program would exit successfully. Even calling fflush is not always sufficient, since some file systems (NFS and CODA) buffer written/flushed data until an actual close call. Besides, it's wasteful to check the return value from every call that writes to STREAM -- just let the internal stream state record the failure. That's what the ferror test is checking below. */ int close_stream (FILE *stream) { const bool some_pending = (__fpending (stream) != 0); const bool prev_fail = (ferror (stream) != 0); const bool fclose_fail = (fclose (stream) != 0); /* Return an error indication if there was a previous failure or if fclose failed, with one exception: ignore an fclose failure if there was no previous error, no data remains to be flushed, and fclose failed with EBADF. That can happen when a program like cp is invoked like this 'cp a b >&-' (i.e., with standard output closed) and doesn't generate any output (hence no previous error and nothing to be flushed). */ if (prev_fail || (fclose_fail && (some_pending || errno != EBADF))) { if (! fclose_fail) errno = 0; return EOF; } return 0; } datamash-1.9/lib/close-stream.h0000644000000000000000000000156614767401140012125 /* Close a stream, with nicer error checking than fclose's. Copyright (C) 2006-2025 Free Software Foundation, Inc. This file 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 file 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 . */ #include #ifdef __cplusplus extern "C" { #endif int close_stream (FILE *stream); #ifdef __cplusplus } #endif datamash-1.9/lib/close.c0000644000000000000000000000314314767401140010620 /* close replacement. Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include "fd-hook.h" #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef close #if defined _WIN32 && !defined __CYGWIN__ # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int close_nothrow (int fd) { int result; TRY_MSVC_INVAL { result = _close (fd); } CATCH_MSVC_INVAL { result = -1; errno = EBADF; } DONE_MSVC_INVAL; return result; } # else # define close_nothrow _close # endif #else # define close_nothrow close #endif /* Override close() to call into other gnulib modules. */ int rpl_close (int fd) { #if WINDOWS_SOCKETS int retval = execute_all_close_hooks (close_nothrow, fd); #else int retval = close_nothrow (fd); #endif #if REPLACE_FCHDIR if (retval >= 0) _gl_unregister_fd (fd); #endif return retval; } datamash-1.9/lib/closeout.c0000644000000000000000000001140514767401140011350 /* Close standard output and standard error, exiting with a diagnostic on error. Copyright (C) 1998-2002, 2004, 2006, 2008-2025 Free Software Foundation, Inc. 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 . */ #include #include "closeout.h" #include #include #include #include "gettext.h" #define _(msgid) dgettext ("gnulib", msgid) #include "close-stream.h" #include #include "exitfail.h" #include "quotearg.h" #ifndef __has_feature # define __has_feature(a) false #endif #if defined __SANITIZE_ADDRESS__ || __has_feature (address_sanitizer) enum { SANITIZE_ADDRESS = true }; #else enum { SANITIZE_ADDRESS = false }; #endif static const char *file_name; /* Set the file name to be reported in the event an error is detected by close_stdout. */ void close_stdout_set_file_name (const char *file) { file_name = file; } static bool ignore_EPIPE /* = false */; /* Specify the reaction to an EPIPE error during the closing of stdout: - If ignore = true, it shall be ignored. - If ignore = false, it shall evoke a diagnostic, along with a nonzero exit status. The default is ignore = false. This setting matters only if the SIGPIPE signal is ignored (i.e. its handler set to SIG_IGN) or blocked. Only particular programs need to temporarily ignore SIGPIPE. If SIGPIPE is ignored or blocked because it was ignored or blocked in the parent process when it created the child process, it usually is a bug in the parent process: It is bad practice to have SIGPIPE ignored or blocked while creating a child process. EPIPE occurs when writing to a pipe or socket that has no readers now, when SIGPIPE is ignored or blocked. The ignore = false setting is suitable for a scenario where it is normally guaranteed that the pipe writer terminates before the pipe reader. In this case, an EPIPE is an indication of a premature termination of the pipe reader and should lead to a diagnostic and a nonzero exit status. The ignore = true setting is suitable for a scenario where you don't know ahead of time whether the pipe writer or the pipe reader will terminate first. In this case, an EPIPE is an indication that the pipe writer can stop doing useless write() calls; this is what close_stdout does anyway. EPIPE is part of the normal pipe/socket shutdown protocol in this case, and should not lead to a diagnostic message. */ void close_stdout_set_ignore_EPIPE (bool ignore) { ignore_EPIPE = ignore; } /* Close standard output. On error, issue a diagnostic and _exit with status 'exit_failure'. Also close standard error. On error, _exit with status 'exit_failure'. Since close_stdout is commonly registered via 'atexit', POSIX and the C standard both say that it should not call 'exit', because the behavior is undefined if 'exit' is called more than once. So it calls '_exit' instead of 'exit'. If close_stdout is registered via atexit before other functions are registered, the other functions can act before this _exit is invoked. Applications that use close_stdout should flush any streams other than stdout and stderr before exiting, since the call to _exit will bypass other buffer flushing. Applications should be flushing and closing other streams anyway, to check for I/O errors. Also, applications should not use tmpfile, since _exit can bypass the removal of these files. It's important to detect such failures and exit nonzero because many tools (most notably 'make' and other build-management systems) depend on being able to detect failure in other tools via their exit status. */ void close_stdout (void) { if (close_stream (stdout) != 0 && !(ignore_EPIPE && errno == EPIPE)) { char const *write_error = _("write error"); if (file_name) error (0, errno, "%s: %s", quotearg_colon (file_name), write_error); else error (0, errno, "%s", write_error); _exit (exit_failure); } /* Close stderr only if not sanitizing, as sanitizers may report to stderr after this function returns. */ if (!SANITIZE_ADDRESS && close_stream (stderr) != 0) _exit (exit_failure); } datamash-1.9/lib/closeout.h0000644000000000000000000000201414767401140011351 /* Close standard output and standard error. Copyright (C) 1998, 2000, 2003-2004, 2006, 2008-2025 Free Software Foundation, Inc. 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 . */ #ifndef CLOSEOUT_H # define CLOSEOUT_H 1 # ifdef __cplusplus extern "C" { # endif void close_stdout_set_file_name (const char *file); void close_stdout_set_ignore_EPIPE (bool ignore); void close_stdout (void); # ifdef __cplusplus } # endif #endif datamash-1.9/lib/ctype.in.h0000644000000000000000000002475514767402206011271 /* A substitute for ISO C99 , for platforms on which it is incomplete. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible. */ /* * ISO C 99 for platforms on which it is incomplete. * */ #ifndef _@GUARD_PREFIX@_CTYPE_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* On Solaris 11 OmniOS, we cannot include until after has been entirely included. That is because - includes , which makes use of the mbstate_t type. - includes , which includes *before* defining mbstate_t, WEOF, etc. */ #if defined __sun && defined _ISO_WCHAR_ISO_H && !defined WEOF /* We're in the middle of including . Include just the original . */ #@INCLUDE_NEXT@ @NEXT_CTYPE_H@ #else /* Include the original . */ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_CTYPE_H@ #ifndef _@GUARD_PREFIX@_CTYPE_H #define _@GUARD_PREFIX@_CTYPE_H /* This file uses _GL_ARG_NONNULL, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if (@GNULIB_ISALNUM_L@ || @GNULIB_ISALPHA_L@ || @GNULIB_ISBLANK_L@ \ || @GNULIB_ISCNTRL_L@ || @GNULIB_ISDIGIT_L@ || @GNULIB_ISGRAPH_L@ \ || @GNULIB_ISLOWER_L@ || @GNULIB_ISPRINT_L@ || @GNULIB_ISPUNCT_L@ \ || @GNULIB_ISSPACE_L@ || @GNULIB_ISUPPER_L@ || @GNULIB_ISXDIGIT_L@ \ || @GNULIB_TOLOWER_L@ || @GNULIB_TOUPPER_L@) /* Get locale_t. */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Return non-zero if c is alphanumeric. */ #if @GNULIB_ISALNUM_L@ # if !@HAVE_ISALNUM_L@ _GL_FUNCDECL_SYS (isalnum_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isalnum_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isalnum_l); # endif #elif defined GNULIB_POSIXCHECK # undef isalnum_l # if HAVE_RAW_DECL_ISALNUM_L _GL_WARN_ON_USE (isalnum_l, "isalnum_l is unportable - " "use gnulib module isalnum_l for portability"); # endif #endif /* Return non-zero if c is alphabetic. */ #if @GNULIB_ISALPHA_L@ # if !@HAVE_ISALPHA_L@ _GL_FUNCDECL_SYS (isalpha_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isalpha_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isalpha_l); # endif #elif defined GNULIB_POSIXCHECK # undef isalpha_l # if HAVE_RAW_DECL_ISALPHA_L _GL_WARN_ON_USE (isalpha_l, "isalpha_l is unportable - " "use gnulib module isalpha_l for portability"); # endif #endif /* Return non-zero if c is a blank, i.e. a space or tab character. */ #if @GNULIB_ISBLANK@ # if !@HAVE_ISBLANK@ _GL_EXTERN_C int isblank (int c); # endif #elif defined GNULIB_POSIXCHECK # undef isblank # if HAVE_RAW_DECL_ISBLANK _GL_WARN_ON_USE (isblank, "isblank is unportable - " "use gnulib module isblank for portability"); # endif #endif /* Return non-zero if c is a blank, i.e. a space or tab character. */ #if @GNULIB_ISBLANK_L@ # if !@HAVE_ISBLANK_L@ _GL_FUNCDECL_SYS (isblank_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isblank_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isblank_l); # endif #elif defined GNULIB_POSIXCHECK # undef isblank_l # if HAVE_RAW_DECL_ISBLANK_L _GL_WARN_ON_USE (isblank_l, "isblank_l is unportable - " "use gnulib module isblank_l for portability"); # endif #endif /* Return non-zero if c is a control character. */ #if @GNULIB_ISCNTRL_L@ # if !@HAVE_ISCNTRL_L@ _GL_FUNCDECL_SYS (iscntrl_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (iscntrl_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (iscntrl_l); # endif #elif defined GNULIB_POSIXCHECK # undef iscntrl_l # if HAVE_RAW_DECL_ISCNTRL_L _GL_WARN_ON_USE (iscntrl_l, "iscntrl_l is unportable - " "use gnulib module iscntrl_l for portability"); # endif #endif /* Return non-zero if c is a digit. */ #if @GNULIB_ISDIGIT_L@ # if !@HAVE_ISDIGIT_L@ _GL_FUNCDECL_SYS (isdigit_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isdigit_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isdigit_l); # endif #elif defined GNULIB_POSIXCHECK # undef isdigit_l # if HAVE_RAW_DECL_ISDIGIT_L _GL_WARN_ON_USE (isdigit_l, "isdigit_l is unportable - " "use gnulib module isdigit_l for portability"); # endif #endif /* Return non-zero if c is graphic. */ #if @GNULIB_ISGRAPH_L@ # if !@HAVE_ISGRAPH_L@ _GL_FUNCDECL_SYS (isgraph_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isgraph_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isgraph_l); # endif #elif defined GNULIB_POSIXCHECK # undef isgraph_l # if HAVE_RAW_DECL_ISGRAPH_L _GL_WARN_ON_USE (isgraph_l, "isgraph_l is unportable - " "use gnulib module isgraph_l for portability"); # endif #endif /* Return non-zero if c is lowercase. */ #if @GNULIB_ISLOWER_L@ # if !@HAVE_ISLOWER_L@ _GL_FUNCDECL_SYS (islower_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (islower_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (islower_l); # endif #elif defined GNULIB_POSIXCHECK # undef islower_l # if HAVE_RAW_DECL_ISLOWER_L _GL_WARN_ON_USE (islower_l, "islower_l is unportable - " "use gnulib module islower_l for portability"); # endif #endif /* Return non-zero if c is printable. */ #if @GNULIB_ISPRINT_L@ # if !@HAVE_ISPRINT_L@ _GL_FUNCDECL_SYS (isprint_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isprint_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isprint_l); # endif #elif defined GNULIB_POSIXCHECK # undef isprint_l # if HAVE_RAW_DECL_ISPRINT_L _GL_WARN_ON_USE (isprint_l, "isprint_l is unportable - " "use gnulib module isprint_l for portability"); # endif #endif /* Return non-zero if c is a punctuation or symbol character. */ #if @GNULIB_ISPUNCT_L@ # if !@HAVE_ISPUNCT_L@ _GL_FUNCDECL_SYS (ispunct_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (ispunct_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ispunct_l); # endif #elif defined GNULIB_POSIXCHECK # undef ispunct_l # if HAVE_RAW_DECL_ISPUNCT_L _GL_WARN_ON_USE (ispunct_l, "ispunct_l is unportable - " "use gnulib module ispunct_l for portability"); # endif #endif /* Return non-zero if c is white-space. */ #if @GNULIB_ISSPACE_L@ # if !@HAVE_ISSPACE_L@ _GL_FUNCDECL_SYS (isspace_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isspace_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isspace_l); # endif #elif defined GNULIB_POSIXCHECK # undef isspace_l # if HAVE_RAW_DECL_ISSPACE_L _GL_WARN_ON_USE (isspace_l, "isspace_l is unportable - " "use gnulib module isspace_l for portability"); # endif #endif /* Return non-zero if c is uppercase. */ #if @GNULIB_ISUPPER_L@ # if !@HAVE_ISUPPER_L@ _GL_FUNCDECL_SYS (isupper_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isupper_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isupper_l); # endif #elif defined GNULIB_POSIXCHECK # undef isupper_l # if HAVE_RAW_DECL_ISUPPER_L _GL_WARN_ON_USE (isupper_l, "isupper_l is unportable - " "use gnulib module isupper_l for portability"); # endif #endif /* Return non-zero if c is a hexadecimal digit. */ #if @GNULIB_ISXDIGIT_L@ # if !@HAVE_ISXDIGIT_L@ _GL_FUNCDECL_SYS (isxdigit_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (isxdigit_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (isxdigit_l); # endif #elif defined GNULIB_POSIXCHECK # undef isxdigit_l # if HAVE_RAW_DECL_ISXDIGIT_L _GL_WARN_ON_USE (isxdigit_l, "isxdigit_l is unportable - " "use gnulib module isxdigit_l for portability"); # endif #endif /* Map c to lowercase. */ #if @GNULIB_TOLOWER_L@ # if !@HAVE_TOLOWER_L@ _GL_FUNCDECL_SYS (tolower_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (tolower_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (tolower_l); # endif #elif defined GNULIB_POSIXCHECK # undef tolower_l # if HAVE_RAW_DECL_TOLOWER_L _GL_WARN_ON_USE (tolower_l, "tolower_l is unportable - " "use gnulib module tolower_l for portability"); # endif #endif /* Map c to uppercase. */ #if @GNULIB_TOUPPER_L@ # if !@HAVE_TOUPPER_L@ _GL_FUNCDECL_SYS (toupper_l, int, (int c, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (toupper_l, int, (int c, locale_t locale)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (toupper_l); # endif #elif defined GNULIB_POSIXCHECK # undef toupper_l # if HAVE_RAW_DECL_TOUPPER_L _GL_WARN_ON_USE (toupper_l, "toupper_l is unportable - " "use gnulib module toupper_l for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_CTYPE_H */ #endif #endif /* _@GUARD_PREFIX@_CTYPE_H */ datamash-1.9/lib/dirname-lgpl.c0000644000000000000000000000614214767401140012070 /* dirname.c -- return all but the last element in a file name Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include "dirname.h" #include #include /* Return the length of the prefix of FILE that will be used by dir_name. If FILE is in the working directory, this returns zero even though 'dir_name (FILE)' will return ".". Works properly even if there are trailing slashes (by effectively ignoring them). */ size_t dir_len (char const *file) { size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); size_t length; /* Advance prefix_length beyond important leading slashes. */ prefix_length += (prefix_length != 0 ? (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && ISSLASH (file[prefix_length])) : (ISSLASH (file[0]) ? ((DOUBLE_SLASH_IS_DISTINCT_ROOT && ISSLASH (file[1]) && ! ISSLASH (file[2]) ? 2 : 1)) : 0)); /* Strip the basename and any redundant slashes before it. */ for (length = last_component (file) - file; prefix_length < length; length--) if (! ISSLASH (file[length - 1])) break; return length; } /* In general, we can't use the builtin 'dirname' function if available, since it has different meanings in different environments. In some environments the builtin 'dirname' modifies its argument. Return the leading directories part of FILE, allocated with malloc. Works properly even if there are trailing slashes (by effectively ignoring them). Return NULL on failure. If lstat (FILE) would succeed, then { chdir (dir_name (FILE)); lstat (base_name (FILE)); } will access the same file. Likewise, if the sequence { chdir (dir_name (FILE)); rename (base_name (FILE), "foo"); } succeeds, you have renamed FILE to "foo" in the same directory FILE was in. */ char * mdir_name (char const *file) { size_t length = dir_len (file); bool append_dot = (length == 0 || (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && length == FILE_SYSTEM_PREFIX_LEN (file) && file[2] != '\0' && ! ISSLASH (file[2]))); char *dir = malloc (length + append_dot + 1); if (!dir) return NULL; memcpy (dir, file, length); if (append_dot) dir[length++] = '.'; dir[length] = '\0'; return dir; } datamash-1.9/lib/dirname.c0000644000000000000000000000226414767401140011135 /* dirname.c -- return all but the last element in a file name Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. 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 . */ #include #include "dirname.h" #include #include #include "xalloc.h" /* Just like mdir_name (dirname-lgpl.c), except, rather than returning NULL upon malloc failure, here, we report the "memory exhausted" condition and exit. */ char * dir_name (char const *file) { char *result = mdir_name (file); if (!result) xalloc_die (); return result; } datamash-1.9/lib/dirname.h0000644000000000000000000000330214767401140011134 /* Take file names apart into directory and base names. Copyright (C) 1998, 2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef DIRNAME_H_ # define DIRNAME_H_ 1 /* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_PURE, _GL_ATTRIBUTE_RETURNS_NONNULL. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif # include # include "filename.h" # include "basename-lgpl.h" # ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' # endif #ifdef __cplusplus extern "C" { #endif # if GNULIB_DIRNAME char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; char *dir_name (char const *file) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; # endif char *mdir_name (char const *file) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE; bool strip_trailing_slashes (char *file); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* not DIRNAME_H_ */ datamash-1.9/lib/dup2.c0000644000000000000000000000774214767401140010376 /* Duplicate an open file descriptor to a specified file descriptor. Copyright (C) 1999, 2004-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Paul Eggert */ #include /* Specification. */ #include #include #include #undef dup2 #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int dup2_nothrow (int fd, int desired_fd) { int result; TRY_MSVC_INVAL { result = _dup2 (fd, desired_fd); } CATCH_MSVC_INVAL { errno = EBADF; result = -1; } DONE_MSVC_INVAL; return result; } # else # define dup2_nothrow _dup2 # endif static int ms_windows_dup2 (int fd, int desired_fd) { int result; /* If fd is closed, mingw hangs on dup2 (fd, fd). If fd is open, dup2 (fd, fd) returns 0, but all further attempts to use fd in future dup2 calls will hang. */ if (fd == desired_fd) { if ((HANDLE) _get_osfhandle (fd) == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } return fd; } /* Wine 1.0.1 return 0 when desired_fd is negative but not -1: https://bugs.winehq.org/show_bug.cgi?id=21289 */ if (desired_fd < 0) { errno = EBADF; return -1; } result = dup2_nothrow (fd, desired_fd); if (result == 0) result = desired_fd; return result; } # define dup2 ms_windows_dup2 #elif defined __KLIBC__ # include static int klibc_dup2dirfd (int fd, int desired_fd) { int tempfd; int dupfd; tempfd = open ("NUL", O_RDONLY); if (tempfd == -1) return -1; if (tempfd == desired_fd) { close (tempfd); char path[_MAX_PATH]; if (__libc_Back_ioFHToPath (fd, path, sizeof (path))) return -1; return open(path, O_RDONLY); } dupfd = klibc_dup2dirfd (fd, desired_fd); close (tempfd); return dupfd; } static int klibc_dup2 (int fd, int desired_fd) { int dupfd; struct stat sbuf; dupfd = dup2 (fd, desired_fd); if (dupfd == -1 && errno == ENOTSUP \ && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) { close (desired_fd); return klibc_dup2dirfd (fd, desired_fd); } return dupfd; } # define dup2 klibc_dup2 #endif int rpl_dup2 (int fd, int desired_fd) { int result; #ifdef F_GETFL /* On Linux kernels 2.6.26-2.6.29, dup2 (fd, fd) returns -EBADF. On Cygwin 1.5.x, dup2 (1, 1) returns 0. On Cygwin 1.7.17, dup2 (1, -1) dumps core. On Cygwin 1.7.25, dup2 (1, 256) can dump core. On Haiku, dup2 (fd, fd) mistakenly clears FD_CLOEXEC. */ # if HAVE_SETDTABLESIZE setdtablesize (desired_fd + 1); # endif if (desired_fd < 0) fd = desired_fd; if (fd == desired_fd) return fcntl (fd, F_GETFL) == -1 ? -1 : fd; #endif result = dup2 (fd, desired_fd); /* Correct an errno value on FreeBSD 6.1 and Cygwin 1.5.x. */ if (result == -1 && errno == EMFILE) errno = EBADF; #if REPLACE_FCHDIR if (fd != desired_fd && result != -1) result = _gl_register_dup (fd, result); #endif return result; } datamash-1.9/lib/errno.in.h0000644000000000000000000001674414767401140011265 /* A POSIX-like . Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_ERRNO_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_ERRNO_H@ #ifndef _@GUARD_PREFIX@_ERRNO_H #define _@GUARD_PREFIX@_ERRNO_H /* On native Windows platforms, many macros are not defined. */ # if defined _WIN32 && ! defined __CYGWIN__ /* These are the same values as defined by MSVC 10, for interoperability. */ # ifndef ENOMSG # define ENOMSG 122 # define GNULIB_defined_ENOMSG 1 # endif # ifndef EIDRM # define EIDRM 111 # define GNULIB_defined_EIDRM 1 # endif # ifndef ENOLINK # define ENOLINK 121 # define GNULIB_defined_ENOLINK 1 # endif # ifndef EPROTO # define EPROTO 134 # define GNULIB_defined_EPROTO 1 # endif # ifndef EBADMSG # define EBADMSG 104 # define GNULIB_defined_EBADMSG 1 # endif # ifndef EOVERFLOW # define EOVERFLOW 132 # define GNULIB_defined_EOVERFLOW 1 # endif # ifndef ENOTSUP # define ENOTSUP 129 # define GNULIB_defined_ENOTSUP 1 # endif # ifndef ENETRESET # define ENETRESET 117 # define GNULIB_defined_ENETRESET 1 # endif # ifndef ECONNABORTED # define ECONNABORTED 106 # define GNULIB_defined_ECONNABORTED 1 # endif # ifndef ECANCELED # define ECANCELED 105 # define GNULIB_defined_ECANCELED 1 # endif # ifndef EOWNERDEAD # define EOWNERDEAD 133 # define GNULIB_defined_EOWNERDEAD 1 # endif # ifndef ENOTRECOVERABLE # define ENOTRECOVERABLE 127 # define GNULIB_defined_ENOTRECOVERABLE 1 # endif # ifndef EINPROGRESS # define EINPROGRESS 112 # define EALREADY 103 # define ENOTSOCK 128 # define EDESTADDRREQ 109 # define EMSGSIZE 115 # define EPROTOTYPE 136 # define ENOPROTOOPT 123 # define EPROTONOSUPPORT 135 # define EOPNOTSUPP 130 # define EAFNOSUPPORT 102 # define EADDRINUSE 100 # define EADDRNOTAVAIL 101 # define ENETDOWN 116 # define ENETUNREACH 118 # define ECONNRESET 108 # define ENOBUFS 119 # define EISCONN 113 # define ENOTCONN 126 # define ETIMEDOUT 138 # define ECONNREFUSED 107 # define ELOOP 114 # define EHOSTUNREACH 110 # define EWOULDBLOCK 140 # define GNULIB_defined_ESOCK 1 # endif # ifndef ETXTBSY # define ETXTBSY 139 # define ENODATA 120 /* not required by POSIX */ # define ENOSR 124 /* not required by POSIX */ # define ENOSTR 125 /* not required by POSIX */ # define ETIME 137 /* not required by POSIX */ # define EOTHER 131 /* not required by POSIX */ # define GNULIB_defined_ESTREAMS 1 # endif /* These are intentionally the same values as the WSA* error numbers, defined in . */ # define ESOCKTNOSUPPORT 10044 # define EPFNOSUPPORT 10046 /* not required by POSIX */ # define ESHUTDOWN 10058 /* not required by POSIX */ # define ETOOMANYREFS 10059 /* not required by POSIX */ # define EHOSTDOWN 10064 /* not required by POSIX */ # define EPROCLIM 10067 /* not required by POSIX */ # define EUSERS 10068 /* not required by POSIX */ # define EDQUOT 10069 # define ESTALE 10070 # define EREMOTE 10071 /* not required by POSIX */ # define GNULIB_defined_EWINSOCK 1 # endif /* On OSF/1 5.1, when _XOPEN_SOURCE_EXTENDED is not defined, the macros EMULTIHOP, ENOLINK, EOVERFLOW are not defined. */ # if @EMULTIHOP_HIDDEN@ # define EMULTIHOP @EMULTIHOP_VALUE@ # define GNULIB_defined_EMULTIHOP 1 # endif # if @ENOLINK_HIDDEN@ # define ENOLINK @ENOLINK_VALUE@ # define GNULIB_defined_ENOLINK 1 # endif # if @EOVERFLOW_HIDDEN@ # define EOVERFLOW @EOVERFLOW_VALUE@ # define GNULIB_defined_EOVERFLOW 1 # endif /* On OpenBSD 4.0 and on native Windows, the macros ENOMSG, EIDRM, ENOLINK, EPROTO, EMULTIHOP, EBADMSG, EOVERFLOW, ENOTSUP, ECANCELED are not defined. Likewise, on NonStop Kernel, EDQUOT is not defined. Define them here. Values >= 2000 seem safe to use: Solaris ESTALE = 151, HP-UX EWOULDBLOCK = 246, IRIX EDQUOT = 1133. Note: When one of these systems defines some of these macros some day, binaries will have to be recompiled so that they recognizes the new errno values from the system. */ # ifndef ENOMSG # define ENOMSG 2000 # define GNULIB_defined_ENOMSG 1 # endif # ifndef EIDRM # define EIDRM 2001 # define GNULIB_defined_EIDRM 1 # endif # ifndef ENOLINK # define ENOLINK 2002 # define GNULIB_defined_ENOLINK 1 # endif # ifndef EPROTO # define EPROTO 2003 # define GNULIB_defined_EPROTO 1 # endif # ifndef EMULTIHOP # define EMULTIHOP 2004 # define GNULIB_defined_EMULTIHOP 1 # endif # ifndef EBADMSG # define EBADMSG 2005 # define GNULIB_defined_EBADMSG 1 # endif # ifndef EOVERFLOW # define EOVERFLOW 2006 # define GNULIB_defined_EOVERFLOW 1 # endif # ifndef ENOTSUP # define ENOTSUP 2007 # define GNULIB_defined_ENOTSUP 1 # endif # ifndef ENETRESET # define ENETRESET 2011 # define GNULIB_defined_ENETRESET 1 # endif # ifndef ECONNABORTED # define ECONNABORTED 2012 # define GNULIB_defined_ECONNABORTED 1 # endif # ifndef ESTALE # define ESTALE 2009 # define GNULIB_defined_ESTALE 1 # endif # ifndef EDQUOT # define EDQUOT 2010 # define GNULIB_defined_EDQUOT 1 # endif # ifndef ECANCELED # define ECANCELED 2008 # define GNULIB_defined_ECANCELED 1 # endif /* On many platforms, the macros EOWNERDEAD and ENOTRECOVERABLE are not defined. */ # ifndef EOWNERDEAD # if defined __sun /* Use the same values as defined for Solaris >= 8, for interoperability. */ # define EOWNERDEAD 58 # define ENOTRECOVERABLE 59 # elif defined _WIN32 && ! defined __CYGWIN__ /* We have a conflict here: pthreads-win32 defines these values differently than MSVC 10. It's hairy to decide which one to use. */ # if defined __MINGW32__ && !defined USE_WINDOWS_THREADS /* Use the same values as defined by pthreads-win32, for interoperability. */ # define EOWNERDEAD 43 # define ENOTRECOVERABLE 44 # else /* Use the same values as defined by MSVC 10, for interoperability. */ # define EOWNERDEAD 133 # define ENOTRECOVERABLE 127 # endif # else # define EOWNERDEAD 2013 # define ENOTRECOVERABLE 2014 # endif # define GNULIB_defined_EOWNERDEAD 1 # define GNULIB_defined_ENOTRECOVERABLE 1 # endif /* On LynxOS, the macro EILSEQ is not defined. */ # ifndef EILSEQ # define EILSEQ 2015 # define GNULIB_defined_EILSEQ 1 # endif /* On Haiku, the macro ESOCKTNOSUPPORT is not defined. */ # ifndef ESOCKTNOSUPPORT # define ESOCKTNOSUPPORT 2016 # define GNULIB_defined_ESOCKTNOSUPPORT 1 # endif #endif /* _@GUARD_PREFIX@_ERRNO_H */ #endif /* _@GUARD_PREFIX@_ERRNO_H */ datamash-1.9/lib/error.c0000644000000000000000000002371414767401140010652 /* Error handler for noninteractive utilities Copyright (C) 1990-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ /* Written by David MacKenzie . */ #if !_LIBC # include # define _GL_NO_INLINE_ERROR # define __error_internal(status, err, fmt, args, flags) \ verror (status, err, fmt, args) # define __error_at_line_internal(status, err, file, line, fmt, args, flags) \ verror_at_line (status, err, file, line, fmt, args) # define error_tail(status, err, fmt, args, flags) \ error_tail (status, err, fmt, args) #endif #include #include #include #include #include #if !_LIBC && ENABLE_NLS # include "gettext.h" # define _(msgid) dgettext ("gnulib", msgid) #endif #ifdef _LIBC # include # include # include # include # define mbsrtowcs __mbsrtowcs # define USE_UNLOCKED_IO 0 # define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(a, b) # define _GL_ARG_NONNULL(a) #endif #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #ifndef _ # define _(String) String #endif /* If NULL, error will flush stdout, then print on stderr the program name, a colon and a space. Otherwise, error will call this function without parameters instead. */ void (*error_print_progname) (void); /* This variable is incremented each time 'error' is called. */ unsigned int error_message_count; #ifdef _LIBC /* In the GNU C library, there is a predefined variable for this. */ # define program_name program_invocation_name # include # include # include /* In GNU libc we want do not want to use the common name 'error' directly. Instead make it a weak alias. */ extern void __error (int status, int errnum, const char *message, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern void __error_at_line (int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) __attribute__ ((__format__ (__printf__, 5, 6))); # define error __error # define error_at_line __error_at_line # include # define fflush(s) _IO_fflush (s) # undef putc # define putc(c, fp) _IO_putc (c, fp) # include #else /* not _LIBC */ # include # include # if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # endif /* The gnulib override of fcntl is not needed in this file. */ # undef fcntl # if !(GNULIB_STRERROR_R_POSIX || HAVE_DECL_STRERROR_R) # ifndef HAVE_DECL_STRERROR_R "this configure-time declaration test was not run" # endif # if STRERROR_R_CHAR_P char *strerror_r (int errnum, char *buf, size_t buflen); # else int strerror_r (int errnum, char *buf, size_t buflen); # endif # endif # define program_name getprogname () # if GNULIB_STRERROR_R_POSIX || HAVE_STRERROR_R || defined strerror_r # define __strerror_r strerror_r # endif /* GNULIB_STRERROR_R_POSIX || HAVE_STRERROR_R || defined strerror_r */ # if GNULIB_defined_verror # undef verror # endif # if GNULIB_defined_verror_at_line # undef verror_at_line # endif #endif /* not _LIBC */ #if !_LIBC /* Return non-zero if FD is open. */ static int is_open (int fd) { # if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows: The initial state of unassigned standard file descriptors is that they are open but point to an INVALID_HANDLE_VALUE. There is no fcntl, and the gnulib replacement fcntl does not support F_GETFL. */ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; # else # ifndef F_GETFL # error Please port fcntl to your platform # endif return 0 <= fcntl (fd, F_GETFL); # endif } #endif static void flush_stdout (void) { #if !_LIBC int stdout_fd; # if GNULIB_FREOPEN_SAFER || GNULIB_XSTDOPEN /* Gnulib's freopen-safer and/or xstdopen modules normally ensure that fileno (stdout) == 1 whenever stdout is open. */ stdout_fd = STDOUT_FILENO; # else /* POSIX states that fileno (stdout) after fclose is unspecified. But in practice it is not a problem, because stdout is statically allocated and the fd of a FILE stream is stored as a field in its allocated memory. */ stdout_fd = fileno (stdout); # endif /* POSIX states that fflush (stdout) after fclose is unspecified; it is safe in glibc, but not on all other platforms. fflush (NULL) is always defined, but too draconian. */ if (0 <= stdout_fd && is_open (stdout_fd)) #endif fflush (stdout); } static void print_errno_message (int errnum) { char const *s; #if _LIBC || GNULIB_STRERROR_R_POSIX || defined HAVE_STRERROR_R char errbuf[1024]; # if _LIBC || (!GNULIB_STRERROR_R_POSIX && STRERROR_R_CHAR_P) s = __strerror_r (errnum, errbuf, sizeof errbuf); # else if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) s = errbuf; else s = NULL; # endif #else s = strerror (errnum); #endif #if !_LIBC if (! s) s = _("Unknown system error"); #endif #if _LIBC __fxprintf (NULL, ": %s", s); #else fprintf (stderr, ": %s", s); #endif } static void _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 0) _GL_ARG_NONNULL ((3)) error_tail (int status, int errnum, const char *message, va_list args, unsigned int mode_flags) { #if _LIBC int ret = __vfxprintf (stderr, message, args, mode_flags); if (ret < 0 && errno == ENOMEM && _IO_fwide (stderr, 0) > 0) /* Leave a trace in case the heap allocation of the message string failed. */ fputws_unlocked (L"out of memory\n", stderr); #else vfprintf (stderr, message, args); #endif ++error_message_count; if (errnum) print_errno_message (errnum); #if _LIBC __fxprintf (NULL, "\n"); #else putc ('\n', stderr); #endif fflush (stderr); if (status) exit (status); } /* Print the program name and error message MESSAGE, which is a printf-style format string with optional args. If ERRNUM is nonzero, print its corresponding system error message. Exit with status STATUS if it is nonzero. */ void __error_internal (int status, int errnum, const char *message, va_list args, unsigned int mode_flags) { #if defined _LIBC /* We do not want this call to be cut short by a thread cancellation. Therefore disable cancellation for now. */ int state = PTHREAD_CANCEL_ENABLE; __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state); #endif flush_stdout (); #ifdef _LIBC _IO_flockfile (stderr); #endif if (error_print_progname) (*error_print_progname) (); else { #if _LIBC __fxprintf (NULL, "%s: ", program_name); #else fprintf (stderr, "%s: ", program_name); #endif } error_tail (status, errnum, message, args, mode_flags); #ifdef _LIBC _IO_funlockfile (stderr); __pthread_setcancelstate (state, NULL); #endif } void error (int status, int errnum, const char *message, ...) { va_list ap; va_start (ap, message); __error_internal (status, errnum, message, ap, 0); va_end (ap); } /* Sometimes we want to have at most one error per line. This variable controls whether this mode is selected or not. */ int error_one_per_line; void __error_at_line_internal (int status, int errnum, const char *file_name, unsigned int line_number, const char *message, va_list args, unsigned int mode_flags) { if (error_one_per_line) { static const char *old_file_name; static unsigned int old_line_number; if (old_line_number == line_number && (file_name == old_file_name || (old_file_name != NULL && file_name != NULL && strcmp (old_file_name, file_name) == 0))) /* Simply return and print nothing. */ return; old_file_name = file_name; old_line_number = line_number; } #if defined _LIBC /* We do not want this call to be cut short by a thread cancellation. Therefore disable cancellation for now. */ int state = PTHREAD_CANCEL_ENABLE; __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state); #endif flush_stdout (); #ifdef _LIBC _IO_flockfile (stderr); #endif if (error_print_progname) (*error_print_progname) (); else { #if _LIBC __fxprintf (NULL, "%s:", program_name); #else fprintf (stderr, "%s:", program_name); #endif } #if _LIBC __fxprintf (NULL, file_name != NULL ? "%s:%u: " : " ", file_name, line_number); #else fprintf (stderr, file_name != NULL ? "%s:%u: " : " ", file_name, line_number); #endif error_tail (status, errnum, message, args, mode_flags); #ifdef _LIBC _IO_funlockfile (stderr); __pthread_setcancelstate (state, NULL); #endif } void error_at_line (int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) { va_list ap; va_start (ap, message); __error_at_line_internal (status, errnum, file_name, line_number, message, ap, 0); va_end (ap); } #ifdef _LIBC /* Make the weak alias. */ # undef error # undef error_at_line weak_alias (__error, error) weak_alias (__error_at_line, error_at_line) #endif datamash-1.9/lib/error.in.h0000644000000000000000000002341614767401140011263 /* Declarations for error-reporting functions. Copyright (C) 1995-1997, 2003, 2006, 2008-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_ERROR_H /* No @PRAGMA_SYSTEM_HEADER@ here, because it would prevent -Wimplicit-fallthrough warnings for missing FALLTHROUGH after error(...) or error_at_line(...) invocations. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_ERROR_H@ && !defined __MINGW32__ # @INCLUDE_NEXT@ @NEXT_ERROR_H@ #endif #ifndef _@GUARD_PREFIX@_ERROR_H #define _@GUARD_PREFIX@_ERROR_H /* This file uses _GL_ATTRIBUTE_ALWAYS_INLINE, _GL_ATTRIBUTE_COLD, _GL_ATTRIBUTE_FORMAT, _GL_ATTRIBUTE_MAYBE_UNUSED. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get va_list. */ #include /* Get 'unreachable'. */ #include /* Get _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM. */ #include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ #if GNULIB_VFPRINTF_POSIX # define _GL_ATTRIBUTE_SPEC_PRINTF_ERROR _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD #else # define _GL_ATTRIBUTE_SPEC_PRINTF_ERROR _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM #endif /* Helper macro for supporting the compiler's control flow analysis better. It evaluates its arguments only once. Test case: Compile copy-file.c with "gcc -Wimplicit-fallthrough". */ #if defined __GNUC__ || defined __clang__ /* Use 'unreachable' to tell the compiler when the function call does not return. */ # define __gl_error_call1(function, status, ...) \ ((function) (status, __VA_ARGS__), \ (status) != 0 ? unreachable () : (void) 0) /* If STATUS is a not a constant, the function call may or may not return; therefore -Wimplicit-fallthrough will produce a warning. Use a compound statement in order to evaluate STATUS only once. If STATUS is a constant, we don't use a compound statement, because that would trigger a -Wimplicit-fallthrough warning even when STATUS is != 0, when not optimizing. This causes STATUS to be evaluated twice, but that's OK since it does not have side effects. */ # define __gl_error_call(function, status, ...) \ (__builtin_constant_p (status) \ ? __gl_error_call1 (function, status, __VA_ARGS__) \ : __extension__ \ ({ \ int const __errstatus = status; \ __gl_error_call1 (function, __errstatus, __VA_ARGS__); \ })) #else # define __gl_error_call(function, status, ...) \ (function) (status, __VA_ARGS__) #endif #ifdef __cplusplus extern "C" { #endif /* Print a message with 'fprintf (stderr, FORMAT, ...)'; if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). If STATUS is nonzero, terminate the program with 'exit (STATUS)'. */ #if @REPLACE_ERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef error # define error rpl_error # endif _GL_FUNCDECL_RPL (error, void, (int __status, int __errnum, const char *__format, ...), _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_ERROR, 3, 4))); _GL_CXXALIAS_RPL (error, void, (int __status, int __errnum, const char *__format, ...)); # ifndef _GL_NO_INLINE_ERROR # undef error # define error(status, ...) \ __gl_error_call (rpl_error, status, __VA_ARGS__) # endif #else # if ! @HAVE_ERROR@ _GL_FUNCDECL_SYS (error, void, (int __status, int __errnum, const char *__format, ...), _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_ERROR, 3, 4))); # endif _GL_CXXALIAS_SYS (error, void, (int __status, int __errnum, const char *__format, ...)); # ifndef _GL_NO_INLINE_ERROR # ifdef error /* Only gcc ≥ 4.7 has __builtin_va_arg_pack. */ # if _GL_GNUC_PREREQ (4, 7) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wattributes" _GL_ATTRIBUTE_MAYBE_UNUSED static void _GL_ATTRIBUTE_ALWAYS_INLINE _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_ERROR, 3, 4)) _gl_inline_error (int __status, int __errnum, const char *__format, ...) { return error (__status, __errnum, __format, __builtin_va_arg_pack ()); } # pragma GCC diagnostic pop # undef error # define error(status, ...) \ __gl_error_call (_gl_inline_error, status, __VA_ARGS__) # endif # else # define error(status, ...) \ __gl_error_call (error, status, __VA_ARGS__) # endif # endif #endif #if __GLIBC__ >= 2 _GL_CXXALIASWARN (error); #endif /* Likewise. If FILENAME is non-NULL, include FILENAME:LINENO: in the message. */ #if @REPLACE_ERROR_AT_LINE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef error_at_line # define error_at_line rpl_error_at_line # endif _GL_FUNCDECL_RPL (error_at_line, void, (int __status, int __errnum, const char *__filename, unsigned int __lineno, const char *__format, ...), _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_ERROR, 5, 6))); _GL_CXXALIAS_RPL (error_at_line, void, (int __status, int __errnum, const char *__filename, unsigned int __lineno, const char *__format, ...)); # ifndef _GL_NO_INLINE_ERROR # undef error_at_line # define error_at_line(status, ...) \ __gl_error_call (rpl_error_at_line, status, __VA_ARGS__) # endif #else # if ! @HAVE_ERROR_AT_LINE@ _GL_FUNCDECL_SYS (error_at_line, void, (int __status, int __errnum, const char *__filename, unsigned int __lineno, const char *__format, ...), _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_ERROR, 5, 6))); # endif _GL_CXXALIAS_SYS (error_at_line, void, (int __status, int __errnum, const char *__filename, unsigned int __lineno, const char *__format, ...)); # ifndef _GL_NO_INLINE_ERROR # ifdef error_at_line /* Only gcc ≥ 4.7 has __builtin_va_arg_pack. */ # if _GL_GNUC_PREREQ (4, 7) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wattributes" _GL_ATTRIBUTE_MAYBE_UNUSED static void _GL_ATTRIBUTE_ALWAYS_INLINE _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_ERROR, 5, 6)) _gl_inline_error_at_line (int __status, int __errnum, const char *__filename, unsigned int __lineno, const char *__format, ...) { return error_at_line (__status, __errnum, __filename, __lineno, __format, __builtin_va_arg_pack ()); } # pragma GCC diagnostic pop # undef error_at_line # define error_at_line(status, ...) \ __gl_error_call (_gl_inline_error_at_line, status, __VA_ARGS__) # endif # else # define error_at_line(status, ...) \ __gl_error_call (error_at_line, status, __VA_ARGS__) # endif # endif #endif _GL_CXXALIASWARN (error_at_line); /* Print a message with 'vfprintf (stderr, FORMAT, ARGS)'; if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). If STATUS is nonzero, terminate the program with 'exit (STATUS)'. Use the globals error_print_progname and error_message_count similarly to error(). */ extern void verror (int __status, int __errnum, const char *__format, va_list __args) _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, 3, 0)); #ifndef _GL_NO_INLINE_ERROR # ifndef verror # define verror(status, ...) \ __gl_error_call (verror, status, __VA_ARGS__) # define GNULIB_defined_verror 1 # endif #endif /* Print a message with 'vfprintf (stderr, FORMAT, ARGS)'; if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). If STATUS is nonzero, terminate the program with 'exit (STATUS)'. If FNAME is not NULL, prepend the message with "FNAME:LINENO:". Use the globals error_print_progname, error_message_count, and error_one_per_line similarly to error_at_line(). */ extern void verror_at_line (int __status, int __errnum, const char *__fname, unsigned int __lineno, const char *__format, va_list __args) _GL_ATTRIBUTE_COLD _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, 5, 0)); #ifdef _GL_NO_INLINE_ERROR # ifndef verror_at_line # define verror_at_line(status, ...) \ __gl_error_call (verror_at_line, status, __VA_ARGS__) # define GNULIB_defined_verror_at_line 1 # endif #endif /* If NULL, error will flush stdout, then print on stderr the program name, a colon and a space. Otherwise, error will call this function without parameters instead. */ extern void (*error_print_progname) (void); /* This variable is incremented each time 'error' is called. */ extern unsigned int error_message_count; /* Sometimes we want to have at most one error per line. This variable controls whether this mode is selected or not. */ extern int error_one_per_line; #ifdef __cplusplus } #endif #endif /* _@GUARD_PREFIX@_ERROR_H */ #endif /* _@GUARD_PREFIX@_ERROR_H */ datamash-1.9/lib/exitfail.c0000644000000000000000000000155514767401140011325 /* Failure exit status Copyright (C) 2002-2003, 2005-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include "exitfail.h" #include int volatile exit_failure = EXIT_FAILURE; datamash-1.9/lib/exitfail.h0000644000000000000000000000153314767401140011326 /* Failure exit status Copyright (C) 2002, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifdef __cplusplus extern "C" { #endif extern int volatile exit_failure; #ifdef __cplusplus } #endif datamash-1.9/lib/expl-table.c0000644000000000000000000003174614767401140011562 /* Exponential function. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* gl_expl_table[i] = exp((i - 128) * log(2)/256). Computed in GNU clisp through (setf (long-float-digits) 128) (setq a 0L0) (setf (long-float-digits) 256) (dotimes (i 257) (format t " ~D,~%" (float (exp (* (/ (- i 128) 256) (log 2L0))) a))) */ const long double gl_expl_table[257] = { 0.707106781186547524400844362104849039284L, 0.709023942160207598920563322257676190836L, 0.710946301084582779904674297352120049962L, 0.71287387205274715340350157671438300618L, 0.714806669195985005617532889137569953044L, 0.71674470668389442125974978427737336719L, 0.71868799872449116280161304224785251353L, 0.720636559564312831364255957304947586072L, 0.72259040348852331001850312073583545284L, 0.724549544821017490259402705487111270714L, 0.726513997924526282423036245842287293786L, 0.728483777200721910815451524818606761737L, 0.730458897090323494325651445155310766577L, 0.732439372073202913296664682112279175616L, 0.734425216668490963430822513132890712652L, 0.736416445434683797507470506133110286942L, 0.738413072969749655693453740187024961962L, 0.740415113911235885228829945155951253966L, 0.742422582936376250272386395864403155277L, 0.744435494762198532693663597314273242753L, 0.746453864145632424600321765743336770838L, 0.748477705883617713391824861712720862423L, 0.750507034813212760132561481529764324813L, 0.752541865811703272039672277899716132493L, 0.75458221379671136988300977551659676571L, 0.756628093726304951096818488157633113612L, 0.75867952059910734940489114658718937343L, 0.760736509454407291763130627098242426467L, 0.762799075372269153425626844758470477304L, 0.76486723347364351194254345936342587308L, 0.766940998920478000900300751753859329456L, 0.769020386915828464216738479594307884331L, 0.771105412703970411806145931045367420652L, 0.773196091570510777431255778146135325272L, 0.77529243884249997956151370535341912283L, 0.777394469888544286059157168801667390437L, 0.779502200118918483516864044737428940745L, 0.781615644985678852072965367573877941354L, 0.783734819982776446532455855478222575498L, 0.78585974064617068462428149076570281356L, 0.787990422553943243227635080090952504452L, 0.790126881326412263402248482007960521995L, 0.79226913262624686505993407346567890838L, 0.794417192158581972116898048814333564685L, 0.796571075671133448968624321559534367934L, 0.798730798954313549131410147104316569576L, 0.800896377841346676896923120795476813684L, 0.803067828208385462848443946517563571584L, 0.805245165974627154089760333678700291728L, 0.807428407102430320039984581575729114268L, 0.809617567597431874649880866726368203972L, 0.81181266350866441589760797777344082227L, 0.814013710928673883424109261007007338614L, 0.816220725993637535170713864466769240053L, 0.818433724883482243883852017078007231025L, 0.82065272382200311435413206848451310067L, 0.822877739076982422259378362362911222833L, 0.825108786960308875483586738272485101678L, 0.827345883828097198786118571797909120834L, 0.829589046080808042697824787210781231927L, 0.831838290163368217523168228488195222638L, 0.834093632565291253329796170708536192903L, 0.836355089820798286809404612069230711295L, 0.83862267850893927589613232455870870518L, 0.84089641525371454303112547623321489504L, 0.84317631672419664796432298771385230143L, 0.84546239963465259098692866759361830709L, 0.84775468074466634749045860363936420312L, 0.850053176859261734750681286748751167545L, 0.852357904829025611837203530384718316326L, 0.854668881550231413551897437515331498025L, 0.856986123964963019301812477839166009452L, 0.859309649061238957814672188228156252257L, 0.861639473873136948607517116872358729753L, 0.863975615480918781121524414614366207052L, 0.866318091011155532438509953514163469652L, 0.868666917636853124497101040936083380124L, 0.871022112577578221729056715595464682243L, 0.873383693099584470038708278290226842228L, 0.875751676515939078050995142767930296012L, 0.878126080186649741556080309687656610647L, 0.880506921518791912081045787323636256171L, 0.882894217966636410521691124969260937028L, 0.885287987031777386769987907431242017412L, 0.88768824626326062627527960009966160388L, 0.89009501325771220447985955243623523504L, 0.892508305659467490072110281986409916153L, 0.8949281411607004980029443898876582985L, 0.897354537501553593213851621063890907178L, 0.899787512470267546027427696662514569756L, 0.902227083903311940153838631655504844215L, 0.904673269685515934269259325789226871994L, 0.907126087750199378124917300181170171233L, 0.909585556079304284147971563828178746372L, 0.91205169270352665549806275316460097744L, 0.914524515702448671545983912696158354092L, 0.91700404320467123174354159479414442804L, 0.919490293387946858856304371174663918816L, 0.921983284479312962533570386670938449637L, 0.92448303475522546419252726694739603678L, 0.92698956254169278419622653516884831976L, 0.929502886214410192307650717745572682403L, 0.932023024198894522404814545597236289343L, 0.934549994970619252444512104439799143264L, 0.93708381705514995066499947497722326722L, 0.93962450902828008902058735120448448827L, 0.942172089516167224843810351983745154882L, 0.944726577195469551733539267378681531548L, 0.947287990793482820670109326713462307376L, 0.949856349088277632361251759806996099924L, 0.952431670908837101825337466217860725517L, 0.955013975135194896221170529572799135168L, 0.957603280698573646936305635147915443924L, 0.960199606581523736948607188887070611744L, 0.962802971818062464478519115091191368377L, 0.965413395493813583952272948264534783197L, 0.968030896746147225299027952283345762418L, 0.970655494764320192607710617437589705184L, 0.973287208789616643172102023321302921373L, 0.97592605811548914795551023340047499377L, 0.978572062087700134509161125813435745597L, 0.981225240104463713381244885057070325016L, 0.983885611616587889056366801238014683926L, 0.98655319612761715646797006813220671315L, 0.989228013193975484129124959065583667775L, 0.99191008242510968492991311132615581644L, 0.994599423483633175652477686222166314457L, 0.997296056085470126257659913847922601123L, 1.0L, 1.00271127505020248543074558845036204047L, 1.0054299011128028213513839559347998147L, 1.008155898118417515783094890817201039276L, 1.01088928605170046002040979056186052439L, 1.013630084951489438840258929063939929597L, 1.01637831491095303794049311378629406276L, 1.0191339960777379496848780958207928794L, 1.02189714865411667823448013478329943978L, 1.02466779289713564514828907627081492763L, 1.0274459491187636965388611939222137815L, 1.030231637686041012871707902453904567093L, 1.033024879021228422500108283970460918086L, 1.035825693601957120029983209018081371844L, 1.03863410196137879061243669795463973258L, 1.04145012468831614126454607901189312648L, 1.044273782427413840321966478739929008784L, 1.04710509587928986612990725022711224056L, 1.04994408580068726608203812651590790906L, 1.05279077300462632711989120298074630319L, 1.05564517836055715880834132515293865216L, 1.058507322794512690105772109683716645074L, 1.061377227289262080950567678003883726294L, 1.06425491288446454978861125700158022068L, 1.06714040067682361816952112099280916261L, 1.0700337118202417735424119367576235685L, 1.072934867525975551385035450873827585343L, 1.075843889062791037803228648476057074063L, 1.07876079775711979374068003743848295849L, 1.081685614993215201942115594422531125643L, 1.08461836221330923781610517190661434161L, 1.087559060917769665346797830944039707867L, 1.09050773266525765920701065576070797899L, 1.09346439907288585422822014625044716208L, 1.096429081816376823386138295859248481766L, 1.09940180263022198546369696823882990404L, 1.10238258330784094355641420942564685751L, 1.10537144570174125558827469625695031104L, 1.108368411723678638009423649426619850137L, 1.111373503344817603850149254228916637444L, 1.1143867425958925363088129569196030678L, 1.11740815156736919905457996308578026665L, 1.12043775240960668442900387986631301277L, 1.123475567333019800733729739775321431954L, 1.12652161860824189979479864378703477763L, 1.129575928566288145997264988840249825907L, 1.13263851959871922798707372367762308438L, 1.13570941415780551424039033067611701343L, 1.13878863475669165370383028384151125472L, 1.14187620396956162271229760828788093894L, 1.14497214443180421939441388822291589579L, 1.14807647884017900677879966269734268003L, 1.15118922995298270581775963520198253612L, 1.154310420590216039548221528724806960684L, 1.157440073633751029613085766293796821106L, 1.16057821202749874636945947257609098625L, 1.16372485877757751381357359909218531234L, 1.166880036952481570555516298414089287834L, 1.170043769683250188080259035792738573L, 1.17321608016363724753480435451324538889L, 1.176396991650281276284645728483848641054L, 1.17958652746287594548610056676944051898L, 1.182784710984341029924457204693850757966L, 1.18599156566099383137126564953421556374L, 1.18920711500272106671749997056047591529L, 1.19243138258315122214272755814543101148L, 1.195664392039827374583837049865451975705L, 1.19890616707438048177030255797630020695L, 1.202156731452703142096396957497765876003L, 1.205416109005123825604211432558411335666L, 1.208684323626581577354792255889216998484L, 1.21196139927680119446816891773249304545L, 1.215247359980468878116520251338798457624L, 1.218542229827408361758207148117394510724L, 1.221846032972757516903891841911570785836L, 1.225158793637145437709464594384845353707L, 1.22848053610687000569400895779278184036L, 1.2318112847340759358845566532127948166L, 1.235151063936933305692912507415415760294L, 1.238499898199816567833368865859612431545L, 1.24185781207348404859367746872659560551L, 1.24522483017525793277520496748615267417L, 1.24860097718920473662176609730249554519L, 1.25198627786631627006020603178920359732L, 1.255380757024691089579390657442301194595L, 1.25878443954971644307786044181516261876L, 1.26219735039425070801401025851841645967L, 1.265619514578806324196273999873453036296L, 1.26905095719173322255441908103233800472L, 1.27249170338940275123669204418460217677L, 1.27594177839639210038120243475928938891L, 1.27940120750566922691358797002785254596L, 1.28287001607877828072666978102151405111L, 1.286348229546025533601482208069738348355L, 1.28983587340666581223274729549155218968L, 1.293332973229089436725559789048704304684L, 1.296839554651009665933754117792451159835L, 1.30035564337965065101414056707091779129L, 1.30388126519193589857452364895199736833L, 1.30741644593467724479715157747196172848L, 1.310961211524764341922991786330755849366L, 1.314515587949354658485983613383997794965L, 1.318079601266063994690185647066116617664L, 1.32165327760315751432651181233060922616L, 1.32523664315974129462953709549872167411L, 1.32882972420595439547865089632866510792L, 1.33243254708316144935164337949073577407L, 1.33604513820414577344262790437186975929L, 1.33966752405330300536003066972435257602L, 1.34329973118683526382421714618163087542L, 1.346941786232945835788173713229537282075L, 1.35059371589203439140852219606013396004L, 1.35425554693689272829801474014070280434L, 1.357927306212901046494536695671766697446L, 1.36160902063822475558553593883194147464L, 1.36530071720401181543069836033754285543L, 1.36900242297459061192960113298219283217L, 1.37271416508766836928499785714471721579L, 1.37643597075453010021632280551868696026L, 1.380167867260238095581945274358283464697L, 1.383909881963831954872659527265192818L, 1.387662042298529159042861017950775988896L, 1.39142437577192618714983552956624344668L, 1.395196909966200178275574599249220994716L, 1.398979672538311140209528136715194969206L, 1.40277269122020470637471352433337881711L, 1.40657599381901544248361973255451684411L, 1.410389608217270704414375128268675481145L, 1.41421356237309504880168872420969807857L }; datamash-1.9/lib/expl.c0000644000000000000000000001237414767401140010471 /* Exponential function. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE long double expl (long double x) { return exp (x); } #else # include /* gl_expl_table[i] = exp((i - 128) * log(2)/256). */ extern const long double gl_expl_table[257]; /* A value slightly larger than log(2). */ #define LOG2_PLUS_EPSILON 0.6931471805599454L /* Best possible approximation of log(2) as a 'long double'. */ #define LOG2 0.693147180559945309417232121458176568075L /* Best possible approximation of 1/log(2) as a 'long double'. */ #define LOG2_INVERSE 1.44269504088896340735992468100189213743L /* Best possible approximation of log(2)/256 as a 'long double'. */ #define LOG2_BY_256 0.00270760617406228636491106297444600221904L /* Best possible approximation of 256/log(2) as a 'long double'. */ #define LOG2_BY_256_INVERSE 369.329930467574632284140718336484387181L /* The upper 32 bits of log(2)/256. */ #define LOG2_BY_256_HI_PART 0.0027076061733168899081647396087646484375L /* log(2)/256 - LOG2_HI_PART. */ #define LOG2_BY_256_LO_PART \ 0.000000000000745396456746323365681353781544922399845L long double expl (long double x) { if (isnanl (x)) return x; if (x >= (long double) LDBL_MAX_EXP * LOG2_PLUS_EPSILON) /* x > LDBL_MAX_EXP * log(2) hence exp(x) > 2^LDBL_MAX_EXP, overflows to Infinity. */ return HUGE_VALL; if (x <= (long double) (LDBL_MIN_EXP - 1 - LDBL_MANT_DIG) * LOG2_PLUS_EPSILON) /* x < (LDBL_MIN_EXP - 1 - LDBL_MANT_DIG) * log(2) hence exp(x) < 2^(LDBL_MIN_EXP-1-LDBL_MANT_DIG), underflows to zero. */ return 0.0L; /* Decompose x into x = n * log(2) + m * log(2)/256 + y where n is an integer, m is an integer, -128 <= m <= 128, y is a number, |y| <= log(2)/512 + epsilon = 0.00135... Then exp(x) = 2^n * exp(m * log(2)/256) * exp(y) The first factor is an ldexpl() call. The second factor is a table lookup. The third factor is computed - either as sinh(y) + cosh(y) where sinh(y) is computed through the power series: sinh(y) = y + y^3/3! + y^5/5! + ... and cosh(y) is computed as hypot(1, sinh(y)), - or as exp(2*z) = (1 + tanh(z)) / (1 - tanh(z)) where z = y/2 and tanh(z) is computed through its power series: tanh(z) = z - 1/3 * z^3 + 2/15 * z^5 - 17/315 * z^7 + 62/2835 * z^9 - 1382/155925 * z^11 + 21844/6081075 * z^13 - 929569/638512875 * z^15 + ... Since |z| <= log(2)/1024 < 0.0007, the relative contribution of the z^13 term is < 0.0007^12 < 2^-120 <= 2^-LDBL_MANT_DIG, therefore we can truncate the series after the z^11 term. Given the usual bounds LDBL_MAX_EXP <= 16384, LDBL_MIN_EXP >= -16381, LDBL_MANT_DIG <= 120, we can estimate x: -11440 <= x <= 11357. This means, when dividing x by log(2), where we want x mod log(2) to be precise to LDBL_MANT_DIG bits, we have to use an approximation to log(2) that has 14+LDBL_MANT_DIG bits. */ { long double nm = roundl (x * LOG2_BY_256_INVERSE); /* = 256 * n + m */ /* n has at most 15 bits, nm therefore has at most 23 bits, therefore n * LOG2_HI_PART is computed exactly, and n * LOG2_LO_PART is computed with an absolute error < 2^15 * 2e-10 * 2^-LDBL_MANT_DIG. */ long double y_tmp = x - nm * LOG2_BY_256_HI_PART; long double y = y_tmp - nm * LOG2_BY_256_LO_PART; long double z = 0.5L * y; /* Coefficients of the power series for tanh(z). */ #define TANH_COEFF_1 1.0L #define TANH_COEFF_3 -0.333333333333333333333333333333333333334L #define TANH_COEFF_5 0.133333333333333333333333333333333333334L #define TANH_COEFF_7 -0.053968253968253968253968253968253968254L #define TANH_COEFF_9 0.0218694885361552028218694885361552028218L #define TANH_COEFF_11 -0.00886323552990219656886323552990219656886L #define TANH_COEFF_13 0.00359212803657248101692546136990581435026L #define TANH_COEFF_15 -0.00145583438705131826824948518070211191904L long double z2 = z * z; long double tanh_z = (((((TANH_COEFF_11 * z2 + TANH_COEFF_9) * z2 + TANH_COEFF_7) * z2 + TANH_COEFF_5) * z2 + TANH_COEFF_3) * z2 + TANH_COEFF_1) * z; long double exp_y = (1.0L + tanh_z) / (1.0L - tanh_z); int n = (int) roundl (nm * (1.0L / 256.0L)); int m = (int) nm - 256 * n; return ldexpl (gl_expl_table[128 + m] * exp_y, n); } } #endif datamash-1.9/lib/fabsl.c0000644000000000000000000000210414767401140010576 /* Absolute value. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* fabsl (x) can be defined as copysignl (x, 1.0L). Or, more directly, as (signbit (x) ? - x : x). */ #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE long double fabsl (long double x) { return fabs (x); } #else long double fabsl (long double x) { return (signbit (x) ? - x : x); } #endif datamash-1.9/lib/fcntl.c0000644000000000000000000004462114767401140010627 /* Provide file descriptor control. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake . */ #include /* Specification. */ #include #include #include #include #include #include #ifdef __KLIBC__ # define INCL_DOS # include #endif #if defined _WIN32 && ! defined __CYGWIN__ /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Upper bound on getdtablesize(). See lib/getdtablesize.c. */ # define OPEN_MAX_MAX 0x10000 /* Duplicate OLDFD into the first available slot of at least NEWFD, which must be positive, with FLAGS determining whether the duplicate will be inheritable. */ static int dupfd (int oldfd, int newfd, int flags) { /* Mingw has no way to create an arbitrary fd. Iterate until all file descriptors less than newfd are filled up. */ HANDLE curr_process = GetCurrentProcess (); HANDLE old_handle = (HANDLE) _get_osfhandle (oldfd); unsigned char fds_to_close[OPEN_MAX_MAX / CHAR_BIT]; unsigned int fds_to_close_bound = 0; int result; BOOL inherit = flags & O_CLOEXEC ? FALSE : TRUE; int mode; if (newfd < 0 || getdtablesize () <= newfd) { errno = EINVAL; return -1; } if (old_handle == INVALID_HANDLE_VALUE || (mode = _setmode (oldfd, O_BINARY)) == -1) { /* oldfd is not open, or is an unassigned standard file descriptor. */ errno = EBADF; return -1; } _setmode (oldfd, mode); flags |= mode; for (;;) { HANDLE new_handle; int duplicated_fd; unsigned int index; if (!DuplicateHandle (curr_process, /* SourceProcessHandle */ old_handle, /* SourceHandle */ curr_process, /* TargetProcessHandle */ (PHANDLE) &new_handle, /* TargetHandle */ (DWORD) 0, /* DesiredAccess */ inherit, /* InheritHandle */ DUPLICATE_SAME_ACCESS)) /* Options */ { switch (GetLastError ()) { case ERROR_TOO_MANY_OPEN_FILES: errno = EMFILE; break; case ERROR_INVALID_HANDLE: case ERROR_INVALID_TARGET_HANDLE: case ERROR_DIRECT_ACCESS_HANDLE: errno = EBADF; break; case ERROR_INVALID_PARAMETER: case ERROR_INVALID_FUNCTION: case ERROR_INVALID_ACCESS: errno = EINVAL; break; default: errno = EACCES; break; } result = -1; break; } duplicated_fd = _open_osfhandle ((intptr_t) new_handle, flags); if (duplicated_fd < 0) { CloseHandle (new_handle); result = -1; break; } if (newfd <= duplicated_fd) { result = duplicated_fd; break; } /* Set the bit duplicated_fd in fds_to_close[]. */ index = (unsigned int) duplicated_fd / CHAR_BIT; if (fds_to_close_bound <= index) { if (sizeof fds_to_close <= index) /* Need to increase OPEN_MAX_MAX. */ abort (); memset (fds_to_close + fds_to_close_bound, '\0', index + 1 - fds_to_close_bound); fds_to_close_bound = index + 1; } fds_to_close[index] |= 1 << ((unsigned int) duplicated_fd % CHAR_BIT); } /* Close the previous fds that turned out to be too small. */ { int saved_errno = errno; unsigned int duplicated_fd; for (duplicated_fd = 0; duplicated_fd < fds_to_close_bound * CHAR_BIT; duplicated_fd++) if ((fds_to_close[duplicated_fd / CHAR_BIT] >> (duplicated_fd % CHAR_BIT)) & 1) close (duplicated_fd); errno = saved_errno; } # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (oldfd, result); # endif return result; } #endif /* W32 */ /* Forward declarations, because we '#undef fcntl' in the middle of this compilation unit. */ /* Our implementation of fcntl (fd, F_DUPFD, target). */ static int rpl_fcntl_DUPFD (int fd, int target); /* Our implementation of fcntl (fd, F_DUPFD_CLOEXEC, target). */ static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target); #ifdef __KLIBC__ /* Adds support for fcntl on directories. */ static int klibc_fcntl (int fd, int action, /* arg */...); #endif /* Perform the specified ACTION on the file descriptor FD, possibly using the argument ARG further described below. This replacement handles the following actions, and forwards all others on to the native fcntl. An unrecognized ACTION returns -1 with errno set to EINVAL. F_DUPFD - duplicate FD, with int ARG being the minimum target fd. If successful, return the duplicate, which will be inheritable; otherwise return -1 and set errno. F_DUPFD_CLOEXEC - duplicate FD, with int ARG being the minimum target fd. If successful, return the duplicate, which will not be inheritable; otherwise return -1 and set errno. F_GETFD - ARG need not be present. If successful, return a non-negative value containing the descriptor flags of FD (only FD_CLOEXEC is portable, but other flags may be present); otherwise return -1 and set errno. */ int fcntl (int fd, int action, /* arg */...) #undef fcntl #ifdef __KLIBC__ # define fcntl klibc_fcntl #endif { va_list arg; int result = -1; va_start (arg, action); switch (action) { case F_DUPFD: { int target = va_arg (arg, int); result = rpl_fcntl_DUPFD (fd, target); break; } case F_DUPFD_CLOEXEC: { int target = va_arg (arg, int); result = rpl_fcntl_DUPFD_CLOEXEC (fd, target); break; } #if !HAVE_FCNTL case F_GETFD: { # if defined _WIN32 && ! defined __CYGWIN__ HANDLE handle = (HANDLE) _get_osfhandle (fd); DWORD flags; if (handle == INVALID_HANDLE_VALUE || GetHandleInformation (handle, &flags) == 0) errno = EBADF; else result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; # else /* !W32 */ /* Use dup2 to reject invalid file descriptors. No way to access this information, so punt. */ if (0 <= dup2 (fd, fd)) result = 0; # endif /* !W32 */ break; } /* F_GETFD */ #endif /* !HAVE_FCNTL */ /* Implementing F_SETFD on mingw is not trivial - there is no API for changing the O_NOINHERIT bit on an fd, and merely changing the HANDLE_FLAG_INHERIT bit on the underlying handle can lead to odd state. It may be possible by duplicating the handle, using _open_osfhandle with the right flags, then using dup2 to move the duplicate onto the original, but that is not supported for now. */ default: { #if HAVE_FCNTL switch (action) { #ifdef F_BARRIERFSYNC /* macOS */ case F_BARRIERFSYNC: #endif #ifdef F_CHKCLEAN /* macOS */ case F_CHKCLEAN: #endif #ifdef F_CLOSEM /* NetBSD, HP-UX */ case F_CLOSEM: #endif #ifdef F_FLUSH_DATA /* macOS */ case F_FLUSH_DATA: #endif #ifdef F_FREEZE_FS /* macOS */ case F_FREEZE_FS: #endif #ifdef F_FULLFSYNC /* macOS */ case F_FULLFSYNC: #endif #ifdef F_GETCONFINED /* macOS */ case F_GETCONFINED: #endif #ifdef F_GETDEFAULTPROTLEVEL /* macOS */ case F_GETDEFAULTPROTLEVEL: #endif #ifdef F_GETFD /* POSIX */ case F_GETFD: #endif #ifdef F_GETFL /* POSIX */ case F_GETFL: #endif #ifdef F_GETLEASE /* Linux */ case F_GETLEASE: #endif #ifdef F_GETNOSIGPIPE /* macOS */ case F_GETNOSIGPIPE: #endif #ifdef F_GETOWN /* POSIX */ case F_GETOWN: #endif #ifdef F_GETPIPE_SZ /* Linux */ case F_GETPIPE_SZ: #endif #ifdef F_GETPROTECTIONCLASS /* macOS */ case F_GETPROTECTIONCLASS: #endif #ifdef F_GETPROTECTIONLEVEL /* macOS */ case F_GETPROTECTIONLEVEL: #endif #ifdef F_GET_SEALS /* Linux */ case F_GET_SEALS: #endif #ifdef F_GETSIG /* Linux */ case F_GETSIG: #endif #ifdef F_MAXFD /* NetBSD */ case F_MAXFD: #endif #ifdef F_RECYCLE /* macOS */ case F_RECYCLE: #endif #ifdef F_SETFIFOENH /* HP-UX */ case F_SETFIFOENH: #endif #ifdef F_THAW_FS /* macOS */ case F_THAW_FS: #endif /* These actions take no argument. */ result = fcntl (fd, action); break; #ifdef F_ADD_SEALS /* Linux */ case F_ADD_SEALS: #endif #ifdef F_BADFD /* Solaris */ case F_BADFD: #endif #ifdef F_CHECK_OPENEVT /* macOS */ case F_CHECK_OPENEVT: #endif #ifdef F_DUP2FD /* FreeBSD, AIX, Solaris */ case F_DUP2FD: #endif #ifdef F_DUP2FD_CLOEXEC /* FreeBSD, Solaris */ case F_DUP2FD_CLOEXEC: #endif #ifdef F_DUP2FD_CLOFORK /* Solaris */ case F_DUP2FD_CLOFORK: #endif #ifdef F_DUPFD /* POSIX */ case F_DUPFD: #endif #ifdef F_DUPFD_CLOEXEC /* POSIX */ case F_DUPFD_CLOEXEC: #endif #ifdef F_DUPFD_CLOFORK /* Solaris */ case F_DUPFD_CLOFORK: #endif #ifdef F_GETXFL /* Solaris */ case F_GETXFL: #endif #ifdef F_GLOBAL_NOCACHE /* macOS */ case F_GLOBAL_NOCACHE: #endif #ifdef F_MAKECOMPRESSED /* macOS */ case F_MAKECOMPRESSED: #endif #ifdef F_MOVEDATAEXTENTS /* macOS */ case F_MOVEDATAEXTENTS: #endif #ifdef F_NOCACHE /* macOS */ case F_NOCACHE: #endif #ifdef F_NODIRECT /* macOS */ case F_NODIRECT: #endif #ifdef F_NOTIFY /* Linux */ case F_NOTIFY: #endif #ifdef F_OPLKACK /* IRIX */ case F_OPLKACK: #endif #ifdef F_OPLKREG /* IRIX */ case F_OPLKREG: #endif #ifdef F_RDAHEAD /* macOS */ case F_RDAHEAD: #endif #ifdef F_SETBACKINGSTORE /* macOS */ case F_SETBACKINGSTORE: #endif #ifdef F_SETCONFINED /* macOS */ case F_SETCONFINED: #endif #ifdef F_SETFD /* POSIX */ case F_SETFD: #endif #ifdef F_SETFL /* POSIX */ case F_SETFL: #endif #ifdef F_SETLEASE /* Linux */ case F_SETLEASE: #endif #ifdef F_SETNOSIGPIPE /* macOS */ case F_SETNOSIGPIPE: #endif #ifdef F_SETOWN /* POSIX */ case F_SETOWN: #endif #ifdef F_SETPIPE_SZ /* Linux */ case F_SETPIPE_SZ: #endif #ifdef F_SETPROTECTIONCLASS /* macOS */ case F_SETPROTECTIONCLASS: #endif #ifdef F_SETSIG /* Linux */ case F_SETSIG: #endif #ifdef F_SINGLE_WRITER /* macOS */ case F_SINGLE_WRITER: #endif /* These actions take an 'int' argument. */ { int x = va_arg (arg, int); result = fcntl (fd, action, x); } break; default: /* Other actions take a pointer argument. */ { void *p = va_arg (arg, void *); result = fcntl (fd, action, p); } break; } #else errno = EINVAL; #endif break; } } va_end (arg); return result; } static int rpl_fcntl_DUPFD (int fd, int target) { int result; #if !HAVE_FCNTL result = dupfd (fd, target, 0); #elif FCNTL_DUPFD_BUGGY || REPLACE_FCHDIR /* Detect invalid target; needed for cygwin 1.5.x. */ if (target < 0 || getdtablesize () <= target) { result = -1; errno = EINVAL; } else { /* Haiku alpha 2 loses fd flags on original. */ int flags = fcntl (fd, F_GETFD); if (flags < 0) result = -1; else { result = fcntl (fd, F_DUPFD, target); if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) { int saved_errno = errno; close (result); result = -1; errno = saved_errno; } # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif } } #else result = fcntl (fd, F_DUPFD, target); #endif return result; } static int rpl_fcntl_DUPFD_CLOEXEC (int fd, int target) { int result; #if !HAVE_FCNTL result = dupfd (fd, target, O_CLOEXEC); #else /* HAVE_FCNTL */ # if defined __NetBSD__ || defined __HAIKU__ /* On NetBSD 9.0, the system fcntl (fd, F_DUPFD_CLOEXEC, target) has only the same effect as fcntl (fd, F_DUPFD, target). */ /* On Haiku, the system fcntl (fd, F_DUPFD_CLOEXEC, target) sets the FD_CLOEXEC flag on fd, not on target. Therefore avoid the system fcntl in this case. */ # define have_dupfd_cloexec -1 # else /* Try the system call first, if the headers claim it exists (that is, if GNULIB_defined_F_DUPFD_CLOEXEC is 0), since we may be running with a glibc that has the macro but with an older kernel that does not support it. Cache the information on whether the system call really works, but avoid caching failure if the corresponding F_DUPFD fails for any reason. 0 = unknown, 1 = yes, -1 = no. */ static int have_dupfd_cloexec = GNULIB_defined_F_DUPFD_CLOEXEC ? -1 : 0; if (0 <= have_dupfd_cloexec) { result = fcntl (fd, F_DUPFD_CLOEXEC, target); if (0 <= result || errno != EINVAL) { have_dupfd_cloexec = 1; # if REPLACE_FCHDIR if (0 <= result) result = _gl_register_dup (fd, result); # endif } else { result = rpl_fcntl_DUPFD (fd, target); if (result >= 0) have_dupfd_cloexec = -1; } } else # endif result = rpl_fcntl_DUPFD (fd, target); if (0 <= result && have_dupfd_cloexec == -1) { int flags = fcntl (result, F_GETFD); if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) { int saved_errno = errno; close (result); errno = saved_errno; result = -1; } } #endif /* HAVE_FCNTL */ return result; } #undef fcntl #ifdef __KLIBC__ static int klibc_fcntl (int fd, int action, /* arg */...) { va_list arg_ptr; int arg; struct stat sbuf; int result; va_start (arg_ptr, action); arg = va_arg (arg_ptr, int); result = fcntl (fd, action, arg); /* EPERM for F_DUPFD, ENOTSUP for others */ if (result == -1 && (errno == EPERM || errno == ENOTSUP) && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) { ULONG ulMode; switch (action) { case F_DUPFD: /* Find available fd */ while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) arg++; result = dup2 (fd, arg); break; /* Using underlying APIs is right ? */ case F_GETFD: if (DosQueryFHState (fd, &ulMode)) break; result = (ulMode & OPEN_FLAGS_NOINHERIT) ? FD_CLOEXEC : 0; break; case F_SETFD: if (arg & ~FD_CLOEXEC) break; if (DosQueryFHState (fd, &ulMode)) break; if (arg & FD_CLOEXEC) ulMode |= OPEN_FLAGS_NOINHERIT; else ulMode &= ~OPEN_FLAGS_NOINHERIT; /* Filter supported flags. */ ulMode &= (OPEN_FLAGS_WRITE_THROUGH | OPEN_FLAGS_FAIL_ON_ERROR | OPEN_FLAGS_NO_CACHE | OPEN_FLAGS_NOINHERIT); if (DosSetFHState (fd, ulMode)) break; result = 0; break; case F_GETFL: result = 0; break; case F_SETFL: if (arg != 0) break; result = 0; break; default: errno = EINVAL; break; } } va_end (arg_ptr); return result; } #endif datamash-1.9/lib/fcntl.in.h0000644000000000000000000003265614767402206011252 /* Like , but with non-working flags defined to 0. Copyright (C) 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Paul Eggert */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_system_fcntl_h || defined _@GUARD_PREFIX@_ALREADY_INCLUDING_FCNTL_H /* Special invocation convention: - On Haiku we have a sequence of nested includes -> -> In this situation, GNULIB_defined_O_NONBLOCK gets defined before the system's definition of O_NONBLOCK is processed. */ /* Needed before . May also define off_t to a 64-bit type on native Windows. */ #include /* On some systems other than glibc, is a prerequisite of . On glibc systems, we would like to avoid namespace pollution. But on glibc systems, includes inside an extern "C" { ... } block, which leads to errors in C++ mode with the overridden from gnulib. These errors are known to be gone with g++ version >= 4.3. */ #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) # include #endif #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ /* Native Windows platforms declare open(), creat() in . */ #if (@GNULIB_CREAT@ || @GNULIB_OPEN@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) # include #endif #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_FCNTL_H #define _@GUARD_PREFIX@_ALREADY_INCLUDING_FCNTL_H /* Needed before . May also define off_t to a 64-bit type on native Windows. Also defines off64_t on macOS, NetBSD, OpenBSD, MSVC, Cygwin, Haiku. */ #include /* On some systems other than glibc, is a prerequisite of . On glibc systems, we would like to avoid namespace pollution. But on glibc systems, includes inside an extern "C" { ... } block, which leads to errors in C++ mode with the overridden from gnulib. These errors are known to be gone with g++ version >= 4.3. */ #if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && (defined __ICC || !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)))) # include #endif /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_FCNTL_H@ /* Native Windows platforms declare open(), creat() in . */ #if (@GNULIB_CREAT@ || @GNULIB_OPEN@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) # include #endif #undef _@GUARD_PREFIX@_ALREADY_INCLUDING_FCNTL_H #ifndef _@GUARD_PREFIX@_FCNTL_H #define _@GUARD_PREFIX@_FCNTL_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #ifndef __GLIBC__ /* Avoid namespace pollution on glibc systems. */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ #if @GNULIB_CREAT@ # if @REPLACE_CREAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef creat # define creat rpl_creat # endif _GL_FUNCDECL_RPL (creat, int, (const char *filename, mode_t mode), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (creat, int, (const char *filename, mode_t mode)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef creat # define creat _creat # endif _GL_CXXALIAS_MDA (creat, int, (const char *filename, mode_t mode)); # else _GL_CXXALIAS_SYS (creat, int, (const char *filename, mode_t mode)); # endif _GL_CXXALIASWARN (creat); #elif defined GNULIB_POSIXCHECK # undef creat /* Assume creat is always declared. */ _GL_WARN_ON_USE (creat, "creat is not always POSIX compliant - " "use gnulib module creat for portability"); #elif @GNULIB_MDA_CREAT@ /* On native Windows, map 'creat' to '_creat', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::creat always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef creat # define creat _creat # endif /* Need to cast, because in mingw the last argument is 'int mode'. */ _GL_CXXALIAS_MDA_CAST (creat, int, (const char *filename, mode_t mode)); # else _GL_CXXALIAS_SYS (creat, int, (const char *filename, mode_t mode)); # endif _GL_CXXALIASWARN (creat); #endif #if @GNULIB_FCNTL@ # if @REPLACE_FCNTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fcntl # define fcntl rpl_fcntl # endif _GL_FUNCDECL_RPL (fcntl, int, (int fd, int action, ...), ); _GL_CXXALIAS_RPL (fcntl, int, (int fd, int action, ...)); # if !GNULIB_defined_rpl_fcntl # define GNULIB_defined_rpl_fcntl 1 # endif # else # if !@HAVE_FCNTL@ _GL_FUNCDECL_SYS (fcntl, int, (int fd, int action, ...), ); # if !GNULIB_defined_fcntl # define GNULIB_defined_fcntl 1 # endif # endif _GL_CXXALIAS_SYS (fcntl, int, (int fd, int action, ...)); # endif _GL_CXXALIASWARN (fcntl); #elif defined GNULIB_POSIXCHECK # undef fcntl # if HAVE_RAW_DECL_FCNTL _GL_WARN_ON_USE (fcntl, "fcntl is not always POSIX compliant - " "use gnulib module fcntl for portability"); # endif #endif #if @GNULIB_OPEN@ # if @REPLACE_OPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef open # define open rpl_open # endif _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef open # define open _open # endif _GL_CXXALIAS_MDA (open, int, (const char *filename, int flags, ...)); # else _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); # endif /* On HP-UX 11, in C++ mode, open() is defined as an inline function with a default argument. _GL_CXXALIASWARN does not work in this case. */ # if !defined __hpux _GL_CXXALIASWARN (open); # endif #elif defined GNULIB_POSIXCHECK # undef open /* Assume open is always declared. */ _GL_WARN_ON_USE (open, "open is not always POSIX compliant - " "use gnulib module open for portability"); #elif @GNULIB_MDA_OPEN@ /* On native Windows, map 'open' to '_open', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::open always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef open # define open _open # endif _GL_CXXALIAS_MDA (open, int, (const char *filename, int flags, ...)); # else _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); # endif # if !defined __hpux _GL_CXXALIASWARN (open); # endif #endif #if @GNULIB_OPENAT@ # if @REPLACE_OPENAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef openat # define openat rpl_openat # endif _GL_FUNCDECL_RPL (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...)); # else # if !@HAVE_OPENAT@ _GL_FUNCDECL_SYS (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (openat, int, (int fd, char const *file, int flags, /* mode_t mode */ ...)); # endif _GL_CXXALIASWARN (openat); #elif defined GNULIB_POSIXCHECK # undef openat # if HAVE_RAW_DECL_OPENAT _GL_WARN_ON_USE (openat, "openat is not portable - " "use gnulib module openat for portability"); # endif #endif /* Fix up the FD_* macros, only known to be missing on mingw. */ #ifndef FD_CLOEXEC # define FD_CLOEXEC 1 #endif /* Fix up the supported F_* macros. Intentionally leave other F_* macros undefined. Only known to be missing on mingw. */ #ifndef F_DUPFD_CLOEXEC # define F_DUPFD_CLOEXEC 0x40000000 /* Witness variable: 1 if gnulib defined F_DUPFD_CLOEXEC, 0 otherwise. */ # define GNULIB_defined_F_DUPFD_CLOEXEC 1 #else # define GNULIB_defined_F_DUPFD_CLOEXEC 0 #endif #ifndef F_DUPFD # define F_DUPFD 1 #endif #ifndef F_GETFD # define F_GETFD 2 #endif /* Fix up the O_* macros. */ /* AIX 7.1 with XL C 12.1 defines O_CLOEXEC, O_NOFOLLOW, and O_TTY_INIT to values outside 'int' range, so omit these misdefinitions. But avoid namespace pollution on non-AIX systems. */ #ifdef _AIX # include # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX) # undef O_CLOEXEC # endif # if defined O_NOFOLLOW && ! (INT_MIN <= O_NOFOLLOW && O_NOFOLLOW <= INT_MAX) # undef O_NOFOLLOW # endif # if defined O_TTY_INIT && ! (INT_MIN <= O_TTY_INIT && O_TTY_INIT <= INT_MAX) # undef O_TTY_INIT # endif #endif #if !defined O_DIRECT && defined O_DIRECTIO /* Tru64 spells it 'O_DIRECTIO'. */ # define O_DIRECT O_DIRECTIO #endif #if !defined O_CLOEXEC && defined O_NOINHERIT /* Mingw spells it 'O_NOINHERIT'. */ # define O_CLOEXEC O_NOINHERIT #endif #ifndef O_CLOEXEC # define O_CLOEXEC 0x40000000 /* Try to not collide with system O_* flags. */ # define GNULIB_defined_O_CLOEXEC 1 #else # define GNULIB_defined_O_CLOEXEC 0 #endif #ifndef O_DIRECT # define O_DIRECT 0 #endif #ifndef O_DIRECTORY # define O_DIRECTORY 0 #endif #ifndef O_DSYNC # define O_DSYNC 0 #endif #ifndef O_EXEC # define O_EXEC O_RDONLY /* This is often close enough in older systems. */ #endif #ifndef O_IGNORE_CTTY # define O_IGNORE_CTTY 0 #endif #ifndef O_NDELAY # define O_NDELAY 0 #endif #ifndef O_NOATIME # define O_NOATIME 0 #endif #ifndef O_NONBLOCK # define O_NONBLOCK O_NDELAY #endif /* If the gnulib module 'nonblocking' is in use, guarantee a working non-zero value of O_NONBLOCK. Otherwise, O_NONBLOCK is defined (above) to O_NDELAY or to 0 as fallback. */ #if @GNULIB_NONBLOCKING@ # if O_NONBLOCK # define GNULIB_defined_O_NONBLOCK 0 # else # define GNULIB_defined_O_NONBLOCK 1 # undef O_NONBLOCK # define O_NONBLOCK 0x40000000 # endif #endif #ifndef O_NOCTTY # define O_NOCTTY 0 #endif #ifndef O_NOFOLLOW # define O_NOFOLLOW 0 #endif #ifndef O_NOLINK # define O_NOLINK 0 #endif #ifndef O_NOLINKS # define O_NOLINKS 0 #endif #ifndef O_NOTRANS # define O_NOTRANS 0 #endif #ifndef O_RSYNC # define O_RSYNC 0 #endif #if defined O_SEARCH && defined O_PATH && O_SEARCH == O_PATH # undef O_SEARCH /* musl mistakenly #defines O_SEARCH to O_PATH. */ #endif #ifndef O_SEARCH # define O_SEARCH O_RDONLY /* Often close enough in non-POSIX systems. */ #endif #ifndef O_SYNC # define O_SYNC 0 #endif #ifndef O_TTY_INIT # define O_TTY_INIT 0 #endif #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) # undef O_ACCMODE # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) #endif /* For systems that distinguish between text and binary I/O. O_BINARY is usually declared in fcntl.h */ #if !defined O_BINARY && defined _O_BINARY /* For MSC-compatible compilers. */ # define O_BINARY _O_BINARY # define O_TEXT _O_TEXT #endif #if defined __BEOS__ || defined __HAIKU__ /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ # undef O_BINARY # undef O_TEXT #endif #ifndef O_BINARY # define O_BINARY 0 # define O_TEXT 0 #endif /* Fix up the AT_* macros. */ /* Work around a bug in Solaris 9 and 10: AT_FDCWD is positive. Its value exceeds INT_MAX, so its use as an int doesn't conform to the C standard, and GCC and Sun C complain in some cases. If the bug is present, undef AT_FDCWD here, so it can be redefined below. */ #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 # undef AT_FDCWD #endif /* Use the same bit pattern as Solaris 9, but with the proper signedness. The bit pattern is important, in case this actually is Solaris with the above workaround. */ #ifndef AT_FDCWD # define AT_FDCWD (-3041965) #endif /* Use the same values as Solaris 9. This shouldn't matter, but there's no real reason to differ. */ #ifndef AT_SYMLINK_NOFOLLOW # define AT_SYMLINK_NOFOLLOW 4096 #endif #ifndef AT_REMOVEDIR # define AT_REMOVEDIR 1 #endif /* Solaris 9 lacks these two, so just pick unique values. */ #ifndef AT_SYMLINK_FOLLOW # define AT_SYMLINK_FOLLOW 2 #endif #ifndef AT_EACCESS # define AT_EACCESS 4 #endif /* Ignore this flag if not supported. */ #ifndef AT_NO_AUTOMOUNT # define AT_NO_AUTOMOUNT 0 #endif #endif /* _@GUARD_PREFIX@_FCNTL_H */ #endif /* _@GUARD_PREFIX@_FCNTL_H */ #endif datamash-1.9/lib/fd-hook.c0000644000000000000000000000702514767401140011045 /* Hook for making file descriptor functions close(), ioctl() extensible. Copyright (C) 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "fd-hook.h" #include /* Currently, this entire code is only needed for the handling of sockets on native Windows platforms. */ #if WINDOWS_SOCKETS /* The first and last link in the doubly linked list. Initially the list is empty. */ static struct fd_hook anchor = { &anchor, &anchor, NULL, NULL }; int execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, int fd) { if (remaining_list == &anchor) /* End of list reached. */ return primary (fd); else return remaining_list->private_close_fn (remaining_list->private_next, primary, fd); } int execute_all_close_hooks (gl_close_fn primary, int fd) { return execute_close_hooks (anchor.private_next, primary, fd); } int execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg) { if (remaining_list == &anchor) /* End of list reached. */ return primary (fd, request, arg); else return remaining_list->private_ioctl_fn (remaining_list->private_next, primary, fd, request, arg); } int execute_all_ioctl_hooks (gl_ioctl_fn primary, int fd, int request, void *arg) { return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); } void register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link) { if (close_hook == NULL) close_hook = execute_close_hooks; if (ioctl_hook == NULL) ioctl_hook = execute_ioctl_hooks; if (link->private_next == NULL && link->private_prev == NULL) { /* Add the link to the doubly linked list. */ link->private_next = anchor.private_next; link->private_prev = &anchor; link->private_close_fn = close_hook; link->private_ioctl_fn = ioctl_hook; anchor.private_next->private_prev = link; anchor.private_next = link; } else { /* The link is already in use. */ if (link->private_close_fn != close_hook || link->private_ioctl_fn != ioctl_hook) abort (); } } void unregister_fd_hook (struct fd_hook *link) { struct fd_hook *next = link->private_next; struct fd_hook *prev = link->private_prev; if (next != NULL && prev != NULL) { /* The link is in use. Remove it from the doubly linked list. */ prev->private_next = next; next->private_prev = prev; /* Clear the link, to mark it unused. */ link->private_next = NULL; link->private_prev = NULL; link->private_close_fn = NULL; link->private_ioctl_fn = NULL; } } #endif datamash-1.9/lib/fd-hook.h0000644000000000000000000001136414767401140011053 /* Hook for making file descriptor functions close(), ioctl() extensible. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef FD_HOOK_H #define FD_HOOK_H #ifdef __cplusplus extern "C" { #endif /* Currently, this entire code is only needed for the handling of sockets on native Windows platforms. */ #if WINDOWS_SOCKETS /* Type of function that closes FD. */ typedef int (*gl_close_fn) (int fd); /* Type of function that applies a control request to FD. */ typedef int (*gl_ioctl_fn) (int fd, int request, void *arg); /* An element of the list of file descriptor hooks. In CLOS (Common Lisp Object System) speak, it consists of an "around" method for the close() function and an "around" method for the ioctl() function. The fields of this structure are considered private. */ struct fd_hook { /* Doubly linked list. */ struct fd_hook *private_next; struct fd_hook *private_prev; /* Function that treats the types of FD that it knows about and calls execute_close_hooks (REMAINING_LIST, PRIMARY, FD) as a fallback. */ int (*private_close_fn) (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Function that treats the types of FD that it knows about and calls execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) as a fallback. */ int (*private_ioctl_fn) (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); }; /* This type of function closes FD, applying special knowledge for the FD types it knows about, and calls execute_close_hooks (REMAINING_LIST, PRIMARY, FD) for the other FD types. In CLOS speak, REMAINING_LIST is the remaining list of "around" methods, and PRIMARY is the "primary" method for close(). */ typedef int (*close_hook_fn) (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Execute the close hooks in REMAINING_LIST, with PRIMARY as "primary" method. Return 0 or -1, like close() would do. */ extern int execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, int fd); /* Execute all close hooks, with PRIMARY as "primary" method. Return 0 or -1, like close() would do. */ extern int execute_all_close_hooks (gl_close_fn primary, int fd); /* This type of function applies a control request to FD, applying special knowledge for the FD types it knows about, and calls execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) for the other FD types. In CLOS speak, REMAINING_LIST is the remaining list of "around" methods, and PRIMARY is the "primary" method for ioctl(). */ typedef int (*ioctl_hook_fn) (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); /* Execute the ioctl hooks in REMAINING_LIST, with PRIMARY as "primary" method. Return 0 or -1, like ioctl() would do. */ extern int execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, int fd, int request, void *arg); /* Execute all ioctl hooks, with PRIMARY as "primary" method. Return 0 or -1, like ioctl() would do. */ extern int execute_all_ioctl_hooks (gl_ioctl_fn primary, int fd, int request, void *arg); /* Add a function pair to the list of file descriptor hooks. CLOSE_HOOK and IOCTL_HOOK may be NULL, indicating no change. The LINK variable points to a piece of memory which is guaranteed to be accessible until the corresponding call to unregister_fd_hook. */ extern void register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link); /* Removes a hook from the list of file descriptor hooks. */ extern void unregister_fd_hook (struct fd_hook *link); #endif #ifdef __cplusplus } #endif #endif /* FD_HOOK_H */ datamash-1.9/lib/fflush.c0000644000000000000000000001732714767401140011013 /* fflush.c -- allow flushing input streams Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake. */ #include /* Specification. */ #include #include #include #include "freading.h" #include "stdio-impl.h" #undef fflush #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */ static void clear_ungetc_buffer_preserving_position (FILE *fp) { if (fp->_flags & _IO_IN_BACKUP) /* _IO_free_backup_area is a bit complicated. Simply call fseek. */ fseeko (fp, 0, SEEK_CUR); } #else /* Clear the stream's ungetc buffer. May modify the value of ftello (fp). */ static void clear_ungetc_buffer (FILE *fp) { # if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ if (HASUB (fp)) { fp_->_p += fp_->_r; fp_->_r = 0; } # elif defined __EMX__ /* emx+gcc */ if (fp->_ungetc_count > 0) { fp->_ungetc_count = 0; fp->_rcount = - fp->_rcount; } # elif defined _IOERR /* Minix, AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ /* Nothing to do. */ # else /* other implementations */ fseeko (fp, 0, SEEK_CUR); # endif } #endif #if ! (defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1) /* GNU libc, BeOS, Haiku, Linux libc5 */ # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ static int disable_seek_optimization (FILE *fp) { int saved_flags = fp_->_flags & (__SOPT | __SNPT); fp_->_flags = (fp_->_flags & ~__SOPT) | __SNPT; return saved_flags; } static void restore_seek_optimization (FILE *fp, int saved_flags) { fp_->_flags = (fp_->_flags & ~(__SOPT | __SNPT)) | saved_flags; } # else static void update_fpos_cache (_GL_ATTRIBUTE_MAYBE_UNUSED FILE *fp, _GL_ATTRIBUTE_MAYBE_UNUSED off_t pos) { # if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __CYGWIN__ || defined __ANDROID__ /* fp_->_offset is typed as an integer. */ fp_->_offset = pos; # else /* fp_->_offset is an fpos_t. */ /* Use a union, since on NetBSD, the compilation flags determine whether fpos_t is typedef'd to off_t or a struct containing a single off_t member. */ union { fpos_t f; off_t o; } u; u.o = pos; fp_->_offset = u.f; # endif fp_->_flags |= __SOFF; # endif } # endif #endif /* Flush all pending data on STREAM according to POSIX rules. Both output and seekable input streams are supported. */ int rpl_fflush (FILE *stream) { /* When stream is NULL, POSIX and C99 only require flushing of "output streams and update streams in which the most recent operation was not input", and all implementations do this. When stream is "an output stream or an update stream in which the most recent operation was not input", POSIX and C99 requires that fflush writes out any buffered data, and all implementations do this. When stream is, however, an input stream or an update stream in which the most recent operation was input, C99 specifies nothing, and POSIX only specifies behavior if the stream is seekable. mingw, in particular, drops the input buffer, leaving the file descriptor positioned at the end of the input buffer. I.e. ftell (stream) is lost. We don't want to call the implementation's fflush in this case. We test ! freading (stream) here, rather than fwriting (stream), because what we need to know is whether the stream holds a "read buffer", and on mingw this is indicated by _IOREAD, regardless of _IOWRT. */ if (stream == NULL || ! freading (stream)) return fflush (stream); #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ clear_ungetc_buffer_preserving_position (stream); return fflush (stream); #else { /* What POSIX says: 1) About the file-position indicator (-> fseeko, ftello): The file position indicator is incremented by fgetc() and decremented by ungetc(): "... the fgetc() function shall ... advance the associated file position indicator for the stream ..." "The file-position indicator is decremented by each successful call to ungetc()..." 2) fflush discards bytes pushed back by ungetc: "...any characters pushed back onto the stream by ungetc() or ungetwc() that have not subsequently been read from the stream shall be discarded..." This implies implicitly: fflush does not change the file position indicator. 3) Effects on the file descriptor, if the file descriptor is capable of seeking: "...the file offset of the underlying open file description shall be set to the file position of the stream..." */ /* POSIX does not specify fflush behavior for non-seekable input streams. Some implementations purge unread data, some return EBADF, some do nothing. */ off_t pos = ftello (stream); if (pos == -1) { errno = EBADF; return EOF; } /* Clear the ungetc buffer. */ clear_ungetc_buffer (stream); /* To get here, we must be flushing a seekable input stream, so the semantics of fpurge are now appropriate to clear the buffer. To avoid losing data, the lseek is also necessary. */ { int result = fpurge (stream); if (result != 0) return result; } # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ { /* Disable seek optimization for the next fseeko call. This tells the following fseeko call to seek to the desired position directly, rather than to seek to a block-aligned boundary. */ int saved_flags = disable_seek_optimization (stream); int result = fseeko (stream, pos, SEEK_SET); restore_seek_optimization (stream, saved_flags); return result; } # else pos = lseek (fileno (stream), pos, SEEK_SET); if (pos == -1) return EOF; /* After a successful lseek, update the file descriptor's position cache in the stream. */ update_fpos_cache (stream, pos); return 0; # endif } #endif } datamash-1.9/lib/filename.h0000644000000000000000000001110614767401140011276 /* Basic filename support macros. Copyright (C) 2001-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ /* From Paul Eggert and Jim Meyering. */ #ifndef _FILENAME_H #define _FILENAME_H #include #ifdef __cplusplus extern "C" { #endif /* Filename support. ISSLASH(C) tests whether C is a directory separator character. HAS_DEVICE(Filename) tests whether Filename contains a device specification. FILE_SYSTEM_PREFIX_LEN(Filename) length of the device specification at the beginning of Filename, index of the part consisting of alternating components and slashes. FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 1 when a non-empty device specification can be followed by an empty or relative part, 0 when a non-empty device specification must be followed by a slash, 0 when device specification don't exist. IS_ABSOLUTE_FILE_NAME(Filename) tests whether Filename is independent of any notion of "current directory". IS_RELATIVE_FILE_NAME(Filename) tests whether Filename may be concatenated to a directory filename. Note: On native Windows, OS/2, DOS, "c:" is neither an absolute nor a relative file name! IS_FILE_NAME_WITH_DIR(Filename) tests whether Filename contains a device or directory specification. */ #if defined _WIN32 || defined __CYGWIN__ \ || defined __EMX__ || defined __MSDOS__ || defined __DJGPP__ /* Native Windows, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') /* Internal macro: Tests whether a character is a drive letter. */ # define _IS_DRIVE_LETTER(C) \ (((C) >= 'A' && (C) <= 'Z') || ((C) >= 'a' && (C) <= 'z')) /* Help the compiler optimizing it. This assumes ASCII. */ # undef _IS_DRIVE_LETTER # define _IS_DRIVE_LETTER(C) \ (((unsigned int) (C) | ('a' - 'A')) - 'a' <= 'z' - 'a') # define HAS_DEVICE(Filename) \ (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':') # define FILE_SYSTEM_PREFIX_LEN(Filename) (HAS_DEVICE (Filename) ? 2 : 0) # ifdef __CYGWIN__ # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 # else /* On native Windows, OS/2, DOS, the system has the notion of a "current directory" on each drive. */ # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 1 # endif # if FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE # define IS_ABSOLUTE_FILE_NAME(Filename) \ ISSLASH ((Filename)[FILE_SYSTEM_PREFIX_LEN (Filename)]) # else # define IS_ABSOLUTE_FILE_NAME(Filename) \ (ISSLASH ((Filename)[0]) || HAS_DEVICE (Filename)) # endif # define IS_RELATIVE_FILE_NAME(Filename) \ (! (ISSLASH ((Filename)[0]) || HAS_DEVICE (Filename))) # define IS_FILE_NAME_WITH_DIR(Filename) \ (strchr ((Filename), '/') != NULL || strchr ((Filename), '\\') != NULL \ || HAS_DEVICE (Filename)) #else /* Unix */ # define ISSLASH(C) ((C) == '/') # define HAS_DEVICE(Filename) ((void) (Filename), 0) # define FILE_SYSTEM_PREFIX_LEN(Filename) ((void) (Filename), 0) # define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 # define IS_ABSOLUTE_FILE_NAME(Filename) ISSLASH ((Filename)[0]) # define IS_RELATIVE_FILE_NAME(Filename) (! ISSLASH ((Filename)[0])) # define IS_FILE_NAME_WITH_DIR(Filename) (strchr ((Filename), '/') != NULL) #endif /* Deprecated macros. For backward compatibility with old users of the 'filename' module. */ #define IS_ABSOLUTE_PATH IS_ABSOLUTE_FILE_NAME #define IS_PATH_WITH_DIR IS_FILE_NAME_WITH_DIR #ifdef __cplusplus } #endif #endif /* _FILENAME_H */ datamash-1.9/lib/flexmember.h0000644000000000000000000000624414767401140011653 /* Sizes of structs with flexible array members. Copyright 2016-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . Written by Paul Eggert. */ /* This file uses _Alignof. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include /* Nonzero multiple of alignment of TYPE, suitable for FLEXSIZEOF below. If _Alignof might not exist or might not work correctly on structs with flexible array members, use a pessimistic bound that is safe in practice even if FLEXIBLE_ARRAY_MEMBER is 1. Otherwise, use _Alignof to get a tighter bound. */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 || defined _Alignof # define FLEXALIGNOF(type) (sizeof (type) & ~ (sizeof (type) - 1)) #else # define FLEXALIGNOF(type) _Alignof (type) #endif /* Yield a properly aligned upper bound on the size of a struct of type TYPE with a flexible array member named MEMBER that is followed by N bytes of other data. The result is suitable as an argument to malloc. For example: struct s { int a; char d[FLEXIBLE_ARRAY_MEMBER]; }; struct s *p = malloc (FLEXSIZEOF (struct s, d, n * sizeof (char))); FLEXSIZEOF (TYPE, MEMBER, N) is not simply (sizeof (TYPE) + N), since FLEXIBLE_ARRAY_MEMBER may be 1 on pre-C11 platforms. Nor is it simply (offsetof (TYPE, MEMBER) + N), as that might yield a size that causes malloc to yield a pointer that is not properly aligned for TYPE; for example, if sizeof (int) == alignof (int) == 4, malloc (offsetof (struct s, d) + 3 * sizeof (char)) is equivalent to malloc (7) and might yield a pointer that is not a multiple of 4 (which means the pointer is not properly aligned for struct s), whereas malloc (FLEXSIZEOF (struct s, d, 3 * sizeof (char))) is equivalent to malloc (8) and must yield a pointer that is a multiple of 4. Yield a value less than N if and only if arithmetic overflow occurs. */ #define FLEXSIZEOF(type, member, n) \ ((offsetof (type, member) + FLEXALIGNOF (type) - 1 + (n)) \ & ~ (FLEXALIGNOF (type) - 1)) /* Yield a properly aligned upper bound on the size of a struct of type TYPE with a flexible array member named MEMBER that has N elements. The result is suitable as an argument to malloc. For example: struct s { int a; double d[FLEXIBLE_ARRAY_MEMBER]; }; struct s *p = malloc (FLEXNSIZEOF (struct s, d, n)); */ #define FLEXNSIZEOF(type, member, n) \ FLEXSIZEOF (type, member, (n) * sizeof (((type *) 0)->member[0])) datamash-1.9/lib/float+.h0000644000000000000000000001300714767401140010700 /* Supplemental information about the floating-point formats. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _FLOATPLUS_H #define _FLOATPLUS_H #include #include /* Number of bits in the mantissa of a floating-point number, including the "hidden bit". */ #if FLT_RADIX == 2 # define FLT_MANT_BIT FLT_MANT_DIG # define DBL_MANT_BIT DBL_MANT_DIG # define LDBL_MANT_BIT LDBL_MANT_DIG #elif FLT_RADIX == 4 # define FLT_MANT_BIT (FLT_MANT_DIG * 2) # define DBL_MANT_BIT (DBL_MANT_DIG * 2) # define LDBL_MANT_BIT (LDBL_MANT_DIG * 2) #elif FLT_RADIX == 16 # define FLT_MANT_BIT (FLT_MANT_DIG * 4) # define DBL_MANT_BIT (DBL_MANT_DIG * 4) # define LDBL_MANT_BIT (LDBL_MANT_DIG * 4) #endif /* Bit mask that can be used to mask the exponent, as an unsigned number. */ #define FLT_EXP_MASK ((FLT_MAX_EXP - FLT_MIN_EXP) | 7) #define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) #define LDBL_EXP_MASK ((LDBL_MAX_EXP - LDBL_MIN_EXP) | 7) /* Number of bits used for the exponent of a floating-point number, including the exponent's sign. */ #define FLT_EXP_BIT \ (FLT_EXP_MASK < 0x100 ? 8 : \ FLT_EXP_MASK < 0x200 ? 9 : \ FLT_EXP_MASK < 0x400 ? 10 : \ FLT_EXP_MASK < 0x800 ? 11 : \ FLT_EXP_MASK < 0x1000 ? 12 : \ FLT_EXP_MASK < 0x2000 ? 13 : \ FLT_EXP_MASK < 0x4000 ? 14 : \ FLT_EXP_MASK < 0x8000 ? 15 : \ FLT_EXP_MASK < 0x10000 ? 16 : \ FLT_EXP_MASK < 0x20000 ? 17 : \ FLT_EXP_MASK < 0x40000 ? 18 : \ FLT_EXP_MASK < 0x80000 ? 19 : \ FLT_EXP_MASK < 0x100000 ? 20 : \ FLT_EXP_MASK < 0x200000 ? 21 : \ FLT_EXP_MASK < 0x400000 ? 22 : \ FLT_EXP_MASK < 0x800000 ? 23 : \ FLT_EXP_MASK < 0x1000000 ? 24 : \ FLT_EXP_MASK < 0x2000000 ? 25 : \ FLT_EXP_MASK < 0x4000000 ? 26 : \ FLT_EXP_MASK < 0x8000000 ? 27 : \ FLT_EXP_MASK < 0x10000000 ? 28 : \ FLT_EXP_MASK < 0x20000000 ? 29 : \ FLT_EXP_MASK < 0x40000000 ? 30 : \ FLT_EXP_MASK <= 0x7fffffff ? 31 : \ 32) #define DBL_EXP_BIT \ (DBL_EXP_MASK < 0x100 ? 8 : \ DBL_EXP_MASK < 0x200 ? 9 : \ DBL_EXP_MASK < 0x400 ? 10 : \ DBL_EXP_MASK < 0x800 ? 11 : \ DBL_EXP_MASK < 0x1000 ? 12 : \ DBL_EXP_MASK < 0x2000 ? 13 : \ DBL_EXP_MASK < 0x4000 ? 14 : \ DBL_EXP_MASK < 0x8000 ? 15 : \ DBL_EXP_MASK < 0x10000 ? 16 : \ DBL_EXP_MASK < 0x20000 ? 17 : \ DBL_EXP_MASK < 0x40000 ? 18 : \ DBL_EXP_MASK < 0x80000 ? 19 : \ DBL_EXP_MASK < 0x100000 ? 20 : \ DBL_EXP_MASK < 0x200000 ? 21 : \ DBL_EXP_MASK < 0x400000 ? 22 : \ DBL_EXP_MASK < 0x800000 ? 23 : \ DBL_EXP_MASK < 0x1000000 ? 24 : \ DBL_EXP_MASK < 0x2000000 ? 25 : \ DBL_EXP_MASK < 0x4000000 ? 26 : \ DBL_EXP_MASK < 0x8000000 ? 27 : \ DBL_EXP_MASK < 0x10000000 ? 28 : \ DBL_EXP_MASK < 0x20000000 ? 29 : \ DBL_EXP_MASK < 0x40000000 ? 30 : \ DBL_EXP_MASK <= 0x7fffffff ? 31 : \ 32) #define LDBL_EXP_BIT \ (LDBL_EXP_MASK < 0x100 ? 8 : \ LDBL_EXP_MASK < 0x200 ? 9 : \ LDBL_EXP_MASK < 0x400 ? 10 : \ LDBL_EXP_MASK < 0x800 ? 11 : \ LDBL_EXP_MASK < 0x1000 ? 12 : \ LDBL_EXP_MASK < 0x2000 ? 13 : \ LDBL_EXP_MASK < 0x4000 ? 14 : \ LDBL_EXP_MASK < 0x8000 ? 15 : \ LDBL_EXP_MASK < 0x10000 ? 16 : \ LDBL_EXP_MASK < 0x20000 ? 17 : \ LDBL_EXP_MASK < 0x40000 ? 18 : \ LDBL_EXP_MASK < 0x80000 ? 19 : \ LDBL_EXP_MASK < 0x100000 ? 20 : \ LDBL_EXP_MASK < 0x200000 ? 21 : \ LDBL_EXP_MASK < 0x400000 ? 22 : \ LDBL_EXP_MASK < 0x800000 ? 23 : \ LDBL_EXP_MASK < 0x1000000 ? 24 : \ LDBL_EXP_MASK < 0x2000000 ? 25 : \ LDBL_EXP_MASK < 0x4000000 ? 26 : \ LDBL_EXP_MASK < 0x8000000 ? 27 : \ LDBL_EXP_MASK < 0x10000000 ? 28 : \ LDBL_EXP_MASK < 0x20000000 ? 29 : \ LDBL_EXP_MASK < 0x40000000 ? 30 : \ LDBL_EXP_MASK <= 0x7fffffff ? 31 : \ 32) /* Number of bits used for a floating-point number: the mantissa (not counting the "hidden bit", since it may or may not be explicit), the exponent, and the sign. */ #define FLT_TOTAL_BIT ((FLT_MANT_BIT - 1) + FLT_EXP_BIT + 1) #define DBL_TOTAL_BIT ((DBL_MANT_BIT - 1) + DBL_EXP_BIT + 1) #define LDBL_TOTAL_BIT ((LDBL_MANT_BIT - 1) + LDBL_EXP_BIT + 1) /* Number of bytes used for a floating-point number. This can be smaller than the 'sizeof'. For example, on i386 systems, 'long double' most often have LDBL_MANT_BIT = 64, LDBL_EXP_BIT = 16, hence LDBL_TOTAL_BIT = 80 bits, i.e. 10 bytes of consecutive memory, but sizeof (long double) = 12 or = 16. */ #define SIZEOF_FLT ((FLT_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) #define SIZEOF_DBL ((DBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) #define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) /* Verify that SIZEOF_FLT <= sizeof (float) etc. */ typedef int verify_sizeof_flt[SIZEOF_FLT <= sizeof (float) ? 1 : -1]; typedef int verify_sizeof_dbl[SIZEOF_DBL <= sizeof (double) ? 1 : - 1]; typedef int verify_sizeof_ldbl[SIZEOF_LDBL <= sizeof (long double) ? 1 : - 1]; #endif /* _FLOATPLUS_H */ datamash-1.9/lib/float.c0000644000000000000000000001140014767401140010613 /* Auxiliary definitions for . Copyright (C) 2011-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2011. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if GNULIB_defined_long_double_union # if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ const union gl_long_double_union gl_LDBL_MAX = { { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } }; # elif defined __i386__ const union gl_long_double_union gl_LDBL_MAX = { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } }; # endif # if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) /* We can't even simply evaluate the formula (LDBL_MIN / 9223372036854775808.0L) at run time, because it would require BEGIN_LONG_DOUBLE_ROUNDING / END_LONG_DOUBLE_ROUNDING invocations. It simpler to just write down the representation of LDBL_TRUE_MIN, based on . */ const union gl_long_double_union gl_LDBL_TRUE_MIN = { { 0x00000001, 0x00000000, 0 } }; # endif #endif #if GNULIB_defined_FLT_SNAN /* Define like memory_positive_SNaNf(), see signed-snan.h and snan.h, or like setpayloadsigf() with an arbitrary payload. */ gl_FLT_SNAN_t gl_FLT_SNAN = # if FLT_MANT_DIG == 24 # if defined __hppa || (defined __mips__ && !MIPS_NAN2008_FLOAT) || defined __sh__ /* sign bit: 0, 8 exponent bits: all 1, next bit: 1, payload: 0b10...0 */ { { 0x7FE00000U } } # else /* sign bit: 0, 8 exponent bits: all 1, next bit: 0, payload: 0b10...0 */ { { 0x7FA00000U } } # endif # endif ; #endif #if GNULIB_defined_DBL_SNAN /* Define like memory_positive_SNaNd(), see signed-snan.h and snan.h, or like setpayloadsig() with an arbitrary payload. */ gl_DBL_SNAN_t gl_DBL_SNAN = # if DBL_MANT_DIG == 53 # if defined __hppa || (defined __mips__ && !MIPS_NAN2008_FLOAT) || defined __sh__ /* sign bit: 0, 11 exponent bits: all 1, next bit: 1, payload: 0b10...0 */ { { 0x7FFC000000000000ULL } } # else /* sign bit: 0, 11 exponent bits: all 1, next bit: 0, payload: 0b10...0 */ { { 0x7FF4000000000000ULL } } # endif # endif ; #endif #if GNULIB_defined_LDBL_SNAN # ifdef WORDS_BIGENDIAN # define TWO(hi,lo) { hi, lo } # else # define TWO(hi,lo) { lo, hi } # endif /* Define like memory_positive_SNaNl(), see signed-snan.h and snan.h, or like setpayloadsigl() with an arbitrary payload. */ gl_LDBL_SNAN_t gl_LDBL_SNAN = # if LDBL_MANT_DIG == 53 /* on arm, hppa, mips, sh, but also MSVC */ # if defined __hppa || (defined __mips__ && !MIPS_NAN2008_FLOAT) || defined __sh__ /* sign bit: 0, 11 exponent bits: all 1, next bit: 1, payload: 0b10...0 */ { { 0x7FFC000000000000ULL } } # else /* sign bit: 0, 11 exponent bits: all 1, next bit: 0, payload: 0b10...0 */ { { 0x7FF4000000000000ULL } } # endif # elif LDBL_MANT_DIG == 64 /* on i386, x86_64, ia64, m68k */ # if defined __m68k__ /* sign bit: 0, 15 exponent bits: all 1, 16 gap bits: all 0, always=1 bit: 1, next bit: 0, payload: 0b10...0 */ { { 0x7FFF0000ULL, 0xA0000000ULL, 0x00000000ULL } } # else /* sign bit: 0, 15 exponent bits: all 1, always=1 bit: 1, next bit: 0, payload: 0b10...0 (see ) */ { TWO (0x00007FFFULL, 0xA000000000000000ULL) } # endif # elif LDBL_MANT_DIG == 106 /* on powerpc, powerpc64, powerpc64le */ /* most-significant double: sign bit: 0, 11 exponent bits: all 1, next bit: 0, payload: 0b10...0, least-significant double: 0.0 */ { { 0x7FF4000000000000ULL, 0ULL } } # elif LDBL_MANT_DIG == 113 /* on alpha, arm64, loongarch64, mips64, riscv64, s390x, sparc64 */ # if (defined __mips__ && !MIPS_NAN2008_FLOAT) /* sign bit: 0, 15 exponent bits: all 1, next bit: 1, payload: 0b10...0 */ { TWO (0x7FFFC00000000000ULL, 0ULL) } # else /* sign bit: 0, 15 exponent bits: all 1, next bit: 0, payload: 0b10...0 */ { TWO (0x7FFF400000000000ULL, 0ULL) } # endif # endif ; #endif /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; datamash-1.9/lib/float.in.h0000644000000000000000000003017214767401140011234 /* A correct . Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_FLOAT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_FLOAT_H@ #ifndef _@GUARD_PREFIX@_FLOAT_H #define _@GUARD_PREFIX@_FLOAT_H /* ============================ ISO C99 support ============================ */ /* 'long double' properties. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 /* Number of decimal digits that is sufficient for representing a number. */ # undef LDBL_DIG # define LDBL_DIG 18 /* x-1 where x is the smallest representable number > 1. */ # undef LDBL_EPSILON # define LDBL_EPSILON 1.0842021724855044340E-19L /* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 /* Minimum positive normalized number. */ # undef LDBL_MIN # define LDBL_MIN 3.3621031431120935063E-4932L /* Maximum representable finite number. */ # undef LDBL_MAX # define LDBL_MAX 1.1897314953572317650E+4932L /* Minimum e such that 10^e is in the range of normalized numbers. */ # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP (-4931) /* Maximum e such that 10^e is in the range of representable finite numbers. */ # undef LDBL_MAX_10_EXP # define LDBL_MAX_10_EXP 4932 #endif /* On FreeBSD/x86 6.4, the 'long double' type really has only 53 bits of precision in the compiler but 64 bits of precision at runtime. See . */ #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 /* Number of decimal digits that is sufficient for representing a number. */ # undef LDBL_DIG # define LDBL_DIG 18 /* x-1 where x is the smallest representable number > 1. */ # undef LDBL_EPSILON # define LDBL_EPSILON 1.084202172485504434007452800869941711426e-19L /* 2^-63 */ /* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) /* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 /* Minimum positive normalized number. */ # undef LDBL_MIN # define LDBL_MIN 3.362103143112093506262677817321752E-4932L /* = 0x1p-16382L */ /* Maximum representable finite number. */ # undef LDBL_MAX /* LDBL_MAX is represented as { 0xFFFFFFFF, 0xFFFFFFFF, 32766 }. But the largest literal that GCC allows us to write is 0x0.fffffffffffff8p16384L = { 0xFFFFF800, 0xFFFFFFFF, 32766 }. So, define it like this through a reference to an external variable const unsigned int LDBL_MAX[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 32766 }; extern const long double LDBL_MAX; Unfortunately, this is not a constant expression. */ # if !GNULIB_defined_long_double_union union gl_long_double_union { struct { unsigned int lo; unsigned int hi; unsigned int exponent; } xd; long double ld; }; # define GNULIB_defined_long_double_union 1 # endif extern const union gl_long_double_union gl_LDBL_MAX; # define LDBL_MAX (gl_LDBL_MAX.ld) /* Minimum e such that 10^e is in the range of normalized numbers. */ # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP (-4931) /* Maximum e such that 10^e is in the range of representable finite numbers. */ # undef LDBL_MAX_10_EXP # define LDBL_MAX_10_EXP 4932 #endif /* On AIX 7.1 with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_MAX are wrong. On Linux/PowerPC with gcc 4.4, the value of LDBL_MAX is wrong. */ #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP DBL_MIN_10_EXP # undef LDBL_MIN # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */ #endif #if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MAX /* LDBL_MAX is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xFFFFFFFF }. It is not easy to define: #define LDBL_MAX 1.79769313486231580793728971405302307166e308L is too small, whereas #define LDBL_MAX 1.79769313486231580793728971405302307167e308L is too large. Apparently a bug in GCC decimal-to-binary conversion. Also, I can't get values larger than #define LDBL63 ((long double) (1ULL << 63)) #define LDBL882 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL945 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL1008 (LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63 * LDBL63) #define LDBL_MAX (LDBL1008 * 65535.0L + LDBL945 * (long double) 9223372036821221375ULL + LDBL882 * (long double) 4611686018427387904ULL) which is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xF8000000 }. So, define it like this through a reference to an external variable const double LDBL_MAX[2] = { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL }; extern const long double LDBL_MAX; or through a pointer cast #define LDBL_MAX \ (*(const long double *) (double[]) { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL }) Unfortunately, this is not a constant expression, and the latter expression does not work well when GCC is optimizing.. */ # if !GNULIB_defined_long_double_union union gl_long_double_union { struct { double hi; double lo; } dd; long double ld; }; # define GNULIB_defined_long_double_union 1 # endif extern const union gl_long_double_union gl_LDBL_MAX; # define LDBL_MAX (gl_LDBL_MAX.ld) #endif /* On IRIX 6.5, with cc, the value of LDBL_MANT_DIG is wrong. On IRIX 6.5, with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_EPSILON are wrong. */ #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP # define LDBL_MIN_10_EXP DBL_MIN_10_EXP # undef LDBL_MIN # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */ # undef LDBL_EPSILON # define LDBL_EPSILON 2.46519032881566189191165176650870696773e-32L /* 2^-105 */ # endif #endif /* ============================ ISO C11 support ============================ */ /* 'float' properties */ #ifndef FLT_HAS_SUBNORM # define FLT_HAS_SUBNORM 1 #endif #ifndef FLT_DECIMAL_DIG /* FLT_MANT_DIG = 24 => FLT_DECIMAL_DIG = 9 */ # define FLT_DECIMAL_DIG ((int)(FLT_MANT_DIG * 0.3010299956639812 + 2)) #endif #if defined _AIX && !defined __GNUC__ /* On AIX, the value of FLT_TRUE_MIN in /usr/include/float.h is a 'double', not a 'float'. */ # undef FLT_TRUE_MIN #endif #ifndef FLT_TRUE_MIN /* FLT_MIN / 2^(FLT_MANT_DIG-1) */ # define FLT_TRUE_MIN (FLT_MIN / 8388608.0f) #endif /* 'double' properties */ #ifndef DBL_HAS_SUBNORM # define DBL_HAS_SUBNORM 1 #endif #ifndef DBL_DECIMAL_DIG /* DBL_MANT_DIG = 53 => DBL_DECIMAL_DIG = 17 */ # define DBL_DECIMAL_DIG ((int)(DBL_MANT_DIG * 0.3010299956639812 + 2)) #endif #ifndef DBL_TRUE_MIN /* DBL_MIN / 2^(DBL_MANT_DIG-1) */ # define DBL_TRUE_MIN (DBL_MIN / 4503599627370496.0) #endif /* 'long double' properties */ #ifndef LDBL_HAS_SUBNORM # define LDBL_HAS_SUBNORM 1 #endif #ifndef LDBL_DECIMAL_DIG /* LDBL_MANT_DIG = 53 => LDBL_DECIMAL_DIG = 17 */ /* LDBL_MANT_DIG = 64 => LDBL_DECIMAL_DIG = 21 */ /* LDBL_MANT_DIG = 106 => LDBL_DECIMAL_DIG = 33 */ /* LDBL_MANT_DIG = 113 => LDBL_DECIMAL_DIG = 36 */ # define LDBL_DECIMAL_DIG ((int)(LDBL_MANT_DIG * 0.3010299956639812 + 2)) #endif #ifndef LDBL_TRUE_MIN /* LDBL_MIN / 2^(LDBL_MANT_DIG-1) */ # if LDBL_MANT_DIG == 53 # define LDBL_TRUE_MIN (LDBL_MIN / 4503599627370496.0L) # elif LDBL_MANT_DIG == 64 # if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) /* Work around FreeBSD/x86 problem mentioned above. */ extern const union gl_long_double_union gl_LDBL_TRUE_MIN; # define LDBL_TRUE_MIN (gl_LDBL_TRUE_MIN.ld) # else # define LDBL_TRUE_MIN (LDBL_MIN / 9223372036854775808.0L) # endif # elif LDBL_MANT_DIG == 106 # define LDBL_TRUE_MIN (LDBL_MIN / 40564819207303340847894502572032.0L) # elif LDBL_MANT_DIG == 113 # define LDBL_TRUE_MIN (LDBL_MIN / 5192296858534827628530496329220096.0L) # endif #endif /* ============================ ISO C23 support ============================ */ /* 'float' properties */ #ifndef FLT_IS_IEC_60559 # if defined __m68k__ # define FLT_IS_IEC_60559 0 # else # define FLT_IS_IEC_60559 1 # endif #endif #ifndef FLT_NORM_MAX # define FLT_NORM_MAX FLT_MAX #endif #ifndef FLT_SNAN /* For sh, beware of . */ # if ((__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__) && !defined __sh__ # define FLT_SNAN __builtin_nansf ("") # else typedef union { unsigned int word[1]; float value; } gl_FLT_SNAN_t; extern gl_FLT_SNAN_t gl_FLT_SNAN; # define FLT_SNAN (gl_FLT_SNAN.value) # define GNULIB_defined_FLT_SNAN 1 # endif #endif /* 'double' properties */ #ifndef DBL_IS_IEC_60559 # if defined __m68k__ # define DBL_IS_IEC_60559 0 # else # define DBL_IS_IEC_60559 1 # endif #endif #ifndef DBL_NORM_MAX # define DBL_NORM_MAX DBL_MAX #endif #ifndef DBL_SNAN /* For sh, beware of . */ # if ((__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__) && !defined __sh__ # define DBL_SNAN __builtin_nans ("") # else typedef union { unsigned long long word[1]; double value; } gl_DBL_SNAN_t; extern gl_DBL_SNAN_t gl_DBL_SNAN; # define DBL_SNAN (gl_DBL_SNAN.value) # define GNULIB_defined_DBL_SNAN 1 # endif #endif /* 'long double' properties */ #ifndef LDBL_IS_IEC_60559 # if defined __m68k__ # define LDBL_IS_IEC_60559 0 # elif LDBL_MANT_DIG == 53 || LDBL_MANT_DIG == 113 # define LDBL_IS_IEC_60559 1 # else # define LDBL_IS_IEC_60559 0 # endif #endif #ifndef LDBL_NORM_MAX # define LDBL_NORM_MAX LDBL_MAX #endif #ifndef LDBL_SNAN /* For sh, beware of . */ # if ((__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__) && !defined __sh__ # define LDBL_SNAN __builtin_nansl ("") # else # if LDBL_MANT_DIG == 53 typedef union { unsigned long long word[1]; long double value; } gl_LDBL_SNAN_t; # elif defined __m68k__ typedef union { unsigned int word[3]; long double value; } gl_LDBL_SNAN_t; # else typedef union { unsigned long long word[2]; long double value; } gl_LDBL_SNAN_t; # endif extern gl_LDBL_SNAN_t gl_LDBL_SNAN; # define LDBL_SNAN (gl_LDBL_SNAN.value) # define GNULIB_defined_LDBL_SNAN 1 # endif #endif /* ================================= Other ================================= */ #if @REPLACE_ITOLD@ /* Pull in a function that fixes the 'int' to 'long double' conversion of glibc 2.7. */ extern # ifdef __cplusplus "C" # endif void _Qp_itoq (long double *, int); static void (*_gl_float_fix_itold) (long double *, int) = _Qp_itoq; #endif #endif /* _@GUARD_PREFIX@_FLOAT_H */ #endif /* _@GUARD_PREFIX@_FLOAT_H */ datamash-1.9/lib/floor.c0000644000000000000000000000652214767401140010640 /* Round towards negative infinity. Copyright (C) 2007, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #if ! defined USE_LONG_DOUBLE # include #endif /* Specification. */ #include #include #ifdef USE_LONG_DOUBLE # define FUNC floorl # define DOUBLE long double # define MANT_DIG LDBL_MANT_DIG # define L_(literal) literal##L #elif ! defined USE_FLOAT # define FUNC floor # define DOUBLE double # define MANT_DIG DBL_MANT_DIG # define L_(literal) literal #else /* defined USE_FLOAT */ # define FUNC floorf # define DOUBLE float # define MANT_DIG FLT_MANT_DIG # define L_(literal) literal##f #endif /* MSVC with option -fp:strict refuses to compile constant initializers that contain floating-point operations. Pacify this compiler. */ #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif /* 2^(MANT_DIG-1). */ static const DOUBLE TWO_MANT_DIG = /* Assume MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (DOUBLE) (1U << ((MANT_DIG - 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 2) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 3) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 4) / 5)); DOUBLE FUNC (DOUBLE x) { /* The use of 'volatile' guarantees that excess precision bits are dropped at each addition step and before the following comparison at the caller's site. It is necessary on x86 systems where double-floats are not IEEE compliant by default, to avoid that the results become platform and compiler option dependent. 'volatile' is a portable alternative to gcc's -ffloat-store option. */ volatile DOUBLE y = x; volatile DOUBLE z = y; if (z > L_(0.0)) { /* For 0 < x < 1, return +0.0 even if the current rounding mode is FE_DOWNWARD. */ if (z < L_(1.0)) z = L_(0.0); /* Avoid rounding errors for values near 2^k, where k >= MANT_DIG-1. */ else if (z < TWO_MANT_DIG) { /* Round to the next integer (nearest or up or down, doesn't matter). */ z += TWO_MANT_DIG; z -= TWO_MANT_DIG; /* Enforce rounding down. */ if (z > y) z -= L_(1.0); } } else if (z < L_(0.0)) { /* Avoid rounding errors for values near -2^k, where k >= MANT_DIG-1. */ if (z > - TWO_MANT_DIG) { /* Round to the next integer (nearest or up or down, doesn't matter). */ z -= TWO_MANT_DIG; z += TWO_MANT_DIG; /* Enforce rounding down. */ if (z > y) z -= L_(1.0); } } return z; } datamash-1.9/lib/floorl.c0000644000000000000000000000202114767401140011002 /* Round towards negative infinity. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Specification. */ # include long double floorl (long double x) { return floor (x); } #else # define USE_LONG_DOUBLE # include "floor.c" #endif datamash-1.9/lib/fpending.c0000644000000000000000000000513014767401140011303 /* fpending.c -- return the number of pending output bytes on a stream Copyright (C) 2000, 2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. 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 . */ /* Written by Jim Meyering. */ #include /* Specification. */ #include "fpending.h" #include "stdio-impl.h" /* This file is not used on systems that already have the __fpending function, namely glibc >= 2.2, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.34, Android API >= 23. */ /* Return the number of pending (aka buffered, unflushed) bytes on the stream, FP, that is open for writing. */ size_t __fpending (FILE *fp) { /* Most systems provide FILE as a struct and the necessary bitmask in , because they need it for implementing getc() and putc() as fast macros. */ #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ return fp->_IO_write_ptr - fp->_IO_write_base; #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin < 1.7.34, Minix 3, Android */ return fp_->_p - fp_->_bf._base; #elif defined __EMX__ /* emx+gcc */ return fp->_ptr - fp->_buffer; #elif defined __minix /* Minix */ return fp_->_ptr - fp_->_buf; #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ return (fp_->_ptr ? fp_->_ptr - fp_->_base : 0); #elif defined __UCLIBC__ /* uClibc */ return (fp->__modeflags & __FLAG_WRITING ? fp->__bufpos - fp->__bufstart : 0); #elif defined __QNX__ /* QNX */ return (fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0); #elif defined __MINT__ /* Atari FreeMiNT */ return fp->__bufp - fp->__buffer; #elif defined EPLAN9 /* Plan9 */ return fp->wp - fp->buf; #else # error "Please port gnulib fpending.c to your platform!" return 1; #endif } datamash-1.9/lib/fpending.h0000644000000000000000000000224614767401140011315 /* Declare __fpending. Copyright (C) 2000, 2003, 2005-2006, 2009-2025 Free Software Foundation, Inc. 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 . Written by Jim Meyering. */ /* This file uses _GL_ATTRIBUTE_PURE, HAVE_STDIO_EXT_H, HAVE_DECL___FPENDING. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #if HAVE_STDIO_EXT_H # include #endif #ifdef __cplusplus extern "C" { #endif #if !HAVE_DECL___FPENDING size_t __fpending (FILE *) _GL_ATTRIBUTE_PURE; #endif #ifdef __cplusplus } #endif datamash-1.9/lib/fpucw.h0000644000000000000000000001147414767401140010652 /* Manipulating the FPU control word. -*- coding: utf-8 -*- Copyright (C) 2007-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _FPUCW_H #define _FPUCW_H /* The i386 floating point hardware (the 387 compatible FPU, not the modern SSE/SSE2 hardware) has a controllable rounding precision. It is specified through the 'PC' bits in the FPU control word ('fctrl' register). (See the GNU libc i386 header for details.) On some platforms, such as Linux or Solaris, the default precision setting is set to "extended precision". This means that 'long double' instructions operate correctly, but 'double' computations often produce slightly different results as on strictly IEEE 754 conforming systems. On some platforms, such as NetBSD, the default precision is set to "double precision". This means that 'long double' instructions will operate only as 'double', i.e. lead to wrong results. Similarly on FreeBSD 6.4, at least for the division of 'long double' numbers. The FPU control word is under control of the application, i.e. it is not required to be set either way by the ABI. (In fact, the i386 ABI https://www.linux-mips.org/pub/linux/mips/doc/ABI/abi386-4.pdf page 3-12 = page 38 is not clear about it. But in any case, gcc treats the control word like a "preserved" register: it emits code that assumes that the control word is preserved across calls, and it restores the control word at the end of functions that modify it.) See Vincent Lefèvre's page https://www.vinc17.net/research/extended.en.html for a good explanation. See https://web.archive.org/web/20060905133417/http://www.uwsg.iu.edu/hypermail/linux/kernel/0103.0/0453.html some argumentation which setting should be the default. */ /* This header file provides the following facilities: fpucw_t integral type holding the value of 'fctrl' FPU_PC_MASK bit mask denoting the precision control FPU_PC_DOUBLE precision control for 53 bits mantissa FPU_PC_EXTENDED precision control for 64 bits mantissa GET_FPUCW () yields the current FPU control word SET_FPUCW (word) sets the FPU control word DECL_LONG_DOUBLE_ROUNDING variable declaration for BEGIN/END_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING () starts a sequence of instructions with 'long double' safe operation precision END_LONG_DOUBLE_ROUNDING () ends a sequence of instructions with 'long double' safe operation precision */ #ifdef __cplusplus extern "C" { #endif /* Inline assembler like this works only with GNU C and clang. */ #if (defined __i386__ || defined __x86_64__) && (defined __GNUC__ || defined __clang__) typedef unsigned short fpucw_t; /* glibc calls this fpu_control_t */ # define FPU_PC_MASK 0x0300 # define FPU_PC_DOUBLE 0x200 /* glibc calls this _FPU_DOUBLE */ # define FPU_PC_EXTENDED 0x300 /* glibc calls this _FPU_EXTENDED */ # define GET_FPUCW() __extension__ \ ({ fpucw_t _cw; \ __asm__ __volatile__ ("fnstcw %0" : "=m" (*&_cw)); \ _cw; \ }) # define SET_FPUCW(word) __extension__ \ (void)({ fpucw_t _ncw = (word); \ __asm__ __volatile__ ("fldcw %0" : : "m" (*&_ncw)); \ }) # define DECL_LONG_DOUBLE_ROUNDING \ fpucw_t oldcw; # define BEGIN_LONG_DOUBLE_ROUNDING() \ (void)(oldcw = GET_FPUCW (), \ SET_FPUCW ((oldcw & ~FPU_PC_MASK) | FPU_PC_EXTENDED)) # define END_LONG_DOUBLE_ROUNDING() \ SET_FPUCW (oldcw) #else typedef unsigned int fpucw_t; # define FPU_PC_MASK 0 # define FPU_PC_DOUBLE 0 # define FPU_PC_EXTENDED 0 # define GET_FPUCW() 0 # define SET_FPUCW(word) (void)(word) # define DECL_LONG_DOUBLE_ROUNDING # define BEGIN_LONG_DOUBLE_ROUNDING() # define END_LONG_DOUBLE_ROUNDING() #endif #ifdef __cplusplus } #endif #endif /* _FPUCW_H */ datamash-1.9/lib/fpurge.c0000644000000000000000000001213014767401140010777 /* Flushing buffers of a FILE stream. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if HAVE___FPURGE /* glibc >= 2.2, Haiku, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.10, Android API >= 23, musl libc */ # if HAVE_STDIO_EXT_H # include # endif #endif #include #include "stdio-impl.h" int fpurge (FILE *fp) { #if HAVE___FPURGE /* glibc >= 2.2, Haiku, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.10, Android API >= 23, musl libc */ __fpurge (fp); /* The __fpurge function does not have a return value. */ return 0; #elif HAVE_FPURGE /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin >= 1.7 */ /* Call the system's fpurge function. */ # undef fpurge # if !HAVE_DECL_FPURGE extern int fpurge (FILE *); # endif int result = fpurge (fp); # if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ if (result == 0) /* Correct the invariants that fpurge broke. on BSD systems says: "The following always hold: if _flags & __SRD, _w is 0." If this invariant is not fulfilled and the stream is read-write but currently reading, subsequent putc or fputc calls will write directly into the buffer, although they shouldn't be allowed to. */ if ((fp_->_flags & __SRD) != 0) fp_->_w = 0; # endif return result; #else /* Most systems provide FILE as a struct and the necessary bitmask in , because they need it for implementing getc() and putc() as fast macros. */ # if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ fp->_IO_read_end = fp->_IO_read_ptr; fp->_IO_write_ptr = fp->_IO_write_base; /* Avoid memory leak when there is an active ungetc buffer. */ if (fp->_IO_save_base != NULL) { free (fp->_IO_save_base); fp->_IO_save_base = NULL; } return 0; # elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ fp_->_p = fp_->_bf._base; fp_->_r = 0; fp_->_w = ((fp_->_flags & (__SLBF | __SNBF | __SRD)) == 0 /* fully buffered and not currently reading? */ ? fp_->_bf._size : 0); /* Avoid memory leak when there is an active ungetc buffer. */ if (fp_ub._base != NULL) { if (fp_ub._base != fp_->_ubuf) free (fp_ub._base); fp_ub._base = NULL; } return 0; # elif defined __EMX__ /* emx+gcc */ fp->_ptr = fp->_buffer; fp->_rcount = 0; fp->_wcount = 0; fp->_ungetc_count = 0; return 0; # elif defined __minix /* Minix */ fp->_ptr = fp->_buf; if (fp->_ptr != NULL) fp->_count = 0; return 0; # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ fp_->_ptr = fp_->_base; if (fp_->_ptr != NULL) fp_->_cnt = 0; return 0; # elif defined __UCLIBC__ /* uClibc */ # ifdef __STDIO_BUFFERS if (fp->__modeflags & __FLAG_WRITING) fp->__bufpos = fp->__bufstart; else if (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) fp->__bufpos = fp->__bufread; # endif return 0; # elif defined __QNX__ /* QNX */ fp->_Rback = fp->_Back + sizeof (fp->_Back); fp->_Rsave = NULL; if (fp->_Mode & 0x2000 /* _MWRITE */) /* fp->_Buf <= fp->_Next <= fp->_Wend */ fp->_Next = fp->_Buf; else /* fp->_Buf <= fp->_Next <= fp->_Rend */ fp->_Rend = fp->_Next; return 0; # elif defined __MINT__ /* Atari FreeMiNT */ if (fp->__pushed_back) { fp->__bufp = fp->__pushback_bufp; fp->__pushed_back = 0; } /* Preserve the current file position. */ if (fp->__target != -1) fp->__target += fp->__bufp - fp->__buffer; fp->__bufp = fp->__buffer; /* Nothing in the buffer, next getc is nontrivial. */ fp->__get_limit = fp->__bufp; /* Nothing in the buffer, next putc is nontrivial. */ fp->__put_limit = fp->__buffer; return 0; # elif defined EPLAN9 /* Plan9 */ fp->rp = fp->wp = fp->lp = fp->buf; return 0; # else # error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." # endif #endif } datamash-1.9/lib/freading.c0000644000000000000000000000616314767401140011277 /* Retrieve information about a FILE stream. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "freading.h" #include "stdio-impl.h" /* Don't use glibc's __freading function in glibc < 2.7, see */ #if !(HAVE___FREADING && (!defined __GLIBC__ || defined __UCLIBC__ || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 7))) bool freading (FILE *fp) { /* Most systems provide FILE as a struct and the necessary bitmask in , because they need it for implementing getc() and putc() as fast macros. */ # if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ return ((fp->_flags & _IO_NO_WRITES) != 0 || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0 && fp->_IO_read_base != NULL)); # elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin < 1.7.34, Minix 3, Android */ return (fp_->_flags & __SRD) != 0; # elif defined __EMX__ /* emx+gcc */ return (fp->_flags & _IOREAD) != 0; # elif defined __minix /* Minix */ return (fp->_flags & _IOREADING) != 0; # elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ # if defined __sun /* Solaris */ return (fp_->_flag & _IOREAD) != 0 && (fp_->_flag & _IOWRT) == 0; # else return (fp_->_flag & _IOREAD) != 0; # endif # elif defined __UCLIBC__ /* uClibc */ return (fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) != 0; # elif defined __QNX__ /* QNX */ return ((fp->_Mode & 0x2 /* _MOPENW */) == 0 || (fp->_Mode & 0x1000 /* _MREAD */) != 0); # elif defined __MINT__ /* Atari FreeMiNT */ if (!fp->__mode.__write) return 1; if (!fp->__mode.__read) return 0; # ifdef _IO_CURRENTLY_GETTING /* Flag added on 2009-02-28 */ return (fp->__flags & _IO_CURRENTLY_GETTING) != 0; # else return (fp->__buffer < fp->__get_limit /*|| fp->__bufp == fp->__put_limit ??*/); # endif # elif defined EPLAN9 /* Plan9 */ if (fp->state == 0 /* CLOSED */ || fp->state == 4 /* WR */) return 0; return (fp->state == 3 /* RD */ && (fp->bufl == 0 || fp->rp < fp->wp)); # else # error "Please port gnulib freading.c to your platform!" # endif } #endif datamash-1.9/lib/freading.h0000644000000000000000000000422214767401140011276 /* Retrieve information about a FILE stream. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file uses _GL_ATTRIBUTE_PURE, HAVE___FREADING, HAVE_STDIO_EXT_H. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include /* Return true if the stream STREAM is opened read-only, or if the last operation on the stream was a read operation. Return false if the stream is opened write-only or append-only, or if it supports writing and there is no current read operation (such as fgetc). freading and fwriting will never both be true. If STREAM supports both reads and writes, then: - both freading and fwriting might be false when the stream is first opened, after read encounters EOF, or after fflush, - freading might be false or true and fwriting might be false after repositioning (such as fseek, fsetpos, or rewind), depending on the underlying implementation. STREAM must not be wide-character oriented. */ #if HAVE___FREADING && (!defined __GLIBC__ || defined __UCLIBC__ || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 7)) /* Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.34, Android API >= 29, not glibc >= 2.2, but glibc >= 2.7, or musl libc */ # if HAVE_STDIO_EXT_H # include # endif # define freading(stream) (__freading (stream) != 0) #else # ifdef __cplusplus extern "C" { # endif extern bool freading (FILE *stream) _GL_ATTRIBUTE_PURE; # ifdef __cplusplus } # endif #endif datamash-1.9/lib/free.c0000644000000000000000000000277214767401140010443 /* Make free() preserve errno. Copyright (C) 2003, 2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Paul Eggert */ #include /* Specification. */ #include /* A function definition is only needed if HAVE_FREE_POSIX is not defined. */ #if !HAVE_FREE_POSIX # include void rpl_free (void *p) # undef free { # if defined __GNUC__ && !defined __clang__ /* An invalid GCC optimization would optimize away the assignments in the code below, when link-time optimization (LTO) is enabled. Make the code more complicated, so that GCC does not grok how to optimize it. */ int err[2]; err[0] = errno; err[1] = errno; errno = 0; free (p); errno = err[errno == 0]; # else int err = errno; free (p); errno = err; # endif } #endif datamash-1.9/lib/frexp.c0000644000000000000000000001040314767401140010634 /* Split a double into fraction and mantissa. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paolo Bonzini , 2003, and Bruno Haible , 2007. */ #if ! defined USE_LONG_DOUBLE # include #endif /* Specification. */ #include #include #ifdef USE_LONG_DOUBLE # include "isnanl-nolibm.h" # include "fpucw.h" #else # include "isnand-nolibm.h" #endif /* This file assumes FLT_RADIX = 2. If FLT_RADIX is a power of 2 greater than 2, or not even a power of 2, some rounding errors can occur, so that then the returned mantissa is only guaranteed to be <= 1.0, not < 1.0. */ #ifdef USE_LONG_DOUBLE # define FUNC frexpl # define DOUBLE long double # define ISNAN isnanl # define DECL_ROUNDING DECL_LONG_DOUBLE_ROUNDING # define BEGIN_ROUNDING() BEGIN_LONG_DOUBLE_ROUNDING () # define END_ROUNDING() END_LONG_DOUBLE_ROUNDING () # define L_(literal) literal##L #else # define FUNC frexp # define DOUBLE double # define ISNAN isnand # define DECL_ROUNDING # define BEGIN_ROUNDING() # define END_ROUNDING() # define L_(literal) literal #endif DOUBLE FUNC (DOUBLE x, int *expptr) { int sign; int exponent; DECL_ROUNDING /* Test for NaN, infinity, and zero. */ if (ISNAN (x) || x + x == x) { *expptr = 0; return x; } sign = 0; if (x < 0) { x = - x; sign = -1; } BEGIN_ROUNDING (); { /* Since the exponent is an 'int', it fits in 64 bits. Therefore the loops are executed no more than 64 times. */ DOUBLE pow2[64]; /* pow2[i] = 2^2^i */ DOUBLE powh[64]; /* powh[i] = 2^-2^i */ int i; exponent = 0; if (x >= L_(1.0)) { /* A positive exponent. */ DOUBLE pow2_i; /* = pow2[i] */ DOUBLE powh_i; /* = powh[i] */ /* Invariants: pow2_i = 2^2^i, powh_i = 2^-2^i, x * 2^exponent = argument, x >= 1.0. */ for (i = 0, pow2_i = L_(2.0), powh_i = L_(0.5); ; i++, pow2_i = pow2_i * pow2_i, powh_i = powh_i * powh_i) { if (x >= pow2_i) { exponent += (1 << i); x *= powh_i; } else break; pow2[i] = pow2_i; powh[i] = powh_i; } /* Avoid making x too small, as it could become a denormalized number and thus lose precision. */ while (i > 0 && x < pow2[i - 1]) { i--; powh_i = powh[i]; } exponent += (1 << i); x *= powh_i; /* Here 2^-2^i <= x < 1.0. */ } else { /* A negative or zero exponent. */ DOUBLE pow2_i; /* = pow2[i] */ DOUBLE powh_i; /* = powh[i] */ /* Invariants: pow2_i = 2^2^i, powh_i = 2^-2^i, x * 2^exponent = argument, x < 1.0. */ for (i = 0, pow2_i = L_(2.0), powh_i = L_(0.5); ; i++, pow2_i = pow2_i * pow2_i, powh_i = powh_i * powh_i) { if (x < powh_i) { exponent -= (1 << i); x *= pow2_i; } else break; pow2[i] = pow2_i; powh[i] = powh_i; } /* Here 2^-2^i <= x < 1.0. */ } /* Invariants: x * 2^exponent = argument, and 2^-2^i <= x < 1.0. */ while (i > 0) { i--; if (x < powh[i]) { exponent -= (1 << i); x *= pow2[i]; } } /* Here 0.5 <= x < 1.0. */ } if (sign < 0) x = - x; END_ROUNDING (); *expptr = exponent; return x; } datamash-1.9/lib/frexpl.c0000644000000000000000000000200014767401140011002 /* Split a 'long double' into fraction and mantissa. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Specification. */ # include long double frexpl (long double x, int *expptr) { return frexp (x, expptr); } #else # define USE_LONG_DOUBLE # include "frexp.c" #endif datamash-1.9/lib/fseek.c0000644000000000000000000000205714767401140010613 /* An fseek() function that, together with fflush(), is POSIX compliant. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Get off_t. */ #include int fseek (FILE *fp, long offset, int whence) { /* Use the replacement fseeko function with all its workarounds. */ return fseeko (fp, (off_t)offset, whence); } datamash-1.9/lib/fseeko.c0000644000000000000000000001406014767401140010767 /* An fseeko() function that, together with fflush(), is POSIX compliant. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Get off_t, lseek, _POSIX_VERSION. */ #include #include "stdio-impl.h" int fseeko (FILE *fp, off_t offset, int whence) #undef fseeko #if !HAVE_FSEEKO # undef fseek # define fseeko fseek #endif #if _GL_WINDOWS_64_BIT_OFF_T # undef fseeko # if HAVE__FSEEKI64 && HAVE_DECL__FSEEKI64 /* msvc, mingw since msvcrt8.0, mingw64 */ # define fseeko _fseeki64 # else /* mingw before msvcrt8.0 */ # define fseeko fseeko64 # endif #endif { #if LSEEK_PIPE_BROKEN /* mingw gives bogus answers rather than failure on non-seekable files. */ if (lseek (fileno (fp), 0, SEEK_CUR) == -1) return EOF; #endif /* These tests are based on fpurge.c. */ #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ if (fp->_IO_read_end == fp->_IO_read_ptr && fp->_IO_write_ptr == fp->_IO_write_base && fp->_IO_save_base == NULL) #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __SL64 && defined __SCLE /* Cygwin */ if ((fp->_flags & __SL64) == 0) { /* Cygwin 1.5.0 through 1.5.24 failed to open stdin in 64-bit mode; but has an fseeko that requires 64-bit mode. */ FILE *tmp = fopen ("/dev/null", "r"); if (!tmp) return -1; fp->_flags |= __SL64; fp->_seek64 = tmp->_seek64; fclose (tmp); } # endif if (fp_->_p == fp_->_bf._base && fp_->_r == 0 && fp_->_w == ((fp_->_flags & (__SLBF | __SNBF | __SRD)) == 0 /* fully buffered and not currently reading? */ ? fp_->_bf._size : 0) && fp_ub._base == NULL) #elif defined __EMX__ /* emx+gcc */ if (fp->_ptr == fp->_buffer && fp->_rcount == 0 && fp->_wcount == 0 && fp->_ungetc_count == 0) #elif defined __minix /* Minix */ if (fp_->_ptr == fp_->_buf && (fp_->_ptr == NULL || fp_->_count == 0)) #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ if (fp_->_ptr == fp_->_base && (fp_->_ptr == NULL || fp_->_cnt == 0)) #elif defined __UCLIBC__ /* uClibc */ if (((fp->__modeflags & __FLAG_WRITING) == 0 || fp->__bufpos == fp->__bufstart) && ((fp->__modeflags & (__FLAG_READONLY | __FLAG_READING)) == 0 || fp->__bufpos == fp->__bufread)) #elif defined __QNX__ /* QNX */ if ((fp->_Mode & 0x2000 /* _MWRITE */ ? fp->_Next == fp->_Buf : fp->_Next == fp->_Rend) && fp->_Rback == fp->_Back + sizeof (fp->_Back) && fp->_Rsave == NULL) #elif defined __MINT__ /* Atari FreeMiNT */ if (fp->__bufp == fp->__buffer && fp->__get_limit == fp->__bufp && fp->__put_limit == fp->__bufp && !fp->__pushed_back) #elif defined EPLAN9 /* Plan9 */ if (fp->rp == fp->buf && fp->wp == fp->buf) #elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION /* Cross-compiling to some other system advertising conformance to POSIX.1-2008 or later. Assume fseeko and fflush work as advertised. If this assumption is incorrect, please report the bug to bug-gnulib. */ if (0) #else #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." #endif { /* We get here when an fflush() call immediately preceded this one (or if ftell() has created buffers but no I/O has occurred on a newly-opened stream). We know there are no buffers. */ off_t pos = lseek (fileno (fp), offset, whence); if (pos == -1) { #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ fp_->_flags &= ~__SOFF; #endif return -1; } #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ fp->_flags &= ~_IO_EOF_SEEN; fp->_offset = pos; #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000) || defined __minix /* fp_->_offset is typed as an integer. */ fp_->_offset = pos; # else /* fp_->_offset is an fpos_t. */ { /* Use a union, since on NetBSD, the compilation flags determine whether fpos_t is typedef'd to off_t or a struct containing a single off_t member. */ union { fpos_t f; off_t o; } u; u.o = pos; fp_->_offset = u.f; } # endif fp_->_flags |= __SOFF; fp_->_flags &= ~__SEOF; #elif defined __EMX__ /* emx+gcc */ fp->_flags &= ~_IOEOF; #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, UnixWare, mingw, MSVC, NonStop Kernel, OpenVMS */ fp_->_flag &= ~_IOEOF; #elif defined __MINT__ /* Atari FreeMiNT */ fp->__offset = pos; fp->__eof = 0; #endif return 0; } return fseeko (fp, offset, whence); } datamash-1.9/lib/fstat.c0000644000000000000000000000515314767401140010637 /* fstat() replacement. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_fstat doesn't recurse to rpl_fstat. */ #define __need_system_sys_stat_h #include /* Get the original definition of fstat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #if !defined WINDOWS_NATIVE static int orig_fstat (int fd, struct stat *buf) { return fstat (fd, buf); } #endif /* Specification. */ #ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" #else # include #endif #include "stat-time.h" #include #include #ifdef WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif # include "stat-w32.h" #endif int rpl_fstat (int fd, struct stat *buf) { #if REPLACE_FCHDIR && REPLACE_OPEN_DIRECTORY /* Handle the case when rpl_open() used a dummy file descriptor to work around an open() that can't normally visit directories. */ const char *name = _gl_directory_name (fd); if (name != NULL) return stat (name, buf); #endif #ifdef WINDOWS_NATIVE /* Fill the fields ourselves, because the original fstat function returns values for st_atime, st_mtime, st_ctime that depend on the current time zone. See */ HANDLE h = (HANDLE) _get_osfhandle (fd); if (h == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } return _gl_fstat_by_handle (h, NULL, buf); #else return stat_time_normalize (orig_fstat (fd, buf), buf); #endif } datamash-1.9/lib/ftell.c0000644000000000000000000000217714767401140010627 /* An ftell() function that works around platform bugs. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include long ftell (FILE *fp) { /* Use the replacement ftello function with all its workarounds. */ off_t offset = ftello (fp); if (LONG_MIN <= offset && offset <= LONG_MAX) return /* (long) */ offset; else { errno = EOVERFLOW; return -1; } } datamash-1.9/lib/ftello.c0000644000000000000000000001042214767401140010776 /* An ftello() function that works around platform bugs. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include /* Get lseek. */ #include #include "stdio-impl.h" off_t ftello (FILE *fp) #undef ftello #if !HAVE_FTELLO # undef ftell # define ftello ftell #endif #if (defined _WIN32 && !defined __CYGWIN__) \ /* We need to test _FILE_OFFSET_BITS for mingw-w64 */ \ /* and _GL_WINDOWS_64_BIT_OFF_T for MSVC. */ \ && (_FILE_OFFSET_BITS == 64 || _GL_WINDOWS_64_BIT_OFF_T) # undef ftello # if HAVE__FTELLI64 /* msvc, mingw64 */ # define ftello _ftelli64 # else /* mingw */ # define ftello ftello64 # endif #endif { #if FTELLO_BROKEN_AFTER_UNGETC /* macOS >= 10.15 */ /* The system's ftello() is completely broken, because it calls __sflush, which makes side effects on the stream. */ /* Handle non-seekable files first. */ if (fp->_file < 0 || fp->_seek == NULL) { errno = ESPIPE; return -1; } /* Determine the current offset, ignoring buffered and pushed-back bytes. */ off_t pos; if (fp->_flags & __SOFF) pos = fp->_offset; else { pos = fp->_seek (fp->_cookie, 0, SEEK_CUR); if (pos < 0) return -1; if (fp->_flags & __SOPT) { fp->_offset = pos; fp->_flags |= __SOFF; } } if (fp->_flags & __SRD) { /* Now consider buffered and pushed-back bytes from ungetc. */ if (fp->_ub._base != NULL) /* Considering the buffered bytes, we are at position pos - fp->_ur. Considering also the pushed-back bytes, we are at position pos - fp->_ur - fp->_r. */ pos = pos - fp->_ur - fp->_r; else /* Considering the buffered bytes, we are at position pos - fp->_r. */ pos = pos - fp->_r; if (pos < 0) { errno = EIO; return -1; } } else if ((fp->_flags & __SWR) && fp->_p != NULL) { /* Consider the buffered bytes. */ off_t buffered = fp->_p - fp->_bf._base; /* Compute pos + buffered, with overflow check. */ off_t sum; if (ckd_add (&sum, pos, buffered)) { errno = EOVERFLOW; return -1; } pos = sum; } return pos; #else # if LSEEK_PIPE_BROKEN /* mingw gives bogus answers rather than failure on non-seekable files. */ if (lseek (fileno (fp), 0, SEEK_CUR) == -1) return -1; # endif # if FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE /* Solaris */ /* The Solaris stdio leaves the _IOREAD flag set after reading from a file reaches EOF and the program then starts writing to the file. ftello gets confused by this. */ if (fp_->_flag & _IOWRT) { off_t pos; /* Call ftello nevertheless, for the side effects that it does on fp. */ ftello (fp); /* Compute the file position ourselves. */ pos = lseek (fileno (fp), (off_t) 0, SEEK_CUR); if (pos >= 0) { if ((fp_->_flag & _IONBF) == 0 && fp_->_base != NULL) pos += fp_->_ptr - fp_->_base; } return pos; } # endif # if defined __SL64 && defined __SCLE /* Cygwin */ if ((fp->_flags & __SL64) == 0) { /* Cygwin 1.5.0 through 1.5.24 failed to open stdin in 64-bit mode; but has an ftello that requires 64-bit mode. */ FILE *tmp = fopen ("/dev/null", "r"); if (!tmp) return -1; fp->_flags |= __SL64; fp->_seek64 = tmp->_seek64; fclose (tmp); } # endif return ftello (fp); #endif } datamash-1.9/lib/getdtablesize.c0000644000000000000000000000656514767401140012354 /* getdtablesize() function: Return maximum possible file descriptor value + 1. Copyright (C) 2008-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ # include # if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER static int _setmaxstdio_nothrow (int newmax) { int result; TRY_MSVC_INVAL { result = _setmaxstdio (newmax); } CATCH_MSVC_INVAL { result = -1; } DONE_MSVC_INVAL; return result; } # else # define _setmaxstdio_nothrow _setmaxstdio # endif /* Cache for the previous getdtablesize () result. Safe to cache because Windows also lacks setrlimit. */ static int dtablesize; int getdtablesize (void) { if (dtablesize == 0) { /* We are looking for the number N such that the valid file descriptors are 0..N-1. It can be obtained through a loop as follows: { int fd; for (fd = 3; fd < 65536; fd++) if (dup2 (0, fd) == -1) break; return fd; } On Windows XP, the result is 2048. The drawback of this loop is that it allocates memory for a libc internal array that is never freed. The number N can also be obtained as the upper bound for _getmaxstdio (). _getmaxstdio () returns the maximum number of open FILE objects. The sanity check in _setmaxstdio reveals the maximum number of file descriptors. This too allocates memory, but it is freed when we call _setmaxstdio with the original value. */ int orig_max_stdio = _getmaxstdio (); unsigned int bound; for (bound = 0x10000; _setmaxstdio_nothrow (bound) < 0; bound = bound / 2) ; _setmaxstdio_nothrow (orig_max_stdio); dtablesize = bound; } return dtablesize; } #else # include # include # ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY # endif # ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY # endif # ifdef __CYGWIN__ /* Cygwin 1.7.25 auto-increases the RLIMIT_NOFILE soft limit until it hits the compile-time constant hard limit of 3200. We might as well just report the hard limit. */ # define rlim_cur rlim_max # endif int getdtablesize (void) { struct rlimit lim; if (getrlimit (RLIMIT_NOFILE, &lim) == 0 && 0 <= lim.rlim_cur && lim.rlim_cur <= INT_MAX && lim.rlim_cur != RLIM_INFINITY && lim.rlim_cur != RLIM_SAVED_CUR && lim.rlim_cur != RLIM_SAVED_MAX) return lim.rlim_cur; return INT_MAX; } #endif datamash-1.9/lib/getlocalename_l-unsafe.c0000644000000000000000000005152314771573665014133 /* Return name of a single locale category. Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "getlocalename_l-unsafe.h" #include #include #include #include #include #if LC_MESSAGES == 1729 || defined __ANDROID__ # include "setlocale-fixes.h" #endif #include "setlocale_null.h" #if (__GLIBC__ >= 2 && !defined __UCLIBC__) || (defined __linux__ && HAVE_LANGINFO_H) || defined __CYGWIN__ # include #endif #if defined __sun # if HAVE_SOLARIS114_LOCALES # include # endif #endif #if HAVE_NAMELESS_LOCALES # include "localename-table.h" #endif #if defined __HAIKU__ # include #endif #if LOCALENAME_ENHANCE_LOCALE_FUNCS # include "flexmember.h" # include "glthread/lock.h" # include "thread-optim.h" /* Define a local struniq() function. */ # include "struniq.h" /* The 'locale_t' object does not contain the names of the locale categories. We have to associate them with the object through a hash table. The hash table is defined in localename-table.[hc]. */ /* Returns the name of a given locale category in a given locale_t object. */ static struct string_with_storage get_locale_t_name_unsafe (int category, locale_t locale) { if (category == LC_ALL) /* Invalid argument. */ abort (); if (locale == LC_GLOBAL_LOCALE) { /* Query the global locale. */ const char *name = setlocale_null (category); if (name != NULL) return (struct string_with_storage) { name, STORAGE_GLOBAL }; else /* Should normally not happen. */ return (struct string_with_storage) { "", STORAGE_INDEFINITE }; } else { # if HAVE_AIX72_LOCALES if (category == LC_MESSAGES) { const char *name = ((__locale_t) locale)->locale_name; if (name != NULL) return (struct string_with_storage) { name, STORAGE_OBJECT }; } # endif /* Look up the names in the hash table. */ size_t hashcode = locale_hash_function (locale); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; /* If the locale was not found in the table, return "". This can happen if the application uses the original newlocale()/duplocale() functions instead of the overridden ones. */ const char *name = ""; struct locale_hash_node *p; /* Lock while looking up the hash node. */ gl_rwlock_rdlock (locale_lock); for (p = locale_hash_table[slot]; p != NULL; p = p->next) if (p->locale == locale) { name = p->names.category_name[category - LCMIN]; break; } gl_rwlock_unlock (locale_lock); return (struct string_with_storage) { name, STORAGE_INDEFINITE }; } } /* Returns the name of a given locale category in a given locale_t object, allocated as a string with indefinite extent. */ static const char * get_locale_t_name (int category, locale_t locale) { struct string_with_storage ret = get_locale_t_name_unsafe (category, locale); return (ret.storage != STORAGE_INDEFINITE ? struniq (ret.value) : ret.value); } # if !(defined newlocale && defined duplocale && defined freelocale) # error "newlocale, duplocale, freelocale not being replaced as expected!" # endif /* newlocale() override. */ locale_t newlocale (int category_mask, const char *name, locale_t base) #undef newlocale { struct locale_categories_names names; struct locale_hash_node *node; locale_t result; /* Make sure name has indefinite extent. */ if (((LC_CTYPE_MASK | LC_NUMERIC_MASK | LC_TIME_MASK | LC_COLLATE_MASK | LC_MONETARY_MASK | LC_MESSAGES_MASK) & category_mask) != 0) name = struniq (name); /* Determine the category names of the result. */ if (((LC_CTYPE_MASK | LC_NUMERIC_MASK | LC_TIME_MASK | LC_COLLATE_MASK | LC_MONETARY_MASK | LC_MESSAGES_MASK) & ~category_mask) == 0) { /* Use name, ignore base. */ int i; name = struniq (name); for (i = 0; i < 6; i++) names.category_name[i] = name; } else { /* Use base, possibly also name. */ if (base == NULL) { int i; for (i = 0; i < 6; i++) { int category = i + LCMIN; int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: abort (); } names.category_name[i] = ((mask & category_mask) != 0 ? name : "C"); } } else if (base == LC_GLOBAL_LOCALE) { int i; for (i = 0; i < 6; i++) { int category = i + LCMIN; int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: abort (); } names.category_name[i] = ((mask & category_mask) != 0 ? name : get_locale_t_name (category, LC_GLOBAL_LOCALE)); } } else { /* Look up the names of base in the hash table. Like multiple calls of get_locale_t_name, but locking only once. */ struct locale_hash_node *p; /* Lock while looking up the hash node. */ gl_rwlock_rdlock (locale_lock); for (p = locale_hash_table[locale_hash_function (base) % LOCALE_HASH_TABLE_SIZE]; p != NULL; p = p->next) if (p->locale == base) break; int i; for (i = 0; i < 6; i++) { int category = i + LCMIN; int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: abort (); } names.category_name[i] = ((mask & category_mask) != 0 ? name : (p != NULL ? p->names.category_name[i] : "")); } gl_rwlock_unlock (locale_lock); } } node = (struct locale_hash_node *) malloc (sizeof (struct locale_hash_node)); if (node == NULL) /* errno is set to ENOMEM. */ return NULL; result = newlocale (category_mask, name, base); if (result == NULL) { free (node); return NULL; } /* Fill the hash node. */ node->locale = result; node->names = names; /* Insert it in the hash table. */ { size_t hashcode = locale_hash_function (result); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; struct locale_hash_node *p; /* Lock while inserting the new node. */ gl_rwlock_wrlock (locale_lock); for (p = locale_hash_table[slot]; p != NULL; p = p->next) if (p->locale == result) { /* This can happen if the application uses the original freelocale() function instead of the overridden one. */ p->names = node->names; break; } if (p == NULL) { node->next = locale_hash_table[slot]; locale_hash_table[slot] = node; } gl_rwlock_unlock (locale_lock); if (p != NULL) free (node); } return result; } /* duplocale() override. */ locale_t duplocale (locale_t locale) #undef duplocale { struct locale_hash_node *node; locale_t result; if (locale == NULL) /* Invalid argument. */ abort (); node = (struct locale_hash_node *) malloc (sizeof (struct locale_hash_node)); if (node == NULL) /* errno is set to ENOMEM. */ return NULL; result = duplocale (locale); if (result == NULL) { free (node); return NULL; } /* Fill the hash node. */ node->locale = result; if (locale == LC_GLOBAL_LOCALE) { int i; for (i = 0; i < 6; i++) { int category = i + LCMIN; node->names.category_name[i] = get_locale_t_name (category, LC_GLOBAL_LOCALE); } /* Lock before inserting the new node. */ gl_rwlock_wrlock (locale_lock); } else { struct locale_hash_node *p; /* Lock once, for the lookup and the insertion. */ gl_rwlock_wrlock (locale_lock); for (p = locale_hash_table[locale_hash_function (locale) % LOCALE_HASH_TABLE_SIZE]; p != NULL; p = p->next) if (p->locale == locale) break; if (p != NULL) node->names = p->names; else { /* This can happen if the application uses the original newlocale()/duplocale() functions instead of the overridden ones. */ int i; for (i = 0; i < 6; i++) node->names.category_name[i] = ""; } } /* Insert it in the hash table. */ { size_t hashcode = locale_hash_function (result); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; struct locale_hash_node *p; for (p = locale_hash_table[slot]; p != NULL; p = p->next) if (p->locale == result) { /* This can happen if the application uses the original freelocale() function instead of the overridden one. */ p->names = node->names; break; } if (p == NULL) { node->next = locale_hash_table[slot]; locale_hash_table[slot] = node; } gl_rwlock_unlock (locale_lock); if (p != NULL) free (node); } return result; } /* freelocale() override. */ void freelocale (locale_t locale) #undef freelocale { if (locale == NULL || locale == LC_GLOBAL_LOCALE) /* Invalid argument. */ abort (); { size_t hashcode = locale_hash_function (locale); size_t slot = hashcode % LOCALE_HASH_TABLE_SIZE; struct locale_hash_node *found; struct locale_hash_node **p; found = NULL; /* Lock while removing the hash node. */ gl_rwlock_wrlock (locale_lock); for (p = &locale_hash_table[slot]; *p != NULL; p = &(*p)->next) if ((*p)->locale == locale) { found = *p; *p = (*p)->next; break; } gl_rwlock_unlock (locale_lock); free (found); } freelocale (locale); } #endif struct string_with_storage getlocalename_l_unsafe (int category, locale_t locale) { if (category == LC_ALL) /* Unsupported in this simple implementation. */ abort (); if (locale != LC_GLOBAL_LOCALE) { #if GNULIB_defined_locale_t struct gl_locale_category_t *plc = &locale->category[gl_log2_lcmask_to_index (gl_log2_lc_mask (category))]; return (struct string_with_storage) { plc->name, STORAGE_OBJECT }; #elif __GLIBC__ >= 2 && !defined __UCLIBC__ /* Work around an incorrect definition of the _NL_LOCALE_NAME macro in glibc < 2.12. See . */ const char *name = nl_langinfo_l (_NL_ITEM ((category), _NL_ITEM_INDEX (-1)), locale); if (name[0] == '\0') /* Fallback code for glibc < 2.4, which did not implement nl_langinfo_l (_NL_LOCALE_NAME (category), locale). */ name = locale->__names[category]; return (struct string_with_storage) { name, STORAGE_OBJECT }; #elif defined __linux__ && HAVE_LANGINFO_H && defined NL_LOCALE_NAME /* musl libc */ const char *name = nl_langinfo_l (NL_LOCALE_NAME (category), locale); return (struct string_with_storage) { name, STORAGE_OBJECT }; #elif (defined __FreeBSD__ || defined __DragonFly__) || (defined __APPLE__ && defined __MACH__) /* FreeBSD >= 9.1, Mac OS X */ int mask; switch (category) { case LC_CTYPE: mask = LC_CTYPE_MASK; break; case LC_NUMERIC: mask = LC_NUMERIC_MASK; break; case LC_TIME: mask = LC_TIME_MASK; break; case LC_COLLATE: mask = LC_COLLATE_MASK; break; case LC_MONETARY: mask = LC_MONETARY_MASK; break; case LC_MESSAGES: mask = LC_MESSAGES_MASK; break; default: /* We shouldn't get here. */ return (struct string_with_storage) { "", STORAGE_INDEFINITE }; } const char *name = querylocale (mask, locale); return (struct string_with_storage) { name, STORAGE_OBJECT }; #elif defined __NetBSD__ /* NetBSD >= 7.0 */ #define _LOCALENAME_LEN_MAX 33 struct _locale { void *cache; char query[_LOCALENAME_LEN_MAX * 6]; const char *part_name[7]; }; const char *name = ((struct _locale *) locale)->part_name[category]; return (struct string_with_storage) { name, STORAGE_OBJECT }; #elif defined __sun # if HAVE_SOLARIS114_LOCALES /* Solaris >= 11.4. */ void *lcp = (*locale)->core.data->lcp; if (lcp != NULL) switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: { const char *name = ((const char * const *) lcp)[category]; return (struct string_with_storage) { name, STORAGE_OBJECT }; } default: /* We shouldn't get here. */ return (struct string_with_storage) { "", STORAGE_INDEFINITE }; } # else /* Solaris 11 OpenIndiana. For the internal structure of locale objects, see https://github.com/OpenIndiana/illumos-gate/blob/master/usr/src/lib/libc/port/locale/localeimpl.h */ switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: { const char *name = ((const char * const *) locale)[category]; return (struct string_with_storage) { name, STORAGE_OBJECT }; } default: /* We shouldn't get here. */ return (struct string_with_storage) { "", STORAGE_INDEFINITE }; } # endif #elif HAVE_NAMELESS_LOCALES /* OpenBSD >= 6.2, AIX >= 7.1 */ return get_locale_t_name_unsafe (category, locale); #elif defined __OpenBSD__ && HAVE_FAKE_LOCALES /* OpenBSD >= 6.2 has only fake locales. */ if (locale == (locale_t) 2) return (struct string_with_storage) { "C.UTF-8", STORAGE_INDEFINITE }; return (struct string_with_storage) { "C", STORAGE_INDEFINITE }; #elif defined __CYGWIN__ /* Cygwin >= 2.6. Cygwin <= 2.6.1 lacks NL_LOCALE_NAME, requiring peeking inside an opaque struct. */ # ifdef NL_LOCALE_NAME const char *name = nl_langinfo_l (NL_LOCALE_NAME (category), locale); # else /* FIXME: Remove when we can assume new-enough Cygwin. */ struct __locale_t { char categories[7][32]; }; const char *name = ((struct __locale_t *) locale)->categories[category]; # endif return (struct string_with_storage) { name, STORAGE_OBJECT }; #elif defined __HAIKU__ /* Since 2022, Haiku has per-thread locales. locale_t is 'void *', but in fact a 'LocaleBackendData *'. */ struct LocaleBackendData { int magic; void /*BPrivate::Libroot::LocaleBackend*/ *backend; void /*BPrivate::Libroot::LocaleDataBridge*/ *databridge; }; void *locale_backend = ((struct LocaleBackendData *) locale)->backend; if (locale_backend != NULL) { /* The only existing concrete subclass of BPrivate::Libroot::LocaleBackend is BPrivate::Libroot::ICULocaleBackend. Invoke the (non-virtual) method BPrivate::Libroot::ICULocaleBackend::_QueryLocale on it. This method is located in a separate shared library, libroot-addon-icu.so. */ static void * volatile querylocale_method /* = NULL */; static int volatile querylocale_found /* = 0 */; /* Attempt to open this shared library, the first time we get here. */ if (querylocale_found == 0) { void *handle = dlopen ("/boot/system/lib/libroot-addon-icu.so", 0); if (handle != NULL) { void *sym = dlsym (handle, "_ZN8BPrivate7Libroot16ICULocaleBackend12_QueryLocaleEi"); if (sym != NULL) { querylocale_method = sym; querylocale_found = 1; } else /* Could not find the symbol. */ querylocale_found = -1; } else /* Could not open the separate shared library. */ querylocale_found = -1; } if (querylocale_found > 0) { /* The _QueryLocale method is a non-static C++ method with parameters (int category) and return type 'const char *'. See haiku/headers/private/libroot/locale/ICULocaleBackend.h haiku/src/system/libroot/add-ons/icu/ICULocaleBackend.cpp This is the same as a C function with parameters (BPrivate::Libroot::LocaleBackend* this, int category) and return type 'const char *'. Invoke it. */ const char * (*querylocale_func) (void *, int) = (const char * (*) (void *, int)) querylocale_method; const char *name = querylocale_func (locale_backend, category); return (struct string_with_storage) { name, STORAGE_OBJECT }; } } else /* It's the "C" or "POSIX" locale. */ return (struct string_with_storage) { "C", STORAGE_INDEFINITE }; #elif defined __ANDROID__ /* Android API level >= 21 */ struct __locale_t { size_t mb_cur_max; }; const char *name = ((struct __locale_t *) locale)->mb_cur_max == 4 ? "C.UTF-8" : "C"; return (struct string_with_storage) { name, STORAGE_INDEFINITE }; #else #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." #endif } else { /* Query the global locale. */ const char *name; #if LC_MESSAGES == 1729 if (category == LC_MESSAGES) name = setlocale_messages_null (); else #endif #if defined __ANDROID__ name = setlocale_fixed_null (category); #else name = setlocale_null (category); #endif if (name != NULL) return (struct string_with_storage) { name, STORAGE_GLOBAL }; else /* Should normally not happen. */ return (struct string_with_storage) { "", STORAGE_INDEFINITE }; } } datamash-1.9/lib/getlocalename_l-unsafe.h0000644000000000000000000000406314767402206014120 /* Return name of a single locale category. Copyright (C) 2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2025. */ #ifndef _GETLOCALENAME_L_UNSAFE_H #define _GETLOCALENAME_L_UNSAFE_H #include #include "arg-nonnull.h" #ifdef __cplusplus extern "C" { #endif /* This enumeration describes the storage of the return value. */ enum storage { /* Storage with indefinite extent. */ STORAGE_INDEFINITE, /* Storage in a thread-independent location, valid until the next setlocale() call. */ STORAGE_GLOBAL, /* Storage in a thread-local buffer, valid until the next getlocalename_l_unlocked() call in the same thread. */ STORAGE_THREAD, /* Storage in or attached to the locale_t object, valid until the next call to newlocale() with that object as base or until the next freelocale() call for that object. */ STORAGE_OBJECT }; /* Return type of getlocalename_l_unlocked. */ struct string_with_storage { const char *value; enum storage storage; }; /* Returns the name of the locale category CATEGORY in the given LOCALE object or, if LOCALE is LC_GLOBAL_LOCALE, in the global locale. CATEGORY must be != LC_ALL. */ extern struct string_with_storage getlocalename_l_unsafe (int category, locale_t locale) _GL_ARG_NONNULL ((2)); #ifdef __cplusplus } #endif #endif /* _GETLOCALENAME_L_UNSAFE_H */ datamash-1.9/lib/getopt-cdefs.in.h0000644000000000000000000000444314767401140012515 /* getopt-on-non-glibc compatibility macros. Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GETOPT_CDEFS_H #define _GETOPT_CDEFS_H 1 /* This header should not be used directly; include getopt.h or unistd.h instead. It does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ /* getopt-core.h and getopt-ext.h are shared with GNU libc, and expect a number of the internal macros supplied to GNU libc's headers by sys/cdefs.h. Provide fallback definitions for all of them. */ #if @HAVE_SYS_CDEFS_H@ # include #endif #ifndef __BEGIN_DECLS # ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # else # define __BEGIN_DECLS /* nothing */ # endif #endif #ifndef __END_DECLS # ifdef __cplusplus # define __END_DECLS } # else # define __END_DECLS /* nothing */ # endif #endif #if defined __clang__ /* clang really only groks GNU C 4.2, regardless of its value of __GNUC__. */ # undef __GNUC_PREREQ # define __GNUC_PREREQ(maj, min) ((maj) < 4 + ((min) <= 2)) #endif #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__)) # else # define __GNUC_PREREQ(maj, min) 0 # endif #endif #ifndef __THROW # if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major__ >= 4) # if __cplusplus >= 201103L # define __THROW noexcept (true) # else # define __THROW throw () # endif # else # define __THROW # endif #endif #endif /* _GETOPT_CDEFS_H */ datamash-1.9/lib/getopt-core.h0000644000000000000000000000713214767401140011752 /* Declarations for getopt (basic, portable features only). Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _GETOPT_CORE_H #define _GETOPT_CORE_H 1 /* This header should not be used directly; include getopt.h or unistd.h instead. Unlike most bits headers, it does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ __BEGIN_DECLS /* For communication from 'getopt' to the caller. When 'getopt' finds an option that takes an argument, the argument value is returned here. Also, when 'ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ extern char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to 'getopt'. On entry to 'getopt', zero means this is the first call; initialize. When 'getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, 'optind' communicates from one call to the next how much of ARGV has been scanned so far. */ extern int optind; /* Callers store zero here to inhibit the error message 'getopt' prints for unrecognized options. */ extern int opterr; /* Set to an option character which was unrecognized. */ extern int optopt; /* Get definitions and prototypes for functions to process the arguments in ARGV (ARGC of them, minus the program name) for options given in OPTS. Return the option character from OPTS just read. Return -1 when there are no more options. For unrecognized options, or options missing arguments, 'optopt' is set to the option letter, and '?' is returned. The OPTS string is a list of characters which are recognized option letters, optionally followed by colons, specifying that that letter takes an argument, to be placed in 'optarg'. If a letter in OPTS is followed by two colons, its argument is optional. This behavior is specific to the GNU 'getopt'. The argument '--' causes premature termination of argument scanning, explicitly telling 'getopt' that there are no more options. If OPTS begins with '-', then non-option arguments are treated as arguments to the option '\1'. This behavior is specific to the GNU 'getopt'. If OPTS begins with '+', or POSIXLY_CORRECT is set in the environment, then do not permute arguments. For standards compliance, the 'argv' argument has the type char *const *, but this is inaccurate; if argument permutation is enabled, the argv array (not the strings it points to) must be writable. */ extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __THROW _GL_ARG_NONNULL ((2, 3)); __END_DECLS #endif /* _GETOPT_CORE_H */ datamash-1.9/lib/getopt-ext.h0000644000000000000000000000575314767401140011631 /* Declarations for getopt (GNU extensions). Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _GETOPT_EXT_H #define _GETOPT_EXT_H 1 /* This header should not be used directly; include getopt.h instead. Unlike most bits headers, it does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ __BEGIN_DECLS /* Describe the long-named options requested by the application. The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector of 'struct option' terminated by an element containing a name which is zero. The field 'has_arg' is: no_argument (or 0) if the option does not take an argument, required_argument (or 1) if the option requires an argument, optional_argument (or 2) if the option takes an optional argument. If the field 'flag' is not NULL, it points to a variable that is set to the value given in the field 'val' when the option is found, but left unchanged if the option is not found. To have a long-named option do something other than set an 'int' to a compiled-in constant, such as set a value from 'optarg', set the option's 'flag' field to zero and its 'val' field to a nonzero value (the equivalent single-letter option character, if there is one). For long options that have a zero 'flag' field, 'getopt' returns the contents of the 'val' field. */ struct option { const char *name; /* has_arg can't be an enum because some compilers complain about type mismatches in all the code that assumes it is an int. */ int has_arg; int *flag; int val; }; /* Names for the values of the 'has_arg' field of 'struct option'. */ #define no_argument 0 #define required_argument 1 #define optional_argument 2 extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW _GL_ARG_NONNULL ((2, 3)); extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind) __THROW _GL_ARG_NONNULL ((2, 3)); __END_DECLS #endif /* _GETOPT_EXT_H */ datamash-1.9/lib/getopt-pfx-core.h0000644000000000000000000000573214767401140012551 /* getopt (basic, portable features) gnulib wrapper header. Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GETOPT_PFX_CORE_H #define _GETOPT_PFX_CORE_H 1 /* This header should not be used directly; include getopt.h or unistd.h instead. It does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ /* Standalone applications should #define __GETOPT_PREFIX to an identifier that prefixes the external functions and variables defined in getopt-core.h and getopt-ext.h. Systematically rename identifiers so that they do not collide with the system functions and variables. Renaming avoids problems with some compilers and linkers. */ #ifdef __GETOPT_PREFIX /* Include platform-dependent header files that may declare getopt() and friends. */ # if defined _AIX || defined __hpux || defined __sun || defined __QNX__ # include # endif # if defined MUSL_LIBC || (defined __FreeBSD__ || defined __DragonFly__) || defined __NetBSD__ || defined __OpenBSD__ || (defined __APPLE__ && defined __MACH__) || defined _AIX || defined __sun || defined __minix || defined __HAIKU__ # include # endif # ifndef __GETOPT_ID # define __GETOPT_CONCAT(x, y) x ## y # define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) # define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) # endif # undef getopt # undef optarg # undef opterr # undef optind # undef optopt # define getopt __GETOPT_ID (getopt) # define optarg __GETOPT_ID (optarg) # define opterr __GETOPT_ID (opterr) # define optind __GETOPT_ID (optind) # define optopt __GETOPT_ID (optopt) /* Work around a problem on macOS, which declares getopt with a trailing __DARWIN_ALIAS(getopt) that would expand to something like __asm("_" "rpl_getopt" "$UNIX2003") were it not for the following hack to suppress the macOS declaration . */ # ifdef __APPLE__ # define _GETOPT # endif /* The system's getopt.h may have already included getopt-core.h to declare the unprefixed identifiers. Undef _GETOPT_CORE_H so that getopt-core.h declares them with prefixes. */ # undef _GETOPT_CORE_H #endif #include #endif /* _GETOPT_PFX_CORE_H */ datamash-1.9/lib/getopt-pfx-ext.h0000644000000000000000000000536514767401140012423 /* getopt (GNU extensions) gnulib wrapper header. Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GETOPT_PFX_EXT_H #define _GETOPT_PFX_EXT_H 1 /* This header should not be used directly; include getopt.h instead. It does not have a protective #error, because the guard macro for getopt.h in gnulib is not fixed. */ /* Standalone applications should #define __GETOPT_PREFIX to an identifier that prefixes the external functions and variables defined in getopt-core.h and getopt-ext.h. Systematically rename identifiers so that they do not collide with the system functions and variables. Renaming avoids problems with some compilers and linkers. */ #ifdef __GETOPT_PREFIX # ifndef __GETOPT_ID # define __GETOPT_CONCAT(x, y) x ## y # define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) # define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) # endif # undef getopt_long # undef getopt_long_only # undef option # undef _getopt_internal # define getopt_long __GETOPT_ID (getopt_long) # define getopt_long_only __GETOPT_ID (getopt_long_only) # define option __GETOPT_ID (option) # define _getopt_internal __GETOPT_ID (getopt_internal) /* The system's getopt.h may have already included getopt-ext.h to declare the unprefixed identifiers. Undef _GETOPT_EXT_H so that getopt-ext.h declares them with prefixes. */ # undef _GETOPT_EXT_H #endif /* Standalone applications get correct prototypes for getopt_long and getopt_long_only; they declare "char **argv". For backward compatibility with old applications, if __GETOPT_PREFIX is not defined, we supply GNU-libc-compatible, but incorrect, prototypes using "char *const *argv". (GNU libc is stuck with the incorrect prototypes, as they are baked into older versions of LSB.) */ #ifndef __getopt_argv_const # if defined __GETOPT_PREFIX # define __getopt_argv_const /* empty */ # else # define __getopt_argv_const const # endif #endif #include #endif /* _GETOPT_PFX_EXT_H */ datamash-1.9/lib/getopt.c0000644000000000000000000005744714767401140011035 /* Getopt for GNU. Copyright (C) 1987-2025 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _LIBC # include #endif #include #include #include #include #include #ifdef _LIBC /* When used as part of glibc, error printing must be done differently for standards compliance. getopt is not a cancellation point, so it must not call functions that are, and it is specified by an older standard than stdio locking, so it must not refer to functions in the "user namespace" related to stdio locking. Finally, it must use glibc's internal message translation so that the messages are looked up in the proper text domain. */ # include # define fprintf __fxprintf_nocancel # define flockfile(fp) _IO_flockfile (fp) # define funlockfile(fp) _IO_funlockfile (fp) #else # include "gettext.h" # define _(msgid) dgettext ("gnulib", msgid) /* When used standalone, flockfile and funlockfile might not be available. */ # if (!defined _POSIX_THREAD_SAFE_FUNCTIONS \ || (defined _WIN32 && ! defined __CYGWIN__)) # define flockfile(fp) /* nop */ # define funlockfile(fp) /* nop */ # endif /* When used standalone, do not attempt to use alloca. */ # define __libc_use_alloca(size) 0 # undef alloca # define alloca(size) (abort (), (void *)0) #endif /* This implementation of 'getopt' has three modes for handling options interspersed with non-option arguments. It can stop scanning for options at the first non-option argument encountered, as POSIX specifies. It can continue scanning for options after the first non-option argument, but permute 'argv' as it goes so that, after 'getopt' is done, all the options precede all the non-option arguments and 'optind' points to the first non-option argument. Or, it can report non-option arguments as if they were arguments to the option character '\x01'. The default behavior of 'getopt_long' is to permute the argument list. When this implementation is used standalone, the default behavior of 'getopt' is to stop at the first non-option argument, but when it is used as part of GNU libc it also permutes the argument list. In both cases, setting the environment variable POSIXLY_CORRECT to any value disables permutation. If the first character of the OPTSTRING argument to 'getopt' or 'getopt_long' is '+', both functions will stop at the first non-option argument. If it is '-', both functions will report non-option arguments as arguments to the option character '\x01'. */ #include "getopt_int.h" /* For communication from 'getopt' to the caller. When 'getopt' finds an option that takes an argument, the argument value is returned here. Also, when 'ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to 'getopt'. On entry to 'getopt', zero means this is the first call; initialize. When 'getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, 'optind' communicates from one call to the next how much of ARGV has been scanned so far. */ /* 1003.2 says this must be 1 before any call. */ int optind = 1; /* Callers store zero here to inhibit the error message for unrecognized options. */ int opterr = 1; /* Set to an option character which was unrecognized. This must be initialized on some systems to avoid linking in the system's own getopt implementation. */ int optopt = '?'; /* Keep a global copy of all internal members of getopt_data. */ static struct _getopt_data getopt_data; /* Exchange two adjacent subsequences of ARGV. One subsequence is elements [first_nonopt,last_nonopt) which contains all the non-options that have been skipped so far. The other is elements [last_nonopt,optind), which contains all the options processed since those non-options were skipped. 'first_nonopt' and 'last_nonopt' are relocated so that they describe the new indices of the non-options in ARGV after they are moved. */ static void exchange (char **argv, struct _getopt_data *d) { int bottom = d->__first_nonopt; int middle = d->__last_nonopt; int top = d->optind; char *tem; /* Exchange the shorter segment with the far end of the longer segment. That puts the shorter segment into the right place. It leaves the longer segment in the right place overall, but it consists of two parts that need to be swapped next. */ while (top > middle && middle > bottom) { if (top - middle > middle - bottom) { /* Bottom segment is the short one. */ int len = middle - bottom; int i; /* Swap it with the top part of the top segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[top - (middle - bottom) + i]; argv[top - (middle - bottom) + i] = tem; } /* Exclude the moved bottom segment from further swapping. */ top -= len; } else { /* Top segment is the short one. */ int len = top - middle; int i; /* Swap it with the bottom part of the bottom segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[middle + i]; argv[middle + i] = tem; } /* Exclude the moved top segment from further swapping. */ bottom += len; } } /* Update records for the slots the non-options now occupy. */ d->__first_nonopt += (d->optind - d->__last_nonopt); d->__last_nonopt = d->optind; } /* Process the argument starting with d->__nextchar as a long option. d->optind should *not* have been advanced over this argument. If the value returned is -1, it was not actually a long option, the state is unchanged, and the argument should be processed as a set of short options (this can only happen when long_only is true). Otherwise, the option (and its argument, if any) have been consumed and the return value is the value to return from _getopt_internal_r. */ static int process_long_option (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int print_errors, const char *prefix) { char *nameend; size_t namelen; const struct option *p; const struct option *pfound = NULL; int n_options; int option_index; for (nameend = d->__nextchar; *nameend && *nameend != '='; nameend++) /* Do nothing. */ ; namelen = nameend - d->__nextchar; /* First look for an exact match, counting the options as a side effect. */ for (p = longopts, n_options = 0; p->name; p++, n_options++) if (!strncmp (p->name, d->__nextchar, namelen) && namelen == strlen (p->name)) { /* Exact match found. */ pfound = p; option_index = n_options; break; } if (pfound == NULL) { /* Didn't find an exact match, so look for abbreviations. */ unsigned char *ambig_set = NULL; /* Use simpler fallback diagnostic if ambig_set == &ambig_fallback. */ unsigned char ambig_fallback; void *ambig_malloced = NULL; int indfound = -1; for (p = longopts, option_index = 0; p->name; p++, option_index++) if (!strncmp (p->name, d->__nextchar, namelen)) { if (pfound == NULL) { /* First nonexact match found. */ pfound = p; indfound = option_index; } else if (long_only || pfound->has_arg != p->has_arg || pfound->flag != p->flag || pfound->val != p->val) { /* Second or later nonexact match found. */ if (ambig_set != &ambig_fallback) { if (!print_errors) /* Don't waste effort tracking the ambig set if we're not going to print it anyway. */ ambig_set = &ambig_fallback; else if (!ambig_set) { if (__libc_use_alloca (n_options)) ambig_set = alloca (n_options); else { ambig_malloced = malloc (n_options); /* Fall back to simpler diagnostic if memory allocation fails. */ ambig_set = (ambig_malloced ? ambig_malloced : &ambig_fallback); } if (ambig_set != &ambig_fallback) { memset (ambig_set, 0, n_options); ambig_set[indfound] = 1; } } if (ambig_set && ambig_set != &ambig_fallback) ambig_set[option_index] = 1; } } } if (ambig_set) { if (print_errors) { if (ambig_set == &ambig_fallback) fprintf (stderr, _("%s: option '%s%s' is ambiguous\n"), argv[0], prefix, d->__nextchar); else { flockfile (stderr); fprintf (stderr, _("%s: option '%s%s' is ambiguous; possibilities:"), argv[0], prefix, d->__nextchar); for (option_index = 0; option_index < n_options; option_index++) if (ambig_set[option_index]) fprintf (stderr, " '%s%s'", prefix, longopts[option_index].name); /* This must use 'fprintf' even though it's only printing a single character, so that it goes through __fxprintf_nocancel when compiled as part of glibc. */ fprintf (stderr, "\n"); funlockfile (stderr); } } free (ambig_malloced); d->__nextchar += strlen (d->__nextchar); d->optind++; d->optopt = 0; return '?'; } option_index = indfound; } if (pfound == NULL) { /* Can't find it as a long option. If this is not getopt_long_only, or the option starts with '--' or is not a valid short option, then it's an error. */ if (!long_only || argv[d->optind][1] == '-' || strchr (optstring, *d->__nextchar) == NULL) { if (print_errors) fprintf (stderr, _("%s: unrecognized option '%s%s'\n"), argv[0], prefix, d->__nextchar); d->__nextchar = NULL; d->optind++; d->optopt = 0; return '?'; } /* Otherwise interpret it as a short option. */ return -1; } /* We have found a matching long option. Consume it. */ d->optind++; d->__nextchar = NULL; if (*nameend) { /* Don't test has_arg with >, because some C compilers don't allow it to be used on enums. */ if (pfound->has_arg) d->optarg = nameend + 1; else { if (print_errors) fprintf (stderr, _("%s: option '%s%s' doesn't allow an argument\n"), argv[0], prefix, pfound->name); d->optopt = pfound->val; return '?'; } } else if (pfound->has_arg == 1) { if (d->optind < argc) d->optarg = argv[d->optind++]; else { if (print_errors) fprintf (stderr, _("%s: option '%s%s' requires an argument\n"), argv[0], prefix, pfound->name); d->optopt = pfound->val; return optstring[0] == ':' ? ':' : '?'; } } if (longind != NULL) *longind = option_index; if (pfound->flag) { *(pfound->flag) = pfound->val; return 0; } return pfound->val; } /* Initialize internal data upon the first call to getopt. */ static const char * _getopt_initialize (_GL_UNUSED int argc, _GL_UNUSED char **argv, const char *optstring, struct _getopt_data *d, int posixly_correct) { /* Start processing options with ARGV-element 1 (since ARGV-element 0 is the program name); the sequence of previously skipped non-option ARGV-elements is empty. */ if (d->optind == 0) d->optind = 1; d->__first_nonopt = d->__last_nonopt = d->optind; d->__nextchar = NULL; /* Determine how to handle the ordering of options and nonoptions. */ if (optstring[0] == '-') { d->__ordering = RETURN_IN_ORDER; ++optstring; } else if (optstring[0] == '+') { d->__ordering = REQUIRE_ORDER; ++optstring; } else if (posixly_correct || !!getenv ("POSIXLY_CORRECT")) d->__ordering = REQUIRE_ORDER; else d->__ordering = PERMUTE; d->__initialized = 1; return optstring; } /* Scan elements of ARGV (whose length is ARGC) for option characters given in OPTSTRING. If an element of ARGV starts with '-', and is not exactly "-" or "--", then it is an option element. The characters of this element (aside from the initial '-') are option characters. If 'getopt' is called repeatedly, it returns successively each of the option characters from each of the option elements. If 'getopt' finds another option character, it returns that character, updating 'optind' and 'nextchar' so that the next call to 'getopt' can resume the scan with the following option character or ARGV-element. If there are no more option characters, 'getopt' returns -1. Then 'optind' is the index in ARGV of the first ARGV-element that is not an option. (The ARGV-elements have been permuted so that those that are not options now come last.) OPTSTRING is a string containing the legitimate option characters. If an option character is seen that is not listed in OPTSTRING, return '?' after printing an error message. If you set 'opterr' to zero, the error message is suppressed but we still return '?'. If a char in OPTSTRING is followed by a colon, that means it wants an arg, so the following text in the same ARGV-element, or the text of the following ARGV-element, is returned in 'optarg'. Two colons mean an option that wants an optional arg; if there is text in the current ARGV-element, it is returned in 'optarg', otherwise 'optarg' is set to zero. If OPTSTRING starts with '-' or '+', it requests different methods of handling the non-option ARGV-elements. See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. Long-named options begin with '--' instead of '-'. Their names may be abbreviated as long as the abbreviation is unique or is an exact match for some defined option. If they have an argument, it follows the option name in the same ARGV-element, separated from the option name by a '=', or else the in next ARGV-element. When 'getopt' finds a long-named option, it returns 0 if that option's 'flag' field is nonzero, the value of the option's 'val' field if the 'flag' field is zero. The elements of ARGV aren't really const, because we permute them. But we pretend they're const in the prototype to be compatible with other systems. LONGOPTS is a vector of 'struct option' terminated by an element containing a name which is zero. LONGIND returns the index in LONGOPT of the long-named option found. It is only valid when a long-named option has been found by the most recent call. If LONG_ONLY is nonzero, '-' as well as '--' can introduce long-named options. */ int _getopt_internal_r (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int posixly_correct) { int print_errors = d->opterr; if (argc < 1) return -1; d->optarg = NULL; if (d->optind == 0 || !d->__initialized) optstring = _getopt_initialize (argc, argv, optstring, d, posixly_correct); else if (optstring[0] == '-' || optstring[0] == '+') optstring++; if (optstring[0] == ':') print_errors = 0; /* Test whether ARGV[optind] points to a non-option argument. */ #define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') if (d->__nextchar == NULL || *d->__nextchar == '\0') { /* Advance to the next ARGV-element. */ /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been moved back by the user (who may also have changed the arguments). */ if (d->__last_nonopt > d->optind) d->__last_nonopt = d->optind; if (d->__first_nonopt > d->optind) d->__first_nonopt = d->optind; if (d->__ordering == PERMUTE) { /* If we have just processed some options following some non-options, exchange them so that the options come first. */ if (d->__first_nonopt != d->__last_nonopt && d->__last_nonopt != d->optind) exchange (argv, d); else if (d->__last_nonopt != d->optind) d->__first_nonopt = d->optind; /* Skip any additional non-options and extend the range of non-options previously skipped. */ while (d->optind < argc && NONOPTION_P) d->optind++; d->__last_nonopt = d->optind; } /* The special ARGV-element '--' means premature end of options. Skip it like a null option, then exchange with previous non-options as if it were an option, then skip everything else like a non-option. */ if (d->optind != argc && !strcmp (argv[d->optind], "--")) { d->optind++; if (d->__first_nonopt != d->__last_nonopt && d->__last_nonopt != d->optind) exchange (argv, d); else if (d->__first_nonopt == d->__last_nonopt) d->__first_nonopt = d->optind; d->__last_nonopt = argc; d->optind = argc; } /* If we have done all the ARGV-elements, stop the scan and back over any non-options that we skipped and permuted. */ if (d->optind == argc) { /* Set the next-arg-index to point at the non-options that we previously skipped, so the caller will digest them. */ if (d->__first_nonopt != d->__last_nonopt) d->optind = d->__first_nonopt; return -1; } /* If we have come to a non-option and did not permute it, either stop the scan or describe it to the caller and pass it by. */ if (NONOPTION_P) { if (d->__ordering == REQUIRE_ORDER) return -1; d->optarg = argv[d->optind++]; return 1; } /* We have found another option-ARGV-element. Check whether it might be a long option. */ if (longopts) { if (argv[d->optind][1] == '-') { /* "--foo" is always a long option. The special option "--" was handled above. */ d->__nextchar = argv[d->optind] + 2; return process_long_option (argc, argv, optstring, longopts, longind, long_only, d, print_errors, "--"); } /* If long_only and the ARGV-element has the form "-f", where f is a valid short option, don't consider it an abbreviated form of a long option that starts with f. Otherwise there would be no way to give the -f short option. On the other hand, if there's a long option "fubar" and the ARGV-element is "-fu", do consider that an abbreviation of the long option, just like "--fu", and not "-f" with arg "u". This distinction seems to be the most useful approach. */ if (long_only && (argv[d->optind][2] || !strchr (optstring, argv[d->optind][1]))) { int code; d->__nextchar = argv[d->optind] + 1; code = process_long_option (argc, argv, optstring, longopts, longind, long_only, d, print_errors, "-"); if (code != -1) return code; } } /* It is not a long option. Skip the initial punctuation. */ d->__nextchar = argv[d->optind] + 1; } /* Look at and handle the next short option-character. */ { char c = *d->__nextchar++; const char *temp = strchr (optstring, c); /* Increment 'optind' when we start to process its last character. */ if (*d->__nextchar == '\0') ++d->optind; if (temp == NULL || c == ':' || c == ';') { if (print_errors) fprintf (stderr, _("%s: invalid option -- '%c'\n"), argv[0], c); d->optopt = c; return '?'; } /* Convenience. Treat POSIX -W foo same as long option --foo */ if (temp[0] == 'W' && temp[1] == ';' && longopts != NULL) { /* This is an option that requires an argument. */ if (*d->__nextchar != '\0') d->optarg = d->__nextchar; else if (d->optind == argc) { if (print_errors) fprintf (stderr, _("%s: option requires an argument -- '%c'\n"), argv[0], c); d->optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; return c; } else d->optarg = argv[d->optind]; d->__nextchar = d->optarg; d->optarg = NULL; return process_long_option (argc, argv, optstring, longopts, longind, 0 /* long_only */, d, print_errors, "-W "); } if (temp[1] == ':') { if (temp[2] == ':') { /* This is an option that accepts an argument optionally. */ if (*d->__nextchar != '\0') { d->optarg = d->__nextchar; d->optind++; } else d->optarg = NULL; d->__nextchar = NULL; } else { /* This is an option that requires an argument. */ if (*d->__nextchar != '\0') { d->optarg = d->__nextchar; /* If we end this ARGV-element by taking the rest as an arg, we must advance to the next element now. */ d->optind++; } else if (d->optind == argc) { if (print_errors) fprintf (stderr, _("%s: option requires an argument -- '%c'\n"), argv[0], c); d->optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; } else /* We already incremented 'optind' once; increment it again when taking next ARGV-elt as argument. */ d->optarg = argv[d->optind++]; d->__nextchar = NULL; } } return c; } } int _getopt_internal (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) { int result; getopt_data.optind = optind; getopt_data.opterr = opterr; result = _getopt_internal_r (argc, argv, optstring, longopts, longind, long_only, &getopt_data, posixly_correct); optind = getopt_data.optind; optarg = getopt_data.optarg; optopt = getopt_data.optopt; return result; } /* glibc gets a LSB-compliant getopt and a POSIX-compliant __posix_getopt. Standalone applications just get a POSIX-compliant getopt. POSIX and LSB both require these functions to take 'char *const *argv' even though this is incorrect (because of the permutation). */ #define GETOPT_ENTRY(NAME, POSIXLY_CORRECT) \ int \ NAME (int argc, char *const *argv, const char *optstring) \ { \ return _getopt_internal (argc, (char **)argv, optstring, \ NULL, NULL, 0, POSIXLY_CORRECT); \ } #ifdef _LIBC GETOPT_ENTRY(getopt, 0) GETOPT_ENTRY(__posix_getopt, 1) #else GETOPT_ENTRY(getopt, 1) #endif #ifdef TEST /* Compile with -DTEST to make an executable for use in testing the above definition of 'getopt'. */ int main (int argc, char **argv) { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; c = getopt (argc, argv, "abc:d:0123456789"); if (c == -1) break; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value '%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ datamash-1.9/lib/getopt.in.h0000644000000000000000000000412114767401140011424 /* Declarations for getopt. Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of gnulib. Unlike most of the getopt implementation, it is NOT shared with the GNU C Library, which supplies a different version of this file. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_GETOPT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. We must also inform the replacement unistd.h to not recursively use ; our definitions will be present soon enough. */ #if @HAVE_GETOPT_H@ # define _GL_SYSTEM_GETOPT # @INCLUDE_NEXT@ @NEXT_GETOPT_H@ # undef _GL_SYSTEM_GETOPT #endif #define _@GUARD_PREFIX@_GETOPT_H 1 /* Standalone applications should #define __GETOPT_PREFIX to an identifier that prefixes the external functions and variables defined in getopt-core.h and getopt-ext.h. When this happens, include the headers that might declare getopt so that they will not cause confusion if included after this file (if the system had , we have already included it). */ #if defined __GETOPT_PREFIX # if !@HAVE_GETOPT_H@ # define __need_system_stdlib_h # include # undef __need_system_stdlib_h # include # include # endif #endif /* The definition of _GL_ARG_NONNULL is copied here. */ #include #include #include #endif /* _@GUARD_PREFIX@_GETOPT_H */ datamash-1.9/lib/getopt1.c0000644000000000000000000000736014767401140011103 /* getopt_long and getopt_long_only entry points for GNU getopt. Copyright (C) 1987-2025 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _LIBC # include #endif #include #include "getopt_int.h" int getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index) { return _getopt_internal (argc, (char **) argv, options, long_options, opt_index, 0, 0); } int _getopt_long_r (int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d) { return _getopt_internal_r (argc, argv, options, long_options, opt_index, 0, d, 0); } /* Like getopt_long, but '-' as well as '--' can indicate a long option. If an option that starts with '-' (not '--') doesn't match a long option, but does match a short option, it is parsed as a short option instead. */ int getopt_long_only (int argc, char *__getopt_argv_const *argv, const char *options, const struct option *long_options, int *opt_index) { return _getopt_internal (argc, (char **) argv, options, long_options, opt_index, 1, 0); } int _getopt_long_only_r (int argc, char **argv, const char *options, const struct option *long_options, int *opt_index, struct _getopt_data *d) { return _getopt_internal_r (argc, argv, options, long_options, opt_index, 1, d, 0); } #ifdef TEST #include #include int main (int argc, char **argv) { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; int option_index = 0; static const struct option long_options[] = { {"add", 1, 0, 0}, {"append", 0, 0, 0}, {"delete", 1, 0, 0}, {"verbose", 0, 0, 0}, {"create", 0, 0, 0}, {"file", 1, 0, 0}, {0, 0, 0, 0} }; c = getopt_long (argc, argv, "abc:d:0123456789", long_options, &option_index); if (c == -1) break; switch (c) { case 0: printf ("option %s", long_options[option_index].name); if (optarg) printf (" with arg %s", optarg); printf ("\n"); break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value '%s'\n", optarg); break; case 'd': printf ("option d with value '%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ datamash-1.9/lib/getopt_int.h0000644000000000000000000001011214767401140011666 /* Internal declarations for getopt. Copyright (C) 1989-2025 Free Software Foundation, Inc. This file is part of the GNU C Library and is also part of gnulib. Patches to this file should be submitted to both projects. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _GETOPT_INT_H #define _GETOPT_INT_H 1 #include extern int _getopt_internal (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, int __posixly_correct); /* Reentrant versions which can handle parsing multiple argument vectors at the same time. */ /* Describe how to deal with options that follow non-option ARGV-elements. REQUIRE_ORDER means don't recognize them as options; stop option processing when the first non-option is seen. This is what POSIX specifies should happen. PERMUTE means permute the contents of ARGV as we scan, so that eventually all the non-options are at the end. This allows options to be given in any order, even with programs that were not written to expect this. RETURN_IN_ORDER is an option available to programs that were written to expect options and other ARGV-elements in any order and that care about the ordering of the two. We describe each non-option ARGV-element as if it were the argument of an option with character code 1. The special argument '--' forces an end of option-scanning regardless of the value of 'ordering'. In the case of RETURN_IN_ORDER, only '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */ enum __ord { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER }; /* Data type for reentrant functions. */ struct _getopt_data { /* These have exactly the same meaning as the corresponding global variables, except that they are used for the reentrant versions of getopt. */ int optind; int opterr; int optopt; char *optarg; /* Internal members. */ /* True if the internal members have been initialized. */ int __initialized; /* The next char to be scanned in the option-element in which the last option character we returned was found. This allows us to pick up the scan where we left off. If this is zero, or a null string, it means resume the scan by advancing to the next ARGV-element. */ char *__nextchar; /* See __ord above. */ enum __ord __ordering; /* Handle permutation of arguments. */ /* Describe the part of ARGV that contains non-options that have been skipped. 'first_nonopt' is the index in ARGV of the first of them; 'last_nonopt' is the index after the last of them. */ int __first_nonopt; int __last_nonopt; }; /* The initializer is necessary to set OPTIND and OPTERR to their default values and to clear the initialization flag. */ #define _GETOPT_DATA_INITIALIZER { 1, 1 } extern int _getopt_internal_r (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, struct _getopt_data *__data, int __posixly_correct); extern int _getopt_long_r (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data); extern int _getopt_long_only_r (int ___argc, char **___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data); #endif /* getopt_int.h */ datamash-1.9/lib/getprogname.c0000644000000000000000000002361014767401140012024 /* Program name management. Copyright (C) 2016-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. Also get __argv declaration. */ #include #include /* get program_invocation_name declaration */ #ifdef _AIX # include # include # include #endif #ifdef __MVS__ # ifndef _OPEN_SYS # define _OPEN_SYS # endif # include # include #endif #ifdef __hpux # include # include # include # include #endif #if defined __sgi || defined __osf__ # include # include # include # include # include #endif #if defined __SCO_VERSION__ || defined __sysv5__ # include # include #endif #include "basename-lgpl.h" #ifndef HAVE_GETPROGNAME /* not Mac OS X, FreeBSD, NetBSD, OpenBSD >= 5.4, Solaris >= 11, Cygwin, Android API level >= 21 */ char const * getprogname (void) { # if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME /* glibc, BeOS */ /* https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html */ return program_invocation_short_name; # elif HAVE_DECL_PROGRAM_INVOCATION_NAME /* glibc, BeOS */ /* https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html */ return last_component (program_invocation_name); # elif HAVE_GETEXECNAME /* Solaris */ /* https://docs.oracle.com/cd/E19253-01/816-5168/6mbb3hrb1/index.html */ const char *p = getexecname (); if (!p) p = "?"; return last_component (p); # elif HAVE_DECL___ARGV /* mingw, MSVC */ /* https://docs.microsoft.com/en-us/cpp/c-runtime-library/argc-argv-wargv */ const char *p = __argv && __argv[0] ? __argv[0] : "?"; return last_component (p); # elif HAVE_VAR___PROGNAME /* OpenBSD, Android, QNX */ /* https://man.openbsd.org/style.9 */ /* http://www.qnx.de/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_lib_ref%2Fp%2F__progname.html */ /* Be careful to declare this only when we absolutely need it (OpenBSD 5.1), rather than when it's available. Otherwise, its mere declaration makes program_invocation_short_name malfunction (have zero length) with Fedora 25's glibc. */ extern char *__progname; const char *p = __progname; # if defined __ANDROID__ return last_component (p); # else return p && p[0] ? p : "?"; # endif # elif _AIX /* AIX */ /* Idea by Bastien ROUCARIÈS, https://lists.gnu.org/r/bug-gnulib/2010-12/msg00095.html Reference: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_61/com.ibm.aix.basetrf1/getprocs.htm */ static char *p; static int first = 1; if (first) { first = 0; pid_t pid = getpid (); struct procentry64 procs; p = (0 < getprocs64 (&procs, sizeof procs, NULL, 0, &pid, 1) ? strdup (procs.pi_comm) : NULL); if (!p) p = "?"; } return p; # elif defined __hpux static char *p; static int first = 1; if (first) { first = 0; pid_t pid = getpid (); struct pst_status status; if (pstat_getproc (&status, sizeof status, 0, pid) > 0) { char *ucomm = status.pst_ucomm; char *cmd = status.pst_cmd; if (strlen (ucomm) < PST_UCOMMLEN - 1) p = ucomm; else { /* ucomm is truncated to length PST_UCOMMLEN - 1. Look at cmd instead. */ char *space = strchr (cmd, ' '); if (space != NULL) *space = '\0'; p = strrchr (cmd, '/'); if (p != NULL) p++; else p = cmd; if (strlen (p) > PST_UCOMMLEN - 1 && memcmp (p, ucomm, PST_UCOMMLEN - 1) == 0) /* p is less truncated than ucomm. */ ; else p = ucomm; } p = strdup (p); } else { # if !defined __LP64__ /* Support for 32-bit programs running in 64-bit HP-UX. The documented way to do this is to use the same source code as above, but in a compilation unit where '#define _PSTAT64 1' is in effect. I prefer a single compilation unit; the struct size and the offsets are not going to change. */ char status64[1216]; if (__pstat_getproc64 (status64, sizeof status64, 0, pid) > 0) { char *ucomm = status64 + 288; char *cmd = status64 + 168; if (strlen (ucomm) < PST_UCOMMLEN - 1) p = ucomm; else { /* ucomm is truncated to length PST_UCOMMLEN - 1. Look at cmd instead. */ char *space = strchr (cmd, ' '); if (space != NULL) *space = '\0'; p = strrchr (cmd, '/'); if (p != NULL) p++; else p = cmd; if (strlen (p) > PST_UCOMMLEN - 1 && memcmp (p, ucomm, PST_UCOMMLEN - 1) == 0) /* p is less truncated than ucomm. */ ; else p = ucomm; } p = strdup (p); } else # endif p = NULL; } if (!p) p = "?"; } return p; # elif __MVS__ /* z/OS */ /* https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxbd00/rtwgetp.htm */ static char *p = "?"; static int first = 1; if (first) { pid_t pid = getpid (); int token; W_PSPROC buf; first = 0; memset (&buf, 0, sizeof(buf)); buf.ps_cmdptr = (char *) malloc (buf.ps_cmdlen = PS_CMDBLEN_LONG); buf.ps_conttyptr = (char *) malloc (buf.ps_conttylen = PS_CONTTYBLEN); buf.ps_pathptr = (char *) malloc (buf.ps_pathlen = PS_PATHBLEN); if (buf.ps_cmdptr && buf.ps_conttyptr && buf.ps_pathptr) { for (token = 0; token >= 0; token = w_getpsent (token, &buf, sizeof(buf))) { if (token > 0 && buf.ps_pid == pid) { char *s = strdup (last_component (buf.ps_pathptr)); if (s) { # if defined __XPLINK__ && __CHARSET_LIB == 1 /* The compiler option -qascii is in use. https://makingdeveloperslivesbetter.wordpress.com/2022/01/07/is-z-os-ascii-or-ebcdic-yes/ https://www.ibm.com/docs/en/zos/2.5.0?topic=features-macros-related-compiler-option-settings So, convert the result from EBCDIC to ASCII. https://www.ibm.com/docs/en/zos/2.5.0?topic=functions-e2a-s-convert-string-from-ebcdic-ascii */ if (__e2a_s (s) == (size_t)-1) free (s); else # endif p = s; } break; } } } free (buf.ps_cmdptr); free (buf.ps_conttyptr); free (buf.ps_pathptr); } return p; # elif defined __sgi || defined __osf__ /* IRIX or Tru64 */ char filename[50]; int fd; # if defined __sgi sprintf (filename, "/proc/pinfo/%d", (int) getpid ()); # else sprintf (filename, "/proc/%d", (int) getpid ()); # endif fd = open (filename, O_RDONLY | O_CLOEXEC); if (0 <= fd) { prpsinfo_t buf; int ioctl_ok = 0 <= ioctl (fd, PIOCPSINFO, &buf); close (fd); if (ioctl_ok) { char *name = buf.pr_fname; size_t namesize = sizeof buf.pr_fname; /* It may not be NUL-terminated. */ char *namenul = memchr (name, '\0', namesize); size_t namelen = namenul ? namenul - name : namesize; char *namecopy = malloc (namelen + 1); if (namecopy) { namecopy[namelen] = '\0'; return memcpy (namecopy, name, namelen); } } } return NULL; # elif defined __SCO_VERSION__ || defined __sysv5__ /* SCO OpenServer6/UnixWare */ char buf[80]; int fd; sprintf (buf, "/proc/%d/cmdline", getpid()); fd = open (buf, O_RDONLY); if (0 <= fd) { size_t n = read (fd, buf, 79); if (n > 0) { buf[n] = '\0'; /* Guarantee null-termination */ char *progname; progname = strrchr (buf, '/'); if (progname) { progname = progname + 1; /* Skip the '/' */ } else { progname = buf; } char *ret; ret = malloc (strlen (progname) + 1); if (ret) { strcpy (ret, progname); return ret; } } close (fd); } return "?"; # else # error "getprogname module not ported to this OS" # endif } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/getprogname.h0000644000000000000000000000171014767401140012026 /* Program name management. Copyright (C) 2016-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_GETPROGNAME_H #define _GL_GETPROGNAME_H #include #if __GNUC__ || (__clang_major__ >= 4) # warning "The include file getprogname.h is deprecated. Use instead." #endif #endif datamash-1.9/lib/getrandom.c0000644000000000000000000001316514767401140011500 /* Obtain a series of random bytes. Copyright 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ #include #include #include #include #include #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include # if HAVE_BCRYPT_H # include # else # define NTSTATUS LONG typedef void * BCRYPT_ALG_HANDLE; # define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002 # if HAVE_LIB_BCRYPT extern NTSTATUS WINAPI BCryptGenRandom (BCRYPT_ALG_HANDLE, UCHAR *, ULONG, ULONG); # endif # endif # if !HAVE_LIB_BCRYPT # include # ifndef CRYPT_VERIFY_CONTEXT # define CRYPT_VERIFY_CONTEXT 0xF0000000 # endif # endif #endif #include "minmax.h" #if defined _WIN32 && ! defined __CYGWIN__ /* Don't assume that UNICODE is not defined. */ # undef LoadLibrary # define LoadLibrary LoadLibraryA # undef CryptAcquireContext # define CryptAcquireContext CryptAcquireContextA # if !HAVE_LIB_BCRYPT /* Avoid warnings from gcc -Wcast-function-type. */ # define GetProcAddress \ (void *) GetProcAddress /* BCryptGenRandom with the BCRYPT_USE_SYSTEM_PREFERRED_RNG flag works only starting with Windows 7. */ typedef NTSTATUS (WINAPI * BCryptGenRandomFuncType) (BCRYPT_ALG_HANDLE, UCHAR *, ULONG, ULONG); static BCryptGenRandomFuncType BCryptGenRandomFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE bcrypt = LoadLibrary ("bcrypt.dll"); if (bcrypt != NULL) { BCryptGenRandomFunc = (BCryptGenRandomFuncType) GetProcAddress (bcrypt, "BCryptGenRandom"); } initialized = TRUE; } # else # define BCryptGenRandomFunc BCryptGenRandom # endif #else /* These devices exist on all platforms except native Windows. */ /* Name of a device through which the kernel returns high quality random numbers, from an entropy pool. When the pool is empty, the call blocks until entropy sources have added enough bits of entropy. */ # ifndef NAME_OF_RANDOM_DEVICE # define NAME_OF_RANDOM_DEVICE "/dev/random" # endif /* Name of a device through which the kernel returns random or pseudo-random numbers. It uses an entropy pool, but, in order to avoid blocking, adds bits generated by a pseudo-random number generator, as needed. */ # ifndef NAME_OF_NONCE_DEVICE # define NAME_OF_NONCE_DEVICE "/dev/urandom" # endif #endif /* Set BUFFER (of size LENGTH) to random bytes under the control of FLAGS. Return the number of bytes written (> 0). Upon error, return -1 and set errno. */ ssize_t getrandom (void *buffer, size_t length, unsigned int flags) #undef getrandom { #if defined _WIN32 && ! defined __CYGWIN__ /* BCryptGenRandom, defined in with the BCRYPT_USE_SYSTEM_PREFERRED_RNG flag works in Windows 7 and newer. */ static int bcrypt_not_working /* = 0 */; if (!bcrypt_not_working) { # if !HAVE_LIB_BCRYPT if (!initialized) initialize (); # endif if (BCryptGenRandomFunc != NULL && BCryptGenRandomFunc (NULL, buffer, length, BCRYPT_USE_SYSTEM_PREFERRED_RNG) == 0 /*STATUS_SUCCESS*/) return length; bcrypt_not_working = 1; } # if !HAVE_LIB_BCRYPT /* CryptGenRandom, defined in works in older releases as well, but is now deprecated. CryptAcquireContext, defined in */ { static int crypt_initialized /* = 0 */; static HCRYPTPROV provider; if (!crypt_initialized) { if (CryptAcquireContext (&provider, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFY_CONTEXT)) crypt_initialized = 1; else crypt_initialized = -1; } if (crypt_initialized >= 0) { if (!CryptGenRandom (provider, length, buffer)) { errno = EIO; return -1; } return length; } } # endif errno = ENOSYS; return -1; #elif HAVE_GETRANDOM return getrandom (buffer, length, flags); #else static int randfd[2] = { -1, -1 }; bool devrandom = (flags & GRND_RANDOM) != 0; int fd = randfd[devrandom]; if (fd < 0) { static char const randdevice[][MAX (sizeof NAME_OF_NONCE_DEVICE, sizeof NAME_OF_RANDOM_DEVICE)] = { NAME_OF_NONCE_DEVICE, NAME_OF_RANDOM_DEVICE }; int oflags = (O_RDONLY + O_CLOEXEC + (flags & GRND_NONBLOCK ? O_NONBLOCK : 0)); fd = open (randdevice[devrandom], oflags); if (fd < 0) { if (errno == ENOENT || errno == ENOTDIR) errno = ENOSYS; return -1; } randfd[devrandom] = fd; } return read (fd, buffer, length); #endif } datamash-1.9/lib/gettext.h0000644000000000000000000002511514767401140011207 /* Convenience header for conditional use of GNU . Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option or through "#define ENABLE NLS 0" before including this file. */ #if defined ENABLE_NLS && ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include /* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by the gettext() and ngettext() macros. This is an alternative to calling textdomain(), and is useful for libraries. */ # ifdef DEFAULT_TEXT_DOMAIN # undef gettext # define gettext(Msgid) \ dgettext (DEFAULT_TEXT_DOMAIN, Msgid) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N) # endif #else /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. We don't include as well because people using "gettext.h" will not include , and also including would fail on SunOS 4, whereas is OK. */ # if defined(__sun) # include # endif /* Many header files from the libstdc++ coming with g++ 3.3 or newer include , which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. */ # if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3) # include # if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H # include # endif # endif /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # undef gettext # define gettext(Msgid) ((const char *) (Msgid)) # undef dgettext # define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) # undef dcgettext # define dcgettext(Domainname, Msgid, Category) \ ((void) (Category), dgettext (Domainname, Msgid)) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ ((N) == 1 \ ? ((void) (Msgid2), (const char *) (Msgid1)) \ : ((void) (Msgid1), (const char *) (Msgid2))) # undef dngettext # define dngettext(Domainname, Msgid1, Msgid2, N) \ ((void) (Domainname), ngettext (Msgid1, Msgid2, N)) # undef dcngettext # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) # undef textdomain # define textdomain(Domainname) ((const char *) (Domainname)) # undef bindtextdomain # define bindtextdomain(Domainname, Dirname) \ ((void) (Domainname), (const char *) (Dirname)) # undef bind_textdomain_codeset # define bind_textdomain_codeset(Domainname, Codeset) \ ((void) (Domainname), (const char *) (Codeset)) #endif /* Prefer gnulib's setlocale override over libintl's setlocale override. */ #ifdef GNULIB_defined_setlocale # undef setlocale # define setlocale rpl_setlocale #endif /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time translation is done at a different place in the code. The argument, String, should be a literal string. Concatenated strings and other string expressions won't work. The macro's expansion is not parenthesized, so that it is suitable as initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String /* The separator between msgctxt and msgid in a .mo file. */ #define GETTEXT_CONTEXT_GLUE "\004" /* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be short and rarely need to change. The letter 'p' stands for 'particular' or 'special'. */ #include /* for LC_MESSAGES */ #ifdef DEFAULT_TEXT_DOMAIN # define pgettext(Msgctxt, Msgid) \ pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #else # define pgettext(Msgctxt, Msgid) \ pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #endif #define dpgettext(Domainname, Msgctxt, Msgid) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) #ifdef DEFAULT_TEXT_DOMAIN # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #else # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #endif #define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) #if defined __GNUC__ || defined __clang__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category) { const char *translation = dcgettext (domain, msg_ctxt_id, category); if (translation == msg_ctxt_id) return msgid; else return translation; } #if defined __GNUC__ || defined __clang__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * npgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { const char *translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); if (translation == msg_ctxt_id || translation == msgid_plural) return (n == 1 ? msgid : msgid_plural); else return translation; } /* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID can be arbitrary expressions. But for string literals these macros are less efficient than those above. */ #include /* for memcpy */ /* GNULIB_NO_VLA can be defined to disable use of VLAs even if supported. This relates to the -Wvla and -Wvla-larger-than warnings, enabled in the default GCC many warnings set. This allows programs to disable use of VLAs, which may be unintended, or may be awkward to support portably, or may have security implications due to non-deterministic stack usage. */ #if (!defined GNULIB_NO_VLA \ && defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__ \ && !defined __STDC_NO_VLA__) # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 #else # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 #endif #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS # include /* for malloc, free */ #endif #define pgettext_expr(Msgctxt, Msgid) \ dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES) #define dpgettext_expr(Domainname, Msgctxt, Msgid) \ dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) #if defined __GNUC__ || defined __clang__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcgettext (domain, msg_ctxt_id, category); found_translation = (translation != msg_ctxt_id); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return msgid; } #define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #if defined __GNUC__ || defined __clang__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcnpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); found_translation = !(translation == msg_ctxt_id || translation == msgid_plural); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return (n == 1 ? msgid : msgid_plural); } #endif /* _LIBGETTEXT_H */ datamash-1.9/lib/gl_openssl.h0000644000000000000000000000747414767401140011700 /* Wrap openssl crypto hash routines in gnulib interface. -*- coding: utf-8 -*- Copyright (C) 2013-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Pádraig Brady */ /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #ifndef GL_OPENSSL_NAME # error "Please define GL_OPENSSL_NAME to 1,5,256 etc." #endif _GL_INLINE_HEADER_BEGIN #ifndef GL_OPENSSL_INLINE # define GL_OPENSSL_INLINE _GL_INLINE #endif /* Concatenate two preprocessor tokens. */ #define _GLCRYPTO_CONCAT_(prefix, suffix) prefix##suffix #define _GLCRYPTO_CONCAT(prefix, suffix) _GLCRYPTO_CONCAT_ (prefix, suffix) #if GL_OPENSSL_NAME == 5 # define OPENSSL_ALG md5 #else # define OPENSSL_ALG _GLCRYPTO_CONCAT (sha, GL_OPENSSL_NAME) #endif /* Context type mappings. */ #if BASE_OPENSSL_TYPE != GL_OPENSSL_NAME # undef BASE_OPENSSL_TYPE # if GL_OPENSSL_NAME == 224 # define BASE_OPENSSL_TYPE 256 # elif GL_OPENSSL_NAME == 384 # define BASE_OPENSSL_TYPE 512 # endif # define md5_CTX MD5_CTX # define sha1_CTX SHA_CTX # define sha224_CTX SHA256_CTX # define sha224_ctx sha256_ctx # define sha256_CTX SHA256_CTX # define sha384_CTX SHA512_CTX # define sha384_ctx sha512_ctx # define sha512_CTX SHA512_CTX # undef _gl_CTX # undef _gl_ctx # define _gl_CTX _GLCRYPTO_CONCAT (OPENSSL_ALG, _CTX) /* openssl type. */ # define _gl_ctx _GLCRYPTO_CONCAT (OPENSSL_ALG, _ctx) /* gnulib type. */ struct _gl_ctx { _gl_CTX CTX; }; #endif /* Function name mappings. */ #define md5_prefix MD5 #define sha1_prefix SHA1 #define sha224_prefix SHA224 #define sha256_prefix SHA256 #define sha384_prefix SHA384 #define sha512_prefix SHA512 #define _GLCRYPTO_PREFIX _GLCRYPTO_CONCAT (OPENSSL_ALG, _prefix) #define OPENSSL_FN(suffix) _GLCRYPTO_CONCAT (_GLCRYPTO_PREFIX, suffix) #define GL_CRYPTO_FN(suffix) _GLCRYPTO_CONCAT (OPENSSL_ALG, suffix) GL_OPENSSL_INLINE void GL_CRYPTO_FN (_init_ctx) (struct _gl_ctx *ctx) { (void) OPENSSL_FN (_Init) ((_gl_CTX *) ctx); } /* These were never exposed by gnulib. */ #if ! (GL_OPENSSL_NAME == 224 || GL_OPENSSL_NAME == 384) GL_OPENSSL_INLINE void GL_CRYPTO_FN (_process_bytes) (const void *buf, size_t len, struct _gl_ctx *ctx) { OPENSSL_FN (_Update) ((_gl_CTX *) ctx, buf, len); } GL_OPENSSL_INLINE void GL_CRYPTO_FN (_process_block) (const void *buf, size_t len, struct _gl_ctx *ctx) { GL_CRYPTO_FN (_process_bytes) (buf, len, ctx); } #endif GL_OPENSSL_INLINE void * GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *restrict res) { OPENSSL_FN (_Final) ((unsigned char *) res, (_gl_CTX *) ctx); return res; } GL_OPENSSL_INLINE void * GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *restrict res) { return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); } GL_OPENSSL_INLINE void * GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *restrict res) { /* Assume any unprocessed bytes in ctx are not to be ignored. */ _gl_CTX tmp_ctx = *(_gl_CTX *) ctx; OPENSSL_FN (_Final) ((unsigned char *) res, &tmp_ctx); return res; } /* Undef so we can include multiple times. */ #undef GL_CRYPTO_FN #undef OPENSSL_FN #undef _GLCRYPTO_PREFIX #undef OPENSSL_ALG #undef GL_OPENSSL_NAME _GL_INLINE_HEADER_END datamash-1.9/lib/glthread/0000755000000000000000000000000014774035552011230 5datamash-1.9/lib/glthread/lock.c0000644000000000000000000004175714767401140012252 /* Locking in multithreaded situations. Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h. */ #include #include "glthread/lock.h" /* ========================================================================= */ #if USE_ISOC_THREADS || USE_ISOC_AND_POSIX_THREADS /* -------------------------- gl_lock_t datatype -------------------------- */ int glthread_lock_init (gl_lock_t *lock) { if (mtx_init (&lock->mutex, mtx_plain) != thrd_success) return ENOMEM; lock->init_needed = 0; return 0; } int glthread_lock_lock (gl_lock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_lock (&lock->mutex) != thrd_success) return EAGAIN; return 0; } int glthread_lock_unlock (gl_lock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_unlock (&lock->mutex) != thrd_success) return EINVAL; return 0; } int glthread_lock_destroy (gl_lock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); mtx_destroy (&lock->mutex); return 0; } /* ------------------------- gl_rwlock_t datatype ------------------------- */ int glthread_rwlock_init (gl_rwlock_t *lock) { if (mtx_init (&lock->lock, mtx_plain) != thrd_success || cnd_init (&lock->waiting_readers) != thrd_success || cnd_init (&lock->waiting_writers) != thrd_success) return ENOMEM; lock->waiting_writers_count = 0; lock->runcount = 0; lock->init_needed = 0; return 0; } int glthread_rwlock_rdlock (gl_rwlock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_lock (&lock->lock) != thrd_success) return EAGAIN; /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ while (!(lock->runcount + 1 > 0 && lock->waiting_writers_count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ if (cnd_wait (&lock->waiting_readers, &lock->lock) != thrd_success) { mtx_unlock (&lock->lock); return EINVAL; } } lock->runcount++; if (mtx_unlock (&lock->lock) != thrd_success) return EINVAL; return 0; } int glthread_rwlock_wrlock (gl_rwlock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_lock (&lock->lock) != thrd_success) return EAGAIN; /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock->waiting_writers_count++; if (cnd_wait (&lock->waiting_writers, &lock->lock) != thrd_success) { lock->waiting_writers_count--; mtx_unlock (&lock->lock); return EINVAL; } lock->waiting_writers_count--; } lock->runcount--; /* runcount becomes -1 */ if (mtx_unlock (&lock->lock) != thrd_success) return EINVAL; return 0; } int glthread_rwlock_unlock (gl_rwlock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_lock (&lock->lock) != thrd_success) return EAGAIN; if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) { mtx_unlock (&lock->lock); return EINVAL; } lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { mtx_unlock (&lock->lock); return EINVAL; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers_count > 0) { /* Wake up one of the waiting writers. */ if (cnd_signal (&lock->waiting_writers) != thrd_success) { mtx_unlock (&lock->lock); return EINVAL; } } else { /* Wake up all waiting readers. */ if (cnd_broadcast (&lock->waiting_readers) != thrd_success) { mtx_unlock (&lock->lock); return EINVAL; } } } if (mtx_unlock (&lock->lock) != thrd_success) return EINVAL; return 0; } int glthread_rwlock_destroy (gl_rwlock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); mtx_destroy (&lock->lock); cnd_destroy (&lock->waiting_readers); cnd_destroy (&lock->waiting_writers); return 0; } /* --------------------- gl_recursive_lock_t datatype --------------------- */ int glthread_recursive_lock_init (gl_recursive_lock_t *lock) { if (mtx_init (&lock->mutex, mtx_plain | mtx_recursive) != thrd_success) return ENOMEM; lock->init_needed = 0; return 0; } int glthread_recursive_lock_lock (gl_recursive_lock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_lock (&lock->mutex) != thrd_success) return EAGAIN; return 0; } int glthread_recursive_lock_unlock (gl_recursive_lock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); if (mtx_unlock (&lock->mutex) != thrd_success) return EINVAL; return 0; } int glthread_recursive_lock_destroy (gl_recursive_lock_t *lock) { if (lock->init_needed) call_once (&lock->init_once, lock->init_func); mtx_destroy (&lock->mutex); return 0; } #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* -------------------------- gl_lock_t datatype -------------------------- */ /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # if defined PTHREAD_RWLOCK_INITIALIZER || defined PTHREAD_RWLOCK_INITIALIZER_NP # if !HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock) { pthread_rwlockattr_t attributes; int err; err = pthread_rwlockattr_init (&attributes); if (err != 0) return err; /* Note: PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP is the only value that causes the writer to be preferred. PTHREAD_RWLOCK_PREFER_WRITER_NP does not do this; see https://man7.org/linux/man-pages/man3/pthread_rwlockattr_setkind_np.3.html */ err = pthread_rwlockattr_setkind_np (&attributes, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP); if (err == 0) err = pthread_rwlock_init(lock, &attributes); /* pthread_rwlockattr_destroy always returns 0. It cannot influence the return value. */ pthread_rwlockattr_destroy (&attributes); return err; } # endif # else int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_rwlock_init (&lock->rwlock, NULL); if (err != 0) return err; lock->initialized = 1; return 0; } int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_rwlock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_rwlock_rdlock (&lock->rwlock); } int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_rwlock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_rwlock_wrlock (&lock->rwlock); } int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) { if (!lock->initialized) return EINVAL; return pthread_rwlock_unlock (&lock->rwlock); } int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = pthread_rwlock_destroy (&lock->rwlock); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_init (&lock->lock, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_readers, NULL); if (err != 0) return err; err = pthread_cond_init (&lock->waiting_writers, NULL); if (err != 0) return err; lock->waiting_writers_count = 0; lock->runcount = 0; return 0; } int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ while (!(lock->runcount + 1 > 0 && lock->waiting_writers_count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ err = pthread_cond_wait (&lock->waiting_readers, &lock->lock); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } lock->runcount++; return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock->waiting_writers_count++; err = pthread_cond_wait (&lock->waiting_writers, &lock->lock); if (err != 0) { lock->waiting_writers_count--; pthread_mutex_unlock (&lock->lock); return err; } lock->waiting_writers_count--; } lock->runcount--; /* runcount becomes -1 */ return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_lock (&lock->lock); if (err != 0) return err; if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) { pthread_mutex_unlock (&lock->lock); return EINVAL; } lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { pthread_mutex_unlock (&lock->lock); return EINVAL; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers_count > 0) { /* Wake up one of the waiting writers. */ err = pthread_cond_signal (&lock->waiting_writers); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } else { /* Wake up all waiting readers. */ err = pthread_cond_broadcast (&lock->waiting_readers); if (err != 0) { pthread_mutex_unlock (&lock->lock); return err; } } } return pthread_mutex_unlock (&lock->lock); } int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) { int err; err = pthread_mutex_destroy (&lock->lock); if (err != 0) return err; err = pthread_cond_destroy (&lock->waiting_readers); if (err != 0) return err; err = pthread_cond_destroy (&lock->waiting_writers); if (err != 0) return err; return 0; } # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = pthread_mutexattr_init (&attributes); if (err != 0) return err; err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutex_init (lock, &attributes); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutexattr_destroy (&attributes); if (err != 0) return err; return 0; } # else int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; int err; err = pthread_mutexattr_init (&attributes); if (err != 0) return err; err = pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutex_init (&lock->recmutex, &attributes); if (err != 0) { pthread_mutexattr_destroy (&attributes); return err; } err = pthread_mutexattr_destroy (&attributes); if (err != 0) return err; lock->initialized = 1; return 0; } int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock) { if (!lock->initialized) { int err; err = pthread_mutex_lock (&lock->guard); if (err != 0) return err; if (!lock->initialized) { err = glthread_recursive_lock_init_multithreaded (lock); if (err != 0) { pthread_mutex_unlock (&lock->guard); return err; } } err = pthread_mutex_unlock (&lock->guard); if (err != 0) return err; } return pthread_mutex_lock (&lock->recmutex); } int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock) { if (!lock->initialized) return EINVAL; return pthread_mutex_unlock (&lock->recmutex); } int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock) { int err; if (!lock->initialized) return EINVAL; err = pthread_mutex_destroy (&lock->recmutex); if (err != 0) return err; lock->initialized = 0; return 0; } # endif # else int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock) { int err; err = pthread_mutex_init (&lock->mutex, NULL); if (err != 0) return err; lock->owner = (pthread_t) 0; lock->depth = 0; return 0; } int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock) { pthread_t self = pthread_self (); if (lock->owner != self) { int err; err = pthread_mutex_lock (&lock->mutex); if (err != 0) return err; lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ { lock->depth--; return EAGAIN; } return 0; } int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock) { if (lock->owner != pthread_self ()) return EPERM; if (lock->depth == 0) return EINVAL; if (--(lock->depth) == 0) { lock->owner = (pthread_t) 0; return pthread_mutex_unlock (&lock->mutex); } else return 0; } int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock) { if (lock->owner != (pthread_t) 0) return EBUSY; return pthread_mutex_destroy (&lock->mutex); } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS #endif /* ========================================================================= */ datamash-1.9/lib/glthread/lock.h0000644000000000000000000006323414767401140012251 /* Locking in multithreaded situations. Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ /* This file contains locking primitives for use with a given thread library. It does not contain primitives for creating threads or for other synchronization primitives. Normal (non-recursive) locks: Type: gl_lock_t Declaration: gl_lock_define(extern, name) Initializer: gl_lock_define_initialized(, name) Initialization: gl_lock_init (name); Taking the lock: gl_lock_lock (name); Releasing the lock: gl_lock_unlock (name); De-initialization: gl_lock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_lock_init (&name); Taking the lock: err = glthread_lock_lock (&name); Releasing the lock: err = glthread_lock_unlock (&name); De-initialization: err = glthread_lock_destroy (&name); Read-Write (non-recursive) locks: Type: gl_rwlock_t Declaration: gl_rwlock_define(extern, name) Initializer: gl_rwlock_define_initialized(, name) Initialization: gl_rwlock_init (name); Taking the lock: gl_rwlock_rdlock (name); gl_rwlock_wrlock (name); Releasing the lock: gl_rwlock_unlock (name); De-initialization: gl_rwlock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_rwlock_init (&name); Taking the lock: err = glthread_rwlock_rdlock (&name); err = glthread_rwlock_wrlock (&name); Releasing the lock: err = glthread_rwlock_unlock (&name); De-initialization: err = glthread_rwlock_destroy (&name); Recursive locks: Type: gl_recursive_lock_t Declaration: gl_recursive_lock_define(extern, name) Initializer: gl_recursive_lock_define_initialized(, name) Initialization: gl_recursive_lock_init (name); Taking the lock: gl_recursive_lock_lock (name); Releasing the lock: gl_recursive_lock_unlock (name); De-initialization: gl_recursive_lock_destroy (name); Equivalent functions with control of error handling: Initialization: err = glthread_recursive_lock_init (&name); Taking the lock: err = glthread_recursive_lock_lock (&name); Releasing the lock: err = glthread_recursive_lock_unlock (&name); De-initialization: err = glthread_recursive_lock_destroy (&name); */ #ifndef _LOCK_H #define _LOCK_H /* This file uses HAVE_THREADS_H, HAVE_PTHREAD_RWLOCK, HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER, PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, HAVE_PTHREAD_MUTEX_RECURSIVE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include "glthread/once.h" /* c11_threads_in_use() is defined in glthread/once.h. */ /* ========================================================================= */ #if USE_ISOC_THREADS || USE_ISOC_AND_POSIX_THREADS /* Use the ISO C threads library. */ # include # ifdef __cplusplus extern "C" { # endif /* -------------------------- gl_lock_t datatype -------------------------- */ typedef struct { int volatile init_needed; once_flag init_once; void (*init_func) (void); mtx_t mutex; } gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ static void _atomic_init_##NAME (void); \ STORAGECLASS gl_lock_t NAME = \ { 1, ONCE_FLAG_INIT, _atomic_init_##NAME }; \ static void _atomic_init_##NAME (void) \ { \ if (glthread_lock_init (&(NAME))) \ abort (); \ } extern int glthread_lock_init (gl_lock_t *lock); extern int glthread_lock_lock (gl_lock_t *lock); extern int glthread_lock_unlock (gl_lock_t *lock); extern int glthread_lock_destroy (gl_lock_t *lock); /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef struct { int volatile init_needed; once_flag init_once; void (*init_func) (void); mtx_t lock; /* protects the remaining fields */ cnd_t waiting_readers; /* waiting readers */ cnd_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ static void _atomic_init_##NAME (void); \ STORAGECLASS gl_rwlock_t NAME = \ { 1, ONCE_FLAG_INIT, _atomic_init_##NAME }; \ static void _atomic_init_##NAME (void) \ { \ if (glthread_rwlock_init (&(NAME))) \ abort (); \ } extern int glthread_rwlock_init (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock (gl_rwlock_t *lock); extern int glthread_rwlock_unlock (gl_rwlock_t *lock); extern int glthread_rwlock_destroy (gl_rwlock_t *lock); /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef struct { int volatile init_needed; once_flag init_once; void (*init_func) (void); mtx_t mutex; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ static void _atomic_init_##NAME (void); \ STORAGECLASS gl_recursive_lock_t NAME = \ { 1, ONCE_FLAG_INIT, _atomic_init_##NAME }; \ static void _atomic_init_##NAME (void) \ { \ if (glthread_recursive_lock_init (&(NAME))) \ abort (); \ } extern int glthread_recursive_lock_init (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy (gl_recursive_lock_t *lock); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # ifdef __cplusplus extern "C" { # endif /* pthread_in_use() is defined in glthread/once.h. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef pthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer; # define gl_lock_initializer \ PTHREAD_MUTEX_INITIALIZER # define glthread_lock_init(LOCK) \ (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0) # define glthread_lock_lock(LOCK) \ (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0) # define glthread_lock_unlock(LOCK) \ (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0) # define glthread_lock_destroy(LOCK) \ (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # if defined PTHREAD_RWLOCK_INITIALIZER || defined PTHREAD_RWLOCK_INITIALIZER_NP typedef pthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer; # if HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER # if defined PTHREAD_RWLOCK_INITIALIZER # define gl_rwlock_initializer \ PTHREAD_RWLOCK_INITIALIZER # else # define gl_rwlock_initializer \ PTHREAD_RWLOCK_INITIALIZER_NP # endif # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0) # else /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ # define gl_rwlock_initializer \ PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_for_glibc (LOCK) : 0) extern int glthread_rwlock_init_for_glibc (pthread_rwlock_t *lock); # endif # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_rdlock (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_wrlock (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? pthread_rwlock_unlock (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? pthread_rwlock_destroy (LOCK) : 0) # else typedef struct { int initialized; pthread_mutex_t guard; /* protects the initialization */ pthread_rwlock_t rwlock; /* read-write lock */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { 0, PTHREAD_MUTEX_INITIALIZER } # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0) # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0) extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock); # endif # else typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } # define glthread_rwlock_init(LOCK) \ (pthread_in_use () ? glthread_rwlock_init_multithreaded (LOCK) : 0) # define glthread_rwlock_rdlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_rdlock_multithreaded (LOCK) : 0) # define glthread_rwlock_wrlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_wrlock_multithreaded (LOCK) : 0) # define glthread_rwlock_unlock(LOCK) \ (pthread_in_use () ? glthread_rwlock_unlock_multithreaded (LOCK) : 0) # define glthread_rwlock_destroy(LOCK) \ (pthread_in_use () ? glthread_rwlock_destroy_multithreaded (LOCK) : 0) extern int glthread_rwlock_init_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock); extern int glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock); # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP typedef pthread_mutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer; # ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER # else # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP # endif # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); # else typedef struct { pthread_mutex_t recmutex; /* recursive mutex */ pthread_mutex_t guard; /* protects the initialization */ int initialized; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, 0 } # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock); # endif # else /* Old versions of POSIX threads on Solaris did not have recursive locks. We have to implement them ourselves. */ typedef struct { pthread_mutex_t mutex; pthread_t owner; unsigned long depth; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, (pthread_t) 0, 0 } # define glthread_recursive_lock_init(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_init_multithreaded (LOCK) : 0) # define glthread_recursive_lock_lock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_lock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_unlock(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_unlock_multithreaded (LOCK) : 0) # define glthread_recursive_lock_destroy(LOCK) \ (pthread_in_use () ? glthread_recursive_lock_destroy_multithreaded (LOCK) : 0) extern int glthread_recursive_lock_init_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_lock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_unlock_multithreaded (gl_recursive_lock_t *lock); extern int glthread_recursive_lock_destroy_multithreaded (gl_recursive_lock_t *lock); # endif # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-mutex.h" # include "windows-rwlock.h" # include "windows-recmutex.h" # ifdef __cplusplus extern "C" { # endif /* We can use CRITICAL_SECTION directly, rather than the native Windows Event, Mutex, Semaphore types, because - we need only to synchronize inside a single process (address space), not inter-process locking, - we don't need to support trylock operations. (TryEnterCriticalSection does not work on Windows 95/98/ME. Packages that need trylock usually define their own mutex type.) */ /* There is no way to statically initialize a CRITICAL_SECTION. It needs to be done lazily, once only. For this we need spinlocks. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef glwthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME = gl_lock_initializer; # define gl_lock_initializer \ GLWTHREAD_MUTEX_INIT # define glthread_lock_init(LOCK) \ (glwthread_mutex_init (LOCK), 0) # define glthread_lock_lock(LOCK) \ glwthread_mutex_lock (LOCK) # define glthread_lock_unlock(LOCK) \ glwthread_mutex_unlock (LOCK) # define glthread_lock_destroy(LOCK) \ glwthread_mutex_destroy (LOCK) /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef glwthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ GLWTHREAD_RWLOCK_INIT # define glthread_rwlock_init(LOCK) \ (glwthread_rwlock_init (LOCK), 0) # define glthread_rwlock_rdlock(LOCK) \ glwthread_rwlock_rdlock (LOCK) # define glthread_rwlock_wrlock(LOCK) \ glwthread_rwlock_wrlock (LOCK) # define glthread_rwlock_unlock(LOCK) \ glwthread_rwlock_unlock (LOCK) # define glthread_rwlock_destroy(LOCK) \ glwthread_rwlock_destroy (LOCK) /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef glwthread_recmutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ GLWTHREAD_RECMUTEX_INIT # define glthread_recursive_lock_init(LOCK) \ (glwthread_recmutex_init (LOCK), 0) # define glthread_recursive_lock_lock(LOCK) \ glwthread_recmutex_lock (LOCK) # define glthread_recursive_lock_unlock(LOCK) \ glwthread_recmutex_unlock (LOCK) # define glthread_recursive_lock_destroy(LOCK) \ glwthread_recmutex_destroy (LOCK) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_ISOC_THREADS || USE_POSIX_THREADS || USE_ISOC_AND_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef int gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) # define gl_lock_define_initialized(STORAGECLASS, NAME) # define glthread_lock_init(NAME) 0 # define glthread_lock_lock(NAME) 0 # define glthread_lock_unlock(NAME) 0 # define glthread_lock_destroy(NAME) 0 /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef int gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) # define gl_rwlock_define_initialized(STORAGECLASS, NAME) # define glthread_rwlock_init(NAME) 0 # define glthread_rwlock_rdlock(NAME) 0 # define glthread_rwlock_wrlock(NAME) 0 # define glthread_rwlock_unlock(NAME) 0 # define glthread_rwlock_destroy(NAME) 0 /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef int gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) # define glthread_recursive_lock_init(NAME) 0 # define glthread_recursive_lock_lock(NAME) 0 # define glthread_recursive_lock_unlock(NAME) 0 # define glthread_recursive_lock_destroy(NAME) 0 #endif /* ========================================================================= */ /* Macros with built-in error handling. */ /* -------------------------- gl_lock_t datatype -------------------------- */ #define gl_lock_init(NAME) \ do \ { \ if (glthread_lock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_lock(NAME) \ do \ { \ if (glthread_lock_lock (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_unlock(NAME) \ do \ { \ if (glthread_lock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_lock_destroy(NAME) \ do \ { \ if (glthread_lock_destroy (&NAME)) \ abort (); \ } \ while (0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ #define gl_rwlock_init(NAME) \ do \ { \ if (glthread_rwlock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_rdlock(NAME) \ do \ { \ if (glthread_rwlock_rdlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_wrlock(NAME) \ do \ { \ if (glthread_rwlock_wrlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_unlock(NAME) \ do \ { \ if (glthread_rwlock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_rwlock_destroy(NAME) \ do \ { \ if (glthread_rwlock_destroy (&NAME)) \ abort (); \ } \ while (0) /* --------------------- gl_recursive_lock_t datatype --------------------- */ #define gl_recursive_lock_init(NAME) \ do \ { \ if (glthread_recursive_lock_init (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_lock(NAME) \ do \ { \ if (glthread_recursive_lock_lock (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_unlock(NAME) \ do \ { \ if (glthread_recursive_lock_unlock (&NAME)) \ abort (); \ } \ while (0) #define gl_recursive_lock_destroy(NAME) \ do \ { \ if (glthread_recursive_lock_destroy (&NAME)) \ abort (); \ } \ while (0) /* ========================================================================= */ #endif /* _LOCK_H */ datamash-1.9/lib/glthread/once.c0000644000000000000000000000454114767401140012234 /* Once-only initialization in multithreaded situations. Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h. */ #include #include "glthread/once.h" /* ========================================================================= */ #if USE_ISOC_THREADS || USE_ISOC_AND_POSIX_THREADS #endif /* ========================================================================= */ #if USE_POSIX_THREADS static const pthread_once_t fresh_once = PTHREAD_ONCE_INIT; int glthread_once_singlethreaded (pthread_once_t *once_control) { /* We don't know whether pthread_once_t is an integer type, a floating-point type, a pointer type, or a structure type. */ char *firstbyte = (char *)once_control; if (*firstbyte == *(const char *)&fresh_once) { /* First time use of once_control. Invert the first byte. */ *firstbyte = ~ *(const char *)&fresh_once; return 1; } else return 0; } # if !(PTHREAD_IN_USE_DETECTION_HARD || USE_POSIX_THREADS_WEAK) int glthread_once_multithreaded (pthread_once_t *once_control, void (*init_function) (void)) { int err = pthread_once (once_control, init_function); if (err == ENOSYS) { /* This happens on FreeBSD 11: The pthread_once function in libc returns ENOSYS. */ if (glthread_once_singlethreaded (once_control)) init_function (); return 0; } return err; } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS #endif /* ========================================================================= */ datamash-1.9/lib/glthread/once.h0000644000000000000000000002154114767401140012240 /* Once-only initialization in multithreaded situations. Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-win32.h. */ /* This file contains once-only initialization primitives for use with a given thread library. It does not contain primitives for creating threads or for other synchronization primitives. Once-only execution: Type: gl_once_t Initializer: gl_once_define(extern, name) Execution: gl_once (name, initfunction); Equivalent functions with control of error handling: Execution: err = glthread_once (&name, initfunction); */ #ifndef _ONCE_H #define _ONCE_H /* This file uses HAVE_THREADS_H. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #if !defined c11_threads_in_use # if HAVE_THREADS_H && USE_POSIX_THREADS_FROM_LIBC # define c11_threads_in_use() 1 # elif HAVE_THREADS_H && USE_POSIX_THREADS_WEAK # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif #endif /* ========================================================================= */ #if USE_ISOC_THREADS || USE_ISOC_AND_POSIX_THREADS /* Use the ISO C threads library. */ # include # ifdef __cplusplus extern "C" { # endif /* -------------------------- gl_once_t datatype -------------------------- */ typedef once_flag gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS once_flag NAME = ONCE_FLAG_INIT; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (call_once (ONCE_CONTROL, INITFUNCTION), 0) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # ifdef __cplusplus extern "C" { # endif # if PTHREAD_IN_USE_DETECTION_HARD /* The pthread_in_use() detection needs to be done at runtime. */ # define pthread_in_use() \ glthread_in_use () extern int glthread_in_use (void); # endif # if USE_POSIX_THREADS_WEAK /* Use weak references to the POSIX threads library. */ /* Weak references avoid dragging in external libraries if the other parts of the program don't use them. Here we use them, because we don't want every program that uses libintl to depend on libpthread. This assumes that libpthread would not be loaded after libintl; i.e. if libintl is loaded first, by an executable that does not depend on libpthread, and then a module is dynamically loaded that depends on libpthread, libintl will not be multithread-safe. */ /* The way to test at runtime whether libpthread is present is to test whether a function pointer's value, such as &pthread_mutex_init, is non-NULL. However, some versions of GCC have a bug through which, in PIC mode, &foo != NULL always evaluates to true if there is a direct call to foo(...) in the same function. To avoid this, we test the address of a function in libpthread that we don't use. */ # pragma weak pthread_mutex_init # pragma weak pthread_mutex_lock # pragma weak pthread_mutex_unlock # pragma weak pthread_mutex_destroy /* Work around clang bug */ # ifndef pthread_rwlock_init # pragma weak pthread_rwlock_init # endif # pragma weak pthread_rwlock_rdlock # pragma weak pthread_rwlock_wrlock # pragma weak pthread_rwlock_unlock # pragma weak pthread_rwlock_destroy # pragma weak pthread_once # pragma weak pthread_cond_init # pragma weak pthread_cond_wait # pragma weak pthread_cond_signal # pragma weak pthread_cond_broadcast # pragma weak pthread_cond_destroy # pragma weak pthread_mutexattr_init # pragma weak pthread_mutexattr_settype # pragma weak pthread_mutexattr_destroy /* Work around clang bug */ # ifndef pthread_rwlockattr_init # pragma weak pthread_rwlockattr_init # endif # if __GNU_LIBRARY__ > 1 # pragma weak pthread_rwlockattr_setkind_np # endif # pragma weak pthread_rwlockattr_destroy # ifndef pthread_self # pragma weak pthread_self # endif # if !PTHREAD_IN_USE_DETECTION_HARD /* Considering all platforms with USE_POSIX_THREADS_WEAK, only few symbols can be used to determine whether libpthread is in use. These are: pthread_mutexattr_gettype pthread_rwlockattr_destroy pthread_rwlockattr_init */ # pragma weak pthread_mutexattr_gettype # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # endif # else # if !PTHREAD_IN_USE_DETECTION_HARD # define pthread_in_use() 1 # endif # endif /* -------------------------- gl_once_t datatype -------------------------- */ typedef pthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT; # if PTHREAD_IN_USE_DETECTION_HARD || USE_POSIX_THREADS_WEAK # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (pthread_in_use () \ ? pthread_once (ONCE_CONTROL, INITFUNCTION) \ : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0)) # else # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (pthread_in_use () \ ? glthread_once_multithreaded (ONCE_CONTROL, INITFUNCTION) \ : (glthread_once_singlethreaded (ONCE_CONTROL) ? (INITFUNCTION (), 0) : 0)) extern int glthread_once_multithreaded (pthread_once_t *once_control, void (*init_function) (void)); # endif extern int glthread_once_singlethreaded (pthread_once_t *once_control); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WINDOWS_THREADS # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-once.h" # ifdef __cplusplus extern "C" { # endif /* We can use CRITICAL_SECTION directly, rather than the native Windows Event, Mutex, Semaphore types, because - we need only to synchronize inside a single process (address space), not inter-process locking, - we don't need to support trylock operations. (TryEnterCriticalSection does not work on Windows 95/98/ME. Packages that need trylock usually define their own mutex type.) */ /* There is no way to statically initialize a CRITICAL_SECTION. It needs to be done lazily, once only. For this we need spinlocks. */ /* -------------------------- gl_once_t datatype -------------------------- */ typedef glwthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = GLWTHREAD_ONCE_INIT; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (glwthread_once (ONCE_CONTROL, INITFUNCTION), 0) # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_ISOC_THREADS || USE_POSIX_THREADS || USE_ISOC_AND_POSIX_THREADS || USE_WINDOWS_THREADS) /* Provide dummy implementation if threads are not supported. */ /* -------------------------- gl_once_t datatype -------------------------- */ typedef int gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = 0; # define glthread_once(ONCE_CONTROL, INITFUNCTION) \ (*(ONCE_CONTROL) == 0 ? (*(ONCE_CONTROL) = ~ 0, INITFUNCTION (), 0) : 0) #endif /* ========================================================================= */ /* Macros with built-in error handling. */ /* -------------------------- gl_once_t datatype -------------------------- */ #define gl_once(NAME, INITFUNCTION) \ do \ { \ if (glthread_once (&NAME, INITFUNCTION)) \ abort (); \ } \ while (0) /* ========================================================================= */ #endif /* _ONCE_H */ datamash-1.9/lib/glthread/threadlib.c0000644000000000000000000000512014767401140013240 /* Multithreading primitives. Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. */ #include /* ========================================================================= */ #if USE_POSIX_THREADS || USE_ISOC_AND_POSIX_THREADS /* Use the POSIX threads library. */ # include # include # include # if PTHREAD_IN_USE_DETECTION_HARD # if defined __FreeBSD__ || defined __DragonFly__ /* FreeBSD */ /* Test using pthread_key_create. */ int glthread_in_use (void) { static int tested; static int result; /* 1: linked with -lpthread, 0: only with libc */ if (!tested) { pthread_key_t key; int err = pthread_key_create (&key, NULL); if (err == ENOSYS) result = 0; else { result = 1; if (err == 0) pthread_key_delete (key); } tested = 1; } return result; } # else /* Solaris, HP-UX */ /* Test using pthread_create. */ /* The function to be executed by a dummy thread. */ static void * dummy_thread_func (void *arg) { return arg; } int glthread_in_use (void) { static int tested; static int result; /* 1: linked with -lpthread, 0: only with libc */ if (!tested) { pthread_t thread; if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) /* Thread creation failed. */ result = 0; else { /* Thread creation works. */ void *retval; if (pthread_join (thread, &retval) != 0) abort (); result = 1; } tested = 1; } return result; } # endif # endif #endif /* ========================================================================= */ /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; datamash-1.9/lib/gnulib.mk0000644000000000000000000060437714771573666011222 ## DO NOT EDIT! GENERATED AUTOMATICALLY! ## Process this file with automake to produce Makefile.in. # Copyright (C) 2002-2025 Free Software Foundation, Inc. # # This file 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 file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # Reproduce by: # gnulib-tool --import \ # --local-dir=gl \ # --lib=libdatamash \ # --source-base=lib \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=tests \ # --aux-dir=build-aux \ # --makefile-name=gnulib.mk \ # --automake-subdir \ # --no-conditional-dependencies \ # --no-libtool \ # --macro-prefix=gl \ # announce-gen \ # assert \ # base64 \ # c-ctype \ # calloc-gnu \ # ceill \ # closeout \ # configmake \ # crypto/md5 \ # crypto/sha1 \ # crypto/sha256 \ # crypto/sha512 \ # dirname \ # do-release-commit-and-tag \ # dup2 \ # errno \ # error \ # expl \ # extensions \ # fabsl \ # floorl \ # fpucw \ # gendocs \ # getopt-gnu \ # getrandom \ # gettext-h \ # git-version-gen \ # gitlog-to-changelog \ # gnu-web-doc-update \ # gnupload \ # hard-locale \ # hash \ # hash-pjw \ # hash-pjw-bare \ # ignore-value \ # inet_pton \ # inline \ # intprops \ # inttostr \ # inttypes \ # isblank \ # isnanl \ # linebuffer \ # locale \ # localeconv \ # logl \ # maintainer-makefile \ # minmax \ # modfl \ # netinet_in \ # pclose \ # pmccabe2html \ # popen \ # progname \ # propername \ # random \ # readme-release \ # realloc-gnu \ # roundl \ # setlocale \ # sh-quote \ # signbit \ # size_max \ # snprintf \ # sqrtl \ # std-gnu11 \ # stdbool \ # stdint \ # stdnoreturn \ # stpcpy \ # strcase \ # strdup-posix \ # strsep \ # strtold \ # strtoll \ # sys_random \ # sys_socket \ # unlocked-io \ # update-copyright \ # version-etc \ # waitpid \ # warnings \ # xalloc \ # xstrtol \ # xstrtol-error \ # xstrtoumax MOSTLYCLEANFILES += lib/core lib/*.stackdump # No GNU Make output. noinst_LIBRARIES += lib/libdatamash.a lib_libdatamash_a_SOURCES = lib_libdatamash_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS) $(GL_CFLAG_ALLOW_WARNINGS) lib_libdatamash_a_LIBADD = $(gl_libdatamash_LIBOBJS) lib_libdatamash_a_DEPENDENCIES = $(gl_libdatamash_LIBOBJS) EXTRA_lib_libdatamash_a_SOURCES = ## begin gnulib module absolute-header # Use this preprocessor expression to decide whether #include_next works. # Do not rely on a 'configure'-time test for this, since the expression # might appear in an installed header, which is used by some other compiler. HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER) ## end gnulib module absolute-header ## begin gnulib module alloca-opt BUILT_SOURCES += $(ALLOCA_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_ALLOCA_H lib/alloca.h: lib/alloca.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \ $(top_srcdir)/lib/alloca.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/alloca.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/alloca.h lib/alloca.h-t EXTRA_DIST += lib/alloca.in.h ## end gnulib module alloca-opt ## begin gnulib module announce-gen EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen ## end gnulib module announce-gen ## begin gnulib module arpa_inet-h BUILT_SOURCES += lib/arpa/inet.h lib_libdatamash_a_SOURCES += lib/arpa_inet.c # We need the following in order to create when the system # doesn't have one. lib/arpa/inet.h: lib/arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%/arpa' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ -e 's/@''GNULIB_INET_NTOP''@/$(GL_GNULIB_INET_NTOP)/g' \ -e 's/@''GNULIB_INET_PTON''@/$(GL_GNULIB_INET_PTON)/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_DECL_HTONL''@|$(HAVE_DECL_HTONL)|g' \ -e 's|@''HAVE_DECL_HTONS''@|$(HAVE_DECL_HTONS)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ -e 's|@''HAVE_DECL_NTOHL''@|$(HAVE_DECL_NTOHL)|g' \ -e 's|@''HAVE_DECL_NTOHS''@|$(HAVE_DECL_NTOHS)|g' \ -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \ -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/arpa_inet.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/arpa/inet.h lib/arpa/inet.h-t MOSTLYCLEANDIRS += lib/arpa EXTRA_DIST += lib/arpa_inet.in.h ## end gnulib module arpa_inet-h ## begin gnulib module assert-h BUILT_SOURCES += $(ASSERT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_ASSERT_H lib/assert.h: lib/assert.in.h lib/verify.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at){ $(SED_HEADER_STDOUT) \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \ < $(top_srcdir)/lib/assert.in.h && \ sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \ -e 's|_gl_verify|_gl_static_assert|g' \ -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \ -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \ < $(top_srcdir)/lib/verify.h; \ } > $@-t $(AM_V_at)mv $@-t $@ else lib/assert.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/assert.h lib/assert.h-t EXTRA_DIST += lib/assert.in.h lib/verify.h ## end gnulib module assert-h ## begin gnulib module attribute EXTRA_DIST += lib/attribute.h ## end gnulib module attribute ## begin gnulib module base64 lib_libdatamash_a_SOURCES += lib/base64.h lib/base64.c ## end gnulib module base64 ## begin gnulib module basename-lgpl lib_libdatamash_a_SOURCES += lib/basename-lgpl.c EXTRA_DIST += lib/basename-lgpl.h ## end gnulib module basename-lgpl ## begin gnulib module bitrotate lib_libdatamash_a_SOURCES += lib/bitrotate.h lib/bitrotate.c ## end gnulib module bitrotate ## begin gnulib module byteswap BUILT_SOURCES += $(BYTESWAP_H) # We need the following in order to create when the system # doesn't have one. if GL_GENERATE_BYTESWAP_H lib/byteswap.h: lib/byteswap.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/byteswap.in.h $(AM_V_at)mv $@-t $@ lib_libdatamash_a_SOURCES += lib/byteswap.c else lib/byteswap.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/byteswap.h lib/byteswap.h-t EXTRA_DIST += lib/byteswap.in.h ## end gnulib module byteswap ## begin gnulib module c-ctype lib_libdatamash_a_SOURCES += lib/c-ctype.h lib/c-ctype.c ## end gnulib module c-ctype ## begin gnulib module c-strcasecmp lib_libdatamash_a_SOURCES += lib/c-strcasecmp.c EXTRA_DIST += lib/c-strcase.h ## end gnulib module c-strcasecmp ## begin gnulib module c-strcaseeq EXTRA_DIST += lib/c-strcaseeq.h ## end gnulib module c-strcaseeq ## begin gnulib module c32isalnum lib_libdatamash_a_SOURCES += lib/c32isalnum.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isalnum ## begin gnulib module c32isalpha lib_libdatamash_a_SOURCES += lib/c32isalpha.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isalpha ## begin gnulib module c32isblank lib_libdatamash_a_SOURCES += lib/c32isblank.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isblank ## begin gnulib module c32iscntrl lib_libdatamash_a_SOURCES += lib/c32iscntrl.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32iscntrl ## begin gnulib module c32isdigit lib_libdatamash_a_SOURCES += lib/c32isdigit.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isdigit ## begin gnulib module c32isgraph lib_libdatamash_a_SOURCES += lib/c32isgraph.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isgraph ## begin gnulib module c32islower lib_libdatamash_a_SOURCES += lib/c32islower.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32islower ## begin gnulib module c32isprint lib_libdatamash_a_SOURCES += lib/c32isprint.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isprint ## begin gnulib module c32ispunct lib_libdatamash_a_SOURCES += lib/c32ispunct.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32ispunct ## begin gnulib module c32isspace lib_libdatamash_a_SOURCES += lib/c32isspace.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isspace ## begin gnulib module c32isupper lib_libdatamash_a_SOURCES += lib/c32isupper.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isupper ## begin gnulib module c32isxdigit lib_libdatamash_a_SOURCES += lib/c32isxdigit.c EXTRA_DIST += lib/c32is-impl.h ## end gnulib module c32isxdigit ## begin gnulib module c32tolower lib_libdatamash_a_SOURCES += lib/c32tolower.c EXTRA_DIST += lib/c32to-impl.h ## end gnulib module c32tolower ## begin gnulib module c32width lib_libdatamash_a_SOURCES += lib/c32width.c ## end gnulib module c32width ## begin gnulib module calloc-gnu EXTRA_DIST += lib/calloc.c EXTRA_lib_libdatamash_a_SOURCES += lib/calloc.c ## end gnulib module calloc-gnu ## begin gnulib module calloc-posix EXTRA_DIST += lib/calloc.c EXTRA_lib_libdatamash_a_SOURCES += lib/calloc.c ## end gnulib module calloc-posix ## begin gnulib module ceil if GL_COND_OBJ_CEIL lib_libdatamash_a_SOURCES += lib/ceil.c endif ## end gnulib module ceil ## begin gnulib module ceill if GL_COND_OBJ_CEILL lib_libdatamash_a_SOURCES += lib/ceill.c endif EXTRA_DIST += lib/ceil.c EXTRA_lib_libdatamash_a_SOURCES += lib/ceil.c ## end gnulib module ceill ## begin gnulib module cloexec lib_libdatamash_a_SOURCES += lib/cloexec.c EXTRA_DIST += lib/cloexec.h ## end gnulib module cloexec ## begin gnulib module close if GL_COND_OBJ_CLOSE lib_libdatamash_a_SOURCES += lib/close.c endif ## end gnulib module close ## begin gnulib module close-stream lib_libdatamash_a_SOURCES += lib/close-stream.c EXTRA_DIST += lib/close-stream.h ## end gnulib module close-stream ## begin gnulib module closeout lib_libdatamash_a_SOURCES += lib/closeout.c EXTRA_DIST += lib/closeout.h ## end gnulib module closeout ## begin gnulib module configmake # Listed in the same order as the GNU makefile conventions, and # provided by autoconf 2.59c+ or 2.70. # The Automake-defined pkg* macros are appended, in the order # listed in the Automake 1.10a+ documentation. lib/configmake.h: Makefile $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#if HAVE_WINSOCK2_H'; \ echo '# include /* avoid mingw pollution on DATADIR */'; \ echo '#endif'; \ printf '#define PREFIX %s\n' $(prefix_c_make); \ printf '#define EXEC_PREFIX %s\n' $(exec_prefix_c_make); \ printf '#define BINDIR %s\n' $(bindir_c_make); \ printf '#define SBINDIR %s\n' $(sbindir_c_make); \ printf '#define LIBEXECDIR %s\n' $(libexecdir_c_make); \ printf '#define DATAROOTDIR %s\n' $(datarootdir_c_make); \ printf '#define DATADIR %s\n' $(datadir_c_make); \ printf '#define SYSCONFDIR %s\n' $(sysconfdir_c_make); \ printf '#define SHAREDSTATEDIR %s\n' $(sharedstatedir_c_make); \ printf '#define LOCALSTATEDIR %s\n' $(localstatedir_c_make); \ printf '#define RUNSTATEDIR %s\n' $(runstatedir_c_make); \ printf '#define INCLUDEDIR %s\n' $(includedir_c_make); \ printf '#define OLDINCLUDEDIR %s\n' $(oldincludedir_c_make); \ printf '#define DOCDIR %s\n' $(docdir_c_make); \ printf '#define INFODIR %s\n' $(infodir_c_make); \ printf '#define HTMLDIR %s\n' $(htmldir_c_make); \ printf '#define DVIDIR %s\n' $(dvidir_c_make); \ printf '#define PDFDIR %s\n' $(pdfdir_c_make); \ printf '#define PSDIR %s\n' $(psdir_c_make); \ printf '#define LIBDIR %s\n' $(libdir_c_make); \ printf '#define LISPDIR %s\n' $(lispdir_c_make); \ printf '#define LOCALEDIR %s\n' $(localedir_c_make); \ printf '#define MANDIR %s\n' $(mandir_c_make); \ printf '#define MANEXT %s\n' \"$(manext)\"; \ printf '#define PKGDATADIR %s\n' $(pkgdatadir_c_make); \ printf '#define PKGINCLUDEDIR %s\n' $(pkgincludedir_c_make); \ printf '#define PKGLIBDIR %s\n' $(pkglibdir_c_make); \ printf '#define PKGLIBEXECDIR %s\n' $(pkglibexecdir_c_make); \ } | sed '/""/d' > $@-t $(AM_V_at)mv $@-t $@ BUILT_SOURCES += lib/configmake.h CLEANFILES += lib/configmake.h lib/configmake.h-t ## end gnulib module configmake ## begin gnulib module crypto/af_alg lib_libdatamash_a_SOURCES += lib/af_alg.c EXTRA_DIST += lib/af_alg.h lib/sys-limits.h ## end gnulib module crypto/af_alg ## begin gnulib module crypto/md5 lib_libdatamash_a_SOURCES += lib/md5-stream.c ## end gnulib module crypto/md5 ## begin gnulib module crypto/md5-buffer lib_libdatamash_a_SOURCES += lib/md5.c EXTRA_DIST += lib/gl_openssl.h lib/md5.h ## end gnulib module crypto/md5-buffer ## begin gnulib module crypto/sha1 lib_libdatamash_a_SOURCES += lib/sha1-stream.c ## end gnulib module crypto/sha1 ## begin gnulib module crypto/sha1-buffer lib_libdatamash_a_SOURCES += lib/sha1.c EXTRA_DIST += lib/gl_openssl.h lib/sha1.h ## end gnulib module crypto/sha1-buffer ## begin gnulib module crypto/sha256 lib_libdatamash_a_SOURCES += lib/sha256-stream.c ## end gnulib module crypto/sha256 ## begin gnulib module crypto/sha256-buffer lib_libdatamash_a_SOURCES += lib/sha256.c EXTRA_DIST += lib/gl_openssl.h lib/sha256.h ## end gnulib module crypto/sha256-buffer ## begin gnulib module crypto/sha512 lib_libdatamash_a_SOURCES += lib/sha512-stream.c ## end gnulib module crypto/sha512 ## begin gnulib module crypto/sha512-buffer lib_libdatamash_a_SOURCES += lib/sha512.c EXTRA_DIST += lib/gl_openssl.h lib/sha512.h ## end gnulib module crypto/sha512-buffer ## begin gnulib module ctype-h BUILT_SOURCES += lib/ctype.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/ctype.h: lib/ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \ -e 's/@''GNULIB_ISALNUM_L''@/$(GL_GNULIB_ISALNUM_L)/g' \ -e 's/@''GNULIB_ISALPHA_L''@/$(GL_GNULIB_ISALPHA_L)/g' \ -e 's/@''GNULIB_ISBLANK''@/$(GL_GNULIB_ISBLANK)/g' \ -e 's/@''GNULIB_ISBLANK_L''@/$(GL_GNULIB_ISBLANK_L)/g' \ -e 's/@''GNULIB_ISCNTRL_L''@/$(GL_GNULIB_ISCNTRL_L)/g' \ -e 's/@''GNULIB_ISDIGIT_L''@/$(GL_GNULIB_ISDIGIT_L)/g' \ -e 's/@''GNULIB_ISGRAPH_L''@/$(GL_GNULIB_ISGRAPH_L)/g' \ -e 's/@''GNULIB_ISLOWER_L''@/$(GL_GNULIB_ISLOWER_L)/g' \ -e 's/@''GNULIB_ISPRINT_L''@/$(GL_GNULIB_ISPRINT_L)/g' \ -e 's/@''GNULIB_ISPUNCT_L''@/$(GL_GNULIB_ISPUNCT_L)/g' \ -e 's/@''GNULIB_ISSPACE_L''@/$(GL_GNULIB_ISSPACE_L)/g' \ -e 's/@''GNULIB_ISUPPER_L''@/$(GL_GNULIB_ISUPPER_L)/g' \ -e 's/@''GNULIB_ISXDIGIT_L''@/$(GL_GNULIB_ISXDIGIT_L)/g' \ -e 's/@''GNULIB_TOLOWER_L''@/$(GL_GNULIB_TOLOWER_L)/g' \ -e 's/@''GNULIB_TOUPPER_L''@/$(GL_GNULIB_TOUPPER_L)/g' \ -e 's/@''HAVE_ISALNUM_L''@/$(HAVE_ISALNUM_L)/g' \ -e 's/@''HAVE_ISALPHA_L''@/$(HAVE_ISALPHA_L)/g' \ -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \ -e 's/@''HAVE_ISBLANK_L''@/$(HAVE_ISBLANK_L)/g' \ -e 's/@''HAVE_ISCNTRL_L''@/$(HAVE_ISCNTRL_L)/g' \ -e 's/@''HAVE_ISDIGIT_L''@/$(HAVE_ISDIGIT_L)/g' \ -e 's/@''HAVE_ISGRAPH_L''@/$(HAVE_ISGRAPH_L)/g' \ -e 's/@''HAVE_ISLOWER_L''@/$(HAVE_ISLOWER_L)/g' \ -e 's/@''HAVE_ISPRINT_L''@/$(HAVE_ISPRINT_L)/g' \ -e 's/@''HAVE_ISPUNCT_L''@/$(HAVE_ISPUNCT_L)/g' \ -e 's/@''HAVE_ISSPACE_L''@/$(HAVE_ISSPACE_L)/g' \ -e 's/@''HAVE_ISUPPER_L''@/$(HAVE_ISUPPER_L)/g' \ -e 's/@''HAVE_ISXDIGIT_L''@/$(HAVE_ISXDIGIT_L)/g' \ -e 's/@''HAVE_TOLOWER_L''@/$(HAVE_TOLOWER_L)/g' \ -e 's/@''HAVE_TOUPPER_L''@/$(HAVE_TOUPPER_L)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/ctype.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/ctype.h lib/ctype.h-t EXTRA_DIST += lib/ctype.in.h ## end gnulib module ctype-h ## begin gnulib module dirname lib_libdatamash_a_SOURCES += lib/dirname.c lib/basename.c EXTRA_DIST += lib/stripslash.c EXTRA_lib_libdatamash_a_SOURCES += lib/stripslash.c ## end gnulib module dirname ## begin gnulib module dirname-lgpl lib_libdatamash_a_SOURCES += lib/dirname-lgpl.c lib/stripslash.c EXTRA_DIST += lib/dirname.h ## end gnulib module dirname-lgpl ## begin gnulib module do-release-commit-and-tag EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag ## end gnulib module do-release-commit-and-tag ## begin gnulib module dup2 if GL_COND_OBJ_DUP2 lib_libdatamash_a_SOURCES += lib/dup2.c endif ## end gnulib module dup2 ## begin gnulib module errno-h BUILT_SOURCES += $(ERRNO_H) # We need the following in order to create when the system # doesn't have one that is POSIX compliant. if GL_GENERATE_ERRNO_H lib/errno.h: lib/errno.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ $(top_srcdir)/lib/errno.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/errno.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/errno.h lib/errno.h-t EXTRA_DIST += lib/errno.in.h ## end gnulib module errno-h ## begin gnulib module error if GL_COND_OBJ_ERROR lib_libdatamash_a_SOURCES += lib/error.c endif ## end gnulib module error ## begin gnulib module error-h BUILT_SOURCES += lib/error.h # We need the following in order to override . lib/error.h: lib/error.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_ERROR_H''@|$(HAVE_ERROR_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''NEXT_ERROR_H''@|$(NEXT_ERROR_H)|g' \ -e 's|@''HAVE_ERROR''@|$(HAVE_ERROR)|g' \ -e 's|@''HAVE_ERROR_AT_LINE''@|$(HAVE_ERROR_AT_LINE)|g' \ -e 's|@''REPLACE_ERROR''@|$(REPLACE_ERROR)|g' \ -e 's|@''REPLACE_ERROR_AT_LINE''@|$(REPLACE_ERROR_AT_LINE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ $(top_srcdir)/lib/error.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/error.h lib/error.h-t EXTRA_DIST += lib/error.in.h ## end gnulib module error-h ## begin gnulib module exitfail lib_libdatamash_a_SOURCES += lib/exitfail.c EXTRA_DIST += lib/exitfail.h ## end gnulib module exitfail ## begin gnulib module expl if GL_COND_OBJ_EXPL lib_libdatamash_a_SOURCES += lib/expl.c endif EXTRA_DIST += lib/expl-table.c EXTRA_lib_libdatamash_a_SOURCES += lib/expl-table.c ## end gnulib module expl ## begin gnulib module fabsl if GL_COND_OBJ_FABSL lib_libdatamash_a_SOURCES += lib/fabsl.c endif ## end gnulib module fabsl ## begin gnulib module fcntl if GL_COND_OBJ_FCNTL lib_libdatamash_a_SOURCES += lib/fcntl.c endif ## end gnulib module fcntl ## begin gnulib module fcntl-h BUILT_SOURCES += lib/fcntl.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/fcntl.h: lib/fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \ -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \ -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \ -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \ -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \ -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \ -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/fcntl.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/fcntl.h lib/fcntl.h-t EXTRA_DIST += lib/fcntl.in.h ## end gnulib module fcntl-h ## begin gnulib module fd-hook lib_libdatamash_a_SOURCES += lib/fd-hook.c EXTRA_DIST += lib/fd-hook.h ## end gnulib module fd-hook ## begin gnulib module fflush if GL_COND_OBJ_FFLUSH lib_libdatamash_a_SOURCES += lib/fflush.c endif EXTRA_DIST += lib/stdio-impl.h ## end gnulib module fflush ## begin gnulib module filename EXTRA_DIST += lib/filename.h ## end gnulib module filename ## begin gnulib module flexmember EXTRA_DIST += lib/flexmember.h ## end gnulib module flexmember ## begin gnulib module float-h BUILT_SOURCES += $(FLOAT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_FLOAT_H lib/float.h: lib/float.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ $(top_srcdir)/lib/float.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/float.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/float.h lib/float.h-t if GL_COND_OBJ_FLOAT lib_libdatamash_a_SOURCES += lib/float.c endif if GL_COND_OBJ_ITOLD lib_libdatamash_a_SOURCES += lib/itold.c endif EXTRA_DIST += lib/float.in.h ## end gnulib module float-h ## begin gnulib module floor if GL_COND_OBJ_FLOOR lib_libdatamash_a_SOURCES += lib/floor.c endif ## end gnulib module floor ## begin gnulib module floorl if GL_COND_OBJ_FLOORL lib_libdatamash_a_SOURCES += lib/floorl.c endif EXTRA_DIST += lib/floor.c EXTRA_lib_libdatamash_a_SOURCES += lib/floor.c ## end gnulib module floorl ## begin gnulib module fpending if GL_COND_OBJ_FPENDING lib_libdatamash_a_SOURCES += lib/fpending.c endif EXTRA_DIST += lib/fpending.h lib/stdio-impl.h ## end gnulib module fpending ## begin gnulib module fpucw EXTRA_DIST += lib/fpucw.h ## end gnulib module fpucw ## begin gnulib module fpurge if GL_COND_OBJ_FPURGE lib_libdatamash_a_SOURCES += lib/fpurge.c endif EXTRA_DIST += lib/stdio-impl.h ## end gnulib module fpurge ## begin gnulib module freading lib_libdatamash_a_SOURCES += lib/freading.c EXTRA_DIST += lib/freading.h lib/stdio-impl.h ## end gnulib module freading ## begin gnulib module free-posix if GL_COND_OBJ_FREE lib_libdatamash_a_SOURCES += lib/free.c endif ## end gnulib module free-posix ## begin gnulib module frexp EXTRA_DIST += lib/frexp.c EXTRA_lib_libdatamash_a_SOURCES += lib/frexp.c ## end gnulib module frexp ## begin gnulib module frexpl EXTRA_DIST += lib/frexp.c lib/frexpl.c EXTRA_lib_libdatamash_a_SOURCES += lib/frexp.c lib/frexpl.c ## end gnulib module frexpl ## begin gnulib module fseek if GL_COND_OBJ_FSEEK lib_libdatamash_a_SOURCES += lib/fseek.c endif ## end gnulib module fseek ## begin gnulib module fseeko if GL_COND_OBJ_FSEEKO lib_libdatamash_a_SOURCES += lib/fseeko.c endif EXTRA_DIST += lib/stdio-impl.h ## end gnulib module fseeko ## begin gnulib module fstat if GL_COND_OBJ_FSTAT lib_libdatamash_a_SOURCES += lib/fstat.c endif EXTRA_DIST += lib/stat-w32.c lib/stat-w32.h EXTRA_lib_libdatamash_a_SOURCES += lib/stat-w32.c ## end gnulib module fstat ## begin gnulib module ftell if GL_COND_OBJ_FTELL lib_libdatamash_a_SOURCES += lib/ftell.c endif ## end gnulib module ftell ## begin gnulib module ftello if GL_COND_OBJ_FTELLO lib_libdatamash_a_SOURCES += lib/ftello.c endif EXTRA_DIST += lib/stdio-impl.h ## end gnulib module ftello ## begin gnulib module gen-header # In 'sed', replace the pattern space with a "DO NOT EDIT" comment. SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */, # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT". SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading # "DO_NOT_EDIT". Although this could be done more simply via: # SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t # the -n and 'w' avoid a fork+exec, at least when GNU Make is used. SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t' # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that # is its recipe's first line if and only if @NMD@ lines are absent. gl_V_at = $(AM_V_at) ## end gnulib module gen-header ## begin gnulib module gendocs EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh ## end gnulib module gendocs ## begin gnulib module getdtablesize if GL_COND_OBJ_GETDTABLESIZE lib_libdatamash_a_SOURCES += lib/getdtablesize.c endif ## end gnulib module getdtablesize ## begin gnulib module getlocalename_l-unsafe if !GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED lib_libdatamash_a_SOURCES += lib/getlocalename_l-unsafe.c endif lib_libdatamash_a_SOURCES += lib/localename-table.c EXTRA_DIST += lib/getlocalename_l-unsafe.h lib/localename-table.h lib/struniq.h ## end gnulib module getlocalename_l-unsafe ## begin gnulib module getlocalename_l-unsafe-limited if GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED lib_libdatamash_a_SOURCES += lib/getlocalename_l-unsafe.c endif EXTRA_DIST += lib/getlocalename_l-unsafe.h ## end gnulib module getlocalename_l-unsafe-limited ## begin gnulib module getopt-posix BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_GETOPT_H lib/getopt.h: lib/getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ $(top_srcdir)/lib/getopt.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/getopt.h: $(top_builddir)/config.status rm -f $@ endif if GL_GENERATE_GETOPT_CDEFS_H lib/getopt-cdefs.h: lib/getopt-cdefs.in.h $(top_builddir)/config.status $(AM_V_GEN)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ $(top_srcdir)/lib/getopt-cdefs.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/getopt-cdefs.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/getopt.h lib/getopt.h-t lib/getopt-cdefs.h lib/getopt-cdefs.h-t if GL_COND_OBJ_GETOPT lib_libdatamash_a_SOURCES += lib/getopt.c lib/getopt1.c endif EXTRA_DIST += lib/getopt-cdefs.in.h lib/getopt-core.h lib/getopt-ext.h lib/getopt-pfx-core.h lib/getopt-pfx-ext.h lib/getopt.in.h lib/getopt_int.h ## end gnulib module getopt-posix ## begin gnulib module getprogname if GL_COND_OBJ_GETPROGNAME lib_libdatamash_a_SOURCES += lib/getprogname.c endif EXTRA_DIST += lib/getprogname.h ## end gnulib module getprogname ## begin gnulib module getrandom if GL_COND_OBJ_GETRANDOM lib_libdatamash_a_SOURCES += lib/getrandom.c endif ## end gnulib module getrandom ## begin gnulib module gettext-h lib_libdatamash_a_SOURCES += lib/gettext.h ## end gnulib module gettext-h ## begin gnulib module git-version-gen EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen ## end gnulib module git-version-gen ## begin gnulib module gitlog-to-changelog EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog ## end gnulib module gitlog-to-changelog ## begin gnulib module gnu-web-doc-update EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update ## end gnulib module gnu-web-doc-update ## begin gnulib module gnumakefile EXTRA_DIST += $(top_srcdir)/GNUmakefile distclean-local: clean-GNUmakefile clean-GNUmakefile: test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile ## end gnulib module gnumakefile ## begin gnulib module gnupload EXTRA_DIST += $(top_srcdir)/build-aux/gnupload ## end gnulib module gnupload ## begin gnulib module gperf GPERF = gperf V_GPERF = $(V_GPERF_@AM_V@) V_GPERF_ = $(V_GPERF_@AM_DEFAULT_V@) V_GPERF_0 = @echo " GPERF " $@; ## end gnulib module gperf ## begin gnulib module hard-locale lib_libdatamash_a_SOURCES += lib/hard-locale.c EXTRA_DIST += lib/hard-locale.h ## end gnulib module hard-locale ## begin gnulib module hash lib_libdatamash_a_SOURCES += lib/hash.c EXTRA_DIST += lib/hash.h ## end gnulib module hash ## begin gnulib module hash-pjw lib_libdatamash_a_SOURCES += lib/hash-pjw.h lib/hash-pjw.c ## end gnulib module hash-pjw ## begin gnulib module hash-pjw-bare lib_libdatamash_a_SOURCES += lib/hash-pjw-bare.h lib/hash-pjw-bare.c ## end gnulib module hash-pjw-bare ## begin gnulib module havelib EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath ## end gnulib module havelib ## begin gnulib module ialloc lib_libdatamash_a_SOURCES += lib/ialloc.c EXTRA_DIST += lib/ialloc.h ## end gnulib module ialloc ## begin gnulib module iconv-h BUILT_SOURCES += $(ICONV_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_ICONV_H lib/iconv.h: lib/iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ -e 's/@''GNULIB_ICONV''@/$(GL_GNULIB_ICONV)/g' \ -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/iconv.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/iconv.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/iconv.h lib/iconv.h-t EXTRA_DIST += lib/iconv.in.h ## end gnulib module iconv-h ## begin gnulib module iconv_open if GL_COND_OBJ_ICONV_OPEN lib_libdatamash_a_SOURCES += lib/iconv_open.c endif if GL_COND_OBJ_ICONV lib_libdatamash_a_SOURCES += lib/iconv.c lib/iconv_close.c endif $(top_srcdir)/lib/iconv_open-aix.h: $(top_srcdir)/lib/iconv_open-aix.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-aix.gperf > $(top_srcdir)/lib/iconv_open-aix.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-aix\.gperf\([ "]\)|\1iconv_open-aix.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-aix.h-t1 > $(top_srcdir)/lib/iconv_open-aix.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-aix.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-aix.h-t2 $(top_srcdir)/lib/iconv_open-aix.h $(top_srcdir)/lib/iconv_open-hpux.h: $(top_srcdir)/lib/iconv_open-hpux.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-hpux.gperf > $(top_srcdir)/lib/iconv_open-hpux.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-hpux\.gperf\([ "]\)|\1iconv_open-hpux.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-hpux.h-t1 > $(top_srcdir)/lib/iconv_open-hpux.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-hpux.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-hpux.h-t2 $(top_srcdir)/lib/iconv_open-hpux.h $(top_srcdir)/lib/iconv_open-irix.h: $(top_srcdir)/lib/iconv_open-irix.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-irix.gperf > $(top_srcdir)/lib/iconv_open-irix.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-irix\.gperf\([ "]\)|\1iconv_open-irix.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-irix.h-t1 > $(top_srcdir)/lib/iconv_open-irix.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-irix.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-irix.h-t2 $(top_srcdir)/lib/iconv_open-irix.h $(top_srcdir)/lib/iconv_open-osf.h: $(top_srcdir)/lib/iconv_open-osf.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-osf.gperf > $(top_srcdir)/lib/iconv_open-osf.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-osf\.gperf\([ "]\)|\1iconv_open-osf.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-osf.h-t1 > $(top_srcdir)/lib/iconv_open-osf.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-osf.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-osf.h-t2 $(top_srcdir)/lib/iconv_open-osf.h $(top_srcdir)/lib/iconv_open-solaris.h: $(top_srcdir)/lib/iconv_open-solaris.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-solaris.gperf > $(top_srcdir)/lib/iconv_open-solaris.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-solaris\.gperf\([ "]\)|\1iconv_open-solaris.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-solaris.h-t1 > $(top_srcdir)/lib/iconv_open-solaris.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-solaris.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-solaris.h-t2 $(top_srcdir)/lib/iconv_open-solaris.h $(top_srcdir)/lib/iconv_open-zos.h: $(top_srcdir)/lib/iconv_open-zos.gperf $(V_GPERF)$(GPERF) -m 10 $(top_srcdir)/lib/iconv_open-zos.gperf > $(top_srcdir)/lib/iconv_open-zos.h-t1 \ && sed -e 's|\([ "]\)[^ "]*/iconv_open-zos\.gperf\([ "]\)|\1iconv_open-zos.gperf\2|' \ < $(top_srcdir)/lib/iconv_open-zos.h-t1 > $(top_srcdir)/lib/iconv_open-zos.h-t2 \ && rm -f $(top_srcdir)/lib/iconv_open-zos.h-t1 \ && mv $(top_srcdir)/lib/iconv_open-zos.h-t2 $(top_srcdir)/lib/iconv_open-zos.h BUILT_SOURCES += lib/iconv_open-aix.h lib/iconv_open-hpux.h lib/iconv_open-irix.h lib/iconv_open-osf.h lib/iconv_open-solaris.h lib/iconv_open-zos.h MOSTLYCLEANFILES += lib/iconv_open-aix.h-t1 lib/iconv_open-aix.h-t2 \ iconv_open-hpux.h-t1 iconv_open-hpux.h-t2 \ iconv_open-irix.h-t1 iconv_open-irix.h-t2 \ iconv_open-osf.h-t1 iconv_open-osf.h-t2 \ iconv_open-solaris.h-t1 iconv_open-solaris.h-t2 \ iconv_open-zos.h-t1 iconv_open-zos.h-t2 MAINTAINERCLEANFILES += lib/iconv_open-aix.h lib/iconv_open-hpux.h lib/iconv_open-irix.h lib/iconv_open-osf.h lib/iconv_open-solaris.h lib/iconv_open-zos.h EXTRA_DIST += lib/iconv_open-aix.h lib/iconv_open-hpux.h lib/iconv_open-irix.h lib/iconv_open-osf.h lib/iconv_open-solaris.h lib/iconv_open-zos.h EXTRA_DIST += lib/iconv_open-aix.gperf lib/iconv_open-hpux.gperf lib/iconv_open-irix.gperf lib/iconv_open-osf.gperf lib/iconv_open-solaris.gperf lib/iconv_open-zos.gperf ## end gnulib module iconv_open ## begin gnulib module idx lib_libdatamash_a_SOURCES += lib/idx.h ## end gnulib module idx ## begin gnulib module ignore-value EXTRA_DIST += lib/ignore-value.h ## end gnulib module ignore-value ## begin gnulib module inet_pton if GL_COND_OBJ_INET_PTON lib_libdatamash_a_SOURCES += lib/inet_pton.c endif ## end gnulib module inet_pton ## begin gnulib module intprops EXTRA_DIST += lib/intprops-internal.h lib/intprops.h ## end gnulib module intprops ## begin gnulib module inttostr lib_libdatamash_a_SOURCES += lib/imaxtostr.c lib/inttostr.c lib/offtostr.c lib/uinttostr.c lib/umaxtostr.c EXTRA_DIST += lib/anytostr.c lib/inttostr.h EXTRA_lib_libdatamash_a_SOURCES += lib/anytostr.c ## end gnulib module inttostr ## begin gnulib module inttypes-h-incomplete BUILT_SOURCES += lib/inttypes.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/inttypes.h: lib/inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \ -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \ -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \ -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \ -e 's/@''REPLACE_IMAXABS''@/$(REPLACE_IMAXABS)/g' \ -e 's/@''REPLACE_IMAXDIV''@/$(REPLACE_IMAXDIV)/g' \ -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \ -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/inttypes.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/inttypes.h lib/inttypes.h-t EXTRA_DIST += lib/inttypes.in.h ## end gnulib module inttypes-h-incomplete ## begin gnulib module isblank if GL_COND_OBJ_ISBLANK lib_libdatamash_a_SOURCES += lib/isblank.c endif ## end gnulib module isblank ## begin gnulib module isfinite if GL_COND_OBJ_ISFINITE lib_libdatamash_a_SOURCES += lib/isfinite.c endif ## end gnulib module isfinite ## begin gnulib module isinf if GL_COND_OBJ_ISINF lib_libdatamash_a_SOURCES += lib/isinf.c endif ## end gnulib module isinf ## begin gnulib module isnand EXTRA_DIST += lib/float+.h lib/isnan.c lib/isnand.c EXTRA_lib_libdatamash_a_SOURCES += lib/isnan.c lib/isnand.c ## end gnulib module isnand ## begin gnulib module isnand-nolibm EXTRA_DIST += lib/float+.h lib/isnan.c lib/isnand-nolibm.h lib/isnand.c EXTRA_lib_libdatamash_a_SOURCES += lib/isnan.c lib/isnand.c ## end gnulib module isnand-nolibm ## begin gnulib module isnanf-nolibm EXTRA_DIST += lib/float+.h lib/isnan.c lib/isnanf-nolibm.h lib/isnanf.c EXTRA_lib_libdatamash_a_SOURCES += lib/isnan.c lib/isnanf.c ## end gnulib module isnanf-nolibm ## begin gnulib module isnanl EXTRA_DIST += lib/float+.h lib/isnan.c lib/isnanl.c EXTRA_lib_libdatamash_a_SOURCES += lib/isnan.c lib/isnanl.c ## end gnulib module isnanl ## begin gnulib module isnanl-nolibm EXTRA_DIST += lib/float+.h lib/isnan.c lib/isnanl-nolibm.h lib/isnanl.c EXTRA_lib_libdatamash_a_SOURCES += lib/isnan.c lib/isnanl.c ## end gnulib module isnanl-nolibm ## begin gnulib module iswblank if GL_COND_OBJ_ISWBLANK lib_libdatamash_a_SOURCES += lib/iswblank.c endif ## end gnulib module iswblank ## begin gnulib module iswdigit if GL_COND_OBJ_ISWDIGIT lib_libdatamash_a_SOURCES += lib/iswdigit.c endif ## end gnulib module iswdigit ## begin gnulib module iswpunct if GL_COND_OBJ_ISWPUNCT lib_libdatamash_a_SOURCES += lib/iswpunct.c endif ## end gnulib module iswpunct ## begin gnulib module iswxdigit if GL_COND_OBJ_ISWXDIGIT lib_libdatamash_a_SOURCES += lib/iswxdigit.c endif ## end gnulib module iswxdigit ## begin gnulib module ldexp if GL_COND_OBJ_LDEXP lib_libdatamash_a_SOURCES += lib/ldexp.c endif ## end gnulib module ldexp ## begin gnulib module ldexpl if GL_COND_OBJ_LDEXPL lib_libdatamash_a_SOURCES += lib/ldexpl.c endif EXTRA_DIST += lib/ldexp.c EXTRA_lib_libdatamash_a_SOURCES += lib/ldexp.c ## end gnulib module ldexpl ## begin gnulib module libc-config EXTRA_DIST += lib/cdefs.h lib/libc-config.h ## end gnulib module libc-config ## begin gnulib module limits-h BUILT_SOURCES += $(LIMITS_H) # We need the following in order to create when the system # doesn't have one that is compatible with GNU. if GL_GENERATE_LIMITS_H lib/limits.h: lib/limits.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \ $(top_srcdir)/lib/limits.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/limits.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/limits.h lib/limits.h-t EXTRA_DIST += lib/limits.in.h ## end gnulib module limits-h ## begin gnulib module linebuffer lib_libdatamash_a_SOURCES += lib/linebuffer.h lib/linebuffer.c ## end gnulib module linebuffer ## begin gnulib module localcharset lib_libdatamash_a_SOURCES += lib/localcharset.c EXTRA_DIST += lib/localcharset.h ## end gnulib module localcharset ## begin gnulib module locale-h BUILT_SOURCES += lib/locale.h # We need the following in order to create when the system # doesn't have one that provides all definitions. lib/locale.h: lib/locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ -e 's|@''HAVE_LOCALE_T''@|$(HAVE_LOCALE_T)|g' \ -e 's|@''HAVE_WINDOWS_LOCALE_T''@|$(HAVE_WINDOWS_LOCALE_T)|g' \ -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \ -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \ -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \ -e 's/@''GNULIB_NEWLOCALE''@/$(GL_GNULIB_NEWLOCALE)/g' \ -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \ -e 's/@''GNULIB_FREELOCALE''@/$(GL_GNULIB_FREELOCALE)/g' \ -e 's/@''GNULIB_GETLOCALENAME_L''@/$(GL_GNULIB_GETLOCALENAME_L)/g' \ -e 's/@''GNULIB_GETLOCALENAME_L_UNSAFE''@/$(GL_GNULIB_GETLOCALENAME_L_UNSAFE)/g' \ -e 's/@''GNULIB_LOCALENAME_UNSAFE''@/$(GL_GNULIB_LOCALENAME_UNSAFE)/g' \ -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \ -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \ -e 's|@''HAVE_GETLOCALENAME_L''@|$(HAVE_GETLOCALENAME_L)|g' \ -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \ -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \ -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \ -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \ -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \ -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \ -e 's|@''REPLACE_GETLOCALENAME_L''@|$(REPLACE_GETLOCALENAME_L)|g' \ -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \ -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/locale.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/locale.h lib/locale.h-t EXTRA_DIST += lib/locale.in.h ## end gnulib module locale-h ## begin gnulib module localeconv if GL_COND_OBJ_LOCALECONV lib_libdatamash_a_SOURCES += lib/localeconv.c endif ## end gnulib module localeconv ## begin gnulib module localename lib_libdatamash_a_SOURCES += lib/localename.c EXTRA_DIST += lib/localename.h lib/struniq.h ## end gnulib module localename ## begin gnulib module localename-environ lib_libdatamash_a_SOURCES += lib/localename-environ.c EXTRA_DIST += lib/localename.h ## end gnulib module localename-environ ## begin gnulib module localename-unsafe if !GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED lib_libdatamash_a_SOURCES += lib/localename-unsafe.c endif EXTRA_DIST += lib/localename.h ## end gnulib module localename-unsafe ## begin gnulib module localename-unsafe-limited if GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED lib_libdatamash_a_SOURCES += lib/localename-unsafe.c endif EXTRA_DIST += lib/localename.h ## end gnulib module localename-unsafe-limited ## begin gnulib module lock lib_libdatamash_a_SOURCES += lib/glthread/lock.h lib/glthread/lock.c ## end gnulib module lock ## begin gnulib module log if GL_COND_OBJ_LOG lib_libdatamash_a_SOURCES += lib/log.c endif ## end gnulib module log ## begin gnulib module logl if GL_COND_OBJ_LOGL lib_libdatamash_a_SOURCES += lib/logl.c endif ## end gnulib module logl ## begin gnulib module lseek if GL_COND_OBJ_LSEEK lib_libdatamash_a_SOURCES += lib/lseek.c endif ## end gnulib module lseek ## begin gnulib module maintainer-makefile EXTRA_DIST += $(top_srcdir)/maint.mk ## end gnulib module maintainer-makefile ## begin gnulib module malloc-gnu EXTRA_DIST += lib/malloc.c EXTRA_lib_libdatamash_a_SOURCES += lib/malloc.c ## end gnulib module malloc-gnu ## begin gnulib module malloc-posix EXTRA_DIST += lib/malloc.c EXTRA_lib_libdatamash_a_SOURCES += lib/malloc.c ## end gnulib module malloc-posix ## begin gnulib module malloca lib_libdatamash_a_SOURCES += lib/malloca.c EXTRA_DIST += lib/malloca.h ## end gnulib module malloca ## begin gnulib module math-h BUILT_SOURCES += lib/math.h lib_libdatamash_a_SOURCES += lib/math.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/math.h: lib/math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \ -e 's/@''GNULIB_ACOSF''@/$(GL_GNULIB_ACOSF)/g' \ -e 's/@''GNULIB_ACOSL''@/$(GL_GNULIB_ACOSL)/g' \ -e 's/@''GNULIB_ASINF''@/$(GL_GNULIB_ASINF)/g' \ -e 's/@''GNULIB_ASINL''@/$(GL_GNULIB_ASINL)/g' \ -e 's/@''GNULIB_ATANF''@/$(GL_GNULIB_ATANF)/g' \ -e 's/@''GNULIB_ATANL''@/$(GL_GNULIB_ATANL)/g' \ -e 's/@''GNULIB_ATAN2F''@/$(GL_GNULIB_ATAN2F)/g' \ -e 's/@''GNULIB_CBRT''@/$(GL_GNULIB_CBRT)/g' \ -e 's/@''GNULIB_CBRTF''@/$(GL_GNULIB_CBRTF)/g' \ -e 's/@''GNULIB_CBRTL''@/$(GL_GNULIB_CBRTL)/g' \ -e 's/@''GNULIB_CEIL''@/$(GL_GNULIB_CEIL)/g' \ -e 's/@''GNULIB_CEILF''@/$(GL_GNULIB_CEILF)/g' \ -e 's/@''GNULIB_CEILL''@/$(GL_GNULIB_CEILL)/g' \ -e 's/@''GNULIB_COPYSIGN''@/$(GL_GNULIB_COPYSIGN)/g' \ -e 's/@''GNULIB_COPYSIGNF''@/$(GL_GNULIB_COPYSIGNF)/g' \ -e 's/@''GNULIB_COPYSIGNL''@/$(GL_GNULIB_COPYSIGNL)/g' \ -e 's/@''GNULIB_COSF''@/$(GL_GNULIB_COSF)/g' \ -e 's/@''GNULIB_COSL''@/$(GL_GNULIB_COSL)/g' \ -e 's/@''GNULIB_COSHF''@/$(GL_GNULIB_COSHF)/g' \ -e 's/@''GNULIB_EXPF''@/$(GL_GNULIB_EXPF)/g' \ -e 's/@''GNULIB_EXPL''@/$(GL_GNULIB_EXPL)/g' \ -e 's/@''GNULIB_EXP2''@/$(GL_GNULIB_EXP2)/g' \ -e 's/@''GNULIB_EXP2F''@/$(GL_GNULIB_EXP2F)/g' \ -e 's/@''GNULIB_EXP2L''@/$(GL_GNULIB_EXP2L)/g' \ -e 's/@''GNULIB_EXPM1''@/$(GL_GNULIB_EXPM1)/g' \ -e 's/@''GNULIB_EXPM1F''@/$(GL_GNULIB_EXPM1F)/g' \ -e 's/@''GNULIB_EXPM1L''@/$(GL_GNULIB_EXPM1L)/g' \ -e 's/@''GNULIB_FABSF''@/$(GL_GNULIB_FABSF)/g' \ -e 's/@''GNULIB_FABSL''@/$(GL_GNULIB_FABSL)/g' \ -e 's/@''GNULIB_FLOOR''@/$(GL_GNULIB_FLOOR)/g' \ -e 's/@''GNULIB_FLOORF''@/$(GL_GNULIB_FLOORF)/g' \ -e 's/@''GNULIB_FLOORL''@/$(GL_GNULIB_FLOORL)/g' \ -e 's/@''GNULIB_FMA''@/$(GL_GNULIB_FMA)/g' \ -e 's/@''GNULIB_FMAF''@/$(GL_GNULIB_FMAF)/g' \ -e 's/@''GNULIB_FMAL''@/$(GL_GNULIB_FMAL)/g' \ -e 's/@''GNULIB_FMOD''@/$(GL_GNULIB_FMOD)/g' \ -e 's/@''GNULIB_FMODF''@/$(GL_GNULIB_FMODF)/g' \ -e 's/@''GNULIB_FMODL''@/$(GL_GNULIB_FMODL)/g' \ -e 's/@''GNULIB_FREXPF''@/$(GL_GNULIB_FREXPF)/g' \ -e 's/@''GNULIB_FREXP''@/$(GL_GNULIB_FREXP)/g' \ -e 's/@''GNULIB_FREXPL''@/$(GL_GNULIB_FREXPL)/g' \ -e 's/@''GNULIB_GETPAYLOAD''@/$(GL_GNULIB_GETPAYLOAD)/g' \ -e 's/@''GNULIB_GETPAYLOADF''@/$(GL_GNULIB_GETPAYLOADF)/g' \ -e 's/@''GNULIB_GETPAYLOADL''@/$(GL_GNULIB_GETPAYLOADL)/g' \ -e 's/@''GNULIB_HYPOT''@/$(GL_GNULIB_HYPOT)/g' \ -e 's/@''GNULIB_HYPOTF''@/$(GL_GNULIB_HYPOTF)/g' \ -e 's/@''GNULIB_HYPOTL''@/$(GL_GNULIB_HYPOTL)/g' \ < $(top_srcdir)/lib/math.in.h > $@-t1 $(AM_V_at)sed \ -e 's/@''GNULIB_ILOGB''@/$(GL_GNULIB_ILOGB)/g' \ -e 's/@''GNULIB_ILOGBF''@/$(GL_GNULIB_ILOGBF)/g' \ -e 's/@''GNULIB_ILOGBL''@/$(GL_GNULIB_ILOGBL)/g' \ -e 's/@''GNULIB_ISFINITE''@/$(GL_GNULIB_ISFINITE)/g' \ -e 's/@''GNULIB_ISINF''@/$(GL_GNULIB_ISINF)/g' \ -e 's/@''GNULIB_ISNAN''@/$(GL_GNULIB_ISNAN)/g' \ -e 's/@''GNULIB_ISNANF''@/$(GL_GNULIB_ISNANF)/g' \ -e 's/@''GNULIB_ISNAND''@/$(GL_GNULIB_ISNAND)/g' \ -e 's/@''GNULIB_ISNANL''@/$(GL_GNULIB_ISNANL)/g' \ -e 's/@''GNULIB_LDEXP''@/$(GL_GNULIB_LDEXP)/g' \ -e 's/@''GNULIB_LDEXPF''@/$(GL_GNULIB_LDEXPF)/g' \ -e 's/@''GNULIB_LDEXPL''@/$(GL_GNULIB_LDEXPL)/g' \ -e 's/@''GNULIB_LOG''@/$(GL_GNULIB_LOG)/g' \ -e 's/@''GNULIB_LOGF''@/$(GL_GNULIB_LOGF)/g' \ -e 's/@''GNULIB_LOGL''@/$(GL_GNULIB_LOGL)/g' \ -e 's/@''GNULIB_LOG10''@/$(GL_GNULIB_LOG10)/g' \ -e 's/@''GNULIB_LOG10F''@/$(GL_GNULIB_LOG10F)/g' \ -e 's/@''GNULIB_LOG10L''@/$(GL_GNULIB_LOG10L)/g' \ -e 's/@''GNULIB_LOG1P''@/$(GL_GNULIB_LOG1P)/g' \ -e 's/@''GNULIB_LOG1PF''@/$(GL_GNULIB_LOG1PF)/g' \ -e 's/@''GNULIB_LOG1PL''@/$(GL_GNULIB_LOG1PL)/g' \ -e 's/@''GNULIB_LOG2''@/$(GL_GNULIB_LOG2)/g' \ -e 's/@''GNULIB_LOG2F''@/$(GL_GNULIB_LOG2F)/g' \ -e 's/@''GNULIB_LOG2L''@/$(GL_GNULIB_LOG2L)/g' \ -e 's/@''GNULIB_LOGB''@/$(GL_GNULIB_LOGB)/g' \ -e 's/@''GNULIB_LOGBF''@/$(GL_GNULIB_LOGBF)/g' \ -e 's/@''GNULIB_LOGBL''@/$(GL_GNULIB_LOGBL)/g' \ -e 's/@''GNULIB_LOGP1''@/$(GL_GNULIB_LOGP1)/g' \ -e 's/@''GNULIB_LOGP1F''@/$(GL_GNULIB_LOGP1F)/g' \ -e 's/@''GNULIB_LOGP1L''@/$(GL_GNULIB_LOGP1L)/g' \ -e 's/@''GNULIB_MODF''@/$(GL_GNULIB_MODF)/g' \ -e 's/@''GNULIB_MODFF''@/$(GL_GNULIB_MODFF)/g' \ -e 's/@''GNULIB_MODFL''@/$(GL_GNULIB_MODFL)/g' \ -e 's/@''GNULIB_POWF''@/$(GL_GNULIB_POWF)/g' \ -e 's/@''GNULIB_REMAINDER''@/$(GL_GNULIB_REMAINDER)/g' \ -e 's/@''GNULIB_REMAINDERF''@/$(GL_GNULIB_REMAINDERF)/g' \ -e 's/@''GNULIB_REMAINDERL''@/$(GL_GNULIB_REMAINDERL)/g' \ -e 's/@''GNULIB_RINT''@/$(GL_GNULIB_RINT)/g' \ -e 's/@''GNULIB_RINTF''@/$(GL_GNULIB_RINTF)/g' \ -e 's/@''GNULIB_RINTL''@/$(GL_GNULIB_RINTL)/g' \ -e 's/@''GNULIB_ROUND''@/$(GL_GNULIB_ROUND)/g' \ -e 's/@''GNULIB_ROUNDF''@/$(GL_GNULIB_ROUNDF)/g' \ -e 's/@''GNULIB_ROUNDL''@/$(GL_GNULIB_ROUNDL)/g' \ -e 's/@''GNULIB_SETPAYLOAD''@/$(GL_GNULIB_SETPAYLOAD)/g' \ -e 's/@''GNULIB_SETPAYLOADF''@/$(GL_GNULIB_SETPAYLOADF)/g' \ -e 's/@''GNULIB_SETPAYLOADL''@/$(GL_GNULIB_SETPAYLOADL)/g' \ -e 's/@''GNULIB_SETPAYLOADSIG''@/$(GL_GNULIB_SETPAYLOADSIG)/g' \ -e 's/@''GNULIB_SETPAYLOADSIGF''@/$(GL_GNULIB_SETPAYLOADSIGF)/g' \ -e 's/@''GNULIB_SETPAYLOADSIGL''@/$(GL_GNULIB_SETPAYLOADSIGL)/g' \ -e 's/@''GNULIB_SIGNBIT''@/$(GL_GNULIB_SIGNBIT)/g' \ -e 's/@''GNULIB_SINF''@/$(GL_GNULIB_SINF)/g' \ -e 's/@''GNULIB_SINL''@/$(GL_GNULIB_SINL)/g' \ -e 's/@''GNULIB_SINHF''@/$(GL_GNULIB_SINHF)/g' \ -e 's/@''GNULIB_SQRTF''@/$(GL_GNULIB_SQRTF)/g' \ -e 's/@''GNULIB_SQRTL''@/$(GL_GNULIB_SQRTL)/g' \ -e 's/@''GNULIB_TANF''@/$(GL_GNULIB_TANF)/g' \ -e 's/@''GNULIB_TANL''@/$(GL_GNULIB_TANL)/g' \ -e 's/@''GNULIB_TANHF''@/$(GL_GNULIB_TANHF)/g' \ -e 's/@''GNULIB_TRUNC''@/$(GL_GNULIB_TRUNC)/g' \ -e 's/@''GNULIB_TRUNCF''@/$(GL_GNULIB_TRUNCF)/g' \ -e 's/@''GNULIB_TRUNCL''@/$(GL_GNULIB_TRUNCL)/g' \ -e 's/@''GNULIB_TOTALORDER''@/$(GL_GNULIB_TOTALORDER)/g' \ -e 's/@''GNULIB_TOTALORDERF''@/$(GL_GNULIB_TOTALORDERF)/g' \ -e 's/@''GNULIB_TOTALORDERL''@/$(GL_GNULIB_TOTALORDERL)/g' \ -e 's/@''GNULIB_TOTALORDERMAG''@/$(GL_GNULIB_TOTALORDERMAG)/g' \ -e 's/@''GNULIB_TOTALORDERMAGF''@/$(GL_GNULIB_TOTALORDERMAGF)/g' \ -e 's/@''GNULIB_TOTALORDERMAGL''@/$(GL_GNULIB_TOTALORDERMAGL)/g' \ -e 's/@''GNULIB_MDA_J0''@/$(GL_GNULIB_MDA_J0)/g' \ -e 's/@''GNULIB_MDA_J1''@/$(GL_GNULIB_MDA_J1)/g' \ -e 's/@''GNULIB_MDA_JN''@/$(GL_GNULIB_MDA_JN)/g' \ -e 's/@''GNULIB_MDA_Y0''@/$(GL_GNULIB_MDA_Y0)/g' \ -e 's/@''GNULIB_MDA_Y1''@/$(GL_GNULIB_MDA_Y1)/g' \ -e 's/@''GNULIB_MDA_YN''@/$(GL_GNULIB_MDA_YN)/g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \ -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \ -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \ -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \ -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \ -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \ -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \ -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \ -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \ -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \ -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \ -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \ -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \ -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \ -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \ -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \ -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \ -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \ -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \ -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \ -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \ -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \ -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \ -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \ -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \ -e 's|@''HAVE_GETPAYLOAD''@|$(HAVE_GETPAYLOAD)|g' \ -e 's|@''HAVE_GETPAYLOADF''@|$(HAVE_GETPAYLOADF)|g' \ -e 's|@''HAVE_GETPAYLOADL''@|$(HAVE_GETPAYLOADL)|g' \ -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \ -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \ -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \ -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \ -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \ -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \ -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \ -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \ -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \ -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \ -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \ -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \ -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \ -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \ -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \ -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \ -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \ -e 's|@''HAVE_LOGP1''@|$(HAVE_LOGP1)|g' \ -e 's|@''HAVE_LOGP1F''@|$(HAVE_LOGP1F)|g' \ -e 's|@''HAVE_LOGP1L''@|$(HAVE_LOGP1L)|g' \ -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \ -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \ -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \ -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \ -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \ -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \ -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \ -e 's|@''HAVE_SETPAYLOAD''@|$(HAVE_SETPAYLOAD)|g' \ -e 's|@''HAVE_SETPAYLOADF''@|$(HAVE_SETPAYLOADF)|g' \ -e 's|@''HAVE_SETPAYLOADL''@|$(HAVE_SETPAYLOADL)|g' \ -e 's|@''HAVE_SETPAYLOADSIG''@|$(HAVE_SETPAYLOADSIG)|g' \ -e 's|@''HAVE_SETPAYLOADSIGF''@|$(HAVE_SETPAYLOADSIGF)|g' \ -e 's|@''HAVE_SETPAYLOADSIGL''@|$(HAVE_SETPAYLOADSIGL)|g' \ -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \ -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \ -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \ -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \ -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \ -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \ -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \ -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \ -e 's|@''HAVE_TOTALORDER''@|$(HAVE_TOTALORDER)|g' \ -e 's|@''HAVE_TOTALORDERF''@|$(HAVE_TOTALORDERF)|g' \ -e 's|@''HAVE_TOTALORDERL''@|$(HAVE_TOTALORDERL)|g' \ -e 's|@''HAVE_TOTALORDERMAG''@|$(HAVE_TOTALORDERMAG)|g' \ -e 's|@''HAVE_TOTALORDERMAGF''@|$(HAVE_TOTALORDERMAGF)|g' \ -e 's|@''HAVE_TOTALORDERMAGL''@|$(HAVE_TOTALORDERMAGL)|g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \ -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \ -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \ -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \ -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \ -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \ -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \ -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \ -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \ -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \ -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \ -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \ -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \ -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \ -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \ -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \ -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \ -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \ -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \ -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \ -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \ -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \ -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \ -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \ -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \ -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \ -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \ -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \ -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \ -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \ -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \ -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \ -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \ < $@-t3 > $@-t4 $(AM_V_at)sed \ -e 's|@''REPLACE_ACOSF''@|$(REPLACE_ACOSF)|g' \ -e 's|@''REPLACE_ASINF''@|$(REPLACE_ASINF)|g' \ -e 's|@''REPLACE_ATANF''@|$(REPLACE_ATANF)|g' \ -e 's|@''REPLACE_ATAN2F''@|$(REPLACE_ATAN2F)|g' \ -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \ -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \ -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \ -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \ -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ -e 's|@''REPLACE_COSF''@|$(REPLACE_COSF)|g' \ -e 's|@''REPLACE_COSHF''@|$(REPLACE_COSHF)|g' \ -e 's|@''REPLACE_EXPF''@|$(REPLACE_EXPF)|g' \ -e 's|@''REPLACE_EXPL''@|$(REPLACE_EXPL)|g' \ -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \ -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \ -e 's|@''REPLACE_EXPM1L''@|$(REPLACE_EXPM1L)|g' \ -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \ -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \ -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \ -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \ -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \ -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \ -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \ -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \ -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \ -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \ -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \ -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \ -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \ -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \ -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \ -e 's|@''REPLACE_GETPAYLOAD''@|$(REPLACE_GETPAYLOAD)|g' \ -e 's|@''REPLACE_GETPAYLOADF''@|$(REPLACE_GETPAYLOADF)|g' \ -e 's|@''REPLACE_GETPAYLOADL''@|$(REPLACE_GETPAYLOADL)|g' \ -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \ -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \ -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \ -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \ -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \ -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \ -e 's|@''REPLACE_ILOGBL''@|$(REPLACE_ILOGBL)|g' \ -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \ -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \ -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \ -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ < $@-t4 > $@-t5 $(AM_V_at)sed \ -e 's|@''REPLACE_LDEXP''@|$(REPLACE_LDEXP)|g' \ -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \ -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \ -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \ -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \ -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \ -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \ -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \ -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \ -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \ -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \ -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \ -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \ -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \ -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \ -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \ -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \ -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \ -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \ -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \ -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \ -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \ -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \ -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \ -e 's|@''REPLACE_RINTL''@|$(REPLACE_RINTL)|g' \ -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \ -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \ -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \ -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \ -e 's|@''REPLACE_SIGNBIT_USING_BUILTINS''@|$(REPLACE_SIGNBIT_USING_BUILTINS)|g' \ -e 's|@''REPLACE_SINF''@|$(REPLACE_SINF)|g' \ -e 's|@''REPLACE_SINHF''@|$(REPLACE_SINHF)|g' \ -e 's|@''REPLACE_SQRTF''@|$(REPLACE_SQRTF)|g' \ -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \ -e 's|@''REPLACE_TANF''@|$(REPLACE_TANF)|g' \ -e 's|@''REPLACE_TANHF''@|$(REPLACE_TANHF)|g' \ -e 's|@''REPLACE_TOTALORDER''@|$(REPLACE_TOTALORDER)|g' \ -e 's|@''REPLACE_TOTALORDERF''@|$(REPLACE_TOTALORDERF)|g' \ -e 's|@''REPLACE_TOTALORDERL''@|$(REPLACE_TOTALORDERL)|g' \ -e 's|@''REPLACE_TOTALORDERMAG''@|$(REPLACE_TOTALORDERMAG)|g' \ -e 's|@''REPLACE_TOTALORDERMAGF''@|$(REPLACE_TOTALORDERMAGF)|g' \ -e 's|@''REPLACE_TOTALORDERMAGL''@|$(REPLACE_TOTALORDERMAGL)|g' \ -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \ -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \ -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t5 > $@-t6 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $@-t4 $@-t5 $(AM_V_at)mv $@-t6 $@ MOSTLYCLEANFILES += lib/math.h lib/math.h-t1 lib/math.h-t2 lib/math.h-t3 lib/math.h-t4 lib/math.h-t5 lib/math.h-t6 EXTRA_DIST += lib/math.in.h ## end gnulib module math-h ## begin gnulib module mbchar lib_libdatamash_a_SOURCES += lib/mbchar.c EXTRA_DIST += lib/mbchar.h ## end gnulib module mbchar ## begin gnulib module mbrtoc32 if GL_COND_OBJ_MBRTOC32 lib_libdatamash_a_SOURCES += lib/mbrtoc32.c endif EXTRA_DIST += lib/lc-charset-dispatch.c lib/lc-charset-dispatch.h lib/mbrtowc-impl-utf8.h lib/mbrtowc-impl.h lib/mbtowc-lock.c lib/mbtowc-lock.h lib/windows-initguard.h EXTRA_lib_libdatamash_a_SOURCES += lib/lc-charset-dispatch.c lib/mbtowc-lock.c ## end gnulib module mbrtoc32 ## begin gnulib module mbrtowc if GL_COND_OBJ_MBRTOWC lib_libdatamash_a_SOURCES += lib/mbrtowc.c endif EXTRA_DIST += lib/lc-charset-dispatch.c lib/lc-charset-dispatch.h lib/mbrtowc-impl-utf8.h lib/mbrtowc-impl.h lib/mbtowc-lock.c lib/mbtowc-lock.h lib/windows-initguard.h EXTRA_lib_libdatamash_a_SOURCES += lib/lc-charset-dispatch.c lib/mbtowc-lock.c ## end gnulib module mbrtowc ## begin gnulib module mbsinit if GL_COND_OBJ_MBSINIT lib_libdatamash_a_SOURCES += lib/mbsinit.c endif ## end gnulib module mbsinit ## begin gnulib module mbslen lib_libdatamash_a_SOURCES += lib/mbslen.c ## end gnulib module mbslen ## begin gnulib module mbsstr lib_libdatamash_a_SOURCES += lib/mbsstr.c EXTRA_DIST += lib/str-kmp.h ## end gnulib module mbsstr ## begin gnulib module mbszero lib_libdatamash_a_SOURCES += lib/mbszero.c ## end gnulib module mbszero ## begin gnulib module mbuiter lib_libdatamash_a_SOURCES += lib/mbuiter.h lib/mbuiter.c ## end gnulib module mbuiter ## begin gnulib module mbuiterf lib_libdatamash_a_SOURCES += lib/mbuiterf.h lib/mbuiterf.c ## end gnulib module mbuiterf ## begin gnulib module memchr if GL_COND_OBJ_MEMCHR lib_libdatamash_a_SOURCES += lib/memchr.c endif EXTRA_DIST += lib/memchr.valgrind ## end gnulib module memchr ## begin gnulib module mempcpy if GL_COND_OBJ_MEMPCPY lib_libdatamash_a_SOURCES += lib/mempcpy.c endif ## end gnulib module mempcpy ## begin gnulib module minmax lib_libdatamash_a_SOURCES += lib/minmax.h ## end gnulib module minmax ## begin gnulib module modf if GL_COND_OBJ_MODF lib_libdatamash_a_SOURCES += lib/modf.c endif ## end gnulib module modf ## begin gnulib module modfl if GL_COND_OBJ_MODFL lib_libdatamash_a_SOURCES += lib/modfl.c endif ## end gnulib module modfl ## begin gnulib module msvc-inval if GL_COND_OBJ_MSVC_INVAL lib_libdatamash_a_SOURCES += lib/msvc-inval.c endif EXTRA_DIST += lib/msvc-inval.h ## end gnulib module msvc-inval ## begin gnulib module msvc-nothrow if GL_COND_OBJ_MSVC_NOTHROW lib_libdatamash_a_SOURCES += lib/msvc-nothrow.c endif EXTRA_DIST += lib/msvc-nothrow.h ## end gnulib module msvc-nothrow ## begin gnulib module netinet_in-h BUILT_SOURCES += $(NETINET_IN_H) # We need the following in order to create when the system # doesn't have one. if GL_GENERATE_NETINET_IN_H lib/netinet/in.h: lib/netinet_in.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ $(top_srcdir)/lib/netinet_in.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/netinet/in.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/netinet/in.h lib/netinet/in.h-t MOSTLYCLEANDIRS += lib/netinet EXTRA_DIST += lib/netinet_in.in.h ## end gnulib module netinet_in-h ## begin gnulib module once lib_libdatamash_a_SOURCES += lib/glthread/once.h lib/glthread/once.c ## end gnulib module once ## begin gnulib module open if GL_COND_OBJ_OPEN lib_libdatamash_a_SOURCES += lib/open.c endif ## end gnulib module open ## begin gnulib module pathmax EXTRA_DIST += lib/pathmax.h ## end gnulib module pathmax ## begin gnulib module pclose if GL_COND_OBJ_PCLOSE lib_libdatamash_a_SOURCES += lib/pclose.c endif ## end gnulib module pclose ## begin gnulib module pmccabe2html EXTRA_DIST += $(top_srcdir)/build-aux/pmccabe2html $(top_srcdir)/build-aux/pmccabe.css ## end gnulib module pmccabe2html ## begin gnulib module popen if GL_COND_OBJ_POPEN lib_libdatamash_a_SOURCES += lib/popen.c endif ## end gnulib module popen ## begin gnulib module progname lib_libdatamash_a_SOURCES += lib/progname.h lib/progname.c ## end gnulib module progname ## begin gnulib module propername lib_libdatamash_a_SOURCES += lib/propername.h lib/propername.c ## end gnulib module propername ## begin gnulib module pthread-h BUILT_SOURCES += lib/pthread.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/pthread.h: lib/pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_PTHREAD_H''@|$(NEXT_PTHREAD_H)|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/$(GL_GNULIB_PTHREAD_THREAD)/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/$(GL_GNULIB_PTHREAD_ONCE)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/$(GL_GNULIB_PTHREAD_MUTEX)/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/$(GL_GNULIB_PTHREAD_RWLOCK)/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/$(GL_GNULIB_PTHREAD_COND)/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/$(GL_GNULIB_PTHREAD_TSS)/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/$(GL_GNULIB_PTHREAD_SPIN)/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/$(GL_GNULIB_PTHREAD_MUTEX_TIMEDLOCK)/g' \ -e 's|@''HAVE_PTHREAD_T''@|$(HAVE_PTHREAD_T)|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|$(HAVE_PTHREAD_SPINLOCK_T)|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|$(HAVE_PTHREAD_CREATE_DETACHED)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|$(HAVE_PTHREAD_MUTEX_RECURSIVE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|$(HAVE_PTHREAD_MUTEX_ROBUST)|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|$(HAVE_PTHREAD_PROCESS_SHARED)|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|$(HAVE_PTHREAD_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|$(HAVE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|$(HAVE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|$(HAVE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|$(HAVE_PTHREAD_SELF)|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|$(HAVE_PTHREAD_EQUAL)|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|$(HAVE_PTHREAD_DETACH)|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|$(HAVE_PTHREAD_JOIN)|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|$(HAVE_PTHREAD_EXIT)|g' \ < $(top_srcdir)/lib/pthread.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_PTHREAD_ONCE''@|$(HAVE_PTHREAD_ONCE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|$(HAVE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|$(HAVE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|$(HAVE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|$(HAVE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|$(HAVE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|$(HAVE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|$(HAVE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|$(HAVE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|$(HAVE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|$(HAVE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|$(HAVE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|$(HAVE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|$(HAVE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|$(HAVE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|$(HAVE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|$(HAVE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|$(HAVE_PTHREAD_RWLOCK_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|$(HAVE_PTHREAD_COND_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|$(HAVE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|$(HAVE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|$(HAVE_PTHREAD_COND_WAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|$(HAVE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|$(HAVE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|$(HAVE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|$(HAVE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|$(HAVE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|$(HAVE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|$(HAVE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|$(HAVE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|$(HAVE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|$(HAVE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|$(HAVE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|$(HAVE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|$(HAVE_PTHREAD_SPIN_DESTROY)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE_PTHREAD_CREATE''@|$(REPLACE_PTHREAD_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|$(REPLACE_PTHREAD_ATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_GETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|$(REPLACE_PTHREAD_ATTR_SETDETACHSTATE)|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|$(REPLACE_PTHREAD_ATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|$(REPLACE_PTHREAD_SELF)|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|$(REPLACE_PTHREAD_EQUAL)|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|$(REPLACE_PTHREAD_DETACH)|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|$(REPLACE_PTHREAD_JOIN)|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|$(REPLACE_PTHREAD_EXIT)|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|$(REPLACE_PTHREAD_ONCE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|$(REPLACE_PTHREAD_MUTEX_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|$(REPLACE_PTHREAD_MUTEXATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_GETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|$(REPLACE_PTHREAD_MUTEXATTR_SETTYPE)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_GETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|$(REPLACE_PTHREAD_MUTEXATTR_SETROBUST)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|$(REPLACE_PTHREAD_MUTEXATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|$(REPLACE_PTHREAD_MUTEX_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|$(REPLACE_PTHREAD_MUTEX_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|$(REPLACE_PTHREAD_MUTEX_TIMEDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|$(REPLACE_PTHREAD_MUTEX_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|$(REPLACE_PTHREAD_MUTEX_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|$(REPLACE_PTHREAD_RWLOCK_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|$(REPLACE_PTHREAD_RWLOCKATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|$(REPLACE_PTHREAD_RWLOCKATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_RDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_WRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TRYWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|$(REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|$(REPLACE_PTHREAD_RWLOCK_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|$(REPLACE_PTHREAD_RWLOCK_DESTROY)|g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|$(REPLACE_PTHREAD_COND_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|$(REPLACE_PTHREAD_CONDATTR_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|$(REPLACE_PTHREAD_CONDATTR_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|$(REPLACE_PTHREAD_COND_WAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|$(REPLACE_PTHREAD_COND_TIMEDWAIT)|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|$(REPLACE_PTHREAD_COND_SIGNAL)|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|$(REPLACE_PTHREAD_COND_BROADCAST)|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|$(REPLACE_PTHREAD_COND_DESTROY)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|$(REPLACE_PTHREAD_KEY_CREATE)|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|$(REPLACE_PTHREAD_SETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|$(REPLACE_PTHREAD_GETSPECIFIC)|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|$(REPLACE_PTHREAD_KEY_DELETE)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|$(REPLACE_PTHREAD_SPIN_INIT)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|$(REPLACE_PTHREAD_SPIN_LOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|$(REPLACE_PTHREAD_SPIN_TRYLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|$(REPLACE_PTHREAD_SPIN_UNLOCK)|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|$(REPLACE_PTHREAD_SPIN_DESTROY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t3 > $@-t4 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $(AM_V_at)mv $@-t4 $@ MOSTLYCLEANFILES += lib/pthread.h lib/pthread.h-t1 lib/pthread.h-t2 lib/pthread.h-t3 lib/pthread.h-t4 EXTRA_DIST += lib/pthread.in.h ## end gnulib module pthread-h ## begin gnulib module pthread-once if GL_COND_OBJ_PTHREAD_ONCE lib_libdatamash_a_SOURCES += lib/pthread-once.c endif ## end gnulib module pthread-once ## begin gnulib module quotearg lib_libdatamash_a_SOURCES += lib/quotearg.c EXTRA_DIST += lib/quote.h lib/quotearg.h ## end gnulib module quotearg ## begin gnulib module random if GL_COND_OBJ_RANDOM lib_libdatamash_a_SOURCES += lib/random.c endif ## end gnulib module random ## begin gnulib module random_r if GL_COND_OBJ_RANDOM_R lib_libdatamash_a_SOURCES += lib/random_r.c endif ## end gnulib module random_r ## begin gnulib module realloc-posix if GL_COND_OBJ_REALLOC_POSIX lib_libdatamash_a_SOURCES += lib/realloc.c endif ## end gnulib module realloc-posix ## begin gnulib module reallocarray if GL_COND_OBJ_REALLOCARRAY lib_libdatamash_a_SOURCES += lib/reallocarray.c endif ## end gnulib module reallocarray ## begin gnulib module round if GL_COND_OBJ_ROUND lib_libdatamash_a_SOURCES += lib/round.c endif ## end gnulib module round ## begin gnulib module roundl if GL_COND_OBJ_ROUNDL lib_libdatamash_a_SOURCES += lib/roundl.c endif EXTRA_DIST += lib/round.c EXTRA_lib_libdatamash_a_SOURCES += lib/round.c ## end gnulib module roundl ## begin gnulib module sched-h BUILT_SOURCES += lib/sched.h # We need the following in order to create a replacement for when # the system doesn't have one. lib/sched.h: lib/sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/$(GL_GNULIB_SCHED_YIELD)/g' \ -e 's|@''HAVE_SCHED_YIELD''@|$(HAVE_SCHED_YIELD)|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|$(REPLACE_SCHED_YIELD)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sched.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sched.h lib/sched.h-t EXTRA_DIST += lib/sched.in.h ## end gnulib module sched-h ## begin gnulib module setlocale if GL_COND_OBJ_SETLOCALE lib_libdatamash_a_SOURCES += lib/setlocale.c endif ## end gnulib module setlocale ## begin gnulib module setlocale-fixes if GL_COND_OBJ_SETLOCALE_FIXES lib_libdatamash_a_SOURCES += lib/setlocale-fixes.c endif EXTRA_DIST += lib/setlocale-fixes.h ## end gnulib module setlocale-fixes ## begin gnulib module setlocale-null lib_libdatamash_a_SOURCES += lib/setlocale_null.c if GL_COND_OBJ_SETLOCALE_LOCK lib_libdatamash_a_SOURCES += lib/setlocale-lock.c endif EXTRA_DIST += lib/setlocale_null.h lib/windows-initguard.h ## end gnulib module setlocale-null ## begin gnulib module setlocale-null-unlocked lib_libdatamash_a_SOURCES += lib/setlocale_null-unlocked.c EXTRA_DIST += lib/setlocale_null.h ## end gnulib module setlocale-null-unlocked ## begin gnulib module sh-quote lib_libdatamash_a_SOURCES += lib/sh-quote.h lib/sh-quote.c ## end gnulib module sh-quote ## begin gnulib module signbit if GL_COND_OBJ_SIGNBIT3 lib_libdatamash_a_SOURCES += lib/signbitf.c lib/signbitd.c lib/signbitl.c endif EXTRA_DIST += lib/float+.h ## end gnulib module signbit ## begin gnulib module size_max lib_libdatamash_a_SOURCES += lib/size_max.h ## end gnulib module size_max ## begin gnulib module snippet/_Noreturn # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. _NORETURN_H=$(top_srcdir)/lib/_Noreturn.h EXTRA_DIST += lib/_Noreturn.h ## end gnulib module snippet/_Noreturn ## begin gnulib module snippet/arg-nonnull # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. ARG_NONNULL_H=$(top_srcdir)/lib/arg-nonnull.h EXTRA_DIST += lib/arg-nonnull.h ## end gnulib module snippet/arg-nonnull ## begin gnulib module snippet/c++defs # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. CXXDEFS_H=$(top_srcdir)/lib/c++defs.h EXTRA_DIST += lib/c++defs.h ## end gnulib module snippet/c++defs ## begin gnulib module snippet/warn-on-use # Because this Makefile snippet defines a variable used by other # gnulib Makefile snippets, it must be present in all makefiles that # need it. This is ensured by the applicability 'all' defined above. WARN_ON_USE_H=$(top_srcdir)/lib/warn-on-use.h EXTRA_DIST += lib/warn-on-use.h ## end gnulib module snippet/warn-on-use ## begin gnulib module snprintf EXTRA_DIST += lib/snprintf.c EXTRA_lib_libdatamash_a_SOURCES += lib/snprintf.c ## end gnulib module snprintf ## begin gnulib module sqrtl if GL_COND_OBJ_SQRTL lib_libdatamash_a_SOURCES += lib/sqrtl.c endif ## end gnulib module sqrtl ## begin gnulib module stat if GL_COND_OBJ_STAT lib_libdatamash_a_SOURCES += lib/stat.c endif EXTRA_DIST += lib/stat-w32.c lib/stat-w32.h EXTRA_lib_libdatamash_a_SOURCES += lib/stat-w32.c ## end gnulib module stat ## begin gnulib module stat-time lib_libdatamash_a_SOURCES += lib/stat-time.c EXTRA_DIST += lib/stat-time.h ## end gnulib module stat-time ## begin gnulib module stdarg-h BUILT_SOURCES += $(STDARG_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDARG_H lib/stdarg.h: lib/stdarg.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \ $(top_srcdir)/lib/stdarg.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/stdarg.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/stdarg.h lib/stdarg.h-t EXTRA_DIST += lib/stdarg.in.h ## end gnulib module stdarg-h ## begin gnulib module stdckdint-h BUILT_SOURCES += $(STDCKDINT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDCKDINT_H lib/stdckdint.h: lib/stdckdint.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ $(top_srcdir)/lib/stdckdint.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/stdckdint.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/stdckdint.h lib/stdckdint.h-t EXTRA_DIST += lib/intprops-internal.h lib/stdckdint.in.h ## end gnulib module stdckdint-h ## begin gnulib module stddef-h BUILT_SOURCES += $(STDDEF_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDDEF_H lib/stddef.h: lib/stddef.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ -e 's|@''NULLPTR_T_NEEDS_STDDEF''@|$(NULLPTR_T_NEEDS_STDDEF)|g' \ -e 's|@''STDDEF_NOT_IDEMPOTENT''@|$(STDDEF_NOT_IDEMPOTENT)|g' \ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \ $(top_srcdir)/lib/stddef.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/stddef.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/stddef.h lib/stddef.h-t EXTRA_DIST += lib/stddef.in.h ## end gnulib module stddef-h ## begin gnulib module stdint-h BUILT_SOURCES += $(STDINT_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. if GL_GENERATE_STDINT_H lib/stdint.h: lib/stdint.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ $(top_srcdir)/lib/stdint.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/stdint.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/stdint.h lib/stdint.h-t EXTRA_DIST += lib/stdint.in.h ## end gnulib module stdint-h ## begin gnulib module stdio-h BUILT_SOURCES += lib/stdio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/stdio.h: lib/stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \ -e 's/@''GNULIB_DZPRINTF''@/$(GL_GNULIB_DZPRINTF)/g' \ -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \ -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \ -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \ -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \ -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \ -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \ -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \ -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \ -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \ -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \ -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \ -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \ -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \ -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \ -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \ -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \ -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \ -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \ -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \ -e 's/@''GNULIB_FZPRINTF''@/$(GL_GNULIB_FZPRINTF)/g' \ -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \ -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \ -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \ -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_OBSTACK_ZPRINTF''@/$(GL_GNULIB_OBSTACK_ZPRINTF)/g' \ -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \ -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \ -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \ -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \ -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \ -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \ -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \ -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \ -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \ -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \ -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \ -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \ -e 's/@''GNULIB_SNZPRINTF''@/$(GL_GNULIB_SNZPRINTF)/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \ -e 's/@''GNULIB_SZPRINTF''@/$(GL_GNULIB_SZPRINTF)/g' \ -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \ -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \ -e 's/@''GNULIB_VASZPRINTF''@/$(GL_GNULIB_VASZPRINTF)/g' \ -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \ -e 's/@''GNULIB_VDZPRINTF''@/$(GL_GNULIB_VDZPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VFZPRINTF''@/$(GL_GNULIB_VFZPRINTF)/g' \ -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \ -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \ -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \ -e 's/@''GNULIB_VSNZPRINTF''@/$(GL_GNULIB_VSNZPRINTF)/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \ -e 's/@''GNULIB_VSZPRINTF''@/$(GL_GNULIB_VSZPRINTF)/g' \ -e 's/@''GNULIB_VZPRINTF''@/$(GL_GNULIB_VZPRINTF)/g' \ -e 's/@''GNULIB_ZPRINTF''@/$(GL_GNULIB_ZPRINTF)/g' \ -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \ -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \ -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \ -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \ -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \ -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \ < $(top_srcdir)/lib/stdio.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \ -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t2 > $@-t3 $(AM_V_at)rm -f $@-t1 $@-t2 $(AM_V_at)mv $@-t3 $@ MOSTLYCLEANFILES += lib/stdio.h lib/stdio.h-t1 lib/stdio.h-t2 lib/stdio.h-t3 if GL_COND_OBJ_STDIO_READ lib_libdatamash_a_SOURCES += lib/stdio-read.c endif if GL_COND_OBJ_STDIO_WRITE lib_libdatamash_a_SOURCES += lib/stdio-write.c endif EXTRA_DIST += lib/stdio.in.h ## end gnulib module stdio-h ## begin gnulib module stdlib-h BUILT_SOURCES += lib/stdlib.h lib_libdatamash_a_SOURCES += lib/stdlib.c lib/stdlib.h: lib/stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \ -e 's/@''GNULIB_ABORT_DEBUG''@/$(GL_GNULIB_ABORT_DEBUG)/g' \ -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \ -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \ -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \ -e 's/@''GNULIB_GETPROGNAME''@/$(GL_GNULIB_GETPROGNAME)/g' \ -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \ -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \ -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \ -e 's/@''GNULIB_MBSTOWCS''@/$(GL_GNULIB_MBSTOWCS)/g' \ -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \ -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \ -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \ -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \ -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \ -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \ -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \ -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \ -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \ -e 's/@''GNULIB_RAND''@/$(GL_GNULIB_RAND)/g' \ -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \ -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \ -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \ -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \ -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \ -e 's/@''GNULIB_STACK_TRACE''@/$(GL_GNULIB_STACK_TRACE)/g' \ -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \ -e 's/@''GNULIB_STRTOF''@/$(GL_GNULIB_STRTOF)/g' \ -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \ -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \ -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \ -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \ -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \ -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \ -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \ -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \ -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \ -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \ -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \ -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \ -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \ < $(top_srcdir)/lib/stdlib.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \ -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \ -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|$(HAVE_DECL_PROGRAM_INVOCATION_NAME)|g' \ -e 's|@''HAVE_GETPROGNAME''@|$(HAVE_GETPROGNAME)|g' \ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \ -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -e 's|@''HAVE_STRTOF''@|$(HAVE_STRTOF)|g' \ -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \ -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE__EXIT''@|$(REPLACE__EXIT)|g' \ -e 's|@''REPLACE_ABORT''@|$(REPLACE_ABORT)|g' \ -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ -e 's|@''REPLACE_GETLOADAVG''@|$(REPLACE_GETLOADAVG)|g' \ -e 's|@''REPLACE_GETPROGNAME''@|$(REPLACE_GETPROGNAME)|g' \ -e 's|@''REPLACE_GETSUBOPT''@|$(REPLACE_GETSUBOPT)|g' \ -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \ -e 's|@''REPLACE_MB_CUR_MAX''@|$(REPLACE_MB_CUR_MAX)|g' \ -e 's|@''REPLACE_MBSTOWCS''@|$(REPLACE_MBSTOWCS)|g' \ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -e 's|@''REPLACE_MKOSTEMP''@|$(REPLACE_MKOSTEMP)|g' \ -e 's|@''REPLACE_MKOSTEMPS''@|$(REPLACE_MKOSTEMPS)|g' \ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \ -e 's|@''REPLACE_POSIX_OPENPT''@|$(REPLACE_POSIX_OPENPT)|g' \ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \ -e 's|@''REPLACE_RAND''@|$(REPLACE_RAND)|g' \ -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \ -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -e 's|@''REPLACE_STRTOF''@|$(REPLACE_STRTOF)|g' \ -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \ -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \ -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \ -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \ -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -e 's|@''CAN_PRINT_STACK_TRACE''@|$(CAN_PRINT_STACK_TRACE)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t2 > $@-t3 $(AM_V_at)rm -f $@-t1 $@-t2 $(AM_V_at)mv $@-t3 $@ MOSTLYCLEANFILES += lib/stdlib.h lib/stdlib.h-t1 lib/stdlib.h-t2 lib/stdlib.h-t3 EXTRA_DIST += lib/stdlib.in.h ## end gnulib module stdlib-h ## begin gnulib module stdnoreturn-h BUILT_SOURCES += $(STDNORETURN_H) # We need the following in order to create when the system # doesn't have one that works. if GL_GENERATE_STDNORETURN_H lib/stdnoreturn.h: lib/stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ $(top_srcdir)/lib/stdnoreturn.in.h > $@-t $(AM_V_at)mv $@-t $@ else lib/stdnoreturn.h: $(top_builddir)/config.status rm -f $@ endif MOSTLYCLEANFILES += lib/stdnoreturn.h lib/stdnoreturn.h-t EXTRA_DIST += lib/stdnoreturn.in.h ## end gnulib module stdnoreturn-h ## begin gnulib module stpcpy if GL_COND_OBJ_STPCPY lib_libdatamash_a_SOURCES += lib/stpcpy.c endif ## end gnulib module stpcpy ## begin gnulib module strcasecmp if GL_COND_OBJ_STRCASECMP lib_libdatamash_a_SOURCES += lib/strcasecmp.c endif ## end gnulib module strcasecmp ## begin gnulib module strdup-posix if GL_COND_OBJ_STRDUP lib_libdatamash_a_SOURCES += lib/strdup.c endif ## end gnulib module strdup-posix ## begin gnulib module streq EXTRA_DIST += lib/streq.h ## end gnulib module streq ## begin gnulib module strerror if GL_COND_OBJ_STRERROR lib_libdatamash_a_SOURCES += lib/strerror.c endif ## end gnulib module strerror ## begin gnulib module strerror-override if GL_COND_OBJ_STRERROR_OVERRIDE lib_libdatamash_a_SOURCES += lib/strerror-override.c endif EXTRA_DIST += lib/strerror-override.h ## end gnulib module strerror-override ## begin gnulib module striconv lib_libdatamash_a_SOURCES += lib/striconv.h lib/striconv.c ## end gnulib module striconv ## begin gnulib module string-h BUILT_SOURCES += lib/string.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/string.h: lib/string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \ -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \ -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \ -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \ -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \ -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \ -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \ -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \ -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \ -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \ -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \ -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \ -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \ -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \ -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \ -e 's/@''GNULIB_MBS_ENDSWITH''@/$(GL_GNULIB_MBS_ENDSWITH)/g' \ -e 's/@''GNULIB_MBS_STARTSWITH''@/$(GL_GNULIB_MBS_STARTSWITH)/g' \ -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \ -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \ -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \ -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \ -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \ -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \ -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \ -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \ -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \ -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \ -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \ -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \ -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \ -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \ -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \ -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \ -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \ -e 's/@''GNULIB_STR_ENDSWITH''@/$(GL_GNULIB_STR_ENDSWITH)/g' \ -e 's/@''GNULIB_STR_STARTSWITH''@/$(GL_GNULIB_STR_STARTSWITH)/g' \ -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \ -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \ -e 's/@''GNULIB_STRERROR_L''@/$(GL_GNULIB_STRERROR_L)/g' \ -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \ -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \ -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \ -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \ -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \ -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \ -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ < $(top_srcdir)/lib/string.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -e 's|@''HAVE_STRERROR_L''@|$(HAVE_STRERROR_L)|g' \ -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \ -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \ -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -e 's|@''REPLACE_MEMPCPY''@|$(REPLACE_MEMPCPY)|g' \ -e 's|@''REPLACE_MEMSET_EXPLICIT''@|$(REPLACE_MEMSET_EXPLICIT)|g' \ -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ -e 's|@''REPLACE_STPCPY''@|$(REPLACE_STPCPY)|g' \ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -e 's|@''REPLACE_STRERROR_L''@|$(REPLACE_STRERROR_L)|g' \ -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -e 's|@''REPLACE_STRVERSCMP''@|$(REPLACE_STRVERSCMP)|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t1 > $@-t2 $(AM_V_at)rm -f $@-t1 $(AM_V_at)mv $@-t2 $@ MOSTLYCLEANFILES += lib/string.h lib/string.h-t1 lib/string.h-t2 EXTRA_DIST += lib/string.in.h ## end gnulib module string-h ## begin gnulib module strings-h BUILT_SOURCES += lib/strings.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/strings.h: lib/strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ -e 's/@''GNULIB_FFS''@/$(GL_GNULIB_FFS)/g' \ -e 's/@''GNULIB_STRCASECMP''@/$(GL_GNULIB_STRCASECMP)/g' \ -e 's/@''GNULIB_STRCASECMP_L''@/$(GL_GNULIB_STRCASECMP_L)/g' \ -e 's/@''GNULIB_STRNCASECMP''@/$(GL_GNULIB_STRNCASECMP)/g' \ -e 's/@''GNULIB_STRNCASECMP_L''@/$(GL_GNULIB_STRNCASECMP_L)/g' \ -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \ -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ -e 's|@''HAVE_STRCASECMP_L''@|$(HAVE_STRCASECMP_L)|g' \ -e 's|@''HAVE_STRNCASECMP''@|$(HAVE_STRNCASECMP)|g' \ -e 's|@''HAVE_STRNCASECMP_L''@|$(HAVE_STRNCASECMP_L)|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ -e 's|@''REPLACE_STRCASECMP''@|$(REPLACE_STRCASECMP)|g' \ -e 's|@''REPLACE_STRCASECMP_L''@|$(REPLACE_STRCASECMP_L)|g' \ -e 's|@''REPLACE_STRNCASECMP''@|$(REPLACE_STRNCASECMP)|g' \ -e 's|@''REPLACE_STRNCASECMP_L''@|$(REPLACE_STRNCASECMP_L)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/strings.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/strings.h lib/strings.h-t EXTRA_DIST += lib/strings.in.h ## end gnulib module strings-h ## begin gnulib module strncasecmp if GL_COND_OBJ_STRNCASECMP lib_libdatamash_a_SOURCES += lib/strncasecmp.c endif ## end gnulib module strncasecmp ## begin gnulib module strnlen if GL_COND_OBJ_STRNLEN lib_libdatamash_a_SOURCES += lib/strnlen.c endif ## end gnulib module strnlen ## begin gnulib module strnlen1 lib_libdatamash_a_SOURCES += lib/strnlen1.h lib/strnlen1.c ## end gnulib module strnlen1 ## begin gnulib module strsep if GL_COND_OBJ_STRSEP lib_libdatamash_a_SOURCES += lib/strsep.c endif ## end gnulib module strsep ## begin gnulib module strtod if GL_COND_OBJ_STRTOD lib_libdatamash_a_SOURCES += lib/strtod.c endif ## end gnulib module strtod ## begin gnulib module strtold if GL_COND_OBJ_STRTOLD lib_libdatamash_a_SOURCES += lib/strtold.c endif EXTRA_DIST += lib/strtod.c EXTRA_lib_libdatamash_a_SOURCES += lib/strtod.c ## end gnulib module strtold ## begin gnulib module strtoll if GL_COND_OBJ_STRTOLL lib_libdatamash_a_SOURCES += lib/strtoll.c endif EXTRA_DIST += lib/strtol.c EXTRA_lib_libdatamash_a_SOURCES += lib/strtol.c ## end gnulib module strtoll ## begin gnulib module strtoull if GL_COND_OBJ_STRTOULL lib_libdatamash_a_SOURCES += lib/strtoull.c endif EXTRA_DIST += lib/strtol.c lib/strtoul.c EXTRA_lib_libdatamash_a_SOURCES += lib/strtol.c lib/strtoul.c ## end gnulib module strtoull ## begin gnulib module strtoumax if GL_COND_OBJ_STRTOUMAX lib_libdatamash_a_SOURCES += lib/strtoumax.c endif EXTRA_DIST += lib/strtoimax.c EXTRA_lib_libdatamash_a_SOURCES += lib/strtoimax.c ## end gnulib module strtoumax ## begin gnulib module sys_random-h BUILT_SOURCES += lib/sys/random.h # We need the following in order to create when the system # doesn't have one. lib/sys/random.h: lib/sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_RANDOM_H''@|$(NEXT_SYS_RANDOM_H)|g' \ -e 's|@''HAVE_SYS_RANDOM_H''@|$(HAVE_SYS_RANDOM_H)|g' \ -e 's/@''GNULIB_GETRANDOM''@/$(GL_GNULIB_GETRANDOM)/g' \ -e 's/@''HAVE_GETRANDOM''@/$(HAVE_GETRANDOM)/g' \ -e 's/@''REPLACE_GETRANDOM''@/$(REPLACE_GETRANDOM)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_random.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sys/random.h lib/sys/random.h-t MOSTLYCLEANDIRS += lib/sys EXTRA_DIST += lib/sys_random.in.h ## end gnulib module sys_random-h ## begin gnulib module sys_socket-h BUILT_SOURCES += lib/sys/socket.h lib_libdatamash_a_SOURCES += lib/sys_socket.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/sys/socket.h: lib/sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_SOCKET''@/$(GL_GNULIB_SOCKET)/g' \ -e 's/@''GNULIB_CONNECT''@/$(GL_GNULIB_CONNECT)/g' \ -e 's/@''GNULIB_ACCEPT''@/$(GL_GNULIB_ACCEPT)/g' \ -e 's/@''GNULIB_BIND''@/$(GL_GNULIB_BIND)/g' \ -e 's/@''GNULIB_GETPEERNAME''@/$(GL_GNULIB_GETPEERNAME)/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/$(GL_GNULIB_GETSOCKNAME)/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/$(GL_GNULIB_GETSOCKOPT)/g' \ -e 's/@''GNULIB_LISTEN''@/$(GL_GNULIB_LISTEN)/g' \ -e 's/@''GNULIB_RECV''@/$(GL_GNULIB_RECV)/g' \ -e 's/@''GNULIB_SEND''@/$(GL_GNULIB_SEND)/g' \ -e 's/@''GNULIB_RECVFROM''@/$(GL_GNULIB_RECVFROM)/g' \ -e 's/@''GNULIB_SENDTO''@/$(GL_GNULIB_SENDTO)/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/$(GL_GNULIB_SETSOCKOPT)/g' \ -e 's/@''GNULIB_SHUTDOWN''@/$(GL_GNULIB_SHUTDOWN)/g' \ -e 's/@''GNULIB_ACCEPT4''@/$(GL_GNULIB_ACCEPT4)/g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \ -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_socket.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sys/socket.h lib/sys/socket.h-t MOSTLYCLEANDIRS += lib/sys EXTRA_DIST += lib/sys_socket.in.h ## end gnulib module sys_socket-h ## begin gnulib module sys_stat-h BUILT_SOURCES += lib/sys/stat.h # We need the following in order to create when the system # has one that is incomplete. lib/sys/stat.h: lib/sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \ -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \ -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \ -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \ -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \ -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \ -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \ -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \ -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \ -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \ -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \ -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \ -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \ -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \ -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \ -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \ -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \ -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \ -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \ -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_stat.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sys/stat.h lib/sys/stat.h-t MOSTLYCLEANDIRS += lib/sys EXTRA_DIST += lib/sys_stat.in.h ## end gnulib module sys_stat-h ## begin gnulib module sys_types-h BUILT_SOURCES += lib/sys/types.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/sys/types.h: lib/sys_types.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's|@''HAVE_OFF64_T''@|$(HAVE_OFF64_T)|g' \ -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \ -e 's|@''HAVE_BLKSIZE_T''@|$(HAVE_BLKSIZE_T)|g' \ -e 's|@''HAVE_BLKCNT_T''@|$(HAVE_BLKCNT_T)|g' \ $(top_srcdir)/lib/sys_types.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sys/types.h lib/sys/types.h-t MOSTLYCLEANDIRS += lib/sys EXTRA_DIST += lib/sys_types.in.h ## end gnulib module sys_types-h ## begin gnulib module sys_uio-h BUILT_SOURCES += lib/sys/uio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/sys/uio.h: lib/sys_uio.in.h $(top_builddir)/config.status $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \ -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \ $(top_srcdir)/lib/sys_uio.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sys/uio.h lib/sys/uio.h-t MOSTLYCLEANDIRS += lib/sys EXTRA_DIST += lib/sys_uio.in.h ## end gnulib module sys_uio-h ## begin gnulib module sys_wait-h BUILT_SOURCES += lib/sys/wait.h # We need the following in order to create when the system # has one that is incomplete. lib/sys/wait.h: lib/sys_wait.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys' $(AM_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \ -e 's/@''GNULIB_WAITPID''@/$(GL_GNULIB_WAITPID)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/sys_wait.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/sys/wait.h lib/sys/wait.h-t MOSTLYCLEANDIRS += lib/sys EXTRA_DIST += lib/sys_wait.in.h ## end gnulib module sys_wait-h ## begin gnulib module thread-optim EXTRA_DIST += lib/thread-optim.h ## end gnulib module thread-optim ## begin gnulib module threadlib lib_libdatamash_a_SOURCES += lib/glthread/threadlib.c ## end gnulib module threadlib ## begin gnulib module time-h BUILT_SOURCES += lib/time.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/time.h: lib/time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \ -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \ -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \ -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \ -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \ -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \ -e 's/@''GNULIB_TIME''@/$(GL_GNULIB_TIME)/g' \ -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \ -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \ -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \ -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \ -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \ -e 's/@''GNULIB_TZNAME''@/$(GL_GNULIB_TZNAME)/g' \ -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \ -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \ -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \ -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \ -e 's|@''HAVE_TZALLOC''@|$(HAVE_TZALLOC)|g' \ -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \ -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \ -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -e 's|@''REPLACE_LOCALTIME_RZ''@|$(REPLACE_LOCALTIME_RZ)|g' \ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -e 's|@''REPLACE_MKTIME_Z''@|$(REPLACE_MKTIME_Z)|g' \ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \ -e 's|@''REPLACE_TIME''@|$(REPLACE_TIME)|g' \ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -e 's|@''REPLACE_TIMESPEC_GET''@|$(REPLACE_TIMESPEC_GET)|g' \ -e 's|@''REPLACE_TIMESPEC_GETRES''@|$(REPLACE_TIMESPEC_GETRES)|g' \ -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -e 's|@''TIME_H_DEFINES_TIME_UTC''@|$(TIME_H_DEFINES_TIME_UTC)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/time.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/time.h lib/time.h-t EXTRA_DIST += lib/time.in.h ## end gnulib module time-h ## begin gnulib module trim lib_libdatamash_a_SOURCES += lib/trim.c EXTRA_DIST += lib/trim.h ## end gnulib module trim ## begin gnulib module trunc if GL_COND_OBJ_TRUNC lib_libdatamash_a_SOURCES += lib/trunc.c endif ## end gnulib module trunc ## begin gnulib module truncl if GL_COND_OBJ_TRUNCL lib_libdatamash_a_SOURCES += lib/truncl.c endif EXTRA_DIST += lib/trunc.c EXTRA_lib_libdatamash_a_SOURCES += lib/trunc.c ## end gnulib module truncl ## begin gnulib module u64 lib_libdatamash_a_SOURCES += lib/u64.c EXTRA_DIST += lib/u64.h ## end gnulib module u64 ## begin gnulib module uchar-h BUILT_SOURCES += lib/uchar.h lib/uchar.h: lib/uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UCHAR_H''@|$(NEXT_UCHAR_H)|g' \ -e 's|@''CXX_HAS_CHAR8_TYPE''@|$(CXX_HAS_CHAR8_TYPE)|g' \ -e 's|@''CXX_HAS_UCHAR_TYPES''@|$(CXX_HAS_UCHAR_TYPES)|g' \ -e 's|@''SMALL_WCHAR_T''@|$(SMALL_WCHAR_T)|g' \ -e 's|@''GNULIBHEADERS_OVERRIDE_CHAR8_T''@|$(GNULIBHEADERS_OVERRIDE_CHAR8_T)|g' \ -e 's|@''GNULIBHEADERS_OVERRIDE_CHAR16_T''@|$(GNULIBHEADERS_OVERRIDE_CHAR16_T)|g' \ -e 's|@''GNULIBHEADERS_OVERRIDE_CHAR32_T''@|$(GNULIBHEADERS_OVERRIDE_CHAR32_T)|g' \ -e 's/@''GNULIB_BTOC32''@/$(GL_GNULIB_BTOC32)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_C32ISALNUM''@/$(GL_GNULIB_C32ISALNUM)/g' \ -e 's/@''GNULIB_C32ISALPHA''@/$(GL_GNULIB_C32ISALPHA)/g' \ -e 's/@''GNULIB_C32ISBLANK''@/$(GL_GNULIB_C32ISBLANK)/g' \ -e 's/@''GNULIB_C32ISCNTRL''@/$(GL_GNULIB_C32ISCNTRL)/g' \ -e 's/@''GNULIB_C32ISDIGIT''@/$(GL_GNULIB_C32ISDIGIT)/g' \ -e 's/@''GNULIB_C32ISGRAPH''@/$(GL_GNULIB_C32ISGRAPH)/g' \ -e 's/@''GNULIB_C32ISLOWER''@/$(GL_GNULIB_C32ISLOWER)/g' \ -e 's/@''GNULIB_C32ISPRINT''@/$(GL_GNULIB_C32ISPRINT)/g' \ -e 's/@''GNULIB_C32ISPUNCT''@/$(GL_GNULIB_C32ISPUNCT)/g' \ -e 's/@''GNULIB_C32ISSPACE''@/$(GL_GNULIB_C32ISSPACE)/g' \ -e 's/@''GNULIB_C32ISUPPER''@/$(GL_GNULIB_C32ISUPPER)/g' \ -e 's/@''GNULIB_C32ISXDIGIT''@/$(GL_GNULIB_C32ISXDIGIT)/g' \ -e 's/@''GNULIB_C32TOLOWER''@/$(GL_GNULIB_C32TOLOWER)/g' \ -e 's/@''GNULIB_C32TOUPPER''@/$(GL_GNULIB_C32TOUPPER)/g' \ -e 's/@''GNULIB_C32WIDTH''@/$(GL_GNULIB_C32WIDTH)/g' \ -e 's/@''GNULIB_C32RTOMB''@/$(GL_GNULIB_C32RTOMB)/g' \ -e 's/@''GNULIB_C32SNRTOMBS''@/$(GL_GNULIB_C32SNRTOMBS)/g' \ -e 's/@''GNULIB_C32SRTOMBS''@/$(GL_GNULIB_C32SRTOMBS)/g' \ -e 's/@''GNULIB_C32STOMBS''@/$(GL_GNULIB_C32STOMBS)/g' \ -e 's/@''GNULIB_C32SWIDTH''@/$(GL_GNULIB_C32SWIDTH)/g' \ -e 's/@''GNULIB_C32TOB''@/$(GL_GNULIB_C32TOB)/g' \ -e 's/@''GNULIB_C32_APPLY_MAPPING''@/$(GL_GNULIB_C32_APPLY_MAPPING)/g' \ -e 's/@''GNULIB_C32_APPLY_TYPE_TEST''@/$(GL_GNULIB_C32_APPLY_TYPE_TEST)/g' \ -e 's/@''GNULIB_C32_GET_MAPPING''@/$(GL_GNULIB_C32_GET_MAPPING)/g' \ -e 's/@''GNULIB_C32_GET_TYPE_TEST''@/$(GL_GNULIB_C32_GET_TYPE_TEST)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \ -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \ -e 's/@''GNULIB_MBRTOC16''@/$(GL_GNULIB_MBRTOC16)/g' \ -e 's/@''GNULIB_MBRTOC32''@/$(GL_GNULIB_MBRTOC32)/g' \ -e 's/@''GNULIB_MBSNRTOC32S''@/$(GL_GNULIB_MBSNRTOC32S)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_MBSRTOC32S''@/$(GL_GNULIB_MBSRTOC32S)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSTOC32S''@/$(GL_GNULIB_MBSTOC32S)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \ -e 's|@''HAVE_C32RTOMB''@|$(HAVE_C32RTOMB)|g' \ -e 's|@''HAVE_MBRTOC16''@|$(HAVE_MBRTOC16)|g' \ -e 's|@''HAVE_MBRTOC32''@|$(HAVE_MBRTOC32)|g' \ -e 's|@''REPLACE_C32RTOMB''@|$(REPLACE_C32RTOMB)|g' \ -e 's|@''REPLACE_MBRTOC16''@|$(REPLACE_MBRTOC16)|g' \ -e 's|@''REPLACE_MBRTOC32''@|$(REPLACE_MBRTOC32)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/uchar.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/uchar.h lib/uchar.h-t EXTRA_DIST += lib/uchar.in.h ## end gnulib module uchar-h ## begin gnulib module unicase/base BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H) lib/unicase.h: lib/unicase.in.h $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|$(HAVE_UNISTRING_WOE32DLL_H)|g' \ -e 's/@''GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE''@/$(GL_GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE''@/$(GL_GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE)/g' \ $(top_srcdir)/lib/unicase.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/unicase.h lib/unicase.h-t EXTRA_DIST += lib/unicase.in.h ## end gnulib module unicase/base ## begin gnulib module unicase/tolower if LIBUNISTRING_COMPILE_UNICASE_TOLOWER lib_libdatamash_a_SOURCES += lib/unicase/tolower.c endif EXTRA_DIST += lib/unicase/simple-mapping.h lib/unicase/tolower.h ## end gnulib module unicase/tolower ## begin gnulib module unictype/base BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H) lib/unictype.h: lib/unictype.in.h $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|$(HAVE_UNISTRING_WOE32DLL_H)|g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE)/g' \ < $(top_srcdir)/lib/unictype.in.h > $@-t1 $(AM_V_at)sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE)/g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE)/g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE''@/$(GL_GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE)/g' \ < $@-t3 > $@-t4 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $(AM_V_at)mv $@-t4 $@ MOSTLYCLEANFILES += lib/unictype.h lib/unictype.h-t1 lib/unictype.h-t2 lib/unictype.h-t3 lib/unictype.h-t4 EXTRA_DIST += lib/unictype.in.h ## end gnulib module unictype/base ## begin gnulib module unictype/ctype-alnum if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALNUM lib_libdatamash_a_SOURCES += lib/unictype/ctype_alnum.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_alnum.h ## end gnulib module unictype/ctype-alnum ## begin gnulib module unictype/ctype-alpha if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_ALPHA lib_libdatamash_a_SOURCES += lib/unictype/ctype_alpha.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_alpha.h ## end gnulib module unictype/ctype-alpha ## begin gnulib module unictype/ctype-blank if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_BLANK lib_libdatamash_a_SOURCES += lib/unictype/ctype_blank.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_blank.h ## end gnulib module unictype/ctype-blank ## begin gnulib module unictype/ctype-cntrl if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_CNTRL lib_libdatamash_a_SOURCES += lib/unictype/ctype_cntrl.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_cntrl.h ## end gnulib module unictype/ctype-cntrl ## begin gnulib module unictype/ctype-digit if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_DIGIT lib_libdatamash_a_SOURCES += lib/unictype/ctype_digit.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_digit.h ## end gnulib module unictype/ctype-digit ## begin gnulib module unictype/ctype-graph if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_GRAPH lib_libdatamash_a_SOURCES += lib/unictype/ctype_graph.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_graph.h ## end gnulib module unictype/ctype-graph ## begin gnulib module unictype/ctype-lower if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_LOWER lib_libdatamash_a_SOURCES += lib/unictype/ctype_lower.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_lower.h ## end gnulib module unictype/ctype-lower ## begin gnulib module unictype/ctype-print if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT lib_libdatamash_a_SOURCES += lib/unictype/ctype_print.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_print.h ## end gnulib module unictype/ctype-print ## begin gnulib module unictype/ctype-punct if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PUNCT lib_libdatamash_a_SOURCES += lib/unictype/ctype_punct.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_punct.h ## end gnulib module unictype/ctype-punct ## begin gnulib module unictype/ctype-space if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE lib_libdatamash_a_SOURCES += lib/unictype/ctype_space.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_space.h ## end gnulib module unictype/ctype-space ## begin gnulib module unictype/ctype-upper if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_UPPER lib_libdatamash_a_SOURCES += lib/unictype/ctype_upper.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_upper.h ## end gnulib module unictype/ctype-upper ## begin gnulib module unictype/ctype-xdigit if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_XDIGIT lib_libdatamash_a_SOURCES += lib/unictype/ctype_xdigit.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/unictype/ctype_xdigit.h ## end gnulib module unictype/ctype-xdigit ## begin gnulib module uninorm/base BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H) lib/uninorm.h: lib/uninorm.in.h $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_UNISTRING_WOE32DLL_H''@|$(HAVE_UNISTRING_WOE32DLL_H)|g' \ -e 's/@''GNULIB_UNINORM_NFD_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFD_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNINORM_NFC_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFC_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNINORM_NFKD_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFKD_DLL_VARIABLE)/g' \ -e 's/@''GNULIB_UNINORM_NFKC_DLL_VARIABLE''@/$(GL_GNULIB_UNINORM_NFKC_DLL_VARIABLE)/g' \ $(top_srcdir)/lib/uninorm.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/uninorm.h lib/uninorm.h-t EXTRA_DIST += lib/uninorm.in.h ## end gnulib module uninorm/base ## begin gnulib module unistd-h BUILT_SOURCES += lib/unistd.h lib_libdatamash_a_SOURCES += lib/unistd.c # We need the following in order to create an empty placeholder for # when the system doesn't have one. lib/unistd.h: lib/unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \ -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \ -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \ -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \ -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \ -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \ -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \ -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \ -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \ -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \ -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \ -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \ -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \ -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \ -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \ -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \ -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \ -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \ -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \ -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \ -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \ -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \ < $(top_srcdir)/lib/unistd.in.h > $@-t1 $(AM_V_at)sed \ -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \ -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \ -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \ -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \ -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \ -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \ -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \ -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \ -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \ -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \ -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \ -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \ -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \ -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \ -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \ -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \ -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \ -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \ -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \ -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \ -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \ -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \ -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \ -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \ -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \ -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \ -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \ -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \ -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \ -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \ -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \ -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \ -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \ -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \ -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \ -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \ -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \ -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \ -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \ -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \ -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \ -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \ -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \ -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \ -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \ -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \ -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \ -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \ -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \ -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ < $@-t2 > $@-t3 $(AM_V_at)sed \ -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \ -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -e 's|@''REPLACE_DUP3''@|$(REPLACE_DUP3)|g' \ -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \ -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \ -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \ -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \ -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \ -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \ -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \ -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \ -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -e 's|@''REPLACE_FDATASYNC''@|$(REPLACE_FDATASYNC)|g' \ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \ -e 's|@''REPLACE_GETENTROPY''@|$(REPLACE_GETENTROPY)|g' \ -e 's|@''REPLACE_GETLOGIN''@|$(REPLACE_GETLOGIN)|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \ -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \ -e 's|@''REPLACE_GETUSERSHELL''@|$(REPLACE_GETUSERSHELL)|g' \ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_PIPE2''@|$(REPLACE_PIPE2)|g' \ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -e 's|@''REPLACE_SETHOSTNAME''@|$(REPLACE_SETHOSTNAME)|g' \ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \ -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t3 > $@-t4 $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3 $(AM_V_at)mv $@-t4 $@ MOSTLYCLEANFILES += lib/unistd.h lib/unistd.h-t1 lib/unistd.h-t2 lib/unistd.h-t3 lib/unistd.h-t4 EXTRA_DIST += lib/unistd.in.h ## end gnulib module unistd-h ## begin gnulib module unistr/base BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H) lib/unistr.h: lib/unistr.in.h $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/unistr.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/unistr.h lib/unistr.h-t EXTRA_DIST += lib/unistr.in.h ## end gnulib module unistr/base ## begin gnulib module unistr/u8-mbtoucr if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR lib_libdatamash_a_SOURCES += lib/unistr/u8-mbtoucr.c endif ## end gnulib module unistr/u8-mbtoucr ## begin gnulib module unistr/u8-uctomb if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB lib_libdatamash_a_SOURCES += lib/unistr/u8-uctomb.c lib/unistr/u8-uctomb-aux.c endif ## end gnulib module unistr/u8-uctomb ## begin gnulib module unitypes-h BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) lib/unitypes.h: lib/unitypes.in.h $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/unitypes.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/unitypes.h lib/unitypes.h-t EXTRA_DIST += lib/unitypes.in.h ## end gnulib module unitypes-h ## begin gnulib module uniwidth/base BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H) lib/uniwidth.h: lib/uniwidth.in.h $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(top_srcdir)/lib/uniwidth.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/uniwidth.h lib/uniwidth.h-t EXTRA_DIST += lib/localcharset.h lib/uniwidth.in.h ## end gnulib module uniwidth/base ## begin gnulib module uniwidth/width if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH lib_libdatamash_a_SOURCES += lib/uniwidth/width.c endif EXTRA_DIST += lib/unictype/bitmap.h lib/uniwidth/cjk.h lib/uniwidth/width0.h lib/uniwidth/width2.h ## end gnulib module uniwidth/width ## begin gnulib module unlocked-io-internal EXTRA_DIST += lib/unlocked-io.h ## end gnulib module unlocked-io-internal ## begin gnulib module update-copyright EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright ## end gnulib module update-copyright ## begin gnulib module useless-if-before-free EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free ## end gnulib module useless-if-before-free ## begin gnulib module vasnprintf EXTRA_DIST += lib/asnprintf.c lib/float+.h lib/printf-args.c lib/printf-args.h lib/printf-parse.c lib/printf-parse.h lib/vasnprintf.c lib/vasnprintf.h EXTRA_lib_libdatamash_a_SOURCES += lib/asnprintf.c lib/printf-args.c lib/printf-parse.c lib/vasnprintf.c ## end gnulib module vasnprintf ## begin gnulib module vc-list-files EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files ## end gnulib module vc-list-files ## begin gnulib module version-etc lib_libdatamash_a_SOURCES += lib/version-etc.h lib/version-etc.c ## end gnulib module version-etc ## begin gnulib module vsnzprintf lib_libdatamash_a_SOURCES += lib/vsnzprintf.c ## end gnulib module vsnzprintf ## begin gnulib module waitpid if GL_COND_OBJ_WAITPID lib_libdatamash_a_SOURCES += lib/waitpid.c endif ## end gnulib module waitpid ## begin gnulib module wchar-h BUILT_SOURCES += lib/wchar.h # We need the following in order to create when the system # version does not work standalone. lib/wchar.h: lib/wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \ -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \ -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \ -e 's/@''GNULIB_MBSZERO''@/$(GL_GNULIB_MBSZERO)/g' \ -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \ -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \ -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \ -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \ -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \ -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \ -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \ -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \ -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \ -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \ -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \ -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \ -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \ -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \ -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \ -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \ -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \ -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \ -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \ -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \ -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \ -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \ -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \ -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \ -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \ -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \ -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \ -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \ -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \ -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \ -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \ -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \ -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \ -e 's/@''GNULIB_WGETCWD''@/$(GL_GNULIB_WGETCWD)/g' \ -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ < $(top_srcdir)/lib/wchar.in.h > $@-t1 $(AM_V_at)sed \ -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \ -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \ -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \ -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \ -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \ -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \ -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \ -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \ -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \ -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \ -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \ -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \ -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \ -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \ -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \ -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \ -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \ -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \ -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \ -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \ -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \ -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \ -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \ -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \ -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \ -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \ -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \ -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \ -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \ -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \ -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ < $@-t1 > $@-t2 $(AM_V_at)sed \ -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \ -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \ -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \ -e 's|@''REPLACE_WCSCMP''@|$(REPLACE_WCSCMP)|g' \ -e 's|@''REPLACE_WCSNCAT''@|$(REPLACE_WCSNCAT)|g' \ -e 's|@''REPLACE_WCSNCMP''@|$(REPLACE_WCSNCMP)|g' \ -e 's|@''REPLACE_WCSSTR''@|$(REPLACE_WCSSTR)|g' \ -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \ -e 's|@''REPLACE_WMEMCMP''@|$(REPLACE_WMEMCMP)|g' \ -e 's|@''REPLACE_WMEMPCPY''@|$(REPLACE_WMEMPCPY)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $@-t2 > $@-t3 $(AM_V_at)rm -f $@-t1 $@-t2 $(AM_V_at)mv $@-t3 $@ MOSTLYCLEANFILES += lib/wchar.h lib/wchar.h-t1 lib/wchar.h-t2 lib/wchar.h-t3 EXTRA_DIST += lib/wchar.in.h ## end gnulib module wchar-h ## begin gnulib module wctype-h BUILT_SOURCES += lib/wctype.h lib_libdatamash_a_SOURCES += lib/wctype-h.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. lib/wctype.h: lib/wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ -e 's/@''GNULIB_ISWBLANK''@/$(GL_GNULIB_ISWBLANK)/g' \ -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \ -e 's/@''GNULIB_ISWPUNCT''@/$(GL_GNULIB_ISWPUNCT)/g' \ -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \ -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \ -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \ -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \ -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \ -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \ -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ -e 's/@''REPLACE_ISWDIGIT''@/$(REPLACE_ISWDIGIT)/g' \ -e 's/@''REPLACE_ISWPUNCT''@/$(REPLACE_ISWPUNCT)/g' \ -e 's/@''REPLACE_ISWXDIGIT''@/$(REPLACE_ISWXDIGIT)/g' \ -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \ -e 's/@''REPLACE_WCTRANS''@/$(REPLACE_WCTRANS)/g' \ -e 's/@''REPLACE_WCTYPE''@/$(REPLACE_WCTYPE)/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ $(top_srcdir)/lib/wctype.in.h > $@-t $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += lib/wctype.h lib/wctype.h-t EXTRA_DIST += lib/wctype.in.h ## end gnulib module wctype-h ## begin gnulib module wcwidth if GL_COND_OBJ_WCWIDTH lib_libdatamash_a_SOURCES += lib/wcwidth.c endif ## end gnulib module wcwidth ## begin gnulib module windows-mutex if GL_COND_OBJ_WINDOWS_MUTEX lib_libdatamash_a_SOURCES += lib/windows-mutex.c endif EXTRA_DIST += lib/windows-initguard.h lib/windows-mutex.h ## end gnulib module windows-mutex ## begin gnulib module windows-once if GL_COND_OBJ_WINDOWS_ONCE lib_libdatamash_a_SOURCES += lib/windows-once.c endif EXTRA_DIST += lib/windows-once.h ## end gnulib module windows-once ## begin gnulib module windows-recmutex if GL_COND_OBJ_WINDOWS_RECMUTEX lib_libdatamash_a_SOURCES += lib/windows-recmutex.c endif EXTRA_DIST += lib/windows-initguard.h lib/windows-recmutex.h ## end gnulib module windows-recmutex ## begin gnulib module windows-rwlock if GL_COND_OBJ_WINDOWS_RWLOCK lib_libdatamash_a_SOURCES += lib/windows-rwlock.c endif EXTRA_DIST += lib/windows-initguard.h lib/windows-rwlock.h ## end gnulib module windows-rwlock ## begin gnulib module xalloc lib_libdatamash_a_SOURCES += lib/xmalloc.c EXTRA_DIST += lib/xalloc.h ## end gnulib module xalloc ## begin gnulib module xalloc-die lib_libdatamash_a_SOURCES += lib/xalloc-die.c EXTRA_DIST += lib/xalloc.h ## end gnulib module xalloc-die ## begin gnulib module xalloc-oversized EXTRA_DIST += lib/xalloc-oversized.h ## end gnulib module xalloc-oversized ## begin gnulib module xsize lib_libdatamash_a_SOURCES += lib/xsize.h lib/xsize.c ## end gnulib module xsize ## begin gnulib module xstriconv lib_libdatamash_a_SOURCES += lib/xstriconv.h lib/xstriconv.c ## end gnulib module xstriconv ## begin gnulib module xstrtol lib_libdatamash_a_SOURCES += lib/xstrtol.c lib/xstrtoul.c EXTRA_DIST += lib/xstrtol.h ## end gnulib module xstrtol ## begin gnulib module xstrtol-error lib_libdatamash_a_SOURCES += lib/xstrtol-error.c EXTRA_DIST += lib/xstrtol-error.h ## end gnulib module xstrtol-error ## begin gnulib module xstrtoumax lib_libdatamash_a_SOURCES += lib/xstrtoumax.c ## end gnulib module xstrtoumax mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ if test -n "$$dir" && test -d $$dir; then \ echo "rmdir $$dir"; rmdir $$dir; \ fi; \ done; \ : distclean-local: distclean-gnulib-libobjs distclean-gnulib-libobjs: -rm -f @gl_libdatamash_LIBOBJDEPS@ maintainer-clean-local: distclean-gnulib-libobjs datamash-1.9/lib/hard-locale.c0000644000000000000000000000272214767401140011670 /* hard-locale.c -- Determine whether a locale is hard. Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include "hard-locale.h" #include #include #include bool hard_locale (int category) { char locale[SETLOCALE_NULL_MAX]; if (setlocale_null_r (category, locale, sizeof (locale))) return false; if (!(strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0)) return true; #if defined __ANDROID__ /* On Android 5.0 or newer, it is possible to set a locale that has the same name as the "C" locale but in fact uses UTF-8 encoding. Cf. test case 2 in . */ if (MB_CUR_MAX > 1) return true; #endif return false; } datamash-1.9/lib/hard-locale.h0000644000000000000000000000236614767401140011701 /* Determine whether a locale is hard. Copyright (C) 1999, 2003-2004, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef HARD_LOCALE_H_ #define HARD_LOCALE_H_ 1 #ifdef __cplusplus extern "C" { #endif /* Return true if the specified CATEGORY of the current locale is hard, i.e. different from the C or POSIX locale that has a fixed behavior. CATEGORY must be one of the LC_* values, but not LC_ALL. Note: This function uses the current global locale; it ignores the per-thread locale. */ extern bool hard_locale (int category); #ifdef __cplusplus } #endif #endif /* HARD_LOCALE_H_ */ datamash-1.9/lib/hash-pjw-bare.c0000644000000000000000000000254414767401140012147 /* hash-pjw-bare.c -- compute a hash value from a provided buffer. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include "hash-pjw-bare.h" #include #define SIZE_BITS (sizeof (size_t) * CHAR_BIT) /* Return a hash of the N bytes of X using the method described by Bruno Haible in https://www.haible.de/bruno/hashfunc.html. Note that while many hash functions reduce their result via modulo to a 0..table_size-1 range, this function does not do that. */ size_t hash_pjw_bare (const void *x, size_t n) { const unsigned char *s = x; size_t h = 0; unsigned i; for (i = 0; i < n; i++) h = s[i] + ((h << 9) | (h >> (SIZE_BITS - 9))); return h; } datamash-1.9/lib/hash-pjw-bare.h0000644000000000000000000000246014767401140012151 /* hash-pjw-bare.h -- declaration for a simple hash function Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file uses _GL_ATTRIBUTE_PURE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #ifdef __cplusplus extern "C" { #endif /* Compute a hash code for a buffer starting at X and of size N, and return the hash code. Note that unlike hash_pjw(), it does not return it modulo a table size. The result is platform dependent: it depends on the size of the 'size_t' type. */ extern size_t hash_pjw_bare (const void *x, size_t n) _GL_ATTRIBUTE_PURE; #ifdef __cplusplus } #endif datamash-1.9/lib/hash-pjw.c0000644000000000000000000000236014767401140011234 /* hash-pjw.c -- compute a hash value from a NUL-terminated string. Copyright (C) 2001, 2003, 2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include "hash-pjw.h" #include #define SIZE_BITS (sizeof (size_t) * CHAR_BIT) /* A hash function for NUL-terminated char* strings using the method described by Bruno Haible. See https://www.haible.de/bruno/hashfunc.html. */ size_t hash_pjw (const void *x, size_t tablesize) { const char *s; size_t h = 0; for (s = x; *s; s++) h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); return h % tablesize; } datamash-1.9/lib/hash-pjw.h0000644000000000000000000000245114767401140011242 /* hash-pjw.h -- declaration for a simple hash function Copyright (C) 2001, 2003, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file uses _GL_ATTRIBUTE_PURE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #ifdef __cplusplus extern "C" { #endif /* Compute a hash code for a NUL-terminated string starting at X, and return the hash code modulo TABLESIZE. The result is platform dependent: it depends on the size of the 'size_t' type and on the signedness of the 'char' type. */ extern size_t hash_pjw (void const *x, size_t tablesize) _GL_ATTRIBUTE_PURE; #ifdef __cplusplus } #endif datamash-1.9/lib/hash.c0000644000000000000000000010047414767401140010443 /* hash - hashing table processing. Copyright (C) 1998-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Jim Meyering, 1992. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* A generic hash table package. */ /* Define USE_OBSTACK to 1 if you want the allocator to use obstacks instead of malloc. If you change USE_OBSTACK, you have to recompile! */ #include #include "hash.h" #include "bitrotate.h" #include "xalloc-oversized.h" #include #include #include #include #if USE_OBSTACK # include "obstack.h" # ifndef obstack_chunk_alloc # define obstack_chunk_alloc malloc # endif # ifndef obstack_chunk_free # define obstack_chunk_free free # endif #endif struct hash_entry { void *data; struct hash_entry *next; }; struct hash_table { /* The array of buckets starts at BUCKET and extends to BUCKET_LIMIT-1, for a possibility of N_BUCKETS. Among those, N_BUCKETS_USED buckets are not empty, there are N_ENTRIES active entries in the table. */ struct hash_entry *bucket; struct hash_entry const *bucket_limit; size_t n_buckets; size_t n_buckets_used; size_t n_entries; /* Tuning arguments, kept in a physically separate structure. */ const Hash_tuning *tuning; /* Three functions are given to 'hash_initialize', see the documentation block for this function. In a word, HASHER randomizes a user entry into a number up from 0 up to some maximum minus 1; COMPARATOR returns true if two user entries compare equally; and DATA_FREER is the cleanup function for a user entry. */ Hash_hasher hasher; Hash_comparator comparator; Hash_data_freer data_freer; /* A linked list of freed struct hash_entry structs. */ struct hash_entry *free_entry_list; #if USE_OBSTACK /* Whenever obstacks are used, it is possible to allocate all overflowed entries into a single stack, so they all can be freed in a single operation. It is not clear if the speedup is worth the trouble. */ struct obstack entry_stack; #endif }; /* A hash table contains many internal entries, each holding a pointer to some user-provided data (also called a user entry). An entry indistinctly refers to both the internal entry and its associated user entry. A user entry contents may be hashed by a randomization function (the hashing function, or just "hasher" for short) into a number (or "slot") between 0 and the current table size. At each slot position in the hash table, starts a linked chain of entries for which the user data all hash to this slot. A bucket is the collection of all entries hashing to the same slot. A good "hasher" function will distribute entries rather evenly in buckets. In the ideal case, the length of each bucket is roughly the number of entries divided by the table size. Finding the slot for a data is usually done in constant time by the "hasher", and the later finding of a precise entry is linear in time with the size of the bucket. Consequently, a larger hash table size (that is, a larger number of buckets) is prone to yielding shorter chains, *given* the "hasher" function behaves properly. Long buckets slow down the lookup algorithm. One might use big hash table sizes in hope to reduce the average length of buckets, but this might become inordinate, as unused slots in the hash table take some space. The best bet is to make sure you are using a good "hasher" function (beware that those are not that easy to write! :-), and to use a table size larger than the actual number of entries. */ /* If an insertion makes the ratio of nonempty buckets to table size larger than the growth threshold (a number between 0.0 and 1.0), then increase the table size by multiplying by the growth factor (a number greater than 1.0). The growth threshold defaults to 0.8, and the growth factor defaults to 1.414, meaning that the table will have doubled its size every second time 80% of the buckets get used. */ #define DEFAULT_GROWTH_THRESHOLD 0.8f #define DEFAULT_GROWTH_FACTOR 1.414f /* If a deletion empties a bucket and causes the ratio of used buckets to table size to become smaller than the shrink threshold (a number between 0.0 and 1.0), then shrink the table by multiplying by the shrink factor (a number greater than the shrink threshold but smaller than 1.0). The shrink threshold and factor default to 0.0 and 1.0, meaning that the table never shrinks. */ #define DEFAULT_SHRINK_THRESHOLD 0.0f #define DEFAULT_SHRINK_FACTOR 1.0f /* Use this to initialize or reset a TUNING structure to some sensible values. */ static const Hash_tuning default_tuning = { DEFAULT_SHRINK_THRESHOLD, DEFAULT_SHRINK_FACTOR, DEFAULT_GROWTH_THRESHOLD, DEFAULT_GROWTH_FACTOR, false }; /* Information and lookup. */ size_t hash_get_n_buckets (const Hash_table *table) { return table->n_buckets; } size_t hash_get_n_buckets_used (const Hash_table *table) { return table->n_buckets_used; } size_t hash_get_n_entries (const Hash_table *table) { return table->n_entries; } size_t hash_get_max_bucket_length (const Hash_table *table) { struct hash_entry const *bucket; size_t max_bucket_length = 0; for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { if (bucket->data) { struct hash_entry const *cursor = bucket; size_t bucket_length = 1; while (cursor = cursor->next, cursor) bucket_length++; if (bucket_length > max_bucket_length) max_bucket_length = bucket_length; } } return max_bucket_length; } bool hash_table_ok (const Hash_table *table) { struct hash_entry const *bucket; size_t n_buckets_used = 0; size_t n_entries = 0; for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { if (bucket->data) { struct hash_entry const *cursor = bucket; /* Count bucket head. */ n_buckets_used++; n_entries++; /* Count bucket overflow. */ while (cursor = cursor->next, cursor) n_entries++; } } if (n_buckets_used == table->n_buckets_used && n_entries == table->n_entries) return true; return false; } void hash_print_statistics (const Hash_table *table, FILE *stream) { size_t n_entries = hash_get_n_entries (table); size_t n_buckets = hash_get_n_buckets (table); size_t n_buckets_used = hash_get_n_buckets_used (table); size_t max_bucket_length = hash_get_max_bucket_length (table); fprintf (stream, "# entries: %lu\n", (unsigned long int) n_entries); fprintf (stream, "# buckets: %lu\n", (unsigned long int) n_buckets); fprintf (stream, "# buckets used: %lu (%.2f%%)\n", (unsigned long int) n_buckets_used, (100.0 * n_buckets_used) / n_buckets); fprintf (stream, "max bucket length: %lu\n", (unsigned long int) max_bucket_length); } /* Hash KEY and return a pointer to the selected bucket. If TABLE->hasher misbehaves, abort. */ static struct hash_entry * safe_hasher (const Hash_table *table, const void *key) { size_t n = table->hasher (key, table->n_buckets); if (! (n < table->n_buckets)) abort (); return table->bucket + n; } void * hash_lookup (const Hash_table *table, const void *entry) { struct hash_entry const *bucket = safe_hasher (table, entry); struct hash_entry const *cursor; if (bucket->data == NULL) return NULL; for (cursor = bucket; cursor; cursor = cursor->next) if (entry == cursor->data || table->comparator (entry, cursor->data)) return cursor->data; return NULL; } /* Walking. */ void * hash_get_first (const Hash_table *table) { struct hash_entry const *bucket; if (table->n_entries == 0) return NULL; for (bucket = table->bucket; ; bucket++) if (! (bucket < table->bucket_limit)) abort (); else if (bucket->data) return bucket->data; } void * hash_get_next (const Hash_table *table, const void *entry) { struct hash_entry const *bucket = safe_hasher (table, entry); struct hash_entry const *cursor; /* Find next entry in the same bucket. */ cursor = bucket; do { if (cursor->data == entry && cursor->next) return cursor->next->data; cursor = cursor->next; } while (cursor != NULL); /* Find first entry in any subsequent bucket. */ while (++bucket < table->bucket_limit) if (bucket->data) return bucket->data; /* None found. */ return NULL; } size_t hash_get_entries (const Hash_table *table, void **buffer, size_t buffer_size) { size_t counter = 0; struct hash_entry const *bucket; struct hash_entry const *cursor; for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { if (bucket->data) { for (cursor = bucket; cursor; cursor = cursor->next) { if (counter >= buffer_size) return counter; buffer[counter++] = cursor->data; } } } return counter; } size_t hash_do_for_each (const Hash_table *table, Hash_processor processor, void *processor_data) { size_t counter = 0; struct hash_entry const *bucket; struct hash_entry const *cursor; for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { if (bucket->data) { for (cursor = bucket; cursor; cursor = cursor->next) { if (! processor (cursor->data, processor_data)) return counter; counter++; } } } return counter; } /* Allocation and clean-up. */ #if USE_DIFF_HASH /* About hashings, Paul Eggert writes to me (FP), on 1994-01-01: "Please see B. J. McKenzie, R. Harries & T. Bell, Selecting a hashing algorithm, Software--practice & experience 20, 2 (Feb 1990), 209-224. Good hash algorithms tend to be domain-specific, so what's good for [diffutils'] io.c may not be good for your application." */ size_t hash_string (const char *string, size_t n_buckets) { # define HASH_ONE_CHAR(Value, Byte) \ ((Byte) + rotl_sz (Value, 7)) size_t value = 0; unsigned char ch; for (; (ch = *string); string++) value = HASH_ONE_CHAR (value, ch); return value % n_buckets; # undef HASH_ONE_CHAR } #else /* not USE_DIFF_HASH */ /* This one comes from 'recode', and performs a bit better than the above as per a few experiments. It is inspired from a hashing routine found in the very old Cyber 'snoop', itself written in typical Greg Mansfield style. (By the way, what happened to this excellent man? Is he still alive?) */ size_t hash_string (const char *string, size_t n_buckets) { size_t value = 0; unsigned char ch; for (; (ch = *string); string++) value = (value * 31 + ch) % n_buckets; return value; } #endif /* not USE_DIFF_HASH */ /* Return true if CANDIDATE is a prime number. CANDIDATE should be an odd number at least equal to 11. */ static bool _GL_ATTRIBUTE_CONST is_prime (size_t candidate) { size_t divisor = 3; size_t square = divisor * divisor; while (square < candidate && (candidate % divisor)) { divisor++; square += 4 * divisor; divisor++; } return (candidate % divisor ? true : false); } /* Round a given CANDIDATE number up to the nearest prime, and return that prime. Primes lower than 10 are merely skipped. */ static size_t _GL_ATTRIBUTE_CONST next_prime (size_t candidate) { /* Skip small primes. */ if (candidate < 10) candidate = 10; /* Make it definitely odd. */ candidate |= 1; while (SIZE_MAX != candidate && !is_prime (candidate)) candidate += 2; return candidate; } void hash_reset_tuning (Hash_tuning *tuning) { *tuning = default_tuning; } /* If the user passes a NULL hasher, we hash the raw pointer. */ static size_t raw_hasher (const void *data, size_t n) { /* When hashing unique pointers, it is often the case that they were generated by malloc and thus have the property that the low-order bits are 0. As this tends to give poorer performance with small tables, we rotate the pointer value before performing division, in an attempt to improve hash quality. */ size_t val = rotr_sz ((size_t) data, 3); return val % n; } /* If the user passes a NULL comparator, we use pointer comparison. */ static bool raw_comparator (const void *a, const void *b) { return a == b; } /* For the given hash TABLE, check the user supplied tuning structure for reasonable values, and return true if there is no gross error with it. Otherwise, definitively reset the TUNING field to some acceptable default in the hash table (that is, the user loses the right of further modifying tuning arguments), and return false. */ static bool check_tuning (Hash_table *table) { const Hash_tuning *tuning = table->tuning; float epsilon; if (tuning == &default_tuning) return true; /* Be a bit stricter than mathematics would require, so that rounding errors in size calculations do not cause allocations to fail to grow or shrink as they should. The smallest allocation is 11 (due to next_prime's algorithm), so an epsilon of 0.1 should be good enough. */ epsilon = 0.1f; if (epsilon < tuning->growth_threshold && tuning->growth_threshold < 1 - epsilon && 1 + epsilon < tuning->growth_factor && 0 <= tuning->shrink_threshold && tuning->shrink_threshold + epsilon < tuning->shrink_factor && tuning->shrink_factor <= 1 && tuning->shrink_threshold + epsilon < tuning->growth_threshold) return true; table->tuning = &default_tuning; return false; } /* Compute the size of the bucket array for the given CANDIDATE and TUNING, or return 0 if there is no possible way to allocate that many entries. */ static size_t _GL_ATTRIBUTE_PURE compute_bucket_size (size_t candidate, const Hash_tuning *tuning) { if (!tuning->is_n_buckets) { float new_candidate = candidate / tuning->growth_threshold; if ((float) SIZE_MAX <= new_candidate) goto nomem; candidate = new_candidate; } candidate = next_prime (candidate); if (xalloc_oversized (candidate, sizeof (struct hash_entry *))) goto nomem; return candidate; nomem: errno = ENOMEM; return 0; } Hash_table * hash_initialize (size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer) { Hash_table *table; if (hasher == NULL) hasher = raw_hasher; if (comparator == NULL) comparator = raw_comparator; table = malloc (sizeof *table); if (table == NULL) return NULL; if (!tuning) tuning = &default_tuning; table->tuning = tuning; if (!check_tuning (table)) { /* Fail if the tuning options are invalid. This is the only occasion when the user gets some feedback about it. Once the table is created, if the user provides invalid tuning options, we silently revert to using the defaults, and ignore further request to change the tuning options. */ errno = EINVAL; goto fail; } table->n_buckets = compute_bucket_size (candidate, tuning); if (!table->n_buckets) goto fail; table->bucket = calloc (table->n_buckets, sizeof *table->bucket); if (table->bucket == NULL) goto fail; table->bucket_limit = table->bucket + table->n_buckets; table->n_buckets_used = 0; table->n_entries = 0; table->hasher = hasher; table->comparator = comparator; table->data_freer = data_freer; table->free_entry_list = NULL; #if USE_OBSTACK obstack_init (&table->entry_stack); #endif return table; fail: free (table); return NULL; } void hash_clear (Hash_table *table) { struct hash_entry *bucket; for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { if (bucket->data) { struct hash_entry *cursor; struct hash_entry *next; /* Free the bucket overflow. */ for (cursor = bucket->next; cursor; cursor = next) { if (table->data_freer) table->data_freer (cursor->data); cursor->data = NULL; next = cursor->next; /* Relinking is done one entry at a time, as it is to be expected that overflows are either rare or short. */ cursor->next = table->free_entry_list; table->free_entry_list = cursor; } /* Free the bucket head. */ if (table->data_freer) table->data_freer (bucket->data); bucket->data = NULL; bucket->next = NULL; } } table->n_buckets_used = 0; table->n_entries = 0; } void hash_free (Hash_table *table) { struct hash_entry *bucket; struct hash_entry *cursor; struct hash_entry *next; int err = errno; /* Call the user data_freer function. */ if (table->data_freer && table->n_entries) { for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { if (bucket->data) { for (cursor = bucket; cursor; cursor = cursor->next) table->data_freer (cursor->data); } } } #if USE_OBSTACK obstack_free (&table->entry_stack, NULL); #else /* Free all bucket overflowed entries. */ for (bucket = table->bucket; bucket < table->bucket_limit; bucket++) { for (cursor = bucket->next; cursor; cursor = next) { next = cursor->next; free (cursor); } } /* Also reclaim the internal list of previously freed entries. */ for (cursor = table->free_entry_list; cursor; cursor = next) { next = cursor->next; free (cursor); } #endif /* Free the remainder of the hash table structure. */ free (table->bucket); free (table); errno = err; } /* Insertion and deletion. */ /* Get a new hash entry for a bucket overflow, possibly by recycling a previously freed one. If this is not possible, allocate a new one. */ static struct hash_entry * allocate_entry (Hash_table *table) { struct hash_entry *new; if (table->free_entry_list) { new = table->free_entry_list; table->free_entry_list = new->next; } else { #if USE_OBSTACK new = obstack_alloc (&table->entry_stack, sizeof *new); #else new = malloc (sizeof *new); #endif } return new; } /* Free a hash entry which was part of some bucket overflow, saving it for later recycling. */ static void free_entry (Hash_table *table, struct hash_entry *entry) { entry->data = NULL; entry->next = table->free_entry_list; table->free_entry_list = entry; } /* This private function is used to help with insertion and deletion. When ENTRY matches an entry in the table, return a pointer to the corresponding user data and set *BUCKET_HEAD to the head of the selected bucket. Otherwise, return NULL. When DELETE is true and ENTRY matches an entry in the table, unlink the matching entry. */ static void * hash_find_entry (Hash_table *table, const void *entry, struct hash_entry **bucket_head, bool delete) { struct hash_entry *bucket = safe_hasher (table, entry); struct hash_entry *cursor; *bucket_head = bucket; /* Test for empty bucket. */ if (bucket->data == NULL) return NULL; /* See if the entry is the first in the bucket. */ if (entry == bucket->data || table->comparator (entry, bucket->data)) { void *data = bucket->data; if (delete) { if (bucket->next) { struct hash_entry *next = bucket->next; /* Bump the first overflow entry into the bucket head, then save the previous first overflow entry for later recycling. */ *bucket = *next; free_entry (table, next); } else { bucket->data = NULL; } } return data; } /* Scan the bucket overflow. */ for (cursor = bucket; cursor->next; cursor = cursor->next) { if (entry == cursor->next->data || table->comparator (entry, cursor->next->data)) { void *data = cursor->next->data; if (delete) { struct hash_entry *next = cursor->next; /* Unlink the entry to delete, then save the freed entry for later recycling. */ cursor->next = next->next; free_entry (table, next); } return data; } } /* No entry found. */ return NULL; } /* Internal helper, to move entries from SRC to DST. Both tables must share the same free entry list. If SAFE, only move overflow entries, saving bucket heads for later, so that no allocations will occur. Return false (setting errno) if the free entry list is exhausted and an allocation fails. */ static bool transfer_entries (Hash_table *dst, Hash_table *src, bool safe) { struct hash_entry *bucket; struct hash_entry *cursor; struct hash_entry *next; for (bucket = src->bucket; bucket < src->bucket_limit; bucket++) if (bucket->data) { void *data; struct hash_entry *new_bucket; /* Within each bucket, transfer overflow entries first and then the bucket head, to minimize memory pressure. After all, the only time we might allocate is when moving the bucket head, but moving overflow entries first may create free entries that can be recycled by the time we finally get to the bucket head. */ for (cursor = bucket->next; cursor; cursor = next) { data = cursor->data; new_bucket = safe_hasher (dst, data); next = cursor->next; if (new_bucket->data) { /* Merely relink an existing entry, when moving from a bucket overflow into a bucket overflow. */ cursor->next = new_bucket->next; new_bucket->next = cursor; } else { /* Free an existing entry, when moving from a bucket overflow into a bucket header. */ new_bucket->data = data; dst->n_buckets_used++; free_entry (dst, cursor); } } /* Now move the bucket head. Be sure that if we fail due to allocation failure that the src table is in a consistent state. */ data = bucket->data; bucket->next = NULL; if (safe) continue; new_bucket = safe_hasher (dst, data); if (new_bucket->data) { /* Allocate or recycle an entry, when moving from a bucket header into a bucket overflow. */ struct hash_entry *new_entry = allocate_entry (dst); if (new_entry == NULL) return false; new_entry->data = data; new_entry->next = new_bucket->next; new_bucket->next = new_entry; } else { /* Move from one bucket header to another. */ new_bucket->data = data; dst->n_buckets_used++; } bucket->data = NULL; src->n_buckets_used--; } return true; } bool hash_rehash (Hash_table *table, size_t candidate) { Hash_table storage; Hash_table *new_table; size_t new_size = compute_bucket_size (candidate, table->tuning); if (!new_size) return false; if (new_size == table->n_buckets) return true; new_table = &storage; new_table->bucket = calloc (new_size, sizeof *new_table->bucket); if (new_table->bucket == NULL) return false; new_table->n_buckets = new_size; new_table->bucket_limit = new_table->bucket + new_size; new_table->n_buckets_used = 0; new_table->n_entries = 0; new_table->tuning = table->tuning; new_table->hasher = table->hasher; new_table->comparator = table->comparator; new_table->data_freer = table->data_freer; /* In order for the transfer to successfully complete, we need additional overflow entries when distinct buckets in the old table collide into a common bucket in the new table. The worst case possible is a hasher that gives a good spread with the old size, but returns a constant with the new size; if we were to guarantee table->n_buckets_used-1 free entries in advance, then the transfer would be guaranteed to not allocate memory. However, for large tables, a guarantee of no further allocation introduces a lot of extra memory pressure, all for an unlikely corner case (most rehashes reduce, rather than increase, the number of overflow entries needed). So, we instead ensure that the transfer process can be reversed if we hit a memory allocation failure mid-transfer. */ /* Merely reuse the extra old space into the new table. */ #if USE_OBSTACK new_table->entry_stack = table->entry_stack; #endif new_table->free_entry_list = table->free_entry_list; if (transfer_entries (new_table, table, false)) { /* Entries transferred successfully; tie up the loose ends. */ free (table->bucket); table->bucket = new_table->bucket; table->bucket_limit = new_table->bucket_limit; table->n_buckets = new_table->n_buckets; table->n_buckets_used = new_table->n_buckets_used; table->free_entry_list = new_table->free_entry_list; /* table->n_entries and table->entry_stack already hold their value. */ return true; } /* We've allocated new_table->bucket (and possibly some entries), exhausted the free list, and moved some but not all entries into new_table. We must undo the partial move before returning failure. The only way to get into this situation is if new_table uses fewer buckets than the old table, so we will reclaim some free entries as overflows in the new table are put back into distinct buckets in the old table. There are some pathological cases where a single pass through the table requires more intermediate overflow entries than using two passes. Two passes give worse cache performance and takes longer, but at this point, we're already out of memory, so slow and safe is better than failure. */ int err = errno; table->free_entry_list = new_table->free_entry_list; if (! (transfer_entries (table, new_table, true) && transfer_entries (table, new_table, false))) abort (); /* table->n_entries already holds its value. */ free (new_table->bucket); errno = err; return false; } int hash_insert_if_absent (Hash_table *table, void const *entry, void const **matched_ent) { void *data; struct hash_entry *bucket; /* The caller cannot insert a NULL entry, since hash_lookup returns NULL to indicate "not found", and hash_find_entry uses "bucket->data == NULL" to indicate an empty bucket. */ if (! entry) abort (); /* If there's a matching entry already in the table, return that. */ if ((data = hash_find_entry (table, entry, &bucket, false)) != NULL) { if (matched_ent) *matched_ent = data; return 0; } /* If the growth threshold of the buckets in use has been reached, increase the table size and rehash. There's no point in checking the number of entries: if the hashing function is ill-conditioned, rehashing is not likely to improve it. */ if (table->n_buckets_used > table->tuning->growth_threshold * table->n_buckets) { /* Check more fully, before starting real work. If tuning arguments became invalid, the second check will rely on proper defaults. */ check_tuning (table); if (table->n_buckets_used > table->tuning->growth_threshold * table->n_buckets) { const Hash_tuning *tuning = table->tuning; float candidate = (tuning->is_n_buckets ? (table->n_buckets * tuning->growth_factor) : (table->n_buckets * tuning->growth_factor * tuning->growth_threshold)); if ((float) SIZE_MAX <= candidate) { errno = ENOMEM; return -1; } /* If the rehash fails, arrange to return NULL. */ if (!hash_rehash (table, candidate)) return -1; /* Update the bucket we are interested in. */ if (hash_find_entry (table, entry, &bucket, false) != NULL) abort (); } } /* ENTRY is not matched, it should be inserted. */ if (bucket->data) { struct hash_entry *new_entry = allocate_entry (table); if (new_entry == NULL) return -1; /* Add ENTRY in the overflow of the bucket. */ new_entry->data = (void *) entry; new_entry->next = bucket->next; bucket->next = new_entry; table->n_entries++; return 1; } /* Add ENTRY right in the bucket head. */ bucket->data = (void *) entry; table->n_entries++; table->n_buckets_used++; return 1; } void * hash_insert (Hash_table *table, void const *entry) { void const *matched_ent; int err = hash_insert_if_absent (table, entry, &matched_ent); return (err == -1 ? NULL : (void *) (err == 0 ? matched_ent : entry)); } void * hash_remove (Hash_table *table, const void *entry) { void *data; struct hash_entry *bucket; data = hash_find_entry (table, entry, &bucket, true); if (!data) return NULL; table->n_entries--; if (!bucket->data) { table->n_buckets_used--; /* If the shrink threshold of the buckets in use has been reached, rehash into a smaller table. */ if (table->n_buckets_used < table->tuning->shrink_threshold * table->n_buckets) { /* Check more fully, before starting real work. If tuning arguments became invalid, the second check will rely on proper defaults. */ check_tuning (table); if (table->n_buckets_used < table->tuning->shrink_threshold * table->n_buckets) { const Hash_tuning *tuning = table->tuning; size_t candidate = (tuning->is_n_buckets ? table->n_buckets * tuning->shrink_factor : (table->n_buckets * tuning->shrink_factor * tuning->growth_threshold)); if (!hash_rehash (table, candidate)) { /* Failure to allocate memory in an attempt to shrink the table is not fatal. But since memory is low, we can at least be kind and free any spare entries, rather than keeping them tied up in the free entry list. */ #if ! USE_OBSTACK struct hash_entry *cursor = table->free_entry_list; struct hash_entry *next; while (cursor) { next = cursor->next; free (cursor); cursor = next; } table->free_entry_list = NULL; #endif } } } } return data; } void * hash_delete (Hash_table *table, const void *entry) { return hash_remove (table, entry); } /* Testing. */ #if TESTING void hash_print (const Hash_table *table) { struct hash_entry *bucket = (struct hash_entry *) table->bucket; for ( ; bucket < table->bucket_limit; bucket++) { struct hash_entry *cursor; if (bucket) printf ("%lu:\n", (unsigned long int) (bucket - table->bucket)); for (cursor = bucket; cursor; cursor = cursor->next) { char const *s = cursor->data; /* FIXME */ if (s) printf (" %s\n", s); } } } #endif /* TESTING */ datamash-1.9/lib/hash.h0000644000000000000000000002762214767401140010453 /* hash - hashing table processing. Copyright (C) 1998-1999, 2001, 2003, 2009-2025 Free Software Foundation, Inc. Written by Jim Meyering , 1998. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* A generic hash table package. */ /* Make sure USE_OBSTACK is defined to 1 if you want the allocator to use obstacks instead of malloc, and recompile 'hash.c' with same setting. */ #ifndef HASH_H_ # define HASH_H_ /* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEPRECATED, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_PURE, _GL_ATTRIBUTE_RETURNS_NONNULL. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif # include # ifdef __cplusplus extern "C" { # endif struct hash_tuning { /* This structure is mainly used for 'hash_initialize', see the block documentation of 'hash_reset_tuning' for more complete comments. */ float shrink_threshold; /* ratio of used buckets to trigger a shrink */ float shrink_factor; /* ratio of new smaller size to original size */ float growth_threshold; /* ratio of used buckets to trigger a growth */ float growth_factor; /* ratio of new bigger size to original size */ bool is_n_buckets; /* if CANDIDATE really means table size */ }; typedef struct hash_tuning Hash_tuning; struct hash_table; typedef struct hash_table Hash_table; /* * Information and lookup. */ /* The following few functions provide information about the overall hash table organization: the number of entries, number of buckets and maximum length of buckets. */ /* Return the number of buckets in the hash table. The table size, the total number of buckets (used plus unused), or the maximum number of slots, are the same quantity. */ extern size_t hash_get_n_buckets (const Hash_table *table) _GL_ATTRIBUTE_PURE; /* Return the number of slots in use (non-empty buckets). */ extern size_t hash_get_n_buckets_used (const Hash_table *table) _GL_ATTRIBUTE_PURE; /* Return the number of active entries. */ extern size_t hash_get_n_entries (const Hash_table *table) _GL_ATTRIBUTE_PURE; /* Return the length of the longest chain (bucket). */ extern size_t hash_get_max_bucket_length (const Hash_table *table) _GL_ATTRIBUTE_PURE; /* Do a mild validation of a hash table, by traversing it and checking two statistics. */ extern bool hash_table_ok (const Hash_table *table) _GL_ATTRIBUTE_PURE; extern void hash_print_statistics (const Hash_table *table, FILE *stream); /* If ENTRY matches an entry already in the hash table, return the entry from the table. Otherwise, return NULL. */ extern void *hash_lookup (const Hash_table *table, const void *entry); /* * Walking. */ /* The functions in this page traverse the hash table and process the contained entries. For the traversal to work properly, the hash table should not be resized nor modified while any particular entry is being processed. In particular, entries should not be added, and an entry may be removed only if there is no shrink threshold and the entry being removed has already been passed to hash_get_next. */ /* Return the first data in the table, or NULL if the table is empty. */ extern void *hash_get_first (const Hash_table *table) _GL_ATTRIBUTE_PURE; /* Return the user data for the entry following ENTRY, where ENTRY has been returned by a previous call to either 'hash_get_first' or 'hash_get_next'. Return NULL if there are no more entries. */ extern void *hash_get_next (const Hash_table *table, const void *entry); /* Fill BUFFER with pointers to active user entries in the hash table, then return the number of pointers copied. Do not copy more than BUFFER_SIZE pointers. */ extern size_t hash_get_entries (const Hash_table *table, void **buffer, size_t buffer_size); typedef bool (*Hash_processor) (void *entry, void *processor_data); /* Call a PROCESSOR function for each entry of a hash table, and return the number of entries for which the processor function returned success. A pointer to some PROCESSOR_DATA which will be made available to each call to the processor function. The PROCESSOR accepts two arguments: the first is the user entry being walked into, the second is the value of PROCESSOR_DATA as received. The walking continue for as long as the PROCESSOR function returns nonzero. When it returns zero, the walking is interrupted. */ extern size_t hash_do_for_each (const Hash_table *table, Hash_processor processor, void *processor_data); /* * Allocation and clean-up. */ /* Return a hash index for a NUL-terminated STRING between 0 and N_BUCKETS-1. This is a convenience routine for constructing other hashing functions. */ extern size_t hash_string (const char *string, size_t n_buckets) _GL_ATTRIBUTE_PURE; extern void hash_reset_tuning (Hash_tuning *tuning); typedef size_t (*Hash_hasher) (const void *entry, size_t table_size); typedef bool (*Hash_comparator) (const void *entry1, const void *entry2); typedef void (*Hash_data_freer) (void *entry); /* Reclaim all storage associated with a hash table. If a data_freer function has been supplied by the user when the hash table was created, this function applies it to the data of each entry before freeing that entry. This function preserves errno, like 'free'. */ extern void hash_free (Hash_table *table); /* Allocate and return a new hash table, or NULL upon failure. The initial number of buckets is automatically selected so as to _guarantee_ that you may insert at least CANDIDATE different user entries before any growth of the hash table size occurs. So, if have a reasonably tight a-priori upper bound on the number of entries you intend to insert in the hash table, you may save some table memory and insertion time, by specifying it here. If the IS_N_BUCKETS field of the TUNING structure is true, the CANDIDATE argument has its meaning changed to the wanted number of buckets. TUNING points to a structure of user-supplied values, in case some fine tuning is wanted over the default behavior of the hasher. If TUNING is NULL, the default tuning parameters are used instead. If TUNING is provided but the values requested are out of bounds or might cause rounding errors, return NULL. The user-supplied HASHER function, when not NULL, accepts two arguments ENTRY and TABLE_SIZE. It computes, by hashing ENTRY contents, a slot number for that entry which should be in the range 0..TABLE_SIZE-1. This slot number is then returned. The user-supplied COMPARATOR function, when not NULL, accepts two arguments pointing to user data, it then returns true for a pair of entries that compare equal, or false otherwise. This function is internally called on entries which are already known to hash to the same bucket index, but which are distinct pointers. The user-supplied DATA_FREER function, when not NULL, may be later called with the user data as an argument, just before the entry containing the data gets freed. This happens from within 'hash_free' or 'hash_clear'. You should specify this function only if you want these functions to free all of your 'data' data. This is typically the case when your data is simply an auxiliary struct that you have malloc'd to aggregate several values. Set errno on failure; otherwise errno is unspecified. */ _GL_ATTRIBUTE_NODISCARD extern Hash_table *hash_initialize (size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (hash_free, 1); /* Like hash_initialize, but invokes xalloc_die instead of returning NULL. */ /* This function is defined by module 'xhash'. */ _GL_ATTRIBUTE_NODISCARD extern Hash_table *hash_xinitialize (size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (hash_free, 1) _GL_ATTRIBUTE_RETURNS_NONNULL; /* Make all buckets empty, placing any chained entries on the free list. Apply the user-specified function data_freer (if any) to the data of any affected entries. */ extern void hash_clear (Hash_table *table); /* * Insertion and deletion. */ /* For an already existing hash table, change the number of buckets through specifying CANDIDATE. The contents of the hash table are preserved. The new number of buckets is automatically selected so as to _guarantee_ that the table may receive at least CANDIDATE different user entries, including those already in the table, before any other growth of the hash table size occurs. If TUNING->IS_N_BUCKETS is true, then CANDIDATE specifies the exact number of buckets desired. Return true iff the rehash succeeded, false (setting errno) otherwise. */ _GL_ATTRIBUTE_NODISCARD extern bool hash_rehash (Hash_table *table, size_t candidate); /* If ENTRY matches an entry already in the hash table, return the pointer to the entry from the table. Otherwise, insert ENTRY and return ENTRY. Return NULL (setting errno) if the storage required for insertion cannot be allocated. This implementation does not support duplicate entries or insertion of NULL. */ _GL_ATTRIBUTE_NODISCARD extern void *hash_insert (Hash_table *table, const void *entry); /* Same as hash_insert, but invokes xalloc_die instead of returning NULL. */ /* This function is defined by module 'xhash'. */ extern void *hash_xinsert (Hash_table *table, const void *entry); /* Insert ENTRY into hash TABLE if there is not already a matching entry. Return -1 (setting errno) upon memory allocation failure. Return 1 if insertion succeeded. Return 0 if there is already a matching entry in the table, and in that case, if MATCHED_ENT is non-NULL, set *MATCHED_ENT to that entry. This interface is easier to use than hash_insert when you must distinguish between the latter two cases. More importantly, hash_insert is unusable for some types of ENTRY values. When using hash_insert, the only way to distinguish those cases is to compare the return value and ENTRY. That works only when you can have two different ENTRY values that point to data that compares "equal". Thus, when the ENTRY value is a simple scalar, you must use hash_insert_if_absent. ENTRY must not be NULL. */ extern int hash_insert_if_absent (Hash_table *table, const void *entry, const void **matched_ent); /* If ENTRY is already in the table, remove it and return the just-deleted data (the user may want to deallocate its storage). If ENTRY is not in the table, don't modify the table and return NULL. */ extern void *hash_remove (Hash_table *table, const void *entry); /* Same as hash_remove. This interface is deprecated. FIXME: Remove in 2022. */ _GL_ATTRIBUTE_DEPRECATED extern void *hash_delete (Hash_table *table, const void *entry); # ifdef __cplusplus } # endif #endif datamash-1.9/lib/ialloc.c0000644000000000000000000000151214767401140010754 /* malloc with idx_t rather than size_t Copyright 2021-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define IALLOC_INLINE _GL_EXTERN_INLINE #include "ialloc.h" datamash-1.9/lib/ialloc.h0000644000000000000000000000542114767401140010764 /* ialloc.h -- malloc with idx_t rather than size_t Copyright 2021-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef IALLOC_H_ #define IALLOC_H_ /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_COLD, _GL_ATTRIBUTE_MALLOC. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include "idx.h" #include #include #include _GL_INLINE_HEADER_BEGIN #ifndef IALLOC_INLINE # define IALLOC_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif IALLOC_INLINE void * _GL_ATTRIBUTE_COLD _gl_alloc_nomem (void) { errno = ENOMEM; return NULL; } /* imalloc (size) is like malloc (size). It returns a non-NULL pointer to size bytes of memory. Upon failure, it returns NULL with errno set. */ IALLOC_INLINE _GL_ATTRIBUTE_MALLOC /*_GL_ATTRIBUTE_DEALLOC_FREE*/ void * imalloc (idx_t s) { return s <= SIZE_MAX ? malloc (s) : _gl_alloc_nomem (); } /* irealloc (ptr, size) is like realloc (ptr, size). It returns a non-NULL pointer to size bytes of memory. Upon failure, it returns NULL with errno set. */ IALLOC_INLINE /*_GL_ATTRIBUTE_DEALLOC_FREE*/ void * irealloc (void *p, idx_t s) { return s <= SIZE_MAX ? realloc (p, s) : _gl_alloc_nomem (); } /* icalloc (num, size) is like calloc (num, size). It returns a non-NULL pointer to num * size bytes of memory. Upon failure, it returns NULL with errno set. */ IALLOC_INLINE _GL_ATTRIBUTE_MALLOC /*_GL_ATTRIBUTE_DEALLOC_FREE*/ void * icalloc (idx_t n, idx_t s) { if (SIZE_MAX < n) { if (s != 0) return _gl_alloc_nomem (); n = 0; } if (SIZE_MAX < s) { if (n != 0) return _gl_alloc_nomem (); s = 0; } return calloc (n, s); } /* ireallocarray (ptr, num, size) is like reallocarray (ptr, num, size). It returns a non-NULL pointer to num * size bytes of memory. Upon failure, it returns NULL with errno set. */ IALLOC_INLINE void * ireallocarray (void *p, idx_t n, idx_t s) { return (n <= SIZE_MAX && s <= SIZE_MAX ? reallocarray (p, n, s) : _gl_alloc_nomem ()); } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif datamash-1.9/lib/iconv.c0000644000000000000000000002653414767401140010642 /* Character set conversion. Copyright (C) 1999-2001, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #if REPLACE_ICONV_UTF # include # include # include # include "unistr.h" #endif #if REPLACE_ICONV_UTF /* UTF-{16,32}{BE,LE} converters taken from GNU libiconv 1.11. */ /* Return code if invalid. (xxx_mbtowc) */ # define RET_ILSEQ -1 /* Return code if no bytes were read. (xxx_mbtowc) */ # define RET_TOOFEW -2 /* Return code if invalid. (xxx_wctomb) */ # define RET_ILUNI -1 /* Return code if output buffer is too small. (xxx_wctomb, xxx_reset) */ # define RET_TOOSMALL -2 /* * UTF-16BE */ /* Specification: RFC 2781 */ static int utf16be_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 2) { ucs4_t wc = (s[0] << 8) + s[1]; if (wc >= 0xd800 && wc < 0xdc00) { if (n >= 4) { ucs4_t wc2 = (s[2] << 8) + s[3]; if (!(wc2 >= 0xdc00 && wc2 < 0xe000)) return RET_ILSEQ; *pwc = 0x10000 + ((wc - 0xd800) << 10) + (wc2 - 0xdc00); return 4; } } else if (wc >= 0xdc00 && wc < 0xe000) { return RET_ILSEQ; } else { *pwc = wc; return 2; } } return RET_TOOFEW; } static int utf16be_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (!(wc >= 0xd800 && wc < 0xe000)) { if (wc < 0x10000) { if (n >= 2) { r[0] = (unsigned char) (wc >> 8); r[1] = (unsigned char) wc; return 2; } else return RET_TOOSMALL; } else if (wc < 0x110000) { if (n >= 4) { ucs4_t wc1 = 0xd800 + ((wc - 0x10000) >> 10); ucs4_t wc2 = 0xdc00 + ((wc - 0x10000) & 0x3ff); r[0] = (unsigned char) (wc1 >> 8); r[1] = (unsigned char) wc1; r[2] = (unsigned char) (wc2 >> 8); r[3] = (unsigned char) wc2; return 4; } else return RET_TOOSMALL; } } return RET_ILUNI; } /* * UTF-16LE */ /* Specification: RFC 2781 */ static int utf16le_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 2) { ucs4_t wc = s[0] + (s[1] << 8); if (wc >= 0xd800 && wc < 0xdc00) { if (n >= 4) { ucs4_t wc2 = s[2] + (s[3] << 8); if (!(wc2 >= 0xdc00 && wc2 < 0xe000)) return RET_ILSEQ; *pwc = 0x10000 + ((wc - 0xd800) << 10) + (wc2 - 0xdc00); return 4; } } else if (wc >= 0xdc00 && wc < 0xe000) { return RET_ILSEQ; } else { *pwc = wc; return 2; } } return RET_TOOFEW; } static int utf16le_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (!(wc >= 0xd800 && wc < 0xe000)) { if (wc < 0x10000) { if (n >= 2) { r[0] = (unsigned char) wc; r[1] = (unsigned char) (wc >> 8); return 2; } else return RET_TOOSMALL; } else if (wc < 0x110000) { if (n >= 4) { ucs4_t wc1 = 0xd800 + ((wc - 0x10000) >> 10); ucs4_t wc2 = 0xdc00 + ((wc - 0x10000) & 0x3ff); r[0] = (unsigned char) wc1; r[1] = (unsigned char) (wc1 >> 8); r[2] = (unsigned char) wc2; r[3] = (unsigned char) (wc2 >> 8); return 4; } else return RET_TOOSMALL; } } return RET_ILUNI; } /* * UTF-32BE */ /* Specification: Unicode 3.1 Standard Annex #19 */ static int utf32be_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 4) { ucs4_t wc = ((ucs4_t) s[0] << 24) + ((ucs4_t) s[1] << 16) + ((ucs4_t) s[2] << 8) + (ucs4_t) s[3]; if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { *pwc = wc; return 4; } else return RET_ILSEQ; } return RET_TOOFEW; } static int utf32be_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { if (n >= 4) { r[0] = 0; r[1] = (unsigned char) (wc >> 16); r[2] = (unsigned char) (wc >> 8); r[3] = (unsigned char) wc; return 4; } else return RET_TOOSMALL; } return RET_ILUNI; } /* * UTF-32LE */ /* Specification: Unicode 3.1 Standard Annex #19 */ static int utf32le_mbtowc (ucs4_t *pwc, const unsigned char *s, size_t n) { if (n >= 4) { ucs4_t wc = (ucs4_t) s[0] + ((ucs4_t) s[1] << 8) + ((ucs4_t) s[2] << 16) + ((ucs4_t) s[3] << 24); if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { *pwc = wc; return 4; } else return RET_ILSEQ; } return RET_TOOFEW; } static int utf32le_wctomb (unsigned char *r, ucs4_t wc, size_t n) { if (wc < 0x110000 && !(wc >= 0xd800 && wc < 0xe000)) { if (n >= 4) { r[0] = (unsigned char) wc; r[1] = (unsigned char) (wc >> 8); r[2] = (unsigned char) (wc >> 16); r[3] = 0; return 4; } else return RET_TOOSMALL; } return RET_ILUNI; } #endif size_t rpl_iconv (iconv_t cd, ICONV_CONST char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) #undef iconv { #if REPLACE_ICONV_UTF switch ((uintptr_t) cd) { { int (*xxx_wctomb) (unsigned char *, ucs4_t, size_t); case (uintptr_t) _ICONV_UTF8_UTF16BE: xxx_wctomb = utf16be_wctomb; goto loop_from_utf8; case (uintptr_t) _ICONV_UTF8_UTF16LE: xxx_wctomb = utf16le_wctomb; goto loop_from_utf8; case (uintptr_t) _ICONV_UTF8_UTF32BE: xxx_wctomb = utf32be_wctomb; goto loop_from_utf8; case (uintptr_t) _ICONV_UTF8_UTF32LE: xxx_wctomb = utf32le_wctomb; goto loop_from_utf8; loop_from_utf8: if (inbuf == NULL || *inbuf == NULL) return 0; { ICONV_CONST char *inptr = *inbuf; size_t inleft = *inbytesleft; char *outptr = *outbuf; size_t outleft = *outbytesleft; size_t res = 0; while (inleft > 0) { ucs4_t uc; int m = u8_mbtoucr (&uc, (const uint8_t *) inptr, inleft); if (m <= 0) { if (m == -1) { errno = EILSEQ; res = (size_t)(-1); break; } if (m == -2) { errno = EINVAL; res = (size_t)(-1); break; } abort (); } else { int n = xxx_wctomb ((uint8_t *) outptr, uc, outleft); if (n < 0) { if (n == RET_ILUNI) { errno = EILSEQ; res = (size_t)(-1); break; } if (n == RET_TOOSMALL) { errno = E2BIG; res = (size_t)(-1); break; } abort (); } else { inptr += m; inleft -= m; outptr += n; outleft -= n; } } } *inbuf = inptr; *inbytesleft = inleft; *outbuf = outptr; *outbytesleft = outleft; return res; } } { int (*xxx_mbtowc) (ucs4_t *, const unsigned char *, size_t); case (uintptr_t) _ICONV_UTF16BE_UTF8: xxx_mbtowc = utf16be_mbtowc; goto loop_to_utf8; case (uintptr_t) _ICONV_UTF16LE_UTF8: xxx_mbtowc = utf16le_mbtowc; goto loop_to_utf8; case (uintptr_t) _ICONV_UTF32BE_UTF8: xxx_mbtowc = utf32be_mbtowc; goto loop_to_utf8; case (uintptr_t) _ICONV_UTF32LE_UTF8: xxx_mbtowc = utf32le_mbtowc; goto loop_to_utf8; loop_to_utf8: if (inbuf == NULL || *inbuf == NULL) return 0; { ICONV_CONST char *inptr = *inbuf; size_t inleft = *inbytesleft; char *outptr = *outbuf; size_t outleft = *outbytesleft; size_t res = 0; while (inleft > 0) { ucs4_t uc; int m = xxx_mbtowc (&uc, (const uint8_t *) inptr, inleft); if (m <= 0) { if (m == RET_ILSEQ) { errno = EILSEQ; res = (size_t)(-1); break; } if (m == RET_TOOFEW) { errno = EINVAL; res = (size_t)(-1); break; } abort (); } else { int n = u8_uctomb ((uint8_t *) outptr, uc, outleft); if (n < 0) { if (n == -1) { errno = EILSEQ; res = (size_t)(-1); break; } if (n == -2) { errno = E2BIG; res = (size_t)(-1); break; } abort (); } else { inptr += m; inleft -= m; outptr += n; outleft -= n; } } } *inbuf = inptr; *inbytesleft = inleft; *outbuf = outptr; *outbytesleft = outleft; return res; } } } #endif return iconv (cd, inbuf, inbytesleft, outbuf, outbytesleft); } datamash-1.9/lib/iconv.in.h0000644000000000000000000001057114767401140011246 /* A GNU-like . Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_ICONV_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_ICONV_H@ #ifndef _@GUARD_PREFIX@_ICONV_H #define _@GUARD_PREFIX@_ICONV_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if @GNULIB_ICONV@ # if @REPLACE_ICONV_OPEN@ /* An iconv_open wrapper that supports the IANA standardized encoding names ("ISO-8859-1" etc.) as far as possible. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iconv_open rpl_iconv_open # endif _GL_FUNCDECL_RPL (iconv_open, iconv_t, (const char *tocode, const char *fromcode), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (iconv_open, iconv_t, (const char *tocode, const char *fromcode)); # else _GL_CXXALIAS_SYS (iconv_open, iconv_t, (const char *tocode, const char *fromcode)); # endif _GL_CXXALIASWARN (iconv_open); #elif defined GNULIB_POSIXCHECK # undef iconv_open # if HAVE_RAW_DECL_ICONV_OPEN _GL_WARN_ON_USE (iconv_open, "iconv_open is not working correctly everywhere - " "use gnulib module iconv for portability"); # endif #endif #if @REPLACE_ICONV_UTF@ /* Special constants for supporting UTF-{16,32}{BE,LE} encodings. Not public. */ # define _ICONV_UTF8_UTF16BE (iconv_t)(-161) # define _ICONV_UTF8_UTF16LE (iconv_t)(-162) # define _ICONV_UTF8_UTF32BE (iconv_t)(-163) # define _ICONV_UTF8_UTF32LE (iconv_t)(-164) # define _ICONV_UTF16BE_UTF8 (iconv_t)(-165) # define _ICONV_UTF16LE_UTF8 (iconv_t)(-166) # define _ICONV_UTF32BE_UTF8 (iconv_t)(-167) # define _ICONV_UTF32LE_UTF8 (iconv_t)(-168) #endif #if @GNULIB_ICONV@ # if @REPLACE_ICONV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iconv rpl_iconv # endif _GL_FUNCDECL_RPL (iconv, size_t, (iconv_t cd, @ICONV_CONST@ char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft), ); _GL_CXXALIAS_RPL (iconv, size_t, (iconv_t cd, @ICONV_CONST@ char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft)); # else /* Need to cast, because on some versions of Solaris, ICONV_CONST does not have the right value for C++. */ _GL_CXXALIAS_SYS_CAST (iconv, size_t, (iconv_t cd, @ICONV_CONST@ char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft)); # endif _GL_CXXALIASWARN (iconv); # ifndef ICONV_CONST # define ICONV_CONST @ICONV_CONST@ # endif #elif defined GNULIB_POSIXCHECK # undef iconv # if HAVE_RAW_DECL_ICONV _GL_WARN_ON_USE (iconv, "iconv is not working correctly everywhere - " "use gnulib module iconv for portability"); # endif #endif #if @GNULIB_ICONV@ # if @REPLACE_ICONV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iconv_close rpl_iconv_close # endif _GL_FUNCDECL_RPL (iconv_close, int, (iconv_t cd), ); _GL_CXXALIAS_RPL (iconv_close, int, (iconv_t cd)); # else _GL_CXXALIAS_SYS (iconv_close, int, (iconv_t cd)); # endif _GL_CXXALIASWARN (iconv_close); #endif #endif /* _@GUARD_PREFIX@_ICONV_H */ #endif /* _@GUARD_PREFIX@_ICONV_H */ datamash-1.9/lib/iconv_close.c0000644000000000000000000000250114767401140012013 /* Character set conversion. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include int rpl_iconv_close (iconv_t cd) #undef iconv_close { #if REPLACE_ICONV_UTF switch ((uintptr_t) cd) { case (uintptr_t) _ICONV_UTF8_UTF16BE: case (uintptr_t) _ICONV_UTF8_UTF16LE: case (uintptr_t) _ICONV_UTF8_UTF32BE: case (uintptr_t) _ICONV_UTF8_UTF32LE: case (uintptr_t) _ICONV_UTF16BE_UTF8: case (uintptr_t) _ICONV_UTF16LE_UTF8: case (uintptr_t) _ICONV_UTF32BE_UTF8: case (uintptr_t) _ICONV_UTF32LE_UTF8: return 0; } #endif return iconv_close (cd); } datamash-1.9/lib/iconv_open-aix.gperf0000644000000000000000000000331314767401140013311 /* Character set conversion. Copyright (C) 2007, 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On AIX 5.1, look in /usr/lib/nls/loc/uconvTable. ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" CP437, "IBM-437" CP850, "IBM-850" CP852, "IBM-852" CP856, "IBM-856" CP857, "IBM-857" CP861, "IBM-861" CP865, "IBM-865" CP869, "IBM-869" ISO-8859-13, "IBM-921" CP922, "IBM-922" CP932, "IBM-932" CP943, "IBM-943" CP1046, "IBM-1046" CP1124, "IBM-1124" CP1125, "IBM-1125" CP1129, "IBM-1129" CP1252, "IBM-1252" GB2312, "IBM-eucCN" EUC-JP, "IBM-eucJP" EUC-KR, "IBM-eucKR" EUC-TW, "IBM-eucTW" BIG5, "big5" datamash-1.9/lib/iconv_open-aix.h0000644000000000000000000002341114771573745012456 /* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 iconv_open-aix.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "iconv_open-aix.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 32 #define MIN_WORD_LENGTH 4 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 6 #define MAX_HASH_VALUE 44 /* maximum key range = 39, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 0, 4, 25, 0, 11, 24, 9, 17, 3, 14, 21, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 3, 45, 1, 45, 45, 45, 45, 0, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45 }; return len + asso_values[(unsigned char)str[3]+2] + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str6[sizeof("EUC-TW")]; char stringpool_str7[sizeof("EUC-KR")]; char stringpool_str8[sizeof("CP852")]; char stringpool_str9[sizeof("EUC-JP")]; char stringpool_str10[sizeof("ISO-8859-2")]; char stringpool_str11[sizeof("CP857")]; char stringpool_str12[sizeof("CP850")]; char stringpool_str13[sizeof("ISO-8859-7")]; char stringpool_str14[sizeof("CP932")]; char stringpool_str15[sizeof("GB2312")]; char stringpool_str16[sizeof("BIG5")]; char stringpool_str17[sizeof("CP437")]; char stringpool_str19[sizeof("ISO-8859-5")]; char stringpool_str20[sizeof("ISO-8859-15")]; char stringpool_str21[sizeof("ISO-8859-3")]; char stringpool_str22[sizeof("ISO-8859-13")]; char stringpool_str23[sizeof("CP1046")]; char stringpool_str24[sizeof("ISO-8859-8")]; char stringpool_str25[sizeof("CP856")]; char stringpool_str26[sizeof("CP1125")]; char stringpool_str27[sizeof("ISO-8859-6")]; char stringpool_str28[sizeof("CP865")]; char stringpool_str29[sizeof("CP922")]; char stringpool_str30[sizeof("CP1252")]; char stringpool_str31[sizeof("ISO-8859-9")]; char stringpool_str33[sizeof("CP943")]; char stringpool_str34[sizeof("ISO-8859-4")]; char stringpool_str35[sizeof("ISO-8859-1")]; char stringpool_str38[sizeof("CP1129")]; char stringpool_str40[sizeof("CP869")]; char stringpool_str41[sizeof("CP1124")]; char stringpool_str44[sizeof("CP861")]; }; static const struct stringpool_t stringpool_contents = { "EUC-TW", "EUC-KR", "CP852", "EUC-JP", "ISO-8859-2", "CP857", "CP850", "ISO-8859-7", "CP932", "GB2312", "BIG5", "CP437", "ISO-8859-5", "ISO-8859-15", "ISO-8859-3", "ISO-8859-13", "CP1046", "ISO-8859-8", "CP856", "CP1125", "ISO-8859-6", "CP865", "CP922", "CP1252", "ISO-8859-9", "CP943", "ISO-8859-4", "ISO-8859-1", "CP1129", "CP869", "CP1124", "CP861" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 59 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "IBM-eucTW"}, #line 58 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "IBM-eucKR"}, #line 41 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "IBM-852"}, #line 57 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "IBM-eucJP"}, #line 30 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "ISO8859-2"}, #line 43 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "IBM-857"}, #line 40 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "IBM-850"}, #line 35 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-7"}, #line 49 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "IBM-932"}, #line 56 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "IBM-eucCN"}, #line 60 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "big5"}, #line 39 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "IBM-437"}, {-1}, #line 33 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "ISO8859-5"}, #line 38 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "ISO8859-15"}, #line 31 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "ISO8859-3"}, #line 47 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "IBM-921"}, #line 51 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "IBM-1046"}, #line 36 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str24, "ISO8859-8"}, #line 42 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "IBM-856"}, #line 53 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "IBM-1125"}, #line 34 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "ISO8859-6"}, #line 45 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str28, "IBM-865"}, #line 48 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "IBM-922"}, #line 55 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "IBM-1252"}, #line 37 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "ISO8859-9"}, {-1}, #line 50 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "IBM-943"}, #line 32 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "ISO8859-4"}, #line 29 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "ISO8859-1"}, {-1}, {-1}, #line 54 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "IBM-1129"}, {-1}, #line 46 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "IBM-869"}, #line 52 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "IBM-1124"}, {-1}, {-1}, #line 44 "iconv_open-aix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str44, "IBM-861"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } datamash-1.9/lib/iconv_open-hpux.gperf0000644000000000000000000000353114767401140013516 /* Character set conversion. Copyright (C) 2007, 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ struct mapping { int standard_name; const char vendor_name[9 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On HP-UX 11.11, look in /usr/lib/nls/iconv. ISO-8859-1, "iso88591" ISO-8859-2, "iso88592" ISO-8859-5, "iso88595" ISO-8859-6, "iso88596" ISO-8859-7, "iso88597" ISO-8859-8, "iso88598" ISO-8859-9, "iso88599" ISO-8859-15, "iso885915" CP437, "cp437" CP775, "cp775" CP850, "cp850" CP852, "cp852" CP855, "cp855" CP857, "cp857" CP861, "cp861" CP862, "cp862" CP864, "cp864" CP865, "cp865" CP866, "cp866" CP869, "cp869" CP874, "cp874" CP1250, "cp1250" CP1251, "cp1251" CP1252, "cp1252" CP1253, "cp1253" CP1254, "cp1254" CP1255, "cp1255" CP1256, "cp1256" CP1257, "cp1257" CP1258, "cp1258" HP-ROMAN8, "roman8" HP-ARABIC8, "arabic8" HP-GREEK8, "greek8" HP-HEBREW8, "hebrew8" HP-TURKISH8, "turkish8" HP-KANA8, "kana8" TIS-620, "tis620" GB2312, "hp15CN" EUC-JP, "eucJP" EUC-KR, "eucKR" EUC-TW, "eucTW" BIG5, "big5" SHIFT_JIS, "sjis" UTF-8, "utf8" datamash-1.9/lib/iconv_open-hpux.h0000644000000000000000000002724514771573745012672 /* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 iconv_open-hpux.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "iconv_open-hpux.gperf" struct mapping { int standard_name; const char vendor_name[9 + 1]; }; #define TOTAL_KEYWORDS 44 #define MIN_WORD_LENGTH 4 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 6 #define MAX_HASH_VALUE 49 /* maximum key range = 44, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 1, 2, 24, 43, 5, 10, 0, 13, 32, 3, 19, 18, 50, 50, 50, 50, 50, 50, 50, 50, 50, 5, 50, 50, 50, 50, 14, 5, 0, 50, 50, 0, 27, 50, 12, 14, 50, 50, 0, 5, 2, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 }; return len + asso_values[(unsigned char)str[3]+4] + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str6[sizeof("CP1256")]; char stringpool_str7[sizeof("CP1250")]; char stringpool_str8[sizeof("CP1251")]; char stringpool_str9[sizeof("CP850")]; char stringpool_str10[sizeof("TIS-620")]; char stringpool_str11[sizeof("CP1254")]; char stringpool_str12[sizeof("ISO-8859-6")]; char stringpool_str13[sizeof("EUC-TW")]; char stringpool_str14[sizeof("ISO-8859-1")]; char stringpool_str15[sizeof("ISO-8859-9")]; char stringpool_str16[sizeof("CP1255")]; char stringpool_str17[sizeof("BIG5")]; char stringpool_str18[sizeof("CP855")]; char stringpool_str19[sizeof("CP1257")]; char stringpool_str20[sizeof("EUC-KR")]; char stringpool_str21[sizeof("CP857")]; char stringpool_str22[sizeof("ISO-8859-5")]; char stringpool_str23[sizeof("ISO-8859-15")]; char stringpool_str24[sizeof("CP866")]; char stringpool_str25[sizeof("ISO-8859-7")]; char stringpool_str26[sizeof("CP861")]; char stringpool_str27[sizeof("CP869")]; char stringpool_str28[sizeof("CP874")]; char stringpool_str29[sizeof("CP864")]; char stringpool_str30[sizeof("CP1252")]; char stringpool_str31[sizeof("CP437")]; char stringpool_str32[sizeof("CP852")]; char stringpool_str33[sizeof("CP775")]; char stringpool_str34[sizeof("CP865")]; char stringpool_str35[sizeof("EUC-JP")]; char stringpool_str36[sizeof("ISO-8859-2")]; char stringpool_str37[sizeof("SHIFT_JIS")]; char stringpool_str38[sizeof("CP1258")]; char stringpool_str39[sizeof("UTF-8")]; char stringpool_str40[sizeof("HP-KANA8")]; char stringpool_str41[sizeof("HP-ROMAN8")]; char stringpool_str42[sizeof("HP-HEBREW8")]; char stringpool_str43[sizeof("GB2312")]; char stringpool_str44[sizeof("ISO-8859-8")]; char stringpool_str45[sizeof("HP-TURKISH8")]; char stringpool_str46[sizeof("HP-GREEK8")]; char stringpool_str47[sizeof("HP-ARABIC8")]; char stringpool_str48[sizeof("CP862")]; char stringpool_str49[sizeof("CP1253")]; }; static const struct stringpool_t stringpool_contents = { "CP1256", "CP1250", "CP1251", "CP850", "TIS-620", "CP1254", "ISO-8859-6", "EUC-TW", "ISO-8859-1", "ISO-8859-9", "CP1255", "BIG5", "CP855", "CP1257", "EUC-KR", "CP857", "ISO-8859-5", "ISO-8859-15", "CP866", "ISO-8859-7", "CP861", "CP869", "CP874", "CP864", "CP1252", "CP437", "CP852", "CP775", "CP865", "EUC-JP", "ISO-8859-2", "SHIFT_JIS", "CP1258", "UTF-8", "HP-KANA8", "HP-ROMAN8", "HP-HEBREW8", "GB2312", "ISO-8859-8", "HP-TURKISH8", "HP-GREEK8", "HP-ARABIC8", "CP862", "CP1253" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 56 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "cp1256"}, #line 50 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "cp1250"}, #line 51 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "cp1251"}, #line 39 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "cp850"}, #line 65 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "tis620"}, #line 54 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "cp1254"}, #line 32 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "iso88596"}, #line 69 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "eucTW"}, #line 29 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "iso88591"}, #line 35 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "iso88599"}, #line 55 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "cp1255"}, #line 70 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "big5"}, #line 41 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "cp855"}, #line 57 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "cp1257"}, #line 68 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "eucKR"}, #line 42 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "cp857"}, #line 31 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "iso88595"}, #line 36 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "iso885915"}, #line 47 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str24, "cp866"}, #line 33 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "iso88597"}, #line 43 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "cp861"}, #line 48 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "cp869"}, #line 49 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str28, "cp874"}, #line 45 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "cp864"}, #line 52 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "cp1252"}, #line 37 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "cp437"}, #line 40 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str32, "cp852"}, #line 38 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "cp775"}, #line 46 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "cp865"}, #line 67 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "eucJP"}, #line 30 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str36, "iso88592"}, #line 71 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str37, "sjis"}, #line 58 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "cp1258"}, #line 72 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str39, "utf8"}, #line 64 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "kana8"}, #line 59 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "roman8"}, #line 62 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str42, "hebrew8"}, #line 66 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str43, "hp15CN"}, #line 34 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str44, "iso88598"}, #line 63 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str45, "turkish8"}, #line 61 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str46, "greek8"}, #line 60 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str47, "arabic8"}, #line 44 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str48, "cp862"}, #line 53 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str49, "cp1253"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } datamash-1.9/lib/iconv_open-irix.gperf0000644000000000000000000000275314767401140013512 /* Character set conversion. Copyright (C) 2007, 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On IRIX 6.5, look in /usr/lib/iconv and /usr/lib/international/encodings. ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" KOI8-R, "KOI8" CP855, "DOS855" CP1251, "WIN1251" GB2312, "eucCN" EUC-JP, "eucJP" EUC-KR, "eucKR" EUC-TW, "eucTW" SHIFT_JIS, "sjis" TIS-620, "TIS620" datamash-1.9/lib/iconv_open-irix.h0000644000000000000000000001710214771573745012650 /* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 iconv_open-irix.gperf */ /* Computed positions: -k'1,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "iconv_open-irix.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 19 #define MIN_WORD_LENGTH 5 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 5 #define MAX_HASH_VALUE 23 /* maximum key range = 19, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 8, 2, 5, 12, 11, 0, 10, 9, 8, 7, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 24, 0, 24, 5, 24, 0, 24, 7, 24, 24, 24, 24, 7, 24, 1, 0, 8, 24, 24, 0, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24 }; return len + asso_values[(unsigned char)str[len - 1]] + asso_values[(unsigned char)str[0]]; } struct stringpool_t { char stringpool_str5[sizeof("CP855")]; char stringpool_str6[sizeof("EUC-TW")]; char stringpool_str7[sizeof("EUC-KR")]; char stringpool_str8[sizeof("CP1251")]; char stringpool_str9[sizeof("SHIFT_JIS")]; char stringpool_str10[sizeof("ISO-8859-5")]; char stringpool_str11[sizeof("ISO-8859-15")]; char stringpool_str12[sizeof("ISO-8859-1")]; char stringpool_str13[sizeof("EUC-JP")]; char stringpool_str14[sizeof("KOI8-R")]; char stringpool_str15[sizeof("ISO-8859-2")]; char stringpool_str16[sizeof("GB2312")]; char stringpool_str17[sizeof("ISO-8859-9")]; char stringpool_str18[sizeof("ISO-8859-8")]; char stringpool_str19[sizeof("ISO-8859-7")]; char stringpool_str20[sizeof("ISO-8859-6")]; char stringpool_str21[sizeof("ISO-8859-4")]; char stringpool_str22[sizeof("ISO-8859-3")]; char stringpool_str23[sizeof("TIS-620")]; }; static const struct stringpool_t stringpool_contents = { "CP855", "EUC-TW", "EUC-KR", "CP1251", "SHIFT_JIS", "ISO-8859-5", "ISO-8859-15", "ISO-8859-1", "EUC-JP", "KOI8-R", "ISO-8859-2", "GB2312", "ISO-8859-9", "ISO-8859-8", "ISO-8859-7", "ISO-8859-6", "ISO-8859-4", "ISO-8859-3", "TIS-620" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, #line 40 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str5, "DOS855"}, #line 45 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "eucTW"}, #line 44 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "eucKR"}, #line 41 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "WIN1251"}, #line 46 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "sjis"}, #line 33 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "ISO8859-5"}, #line 38 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "ISO8859-15"}, #line 29 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "ISO8859-1"}, #line 43 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "eucJP"}, #line 39 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "KOI8"}, #line 30 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "ISO8859-2"}, #line 42 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "eucCN"}, #line 37 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "ISO8859-9"}, #line 36 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "ISO8859-8"}, #line 35 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "ISO8859-7"}, #line 34 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "ISO8859-6"}, #line 32 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "ISO8859-4"}, #line 31 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "ISO8859-3"}, #line 47 "iconv_open-irix.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "TIS620"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } datamash-1.9/lib/iconv_open-osf.gperf0000644000000000000000000000337114767401140013323 /* Character set conversion. Copyright (C) 2007, 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On OSF/1 5.1, look in /usr/lib/nls/loc/iconv. ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" CP437, "cp437" CP775, "cp775" CP850, "cp850" CP852, "cp852" CP855, "cp855" CP857, "cp857" CP861, "cp861" CP862, "cp862" CP865, "cp865" CP866, "cp866" CP869, "cp869" CP874, "cp874" CP949, "KSC5601" CP1250, "cp1250" CP1251, "cp1251" CP1252, "cp1252" CP1253, "cp1253" CP1254, "cp1254" CP1255, "cp1255" CP1256, "cp1256" CP1257, "cp1257" CP1258, "cp1258" EUC-JP, "eucJP" EUC-KR, "eucKR" EUC-TW, "eucTW" BIG5, "big5" SHIFT_JIS, "SJIS" TIS-620, "TACTIS" datamash-1.9/lib/iconv_open-osf.h0000644000000000000000000002524514771573745012473 /* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 iconv_open-osf.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "iconv_open-osf.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 38 #define MIN_WORD_LENGTH 4 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 6 #define MAX_HASH_VALUE 47 /* maximum key range = 42, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 2, 29, 24, 34, 31, 0, 15, 14, 10, 13, 2, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 7, 48, 48, 48, 48, 48, 48, 11, 48, 2, 7, 48, 48, 48, 1, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48 }; return len + asso_values[(unsigned char)str[3]+3] + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str6[sizeof("CP1255")]; char stringpool_str7[sizeof("CP775")]; char stringpool_str8[sizeof("CP1250")]; char stringpool_str9[sizeof("EUC-TW")]; char stringpool_str10[sizeof("EUC-KR")]; char stringpool_str11[sizeof("TIS-620")]; char stringpool_str12[sizeof("ISO-8859-5")]; char stringpool_str13[sizeof("ISO-8859-15")]; char stringpool_str14[sizeof("BIG5")]; char stringpool_str15[sizeof("CP855")]; char stringpool_str16[sizeof("CP1258")]; char stringpool_str17[sizeof("CP850")]; char stringpool_str18[sizeof("CP865")]; char stringpool_str19[sizeof("EUC-JP")]; char stringpool_str20[sizeof("CP1257")]; char stringpool_str21[sizeof("CP1256")]; char stringpool_str22[sizeof("ISO-8859-8")]; char stringpool_str23[sizeof("SHIFT_JIS")]; char stringpool_str25[sizeof("ISO-8859-9")]; char stringpool_str26[sizeof("ISO-8859-7")]; char stringpool_str27[sizeof("ISO-8859-6")]; char stringpool_str29[sizeof("CP857")]; char stringpool_str30[sizeof("CP1252")]; char stringpool_str31[sizeof("CP869")]; char stringpool_str32[sizeof("CP949")]; char stringpool_str33[sizeof("CP866")]; char stringpool_str34[sizeof("CP437")]; char stringpool_str35[sizeof("CP1251")]; char stringpool_str36[sizeof("ISO-8859-2")]; char stringpool_str37[sizeof("CP1254")]; char stringpool_str38[sizeof("CP874")]; char stringpool_str39[sizeof("CP852")]; char stringpool_str40[sizeof("CP1253")]; char stringpool_str41[sizeof("ISO-8859-1")]; char stringpool_str42[sizeof("CP862")]; char stringpool_str43[sizeof("ISO-8859-4")]; char stringpool_str46[sizeof("ISO-8859-3")]; char stringpool_str47[sizeof("CP861")]; }; static const struct stringpool_t stringpool_contents = { "CP1255", "CP775", "CP1250", "EUC-TW", "EUC-KR", "TIS-620", "ISO-8859-5", "ISO-8859-15", "BIG5", "CP855", "CP1258", "CP850", "CP865", "EUC-JP", "CP1257", "CP1256", "ISO-8859-8", "SHIFT_JIS", "ISO-8859-9", "ISO-8859-7", "ISO-8859-6", "CP857", "CP1252", "CP869", "CP949", "CP866", "CP437", "CP1251", "ISO-8859-2", "CP1254", "CP874", "CP852", "CP1253", "ISO-8859-1", "CP862", "ISO-8859-4", "ISO-8859-3", "CP861" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 57 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "cp1255"}, #line 40 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "cp775"}, #line 52 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "cp1250"}, #line 63 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "eucTW"}, #line 62 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "eucKR"}, #line 66 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "TACTIS"}, #line 33 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "ISO8859-5"}, #line 38 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-15"}, #line 64 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "big5"}, #line 43 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "cp855"}, #line 60 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "cp1258"}, #line 41 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "cp850"}, #line 47 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "cp865"}, #line 61 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "eucJP"}, #line 59 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "cp1257"}, #line 58 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "cp1256"}, #line 36 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "ISO8859-8"}, #line 65 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "SJIS"}, {-1}, #line 37 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "ISO8859-9"}, #line 35 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "ISO8859-7"}, #line 34 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "ISO8859-6"}, {-1}, #line 44 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "cp857"}, #line 54 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "cp1252"}, #line 49 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "cp869"}, #line 51 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str32, "KSC5601"}, #line 48 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "cp866"}, #line 39 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "cp437"}, #line 53 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "cp1251"}, #line 30 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str36, "ISO8859-2"}, #line 56 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str37, "cp1254"}, #line 50 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "cp874"}, #line 42 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str39, "cp852"}, #line 55 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "cp1253"}, #line 29 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "ISO8859-1"}, #line 46 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str42, "cp862"}, #line 32 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str43, "ISO8859-4"}, {-1}, {-1}, #line 31 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str46, "ISO8859-3"}, #line 45 "iconv_open-osf.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str47, "cp861"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } datamash-1.9/lib/iconv_open-solaris.gperf0000644000000000000000000000314014767401140014202 /* Character set conversion. Copyright (C) 2007, 2009, 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% # On Solaris 10, look in the "iconv -l" output. Some aliases are advertised but # not actually supported by the iconv() function and by the 'iconv' program. # For example: # $ echo abc | iconv -f 646 -t ISO-8859-1 # Not supported 646 to ISO-8859-1 # $ echo abc | iconv -f 646 -t ISO8859-1 $ abc ASCII, "646" ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "ISO8859-3" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "ISO8859-8" ISO-8859-9, "ISO8859-9" ISO-8859-15, "ISO8859-15" CP1251, "ansi-1251" datamash-1.9/lib/iconv_open-solaris.h0000644000000000000000000001545114771573745013356 /* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 iconv_open-solaris.gperf */ /* Computed positions: -k'10' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "iconv_open-solaris.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 13 #define MIN_WORD_LENGTH 5 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 5 #define MAX_HASH_VALUE 19 /* maximum key range = 15, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 0, 9, 8, 7, 6, 5, 4, 3, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20 }; register unsigned int hval = len; switch (hval) { default: hval += asso_values[(unsigned char)str[9]]; /*FALLTHROUGH*/ case 9: case 8: case 7: case 6: case 5: break; } return hval; } struct stringpool_t { char stringpool_str5[sizeof("ASCII")]; char stringpool_str6[sizeof("CP1251")]; char stringpool_str7[sizeof("$ abc")]; char stringpool_str10[sizeof("ISO-8859-1")]; char stringpool_str11[sizeof("ISO-8859-15")]; char stringpool_str12[sizeof("ISO-8859-9")]; char stringpool_str13[sizeof("ISO-8859-8")]; char stringpool_str14[sizeof("ISO-8859-7")]; char stringpool_str15[sizeof("ISO-8859-6")]; char stringpool_str16[sizeof("ISO-8859-5")]; char stringpool_str17[sizeof("ISO-8859-4")]; char stringpool_str18[sizeof("ISO-8859-3")]; char stringpool_str19[sizeof("ISO-8859-2")]; }; static const struct stringpool_t stringpool_contents = { "ASCII", "CP1251", "$ abc", "ISO-8859-1", "ISO-8859-15", "ISO-8859-9", "ISO-8859-8", "ISO-8859-7", "ISO-8859-6", "ISO-8859-5", "ISO-8859-4", "ISO-8859-3", "ISO-8859-2" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, #line 35 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str5, "646"}, #line 46 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str6, "ansi-1251"}, #line 34 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7}, {-1}, {-1}, #line 36 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "ISO8859-1"}, #line 45 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "ISO8859-15"}, #line 44 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "ISO8859-9"}, #line 43 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-8"}, #line 42 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "ISO8859-7"}, #line 41 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "ISO8859-6"}, #line 40 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "ISO8859-5"}, #line 39 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "ISO8859-4"}, #line 38 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "ISO8859-3"}, #line 37 "iconv_open-solaris.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "ISO8859-2"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } datamash-1.9/lib/iconv_open-zos.gperf0000644000000000000000000000363414767401140013351 /* Character set conversion. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ struct mapping { int standard_name; const char vendor_name[10 + 1]; }; %struct-type %language=ANSI-C %define slot-name standard_name %define hash-function-name mapping_hash %define lookup-function-name mapping_lookup %readonly-tables %global-table %define word-array-name mappings %pic %% ASCII, "00367" ISO-8859-1, "ISO8859-1" ISO-8859-2, "ISO8859-2" ISO-8859-3, "00913" ISO-8859-4, "ISO8859-4" ISO-8859-5, "ISO8859-5" ISO-8859-6, "ISO8859-6" ISO-8859-7, "ISO8859-7" ISO-8859-8, "05012" ISO-8859-9, "ISO8859-9" ISO-8859-13, "ISO8859-13" ISO-8859-15, "ISO8859-15" KOI8-R, "00878" KOI8-U, "01168" CP437, "IBM-437" CP775, "00775" CP850, "09042" CP852, "IBM-852" CP855, "13143" CP856, "IBM-856" CP857, "00857" CP861, "IBM-861" CP862, "IBM-862" CP864, "IBM-864" CP865, "00865" CP866, "04962" CP869, "IBM-869" CP874, "TIS-620" CP922, "IBM-922" CP932, "IBM-943" CP943, "IBM-943" CP949, "IBM-1363" CP1046, "IBM-1046" CP1124, "IBM-1124" CP1125, "IBM-1125" CP1129, "01129" CP1131, "01131" CP1250, "IBM-5346" CP1251, "IBM-5347" CP1252, "IBM-5348" CP1253, "IBM-5349" CP1254, "IBM-5350" CP1255, "09447" CP1256, "09448" CP1257, "09449" GB2312, "IBM-eucCN" EUC-JP, "01350" EUC-KR, "IBM-eucKR" GBK, "IBM-1386" datamash-1.9/lib/iconv_open-zos.h0000644000000000000000000003127114771573745012513 /* ANSI-C code produced by gperf version 3.1 */ /* Command-line: gperf -m 10 iconv_open-zos.gperf */ /* Computed positions: -k'4,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) /* The character set is not based on ISO-646. */ #error "gperf generated tables don't work with this execution character set. Please report a bug to ." #endif #line 17 "iconv_open-zos.gperf" struct mapping { int standard_name; const char vendor_name[10 + 1]; }; #define TOTAL_KEYWORDS 49 #define MIN_WORD_LENGTH 3 #define MAX_WORD_LENGTH 11 #define MIN_HASH_VALUE 3 #define MAX_HASH_VALUE 64 /* maximum key range = 62, duplicates = 0 */ #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static unsigned int mapping_hash (register const char *str, register size_t len) { static const unsigned char asso_values[] = { 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 16, 38, 14, 1, 32, 22, 29, 3, 0, 7, 40, 2, 5, 18, 23, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 0, 65, 0, 65, 65, 65, 0, 43, 65, 1, 65, 65, 8, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65 }; register unsigned int hval = len; switch (hval) { default: hval += asso_values[(unsigned char)str[3]+6]; /*FALLTHROUGH*/ case 3: break; } return hval + asso_values[(unsigned char)str[len - 1]]; } struct stringpool_t { char stringpool_str3[sizeof("GBK")]; char stringpool_str5[sizeof("ASCII")]; char stringpool_str7[sizeof("CP1253")]; char stringpool_str8[sizeof("EUC-KR")]; char stringpool_str9[sizeof("CP1257")]; char stringpool_str10[sizeof("CP857")]; char stringpool_str11[sizeof("ISO-8859-8")]; char stringpool_str12[sizeof("ISO-8859-3")]; char stringpool_str13[sizeof("ISO-8859-13")]; char stringpool_str14[sizeof("ISO-8859-7")]; char stringpool_str15[sizeof("CP437")]; char stringpool_str16[sizeof("CP1129")]; char stringpool_str17[sizeof("CP869")]; char stringpool_str18[sizeof("ISO-8859-9")]; char stringpool_str19[sizeof("CP922")]; char stringpool_str20[sizeof("CP1252")]; char stringpool_str21[sizeof("CP852")]; char stringpool_str22[sizeof("CP1250")]; char stringpool_str23[sizeof("CP850")]; char stringpool_str24[sizeof("CP862")]; char stringpool_str25[sizeof("ISO-8859-2")]; char stringpool_str26[sizeof("CP932")]; char stringpool_str27[sizeof("GB2312")]; char stringpool_str28[sizeof("CP1255")]; char stringpool_str29[sizeof("CP855")]; char stringpool_str30[sizeof("KOI8-R")]; char stringpool_str31[sizeof("CP1125")]; char stringpool_str32[sizeof("CP865")]; char stringpool_str33[sizeof("ISO-8859-5")]; char stringpool_str34[sizeof("ISO-8859-15")]; char stringpool_str35[sizeof("CP1256")]; char stringpool_str36[sizeof("CP856")]; char stringpool_str37[sizeof("KOI8-U")]; char stringpool_str38[sizeof("CP1254")]; char stringpool_str39[sizeof("CP866")]; char stringpool_str40[sizeof("ISO-8859-6")]; char stringpool_str41[sizeof("CP1124")]; char stringpool_str42[sizeof("CP864")]; char stringpool_str43[sizeof("ISO-8859-4")]; char stringpool_str44[sizeof("CP1251")]; char stringpool_str45[sizeof("CP775")]; char stringpool_str46[sizeof("CP943")]; char stringpool_str47[sizeof("CP1131")]; char stringpool_str48[sizeof("CP861")]; char stringpool_str49[sizeof("ISO-8859-1")]; char stringpool_str50[sizeof("EUC-JP")]; char stringpool_str52[sizeof("CP949")]; char stringpool_str55[sizeof("CP874")]; char stringpool_str64[sizeof("CP1046")]; }; static const struct stringpool_t stringpool_contents = { "GBK", "ASCII", "CP1253", "EUC-KR", "CP1257", "CP857", "ISO-8859-8", "ISO-8859-3", "ISO-8859-13", "ISO-8859-7", "CP437", "CP1129", "CP869", "ISO-8859-9", "CP922", "CP1252", "CP852", "CP1250", "CP850", "CP862", "ISO-8859-2", "CP932", "GB2312", "CP1255", "CP855", "KOI8-R", "CP1125", "CP865", "ISO-8859-5", "ISO-8859-15", "CP1256", "CP856", "KOI8-U", "CP1254", "CP866", "ISO-8859-6", "CP1124", "CP864", "ISO-8859-4", "CP1251", "CP775", "CP943", "CP1131", "CP861", "ISO-8859-1", "EUC-JP", "CP949", "CP874", "CP1046" }; #define stringpool ((const char *) &stringpool_contents) static const struct mapping mappings[] = { {-1}, {-1}, {-1}, #line 76 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str3, "IBM-1386"}, {-1}, #line 28 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str5, "00367"}, {-1}, #line 68 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str7, "IBM-5349"}, #line 75 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str8, "IBM-eucKR"}, #line 72 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str9, "09449"}, #line 48 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str10, "00857"}, #line 36 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str11, "05012"}, #line 31 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str12, "00913"}, #line 38 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str13, "ISO8859-13"}, #line 35 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str14, "ISO8859-7"}, #line 42 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str15, "IBM-437"}, #line 63 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str16, "01129"}, #line 54 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str17, "IBM-869"}, #line 37 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str18, "ISO8859-9"}, #line 56 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str19, "IBM-922"}, #line 67 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str20, "IBM-5348"}, #line 45 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str21, "IBM-852"}, #line 65 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str22, "IBM-5346"}, #line 44 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str23, "09042"}, #line 50 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str24, "IBM-862"}, #line 30 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str25, "ISO8859-2"}, #line 57 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str26, "IBM-943"}, #line 73 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str27, "IBM-eucCN"}, #line 70 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str28, "09447"}, #line 46 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str29, "13143"}, #line 40 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str30, "00878"}, #line 62 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str31, "IBM-1125"}, #line 52 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str32, "00865"}, #line 33 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str33, "ISO8859-5"}, #line 39 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str34, "ISO8859-15"}, #line 71 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str35, "09448"}, #line 47 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str36, "IBM-856"}, #line 41 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str37, "01168"}, #line 69 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str38, "IBM-5350"}, #line 53 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str39, "04962"}, #line 34 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str40, "ISO8859-6"}, #line 61 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str41, "IBM-1124"}, #line 51 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str42, "IBM-864"}, #line 32 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str43, "ISO8859-4"}, #line 66 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str44, "IBM-5347"}, #line 43 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str45, "00775"}, #line 58 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str46, "IBM-943"}, #line 64 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str47, "01131"}, #line 49 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str48, "IBM-861"}, #line 29 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str49, "ISO8859-1"}, #line 74 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str50, "01350"}, {-1}, #line 59 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str52, "IBM-1363"}, {-1}, {-1}, #line 55 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str55, "TIS-620"}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 60 "iconv_open-zos.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str64, "IBM-1046"} }; const struct mapping * mapping_lookup (register const char *str, register size_t len) { if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register unsigned int key = mapping_hash (str, len); if (key <= MAX_HASH_VALUE) { register int o = mappings[key].standard_name; if (o >= 0) { register const char *s = o + stringpool; if (*str == *s && !strcmp (str + 1, s + 1)) return &mappings[key]; } } } return 0; } datamash-1.9/lib/iconv_open.c0000644000000000000000000001301414767401140011650 /* Character set conversion. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include #include "c-ctype.h" #include "c-strcase.h" #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) /* Namespace cleanliness. */ #define mapping_lookup rpl_iconv_open_mapping_lookup /* The macro ICONV_FLAVOR is defined to one of these or undefined. */ #define ICONV_FLAVOR_AIX "iconv_open-aix.h" #define ICONV_FLAVOR_HPUX "iconv_open-hpux.h" #define ICONV_FLAVOR_IRIX "iconv_open-irix.h" #define ICONV_FLAVOR_OSF "iconv_open-osf.h" #define ICONV_FLAVOR_SOLARIS "iconv_open-solaris.h" #define ICONV_FLAVOR_ZOS "iconv_open-zos.h" #ifdef ICONV_FLAVOR # include ICONV_FLAVOR #endif iconv_t rpl_iconv_open (const char *tocode, const char *fromcode) #undef iconv_open { char fromcode_upper[32]; char tocode_upper[32]; char *fromcode_upper_end; char *tocode_upper_end; #if REPLACE_ICONV_UTF /* Special handling of conversion between UTF-8 and UTF-{16,32}{BE,LE}. Do this here, before calling the real iconv_open(), because OSF/1 5.1 iconv() to these encoding inserts a BOM, which is wrong. We do not need to handle conversion between arbitrary encodings and UTF-{16,32}{BE,LE}, because the 'striconveh' module implements two-step conversion through UTF-8. The _ICONV_* constants are chosen to be disjoint from any iconv_t returned by the system's iconv_open() functions. Recall that iconv_t is a scalar type. */ if (c_toupper (fromcode[0]) == 'U' && c_toupper (fromcode[1]) == 'T' && c_toupper (fromcode[2]) == 'F' && fromcode[3] == '-') { if (c_toupper (tocode[0]) == 'U' && c_toupper (tocode[1]) == 'T' && c_toupper (tocode[2]) == 'F' && tocode[3] == '-') { if (strcmp (fromcode + 4, "8") == 0) { if (c_strcasecmp (tocode + 4, "16BE") == 0) return _ICONV_UTF8_UTF16BE; if (c_strcasecmp (tocode + 4, "16LE") == 0) return _ICONV_UTF8_UTF16LE; if (c_strcasecmp (tocode + 4, "32BE") == 0) return _ICONV_UTF8_UTF32BE; if (c_strcasecmp (tocode + 4, "32LE") == 0) return _ICONV_UTF8_UTF32LE; } else if (strcmp (tocode + 4, "8") == 0) { if (c_strcasecmp (fromcode + 4, "16BE") == 0) return _ICONV_UTF16BE_UTF8; if (c_strcasecmp (fromcode + 4, "16LE") == 0) return _ICONV_UTF16LE_UTF8; if (c_strcasecmp (fromcode + 4, "32BE") == 0) return _ICONV_UTF32BE_UTF8; if (c_strcasecmp (fromcode + 4, "32LE") == 0) return _ICONV_UTF32LE_UTF8; } } } #endif /* Do *not* add special support for 8-bit encodings like ASCII or ISO-8859-1 here. This would lead to programs that work in some locales (such as the "C" or "en_US" locales) but do not work in East Asian locales. It is better if programmers make their programs depend on GNU libiconv (except on glibc systems), e.g. by using the AM_ICONV macro and documenting the dependency in an INSTALL or DEPENDENCIES file. */ /* Try with the original names first. This covers the case when fromcode or tocode is a lowercase encoding name that is understood by the system's iconv_open but not listed in our mappings table. */ { iconv_t cd = iconv_open (tocode, fromcode); if (cd != (iconv_t)(-1)) return cd; } /* Convert the encodings to upper case, because 1. in the arguments of iconv_open() on AIX, HP-UX, and OSF/1 the case matters, 2. it makes searching in the table faster. */ { const char *p = fromcode; char *q = fromcode_upper; while ((*q = c_toupper (*p)) != '\0') { p++; q++; if (q == &fromcode_upper[SIZEOF (fromcode_upper)]) { errno = EINVAL; return (iconv_t)(-1); } } fromcode_upper_end = q; } { const char *p = tocode; char *q = tocode_upper; while ((*q = c_toupper (*p)) != '\0') { p++; q++; if (q == &tocode_upper[SIZEOF (tocode_upper)]) { errno = EINVAL; return (iconv_t)(-1); } } tocode_upper_end = q; } #ifdef ICONV_FLAVOR /* Apply the mappings. */ { const struct mapping *m = mapping_lookup (fromcode_upper, fromcode_upper_end - fromcode_upper); fromcode = (m != NULL ? m->vendor_name : fromcode_upper); } { const struct mapping *m = mapping_lookup (tocode_upper, tocode_upper_end - tocode_upper); tocode = (m != NULL ? m->vendor_name : tocode_upper); } #else fromcode = fromcode_upper; tocode = tocode_upper; #endif return iconv_open (tocode, fromcode); } datamash-1.9/lib/idx.h0000644000000000000000000001217114767401140010305 /* A type for indices and sizes. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _IDX_H #define _IDX_H /* Get ptrdiff_t. */ #include /* Get PTRDIFF_MAX. */ #include /* The type 'idx_t' holds an (array) index or an (object) size. Its implementation promotes to a signed integer type, which can hold the values 0..2^63-1 (on 64-bit platforms) or 0..2^31-1 (on 32-bit platforms). Why a signed integer type? * Security: Signed types can be checked for overflow via '-fsanitize=undefined', but unsigned types cannot. * Comparisons without surprises: ISO C99 § 6.3.1.8 specifies a few surprising results for comparisons, such as (int) -3 < (unsigned long) 7 => false (int) -3 < (unsigned int) 7 => false and on 32-bit machines: (long) -3 < (unsigned int) 7 => false This is surprising because the natural comparison order is by value in the realm of infinite-precision signed integers (ℤ). The best way to get rid of such surprises is to use signed types for numerical integer values, and use unsigned types only for bit masks and enums. Why not use 'size_t' directly? * Because 'size_t' is an unsigned type, and a signed type is better. See above. Why not use 'ssize_t'? * 'ptrdiff_t' is more portable; it is standardized by ISO C whereas 'ssize_t' is standardized only by POSIX. * 'ssize_t' is not required to be as wide as 'size_t', and some now-obsolete POSIX platforms had 'size_t' wider than 'ssize_t'. * Conversely, some now-obsolete platforms had 'ptrdiff_t' wider than 'size_t', which can be a win and conforms to POSIX. Won't this cause a problem with objects larger than PTRDIFF_MAX? * Typical modern or large platforms do not allocate such objects, so this is not much of a problem in practice; for example, you can safely write 'idx_t len = strlen (s);'. To port to older small platforms where allocations larger than PTRDIFF_MAX could in theory be a problem, you can use Gnulib's ialloc module, or functions like ximalloc in Gnulib's xalloc module. Why not use 'ptrdiff_t' directly? * Maintainability: When reading and modifying code, it helps to know that a certain variable cannot have negative values. For example, when you have a loop int n = ...; for (int i = 0; i < n; i++) ... or ptrdiff_t n = ...; for (ptrdiff_t i = 0; i < n; i++) ... you have to ask yourself "what if n < 0?". Whereas in idx_t n = ...; for (idx_t i = 0; i < n; i++) ... you know that this case cannot happen. Similarly, when a programmer writes idx_t = ptr2 - ptr1; there is an implied assertion that ptr1 and ptr2 point into the same object and that ptr1 <= ptr2. * Being future-proof: In the future, range types (integers which are constrained to a certain range of values) may be added to C compilers or to the C standard. Several programming languages (Ada, Haskell, Common Lisp, Pascal) already have range types. Such range types may help producing good code and good warnings. The type 'idx_t' could then be typedef'ed to a range type that is signed after promotion. */ #ifdef __cplusplus extern "C" { #endif /* In the future, idx_t could be typedef'ed to a signed range type. The clang "extended integer types", supported in Clang 11 or newer , are a special case of range types. However, these types don't support binary operators with plain integer types (e.g. expressions such as x > 1). Therefore, they don't behave like signed types (and not like unsigned types either). So, we cannot use them here. */ /* Use the signed type 'ptrdiff_t'. */ /* Note: ISO C does not mandate that 'size_t' and 'ptrdiff_t' have the same size, but it is so on all platforms we have seen since 1990. */ typedef ptrdiff_t idx_t; /* IDX_MAX is the maximum value of an idx_t. */ #define IDX_MAX PTRDIFF_MAX /* So far no need has been found for an IDX_WIDTH macro. Perhaps there should be another macro IDX_VALUE_BITS that does not count the sign bit and is therefore one less than PTRDIFF_WIDTH. */ #ifdef __cplusplus } #endif #endif /* _IDX_H */ datamash-1.9/lib/ignore-value.h0000644000000000000000000000436214767401140012121 /* ignore a function return without a compiler warning. -*- coding: utf-8 -*- Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Jim Meyering, Eric Blake and Pádraig Brady. */ /* Use "ignore_value" to avoid a warning when using a function declared with gcc's warn_unused_result attribute, but for which you really do want to ignore the result. Traditionally, people have used a "(void)" cast to indicate that a function's return value is deliberately unused. However, if the function is declared with __attribute__((warn_unused_result)), gcc issues a warning even with the cast. Caution: most of the time, you really should heed gcc's warning, and check the return value. However, in those exceptional cases in which you're sure you know what you're doing, use this function. For the record, here's one of the ignorable warnings: "copy.c:233: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result". */ #ifndef _GL_IGNORE_VALUE_H #define _GL_IGNORE_VALUE_H /* Normally casting an expression to void discards its value, but GCC versions 3.4 and newer have __attribute__ ((__warn_unused_result__)) which may cause unwanted diagnostics in that case. Use __typeof__ and __extension__ to work around the problem, if the workaround is known to be needed. The workaround is not needed with clang. */ #if (3 < __GNUC__ + (4 <= __GNUC_MINOR__)) && !defined __clang__ # define ignore_value(x) \ (__extension__ ({ __typeof__ (x) __x = (x); (void) __x; })) #else # define ignore_value(x) ((void) (x)) #endif #endif datamash-1.9/lib/imaxtostr.c0000644000000000000000000000152214767401140011544 /* Convert 'intmax_t' integer to printable string. Copyright (C) 2004-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define anytostr imaxtostr #define inttype intmax_t #include "anytostr.c" datamash-1.9/lib/inet_pton.c0000644000000000000000000001545014767401140011516 /* inet_pton.c -- convert IPv4 and IPv6 addresses from text to binary form Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* * Copyright (c) 1996,1999 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ #include /* Specification. */ #include #if HAVE_DECL_INET_PTON # undef inet_pton int rpl_inet_pton (int af, const char *restrict src, void *restrict dst) { return inet_pton (af, src, dst); } #else # include # include # include # define NS_INADDRSZ 4 # define NS_IN6ADDRSZ 16 # define NS_INT16SZ 2 /* * WARNING: Don't even consider trying to compile this on a system where * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. */ static int inet_pton4 (const char *src, unsigned char *dst); # if HAVE_IPV6 static int inet_pton6 (const char *src, unsigned char *dst); # endif /* int * inet_pton(af, src, dst) * convert from presentation format (which usually means ASCII printable) * to network format (which is usually some kind of binary format). * return: * 1 if the address was valid for the specified address family * 0 if the address wasn't valid ('dst' is untouched in this case) * -1 if some other error occurred ('dst' is untouched in this case, too) * author: * Paul Vixie, 1996. */ int inet_pton (int af, const char *restrict src, void *restrict dst) { switch (af) { case AF_INET: return (inet_pton4 (src, dst)); # if HAVE_IPV6 case AF_INET6: return (inet_pton6 (src, dst)); # endif default: errno = EAFNOSUPPORT; return (-1); } /* NOTREACHED */ } /* int * inet_pton4(src, dst) * like inet_aton() but without all the hexadecimal, octal (with the * exception of 0) and shorthand. * return: * 1 if 'src' is a valid dotted quad, else 0. * notice: * does not touch 'dst' unless it's returning 1. * author: * Paul Vixie, 1996. */ static int inet_pton4 (const char *restrict src, unsigned char *restrict dst) { int saw_digit, octets, ch; unsigned char tmp[NS_INADDRSZ], *tp; saw_digit = 0; octets = 0; *(tp = tmp) = 0; while ((ch = *src++) != '\0') { if (ch >= '0' && ch <= '9') { unsigned new = *tp * 10 + (ch - '0'); if (saw_digit && *tp == 0) return (0); if (new > 255) return (0); *tp = new; if (!saw_digit) { if (++octets > 4) return (0); saw_digit = 1; } } else if (ch == '.' && saw_digit) { if (octets == 4) return (0); *++tp = 0; saw_digit = 0; } else return (0); } if (octets < 4) return (0); memcpy (dst, tmp, NS_INADDRSZ); return (1); } # if HAVE_IPV6 /* int * inet_pton6(src, dst) * convert presentation level address to network order binary form. * return: * 1 if 'src' is a valid [RFC1884 2.2] address, else 0. * notice: * (1) does not touch 'dst' unless it's returning 1. * (2) :: in a full address is silently ignored. * credit: * inspired by Mark Andrews. * author: * Paul Vixie, 1996. */ static int inet_pton6 (const char *restrict src, unsigned char *restrict dst) { static const char xdigits[] = "0123456789abcdef"; unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; const char *curtok; int ch, saw_xdigit; unsigned val; tp = memset (tmp, '\0', NS_IN6ADDRSZ); endp = tp + NS_IN6ADDRSZ; colonp = NULL; /* Leading :: requires some special handling. */ if (*src == ':') if (*++src != ':') return (0); curtok = src; saw_xdigit = 0; val = 0; while ((ch = c_tolower (*src++)) != '\0') { const char *pch; pch = strchr (xdigits, ch); if (pch != NULL) { val <<= 4; val |= (pch - xdigits); if (val > 0xffff) return (0); saw_xdigit = 1; continue; } if (ch == ':') { curtok = src; if (!saw_xdigit) { if (colonp) return (0); colonp = tp; continue; } else if (*src == '\0') { return (0); } if (tp + NS_INT16SZ > endp) return (0); *tp++ = (unsigned char) (val >> 8) & 0xff; *tp++ = (unsigned char) val & 0xff; saw_xdigit = 0; val = 0; continue; } if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && inet_pton4 (curtok, tp) > 0) { tp += NS_INADDRSZ; saw_xdigit = 0; break; /* '\0' was seen by inet_pton4(). */ } return (0); } if (saw_xdigit) { if (tp + NS_INT16SZ > endp) return (0); *tp++ = (unsigned char) (val >> 8) & 0xff; *tp++ = (unsigned char) val & 0xff; } if (colonp != NULL) { /* * Since some memmove()'s erroneously fail to handle * overlapping regions, we'll do the shift by hand. */ const int n = tp - colonp; int i; if (tp == endp) return (0); for (i = 1; i <= n; i++) { endp[-i] = colonp[n - i]; colonp[n - i] = 0; } tp = endp; } if (tp != endp) return (0); memcpy (dst, tmp, NS_IN6ADDRSZ); return (1); } # endif #endif datamash-1.9/lib/intprops-internal.h0000644000000000000000000004347314767401140013222 /* intprops-internal.h -- properties of integer types not visible to users Copyright (C) 2001-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_INTPROPS_INTERNAL_H #define _GL_INTPROPS_INTERNAL_H #include /* Pacify GCC 13.2 in some calls to _GL_EXPR_SIGNED. */ #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) && !defined __clang__ # pragma GCC diagnostic ignored "-Wtype-limits" #endif /* Return a value with the common real type of E and V and the value of V. Do not evaluate E. */ #define _GL_INT_CONVERT(e, v) ((1 ? 0 : (e)) + (v)) /* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see . */ #define _GL_INT_NEGATE_CONVERT(e, v) ((1 ? 0 : (e)) - (v)) /* The extra casts in the following macros work around compiler bugs, e.g., in Cray C 5.0.3.0. */ /* True if the real type T is signed. */ #define _GL_TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) /* Return 1 if the real expression E, after promotion, has a signed or floating type. Do not evaluate E. */ #define _GL_EXPR_SIGNED(e) (_GL_INT_NEGATE_CONVERT (e, 1) < 0) /* Minimum and maximum values for integer types and expressions. */ /* The width in bits of the integer type or expression T. Do not evaluate T. T must not be a bit-field expression. Padding bits are not supported; this is checked at compile-time below. */ #define _GL_TYPE_WIDTH(t) (sizeof (t) * CHAR_BIT) /* The maximum and minimum values for the type of the expression E, after integer promotion. E is not evaluated. */ #define _GL_INT_MINIMUM(e) \ (_GL_EXPR_SIGNED (e) \ ? ~ _GL_SIGNED_INT_MAXIMUM (e) \ : _GL_INT_CONVERT (e, 0)) #define _GL_INT_MAXIMUM(e) \ (_GL_EXPR_SIGNED (e) \ ? _GL_SIGNED_INT_MAXIMUM (e) \ : _GL_INT_NEGATE_CONVERT (e, 1)) #define _GL_SIGNED_INT_MAXIMUM(e) \ (((_GL_INT_CONVERT (e, 1) << (_GL_TYPE_WIDTH (+ (e)) - 2)) - 1) * 2 + 1) /* Work around OpenVMS incompatibility with C99. */ #if !defined LLONG_MAX && defined __INT64_MAX # define LLONG_MAX __INT64_MAX # define LLONG_MIN __INT64_MIN #endif /* This include file assumes that signed types are two's complement without padding bits; the above macros have undefined behavior otherwise. If this is a problem for you, please let us know how to fix it for your host. This assumption is tested by the intprops-tests module. */ /* Does the __typeof__ keyword work? This could be done by 'configure', but for now it's easier to do it by hand. */ #if ((defined __GNUC__ && 2 <= __GNUC__) \ || (defined __clang_major__ && 4 <= __clang_major__) \ || (defined __IBMC__ && 1210 <= __IBMC__ && defined __IBM__TYPEOF__) \ || (defined __SUNPRO_C && 0x5110 <= __SUNPRO_C && !__STDC__) \ || (defined _MSC_VER && 1939 <= _MSC_VER)) # define _GL_HAVE___TYPEOF__ 1 #else # define _GL_HAVE___TYPEOF__ 0 #endif /* Return 1 if the integer type or expression T might be signed. Return 0 if it is definitely unsigned. T must not be a bit-field expression. This macro does not evaluate its argument, and expands to an integer constant expression. */ #if _GL_HAVE___TYPEOF__ # define _GL_SIGNED_TYPE_OR_EXPR(t) _GL_TYPE_SIGNED (__typeof__ (t)) #else # define _GL_SIGNED_TYPE_OR_EXPR(t) 1 #endif /* Return 1 if - A would overflow in [MIN,MAX] arithmetic. A should not have side effects, and A's type should be an integer with minimum value MIN and maximum MAX. */ #define _GL_INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ ((min) < 0 ? (a) < - (max) : 0 < (a)) /* True if __builtin_add_overflow (A, B, P) and __builtin_sub_overflow (A, B, P) work when P is non-null. */ #ifdef __EDG__ /* EDG-based compilers like nvc 22.1 cannot add 64-bit signed to unsigned . */ # define _GL_HAS_BUILTIN_ADD_OVERFLOW 0 #elif defined __has_builtin # define _GL_HAS_BUILTIN_ADD_OVERFLOW __has_builtin (__builtin_add_overflow) /* __builtin_{add,sub}_overflow exists but is not reliable in GCC 5.x and 6.x, see . */ #elif 7 <= __GNUC__ # define _GL_HAS_BUILTIN_ADD_OVERFLOW 1 #else # define _GL_HAS_BUILTIN_ADD_OVERFLOW 0 #endif /* True if __builtin_mul_overflow (A, B, P) works when P is non-null. */ #if defined __clang_major__ && __clang_major__ < 14 /* Work around Clang bug . */ # define _GL_HAS_BUILTIN_MUL_OVERFLOW 0 #else # define _GL_HAS_BUILTIN_MUL_OVERFLOW _GL_HAS_BUILTIN_ADD_OVERFLOW #endif /* True if __builtin_add_overflow_p (A, B, C) works, and similarly for __builtin_sub_overflow_p and __builtin_mul_overflow_p. */ #ifdef __EDG__ /* In EDG-based compilers like ICC 2021.3 and earlier, __builtin_add_overflow_p etc. are not treated as integral constant expressions even when all arguments are. */ # define _GL_HAS_BUILTIN_OVERFLOW_P 0 #elif defined __has_builtin # define _GL_HAS_BUILTIN_OVERFLOW_P __has_builtin (__builtin_mul_overflow_p) #else # define _GL_HAS_BUILTIN_OVERFLOW_P (7 <= __GNUC__) #endif #if (!defined _GL_STDCKDINT_H && 202311 <= __STDC_VERSION__ \ && ! (_GL_HAS_BUILTIN_ADD_OVERFLOW && _GL_HAS_BUILTIN_MUL_OVERFLOW)) # include #endif /* Store the low-order bits of A + B, A - B, A * B, respectively, into *R. Return 1 if the result overflows. Arguments should not have side effects and A, B and *R can be of any integer type other than char, bool, a bit-precise integer type, or an enumeration type. */ #if _GL_HAS_BUILTIN_ADD_OVERFLOW # define _GL_INT_ADD_WRAPV(a, b, r) __builtin_add_overflow (a, b, r) # define _GL_INT_SUBTRACT_WRAPV(a, b, r) __builtin_sub_overflow (a, b, r) #elif defined ckd_add && defined ckd_sub && !defined _GL_STDCKDINT_H # define _GL_INT_ADD_WRAPV(a, b, r) ckd_add (r, + (a), + (b)) # define _GL_INT_SUBTRACT_WRAPV(a, b, r) ckd_sub (r, + (a), + (b)) #else # define _GL_INT_ADD_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, +, _GL_INT_ADD_RANGE_OVERFLOW) # define _GL_INT_SUBTRACT_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, -, _GL_INT_SUBTRACT_RANGE_OVERFLOW) #endif #if _GL_HAS_BUILTIN_MUL_OVERFLOW # if ((9 < __GNUC__ + (3 <= __GNUC_MINOR__) \ || (__GNUC__ == 8 && 4 <= __GNUC_MINOR__)) \ && !defined __clang__ && !defined __EDG__) # define _GL_INT_MULTIPLY_WRAPV(a, b, r) __builtin_mul_overflow (a, b, r) # else /* Work around GCC bug 91450. */ # define _GL_INT_MULTIPLY_WRAPV(a, b, r) \ ((!_GL_SIGNED_TYPE_OR_EXPR (*(r)) && _GL_EXPR_SIGNED (a) && _GL_EXPR_SIGNED (b) \ && _GL_INT_MULTIPLY_RANGE_OVERFLOW (a, b, \ (__typeof__ (*(r))) 0, \ (__typeof__ (*(r))) -1)) \ ? ((void) __builtin_mul_overflow (a, b, r), 1) \ : __builtin_mul_overflow (a, b, r)) # endif #elif defined ckd_mul && !defined _GL_STDCKDINT_H # define _GL_INT_MULTIPLY_WRAPV(a, b, r) ckd_mul (r, + (a), + (b)) #else # define _GL_INT_MULTIPLY_WRAPV(a, b, r) \ _GL_INT_OP_WRAPV (a, b, r, *, _GL_INT_MULTIPLY_RANGE_OVERFLOW) #endif /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193 https://llvm.org/bugs/show_bug.cgi?id=25390 For now, assume GCC < 14 and all Clang versions generate bogus warnings for _Generic. This matters only for compilers that lack relevant builtins. */ #if (__GNUC__ && __GNUC__ < 14) || defined __clang__ # define _GL__GENERIC_BOGUS 1 #else # define _GL__GENERIC_BOGUS 0 #endif /* Store the low-order bits of A B into *R, where OP specifies the operation and OVERFLOW the overflow predicate. Return 1 if the result overflows. Arguments should not have side effects, and A, B and *R can be of any integer type other than char, bool, a bit-precise integer type, or an enumeration type. */ #if 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS # define _GL_INT_OP_WRAPV(a, b, r, op, overflow) \ (_Generic \ (*(r), \ signed char: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ signed char, SCHAR_MIN, SCHAR_MAX), \ unsigned char: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ unsigned char, 0, UCHAR_MAX), \ short int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ short int, SHRT_MIN, SHRT_MAX), \ unsigned short int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ unsigned short int, 0, USHRT_MAX), \ int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ int, INT_MIN, INT_MAX), \ unsigned int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ unsigned int, 0, UINT_MAX), \ long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX), \ unsigned long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ unsigned long int, 0, ULONG_MAX), \ long long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ long long int, LLONG_MIN, LLONG_MAX), \ unsigned long long int: \ _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ unsigned long long int, 0, ULLONG_MAX))) #else /* Store the low-order bits of A B into *R, where OP specifies the operation and OVERFLOW the overflow predicate. If *R is signed, its type is ST with bounds SMIN..SMAX; otherwise its type is UT with bounds U..UMAX. ST and UT are narrower than int. Return 1 if the result overflows. Arguments should not have side effects, and A, B and *R can be of any integer type other than char, bool, a bit-precise integer type, or an enumeration type. */ # if _GL_HAVE___TYPEOF__ # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ (_GL_TYPE_SIGNED (__typeof__ (*(r))) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, st, smin, smax) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, ut, 0, umax)) # else # define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \ (overflow (a, b, smin, smax) \ ? (overflow (a, b, 0, umax) \ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 1) \ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) < 0) \ : (overflow (a, b, 0, umax) \ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) >= 0 \ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 0))) # endif # define _GL_INT_OP_WRAPV(a, b, r, op, overflow) \ (sizeof *(r) == sizeof (signed char) \ ? _GL_INT_OP_WRAPV_SMALLISH (a, b, r, op, overflow, \ signed char, SCHAR_MIN, SCHAR_MAX, \ unsigned char, UCHAR_MAX) \ : sizeof *(r) == sizeof (short int) \ ? _GL_INT_OP_WRAPV_SMALLISH (a, b, r, op, overflow, \ short int, SHRT_MIN, SHRT_MAX, \ unsigned short int, USHRT_MAX) \ : sizeof *(r) == sizeof (int) \ ? (_GL_EXPR_SIGNED (*(r)) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ int, INT_MIN, INT_MAX) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \ unsigned int, 0, UINT_MAX)) \ : _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow)) # ifdef LLONG_MAX # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ (sizeof *(r) == sizeof (long int) \ ? (_GL_EXPR_SIGNED (*(r)) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ unsigned long int, 0, ULONG_MAX)) \ : (_GL_EXPR_SIGNED (*(r)) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ long long int, LLONG_MIN, LLONG_MAX) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \ unsigned long long int, 0, ULLONG_MAX))) # else # define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \ (_GL_EXPR_SIGNED (*(r)) \ ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ long int, LONG_MIN, LONG_MAX) \ : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \ unsigned long int, 0, ULONG_MAX)) # endif #endif /* Store the low-order bits of A B into *R, where the operation is given by OP. Use the unsigned type UT for calculation to avoid overflow problems. *R's type is T, with extrema TMIN and TMAX. T can be any signed integer type other than char, bool, a bit-precise integer type, or an enumeration type. Return 1 if the result overflows. */ #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \ (overflow (a, b, tmin, tmax) \ ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \ : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0)) /* Return 1 if the integer expressions A - B and -A would overflow, respectively. Arguments should not have side effects, and can be any signed integer type other than char, bool, a bit-precise integer type, or an enumeration type. These macros are tuned for their last input argument being a constant. */ #if _GL_HAS_BUILTIN_OVERFLOW_P # define _GL_INT_NEGATE_OVERFLOW(a) \ __builtin_sub_overflow_p (0, a, (__typeof__ (- (a))) 0) #else # define _GL_INT_NEGATE_OVERFLOW(a) \ _GL_INT_NEGATE_RANGE_OVERFLOW (a, _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) #endif /* Return the low-order bits of A B, where the operation is given by OP. Use the unsigned type UT for calculation to avoid undefined behavior on signed integer overflow, and convert the result to type T. UT is at least as wide as T and is no narrower than unsigned int, T is two's complement, and there is no padding or trap representations. Assume that converting UT to T yields the low-order bits, as is done in all known two's-complement C compilers. E.g., see: https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html According to the C standard, converting UT to T yields an implementation-defined result or signal for values outside T's range. However, code that works around this theoretical problem runs afoul of a compiler bug in Oracle Studio 12.3 x86. See: https://lists.gnu.org/r/bug-gnulib/2017-04/msg00049.html As the compiler bug is real, don't try to work around the theoretical problem. */ #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \ ((t) ((ut) (a) op (ut) (b))) /* Return true if the numeric values A + B, A - B, A * B fall outside the range TMIN..TMAX. Arguments should not have side effects and can be any integer type other than char, bool, a bit-precise integer type, or an enumeration type. TMIN should be signed and nonpositive. TMAX should be positive, and should be signed unless TMIN is zero. */ #define _GL_INT_ADD_RANGE_OVERFLOW(a, b, tmin, tmax) \ ((b) < 0 \ ? (((tmin) \ ? ((_GL_EXPR_SIGNED (_GL_INT_CONVERT (a, (tmin) - (b))) || (b) < (tmin)) \ && (a) < (tmin) - (b)) \ : (a) <= -1 - (b)) \ || ((_GL_EXPR_SIGNED (a) ? 0 <= (a) : (tmax) < (a)) && (tmax) < (a) + (b))) \ : (a) < 0 \ ? (((tmin) \ ? ((_GL_EXPR_SIGNED (_GL_INT_CONVERT (b, (tmin) - (a))) || (a) < (tmin)) \ && (b) < (tmin) - (a)) \ : (b) <= -1 - (a)) \ || ((_GL_EXPR_SIGNED (_GL_INT_CONVERT (a, b)) || (tmax) < (b)) \ && (tmax) < (a) + (b))) \ : (tmax) < (b) || (tmax) - (b) < (a)) #define _GL_INT_SUBTRACT_RANGE_OVERFLOW(a, b, tmin, tmax) \ (((a) < 0) == ((b) < 0) \ ? ((a) < (b) \ ? !(tmin) || -1 - (tmin) < (b) - (a) - 1 \ : (tmax) < (a) - (b)) \ : (a) < 0 \ ? ((!_GL_EXPR_SIGNED (_GL_INT_CONVERT ((a) - (tmin), b)) && (a) - (tmin) < 0) \ || (a) - (tmin) < (b)) \ : ((! (_GL_EXPR_SIGNED (_GL_INT_CONVERT (tmax, b)) \ && _GL_EXPR_SIGNED (_GL_INT_CONVERT ((tmax) + (b), a))) \ && (tmax) <= -1 - (b)) \ || (tmax) + (b) < (a))) #define _GL_INT_MULTIPLY_RANGE_OVERFLOW(a, b, tmin, tmax) \ ((b) < 0 \ ? ((a) < 0 \ ? (_GL_EXPR_SIGNED (_GL_INT_CONVERT (tmax, b)) \ ? (a) < (tmax) / (b) \ : ((_GL_INT_NEGATE_OVERFLOW (b) \ ? _GL_INT_CONVERT (b, tmax) >> (_GL_TYPE_WIDTH (+ (b)) - 1) \ : (tmax) / -(b)) \ <= -1 - (a))) \ : _GL_INT_NEGATE_OVERFLOW (_GL_INT_CONVERT (b, tmin)) && (b) == -1 \ ? (_GL_EXPR_SIGNED (a) \ ? 0 < (a) + (tmin) \ : 0 < (a) && -1 - (tmin) < (a) - 1) \ : (tmin) / (b) < (a)) \ : (b) == 0 \ ? 0 \ : ((a) < 0 \ ? (_GL_INT_NEGATE_OVERFLOW (_GL_INT_CONVERT (a, tmin)) && (a) == -1 \ ? (_GL_EXPR_SIGNED (b) ? 0 < (b) + (tmin) : -1 - (tmin) < (b) - 1) \ : (tmin) / (a) < (b)) \ : (tmax) / (b) < (a))) #endif /* _GL_INTPROPS_INTERNAL_H */ datamash-1.9/lib/intprops.h0000644000000000000000000003714714767402206011415 /* intprops.h -- properties of integer types Copyright (C) 2001-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_INTPROPS_H #define _GL_INTPROPS_H #include "intprops-internal.h" /* The extra casts in the following macros work around compiler bugs, e.g., in Cray C 5.0.3.0. */ /* True if the arithmetic type T is an integer type. bool counts as an integer. */ #define TYPE_IS_INTEGER(t) ((t) 1.5 == 1) /* True if the real type T is signed. */ #define TYPE_SIGNED(t) _GL_TYPE_SIGNED (t) /* Return 1 if the real expression E, after promotion, has a signed or floating type. Do not evaluate E. */ #define EXPR_SIGNED(e) _GL_EXPR_SIGNED (e) /* The same value as as the arithmetic expression E, but with E's type after integer promotions. For example, if E is of type 'enum {A, B}' then 'switch (INT_PROMOTE (E))' pacifies gcc -Wswitch-enum if some enum values are deliberately omitted from the switch's cases. Here, unary + is safer than a cast or inline function, as unary + does only integer promotions and is disallowed on pointers. */ #define INT_PROMOTE(e) (+ (e)) /* Minimum and maximum values for integer types and expressions. */ /* The width in bits of the integer type or expression T. Do not evaluate T. T must not be a bit-field expression. Padding bits are not supported; this is checked at compile-time below. */ #define TYPE_WIDTH(t) _GL_TYPE_WIDTH (t) /* The maximum and minimum values for the integer type T. */ #define TYPE_MINIMUM(t) ((t) ~ TYPE_MAXIMUM (t)) #define TYPE_MAXIMUM(t) \ ((t) (! TYPE_SIGNED (t) \ ? (t) -1 \ : ((((t) 1 << (TYPE_WIDTH (t) - 2)) - 1) * 2 + 1))) /* Bound on length of the string representing an unsigned integer value representable in B bits. log10 (2.0) < 146/485. The smallest value of B where this bound is not tight is 2621. */ #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) /* Bound on length of the string representing an integer type or expression T. T must not be a bit-field expression. Subtract 1 for the sign bit if T is signed, and then add 1 more for a minus sign if needed. Because _GL_SIGNED_TYPE_OR_EXPR sometimes returns 1 when its argument is unsigned, this macro may overestimate the true bound by one byte when applied to unsigned types of size 2, 4, 16, ... bytes. */ #define INT_STRLEN_BOUND(t) \ (INT_BITS_STRLEN_BOUND (TYPE_WIDTH (t) - _GL_SIGNED_TYPE_OR_EXPR (t)) \ + _GL_SIGNED_TYPE_OR_EXPR (t)) /* Bound on buffer size needed to represent an integer type or expression T, including the terminating null. T must not be a bit-field expression. */ #define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1) /* Range overflow checks. The INT__RANGE_OVERFLOW macros return 1 if the corresponding C operators overflow arithmetically when given the same arguments. These macros do not rely on undefined or implementation-defined behavior. Although their implementations are simple and straightforward, they are harder to use and may be less efficient than the INT__WRAPV, INT__OK, and INT__OVERFLOW macros described below. Example usage: long int i = ...; long int j = ...; if (INT_MULTIPLY_RANGE_OVERFLOW (i, j, LONG_MIN, LONG_MAX)) printf ("multiply would overflow"); else printf ("product is %ld", i * j); Restrictions on *_RANGE_OVERFLOW macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division by zero, for bad shift counts, or for shifting negative numbers. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. The arithmetic arguments (including the MIN and MAX arguments) must be of the same integer type after the usual arithmetic conversions, and the type must have minimum value MIN and maximum MAX. Unsigned types should use a zero MIN of the proper type. Because all arguments are subject to integer promotions, these macros typically do not work on types narrower than 'int'. These macros are tuned for constant MIN and MAX. For commutative operations such as A + B, they are also tuned for constant B. */ /* Return 1 if A + B would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? (a) < (min) - (b) \ : (max) - (b) < (a)) /* Return 1 if A - B would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? (max) + (b) < (a) \ : (a) < (min) + (b)) /* Return 1 if - A would overflow in [MIN,MAX] arithmetic. See above for restrictions. */ #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ _GL_INT_NEGATE_RANGE_OVERFLOW (a, min, max) /* Return 1 if A * B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Avoid && and || as they tickle bugs in Sun C 5.11 2010/08/13 and other compilers; see . */ #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ ((b) < 0 \ ? ((a) < 0 \ ? (a) < (max) / (b) \ : (b) == -1 \ ? 0 \ : (min) / (b) < (a)) \ : (b) == 0 \ ? 0 \ : ((a) < 0 \ ? (a) < (min) / (b) \ : (max) / (b) < (a))) /* Return 1 if A / B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Do not check for division by zero. */ #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ ((min) < 0 && (b) == -1 && (a) < - (max)) /* Return 1 if A % B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Do not check for division by zero. Mathematically, % should never overflow, but on x86-like hosts INT_MIN % -1 traps, and the C standard permits this, so treat this as an overflow too. */ #define INT_REMAINDER_RANGE_OVERFLOW(a, b, min, max) \ INT_DIVIDE_RANGE_OVERFLOW (a, b, min, max) /* Return 1 if A << B would overflow in [MIN,MAX] arithmetic. See above for restrictions. Here, MIN and MAX are for A only, and B need not be of the same type as the other arguments. The C standard says that behavior is undefined for shifts unless 0 <= B < wordwidth, and that when A is negative then A << B has undefined behavior and A >> B has implementation-defined behavior, but do not check these other restrictions. */ #define INT_LEFT_SHIFT_RANGE_OVERFLOW(a, b, min, max) \ ((a) < 0 \ ? (a) < (min) >> (b) \ : (max) >> (b) < (a)) /* The _GL*_OVERFLOW macros have the same restrictions as the *_RANGE_OVERFLOW macros, except that they do not assume that operands (e.g., A and B) have the same type as MIN and MAX. Instead, they assume that the result (e.g., A + B) has that type. */ #if _GL_HAS_BUILTIN_OVERFLOW_P # define _GL_ADD_OVERFLOW(a, b, min, max) \ __builtin_add_overflow_p (a, b, (__typeof__ ((a) + (b))) 0) # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ __builtin_sub_overflow_p (a, b, (__typeof__ ((a) - (b))) 0) # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ __builtin_mul_overflow_p (a, b, (__typeof__ ((a) * (b))) 0) #else # define _GL_ADD_OVERFLOW(a, b, min, max) \ ((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \ : (a) < 0 ? (b) <= (a) + (b) \ : (b) < 0 ? (a) <= (a) + (b) \ : (a) + (b) < (b)) # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ ((min) < 0 ? INT_SUBTRACT_RANGE_OVERFLOW (a, b, min, max) \ : (a) < 0 ? 1 \ : (b) < 0 ? (a) - (b) <= (a) \ : (a) < (b)) # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ (((min) == 0 && (((a) < 0 && 0 < (b)) || ((b) < 0 && 0 < (a)))) \ || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) #endif #define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ : (a) < 0 ? (b) <= (a) + (b) - 1 \ : (b) < 0 && (a) + (b) <= (a)) #define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) /* Return a nonzero value if A is a mathematical multiple of B, where A is unsigned, B is negative, and MAX is the maximum value of A's type. A's type must be the same as (A % B)'s type. Normally (A % -B == 0) suffices, but things get tricky if -B would overflow. */ #define _GL_UNSIGNED_NEG_MULTIPLE(a, b, max) \ (((b) < -_GL_SIGNED_INT_MAXIMUM (b) \ ? (_GL_SIGNED_INT_MAXIMUM (b) == (max) \ ? (a) \ : (a) % (_GL_INT_CONVERT (a, _GL_SIGNED_INT_MAXIMUM (b)) + 1)) \ : (a) % - (b)) \ == 0) /* Check for integer overflow, and report low order bits of answer. The INT__OVERFLOW macros return 1 if the corresponding C operators might not yield numerically correct answers due to arithmetic overflow. The INT__WRAPV macros compute the low-order bits of the sum, difference, and product of two C integers, and return 1 if these low-order bits are not numerically correct. These macros work correctly on all known practical hosts, and do not rely on undefined behavior due to signed arithmetic overflow. Example usage, assuming A and B are long int: if (INT_MULTIPLY_OVERFLOW (a, b)) printf ("result would overflow\n"); else printf ("result is %ld (no overflow)\n", a * b); Example usage with WRAPV flavor: long int result; bool overflow = INT_MULTIPLY_WRAPV (a, b, &result); printf ("result is %ld (%s)\n", result, overflow ? "after overflow" : "no overflow"); Restrictions on these macros: These macros do not check for all possible numerical problems or undefined or unspecified behavior: they do not check for division by zero, for bad shift counts, or for shifting negative numbers. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. The WRAPV macros are not constant expressions. They support only +, binary -, and *. Because the WRAPV macros convert the result, they report overflow in different circumstances than the OVERFLOW macros do. For example, in the typical case with 16-bit 'short' and 32-bit 'int', if A, B and *R are all of type 'short' then INT_ADD_OVERFLOW (A, B) returns false because the addition cannot overflow after A and B are converted to 'int', whereas INT_ADD_WRAPV (A, B, R) returns true or false depending on whether the sum fits into 'short'. These macros are tuned for their last input argument being a constant. A, B, and *R should be integers; they need not be the same type, and they need not be all signed or all unsigned. However, none of the integer types should be bit-precise, and *R's type should not be char, bool, or an enumeration type. Return 1 if the integer expressions A * B, A - B, -A, A * B, A / B, A % B, and A << B would overflow, respectively. */ #define INT_ADD_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW) #define INT_SUBTRACT_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW) #define INT_NEGATE_OVERFLOW(a) _GL_INT_NEGATE_OVERFLOW (a) #define INT_MULTIPLY_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_MULTIPLY_OVERFLOW) #define INT_DIVIDE_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_DIVIDE_OVERFLOW) #define INT_REMAINDER_OVERFLOW(a, b) \ _GL_BINARY_OP_OVERFLOW (a, b, _GL_REMAINDER_OVERFLOW) #define INT_LEFT_SHIFT_OVERFLOW(a, b) \ INT_LEFT_SHIFT_RANGE_OVERFLOW (a, b, \ _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) /* Return 1 if the expression A B would overflow, where OP_RESULT_OVERFLOW (A, B, MIN, MAX) does the actual test, assuming MIN and MAX are the minimum and maximum for the result type. Arguments should be free of side effects. */ #define _GL_BINARY_OP_OVERFLOW(a, b, op_result_overflow) \ op_result_overflow (a, b, \ _GL_INT_MINIMUM (_GL_INT_CONVERT (a, b)), \ _GL_INT_MAXIMUM (_GL_INT_CONVERT (a, b))) /* Store the low-order bits of A + B, A - B, A * B, respectively, into *R. Return 1 if the result overflows. See above for restrictions. */ #define INT_ADD_WRAPV(a, b, r) _GL_INT_ADD_WRAPV (a, b, r) #define INT_SUBTRACT_WRAPV(a, b, r) _GL_INT_SUBTRACT_WRAPV (a, b, r) #define INT_MULTIPLY_WRAPV(a, b, r) _GL_INT_MULTIPLY_WRAPV (a, b, r) /* The following macros compute A + B, A - B, and A * B, respectively. If no overflow occurs, they set *R to the result and return 1; otherwise, they return 0 and may modify *R. Example usage: long int result; if (INT_ADD_OK (a, b, &result)) printf ("result is %ld\n", result); else printf ("overflow\n"); A, B, and *R should be integers; they need not be the same type, and they need not be all signed or all unsigned. However, none of the integer types should be bit-precise, and *R's type should not be char, bool, or an enumeration type. These macros work correctly on all known practical hosts, and do not rely on undefined behavior due to signed arithmetic overflow. These macros are not constant expressions. These macros may evaluate their arguments zero or multiple times, so the arguments should not have side effects. These macros are tuned for B being a constant. */ #define INT_ADD_OK(a, b, r) (! INT_ADD_WRAPV (a, b, r)) #define INT_SUBTRACT_OK(a, b, r) (! INT_SUBTRACT_WRAPV (a, b, r)) #define INT_MULTIPLY_OK(a, b, r) (! INT_MULTIPLY_WRAPV (a, b, r)) #endif /* _GL_INTPROPS_H */ datamash-1.9/lib/inttostr.c0000644000000000000000000000150714767401140011403 /* Convert 'int' integer to printable string. Copyright (C) 2004-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define anytostr inttostr #define inttype int #include "anytostr.c" datamash-1.9/lib/inttostr.h0000644000000000000000000000254114767401140011407 /* inttostr.h -- convert integers to printable strings Copyright (C) 2001-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert */ /* This file uses _GL_ATTRIBUTE_NODISCARD. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include "intprops.h" #ifdef __cplusplus extern "C" { #endif _GL_ATTRIBUTE_NODISCARD char *imaxtostr (intmax_t, char *); _GL_ATTRIBUTE_NODISCARD char *inttostr (int, char *); _GL_ATTRIBUTE_NODISCARD char *offtostr (off_t, char *); _GL_ATTRIBUTE_NODISCARD char *uinttostr (unsigned int, char *); _GL_ATTRIBUTE_NODISCARD char *umaxtostr (uintmax_t, char *); #ifdef __cplusplus } #endif datamash-1.9/lib/inttypes.in.h0000644000000000000000000005316314767401140012013 /* Copyright (C) 2006-2025 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Derek Price. This file is part of gnulib. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* * ISO C 99 for platforms that lack it. * */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Include the original if it exists, and if this file has not been included yet or if this file includes gnulib stdint.h which in turn includes this file. The include_next requires a split double-inclusion guard. */ #if ! defined INTTYPES_H || defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H # if @HAVE_INTTYPES_H@ /* Some pre-C++11 implementations need this. */ # if defined __cplusplus && ! defined __STDC_FORMAT_MACROS # define __STDC_FORMAT_MACROS 1 # endif # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ # define _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H # endif #endif #if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H #define INTTYPES_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Include or the gnulib replacement. But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* Get CHAR_BIT, INT_MAX, LONG_MAX, etc. */ #include /* On mingw, __USE_MINGW_ANSI_STDIO only works if is also included */ #if defined _WIN32 && ! defined __CYGWIN__ # include #endif #if !(INT_MAX == 0x7fffffff && INT_MIN + INT_MAX == -1) # error "This file assumes that 'int' is 32-bit two's complement. Please report your platform and compiler to ." #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* 7.8.1 Macros for format specifiers */ #if defined _TNS_R_TARGET /* Tandem NonStop R series and compatible platforms released before July 2005 support %Ld but not %lld. */ # define _LONG_LONG_FORMAT_PREFIX "L" #else # define _LONG_LONG_FORMAT_PREFIX "ll" #endif #if !defined PRId8 # ifdef INT8_MAX # define PRId8 "d" # endif #endif #if !defined PRIi8 # ifdef INT8_MAX # define PRIi8 "i" # endif #endif #if !defined PRIo8 # ifdef UINT8_MAX # define PRIo8 "o" # endif #endif #if !defined PRIu8 # ifdef UINT8_MAX # define PRIu8 "u" # endif #endif #if !defined PRIx8 # ifdef UINT8_MAX # define PRIx8 "x" # endif #endif #if !defined PRIX8 # ifdef UINT8_MAX # define PRIX8 "X" # endif #endif #if !defined PRId16 # ifdef INT16_MAX # define PRId16 "d" # endif #endif #if !defined PRIi16 # ifdef INT16_MAX # define PRIi16 "i" # endif #endif #if !defined PRIo16 # ifdef UINT16_MAX # define PRIo16 "o" # endif #endif #if !defined PRIu16 # ifdef UINT16_MAX # define PRIu16 "u" # endif #endif #if !defined PRIx16 # ifdef UINT16_MAX # define PRIx16 "x" # endif #endif #if !defined PRIX16 # ifdef UINT16_MAX # define PRIX16 "X" # endif #endif #if !defined PRId32 # ifdef INT32_MAX # define PRId32 "d" # endif #endif #if !defined PRIi32 # ifdef INT32_MAX # define PRIi32 "i" # endif #endif #if !defined PRIo32 # ifdef UINT32_MAX # define PRIo32 "o" # endif #endif #if !defined PRIu32 # ifdef UINT32_MAX # define PRIu32 "u" # endif #endif #if !defined PRIx32 # ifdef UINT32_MAX # define PRIx32 "x" # endif #endif #if !defined PRIX32 # ifdef UINT32_MAX # define PRIX32 "X" # endif #endif #ifdef INT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _PRI64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRI64_PREFIX "I64" # elif LONG_MAX >> 30 == 1 # define _PRI64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined PRId64 # define PRId64 _PRI64_PREFIX "d" # endif # if !defined PRIi64 # define PRIi64 _PRI64_PREFIX "i" # endif #endif #ifdef UINT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _PRIu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRIu64_PREFIX "I64" # elif ULONG_MAX >> 31 == 1 # define _PRIu64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined PRIo64 # define PRIo64 _PRIu64_PREFIX "o" # endif # if !defined PRIu64 # define PRIu64 _PRIu64_PREFIX "u" # endif # if !defined PRIx64 # define PRIx64 _PRIu64_PREFIX "x" # endif # if !defined PRIX64 # define PRIX64 _PRIu64_PREFIX "X" # endif #endif #if !defined PRIdLEAST8 # define PRIdLEAST8 "d" #endif #if !defined PRIiLEAST8 # define PRIiLEAST8 "i" #endif #if !defined PRIoLEAST8 # define PRIoLEAST8 "o" #endif #if !defined PRIuLEAST8 # define PRIuLEAST8 "u" #endif #if !defined PRIxLEAST8 # define PRIxLEAST8 "x" #endif #if !defined PRIXLEAST8 # define PRIXLEAST8 "X" #endif #if !defined PRIdLEAST16 # define PRIdLEAST16 "d" #endif #if !defined PRIiLEAST16 # define PRIiLEAST16 "i" #endif #if !defined PRIoLEAST16 # define PRIoLEAST16 "o" #endif #if !defined PRIuLEAST16 # define PRIuLEAST16 "u" #endif #if !defined PRIxLEAST16 # define PRIxLEAST16 "x" #endif #if !defined PRIXLEAST16 # define PRIXLEAST16 "X" #endif #if !defined PRIdLEAST32 # define PRIdLEAST32 "d" #endif #if !defined PRIiLEAST32 # define PRIiLEAST32 "i" #endif #if !defined PRIoLEAST32 # define PRIoLEAST32 "o" #endif #if !defined PRIuLEAST32 # define PRIuLEAST32 "u" #endif #if !defined PRIxLEAST32 # define PRIxLEAST32 "x" #endif #if !defined PRIXLEAST32 # define PRIXLEAST32 "X" #endif #ifdef INT64_MAX # if !defined PRIdLEAST64 # define PRIdLEAST64 PRId64 # endif # if !defined PRIiLEAST64 # define PRIiLEAST64 PRIi64 # endif #endif #ifdef UINT64_MAX # if !defined PRIoLEAST64 # define PRIoLEAST64 PRIo64 # endif # if !defined PRIuLEAST64 # define PRIuLEAST64 PRIu64 # endif # if !defined PRIxLEAST64 # define PRIxLEAST64 PRIx64 # endif # if !defined PRIXLEAST64 # define PRIXLEAST64 PRIX64 # endif #endif #if !defined PRIdFAST8 # if INT_FAST8_MAX > INT32_MAX # define PRIdFAST8 PRId64 # else # define PRIdFAST8 "d" # endif #endif #if !defined PRIiFAST8 # if INT_FAST8_MAX > INT32_MAX # define PRIiFAST8 PRIi64 # else # define PRIiFAST8 "i" # endif #endif #if !defined PRIoFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIoFAST8 PRIo64 # else # define PRIoFAST8 "o" # endif #endif #if !defined PRIuFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIuFAST8 PRIu64 # else # define PRIuFAST8 "u" # endif #endif #if !defined PRIxFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIxFAST8 PRIx64 # else # define PRIxFAST8 "x" # endif #endif #if !defined PRIXFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define PRIXFAST8 PRIX64 # else # define PRIXFAST8 "X" # endif #endif #if !defined PRIdFAST16 # if INT_FAST16_MAX > INT32_MAX # define PRIdFAST16 PRId64 # else # define PRIdFAST16 "d" # endif #endif #if !defined PRIiFAST16 # if INT_FAST16_MAX > INT32_MAX # define PRIiFAST16 PRIi64 # else # define PRIiFAST16 "i" # endif #endif #if !defined PRIoFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIoFAST16 PRIo64 # else # define PRIoFAST16 "o" # endif #endif #if !defined PRIuFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIuFAST16 PRIu64 # else # define PRIuFAST16 "u" # endif #endif #if !defined PRIxFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIxFAST16 PRIx64 # else # define PRIxFAST16 "x" # endif #endif #if !defined PRIXFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define PRIXFAST16 PRIX64 # else # define PRIXFAST16 "X" # endif #endif #if !defined PRIdFAST32 # if INT_FAST32_MAX > INT32_MAX # define PRIdFAST32 PRId64 # else # define PRIdFAST32 "d" # endif #endif #if !defined PRIiFAST32 # if INT_FAST32_MAX > INT32_MAX # define PRIiFAST32 PRIi64 # else # define PRIiFAST32 "i" # endif #endif #if !defined PRIoFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIoFAST32 PRIo64 # else # define PRIoFAST32 "o" # endif #endif #if !defined PRIuFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIuFAST32 PRIu64 # else # define PRIuFAST32 "u" # endif #endif #if !defined PRIxFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIxFAST32 PRIx64 # else # define PRIxFAST32 "x" # endif #endif #if !defined PRIXFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define PRIXFAST32 PRIX64 # else # define PRIXFAST32 "X" # endif #endif #ifdef INT64_MAX # if !defined PRIdFAST64 # define PRIdFAST64 PRId64 # endif # if !defined PRIiFAST64 # define PRIiFAST64 PRIi64 # endif #endif #ifdef UINT64_MAX # if !defined PRIoFAST64 # define PRIoFAST64 PRIo64 # endif # if !defined PRIuFAST64 # define PRIuFAST64 PRIu64 # endif # if !defined PRIxFAST64 # define PRIxFAST64 PRIx64 # endif # if !defined PRIXFAST64 # define PRIXFAST64 PRIX64 # endif #endif #if !defined PRIdMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define PRIdMAX PRId64 # else # define PRIdMAX "ld" # endif #endif #if !defined PRIiMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define PRIiMAX PRIi64 # else # define PRIiMAX "li" # endif #endif #if !defined PRIoMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIoMAX PRIo64 # else # define PRIoMAX "lo" # endif #endif #if !defined PRIuMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIuMAX PRIu64 # else # define PRIuMAX "lu" # endif #endif #if !defined PRIxMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIxMAX PRIx64 # else # define PRIxMAX "lx" # endif #endif #if !defined PRIXMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define PRIXMAX PRIX64 # else # define PRIXMAX "lX" # endif #endif #if !defined PRIdPTR # ifdef INTPTR_MAX # define PRIdPTR @PRIPTR_PREFIX@ "d" # endif #endif #if !defined PRIiPTR # ifdef INTPTR_MAX # define PRIiPTR @PRIPTR_PREFIX@ "i" # endif #endif #if !defined PRIoPTR # ifdef UINTPTR_MAX # define PRIoPTR @PRIPTR_PREFIX@ "o" # endif #endif #if !defined PRIuPTR # ifdef UINTPTR_MAX # define PRIuPTR @PRIPTR_PREFIX@ "u" # endif #endif #if !defined PRIxPTR # ifdef UINTPTR_MAX # define PRIxPTR @PRIPTR_PREFIX@ "x" # endif #endif #if !defined PRIXPTR # ifdef UINTPTR_MAX # define PRIXPTR @PRIPTR_PREFIX@ "X" # endif #endif #if !defined SCNd8 # ifdef INT8_MAX # define SCNd8 "hhd" # endif #endif #if !defined SCNi8 # ifdef INT8_MAX # define SCNi8 "hhi" # endif #endif #if !defined SCNo8 # ifdef UINT8_MAX # define SCNo8 "hho" # endif #endif #if !defined SCNu8 # ifdef UINT8_MAX # define SCNu8 "hhu" # endif #endif #if !defined SCNx8 # ifdef UINT8_MAX # define SCNx8 "hhx" # endif #endif #if !defined SCNd16 # ifdef INT16_MAX # define SCNd16 "hd" # endif #endif #if !defined SCNi16 # ifdef INT16_MAX # define SCNi16 "hi" # endif #endif #if !defined SCNo16 # ifdef UINT16_MAX # define SCNo16 "ho" # endif #endif #if !defined SCNu16 # ifdef UINT16_MAX # define SCNu16 "hu" # endif #endif #if !defined SCNx16 # ifdef UINT16_MAX # define SCNx16 "hx" # endif #endif #if !defined SCNd32 # ifdef INT32_MAX # define SCNd32 "d" # endif #endif #if !defined SCNi32 # ifdef INT32_MAX # define SCNi32 "i" # endif #endif #if !defined SCNo32 # ifdef UINT32_MAX # define SCNo32 "o" # endif #endif #if !defined SCNu32 # ifdef UINT32_MAX # define SCNu32 "u" # endif #endif #if !defined SCNx32 # ifdef UINT32_MAX # define SCNx32 "x" # endif #endif #ifdef INT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _SCN64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCN64_PREFIX "I64" # elif LONG_MAX >> 30 == 1 # define _SCN64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined SCNd64 # define SCNd64 _SCN64_PREFIX "d" # endif # if !defined SCNi64 # define SCNi64 _SCN64_PREFIX "i" # endif #endif #ifdef UINT64_MAX # if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _SCNu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCNu64_PREFIX "I64" # elif ULONG_MAX >> 31 == 1 # define _SCNu64_PREFIX _LONG_LONG_FORMAT_PREFIX # endif # if !defined SCNo64 # define SCNo64 _SCNu64_PREFIX "o" # endif # if !defined SCNu64 # define SCNu64 _SCNu64_PREFIX "u" # endif # if !defined SCNx64 # define SCNx64 _SCNu64_PREFIX "x" # endif #endif #if !defined SCNdLEAST8 # define SCNdLEAST8 "hhd" #endif #if !defined SCNiLEAST8 # define SCNiLEAST8 "hhi" #endif #if !defined SCNoLEAST8 # define SCNoLEAST8 "hho" #endif #if !defined SCNuLEAST8 # define SCNuLEAST8 "hhu" #endif #if !defined SCNxLEAST8 # define SCNxLEAST8 "hhx" #endif #if !defined SCNdLEAST16 # define SCNdLEAST16 "hd" #endif #if !defined SCNiLEAST16 # define SCNiLEAST16 "hi" #endif #if !defined SCNoLEAST16 # define SCNoLEAST16 "ho" #endif #if !defined SCNuLEAST16 # define SCNuLEAST16 "hu" #endif #if !defined SCNxLEAST16 # define SCNxLEAST16 "hx" #endif #if !defined SCNdLEAST32 # define SCNdLEAST32 "d" #endif #if !defined SCNiLEAST32 # define SCNiLEAST32 "i" #endif #if !defined SCNoLEAST32 # define SCNoLEAST32 "o" #endif #if !defined SCNuLEAST32 # define SCNuLEAST32 "u" #endif #if !defined SCNxLEAST32 # define SCNxLEAST32 "x" #endif #ifdef INT64_MAX # if !defined SCNdLEAST64 # define SCNdLEAST64 SCNd64 # endif # if !defined SCNiLEAST64 # define SCNiLEAST64 SCNi64 # endif #endif #ifdef UINT64_MAX # if !defined SCNoLEAST64 # define SCNoLEAST64 SCNo64 # endif # if !defined SCNuLEAST64 # define SCNuLEAST64 SCNu64 # endif # if !defined SCNxLEAST64 # define SCNxLEAST64 SCNx64 # endif #endif #if !defined SCNdFAST8 # if INT_FAST8_MAX > INT32_MAX # define SCNdFAST8 SCNd64 # elif INT_FAST8_MAX == 0x7fff # define SCNdFAST8 "hd" # elif INT_FAST8_MAX == 0x7f # define SCNdFAST8 "hhd" # else # define SCNdFAST8 "d" # endif #endif #if !defined SCNiFAST8 # if INT_FAST8_MAX > INT32_MAX # define SCNiFAST8 SCNi64 # elif INT_FAST8_MAX == 0x7fff # define SCNiFAST8 "hi" # elif INT_FAST8_MAX == 0x7f # define SCNiFAST8 "hhi" # else # define SCNiFAST8 "i" # endif #endif #if !defined SCNoFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNoFAST8 SCNo64 # elif UINT_FAST8_MAX == 0xffff # define SCNoFAST8 "ho" # elif UINT_FAST8_MAX == 0xff # define SCNoFAST8 "hho" # else # define SCNoFAST8 "o" # endif #endif #if !defined SCNuFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNuFAST8 SCNu64 # elif UINT_FAST8_MAX == 0xffff # define SCNuFAST8 "hu" # elif UINT_FAST8_MAX == 0xff # define SCNuFAST8 "hhu" # else # define SCNuFAST8 "u" # endif #endif #if !defined SCNxFAST8 # if UINT_FAST8_MAX > UINT32_MAX # define SCNxFAST8 SCNx64 # elif UINT_FAST8_MAX == 0xffff # define SCNxFAST8 "hx" # elif UINT_FAST8_MAX == 0xff # define SCNxFAST8 "hhx" # else # define SCNxFAST8 "x" # endif #endif #if !defined SCNdFAST16 # if INT_FAST16_MAX > INT32_MAX # define SCNdFAST16 SCNd64 # elif INT_FAST16_MAX == 0x7fff # define SCNdFAST16 "hd" # else # define SCNdFAST16 "d" # endif #endif #if !defined SCNiFAST16 # if INT_FAST16_MAX > INT32_MAX # define SCNiFAST16 SCNi64 # elif INT_FAST16_MAX == 0x7fff # define SCNiFAST16 "hi" # else # define SCNiFAST16 "i" # endif #endif #if !defined SCNoFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNoFAST16 SCNo64 # elif UINT_FAST16_MAX == 0xffff # define SCNoFAST16 "ho" # else # define SCNoFAST16 "o" # endif #endif #if !defined SCNuFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNuFAST16 SCNu64 # elif UINT_FAST16_MAX == 0xffff # define SCNuFAST16 "hu" # else # define SCNuFAST16 "u" # endif #endif #if !defined SCNxFAST16 # if UINT_FAST16_MAX > UINT32_MAX # define SCNxFAST16 SCNx64 # elif UINT_FAST16_MAX == 0xffff # define SCNxFAST16 "hx" # else # define SCNxFAST16 "x" # endif #endif #if !defined SCNdFAST32 # if INT_FAST32_MAX > INT32_MAX # define SCNdFAST32 SCNd64 # else # define SCNdFAST32 "d" # endif #endif #if !defined SCNiFAST32 # if INT_FAST32_MAX > INT32_MAX # define SCNiFAST32 SCNi64 # else # define SCNiFAST32 "i" # endif #endif #if !defined SCNoFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNoFAST32 SCNo64 # else # define SCNoFAST32 "o" # endif #endif #if !defined SCNuFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNuFAST32 SCNu64 # else # define SCNuFAST32 "u" # endif #endif #if !defined SCNxFAST32 # if UINT_FAST32_MAX > UINT32_MAX # define SCNxFAST32 SCNx64 # else # define SCNxFAST32 "x" # endif #endif #ifdef INT64_MAX # if !defined SCNdFAST64 # define SCNdFAST64 SCNd64 # endif # if !defined SCNiFAST64 # define SCNiFAST64 SCNi64 # endif #endif #ifdef UINT64_MAX # if !defined SCNoFAST64 # define SCNoFAST64 SCNo64 # endif # if !defined SCNuFAST64 # define SCNuFAST64 SCNu64 # endif # if !defined SCNxFAST64 # define SCNxFAST64 SCNx64 # endif #endif #if !defined SCNdMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define SCNdMAX SCNd64 # else # define SCNdMAX "ld" # endif #endif #if !defined SCNiMAX # if @INT32_MAX_LT_INTMAX_MAX@ # define SCNiMAX SCNi64 # else # define SCNiMAX "li" # endif #endif #if !defined SCNoMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNoMAX SCNo64 # else # define SCNoMAX "lo" # endif #endif #if !defined SCNuMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNuMAX SCNu64 # else # define SCNuMAX "lu" # endif #endif #if !defined SCNxMAX # if @UINT32_MAX_LT_UINTMAX_MAX@ # define SCNxMAX SCNx64 # else # define SCNxMAX "lx" # endif #endif #if !defined SCNdPTR # ifdef INTPTR_MAX # define SCNdPTR @PRIPTR_PREFIX@ "d" # endif #endif #if !defined SCNiPTR # ifdef INTPTR_MAX # define SCNiPTR @PRIPTR_PREFIX@ "i" # endif #endif #if !defined SCNoPTR # ifdef UINTPTR_MAX # define SCNoPTR @PRIPTR_PREFIX@ "o" # endif #endif #if !defined SCNuPTR # ifdef UINTPTR_MAX # define SCNuPTR @PRIPTR_PREFIX@ "u" # endif #endif #if !defined SCNxPTR # ifdef UINTPTR_MAX # define SCNxPTR @PRIPTR_PREFIX@ "x" # endif #endif /* 7.8.2 Functions for greatest-width integer types */ #ifdef __cplusplus extern "C" { #endif #if @GNULIB_IMAXABS@ # if @REPLACE_IMAXABS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef imaxabs # define imaxabs rpl_imaxabs # endif _GL_FUNCDECL_RPL (imaxabs, intmax_t, (intmax_t x), ); _GL_CXXALIAS_RPL (imaxabs, intmax_t, (intmax_t x)); # else # if !@HAVE_DECL_IMAXABS@ _GL_FUNCDECL_SYS (imaxabs, intmax_t, (intmax_t x), ); # endif _GL_CXXALIAS_SYS (imaxabs, intmax_t, (intmax_t x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (imaxabs); # endif #elif defined GNULIB_POSIXCHECK # undef imaxabs # if HAVE_RAW_DECL_IMAXABS _GL_WARN_ON_USE (imaxabs, "imaxabs is unportable - " "use gnulib module imaxabs for portability"); # endif #endif #if @GNULIB_IMAXDIV@ # if !@HAVE_IMAXDIV_T@ # if !GNULIB_defined_imaxdiv_t typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; # define GNULIB_defined_imaxdiv_t 1 # endif # endif # if @REPLACE_IMAXDIV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef imaxdiv # define imaxdiv rpl_imaxdiv # endif _GL_FUNCDECL_RPL (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom), ); _GL_CXXALIAS_RPL (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom)); # else # if !@HAVE_DECL_IMAXDIV@ _GL_FUNCDECL_SYS (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom), ); # endif _GL_CXXALIAS_SYS (imaxdiv, imaxdiv_t, (intmax_t numer, intmax_t denom)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (imaxdiv); # endif #elif defined GNULIB_POSIXCHECK # undef imaxdiv # if HAVE_RAW_DECL_IMAXDIV _GL_WARN_ON_USE (imaxdiv, "imaxdiv is unportable - " "use gnulib module imaxdiv for portability"); # endif #endif #if @GNULIB_STRTOIMAX@ # if @REPLACE_STRTOIMAX@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtoimax # define strtoimax rpl_strtoimax # endif _GL_FUNCDECL_RPL (strtoimax, intmax_t, (const char *restrict, char **restrict, int), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoimax, intmax_t, (const char *restrict, char **restrict, int)); # else # if !@HAVE_DECL_STRTOIMAX@ # undef strtoimax _GL_FUNCDECL_SYS (strtoimax, intmax_t, (const char *restrict, char **restrict, int), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoimax, intmax_t, (const char *restrict, char **restrict, int)); # endif _GL_CXXALIASWARN (strtoimax); #elif defined GNULIB_POSIXCHECK # undef strtoimax # if HAVE_RAW_DECL_STRTOIMAX _GL_WARN_ON_USE (strtoimax, "strtoimax is unportable - " "use gnulib module strtoimax for portability"); # endif #endif #if @GNULIB_STRTOUMAX@ # if @REPLACE_STRTOUMAX@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtoumax # define strtoumax rpl_strtoumax # endif _GL_FUNCDECL_RPL (strtoumax, uintmax_t, (const char *restrict, char **restrict, int), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoumax, uintmax_t, (const char *restrict, char **restrict, int)); # else # if !@HAVE_DECL_STRTOUMAX@ # undef strtoumax _GL_FUNCDECL_SYS (strtoumax, uintmax_t, (const char *restrict, char **restrict, int), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoumax, uintmax_t, (const char *restrict, char **restrict, int)); # endif _GL_CXXALIASWARN (strtoumax); #elif defined GNULIB_POSIXCHECK # undef strtoumax # if HAVE_RAW_DECL_STRTOUMAX _GL_WARN_ON_USE (strtoumax, "strtoumax is unportable - " "use gnulib module strtoumax for portability"); # endif #endif /* Don't bother defining or declaring wcstoimax and wcstoumax, since wide-character functions like this are hardly ever useful. */ #ifdef __cplusplus } #endif #endif /* !defined INTTYPES_H && !defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H */ datamash-1.9/lib/isblank.c0000644000000000000000000000251014767401140011133 /* Test whether a character is a blank. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include int isblank (int c) { /* On all known platforms, in all predefined locales, isblank(c) is likely equivalent with (c == ' ' || c == '\t'). Look at the glibc definition (in glibc/localedata/locales/i18n): The "blank" characters are '\t', ' ', U+1680, U+180E, U+2000..U+2006, U+2008..U+200A, U+205F, U+3000, and none except the first two is present in a common 8-bit encoding. Therefore the substitute for other platforms is not more complicated than this. */ return (c == ' ' || c == '\t'); } datamash-1.9/lib/isfinite.c0000644000000000000000000000302014767401140011317 /* Test for finite value (zero, subnormal, or normal, and not infinite or NaN). Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ben Pfaff , 2007. */ #include #include "isnanf-nolibm.h" #include "isnand-nolibm.h" #include "isnanl-nolibm.h" /* The "cc" compiler on HP-UX 11.11, when optimizing, simplifies the test x - y == 0.0 to x == y, a simplification which is invalid when x and y are Infinity. Disable this optimization. */ #if defined __hpux && !defined __GNUC__ static float zerof; static double zerod; static long double zerol; #else # define zerof 0.f # define zerod 0. # define zerol 0.L #endif int gl_isfinitef (float x) { return !isnanf (x) && x - x == zerof; } int gl_isfinited (double x) { return !isnand (x) && x - x == zerod; } int gl_isfinitel (long double x) { return !isnanl (x) && x - x == zerol; } datamash-1.9/lib/isinf.c0000644000000000000000000000205014767401140010617 /* Test for positive or negative infinity. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ben Pfaff , 2008. */ #include #include int gl_isinff (float x) { return x < -FLT_MAX || x > FLT_MAX; } int gl_isinfd (double x) { return x < -DBL_MAX || x > DBL_MAX; } int gl_isinfl (long double x) { return x < -LDBL_MAX || x > LDBL_MAX; } datamash-1.9/lib/isnan.c0000644000000000000000000001575414767401140010636 /* Test for NaN that does not need libm. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #include /* Specification. */ #ifdef USE_LONG_DOUBLE /* Specification found in math.h or isnanl-nolibm.h. */ extern int rpl_isnanl (long double x) _GL_ATTRIBUTE_CONST; #elif ! defined USE_FLOAT /* Specification found in math.h or isnand-nolibm.h. */ extern int rpl_isnand (double x); #else /* defined USE_FLOAT */ /* Specification found in math.h or isnanf-nolibm.h. */ extern int rpl_isnanf (float x); #endif #include #include #include "float+.h" #ifdef USE_LONG_DOUBLE # define FUNC rpl_isnanl # define DOUBLE long double # define MAX_EXP LDBL_MAX_EXP # define MIN_EXP LDBL_MIN_EXP # if defined LDBL_EXPBIT0_WORD && defined LDBL_EXPBIT0_BIT # define KNOWN_EXPBIT0_LOCATION # define EXPBIT0_WORD LDBL_EXPBIT0_WORD # define EXPBIT0_BIT LDBL_EXPBIT0_BIT # endif # define SIZE SIZEOF_LDBL # define L_(literal) literal##L #elif ! defined USE_FLOAT # define FUNC rpl_isnand # define DOUBLE double # define MAX_EXP DBL_MAX_EXP # define MIN_EXP DBL_MIN_EXP # if defined DBL_EXPBIT0_WORD && defined DBL_EXPBIT0_BIT # define KNOWN_EXPBIT0_LOCATION # define EXPBIT0_WORD DBL_EXPBIT0_WORD # define EXPBIT0_BIT DBL_EXPBIT0_BIT # endif # define SIZE SIZEOF_DBL # define L_(literal) literal #else /* defined USE_FLOAT */ # define FUNC rpl_isnanf # define DOUBLE float # define MAX_EXP FLT_MAX_EXP # define MIN_EXP FLT_MIN_EXP # if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT # define KNOWN_EXPBIT0_LOCATION # define EXPBIT0_WORD FLT_EXPBIT0_WORD # define EXPBIT0_BIT FLT_EXPBIT0_BIT # endif # define SIZE SIZEOF_FLT # define L_(literal) literal##f #endif #define EXP_MASK ((MAX_EXP - MIN_EXP) | 7) #define NWORDS \ ((sizeof (DOUBLE) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { DOUBLE value; unsigned int word[NWORDS]; } memory_double; /* Most hosts nowadays use IEEE floating point, so they use IEC 60559 representations, have infinities and NaNs, and do not trap on exceptions. Define IEEE_FLOATING_POINT if this host is one of the typical ones. The C23 macro __STDC_IEC_60559_BFP__ macro (or its cousin, the now-obsolescent C11 macro __STDC_IEC_559__) is close to what is wanted here, but is not quite right because this file does not require all the features of C23 Annex F (and works even with pre-C11 platforms, for that matter). */ #define IEEE_FLOATING_POINT (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128) int FUNC (DOUBLE x) { #if defined KNOWN_EXPBIT0_LOCATION && IEEE_FLOATING_POINT # if defined USE_LONG_DOUBLE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Special CPU dependent code is needed to treat bit patterns outside the IEEE 754 specification (such as Pseudo-NaNs, Pseudo-Infinities, Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals) as NaNs. These bit patterns are: - exponent = 0x0001..0x7FFF, mantissa bit 63 = 0, - exponent = 0x0000, mantissa bit 63 = 1. The NaN bit pattern is: - exponent = 0x7FFF, mantissa >= 0x8000000000000001. */ memory_double m; unsigned int exponent; m.value = x; exponent = (m.word[EXPBIT0_WORD] >> EXPBIT0_BIT) & EXP_MASK; # ifdef WORDS_BIGENDIAN /* Big endian: EXPBIT0_WORD = 0, EXPBIT0_BIT = 16. */ if (exponent == 0) return 1 & (m.word[0] >> 15); else if (exponent == EXP_MASK) return (((m.word[0] ^ 0x8000U) << 16) | m.word[1] | (m.word[2] >> 16)) != 0; else return 1 & ~(m.word[0] >> 15); # else /* Little endian: EXPBIT0_WORD = 2, EXPBIT0_BIT = 0. */ if (exponent == 0) return (m.word[1] >> 31); else if (exponent == EXP_MASK) return ((m.word[1] ^ 0x80000000U) | m.word[0]) != 0; else return (m.word[1] >> 31) ^ 1; # endif # else /* Be careful to not do any floating-point operation on x, such as x == x, because x may be a signaling NaN. */ # if defined __SUNPRO_C || defined __ICC || defined _MSC_VER \ || defined __DECC || defined __TINYC__ \ || (defined __sgi && !defined __GNUC__) /* The Sun C 5.0, Intel ICC 10.0, Microsoft Visual C/C++ 9.0, Compaq (ex-DEC) 6.4, and TinyCC compilers don't recognize the initializers as constant expressions. The Compaq compiler also fails when constant-folding 0.0 / 0.0 even when constant-folding is not required. The Microsoft Visual C/C++ compiler also fails when constant-folding 1.0 / 0.0 even when constant-folding is not required. The SGI MIPSpro C compiler complains about "floating-point operation result is out of range". */ static DOUBLE zero = L_(0.0); memory_double nan; DOUBLE plus_inf = L_(1.0) / zero; DOUBLE minus_inf = -L_(1.0) / zero; nan.value = zero / zero; # else static memory_double nan = { L_(0.0) / L_(0.0) }; static DOUBLE plus_inf = L_(1.0) / L_(0.0); static DOUBLE minus_inf = -L_(1.0) / L_(0.0); # endif { memory_double m; /* A NaN can be recognized through its exponent. But exclude +Infinity and -Infinity, which have the same exponent. */ m.value = x; if (((m.word[EXPBIT0_WORD] ^ nan.word[EXPBIT0_WORD]) & (EXP_MASK << EXPBIT0_BIT)) == 0) return (memcmp (&m.value, &plus_inf, SIZE) != 0 && memcmp (&m.value, &minus_inf, SIZE) != 0); else return 0; } # endif #else /* The configuration did not find sufficient information, or does not use IEEE floating point. Give up about the signaling NaNs; handle only the quiet NaNs. */ if (x == x) { # if defined USE_LONG_DOUBLE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Detect any special bit patterns that pass ==; see comment above. */ memory_double m1; memory_double m2; memset (&m1.value, 0, SIZE); memset (&m2.value, 0, SIZE); m1.value = x; m2.value = x + (x ? 0.0L : -0.0L); if (memcmp (&m1.value, &m2.value, SIZE) != 0) return 1; # endif return 0; } else return 1; #endif } datamash-1.9/lib/isnand-nolibm.h0000644000000000000000000000266414767401140012261 /* Test for NaN that does not need libm. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file uses HAVE_ISNAND_IN_LIBC. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if HAVE_ISNAND_IN_LIBC /* Get declaration of isnan macro. */ # include # if (__GNUC__ >= 4) || (__clang_major__ >= 4) /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. */ # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) # else # undef isnand # define isnand(x) isnan ((double)(x)) # endif #else /* Test whether X is a NaN. */ # undef isnand # define isnand rpl_isnand extern # ifdef __cplusplus "C" # endif int isnand (double x); #endif /* Tell that our isnand does not need libm. */ #define HAVE_ISNAND_NOLIBM 1 datamash-1.9/lib/isnand.c0000644000000000000000000000151114767401140010764 /* Test for NaN that does not need libm. Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2008. */ #include "isnan.c" datamash-1.9/lib/isnanf-nolibm.h0000644000000000000000000000351614767401140012260 /* Test for NaN that does not need libm. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file uses HAVE_ISNANF_IN_LIBC. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if HAVE_ISNANF_IN_LIBC /* Get declaration of isnan macro or (older) isnanf function. */ # include # if (__GNUC__ >= 4) || (__clang_major__ >= 4) /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. GCC >= 4.0 also provides __builtin_isnanf, but clang doesn't. */ # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) # elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) # else /* Get declaration of isnanf(), if not declared in . */ # if defined __sgi /* We can't include , because it conflicts with our definition of isnand. Therefore declare isnanf separately. */ extern # ifdef __cplusplus "C" # endif int isnanf (float x); # endif # endif #else /* Test whether X is a NaN. */ # undef isnanf # define isnanf rpl_isnanf extern # ifdef __cplusplus "C" # endif int isnanf (float x); #endif /* Tell that our isnanf does not need libm. */ #define HAVE_ISNANF_NOLIBM 1 datamash-1.9/lib/isnanf.c0000644000000000000000000000154114767401140010771 /* Test for NaN that does not need libm. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #define USE_FLOAT #include "isnan.c" datamash-1.9/lib/isnanl-nolibm.h0000644000000000000000000000306014767401140012260 /* Test for NaN that does not need libm. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file uses HAVE_ISNANL_IN_LIBC. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if HAVE_ISNANL_IN_LIBC /* Get declaration of isnan macro or (older) isnanl function. */ # include # if (__GNUC__ >= 4) || (__clang_major__ >= 4) /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. GCC >= 4.0 also provides __builtin_isnanl, but clang doesn't. */ # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) # elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) # endif #else /* Test whether X is a NaN. */ # undef isnanl # define isnanl rpl_isnanl extern # ifdef __cplusplus "C" # endif int isnanl (long double x); #endif /* Tell that our isnanl does not need libm. */ #define HAVE_ISNANL_NOLIBM 1 datamash-1.9/lib/isnanl.c0000644000000000000000000000154714767401140011005 /* Test for NaN that does not need libm. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #define USE_LONG_DOUBLE #include "isnan.c" datamash-1.9/lib/iswblank.c0000644000000000000000000000157314767401140011332 /* Test wide character for being blank. Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include int iswblank (wint_t wc) { return wc == ' ' || wc == '\t'; } datamash-1.9/lib/iswdigit.c0000644000000000000000000000157414767401140011344 /* Test wide character for being a digit. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include int iswdigit (wint_t wc) { return wc >= '0' && wc <= '9'; } datamash-1.9/lib/iswpunct.c0000644000000000000000000000202714767401140011367 /* Test wide character for being a punctuation or symbol character. Copyright (C) 2023-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include int iswpunct (wint_t wc) #undef iswpunct { #if defined __ANDROID__ if ((unsigned int) wc < 128) return ispunct ((unsigned int) wc); #endif return iswpunct (wc); } datamash-1.9/lib/iswxdigit.c0000644000000000000000000000215414767401140011527 /* Test wide character for being a hexadecimal digit. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include int iswxdigit (wint_t wc) { return ((wc >= '0' && wc <= '9') #if 'A' == 0x41 && 'a' == 0x61 /* Optimization, assuming ASCII */ || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F') #else || (wc >= 'A' && wc <= 'F') || (wc >= 'a' && wc <= 'f') #endif ); } datamash-1.9/lib/itold.c0000644000000000000000000000203214767401140010622 /* Replacement for 'int' to 'long double' conversion routine. Copyright (C) 2011-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2011. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include void _Qp_itoq (long double *result, int a) { /* Convert from 'int' to 'double', then from 'double' to 'long double'. */ *result = (double) a; } datamash-1.9/lib/lc-charset-dispatch.c0000644000000000000000000000522014767401140013333 /* Dispatching based on the current locale's character encoding. Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2018. */ #include /* Specification. */ #include "lc-charset-dispatch.h" #if GNULIB_defined_mbstate_t # include "localcharset.h" # include "streq.h" # if GNULIB_WCHAR_SINGLE_LOCALE /* When we know that the locale does not change, provide a speedup by caching the value of locale_encoding_classification. */ # define locale_encoding_classification_cached locale_encoding_classification # else /* By default, don't make assumptions, hence no caching. */ # define locale_encoding_classification_uncached locale_encoding_classification # endif # if GNULIB_WCHAR_SINGLE_LOCALE static inline # endif enc_t locale_encoding_classification_uncached (void) { const char *encoding = locale_charset (); if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) return enc_utf8; if (STREQ_OPT (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0)) return enc_eucjp; if (STREQ_OPT (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) || STREQ_OPT (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0) || STREQ_OPT (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0)) return enc_94; if (STREQ_OPT (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0)) return enc_euctw; if (STREQ_OPT (encoding, "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0)) return enc_gb18030; if (STREQ_OPT (encoding, "SJIS", 'S', 'J', 'I', 'S', 0, 0, 0, 0, 0)) return enc_sjis; return enc_other; } # if GNULIB_WCHAR_SINGLE_LOCALE static int cached_locale_enc = -1; enc_t locale_encoding_classification_cached (void) { if (cached_locale_enc < 0) cached_locale_enc = locale_encoding_classification_uncached (); return cached_locale_enc; } # endif #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif datamash-1.9/lib/lc-charset-dispatch.h0000644000000000000000000000257214767401140013347 /* Dispatching based on the current locale's character encoding. Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2018. */ #include #if GNULIB_defined_mbstate_t /* A classification of special values of the encoding of the current locale. */ typedef enum { enc_other, /* other */ enc_utf8, /* UTF-8 */ enc_eucjp, /* EUC-JP */ enc_94, /* EUC-KR, GB2312, BIG5 */ enc_euctw, /* EUC-TW */ enc_gb18030, /* GB18030 */ enc_sjis /* SJIS */ } enc_t; /* Returns a classification of special values of the encoding of the current locale. */ extern enc_t locale_encoding_classification (void); #endif datamash-1.9/lib/ldexp.c0000644000000000000000000000367714767401140010643 /* Multiply a 'float' by a power of 2. Copyright 2002-2003, 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paolo Bonzini and Bruno Haible. */ #include /* Specification. */ #include # include #ifdef USE_LONG_DOUBLE # include "fpucw.h" #endif /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() function. */ #undef exp #define exp exponent #ifdef USE_LONG_DOUBLE # define FUNC ldexpl # define DOUBLE long double # define ISNAN isnanl # define DECL_ROUNDING DECL_LONG_DOUBLE_ROUNDING # define BEGIN_ROUNDING() BEGIN_LONG_DOUBLE_ROUNDING () # define END_ROUNDING() END_LONG_DOUBLE_ROUNDING () # define L_(literal) literal##L #else # define FUNC ldexp # define DOUBLE double # define ISNAN isnand # define DECL_ROUNDING # define BEGIN_ROUNDING() # define END_ROUNDING() # define L_(literal) literal #endif DOUBLE FUNC (DOUBLE x, int exp) { DECL_ROUNDING BEGIN_ROUNDING (); /* Check for zero, nan and infinity. */ if (!(ISNAN (x) || x + x == x)) { DOUBLE factor = exp < 0 ? L_(0.5) : L_(2.0); while (true) { if (exp % 2 != 0) x *= factor; exp /= 2; if (exp == 0) break; factor = factor * factor; } } END_ROUNDING (); return x; } datamash-1.9/lib/ldexpl.c0000644000000000000000000000252214767401140011003 /* Multiply a 'float' by a power of 2. Copyright 2002-2003, 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paolo Bonzini and Bruno Haible. */ #include /* Specification. */ #include /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() function. */ #undef exp #define exp exponent #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE long double ldexpl (long double x, int exp) { return ldexp (x, exp); } #else # define USE_LONG_DOUBLE # include "ldexp.c" #endif #if 0 int main (void) { long double x; int y; for (y = 0; y < 29; y++) printf ("%5d %.16Lg %.16Lg\n", y, ldexpl (0.8L, y), ldexpl (0.8L, -y) * ldexpl (0.8L, y)); } #endif datamash-1.9/lib/libc-config.h0000644000000000000000000001445014767401140011677 /* System definitions for code taken from the GNU C Library Copyright 2017-2025 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ /* Written by Paul Eggert. */ /* This is intended to be a good-enough substitute for glibc system macros like those defined in , so that Gnulib code shared with glibc can do this as the first #include: #ifndef _LIBC # include #endif When compiled as part of glibc this is a no-op; when compiled as part of Gnulib this includes Gnulib's and defines macros that glibc library code would normally assume. Note: This header file MUST NOT be included by public header files of Gnulib. */ #include /* On glibc this includes and and #defines _FEATURES_H, __WORDSIZE, and __set_errno. On FreeBSD 11 and DragonFlyBSD 5.9 it includes which defines __nonnull. Elsewhere it is harmless. */ #include /* From glibc . */ #ifndef __set_errno # define __set_errno(val) (errno = (val)) #endif /* From glibc . */ #if defined __clang__ /* clang really only groks GNU C 4.2, regardless of its value of __GNUC__. */ # undef __GNUC_PREREQ # define __GNUC_PREREQ(maj, min) ((maj) < 4 + ((min) <= 2)) #endif #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__)) # else # define __GNUC_PREREQ(maj, min) 0 # endif #endif #ifndef __glibc_clang_prereq # if defined __clang_major__ && defined __clang_minor__ # ifdef __apple_build_version__ /* Apple for some reason renumbers __clang_major__ and __clang_minor__. Gnulib code uses only __glibc_clang_prereq (3, 5); map it to 6000000 <= __apple_build_version__. Support for other calls to __glibc_clang_prereq can be added here as needed. */ # define __glibc_clang_prereq(maj, min) \ ((maj) == 3 && (min) == 5 ? 6000000 <= __apple_build_version__ : 0) # else # define __glibc_clang_prereq(maj, min) \ ((maj) < __clang_major__ + ((min) <= __clang_minor__)) # endif # else # define __glibc_clang_prereq(maj, min) 0 # endif #endif #ifndef __attribute_nonnull__ /* either does not exist, or is too old for Gnulib. Prepare to include , which is Gnulib's version of a more-recent glibc . */ /* Define _FEATURES_H so that does not include . */ # ifndef _FEATURES_H # define _FEATURES_H 1 # endif /* Define __GNULIB_CDEFS so that does not attempt to include nonexistent files. */ # define __GNULIB_CDEFS /* Undef the macros unconditionally defined by our copy of glibc , so that they do not clash with any system-defined versions. */ # undef _SYS_CDEFS_H # undef __ASMNAME # undef __ASMNAME2 # undef __BEGIN_DECLS # undef __CONCAT # undef __END_DECLS # undef __HAVE_GENERIC_SELECTION # undef __LDBL_COMPAT # undef __LDBL_REDIR # undef __LDBL_REDIR1 # undef __LDBL_REDIR1_DECL # undef __LDBL_REDIR1_NTH # undef __LDBL_REDIR2_DECL # undef __LDBL_REDIR_DECL # undef __LDBL_REDIR_NTH # undef __LEAF # undef __LEAF_ATTR # undef __NTH # undef __NTHNL # undef __REDIRECT # undef __REDIRECT_LDBL # undef __REDIRECT_NTH # undef __REDIRECT_NTHNL # undef __REDIRECT_NTH_LDBL # undef __STRING # undef __THROW # undef __THROWNL # undef __attr_access # undef __attr_access_none # undef __attr_dealloc # undef __attr_dealloc_free # undef __attribute__ # undef __attribute_alloc_align__ # undef __attribute_alloc_size__ # undef __attribute_artificial__ # undef __attribute_const__ # undef __attribute_deprecated__ # undef __attribute_deprecated_msg__ # undef __attribute_format_arg__ # undef __attribute_format_strfmon__ # undef __attribute_malloc__ # undef __attribute_maybe_unused__ # undef __attribute_noinline__ # undef __attribute_nonstring__ # undef __attribute_pure__ # undef __attribute_returns_twice__ # undef __attribute_used__ # undef __attribute_warn_unused_result__ # undef __errordecl # undef __extension__ # undef __extern_always_inline # undef __extern_inline # undef __flexarr # undef __fortified_attr_access # undef __fortify_function # undef __glibc_c99_flexarr_available # undef __glibc_has_attribute # undef __glibc_has_builtin # undef __glibc_has_extension # undef __glibc_likely # undef __glibc_macro_warning # undef __glibc_macro_warning1 # undef __glibc_unlikely # undef __inline # undef __ptr_t # undef __restrict # undef __restrict_arr # undef __va_arg_pack # undef __va_arg_pack_len # undef __warnattr # undef __wur # ifndef __GNULIB_CDEFS # undef __bos # undef __bos0 # undef __glibc_fortify # undef __glibc_fortify_n # undef __glibc_objsize # undef __glibc_objsize0 # undef __glibc_safe_len_cond # undef __glibc_safe_or_unknown_len # undef __glibc_unsafe_len # undef __glibc_unsigned_or_positive # endif /* Include our copy of glibc . */ # include /* __inline is too pessimistic for non-GCC. */ # undef __inline # ifndef HAVE___INLINE # if 199901 <= __STDC_VERSION__ || defined inline # define __inline inline # else # define __inline # endif # endif #endif /* defined __glibc_likely */ /* A substitute for glibc , good enough for Gnulib. */ #define attribute_hidden #define libc_hidden_proto(name) #define libc_hidden_def(name) #define libc_hidden_weak(name) #define libc_hidden_ver(local, name) #define strong_alias(name, aliasname) #define weak_alias(name, aliasname) /* A substitute for glibc , good enough for Gnulib. */ #define SHLIB_COMPAT(lib, introduced, obsoleted) 0 #define compat_symbol(lib, local, symbol, version) extern int dummy #define versioned_symbol(lib, local, symbol, version) extern int dummy datamash-1.9/lib/limits.in.h0000644000000000000000000001167414767401140011436 /* A GNU-like . Copyright 2016-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _@GUARD_PREFIX@_ALREADY_INCLUDING_LIMITS_H /* Special invocation convention: On Haiku/x86_64, we have a sequence of nested includes -> -> . In this situation, LONG_MAX and INT_MAX are not yet defined, therefore we should not attempt to define LONG_BIT. */ #@INCLUDE_NEXT@ @NEXT_LIMITS_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_LIMITS_H # define _@GUARD_PREFIX@_ALREADY_INCLUDING_LIMITS_H /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_LIMITS_H@ # undef _@GUARD_PREFIX@_ALREADY_INCLUDING_LIMITS_H #ifndef _@GUARD_PREFIX@_LIMITS_H #define _@GUARD_PREFIX@_LIMITS_H #ifndef LLONG_MIN # if defined LONG_LONG_MIN /* HP-UX 11.31 */ # define LLONG_MIN LONG_LONG_MIN # elif defined LONGLONG_MIN /* IRIX 6.5 */ # define LLONG_MIN LONGLONG_MIN # elif defined __GNUC__ # define LLONG_MIN (- __LONG_LONG_MAX__ - 1LL) # endif #endif #ifndef LLONG_MAX # if defined LONG_LONG_MAX /* HP-UX 11.31 */ # define LLONG_MAX LONG_LONG_MAX # elif defined LONGLONG_MAX /* IRIX 6.5 */ # define LLONG_MAX LONGLONG_MAX # elif defined __GNUC__ # define LLONG_MAX __LONG_LONG_MAX__ # endif #endif #ifndef ULLONG_MAX # if defined ULONG_LONG_MAX /* HP-UX 11.31 */ # define ULLONG_MAX ULONG_LONG_MAX # elif defined ULONGLONG_MAX /* IRIX 6.5 */ # define ULLONG_MAX ULONGLONG_MAX # elif defined __GNUC__ # define ULLONG_MAX (__LONG_LONG_MAX__ * 2ULL + 1ULL) # endif #endif /* The number of usable bits in an unsigned or signed integer type with minimum value MIN and maximum value MAX, as an int expression suitable in #if. Cover all known practical hosts. This implementation exploits the fact that MAX is 1 less than a power of 2, and merely counts the number of 1 bits in MAX; "COBn" means "count the number of 1 bits in the low-order n bits"). */ #define _GL_INTEGER_WIDTH(min, max) (((min) < 0) + _GL_COB128 (max)) #define _GL_COB128(n) (_GL_COB64 ((n) >> 31 >> 31 >> 2) + _GL_COB64 (n)) #define _GL_COB64(n) (_GL_COB32 ((n) >> 31 >> 1) + _GL_COB32 (n)) #define _GL_COB32(n) (_GL_COB16 ((n) >> 16) + _GL_COB16 (n)) #define _GL_COB16(n) (_GL_COB8 ((n) >> 8) + _GL_COB8 (n)) #define _GL_COB8(n) (_GL_COB4 ((n) >> 4) + _GL_COB4 (n)) #define _GL_COB4(n) (!!((n) & 8) + !!((n) & 4) + !!((n) & 2) + !!((n) & 1)) #ifndef WORD_BIT /* Assume 'int' is 32 bits wide. */ # define WORD_BIT 32 #endif #ifndef LONG_BIT /* Assume 'long' is 32 or 64 bits wide. */ # if LONG_MAX == INT_MAX # define LONG_BIT 32 # else # define LONG_BIT 64 # endif #endif /* Assume no multibyte character is longer than 16 bytes. */ #ifndef MB_LEN_MAX # define MB_LEN_MAX 16 #endif /* Macros specified by C23 and by ISO/IEC TS 18661-1:2014. */ #if (! defined ULLONG_WIDTH \ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__ \ || (defined __STDC_VERSION__ && 201710 < __STDC_VERSION__))) # define CHAR_WIDTH _GL_INTEGER_WIDTH (CHAR_MIN, CHAR_MAX) # define SCHAR_WIDTH _GL_INTEGER_WIDTH (SCHAR_MIN, SCHAR_MAX) # define UCHAR_WIDTH _GL_INTEGER_WIDTH (0, UCHAR_MAX) # define SHRT_WIDTH _GL_INTEGER_WIDTH (SHRT_MIN, SHRT_MAX) # define USHRT_WIDTH _GL_INTEGER_WIDTH (0, USHRT_MAX) # define INT_WIDTH _GL_INTEGER_WIDTH (INT_MIN, INT_MAX) # define UINT_WIDTH _GL_INTEGER_WIDTH (0, UINT_MAX) # define LONG_WIDTH _GL_INTEGER_WIDTH (LONG_MIN, LONG_MAX) # define ULONG_WIDTH _GL_INTEGER_WIDTH (0, ULONG_MAX) # define LLONG_WIDTH _GL_INTEGER_WIDTH (LLONG_MIN, LLONG_MAX) # define ULLONG_WIDTH _GL_INTEGER_WIDTH (0, ULLONG_MAX) #endif /* Macros specified by C23. */ #if (defined _GNU_SOURCE \ || (defined __STDC_VERSION__ && 201710 < __STDC_VERSION__)) # if ! defined BOOL_WIDTH # define BOOL_WIDTH 1 # define BOOL_MAX 1 # elif ! defined BOOL_MAX # define BOOL_MAX 1 # endif #endif /* Macro specified by POSIX. */ /* The maximum ssize_t value. Although it might not be of ssize_t type as it should be, it's too much trouble to fix this minor detail. */ #ifndef SSIZE_MAX # ifdef _WIN64 # define SSIZE_MAX LLONG_MAX # else # define SSIZE_MAX LONG_MAX # endif #endif #endif /* _@GUARD_PREFIX@_LIMITS_H */ #endif /* _@GUARD_PREFIX@_LIMITS_H */ #endif datamash-1.9/lib/linebuffer.c0000644000000000000000000000564514767401140011645 /* linebuffer.c -- read arbitrarily long lines Copyright (C) 1986, 1991, 1998-1999, 2001, 2003-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. 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 . */ /* Written by Richard Stallman. */ #include #include #include #include #include #include "linebuffer.h" #include "xalloc.h" #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif /* Initialize linebuffer LINEBUFFER for use. */ void initbuffer (struct linebuffer *linebuffer) { memset (linebuffer, 0, sizeof *linebuffer); } struct linebuffer * readlinebuffer (struct linebuffer *linebuffer, FILE *stream) { return readlinebuffer_delim (linebuffer, stream, '\n'); } /* Read an arbitrarily long line of text from STREAM into LINEBUFFER. Consider lines to be terminated by DELIMITER. Keep the delimiter; append DELIMITER if it's the last line of a file that ends in a character other than DELIMITER. Do not NUL-terminate. Therefore the stream can contain NUL bytes, and the length (including the delimiter) is returned in linebuffer->length. Return NULL when stream is empty. Return NULL and set errno upon error; callers can distinguish this case from the empty case by invoking ferror (stream). Otherwise, return LINEBUFFER. */ struct linebuffer * readlinebuffer_delim (struct linebuffer *linebuffer, FILE *stream, char delimiter) { int c; char *buffer = linebuffer->buffer; char *p = linebuffer->buffer; char *end = buffer + linebuffer->size; /* Sentinel. */ if (feof (stream)) return NULL; do { c = getc (stream); if (c == EOF) { if (p == buffer || ferror (stream)) return NULL; if (p[-1] == delimiter) break; c = delimiter; } if (p == end) { idx_t oldsize = linebuffer->size; buffer = xpalloc (buffer, &linebuffer->size, 1, -1, 1); p = buffer + oldsize; linebuffer->buffer = buffer; end = buffer + linebuffer->size; } *p++ = c; } while (c != delimiter); linebuffer->length = p - buffer; return linebuffer; } /* Free the buffer that was allocated for linebuffer LINEBUFFER. */ void freebuffer (struct linebuffer *linebuffer) { free (linebuffer->buffer); } datamash-1.9/lib/linebuffer.h0000644000000000000000000000422214767401140011640 /* linebuffer.h -- declarations for reading arbitrarily long lines Copyright (C) 1986, 1991, 1998-1999, 2002-2003, 2007, 2009-2025 Free Software Foundation, Inc. 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 . */ #if !defined LINEBUFFER_H #define LINEBUFFER_H #include "idx.h" #include #ifdef __cplusplus extern "C" { #endif /* A 'struct linebuffer' holds a line of text. */ struct linebuffer { idx_t size; /* Allocated. */ idx_t length; /* Used. */ char *buffer; }; /* Initialize linebuffer LINEBUFFER for use. */ void initbuffer (struct linebuffer *linebuffer); /* Read an arbitrarily long line of text from STREAM into LINEBUFFER. Consider lines to be terminated by DELIMITER. Keep the delimiter; append DELIMITER if we reach EOF and it wasn't the last character in the file. Do not NUL-terminate. Return LINEBUFFER, except at end of file return NULL. */ struct linebuffer *readlinebuffer_delim (struct linebuffer *linebuffer, FILE *stream, char delimiter); /* Read an arbitrarily long line of text from STREAM into LINEBUFFER. Keep the newline; append a newline if it's the last line of a file that ends in a non-newline character. Do not NUL-terminate. Return LINEBUFFER, except at end of file return NULL. */ struct linebuffer *readlinebuffer (struct linebuffer *linebuffer, FILE *stream); /* Free linebuffer LINEBUFFER and its data, all allocated with malloc. */ void freebuffer (struct linebuffer *); #ifdef __cplusplus } #endif #endif /* LINEBUFFER_H */ datamash-1.9/lib/local.mk0000644000000000000000000000114414771573715011006 # Copyright (C) 2014-2021 Assaf Gordon # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. include lib/gnulib.mk # Allow "make distdir" to succeed before "make all" has run. dist-hook: $(noinst_LIBRARIES) .PHONY: dist-hook datamash-1.9/lib/localcharset.c0000644000000000000000000011611214767401140012160 /* Determine a canonical name for the current locale's character encoding. Copyright (C) 2000-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible . */ #include /* Specification. */ #include "localcharset.h" #include #include #include #include #if defined __APPLE__ && defined __MACH__ && HAVE_LANGINFO_CODESET # define DARWIN7 /* Darwin 7 or newer, i.e. Mac OS X 10.3 or newer */ #endif #if defined _WIN32 && !defined __CYGWIN__ # define WINDOWS_NATIVE # include #endif #if defined __EMX__ /* Assume EMX program runs on OS/2, even if compiled under DOS. */ # ifndef OS2 # define OS2 # endif #endif #if !defined WINDOWS_NATIVE # if HAVE_LANGINFO_CODESET # include # else # if 0 /* see comment regarding use of setlocale(), below */ # include # endif # endif # ifdef __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include # endif #elif defined WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include /* For the use of setlocale() below, the Gnulib override in setlocale.c is not needed; see the platform lists in setlocale_null.m4. */ # undef setlocale #endif #if defined OS2 # define INCL_DOS # include #endif /* For MB_CUR_MAX_L */ #if defined DARWIN7 # include #endif #if HAVE_LANGINFO_CODESET || defined WINDOWS_NATIVE || defined OS2 /* On these platforms, we use a mapping from non-canonical encoding name to GNU canonical encoding name. */ /* With glibc-2.1 or newer, we don't need any canonicalization, because glibc has iconv and both glibc and libiconv support all GNU canonical names directly. */ # if !((defined __GNU_LIBRARY__ && __GLIBC__ >= 2) || defined __UCLIBC__) struct table_entry { const char alias[11+1]; const char canonical[11+1]; }; /* Table of platform-dependent mappings, sorted in ascending order. */ static const struct table_entry alias_table[] = { # if defined __FreeBSD__ /* FreeBSD */ /*{ "ARMSCII-8", "ARMSCII-8" },*/ { "Big5", "BIG5" }, { "C", "ASCII" }, /*{ "CP1131", "CP1131" },*/ /*{ "CP1251", "CP1251" },*/ /*{ "CP866", "CP866" },*/ /*{ "GB18030", "GB18030" },*/ /*{ "GB2312", "GB2312" },*/ /*{ "GBK", "GBK" },*/ /*{ "ISCII-DEV", "?" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-9", "ISO-8859-9" }, /*{ "KOI8-R", "KOI8-R" },*/ /*{ "KOI8-U", "KOI8-U" },*/ { "SJIS", "SHIFT_JIS" }, { "US-ASCII", "ASCII" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" } # define alias_table_defined # endif # if defined __NetBSD__ /* NetBSD */ { "646", "ASCII" }, /*{ "ARMSCII-8", "ARMSCII-8" },*/ /*{ "BIG5", "BIG5" },*/ { "Big5-HKSCS", "BIG5-HKSCS" }, /*{ "CP1251", "CP1251" },*/ /*{ "CP866", "CP866" },*/ /*{ "GB18030", "GB18030" },*/ /*{ "GB2312", "GB2312" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, /*{ "KOI8-R", "KOI8-R" },*/ /*{ "KOI8-U", "KOI8-U" },*/ /*{ "PT154", "PT154" },*/ { "SJIS", "SHIFT_JIS" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" } # define alias_table_defined # endif # if defined __OpenBSD__ /* OpenBSD */ { "646", "ASCII" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "US-ASCII", "ASCII" } # define alias_table_defined # endif # if defined __APPLE__ && defined __MACH__ /* Mac OS X */ /* Darwin 7.5 has nl_langinfo(CODESET), but sometimes its value is useless: - It returns the empty string when LANG is set to a locale of the form ll_CC, although ll_CC/LC_CTYPE is a symlink to an UTF-8 LC_CTYPE file. - The environment variables LANG, LC_CTYPE, LC_ALL are not set by the system; nl_langinfo(CODESET) returns "US-ASCII" in this case. - The documentation says: "... all code that calls BSD system routines should ensure that the const *char parameters of these routines are in UTF-8 encoding. All BSD system functions expect their string parameters to be in UTF-8 encoding and nothing else." It also says "An additional caveat is that string parameters for files, paths, and other file-system entities must be in canonical UTF-8. In a canonical UTF-8 Unicode string, all decomposable characters are decomposed ..." but this is not true: You can pass non-decomposed UTF-8 strings to file system functions, and it is the OS which will convert them to decomposed UTF-8 before accessing the file system. - The Apple Terminal application displays UTF-8 by default. - However, other applications are free to use different encodings: - xterm uses ISO-8859-1 by default. - TextEdit uses MacRoman by default. We prefer UTF-8 over decomposed UTF-8-MAC because one should minimize the use of decomposed Unicode. Unfortunately, through the Darwin file system, decomposed UTF-8 strings are leaked into user space nevertheless. Then there are also the locales with encodings other than US-ASCII and UTF-8. These locales can be occasionally useful to users (e.g. when grepping through ISO-8859-1 encoded text files), when all their file names are in US-ASCII. */ { "ARMSCII-8", "ARMSCII-8" }, { "Big5", "BIG5" }, { "Big5HKSCS", "BIG5-HKSCS" }, { "CP1131", "CP1131" }, { "CP1251", "CP1251" }, { "CP866", "CP866" }, { "CP949", "CP949" }, { "GB18030", "GB18030" }, { "GB2312", "GB2312" }, { "GBK", "GBK" }, /*{ "ISCII-DEV", "?" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-9", "ISO-8859-9" }, { "KOI8-R", "KOI8-R" }, { "KOI8-U", "KOI8-U" }, { "PT154", "PT154" }, { "SJIS", "SHIFT_JIS" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" } # define alias_table_defined # endif # if defined _AIX /* AIX */ /*{ "GBK", "GBK" },*/ { "IBM-1046", "CP1046" }, { "IBM-1124", "CP1124" }, { "IBM-1129", "CP1129" }, { "IBM-1252", "CP1252" }, { "IBM-850", "CP850" }, { "IBM-856", "CP856" }, { "IBM-921", "ISO-8859-13" }, { "IBM-922", "CP922" }, { "IBM-932", "CP932" }, { "IBM-943", "CP943" }, { "IBM-eucCN", "GB2312" }, { "IBM-eucJP", "EUC-JP" }, { "IBM-eucKR", "EUC-KR" }, { "IBM-eucTW", "EUC-TW" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-6", "ISO-8859-6" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "TIS-620", "TIS-620" }, /*{ "UTF-8", "UTF-8" },*/ { "big5", "BIG5" } # define alias_table_defined # endif # if defined __hpux /* HP-UX */ { "SJIS", "SHIFT_JIS" }, { "arabic8", "HP-ARABIC8" }, { "big5", "BIG5" }, { "cp1251", "CP1251" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" }, { "gb18030", "GB18030" }, { "greek8", "HP-GREEK8" }, { "hebrew8", "HP-HEBREW8" }, { "hkbig5", "BIG5-HKSCS" }, { "hp15CN", "GB2312" }, { "iso88591", "ISO-8859-1" }, { "iso885913", "ISO-8859-13" }, { "iso885915", "ISO-8859-15" }, { "iso88592", "ISO-8859-2" }, { "iso88594", "ISO-8859-4" }, { "iso88595", "ISO-8859-5" }, { "iso88596", "ISO-8859-6" }, { "iso88597", "ISO-8859-7" }, { "iso88598", "ISO-8859-8" }, { "iso88599", "ISO-8859-9" }, { "kana8", "HP-KANA8" }, { "koi8r", "KOI8-R" }, { "roman8", "HP-ROMAN8" }, { "tis620", "TIS-620" }, { "turkish8", "HP-TURKISH8" }, { "utf8", "UTF-8" } # define alias_table_defined # endif # if defined __sgi /* IRIX */ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-9", "ISO-8859-9" }, { "eucCN", "GB2312" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" } # define alias_table_defined # endif # if defined __osf__ /* OSF/1 */ /*{ "GBK", "GBK" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "KSC5601", "CP949" }, { "SJIS", "SHIFT_JIS" }, { "TACTIS", "TIS-620" }, /*{ "UTF-8", "UTF-8" },*/ { "big5", "BIG5" }, { "cp850", "CP850" }, { "dechanyu", "DEC-HANYU" }, { "dechanzi", "GB2312" }, { "deckanji", "DEC-KANJI" }, { "deckorean", "EUC-KR" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW", "EUC-TW" }, { "sdeckanji", "EUC-JP" } # define alias_table_defined # endif # if defined __sun /* Solaris */ { "5601", "EUC-KR" }, { "646", "ASCII" }, /*{ "BIG5", "BIG5" },*/ { "Big5-HKSCS", "BIG5-HKSCS" }, { "GB18030", "GB18030" }, /*{ "GBK", "GBK" },*/ { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-11", "TIS-620" }, { "ISO8859-13", "ISO-8859-13" }, { "ISO8859-15", "ISO-8859-15" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-3", "ISO-8859-3" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-6", "ISO-8859-6" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "PCK", "SHIFT_JIS" }, { "TIS620.2533", "TIS-620" }, /*{ "UTF-8", "UTF-8" },*/ { "ansi-1251", "CP1251" }, { "cns11643", "EUC-TW" }, { "eucJP", "EUC-JP" }, { "gb2312", "GB2312" }, { "koi8-r", "KOI8-R" } # define alias_table_defined # endif # if defined __minix /* Minix */ { "646", "ASCII" } # define alias_table_defined # endif # if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Windows */ { "CP1361", "JOHAB" }, { "CP20127", "ASCII" }, { "CP20866", "KOI8-R" }, { "CP20936", "GB2312" }, { "CP21866", "KOI8-RU" }, { "CP28591", "ISO-8859-1" }, { "CP28592", "ISO-8859-2" }, { "CP28593", "ISO-8859-3" }, { "CP28594", "ISO-8859-4" }, { "CP28595", "ISO-8859-5" }, { "CP28596", "ISO-8859-6" }, { "CP28597", "ISO-8859-7" }, { "CP28598", "ISO-8859-8" }, { "CP28599", "ISO-8859-9" }, { "CP28605", "ISO-8859-15" }, { "CP38598", "ISO-8859-8" }, { "CP51932", "EUC-JP" }, { "CP51936", "GB2312" }, { "CP51949", "EUC-KR" }, { "CP51950", "EUC-TW" }, { "CP54936", "GB18030" }, { "CP65001", "UTF-8" }, { "CP936", "GBK" } # define alias_table_defined # endif # if defined OS2 /* OS/2 */ /* The list of encodings is taken from "List of OS/2 Codepages" by Alex Taylor: . See also "__convcp() of kLIBC": . */ { "CP1004", "CP1252" }, /*{ "CP1041", "CP943" },*/ /*{ "CP1088", "CP949" },*/ { "CP1089", "ISO-8859-6" }, /*{ "CP1114", "CP950" },*/ /*{ "CP1115", "GB2312" },*/ { "CP1208", "UTF-8" }, /*{ "CP1380", "GB2312" },*/ { "CP1381", "GB2312" }, { "CP1383", "GB2312" }, { "CP1386", "GBK" }, /*{ "CP301", "CP943" },*/ { "CP3372", "EUC-JP" }, { "CP4946", "CP850" }, /*{ "CP5048", "JIS_X0208-1990" },*/ /*{ "CP5049", "JIS_X0212-1990" },*/ /*{ "CP5067", "KS_C_5601-1987" },*/ { "CP813", "ISO-8859-7" }, { "CP819", "ISO-8859-1" }, { "CP878", "KOI8-R" }, /*{ "CP897", "CP943" },*/ { "CP912", "ISO-8859-2" }, { "CP913", "ISO-8859-3" }, { "CP914", "ISO-8859-4" }, { "CP915", "ISO-8859-5" }, { "CP916", "ISO-8859-8" }, { "CP920", "ISO-8859-9" }, { "CP921", "ISO-8859-13" }, { "CP923", "ISO-8859-15" }, /*{ "CP941", "CP943" },*/ /*{ "CP947", "CP950" },*/ /*{ "CP951", "CP949" },*/ /*{ "CP952", "JIS_X0208-1990" },*/ /*{ "CP953", "JIS_X0212-1990" },*/ { "CP954", "EUC-JP" }, { "CP964", "EUC-TW" }, { "CP970", "EUC-KR" }, /*{ "CP971", "KS_C_5601-1987" },*/ { "IBM-1004", "CP1252" }, /*{ "IBM-1006", "?" },*/ /*{ "IBM-1008", "?" },*/ /*{ "IBM-1041", "CP943" },*/ /*{ "IBM-1051", "?" },*/ /*{ "IBM-1088", "CP949" },*/ { "IBM-1089", "ISO-8859-6" }, /*{ "IBM-1098", "?" },*/ /*{ "IBM-1114", "CP950" },*/ /*{ "IBM-1115", "GB2312" },*/ /*{ "IBM-1116", "?" },*/ /*{ "IBM-1117", "?" },*/ /*{ "IBM-1118", "?" },*/ /*{ "IBM-1119", "?" },*/ { "IBM-1124", "CP1124" }, { "IBM-1125", "CP1125" }, { "IBM-1131", "CP1131" }, { "IBM-1208", "UTF-8" }, { "IBM-1250", "CP1250" }, { "IBM-1251", "CP1251" }, { "IBM-1252", "CP1252" }, { "IBM-1253", "CP1253" }, { "IBM-1254", "CP1254" }, { "IBM-1255", "CP1255" }, { "IBM-1256", "CP1256" }, { "IBM-1257", "CP1257" }, /*{ "IBM-1275", "?" },*/ /*{ "IBM-1276", "?" },*/ /*{ "IBM-1277", "?" },*/ /*{ "IBM-1280", "?" },*/ /*{ "IBM-1281", "?" },*/ /*{ "IBM-1282", "?" },*/ /*{ "IBM-1283", "?" },*/ /*{ "IBM-1380", "GB2312" },*/ { "IBM-1381", "GB2312" }, { "IBM-1383", "GB2312" }, { "IBM-1386", "GBK" }, /*{ "IBM-301", "CP943" },*/ { "IBM-3372", "EUC-JP" }, { "IBM-367", "ASCII" }, { "IBM-437", "CP437" }, { "IBM-4946", "CP850" }, /*{ "IBM-5048", "JIS_X0208-1990" },*/ /*{ "IBM-5049", "JIS_X0212-1990" },*/ /*{ "IBM-5067", "KS_C_5601-1987" },*/ { "IBM-813", "ISO-8859-7" }, { "IBM-819", "ISO-8859-1" }, { "IBM-850", "CP850" }, /*{ "IBM-851", "?" },*/ { "IBM-852", "CP852" }, { "IBM-855", "CP855" }, { "IBM-856", "CP856" }, { "IBM-857", "CP857" }, /*{ "IBM-859", "?" },*/ { "IBM-860", "CP860" }, { "IBM-861", "CP861" }, { "IBM-862", "CP862" }, { "IBM-863", "CP863" }, { "IBM-864", "CP864" }, { "IBM-865", "CP865" }, { "IBM-866", "CP866" }, /*{ "IBM-868", "?" },*/ { "IBM-869", "CP869" }, { "IBM-874", "CP874" }, { "IBM-878", "KOI8-R" }, /*{ "IBM-895", "?" },*/ /*{ "IBM-897", "CP943" },*/ /*{ "IBM-907", "?" },*/ /*{ "IBM-909", "?" },*/ { "IBM-912", "ISO-8859-2" }, { "IBM-913", "ISO-8859-3" }, { "IBM-914", "ISO-8859-4" }, { "IBM-915", "ISO-8859-5" }, { "IBM-916", "ISO-8859-8" }, { "IBM-920", "ISO-8859-9" }, { "IBM-921", "ISO-8859-13" }, { "IBM-922", "CP922" }, { "IBM-923", "ISO-8859-15" }, { "IBM-932", "CP932" }, /*{ "IBM-941", "CP943" },*/ /*{ "IBM-942", "?" },*/ { "IBM-943", "CP943" }, /*{ "IBM-947", "CP950" },*/ { "IBM-949", "CP949" }, { "IBM-950", "CP950" }, /*{ "IBM-951", "CP949" },*/ /*{ "IBM-952", "JIS_X0208-1990" },*/ /*{ "IBM-953", "JIS_X0212-1990" },*/ { "IBM-954", "EUC-JP" }, /*{ "IBM-955", "?" },*/ { "IBM-964", "EUC-TW" }, { "IBM-970", "EUC-KR" }, /*{ "IBM-971", "KS_C_5601-1987" },*/ { "IBM-eucCN", "GB2312" }, { "IBM-eucJP", "EUC-JP" }, { "IBM-eucKR", "EUC-KR" }, { "IBM-eucTW", "EUC-TW" }, { "IBM33722", "EUC-JP" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-3", "ISO-8859-3" }, { "ISO8859-4", "ISO-8859-4" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-6", "ISO-8859-6" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, /*{ "JISX0201-1976", "JISX0201-1976" },*/ /*{ "JISX0208-1978", "?" },*/ /*{ "JISX0208-1983", "JIS_X0208-1983" },*/ /*{ "JISX0208-1990", "JIS_X0208-1990" },*/ /*{ "JISX0212-1990", "JIS_X0212-1990" },*/ /*{ "KSC5601-1987", "KS_C_5601-1987" },*/ { "SJIS-1", "CP943" }, { "SJIS-2", "CP943" }, { "eucJP", "EUC-JP" }, { "eucKR", "EUC-KR" }, { "eucTW-1993", "EUC-TW" } # define alias_table_defined # endif # if defined VMS /* OpenVMS */ /* The list of encodings is taken from the OpenVMS 7.3-1 documentation "Compaq C Run-Time Library Reference Manual for OpenVMS systems" section 10.7 "Handling Different Character Sets". */ { "DECHANYU", "DEC-HANYU" }, { "DECHANZI", "GB2312" }, { "DECKANJI", "DEC-KANJI" }, { "DECKOREAN", "EUC-KR" }, { "ISO8859-1", "ISO-8859-1" }, { "ISO8859-2", "ISO-8859-2" }, { "ISO8859-5", "ISO-8859-5" }, { "ISO8859-7", "ISO-8859-7" }, { "ISO8859-8", "ISO-8859-8" }, { "ISO8859-9", "ISO-8859-9" }, { "SDECKANJI", "EUC-JP" }, { "SJIS", "SHIFT_JIS" }, { "eucJP", "EUC-JP" }, { "eucTW", "EUC-TW" } # define alias_table_defined # endif # ifndef alias_table_defined /* Just a dummy entry, to avoid a C syntax error. */ { "", "" } # endif }; # endif #else /* On these platforms, we use a mapping from locale name to GNU canonical encoding name. */ struct table_entry { const char locale[17+1]; const char canonical[11+1]; }; /* Table of platform-dependent mappings, sorted in ascending order. */ static const struct table_entry locale_table[] = { # if defined __FreeBSD__ /* FreeBSD 4.2 */ { "cs_CZ.ISO_8859-2", "ISO-8859-2" }, { "da_DK.DIS_8859-15", "ISO-8859-15" }, { "da_DK.ISO_8859-1", "ISO-8859-1" }, { "de_AT.DIS_8859-15", "ISO-8859-15" }, { "de_AT.ISO_8859-1", "ISO-8859-1" }, { "de_CH.DIS_8859-15", "ISO-8859-15" }, { "de_CH.ISO_8859-1", "ISO-8859-1" }, { "de_DE.DIS_8859-15", "ISO-8859-15" }, { "de_DE.ISO_8859-1", "ISO-8859-1" }, { "en_AU.DIS_8859-15", "ISO-8859-15" }, { "en_AU.ISO_8859-1", "ISO-8859-1" }, { "en_CA.DIS_8859-15", "ISO-8859-15" }, { "en_CA.ISO_8859-1", "ISO-8859-1" }, { "en_GB.DIS_8859-15", "ISO-8859-15" }, { "en_GB.ISO_8859-1", "ISO-8859-1" }, { "en_US.DIS_8859-15", "ISO-8859-15" }, { "en_US.ISO_8859-1", "ISO-8859-1" }, { "es_ES.DIS_8859-15", "ISO-8859-15" }, { "es_ES.ISO_8859-1", "ISO-8859-1" }, { "fi_FI.DIS_8859-15", "ISO-8859-15" }, { "fi_FI.ISO_8859-1", "ISO-8859-1" }, { "fr_BE.DIS_8859-15", "ISO-8859-15" }, { "fr_BE.ISO_8859-1", "ISO-8859-1" }, { "fr_CA.DIS_8859-15", "ISO-8859-15" }, { "fr_CA.ISO_8859-1", "ISO-8859-1" }, { "fr_CH.DIS_8859-15", "ISO-8859-15" }, { "fr_CH.ISO_8859-1", "ISO-8859-1" }, { "fr_FR.DIS_8859-15", "ISO-8859-15" }, { "fr_FR.ISO_8859-1", "ISO-8859-1" }, { "hr_HR.ISO_8859-2", "ISO-8859-2" }, { "hu_HU.ISO_8859-2", "ISO-8859-2" }, { "is_IS.DIS_8859-15", "ISO-8859-15" }, { "is_IS.ISO_8859-1", "ISO-8859-1" }, { "it_CH.DIS_8859-15", "ISO-8859-15" }, { "it_CH.ISO_8859-1", "ISO-8859-1" }, { "it_IT.DIS_8859-15", "ISO-8859-15" }, { "it_IT.ISO_8859-1", "ISO-8859-1" }, { "ja_JP.EUC", "EUC-JP" }, { "ja_JP.SJIS", "SHIFT_JIS" }, { "ja_JP.Shift_JIS", "SHIFT_JIS" }, { "ko_KR.EUC", "EUC-KR" }, { "la_LN.ASCII", "ASCII" }, { "la_LN.DIS_8859-15", "ISO-8859-15" }, { "la_LN.ISO_8859-1", "ISO-8859-1" }, { "la_LN.ISO_8859-2", "ISO-8859-2" }, { "la_LN.ISO_8859-4", "ISO-8859-4" }, { "lt_LN.ASCII", "ASCII" }, { "lt_LN.DIS_8859-15", "ISO-8859-15" }, { "lt_LN.ISO_8859-1", "ISO-8859-1" }, { "lt_LN.ISO_8859-2", "ISO-8859-2" }, { "lt_LT.ISO_8859-4", "ISO-8859-4" }, { "nl_BE.DIS_8859-15", "ISO-8859-15" }, { "nl_BE.ISO_8859-1", "ISO-8859-1" }, { "nl_NL.DIS_8859-15", "ISO-8859-15" }, { "nl_NL.ISO_8859-1", "ISO-8859-1" }, { "no_NO.DIS_8859-15", "ISO-8859-15" }, { "no_NO.ISO_8859-1", "ISO-8859-1" }, { "pl_PL.ISO_8859-2", "ISO-8859-2" }, { "pt_PT.DIS_8859-15", "ISO-8859-15" }, { "pt_PT.ISO_8859-1", "ISO-8859-1" }, { "ru_RU.CP866", "CP866" }, { "ru_RU.ISO_8859-5", "ISO-8859-5" }, { "ru_RU.KOI8-R", "KOI8-R" }, { "ru_SU.CP866", "CP866" }, { "ru_SU.ISO_8859-5", "ISO-8859-5" }, { "ru_SU.KOI8-R", "KOI8-R" }, { "sl_SI.ISO_8859-2", "ISO-8859-2" }, { "sv_SE.DIS_8859-15", "ISO-8859-15" }, { "sv_SE.ISO_8859-1", "ISO-8859-1" }, { "uk_UA.KOI8-U", "KOI8-U" }, { "zh_CN.EUC", "GB2312" }, { "zh_TW.BIG5", "BIG5" }, { "zh_TW.Big5", "BIG5" } # define locale_table_defined # endif # if defined __DJGPP__ /* DOS / DJGPP 2.03 */ /* The encodings given here may not all be correct. If you find that the encoding given for your language and country is not the one your DOS machine actually uses, just correct it in this file, and send a mail to Juan Manuel Guerrero and . */ { "C", "ASCII" }, { "ar", "CP864" }, { "ar_AE", "CP864" }, { "ar_DZ", "CP864" }, { "ar_EG", "CP864" }, { "ar_IQ", "CP864" }, { "ar_IR", "CP864" }, { "ar_JO", "CP864" }, { "ar_KW", "CP864" }, { "ar_MA", "CP864" }, { "ar_OM", "CP864" }, { "ar_QA", "CP864" }, { "ar_SA", "CP864" }, { "ar_SY", "CP864" }, { "be", "CP866" }, { "be_BE", "CP866" }, { "bg", "CP866" }, /* not CP855 ?? */ { "bg_BG", "CP866" }, /* not CP855 ?? */ { "ca", "CP850" }, { "ca_ES", "CP850" }, { "cs", "CP852" }, { "cs_CZ", "CP852" }, { "da", "CP865" }, /* not CP850 ?? */ { "da_DK", "CP865" }, /* not CP850 ?? */ { "de", "CP850" }, { "de_AT", "CP850" }, { "de_CH", "CP850" }, { "de_DE", "CP850" }, { "el", "CP869" }, { "el_GR", "CP869" }, { "en", "CP850" }, { "en_AU", "CP850" }, /* not CP437 ?? */ { "en_CA", "CP850" }, { "en_GB", "CP850" }, { "en_NZ", "CP437" }, { "en_US", "CP437" }, { "en_ZA", "CP850" }, /* not CP437 ?? */ { "eo", "CP850" }, { "eo_EO", "CP850" }, { "es", "CP850" }, { "es_AR", "CP850" }, { "es_BO", "CP850" }, { "es_CL", "CP850" }, { "es_CO", "CP850" }, { "es_CR", "CP850" }, { "es_CU", "CP850" }, { "es_DO", "CP850" }, { "es_EC", "CP850" }, { "es_ES", "CP850" }, { "es_GT", "CP850" }, { "es_HN", "CP850" }, { "es_MX", "CP850" }, { "es_NI", "CP850" }, { "es_PA", "CP850" }, { "es_PE", "CP850" }, { "es_PY", "CP850" }, { "es_SV", "CP850" }, { "es_UY", "CP850" }, { "es_VE", "CP850" }, { "et", "CP850" }, { "et_EE", "CP850" }, { "eu", "CP850" }, { "eu_ES", "CP850" }, { "fi", "CP850" }, { "fi_FI", "CP850" }, { "fr", "CP850" }, { "fr_BE", "CP850" }, { "fr_CA", "CP850" }, { "fr_CH", "CP850" }, { "fr_FR", "CP850" }, { "ga", "CP850" }, { "ga_IE", "CP850" }, { "gd", "CP850" }, { "gd_GB", "CP850" }, { "gl", "CP850" }, { "gl_ES", "CP850" }, { "he", "CP862" }, { "he_IL", "CP862" }, { "hr", "CP852" }, { "hr_HR", "CP852" }, { "hu", "CP852" }, { "hu_HU", "CP852" }, { "id", "CP850" }, /* not CP437 ?? */ { "id_ID", "CP850" }, /* not CP437 ?? */ { "is", "CP861" }, /* not CP850 ?? */ { "is_IS", "CP861" }, /* not CP850 ?? */ { "it", "CP850" }, { "it_CH", "CP850" }, { "it_IT", "CP850" }, { "ja", "CP932" }, { "ja_JP", "CP932" }, { "kr", "CP949" }, /* not CP934 ?? */ { "kr_KR", "CP949" }, /* not CP934 ?? */ { "lt", "CP775" }, { "lt_LT", "CP775" }, { "lv", "CP775" }, { "lv_LV", "CP775" }, { "mk", "CP866" }, /* not CP855 ?? */ { "mk_MK", "CP866" }, /* not CP855 ?? */ { "mt", "CP850" }, { "mt_MT", "CP850" }, { "nb", "CP865" }, /* not CP850 ?? */ { "nb_NO", "CP865" }, /* not CP850 ?? */ { "nl", "CP850" }, { "nl_BE", "CP850" }, { "nl_NL", "CP850" }, { "nn", "CP865" }, /* not CP850 ?? */ { "nn_NO", "CP865" }, /* not CP850 ?? */ { "no", "CP865" }, /* not CP850 ?? */ { "no_NO", "CP865" }, /* not CP850 ?? */ { "pl", "CP852" }, { "pl_PL", "CP852" }, { "pt", "CP850" }, { "pt_BR", "CP850" }, { "pt_PT", "CP850" }, { "ro", "CP852" }, { "ro_RO", "CP852" }, { "ru", "CP866" }, { "ru_RU", "CP866" }, { "sk", "CP852" }, { "sk_SK", "CP852" }, { "sl", "CP852" }, { "sl_SI", "CP852" }, { "sq", "CP852" }, { "sq_AL", "CP852" }, { "sr", "CP852" }, /* CP852 or CP866 or CP855 ?? */ { "sr_CS", "CP852" }, /* CP852 or CP866 or CP855 ?? */ { "sr_YU", "CP852" }, /* CP852 or CP866 or CP855 ?? */ { "sv", "CP850" }, { "sv_SE", "CP850" }, { "th", "CP874" }, { "th_TH", "CP874" }, { "tr", "CP857" }, { "tr_TR", "CP857" }, { "uk", "CP1125" }, { "uk_UA", "CP1125" }, { "zh_CN", "GBK" }, { "zh_TW", "CP950" } /* not CP938 ?? */ # define locale_table_defined # endif # ifndef locale_table_defined /* Just a dummy entry, to avoid a C syntax error. */ { "", "" } # endif }; #endif /* Determine the current locale's character encoding, and canonicalize it into one of the canonical names listed below. The result must not be freed; it is statically allocated. The result becomes invalid when setlocale() is used to change the global locale, or when the value of one of the environment variables LC_ALL, LC_CTYPE, LANG is changed; threads in multithreaded programs should not do this. If the canonical name cannot be determined, the result is a non-canonical name. */ #ifdef STATIC STATIC #endif const char * locale_charset (void) { const char *codeset; /* This function must be multithread-safe. To achieve this without using thread-local storage, we use a simple strcpy or memcpy to fill this static buffer. Filling it through, for example, strcpy + strcat would not be guaranteed to leave the buffer's contents intact if another thread is currently accessing it. If necessary, the contents is first assembled in a stack-allocated buffer. */ #if HAVE_LANGINFO_CODESET || defined WINDOWS_NATIVE || defined OS2 # if HAVE_LANGINFO_CODESET /* Most systems support nl_langinfo (CODESET) nowadays. */ codeset = nl_langinfo (CODESET); # ifdef __CYGWIN__ /* Cygwin < 1.7 does not have locales. nl_langinfo (CODESET) always returns "US-ASCII". Return the suffix of the locale name from the environment variables (if present) or the codepage as a number. */ if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) { const char *locale; static char resultbuf[2 + 10 + 1]; locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } if (locale != NULL && locale[0] != '\0') { /* If the locale name contains an encoding after the dot, return it. */ const char *dot = strchr (locale, '.'); if (dot != NULL) { const char *modifier; dot++; /* Look for the possible @... trailer and remove it, if any. */ modifier = strchr (dot, '@'); if (modifier == NULL) return dot; if (modifier - dot < sizeof (resultbuf)) { /* This way of filling resultbuf is multithread-safe. */ memcpy (resultbuf, dot, modifier - dot); resultbuf [modifier - dot] = '\0'; return resultbuf; } } } /* The Windows API has a function returning the locale's codepage as a number: GetACP(). This encoding is used by Cygwin, unless the user has set the environment variable CYGWIN=codepage:oem (which very few people do). Output directed to console windows needs to be converted (to GetOEMCP() if the console is using a raster font, or to GetConsoleOutputCP() if it is using a TrueType font). Cygwin does this conversion transparently (see winsup/cygwin/fhandler_console.cc), converting to GetConsoleOutputCP(). This leads to correct results, except when SetConsoleOutputCP has been called and a raster font is in use. */ { char buf[2 + 10 + 1]; sprintf (buf, "CP%u", GetACP ()); strcpy (resultbuf, buf); codeset = resultbuf; } } # endif if (codeset == NULL) /* The canonical name cannot be determined. */ codeset = ""; # elif defined WINDOWS_NATIVE char buf[2 + 10 + 1]; static char resultbuf[2 + 10 + 1]; /* The Windows API has a function returning the locale's codepage as a number, but the value doesn't change according to what the 'setlocale' call specified. So we use it as a last resort, in case the string returned by 'setlocale' doesn't specify the codepage. */ char *current_locale = setlocale (LC_CTYPE, NULL); char *pdot = strrchr (current_locale, '.'); if (pdot && 2 + strlen (pdot + 1) + 1 <= sizeof (buf)) sprintf (buf, "CP%s", pdot + 1); else { /* The Windows API has a function returning the locale's codepage as a number: GetACP(). When the output goes to a console window, it needs to be provided in GetOEMCP() encoding if the console is using a raster font, or in GetConsoleOutputCP() encoding if it is using a TrueType font. But in GUI programs and for output sent to files and pipes, GetACP() encoding is the best bet. */ sprintf (buf, "CP%u", GetACP ()); } /* For a locale name such as "French_France.65001", in Windows 10, setlocale now returns "French_France.utf8" instead, or in the UTF-8 environment (with modern system settings) "fr_FR.UTF-8". */ if (strcmp (buf + 2, "65001") == 0 || strcmp (buf + 2, "utf8") == 0 || strcmp (buf + 2, "UTF-8") == 0) codeset = "UTF-8"; else { strcpy (resultbuf, buf); codeset = resultbuf; } # elif defined OS2 const char *locale; static char resultbuf[2 + 10 + 1]; ULONG cp[3]; ULONG cplen; codeset = NULL; /* Allow user to override the codeset, as set in the operating system, with standard language environment variables. */ locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } if (locale != NULL && locale[0] != '\0') { /* If the locale name contains an encoding after the dot, return it. */ const char *dot = strchr (locale, '.'); if (dot != NULL) { const char *modifier; dot++; /* Look for the possible @... trailer and remove it, if any. */ modifier = strchr (dot, '@'); if (modifier == NULL) return dot; if (modifier - dot < sizeof (resultbuf)) { /* This way of filling resultbuf is multithread-safe. */ memcpy (resultbuf, dot, modifier - dot); resultbuf [modifier - dot] = '\0'; return resultbuf; } } /* For the POSIX locale, don't use the system's codepage. */ if (strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0) codeset = ""; } if (codeset == NULL) { /* OS/2 has a function returning the locale's codepage as a number. */ if (DosQueryCp (sizeof (cp), cp, &cplen)) codeset = ""; else { char buf[2 + 10 + 1]; sprintf (buf, "CP%u", cp[0]); strcpy (resultbuf, buf); codeset = resultbuf; } } # else # error "Add code for other platforms here." # endif /* Resolve alias. */ { # ifdef alias_table_defined /* On some platforms, UTF-8 locales are the most frequently used ones. Speed up the common case and slow down the less common cases by testing for this case first. */ # if defined __OpenBSD__ || (defined __APPLE__ && defined __MACH__) || defined __sun || defined __CYGWIN__ if (strcmp (codeset, "UTF-8") == 0) goto done_table_lookup; else # endif { const struct table_entry * const table = alias_table; size_t const table_size = sizeof (alias_table) / sizeof (struct table_entry); /* The table is sorted. Perform a binary search. */ size_t hi = table_size; size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, strcmp (table[i].alias, codeset) < 0, for i >= hi, strcmp (table[i].alias, codeset) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = strcmp (table[mid].alias, codeset); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with strcmp (table[i].alias, codeset) == 0. */ codeset = table[mid].canonical; goto done_table_lookup; } } } if (0) done_table_lookup: {} else # endif { /* Did not find it in the table. */ /* On Mac OS X, all modern locales use the UTF-8 encoding. BeOS and Haiku have a single locale, and it has UTF-8 encoding. */ # if (defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined __HAIKU__ codeset = "UTF-8"; # else /* Don't return an empty string. GNU libc and GNU libiconv interpret the empty string as denoting "the locale's character encoding", thus GNU libiconv would call this function a second time. */ if (codeset[0] == '\0') codeset = "ASCII"; # endif } } #else /* On old systems which lack it, use setlocale or getenv. */ const char *locale = NULL; /* But most old systems don't have a complete set of locales. Some (like DJGPP) have only the C locale. Therefore we don't use setlocale here; it would return "C" when it doesn't support the locale name the user has set. */ # if 0 locale = setlocale (LC_CTYPE, NULL); # endif if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); if (locale == NULL) locale = ""; } } /* Map locale name to canonical encoding name. */ { # ifdef locale_table_defined const struct table_entry * const table = locale_table; size_t const table_size = sizeof (locale_table) / sizeof (struct table_entry); /* The table is sorted. Perform a binary search. */ size_t hi = table_size; size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, strcmp (table[i].locale, locale) < 0, for i >= hi, strcmp (table[i].locale, locale) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = strcmp (table[mid].locale, locale); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with strcmp (table[i].locale, locale) == 0. */ codeset = table[mid].canonical; goto done_table_lookup; } } if (0) done_table_lookup: ; else # endif { /* Did not find it in the table. */ /* On Mac OS X, all modern locales use the UTF-8 encoding. BeOS and Haiku have a single locale, and it has UTF-8 encoding. */ # if (defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined __HAIKU__ codeset = "UTF-8"; # else /* The canonical name cannot be determined. */ /* Don't return an empty string. GNU libc and GNU libiconv interpret the empty string as denoting "the locale's character encoding", thus GNU libiconv would call this function a second time. */ codeset = "ASCII"; # endif } } #endif #ifdef DARWIN7 /* Mac OS X sets MB_CUR_MAX to 1 when LC_ALL=C, and "UTF-8" (the default codeset) does not work when MB_CUR_MAX is 1. */ if (strcmp (codeset, "UTF-8") == 0 && MB_CUR_MAX_L (uselocale (NULL)) <= 1) codeset = "ASCII"; #endif return codeset; } datamash-1.9/lib/localcharset.h0000644000000000000000000001417614767401140012174 /* Determine a canonical name for the current locale's character encoding. Copyright (C) 2000-2003, 2009-2025 Free Software Foundation, Inc. This file is part of the GNU CHARSET Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _LOCALCHARSET_H #define _LOCALCHARSET_H #ifdef __cplusplus extern "C" { #endif /* Determine the current locale's character encoding, and canonicalize it into one of the canonical names listed below. The result must not be freed; it is statically allocated. The result becomes invalid when setlocale() is used to change the global locale, or when the value of one of the environment variables LC_ALL, LC_CTYPE, LANG is changed; threads in multithreaded programs should not do this. If the canonical name cannot be determined, the result is a non-canonical name. */ extern const char * locale_charset (void); /* About GNU canonical names for character encodings: Every canonical name must be supported by GNU libiconv. Support by GNU libc is also desirable. The name is case insensitive. Usually an upper case MIME charset name is preferred. The current list of these GNU canonical names is: name MIME? used by which systems (darwin = Mac OS X, windows = native Windows) ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin minix cygwin ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos ISO-8859-3 Y glibc solaris cygwin ISO-8859-4 Y hpux osf solaris freebsd netbsd openbsd darwin ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos ISO-8859-6 Y glibc aix hpux solaris cygwin ISO-8859-7 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos ISO-8859-8 Y glibc aix hpux osf solaris cygwin zos ISO-8859-9 Y glibc aix hpux irix osf solaris freebsd darwin cygwin zos ISO-8859-13 glibc hpux solaris freebsd netbsd openbsd darwin cygwin ISO-8859-14 glibc cygwin ISO-8859-15 glibc aix irix osf solaris freebsd netbsd openbsd darwin cygwin KOI8-R Y glibc hpux solaris freebsd netbsd openbsd darwin KOI8-U Y glibc freebsd netbsd openbsd darwin cygwin KOI8-T glibc CP437 dos CP775 dos CP850 aix osf dos CP852 dos CP855 dos CP856 aix CP857 dos CP861 dos CP862 dos CP864 dos CP865 dos CP866 freebsd netbsd openbsd darwin dos CP869 dos CP874 windows dos CP922 aix CP932 aix cygwin windows dos CP943 aix zos CP949 osf darwin windows dos CP950 windows dos CP1046 aix CP1124 aix CP1125 dos CP1129 aix CP1131 freebsd darwin CP1250 windows CP1251 glibc hpux solaris freebsd netbsd openbsd darwin cygwin windows CP1252 aix windows CP1253 windows CP1254 windows CP1255 glibc windows CP1256 windows CP1257 windows GB2312 Y glibc aix hpux irix solaris freebsd netbsd darwin cygwin zos EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin zos EUC-TW glibc aix hpux irix osf solaris netbsd BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin cygwin zos BIG5-HKSCS glibc hpux solaris netbsd darwin GBK glibc aix osf solaris freebsd darwin cygwin windows dos GB18030 glibc hpux solaris freebsd netbsd darwin SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin JOHAB solaris windows TIS-620 glibc aix hpux osf solaris cygwin zos ARMSCII-8 glibc freebsd netbsd darwin GEORGIAN-PS glibc cygwin PT154 glibc netbsd cygwin HP-ROMAN8 hpux HP-ARABIC8 hpux HP-GREEK8 hpux HP-HEBREW8 hpux HP-TURKISH8 hpux HP-KANA8 hpux DEC-KANJI osf DEC-HANYU osf UTF-8 Y glibc aix hpux osf solaris netbsd darwin cygwin zos Note: Names which are not marked as being a MIME name should not be used in Internet protocols for information interchange (mail, news, etc.). Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications must understand both names and treat them as equivalent. */ #ifdef __cplusplus } #endif #endif /* _LOCALCHARSET_H */ datamash-1.9/lib/locale.in.h0000644000000000000000000003505614771573666011416 /* A POSIX . Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (defined _WIN32 && !defined __CYGWIN__ && defined __need_locale_t) \ || defined _@GUARD_PREFIX@_ALREADY_INCLUDING_LOCALE_H /* Special invocation convention: - Inside mingw header files, - To handle Solaris header files (through Solaris 10) when combined with gettext's libintl.h. */ #@INCLUDE_NEXT@ @NEXT_LOCALE_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_LOCALE_H #define _@GUARD_PREFIX@_ALREADY_INCLUDING_LOCALE_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_LOCALE_H@ #undef _@GUARD_PREFIX@_ALREADY_INCLUDING_LOCALE_H #ifndef _@GUARD_PREFIX@_LOCALE_H #define _@GUARD_PREFIX@_LOCALE_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* NetBSD 5.0 mis-defines NULL. */ #include /* Mac OS X 10.5 defines the locale_t type in . */ #if @HAVE_XLOCALE_H@ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C. On systems that don't define it, use the same value as GNU libintl. */ #if !defined LC_MESSAGES # define LC_MESSAGES 1729 #endif #if !@HAVE_LOCALE_T@ # if !defined GNULIB_defined_locale_t /* The values of the POSIX-standardized LC_* macros are: LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME glibc, Solaris, 3 0 5 4 1 2 Android macOS, *BSD 1 2 6 3 4 5 native Windows 1 2 1729 3 4 5 We map these to the log2(LC_*_MASK) values, chosen to be compatible with later releases of the same operating system. */ # if defined __APPLE__ && defined __MACH__ /* macOS */ /* LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME category 1 2 6 3 4 5 log2(LC_*_MASK) 0 1 2 3 4 5 */ # define gl_log2_lc_mask(category) ((0x2543100 >> (4 * (category))) & 0xf) # elif defined __FreeBSD__ || defined __DragonFly__ /* FreeBSD */ /* LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME category 1 2 6 3 4 5 log2(LC_*_MASK) 0 1 5 2 3 4 */ # define gl_log2_lc_mask(category) ((category) - 1) # elif defined _WIN32 && !defined __CYGWIN__ /* native Windows */ # define gl_log2_lc_mask(category) \ ((category) == LC_MESSAGES ? 0 : (category)) # else /* glibc, Solaris, Android, NetBSD, OpenBSD */ # define gl_log2_lc_mask(category) (category) # endif /* From there we map them to array indices 0..5. */ # if (gl_log2_lc_mask (LC_COLLATE) == 0 || gl_log2_lc_mask (LC_CTYPE) == 0 \ || gl_log2_lc_mask (LC_MESSAGES) == 0) /* glibc, Solaris, Android, macOS, FreeBSD, native Windows */ # define gl_log2_lcmask_to_index(c) (c) # define gl_index_to_log2_lcmask(i) (i) # else /* NetBSD, OpenBSD */ # define gl_log2_lcmask_to_index(c) ((c) - 1) # define gl_index_to_log2_lcmask(i) ((i) + 1) # endif /* Define the LC_*_MASK macros. */ # define LC_COLLATE_MASK (1 << gl_log2_lc_mask (LC_COLLATE)) # define LC_CTYPE_MASK (1 << gl_log2_lc_mask (LC_CTYPE)) # define LC_MESSAGES_MASK (1 << gl_log2_lc_mask (LC_MESSAGES)) # define LC_MONETARY_MASK (1 << gl_log2_lc_mask (LC_MONETARY)) # define LC_NUMERIC_MASK (1 << gl_log2_lc_mask (LC_NUMERIC)) # define LC_TIME_MASK (1 << gl_log2_lc_mask (LC_TIME)) # define LC_ALL_MASK \ (LC_COLLATE_MASK | LC_CTYPE_MASK | LC_MESSAGES_MASK | LC_MONETARY_MASK \ | LC_NUMERIC_MASK | LC_TIME_MASK) /* Now define the locale_t type. */ struct gl_locale_category_t { char *name; bool is_c_locale; # if @HAVE_WINDOWS_LOCALE_T@ /* Use the native Windows '_locale_t' type. Documentation: This field is NULL if is_c_locale is true. But don't use this NULL value, since for the native Windows *_l functions a null _locale_t means to use the global locale. */ _locale_t system_locale; # endif }; struct gl_locale_t { struct gl_locale_category_t category[6]; }; typedef struct gl_locale_t *locale_t; # define LC_GLOBAL_LOCALE ((locale_t)(-1)) # define GNULIB_defined_locale_t 1 # endif #endif /* On native Windows with MSVC, 'struct lconv' lacks the members int_p_* and int_n_*. Instead of overriding 'struct lconv', merely define these member names as macros. This avoids trouble in C++ mode. */ #if defined _MSC_VER # define int_p_cs_precedes p_cs_precedes # define int_p_sign_posn p_sign_posn # define int_p_sep_by_space p_sep_by_space # define int_n_cs_precedes n_cs_precedes # define int_n_sign_posn n_sign_posn # define int_n_sep_by_space n_sep_by_space #endif /* Bionic libc's 'struct lconv' is just a dummy. */ #if @REPLACE_STRUCT_LCONV@ # if !defined GNULIB_defined_struct_lconv # define lconv rpl_lconv struct lconv { /* All 'char *' are actually 'const char *'. */ /* Members that depend on the LC_NUMERIC category of the locale. See */ /* Symbol used as decimal point. */ char *decimal_point; /* Symbol used to separate groups of digits to the left of the decimal point. */ char *thousands_sep; /* Definition of the size of groups of digits to the left of the decimal point. */ char *grouping; /* Members that depend on the LC_MONETARY category of the locale. See */ /* Symbol used as decimal point. */ char *mon_decimal_point; /* Symbol used to separate groups of digits to the left of the decimal point. */ char *mon_thousands_sep; /* Definition of the size of groups of digits to the left of the decimal point. */ char *mon_grouping; /* Sign used to indicate a value >= 0. */ char *positive_sign; /* Sign used to indicate a value < 0. */ char *negative_sign; /* For formatting local currency. */ /* Currency symbol (3 characters) followed by separator (1 character). */ char *currency_symbol; /* Number of digits after the decimal point. */ char frac_digits; /* For values >= 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char p_cs_precedes; /* For values >= 0: Position of the sign. */ char p_sign_posn; /* For values >= 0: Placement of spaces between currency symbol, sign, and number. */ char p_sep_by_space; /* For values < 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char n_cs_precedes; /* For values < 0: Position of the sign. */ char n_sign_posn; /* For values < 0: Placement of spaces between currency symbol, sign, and number. */ char n_sep_by_space; /* For formatting international currency. */ /* Currency symbol (3 characters) followed by separator (1 character). */ char *int_curr_symbol; /* Number of digits after the decimal point. */ char int_frac_digits; /* For values >= 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char int_p_cs_precedes; /* For values >= 0: Position of the sign. */ char int_p_sign_posn; /* For values >= 0: Placement of spaces between currency symbol, sign, and number. */ char int_p_sep_by_space; /* For values < 0: 1 if the currency symbol precedes the number, 0 if it comes after the number. */ char int_n_cs_precedes; /* For values < 0: Position of the sign. */ char int_n_sign_posn; /* For values < 0: Placement of spaces between currency symbol, sign, and number. */ char int_n_sep_by_space; }; # define GNULIB_defined_struct_lconv 1 # endif #endif #if @GNULIB_LOCALECONV@ # if @REPLACE_LOCALECONV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localeconv # define localeconv rpl_localeconv # endif _GL_FUNCDECL_RPL (localeconv, struct lconv *, (void), ); _GL_CXXALIAS_RPL (localeconv, struct lconv *, (void)); # else _GL_CXXALIAS_SYS (localeconv, struct lconv *, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (localeconv); # endif #elif @REPLACE_STRUCT_LCONV@ # if !GNULIB_LOCALECONV # undef localeconv # define localeconv localeconv_used_without_requesting_gnulib_module_localeconv # endif #elif defined GNULIB_POSIXCHECK # undef localeconv # if HAVE_RAW_DECL_LOCALECONV _GL_WARN_ON_USE (localeconv, "localeconv returns too few information on some platforms - " "use gnulib module localeconv for portability"); # endif #endif #if @GNULIB_SETLOCALE@ # if @REPLACE_SETLOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setlocale # define setlocale rpl_setlocale # define GNULIB_defined_setlocale 1 # endif _GL_FUNCDECL_RPL (setlocale, char *, (int category, const char *locale), ); _GL_CXXALIAS_RPL (setlocale, char *, (int category, const char *locale)); # else _GL_CXXALIAS_SYS (setlocale, char *, (int category, const char *locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (setlocale); # endif #elif defined GNULIB_POSIXCHECK # undef setlocale # if HAVE_RAW_DECL_SETLOCALE _GL_WARN_ON_USE (setlocale, "setlocale works differently on native Windows - " "use gnulib module setlocale for portability"); # endif #endif #if @GNULIB_SETLOCALE_NULL@ /* Included here for convenience. */ # include "setlocale_null.h" #endif #if @GNULIB_NEWLOCALE@ || (@GNULIB_GETLOCALENAME_L_UNSAFE@ && @LOCALENAME_ENHANCE_LOCALE_FUNCS@ && @HAVE_NEWLOCALE@) # if @REPLACE_NEWLOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef newlocale # define newlocale rpl_newlocale # define GNULIB_defined_newlocale 1 # endif _GL_FUNCDECL_RPL (newlocale, locale_t, (int category_mask, const char *name, locale_t base), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (newlocale, locale_t, (int category_mask, const char *name, locale_t base)); # else # if !@HAVE_NEWLOCALE@ _GL_FUNCDECL_SYS (newlocale, locale_t, (int category_mask, const char *name, locale_t base), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (newlocale, locale_t, (int category_mask, const char *name, locale_t base)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (newlocale); # endif #elif defined GNULIB_POSIXCHECK # undef newlocale # if HAVE_RAW_DECL_NEWLOCALE _GL_WARN_ON_USE (newlocale, "newlocale is not portable"); # endif #endif #if @GNULIB_DUPLOCALE@ || (@GNULIB_GETLOCALENAME_L_UNSAFE@ && @LOCALENAME_ENHANCE_LOCALE_FUNCS@ && @HAVE_DUPLOCALE@) # if @REPLACE_DUPLOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef duplocale # define duplocale rpl_duplocale # define GNULIB_defined_duplocale 1 # endif _GL_FUNCDECL_RPL (duplocale, locale_t, (locale_t locale), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (duplocale, locale_t, (locale_t locale)); # else # if !@HAVE_DUPLOCALE@ _GL_FUNCDECL_SYS (duplocale, locale_t, (locale_t locale), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (duplocale, locale_t, (locale_t locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (duplocale); # endif #elif defined GNULIB_POSIXCHECK # undef duplocale # if HAVE_RAW_DECL_DUPLOCALE _GL_WARN_ON_USE (duplocale, "duplocale is unportable and buggy on some glibc systems - " "use gnulib module duplocale for portability"); # endif #endif #if @GNULIB_FREELOCALE@ || (@GNULIB_GETLOCALENAME_L_UNSAFE@ && @LOCALENAME_ENHANCE_LOCALE_FUNCS@ && @HAVE_FREELOCALE@) # if @REPLACE_FREELOCALE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef freelocale # define freelocale rpl_freelocale # define GNULIB_defined_freelocale 1 # endif _GL_FUNCDECL_RPL (freelocale, void, (locale_t locale), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (freelocale, void, (locale_t locale)); # else # if !@HAVE_FREELOCALE@ _GL_FUNCDECL_SYS (freelocale, void, (locale_t locale), _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on FreeBSD and Mac OS X 10.13, the return type is int. */ _GL_CXXALIAS_SYS_CAST (freelocale, void, (locale_t locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (freelocale); # endif #elif defined GNULIB_POSIXCHECK # undef freelocale # if HAVE_RAW_DECL_FREELOCALE _GL_WARN_ON_USE (freelocale, "freelocale is not portable"); # endif #endif #if @GNULIB_GETLOCALENAME_L@ # if @REPLACE_GETLOCALENAME_L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getlocalename_l # define getlocalename_l rpl_getlocalename_l # endif _GL_FUNCDECL_RPL (getlocalename_l, const char *, (int category, locale_t locale), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (getlocalename_l, const char *, (int category, locale_t locale)); # else # if !@HAVE_GETLOCALENAME_L@ _GL_FUNCDECL_SYS (getlocalename_l, const char *, (int category, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (getlocalename_l, const char *, (int category, locale_t locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getlocalename_l); # endif #elif defined GNULIB_POSIXCHECK # undef getlocalename_l # if HAVE_RAW_DECL_GETLOCALENAME_L _GL_WARN_ON_USE (getlocalename_l, "getlocalename_l is not portable"); # endif #endif #endif /* _@GUARD_PREFIX@_LOCALE_H */ #endif /* _@GUARD_PREFIX@_LOCALE_H */ #endif /* !(__need_locale_t || _@GUARD_PREFIX@_ALREADY_INCLUDING_LOCALE_H) */ datamash-1.9/lib/localeconv.c0000644000000000000000000001035414767401140011642 /* Query locale dependent information for formatting numbers. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #if HAVE_STRUCT_LCONV_DECIMAL_POINT # define FIX_CHAR_VALUE(x) ((x) >= 0 ? (x) : CHAR_MAX) /* Override for platforms where 'struct lconv' lacks the int_p_*, int_n_* members or where fields of type 'char' are set to -1 instead of CHAR_MAX. */ struct lconv * localeconv (void) { static struct lconv result; # undef lconv # undef localeconv struct lconv *sys_result = localeconv (); result.decimal_point = sys_result->decimal_point; result.thousands_sep = sys_result->thousands_sep; result.grouping = sys_result->grouping; result.mon_decimal_point = sys_result->mon_decimal_point; result.mon_thousands_sep = sys_result->mon_thousands_sep; result.mon_grouping = sys_result->mon_grouping; result.positive_sign = sys_result->positive_sign; result.negative_sign = sys_result->negative_sign; result.currency_symbol = sys_result->currency_symbol; result.frac_digits = FIX_CHAR_VALUE (sys_result->frac_digits); result.p_cs_precedes = FIX_CHAR_VALUE (sys_result->p_cs_precedes); result.p_sign_posn = FIX_CHAR_VALUE (sys_result->p_sign_posn); result.p_sep_by_space = FIX_CHAR_VALUE (sys_result->p_sep_by_space); result.n_cs_precedes = FIX_CHAR_VALUE (sys_result->n_cs_precedes); result.n_sign_posn = FIX_CHAR_VALUE (sys_result->n_sign_posn); result.n_sep_by_space = FIX_CHAR_VALUE (sys_result->n_sep_by_space); result.int_curr_symbol = sys_result->int_curr_symbol; result.int_frac_digits = FIX_CHAR_VALUE (sys_result->int_frac_digits); # if HAVE_STRUCT_LCONV_INT_P_CS_PRECEDES result.int_p_cs_precedes = FIX_CHAR_VALUE (sys_result->int_p_cs_precedes); result.int_p_sign_posn = FIX_CHAR_VALUE (sys_result->int_p_sign_posn); result.int_p_sep_by_space = FIX_CHAR_VALUE (sys_result->int_p_sep_by_space); result.int_n_cs_precedes = FIX_CHAR_VALUE (sys_result->int_n_cs_precedes); result.int_n_sign_posn = FIX_CHAR_VALUE (sys_result->int_n_sign_posn); result.int_n_sep_by_space = FIX_CHAR_VALUE (sys_result->int_n_sep_by_space); # else result.int_p_cs_precedes = FIX_CHAR_VALUE (sys_result->p_cs_precedes); result.int_p_sign_posn = FIX_CHAR_VALUE (sys_result->p_sign_posn); result.int_p_sep_by_space = FIX_CHAR_VALUE (sys_result->p_sep_by_space); result.int_n_cs_precedes = FIX_CHAR_VALUE (sys_result->n_cs_precedes); result.int_n_sign_posn = FIX_CHAR_VALUE (sys_result->n_sign_posn); result.int_n_sep_by_space = FIX_CHAR_VALUE (sys_result->n_sep_by_space); # endif return &result; } #else /* Override for platforms where 'struct lconv' is a dummy. */ struct lconv * localeconv (void) { static /*const*/ struct lconv result = { /* decimal_point */ ".", /* thousands_sep */ "", /* grouping */ "", /* mon_decimal_point */ "", /* mon_thousands_sep */ "", /* mon_grouping */ "", /* positive_sign */ "", /* negative_sign */ "", /* currency_symbol */ "", /* frac_digits */ CHAR_MAX, /* p_cs_precedes */ CHAR_MAX, /* p_sign_posn */ CHAR_MAX, /* p_sep_by_space */ CHAR_MAX, /* n_cs_precedes */ CHAR_MAX, /* n_sign_posn */ CHAR_MAX, /* n_sep_by_space */ CHAR_MAX, /* int_curr_symbol */ "", /* int_frac_digits */ CHAR_MAX, /* int_p_cs_precedes */ CHAR_MAX, /* int_p_sign_posn */ CHAR_MAX, /* int_p_sep_by_space */ CHAR_MAX, /* int_n_cs_precedes */ CHAR_MAX, /* int_n_sign_posn */ CHAR_MAX, /* int_n_sep_by_space */ CHAR_MAX }; return &result; } #endif datamash-1.9/lib/localename-environ.c0000644000000000000000000000351114767402206013274 /* Determine name of the currently selected locale. Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ulrich Drepper , 1995. */ #include /* Specification. */ #include "localename.h" #include #include const char * gl_locale_name_environ (_GL_UNUSED int category, const char *categoryname) { const char *retval; /* Setting of LC_ALL overrides all other. */ retval = getenv ("LC_ALL"); if (retval != NULL && retval[0] != '\0') return retval; /* Next comes the name of the desired category. */ retval = getenv (categoryname); if (retval != NULL && retval[0] != '\0') return retval; /* Last possibility is the LANG environment variable. */ retval = getenv ("LANG"); if (retval != NULL && retval[0] != '\0') { #if HAVE_CFPREFERENCESCOPYAPPVALUE /* Mac OS X 10.2 or newer. Ignore invalid LANG value set by the Terminal application. */ if (strcmp (retval, "UTF-8") != 0) #endif #if defined __CYGWIN__ /* Cygwin. Ignore dummy LANG value set by ~/.profile. */ if (strcmp (retval, "C.UTF-8") != 0) #endif return retval; } return NULL; } datamash-1.9/lib/localename-table.c0000644000000000000000000000272614767401140012706 /* Table that maps a locale object to the names of the locale categories. Copyright (C) 2018-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2018. */ #include #if HAVE_WORKING_USELOCALE && HAVE_NAMELESS_LOCALES /* Specification. */ #include "localename-table.h" #include /* A hash function for pointers. */ size_t _GL_ATTRIBUTE_CONST locale_hash_function (locale_t x) { uintptr_t p = (uintptr_t) x; size_t h = ((p % 4177) << 12) + ((p % 79) << 6) + (p % 61); return h; } struct locale_hash_node * locale_hash_table[LOCALE_HASH_TABLE_SIZE] /* = { NULL, ..., NULL } */; gl_rwlock_define_initialized(, locale_lock) #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif datamash-1.9/lib/localename-table.h0000644000000000000000000000564214767402206012717 /* Table that maps a locale object to the names of the locale categories. Copyright (C) 2018-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2018. */ #if HAVE_WORKING_USELOCALE && HAVE_NAMELESS_LOCALES # include # include # include "glthread/lock.h" /* Smallest among the six LC_* category values. */ # define LCMIN (LC_ALL == 0 ? 1 : 0) struct locale_categories_names { /* (Locale category - LCMIN) -> name (allocated with indefinite extent). */ const char *category_name[6]; }; /* A hash table of fixed size. Multiple threads can access it read-only simultaneously, but only one thread can insert into it or remove from it at the same time. This hash table has global scope, so that when an application uses both GNU libintl and gnulib, the application sees only one hash table. (When linking statically with libintl, the fact that localename-table.c is a separate compilation unit resolves the duplicate symbol conflict. When linking with libintl as a shared library, we rely on ELF and the symbol conflict resolution implemented in the ELF dynamic loader here.) Both the libintl overrides and the gnulib overrides of the functions newlocale, duplocale, freelocale see the same hash table (and the same lock). For this reason, the internal layout of the hash table and the hash function MUST NEVER CHANGE. If you need to change the internal layout or the hash function, introduce versioning by appending a version suffix to the symbols at the linker level. */ # define locale_hash_function libintl_locale_hash_function # define locale_hash_table libintl_locale_hash_table # define locale_lock libintl_locale_lock extern size_t _GL_ATTRIBUTE_CONST locale_hash_function (locale_t x); /* A node in a hash bucket collision list. */ struct locale_hash_node { struct locale_hash_node *next; locale_t locale; struct locale_categories_names names; }; # define LOCALE_HASH_TABLE_SIZE 101 extern struct locale_hash_node * locale_hash_table[LOCALE_HASH_TABLE_SIZE]; /* This lock protects the locale_hash_table against multiple simultaneous accesses (except that multiple simultaneous read accesses are allowed). */ gl_rwlock_define(extern, locale_lock) #endif datamash-1.9/lib/localename-unsafe.c0000644000000000000000000024654614767402206013116 /* Determine name of the currently selected locale. Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ulrich Drepper , 1995. */ /* Native Windows code written by Tor Lillqvist . */ /* Mac OS X code written by Bruno Haible . */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the locale == NULL tests below in duplocale() and freelocale(), or xlclang reports -Wtautological-pointer-compare warnings for these tests. */ #define _GL_ARG_NONNULL(params) #include /* Specification. */ #include "localename.h" #include #include #include #include #include "getlocalename_l-unsafe.h" #include "setlocale_null.h" #if HAVE_GOOD_USELOCALE /* Mac OS X 10.5 defines the locale_t type in . */ # if defined __APPLE__ && defined __MACH__ # include # endif #endif #if HAVE_CFPREFERENCESCOPYAPPVALUE # include # include #endif #if defined _WIN32 && !defined __CYGWIN__ # define WINDOWS_NATIVE # include "glthread/lock.h" #endif #if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Native Windows or Cygwin */ # define WIN32_LEAN_AND_MEAN # include # include /* List of language codes, sorted by value: 0x01 LANG_ARABIC 0x02 LANG_BULGARIAN 0x03 LANG_CATALAN 0x04 LANG_CHINESE 0x05 LANG_CZECH 0x06 LANG_DANISH 0x07 LANG_GERMAN 0x08 LANG_GREEK 0x09 LANG_ENGLISH 0x0a LANG_SPANISH 0x0b LANG_FINNISH 0x0c LANG_FRENCH 0x0d LANG_HEBREW 0x0e LANG_HUNGARIAN 0x0f LANG_ICELANDIC 0x10 LANG_ITALIAN 0x11 LANG_JAPANESE 0x12 LANG_KOREAN 0x13 LANG_DUTCH 0x14 LANG_NORWEGIAN 0x15 LANG_POLISH 0x16 LANG_PORTUGUESE 0x17 LANG_ROMANSH 0x18 LANG_ROMANIAN 0x19 LANG_RUSSIAN 0x1a LANG_CROATIAN == LANG_SERBIAN 0x1b LANG_SLOVAK 0x1c LANG_ALBANIAN 0x1d LANG_SWEDISH 0x1e LANG_THAI 0x1f LANG_TURKISH 0x20 LANG_URDU 0x21 LANG_INDONESIAN 0x22 LANG_UKRAINIAN 0x23 LANG_BELARUSIAN 0x24 LANG_SLOVENIAN 0x25 LANG_ESTONIAN 0x26 LANG_LATVIAN 0x27 LANG_LITHUANIAN 0x28 LANG_TAJIK 0x29 LANG_FARSI 0x2a LANG_VIETNAMESE 0x2b LANG_ARMENIAN 0x2c LANG_AZERI 0x2d LANG_BASQUE 0x2e LANG_SORBIAN 0x2f LANG_MACEDONIAN 0x30 LANG_SUTU 0x31 LANG_TSONGA 0x32 LANG_TSWANA 0x33 LANG_VENDA 0x34 LANG_XHOSA 0x35 LANG_ZULU 0x36 LANG_AFRIKAANS 0x37 LANG_GEORGIAN 0x38 LANG_FAEROESE 0x39 LANG_HINDI 0x3a LANG_MALTESE 0x3b LANG_SAMI 0x3c LANG_GAELIC 0x3d LANG_YIDDISH 0x3e LANG_MALAY 0x3f LANG_KAZAK 0x40 LANG_KYRGYZ 0x41 LANG_SWAHILI 0x42 LANG_TURKMEN 0x43 LANG_UZBEK 0x44 LANG_TATAR 0x45 LANG_BENGALI 0x46 LANG_PUNJABI 0x47 LANG_GUJARATI 0x48 LANG_ORIYA 0x49 LANG_TAMIL 0x4a LANG_TELUGU 0x4b LANG_KANNADA 0x4c LANG_MALAYALAM 0x4d LANG_ASSAMESE 0x4e LANG_MARATHI 0x4f LANG_SANSKRIT 0x50 LANG_MONGOLIAN 0x51 LANG_TIBETAN 0x52 LANG_WELSH 0x53 LANG_CAMBODIAN 0x54 LANG_LAO 0x55 LANG_BURMESE 0x56 LANG_GALICIAN 0x57 LANG_KONKANI 0x58 LANG_MANIPURI 0x59 LANG_SINDHI 0x5a LANG_SYRIAC 0x5b LANG_SINHALESE 0x5c LANG_CHEROKEE 0x5d LANG_INUKTITUT 0x5e LANG_AMHARIC 0x5f LANG_TAMAZIGHT 0x60 LANG_KASHMIRI 0x61 LANG_NEPALI 0x62 LANG_FRISIAN 0x63 LANG_PASHTO 0x64 LANG_TAGALOG 0x65 LANG_DIVEHI 0x66 LANG_EDO 0x67 LANG_FULFULDE 0x68 LANG_HAUSA 0x69 LANG_IBIBIO 0x6a LANG_YORUBA 0x6d LANG_BASHKIR 0x6e LANG_LUXEMBOURGISH 0x6f LANG_GREENLANDIC 0x70 LANG_IGBO 0x71 LANG_KANURI 0x72 LANG_OROMO 0x73 LANG_TIGRINYA 0x74 LANG_GUARANI 0x75 LANG_HAWAIIAN 0x76 LANG_LATIN 0x77 LANG_SOMALI 0x78 LANG_YI 0x79 LANG_PAPIAMENTU 0x7a LANG_MAPUDUNGUN 0x7c LANG_MOHAWK 0x7e LANG_BRETON 0x82 LANG_OCCITAN 0x83 LANG_CORSICAN 0x84 LANG_ALSATIAN 0x85 LANG_YAKUT 0x86 LANG_KICHE 0x87 LANG_KINYARWANDA 0x88 LANG_WOLOF 0x8c LANG_DARI 0x91 LANG_SCOTTISH_GAELIC */ /* Mingw headers don't have latest language and sublanguage codes. */ # ifndef LANG_AFRIKAANS # define LANG_AFRIKAANS 0x36 # endif # ifndef LANG_ALBANIAN # define LANG_ALBANIAN 0x1c # endif # ifndef LANG_ALSATIAN # define LANG_ALSATIAN 0x84 # endif # ifndef LANG_AMHARIC # define LANG_AMHARIC 0x5e # endif # ifndef LANG_ARABIC # define LANG_ARABIC 0x01 # endif # ifndef LANG_ARMENIAN # define LANG_ARMENIAN 0x2b # endif # ifndef LANG_ASSAMESE # define LANG_ASSAMESE 0x4d # endif # ifndef LANG_AZERI # define LANG_AZERI 0x2c # endif # ifndef LANG_BASHKIR # define LANG_BASHKIR 0x6d # endif # ifndef LANG_BASQUE # define LANG_BASQUE 0x2d # endif # ifndef LANG_BELARUSIAN # define LANG_BELARUSIAN 0x23 # endif # ifndef LANG_BENGALI # define LANG_BENGALI 0x45 # endif # ifndef LANG_BRETON # define LANG_BRETON 0x7e # endif # ifndef LANG_BURMESE # define LANG_BURMESE 0x55 # endif # ifndef LANG_CAMBODIAN # define LANG_CAMBODIAN 0x53 # endif # ifndef LANG_CATALAN # define LANG_CATALAN 0x03 # endif # ifndef LANG_CHEROKEE # define LANG_CHEROKEE 0x5c # endif # ifndef LANG_CORSICAN # define LANG_CORSICAN 0x83 # endif # ifndef LANG_DARI # define LANG_DARI 0x8c # endif # ifndef LANG_DIVEHI # define LANG_DIVEHI 0x65 # endif # ifndef LANG_EDO # define LANG_EDO 0x66 # endif # ifndef LANG_ESTONIAN # define LANG_ESTONIAN 0x25 # endif # ifndef LANG_FAEROESE # define LANG_FAEROESE 0x38 # endif # ifndef LANG_FARSI # define LANG_FARSI 0x29 # endif # ifndef LANG_FRISIAN # define LANG_FRISIAN 0x62 # endif # ifndef LANG_FULFULDE # define LANG_FULFULDE 0x67 # endif # ifndef LANG_GAELIC # define LANG_GAELIC 0x3c # endif # ifndef LANG_GALICIAN # define LANG_GALICIAN 0x56 # endif # ifndef LANG_GEORGIAN # define LANG_GEORGIAN 0x37 # endif # ifndef LANG_GREENLANDIC # define LANG_GREENLANDIC 0x6f # endif # ifndef LANG_GUARANI # define LANG_GUARANI 0x74 # endif # ifndef LANG_GUJARATI # define LANG_GUJARATI 0x47 # endif # ifndef LANG_HAUSA # define LANG_HAUSA 0x68 # endif # ifndef LANG_HAWAIIAN # define LANG_HAWAIIAN 0x75 # endif # ifndef LANG_HEBREW # define LANG_HEBREW 0x0d # endif # ifndef LANG_HINDI # define LANG_HINDI 0x39 # endif # ifndef LANG_IBIBIO # define LANG_IBIBIO 0x69 # endif # ifndef LANG_IGBO # define LANG_IGBO 0x70 # endif # ifndef LANG_INDONESIAN # define LANG_INDONESIAN 0x21 # endif # ifndef LANG_INUKTITUT # define LANG_INUKTITUT 0x5d # endif # ifndef LANG_KANNADA # define LANG_KANNADA 0x4b # endif # ifndef LANG_KANURI # define LANG_KANURI 0x71 # endif # ifndef LANG_KASHMIRI # define LANG_KASHMIRI 0x60 # endif # ifndef LANG_KAZAK # define LANG_KAZAK 0x3f # endif # ifndef LANG_KICHE # define LANG_KICHE 0x86 # endif # ifndef LANG_KINYARWANDA # define LANG_KINYARWANDA 0x87 # endif # ifndef LANG_KONKANI # define LANG_KONKANI 0x57 # endif # ifndef LANG_KYRGYZ # define LANG_KYRGYZ 0x40 # endif # ifndef LANG_LAO # define LANG_LAO 0x54 # endif # ifndef LANG_LATIN # define LANG_LATIN 0x76 # endif # ifndef LANG_LATVIAN # define LANG_LATVIAN 0x26 # endif # ifndef LANG_LITHUANIAN # define LANG_LITHUANIAN 0x27 # endif # ifndef LANG_LUXEMBOURGISH # define LANG_LUXEMBOURGISH 0x6e # endif # ifndef LANG_MACEDONIAN # define LANG_MACEDONIAN 0x2f # endif # ifndef LANG_MALAY # define LANG_MALAY 0x3e # endif # ifndef LANG_MALAYALAM # define LANG_MALAYALAM 0x4c # endif # ifndef LANG_MALTESE # define LANG_MALTESE 0x3a # endif # ifndef LANG_MANIPURI # define LANG_MANIPURI 0x58 # endif # ifndef LANG_MAORI # define LANG_MAORI 0x81 # endif # ifndef LANG_MAPUDUNGUN # define LANG_MAPUDUNGUN 0x7a # endif # ifndef LANG_MARATHI # define LANG_MARATHI 0x4e # endif # ifndef LANG_MOHAWK # define LANG_MOHAWK 0x7c # endif # ifndef LANG_MONGOLIAN # define LANG_MONGOLIAN 0x50 # endif # ifndef LANG_NEPALI # define LANG_NEPALI 0x61 # endif # ifndef LANG_OCCITAN # define LANG_OCCITAN 0x82 # endif # ifndef LANG_ORIYA # define LANG_ORIYA 0x48 # endif # ifndef LANG_OROMO # define LANG_OROMO 0x72 # endif # ifndef LANG_PAPIAMENTU # define LANG_PAPIAMENTU 0x79 # endif # ifndef LANG_PASHTO # define LANG_PASHTO 0x63 # endif # ifndef LANG_PUNJABI # define LANG_PUNJABI 0x46 # endif # ifndef LANG_QUECHUA # define LANG_QUECHUA 0x6b # endif # ifndef LANG_ROMANSH # define LANG_ROMANSH 0x17 # endif # ifndef LANG_SAMI # define LANG_SAMI 0x3b # endif # ifndef LANG_SANSKRIT # define LANG_SANSKRIT 0x4f # endif # ifndef LANG_SCOTTISH_GAELIC # define LANG_SCOTTISH_GAELIC 0x91 # endif # ifndef LANG_SERBIAN # define LANG_SERBIAN 0x1a # endif # ifndef LANG_SINDHI # define LANG_SINDHI 0x59 # endif # ifndef LANG_SINHALESE # define LANG_SINHALESE 0x5b # endif # ifndef LANG_SLOVAK # define LANG_SLOVAK 0x1b # endif # ifndef LANG_SOMALI # define LANG_SOMALI 0x77 # endif # ifndef LANG_SORBIAN # define LANG_SORBIAN 0x2e # endif # ifndef LANG_SOTHO # define LANG_SOTHO 0x6c # endif # ifndef LANG_SUTU # define LANG_SUTU 0x30 # endif # ifndef LANG_SWAHILI # define LANG_SWAHILI 0x41 # endif # ifndef LANG_SYRIAC # define LANG_SYRIAC 0x5a # endif # ifndef LANG_TAGALOG # define LANG_TAGALOG 0x64 # endif # ifndef LANG_TAJIK # define LANG_TAJIK 0x28 # endif # ifndef LANG_TAMAZIGHT # define LANG_TAMAZIGHT 0x5f # endif # ifndef LANG_TAMIL # define LANG_TAMIL 0x49 # endif # ifndef LANG_TATAR # define LANG_TATAR 0x44 # endif # ifndef LANG_TELUGU # define LANG_TELUGU 0x4a # endif # ifndef LANG_THAI # define LANG_THAI 0x1e # endif # ifndef LANG_TIBETAN # define LANG_TIBETAN 0x51 # endif # ifndef LANG_TIGRINYA # define LANG_TIGRINYA 0x73 # endif # ifndef LANG_TSONGA # define LANG_TSONGA 0x31 # endif # ifndef LANG_TSWANA # define LANG_TSWANA 0x32 # endif # ifndef LANG_TURKMEN # define LANG_TURKMEN 0x42 # endif # ifndef LANG_UIGHUR # define LANG_UIGHUR 0x80 # endif # ifndef LANG_UKRAINIAN # define LANG_UKRAINIAN 0x22 # endif # ifndef LANG_URDU # define LANG_URDU 0x20 # endif # ifndef LANG_UZBEK # define LANG_UZBEK 0x43 # endif # ifndef LANG_VENDA # define LANG_VENDA 0x33 # endif # ifndef LANG_VIETNAMESE # define LANG_VIETNAMESE 0x2a # endif # ifndef LANG_WELSH # define LANG_WELSH 0x52 # endif # ifndef LANG_WOLOF # define LANG_WOLOF 0x88 # endif # ifndef LANG_XHOSA # define LANG_XHOSA 0x34 # endif # ifndef LANG_YAKUT # define LANG_YAKUT 0x85 # endif # ifndef LANG_YI # define LANG_YI 0x78 # endif # ifndef LANG_YIDDISH # define LANG_YIDDISH 0x3d # endif # ifndef LANG_YORUBA # define LANG_YORUBA 0x6a # endif # ifndef LANG_ZULU # define LANG_ZULU 0x35 # endif # ifndef SUBLANG_AFRIKAANS_SOUTH_AFRICA # define SUBLANG_AFRIKAANS_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_ALBANIAN_ALBANIA # define SUBLANG_ALBANIAN_ALBANIA 0x01 # endif # ifndef SUBLANG_ALSATIAN_FRANCE # define SUBLANG_ALSATIAN_FRANCE 0x01 # endif # ifndef SUBLANG_AMHARIC_ETHIOPIA # define SUBLANG_AMHARIC_ETHIOPIA 0x01 # endif # ifndef SUBLANG_ARABIC_SAUDI_ARABIA # define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 # endif # ifndef SUBLANG_ARABIC_IRAQ # define SUBLANG_ARABIC_IRAQ 0x02 # endif # ifndef SUBLANG_ARABIC_EGYPT # define SUBLANG_ARABIC_EGYPT 0x03 # endif # ifndef SUBLANG_ARABIC_LIBYA # define SUBLANG_ARABIC_LIBYA 0x04 # endif # ifndef SUBLANG_ARABIC_ALGERIA # define SUBLANG_ARABIC_ALGERIA 0x05 # endif # ifndef SUBLANG_ARABIC_MOROCCO # define SUBLANG_ARABIC_MOROCCO 0x06 # endif # ifndef SUBLANG_ARABIC_TUNISIA # define SUBLANG_ARABIC_TUNISIA 0x07 # endif # ifndef SUBLANG_ARABIC_OMAN # define SUBLANG_ARABIC_OMAN 0x08 # endif # ifndef SUBLANG_ARABIC_YEMEN # define SUBLANG_ARABIC_YEMEN 0x09 # endif # ifndef SUBLANG_ARABIC_SYRIA # define SUBLANG_ARABIC_SYRIA 0x0a # endif # ifndef SUBLANG_ARABIC_JORDAN # define SUBLANG_ARABIC_JORDAN 0x0b # endif # ifndef SUBLANG_ARABIC_LEBANON # define SUBLANG_ARABIC_LEBANON 0x0c # endif # ifndef SUBLANG_ARABIC_KUWAIT # define SUBLANG_ARABIC_KUWAIT 0x0d # endif # ifndef SUBLANG_ARABIC_UAE # define SUBLANG_ARABIC_UAE 0x0e # endif # ifndef SUBLANG_ARABIC_BAHRAIN # define SUBLANG_ARABIC_BAHRAIN 0x0f # endif # ifndef SUBLANG_ARABIC_QATAR # define SUBLANG_ARABIC_QATAR 0x10 # endif # ifndef SUBLANG_ARMENIAN_ARMENIA # define SUBLANG_ARMENIAN_ARMENIA 0x01 # endif # ifndef SUBLANG_ASSAMESE_INDIA # define SUBLANG_ASSAMESE_INDIA 0x01 # endif # ifndef SUBLANG_AZERI_LATIN # define SUBLANG_AZERI_LATIN 0x01 # endif # ifndef SUBLANG_AZERI_CYRILLIC # define SUBLANG_AZERI_CYRILLIC 0x02 # endif # ifndef SUBLANG_BASHKIR_RUSSIA # define SUBLANG_BASHKIR_RUSSIA 0x01 # endif # ifndef SUBLANG_BASQUE_BASQUE # define SUBLANG_BASQUE_BASQUE 0x01 # endif # ifndef SUBLANG_BELARUSIAN_BELARUS # define SUBLANG_BELARUSIAN_BELARUS 0x01 # endif # ifndef SUBLANG_BENGALI_INDIA # define SUBLANG_BENGALI_INDIA 0x01 # endif # ifndef SUBLANG_BENGALI_BANGLADESH # define SUBLANG_BENGALI_BANGLADESH 0x02 # endif # ifndef SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN # define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN 0x05 # endif # ifndef SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC # define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x08 # endif # ifndef SUBLANG_BRETON_FRANCE # define SUBLANG_BRETON_FRANCE 0x01 # endif # ifndef SUBLANG_BULGARIAN_BULGARIA # define SUBLANG_BULGARIAN_BULGARIA 0x01 # endif # ifndef SUBLANG_CAMBODIAN_CAMBODIA # define SUBLANG_CAMBODIAN_CAMBODIA 0x01 # endif # ifndef SUBLANG_CATALAN_SPAIN # define SUBLANG_CATALAN_SPAIN 0x01 # endif # ifndef SUBLANG_CORSICAN_FRANCE # define SUBLANG_CORSICAN_FRANCE 0x01 # endif # ifndef SUBLANG_CROATIAN_CROATIA # define SUBLANG_CROATIAN_CROATIA 0x01 # endif # ifndef SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN # define SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN 0x04 # endif # ifndef SUBLANG_CHINESE_MACAU # define SUBLANG_CHINESE_MACAU 0x05 # endif # ifndef SUBLANG_CZECH_CZECH_REPUBLIC # define SUBLANG_CZECH_CZECH_REPUBLIC 0x01 # endif # ifndef SUBLANG_DANISH_DENMARK # define SUBLANG_DANISH_DENMARK 0x01 # endif # ifndef SUBLANG_DARI_AFGHANISTAN # define SUBLANG_DARI_AFGHANISTAN 0x01 # endif # ifndef SUBLANG_DIVEHI_MALDIVES # define SUBLANG_DIVEHI_MALDIVES 0x01 # endif # ifndef SUBLANG_DUTCH_SURINAM # define SUBLANG_DUTCH_SURINAM 0x03 # endif # ifndef SUBLANG_ENGLISH_SOUTH_AFRICA # define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 # endif # ifndef SUBLANG_ENGLISH_JAMAICA # define SUBLANG_ENGLISH_JAMAICA 0x08 # endif # ifndef SUBLANG_ENGLISH_CARIBBEAN # define SUBLANG_ENGLISH_CARIBBEAN 0x09 # endif # ifndef SUBLANG_ENGLISH_BELIZE # define SUBLANG_ENGLISH_BELIZE 0x0a # endif # ifndef SUBLANG_ENGLISH_TRINIDAD # define SUBLANG_ENGLISH_TRINIDAD 0x0b # endif # ifndef SUBLANG_ENGLISH_ZIMBABWE # define SUBLANG_ENGLISH_ZIMBABWE 0x0c # endif # ifndef SUBLANG_ENGLISH_PHILIPPINES # define SUBLANG_ENGLISH_PHILIPPINES 0x0d # endif # ifndef SUBLANG_ENGLISH_INDONESIA # define SUBLANG_ENGLISH_INDONESIA 0x0e # endif # ifndef SUBLANG_ENGLISH_HONGKONG # define SUBLANG_ENGLISH_HONGKONG 0x0f # endif # ifndef SUBLANG_ENGLISH_INDIA # define SUBLANG_ENGLISH_INDIA 0x10 # endif # ifndef SUBLANG_ENGLISH_MALAYSIA # define SUBLANG_ENGLISH_MALAYSIA 0x11 # endif # ifndef SUBLANG_ENGLISH_SINGAPORE # define SUBLANG_ENGLISH_SINGAPORE 0x12 # endif # ifndef SUBLANG_ESTONIAN_ESTONIA # define SUBLANG_ESTONIAN_ESTONIA 0x01 # endif # ifndef SUBLANG_FAEROESE_FAROE_ISLANDS # define SUBLANG_FAEROESE_FAROE_ISLANDS 0x01 # endif # ifndef SUBLANG_FARSI_IRAN # define SUBLANG_FARSI_IRAN 0x01 # endif # ifndef SUBLANG_FINNISH_FINLAND # define SUBLANG_FINNISH_FINLAND 0x01 # endif # ifndef SUBLANG_FRENCH_LUXEMBOURG # define SUBLANG_FRENCH_LUXEMBOURG 0x05 # endif # ifndef SUBLANG_FRENCH_MONACO # define SUBLANG_FRENCH_MONACO 0x06 # endif # ifndef SUBLANG_FRENCH_WESTINDIES # define SUBLANG_FRENCH_WESTINDIES 0x07 # endif # ifndef SUBLANG_FRENCH_REUNION # define SUBLANG_FRENCH_REUNION 0x08 # endif # ifndef SUBLANG_FRENCH_CONGO # define SUBLANG_FRENCH_CONGO 0x09 # endif # ifndef SUBLANG_FRENCH_SENEGAL # define SUBLANG_FRENCH_SENEGAL 0x0a # endif # ifndef SUBLANG_FRENCH_CAMEROON # define SUBLANG_FRENCH_CAMEROON 0x0b # endif # ifndef SUBLANG_FRENCH_COTEDIVOIRE # define SUBLANG_FRENCH_COTEDIVOIRE 0x0c # endif # ifndef SUBLANG_FRENCH_MALI # define SUBLANG_FRENCH_MALI 0x0d # endif # ifndef SUBLANG_FRENCH_MOROCCO # define SUBLANG_FRENCH_MOROCCO 0x0e # endif # ifndef SUBLANG_FRENCH_HAITI # define SUBLANG_FRENCH_HAITI 0x0f # endif # ifndef SUBLANG_FRISIAN_NETHERLANDS # define SUBLANG_FRISIAN_NETHERLANDS 0x01 # endif # ifndef SUBLANG_GALICIAN_SPAIN # define SUBLANG_GALICIAN_SPAIN 0x01 # endif # ifndef SUBLANG_GEORGIAN_GEORGIA # define SUBLANG_GEORGIAN_GEORGIA 0x01 # endif # ifndef SUBLANG_GERMAN_LUXEMBOURG # define SUBLANG_GERMAN_LUXEMBOURG 0x04 # endif # ifndef SUBLANG_GERMAN_LIECHTENSTEIN # define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 # endif # ifndef SUBLANG_GREEK_GREECE # define SUBLANG_GREEK_GREECE 0x01 # endif # ifndef SUBLANG_GREENLANDIC_GREENLAND # define SUBLANG_GREENLANDIC_GREENLAND 0x01 # endif # ifndef SUBLANG_GUJARATI_INDIA # define SUBLANG_GUJARATI_INDIA 0x01 # endif # ifndef SUBLANG_HAUSA_NIGERIA_LATIN # define SUBLANG_HAUSA_NIGERIA_LATIN 0x01 # endif # ifndef SUBLANG_HEBREW_ISRAEL # define SUBLANG_HEBREW_ISRAEL 0x01 # endif # ifndef SUBLANG_HINDI_INDIA # define SUBLANG_HINDI_INDIA 0x01 # endif # ifndef SUBLANG_HUNGARIAN_HUNGARY # define SUBLANG_HUNGARIAN_HUNGARY 0x01 # endif # ifndef SUBLANG_ICELANDIC_ICELAND # define SUBLANG_ICELANDIC_ICELAND 0x01 # endif # ifndef SUBLANG_IGBO_NIGERIA # define SUBLANG_IGBO_NIGERIA 0x01 # endif # ifndef SUBLANG_INDONESIAN_INDONESIA # define SUBLANG_INDONESIAN_INDONESIA 0x01 # endif # ifndef SUBLANG_INUKTITUT_CANADA # define SUBLANG_INUKTITUT_CANADA 0x01 # endif # undef SUBLANG_INUKTITUT_CANADA_LATIN # define SUBLANG_INUKTITUT_CANADA_LATIN 0x02 # undef SUBLANG_IRISH_IRELAND # define SUBLANG_IRISH_IRELAND 0x02 # ifndef SUBLANG_JAPANESE_JAPAN # define SUBLANG_JAPANESE_JAPAN 0x01 # endif # ifndef SUBLANG_KANNADA_INDIA # define SUBLANG_KANNADA_INDIA 0x01 # endif # ifndef SUBLANG_KASHMIRI_INDIA # define SUBLANG_KASHMIRI_INDIA 0x02 # endif # ifndef SUBLANG_KAZAK_KAZAKHSTAN # define SUBLANG_KAZAK_KAZAKHSTAN 0x01 # endif # ifndef SUBLANG_KICHE_GUATEMALA # define SUBLANG_KICHE_GUATEMALA 0x01 # endif # ifndef SUBLANG_KINYARWANDA_RWANDA # define SUBLANG_KINYARWANDA_RWANDA 0x01 # endif # ifndef SUBLANG_KONKANI_INDIA # define SUBLANG_KONKANI_INDIA 0x01 # endif # ifndef SUBLANG_KYRGYZ_KYRGYZSTAN # define SUBLANG_KYRGYZ_KYRGYZSTAN 0x01 # endif # ifndef SUBLANG_LAO_LAOS # define SUBLANG_LAO_LAOS 0x01 # endif # ifndef SUBLANG_LATVIAN_LATVIA # define SUBLANG_LATVIAN_LATVIA 0x01 # endif # ifndef SUBLANG_LITHUANIAN_LITHUANIA # define SUBLANG_LITHUANIAN_LITHUANIA 0x01 # endif # undef SUBLANG_LOWER_SORBIAN_GERMANY # define SUBLANG_LOWER_SORBIAN_GERMANY 0x02 # ifndef SUBLANG_LUXEMBOURGISH_LUXEMBOURG # define SUBLANG_LUXEMBOURGISH_LUXEMBOURG 0x01 # endif # ifndef SUBLANG_MACEDONIAN_MACEDONIA # define SUBLANG_MACEDONIAN_MACEDONIA 0x01 # endif # ifndef SUBLANG_MALAY_MALAYSIA # define SUBLANG_MALAY_MALAYSIA 0x01 # endif # ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM # define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 # endif # ifndef SUBLANG_MALAYALAM_INDIA # define SUBLANG_MALAYALAM_INDIA 0x01 # endif # ifndef SUBLANG_MALTESE_MALTA # define SUBLANG_MALTESE_MALTA 0x01 # endif # ifndef SUBLANG_MAORI_NEW_ZEALAND # define SUBLANG_MAORI_NEW_ZEALAND 0x01 # endif # ifndef SUBLANG_MAPUDUNGUN_CHILE # define SUBLANG_MAPUDUNGUN_CHILE 0x01 # endif # ifndef SUBLANG_MARATHI_INDIA # define SUBLANG_MARATHI_INDIA 0x01 # endif # ifndef SUBLANG_MOHAWK_CANADA # define SUBLANG_MOHAWK_CANADA 0x01 # endif # ifndef SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA # define SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA 0x01 # endif # ifndef SUBLANG_MONGOLIAN_PRC # define SUBLANG_MONGOLIAN_PRC 0x02 # endif # ifndef SUBLANG_NEPALI_NEPAL # define SUBLANG_NEPALI_NEPAL 0x01 # endif # ifndef SUBLANG_NEPALI_INDIA # define SUBLANG_NEPALI_INDIA 0x02 # endif # ifndef SUBLANG_OCCITAN_FRANCE # define SUBLANG_OCCITAN_FRANCE 0x01 # endif # ifndef SUBLANG_ORIYA_INDIA # define SUBLANG_ORIYA_INDIA 0x01 # endif # ifndef SUBLANG_PASHTO_AFGHANISTAN # define SUBLANG_PASHTO_AFGHANISTAN 0x01 # endif # ifndef SUBLANG_POLISH_POLAND # define SUBLANG_POLISH_POLAND 0x01 # endif # ifndef SUBLANG_PUNJABI_INDIA # define SUBLANG_PUNJABI_INDIA 0x01 # endif # ifndef SUBLANG_PUNJABI_PAKISTAN # define SUBLANG_PUNJABI_PAKISTAN 0x02 # endif # ifndef SUBLANG_QUECHUA_BOLIVIA # define SUBLANG_QUECHUA_BOLIVIA 0x01 # endif # ifndef SUBLANG_QUECHUA_ECUADOR # define SUBLANG_QUECHUA_ECUADOR 0x02 # endif # ifndef SUBLANG_QUECHUA_PERU # define SUBLANG_QUECHUA_PERU 0x03 # endif # ifndef SUBLANG_ROMANIAN_ROMANIA # define SUBLANG_ROMANIAN_ROMANIA 0x01 # endif # ifndef SUBLANG_ROMANIAN_MOLDOVA # define SUBLANG_ROMANIAN_MOLDOVA 0x02 # endif # ifndef SUBLANG_ROMANSH_SWITZERLAND # define SUBLANG_ROMANSH_SWITZERLAND 0x01 # endif # ifndef SUBLANG_RUSSIAN_RUSSIA # define SUBLANG_RUSSIAN_RUSSIA 0x01 # endif # ifndef SUBLANG_RUSSIAN_MOLDAVIA # define SUBLANG_RUSSIAN_MOLDAVIA 0x02 # endif # ifndef SUBLANG_SAMI_NORTHERN_NORWAY # define SUBLANG_SAMI_NORTHERN_NORWAY 0x01 # endif # ifndef SUBLANG_SAMI_NORTHERN_SWEDEN # define SUBLANG_SAMI_NORTHERN_SWEDEN 0x02 # endif # ifndef SUBLANG_SAMI_NORTHERN_FINLAND # define SUBLANG_SAMI_NORTHERN_FINLAND 0x03 # endif # ifndef SUBLANG_SAMI_LULE_NORWAY # define SUBLANG_SAMI_LULE_NORWAY 0x04 # endif # ifndef SUBLANG_SAMI_LULE_SWEDEN # define SUBLANG_SAMI_LULE_SWEDEN 0x05 # endif # ifndef SUBLANG_SAMI_SOUTHERN_NORWAY # define SUBLANG_SAMI_SOUTHERN_NORWAY 0x06 # endif # ifndef SUBLANG_SAMI_SOUTHERN_SWEDEN # define SUBLANG_SAMI_SOUTHERN_SWEDEN 0x07 # endif # undef SUBLANG_SAMI_SKOLT_FINLAND # define SUBLANG_SAMI_SKOLT_FINLAND 0x08 # undef SUBLANG_SAMI_INARI_FINLAND # define SUBLANG_SAMI_INARI_FINLAND 0x09 # ifndef SUBLANG_SANSKRIT_INDIA # define SUBLANG_SANSKRIT_INDIA 0x01 # endif # ifndef SUBLANG_SERBIAN_LATIN # define SUBLANG_SERBIAN_LATIN 0x02 # endif # ifndef SUBLANG_SERBIAN_CYRILLIC # define SUBLANG_SERBIAN_CYRILLIC 0x03 # endif # ifndef SUBLANG_SINDHI_INDIA # define SUBLANG_SINDHI_INDIA 0x01 # endif # undef SUBLANG_SINDHI_PAKISTAN # define SUBLANG_SINDHI_PAKISTAN 0x02 # ifndef SUBLANG_SINDHI_AFGHANISTAN # define SUBLANG_SINDHI_AFGHANISTAN 0x02 # endif # ifndef SUBLANG_SINHALESE_SRI_LANKA # define SUBLANG_SINHALESE_SRI_LANKA 0x01 # endif # ifndef SUBLANG_SLOVAK_SLOVAKIA # define SUBLANG_SLOVAK_SLOVAKIA 0x01 # endif # ifndef SUBLANG_SLOVENIAN_SLOVENIA # define SUBLANG_SLOVENIAN_SLOVENIA 0x01 # endif # ifndef SUBLANG_SOTHO_SOUTH_AFRICA # define SUBLANG_SOTHO_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_SPANISH_GUATEMALA # define SUBLANG_SPANISH_GUATEMALA 0x04 # endif # ifndef SUBLANG_SPANISH_COSTA_RICA # define SUBLANG_SPANISH_COSTA_RICA 0x05 # endif # ifndef SUBLANG_SPANISH_PANAMA # define SUBLANG_SPANISH_PANAMA 0x06 # endif # ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC # define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 # endif # ifndef SUBLANG_SPANISH_VENEZUELA # define SUBLANG_SPANISH_VENEZUELA 0x08 # endif # ifndef SUBLANG_SPANISH_COLOMBIA # define SUBLANG_SPANISH_COLOMBIA 0x09 # endif # ifndef SUBLANG_SPANISH_PERU # define SUBLANG_SPANISH_PERU 0x0a # endif # ifndef SUBLANG_SPANISH_ARGENTINA # define SUBLANG_SPANISH_ARGENTINA 0x0b # endif # ifndef SUBLANG_SPANISH_ECUADOR # define SUBLANG_SPANISH_ECUADOR 0x0c # endif # ifndef SUBLANG_SPANISH_CHILE # define SUBLANG_SPANISH_CHILE 0x0d # endif # ifndef SUBLANG_SPANISH_URUGUAY # define SUBLANG_SPANISH_URUGUAY 0x0e # endif # ifndef SUBLANG_SPANISH_PARAGUAY # define SUBLANG_SPANISH_PARAGUAY 0x0f # endif # ifndef SUBLANG_SPANISH_BOLIVIA # define SUBLANG_SPANISH_BOLIVIA 0x10 # endif # ifndef SUBLANG_SPANISH_EL_SALVADOR # define SUBLANG_SPANISH_EL_SALVADOR 0x11 # endif # ifndef SUBLANG_SPANISH_HONDURAS # define SUBLANG_SPANISH_HONDURAS 0x12 # endif # ifndef SUBLANG_SPANISH_NICARAGUA # define SUBLANG_SPANISH_NICARAGUA 0x13 # endif # ifndef SUBLANG_SPANISH_PUERTO_RICO # define SUBLANG_SPANISH_PUERTO_RICO 0x14 # endif # ifndef SUBLANG_SPANISH_US # define SUBLANG_SPANISH_US 0x15 # endif # ifndef SUBLANG_SWAHILI_KENYA # define SUBLANG_SWAHILI_KENYA 0x01 # endif # ifndef SUBLANG_SWEDISH_SWEDEN # define SUBLANG_SWEDISH_SWEDEN 0x01 # endif # ifndef SUBLANG_SWEDISH_FINLAND # define SUBLANG_SWEDISH_FINLAND 0x02 # endif # ifndef SUBLANG_SYRIAC_SYRIA # define SUBLANG_SYRIAC_SYRIA 0x01 # endif # ifndef SUBLANG_TAGALOG_PHILIPPINES # define SUBLANG_TAGALOG_PHILIPPINES 0x01 # endif # ifndef SUBLANG_TAJIK_TAJIKISTAN # define SUBLANG_TAJIK_TAJIKISTAN 0x01 # endif # ifndef SUBLANG_TAMAZIGHT_ARABIC # define SUBLANG_TAMAZIGHT_ARABIC 0x01 # endif # ifndef SUBLANG_TAMAZIGHT_ALGERIA_LATIN # define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02 # endif # ifndef SUBLANG_TAMIL_INDIA # define SUBLANG_TAMIL_INDIA 0x01 # endif # ifndef SUBLANG_TATAR_RUSSIA # define SUBLANG_TATAR_RUSSIA 0x01 # endif # ifndef SUBLANG_TELUGU_INDIA # define SUBLANG_TELUGU_INDIA 0x01 # endif # ifndef SUBLANG_THAI_THAILAND # define SUBLANG_THAI_THAILAND 0x01 # endif # ifndef SUBLANG_TIBETAN_PRC # define SUBLANG_TIBETAN_PRC 0x01 # endif # undef SUBLANG_TIBETAN_BHUTAN # define SUBLANG_TIBETAN_BHUTAN 0x02 # ifndef SUBLANG_TIGRINYA_ETHIOPIA # define SUBLANG_TIGRINYA_ETHIOPIA 0x01 # endif # ifndef SUBLANG_TIGRINYA_ERITREA # define SUBLANG_TIGRINYA_ERITREA 0x02 # endif # ifndef SUBLANG_TSWANA_SOUTH_AFRICA # define SUBLANG_TSWANA_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_TURKISH_TURKEY # define SUBLANG_TURKISH_TURKEY 0x01 # endif # ifndef SUBLANG_TURKMEN_TURKMENISTAN # define SUBLANG_TURKMEN_TURKMENISTAN 0x01 # endif # ifndef SUBLANG_UIGHUR_PRC # define SUBLANG_UIGHUR_PRC 0x01 # endif # ifndef SUBLANG_UKRAINIAN_UKRAINE # define SUBLANG_UKRAINIAN_UKRAINE 0x01 # endif # ifndef SUBLANG_UPPER_SORBIAN_GERMANY # define SUBLANG_UPPER_SORBIAN_GERMANY 0x01 # endif # ifndef SUBLANG_URDU_PAKISTAN # define SUBLANG_URDU_PAKISTAN 0x01 # endif # ifndef SUBLANG_URDU_INDIA # define SUBLANG_URDU_INDIA 0x02 # endif # ifndef SUBLANG_UZBEK_LATIN # define SUBLANG_UZBEK_LATIN 0x01 # endif # ifndef SUBLANG_UZBEK_CYRILLIC # define SUBLANG_UZBEK_CYRILLIC 0x02 # endif # ifndef SUBLANG_VIETNAMESE_VIETNAM # define SUBLANG_VIETNAMESE_VIETNAM 0x01 # endif # ifndef SUBLANG_WELSH_UNITED_KINGDOM # define SUBLANG_WELSH_UNITED_KINGDOM 0x01 # endif # ifndef SUBLANG_WOLOF_SENEGAL # define SUBLANG_WOLOF_SENEGAL 0x01 # endif # ifndef SUBLANG_XHOSA_SOUTH_AFRICA # define SUBLANG_XHOSA_SOUTH_AFRICA 0x01 # endif # ifndef SUBLANG_YAKUT_RUSSIA # define SUBLANG_YAKUT_RUSSIA 0x01 # endif # ifndef SUBLANG_YI_PRC # define SUBLANG_YI_PRC 0x01 # endif # ifndef SUBLANG_YORUBA_NIGERIA # define SUBLANG_YORUBA_NIGERIA 0x01 # endif # ifndef SUBLANG_ZULU_SOUTH_AFRICA # define SUBLANG_ZULU_SOUTH_AFRICA 0x01 # endif /* GetLocaleInfoA operations. */ # ifndef LOCALE_SNAME # define LOCALE_SNAME 0x5c # endif # ifndef LOCALE_NAME_MAX_LENGTH # define LOCALE_NAME_MAX_LENGTH 85 # endif /* Don't assume that UNICODE is not defined. */ # undef GetLocaleInfo # define GetLocaleInfo GetLocaleInfoA # undef EnumSystemLocales # define EnumSystemLocales EnumSystemLocalesA #endif /* We want to use the system's setlocale() function here, not the gnulib override. */ #undef setlocale #if HAVE_CFPREFERENCESCOPYAPPVALUE /* Mac OS X 10.4 or newer */ /* Canonicalize a Mac OS X locale name to a Unix locale name. NAME is a sufficiently large buffer. On input, it contains the Mac OS X locale name. On output, it contains the Unix locale name. */ # if !defined IN_LIBINTL static # endif void gl_locale_name_canonicalize (char *name) { /* This conversion is based on a posting by Deborah GoldSmith on 2005-03-08, https://lists.apple.com/archives/carbon-dev/2005/Mar/msg00293.html */ /* Convert legacy (NeXTstep inherited) English names to Unix (ISO 639 and ISO 3166) names. Prior to Mac OS X 10.3, there is no API for doing this. Therefore we do it ourselves, using a table based on the results of the Mac OS X 10.3.8 function CFLocaleCreateCanonicalLocaleIdentifierFromString(). */ typedef struct { const char legacy[21+1]; const char unixy[5+1]; } legacy_entry; static const legacy_entry legacy_table[] = { { "Afrikaans", "af" }, { "Albanian", "sq" }, { "Amharic", "am" }, { "Arabic", "ar" }, { "Armenian", "hy" }, { "Assamese", "as" }, { "Aymara", "ay" }, { "Azerbaijani", "az" }, { "Basque", "eu" }, { "Belarusian", "be" }, { "Belorussian", "be" }, { "Bengali", "bn" }, { "Brazilian Portugese", "pt_BR" }, { "Brazilian Portuguese", "pt_BR" }, { "Breton", "br" }, { "Bulgarian", "bg" }, { "Burmese", "my" }, { "Byelorussian", "be" }, { "Catalan", "ca" }, { "Chewa", "ny" }, { "Chichewa", "ny" }, { "Chinese", "zh" }, { "Chinese, Simplified", "zh_CN" }, { "Chinese, Traditional", "zh_TW" }, { "Chinese, Tradtional", "zh_TW" }, { "Croatian", "hr" }, { "Czech", "cs" }, { "Danish", "da" }, { "Dutch", "nl" }, { "Dzongkha", "dz" }, { "English", "en" }, { "Esperanto", "eo" }, { "Estonian", "et" }, { "Faroese", "fo" }, { "Farsi", "fa" }, { "Finnish", "fi" }, { "Flemish", "nl_BE" }, { "French", "fr" }, { "Galician", "gl" }, { "Gallegan", "gl" }, { "Georgian", "ka" }, { "German", "de" }, { "Greek", "el" }, { "Greenlandic", "kl" }, { "Guarani", "gn" }, { "Gujarati", "gu" }, { "Hawaiian", "haw" }, /* Yes, "haw", not "cpe". */ { "Hebrew", "he" }, { "Hindi", "hi" }, { "Hungarian", "hu" }, { "Icelandic", "is" }, { "Indonesian", "id" }, { "Inuktitut", "iu" }, { "Irish", "ga" }, { "Italian", "it" }, { "Japanese", "ja" }, { "Javanese", "jv" }, { "Kalaallisut", "kl" }, { "Kannada", "kn" }, { "Kashmiri", "ks" }, { "Kazakh", "kk" }, { "Khmer", "km" }, { "Kinyarwanda", "rw" }, { "Kirghiz", "ky" }, { "Korean", "ko" }, { "Kurdish", "ku" }, { "Latin", "la" }, { "Latvian", "lv" }, { "Lithuanian", "lt" }, { "Macedonian", "mk" }, { "Malagasy", "mg" }, { "Malay", "ms" }, { "Malayalam", "ml" }, { "Maltese", "mt" }, { "Manx", "gv" }, { "Marathi", "mr" }, { "Moldavian", "mo" }, { "Mongolian", "mn" }, { "Nepali", "ne" }, { "Norwegian", "nb" }, /* Yes, "nb", not the obsolete "no". */ { "Nyanja", "ny" }, { "Nynorsk", "nn" }, { "Oriya", "or" }, { "Oromo", "om" }, { "Panjabi", "pa" }, { "Pashto", "ps" }, { "Persian", "fa" }, { "Polish", "pl" }, { "Portuguese", "pt" }, { "Portuguese, Brazilian", "pt_BR" }, { "Punjabi", "pa" }, { "Pushto", "ps" }, { "Quechua", "qu" }, { "Romanian", "ro" }, { "Ruanda", "rw" }, { "Rundi", "rn" }, { "Russian", "ru" }, { "Sami", "se_NO" }, /* Not just "se". */ { "Sanskrit", "sa" }, { "Scottish", "gd" }, { "Serbian", "sr" }, { "Simplified Chinese", "zh_CN" }, { "Sindhi", "sd" }, { "Sinhalese", "si" }, { "Slovak", "sk" }, { "Slovenian", "sl" }, { "Somali", "so" }, { "Spanish", "es" }, { "Sundanese", "su" }, { "Swahili", "sw" }, { "Swedish", "sv" }, { "Tagalog", "tl" }, { "Tajik", "tg" }, { "Tajiki", "tg" }, { "Tamil", "ta" }, { "Tatar", "tt" }, { "Telugu", "te" }, { "Thai", "th" }, { "Tibetan", "bo" }, { "Tigrinya", "ti" }, { "Tongan", "to" }, { "Traditional Chinese", "zh_TW" }, { "Turkish", "tr" }, { "Turkmen", "tk" }, { "Uighur", "ug" }, { "Ukrainian", "uk" }, { "Urdu", "ur" }, { "Uzbek", "uz" }, { "Vietnamese", "vi" }, { "Welsh", "cy" }, { "Yiddish", "yi" } }; /* Convert new-style locale names with language tags (ISO 639 and ISO 15924) to Unix (ISO 639 and ISO 3166) names. */ typedef struct { const char langtag[7+1]; const char unixy[12+1]; } langtag_entry; static const langtag_entry langtag_table[] = { /* Mac OS X has "az-Arab", "az-Cyrl", "az-Latn". The default script for az on Unix is Latin. */ { "az-Latn", "az" }, /* Mac OS X has "bs-Cyrl", "bs-Latn". The default script for bs on Unix is Latin. */ { "bs-Latn", "bs" }, /* Mac OS X has "ga-dots". Does not yet exist on Unix. */ { "ga-dots", "ga" }, /* Mac OS X has "kk-Cyrl". The default script for kk on Unix is Cyrillic. */ { "kk-Cyrl", "kk" }, /* Mac OS X has "mn-Cyrl", "mn-Mong". The default script for mn on Unix is Cyrillic. */ { "mn-Cyrl", "mn" }, /* Mac OS X has "ms-Arab", "ms-Latn". The default script for ms on Unix is Latin. */ { "ms-Latn", "ms" }, /* Mac OS X has "pa-Arab", "pa-Guru". Country codes are used to distinguish these on Unix. */ { "pa-Arab", "pa_PK" }, { "pa-Guru", "pa_IN" }, /* Mac OS X has "shi-Latn", "shi-Tfng". Does not yet exist on Unix. */ /* Mac OS X has "sr-Cyrl", "sr-Latn". The default script for sr on Unix is Cyrillic. */ { "sr-Cyrl", "sr" }, /* Mac OS X has "tg-Cyrl". The default script for tg on Unix is Cyrillic. */ { "tg-Cyrl", "tg" }, /* Mac OS X has "tk-Cyrl". The default script for tk on Unix is Cyrillic. */ { "tk-Cyrl", "tk" }, /* Mac OS X has "tt-Cyrl". The default script for tt on Unix is Cyrillic. */ { "tt-Cyrl", "tt" }, /* Mac OS X has "uz-Arab", "uz-Cyrl", "uz-Latn". The default script for uz on Unix is Latin. */ { "uz-Latn", "uz" }, /* Mac OS X has "vai-Latn", "vai-Vaii". Does not yet exist on Unix. */ /* Mac OS X has "yue-Hans", "yue-Hant". The default script for yue on Unix is Simplified Han. */ { "yue-Hans", "yue" }, /* Mac OS X has "zh-Hans", "zh-Hant". Country codes are used to distinguish these on Unix. */ { "zh-Hans", "zh_CN" }, { "zh-Hant", "zh_TW" } }; /* Convert script names (ISO 15924) to Unix conventions. See https://www.unicode.org/iso15924/iso15924-codes.html */ typedef struct { const char script[4+1]; const char unixy[9+1]; } script_entry; static const script_entry script_table[] = { { "Arab", "arabic" }, { "Cyrl", "cyrillic" }, { "Latn", "latin" }, { "Mong", "mongolian" } }; /* Step 1: Convert using legacy_table. */ if (name[0] >= 'A' && name[0] <= 'Z') { unsigned int i1, i2; i1 = 0; i2 = sizeof (legacy_table) / sizeof (legacy_entry); while (i2 - i1 > 1) { /* At this point we know that if name occurs in legacy_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const legacy_entry *p = &legacy_table[i]; if (strcmp (name, p->legacy) < 0) i2 = i; else i1 = i; } if (strcmp (name, legacy_table[i1].legacy) == 0) { strcpy (name, legacy_table[i1].unixy); return; } } /* Step 2: Convert using langtag_table and script_table. */ if (strlen (name) == 7 && name[2] == '-') { unsigned int i1, i2; i1 = 0; i2 = sizeof (langtag_table) / sizeof (langtag_entry); while (i2 - i1 > 1) { /* At this point we know that if name occurs in langtag_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const langtag_entry *p = &langtag_table[i]; if (strcmp (name, p->langtag) < 0) i2 = i; else i1 = i; } if (strcmp (name, langtag_table[i1].langtag) == 0) { strcpy (name, langtag_table[i1].unixy); return; } i1 = 0; i2 = sizeof (script_table) / sizeof (script_entry); while (i2 - i1 > 1) { /* At this point we know that if (name + 3) occurs in script_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const script_entry *p = &script_table[i]; if (strcmp (name + 3, p->script) < 0) i2 = i; else i1 = i; } if (strcmp (name + 3, script_table[i1].script) == 0) { name[2] = '@'; strcpy (name + 3, script_table[i1].unixy); return; } } /* Step 3: Convert new-style dash to Unix underscore. */ { char *p; for (p = name; *p != '\0'; p++) if (*p == '-') *p = '_'; } } #endif #if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Native Windows or Cygwin */ /* Canonicalize a Windows native locale name to a Unix locale name. NAME is a sufficiently large buffer. On input, it contains the Windows locale name. On output, it contains the Unix locale name. */ # if !defined IN_LIBINTL static # endif void gl_locale_name_canonicalize (char *name) { /* FIXME: This is probably incomplete: it does not handle "zh-Hans" and "zh-Hant". */ char *p; for (p = name; *p != '\0'; p++) if (*p == '-') { *p = '_'; p++; for (; *p != '\0'; p++) { if (*p >= 'a' && *p <= 'z') *p += 'A' - 'a'; if (*p == '-') { *p = '\0'; return; } } return; } } # if !defined IN_LIBINTL static # endif const char * gl_locale_name_from_win32_LANGID (LANGID langid) { int is_utf8 = (GetACP () == 65001); /* Activate the new code only when the GETTEXT_MUI environment variable is set, for the time being, since the new code is not well tested. */ if (getenv ("GETTEXT_MUI") != NULL) { static char namebuf[256]; /* Query the system's notion of locale name. On Windows95/98/ME, GetLocaleInfoA returns some incorrect results. But we don't need to support systems that are so old. */ if (GetLocaleInfoA (MAKELCID (langid, SORT_DEFAULT), LOCALE_SNAME, namebuf, sizeof (namebuf) - 1 - 6)) { /* Convert it to a Unix locale name. */ gl_locale_name_canonicalize (namebuf); if (is_utf8) strcat (namebuf, ".UTF-8"); return namebuf; } } /* Internet Explorer has an LCID to RFC3066 name mapping stored in HKEY_CLASSES_ROOT\Mime\Database\Rfc1766. But we better don't use that since IE's i18n subsystem is known to be inconsistent with the native Windows base (e.g. they have different character conversion facilities that produce different results). */ /* Use our own table. */ #define N(name) (is_utf8 ? name ".UTF-8" : name) #define NM(name,modifier) (is_utf8 ? name ".UTF-8" modifier : name modifier) { int primary, sub; /* Split into language and territory part. */ primary = PRIMARYLANGID (langid); sub = SUBLANGID (langid); /* Dispatch on language. See also https://www.unicode.org/unicode/onlinedat/languages.html . For details about languages, see https://www.ethnologue.com/ . */ switch (primary) { case LANG_AFRIKAANS: switch (sub) { case SUBLANG_AFRIKAANS_SOUTH_AFRICA: return N("af_ZA"); } return N("af"); case LANG_ALBANIAN: switch (sub) { case SUBLANG_ALBANIAN_ALBANIA: return N("sq_AL"); } return N("sq"); case LANG_ALSATIAN: switch (sub) { case SUBLANG_ALSATIAN_FRANCE: return N("gsw_FR"); } return N("gsw"); case LANG_AMHARIC: switch (sub) { case SUBLANG_AMHARIC_ETHIOPIA: return N("am_ET"); } return N("am"); case LANG_ARABIC: switch (sub) { case SUBLANG_ARABIC_SAUDI_ARABIA: return N("ar_SA"); case SUBLANG_ARABIC_IRAQ: return N("ar_IQ"); case SUBLANG_ARABIC_EGYPT: return N("ar_EG"); case SUBLANG_ARABIC_LIBYA: return N("ar_LY"); case SUBLANG_ARABIC_ALGERIA: return N("ar_DZ"); case SUBLANG_ARABIC_MOROCCO: return N("ar_MA"); case SUBLANG_ARABIC_TUNISIA: return N("ar_TN"); case SUBLANG_ARABIC_OMAN: return N("ar_OM"); case SUBLANG_ARABIC_YEMEN: return N("ar_YE"); case SUBLANG_ARABIC_SYRIA: return N("ar_SY"); case SUBLANG_ARABIC_JORDAN: return N("ar_JO"); case SUBLANG_ARABIC_LEBANON: return N("ar_LB"); case SUBLANG_ARABIC_KUWAIT: return N("ar_KW"); case SUBLANG_ARABIC_UAE: return N("ar_AE"); case SUBLANG_ARABIC_BAHRAIN: return N("ar_BH"); case SUBLANG_ARABIC_QATAR: return N("ar_QA"); } return N("ar"); case LANG_ARMENIAN: switch (sub) { case SUBLANG_ARMENIAN_ARMENIA: return N("hy_AM"); } return N("hy"); case LANG_ASSAMESE: switch (sub) { case SUBLANG_ASSAMESE_INDIA: return N("as_IN"); } return N("as"); case LANG_AZERI: switch (sub) { case 0x1e: return N("az"); case SUBLANG_AZERI_LATIN: return N("az_AZ"); case 0x1d: return NM("az","@cyrillic"); case SUBLANG_AZERI_CYRILLIC: return NM("az_AZ","@cyrillic"); } return N("az"); case LANG_BASHKIR: switch (sub) { case SUBLANG_BASHKIR_RUSSIA: return N("ba_RU"); } return N("ba"); case LANG_BASQUE: switch (sub) { case SUBLANG_BASQUE_BASQUE: return N("eu_ES"); } return N("eu"); /* Ambiguous: could be "eu_ES" or "eu_FR". */ case LANG_BELARUSIAN: switch (sub) { case SUBLANG_BELARUSIAN_BELARUS: return N("be_BY"); } return N("be"); case LANG_BENGALI: switch (sub) { case SUBLANG_BENGALI_INDIA: return N("bn_IN"); case SUBLANG_BENGALI_BANGLADESH: return N("bn_BD"); } return N("bn"); case LANG_BRETON: switch (sub) { case SUBLANG_BRETON_FRANCE: return N("br_FR"); } return N("br"); case LANG_BULGARIAN: switch (sub) { case SUBLANG_BULGARIAN_BULGARIA: return N("bg_BG"); } return N("bg"); case LANG_BURMESE: switch (sub) { case SUBLANG_DEFAULT: return N("my_MM"); } return N("my"); case LANG_CAMBODIAN: switch (sub) { case SUBLANG_CAMBODIAN_CAMBODIA: return N("km_KH"); } return N("km"); case LANG_CATALAN: switch (sub) { case SUBLANG_CATALAN_SPAIN: return N("ca_ES"); } return N("ca"); case LANG_CHEROKEE: switch (sub) { case SUBLANG_DEFAULT: return N("chr_US"); } return N("chr"); case LANG_CHINESE: switch (sub) { case SUBLANG_CHINESE_TRADITIONAL: case 0x1f: return N("zh_TW"); case SUBLANG_CHINESE_SIMPLIFIED: case 0x00: return N("zh_CN"); case SUBLANG_CHINESE_HONGKONG: return N("zh_HK"); /* traditional */ case SUBLANG_CHINESE_SINGAPORE: return N("zh_SG"); /* simplified */ case SUBLANG_CHINESE_MACAU: return N("zh_MO"); /* traditional */ } return N("zh"); case LANG_CORSICAN: switch (sub) { case SUBLANG_CORSICAN_FRANCE: return N("co_FR"); } return N("co"); case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN == LANG_BOSNIAN * What used to be called Serbo-Croatian * should really now be two separate * languages because of political reasons. * (Says tml, who knows nothing about Serbian * or Croatian.) * (I can feel those flames coming already.) */ switch (sub) { /* Croatian */ case 0x00: return N("hr"); case SUBLANG_CROATIAN_CROATIA: return N("hr_HR"); case SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN: return N("hr_BA"); /* Serbian */ case 0x1f: return N("sr"); case 0x1c: return N("sr"); /* latin */ case SUBLANG_SERBIAN_LATIN: return N("sr_CS"); /* latin */ case 0x09: return N("sr_RS"); /* latin */ case 0x0b: return N("sr_ME"); /* latin */ case 0x06: return N("sr_BA"); /* latin */ case 0x1b: return NM("sr","@cyrillic"); case SUBLANG_SERBIAN_CYRILLIC: return NM("sr_CS","@cyrillic"); case 0x0a: return NM("sr_RS","@cyrillic"); case 0x0c: return NM("sr_ME","@cyrillic"); case 0x07: return NM("sr_BA","@cyrillic"); /* Bosnian */ case 0x1e: return N("bs"); case 0x1a: return N("bs"); /* latin */ case SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN: return N("bs_BA"); /* latin */ case 0x19: return NM("bs","@cyrillic"); case SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC: return NM("bs_BA","@cyrillic"); } return N("hr"); case LANG_CZECH: switch (sub) { case SUBLANG_CZECH_CZECH_REPUBLIC: return N("cs_CZ"); } return N("cs"); case LANG_DANISH: switch (sub) { case SUBLANG_DANISH_DENMARK: return N("da_DK"); } return N("da"); case LANG_DARI: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { case SUBLANG_DARI_AFGHANISTAN: return N("prs_AF"); } return N("prs"); case LANG_DIVEHI: switch (sub) { case SUBLANG_DIVEHI_MALDIVES: return N("dv_MV"); } return N("dv"); case LANG_DUTCH: switch (sub) { case SUBLANG_DUTCH: return N("nl_NL"); case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return N("nl_BE"); case SUBLANG_DUTCH_SURINAM: return N("nl_SR"); } return N("nl"); case LANG_EDO: switch (sub) { case SUBLANG_DEFAULT: return N("bin_NG"); } return N("bin"); case LANG_ENGLISH: switch (sub) { /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought * English was the language spoken in England. * Oh well. */ case SUBLANG_ENGLISH_US: return N("en_US"); case SUBLANG_ENGLISH_UK: return N("en_GB"); case SUBLANG_ENGLISH_AUS: return N("en_AU"); case SUBLANG_ENGLISH_CAN: return N("en_CA"); case SUBLANG_ENGLISH_NZ: return N("en_NZ"); case SUBLANG_ENGLISH_EIRE: return N("en_IE"); case SUBLANG_ENGLISH_SOUTH_AFRICA: return N("en_ZA"); case SUBLANG_ENGLISH_JAMAICA: return N("en_JM"); case SUBLANG_ENGLISH_CARIBBEAN: return N("en_GD"); /* Grenada? */ case SUBLANG_ENGLISH_BELIZE: return N("en_BZ"); case SUBLANG_ENGLISH_TRINIDAD: return N("en_TT"); case SUBLANG_ENGLISH_ZIMBABWE: return N("en_ZW"); case SUBLANG_ENGLISH_PHILIPPINES: return N("en_PH"); case SUBLANG_ENGLISH_INDONESIA: return N("en_ID"); case SUBLANG_ENGLISH_HONGKONG: return N("en_HK"); case SUBLANG_ENGLISH_INDIA: return N("en_IN"); case SUBLANG_ENGLISH_MALAYSIA: return N("en_MY"); case SUBLANG_ENGLISH_SINGAPORE: return N("en_SG"); } return N("en"); case LANG_ESTONIAN: switch (sub) { case SUBLANG_ESTONIAN_ESTONIA: return N("et_EE"); } return N("et"); case LANG_FAEROESE: switch (sub) { case SUBLANG_FAEROESE_FAROE_ISLANDS: return N("fo_FO"); } return N("fo"); case LANG_FARSI: switch (sub) { case SUBLANG_FARSI_IRAN: return N("fa_IR"); } return N("fa"); case LANG_FINNISH: switch (sub) { case SUBLANG_FINNISH_FINLAND: return N("fi_FI"); } return N("fi"); case LANG_FRENCH: switch (sub) { case SUBLANG_FRENCH: return N("fr_FR"); case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return N("fr_BE"); case SUBLANG_FRENCH_CANADIAN: return N("fr_CA"); case SUBLANG_FRENCH_SWISS: return N("fr_CH"); case SUBLANG_FRENCH_LUXEMBOURG: return N("fr_LU"); case SUBLANG_FRENCH_MONACO: return N("fr_MC"); case SUBLANG_FRENCH_WESTINDIES: return N("fr"); /* Caribbean? */ case SUBLANG_FRENCH_REUNION: return N("fr_RE"); case SUBLANG_FRENCH_CONGO: return N("fr_CG"); case SUBLANG_FRENCH_SENEGAL: return N("fr_SN"); case SUBLANG_FRENCH_CAMEROON: return N("fr_CM"); case SUBLANG_FRENCH_COTEDIVOIRE: return N("fr_CI"); case SUBLANG_FRENCH_MALI: return N("fr_ML"); case SUBLANG_FRENCH_MOROCCO: return N("fr_MA"); case SUBLANG_FRENCH_HAITI: return N("fr_HT"); } return N("fr"); case LANG_FRISIAN: switch (sub) { case SUBLANG_FRISIAN_NETHERLANDS: return N("fy_NL"); } return N("fy"); case LANG_FULFULDE: /* Spoken in Nigeria, Guinea, Senegal, Mali, Niger, Cameroon, Benin. */ switch (sub) { case SUBLANG_DEFAULT: return N("ff_NG"); } return N("ff"); case LANG_GAELIC: switch (sub) { case 0x01: /* SCOTTISH */ /* old, superseded by LANG_SCOTTISH_GAELIC */ return N("gd_GB"); case SUBLANG_IRISH_IRELAND: return N("ga_IE"); } return N("ga"); case LANG_GALICIAN: switch (sub) { case SUBLANG_GALICIAN_SPAIN: return N("gl_ES"); } return N("gl"); case LANG_GEORGIAN: switch (sub) { case SUBLANG_GEORGIAN_GEORGIA: return N("ka_GE"); } return N("ka"); case LANG_GERMAN: switch (sub) { case SUBLANG_GERMAN: return N("de_DE"); case SUBLANG_GERMAN_SWISS: return N("de_CH"); case SUBLANG_GERMAN_AUSTRIAN: return N("de_AT"); case SUBLANG_GERMAN_LUXEMBOURG: return N("de_LU"); case SUBLANG_GERMAN_LIECHTENSTEIN: return N("de_LI"); } return N("de"); case LANG_GREEK: switch (sub) { case SUBLANG_GREEK_GREECE: return N("el_GR"); } return N("el"); case LANG_GREENLANDIC: switch (sub) { case SUBLANG_GREENLANDIC_GREENLAND: return N("kl_GL"); } return N("kl"); case LANG_GUARANI: switch (sub) { case SUBLANG_DEFAULT: return N("gn_PY"); } return N("gn"); case LANG_GUJARATI: switch (sub) { case SUBLANG_GUJARATI_INDIA: return N("gu_IN"); } return N("gu"); case LANG_HAUSA: switch (sub) { case 0x1f: return N("ha"); case SUBLANG_HAUSA_NIGERIA_LATIN: return N("ha_NG"); } return N("ha"); case LANG_HAWAIIAN: /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) or Hawaii Creole English ("cpe_US", 600000 speakers)? */ switch (sub) { case SUBLANG_DEFAULT: return N("cpe_US"); } return N("cpe"); case LANG_HEBREW: switch (sub) { case SUBLANG_HEBREW_ISRAEL: return N("he_IL"); } return N("he"); case LANG_HINDI: switch (sub) { case SUBLANG_HINDI_INDIA: return N("hi_IN"); } return N("hi"); case LANG_HUNGARIAN: switch (sub) { case SUBLANG_HUNGARIAN_HUNGARY: return N("hu_HU"); } return N("hu"); case LANG_IBIBIO: switch (sub) { case SUBLANG_DEFAULT: return N("nic_NG"); } return N("nic"); case LANG_ICELANDIC: switch (sub) { case SUBLANG_ICELANDIC_ICELAND: return N("is_IS"); } return N("is"); case LANG_IGBO: switch (sub) { case SUBLANG_IGBO_NIGERIA: return N("ig_NG"); } return N("ig"); case LANG_INDONESIAN: switch (sub) { case SUBLANG_INDONESIAN_INDONESIA: return N("id_ID"); } return N("id"); case LANG_INUKTITUT: switch (sub) { case 0x1e: return N("iu"); /* syllabic */ case SUBLANG_INUKTITUT_CANADA: return N("iu_CA"); /* syllabic */ case 0x1f: return NM("iu","@latin"); case SUBLANG_INUKTITUT_CANADA_LATIN: return NM("iu_CA","@latin"); } return N("iu"); case LANG_ITALIAN: switch (sub) { case SUBLANG_ITALIAN: return N("it_IT"); case SUBLANG_ITALIAN_SWISS: return N("it_CH"); } return N("it"); case LANG_JAPANESE: switch (sub) { case SUBLANG_JAPANESE_JAPAN: return N("ja_JP"); } return N("ja"); case LANG_KANNADA: switch (sub) { case SUBLANG_KANNADA_INDIA: return N("kn_IN"); } return N("kn"); case LANG_KANURI: switch (sub) { case SUBLANG_DEFAULT: return N("kr_NG"); } return N("kr"); case LANG_KASHMIRI: switch (sub) { case SUBLANG_DEFAULT: return N("ks_PK"); case SUBLANG_KASHMIRI_INDIA: return N("ks_IN"); } return N("ks"); case LANG_KAZAK: switch (sub) { case SUBLANG_KAZAK_KAZAKHSTAN: return N("kk_KZ"); } return N("kk"); case LANG_KICHE: /* FIXME: Adjust this when such locales appear on Unix. */ switch (sub) { case SUBLANG_KICHE_GUATEMALA: return N("qut_GT"); } return N("qut"); case LANG_KINYARWANDA: switch (sub) { case SUBLANG_KINYARWANDA_RWANDA: return N("rw_RW"); } return N("rw"); case LANG_KONKANI: switch (sub) { case SUBLANG_KONKANI_INDIA: return N("kok_IN"); } return N("kok"); case LANG_KOREAN: switch (sub) { case SUBLANG_DEFAULT: return N("ko_KR"); } return N("ko"); case LANG_KYRGYZ: switch (sub) { case SUBLANG_KYRGYZ_KYRGYZSTAN: return N("ky_KG"); } return N("ky"); case LANG_LAO: switch (sub) { case SUBLANG_LAO_LAOS: return N("lo_LA"); } return N("lo"); case LANG_LATIN: switch (sub) { case SUBLANG_DEFAULT: return N("la_VA"); } return N("la"); case LANG_LATVIAN: switch (sub) { case SUBLANG_LATVIAN_LATVIA: return N("lv_LV"); } return N("lv"); case LANG_LITHUANIAN: switch (sub) { case SUBLANG_LITHUANIAN_LITHUANIA: return N("lt_LT"); } return N("lt"); case LANG_LUXEMBOURGISH: switch (sub) { case SUBLANG_LUXEMBOURGISH_LUXEMBOURG: return N("lb_LU"); } return N("lb"); case LANG_MACEDONIAN: switch (sub) { case SUBLANG_MACEDONIAN_MACEDONIA: return N("mk_MK"); } return N("mk"); case LANG_MALAY: switch (sub) { case SUBLANG_MALAY_MALAYSIA: return N("ms_MY"); case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return N("ms_BN"); } return N("ms"); case LANG_MALAYALAM: switch (sub) { case SUBLANG_MALAYALAM_INDIA: return N("ml_IN"); } return N("ml"); case LANG_MALTESE: switch (sub) { case SUBLANG_MALTESE_MALTA: return N("mt_MT"); } return N("mt"); case LANG_MANIPURI: switch (sub) { case SUBLANG_DEFAULT: return N("mni_IN"); } return N("mni"); case LANG_MAORI: switch (sub) { case SUBLANG_MAORI_NEW_ZEALAND: return N("mi_NZ"); } return N("mi"); case LANG_MAPUDUNGUN: switch (sub) { case SUBLANG_MAPUDUNGUN_CHILE: return N("arn_CL"); } return N("arn"); case LANG_MARATHI: switch (sub) { case SUBLANG_MARATHI_INDIA: return N("mr_IN"); } return N("mr"); case LANG_MOHAWK: switch (sub) { case SUBLANG_MOHAWK_CANADA: return N("moh_CA"); } return N("moh"); case LANG_MONGOLIAN: switch (sub) { case SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA: case 0x1e: return N("mn_MN"); case SUBLANG_MONGOLIAN_PRC: case 0x1f: return N("mn_CN"); } return N("mn"); /* Ambiguous: could be "mn_CN" or "mn_MN". */ case LANG_NEPALI: switch (sub) { case SUBLANG_NEPALI_NEPAL: return N("ne_NP"); case SUBLANG_NEPALI_INDIA: return N("ne_IN"); } return N("ne"); case LANG_NORWEGIAN: switch (sub) { case 0x1f: return N("nb"); case SUBLANG_NORWEGIAN_BOKMAL: return N("nb_NO"); case 0x1e: return N("nn"); case SUBLANG_NORWEGIAN_NYNORSK: return N("nn_NO"); } return N("no"); case LANG_OCCITAN: switch (sub) { case SUBLANG_OCCITAN_FRANCE: return N("oc_FR"); } return N("oc"); case LANG_ORIYA: switch (sub) { case SUBLANG_ORIYA_INDIA: return N("or_IN"); } return N("or"); case LANG_OROMO: switch (sub) { case SUBLANG_DEFAULT: return N("om_ET"); } return N("om"); case LANG_PAPIAMENTU: switch (sub) { case SUBLANG_DEFAULT: return N("pap_AN"); } return N("pap"); case LANG_PASHTO: switch (sub) { case SUBLANG_PASHTO_AFGHANISTAN: return N("ps_AF"); } return N("ps"); /* Ambiguous: could be "ps_PK" or "ps_AF". */ case LANG_POLISH: switch (sub) { case SUBLANG_POLISH_POLAND: return N("pl_PL"); } return N("pl"); case LANG_PORTUGUESE: switch (sub) { /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ case SUBLANG_PORTUGUESE_BRAZILIAN: return N("pt_BR"); case SUBLANG_PORTUGUESE: return N("pt_PT"); } return N("pt"); case LANG_PUNJABI: switch (sub) { case SUBLANG_PUNJABI_INDIA: return N("pa_IN"); /* Gurmukhi script */ case SUBLANG_PUNJABI_PAKISTAN: return N("pa_PK"); /* Arabic script */ } return N("pa"); case LANG_QUECHUA: /* Note: Microsoft uses the non-ISO language code "quz". */ switch (sub) { case SUBLANG_QUECHUA_BOLIVIA: return N("qu_BO"); case SUBLANG_QUECHUA_ECUADOR: return N("qu_EC"); case SUBLANG_QUECHUA_PERU: return N("qu_PE"); } return N("qu"); case LANG_ROMANIAN: switch (sub) { case SUBLANG_ROMANIAN_ROMANIA: return N("ro_RO"); case SUBLANG_ROMANIAN_MOLDOVA: return N("ro_MD"); } return N("ro"); case LANG_ROMANSH: switch (sub) { case SUBLANG_ROMANSH_SWITZERLAND: return N("rm_CH"); } return N("rm"); case LANG_RUSSIAN: switch (sub) { case SUBLANG_RUSSIAN_RUSSIA: return N("ru_RU"); case SUBLANG_RUSSIAN_MOLDAVIA: return N("ru_MD"); } return N("ru"); /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD". */ case LANG_SAMI: switch (sub) { /* Northern Sami */ case 0x00: return N("se"); case SUBLANG_SAMI_NORTHERN_NORWAY: return N("se_NO"); case SUBLANG_SAMI_NORTHERN_SWEDEN: return N("se_SE"); case SUBLANG_SAMI_NORTHERN_FINLAND: return N("se_FI"); /* Lule Sami */ case 0x1f: return N("smj"); case SUBLANG_SAMI_LULE_NORWAY: return N("smj_NO"); case SUBLANG_SAMI_LULE_SWEDEN: return N("smj_SE"); /* Southern Sami */ case 0x1e: return N("sma"); case SUBLANG_SAMI_SOUTHERN_NORWAY: return N("sma_NO"); case SUBLANG_SAMI_SOUTHERN_SWEDEN: return N("sma_SE"); /* Skolt Sami */ case 0x1d: return N("sms"); case SUBLANG_SAMI_SKOLT_FINLAND: return N("sms_FI"); /* Inari Sami */ case 0x1c: return N("smn"); case SUBLANG_SAMI_INARI_FINLAND: return N("smn_FI"); } return N("se"); /* or "smi"? */ case LANG_SANSKRIT: switch (sub) { case SUBLANG_SANSKRIT_INDIA: return N("sa_IN"); } return N("sa"); case LANG_SCOTTISH_GAELIC: switch (sub) { case SUBLANG_DEFAULT: return N("gd_GB"); } return N("gd"); case LANG_SINDHI: switch (sub) { case SUBLANG_SINDHI_INDIA: return N("sd_IN"); case SUBLANG_SINDHI_PAKISTAN: return N("sd_PK"); /*case SUBLANG_SINDHI_AFGHANISTAN: return N("sd_AF");*/ } return N("sd"); case LANG_SINHALESE: switch (sub) { case SUBLANG_SINHALESE_SRI_LANKA: return N("si_LK"); } return N("si"); case LANG_SLOVAK: switch (sub) { case SUBLANG_SLOVAK_SLOVAKIA: return N("sk_SK"); } return N("sk"); case LANG_SLOVENIAN: switch (sub) { case SUBLANG_SLOVENIAN_SLOVENIA: return N("sl_SI"); } return N("sl"); case LANG_SOMALI: switch (sub) { case SUBLANG_DEFAULT: return N("so_SO"); } return N("so"); case LANG_SORBIAN: switch (sub) { /* Upper Sorbian */ case 0x00: return N("hsb"); case SUBLANG_UPPER_SORBIAN_GERMANY: return N("hsb_DE"); /* Lower Sorbian */ case 0x1f: return N("dsb"); case SUBLANG_LOWER_SORBIAN_GERMANY: return N("dsb_DE"); } return N("wen"); case LANG_SOTHO: /* calls it "Sesotho sa Leboa"; according to it's the same as Northern Sotho. */ switch (sub) { case SUBLANG_SOTHO_SOUTH_AFRICA: return N("nso_ZA"); } return N("nso"); case LANG_SPANISH: switch (sub) { case SUBLANG_SPANISH: return N("es_ES"); case SUBLANG_SPANISH_MEXICAN: return N("es_MX"); case SUBLANG_SPANISH_MODERN: return NM("es_ES","@modern"); /* not seen on Unix */ case SUBLANG_SPANISH_GUATEMALA: return N("es_GT"); case SUBLANG_SPANISH_COSTA_RICA: return N("es_CR"); case SUBLANG_SPANISH_PANAMA: return N("es_PA"); case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return N("es_DO"); case SUBLANG_SPANISH_VENEZUELA: return N("es_VE"); case SUBLANG_SPANISH_COLOMBIA: return N("es_CO"); case SUBLANG_SPANISH_PERU: return N("es_PE"); case SUBLANG_SPANISH_ARGENTINA: return N("es_AR"); case SUBLANG_SPANISH_ECUADOR: return N("es_EC"); case SUBLANG_SPANISH_CHILE: return N("es_CL"); case SUBLANG_SPANISH_URUGUAY: return N("es_UY"); case SUBLANG_SPANISH_PARAGUAY: return N("es_PY"); case SUBLANG_SPANISH_BOLIVIA: return N("es_BO"); case SUBLANG_SPANISH_EL_SALVADOR: return N("es_SV"); case SUBLANG_SPANISH_HONDURAS: return N("es_HN"); case SUBLANG_SPANISH_NICARAGUA: return N("es_NI"); case SUBLANG_SPANISH_PUERTO_RICO: return N("es_PR"); case SUBLANG_SPANISH_US: return N("es_US"); } return N("es"); case LANG_SUTU: switch (sub) { case SUBLANG_DEFAULT: return N("bnt_TZ"); /* or "st_LS" or "nso_ZA"? */ } return N("bnt"); case LANG_SWAHILI: switch (sub) { case SUBLANG_SWAHILI_KENYA: return N("sw_KE"); } return N("sw"); case LANG_SWEDISH: switch (sub) { case SUBLANG_SWEDISH_SWEDEN: return N("sv_SE"); case SUBLANG_SWEDISH_FINLAND: return N("sv_FI"); } return N("sv"); case LANG_SYRIAC: switch (sub) { case SUBLANG_SYRIAC_SYRIA: return N("syr_SY"); /* An extinct language. */ } return N("syr"); case LANG_TAGALOG: switch (sub) { case SUBLANG_TAGALOG_PHILIPPINES: return N("tl_PH"); /* or "fil_PH"? */ } return N("tl"); /* or "fil"? */ case LANG_TAJIK: switch (sub) { case 0x1f: return N("tg"); case SUBLANG_TAJIK_TAJIKISTAN: return N("tg_TJ"); } return N("tg"); case LANG_TAMAZIGHT: /* Note: Microsoft uses the non-ISO language code "tmz". */ switch (sub) { case SUBLANG_TAMAZIGHT_ARABIC: return N("ber_MA"); case 0x1f: return NM("ber","@latin"); case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return N("ber_DZ"); } return N("ber"); case LANG_TAMIL: switch (sub) { case SUBLANG_TAMIL_INDIA: return N("ta_IN"); } return N("ta"); /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ case LANG_TATAR: switch (sub) { case SUBLANG_TATAR_RUSSIA: return N("tt_RU"); } return N("tt"); case LANG_TELUGU: switch (sub) { case SUBLANG_TELUGU_INDIA: return N("te_IN"); } return N("te"); case LANG_THAI: switch (sub) { case SUBLANG_THAI_THAILAND: return N("th_TH"); } return N("th"); case LANG_TIBETAN: switch (sub) { case SUBLANG_TIBETAN_PRC: /* Most Tibetans would not like "bo_CN". But Tibet does not yet have a country code of its own. */ return N("bo"); case SUBLANG_TIBETAN_BHUTAN: return N("bo_BT"); } return N("bo"); case LANG_TIGRINYA: switch (sub) { case SUBLANG_TIGRINYA_ETHIOPIA: return N("ti_ET"); case SUBLANG_TIGRINYA_ERITREA: return N("ti_ER"); } return N("ti"); case LANG_TSONGA: switch (sub) { case SUBLANG_DEFAULT: return N("ts_ZA"); } return N("ts"); case LANG_TSWANA: /* Spoken in South Africa, Botswana. */ switch (sub) { case SUBLANG_TSWANA_SOUTH_AFRICA: return N("tn_ZA"); } return N("tn"); case LANG_TURKISH: switch (sub) { case SUBLANG_TURKISH_TURKEY: return N("tr_TR"); } return N("tr"); case LANG_TURKMEN: switch (sub) { case SUBLANG_TURKMEN_TURKMENISTAN: return N("tk_TM"); } return N("tk"); case LANG_UIGHUR: switch (sub) { case SUBLANG_UIGHUR_PRC: return N("ug_CN"); } return N("ug"); case LANG_UKRAINIAN: switch (sub) { case SUBLANG_UKRAINIAN_UKRAINE: return N("uk_UA"); } return N("uk"); case LANG_URDU: switch (sub) { case SUBLANG_URDU_PAKISTAN: return N("ur_PK"); case SUBLANG_URDU_INDIA: return N("ur_IN"); } return N("ur"); case LANG_UZBEK: switch (sub) { case 0x1f: return N("uz"); case SUBLANG_UZBEK_LATIN: return N("uz_UZ"); case 0x1e: return NM("uz","@cyrillic"); case SUBLANG_UZBEK_CYRILLIC: return NM("uz_UZ","@cyrillic"); } return N("uz"); case LANG_VENDA: switch (sub) { case SUBLANG_DEFAULT: return N("ve_ZA"); } return N("ve"); case LANG_VIETNAMESE: switch (sub) { case SUBLANG_VIETNAMESE_VIETNAM: return N("vi_VN"); } return N("vi"); case LANG_WELSH: switch (sub) { case SUBLANG_WELSH_UNITED_KINGDOM: return N("cy_GB"); } return N("cy"); case LANG_WOLOF: switch (sub) { case SUBLANG_WOLOF_SENEGAL: return N("wo_SN"); } return N("wo"); case LANG_XHOSA: switch (sub) { case SUBLANG_XHOSA_SOUTH_AFRICA: return N("xh_ZA"); } return N("xh"); case LANG_YAKUT: switch (sub) { case SUBLANG_YAKUT_RUSSIA: return N("sah_RU"); } return N("sah"); case LANG_YI: switch (sub) { case SUBLANG_YI_PRC: return N("ii_CN"); } return N("ii"); case LANG_YIDDISH: switch (sub) { case SUBLANG_DEFAULT: return N("yi_IL"); } return N("yi"); case LANG_YORUBA: switch (sub) { case SUBLANG_YORUBA_NIGERIA: return N("yo_NG"); } return N("yo"); case LANG_ZULU: switch (sub) { case SUBLANG_ZULU_SOUTH_AFRICA: return N("zu_ZA"); } return N("zu"); default: return N("C"); } } #undef NM #undef N } # if !defined IN_LIBINTL static # endif const char * gl_locale_name_from_win32_LCID (LCID lcid) { LANGID langid; /* Strip off the sorting rules, keep only the language part. */ langid = LANGIDFROMLCID (lcid); return gl_locale_name_from_win32_LANGID (langid); } # ifdef WINDOWS_NATIVE /* Two variables to interface between get_lcid and the EnumLocales callback function below. */ static LCID found_lcid; static char lname[LC_MAX * (LOCALE_NAME_MAX_LENGTH + 1) + 1]; /* Callback function for EnumLocales. */ static BOOL CALLBACK enum_locales_fn (LPSTR locale_num_str) { char *endp; char locval[2 * LOCALE_NAME_MAX_LENGTH + 1 + 1]; LCID try_lcid = strtoul (locale_num_str, &endp, 16); if (GetLocaleInfo (try_lcid, LOCALE_SENGLANGUAGE, locval, LOCALE_NAME_MAX_LENGTH)) { strcat (locval, "_"); if (GetLocaleInfo (try_lcid, LOCALE_SENGCOUNTRY, locval + strlen (locval), LOCALE_NAME_MAX_LENGTH)) { size_t locval_len = strlen (locval); if (strncmp (locval, lname, locval_len) == 0 && (lname[locval_len] == '.' || lname[locval_len] == '\0')) { found_lcid = try_lcid; return FALSE; } } } return TRUE; } /* This lock protects the get_lcid against multiple simultaneous calls. */ gl_lock_define_initialized(static, get_lcid_lock) /* Return the Locale ID (LCID) number given the locale's name, a string, in LOCALE_NAME. This works by enumerating all the locales supported by the system, until we find one whose name matches LOCALE_NAME. */ static LCID get_lcid (const char *locale_name) { /* A simple cache. */ static LCID last_lcid; static char last_locale[1000]; /* Lock while looking for an LCID, to protect access to static variables: last_lcid, last_locale, found_lcid, and lname. */ gl_lock_lock (get_lcid_lock); if (last_lcid > 0 && strcmp (locale_name, last_locale) == 0) { gl_lock_unlock (get_lcid_lock); return last_lcid; } strncpy (lname, locale_name, sizeof (lname) - 1); lname[sizeof (lname) - 1] = '\0'; found_lcid = 0; EnumSystemLocales (enum_locales_fn, LCID_SUPPORTED); if (found_lcid > 0) { last_lcid = found_lcid; strcpy (last_locale, locale_name); } gl_lock_unlock (get_lcid_lock); return found_lcid; } # endif #endif const char * gl_locale_name_thread_unsafe (int category, _GL_UNUSED const char *categoryname) { if (category == LC_ALL) /* Invalid argument. */ abort (); #if HAVE_GOOD_USELOCALE { locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { struct string_with_storage ret = getlocalename_l_unsafe (category, thread_locale); return ret.value; } } #endif /* On WINDOWS_NATIVE, don't use GetThreadLocale() here, because when SetThreadLocale has not been called - which is a very frequent case - the value of GetThreadLocale() ignores past calls to 'setlocale'. */ return NULL; } /* XPG3 defines the result of 'setlocale (category, NULL)' as: "Directs 'setlocale()' to query 'category' and return the current setting of 'local'." However it does not specify the exact format. Neither do SUSV2 and ISO C 99. So we can use this feature only on selected systems, where the return value has the XPG syntax language[_territory][.codeset][@modifier] or C[.codeset] namely - glibc systems (except for aliases from /usr/share/locale/locale.alias, that no one uses any more), - musl libc, - FreeBSD, NetBSD, - Solaris, - Haiku. We cannot use it on - macOS, Cygwin (because these systems have a facility for customizing the default locale, and setlocale (category, NULL) ignores it and merely returns "C" or "C.UTF-8"), - OpenBSD (because on OpenBSD ≤ 6.1, LC_ALL does not set the LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY categories). - AIX (because here the return value has the syntax language[_script]_territory[.codeset] e.g. zh_Hans_CN.UTF-8), - native Windows (because it has locale names such as French_France.1252), - Android (because it only supports the C and C.UTF-8 locales). */ #if defined _LIBC || ((defined __GLIBC__ && __GLIBC__ >= 2) && !defined __UCLIBC__) || MUSL_LIBC || defined __FreeBSD__ || defined __NetBSD__ || defined __sun || defined __HAIKU__ # define HAVE_LOCALE_NULL #endif const char * gl_locale_name_posix_unsafe (int category, _GL_UNUSED const char *categoryname) { if (category == LC_ALL) /* Invalid argument. */ abort (); #if defined WINDOWS_NATIVE if (LC_MIN <= category && category <= LC_MAX) { const char *locname = /* setlocale_null (category) is identical to setlocale (category, NULL) on this platform. */ setlocale (category, NULL); /* Convert locale name to LCID. We don't want to use LocaleNameToLCID because (a) it is only available since Vista, and (b) it doesn't accept locale names returned by 'setlocale'. */ LCID lcid = get_lcid (locname); if (lcid > 0) return gl_locale_name_from_win32_LCID (lcid); } #endif { const char *locname; /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. On some systems this can be done by the 'setlocale' function itself. */ #if defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL /* All platforms for which HAVE_LOCALE_NULL is defined happen to have SETLOCALE_NULL_ONE_MTSAFE defined to 1. Therefore it is OK, here, to call setlocale_null_unlocked instead of setlocale_null. */ locname = setlocale_null_unlocked (category); #else /* On other systems we ignore what setlocale reports and instead look at the environment variables directly. This is necessary 1. on systems which have a facility for customizing the default locale (macOS, native Windows, Cygwin) and where the system's setlocale() function ignores this default locale (macOS, Cygwin), in two cases: a. when the user missed to use the setlocale() override from libintl (for example by not including ), b. when setlocale supports only the "C" locale, such as on Cygwin 1.5.x. In this case even the override from libintl cannot help. 2. on all systems where setlocale supports only the "C" locale. */ /* Strictly speaking, it is a POSIX violation to look at the environment variables regardless whether setlocale has been called or not. POSIX says: "For C-language programs, the POSIX locale shall be the default locale when the setlocale() function is not called." But we assume that all programs that use internationalized APIs call setlocale (LC_ALL, ""). */ locname = gl_locale_name_environ (category, categoryname); #endif /* Convert the locale name from the format returned by setlocale() or found in the environment variables to the XPG syntax. */ #if defined WINDOWS_NATIVE if (locname != NULL) { /* Convert locale name to LCID. We don't want to use LocaleNameToLCID because (a) it is only available since Vista, and (b) it doesn't accept locale names returned by 'setlocale'. */ LCID lcid = get_lcid (locname); if (lcid > 0) return gl_locale_name_from_win32_LCID (lcid); } #endif return locname; } } const char * gl_locale_name_default (void) { /* POSIX:2001 says: "All implementations shall define a locale as the default locale, to be invoked when no environment variables are set, or set to the empty string. This default locale can be the POSIX locale or any other implementation-defined locale. Some implementations may provide facilities for local installation administrators to set the default locale, customizing it for each location. POSIX:2001 does not require such a facility. The systems with such a facility are Mac OS X and Windows: They provide a GUI that allows the user to choose a locale. - On Mac OS X, by default, none of LC_* or LANG are set. Starting with Mac OS X 10.4 or 10.5, LANG is set for processes launched by the 'Terminal' application (but sometimes to an incorrect value "UTF-8"). When no environment variable is set, setlocale (LC_ALL, "") uses the "C" locale. - On native Windows, by default, none of LC_* or LANG are set. When no environment variable is set, setlocale (LC_ALL, "") uses the locale chosen by the user. - On Cygwin 1.5.x, by default, none of LC_* or LANG are set. When no environment variable is set, setlocale (LC_ALL, "") uses the "C" locale. - On Cygwin 1.7, by default, LANG is set to "C.UTF-8" when the default ~/.profile is executed. When no environment variable is set, setlocale (LC_ALL, "") uses the "C.UTF-8" locale, which operates in the same way as the "C" locale. */ #if !(HAVE_CFPREFERENCESCOPYAPPVALUE || defined WINDOWS_NATIVE || defined __CYGWIN__) /* The system does not have a way of setting the locale, other than the POSIX specified environment variables. We use C as default locale. */ return "C"; #else /* Return an XPG style locale name language[_territory][@modifier]. Don't even bother determining the codeset; it's not useful in this context, because message catalogs are not specific to a single codeset. */ # if HAVE_CFPREFERENCESCOPYAPPVALUE /* Mac OS X 10.4 or newer */ /* Don't use the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, because in macOS 10.13.4 it has the following behaviour: When two or more languages are specified in the "System Preferences > Language & Region > Preferred Languages" panel, it returns en_CC where CC is the territory (even when English is not among the preferred languages!). What we want instead is what CFLocaleCopyCurrent returned in earlier macOS releases and what CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the first among the preferred languages and CC is the territory. */ { /* Cache the locale name, since CoreFoundation calls are expensive. */ static const char *cached_localename; if (cached_localename == NULL) { char namebuf[256]; CFTypeRef value = CFPreferencesCopyAppValue (CFSTR ("AppleLocale"), kCFPreferencesCurrentApplication); if (value != NULL && CFGetTypeID (value) == CFStringGetTypeID ()) { CFStringRef name = (CFStringRef)value; if (CFStringGetCString (name, namebuf, sizeof (namebuf), kCFStringEncodingASCII)) { gl_locale_name_canonicalize (namebuf); cached_localename = strdup (namebuf); } } if (cached_localename == NULL) cached_localename = "C"; } return cached_localename; } # endif # if defined WINDOWS_NATIVE || defined __CYGWIN__ /* Native Windows or Cygwin */ { LCID lcid; /* Use native Windows API locale ID. */ lcid = GetThreadLocale (); return gl_locale_name_from_win32_LCID (lcid); } # endif #endif } /* Determine the current locale's name, and canonicalize it into XPG syntax language[_territory][.codeset][@modifier] The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed. It is only valid in the current thread, until the next uselocale(), setlocale(), newlocale(), or freelocale() call. */ const char * gl_locale_name_unsafe (int category, const char *categoryname) { const char *retval; if (category == LC_ALL) /* Invalid argument. */ abort (); retval = gl_locale_name_thread_unsafe (category, categoryname); if (retval != NULL) return retval; retval = gl_locale_name_posix_unsafe (category, categoryname); if (retval != NULL) return retval; return gl_locale_name_default (); } datamash-1.9/lib/localename.c0000644000000000000000000000511314767401140011612 /* Determine name of the currently selected locale. Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the locale == NULL tests below in duplocale() and freelocale(), or xlclang reports -Wtautological-pointer-compare warnings for these tests. */ #define _GL_ARG_NONNULL(params) #include /* Specification. */ #include "localename.h" #include #include #include #include #include "flexmember.h" #include "glthread/lock.h" #include "thread-optim.h" /* Define a local struniq() function. */ #include "struniq.h" const char * gl_locale_name_thread (int category, const char *categoryname) { if (category == LC_ALL) /* Invalid argument. */ abort (); const char *name = gl_locale_name_thread_unsafe (category, categoryname); if (name != NULL) return struniq (name); return NULL; } const char * gl_locale_name_posix (int category, const char *categoryname) { if (category == LC_ALL) /* Invalid argument. */ abort (); const char *name = gl_locale_name_posix_unsafe (category, categoryname); if (name != NULL) return struniq (name); return NULL; } /* Determine the current locale's name, and canonicalize it into XPG syntax language[_territory][.codeset][@modifier] The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ const char * gl_locale_name (int category, const char *categoryname) { const char *retval; if (category == LC_ALL) /* Invalid argument. */ abort (); retval = gl_locale_name_thread (category, categoryname); if (retval != NULL) return retval; retval = gl_locale_name_posix (category, categoryname); if (retval != NULL) return retval; return gl_locale_name_default (); } datamash-1.9/lib/localename.h0000644000000000000000000001250214767401140011617 /* Determine name of the currently selected locale. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_LOCALENAME_H #define _GL_LOCALENAME_H /* This file uses _GL_ATTRIBUTE_CONST, HAVE_CFPREFERENCESCOPYAPPVALUE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #ifdef __cplusplus extern "C" { #endif /* Determine the current locale's name. It considers both the POSIX notion of locale name (see functions gl_locale_name_thread and gl_locale_name_posix) and the system notion of locale name (see function gl_locale_name_default). CATEGORY is a locale category abbreviation, as defined in , but not LC_ALL. E.g. LC_MESSAGES. CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". Return the locale category's name, canonicalized into XPG syntax language[_territory][.codeset][@modifier] The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name (int category, const char *categoryname); /* Determine the current per-thread locale's name, as specified by uselocale() calls. CATEGORY is a locale category abbreviation, as defined in , but not LC_ALL. E.g. LC_MESSAGES. CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". Return the locale category's name, canonicalized into XPG syntax language[_territory][.codeset][@modifier] or NULL if no locale has been specified for the current thread. The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_thread (int category, const char *categoryname); /* Determine the thread-independent current locale's name, as specified by setlocale() calls or by environment variables. CATEGORY is a locale category abbreviation, as defined in , but not LC_ALL. E.g. LC_MESSAGES. CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". Return the locale category's name, canonicalized into XPG syntax language[_territory][.codeset][@modifier] or NULL if no locale has been specified to setlocale() or by environment variables. The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_posix (int category, const char *categoryname); /* Determine the default locale's name, as specified by environment variables. Return the locale category's name, or NULL if no locale has been specified by environment variables. The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_environ (int category, const char *categoryname); /* Determine the default locale's name. This is the current locale's name, if not specified by uselocale() calls, by setlocale() calls, or by environment variables. This locale name is usually determined by systems settings that the user can manipulate through a GUI. Quoting POSIX:2001: "All implementations shall define a locale as the default locale, to be invoked when no environment variables are set, or set to the empty string. This default locale can be the C locale or any other implementation-defined locale. Some implementations may provide facilities for local installation administrators to set the default locale, customizing it for each location. IEEE Std 1003.1-2001 does not require such a facility." The result must not be freed; it is statically allocated. */ extern const char * gl_locale_name_default (void) #if !(HAVE_CFPREFERENCESCOPYAPPVALUE || defined _WIN32 || defined __CYGWIN__) _GL_ATTRIBUTE_CONST #endif ; /* These functions with the '_unsafe' suffix are like the functions without this suffix, above, except that the result is not statically allocated, but instead only valid in the current thread, until the next uselocale(), setlocale(), newlocale(), or freelocale() call. */ extern const char * gl_locale_name_unsafe (int category, const char *categoryname); extern const char * gl_locale_name_thread_unsafe (int category, const char *categoryname); extern const char * gl_locale_name_posix_unsafe (int category, const char *categoryname); #ifdef __cplusplus } #endif #endif /* _GL_LOCALENAME_H */ datamash-1.9/lib/log.c0000644000000000000000000000216614767401140010300 /* Logarithm. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include double log (double x) #undef log { if (x <= 0.0) { /* Work around the OSF/1 5.1 bug. */ if (x == 0.0) /* Return -Infinity. */ return -1.0 / 0.0; /* Work around the NetBSD 5.1, Solaris 11.0 bug. */ else /* x < 0.0 */ /* Return NaN. */ return 0.0 / 0.0; } return log (x); } datamash-1.9/lib/logl.c0000644000000000000000000002216114352360425010451 /* Copyright 2001 by Stephen L. Moshier This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE long double logl (long double x) { return log (x); } #elif 0 /* was: HAVE_LOGL */ long double logl (long double x) # undef logl { /* Work around the OSF/1 5.1 bug. */ if (x == 0.0L) /* Return -Infinity. */ return -1.0L / 0.0L; return logl (x); } #else /* Code based on glibc/sysdeps/ieee754/ldbl-128/e_logl.c. */ /* logll.c * * Natural logarithm for 128-bit long double precision. * * * * SYNOPSIS: * * long double x, y, logl(); * * y = logl( x ); * * * * DESCRIPTION: * * Returns the base e (2.718...) logarithm of x. * * The argument is separated into its exponent and fractional * parts. Use of a lookup table increases the speed of the routine. * The program uses logarithms tabulated at intervals of 1/128 to * cover the domain from approximately 0.7 to 1.4. * * On the interval [-1/128, +1/128] the logarithm of 1+x is approximated by * log(1+x) = x - 0.5 x^2 + x^3 P(x) . * * * * ACCURACY: * * Relative error: * arithmetic domain # trials peak rms * IEEE 0.875, 1.125 100000 1.2e-34 4.1e-35 * IEEE 0.125, 8 100000 1.2e-34 4.1e-35 * * * WARNING: * * This program uses integer operations on bit fields of floating-point * numbers. It does not work with data structures other than the * structure assumed. * */ /* log(1+x) = x - .5 x^2 + x^3 l(x) -.0078125 <= x <= +.0078125 peak relative error 1.2e-37 */ static const long double l3 = 3.333333333333333333333333333333336096926E-1L, l4 = -2.499999999999999999999999999486853077002E-1L, l5 = 1.999999999999999999999999998515277861905E-1L, l6 = -1.666666666666666666666798448356171665678E-1L, l7 = 1.428571428571428571428808945895490721564E-1L, l8 = -1.249999999999999987884655626377588149000E-1L, l9 = 1.111111111111111093947834982832456459186E-1L, l10 = -1.000000000000532974938900317952530453248E-1L, l11 = 9.090909090915566247008015301349979892689E-2L, l12 = -8.333333211818065121250921925397567745734E-2L, l13 = 7.692307559897661630807048686258659316091E-2L, l14 = -7.144242754190814657241902218399056829264E-2L, l15 = 6.668057591071739754844678883223432347481E-2L; /* Lookup table of ln(t) - (t-1) t = 0.5 + (k+26)/128) k = 0, ..., 91 */ static const long double logtbl[92] = { -5.5345593589352099112142921677820359632418E-2L, -5.2108257402767124761784665198737642086148E-2L, -4.8991686870576856279407775480686721935120E-2L, -4.5993270766361228596215288742353061431071E-2L, -4.3110481649613269682442058976885699556950E-2L, -4.0340872319076331310838085093194799765520E-2L, -3.7682072451780927439219005993827431503510E-2L, -3.5131785416234343803903228503274262719586E-2L, -3.2687785249045246292687241862699949178831E-2L, -3.0347913785027239068190798397055267411813E-2L, -2.8110077931525797884641940838507561326298E-2L, -2.5972247078357715036426583294246819637618E-2L, -2.3932450635346084858612873953407168217307E-2L, -2.1988775689981395152022535153795155900240E-2L, -2.0139364778244501615441044267387667496733E-2L, -1.8382413762093794819267536615342902718324E-2L, -1.6716169807550022358923589720001638093023E-2L, -1.5138929457710992616226033183958974965355E-2L, -1.3649036795397472900424896523305726435029E-2L, -1.2244881690473465543308397998034325468152E-2L, -1.0924898127200937840689817557742469105693E-2L, -9.6875626072830301572839422532631079809328E-3L, -8.5313926245226231463436209313499745894157E-3L, -7.4549452072765973384933565912143044991706E-3L, -6.4568155251217050991200599386801665681310E-3L, -5.5356355563671005131126851708522185605193E-3L, -4.6900728132525199028885749289712348829878E-3L, -3.9188291218610470766469347968659624282519E-3L, -3.2206394539524058873423550293617843896540E-3L, -2.5942708080877805657374888909297113032132E-3L, -2.0385211375711716729239156839929281289086E-3L, -1.5522183228760777967376942769773768850872E-3L, -1.1342191863606077520036253234446621373191E-3L, -7.8340854719967065861624024730268350459991E-4L, -4.9869831458030115699628274852562992756174E-4L, -2.7902661731604211834685052867305795169688E-4L, -1.2335696813916860754951146082826952093496E-4L, -3.0677461025892873184042490943581654591817E-5L, # define ZERO logtbl[38] 0.0000000000000000000000000000000000000000E0L, -3.0359557945051052537099938863236321874198E-5L, -1.2081346403474584914595395755316412213151E-4L, -2.7044071846562177120083903771008342059094E-4L, -4.7834133324631162897179240322783590830326E-4L, -7.4363569786340080624467487620270965403695E-4L, -1.0654639687057968333207323853366578860679E-3L, -1.4429854811877171341298062134712230604279E-3L, -1.8753781835651574193938679595797367137975E-3L, -2.3618380914922506054347222273705859653658E-3L, -2.9015787624124743013946600163375853631299E-3L, -3.4938307889254087318399313316921940859043E-3L, -4.1378413103128673800485306215154712148146E-3L, -4.8328735414488877044289435125365629849599E-3L, -5.5782063183564351739381962360253116934243E-3L, -6.3731336597098858051938306767880719015261E-3L, -7.2169643436165454612058905294782949315193E-3L, -8.1090214990427641365934846191367315083867E-3L, -9.0486422112807274112838713105168375482480E-3L, -1.0035177140880864314674126398350812606841E-2L, -1.1067990155502102718064936259435676477423E-2L, -1.2146457974158024928196575103115488672416E-2L, -1.3269969823361415906628825374158424754308E-2L, -1.4437927104692837124388550722759686270765E-2L, -1.5649743073340777659901053944852735064621E-2L, -1.6904842527181702880599758489058031645317E-2L, -1.8202661505988007336096407340750378994209E-2L, -1.9542647000370545390701192438691126552961E-2L, -2.0924256670080119637427928803038530924742E-2L, -2.2346958571309108496179613803760727786257E-2L, -2.3810230892650362330447187267648486279460E-2L, -2.5313561699385640380910474255652501521033E-2L, -2.6856448685790244233704909690165496625399E-2L, -2.8438398935154170008519274953860128449036E-2L, -3.0058928687233090922411781058956589863039E-2L, -3.1717563112854831855692484086486099896614E-2L, -3.3413836095418743219397234253475252001090E-2L, -3.5147290019036555862676702093393332533702E-2L, -3.6917475563073933027920505457688955423688E-2L, -3.8723951502862058660874073462456610731178E-2L, -4.0566284516358241168330505467000838017425E-2L, -4.2444048996543693813649967076598766917965E-2L, -4.4356826869355401653098777649745233339196E-2L, -4.6304207416957323121106944474331029996141E-2L, -4.8285787106164123613318093945035804818364E-2L, -5.0301169421838218987124461766244507342648E-2L, -5.2349964705088137924875459464622098310997E-2L, -5.4431789996103111613753440311680967840214E-2L, -5.6546268881465384189752786409400404404794E-2L, -5.8693031345788023909329239565012647817664E-2L, -6.0871713627532018185577188079210189048340E-2L, -6.3081958078862169742820420185833800925568E-2L, -6.5323413029406789694910800219643791556918E-2L, -6.7595732653791419081537811574227049288168E-2L }; /* ln(2) = ln2a + ln2b with extended precision. */ static const long double ln2a = 6.93145751953125e-1L, ln2b = 1.4286068203094172321214581765680755001344E-6L; long double logl (long double x) { long double z, y, w; long double t; int k, e; /* Check for IEEE special cases. */ /* log(NaN) = NaN. */ if (isnanl (x)) { return x; } /* log(0) = -infinity. */ if (x == 0.0L) { return -0.5L / ZERO; } /* log ( x < 0 ) = NaN */ if (x < 0.0L) { return (x - x) / ZERO; } /* log (infinity) */ if (x + x == x) { return x + x; } /* Extract exponent and reduce domain to 0.703125 <= u < 1.40625 */ x = frexpl (x, &e); if (x < 0.703125L) { x += x; e--; } /* On this interval the table is not used due to cancellation error. */ if ((x <= 1.0078125L) && (x >= 0.9921875L)) { z = x - 1.0L; k = 64; t = 1.0L; } else { k = floorl ((x - 0.5L) * 128.0L); t = 0.5L + k / 128.0L; z = (x - t) / t; } /* Series expansion of log(1+z). */ w = z * z; y = ((((((((((((l15 * z + l14) * z + l13) * z + l12) * z + l11) * z + l10) * z + l9) * z + l8) * z + l7) * z + l6) * z + l5) * z + l4) * z + l3) * z * w; y -= 0.5 * w; y += e * ln2b; /* Base 2 exponent offset times ln(2). */ y += z; y += logtbl[k-26]; /* log(t) - (t-1) */ y += (t - 1.0L); y += e * ln2a; return y; } #endif datamash-1.9/lib/lseek.c0000644000000000000000000000543114767401140010620 /* An lseek() function that detects pipes. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Windows platforms. */ /* Get GetFileType. */ # include /* Get _get_osfhandle. */ # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif #else # include #endif #include #undef lseek off_t rpl_lseek (int fd, off_t offset, int whence) { #if defined _WIN32 && ! defined __CYGWIN__ /* mingw lseek mistakenly succeeds on pipes, sockets, and terminals. */ HANDLE h = (HANDLE) _get_osfhandle (fd); if (h == INVALID_HANDLE_VALUE) { errno = EBADF; return -1; } if (GetFileType (h) != FILE_TYPE_DISK) { errno = ESPIPE; return -1; } #elif defined __APPLE__ && defined __MACH__ && defined SEEK_DATA if (whence == SEEK_DATA) { /* If OFFSET points to data, macOS lseek+SEEK_DATA returns the start S of the first data region that begins *after* OFFSET, where the region from OFFSET to S consists of possibly-empty data followed by a possibly-empty hole. To work around this portability glitch, check whether OFFSET is within data by using lseek+SEEK_HOLE, and if so return to OFFSET by using lseek+SEEK_SET. Also, contrary to the macOS documentation, lseek+SEEK_HOLE can fail with ENXIO if there are no holes on or after OFFSET. What a mess! */ off_t next_hole = lseek (fd, offset, SEEK_HOLE); if (next_hole < 0) return errno == ENXIO ? offset : next_hole; if (next_hole != offset) whence = SEEK_SET; } #else /* BeOS lseek mistakenly succeeds on pipes... */ struct stat statbuf; if (fstat (fd, &statbuf) < 0) return -1; if (!S_ISREG (statbuf.st_mode)) { errno = ESPIPE; return -1; } #endif #if _GL_WINDOWS_64_BIT_OFF_T || (defined __MINGW32__ && defined _FILE_OFFSET_BITS && (_FILE_OFFSET_BITS == 64)) return _lseeki64 (fd, offset, whence); #else return lseek (fd, offset, whence); #endif } datamash-1.9/lib/malloc.c0000644000000000000000000000264214767401140010765 /* malloc() function that is glibc compatible. Copyright (C) 1997-1998, 2006-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Jim Meyering and Bruno Haible */ /* Ensure that we call the system's malloc() below. */ #define _GL_USE_STDLIB_ALLOC 1 #include #include #include #include /* Allocate an N-byte block of memory from the heap, even if N is 0. */ void * rpl_malloc (size_t n) { #if !HAVE_MALLOC_0_NONNULL if (n == 0) n = 1; #endif #if !HAVE_MALLOC_PTRDIFF ptrdiff_t signed_n; if (ckd_add (&signed_n, n, 0)) { errno = ENOMEM; return NULL; } #endif void *result = malloc (n); #if !HAVE_MALLOC_POSIX if (result == NULL) errno = ENOMEM; #endif return result; } datamash-1.9/lib/malloca.c0000644000000000000000000001031614767401140011123 /* Safe automatic memory allocation. Copyright (C) 2003, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2003, 2018. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define _GL_USE_STDLIB_ALLOC 1 #include /* Specification. */ #include "malloca.h" #include #if defined __CHERI_PURE_CAPABILITY__ # include #endif #include "idx.h" /* The speed critical point in this file is freea() applied to an alloca() result: it must be fast, to match the speed of alloca(). The speed of mmalloca() and freea() in the other case are not critical, because they are only invoked for big memory sizes. Here we use a bit in the address as an indicator, an idea by OndÅ™ej Bílka. malloca() can return three types of pointers: - Pointers ≡ 0 mod 2*sa_alignment_max come from stack allocation. - Pointers ≡ sa_alignment_max mod 2*sa_alignment_max come from heap allocation. - NULL comes from a failed heap allocation. */ #if defined __CHERI_PURE_CAPABILITY__ /* Type for holding the original malloc() result. */ typedef uintptr_t small_t; #else /* Type for holding very small pointer differences. */ typedef unsigned char small_t; /* Verify that it is wide enough. */ static_assert (2 * sa_alignment_max - 1 <= (small_t) -1); #endif void * mmalloca (size_t n) { #if HAVE_ALLOCA /* Allocate one more word, used to determine the address to pass to freea(), and room for the alignment ≡ sa_alignment_max mod 2*sa_alignment_max. */ uintptr_t alignment2_mask = 2 * sa_alignment_max - 1; int plus = sizeof (small_t) + alignment2_mask; idx_t nplus; if (!ckd_add (&nplus, n, plus) && !xalloc_oversized (nplus, 1)) { char *mem = (char *) malloc (nplus); if (mem != NULL) { uintptr_t umem = (uintptr_t) mem; /* The ckd_add avoids signed integer overflow on theoretical platforms where UINTPTR_MAX <= INT_MAX. */ uintptr_t umemplus; ckd_add (&umemplus, umem, sizeof (small_t) + sa_alignment_max - 1); idx_t offset = (umemplus - umemplus % (2 * sa_alignment_max) + sa_alignment_max - umem); void *p = mem + offset; /* Here p >= mem + sizeof (small_t), and p <= mem + sizeof (small_t) + 2 * sa_alignment_max - 1 hence p + n <= mem + nplus. So, the memory range [p, p+n) lies in the allocated memory range [mem, mem + nplus). */ small_t *sp = p; # if defined __CHERI_PURE_CAPABILITY__ sp[-1] = umem; p = (char *) cheri_bounds_set ((char *) p - sizeof (small_t), sizeof (small_t) + n) + sizeof (small_t); # else sp[-1] = offset; # endif /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */ return p; } } /* Out of memory. */ return NULL; #else # if !HAVE_MALLOC_0_NONNULL if (n == 0) n = 1; # endif return malloc (n); #endif } #if HAVE_ALLOCA void freea (void *p) { /* Check argument. */ uintptr_t u = (uintptr_t) p; if (u & (sa_alignment_max - 1)) { /* p was not the result of a malloca() call. Invalid argument. */ abort (); } /* Determine whether p was a non-NULL pointer returned by mmalloca(). */ if (u & sa_alignment_max) { char *cp = p; small_t *sp = p; # if defined __CHERI_PURE_CAPABILITY__ void *mem = (void *) sp[-1]; # else void *mem = cp - sp[-1]; # endif free (mem); } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/malloca.h0000644000000000000000000001262214767401140011132 /* Safe automatic memory allocation. Copyright (C) 2003-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _MALLOCA_H #define _MALLOCA_H /* This file uses _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC, HAVE_ALLOCA. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include #include #if defined __CHERI_PURE_CAPABILITY__ # include #endif #include "xalloc-oversized.h" #ifdef __cplusplus extern "C" { #endif /* safe_alloca(N) is equivalent to alloca(N) when it is safe to call alloca(N); otherwise it returns NULL. It either returns N bytes of memory allocated on the stack, that lasts until the function returns, or NULL. Use of safe_alloca should be avoided: - inside arguments of function calls - undefined behaviour, - in inline functions - the allocation may actually last until the calling function returns. */ #if HAVE_ALLOCA /* The OS usually guarantees only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely allocate anything larger than 4096 bytes. Also care for the possibility of a few compiler-allocated temporary stack slots. This must be a macro, not a function. */ # define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL) #else # define safe_alloca(N) ((void) (N), NULL) #endif /* Free a block of memory allocated through malloca(). */ #if HAVE_ALLOCA extern void freea (void *p); #else # define freea free #endif /* malloca(N) is a safe variant of alloca(N). It allocates N bytes of memory allocated on the stack, that must be freed using freea() before the function returns. Upon failure, it returns NULL. */ #if HAVE_ALLOCA # if defined __CHERI_PURE_CAPABILITY__ # define malloca(N) \ ((N) < 4032 - (2 * sa_alignment_max - 1) \ ? cheri_bounds_set ((void *) (((uintptr_t) \ (char *) \ alloca ((N) + 2 * sa_alignment_max - 1) \ + (2 * sa_alignment_max - 1)) \ & ~(uintptr_t)(2 * sa_alignment_max - 1)), \ (N)) \ : mmalloca (N)) # else # define malloca(N) \ ((N) < 4032 - (2 * sa_alignment_max - 1) \ ? (void *) (((uintptr_t) (char *) alloca ((N) + 2 * sa_alignment_max - 1) \ + (2 * sa_alignment_max - 1)) \ & ~(uintptr_t)(2 * sa_alignment_max - 1)) \ : mmalloca (N)) # endif #else # define malloca(N) \ mmalloca (N) #endif extern void *mmalloca (size_t n) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (freea, 1) _GL_ATTRIBUTE_ALLOC_SIZE ((1)); /* nmalloca(N,S) is an overflow-safe variant of malloca (N * S). It allocates an array of N objects, each with S bytes of memory, on the stack. N and S should be nonnegative and free of side effects. The array must be freed using freea() before the function returns. */ #define nmalloca(n, s) \ (xalloc_oversized (n, s) ? NULL : malloca ((n) * (size_t) (s))) #ifdef __cplusplus } #endif /* ------------------- Auxiliary, non-public definitions ------------------- */ /* Determine the alignment of a type at compile time. */ #if defined __GNUC__ || defined __clang__ || defined __IBM__ALIGNOF__ # define sa_alignof __alignof__ #elif defined __cplusplus template struct sa_alignof_helper { char __slot1; type __slot2; }; # define sa_alignof(type) offsetof (sa_alignof_helper, __slot2) #elif defined __hpux /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) #elif defined _AIX /* Work around an AIX 3.2.5 xlc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) #else # define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) #endif enum { /* The desired alignment of memory allocations is the maximum alignment among all elementary types. */ sa_alignment_long = sa_alignof (long), sa_alignment_double = sa_alignof (double), sa_alignment_longlong = sa_alignof (long long), sa_alignment_longdouble = sa_alignof (long double), sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1) | (sa_alignment_longlong - 1) | (sa_alignment_longdouble - 1) ) + 1 }; #endif /* _MALLOCA_H */ datamash-1.9/lib/math.c0000644000000000000000000000153314767401140010445 /* Inline functions for . Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define _GL_MATH_INLINE _GL_EXTERN_INLINE #include #include typedef int dummy; datamash-1.9/lib/math.in.h0000644000000000000000000026700714767401140011071 /* A GNU-like . Copyright (C) 2002-2003, 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* On Android, in C++ mode, when /usr/include/c++/v1/math.h is being included and /usr/include/math.h has not yet been included, skip this file, since it would lead to many syntax errors. */ #if !(defined __ANDROID__ && defined _LIBCPP_MATH_H && !defined INFINITY) #ifndef _@GUARD_PREFIX@_MATH_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _GL_INCLUDING_MATH_H /* Special invocation convention: - On FreeBSD 12.2 we have a sequence of nested includes -> -> -> -> -> -> -> -> In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_MATH_H@ #else /* Normal invocation convention. */ /* The include_next requires a split double-inclusion guard. */ #define _GL_INCLUDING_MATH_H #@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_MATH_H@ #undef _GL_INCLUDING_MATH_H #ifndef _@GUARD_PREFIX@_MATH_H #define _@GUARD_PREFIX@_MATH_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_CONST, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* On OpenVMS, NAN, INFINITY, and HUGEVAL macros are defined in . */ #if defined __VMS && ! defined NAN # include #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_MATH_INLINE # define _GL_MATH_INLINE _GL_INLINE #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __const__ was added in gcc 2.95. */ #ifndef _GL_ATTRIBUTE_CONST # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) || defined __clang__ # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) # else # define _GL_ATTRIBUTE_CONST /* empty */ # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #ifdef __cplusplus /* Helper macros to define type-generic function FUNC as overloaded functions, rather than as macros like in C. POSIX declares these with an argument of real-floating (that is, one of float, double, or long double). */ # define _GL_MATH_CXX_REAL_FLOATING_DECL_1(func) \ static inline int \ _gl_cxx_ ## func ## f (float f) \ { \ return func (f); \ } \ static inline int \ _gl_cxx_ ## func ## d (double d) \ { \ return func (d); \ } \ static inline int \ _gl_cxx_ ## func ## l (long double l) \ { \ return func (l); \ } # define _GL_MATH_CXX_REAL_FLOATING_DECL_2(func,rpl_func,rettype) \ _GL_BEGIN_NAMESPACE \ inline rettype \ rpl_func (float f) \ { \ return _gl_cxx_ ## func ## f (f); \ } \ inline rettype \ rpl_func (double d) \ { \ return _gl_cxx_ ## func ## d (d); \ } \ inline rettype \ rpl_func (long double l) \ { \ return _gl_cxx_ ## func ## l (l); \ } \ _GL_END_NAMESPACE #endif /* Helper macros to define a portability warning for the classification macro FUNC called with VALUE. POSIX declares the classification macros with an argument of real-floating (that is, one of float, double, or long double). */ #define _GL_WARN_REAL_FLOATING_DECL(func) \ _GL_MATH_INLINE int \ _GL_WARN_ON_USE_ATTRIBUTE (#func " is unportable - " \ "use gnulib module " #func " for portability") \ rpl_ ## func ## f (float f) \ { \ return func (f); \ } \ _GL_MATH_INLINE int \ _GL_WARN_ON_USE_ATTRIBUTE (#func " is unportable - " \ "use gnulib module " #func " for portability") \ rpl_ ## func ## d (double d) \ { \ return func (d); \ } \ _GL_MATH_INLINE int \ _GL_WARN_ON_USE_ATTRIBUTE (#func " is unportable - " \ "use gnulib module " #func " for portability") \ rpl_ ## func ## l (long double l) \ { \ return func (l); \ } #define _GL_WARN_REAL_FLOATING_IMPL(func, value) \ (sizeof (value) == sizeof (float) ? rpl_ ## func ## f (value) \ : sizeof (value) == sizeof (double) ? rpl_ ## func ## d (value) \ : rpl_ ## func ## l (value)) #if @REPLACE_ITOLD@ /* Pull in a function that fixes the 'int' to 'long double' conversion of glibc 2.7. */ _GL_EXTERN_C void _Qp_itoq (long double *, int); static void (*_gl_math_fix_itold) (long double *, int) = _Qp_itoq; #endif /* Ensure that INFINITY is a constant expression, of type 'float'. */ #if !defined INFINITY || (defined __FreeBSD__ && __FreeBSD__ < 8) || defined _AIX || defined __MINGW32__ # undef INFINITY # if defined __GNUC__ || defined __clang__ # define INFINITY (__builtin_inff ()) # else # define INFINITY (1.0f / 0.0f) # endif #endif /* POSIX allows platforms that don't support NAN. But all major machines in the past 15 years have supported something close to IEEE NaN, so we define this unconditionally. We also must define it on platforms like Solaris 10, where NAN is present but defined as a function pointer rather than a floating point constant. Also ensure that it is a constant expression, of type 'float'. */ #if !defined NAN || @REPLACE_NAN@ || (defined __FreeBSD__ && __FreeBSD__ < 8) || defined _AIX || defined __MINGW32__ # if !GNULIB_defined_NAN # undef NAN /* The Compaq (ex-DEC) C 6.4 compiler and the Microsoft MSVC 9 compiler choke on the expression 0.0 / 0.0. */ # if defined __DECC || defined _MSC_VER _GL_MATH_INLINE float _NaN () { static float zero = 0.0f; return zero / zero; } # define NAN (_NaN()) # elif defined __GNUC__ || defined __clang__ # define NAN (__builtin_nanf ("")) # else # define NAN (0.0f / 0.0f) # endif # define GNULIB_defined_NAN 1 # endif #endif /* Solaris 10 defines HUGE_VAL, but as a function pointer rather than a floating point constant. */ #if @REPLACE_HUGE_VAL@ # undef HUGE_VALF # define HUGE_VALF (1.0f / 0.0f) # undef HUGE_VAL # define HUGE_VAL (1.0 / 0.0) # undef HUGE_VALL # define HUGE_VALL (1.0L / 0.0L) #endif /* HUGE_VALF is a 'float' Infinity. */ #if !defined HUGE_VALF || (defined __FreeBSD__ && __FreeBSD__ < 6) # undef HUGE_VALF # if defined _MSC_VER /* The Microsoft MSVC 9 compiler chokes on the expression 1.0f / 0.0f. */ # define HUGE_VALF (1e25f * 1e25f) # elif defined __GNUC__ || defined __clang__ # define HUGE_VALF (__builtin_inff ()) # else # define HUGE_VALF (1.0f / 0.0f) # endif #endif /* HUGE_VAL is a 'double' Infinity. */ #if !defined HUGE_VAL || (defined __FreeBSD__ && __FreeBSD__ < 6) || defined _AIX # undef HUGE_VAL # if defined _MSC_VER /* The Microsoft MSVC 9 compiler chokes on the expression 1.0 / 0.0. */ # define HUGE_VAL (1e250 * 1e250) # elif defined __GNUC__ || defined __clang__ # define HUGE_VAL (__builtin_inf ()) # else # define HUGE_VAL (1.0 / 0.0) # endif #endif /* HUGE_VALL is a 'long double' Infinity. */ #if !defined HUGE_VALL || (defined __FreeBSD__ && __FreeBSD__ < 6) || defined _AIX # undef HUGE_VALL # if defined _MSC_VER /* The Microsoft MSVC 9 compiler chokes on the expression 1.0L / 0.0L. */ # define HUGE_VALL (1e250L * 1e250L) # elif defined __GNUC__ || defined __clang__ # define HUGE_VALL (__builtin_infl ()) # else # define HUGE_VALL (1.0L / 0.0L) # endif #endif #if !(defined FP_ILOGB0 && defined FP_ILOGBNAN) /* Ensure FP_ILOGB0 and FP_ILOGBNAN are defined. */ # if defined __NetBSD__ || defined __sgi /* NetBSD, IRIX 6.5: match what ilogb() does */ # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ # elif defined _AIX /* AIX 5.1: match what ilogb() does in AIX >= 5.2 */ # define FP_ILOGB0 (- 2147483647 - 1) /* INT_MIN */ # define FP_ILOGBNAN 2147483647 /* INT_MAX */ # elif defined __sun /* Solaris 9: match what ilogb() does */ # define FP_ILOGB0 (- 2147483647) /* - INT_MAX */ # define FP_ILOGBNAN 2147483647 /* INT_MAX */ # else /* Gnulib defined values. */ # define FP_ILOGB0 (- 2147483647) /* - INT_MAX */ # define FP_ILOGBNAN (- 2147483647 - 1) /* INT_MIN */ # endif #endif #if @GNULIB_ACOSF@ # if @REPLACE_ACOSF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef acosf # define acosf rpl_acosf # endif _GL_FUNCDECL_RPL (acosf, float, (float x), ); _GL_CXXALIAS_RPL (acosf, float, (float x)); # else # if !@HAVE_ACOSF@ # undef acosf _GL_FUNCDECL_SYS (acosf, float, (float x), ); # endif _GL_CXXALIAS_SYS (acosf, float, (float x)); # endif _GL_CXXALIASWARN (acosf); #elif defined GNULIB_POSIXCHECK # undef acosf # if HAVE_RAW_DECL_ACOSF _GL_WARN_ON_USE (acosf, "acosf is unportable - " "use gnulib module acosf for portability"); # endif #endif #if @GNULIB_ACOSL@ # if !@HAVE_ACOSL@ || !@HAVE_DECL_ACOSL@ # undef acosl _GL_FUNCDECL_SYS (acosl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (acosl, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (acosl); # endif #elif defined GNULIB_POSIXCHECK # undef acosl # if HAVE_RAW_DECL_ACOSL _GL_WARN_ON_USE (acosl, "acosl is unportable - " "use gnulib module acosl for portability"); # endif #endif #if @GNULIB_ASINF@ # if @REPLACE_ASINF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef asinf # define asinf rpl_asinf # endif _GL_FUNCDECL_RPL (asinf, float, (float x), ); _GL_CXXALIAS_RPL (asinf, float, (float x)); # else # if !@HAVE_ASINF@ # undef asinf _GL_FUNCDECL_SYS (asinf, float, (float x), ); # endif _GL_CXXALIAS_SYS (asinf, float, (float x)); # endif _GL_CXXALIASWARN (asinf); #elif defined GNULIB_POSIXCHECK # undef asinf # if HAVE_RAW_DECL_ASINF _GL_WARN_ON_USE (asinf, "asinf is unportable - " "use gnulib module asinf for portability"); # endif #endif #if @GNULIB_ASINL@ # if !@HAVE_ASINL@ || !@HAVE_DECL_ASINL@ # undef asinl _GL_FUNCDECL_SYS (asinl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (asinl, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (asinl); # endif #elif defined GNULIB_POSIXCHECK # undef asinl # if HAVE_RAW_DECL_ASINL _GL_WARN_ON_USE (asinl, "asinl is unportable - " "use gnulib module asinl for portability"); # endif #endif #if @GNULIB_ATANF@ # if @REPLACE_ATANF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef atanf # define atanf rpl_atanf # endif _GL_FUNCDECL_RPL (atanf, float, (float x), ); _GL_CXXALIAS_RPL (atanf, float, (float x)); # else # if !@HAVE_ATANF@ # undef atanf _GL_FUNCDECL_SYS (atanf, float, (float x), ); # endif _GL_CXXALIAS_SYS (atanf, float, (float x)); # endif _GL_CXXALIASWARN (atanf); #elif defined GNULIB_POSIXCHECK # undef atanf # if HAVE_RAW_DECL_ATANF _GL_WARN_ON_USE (atanf, "atanf is unportable - " "use gnulib module atanf for portability"); # endif #endif #if @GNULIB_ATANL@ # if !@HAVE_ATANL@ || !@HAVE_DECL_ATANL@ # undef atanl _GL_FUNCDECL_SYS (atanl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (atanl, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (atanl); # endif #elif defined GNULIB_POSIXCHECK # undef atanl # if HAVE_RAW_DECL_ATANL _GL_WARN_ON_USE (atanl, "atanl is unportable - " "use gnulib module atanl for portability"); # endif #endif #if @GNULIB_ATAN2F@ # if @REPLACE_ATAN2F@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef atan2f # define atan2f rpl_atan2f # endif _GL_FUNCDECL_RPL (atan2f, float, (float y, float x), ); _GL_CXXALIAS_RPL (atan2f, float, (float y, float x)); # else # if !@HAVE_ATAN2F@ # undef atan2f _GL_FUNCDECL_SYS (atan2f, float, (float y, float x), ); # endif _GL_CXXALIAS_SYS (atan2f, float, (float y, float x)); # endif _GL_CXXALIASWARN (atan2f); #elif defined GNULIB_POSIXCHECK # undef atan2f # if HAVE_RAW_DECL_ATAN2F _GL_WARN_ON_USE (atan2f, "atan2f is unportable - " "use gnulib module atan2f for portability"); # endif #endif #if @GNULIB_CBRTF@ # if @REPLACE_CBRTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef cbrtf # define cbrtf rpl_cbrtf # endif _GL_FUNCDECL_RPL (cbrtf, float, (float x), ); _GL_CXXALIAS_RPL (cbrtf, float, (float x)); # else # if !@HAVE_DECL_CBRTF@ _GL_FUNCDECL_SYS (cbrtf, float, (float x), ); # endif _GL_CXXALIAS_SYS (cbrtf, float, (float x)); # endif _GL_CXXALIASWARN (cbrtf); #elif defined GNULIB_POSIXCHECK # undef cbrtf # if HAVE_RAW_DECL_CBRTF _GL_WARN_ON_USE (cbrtf, "cbrtf is unportable - " "use gnulib module cbrtf for portability"); # endif #endif #if @GNULIB_CBRT@ # if !@HAVE_CBRT@ _GL_FUNCDECL_SYS (cbrt, double, (double x), ); # endif _GL_CXXALIAS_SYS (cbrt, double, (double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (cbrt, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef cbrt # if HAVE_RAW_DECL_CBRT _GL_WARN_ON_USE (cbrt, "cbrt is unportable - " "use gnulib module cbrt for portability"); # endif #endif #if @GNULIB_CBRTL@ # if @REPLACE_CBRTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef cbrtl # define cbrtl rpl_cbrtl # endif _GL_FUNCDECL_RPL (cbrtl, long double, (long double x), ); _GL_CXXALIAS_RPL (cbrtl, long double, (long double x)); # else # if !@HAVE_DECL_CBRTL@ _GL_FUNCDECL_SYS (cbrtl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (cbrtl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (cbrtl); # endif #elif defined GNULIB_POSIXCHECK # undef cbrtl # if HAVE_RAW_DECL_CBRTL _GL_WARN_ON_USE (cbrtl, "cbrtl is unportable - " "use gnulib module cbrtl for portability"); # endif #endif #if @GNULIB_CEILF@ # if @REPLACE_CEILF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ceilf # define ceilf rpl_ceilf # endif _GL_FUNCDECL_RPL (ceilf, float, (float x), ); _GL_CXXALIAS_RPL (ceilf, float, (float x)); # else # if !@HAVE_DECL_CEILF@ # undef ceilf _GL_FUNCDECL_SYS (ceilf, float, (float x), ); # endif _GL_CXXALIAS_SYS (ceilf, float, (float x)); # endif _GL_CXXALIASWARN (ceilf); #elif defined GNULIB_POSIXCHECK # undef ceilf # if HAVE_RAW_DECL_CEILF _GL_WARN_ON_USE (ceilf, "ceilf is unportable - " "use gnulib module ceilf for portability"); # endif #endif #if @GNULIB_CEIL@ # if @REPLACE_CEIL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ceil # define ceil rpl_ceil # endif _GL_FUNCDECL_RPL (ceil, double, (double x), ); _GL_CXXALIAS_RPL (ceil, double, (double x)); # else _GL_CXXALIAS_SYS (ceil, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (ceil, double, (double x)); # endif #endif #if @GNULIB_CEILL@ # if @REPLACE_CEILL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ceill # define ceill rpl_ceill # endif _GL_FUNCDECL_RPL (ceill, long double, (long double x), ); _GL_CXXALIAS_RPL (ceill, long double, (long double x)); # else # if !@HAVE_DECL_CEILL@ # undef ceill _GL_FUNCDECL_SYS (ceill, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (ceill, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ceill); # endif #elif defined GNULIB_POSIXCHECK # undef ceill # if HAVE_RAW_DECL_CEILL _GL_WARN_ON_USE (ceill, "ceill is unportable - " "use gnulib module ceill for portability"); # endif #endif #if @GNULIB_COPYSIGNF@ # if !@HAVE_DECL_COPYSIGNF@ # undef copysignf _GL_FUNCDECL_SYS (copysignf, float, (float x, float y), ); # endif _GL_CXXALIAS_SYS (copysignf, float, (float x, float y)); _GL_CXXALIASWARN (copysignf); #elif defined GNULIB_POSIXCHECK # undef copysignf # if HAVE_RAW_DECL_COPYSIGNF _GL_WARN_ON_USE (copysignf, "copysignf is unportable - " "use gnulib module copysignf for portability"); # endif #endif #if @GNULIB_COPYSIGN@ # if !@HAVE_COPYSIGN@ _GL_FUNCDECL_SYS (copysign, double, (double x, double y), ); # endif _GL_CXXALIAS_SYS (copysign, double, (double x, double y)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (copysign, double, (double x, double y)); # endif #elif defined GNULIB_POSIXCHECK # undef copysign # if HAVE_RAW_DECL_COPYSIGN _GL_WARN_ON_USE (copysign, "copysign is unportable - " "use gnulib module copysign for portability"); # endif #endif #if @GNULIB_COPYSIGNL@ # if !@HAVE_COPYSIGNL@ _GL_FUNCDECL_SYS (copysignl, long double, (long double x, long double y), ); # endif _GL_CXXALIAS_SYS (copysignl, long double, (long double x, long double y)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (copysignl); # endif #elif defined GNULIB_POSIXCHECK # undef copysignl # if HAVE_RAW_DECL_COPYSIGNL _GL_WARN_ON_USE (copysign, "copysignl is unportable - " "use gnulib module copysignl for portability"); # endif #endif #if @GNULIB_COSF@ # if @REPLACE_COSF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef cosf # define cosf rpl_cosf # endif _GL_FUNCDECL_RPL (cosf, float, (float x), ); _GL_CXXALIAS_RPL (cosf, float, (float x)); # else # if !@HAVE_COSF@ # undef cosf _GL_FUNCDECL_SYS (cosf, float, (float x), ); # endif _GL_CXXALIAS_SYS (cosf, float, (float x)); # endif _GL_CXXALIASWARN (cosf); #elif defined GNULIB_POSIXCHECK # undef cosf # if HAVE_RAW_DECL_COSF _GL_WARN_ON_USE (cosf, "cosf is unportable - " "use gnulib module cosf for portability"); # endif #endif #if @GNULIB_COSL@ # if !@HAVE_COSL@ || !@HAVE_DECL_COSL@ # undef cosl _GL_FUNCDECL_SYS (cosl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (cosl, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (cosl); # endif #elif defined GNULIB_POSIXCHECK # undef cosl # if HAVE_RAW_DECL_COSL _GL_WARN_ON_USE (cosl, "cosl is unportable - " "use gnulib module cosl for portability"); # endif #endif #if @GNULIB_COSHF@ # if @REPLACE_COSHF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef coshf # define coshf rpl_coshf # endif _GL_FUNCDECL_RPL (coshf, float, (float x), ); _GL_CXXALIAS_RPL (coshf, float, (float x)); # else # if !@HAVE_COSHF@ # undef coshf _GL_FUNCDECL_SYS (coshf, float, (float x), ); # endif _GL_CXXALIAS_SYS (coshf, float, (float x)); # endif _GL_CXXALIASWARN (coshf); #elif defined GNULIB_POSIXCHECK # undef coshf # if HAVE_RAW_DECL_COSHF _GL_WARN_ON_USE (coshf, "coshf is unportable - " "use gnulib module coshf for portability"); # endif #endif #if @GNULIB_EXPF@ # if @REPLACE_EXPF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef expf # define expf rpl_expf # endif _GL_FUNCDECL_RPL (expf, float, (float x), ); _GL_CXXALIAS_RPL (expf, float, (float x)); # else # if !@HAVE_EXPF@ # undef expf _GL_FUNCDECL_SYS (expf, float, (float x), ); # endif _GL_CXXALIAS_SYS (expf, float, (float x)); # endif _GL_CXXALIASWARN (expf); #elif defined GNULIB_POSIXCHECK # undef expf # if HAVE_RAW_DECL_EXPF _GL_WARN_ON_USE (expf, "expf is unportable - " "use gnulib module expf for portability"); # endif #endif #if @GNULIB_EXPL@ # if @REPLACE_EXPL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef expl # define expl rpl_expl # endif _GL_FUNCDECL_RPL (expl, long double, (long double x), ); _GL_CXXALIAS_RPL (expl, long double, (long double x)); # else # if !@HAVE_EXPL@ || !@HAVE_DECL_EXPL@ # undef expl _GL_FUNCDECL_SYS (expl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (expl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (expl); # endif #elif defined GNULIB_POSIXCHECK # undef expl # if HAVE_RAW_DECL_EXPL _GL_WARN_ON_USE (expl, "expl is unportable - " "use gnulib module expl for portability"); # endif #endif #if @GNULIB_EXP2F@ # if !@HAVE_DECL_EXP2F@ _GL_FUNCDECL_SYS (exp2f, float, (float x), ); # endif _GL_CXXALIAS_SYS (exp2f, float, (float x)); _GL_CXXALIASWARN (exp2f); #elif defined GNULIB_POSIXCHECK # undef exp2f # if HAVE_RAW_DECL_EXP2F _GL_WARN_ON_USE (exp2f, "exp2f is unportable - " "use gnulib module exp2f for portability"); # endif #endif #if @GNULIB_EXP2@ # if @REPLACE_EXP2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef exp2 # define exp2 rpl_exp2 # endif _GL_FUNCDECL_RPL (exp2, double, (double x), ); _GL_CXXALIAS_RPL (exp2, double, (double x)); # else # if !@HAVE_DECL_EXP2@ _GL_FUNCDECL_SYS (exp2, double, (double x), ); # endif _GL_CXXALIAS_SYS (exp2, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (exp2, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef exp2 # if HAVE_RAW_DECL_EXP2 _GL_WARN_ON_USE (exp2, "exp2 is unportable - " "use gnulib module exp2 for portability"); # endif #endif #if @GNULIB_EXP2L@ # if @REPLACE_EXP2L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef exp2l # define exp2l rpl_exp2l # endif _GL_FUNCDECL_RPL (exp2l, long double, (long double x), ); _GL_CXXALIAS_RPL (exp2l, long double, (long double x)); # else # if !@HAVE_DECL_EXP2L@ # undef exp2l _GL_FUNCDECL_SYS (exp2l, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (exp2l, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (exp2l); # endif #elif defined GNULIB_POSIXCHECK # undef exp2l # if HAVE_RAW_DECL_EXP2L _GL_WARN_ON_USE (exp2l, "exp2l is unportable - " "use gnulib module exp2l for portability"); # endif #endif #if @GNULIB_EXPM1F@ # if @REPLACE_EXPM1F@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef expm1f # define expm1f rpl_expm1f # endif _GL_FUNCDECL_RPL (expm1f, float, (float x), ); _GL_CXXALIAS_RPL (expm1f, float, (float x)); # else # if !@HAVE_EXPM1F@ _GL_FUNCDECL_SYS (expm1f, float, (float x), ); # endif _GL_CXXALIAS_SYS (expm1f, float, (float x)); # endif _GL_CXXALIASWARN (expm1f); #elif defined GNULIB_POSIXCHECK # undef expm1f # if HAVE_RAW_DECL_EXPM1F _GL_WARN_ON_USE (expm1f, "expm1f is unportable - " "use gnulib module expm1f for portability"); # endif #endif #if @GNULIB_EXPM1@ # if @REPLACE_EXPM1@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef expm1 # define expm1 rpl_expm1 # endif _GL_FUNCDECL_RPL (expm1, double, (double x), ); _GL_CXXALIAS_RPL (expm1, double, (double x)); # else # if !@HAVE_EXPM1@ _GL_FUNCDECL_SYS (expm1, double, (double x), ); # endif _GL_CXXALIAS_SYS (expm1, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (expm1, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef expm1 # if HAVE_RAW_DECL_EXPM1 _GL_WARN_ON_USE (expm1, "expm1 is unportable - " "use gnulib module expm1 for portability"); # endif #endif #if @GNULIB_EXPM1L@ # if @REPLACE_EXPM1L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef expm1l # define expm1l rpl_expm1l # endif _GL_FUNCDECL_RPL (expm1l, long double, (long double x), ); _GL_CXXALIAS_RPL (expm1l, long double, (long double x)); # else # if !@HAVE_DECL_EXPM1L@ # undef expm1l # if !(defined __cplusplus && defined _AIX) _GL_FUNCDECL_SYS (expm1l, long double, (long double x), ); # endif # endif _GL_CXXALIAS_SYS (expm1l, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (expm1l); # endif #elif defined GNULIB_POSIXCHECK # undef expm1l # if HAVE_RAW_DECL_EXPM1L _GL_WARN_ON_USE (expm1l, "expm1l is unportable - " "use gnulib module expm1l for portability"); # endif #endif #if @GNULIB_FABSF@ # if !@HAVE_FABSF@ # undef fabsf _GL_FUNCDECL_SYS (fabsf, float, (float x), ); # endif _GL_CXXALIAS_SYS (fabsf, float, (float x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fabsf); # endif #elif defined GNULIB_POSIXCHECK # undef fabsf # if HAVE_RAW_DECL_FABSF _GL_WARN_ON_USE (fabsf, "fabsf is unportable - " "use gnulib module fabsf for portability"); # endif #endif #if @GNULIB_FABSL@ # if @REPLACE_FABSL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fabsl # define fabsl rpl_fabsl # endif _GL_FUNCDECL_RPL (fabsl, long double, (long double x), ); _GL_CXXALIAS_RPL (fabsl, long double, (long double x)); # else # if !@HAVE_FABSL@ # undef fabsl _GL_FUNCDECL_SYS (fabsl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (fabsl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fabsl); # endif #elif defined GNULIB_POSIXCHECK # undef fabsl # if HAVE_RAW_DECL_FABSL _GL_WARN_ON_USE (fabsl, "fabsl is unportable - " "use gnulib module fabsl for portability"); # endif #endif #if @GNULIB_FLOORF@ # if @REPLACE_FLOORF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef floorf # define floorf rpl_floorf # endif _GL_FUNCDECL_RPL (floorf, float, (float x), ); _GL_CXXALIAS_RPL (floorf, float, (float x)); # else # if !@HAVE_DECL_FLOORF@ # undef floorf _GL_FUNCDECL_SYS (floorf, float, (float x), ); # endif _GL_CXXALIAS_SYS (floorf, float, (float x)); # endif _GL_CXXALIASWARN (floorf); #elif defined GNULIB_POSIXCHECK # undef floorf # if HAVE_RAW_DECL_FLOORF _GL_WARN_ON_USE (floorf, "floorf is unportable - " "use gnulib module floorf for portability"); # endif #endif #if @GNULIB_FLOOR@ # if @REPLACE_FLOOR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef floor # define floor rpl_floor # endif _GL_FUNCDECL_RPL (floor, double, (double x), ); _GL_CXXALIAS_RPL (floor, double, (double x)); # else _GL_CXXALIAS_SYS (floor, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (floor, double, (double x)); # endif #endif #if @GNULIB_FLOORL@ # if @REPLACE_FLOORL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef floorl # define floorl rpl_floorl # endif _GL_FUNCDECL_RPL (floorl, long double, (long double x), ); _GL_CXXALIAS_RPL (floorl, long double, (long double x)); # else # if !@HAVE_DECL_FLOORL@ # undef floorl _GL_FUNCDECL_SYS (floorl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (floorl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (floorl); # endif #elif defined GNULIB_POSIXCHECK # undef floorl # if HAVE_RAW_DECL_FLOORL _GL_WARN_ON_USE (floorl, "floorl is unportable - " "use gnulib module floorl for portability"); # endif #endif #if @GNULIB_FMAF@ # if @REPLACE_FMAF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fmaf # define fmaf rpl_fmaf # endif _GL_FUNCDECL_RPL (fmaf, float, (float x, float y, float z), ); _GL_CXXALIAS_RPL (fmaf, float, (float x, float y, float z)); # else # if !@HAVE_FMAF@ # undef fmaf _GL_FUNCDECL_SYS (fmaf, float, (float x, float y, float z), ); # endif _GL_CXXALIAS_SYS (fmaf, float, (float x, float y, float z)); # endif _GL_CXXALIASWARN (fmaf); #elif defined GNULIB_POSIXCHECK # undef fmaf # if HAVE_RAW_DECL_FMAF _GL_WARN_ON_USE (fmaf, "fmaf is unportable - " "use gnulib module fmaf for portability"); # endif #endif #if @GNULIB_FMA@ # if @REPLACE_FMA@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fma # define fma rpl_fma # endif _GL_FUNCDECL_RPL (fma, double, (double x, double y, double z), ); _GL_CXXALIAS_RPL (fma, double, (double x, double y, double z)); # else # if !@HAVE_FMA@ # undef fma _GL_FUNCDECL_SYS (fma, double, (double x, double y, double z), ); # endif _GL_CXXALIAS_SYS (fma, double, (double x, double y, double z)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (fma, double, (double x, double y, double z)); # endif #elif defined GNULIB_POSIXCHECK # undef fma # if HAVE_RAW_DECL_FMA _GL_WARN_ON_USE (fma, "fma is unportable - " "use gnulib module fma for portability"); # endif #endif #if @GNULIB_FMAL@ # if @REPLACE_FMAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fmal # define fmal rpl_fmal # endif _GL_FUNCDECL_RPL (fmal, long double, (long double x, long double y, long double z), ); _GL_CXXALIAS_RPL (fmal, long double, (long double x, long double y, long double z)); # else # if !@HAVE_FMAL@ # undef fmal # if !(defined __cplusplus && defined _AIX) _GL_FUNCDECL_SYS (fmal, long double, (long double x, long double y, long double z), ); # endif # endif _GL_CXXALIAS_SYS (fmal, long double, (long double x, long double y, long double z)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fmal); # endif #elif defined GNULIB_POSIXCHECK # undef fmal # if HAVE_RAW_DECL_FMAL _GL_WARN_ON_USE (fmal, "fmal is unportable - " "use gnulib module fmal for portability"); # endif #endif #if @GNULIB_FMODF@ # if @REPLACE_FMODF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fmodf # define fmodf rpl_fmodf # endif _GL_FUNCDECL_RPL (fmodf, float, (float x, float y), ); _GL_CXXALIAS_RPL (fmodf, float, (float x, float y)); # else # if !@HAVE_FMODF@ # undef fmodf _GL_FUNCDECL_SYS (fmodf, float, (float x, float y), ); # endif _GL_CXXALIAS_SYS (fmodf, float, (float x, float y)); # endif _GL_CXXALIASWARN (fmodf); #elif defined GNULIB_POSIXCHECK # undef fmodf # if HAVE_RAW_DECL_FMODF _GL_WARN_ON_USE (fmodf, "fmodf is unportable - " "use gnulib module fmodf for portability"); # endif #endif #if @GNULIB_FMOD@ # if @REPLACE_FMOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fmod # define fmod rpl_fmod # endif _GL_FUNCDECL_RPL (fmod, double, (double x, double y), ); _GL_CXXALIAS_RPL (fmod, double, (double x, double y)); # else _GL_CXXALIAS_SYS (fmod, double, (double x, double y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (fmod, double, (double x, double y)); # endif #elif defined GNULIB_POSIXCHECK # undef fmod # if HAVE_RAW_DECL_FMOD _GL_WARN_ON_USE (fmod, "fmod has portability problems - " "use gnulib module fmod for portability"); # endif #endif #if @GNULIB_FMODL@ # if @REPLACE_FMODL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fmodl # define fmodl rpl_fmodl # endif _GL_FUNCDECL_RPL (fmodl, long double, (long double x, long double y), ); _GL_CXXALIAS_RPL (fmodl, long double, (long double x, long double y)); # else # if !@HAVE_FMODL@ # undef fmodl _GL_FUNCDECL_SYS (fmodl, long double, (long double x, long double y), ); # endif _GL_CXXALIAS_SYS (fmodl, long double, (long double x, long double y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fmodl); # endif #elif defined GNULIB_POSIXCHECK # undef fmodl # if HAVE_RAW_DECL_FMODL _GL_WARN_ON_USE (fmodl, "fmodl is unportable - " "use gnulib module fmodl for portability"); # endif #endif /* Write x as x = mantissa * 2^exp where If x finite and nonzero: 0.5 <= |mantissa| < 1.0. If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. Store exp in *EXPPTR and return mantissa. */ #if @GNULIB_FREXPF@ # if @REPLACE_FREXPF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef frexpf # define frexpf rpl_frexpf # endif _GL_FUNCDECL_RPL (frexpf, float, (float x, int *expptr), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (frexpf, float, (float x, int *expptr)); # else # if !@HAVE_FREXPF@ # undef frexpf _GL_FUNCDECL_SYS (frexpf, float, (float x, int *expptr), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (frexpf, float, (float x, int *expptr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (frexpf); # endif #elif defined GNULIB_POSIXCHECK # undef frexpf # if HAVE_RAW_DECL_FREXPF _GL_WARN_ON_USE (frexpf, "frexpf is unportable - " "use gnulib module frexpf for portability"); # endif #endif /* Write x as x = mantissa * 2^exp where If x finite and nonzero: 0.5 <= |mantissa| < 1.0. If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. Store exp in *EXPPTR and return mantissa. */ #if @GNULIB_FREXP@ # if @REPLACE_FREXP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef frexp # define frexp rpl_frexp # endif _GL_FUNCDECL_RPL (frexp, double, (double x, int *expptr), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (frexp, double, (double x, int *expptr)); # else _GL_CXXALIAS_SYS (frexp, double, (double x, int *expptr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (frexp, double, (double x, int *expptr)); # endif #elif defined GNULIB_POSIXCHECK # undef frexp /* Assume frexp is always declared. */ _GL_WARN_ON_USE (frexp, "frexp is unportable - " "use gnulib module frexp for portability"); #endif /* Write x as x = mantissa * 2^exp where If x finite and nonzero: 0.5 <= |mantissa| < 1.0. If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. Store exp in *EXPPTR and return mantissa. */ #if @GNULIB_FREXPL@ && @REPLACE_FREXPL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef frexpl # define frexpl rpl_frexpl # endif _GL_FUNCDECL_RPL (frexpl, long double, (long double x, int *expptr), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (frexpl, long double, (long double x, int *expptr)); #else # if !@HAVE_DECL_FREXPL@ _GL_FUNCDECL_SYS (frexpl, long double, (long double x, int *expptr), _GL_ARG_NONNULL ((2))); # endif # if @GNULIB_FREXPL@ _GL_CXXALIAS_SYS (frexpl, long double, (long double x, int *expptr)); # endif #endif #if @GNULIB_FREXPL@ && !(@REPLACE_FREXPL@ && !@HAVE_DECL_FREXPL@) # if __GLIBC__ >= 2 _GL_CXXALIASWARN (frexpl); # endif #endif #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK # undef frexpl # if HAVE_RAW_DECL_FREXPL _GL_WARN_ON_USE (frexpl, "frexpl is unportable - " "use gnulib module frexpl for portability"); # endif #endif /* Return sqrt(x^2+y^2). */ #if @GNULIB_HYPOTF@ # if @REPLACE_HYPOTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef hypotf # define hypotf rpl_hypotf # endif _GL_FUNCDECL_RPL (hypotf, float, (float x, float y), ); _GL_CXXALIAS_RPL (hypotf, float, (float x, float y)); # else # if !@HAVE_HYPOTF@ _GL_FUNCDECL_SYS (hypotf, float, (float x, float y), ); # endif _GL_CXXALIAS_SYS (hypotf, float, (float x, float y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (hypotf); # endif #elif defined GNULIB_POSIXCHECK # undef hypotf # if HAVE_RAW_DECL_HYPOTF _GL_WARN_ON_USE (hypotf, "hypotf is unportable - " "use gnulib module hypotf for portability"); # endif #endif /* Return sqrt(x^2+y^2). */ #if @GNULIB_HYPOT@ # if @REPLACE_HYPOT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef hypot # define hypot rpl_hypot # endif _GL_FUNCDECL_RPL (hypot, double, (double x, double y), ); _GL_CXXALIAS_RPL (hypot, double, (double x, double y)); # else _GL_CXXALIAS_SYS (hypot, double, (double x, double y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (hypot, double, (double x, double y)); # endif #elif defined GNULIB_POSIXCHECK # undef hypot # if HAVE_RAW_DECL_HYPOT _GL_WARN_ON_USE (hypotf, "hypot has portability problems - " "use gnulib module hypot for portability"); # endif #endif /* Return sqrt(x^2+y^2). */ #if @GNULIB_HYPOTL@ # if @REPLACE_HYPOTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef hypotl # define hypotl rpl_hypotl # endif _GL_FUNCDECL_RPL (hypotl, long double, (long double x, long double y), ); _GL_CXXALIAS_RPL (hypotl, long double, (long double x, long double y)); # else # if !@HAVE_HYPOTL@ _GL_FUNCDECL_SYS (hypotl, long double, (long double x, long double y), ); # endif _GL_CXXALIAS_SYS (hypotl, long double, (long double x, long double y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (hypotl); # endif #elif defined GNULIB_POSIXCHECK # undef hypotl # if HAVE_RAW_DECL_HYPOTL _GL_WARN_ON_USE (hypotl, "hypotl is unportable - " "use gnulib module hypotl for portability"); # endif #endif #if @GNULIB_ILOGBF@ # if @REPLACE_ILOGBF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ilogbf # define ilogbf rpl_ilogbf # endif _GL_FUNCDECL_RPL (ilogbf, int, (float x), ); _GL_CXXALIAS_RPL (ilogbf, int, (float x)); # else # if !@HAVE_ILOGBF@ _GL_FUNCDECL_SYS (ilogbf, int, (float x), ); # endif _GL_CXXALIAS_SYS (ilogbf, int, (float x)); # endif _GL_CXXALIASWARN (ilogbf); #elif defined GNULIB_POSIXCHECK # undef ilogbf # if HAVE_RAW_DECL_ILOGBF _GL_WARN_ON_USE (ilogbf, "ilogbf is unportable - " "use gnulib module ilogbf for portability"); # endif #endif #if @GNULIB_ILOGB@ # if @REPLACE_ILOGB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ilogb # define ilogb rpl_ilogb # endif _GL_FUNCDECL_RPL (ilogb, int, (double x), ); _GL_CXXALIAS_RPL (ilogb, int, (double x)); # else # if !@HAVE_ILOGB@ _GL_FUNCDECL_SYS (ilogb, int, (double x), ); # endif _GL_CXXALIAS_SYS (ilogb, int, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (ilogb, int, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef ilogb # if HAVE_RAW_DECL_ILOGB _GL_WARN_ON_USE (ilogb, "ilogb is unportable - " "use gnulib module ilogb for portability"); # endif #endif #if @GNULIB_ILOGBL@ # if @REPLACE_ILOGBL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ilogbl # define ilogbl rpl_ilogbl # endif _GL_FUNCDECL_RPL (ilogbl, int, (long double x), ); _GL_CXXALIAS_RPL (ilogbl, int, (long double x)); # else # if !@HAVE_ILOGBL@ # undef ilogbl _GL_FUNCDECL_SYS (ilogbl, int, (long double x), ); # endif _GL_CXXALIAS_SYS (ilogbl, int, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ilogbl); # endif #elif defined GNULIB_POSIXCHECK # undef ilogbl # if HAVE_RAW_DECL_ILOGBL _GL_WARN_ON_USE (ilogbl, "ilogbl is unportable - " "use gnulib module ilogbl for portability"); # endif #endif #if @GNULIB_MDA_J0@ /* On native Windows, map 'j0' to '_j0', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::j0 always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef j0 # define j0 _j0 # endif _GL_CXXALIAS_MDA (j0, double, (double x)); # else _GL_CXXALIAS_SYS (j0, double, (double x)); # endif _GL_CXXALIASWARN (j0); #endif #if @GNULIB_MDA_J1@ /* On native Windows, map 'j1' to '_j1', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::j1 always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef j1 # define j1 _j1 # endif _GL_CXXALIAS_MDA (j1, double, (double x)); # else _GL_CXXALIAS_SYS (j1, double, (double x)); # endif _GL_CXXALIASWARN (j1); #endif #if @GNULIB_MDA_JN@ /* On native Windows, map 'jn' to '_jn', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::jn always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef jn # define jn _jn # endif _GL_CXXALIAS_MDA (jn, double, (int n, double x)); # else _GL_CXXALIAS_SYS (jn, double, (int n, double x)); # endif _GL_CXXALIASWARN (jn); #endif /* Return x * 2^exp. */ #if @GNULIB_LDEXPF@ # if !@HAVE_LDEXPF@ # undef ldexpf _GL_FUNCDECL_SYS (ldexpf, float, (float x, int exp), ); # endif _GL_CXXALIAS_SYS (ldexpf, float, (float x, int exp)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ldexpf); # endif #elif defined GNULIB_POSIXCHECK # undef ldexpf # if HAVE_RAW_DECL_LDEXPF _GL_WARN_ON_USE (ldexpf, "ldexpf is unportable - " "use gnulib module ldexpf for portability"); # endif #endif /* Return x * 2^exp. */ #if @GNULIB_LDEXP@ # if @REPLACE_LDEXP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ldexp # define ldexp rpl_ldexp # endif _GL_FUNCDECL_RPL (ldexp, double, (double x, int exp), ); _GL_CXXALIAS_RPL (ldexp, double, (double x, int exp)); # else /* Assume ldexp is always declared. */ _GL_CXXALIAS_SYS (ldexp, double, (double x, int exp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (ldexp, double, (double x, int exp)); # endif #elif defined GNULIB_POSIXCHECK # undef ldexp /* Assume ldexp is always declared. */ _GL_WARN_ON_USE (ldexp, "ldexp is unportable - " "use gnulib module ldexp for portability"); #endif /* Return x * 2^exp. */ #if @GNULIB_LDEXPL@ && @REPLACE_LDEXPL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ldexpl # define ldexpl rpl_ldexpl # endif _GL_FUNCDECL_RPL (ldexpl, long double, (long double x, int exp), ); _GL_CXXALIAS_RPL (ldexpl, long double, (long double x, int exp)); #else # if !@HAVE_DECL_LDEXPL@ _GL_FUNCDECL_SYS (ldexpl, long double, (long double x, int exp), ); # endif # if @GNULIB_LDEXPL@ _GL_CXXALIAS_SYS (ldexpl, long double, (long double x, int exp)); # endif #endif #if @GNULIB_LDEXPL@ # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ldexpl); # endif #endif #if !@GNULIB_LDEXPL@ && defined GNULIB_POSIXCHECK # undef ldexpl # if HAVE_RAW_DECL_LDEXPL _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - " "use gnulib module ldexpl for portability"); # endif #endif #if @GNULIB_LOGF@ # if @REPLACE_LOGF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef logf # define logf rpl_logf # endif _GL_FUNCDECL_RPL (logf, float, (float x), ); _GL_CXXALIAS_RPL (logf, float, (float x)); # else # if !@HAVE_LOGF@ # undef logf _GL_FUNCDECL_SYS (logf, float, (float x), ); # endif _GL_CXXALIAS_SYS (logf, float, (float x)); # endif _GL_CXXALIASWARN (logf); #elif defined GNULIB_POSIXCHECK # undef logf # if HAVE_RAW_DECL_LOGF _GL_WARN_ON_USE (logf, "logf is unportable - " "use gnulib module logf for portability"); # endif #endif #if @GNULIB_LOG@ # if @REPLACE_LOG@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log # define log rpl_log # endif _GL_FUNCDECL_RPL (log, double, (double x), ); _GL_CXXALIAS_RPL (log, double, (double x)); # else _GL_CXXALIAS_SYS (log, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (log, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef log # if HAVE_RAW_DECL_LOG _GL_WARN_ON_USE (log, "log has portability problems - " "use gnulib module log for portability"); # endif #endif #if @GNULIB_LOGL@ # if @REPLACE_LOGL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef logl # define logl rpl_logl # endif _GL_FUNCDECL_RPL (logl, long double, (long double x), ); _GL_CXXALIAS_RPL (logl, long double, (long double x)); # else # if !@HAVE_LOGL@ || !@HAVE_DECL_LOGL@ # undef logl _GL_FUNCDECL_SYS (logl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (logl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (logl); # endif #elif defined GNULIB_POSIXCHECK # undef logl # if HAVE_RAW_DECL_LOGL _GL_WARN_ON_USE (logl, "logl is unportable - " "use gnulib module logl for portability"); # endif #endif #if @GNULIB_LOG10F@ # if @REPLACE_LOG10F@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log10f # define log10f rpl_log10f # endif _GL_FUNCDECL_RPL (log10f, float, (float x), ); _GL_CXXALIAS_RPL (log10f, float, (float x)); # else # if !@HAVE_LOG10F@ # undef log10f _GL_FUNCDECL_SYS (log10f, float, (float x), ); # endif _GL_CXXALIAS_SYS (log10f, float, (float x)); # endif _GL_CXXALIASWARN (log10f); #elif defined GNULIB_POSIXCHECK # undef log10f # if HAVE_RAW_DECL_LOG10F _GL_WARN_ON_USE (log10f, "log10f is unportable - " "use gnulib module log10f for portability"); # endif #endif #if @GNULIB_LOG10@ # if @REPLACE_LOG10@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log10 # define log10 rpl_log10 # endif _GL_FUNCDECL_RPL (log10, double, (double x), ); _GL_CXXALIAS_RPL (log10, double, (double x)); # else _GL_CXXALIAS_SYS (log10, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (log10, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef log10 # if HAVE_RAW_DECL_LOG10 _GL_WARN_ON_USE (log10, "log10 has portability problems - " "use gnulib module log10 for portability"); # endif #endif #if @GNULIB_LOG10L@ # if @REPLACE_LOG10L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log10l # define log10l rpl_log10l # endif _GL_FUNCDECL_RPL (log10l, long double, (long double x), ); _GL_CXXALIAS_RPL (log10l, long double, (long double x)); # else # if !@HAVE_LOG10L@ || !@HAVE_DECL_LOG10L@ # undef log10l _GL_FUNCDECL_SYS (log10l, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (log10l, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (log10l); # endif #elif defined GNULIB_POSIXCHECK # undef log10l # if HAVE_RAW_DECL_LOG10L _GL_WARN_ON_USE (log10l, "log10l is unportable - " "use gnulib module log10l for portability"); # endif #endif #if @GNULIB_LOG1PF@ # if @REPLACE_LOG1PF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log1pf # define log1pf rpl_log1pf # endif _GL_FUNCDECL_RPL (log1pf, float, (float x), ); _GL_CXXALIAS_RPL (log1pf, float, (float x)); # else # if !@HAVE_LOG1PF@ _GL_FUNCDECL_SYS (log1pf, float, (float x), ); # endif _GL_CXXALIAS_SYS (log1pf, float, (float x)); # endif _GL_CXXALIASWARN (log1pf); #elif defined GNULIB_POSIXCHECK # undef log1pf # if HAVE_RAW_DECL_LOG1PF _GL_WARN_ON_USE (log1pf, "log1pf is unportable - " "use gnulib module log1pf for portability"); # endif #endif #if @GNULIB_LOG1P@ # if @REPLACE_LOG1P@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log1p # define log1p rpl_log1p # endif _GL_FUNCDECL_RPL (log1p, double, (double x), ); _GL_CXXALIAS_RPL (log1p, double, (double x)); # else # if !@HAVE_LOG1P@ _GL_FUNCDECL_SYS (log1p, double, (double x), ); # endif _GL_CXXALIAS_SYS (log1p, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (log1p, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef log1p # if HAVE_RAW_DECL_LOG1P _GL_WARN_ON_USE (log1p, "log1p has portability problems - " "use gnulib module log1p for portability"); # endif #endif #if @GNULIB_LOG1PL@ # if @REPLACE_LOG1PL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log1pl # define log1pl rpl_log1pl # endif _GL_FUNCDECL_RPL (log1pl, long double, (long double x), ); _GL_CXXALIAS_RPL (log1pl, long double, (long double x)); # else # if !@HAVE_LOG1PL@ _GL_FUNCDECL_SYS (log1pl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (log1pl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (log1pl); # endif #elif defined GNULIB_POSIXCHECK # undef log1pl # if HAVE_RAW_DECL_LOG1PL _GL_WARN_ON_USE (log1pl, "log1pl has portability problems - " "use gnulib module log1pl for portability"); # endif #endif #if @GNULIB_LOG2F@ # if @REPLACE_LOG2F@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log2f # define log2f rpl_log2f # endif _GL_FUNCDECL_RPL (log2f, float, (float x), ); _GL_CXXALIAS_RPL (log2f, float, (float x)); # else # if !@HAVE_DECL_LOG2F@ # undef log2f _GL_FUNCDECL_SYS (log2f, float, (float x), ); # endif _GL_CXXALIAS_SYS (log2f, float, (float x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (log2f); # endif #elif defined GNULIB_POSIXCHECK # undef log2f # if HAVE_RAW_DECL_LOG2F _GL_WARN_ON_USE (log2f, "log2f is unportable - " "use gnulib module log2f for portability"); # endif #endif #if @GNULIB_LOG2@ # if @REPLACE_LOG2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log2 # define log2 rpl_log2 # endif _GL_FUNCDECL_RPL (log2, double, (double x), ); _GL_CXXALIAS_RPL (log2, double, (double x)); # else # if !@HAVE_DECL_LOG2@ # undef log2 _GL_FUNCDECL_SYS (log2, double, (double x), ); # endif _GL_CXXALIAS_SYS (log2, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (log2, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef log2 # if HAVE_RAW_DECL_LOG2 _GL_WARN_ON_USE (log2, "log2 is unportable - " "use gnulib module log2 for portability"); # endif #endif #if @GNULIB_LOG2L@ # if @REPLACE_LOG2L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef log2l # define log2l rpl_log2l # endif _GL_FUNCDECL_RPL (log2l, long double, (long double x), ); _GL_CXXALIAS_RPL (log2l, long double, (long double x)); # else # if !@HAVE_DECL_LOG2L@ _GL_FUNCDECL_SYS (log2l, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (log2l, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (log2l); # endif #elif defined GNULIB_POSIXCHECK # undef log2l # if HAVE_RAW_DECL_LOG2L _GL_WARN_ON_USE (log2l, "log2l is unportable - " "use gnulib module log2l for portability"); # endif #endif #if @GNULIB_LOGBF@ # if @REPLACE_LOGBF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef logbf # define logbf rpl_logbf # endif _GL_FUNCDECL_RPL (logbf, float, (float x), ); _GL_CXXALIAS_RPL (logbf, float, (float x)); # else # if !@HAVE_LOGBF@ _GL_FUNCDECL_SYS (logbf, float, (float x), ); # endif _GL_CXXALIAS_SYS (logbf, float, (float x)); # endif _GL_CXXALIASWARN (logbf); #elif defined GNULIB_POSIXCHECK # undef logbf # if HAVE_RAW_DECL_LOGBF _GL_WARN_ON_USE (logbf, "logbf is unportable - " "use gnulib module logbf for portability"); # endif #endif #if @GNULIB_LOGB@ # if @REPLACE_LOGB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef logb # define logb rpl_logb # endif _GL_FUNCDECL_RPL (logb, double, (double x), ); _GL_CXXALIAS_RPL (logb, double, (double x)); # else # if !@HAVE_DECL_LOGB@ _GL_FUNCDECL_SYS (logb, double, (double x), ); # endif _GL_CXXALIAS_SYS (logb, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (logb, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef logb # if HAVE_RAW_DECL_LOGB _GL_WARN_ON_USE (logb, "logb is unportable - " "use gnulib module logb for portability"); # endif #endif #if @GNULIB_LOGBL@ # if @REPLACE_LOGBL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef logbl # define logbl rpl_logbl # endif _GL_FUNCDECL_RPL (logbl, long double, (long double x), ); _GL_CXXALIAS_RPL (logbl, long double, (long double x)); # else # if !@HAVE_LOGBL@ _GL_FUNCDECL_SYS (logbl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (logbl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (logbl); # endif #elif defined GNULIB_POSIXCHECK # undef logbl # if HAVE_RAW_DECL_LOGBL _GL_WARN_ON_USE (logbl, "logbl is unportable - " "use gnulib module logbl for portability"); # endif #endif #if @GNULIB_LOGP1F@ # if !@HAVE_LOGP1F@ _GL_FUNCDECL_SYS (logp1f, float, (float x), ); # endif _GL_CXXALIAS_SYS (logp1f, float, (float x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (logp1f, float, (float x)); # endif #elif defined GNULIB_POSIXCHECK # undef logp1f # if HAVE_RAW_DECL_LOGP1F _GL_WARN_ON_USE (logp1f, "logp1f is unportable - " "use gnulib module logp1f for portability"); # endif #endif #if @GNULIB_LOGP1@ # if !@HAVE_LOGP1@ _GL_FUNCDECL_SYS (logp1, double, (double x), ); # endif _GL_CXXALIAS_SYS (logp1, double, (double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (logp1, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef logp1 # if HAVE_RAW_DECL_LOGP1 _GL_WARN_ON_USE (logp1, "logp1 is unportable - " "use gnulib module logp1 for portability"); # endif #endif #if @GNULIB_LOGP1L@ # if !@HAVE_LOGP1L@ _GL_FUNCDECL_SYS (logp1l, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (logp1l, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (logp1l, long double, (long double x)); # endif #elif defined GNULIB_POSIXCHECK # undef logp1l # if HAVE_RAW_DECL_LOGP1L _GL_WARN_ON_USE (logp1l, "logp1l is unportable - " "use gnulib module logp1l for portability"); # endif #endif #if @GNULIB_MODFF@ # if @REPLACE_MODFF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef modff # define modff rpl_modff # endif _GL_FUNCDECL_RPL (modff, float, (float x, float *iptr), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (modff, float, (float x, float *iptr)); # else # if !@HAVE_MODFF@ # undef modff _GL_FUNCDECL_SYS (modff, float, (float x, float *iptr), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (modff, float, (float x, float *iptr)); # endif _GL_CXXALIASWARN (modff); #elif defined GNULIB_POSIXCHECK # undef modff # if HAVE_RAW_DECL_MODFF _GL_WARN_ON_USE (modff, "modff is unportable - " "use gnulib module modff for portability"); # endif #endif #if @GNULIB_MODF@ # if @REPLACE_MODF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef modf # define modf rpl_modf # endif _GL_FUNCDECL_RPL (modf, double, (double x, double *iptr), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (modf, double, (double x, double *iptr)); # else _GL_CXXALIAS_SYS (modf, double, (double x, double *iptr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (modf, double, (double x, double *iptr)); # endif #elif defined GNULIB_POSIXCHECK # undef modf # if HAVE_RAW_DECL_MODF _GL_WARN_ON_USE (modf, "modf has portability problems - " "use gnulib module modf for portability"); # endif #endif #if @GNULIB_MODFL@ # if @REPLACE_MODFL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef modfl # define modfl rpl_modfl # endif _GL_FUNCDECL_RPL (modfl, long double, (long double x, long double *iptr), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (modfl, long double, (long double x, long double *iptr)); # else # if !@HAVE_MODFL@ # undef modfl _GL_FUNCDECL_SYS (modfl, long double, (long double x, long double *iptr), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (modfl, long double, (long double x, long double *iptr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (modfl); # endif #elif defined GNULIB_POSIXCHECK # undef modfl # if HAVE_RAW_DECL_MODFL _GL_WARN_ON_USE (modfl, "modfl is unportable - " "use gnulib module modfl for portability"); # endif #endif #if @GNULIB_POWF@ # if !@HAVE_POWF@ # undef powf _GL_FUNCDECL_SYS (powf, float, (float x, float y), ); # endif _GL_CXXALIAS_SYS (powf, float, (float x, float y)); _GL_CXXALIASWARN (powf); #elif defined GNULIB_POSIXCHECK # undef powf # if HAVE_RAW_DECL_POWF _GL_WARN_ON_USE (powf, "powf is unportable - " "use gnulib module powf for portability"); # endif #endif #if @GNULIB_REMAINDERF@ # if @REPLACE_REMAINDERF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef remainderf # define remainderf rpl_remainderf # endif _GL_FUNCDECL_RPL (remainderf, float, (float x, float y), ); _GL_CXXALIAS_RPL (remainderf, float, (float x, float y)); # else # if !@HAVE_REMAINDERF@ _GL_FUNCDECL_SYS (remainderf, float, (float x, float y), ); # endif _GL_CXXALIAS_SYS (remainderf, float, (float x, float y)); # endif _GL_CXXALIASWARN (remainderf); #elif defined GNULIB_POSIXCHECK # undef remainderf # if HAVE_RAW_DECL_REMAINDERF _GL_WARN_ON_USE (remainderf, "remainderf is unportable - " "use gnulib module remainderf for portability"); # endif #endif #if @GNULIB_REMAINDER@ # if @REPLACE_REMAINDER@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef remainder # define remainder rpl_remainder # endif _GL_FUNCDECL_RPL (remainder, double, (double x, double y), ); _GL_CXXALIAS_RPL (remainder, double, (double x, double y)); # else # if !@HAVE_REMAINDER@ || !@HAVE_DECL_REMAINDER@ _GL_FUNCDECL_SYS (remainder, double, (double x, double y), ); # endif _GL_CXXALIAS_SYS (remainder, double, (double x, double y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (remainder, double, (double x, double y)); # endif #elif defined GNULIB_POSIXCHECK # undef remainder # if HAVE_RAW_DECL_REMAINDER _GL_WARN_ON_USE (remainder, "remainder is unportable - " "use gnulib module remainder for portability"); # endif #endif #if @GNULIB_REMAINDERL@ # if @REPLACE_REMAINDERL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef remainderl # define remainderl rpl_remainderl # endif _GL_FUNCDECL_RPL (remainderl, long double, (long double x, long double y), ); _GL_CXXALIAS_RPL (remainderl, long double, (long double x, long double y)); # else # if !@HAVE_DECL_REMAINDERL@ # undef remainderl # if !(defined __cplusplus && defined _AIX) _GL_FUNCDECL_SYS (remainderl, long double, (long double x, long double y), ); # endif # endif _GL_CXXALIAS_SYS (remainderl, long double, (long double x, long double y)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (remainderl); # endif #elif defined GNULIB_POSIXCHECK # undef remainderl # if HAVE_RAW_DECL_REMAINDERL _GL_WARN_ON_USE (remainderl, "remainderl is unportable - " "use gnulib module remainderl for portability"); # endif #endif #if @GNULIB_RINTF@ # if !@HAVE_DECL_RINTF@ _GL_FUNCDECL_SYS (rintf, float, (float x), ); # endif _GL_CXXALIAS_SYS (rintf, float, (float x)); _GL_CXXALIASWARN (rintf); #elif defined GNULIB_POSIXCHECK # undef rintf # if HAVE_RAW_DECL_RINTF _GL_WARN_ON_USE (rintf, "rintf is unportable - " "use gnulib module rintf for portability"); # endif #endif #if @GNULIB_RINT@ # if !@HAVE_RINT@ _GL_FUNCDECL_SYS (rint, double, (double x), ); # endif _GL_CXXALIAS_SYS (rint, double, (double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (rint, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef rint # if HAVE_RAW_DECL_RINT _GL_WARN_ON_USE (rint, "rint is unportable - " "use gnulib module rint for portability"); # endif #endif #if @GNULIB_RINTL@ # if @REPLACE_RINTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rintl # define rintl rpl_rintl # endif _GL_FUNCDECL_RPL (rintl, long double, (long double x), ); _GL_CXXALIAS_RPL (rintl, long double, (long double x)); # else # if !@HAVE_RINTL@ _GL_FUNCDECL_SYS (rintl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (rintl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (rintl); # endif #elif defined GNULIB_POSIXCHECK # undef rintl # if HAVE_RAW_DECL_RINTL _GL_WARN_ON_USE (rintl, "rintl is unportable - " "use gnulib module rintl for portability"); # endif #endif #if @GNULIB_ROUNDF@ # if @REPLACE_ROUNDF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef roundf # define roundf rpl_roundf # endif _GL_FUNCDECL_RPL (roundf, float, (float x), ); _GL_CXXALIAS_RPL (roundf, float, (float x)); # else # if !@HAVE_DECL_ROUNDF@ _GL_FUNCDECL_SYS (roundf, float, (float x), ); # endif _GL_CXXALIAS_SYS (roundf, float, (float x)); # endif _GL_CXXALIASWARN (roundf); #elif defined GNULIB_POSIXCHECK # undef roundf # if HAVE_RAW_DECL_ROUNDF _GL_WARN_ON_USE (roundf, "roundf is unportable - " "use gnulib module roundf for portability"); # endif #endif #if @GNULIB_ROUND@ # if @REPLACE_ROUND@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef round # define round rpl_round # endif _GL_FUNCDECL_RPL (round, double, (double x), ); _GL_CXXALIAS_RPL (round, double, (double x)); # else # if !@HAVE_DECL_ROUND@ _GL_FUNCDECL_SYS (round, double, (double x), ); # endif _GL_CXXALIAS_SYS (round, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (round, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef round # if HAVE_RAW_DECL_ROUND _GL_WARN_ON_USE (round, "round is unportable - " "use gnulib module round for portability"); # endif #endif #if @GNULIB_ROUNDL@ # if @REPLACE_ROUNDL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef roundl # define roundl rpl_roundl # endif _GL_FUNCDECL_RPL (roundl, long double, (long double x), ); _GL_CXXALIAS_RPL (roundl, long double, (long double x)); # else # if !@HAVE_DECL_ROUNDL@ # undef roundl # if !(defined __cplusplus && defined _AIX) _GL_FUNCDECL_SYS (roundl, long double, (long double x), ); # endif # endif _GL_CXXALIAS_SYS (roundl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (roundl); # endif #elif defined GNULIB_POSIXCHECK # undef roundl # if HAVE_RAW_DECL_ROUNDL _GL_WARN_ON_USE (roundl, "roundl is unportable - " "use gnulib module roundl for portability"); # endif #endif #if @GNULIB_SINF@ # if @REPLACE_SINF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sinf # define sinf rpl_sinf # endif _GL_FUNCDECL_RPL (sinf, float, (float x), ); _GL_CXXALIAS_RPL (sinf, float, (float x)); # else # if !@HAVE_SINF@ # undef sinf _GL_FUNCDECL_SYS (sinf, float, (float x), ); # endif _GL_CXXALIAS_SYS (sinf, float, (float x)); # endif _GL_CXXALIASWARN (sinf); #elif defined GNULIB_POSIXCHECK # undef sinf # if HAVE_RAW_DECL_SINF _GL_WARN_ON_USE (sinf, "sinf is unportable - " "use gnulib module sinf for portability"); # endif #endif #if @GNULIB_SINL@ # if !@HAVE_SINL@ || !@HAVE_DECL_SINL@ # undef sinl _GL_FUNCDECL_SYS (sinl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (sinl, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (sinl); # endif #elif defined GNULIB_POSIXCHECK # undef sinl # if HAVE_RAW_DECL_SINL _GL_WARN_ON_USE (sinl, "sinl is unportable - " "use gnulib module sinl for portability"); # endif #endif #if @GNULIB_SINHF@ # if @REPLACE_SINHF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sinhf # define sinhf rpl_sinhf # endif _GL_FUNCDECL_RPL (sinhf, float, (float x), ); _GL_CXXALIAS_RPL (sinhf, float, (float x)); # else # if !@HAVE_SINHF@ # undef sinhf _GL_FUNCDECL_SYS (sinhf, float, (float x), ); # endif _GL_CXXALIAS_SYS (sinhf, float, (float x)); # endif _GL_CXXALIASWARN (sinhf); #elif defined GNULIB_POSIXCHECK # undef sinhf # if HAVE_RAW_DECL_SINHF _GL_WARN_ON_USE (sinhf, "sinhf is unportable - " "use gnulib module sinhf for portability"); # endif #endif #if @GNULIB_SQRTF@ # if @REPLACE_SQRTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sqrtf # define sqrtf rpl_sqrtf # endif _GL_FUNCDECL_RPL (sqrtf, float, (float x), ); _GL_CXXALIAS_RPL (sqrtf, float, (float x)); # else # if !@HAVE_SQRTF@ # undef sqrtf _GL_FUNCDECL_SYS (sqrtf, float, (float x), ); # endif _GL_CXXALIAS_SYS (sqrtf, float, (float x)); # endif _GL_CXXALIASWARN (sqrtf); #elif defined GNULIB_POSIXCHECK # undef sqrtf # if HAVE_RAW_DECL_SQRTF _GL_WARN_ON_USE (sqrtf, "sqrtf is unportable - " "use gnulib module sqrtf for portability"); # endif #endif #if @GNULIB_SQRTL@ # if @REPLACE_SQRTL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sqrtl # define sqrtl rpl_sqrtl # endif _GL_FUNCDECL_RPL (sqrtl, long double, (long double x), ); _GL_CXXALIAS_RPL (sqrtl, long double, (long double x)); # else # if !@HAVE_SQRTL@ || !@HAVE_DECL_SQRTL@ # undef sqrtl _GL_FUNCDECL_SYS (sqrtl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (sqrtl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (sqrtl); # endif #elif defined GNULIB_POSIXCHECK # undef sqrtl # if HAVE_RAW_DECL_SQRTL _GL_WARN_ON_USE (sqrtl, "sqrtl is unportable - " "use gnulib module sqrtl for portability"); # endif #endif #if @GNULIB_TANF@ # if @REPLACE_TANF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tanf # define tanf rpl_tanf # endif _GL_FUNCDECL_RPL (tanf, float, (float x), ); _GL_CXXALIAS_RPL (tanf, float, (float x)); # else # if !@HAVE_TANF@ # undef tanf _GL_FUNCDECL_SYS (tanf, float, (float x), ); # endif _GL_CXXALIAS_SYS (tanf, float, (float x)); # endif _GL_CXXALIASWARN (tanf); #elif defined GNULIB_POSIXCHECK # undef tanf # if HAVE_RAW_DECL_TANF _GL_WARN_ON_USE (tanf, "tanf is unportable - " "use gnulib module tanf for portability"); # endif #endif #if @GNULIB_TANL@ # if !@HAVE_TANL@ || !@HAVE_DECL_TANL@ # undef tanl _GL_FUNCDECL_SYS (tanl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (tanl, long double, (long double x)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (tanl); # endif #elif defined GNULIB_POSIXCHECK # undef tanl # if HAVE_RAW_DECL_TANL _GL_WARN_ON_USE (tanl, "tanl is unportable - " "use gnulib module tanl for portability"); # endif #endif #if @GNULIB_TANHF@ # if @REPLACE_TANHF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tanhf # define tanhf rpl_tanhf # endif _GL_FUNCDECL_RPL (tanhf, float, (float x), ); _GL_CXXALIAS_RPL (tanhf, float, (float x)); # else # if !@HAVE_TANHF@ # undef tanhf _GL_FUNCDECL_SYS (tanhf, float, (float x), ); # endif _GL_CXXALIAS_SYS (tanhf, float, (float x)); # endif _GL_CXXALIASWARN (tanhf); #elif defined GNULIB_POSIXCHECK # undef tanhf # if HAVE_RAW_DECL_TANHF _GL_WARN_ON_USE (tanhf, "tanhf is unportable - " "use gnulib module tanhf for portability"); # endif #endif #if @GNULIB_TRUNCF@ # if @REPLACE_TRUNCF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef truncf # define truncf rpl_truncf # endif _GL_FUNCDECL_RPL (truncf, float, (float x), ); _GL_CXXALIAS_RPL (truncf, float, (float x)); # else # if !@HAVE_DECL_TRUNCF@ _GL_FUNCDECL_SYS (truncf, float, (float x), ); # endif _GL_CXXALIAS_SYS (truncf, float, (float x)); # endif _GL_CXXALIASWARN (truncf); #elif defined GNULIB_POSIXCHECK # undef truncf # if HAVE_RAW_DECL_TRUNCF _GL_WARN_ON_USE (truncf, "truncf is unportable - " "use gnulib module truncf for portability"); # endif #endif #if @GNULIB_TRUNC@ # if @REPLACE_TRUNC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef trunc # define trunc rpl_trunc # endif _GL_FUNCDECL_RPL (trunc, double, (double x), ); _GL_CXXALIAS_RPL (trunc, double, (double x)); # else # if !@HAVE_DECL_TRUNC@ _GL_FUNCDECL_SYS (trunc, double, (double x), ); # endif _GL_CXXALIAS_SYS (trunc, double, (double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (trunc, double, (double x)); # endif #elif defined GNULIB_POSIXCHECK # undef trunc # if HAVE_RAW_DECL_TRUNC _GL_WARN_ON_USE (trunc, "trunc is unportable - " "use gnulib module trunc for portability"); # endif #endif #if @GNULIB_TRUNCL@ # if @REPLACE_TRUNCL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef truncl # define truncl rpl_truncl # endif _GL_FUNCDECL_RPL (truncl, long double, (long double x), ); _GL_CXXALIAS_RPL (truncl, long double, (long double x)); # else # if !@HAVE_DECL_TRUNCL@ _GL_FUNCDECL_SYS (truncl, long double, (long double x), ); # endif _GL_CXXALIAS_SYS (truncl, long double, (long double x)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (truncl); # endif #elif defined GNULIB_POSIXCHECK # undef truncl # if HAVE_RAW_DECL_TRUNCL _GL_WARN_ON_USE (truncl, "truncl is unportable - " "use gnulib module truncl for portability"); # endif #endif #if @GNULIB_MDA_Y0@ /* On native Windows, map 'y0' to '_y0', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::y0 always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef y0 # define y0 _y0 # endif _GL_CXXALIAS_MDA (y0, double, (double x)); # else _GL_CXXALIAS_SYS (y0, double, (double x)); # endif _GL_CXXALIASWARN (y0); #endif #if @GNULIB_MDA_Y1@ /* On native Windows, map 'y1' to '_y1', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::y1 always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef y1 # define y1 _y1 # endif _GL_CXXALIAS_MDA (y1, double, (double x)); # else _GL_CXXALIAS_SYS (y1, double, (double x)); # endif _GL_CXXALIASWARN (y1); #endif #if @GNULIB_MDA_YN@ /* On native Windows, map 'yn' to '_yn', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::yn always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef yn # define yn _yn # endif _GL_CXXALIAS_MDA (yn, double, (int n, double x)); # else _GL_CXXALIAS_SYS (yn, double, (int n, double x)); # endif _GL_CXXALIASWARN (yn); #endif /* Definitions of function-like macros come here, after the function declarations. */ #if @GNULIB_ISFINITE@ # if @REPLACE_ISFINITE@ _GL_EXTERN_C int gl_isfinitef (float x); _GL_EXTERN_C int gl_isfinited (double x); _GL_EXTERN_C int gl_isfinitel (long double x); # undef isfinite # define isfinite(x) \ (sizeof (x) == sizeof (long double) ? gl_isfinitel (x) : \ sizeof (x) == sizeof (double) ? gl_isfinited (x) : \ gl_isfinitef (x)) # endif # ifdef __cplusplus # if defined isfinite || defined GNULIB_NAMESPACE _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isfinite) # undef isfinite # if __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined _AIX || (defined _WIN32 && !defined __CYGWIN__))) /* This platform's possibly defines isfinite through a set of inline functions. */ _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isfinite, rpl_isfinite, bool) # define isfinite rpl_isfinite # define GNULIB_NAMESPACE_LACKS_ISFINITE 1 # else _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isfinite, isfinite, bool) # endif # endif # endif #elif defined GNULIB_POSIXCHECK # if defined isfinite _GL_WARN_REAL_FLOATING_DECL (isfinite); # undef isfinite # define isfinite(x) _GL_WARN_REAL_FLOATING_IMPL (isfinite, x) # endif #endif #if @GNULIB_ISINF@ # if @REPLACE_ISINF@ _GL_EXTERN_C int gl_isinff (float x); _GL_EXTERN_C int gl_isinfd (double x); _GL_EXTERN_C int gl_isinfl (long double x); # undef isinf # define isinf(x) \ (sizeof (x) == sizeof (long double) ? gl_isinfl (x) : \ sizeof (x) == sizeof (double) ? gl_isinfd (x) : \ gl_isinff (x)) # endif # ifdef __cplusplus # if defined isinf || defined GNULIB_NAMESPACE _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isinf) # undef isinf # if __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || (defined _WIN32 && !defined __CYGWIN__))) /* This platform's possibly defines isinf through a set of inline functions. */ _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isinf, rpl_isinf, bool) # define isinf rpl_isinf # define GNULIB_NAMESPACE_LACKS_ISINF 1 # else _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isinf, isinf, bool) # endif # endif # endif #elif defined GNULIB_POSIXCHECK # if defined isinf _GL_WARN_REAL_FLOATING_DECL (isinf); # undef isinf # define isinf(x) _GL_WARN_REAL_FLOATING_IMPL (isinf, x) # endif #endif #if @GNULIB_ISNANF@ /* Test for NaN for 'float' numbers. */ # if @HAVE_ISNANF@ # if defined __sun || defined __sgi /* Solaris and IRIX have isnanf() and declare it in . We cannot define isnanf as a macro, because that would conflict with . */ _GL_EXTERN_C int isnanf (float x); # else /* The original included above provides a declaration of isnan macro or (older) isnanf function. */ # if (__GNUC__ >= 4) || (__clang_major__ >= 4) /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. GCC >= 4.0 also provides __builtin_isnanf, but clang doesn't. */ # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) # elif defined isnan && !defined HAVE_ISNANF_NOLIBM # undef isnanf # define isnanf(x) isnan ((float)(x)) # endif # endif # else /* Test whether X is a NaN. */ # undef isnanf # define isnanf rpl_isnanf _GL_EXTERN_C int isnanf (float x); # endif #endif #if @GNULIB_ISNAND@ /* Test for NaN for 'double' numbers. This function is a gnulib extension, unlike isnan() which applied only to 'double' numbers earlier but now is a type-generic macro. */ # if @HAVE_ISNAND@ # if defined __sun || defined __sgi /* Solaris and IRIX have isnand() and declare it in . We cannot define isnand as a macro, because that would conflict with . */ _GL_EXTERN_C int isnand (double x); # else /* The original included above provides a declaration of isnan macro. */ # if (__GNUC__ >= 4) || (__clang_major__ >= 4) /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. */ # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) # elif !defined HAVE_ISNAND_NOLIBM # undef isnand # define isnand(x) isnan ((double)(x)) # endif # endif # else /* Test whether X is a NaN. */ # undef isnand # define isnand rpl_isnand _GL_EXTERN_C int isnand (double x); # endif #endif #if @GNULIB_ISNANL@ /* Test for NaN for 'long double' numbers. */ # if @HAVE_ISNANL@ /* The original included above provides a declaration of isnan macro or (older) isnanl function. */ # if (__GNUC__ >= 4) || (__clang_major__ >= 4) /* GCC >= 4.0 and clang provide a type-generic built-in for isnan. GCC >= 4.0 also provides __builtin_isnanl, but clang doesn't. */ # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) # elif defined isnan && !defined HAVE_ISNANL_NOLIBM # undef isnanl # define isnanl(x) isnan ((long double)(x)) # endif # else /* Test whether X is a NaN. */ # undef isnanl # define isnanl rpl_isnanl _GL_EXTERN_C int isnanl (long double x) _GL_ATTRIBUTE_CONST; # endif #endif /* This must come *after* the snippets for GNULIB_ISNANF and GNULIB_ISNANL! */ #if @GNULIB_ISNAN@ # if @REPLACE_ISNAN@ /* We can't just use the isnanf macro (e.g.) as exposed by isnanf.h (e.g.) here, because those may end up being macros that recursively expand back to isnan. So use the gnulib replacements for them directly. */ # if @HAVE_ISNANF@ && (__GNUC__ >= 4) || (__clang_major__ >= 4) # define gl_isnan_f(x) __builtin_isnan ((float)(x)) # else _GL_EXTERN_C int rpl_isnanf (float x); # define gl_isnan_f(x) rpl_isnanf (x) # endif # if @HAVE_ISNAND@ && (__GNUC__ >= 4) || (__clang_major__ >= 4) # define gl_isnan_d(x) __builtin_isnan ((double)(x)) # else _GL_EXTERN_C int rpl_isnand (double x); # define gl_isnan_d(x) rpl_isnand (x) # endif # if @HAVE_ISNANL@ && (__GNUC__ >= 4) || (__clang_major__ >= 4) # define gl_isnan_l(x) __builtin_isnan ((long double)(x)) # else _GL_EXTERN_C int rpl_isnanl (long double x) _GL_ATTRIBUTE_CONST; # define gl_isnan_l(x) rpl_isnanl (x) # endif # undef isnan # define isnan(x) \ (sizeof (x) == sizeof (long double) ? gl_isnan_l (x) : \ sizeof (x) == sizeof (double) ? gl_isnan_d (x) : \ gl_isnan_f (x)) # elif (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnan # define isnan(x) \ (sizeof (x) == sizeof (long double) ? __builtin_isnan ((long double)(x)) : \ sizeof (x) == sizeof (double) ? __builtin_isnan ((double)(x)) : \ __builtin_isnan ((float)(x))) # endif # ifdef __cplusplus # if defined isnan || defined GNULIB_NAMESPACE _GL_MATH_CXX_REAL_FLOATING_DECL_1 (isnan) # undef isnan # if __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__ && __clang_major__ != 12) || (defined __FreeBSD__ && (__clang_major__ < 7 || __clang_major__ >= 11)) || defined __OpenBSD__ || (defined _WIN32 && !defined __CYGWIN__))) /* This platform's possibly defines isnan through a set of inline functions. */ _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isnan, rpl_isnan, bool) # define isnan rpl_isnan # define GNULIB_NAMESPACE_LACKS_ISNAN 1 # elif __clang_major__ >= 14 /* Neither of the two possible _GL_MATH_CXX_REAL_FLOATING_DECL_2 invocations works. Inline functions are already present in /usr/include/c++/v1/math.h, which comes from LLVM. */ # define GNULIB_NAMESPACE_LACKS_ISNAN 1 # else _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isnan, isnan, bool) # endif # endif # else /* Ensure isnan is a macro. */ # ifndef isnan # define isnan isnan # endif # endif #elif defined GNULIB_POSIXCHECK # if defined isnan _GL_WARN_REAL_FLOATING_DECL (isnan); # undef isnan # define isnan(x) _GL_WARN_REAL_FLOATING_IMPL (isnan, x) # endif #endif #if @GNULIB_SIGNBIT@ # if (@REPLACE_SIGNBIT_USING_BUILTINS@ \ && (!defined __cplusplus || __cplusplus < 201103)) # undef signbit /* GCC >= 4.0 and clang provide three built-ins for signbit. */ # define signbit(x) \ (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ __builtin_signbitf (x)) # endif # if @REPLACE_SIGNBIT@ && !GNULIB_defined_signbit # undef signbit _GL_EXTERN_C int gl_signbitf (float arg); _GL_EXTERN_C int gl_signbitd (double arg); _GL_EXTERN_C int gl_signbitl (long double arg); # if __GNUC__ >= 2 || defined __clang__ # define _GL_NUM_UINT_WORDS(type) \ ((sizeof (type) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) # if defined FLT_SIGNBIT_WORD && defined FLT_SIGNBIT_BIT && !defined gl_signbitf # define gl_signbitf_OPTIMIZED_MACRO # define gl_signbitf(arg) \ __extension__ \ ({ union { float _value; \ unsigned int _word[_GL_NUM_UINT_WORDS (float)]; \ } _m; \ _m._value = (arg); \ (_m._word[FLT_SIGNBIT_WORD] >> FLT_SIGNBIT_BIT) & 1; \ }) # endif # if defined DBL_SIGNBIT_WORD && defined DBL_SIGNBIT_BIT && !defined gl_signbitd # define gl_signbitd_OPTIMIZED_MACRO # define gl_signbitd(arg) \ __extension__ \ ({ union { double _value; \ unsigned int _word[_GL_NUM_UINT_WORDS (double)]; \ } _m; \ _m._value = (arg); \ (_m._word[DBL_SIGNBIT_WORD] >> DBL_SIGNBIT_BIT) & 1; \ }) # endif # if defined LDBL_SIGNBIT_WORD && defined LDBL_SIGNBIT_BIT && !defined gl_signbitl # define gl_signbitl_OPTIMIZED_MACRO # define gl_signbitl(arg) \ __extension__ \ ({ union { long double _value; \ unsigned int _word[_GL_NUM_UINT_WORDS (long double)]; \ } _m; \ _m._value = (arg); \ (_m._word[LDBL_SIGNBIT_WORD] >> LDBL_SIGNBIT_BIT) & 1; \ }) # endif # endif # define signbit(x) \ (sizeof (x) == sizeof (long double) ? gl_signbitl (x) : \ sizeof (x) == sizeof (double) ? gl_signbitd (x) : \ gl_signbitf (x)) # define GNULIB_defined_signbit 1 # endif # ifdef __cplusplus # if defined signbit || defined GNULIB_NAMESPACE _GL_MATH_CXX_REAL_FLOATING_DECL_1 (signbit) # undef signbit # if __cplusplus >= 201103L || __GNUC__ >= 6 || (defined __clang__ && !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined _AIX || (defined _WIN32 && !defined __CYGWIN__))) /* This platform's possibly defines signbit through a set of inline functions. */ _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit, rpl_signbit, bool) # define signbit rpl_signbit # define GNULIB_NAMESPACE_LACKS_SIGNBIT 1 # else _GL_MATH_CXX_REAL_FLOATING_DECL_2 (signbit, signbit, bool) # endif # endif # endif #elif defined GNULIB_POSIXCHECK # if defined signbit _GL_WARN_REAL_FLOATING_DECL (signbit); # undef signbit # define signbit(x) _GL_WARN_REAL_FLOATING_IMPL (signbit, x) # endif #endif #if @GNULIB_GETPAYLOADF@ # if @REPLACE_GETPAYLOADF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpayloadf # define getpayloadf rpl_getpayloadf # endif _GL_FUNCDECL_RPL (getpayloadf, float, (const float *), ); _GL_CXXALIAS_RPL (getpayloadf, float, (const float *)); # else # if !@HAVE_GETPAYLOADF@ _GL_FUNCDECL_SYS (getpayloadf, float, (const float *), ); # endif _GL_CXXALIAS_SYS (getpayloadf, float, (const float *)); # endif _GL_CXXALIASWARN (getpayloadf); #elif defined GNULIB_POSIXCHECK # undef getpayloadf # if HAVE_RAW_DECL_GETPAYLOADF _GL_WARN_ON_USE (getpayloadf, "getpayloadf is unportable - " "use gnulib module getpayloadf for portability"); # endif #endif #if @GNULIB_GETPAYLOAD@ # if @REPLACE_GETPAYLOAD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpayload # define getpayload rpl_getpayload # endif _GL_FUNCDECL_RPL (getpayload, double, (const double *), ); _GL_CXXALIAS_RPL (getpayload, double, (const double *)); # else # if !@HAVE_GETPAYLOAD@ _GL_FUNCDECL_SYS (getpayload, double, (const double *), ); # endif _GL_CXXALIAS_SYS (getpayload, double, (const double *)); # endif _GL_CXXALIASWARN (getpayload); #elif defined GNULIB_POSIXCHECK # undef getpayload # if HAVE_RAW_DECL_GETPAYLOAD _GL_WARN_ON_USE (getpayload, "getpayload is unportable - " "use gnulib module getpayload for portability"); # endif #endif #if @GNULIB_GETPAYLOADL@ # if @REPLACE_GETPAYLOADL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpayloadl # define getpayloadl rpl_getpayloadl # endif _GL_FUNCDECL_RPL (getpayloadl, long double, (const long double *), ); _GL_CXXALIAS_RPL (getpayloadl, long double, (const long double *)); # else # if !@HAVE_GETPAYLOADL@ _GL_FUNCDECL_SYS (getpayloadl, long double, (const long double *), ); # endif _GL_CXXALIAS_SYS (getpayloadl, long double, (const long double *)); # endif _GL_CXXALIASWARN (getpayloadl); #elif defined GNULIB_POSIXCHECK # undef getpayloadl # if HAVE_RAW_DECL_GETPAYLOADL _GL_WARN_ON_USE (getpayloadl, "getpayloadl is unportable - " "use gnulib module getpayloadl for portability"); # endif #endif #if @GNULIB_SETPAYLOADF@ # if !@HAVE_SETPAYLOADF@ _GL_FUNCDECL_SYS (setpayloadf, int, (float *, float), ); # endif _GL_CXXALIAS_SYS (setpayloadf, int, (float *, float)); _GL_CXXALIASWARN (setpayloadf); #elif defined GNULIB_POSIXCHECK # undef setpayloadf # if HAVE_RAW_DECL_SETPAYLOADF _GL_WARN_ON_USE (setpayloadf, "setpayloadf is unportable - " "use gnulib module setpayloadf for portability"); # endif #endif #if @GNULIB_SETPAYLOAD@ # if !@HAVE_SETPAYLOAD@ _GL_FUNCDECL_SYS (setpayload, int, (double *, double), ); # endif _GL_CXXALIAS_SYS (setpayload, int, (double *, double)); _GL_CXXALIASWARN (setpayload); #elif defined GNULIB_POSIXCHECK # undef setpayload # if HAVE_RAW_DECL_SETPAYLOAD _GL_WARN_ON_USE (setpayload, "setpayload is unportable - " "use gnulib module setpayload for portability"); # endif #endif #if @GNULIB_SETPAYLOADL@ # if !@HAVE_SETPAYLOADL@ _GL_FUNCDECL_SYS (setpayloadl, int, (long double *, long double), ); # endif _GL_CXXALIAS_SYS (setpayloadl, int, (long double *, long double)); _GL_CXXALIASWARN (setpayloadl); #elif defined GNULIB_POSIXCHECK # undef setpayloadl # if HAVE_RAW_DECL_SETPAYLOADL _GL_WARN_ON_USE (setpayloadl, "setpayloadl is unportable - " "use gnulib module setpayloadl for portability"); # endif #endif #if @GNULIB_SETPAYLOADSIGF@ # if !@HAVE_SETPAYLOADSIGF@ _GL_FUNCDECL_SYS (setpayloadsigf, int, (float *, float), ); # endif _GL_CXXALIAS_SYS (setpayloadsigf, int, (float *, float)); _GL_CXXALIASWARN (setpayloadsigf); #elif defined GNULIB_POSIXCHECK # undef setpayloadsigf # if HAVE_RAW_DECL_SETPAYLOADSIGF _GL_WARN_ON_USE (setpayloadsigf, "setpayloadsigf is unportable - " "use gnulib module setpayloadsigf for portability"); # endif #endif #if @GNULIB_SETPAYLOADSIG@ # if !@HAVE_SETPAYLOADSIG@ _GL_FUNCDECL_SYS (setpayloadsig, int, (double *, double), ); # endif _GL_CXXALIAS_SYS (setpayloadsig, int, (double *, double)); _GL_CXXALIASWARN (setpayloadsig); #elif defined GNULIB_POSIXCHECK # undef setpayloadsig # if HAVE_RAW_DECL_SETPAYLOADSIG _GL_WARN_ON_USE (setpayloadsig, "setpayloadsig is unportable - " "use gnulib module setpayloadsig for portability"); # endif #endif #if @GNULIB_SETPAYLOADSIGL@ # if !@HAVE_SETPAYLOADSIGL@ _GL_FUNCDECL_SYS (setpayloadsigl, int, (long double *, long double), ); # endif _GL_CXXALIAS_SYS (setpayloadsigl, int, (long double *, long double)); _GL_CXXALIASWARN (setpayloadsigl); #elif defined GNULIB_POSIXCHECK # undef setpayloadsigl # if HAVE_RAW_DECL_SETPAYLOADSIGL _GL_WARN_ON_USE (setpayloadsigl, "setpayloadsigl is unportable - " "use gnulib module setpayloadsigl for portability"); # endif #endif #if @GNULIB_TOTALORDERF@ # if @REPLACE_TOTALORDERF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef totalorderf # define totalorderf rpl_totalorderf # endif _GL_FUNCDECL_RPL (totalorderf, int, (float const *, float const *), ); _GL_CXXALIAS_RPL (totalorderf, int, (float const *, float const *)); # else # if !@HAVE_TOTALORDERF@ _GL_FUNCDECL_SYS (totalorderf, int, (float const *, float const *), ); # endif _GL_CXXALIAS_SYS (totalorderf, int, (float const *, float const *)); # endif _GL_CXXALIASWARN (totalorderf); #elif defined GNULIB_POSIXCHECK # undef totalorderf # if HAVE_RAW_DECL_TOTALORDERF _GL_WARN_ON_USE (totalorderf, "totalorderf is unportable - " "use gnulib module totalorderf for portability"); # endif #endif #if @GNULIB_TOTALORDER@ # if @REPLACE_TOTALORDER@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef totalorder # define totalorder rpl_totalorder # endif _GL_FUNCDECL_RPL (totalorder, int, (double const *, double const *), ); _GL_CXXALIAS_RPL (totalorder, int, (double const *, double const *)); # else # if !@HAVE_TOTALORDER@ _GL_FUNCDECL_SYS (totalorder, int, (double const *, double const *), ); # endif _GL_CXXALIAS_SYS (totalorder, int, (double const *, double const *)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (totalorder, int, (double const *, double const *)); # endif #elif defined GNULIB_POSIXCHECK # undef totalorder # if HAVE_RAW_DECL_TOTALORDER _GL_WARN_ON_USE (totalorder, "totalorder is unportable - " "use gnulib module totalorder for portability"); # endif #endif #if @GNULIB_TOTALORDERL@ # if @REPLACE_TOTALORDERL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef totalorderl # define totalorderl rpl_totalorderl # endif _GL_FUNCDECL_RPL (totalorderl, int, (long double const *, long double const *), ); _GL_CXXALIAS_RPL (totalorderl, int, (long double const *, long double const *)); # else # if !@HAVE_TOTALORDERL@ _GL_FUNCDECL_SYS (totalorderl, int, (long double const *, long double const *), ); # endif _GL_CXXALIAS_SYS (totalorderl, int, (long double const *, long double const *)); # endif _GL_CXXALIASWARN (totalorderl); #elif defined GNULIB_POSIXCHECK # undef totalorderl # if HAVE_RAW_DECL_TOTALORDERL _GL_WARN_ON_USE (totalorderl, "totalorderl is unportable - " "use gnulib module totalorderl for portability"); # endif #endif #if @GNULIB_TOTALORDERMAGF@ # if @REPLACE_TOTALORDERMAGF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef totalordermagf # define totalordermagf rpl_totalordermagf # endif _GL_FUNCDECL_RPL (totalordermagf, int, (float const *, float const *), ); _GL_CXXALIAS_RPL (totalordermagf, int, (float const *, float const *)); # else # if !@HAVE_TOTALORDERMAGF@ _GL_FUNCDECL_SYS (totalordermagf, int, (float const *, float const *), ); # endif _GL_CXXALIAS_SYS (totalordermagf, int, (float const *, float const *)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (totalordermagf, int, (float const *, float const *)); # endif #elif defined GNULIB_POSIXCHECK # undef totalordermagf # if HAVE_RAW_DECL_TOTALORDERMAGF _GL_WARN_ON_USE (totalordermagf, "totalordermagf is unportable - " "use gnulib module totalordermagf for portability"); # endif #endif #if @GNULIB_TOTALORDERMAG@ # if @REPLACE_TOTALORDERMAG@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef totalordermag # define totalordermag rpl_totalordermag # endif _GL_FUNCDECL_RPL (totalordermag, int, (double const *, double const *), ); _GL_CXXALIAS_RPL (totalordermag, int, (double const *, double const *)); # else # if !@HAVE_TOTALORDERMAG@ _GL_FUNCDECL_SYS (totalordermag, int, (double const *, double const *), ); # endif _GL_CXXALIAS_SYS (totalordermag, int, (double const *, double const *)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (totalordermag, int, (double const *, double const *)); # endif #elif defined GNULIB_POSIXCHECK # undef totalordermag # if HAVE_RAW_DECL_TOTALORDERMAG _GL_WARN_ON_USE (totalordermag, "totalordermag is unportable - " "use gnulib module totalordermag for portability"); # endif #endif #if @GNULIB_TOTALORDERMAGL@ # if @REPLACE_TOTALORDERMAGL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef totalordermagl # define totalordermagl rpl_totalordermagl # endif _GL_FUNCDECL_RPL (totalordermagl, int, (long double const *, long double const *), ); _GL_CXXALIAS_RPL (totalordermagl, int, (long double const *, long double const *)); # else # if !@HAVE_TOTALORDERMAGL@ _GL_FUNCDECL_SYS (totalordermagl, int, (long double const *, long double const *), ); # endif _GL_CXXALIAS_SYS (totalordermagl, int, (long double const *, long double const *)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN1 (totalordermagl, int, (long double const *, long double const *)); # endif #elif defined GNULIB_POSIXCHECK # undef totalordermagl # if HAVE_RAW_DECL_TOTALORDERMAGL _GL_WARN_ON_USE (totalordermagl, "totalordermagl is unportable - " "use gnulib module totalordermagl for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_MATH_H */ #endif /* _GL_INCLUDING_MATH_H */ #endif /* _@GUARD_PREFIX@_MATH_H */ #endif datamash-1.9/lib/mbchar.c0000644000000000000000000000151014767401140010743 /* Copyright (C) 2001, 2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define MBCHAR_INLINE _GL_EXTERN_INLINE #include #include "mbchar.h" datamash-1.9/lib/mbchar.h0000644000000000000000000003553414767401140010765 /* Multibyte character data type. Copyright (C) 2001, 2005-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible . */ /* A multibyte character is a short subsequence of a char* string, representing a single 32-bit wide character. We use multibyte characters instead of 32-bit wide characters because of the following goals: 1) correct multibyte handling, i.e. operate according to the LC_CTYPE locale, 2) ease of maintenance, i.e. the maintainer needs not know all details of the ISO C 99 standard, 3) don't fail grossly if the input is not in the encoding set by the locale, because often different encodings are in use in the same countries (ISO-8859-1/UTF-8, EUC-JP/Shift_JIS, ...), 4) fast in the case of ASCII characters. Multibyte characters are only accessed through the mb* macros. mb_ptr (mbc) return a pointer to the beginning of the multibyte sequence. mb_len (mbc) returns the number of bytes occupied by the multibyte sequence. Always > 0. mb_iseq (mbc, sc) returns true if mbc is the standard ASCII character sc. mb_isnul (mbc) returns true if mbc is the nul character. mb_cmp (mbc1, mbc2) returns a positive, zero, or negative value depending on whether mbc1 sorts after, same or before mbc2. mb_casecmp (mbc1, mbc2) returns a positive, zero, or negative value depending on whether mbc1 sorts after, same or before mbc2, modulo upper/lowercase conversion. mb_equal (mbc1, mbc2) returns true if mbc1 and mbc2 are equal. mb_caseequal (mbc1, mbc2) returns true if mbc1 and mbc2 are equal modulo upper/lowercase conversion. mb_isalnum (mbc) returns true if mbc is alphanumeric. mb_isalpha (mbc) returns true if mbc is alphabetic. mb_isascii(mbc) returns true if mbc is plain ASCII. mb_isblank (mbc) returns true if mbc is a blank. mb_iscntrl (mbc) returns true if mbc is a control character. mb_isdigit (mbc) returns true if mbc is a decimal digit. mb_isgraph (mbc) returns true if mbc is a graphic character. mb_islower (mbc) returns true if mbc is lowercase. mb_isprint (mbc) returns true if mbc is a printable character. mb_ispunct (mbc) returns true if mbc is a punctuation character. mb_isspace (mbc) returns true if mbc is a space character. mb_isupper (mbc) returns true if mbc is uppercase. mb_isxdigit (mbc) returns true if mbc is a hexadecimal digit. mb_width (mbc) returns the number of columns on the output device occupied by mbc. Always >= 0. mb_putc (mbc, stream) outputs mbc on stream, a byte oriented FILE stream opened for output. mb_setascii (&mbc, sc) assigns the standard ASCII character sc to mbc. (Only available if the 'mbfile' module is in use.) mb_copy (&destmbc, &srcmbc) copies srcmbc to destmbc. Here are the function prototypes of the macros. extern const char * mb_ptr (const mbchar_t mbc); extern size_t mb_len (const mbchar_t mbc); extern bool mb_iseq (const mbchar_t mbc, char sc); extern bool mb_isnul (const mbchar_t mbc); extern int mb_cmp (const mbchar_t mbc1, const mbchar_t mbc2); extern int mb_casecmp (const mbchar_t mbc1, const mbchar_t mbc2); extern bool mb_equal (const mbchar_t mbc1, const mbchar_t mbc2); extern bool mb_caseequal (const mbchar_t mbc1, const mbchar_t mbc2); extern bool mb_isalnum (const mbchar_t mbc); extern bool mb_isalpha (const mbchar_t mbc); extern bool mb_isascii (const mbchar_t mbc); extern bool mb_isblank (const mbchar_t mbc); extern bool mb_iscntrl (const mbchar_t mbc); extern bool mb_isdigit (const mbchar_t mbc); extern bool mb_isgraph (const mbchar_t mbc); extern bool mb_islower (const mbchar_t mbc); extern bool mb_isprint (const mbchar_t mbc); extern bool mb_ispunct (const mbchar_t mbc); extern bool mb_isspace (const mbchar_t mbc); extern bool mb_isupper (const mbchar_t mbc); extern bool mb_isxdigit (const mbchar_t mbc); extern int mb_width (const mbchar_t mbc); extern void mb_putc (const mbchar_t mbc, FILE *stream); extern void mb_setascii (mbchar_t *new, char sc); extern void mb_copy (mbchar_t *new, const mbchar_t *old); */ #ifndef _MBCHAR_H #define _MBCHAR_H 1 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include _GL_INLINE_HEADER_BEGIN #ifndef MBCHAR_INLINE # define MBCHAR_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* The longest multibyte characters, nowadays, are 4 bytes long. Regardless of the values of MB_CUR_MAX and MB_LEN_MAX. */ #define MBCHAR_BUF_SIZE 4 struct mbchar { const char *ptr; /* pointer to current character */ size_t bytes; /* number of bytes of current character, > 0 */ bool wc_valid; /* true if wc is a valid 32-bit wide character */ char32_t wc; /* if wc_valid: the current character */ #if defined GNULIB_MBFILE char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */ #endif }; /* EOF (not a real character) is represented with bytes = 0 and wc_valid = false. */ typedef struct mbchar mbchar_t; /* Access the current character. */ #define mb_ptr(mbc) ((mbc).ptr) #define mb_len(mbc) ((mbc).bytes) /* Comparison of characters. */ #define mb_iseq(mbc, sc) ((mbc).wc_valid && (mbc).wc == (sc)) #define mb_isnul(mbc) ((mbc).wc_valid && (mbc).wc == 0) #define mb_cmp(mbc1, mbc2) \ ((mbc1).wc_valid \ ? ((mbc2).wc_valid \ ? _GL_CMP ((mbc1).wc, (mbc2).wc) \ : -1) \ : ((mbc2).wc_valid \ ? 1 \ : (mbc1).bytes == (mbc2).bytes \ ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ : (mbc1).bytes < (mbc2).bytes \ ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \ : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1))) #define mb_casecmp(mbc1, mbc2) \ ((mbc1).wc_valid \ ? ((mbc2).wc_valid \ ? _GL_CMP (c32tolower ((mbc1).wc), c32tolower ((mbc2).wc)) \ : -1) \ : ((mbc2).wc_valid \ ? 1 \ : (mbc1).bytes == (mbc2).bytes \ ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ : (mbc1).bytes < (mbc2).bytes \ ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \ : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1))) #define mb_equal(mbc1, mbc2) \ ((mbc1).wc_valid && (mbc2).wc_valid \ ? (mbc1).wc == (mbc2).wc \ : (mbc1).bytes == (mbc2).bytes \ && memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) == 0) #define mb_caseequal(mbc1, mbc2) \ ((mbc1).wc_valid && (mbc2).wc_valid \ ? c32tolower ((mbc1).wc) == c32tolower ((mbc2).wc) \ : (mbc1).bytes == (mbc2).bytes \ && memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) == 0) /* , classification. */ #define mb_isascii(mbc) \ ((mbc).wc_valid && (mbc).wc >= 0 && (mbc).wc <= 127) #define mb_isalnum(mbc) ((mbc).wc_valid && c32isalnum ((mbc).wc)) #define mb_isalpha(mbc) ((mbc).wc_valid && c32isalpha ((mbc).wc)) #define mb_isblank(mbc) ((mbc).wc_valid && c32isblank ((mbc).wc)) #define mb_iscntrl(mbc) ((mbc).wc_valid && c32iscntrl ((mbc).wc)) #define mb_isdigit(mbc) ((mbc).wc_valid && c32isdigit ((mbc).wc)) #define mb_isgraph(mbc) ((mbc).wc_valid && c32isgraph ((mbc).wc)) #define mb_islower(mbc) ((mbc).wc_valid && c32islower ((mbc).wc)) #define mb_isprint(mbc) ((mbc).wc_valid && c32isprint ((mbc).wc)) #define mb_ispunct(mbc) ((mbc).wc_valid && c32ispunct ((mbc).wc)) #define mb_isspace(mbc) ((mbc).wc_valid && c32isspace ((mbc).wc)) #define mb_isupper(mbc) ((mbc).wc_valid && c32isupper ((mbc).wc)) #define mb_isxdigit(mbc) ((mbc).wc_valid && c32isxdigit ((mbc).wc)) /* Extra function. */ /* Unprintable characters appear as a small box of width 1. */ #define MB_UNPRINTABLE_WIDTH 1 MBCHAR_INLINE int mb_width_aux (char32_t wc) { int w = c32width (wc); /* For unprintable characters, arbitrarily return 0 for control characters and MB_UNPRINTABLE_WIDTH otherwise. */ return (w >= 0 ? w : c32iscntrl (wc) ? 0 : MB_UNPRINTABLE_WIDTH); } #define mb_width(mbc) \ ((mbc).wc_valid ? mb_width_aux ((mbc).wc) : MB_UNPRINTABLE_WIDTH) /* Output. */ #define mb_putc(mbc, stream) fwrite ((mbc).ptr, 1, (mbc).bytes, (stream)) #if defined GNULIB_MBFILE /* Assignment. */ # define mb_setascii(mbc, sc) \ ((mbc)->ptr = (mbc)->buf, (mbc)->bytes = 1, (mbc)->wc_valid = 1, \ (mbc)->wc = (mbc)->buf[0] = (sc)) #endif /* Copying a character. */ MBCHAR_INLINE void mb_copy (mbchar_t *new_mbc, const mbchar_t *old_mbc) { #if defined GNULIB_MBFILE if (old_mbc->ptr == &old_mbc->buf[0]) { memcpy (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes); new_mbc->ptr = &new_mbc->buf[0]; } else #endif new_mbc->ptr = old_mbc->ptr; new_mbc->bytes = old_mbc->bytes; if ((new_mbc->wc_valid = old_mbc->wc_valid)) new_mbc->wc = old_mbc->wc; } /* is_basic(c) tests whether the single-byte character c is - in the ISO C "basic character set" or is one of '@', '$', and '`' which ISO C 23 § 5.2.1.1.(1) guarantees to be single-byte and in practice are safe to treat as basic in the execution character set, or - in the POSIX "portable character set", which equally guarantees to be single-byte. This is a convenience function, and is in this file only to share code between mbiter.h, mbuiter.h, and mbfile.h. */ #if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('$' == 36) && ('%' == 37) && ('&' == 38) && ('\'' == 39) \ && ('(' == 40) && (')' == 41) && ('*' == 42) && ('+' == 43) \ && (',' == 44) && ('-' == 45) && ('.' == 46) && ('/' == 47) \ && ('0' == 48) && ('1' == 49) && ('2' == 50) && ('3' == 51) \ && ('4' == 52) && ('5' == 53) && ('6' == 54) && ('7' == 55) \ && ('8' == 56) && ('9' == 57) && (':' == 58) && (';' == 59) \ && ('<' == 60) && ('=' == 61) && ('>' == 62) && ('?' == 63) \ && ('@' == 64) && ('A' == 65) && ('B' == 66) && ('C' == 67) \ && ('D' == 68) && ('E' == 69) && ('F' == 70) && ('G' == 71) \ && ('H' == 72) && ('I' == 73) && ('J' == 74) && ('K' == 75) \ && ('L' == 76) && ('M' == 77) && ('N' == 78) && ('O' == 79) \ && ('P' == 80) && ('Q' == 81) && ('R' == 82) && ('S' == 83) \ && ('T' == 84) && ('U' == 85) && ('V' == 86) && ('W' == 87) \ && ('X' == 88) && ('Y' == 89) && ('Z' == 90) && ('[' == 91) \ && ('\\' == 92) && (']' == 93) && ('^' == 94) && ('_' == 95) \ && ('`' == 96) && ('a' == 97) && ('b' == 98) && ('c' == 99) \ && ('d' == 100) && ('e' == 101) && ('f' == 102) && ('g' == 103) \ && ('h' == 104) && ('i' == 105) && ('j' == 106) && ('k' == 107) \ && ('l' == 108) && ('m' == 109) && ('n' == 110) && ('o' == 111) \ && ('p' == 112) && ('q' == 113) && ('r' == 114) && ('s' == 115) \ && ('t' == 116) && ('u' == 117) && ('v' == 118) && ('w' == 119) \ && ('x' == 120) && ('y' == 121) && ('z' == 122) && ('{' == 123) \ && ('|' == 124) && ('}' == 125) && ('~' == 126) /* The character set is ISO-646, not EBCDIC. */ # define IS_BASIC_ASCII 1 /* All locale encodings (see localcharset.h) map the characters 0x00..0x7F to U+0000..U+007F, like ASCII, except for CP864 different mapping of '%' SHIFT_JIS different mappings of 0x5C, 0x7E JOHAB different mapping of 0x5C However, these characters in the range 0x20..0x7E are in the ISO C "basic character set" and in the POSIX "portable character set", which ISO C and POSIX guarantee to be single-byte. Thus, locales with these encodings are not POSIX compliant. And they are most likely not in use any more (as of 2023). */ # define is_basic(c) ((unsigned char) (c) < 0x80) #else MBCHAR_INLINE bool is_basic (char c) { switch (c) { case '\0': case '\007': case '\010': case '\t': case '\n': case '\v': case '\f': case '\r': case ' ': case '!': case '"': case '#': case '$': case '%': case '&': case '\'': case '(': case ')': case '*': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case ';': case '<': case '=': case '>': case '?': case '@': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '[': case '\\': case ']': case '^': case '_': case '`': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case '{': case '|': case '}': case '~': return 1; default: return 0; } } #endif #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _MBCHAR_H */ datamash-1.9/lib/mbrtoc32.c0000644000000000000000000001603114767401140011146 /* Convert multibyte character to 32-bit wide character. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2020. */ #include /* Specification. */ #include #include "attribute.h" #include #include #if GL_CHAR32_T_IS_UNICODE # include "lc-charset-unicode.h" #endif #if GNULIB_defined_mbstate_t /* AIX, IRIX */ /* Implement mbrtoc32() on top of mbtowc() for the non-UTF-8 locales and directly for the UTF-8 locales. */ /* Note: On AIX (64-bit) we can implement mbrtoc32 in two equivalent ways: - in a way that parallels the override of mbrtowc; this is the code branch here; - in a way that invokes the overridden mbrtowc; this would be the #else branch below. They are equivalent. */ # if AVOID_ANY_THREADS /* The option '--disable-threads' explicitly requests no locking. */ # elif defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # elif HAVE_PTHREAD_API # include # if HAVE_THREADS_H && HAVE_WEAK_SYMBOLS # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif # elif HAVE_THREADS_H # include # endif # include "lc-charset-dispatch.h" # include "mbtowc-lock.h" static_assert (sizeof (mbstate_t) >= 4); static char internal_state[4]; size_t mbrtoc32 (char32_t *pwc, const char *s, size_t n, mbstate_t *ps) { # define FITS_IN_CHAR_TYPE(wc) 1 # include "mbrtowc-impl.h" } #else /* glibc, macOS, FreeBSD, NetBSD, OpenBSD, HP-UX, Solaris, Cygwin, mingw, MSVC, Minix, Android */ /* Implement mbrtoc32() based on the original mbrtoc32() or on mbrtowc(). */ # include # include "localcharset.h" # include "streq.h" # if MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ # include "hard-locale.h" # include # endif static mbstate_t internal_state; size_t mbrtoc32 (char32_t *pwc, const char *s, size_t n, mbstate_t *ps) # undef mbrtoc32 { /* It's simpler to handle the case s == NULL upfront, than to worry about this case later, before every test of pwc and n. */ if (s == NULL) { pwc = NULL; s = ""; n = 1; } # if MBRTOC32_EMPTY_INPUT_BUG || _GL_SMALL_WCHAR_T if (n == 0) return (size_t) -2; # endif if (ps == NULL) ps = &internal_state; # if HAVE_WORKING_MBRTOC32 && HAVE_WORKING_C32RTOMB && !MBRTOC32_MULTIBYTE_LOCALE_BUG /* mbrtoc32() may produce different values for wc than mbrtowc(). Therefore use mbrtoc32(). */ # if defined _WIN32 && !defined __CYGWIN__ char32_t wc; size_t ret = mbrtoc32 (&wc, s, n, ps); if (ret < (size_t) -2 && pwc != NULL) *pwc = wc; # else size_t ret = mbrtoc32 (pwc, s, n, ps); # endif # if GNULIB_MBRTOC32_REGULAR /* Verify that mbrtoc32 is regular. */ if (ret < (size_t) -3 && ! mbsinit (ps)) /* This occurs on glibc 2.36. */ mbszero (ps); if (ret == (size_t) -3) abort (); # endif # if MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ if ((size_t) -2 <= ret && n != 0 && ! hard_locale (LC_CTYPE)) { if (pwc != NULL) *pwc = (unsigned char) *s; return 1; } # endif return ret; # elif _GL_SMALL_WCHAR_T /* Special-case all encodings that may produce wide character values > WCHAR_MAX. */ const char *encoding = locale_charset (); if (STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) { /* Special-case the UTF-8 encoding. Assume that the wide-character encoding in a UTF-8 locale is UCS-2 or, equivalently, UTF-16. */ /* Here n > 0. */ char *pstate = (char *)ps; size_t nstate = pstate[0]; char buf[4]; const char *p; size_t m; int res; switch (nstate) { case 0: p = s; m = n; break; case 3: buf[2] = pstate[3]; FALLTHROUGH; case 2: buf[1] = pstate[2]; FALLTHROUGH; case 1: buf[0] = pstate[1]; p = buf; m = nstate; buf[m++] = s[0]; if (n >= 2 && m < 4) { buf[m++] = s[1]; if (n >= 3 && m < 4) buf[m++] = s[2]; } break; default: errno = EINVAL; return (size_t)(-1); } /* Here m > 0. */ { # define FITS_IN_CHAR_TYPE(wc) 1 # include "mbrtowc-impl-utf8.h" } success: if (nstate >= (res > 0 ? res : 1)) abort (); res -= nstate; /* Set *ps to an initial state. */ # if defined _WIN32 && !defined __CYGWIN__ /* Native Windows. */ /* MSVC defines 'mbstate_t' as an 8-byte struct; the first 4 bytes matter. On mingw, 'mbstate_t' is sometimes defined as 'int', sometimes defined as an 8-byte struct, of which the first 4 bytes matter. */ *(unsigned int *)pstate = 0; # elif defined __CYGWIN__ /* Cygwin defines 'mbstate_t' as an 8-byte struct; the first 4 bytes matter. */ ps->__count = 0; # else pstate[0] = 0; # endif return res; incomplete: { size_t k = nstate; /* Here 0 <= k < m < 4. */ pstate[++k] = s[0]; if (k < m) { pstate[++k] = s[1]; if (k < m) pstate[++k] = s[2]; } if (k != m) abort (); } pstate[0] = m; return (size_t)(-2); invalid: errno = EILSEQ; /* The conversion state is undefined, says POSIX. */ return (size_t)(-1); } else { wchar_t wc; size_t ret = mbrtowc (&wc, s, n, ps); if (ret < (size_t) -2 && pwc != NULL) *pwc = wc; return ret; } # else /* char32_t and wchar_t are equivalent. Use mbrtowc(). */ wchar_t wc; size_t ret = mbrtowc (&wc, s, n, ps); # if GNULIB_MBRTOC32_REGULAR /* Ensure that mbrtoc32 is regular. */ if (ret < (size_t) -2 && ! mbsinit (ps)) /* This occurs on glibc 2.12. */ mbszero (ps); # endif # if GL_CHAR32_T_IS_UNICODE && GL_CHAR32_T_VS_WCHAR_T_NEEDS_CONVERSION if (ret < (size_t) -2 && wc != 0) { wc = locale_encoding_to_unicode (wc); if (wc == 0) { ret = (size_t) -1; errno = EILSEQ; } } # endif if (ret < (size_t) -2 && pwc != NULL) *pwc = wc; return ret; # endif } #endif datamash-1.9/lib/mbrtowc-impl-utf8.h0000644000000000000000000001225514767401140013024 /* Convert multibyte character to wide character. Copyright (C) 1999-2002, 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2008. */ /* This file contains the part of the body of the mbrtowc and mbrtoc32 functions that handles the special case of the UTF-8 encoding. */ /* Cf. unistr/u8-mbtouc.c. */ unsigned char c = (unsigned char) p[0]; if (c < 0x80) { if (pwc != NULL) *pwc = c; res = (c == 0 ? 0 : 1); goto success; } if (c >= 0xc2) { if (c < 0xe0) { if (m == 1) goto incomplete; else /* m >= 2 */ { unsigned char c2 = (unsigned char) p[1]; if ((c2 ^ 0x80) < 0x40) { if (pwc != NULL) *pwc = ((unsigned int) (c & 0x1f) << 6) | (unsigned int) (c2 ^ 0x80); res = 2; goto success; } } } else if (c < 0xf0) { if (m == 1) goto incomplete; else { unsigned char c2 = (unsigned char) p[1]; if ((c2 ^ 0x80) < 0x40 && (c >= 0xe1 || c2 >= 0xa0) && (c != 0xed || c2 < 0xa0)) { if (m == 2) goto incomplete; else /* m >= 3 */ { unsigned char c3 = (unsigned char) p[2]; if ((c3 ^ 0x80) < 0x40) { unsigned int wc = (((unsigned int) (c & 0x0f) << 12) | ((unsigned int) (c2 ^ 0x80) << 6) | (unsigned int) (c3 ^ 0x80)); if (FITS_IN_CHAR_TYPE (wc)) { if (pwc != NULL) *pwc = wc; res = 3; goto success; } } } } } } else if (c <= 0xf4) { if (m == 1) goto incomplete; else { unsigned char c2 = (unsigned char) p[1]; if ((c2 ^ 0x80) < 0x40 && (c >= 0xf1 || c2 >= 0x90) && (c < 0xf4 || (/* c == 0xf4 && */ c2 < 0x90))) { if (m == 2) goto incomplete; else { unsigned char c3 = (unsigned char) p[2]; if ((c3 ^ 0x80) < 0x40) { if (m == 3) goto incomplete; else /* m >= 4 */ { unsigned char c4 = (unsigned char) p[3]; if ((c4 ^ 0x80) < 0x40) { unsigned int wc = (((unsigned int) (c & 0x07) << 18) | ((unsigned int) (c2 ^ 0x80) << 12) | ((unsigned int) (c3 ^ 0x80) << 6) | (unsigned int) (c4 ^ 0x80)); if (FITS_IN_CHAR_TYPE (wc)) { if (pwc != NULL) *pwc = wc; res = 4; goto success; } } } } } } } } } goto invalid; datamash-1.9/lib/mbrtowc-impl.h0000644000000000000000000001624014767401140012136 /* Convert multibyte character to wide character. Copyright (C) 1999-2002, 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2008. */ /* This file contains the body of the mbrtowc and mbrtoc32 functions, when GNULIB_defined_mbstate_t is defined. */ char *pstate = (char *)ps; if (s == NULL) { pwc = NULL; s = ""; n = 1; } if (n == 0) return (size_t)(-2); /* Here n > 0. */ if (pstate == NULL) pstate = internal_state; { size_t nstate = pstate[0]; char buf[4]; const char *p; size_t m; enc_t enc; int res; switch (nstate) { case 0: p = s; m = n; break; case 3: buf[2] = pstate[3]; FALLTHROUGH; case 2: buf[1] = pstate[2]; FALLTHROUGH; case 1: buf[0] = pstate[1]; p = buf; m = nstate; buf[m++] = s[0]; if (n >= 2 && m < 4) { buf[m++] = s[1]; if (n >= 3 && m < 4) buf[m++] = s[2]; } break; default: errno = EINVAL; return (size_t)(-1); } /* Here m > 0. */ enc = locale_encoding_classification (); if (enc == enc_utf8) /* UTF-8 */ { /* Achieve - multi-thread safety and - the ability to produce wide character values > WCHAR_MAX by not calling mbtowc() at all. */ #include "mbrtowc-impl-utf8.h" } else { /* The hidden internal state of mbtowc would make this function not multi-thread safe. Achieve multi-thread safety through a lock. */ wchar_t wc; res = mbtowc_with_lock (&wc, p, m); if (res >= 0) { if ((wc == 0) != (res == 0)) abort (); if (pwc != NULL) *pwc = wc; goto success; } /* mbtowc does not distinguish between invalid and incomplete multibyte sequences. But mbrtowc needs to make this distinction. There are two possible approaches: - Use iconv() and its return value. - Use built-in knowledge about the possible encodings. Given the low quality of implementation of iconv() on the systems that lack mbrtowc(), we use the second approach. The possible encodings are: - 8-bit encodings, - EUC-JP, EUC-KR, GB2312, EUC-TW, BIG5, GB18030, SJIS, - UTF-8 (already handled above). Use specialized code for each. */ if (m >= 4 || m >= MB_CUR_MAX) goto invalid; /* Here MB_CUR_MAX > 1 and 0 < m < 4. */ switch (enc) { /* As a reference for this code, you can use the GNU libiconv implementation. Look for uses of the RET_TOOFEW macro. */ case enc_eucjp: /* EUC-JP */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0xa1 && c < 0xff) || c == 0x8e || c == 0x8f) goto incomplete; } if (m == 2) { unsigned char c = (unsigned char) p[0]; if (c == 0x8f) { unsigned char c2 = (unsigned char) p[1]; if (c2 >= 0xa1 && c2 < 0xff) goto incomplete; } } goto invalid; } case enc_94: /* EUC-KR, GB2312, BIG5 */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if (c >= 0xa1 && c < 0xff) goto incomplete; } goto invalid; } case enc_euctw: /* EUC-TW */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0xa1 && c < 0xff) || c == 0x8e) goto incomplete; } else /* m == 2 || m == 3 */ { unsigned char c = (unsigned char) p[0]; if (c == 0x8e) goto incomplete; } goto invalid; } case enc_gb18030: /* GB18030 */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0x90 && c <= 0xe3) || (c >= 0xf8 && c <= 0xfe)) goto incomplete; } else /* m == 2 || m == 3 */ { unsigned char c = (unsigned char) p[0]; if (c >= 0x90 && c <= 0xe3) { unsigned char c2 = (unsigned char) p[1]; if (c2 >= 0x30 && c2 <= 0x39) { if (m == 2) goto incomplete; else /* m == 3 */ { unsigned char c3 = (unsigned char) p[2]; if (c3 >= 0x81 && c3 <= 0xfe) goto incomplete; } } } } goto invalid; } case enc_sjis: /* SJIS */ { if (m == 1) { unsigned char c = (unsigned char) p[0]; if ((c >= 0x81 && c <= 0x9f) || (c >= 0xe0 && c <= 0xea) || (c >= 0xf0 && c <= 0xf9)) goto incomplete; } goto invalid; } default: /* An unknown multibyte encoding. */ goto incomplete; } } success: /* res >= 0 is the corrected return value of mbtowc_with_lock (&wc, p, m). */ if (nstate >= (res > 0 ? res : 1)) abort (); res -= nstate; pstate[0] = 0; return res; incomplete: { size_t k = nstate; /* Here 0 <= k < m < 4. */ pstate[++k] = s[0]; if (k < m) { pstate[++k] = s[1]; if (k < m) pstate[++k] = s[2]; } if (k != m) abort (); } pstate[0] = m; return (size_t)(-2); invalid: errno = EILSEQ; /* The conversion state is undefined, says POSIX. */ return (size_t)(-1); } datamash-1.9/lib/mbrtowc.c0000644000000000000000000000731014767401140011170 /* Convert multibyte character to wide character. Copyright (C) 1999-2002, 2005-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if GNULIB_defined_mbstate_t /* Implement mbrtowc() on top of mbtowc() for the non-UTF-8 locales and directly for the UTF-8 locales. */ # include # include # include # if AVOID_ANY_THREADS /* The option '--disable-threads' explicitly requests no locking. */ # elif defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # elif HAVE_PTHREAD_API # include # if HAVE_THREADS_H && HAVE_WEAK_SYMBOLS # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif # elif HAVE_THREADS_H # include # endif # include "attribute.h" # include "lc-charset-dispatch.h" # include "mbtowc-lock.h" static_assert (sizeof (mbstate_t) >= 4); static char internal_state[4]; size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) { # define FITS_IN_CHAR_TYPE(wc) ((wc) <= WCHAR_MAX) # include "mbrtowc-impl.h" } #else /* Override the system's mbrtowc() function. */ # if MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ # include "hard-locale.h" # include # endif # undef mbrtowc size_t rpl_mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) { size_t ret; wchar_t wc; # if MBRTOWC_NULL_ARG2_BUG || MBRTOWC_RETVAL_BUG || MBRTOWC_EMPTY_INPUT_BUG if (s == NULL) { pwc = NULL; s = ""; n = 1; } # endif # if MBRTOWC_EMPTY_INPUT_BUG if (n == 0) return (size_t) -2; # endif if (! pwc) pwc = &wc; # if MBRTOWC_RETVAL_BUG { static mbstate_t internal_state; /* Override mbrtowc's internal state. We cannot call mbsinit() on the hidden internal state, but we can call it on our variable. */ if (ps == NULL) ps = &internal_state; if (!mbsinit (ps)) { /* Parse the rest of the multibyte character byte for byte. */ size_t count = 0; for (; n > 0; s++, n--) { ret = mbrtowc (&wc, s, 1, ps); if (ret == (size_t)(-1)) return (size_t)(-1); count++; if (ret != (size_t)(-2)) { /* The multibyte character has been completed. */ *pwc = wc; return (wc == 0 ? 0 : count); } } return (size_t)(-2); } } # endif # if MBRTOWC_STORES_INCOMPLETE_BUG ret = mbrtowc (&wc, s, n, ps); if (ret < (size_t) -2 && pwc != NULL) *pwc = wc; # else ret = mbrtowc (pwc, s, n, ps); # endif # if MBRTOWC_NUL_RETVAL_BUG if (ret < (size_t) -2 && !*pwc) return 0; # endif # if MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ if ((size_t) -2 <= ret && n != 0 && ! hard_locale (LC_CTYPE)) { unsigned char uc = *s; *pwc = uc; return 1; } # endif return ret; } #endif datamash-1.9/lib/mbsinit.c0000644000000000000000000000453114767401140011162 /* Test for initial conversion state. Copyright (C) 2008-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if GNULIB_defined_mbstate_t /* Platforms that lack mbsinit() also lack mbrlen(), mbrtowc(), mbsrtowcs() and wcrtomb(), wcsrtombs(). We assume that - sizeof (mbstate_t) >= 4, - only stateless encodings are supported (such as UTF-8 and EUC-JP, but not ISO-2022 variants), - for each encoding, the number of bytes for a wide character is <= 4. (This maximum is attained for UTF-8, GB18030, EUC-TW.) We define the meaning of mbstate_t as follows: - In mb -> wc direction, mbstate_t's first byte contains the number of buffered bytes (in the range 0..3), followed by up to 3 buffered bytes. See mbrtowc.c. - In wc -> mb direction, mbstate_t contains no information. In other words, it is always in an initial state. */ static_assert (sizeof (mbstate_t) >= 4); int mbsinit (const mbstate_t *ps) { const char *pstate = (const char *)ps; return pstate == NULL || pstate[0] == 0; } #else int mbsinit (const mbstate_t *ps) { # if defined _WIN32 && !defined __CYGWIN__ /* Native Windows. */ /* MSVC defines 'mbstate_t' as an 8-byte struct; the first 4 bytes matter. On mingw, 'mbstate_t' is sometimes defined as 'int', sometimes defined as an 8-byte struct, of which the first 4 bytes matter. */ return ps == NULL || *(const unsigned int *)ps == 0; # else /* Minix, HP-UX 11.00, Solaris 2.6, Interix, ... */ /* Maybe this definition works, maybe not... */ return ps == NULL || *(const char *)ps == 0; # endif } #endif datamash-1.9/lib/mbslen.c0000644000000000000000000000305514767401140010775 /* Counting the multibyte characters in a string. Copyright (C) 2007-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2007. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #if GNULIB_MCEL_PREFER # include "mcel.h" #else # include "mbuiterf.h" #endif /* Return the number of multibyte characters in the character string STRING. */ size_t mbslen (const char *string) { if (MB_CUR_MAX > 1) { size_t count = 0; #if GNULIB_MCEL_PREFER for (; *string; string += mcel_scanz (string).len) count++; #else mbuif_state_t state; const char *iter; for (mbuif_init (state), iter = string; mbuif_avail (state, iter); ) { mbchar_t cur = mbuif_next (state, iter); count++; iter += mb_len (cur); } #endif return count; } else return strlen (string); } datamash-1.9/lib/mbsstr.c0000644000000000000000000004534714767402206011045 /* Searching in a string. -*- coding: utf-8 -*- Copyright (C) 2005-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2005. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Don't use the const-improved function macros in this compilation unit. */ #define _GL_NO_CONST_GENERICS #include /* Specification. */ #include #include /* for NULL, in case a nonstandard string.h lacks it */ #include #include "malloca.h" #if GNULIB_MCEL_PREFER # include "mcel.h" typedef mcel_t mbchar_t; static bool mb_equal (mcel_t a, mcel_t b) { return mcel_cmp (a, b) == 0; } #else # include "mbuiter.h" #endif /* Knuth-Morris-Pratt algorithm. */ #define UNIT unsigned char #define CANON_ELEMENT(c) c #include "str-kmp.h" /* Knuth-Morris-Pratt algorithm. See https://en.wikipedia.org/wiki/Knuth-Morris-Pratt_algorithm Return a boolean indicating success: Return true and set *RESULTP if the search was completed. Return false if it was aborted because not enough memory was available. */ static bool knuth_morris_pratt_multibyte (const char *haystack, const char *needle, const char **resultp) { size_t m = mbslen (needle); mbchar_t *needle_mbchars; size_t extra_align = (alignof (mbchar_t) < alignof (size_t) ? alignof (size_t) - alignof (mbchar_t) : 0); /* Allocate room for needle_mbchars and the table. */ void *memory = nmalloca (m + !!extra_align, sizeof (mbchar_t) + sizeof (size_t)); void *table_memory; if (memory == NULL) return false; needle_mbchars = memory; table_memory = needle_mbchars + m; char *aligned = table_memory; aligned += extra_align; aligned -= (uintptr_t) aligned % alignof (size_t); size_t *table = table_memory = aligned; /* Fill needle_mbchars. */ #if GNULIB_MCEL_PREFER for (size_t j = 0; *needle; needle += needle_mbchars[j++].len) needle_mbchars[j] = mcel_scanz (needle); #else { mbui_iterator_t iter; size_t j; j = 0; for (mbui_init (iter, needle); mbui_avail (iter); mbui_advance (iter), j++) mb_copy (&needle_mbchars[j], &mbui_cur (iter)); } #endif /* Fill the table. For 0 < i < m: 0 < table[i] <= i is defined such that forall 0 < x < table[i]: needle[x..i-1] != needle[0..i-1-x], and table[i] is as large as possible with this property. This implies: 1) For 0 < i < m: If table[i] < i, needle[table[i]..i-1] = needle[0..i-1-table[i]]. 2) For 0 < i < m: rhaystack[0..i-1] == needle[0..i-1] and exists h, i <= h < m: rhaystack[h] != needle[h] implies forall 0 <= x < table[i]: rhaystack[x..x+m-1] != needle[0..m-1]. table[0] remains uninitialized. */ { size_t i, j; /* i = 1: Nothing to verify for x = 0. */ table[1] = 1; j = 0; for (i = 2; i < m; i++) { /* Here: j = i-1 - table[i-1]. The inequality needle[x..i-1] != needle[0..i-1-x] is known to hold for x < table[i-1], by induction. Furthermore, if j>0: needle[i-1-j..i-2] = needle[0..j-1]. */ mbchar_t *b = &needle_mbchars[i - 1]; for (;;) { /* Invariants: The inequality needle[x..i-1] != needle[0..i-1-x] is known to hold for x < i-1-j. Furthermore, if j>0: needle[i-1-j..i-2] = needle[0..j-1]. */ if (mb_equal (*b, needle_mbchars[j])) { /* Set table[i] := i-1-j. */ table[i] = i - ++j; break; } /* The inequality needle[x..i-1] != needle[0..i-1-x] also holds for x = i-1-j, because needle[i-1] != needle[j] = needle[i-1-x]. */ if (j == 0) { /* The inequality holds for all possible x. */ table[i] = i; break; } /* The inequality needle[x..i-1] != needle[0..i-1-x] also holds for i-1-j < x < i-1-j+table[j], because for these x: needle[x..i-2] = needle[x-(i-1-j)..j-1] != needle[0..j-1-(x-(i-1-j))] (by definition of table[j]) = needle[0..i-2-x], hence needle[x..i-1] != needle[0..i-1-x]. Furthermore needle[i-1-j+table[j]..i-2] = needle[table[j]..j-1] = needle[0..j-1-table[j]] (by definition of table[j]). */ j = j - table[j]; } /* Here: j = i - table[i]. */ } } /* Search, using the table to accelerate the processing. */ { #if GNULIB_MCEL_PREFER size_t j; char const *rhaystack = haystack; char const *phaystack = haystack; j = 0; /* Invariant: phaystack = rhaystack + j. */ for (;;) { if (!*phaystack) { rhaystack = NULL; break; } mcel_t g = mcel_scanz (phaystack); if (mcel_cmp (needle_mbchars[j], g) == 0) { j++; /* Exit loop successfully if the entire needle has been found. */ if (j == m) break; phaystack += g.len; } else if (j == 0) { /* Found a mismatch at needle[0] already. */ rhaystack += mcel_scanz (rhaystack).len; phaystack += g.len; } else { /* Found a match of needle[0..j-1], mismatch at needle[j]. */ size_t count = table[j]; j -= count; for (; count != 0; count--) rhaystack += mcel_scanz (rhaystack).len; } } *resultp = rhaystack; #else size_t j; mbui_iterator_t rhaystack; mbui_iterator_t phaystack; *resultp = NULL; j = 0; mbui_init (rhaystack, haystack); mbui_init (phaystack, haystack); /* Invariant: phaystack = rhaystack + j. */ while (mbui_avail (phaystack)) if (mb_equal (needle_mbchars[j], mbui_cur (phaystack))) { j++; mbui_advance (phaystack); if (j == m) { /* The entire needle has been found. */ *resultp = mbui_cur_ptr (rhaystack); break; } } else if (j > 0) { /* Found a match of needle[0..j-1], mismatch at needle[j]. */ size_t count = table[j]; j -= count; for (; count > 0; count--) { if (!mbui_avail (rhaystack)) abort (); mbui_advance (rhaystack); } } else { /* Found a mismatch at needle[0] already. */ if (!mbui_avail (rhaystack)) abort (); mbui_advance (rhaystack); mbui_advance (phaystack); } #endif } freea (memory); return true; } /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. */ char * mbsstr (const char *haystack, const char *needle) { /* Be careful not to look at the entire extent of haystack or needle until needed. This is useful because of these two cases: - haystack may be very long, and a match of needle found early, - needle may be very long, and not even a short initial segment of needle may be found in haystack. */ if (MB_CUR_MAX > 1) { #if GNULIB_MCEL_PREFER if (!*needle) return (char *) haystack; mcel_t ng = mcel_scanz (needle); /* Minimizing the worst-case complexity: Let n = mbslen(haystack), m = mbslen(needle). The naïve algorithm is O(n*m) worst-case. The Knuth-Morris-Pratt algorithm is O(n) worst-case but it needs a memory allocation. To achieve linear complexity and yet amortize the cost of the memory allocation, we activate the Knuth-Morris-Pratt algorithm only once the naïve algorithm has already run for some time; more precisely, when - the outer loop count is >= 10, - the average number of comparisons per outer loop is >= 5, - the total number of comparisons is >= m. But we try it only once. If the memory allocation attempt failed, we don't retry it. */ bool try_kmp = true; size_t outer_loop_count = 0; size_t comparison_count = 0; /* Last comparison count, and needle + last_ccount. */ size_t last_ccount = 0; char const *iter_needle_last_ccount = needle; char const *iter_haystack = haystack; for (mcel_t hg; *iter_haystack; iter_haystack += hg.len) { /* See whether it's advisable to use an asymptotically faster algorithm. */ if (try_kmp && outer_loop_count >= 10 && comparison_count >= 5 * outer_loop_count) { /* See if needle + comparison_count now reaches the end of needle. */ size_t count = comparison_count - last_ccount; for (; count > 0 && *iter_needle_last_ccount; count--) iter_needle_last_ccount += mcel_scanz (iter_needle_last_ccount).len; last_ccount = comparison_count; if (!*iter_needle_last_ccount) { char const *result; if (knuth_morris_pratt_multibyte (haystack, needle, &result)) return (char *) result; try_kmp = false; } } outer_loop_count++; comparison_count++; hg = mcel_scanz (iter_haystack); if (mcel_cmp (hg, ng) == 0) /* The first character matches. */ { char const *rhaystack = iter_haystack + hg.len; char const *rneedle = needle + ng.len; mcel_t rhg, rng; do { if (!*rneedle) return (char *) iter_haystack; if (!*rhaystack) return NULL; rhg = mcel_scanz (rhaystack); rhaystack += rhg.len; rng = mcel_scanz (rneedle); rneedle += rng.len; comparison_count++; } while (mcel_cmp (rhg, rng) == 0); } } return NULL; #else mbui_iterator_t iter_needle; mbui_init (iter_needle, needle); if (mbui_avail (iter_needle)) { /* Minimizing the worst-case complexity: Let n = mbslen(haystack), m = mbslen(needle). The naïve algorithm is O(n*m) worst-case. The Knuth-Morris-Pratt algorithm is O(n) worst-case but it needs a memory allocation. To achieve linear complexity and yet amortize the cost of the memory allocation, we activate the Knuth-Morris-Pratt algorithm only once the naïve algorithm has already run for some time; more precisely, when - the outer loop count is >= 10, - the average number of comparisons per outer loop is >= 5, - the total number of comparisons is >= m. But we try it only once. If the memory allocation attempt failed, we don't retry it. */ bool try_kmp = true; size_t outer_loop_count = 0; size_t comparison_count = 0; size_t last_ccount = 0; /* last comparison count */ mbui_iterator_t iter_needle_last_ccount; /* = needle + last_ccount */ mbui_iterator_t iter_haystack; mbui_init (iter_needle_last_ccount, needle); mbui_init (iter_haystack, haystack); for (;; mbui_advance (iter_haystack)) { if (!mbui_avail (iter_haystack)) /* No match. */ return NULL; /* See whether it's advisable to use an asymptotically faster algorithm. */ if (try_kmp && outer_loop_count >= 10 && comparison_count >= 5 * outer_loop_count) { /* See if needle + comparison_count now reaches the end of needle. */ size_t count = comparison_count - last_ccount; for (; count > 0 && mbui_avail (iter_needle_last_ccount); count--) mbui_advance (iter_needle_last_ccount); last_ccount = comparison_count; if (!mbui_avail (iter_needle_last_ccount)) { /* Try the Knuth-Morris-Pratt algorithm. */ const char *result; bool success = knuth_morris_pratt_multibyte (haystack, needle, &result); if (success) return (char *) result; try_kmp = false; } } outer_loop_count++; comparison_count++; if (mb_equal (mbui_cur (iter_haystack), mbui_cur (iter_needle))) /* The first character matches. */ { mbui_iterator_t rhaystack; mbui_iterator_t rneedle; memcpy (&rhaystack, &iter_haystack, sizeof (mbui_iterator_t)); mbui_advance (rhaystack); mbui_init (rneedle, needle); if (!mbui_avail (rneedle)) abort (); mbui_advance (rneedle); for (;; mbui_advance (rhaystack), mbui_advance (rneedle)) { if (!mbui_avail (rneedle)) /* Found a match. */ return (char *) mbui_cur_ptr (iter_haystack); if (!mbui_avail (rhaystack)) /* No match. */ return NULL; comparison_count++; if (!mb_equal (mbui_cur (rhaystack), mbui_cur (rneedle))) /* Nothing in this round. */ break; } } } } else return (char *) haystack; #endif } else { if (*needle != '\0') { /* Minimizing the worst-case complexity: Let n = strlen(haystack), m = strlen(needle). The naïve algorithm is O(n*m) worst-case. The Knuth-Morris-Pratt algorithm is O(n) worst-case but it needs a memory allocation. To achieve linear complexity and yet amortize the cost of the memory allocation, we activate the Knuth-Morris-Pratt algorithm only once the naïve algorithm has already run for some time; more precisely, when - the outer loop count is >= 10, - the average number of comparisons per outer loop is >= 5, - the total number of comparisons is >= m. But we try it only once. If the memory allocation attempt failed, we don't retry it. */ bool try_kmp = true; size_t outer_loop_count = 0; size_t comparison_count = 0; size_t last_ccount = 0; /* last comparison count */ const char *needle_last_ccount = needle; /* = needle + last_ccount */ /* Speed up the following searches of needle by caching its first character. */ char b = *needle++; for (;; haystack++) { if (*haystack == '\0') /* No match. */ return NULL; /* See whether it's advisable to use an asymptotically faster algorithm. */ if (try_kmp && outer_loop_count >= 10 && comparison_count >= 5 * outer_loop_count) { /* See if needle + comparison_count now reaches the end of needle. */ if (needle_last_ccount != NULL) { needle_last_ccount += strnlen (needle_last_ccount, comparison_count - last_ccount); if (*needle_last_ccount == '\0') needle_last_ccount = NULL; last_ccount = comparison_count; } if (needle_last_ccount == NULL) { /* Try the Knuth-Morris-Pratt algorithm. */ const unsigned char *result; bool success = knuth_morris_pratt ((const unsigned char *) haystack, (const unsigned char *) (needle - 1), strlen (needle - 1), &result); if (success) return (char *) result; try_kmp = false; } } outer_loop_count++; comparison_count++; if (*haystack == b) /* The first character matches. */ { const char *rhaystack = haystack + 1; const char *rneedle = needle; for (;; rhaystack++, rneedle++) { if (*rneedle == '\0') /* Found a match. */ return (char *) haystack; if (*rhaystack == '\0') /* No match. */ return NULL; comparison_count++; if (*rhaystack != *rneedle) /* Nothing in this round. */ break; } } } } else return (char *) haystack; } } datamash-1.9/lib/mbszero.c0000644000000000000000000000164714767401140011203 /* Put an mbstate_t into an initial conversion state. Copyright (C) 2023-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2023. */ #include #define IN_MBSZERO /* Specification and implementation. */ #include datamash-1.9/lib/mbtowc-lock.c0000644000000000000000000001061714767401140011740 /* Return the internal lock used by mbrtowc and mbrtoc32. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019-2020. */ #include /* The option '--disable-threads' explicitly requests no locking. */ /* When it is known that the gl_get_mbtowc_lock function is defined by a dependency library, it should not be defined here. */ #if AVOID_ANY_THREADS || OMIT_MBTOWC_LOCK /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #else /* This file defines the internal lock used by mbrtowc and mbrtoc32. It is a separate compilation unit, so that only one copy of it is present when linking statically. */ /* Prohibit renaming this symbol. */ # undef gl_get_mbtowc_lock /* Macro for exporting a symbol (function, not variable) defined in this file, when compiled into a shared library. */ # ifndef SHLIB_EXPORTED # if HAVE_VISIBILITY /* Override the effect of the compiler option '-fvisibility=hidden'. */ # define SHLIB_EXPORTED __attribute__((__visibility__("default"))) # elif defined _WIN32 || defined __CYGWIN__ # define SHLIB_EXPORTED __declspec(dllexport) # else # define SHLIB_EXPORTED # endif # endif # if defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-initguard.h" /* The return type is a 'CRITICAL_SECTION *', not a 'glwthread_mutex_t *', because the latter is not guaranteed to be a stable ABI in the future. */ /* Make sure the function gets exported from DLLs. */ SHLIB_EXPORTED CRITICAL_SECTION *gl_get_mbtowc_lock (void); static glwthread_initguard_t guard = GLWTHREAD_INITGUARD_INIT; static CRITICAL_SECTION lock; /* Returns the internal lock used by mbrtowc and mbrtoc32. */ CRITICAL_SECTION * gl_get_mbtowc_lock (void) { if (!guard.done) { if (InterlockedIncrement (&guard.started) == 0) { /* This thread is the first one to need the lock. Initialize it. */ InitializeCriticalSection (&lock); guard.done = 1; } else { /* Don't let guard.started grow and wrap around. */ InterlockedDecrement (&guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!guard.done) Sleep (0); } } return &lock; } # elif HAVE_PTHREAD_API # include static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; /* Make sure the function gets exported from shared libraries. */ SHLIB_EXPORTED pthread_mutex_t *gl_get_mbtowc_lock (void); /* Returns the internal lock used by mbrtowc and mbrtoc32. */ pthread_mutex_t * gl_get_mbtowc_lock (void) { return &mutex; } # elif HAVE_THREADS_H # include # include static int volatile init_needed = 1; static once_flag init_once = ONCE_FLAG_INIT; static mtx_t mutex; static void atomic_init (void) { if (mtx_init (&mutex, mtx_plain) != thrd_success) abort (); init_needed = 0; } /* Make sure the function gets exported from shared libraries. */ SHLIB_EXPORTED mtx_t *gl_get_mbtowc_lock (void); /* Returns the internal lock used by mbrtowc and mbrtoc32. */ mtx_t * gl_get_mbtowc_lock (void) { if (init_needed) call_once (&init_once, atomic_init); return &mutex; } # endif # if (defined _WIN32 || defined __CYGWIN__) && !defined _MSC_VER /* Make sure the '__declspec(dllimport)' in mbrtowc.c and mbrtoc32.c does not cause a link failure when no DLLs are involved. */ # if defined _WIN64 || defined _LP64 # define IMP(x) __imp_##x # else # define IMP(x) _imp__##x # endif void * IMP(gl_get_mbtowc_lock) = &gl_get_mbtowc_lock; # endif #endif datamash-1.9/lib/mbtowc-lock.h0000644000000000000000000000633014767401140011742 /* Use the internal lock used by mbrtowc and mbrtoc32. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019-2020. */ /* Use a lock, so that no two threads can invoke mbtowc at the same time. */ static inline int mbtowc_unlocked (wchar_t *pwc, const char *p, size_t m) { /* Put the hidden internal state of mbtowc into an initial state. This is needed at least with glibc, uClibc, and MSVC CRT. See . */ mbtowc (NULL, NULL, 0); return mbtowc (pwc, p, m); } /* Prohibit renaming this symbol. */ #undef gl_get_mbtowc_lock #if AVOID_ANY_THREADS || GNULIB_MBRTOWC_SINGLE_THREAD /* All uses of this function are in a single thread. No locking needed. */ static int mbtowc_with_lock (wchar_t *pwc, const char *p, size_t m) { return mbtowc_unlocked (pwc, p, m); } #elif defined _WIN32 && !defined __CYGWIN__ extern __declspec(dllimport) CRITICAL_SECTION *gl_get_mbtowc_lock (void); static int mbtowc_with_lock (wchar_t *pwc, const char *p, size_t m) { CRITICAL_SECTION *lock = gl_get_mbtowc_lock (); int ret; EnterCriticalSection (lock); ret = mbtowc_unlocked (pwc, p, m); LeaveCriticalSection (lock); return ret; } #elif HAVE_PTHREAD_API /* AIX, IRIX, Cygwin */ extern # if defined _WIN32 || defined __CYGWIN__ __declspec(dllimport) # endif pthread_mutex_t *gl_get_mbtowc_lock (void); # if HAVE_WEAK_SYMBOLS /* IRIX */ /* Avoid the need to link with '-lpthread'. */ # pragma weak pthread_mutex_lock # pragma weak pthread_mutex_unlock /* Determine whether libpthread is in use. */ # pragma weak pthread_mutexattr_gettype /* See the comments in lock.h. */ # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # else # define pthread_in_use() 1 # endif static int mbtowc_with_lock (wchar_t *pwc, const char *p, size_t m) { if (pthread_in_use()) { pthread_mutex_t *lock = gl_get_mbtowc_lock (); int ret; if (pthread_mutex_lock (lock)) abort (); ret = mbtowc_unlocked (pwc, p, m); if (pthread_mutex_unlock (lock)) abort (); return ret; } else return mbtowc_unlocked (pwc, p, m); } #elif HAVE_THREADS_H extern mtx_t *gl_get_mbtowc_lock (void); static int mbtowc_with_lock (wchar_t *pwc, const char *p, size_t m) { mtx_t *lock = gl_get_mbtowc_lock (); int ret; if (mtx_lock (lock) != thrd_success) abort (); ret = mbtowc_unlocked (pwc, p, m); if (mtx_unlock (lock) != thrd_success) abort (); return ret; } #endif datamash-1.9/lib/mbuiter.c0000644000000000000000000000155614767401140011170 /* Iterating through multibyte strings: macros for multi-byte encodings. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define MBUITER_INLINE _GL_EXTERN_INLINE #include "mbuiter.h" datamash-1.9/lib/mbuiter.h0000644000000000000000000002227614767401140011177 /* Iterating through multibyte strings: macros for multi-byte encodings. Copyright (C) 2001, 2005, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible . */ /* The macros in this file implement forward iteration through a multi-byte string, without knowing its length a-priori. With these macros, an iteration loop that looks like char *iter; for (iter = buf; *iter != '\0'; iter++) { do_something (*iter); } becomes mbui_iterator_t iter; for (mbui_init (iter, buf); mbui_avail (iter); mbui_advance (iter)) { do_something (mbui_cur_ptr (iter), mb_len (mbui_cur (iter))); } The benefit of these macros over plain use of mbrtowc is: - Handling of invalid multibyte sequences is possible without making the code more complicated, while still preserving the invalid multibyte sequences. Compared to mbiter.h, the macros here don't need to know the string's length a-priori. The downside is that at each step, the look-ahead that guards against overrunning the terminating '\0' is more expensive. The mbui_* macros are therefore suitable when there is a high probability that only the first few multibyte characters need to be inspected. Whereas the mbi_* macros are better if usually the iteration runs through the entire string. mbui_iterator_t is a type usable for variable declarations. mbui_init (iter, startptr) initializes the iterator, starting at startptr. mbui_avail (iter) returns true if there are more multibyte characters available before the end of string is reached. In this case, mbui_cur (iter) is initialized to the next multibyte character. mbui_advance (iter) advances the iterator by one multibyte character. mbui_cur (iter) returns the current multibyte character, of type mbchar_t. All the macros defined in mbchar.h can be used on it. mbui_cur_ptr (iter) return a pointer to the beginning of the current multibyte character. mbui_reloc (iter, ptrdiff) relocates iterator when the string is moved by ptrdiff bytes. mbui_copy (&destiter, &srciter) copies srciter to destiter. Here are the function prototypes of the macros. extern void mbui_init (mbui_iterator_t iter, const char *startptr); extern bool mbui_avail (mbui_iterator_t iter); extern void mbui_advance (mbui_iterator_t iter); extern mbchar_t mbui_cur (mbui_iterator_t iter); extern const char * mbui_cur_ptr (mbui_iterator_t iter); extern void mbui_reloc (mbui_iterator_t iter, ptrdiff_t ptrdiff); extern void mbui_copy (mbui_iterator_t *new, const mbui_iterator_t *old); */ #ifndef _MBUITER_H #define _MBUITER_H 1 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_ALWAYS_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include #include #include #include #include "mbchar.h" #include "strnlen1.h" _GL_INLINE_HEADER_BEGIN #ifndef MBUITER_INLINE # define MBUITER_INLINE _GL_INLINE _GL_ATTRIBUTE_ALWAYS_INLINE #endif #ifdef __cplusplus extern "C" { #endif struct mbuiter_multi { #if !GNULIB_MBRTOC32_REGULAR bool in_shift; /* true if next byte may not be interpreted as ASCII */ /* If GNULIB_MBRTOC32_REGULAR, it is always false, so optimize it away. */ #endif mbstate_t state; /* if in_shift: current shift state */ /* If GNULIB_MBRTOC32_REGULAR, it is in an initial state before and after every mbuiter_multi_next invocation. */ bool next_done; /* true if mbui_avail has already filled the following */ unsigned int cur_max; /* A cache of MB_CUR_MAX. */ struct mbchar cur; /* the current character: const char *cur.ptr pointer to current character The following are only valid after mbui_avail. size_t cur.bytes number of bytes of current character bool cur.wc_valid true if wc is a valid 32-bit wide character char32_t cur.wc if wc_valid: the current character */ }; MBUITER_INLINE void mbuiter_multi_next (struct mbuiter_multi *iter) { if (iter->next_done) return; #if !GNULIB_MBRTOC32_REGULAR if (iter->in_shift) goto with_shift; #endif /* Handle most ASCII characters quickly, without calling mbrtowc(). */ if (is_basic (*iter->cur.ptr)) { /* These characters are part of the POSIX portable character set. For most of them, namely those in the ISO C basic character set, ISO C 99 guarantees that their wide character code is identical to their char code. For the few other ones, this is the case as well, in all locale encodings that are in use. The 32-bit wide character code is the same as well. */ iter->cur.bytes = 1; iter->cur.wc = *iter->cur.ptr; iter->cur.wc_valid = true; } else { assert (mbsinit (&iter->state)); #if !GNULIB_MBRTOC32_REGULAR iter->in_shift = true; with_shift: #endif iter->cur.bytes = mbrtoc32 (&iter->cur.wc, iter->cur.ptr, strnlen1 (iter->cur.ptr, iter->cur_max), &iter->state); if (iter->cur.bytes == (size_t) -1) { /* An invalid multibyte sequence was encountered. */ iter->cur.bytes = 1; iter->cur.wc_valid = false; /* Allow the next invocation to continue from a sane state. */ #if !GNULIB_MBRTOC32_REGULAR iter->in_shift = false; #endif mbszero (&iter->state); } else if (iter->cur.bytes == (size_t) -2) { /* An incomplete multibyte character at the end. */ iter->cur.bytes = strlen (iter->cur.ptr); iter->cur.wc_valid = false; /* Whether to set iter->in_shift = false and reset iter->state or not is not important; the string end is reached anyway. */ } else { if (iter->cur.bytes == 0) { /* A null wide character was encountered. */ iter->cur.bytes = 1; assert (*iter->cur.ptr == '\0'); assert (iter->cur.wc == 0); } #if !GNULIB_MBRTOC32_REGULAR else if (iter->cur.bytes == (size_t) -3) /* The previous multibyte sequence produced an additional 32-bit wide character. */ iter->cur.bytes = 0; #endif iter->cur.wc_valid = true; /* When in an initial state, we can go back treating ASCII characters more quickly. */ #if !GNULIB_MBRTOC32_REGULAR if (mbsinit (&iter->state)) iter->in_shift = false; #endif } } iter->next_done = true; } MBUITER_INLINE void mbuiter_multi_reloc (struct mbuiter_multi *iter, ptrdiff_t ptrdiff) { iter->cur.ptr += ptrdiff; } MBUITER_INLINE void mbuiter_multi_copy (struct mbuiter_multi *new_iter, const struct mbuiter_multi *old_iter) { #if !GNULIB_MBRTOC32_REGULAR if ((new_iter->in_shift = old_iter->in_shift)) memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t)); else #endif mbszero (&new_iter->state); new_iter->next_done = old_iter->next_done; new_iter->cur_max = old_iter->cur_max; mb_copy (&new_iter->cur, &old_iter->cur); } /* Iteration macros. */ typedef struct mbuiter_multi mbui_iterator_t; #if !GNULIB_MBRTOC32_REGULAR #define mbui_init(iter, startptr) \ ((iter).cur.ptr = (startptr), \ (iter).in_shift = false, mbszero (&(iter).state), \ (iter).next_done = false, \ (iter).cur_max = MB_CUR_MAX) #else /* Optimized: no in_shift. */ #define mbui_init(iter, startptr) \ ((iter).cur.ptr = (startptr), \ mbszero (&(iter).state), \ (iter).next_done = false, \ (iter).cur_max = MB_CUR_MAX) #endif #define mbui_avail(iter) \ (mbuiter_multi_next (&(iter)), !mb_isnul ((iter).cur)) #define mbui_advance(iter) \ ((iter).cur.ptr += (iter).cur.bytes, (iter).next_done = false) /* Access to the current character. */ #define mbui_cur(iter) (iter).cur #define mbui_cur_ptr(iter) (iter).cur.ptr /* Relocation. */ #define mbui_reloc(iter, ptrdiff) mbuiter_multi_reloc (&iter, ptrdiff) /* Copying an iterator. */ #define mbui_copy mbuiter_multi_copy #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _MBUITER_H */ datamash-1.9/lib/mbuiterf.c0000644000000000000000000000156014767401140011331 /* Iterating through multibyte strings: macros for multi-byte encodings. Copyright (C) 2023-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define MBUITERF_INLINE _GL_EXTERN_INLINE #include "mbuiterf.h" datamash-1.9/lib/mbuiterf.h0000644000000000000000000001632114767401140011337 /* Iterating through multibyte strings, faster: macros for multi-byte encodings. Copyright (C) 2001, 2005, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , with insights from Paul Eggert. */ /* The macros in this file implement forward iteration through a multi-byte string, without knowing its length a-priori. With these macros, an iteration loop that looks like char *iter; for (iter = buf; *iter != '\0'; iter++) { do_something (*iter); } becomes mbuif_state_t state; [const] char *iter; for (mbuif_init (state), iter = buf; mbuif_avail (state, iter); ) { mbchar_t cur = mbuif_next (state, iter); // Note: Here always mb_ptr (cur) == iter. do_something (iter, mb_len (cur)); iter += mb_len (cur); } The benefit of these macros over plain use of mbrtowc or mbrtoc32 is: - Handling of invalid multibyte sequences is possible without making the code more complicated, while still preserving the invalid multibyte sequences. Compared to mbiterf.h, the macros here don't need to know the string's length a-priori. The downside is that at each step, the look-ahead that guards against overrunning the terminating '\0' is more expensive. The mbuif_* macros are therefore suitable when there is a high probability that only the first few multibyte characters need to be inspected. Whereas the mbif_* macros are better if usually the iteration runs through the entire string. The benefit of these macros over those from mbuiter.h is that it produces faster code with today's optimizing compilers (because mbuif_next returns its result by value). mbuif_state_t is a type usable for variable declarations. mbuif_init (state) initializes the state. mbuif_avail (state, iter) returns true if another loop round is needed. mbuif_next (state, iter) returns the next multibyte character. It asssumes that the state is initialized and that *iter != '\0'. Here are the function prototypes of the macros. extern void mbuif_init (mbuif_state_t state); extern bool mbuif_avail (mbuif_state_t state, const char *iter); extern mbchar_t mbuif_next (mbuif_state_t state, const char *iter); */ #ifndef _MBUITERF_H #define _MBUITERF_H 1 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_ALWAYS_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include #include #include #include #include "mbchar.h" #include "strnlen1.h" _GL_INLINE_HEADER_BEGIN #ifndef MBUITERF_INLINE # define MBUITERF_INLINE _GL_INLINE _GL_ATTRIBUTE_ALWAYS_INLINE #endif #ifdef __cplusplus extern "C" { #endif struct mbuif_state { #if !GNULIB_MBRTOC32_REGULAR bool in_shift; /* true if next byte may not be interpreted as ASCII */ /* If GNULIB_MBRTOC32_REGULAR, it is always false, so optimize it away. */ #endif mbstate_t state; /* if in_shift: current shift state */ /* If GNULIB_MBRTOC32_REGULAR, it is in an initial state before and after every mbuiterf_next invocation. */ unsigned int cur_max; /* A cache of MB_CUR_MAX. */ }; MBUITERF_INLINE mbchar_t mbuiterf_next (struct mbuif_state *ps, const char *iter) { #if !GNULIB_MBRTOC32_REGULAR if (ps->in_shift) goto with_shift; #endif /* Handle most ASCII characters quickly, without calling mbrtowc(). */ if (is_basic (*iter)) { /* These characters are part of the POSIX portable character set. For most of them, namely those in the ISO C basic character set, ISO C 99 guarantees that their wide character code is identical to their char code. For the few other ones, this is the case as well, in all locale encodings that are in use. The 32-bit wide character code is the same as well. */ return (mbchar_t) { .ptr = iter, .bytes = 1, .wc_valid = true, .wc = *iter }; } else { assert (mbsinit (&ps->state)); #if !GNULIB_MBRTOC32_REGULAR ps->in_shift = true; with_shift:; #endif size_t bytes; char32_t wc; bytes = mbrtoc32 (&wc, iter, strnlen1 (iter, ps->cur_max), &ps->state); if (bytes == (size_t) -1) { /* An invalid multibyte sequence was encountered. */ /* Allow the next invocation to continue from a sane state. */ #if !GNULIB_MBRTOC32_REGULAR ps->in_shift = false; #endif mbszero (&ps->state); return (mbchar_t) { .ptr = iter, .bytes = 1, .wc_valid = false }; } else if (bytes == (size_t) -2) { /* An incomplete multibyte character at the end. */ /* Whether to set ps->in_shift = false and reset ps->state or not is not important; the string end is reached anyway. */ return (mbchar_t) { .ptr = iter, .bytes = strlen (iter), .wc_valid = false }; } else { if (bytes == 0) { /* A null wide character was encountered. */ bytes = 1; assert (*iter == '\0'); assert (wc == 0); } #if !GNULIB_MBRTOC32_REGULAR else if (bytes == (size_t) -3) /* The previous multibyte sequence produced an additional 32-bit wide character. */ bytes = 0; #endif /* When in an initial state, we can go back treating ASCII characters more quickly. */ #if !GNULIB_MBRTOC32_REGULAR if (mbsinit (&ps->state)) ps->in_shift = false; #endif return (mbchar_t) { .ptr = iter, .bytes = bytes, .wc_valid = true, .wc = wc }; } } } /* Iteration macros. */ typedef struct mbuif_state mbuif_state_t; #if !GNULIB_MBRTOC32_REGULAR #define mbuif_init(st) \ ((st).in_shift = false, mbszero (&(st).state), \ (st).cur_max = MB_CUR_MAX) #else /* Optimized: no in_shift. */ #define mbuif_init(st) \ (mbszero (&(st).state), \ (st).cur_max = MB_CUR_MAX) #endif #if !GNULIB_MBRTOC32_REGULAR #define mbuif_avail(st, iter) ((st).in_shift || (*(iter) != '\0')) #else /* Optimized: no in_shift. */ #define mbuif_avail(st, iter) (*(iter) != '\0') #endif #define mbuif_next(st, iter) \ mbuiterf_next (&(st), (iter)) #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _MBUITERF_H */ datamash-1.9/lib/md5-stream.c0000644000000000000000000000741114767401140011473 /* Functions to compute MD5 message digest of files or memory blocks. according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ulrich Drepper , 1995. */ #include /* Specification. */ #include "md5.h" #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include "af_alg.h" #ifdef _LIBC # include # if __BYTE_ORDER == __BIG_ENDIAN # define WORDS_BIGENDIAN 1 # endif /* We need to keep the namespace clean so define the MD5 function protected using leading __ . */ # define md5_init_ctx __md5_init_ctx # define md5_process_block __md5_process_block # define md5_process_bytes __md5_process_bytes # define md5_finish_ctx __md5_finish_ctx # define md5_stream __md5_stream #endif #define BLOCKSIZE 32768 #if BLOCKSIZE % 64 != 0 # error "invalid BLOCKSIZE" #endif /* Compute MD5 message digest for bytes read from STREAM. The resulting message digest number will be written into the 16 bytes beginning at RESBLOCK. */ int md5_stream (FILE *stream, void *resblock) { switch (afalg_stream (stream, "md5", resblock, MD5_DIGEST_SIZE)) { case 0: return 0; case -EIO: return 1; } char *buffer = malloc (BLOCKSIZE + 72); if (!buffer) return 1; struct md5_ctx ctx; md5_init_ctx (&ctx); size_t sum; /* Iterate over full file contents. */ while (1) { /* We read the file in blocks of BLOCKSIZE bytes. One call of the computation function processes the whole buffer so that with the next round of the loop another block can be read. */ size_t n; sum = 0; /* Read block. Take care for partial reads. */ while (1) { /* Either process a partial fread() from this loop, or the fread() in afalg_stream may have gotten EOF. We need to avoid a subsequent fread() as EOF may not be sticky. For details of such systems, see: https://sourceware.org/bugzilla/show_bug.cgi?id=1190 */ if (feof (stream)) goto process_partial_block; n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; if (sum == BLOCKSIZE) break; if (n == 0) { /* Check for the error flag IFF N == 0, so that we don't exit the loop after a partial read due to e.g., EAGAIN or EWOULDBLOCK. */ if (ferror (stream)) { free (buffer); return 1; } goto process_partial_block; } } /* Process buffer with BLOCKSIZE bytes. Note that BLOCKSIZE % 64 == 0 */ md5_process_block (buffer, BLOCKSIZE, &ctx); } process_partial_block: /* Process any remaining bytes. */ if (sum > 0) md5_process_bytes (buffer, sum, &ctx); /* Construct result in desired memory. */ md5_finish_ctx (&ctx, resblock); free (buffer); return 0; } datamash-1.9/lib/md5.c0000644000000000000000000003205214767401140010201 /* Functions to compute MD5 message digest of files or memory blocks. according to the definition of MD5 in RFC 1321 from April 1992. Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ulrich Drepper , 1995. */ #include /* Specification. */ #if HAVE_OPENSSL_MD5 # define GL_OPENSSL_INLINE _GL_EXTERN_INLINE #endif #include "md5.h" #include #include #include #ifdef _LIBC # include # if __BYTE_ORDER == __BIG_ENDIAN # define WORDS_BIGENDIAN 1 # endif /* We need to keep the namespace clean so define the MD5 function protected using leading __ . */ # define md5_init_ctx __md5_init_ctx # define md5_process_block __md5_process_block # define md5_process_bytes __md5_process_bytes # define md5_finish_ctx __md5_finish_ctx # define md5_read_ctx __md5_read_ctx # define md5_buffer __md5_buffer #endif #include #ifdef WORDS_BIGENDIAN # define SWAP(n) bswap_32 (n) #else # define SWAP(n) (n) #endif #if ! HAVE_OPENSSL_MD5 /* This array contains the bytes used to pad the buffer to the next 64-byte boundary. (RFC 1321, 3.1: Step 1) */ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; /* Initialize structure containing state of computation. (RFC 1321, 3.3: Step 3) */ void md5_init_ctx (struct md5_ctx *ctx) { ctx->A = 0x67452301; ctx->B = 0xefcdab89; ctx->C = 0x98badcfe; ctx->D = 0x10325476; ctx->total[0] = ctx->total[1] = 0; ctx->buflen = 0; } /* Copy the 4 byte value from v into the memory location pointed to by *cp, If your architecture allows unaligned access this is equivalent to * (uint32_t *) cp = v */ static void set_uint32 (char *cp, uint32_t v) { memcpy (cp, &v, sizeof v); } /* Put result from CTX in first 16 bytes following RESBUF. The result must be in little endian byte order. */ void * md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) { char *r = resbuf; set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); return resbuf; } /* Process the remaining bytes in the internal buffer and the usual prolog according to the standard and write the result to RESBUF. */ void * md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) { /* Take yet unprocessed bytes into account. */ uint32_t bytes = ctx->buflen; size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; /* Now count remaining bytes. */ ctx->total[0] += bytes; if (ctx->total[0] < bytes) ++ctx->total[1]; /* Put the 64-bit file length in *bits* at the end of the buffer. */ ctx->buffer[size - 2] = SWAP (ctx->total[0] << 3); ctx->buffer[size - 1] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); /* Process last bytes. */ md5_process_block (ctx->buffer, size * 4, ctx); return md5_read_ctx (ctx, resbuf); } /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ void * md5_buffer (const char *buffer, size_t len, void *resblock) { struct md5_ctx ctx; /* Initialize the computation context. */ md5_init_ctx (&ctx); /* Process whole buffer but last len % 64 bytes. */ md5_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return md5_finish_ctx (&ctx, resblock); } void md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) { /* When we already have some bits in our internal buffer concatenate both inputs first. */ if (ctx->buflen != 0) { size_t left_over = ctx->buflen; size_t add = 128 - left_over > len ? len : 128 - left_over; memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx->buflen += add; if (ctx->buflen > 64) { md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx->buflen &= 63; /* The regions in the following copy operation cannot overlap, because ctx->buflen < 64 ≤ (left_over + add) & ~63. */ memcpy (ctx->buffer, &((char *) ctx->buffer)[(left_over + add) & ~63], ctx->buflen); } buffer = (const char *) buffer + add; len -= add; } /* Process available complete blocks. */ if (len >= 64) { #if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) if (UNALIGNED_P (buffer)) while (len > 64) { md5_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer = (const char *) buffer + 64; len -= 64; } else #endif { md5_process_block (buffer, len & ~63, ctx); buffer = (const char *) buffer + (len & ~63); len &= 63; } } /* Move remaining bytes in internal buffer. */ if (len > 0) { size_t left_over = ctx->buflen; memcpy (&((char *) ctx->buffer)[left_over], buffer, len); left_over += len; if (left_over >= 64) { md5_process_block (ctx->buffer, 64, ctx); left_over -= 64; /* The regions in the following copy operation cannot overlap, because left_over ≤ 64. */ memcpy (ctx->buffer, &ctx->buffer[16], left_over); } ctx->buflen = left_over; } } /* These are the four functions used in the four steps of the MD5 algorithm and defined in the RFC 1321. The first function is a little bit optimized (as found in Colin Plumbs public domain implementation). */ /* #define FF(b, c, d) ((b & c) | (~b & d)) */ #define FF(b, c, d) (d ^ (b & (c ^ d))) #define FG(b, c, d) FF (d, b, c) #define FH(b, c, d) (b ^ c ^ d) #define FI(b, c, d) (c ^ (b | ~d)) /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 64 == 0. */ void md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) { uint32_t correct_words[16]; const uint32_t *words = buffer; size_t nwords = len / sizeof (uint32_t); const uint32_t *endp = words + nwords; uint32_t A = ctx->A; uint32_t B = ctx->B; uint32_t C = ctx->C; uint32_t D = ctx->D; uint32_t lolen = len; /* First increment the byte count. RFC 1321 specifies the possible length of the file up to 2^64 bits. Here we only compute the number of bytes. Do a double word increment. */ ctx->total[0] += lolen; ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); /* Process all bytes in the buffer with 64 bytes in each round of the loop. */ while (words < endp) { uint32_t *cwp = correct_words; uint32_t A_save = A; uint32_t B_save = B; uint32_t C_save = C; uint32_t D_save = D; /* First round: using the given function, the context and a constant the next context is computed. Because the algorithms processing unit is a 32-bit word and it is determined to work on words in little endian byte order we perhaps have to change the byte order before the computation. To reduce the work for the next steps we store the swapped words in the array CORRECT_WORDS. */ #define OP(a, b, c, d, s, T) \ do \ { \ a += FF (b, c, d) + (*cwp++ = SWAP (*words)) + T; \ ++words; \ CYCLIC (a, s); \ a += b; \ } \ while (0) /* It is unfortunate that C does not provide an operator for cyclic rotation. Hope the C compiler is smart enough. */ #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) /* Before we start, one word to the strange constants. They are defined in RFC 1321 as T[i] = (int) (4294967296.0 * fabs (sin (i))), i=1..64 Here is an equivalent invocation using Perl: perl -e 'foreach(1..64){printf "0x%08x\n", int (4294967296 * abs (sin $_))}' */ /* Round 1. */ OP (A, B, C, D, 7, 0xd76aa478); OP (D, A, B, C, 12, 0xe8c7b756); OP (C, D, A, B, 17, 0x242070db); OP (B, C, D, A, 22, 0xc1bdceee); OP (A, B, C, D, 7, 0xf57c0faf); OP (D, A, B, C, 12, 0x4787c62a); OP (C, D, A, B, 17, 0xa8304613); OP (B, C, D, A, 22, 0xfd469501); OP (A, B, C, D, 7, 0x698098d8); OP (D, A, B, C, 12, 0x8b44f7af); OP (C, D, A, B, 17, 0xffff5bb1); OP (B, C, D, A, 22, 0x895cd7be); OP (A, B, C, D, 7, 0x6b901122); OP (D, A, B, C, 12, 0xfd987193); OP (C, D, A, B, 17, 0xa679438e); OP (B, C, D, A, 22, 0x49b40821); /* For the second to fourth round we have the possibly swapped words in CORRECT_WORDS. Redefine the macro to take an additional first argument specifying the function to use. */ #undef OP #define OP(f, a, b, c, d, k, s, T) \ do \ { \ a += f (b, c, d) + correct_words[k] + T; \ CYCLIC (a, s); \ a += b; \ } \ while (0) /* Round 2. */ OP (FG, A, B, C, D, 1, 5, 0xf61e2562); OP (FG, D, A, B, C, 6, 9, 0xc040b340); OP (FG, C, D, A, B, 11, 14, 0x265e5a51); OP (FG, B, C, D, A, 0, 20, 0xe9b6c7aa); OP (FG, A, B, C, D, 5, 5, 0xd62f105d); OP (FG, D, A, B, C, 10, 9, 0x02441453); OP (FG, C, D, A, B, 15, 14, 0xd8a1e681); OP (FG, B, C, D, A, 4, 20, 0xe7d3fbc8); OP (FG, A, B, C, D, 9, 5, 0x21e1cde6); OP (FG, D, A, B, C, 14, 9, 0xc33707d6); OP (FG, C, D, A, B, 3, 14, 0xf4d50d87); OP (FG, B, C, D, A, 8, 20, 0x455a14ed); OP (FG, A, B, C, D, 13, 5, 0xa9e3e905); OP (FG, D, A, B, C, 2, 9, 0xfcefa3f8); OP (FG, C, D, A, B, 7, 14, 0x676f02d9); OP (FG, B, C, D, A, 12, 20, 0x8d2a4c8a); /* Round 3. */ OP (FH, A, B, C, D, 5, 4, 0xfffa3942); OP (FH, D, A, B, C, 8, 11, 0x8771f681); OP (FH, C, D, A, B, 11, 16, 0x6d9d6122); OP (FH, B, C, D, A, 14, 23, 0xfde5380c); OP (FH, A, B, C, D, 1, 4, 0xa4beea44); OP (FH, D, A, B, C, 4, 11, 0x4bdecfa9); OP (FH, C, D, A, B, 7, 16, 0xf6bb4b60); OP (FH, B, C, D, A, 10, 23, 0xbebfbc70); OP (FH, A, B, C, D, 13, 4, 0x289b7ec6); OP (FH, D, A, B, C, 0, 11, 0xeaa127fa); OP (FH, C, D, A, B, 3, 16, 0xd4ef3085); OP (FH, B, C, D, A, 6, 23, 0x04881d05); OP (FH, A, B, C, D, 9, 4, 0xd9d4d039); OP (FH, D, A, B, C, 12, 11, 0xe6db99e5); OP (FH, C, D, A, B, 15, 16, 0x1fa27cf8); OP (FH, B, C, D, A, 2, 23, 0xc4ac5665); /* Round 4. */ OP (FI, A, B, C, D, 0, 6, 0xf4292244); OP (FI, D, A, B, C, 7, 10, 0x432aff97); OP (FI, C, D, A, B, 14, 15, 0xab9423a7); OP (FI, B, C, D, A, 5, 21, 0xfc93a039); OP (FI, A, B, C, D, 12, 6, 0x655b59c3); OP (FI, D, A, B, C, 3, 10, 0x8f0ccc92); OP (FI, C, D, A, B, 10, 15, 0xffeff47d); OP (FI, B, C, D, A, 1, 21, 0x85845dd1); OP (FI, A, B, C, D, 8, 6, 0x6fa87e4f); OP (FI, D, A, B, C, 15, 10, 0xfe2ce6e0); OP (FI, C, D, A, B, 6, 15, 0xa3014314); OP (FI, B, C, D, A, 13, 21, 0x4e0811a1); OP (FI, A, B, C, D, 4, 6, 0xf7537e82); OP (FI, D, A, B, C, 11, 10, 0xbd3af235); OP (FI, C, D, A, B, 2, 15, 0x2ad7d2bb); OP (FI, B, C, D, A, 9, 21, 0xeb86d391); /* Add the starting values of the context. */ A += A_save; B += B_save; C += C_save; D += D_save; } /* Put checksum in context given as argument. */ ctx->A = A; ctx->B = B; ctx->C = C; ctx->D = D; } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/md5.h0000644000000000000000000001317214767401140010210 /* Declaration of functions and data types used for MD5 sum computing library functions. Copyright (C) 1995-1997, 1999-2001, 2004-2006, 2008-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _MD5_H #define _MD5_H 1 /* This file uses HAVE_OPENSSL_MD5. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include # if HAVE_OPENSSL_MD5 # ifndef OPENSSL_API_COMPAT # define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API. */ # endif /* If would give a compile-time error, don't use OpenSSL. */ # include # if OPENSSL_VERSION_MAJOR >= 3 # include # if (OPENSSL_CONFIGURED_API \ < (OPENSSL_API_COMPAT < 0x900000L ? OPENSSL_API_COMPAT : \ ((OPENSSL_API_COMPAT >> 28) & 0xF) * 10000 \ + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \ + ((OPENSSL_API_COMPAT >> 12) & 0xFF))) # undef HAVE_OPENSSL_MD5 # endif # endif # if HAVE_OPENSSL_MD5 # include # endif # endif #define MD5_DIGEST_SIZE 16 #define MD5_BLOCK_SIZE 64 #if defined __clang__ /* clang really only groks GNU C 4.2, regardless of its value of __GNUC__. */ # undef __GNUC_PREREQ # define __GNUC_PREREQ(maj, min) ((maj) < 4 + ((min) <= 2)) #endif #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__)) # else # define __GNUC_PREREQ(maj, min) 0 # endif #endif #ifndef __THROW # if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major__ >= 4) # if __cplusplus >= 201103L # define __THROW noexcept (true) # else # define __THROW throw () # endif # else # define __THROW # endif #endif #ifndef _LIBC # define __md5_buffer md5_buffer # define __md5_finish_ctx md5_finish_ctx # define __md5_init_ctx md5_init_ctx # define __md5_process_block md5_process_block # define __md5_process_bytes md5_process_bytes # define __md5_read_ctx md5_read_ctx # define __md5_stream md5_stream #endif # ifdef __cplusplus extern "C" { # endif # if HAVE_OPENSSL_MD5 # define GL_OPENSSL_NAME 5 # include "gl_openssl.h" # else /* Structure to save state of computation between the single steps. */ struct md5_ctx { uint32_t A; uint32_t B; uint32_t C; uint32_t D; uint32_t total[2]; uint32_t buflen; /* ≥ 0, ≤ 128 */ uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ }; /* * The following three functions are build up the low level used in * the functions 'md5_stream' and 'md5_buffer'. */ /* Initialize structure containing state of computation. (RFC 1321, 3.3: Step 3) */ extern void __md5_init_ctx (struct md5_ctx *ctx) __THROW; /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void __md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx) __THROW; /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ extern void __md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx) __THROW; /* Process the remaining bytes in the buffer and put result from CTX in first 16 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *__md5_finish_ctx (struct md5_ctx *ctx, void *restrict resbuf) __THROW; /* Put result from CTX in first 16 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *restrict resbuf) __THROW; /* Compute MD5 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *__md5_buffer (const char *buffer, size_t len, void *restrict resblock) __THROW; # endif /* Compute MD5 message digest for bytes read from STREAM. STREAM is an open file stream. Regular files are handled more efficiently. The contents of STREAM from its current position to its end will be read. The case that the last operation on STREAM was an 'ungetc' is not supported. The resulting message digest number will be written into the 16 bytes beginning at RESBLOCK. */ extern int __md5_stream (FILE *stream, void *resblock) __THROW; # ifdef __cplusplus } # endif #endif /* md5.h */ /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/memchr.c0000644000000000000000000001345514767401140010775 /* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2025 Free Software Foundation, Inc. Based on strlen implementation by Torbjorn Granlund (tege@sics.se), with help from Dan Sahlin (dan@sics.se) and commentary by Jim Blandy (jimb@ai.mit.edu); adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu), and implemented by Roland McGrath (roland@ai.mit.edu). NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _LIBC # include #endif #include #include #if defined _LIBC # include #else # define reg_char char #endif #include #if HAVE_BP_SYM_H || defined _LIBC # include #else # define BP_SYM(sym) sym #endif #undef __memchr #ifdef _LIBC # undef memchr #endif #ifndef weak_alias # define __memchr memchr #endif /* Search no more than N bytes of S for C. */ void * __memchr (void const *s, int c_in, size_t n) { /* On 32-bit hardware, choosing longword to be a 32-bit unsigned long instead of a 64-bit uintmax_t tends to give better performance. On 64-bit hardware, unsigned long is generally 64 bits already. Change this typedef to experiment with performance. */ typedef unsigned long int longword; const unsigned char *char_ptr; const longword *longword_ptr; longword repeated_one; longword repeated_c; unsigned reg_char c; c = (unsigned char) c_in; /* Handle the first few bytes by reading one byte at a time. Do this until CHAR_PTR is aligned on a longword boundary. */ for (char_ptr = (const unsigned char *) s; n > 0 && (size_t) char_ptr % sizeof (longword) != 0; --n, ++char_ptr) if (*char_ptr == c) return (void *) char_ptr; longword_ptr = (const longword *) char_ptr; /* All these elucidatory comments refer to 4-byte longwords, but the theory applies equally well to any size longwords. */ /* Compute auxiliary longword values: repeated_one is a value which has a 1 in every byte. repeated_c has c in every byte. */ repeated_one = 0x01010101; repeated_c = c | (c << 8); repeated_c |= repeated_c << 16; if (0xffffffffU < (longword) -1) { repeated_one |= repeated_one << 31 << 1; repeated_c |= repeated_c << 31 << 1; if (8 < sizeof (longword)) { size_t i; for (i = 64; i < sizeof (longword) * 8; i *= 2) { repeated_one |= repeated_one << i; repeated_c |= repeated_c << i; } } } /* Instead of the traditional loop which tests each byte, we will test a longword at a time. The tricky part is testing if *any of the four* bytes in the longword in question are equal to c. We first use an xor with repeated_c. This reduces the task to testing whether *any of the four* bytes in longword1 is zero. We compute tmp = ((longword1 - repeated_one) & ~longword1) & (repeated_one << 7). That is, we perform the following operations: 1. Subtract repeated_one. 2. & ~longword1. 3. & a mask consisting of 0x80 in every byte. Consider what happens in each byte: - If a byte of longword1 is zero, step 1 and 2 transform it into 0xff, and step 3 transforms it into 0x80. A carry can also be propagated to more significant bytes. - If a byte of longword1 is nonzero, let its lowest 1 bit be at position k (0 <= k <= 7); so the lowest k bits are 0. After step 1, the byte ends in a single bit of value 0 and k bits of value 1. After step 2, the result is just k bits of value 1: 2^k - 1. After step 3, the result is 0. And no carry is produced. So, if longword1 has only non-zero bytes, tmp is zero. Whereas if longword1 has a zero byte, call j the position of the least significant zero byte. Then the result has a zero at positions 0, ..., j-1 and a 0x80 at position j. We cannot predict the result at the more significant bytes (positions j+1..3), but it does not matter since we already have a non-zero bit at position 8*j+7. So, the test whether any byte in longword1 is zero is equivalent to testing whether tmp is nonzero. */ while (n >= sizeof (longword)) { longword longword1 = *longword_ptr ^ repeated_c; if ((((longword1 - repeated_one) & ~longword1) & (repeated_one << 7)) != 0) break; longword_ptr++; n -= sizeof (longword); } char_ptr = (const unsigned char *) longword_ptr; /* At this point, we know that either n < sizeof (longword), or one of the sizeof (longword) bytes starting at char_ptr is == c. On little-endian machines, we could determine the first such byte without any further memory accesses, just by looking at the tmp result from the last loop iteration. But this does not work on big-endian machines. Choose code that works in both cases. */ for (; n > 0; --n, ++char_ptr) { if (*char_ptr == c) return (void *) char_ptr; } return NULL; } #ifdef weak_alias weak_alias (__memchr, BP_SYM (memchr)) #endif datamash-1.9/lib/memchr.valgrind0000644000000000000000000000216314767401140012353 # Suppress a valgrind message about use of uninitialized memory in memchr(). # Copyright (C) 2009-2025 Free Software Foundation, Inc. # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2.1 of the # License, or (at your option) any later version. # # This file 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 Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . # POSIX states that when the character is found, memchr must not read extra # bytes in an overestimated length (for example, where memchr is used to # implement strnlen). However, we use a safe word read to provide a speedup. { memchr-value4 Memcheck:Value4 fun:rpl_memchr } { memchr-value8 Memcheck:Value8 fun:rpl_memchr } datamash-1.9/lib/mempcpy.c0000644000000000000000000000221314767401140011162 /* Copy memory area and return pointer after last written byte. Copyright (C) 2003, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* A function definition is only needed if HAVE_MEMPCPY is not defined. */ #if !HAVE_MEMPCPY /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ void * mempcpy (void *dest, const void *src, size_t n) { return (char *) memcpy (dest, src, n) + n; } #endif datamash-1.9/lib/minmax.h0000644000000000000000000000476114767401140011020 /* MIN, MAX macros. Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _MINMAX_H #define _MINMAX_H /* Note: MIN, MAX are also defined in on some systems (glibc, IRIX, HP-UX, OSF/1). Therefore you might get warnings about MIN, MAX macro redefinitions on some systems; the workaround is to #include this file as the last one among the #include list. */ /* This file uses HAVE_MINMAX_IN_LIMITS_H, HAVE_MINMAX_IN_SYS_PARAM_H. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Before we define the following symbols we get the file since otherwise we get redefinitions on some systems if is included after this file. Likewise for . If more than one of these system headers define MIN and MAX, pick just one of the headers (because the definitions most likely are the same). */ #if HAVE_MINMAX_IN_LIMITS_H # include #elif HAVE_MINMAX_IN_SYS_PARAM_H # include #endif /* Note: MIN and MAX should be used with two arguments of the same type. They might not return the minimum and maximum of their two arguments, if the arguments have different types or have unusual floating-point values. For example, on a typical host with 32-bit 'int', 64-bit 'long long', and 64-bit IEEE 754 'double' types: MAX (-1, 2147483648) returns 4294967295. MAX (9007199254740992.0, 9007199254740993) returns 9007199254740992.0. MAX (NaN, 0.0) returns 0.0. MAX (+0.0, -0.0) returns -0.0. and in each case the answer is in some sense bogus. */ /* MAX(a,b) returns the maximum of A and B. */ #ifndef MAX # define MAX(a,b) ((a) > (b) ? (a) : (b)) #endif /* MIN(a,b) returns the minimum of A and B. */ #ifndef MIN # define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif #endif /* _MINMAX_H */ datamash-1.9/lib/modf.c0000644000000000000000000000230614767401140010440 /* Get signed integer and fractional parts of a floating-point number. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include double modf (double x, double *iptr) { if (isfinite (x)) { double integer_part = trunc (x); *iptr = integer_part; return x - integer_part; } else { if (isinf (x)) { *iptr = x; return 1.0 / x; } else /* isnand (x) */ { *iptr = x; return x; } } } datamash-1.9/lib/modfl.c0000644000000000000000000000271014767401140010613 /* Get signed integer and fractional parts of a floating-point number. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE long double modfl (long double x, long double *iptr) { double integer_part; double fractional_part = modf (x, &integer_part); *iptr = integer_part; return fractional_part; } #else long double modfl (long double x, long double *iptr) { if (isfinite (x)) { long double integer_part = truncl (x); *iptr = integer_part; return x - integer_part; } else { if (isinf (x)) { *iptr = x; return 1.0L / x; } else /* isnanl (x) */ { *iptr = x; return x; } } } #endif datamash-1.9/lib/msvc-inval.c0000644000000000000000000000755314767401140011603 /* Invalid parameter handler for MSVC runtime libraries. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "msvc-inval.h" #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) /* Get _invalid_parameter_handler type and _set_invalid_parameter_handler declaration. */ # include # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { } # else /* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include # if defined _MSC_VER static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); } # else /* An index to thread-local storage. */ static DWORD tls_index; static int tls_initialized /* = 0 */; /* Used as a fallback only. */ static struct gl_msvc_inval_per_thread not_per_thread; struct gl_msvc_inval_per_thread * gl_msvc_inval_current (void) { if (!tls_initialized) { tls_index = TlsAlloc (); tls_initialized = 1; } if (tls_index == TLS_OUT_OF_INDEXES) /* TlsAlloc had failed. */ return ¬_per_thread; else { struct gl_msvc_inval_per_thread *pointer = (struct gl_msvc_inval_per_thread *) TlsGetValue (tls_index); if (pointer == NULL) { /* First call. Allocate a new 'struct gl_msvc_inval_per_thread'. */ pointer = (struct gl_msvc_inval_per_thread *) malloc (sizeof (struct gl_msvc_inval_per_thread)); if (pointer == NULL) /* Could not allocate memory. Use the global storage. */ pointer = ¬_per_thread; TlsSetValue (tls_index, pointer); } return pointer; } } static void __cdecl gl_msvc_invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); if (current->restart_valid) longjmp (current->restart, 1); else /* An invalid parameter notification from outside the gnulib code. Give the caller a chance to intervene. */ RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); } # endif # endif static int gl_msvc_inval_initialized /* = 0 */; void gl_msvc_inval_ensure_handler (void) { if (gl_msvc_inval_initialized == 0) { _set_invalid_parameter_handler (gl_msvc_invalid_parameter_handler); gl_msvc_inval_initialized = 1; } } #endif datamash-1.9/lib/msvc-inval.h0000644000000000000000000002143514767401140011603 /* Invalid parameter handler for MSVC runtime libraries. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _MSVC_INVAL_H #define _MSVC_INVAL_H /* With MSVC runtime libraries with the "invalid parameter handler" concept, functions like fprintf(), dup2(), or close() crash when the caller passes an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) instead. This file defines macros that turn such an invalid parameter notification into a non-local exit. An error code can then be produced at the target of this exit. You can thus write code like TRY_MSVC_INVAL { } CATCH_MSVC_INVAL { } DONE_MSVC_INVAL; This entire block expands to a single statement. The handling of invalid parameters can be done in three ways: * The default way, which is reasonable for programs (not libraries): AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [DEFAULT_HANDLING]) * The way for libraries that make "hairy" calls (like close(-1), or fclose(fp) where fileno(fp) is closed, or simply getdtablesize()): AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [HAIRY_LIBRARY_HANDLING]) * The way for libraries that make no "hairy" calls: AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [SANE_LIBRARY_HANDLING]) */ /* This file uses HAVE_MSVC_INVALID_PARAMETER_HANDLER. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #define DEFAULT_HANDLING 0 #define HAIRY_LIBRARY_HANDLING 1 #define SANE_LIBRARY_HANDLING 2 #if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) /* A native Windows platform with the "invalid parameter handler" concept, and either DEFAULT_HANDLING or HAIRY_LIBRARY_HANDLING. */ # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING /* Default handling. */ # ifdef __cplusplus extern "C" { # endif /* Ensure that the invalid parameter handler in installed that just returns. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ gl_msvc_inval_ensure_handler (); \ if (1) # define CATCH_MSVC_INVAL \ else # define DONE_MSVC_INVAL \ } \ while (0) # else /* Handling for hairy libraries. */ # include /* Gnulib can define its own status codes, as described in the page "Raising Software Exceptions" on microsoft.com . Our status codes are composed of - 0xE0000000, mandatory for all user-defined status codes, - 0x474E550, a API identifier ("GNU"), - 0, 1, 2, ..., used to distinguish different status codes from the same API. */ # define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) # if defined _MSC_VER /* A compiler that supports __try/__except, as described in the page "try-except statement" on microsoft.com . With __try/__except, we can use the multithread-safe exception handling. */ # ifdef __cplusplus extern "C" { # endif /* Ensure that the invalid parameter handler in installed that raises a software exception with code STATUS_GNULIB_INVALID_PARAMETER. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ gl_msvc_inval_ensure_handler (); \ __try # define CATCH_MSVC_INVAL \ __except (GetExceptionCode () == STATUS_GNULIB_INVALID_PARAMETER \ ? EXCEPTION_EXECUTE_HANDLER \ : EXCEPTION_CONTINUE_SEARCH) # define DONE_MSVC_INVAL \ } \ while (0) # else /* Any compiler. We can only use setjmp/longjmp. */ # include # ifdef __cplusplus extern "C" { # endif struct gl_msvc_inval_per_thread { /* The restart that will resume execution at the code between CATCH_MSVC_INVAL and DONE_MSVC_INVAL. It is enabled only between TRY_MSVC_INVAL and CATCH_MSVC_INVAL. */ jmp_buf restart; /* Tells whether the contents of restart is valid. */ int restart_valid; }; /* Ensure that the invalid parameter handler in installed that passes control to the gl_msvc_inval_restart if it is valid, or raises a software exception with code STATUS_GNULIB_INVALID_PARAMETER otherwise. Because we assume no other part of the program installs a different invalid parameter handler, this solution is multithread-safe. */ extern void gl_msvc_inval_ensure_handler (void); /* Return a pointer to the per-thread data for the current thread. */ extern struct gl_msvc_inval_per_thread *gl_msvc_inval_current (void); # ifdef __cplusplus } # endif # define TRY_MSVC_INVAL \ do \ { \ struct gl_msvc_inval_per_thread *msvc_inval_current; \ gl_msvc_inval_ensure_handler (); \ msvc_inval_current = gl_msvc_inval_current (); \ /* First, initialize gl_msvc_inval_restart. */ \ if (setjmp (msvc_inval_current->restart) == 0) \ { \ /* Then, mark it as valid. */ \ msvc_inval_current->restart_valid = 1; # define CATCH_MSVC_INVAL \ /* Execution completed. \ Mark gl_msvc_inval_restart as invalid. */ \ msvc_inval_current->restart_valid = 0; \ } \ else \ { \ /* Execution triggered an invalid parameter notification. \ Mark gl_msvc_inval_restart as invalid. */ \ msvc_inval_current->restart_valid = 0; # define DONE_MSVC_INVAL \ } \ } \ while (0) # endif # endif #else /* A platform that does not need to the invalid parameter handler, or when SANE_LIBRARY_HANDLING is desired. */ /* The braces here avoid GCC warnings like "warning: suggest explicit braces to avoid ambiguous 'else'". */ # define TRY_MSVC_INVAL \ do \ { \ if (1) # define CATCH_MSVC_INVAL \ else # define DONE_MSVC_INVAL \ } \ while (0) #endif #endif /* _MSVC_INVAL_H */ datamash-1.9/lib/msvc-nothrow.c0000644000000000000000000000255614767401140012170 /* Wrappers that don't throw invalid parameter notifications with MSVC runtime libraries. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "msvc-nothrow.h" /* Get declarations of the native Windows API functions. */ #define WIN32_LEAN_AND_MEAN #include #if HAVE_MSVC_INVALID_PARAMETER_HANDLER # include "msvc-inval.h" #endif #undef _get_osfhandle #if HAVE_MSVC_INVALID_PARAMETER_HANDLER intptr_t _gl_nothrow_get_osfhandle (int fd) { intptr_t result; TRY_MSVC_INVAL { result = _get_osfhandle (fd); } CATCH_MSVC_INVAL { result = (intptr_t) INVALID_HANDLE_VALUE; } DONE_MSVC_INVAL; return result; } #endif datamash-1.9/lib/msvc-nothrow.h0000644000000000000000000000334314767401140012170 /* Wrappers that don't throw invalid parameter notifications with MSVC runtime libraries. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _MSVC_NOTHROW_H #define _MSVC_NOTHROW_H /* With MSVC runtime libraries with the "invalid parameter handler" concept, functions like fprintf(), dup2(), or close() crash when the caller passes an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) instead. This file defines wrappers that turn such an invalid parameter notification into an error code. */ /* This file uses HAVE_MSVC_INVALID_PARAMETER_HANDLER. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if defined _WIN32 && ! defined __CYGWIN__ /* Get original declaration of _get_osfhandle. */ # include # ifdef __cplusplus extern "C" { # endif # if HAVE_MSVC_INVALID_PARAMETER_HANDLER /* Override _get_osfhandle. */ extern intptr_t _gl_nothrow_get_osfhandle (int fd); # define _get_osfhandle _gl_nothrow_get_osfhandle # endif # ifdef __cplusplus } # endif #endif #endif /* _MSVC_NOTHROW_H */ datamash-1.9/lib/netinet_in.in.h0000644000000000000000000000253614767401140012266 /* Substitute for . Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_NETINET_IN_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_NETINET_IN_H@ /* On many platforms, assumes prior inclusion of . */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_NETINET_IN_H@ #endif #ifndef _@GUARD_PREFIX@_NETINET_IN_H #define _@GUARD_PREFIX@_NETINET_IN_H #if !@HAVE_NETINET_IN_H@ /* A platform that lacks . */ # include #endif #endif /* _@GUARD_PREFIX@_NETINET_IN_H */ #endif /* _@GUARD_PREFIX@_NETINET_IN_H */ datamash-1.9/lib/offtostr.c0000644000000000000000000000151314767401140011360 /* Convert 'off_t' integer to printable string. Copyright (C) 2004-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define anytostr offtostr #define inttype off_t #include "anytostr.c" datamash-1.9/lib/open.c0000644000000000000000000001546014767401140010461 /* Open a descriptor to a file. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_open doesn't recurse to rpl_open. */ #define __need_system_fcntl_h #include /* Get the original definition of open. It might be defined as a macro. */ #include #include #undef __need_system_fcntl_h static int orig_open (const char *filename, int flags, mode_t mode) { #if defined _WIN32 && !defined __CYGWIN__ return _open (filename, flags, mode); #else return open (filename, flags, mode); #endif } /* Specification. */ #ifdef __osf__ /* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "fcntl.h" #else # include #endif #include "cloexec.h" #include #include #include #include #include #include #ifndef REPLACE_OPEN_DIRECTORY # define REPLACE_OPEN_DIRECTORY 0 #endif int open (const char *filename, int flags, ...) { /* 0 = unknown, 1 = yes, -1 = no. */ #if GNULIB_defined_O_CLOEXEC int have_cloexec = -1; #else static int have_cloexec; #endif mode_t mode; int fd; mode = 0; if (flags & O_CREAT) { va_list arg; va_start (arg, flags); /* We have to use PROMOTED_MODE_T instead of mode_t, otherwise GCC 4 creates crashing code when 'mode_t' is smaller than 'int'. */ mode = va_arg (arg, PROMOTED_MODE_T); va_end (arg); } #if GNULIB_defined_O_NONBLOCK /* The only known platform that lacks O_NONBLOCK is mingw, but it also lacks named pipes and Unix sockets, which are the only two file types that require non-blocking handling in open(). Therefore, it is safe to ignore O_NONBLOCK here. It is handy that mingw also lacks openat(), so that is also covered here. */ flags &= ~O_NONBLOCK; #endif #if defined _WIN32 && ! defined __CYGWIN__ if (strcmp (filename, "/dev/null") == 0) filename = "NUL"; #endif #if OPEN_TRAILING_SLASH_BUG /* Fail if one of O_CREAT, O_WRONLY, O_RDWR is specified and the filename ends in a slash, as POSIX says such a filename must name a directory : "A pathname that contains at least one non- character and that ends with one or more trailing characters shall not be resolved successfully unless the last pathname component before the trailing characters names an existing directory" If the named file already exists as a directory, then - if O_CREAT is specified, open() must fail because of the semantics of O_CREAT, - if O_WRONLY or O_RDWR is specified, open() must fail because POSIX says that it fails with errno = EISDIR in this case. If the named file does not exist or does not name a directory, then - if O_CREAT is specified, open() must fail since open() cannot create directories, - if O_WRONLY or O_RDWR is specified, open() must fail because the file does not contain a '.' directory. */ if ((flags & O_CREAT) || (flags & O_ACCMODE) == O_RDWR || (flags & O_ACCMODE) == O_WRONLY) { size_t len = strlen (filename); if (len > 0 && filename[len - 1] == '/') { errno = EISDIR; return -1; } } #endif fd = orig_open (filename, flags & ~(have_cloexec < 0 ? O_CLOEXEC : 0), mode); if (flags & O_CLOEXEC) { if (! have_cloexec) { if (0 <= fd) have_cloexec = 1; else if (errno == EINVAL) { fd = orig_open (filename, flags & ~O_CLOEXEC, mode); have_cloexec = -1; } } if (have_cloexec < 0 && 0 <= fd) set_cloexec_flag (fd, true); } #if REPLACE_FCHDIR /* Implementing fchdir and fdopendir requires the ability to open a directory file descriptor. If open doesn't support that (as on mingw), we use a dummy file that behaves the same as directories on Linux (ie. always reports EOF on attempts to read()), and override fstat() in fchdir.c to hide the fact that we have a dummy. */ if (REPLACE_OPEN_DIRECTORY && fd < 0 && errno == EACCES && ((flags & O_ACCMODE) == O_RDONLY || (O_SEARCH != O_RDONLY && (flags & O_ACCMODE) == O_SEARCH))) { struct stat statbuf; if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) { /* Maximum recursion depth of 1. */ fd = open ("/dev/null", flags, mode); if (0 <= fd) fd = _gl_register_fd (fd, filename); } else errno = EACCES; } #endif #if OPEN_TRAILING_SLASH_BUG /* If the filename ends in a slash and fd does not refer to a directory, then fail. Rationale: POSIX says such a filename must name a directory : "A pathname that contains at least one non- character and that ends with one or more trailing characters shall not be resolved successfully unless the last pathname component before the trailing characters names an existing directory" If the named file without the slash is not a directory, open() must fail with ENOTDIR. */ if (fd >= 0) { /* We know len is positive, since open did not fail with ENOENT. */ size_t len = strlen (filename); if (filename[len - 1] == '/') { struct stat statbuf; if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) { close (fd); errno = ENOTDIR; return -1; } } } #endif #if REPLACE_FCHDIR if (!REPLACE_OPEN_DIRECTORY && 0 <= fd) fd = _gl_register_fd (fd, filename); #endif return fd; } datamash-1.9/lib/pathmax.h0000644000000000000000000000601714767401140011165 /* Define PATH_MAX somehow. Requires sys/types.h. Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _PATHMAX_H # define _PATHMAX_H /* POSIX:2008 defines PATH_MAX to be the maximum number of bytes in a filename, including the terminating NUL byte. PATH_MAX is not defined on systems which have no limit on filename length, such as GNU/Hurd. This file does *not* define PATH_MAX always. Programs that use this file can handle the GNU/Hurd case in several ways: - Either with a package-wide handling, or with a per-file handling, - Either through a #ifdef PATH_MAX or through a fallback like #ifndef PATH_MAX # define PATH_MAX 8192 #endif or through a fallback like #ifndef PATH_MAX # define PATH_MAX pathconf ("/", _PC_PATH_MAX) #endif */ /* This file uses HAVE_SYS_PARAM_H. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include # include # ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 256 # endif /* Don't include sys/param.h if it already has been. */ # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include # endif # if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN # endif # ifdef __hpux /* On HP-UX, PATH_MAX designates the maximum number of bytes in a filename, *not* including the terminating NUL byte, and is set to 1023. Additionally, when _XOPEN_SOURCE is defined to 500 or more, PATH_MAX is not defined at all any more. */ # undef PATH_MAX # define PATH_MAX 1024 # endif # if defined _WIN32 && ! defined __CYGWIN__ /* The page "Naming Files, Paths, and Namespaces" on msdn.microsoft.com, section "Maximum Path Length Limitation", explains that the maximum size of a filename, including the terminating NUL byte, is 260 = 3 + 256 + 1. This is the same value as - FILENAME_MAX in , - _MAX_PATH in , - MAX_PATH in . Undefine the original value, because mingw's gets it wrong. */ # undef PATH_MAX # define PATH_MAX 260 # endif #endif /* _PATHMAX_H */ datamash-1.9/lib/pclose.c0000644000000000000000000000161214767401140010777 /* Close a stream to a sub-process. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Native Windows API. */ int pclose (FILE *stream) { return _pclose (stream); } datamash-1.9/lib/popen.c0000644000000000000000000000662114767401140010640 /* Open a stream to a sub-process. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake , 2009. */ #include /* Specification. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Native Windows API. */ # include FILE * popen (const char *filename, const char *mode) { /* Use binary mode by default. */ if (strcmp (mode, "r") == 0) mode = "rb"; else if (strcmp (mode, "w") == 0) mode = "wb"; return _popen (filename, mode); } #else # include # include # include # include # undef popen FILE * rpl_popen (const char *filename, const char *mode) { /* All other platforms have popen and fcntl. The bug of the child clobbering its own file descriptors if stdin or stdout was closed in the parent can be worked around by opening those two fds as close-on-exec to begin with. */ /* Cygwin 1.5.x also has a bug where the popen fd is improperly marked close-on-exec, and if the application undoes this, then the fd leaks into subsequent popen calls. We could work around this by maintaining a list of all fd's opened by popen, and temporarily marking them cloexec around the real popen call, but we would also have to override pclose, and the bookkeeping seems extreme given that cygwin 1.7 no longer has the bug. */ FILE *result; int cloexec0 = fcntl (STDIN_FILENO, F_GETFD); int cloexec1 = fcntl (STDOUT_FILENO, F_GETFD); int saved_errno; /* If either stdin or stdout was closed (that is, fcntl failed), then we open a dummy close-on-exec fd to occupy that slot. That way, popen's internal use of pipe() will not contain either fd 0 or 1, overcoming the fact that the child process blindly calls close() on the parent's end of the pipe without first checking whether it is clobbering the fd just placed there via dup2(); the exec will get rid of the dummy fd's in the child. Fortunately, closed stderr in the parent does not cause problems in the child. */ if (cloexec0 < 0) { if (open ("/dev/null", O_RDONLY) != STDIN_FILENO || fcntl (STDIN_FILENO, F_SETFD, fcntl (STDIN_FILENO, F_GETFD) | FD_CLOEXEC) == -1) abort (); } if (cloexec1 < 0) { if (open ("/dev/null", O_RDONLY) != STDOUT_FILENO || fcntl (STDOUT_FILENO, F_SETFD, fcntl (STDOUT_FILENO, F_GETFD) | FD_CLOEXEC) == -1) abort (); } result = popen (filename, mode); /* Now, close any dummy fd's created in the parent. */ saved_errno = errno; if (cloexec0 < 0) close (STDIN_FILENO); if (cloexec1 < 0) close (STDOUT_FILENO); errno = saved_errno; return result; } #endif datamash-1.9/lib/printf-args.c0000644000000000000000000002611114767402206011753 /* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be defined. STATIC Set to 'static' to declare the function static. */ #ifndef PRINTF_FETCHARGS # include #endif /* Specification. */ #ifndef PRINTF_FETCHARGS # include "printf-args.h" #endif /* Get INT_WIDTH. */ #include /* Get abort(). */ #include #ifdef STATIC STATIC #endif int PRINTF_FETCHARGS (va_list args, arguments *a) { size_t i; argument *ap; for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) switch (ap->type) { case TYPE_SCHAR: ap->a.a_schar = va_arg (args, /*signed char*/ int); break; case TYPE_UCHAR: ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); break; case TYPE_SHORT: ap->a.a_short = va_arg (args, /*short*/ int); break; case TYPE_USHORT: ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); break; case TYPE_INT: ap->a.a_int = va_arg (args, int); break; case TYPE_UINT: ap->a.a_uint = va_arg (args, unsigned int); break; case TYPE_LONGINT: ap->a.a_longint = va_arg (args, long int); break; case TYPE_ULONGINT: ap->a.a_ulongint = va_arg (args, unsigned long int); break; case TYPE_LONGLONGINT: ap->a.a_longlongint = va_arg (args, long long int); break; case TYPE_ULONGLONGINT: ap->a.a_ulonglongint = va_arg (args, unsigned long long int); break; case TYPE_INT8_T: #if INT8_WIDTH < INT_WIDTH ap->a.a_int8_t = va_arg (args, /* int8_t */ int); #else ap->a.a_int8_t = va_arg (args, int8_t); #endif break; case TYPE_UINT8_T: #if UINT8_WIDTH < INT_WIDTH ap->a.a_uint8_t = va_arg (args, /* uint8_t */ int); #else ap->a.a_uint8_t = va_arg (args, uint8_t); #endif break; case TYPE_INT16_T: #if INT16_WIDTH < INT_WIDTH ap->a.a_int16_t = va_arg (args, /* int16_t */ int); #else ap->a.a_int16_t = va_arg (args, int16_t); #endif break; case TYPE_UINT16_T: #if UINT16_WIDTH < INT_WIDTH ap->a.a_uint16_t = va_arg (args, /* uint16_t */ int); #else ap->a.a_uint16_t = va_arg (args, uint16_t); #endif break; case TYPE_INT32_T: #if INT32_WIDTH < INT_WIDTH ap->a.a_int32_t = va_arg (args, /* int32_t */ int); #else ap->a.a_int32_t = va_arg (args, int32_t); #endif break; case TYPE_UINT32_T: #if UINT32_WIDTH < INT_WIDTH ap->a.a_uint32_t = va_arg (args, /* uint32_t */ int); #else ap->a.a_uint32_t = va_arg (args, uint32_t); #endif break; case TYPE_INT64_T: ap->a.a_int64_t = va_arg (args, int64_t); break; case TYPE_UINT64_T: ap->a.a_uint64_t = va_arg (args, uint64_t); break; case TYPE_INT_FAST8_T: #if INT_FAST8_WIDTH < INT_WIDTH ap->a.a_int_fast8_t = va_arg (args, /* int_fast8_t */ int); #else ap->a.a_int_fast8_t = va_arg (args, int_fast8_t); #endif break; case TYPE_UINT_FAST8_T: #if UINT_FAST8_WIDTH < INT_WIDTH ap->a.a_uint_fast8_t = va_arg (args, /* uint_fast8_t */ int); #else ap->a.a_uint_fast8_t = va_arg (args, uint_fast8_t); #endif break; case TYPE_INT_FAST16_T: #if INT_FAST16_WIDTH < INT_WIDTH ap->a.a_int_fast16_t = va_arg (args, /* int_fast16_t */ int); #else ap->a.a_int_fast16_t = va_arg (args, int_fast16_t); #endif break; case TYPE_UINT_FAST16_T: #if UINT_FAST16_WIDTH < INT_WIDTH ap->a.a_uint_fast16_t = va_arg (args, /* uint_fast16_t */ int); #else ap->a.a_uint_fast16_t = va_arg (args, uint_fast16_t); #endif break; case TYPE_INT_FAST32_T: #if INT_FAST32_WIDTH < INT_WIDTH ap->a.a_int_fast32_t = va_arg (args, /* int_fast32_t */ int); #else ap->a.a_int_fast32_t = va_arg (args, int_fast32_t); #endif break; case TYPE_UINT_FAST32_T: #if UINT_FAST32_WIDTH < INT_WIDTH ap->a.a_uint_fast32_t = va_arg (args, /* uint_fast32_t */ int); #else ap->a.a_uint_fast32_t = va_arg (args, uint_fast32_t); #endif break; case TYPE_INT_FAST64_T: ap->a.a_int_fast64_t = va_arg (args, int_fast64_t); break; case TYPE_UINT_FAST64_T: ap->a.a_uint_fast64_t = va_arg (args, uint_fast64_t); break; case TYPE_DOUBLE: ap->a.a_double = va_arg (args, double); break; case TYPE_LONGDOUBLE: ap->a.a_longdouble = va_arg (args, long double); break; case TYPE_CHAR: ap->a.a_char = va_arg (args, int); break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: /* Although ISO C 99 7.24.1.(2) says that wint_t is "unchanged by default argument promotions", this is not the case in mingw32, where wint_t is 'unsigned short'. */ ap->a.a_wide_char = (sizeof (wint_t) < sizeof (int) ? (wint_t) va_arg (args, int) : va_arg (args, wint_t)); break; #endif case TYPE_STRING: ap->a.a_string = va_arg (args, const char *); /* A null pointer is an invalid argument for "%s", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_string == NULL) ap->a.a_string = "(NULL)"; break; case TYPE_WIDE_STRING: ap->a.a_wide_string = va_arg (args, const wchar_t *); /* A null pointer is an invalid argument for "%ls", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_wide_string == NULL) { static const wchar_t wide_null_string[] = { (wchar_t)'(', (wchar_t)'N', (wchar_t)'U', (wchar_t)'L', (wchar_t)'L', (wchar_t)')', (wchar_t)0 }; ap->a.a_wide_string = wide_null_string; } break; case TYPE_POINTER: ap->a.a_pointer = va_arg (args, void *); break; case TYPE_COUNT_SCHAR_POINTER: ap->a.a_count_schar_pointer = va_arg (args, signed char *); break; case TYPE_COUNT_SHORT_POINTER: ap->a.a_count_short_pointer = va_arg (args, short *); break; case TYPE_COUNT_INT_POINTER: ap->a.a_count_int_pointer = va_arg (args, int *); break; case TYPE_COUNT_LONGINT_POINTER: ap->a.a_count_longint_pointer = va_arg (args, long int *); break; case TYPE_COUNT_LONGLONGINT_POINTER: ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); break; case TYPE_COUNT_INT8_T_POINTER: ap->a.a_count_int8_t_pointer = va_arg (args, int8_t *); break; case TYPE_COUNT_INT16_T_POINTER: ap->a.a_count_int16_t_pointer = va_arg (args, int16_t *); break; case TYPE_COUNT_INT32_T_POINTER: ap->a.a_count_int32_t_pointer = va_arg (args, int32_t *); break; case TYPE_COUNT_INT64_T_POINTER: ap->a.a_count_int64_t_pointer = va_arg (args, int64_t *); break; case TYPE_COUNT_INT_FAST8_T_POINTER: ap->a.a_count_int_fast8_t_pointer = va_arg (args, int_fast8_t *); break; case TYPE_COUNT_INT_FAST16_T_POINTER: ap->a.a_count_int_fast16_t_pointer = va_arg (args, int_fast16_t *); break; case TYPE_COUNT_INT_FAST32_T_POINTER: ap->a.a_count_int_fast32_t_pointer = va_arg (args, int_fast32_t *); break; case TYPE_COUNT_INT_FAST64_T_POINTER: ap->a.a_count_int_fast64_t_pointer = va_arg (args, int_fast64_t *); break; #if ENABLE_UNISTDIO /* The unistdio extensions. */ case TYPE_U8_STRING: ap->a.a_u8_string = va_arg (args, const uint8_t *); /* A null pointer is an invalid argument for "%U", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u8_string == NULL) { static const uint8_t u8_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u8_string = u8_null_string; } break; case TYPE_U16_STRING: ap->a.a_u16_string = va_arg (args, const uint16_t *); /* A null pointer is an invalid argument for "%lU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u16_string == NULL) { static const uint16_t u16_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u16_string = u16_null_string; } break; case TYPE_U32_STRING: ap->a.a_u32_string = va_arg (args, const uint32_t *); /* A null pointer is an invalid argument for "%llU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u32_string == NULL) { static const uint32_t u32_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u32_string = u32_null_string; } break; #endif case TYPE_NONE: /* Argument i is not used by any directive, but some argument with number > i is used by a format directive. POSIX says that this is invalid: "When numbered argument specifications are used, specifying the Nth argument requires that all the leading arguments, from the first to the (N-1)th, are specified in the format string." The reason is that we cannot know how many bytes to skip in the va_arg sequence. */ return -1; default: /* Unknown type. Should not happen. */ abort (); } return 0; } datamash-1.9/lib/printf-args.h0000644000000000000000000001343414767401140011760 /* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _PRINTF_ARGS_H #define _PRINTF_ARGS_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be declared. STATIC Set to 'static' to declare the function static. */ /* Default parameters. */ #ifndef PRINTF_FETCHARGS # define PRINTF_FETCHARGS printf_fetchargs #endif /* Get size_t, wchar_t. */ #include /* Get wint_t. */ #if HAVE_WINT_T # include #endif /* Get intN_t, uintN_t, intN_fast_t, uintN_fast_t. */ #include /* Get va_list. */ #include /* Argument types */ typedef enum { TYPE_NONE, TYPE_SCHAR, TYPE_UCHAR, TYPE_SHORT, TYPE_USHORT, TYPE_INT, TYPE_UINT, TYPE_LONGINT, TYPE_ULONGINT, TYPE_LONGLONGINT, TYPE_ULONGLONGINT, /* According to ISO C 23 § 7.23.6.1, "all exact-width integer types", "all minimum-width integer types", and "all fastest minimum-width integer types" defined in should be supported. But for portability between platforms, we support only those with N = 8, 16, 32, 64. */ TYPE_INT8_T, TYPE_UINT8_T, TYPE_INT16_T, TYPE_UINT16_T, TYPE_INT32_T, TYPE_UINT32_T, TYPE_INT64_T, TYPE_UINT64_T, TYPE_INT_FAST8_T, TYPE_UINT_FAST8_T, TYPE_INT_FAST16_T, TYPE_UINT_FAST16_T, TYPE_INT_FAST32_T, TYPE_UINT_FAST32_T, TYPE_INT_FAST64_T, TYPE_UINT_FAST64_T, TYPE_DOUBLE, TYPE_LONGDOUBLE, TYPE_CHAR, #if HAVE_WINT_T TYPE_WIDE_CHAR, #endif TYPE_STRING, TYPE_WIDE_STRING, TYPE_POINTER, TYPE_COUNT_SCHAR_POINTER, TYPE_COUNT_SHORT_POINTER, TYPE_COUNT_INT_POINTER, TYPE_COUNT_LONGINT_POINTER, TYPE_COUNT_LONGLONGINT_POINTER, TYPE_COUNT_INT8_T_POINTER, TYPE_COUNT_INT16_T_POINTER, TYPE_COUNT_INT32_T_POINTER, TYPE_COUNT_INT64_T_POINTER, TYPE_COUNT_INT_FAST8_T_POINTER, TYPE_COUNT_INT_FAST16_T_POINTER, TYPE_COUNT_INT_FAST32_T_POINTER, TYPE_COUNT_INT_FAST64_T_POINTER #if ENABLE_UNISTDIO /* The unistdio extensions. */ , TYPE_U8_STRING , TYPE_U16_STRING , TYPE_U32_STRING #endif } arg_type; /* Polymorphic argument */ typedef struct { arg_type type; union { signed char a_schar; unsigned char a_uchar; short a_short; unsigned short a_ushort; int a_int; unsigned int a_uint; long int a_longint; unsigned long int a_ulongint; long long int a_longlongint; unsigned long long int a_ulonglongint; int8_t a_int8_t; uint8_t a_uint8_t; int16_t a_int16_t; uint16_t a_uint16_t; int32_t a_int32_t; uint32_t a_uint32_t; int64_t a_int64_t; uint64_t a_uint64_t; int_fast8_t a_int_fast8_t; uint_fast8_t a_uint_fast8_t; int_fast16_t a_int_fast16_t; uint_fast16_t a_uint_fast16_t; int_fast32_t a_int_fast32_t; uint_fast32_t a_uint_fast32_t; int_fast64_t a_int_fast64_t; uint_fast64_t a_uint_fast64_t; float a_float; /* unused */ double a_double; long double a_longdouble; int a_char; #if HAVE_WINT_T wint_t a_wide_char; #endif const char* a_string; const wchar_t* a_wide_string; void* a_pointer; signed char * a_count_schar_pointer; short * a_count_short_pointer; int * a_count_int_pointer; long int * a_count_longint_pointer; long long int * a_count_longlongint_pointer; int8_t * a_count_int8_t_pointer; int16_t * a_count_int16_t_pointer; int32_t * a_count_int32_t_pointer; int64_t * a_count_int64_t_pointer; int_fast8_t * a_count_int_fast8_t_pointer; int_fast16_t * a_count_int_fast16_t_pointer; int_fast32_t * a_count_int_fast32_t_pointer; int_fast64_t * a_count_int_fast64_t_pointer; #if ENABLE_UNISTDIO /* The unistdio extensions. */ const uint8_t * a_u8_string; const uint16_t * a_u16_string; const uint32_t * a_u32_string; #endif } a; } argument; /* Number of directly allocated arguments (no malloc() needed). */ #define N_DIRECT_ALLOC_ARGUMENTS 7 typedef struct { size_t count; argument *arg; argument direct_alloc_arg[N_DIRECT_ALLOC_ARGUMENTS]; } arguments; /* Fetch the arguments, putting them into a. */ #ifdef STATIC STATIC #else extern #endif int PRINTF_FETCHARGS (va_list args, arguments *a); #endif /* _PRINTF_ARGS_H */ datamash-1.9/lib/printf-parse.c0000644000000000000000000006262614767401140012140 /* Formatted output to strings. Copyright (C) 1999-2000, 2002-2003, 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file can be parametrized with the following macros: CHAR_T The element type of the format string. CHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. DIRECTIVE Structure denoting a format directive. Depends on CHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on CHAR_T. PRINTF_PARSE Function that parses a format string. Depends on CHAR_T. STATIC Set to 'static' to declare the function static. ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. */ #ifndef PRINTF_PARSE # include #endif /* Specification. */ #ifndef PRINTF_PARSE # include "printf-parse.h" #endif /* Default parameters. */ #ifndef PRINTF_PARSE # define PRINTF_PARSE printf_parse # define CHAR_T char # define DIRECTIVE char_directive # define DIRECTIVES char_directives #endif /* Get size_t, NULL. */ #include /* Get intmax_t. */ #include /* malloc(), realloc(), free(). */ #include /* memcpy(). */ #include /* errno. */ #include /* Checked size_t computations. */ #include "xsize.h" #if CHAR_T_ONLY_ASCII /* c_isascii(). */ # include "c-ctype.h" #endif #ifdef STATIC STATIC #endif int PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) { const CHAR_T *cp = format; /* pointer into format */ size_t arg_posn = 0; /* number of regular arguments consumed */ size_t d_allocated; /* allocated elements of d->dir */ size_t a_allocated; /* allocated elements of a->arg */ size_t max_width_length = 0; size_t max_precision_length = 0; d->count = 0; d_allocated = N_DIRECT_ALLOC_DIRECTIVES; d->dir = d->direct_alloc_dir; a->count = 0; a_allocated = N_DIRECT_ALLOC_ARGUMENTS; a->arg = a->direct_alloc_arg; #define REGISTER_ARG(_index_,_type_) \ { \ size_t n = (_index_); \ if (n >= a_allocated) \ { \ size_t memory_size; \ argument *memory; \ \ a_allocated = xtimes (a_allocated, 2); \ if (a_allocated <= n) \ a_allocated = xsum (n, 1); \ memory_size = xtimes (a_allocated, sizeof (argument)); \ if (size_overflow_p (memory_size)) \ /* Overflow, would lead to out of memory. */ \ goto out_of_memory; \ memory = (argument *) (a->arg != a->direct_alloc_arg \ ? realloc (a->arg, memory_size) \ : malloc (memory_size)); \ if (memory == NULL) \ /* Out of memory. */ \ goto out_of_memory; \ if (a->arg == a->direct_alloc_arg) \ memcpy (memory, a->arg, a->count * sizeof (argument)); \ a->arg = memory; \ } \ while (a->count <= n) \ a->arg[a->count++].type = TYPE_NONE; \ if (a->arg[n].type == TYPE_NONE) \ a->arg[n].type = (_type_); \ else if (a->arg[n].type != (_type_)) \ /* Ambiguous type for positional argument. */ \ goto error; \ } while (*cp != '\0') { CHAR_T c = *cp++; if (c == '%') { size_t arg_index = ARG_NONE; DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ /* Initialize the next directive. */ dp->dir_start = cp - 1; dp->flags = 0; dp->width_start = NULL; dp->width_end = NULL; dp->width_arg_index = ARG_NONE; dp->precision_start = NULL; dp->precision_end = NULL; dp->precision_arg_index = ARG_NONE; dp->arg_index = ARG_NONE; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; arg_index = n - 1; cp = np + 1; } } /* Read the flags. */ for (;;) { if (*cp == '\'') { dp->flags |= FLAG_GROUP; cp++; } else if (*cp == '-') { dp->flags |= FLAG_LEFT; cp++; } else if (*cp == '+') { dp->flags |= FLAG_SHOWSIGN; cp++; } else if (*cp == ' ') { dp->flags |= FLAG_SPACE; cp++; } else if (*cp == '#') { dp->flags |= FLAG_ALT; cp++; } else if (*cp == '0') { dp->flags |= FLAG_ZERO; cp++; } #if __GLIBC__ >= 2 && !defined __UCLIBC__ else if (*cp == 'I') { dp->flags |= FLAG_LOCALIZED; cp++; } #endif else break; } /* Parse the field width. */ if (*cp == '*') { dp->width_start = cp; cp++; dp->width_end = cp; if (max_width_length < 1) max_width_length = 1; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->width_arg_index = n - 1; cp = np + 1; } } if (dp->width_arg_index == ARG_NONE) { dp->width_arg_index = arg_posn++; if (dp->width_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->width_arg_index, TYPE_INT); } else if (*cp >= '0' && *cp <= '9') { size_t width_length; dp->width_start = cp; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->width_end = cp; width_length = dp->width_end - dp->width_start; if (max_width_length < width_length) max_width_length = width_length; } /* Parse the precision. */ if (*cp == '.') { cp++; if (*cp == '*') { dp->precision_start = cp - 1; cp++; dp->precision_end = cp; if (max_precision_length < 2) max_precision_length = 2; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->precision_arg_index = n - 1; cp = np + 1; } } if (dp->precision_arg_index == ARG_NONE) { dp->precision_arg_index = arg_posn++; if (dp->precision_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->precision_arg_index, TYPE_INT); } else { size_t precision_length; dp->precision_start = cp - 1; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->precision_end = cp; precision_length = dp->precision_end - dp->precision_start; if (max_precision_length < precision_length) max_precision_length = precision_length; } } { arg_type type; /* Parse argument type/size specifiers. */ /* Relevant for the conversion characters d, i. */ arg_type signed_type = TYPE_INT; /* Relevant for the conversion characters b, o, u, x, X. */ arg_type unsigned_type = TYPE_UINT; /* Relevant for the conversion characters n. */ arg_type pointer_type = TYPE_COUNT_INT_POINTER; /* Relevant for the conversion characters a, A, e, E, f, F, g, G. */ arg_type floatingpoint_type = TYPE_DOUBLE; if (*cp == 'h') { if (cp[1] == 'h') { signed_type = TYPE_SCHAR; unsigned_type = TYPE_UCHAR; pointer_type = TYPE_COUNT_SCHAR_POINTER; cp += 2; } else { signed_type = TYPE_SHORT; unsigned_type = TYPE_USHORT; pointer_type = TYPE_COUNT_SHORT_POINTER; cp++; } } else if (*cp == 'l') { if (cp[1] == 'l') { signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; /* For backward compatibility only. */ floatingpoint_type = TYPE_LONGDOUBLE; cp += 2; } else { signed_type = TYPE_LONGINT; unsigned_type = TYPE_ULONGINT; pointer_type = TYPE_COUNT_LONGINT_POINTER; cp++; } } else if (*cp == 'j') { if (sizeof (intmax_t) > sizeof (long)) { /* intmax_t = long long */ signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; /* For backward compatibility only. */ floatingpoint_type = TYPE_LONGDOUBLE; } else if (sizeof (intmax_t) > sizeof (int)) { /* intmax_t = long */ signed_type = TYPE_LONGINT; unsigned_type = TYPE_ULONGINT; pointer_type = TYPE_COUNT_LONGINT_POINTER; } cp++; } else if (*cp == 'z' || *cp == 'Z') { /* 'z' is standardized in ISO C 99, but glibc uses 'Z' because the warning facility in gcc-2.95.2 understands only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ if (sizeof (size_t) > sizeof (long)) { /* size_t = unsigned long long */ signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; /* For backward compatibility only. */ floatingpoint_type = TYPE_LONGDOUBLE; } else if (sizeof (size_t) > sizeof (int)) { /* size_t = unsigned long */ signed_type = TYPE_LONGINT; unsigned_type = TYPE_ULONGINT; pointer_type = TYPE_COUNT_LONGINT_POINTER; } cp++; } else if (*cp == 't') { if (sizeof (ptrdiff_t) > sizeof (long)) { /* ptrdiff_t = long long */ signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; /* For backward compatibility only. */ floatingpoint_type = TYPE_LONGDOUBLE; } else if (sizeof (ptrdiff_t) > sizeof (int)) { /* ptrdiff_t = long */ signed_type = TYPE_LONGINT; unsigned_type = TYPE_ULONGINT; pointer_type = TYPE_COUNT_LONGINT_POINTER; } cp++; } else if (*cp == 'w') { /* wN and wfN are standardized in ISO C 23. */ if (cp[1] == 'f') { if (cp[2] == '8') { signed_type = TYPE_INT_FAST8_T; unsigned_type = TYPE_UINT_FAST8_T; pointer_type = TYPE_COUNT_INT_FAST8_T_POINTER; cp += 3; } else if (cp[2] == '1' && cp[3] == '6') { signed_type = TYPE_INT_FAST16_T; unsigned_type = TYPE_UINT_FAST16_T; pointer_type = TYPE_COUNT_INT_FAST16_T_POINTER; cp += 4; } else if (cp[2] == '3' && cp[3] == '2') { signed_type = TYPE_INT_FAST32_T; unsigned_type = TYPE_UINT_FAST32_T; pointer_type = TYPE_COUNT_INT_FAST32_T_POINTER; cp += 4; } else if (cp[2] == '6' && cp[3] == '4') { signed_type = TYPE_INT_FAST64_T; unsigned_type = TYPE_UINT_FAST64_T; pointer_type = TYPE_COUNT_INT_FAST64_T_POINTER; cp += 4; } } else { if (cp[1] == '8') { signed_type = TYPE_INT8_T; unsigned_type = TYPE_UINT8_T; pointer_type = TYPE_COUNT_INT8_T_POINTER; cp += 2; } else if (cp[1] == '1' && cp[2] == '6') { signed_type = TYPE_INT16_T; unsigned_type = TYPE_UINT16_T; pointer_type = TYPE_COUNT_INT16_T_POINTER; cp += 3; } else if (cp[1] == '3' && cp[2] == '2') { signed_type = TYPE_INT32_T; unsigned_type = TYPE_UINT32_T; pointer_type = TYPE_COUNT_INT32_T_POINTER; cp += 3; } else if (cp[1] == '6' && cp[2] == '4') { signed_type = TYPE_INT64_T; unsigned_type = TYPE_UINT64_T; pointer_type = TYPE_COUNT_INT64_T_POINTER; cp += 3; } } } else if (*cp == 'L') { signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; floatingpoint_type = TYPE_LONGDOUBLE; cp++; } #if defined __APPLE__ && defined __MACH__ /* On Mac OS X 10.3, PRIdMAX is defined as "qd". We cannot change it to "lld" because PRIdMAX must also be understood by the system's printf routines. */ else if (*cp == 'q') { if (64 / 8 > sizeof (long)) { /* int64_t = long long */ signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; /* For backward compatibility only. */ floatingpoint_type = TYPE_LONGDOUBLE; } else { /* int64_t = long */ signed_type = TYPE_LONGINT; unsigned_type = TYPE_ULONGINT; pointer_type = TYPE_COUNT_LONGINT_POINTER; } cp++; } #endif #if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, PRIdMAX is defined as "I64d". We cannot change it to "lld" because PRIdMAX must also be understood by the system's printf routines. */ else if (*cp == 'I' && cp[1] == '6' && cp[2] == '4') { if (64 / 8 > sizeof (long)) { /* __int64_t = long long */ signed_type = TYPE_LONGLONGINT; unsigned_type = TYPE_ULONGLONGINT; pointer_type = TYPE_COUNT_LONGLONGINT_POINTER; /* For backward compatibility only. */ floatingpoint_type = TYPE_LONGDOUBLE; } else { /* __int64_t = long */ signed_type = TYPE_LONGINT; unsigned_type = TYPE_ULONGINT; pointer_type = TYPE_COUNT_LONGINT_POINTER; } cp += 3; } #endif (void) pointer_type; /* Read the conversion character. */ c = *cp++; switch (c) { case 'd': case 'i': type = signed_type; break; case 'b': case 'o': case 'u': case 'x': case 'X': #if SUPPORT_GNU_PRINTF_DIRECTIVES \ || (__GLIBC__ + (__GLIBC_MINOR__ >= 35) > 2) case 'B': #endif type = unsigned_type; break; case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': type = floatingpoint_type; break; case 'c': if (signed_type == TYPE_LONGINT /* For backward compatibility only. */ || signed_type == TYPE_LONGLONGINT) #if HAVE_WINT_T type = TYPE_WIDE_CHAR; #else goto error; #endif else type = TYPE_CHAR; break; #if HAVE_WINT_T case 'C': type = TYPE_WIDE_CHAR; c = 'c'; break; #endif case 's': if (signed_type == TYPE_LONGINT /* For backward compatibility only. */ || signed_type == TYPE_LONGLONGINT) type = TYPE_WIDE_STRING; else type = TYPE_STRING; break; case 'S': type = TYPE_WIDE_STRING; c = 's'; break; case 'p': type = TYPE_POINTER; break; #if NEED_PRINTF_WITH_N_DIRECTIVE case 'n': type = pointer_type; break; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ case 'U': if (signed_type == TYPE_LONGLONGINT) type = TYPE_U32_STRING; else if (signed_type == TYPE_LONGINT) type = TYPE_U16_STRING; else type = TYPE_U8_STRING; break; #endif case '%': type = TYPE_NONE; break; default: /* Unknown conversion character. */ goto error; } if (type != TYPE_NONE) { dp->arg_index = arg_index; if (dp->arg_index == ARG_NONE) { dp->arg_index = arg_posn++; if (dp->arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->arg_index, type); } dp->conversion = c; dp->dir_end = cp; } d->count++; if (d->count >= d_allocated) { size_t memory_size; DIRECTIVE *memory; d_allocated = xtimes (d_allocated, 2); memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); if (size_overflow_p (memory_size)) /* Overflow, would lead to out of memory. */ goto out_of_memory; memory = (DIRECTIVE *) (d->dir != d->direct_alloc_dir ? realloc (d->dir, memory_size) : malloc (memory_size)); if (memory == NULL) /* Out of memory. */ goto out_of_memory; if (d->dir == d->direct_alloc_dir) memcpy (memory, d->dir, d->count * sizeof (DIRECTIVE)); d->dir = memory; } } #if CHAR_T_ONLY_ASCII else if (!c_isascii (c)) { /* Non-ASCII character. Not supported. */ goto error; } #endif } d->dir[d->count].dir_start = cp; d->max_width_length = max_width_length; d->max_precision_length = max_precision_length; return 0; error: if (a->arg != a->direct_alloc_arg) free (a->arg); if (d->dir != d->direct_alloc_dir) free (d->dir); errno = EINVAL; return -1; out_of_memory: if (a->arg != a->direct_alloc_arg) free (a->arg); if (d->dir != d->direct_alloc_dir) free (d->dir); errno = ENOMEM; return -1; } #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef CHAR_T_ONLY_ASCII #undef CHAR_T datamash-1.9/lib/printf-parse.h0000644000000000000000000001224514767401140012135 /* Parse printf format string. Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _PRINTF_PARSE_H #define _PRINTF_PARSE_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. STATIC Set to 'static' to declare the function static. */ #if HAVE_FEATURES_H # include /* for __GLIBC__, __UCLIBC__ */ #endif #include "printf-args.h" /* Flags */ #define FLAG_GROUP 1 /* ' flag */ #define FLAG_LEFT 2 /* - flag */ #define FLAG_SHOWSIGN 4 /* + flag */ #define FLAG_SPACE 8 /* space flag */ #define FLAG_ALT 16 /* # flag */ #define FLAG_ZERO 32 #if __GLIBC__ >= 2 && !defined __UCLIBC__ # define FLAG_LOCALIZED 64 /* I flag, uses localized digits */ #endif /* arg_index value indicating that no argument is consumed. */ #define ARG_NONE (~(size_t)0) /* xxx_directive: A parsed directive. xxx_directives: A parsed format string. */ /* Number of directly allocated directives (no malloc() needed). */ #define N_DIRECT_ALLOC_DIRECTIVES 7 /* A parsed directive. */ typedef struct { const char* dir_start; const char* dir_end; int flags; const char* width_start; const char* width_end; size_t width_arg_index; const char* precision_start; const char* precision_end; size_t precision_arg_index; char conversion; /* d i b B o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } char_directive; /* A parsed format string. */ typedef struct { size_t count; char_directive *dir; size_t max_width_length; size_t max_precision_length; char_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } char_directives; #if ENABLE_UNISTDIO /* A parsed directive. */ typedef struct { const uint8_t* dir_start; const uint8_t* dir_end; int flags; const uint8_t* width_start; const uint8_t* width_end; size_t width_arg_index; const uint8_t* precision_start; const uint8_t* precision_end; size_t precision_arg_index; uint8_t conversion; /* d i b B o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u8_directive; /* A parsed format string. */ typedef struct { size_t count; u8_directive *dir; size_t max_width_length; size_t max_precision_length; u8_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u8_directives; /* A parsed directive. */ typedef struct { const uint16_t* dir_start; const uint16_t* dir_end; int flags; const uint16_t* width_start; const uint16_t* width_end; size_t width_arg_index; const uint16_t* precision_start; const uint16_t* precision_end; size_t precision_arg_index; uint16_t conversion; /* d i b B o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u16_directive; /* A parsed format string. */ typedef struct { size_t count; u16_directive *dir; size_t max_width_length; size_t max_precision_length; u16_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u16_directives; /* A parsed directive. */ typedef struct { const uint32_t* dir_start; const uint32_t* dir_end; int flags; const uint32_t* width_start; const uint32_t* width_end; size_t width_arg_index; const uint32_t* precision_start; const uint32_t* precision_end; size_t precision_arg_index; uint32_t conversion; /* d i b B o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u32_directive; /* A parsed format string. */ typedef struct { size_t count; u32_directive *dir; size_t max_width_length; size_t max_precision_length; u32_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES]; } u32_directives; #endif /* Parses the format string. Fills in the number N of directives, and fills in directives[0], ..., directives[N-1], and sets directives[N].dir_start to the end of the format string. Also fills in the arg_type fields of the arguments and the needed count of arguments. */ #if ENABLE_UNISTDIO extern int ulc_printf_parse (const char *format, char_directives *d, arguments *a); extern int u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a); extern int u16_printf_parse (const uint16_t *format, u16_directives *d, arguments *a); extern int u32_printf_parse (const uint32_t *format, u32_directives *d, arguments *a); #else # ifdef STATIC STATIC # else extern # endif int printf_parse (const char *format, char_directives *d, arguments *a); #endif #endif /* _PRINTF_PARSE_H */ datamash-1.9/lib/progname.c0000644000000000000000000000577014767401140011333 /* Program name management. Copyright (C) 2001-2003, 2005-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 . */ #include /* Specification. */ #undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */ #include "progname.h" #include /* get program_invocation_name declaration */ #include #include #include /* String containing name the program is called with. To be initialized by main(). */ const char *program_name = NULL; /* Set program_name, based on argv[0]. argv0 must be a string allocated with indefinite extent, and must not be modified after this call. */ void set_program_name (const char *argv0) { /* libtool creates a temporary executable whose name is sometimes prefixed with "lt-" (depends on the platform). It also makes argv[0] absolute. But the name of the temporary executable is a detail that should not be visible to the end user and to the test suite. Remove this "/.libs/" or "/.libs/lt-" prefix here. */ const char *slash; const char *base; /* Sanity check. POSIX requires the invoking process to pass a non-NULL argv[0]. */ if (argv0 == NULL) { /* It's a bug in the invoking program. Help diagnosing it. */ fputs ("A NULL argv[0] was passed through an exec system call.\n", stderr); abort (); } slash = strrchr (argv0, '/'); base = (slash != NULL ? slash + 1 : argv0); if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) { argv0 = base; if (strncmp (base, "lt-", 3) == 0) { base += 3; argv0 = base; } } /* But don't strip off a leading / in general, because when the user runs /some/hidden/place/bin/cp foo foo he should get the error message /some/hidden/place/bin/cp: `foo' and `foo' are the same file not cp: `foo' and `foo' are the same file */ program_name = argv0; /* On glibc systems, the error() function comes from libc and uses the variable program_invocation_name, not program_name. So set this variable as well. */ #if HAVE_DECL_PROGRAM_INVOCATION_NAME program_invocation_name = (char *) argv0; #endif #if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME program_invocation_short_name = (char *) base; #endif } datamash-1.9/lib/progname.h0000644000000000000000000000374014767401140011333 /* Program name management. Copyright (C) 2001-2004, 2006, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 . */ #ifndef _PROGNAME_H #define _PROGNAME_H /* Programs using this file should do the following in main(): set_program_name (argv[0]); */ #ifdef __cplusplus extern "C" { #endif /* String containing name the program is called with. */ extern const char *program_name; /* Set program_name, based on argv[0]. argv0 must be a string allocated with indefinite extent, and must not be modified after this call. */ extern void set_program_name (const char *argv0); #if ENABLE_RELOCATABLE /* Set program_name, based on argv[0], and original installation prefix and directory, for relocatability. */ extern void set_program_name_and_installdir (const char *argv0, const char *orig_installprefix, const char *orig_installdir); #undef set_program_name #define set_program_name(ARG0) \ set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR) /* Return the full pathname of the current executable, based on the earlier call to set_program_name_and_installdir. Return NULL if unknown. */ extern char *get_full_program_name (void); #endif #ifdef __cplusplus } #endif #endif /* _PROGNAME_H */ datamash-1.9/lib/propername.c0000644000000000000000000002501114767401140011661 /* Localization of proper names. Copyright (C) 2006-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2006. 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 . */ #include /* Without this pragma, gcc 4.7.0 20111124 mistakenly suggests that the proper_name function might be candidate for attribute 'const' */ #if _GL_GNUC_PREREQ (4, 6) # pragma GCC diagnostic ignored "-Wsuggest-attribute=const" #endif /* Specification. */ #include "propername.h" #include #include #include #include #if HAVE_ICONV # include #endif #include "trim.h" #if GNULIB_MCEL_PREFER # include "mcel.h" #else # include "mbchar.h" # include "mbuiter.h" #endif #include "localcharset.h" #include "c-strcase.h" #include "xstriconv.h" #include "xalloc.h" #include "gettext.h" /* Tests whether STRING contains trim (SUB), starting and ending at word boundaries. Here, instead of implementing Unicode Standard Annex #29 for determining word boundaries, we assume that trim (SUB) starts and ends with words and only test whether the part before it ends with a non-word and the part after it starts with a non-word. */ static bool mbsstr_trimmed_wordbounded (const char *string, const char *sub) { char *tsub = trim (sub); bool found = false; bool multibyte_locale = MB_CUR_MAX > 1; size_t tsublen; if (! multibyte_locale) tsublen = strlen (tsub); while (*string != '\0') { const char *tsub_in_string = mbsstr (string, tsub); if (tsub_in_string == NULL) break; else { if (multibyte_locale) { #if GNULIB_MCEL_PREFER char const *string_iter = string; char32_t last_char_before_tsub = 0; while (string_iter < tsub_in_string) { mcel_t g = mcel_scanz (string_iter); last_char_before_tsub = g.ch; string_iter += g.len; } string_iter = tsub_in_string; for (char const *tsub_iter = tsub; *tsub_iter; tsub_iter += mcel_scanz (tsub_iter).len) string_iter += mcel_scanz (string_iter).len; if (!c32isalnum (last_char_before_tsub) && !c32isalnum (mcel_scanz (string_iter).ch)) { found = true; break; } if (!*tsub_in_string) break; string = tsub_in_string + mcel_scanz (tsub_in_string).len; #else mbui_iterator_t string_iter; bool word_boundary_before; bool word_boundary_after; mbui_init (string_iter, string); word_boundary_before = true; if (mbui_cur_ptr (string_iter) < tsub_in_string) { mbchar_t last_char_before_tsub; do { if (!mbui_avail (string_iter)) abort (); last_char_before_tsub = mbui_cur (string_iter); mbui_advance (string_iter); } while (mbui_cur_ptr (string_iter) < tsub_in_string); if (mb_isalnum (last_char_before_tsub)) word_boundary_before = false; } mbui_init (string_iter, tsub_in_string); { mbui_iterator_t tsub_iter; for (mbui_init (tsub_iter, tsub); mbui_avail (tsub_iter); mbui_advance (tsub_iter)) { if (!mbui_avail (string_iter)) abort (); mbui_advance (string_iter); } } word_boundary_after = true; if (mbui_avail (string_iter)) { mbchar_t first_char_after_tsub = mbui_cur (string_iter); if (mb_isalnum (first_char_after_tsub)) word_boundary_after = false; } if (word_boundary_before && word_boundary_after) { found = true; break; } mbui_init (string_iter, tsub_in_string); if (!mbui_avail (string_iter)) break; string = tsub_in_string + mb_len (mbui_cur (string_iter)); #endif } else { if ((string == tsub_in_string || !isalnum ((unsigned char) tsub_in_string[-1])) && !isalnum ((unsigned char) tsub_in_string[tsublen])) { found = true; break; } if (*tsub_in_string == '\0') break; string = tsub_in_string + 1; } } } free (tsub); return found; } /* Return the localization of NAME. NAME is written in ASCII. */ const char * proper_name (const char *name) { /* See whether there is a translation. */ const char *translation = gettext (name); if (translation != name) { /* See whether the translation contains the original name. */ if (mbsstr_trimmed_wordbounded (translation, name)) return translation; else { /* Return "TRANSLATION (NAME)". */ char *result = XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char); sprintf (result, "%s (%s)", translation, name); return result; } } else return name; } /* Return the localization of a name whose original writing is not ASCII. NAME_UTF8 is the real name, written in UTF-8 with octal or hexadecimal escape sequences. NAME_ASCII is a fallback written only with ASCII characters. */ const char * proper_name_utf8 (const char *name_ascii, const char *name_utf8) { /* See whether there is a translation. */ const char *translation = gettext (name_ascii); /* Try to convert NAME_UTF8 to the locale encoding. */ const char *locale_code = locale_charset (); char *alloc_name_converted = NULL; char *alloc_name_converted_translit = NULL; const char *name_converted = NULL; const char *name_converted_translit = NULL; const char *name; if (c_strcasecmp (locale_code, "UTF-8") != 0) { #if HAVE_ICONV name_converted = alloc_name_converted = xstr_iconv (name_utf8, "UTF-8", locale_code); # if (((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2) \ && !defined __UCLIBC__) \ || _LIBICONV_VERSION >= 0x0105 \ || defined ICONV_SET_TRANSLITERATE { char *converted_translit; size_t len = strlen (locale_code); char *locale_code_translit = XNMALLOC (len + 10 + 1, char); memcpy (locale_code_translit, locale_code, len); memcpy (locale_code_translit + len, "//TRANSLIT", 10 + 1); converted_translit = xstr_iconv (name_utf8, "UTF-8", locale_code_translit); free (locale_code_translit); if (converted_translit != NULL) { # if !_LIBICONV_VERSION || (_LIBICONV_VERSION == 0x10b && defined __APPLE__) /* Don't use the transliteration if it added question marks. glibc's transliteration falls back to question marks; libiconv's transliteration does not. mbschr is equivalent to strchr in this case. */ if (strchr (converted_translit, '?') != NULL) free (converted_translit); else # endif name_converted_translit = alloc_name_converted_translit = converted_translit; } } # endif #endif } else { name_converted = name_utf8; name_converted_translit = name_utf8; } /* The name in locale encoding. */ name = (name_converted != NULL ? name_converted : name_converted_translit != NULL ? name_converted_translit : name_ascii); /* See whether we have a translation. Some translators have not understood that they should use the UTF-8 form of the name, if possible. So if the translator provided a no-op translation, we ignore it. */ if (strcmp (translation, name_ascii) != 0) { /* See whether the translation contains the original name. */ if (mbsstr_trimmed_wordbounded (translation, name_ascii) || (name_converted != NULL && mbsstr_trimmed_wordbounded (translation, name_converted)) || (name_converted_translit != NULL && mbsstr_trimmed_wordbounded (translation, name_converted_translit))) { if (alloc_name_converted != NULL) free (alloc_name_converted); if (alloc_name_converted_translit != NULL) free (alloc_name_converted_translit); return translation; } else { /* Return "TRANSLATION (NAME)". */ char *result = XNMALLOC (strlen (translation) + 2 + strlen (name) + 1 + 1, char); sprintf (result, "%s (%s)", translation, name); if (alloc_name_converted != NULL) free (alloc_name_converted); if (alloc_name_converted_translit != NULL) free (alloc_name_converted_translit); return result; } } else { if (alloc_name_converted != NULL && alloc_name_converted != name) free (alloc_name_converted); if (alloc_name_converted_translit != NULL && alloc_name_converted_translit != name) free (alloc_name_converted_translit); return name; } } #ifdef TEST1 # include int main (int argc, char *argv[]) { setlocale (LC_ALL, ""); if (mbsstr_trimmed_wordbounded (argv[1], argv[2])) printf("found\n"); return 0; } #endif #ifdef TEST2 # include # include int main (int argc, char *argv[]) { setlocale (LC_ALL, ""); printf ("%s\n", proper_name_utf8 ("Franc,ois Pinard", "Fran\303\247ois Pinard")); return 0; } #endif datamash-1.9/lib/propername.h0000644000000000000000000001216114767401140011670 /* Localization of proper names. -*- coding: utf-8 -*- Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2006. 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 . */ /* INTRODUCTION What do Torbjörn Granlund (coreutils) François Pinard (coreutils) Danilo Å egan (gettext) have in common? A non-ASCII name. This causes trouble in the --version output. The simple "solution" unfortunately mutilates the name. $ du --version | grep Granlund Écrit par Torbjorn Granlund, David MacKenzie, Paul Eggert et Jim Meyering. $ ptx --version | grep Pinard Écrit par F. Pinard. What is desirable, is to print the full name if the output character set allows it, and the ASCIIfied name only as a fallback. $ recode-sr-latin --version ... Written by Danilo Å egan and Bruno Haible. $ LC_ALL=C recode-sr-latin --version ... Written by Danilo Segan and Bruno Haible. The 'propername' and 'propername-lite' modules do this. Plus, for languages that do not use the Latin alphabet, they allow a translator to write the name using that different writing system. In that case the propername and propername_utf8 output will look like this: () whereas the propername_lite output will just be the translated name if available, otherwise the original name (in UTF-8 if possible and in ASCII if not). To use the 'propername' module requires two simple steps: 1) Add it to the list of gnulib modules to import, 2) Change the arguments of version_etc(), from "Paul Eggert" to proper_name ("Paul Eggert") from "Torbjorn Granlund" to proper_name_utf8 ("Torbjorn Granlund", "Torbj\303\266rn Granlund") or proper_name_lite ("Torbjorn Granlund", "Torbj\303\266rn Granlund") from "F. Pinard" to proper_name_utf8 ("Franc,ois Pinard", "Fran\303\247ois Pinard") or proper_name_lite ("Franc,ois Pinard", "Fran\303\247ois Pinard") In source code, the second argument of proper_name_lite and proper_name_utf8 should use octal escapes, not UTF-8 - e.g., "Fran\303\247ois Pinard", not "François Pinard". Doing it this way can avoid mishandling non-ASCII characters if the source is recoded to non-UTF-8, or if the compiler does not treat UTF-8 as-is in character string contents. (Optionally, here you can also add / * TRANSLATORS: ... * / comments explaining how the name is written or pronounced.) Here is an example in context. char const *author_names[2] = { / * TRANSLATORS: This is the proper name "Danilo Å egan". In the original Cyrillic it is "Данило Шеган". * / proper_name_utf8 ("Danilo Segan", "Danilo \305\240egan"), proper_name ("Bruno Haible") }; Differences between proper_name_utf8 and proper_name_lite: * proper_name_lite uses the localization provided by the translator. If there is no localization, it uses the name with Unicode characters only in UTF-8 locales, otherwise it uses the original name in English. * proper_name_utf8 is more elaborate: - It uses the name with Unicode characters also when the locale encoding is not UTF-8 but contains the necessary characters (e.g. ISO-8859-x or GB18030). - If there is a localization, it produces a better result when the translator has given a poor localization. */ #ifndef _PROPERNAME_H #define _PROPERNAME_H #ifdef __cplusplus extern "C" { #endif /* Return the localization of NAME. NAME is written in ASCII. */ extern const char * proper_name (const char *name) /* NOT attribute const */; /* Return the localization of a name whose original writing is not ASCII. NAME_UTF8 is the real name, written in UTF-8 with octal or hexadecimal escape sequences. NAME_ASCII is a fallback written only with ASCII characters. */ extern const char * proper_name_utf8 (const char *name_ascii, const char *name_utf8); /* Return the localization of the name spelled NAME_ASCII in ASCII, and NAME_UTF8 in UTF-8. This function needs less infrastructure than proper_name and proper_name_utf8. */ extern const char *proper_name_lite (const char *name_ascii, const char *name_utf8); #ifdef __cplusplus } #endif #endif /* _PROPERNAME_H */ datamash-1.9/lib/pthread-once.c0000644000000000000000000001267614767401140012077 /* POSIX once-only control. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ #include /* Specification. */ #include #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # include "windows-once.h" #endif #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS /* Use Windows threads. */ int pthread_once (pthread_once_t *once_control, void (*initfunction) (void)) { glwthread_once (once_control, initfunction); return 0; } #elif HAVE_PTHREAD_H /* Provide workarounds for POSIX threads. */ # if defined __CYGWIN__ # include int pthread_once (pthread_once_t *once_control, void (*initfunction) (void)) { /* In this implementation, we reuse the type typedef struct { pthread_mutex_t mutex; int state; } pthread_once_t; #define PTHREAD_ONCE_INIT { PTHREAD_MUTEX_INITIALIZER, 0 } while assigning the following meaning to the state: state = ( << 16) + <1 if done> In other words: state = { unsigned int num_threads : 16; unsigned int done : 16; } */ struct actual_state { _Atomic unsigned short num_threads; /* done == 0: initial state done == 1: initfunction executed, lock still active done == 2: initfunction executed, lock no longer usable */ _Atomic unsigned short done; }; struct actual_state *state_p = (struct actual_state *) &once_control->state; /* This test is not necessary. It's only an optimization, to establish a fast path for the common case that the 'done' word is already > 0. */ if (state_p->done == 0) { /* Increment num_threads (atomically), to indicate that this thread will possibly take the lock. */ state_p->num_threads += 1; /* Test the 'done' word. */ if (state_p->done == 0) { /* The 'done' word is still zero. Now take the lock. */ pthread_mutex_lock (&once_control->mutex); /* Test the 'done' word again. */ if (state_p->done == 0) { /* Execute the initfunction. */ (*initfunction) (); /* Set the 'done' word to 1 (atomically). */ state_p->done = 1; } /* Now the 'done' word is 1. Release the lock. */ pthread_mutex_unlock (&once_control->mutex); } /* Here, done is > 0. */ /* Decrement num_threads (atomically). */ if ((state_p->num_threads -= 1) == 0) { /* num_threads is now zero, and done is > 0. No other thread will need to use the lock. We can therefore destroy the lock, to free resources. */ if (__sync_bool_compare_and_swap (&state_p->done, 1, 2)) pthread_mutex_destroy (&once_control->mutex); } } /* Proof of correctness: * num_threads is incremented and then decremented by some threads. Therefore, num_threads always stays >= 0, and is == 0 at the end. * The 'done' word, once > 0, stays > 0 (since it is never assigned 0). * The 'done' word is changed from == 0 to > 0 only while the lock is taken. Therefore, only the first thread that succeeds in taking the lock executes the initfunction and sets the 'done' word to a value > 0; the other threads that take the lock do no side effects between taking and releasing the lock. * The 'done' word does not change any more once it is 2. Therefore, it can be changed from 1 to 2 only once. * pthread_mutex_destroy gets invoked right after 'done' has been changed from 1 to 2. Therefore, pthread_mutex_destroy gets invoked only once. * After a moment where num_threads was 0 and done was > 0, no thread can reach the pthread_mutex_lock invocation. Proof: - At such a moment, no thread is in the code range between state_p->num_threads += 1 and state_p->num_threads -= 1 - After such a moment, some thread can increment num_threads, but from there they cannot reach the pthread_mutex_lock invocation, because the if (state_p->done == 0) test prevents that. * From this it follows that: - pthread_mutex_destroy cannot be executed while the lock is taken (because pthread_mutex_destroy is only executed after a moment where num_threads was 0 and done was > 0). - Once pthread_mutex_destroy has been executed, the lock is not used any more. */ return 0; } # endif #else /* Provide a dummy implementation for single-threaded applications. */ int pthread_once (pthread_once_t *once_control, void (*initfunction) (void)) { if (*once_control == 0) { *once_control = ~ 0; initfunction (); } return 0; } #endif datamash-1.9/lib/pthread.in.h0000644000000000000000000022033214767401140011555 /* Implement the most essential subset of POSIX pthread.h. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert, Glen Lenker, and Bruno Haible. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _@GUARD_PREFIX@_ALREADY_INCLUDING_PTHREAD_H /* Special invocation convention: On Android, we have a sequence of nested includes -> -> -> -> -> . In this situation, PTHREAD_COND_INITIALIZER is not yet defined, therefore we should not attempt to define PTHREAD_MUTEX_NORMAL etc. */ #@INCLUDE_NEXT@ @NEXT_PTHREAD_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_PTHREAD_H_ #if @HAVE_PTHREAD_H@ # define _@GUARD_PREFIX@_ALREADY_INCLUDING_PTHREAD_H /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_PTHREAD_H@ # undef _@GUARD_PREFIX@_ALREADY_INCLUDING_PTHREAD_H #endif #ifndef _@GUARD_PREFIX@_PTHREAD_H_ #define _@GUARD_PREFIX@_PTHREAD_H_ /* This file uses _Noreturn, _GL_ATTRIBUTE_PURE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #define __need_system_stdlib_h #include #undef __need_system_stdlib_h /* The pthreads-win32 defines a couple of broken macros. */ #undef asctime_r #undef ctime_r #undef gmtime_r #undef localtime_r #undef rand_r #undef strtok_r #include #include #include #include /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #ifndef _GL_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE /* empty */ # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _Noreturn is copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* =========== Thread types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_THREAD@ # include "windows-thread.h" # if @HAVE_PTHREAD_T@ # define pthread_t rpl_pthread_t # define pthread_attr_t rpl_pthread_attr_t # endif # if !GNULIB_defined_pthread_thread_types typedef glwthread_thread_t pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # else # if @HAVE_PTHREAD_T@ # define pthread_t rpl_pthread_t # define pthread_attr_t rpl_pthread_attr_t # endif # if !GNULIB_defined_pthread_thread_types typedef int pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # endif # undef PTHREAD_CREATE_JOINABLE # undef PTHREAD_CREATE_DETACHED # define PTHREAD_CREATE_JOINABLE 0 # define PTHREAD_CREATE_DETACHED 1 #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_thread_types typedef int pthread_t; typedef unsigned int pthread_attr_t; # define GNULIB_defined_pthread_thread_types 1 # endif # endif # if !@HAVE_PTHREAD_CREATE_DETACHED@ # define PTHREAD_CREATE_JOINABLE 0 # define PTHREAD_CREATE_DETACHED 1 # endif #endif /* =========== Once-only control (initialization) types and macros ========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_ONCE@ # include "windows-once.h" # if @HAVE_PTHREAD_T@ # define pthread_once_t rpl_pthread_once_t # endif # if !GNULIB_defined_pthread_once_types typedef glwthread_once_t pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT GLWTHREAD_ONCE_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_once_t rpl_pthread_once_t # endif # if !GNULIB_defined_pthread_once_types typedef int pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT { 0 } # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_once_types typedef int pthread_once_t; # define GNULIB_defined_pthread_once_types 1 # endif # undef PTHREAD_ONCE_INIT # define PTHREAD_ONCE_INIT { 0 } # endif #endif /* =========== Mutex types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_MUTEX@ # include "windows-timedmutex.h" # include "windows-timedrecmutex.h" # if @HAVE_PTHREAD_T@ # define pthread_mutex_t rpl_pthread_mutex_t # define pthread_mutexattr_t rpl_pthread_mutexattr_t # endif # if !GNULIB_defined_pthread_mutex_types typedef struct { int type; union { glwthread_timedmutex_t u_timedmutex; glwthread_timedrecmutex_t u_timedrecmutex; } u; } pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 1, { GLWTHREAD_TIMEDMUTEX_INIT } } # else # if @HAVE_PTHREAD_T@ # define pthread_mutex_t rpl_pthread_mutex_t # define pthread_mutexattr_t rpl_pthread_mutexattr_t # endif # if !GNULIB_defined_pthread_mutex_types typedef int pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 0 } # endif # undef PTHREAD_MUTEX_DEFAULT # undef PTHREAD_MUTEX_NORMAL # undef PTHREAD_MUTEX_ERRORCHECK # undef PTHREAD_MUTEX_RECURSIVE # define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL # define PTHREAD_MUTEX_NORMAL 0 # define PTHREAD_MUTEX_ERRORCHECK 1 # define PTHREAD_MUTEX_RECURSIVE 2 # undef PTHREAD_MUTEX_STALLED # undef PTHREAD_MUTEX_ROBUST # define PTHREAD_MUTEX_STALLED 0 # define PTHREAD_MUTEX_ROBUST 1 #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_mutex_types typedef int pthread_mutex_t; typedef unsigned int pthread_mutexattr_t; # define GNULIB_defined_pthread_mutex_types 1 # endif # undef PTHREAD_MUTEX_INITIALIZER # define PTHREAD_MUTEX_INITIALIZER { 0 } # endif # if !@HAVE_PTHREAD_MUTEX_RECURSIVE@ # define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL # define PTHREAD_MUTEX_NORMAL 0 # define PTHREAD_MUTEX_ERRORCHECK 1 # define PTHREAD_MUTEX_RECURSIVE 2 # endif # if !@HAVE_PTHREAD_MUTEX_ROBUST@ # define PTHREAD_MUTEX_STALLED 0 # define PTHREAD_MUTEX_ROBUST 1 # endif #endif /* =========== Read-write lock types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_RWLOCK@ # include "windows-timedrwlock.h" # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef glwthread_timedrwlock_t pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER GLWTHREAD_TIMEDRWLOCK_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef int pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER { 0 } # endif #elif @GNULIB_PTHREAD_RWLOCK@ && @REPLACE_PTHREAD_RWLOCK_DESTROY@ /* i.e. PTHREAD_RWLOCK_UNIMPLEMENTED */ # if @HAVE_PTHREAD_T@ # define pthread_rwlock_t rpl_pthread_rwlock_t # define pthread_rwlockattr_t rpl_pthread_rwlockattr_t # endif # if !GNULIB_defined_pthread_rwlock_types typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } #elif @GNULIB_PTHREAD_RWLOCK@ && @REPLACE_PTHREAD_RWLOCK_INIT@ /* i.e. PTHREAD_RWLOCK_BAD_WAITQUEUE */ /* Use rwlocks of kind PREFER_WRITER or PREFER_WRITER_NONRECURSIVE instead of the DEFAULT. */ # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP #else # if @HAVE_PTHREAD_T@ # if !defined PTHREAD_RWLOCK_INITIALIZER && defined PTHREAD_RWLOCK_INITIALIZER_NP /* z/OS */ # define PTHREAD_RWLOCK_INITIALIZER PTHREAD_RWLOCK_INITIALIZER_NP # endif # else # if !GNULIB_defined_pthread_rwlock_types typedef int pthread_rwlock_t; typedef unsigned int pthread_rwlockattr_t; # define GNULIB_defined_pthread_rwlock_types 1 # endif # undef PTHREAD_RWLOCK_INITIALIZER # define PTHREAD_RWLOCK_INITIALIZER { 0 } # endif #endif /* =========== Condition variable types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_COND@ # include "windows-cond.h" # if @HAVE_PTHREAD_T@ # define pthread_cond_t rpl_pthread_cond_t # define pthread_condattr_t rpl_pthread_condattr_t # endif # if !GNULIB_defined_pthread_cond_types typedef glwthread_cond_t pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER GLWTHREAD_COND_INIT # else # if @HAVE_PTHREAD_T@ # define pthread_cond_t rpl_pthread_cond_t # define pthread_condattr_t rpl_pthread_condattr_t # endif # if !GNULIB_defined_pthread_cond_types typedef int pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER { 0 } # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_cond_types typedef int pthread_cond_t; typedef unsigned int pthread_condattr_t; # define GNULIB_defined_pthread_cond_types 1 # endif # undef PTHREAD_COND_INITIALIZER # define PTHREAD_COND_INITIALIZER { 0 } # endif #endif /* =========== Thread-specific storage types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_TSS@ # include "windows-tls.h" # if @HAVE_PTHREAD_T@ # define pthread_key_t rpl_pthread_key_t # endif # if !GNULIB_defined_pthread_tss_types typedef glwthread_tls_key_t pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS GLWTHREAD_DESTRUCTOR_ITERATIONS # else # if @HAVE_PTHREAD_T@ # define pthread_key_t rpl_pthread_key_t # endif # if !GNULIB_defined_pthread_tss_types typedef void ** pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS 0 # endif #else # if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_pthread_tss_types typedef void ** pthread_key_t; # define GNULIB_defined_pthread_tss_types 1 # endif # undef PTHREAD_DESTRUCTOR_ITERATIONS # define PTHREAD_DESTRUCTOR_ITERATIONS 0 # endif #endif /* =========== Spinlock types and macros =========== */ #if (defined _WIN32 && ! defined __CYGWIN__) && USE_WINDOWS_THREADS # if @GNULIB_PTHREAD_SPIN@ # include "windows-spin.h" # if @HAVE_PTHREAD_T@ # define pthread_spinlock_t rpl_pthread_spinlock_t # endif # if !GNULIB_defined_pthread_spin_types typedef glwthread_spinlock_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # else # if @HAVE_PTHREAD_T@ # define pthread_spinlock_t rpl_pthread_spinlock_t # endif # if !GNULIB_defined_pthread_spin_types typedef pthread_mutex_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # endif # undef PTHREAD_PROCESS_PRIVATE # undef PTHREAD_PROCESS_SHARED # define PTHREAD_PROCESS_PRIVATE 0 # define PTHREAD_PROCESS_SHARED 1 #else # if @HAVE_PTHREAD_SPINLOCK_T@ /* exists and defines pthread_spinlock_t. */ # if !@HAVE_PTHREAD_SPIN_INIT@ || @REPLACE_PTHREAD_SPIN_INIT@ /* If the 'pthread-spin' module is in use, it defines all the pthread_spin* functions. Prepare for it by overriding pthread_spinlock_t if that might be needed. */ # if !(((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) \ || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 1)) \ || (((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) \ && !defined __ANDROID__) \ || __clang_major__ >= 3)) \ && !defined __ibmxl__) /* We can't use GCC built-ins. Approximate spinlocks with mutexes. */ # if !GNULIB_defined_pthread_spin_types # define pthread_spinlock_t pthread_mutex_t # define GNULIB_defined_pthread_spin_types 1 # endif # endif # endif # else /* Approximate spinlocks with mutexes. */ # if !GNULIB_defined_pthread_spin_types typedef pthread_mutex_t pthread_spinlock_t; # define GNULIB_defined_pthread_spin_types 1 # endif # endif # if !@HAVE_PTHREAD_PROCESS_SHARED@ # define PTHREAD_PROCESS_PRIVATE 0 # define PTHREAD_PROCESS_SHARED 1 # endif #endif /* =========== Other types and macros =========== */ #if !@HAVE_PTHREAD_T@ # if !GNULIB_defined_other_pthread_types typedef int pthread_barrier_t; typedef unsigned int pthread_barrierattr_t; # define GNULIB_defined_other_pthread_types 1 # endif #endif #if !defined PTHREAD_CANCELED # define PTHREAD_BARRIER_SERIAL_THREAD (-1) # define PTHREAD_CANCEL_DEFERRED 0 # define PTHREAD_CANCEL_ASYNCHRONOUS 1 # define PTHREAD_CANCEL_ENABLE 0 # define PTHREAD_CANCEL_DISABLE 1 # define PTHREAD_CANCELED ((void *) -1) # define PTHREAD_INHERIT_SCHED 0 # define PTHREAD_EXPLICIT_SCHED 1 # define PTHREAD_PRIO_NONE 0 # define PTHREAD_PRIO_INHERIT 1 # define PTHREAD_PRIO_PROTECT 2 # define PTHREAD_SCOPE_SYSTEM 0 # define PTHREAD_SCOPE_PROCESS 1 #endif /* =========== Thread functions =========== */ #if @GNULIB_PTHREAD_THREAD@ /* The 'restrict' qualifier on ARG is nonsense, but POSIX specifies it this way. Sigh. */ # if @REPLACE_PTHREAD_CREATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_create # define pthread_create rpl_pthread_create # endif _GL_FUNCDECL_RPL (pthread_create, int, (pthread_t *restrict threadp, const pthread_attr_t *restrict attr, void * (*mainfunc) (void *), void *restrict arg), _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (pthread_create, int, (pthread_t *restrict threadp, const pthread_attr_t *restrict attr, void * (*mainfunc) (void *), void *restrict arg)); # else # if !@HAVE_PTHREAD_CREATE@ _GL_FUNCDECL_SYS (pthread_create, int, (pthread_t *restrict threadp, const pthread_attr_t *restrict attr, void * (*mainfunc) (void *), void *restrict arg), _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS_CAST (pthread_create, int, (pthread_t *restrict threadp, const pthread_attr_t *restrict attr, void * (*mainfunc) (void *), void *restrict arg)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_create); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_create # if HAVE_RAW_DECL_PTHREAD_CREATE _GL_WARN_ON_USE (pthread_create, "pthread_create is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_init # define pthread_attr_init rpl_pthread_attr_init # endif _GL_FUNCDECL_RPL (pthread_attr_init, int, (pthread_attr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_init, int, (pthread_attr_t *attr)); # else # if !@HAVE_PTHREAD_ATTR_INIT@ _GL_FUNCDECL_SYS (pthread_attr_init, int, (pthread_attr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_init, int, (pthread_attr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_attr_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_attr_init # if HAVE_RAW_DECL_PTHREAD_ATTR_INIT _GL_WARN_ON_USE (pthread_attr_init, "pthread_attr_init is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_GETDETACHSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_getdetachstate # define pthread_attr_getdetachstate rpl_pthread_attr_getdetachstate # endif _GL_FUNCDECL_RPL (pthread_attr_getdetachstate, int, (const pthread_attr_t *attr, int *detachstatep), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_attr_getdetachstate, int, (const pthread_attr_t *attr, int *detachstatep)); # else # if !@HAVE_PTHREAD_ATTR_GETDETACHSTATE@ _GL_FUNCDECL_SYS (pthread_attr_getdetachstate, int, (const pthread_attr_t *attr, int *detachstatep), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_attr_getdetachstate, int, (const pthread_attr_t *attr, int *detachstatep)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_attr_getdetachstate); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_attr_getdetachstate # if HAVE_RAW_DECL_PTHREAD_ATTR_GETDETACHSTATE _GL_WARN_ON_USE (pthread_attr_getdetachstate, "pthread_attr_getdetachstate is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_SETDETACHSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_setdetachstate # define pthread_attr_setdetachstate rpl_pthread_attr_setdetachstate # endif _GL_FUNCDECL_RPL (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate)); # else # if !@HAVE_PTHREAD_ATTR_SETDETACHSTATE@ _GL_FUNCDECL_SYS (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_setdetachstate, int, (pthread_attr_t *attr, int detachstate)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_attr_setdetachstate); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_attr_setdetachstate # if HAVE_RAW_DECL_PTHREAD_ATTR_SETDETACHSTATE _GL_WARN_ON_USE (pthread_attr_setdetachstate, "pthread_attr_setdetachstate is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_ATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_attr_destroy # define pthread_attr_destroy rpl_pthread_attr_destroy # endif _GL_FUNCDECL_RPL (pthread_attr_destroy, int, (pthread_attr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_attr_destroy, int, (pthread_attr_t *attr)); # else # if !@HAVE_PTHREAD_ATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_attr_destroy, int, (pthread_attr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_attr_destroy, int, (pthread_attr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_attr_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_attr_destroy # if HAVE_RAW_DECL_PTHREAD_ATTR_DESTROY _GL_WARN_ON_USE (pthread_attr_destroy, "pthread_attr_destroy is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_SELF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_self # define pthread_self rpl_pthread_self # endif _GL_FUNCDECL_RPL (pthread_self, pthread_t, (void), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (pthread_self, pthread_t, (void)); # else # if !@HAVE_PTHREAD_SELF@ _GL_FUNCDECL_SYS (pthread_self, pthread_t, (void), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (pthread_self, pthread_t, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_self); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_self # if HAVE_RAW_DECL_PTHREAD_SELF _GL_WARN_ON_USE (pthread_self, "pthread_self is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_EQUAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_equal # define pthread_equal rpl_pthread_equal # endif _GL_FUNCDECL_RPL (pthread_equal, int, (pthread_t thread1, pthread_t thread2), ); _GL_CXXALIAS_RPL (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # else # if !@HAVE_PTHREAD_EQUAL@ _GL_FUNCDECL_SYS (pthread_equal, int, (pthread_t thread1, pthread_t thread2), ); # endif _GL_CXXALIAS_SYS (pthread_equal, int, (pthread_t thread1, pthread_t thread2)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_equal); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_equal # if HAVE_RAW_DECL_PTHREAD_EQUAL _GL_WARN_ON_USE (pthread_equal, "pthread_equal is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_DETACH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_detach # define pthread_detach rpl_pthread_detach # endif _GL_FUNCDECL_RPL (pthread_detach, int, (pthread_t thread), ); _GL_CXXALIAS_RPL (pthread_detach, int, (pthread_t thread)); # else # if !@HAVE_PTHREAD_DETACH@ _GL_FUNCDECL_SYS (pthread_detach, int, (pthread_t thread), ); # endif _GL_CXXALIAS_SYS (pthread_detach, int, (pthread_t thread)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_detach); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_detach # if HAVE_RAW_DECL_PTHREAD_DETACH _GL_WARN_ON_USE (pthread_detach, "pthread_detach is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_JOIN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_join # define pthread_join rpl_pthread_join # endif _GL_FUNCDECL_RPL (pthread_join, int, (pthread_t thread, void **valuep), ); _GL_CXXALIAS_RPL (pthread_join, int, (pthread_t thread, void **valuep)); # else # if !@HAVE_PTHREAD_JOIN@ _GL_FUNCDECL_SYS (pthread_join, int, (pthread_t thread, void **valuep), ); # endif _GL_CXXALIAS_SYS (pthread_join, int, (pthread_t thread, void **valuep)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_join); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_join # if HAVE_RAW_DECL_PTHREAD_JOIN _GL_WARN_ON_USE (pthread_join, "pthread_join is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif #if @GNULIB_PTHREAD_THREAD@ # if @REPLACE_PTHREAD_EXIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_exit # define pthread_exit rpl_pthread_exit # endif _GL_FUNCDECL_RPL (pthread_exit, _Noreturn void, (void *value), ); _GL_CXXALIAS_RPL (pthread_exit, void, (void *value)); # else # if !@HAVE_PTHREAD_EXIT@ _GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value), ); # endif /* Need to cast because of AIX with xlclang++. */ _GL_CXXALIAS_SYS_CAST (pthread_exit, void, (void *value)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_exit); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_exit # if HAVE_RAW_DECL_PTHREAD_EXIT _GL_WARN_ON_USE (pthread_exit, "pthread_exit is not portable - " "use gnulib module pthread-thread for portability"); # endif #endif /* =========== Once-only control (initialization) functions =========== */ #if @GNULIB_PTHREAD_ONCE@ # if @REPLACE_PTHREAD_ONCE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_once # define pthread_once rpl_pthread_once # endif _GL_FUNCDECL_RPL (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void)), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void))); # else # if !@HAVE_PTHREAD_ONCE@ _GL_FUNCDECL_SYS (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void)), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS_CAST (pthread_once, int, (pthread_once_t *once_control, void (*initfunction) (void))); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_once); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_once # if HAVE_RAW_DECL_PTHREAD_ONCE _GL_WARN_ON_USE (pthread_once, "pthread_once is not portable - " "use gnulib module pthread-once for portability"); # endif #endif /* =========== Mutex functions =========== */ #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_init # define pthread_mutex_init rpl_pthread_mutex_init # endif _GL_FUNCDECL_RPL (pthread_mutex_init, int, (pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_init, int, (pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr)); # else # if !@HAVE_PTHREAD_MUTEX_INIT@ _GL_FUNCDECL_SYS (pthread_mutex_init, int, (pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_init, int, (pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutex_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_init # if HAVE_RAW_DECL_PTHREAD_MUTEX_INIT _GL_WARN_ON_USE (pthread_mutex_init, "pthread_mutex_init is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_init # define pthread_mutexattr_init rpl_pthread_mutexattr_init # endif _GL_FUNCDECL_RPL (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEXATTR_INIT@ _GL_FUNCDECL_SYS (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_init, int, (pthread_mutexattr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutexattr_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_init # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_INIT _GL_WARN_ON_USE (pthread_mutexattr_init, "pthread_mutexattr_init is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_GETTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_gettype # define pthread_mutexattr_gettype rpl_pthread_mutexattr_gettype # endif _GL_FUNCDECL_RPL (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *restrict attr, int *restrict typep), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *restrict attr, int *restrict typep)); # else # if !@HAVE_PTHREAD_MUTEXATTR_GETTYPE@ _GL_FUNCDECL_SYS (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *restrict attr, int *restrict typep), _GL_ARG_NONNULL ((1, 2))); # endif /* Need to cast, because on FreeBSD the first parameter is pthread_mutexattr_t *attr. */ _GL_CXXALIAS_SYS_CAST (pthread_mutexattr_gettype, int, (const pthread_mutexattr_t *restrict attr, int *restrict typep)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutexattr_gettype); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_gettype # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_GETTYPE _GL_WARN_ON_USE (pthread_mutexattr_gettype, "pthread_mutexattr_gettype is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_SETTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_settype # define pthread_mutexattr_settype rpl_pthread_mutexattr_settype # endif _GL_FUNCDECL_RPL (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type)); # else # if !@HAVE_PTHREAD_MUTEXATTR_SETTYPE@ _GL_FUNCDECL_SYS (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_settype, int, (pthread_mutexattr_t *attr, int type)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutexattr_settype); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_settype # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_SETTYPE _GL_WARN_ON_USE (pthread_mutexattr_settype, "pthread_mutexattr_settype is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_GETROBUST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_getrobust # define pthread_mutexattr_getrobust rpl_pthread_mutexattr_getrobust # endif _GL_FUNCDECL_RPL (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *restrict attr, int *restrict robustp), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *restrict attr, int *restrict robustp)); # else # if !@HAVE_PTHREAD_MUTEXATTR_GETROBUST@ _GL_FUNCDECL_SYS (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *restrict attr, int *restrict robustp), _GL_ARG_NONNULL ((1, 2))); # endif /* Need to cast, because on FreeBSD the first parameter is pthread_mutexattr_t *attr. */ _GL_CXXALIAS_SYS_CAST (pthread_mutexattr_getrobust, int, (const pthread_mutexattr_t *restrict attr, int *restrict robustp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutexattr_getrobust); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_getrobust # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_GETROBUST _GL_WARN_ON_USE (pthread_mutexattr_getrobust, "pthread_mutexattr_getrobust is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_SETROBUST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_setrobust # define pthread_mutexattr_setrobust rpl_pthread_mutexattr_setrobust # endif _GL_FUNCDECL_RPL (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust)); # else # if !@HAVE_PTHREAD_MUTEXATTR_SETROBUST@ _GL_FUNCDECL_SYS (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_setrobust, int, (pthread_mutexattr_t *attr, int robust)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutexattr_setrobust); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_setrobust # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_SETROBUST _GL_WARN_ON_USE (pthread_mutexattr_setrobust, "pthread_mutexattr_setrobust is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEXATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutexattr_destroy # define pthread_mutexattr_destroy rpl_pthread_mutexattr_destroy # endif _GL_FUNCDECL_RPL (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr)); # else # if !@HAVE_PTHREAD_MUTEXATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutexattr_destroy, int, (pthread_mutexattr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutexattr_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutexattr_destroy # if HAVE_RAW_DECL_PTHREAD_MUTEXATTR_DESTROY _GL_WARN_ON_USE (pthread_mutexattr_destroy, "pthread_mutexattr_destroy is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_LOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_lock # define pthread_mutex_lock rpl_pthread_mutex_lock # endif _GL_FUNCDECL_RPL (pthread_mutex_lock, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_lock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_LOCK@ _GL_FUNCDECL_SYS (pthread_mutex_lock, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_lock, int, (pthread_mutex_t *mutex)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutex_lock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_lock # if HAVE_RAW_DECL_PTHREAD_MUTEX_LOCK _GL_WARN_ON_USE (pthread_mutex_lock, "pthread_mutex_lock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_TRYLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_trylock # define pthread_mutex_trylock rpl_pthread_mutex_trylock # endif _GL_FUNCDECL_RPL (pthread_mutex_trylock, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_trylock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_TRYLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_trylock, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_trylock, int, (pthread_mutex_t *mutex)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutex_trylock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_trylock # if HAVE_RAW_DECL_PTHREAD_MUTEX_TRYLOCK _GL_WARN_ON_USE (pthread_mutex_trylock, "pthread_mutex_trylock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX_TIMEDLOCK@ # if @REPLACE_PTHREAD_MUTEX_TIMEDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_timedlock # define pthread_mutex_timedlock rpl_pthread_mutex_timedlock # endif _GL_FUNCDECL_RPL (pthread_mutex_timedlock, int, (pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_mutex_timedlock, int, (pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime)); # else # if !@HAVE_PTHREAD_MUTEX_TIMEDLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_timedlock, int, (pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_mutex_timedlock, int, (pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutex_timedlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_timedlock # if HAVE_RAW_DECL_PTHREAD_MUTEX_TIMEDLOCK _GL_WARN_ON_USE (pthread_mutex_timedlock, "pthread_mutex_timedlock is not portable - " "use gnulib module pthread_mutex_timedlock for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_unlock # define pthread_mutex_unlock rpl_pthread_mutex_unlock # endif _GL_FUNCDECL_RPL (pthread_mutex_unlock, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_unlock, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_UNLOCK@ _GL_FUNCDECL_SYS (pthread_mutex_unlock, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_unlock, int, (pthread_mutex_t *mutex)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutex_unlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_unlock # if HAVE_RAW_DECL_PTHREAD_MUTEX_UNLOCK _GL_WARN_ON_USE (pthread_mutex_unlock, "pthread_mutex_unlock is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif #if @GNULIB_PTHREAD_MUTEX@ # if @REPLACE_PTHREAD_MUTEX_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_mutex_destroy # define pthread_mutex_destroy rpl_pthread_mutex_destroy # endif _GL_FUNCDECL_RPL (pthread_mutex_destroy, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_mutex_destroy, int, (pthread_mutex_t *mutex)); # else # if !@HAVE_PTHREAD_MUTEX_DESTROY@ _GL_FUNCDECL_SYS (pthread_mutex_destroy, int, (pthread_mutex_t *mutex), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_mutex_destroy, int, (pthread_mutex_t *mutex)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_mutex_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_mutex_destroy # if HAVE_RAW_DECL_PTHREAD_MUTEX_DESTROY _GL_WARN_ON_USE (pthread_mutex_destroy, "pthread_mutex_destroy is not portable - " "use gnulib module pthread-mutex for portability"); # endif #endif /* =========== Read-write lock functions =========== */ #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_init # define pthread_rwlock_init rpl_pthread_rwlock_init # endif _GL_FUNCDECL_RPL (pthread_rwlock_init, int, (pthread_rwlock_t *restrict lock, const pthread_rwlockattr_t *restrict attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_init, int, (pthread_rwlock_t *restrict lock, const pthread_rwlockattr_t *restrict attr)); # else # if !@HAVE_PTHREAD_RWLOCK_INIT@ _GL_FUNCDECL_SYS (pthread_rwlock_init, int, (pthread_rwlock_t *restrict lock, const pthread_rwlockattr_t *restrict attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_init, int, (pthread_rwlock_t *restrict lock, const pthread_rwlockattr_t *restrict attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_init # if HAVE_RAW_DECL_PTHREAD_RWLOCK_INIT _GL_WARN_ON_USE (pthread_rwlock_init, "pthread_rwlock_init is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCKATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlockattr_init # define pthread_rwlockattr_init rpl_pthread_rwlockattr_init # endif _GL_FUNCDECL_RPL (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCKATTR_INIT@ _GL_FUNCDECL_SYS (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlockattr_init, int, (pthread_rwlockattr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlockattr_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlockattr_init # if HAVE_RAW_DECL_PTHREAD_RWLOCKATTR_INIT _GL_WARN_ON_USE (pthread_rwlockattr_init, "pthread_rwlockattr_init is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCKATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlockattr_destroy # define pthread_rwlockattr_destroy rpl_pthread_rwlockattr_destroy # endif _GL_FUNCDECL_RPL (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr)); # else # if !@HAVE_PTHREAD_RWLOCKATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlockattr_destroy, int, (pthread_rwlockattr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlockattr_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlockattr_destroy # if HAVE_RAW_DECL_PTHREAD_RWLOCKATTR_DESTROY _GL_WARN_ON_USE (pthread_rwlockattr_destroy, "pthread_rwlockattr_destroy is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_RDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_rdlock # define pthread_rwlock_rdlock rpl_pthread_rwlock_rdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_RDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_rdlock, int, (pthread_rwlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_rdlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_rdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_RDLOCK _GL_WARN_ON_USE (pthread_rwlock_rdlock, "pthread_rwlock_rdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_WRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_wrlock # define pthread_rwlock_wrlock rpl_pthread_rwlock_wrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_WRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_wrlock, int, (pthread_rwlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_wrlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_wrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_WRLOCK _GL_WARN_ON_USE (pthread_rwlock_wrlock, "pthread_rwlock_wrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TRYRDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_tryrdlock # define pthread_rwlock_tryrdlock rpl_pthread_rwlock_tryrdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_TRYRDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_tryrdlock, int, (pthread_rwlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_tryrdlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_tryrdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TRYRDLOCK _GL_WARN_ON_USE (pthread_rwlock_tryrdlock, "pthread_rwlock_tryrdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TRYWRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_trywrlock # define pthread_rwlock_trywrlock rpl_pthread_rwlock_trywrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_TRYWRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_trywrlock, int, (pthread_rwlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_trywrlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_trywrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TRYWRLOCK _GL_WARN_ON_USE (pthread_rwlock_trywrlock, "pthread_rwlock_trywrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_timedrdlock # define pthread_rwlock_timedrdlock rpl_pthread_rwlock_timedrdlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime)); # else # if !@HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_timedrdlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_timedrdlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_timedrdlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TIMEDRDLOCK _GL_WARN_ON_USE (pthread_rwlock_timedrdlock, "pthread_rwlock_timedrdlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_timedwrlock # define pthread_rwlock_timedwrlock rpl_pthread_rwlock_timedwrlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime)); # else # if !@HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_timedwrlock, int, (pthread_rwlock_t *restrict lock, const struct timespec *restrict abstime)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_timedwrlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_timedwrlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_TIMEDWRLOCK _GL_WARN_ON_USE (pthread_rwlock_timedwrlock, "pthread_rwlock_timedwrlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_unlock # define pthread_rwlock_unlock rpl_pthread_rwlock_unlock # endif _GL_FUNCDECL_RPL (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_UNLOCK@ _GL_FUNCDECL_SYS (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_unlock, int, (pthread_rwlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_unlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_unlock # if HAVE_RAW_DECL_PTHREAD_RWLOCK_UNLOCK _GL_WARN_ON_USE (pthread_rwlock_unlock, "pthread_rwlock_unlock is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif #if @GNULIB_PTHREAD_RWLOCK@ # if @REPLACE_PTHREAD_RWLOCK_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_rwlock_destroy # define pthread_rwlock_destroy rpl_pthread_rwlock_destroy # endif _GL_FUNCDECL_RPL (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock)); # else # if !@HAVE_PTHREAD_RWLOCK_DESTROY@ _GL_FUNCDECL_SYS (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_rwlock_destroy, int, (pthread_rwlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_rwlock_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_rwlock_destroy # if HAVE_RAW_DECL_PTHREAD_RWLOCK_DESTROY _GL_WARN_ON_USE (pthread_rwlock_destroy, "pthread_rwlock_destroy is not portable - " "use gnulib module pthread-rwlock for portability"); # endif #endif /* =========== Condition variable functions =========== */ #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_init # define pthread_cond_init rpl_pthread_cond_init # endif _GL_FUNCDECL_RPL (pthread_cond_init, int, (pthread_cond_t *restrict cond, const pthread_condattr_t *restrict attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_init, int, (pthread_cond_t *restrict cond, const pthread_condattr_t *restrict attr)); # else # if !@HAVE_PTHREAD_COND_INIT@ _GL_FUNCDECL_SYS (pthread_cond_init, int, (pthread_cond_t *restrict cond, const pthread_condattr_t *restrict attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_init, int, (pthread_cond_t *restrict cond, const pthread_condattr_t *restrict attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_cond_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_cond_init # if HAVE_RAW_DECL_PTHREAD_COND_INIT _GL_WARN_ON_USE (pthread_cond_init, "pthread_cond_init is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_CONDATTR_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_condattr_init # define pthread_condattr_init rpl_pthread_condattr_init # endif _GL_FUNCDECL_RPL (pthread_condattr_init, int, (pthread_condattr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_condattr_init, int, (pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_CONDATTR_INIT@ _GL_FUNCDECL_SYS (pthread_condattr_init, int, (pthread_condattr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_condattr_init, int, (pthread_condattr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_condattr_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_condattr_init # if HAVE_RAW_DECL_PTHREAD_CONDATTR_INIT _GL_WARN_ON_USE (pthread_condattr_init, "pthread_condattr_init is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_CONDATTR_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_condattr_destroy # define pthread_condattr_destroy rpl_pthread_condattr_destroy # endif _GL_FUNCDECL_RPL (pthread_condattr_destroy, int, (pthread_condattr_t *attr), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_condattr_destroy, int, (pthread_condattr_t *attr)); # else # if !@HAVE_PTHREAD_CONDATTR_DESTROY@ _GL_FUNCDECL_SYS (pthread_condattr_destroy, int, (pthread_condattr_t *attr), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_condattr_destroy, int, (pthread_condattr_t *attr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_condattr_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_condattr_destroy # if HAVE_RAW_DECL_PTHREAD_CONDATTR_DESTROY _GL_WARN_ON_USE (pthread_condattr_destroy, "pthread_condattr_destroy is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_WAIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_wait # define pthread_cond_wait rpl_pthread_cond_wait # endif _GL_FUNCDECL_RPL (pthread_cond_wait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (pthread_cond_wait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex)); # else # if !@HAVE_PTHREAD_COND_WAIT@ _GL_FUNCDECL_SYS (pthread_cond_wait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (pthread_cond_wait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_cond_wait); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_cond_wait # if HAVE_RAW_DECL_PTHREAD_COND_WAIT _GL_WARN_ON_USE (pthread_cond_wait, "pthread_cond_wait is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_TIMEDWAIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_timedwait # define pthread_cond_timedwait rpl_pthread_cond_timedwait # endif _GL_FUNCDECL_RPL (pthread_cond_timedwait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2, 3))); _GL_CXXALIAS_RPL (pthread_cond_timedwait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime)); # else # if !@HAVE_PTHREAD_COND_TIMEDWAIT@ _GL_FUNCDECL_SYS (pthread_cond_timedwait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime), _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (pthread_cond_timedwait, int, (pthread_cond_t *restrict cond, pthread_mutex_t *restrict mutex, const struct timespec *restrict abstime)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_cond_timedwait); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_cond_timedwait # if HAVE_RAW_DECL_PTHREAD_COND_TIMEDWAIT _GL_WARN_ON_USE (pthread_cond_timedwait, "pthread_cond_timedwait is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_SIGNAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_signal # define pthread_cond_signal rpl_pthread_cond_signal # endif _GL_FUNCDECL_RPL (pthread_cond_signal, int, (pthread_cond_t *cond), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_signal, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_SIGNAL@ _GL_FUNCDECL_SYS (pthread_cond_signal, int, (pthread_cond_t *cond), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_signal, int, (pthread_cond_t *cond)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_cond_signal); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_cond_signal # if HAVE_RAW_DECL_PTHREAD_COND_SIGNAL _GL_WARN_ON_USE (pthread_cond_signal, "pthread_cond_signal is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_BROADCAST@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_broadcast # define pthread_cond_broadcast rpl_pthread_cond_broadcast # endif _GL_FUNCDECL_RPL (pthread_cond_broadcast, int, (pthread_cond_t *cond), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_broadcast, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_BROADCAST@ _GL_FUNCDECL_SYS (pthread_cond_broadcast, int, (pthread_cond_t *cond), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_broadcast, int, (pthread_cond_t *cond)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_cond_broadcast); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_cond_broadcast # if HAVE_RAW_DECL_PTHREAD_COND_BROADCAST _GL_WARN_ON_USE (pthread_cond_broadcast, "pthread_cond_broadcast is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif #if @GNULIB_PTHREAD_COND@ # if @REPLACE_PTHREAD_COND_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_cond_destroy # define pthread_cond_destroy rpl_pthread_cond_destroy # endif _GL_FUNCDECL_RPL (pthread_cond_destroy, int, (pthread_cond_t *cond), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_cond_destroy, int, (pthread_cond_t *cond)); # else # if !@HAVE_PTHREAD_COND_DESTROY@ _GL_FUNCDECL_SYS (pthread_cond_destroy, int, (pthread_cond_t *cond), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_cond_destroy, int, (pthread_cond_t *cond)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_cond_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_cond_destroy # if HAVE_RAW_DECL_PTHREAD_COND_DESTROY _GL_WARN_ON_USE (pthread_cond_destroy, "pthread_cond_destroy is not portable - " "use gnulib module pthread-cond for portability"); # endif #endif /* =========== Thread-specific storage functions =========== */ #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_KEY_CREATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_key_create # define pthread_key_create rpl_pthread_key_create # endif _GL_FUNCDECL_RPL (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *)), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *))); # else # if !@HAVE_PTHREAD_KEY_CREATE@ _GL_FUNCDECL_SYS (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *)), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS_CAST (pthread_key_create, int, (pthread_key_t *keyp, void (*destructor) (void *))); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_key_create); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_key_create # if HAVE_RAW_DECL_PTHREAD_KEY_CREATE _GL_WARN_ON_USE (pthread_key_create, "pthread_key_create is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_SETSPECIFIC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_setspecific # define pthread_setspecific rpl_pthread_setspecific # endif _GL_FUNCDECL_RPL (pthread_setspecific, int, (pthread_key_t key, const void *value), ); _GL_CXXALIAS_RPL (pthread_setspecific, int, (pthread_key_t key, const void *value)); # else # if !@HAVE_PTHREAD_SETSPECIFIC@ _GL_FUNCDECL_SYS (pthread_setspecific, int, (pthread_key_t key, const void *value), ); # endif _GL_CXXALIAS_SYS (pthread_setspecific, int, (pthread_key_t key, const void *value)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_setspecific); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_setspecific # if HAVE_RAW_DECL_PTHREAD_SETSPECIFIC _GL_WARN_ON_USE (pthread_setspecific, "pthread_setspecific is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_GETSPECIFIC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_getspecific # define pthread_getspecific rpl_pthread_getspecific # endif _GL_FUNCDECL_RPL (pthread_getspecific, void *, (pthread_key_t key), ); _GL_CXXALIAS_RPL (pthread_getspecific, void *, (pthread_key_t key)); # else # if !@HAVE_PTHREAD_GETSPECIFIC@ _GL_FUNCDECL_SYS (pthread_getspecific, void *, (pthread_key_t key), ); # endif _GL_CXXALIAS_SYS (pthread_getspecific, void *, (pthread_key_t key)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_getspecific); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_getspecific # if HAVE_RAW_DECL_PTHREAD_GETSPECIFIC _GL_WARN_ON_USE (pthread_getspecific, "pthread_getspecific is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif #if @GNULIB_PTHREAD_TSS@ # if @REPLACE_PTHREAD_KEY_DELETE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_key_delete # define pthread_key_delete rpl_pthread_key_delete # endif _GL_FUNCDECL_RPL (pthread_key_delete, int, (pthread_key_t key), ); _GL_CXXALIAS_RPL (pthread_key_delete, int, (pthread_key_t key)); # else # if !@HAVE_PTHREAD_KEY_DELETE@ _GL_FUNCDECL_SYS (pthread_key_delete, int, (pthread_key_t key), ); # endif _GL_CXXALIAS_SYS (pthread_key_delete, int, (pthread_key_t key)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_key_delete); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_key_delete # if HAVE_RAW_DECL_PTHREAD_KEY_DELETE _GL_WARN_ON_USE (pthread_key_delete, "pthread_key_delete is not portable - " "use gnulib module pthread-tss for portability"); # endif #endif /* =========== Spinlock functions =========== */ #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_INIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_init # define pthread_spin_init rpl_pthread_spin_init # endif _GL_FUNCDECL_RPL (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes)); # else # if !@HAVE_PTHREAD_SPIN_INIT@ _GL_FUNCDECL_SYS (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_init, int, (pthread_spinlock_t *lock, int shared_across_processes)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_spin_init); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_spin_init # if HAVE_RAW_DECL_PTHREAD_SPIN_INIT _GL_WARN_ON_USE (pthread_spin_init, "pthread_spin_init is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_LOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_lock # define pthread_spin_lock rpl_pthread_spin_lock # endif _GL_FUNCDECL_RPL (pthread_spin_lock, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_lock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_LOCK@ _GL_FUNCDECL_SYS (pthread_spin_lock, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_lock, int, (pthread_spinlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_spin_lock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_spin_lock # if HAVE_RAW_DECL_PTHREAD_SPIN_LOCK _GL_WARN_ON_USE (pthread_spin_lock, "pthread_spin_lock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_TRYLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_trylock # define pthread_spin_trylock rpl_pthread_spin_trylock # endif _GL_FUNCDECL_RPL (pthread_spin_trylock, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_trylock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_TRYLOCK@ _GL_FUNCDECL_SYS (pthread_spin_trylock, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_trylock, int, (pthread_spinlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_spin_trylock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_spin_trylock # if HAVE_RAW_DECL_PTHREAD_SPIN_TRYLOCK _GL_WARN_ON_USE (pthread_spin_trylock, "pthread_spin_trylock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_UNLOCK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_unlock # define pthread_spin_unlock rpl_pthread_spin_unlock # endif _GL_FUNCDECL_RPL (pthread_spin_unlock, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_unlock, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_UNLOCK@ _GL_FUNCDECL_SYS (pthread_spin_unlock, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_unlock, int, (pthread_spinlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_spin_unlock); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_spin_unlock # if HAVE_RAW_DECL_PTHREAD_SPIN_UNLOCK _GL_WARN_ON_USE (pthread_spin_unlock, "pthread_spin_unlock is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if @GNULIB_PTHREAD_SPIN@ # if @REPLACE_PTHREAD_SPIN_DESTROY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pthread_spin_destroy # define pthread_spin_destroy rpl_pthread_spin_destroy # endif _GL_FUNCDECL_RPL (pthread_spin_destroy, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (pthread_spin_destroy, int, (pthread_spinlock_t *lock)); # else # if !@HAVE_PTHREAD_SPIN_DESTROY@ _GL_FUNCDECL_SYS (pthread_spin_destroy, int, (pthread_spinlock_t *lock), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pthread_spin_destroy, int, (pthread_spinlock_t *lock)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pthread_spin_destroy); # endif #elif defined GNULIB_POSIXCHECK # undef pthread_spin_destroy # if HAVE_RAW_DECL_PTHREAD_SPIN_DESTROY _GL_WARN_ON_USE (pthread_spin_destroy, "pthread_spin_destroy is not portable - " "use gnulib module pthread-spin for portability"); # endif #endif #if defined __cplusplus && defined GNULIB_NAMESPACE && !@HAVE_PTHREAD_H@ && defined __MINGW32__ /* Provide the symbols required by mingw's . */ using GNULIB_NAMESPACE::pthread_create; using GNULIB_NAMESPACE::pthread_self; using GNULIB_NAMESPACE::pthread_equal; using GNULIB_NAMESPACE::pthread_detach; using GNULIB_NAMESPACE::pthread_join; using GNULIB_NAMESPACE::pthread_once; using GNULIB_NAMESPACE::pthread_mutex_init; using GNULIB_NAMESPACE::pthread_mutexattr_init; using GNULIB_NAMESPACE::pthread_mutexattr_settype; using GNULIB_NAMESPACE::pthread_mutexattr_destroy; using GNULIB_NAMESPACE::pthread_mutex_lock; using GNULIB_NAMESPACE::pthread_mutex_trylock; using GNULIB_NAMESPACE::pthread_mutex_timedlock; using GNULIB_NAMESPACE::pthread_mutex_unlock; using GNULIB_NAMESPACE::pthread_mutex_destroy; using GNULIB_NAMESPACE::pthread_cond_wait; using GNULIB_NAMESPACE::pthread_cond_timedwait; using GNULIB_NAMESPACE::pthread_cond_signal; using GNULIB_NAMESPACE::pthread_cond_broadcast; using GNULIB_NAMESPACE::pthread_cond_destroy; using GNULIB_NAMESPACE::pthread_key_create; using GNULIB_NAMESPACE::pthread_setspecific; using GNULIB_NAMESPACE::pthread_getspecific; using GNULIB_NAMESPACE::pthread_key_delete; #endif #endif /* _@GUARD_PREFIX@_PTHREAD_H_ */ #endif /* _@GUARD_PREFIX@_PTHREAD_H_ */ #endif datamash-1.9/lib/quote.h0000644000000000000000000000361014767401140010654 /* quote.h - prototypes for quote.c Copyright (C) 1998-2001, 2003, 2009-2025 Free Software Foundation, Inc. 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 . */ #ifndef QUOTE_H_ #define QUOTE_H_ 1 #include #ifdef __cplusplus extern "C" { #endif /* The quoting options used by quote_n and quote. Its type is incomplete, so it's useful only in expressions like '"e_quoting_options'. */ extern struct quoting_options quote_quoting_options; /* Return an unambiguous printable representation of ARG (of size ARGSIZE), allocated in slot N, suitable for diagnostics. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. */ char const *quote_n_mem (int n, char const *arg, size_t argsize); /* Return an unambiguous printable representation of ARG (of size ARGSIZE), suitable for diagnostics. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. */ char const *quote_mem (char const *arg, size_t argsize); /* Return an unambiguous printable representation of ARG, allocated in slot N, suitable for diagnostics. */ char const *quote_n (int n, char const *arg); /* Return an unambiguous printable representation of ARG, suitable for diagnostics. */ char const *quote (char const *arg); #ifdef __cplusplus } #endif #endif /* !QUOTE_H_ */ datamash-1.9/lib/quotearg.c0000644000000000000000000010430614767402206011351 /* quotearg.c - quote arguments for output Copyright (C) 1998-2002, 2004-2025 Free Software Foundation, Inc. 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 . */ /* Written by Paul Eggert */ #include /* Without this pragma, gcc 4.7.0 20111124 mistakenly suggests that the quoting_options_from_style function might be candidate for attribute 'pure' */ #if _GL_GNUC_PREREQ (4, 6) # pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" #endif #include "quotearg.h" #include "quote.h" #include "attribute.h" #include "minmax.h" #include "xalloc.h" #include "c-strcaseeq.h" #include "localcharset.h" #include #include #include #include #include #include #include #include #include "gettext.h" #define _(msgid) dgettext ("gnulib", msgid) #define N_(msgid) msgid #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif #define INT_BITS (sizeof (int) * CHAR_BIT) struct quoting_options { /* Basic quoting style. */ enum quoting_style style; /* Additional flags. Bitwise combination of enum quoting_flags. */ int flags; /* Quote the characters indicated by this bit vector even if the quoting style would not normally require them to be quoted. */ unsigned int quote_these_too[(UCHAR_MAX / INT_BITS) + 1]; /* The left quote for custom_quoting_style. */ char const *left_quote; /* The right quote for custom_quoting_style. */ char const *right_quote; }; /* Names of quoting styles. */ char const *const quoting_style_args[] = { "literal", "shell", "shell-always", "shell-escape", "shell-escape-always", "c", "c-maybe", "escape", "locale", "clocale", NULL }; /* Correspondences to quoting style names. */ enum quoting_style const quoting_style_vals[] = { literal_quoting_style, shell_quoting_style, shell_always_quoting_style, shell_escape_quoting_style, shell_escape_always_quoting_style, c_quoting_style, c_maybe_quoting_style, escape_quoting_style, locale_quoting_style, clocale_quoting_style }; /* The default quoting options. */ static struct quoting_options default_quoting_options; /* Allocate a new set of quoting options, with contents initially identical to O if O is not null, or to the default if O is null. It is the caller's responsibility to free the result. */ struct quoting_options * clone_quoting_options (struct quoting_options *o) { int e = errno; struct quoting_options *p = xmemdup (o ? o : &default_quoting_options, sizeof *o); errno = e; return p; } /* Get the value of O's quoting style. If O is null, use the default. */ enum quoting_style get_quoting_style (struct quoting_options const *o) { return (o ? o : &default_quoting_options)->style; } /* In O (or in the default if O is null), set the value of the quoting style to S. */ void set_quoting_style (struct quoting_options *o, enum quoting_style s) { (o ? o : &default_quoting_options)->style = s; } /* In O (or in the default if O is null), set the value of the quoting options for character C to I. Return the old value. Currently, the only values defined for I are 0 (the default) and 1 (which means to quote the character even if it would not otherwise be quoted). */ int set_char_quoting (struct quoting_options *o, char c, int i) { unsigned char uc = c; unsigned int *p = (o ? o : &default_quoting_options)->quote_these_too + uc / INT_BITS; int shift = uc % INT_BITS; unsigned int r = (*p >> shift) & 1; *p ^= ((i & 1U) ^ r) << shift; return r; } /* In O (or in the default if O is null), set the value of the quoting options flag to I, which can be a bitwise combination of enum quoting_flags, or 0 for default behavior. Return the old value. */ int set_quoting_flags (struct quoting_options *o, int i) { int r; if (!o) o = &default_quoting_options; r = o->flags; o->flags = i; return r; } void set_custom_quoting (struct quoting_options *o, char const *left_quote, char const *right_quote) { if (!o) o = &default_quoting_options; o->style = custom_quoting_style; if (!left_quote || !right_quote) abort (); o->left_quote = left_quote; o->right_quote = right_quote; } /* Return quoting options for STYLE, with no extra quoting. */ static struct quoting_options /* NOT PURE!! */ quoting_options_from_style (enum quoting_style style) { struct quoting_options o = { literal_quoting_style, 0, { 0 }, NULL, NULL }; if (style == custom_quoting_style) abort (); o.style = style; return o; } /* MSGID approximates a quotation mark. Return its translation if it has one; otherwise, return either it or "\"", depending on S. S is either clocale_quoting_style or locale_quoting_style. */ static char const * gettext_quote (char const *msgid, enum quoting_style s) { char const *translation = _(msgid); char const *locale_code; if (translation != msgid) return translation; /* For UTF-8 and GB-18030, use single quotes U+2018 and U+2019. Here is a list of other locales that include U+2018 and U+2019: ISO-8859-7 0xA1 KOI8-T 0x91 CP869 0x8B CP874 0x91 CP932 0x81 0x65 CP936 0xA1 0xAE CP949 0xA1 0xAE CP950 0xA1 0xA5 CP1250 0x91 CP1251 0x91 CP1252 0x91 CP1253 0x91 CP1254 0x91 CP1255 0x91 CP1256 0x91 CP1257 0x91 EUC-JP 0xA1 0xC6 EUC-KR 0xA1 0xAE EUC-TW 0xA1 0xE4 BIG5 0xA1 0xA5 BIG5-HKSCS 0xA1 0xA5 EUC-CN 0xA1 0xAE GBK 0xA1 0xAE Georgian-PS 0x91 PT154 0x91 None of these is still in wide use; using iconv is overkill. */ locale_code = locale_charset (); if (STRCASEEQ (locale_code, "UTF-8", 'U','T','F','-','8',0,0,0,0)) return msgid[0] == '`' ? "\xe2\x80\x98": "\xe2\x80\x99"; if (STRCASEEQ (locale_code, "GB18030", 'G','B','1','8','0','3','0',0,0)) return msgid[0] == '`' ? "\xa1\ae": "\xa1\xaf"; return (s == clocale_quoting_style ? "\"" : "'"); } /* Place into buffer BUFFER (of size BUFFERSIZE) a quoted version of argument ARG (of size ARGSIZE), using QUOTING_STYLE, FLAGS, and QUOTE_THESE_TOO to control quoting. Terminate the output with a null character, and return the written size of the output, not counting the terminating null. If BUFFERSIZE is too small to store the output string, return the value that would have been returned had BUFFERSIZE been large enough. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. This function acts like quotearg_buffer (BUFFER, BUFFERSIZE, ARG, ARGSIZE, O), except it breaks O into its component pieces and is not careful about errno. */ static size_t quotearg_buffer_restyled (char *buffer, size_t buffersize, char const *arg, size_t argsize, enum quoting_style quoting_style, int flags, unsigned int const *quote_these_too, char const *left_quote, char const *right_quote) { size_t i; size_t len = 0; size_t orig_buffersize = 0; char const *quote_string = NULL; size_t quote_string_len = 0; bool backslash_escapes = false; bool unibyte_locale = MB_CUR_MAX == 1; bool elide_outer_quotes = (flags & QA_ELIDE_OUTER_QUOTES) != 0; bool encountered_single_quote = false; bool all_c_and_shell_quote_compat = true; #define STORE(c) \ do \ { \ if (len < buffersize) \ buffer[len] = (c); \ len++; \ } \ while (0) #define START_ESC() \ do \ { \ if (elide_outer_quotes) \ goto force_outer_quoting_style; \ escaping = true; \ if (quoting_style == shell_always_quoting_style \ && ! pending_shell_escape_end) \ { \ STORE ('\''); \ STORE ('$'); \ STORE ('\''); \ pending_shell_escape_end = true; \ } \ STORE ('\\'); \ } \ while (0) #define END_ESC() \ do \ { \ if (pending_shell_escape_end && ! escaping) \ { \ STORE ('\''); \ STORE ('\''); \ pending_shell_escape_end = false; \ } \ } \ while (0) process_input: ; bool pending_shell_escape_end = false; switch (quoting_style) { case c_maybe_quoting_style: quoting_style = c_quoting_style; elide_outer_quotes = true; FALLTHROUGH; case c_quoting_style: if (!elide_outer_quotes) STORE ('"'); backslash_escapes = true; quote_string = "\""; quote_string_len = 1; break; case escape_quoting_style: backslash_escapes = true; elide_outer_quotes = false; break; case locale_quoting_style: case clocale_quoting_style: case custom_quoting_style: { if (quoting_style != custom_quoting_style) { /* TRANSLATORS: Get translations for open and closing quotation marks. The message catalog should translate "`" to a left quotation mark suitable for the locale, and similarly for "'". For example, a French Unicode local should translate these to U+00AB (LEFT-POINTING DOUBLE ANGLE QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK), respectively. If the catalog has no translation, we will try to use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the current locale is not Unicode, locale_quoting_style will quote 'like this', and clocale_quoting_style will quote "like this". You should always include translations for "`" and "'" even if U+2018 and U+2019 are appropriate for your locale. If you don't know what to put here, please see and use glyphs suitable for your language. */ left_quote = gettext_quote (N_("`"), quoting_style); right_quote = gettext_quote (N_("'"), quoting_style); } if (!elide_outer_quotes) for (quote_string = left_quote; *quote_string; quote_string++) STORE (*quote_string); backslash_escapes = true; quote_string = right_quote; quote_string_len = strlen (quote_string); } break; case shell_escape_quoting_style: backslash_escapes = true; FALLTHROUGH; case shell_quoting_style: elide_outer_quotes = true; FALLTHROUGH; case shell_escape_always_quoting_style: if (!elide_outer_quotes) backslash_escapes = true; FALLTHROUGH; case shell_always_quoting_style: quoting_style = shell_always_quoting_style; if (!elide_outer_quotes) STORE ('\''); quote_string = "'"; quote_string_len = 1; break; case literal_quoting_style: elide_outer_quotes = false; break; default: abort (); } for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) { unsigned char c; unsigned char esc; bool is_right_quote = false; bool escaping = false; bool c_and_shell_quote_compat = false; if (backslash_escapes && quoting_style != shell_always_quoting_style && quote_string_len && (i + quote_string_len <= (argsize == SIZE_MAX && 1 < quote_string_len /* Use strlen only if we must: when argsize is SIZE_MAX, and when the quote string is more than 1 byte long. If we do call strlen, save the result. */ ? (argsize = strlen (arg)) : argsize)) && memcmp (arg + i, quote_string, quote_string_len) == 0) { if (elide_outer_quotes) goto force_outer_quoting_style; is_right_quote = true; } c = arg[i]; switch (c) { case '\0': if (backslash_escapes) { START_ESC (); /* If quote_string were to begin with digits, we'd need to test for the end of the arg as well. However, it's hard to imagine any locale that would use digits in quotes, and set_custom_quoting is documented not to accept them. Use only a single \0 with shell-escape as currently digits are not printed within $'...' */ if (quoting_style != shell_always_quoting_style && i + 1 < argsize && '0' <= arg[i + 1] && arg[i + 1] <= '9') { STORE ('0'); STORE ('0'); } c = '0'; /* We don't have to worry that this last '0' will be backslash-escaped because, again, quote_string should not start with it and because quote_these_too is documented as not accepting it. */ } else if (flags & QA_ELIDE_NULL_BYTES) continue; break; case '?': switch (+quoting_style) { case shell_always_quoting_style: if (elide_outer_quotes) goto force_outer_quoting_style; break; case c_quoting_style: if ((flags & QA_SPLIT_TRIGRAPHS) && i + 2 < argsize && arg[i + 1] == '?') switch (arg[i + 2]) { case '!': case '\'': case '(': case ')': case '-': case '/': case '<': case '=': case '>': /* Escape the second '?' in what would otherwise be a trigraph. */ if (elide_outer_quotes) goto force_outer_quoting_style; c = arg[i + 2]; i += 2; STORE ('?'); STORE ('"'); STORE ('"'); STORE ('?'); break; } break; } break; case '\a': esc = 'a'; goto c_escape; case '\b': esc = 'b'; goto c_escape; case '\f': esc = 'f'; goto c_escape; case '\n': esc = 'n'; goto c_and_shell_escape; case '\r': esc = 'r'; goto c_and_shell_escape; case '\t': esc = 't'; goto c_and_shell_escape; case '\v': esc = 'v'; goto c_escape; case '\\': esc = c; /* Never need to escape '\' in shell case. */ if (quoting_style == shell_always_quoting_style) { if (elide_outer_quotes) goto force_outer_quoting_style; goto store_c; } /* No need to escape the escape if we are trying to elide outer quotes and nothing else is problematic. */ if (backslash_escapes && elide_outer_quotes && quote_string_len) goto store_c; c_and_shell_escape: if (quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; /* fall through */ c_escape: if (backslash_escapes) { c = esc; goto store_escape; } break; case '{': case '}': /* sometimes special if isolated */ if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) break; FALLTHROUGH; case '#': case '~': if (i != 0) break; FALLTHROUGH; case ' ': c_and_shell_quote_compat = true; FALLTHROUGH; case '!': /* special in bash */ case '"': case '$': case '&': case '(': case ')': case '*': case ';': case '<': case '=': /* sometimes special in 0th or (with "set -k") later args */ case '>': case '[': case '^': /* special in old /bin/sh, e.g., Solaris 10 */ case '`': case '|': /* A shell special character. */ if (quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; break; case '\'': encountered_single_quote = true; c_and_shell_quote_compat = true; if (quoting_style == shell_always_quoting_style) { if (elide_outer_quotes) goto force_outer_quoting_style; if (buffersize && ! orig_buffersize) { /* Just scan string to see if supports a more concise representation, rather than writing a longer string but returning the length of the more concise form. */ orig_buffersize = buffersize; buffersize = 0; } STORE ('\''); STORE ('\\'); STORE ('\''); pending_shell_escape_end = false; } break; case '%': case '+': case ',': case '-': case '.': case '/': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case ':': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case ']': case '_': case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': /* These characters don't cause problems, no matter what the quoting style is. They cannot start multibyte sequences. A digit or a special letter would cause trouble if it appeared at the beginning of quote_string because we'd then escape by prepending a backslash. However, it's hard to imagine any locale that would use digits or letters as quotes, and set_custom_quoting is documented not to accept them. Also, a digit or a special letter would cause trouble if it appeared in quote_these_too, but that's also documented as not accepting them. */ c_and_shell_quote_compat = true; break; default: /* If we have a multibyte sequence, copy it until we reach its end, find an error, or come back to the initial shift state. For C-like styles, if the sequence has unprintable characters, escape the whole sequence, since we can't easily escape single characters within it. */ { /* Length of multibyte sequence found so far. */ size_t m; bool printable; if (unibyte_locale) { m = 1; printable = isprint (c) != 0; } else { mbstate_t mbstate; mbszero (&mbstate); m = 0; printable = true; if (argsize == SIZE_MAX) argsize = strlen (arg); for (;;) { char32_t w; size_t bytes = mbrtoc32 (&w, &arg[i + m], argsize - (i + m), &mbstate); if (bytes == 0) break; else if (bytes == (size_t) -1) { printable = false; break; } else if (bytes == (size_t) -2) { printable = false; while (i + m < argsize && arg[i + m]) m++; break; } else { #if !GNULIB_MBRTOC32_REGULAR if (bytes == (size_t) -3) bytes = 0; #endif /* Work around a bug with older shells that "see" a '\' that is really the 2nd byte of a multibyte character. In practice the problem is limited to ASCII chars >= '@' that are shell special chars. */ if ('[' == 0x5b && elide_outer_quotes && quoting_style == shell_always_quoting_style) { size_t j; for (j = 1; j < bytes; j++) switch (arg[i + m + j]) { case '[': case '\\': case '^': case '`': case '|': goto force_outer_quoting_style; } } if (! c32isprint (w)) printable = false; m += bytes; } #if !GNULIB_MBRTOC32_REGULAR if (mbsinit (&mbstate)) #endif break; } } c_and_shell_quote_compat = printable; if (1 < m || (backslash_escapes && ! printable)) { /* Output a multibyte sequence, or an escaped unprintable unibyte character. */ size_t ilim = i + m; for (;;) { if (backslash_escapes && ! printable) { START_ESC (); STORE ('0' + (c >> 6)); STORE ('0' + ((c >> 3) & 7)); c = '0' + (c & 7); } else if (is_right_quote) { STORE ('\\'); is_right_quote = false; } if (ilim <= i + 1) break; END_ESC (); STORE (c); c = arg[++i]; } goto store_c; } } } if (! (((backslash_escapes && quoting_style != shell_always_quoting_style) || elide_outer_quotes) && quote_these_too && quote_these_too[c / INT_BITS] >> (c % INT_BITS) & 1) && !is_right_quote) goto store_c; store_escape: START_ESC (); store_c: END_ESC (); STORE (c); if (! c_and_shell_quote_compat) all_c_and_shell_quote_compat = false; } if (len == 0 && quoting_style == shell_always_quoting_style && elide_outer_quotes) goto force_outer_quoting_style; /* Single shell quotes (') are commonly enough used as an apostrophe, that we attempt to minimize the quoting in this case. Note itʼs better to use the apostrophe modifier "\u02BC" if possible, as that renders better and works with the word match regex \W+ etc. */ if (quoting_style == shell_always_quoting_style && ! elide_outer_quotes && encountered_single_quote) { if (all_c_and_shell_quote_compat) return quotearg_buffer_restyled (buffer, orig_buffersize, arg, argsize, c_quoting_style, flags, quote_these_too, left_quote, right_quote); else if (! buffersize && orig_buffersize) { /* Disable read-only scan, and reprocess to write quoted string. */ buffersize = orig_buffersize; len = 0; goto process_input; } } if (quote_string && !elide_outer_quotes) for (; *quote_string; quote_string++) STORE (*quote_string); if (len < buffersize) buffer[len] = '\0'; return len; force_outer_quoting_style: /* Don't reuse quote_these_too, since the addition of outer quotes sufficiently quotes the specified characters. */ if (quoting_style == shell_always_quoting_style && backslash_escapes) quoting_style = shell_escape_always_quoting_style; return quotearg_buffer_restyled (buffer, buffersize, arg, argsize, quoting_style, flags & ~QA_ELIDE_OUTER_QUOTES, NULL, left_quote, right_quote); } /* Place into buffer BUFFER (of size BUFFERSIZE) a quoted version of argument ARG (of size ARGSIZE), using O to control quoting. If O is null, use the default. Terminate the output with a null character, and return the written size of the output, not counting the terminating null. If BUFFERSIZE is too small to store the output string, return the value that would have been returned had BUFFERSIZE been large enough. If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. */ size_t quotearg_buffer (char *buffer, size_t buffersize, char const *arg, size_t argsize, struct quoting_options const *o) { struct quoting_options const *p = o ? o : &default_quoting_options; int e = errno; size_t r = quotearg_buffer_restyled (buffer, buffersize, arg, argsize, p->style, p->flags, p->quote_these_too, p->left_quote, p->right_quote); errno = e; return r; } char * quotearg_alloc (char const *arg, size_t argsize, struct quoting_options const *o) { return quotearg_alloc_mem (arg, argsize, NULL, o); } /* Like quotearg_buffer (..., ARG, ARGSIZE, O), except return newly allocated storage containing the quoted string, and store the resulting size into *SIZE, if non-NULL. The result can contain embedded null bytes only if ARGSIZE is not SIZE_MAX, SIZE is not NULL, and set_quoting_flags has not set the null byte elision flag. */ char * quotearg_alloc_mem (char const *arg, size_t argsize, size_t *size, struct quoting_options const *o) { struct quoting_options const *p = o ? o : &default_quoting_options; int e = errno; /* Elide embedded null bytes if we can't return a size. */ int flags = p->flags | (size ? 0 : QA_ELIDE_NULL_BYTES); size_t bufsize = quotearg_buffer_restyled (NULL, 0, arg, argsize, p->style, flags, p->quote_these_too, p->left_quote, p->right_quote) + 1; char *buf = xcharalloc (bufsize); quotearg_buffer_restyled (buf, bufsize, arg, argsize, p->style, flags, p->quote_these_too, p->left_quote, p->right_quote); errno = e; if (size) *size = bufsize - 1; return buf; } /* A storage slot with size and pointer to a value. */ struct slotvec { size_t size; char *val; }; /* Preallocate a slot 0 buffer, so that the caller can always quote one small component of a "memory exhausted" message in slot 0. */ static char slot0[256]; static int nslots = 1; static struct slotvec slotvec0 = {sizeof slot0, slot0}; static struct slotvec *slotvec = &slotvec0; void quotearg_free (void) { struct slotvec *sv = slotvec; int i; for (i = 1; i < nslots; i++) free (sv[i].val); if (sv[0].val != slot0) { free (sv[0].val); slotvec0.size = sizeof slot0; slotvec0.val = slot0; } if (sv != &slotvec0) { free (sv); slotvec = &slotvec0; } nslots = 1; } /* Use storage slot N to return a quoted version of argument ARG. ARG is of size ARGSIZE, but if that is SIZE_MAX, ARG is a null-terminated string. OPTIONS specifies the quoting options. The returned value points to static storage that can be reused by the next call to this function with the same value of N. N must be nonnegative; it is typically small, and must be less than MIN (INT_MAX, IDX_MAX). The type of N is signed to allow for future extensions (using negative values). */ static char * quotearg_n_options (int n, char const *arg, size_t argsize, struct quoting_options const *options) { int e = errno; struct slotvec *sv = slotvec; int nslots_max = MIN (INT_MAX, IDX_MAX); if (! (0 <= n && n < nslots_max)) abort (); if (nslots <= n) { bool preallocated = (sv == &slotvec0); idx_t new_nslots = nslots; slotvec = sv = xpalloc (preallocated ? NULL : sv, &new_nslots, n - nslots + 1, nslots_max, sizeof *sv); if (preallocated) *sv = slotvec0; memset (sv + nslots, 0, (new_nslots - nslots) * sizeof *sv); nslots = new_nslots; } { size_t size = sv[n].size; char *val = sv[n].val; /* Elide embedded null bytes since we don't return a size. */ int flags = options->flags | QA_ELIDE_NULL_BYTES; size_t qsize = quotearg_buffer_restyled (val, size, arg, argsize, options->style, flags, options->quote_these_too, options->left_quote, options->right_quote); if (size <= qsize) { sv[n].size = size = qsize + 1; if (val != slot0) free (val); sv[n].val = val = xcharalloc (size); quotearg_buffer_restyled (val, size, arg, argsize, options->style, flags, options->quote_these_too, options->left_quote, options->right_quote); } errno = e; return val; } } char * quotearg_n (int n, char const *arg) { return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); } char * quotearg_n_mem (int n, char const *arg, size_t argsize) { return quotearg_n_options (n, arg, argsize, &default_quoting_options); } char * quotearg (char const *arg) { return quotearg_n (0, arg); } char * quotearg_mem (char const *arg, size_t argsize) { return quotearg_n_mem (0, arg, argsize); } char * quotearg_n_style (int n, enum quoting_style s, char const *arg) { struct quoting_options const o = quoting_options_from_style (s); return quotearg_n_options (n, arg, SIZE_MAX, &o); } char * quotearg_n_style_mem (int n, enum quoting_style s, char const *arg, size_t argsize) { struct quoting_options const o = quoting_options_from_style (s); return quotearg_n_options (n, arg, argsize, &o); } char * quotearg_style (enum quoting_style s, char const *arg) { return quotearg_n_style (0, s, arg); } char * quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize) { return quotearg_n_style_mem (0, s, arg, argsize); } char * quotearg_char_mem (char const *arg, size_t argsize, char ch) { struct quoting_options options; options = default_quoting_options; set_char_quoting (&options, ch, 1); return quotearg_n_options (0, arg, argsize, &options); } char * quotearg_char (char const *arg, char ch) { return quotearg_char_mem (arg, SIZE_MAX, ch); } char * quotearg_colon (char const *arg) { return quotearg_char (arg, ':'); } char * quotearg_colon_mem (char const *arg, size_t argsize) { return quotearg_char_mem (arg, argsize, ':'); } char * quotearg_n_style_colon (int n, enum quoting_style s, char const *arg) { struct quoting_options options; options = quoting_options_from_style (s); set_char_quoting (&options, ':', 1); return quotearg_n_options (n, arg, SIZE_MAX, &options); } char * quotearg_n_custom (int n, char const *left_quote, char const *right_quote, char const *arg) { return quotearg_n_custom_mem (n, left_quote, right_quote, arg, SIZE_MAX); } char * quotearg_n_custom_mem (int n, char const *left_quote, char const *right_quote, char const *arg, size_t argsize) { struct quoting_options o = default_quoting_options; set_custom_quoting (&o, left_quote, right_quote); return quotearg_n_options (n, arg, argsize, &o); } char * quotearg_custom (char const *left_quote, char const *right_quote, char const *arg) { return quotearg_n_custom (0, left_quote, right_quote, arg); } char * quotearg_custom_mem (char const *left_quote, char const *right_quote, char const *arg, size_t argsize) { return quotearg_n_custom_mem (0, left_quote, right_quote, arg, argsize); } /* The quoting option used by the functions of quote.h. */ struct quoting_options quote_quoting_options = { locale_quoting_style, 0, { 0 }, NULL, NULL }; char const * quote_n_mem (int n, char const *arg, size_t argsize) { return quotearg_n_options (n, arg, argsize, "e_quoting_options); } char const * quote_mem (char const *arg, size_t argsize) { return quote_n_mem (0, arg, argsize); } char const * quote_n (int n, char const *arg) { return quote_n_mem (n, arg, SIZE_MAX); } char const * quote (char const *arg) { return quote_n (0, arg); } /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/quotearg.h0000644000000000000000000004363714767401140011363 /* quotearg.h - quote arguments for output Copyright (C) 1998-2002, 2004, 2006, 2008-2025 Free Software Foundation, Inc. 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 . */ /* Written by Paul Eggert */ #ifndef QUOTEARG_H_ #define QUOTEARG_H_ 1 /* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */ #if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." #endif #include #ifdef __cplusplus extern "C" { #endif /* Basic quoting styles. For each style, an example is given on the input strings "simple", "\0 \t\n'\"\033?""?/\\", and "a:b", using quotearg_buffer, quotearg_mem, and quotearg_colon_mem with that style and the default flags and quoted characters. Note that the examples are shown here as valid C strings rather than what displays on a terminal (with "??/" as a trigraph for "\\"). */ enum quoting_style { /* Output names as-is (ls --quoting-style=literal). Can result in embedded null bytes if QA_ELIDE_NULL_BYTES is not in effect. quotearg_buffer: "simple", "\0 \t\n'\"\033??/\\", "a:b" quotearg: "simple", " \t\n'\"\033??/\\", "a:b" quotearg_colon: "simple", " \t\n'\"\033??/\\", "a:b" */ literal_quoting_style, /* Quote names for the shell if they contain shell metacharacters or would cause ambiguous output (ls --quoting-style=shell). Can result in embedded null bytes if QA_ELIDE_NULL_BYTES is not in effect. quotearg_buffer: "simple", "'\0 \t\n'\\''\"\033??/\\'", "a:b" quotearg: "simple", "' \t\n'\\''\"\033??/\\'", "a:b" quotearg_colon: "simple", "' \t\n'\\''\"\033??/\\'", "'a:b'" */ shell_quoting_style, /* Quote names for the shell, even if they would normally not require quoting (ls --quoting-style=shell-always). Can result in embedded null bytes if QA_ELIDE_NULL_BYTES is not in effect. Behaves like shell_quoting_style if QA_ELIDE_OUTER_QUOTES is in effect. quotearg_buffer: "'simple'", "'\0 \t\n'\\''\"\033??/\\'", "'a:b'" quotearg: "'simple'", "' \t\n'\\''\"\033??/\\'", "'a:b'" quotearg_colon: "'simple'", "' \t\n'\\''\"\033??/\\'", "'a:b'" */ shell_always_quoting_style, /* Quote names for the shell if they contain shell metacharacters or other problematic characters (ls --quoting-style=shell-escape). Non printable characters are quoted using the $'...' syntax , which originated in ksh93 and is widely supported by most shells, and proposed for inclusion in POSIX. quotearg_buffer: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\\'", "a:b" quotearg: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\\'", "a:b" quotearg_colon: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\\'", "'a:b'" */ shell_escape_quoting_style, /* Quote names for the shell even if they would normally not require quoting (ls --quoting-style=shell-escape). Non printable characters are quoted using the $'...' syntax , which originated in ksh93 and is widely supported by most shells, and proposed for inclusion in POSIX. Behaves like shell_escape_quoting_style if QA_ELIDE_OUTER_QUOTES is in effect. quotearg_buffer: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\'", "a:b" quotearg: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\'", "a:b" quotearg_colon: "simple", "''$'\\0'' '$'\\t\\n'\\''\"'$'\\033''??/\'", "'a:b'" */ shell_escape_always_quoting_style, /* Quote names as for a C language string (ls --quoting-style=c). Behaves like c_maybe_quoting_style if QA_ELIDE_OUTER_QUOTES is in effect. Split into consecutive strings if QA_SPLIT_TRIGRAPHS. quotearg_buffer: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg_colon: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a\\:b\"" */ c_quoting_style, /* Like c_quoting_style except omit the surrounding double-quote characters if no quoted characters are encountered. quotearg_buffer: "simple", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "a:b" quotearg: "simple", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "a:b" quotearg_colon: "simple", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" */ c_maybe_quoting_style, /* Like c_quoting_style except always omit the surrounding double-quote characters and ignore QA_SPLIT_TRIGRAPHS (ls --quoting-style=escape). quotearg_buffer: "simple", "\\0 \\t\\n'\"\\033??/\\\\", "a:b" quotearg: "simple", "\\0 \\t\\n'\"\\033??/\\\\", "a:b" quotearg_colon: "simple", "\\0 \\t\\n'\"\\033??/\\\\", "a\\:b" */ escape_quoting_style, /* Like clocale_quoting_style, but use single quotes in the default C locale or if the program does not use gettext (ls --quoting-style=locale). For UTF-8 locales, quote characters will use Unicode. LC_MESSAGES=C quotearg_buffer: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a:b'" quotearg: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a:b'" quotearg_colon: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a\\:b'" LC_MESSAGES=pt_PT.utf8 quotearg_buffer: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg_colon: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a\\:b\302\273" */ locale_quoting_style, /* Like c_quoting_style except use quotation marks appropriate for the locale and ignore QA_SPLIT_TRIGRAPHS (ls --quoting-style=clocale). LC_MESSAGES=C quotearg_buffer: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a:b\"" quotearg_colon: "\"simple\"", "\"\\0 \\t\\n'\\\"\\033??/\\\\\"", "\"a\\:b\"" LC_MESSAGES=pt_PT.utf8 quotearg_buffer: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a:b\302\273" quotearg_colon: "\302\253simple\302\273", "\302\253\\0 \\t\\n'\"\\033??/\\\\\302\253", "\302\253a\\:b\302\273" */ clocale_quoting_style, /* Like clocale_quoting_style except use the custom quotation marks set by set_custom_quoting. If custom quotation marks are not set, the behavior is undefined. left_quote = right_quote = "'" quotearg_buffer: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a:b'" quotearg: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a:b'" quotearg_colon: "'simple'", "'\\0 \\t\\n\\'\"\\033??/\\\\'", "'a\\:b'" left_quote = "(" and right_quote = ")" quotearg_buffer: "(simple)", "(\\0 \\t\\n'\"\\033??/\\\\)", "(a:b)" quotearg: "(simple)", "(\\0 \\t\\n'\"\\033??/\\\\)", "(a:b)" quotearg_colon: "(simple)", "(\\0 \\t\\n'\"\\033??/\\\\)", "(a\\:b)" left_quote = ":" and right_quote = " " quotearg_buffer: ":simple ", ":\\0\\ \\t\\n'\"\\033??/\\\\ ", ":a:b " quotearg: ":simple ", ":\\0\\ \\t\\n'\"\\033??/\\\\ ", ":a:b " quotearg_colon: ":simple ", ":\\0\\ \\t\\n'\"\\033??/\\\\ ", ":a\\:b " left_quote = "\"'" and right_quote = "'\"" Notice that this is treated as a single level of quotes or two levels where the outer quote need not be escaped within the inner quotes. For two levels where the outer quote must be escaped within the inner quotes, you must use separate quotearg invocations. quotearg_buffer: "\"'simple'\"", "\"'\\0 \\t\\n\\'\"\\033??/\\\\'\"", "\"'a:b'\"" quotearg: "\"'simple'\"", "\"'\\0 \\t\\n\\'\"\\033??/\\\\'\"", "\"'a:b'\"" quotearg_colon: "\"'simple'\"", "\"'\\0 \\t\\n\\'\"\\033??/\\\\'\"", "\"'a\\:b'\"" */ custom_quoting_style }; /* Flags for use in set_quoting_flags. */ enum quoting_flags { /* Always elide null bytes from styles that do not quote them, even when the length of the result is available to the caller. */ QA_ELIDE_NULL_BYTES = 0x01, /* Omit the surrounding quote characters if no escaped characters are encountered. Note that if no other character needs escaping, then neither does the escape character. *Attention!* This flag is unsupported in combination with the styles shell_escape_quoting_style and shell_escape_always_quoting_style (because in this situation it cannot handle strings that start with a non-printable character). */ QA_ELIDE_OUTER_QUOTES = 0x02, /* In the c_quoting_style and c_maybe_quoting_style, split ANSI trigraph sequences into concatenated strings (for example, "?""?/" rather than "??/", which could be confused with "\\"). */ QA_SPLIT_TRIGRAPHS = 0x04 }; /* For now, --quoting-style=literal is the default, but this may change. */ #ifndef DEFAULT_QUOTING_STYLE # define DEFAULT_QUOTING_STYLE literal_quoting_style #endif /* Names of quoting styles and their corresponding values. */ extern char const *const quoting_style_args[]; extern enum quoting_style const quoting_style_vals[]; struct quoting_options; /* The functions listed below set and use a hidden variable that contains the default quoting style options. */ /* Allocate a new set of quoting options, with contents initially identical to O if O is not null, or to the default if O is null. It is the caller's responsibility to free the result. */ struct quoting_options *clone_quoting_options (struct quoting_options *o) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; /* Get the value of O's quoting style. If O is null, use the default. */ enum quoting_style get_quoting_style (struct quoting_options const *o); /* In O (or in the default if O is null), set the value of the quoting style to S. */ void set_quoting_style (struct quoting_options *o, enum quoting_style s); /* In O (or in the default if O is null), set the value of the quoting options for character C to I. Return the old value. Currently, the only values defined for I are 0 (the default) and 1 (which means to quote the character even if it would not otherwise be quoted). C must never be a digit or a letter that has special meaning after a backslash (for example, "\t" for tab). */ int set_char_quoting (struct quoting_options *o, char c, int i); /* In O (or in the default if O is null), set the value of the quoting options flag to I, which can be a bitwise combination of enum quoting_flags, or 0 for default behavior. Return the old value. */ int set_quoting_flags (struct quoting_options *o, int i); /* In O (or in the default if O is null), set the value of the quoting style to custom_quoting_style, set the left quote to LEFT_QUOTE, and set the right quote to RIGHT_QUOTE. Each of LEFT_QUOTE and RIGHT_QUOTE must be null-terminated and can be the empty string. Because backslashes are used for escaping, it does not make sense for RIGHT_QUOTE to contain a backslash. RIGHT_QUOTE must not begin with a digit or a letter that has special meaning after a backslash (for example, "\t" for tab). */ void set_custom_quoting (struct quoting_options *o, char const *left_quote, char const *right_quote); /* Place into buffer BUFFER (of size BUFFERSIZE) a quoted version of argument ARG (of size ARGSIZE), using O to control quoting. If O is null, use the default. Terminate the output with a null character, and return the written size of the output, not counting the terminating null. If BUFFERSIZE is too small to store the output string, return the value that would have been returned had BUFFERSIZE been large enough. If ARGSIZE is -1, use the string length of the argument for ARGSIZE. On output, BUFFER might contain embedded null bytes if ARGSIZE was not -1, the style of O does not use backslash escapes, and the flags of O do not request elision of null bytes.*/ size_t quotearg_buffer (char *restrict buffer, size_t buffersize, char const *arg, size_t argsize, struct quoting_options const *o); /* Like quotearg_buffer, except return the result in a newly allocated buffer. It is the caller's responsibility to free the result. The result will not contain embedded null bytes. */ char *quotearg_alloc (char const *arg, size_t argsize, struct quoting_options const *o) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; /* Like quotearg_alloc, except that the length of the result, excluding the terminating null byte, is stored into SIZE if it is non-NULL. The result might contain embedded null bytes if ARGSIZE was not -1, SIZE was not NULL, the style of O does not use backslash escapes, and the flags of O do not request elision of null bytes.*/ char *quotearg_alloc_mem (char const *arg, size_t argsize, size_t *size, struct quoting_options const *o) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; /* Use storage slot N to return a quoted version of the string ARG. Use the default quoting options. The returned value points to static storage that can be reused by the next call to this function with the same value of N. N must be nonnegative. The output of all functions in the quotearg_n family are guaranteed to not contain embedded null bytes.*/ char *quotearg_n (int n, char const *arg); /* Equivalent to quotearg_n (0, ARG). */ char *quotearg (char const *arg); /* Use storage slot N to return a quoted version of the argument ARG of size ARGSIZE. This is like quotearg_n (N, ARG), except it can quote null bytes. */ char *quotearg_n_mem (int n, char const *arg, size_t argsize); /* Equivalent to quotearg_n_mem (0, ARG, ARGSIZE). */ char *quotearg_mem (char const *arg, size_t argsize); /* Use style S and storage slot N to return a quoted version of the string ARG. This is like quotearg_n (N, ARG), except that it uses S with no other options to specify the quoting method. */ char *quotearg_n_style (int n, enum quoting_style s, char const *arg); /* Use style S and storage slot N to return a quoted version of the argument ARG of size ARGSIZE. This is like quotearg_n_style (N, S, ARG), except it can quote null bytes. */ char *quotearg_n_style_mem (int n, enum quoting_style s, char const *arg, size_t argsize); /* Equivalent to quotearg_n_style (0, S, ARG). */ char *quotearg_style (enum quoting_style s, char const *arg); /* Equivalent to quotearg_n_style_mem (0, S, ARG, ARGSIZE). */ char *quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize); /* Like quotearg (ARG), except also quote any instances of CH. See set_char_quoting for a description of acceptable CH values. */ char *quotearg_char (char const *arg, char ch); /* Like quotearg_char (ARG, CH), except it can quote null bytes. */ char *quotearg_char_mem (char const *arg, size_t argsize, char ch); /* Equivalent to quotearg_char (ARG, ':'). */ char *quotearg_colon (char const *arg); /* Like quotearg_colon (ARG), except it can quote null bytes. */ char *quotearg_colon_mem (char const *arg, size_t argsize); /* Like quotearg_n_style, except with ':' quoting enabled. */ char *quotearg_n_style_colon (int n, enum quoting_style s, char const *arg); /* Like quotearg_n_style (N, S, ARG) but with S as custom_quoting_style with left quote as LEFT_QUOTE and right quote as RIGHT_QUOTE. See set_custom_quoting for a description of acceptable LEFT_QUOTE and RIGHT_QUOTE values. */ char *quotearg_n_custom (int n, char const *left_quote, char const *right_quote, char const *arg); /* Like quotearg_n_custom (N, LEFT_QUOTE, RIGHT_QUOTE, ARG) except it can quote null bytes. */ char *quotearg_n_custom_mem (int n, char const *left_quote, char const *right_quote, char const *arg, size_t argsize); /* Equivalent to quotearg_n_custom (0, LEFT_QUOTE, RIGHT_QUOTE, ARG). */ char *quotearg_custom (char const *left_quote, char const *right_quote, char const *arg); /* Equivalent to quotearg_n_custom_mem (0, LEFT_QUOTE, RIGHT_QUOTE, ARG, ARGSIZE). */ char *quotearg_custom_mem (char const *left_quote, char const *right_quote, char const *arg, size_t argsize); /* Free any dynamically allocated memory. */ void quotearg_free (void); #ifdef __cplusplus } #endif #endif /* !QUOTEARG_H_ */ datamash-1.9/lib/random.c0000644000000000000000000003126214767401140010776 /* Copyright (C) 1995-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* * This is derived from the Berkeley source: * @(#)random.c 5.5 (Berkeley) 7/6/88 * It was reworked for the GNU C Library by Roland McGrath. * Rewritten to use reentrant functions by Ulrich Drepper, 1995. */ /* Copyright (C) 1983 Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/ #ifndef _LIBC # include # define __srandom srandom # define __initstate initstate # define __setstate setstate # define __random random # define __srandom_r srandom_r # define __initstate_r initstate_r # define __setstate_r setstate_r # define __random_r random_r #endif /* Specification. */ #include #ifdef _LIBC # include #else # include "glthread/lock.h" # define __libc_lock_define_initialized gl_lock_define_initialized # define __libc_lock_lock gl_lock_lock # define __libc_lock_unlock gl_lock_unlock #endif /* An improved random number generation package. In addition to the standard rand()/srand() like interface, this package also has a special state info interface. The initstate() routine is called with a seed, an array of bytes, and a count of how many bytes are being passed in; this array is then initialized to contain information for random number generation with that much state information. Good sizes for the amount of state information are 32, 64, 128, and 256 bytes. The state can be switched by calling the setstate() function with the same array as was initialized with initstate(). By default, the package runs with 128 bytes of state information and generates far better random numbers than a linear congruential generator. If the amount of state information is less than 32 bytes, a simple linear congruential R.N.G. is used. Internally, the state information is treated as an array of longs; the zeroth element of the array is the type of R.N.G. being used (small integer); the remainder of the array is the state information for the R.N.G. Thus, 32 bytes of state information will give 7 longs worth of state information, which will allow a degree seven polynomial. (Note: The zeroth word of state information also has some other information stored in it; see setstate for details). The random number generation technique is a linear feedback shift register approach, employing trinomials (since there are fewer terms to sum up that way). In this approach, the least significant bit of all the numbers in the state table will act as a linear feedback shift register, and will have period 2^deg - 1 (where deg is the degree of the polynomial being used, assuming that the polynomial is irreducible and primitive). The higher order bits will have longer periods, since their values are also influenced by pseudo-random carries out of the lower bits. The total period of the generator is approximately deg*(2**deg - 1); thus doubling the amount of state information has a vast influence on the period of the generator. Note: The deg*(2**deg - 1) is an approximation only good for large deg, when the period of the shift register is the dominant factor. With deg equal to seven, the period is actually much longer than the 7*(2**7 - 1) predicted by this formula. */ /* For each of the currently supported random number generators, we have a break value on the amount of state information (you need at least this many bytes of state info to support this random number generator), a degree for the polynomial (actually a trinomial) that the R.N.G. is based on, and separation between the two lower order coefficients of the trinomial. */ /* Linear congruential. */ #define TYPE_0 0 #define BREAK_0 8 #define DEG_0 0 #define SEP_0 0 /* x**7 + x**3 + 1. */ #define TYPE_1 1 #define BREAK_1 32 #define DEG_1 7 #define SEP_1 3 /* x**15 + x + 1. */ #define TYPE_2 2 #define BREAK_2 64 #define DEG_2 15 #define SEP_2 1 /* x**31 + x**3 + 1. */ #define TYPE_3 3 #define BREAK_3 128 #define DEG_3 31 #define SEP_3 3 /* x**63 + x + 1. */ #define TYPE_4 4 #define BREAK_4 256 #define DEG_4 63 #define SEP_4 1 /* Array versions of the above information to make code run faster. Relies on fact that TYPE_i == i. */ #define MAX_TYPES 5 /* Max number of types above. */ /* Initially, everything is set up as if from: initstate(1, randtbl, 128); Note that this initialization takes advantage of the fact that srandom advances the front and rear pointers 10*rand_deg times, and hence the rear pointer which starts at 0 will also end up at zero; thus the zeroth element of the state information, which contains info about the current position of the rear pointer is just (MAX_TYPES * (rptr - state)) + TYPE_3 == TYPE_3. */ static int32_t randtbl[DEG_3 + 1] = { TYPE_3, -1726662223, 379960547, 1735697613, 1040273694, 1313901226, 1627687941, -179304937, -2073333483, 1780058412, -1989503057, -615974602, 344556628, 939512070, -1249116260, 1507946756, -812545463, 154635395, 1388815473, -1926676823, 525320961, -1009028674, 968117788, -123449607, 1284210865, 435012392, -2017506339, -911064859, -370259173, 1132637927, 1398500161, -205601318, }; static struct random_data unsafe_state = { /* FPTR and RPTR are two pointers into the state info, a front and a rear pointer. These two pointers are always rand_sep places apart, as they cycle through the state information. (Yes, this does mean we could get away with just one pointer, but the code for random is more efficient this way). The pointers are left positioned as they would be from the call: initstate(1, randtbl, 128); (The position of the rear pointer, rptr, is really 0 (as explained above in the initialization of randtbl) because the state table pointer is set to point to randtbl[1] (as explained below).) */ .fptr = &randtbl[SEP_3 + 1], .rptr = &randtbl[1], /* The following things are the pointer to the state information table, the type of the current generator, the degree of the current polynomial being used, and the separation between the two pointers. Note that for efficiency of random, we remember the first location of the state information, not the zeroth. Hence it is valid to access state[-1], which is used to store the type of the R.N.G. Also, we remember the last location, since this is more efficient than indexing every time to find the address of the last element to see if the front and rear pointers have wrapped. */ .state = &randtbl[1], .rand_type = TYPE_3, .rand_deg = DEG_3, .rand_sep = SEP_3, .end_ptr = &randtbl[sizeof (randtbl) / sizeof (randtbl[0])] }; /* POSIX.1c requires that there is mutual exclusion for the 'rand' and 'srand' functions to prevent concurrent calls from modifying common data. */ __libc_lock_define_initialized (static, lock) /* Initialize the random number generator based on the given seed. If the type is the trivial no-state-information type, just remember the seed. Otherwise, initializes state[] based on the given "seed" via a linear congruential generator. Then, the pointers are set to known locations that are exactly rand_sep places apart. Lastly, it cycles the state information a given number of times to get rid of any initial dependencies introduced by the L.C.R.N.G. Note that the initialization of randtbl[] for default usage relies on values produced by this routine. */ void __srandom (unsigned int x) { __libc_lock_lock (lock); (void) __srandom_r (x, &unsafe_state); __libc_lock_unlock (lock); } weak_alias (__srandom, srandom) weak_alias (__srandom, srand) /* Initialize the state information in the given array of N bytes for future random number generation. Based on the number of bytes we are given, and the break values for the different R.N.G.'s, we choose the best (largest) one we can and set things up for it. srandom is then called to initialize the state information. Note that on return from srandom, we set state[-1] to be the type multiplexed with the current value of the rear pointer; this is so successive calls to initstate won't lose this information and will be able to restart with setstate. Note: The first thing we do is save the current state, if any, just like setstate so that it doesn't matter when initstate is called. Returns a pointer to the old state. */ char * __initstate (unsigned int seed, char *arg_state, size_t n) { int32_t *ostate; int ret; __libc_lock_lock (lock); ostate = &unsafe_state.state[-1]; ret = __initstate_r (seed, arg_state, n, &unsafe_state); __libc_lock_unlock (lock); return ret == -1 ? NULL : (char *) ostate; } weak_alias (__initstate, initstate) /* Restore the state from the given state array. Note: It is important that we also remember the locations of the pointers in the current state information, and restore the locations of the pointers from the old state information. This is done by multiplexing the pointer location into the zeroth word of the state information. Note that due to the order in which things are done, it is OK to call setstate with the same state as the current state Returns a pointer to the old state information. */ char * __setstate (char *arg_state) { int32_t *ostate; __libc_lock_lock (lock); ostate = &unsafe_state.state[-1]; if (__setstate_r (arg_state, &unsafe_state) < 0) ostate = NULL; __libc_lock_unlock (lock); return (char *) ostate; } weak_alias (__setstate, setstate) /* If we are using the trivial TYPE_0 R.N.G., just do the old linear congruential bit. Otherwise, we do our fancy trinomial stuff, which is the same in all the other cases due to all the global variables that have been set up. The basic operation is to add the number at the rear pointer into the one at the front pointer. Then both pointers are advanced to the next location cyclically in the table. The value returned is the sum generated, reduced to 31 bits by throwing away the "least random" low bit. Note: The code takes advantage of the fact that both the front and rear pointers can't wrap on the same call by not testing the rear pointer if the front one has wrapped. Returns a 31-bit random number. */ long int __random (void) { int32_t retval; __libc_lock_lock (lock); (void) __random_r (&unsafe_state, &retval); __libc_lock_unlock (lock); return retval; } weak_alias (__random, random) datamash-1.9/lib/random_r.c0000644000000000000000000003365714767401140011331 /* Copyright (C) 1995-2025 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ /* Copyright (C) 1983 Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/ /* * This is derived from the Berkeley source: * @(#)random.c 5.5 (Berkeley) 7/6/88 * It was reworked for the GNU C Library by Roland McGrath. * Rewritten to be reentrant by Ulrich Drepper, 1995 */ #ifndef _LIBC /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc optimizes away the buf == NULL, arg_state == NULL, result == NULL tests below. */ # define _GL_ARG_NONNULL(params) # include # define __srandom_r srandom_r # define __initstate_r initstate_r # define __setstate_r setstate_r # define __random_r random_r #endif /* Specification. */ #include #include #include #include /* An improved random number generation package. In addition to the standard rand()/srand() like interface, this package also has a special state info interface. The initstate() routine is called with a seed, an array of bytes, and a count of how many bytes are being passed in; this array is then initialized to contain information for random number generation with that much state information. Good sizes for the amount of state information are 32, 64, 128, and 256 bytes. The state can be switched by calling the setstate() function with the same array as was initialized with initstate(). By default, the package runs with 128 bytes of state information and generates far better random numbers than a linear congruential generator. If the amount of state information is less than 32 bytes, a simple linear congruential R.N.G. is used. Internally, the state information is treated as an array of longs; the zeroth element of the array is the type of R.N.G. being used (small integer); the remainder of the array is the state information for the R.N.G. Thus, 32 bytes of state information will give 7 longs worth of state information, which will allow a degree seven polynomial. (Note: The zeroth word of state information also has some other information stored in it; see setstate for details). The random number generation technique is a linear feedback shift register approach, employing trinomials (since there are fewer terms to sum up that way). In this approach, the least significant bit of all the numbers in the state table will act as a linear feedback shift register, and will have period 2^deg - 1 (where deg is the degree of the polynomial being used, assuming that the polynomial is irreducible and primitive). The higher order bits will have longer periods, since their values are also influenced by pseudo-random carries out of the lower bits. The total period of the generator is approximately deg*(2**deg - 1); thus doubling the amount of state information has a vast influence on the period of the generator. Note: The deg*(2**deg - 1) is an approximation only good for large deg, when the period of the shift register is the dominant factor. With deg equal to seven, the period is actually much longer than the 7*(2**7 - 1) predicted by this formula. */ /* For each of the currently supported random number generators, we have a break value on the amount of state information (you need at least this many bytes of state info to support this random number generator), a degree for the polynomial (actually a trinomial) that the R.N.G. is based on, and separation between the two lower order coefficients of the trinomial. */ /* Linear congruential. */ #define TYPE_0 0 #define BREAK_0 8 #define DEG_0 0 #define SEP_0 0 /* x**7 + x**3 + 1. */ #define TYPE_1 1 #define BREAK_1 32 #define DEG_1 7 #define SEP_1 3 /* x**15 + x + 1. */ #define TYPE_2 2 #define BREAK_2 64 #define DEG_2 15 #define SEP_2 1 /* x**31 + x**3 + 1. */ #define TYPE_3 3 #define BREAK_3 128 #define DEG_3 31 #define SEP_3 3 /* x**63 + x + 1. */ #define TYPE_4 4 #define BREAK_4 256 #define DEG_4 63 #define SEP_4 1 /* Array versions of the above information to make code run faster. Relies on fact that TYPE_i == i. */ #define MAX_TYPES 5 /* Max number of types above. */ struct random_poly_info { int seps[MAX_TYPES]; int degrees[MAX_TYPES]; }; static const struct random_poly_info random_poly_info = { { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 }, { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 } }; static int32_t get_int32 (void *p) { int32_t v; memcpy (&v, p, sizeof v); return v; } static void set_int32 (void *p, int32_t v) { memcpy (p, &v, sizeof v); } /* Initialize the random number generator based on the given seed. If the type is the trivial no-state-information type, just remember the seed. Otherwise, initializes state[] based on the given "seed" via a linear congruential generator. Then, the pointers are set to known locations that are exactly rand_sep places apart. Lastly, it cycles the state information a given number of times to get rid of any initial dependencies introduced by the L.C.R.N.G. Note that the initialization of randtbl[] for default usage relies on values produced by this routine. */ int __srandom_r (unsigned int seed, struct random_data *buf) { int type; int32_t *state; long int i; int32_t word; int32_t *dst; int kc; if (buf == NULL) goto fail; type = buf->rand_type; if ((unsigned int) type >= MAX_TYPES) goto fail; state = buf->state; /* We must make sure the seed is not 0. Take arbitrarily 1 in this case. */ if (seed == 0) seed = 1; set_int32 (&state[0], seed); if (type == TYPE_0) goto done; dst = state; word = seed; kc = buf->rand_deg; for (i = 1; i < kc; ++i) { /* This does: state[i] = (16807 * state[i - 1]) % 2147483647; but avoids overflowing 31 bits. */ long int hi = word / 127773; long int lo = word % 127773; word = 16807 * lo - 2836 * hi; if (word < 0) word += 2147483647; set_int32 (++dst, word); } buf->fptr = &state[buf->rand_sep]; buf->rptr = &state[0]; kc *= 10; while (--kc >= 0) { int32_t discard; (void) __random_r (buf, &discard); } done: return 0; fail: return -1; } weak_alias (__srandom_r, srandom_r) /* Initialize the state information in the given array of N bytes for future random number generation. Based on the number of bytes we are given, and the break values for the different R.N.G.'s, we choose the best (largest) one we can and set things up for it. srandom is then called to initialize the state information. Note that on return from srandom, we set state[-1] to be the type multiplexed with the current value of the rear pointer; this is so successive calls to initstate won't lose this information and will be able to restart with setstate. Note: The first thing we do is save the current state, if any, just like setstate so that it doesn't matter when initstate is called. Returns 0 on success, non-zero on failure. */ int __initstate_r (unsigned int seed, char *arg_state, size_t n, struct random_data *buf) { if (buf == NULL) goto fail; int32_t *old_state = buf->state; if (old_state != NULL) { int old_type = buf->rand_type; set_int32 (&old_state[-1], (old_type == TYPE_0 ? TYPE_0 : (MAX_TYPES * (buf->rptr - old_state)) + old_type)); } int type; if (n >= BREAK_3) type = n < BREAK_4 ? TYPE_3 : TYPE_4; else if (n < BREAK_1) { if (n < BREAK_0) goto fail; type = TYPE_0; } else type = n < BREAK_2 ? TYPE_1 : TYPE_2; int degree = random_poly_info.degrees[type]; int separation = random_poly_info.seps[type]; buf->rand_type = type; buf->rand_sep = separation; buf->rand_deg = degree; int32_t *state = &((int32_t *) arg_state)[1]; /* First location. */ /* Must set END_PTR before srandom. */ buf->end_ptr = &state[degree]; buf->state = state; __srandom_r (seed, buf); set_int32 (&state[-1], type == TYPE_0 ? TYPE_0 : (buf->rptr - state) * MAX_TYPES + type); return 0; fail: __set_errno (EINVAL); return -1; } weak_alias (__initstate_r, initstate_r) /* Restore the state from the given state array. Note: It is important that we also remember the locations of the pointers in the current state information, and restore the locations of the pointers from the old state information. This is done by multiplexing the pointer location into the zeroth word of the state information. Note that due to the order in which things are done, it is OK to call setstate with the same state as the current state Returns 0 on success, non-zero on failure. */ int __setstate_r (char *arg_state, struct random_data *buf) { int32_t *new_state = 1 + (int32_t *) arg_state; int type; int old_type; int32_t *old_state; int degree; int separation; if (arg_state == NULL || buf == NULL) goto fail; old_type = buf->rand_type; old_state = buf->state; set_int32 (&old_state[-1], (old_type == TYPE_0 ? TYPE_0 : (MAX_TYPES * (buf->rptr - old_state)) + old_type)); type = get_int32 (&new_state[-1]) % MAX_TYPES; if (type < TYPE_0 || type > TYPE_4) goto fail; buf->rand_deg = degree = random_poly_info.degrees[type]; buf->rand_sep = separation = random_poly_info.seps[type]; buf->rand_type = type; if (type != TYPE_0) { int rear = get_int32 (&new_state[-1]) / MAX_TYPES; buf->rptr = &new_state[rear]; buf->fptr = &new_state[(rear + separation) % degree]; } buf->state = new_state; /* Set end_ptr too. */ buf->end_ptr = &new_state[degree]; return 0; fail: __set_errno (EINVAL); return -1; } weak_alias (__setstate_r, setstate_r) /* If we are using the trivial TYPE_0 R.N.G., just do the old linear congruential bit. Otherwise, we do our fancy trinomial stuff, which is the same in all the other cases due to all the global variables that have been set up. The basic operation is to add the number at the rear pointer into the one at the front pointer. Then both pointers are advanced to the next location cyclically in the table. The value returned is the sum generated, reduced to 31 bits by throwing away the "least random" low bit. Note: The code takes advantage of the fact that both the front and rear pointers can't wrap on the same call by not testing the rear pointer if the front one has wrapped. Returns a 31-bit random number. */ int __random_r (struct random_data *buf, int32_t *result) { int32_t *state; if (buf == NULL || result == NULL) goto fail; state = buf->state; if (buf->rand_type == TYPE_0) { int32_t val = (((get_int32 (&state[0]) * 1103515245U) + 12345U) & 0x7fffffff); set_int32 (&state[0], val); *result = val; } else { int32_t *fptr = buf->fptr; int32_t *rptr = buf->rptr; int32_t *end_ptr = buf->end_ptr; /* F and R are unsigned int, not uint32_t, to avoid undefined overflow behavior on platforms where INT_MAX == UINT32_MAX. */ unsigned int f = get_int32 (fptr); unsigned int r = get_int32 (rptr); uint32_t val = f + r; set_int32 (fptr, val); /* Chucking least random bit. */ *result = val >> 1; ++fptr; if (fptr >= end_ptr) { fptr = state; ++rptr; } else { ++rptr; if (rptr >= end_ptr) rptr = state; } buf->fptr = fptr; buf->rptr = rptr; } return 0; fail: __set_errno (EINVAL); return -1; } weak_alias (__random_r, random_r) datamash-1.9/lib/realloc.c0000644000000000000000000000675714767401140011152 /* realloc() function that is glibc compatible. Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Jim Meyering and Bruno Haible */ /* Ensure that we call the system's realloc() below. */ #define _GL_USE_STDLIB_ALLOC 1 #include #define _GL_REALLOC_INLINE _GL_EXTERN_INLINE #include #include #include #ifdef __CHERI_PURE_CAPABILITY__ # include #endif #ifndef _GL_INLINE_RPL_REALLOC /* Change the size of an allocated block of memory P to N bytes, with error checking. If P is NULL, use malloc. Otherwise if N is zero, free P and return NULL. */ void * rpl_realloc (void *p, size_t n) { size_t n1 = n; if (n == 0) { # if NEED_SANITIZED_REALLOC /* When P is non-null, ISO C23 §7.24.3.7.(3) says realloc (P, 0) has undefined behavior even though C17 and earlier partially defined the behavior. Let the programmer know. When the undefined-behaviour sanitizers report this case, i.e. when and have been closed and new releases of GCC and clang have been made, we can revisit this code. */ if (p != NULL) abort (); # endif /* realloc (NULL, 0) acts like glibc malloc (0), i.e., like malloc (1) except the caller cannot dereference any non-null return. realloc (P, 0) with non-null P is a messier situation. As mentioned above, C23 says behavior is undefined. POSIX.1-2024 extends C17 to say realloc (P, 0) either fails by setting errno and returning a null pointer, or succeeds by freeing P and then either: (a) setting errno=EINVAL and returning a null pointer; or (b) acting like a successful malloc (0). glibc 1 through 2.1 realloc acted like (b), which conforms to C17, to C23 and to POSIX.1-2024. glibc 2.1.1+ realloc acts like (a) except it does not set errno; this conforms to C17 and to C23 but not to POSIX.1-2024. Quite possibly future versions of POSIX will change, due either to C23 or to (a)'s semantics being messy. Act like (b), as that's easy, matches GNU, BSD and V7 malloc, matches BSD and V7 realloc, and requires no extra code at caller sites. */ # if !HAVE_REALLOC_0_NONNULL n1 = 1; # endif } # if !HAVE_MALLOC_PTRDIFF ptrdiff_t signed_n; if (ckd_add (&signed_n, n, 0)) { errno = ENOMEM; return NULL; } # endif void *result = realloc (p, n1); # if !HAVE_MALLOC_POSIX if (result == NULL) errno = ENOMEM; # endif # ifdef __CHERI_PURE_CAPABILITY__ if (result != NULL) result = cheri_bounds_set (result, n); # endif return result; } #endif datamash-1.9/lib/reallocarray.c0000644000000000000000000000220214767401140012166 /* reallocarray function that is glibc compatible. Copyright (C) 2017-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* written by Darshit Shah */ #include #include #include #include void * reallocarray (void *ptr, size_t nmemb, size_t size) { size_t nbytes; if (ckd_mul (&nbytes, nmemb, size)) { errno = ENOMEM; return NULL; } /* Call realloc, setting errno to ENOMEM on failure. */ return realloc (ptr, nbytes); } datamash-1.9/lib/round.c0000644000000000000000000001230714767401140010644 /* Round toward nearest, breaking ties away from zero. Copyright (C) 2007, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Ben Pfaff , 2007. Based heavily on code by Bruno Haible. */ #if ! defined USE_LONG_DOUBLE # include #endif /* Specification. */ #include #include #undef MIN #ifdef USE_LONG_DOUBLE # define ROUND roundl # define FLOOR floorl # define CEIL ceill # define DOUBLE long double # define MANT_DIG LDBL_MANT_DIG # define MIN LDBL_MIN # define L_(literal) literal##L # define HAVE_FLOOR_AND_CEIL HAVE_FLOORL_AND_CEILL #elif ! defined USE_FLOAT # define ROUND round # define FLOOR floor # define CEIL ceil # define DOUBLE double # define MANT_DIG DBL_MANT_DIG # define MIN DBL_MIN # define L_(literal) literal # define HAVE_FLOOR_AND_CEIL 1 #else /* defined USE_FLOAT */ # define ROUND roundf # define FLOOR floorf # define CEIL ceilf # define DOUBLE float # define MANT_DIG FLT_MANT_DIG # define MIN FLT_MIN # define L_(literal) literal##f # define HAVE_FLOOR_AND_CEIL HAVE_FLOORF_AND_CEILF #endif /* -0.0. See minus-zero.h. */ #if defined __hpux || defined __sgi || defined __ICC # define MINUS_ZERO (-MIN * MIN) #else # define MINUS_ZERO L_(-0.0) #endif /* MSVC with option -fp:strict refuses to compile constant initializers that contain floating-point operations. Pacify this compiler. */ #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif /* If we're being included from test-round2[f].c, it already defined names for our round implementations. Otherwise, pick the preferred implementation for this machine. */ #if !defined FLOOR_BASED_ROUND && !defined FLOOR_FREE_ROUND # if HAVE_FLOOR_AND_CEIL # define FLOOR_BASED_ROUND ROUND # else # define FLOOR_FREE_ROUND ROUND # endif #endif #ifdef FLOOR_BASED_ROUND /* An implementation of the C99 round function based on floor and ceil. We use this when floor and ceil are available, on the assumption that they are faster than the open-coded versions below. */ DOUBLE FLOOR_BASED_ROUND (DOUBLE x) { if (x >= L_(0.0)) { DOUBLE y = FLOOR (x); if (x - y >= L_(0.5)) y += L_(1.0); return y; } else { DOUBLE y = CEIL (x); if (y - x >= L_(0.5)) y -= L_(1.0); return y; } } #endif /* FLOOR_BASED_ROUND */ #ifdef FLOOR_FREE_ROUND /* An implementation of the C99 round function without floor or ceil. We use this when floor or ceil is missing. */ DOUBLE FLOOR_FREE_ROUND (DOUBLE x) { /* 2^(MANT_DIG-1). */ static const DOUBLE TWO_MANT_DIG = /* Assume MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (DOUBLE) (1U << ((MANT_DIG - 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 2) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 3) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 4) / 5)); /* The use of 'volatile' guarantees that excess precision bits are dropped at each addition step and before the following comparison at the caller's site. It is necessary on x86 systems where double-floats are not IEEE compliant by default, to avoid that the results become platform and compiler option dependent. 'volatile' is a portable alternative to gcc's -ffloat-store option. */ volatile DOUBLE y = x; volatile DOUBLE z = y; if (z > L_(0.0)) { /* Avoid rounding error for x = 0.5 - 2^(-MANT_DIG-1). */ if (z < L_(0.5)) z = L_(0.0); /* Avoid rounding errors for values near 2^k, where k >= MANT_DIG-1. */ else if (z < TWO_MANT_DIG) { /* Add 0.5 to the absolute value. */ y = z += L_(0.5); /* Round to the next integer (nearest or up or down, doesn't matter). */ z += TWO_MANT_DIG; z -= TWO_MANT_DIG; /* Enforce rounding down. */ if (z > y) z -= L_(1.0); } } else if (z < L_(0.0)) { /* Avoid rounding error for x = -(0.5 - 2^(-MANT_DIG-1)). */ if (z > - L_(0.5)) z = MINUS_ZERO; /* Avoid rounding errors for values near -2^k, where k >= MANT_DIG-1. */ else if (z > -TWO_MANT_DIG) { /* Add 0.5 to the absolute value. */ y = z -= L_(0.5); /* Round to the next integer (nearest or up or down, doesn't matter). */ z -= TWO_MANT_DIG; z += TWO_MANT_DIG; /* Enforce rounding up. */ if (z < y) z += L_(1.0); } } return z; } #endif /* FLOOR_FREE_ROUND */ datamash-1.9/lib/roundl.c0000644000000000000000000000175314767401140011023 /* Round toward nearest, breaking ties away from zero. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Specification. */ # include long double roundl (long double x) { return round (x); } #else # define USE_LONG_DOUBLE # include "round.c" #endif datamash-1.9/lib/sched.in.h0000644000000000000000000000600214767401140011210 /* A GNU-like . Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_SCHED_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* This file uses #include_next of a system file that defines time_t. For the 'year2038' module to work right, needs to have been included before. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SCHED_H@ # if @HAVE_SYS_CDEFS_H@ # include # endif # @INCLUDE_NEXT@ @NEXT_SCHED_H@ #endif #ifndef _@GUARD_PREFIX@_SCHED_H #define _@GUARD_PREFIX@_SCHED_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get pid_t. This is needed on glibc 2.11 (see glibc bug ) and Mac OS X 10.5. */ #include #ifdef __KLIBC__ /* On OS/2 kLIBC, struct sched_param is in spawn.h. */ # include #endif #ifdef __VMS /* On OpenVMS, struct sched_param is in . */ # include #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_STRUCT_SCHED_PARAM@ # if !GNULIB_defined_struct_sched_param struct sched_param { int sched_priority; }; # define GNULIB_defined_struct_sched_param 1 # endif #endif #if !(defined SCHED_FIFO && defined SCHED_RR && defined SCHED_OTHER) # define SCHED_FIFO 1 # define SCHED_RR 2 # define SCHED_OTHER 0 #endif #if @GNULIB_SCHED_YIELD@ # if @REPLACE_SCHED_YIELD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sched_yield # define sched_yield rpl_sched_yield # endif _GL_FUNCDECL_RPL (sched_yield, int, (void), ); _GL_CXXALIAS_RPL (sched_yield, int, (void)); # else # if !@HAVE_SCHED_YIELD@ _GL_FUNCDECL_SYS (sched_yield, int, (void), ); # endif _GL_CXXALIAS_SYS (sched_yield, int, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (sched_yield); # endif #elif defined GNULIB_POSIXCHECK # undef sched_yield # if HAVE_RAW_DECL_SCHED_YIELD _GL_WARN_ON_USE (sched_yield, "sched_yield is not portable - " "use gnulib module sched_yield for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SCHED_H */ #endif /* _@GUARD_PREFIX@_SCHED_H */ datamash-1.9/lib/setlocale-fixes.c0000644000000000000000000001575414771573665012636 /* Make the global locale minimally POSIX compliant. Copyright (C) 2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "setlocale-fixes.h" #if defined _WIN32 && !defined __CYGWIN__ # include # include /* The system does not store an LC_MESSAGES locale category. Do it here. */ static char lc_messages_name[64] = "C"; const char * setlocale_messages (const char *name) { if (name != NULL) { lc_messages_name[sizeof (lc_messages_name) - 1] = '\0'; strncpy (lc_messages_name, name, sizeof (lc_messages_name) - 1); } return lc_messages_name; } const char * setlocale_messages_null (void) { /* This implementation is multithread-safe, assuming no other thread changes the LC_MESSAGES locale category. */ return lc_messages_name; } #endif #if defined __ANDROID__ # include # include # include # include /* Use the system's setlocale() function, not the gnulib override, here. */ # undef setlocale /* Storage for the name of each category of the global locale. Regarding the size, cf. SETLOCALE_NULL_MAX. */ static char lc_cat_name[12][256+1] = { "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C", "C" }; /* Mapping from the valid categories to the indices 0..12-1. */ #define cat_to_index(cat) ((cat) - ((cat) >= LC_ALL)) /* Mapping from the indicess 0..12-1 to the valid categories. */ #define index_to_cat(i) ((i) + ((i) >= LC_ALL)) /* Storage for the name of the entire global locale. For mixed locales, use the syntax from glibc: LC_CTYPE=...;LC_NUMERIC=...;......;LC_IDENTIFICATION=... Regarding the size, cf. SETLOCALE_NULL_ALL_MAX. */ static char lc_all_name[148+12*256+1]; /* Category names. */ static const char cat_names[12][17+1] = { [cat_to_index (LC_CTYPE)] = "LC_CTYPE", [cat_to_index (LC_NUMERIC)] = "LC_NUMERIC", [cat_to_index (LC_TIME)] = "LC_TIME", [cat_to_index (LC_COLLATE)] = "LC_COLLATE", [cat_to_index (LC_MONETARY)] = "LC_MONETARY", [cat_to_index (LC_MESSAGES)] = "LC_MESSAGES", [cat_to_index (LC_PAPER)] = "LC_PAPER", [cat_to_index (LC_NAME)] = "LC_NAME", [cat_to_index (LC_ADDRESS)] = "LC_ADDRESS", [cat_to_index (LC_TELEPHONE)] = "LC_TELEPHONE", [cat_to_index (LC_MEASUREMENT)] = "LC_MEASUREMENT", [cat_to_index (LC_IDENTIFICATION)] = "LC_IDENTIFICATION", }; /* Combines the contents of all lc_cat_name[], filling lc_all_name. */ static void fill_lc_all_name (void) { bool all_same = true; for (size_t i = 1; i < 12; i++) if (strcmp (lc_cat_name[i], lc_cat_name[0]) != 0) { all_same = false; break; } if (all_same) /* Produce a simple locale name. */ strcpy (lc_all_name, lc_cat_name[0]); else { /* Produce a mixed locale name. */ size_t i; char *q; for (i = 0, q = lc_all_name; i < 12; i++) { const char *p = cat_names[i]; size_t n = strlen (p); memcpy (q, p, n); q += n; *q++ = '='; p = lc_cat_name[i]; n = strlen (p); memcpy (q, p, n); q += n; *q++ = ';'; } *--q = '\0'; } } /* Extracts the name of a single category from NAME and stores it in SINGLE_NAME. CATEGORY must be a valid category name != LC_ALL. This is basically the opposite of fill_lc_all_name. */ static int extract_single_name (char single_name[256+1], int category, const char *name) { if (strchr (name, ';') != NULL) { /* A mixed locale name. */ const char *cat_name = cat_names[cat_to_index (category)]; size_t cat_name_len = strlen (cat_name); const char *p = name; for (;;) { const char *q = strchr (p, ';'); if (strncmp (p, cat_name, cat_name_len) == 0 && p[cat_name_len] == '=') { p += cat_name_len + 1; size_t n = (q == NULL ? strlen (p) : q - p); if (n >= 256+1) n = 256; memcpy (single_name, p, n); single_name[n] = '\0'; return 0; } if (q == NULL) break; p = q + 1; } return -1; } else { /* A simple locale name. */ size_t n = strlen (name); if (n >= 256+1) n = 256; memcpy (single_name, name, n); single_name[n] = '\0'; return 0; } } const char * setlocale_fixed (int category, const char *name) { if (category == LC_ALL) { if (name != NULL) { char single_name[256+1]; int i; /* Test whether NAME is valid. */ for (i = 12-1; i >= 0; i--) if (extract_single_name (single_name, index_to_cat (i), name) < 0) return NULL; /* Now single_name contains the one for the index 0, i.e. for LC_CTYPE. */ if (setlocale (LC_CTYPE, single_name) == NULL) return NULL; /* Fill lc_cat_name[]. */ for (i = 12-1; i >= 0; i--) { if (extract_single_name (single_name, index_to_cat (i), name) < 0) abort (); strcpy (lc_cat_name[i], single_name); } /* Update lc_all_name. */ fill_lc_all_name (); } return lc_all_name; } if (category >= LC_CTYPE && category <= LC_IDENTIFICATION) { if (name != NULL) { char single_name[256+1]; /* Test whether NAME is valid. */ if (extract_single_name (single_name, category, name) < 0) return NULL; if (category == LC_CTYPE) if (setlocale (category, single_name) == NULL) return NULL; /* Fill lc_cat_name[]. */ strcpy (lc_cat_name[cat_to_index (category)], single_name); /* Update lc_all_name. */ fill_lc_all_name (); } return lc_cat_name[cat_to_index (category)]; } return NULL; } const char * setlocale_fixed_null (int category) { /* This implementation is multithread-safe, assuming no other thread changes any locale category. */ if (category == LC_ALL) return lc_all_name; if (category >= LC_CTYPE && category <= LC_IDENTIFICATION) return lc_cat_name[cat_to_index (category)]; return NULL; } #endif datamash-1.9/lib/setlocale-fixes.h0000644000000000000000000000414714771573665012635 /* Make the global locale minimally POSIX compliant. Copyright (C) 2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2025. */ #ifndef _SETLOCALE_FIXES_H #define _SETLOCALE_FIXES_H #ifdef __cplusplus extern "C" { #endif #if defined _WIN32 && !defined __CYGWIN__ /* This section is only relevant on platforms that lack LC_MESSAGES, namely native Windows. */ /* setlocale_messages (NAME) is like setlocale (LC_MESSAGES, NAME). */ extern const char *setlocale_messages (const char *name); /* setlocale_messages_null () is like setlocale (LC_MESSAGES, NULL), except that it is guaranteed to be multithread-safe. */ extern const char *setlocale_messages_null (void); #endif #if defined __ANDROID__ /* This section is only relevant on Android. While OpenBSD ≥ 6.2 and Android API level >= 21 have a fake locale_t type, regarding the global locale, OpenBSD at least stores the name of each category of the global locale. Android doesn't do this, and additionally has a bug: setting any category != LC_CTYPE of the global locale affects the LC_CTYPE category as well. */ /* Like setlocale (CATEGORY, NAME), but fixes these two Android bugs. */ extern const char *setlocale_fixed (int category, const char *name); /* Like setlocale_null (CATEGORY), but consistent with setlocale_fixed. */ extern const char *setlocale_fixed_null (int category); #endif #ifdef __cplusplus } #endif #endif /* _SETLOCALE_FIXES_H */ datamash-1.9/lib/setlocale-lock.c0000644000000000000000000001070114767401140012412 /* Return the internal lock used by setlocale_null_r. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ #include /* The option '--disable-threads' explicitly requests no locking. */ /* When it is known that the gl_get_setlocale_null_lock function is defined by a dependency library, it should not be defined here. */ #if AVOID_ANY_THREADS || OMIT_SETLOCALE_LOCK /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #else /* This file defines the internal lock used by setlocale_null_r. It is a separate compilation unit, so that only one copy of it is present when linking statically. */ /* Prohibit renaming this symbol. */ # undef gl_get_setlocale_null_lock /* Macro for exporting a symbol (function, not variable) defined in this file, when compiled into a shared library. */ # ifndef SHLIB_EXPORTED # if HAVE_VISIBILITY /* Override the effect of the compiler option '-fvisibility=hidden'. */ # define SHLIB_EXPORTED __attribute__((__visibility__("default"))) # elif defined _WIN32 || defined __CYGWIN__ # define SHLIB_EXPORTED __declspec(dllexport) # else # define SHLIB_EXPORTED # endif # endif # if defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # include "windows-initguard.h" /* The return type is a 'CRITICAL_SECTION *', not a 'glwthread_mutex_t *', because the latter is not guaranteed to be a stable ABI in the future. */ /* Make sure the function gets exported from DLLs. */ SHLIB_EXPORTED CRITICAL_SECTION *gl_get_setlocale_null_lock (void); static glwthread_initguard_t guard = GLWTHREAD_INITGUARD_INIT; static CRITICAL_SECTION lock; /* Returns the internal lock used by setlocale_null_r. */ CRITICAL_SECTION * gl_get_setlocale_null_lock (void) { if (!guard.done) { if (InterlockedIncrement (&guard.started) == 0) { /* This thread is the first one to need the lock. Initialize it. */ InitializeCriticalSection (&lock); guard.done = 1; } else { /* Don't let guard.started grow and wrap around. */ InterlockedDecrement (&guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!guard.done) Sleep (0); } } return &lock; } # elif HAVE_PTHREAD_API # include static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; /* Make sure the function gets exported from shared libraries. */ SHLIB_EXPORTED pthread_mutex_t *gl_get_setlocale_null_lock (void); /* Returns the internal lock used by setlocale_null_r. */ pthread_mutex_t * gl_get_setlocale_null_lock (void) { return &mutex; } # elif HAVE_THREADS_H # include # include static int volatile init_needed = 1; static once_flag init_once = ONCE_FLAG_INIT; static mtx_t mutex; static void atomic_init (void) { if (mtx_init (&mutex, mtx_plain) != thrd_success) abort (); init_needed = 0; } /* Make sure the function gets exported from shared libraries. */ SHLIB_EXPORTED mtx_t *gl_get_setlocale_null_lock (void); /* Returns the internal lock used by setlocale_null_r. */ mtx_t * gl_get_setlocale_null_lock (void) { if (init_needed) call_once (&init_once, atomic_init); return &mutex; } # endif # if (defined _WIN32 || defined __CYGWIN__) && !defined _MSC_VER /* Make sure the '__declspec(dllimport)' in setlocale_null.c does not cause a link failure when no DLLs are involved. */ # if defined _WIN64 || defined _LP64 # define IMP(x) __imp_##x # else # define IMP(x) _imp__##x # endif void * IMP(gl_get_setlocale_null_lock) = &gl_get_setlocale_null_lock; # endif #endif datamash-1.9/lib/setlocale.c0000644000000000000000000017545614771573666011531 /* Set the current locale. -*- coding: utf-8 -*- Copyright (C) 2009, 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2009. */ #include /* Override setlocale() so that when the default locale is requested (locale = ""), the environment variables LC_ALL, LC_*, and LANG are considered. Also include all the functionality from libintl's setlocale() override. */ /* Please keep this file in sync with gettext/gettext-runtime/intl/setlocale.c ! */ /* Specification. */ #include #include #include #include #include "setlocale-fixes.h" #include "localename.h" #if HAVE_CFLOCALECOPYPREFERREDLANGUAGES || HAVE_CFPREFERENCESCOPYAPPVALUE # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES # include # elif HAVE_CFPREFERENCESCOPYAPPVALUE # include # endif # include # include # include extern void gl_locale_name_canonicalize (char *name); #endif #if defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include #endif #if 1 # undef setlocale /* Which of the replacements to activate? */ # if NEED_SETLOCALE_IMPROVED # define setlocale_improved rpl_setlocale # elif NEED_SETLOCALE_MTSAFE # define setlocale_mtsafe rpl_setlocale # else # error "This file should only be compiled if NEED_SETLOCALE_IMPROVED || NEED_SETLOCALE_MTSAFE." # endif /* Like setlocale, but guaranteed to be multithread-safe if LOCALE == NULL. */ # if !SETLOCALE_NULL_ALL_MTSAFE || !SETLOCALE_NULL_ONE_MTSAFE /* i.e. if NEED_SETLOCALE_MTSAFE */ # if NEED_SETLOCALE_IMPROVED static # endif char * setlocale_mtsafe (int category, const char *locale) { if (locale == NULL) return (char *) setlocale_null (category); else return setlocale (category, locale); } # else /* !NEED_SETLOCALE_MTSAFE */ # define setlocale_mtsafe setlocale # endif /* NEED_SETLOCALE_MTSAFE */ # if NEED_SETLOCALE_IMPROVED /* Return string representation of locale category CATEGORY. */ static const char * category_to_name (int category) { const char *retval; switch (category) { case LC_COLLATE: retval = "LC_COLLATE"; break; case LC_CTYPE: retval = "LC_CTYPE"; break; case LC_MONETARY: retval = "LC_MONETARY"; break; case LC_NUMERIC: retval = "LC_NUMERIC"; break; case LC_TIME: retval = "LC_TIME"; break; case LC_MESSAGES: retval = "LC_MESSAGES"; break; default: /* If you have a better idea for a default value let me know. */ retval = "LC_XXX"; } return retval; } # if defined _WIN32 && ! defined __CYGWIN__ /* The native Windows setlocale() function expects locale names of the form "German" or "German_Germany" or "DEU", but not "de" or "de_DE". We need to convert the names from the form with ISO 639 language code and ISO 3166 country code to the form with English names or with three-letter identifier. The three-letter identifiers known by a Windows XP SP2 or SP3 are: AFK Afrikaans_South Africa.1252 ARA Arabic_Saudi Arabia.1256 ARB Arabic_Lebanon.1256 ARE Arabic_Egypt.1256 ARG Arabic_Algeria.1256 ARH Arabic_Bahrain.1256 ARI Arabic_Iraq.1256 ARJ Arabic_Jordan.1256 ARK Arabic_Kuwait.1256 ARL Arabic_Libya.1256 ARM Arabic_Morocco.1256 ARO Arabic_Oman.1256 ARQ Arabic_Qatar.1256 ARS Arabic_Syria.1256 ART Arabic_Tunisia.1256 ARU Arabic_U.A.E..1256 ARY Arabic_Yemen.1256 AZE Azeri (Latin)_Azerbaijan.1254 BEL Belarusian_Belarus.1251 BGR Bulgarian_Bulgaria.1251 BSB Bosnian_Bosnia and Herzegovina.1250 BSC Bosnian (Cyrillic)_Bosnia and Herzegovina.1250 (wrong encoding!) CAT Catalan_Spain.1252 CHH Chinese_Hong Kong S.A.R..950 CHI Chinese_Singapore.936 CHS Chinese_People's Republic of China.936 CHT Chinese_Taiwan.950 CSY Czech_Czech Republic.1250 CYM Welsh_United Kingdom.1252 DAN Danish_Denmark.1252 DEA German_Austria.1252 DEC German_Liechtenstein.1252 DEL German_Luxembourg.1252 DES German_Switzerland.1252 DEU German_Germany.1252 ELL Greek_Greece.1253 ENA English_Australia.1252 ENB English_Caribbean.1252 ENC English_Canada.1252 ENG English_United Kingdom.1252 ENI English_Ireland.1252 ENJ English_Jamaica.1252 ENL English_Belize.1252 ENP English_Republic of the Philippines.1252 ENS English_South Africa.1252 ENT English_Trinidad and Tobago.1252 ENU English_United States.1252 ENW English_Zimbabwe.1252 ENZ English_New Zealand.1252 ESA Spanish_Panama.1252 ESB Spanish_Bolivia.1252 ESC Spanish_Costa Rica.1252 ESD Spanish_Dominican Republic.1252 ESE Spanish_El Salvador.1252 ESF Spanish_Ecuador.1252 ESG Spanish_Guatemala.1252 ESH Spanish_Honduras.1252 ESI Spanish_Nicaragua.1252 ESL Spanish_Chile.1252 ESM Spanish_Mexico.1252 ESN Spanish_Spain.1252 ESO Spanish_Colombia.1252 ESP Spanish_Spain.1252 ESR Spanish_Peru.1252 ESS Spanish_Argentina.1252 ESU Spanish_Puerto Rico.1252 ESV Spanish_Venezuela.1252 ESY Spanish_Uruguay.1252 ESZ Spanish_Paraguay.1252 ETI Estonian_Estonia.1257 EUQ Basque_Spain.1252 FAR Farsi_Iran.1256 FIN Finnish_Finland.1252 FOS Faroese_Faroe Islands.1252 FPO Filipino_Philippines.1252 FRA French_France.1252 FRB French_Belgium.1252 FRC French_Canada.1252 FRL French_Luxembourg.1252 FRM French_Principality of Monaco.1252 FRS French_Switzerland.1252 FYN Frisian_Netherlands.1252 GLC Galician_Spain.1252 HEB Hebrew_Israel.1255 HRB Croatian_Bosnia and Herzegovina.1250 HRV Croatian_Croatia.1250 HUN Hungarian_Hungary.1250 IND Indonesian_Indonesia.1252 IRE Irish_Ireland.1252 ISL Icelandic_Iceland.1252 ITA Italian_Italy.1252 ITS Italian_Switzerland.1252 IUK Inuktitut (Latin)_Canada.1252 JPN Japanese_Japan.932 KKZ Kazakh_Kazakhstan.1251 KOR Korean_Korea.949 KYR Kyrgyz_Kyrgyzstan.1251 LBX Luxembourgish_Luxembourg.1252 LTH Lithuanian_Lithuania.1257 LVI Latvian_Latvia.1257 MKI FYRO Macedonian_Former Yugoslav Republic of Macedonia.1251 MON Mongolian_Mongolia.1251 MPD Mapudungun_Chile.1252 MSB Malay_Brunei Darussalam.1252 MSL Malay_Malaysia.1252 MWK Mohawk_Canada.1252 NLB Dutch_Belgium.1252 NLD Dutch_Netherlands.1252 NON Norwegian-Nynorsk_Norway.1252 NOR Norwegian (BokmÃ¥l)_Norway.1252 NSO Northern Sotho_South Africa.1252 PLK Polish_Poland.1250 PTB Portuguese_Brazil.1252 PTG Portuguese_Portugal.1252 QUB Quechua_Bolivia.1252 QUE Quechua_Ecuador.1252 QUP Quechua_Peru.1252 RMC Romansh_Switzerland.1252 ROM Romanian_Romania.1250 RUS Russian_Russia.1251 SKY Slovak_Slovakia.1250 SLV Slovenian_Slovenia.1250 SMA Sami (Southern)_Norway.1252 SMB Sami (Southern)_Sweden.1252 SME Sami (Northern)_Norway.1252 SMF Sami (Northern)_Sweden.1252 SMG Sami (Northern)_Finland.1252 SMJ Sami (Lule)_Norway.1252 SMK Sami (Lule)_Sweden.1252 SMN Sami (Inari)_Finland.1252 SMS Sami (Skolt)_Finland.1252 SQI Albanian_Albania.1250 SRB Serbian (Cyrillic)_Serbia and Montenegro.1251 SRL Serbian (Latin)_Serbia and Montenegro.1250 SRN Serbian (Cyrillic)_Bosnia and Herzegovina.1251 SRS Serbian (Latin)_Bosnia and Herzegovina.1250 SVE Swedish_Sweden.1252 SVF Swedish_Finland.1252 SWK Swahili_Kenya.1252 THA Thai_Thailand.874 TRK Turkish_Turkey.1254 TSN Tswana_South Africa.1252 TTT Tatar_Russia.1251 UKR Ukrainian_Ukraine.1251 URD Urdu_Islamic Republic of Pakistan.1256 USA English_United States.1252 UZB Uzbek (Latin)_Uzbekistan.1254 VIT Vietnamese_Viet Nam.1258 XHO Xhosa_South Africa.1252 ZHH Chinese_Hong Kong S.A.R..950 ZHI Chinese_Singapore.936 ZHM Chinese_Macau S.A.R..950 ZUL Zulu_South Africa.1252 */ /* Table from ISO 639 language code, optionally with country or script suffix, to English name. Keep in sync with the gl_locale_name_from_win32_LANGID function in localename.c! */ struct table_entry { const char *code; const char *english; }; static const struct table_entry language_table[] = { { "af", "Afrikaans" }, { "am", "Amharic" }, { "ar", "Arabic" }, { "arn", "Mapudungun" }, { "as", "Assamese" }, { "az@cyrillic", "Azeri (Cyrillic)" }, { "az@latin", "Azeri (Latin)" }, { "ba", "Bashkir" }, { "be", "Belarusian" }, { "ber", "Tamazight" }, { "ber@arabic", "Tamazight (Arabic)" }, { "ber@latin", "Tamazight (Latin)" }, { "bg", "Bulgarian" }, { "bin", "Edo" }, { "bn", "Bengali" }, { "bn_BD", "Bengali (Bangladesh)" }, { "bn_IN", "Bengali (India)" }, { "bnt", "Sutu" }, { "bo", "Tibetan" }, { "br", "Breton" }, { "bs", "BSB" }, /* "Bosnian (Latin)" */ { "bs@cyrillic", "BSC" }, /* Bosnian (Cyrillic) */ { "ca", "Catalan" }, { "chr", "Cherokee" }, { "co", "Corsican" }, { "cpe", "Hawaiian" }, { "cs", "Czech" }, { "cy", "Welsh" }, { "da", "Danish" }, { "de", "German" }, { "dsb", "Lower Sorbian" }, { "dv", "Divehi" }, { "el", "Greek" }, { "en", "English" }, { "es", "Spanish" }, { "et", "Estonian" }, { "eu", "Basque" }, { "fa", "Farsi" }, { "ff", "Fulfulde" }, { "fi", "Finnish" }, { "fo", "Faroese" }, /* "Faeroese" does not work */ { "fr", "French" }, { "fy", "Frisian" }, { "ga", "IRE" }, /* Gaelic (Ireland) */ { "gd", "Gaelic (Scotland)" }, { "gd", "Scottish Gaelic" }, { "gl", "Galician" }, { "gn", "Guarani" }, { "gsw", "Alsatian" }, { "gu", "Gujarati" }, { "ha", "Hausa" }, { "he", "Hebrew" }, { "hi", "Hindi" }, { "hr", "Croatian" }, { "hsb", "Upper Sorbian" }, { "hu", "Hungarian" }, { "hy", "Armenian" }, { "id", "Indonesian" }, { "ig", "Igbo" }, { "ii", "Yi" }, { "is", "Icelandic" }, { "it", "Italian" }, { "iu", "IUK" }, /* Inuktitut */ { "ja", "Japanese" }, { "ka", "Georgian" }, { "kk", "Kazakh" }, { "kl", "Greenlandic" }, { "km", "Cambodian" }, { "km", "Khmer" }, { "kn", "Kannada" }, { "ko", "Korean" }, { "kok", "Konkani" }, { "kr", "Kanuri" }, { "ks", "Kashmiri" }, { "ks_IN", "Kashmiri_India" }, { "ks_PK", "Kashmiri (Arabic)_Pakistan" }, { "ky", "Kyrgyz" }, { "la", "Latin" }, { "lb", "Luxembourgish" }, { "lo", "Lao" }, { "lt", "Lithuanian" }, { "lv", "Latvian" }, { "mi", "Maori" }, { "mk", "FYRO Macedonian" }, { "mk", "Macedonian" }, { "ml", "Malayalam" }, { "mn", "Mongolian" }, { "mni", "Manipuri" }, { "moh", "Mohawk" }, { "mr", "Marathi" }, { "ms", "Malay" }, { "mt", "Maltese" }, { "my", "Burmese" }, { "nb", "NOR" }, /* Norwegian BokmÃ¥l */ { "ne", "Nepali" }, { "nic", "Ibibio" }, { "nl", "Dutch" }, { "nn", "NON" }, /* Norwegian Nynorsk */ { "no", "Norwegian" }, { "nso", "Northern Sotho" }, { "nso", "Sepedi" }, { "oc", "Occitan" }, { "om", "Oromo" }, { "or", "Oriya" }, { "pa", "Punjabi" }, { "pap", "Papiamentu" }, { "pl", "Polish" }, { "prs", "Dari" }, { "ps", "Pashto" }, { "pt", "Portuguese" }, { "qu", "Quechua" }, { "qut", "K'iche'" }, { "rm", "Romansh" }, { "ro", "Romanian" }, { "ru", "Russian" }, { "rw", "Kinyarwanda" }, { "sa", "Sanskrit" }, { "sah", "Yakut" }, { "sd", "Sindhi" }, { "se", "Sami (Northern)" }, { "se", "Northern Sami" }, { "si", "Sinhalese" }, { "sk", "Slovak" }, { "sl", "Slovenian" }, { "sma", "Sami (Southern)" }, { "sma", "Southern Sami" }, { "smj", "Sami (Lule)" }, { "smj", "Lule Sami" }, { "smn", "Sami (Inari)" }, { "smn", "Inari Sami" }, { "sms", "Sami (Skolt)" }, { "sms", "Skolt Sami" }, { "so", "Somali" }, { "sq", "Albanian" }, { "sr", "Serbian (Latin)" }, { "sr@cyrillic", "SRB" }, /* Serbian (Cyrillic) */ { "sv", "Swedish" }, { "sw", "Swahili" }, { "syr", "Syriac" }, { "ta", "Tamil" }, { "te", "Telugu" }, { "tg", "Tajik" }, { "th", "Thai" }, { "ti", "Tigrinya" }, { "tk", "Turkmen" }, { "tl", "Filipino" }, { "tn", "Tswana" }, { "tr", "Turkish" }, { "ts", "Tsonga" }, { "tt", "Tatar" }, { "ug", "Uighur" }, { "uk", "Ukrainian" }, { "ur", "Urdu" }, { "uz", "Uzbek" }, { "uz", "Uzbek (Latin)" }, { "uz@cyrillic", "Uzbek (Cyrillic)" }, { "ve", "Venda" }, { "vi", "Vietnamese" }, { "wen", "Sorbian" }, { "wo", "Wolof" }, { "xh", "Xhosa" }, { "yi", "Yiddish" }, { "yo", "Yoruba" }, { "zh", "Chinese" }, { "zu", "Zulu" } }; /* Table from ISO 3166 country code to English name. Keep in sync with the gl_locale_name_from_win32_LANGID function in localename.c! */ static const struct table_entry country_table[] = { { "AE", "U.A.E." }, { "AF", "Afghanistan" }, { "AL", "Albania" }, { "AM", "Armenia" }, { "AN", "Netherlands Antilles" }, { "AR", "Argentina" }, { "AT", "Austria" }, { "AU", "Australia" }, { "AZ", "Azerbaijan" }, { "BA", "Bosnia and Herzegovina" }, { "BD", "Bangladesh" }, { "BE", "Belgium" }, { "BG", "Bulgaria" }, { "BH", "Bahrain" }, { "BN", "Brunei Darussalam" }, { "BO", "Bolivia" }, { "BR", "Brazil" }, { "BT", "Bhutan" }, { "BY", "Belarus" }, { "BZ", "Belize" }, { "CA", "Canada" }, { "CG", "Congo" }, { "CH", "Switzerland" }, { "CI", "Cote d'Ivoire" }, { "CL", "Chile" }, { "CM", "Cameroon" }, { "CN", "People's Republic of China" }, { "CO", "Colombia" }, { "CR", "Costa Rica" }, { "CS", "Serbia and Montenegro" }, { "CZ", "Czech Republic" }, { "DE", "Germany" }, { "DK", "Denmark" }, { "DO", "Dominican Republic" }, { "DZ", "Algeria" }, { "EC", "Ecuador" }, { "EE", "Estonia" }, { "EG", "Egypt" }, { "ER", "Eritrea" }, { "ES", "Spain" }, { "ET", "Ethiopia" }, { "FI", "Finland" }, { "FO", "Faroe Islands" }, { "FR", "France" }, { "GB", "United Kingdom" }, { "GD", "Caribbean" }, { "GE", "Georgia" }, { "GL", "Greenland" }, { "GR", "Greece" }, { "GT", "Guatemala" }, { "HK", "Hong Kong" }, { "HK", "Hong Kong S.A.R." }, { "HN", "Honduras" }, { "HR", "Croatia" }, { "HT", "Haiti" }, { "HU", "Hungary" }, { "ID", "Indonesia" }, { "IE", "Ireland" }, { "IL", "Israel" }, { "IN", "India" }, { "IQ", "Iraq" }, { "IR", "Iran" }, { "IS", "Iceland" }, { "IT", "Italy" }, { "JM", "Jamaica" }, { "JO", "Jordan" }, { "JP", "Japan" }, { "KE", "Kenya" }, { "KG", "Kyrgyzstan" }, { "KH", "Cambodia" }, { "KR", "South Korea" }, { "KW", "Kuwait" }, { "KZ", "Kazakhstan" }, { "LA", "Laos" }, { "LB", "Lebanon" }, { "LI", "Liechtenstein" }, { "LK", "Sri Lanka" }, { "LT", "Lithuania" }, { "LU", "Luxembourg" }, { "LV", "Latvia" }, { "LY", "Libya" }, { "MA", "Morocco" }, { "MC", "Principality of Monaco" }, { "MD", "Moldava" }, { "MD", "Moldova" }, { "ME", "Montenegro" }, { "MK", "Former Yugoslav Republic of Macedonia" }, { "ML", "Mali" }, { "MM", "Myanmar" }, { "MN", "Mongolia" }, { "MO", "Macau S.A.R." }, { "MT", "Malta" }, { "MV", "Maldives" }, { "MX", "Mexico" }, { "MY", "Malaysia" }, { "NG", "Nigeria" }, { "NI", "Nicaragua" }, { "NL", "Netherlands" }, { "NO", "Norway" }, { "NP", "Nepal" }, { "NZ", "New Zealand" }, { "OM", "Oman" }, { "PA", "Panama" }, { "PE", "Peru" }, { "PH", "Philippines" }, { "PK", "Islamic Republic of Pakistan" }, { "PL", "Poland" }, { "PR", "Puerto Rico" }, { "PT", "Portugal" }, { "PY", "Paraguay" }, { "QA", "Qatar" }, { "RE", "Reunion" }, { "RO", "Romania" }, { "RS", "Serbia" }, { "RU", "Russia" }, { "RW", "Rwanda" }, { "SA", "Saudi Arabia" }, { "SE", "Sweden" }, { "SG", "Singapore" }, { "SI", "Slovenia" }, { "SK", "Slovak" }, { "SN", "Senegal" }, { "SO", "Somalia" }, { "SR", "Suriname" }, { "SV", "El Salvador" }, { "SY", "Syria" }, { "TH", "Thailand" }, { "TJ", "Tajikistan" }, { "TM", "Turkmenistan" }, { "TN", "Tunisia" }, { "TR", "Turkey" }, { "TT", "Trinidad and Tobago" }, { "TW", "Taiwan" }, { "TZ", "Tanzania" }, { "UA", "Ukraine" }, { "US", "United States" }, { "UY", "Uruguay" }, { "VA", "Vatican" }, { "VE", "Venezuela" }, { "VN", "Viet Nam" }, { "YE", "Yemen" }, { "ZA", "South Africa" }, { "ZW", "Zimbabwe" } }; /* Given a string STRING, find the set of indices i such that TABLE[i].code is the given STRING. It is a range [lo,hi-1]. */ typedef struct { size_t lo; size_t hi; } range_t; static void search (const struct table_entry *table, size_t table_size, const char *string, range_t *result) { /* The table is sorted. Perform a binary search. */ size_t hi = table_size; size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, strcmp (table[i].code, string) < 0, for i >= hi, strcmp (table[i].code, string) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = strcmp (table[mid].code, string); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with strcmp (language_table[i].code, string) == 0. Find the entire interval of such i. */ { size_t i; for (i = mid; i > lo; ) { i--; if (strcmp (table[i].code, string) < 0) { lo = i + 1; break; } } } { size_t i; for (i = mid + 1; i < hi; i++) { if (strcmp (table[i].code, string) > 0) { hi = i; break; } } } /* The set of i with strcmp (language_table[i].code, string) == 0 is the interval [lo, hi-1]. */ break; } } result->lo = lo; result->hi = hi; } /* Like setlocale, but accept also locale names in the form ll or ll_CC, where ll is an ISO 639 language code and CC is an ISO 3166 country code. */ static char * setlocale_unixlike (int category, const char *locale) { int is_utf8 = (GetACP () == 65001); char *result; char llCC_buf[64]; char ll_buf[64]; char CC_buf[64]; /* The native Windows implementation of setlocale understands the special locale name "C", but not "POSIX". Therefore map "POSIX" to "C". */ if (locale != NULL && strcmp (locale, "POSIX") == 0) locale = "C"; /* The native Windows implementation of setlocale, in the UTF-8 environment, does not understand the locale names "C.UTF-8" or "C.utf8" or "C.65001", but it understands "English_United States.65001", which is functionally equivalent. */ if (locale != NULL && ((is_utf8 && strcmp (locale, "C") == 0) || strcmp (locale, "C.UTF-8") == 0)) locale = "English_United States.65001"; /* First, try setlocale with the original argument unchanged. */ result = setlocale_mtsafe (category, locale); if (result != NULL) return result; /* Otherwise, assume the argument is in the form language[_territory][.codeset][@modifier] and try to map it using the tables. */ if (strlen (locale) < sizeof (llCC_buf)) { /* Second try: Remove the codeset part. */ { const char *p = locale; char *q = llCC_buf; /* Copy the part before the dot. */ for (; *p != '\0' && *p != '.'; p++, q++) *q = *p; if (*p == '.') /* Skip the part up to the '@', if any. */ for (; *p != '\0' && *p != '@'; p++) ; /* Copy the part starting with '@', if any. */ for (; *p != '\0'; p++, q++) *q = *p; *q = '\0'; } /* llCC_buf now contains language[_territory][@modifier] */ if (strcmp (llCC_buf, locale) != 0) { if (is_utf8) { char buf[64+6]; strcpy (buf, llCC_buf); strcat (buf, ".65001"); result = setlocale (category, buf); } else result = setlocale (category, llCC_buf); if (result != NULL) return result; } /* Look it up in language_table. */ { range_t range; size_t i; search (language_table, sizeof (language_table) / sizeof (language_table[0]), llCC_buf, &range); for (i = range.lo; i < range.hi; i++) { /* Try the replacement in language_table[i]. */ if (is_utf8) { char buf[64+6]; strcpy (buf, language_table[i].english); strcat (buf, ".65001"); result = setlocale (category, buf); } else result = setlocale (category, language_table[i].english); if (result != NULL) return result; } } /* Split language[_territory][@modifier] into ll_buf = language[@modifier] and CC_buf = territory */ { const char *underscore = strchr (llCC_buf, '_'); if (underscore != NULL) { const char *territory_start = underscore + 1; const char *territory_end = strchr (territory_start, '@'); if (territory_end == NULL) territory_end = territory_start + strlen (territory_start); memcpy (ll_buf, llCC_buf, underscore - llCC_buf); strcpy (ll_buf + (underscore - llCC_buf), territory_end); memcpy (CC_buf, territory_start, territory_end - territory_start); CC_buf[territory_end - territory_start] = '\0'; { /* Look up ll_buf in language_table and CC_buf in country_table. */ range_t language_range; search (language_table, sizeof (language_table) / sizeof (language_table[0]), ll_buf, &language_range); if (language_range.lo < language_range.hi) { range_t country_range; search (country_table, sizeof (country_table) / sizeof (country_table[0]), CC_buf, &country_range); if (country_range.lo < country_range.hi) { size_t i; size_t j; for (i = language_range.lo; i < language_range.hi; i++) for (j = country_range.lo; j < country_range.hi; j++) { /* Concatenate the replacements. */ const char *part1 = language_table[i].english; size_t part1_len = strlen (part1); const char *part2 = country_table[j].english; size_t part2_len = strlen (part2) + 1; char buf[64+64+6]; if (!(part1_len + 1 + part2_len + 6 <= sizeof (buf))) abort (); memcpy (buf, part1, part1_len); buf[part1_len] = '_'; memcpy (buf + part1_len + 1, part2, part2_len); if (is_utf8) strcat (buf, ".65001"); /* Try the concatenated replacements. */ result = setlocale (category, buf); if (result != NULL) return result; } } /* Try omitting the country entirely. This may set a locale corresponding to the wrong country, but is better than failing entirely. */ { size_t i; for (i = language_range.lo; i < language_range.hi; i++) { /* Try only the language replacement. */ if (is_utf8) { char buf[64+6]; strcpy (buf, language_table[i].english); strcat (buf, ".65001"); result = setlocale (category, buf); } else result = setlocale (category, language_table[i].english); if (result != NULL) return result; } } } } } } } /* Failed. */ return NULL; } # elif defined __ANDROID__ /* Like setlocale, but accept also the locale names "C" and "POSIX". */ static char * setlocale_unixlike (int category, const char *locale) { char *result = setlocale_fixed (category, locale); if (result == NULL) switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: case LC_ALL: case LC_PAPER: case LC_NAME: case LC_ADDRESS: case LC_TELEPHONE: case LC_MEASUREMENT: if (locale == NULL || strcmp (locale, "C") == 0 || strcmp (locale, "POSIX") == 0) result = (char *) "C"; break; default: break; } return result; } # define setlocale setlocale_unixlike # else # define setlocale_unixlike setlocale_mtsafe # endif # if LC_MESSAGES == 1729 /* Like setlocale, but support also LC_MESSAGES. */ static char * setlocale_single (int category, const char *locale) { if (category == LC_MESSAGES) return setlocale_messages (locale); else return setlocale_unixlike (category, locale); } # else # define setlocale_single setlocale_unixlike # endif # if defined __APPLE__ && defined __MACH__ /* Mapping from language to main territory where that language is spoken. */ static char const locales_with_principal_territory[][6 + 1] = { /* Language Main territory */ "ace_ID", /* Achinese Indonesia */ "af_ZA", /* Afrikaans South Africa */ "ak_GH", /* Akan Ghana */ "am_ET", /* Amharic Ethiopia */ "an_ES", /* Aragonese Spain */ "ang_GB", /* Old English Britain */ "arn_CL", /* Mapudungun Chile */ "as_IN", /* Assamese India */ "ast_ES", /* Asturian Spain */ "av_RU", /* Avaric Russia */ "awa_IN", /* Awadhi India */ "az_AZ", /* Azerbaijani Azerbaijan */ "ban_ID", /* Balinese Indonesia */ "be_BY", /* Belarusian Belarus */ "bej_SD", /* Beja Sudan */ "bem_ZM", /* Bemba Zambia */ "bg_BG", /* Bulgarian Bulgaria */ "bho_IN", /* Bhojpuri India */ "bi_VU", /* Bislama Vanuatu */ "bik_PH", /* Bikol Philippines */ "bin_NG", /* Bini Nigeria */ "bm_ML", /* Bambara Mali */ "bn_IN", /* Bengali India */ "bo_CN", /* Tibetan China */ "br_FR", /* Breton France */ "bs_BA", /* Bosnian Bosnia */ "bug_ID", /* Buginese Indonesia */ "ca_ES", /* Catalan Spain */ "ce_RU", /* Chechen Russia */ "ceb_PH", /* Cebuano Philippines */ "co_FR", /* Corsican France */ "cr_CA", /* Cree Canada */ /* Don't put "crh_UZ" or "crh_UA" here. That would be asking for fruitless political discussion. */ "cs_CZ", /* Czech Czech Republic */ "csb_PL", /* Kashubian Poland */ "cy_GB", /* Welsh Britain */ "da_DK", /* Danish Denmark */ "de_DE", /* German Germany */ "din_SD", /* Dinka Sudan */ "doi_IN", /* Dogri India */ "dsb_DE", /* Lower Sorbian Germany */ "dv_MV", /* Divehi Maldives */ "dz_BT", /* Dzongkha Bhutan */ "ee_GH", /* Éwé Ghana */ "el_GR", /* Greek Greece */ /* Don't put "en_GB" or "en_US" here. That would be asking for fruitless political discussion. */ "es_ES", /* Spanish Spain */ "et_EE", /* Estonian Estonia */ "fa_IR", /* Persian Iran */ "fi_FI", /* Finnish Finland */ "fil_PH", /* Filipino Philippines */ "fj_FJ", /* Fijian Fiji */ "fo_FO", /* Faroese Faeroe Islands */ "fon_BJ", /* Fon Benin */ "fr_FR", /* French France */ "fur_IT", /* Friulian Italy */ "fy_NL", /* Western Frisian Netherlands */ "ga_IE", /* Irish Ireland */ "gd_GB", /* Scottish Gaelic Britain */ "gl_ES", /* Galician Spain */ "gon_IN", /* Gondi India */ "gsw_CH", /* Swiss German Switzerland */ "gu_IN", /* Gujarati India */ "he_IL", /* Hebrew Israel */ "hi_IN", /* Hindi India */ "hil_PH", /* Hiligaynon Philippines */ "hr_HR", /* Croatian Croatia */ "hsb_DE", /* Upper Sorbian Germany */ "ht_HT", /* Haitian Haiti */ "hu_HU", /* Hungarian Hungary */ "hy_AM", /* Armenian Armenia */ "id_ID", /* Indonesian Indonesia */ "ig_NG", /* Igbo Nigeria */ "ii_CN", /* Sichuan Yi China */ "ilo_PH", /* Iloko Philippines */ "is_IS", /* Icelandic Iceland */ "it_IT", /* Italian Italy */ "ja_JP", /* Japanese Japan */ "jab_NG", /* Hyam Nigeria */ "jv_ID", /* Javanese Indonesia */ "ka_GE", /* Georgian Georgia */ "kab_DZ", /* Kabyle Algeria */ "kaj_NG", /* Jju Nigeria */ "kam_KE", /* Kamba Kenya */ "kmb_AO", /* Kimbundu Angola */ "kcg_NG", /* Tyap Nigeria */ "kdm_NG", /* Kagoma Nigeria */ "kg_CD", /* Kongo Democratic Republic of Congo */ "kk_KZ", /* Kazakh Kazakhstan */ "kl_GL", /* Kalaallisut Greenland */ "km_KH", /* Central Khmer Cambodia */ "kn_IN", /* Kannada India */ "ko_KR", /* Korean Korea (South) */ "kok_IN", /* Konkani India */ "kr_NG", /* Kanuri Nigeria */ "kru_IN", /* Kurukh India */ "ky_KG", /* Kyrgyz Kyrgyzstan */ "lg_UG", /* Ganda Uganda */ "li_BE", /* Limburgish Belgium */ "lo_LA", /* Laotian Laos */ "lt_LT", /* Lithuanian Lithuania */ "lu_CD", /* Luba-Katanga Democratic Republic of Congo */ "lua_CD", /* Luba-Lulua Democratic Republic of Congo */ "luo_KE", /* Luo Kenya */ "lv_LV", /* Latvian Latvia */ "mad_ID", /* Madurese Indonesia */ "mag_IN", /* Magahi India */ "mai_IN", /* Maithili India */ "mak_ID", /* Makasar Indonesia */ "man_ML", /* Mandingo Mali */ "men_SL", /* Mende Sierra Leone */ "mfe_MU", /* Mauritian Creole Mauritius */ "mg_MG", /* Malagasy Madagascar */ "mi_NZ", /* Maori New Zealand */ "min_ID", /* Minangkabau Indonesia */ "mk_MK", /* Macedonian North Macedonia */ "ml_IN", /* Malayalam India */ "mn_MN", /* Mongolian Mongolia */ "mni_IN", /* Manipuri India */ "mos_BF", /* Mossi Burkina Faso */ "mr_IN", /* Marathi India */ "ms_MY", /* Malay Malaysia */ "mt_MT", /* Maltese Malta */ "mwr_IN", /* Marwari India */ "my_MM", /* Burmese Myanmar */ "na_NR", /* Nauru Nauru */ "nah_MX", /* Nahuatl Mexico */ "nap_IT", /* Neapolitan Italy */ "nb_NO", /* Norwegian BokmÃ¥l Norway */ "nds_DE", /* Low Saxon Germany */ "ne_NP", /* Nepali Nepal */ "nl_NL", /* Dutch Netherlands */ "nn_NO", /* Norwegian Nynorsk Norway */ "no_NO", /* Norwegian Norway */ "nr_ZA", /* South Ndebele South Africa */ "nso_ZA", /* Northern Sotho South Africa */ "ny_MW", /* Chichewa Malawi */ "nym_TZ", /* Nyamwezi Tanzania */ "nyn_UG", /* Nyankole Uganda */ "oc_FR", /* Occitan France */ "oj_CA", /* Ojibwa Canada */ "or_IN", /* Oriya India */ "pa_IN", /* Punjabi India */ "pag_PH", /* Pangasinan Philippines */ "pam_PH", /* Pampanga Philippines */ "pap_AN", /* Papiamento Netherlands Antilles - this line can be removed in 2018 */ "pbb_CO", /* Páez Colombia */ "pl_PL", /* Polish Poland */ "ps_AF", /* Pashto Afghanistan */ "pt_PT", /* Portuguese Portugal */ "raj_IN", /* Rajasthani India */ "rm_CH", /* Romansh Switzerland */ "rn_BI", /* Kirundi Burundi */ "ro_RO", /* Romanian Romania */ "ru_RU", /* Russian Russia */ "rw_RW", /* Kinyarwanda Rwanda */ "sa_IN", /* Sanskrit India */ "sah_RU", /* Yakut Russia */ "sas_ID", /* Sasak Indonesia */ "sat_IN", /* Santali India */ "sc_IT", /* Sardinian Italy */ "scn_IT", /* Sicilian Italy */ "sg_CF", /* Sango Central African Republic */ "shn_MM", /* Shan Myanmar */ "si_LK", /* Sinhala Sri Lanka */ "sid_ET", /* Sidamo Ethiopia */ "sk_SK", /* Slovak Slovakia */ "sl_SI", /* Slovenian Slovenia */ "sm_WS", /* Samoan Samoa */ "smn_FI", /* Inari Sami Finland */ "sms_FI", /* Skolt Sami Finland */ "so_SO", /* Somali Somalia */ "sq_AL", /* Albanian Albania */ "sr_RS", /* Serbian Serbia */ "srr_SN", /* Serer Senegal */ "suk_TZ", /* Sukuma Tanzania */ "sus_GN", /* Susu Guinea */ "sv_SE", /* Swedish Sweden */ "ta_IN", /* Tamil India */ "te_IN", /* Telugu India */ "tem_SL", /* Timne Sierra Leone */ "tet_ID", /* Tetum Indonesia */ "tg_TJ", /* Tajik Tajikistan */ "th_TH", /* Thai Thailand */ "ti_ER", /* Tigrinya Eritrea */ "tiv_NG", /* Tiv Nigeria */ "tk_TM", /* Turkmen Turkmenistan */ "tl_PH", /* Tagalog Philippines */ "to_TO", /* Tonga Tonga */ "tpi_PG", /* Tok Pisin Papua New Guinea */ "tr_TR", /* Turkish Türkiye */ "tum_MW", /* Tumbuka Malawi */ "ug_CN", /* Uighur China */ "uk_UA", /* Ukrainian Ukraine */ "umb_AO", /* Umbundu Angola */ "ur_PK", /* Urdu Pakistan */ "uz_UZ", /* Uzbek Uzbekistan */ "ve_ZA", /* Venda South Africa */ "vi_VN", /* Vietnamese Vietnam */ "wa_BE", /* Walloon Belgium */ "wal_ET", /* Walamo Ethiopia */ "war_PH", /* Waray Philippines */ "wen_DE", /* Sorbian Germany */ "yao_MW", /* Yao Malawi */ "zap_MX" /* Zapotec Mexico */ }; /* Compare just the language part of two locale names. */ static int langcmp (const char *locale1, const char *locale2) { size_t locale1_len; size_t locale2_len; int cmp; { const char *locale1_end = strchr (locale1, '_'); if (locale1_end != NULL) locale1_len = locale1_end - locale1; else locale1_len = strlen (locale1); } { const char *locale2_end = strchr (locale2, '_'); if (locale2_end != NULL) locale2_len = locale2_end - locale2; else locale2_len = strlen (locale2); } if (locale1_len < locale2_len) { cmp = memcmp (locale1, locale2, locale1_len); if (cmp == 0) cmp = -1; } else { cmp = memcmp (locale1, locale2, locale2_len); if (locale1_len > locale2_len && cmp == 0) cmp = 1; } return cmp; } /* Given a locale name, return the main locale with the same language, or NULL if not found. For example: "fr_DE" -> "fr_FR". */ static const char * get_main_locale_with_same_language (const char *locale) { # define table locales_with_principal_territory /* The table is sorted. Perform a binary search. */ size_t hi = sizeof (table) / sizeof (table[0]); size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, langcmp (table[i], locale) < 0, for i >= hi, langcmp (table[i], locale) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = langcmp (table[mid], locale); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with langcmp (language_table[i], locale) == 0. Verify that it is the only such i. */ if (mid > lo && langcmp (table[mid - 1], locale) >= 0) abort (); if (mid + 1 < hi && langcmp (table[mid + 1], locale) <= 0) abort (); return table[mid]; } } # undef table return NULL; } /* Mapping from territory to main language that is spoken in that territory. */ static char const locales_with_principal_language[][6 + 1] = { /* This is based on the set of existing locales in glibc, with duplicates removed, and on the Wikipedia pages named "Languages of ". If in doubt, use the locale that exists in macOS. For example, the only "*_IN" locale in macOS 10.13 is "hi_IN", so use that. */ /* A useful shell function for producing a line of this table is: func_line () { # Usage: func_line ll_CC ll=`echo "$1" | sed -e 's|_.*||'` cc=`echo "$1" | sed -e 's|^.*_||'` llx=`sed -n -e "s|^${ll} ||p" < gettext-tools/doc/ISO_639` ccx=`expand gettext-tools/doc/ISO_3166 | sed -n -e "s|^${cc} *||p"` echo " \"$1\", /$X* ${llx} ${ccx} *$X/" } */ /* Main language Territory */ "ca_AD", /* Catalan Andorra */ "ar_AE", /* Arabic United Arab Emirates */ "ps_AF", /* Pashto Afghanistan */ "en_AG", /* English Antigua and Barbuda */ "sq_AL", /* Albanian Albania */ "hy_AM", /* Armenian Armenia */ "pap_AN", /* Papiamento Netherlands Antilles - this line can be removed in 2018 */ "pt_AO", /* Portuguese Angola */ "es_AR", /* Spanish Argentina */ "de_AT", /* German Austria */ "en_AU", /* English Australia */ /* Aruba has two official languages: "nl_AW", "pap_AW". */ "az_AZ", /* Azerbaijani Azerbaijan */ "bs_BA", /* Bosnian Bosnia */ "bn_BD", /* Bengali Bangladesh */ "nl_BE", /* Dutch Belgium */ "fr_BF", /* French Burkina Faso */ "bg_BG", /* Bulgarian Bulgaria */ "ar_BH", /* Arabic Bahrain */ "rn_BI", /* Kirundi Burundi */ "fr_BJ", /* French Benin */ "es_BO", /* Spanish Bolivia */ "pt_BR", /* Portuguese Brazil */ "dz_BT", /* Dzongkha Bhutan */ "en_BW", /* English Botswana */ "be_BY", /* Belarusian Belarus */ "en_CA", /* English Canada */ "fr_CD", /* French Democratic Republic of Congo */ "sg_CF", /* Sango Central African Republic */ "de_CH", /* German Switzerland */ "es_CL", /* Spanish Chile */ "zh_CN", /* Chinese China */ "es_CO", /* Spanish Colombia */ "es_CR", /* Spanish Costa Rica */ "es_CU", /* Spanish Cuba */ /* Curaçao has three official languages: "nl_CW", "pap_CW", "en_CW". */ "el_CY", /* Greek Cyprus */ "cs_CZ", /* Czech Czech Republic */ "de_DE", /* German Germany */ /* Djibouti has two official languages: "ar_DJ" and "fr_DJ". */ "da_DK", /* Danish Denmark */ "es_DO", /* Spanish Dominican Republic */ "ar_DZ", /* Arabic Algeria */ "es_EC", /* Spanish Ecuador */ "et_EE", /* Estonian Estonia */ "ar_EG", /* Arabic Egypt */ "ti_ER", /* Tigrinya Eritrea */ "es_ES", /* Spanish Spain */ "am_ET", /* Amharic Ethiopia */ "fi_FI", /* Finnish Finland */ /* Fiji has three official languages: "en_FJ", "fj_FJ", "hif_FJ". */ "fo_FO", /* Faroese Faeroe Islands */ "fr_FR", /* French France */ "en_GB", /* English Britain */ "ka_GE", /* Georgian Georgia */ "en_GH", /* English Ghana */ "kl_GL", /* Kalaallisut Greenland */ "fr_GN", /* French Guinea */ "el_GR", /* Greek Greece */ "es_GT", /* Spanish Guatemala */ "zh_HK", /* Chinese Hong Kong */ "es_HN", /* Spanish Honduras */ "hr_HR", /* Croatian Croatia */ "ht_HT", /* Haitian Haiti */ "hu_HU", /* Hungarian Hungary */ "id_ID", /* Indonesian Indonesia */ "en_IE", /* English Ireland */ "he_IL", /* Hebrew Israel */ "hi_IN", /* Hindi India */ "ar_IQ", /* Arabic Iraq */ "fa_IR", /* Persian Iran */ "is_IS", /* Icelandic Iceland */ "it_IT", /* Italian Italy */ "ar_JO", /* Arabic Jordan */ "ja_JP", /* Japanese Japan */ "sw_KE", /* Swahili Kenya */ "ky_KG", /* Kyrgyz Kyrgyzstan */ "km_KH", /* Central Khmer Cambodia */ "ko_KR", /* Korean Korea (South) */ "ar_KW", /* Arabic Kuwait */ "kk_KZ", /* Kazakh Kazakhstan */ "lo_LA", /* Laotian Laos */ "ar_LB", /* Arabic Lebanon */ "de_LI", /* German Liechtenstein */ "si_LK", /* Sinhala Sri Lanka */ "lt_LT", /* Lithuanian Lithuania */ /* Luxembourg has three official languages: "lb_LU", "fr_LU", "de_LU". */ "lv_LV", /* Latvian Latvia */ "ar_LY", /* Arabic Libya */ "ar_MA", /* Arabic Morocco */ "sr_ME", /* Serbian Montenegro */ "mg_MG", /* Malagasy Madagascar */ "mk_MK", /* Macedonian North Macedonia */ "fr_ML", /* French Mali */ "my_MM", /* Burmese Myanmar */ "mn_MN", /* Mongolian Mongolia */ "mt_MT", /* Maltese Malta */ "mfe_MU", /* Mauritian Creole Mauritius */ "dv_MV", /* Divehi Maldives */ "ny_MW", /* Chichewa Malawi */ "es_MX", /* Spanish Mexico */ "ms_MY", /* Malay Malaysia */ "en_NG", /* English Nigeria */ "es_NI", /* Spanish Nicaragua */ "nl_NL", /* Dutch Netherlands */ "no_NO", /* Norwegian Norway */ "ne_NP", /* Nepali Nepal */ "na_NR", /* Nauru Nauru */ "niu_NU", /* Niuean Niue */ "en_NZ", /* English New Zealand */ "ar_OM", /* Arabic Oman */ "es_PA", /* Spanish Panama */ "es_PE", /* Spanish Peru */ "tpi_PG", /* Tok Pisin Papua New Guinea */ "fil_PH", /* Filipino Philippines */ "pa_PK", /* Punjabi Pakistan */ "pl_PL", /* Polish Poland */ "es_PR", /* Spanish Puerto Rico */ "pt_PT", /* Portuguese Portugal */ "es_PY", /* Spanish Paraguay */ "ar_QA", /* Arabic Qatar */ "ro_RO", /* Romanian Romania */ "sr_RS", /* Serbian Serbia */ "ru_RU", /* Russian Russia */ "rw_RW", /* Kinyarwanda Rwanda */ "ar_SA", /* Arabic Saudi Arabia */ "en_SC", /* English Seychelles */ "ar_SD", /* Arabic Sudan */ "sv_SE", /* Swedish Sweden */ "en_SG", /* English Singapore */ "sl_SI", /* Slovenian Slovenia */ "sk_SK", /* Slovak Slovakia */ "en_SL", /* English Sierra Leone */ "fr_SN", /* French Senegal */ "so_SO", /* Somali Somalia */ "ar_SS", /* Arabic South Sudan */ "es_SV", /* Spanish El Salvador */ "ar_SY", /* Arabic Syria */ "th_TH", /* Thai Thailand */ "tg_TJ", /* Tajik Tajikistan */ "tk_TM", /* Turkmen Turkmenistan */ "ar_TN", /* Arabic Tunisia */ "to_TO", /* Tonga Tonga */ "tr_TR", /* Turkish Türkiye */ "zh_TW", /* Chinese Taiwan */ "sw_TZ", /* Swahili Tanzania */ "uk_UA", /* Ukrainian Ukraine */ "lg_UG", /* Ganda Uganda */ "en_US", /* English United States of America */ "es_UY", /* Spanish Uruguay */ "uz_UZ", /* Uzbek Uzbekistan */ "es_VE", /* Spanish Venezuela */ "vi_VN", /* Vietnamese Vietnam */ "bi_VU", /* Bislama Vanuatu */ "sm_WS", /* Samoan Samoa */ "ar_YE", /* Arabic Yemen */ "en_ZA", /* English South Africa */ "en_ZM", /* English Zambia */ "en_ZW" /* English Zimbabwe */ }; /* Compare just the territory part of two locale names. */ static int terrcmp (const char *locale1, const char *locale2) { const char *territory1 = strrchr (locale1, '_') + 1; const char *territory2 = strrchr (locale2, '_') + 1; return strcmp (territory1, territory2); } /* Given a locale name, return the locale corresponding to the main language with the same territory, or NULL if not found. For example: "fr_DE" -> "de_DE". */ static const char * get_main_locale_with_same_territory (const char *locale) { if (strrchr (locale, '_') != NULL) { # define table locales_with_principal_language /* The table is sorted. Perform a binary search. */ size_t hi = sizeof (table) / sizeof (table[0]); size_t lo = 0; while (lo < hi) { /* Invariant: for i < lo, terrcmp (table[i], locale) < 0, for i >= hi, terrcmp (table[i], locale) > 0. */ size_t mid = (hi + lo) >> 1; /* >= lo, < hi */ int cmp = terrcmp (table[mid], locale); if (cmp < 0) lo = mid + 1; else if (cmp > 0) hi = mid; else { /* Found an i with terrcmp (language_table[i], locale) == 0. Verify that it is the only such i. */ if (mid > lo && terrcmp (table[mid - 1], locale) >= 0) abort (); if (mid + 1 < hi && terrcmp (table[mid + 1], locale) <= 0) abort (); return table[mid]; } } # undef table } return NULL; } # endif char * setlocale_improved (int category, const char *locale) { if (locale != NULL && locale[0] == '\0') { /* A request to the set the current locale to the default locale. */ if (category == LC_ALL) { /* Set LC_CTYPE first. Then the other categories. */ static int const categories[] = { LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES }; char *saved_locale; const char *base_name; unsigned int i; /* Back up the old locale, in case one of the steps fails. */ saved_locale = setlocale (LC_ALL, NULL); if (saved_locale == NULL) return NULL; saved_locale = strdup (saved_locale); if (saved_locale == NULL) return NULL; /* Set LC_CTYPE category. Set all other categories (except possibly LC_MESSAGES) to the same value in the same call; this is likely to save calls. */ base_name = gl_locale_name_environ (LC_CTYPE, category_to_name (LC_CTYPE)); if (base_name == NULL) base_name = gl_locale_name_default (); if (setlocale_unixlike (LC_ALL, base_name) != NULL) { /* LC_CTYPE category already set. */ i = 1; } else { /* On Mac OS X, "UTF-8" is a valid locale name for LC_CTYPE but not for LC_ALL. Therefore this call may fail. So, try another base_name. */ base_name = "C"; if (setlocale_unixlike (LC_ALL, base_name) == NULL) goto fail; i = 0; } # if defined _WIN32 && ! defined __CYGWIN__ /* On native Windows, setlocale(LC_ALL,...) may succeed but set the LC_CTYPE category to an invalid value ("C") when it does not support the specified encoding. Report a failure instead. */ if (strchr (base_name, '.') != NULL && strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) goto fail; # endif for (; i < sizeof (categories) / sizeof (categories[0]); i++) { int cat = categories[i]; const char *name; name = gl_locale_name_environ (cat, category_to_name (cat)); if (name == NULL) name = gl_locale_name_default (); /* If name is the same as base_name, it has already been set through the setlocale call before the loop. */ if (strcmp (name, base_name) != 0 # if LC_MESSAGES == 1729 || cat == LC_MESSAGES # endif ) if (setlocale_single (cat, name) == NULL) # if defined __APPLE__ && defined __MACH__ { /* On Mac OS X 10.13, some locales can be set through System Preferences > Language & Region, that are not supported by libc. The system's setlocale() falls back to "C" for these locale categories. We can do better, by trying an existing locale with the same language or an existing locale with the same territory. If we can't, print a warning, to limit user expectations. */ int warn = 0; if (cat == LC_CTYPE) warn = (setlocale_single (cat, "UTF-8") == NULL); else if (cat == LC_MESSAGES) { # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES || HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.4 or newer */ /* Take the primary language preference. */ # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* MacOS X 10.5 or newer */ CFArrayRef prefArray = CFLocaleCopyPreferredLanguages (); # elif HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.4 or newer */ CFTypeRef preferences = CFPreferencesCopyAppValue (CFSTR ("AppleLanguages"), kCFPreferencesCurrentApplication); if (preferences != NULL && CFGetTypeID (preferences) == CFArrayGetTypeID ()) { CFArrayRef prefArray = (CFArrayRef)preferences; # endif int n = CFArrayGetCount (prefArray); if (n > 0) { char buf[256]; CFTypeRef element = CFArrayGetValueAtIndex (prefArray, 0); if (element != NULL && CFGetTypeID (element) == CFStringGetTypeID () && CFStringGetCString ((CFStringRef)element, buf, sizeof (buf), kCFStringEncodingASCII)) { /* Remove the country. E.g. "zh-Hans-DE" -> "zh-Hans". */ char *last_minus = strrchr (buf, '-'); if (last_minus != NULL) *last_minus = '\0'; /* Convert to Unix locale name. E.g. "zh-Hans" -> "zh_CN". */ gl_locale_name_canonicalize (buf); /* Try setlocale with this value. */ if (setlocale_single (cat, buf) == NULL) { const char *last_try = get_main_locale_with_same_language (buf); if (last_try == NULL || setlocale_single (cat, last_try) == NULL) warn = 1; } } } # if HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* MacOS X 10.5 or newer */ CFRelease (prefArray); # elif HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.4 or newer */ } # endif # else const char *last_try = get_main_locale_with_same_language (name); if (last_try == NULL || setlocale_single (cat, last_try) == NULL) warn = 1; # endif } else { /* For LC_NUMERIC, the application should use the locale properties kCFLocaleDecimalSeparator, kCFLocaleGroupingSeparator. For LC_TIME, the application should use the locale property kCFLocaleCalendarIdentifier. For LC_COLLATE, the application should use the locale properties kCFLocaleCollationIdentifier, kCFLocaleCollatorIdentifier. For LC_MONETARY, the application should use the locale properties kCFLocaleCurrencySymbol, kCFLocaleCurrencyCode. But since most applications don't have macOS specific code like this, try an existing locale with the same territory. */ const char *last_try = get_main_locale_with_same_territory (name); if (last_try == NULL || setlocale_single (cat, last_try) == NULL) warn = 1; } if (warn) { /* Warn only if the environment variable SETLOCALE_VERBOSE is set. Otherwise these warnings are just annoyances, since normal users won't invoke 'localedef'. */ const char *verbose = getenv ("SETLOCALE_VERBOSE"); if (verbose != NULL && verbose[0] != '\0') fprintf (stderr, "Warning: Failed to set locale category %s to %s.\n", category_to_name (cat), name); } } # else goto fail; # endif } /* All steps were successful. */ free (saved_locale); goto ret_all; fail: if (saved_locale[0] != '\0') /* don't risk an endless recursion */ setlocale (LC_ALL, saved_locale); free (saved_locale); return NULL; } else { const char *name = gl_locale_name_environ (category, category_to_name (category)); if (name == NULL) name = gl_locale_name_default (); return setlocale_single (category, name); } } else { # if LC_MESSAGES == 1729 if (locale != NULL) { char truncated_locale[SETLOCALE_NULL_ALL_MAX]; const char *native_locale; const char *messages_locale; if (strncmp (locale, "LC_COLLATE=", 11) == 0) { /* The locale argument indicates a mixed locale. It must be of the form "LC_COLLATE=...;LC_CTYPE=...;LC_MONETARY=...;LC_NUMERIC=...;LC_TIME=...;LC_MESSAGES=..." since that is what this function returns (see ret_all below). Decompose it. */ const char *last_semicolon = strrchr (locale, ';'); if (!(last_semicolon != NULL && strncmp (last_semicolon + 1, "LC_MESSAGES=", 12) == 0)) return NULL; if (category == LC_MESSAGES) return setlocale_single (category, last_semicolon + 13); size_t truncated_locale_len = last_semicolon - locale; if (truncated_locale_len >= sizeof (truncated_locale)) return NULL; memcpy (truncated_locale, locale, truncated_locale_len); truncated_locale[truncated_locale_len] = '\0'; native_locale = truncated_locale; messages_locale = last_semicolon + 13; } else { native_locale = locale; messages_locale = locale; } if (category == LC_ALL) { /* In the underlying implementation, LC_ALL does not contain LC_MESSAGES. Therefore we need to handle LC_MESSAGES separately. */ char *result; # if defined _WIN32 && ! defined __CYGWIN__ if (strchr (native_locale, '.') != NULL) { char *saved_locale; /* Back up the old locale. */ saved_locale = setlocale (LC_ALL, NULL); if (saved_locale == NULL) return NULL; saved_locale = strdup (saved_locale); if (saved_locale == NULL) return NULL; if (setlocale_unixlike (LC_ALL, native_locale) == NULL) { free (saved_locale); return NULL; } /* On native Windows, setlocale(LC_ALL,...) may succeed but set the LC_CTYPE category to an invalid value ("C") when it does not support the specified encoding. Report a failure instead. */ if (strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) { /* Don't risk an endless recursion. */ if (saved_locale[0] != '\0') setlocale (LC_ALL, saved_locale); free (saved_locale); return NULL; } /* It was really successful. */ free (saved_locale); result = setlocale (LC_ALL, NULL); } else # endif result = setlocale_single (LC_ALL, native_locale); if (result == NULL) return NULL; setlocale_single (LC_MESSAGES, messages_locale); goto ret_all; } else { if (category == LC_MESSAGES) return setlocale_single (category, messages_locale); else return setlocale_single (category, native_locale); } } else /* locale == NULL */ { if (category == LC_ALL) goto ret_all; else return setlocale_single (category, NULL); } # else return setlocale_single (category, locale); # endif } ret_all: /* Return the name of all categories of the current locale. */ # if LC_MESSAGES == 1729 /* native Windows */ /* The locale name for mixed locales looks like this: "LC_COLLATE=...;LC_CTYPE=...;LC_MONETARY=...;LC_NUMERIC=...;LC_TIME=..." If necessary, add ";LC_MESSAGES=..." at the end. */ { char *name1 = setlocale (LC_ALL, NULL); char *name2 = setlocale_single (LC_MESSAGES, NULL); if (strcmp (name1, name2) == 0) /* Not a mixed locale. */ return name1; else { static char resultbuf[SETLOCALE_NULL_ALL_MAX]; /* Prepare the result in a stack-allocated buffer, in order to reduce race conditions in a multithreaded situation. */ char stackbuf[SETLOCALE_NULL_ALL_MAX]; if (strncmp (name1, "LC_COLLATE=", 11) == 0) { if (strlen (name1) + strlen (name2) + 13 >= sizeof (stackbuf)) return NULL; sprintf (stackbuf, "%s;LC_MESSAGES=%s", name1, name2); } else { if (5 * strlen (name1) + strlen (name2) + 68 >= sizeof (stackbuf)) return NULL; sprintf (stackbuf, "LC_COLLATE=%s;LC_CTYPE=%s;LC_MONETARY=%s;LC_NUMERIC=%s;LC_TIME=%s;LC_MESSAGES=%s", name1, name1, name1, name1, name1, name2); } strcpy (resultbuf, stackbuf); return resultbuf; } } # elif defined __ANDROID__ return setlocale_fixed_null (LC_ALL); # else return setlocale (LC_ALL, NULL); # endif } # endif /* NEED_SETLOCALE_IMPROVED */ #endif datamash-1.9/lib/setlocale_null-unlocked.c0000644000000000000000000000777414767401140014340 /* Query the name of the current global locale, without locking. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ #include /* Specification. */ #include "setlocale_null.h" #include #include #include #if defined _WIN32 && !defined __CYGWIN__ # include #endif /* Use the system's setlocale() function, not the gnulib override, here. */ #undef setlocale const char * setlocale_null_unlocked (int category) { const char *result = setlocale (category, NULL); #ifdef __ANDROID__ if (result == NULL) switch (category) { case LC_CTYPE: case LC_NUMERIC: case LC_TIME: case LC_COLLATE: case LC_MONETARY: case LC_MESSAGES: case LC_ALL: case LC_PAPER: case LC_NAME: case LC_ADDRESS: case LC_TELEPHONE: case LC_MEASUREMENT: result = "C"; break; default: break; } #endif return result; } int setlocale_null_r_unlocked (int category, char *buf, size_t bufsize) { #if defined _WIN32 && !defined __CYGWIN__ && defined _MSC_VER /* On native Windows, nowadays, the setlocale() implementation is based on _wsetlocale() and uses malloc() for the result. We are better off using _wsetlocale() directly. */ const wchar_t *result = _wsetlocale (category, NULL); if (result == NULL) { /* CATEGORY is invalid. */ if (bufsize > 0) /* Return an empty string in BUF. This is a convenience for callers that don't want to write explicit code for handling EINVAL. */ buf[0] = '\0'; return EINVAL; } else { size_t length = wcslen (result); if (length < bufsize) { size_t i; /* Convert wchar_t[] -> char[], assuming plain ASCII. */ for (i = 0; i <= length; i++) buf[i] = result[i]; return 0; } else { if (bufsize > 0) { /* Return a truncated result in BUF. This is a convenience for callers that don't want to write explicit code for handling ERANGE. */ size_t i; /* Convert wchar_t[] -> char[], assuming plain ASCII. */ for (i = 0; i < bufsize; i++) buf[i] = result[i]; buf[bufsize - 1] = '\0'; } return ERANGE; } } #else const char *result = setlocale_null_unlocked (category); if (result == NULL) { /* CATEGORY is invalid. */ if (bufsize > 0) /* Return an empty string in BUF. This is a convenience for callers that don't want to write explicit code for handling EINVAL. */ buf[0] = '\0'; return EINVAL; } else { size_t length = strlen (result); if (length < bufsize) { memcpy (buf, result, length + 1); return 0; } else { if (bufsize > 0) { /* Return a truncated result in BUF. This is a convenience for callers that don't want to write explicit code for handling ERANGE. */ memcpy (buf, result, bufsize - 1); buf[bufsize - 1] = '\0'; } return ERANGE; } } #endif } datamash-1.9/lib/setlocale_null.c0000644000000000000000000001760114767401140012524 /* Query the name of the current global locale. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ #include /* Specification. */ #include "setlocale_null.h" #include #include #include #include #if !(SETLOCALE_NULL_ALL_MTSAFE && SETLOCALE_NULL_ONE_MTSAFE) # if AVOID_ANY_THREADS /* The option '--disable-threads' explicitly requests no locking. */ # elif defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # elif HAVE_PTHREAD_API # include # if HAVE_THREADS_H && HAVE_WEAK_SYMBOLS # include # pragma weak thrd_exit # define c11_threads_in_use() (thrd_exit != NULL) # else # define c11_threads_in_use() 0 # endif # elif HAVE_THREADS_H # include # endif #endif #if !(SETLOCALE_NULL_ALL_MTSAFE && SETLOCALE_NULL_ONE_MTSAFE) /* musl libc, macOS, FreeBSD, NetBSD, OpenBSD, AIX, Haiku, Cygwin < 3.4.6 */ /* Use a lock, so that no two threads can invoke setlocale_null_r_unlocked at the same time. */ /* Prohibit renaming this symbol. */ # undef gl_get_setlocale_null_lock # if AVOID_ANY_THREADS /* The option '--disable-threads' explicitly requests no locking. */ # define setlocale_null_r_with_lock setlocale_null_r_unlocked # elif defined _WIN32 && !defined __CYGWIN__ extern __declspec(dllimport) CRITICAL_SECTION *gl_get_setlocale_null_lock (void); static int setlocale_null_r_with_lock (int category, char *buf, size_t bufsize) { CRITICAL_SECTION *lock = gl_get_setlocale_null_lock (); int ret; EnterCriticalSection (lock); ret = setlocale_null_r_unlocked (category, buf, bufsize); LeaveCriticalSection (lock); return ret; } # elif HAVE_PTHREAD_API /* musl libc, macOS, FreeBSD, NetBSD, OpenBSD, AIX, Haiku, Cygwin < 3.4.6 */ extern # if defined _WIN32 || defined __CYGWIN__ __declspec(dllimport) # endif pthread_mutex_t *gl_get_setlocale_null_lock (void); # if HAVE_WEAK_SYMBOLS /* musl libc, FreeBSD, NetBSD, OpenBSD, Haiku */ /* Avoid the need to link with '-lpthread'. */ # pragma weak pthread_mutex_lock # pragma weak pthread_mutex_unlock /* Determine whether libpthread is in use. */ # pragma weak pthread_mutexattr_gettype /* See the comments in lock.h. */ # define pthread_in_use() \ (pthread_mutexattr_gettype != NULL || c11_threads_in_use ()) # else # define pthread_in_use() 1 # endif static int setlocale_null_r_with_lock (int category, char *buf, size_t bufsize) { if (pthread_in_use()) { pthread_mutex_t *lock = gl_get_setlocale_null_lock (); int ret; if (pthread_mutex_lock (lock)) abort (); ret = setlocale_null_r_unlocked (category, buf, bufsize); if (pthread_mutex_unlock (lock)) abort (); return ret; } else return setlocale_null_r_unlocked (category, buf, bufsize); } # elif HAVE_THREADS_H extern mtx_t *gl_get_setlocale_null_lock (void); static int setlocale_null_r_with_lock (int category, char *buf, size_t bufsize) { mtx_t *lock = gl_get_setlocale_null_lock (); int ret; if (mtx_lock (lock) != thrd_success) abort (); ret = setlocale_null_r_unlocked (category, buf, bufsize); if (mtx_unlock (lock) != thrd_success) abort (); return ret; } # endif #endif int setlocale_null_r (int category, char *buf, size_t bufsize) { #if SETLOCALE_NULL_ALL_MTSAFE # if SETLOCALE_NULL_ONE_MTSAFE return setlocale_null_r_unlocked (category, buf, bufsize); # else if (category == LC_ALL) return setlocale_null_r_unlocked (category, buf, bufsize); else return setlocale_null_r_with_lock (category, buf, bufsize); # endif #else # if SETLOCALE_NULL_ONE_MTSAFE if (category == LC_ALL) return setlocale_null_r_with_lock (category, buf, bufsize); else return setlocale_null_r_unlocked (category, buf, bufsize); # else return setlocale_null_r_with_lock (category, buf, bufsize); # endif #endif } const char * setlocale_null (int category) { #if SETLOCALE_NULL_ALL_MTSAFE && SETLOCALE_NULL_ONE_MTSAFE return setlocale_null_unlocked (category); #else /* This call must be multithread-safe. To achieve this without using thread-local storage: 1. We use a specific static buffer for each possible CATEGORY argument. So that different threads can call setlocale_mtsafe with different CATEGORY arguments, without interfering. 2. We use a simple strcpy or memcpy to fill this static buffer. Filling it through, for example, strcpy + strcat would not be guaranteed to leave the buffer's contents intact if another thread is currently accessing it. If necessary, the contents is first assembled in a stack-allocated buffer. */ if (category == LC_ALL) { # if SETLOCALE_NULL_ALL_MTSAFE return setlocale_null_unlocked (LC_ALL); # else char buf[SETLOCALE_NULL_ALL_MAX]; static char resultbuf[SETLOCALE_NULL_ALL_MAX]; if (setlocale_null_r (LC_ALL, buf, sizeof (buf))) return "C"; strcpy (resultbuf, buf); return resultbuf; # endif } else { # if SETLOCALE_NULL_ONE_MTSAFE return setlocale_null_unlocked (category); # else enum { LC_CTYPE_INDEX, LC_NUMERIC_INDEX, LC_TIME_INDEX, LC_COLLATE_INDEX, LC_MONETARY_INDEX, LC_MESSAGES_INDEX, # ifdef LC_PAPER LC_PAPER_INDEX, # endif # ifdef LC_NAME LC_NAME_INDEX, # endif # ifdef LC_ADDRESS LC_ADDRESS_INDEX, # endif # ifdef LC_TELEPHONE LC_TELEPHONE_INDEX, # endif # ifdef LC_MEASUREMENT LC_MEASUREMENT_INDEX, # endif # ifdef LC_IDENTIFICATION LC_IDENTIFICATION_INDEX, # endif LC_INDICES_COUNT } i; char buf[SETLOCALE_NULL_MAX]; static char resultbuf[LC_INDICES_COUNT][SETLOCALE_NULL_MAX]; int err; err = setlocale_null_r (category, buf, sizeof (buf)); if (err == EINVAL) return NULL; if (err) return "C"; switch (category) { case LC_CTYPE: i = LC_CTYPE_INDEX; break; case LC_NUMERIC: i = LC_NUMERIC_INDEX; break; case LC_TIME: i = LC_TIME_INDEX; break; case LC_COLLATE: i = LC_COLLATE_INDEX; break; case LC_MONETARY: i = LC_MONETARY_INDEX; break; case LC_MESSAGES: i = LC_MESSAGES_INDEX; break; # ifdef LC_PAPER case LC_PAPER: i = LC_PAPER_INDEX; break; # endif # ifdef LC_NAME case LC_NAME: i = LC_NAME_INDEX; break; # endif # ifdef LC_ADDRESS case LC_ADDRESS: i = LC_ADDRESS_INDEX; break; # endif # ifdef LC_TELEPHONE case LC_TELEPHONE: i = LC_TELEPHONE_INDEX; break; # endif # ifdef LC_MEASUREMENT case LC_MEASUREMENT: i = LC_MEASUREMENT_INDEX; break; # endif # ifdef LC_IDENTIFICATION case LC_IDENTIFICATION: i = LC_IDENTIFICATION_INDEX; break; # endif default: /* If you get here, a #ifdef LC_xxx is missing. */ abort (); } strcpy (resultbuf[i], buf); return resultbuf[i]; # endif } #endif } datamash-1.9/lib/setlocale_null.h0000644000000000000000000001205514767401140012527 /* Query the name of the current global locale. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ #ifndef _SETLOCALE_NULL_H #define _SETLOCALE_NULL_H #include #include "arg-nonnull.h" #ifdef __cplusplus extern "C" { #endif /* Recommended size of a buffer for a locale name for a single category. On glibc systems, you can have locale names that are relative file names; assume a maximum length 256. In native Windows, in 2018 the longest locale name was of length 58 ("FYRO Macedonian_Former Yugoslav Republic of Macedonia.1251"). */ #define SETLOCALE_NULL_MAX (256+1) /* Recommended size of a buffer for a locale name with all categories. On glibc systems, you can have locale names that are relative file names; assume maximum length 256 for each. There are 12 categories; so, the maximum total length is 148+12*256. In native Windows, there are 5 categories, and the maximum total length is 55+5*58. */ #define SETLOCALE_NULL_ALL_MAX (148+12*256+1) /* setlocale_null_r_unlocked (CATEGORY, BUF, BUFSIZE) is like setlocale (CATEGORY, NULL), except that - it returns the resulting locale category name or locale name in the user-supplied buffer BUF, which must be BUFSIZE bytes long. The recommended minimum buffer size is - SETLOCALE_NULL_MAX for CATEGORY != LC_ALL, and - SETLOCALE_NULL_ALL_MAX for CATEGORY == LC_ALL. The return value is an error code: 0 if the call is successful, EINVAL if CATEGORY is invalid, or ERANGE if BUFSIZE is smaller than the length needed size (including the trailing NUL byte). In the latter case, a truncated result is returned in BUF, but still NUL-terminated if BUFSIZE > 0. This call is guaranteed to be multithread-safe only if - CATEGORY != LC_ALL and SETLOCALE_NULL_ONE_MTSAFE is true, or - CATEGORY == LC_ALL and SETLOCALE_NULL_ALL_MTSAFE is true, and the other threads must not make other setlocale invocations (since changing the global locale has side effects on all threads). */ extern int setlocale_null_r_unlocked (int category, char *buf, size_t bufsize) _GL_ARG_NONNULL ((2)); /* setlocale_null_unlocked (CATEGORY) is like setlocale (CATEGORY, NULL). The return value is NULL if CATEGORY is invalid. This call is guaranteed to be multithread-safe only if - CATEGORY != LC_ALL and SETLOCALE_NULL_ONE_MTSAFE is true, or - CATEGORY == LC_ALL and SETLOCALE_NULL_ALL_MTSAFE is true, and the other threads must not make other setlocale invocations (since changing the global locale has side effects on all threads). */ extern const char *setlocale_null_unlocked (int category); /* setlocale_null_r (CATEGORY, BUF, BUFSIZE) is like setlocale (CATEGORY, NULL), except that - it is guaranteed to be multithread-safe, - it returns the resulting locale category name or locale name in the user-supplied buffer BUF, which must be BUFSIZE bytes long. The recommended minimum buffer size is - SETLOCALE_NULL_MAX for CATEGORY != LC_ALL, and - SETLOCALE_NULL_ALL_MAX for CATEGORY == LC_ALL. The return value is an error code: 0 if the call is successful, EINVAL if CATEGORY is invalid, or ERANGE if BUFSIZE is smaller than the length needed size (including the trailing NUL byte). In the latter case, a truncated result is returned in BUF, but still NUL-terminated if BUFSIZE > 0. For this call to be multithread-safe, *all* calls to setlocale (CATEGORY, NULL) in all other threads must have been converted to use setlocale_null_r or setlocale_null as well, and the other threads must not make other setlocale invocations (since changing the global locale has side effects on all threads). */ extern int setlocale_null_r (int category, char *buf, size_t bufsize) _GL_ARG_NONNULL ((2)); /* setlocale_null (CATEGORY) is like setlocale (CATEGORY, NULL), except that it is guaranteed to be multithread-safe. The return value is NULL if CATEGORY is invalid. For this call to be multithread-safe, *all* calls to setlocale (CATEGORY, NULL) in all other threads must have been converted to use setlocale_null_r or setlocale_null as well, and the other threads must not make other setlocale invocations (since changing the global locale has side effects on all threads). */ extern const char *setlocale_null (int category); #ifdef __cplusplus } #endif #endif /* _SETLOCALE_NULL_H */ datamash-1.9/lib/sh-quote.c0000644000000000000000000000560314767401140011263 /* Shell quoting. Copyright (C) 2001-2004, 2006, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 . */ #include /* Specification. */ #include "sh-quote.h" #include #include "quotearg.h" #include "xalloc.h" /* Describes quoting for sh compatible shells. */ static struct quoting_options *sh_quoting_options; /* Initializes the sh_quoting_options variable. */ static void init_sh_quoting_options (void) { sh_quoting_options = clone_quoting_options (NULL); set_quoting_style (sh_quoting_options, shell_quoting_style); } /* Returns the number of bytes needed for the quoted string. */ size_t shell_quote_length (const char *string) { if (sh_quoting_options == NULL) init_sh_quoting_options (); return quotearg_buffer (NULL, 0, string, strlen (string), sh_quoting_options); } /* Copies the quoted string to p and returns the incremented p. There must be room for shell_quote_length (string) + 1 bytes at p. */ char * shell_quote_copy (char *p, const char *string) { if (sh_quoting_options == NULL) init_sh_quoting_options (); return p + quotearg_buffer (p, (size_t)(-1), string, strlen (string), sh_quoting_options); } /* Returns the freshly allocated quoted string. */ char * shell_quote (const char *string) { if (sh_quoting_options == NULL) init_sh_quoting_options (); return quotearg_alloc (string, strlen (string), sh_quoting_options); } /* Returns a freshly allocated string containing all argument strings, quoted, separated through spaces. */ char * shell_quote_argv (const char * const *argv) { if (*argv != NULL) { const char * const *argp; size_t length; char *command; char *p; length = 0; for (argp = argv; ; ) { length += shell_quote_length (*argp) + 1; argp++; if (*argp == NULL) break; } command = XNMALLOC (length, char); p = command; for (argp = argv; ; ) { p = shell_quote_copy (p, *argp); argp++; if (*argp == NULL) break; *p++ = ' '; } *p = '\0'; return command; } else return xstrdup (""); } datamash-1.9/lib/sh-quote.h0000644000000000000000000000402714767401140011267 /* Shell quoting. Copyright (C) 2001-2002, 2004, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2001. 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 . */ #ifndef _SH_QUOTE_H #define _SH_QUOTE_H /* When passing a command to a shell, we must quote the program name and arguments, since Unix shells interpret characters like " ", "'", "<", ">", "$", '*', '?' etc. in a special way. */ /* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #ifdef __cplusplus extern "C" { #endif /* Returns the number of bytes needed for the quoted string. */ extern size_t shell_quote_length (const char *string); /* Copies the quoted string to p and returns the incremented p. There must be room for shell_quote_length (string) + 1 bytes at p. */ extern char * shell_quote_copy (char *restrict p, const char *string); /* Returns the freshly allocated quoted string. */ extern char * shell_quote (const char *string) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; /* Returns a freshly allocated string containing all argument strings, quoted, separated through spaces. */ extern char * shell_quote_argv (const char * const *argv) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; #ifdef __cplusplus } #endif #endif /* _SH_QUOTE_H */ datamash-1.9/lib/sha1-stream.c0000644000000000000000000000655414767401140011651 /* sha1.c - Functions to compute SHA1 message digest of files or memory blocks according to the NIST specification FIPS-180-1. Copyright (C) 2000-2001, 2003-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Scott G. Miller Credits: Robert Klep -- Expansion function fix */ #include /* Specification. */ #include "sha1.h" #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include "af_alg.h" #define BLOCKSIZE 32768 #if BLOCKSIZE % 64 != 0 # error "invalid BLOCKSIZE" #endif /* Compute SHA1 message digest for bytes read from STREAM. The resulting message digest number will be written into the 20 bytes beginning at RESBLOCK. */ int sha1_stream (FILE *stream, void *resblock) { switch (afalg_stream (stream, "sha1", resblock, SHA1_DIGEST_SIZE)) { case 0: return 0; case -EIO: return 1; } char *buffer = malloc (BLOCKSIZE + 72); if (!buffer) return 1; struct sha1_ctx ctx; sha1_init_ctx (&ctx); size_t sum; /* Iterate over full file contents. */ while (1) { /* We read the file in blocks of BLOCKSIZE bytes. One call of the computation function processes the whole buffer so that with the next round of the loop another block can be read. */ size_t n; sum = 0; /* Read block. Take care for partial reads. */ while (1) { /* Either process a partial fread() from this loop, or the fread() in afalg_stream may have gotten EOF. We need to avoid a subsequent fread() as EOF may not be sticky. For details of such systems, see: https://sourceware.org/bugzilla/show_bug.cgi?id=1190 */ if (feof (stream)) goto process_partial_block; n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; if (sum == BLOCKSIZE) break; if (n == 0) { /* Check for the error flag IFF N == 0, so that we don't exit the loop after a partial read due to e.g., EAGAIN or EWOULDBLOCK. */ if (ferror (stream)) { free (buffer); return 1; } goto process_partial_block; } } /* Process buffer with BLOCKSIZE bytes. Note that BLOCKSIZE % 64 == 0 */ sha1_process_block (buffer, BLOCKSIZE, &ctx); } process_partial_block:; /* Process any remaining bytes. */ if (sum > 0) sha1_process_bytes (buffer, sum, &ctx); /* Construct result in desired memory. */ sha1_finish_ctx (&ctx, resblock); free (buffer); return 0; } datamash-1.9/lib/sha1.c0000644000000000000000000002636514767401140010362 /* sha1.c - Functions to compute SHA1 message digest of files or memory blocks according to the NIST specification FIPS-180-1. Copyright (C) 2000-2001, 2003-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Scott G. Miller Credits: Robert Klep -- Expansion function fix */ #include /* Specification. */ #if HAVE_OPENSSL_SHA1 # define GL_OPENSSL_INLINE _GL_EXTERN_INLINE #endif #include "sha1.h" #include #include #include #ifdef WORDS_BIGENDIAN # define SWAP(n) (n) #else # define SWAP(n) bswap_32 (n) #endif #if ! HAVE_OPENSSL_SHA1 /* This array contains the bytes used to pad the buffer to the next 64-byte boundary. (RFC 1321, 3.1: Step 1) */ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; /* Take a pointer to a 160 bit block of data (five 32 bit ints) and initialize it to the start constants of the SHA1 algorithm. This must be called before using hash in the call to sha1_hash. */ void sha1_init_ctx (struct sha1_ctx *ctx) { ctx->A = 0x67452301; ctx->B = 0xefcdab89; ctx->C = 0x98badcfe; ctx->D = 0x10325476; ctx->E = 0xc3d2e1f0; ctx->total[0] = ctx->total[1] = 0; ctx->buflen = 0; } /* Copy the 4 byte value from v into the memory location pointed to by *cp, If your architecture allows unaligned access this is equivalent to * (uint32_t *) cp = v */ static void set_uint32 (char *cp, uint32_t v) { memcpy (cp, &v, sizeof v); } /* Put result from CTX in first 20 bytes following RESBUF. The result must be in little endian byte order. */ void * sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) { char *r = resbuf; set_uint32 (r + 0 * sizeof ctx->A, SWAP (ctx->A)); set_uint32 (r + 1 * sizeof ctx->B, SWAP (ctx->B)); set_uint32 (r + 2 * sizeof ctx->C, SWAP (ctx->C)); set_uint32 (r + 3 * sizeof ctx->D, SWAP (ctx->D)); set_uint32 (r + 4 * sizeof ctx->E, SWAP (ctx->E)); return resbuf; } /* Process the remaining bytes in the internal buffer and the usual prolog according to the standard and write the result to RESBUF. */ void * sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) { /* Take yet unprocessed bytes into account. */ uint32_t bytes = ctx->buflen; size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; /* Now count remaining bytes. */ ctx->total[0] += bytes; if (ctx->total[0] < bytes) ++ctx->total[1]; /* Put the 64-bit file length in *bits* at the end of the buffer. */ ctx->buffer[size - 2] = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ctx->buffer[size - 1] = SWAP (ctx->total[0] << 3); memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); /* Process last bytes. */ sha1_process_block (ctx->buffer, size * 4, ctx); return sha1_read_ctx (ctx, resbuf); } /* Compute SHA1 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ void * sha1_buffer (const char *buffer, size_t len, void *resblock) { struct sha1_ctx ctx; /* Initialize the computation context. */ sha1_init_ctx (&ctx); /* Process whole buffer but last len % 64 bytes. */ sha1_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return sha1_finish_ctx (&ctx, resblock); } void sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) { /* When we already have some bits in our internal buffer concatenate both inputs first. */ if (ctx->buflen != 0) { size_t left_over = ctx->buflen; size_t add = 128 - left_over > len ? len : 128 - left_over; memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx->buflen += add; if (ctx->buflen > 64) { sha1_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx->buflen &= 63; /* The regions in the following copy operation cannot overlap, because ctx->buflen < 64 ≤ (left_over + add) & ~63. */ memcpy (ctx->buffer, &((char *) ctx->buffer)[(left_over + add) & ~63], ctx->buflen); } buffer = (const char *) buffer + add; len -= add; } /* Process available complete blocks. */ if (len >= 64) { #if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) if (UNALIGNED_P (buffer)) while (len > 64) { sha1_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer = (const char *) buffer + 64; len -= 64; } else #endif { sha1_process_block (buffer, len & ~63, ctx); buffer = (const char *) buffer + (len & ~63); len &= 63; } } /* Move remaining bytes in internal buffer. */ if (len > 0) { size_t left_over = ctx->buflen; memcpy (&((char *) ctx->buffer)[left_over], buffer, len); left_over += len; if (left_over >= 64) { sha1_process_block (ctx->buffer, 64, ctx); left_over -= 64; /* The regions in the following copy operation cannot overlap, because left_over ≤ 64. */ memcpy (ctx->buffer, &ctx->buffer[16], left_over); } ctx->buflen = left_over; } } /* --- Code below is the primary difference between md5.c and sha1.c --- */ /* SHA1 round constants */ #define K1 0x5a827999 #define K2 0x6ed9eba1 #define K3 0x8f1bbcdc #define K4 0xca62c1d6 /* Round functions. Note that F2 is the same as F4. */ #define F1(B,C,D) ( D ^ ( B & ( C ^ D ) ) ) #define F2(B,C,D) (B ^ C ^ D) #define F3(B,C,D) ( ( B & C ) | ( D & ( B | C ) ) ) #define F4(B,C,D) (B ^ C ^ D) /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 64 == 0. Most of this code comes from GnuPG's cipher/sha1.c. */ void sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) { const uint32_t *words = buffer; size_t nwords = len / sizeof (uint32_t); const uint32_t *endp = words + nwords; uint32_t x[16]; uint32_t a = ctx->A; uint32_t b = ctx->B; uint32_t c = ctx->C; uint32_t d = ctx->D; uint32_t e = ctx->E; uint32_t lolen = len; /* First increment the byte count. RFC 1321 specifies the possible length of the file up to 2^64 bits. Here we only compute the number of bytes. Do a double word increment. */ ctx->total[0] += lolen; ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); #define rol(x, n) (((x) << (n)) | ((uint32_t) (x) >> (32 - (n)))) #define M(I) ( tm = x[I&0x0f] ^ x[(I-14)&0x0f] \ ^ x[(I-8)&0x0f] ^ x[(I-3)&0x0f] \ , (x[I&0x0f] = rol(tm, 1)) ) #define R(A,B,C,D,E,F,K,M) do { E += rol( A, 5 ) \ + F( B, C, D ) \ + K \ + M; \ B = rol( B, 30 ); \ } while(0) while (words < endp) { uint32_t tm; int t; for (t = 0; t < 16; t++) { x[t] = SWAP (*words); words++; } R( a, b, c, d, e, F1, K1, x[ 0] ); R( e, a, b, c, d, F1, K1, x[ 1] ); R( d, e, a, b, c, F1, K1, x[ 2] ); R( c, d, e, a, b, F1, K1, x[ 3] ); R( b, c, d, e, a, F1, K1, x[ 4] ); R( a, b, c, d, e, F1, K1, x[ 5] ); R( e, a, b, c, d, F1, K1, x[ 6] ); R( d, e, a, b, c, F1, K1, x[ 7] ); R( c, d, e, a, b, F1, K1, x[ 8] ); R( b, c, d, e, a, F1, K1, x[ 9] ); R( a, b, c, d, e, F1, K1, x[10] ); R( e, a, b, c, d, F1, K1, x[11] ); R( d, e, a, b, c, F1, K1, x[12] ); R( c, d, e, a, b, F1, K1, x[13] ); R( b, c, d, e, a, F1, K1, x[14] ); R( a, b, c, d, e, F1, K1, x[15] ); R( e, a, b, c, d, F1, K1, M(16) ); R( d, e, a, b, c, F1, K1, M(17) ); R( c, d, e, a, b, F1, K1, M(18) ); R( b, c, d, e, a, F1, K1, M(19) ); R( a, b, c, d, e, F2, K2, M(20) ); R( e, a, b, c, d, F2, K2, M(21) ); R( d, e, a, b, c, F2, K2, M(22) ); R( c, d, e, a, b, F2, K2, M(23) ); R( b, c, d, e, a, F2, K2, M(24) ); R( a, b, c, d, e, F2, K2, M(25) ); R( e, a, b, c, d, F2, K2, M(26) ); R( d, e, a, b, c, F2, K2, M(27) ); R( c, d, e, a, b, F2, K2, M(28) ); R( b, c, d, e, a, F2, K2, M(29) ); R( a, b, c, d, e, F2, K2, M(30) ); R( e, a, b, c, d, F2, K2, M(31) ); R( d, e, a, b, c, F2, K2, M(32) ); R( c, d, e, a, b, F2, K2, M(33) ); R( b, c, d, e, a, F2, K2, M(34) ); R( a, b, c, d, e, F2, K2, M(35) ); R( e, a, b, c, d, F2, K2, M(36) ); R( d, e, a, b, c, F2, K2, M(37) ); R( c, d, e, a, b, F2, K2, M(38) ); R( b, c, d, e, a, F2, K2, M(39) ); R( a, b, c, d, e, F3, K3, M(40) ); R( e, a, b, c, d, F3, K3, M(41) ); R( d, e, a, b, c, F3, K3, M(42) ); R( c, d, e, a, b, F3, K3, M(43) ); R( b, c, d, e, a, F3, K3, M(44) ); R( a, b, c, d, e, F3, K3, M(45) ); R( e, a, b, c, d, F3, K3, M(46) ); R( d, e, a, b, c, F3, K3, M(47) ); R( c, d, e, a, b, F3, K3, M(48) ); R( b, c, d, e, a, F3, K3, M(49) ); R( a, b, c, d, e, F3, K3, M(50) ); R( e, a, b, c, d, F3, K3, M(51) ); R( d, e, a, b, c, F3, K3, M(52) ); R( c, d, e, a, b, F3, K3, M(53) ); R( b, c, d, e, a, F3, K3, M(54) ); R( a, b, c, d, e, F3, K3, M(55) ); R( e, a, b, c, d, F3, K3, M(56) ); R( d, e, a, b, c, F3, K3, M(57) ); R( c, d, e, a, b, F3, K3, M(58) ); R( b, c, d, e, a, F3, K3, M(59) ); R( a, b, c, d, e, F4, K4, M(60) ); R( e, a, b, c, d, F4, K4, M(61) ); R( d, e, a, b, c, F4, K4, M(62) ); R( c, d, e, a, b, F4, K4, M(63) ); R( b, c, d, e, a, F4, K4, M(64) ); R( a, b, c, d, e, F4, K4, M(65) ); R( e, a, b, c, d, F4, K4, M(66) ); R( d, e, a, b, c, F4, K4, M(67) ); R( c, d, e, a, b, F4, K4, M(68) ); R( b, c, d, e, a, F4, K4, M(69) ); R( a, b, c, d, e, F4, K4, M(70) ); R( e, a, b, c, d, F4, K4, M(71) ); R( d, e, a, b, c, F4, K4, M(72) ); R( c, d, e, a, b, F4, K4, M(73) ); R( b, c, d, e, a, F4, K4, M(74) ); R( a, b, c, d, e, F4, K4, M(75) ); R( e, a, b, c, d, F4, K4, M(76) ); R( d, e, a, b, c, F4, K4, M(77) ); R( c, d, e, a, b, F4, K4, M(78) ); R( b, c, d, e, a, F4, K4, M(79) ); a = ctx->A += a; b = ctx->B += b; c = ctx->C += c; d = ctx->D += d; e = ctx->E += e; } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/sha1.h0000644000000000000000000001064614767401140010362 /* Declarations of functions and data types used for SHA1 sum library functions. Copyright (C) 2000-2001, 2003, 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef SHA1_H # define SHA1_H 1 /* This file uses HAVE_OPENSSL_SHA1. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include # include # if HAVE_OPENSSL_SHA1 # ifndef OPENSSL_API_COMPAT # define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API. */ # endif /* If would give a compile-time error, don't use OpenSSL. */ # include # if OPENSSL_VERSION_MAJOR >= 3 # include # if (OPENSSL_CONFIGURED_API \ < (OPENSSL_API_COMPAT < 0x900000L ? OPENSSL_API_COMPAT : \ ((OPENSSL_API_COMPAT >> 28) & 0xF) * 10000 \ + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \ + ((OPENSSL_API_COMPAT >> 12) & 0xFF))) # undef HAVE_OPENSSL_SHA1 # endif # endif # if HAVE_OPENSSL_SHA1 # include # endif # endif # ifdef __cplusplus extern "C" { # endif # define SHA1_DIGEST_SIZE 20 # if HAVE_OPENSSL_SHA1 # define GL_OPENSSL_NAME 1 # include "gl_openssl.h" # else /* Structure to save state of computation between the single steps. */ struct sha1_ctx { uint32_t A; uint32_t B; uint32_t C; uint32_t D; uint32_t E; uint32_t total[2]; uint32_t buflen; /* ≥ 0, ≤ 128 */ uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ }; /* Initialize structure containing state of computation. */ extern void sha1_init_ctx (struct sha1_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ extern void sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 20 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *restrict resbuf); /* Put result from CTX in first 20 bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *restrict resbuf); /* Compute SHA1 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha1_buffer (const char *buffer, size_t len, void *restrict resblock); # endif /* Compute SHA1 message digest for bytes read from STREAM. STREAM is an open file stream. Regular files are handled more efficiently. The contents of STREAM from its current position to its end will be read. The case that the last operation on STREAM was an 'ungetc' is not supported. The resulting message digest number will be written into the 20 bytes beginning at RESBLOCK. */ extern int sha1_stream (FILE *stream, void *resblock); # ifdef __cplusplus } # endif #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/sha256-stream.c0000644000000000000000000000771514767401140012025 /* sha256.c - Functions to compute SHA256 and SHA224 message digest of files or memory blocks according to the NIST specification FIPS-180-2. Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by David Madore, considerably copypasting from Scott G. Miller's sha1.c */ #include /* Specification. */ #include "sha256.h" #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include "af_alg.h" #define BLOCKSIZE 32768 #if BLOCKSIZE % 64 != 0 # error "invalid BLOCKSIZE" #endif /* Compute message digest for bytes read from STREAM using algorithm ALG. Write the message digest into RESBLOCK, which contains HASHLEN bytes. The initial and finishing operations are INIT_CTX and FINISH_CTX. Return zero if and only if successful. */ static int shaxxx_stream (FILE *stream, char const *alg, void *resblock, ssize_t hashlen, void (*init_ctx) (struct sha256_ctx *), void *(*finish_ctx) (struct sha256_ctx *, void *)) { switch (afalg_stream (stream, alg, resblock, hashlen)) { case 0: return 0; case -EIO: return 1; } char *buffer = malloc (BLOCKSIZE + 72); if (!buffer) return 1; struct sha256_ctx ctx; init_ctx (&ctx); size_t sum; /* Iterate over full file contents. */ while (1) { /* We read the file in blocks of BLOCKSIZE bytes. One call of the computation function processes the whole buffer so that with the next round of the loop another block can be read. */ size_t n; sum = 0; /* Read block. Take care for partial reads. */ while (1) { /* Either process a partial fread() from this loop, or the fread() in afalg_stream may have gotten EOF. We need to avoid a subsequent fread() as EOF may not be sticky. For details of such systems, see: https://sourceware.org/bugzilla/show_bug.cgi?id=1190 */ if (feof (stream)) goto process_partial_block; n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; if (sum == BLOCKSIZE) break; if (n == 0) { /* Check for the error flag IFF N == 0, so that we don't exit the loop after a partial read due to e.g., EAGAIN or EWOULDBLOCK. */ if (ferror (stream)) { free (buffer); return 1; } goto process_partial_block; } } /* Process buffer with BLOCKSIZE bytes. Note that BLOCKSIZE % 64 == 0 */ sha256_process_block (buffer, BLOCKSIZE, &ctx); } process_partial_block:; /* Process any remaining bytes. */ if (sum > 0) sha256_process_bytes (buffer, sum, &ctx); /* Construct result in desired memory. */ finish_ctx (&ctx, resblock); free (buffer); return 0; } int sha256_stream (FILE *stream, void *resblock) { return shaxxx_stream (stream, "sha256", resblock, SHA256_DIGEST_SIZE, sha256_init_ctx, sha256_finish_ctx); } int sha224_stream (FILE *stream, void *resblock) { return shaxxx_stream (stream, "sha224", resblock, SHA224_DIGEST_SIZE, sha224_init_ctx, sha224_finish_ctx); } datamash-1.9/lib/sha256.c0000644000000000000000000003345014767401140010527 /* sha256.c - Functions to compute SHA256 and SHA224 message digest of files or memory blocks according to the NIST specification FIPS-180-2. Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by David Madore, considerably copypasting from Scott G. Miller's sha1.c */ #include /* Specification. */ #if HAVE_OPENSSL_SHA256 # define GL_OPENSSL_INLINE _GL_EXTERN_INLINE #endif #include "sha256.h" #include #include #include #ifdef WORDS_BIGENDIAN # define SWAP(n) (n) #else # define SWAP(n) bswap_32 (n) #endif #if ! HAVE_OPENSSL_SHA256 /* This array contains the bytes used to pad the buffer to the next 64-byte boundary. */ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ... */ }; /* Takes a pointer to a 256 bit block of data (eight 32 bit ints) and initializes it to the start constants of the SHA256 algorithm. This must be called before using hash in the call to sha256_hash */ void sha256_init_ctx (struct sha256_ctx *ctx) { ctx->state[0] = 0x6a09e667UL; ctx->state[1] = 0xbb67ae85UL; ctx->state[2] = 0x3c6ef372UL; ctx->state[3] = 0xa54ff53aUL; ctx->state[4] = 0x510e527fUL; ctx->state[5] = 0x9b05688cUL; ctx->state[6] = 0x1f83d9abUL; ctx->state[7] = 0x5be0cd19UL; ctx->total[0] = ctx->total[1] = 0; ctx->buflen = 0; } void sha224_init_ctx (struct sha256_ctx *ctx) { ctx->state[0] = 0xc1059ed8UL; ctx->state[1] = 0x367cd507UL; ctx->state[2] = 0x3070dd17UL; ctx->state[3] = 0xf70e5939UL; ctx->state[4] = 0xffc00b31UL; ctx->state[5] = 0x68581511UL; ctx->state[6] = 0x64f98fa7UL; ctx->state[7] = 0xbefa4fa4UL; ctx->total[0] = ctx->total[1] = 0; ctx->buflen = 0; } /* Copy the value from v into the memory location pointed to by *CP, If your architecture allows unaligned access, this is equivalent to * (__typeof__ (v) *) cp = v */ static void set_uint32 (char *cp, uint32_t v) { memcpy (cp, &v, sizeof v); } /* Put result from CTX in first 32 bytes following RESBUF. The result must be in little endian byte order. */ void * sha256_read_ctx (const struct sha256_ctx *ctx, void *resbuf) { int i; char *r = resbuf; for (i = 0; i < 8; i++) set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); return resbuf; } void * sha224_read_ctx (const struct sha256_ctx *ctx, void *resbuf) { int i; char *r = resbuf; for (i = 0; i < 7; i++) set_uint32 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); return resbuf; } /* Process the remaining bytes in the internal buffer and the usual prolog according to the standard and write the result to RESBUF. */ static void sha256_conclude_ctx (struct sha256_ctx *ctx) { /* Take yet unprocessed bytes into account. */ size_t bytes = ctx->buflen; size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4; /* Now count remaining bytes. */ ctx->total[0] += bytes; if (ctx->total[0] < bytes) ++ctx->total[1]; /* Put the 64-bit file length in *bits* at the end of the buffer. Use set_uint32 rather than a simple assignment, to avoid risk of unaligned access. */ set_uint32 ((char *) &ctx->buffer[size - 2], SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29))); set_uint32 ((char *) &ctx->buffer[size - 1], SWAP (ctx->total[0] << 3)); memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 4 - bytes); /* Process last bytes. */ sha256_process_block (ctx->buffer, size * 4, ctx); } void * sha256_finish_ctx (struct sha256_ctx *ctx, void *resbuf) { sha256_conclude_ctx (ctx); return sha256_read_ctx (ctx, resbuf); } void * sha224_finish_ctx (struct sha256_ctx *ctx, void *resbuf) { sha256_conclude_ctx (ctx); return sha224_read_ctx (ctx, resbuf); } /* Compute SHA256 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ void * sha256_buffer (const char *buffer, size_t len, void *resblock) { struct sha256_ctx ctx; /* Initialize the computation context. */ sha256_init_ctx (&ctx); /* Process whole buffer but last len % 64 bytes. */ sha256_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return sha256_finish_ctx (&ctx, resblock); } void * sha224_buffer (const char *buffer, size_t len, void *resblock) { struct sha256_ctx ctx; /* Initialize the computation context. */ sha224_init_ctx (&ctx); /* Process whole buffer but last len % 64 bytes. */ sha256_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return sha224_finish_ctx (&ctx, resblock); } void sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx) { /* When we already have some bits in our internal buffer concatenate both inputs first. */ if (ctx->buflen != 0) { size_t left_over = ctx->buflen; size_t add = 128 - left_over > len ? len : 128 - left_over; memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx->buflen += add; if (ctx->buflen > 64) { sha256_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ctx->buflen &= 63; /* The regions in the following copy operation cannot overlap, because ctx->buflen < 64 ≤ (left_over + add) & ~63. */ memcpy (ctx->buffer, &((char *) ctx->buffer)[(left_over + add) & ~63], ctx->buflen); } buffer = (const char *) buffer + add; len -= add; } /* Process available complete blocks. */ if (len >= 64) { #if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (uint32_t) != 0) if (UNALIGNED_P (buffer)) while (len > 64) { sha256_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); buffer = (const char *) buffer + 64; len -= 64; } else #endif { sha256_process_block (buffer, len & ~63, ctx); buffer = (const char *) buffer + (len & ~63); len &= 63; } } /* Move remaining bytes in internal buffer. */ if (len > 0) { size_t left_over = ctx->buflen; memcpy (&((char *) ctx->buffer)[left_over], buffer, len); left_over += len; if (left_over >= 64) { sha256_process_block (ctx->buffer, 64, ctx); left_over -= 64; /* The regions in the following copy operation cannot overlap, because left_over ≤ 64. */ memcpy (ctx->buffer, &ctx->buffer[16], left_over); } ctx->buflen = left_over; } } /* --- Code below is the primary difference between sha1.c and sha256.c --- */ /* SHA256 round constants */ #define K(I) sha256_round_constants[I] static const uint32_t sha256_round_constants[64] = { 0x428a2f98UL, 0x71374491UL, 0xb5c0fbcfUL, 0xe9b5dba5UL, 0x3956c25bUL, 0x59f111f1UL, 0x923f82a4UL, 0xab1c5ed5UL, 0xd807aa98UL, 0x12835b01UL, 0x243185beUL, 0x550c7dc3UL, 0x72be5d74UL, 0x80deb1feUL, 0x9bdc06a7UL, 0xc19bf174UL, 0xe49b69c1UL, 0xefbe4786UL, 0x0fc19dc6UL, 0x240ca1ccUL, 0x2de92c6fUL, 0x4a7484aaUL, 0x5cb0a9dcUL, 0x76f988daUL, 0x983e5152UL, 0xa831c66dUL, 0xb00327c8UL, 0xbf597fc7UL, 0xc6e00bf3UL, 0xd5a79147UL, 0x06ca6351UL, 0x14292967UL, 0x27b70a85UL, 0x2e1b2138UL, 0x4d2c6dfcUL, 0x53380d13UL, 0x650a7354UL, 0x766a0abbUL, 0x81c2c92eUL, 0x92722c85UL, 0xa2bfe8a1UL, 0xa81a664bUL, 0xc24b8b70UL, 0xc76c51a3UL, 0xd192e819UL, 0xd6990624UL, 0xf40e3585UL, 0x106aa070UL, 0x19a4c116UL, 0x1e376c08UL, 0x2748774cUL, 0x34b0bcb5UL, 0x391c0cb3UL, 0x4ed8aa4aUL, 0x5b9cca4fUL, 0x682e6ff3UL, 0x748f82eeUL, 0x78a5636fUL, 0x84c87814UL, 0x8cc70208UL, 0x90befffaUL, 0xa4506cebUL, 0xbef9a3f7UL, 0xc67178f2UL, }; /* Round functions. */ #define F2(A,B,C) ( ( A & B ) | ( C & ( A | B ) ) ) #define F1(E,F,G) ( G ^ ( E & ( F ^ G ) ) ) /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 64 == 0. Most of this code comes from GnuPG's cipher/sha1.c. */ void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) { const uint32_t *words = buffer; size_t nwords = len / sizeof (uint32_t); const uint32_t *endp = words + nwords; uint32_t x[16]; uint32_t a = ctx->state[0]; uint32_t b = ctx->state[1]; uint32_t c = ctx->state[2]; uint32_t d = ctx->state[3]; uint32_t e = ctx->state[4]; uint32_t f = ctx->state[5]; uint32_t g = ctx->state[6]; uint32_t h = ctx->state[7]; uint32_t lolen = len; /* First increment the byte count. FIPS PUB 180-2 specifies the possible length of the file up to 2^64 bits. Here we only compute the number of bytes. Do a double word increment. */ ctx->total[0] += lolen; ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); #define rol(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) #define S0(x) (rol(x,25)^rol(x,14)^(x>>3)) #define S1(x) (rol(x,15)^rol(x,13)^(x>>10)) #define SS0(x) (rol(x,30)^rol(x,19)^rol(x,10)) #define SS1(x) (rol(x,26)^rol(x,21)^rol(x,7)) #define M(I) ( tm = S1(x[(I-2)&0x0f]) + x[(I-7)&0x0f] \ + S0(x[(I-15)&0x0f]) + x[I&0x0f] \ , x[I&0x0f] = tm ) #define R(A,B,C,D,E,F,G,H,K,M) do { t0 = SS0(A) + F2(A,B,C); \ t1 = H + SS1(E) \ + F1(E,F,G) \ + K \ + M; \ D += t1; H = t0 + t1; \ } while(0) while (words < endp) { uint32_t tm; uint32_t t0, t1; int t; /* FIXME: see sha1.c for a better implementation. */ for (t = 0; t < 16; t++) { x[t] = SWAP (*words); words++; } R( a, b, c, d, e, f, g, h, K( 0), x[ 0] ); R( h, a, b, c, d, e, f, g, K( 1), x[ 1] ); R( g, h, a, b, c, d, e, f, K( 2), x[ 2] ); R( f, g, h, a, b, c, d, e, K( 3), x[ 3] ); R( e, f, g, h, a, b, c, d, K( 4), x[ 4] ); R( d, e, f, g, h, a, b, c, K( 5), x[ 5] ); R( c, d, e, f, g, h, a, b, K( 6), x[ 6] ); R( b, c, d, e, f, g, h, a, K( 7), x[ 7] ); R( a, b, c, d, e, f, g, h, K( 8), x[ 8] ); R( h, a, b, c, d, e, f, g, K( 9), x[ 9] ); R( g, h, a, b, c, d, e, f, K(10), x[10] ); R( f, g, h, a, b, c, d, e, K(11), x[11] ); R( e, f, g, h, a, b, c, d, K(12), x[12] ); R( d, e, f, g, h, a, b, c, K(13), x[13] ); R( c, d, e, f, g, h, a, b, K(14), x[14] ); R( b, c, d, e, f, g, h, a, K(15), x[15] ); R( a, b, c, d, e, f, g, h, K(16), M(16) ); R( h, a, b, c, d, e, f, g, K(17), M(17) ); R( g, h, a, b, c, d, e, f, K(18), M(18) ); R( f, g, h, a, b, c, d, e, K(19), M(19) ); R( e, f, g, h, a, b, c, d, K(20), M(20) ); R( d, e, f, g, h, a, b, c, K(21), M(21) ); R( c, d, e, f, g, h, a, b, K(22), M(22) ); R( b, c, d, e, f, g, h, a, K(23), M(23) ); R( a, b, c, d, e, f, g, h, K(24), M(24) ); R( h, a, b, c, d, e, f, g, K(25), M(25) ); R( g, h, a, b, c, d, e, f, K(26), M(26) ); R( f, g, h, a, b, c, d, e, K(27), M(27) ); R( e, f, g, h, a, b, c, d, K(28), M(28) ); R( d, e, f, g, h, a, b, c, K(29), M(29) ); R( c, d, e, f, g, h, a, b, K(30), M(30) ); R( b, c, d, e, f, g, h, a, K(31), M(31) ); R( a, b, c, d, e, f, g, h, K(32), M(32) ); R( h, a, b, c, d, e, f, g, K(33), M(33) ); R( g, h, a, b, c, d, e, f, K(34), M(34) ); R( f, g, h, a, b, c, d, e, K(35), M(35) ); R( e, f, g, h, a, b, c, d, K(36), M(36) ); R( d, e, f, g, h, a, b, c, K(37), M(37) ); R( c, d, e, f, g, h, a, b, K(38), M(38) ); R( b, c, d, e, f, g, h, a, K(39), M(39) ); R( a, b, c, d, e, f, g, h, K(40), M(40) ); R( h, a, b, c, d, e, f, g, K(41), M(41) ); R( g, h, a, b, c, d, e, f, K(42), M(42) ); R( f, g, h, a, b, c, d, e, K(43), M(43) ); R( e, f, g, h, a, b, c, d, K(44), M(44) ); R( d, e, f, g, h, a, b, c, K(45), M(45) ); R( c, d, e, f, g, h, a, b, K(46), M(46) ); R( b, c, d, e, f, g, h, a, K(47), M(47) ); R( a, b, c, d, e, f, g, h, K(48), M(48) ); R( h, a, b, c, d, e, f, g, K(49), M(49) ); R( g, h, a, b, c, d, e, f, K(50), M(50) ); R( f, g, h, a, b, c, d, e, K(51), M(51) ); R( e, f, g, h, a, b, c, d, K(52), M(52) ); R( d, e, f, g, h, a, b, c, K(53), M(53) ); R( c, d, e, f, g, h, a, b, K(54), M(54) ); R( b, c, d, e, f, g, h, a, K(55), M(55) ); R( a, b, c, d, e, f, g, h, K(56), M(56) ); R( h, a, b, c, d, e, f, g, K(57), M(57) ); R( g, h, a, b, c, d, e, f, K(58), M(58) ); R( f, g, h, a, b, c, d, e, K(59), M(59) ); R( e, f, g, h, a, b, c, d, K(60), M(60) ); R( d, e, f, g, h, a, b, c, K(61), M(61) ); R( c, d, e, f, g, h, a, b, K(62), M(62) ); R( b, c, d, e, f, g, h, a, K(63), M(63) ); a = ctx->state[0] += a; b = ctx->state[1] += b; c = ctx->state[2] += c; d = ctx->state[3] += d; e = ctx->state[4] += e; f = ctx->state[5] += f; g = ctx->state[6] += g; h = ctx->state[7] += h; } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/sha256.h0000644000000000000000000001175414767401140010537 /* Declarations of functions and data types used for SHA256 and SHA224 sum library functions. Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef SHA256_H # define SHA256_H 1 /* This file uses HAVE_OPENSSL_SHA256. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include # include # if HAVE_OPENSSL_SHA256 # ifndef OPENSSL_API_COMPAT # define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API. */ # endif /* If would give a compile-time error, don't use OpenSSL. */ # include # if OPENSSL_VERSION_MAJOR >= 3 # include # if (OPENSSL_CONFIGURED_API \ < (OPENSSL_API_COMPAT < 0x900000L ? OPENSSL_API_COMPAT : \ ((OPENSSL_API_COMPAT >> 28) & 0xF) * 10000 \ + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \ + ((OPENSSL_API_COMPAT >> 12) & 0xFF))) # undef HAVE_OPENSSL_SHA256 # endif # endif # if HAVE_OPENSSL_SHA256 # include # endif # endif # ifdef __cplusplus extern "C" { # endif enum { SHA224_DIGEST_SIZE = 224 / 8 }; enum { SHA256_DIGEST_SIZE = 256 / 8 }; # if HAVE_OPENSSL_SHA256 # define GL_OPENSSL_NAME 224 # include "gl_openssl.h" # define GL_OPENSSL_NAME 256 # include "gl_openssl.h" # else /* Structure to save state of computation between the single steps. */ struct sha256_ctx { uint32_t state[8]; uint32_t total[2]; size_t buflen; /* ≥ 0, ≤ 128 */ uint32_t buffer[32]; /* 128 bytes; the first buflen bytes are in use */ }; /* Initialize structure containing state of computation. */ extern void sha256_init_ctx (struct sha256_ctx *ctx); extern void sha224_init_ctx (struct sha256_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 64!!! */ extern void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 64. */ extern void sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 32 (28) bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha256_finish_ctx (struct sha256_ctx *ctx, void *restrict resbuf); extern void *sha224_finish_ctx (struct sha256_ctx *ctx, void *restrict resbuf); /* Put result from CTX in first 32 (28) bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha256_read_ctx (const struct sha256_ctx *ctx, void *restrict resbuf); extern void *sha224_read_ctx (const struct sha256_ctx *ctx, void *restrict resbuf); /* Compute SHA256 (SHA224) message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha256_buffer (const char *buffer, size_t len, void *restrict resblock); extern void *sha224_buffer (const char *buffer, size_t len, void *restrict resblock); # endif /* Compute SHA256 (SHA224) message digest for bytes read from STREAM. STREAM is an open file stream. Regular files are handled more efficiently. The contents of STREAM from its current position to its end will be read. The case that the last operation on STREAM was an 'ungetc' is not supported. The resulting message digest number will be written into the 32 (28) bytes beginning at RESBLOCK. */ extern int sha256_stream (FILE *stream, void *resblock); extern int sha224_stream (FILE *stream, void *resblock); # ifdef __cplusplus } # endif #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/sha512-stream.c0000644000000000000000000001002214767401140012001 /* sha512.c - Functions to compute SHA512 and SHA384 message digest of files or memory blocks according to the NIST specification FIPS-180-2. Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by David Madore, considerably copypasting from Scott G. Miller's sha1.c */ #include /* Specification. */ #include "sha512.h" #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include "af_alg.h" #define BLOCKSIZE 32768 #if BLOCKSIZE % 128 != 0 # error "invalid BLOCKSIZE" #endif /* Compute message digest for bytes read from STREAM using algorithm ALG. Write the message digest into RESBLOCK, which contains HASHLEN bytes. The initial and finishing operations are INIT_CTX and FINISH_CTX. Return zero if and only if successful. */ static int shaxxx_stream (FILE *stream, char const *alg, void *resblock, ssize_t hashlen, void (*init_ctx) (struct sha512_ctx *), void *(*finish_ctx) (struct sha512_ctx *, void *)) { switch (afalg_stream (stream, alg, resblock, hashlen)) { case 0: return 0; case -EIO: return 1; } char *buffer = malloc (BLOCKSIZE + 72); if (!buffer) return 1; struct sha512_ctx ctx; init_ctx (&ctx); size_t sum; /* Iterate over full file contents. */ while (1) { /* We read the file in blocks of BLOCKSIZE bytes. One call of the computation function processes the whole buffer so that with the next round of the loop another block can be read. */ size_t n; sum = 0; /* Read block. Take care for partial reads. */ while (1) { /* Either process a partial fread() from this loop, or the fread() in afalg_stream may have gotten EOF. We need to avoid a subsequent fread() as EOF may not be sticky. For details of such systems, see: https://sourceware.org/bugzilla/show_bug.cgi?id=1190 */ if (feof (stream)) goto process_partial_block; n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); sum += n; if (sum == BLOCKSIZE) break; if (n == 0) { /* Check for the error flag IFF N == 0, so that we don't exit the loop after a partial read due to e.g., EAGAIN or EWOULDBLOCK. */ if (ferror (stream)) { free (buffer); return 1; } goto process_partial_block; } } /* Process buffer with BLOCKSIZE bytes. Note that BLOCKSIZE % 128 == 0 */ sha512_process_block (buffer, BLOCKSIZE, &ctx); } process_partial_block:; /* Process any remaining bytes. */ if (sum > 0) sha512_process_bytes (buffer, sum, &ctx); /* Construct result in desired memory. */ finish_ctx (&ctx, resblock); free (buffer); return 0; } int sha512_stream (FILE *stream, void *resblock) { return shaxxx_stream (stream, "sha512", resblock, SHA512_DIGEST_SIZE, sha512_init_ctx, sha512_finish_ctx); } int sha384_stream (FILE *stream, void *resblock) { return shaxxx_stream (stream, "sha384", resblock, SHA384_DIGEST_SIZE, sha384_init_ctx, sha384_finish_ctx); } /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/sha512.c0000644000000000000000000004341414767401140010523 /* sha512.c - Functions to compute SHA512 and SHA384 message digest of files or memory blocks according to the NIST specification FIPS-180-2. Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by David Madore, considerably copypasting from Scott G. Miller's sha1.c */ #include /* Specification. */ #if HAVE_OPENSSL_SHA512 # define GL_OPENSSL_INLINE _GL_EXTERN_INLINE #endif #include "sha512.h" #include #include #include #ifdef WORDS_BIGENDIAN # define SWAP(n) (n) #else # define SWAP(n) u64bswap (n) #endif #if ! HAVE_OPENSSL_SHA512 /* This array contains the bytes used to pad the buffer to the next 128-byte boundary. */ static const unsigned char fillbuf[128] = { 0x80, 0 /* , 0, 0, ... */ }; /* Takes a pointer to a 512 bit block of data (eight 64 bit ints) and initializes it to the start constants of the SHA512 algorithm. This must be called before using hash in the call to sha512_hash */ void sha512_init_ctx (struct sha512_ctx *ctx) { ctx->state[0] = u64hilo (0x6a09e667, 0xf3bcc908); ctx->state[1] = u64hilo (0xbb67ae85, 0x84caa73b); ctx->state[2] = u64hilo (0x3c6ef372, 0xfe94f82b); ctx->state[3] = u64hilo (0xa54ff53a, 0x5f1d36f1); ctx->state[4] = u64hilo (0x510e527f, 0xade682d1); ctx->state[5] = u64hilo (0x9b05688c, 0x2b3e6c1f); ctx->state[6] = u64hilo (0x1f83d9ab, 0xfb41bd6b); ctx->state[7] = u64hilo (0x5be0cd19, 0x137e2179); ctx->total[0] = ctx->total[1] = u64lo (0); ctx->buflen = 0; } void sha384_init_ctx (struct sha512_ctx *ctx) { ctx->state[0] = u64hilo (0xcbbb9d5d, 0xc1059ed8); ctx->state[1] = u64hilo (0x629a292a, 0x367cd507); ctx->state[2] = u64hilo (0x9159015a, 0x3070dd17); ctx->state[3] = u64hilo (0x152fecd8, 0xf70e5939); ctx->state[4] = u64hilo (0x67332667, 0xffc00b31); ctx->state[5] = u64hilo (0x8eb44a87, 0x68581511); ctx->state[6] = u64hilo (0xdb0c2e0d, 0x64f98fa7); ctx->state[7] = u64hilo (0x47b5481d, 0xbefa4fa4); ctx->total[0] = ctx->total[1] = u64lo (0); ctx->buflen = 0; } /* Copy the value from V into the memory location pointed to by *CP, If your architecture allows unaligned access, this is equivalent to * (__typeof__ (v) *) cp = v */ static void set_uint64 (char *cp, u64 v) { memcpy (cp, &v, sizeof v); } /* Put result from CTX in first 64 bytes following RESBUF. The result must be in little endian byte order. */ void * sha512_read_ctx (const struct sha512_ctx *ctx, void *resbuf) { int i; char *r = resbuf; for (i = 0; i < 8; i++) set_uint64 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); return resbuf; } void * sha384_read_ctx (const struct sha512_ctx *ctx, void *resbuf) { int i; char *r = resbuf; for (i = 0; i < 6; i++) set_uint64 (r + i * sizeof ctx->state[0], SWAP (ctx->state[i])); return resbuf; } /* Process the remaining bytes in the internal buffer and the usual prolog according to the standard and write the result to RESBUF. */ static void sha512_conclude_ctx (struct sha512_ctx *ctx) { /* Take yet unprocessed bytes into account. */ size_t bytes = ctx->buflen; size_t size = (bytes < 112) ? 128 / 8 : 128 * 2 / 8; /* Now count remaining bytes. */ ctx->total[0] = u64plus (ctx->total[0], u64lo (bytes)); if (u64lt (ctx->total[0], u64lo (bytes))) ctx->total[1] = u64plus (ctx->total[1], u64lo (1)); /* Put the 128-bit file length in *bits* at the end of the buffer. Use set_uint64 rather than a simple assignment, to avoid risk of unaligned access. */ set_uint64 ((char *) &ctx->buffer[size - 2], SWAP (u64or (u64shl (ctx->total[1], 3), u64shr (ctx->total[0], 61)))); set_uint64 ((char *) &ctx->buffer[size - 1], SWAP (u64shl (ctx->total[0], 3))); memcpy (&((char *) ctx->buffer)[bytes], fillbuf, (size - 2) * 8 - bytes); /* Process last bytes. */ sha512_process_block (ctx->buffer, size * 8, ctx); } void * sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf) { sha512_conclude_ctx (ctx); return sha512_read_ctx (ctx, resbuf); } void * sha384_finish_ctx (struct sha512_ctx *ctx, void *resbuf) { sha512_conclude_ctx (ctx); return sha384_read_ctx (ctx, resbuf); } /* Compute SHA512 message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ void * sha512_buffer (const char *buffer, size_t len, void *resblock) { struct sha512_ctx ctx; /* Initialize the computation context. */ sha512_init_ctx (&ctx); /* Process whole buffer but last len % 128 bytes. */ sha512_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return sha512_finish_ctx (&ctx, resblock); } void * sha384_buffer (const char *buffer, size_t len, void *resblock) { struct sha512_ctx ctx; /* Initialize the computation context. */ sha384_init_ctx (&ctx); /* Process whole buffer but last len % 128 bytes. */ sha512_process_bytes (buffer, len, &ctx); /* Put result in desired memory area. */ return sha384_finish_ctx (&ctx, resblock); } void sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx) { /* When we already have some bits in our internal buffer concatenate both inputs first. */ if (ctx->buflen != 0) { size_t left_over = ctx->buflen; size_t add = 256 - left_over > len ? len : 256 - left_over; memcpy (&((char *) ctx->buffer)[left_over], buffer, add); ctx->buflen += add; if (ctx->buflen > 128) { sha512_process_block (ctx->buffer, ctx->buflen & ~127, ctx); ctx->buflen &= 127; /* The regions in the following copy operation cannot overlap, because ctx->buflen < 128 ≤ (left_over + add) & ~127. */ memcpy (ctx->buffer, &((char *) ctx->buffer)[(left_over + add) & ~127], ctx->buflen); } buffer = (const char *) buffer + add; len -= add; } /* Process available complete blocks. */ if (len >= 128) { #if !(_STRING_ARCH_unaligned || _STRING_INLINE_unaligned) # define UNALIGNED_P(p) ((uintptr_t) (p) % alignof (u64) != 0) if (UNALIGNED_P (buffer)) while (len > 128) { sha512_process_block (memcpy (ctx->buffer, buffer, 128), 128, ctx); buffer = (const char *) buffer + 128; len -= 128; } else #endif { sha512_process_block (buffer, len & ~127, ctx); buffer = (const char *) buffer + (len & ~127); len &= 127; } } /* Move remaining bytes in internal buffer. */ if (len > 0) { size_t left_over = ctx->buflen; memcpy (&((char *) ctx->buffer)[left_over], buffer, len); left_over += len; if (left_over >= 128) { sha512_process_block (ctx->buffer, 128, ctx); left_over -= 128; /* The regions in the following copy operation cannot overlap, because left_over ≤ 128. */ memcpy (ctx->buffer, &ctx->buffer[16], left_over); } ctx->buflen = left_over; } } /* --- Code below is the primary difference between sha1.c and sha512.c --- */ /* SHA512 round constants */ #define K(I) sha512_round_constants[I] static u64 const sha512_round_constants[80] = { u64init (0x428a2f98, 0xd728ae22), u64init (0x71374491, 0x23ef65cd), u64init (0xb5c0fbcf, 0xec4d3b2f), u64init (0xe9b5dba5, 0x8189dbbc), u64init (0x3956c25b, 0xf348b538), u64init (0x59f111f1, 0xb605d019), u64init (0x923f82a4, 0xaf194f9b), u64init (0xab1c5ed5, 0xda6d8118), u64init (0xd807aa98, 0xa3030242), u64init (0x12835b01, 0x45706fbe), u64init (0x243185be, 0x4ee4b28c), u64init (0x550c7dc3, 0xd5ffb4e2), u64init (0x72be5d74, 0xf27b896f), u64init (0x80deb1fe, 0x3b1696b1), u64init (0x9bdc06a7, 0x25c71235), u64init (0xc19bf174, 0xcf692694), u64init (0xe49b69c1, 0x9ef14ad2), u64init (0xefbe4786, 0x384f25e3), u64init (0x0fc19dc6, 0x8b8cd5b5), u64init (0x240ca1cc, 0x77ac9c65), u64init (0x2de92c6f, 0x592b0275), u64init (0x4a7484aa, 0x6ea6e483), u64init (0x5cb0a9dc, 0xbd41fbd4), u64init (0x76f988da, 0x831153b5), u64init (0x983e5152, 0xee66dfab), u64init (0xa831c66d, 0x2db43210), u64init (0xb00327c8, 0x98fb213f), u64init (0xbf597fc7, 0xbeef0ee4), u64init (0xc6e00bf3, 0x3da88fc2), u64init (0xd5a79147, 0x930aa725), u64init (0x06ca6351, 0xe003826f), u64init (0x14292967, 0x0a0e6e70), u64init (0x27b70a85, 0x46d22ffc), u64init (0x2e1b2138, 0x5c26c926), u64init (0x4d2c6dfc, 0x5ac42aed), u64init (0x53380d13, 0x9d95b3df), u64init (0x650a7354, 0x8baf63de), u64init (0x766a0abb, 0x3c77b2a8), u64init (0x81c2c92e, 0x47edaee6), u64init (0x92722c85, 0x1482353b), u64init (0xa2bfe8a1, 0x4cf10364), u64init (0xa81a664b, 0xbc423001), u64init (0xc24b8b70, 0xd0f89791), u64init (0xc76c51a3, 0x0654be30), u64init (0xd192e819, 0xd6ef5218), u64init (0xd6990624, 0x5565a910), u64init (0xf40e3585, 0x5771202a), u64init (0x106aa070, 0x32bbd1b8), u64init (0x19a4c116, 0xb8d2d0c8), u64init (0x1e376c08, 0x5141ab53), u64init (0x2748774c, 0xdf8eeb99), u64init (0x34b0bcb5, 0xe19b48a8), u64init (0x391c0cb3, 0xc5c95a63), u64init (0x4ed8aa4a, 0xe3418acb), u64init (0x5b9cca4f, 0x7763e373), u64init (0x682e6ff3, 0xd6b2b8a3), u64init (0x748f82ee, 0x5defb2fc), u64init (0x78a5636f, 0x43172f60), u64init (0x84c87814, 0xa1f0ab72), u64init (0x8cc70208, 0x1a6439ec), u64init (0x90befffa, 0x23631e28), u64init (0xa4506ceb, 0xde82bde9), u64init (0xbef9a3f7, 0xb2c67915), u64init (0xc67178f2, 0xe372532b), u64init (0xca273ece, 0xea26619c), u64init (0xd186b8c7, 0x21c0c207), u64init (0xeada7dd6, 0xcde0eb1e), u64init (0xf57d4f7f, 0xee6ed178), u64init (0x06f067aa, 0x72176fba), u64init (0x0a637dc5, 0xa2c898a6), u64init (0x113f9804, 0xbef90dae), u64init (0x1b710b35, 0x131c471b), u64init (0x28db77f5, 0x23047d84), u64init (0x32caab7b, 0x40c72493), u64init (0x3c9ebe0a, 0x15c9bebc), u64init (0x431d67c4, 0x9c100d4c), u64init (0x4cc5d4be, 0xcb3e42b6), u64init (0x597f299c, 0xfc657e2a), u64init (0x5fcb6fab, 0x3ad6faec), u64init (0x6c44198c, 0x4a475817), }; /* Round functions. */ #define F2(A, B, C) u64or (u64and (A, B), u64and (C, u64or (A, B))) #define F1(E, F, G) u64xor (G, u64and (E, u64xor (F, G))) /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 128 == 0. Most of this code comes from GnuPG's cipher/sha1.c. */ void sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx) { u64 const *words = buffer; u64 const *endp = words + len / sizeof (u64); u64 x[16]; u64 a = ctx->state[0]; u64 b = ctx->state[1]; u64 c = ctx->state[2]; u64 d = ctx->state[3]; u64 e = ctx->state[4]; u64 f = ctx->state[5]; u64 g = ctx->state[6]; u64 h = ctx->state[7]; u64 lolen = u64size (len); /* First increment the byte count. FIPS PUB 180-2 specifies the possible length of the file up to 2^128 bits. Here we only compute the number of bytes. Do a double word increment. */ ctx->total[0] = u64plus (ctx->total[0], lolen); ctx->total[1] = u64plus (ctx->total[1], u64plus (u64size (len >> 31 >> 31 >> 2), u64lo (u64lt (ctx->total[0], lolen)))); #define S0(x) u64xor (u64rol(x, 63), u64xor (u64rol (x, 56), u64shr (x, 7))) #define S1(x) u64xor (u64rol (x, 45), u64xor (u64rol (x, 3), u64shr (x, 6))) #define SS0(x) u64xor (u64rol (x, 36), u64xor (u64rol (x, 30), u64rol (x, 25))) #define SS1(x) u64xor (u64rol(x, 50), u64xor (u64rol (x, 46), u64rol (x, 23))) #define M(I) (x[(I) & 15] \ = u64plus (x[(I) & 15], \ u64plus (S1 (x[((I) - 2) & 15]), \ u64plus (x[((I) - 7) & 15], \ S0 (x[((I) - 15) & 15]))))) #define R(A, B, C, D, E, F, G, H, K, M) \ do \ { \ u64 t0 = u64plus (SS0 (A), F2 (A, B, C)); \ u64 t1 = \ u64plus (H, u64plus (SS1 (E), \ u64plus (F1 (E, F, G), u64plus (K, M)))); \ D = u64plus (D, t1); \ H = u64plus (t0, t1); \ } \ while (0) while (words < endp) { int t; /* FIXME: see sha1.c for a better implementation. */ for (t = 0; t < 16; t++) { x[t] = SWAP (*words); words++; } R( a, b, c, d, e, f, g, h, K( 0), x[ 0] ); R( h, a, b, c, d, e, f, g, K( 1), x[ 1] ); R( g, h, a, b, c, d, e, f, K( 2), x[ 2] ); R( f, g, h, a, b, c, d, e, K( 3), x[ 3] ); R( e, f, g, h, a, b, c, d, K( 4), x[ 4] ); R( d, e, f, g, h, a, b, c, K( 5), x[ 5] ); R( c, d, e, f, g, h, a, b, K( 6), x[ 6] ); R( b, c, d, e, f, g, h, a, K( 7), x[ 7] ); R( a, b, c, d, e, f, g, h, K( 8), x[ 8] ); R( h, a, b, c, d, e, f, g, K( 9), x[ 9] ); R( g, h, a, b, c, d, e, f, K(10), x[10] ); R( f, g, h, a, b, c, d, e, K(11), x[11] ); R( e, f, g, h, a, b, c, d, K(12), x[12] ); R( d, e, f, g, h, a, b, c, K(13), x[13] ); R( c, d, e, f, g, h, a, b, K(14), x[14] ); R( b, c, d, e, f, g, h, a, K(15), x[15] ); R( a, b, c, d, e, f, g, h, K(16), M(16) ); R( h, a, b, c, d, e, f, g, K(17), M(17) ); R( g, h, a, b, c, d, e, f, K(18), M(18) ); R( f, g, h, a, b, c, d, e, K(19), M(19) ); R( e, f, g, h, a, b, c, d, K(20), M(20) ); R( d, e, f, g, h, a, b, c, K(21), M(21) ); R( c, d, e, f, g, h, a, b, K(22), M(22) ); R( b, c, d, e, f, g, h, a, K(23), M(23) ); R( a, b, c, d, e, f, g, h, K(24), M(24) ); R( h, a, b, c, d, e, f, g, K(25), M(25) ); R( g, h, a, b, c, d, e, f, K(26), M(26) ); R( f, g, h, a, b, c, d, e, K(27), M(27) ); R( e, f, g, h, a, b, c, d, K(28), M(28) ); R( d, e, f, g, h, a, b, c, K(29), M(29) ); R( c, d, e, f, g, h, a, b, K(30), M(30) ); R( b, c, d, e, f, g, h, a, K(31), M(31) ); R( a, b, c, d, e, f, g, h, K(32), M(32) ); R( h, a, b, c, d, e, f, g, K(33), M(33) ); R( g, h, a, b, c, d, e, f, K(34), M(34) ); R( f, g, h, a, b, c, d, e, K(35), M(35) ); R( e, f, g, h, a, b, c, d, K(36), M(36) ); R( d, e, f, g, h, a, b, c, K(37), M(37) ); R( c, d, e, f, g, h, a, b, K(38), M(38) ); R( b, c, d, e, f, g, h, a, K(39), M(39) ); R( a, b, c, d, e, f, g, h, K(40), M(40) ); R( h, a, b, c, d, e, f, g, K(41), M(41) ); R( g, h, a, b, c, d, e, f, K(42), M(42) ); R( f, g, h, a, b, c, d, e, K(43), M(43) ); R( e, f, g, h, a, b, c, d, K(44), M(44) ); R( d, e, f, g, h, a, b, c, K(45), M(45) ); R( c, d, e, f, g, h, a, b, K(46), M(46) ); R( b, c, d, e, f, g, h, a, K(47), M(47) ); R( a, b, c, d, e, f, g, h, K(48), M(48) ); R( h, a, b, c, d, e, f, g, K(49), M(49) ); R( g, h, a, b, c, d, e, f, K(50), M(50) ); R( f, g, h, a, b, c, d, e, K(51), M(51) ); R( e, f, g, h, a, b, c, d, K(52), M(52) ); R( d, e, f, g, h, a, b, c, K(53), M(53) ); R( c, d, e, f, g, h, a, b, K(54), M(54) ); R( b, c, d, e, f, g, h, a, K(55), M(55) ); R( a, b, c, d, e, f, g, h, K(56), M(56) ); R( h, a, b, c, d, e, f, g, K(57), M(57) ); R( g, h, a, b, c, d, e, f, K(58), M(58) ); R( f, g, h, a, b, c, d, e, K(59), M(59) ); R( e, f, g, h, a, b, c, d, K(60), M(60) ); R( d, e, f, g, h, a, b, c, K(61), M(61) ); R( c, d, e, f, g, h, a, b, K(62), M(62) ); R( b, c, d, e, f, g, h, a, K(63), M(63) ); R( a, b, c, d, e, f, g, h, K(64), M(64) ); R( h, a, b, c, d, e, f, g, K(65), M(65) ); R( g, h, a, b, c, d, e, f, K(66), M(66) ); R( f, g, h, a, b, c, d, e, K(67), M(67) ); R( e, f, g, h, a, b, c, d, K(68), M(68) ); R( d, e, f, g, h, a, b, c, K(69), M(69) ); R( c, d, e, f, g, h, a, b, K(70), M(70) ); R( b, c, d, e, f, g, h, a, K(71), M(71) ); R( a, b, c, d, e, f, g, h, K(72), M(72) ); R( h, a, b, c, d, e, f, g, K(73), M(73) ); R( g, h, a, b, c, d, e, f, K(74), M(74) ); R( f, g, h, a, b, c, d, e, K(75), M(75) ); R( e, f, g, h, a, b, c, d, K(76), M(76) ); R( d, e, f, g, h, a, b, c, K(77), M(77) ); R( c, d, e, f, g, h, a, b, K(78), M(78) ); R( b, c, d, e, f, g, h, a, K(79), M(79) ); a = ctx->state[0] = u64plus (ctx->state[0], a); b = ctx->state[1] = u64plus (ctx->state[1], b); c = ctx->state[2] = u64plus (ctx->state[2], c); d = ctx->state[3] = u64plus (ctx->state[3], d); e = ctx->state[4] = u64plus (ctx->state[4], e); f = ctx->state[5] = u64plus (ctx->state[5], f); g = ctx->state[6] = u64plus (ctx->state[6], g); h = ctx->state[7] = u64plus (ctx->state[7], h); } } #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/sha512.h0000644000000000000000000001207614767401140010530 /* Declarations of functions and data types used for SHA512 and SHA384 sum library functions. Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef SHA512_H # define SHA512_H 1 /* This file uses HAVE_OPENSSL_SHA512. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include # include "u64.h" # if HAVE_OPENSSL_SHA512 # ifndef OPENSSL_API_COMPAT # define OPENSSL_API_COMPAT 0x10101000L /* FIXME: Use OpenSSL 1.1+ API. */ # endif /* If would give a compile-time error, don't use OpenSSL. */ # include # if OPENSSL_VERSION_MAJOR >= 3 # include # if (OPENSSL_CONFIGURED_API \ < (OPENSSL_API_COMPAT < 0x900000L ? OPENSSL_API_COMPAT : \ ((OPENSSL_API_COMPAT >> 28) & 0xF) * 10000 \ + ((OPENSSL_API_COMPAT >> 20) & 0xFF) * 100 \ + ((OPENSSL_API_COMPAT >> 12) & 0xFF))) # undef HAVE_OPENSSL_SHA512 # endif # endif # if HAVE_OPENSSL_SHA512 # include # endif # endif # ifdef __cplusplus extern "C" { # endif enum { SHA384_DIGEST_SIZE = 384 / 8 }; enum { SHA512_DIGEST_SIZE = 512 / 8 }; # if HAVE_OPENSSL_SHA512 # define GL_OPENSSL_NAME 384 # include "gl_openssl.h" # define GL_OPENSSL_NAME 512 # include "gl_openssl.h" # else /* Structure to save state of computation between the single steps. */ struct sha512_ctx { u64 state[8]; u64 total[2]; size_t buflen; /* ≥ 0, ≤ 256 */ u64 buffer[32]; /* 256 bytes; the first buflen bytes are in use */ }; /* Initialize structure containing state of computation. */ extern void sha512_init_ctx (struct sha512_ctx *ctx); extern void sha384_init_ctx (struct sha512_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is necessary that LEN is a multiple of 128!!! */ extern void sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx); /* Starting with the result of former calls of this function (or the initialization function update the context for the next LEN bytes starting at BUFFER. It is NOT required that LEN is a multiple of 128. */ extern void sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx); /* Process the remaining bytes in the buffer and put result from CTX in first 64 (48) bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha512_finish_ctx (struct sha512_ctx *ctx, void *restrict resbuf); extern void *sha384_finish_ctx (struct sha512_ctx *ctx, void *restrict resbuf); /* Put result from CTX in first 64 (48) bytes following RESBUF. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. IMPORTANT: On some systems it is required that RESBUF is correctly aligned for a 32 bits value. */ extern void *sha512_read_ctx (const struct sha512_ctx *ctx, void *restrict resbuf); extern void *sha384_read_ctx (const struct sha512_ctx *ctx, void *restrict resbuf); /* Compute SHA512 (SHA384) message digest for LEN bytes beginning at BUFFER. The result is always in little endian byte order, so that a byte-wise output yields to the wanted ASCII representation of the message digest. */ extern void *sha512_buffer (const char *buffer, size_t len, void *restrict resblock); extern void *sha384_buffer (const char *buffer, size_t len, void *restrict resblock); # endif /* Compute SHA512 (SHA384) message digest for bytes read from STREAM. STREAM is an open file stream. Regular files are handled more efficiently. The contents of STREAM from its current position to its end will be read. The case that the last operation on STREAM was an 'ungetc' is not supported. The resulting message digest number will be written into the 64 (48) bytes beginning at RESBLOCK. */ extern int sha512_stream (FILE *stream, void *resblock); extern int sha384_stream (FILE *stream, void *resblock); # ifdef __cplusplus } # endif #endif /* * Hey Emacs! * Local Variables: * coding: utf-8 * End: */ datamash-1.9/lib/signbitd.c0000644000000000000000000000410314767401140011313 /* signbit() macro: Determine the sign bit of a floating-point number. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include "isnand-nolibm.h" #include "float+.h" #ifdef gl_signbitd_OPTIMIZED_MACRO # undef gl_signbitd #endif int gl_signbitd (double arg) { #if defined DBL_SIGNBIT_WORD && defined DBL_SIGNBIT_BIT /* The use of a union to extract the bits of the representation of a 'double' is safe in practice, despite of the "aliasing rules" of C99, because the GCC docs say "Even with '-fstrict-aliasing', type-punning is allowed, provided the memory is accessed through the union type." and similarly for other compilers. */ # define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) union { double value; unsigned int word[NWORDS]; } m; m.value = arg; return (m.word[DBL_SIGNBIT_WORD] >> DBL_SIGNBIT_BIT) & 1; #elif HAVE_COPYSIGN_IN_LIBC return copysign (1.0, arg) < 0; #else /* This does not do the right thing for NaN, but this is irrelevant for most use cases. */ if (isnand (arg)) return 0; if (arg < 0.0) return 1; else if (arg == 0.0) { /* Distinguish 0.0 and -0.0. */ static double plus_zero = 0.0; double arg_mem = arg; return (memcmp (&plus_zero, &arg_mem, SIZEOF_DBL) != 0); } else return 0; #endif } datamash-1.9/lib/signbitf.c0000644000000000000000000000411314767401140011316 /* signbit() macro: Determine the sign bit of a floating-point number. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include "isnanf-nolibm.h" #include "float+.h" #ifdef gl_signbitf_OPTIMIZED_MACRO # undef gl_signbitf #endif int gl_signbitf (float arg) { #if defined FLT_SIGNBIT_WORD && defined FLT_SIGNBIT_BIT /* The use of a union to extract the bits of the representation of a 'float' is safe in practice, despite of the "aliasing rules" of C99, because the GCC docs say "Even with '-fstrict-aliasing', type-punning is allowed, provided the memory is accessed through the union type." and similarly for other compilers. */ # define NWORDS \ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) union { float value; unsigned int word[NWORDS]; } m; m.value = arg; return (m.word[FLT_SIGNBIT_WORD] >> FLT_SIGNBIT_BIT) & 1; #elif HAVE_COPYSIGNF_IN_LIBC return copysignf (1.0f, arg) < 0; #else /* This does not do the right thing for NaN, but this is irrelevant for most use cases. */ if (isnanf (arg)) return 0; if (arg < 0.0f) return 1; else if (arg == 0.0f) { /* Distinguish 0.0f and -0.0f. */ static float plus_zero = 0.0f; float arg_mem = arg; return (memcmp (&plus_zero, &arg_mem, SIZEOF_FLT) != 0); } else return 0; #endif } datamash-1.9/lib/signbitl.c0000644000000000000000000000416414767401140011332 /* signbit() macro: Determine the sign bit of a floating-point number. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include "isnanl-nolibm.h" #include "float+.h" #ifdef gl_signbitl_OPTIMIZED_MACRO # undef gl_signbitl #endif int gl_signbitl (long double arg) { #if defined LDBL_SIGNBIT_WORD && defined LDBL_SIGNBIT_BIT /* The use of a union to extract the bits of the representation of a 'long double' is safe in practice, despite of the "aliasing rules" of C99, because the GCC docs say "Even with '-fstrict-aliasing', type-punning is allowed, provided the memory is accessed through the union type." and similarly for other compilers. */ # define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) union { long double value; unsigned int word[NWORDS]; } m; m.value = arg; return (m.word[LDBL_SIGNBIT_WORD] >> LDBL_SIGNBIT_BIT) & 1; #elif HAVE_COPYSIGNL_IN_LIBC return copysignl (1.0L, arg) < 0; #else /* This does not do the right thing for NaN, but this is irrelevant for most use cases. */ if (isnanl (arg)) return 0; if (arg < 0.0L) return 1; else if (arg == 0.0L) { /* Distinguish 0.0L and -0.0L. */ static long double plus_zero = 0.0L; long double arg_mem = arg; return (memcmp (&plus_zero, &arg_mem, SIZEOF_LDBL) != 0); } else return 0; #endif } datamash-1.9/lib/size_max.h0000644000000000000000000000243414767401140011341 /* size_max.h -- declare SIZE_MAX through system headers Copyright (C) 2005-2006, 2009-2025 Free Software Foundation, Inc. Written by Simon Josefsson. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef GNULIB_SIZE_MAX_H #define GNULIB_SIZE_MAX_H /* This file uses HAVE_STDINT_H. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ # include /* Get SIZE_MAX declaration on systems like glibc 2. */ # if HAVE_STDINT_H # include # endif /* On systems where these include files don't define it, SIZE_MAX is defined in config.h. */ #endif /* GNULIB_SIZE_MAX_H */ datamash-1.9/lib/snprintf.c0000644000000000000000000000230414767401140011354 /* Formatted output to strings. Copyright (C) 2004, 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include #include #include int snprintf (char *str, size_t size, const char *format, ...) { va_list args; ptrdiff_t ret; va_start (args, format); ret = vsnzprintf (str, size, format, args); va_end (args); #if PTRDIFF_MAX > INT_MAX if (ret > INT_MAX) { errno = EOVERFLOW; return -1; } #endif return ret; } datamash-1.9/lib/sqrtl.c0000644000000000000000000000276714767401140010673 /* Emulation for sqrtl. Contributed by Paolo Bonzini Copyright 2002-2003, 2007, 2009-2025 Free Software Foundation, Inc. This file is part of gnulib. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE long double sqrtl (long double x) { return sqrt (x); } #else # include /* A simple Newton-Raphson method. */ long double sqrtl (long double x) { long double delta, y; int exponent; /* Check for NaN */ if (isnanl (x)) return x; /* Check for negative numbers */ if (x < 0.0L) return (long double) sqrt (-1); /* Check for zero and infinites */ if (x + x == x) return x; frexpl (x, &exponent); y = ldexpl (x, -exponent / 2); do { delta = y; y = (y + x / y) * 0.5L; delta -= y; } while (delta != 0.0L); return y; } #endif datamash-1.9/lib/stat-time.c0000644000000000000000000000152014767401140011417 /* stat-related time functions. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE #include "stat-time.h" datamash-1.9/lib/stat-time.h0000644000000000000000000001764414767401140011442 /* stat-related time functions. Copyright (C) 2005, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ #ifndef STAT_TIME_H #define STAT_TIME_H 1 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_UNUSED, _GL_ATTRIBUTE_PURE, HAVE_STRUCT_STAT_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include #include #include _GL_INLINE_HEADER_BEGIN #ifndef _GL_STAT_TIME_INLINE # define _GL_STAT_TIME_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* STAT_TIMESPEC (ST, ST_XTIM) is the ST_XTIM member for *ST of type struct timespec, if available. If not, then STAT_TIMESPEC_NS (ST, ST_XTIM) is the nanosecond component of the ST_XTIM member for *ST, if available. ST_XTIM can be st_atim, st_ctim, st_mtim, or st_birthtim for access, status change, data modification, or birth (creation) time respectively. These macros are private to stat-time.h. */ #if _GL_WINDOWS_STAT_TIMESPEC || defined HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC # if _GL_WINDOWS_STAT_TIMESPEC || defined TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) # define STAT_TIMESPEC_OFFSETOF(st_xtim) offsetof (struct stat, st_xtim) # else # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.tv_nsec) # endif #elif defined HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim##espec) # define STAT_TIMESPEC_OFFSETOF(st_xtim) offsetof (struct stat, st_xtim##espec) #elif defined HAVE_STRUCT_STAT_ST_ATIMENSEC # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim##ensec) #elif defined HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.st__tim.tv_nsec) #endif /* Return the nanosecond component of *ST's access time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_atime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_atim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_atim); # else return 0; # endif } /* Return the nanosecond component of *ST's status change time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_ctime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_ctim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_ctim); # else return 0; # endif } /* Return the nanosecond component of *ST's data modification time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_mtime_ns (struct stat const *st) { # if defined STAT_TIMESPEC return STAT_TIMESPEC (st, st_mtim).tv_nsec; # elif defined STAT_TIMESPEC_NS return STAT_TIMESPEC_NS (st, st_mtim); # else return 0; # endif } /* Return the nanosecond component of *ST's birth time. */ _GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE get_stat_birthtime_ns (_GL_UNUSED struct stat const *st) { # if defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC return STAT_TIMESPEC (st, st_birthtim).tv_nsec; # elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC return STAT_TIMESPEC_NS (st, st_birthtim); # else return 0; # endif } /* Return *ST's access time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_atime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_atim); #else return (struct timespec) { .tv_sec = st->st_atime, .tv_nsec = get_stat_atime_ns (st) }; #endif } /* Return *ST's status change time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_ctime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_ctim); #else return (struct timespec) { .tv_sec = st->st_ctime, .tv_nsec = get_stat_ctime_ns (st) }; #endif } /* Return *ST's data modification time. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_mtime (struct stat const *st) { #ifdef STAT_TIMESPEC return STAT_TIMESPEC (st, st_mtim); #else return (struct timespec) { .tv_sec = st->st_mtime, .tv_nsec = get_stat_mtime_ns (st) }; #endif } /* Return *ST's birth time, if available; otherwise return a value with tv_sec and tv_nsec both equal to -1. */ _GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE get_stat_birthtime (_GL_UNUSED struct stat const *st) { struct timespec t; #if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC) t = STAT_TIMESPEC (st, st_birthtim); #elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC t = (struct timespec) { .tv_sec = st->st_birthtime, .tv_nsec = st->st_birthtimensec }; #elif defined _WIN32 && ! defined __CYGWIN__ /* Native Windows platforms (but not Cygwin) put the "file creation time" in st_ctime (!). See . */ # if _GL_WINDOWS_STAT_TIMESPEC t = st->st_ctim; # else t = (struct timespec) { .tv_sec = st->st_ctime }; # endif #else /* Birth time is not supported. */ t = (struct timespec) { .tv_sec = -1, .tv_nsec = -1 }; #endif #if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC \ || defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC) /* FreeBSD and NetBSD sometimes signal the absence of knowledge by using zero. Attempt to work around this problem. Alas, this can report failure even for valid timestamps. Also, NetBSD sometimes returns junk in the birth time fields; work around this bug if it is detected. */ if (! (t.tv_sec && 0 <= t.tv_nsec && t.tv_nsec < 1000000000)) t = (struct timespec) { .tv_sec = -1, .tv_nsec = -1 }; #endif return t; } /* If a stat-like function returned RESULT, normalize the timestamps in *ST, if this platform suffers from a macOS and Solaris bug where tv_nsec might be negative. Return the adjusted RESULT, setting errno to EOVERFLOW if normalization overflowed. This function is intended to be private to this .h file. */ _GL_STAT_TIME_INLINE int stat_time_normalize (int result, _GL_UNUSED struct stat *st) { #if (((defined __APPLE__ && defined __MACH__) || defined __sun) \ && defined STAT_TIMESPEC_OFFSETOF) if (result == 0) { long int timespec_hz = 1000000000; short int const ts_off[] = { STAT_TIMESPEC_OFFSETOF (st_atim), STAT_TIMESPEC_OFFSETOF (st_mtim), STAT_TIMESPEC_OFFSETOF (st_ctim) }; int i; for (i = 0; i < sizeof ts_off / sizeof *ts_off; i++) { struct timespec *ts = (struct timespec *) ((char *) st + ts_off[i]); long int q = ts->tv_nsec / timespec_hz; long int r = ts->tv_nsec % timespec_hz; if (r < 0) { r += timespec_hz; q--; } ts->tv_nsec = r; /* Overflow is possible, as Solaris 11 stat can yield tv_sec == TYPE_MINIMUM (time_t) && tv_nsec == -1000000000. */ if (ckd_add (&ts->tv_sec, q, ts->tv_sec)) { errno = EOVERFLOW; return -1; } } } #endif return result; } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif datamash-1.9/lib/stat-w32.c0000644000000000000000000004420714767401140011105 /* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible. */ #include #if defined _WIN32 && ! defined __CYGWIN__ /* Attempt to make define FILE_ID_INFO. But ensure that the redefinition of _WIN32_WINNT does not make us assume Windows Vista or newer when building for an older version of Windows. */ #if HAVE_SDKDDKVER_H # include # if _WIN32_WINNT >= _WIN32_WINNT_VISTA # define WIN32_ASSUME_VISTA 1 # else # define WIN32_ASSUME_VISTA 0 # endif # if !defined _WIN32_WINNT || (_WIN32_WINNT < _WIN32_WINNT_WIN8) # undef _WIN32_WINNT # define _WIN32_WINNT _WIN32_WINNT_WIN8 # endif #else # define WIN32_ASSUME_VISTA (_WIN32_WINNT >= _WIN32_WINNT_VISTA) #endif #include #include #include #include #include #include #include /* Specification. */ #include "stat-w32.h" #include "pathmax.h" /* Don't assume that UNICODE is not defined. */ #undef LoadLibrary #define LoadLibrary LoadLibraryA #undef GetFinalPathNameByHandle #define GetFinalPathNameByHandle GetFinalPathNameByHandleA /* Older mingw headers do not define VOLUME_NAME_NONE. */ #ifndef VOLUME_NAME_NONE # define VOLUME_NAME_NONE 4 #endif #if !WIN32_ASSUME_VISTA /* Avoid warnings from gcc -Wcast-function-type. */ # define GetProcAddress \ (void *) GetProcAddress # if _GL_WINDOWS_STAT_INODES == 2 /* GetFileInformationByHandleEx was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFileInformationByHandleExFuncType) (HANDLE hFile, FILE_INFO_BY_HANDLE_CLASS fiClass, LPVOID lpBuffer, DWORD dwBufferSize); static GetFileInformationByHandleExFuncType GetFileInformationByHandleExFunc = NULL; # endif /* GetFinalPathNameByHandle was introduced only in Windows Vista. */ typedef DWORD (WINAPI * GetFinalPathNameByHandleFuncType) (HANDLE hFile, LPSTR lpFilePath, DWORD lenFilePath, DWORD dwFlags); static GetFinalPathNameByHandleFuncType GetFinalPathNameByHandleFunc = NULL; static BOOL initialized = FALSE; static void initialize (void) { HMODULE kernel32 = LoadLibrary ("kernel32.dll"); if (kernel32 != NULL) { # if _GL_WINDOWS_STAT_INODES == 2 GetFileInformationByHandleExFunc = (GetFileInformationByHandleExFuncType) GetProcAddress (kernel32, "GetFileInformationByHandleEx"); # endif GetFinalPathNameByHandleFunc = (GetFinalPathNameByHandleFuncType) GetProcAddress (kernel32, "GetFinalPathNameByHandleA"); } initialized = TRUE; } #else # define GetFileInformationByHandleExFunc GetFileInformationByHandleEx # define GetFinalPathNameByHandleFunc GetFinalPathNameByHandle #endif /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft) { struct timespec result; /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) { result.tv_sec = 0; result.tv_nsec = 0; } else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; result.tv_sec = since_1970 / (unsigned long long) 10000000; result.tv_nsec = (unsigned long) (since_1970 % (unsigned long long) 10000000) * 100; } return result; } #else time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft) { /* FILETIME: */ unsigned long long since_1601 = ((unsigned long long) ft->dwHighDateTime << 32) | (unsigned long long) ft->dwLowDateTime; if (since_1601 == 0) return 0; else { /* Between 1601-01-01 and 1970-01-01 there were 280 normal years and 89 leap years, in total 134774 days. */ unsigned long long since_1970 = since_1601 - (unsigned long long) 134774 * (unsigned long long) 86400 * (unsigned long long) 10000000; return since_1970 / (unsigned long long) 10000000; } } #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf) { /* GetFileType */ DWORD type = GetFileType (h); if (type == FILE_TYPE_DISK) { #if !WIN32_ASSUME_VISTA if (!initialized) initialize (); #endif /* st_mode can be determined through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ BY_HANDLE_FILE_INFORMATION info; if (! GetFileInformationByHandle (h, &info)) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { errno = EOVERFLOW; return -1; } #if _GL_WINDOWS_STAT_INODES /* st_ino can be determined through GetFileInformationByHandle as 64 bits, or through GetFileInformationByHandleEx with argument FileIdInfo as 128 bits. The latter requires -D_WIN32_WINNT=_WIN32_WINNT_WIN8 or higher. */ /* Experiments show that GetFileInformationByHandleEx does not provide much more information than GetFileInformationByHandle: * The dwVolumeSerialNumber from GetFileInformationByHandle is equal to the low 32 bits of the 64-bit VolumeSerialNumber from GetFileInformationByHandleEx, and is apparently sufficient for identifying the device. * The nFileIndex from GetFileInformationByHandle is equal to the low 64 bits of the 128-bit FileId from GetFileInformationByHandleEx, and the high 64 bits of this 128-bit FileId are zero. * On a FAT file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_PARAMETER, whereas GetFileInformationByHandle succeeds. * On a CIFS/SMB file system, GetFileInformationByHandleEx fails with error ERROR_INVALID_LEVEL, whereas GetFileInformationByHandle succeeds. */ # if _GL_WINDOWS_STAT_INODES == 2 if (GetFileInformationByHandleExFunc != NULL) { FILE_ID_INFO id; if (GetFileInformationByHandleExFunc (h, FileIdInfo, &id, sizeof (id))) { buf->st_dev = id.VolumeSerialNumber; static_assert (sizeof (ino_t) == sizeof (id.FileId)); memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t)); goto ino_done; } else { switch (GetLastError ()) { case ERROR_INVALID_PARAMETER: /* older Windows version, or FAT */ case ERROR_INVALID_LEVEL: /* CIFS/SMB file system */ goto fallback; default: goto failed; } } } fallback: ; /* Fallback for older Windows versions. */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino._gl_ino[0] = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; buf->st_ino._gl_ino[1] = 0; ino_done: ; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_dev = info.dwVolumeSerialNumber; buf->st_ino = ((ULONGLONG) info.nFileIndexHigh << 32) | (ULONGLONG) info.nFileIndexLow; # endif #else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; #endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. If the file name is already known, use it. Otherwise, for non-empty files, it can be determined through GetFinalPathNameByHandle or through GetFileInformationByHandleEx with argument FileNameInfo Both require -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { char fpath[PATH_MAX]; if (path != NULL || (GetFinalPathNameByHandleFunc != NULL && GetFinalPathNameByHandleFunc (h, fpath, sizeof (fpath), VOLUME_NAME_NONE) < sizeof (fpath) && (path = fpath, 1))) { const char *last_dot = NULL; const char *p; for (p = path; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } else /* Cannot determine file name. Pretend that it is executable. */ mode |= S_IEXEC_UGO; } } buf->st_mode = mode; /* st_nlink can be determined through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ buf->st_nlink = (info.nNumberOfLinks > SHRT_MAX ? SHRT_MAX : info.nNumberOfLinks); /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size can be determined through GetFileSizeEx or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileStandardInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime can be determined through GetFileTime or through GetFileAttributesEx or through GetFileInformationByHandle or through GetFileInformationByHandleEx with argument FileBasicInfo The latter requires -D_WIN32_WINNT=_WIN32_WINNT_VISTA or higher. */ #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); #else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); #endif return 0; } else if (type == FILE_TYPE_CHAR || type == FILE_TYPE_PIPE) { buf->st_dev = 0; #if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; #else buf->st_ino = 0; #endif buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); buf->st_nlink = 1; buf->st_uid = 0; buf->st_gid = 0; buf->st_rdev = 0; if (type == FILE_TYPE_PIPE) { /* PeekNamedPipe */ DWORD bytes_available; if (PeekNamedPipe (h, NULL, 0, NULL, &bytes_available, NULL)) buf->st_size = bytes_available; else buf->st_size = 0; } else buf->st_size = 0; #if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim.tv_sec = 0; buf->st_atim.tv_nsec = 0; buf->st_mtim.tv_sec = 0; buf->st_mtim.tv_nsec = 0; buf->st_ctim.tv_sec = 0; buf->st_ctim.tv_nsec = 0; #else buf->st_atime = 0; buf->st_mtime = 0; buf->st_ctime = 0; #endif return 0; } else { errno = ENOENT; return -1; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "_gl_fstat_by_handle error 0x%x\n", (unsigned int) error); #endif switch (error) { case ERROR_ACCESS_DENIED: case ERROR_SHARING_VIOLATION: errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; default: errno = EINVAL; break; } return -1; } } #else /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy; #endif datamash-1.9/lib/stat-w32.h0000644000000000000000000000310714767401140011104 /* Core of implementation of fstat and stat for native Windows. Copyright (C) 2017-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _STAT_W32_H #define _STAT_W32_H 1 /* Converts a FILETIME to GMT time since 1970-01-01 00:00:00. */ #if _GL_WINDOWS_STAT_TIMESPEC extern struct timespec _gl_convert_FILETIME_to_timespec (const FILETIME *ft); #else extern time_t _gl_convert_FILETIME_to_POSIX (const FILETIME *ft); #endif /* Fill *BUF with information about the file designated by H. PATH is the file name, if known, otherwise NULL. Return 0 if successful, or -1 with errno set upon failure. */ extern int _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf); /* Bitmasks for st_mode. */ #define S_IREAD_UGO (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6)) #define S_IWRITE_UGO (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) #define S_IEXEC_UGO (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6)) #endif /* _STAT_W32_H */ datamash-1.9/lib/stat.c0000644000000000000000000003271414767401140010474 /* Work around platform bugs in stat. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake and Bruno Haible. */ /* If the user's config.h happens to include , let it include only the system's here, so that orig_stat doesn't recurse to rpl_stat. */ #define __need_system_sys_stat_h #include /* Get the original definition of stat. It might be defined as a macro. */ #include #include #undef __need_system_sys_stat_h #if defined _WIN32 && ! defined __CYGWIN__ # define WINDOWS_NATIVE #endif #if !defined WINDOWS_NATIVE static int orig_stat (const char *filename, struct stat *buf) { return stat (filename, buf); } #endif /* Specification. */ #ifdef __osf__ /* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include above. */ # include "sys/stat.h" #else # include #endif #include "stat-time.h" #include #include #include #include "filename.h" #include "malloca.h" #ifdef WINDOWS_NATIVE # define WIN32_LEAN_AND_MEAN # include # include "stat-w32.h" /* Don't assume that UNICODE is not defined. */ # undef WIN32_FIND_DATA # define WIN32_FIND_DATA WIN32_FIND_DATAA # undef CreateFile # define CreateFile CreateFileA # undef FindFirstFile # define FindFirstFile FindFirstFileA #endif #ifdef WINDOWS_NATIVE /* Return TRUE if the given file name denotes an UNC root. */ static BOOL is_unc_root (const char *rname) { /* Test whether it has the syntax '\\server\share'. */ if (ISSLASH (rname[0]) && ISSLASH (rname[1])) { /* It starts with two slashes. Find the next slash. */ const char *p = rname + 2; const char *q = p; while (*q != '\0' && !ISSLASH (*q)) q++; if (q > p && *q != '\0') { /* Found the next slash at q. */ q++; const char *r = q; while (*r != '\0' && !ISSLASH (*r)) r++; if (r > q && *r == '\0') return TRUE; } } return FALSE; } #endif /* Store information about NAME into ST. Work around bugs with trailing slashes. Mingw has other bugs (such as st_ino always being 0 on success) which this wrapper does not work around. But at least this implementation provides the ability to emulate fchdir correctly. */ int rpl_stat (char const *name, struct stat *buf) { #ifdef WINDOWS_NATIVE /* Fill the fields ourselves, because the original stat function returns values for st_atime, st_mtime, st_ctime that depend on the current time zone. See */ /* XXX Should we convert to wchar_t* and prepend '\\?\', in order to work around length limitations ? */ /* POSIX specifies: "More than two leading characters shall be treated as a single character." */ if (ISSLASH (name[0]) && ISSLASH (name[1]) && ISSLASH (name[2])) { name += 2; while (ISSLASH (name[1])) name++; } size_t len = strlen (name); size_t drive_prefix_len = (HAS_DEVICE (name) ? 2 : 0); /* Remove trailing slashes (except the very first one, at position drive_prefix_len), but remember their presence. */ size_t rlen; bool check_dir = false; rlen = len; while (rlen > drive_prefix_len && ISSLASH (name[rlen-1])) { check_dir = true; if (rlen == drive_prefix_len + 1) break; rlen--; } /* Handle '' and 'C:'. */ if (!check_dir && rlen == drive_prefix_len) { errno = ENOENT; return -1; } /* Handle '\\'. */ if (rlen == 1 && ISSLASH (name[0]) && len >= 2) { errno = ENOENT; return -1; } const char *rname; char *malloca_rname; if (rlen == len) { rname = name; malloca_rname = NULL; } else { malloca_rname = malloca (rlen + 1); if (malloca_rname == NULL) { errno = ENOMEM; return -1; } memcpy (malloca_rname, name, rlen); malloca_rname[rlen] = '\0'; rname = malloca_rname; } /* There are two ways to get at the requested information: - by scanning the parent directory and examining the relevant directory entry, - by opening the file directly. The first approach fails for root directories (e.g. 'C:\') and UNC root directories (e.g. '\\server\share'). The second approach fails for some system files (e.g. 'C:\pagefile.sys' and 'C:\hiberfil.sys'): ERROR_SHARING_VIOLATION. The second approach gives more information (in particular, correct st_dev, st_ino, st_nlink fields). So we use the second approach and, as a fallback except for root and UNC root directories, also the first approach. */ { int ret; { /* Approach based on the file. */ /* Open a handle to the file. CreateFile */ HANDLE h = CreateFile (rname, FILE_READ_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, /* FILE_FLAG_POSIX_SEMANTICS (treat file names that differ only in case as different) makes sense only when applied to *all* filesystem operations. */ FILE_FLAG_BACKUP_SEMANTICS /* | FILE_FLAG_POSIX_SEMANTICS */, NULL); if (h != INVALID_HANDLE_VALUE) { ret = _gl_fstat_by_handle (h, rname, buf); CloseHandle (h); goto done; } } /* Test for root and UNC root directories. */ if ((rlen == drive_prefix_len + 1 && ISSLASH (rname[drive_prefix_len])) || is_unc_root (rname)) goto failed; /* Fallback. */ { /* Approach based on the directory entry. */ if (strchr (rname, '?') != NULL || strchr (rname, '*') != NULL) { /* Other Windows API functions would fail with error ERROR_INVALID_NAME. */ if (malloca_rname != NULL) freea (malloca_rname); errno = ENOENT; return -1; } /* Get the details about the directory entry. This can be done through FindFirstFile or through FindFirstFileEx with argument FindExInfoBasic */ WIN32_FIND_DATA info; HANDLE h = FindFirstFile (rname, &info); if (h == INVALID_HANDLE_VALUE) goto failed; /* Test for error conditions before starting to fill *buf. */ if (sizeof (buf->st_size) <= 4 && info.nFileSizeHigh > 0) { FindClose (h); if (malloca_rname != NULL) freea (malloca_rname); errno = EOVERFLOW; return -1; } # if _GL_WINDOWS_STAT_INODES buf->st_dev = 0; # if _GL_WINDOWS_STAT_INODES == 2 buf->st_ino._gl_ino[0] = buf->st_ino._gl_ino[1] = 0; # else /* _GL_WINDOWS_STAT_INODES == 1 */ buf->st_ino = 0; # endif # else /* st_ino is not wide enough for identifying a file on a device. Without st_ino, st_dev is pointless. */ buf->st_dev = 0; buf->st_ino = 0; # endif /* st_mode. */ unsigned int mode = /* XXX How to handle FILE_ATTRIBUTE_REPARSE_POINT ? */ ((info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? _S_IFDIR | S_IEXEC_UGO : _S_IFREG) | S_IREAD_UGO | ((info.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? 0 : S_IWRITE_UGO); if (!(info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) { /* Determine whether the file is executable by looking at the file name suffix. */ if (info.nFileSizeHigh > 0 || info.nFileSizeLow > 0) { const char *last_dot = NULL; const char *p; for (p = info.cFileName; *p != '\0'; p++) if (*p == '.') last_dot = p; if (last_dot != NULL) { const char *suffix = last_dot + 1; if (_stricmp (suffix, "exe") == 0 || _stricmp (suffix, "bat") == 0 || _stricmp (suffix, "cmd") == 0 || _stricmp (suffix, "com") == 0) mode |= S_IEXEC_UGO; } } } buf->st_mode = mode; /* st_nlink. Ignore hard links here. */ buf->st_nlink = 1; /* There's no easy way to map the Windows SID concept to an integer. */ buf->st_uid = 0; buf->st_gid = 0; /* st_rdev is irrelevant for normal files and directories. */ buf->st_rdev = 0; /* st_size. */ if (sizeof (buf->st_size) <= 4) /* Range check already done above. */ buf->st_size = info.nFileSizeLow; else buf->st_size = ((long long) info.nFileSizeHigh << 32) | (long long) info.nFileSizeLow; /* st_atime, st_mtime, st_ctime. */ # if _GL_WINDOWS_STAT_TIMESPEC buf->st_atim = _gl_convert_FILETIME_to_timespec (&info.ftLastAccessTime); buf->st_mtim = _gl_convert_FILETIME_to_timespec (&info.ftLastWriteTime); buf->st_ctim = _gl_convert_FILETIME_to_timespec (&info.ftCreationTime); # else buf->st_atime = _gl_convert_FILETIME_to_POSIX (&info.ftLastAccessTime); buf->st_mtime = _gl_convert_FILETIME_to_POSIX (&info.ftLastWriteTime); buf->st_ctime = _gl_convert_FILETIME_to_POSIX (&info.ftCreationTime); # endif FindClose (h); ret = 0; } done: if (ret >= 0 && check_dir && !S_ISDIR (buf->st_mode)) { errno = ENOTDIR; ret = -1; } if (malloca_rname != NULL) { int saved_errno = errno; freea (malloca_rname); errno = saved_errno; } return ret; } failed: { DWORD error = GetLastError (); #if 0 fprintf (stderr, "rpl_stat error 0x%x\n", (unsigned int) error); #endif if (malloca_rname != NULL) freea (malloca_rname); switch (error) { /* Some of these errors probably cannot happen with the specific flags that we pass to CreateFile. But who knows... */ case ERROR_FILE_NOT_FOUND: /* The last component of rname does not exist. */ case ERROR_PATH_NOT_FOUND: /* Some directory component in rname does not exist. */ case ERROR_BAD_PATHNAME: /* rname is such as '\\server'. */ case ERROR_BAD_NET_NAME: /* rname is such as '\\server\nonexistentshare'. */ case ERROR_INVALID_NAME: /* rname contains wildcards, misplaced colon, etc. */ case ERROR_DIRECTORY: errno = ENOENT; break; case ERROR_ACCESS_DENIED: /* rname is such as 'C:\System Volume Information\foo'. */ case ERROR_SHARING_VIOLATION: /* rname is such as 'C:\pagefile.sys' (second approach only). */ /* XXX map to EACCES or EPERM? */ errno = EACCES; break; case ERROR_OUTOFMEMORY: errno = ENOMEM; break; case ERROR_WRITE_PROTECT: errno = EROFS; break; case ERROR_WRITE_FAULT: case ERROR_READ_FAULT: case ERROR_GEN_FAILURE: errno = EIO; break; case ERROR_BUFFER_OVERFLOW: case ERROR_FILENAME_EXCED_RANGE: errno = ENAMETOOLONG; break; case ERROR_DELETE_PENDING: /* XXX map to EACCES or EPERM? */ errno = EPERM; break; default: errno = EINVAL; break; } return -1; } #else int result = orig_stat (name, buf); if (result == 0) { # if REPLACE_FUNC_STAT_FILE /* Solaris 9 mistakenly succeeds when given a non-directory with a trailing slash. */ if (!S_ISDIR (buf->st_mode)) { size_t len = strlen (name); if (ISSLASH (name[len - 1])) { errno = ENOTDIR; return -1; } } # endif /* REPLACE_FUNC_STAT_FILE */ result = stat_time_normalize (result, buf); } return result; #endif } datamash-1.9/lib/stdarg.in.h0000644000000000000000000000237714767401140011421 /* Substitute for and wrapper around . Copyright (C) 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_STDARG_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDARG_H@ #ifndef _@GUARD_PREFIX@_STDARG_H #define _@GUARD_PREFIX@_STDARG_H /* This file uses va_copy. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #ifndef va_copy # define va_copy(a,b) ((a) = (b)) #endif #endif /* _@GUARD_PREFIX@_STDARG_H */ #endif /* _@GUARD_PREFIX@_STDARG_H */ datamash-1.9/lib/stdckdint.in.h0000644000000000000000000000264114767401140012116 /* stdckdint.h -- checked integer arithmetic Copyright 2022-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_STDCKDINT_H #define _GL_STDCKDINT_H #include "intprops-internal.h" /* Store into *R the low-order bits of A + B, A - B, A * B, respectively. Return 1 if the result overflows, 0 otherwise. A, B, and *R can have any integer type other than char, bool, a bit-precise integer type, or an enumeration type. These are like the standard macros introduced in C23, except that arguments should not have side effects. */ #define ckd_add(r, a, b) ((bool) _GL_INT_ADD_WRAPV (a, b, r)) #define ckd_sub(r, a, b) ((bool) _GL_INT_SUBTRACT_WRAPV (a, b, r)) #define ckd_mul(r, a, b) ((bool) _GL_INT_MULTIPLY_WRAPV (a, b, r)) #endif /* _GL_STDCKDINT_H */ datamash-1.9/lib/stddef.in.h0000644000000000000000000001714114767401140011401 /* A substitute for POSIX 2008 , for platforms that have issues. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake. */ /* * POSIX 2008 and ISO C 23 for platforms that have issues. * */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (defined __need_wchar_t || defined __need_size_t \ || defined __need_ptrdiff_t || defined __need_NULL \ || defined __need_wint_t) \ /* Avoid warning triggered by "gcc -std=gnu23 -Wsystem-headers" \ in Fedora 40 with gcc 14.0.1. \ . */ \ && !@STDDEF_NOT_IDEMPOTENT@ /* Special invocation convention inside gcc header files. In particular, in some ancient versions of GCC blindly redefined NULL when __need_wint_t was defined, even though wint_t is not normally provided by . (FIXME: It's not clear what GCC versions those were - perhaps so ancient that we can stop worrying about this?) Although glibc 2.26 (2017) and later do not use __need_wint_t, for portability to macOS, Cygwin, Haiku, and older Glibc + GCC, remember if special invocation has ever been used to obtain wint_t, in which case we need to clean up NULL yet again. */ # if !(defined _@GUARD_PREFIX@_STDDEF_H && defined _@GUARD_PREFIX@_STDDEF_WINT_T) # ifdef __need_wint_t # define _@GUARD_PREFIX@_STDDEF_WINT_T # endif # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ /* On TinyCC, make sure that the macros that indicate the special invocation convention get undefined. */ # undef __need_wchar_t # undef __need_size_t # undef __need_ptrdiff_t # undef __need_NULL # undef __need_wint_t # endif #else /* For @STDDEF_NOT_IDEMPOTENT@. */ # undef __need_wchar_t # undef __need_size_t # undef __need_ptrdiff_t # undef __need_NULL # undef __need_wint_t /* Normal invocation convention. */ # ifndef _@GUARD_PREFIX@_STDDEF_H /* On AIX 7.2, with xlc in 64-bit mode, defines max_align_t to a type with alignment 4, but 'long' has alignment 8. */ # if defined _AIX && defined __LP64__ && !@HAVE_MAX_ALIGN_T@ # if !GNULIB_defined_max_align_t # ifdef _MAX_ALIGN_T /* /usr/include/stddef.h has already defined max_align_t. Override it. */ typedef long rpl_max_align_t; # define max_align_t rpl_max_align_t # else /* Prevent /usr/include/stddef.h from defining max_align_t. */ typedef long max_align_t; # define _MAX_ALIGN_T # endif # define __CLANG_MAX_ALIGN_T_DEFINED # define GNULIB_defined_max_align_t 1 # endif # endif # if !defined _GCC_NULLPTR_T && !@NULLPTR_T_NEEDS_STDDEF@ /* Suppress unwanted nullptr_t typedef. See . */ # define _GCC_NULLPTR_T # endif /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ /* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ # if (@REPLACE_NULL@ \ && (!defined _@GUARD_PREFIX@_STDDEF_H || defined _@GUARD_PREFIX@_STDDEF_WINT_T)) # undef NULL # ifdef __cplusplus /* ISO C++ says that the macro NULL must expand to an integer constant expression, hence '((void *) 0)' is not allowed in C++. */ # if __GNUG__ >= 3 /* GNU C++ has a __null macro that behaves like an integer ('int' or 'long') but has the same size as a pointer. Use that, to avoid warnings. */ # define NULL __null # else # define NULL 0L # endif # else # define NULL ((void *) 0) # endif # endif # ifndef _@GUARD_PREFIX@_STDDEF_H # define _@GUARD_PREFIX@_STDDEF_H /* This file uses _Noreturn, _GL_ATTRIBUTE_NOTHROW. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 2) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__ # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* Some platforms lack max_align_t. The check for _GCC_MAX_ALIGN_T is a hack in case the configure-time test was done with g++ even though we are currently compiling with gcc. On MSVC, max_align_t is defined only in C++ mode, after was included. Its definition is good since it has an alignment of 8 (on x86 and x86_64). Similarly on OS/2 kLIBC. */ #if (defined _MSC_VER || (defined __KLIBC__ && !defined __LIBCN__)) \ && defined __cplusplus # include #else # if ! (@HAVE_MAX_ALIGN_T@ || (defined _GCC_MAX_ALIGN_T && !defined __clang__)) # if !GNULIB_defined_max_align_t /* On the x86, the maximum storage alignment of double, long, etc. is 4, but GCC's C11 ABI for x86 says that max_align_t has an alignment of 8, and the C11 standard allows this. Work around this problem by using __alignof__ (which returns 8 for double) rather than _Alignof (which returns 4), and align each union member accordingly. */ # if defined __GNUC__ || (__clang_major__ >= 4) # define _GL_STDDEF_ALIGNAS(type) \ __attribute__ ((__aligned__ (__alignof__ (type)))) # else # define _GL_STDDEF_ALIGNAS(type) /* */ # endif typedef union { char *__p _GL_STDDEF_ALIGNAS (char *); double __d _GL_STDDEF_ALIGNAS (double); long double __ld _GL_STDDEF_ALIGNAS (long double); long int __i _GL_STDDEF_ALIGNAS (long int); } rpl_max_align_t; # define max_align_t rpl_max_align_t # define __CLANG_MAX_ALIGN_T_DEFINED # define GNULIB_defined_max_align_t 1 # endif # endif #endif /* ISO C 23 § 7.21.1 The unreachable macro */ #ifndef unreachable /* Code borrowed from verify.h. */ # ifndef _GL_HAS_BUILTIN_UNREACHABLE # if defined __clang_major__ && __clang_major__ < 5 # define _GL_HAS_BUILTIN_UNREACHABLE 0 # elif 4 < __GNUC__ + (5 <= __GNUC_MINOR__) && !defined __clang__ # define _GL_HAS_BUILTIN_UNREACHABLE 1 # elif defined __has_builtin # define _GL_HAS_BUILTIN_UNREACHABLE __has_builtin (__builtin_unreachable) # else # define _GL_HAS_BUILTIN_UNREACHABLE 0 # endif # endif # if _GL_HAS_BUILTIN_UNREACHABLE # define unreachable() __builtin_unreachable () # elif 1200 <= _MSC_VER # define unreachable() __assume (0) # else /* Declare abort(), without including . */ extern # if defined __cplusplus "C" # endif _Noreturn void abort (void) # if defined __cplusplus && (__GLIBC__ >= 2) _GL_ATTRIBUTE_NOTHROW # endif ; # define unreachable() abort () # endif #endif # endif /* _@GUARD_PREFIX@_STDDEF_H */ # endif /* _@GUARD_PREFIX@_STDDEF_H */ #endif /* __need_XXX */ datamash-1.9/lib/stdint.in.h0000644000000000000000000005576414767401140011452 /* Copyright (C) 2001-2002, 2004-2025 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. This file is part of gnulib. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* * ISO C 99 for platforms that lack it. * */ #ifndef _@GUARD_PREFIX@_STDINT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* When including a system file that in turn includes , use the system , not our substitute. This avoids problems with (for example) VMS, whose includes . */ #define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H /* On Android (Bionic libc), includes this file before having defined 'time_t'. Therefore in this case avoid including other system header files; just include the system's . Ideally we should test __BIONIC__ here, but it is only defined after has been included; hence test __ANDROID__ instead. */ #if defined __ANDROID__ && defined _GL_INCLUDING_SYS_TYPES_H # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else /* Get those types that are already defined in other system include files, so that we can "#define int8_t signed char" below without worrying about a later system include file containing a "typedef signed char int8_t;" that will get messed up by our macro. Our macros should all be consistent with the system versions, except for the "fast" types and macros, which we recommend against using in public interfaces due to compiler differences. */ #if @HAVE_STDINT_H@ # if defined __sgi && ! defined __c99 /* Bypass IRIX's if in C89 mode, since it merely annoys users with "This header file is to be used only for c99 mode compilations" diagnostics. */ # define __STDINT_H__ # endif /* Some pre-C++11 implementations need this. */ # ifdef __cplusplus # ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS 1 # endif # ifndef __STDC_LIMIT_MACROS # define __STDC_LIMIT_MACROS 1 # endif # endif /* Other systems may have an incomplete or buggy . Include it before , since any "#include " in would reinclude us, skipping our contents because _@GUARD_PREFIX@_STDINT_H is defined. The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #endif #if ! defined _@GUARD_PREFIX@_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H #define _@GUARD_PREFIX@_STDINT_H /* Get SCHAR_MIN, SCHAR_MAX, UCHAR_MAX, INT_MIN, INT_MAX, LONG_MIN, LONG_MAX, ULONG_MAX, CHAR_BIT, _GL_INTEGER_WIDTH. */ #include /* Override WINT_MIN and WINT_MAX if gnulib's or overrides wint_t. */ #if @GNULIBHEADERS_OVERRIDE_WINT_T@ # undef WINT_MIN # undef WINT_MAX # define WINT_MIN 0x0U # define WINT_MAX 0xffffffffU #endif #if ! @HAVE_C99_STDINT_H@ /* defines some of the stdint.h types as well, on glibc, IRIX 6.5, and OpenBSD 3.8 (via ). AIX 5.2 isn't needed and causes troubles. Mac OS X 10.4.6 includes (which is us), but relies on the system definitions, so include after @NEXT_STDINT_H@. */ # if @HAVE_SYS_TYPES_H@ && ! defined _AIX # include # endif # if @HAVE_INTTYPES_H@ /* In OpenBSD 3.8, includes , which defines int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__. also defines intptr_t and uintptr_t. */ # include # elif @HAVE_SYS_INTTYPES_H@ /* Solaris 7 has the types except the *_fast*_t types, and the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. */ # include # endif # if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__ /* Linux libc4 >= 4.6.7 and libc5 have a that defines int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is included by . */ # include # endif # undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H /* Minimum and maximum values for an integer type under the usual assumption. Return an unspecified value if BITS == 0, adding a check to pacify picky compilers. */ /* These are separate macros, because if you try to merge these macros into a single one, HP-UX cc rejects the resulting expression in constant expressions. */ # define _STDINT_UNSIGNED_MIN(bits, zero) \ (zero) # define _STDINT_SIGNED_MIN(bits, zero) \ (~ _STDINT_MAX (1, bits, zero)) # define _STDINT_MAX(signed, bits, zero) \ (((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) #if !GNULIB_defined_stdint_types /* 7.18.1.1. Exact-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. */ # undef int8_t # undef uint8_t typedef signed char gl_int8_t; typedef unsigned char gl_uint8_t; # define int8_t gl_int8_t # define uint8_t gl_uint8_t # undef int16_t # undef uint16_t typedef short int gl_int16_t; typedef unsigned short int gl_uint16_t; # define int16_t gl_int16_t # define uint16_t gl_uint16_t # undef int32_t # undef uint32_t typedef int gl_int32_t; typedef unsigned int gl_uint32_t; # define int32_t gl_int32_t # define uint32_t gl_uint32_t /* If the system defines INT64_MAX, assume int64_t works. That way, if the underlying platform defines int64_t to be a 64-bit long long int, the code below won't mistakenly define it to be a 64-bit long int, which would mess up C++ name mangling. We must use #ifdef rather than #if, to avoid an error with HP-UX 10.20 cc. */ # ifdef INT64_MAX # define GL_INT64_T # else /* Do not undefine int64_t if gnulib is not being used with 64-bit types, since otherwise it breaks platforms like Tandem/NSK. */ # if LONG_MAX >> 31 >> 31 == 1 # undef int64_t typedef long int gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # elif defined _MSC_VER # undef int64_t typedef __int64 gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # else /* Verify that 'long long' has exactly 64 bits. */ typedef _gl_verify_int64_bits[ _STDINT_MAX (1, sizeof (long long) * CHAR_BIT, 0ll) >> 31 >> 31 == 1 ? 1 : -1]; # undef int64_t typedef long long int gl_int64_t; # define int64_t gl_int64_t # define GL_INT64_T # endif # endif # ifdef UINT64_MAX # define GL_UINT64_T # else # if ULONG_MAX >> 31 >> 31 >> 1 == 1 # undef uint64_t typedef unsigned long int gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # elif defined _MSC_VER # undef uint64_t typedef unsigned __int64 gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # else /* Verify that 'unsigned long long' has exactly 64 bits. */ typedef _gl_verify_uint64_bits[ _STDINT_MAX (0, sizeof (unsigned long long) * CHAR_BIT, 0ull) >> 31 >> 31 >> 1 == 1 ? 1 : -1]; # undef uint64_t typedef unsigned long long int gl_uint64_t; # define uint64_t gl_uint64_t # define GL_UINT64_T # endif # endif /* Avoid collision with Solaris 2.5.1 etc. */ # define _UINT8_T # define _UINT32_T # define _UINT64_T /* 7.18.1.2. Minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types are the same as the corresponding N_t types. */ # undef int_least8_t # undef uint_least8_t # undef int_least16_t # undef uint_least16_t # undef int_least32_t # undef uint_least32_t # undef int_least64_t # undef uint_least64_t # define int_least8_t int8_t # define uint_least8_t uint8_t # define int_least16_t int16_t # define uint_least16_t uint16_t # define int_least32_t int32_t # define uint_least32_t uint32_t # ifdef GL_INT64_T # define int_least64_t int64_t # endif # ifdef GL_UINT64_T # define uint_least64_t uint64_t # endif /* 7.18.1.3. Fastest minimum-width integer types */ /* Note: Other substitutes may define these types differently. It is not recommended to use these types in public header files. */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types are taken from the same list of types. The following code normally uses types consistent with glibc, as that lessens the chance of incompatibility with older GNU hosts. */ # undef int_fast8_t # undef uint_fast8_t # undef int_fast16_t # undef uint_fast16_t # undef int_fast32_t # undef uint_fast32_t # undef int_fast64_t # undef uint_fast64_t typedef signed char gl_int_fast8_t; typedef unsigned char gl_uint_fast8_t; # ifdef __sun /* Define types compatible with SunOS 5.10, so that code compiled under earlier SunOS versions works with code compiled under SunOS 5.10. */ typedef int gl_int_fast32_t; typedef unsigned int gl_uint_fast32_t; # else typedef long int gl_int_fast32_t; typedef unsigned long int gl_uint_fast32_t; # endif typedef gl_int_fast32_t gl_int_fast16_t; typedef gl_uint_fast32_t gl_uint_fast16_t; # define int_fast8_t gl_int_fast8_t # define uint_fast8_t gl_uint_fast8_t # define int_fast16_t gl_int_fast16_t # define uint_fast16_t gl_uint_fast16_t # define int_fast32_t gl_int_fast32_t # define uint_fast32_t gl_uint_fast32_t # ifdef GL_INT64_T # define int_fast64_t int64_t # endif # ifdef GL_UINT64_T # define uint_fast64_t uint64_t # endif /* 7.18.1.4. Integer types capable of holding object pointers */ /* kLIBC's defines _INTPTR_T_DECLARED and needs its own definitions of intptr_t and uintptr_t (which use int and unsigned) to avoid clashes with declarations of system functions like sbrk. Similarly, MinGW WSL-5.4.1 needs its own intptr_t and uintptr_t to avoid conflicting declarations of system functions like _findclose in . */ # if !((defined __KLIBC__ && defined _INTPTR_T_DECLARED) \ || (defined __INTPTR_WIDTH__ \ && __INTPTR_WIDTH__ != (defined _WIN64 ? LLONG_WIDTH : LONG_WIDTH)) \ || defined __MINGW32__) # undef intptr_t # undef uintptr_t # ifdef _WIN64 typedef long long int gl_intptr_t; typedef unsigned long long int gl_uintptr_t; # else typedef long int gl_intptr_t; typedef unsigned long int gl_uintptr_t; # endif # define intptr_t gl_intptr_t # define uintptr_t gl_uintptr_t # endif /* 7.18.1.5. Greatest-width integer types */ /* Note: These types are compiler dependent. It may be unwise to use them in public header files. */ /* If the system defines INTMAX_MAX, assume that intmax_t works, and similarly for UINTMAX_MAX and uintmax_t. This avoids problems with assuming one type where another is used by the system. */ # ifndef INTMAX_MAX # undef INTMAX_C # undef intmax_t # if LONG_MAX >> 30 == 1 typedef long long int gl_intmax_t; # define intmax_t gl_intmax_t # elif defined GL_INT64_T # define intmax_t int64_t # else typedef long int gl_intmax_t; # define intmax_t gl_intmax_t # endif # endif # ifndef UINTMAX_MAX # undef UINTMAX_C # undef uintmax_t # if ULONG_MAX >> 31 == 1 typedef unsigned long long int gl_uintmax_t; # define uintmax_t gl_uintmax_t # elif defined GL_UINT64_T # define uintmax_t uint64_t # else typedef unsigned long int gl_uintmax_t; # define uintmax_t gl_uintmax_t # endif # endif /* Verify that intmax_t and uintmax_t have the same size. Too much code breaks if this is not the case. If this check fails, the reason is likely to be found in the autoconf macros. */ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) ? 1 : -1]; # define GNULIB_defined_stdint_types 1 # endif /* !GNULIB_defined_stdint_types */ /* 7.18.2. Limits of specified-width integer types */ /* 7.18.2.1. Limits of exact-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. */ # undef INT8_MIN # undef INT8_MAX # undef UINT8_MAX # define INT8_MIN (~ INT8_MAX) # define INT8_MAX 127 # define UINT8_MAX 255 # undef INT16_MIN # undef INT16_MAX # undef UINT16_MAX # define INT16_MIN (~ INT16_MAX) # define INT16_MAX 32767 # define UINT16_MAX 65535 # undef INT32_MIN # undef INT32_MAX # undef UINT32_MAX # define INT32_MIN (~ INT32_MAX) # define INT32_MAX 2147483647 # define UINT32_MAX 4294967295U # if defined GL_INT64_T && ! defined INT64_MAX /* Prefer (- INTMAX_C (1) << 63) over (~ INT64_MAX) because SunPRO C 5.0 evaluates the latter incorrectly in preprocessor expressions. */ # define INT64_MIN (- INTMAX_C (1) << 63) # define INT64_MAX INTMAX_C (9223372036854775807) # endif # if defined GL_UINT64_T && ! defined UINT64_MAX # define UINT64_MAX UINTMAX_C (18446744073709551615) # endif /* 7.18.2.2. Limits of minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types are the same as the corresponding N_t types. */ # undef INT_LEAST8_MIN # undef INT_LEAST8_MAX # undef UINT_LEAST8_MAX # define INT_LEAST8_MIN INT8_MIN # define INT_LEAST8_MAX INT8_MAX # define UINT_LEAST8_MAX UINT8_MAX # undef INT_LEAST16_MIN # undef INT_LEAST16_MAX # undef UINT_LEAST16_MAX # define INT_LEAST16_MIN INT16_MIN # define INT_LEAST16_MAX INT16_MAX # define UINT_LEAST16_MAX UINT16_MAX # undef INT_LEAST32_MIN # undef INT_LEAST32_MAX # undef UINT_LEAST32_MAX # define INT_LEAST32_MIN INT32_MIN # define INT_LEAST32_MAX INT32_MAX # define UINT_LEAST32_MAX UINT32_MAX # undef INT_LEAST64_MIN # undef INT_LEAST64_MAX # ifdef GL_INT64_T # define INT_LEAST64_MIN INT64_MIN # define INT_LEAST64_MAX INT64_MAX # endif # undef UINT_LEAST64_MAX # ifdef GL_UINT64_T # define UINT_LEAST64_MAX UINT64_MAX # endif /* 7.18.2.3. Limits of fastest minimum-width integer types */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types are taken from the same list of types. */ # undef INT_FAST8_MIN # undef INT_FAST8_MAX # undef UINT_FAST8_MAX # define INT_FAST8_MIN SCHAR_MIN # define INT_FAST8_MAX SCHAR_MAX # define UINT_FAST8_MAX UCHAR_MAX # undef INT_FAST16_MIN # undef INT_FAST16_MAX # undef UINT_FAST16_MAX # define INT_FAST16_MIN INT_FAST32_MIN # define INT_FAST16_MAX INT_FAST32_MAX # define UINT_FAST16_MAX UINT_FAST32_MAX # undef INT_FAST32_MIN # undef INT_FAST32_MAX # undef UINT_FAST32_MAX # ifdef __sun # define INT_FAST32_MIN INT_MIN # define INT_FAST32_MAX INT_MAX # define UINT_FAST32_MAX UINT_MAX # else # define INT_FAST32_MIN LONG_MIN # define INT_FAST32_MAX LONG_MAX # define UINT_FAST32_MAX ULONG_MAX # endif # undef INT_FAST64_MIN # undef INT_FAST64_MAX # ifdef GL_INT64_T # define INT_FAST64_MIN INT64_MIN # define INT_FAST64_MAX INT64_MAX # endif # undef UINT_FAST64_MAX # ifdef GL_UINT64_T # define UINT_FAST64_MAX UINT64_MAX # endif /* 7.18.2.4. Limits of integer types capable of holding object pointers */ # undef INTPTR_MIN # undef INTPTR_MAX # undef UINTPTR_MAX # ifdef _WIN64 # define INTPTR_MIN LLONG_MIN # define INTPTR_MAX LLONG_MAX # define UINTPTR_MAX ULLONG_MAX # else # define INTPTR_MIN LONG_MIN # define INTPTR_MAX LONG_MAX # define UINTPTR_MAX ULONG_MAX # endif /* 7.18.2.5. Limits of greatest-width integer types */ # ifndef INTMAX_MAX # undef INTMAX_MIN # ifdef INT64_MAX # define INTMAX_MIN INT64_MIN # define INTMAX_MAX INT64_MAX # else # define INTMAX_MIN INT32_MIN # define INTMAX_MAX INT32_MAX # endif # endif # ifndef UINTMAX_MAX # ifdef UINT64_MAX # define UINTMAX_MAX UINT64_MAX # else # define UINTMAX_MAX UINT32_MAX # endif # endif /* 7.18.3. Limits of other integer types */ /* ptrdiff_t limits */ # undef PTRDIFF_MIN # undef PTRDIFF_MAX # if @APPLE_UNIVERSAL_BUILD@ # ifdef _LP64 # define PTRDIFF_MIN _STDINT_SIGNED_MIN (64, 0l) # define PTRDIFF_MAX _STDINT_MAX (1, 64, 0l) # else # define PTRDIFF_MIN _STDINT_SIGNED_MIN (32, 0) # define PTRDIFF_MAX _STDINT_MAX (1, 32, 0) # endif # else # define PTRDIFF_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) # define PTRDIFF_MAX \ _STDINT_MAX (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) # endif /* sig_atomic_t limits */ # undef SIG_ATOMIC_MIN # undef SIG_ATOMIC_MAX # if @HAVE_SIGNED_SIG_ATOMIC_T@ # define SIG_ATOMIC_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_SIG_ATOMIC_T@, 0@SIG_ATOMIC_T_SUFFIX@) # else # define SIG_ATOMIC_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_SIG_ATOMIC_T@, 0@SIG_ATOMIC_T_SUFFIX@) # endif # define SIG_ATOMIC_MAX \ _STDINT_MAX (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ 0@SIG_ATOMIC_T_SUFFIX@) /* size_t limit */ # undef SIZE_MAX # if @APPLE_UNIVERSAL_BUILD@ # ifdef _LP64 # define SIZE_MAX _STDINT_MAX (0, 64, 0ul) # else # define SIZE_MAX _STDINT_MAX (0, 32, 0ul) # endif # else # define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@) # endif /* wchar_t limits */ /* Get WCHAR_MIN, WCHAR_MAX. This include is not on the top, above, because on OSF/1 4.0 we have a sequence of nested includes -> -> -> , and the latter includes and assumes its types are already defined. */ # if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX) # define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H # include # undef _GL_JUST_INCLUDE_SYSTEM_WCHAR_H # endif # undef WCHAR_MIN # undef WCHAR_MAX # if @HAVE_SIGNED_WCHAR_T@ # define WCHAR_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) # else # define WCHAR_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) # endif # define WCHAR_MAX \ _STDINT_MAX (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) /* wint_t limits */ /* If gnulib's or overrides wint_t, @WINT_T_SUFFIX@ is not accurate, therefore use the definitions from above. */ # if !@GNULIBHEADERS_OVERRIDE_WINT_T@ # undef WINT_MIN # undef WINT_MAX # if @HAVE_SIGNED_WINT_T@ # define WINT_MIN \ _STDINT_SIGNED_MIN (@BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # else # define WINT_MIN \ _STDINT_UNSIGNED_MIN (@BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # endif # define WINT_MAX \ _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) # endif /* 7.18.4. Macros for integer constants */ /* 7.18.4.1. Macros for minimum-width integer constants */ /* According to ISO C 99 Technical Corrigendum 1 */ /* Here we assume a standard architecture where the hardware integer types have 8, 16, 32, optionally 64 bits, and int is 32 bits. */ # undef INT8_C # undef UINT8_C # define INT8_C(x) x # define UINT8_C(x) x # undef INT16_C # undef UINT16_C # define INT16_C(x) x # define UINT16_C(x) x # undef INT32_C # undef UINT32_C # define INT32_C(x) x # define UINT32_C(x) x ## U # undef INT64_C # undef UINT64_C # if LONG_MAX >> 31 >> 31 == 1 # define INT64_C(x) x##L # elif defined _MSC_VER # define INT64_C(x) x##i64 # else # define INT64_C(x) x##LL # endif # if ULONG_MAX >> 31 >> 31 >> 1 == 1 # define UINT64_C(x) x##UL # elif defined _MSC_VER # define UINT64_C(x) x##ui64 # else # define UINT64_C(x) x##ULL # endif /* 7.18.4.2. Macros for greatest-width integer constants */ # ifndef INTMAX_C # if LONG_MAX >> 30 == 1 # define INTMAX_C(x) x##LL # elif defined GL_INT64_T # define INTMAX_C(x) INT64_C(x) # else # define INTMAX_C(x) x##L # endif # endif # ifndef UINTMAX_C # if ULONG_MAX >> 31 == 1 # define UINTMAX_C(x) x##ULL # elif defined GL_UINT64_T # define UINTMAX_C(x) UINT64_C(x) # else # define UINTMAX_C(x) x##UL # endif # endif #endif /* !@HAVE_C99_STDINT_H@ */ /* Macros specified by ISO/IEC TS 18661-1:2014. */ #if (!defined UINTMAX_WIDTH \ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__)) # ifdef INT8_MAX # define INT8_WIDTH _GL_INTEGER_WIDTH (INT8_MIN, INT8_MAX) # endif # ifdef UINT8_MAX # define UINT8_WIDTH _GL_INTEGER_WIDTH (0, UINT8_MAX) # endif # ifdef INT16_MAX # define INT16_WIDTH _GL_INTEGER_WIDTH (INT16_MIN, INT16_MAX) # endif # ifdef UINT16_MAX # define UINT16_WIDTH _GL_INTEGER_WIDTH (0, UINT16_MAX) # endif # ifdef INT32_MAX # define INT32_WIDTH _GL_INTEGER_WIDTH (INT32_MIN, INT32_MAX) # endif # ifdef UINT32_MAX # define UINT32_WIDTH _GL_INTEGER_WIDTH (0, UINT32_MAX) # endif # ifdef INT64_MAX # define INT64_WIDTH _GL_INTEGER_WIDTH (INT64_MIN, INT64_MAX) # endif # ifdef UINT64_MAX # define UINT64_WIDTH _GL_INTEGER_WIDTH (0, UINT64_MAX) # endif # define INT_LEAST8_WIDTH _GL_INTEGER_WIDTH (INT_LEAST8_MIN, INT_LEAST8_MAX) # define UINT_LEAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST8_MAX) # define INT_LEAST16_WIDTH _GL_INTEGER_WIDTH (INT_LEAST16_MIN, INT_LEAST16_MAX) # define UINT_LEAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST16_MAX) # define INT_LEAST32_WIDTH _GL_INTEGER_WIDTH (INT_LEAST32_MIN, INT_LEAST32_MAX) # define UINT_LEAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST32_MAX) # define INT_LEAST64_WIDTH _GL_INTEGER_WIDTH (INT_LEAST64_MIN, INT_LEAST64_MAX) # define UINT_LEAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST64_MAX) # define INT_FAST8_WIDTH _GL_INTEGER_WIDTH (INT_FAST8_MIN, INT_FAST8_MAX) # define UINT_FAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST8_MAX) # define INT_FAST16_WIDTH _GL_INTEGER_WIDTH (INT_FAST16_MIN, INT_FAST16_MAX) # define UINT_FAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST16_MAX) # define INT_FAST32_WIDTH _GL_INTEGER_WIDTH (INT_FAST32_MIN, INT_FAST32_MAX) # define UINT_FAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST32_MAX) # define INT_FAST64_WIDTH _GL_INTEGER_WIDTH (INT_FAST64_MIN, INT_FAST64_MAX) # define UINT_FAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST64_MAX) # define INTPTR_WIDTH _GL_INTEGER_WIDTH (INTPTR_MIN, INTPTR_MAX) # define UINTPTR_WIDTH _GL_INTEGER_WIDTH (0, UINTPTR_MAX) # define INTMAX_WIDTH _GL_INTEGER_WIDTH (INTMAX_MIN, INTMAX_MAX) # define UINTMAX_WIDTH _GL_INTEGER_WIDTH (0, UINTMAX_MAX) # define PTRDIFF_WIDTH _GL_INTEGER_WIDTH (PTRDIFF_MIN, PTRDIFF_MAX) # define SIZE_WIDTH _GL_INTEGER_WIDTH (0, SIZE_MAX) # define WCHAR_WIDTH _GL_INTEGER_WIDTH (WCHAR_MIN, WCHAR_MAX) # ifdef WINT_MAX # define WINT_WIDTH _GL_INTEGER_WIDTH (WINT_MIN, WINT_MAX) # endif # ifdef SIG_ATOMIC_MAX # define SIG_ATOMIC_WIDTH _GL_INTEGER_WIDTH (SIG_ATOMIC_MIN, SIG_ATOMIC_MAX) # endif #endif /* !WINT_WIDTH && (_GNU_SOURCE || __STDC_WANT_IEC_60559_BFP_EXT__) */ #endif /* _@GUARD_PREFIX@_STDINT_H */ #endif /* !(defined __ANDROID__ && ...) */ #endif /* !defined _@GUARD_PREFIX@_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ datamash-1.9/lib/stdio-impl.h0000644000000000000000000002010614767401140011577 /* Implementation details of FILE streams. Copyright (C) 2007-2008, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Many stdio implementations have the same logic and therefore can share the same implementation of stdio extension API, except that some fields have different naming conventions, or their access requires some casts. */ /* Glibc 2.28 made _IO_UNBUFFERED and _IO_IN_BACKUP private. For now, work around this problem by defining them ourselves. FIXME: Do not rely on glibc internals. */ #if defined _IO_EOF_SEEN # if !defined _IO_UNBUFFERED # define _IO_UNBUFFERED 0x2 # endif # if !defined _IO_IN_BACKUP # define _IO_IN_BACKUP 0x100 # endif #endif /* BSD stdio derived implementations. */ #if defined __NetBSD__ /* NetBSD */ /* Get __NetBSD_Version__. */ # include #endif #include /* For detecting Plan9. */ #if defined __sferror || defined __DragonFly__ || defined __ANDROID__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ # if defined __DragonFly__ /* DragonFly */ /* See . */ # define fp_ ((struct { struct __FILE_public pub; \ struct { unsigned char *_base; int _size; } _bf; \ void *cookie; \ void *_close; \ void *_read; \ void *_seek; \ void *_write; \ struct { unsigned char *_base; int _size; } _ub; \ int _ur; \ unsigned char _ubuf[3]; \ unsigned char _nbuf[1]; \ struct { unsigned char *_base; int _size; } _lb; \ int _blksize; \ fpos_t _offset; \ /* More fields, not relevant here. */ \ } *) fp) /* See . */ # define _p pub._p # define _flags pub._flags # define _r pub._r # define _w pub._w # elif defined __ANDROID__ /* Android */ # ifdef __LP64__ # define _gl_flags_file_t int # else # define _gl_flags_file_t short # endif # ifdef __LP64__ # define _gl_file_offset_t int64_t # else /* see https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md */ # define _gl_file_offset_t __kernel_off_t # endif /* Up to this commit from 2015-10-12 the innards of FILE were public, and fp_ub could be defined like for OpenBSD, see and . After this commit, the innards of FILE are hidden. */ # define fp_ ((struct { unsigned char *_p; \ int _r; \ int _w; \ _gl_flags_file_t _flags; \ _gl_flags_file_t _file; \ struct { unsigned char *_base; size_t _size; } _bf; \ int _lbfsize; \ void *_cookie; \ void *_close; \ void *_read; \ void *_seek; \ void *_write; \ struct { unsigned char *_base; size_t _size; } _ext; \ unsigned char *_up; \ int _ur; \ unsigned char _ubuf[3]; \ unsigned char _nbuf[1]; \ struct { unsigned char *_base; size_t _size; } _lb; \ int _blksize; \ _gl_file_offset_t _offset; \ /* More fields, not relevant here. */ \ } *) fp) # else # define fp_ fp # endif # if (defined __NetBSD__ && __NetBSD_Version__ >= 105270000) || defined __OpenBSD__ || defined __minix /* NetBSD >= 1.5ZA, OpenBSD, Minix 3 */ /* See and and */ struct __sfileext { struct __sbuf _ub; /* ungetc buffer */ /* More fields, not relevant here. */ }; # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub # elif defined __ANDROID__ /* Android */ struct __sfileext { struct { unsigned char *_base; size_t _size; } _ub; /* ungetc buffer */ /* More fields, not relevant here. */ }; # define fp_ub ((struct __sfileext *) fp_->_ext._base)->_ub # else /* FreeBSD, NetBSD <= 1.5Z, DragonFly, Mac OS X, Cygwin */ # define fp_ub fp_->_ub # endif # define HASUB(fp) (fp_ub._base != NULL) # if defined __ANDROID__ /* Android */ /* Needed after this commit from 2016-01-25 */ # ifndef __SEOF # define __SLBF 1 # define __SNBF 2 # define __SRD 4 # define __SWR 8 # define __SRW 0x10 # define __SEOF 0x20 # define __SERR 0x40 # endif # ifndef __SOFF # define __SOFF 0x1000 # endif # endif #endif /* SystemV derived implementations. */ #ifdef __TANDEM /* NonStop Kernel */ # ifndef _IOERR /* These values were determined by the program 'stdioext-flags' at . */ # define _IOERR 0x40 # define _IOREAD 0x80 # define _IOWRT 0x4 # define _IORW 0x100 # endif #endif #if defined _IOERR # if defined __sun && defined _LP64 /* Solaris/{SPARC,AMD64} 64-bit */ # define fp_ ((struct { unsigned char *_ptr; \ unsigned char *_base; \ unsigned char *_end; \ long _cnt; \ int _file; \ unsigned int _flag; \ } *) fp) # elif defined __VMS /* OpenVMS */ # define fp_ ((struct _iobuf *) fp) # else # define fp_ fp # endif # if defined _SCO_DS || (defined __SCO_VERSION__ || defined __sysv5__) /* OpenServer 5, OpenServer 6, UnixWare 7 */ # define _cnt __cnt # define _ptr __ptr # define _base __base # define _flag __flag # endif #elif defined _WIN32 && ! defined __CYGWIN__ /* newer Windows with MSVC */ /* does not define the innards of FILE any more. */ # define WINDOWS_OPAQUE_FILE struct _gl_real_FILE { /* Note: Compared to older Windows and to mingw, it has the fields _base and _cnt swapped. */ unsigned char *_ptr; unsigned char *_base; int _cnt; int _flag; int _file; int _charbuf; int _bufsiz; }; # define fp_ ((struct _gl_real_FILE *) fp) /* These values were determined by a program similar to the one at . */ # define _IOREAD 0x1 # define _IOWRT 0x2 # define _IORW 0x4 # define _IOEOF 0x8 # define _IOERR 0x10 #endif datamash-1.9/lib/stdio-read.c0000644000000000000000000001361414767401140011552 /* POSIX compatible FILE stream read function. Copyright (C) 2008-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2011. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Replace these functions only if module 'nonblocking' is requested. */ #if GNULIB_NONBLOCKING /* On native Windows platforms, when read() is called on a non-blocking pipe with an empty buffer, ReadFile() fails with error GetLastError() = ERROR_NO_DATA, and read() in consequence fails with error EINVAL. This read() function is at the basis of the function which fills the buffer of a FILE stream. */ # if defined _WIN32 && ! defined __CYGWIN__ # include # include # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Don't assume that UNICODE is not defined. */ # undef GetNamedPipeHandleState # define GetNamedPipeHandleState GetNamedPipeHandleStateA # define CALL_WITH_ERRNO_FIX(RETTYPE, EXPRESSION, FAILED) \ if (ferror (stream)) \ return (EXPRESSION); \ else \ { \ RETTYPE ret; \ SetLastError (0); \ ret = (EXPRESSION); \ if (FAILED) \ { \ if (GetLastError () == ERROR_NO_DATA && ferror (stream)) \ { \ int fd = fileno (stream); \ if (fd >= 0) \ { \ HANDLE h = (HANDLE) _get_osfhandle (fd); \ if (GetFileType (h) == FILE_TYPE_PIPE) \ { \ /* h is a pipe or socket. */ \ DWORD state; \ if (GetNamedPipeHandleState (h, &state, NULL, NULL, \ NULL, NULL, 0) \ && (state & PIPE_NOWAIT) != 0) \ /* h is a pipe in non-blocking mode. \ Change errno from EINVAL to EAGAIN. */ \ errno = EAGAIN; \ } \ } \ } \ } \ return ret; \ } /* Enable this function definition only if gnulib's has prepared it. Otherwise we get a function definition conflict with mingw64's . */ # if GNULIB_SCANF int scanf (const char *format, ...) { int retval; va_list args; va_start (args, format); retval = vfscanf (stdin, format, args); va_end (args); return retval; } # endif /* Enable this function definition only if gnulib's has prepared it. Otherwise we get a function definition conflict with mingw64's . */ # if GNULIB_FSCANF int fscanf (FILE *stream, const char *format, ...) { int retval; va_list args; va_start (args, format); retval = vfscanf (stream, format, args); va_end (args); return retval; } # endif /* Enable this function definition only if gnulib's has prepared it. Otherwise we get a function definition conflict with mingw64's . */ # if GNULIB_VSCANF int vscanf (const char *format, va_list args) { return vfscanf (stdin, format, args); } # endif /* Enable this function definition only if gnulib's has prepared it. Otherwise we get a function definition conflict with mingw64's . */ # if GNULIB_VFSCANF int vfscanf (FILE *stream, const char *format, va_list args) #undef vfscanf { CALL_WITH_ERRNO_FIX (int, vfscanf (stream, format, args), ret == EOF) } # endif int getchar (void) { return fgetc (stdin); } int fgetc (FILE *stream) #undef fgetc { CALL_WITH_ERRNO_FIX (int, fgetc (stream), ret == EOF) } char * fgets (char *s, int n, FILE *stream) #undef fgets { CALL_WITH_ERRNO_FIX (char *, fgets (s, n, stream), ret == NULL) } /* We intentionally don't bother to fix gets. */ size_t fread (void *ptr, size_t s, size_t n, FILE *stream) #undef fread { CALL_WITH_ERRNO_FIX (size_t, fread (ptr, s, n, stream), ret < n) } # endif #endif datamash-1.9/lib/stdio-write.c0000644000000000000000000001670614767401140011776 /* POSIX compatible FILE stream write function. Copyright (C) 2008-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Replace these functions only if module 'nonblocking' or module 'sigpipe' is requested. */ #if GNULIB_NONBLOCKING || GNULIB_SIGPIPE /* On native Windows platforms, SIGPIPE does not exist. When write() is called on a pipe with no readers, WriteFile() fails with error GetLastError() = ERROR_NO_DATA, and write() in consequence fails with error EINVAL. This write() function is at the basis of the function which flushes the buffer of a FILE stream. */ # if defined _WIN32 && ! defined __CYGWIN__ # include # include # include # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include # if GNULIB_MSVC_NOTHROW # include "msvc-nothrow.h" # else # include # endif /* Don't assume that UNICODE is not defined. */ # undef GetNamedPipeHandleState # define GetNamedPipeHandleState GetNamedPipeHandleStateA # if GNULIB_NONBLOCKING # define CLEAR_ERRNO \ errno = 0; # define HANDLE_ENOSPC \ if (errno == ENOSPC && ferror (stream)) \ { \ int fd = fileno (stream); \ if (fd >= 0) \ { \ HANDLE h = (HANDLE) _get_osfhandle (fd); \ if (GetFileType (h) == FILE_TYPE_PIPE) \ { \ /* h is a pipe or socket. */ \ DWORD state; \ if (GetNamedPipeHandleState (h, &state, NULL, NULL, \ NULL, NULL, 0) \ && (state & PIPE_NOWAIT) != 0) \ /* h is a pipe in non-blocking mode. \ Change errno from ENOSPC to EAGAIN. */ \ errno = EAGAIN; \ } \ } \ } \ else # else # define CLEAR_ERRNO # define HANDLE_ENOSPC # endif # if GNULIB_SIGPIPE # define CLEAR_LastError \ SetLastError (0); # define HANDLE_ERROR_NO_DATA \ if (GetLastError () == ERROR_NO_DATA && ferror (stream)) \ { \ int fd = fileno (stream); \ if (fd >= 0 \ && GetFileType ((HANDLE) _get_osfhandle (fd)) \ == FILE_TYPE_PIPE) \ { \ /* Try to raise signal SIGPIPE. */ \ raise (SIGPIPE); \ /* If it is currently blocked or ignored, change errno from \ EINVAL to EPIPE. */ \ errno = EPIPE; \ } \ } \ else # else # define CLEAR_LastError # define HANDLE_ERROR_NO_DATA # endif # define CALL_WITH_SIGPIPE_EMULATION(RETTYPE, EXPRESSION, FAILED) \ if (ferror (stream)) \ return (EXPRESSION); \ else \ { \ RETTYPE ret; \ CLEAR_ERRNO \ CLEAR_LastError \ ret = (EXPRESSION); \ if (FAILED) \ { \ HANDLE_ENOSPC \ HANDLE_ERROR_NO_DATA \ ; \ } \ return ret; \ } # if !REPLACE_PRINTF_POSIX /* avoid collision with printf.c */ int printf (const char *format, ...) { int retval; va_list args; va_start (args, format); retval = vfprintf (stdout, format, args); va_end (args); return retval; } # endif # if !REPLACE_FPRINTF_POSIX /* avoid collision with fprintf.c */ int fprintf (FILE *stream, const char *format, ...) { int retval; va_list args; va_start (args, format); retval = vfprintf (stream, format, args); va_end (args); return retval; } # endif # if !REPLACE_VPRINTF_POSIX /* avoid collision with vprintf.c */ int vprintf (const char *format, va_list args) { return vfprintf (stdout, format, args); } # endif # if !REPLACE_VFPRINTF_POSIX /* avoid collision with vfprintf.c */ int vfprintf (FILE *stream, const char *format, va_list args) #undef vfprintf { CALL_WITH_SIGPIPE_EMULATION (int, vfprintf (stream, format, args), ret == EOF) } # endif int putchar (int c) { return fputc (c, stdout); } int fputc (int c, FILE *stream) #undef fputc { CALL_WITH_SIGPIPE_EMULATION (int, fputc (c, stream), ret == EOF) } int fputs (const char *string, FILE *stream) #undef fputs { CALL_WITH_SIGPIPE_EMULATION (int, fputs (string, stream), ret == EOF) } int puts (const char *string) #undef puts { FILE *stream = stdout; CALL_WITH_SIGPIPE_EMULATION (int, puts (string), ret == EOF) } size_t fwrite (const void *ptr, size_t s, size_t n, FILE *stream) #undef fwrite { CALL_WITH_SIGPIPE_EMULATION (size_t, fwrite (ptr, s, n, stream), ret < n) } # endif #endif datamash-1.9/lib/stdio.in.h0000644000000000000000000023670414767401140011262 /* A GNU-like . Copyright (C) 2004, 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined __need_FILE || defined __need___FILE || defined _@GUARD_PREFIX@_ALREADY_INCLUDING_STDIO_H || defined _GL_SKIP_GNULIB_STDIO_H /* Special invocation convention: - Inside glibc header files. - On OSF/1 5.1 we have a sequence of nested includes -> -> -> -> -> -> -> . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_STDIO_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STDIO_H /* Suppress macOS deprecation warnings for sprintf and vsprintf. */ #if (defined __APPLE__ && defined __MACH__) && !defined _POSIX_C_SOURCE # ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ # include # endif # if (defined MAC_OS_X_VERSION_MIN_REQUIRED \ && 130000 <= MAC_OS_X_VERSION_MIN_REQUIRED) # define _POSIX_C_SOURCE 200809L # define _GL_DEFINED__POSIX_C_SOURCE # endif #endif #define _@GUARD_PREFIX@_ALREADY_INCLUDING_STDIO_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDIO_H@ #undef _@GUARD_PREFIX@_ALREADY_INCLUDING_STDIO_H #ifdef _GL_DEFINED__POSIX_C_SOURCE # undef _GL_DEFINED__POSIX_C_SOURCE # undef _POSIX_C_SOURCE #endif #ifndef _@GUARD_PREFIX@_STDIO_H #define _@GUARD_PREFIX@_STDIO_H /* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_FORMAT, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_NOTHROW, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get va_list. Needed on many systems, including glibc 2.8. */ #include #include /* Get off_t and ssize_t. Needed on many systems, including glibc 2.8 and eglibc 2.11.2. May also define off_t to a 64-bit type on native Windows. Also defines off64_t on macOS, NetBSD, OpenBSD, MSVC, Cygwin, Haiku. */ #include /* Solaris 10 and NetBSD 7.0 declare renameat in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && (defined __sun || defined __NetBSD__) \ && ! defined __GLIBC__ # include #endif /* Android 4.3 declares renameat in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && defined __ANDROID__ \ && ! defined __GLIBC__ # include #endif /* MSVC declares 'perror' in , not in . We must include it before we #define perror rpl_perror. */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_PERROR@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) \ && ! defined __GLIBC__ # include #endif /* MSVC declares 'remove' in , not in . We must include it before we #define remove rpl_remove. */ /* MSVC declares 'rename' in , not in . We must include it before we #define rename rpl_rename. */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_REMOVE@ || @GNULIB_RENAME@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__) \ && ! defined __GLIBC__ # include #endif /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. */ #ifndef _GL_ATTRIBUTE_DEALLOC # if __GNUC__ >= 11 && !defined __clang__ # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) # else # define _GL_ATTRIBUTE_DEALLOC(f, i) # endif #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The __-protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf__' when they override the 'printf' function. */ #ifndef _GL_ATTRIBUTE_FORMAT # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) || defined __clang__ # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) # else # define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ # endif #endif /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly allocated memory. */ #ifndef _GL_ATTRIBUTE_MALLOC # if __GNUC__ >= 3 || defined __clang__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) # else # define _GL_ATTRIBUTE_MALLOC # endif #endif /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 2) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__ # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* An __attribute__ __format__ specifier for a function that takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD */ /* __gnu_printf__ is supported in GCC >= 4.4. */ #if (__GNUC__ + (__GNUC_MINOR__ >= 4) > 4) && !defined __clang__ # define _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD __gnu_printf__ #else # define _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD __printf__ #endif /* An __attribute__ __format__ specifier for a function that takes a format string and arguments, where the format string directives are the ones of the system printf(), rather than the ones standardized by ISO C99 and POSIX. _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM */ /* On mingw, Gnulib sets __USE_MINGW_ANSI_STDIO in order to get closer to the standards. The macro GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU indicates whether this change is effective. On older mingw, it is not. */ #if GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU # define _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD #else # define _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM __printf__ #endif /* _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. */ #define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, formatstring_parameter, first_argument)) /* _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD, except that it indicates to GCC that the supported format string directives are the ones of the system printf(), rather than the ones standardized by ISO C99 and POSIX. */ #define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM, formatstring_parameter, first_argument)) /* _GL_ATTRIBUTE_FORMAT_SCANF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. */ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__gnu_scanf__, formatstring_parameter, first_argument)) #else # define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) #endif /* _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF, except that it indicates to GCC that the supported format string directives are the ones of the system scanf(), rather than the ones standardized by ISO C99 and POSIX. */ #define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument) \ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Macros for stringification. */ #define _GL_STDIO_STRINGIZE(token) #token #define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) /* When also using extern inline, suppress the use of static inline in standard headers of problematic Apple configurations, as Libc at least through Libc-825.26 (2013-04-09) mishandles it; see, e.g., . Perhaps Apple will fix this some day. */ #if (defined _GL_EXTERN_INLINE_IN_USE && defined __APPLE__ \ && defined __GNUC__ && defined __STDC__) # undef putc_unlocked #endif /* Maximum number of characters produced by printing a NaN value. */ #ifndef _PRINTF_NAN_LEN_MAX # if defined __FreeBSD__ || defined __DragonFly__ \ || defined __NetBSD__ \ || (defined __APPLE__ && defined __MACH__) /* On BSD systems, a NaN value prints as just "nan", without a sign. */ # define _PRINTF_NAN_LEN_MAX 3 # elif (__GLIBC__ >= 2) || MUSL_LIBC || defined __OpenBSD__ || defined __sun || defined __CYGWIN__ /* glibc, musl libc, OpenBSD, Solaris libc, and Cygwin produce "[-]nan". */ # define _PRINTF_NAN_LEN_MAX 4 # elif defined _AIX /* AIX produces "[-]NaNQ". */ # define _PRINTF_NAN_LEN_MAX 5 # elif defined _WIN32 && !defined __CYGWIN__ /* On native Windows, the output can be: - with MSVC ucrt: "[-]nan" or "[-]nan(ind)" or "[-]nan(snan)", - with mingw: "[-]1.#IND" or "[-]1.#QNAN". */ # define _PRINTF_NAN_LEN_MAX 10 # elif defined __sgi /* On IRIX, the output typically is "[-]nan0xNNNNNNNN" with 8 hexadecimal digits. */ # define _PRINTF_NAN_LEN_MAX 14 # else /* We don't know, but 32 should be a safe maximum. */ # define _PRINTF_NAN_LEN_MAX 32 # endif #endif #if @GNULIB_DZPRINTF@ /* Prints formatted output to file descriptor FD. Returns the number of bytes written to the file descriptor. Upon failure, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure codes are ENOMEM and the possible failure codes from write(), excluding EINTR. */ _GL_FUNCDECL_SYS (dzprintf, off64_t, (int fd, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_SYS (dzprintf, off64_t, (int fd, const char *restrict format, ...)); #endif #if @GNULIB_DPRINTF@ /* Prints formatted output to file descriptor FD. Returns the number of bytes written to the file descriptor. Upon failure, returns a negative value. */ # if @REPLACE_DPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dprintf rpl_dprintf # endif _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *restrict format, ...)); # else # if !@HAVE_DPRINTF@ _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (dprintf); # endif #elif defined GNULIB_POSIXCHECK # undef dprintf # if HAVE_RAW_DECL_DPRINTF _GL_WARN_ON_USE (dprintf, "dprintf is unportable - " "use gnulib module dprintf for portability"); # endif #endif #if @GNULIB_FCLOSE@ /* Close STREAM and its underlying file descriptor. */ # if @REPLACE_FCLOSE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fclose rpl_fclose # endif _GL_FUNCDECL_RPL (fclose, int, (FILE *stream), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fclose, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (fclose, int, (FILE *stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fclose); # endif #elif defined GNULIB_POSIXCHECK # undef fclose /* Assume fclose is always declared. */ _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " "use gnulib module fclose for portable POSIX compliance"); #endif #if @GNULIB_MDA_FCLOSEALL@ /* On native Windows, map 'fcloseall' to '_fcloseall', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::fcloseall on all platforms that have it. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fcloseall # define fcloseall _fcloseall # endif _GL_CXXALIAS_MDA (fcloseall, int, (void)); # else # if @HAVE_DECL_FCLOSEALL@ # if defined __FreeBSD__ || defined __DragonFly__ _GL_CXXALIAS_SYS (fcloseall, void, (void)); # else _GL_CXXALIAS_SYS (fcloseall, int, (void)); # endif # endif # endif # if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_FCLOSEALL@ _GL_CXXALIASWARN (fcloseall); # endif #endif #if @GNULIB_FDOPEN@ # if @REPLACE_FDOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fdopen # define fdopen rpl_fdopen # endif _GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fdopen # define fdopen _fdopen # endif _GL_CXXALIAS_MDA (fdopen, FILE *, (int fd, const char *mode)); # else # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate fdopen with fclose or rpl_fclose. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (fdopen, FILE *, (int fd, const char *mode), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (fdopen, FILE *, (int fd, const char *mode), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); # endif # endif _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); # endif _GL_CXXALIASWARN (fdopen); #else # if @GNULIB_FCLOSE@ && (__GNUC__ >= 11 && !defined __clang__) && !defined fdopen /* For -Wmismatched-dealloc: Associate fdopen with fclose or rpl_fclose. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (fdopen, FILE *, (int fd, const char *mode), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (fdopen, FILE *, (int fd, const char *mode), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC); # endif # endif # if defined GNULIB_POSIXCHECK # undef fdopen /* Assume fdopen is always declared. */ _GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " "use gnulib module fdopen for portability"); # elif @GNULIB_MDA_FDOPEN@ /* On native Windows, map 'fdopen' to '_fdopen', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::fdopen always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fdopen # define fdopen _fdopen # endif _GL_CXXALIAS_MDA (fdopen, FILE *, (int fd, const char *mode)); # else _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); # endif _GL_CXXALIASWARN (fdopen); # endif #endif #if @GNULIB_FFLUSH@ /* Flush all pending data on STREAM according to POSIX rules. Both output and seekable input streams are supported. Note! LOSS OF DATA can occur if fflush is applied on an input stream that is _not_seekable_ or on an update stream that is _not_seekable_ and in which the most recent operation was input. Seekability can be tested with lseek(fileno(fp),0,SEEK_CUR). */ # if @REPLACE_FFLUSH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fflush rpl_fflush # endif _GL_FUNCDECL_RPL (fflush, int, (FILE *gl_stream), ); _GL_CXXALIAS_RPL (fflush, int, (FILE *gl_stream)); # else _GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fflush); # endif #elif defined GNULIB_POSIXCHECK # undef fflush /* Assume fflush is always declared. */ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " "use gnulib module fflush for portable POSIX compliance"); #endif #if @GNULIB_FGETC@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fgetc # define fgetc rpl_fgetc # endif _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fgetc, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fgetc); # endif #endif #if @GNULIB_FGETS@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fgets # define fgets rpl_fgets # endif _GL_FUNCDECL_RPL (fgets, char *, (char *restrict s, int n, FILE *restrict stream), _GL_ARG_NONNULL ((1, 3)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fgets, char *, (char *restrict s, int n, FILE *restrict stream)); # else _GL_CXXALIAS_SYS (fgets, char *, (char *restrict s, int n, FILE *restrict stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fgets); # endif #endif #if @GNULIB_MDA_FILENO@ /* On native Windows, map 'fileno' to '_fileno', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::fileno always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fileno # define fileno _fileno # endif _GL_CXXALIAS_MDA (fileno, int, (FILE *restrict stream)); # else _GL_CXXALIAS_SYS (fileno, int, (FILE *restrict stream)); # endif _GL_CXXALIASWARN (fileno); #endif #if @GNULIB_FOPEN@ # if (@GNULIB_FOPEN@ && @REPLACE_FOPEN@) \ || (@GNULIB_FOPEN_GNU@ && @REPLACE_FOPEN_FOR_FOPEN_GNU@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fopen # define fopen rpl_fopen # endif _GL_FUNCDECL_RPL (fopen, FILE *, (const char *restrict filename, const char *restrict mode), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fopen, FILE *, (const char *restrict filename, const char *restrict mode)); # else # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate fopen with fclose or rpl_fclose. */ _GL_FUNCDECL_SYS (fopen, FILE *, (const char *restrict filename, const char *restrict mode), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (fopen, FILE *, (const char *restrict filename, const char *restrict mode)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fopen); # endif #else # if @GNULIB_FCLOSE@ && (__GNUC__ >= 11 && !defined __clang__) && !defined fopen /* For -Wmismatched-dealloc: Associate fopen with fclose or rpl_fclose. */ _GL_FUNCDECL_SYS (fopen, FILE *, (const char *restrict filename, const char *restrict mode), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); # endif # if defined GNULIB_POSIXCHECK # undef fopen /* Assume fopen is always declared. */ _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " "use gnulib module fopen for portability"); # endif #endif #if @GNULIB_FZPRINTF@ /* Prints formatted output to stream FP. Returns the number of bytes written to the stream. Upon failure, returns -1 with the stream's error indicator set. Failure cause EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure causes are ENOMEM and the possible failure causes from fwrite(). */ _GL_FUNCDECL_SYS (fzprintf, off64_t, (FILE *restrict fp, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (fzprintf, off64_t, (FILE *restrict fp, const char *restrict format, ...)); #endif #if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ /* Prints formatted output to stream FP. Returns the number of bytes written to the stream. Upon failure, returns a negative value with the stream's error indicator set. */ # if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \ || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fprintf rpl_fprintf # endif # define GNULIB_overrides_fprintf 1 # if @GNULIB_FPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (fprintf, int, (FILE *restrict fp, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); # else _GL_FUNCDECL_RPL (fprintf, int, (FILE *restrict fp, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_RPL (fprintf, int, (FILE *restrict fp, const char *restrict format, ...)); # else _GL_CXXALIAS_SYS (fprintf, int, (FILE *restrict fp, const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fprintf); # endif #endif #if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_fprintf # undef fprintf # endif /* Assume fprintf is always declared. */ _GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " "use gnulib module fprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_FPURGE@ /* Discard all pending buffered I/O data on STREAM. STREAM must not be wide-character oriented. When discarding pending output, the file position is set back to where it was before the write calls. When discarding pending input, the file position is advanced to match the end of the previously read input. Return 0 if successful. Upon error, return -1 and set errno. */ # if @REPLACE_FPURGE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define fpurge rpl_fpurge # endif _GL_FUNCDECL_RPL (fpurge, int, (FILE *gl_stream), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fpurge, int, (FILE *gl_stream)); # else # if !@HAVE_DECL_FPURGE@ _GL_FUNCDECL_SYS (fpurge, int, (FILE *gl_stream), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fpurge); # endif #elif defined GNULIB_POSIXCHECK # undef fpurge # if HAVE_RAW_DECL_FPURGE _GL_WARN_ON_USE (fpurge, "fpurge is not always present - " "use gnulib module fpurge for portability"); # endif #endif #if @GNULIB_FPUTC@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fputc # define fputc rpl_fputc # endif _GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fputc, int, (int c, FILE *stream)); # else _GL_CXXALIAS_SYS (fputc, int, (int c, FILE *stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fputc); # endif #endif #if @GNULIB_FPUTS@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fputs # define fputs rpl_fputs # endif _GL_FUNCDECL_RPL (fputs, int, (const char *restrict string, FILE *restrict stream), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (fputs, int, (const char *restrict string, FILE *restrict stream)); # else _GL_CXXALIAS_SYS (fputs, int, (const char *restrict string, FILE *restrict stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fputs); # endif #endif #if @GNULIB_FREAD@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fread # define fread rpl_fread # endif _GL_FUNCDECL_RPL (fread, size_t, (void *restrict ptr, size_t s, size_t n, FILE *restrict stream), _GL_ARG_NONNULL ((4)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fread, size_t, (void *restrict ptr, size_t s, size_t n, FILE *restrict stream)); # else _GL_CXXALIAS_SYS (fread, size_t, (void *restrict ptr, size_t s, size_t n, FILE *restrict stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fread); # endif #endif #if @GNULIB_FREOPEN@ # if @REPLACE_FREOPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef freopen # define freopen rpl_freopen # endif _GL_FUNCDECL_RPL (freopen, FILE *, (const char *restrict filename, const char *restrict mode, FILE *restrict stream), _GL_ARG_NONNULL ((2, 3)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (freopen, FILE *, (const char *restrict filename, const char *restrict mode, FILE *restrict stream)); # else _GL_CXXALIAS_SYS (freopen, FILE *, (const char *restrict filename, const char *restrict mode, FILE *restrict stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (freopen); # endif #elif defined GNULIB_POSIXCHECK # undef freopen /* Assume freopen is always declared. */ _GL_WARN_ON_USE (freopen, "freopen on native Windows platforms is not POSIX compliant - " "use gnulib module freopen for portability"); #endif #if @GNULIB_FSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fscanf # define fscanf rpl_fscanf # endif _GL_FUNCDECL_RPL (fscanf, int, (FILE *restrict stream, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 3) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fscanf, int, (FILE *restrict stream, const char *restrict format, ...)); # else _GL_CXXALIAS_SYS (fscanf, int, (FILE *restrict stream, const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fscanf); # endif #endif /* Set up the following warnings, based on which modules are in use. GNU Coding Standards discourage the use of fseek, since it imposes an arbitrary limitation on some 32-bit hosts. Remember that the fseek module depends on the fseeko module, so we only have three cases to consider: 1. The developer is not using either module. Issue a warning under GNULIB_POSIXCHECK for both functions, to remind them that both functions have bugs on some systems. _GL_NO_LARGE_FILES has no impact on this warning. 2. The developer is using both modules. They may be unaware of the arbitrary limitations of fseek, so issue a warning under GNULIB_POSIXCHECK. On the other hand, they may be using both modules intentionally, so the developer can define _GL_NO_LARGE_FILES in the compilation units where the use of fseek is safe, to silence the warning. 3. The developer is using the fseeko module, but not fseek. Gnulib guarantees that fseek will still work around platform bugs in that case, but we presume that the developer is aware of the pitfalls of fseek and was trying to avoid it, so issue a warning even when GNULIB_POSIXCHECK is undefined. Again, _GL_NO_LARGE_FILES can be defined to silence the warning in particular compilation units. In C++ compilations with GNULIB_NAMESPACE, in order to avoid that fseek gets defined as a macro, it is recommended that the developer uses the fseek module, even if he is not calling the fseek function. Most gnulib clients that perform stream operations should fall into category 3. */ #if @GNULIB_FSEEK@ # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES # define _GL_FSEEK_WARN /* Category 2, above. */ # undef fseek # endif # if @REPLACE_FSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fseek # define fseek rpl_fseek # endif _GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence)); # else _GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fseek); # endif #endif #if @GNULIB_FSEEKO@ # if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES # define _GL_FSEEK_WARN /* Category 3, above. */ # undef fseek # endif # if @REPLACE_FSEEKO@ /* Provide an fseeko function that is aware of a preceding fflush(), and which detects pipes. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fseeko # define fseeko rpl_fseeko # endif _GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)); # else # if ! @HAVE_DECL_FSEEKO@ _GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)); # endif _GL_CXXALIASWARN (fseeko); #elif defined GNULIB_POSIXCHECK # define _GL_FSEEK_WARN /* Category 1, above. */ # undef fseek # undef fseeko # if HAVE_RAW_DECL_FSEEKO _GL_WARN_ON_USE (fseeko, "fseeko is unportable - " "use gnulib module fseeko for portability"); # endif #endif #ifdef _GL_FSEEK_WARN # undef _GL_FSEEK_WARN /* Here, either fseek is undefined (but C89 guarantees that it is declared), or it is defined as rpl_fseek (declared above). */ _GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB " "on 32-bit platforms - " "use fseeko function for handling of large files"); #endif /* ftell, ftello. See the comments on fseek/fseeko. */ #if @GNULIB_FTELL@ # if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES # define _GL_FTELL_WARN /* Category 2, above. */ # undef ftell # endif # if @REPLACE_FTELL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftell # define ftell rpl_ftell # endif _GL_FUNCDECL_RPL (ftell, long, (FILE *fp), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (ftell, long, (FILE *fp)); # else _GL_CXXALIAS_SYS (ftell, long, (FILE *fp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ftell); # endif #endif #if @GNULIB_FTELLO@ # if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES # define _GL_FTELL_WARN /* Category 3, above. */ # undef ftell # endif # if @REPLACE_FTELLO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftello # define ftello rpl_ftello # endif _GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp)); # else # if ! @HAVE_DECL_FTELLO@ _GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp)); # endif _GL_CXXALIASWARN (ftello); #elif defined GNULIB_POSIXCHECK # define _GL_FTELL_WARN /* Category 1, above. */ # undef ftell # undef ftello # if HAVE_RAW_DECL_FTELLO _GL_WARN_ON_USE (ftello, "ftello is unportable - " "use gnulib module ftello for portability"); # endif #endif #ifdef _GL_FTELL_WARN # undef _GL_FTELL_WARN /* Here, either ftell is undefined (but C89 guarantees that it is declared), or it is defined as rpl_ftell (declared above). */ _GL_WARN_ON_USE (ftell, "ftell cannot handle files larger than 4 GB " "on 32-bit platforms - " "use ftello function for handling of large files"); #endif #if @GNULIB_FWRITE@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fwrite # define fwrite rpl_fwrite # endif _GL_FUNCDECL_RPL (fwrite, size_t, (const void *restrict ptr, size_t s, size_t n, FILE *restrict stream), _GL_ARG_NONNULL ((1, 4))); _GL_CXXALIAS_RPL (fwrite, size_t, (const void *restrict ptr, size_t s, size_t n, FILE *restrict stream)); # else _GL_CXXALIAS_SYS (fwrite, size_t, (const void *restrict ptr, size_t s, size_t n, FILE *restrict stream)); /* Work around bug 11959 when fortifying glibc 2.4 through 2.15 , which sometimes causes an unwanted diagnostic for fwrite calls. This affects only function declaration attributes under certain versions of gcc and clang, and is not needed for C++. */ # if (0 < __USE_FORTIFY_LEVEL \ && __GLIBC__ == 2 && 4 <= __GLIBC_MINOR__ && __GLIBC_MINOR__ <= 15 \ && (3 < __GNUC__ + (4 <= __GNUC_MINOR__) || defined __clang__) \ && !defined __cplusplus) # undef fwrite # undef fwrite_unlocked _GL_EXTERN_C size_t __REDIRECT (rpl_fwrite, (const void *__restrict, size_t, size_t, FILE *__restrict), fwrite); _GL_EXTERN_C size_t __REDIRECT (rpl_fwrite_unlocked, (const void *__restrict, size_t, size_t, FILE *__restrict), fwrite_unlocked); # define fwrite rpl_fwrite # define fwrite_unlocked rpl_fwrite_unlocked # endif # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fwrite); # endif #endif #if @GNULIB_GETC@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getc # define getc rpl_fgetc # endif _GL_FUNCDECL_RPL (fgetc, int, (FILE *stream), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream)); # else _GL_CXXALIAS_SYS (getc, int, (FILE *stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getc); # endif #endif #if @GNULIB_GETCHAR@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getchar # define getchar rpl_getchar # endif _GL_FUNCDECL_RPL (getchar, int, (void), ); _GL_CXXALIAS_RPL (getchar, int, (void)); # else _GL_CXXALIAS_SYS (getchar, int, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getchar); # endif #endif #if @GNULIB_GETDELIM@ /* Read input, up to (and including) the next occurrence of DELIMITER, from STREAM, store it in *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE bytes of space. It is realloc'd as necessary. Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ # if @REPLACE_GETDELIM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdelim # define getdelim rpl_getdelim # endif _GL_FUNCDECL_RPL (getdelim, ssize_t, (char **restrict lineptr, size_t *restrict linesize, int delimiter, FILE *restrict stream), _GL_ARG_NONNULL ((1, 2, 4)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getdelim, ssize_t, (char **restrict lineptr, size_t *restrict linesize, int delimiter, FILE *restrict stream)); # else # if !@HAVE_DECL_GETDELIM@ _GL_FUNCDECL_SYS (getdelim, ssize_t, (char **restrict lineptr, size_t *restrict linesize, int delimiter, FILE *restrict stream), _GL_ARG_NONNULL ((1, 2, 4)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getdelim, ssize_t, (char **restrict lineptr, size_t *restrict linesize, int delimiter, FILE *restrict stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getdelim); # endif #elif defined GNULIB_POSIXCHECK # undef getdelim # if HAVE_RAW_DECL_GETDELIM _GL_WARN_ON_USE (getdelim, "getdelim is unportable - " "use gnulib module getdelim for portability"); # endif #endif #if @GNULIB_GETLINE@ /* Read a line, up to (and including) the next newline, from STREAM, store it in *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE bytes of space. It is realloc'd as necessary. Return the number of bytes read and stored at *LINEPTR (not including the NUL terminator), or -1 on error or EOF. */ # if @REPLACE_GETLINE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getline # define getline rpl_getline # endif _GL_FUNCDECL_RPL (getline, ssize_t, (char **restrict lineptr, size_t *restrict linesize, FILE *restrict stream), _GL_ARG_NONNULL ((1, 2, 3)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getline, ssize_t, (char **restrict lineptr, size_t *restrict linesize, FILE *restrict stream)); # else # if !@HAVE_DECL_GETLINE@ _GL_FUNCDECL_SYS (getline, ssize_t, (char **restrict lineptr, size_t *restrict linesize, FILE *restrict stream), _GL_ARG_NONNULL ((1, 2, 3)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getline, ssize_t, (char **restrict lineptr, size_t *restrict linesize, FILE *restrict stream)); # endif # if __GLIBC__ >= 2 && @HAVE_DECL_GETLINE@ _GL_CXXALIASWARN (getline); # endif #elif defined GNULIB_POSIXCHECK # undef getline # if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is unportable - " "use gnulib module getline for portability"); # endif #endif /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning; besides, C11 removed it. */ #undef gets #if HAVE_RAW_DECL_GETS && !defined __cplusplus _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif #if @GNULIB_MDA_GETW@ /* On native Windows, map 'getw' to '_getw', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::getw always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getw # define getw _getw # endif _GL_CXXALIAS_MDA (getw, int, (FILE *restrict stream)); # else # if @HAVE_DECL_GETW@ # if defined __APPLE__ && defined __MACH__ /* The presence of the declaration depends on _POSIX_C_SOURCE. */ _GL_FUNCDECL_SYS (getw, int, (FILE *restrict stream), ); # endif _GL_CXXALIAS_SYS (getw, int, (FILE *restrict stream)); # endif # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getw); # endif #endif #if @GNULIB_OBSTACK_ZPRINTF@ struct obstack; /* Grows an obstack with formatted output. Returns the number of bytes added to OBS. No trailing nul byte is added, and the object should be closed with obstack_finish before use. Upon memory allocation error, calls obstack_alloc_failed_handler. Upon other error, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure code is through obstack_alloc_failed_handler. */ _GL_FUNCDECL_SYS (obstack_zprintf, ptrdiff_t, (struct obstack *obs, const char *format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (obstack_zprintf, ptrdiff_t, (struct obstack *obs, const char *format, ...)); _GL_FUNCDECL_SYS (obstack_vzprintf, ptrdiff_t, (struct obstack *obs, const char *format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (obstack_vzprintf, ptrdiff_t, (struct obstack *obs, const char *format, va_list args)); #endif #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ struct obstack; /* Grows an obstack with formatted output. Returns the number of bytes added to OBS. No trailing nul byte is added, and the object should be closed with obstack_finish before use. Upon memory allocation error, calls obstack_alloc_failed_handler. Upon other error, returns -1. */ # if @REPLACE_OBSTACK_PRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define obstack_printf rpl_obstack_printf # endif _GL_FUNCDECL_RPL (obstack_printf, int, (struct obstack *obs, const char *format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (obstack_printf, int, (struct obstack *obs, const char *format, ...)); # else # if !@HAVE_DECL_OBSTACK_PRINTF@ _GL_FUNCDECL_SYS (obstack_printf, int, (struct obstack *obs, const char *format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (obstack_printf, int, (struct obstack *obs, const char *format, ...)); # endif _GL_CXXALIASWARN (obstack_printf); # if @REPLACE_OBSTACK_PRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define obstack_vprintf rpl_obstack_vprintf # endif _GL_FUNCDECL_RPL (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args)); # else # if !@HAVE_DECL_OBSTACK_PRINTF@ _GL_FUNCDECL_SYS (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (obstack_vprintf, int, (struct obstack *obs, const char *format, va_list args)); # endif _GL_CXXALIASWARN (obstack_vprintf); #endif #if @GNULIB_PCLOSE@ # if !@HAVE_PCLOSE@ _GL_FUNCDECL_SYS (pclose, int, (FILE *stream), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); _GL_CXXALIASWARN (pclose); #elif defined GNULIB_POSIXCHECK # undef pclose # if HAVE_RAW_DECL_PCLOSE _GL_WARN_ON_USE (pclose, "pclose is unportable - " "use gnulib module pclose for more portability"); # endif #endif #if @GNULIB_PERROR@ /* Print a message to standard error, describing the value of ERRNO, (if STRING is not NULL and not empty) prefixed with STRING and ": ", and terminated with a newline. */ # if @REPLACE_PERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define perror rpl_perror # endif _GL_FUNCDECL_RPL (perror, void, (const char *string), ); _GL_CXXALIAS_RPL (perror, void, (const char *string)); # else _GL_CXXALIAS_SYS (perror, void, (const char *string)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (perror); # endif #elif defined GNULIB_POSIXCHECK # undef perror /* Assume perror is always declared. */ _GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " "use gnulib module perror for portability"); #endif #if @GNULIB_POPEN@ # if @REPLACE_POPEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef popen # define popen rpl_popen # endif _GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); # else # if !@HAVE_POPEN@ || (__GNUC__ >= 11 && !defined __clang__) _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); # endif _GL_CXXALIASWARN (popen); #else # if @GNULIB_PCLOSE@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined popen /* For -Wmismatched-dealloc: Associate popen with pclose or rpl_pclose. */ _GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1) _GL_ATTRIBUTE_MALLOC); # endif # if defined GNULIB_POSIXCHECK # undef popen # if HAVE_RAW_DECL_POPEN _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " "use gnulib module popen or pipe for more portability"); # endif # endif #endif #if @GNULIB_ZPRINTF@ /* Prints formatted output to standard output. Returns the number of bytes written to standard output. Upon failure, returns -1 with stdout's error indicator set. Failure cause EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure causes are ENOMEM and the possible failure causes from fwrite(). */ _GL_FUNCDECL_SYS (zprintf, off64_t, (const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (zprintf, off64_t, (const char *restrict format, ...)); #endif #if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@ /* Prints formatted output to standard output. Returns the number of bytes written to standard output. Upon failure, returns a negative value with stdout's error indicator set. */ # if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \ || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if defined __GNUC__ || defined __clang__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) /* Don't break __attribute__((format(printf,M,N))). */ # define printf __printf__ # endif # if @GNULIB_PRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL_1 (__printf__, int, (const char *restrict format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (1, 2) _GL_ARG_NONNULL ((1))); # else _GL_FUNCDECL_RPL_1 (__printf__, int, (const char *restrict format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)), _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); # else # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define printf rpl_printf # endif _GL_FUNCDECL_RPL (printf, int, (const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (1, 2) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (printf, int, (const char *restrict format, ...)); # endif # define GNULIB_overrides_printf 1 # else _GL_CXXALIAS_SYS (printf, int, (const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (printf); # endif #endif #if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_printf # undef printf # endif /* Assume printf is always declared. */ _GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " "use gnulib module printf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_PUTC@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putc # define putc rpl_fputc # endif _GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL_1 (putc, rpl_fputc, int, (int c, FILE *stream)); # else _GL_CXXALIAS_SYS (putc, int, (int c, FILE *stream)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (putc); # endif #endif #if @GNULIB_PUTCHAR@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putchar # define putchar rpl_putchar # endif _GL_FUNCDECL_RPL (putchar, int, (int c), ); _GL_CXXALIAS_RPL (putchar, int, (int c)); # else _GL_CXXALIAS_SYS (putchar, int, (int c)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (putchar); # endif #endif #if @GNULIB_PUTS@ # if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef puts # define puts rpl_puts # endif _GL_FUNCDECL_RPL (puts, int, (const char *string), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (puts, int, (const char *string)); # else _GL_CXXALIAS_SYS (puts, int, (const char *string)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (puts); # endif #endif #if @GNULIB_MDA_PUTW@ /* On native Windows, map 'putw' to '_putw', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::putw always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putw # define putw _putw # endif _GL_CXXALIAS_MDA (putw, int, (int w, FILE *restrict stream)); # else # if @HAVE_DECL_PUTW@ # if defined __APPLE__ && defined __MACH__ /* The presence of the declaration depends on _POSIX_C_SOURCE. */ _GL_FUNCDECL_SYS (putw, int, (int w, FILE *restrict stream), ); # endif _GL_CXXALIAS_SYS (putw, int, (int w, FILE *restrict stream)); # endif # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (putw); # endif #endif #if @GNULIB_REMOVE@ # if @REPLACE_REMOVE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef remove # define remove rpl_remove # endif _GL_FUNCDECL_RPL (remove, int, (const char *name), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (remove, int, (const char *name)); # else _GL_CXXALIAS_SYS (remove, int, (const char *name)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (remove); # endif #elif defined GNULIB_POSIXCHECK # undef remove /* Assume remove is always declared. */ _GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " "use gnulib module remove for more portability"); #endif #if @GNULIB_RENAME@ # if @REPLACE_RENAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rename # define rename rpl_rename # endif _GL_FUNCDECL_RPL (rename, int, (const char *old_filename, const char *new_filename), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (rename, int, (const char *old_filename, const char *new_filename)); # else _GL_CXXALIAS_SYS (rename, int, (const char *old_filename, const char *new_filename)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (rename); # endif #elif defined GNULIB_POSIXCHECK # undef rename /* Assume rename is always declared. */ _GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " "use gnulib module rename for more portability"); #endif #if @GNULIB_RENAMEAT@ # if @REPLACE_RENAMEAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef renameat # define renameat rpl_renameat # endif _GL_FUNCDECL_RPL (renameat, int, (int fd1, char const *file1, int fd2, char const *file2), _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (renameat, int, (int fd1, char const *file1, int fd2, char const *file2)); # else # if !@HAVE_RENAMEAT@ _GL_FUNCDECL_SYS (renameat, int, (int fd1, char const *file1, int fd2, char const *file2), _GL_ARG_NONNULL ((2, 4))); # endif _GL_CXXALIAS_SYS (renameat, int, (int fd1, char const *file1, int fd2, char const *file2)); # endif _GL_CXXALIASWARN (renameat); #elif defined GNULIB_POSIXCHECK # undef renameat # if HAVE_RAW_DECL_RENAMEAT _GL_WARN_ON_USE (renameat, "renameat is not portable - " "use gnulib module renameat for portability"); # endif #endif #if @GNULIB_SCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if defined __GNUC__ || defined __clang__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef scanf /* Don't break __attribute__((format(scanf,M,N))). */ # define scanf __scanf__ # endif _GL_FUNCDECL_RPL_1 (__scanf__, int, (const char *restrict format, ...) __asm__ (@ASM_SYMBOL_PREFIX@ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_scanf)), _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *restrict format, ...)); # else # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef scanf # define scanf rpl_scanf # endif _GL_FUNCDECL_RPL (scanf, int, (const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (scanf, int, (const char *restrict format, ...)); # endif # else _GL_CXXALIAS_SYS (scanf, int, (const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (scanf); # endif #endif #if @GNULIB_SNZPRINTF@ /* Prints formatted output to string STR. Similar to sprintf, but the additional parameter SIZE limits how much is written into STR. STR may be NULL, in which case nothing will be written. Returns the string length of the formatted string (which may be larger than SIZE). Upon failure, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure code is ENOMEM. */ _GL_FUNCDECL_SYS (snzprintf, ptrdiff_t, (char *restrict str, size_t size, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 4) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_SYS (snzprintf, ptrdiff_t, (char *restrict str, size_t size, const char *restrict format, ...)); #endif #if @GNULIB_SNPRINTF@ /* Prints formatted output to string STR. Similar to sprintf, but the additional parameter SIZE limits how much is written into STR. STR may be NULL, in which case nothing will be written. Returns the string length of the formatted string (which may be larger than SIZE). Upon failure, returns a negative value. */ # if @REPLACE_SNPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define snprintf rpl_snprintf # endif # define GNULIB_overrides_snprintf 1 _GL_FUNCDECL_RPL (snprintf, int, (char *restrict str, size_t size, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 4) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_RPL (snprintf, int, (char *restrict str, size_t size, const char *restrict format, ...)); # else # if !@HAVE_DECL_SNPRINTF@ _GL_FUNCDECL_SYS (snprintf, int, (char *restrict str, size_t size, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 4) _GL_ARG_NONNULL ((3))); # endif _GL_CXXALIAS_SYS (snprintf, int, (char *restrict str, size_t size, const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (snprintf); # endif #elif defined GNULIB_POSIXCHECK # undef snprintf # if HAVE_RAW_DECL_SNPRINTF _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " "use gnulib module snprintf for portability"); # endif #endif #if @GNULIB_SZPRINTF@ /* Prints formatted output to string STR. Returns the string length of the formatted string. Upon failure, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure code is ENOMEM. */ _GL_FUNCDECL_SYS (szprintf, ptrdiff_t, (char *restrict str, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (szprintf, ptrdiff_t, (char *restrict str, const char *restrict format, ...)); #endif /* Some people would argue that all sprintf uses should be warned about (for example, OpenBSD issues a link warning for it), since it can cause security holes due to buffer overruns. However, we believe that sprintf can be used safely, and is more efficient than snprintf in those safe cases; and as proof of our belief, we use sprintf in several gnulib modules. So this header intentionally avoids adding a warning to sprintf except when GNULIB_POSIXCHECK is defined. */ #if @GNULIB_SPRINTF_POSIX@ /* Prints formatted output to string STR. Returns the string length of the formatted string. Upon failure, returns a negative value. */ # if @REPLACE_SPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define sprintf rpl_sprintf # endif # define GNULIB_overrides_sprintf 1 _GL_FUNCDECL_RPL (sprintf, int, (char *restrict str, const char *restrict format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (sprintf, int, (char *restrict str, const char *restrict format, ...)); # else _GL_CXXALIAS_SYS (sprintf, int, (char *restrict str, const char *restrict format, ...)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (sprintf); # endif #elif defined GNULIB_POSIXCHECK # undef sprintf /* Assume sprintf is always declared. */ _GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " "use gnulib module sprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_MDA_TEMPNAM@ /* On native Windows, map 'tempnam' to '_tempnam', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::tempnam always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tempnam # define tempnam _tempnam # endif _GL_CXXALIAS_MDA (tempnam, char *, (const char *dir, const char *prefix)); # else _GL_CXXALIAS_SYS (tempnam, char *, (const char *dir, const char *prefix)); # endif _GL_CXXALIASWARN (tempnam); #endif #if @GNULIB_TMPFILE@ # if @REPLACE_TMPFILE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define tmpfile rpl_tmpfile # endif _GL_FUNCDECL_RPL (tmpfile, FILE *, (void), _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); # else # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */ _GL_FUNCDECL_SYS (tmpfile, FILE *, (void), _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (tmpfile); # endif #else # if @GNULIB_FCLOSE@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined tmpfile /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */ _GL_FUNCDECL_SYS (tmpfile, FILE *, (void), _GL_ATTRIBUTE_DEALLOC (fclose, 1) _GL_ATTRIBUTE_MALLOC); # endif # if defined GNULIB_POSIXCHECK # undef tmpfile # if HAVE_RAW_DECL_TMPFILE _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " "use gnulib module tmpfile for portability"); # endif # endif #endif #if @GNULIB_VASZPRINTF@ /* Prints formatted output to a string dynamically allocated with malloc(). If the memory allocation succeeds, it stores the address of the string in *RESULT and returns the number of resulting bytes, excluding the trailing NUL. Upon memory allocation error, or some other error, it returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure code is ENOMEM. */ _GL_FUNCDECL_SYS (aszprintf, ptrdiff_t, (char **result, const char *format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_SYS (aszprintf, ptrdiff_t, (char **result, const char *format, ...)); _GL_FUNCDECL_SYS (vaszprintf, ptrdiff_t, (char **result, const char *format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_SYS (vaszprintf, ptrdiff_t, (char **result, const char *format, va_list args)); #endif #if @GNULIB_VASPRINTF@ /* Write formatted output to a string dynamically allocated with malloc(). If the memory allocation succeeds, store the address of the string in *RESULT and return the number of resulting bytes, excluding the trailing NUL. Upon memory allocation error, or some other error, return -1. */ # if @REPLACE_VASPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define asprintf rpl_asprintf # endif # define GNULIB_overrides_asprintf _GL_FUNCDECL_RPL (asprintf, int, (char **result, const char *format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (asprintf, int, (char **result, const char *format, ...)); # else # if !@HAVE_VASPRINTF@ _GL_FUNCDECL_SYS (asprintf, int, (char **result, const char *format, ...), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (asprintf, int, (char **result, const char *format, ...)); # endif _GL_CXXALIASWARN (asprintf); # if @REPLACE_VASPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vasprintf rpl_vasprintf # endif # define GNULIB_overrides_vasprintf 1 _GL_FUNCDECL_RPL (vasprintf, int, (char **result, const char *format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (vasprintf, int, (char **result, const char *format, va_list args)); # else # if !@HAVE_VASPRINTF@ _GL_FUNCDECL_SYS (vasprintf, int, (char **result, const char *format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (vasprintf, int, (char **result, const char *format, va_list args)); # endif _GL_CXXALIASWARN (vasprintf); #endif #if @GNULIB_VDZPRINTF@ /* Prints formatted output to file descriptor FD. Returns the number of bytes written to the file descriptor. Upon failure, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure codes are ENOMEM and the possible failure codes from write(), excluding EINTR. */ _GL_FUNCDECL_SYS (vdzprintf, off64_t, (int fd, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_SYS (vdzprintf, off64_t, (int fd, const char *restrict format, va_list args)); #endif #if @GNULIB_VDPRINTF@ /* Prints formatted output to file descriptor FD. Returns the number of bytes written to the file descriptor. Upon failure, returns a negative value. */ # if @REPLACE_VDPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vdprintf rpl_vdprintf # endif _GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *restrict format, va_list args)); # else # if !@HAVE_VDPRINTF@ _GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((2))); # endif /* Need to cast, because on Solaris, the third parameter will likely be __va_list args. */ _GL_CXXALIAS_SYS_CAST (vdprintf, int, (int fd, const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vdprintf); # endif #elif defined GNULIB_POSIXCHECK # undef vdprintf # if HAVE_RAW_DECL_VDPRINTF _GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " "use gnulib module vdprintf for portability"); # endif #endif #if @GNULIB_VFZPRINTF@ /* Prints formatted output to stream FP. Returns the number of bytes written to the stream. Upon failure, returns -1 with the stream's error indicator set. Failure cause EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure causes are ENOMEM and the possible failure causes from fwrite(). */ _GL_FUNCDECL_SYS (vfzprintf, off64_t, (FILE *restrict fp, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (vfzprintf, off64_t, (FILE *restrict fp, const char *restrict format, va_list args)); #endif #if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@ /* Prints formatted output to stream FP. Returns the number of bytes written to the stream. Upon failure, returns a negative value with the stream's error indicator set. */ # if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \ || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vfprintf rpl_vfprintf # endif # define GNULIB_overrides_vfprintf 1 # if @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (vfprintf, int, (FILE *restrict fp, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); # else _GL_FUNCDECL_RPL (vfprintf, int, (FILE *restrict fp, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 0) _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_RPL (vfprintf, int, (FILE *restrict fp, const char *restrict format, va_list args)); # else /* Need to cast, because on Solaris, the third parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vfprintf, int, (FILE *restrict fp, const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vfprintf); # endif #endif #if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_vfprintf # undef vfprintf # endif /* Assume vfprintf is always declared. */ _GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " "use gnulib module vfprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_VFSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef vfscanf # define vfscanf rpl_vfscanf # endif _GL_FUNCDECL_RPL (vfscanf, int, (FILE *restrict stream, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 0) _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (vfscanf, int, (FILE *restrict stream, const char *restrict format, va_list args)); # else _GL_CXXALIAS_SYS (vfscanf, int, (FILE *restrict stream, const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vfscanf); # endif #endif #if @GNULIB_VZPRINTF@ /* Prints formatted output to standard output. Returns the number of bytes written to standard output. Upon failure, returns -1 with stdout's error indicator set. Failure cause EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure causes are ENOMEM and the possible failure causes from fwrite(). */ _GL_FUNCDECL_SYS (vzprintf, off64_t, (const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (1, 0) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (vzprintf, off64_t, (const char *restrict format, va_list args)); #endif #if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@ /* Prints formatted output to standard output. Returns the number of bytes written to standard output. Upon failure, returns a negative value with stdout's error indicator set. */ # if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \ || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vprintf rpl_vprintf # endif # define GNULIB_overrides_vprintf 1 # if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ _GL_FUNCDECL_RPL (vprintf, int, (const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (1, 0) _GL_ARG_NONNULL ((1))); # else _GL_FUNCDECL_RPL (vprintf, int, (const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 0) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_RPL (vprintf, int, (const char *restrict format, va_list args)); # else /* Need to cast, because on Solaris, the second parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vprintf); # endif #endif #if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK # if !GNULIB_overrides_vprintf # undef vprintf # endif /* Assume vprintf is always declared. */ _GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " "use gnulib module vprintf-posix for portable " "POSIX compliance"); #endif #if @GNULIB_VSCANF@ # if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef vscanf # define vscanf rpl_vscanf # endif _GL_FUNCDECL_RPL (vscanf, int, (const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 0) _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (vscanf, int, (const char *restrict format, va_list args)); # else _GL_CXXALIAS_SYS (vscanf, int, (const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vscanf); # endif #endif #if @GNULIB_VSNZPRINTF@ /* Prints formatted output to string STR. Similar to sprintf, but the additional parameter SIZE limits how much is written into STR. STR may be NULL, in which case nothing will be written. Returns the string length of the formatted string (which may be larger than SIZE). Upon failure, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure code is ENOMEM. */ _GL_FUNCDECL_SYS (vsnzprintf, ptrdiff_t, (char *restrict str, size_t size, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 0) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_SYS (vsnzprintf, ptrdiff_t, (char *restrict str, size_t size, const char *restrict format, va_list args)); #endif #if @GNULIB_VSNPRINTF@ /* Prints formatted output to string STR. Similar to vsprintf, but the additional parameter SIZE limits how much is written into STR. STR may be NULL, in which case nothing will be written. Returns the string length of the formatted string (which may be larger than SIZE). Upon failure, returns a negative value. */ # if @REPLACE_VSNPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vsnprintf rpl_vsnprintf # endif # define GNULIB_overrides_vsnprintf 1 _GL_FUNCDECL_RPL (vsnprintf, int, (char *restrict str, size_t size, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 0) _GL_ARG_NONNULL ((3))); _GL_CXXALIAS_RPL (vsnprintf, int, (char *restrict str, size_t size, const char *restrict format, va_list args)); # else # if !@HAVE_DECL_VSNPRINTF@ _GL_FUNCDECL_SYS (vsnprintf, int, (char *restrict str, size_t size, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (3, 0) _GL_ARG_NONNULL ((3))); # endif _GL_CXXALIAS_SYS (vsnprintf, int, (char *restrict str, size_t size, const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vsnprintf); # endif #elif defined GNULIB_POSIXCHECK # undef vsnprintf # if HAVE_RAW_DECL_VSNPRINTF _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " "use gnulib module vsnprintf for portability"); # endif #endif #if @GNULIB_VSZPRINTF@ /* Prints formatted output to string STR. Returns the string length of the formatted string. Upon failure, returns -1 with errno set. Failure code EOVERFLOW can only occur when a width > INT_MAX is used. Therefore, if the format string is valid and does not use %ls/%lc directives nor widths, the only possible failure code is ENOMEM. */ _GL_FUNCDECL_SYS (vszprintf, ptrdiff_t, (char *restrict str, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (vszprintf, ptrdiff_t, (char *restrict str, const char *restrict format, va_list args)); #endif #if @GNULIB_VSPRINTF_POSIX@ /* Prints formatted output to string STR. Returns the string length of the formatted string. Upon failure, returns a negative value. */ # if @REPLACE_VSPRINTF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define vsprintf rpl_vsprintf # endif # define GNULIB_overrides_vsprintf 1 _GL_FUNCDECL_RPL (vsprintf, int, (char *restrict str, const char *restrict format, va_list args), _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (vsprintf, int, (char *restrict str, const char *restrict format, va_list args)); # else /* Need to cast, because on Solaris, the third parameter is __va_list args and GCC's fixincludes did not change this to __gnuc_va_list. */ _GL_CXXALIAS_SYS_CAST (vsprintf, int, (char *restrict str, const char *restrict format, va_list args)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (vsprintf); # endif #elif defined GNULIB_POSIXCHECK # undef vsprintf /* Assume vsprintf is always declared. */ _GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " "use gnulib module vsprintf-posix for portable " "POSIX compliance"); #endif #endif /* _@GUARD_PREFIX@_STDIO_H */ #endif /* _@GUARD_PREFIX@_STDIO_H */ #endif datamash-1.9/lib/stdlib.c0000644000000000000000000000151614767401140010776 /* Inline functions for . Copyright (C) 2024-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define _GL_STDLIB_INLINE _GL_EXTERN_INLINE #include #include datamash-1.9/lib/stdlib.in.h0000644000000000000000000021044114767402206011413 /* A GNU-like . Copyright (C) 1995, 2001-2004, 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if ((defined __need_system_stdlib_h && !defined _GLIBCXX_STDLIB_H) \ || defined __need_malloc_and_calloc) \ && !defined __SUNPRO_CC /* Special invocation conventions inside some gnulib header files, and inside some glibc header files, respectively. Do not recognize this special invocation convention when GCC's c++/11/stdlib.h is being included or has been included. This is needed to support the use of clang+llvm binaries on Ubuntu 22.04 with CXX="$clangdir/bin/clang++ -I/usr/include/c++/11 \ -I/usr/include/x86_64-linux-gnu/c++/11 -L/usr/lib/gcc/x86_64-linux-gnu/11 -Wl,-rpath,$clangdir/lib" because in this case /usr/include/c++/11/stdlib.h (which does not support the convention) is seen before the gnulib-generated stdlib.h. */ #@INCLUDE_NEXT@ @NEXT_STDLIB_H@ /* Make sure that the macros that indicate the special invocation convention get undefined. This is needed at least on CentOS 7. */ #undef __need_malloc_and_calloc #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STDLIB_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STDLIB_H@ #ifndef _@GUARD_PREFIX@_STDLIB_H #define _@GUARD_PREFIX@_STDLIB_H /* This file uses _Noreturn, _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_NOTHROW, _GL_ATTRIBUTE_PURE, _GL_INLINE_HEADER_BEGIN, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* NetBSD 5.0 mis-defines NULL. */ #include /* MirBSD 10 defines WEXITSTATUS in , not in . glibc 2.41 defines WCOREDUMP in , not in . */ #if @GNULIB_SYSTEM_POSIX@ && !(defined WEXITSTATUS && defined WCOREDUMP) # include #endif /* Solaris declares getloadavg() in . */ #if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@ /* OpenIndiana has a bug: must be included before . */ # include # include #endif /* Native Windows platforms declare _mktemp() in . */ #if defined _WIN32 && !defined __CYGWIN__ # include #endif #if @GNULIB_RANDOM_R@ /* OSF/1 5.1 declares 'struct random_data' in , which is included from if _REENTRANT is defined. Include it whenever we need 'struct random_data'. */ # if @HAVE_RANDOM_H@ # include # endif # include # if !@HAVE_STRUCT_RANDOM_DATA@ /* Define 'struct random_data'. But allow multiple gnulib generated replacements to coexist. */ # if !GNULIB_defined_struct_random_data struct random_data { int32_t *fptr; /* Front pointer. */ int32_t *rptr; /* Rear pointer. */ int32_t *state; /* Array of state values. */ int rand_type; /* Type of random number generator. */ int rand_deg; /* Degree of random number generator. */ int rand_sep; /* Distance between front and rear. */ int32_t *end_ptr; /* Pointer behind state table. */ }; # define GNULIB_defined_struct_random_data 1 # endif # endif #endif #if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_MKOSTEMP@ || @GNULIB_MKOSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !(defined _WIN32 && ! defined __CYGWIN__) /* On Mac OS X 10.3, only declares mkstemp. */ /* On Mac OS X 10.5, only declares mkstemps. */ /* On Mac OS X 10.13, only declares mkostemp and mkostemps. */ /* On Cygwin 1.7.1, only declares getsubopt. */ /* But avoid namespace pollution on glibc systems and native Windows. */ # include #endif #if ((@GNULIB_STRTOL@ && @REPLACE_STRTOL@) || (@GNULIB_STRTOLL@ && @REPLACE_STRTOLL@) || (@GNULIB_STRTOUL@ && @REPLACE_STRTOUL@) || (@GNULIB_STRTOULL@ && @REPLACE_STRTOULL@)) && defined __cplusplus && !defined GNULIB_NAMESPACE && defined __GNUG__ && !defined __clang__ && defined __sun /* When strtol, strtoll, strtoul, or strtoull is going to be defined as a macro below, this may cause compilation errors later in the libstdc++ header files (that are part of GCC), such as: error: 'rpl_strtol' is not a member of 'std' To avoid this, include the relevant header files here, before these symbols get defined as macros. But do so only on Solaris 11 (where it is needed), not on mingw (where it would cause other compilation errors). */ # include #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_STDLIB_INLINE # define _GL_STDLIB_INLINE _GL_INLINE #endif #ifndef _GL_REALLOC_INLINE # define _GL_REALLOC_INLINE _GL_INLINE #endif /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. */ #ifndef _GL_ATTRIBUTE_DEALLOC # if __GNUC__ >= 11 && !defined __clang__ # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) # else # define _GL_ATTRIBUTE_DEALLOC(f, i) # endif #endif /* _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that can be freed via 'free'; it can be used only after declaring 'free'. */ /* Applies to: functions. Cannot be used on inline functions. */ #ifndef _GL_ATTRIBUTE_DEALLOC_FREE # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) #endif /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly allocated memory. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_MALLOC # if __GNUC__ >= 3 || defined __clang__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) # else # define _GL_ATTRIBUTE_MALLOC # endif #endif /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 2) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__ # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #ifndef _GL_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE /* empty */ # endif #endif /* The definition of _Noreturn is copied here. */ /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Some systems do not define EXIT_*, despite otherwise supporting C89. */ #ifndef EXIT_SUCCESS # define EXIT_SUCCESS 0 #endif /* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere with proper operation of xargs. */ #ifndef EXIT_FAILURE # define EXIT_FAILURE 1 #elif EXIT_FAILURE != 1 # undef EXIT_FAILURE # define EXIT_FAILURE 1 #endif #if @GNULIB__EXIT@ /* Terminate the current process with the given return code, without running the 'atexit' handlers. */ # if @REPLACE__EXIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef _Exit # define _Exit rpl__Exit # endif _GL_FUNCDECL_RPL (_Exit, _Noreturn void, (int status), ); _GL_CXXALIAS_RPL (_Exit, void, (int status)); # else # if !@HAVE__EXIT@ _GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status), ); # endif _GL_CXXALIAS_SYS (_Exit, void, (int status)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (_Exit); # endif #elif defined GNULIB_POSIXCHECK # undef _Exit # if HAVE_RAW_DECL__EXIT _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " "use gnulib module _Exit for portability"); # endif #endif #if @GNULIB_ABORT_DEBUG@ /* Terminates the current process with signal SIGABRT. Note: While the original abort() function is safe to call in signal handlers, the overridden abort() function is not. */ # if @REPLACE_ABORT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef abort # define abort rpl_abort # endif _GL_FUNCDECL_RPL (abort, _Noreturn void, (void), ); _GL_CXXALIAS_RPL (abort, void, (void)); # else _GL_CXXALIAS_SYS (abort, void, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (abort); # endif #endif #if @GNULIB_FREE_POSIX@ # if @REPLACE_FREE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef free # define free rpl_free # endif # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_FUNCDECL_RPL (free, void, (void *ptr), ) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_RPL (free, void, (void *ptr), ); # endif _GL_CXXALIAS_RPL (free, void, (void *ptr)); # else _GL_CXXALIAS_SYS (free, void, (void *ptr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (free); # endif #elif defined GNULIB_POSIXCHECK # undef free /* Assume free is always declared. */ _GL_WARN_ON_USE (free, "free is not POSIX:2024 compliant everywhere - " "use gnulib module free-posix for portability"); #endif /* Allocate memory with indefinite extent and specified alignment. */ #if @GNULIB_ALIGNED_ALLOC@ # if @REPLACE_ALIGNED_ALLOC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef aligned_alloc # define aligned_alloc rpl_aligned_alloc # endif _GL_FUNCDECL_RPL (aligned_alloc, void *, (size_t alignment, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (aligned_alloc, void *, (size_t alignment, size_t size)); # else # if @HAVE_ALIGNED_ALLOC@ # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate aligned_alloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 16) > 2 _GL_FUNCDECL_SYS (aligned_alloc, void *, (size_t alignment, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (aligned_alloc, void *, (size_t alignment, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); # endif # endif _GL_CXXALIAS_SYS (aligned_alloc, void *, (size_t alignment, size_t size)); # endif # endif # if (__GLIBC__ >= 2) && @HAVE_ALIGNED_ALLOC@ _GL_CXXALIASWARN (aligned_alloc); # endif #else # if @GNULIB_FREE_POSIX@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined aligned_alloc /* For -Wmismatched-dealloc: Associate aligned_alloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 16) > 2 _GL_FUNCDECL_SYS (aligned_alloc, void *, (size_t alignment, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (aligned_alloc, void *, (size_t alignment, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK # undef aligned_alloc # if HAVE_RAW_DECL_ALIGNED_ALLOC _GL_WARN_ON_USE (aligned_alloc, "aligned_alloc is not portable - " "use gnulib module aligned_alloc for portability"); # endif # endif #endif #if @GNULIB_ATOLL@ /* Parse a signed decimal integer. Returns the value of the integer. Errors are not detected. */ # if !@HAVE_ATOLL@ _GL_FUNCDECL_SYS (atoll, long long, (const char *string), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (atoll, long long, (const char *string)); _GL_CXXALIASWARN (atoll); #elif defined GNULIB_POSIXCHECK # undef atoll # if HAVE_RAW_DECL_ATOLL _GL_WARN_ON_USE (atoll, "atoll is unportable - " "use gnulib module atoll for portability"); # endif #endif #if @GNULIB_CALLOC_POSIX@ # if @REPLACE_CALLOC_FOR_CALLOC_POSIX@ \ || (@GNULIB_CALLOC_GNU@ && @REPLACE_CALLOC_FOR_CALLOC_GNU@) # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef calloc # define calloc rpl_calloc # endif _GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); # else # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate calloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2 _GL_FUNCDECL_SYS (calloc, void *, (size_t nmemb, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (calloc, void *, (size_t nmemb, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); # endif # endif _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (calloc); # endif #else # if @GNULIB_FREE_POSIX@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined calloc /* For -Wmismatched-dealloc: Associate calloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2 _GL_FUNCDECL_SYS (calloc, void *, (size_t nmemb, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (calloc, void *, (size_t nmemb, size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK # undef calloc /* Assume calloc is always declared. */ _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " "use gnulib module calloc-posix for portability"); # endif #endif #if @GNULIB_CANONICALIZE_FILE_NAME@ # if @REPLACE_CANONICALIZE_FILE_NAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define canonicalize_file_name rpl_canonicalize_file_name # endif _GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); # else # if !@HAVE_CANONICALIZE_FILE_NAME@ || (__GNUC__ >= 11 && !defined __clang__) # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); # endif # endif _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); # endif # ifndef GNULIB_defined_canonicalize_file_name # define GNULIB_defined_canonicalize_file_name \ (!@HAVE_CANONICALIZE_FILE_NAME@ || @REPLACE_CANONICALIZE_FILE_NAME@) # endif _GL_CXXALIASWARN (canonicalize_file_name); #else # if @GNULIB_FREE_POSIX@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined canonicalize_file_name /* For -Wmismatched-dealloc: Associate canonicalize_file_name with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK # undef canonicalize_file_name # if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME _GL_WARN_ON_USE (canonicalize_file_name, "canonicalize_file_name is unportable - " "use gnulib module canonicalize-lgpl for portability"); # endif # endif #endif #if @GNULIB_MDA_ECVT@ /* On native Windows, map 'ecvt' to '_ecvt', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::ecvt on all platforms that have it. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ecvt # define ecvt _ecvt # endif _GL_CXXALIAS_MDA (ecvt, char *, (double number, int ndigits, int *decptp, int *signp)); # else # if @HAVE_DECL_ECVT@ _GL_CXXALIAS_SYS (ecvt, char *, (double number, int ndigits, int *decptp, int *signp)); # endif # endif # if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_ECVT@ _GL_CXXALIASWARN (ecvt); # endif #endif #if @GNULIB_MDA_FCVT@ /* On native Windows, map 'fcvt' to '_fcvt', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::fcvt on all platforms that have it. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fcvt # define fcvt _fcvt # endif _GL_CXXALIAS_MDA (fcvt, char *, (double number, int ndigits, int *decptp, int *signp)); # else # if @HAVE_DECL_FCVT@ _GL_CXXALIAS_SYS (fcvt, char *, (double number, int ndigits, int *decptp, int *signp)); # endif # endif # if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_FCVT@ _GL_CXXALIASWARN (fcvt); # endif #endif #if @GNULIB_MDA_GCVT@ /* On native Windows, map 'gcvt' to '_gcvt', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::gcvt on all platforms that have it. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gcvt # define gcvt _gcvt # endif _GL_CXXALIAS_MDA (gcvt, char *, (double number, int ndigits, char *buf)); # else # if @HAVE_DECL_GCVT@ _GL_CXXALIAS_SYS (gcvt, char *, (double number, int ndigits, char *buf)); # endif # endif # if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_GCVT@ _GL_CXXALIASWARN (gcvt); # endif #endif #if @GNULIB_GETLOADAVG@ /* Store max(NELEM,3) load average numbers in LOADAVG[]. The three numbers are the load average of the last 1 minute, the last 5 minutes, and the last 15 minutes, respectively. LOADAVG is an array of NELEM numbers. */ # if @REPLACE_GETLOADAVG@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getloadavg # define getloadavg rpl_getloadavg # endif _GL_FUNCDECL_RPL (getloadavg, int, (double loadavg[], int nelem), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getloadavg, int, (double loadavg[], int nelem)); # else # if !@HAVE_DECL_GETLOADAVG@ _GL_FUNCDECL_SYS (getloadavg, int, (double loadavg[], int nelem), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getloadavg); # endif #elif defined GNULIB_POSIXCHECK # undef getloadavg # if HAVE_RAW_DECL_GETLOADAVG _GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " "use gnulib module getloadavg for portability"); # endif #endif #if @GNULIB_GETPROGNAME@ /* Return the base name of the executing program. On native Windows this will usually end in ".exe" or ".EXE". */ # if @REPLACE_GETPROGNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getprogname # define getprogname rpl_getprogname # endif # if @HAVE_DECL_PROGRAM_INVOCATION_NAME@ _GL_FUNCDECL_RPL (getprogname, const char *, (void), _GL_ATTRIBUTE_PURE); # else _GL_FUNCDECL_RPL (getprogname, const char *, (void), ); # endif _GL_CXXALIAS_RPL (getprogname, const char *, (void)); # else # if !@HAVE_GETPROGNAME@ # if @HAVE_DECL_PROGRAM_INVOCATION_NAME@ _GL_FUNCDECL_SYS (getprogname, const char *, (void), _GL_ATTRIBUTE_PURE); # else _GL_FUNCDECL_SYS (getprogname, const char *, (void), ); # endif # endif _GL_CXXALIAS_SYS (getprogname, const char *, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getprogname); # endif #elif defined GNULIB_POSIXCHECK # undef getprogname # if HAVE_RAW_DECL_GETPROGNAME _GL_WARN_ON_USE (getprogname, "getprogname is unportable - " "use gnulib module getprogname for portability"); # endif #endif #if @GNULIB_GETSUBOPT@ /* Assuming *OPTIONP is a comma separated list of elements of the form "token" or "token=value", getsubopt parses the first of these elements. If the first element refers to a "token" that is member of the given NULL-terminated array of tokens: - It replaces the comma with a NUL byte, updates *OPTIONP to point past the first option and the comma, sets *VALUEP to the value of the element (or NULL if it doesn't contain an "=" sign), - It returns the index of the "token" in the given array of tokens. Otherwise it returns -1, and *OPTIONP and *VALUEP are undefined. For more details see the POSIX specification. https://pubs.opengroup.org/onlinepubs/9699919799/functions/getsubopt.html */ # if @REPLACE_GETSUBOPT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsubopt # define getsubopt rpl_getsubopt # endif _GL_FUNCDECL_RPL (getsubopt, int, (char **optionp, char *const *tokens, char **valuep), _GL_ARG_NONNULL ((1, 2, 3)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getsubopt, int, (char **optionp, char *const *tokens, char **valuep)); # else # if !@HAVE_GETSUBOPT@ _GL_FUNCDECL_SYS (getsubopt, int, (char **optionp, char *const *tokens, char **valuep), _GL_ARG_NONNULL ((1, 2, 3)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getsubopt, int, (char **optionp, char *const *tokens, char **valuep)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getsubopt); # endif #elif defined GNULIB_POSIXCHECK # undef getsubopt # if HAVE_RAW_DECL_GETSUBOPT _GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " "use gnulib module getsubopt for portability"); # endif #endif #if @GNULIB_GRANTPT@ /* Change the ownership and access permission of the slave side of the pseudo-terminal whose master side is specified by FD. */ # if !@HAVE_GRANTPT@ _GL_FUNCDECL_SYS (grantpt, int, (int fd), ); # endif _GL_CXXALIAS_SYS (grantpt, int, (int fd)); _GL_CXXALIASWARN (grantpt); #elif defined GNULIB_POSIXCHECK # undef grantpt # if HAVE_RAW_DECL_GRANTPT _GL_WARN_ON_USE (grantpt, "grantpt is not portable - " "use gnulib module grantpt for portability"); # endif #endif /* If _GL_USE_STDLIB_ALLOC is nonzero, the including module does not rely on GNU or POSIX semantics for malloc and realloc (for example, by never specifying a zero size), so it does not need malloc or realloc to be redefined. */ #if @GNULIB_MALLOC_POSIX@ # if @REPLACE_MALLOC_FOR_MALLOC_POSIX@ \ || (@GNULIB_MALLOC_GNU@ && @REPLACE_MALLOC_FOR_MALLOC_GNU@) # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef malloc # define malloc rpl_malloc # endif _GL_FUNCDECL_RPL (malloc, void *, (size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); # else # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate malloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2 _GL_FUNCDECL_SYS (malloc, void *, (size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (malloc, void *, (size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); # endif # endif _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (malloc); # endif #else # if @GNULIB_FREE_POSIX@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined malloc /* For -Wmismatched-dealloc: Associate malloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2 _GL_FUNCDECL_SYS (malloc, void *, (size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (malloc, void *, (size_t size), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC # undef malloc /* Assume malloc is always declared. */ _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " "use gnulib module malloc-posix for portability"); # endif #endif /* Return maximum number of bytes in a multibyte character in the current locale. */ #if @REPLACE_MB_CUR_MAX@ # if !GNULIB_defined_MB_CUR_MAX _GL_STDLIB_INLINE size_t gl_MB_CUR_MAX (void) { # if 0 < @REPLACE_MB_CUR_MAX@ return @REPLACE_MB_CUR_MAX@; # else /* Turn the value 3 to the value 4, as needed for the UTF-8 encoding. */ int gl_mb_cur_max = MB_CUR_MAX; return gl_mb_cur_max == 3 ? 4 : gl_mb_cur_max; # endif } # undef MB_CUR_MAX # define MB_CUR_MAX gl_MB_CUR_MAX () # define GNULIB_defined_MB_CUR_MAX 1 # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSTOWCS@ # if @REPLACE_MBSTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbstowcs # define mbstowcs rpl_mbstowcs # endif _GL_FUNCDECL_RPL (mbstowcs, size_t, (wchar_t *restrict dest, const char *restrict src, size_t len), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbstowcs, size_t, (wchar_t *restrict dest, const char *restrict src, size_t len)); # else _GL_CXXALIAS_SYS (mbstowcs, size_t, (wchar_t *restrict dest, const char *restrict src, size_t len)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbstowcs); # endif #elif defined GNULIB_POSIXCHECK # undef mbstowcs # if HAVE_RAW_DECL_MBSTOWCS _GL_WARN_ON_USE (mbstowcs, "mbstowcs is unportable - " "use gnulib module mbstowcs for portability"); # endif #endif /* Convert a multibyte character to a wide character. */ #if @GNULIB_MBTOWC@ # if @REPLACE_MBTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbtowc # define mbtowc rpl_mbtowc # endif _GL_FUNCDECL_RPL (mbtowc, int, (wchar_t *restrict pwc, const char *restrict s, size_t n), ); _GL_CXXALIAS_RPL (mbtowc, int, (wchar_t *restrict pwc, const char *restrict s, size_t n)); # else # if !@HAVE_MBTOWC@ _GL_FUNCDECL_SYS (mbtowc, int, (wchar_t *restrict pwc, const char *restrict s, size_t n), ); # endif _GL_CXXALIAS_SYS (mbtowc, int, (wchar_t *restrict pwc, const char *restrict s, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbtowc); # endif #elif defined GNULIB_POSIXCHECK # undef mbtowc # if HAVE_RAW_DECL_MBTOWC _GL_WARN_ON_USE (mbtowc, "mbtowc is not portable - " "use gnulib module mbtowc for portability"); # endif #endif #if @GNULIB_MKDTEMP@ /* Create a unique temporary directory from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the directory name unique. Returns TEMPLATE, or a null pointer if it cannot get a unique name. The directory is created mode 700. */ # if !@HAVE_MKDTEMP@ _GL_FUNCDECL_SYS (mkdtemp, char *, (char * /*template*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); _GL_CXXALIASWARN (mkdtemp); #elif defined GNULIB_POSIXCHECK # undef mkdtemp # if HAVE_RAW_DECL_MKDTEMP _GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " "use gnulib module mkdtemp for portability"); # endif #endif #if @GNULIB_MKOSTEMP@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the file name unique. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). The file is then created, with the specified flags, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if @REPLACE_MKOSTEMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkostemp # define mkostemp rpl_mkostemp # endif _GL_FUNCDECL_RPL (mkostemp, int, (char * /*template*/, int /*flags*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (mkostemp, int, (char * /*template*/, int /*flags*/)); # else # if !@HAVE_MKOSTEMP@ _GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mkostemp); # endif #elif defined GNULIB_POSIXCHECK # undef mkostemp # if HAVE_RAW_DECL_MKOSTEMP _GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " "use gnulib module mkostemp for portability"); # endif #endif #if @GNULIB_MKOSTEMPS@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE before a suffix of length SUFFIXLEN must be "XXXXXX"; they are replaced with a string that makes the file name unique. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). The file is then created, with the specified flags, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if @REPLACE_MKOSTEMPS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkostemps # define mkostemps rpl_mkostemps # endif _GL_FUNCDECL_RPL (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/)); # else # if !@HAVE_MKOSTEMPS@ _GL_FUNCDECL_SYS (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (mkostemps, int, (char * /*template*/, int /*suffixlen*/, int /*flags*/)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mkostemps); # endif #elif defined GNULIB_POSIXCHECK # undef mkostemps # if HAVE_RAW_DECL_MKOSTEMPS _GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " "use gnulib module mkostemps for portability"); # endif #endif #if @GNULIB_MKSTEMP@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the file name unique. The file is then created, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if @REPLACE_MKSTEMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mkstemp rpl_mkstemp # endif _GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/)); # else # if ! @HAVE_MKSTEMP@ _GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); # endif _GL_CXXALIASWARN (mkstemp); #elif defined GNULIB_POSIXCHECK # undef mkstemp # if HAVE_RAW_DECL_MKSTEMP _GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " "use gnulib module mkstemp for portability"); # endif #endif #if @GNULIB_MKSTEMPS@ /* Create a unique temporary file from TEMPLATE. The last six characters of TEMPLATE prior to a suffix of length SUFFIXLEN must be "XXXXXX"; they are replaced with a string that makes the file name unique. The file is then created, ensuring it didn't exist before. The file is created read-write (mask at least 0600 & ~umask), but it may be world-readable and world-writable (mask 0666 & ~umask), depending on the implementation. Returns the open file descriptor if successful, otherwise -1 and errno set. */ # if !@HAVE_MKSTEMPS@ _GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); _GL_CXXALIASWARN (mkstemps); #elif defined GNULIB_POSIXCHECK # undef mkstemps # if HAVE_RAW_DECL_MKSTEMPS _GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " "use gnulib module mkstemps for portability"); # endif #endif #if @GNULIB_MDA_MKTEMP@ /* On native Windows, map 'mktemp' to '_mktemp', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::mktemp always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mktemp # define mktemp _mktemp # endif _GL_CXXALIAS_MDA (mktemp, char *, (char * /*template*/)); # else _GL_CXXALIAS_SYS (mktemp, char *, (char * /*template*/)); # endif _GL_CXXALIASWARN (mktemp); #endif /* Allocate memory with indefinite extent and specified alignment. */ #if @GNULIB_POSIX_MEMALIGN@ # if @REPLACE_POSIX_MEMALIGN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef posix_memalign # define posix_memalign rpl_posix_memalign # endif _GL_FUNCDECL_RPL (posix_memalign, int, (void **memptr, size_t alignment, size_t size), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (posix_memalign, int, (void **memptr, size_t alignment, size_t size)); # else # if @HAVE_POSIX_MEMALIGN@ _GL_CXXALIAS_SYS (posix_memalign, int, (void **memptr, size_t alignment, size_t size)); # endif # endif # if __GLIBC__ >= 2 && @HAVE_POSIX_MEMALIGN@ _GL_CXXALIASWARN (posix_memalign); # endif #elif defined GNULIB_POSIXCHECK # undef posix_memalign # if HAVE_RAW_DECL_POSIX_MEMALIGN _GL_WARN_ON_USE (posix_memalign, "posix_memalign is not portable - " "use gnulib module posix_memalign for portability"); # endif #endif #if @GNULIB_POSIX_OPENPT@ /* Return an FD open to the master side of a pseudo-terminal. Flags should include O_RDWR, and may also include O_NOCTTY. */ # if @REPLACE_POSIX_OPENPT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef posix_openpt # define posix_openpt rpl_posix_openpt # endif _GL_FUNCDECL_RPL (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (posix_openpt, int, (int flags)); # else # if !@HAVE_POSIX_OPENPT@ _GL_FUNCDECL_SYS (posix_openpt, int, (int flags), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (posix_openpt, int, (int flags)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (posix_openpt); # endif #elif defined GNULIB_POSIXCHECK # undef posix_openpt # if HAVE_RAW_DECL_POSIX_OPENPT _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " "use gnulib module posix_openpt for portability"); # endif #endif #if @GNULIB_PTSNAME@ /* Return the pathname of the pseudo-terminal slave associated with the master FD is open on, or NULL on errors. */ # if @REPLACE_PTSNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ptsname # define ptsname rpl_ptsname # endif _GL_FUNCDECL_RPL (ptsname, char *, (int fd), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (ptsname, char *, (int fd)); # else # if !@HAVE_PTSNAME@ _GL_FUNCDECL_SYS (ptsname, char *, (int fd), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (ptsname, char *, (int fd)); # endif _GL_CXXALIASWARN (ptsname); #elif defined GNULIB_POSIXCHECK # undef ptsname # if HAVE_RAW_DECL_PTSNAME _GL_WARN_ON_USE (ptsname, "ptsname is not portable - " "use gnulib module ptsname for portability"); # endif #endif #if @GNULIB_PTSNAME_R@ /* Set the pathname of the pseudo-terminal slave associated with the master FD is open on and return 0, or set errno and return non-zero on errors. */ # if @REPLACE_PTSNAME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ptsname_r # define ptsname_r rpl_ptsname_r # endif _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len), ); _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); # else # if !@HAVE_PTSNAME_R@ _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len), ); # endif _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); # endif # ifndef GNULIB_defined_ptsname_r # define GNULIB_defined_ptsname_r (!@HAVE_PTSNAME_R@ || @REPLACE_PTSNAME_R@) # endif _GL_CXXALIASWARN (ptsname_r); #elif defined GNULIB_POSIXCHECK # undef ptsname_r # if HAVE_RAW_DECL_PTSNAME_R _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - " "use gnulib module ptsname_r for portability"); # endif #endif #if @GNULIB_PUTENV@ # if @REPLACE_PUTENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putenv # define putenv rpl_putenv # endif _GL_FUNCDECL_RPL (putenv, int, (char *string), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (putenv, int, (char *string)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putenv # define putenv _putenv # endif _GL_CXXALIAS_MDA (putenv, int, (char *string)); # elif defined __KLIBC__ /* Need to cast, because on OS/2 kLIBC, the first parameter is const char *string. */ _GL_CXXALIAS_SYS_CAST (putenv, int, (char *string)); # else _GL_CXXALIAS_SYS (putenv, int, (char *string)); # endif _GL_CXXALIASWARN (putenv); #elif @GNULIB_MDA_PUTENV@ /* On native Windows, map 'putenv' to '_putenv', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::putenv always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef putenv # define putenv _putenv # endif /* Need to cast, because on mingw, the parameter is either 'const char *string' or 'char *string'. */ _GL_CXXALIAS_MDA_CAST (putenv, int, (char *string)); # elif defined __KLIBC__ /* Need to cast, because on OS/2 kLIBC, the first parameter is const char *string. */ _GL_CXXALIAS_SYS_CAST (putenv, int, (char *string)); # else _GL_CXXALIAS_SYS (putenv, int, (char *string)); # endif _GL_CXXALIASWARN (putenv); #endif #if @GNULIB_QSORT_R@ /* Sort an array of NMEMB elements, starting at address BASE, each element occupying SIZE bytes, in ascending order according to the comparison function COMPARE. */ # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_qsort_r_fn_types typedef int (*_gl_qsort_r_compar_fn) (void const *, void const *, void *); # define GNULIB_defined_qsort_r_fn_types 1 # endif # ifdef __cplusplus } # endif # if @REPLACE_QSORT_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef qsort_r # define qsort_r rpl_qsort_r # endif _GL_FUNCDECL_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size, _gl_qsort_r_compar_fn compare, void *arg), _GL_ARG_NONNULL ((1, 4))); _GL_CXXALIAS_RPL (qsort_r, void, (void *base, size_t nmemb, size_t size, _gl_qsort_r_compar_fn compare, void *arg)); # else # if !@HAVE_QSORT_R@ _GL_FUNCDECL_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, _gl_qsort_r_compar_fn compare, void *arg), _GL_ARG_NONNULL ((1, 4))); # endif _GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, _gl_qsort_r_compar_fn compare, void *arg)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (qsort_r); # endif #elif defined GNULIB_POSIXCHECK # undef qsort_r # if HAVE_RAW_DECL_QSORT_R _GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - " "use gnulib module qsort_r for portability"); # endif #endif #if @GNULIB_RAND@ || (@GNULIB_RANDOM_R@ && !@HAVE_RANDOM_R@) # ifndef RAND_MAX # define RAND_MAX 2147483647 # endif #endif #if @GNULIB_RAND@ # if @REPLACE_RAND@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rand # define rand rpl_rand # endif _GL_FUNCDECL_RPL (rand, int, (void), ); _GL_CXXALIAS_RPL (rand, int, (void)); # else _GL_CXXALIAS_SYS (rand, int, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (rand); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_RANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef random # define random rpl_random # endif _GL_FUNCDECL_RPL (random, long, (void), ); _GL_CXXALIAS_RPL (random, long, (void)); # else # if !@HAVE_RANDOM@ _GL_FUNCDECL_SYS (random, long, (void), ); # endif /* Need to cast, because on Haiku, the return type is int. */ _GL_CXXALIAS_SYS_CAST (random, long, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (random); # endif #elif defined GNULIB_POSIXCHECK # undef random # if HAVE_RAW_DECL_RANDOM _GL_WARN_ON_USE (random, "random is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_RANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef srandom # define srandom rpl_srandom # endif _GL_FUNCDECL_RPL (srandom, void, (unsigned int seed), ); _GL_CXXALIAS_RPL (srandom, void, (unsigned int seed)); # else # if !@HAVE_RANDOM@ _GL_FUNCDECL_SYS (srandom, void, (unsigned int seed), ); # endif /* Need to cast, because on FreeBSD, the first parameter is unsigned long seed. */ _GL_CXXALIAS_SYS_CAST (srandom, void, (unsigned int seed)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (srandom); # endif #elif defined GNULIB_POSIXCHECK # undef srandom # if HAVE_RAW_DECL_SRANDOM _GL_WARN_ON_USE (srandom, "srandom is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_INITSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef initstate # define initstate rpl_initstate # endif _GL_FUNCDECL_RPL (initstate, char *, (unsigned int seed, char *buf, size_t buf_size), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (initstate, char *, (unsigned int seed, char *buf, size_t buf_size)); # else # if !@HAVE_INITSTATE@ || !@HAVE_DECL_INITSTATE@ _GL_FUNCDECL_SYS (initstate, char *, (unsigned int seed, char *buf, size_t buf_size), _GL_ARG_NONNULL ((2))); # endif /* Need to cast, because on FreeBSD, the first parameter is unsigned long seed. */ _GL_CXXALIAS_SYS_CAST (initstate, char *, (unsigned int seed, char *buf, size_t buf_size)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (initstate); # endif #elif defined GNULIB_POSIXCHECK # undef initstate # if HAVE_RAW_DECL_INITSTATE _GL_WARN_ON_USE (initstate, "initstate is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM@ # if @REPLACE_SETSTATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setstate # define setstate rpl_setstate # endif _GL_FUNCDECL_RPL (setstate, char *, (char *arg_state), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (setstate, char *, (char *arg_state)); # else # if !@HAVE_SETSTATE@ || !@HAVE_DECL_SETSTATE@ _GL_FUNCDECL_SYS (setstate, char *, (char *arg_state), _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Mac OS X 10.13, HP-UX, Solaris the first parameter is const char *arg_state. */ _GL_CXXALIAS_SYS_CAST (setstate, char *, (char *arg_state)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (setstate); # endif #elif defined GNULIB_POSIXCHECK # undef setstate # if HAVE_RAW_DECL_SETSTATE _GL_WARN_ON_USE (setstate, "setstate is unportable - " "use gnulib module random for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef random_r # define random_r rpl_random_r # endif _GL_FUNCDECL_RPL (random_r, int, (struct random_data *buf, int32_t *result), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (random_r, int, (struct random_data *buf, int32_t *result)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); # endif _GL_CXXALIASWARN (random_r); #elif defined GNULIB_POSIXCHECK # undef random_r # if HAVE_RAW_DECL_RANDOM_R _GL_WARN_ON_USE (random_r, "random_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef srandom_r # define srandom_r rpl_srandom_r # endif _GL_FUNCDECL_RPL (srandom_r, int, (unsigned int seed, struct random_data *rand_state), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (srandom_r, int, (unsigned int seed, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (srandom_r, int, (unsigned int seed, struct random_data *rand_state), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (srandom_r, int, (unsigned int seed, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (srandom_r); #elif defined GNULIB_POSIXCHECK # undef srandom_r # if HAVE_RAW_DECL_SRANDOM_R _GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef initstate_r # define initstate_r rpl_initstate_r # endif _GL_FUNCDECL_RPL (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state), _GL_ARG_NONNULL ((2, 4))); _GL_CXXALIAS_RPL (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state), _GL_ARG_NONNULL ((2, 4))); # endif /* Need to cast, because on Haiku, the third parameter is unsigned long buf_size. */ _GL_CXXALIAS_SYS_CAST (initstate_r, int, (unsigned int seed, char *buf, size_t buf_size, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (initstate_r); #elif defined GNULIB_POSIXCHECK # undef initstate_r # if HAVE_RAW_DECL_INITSTATE_R _GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_RANDOM_R@ # if @REPLACE_RANDOM_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setstate_r # define setstate_r rpl_setstate_r # endif _GL_FUNCDECL_RPL (setstate_r, int, (char *arg_state, struct random_data *rand_state), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (setstate_r, int, (char *arg_state, struct random_data *rand_state)); # else # if !@HAVE_RANDOM_R@ _GL_FUNCDECL_SYS (setstate_r, int, (char *arg_state, struct random_data *rand_state), _GL_ARG_NONNULL ((1, 2))); # endif /* Need to cast, because on Haiku, the first parameter is void *arg_state. */ _GL_CXXALIAS_SYS_CAST (setstate_r, int, (char *arg_state, struct random_data *rand_state)); # endif _GL_CXXALIASWARN (setstate_r); #elif defined GNULIB_POSIXCHECK # undef setstate_r # if HAVE_RAW_DECL_SETSTATE_R _GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " "use gnulib module random_r for portability"); # endif #endif #if @GNULIB_REALLOC_POSIX@ # if @REPLACE_REALLOC_FOR_REALLOC_POSIX@ # if @REPLACE_REALLOC_FOR_REALLOC_POSIX@ == 2 # define _GL_INLINE_RPL_REALLOC 1 # ifdef __cplusplus extern "C" { # endif _GL_REALLOC_INLINE void * rpl_realloc (void *ptr, size_t size) { return realloc (ptr, size ? size : 1); } # ifdef __cplusplus } # endif # endif # if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ || _GL_USE_STDLIB_ALLOC) # undef realloc # define realloc rpl_realloc # endif # if !defined _GL_INLINE_RPL_REALLOC _GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size), _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size)); # else # if __GNUC__ >= 11 && !defined __clang__ /* For -Wmismatched-dealloc: Associate realloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2 _GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size), _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size), _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_NODISCARD); # endif # endif _GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (realloc); # endif #else # if @GNULIB_FREE_POSIX@ \ && (__GNUC__ >= 11 && !defined __clang__) && !defined realloc /* For -Wmismatched-dealloc: Associate realloc with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2 _GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size), _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size), _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC # undef realloc /* Assume realloc is always declared. */ _GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " "use gnulib module realloc-posix for portability"); # endif #endif #if @GNULIB_REALLOCARRAY@ # if @REPLACE_REALLOCARRAY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef reallocarray # define reallocarray rpl_reallocarray # endif _GL_FUNCDECL_RPL (reallocarray, void *, (void *ptr, size_t nmemb, size_t size), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (reallocarray, void *, (void *ptr, size_t nmemb, size_t size)); # else # if ! @HAVE_REALLOCARRAY@ _GL_FUNCDECL_SYS (reallocarray, void *, (void *ptr, size_t nmemb, size_t size), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (reallocarray, void *, (void *ptr, size_t nmemb, size_t size)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (reallocarray); # endif #elif defined GNULIB_POSIXCHECK # undef reallocarray # if HAVE_RAW_DECL_REALLOCARRAY _GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " "use gnulib module reallocarray for portability"); # endif #endif #if @GNULIB_REALPATH@ # if @REPLACE_REALPATH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define realpath rpl_realpath # endif _GL_FUNCDECL_RPL (realpath, char *, (const char *restrict name, char *restrict resolved), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (realpath, char *, (const char *restrict name, char *restrict resolved)); # else # if !@HAVE_REALPATH@ _GL_FUNCDECL_SYS (realpath, char *, (const char *restrict name, char *restrict resolved), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (realpath, char *, (const char *restrict name, char *restrict resolved)); # endif _GL_CXXALIASWARN (realpath); #elif defined GNULIB_POSIXCHECK # undef realpath # if HAVE_RAW_DECL_REALPATH _GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " "canonicalize or canonicalize-lgpl for portability"); # endif #endif #if @GNULIB_RPMATCH@ /* Test a user response to a question. Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ # if !@HAVE_RPMATCH@ _GL_FUNCDECL_SYS (rpmatch, int, (const char *response), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); _GL_CXXALIASWARN (rpmatch); #elif defined GNULIB_POSIXCHECK # undef rpmatch # if HAVE_RAW_DECL_RPMATCH _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " "use gnulib module rpmatch for portability"); # endif #endif #if @GNULIB_SECURE_GETENV@ /* Look up NAME in the environment, returning 0 in insecure situations. */ # if !@HAVE_SECURE_GETENV@ _GL_FUNCDECL_SYS (secure_getenv, char *, (char const *name), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); _GL_CXXALIASWARN (secure_getenv); #elif defined GNULIB_POSIXCHECK # undef secure_getenv # if HAVE_RAW_DECL_SECURE_GETENV _GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - " "use gnulib module secure_getenv for portability"); # endif #endif #if @GNULIB_SETENV@ /* Set NAME to VALUE in the environment. If REPLACE is nonzero, overwrite an existing value. */ # if @REPLACE_SETENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setenv # define setenv rpl_setenv # endif _GL_FUNCDECL_RPL (setenv, int, (const char *name, const char *value, int replace), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (setenv, int, (const char *name, const char *value, int replace)); # else # if !@HAVE_DECL_SETENV@ _GL_FUNCDECL_SYS (setenv, int, (const char *name, const char *value, int replace), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (setenv, int, (const char *name, const char *value, int replace)); # endif # if !(@REPLACE_SETENV@ && !@HAVE_DECL_SETENV@) _GL_CXXALIASWARN (setenv); # endif #elif defined GNULIB_POSIXCHECK # undef setenv # if HAVE_RAW_DECL_SETENV _GL_WARN_ON_USE (setenv, "setenv is unportable - " "use gnulib module setenv for portability"); # endif #endif #if @GNULIB_STACK_TRACE@ /* Prints a stack trace of the current thread to standard error, if possible. */ # if @CAN_PRINT_STACK_TRACE@ _GL_EXTERN_C void print_stack_trace (void); # else # if !GNULIB_defined_print_stack_trace # define print_stack_trace() /* nothing */ # define GNULIB_defined_print_stack_trace 1 # endif # endif #endif #if @GNULIB_STRTOD@ /* Parse a double from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtod rpl_strtod # endif # define GNULIB_defined_strtod_function 1 _GL_FUNCDECL_RPL (strtod, double, (const char *restrict str, char **restrict endp), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtod, double, (const char *restrict str, char **restrict endp)); # else # if !@HAVE_STRTOD@ _GL_FUNCDECL_SYS (strtod, double, (const char *restrict str, char **restrict endp), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtod, double, (const char *restrict str, char **restrict endp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strtod); # endif #elif defined GNULIB_POSIXCHECK # undef strtod # if HAVE_RAW_DECL_STRTOD _GL_WARN_ON_USE (strtod, "strtod is unportable - " "use gnulib module strtod for portability"); # endif #endif #if @GNULIB_STRTOF@ /* Parse a float from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOF@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtof rpl_strtof # endif # define GNULIB_defined_strtof_function 1 _GL_FUNCDECL_RPL (strtof, float, (const char *restrict str, char **restrict endp), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtof, float, (const char *restrict str, char **restrict endp)); # else # if !@HAVE_STRTOF@ _GL_FUNCDECL_SYS (strtof, float, (const char *restrict str, char **restrict endp), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtof, float, (const char *restrict str, char **restrict endp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strtof); # endif #elif defined GNULIB_POSIXCHECK # undef strtof # if HAVE_RAW_DECL_STRTOF _GL_WARN_ON_USE (strtof, "strtof is unportable - " "use gnulib module strtof for portability"); # endif #endif #if @GNULIB_STRTOLD@ /* Parse a 'long double' from STRING, updating ENDP if appropriate. */ # if @REPLACE_STRTOLD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtold rpl_strtold # endif # define GNULIB_defined_strtold_function 1 _GL_FUNCDECL_RPL (strtold, long double, (const char *restrict str, char **restrict endp), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtold, long double, (const char *restrict str, char **restrict endp)); # else # if !@HAVE_STRTOLD@ _GL_FUNCDECL_SYS (strtold, long double, (const char *restrict str, char **restrict endp), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtold, long double, (const char *restrict str, char **restrict endp)); # endif _GL_CXXALIASWARN (strtold); #elif defined GNULIB_POSIXCHECK # undef strtold # if HAVE_RAW_DECL_STRTOLD _GL_WARN_ON_USE (strtold, "strtold is unportable - " "use gnulib module strtold for portability"); # endif #endif #if @GNULIB_STRTOL@ /* Parse a signed integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is LONG_MAX or LONG_MIN, and errno is set to ERANGE. */ # if @REPLACE_STRTOL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtol rpl_strtol # endif # define GNULIB_defined_strtol_function 1 _GL_FUNCDECL_RPL (strtol, long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtol, long, (const char *restrict string, char **restrict endptr, int base)); # else # if !@HAVE_STRTOL@ _GL_FUNCDECL_SYS (strtol, long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtol, long, (const char *restrict string, char **restrict endptr, int base)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strtol); # endif #elif defined GNULIB_POSIXCHECK # undef strtol # if HAVE_RAW_DECL_STRTOL _GL_WARN_ON_USE (strtol, "strtol is unportable - " "use gnulib module strtol for portability"); # endif #endif #if @GNULIB_STRTOLL@ /* Parse a signed integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is LLONG_MAX or LLONG_MIN, and errno is set to ERANGE. */ # if @REPLACE_STRTOLL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtoll rpl_strtoll # endif # define GNULIB_defined_strtoll_function 1 _GL_FUNCDECL_RPL (strtoll, long long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoll, long long, (const char *restrict string, char **restrict endptr, int base)); # else # if !@HAVE_STRTOLL@ _GL_FUNCDECL_SYS (strtoll, long long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoll, long long, (const char *restrict string, char **restrict endptr, int base)); # endif _GL_CXXALIASWARN (strtoll); #elif defined GNULIB_POSIXCHECK # undef strtoll # if HAVE_RAW_DECL_STRTOLL _GL_WARN_ON_USE (strtoll, "strtoll is unportable - " "use gnulib module strtoll for portability"); # endif #endif #if @GNULIB_STRTOUL@ /* Parse an unsigned integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is ULONG_MAX, and errno is set to ERANGE. */ # if @REPLACE_STRTOUL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtoul rpl_strtoul # endif # define GNULIB_defined_strtoul_function 1 _GL_FUNCDECL_RPL (strtoul, unsigned long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoul, unsigned long, (const char *restrict string, char **restrict endptr, int base)); # else # if !@HAVE_STRTOUL@ _GL_FUNCDECL_SYS (strtoul, unsigned long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoul, unsigned long, (const char *restrict string, char **restrict endptr, int base)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strtoul); # endif #elif defined GNULIB_POSIXCHECK # undef strtoul # if HAVE_RAW_DECL_STRTOUL _GL_WARN_ON_USE (strtoul, "strtoul is unportable - " "use gnulib module strtoul for portability"); # endif #endif #if @GNULIB_STRTOULL@ /* Parse an unsigned integer whose textual representation starts at STRING. The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, it may be decimal or octal (with prefix "0") or hexadecimal (with prefix "0x"). If ENDPTR is not NULL, the address of the first byte after the integer is stored in *ENDPTR. Upon overflow, the return value is ULLONG_MAX, and errno is set to ERANGE. */ # if @REPLACE_STRTOULL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strtoull rpl_strtoull # endif # define GNULIB_defined_strtoull_function 1 _GL_FUNCDECL_RPL (strtoull, unsigned long long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strtoull, unsigned long long, (const char *restrict string, char **restrict endptr, int base)); # else # if !@HAVE_STRTOULL@ _GL_FUNCDECL_SYS (strtoull, unsigned long long, (const char *restrict string, char **restrict endptr, int base), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strtoull, unsigned long long, (const char *restrict string, char **restrict endptr, int base)); # endif _GL_CXXALIASWARN (strtoull); #elif defined GNULIB_POSIXCHECK # undef strtoull # if HAVE_RAW_DECL_STRTOULL _GL_WARN_ON_USE (strtoull, "strtoull is unportable - " "use gnulib module strtoull for portability"); # endif #endif #if @GNULIB_UNLOCKPT@ /* Unlock the slave side of the pseudo-terminal whose master side is specified by FD, so that it can be opened. */ # if !@HAVE_UNLOCKPT@ _GL_FUNCDECL_SYS (unlockpt, int, (int fd), ); # endif _GL_CXXALIAS_SYS (unlockpt, int, (int fd)); _GL_CXXALIASWARN (unlockpt); #elif defined GNULIB_POSIXCHECK # undef unlockpt # if HAVE_RAW_DECL_UNLOCKPT _GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " "use gnulib module unlockpt for portability"); # endif #endif #if @GNULIB_UNSETENV@ /* Remove the variable NAME from the environment. */ # if @REPLACE_UNSETENV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unsetenv # define unsetenv rpl_unsetenv # endif _GL_FUNCDECL_RPL (unsetenv, int, (const char *name), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); # else # if !@HAVE_DECL_UNSETENV@ _GL_FUNCDECL_SYS (unsetenv, int, (const char *name), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); # endif # if !(@REPLACE_UNSETENV@ && !@HAVE_DECL_UNSETENV@) _GL_CXXALIASWARN (unsetenv); # endif #elif defined GNULIB_POSIXCHECK # undef unsetenv # if HAVE_RAW_DECL_UNSETENV _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " "use gnulib module unsetenv for portability"); # endif #endif /* Convert a wide character to a multibyte character. */ #if @GNULIB_WCTOMB@ # if @REPLACE_WCTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctomb # define wctomb rpl_wctomb # endif _GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc), ); _GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); # else _GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wctomb); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_STDLIB_H */ #endif /* _@GUARD_PREFIX@_STDLIB_H */ #endif datamash-1.9/lib/stdnoreturn.in.h0000644000000000000000000000447114767401140012521 /* A substitute for ISO C11 . Copyright 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ /* This file uses _Noreturn. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #ifndef noreturn /* ISO C11 for platforms that lack it. References: ISO C11 (latest free draft ) section 7.23 is obsolescent in C23, so new code should avoid it. */ /* The definition of _Noreturn is copied here. */ #if 1200 <= _MSC_VER || defined __CYGWIN__ /* On MSVC, standard include files contain declarations like __declspec (noreturn) void abort (void); "#define noreturn _Noreturn" would cause this declaration to be rewritten to the invalid __declspec (__declspec (noreturn)) void abort (void); Similarly, on Cygwin, standard include files contain declarations like void __cdecl abort (void) __attribute__ ((noreturn)); "#define noreturn _Noreturn" would cause this declaration to be rewritten to the invalid void __cdecl abort (void) __attribute__ ((__attribute__ ((__noreturn__)))); Instead, define noreturn to empty, so that such declarations are rewritten to __declspec () void abort (void); or void __cdecl abort (void) __attribute__ (()); respectively. This gives up on noreturn's advice to the compiler but at least it is valid code. */ # define noreturn /*empty*/ #else # define noreturn _Noreturn #endif /* Did he ever return? No he never returned And his fate is still unlearn'd ... -- Steiner J, Hawes BL. M.T.A. (1949) */ #endif /* noreturn */ datamash-1.9/lib/stpcpy.c0000644000000000000000000000260514767401140011037 /* stpcpy.c -- copy a string and return pointer to end of new string Copyright (C) 1992, 1995, 1997-1998, 2006, 2009-2025 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include #undef __stpcpy #ifdef _LIBC # undef stpcpy #endif #ifndef weak_alias # define __stpcpy stpcpy #endif /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */ char * __stpcpy (char *dest, const char *src) { register char *d = dest; register const char *s = src; do *d++ = *s; while (*s++ != '\0'); return d - 1; } #ifdef weak_alias weak_alias (__stpcpy, stpcpy) #endif datamash-1.9/lib/str-kmp.h0000644000000000000000000001333114767401140011115 /* Substring search in a NUL terminated string of UNIT elements, using the Knuth-Morris-Pratt algorithm. Copyright (C) 2005-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2005. This file is free software. It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+". You can redistribute it and/or modify it under either - the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3, or (at your option) any later version, or - the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+". This file 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 Lesser General Public License and the GNU General Public License for more details. You should have received a copy of the GNU Lesser General Public License and of the GNU General Public License along with this program. If not, see . */ /* Before including this file, you need to define: UNIT The element type of the needle and haystack. CANON_ELEMENT(c) A macro that canonicalizes an element right after it has been fetched from needle or haystack. The argument is of type UNIT; the result must be of type UNIT as well. */ /* Knuth-Morris-Pratt algorithm. See https://en.wikipedia.org/wiki/Knuth-Morris-Pratt_algorithm HAYSTACK is the NUL terminated string in which to search for. NEEDLE is the string to search for in HAYSTACK, consisting of NEEDLE_LEN units. Return a boolean indicating success: Return true and set *RESULTP if the search was completed. Return false if it was aborted because not enough memory was available. */ static bool knuth_morris_pratt (const UNIT *haystack, const UNIT *needle, size_t needle_len, const UNIT **resultp) { size_t m = needle_len; /* Allocate the table. */ size_t *table = (size_t *) nmalloca (m, sizeof (size_t)); if (table == NULL) return false; /* Fill the table. For 0 < i < m: 0 < table[i] <= i is defined such that forall 0 < x < table[i]: needle[x..i-1] != needle[0..i-1-x], and table[i] is as large as possible with this property. This implies: 1) For 0 < i < m: If table[i] < i, needle[table[i]..i-1] = needle[0..i-1-table[i]]. 2) For 0 < i < m: rhaystack[0..i-1] == needle[0..i-1] and exists h, i <= h < m: rhaystack[h] != needle[h] implies forall 0 <= x < table[i]: rhaystack[x..x+m-1] != needle[0..m-1]. table[0] remains uninitialized. */ { size_t i, j; /* i = 1: Nothing to verify for x = 0. */ table[1] = 1; j = 0; for (i = 2; i < m; i++) { /* Here: j = i-1 - table[i-1]. The inequality needle[x..i-1] != needle[0..i-1-x] is known to hold for x < table[i-1], by induction. Furthermore, if j>0: needle[i-1-j..i-2] = needle[0..j-1]. */ UNIT b = CANON_ELEMENT (needle[i - 1]); for (;;) { /* Invariants: The inequality needle[x..i-1] != needle[0..i-1-x] is known to hold for x < i-1-j. Furthermore, if j>0: needle[i-1-j..i-2] = needle[0..j-1]. */ if (b == CANON_ELEMENT (needle[j])) { /* Set table[i] := i-1-j. */ table[i] = i - ++j; break; } /* The inequality needle[x..i-1] != needle[0..i-1-x] also holds for x = i-1-j, because needle[i-1] != needle[j] = needle[i-1-x]. */ if (j == 0) { /* The inequality holds for all possible x. */ table[i] = i; break; } /* The inequality needle[x..i-1] != needle[0..i-1-x] also holds for i-1-j < x < i-1-j+table[j], because for these x: needle[x..i-2] = needle[x-(i-1-j)..j-1] != needle[0..j-1-(x-(i-1-j))] (by definition of table[j]) = needle[0..i-2-x], hence needle[x..i-1] != needle[0..i-1-x]. Furthermore needle[i-1-j+table[j]..i-2] = needle[table[j]..j-1] = needle[0..j-1-table[j]] (by definition of table[j]). */ j = j - table[j]; } /* Here: j = i - table[i]. */ } } /* Search, using the table to accelerate the processing. */ { size_t j; const UNIT *rhaystack; const UNIT *phaystack; *resultp = NULL; j = 0; rhaystack = haystack; phaystack = haystack; /* Invariant: phaystack = rhaystack + j. */ while (*phaystack != 0) if (CANON_ELEMENT (needle[j]) == CANON_ELEMENT (*phaystack)) { j++; phaystack++; if (j == m) { /* The entire needle has been found. */ *resultp = rhaystack; break; } } else if (j > 0) { /* Found a match of needle[0..j-1], mismatch at needle[j]. */ rhaystack += table[j]; j -= table[j]; } else { /* Found a mismatch at needle[0] already. */ rhaystack++; phaystack++; } } freea (table); return true; } #undef CANON_ELEMENT datamash-1.9/lib/strcasecmp.c0000644000000000000000000000340414767402206011663 /* Case-insensitive string comparison function for unibyte locales. Copyright (C) 1998-1999, 2005-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include /* Compare strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function does not work with multibyte strings! */ int strcasecmp (const char *s1, const char *s2) { const unsigned char *p1 = (const unsigned char *) s1; const unsigned char *p2 = (const unsigned char *) s2; unsigned char c1, c2; if (p1 == p2) return 0; do { c1 = tolower (*p1); c2 = tolower (*p2); if (c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); if (UCHAR_MAX <= INT_MAX) return c1 - c2; else /* On machines where 'char' and 'int' are types of the same size, the difference of two 'unsigned char' values - including the sign bit - doesn't fit in an 'int'. */ return _GL_CMP (c1, c2); } datamash-1.9/lib/strdup.c0000644000000000000000000000253214767401140011035 /* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _LIBC # include #endif /* Get specification. */ #include #include #undef __strdup #ifdef _LIBC # undef strdup #endif #ifndef weak_alias # define __strdup strdup #endif /* Duplicate S, returning an identical malloc'd string. */ char * __strdup (const char *s) { size_t len = strlen (s) + 1; void *new = malloc (len); if (new == NULL) return NULL; return (char *) memcpy (new, s, len); } #ifdef libc_hidden_def libc_hidden_def (__strdup) #endif #ifdef weak_alias weak_alias (__strdup, strdup) #endif datamash-1.9/lib/streq.h0000644000000000000000000001001214767401140010647 /* Optimized string comparison. Copyright (C) 2001-2002, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible . */ #ifndef _GL_STREQ_H #define _GL_STREQ_H #include #ifdef __cplusplus extern "C" { #endif /* STREQ_OPT allows to optimize string comparison with a small literal string. STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) is semantically equivalent to strcmp (s, "EUC-KR") == 0 just faster. */ /* Help GCC to generate good code for string comparisons with immediate strings. */ #if (defined __GNUC__ || defined __clang__) && defined __OPTIMIZE__ static inline int streq9 (const char *s1, const char *s2) { return strcmp (s1 + 9, s2 + 9) == 0; } static inline int streq8 (const char *s1, const char *s2, char s28) { if (s1[8] == s28) { if (s28 == 0) return 1; else return streq9 (s1, s2); } else return 0; } static inline int streq7 (const char *s1, const char *s2, char s27, char s28) { if (s1[7] == s27) { if (s27 == 0) return 1; else return streq8 (s1, s2, s28); } else return 0; } static inline int streq6 (const char *s1, const char *s2, char s26, char s27, char s28) { if (s1[6] == s26) { if (s26 == 0) return 1; else return streq7 (s1, s2, s27, s28); } else return 0; } static inline int streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) { if (s1[5] == s25) { if (s25 == 0) return 1; else return streq6 (s1, s2, s26, s27, s28); } else return 0; } static inline int streq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) { if (s1[4] == s24) { if (s24 == 0) return 1; else return streq5 (s1, s2, s25, s26, s27, s28); } else return 0; } static inline int streq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[3] == s23) { if (s23 == 0) return 1; else return streq4 (s1, s2, s24, s25, s26, s27, s28); } else return 0; } static inline int streq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[2] == s22) { if (s22 == 0) return 1; else return streq3 (s1, s2, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int streq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[1] == s21) { if (s21 == 0) return 1; else return streq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); } else return 0; } static inline int streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) { if (s1[0] == s20) { if (s20 == 0) return 1; else return streq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); } else return 0; } #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) #else #define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ (strcmp (s1, s2) == 0) #endif #ifdef __cplusplus } #endif #endif /* _GL_STREQ_H */ datamash-1.9/lib/strerror-override.c0000644000000000000000000002202714767401140013214 /* strerror-override.c --- POSIX compatible system error routine Copyright (C) 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2010. */ #include #include "strerror-override.h" #include #if GNULIB_defined_EWINSOCK /* native Windows platforms */ # if HAVE_WINSOCK2_H # include # endif #endif #if !GNULIB_defined_strerror_override_macro /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ const char * strerror_override (int errnum) { /* These error messages are taken from glibc/sysdeps/gnu/errlist.c. */ switch (errnum) { # if REPLACE_STRERROR_0 case 0: return "Success"; # endif # if GNULIB_defined_ESOCK /* native Windows platforms with older */ case EINPROGRESS: return "Operation now in progress"; case EALREADY: return "Operation already in progress"; case ENOTSOCK: return "Socket operation on non-socket"; case EDESTADDRREQ: return "Destination address required"; case EMSGSIZE: return "Message too long"; case EPROTOTYPE: return "Protocol wrong type for socket"; case ENOPROTOOPT: return "Protocol not available"; case EPROTONOSUPPORT: return "Protocol not supported"; case EOPNOTSUPP: return "Operation not supported"; case EAFNOSUPPORT: return "Address family not supported by protocol"; case EADDRINUSE: return "Address already in use"; case EADDRNOTAVAIL: return "Cannot assign requested address"; case ENETDOWN: return "Network is down"; case ENETUNREACH: return "Network is unreachable"; case ECONNRESET: return "Connection reset by peer"; case ENOBUFS: return "No buffer space available"; case EISCONN: return "Transport endpoint is already connected"; case ENOTCONN: return "Transport endpoint is not connected"; case ETIMEDOUT: return "Connection timed out"; case ECONNREFUSED: return "Connection refused"; case ELOOP: return "Too many levels of symbolic links"; case EHOSTUNREACH: return "No route to host"; case EWOULDBLOCK: return "Operation would block"; # endif # if GNULIB_defined_ESTREAMS /* native Windows platforms with older */ case ETXTBSY: return "Text file busy"; case ENODATA: return "No data available"; case ENOSR: return "Out of streams resources"; case ENOSTR: return "Device not a stream"; case ETIME: return "Timer expired"; case EOTHER: return "Other error"; # endif # if GNULIB_defined_EWINSOCK /* native Windows platforms */ case ESOCKTNOSUPPORT: return "Socket type not supported"; case EPFNOSUPPORT: return "Protocol family not supported"; case ESHUTDOWN: return "Cannot send after transport endpoint shutdown"; case ETOOMANYREFS: return "Too many references: cannot splice"; case EHOSTDOWN: return "Host is down"; case EPROCLIM: return "Too many processes"; case EUSERS: return "Too many users"; case EDQUOT: return "Disk quota exceeded"; case ESTALE: return "Stale NFS file handle"; case EREMOTE: return "Object is remote"; # if HAVE_WINSOCK2_H /* WSA_INVALID_HANDLE maps to EBADF */ /* WSA_NOT_ENOUGH_MEMORY maps to ENOMEM */ /* WSA_INVALID_PARAMETER maps to EINVAL */ case WSA_OPERATION_ABORTED: return "Overlapped operation aborted"; case WSA_IO_INCOMPLETE: return "Overlapped I/O event object not in signaled state"; case WSA_IO_PENDING: return "Overlapped operations will complete later"; /* WSAEINTR maps to EINTR */ /* WSAEBADF maps to EBADF */ /* WSAEACCES maps to EACCES */ /* WSAEFAULT maps to EFAULT */ /* WSAEINVAL maps to EINVAL */ /* WSAEMFILE maps to EMFILE */ /* WSAEWOULDBLOCK maps to EWOULDBLOCK */ /* WSAEINPROGRESS maps to EINPROGRESS */ /* WSAEALREADY maps to EALREADY */ /* WSAENOTSOCK maps to ENOTSOCK */ /* WSAEDESTADDRREQ maps to EDESTADDRREQ */ /* WSAEMSGSIZE maps to EMSGSIZE */ /* WSAEPROTOTYPE maps to EPROTOTYPE */ /* WSAENOPROTOOPT maps to ENOPROTOOPT */ /* WSAEPROTONOSUPPORT maps to EPROTONOSUPPORT */ /* WSAESOCKTNOSUPPORT is ESOCKTNOSUPPORT */ /* WSAEOPNOTSUPP maps to EOPNOTSUPP */ /* WSAEPFNOSUPPORT is EPFNOSUPPORT */ /* WSAEAFNOSUPPORT maps to EAFNOSUPPORT */ /* WSAEADDRINUSE maps to EADDRINUSE */ /* WSAEADDRNOTAVAIL maps to EADDRNOTAVAIL */ /* WSAENETDOWN maps to ENETDOWN */ /* WSAENETUNREACH maps to ENETUNREACH */ /* WSAENETRESET maps to ENETRESET */ /* WSAECONNABORTED maps to ECONNABORTED */ /* WSAECONNRESET maps to ECONNRESET */ /* WSAENOBUFS maps to ENOBUFS */ /* WSAEISCONN maps to EISCONN */ /* WSAENOTCONN maps to ENOTCONN */ /* WSAESHUTDOWN is ESHUTDOWN */ /* WSAETOOMANYREFS is ETOOMANYREFS */ /* WSAETIMEDOUT maps to ETIMEDOUT */ /* WSAECONNREFUSED maps to ECONNREFUSED */ /* WSAELOOP maps to ELOOP */ /* WSAENAMETOOLONG maps to ENAMETOOLONG */ /* WSAEHOSTDOWN is EHOSTDOWN */ /* WSAEHOSTUNREACH maps to EHOSTUNREACH */ /* WSAENOTEMPTY maps to ENOTEMPTY */ /* WSAEPROCLIM is EPROCLIM */ /* WSAEUSERS is EUSERS */ /* WSAEDQUOT is EDQUOT */ /* WSAESTALE is ESTALE */ /* WSAEREMOTE is EREMOTE */ case WSASYSNOTREADY: return "Network subsystem is unavailable"; case WSAVERNOTSUPPORTED: return "Winsock.dll version out of range"; case WSANOTINITIALISED: return "Successful WSAStartup not yet performed"; case WSAEDISCON: return "Graceful shutdown in progress"; case WSAENOMORE: case WSA_E_NO_MORE: return "No more results"; case WSAECANCELLED: case WSA_E_CANCELLED: return "Call was canceled"; case WSAEINVALIDPROCTABLE: return "Procedure call table is invalid"; case WSAEINVALIDPROVIDER: return "Service provider is invalid"; case WSAEPROVIDERFAILEDINIT: return "Service provider failed to initialize"; case WSASYSCALLFAILURE: return "System call failure"; case WSASERVICE_NOT_FOUND: return "Service not found"; case WSATYPE_NOT_FOUND: return "Class type not found"; case WSAEREFUSED: return "Database query was refused"; case WSAHOST_NOT_FOUND: return "Host not found"; case WSATRY_AGAIN: return "Nonauthoritative host not found"; case WSANO_RECOVERY: return "Nonrecoverable error"; case WSANO_DATA: return "Valid name, no data record of requested type"; /* WSA_QOS_* omitted */ # endif # endif # if GNULIB_defined_ENOMSG case ENOMSG: return "No message of desired type"; # endif # if GNULIB_defined_EIDRM case EIDRM: return "Identifier removed"; # endif # if GNULIB_defined_ENOLINK case ENOLINK: return "Link has been severed"; # endif # if GNULIB_defined_EPROTO case EPROTO: return "Protocol error"; # endif # if GNULIB_defined_EMULTIHOP case EMULTIHOP: return "Multihop attempted"; # endif # if GNULIB_defined_EBADMSG case EBADMSG: return "Bad message"; # endif # if GNULIB_defined_EOVERFLOW case EOVERFLOW: return "Value too large for defined data type"; # endif # if GNULIB_defined_ENOTSUP case ENOTSUP: return "Not supported"; # endif # if GNULIB_defined_ENETRESET case ENETRESET: return "Network dropped connection on reset"; # endif # if GNULIB_defined_ECONNABORTED case ECONNABORTED: return "Software caused connection abort"; # endif # if GNULIB_defined_ESTALE case ESTALE: return "Stale NFS file handle"; # endif # if GNULIB_defined_EDQUOT case EDQUOT: return "Disk quota exceeded"; # endif # if GNULIB_defined_ECANCELED case ECANCELED: return "Operation canceled"; # endif # if GNULIB_defined_EOWNERDEAD case EOWNERDEAD: return "Owner died"; # endif # if GNULIB_defined_ENOTRECOVERABLE case ENOTRECOVERABLE: return "State not recoverable"; # endif # if GNULIB_defined_EILSEQ case EILSEQ: return "Invalid or incomplete multibyte or wide character"; # endif # if GNULIB_defined_ESOCKTNOSUPPORT case ESOCKTNOSUPPORT: return "Socket type not supported"; # endif default: return NULL; } } #endif datamash-1.9/lib/strerror-override.h0000644000000000000000000000436214767401140013223 /* strerror-override.h --- POSIX compatible system error routine Copyright (C) 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_STRERROR_OVERRIDE_H #define _GL_STRERROR_OVERRIDE_H /* This file uses _GL_ATTRIBUTE_CONST. */ #if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." #endif #include #include #ifdef __cplusplus extern "C" { #endif /* Reasonable buffer size that should never trigger ERANGE; if this proves too small, we intentionally abort(), to remind us to fix this value. */ #define STACKBUF_LEN 256 /* If ERRNUM maps to an errno value defined by gnulib, return a string describing the error. Otherwise return NULL. */ #if REPLACE_STRERROR_0 \ || GNULIB_defined_ESOCK \ || GNULIB_defined_ESTREAMS \ || GNULIB_defined_EWINSOCK \ || GNULIB_defined_ENOMSG \ || GNULIB_defined_EIDRM \ || GNULIB_defined_ENOLINK \ || GNULIB_defined_EPROTO \ || GNULIB_defined_EMULTIHOP \ || GNULIB_defined_EBADMSG \ || GNULIB_defined_EOVERFLOW \ || GNULIB_defined_ENOTSUP \ || GNULIB_defined_ENETRESET \ || GNULIB_defined_ECONNABORTED \ || GNULIB_defined_ESTALE \ || GNULIB_defined_EDQUOT \ || GNULIB_defined_ECANCELED \ || GNULIB_defined_EOWNERDEAD \ || GNULIB_defined_ENOTRECOVERABLE \ || GNULIB_defined_EILSEQ \ || GNULIB_defined_ESOCKTNOSUPPORT extern const char *strerror_override (int errnum) _GL_ATTRIBUTE_CONST; #else # define strerror_override(ignored) NULL # define GNULIB_defined_strerror_override_macro 1 #endif #ifdef __cplusplus } #endif #endif /* _GL_STRERROR_OVERRIDE_H */ datamash-1.9/lib/strerror.c0000644000000000000000000000443514767401140011402 /* strerror.c --- POSIX compatible system error routine Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include #include #include #include "intprops.h" #include "strerror-override.h" /* Use the system functions, not the gnulib overrides in this file. */ #undef sprintf /* macOS 12's "warning: 'sprintf' is deprecated" is pointless, as sprintf is used safely here. */ #if defined __APPLE__ && defined __MACH__ && _GL_GNUC_PREREQ (4, 2) # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif char * strerror (int n) #undef strerror { static char buf[STACKBUF_LEN]; size_t len; /* Cast away const, due to the historical signature of strerror; callers should not be modifying the string. */ const char *msg = strerror_override (n); if (msg) return (char *) msg; msg = strerror (n); /* Our strerror_r implementation might use the system's strerror buffer, so all other clients of strerror have to see the error copied into a buffer that we manage. This is not thread-safe, even if the system strerror is, but portable programs shouldn't be using strerror if they care about thread-safety. */ if (!msg || !*msg) { static char const fmt[] = "Unknown error %d"; static_assert (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); sprintf (buf, fmt, n); errno = EINVAL; return buf; } /* Fix STACKBUF_LEN if this ever aborts. */ len = strlen (msg); if (sizeof buf <= len) abort (); memcpy (buf, msg, len + 1); return buf; } datamash-1.9/lib/striconv.c0000644000000000000000000002614414767401140011370 /* Charset conversion. Copyright (C) 2001-2007, 2010-2025 Free Software Foundation, Inc. Written by Bruno Haible and Simon Josefsson. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "striconv.h" #include #include #include #if HAVE_ICONV # include /* Get MB_LEN_MAX, CHAR_BIT. */ # include #endif #include "c-strcase.h" #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif #if HAVE_ICONV int mem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp) { # define tmpbufsize 4096 size_t length; char *result; /* Set to the initial state. */ iconv (cd, NULL, NULL, NULL, NULL); /* Determine the length we need. */ { size_t count = 0; /* The alignment is needed when converting e.g. to glibc's WCHAR_T or libiconv's UCS-4-INTERNAL encoding. */ union { unsigned int align; char buf[tmpbufsize]; } tmp; # define tmpbuf tmp.buf const char *inptr = src; size_t insize = srclen; while (insize > 0) { char *outptr = tmpbuf; size_t outsize = tmpbufsize; size_t res = iconv (cd, (ICONV_CONST char **) &inptr, &insize, &outptr, &outsize); if (res == (size_t)(-1)) { if (errno == E2BIG) ; else if (errno == EINVAL) break; else return -1; } # if !(defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \ && !(defined __GLIBC__ && !defined __UCLIBC__) /* Irix iconv() inserts a NUL byte if it cannot convert. NetBSD iconv() inserts a question mark if it cannot convert. Only GNU libiconv (excluding the bastard Apple iconv) and GNU libc are known to prefer to fail rather than doing a lossy conversion. */ else if (res > 0) { errno = EILSEQ; return -1; } # endif count += outptr - tmpbuf; } { char *outptr = tmpbuf; size_t outsize = tmpbufsize; size_t res = iconv (cd, NULL, NULL, &outptr, &outsize); if (res == (size_t)(-1)) return -1; count += outptr - tmpbuf; } length = count; # undef tmpbuf } if (length == 0) { *lengthp = 0; return 0; } if (*resultp != NULL && *lengthp >= length) result = *resultp; else { result = (char *) malloc (length); if (result == NULL) { errno = ENOMEM; return -1; } } /* Return to the initial state. */ iconv (cd, NULL, NULL, NULL, NULL); /* Do the conversion for real. */ { const char *inptr = src; size_t insize = srclen; char *outptr = result; size_t outsize = length; while (insize > 0) { size_t res = iconv (cd, (ICONV_CONST char **) &inptr, &insize, &outptr, &outsize); if (res == (size_t)(-1)) { if (errno == EINVAL) break; else goto fail; } # if !(defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \ && !(defined __GLIBC__ && !defined __UCLIBC__) /* Irix iconv() inserts a NUL byte if it cannot convert. NetBSD iconv() inserts a question mark if it cannot convert. Only GNU libiconv (excluding the bastard Apple iconv) and GNU libc are known to prefer to fail rather than doing a lossy conversion. */ else if (res > 0) { errno = EILSEQ; goto fail; } # endif } { size_t res = iconv (cd, NULL, NULL, &outptr, &outsize); if (res == (size_t)(-1)) goto fail; } if (outsize != 0) abort (); } *resultp = result; *lengthp = length; return 0; fail: { if (result != *resultp) free (result); return -1; } # undef tmpbufsize } char * str_cd_iconv (const char *src, iconv_t cd) { /* For most encodings, a trailing NUL byte in the input will be converted to a trailing NUL byte in the output. But not for UTF-7. So that this function is usable for UTF-7, we have to exclude the NUL byte from the conversion and add it by hand afterwards. */ # if !(defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \ && !(defined __GLIBC__ && !defined __UCLIBC__) /* Irix iconv() inserts a NUL byte if it cannot convert. NetBSD iconv() inserts a question mark if it cannot convert. Only GNU libiconv (excluding the bastard Apple iconv) and GNU libc are known to prefer to fail rather than doing a lossy conversion. For other iconv() implementations, we have to look at the number of irreversible conversions returned; but this information is lost when iconv() returns for an E2BIG reason. Therefore we cannot use the second, faster algorithm. */ char *result = NULL; size_t length = 0; int retval = mem_cd_iconv (src, strlen (src), cd, &result, &length); char *final_result; if (retval < 0) { if (result != NULL) abort (); return NULL; } /* Add the terminating NUL byte. */ final_result = (result != NULL ? realloc (result, length + 1) : malloc (length + 1)); if (final_result == NULL) { free (result); errno = ENOMEM; return NULL; } final_result[length] = '\0'; return final_result; # else /* This algorithm is likely faster than the one above. But it may produce iconv() returns for an E2BIG reason, when the output size guess is too small. Therefore it can only be used when we don't need the number of irreversible conversions performed. */ char *result; size_t result_size; size_t length; const char *inptr = src; size_t inbytes_remaining = strlen (src); /* Make a guess for the worst-case output size, in order to avoid a realloc. It's OK if the guess is wrong as long as it is not zero and doesn't lead to an integer overflow. */ result_size = inbytes_remaining; { size_t approx_sqrt_SIZE_MAX = SIZE_MAX >> (sizeof (size_t) * CHAR_BIT / 2); if (result_size <= approx_sqrt_SIZE_MAX / MB_LEN_MAX) result_size *= MB_LEN_MAX; } result_size += 1; /* for the terminating NUL */ result = (char *) malloc (result_size); if (result == NULL) { errno = ENOMEM; return NULL; } /* Set to the initial state. */ iconv (cd, NULL, NULL, NULL, NULL); /* Do the conversion. */ { char *outptr = result; size_t outbytes_remaining = result_size - 1; for (;;) { /* Here inptr + inbytes_remaining = src + strlen (src), outptr + outbytes_remaining = result + result_size - 1. */ size_t res = iconv (cd, (ICONV_CONST char **) &inptr, &inbytes_remaining, &outptr, &outbytes_remaining); if (res == (size_t)(-1)) { if (errno == EINVAL) break; else if (errno == E2BIG) { size_t used = outptr - result; size_t newsize = result_size * 2; char *newresult; if (!(newsize > result_size)) { errno = ENOMEM; goto failed; } newresult = (char *) realloc (result, newsize); if (newresult == NULL) { errno = ENOMEM; goto failed; } result = newresult; result_size = newsize; outptr = result + used; outbytes_remaining = result_size - 1 - used; } else goto failed; } else break; } for (;;) { /* Here outptr + outbytes_remaining = result + result_size - 1. */ size_t res = iconv (cd, NULL, NULL, &outptr, &outbytes_remaining); if (res == (size_t)(-1)) { if (errno == E2BIG) { size_t used = outptr - result; size_t newsize = result_size * 2; char *newresult; if (!(newsize > result_size)) { errno = ENOMEM; goto failed; } newresult = (char *) realloc (result, newsize); if (newresult == NULL) { errno = ENOMEM; goto failed; } result = newresult; result_size = newsize; outptr = result + used; outbytes_remaining = result_size - 1 - used; } else goto failed; } else break; } /* Add the terminating NUL byte. */ *outptr++ = '\0'; length = outptr - result; } /* Give away unused memory. */ if (length < result_size) { char *smaller_result = (char *) realloc (result, length); if (smaller_result != NULL) result = smaller_result; } return result; failed: free (result); return NULL; # endif } #endif char * str_iconv (const char *src, const char *from_codeset, const char *to_codeset) { if (*src == '\0' || c_strcasecmp (from_codeset, to_codeset) == 0) { char *result = strdup (src); if (result == NULL) errno = ENOMEM; return result; } else { #if HAVE_ICONV iconv_t cd; char *result; cd = iconv_open (to_codeset, from_codeset); if (cd == (iconv_t) -1) return NULL; result = str_cd_iconv (src, cd); if (result == NULL) { /* Close cd, but preserve the errno from str_cd_iconv. */ int saved_errno = errno; iconv_close (cd); errno = saved_errno; } else { if (iconv_close (cd) < 0) { free (result); return NULL; } } return result; #else /* This is a different error code than if iconv_open existed but didn't support from_codeset and to_codeset, so that the caller can emit an error message such as "iconv() is not supported. Installing GNU libiconv and then reinstalling this package would fix this." */ errno = ENOSYS; return NULL; #endif } } datamash-1.9/lib/striconv.h0000644000000000000000000000611214767401140011366 /* Charset conversion. Copyright (C) 2001-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible and Simon Josefsson. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _STRICONV_H #define _STRICONV_H /* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #if HAVE_ICONV #include #endif #ifdef __cplusplus extern "C" { #endif #if HAVE_ICONV /* Convert an entire string from one encoding to another, using iconv. The original string is at [SRC,...,SRC+SRCLEN-1]. The conversion descriptor is passed as CD. *RESULTP and *LENGTH should initially be a scratch buffer and its size, or *RESULTP can initially be NULL. May erase the contents of the memory at *RESULTP. Return value: 0 if successful, otherwise -1 and errno set. If successful: The resulting string is stored in *RESULTP and its length in *LENGTHP. *RESULTP is set to a freshly allocated memory block, or is unchanged if no dynamic memory allocation was necessary. */ extern int mem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp); /* Convert an entire string from one encoding to another, using iconv. The original string is the NUL-terminated string starting at SRC. The conversion descriptor is passed as CD. Both the "from" and the "to" encoding must use a single NUL byte at the end of the string (i.e. not UCS-2, UCS-4, UTF-16, UTF-32). Allocate a malloced memory block for the result. Return value: the freshly allocated resulting NUL-terminated string if successful, otherwise NULL and errno set. */ extern char * str_cd_iconv (const char *src, iconv_t cd) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; #endif /* Convert an entire string from one encoding to another, using iconv. The original string is the NUL-terminated string starting at SRC. Both the "from" and the "to" encoding must use a single NUL byte at the end of the string (i.e. not UCS-2, UCS-4, UTF-16, UTF-32). Allocate a malloced memory block for the result. Return value: the freshly allocated resulting NUL-terminated string if successful, otherwise NULL and errno set. */ extern char * str_iconv (const char *src, const char *from_codeset, const char *to_codeset) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; #ifdef __cplusplus } #endif #endif /* _STRICONV_H */ datamash-1.9/lib/string.in.h0000644000000000000000000016706714767402206011457 /* A GNU-like . Copyright (C) 1995-1996, 2001-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _@GUARD_PREFIX@_ALREADY_INCLUDING_STRING_H /* Special invocation convention: - On OS X/NetBSD we have a sequence of nested includes -> -> "string.h" In this situation system _chk variants due to -D_FORTIFY_SOURCE might be used after any replacements defined here. */ #@INCLUDE_NEXT@ @NEXT_STRING_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_STRING_H #define _@GUARD_PREFIX@_ALREADY_INCLUDING_STRING_H /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_STRING_H@ #undef _@GUARD_PREFIX@_ALREADY_INCLUDING_STRING_H #ifndef _@GUARD_PREFIX@_STRING_H #define _@GUARD_PREFIX@_STRING_H /* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_NOTHROW, _GL_ATTRIBUTE_PURE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* NetBSD 5.0 mis-defines NULL. */ #include #if @GNULIB_STRERROR_L@ /* Get locale_t. */ # include #endif /* MirBSD defines mbslen as a macro. */ #if @GNULIB_MBSLEN@ && defined __MirBSD__ # include #endif /* NetBSD 5.0 declares strsignal in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if (@GNULIB_STRSIGNAL@ || defined GNULIB_POSIXCHECK) && defined __NetBSD__ \ && ! defined __GLIBC__ # include #endif /* AIX 7.2 and Android 13 declare ffsl and ffsll in , not in . */ /* But in any case avoid namespace pollution on glibc systems. */ #if ((@GNULIB_FFSL@ || @GNULIB_FFSLL@ || defined GNULIB_POSIXCHECK) \ && (defined _AIX || defined __ANDROID__)) \ && ! defined __GLIBC__ # include #endif /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. */ #ifndef _GL_ATTRIBUTE_DEALLOC # if __GNUC__ >= 11 && !defined __clang__ # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) # else # define _GL_ATTRIBUTE_DEALLOC(f, i) # endif #endif /* _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that can be freed via 'free'; it can be used only after declaring 'free'. */ /* Applies to: functions. Cannot be used on inline functions. */ #ifndef _GL_ATTRIBUTE_DEALLOC_FREE # if defined __cplusplus && defined __GNUC__ && !defined __clang__ /* Work around GCC bug */ # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1) # else # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC (free, 1) # endif #endif /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly allocated memory. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_MALLOC # if __GNUC__ >= 3 || defined __clang__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) # else # define _GL_ATTRIBUTE_MALLOC # endif #endif /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 2) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__ # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #ifndef _GL_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE /* empty */ # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Make _GL_ATTRIBUTE_DEALLOC_FREE work, even though may not have been included yet. */ #if @GNULIB_FREE_POSIX@ # if (@REPLACE_FREE@ && !defined free \ && !(defined __cplusplus && defined GNULIB_NAMESPACE)) /* We can't do '#define free rpl_free' here. */ # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_EXTERN_C void rpl_free (void *) _GL_ATTRIBUTE_NOTHROW; # else _GL_EXTERN_C void rpl_free (void *); # endif # undef _GL_ATTRIBUTE_DEALLOC_FREE # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (rpl_free, 1) # else # if defined _MSC_VER && !defined free _GL_EXTERN_C # if defined _DLL __declspec (dllimport) # endif void __cdecl free (void *); # else # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_EXTERN_C void free (void *) _GL_ATTRIBUTE_NOTHROW; # else _GL_EXTERN_C void free (void *); # endif # endif # endif #else # if defined _MSC_VER && !defined free _GL_EXTERN_C # if defined _DLL __declspec (dllimport) # endif void __cdecl free (void *); # else # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_EXTERN_C void free (void *) _GL_ATTRIBUTE_NOTHROW; # else _GL_EXTERN_C void free (void *); # endif # endif #endif /* Clear a block of memory. The compiler will not delete a call to this function, even if the block is dead after the call. */ #if @GNULIB_EXPLICIT_BZERO@ # if ! @HAVE_EXPLICIT_BZERO@ _GL_FUNCDECL_SYS (explicit_bzero, void, (void *__dest, size_t __n), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n)); _GL_CXXALIASWARN (explicit_bzero); #elif defined GNULIB_POSIXCHECK # undef explicit_bzero # if HAVE_RAW_DECL_EXPLICIT_BZERO _GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - " "use gnulib module explicit_bzero for portability"); # endif #endif /* Find the index of the least-significant set bit. */ #if @GNULIB_FFSL@ # if !@HAVE_FFSL@ _GL_FUNCDECL_SYS (ffsl, int, (long int i), ); # endif _GL_CXXALIAS_SYS (ffsl, int, (long int i)); _GL_CXXALIASWARN (ffsl); #elif defined GNULIB_POSIXCHECK # undef ffsl # if HAVE_RAW_DECL_FFSL _GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module"); # endif #endif /* Find the index of the least-significant set bit. */ #if @GNULIB_FFSLL@ # if @REPLACE_FFSLL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define ffsll rpl_ffsll # endif _GL_FUNCDECL_RPL (ffsll, int, (long long int i), ); _GL_CXXALIAS_RPL (ffsll, int, (long long int i)); # else # if !@HAVE_FFSLL@ _GL_FUNCDECL_SYS (ffsll, int, (long long int i), ); # endif _GL_CXXALIAS_SYS (ffsll, int, (long long int i)); # endif _GL_CXXALIASWARN (ffsll); #elif defined GNULIB_POSIXCHECK # undef ffsll # if HAVE_RAW_DECL_FFSLL _GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module"); # endif #endif #if @GNULIB_MDA_MEMCCPY@ /* On native Windows, map 'memccpy' to '_memccpy', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::memccpy always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef memccpy # define memccpy _memccpy # endif _GL_CXXALIAS_MDA (memccpy, void *, (void *dest, const void *src, int c, size_t n)); # else _GL_CXXALIAS_SYS (memccpy, void *, (void *dest, const void *src, int c, size_t n)); # endif _GL_CXXALIASWARN (memccpy); #endif /* Return the first instance of C within N bytes of S, or NULL. */ #if @GNULIB_MEMCHR@ # if @REPLACE_MEMCHR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef memchr # define memchr rpl_memchr # endif _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); # else /* On some systems, this function is defined as an overloaded function: extern "C" { const void * std::memchr (const void *, int, size_t); } extern "C++" { void * std::memchr (void *, int, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (memchr, void *, (void const *__s, int __c, size_t __n), void const *, (void const *__s, int __c, size_t __n)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (memchr, void const *, (void const *__s, int __c, size_t __n) _GL_ATTRIBUTE_NOTHROW); # elif __GLIBC__ >= 2 _GL_CXXALIASWARN (memchr); # endif #elif defined GNULIB_POSIXCHECK # undef memchr /* Assume memchr is always declared. */ _GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " "use gnulib module memchr for portability" ); #endif /* Return the first occurrence of NEEDLE in HAYSTACK. */ #if @GNULIB_MEMMEM@ # if @REPLACE_MEMMEM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define memmem rpl_memmem # endif _GL_FUNCDECL_RPL (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 3))); _GL_CXXALIAS_RPL (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len)); # else # if ! @HAVE_DECL_MEMMEM@ _GL_FUNCDECL_SYS (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 3))); # endif _GL_CXXALIAS_SYS (memmem, void *, (void const *__haystack, size_t __haystack_len, void const *__needle, size_t __needle_len)); # endif _GL_CXXALIASWARN (memmem); #elif defined GNULIB_POSIXCHECK # undef memmem # if HAVE_RAW_DECL_MEMMEM _GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - " "use gnulib module memmem-simple for portability, " "and module memmem for speed" ); # endif #endif /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ #if @GNULIB_MEMPCPY@ # if @REPLACE_MEMPCPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mempcpy # define mempcpy rpl_mempcpy # endif _GL_FUNCDECL_RPL (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n)); # else # if !@HAVE_MEMPCPY@ _GL_FUNCDECL_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mempcpy); # endif #elif defined GNULIB_POSIXCHECK # undef mempcpy # if HAVE_RAW_DECL_MEMPCPY _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " "use gnulib module mempcpy for portability"); # endif #endif /* Search backwards through a block for a byte (specified as an int). */ #if @GNULIB_MEMRCHR@ # if ! @HAVE_DECL_MEMRCHR@ _GL_FUNCDECL_SYS (memrchr, void *, (void const *, int, size_t), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const void * std::memrchr (const void *, int, size_t); } extern "C++" { void * std::memrchr (void *, int, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (memrchr, void *, (void const *, int, size_t), void const *, (void const *, int, size_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (memrchr, void *, (void *, int, size_t) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (memrchr, void const *, (void const *, int, size_t) _GL_ATTRIBUTE_NOTHROW); # elif __GLIBC__ >= 2 _GL_CXXALIASWARN (memrchr); # endif #elif defined GNULIB_POSIXCHECK # undef memrchr # if HAVE_RAW_DECL_MEMRCHR _GL_WARN_ON_USE (memrchr, "memrchr is unportable - " "use gnulib module memrchr for portability"); # endif #endif /* Overwrite a block of memory. The compiler will not optimize effects away, even if the block is dead after the call. */ #if @GNULIB_MEMSET_EXPLICIT@ # if @REPLACE_MEMSET_EXPLICIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef memset_explicit # define memset_explicit rpl_memset_explicit # endif _GL_FUNCDECL_RPL (memset_explicit, void *, (void *__dest, int __c, size_t __n), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (memset_explicit, void *, (void *__dest, int __c, size_t __n)); # else # if !@HAVE_MEMSET_EXPLICIT@ _GL_FUNCDECL_SYS (memset_explicit, void *, (void *__dest, int __c, size_t __n), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (memset_explicit, void *, (void *__dest, int __c, size_t __n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (memset_explicit); # endif #elif defined GNULIB_POSIXCHECK # undef memset_explicit # if HAVE_RAW_DECL_MEMSET_EXPLICIT _GL_WARN_ON_USE (memset_explicit, "memset_explicit is unportable - " "use gnulib module memset_explicit for portability"); # endif #endif /* Find the first occurrence of C in S. More efficient than memchr(S,C,N), at the expense of undefined behavior if C does not occur within N bytes. */ #if @GNULIB_RAWMEMCHR@ # if ! @HAVE_RAWMEMCHR@ _GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const void * std::rawmemchr (const void *, int); } extern "C++" { void * std::rawmemchr (void *, int); } */ _GL_CXXALIAS_SYS_CAST2 (rawmemchr, void *, (void const *__s, int __c_in), void const *, (void const *__s, int __c_in)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (rawmemchr, void *, (void *__s, int __c_in) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (rawmemchr, void const *, (void const *__s, int __c_in) _GL_ATTRIBUTE_NOTHROW); # else _GL_CXXALIASWARN (rawmemchr); # endif #elif defined GNULIB_POSIXCHECK # undef rawmemchr # if HAVE_RAW_DECL_RAWMEMCHR _GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - " "use gnulib module rawmemchr for portability"); # endif #endif /* Copy SRC to DST, returning the address of the terminating '\0' in DST. */ #if @GNULIB_STPCPY@ # if @REPLACE_STPCPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef stpcpy # define stpcpy rpl_stpcpy # endif _GL_FUNCDECL_RPL (stpcpy, char *, (char *restrict __dst, char const *restrict __src), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (stpcpy, char *, (char *restrict __dst, char const *restrict __src)); # else # if !@HAVE_STPCPY@ _GL_FUNCDECL_SYS (stpcpy, char *, (char *restrict __dst, char const *restrict __src), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (stpcpy, char *, (char *restrict __dst, char const *restrict __src)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (stpcpy); # endif #elif defined GNULIB_POSIXCHECK # undef stpcpy # if HAVE_RAW_DECL_STPCPY _GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - " "use gnulib module stpcpy for portability"); # endif #endif /* Copy no more than N bytes of SRC to DST, returning a pointer past the last non-NUL byte written into DST. */ #if @GNULIB_STPNCPY@ # if @REPLACE_STPNCPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef stpncpy # define stpncpy rpl_stpncpy # endif _GL_FUNCDECL_RPL (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n)); # else # if ! @HAVE_STPNCPY@ _GL_FUNCDECL_SYS (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (stpncpy, char *, (char *restrict __dst, char const *restrict __src, size_t __n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (stpncpy); # endif #elif defined GNULIB_POSIXCHECK # undef stpncpy # if HAVE_RAW_DECL_STPNCPY _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " "use gnulib module stpncpy for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strchr() does not work with multibyte strings if the locale encoding is GB18030 and the character to be searched is a digit. */ # undef strchr /* Assume strchr is always declared. */ _GL_WARN_ON_USE_CXX (strchr, const char *, char *, (const char *, int), "strchr cannot work correctly on character strings " "in some multibyte locales - " "use mbschr if you care about internationalization"); #endif /* Find the first occurrence of C in S or the final NUL byte. */ #if @GNULIB_STRCHRNUL@ # if @REPLACE_STRCHRNUL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strchrnul rpl_strchrnul # endif _GL_FUNCDECL_RPL (strchrnul, char *, (const char *__s, int __c_in), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strchrnul, char *, (const char *str, int ch)); # else # if ! @HAVE_STRCHRNUL@ _GL_FUNCDECL_SYS (strchrnul, char *, (char const *__s, int __c_in), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * std::strchrnul (const char *, int); } extern "C++" { char * std::strchrnul (char *, int); } */ _GL_CXXALIAS_SYS_CAST2 (strchrnul, char *, (char const *__s, int __c_in), char const *, (char const *__s, int __c_in)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (strchrnul, char *, (char *__s, int __c_in) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (strchrnul, char const *, (char const *__s, int __c_in) _GL_ATTRIBUTE_NOTHROW); # elif __GLIBC__ >= 2 _GL_CXXALIASWARN (strchrnul); # endif #elif defined GNULIB_POSIXCHECK # undef strchrnul # if HAVE_RAW_DECL_STRCHRNUL _GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " "use gnulib module strchrnul for portability"); # endif #endif /* Duplicate S, returning an identical malloc'd string. */ #if @GNULIB_STRDUP@ # if @REPLACE_STRDUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strdup # define strdup rpl_strdup # endif _GL_FUNCDECL_RPL (strdup, char *, (char const *__s), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); _GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strdup # define strdup _strdup # endif _GL_CXXALIAS_MDA (strdup, char *, (char const *__s)); # else # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup /* strdup exists as a function and as a macro. Get rid of the macro. */ # undef strdup # endif # if (!@HAVE_DECL_STRDUP@ || (__GNUC__ >= 11 && !defined __clang__)) \ && !defined strdup # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (strdup, char *, (char const *__s), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (strdup, char *, (char const *__s), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); # endif _GL_CXXALIASWARN (strdup); #else # if (__GNUC__ >= 11 && !defined __clang__) && !defined strdup /* For -Wmismatched-dealloc: Associate strdup with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (strdup, char *, (char const *__s), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (strdup, char *, (char const *__s), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK # undef strdup # if HAVE_RAW_DECL_STRDUP _GL_WARN_ON_USE (strdup, "strdup is unportable - " "use gnulib module strdup for portability"); # endif # elif @GNULIB_MDA_STRDUP@ /* On native Windows, map 'creat' to '_creat', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::strdup always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strdup # define strdup _strdup # endif _GL_CXXALIAS_MDA (strdup, char *, (char const *__s)); # else # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup # undef strdup # endif _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); # endif _GL_CXXALIASWARN (strdup); # endif #endif /* Append no more than N characters from SRC onto DEST. */ #if @GNULIB_STRNCAT@ # if @REPLACE_STRNCAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strncat # define strncat rpl_strncat # endif _GL_FUNCDECL_RPL (strncat, char *, (char *restrict dest, const char *restrict src, size_t n), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strncat, char *, (char *restrict dest, const char *restrict src, size_t n)); # else _GL_CXXALIAS_SYS (strncat, char *, (char *restrict dest, const char *restrict src, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strncat); # endif #elif defined GNULIB_POSIXCHECK # undef strncat # if HAVE_RAW_DECL_STRNCAT _GL_WARN_ON_USE (strncat, "strncat is unportable - " "use gnulib module strncat for portability"); # endif #endif /* Return a newly allocated copy of at most N bytes of STRING. */ #if @GNULIB_STRNDUP@ # if @REPLACE_STRNDUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strndup # define strndup rpl_strndup # endif _GL_FUNCDECL_RPL (strndup, char *, (char const *__s, size_t __n), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n)); # else # if !@HAVE_DECL_STRNDUP@ \ || ((__GNUC__ >= 11 && !defined __clang__) && !defined strndup) # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n)); # endif _GL_CXXALIASWARN (strndup); #else # if (__GNUC__ >= 11 && !defined __clang__) && !defined strndup /* For -Wmismatched-dealloc: Associate strndup with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK # undef strndup # if HAVE_RAW_DECL_STRNDUP _GL_WARN_ON_USE (strndup, "strndup is unportable - " "use gnulib module strndup for portability"); # endif # endif #endif /* Find the length (number of bytes) of STRING, but scan at most MAXLEN bytes. If no '\0' terminator is found in that many bytes, return MAXLEN. */ #if @GNULIB_STRNLEN@ # if @REPLACE_STRNLEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strnlen # define strnlen rpl_strnlen # endif _GL_FUNCDECL_RPL (strnlen, size_t, (char const *__s, size_t __maxlen), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (strnlen, size_t, (char const *__s, size_t __maxlen)); # else # if ! @HAVE_DECL_STRNLEN@ _GL_FUNCDECL_SYS (strnlen, size_t, (char const *__s, size_t __maxlen), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (strnlen, size_t, (char const *__s, size_t __maxlen)); # endif _GL_CXXALIASWARN (strnlen); #elif defined GNULIB_POSIXCHECK # undef strnlen # if HAVE_RAW_DECL_STRNLEN _GL_WARN_ON_USE (strnlen, "strnlen is unportable - " "use gnulib module strnlen for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strcspn() assumes the second argument is a list of single-byte characters. Even in this simple case, it does not work with multibyte strings if the locale encoding is GB18030 and one of the characters to be searched is a digit. */ # undef strcspn /* Assume strcspn is always declared. */ _GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings " "in multibyte locales - " "use mbscspn if you care about internationalization"); #endif /* Find the first occurrence in S of any character in ACCEPT. */ #if @GNULIB_STRPBRK@ # if ! @HAVE_STRPBRK@ _GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif /* On some systems, this function is defined as an overloaded function: extern "C" { const char * strpbrk (const char *, const char *); } extern "C++" { char * strpbrk (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strpbrk, char *, (char const *__s, char const *__accept), const char *, (char const *__s, char const *__accept)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (strpbrk, char const *, (char const *__s, char const *__accept) _GL_ATTRIBUTE_NOTHROW); # elif __GLIBC__ >= 2 _GL_CXXALIASWARN (strpbrk); # endif # if defined GNULIB_POSIXCHECK /* strpbrk() assumes the second argument is a list of single-byte characters. Even in this simple case, it does not work with multibyte strings if the locale encoding is GB18030 and one of the characters to be searched is a digit. */ # undef strpbrk _GL_WARN_ON_USE_CXX (strpbrk, const char *, char *, (const char *, const char *), "strpbrk cannot work correctly on character strings " "in multibyte locales - " "use mbspbrk if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strpbrk # if HAVE_RAW_DECL_STRPBRK _GL_WARN_ON_USE_CXX (strpbrk, const char *, char *, (const char *, const char *), "strpbrk is unportable - " "use gnulib module strpbrk for portability"); # endif #endif #if defined GNULIB_POSIXCHECK /* strspn() assumes the second argument is a list of single-byte characters. Even in this simple case, it cannot work with multibyte strings. */ # undef strspn /* Assume strspn is always declared. */ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " "in multibyte locales - " "use mbsspn if you care about internationalization"); #endif #if defined GNULIB_POSIXCHECK /* strrchr() does not work with multibyte strings if the locale encoding is GB18030 and the character to be searched is a digit. */ # undef strrchr /* Assume strrchr is always declared. */ _GL_WARN_ON_USE_CXX (strrchr, const char *, char *, (const char *, int), "strrchr cannot work correctly on character strings " "in some multibyte locales - " "use mbsrchr if you care about internationalization"); #endif /* Search the next delimiter (char listed in DELIM) starting at *STRINGP. If one is found, overwrite it with a NUL, and advance *STRINGP to point to the next char after it. Otherwise, set *STRINGP to NULL. If *STRINGP was already NULL, nothing happens. Return the old value of *STRINGP. This is a variant of strtok() that is multithread-safe and supports empty fields. Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. Caveat: It doesn't work with multibyte strings unless all of the delimiter characters are ASCII characters < 0x30. See also strtok_r(). */ #if @GNULIB_STRSEP@ # if ! @HAVE_STRSEP@ _GL_FUNCDECL_SYS (strsep, char *, (char **restrict __stringp, char const *restrict __delim), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strsep, char *, (char **restrict __stringp, char const *restrict __delim)); _GL_CXXALIASWARN (strsep); # if defined GNULIB_POSIXCHECK # undef strsep _GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings " "in multibyte locales - " "use mbssep if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strsep # if HAVE_RAW_DECL_STRSEP _GL_WARN_ON_USE (strsep, "strsep is unportable - " "use gnulib module strsep for portability"); # endif #endif #if @GNULIB_STRSTR@ # if @REPLACE_STRSTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strstr rpl_strstr # endif _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); # else /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * strstr (const char *, const char *); } extern "C++" { char * strstr (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strstr, char *, (const char *haystack, const char *needle), const char *, (const char *haystack, const char *needle)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (strstr, const char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_NOTHROW); # elif __GLIBC__ >= 2 _GL_CXXALIASWARN (strstr); # endif #elif defined GNULIB_POSIXCHECK /* strstr() does not work with multibyte strings if the locale encoding is different from UTF-8: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strstr /* Assume strstr is always declared. */ _GL_WARN_ON_USE (strstr, "strstr is quadratic on many systems, and cannot " "work correctly on character strings in most " "multibyte locales - " "use mbsstr if you care about internationalization, " "or use strstr if you care about speed"); #endif /* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive comparison. */ #if @GNULIB_STRCASESTR@ # if @REPLACE_STRCASESTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strcasestr rpl_strcasestr # endif _GL_FUNCDECL_RPL (strcasestr, char *, (const char *haystack, const char *needle), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strcasestr, char *, (const char *haystack, const char *needle)); # else # if ! @HAVE_STRCASESTR@ _GL_FUNCDECL_SYS (strcasestr, char *, (const char *haystack, const char *needle), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const char * strcasestr (const char *, const char *); } extern "C++" { char * strcasestr (char *, const char *); } */ _GL_CXXALIAS_SYS_CAST2 (strcasestr, char *, (const char *haystack, const char *needle), const char *, (const char *haystack, const char *needle)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) \ || defined __clang__) _GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle) _GL_ATTRIBUTE_NOTHROW); _GL_CXXALIASWARN1 (strcasestr, const char *, (const char *haystack, const char *needle) _GL_ATTRIBUTE_NOTHROW); # elif __GLIBC__ >= 2 _GL_CXXALIASWARN (strcasestr); # endif #elif defined GNULIB_POSIXCHECK /* strcasestr() does not work with multibyte strings: It is a glibc extension, and glibc implements it only for unibyte locales. */ # undef strcasestr # if HAVE_RAW_DECL_STRCASESTR _GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character " "strings in multibyte locales - " "use mbscasestr if you care about " "internationalization, or use c-strcasestr if you want " "a locale independent function"); # endif #endif /* Parse S into tokens separated by characters in DELIM. If S is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = strtok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" This is a variant of strtok() that is multithread-safe. For the POSIX documentation for this function, see: https://pubs.opengroup.org/onlinepubs/9699919799/functions/strtok.html Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. Caveat: It doesn't work with multibyte strings unless all of the delimiter characters are ASCII characters < 0x30. See also strsep(). */ #if @GNULIB_STRTOK_R@ # if @REPLACE_STRTOK_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strtok_r # define strtok_r rpl_strtok_r # endif _GL_FUNCDECL_RPL (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr)); # else # if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK # undef strtok_r # endif # if ! @HAVE_DECL_STRTOK_R@ _GL_FUNCDECL_SYS (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr), _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (strtok_r, char *, (char *restrict s, char const *restrict delim, char **restrict save_ptr)); # endif _GL_CXXALIASWARN (strtok_r); # if defined GNULIB_POSIXCHECK _GL_WARN_ON_USE (strtok_r, "strtok_r cannot work correctly on character " "strings in multibyte locales - " "use mbstok_r if you care about internationalization"); # endif #elif defined GNULIB_POSIXCHECK # undef strtok_r # if HAVE_RAW_DECL_STRTOK_R _GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - " "use gnulib module strtok_r for portability"); # endif #endif /* The following functions are not specified by POSIX. They are gnulib extensions. */ #if @GNULIB_STR_STARTSWITH@ /* Returns true if STRING starts with PREFIX. Returns false otherwise. */ _GL_EXTERN_C bool str_startswith (const char *string, const char *prefix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_STR_ENDSWITH@ /* Returns true if STRING ends with SUFFIX. Returns false otherwise. */ _GL_EXTERN_C bool str_endswith (const char *string, const char *prefix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSLEN@ /* Return the number of multibyte characters in the character string STRING. This considers multibyte characters, unlike strlen, which counts bytes. */ # ifdef __MirBSD__ /* MirBSD defines mbslen as a macro. Override it. */ # undef mbslen # endif # if @HAVE_MBSLEN@ /* AIX, OSF/1, MirBSD define mbslen already in libc. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbslen rpl_mbslen # endif _GL_FUNCDECL_RPL (mbslen, size_t, (const char *string), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbslen, size_t, (const char *string)); # else _GL_FUNCDECL_SYS (mbslen, size_t, (const char *string), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbslen, size_t, (const char *string)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbslen); # endif #endif #if @GNULIB_MBSNLEN@ /* Return the number of multibyte characters in the character string starting at STRING and ending at STRING + LEN. */ _GL_EXTERN_C size_t mbsnlen (const char *string, size_t len) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1)); #endif #if @GNULIB_MBSCHR@ /* Locate the first single-byte character C in the character string STRING, and return a pointer to it. Return NULL if C is not found in STRING. Unlike strchr(), this function works correctly in multibyte locales with encodings such as GB18030. */ # if defined __hpux # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbschr rpl_mbschr /* avoid collision with HP-UX function */ # endif _GL_FUNCDECL_RPL (mbschr, char *, (const char *string, int c), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbschr, char *, (const char *string, int c)); # else _GL_FUNCDECL_SYS (mbschr, char *, (const char *string, int c), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbschr, char *, (const char *string, int c)); # endif _GL_CXXALIASWARN (mbschr); #endif #if @GNULIB_MBSRCHR@ /* Locate the last single-byte character C in the character string STRING, and return a pointer to it. Return NULL if C is not found in STRING. Unlike strrchr(), this function works correctly in multibyte locales with encodings such as GB18030. */ # if defined __hpux || defined __INTERIX # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbsrchr rpl_mbsrchr /* avoid collision with system function */ # endif _GL_FUNCDECL_RPL (mbsrchr, char *, (const char *string, int c), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mbsrchr, char *, (const char *string, int c)); # else _GL_FUNCDECL_SYS (mbsrchr, char *, (const char *string, int c), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_SYS (mbsrchr, char *, (const char *string, int c)); # endif _GL_CXXALIASWARN (mbsrchr); #endif #if @GNULIB_MBSSTR@ /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. Unlike strstr(), this function works correctly in multibyte locales with encodings different from UTF-8. */ _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); # ifndef _GL_NO_CONST_GENERICS /* Don't silently convert a 'const char *' to a 'char *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus extern "C++" { /* needed for AIX */ template T * mbsstr_template (T* haystack, const char *needle); template <> inline char * mbsstr_template (char *haystack, const char *needle) { return mbsstr (haystack, needle); } template <> inline const char * mbsstr_template (const char *haystack, const char *needle) { return mbsstr (haystack, needle); } } # undef mbsstr # define mbsstr mbsstr_template # elif !defined mbsstr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define mbsstr(h,n) \ _Generic ((h), \ char const *: (char const *) mbsstr ((h), (n)), \ default : mbsstr ((h), (n))) # endif # endif # endif #endif #if @GNULIB_MBSCASECMP@ /* Compare the character strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function may, in multibyte locales, return 0 for strings of different lengths! Unlike strcasecmp(), this function works correctly in multibyte locales. */ _GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSNCASECMP@ /* Compare the initial segment of the character string S1 consisting of at most N characters with the initial segment of the character string S2 consisting of at most N characters, ignoring case, returning less than, equal to or greater than zero if the initial segment of S1 is lexicographically less than, equal to or greater than the initial segment of S2. Note: This function may, in multibyte locales, return 0 for initial segments of different lengths! Unlike strncasecmp(), this function works correctly in multibyte locales. But beware that N is not a byte count but a character count! */ _GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSPCASECMP@ /* Compare the initial segment of the character string STRING consisting of at most mbslen (PREFIX) characters with the character string PREFIX, ignoring case. If the two match, return a pointer to the first byte after this prefix in STRING. Otherwise, return NULL. Note: This function may, in multibyte locales, return non-NULL if STRING is of smaller length than PREFIX! Unlike strncasecmp(), this function works correctly in multibyte locales. */ _GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); # ifndef _GL_NO_CONST_GENERICS /* Don't silently convert a 'const char *' to a 'char *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus extern "C++" { /* needed for AIX */ template T * mbspcasecmp_template (T* string, const char *prefix); template <> inline char * mbspcasecmp_template (char *string, const char *prefix) { return mbspcasecmp (string, prefix); } template <> inline const char * mbspcasecmp_template (const char *string, const char *prefix) { return mbspcasecmp (string, prefix); } } # undef mbspcasecmp # define mbspcasecmp mbspcasecmp_template # elif !defined mbspcasecmp # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define mbspcasecmp(s,p) \ _Generic ((s), \ char const *: (char const *) mbspcasecmp ((s), (p)), \ default : mbspcasecmp ((s), (p))) # endif # endif # endif #endif #if @GNULIB_MBSCASESTR@ /* Find the first occurrence of the character string NEEDLE in the character string HAYSTACK, using case-insensitive comparison. Note: This function may, in multibyte locales, return success even if strlen (haystack) < strlen (needle) ! Unlike strcasestr(), this function works correctly in multibyte locales. */ _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); # ifndef _GL_NO_CONST_GENERICS /* Don't silently convert a 'const char *' to a 'char *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus extern "C++" { /* needed for AIX */ template T * mbscasestr_template (T* haystack, const char *needle); template <> inline char * mbscasestr_template (char *haystack, const char *needle) { return mbscasestr (haystack, needle); } template <> inline const char * mbscasestr_template (const char *haystack, const char *needle) { return mbscasestr (haystack, needle); } } # undef mbscasestr # define mbscasestr mbscasestr_template # elif !defined mbscasestr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define mbscasestr(h,n) \ _Generic ((h), \ char const *: (char const *) mbscasestr ((h), (n)), \ default : mbscasestr ((h), (n))) # endif # endif # endif #endif #if @GNULIB_MBSCSPN@ /* Find the first occurrence in the character string STRING of any character in the character string ACCEPT. Return the number of bytes from the beginning of the string to this occurrence, or to the end of the string if none exists. Unlike strcspn(), this function works correctly in multibyte locales. */ _GL_EXTERN_C size_t mbscspn (const char *string, const char *accept) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSPBRK@ /* Find the first occurrence in the character string STRING of any character in the character string ACCEPT. Return the pointer to it, or NULL if none exists. Unlike strpbrk(), this function works correctly in multibyte locales. */ # if defined __hpux # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */ # endif _GL_FUNCDECL_RPL (mbspbrk, char *, (const char *string, const char *accept), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (mbspbrk, char *, (const char *string, const char *accept)); # else _GL_FUNCDECL_SYS (mbspbrk, char *, (const char *string, const char *accept), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_SYS (mbspbrk, char *, (const char *string, const char *accept)); # endif _GL_CXXALIASWARN (mbspbrk); #endif #if @GNULIB_MBSSPN@ /* Find the first occurrence in the character string STRING of any character not in the character string REJECT. Return the number of bytes from the beginning of the string to this occurrence, or to the end of the string if none exists. Unlike strspn(), this function works correctly in multibyte locales. */ _GL_EXTERN_C size_t mbsspn (const char *string, const char *reject) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSSEP@ /* Search the next delimiter (multibyte character listed in the character string DELIM) starting at the character string *STRINGP. If one is found, overwrite it with a NUL, and advance *STRINGP to point to the next multibyte character after it. Otherwise, set *STRINGP to NULL. If *STRINGP was already NULL, nothing happens. Return the old value of *STRINGP. This is a variant of mbstok_r() that supports empty fields. Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. See also mbstok_r(). */ _GL_EXTERN_C char * mbssep (char **stringp, const char *delim) _GL_ARG_NONNULL ((1, 2)); #endif #if @GNULIB_MBSTOK_R@ /* Parse the character string STRING into tokens separated by characters in the character string DELIM. If STRING is NULL, the saved pointer in SAVE_PTR is used as the next starting point. For example: char s[] = "-abc-=-def"; char *sp; x = mbstok_r(s, "-", &sp); // x = "abc", sp = "=-def" x = mbstok_r(NULL, "-=", &sp); // x = "def", sp = NULL x = mbstok_r(NULL, "=", &sp); // x = NULL // s = "abc\0-def\0" Caveat: It modifies the original string. Caveat: These functions cannot be used on constant strings. Caveat: The identity of the delimiting character is lost. See also mbssep(). */ _GL_EXTERN_C char * mbstok_r (char *restrict string, const char *delim, char **save_ptr) _GL_ARG_NONNULL ((2, 3)); #endif #if @GNULIB_MBS_STARTSWITH@ /* Returns true if STRING starts with PREFIX. Returns false otherwise. */ _GL_EXTERN_C bool mbs_startswith (const char *string, const char *prefix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); /* No extra code is needed for multibyte locales for this function. */ # define mbs_startswith str_startswith #endif #if @GNULIB_MBS_ENDSWITH@ /* Returns true if STRING ends with SUFFIX. Returns false otherwise. Unlike str_endswith(), this function works correctly in multibyte locales. */ _GL_EXTERN_C bool mbs_endswith (const char *string, const char *suffix) _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2)); #endif /* Map any int, typically from errno, into an error message. */ #if @GNULIB_STRERROR@ # if @REPLACE_STRERROR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror # define strerror rpl_strerror # endif _GL_FUNCDECL_RPL (strerror, char *, (int), ); _GL_CXXALIAS_RPL (strerror, char *, (int)); # else _GL_CXXALIAS_SYS (strerror, char *, (int)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strerror); # endif #elif defined GNULIB_POSIXCHECK # undef strerror /* Assume strerror is always declared. */ _GL_WARN_ON_USE (strerror, "strerror is unportable - " "use gnulib module strerror to guarantee non-NULL result"); #endif /* Map any int, typically from errno, into an error message. Multithread-safe. Uses the POSIX declaration, not the glibc declaration. */ #if @GNULIB_STRERROR_R@ # if @REPLACE_STRERROR_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror_r # define strerror_r rpl_strerror_r # endif _GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); # else # if !@HAVE_DECL_STRERROR_R@ _GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); # endif # if __GLIBC__ >= 2 && @HAVE_DECL_STRERROR_R@ _GL_CXXALIASWARN (strerror_r); # endif #elif defined GNULIB_POSIXCHECK # undef strerror_r # if HAVE_RAW_DECL_STRERROR_R _GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - " "use gnulib module strerror_r-posix for portability"); # endif #endif /* Map any int, typically from errno, into an error message. With locale_t argument. */ #if @GNULIB_STRERROR_L@ # if @REPLACE_STRERROR_L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerror_l # define strerror_l rpl_strerror_l # endif _GL_FUNCDECL_RPL (strerror_l, char *, (int errnum, locale_t locale), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (strerror_l, char *, (int errnum, locale_t locale)); # else # if !@HAVE_STRERROR_L@ _GL_FUNCDECL_SYS (strerror_l, char *, (int errnum, locale_t locale), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (strerror_l, char *, (int errnum, locale_t locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strerror_l); # endif #elif defined GNULIB_POSIXCHECK # undef strerror_l /* Assume strerror_l is always declared. */ _GL_WARN_ON_USE (strerror_l, "strerror_l is unportable - " "use gnulib module strerror_l for portability"); #endif /* Map any int, typically from errno, into an error message. Multithread-safe, with locale_t argument. Not portable! Only provided by gnulib. */ #if @GNULIB_STRERROR_L@ _GL_FUNCDECL_SYS (strerror_l_r, int, (int errnum, char *buf, size_t buflen, locale_t locale), _GL_ARG_NONNULL ((2, 4))); #endif /* Return the name of the system error code ERRNUM. */ #if @GNULIB_STRERRORNAME_NP@ # if @REPLACE_STRERRORNAME_NP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strerrorname_np # define strerrorname_np rpl_strerrorname_np # endif _GL_FUNCDECL_RPL (strerrorname_np, const char *, (int errnum), ); _GL_CXXALIAS_RPL (strerrorname_np, const char *, (int errnum)); # else # if !@HAVE_STRERRORNAME_NP@ _GL_FUNCDECL_SYS (strerrorname_np, const char *, (int errnum), ); # endif _GL_CXXALIAS_SYS (strerrorname_np, const char *, (int errnum)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strerrorname_np); # endif #elif defined GNULIB_POSIXCHECK # undef strerrorname_np # if HAVE_RAW_DECL_STRERRORNAME_NP _GL_WARN_ON_USE (strerrorname_np, "strerrorname_np is unportable - " "use gnulib module strerrorname_np for portability"); # endif #endif /* Return an abbreviation string for the signal number SIG. */ #if @GNULIB_SIGABBREV_NP@ # if ! @HAVE_SIGABBREV_NP@ _GL_FUNCDECL_SYS (sigabbrev_np, const char *, (int sig), ); # endif _GL_CXXALIAS_SYS (sigabbrev_np, const char *, (int sig)); _GL_CXXALIASWARN (sigabbrev_np); #elif defined GNULIB_POSIXCHECK # undef sigabbrev_np # if HAVE_RAW_DECL_SIGABBREV_NP _GL_WARN_ON_USE (sigabbrev_np, "sigabbrev_np is unportable - " "use gnulib module sigabbrev_np for portability"); # endif #endif /* Return an English description string for the signal number SIG. */ #if @GNULIB_SIGDESCR_NP@ # if ! @HAVE_SIGDESCR_NP@ _GL_FUNCDECL_SYS (sigdescr_np, const char *, (int sig), ); # endif _GL_CXXALIAS_SYS (sigdescr_np, const char *, (int sig)); _GL_CXXALIASWARN (sigdescr_np); #elif defined GNULIB_POSIXCHECK # undef sigdescr_np # if HAVE_RAW_DECL_SIGDESCR_NP _GL_WARN_ON_USE (sigdescr_np, "sigdescr_np is unportable - " "use gnulib module sigdescr_np for portability"); # endif #endif #if @GNULIB_STRSIGNAL@ # if @REPLACE_STRSIGNAL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strsignal rpl_strsignal # endif _GL_FUNCDECL_RPL (strsignal, char *, (int __sig), ); _GL_CXXALIAS_RPL (strsignal, char *, (int __sig)); # else # if ! @HAVE_DECL_STRSIGNAL@ _GL_FUNCDECL_SYS (strsignal, char *, (int __sig), ); # endif /* Need to cast, because on Cygwin 1.5.x systems, the return type is 'const char *'. */ _GL_CXXALIAS_SYS_CAST (strsignal, char *, (int __sig)); # endif _GL_CXXALIASWARN (strsignal); #elif defined GNULIB_POSIXCHECK # undef strsignal # if HAVE_RAW_DECL_STRSIGNAL _GL_WARN_ON_USE (strsignal, "strsignal is unportable - " "use gnulib module strsignal for portability"); # endif #endif #if @GNULIB_STRVERSCMP@ # if @REPLACE_STRVERSCMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strverscmp rpl_strverscmp # endif _GL_FUNCDECL_RPL (strverscmp, int, (const char *, const char *), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strverscmp, int, (const char *, const char *)); # else # if !@HAVE_STRVERSCMP@ _GL_FUNCDECL_SYS (strverscmp, int, (const char *, const char *), _GL_ATTRIBUTE_PURE _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *)); # endif _GL_CXXALIASWARN (strverscmp); #elif defined GNULIB_POSIXCHECK # undef strverscmp # if HAVE_RAW_DECL_STRVERSCMP _GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - " "use gnulib module strverscmp for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_STRING_H */ #endif /* _@GUARD_PREFIX@_STRING_H */ #endif datamash-1.9/lib/strings.in.h0000644000000000000000000002024514767402206011624 /* A substitute . Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_STRINGS_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* Minix 3.1.8 has a bug: must be included before . But avoid namespace pollution on glibc systems. */ #if defined __minix && !defined __GLIBC__ # include #endif /* The include_next requires a split double-inclusion guard. */ #if @HAVE_STRINGS_H@ # @INCLUDE_NEXT@ @NEXT_STRINGS_H@ #endif #ifndef _@GUARD_PREFIX@_STRINGS_H #define _@GUARD_PREFIX@_STRINGS_H /* This file uses _GL_ARG_NONNULL, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if ! @HAVE_DECL_STRNCASECMP@ /* Get size_t. */ # include #endif #if @GNULIB_STRCASECMP_L@ || @GNULIB_STRNCASECMP_L@ /* Get locale_t. */ # include # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ < 10) \ || (defined __APPLE__ && defined __MACH__)) /* Get the declaration of strcasecmp_l. */ # include # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #ifdef __cplusplus extern "C" { #endif #if @GNULIB_FFS@ /* Find the index of the least-significant set bit. */ # if !@HAVE_FFS@ _GL_FUNCDECL_SYS (ffs, int, (int i), ); # endif _GL_CXXALIAS_SYS (ffs, int, (int i)); _GL_CXXALIASWARN (ffs); #elif defined GNULIB_POSIXCHECK # undef ffs # if HAVE_RAW_DECL_FFS _GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module"); # endif #endif #if @GNULIB_STRCASECMP@ /* Compare strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function does not work in multibyte locales. */ # if @REPLACE_STRCASECMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strcasecmp # define strcasecmp rpl_strcasecmp # endif _GL_FUNCDECL_RPL (strcasecmp, int, (const char *, const char *), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strcasecmp, int, (const char *, const char *)); # else # if !@HAVE_STRCASECMP@ _GL_FUNCDECL_SYS (strcasecmp, int, (const char *, const char *), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strcasecmp, int, (const char *, const char *)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strcasecmp); # endif #elif defined GNULIB_POSIXCHECK /* strcasecmp() does not work with multibyte strings: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strcasecmp # if HAVE_RAW_DECL_STRCASECMP _GL_WARN_ON_USE (strcasecmp, "strcasecmp cannot work correctly on character " "strings in multibyte locales and is unportable - " "use mbscasecmp if you care about " "internationalization, or use c_strcasecmp " "(gnulib module c-strcasecmp) if you want a locale " "independent function"); # endif #endif #if @GNULIB_STRCASECMP_L@ # if @REPLACE_STRCASECMP_L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strcasecmp_l # define strcasecmp_l rpl_strcasecmp_l # endif _GL_FUNCDECL_RPL (strcasecmp_l, int, (const char *s1, const char *s2, locale_t locale), _GL_ARG_NONNULL ((1, 2, 3))); _GL_CXXALIAS_RPL (strcasecmp_l, int, (const char *s1, const char *s2, locale_t locale)); # else # if !@HAVE_STRCASECMP_L@ _GL_FUNCDECL_SYS (strcasecmp_l, int, (const char *s1, const char *s2, locale_t locale), _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (strcasecmp_l, int, (const char *s1, const char *s2, locale_t locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strcasecmp_l); # endif #elif defined GNULIB_POSIXCHECK /* strcasecmp_l() does not work with multibyte strings: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strcasecmp_l # if HAVE_RAW_DECL_STRCASECMP_L _GL_WARN_ON_USE (strcasecmp_l, "strcasecmp_l cannot work correctly on " "character strings in multibyte locales and is unportable - " "use gnulib module strcasecmp_l for portability"); # endif #endif #if @GNULIB_STRNCASECMP@ /* Compare no more than N bytes of strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function cannot work correctly in multibyte locales. */ # if @REPLACE_STRNCASECMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strncasecmp # define strncasecmp rpl_strncasecmp # endif _GL_FUNCDECL_RPL (strncasecmp, int, (const char *, const char *, size_t), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (strncasecmp, int, (const char *, const char *, size_t)); # else # if !@HAVE_DECL_STRNCASECMP@ _GL_FUNCDECL_SYS (strncasecmp, int, (const char *, const char *, size_t), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (strncasecmp, int, (const char *, const char *, size_t)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strncasecmp); # endif #elif defined GNULIB_POSIXCHECK /* strncasecmp() does not work with multibyte strings: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strncasecmp # if HAVE_RAW_DECL_STRNCASECMP _GL_WARN_ON_USE (strncasecmp, "strncasecmp cannot work correctly on character " "strings in multibyte locales and is unportable - " "use mbsncasecmp or mbspcasecmp if you care about " "internationalization, or use c_strncasecmp " "(gnulib module c-strncasecmp) if you want a locale " "independent function"); # endif #endif #if @GNULIB_STRNCASECMP_L@ # if @REPLACE_STRNCASECMP_L@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef strncasecmp_l # define strncasecmp_l rpl_strncasecmp_l # endif _GL_FUNCDECL_RPL (strncasecmp_l, int, (const char *s1, const char *s2, size_t n, locale_t locale), _GL_ARG_NONNULL ((1, 2, 4))); _GL_CXXALIAS_RPL (strncasecmp_l, int, (const char *s1, const char *s2, size_t n, locale_t locale)); # else # if !@HAVE_STRNCASECMP_L@ _GL_FUNCDECL_SYS (strncasecmp_l, int, (const char *s1, const char *s2, size_t n, locale_t locale), _GL_ARG_NONNULL ((1, 2, 4))); # endif _GL_CXXALIAS_SYS (strncasecmp_l, int, (const char *s1, const char *s2, size_t n, locale_t locale)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strncasecmp_l); # endif #elif defined GNULIB_POSIXCHECK /* strncasecmp_l() does not work with multibyte strings: POSIX says that it operates on "strings", and "string" in POSIX is defined as a sequence of bytes, not of characters. */ # undef strncasecmp_l # if HAVE_RAW_DECL_STRNCASECMP_L _GL_WARN_ON_USE (strncasecmp_l, "strncasecmp_l cannot work correctly on " "character strings in multibyte locales and is unportable - " "use gnulib module strncasecmp_l for portability"); # endif #endif #ifdef __cplusplus } #endif #endif /* _@GUARD_PREFIX@_STRING_H */ #endif /* _@GUARD_PREFIX@_STRING_H */ datamash-1.9/lib/stripslash.c0000644000000000000000000000306314767401140011710 /* stripslash.c -- remove redundant trailing slashes from a file name Copyright (C) 1990, 2001, 2003-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include "dirname.h" /* Remove trailing slashes from FILE. Return true if a trailing slash was removed. This is useful when using file name completion from a shell that adds a "/" after directory names (such as tcsh and bash), because on symlinks to directories, several system calls have different semantics according to whether a trailing slash is present. */ bool strip_trailing_slashes (char *file) { char *base = last_component (file); char *base_lim; bool had_slash; /* last_component returns "" for file system roots, but we need to turn "///" into "/". */ if (! *base) base = file; base_lim = base + base_len (base); had_slash = (*base_lim != '\0'); *base_lim = '\0'; return had_slash; } datamash-1.9/lib/strncasecmp.c0000644000000000000000000000352514767402206012045 /* Case-insensitive string comparison function for unibyte locales. Copyright (C) 1998-1999, 2005-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include #include #include /* Compare no more than N bytes of strings S1 and S2, ignoring case, returning less than, equal to or greater than zero if S1 is lexicographically less than, equal to or greater than S2. Note: This function cannot work correctly in multibyte locales. */ int strncasecmp (const char *s1, const char *s2, size_t n) { register const unsigned char *p1 = (const unsigned char *) s1; register const unsigned char *p2 = (const unsigned char *) s2; unsigned char c1, c2; if (p1 == p2 || n == 0) return 0; do { c1 = tolower (*p1); c2 = tolower (*p2); if (--n == 0 || c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); if (UCHAR_MAX <= INT_MAX) return c1 - c2; else /* On machines where 'char' and 'int' are types of the same size, the difference of two 'unsigned char' values - including the sign bit - doesn't fit in an 'int'. */ return _GL_CMP (c1, c2); } datamash-1.9/lib/strnlen.c0000644000000000000000000000243614767401140011204 /* Find the length of STRING, but scan at most MAXLEN characters. Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #include /* Find the length of S, but scan at most MAXLEN bytes. S must be a string if it starts with fewer than MAXLEN initialized bytes. If no '\0' terminator is found in that many bytes, return MAXLEN. */ size_t strnlen (const char *s, size_t maxlen) { /* Do not use memchr, because on some platforms memchr has undefined behavior if MAXLEN exceeds the number of bytes in S. */ size_t i; for (i = 0; i < maxlen && s[i]; i++) continue; return i; } datamash-1.9/lib/strnlen1.c0000644000000000000000000000240714767401140011263 /* Find the length of STRING + 1, but scan at most MAXLEN bytes. Copyright (C) 2005-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "strnlen1.h" #include /* Find the length of STRING + 1, but scan at most MAXLEN bytes. If no '\0' terminator is found in that many characters, return MAXLEN. */ /* This is the same as strnlen (string, maxlen - 1) + 1. */ size_t strnlen1 (const char *string, size_t maxlen) { const char *end = (const char *) memchr (string, '\0', maxlen); if (end != NULL) return end - string + 1; else return maxlen; } datamash-1.9/lib/strnlen1.h0000644000000000000000000000251714767401140011272 /* Find the length of STRING + 1, but scan at most MAXLEN bytes. Copyright (C) 2005, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _STRNLEN1_H #define _STRNLEN1_H /* This file uses _GL_ATTRIBUTE_PURE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #ifdef __cplusplus extern "C" { #endif /* Find the length of STRING + 1, but scan at most MAXLEN bytes. If no '\0' terminator is found in that many characters, return MAXLEN. */ /* This is the same as strnlen (string, maxlen - 1) + 1. */ extern size_t strnlen1 (const char *string, size_t maxlen) _GL_ATTRIBUTE_PURE; #ifdef __cplusplus } #endif #endif /* _STRNLEN1_H */ datamash-1.9/lib/strsep.c0000644000000000000000000000265414767401140011041 /* Copyright (C) 2004, 2007, 2009-2025 Free Software Foundation, Inc. Written by Yoann Vandoorselaere . This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifdef HAVE_CONFIG_H # include #endif /* Specification. */ #include char * strsep (char **stringp, const char *delim) { char *start = *stringp; char *ptr; if (start == NULL) return NULL; /* Optimize the case of no delimiters. */ if (delim[0] == '\0') { *stringp = NULL; return start; } /* Optimize the case of one delimiter. */ if (delim[1] == '\0') ptr = strchr (start, delim[0]); else /* The general case. */ ptr = strpbrk (start, delim); if (ptr == NULL) { *stringp = NULL; return start; } *ptr = '\0'; *stringp = ptr + 1; return start; } datamash-1.9/lib/strtod.c0000644000000000000000000004126514767401140011041 /* Copyright (C) 1991-1992, 1997, 1999, 2003, 2006, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if ! (defined USE_FLOAT || defined USE_LONG_DOUBLE) # include #endif /* Specification. */ #include #include /* isspace() */ #include #include /* {FLT,DBL,LDBL}_{MIN,MAX} */ #include /* LONG_{MIN,MAX} */ #include /* localeconv() */ #include /* NAN */ #include /* sprintf() */ #include /* strdup() */ #if HAVE_NL_LANGINFO # include #endif #include "c-ctype.h" #undef MIN #undef MAX #if defined USE_FLOAT # define STRTOD strtof # define LDEXP ldexpf # if STRTOF_HAS_UNDERFLOW_BUG /* strtof would not set errno=ERANGE upon flush-to-zero underflow. */ # define HAVE_UNDERLYING_STRTOD 0 # else # define HAVE_UNDERLYING_STRTOD HAVE_STRTOF # endif # define HAS_GRADUAL_UNDERFLOW_PROBLEM STRTOF_HAS_GRADUAL_UNDERFLOW_PROBLEM # define DOUBLE float # define MIN FLT_MIN # define MAX FLT_MAX # define L_(literal) literal##f # if HAVE_LDEXPF_IN_LIBC # define USE_LDEXP 1 # else # define USE_LDEXP 0 # endif #elif defined USE_LONG_DOUBLE # define STRTOD strtold # define LDEXP ldexpl # if defined __hpux && defined __hppa /* We cannot call strtold on HP-UX/hppa, because its return type is a struct, not a 'long double'. */ # define HAVE_UNDERLYING_STRTOD 0 # elif STRTOLD_HAS_UNDERFLOW_BUG /* strtold would not set errno=ERANGE upon flush-to-zero underflow. */ # define HAVE_UNDERLYING_STRTOD 0 # elif defined __MINGW32__ && __MINGW64_VERSION_MAJOR < 10 /* strtold is broken in mingw versions before 10.0: - Up to mingw 5.0.x, it leaks memory at every invocation. - Up to mingw 9.0.x, it allocates an unbounded amount of stack. See and . */ # define HAVE_UNDERLYING_STRTOD 0 # elif defined __HAIKU__ /* Haiku's strtold maps denormalized numbers to zero. */ # define HAVE_UNDERLYING_STRTOD 0 # else # define HAVE_UNDERLYING_STRTOD HAVE_STRTOLD # endif # define HAS_GRADUAL_UNDERFLOW_PROBLEM STRTOLD_HAS_GRADUAL_UNDERFLOW_PROBLEM # define DOUBLE long double # define MIN LDBL_MIN # define MAX LDBL_MAX # define L_(literal) literal##L # if HAVE_LDEXPL_IN_LIBC # define USE_LDEXP 1 # else # define USE_LDEXP 0 # endif #else # define STRTOD strtod # define LDEXP ldexp # if STRTOD_HAS_UNDERFLOW_BUG /* strtod would not set errno=ERANGE upon flush-to-zero underflow. */ # define HAVE_UNDERLYING_STRTOD 0 # else # define HAVE_UNDERLYING_STRTOD 1 # endif # define HAS_GRADUAL_UNDERFLOW_PROBLEM STRTOD_HAS_GRADUAL_UNDERFLOW_PROBLEM # define DOUBLE double # define MIN DBL_MIN # define MAX DBL_MAX # define L_(literal) literal # if HAVE_LDEXP_IN_LIBC # define USE_LDEXP 1 # else # define USE_LDEXP 0 # endif #endif /* Return true if C is a space in the current locale, avoiding problems with signed char and isspace. */ static bool locale_isspace (char c) { unsigned char uc = c; return isspace (uc) != 0; } /* Determine the decimal-point character according to the current locale. */ static char decimal_point_char (void) { const char *point; /* Determine it in a multithread-safe way. We know nl_langinfo is multithread-safe on glibc systems and Mac OS X systems, but is not required to be multithread-safe by POSIX. sprintf(), however, is multithread-safe. localeconv() is rarely multithread-safe. */ #if HAVE_NL_LANGINFO && (__GLIBC__ || defined __UCLIBC__ || (defined __APPLE__ && defined __MACH__)) point = nl_langinfo (RADIXCHAR); #elif 1 char pointbuf[5]; sprintf (pointbuf, "%#.0f", 1.0); point = &pointbuf[1]; #else point = localeconv () -> decimal_point; #endif /* The decimal point is always a single byte: either '.' or ','. */ return (point[0] != '\0' ? point[0] : '.'); } #if !USE_LDEXP #undef LDEXP #define LDEXP dummy_ldexp /* A dummy definition that will never be invoked. */ static DOUBLE LDEXP (_GL_UNUSED DOUBLE x, _GL_UNUSED int exponent) { abort (); return L_(0.0); } #endif /* Return X * BASE**EXPONENT. Return an extreme value and set errno to ERANGE if underflow or overflow occurs. */ static DOUBLE scale_radix_exp (DOUBLE x, int radix, long int exponent) { /* If RADIX == 10, this code is neither precise nor fast; it is merely a straightforward and relatively portable approximation. If N == 2, this code is precise on a radix-2 implementation, albeit perhaps not fast if ldexp is not in libc. */ long int e = exponent; if (USE_LDEXP && radix == 2) return LDEXP (x, e < INT_MIN ? INT_MIN : INT_MAX < e ? INT_MAX : e); else { DOUBLE r = x; if (r != 0) { if (e < 0) { for (;;) { if (e++ == 0) { if (r < MIN && r > -MIN) /* Gradual underflow, resulting in a denormalized number. */ errno = ERANGE; break; } r /= radix; if (r == 0) { /* Flush-to-zero underflow. */ errno = ERANGE; break; } } } else { while (e-- != 0) { if (r < -MAX / radix) { errno = ERANGE; return -HUGE_VAL; } else if (MAX / radix < r) { errno = ERANGE; return HUGE_VAL; } else r *= radix; } } } return r; } } /* Parse a number at NPTR; this is a bit like strtol (NPTR, ENDPTR) except there are no leading spaces or signs or "0x", and ENDPTR is nonnull. The number uses a base BASE (either 10 or 16) fraction, a radix RADIX (either 10 or 2) exponent, and exponent character EXPCHAR. BASE is RADIX**RADIX_MULTIPLIER. */ static DOUBLE parse_number (const char *nptr, int base, int radix, int radix_multiplier, char radixchar, char expchar, char **endptr) { const char *s = nptr; const char *digits_start; const char *digits_end; const char *radixchar_ptr; long int exponent; DOUBLE num; /* First, determine the start and end of the digit sequence. */ digits_start = s; radixchar_ptr = NULL; for (;; ++s) { if (base == 16 ? c_isxdigit (*s) : c_isdigit (*s)) ; else if (radixchar_ptr == NULL && *s == radixchar) { /* Record that we have found the decimal point. */ radixchar_ptr = s; } else /* Any other character terminates the digit sequence. */ break; } digits_end = s; /* Now radixchar_ptr == NULL or digits_start <= radixchar_ptr < digits_end. */ if (false) { /* Unoptimized. */ exponent = (radixchar_ptr != NULL ? - (long int) (digits_end - radixchar_ptr - 1) : 0); } else { /* Remove trailing zero digits. This reduces rounding errors for inputs such as 1.0000000000 or 10000000000e-10. */ while (digits_end > digits_start) { if (digits_end - 1 == radixchar_ptr || *(digits_end - 1) == '0') digits_end--; else break; } exponent = (radixchar_ptr != NULL ? (digits_end > radixchar_ptr ? - (long int) (digits_end - radixchar_ptr - 1) : (long int) (radixchar_ptr - digits_end)) : (long int) (s - digits_end)); } /* Then, convert the digit sequence to a number. */ { const char *dp; num = 0; for (dp = digits_start; dp < digits_end; dp++) if (dp != radixchar_ptr) { int digit; /* Make sure that multiplication by BASE will not overflow. */ if (!(num <= MAX / base)) { /* The value of the digit and all subsequent digits don't matter, since we have already gotten as many digits as can be represented in a 'DOUBLE'. This doesn't necessarily mean that the result will overflow: The exponent may reduce it to within range. */ exponent += (digits_end - dp) - (radixchar_ptr >= dp && radixchar_ptr < digits_end ? 1 : 0); break; } /* Eat the next digit. */ if (c_isdigit (*dp)) digit = *dp - '0'; else if (base == 16 && c_isxdigit (*dp)) digit = c_tolower (*dp) - ('a' - 10); else abort (); num = num * base + digit; } } exponent = exponent * radix_multiplier; /* Finally, parse the exponent. */ if (c_tolower (*s) == expchar && ! locale_isspace (s[1])) { /* Add any given exponent to the implicit one. */ int saved_errno = errno; char *end; long int value = strtol (s + 1, &end, 10); errno = saved_errno; if (s + 1 != end) { /* Skip past the exponent, and add in the implicit exponent, resulting in an extreme value on overflow. */ s = end; exponent = (exponent < 0 ? (value < LONG_MIN - exponent ? LONG_MIN : exponent + value) : (LONG_MAX - exponent < value ? LONG_MAX : exponent + value)); } } *endptr = (char *) s; return scale_radix_exp (num, radix, exponent); } /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ICC 10.0 has a bug when optimizing the expression -zero. The expression -MIN * MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */ static DOUBLE minus_zero (void) { #if defined __hpux || defined __sgi || defined __ICC return -MIN * MIN; #else return -0.0; #endif } /* Convert NPTR to a DOUBLE. If ENDPTR is not NULL, a pointer to the character after the last one used in the number is put in *ENDPTR. */ DOUBLE STRTOD (const char *nptr, char **endptr) #if HAVE_UNDERLYING_STRTOD # if defined USE_FLOAT # undef strtof # elif defined USE_LONG_DOUBLE # undef strtold # else # undef strtod # endif # if HAS_GRADUAL_UNDERFLOW_PROBLEM # define SET_ERRNO_UPON_GRADUAL_UNDERFLOW(RESULT) \ do \ { \ if ((RESULT) != 0 && (RESULT) < MIN && (RESULT) > -MIN) \ errno = ERANGE; \ } \ while (0) # else # define SET_ERRNO_UPON_GRADUAL_UNDERFLOW(RESULT) (void)0 # endif #else # undef STRTOD # define STRTOD(NPTR,ENDPTR) \ parse_number (NPTR, 10, 10, 1, radixchar, 'e', ENDPTR) # define SET_ERRNO_UPON_GRADUAL_UNDERFLOW(RESULT) (void)0 #endif /* From here on, STRTOD refers to the underlying implementation. It needs to handle only finite unsigned decimal numbers with non-null ENDPTR. */ { char radixchar; bool negative = false; /* The number so far. */ DOUBLE num; const char *s = nptr; const char *end; char *endbuf; int saved_errno = errno; radixchar = decimal_point_char (); /* Eat whitespace. */ while (locale_isspace (*s)) ++s; /* Get the sign. */ negative = *s == '-'; if (*s == '-' || *s == '+') ++s; num = STRTOD (s, &endbuf); SET_ERRNO_UPON_GRADUAL_UNDERFLOW (num); end = endbuf; if (c_isdigit (s[*s == radixchar])) { /* If a hex float was converted incorrectly, do it ourselves. If the string starts with "0x" but does not contain digits, consume the "0" ourselves. If a hex float is followed by a 'p' but no exponent, then adjust the end pointer. */ if (*s == '0' && c_tolower (s[1]) == 'x') { if (! c_isxdigit (s[2 + (s[2] == radixchar)])) { end = s + 1; /* strtod() on z/OS returns ERANGE for "0x". */ errno = saved_errno; } else if (end <= s + 2) { num = parse_number (s + 2, 16, 2, 4, radixchar, 'p', &endbuf); end = endbuf; } else { const char *p = s + 2; while (p < end && c_tolower (*p) != 'p') p++; if (p < end && ! c_isdigit (p[1 + (p[1] == '-' || p[1] == '+')])) { char *dup = strdup (s); errno = saved_errno; if (!dup) { /* Not really our day, is it. Rounding errors are better than outright failure. */ num = parse_number (s + 2, 16, 2, 4, radixchar, 'p', &endbuf); } else { dup[p - s] = '\0'; num = STRTOD (dup, &endbuf); SET_ERRNO_UPON_GRADUAL_UNDERFLOW (num); saved_errno = errno; free (dup); errno = saved_errno; } end = p; } } } else { /* If "1e 1" was misparsed as 10.0 instead of 1.0, re-do the underlying STRTOD on a copy of the original string truncated to avoid the bug. */ const char *e = s + 1; while (e < end && c_tolower (*e) != 'e') e++; if (e < end && ! c_isdigit (e[1 + (e[1] == '-' || e[1] == '+')])) { char *dup = strdup (s); errno = saved_errno; if (!dup) { /* Not really our day, is it. Rounding errors are better than outright failure. */ num = parse_number (s, 10, 10, 1, radixchar, 'e', &endbuf); } else { dup[e - s] = '\0'; num = STRTOD (dup, &endbuf); SET_ERRNO_UPON_GRADUAL_UNDERFLOW (num); saved_errno = errno; free (dup); errno = saved_errno; } end = e; } } s = end; } /* Check for infinities and NaNs. */ else if (c_tolower (*s) == 'i' && c_tolower (s[1]) == 'n' && c_tolower (s[2]) == 'f') { s += 3; if (c_tolower (*s) == 'i' && c_tolower (s[1]) == 'n' && c_tolower (s[2]) == 'i' && c_tolower (s[3]) == 't' && c_tolower (s[4]) == 'y') s += 5; num = HUGE_VAL; errno = saved_errno; } else if (c_tolower (*s) == 'n' && c_tolower (s[1]) == 'a' && c_tolower (s[2]) == 'n') { s += 3; if (*s == '(') { const char *p = s + 1; while (c_isalnum (*p)) p++; if (*p == ')') s = p + 1; } /* If the underlying implementation misparsed the NaN, assume its result is incorrect, and return a NaN. Normally it's better to use the underlying implementation's result, since a nice implementation populates the bits of the NaN according to interpreting n-char-sequence as a hexadecimal number. */ if (s != end || num == num) num = NAN; errno = saved_errno; } else { /* No conversion could be performed. */ errno = EINVAL; s = nptr; } if (endptr != NULL) *endptr = (char *) s; /* Special case -0.0, since at least ICC miscompiles negation. We can't use copysign(), as that drags in -lm on some platforms. */ if (!num && negative) return minus_zero (); return negative ? -num : num; } datamash-1.9/lib/strtoimax.c0000644000000000000000000000357714767401140011560 /* Convert string representation of a number into an intmax_t value. Copyright (C) 1999, 2001-2004, 2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ #include /* Verify interface. */ #include #include #ifdef UNSIGNED # ifndef HAVE_DECL_STRTOULL "this configure-time declaration test was not run" # endif # if !HAVE_DECL_STRTOULL unsigned long long int strtoull (char const *, char **, int); # endif #else # ifndef HAVE_DECL_STRTOLL "this configure-time declaration test was not run" # endif # if !HAVE_DECL_STRTOLL long long int strtoll (char const *, char **, int); # endif #endif #ifdef UNSIGNED # define Int uintmax_t # define Strtoimax strtoumax # define Strtol strtoul # define Strtoll strtoull # define Unsigned unsigned #else # define Int intmax_t # define Strtoimax strtoimax # define Strtol strtol # define Strtoll strtoll # define Unsigned #endif Int Strtoimax (char const *ptr, char **endptr, int base) { static_assert (sizeof (Int) == sizeof (Unsigned long int) || sizeof (Int) == sizeof (Unsigned long long int)); if (sizeof (Int) != sizeof (Unsigned long int)) return Strtoll (ptr, endptr, base); return Strtol (ptr, endptr, base); } datamash-1.9/lib/strtol.c0000644000000000000000000002442114767401140011044 /* Convert string representation of a number into an integer value. Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2025 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifdef _LIBC # define USE_NUMBER_GROUPING #else # include #endif #include #include #ifndef __set_errno # define __set_errno(Val) errno = (Val) #endif #include #include #include #include #ifdef USE_NUMBER_GROUPING # include "../locale/localeinfo.h" #endif /* Nonzero if we are defining 'strtoul' or 'strtoull', operating on unsigned integers. */ #ifndef UNSIGNED # define UNSIGNED 0 # define INT LONG int #else # define INT unsigned LONG int #endif /* Determine the name. */ #ifdef USE_IN_EXTENDED_LOCALE_MODEL # undef strtol # if UNSIGNED # ifdef USE_WIDE_CHAR # ifdef QUAD # define strtol __wcstoull_l # else # define strtol __wcstoul_l # endif # else # ifdef QUAD # define strtol __strtoull_l # else # define strtol __strtoul_l # endif # endif # else # ifdef USE_WIDE_CHAR # ifdef QUAD # define strtol __wcstoll_l # else # define strtol __wcstol_l # endif # else # ifdef QUAD # define strtol __strtoll_l # else # define strtol __strtol_l # endif # endif # endif #else # if UNSIGNED # undef strtol # ifdef USE_WIDE_CHAR # ifdef QUAD # define strtol wcstoull # else # define strtol wcstoul # endif # else # ifdef QUAD # define strtol strtoull # else # define strtol strtoul # endif # endif # else # ifdef USE_WIDE_CHAR # undef strtol # ifdef QUAD # define strtol wcstoll # else # define strtol wcstol # endif # else # ifdef QUAD # undef strtol # define strtol strtoll # endif # endif # endif #endif /* If QUAD is defined, we are defining 'strtoll' or 'strtoull', operating on 'long long int's. */ #ifdef QUAD # define LONG long long # define STRTOL_LONG_MIN LLONG_MIN # define STRTOL_LONG_MAX LLONG_MAX # define STRTOL_ULONG_MAX ULLONG_MAX # if __GNUC__ == 2 && __GNUC_MINOR__ < 7 /* Work around gcc bug with using this constant. */ static const unsigned long long int maxquad = ULLONG_MAX; # undef STRTOL_ULONG_MAX # define STRTOL_ULONG_MAX maxquad # endif #else # define LONG long # define STRTOL_LONG_MIN LONG_MIN # define STRTOL_LONG_MAX LONG_MAX # define STRTOL_ULONG_MAX ULONG_MAX #endif #ifdef USE_NUMBER_GROUPING # define GROUP_PARAM_PROTO , int group #else # define GROUP_PARAM_PROTO #endif /* We use this code also for the extended locale handling where the function gets as an additional argument the locale which has to be used. To access the values we have to redefine the _NL_CURRENT macro. */ #ifdef USE_IN_EXTENDED_LOCALE_MODEL # undef _NL_CURRENT # define _NL_CURRENT(category, item) \ (current->values[_NL_ITEM_INDEX (item)].string) # define LOCALE_PARAM , loc # define LOCALE_PARAM_PROTO , __locale_t loc #else # define LOCALE_PARAM # define LOCALE_PARAM_PROTO #endif #ifdef USE_WIDE_CHAR # include # include # define L_(Ch) L##Ch # define UCHAR_TYPE wint_t # define STRING_TYPE wchar_t # ifdef USE_IN_EXTENDED_LOCALE_MODEL # define ISSPACE(Ch) __iswspace_l ((Ch), loc) # define ISALPHA(Ch) __iswalpha_l ((Ch), loc) # define TOUPPER(Ch) __towupper_l ((Ch), loc) # else # define ISSPACE(Ch) iswspace (Ch) # define ISALPHA(Ch) iswalpha (Ch) # define TOUPPER(Ch) towupper (Ch) # endif #else # define L_(Ch) Ch # define UCHAR_TYPE unsigned char # define STRING_TYPE char # ifdef USE_IN_EXTENDED_LOCALE_MODEL # define ISSPACE(Ch) __isspace_l ((unsigned char) (Ch), loc) # define ISALPHA(Ch) __isalpha_l ((unsigned char) (Ch), loc) # define TOUPPER(Ch) __toupper_l ((unsigned char) (Ch), loc) # else # define ISSPACE(Ch) isspace ((unsigned char) (Ch)) # define ISALPHA(Ch) isalpha ((unsigned char) (Ch)) # define TOUPPER(Ch) toupper ((unsigned char) (Ch)) # endif #endif #ifdef USE_NUMBER_GROUPING # define INTERNAL(X) INTERNAL1(X) # define INTERNAL1(X) __##X##_internal # define WEAKNAME(X) WEAKNAME1(X) #else # define INTERNAL(X) X #endif #ifdef USE_NUMBER_GROUPING /* This file defines a function to check for correct grouping. */ # include "grouping.h" #endif /* Convert NPTR to an 'unsigned long int' or 'long int' in base BASE. If BASE is 0 the base is determined by the presence of a leading zero, indicating octal or a leading "0x" or "0X", indicating hexadecimal. If BASE is < 2 or > 36, it is reset to 10. If ENDPTR is not NULL, a pointer to the character after the last one converted is stored in *ENDPTR. */ INT INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, int base GROUP_PARAM_PROTO LOCALE_PARAM_PROTO) { int negative; register unsigned LONG int cutoff; register unsigned int cutlim; register unsigned LONG int i; register const STRING_TYPE *s; register UCHAR_TYPE c; const STRING_TYPE *save, *end; int overflow; #ifdef USE_NUMBER_GROUPING # ifdef USE_IN_EXTENDED_LOCALE_MODEL struct locale_data *current = loc->__locales[LC_NUMERIC]; # endif /* The thousands character of the current locale. */ wchar_t thousands = L'\0'; /* The numeric grouping specification of the current locale, in the format described in . */ const char *grouping; if (group) { grouping = _NL_CURRENT (LC_NUMERIC, GROUPING); if (*grouping <= 0 || *grouping == CHAR_MAX) grouping = NULL; else { /* Figure out the thousands separator character. */ # if defined _LIBC || defined _HAVE_BTOWC thousands = __btowc (*_NL_CURRENT (LC_NUMERIC, THOUSANDS_SEP)); if (thousands == WEOF) thousands = L'\0'; # endif if (thousands == L'\0') grouping = NULL; } } else grouping = NULL; #endif if (base < 0 || base == 1 || base > 36) { __set_errno (EINVAL); return 0; } save = s = nptr; /* Skip white space. */ while (ISSPACE (*s)) ++s; if (*s == L_('\0')) goto noconv; /* Check for a sign. */ if (*s == L_('-')) { negative = 1; ++s; } else if (*s == L_('+')) { negative = 0; ++s; } else negative = 0; /* Recognize number prefix and if BASE is zero, figure it out ourselves. */ if (*s == L_('0')) { if ((base == 0 || base == 16) && TOUPPER (s[1]) == L_('X')) { s += 2; base = 16; } else if ((base == 0 || base == 2) && TOUPPER (s[1]) == L_('B')) { s += 2; base = 2; } else if (base == 0) base = 8; } else if (base == 0) base = 10; /* Save the pointer so we can check later if anything happened. */ save = s; #ifdef USE_NUMBER_GROUPING if (group) { /* Find the end of the digit string and check its grouping. */ end = s; for (c = *end; c != L_('\0'); c = *++end) if ((wchar_t) c != thousands && ((wchar_t) c < L_('0') || (wchar_t) c > L_('9')) && (!ISALPHA (c) || (int) (TOUPPER (c) - L_('A') + 10) >= base)) break; if (*s == thousands) end = s; else end = correctly_grouped_prefix (s, end, thousands, grouping); } else #endif end = NULL; cutoff = STRTOL_ULONG_MAX / (unsigned LONG int) base; cutlim = STRTOL_ULONG_MAX % (unsigned LONG int) base; overflow = 0; i = 0; for (c = *s; c != L_('\0'); c = *++s) { if (s == end) break; if (c >= L_('0') && c <= L_('9')) c -= L_('0'); else if (ISALPHA (c)) c = TOUPPER (c) - L_('A') + 10; else break; if ((int) c >= base) break; /* Check for overflow. */ if (i > cutoff || (i == cutoff && c > cutlim)) overflow = 1; else { i *= (unsigned LONG int) base; i += c; } } /* Check if anything actually happened. */ if (s == save) goto noconv; /* Store in ENDPTR the address of one character past the last character we converted. */ if (endptr != NULL) *endptr = (STRING_TYPE *) s; #if !UNSIGNED /* Check for a value that is within the range of 'unsigned LONG int', but outside the range of 'LONG int'. */ if (overflow == 0 && i > (negative ? -((unsigned LONG int) (STRTOL_LONG_MIN + 1)) + 1 : (unsigned LONG int) STRTOL_LONG_MAX)) overflow = 1; #endif if (overflow) { __set_errno (ERANGE); #if UNSIGNED return STRTOL_ULONG_MAX; #else return negative ? STRTOL_LONG_MIN : STRTOL_LONG_MAX; #endif } /* Return the result of the appropriate sign. */ return negative ? -i : i; noconv: /* We must handle a special case here: the base is 0 or 16 and the first two characters are '0' and 'x', but the rest are no hexadecimal digits. Likewise when the base is 0 or 2 and the first two characters are '0' and 'b', but the rest are no binary digits. This is no error case. We return 0 and ENDPTR points to the 'x' or 'b'. */ if (endptr != NULL) { if (save - nptr >= 2 && (TOUPPER (save[-1]) == L_('X') || TOUPPER (save[-1]) == L_('B')) && save[-2] == L_('0')) *endptr = (STRING_TYPE *) &save[-1]; else /* There was no number to convert. */ *endptr = (STRING_TYPE *) nptr; } return 0L; } #ifdef USE_NUMBER_GROUPING /* External user entry point. */ INT # ifdef weak_function weak_function # endif strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, int base LOCALE_PARAM_PROTO) { return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM); } #endif datamash-1.9/lib/strtold.c0000644000000000000000000000204714767401140011210 /* Convert string to 'long double'. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Specification. */ # include long double strtold (const char *str, char **endp) { return strtod (str, endp); } #else # define USE_LONG_DOUBLE # include "strtod.c" #endif datamash-1.9/lib/strtoll.c0000644000000000000000000000213014767401140011211 /* Function to parse a 'long long int' from text. Copyright (C) 1995-1997, 1999, 2001, 2009-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define QUAD 1 #include #ifdef _LIBC # ifdef SHARED # include # if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2) compat_symbol (libc, __strtoll_internal, __strtoq_internal, GLIBC_2_0); # endif # endif weak_alias (strtoll, strtoq) #endif datamash-1.9/lib/strtoul.c0000644000000000000000000000147014767401140011230 /* Copyright (C) 1991, 1997, 2009-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define UNSIGNED 1 #include "strtol.c" datamash-1.9/lib/strtoull.c0000644000000000000000000000205714767401140011406 /* Function to parse an 'unsigned long long int' from text. Copyright (C) 1995-1997, 1999, 2009-2025 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define QUAD 1 #include "strtoul.c" #ifdef _LIBC strong_alias (__strtoull_internal, __strtouq_internal) weak_alias (strtoull, strtouq) #endif datamash-1.9/lib/strtoumax.c0000644000000000000000000000150214767401140011556 /* Convert string representation of a number into a uintmax_t value. Copyright (C) 1999-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define UNSIGNED 1 #include "strtoimax.c" datamash-1.9/lib/struniq.h0000644000000000000000000000741614767402206011240 /* Define a file-local string uniquification function. Copyright (C) 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2009. */ /* This file needs the following includes: #include #include #include #include "flexmember.h" #include "glthread/lock.h" #include "thread-optim.h" and the following gnulib modules as dependencies: flexmember lock bool thread-optim */ /* Simple hash set of strings. We don't want to drag in lots of hash table code here. */ #define SIZE_BITS (sizeof (size_t) * CHAR_BIT) /* A hash function for NUL-terminated char* strings using the method described by Bruno Haible. See https://www.haible.de/bruno/hashfunc.html. */ static size_t _GL_ATTRIBUTE_PURE string_hash (const void *x) { const char *s = (const char *) x; size_t h = 0; for (; *s; s++) h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); return h; } /* A hash table of fixed size. Multiple threads can access it read-only simultaneously, but only one thread can insert into it at the same time. */ /* A node in a hash bucket collision list. */ struct struniq_hash_node { struct struniq_hash_node * volatile next; char contents[FLEXIBLE_ARRAY_MEMBER]; }; #define STRUNIQ_HASH_TABLE_SIZE 257 static struct struniq_hash_node * volatile struniq_hash_table[STRUNIQ_HASH_TABLE_SIZE] /* = { NULL, ..., NULL } */; /* This lock protects the struniq_hash_table against multiple simultaneous insertions. */ gl_lock_define_initialized(static, struniq_lock) /* Store a copy of the given string in a string pool with indefinite extent. Return a pointer to this copy. */ static const char * struniq (const char *string) { size_t hashcode = string_hash (string); size_t slot = hashcode % STRUNIQ_HASH_TABLE_SIZE; size_t size; struct struniq_hash_node *new_node; struct struniq_hash_node *p; for (p = struniq_hash_table[slot]; p != NULL; p = p->next) if (strcmp (p->contents, string) == 0) return p->contents; size = strlen (string) + 1; new_node = (struct struniq_hash_node *) malloc (FLEXSIZEOF (struct struniq_hash_node, contents, size)); if (new_node == NULL) /* Out of memory. Return a statically allocated string. */ return "C"; memcpy (new_node->contents, string, size); { bool mt = gl_multithreaded (); /* Lock while inserting new_node. */ if (mt) gl_lock_lock (struniq_lock); /* Check whether another thread already added the string while we were waiting on the lock. */ for (p = struniq_hash_table[slot]; p != NULL; p = p->next) if (strcmp (p->contents, string) == 0) { free (new_node); new_node = p; goto done; } /* Really insert new_node into the hash table. Fill new_node entirely first, because other threads may be iterating over the linked list. */ new_node->next = struniq_hash_table[slot]; struniq_hash_table[slot] = new_node; done: /* Unlock after new_node is inserted. */ if (mt) gl_lock_unlock (struniq_lock); } return new_node->contents; } datamash-1.9/lib/sys-limits.h0000644000000000000000000000322714767401140011640 /* System call limits Copyright 2018-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _GL_SYS_LIMITS_H #define _GL_SYS_LIMITS_H #include /* Maximum number of bytes to read or write in a single system call. This can be useful for system calls like sendfile on GNU/Linux, which do not handle more than MAX_RW_COUNT bytes correctly. The Linux kernel MAX_RW_COUNT is at least INT_MAX >> 20 << 20, where the 20 comes from the Hexagon port with 1 MiB pages; use that as an approximation, as the exact value may not be available to us. Using this also works around a serious Linux bug before 2.6.16; see . Using this also works around a Tru64 5.1 bug, where attempting to read INT_MAX bytes fails with errno == EINVAL. See . Using this is likely to work around similar bugs in other operating systems. */ enum { SYS_BUFSIZE_MAX = INT_MAX >> 20 << 20 }; #endif datamash-1.9/lib/sys_random.in.h0000644000000000000000000000650614767401140012311 /* Substitute for . Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ #ifndef _@GUARD_PREFIX@_SYS_RANDOM_H #if @HAVE_SYS_RANDOM_H@ /* On uClibc < 1.0.35, assumes prior inclusion of . Do not use __UCLIBC__ here, as it might not be defined yet. But avoid namespace pollution on glibc systems. */ # ifndef __GLIBC__ # include # endif /* On Mac OS X 10.5, assumes prior inclusion of . On Max OS X 10.13, assumes prior inclusion of a file that includes , such as or . */ # if defined __APPLE__ && defined __MACH__ /* Mac OS X */ # include # include # endif /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_RANDOM_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_RANDOM_H #define _@GUARD_PREFIX@_SYS_RANDOM_H /* This file uses _GL_ATTRIBUTE_NODISCARD, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include /* Define the GRND_* constants. */ #ifndef GRND_NONBLOCK # define GRND_NONBLOCK 1 # define GRND_RANDOM 2 #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Declare overridden functions. */ #if @GNULIB_GETRANDOM@ /* Fill a buffer with random bytes. */ # if @REPLACE_GETRANDOM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getrandom # define getrandom rpl_getrandom # endif _GL_FUNCDECL_RPL (getrandom, ssize_t, (void *buffer, size_t length, unsigned int flags), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getrandom, ssize_t, (void *buffer, size_t length, unsigned int flags)); # else # if !@HAVE_GETRANDOM@ _GL_FUNCDECL_SYS (getrandom, ssize_t, (void *buffer, size_t length, unsigned int flags), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getrandom, ssize_t, (void *buffer, size_t length, unsigned int flags)); # endif # if __GLIBC__ + (__GLIBC_MINOR__ >= 25) > 2 _GL_CXXALIASWARN (getrandom); # endif #elif defined GNULIB_POSIXCHECK # undef getrandom # if HAVE_RAW_DECL_GETRANDOM _GL_WARN_ON_USE (getrandom, "getrandom is unportable - " "use gnulib module getrandom for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_RANDOM_H */ #endif /* _@GUARD_PREFIX@_SYS_RANDOM_H */ datamash-1.9/lib/sys_socket.c0000644000000000000000000000155514767401140011706 /* Inline functions for . Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE #include #include typedef int dummy; datamash-1.9/lib/sys_socket.in.h0000644000000000000000000006120614767401140012317 /* Provide a sys/socket header file for systems lacking it (read: MinGW) and for systems where it is incomplete. Copyright (C) 2005-2025 Free Software Foundation, Inc. Written by Simon Josefsson. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file is supposed to be used on platforms that lack , on platforms where cannot be included standalone, and on platforms where does not provide all necessary definitions. It is intended to provide definitions and prototypes needed by an application. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if defined _@GUARD_PREFIX@_ALREADY_INCLUDING_SYS_SOCKET_H /* Special invocation convention: - On Cygwin 1.5.x we have a sequence of nested includes -> -> -> , and the latter includes . In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #if @HAVE_SYS_SOCKET_H@ # define _@GUARD_PREFIX@_ALREADY_INCLUDING_SYS_SOCKET_H /* On many platforms, assumes prior inclusion of . */ # include /* On FreeBSD 6.4, defines some macros that assume that NULL is defined. */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_SOCKET_H@ # undef _@GUARD_PREFIX@_ALREADY_INCLUDING_SYS_SOCKET_H #endif #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #define _@GUARD_PREFIX@_SYS_SOCKET_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*, alignof. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_SYS_SOCKET_INLINE # define _GL_SYS_SOCKET_INLINE _GL_INLINE #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !@HAVE_SA_FAMILY_T@ # if !GNULIB_defined_sa_family_t /* On OS/2 kLIBC, sa_family_t is unsigned char unless TCPV40HDRS is defined. */ # if !defined __KLIBC__ || defined TCPV40HDRS typedef unsigned short sa_family_t; # else typedef unsigned char sa_family_t; # endif # define GNULIB_defined_sa_family_t 1 # endif #endif #if @HAVE_STRUCT_SOCKADDR_STORAGE@ /* Make the 'struct sockaddr_storage' field 'ss_family' visible on AIX 7.1. */ # if !@HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY@ # ifndef ss_family # define ss_family __ss_family # endif # endif #else /* Code taken from glibc sysdeps/unix/sysv/linux/bits/socket.h on 2009-05-08, licensed under LGPLv2.1+, plus portability fixes. */ # define __ss_aligntype unsigned long int # define _SS_SIZE 256 # define _SS_PADSIZE \ (_SS_SIZE - ((sizeof (sa_family_t) >= alignof (__ss_aligntype) \ ? sizeof (sa_family_t) \ : alignof (__ss_aligntype)) \ + sizeof (__ss_aligntype))) # if !GNULIB_defined_struct_sockaddr_storage struct sockaddr_storage { sa_family_t ss_family; /* Address family, etc. */ __ss_aligntype __ss_align; /* Force desired alignment. */ char __ss_padding[_SS_PADSIZE]; }; # define GNULIB_defined_struct_sockaddr_storage 1 # endif #endif /* Get struct iovec. */ /* But avoid namespace pollution on glibc systems. */ #if ! defined __GLIBC__ # include #endif #if @HAVE_SYS_SOCKET_H@ /* A platform that has . */ /* For shutdown(). */ # if !defined SHUT_RD # define SHUT_RD 0 # endif # if !defined SHUT_WR # define SHUT_WR 1 # endif # if !defined SHUT_RDWR # define SHUT_RDWR 2 # endif # ifdef __VMS /* OpenVMS */ # ifndef CMSG_SPACE # define CMSG_SPACE(length) _CMSG_SPACE(length) # endif # ifndef CMSG_LEN # define CMSG_LEN(length) _CMSG_LEN(length) # endif # endif #else # ifdef __CYGWIN__ # error "Cygwin does have a sys/socket.h, doesn't it?!?" # endif /* A platform that lacks . Currently only MinGW is supported. See the gnulib manual regarding Windows sockets. MinGW has the header files winsock2.h and ws2tcpip.h that declare the sys/socket.h definitions we need. Note that you can influence which definitions you get by setting the WINVER symbol before including these two files. For example, getaddrinfo is only available if _WIN32_WINNT >= 0x0501 (that symbol is set indirectly through WINVER). You can set this by adding AC_DEFINE(WINVER, 0x0501) to configure.ac. Note that your code may not run on older Windows releases then. My Windows 2000 box was not able to run the code, for example. The situation is slightly confusing because suggests that getaddrinfo should be available on all Windows releases. */ # if @HAVE_WINSOCK2_H@ # include # endif # if @HAVE_WS2TCPIP_H@ # include # endif /* For shutdown(). */ # if !defined SHUT_RD && defined SD_RECEIVE # define SHUT_RD SD_RECEIVE # endif # if !defined SHUT_WR && defined SD_SEND # define SHUT_WR SD_SEND # endif # if !defined SHUT_RDWR && defined SD_BOTH # define SHUT_RDWR SD_BOTH # endif # if @HAVE_WINSOCK2_H@ /* Include headers needed by the emulation code. */ # include # include /* If these headers don't define socklen_t, does. */ # endif /* Rudimentary 'struct msghdr'; this works as long as you don't try to access msg_control or msg_controllen. */ # if !defined GNULIB_defined_struct_msghdr struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; int msg_iovlen; int msg_flags; }; # define GNULIB_defined_struct_msghdr 1 # endif #endif /* Ensure SO_REUSEPORT is defined. */ /* For the subtle differences between SO_REUSEPORT and SO_REUSEADDR, see https://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t and https://lwn.net/Articles/542629/ */ #ifndef SO_REUSEPORT # define SO_REUSEPORT SO_REUSEADDR #endif /* Fix some definitions from . */ #if @HAVE_WINSOCK2_H@ # if !GNULIB_defined_rpl_fd_isset /* Re-define FD_ISSET to avoid a WSA call while we are not using network sockets. */ _GL_SYS_SOCKET_INLINE int rpl_fd_isset (SOCKET fd, fd_set * set) { u_int i; if (set == NULL) return 0; for (i = 0; i < set->fd_count; i++) if (set->fd_array[i] == fd) return 1; return 0; } # define GNULIB_defined_rpl_fd_isset 1 # endif # undef FD_ISSET # define FD_ISSET(fd, set) rpl_fd_isset(fd, set) #endif /* Hide some function declarations from . */ #if @HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_UNISTD_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef close # define close close_used_without_including_unistd_h # elif !defined __clang__ _GL_WARN_ON_USE (close, "close() used without including "); # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname gethostname_used_without_including_unistd_h # else _GL_WARN_ON_USE (gethostname, "gethostname() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif /* Wrap everything else to use libc file descriptors for sockets. */ #if @GNULIB_SOCKET@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket rpl_socket # endif _GL_FUNCDECL_RPL (socket, int, (int domain, int type, int protocol), ); _GL_CXXALIAS_RPL (socket, int, (int domain, int type, int protocol)); # else _GL_CXXALIAS_SYS (socket, int, (int domain, int type, int protocol)); # endif _GL_CXXALIASWARN (socket); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_SOCKET # undef socket # define socket socket_used_without_requesting_gnulib_module_socket # endif #elif defined GNULIB_POSIXCHECK # undef socket # if HAVE_RAW_DECL_SOCKET _GL_WARN_ON_USE (socket, "socket is not always POSIX compliant - " "use gnulib module socket for portability"); # endif #endif #if @GNULIB_CONNECT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef connect # define connect rpl_connect # endif _GL_FUNCDECL_RPL (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # else /* Need to cast, because on NonStop Kernel, the third parameter is size_t addrlen. */ _GL_CXXALIAS_SYS_CAST (connect, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # endif _GL_CXXALIASWARN (connect); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_CONNECT # undef connect # define connect connect_used_without_requesting_gnulib_module_connect # endif #elif defined GNULIB_POSIXCHECK # undef connect # if HAVE_RAW_DECL_CONNECT _GL_WARN_ON_USE (connect, "connect is not always POSIX compliant - " "use gnulib module connect for portability"); # endif #endif #if @GNULIB_ACCEPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef accept # define accept rpl_accept # endif _GL_FUNCDECL_RPL (accept, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen), ); _GL_CXXALIAS_RPL (accept, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (accept, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (accept); # endif #elif @HAVE_WINSOCK2_H@ # if !GNULIB_ACCEPT # undef accept # define accept accept_used_without_requesting_gnulib_module_accept # endif #elif defined GNULIB_POSIXCHECK # undef accept # if HAVE_RAW_DECL_ACCEPT _GL_WARN_ON_USE (accept, "accept is not always POSIX compliant - " "use gnulib module accept for portability"); # endif #endif #if @GNULIB_BIND@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef bind # define bind rpl_bind # endif _GL_FUNCDECL_RPL (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # else /* Need to cast, because on NonStop Kernel, the third parameter is size_t addrlen. */ _GL_CXXALIAS_SYS_CAST (bind, int, (int fd, const struct sockaddr *addr, socklen_t addrlen)); # endif _GL_CXXALIASWARN (bind); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_BIND # undef bind # define bind bind_used_without_requesting_gnulib_module_bind # endif #elif defined GNULIB_POSIXCHECK # undef bind # if HAVE_RAW_DECL_BIND _GL_WARN_ON_USE (bind, "bind is not always POSIX compliant - " "use gnulib module bind for portability"); # endif #endif #if @GNULIB_GETPEERNAME@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpeername # define getpeername rpl_getpeername # endif _GL_FUNCDECL_RPL (getpeername, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (getpeername, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (getpeername, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getpeername); # endif #elif @HAVE_WINSOCK2_H@ # if !GNULIB_GETPEERNAME # undef getpeername # define getpeername getpeername_used_without_requesting_gnulib_module_getpeername # endif #elif defined GNULIB_POSIXCHECK # undef getpeername # if HAVE_RAW_DECL_GETPEERNAME _GL_WARN_ON_USE (getpeername, "getpeername is not always POSIX compliant - " "use gnulib module getpeername for portability"); # endif #endif #if @GNULIB_GETSOCKNAME@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsockname # define getsockname rpl_getsockname # endif _GL_FUNCDECL_RPL (getsockname, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (getsockname, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen)); # else /* Need to cast, because on Solaris 10 systems, the third parameter is void *addrlen. */ _GL_CXXALIAS_SYS_CAST (getsockname, int, (int fd, struct sockaddr *restrict addr, socklen_t *restrict addrlen)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getsockname); # endif #elif @HAVE_WINSOCK2_H@ # if !GNULIB_GETSOCKNAME # undef getsockname # define getsockname getsockname_used_without_requesting_gnulib_module_getsockname # endif #elif defined GNULIB_POSIXCHECK # undef getsockname # if HAVE_RAW_DECL_GETSOCKNAME _GL_WARN_ON_USE (getsockname, "getsockname is not always POSIX compliant - " "use gnulib module getsockname for portability"); # endif #endif #if @GNULIB_GETSOCKOPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getsockopt # define getsockopt rpl_getsockopt # endif _GL_FUNCDECL_RPL (getsockopt, int, (int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen), _GL_ARG_NONNULL ((4, 5))); _GL_CXXALIAS_RPL (getsockopt, int, (int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen)); # else /* Need to cast, because on Solaris 10 systems, the fifth parameter is void *optlen. */ _GL_CXXALIAS_SYS_CAST (getsockopt, int, (int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen)); # endif _GL_CXXALIASWARN (getsockopt); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_GETSOCKOPT # undef getsockopt # define getsockopt getsockopt_used_without_requesting_gnulib_module_getsockopt # endif #elif defined GNULIB_POSIXCHECK # undef getsockopt # if HAVE_RAW_DECL_GETSOCKOPT _GL_WARN_ON_USE (getsockopt, "getsockopt is not always POSIX compliant - " "use gnulib module getsockopt for portability"); # endif #endif #if @GNULIB_LISTEN@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef listen # define listen rpl_listen # endif _GL_FUNCDECL_RPL (listen, int, (int fd, int backlog), ); _GL_CXXALIAS_RPL (listen, int, (int fd, int backlog)); # else _GL_CXXALIAS_SYS (listen, int, (int fd, int backlog)); # endif _GL_CXXALIASWARN (listen); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_LISTEN # undef listen # define listen listen_used_without_requesting_gnulib_module_listen # endif #elif defined GNULIB_POSIXCHECK # undef listen # if HAVE_RAW_DECL_LISTEN _GL_WARN_ON_USE (listen, "listen is not always POSIX compliant - " "use gnulib module listen for portability"); # endif #endif #if @GNULIB_RECV@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef recv # define recv rpl_recv # endif _GL_FUNCDECL_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); # else /* Need to cast, because on HP-UX 11.31 the return type may be int, depending on compiler options. */ _GL_CXXALIAS_SYS_CAST (recv, ssize_t, (int fd, void *buf, size_t len, int flags)); # endif _GL_CXXALIASWARN (recv); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_RECV # undef recv # define recv recv_used_without_requesting_gnulib_module_recv # endif #elif defined GNULIB_POSIXCHECK # undef recv # if HAVE_RAW_DECL_RECV _GL_WARN_ON_USE (recv, "recv is not always POSIX compliant - " "use gnulib module recv for portability"); # endif #endif #if @GNULIB_SEND@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef send # define send rpl_send # endif _GL_FUNCDECL_RPL (send, ssize_t, (int fd, const void *buf, size_t len, int flags), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (send, ssize_t, (int fd, const void *buf, size_t len, int flags)); # else /* Need to cast, because on HP-UX 11.31 the return type may be int, depending on compiler options. */ _GL_CXXALIAS_SYS_CAST (send, ssize_t, (int fd, const void *buf, size_t len, int flags)); # endif _GL_CXXALIASWARN (send); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_SEND # undef send # define send send_used_without_requesting_gnulib_module_send # endif #elif defined GNULIB_POSIXCHECK # undef send # if HAVE_RAW_DECL_SEND _GL_WARN_ON_USE (send, "send is not always POSIX compliant - " "use gnulib module send for portability"); # endif #endif #if @GNULIB_RECVFROM@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef recvfrom # define recvfrom rpl_recvfrom # endif _GL_FUNCDECL_RPL (recvfrom, ssize_t, (int fd, void *restrict buf, size_t len, int flags, struct sockaddr *restrict from, socklen_t *restrict fromlen), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (recvfrom, ssize_t, (int fd, void *restrict buf, size_t len, int flags, struct sockaddr *restrict from, socklen_t *restrict fromlen)); # else /* Need to cast, because on Solaris 10 systems, the sixth parameter is void *fromlen. */ _GL_CXXALIAS_SYS_CAST (recvfrom, ssize_t, (int fd, void *restrict buf, size_t len, int flags, struct sockaddr *restrict from, socklen_t *restrict fromlen)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (recvfrom); # endif #elif @HAVE_WINSOCK2_H@ # if !GNULIB_RECVFROM # undef recvfrom # define recvfrom recvfrom_used_without_requesting_gnulib_module_recvfrom # endif #elif defined GNULIB_POSIXCHECK # undef recvfrom # if HAVE_RAW_DECL_RECVFROM _GL_WARN_ON_USE (recvfrom, "recvfrom is not always POSIX compliant - " "use gnulib module recvfrom for portability"); # endif #endif #if @GNULIB_SENDTO@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sendto # define sendto rpl_sendto # endif _GL_FUNCDECL_RPL (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)); # else /* Need to cast, because on NonStop Kernel, the sixth parameter is size_t tolen. */ _GL_CXXALIAS_SYS_CAST (sendto, ssize_t, (int fd, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)); # endif _GL_CXXALIASWARN (sendto); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_SENDTO # undef sendto # define sendto sendto_used_without_requesting_gnulib_module_sendto # endif #elif defined GNULIB_POSIXCHECK # undef sendto # if HAVE_RAW_DECL_SENDTO _GL_WARN_ON_USE (sendto, "sendto is not always POSIX compliant - " "use gnulib module sendto for portability"); # endif #endif #if @GNULIB_SETSOCKOPT@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setsockopt # define setsockopt rpl_setsockopt # endif _GL_FUNCDECL_RPL (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen), _GL_ARG_NONNULL ((4))); _GL_CXXALIAS_RPL (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen)); # else /* Need to cast, because on NonStop Kernel, the fifth parameter is size_t optlen. */ _GL_CXXALIAS_SYS_CAST (setsockopt, int, (int fd, int level, int optname, const void * optval, socklen_t optlen)); # endif _GL_CXXALIASWARN (setsockopt); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_SETSOCKOPT # undef setsockopt # define setsockopt setsockopt_used_without_requesting_gnulib_module_setsockopt # endif #elif defined GNULIB_POSIXCHECK # undef setsockopt # if HAVE_RAW_DECL_SETSOCKOPT _GL_WARN_ON_USE (setsockopt, "setsockopt is not always POSIX compliant - " "use gnulib module setsockopt for portability"); # endif #endif #if @GNULIB_SHUTDOWN@ # if @HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef shutdown # define shutdown rpl_shutdown # endif _GL_FUNCDECL_RPL (shutdown, int, (int fd, int how), ); _GL_CXXALIAS_RPL (shutdown, int, (int fd, int how)); # else _GL_CXXALIAS_SYS (shutdown, int, (int fd, int how)); # endif _GL_CXXALIASWARN (shutdown); #elif @HAVE_WINSOCK2_H@ # if !GNULIB_SHUTDOWN # undef shutdown # define shutdown shutdown_used_without_requesting_gnulib_module_shutdown # endif #elif defined GNULIB_POSIXCHECK # undef shutdown # if HAVE_RAW_DECL_SHUTDOWN _GL_WARN_ON_USE (shutdown, "shutdown is not always POSIX compliant - " "use gnulib module shutdown for portability"); # endif #endif #if @GNULIB_ACCEPT4@ /* Accept a connection on a socket, with specific opening flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). See also the Linux man page at . */ # if @HAVE_ACCEPT4@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define accept4 rpl_accept4 # endif _GL_FUNCDECL_RPL (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags), ); _GL_CXXALIAS_RPL (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); # else _GL_FUNCDECL_SYS (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags), ); _GL_CXXALIAS_SYS (accept4, int, (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)); # endif _GL_CXXALIASWARN (accept4); #elif defined GNULIB_POSIXCHECK # undef accept4 # if HAVE_RAW_DECL_ACCEPT4 _GL_WARN_ON_USE (accept4, "accept4 is unportable - " "use gnulib module accept4 for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif datamash-1.9/lib/sys_stat.in.h0000644000000000000000000006744214767401140012012 /* Provide a more complete sys/stat.h header file. Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ /* This file is supposed to be used on platforms where is incomplete. It is intended to provide definitions and prototypes needed by an application. Start with what the system provides. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* This file uses #include_next of a system file that defines time_t. For the 'year2038' module to work right, needs to have been included before. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if defined __need_system_sys_stat_h /* Special invocation convention. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_STAT_H /* Get nlink_t. May also define off_t to a 64-bit type on native Windows. */ #include /* Get struct timespec. */ #include /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ #ifndef _@GUARD_PREFIX@_SYS_STAT_H #define _@GUARD_PREFIX@_SYS_STAT_H /* This file uses _GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_NOTHROW, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 2) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__ # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Before doing "#define mknod rpl_mknod" below, we need to include all headers that may declare mknod(). OS/2 kLIBC declares mknod() in , not in . */ #ifdef __KLIBC__ # include #endif /* Before doing "#define mkdir rpl_mkdir" below, we need to include all headers that may declare mkdir(). Native Windows platforms declare mkdir in and/or , not in . */ #if defined _WIN32 && ! defined __CYGWIN__ # include /* mingw32, mingw64 */ # include /* mingw64, MSVC 9 */ #endif /* Native Windows platforms declare umask() in . */ #if 0 && (defined _WIN32 && ! defined __CYGWIN__) # include #endif /* Large File Support on native Windows. */ #if @WINDOWS_64_BIT_ST_SIZE@ # define stat _stati64 #endif /* Optionally, override 'struct stat' on native Windows. */ #if @GNULIB_OVERRIDES_STRUCT_STAT@ # undef stat # if @GNULIB_STAT@ # define stat rpl_stat # else # if !GNULIB_STAT /* Provoke a clear link error if stat() is used as a function and module 'stat' is not in use. */ # define stat stat_used_without_requesting_gnulib_module_stat # endif # endif # if !GNULIB_defined_struct_stat struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; # if 0 uid_t st_uid; # else /* uid_t is not defined by default on native Windows. */ short st_uid; # endif # if 0 gid_t st_gid; # else /* gid_t is not defined by default on native Windows. */ short st_gid; # endif dev_t st_rdev; off_t st_size; # if 0 blksize_t st_blksize; blkcnt_t st_blocks; # endif # if @WINDOWS_STAT_TIMESPEC@ struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # else time_t st_atime; time_t st_mtime; time_t st_ctime; # endif }; # if @WINDOWS_STAT_TIMESPEC@ # define st_atime st_atim.tv_sec # define st_mtime st_mtim.tv_sec # define st_ctime st_ctim.tv_sec /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_STAT_TIMESPEC 1 # endif # define GNULIB_defined_struct_stat 1 # endif /* Other possible values of st_mode. */ # if 0 # define _S_IFBLK 0x6000 # endif # if 0 # define _S_IFLNK 0xA000 # endif # if 0 # define _S_IFSOCK 0xC000 # endif #endif #ifndef S_IFIFO # ifdef _S_IFIFO # define S_IFIFO _S_IFIFO # endif #endif #ifndef S_IFMT # define S_IFMT 0170000 #endif #if STAT_MACROS_BROKEN # undef S_ISBLK # undef S_ISCHR # undef S_ISDIR # undef S_ISFIFO # undef S_ISLNK # undef S_ISNAM # undef S_ISMPB # undef S_ISMPC # undef S_ISNWK # undef S_ISREG # undef S_ISSOCK #endif #ifndef S_ISBLK # ifdef S_IFBLK # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) # else # define S_ISBLK(m) 0 # endif #endif #ifndef S_ISCHR # ifdef S_IFCHR # define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) # else # define S_ISCHR(m) 0 # endif #endif #ifndef S_ISDIR # ifdef S_IFDIR # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) # else # define S_ISDIR(m) 0 # endif #endif #ifndef S_ISDOOR /* Solaris 2.5 and up */ # define S_ISDOOR(m) 0 #endif #ifndef S_ISFIFO # ifdef S_IFIFO # define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) # else # define S_ISFIFO(m) 0 # endif #endif #ifndef S_ISLNK # ifdef S_IFLNK # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) # else # define S_ISLNK(m) 0 # endif #endif #ifndef S_ISMPB /* V7 */ # ifdef S_IFMPB # define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) # define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) # else # define S_ISMPB(m) 0 # define S_ISMPC(m) 0 # endif #endif #ifndef S_ISMPX /* AIX */ # define S_ISMPX(m) 0 #endif #ifndef S_ISNAM /* Xenix */ # ifdef S_IFNAM # define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) # else # define S_ISNAM(m) 0 # endif #endif #ifndef S_ISNWK /* HP/UX */ # ifdef S_IFNWK # define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) # else # define S_ISNWK(m) 0 # endif #endif #ifndef S_ISPORT /* Solaris 10 and up */ # define S_ISPORT(m) 0 #endif #ifndef S_ISREG # ifdef S_IFREG # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) # else # define S_ISREG(m) 0 # endif #endif #ifndef S_ISSOCK # ifdef S_IFSOCK # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) # else # define S_ISSOCK(m) 0 # endif #endif #ifndef S_TYPEISMQ # define S_TYPEISMQ(p) 0 #endif #ifndef S_TYPEISTMO # define S_TYPEISTMO(p) 0 #endif #ifndef S_TYPEISSEM # ifdef S_INSEM # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) # else # define S_TYPEISSEM(p) 0 # endif #endif #ifndef S_TYPEISSHM # ifdef S_INSHD # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD) # else # define S_TYPEISSHM(p) 0 # endif #endif /* high performance ("contiguous data") */ #ifndef S_ISCTG # define S_ISCTG(p) 0 #endif /* Cray DMF (data migration facility): off line, with data */ #ifndef S_ISOFD # define S_ISOFD(p) 0 #endif /* Cray DMF (data migration facility): off line, with no data */ #ifndef S_ISOFL # define S_ISOFL(p) 0 #endif /* 4.4BSD whiteout */ #ifndef S_ISWHT # define S_ISWHT(m) 0 #endif /* If any of the following are undefined, define them to their de facto standard values. */ #if !S_ISUID # define S_ISUID 04000 #endif #if !S_ISGID # define S_ISGID 02000 #endif /* S_ISVTX is a common extension to POSIX. */ #ifndef S_ISVTX # define S_ISVTX 01000 #endif #if !S_IRUSR && S_IREAD # define S_IRUSR S_IREAD #endif #if !S_IRUSR # define S_IRUSR 00400 #endif #if !S_IRGRP # define S_IRGRP (S_IRUSR >> 3) #endif #if !S_IROTH # define S_IROTH (S_IRUSR >> 6) #endif #if !S_IWUSR && S_IWRITE # define S_IWUSR S_IWRITE #endif #if !S_IWUSR # define S_IWUSR 00200 #endif #if !S_IWGRP # define S_IWGRP (S_IWUSR >> 3) #endif #if !S_IWOTH # define S_IWOTH (S_IWUSR >> 6) #endif #if !S_IXUSR && S_IEXEC # define S_IXUSR S_IEXEC #endif #if !S_IXUSR # define S_IXUSR 00100 #endif #if !S_IXGRP # define S_IXGRP (S_IXUSR >> 3) #endif #if !S_IXOTH # define S_IXOTH (S_IXUSR >> 6) #endif #if !S_IRWXU # define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) #endif #if !S_IRWXG # define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) #endif #if !S_IRWXO # define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) #endif /* Although S_IXUGO and S_IRWXUGO are not specified by POSIX and are not implemented in GNU/Linux, some Gnulib-using apps use the macros. */ #if !S_IXUGO # define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) #endif #ifndef S_IRWXUGO # define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) #endif /* Macros for futimens and utimensat. */ #ifndef UTIME_NOW # define UTIME_NOW (-1) # define UTIME_OMIT (-2) #endif #if @GNULIB_CHMOD@ # if @REPLACE_CHMOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef chmod # define chmod rpl_chmod # endif _GL_FUNCDECL_RPL (chmod, int, (const char *filename, mode_t mode), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (chmod, int, (const char *filename, mode_t mode)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef chmod # define chmod _chmod # endif /* Need to cast, because in mingw the last argument is 'int mode'. */ _GL_CXXALIAS_MDA_CAST (chmod, int, (const char *filename, mode_t mode)); # else _GL_CXXALIAS_SYS (chmod, int, (const char *filename, mode_t mode)); # endif _GL_CXXALIASWARN (chmod); #elif defined GNULIB_POSIXCHECK # undef chmod # if HAVE_RAW_DECL_CHMOD _GL_WARN_ON_USE (chmod, "chmod has portability problems - " "use gnulib module chmod for portability"); # endif #elif @GNULIB_MDA_CHMOD@ /* On native Windows, map 'chmod' to '_chmod', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::chmod always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef chmod # define chmod _chmod # endif /* Need to cast, because in mingw the last argument is 'int mode'. */ _GL_CXXALIAS_MDA_CAST (chmod, int, (const char *filename, mode_t mode)); # else _GL_CXXALIAS_SYS (chmod, int, (const char *filename, mode_t mode)); # endif _GL_CXXALIASWARN (chmod); #endif #if @GNULIB_FCHMODAT@ # if @REPLACE_FCHMODAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fchmodat # define fchmodat rpl_fchmodat # endif _GL_FUNCDECL_RPL (fchmodat, int, (int fd, char const *file, mode_t mode, int flag), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fchmodat, int, (int fd, char const *file, mode_t mode, int flag)); # else # if !@HAVE_FCHMODAT@ _GL_FUNCDECL_SYS (fchmodat, int, (int fd, char const *file, mode_t mode, int flag), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (fchmodat, int, (int fd, char const *file, mode_t mode, int flag)); # endif _GL_CXXALIASWARN (fchmodat); #elif defined GNULIB_POSIXCHECK # undef fchmodat # if HAVE_RAW_DECL_FCHMODAT _GL_WARN_ON_USE (fchmodat, "fchmodat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FSTAT@ # if @REPLACE_FSTAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fstat # define fstat rpl_fstat # endif _GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); # else _GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fstat); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # if !GNULIB_FSTAT # undef fstat # define fstat fstat_used_without_requesting_gnulib_module_fstat # endif #elif @WINDOWS_64_BIT_ST_SIZE@ /* Above, we define stat to _stati64. */ # define fstat _fstati64 #elif defined GNULIB_POSIXCHECK # undef fstat # if HAVE_RAW_DECL_FSTAT _GL_WARN_ON_USE (fstat, "fstat has portability problems - " "use gnulib module fstat for portability"); # endif #endif #if @GNULIB_FSTATAT@ # if @REPLACE_FSTATAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fstatat # define fstatat rpl_fstatat # endif _GL_FUNCDECL_RPL (fstatat, int, (int fd, char const *restrict name, struct stat *restrict st, int flags), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (fstatat, int, (int fd, char const *restrict name, struct stat *restrict st, int flags)); # else # if !@HAVE_FSTATAT@ _GL_FUNCDECL_SYS (fstatat, int, (int fd, char const *restrict name, struct stat *restrict st, int flags), _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (fstatat, int, (int fd, char const *restrict name, struct stat *restrict st, int flags)); # endif _GL_CXXALIASWARN (fstatat); #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # if !GNULIB_FSTATAT # undef fstatat # define fstatat fstatat_used_without_requesting_gnulib_module_fstatat # endif #elif defined GNULIB_POSIXCHECK # undef fstatat # if HAVE_RAW_DECL_FSTATAT _GL_WARN_ON_USE (fstatat, "fstatat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_FUTIMENS@ /* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our futimens implementation relies on futimesat, which on Solaris 10 makes an invocation to futimens that is meant to invoke the libc's futimens(), not gnulib's futimens(). */ # if @REPLACE_FUTIMENS@ || (!@HAVE_FUTIMENS@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef futimens # define futimens rpl_futimens # endif _GL_FUNCDECL_RPL (futimens, int, (int fd, struct timespec const times[2]), ); _GL_CXXALIAS_RPL (futimens, int, (int fd, struct timespec const times[2])); # else # if !@HAVE_FUTIMENS@ _GL_FUNCDECL_SYS (futimens, int, (int fd, struct timespec const times[2]), ); # endif _GL_CXXALIAS_SYS (futimens, int, (int fd, struct timespec const times[2])); # endif # if __GLIBC__ >= 2 && @HAVE_FUTIMENS@ _GL_CXXALIASWARN (futimens); # endif #elif defined GNULIB_POSIXCHECK # undef futimens # if HAVE_RAW_DECL_FUTIMENS _GL_WARN_ON_USE (futimens, "futimens is not portable - " "use gnulib module futimens for portability"); # endif #endif #if @GNULIB_GETUMASK@ # if !@HAVE_GETUMASK@ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (getumask, mode_t, (void), ) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (getumask, mode_t, (void), ); # endif # endif _GL_CXXALIAS_SYS (getumask, mode_t, (void)); # if @HAVE_GETUMASK@ _GL_CXXALIASWARN (getumask); # endif #elif defined GNULIB_POSIXCHECK # undef getumask # if HAVE_RAW_DECL_GETUMASK _GL_WARN_ON_USE (getumask, "getumask is not portable - " "use gnulib module getumask for portability"); # endif #endif #if @GNULIB_LCHMOD@ /* Change the mode of FILENAME to MODE, without dereferencing it if FILENAME denotes a symbolic link. */ # if !@HAVE_LCHMOD@ || defined __hpux _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode)); _GL_CXXALIASWARN (lchmod); #elif defined GNULIB_POSIXCHECK # undef lchmod # if HAVE_RAW_DECL_LCHMOD _GL_WARN_ON_USE (lchmod, "lchmod is unportable - " "use gnulib module lchmod for portability"); # endif #endif #if @GNULIB_MKDIR@ # if @REPLACE_MKDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkdir # define mkdir rpl_mkdir # endif _GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); # elif defined _WIN32 && !defined __CYGWIN__ /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. Additionally, it declares _mkdir (and depending on compile flags, an alias mkdir), only in the nonstandard includes and , which are included above. */ # if !GNULIB_defined_rpl_mkdir static int rpl_mkdir (char const *name, mode_t mode) { return _mkdir (name); } # define GNULIB_defined_rpl_mkdir 1 # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkdir # define mkdir rpl_mkdir # endif _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); # else _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); # endif _GL_CXXALIASWARN (mkdir); #elif @GNULIB_MDA_MKDIR@ /* On native Windows, map 'mkdir' to '_mkdir', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::mkdir always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !GNULIB_defined_rpl_mkdir static int rpl_mkdir (char const *name, mode_t mode) { return _mkdir (name); } # define GNULIB_defined_rpl_mkdir 1 # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkdir # define mkdir rpl_mkdir # endif _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); # else _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); # endif _GL_CXXALIASWARN (mkdir); #elif defined GNULIB_POSIXCHECK # undef mkdir # if HAVE_RAW_DECL_MKDIR _GL_WARN_ON_USE (mkdir, "mkdir does not always support two parameters - " "use gnulib module mkdir for portability"); # endif #endif #if @GNULIB_MKDIRAT@ # if !@HAVE_MKDIRAT@ _GL_FUNCDECL_SYS (mkdirat, int, (int fd, char const *file, mode_t mode), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mkdirat, int, (int fd, char const *file, mode_t mode)); _GL_CXXALIASWARN (mkdirat); #elif defined GNULIB_POSIXCHECK # undef mkdirat # if HAVE_RAW_DECL_MKDIRAT _GL_WARN_ON_USE (mkdirat, "mkdirat is not portable - " "use gnulib module openat for portability"); # endif #endif #if @GNULIB_MKFIFO@ # if @REPLACE_MKFIFO@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkfifo # define mkfifo rpl_mkfifo # endif _GL_FUNCDECL_RPL (mkfifo, int, (char const *file, mode_t mode), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mkfifo, int, (char const *file, mode_t mode)); # else # if !@HAVE_MKFIFO@ _GL_FUNCDECL_SYS (mkfifo, int, (char const *file, mode_t mode), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (mkfifo, int, (char const *file, mode_t mode)); # endif _GL_CXXALIASWARN (mkfifo); #elif defined GNULIB_POSIXCHECK # undef mkfifo # if HAVE_RAW_DECL_MKFIFO _GL_WARN_ON_USE (mkfifo, "mkfifo is not portable - " "use gnulib module mkfifo for portability"); # endif #endif #if @GNULIB_MKFIFOAT@ # if @REPLACE_MKFIFOAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mkfifoat # define mkfifoat rpl_mkfifoat # endif _GL_FUNCDECL_RPL (mkfifoat, int, (int fd, char const *file, mode_t mode), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mkfifoat, int, (int fd, char const *file, mode_t mode)); # else # if !@HAVE_MKFIFOAT@ _GL_FUNCDECL_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mkfifoat); # endif #elif defined GNULIB_POSIXCHECK # undef mkfifoat # if HAVE_RAW_DECL_MKFIFOAT _GL_WARN_ON_USE (mkfifoat, "mkfifoat is not portable - " "use gnulib module mkfifoat for portability"); # endif #endif #if @GNULIB_MKNOD@ # if @REPLACE_MKNOD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mknod # define mknod rpl_mknod # endif _GL_FUNCDECL_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev)); # else # if !@HAVE_MKNOD@ _GL_FUNCDECL_SYS (mknod, int, (char const *file, mode_t mode, dev_t dev), _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on OSF/1 5.1, the third parameter is '...'. */ _GL_CXXALIAS_SYS_CAST (mknod, int, (char const *file, mode_t mode, dev_t dev)); # endif _GL_CXXALIASWARN (mknod); #elif defined GNULIB_POSIXCHECK # undef mknod # if HAVE_RAW_DECL_MKNOD _GL_WARN_ON_USE (mknod, "mknod is not portable - " "use gnulib module mknod for portability"); # endif #endif #if @GNULIB_MKNODAT@ # if @REPLACE_MKNODAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mknodat # define mknodat rpl_mknodat # endif _GL_FUNCDECL_RPL (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev)); # else # if !@HAVE_MKNODAT@ _GL_FUNCDECL_SYS (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mknodat, int, (int fd, char const *file, mode_t mode, dev_t dev)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mknodat); # endif #elif defined GNULIB_POSIXCHECK # undef mknodat # if HAVE_RAW_DECL_MKNODAT _GL_WARN_ON_USE (mknodat, "mknodat is not portable - " "use gnulib module mkfifoat for portability"); # endif #endif #if @GNULIB_STAT@ # if @REPLACE_STAT@ # if !@GNULIB_OVERRIDES_STRUCT_STAT@ /* We can't use the object-like #define stat rpl_stat, because of struct stat. This means that rpl_stat will not be used if the user does (stat)(a,b). Oh well. */ # if defined _AIX && defined stat && defined _LARGE_FILES /* With _LARGE_FILES defined, AIX (only) defines stat to stat64, so we have to replace stat64() instead of stat(). */ # undef stat64 # define stat64(name, st) rpl_stat (name, st) # elif @WINDOWS_64_BIT_ST_SIZE@ /* Above, we define stat to _stati64. */ # if defined __MINGW32__ && defined _stati64 # ifndef _USE_32BIT_TIME_T /* The system headers define _stati64 to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # elif defined _MSC_VER && defined _stati64 # ifdef _USE_32BIT_TIME_T /* The system headers define _stati64 to _stat32i64. */ # undef _stat32i64 # define _stat32i64(name, st) rpl_stat (name, st) # else /* The system headers define _stati64 to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # else # undef _stati64 # define _stati64(name, st) rpl_stat (name, st) # endif # elif defined __MINGW32__ && defined stat # ifdef _USE_32BIT_TIME_T /* The system headers define stat to _stat32i64. */ # undef _stat32i64 # define _stat32i64(name, st) rpl_stat (name, st) # else /* The system headers define stat to _stat64. */ # undef _stat64 # define _stat64(name, st) rpl_stat (name, st) # endif # elif defined _MSC_VER && defined stat # ifdef _USE_32BIT_TIME_T /* The system headers define stat to _stat32. */ # undef _stat32 # define _stat32(name, st) rpl_stat (name, st) # else /* The system headers define stat to _stat64i32. */ # undef _stat64i32 # define _stat64i32(name, st) rpl_stat (name, st) # endif # else /* !(_AIX || __MINGW32__ || _MSC_VER) */ # undef stat # define stat(name, st) rpl_stat (name, st) # endif /* !_LARGE_FILES */ # endif /* !@GNULIB_OVERRIDES_STRUCT_STAT@ */ _GL_EXTERN_C int stat (const char *restrict name, struct stat *restrict buf) _GL_ARG_NONNULL ((1, 2)); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ /* see above: #define stat stat_used_without_requesting_gnulib_module_stat */ #elif defined GNULIB_POSIXCHECK # undef stat # if HAVE_RAW_DECL_STAT _GL_WARN_ON_USE (stat, "stat is unportable - " "use gnulib module stat for portability"); # endif #endif #if @GNULIB_LSTAT@ # if ! @HAVE_LSTAT@ /* mingw does not support symlinks, therefore it does not have lstat. But without links, stat does just fine. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lstat stat # endif _GL_CXXALIAS_RPL_1 (lstat, stat, int, (const char *restrict name, struct stat *restrict buf)); # elif @REPLACE_LSTAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lstat # define lstat rpl_lstat # endif _GL_FUNCDECL_RPL (lstat, int, (const char *restrict name, struct stat *restrict buf), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (lstat, int, (const char *restrict name, struct stat *restrict buf)); # else _GL_CXXALIAS_SYS (lstat, int, (const char *restrict name, struct stat *restrict buf)); # endif # if @HAVE_LSTAT@ _GL_CXXALIASWARN (lstat); # endif #elif @GNULIB_OVERRIDES_STRUCT_STAT@ # if !GNULIB_LSTAT # undef lstat # define lstat lstat_used_without_requesting_gnulib_module_lstat # endif #elif defined GNULIB_POSIXCHECK # undef lstat # if HAVE_RAW_DECL_LSTAT _GL_WARN_ON_USE (lstat, "lstat is unportable - " "use gnulib module lstat for portability"); # endif #endif #if @GNULIB_MDA_UMASK@ /* On native Windows, map 'umask' to '_umask', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::umask always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef umask # define umask _umask # endif /* Need to cast, because in mingw the last argument is 'int mode'. */ _GL_CXXALIAS_MDA_CAST (umask, mode_t, (mode_t mask)); # else _GL_CXXALIAS_SYS (umask, mode_t, (mode_t mask)); # endif _GL_CXXALIASWARN (umask); #endif #if @GNULIB_UTIMENSAT@ /* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our utimensat implementation relies on futimesat, which on Solaris 10 makes an invocation to utimensat that is meant to invoke the libc's utimensat(), not gnulib's utimensat(). */ # if @REPLACE_UTIMENSAT@ || (!@HAVE_UTIMENSAT@ && defined __sun) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef utimensat # define utimensat rpl_utimensat # endif _GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag)); # else # if !@HAVE_UTIMENSAT@ _GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name, struct timespec const times[2], int flag)); # endif # if __GLIBC__ >= 2 && @HAVE_UTIMENSAT@ _GL_CXXALIASWARN (utimensat); # endif #elif defined GNULIB_POSIXCHECK # undef utimensat # if HAVE_RAW_DECL_UTIMENSAT _GL_WARN_ON_USE (utimensat, "utimensat is not portable - " "use gnulib module utimensat for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_STAT_H */ #endif /* _@GUARD_PREFIX@_SYS_STAT_H */ #endif datamash-1.9/lib/sys_types.in.h0000644000000000000000000000765214767402206012204 /* Provide a more complete sys/types.h. Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* This file uses #include_next of a system file that defines time_t. For the 'year2038' module to work right, needs to have been included before. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if defined _WIN32 && !defined __CYGWIN__ \ && (defined __need_off_t || defined __need___off64_t \ || defined __need_ssize_t || defined __need_time_t) /* Special invocation convention inside mingw header files. */ #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_SYS_TYPES_H /* The include_next requires a split double-inclusion guard. */ # define _GL_INCLUDING_SYS_TYPES_H #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ # undef _GL_INCLUDING_SYS_TYPES_H #ifndef _@GUARD_PREFIX@_SYS_TYPES_H #define _@GUARD_PREFIX@_SYS_TYPES_H /* Override off_t if Large File Support is requested on native Windows. */ #if @WINDOWS_64_BIT_OFF_T@ /* Same as int64_t in . */ # if defined _MSC_VER # define off_t __int64 # else # define off_t long long int # endif /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_64_BIT_OFF_T 1 #endif /* Define the off64_t type. */ #if !@HAVE_OFF64_T@ # if !GNULIB_defined_off64_t /* Define off64_t to int64_t always. */ typedef long long off64_t; # define GNULIB_defined_off64_t 1 # endif #endif /* Override dev_t and ino_t if distinguishable inodes support is requested on native Windows. */ #if @WINDOWS_STAT_INODES@ # if @WINDOWS_STAT_INODES@ == 2 /* Experimental, not useful in Windows 10. */ /* Define dev_t to a 64-bit type. */ # if !defined GNULIB_defined_dev_t typedef unsigned long long int rpl_dev_t; # undef dev_t # define dev_t rpl_dev_t # define GNULIB_defined_dev_t 1 # endif /* Define ino_t to a 128-bit type. */ # if !defined GNULIB_defined_ino_t /* MSVC does not have a 128-bit integer type. GCC has a 128-bit integer type __int128, but only on 64-bit targets. */ typedef struct { unsigned long long int _gl_ino[2]; } rpl_ino_t; # undef ino_t # define ino_t rpl_ino_t # define GNULIB_defined_ino_t 1 # endif # else /* @WINDOWS_STAT_INODES@ == 1 */ /* Define ino_t to a 64-bit type. */ # if !defined GNULIB_defined_ino_t typedef unsigned long long int rpl_ino_t; # undef ino_t # define ino_t rpl_ino_t # define GNULIB_defined_ino_t 1 # endif # endif /* Indicator, for gnulib internal purposes. */ # define _GL_WINDOWS_STAT_INODES @WINDOWS_STAT_INODES@ #endif /* MSVC 9 defines size_t in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (defined _WIN32 && ! defined __CYGWIN__) && ! defined __GLIBC__ # include #endif /* Define blksize_t, required by POSIX:2024. */ #if !@HAVE_BLKSIZE_T@ # if !defined GNULIB_defined_blksize_t typedef int blksize_t; # define GNULIB_defined_blksize_t 1 # endif #endif /* Define blkcnt_t, required by POSIX:2024. */ #if !@HAVE_BLKCNT_T@ # if !defined GNULIB_defined_blkcnt_t typedef long long blkcnt_t; # define GNULIB_defined_blkcnt_t 1 # endif #endif #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ #endif /* __need_XXX */ datamash-1.9/lib/sys_uio.in.h0000644000000000000000000000323614767401140011622 /* Substitute for . Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ # if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ # endif @PRAGMA_COLUMNS@ #ifndef _@GUARD_PREFIX@_SYS_UIO_H #if @HAVE_SYS_UIO_H@ /* On OpenBSD 4.4, assumes prior inclusion of . */ # include /* The include_next requires a split double-inclusion guard. */ # @INCLUDE_NEXT@ @NEXT_SYS_UIO_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_UIO_H #define _@GUARD_PREFIX@_SYS_UIO_H #if !@HAVE_SYS_UIO_H@ /* A platform that lacks . */ /* Get 'size_t' and 'ssize_t'. */ # include # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_iovec /* All known platforms that lack also lack any declaration of struct iovec in any other header. */ struct iovec { void *iov_base; size_t iov_len; }; # define GNULIB_defined_struct_iovec 1 # endif # ifdef __cplusplus } # endif #endif #endif /* _@GUARD_PREFIX@_SYS_UIO_H */ #endif /* _@GUARD_PREFIX@_SYS_UIO_H */ datamash-1.9/lib/sys_wait.in.h0000644000000000000000000000775614767402206012011 /* A POSIX-like . Copyright (C) 2001-2003, 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_SYS_WAIT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if !(defined _WIN32 && ! defined __CYGWIN__) # @INCLUDE_NEXT@ @NEXT_SYS_WAIT_H@ #endif #ifndef _@GUARD_PREFIX@_SYS_WAIT_H #define _@GUARD_PREFIX@_SYS_WAIT_H /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get pid_t. */ #include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ #if !(defined _WIN32 && ! defined __CYGWIN__) /* Unix API. */ /* The following macros apply to an argument x, that is a status of a process, as returned by waitpid(). On nearly all systems, including Linux/x86, WEXITSTATUS are bits 15..8 and WTERMSIG are bits 7..0, while BeOS uses the opposite. Therefore programs have to use the abstract macros. */ /* For valid x, exactly one of WIFSIGNALED(x), WIFEXITED(x), WIFSTOPPED(x) is true. */ # ifndef WIFSIGNALED # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f) # endif # ifndef WIFEXITED # define WIFEXITED(x) (WTERMSIG (x) == 0) # endif # ifndef WIFSTOPPED # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f) # endif /* The termination signal. Only to be accessed if WIFSIGNALED(x) is true. */ # ifndef WTERMSIG # define WTERMSIG(x) ((x) & 0x7f) # endif /* The exit status. Only to be accessed if WIFEXITED(x) is true. */ # ifndef WEXITSTATUS # define WEXITSTATUS(x) (((x) >> 8) & 0xff) # endif /* The stopping signal. Only to be accessed if WIFSTOPPED(x) is true. */ # ifndef WSTOPSIG # define WSTOPSIG(x) (((x) >> 8) & 0x7f) # endif /* True if the process dumped core. */ # ifndef WCOREDUMP # define WCOREDUMP(x) ((x) & 0x80) # endif #else /* Native Windows API. */ # include /* for SIGTERM */ /* The following macros apply to an argument x, that is a status of a process, as returned by waitpid() or, equivalently, _cwait() or GetExitCodeProcess(). This value is simply an 'int', not composed of bit fields. */ /* When an unhandled fatal signal terminates a process, the exit code is 3. */ # define WIFSIGNALED(x) ((x) == 3) # define WIFEXITED(x) ((x) != 3) # define WIFSTOPPED(x) 0 /* The signal that terminated a process is not known posthum. */ # define WTERMSIG(x) SIGTERM # define WEXITSTATUS(x) (x) /* There are no stopping signals. */ # define WSTOPSIG(x) 0 /* There are no core dumps. */ # define WCOREDUMP(x) 0 #endif /* Declarations of functions. */ #if @GNULIB_WAITPID@ # if defined _WIN32 && ! defined __CYGWIN__ _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options), ); # endif /* Need to cast, because on Cygwin, the second parameter is __wait_status_ptr_t statusp. */ _GL_CXXALIAS_SYS_CAST (waitpid, pid_t, (pid_t pid, int *statusp, int options)); _GL_CXXALIASWARN (waitpid); #elif defined GNULIB_POSIXCHECK # undef waitpid # if HAVE_RAW_DECL_WAITPID _GL_WARN_ON_USE (waitpid, "waitpid is unportable - " "use gnulib module sys_wait for portability"); # endif #endif #endif /* _@GUARD_PREFIX@_SYS_WAIT_H */ #endif /* _@GUARD_PREFIX@_SYS_WAIT_H */ datamash-1.9/lib/thread-optim.h0000644000000000000000000000444114767401140012117 /* Optimization of multithreaded code. Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2020. */ #ifndef _THREAD_OPTIM_H #define _THREAD_OPTIM_H /* This file defines a way to optimize multithreaded code for the single-thread case, based on the variable '__libc_single_threaded', defined in glibc >= 2.32. */ /* Typical use: In a block or function, use bool mt = gl_multithreaded (); ... if (mt) if (pthread_mutex_lock (&lock)) abort (); ... if (mt) if (pthread_mutex_unlock (&lock)) abort (); The gl_multithreaded () invocation determines whether the program currently is multithreaded. if (mt) STATEMENT executes STATEMENT in the multithreaded case, and skips it in the single-threaded case. The code between the gl_multithreaded () invocation and any use of the variable 'mt' must not create threads or invoke functions that may indirectly create threads (e.g. 'dlopen' may, indirectly through C++ initializers of global variables in the shared library being opened, create threads). The lock here is meant to synchronize threads in the same process. The same optimization cannot be applied to locks that synchronize different processes (e.g. through shared memory mappings). */ /* This file uses HAVE_SYS_SINGLE_THREADED_H. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if HAVE_SYS_SINGLE_THREADED_H /* glibc >= 2.32 */ # include # define gl_multithreaded() (!__libc_single_threaded) #else # define gl_multithreaded() 1 #endif #endif /* _THREAD_OPTIM_H */ datamash-1.9/lib/time.in.h0000644000000000000000000005511314767402206011073 /* A more-standard . Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* This file uses #include_next of a system file that defines time_t. For the 'year2038' module to work right, needs to have been included before. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Don't get in the way of glibc when it includes time.h merely to declare a few standard symbols, rather than to declare all the symbols. (However, skip this for MinGW as it treats __need_time_t incompatibly.) Also, Solaris 8 eventually includes itself recursively; if that is happening, just include the system without adding our own declarations. */ #if (((defined __need_time_t || defined __need_clock_t \ || defined __need_timespec) \ && !defined __MINGW32__) \ || defined _@GUARD_PREFIX@_TIME_H) # @INCLUDE_NEXT@ @NEXT_TIME_H@ #else # define _@GUARD_PREFIX@_TIME_H /* mingw's provides the functions asctime_r, ctime_r, gmtime_r, localtime_r only if or has been included before. */ # if defined __MINGW32__ # include # endif # @INCLUDE_NEXT@ @NEXT_TIME_H@ /* This file uses _GL_ATTRIBUTE_DEPRECATED, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif /* NetBSD 5.0 mis-defines NULL. */ # include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Some systems don't define struct timespec (e.g., AIX 4.1). Or they define it with the wrong member names or define it in (e.g., FreeBSD circa 1997). Stock Mingw prior to 3.0 does not define it, but the pthreads-win32 library defines it in . */ # if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@ # if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ # include # elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ # include # elif @UNISTD_H_DEFINES_STRUCT_TIMESPEC@ # include # else # ifdef __cplusplus extern "C" { # endif # if !GNULIB_defined_struct_timespec # undef timespec # define timespec rpl_timespec struct timespec { time_t tv_sec; long int tv_nsec; }; # define GNULIB_defined_struct_timespec 1 # endif # ifdef __cplusplus } # endif # endif # endif # if !GNULIB_defined_struct_time_t_must_be_integral /* https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html requires time_t to be an integer type, even though C99 permits floating point. We don't know of any implementation that uses floating point, and it is much easier to write code that doesn't have to worry about that corner case, so we force the issue. */ struct __time_t_must_be_integral { unsigned int __floating_time_t_unsupported : (time_t) 1; }; # define GNULIB_defined_struct_time_t_must_be_integral 1 # endif /* Define TIME_UTC, a positive integer constant used for timespec_get(). */ # if ! @TIME_H_DEFINES_TIME_UTC@ # if !GNULIB_defined_TIME_UTC # define TIME_UTC 1 # define GNULIB_defined_TIME_UTC 1 # endif # endif # if @GNULIB_TZNAME@ /* tzname[0..1]: Abbreviated time zone names, set by the tzset() function. */ # if NEED_DECL_TZNAME extern # ifdef __cplusplus "C" # endif char *tzname[]; # endif # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, map 'tzname' to '_tzname' etc., so that -loldnames is not required. */ # undef tzname # define tzname _tzname # endif # endif /* Set *TS to the current time, and return BASE. Upon failure, return 0. */ # if @GNULIB_TIMESPEC_GET@ # if @REPLACE_TIMESPEC_GET@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef timespec_get # define timespec_get rpl_timespec_get # endif _GL_FUNCDECL_RPL (timespec_get, int, (struct timespec *ts, int base), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (timespec_get, int, (struct timespec *ts, int base)); # else # if !@HAVE_TIMESPEC_GET@ _GL_FUNCDECL_SYS (timespec_get, int, (struct timespec *ts, int base), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (timespec_get, int, (struct timespec *ts, int base)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (timespec_get); # endif # elif defined GNULIB_POSIXCHECK # undef timespec_get # if HAVE_RAW_DECL_TIMESPEC_GET _GL_WARN_ON_USE (timespec_get, "timespec_get is unportable - " "use gnulib module timespec_get for portability"); # endif # endif /* Set *TS to the current time resolution, and return BASE. Upon failure, return 0. */ # if @GNULIB_TIMESPEC_GETRES@ # if @REPLACE_TIMESPEC_GETRES@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef timespec_getres # define timespec_getres rpl_timespec_getres # endif _GL_FUNCDECL_RPL (timespec_getres, int, (struct timespec *ts, int base), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (timespec_getres, int, (struct timespec *ts, int base)); # else # if !@HAVE_TIMESPEC_GETRES@ _GL_FUNCDECL_SYS (timespec_getres, int, (struct timespec *ts, int base), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (timespec_getres, int, (struct timespec *ts, int base)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (timespec_getres); # endif # elif defined GNULIB_POSIXCHECK # undef timespec_getres # if HAVE_RAW_DECL_TIMESPEC_GETRES _GL_WARN_ON_USE (timespec_getres, "timespec_getres is unportable - " "use gnulib module timespec_getres for portability"); # endif # endif /* Return the number of seconds that have elapsed since the Epoch. */ # if @GNULIB_TIME@ # if @REPLACE_TIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define time rpl_time # endif _GL_FUNCDECL_RPL (time, time_t, (time_t *__tp), ); _GL_CXXALIAS_RPL (time, time_t, (time_t *__tp)); # else _GL_CXXALIAS_SYS (time, time_t, (time_t *__tp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (time); # endif # elif defined GNULIB_POSIXCHECK # undef time # if HAVE_RAW_DECL_TIME _GL_WARN_ON_USE (time, "time has consistency problems - " "use gnulib module time for portability"); # endif # endif /* Sleep for at least RQTP seconds unless interrupted, If interrupted, return -1 and store the remaining time into RMTP. See . */ # if @GNULIB_NANOSLEEP@ # if @REPLACE_NANOSLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define nanosleep rpl_nanosleep # endif _GL_FUNCDECL_RPL (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp)); # else # if ! @HAVE_NANOSLEEP@ _GL_FUNCDECL_SYS (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (nanosleep, int, (struct timespec const *__rqtp, struct timespec *__rmtp)); # endif _GL_CXXALIASWARN (nanosleep); # elif defined GNULIB_POSIXCHECK # undef nanosleep # if HAVE_RAW_DECL_NANOSLEEP _GL_WARN_ON_USE (nanosleep, "nanosleep is unportable - " "use gnulib module nanosleep for portability"); # endif # endif /* Initialize time conversion information. */ # if @GNULIB_TZSET@ # if @REPLACE_TZSET@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tzset # define tzset rpl_tzset # endif _GL_FUNCDECL_RPL (tzset, void, (void), ); _GL_CXXALIAS_RPL (tzset, void, (void)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tzset # define tzset _tzset # endif _GL_CXXALIAS_MDA (tzset, void, (void)); # else _GL_CXXALIAS_SYS (tzset, void, (void)); # endif _GL_CXXALIASWARN (tzset); # elif @GNULIB_MDA_TZSET@ /* On native Windows, map 'tzset' to '_tzset', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::tzset always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef tzset # define tzset _tzset # endif _GL_CXXALIAS_MDA (tzset, void, (void)); # else _GL_CXXALIAS_SYS (tzset, void, (void)); # endif _GL_CXXALIASWARN (tzset); # elif defined GNULIB_POSIXCHECK # undef tzset # if HAVE_RAW_DECL_TZSET _GL_WARN_ON_USE (tzset, "tzset has portability problems - " "use gnulib module tzset for portability"); # endif # endif /* Return the 'time_t' representation of TP and normalize TP. */ # if @GNULIB_MKTIME@ # if @REPLACE_MKTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define mktime rpl_mktime # endif _GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); # else _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mktime); # endif # elif defined GNULIB_POSIXCHECK # undef mktime # if HAVE_RAW_DECL_MKTIME _GL_WARN_ON_USE (mktime, "mktime has portability problems - " "use gnulib module mktime for portability"); # endif # endif /* Convert TIMER to RESULT, assuming local time and UTC respectively. See and . */ # if @GNULIB_TIME_R@ # if @REPLACE_LOCALTIME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime_r # define localtime_r rpl_localtime_r # endif _GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # else # if ! @HAVE_DECL_LOCALTIME_R@ _GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # endif # if @HAVE_DECL_LOCALTIME_R@ _GL_CXXALIASWARN (localtime_r); # endif # if @REPLACE_LOCALTIME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gmtime_r # define gmtime_r rpl_gmtime_r # endif _GL_FUNCDECL_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # else # if ! @HAVE_DECL_LOCALTIME_R@ _GL_FUNCDECL_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, struct tm *restrict __result)); # endif # if @HAVE_DECL_LOCALTIME_R@ _GL_CXXALIASWARN (gmtime_r); # endif # elif defined GNULIB_POSIXCHECK # undef localtime_r # if HAVE_RAW_DECL_LOCALTIME_R _GL_WARN_ON_USE (localtime_r, "localtime_r is unportable - " "use gnulib module time_r for portability"); # endif # undef gmtime_r # if HAVE_RAW_DECL_GMTIME_R _GL_WARN_ON_USE (gmtime_r, "gmtime_r is unportable - " "use gnulib module time_r for portability"); # endif # endif /* Convert TIMER to RESULT, assuming local time and UTC respectively. See and . */ # if @GNULIB_LOCALTIME@ || @REPLACE_LOCALTIME@ # if @REPLACE_LOCALTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime # define localtime rpl_localtime # endif _GL_FUNCDECL_RPL (localtime, struct tm *, (time_t const *__timer), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (localtime, struct tm *, (time_t const *__timer)); # else _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (localtime); # endif # elif defined GNULIB_POSIXCHECK # undef localtime # if HAVE_RAW_DECL_LOCALTIME _GL_WARN_ON_USE (localtime, "localtime has portability problems - " "use gnulib module localtime for portability"); # endif # endif # if 0 || @REPLACE_GMTIME@ # if @REPLACE_GMTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gmtime # define gmtime rpl_gmtime # endif _GL_FUNCDECL_RPL (gmtime, struct tm *, (time_t const *__timer), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gmtime, struct tm *, (time_t const *__timer)); # else _GL_CXXALIAS_SYS (gmtime, struct tm *, (time_t const *__timer)); # endif _GL_CXXALIASWARN (gmtime); # endif /* Parse BUF as a timestamp, assuming FORMAT specifies its layout, and store the resulting broken-down time into TM. See . */ # if @GNULIB_STRPTIME@ # if ! @HAVE_STRPTIME@ _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, char const *restrict __format, struct tm *restrict __tm), _GL_ARG_NONNULL ((1, 2, 3))); # endif _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, char const *restrict __format, struct tm *restrict __tm)); _GL_CXXALIASWARN (strptime); # elif defined GNULIB_POSIXCHECK # undef strptime # if HAVE_RAW_DECL_STRPTIME _GL_WARN_ON_USE (strptime, "strptime is unportable - " "use gnulib module strptime for portability"); # endif # endif /* Convert *TP to a date and time string. See . */ # if @GNULIB_CTIME@ # if @REPLACE_CTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define ctime rpl_ctime # endif # ifndef __cplusplus _GL_ATTRIBUTE_DEPRECATED # endif _GL_FUNCDECL_RPL (ctime, char *, (time_t const *__tp), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (ctime, char *, (time_t const *__tp)); # else _GL_CXXALIAS_SYS (ctime, char *, (time_t const *__tp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ctime); # endif # elif defined GNULIB_POSIXCHECK /* No need to warn about portability, as a more serious warning is below. */ # endif /* Convert *TP to a date and time string. See . */ # if @GNULIB_STRFTIME@ # if @REPLACE_STRFTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define strftime rpl_strftime # endif _GL_FUNCDECL_RPL (strftime, size_t, (char *restrict __buf, size_t __bufsize, const char *restrict __fmt, const struct tm *restrict __tp), _GL_ARG_NONNULL ((1, 3, 4))); _GL_CXXALIAS_RPL (strftime, size_t, (char *restrict __buf, size_t __bufsize, const char *restrict __fmt, const struct tm *restrict __tp)); # else _GL_CXXALIAS_SYS (strftime, size_t, (char *restrict __buf, size_t __bufsize, const char *restrict __fmt, const struct tm *restrict __tp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (strftime); # endif # elif defined GNULIB_POSIXCHECK # undef strftime # if HAVE_RAW_DECL_STRFTIME _GL_WARN_ON_USE (strftime, "strftime has portability problems - " "use gnulib module strftime-fixes for portability"); # endif # endif # if @GNULIB_TIME_RZ@ /* Functions that use a first-class time zone data type, instead of relying on an implicit global time zone. Inspired by NetBSD. */ /* Represents a time zone. (timezone_t) NULL stands for UTC. */ # if !@HAVE_TZALLOC@ # if !GNULIB_defined_timezone_t # if !@HAVE_TIMEZONE_T@ typedef struct tm_zone *timezone_t; # else typedef struct tm_zone *rpl_timezone_t; # define timezone_t rpl_timezone_t # endif # define GNULIB_defined_timezone_t 1 # endif # endif /* tzalloc (name) Returns a time zone object for the given time zone NAME. This object represents the time zone that other functions would use it the TZ environment variable was set to NAME. If NAME is NULL, the result represents the time zone that other functions would use it the TZ environment variable was unset. May return NULL if NAME is invalid (this is platform dependent) or upon memory allocation failure. */ # if !@HAVE_TZALLOC@ _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name), ); _GL_CXXALIAS_SYS (tzalloc, timezone_t, (char const *__name)); # endif /* tzfree (tz) Frees a time zone object. The argument must have been returned by tzalloc(). */ # if !@HAVE_TZALLOC@ _GL_FUNCDECL_SYS (tzfree, void, (timezone_t __tz), ); _GL_CXXALIAS_SYS (tzfree, void, (timezone_t __tz)); # endif /* localtime_rz (tz, &t, &result) Converts an absolute time T to a broken-down time RESULT, assuming the time zone TZ. This function is like 'localtime_r', but relies on the argument TZ instead of an implicit global time zone. */ # if @REPLACE_LOCALTIME_RZ@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef localtime_rz # define localtime_rz rpl_localtime_rz # endif _GL_FUNCDECL_RPL (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result), _GL_ARG_NONNULL ((2, 3))); _GL_CXXALIAS_RPL (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result)); # else # if !@HAVE_TZALLOC@ _GL_FUNCDECL_SYS (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result), _GL_ARG_NONNULL ((2, 3))); # endif _GL_CXXALIAS_SYS (localtime_rz, struct tm *, (timezone_t __tz, time_t const *restrict __timer, struct tm *restrict __result)); # endif /* mktime_z (tz, &tm) Normalizes the broken-down time TM and converts it to an absolute time, assuming the time zone TZ. Returns the absolute time. This function is like 'mktime', but relies on the argument TZ instead of an implicit global time zone. */ # if @REPLACE_MKTIME_Z@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mktime_z # define mktime_z rpl_mktime_z # endif _GL_FUNCDECL_RPL (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __tm), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __tm)); # else # if !@HAVE_TZALLOC@ _GL_FUNCDECL_SYS (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __tm), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mktime_z, time_t, (timezone_t __tz, struct tm *restrict __tm)); # endif /* Time zone abbreviation strings (returned by 'localtime_rz' or 'mktime_z' in the 'tm_zone' member of 'struct tm') are valid as long as - the 'struct tm' argument is not destroyed or overwritten, and - the 'timezone_t' argument is not freed through tzfree(). */ # endif /* Convert TM to a time_t value, assuming UTC. */ # if @GNULIB_TIMEGM@ # if @REPLACE_TIMEGM@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef timegm # define timegm rpl_timegm # endif _GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm)); # else # if ! @HAVE_TIMEGM@ _GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (timegm); # endif # elif defined GNULIB_POSIXCHECK # undef timegm # if HAVE_RAW_DECL_TIMEGM _GL_WARN_ON_USE (timegm, "timegm is unportable - " "use gnulib module timegm for portability"); # endif # endif /* Encourage applications to avoid unsafe functions that can overrun buffers when given outlandish struct tm values. Portable applications should use strftime (or even sprintf) instead. */ # if defined GNULIB_POSIXCHECK # undef asctime # if HAVE_RAW_DECL_ASCTIME _GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # endif # if defined GNULIB_POSIXCHECK # undef asctime_r # if HAVE_RAW_DECL_ASCTIME_R _GL_WARN_ON_USE (asctime_r, "asctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # endif # if defined GNULIB_POSIXCHECK # undef ctime # if HAVE_RAW_DECL_CTIME _GL_WARN_ON_USE (ctime, "ctime can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # endif # if defined GNULIB_POSIXCHECK # undef ctime_r # if HAVE_RAW_DECL_CTIME_R _GL_WARN_ON_USE (ctime_r, "ctime_r can overrun buffers in some cases - " "better use strftime (or even sprintf) instead"); # endif # endif #endif datamash-1.9/lib/trim.c0000644000000000000000000000565314767401140010476 /* Removes leading and/or trailing whitespaces Copyright (C) 2006-2025 Free Software Foundation, Inc. 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 . */ /* Written by Davide Angelocola */ #include /* Specification. */ #include "trim.h" #include #include #include #include #if GNULIB_MCEL_PREFER # include "mcel.h" #else # include "mbchar.h" # include "mbuiterf.h" #endif #include "xalloc.h" char * trim2 (const char *s, int how) { const char *start = s; const char *end; if (MB_CUR_MAX > 1) { #if GNULIB_MCEL_PREFER /* Skip leading whitespace. */ if (how != TRIM_TRAILING) for (mcel_t g; *start; start += g.len) { g = mcel_scanz (start); if (!c32isspace (g.ch)) break; } /* Find start of any trailing whitespace. */ if (how != TRIM_LEADING) for (const char *p = end = start; *p; ) { mcel_t g = mcel_scanz (p); p += g.len; if (!c32isspace (g.ch)) end = p; } #else mbuif_state_t state; mbuif_init (state); /* Skip leading whitespace. */ if (how != TRIM_TRAILING) while (mbuif_avail (state, start)) { mbchar_t cur = mbuif_next (state, start); if (!mb_isspace (cur)) break; start += mb_len (cur); } /* Find start of any trailing whitespace. */ if (how != TRIM_LEADING) for (const char *p = end = start; mbuif_avail (state, p); ) { mbchar_t cur = mbuif_next (state, p); p += mb_len (cur); if (!mb_isspace (cur)) end = p; } #endif } else { /* Skip leading whitespace. */ if (how != TRIM_TRAILING) while (isspace ((unsigned char) *start)) start++; /* Find start of any trailing whitespace. */ if (how != TRIM_LEADING) for (const char *p = end = start; *p; ) if (!isspace ((unsigned char) *p++)) end = p; } /* Create trimmed copy. */ size_t dlen = how == TRIM_LEADING ? strlen (start) : end - start; char *d = malloc (dlen + 1); if (!d) xalloc_die (); char *d_end = mempcpy (d, start, dlen); *d_end = '\0'; return d; } datamash-1.9/lib/trim.h0000644000000000000000000000276314767401140010502 /* Removes leading and/or trailing whitespaces Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc. 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 . */ /* Written by Davide Angelocola */ /* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #ifdef __cplusplus extern "C" { #endif /* Trim mode. */ #define TRIM_TRAILING 0 #define TRIM_LEADING 1 #define TRIM_BOTH 2 /* Removes trailing and leading whitespaces. */ #define trim(s) trim2(s, TRIM_BOTH) /* Removes trailing whitespaces. */ #define trim_trailing(s) trim2(s, TRIM_TRAILING) /* Removes leading whitespaces. */ #define trim_leading(s) trim2(s, TRIM_LEADING) char *trim2 (const char *, int) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; #ifdef __cplusplus } #endif datamash-1.9/lib/trunc.c0000644000000000000000000000730014767401140010645 /* Round towards zero. Copyright (C) 2007, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #if ! defined USE_LONG_DOUBLE # include #endif /* Specification. */ #include #include #undef MIN #ifdef USE_LONG_DOUBLE # define FUNC truncl # define DOUBLE long double # define MANT_DIG LDBL_MANT_DIG # define MIN LDBL_MIN # define L_(literal) literal##L #elif ! defined USE_FLOAT # define FUNC trunc # define DOUBLE double # define MANT_DIG DBL_MANT_DIG # define MIN DBL_MIN # define L_(literal) literal #else /* defined USE_FLOAT */ # define FUNC truncf # define DOUBLE float # define MANT_DIG FLT_MANT_DIG # define MIN FLT_MIN # define L_(literal) literal##f #endif /* -0.0. See minus-zero.h. */ #if defined __hpux || defined __sgi || defined __ICC # define MINUS_ZERO (-MIN * MIN) #else # define MINUS_ZERO L_(-0.0) #endif /* MSVC with option -fp:strict refuses to compile constant initializers that contain floating-point operations. Pacify this compiler. */ #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif /* 2^(MANT_DIG-1). */ static const DOUBLE TWO_MANT_DIG = /* Assume MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (DOUBLE) (1U << ((MANT_DIG - 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 1) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 2) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 3) / 5)) * (DOUBLE) (1U << ((MANT_DIG - 1 + 4) / 5)); DOUBLE FUNC (DOUBLE x) { /* The use of 'volatile' guarantees that excess precision bits are dropped at each addition step and before the following comparison at the caller's site. It is necessary on x86 systems where double-floats are not IEEE compliant by default, to avoid that the results become platform and compiler option dependent. 'volatile' is a portable alternative to gcc's -ffloat-store option. */ volatile DOUBLE y = x; volatile DOUBLE z = y; if (z > L_(0.0)) { /* For 0 < x < 1, return +0.0 even if the current rounding mode is FE_DOWNWARD. */ if (z < L_(1.0)) z = L_(0.0); /* Avoid rounding errors for values near 2^k, where k >= MANT_DIG-1. */ else if (z < TWO_MANT_DIG) { /* Round to the next integer (nearest or up or down, doesn't matter). */ z += TWO_MANT_DIG; z -= TWO_MANT_DIG; /* Enforce rounding down. */ if (z > y) z -= L_(1.0); } } else if (z < L_(0.0)) { /* For -1 < x < 0, return -0.0 regardless of the current rounding mode. */ if (z > L_(-1.0)) z = MINUS_ZERO; /* Avoid rounding errors for values near -2^k, where k >= MANT_DIG-1. */ else if (z > - TWO_MANT_DIG) { /* Round to the next integer (nearest or up or down, doesn't matter). */ z -= TWO_MANT_DIG; z += TWO_MANT_DIG; /* Enforce rounding up. */ if (z < y) z += L_(1.0); } } return z; } datamash-1.9/lib/truncl.c0000644000000000000000000000200414767401140011015 /* Round towards zero. Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ #include #if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Specification. */ # include long double truncl (long double x) { return trunc (x); } #else # define USE_LONG_DOUBLE # include "trunc.c" #endif datamash-1.9/lib/u64.c0000644000000000000000000000157414767401140010137 /* uint64_t-like operations that work even on hosts lacking uint64_t Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define _GL_U64_INLINE _GL_EXTERN_INLINE #include "u64.h" typedef int dummy; datamash-1.9/lib/u64.h0000644000000000000000000001104214767401140010133 /* uint64_t-like operations that work even on hosts lacking uint64_t Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert. */ /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #include _GL_INLINE_HEADER_BEGIN #ifndef _GL_U64_INLINE # define _GL_U64_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif #ifdef UINT64_MAX /* Native implementations are trivial. See below for comments on what these operations do. */ typedef uint64_t u64; # define u64hilo(hi, lo) ((u64) (((u64) (hi) << 32) + (lo))) # define u64init(hi, lo) u64hilo (hi, lo) # define u64lo(x) ((u64) (x)) # define u64size(x) u64lo (x) # define u64lt(x, y) ((x) < (y)) # define u64and(x, y) ((x) & (y)) # define u64or(x, y) ((x) | (y)) # define u64xor(x, y) ((x) ^ (y)) # define u64plus(x, y) ((x) + (y)) # define u64shl(x, n) ((x) << (n)) # define u64shr(x, n) ((x) >> (n)) # define u64bswap(x) bswap_64 (x) #else # define _GL_U64_MASK32 0xfffffffful /* 2**32 - 1. */ /* u64 represents a 64-bit unsigned integer value equal to (HI << 32) + LO. Implement it with unsigned int, which the GNU coding standards say is wide enough to hold 32 bits, and which does not signal an error when adding (theoretically possible with types like uint_fast32_t). u64init (HI, LO), is like u64hilo (HI, LO), but for use in initializer contexts. */ # ifdef WORDS_BIGENDIAN typedef struct { unsigned int hi, lo; } u64; # define u64init(hi, lo) { hi, lo } # else typedef struct { unsigned int lo, hi; } u64; # define u64init(hi, lo) { lo, hi } # endif /* Given the high and low-order 32-bit quantities HI and LO, return a u64 value representing (HI << 32) + LO. */ _GL_U64_INLINE u64 u64hilo (unsigned int hi, unsigned int lo) { u64 r; r.hi = hi; r.lo = lo; return r; } /* Return a u64 value representing the 32-bit quantity LO. */ _GL_U64_INLINE u64 u64lo (unsigned int lo) { u64 r; r.hi = 0; r.lo = lo; return r; } /* Return a u64 value representing SIZE, where 0 <= SIZE < 2**64. */ _GL_U64_INLINE u64 u64size (size_t size) { u64 r; r.hi = size >> 31 >> 1; r.lo = size & _GL_U64_MASK32; return r; } /* Return X < Y. */ _GL_U64_INLINE bool u64lt (u64 x, u64 y) { return x.hi < y.hi || (x.hi == y.hi && x.lo < y.lo); } /* Return X & Y. */ _GL_U64_INLINE u64 u64and (u64 x, u64 y) { u64 r; r.hi = x.hi & y.hi; r.lo = x.lo & y.lo; return r; } /* Return X | Y. */ _GL_U64_INLINE u64 u64or (u64 x, u64 y) { u64 r; r.hi = x.hi | y.hi; r.lo = x.lo | y.lo; return r; } /* Return X ^ Y. */ _GL_U64_INLINE u64 u64xor (u64 x, u64 y) { u64 r; r.hi = x.hi ^ y.hi; r.lo = x.lo ^ y.lo; return r; } /* Return X + Y, wrapping around on overflow. */ _GL_U64_INLINE u64 u64plus (u64 x, u64 y) { u64 r; r.lo = (x.lo + y.lo) & _GL_U64_MASK32; r.hi = (x.hi + y.hi + (r.lo < x.lo)) & _GL_U64_MASK32; return r; } /* Return X << N, where 0 <= N < 64. */ _GL_U64_INLINE u64 u64shl (u64 x, int n) { u64 r; if (n < 32) { r.hi = (x.hi << n & _GL_U64_MASK32) | x.lo >> (32 - n); r.lo = x.lo << n & _GL_U64_MASK32; } else { r.hi = x.lo << (n - 32) & _GL_U64_MASK32; r.lo = 0; } return r; } /* Return X >> N. */ _GL_U64_INLINE u64 u64shr (u64 x, int n) { u64 r; if (n < 32) { r.hi = x.hi >> n; r.lo = (x.hi << (32 - n) & _GL_U64_MASK32) | x.lo >> n; } else { r.hi = 0; r.lo = x.hi >> (n - 32); } return r; } /* Return X with bytes in reverse order. */ _GL_U64_INLINE u64 u64bswap (u64 x) { return u64hilo (bswap_32 (x.lo), bswap_32 (x.hi)); } #endif /* Return X rotated left by N bits, where 0 < N < 64. */ _GL_U64_INLINE u64 u64rol (u64 x, int n) { return u64or (u64shl (x, n), u64shr (x, 64 - n)); } #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END datamash-1.9/lib/uchar.in.h0000644000000000000000000006414114767401140011234 /* substitute - 16-bit and 32-bit wide character types. Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2019. */ /* * ISO C 23 for platforms that lack it. */ #ifndef _@GUARD_PREFIX@_UCHAR_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_UCHAR_H@ # if defined __HAIKU__ /* Work around . */ # include # endif /* On AIX 7.2 with xlclang++, /usr/include/uchar.h produces compilation errors because it contains typedef definitions of char16_t and char32_t, however char16_t and char32_t are keywords in this situation. To work around it, define char16_t and char32_t as macros. */ # if defined __cplusplus && defined _AIX && defined __ibmxl__ && defined __clang__ # define char16_t gl_char16_t # define char32_t gl_char32_t # endif # @INCLUDE_NEXT@ @NEXT_UCHAR_H@ #endif #ifndef _@GUARD_PREFIX@_UCHAR_H #define _@GUARD_PREFIX@_UCHAR_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_BEGIN_C_LINKAGE, _GL_ATTRIBUTE_PURE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get uint_least16_t, uint_least32_t. */ #include /* Get mbstate_t, size_t. */ #include /* For the inline functions. */ #include #include /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #ifndef _GL_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE /* empty */ # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ _GL_INLINE_HEADER_BEGIN #if !(@HAVE_UCHAR_H@ || (defined __cplusplus && @CXX_HAS_CHAR8_TYPE@)) /* An 8-bit variant of wchar_t. Note: This type is only mandated by ISO C 23 or newer, and it does denote UTF-8 units. */ typedef unsigned char char8_t; #elif @GNULIBHEADERS_OVERRIDE_CHAR8_T@ typedef unsigned char gl_char8_t; # define char8_t gl_char8_t #endif #if !(@HAVE_UCHAR_H@ || (defined __cplusplus && @CXX_HAS_UCHAR_TYPES@)) /* A 16-bit variant of wchar_t. Note: This type is only mandated by ISO C 11 or newer. In ISO C 23 and newer, it denotes UTF-16 units; in older versions of ISO C it did so only on platforms on which __STDC_UTF_16__ was defined. */ typedef uint_least16_t char16_t; #elif @GNULIBHEADERS_OVERRIDE_CHAR16_T@ typedef uint_least16_t gl_char16_t; # define char16_t gl_char16_t #endif #if !(@HAVE_UCHAR_H@ || (defined __cplusplus && @CXX_HAS_UCHAR_TYPES@)) /* A 32-bit variant of wchar_t. Note: This type is only mandated by ISO C 11 or newer. In ISO C 23 and newer, it denotes UTF-32 code points; in older versions of ISO C it did so only on platforms on which __STDC_UTF_32__ was defined. In gnulib, we guarantee that it denotes UTF-32 code points if and only if the module 'uchar-h-c23' is in use. */ typedef uint_least32_t char32_t; #elif @GNULIBHEADERS_OVERRIDE_CHAR32_T@ typedef uint_least32_t gl_char32_t; # define char32_t gl_char32_t #endif /* Define if a 'char32_t' can hold more characters than a 'wchar_t'. */ #if @SMALL_WCHAR_T@ /* 32-bit AIX, Cygwin, native Windows */ # define _GL_SMALL_WCHAR_T 1 #endif /* Define if 'wchar_t', like 'char32_t', - is a 32-bit type, and - represents Unicode code points. For this test, we can use __STDC_ISO_10646__ (defined by glibc, musl libc, Cygwin) but need to consider _GL_SMALL_WCHAR_T, so as to exclude Cygwin. We cannot use __STDC_UTF_16__ or __STDC_UTF_32__ - because these macros provide info about char16_t and char32_t (not wchar_t!), and - because GCC >= 4.9 defines these macros on all platforms, even on FreeBSD and Solaris. We should better not use __STD_UTF_16__, __STD_UTF_32__ either, because these macros are misspellings, only defined by Android's . */ #if defined __STDC_ISO_10646__ && !_GL_SMALL_WCHAR_T /* glibc, musl libc */ # define _GL_WCHAR_T_IS_UCS4 1 #endif #if _GL_WCHAR_T_IS_UCS4 static_assert (sizeof (char32_t) == sizeof (wchar_t)); #endif /* Convert a single-byte character to a 32-bit wide character. */ #if @GNULIB_BTOC32@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_BTOC32 _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ATTRIBUTE_PURE wint_t btoc32 (int c) { return # if @GNULIB_BTOWC@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif btowc (c); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (btoc32, wint_t, (int c), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (btoc32, wint_t, (int c)); _GL_CXXALIASWARN (btoc32); #endif /* Test a specific property of a 32-bit wide character. */ #if @GNULIB_C32ISALNUM@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISALNUM _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isalnum (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswalnum (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isalnum, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isalnum, int, (wint_t wc)); _GL_CXXALIASWARN (c32isalnum); #endif #if @GNULIB_C32ISALPHA@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISALPHA _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isalpha (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswalpha (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isalpha, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isalpha, int, (wint_t wc)); _GL_CXXALIASWARN (c32isalpha); #endif #if @GNULIB_C32ISBLANK@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISBLANK _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isblank (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswblank (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isblank, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isblank, int, (wint_t wc)); _GL_CXXALIASWARN (c32isblank); #endif #if @GNULIB_C32ISCNTRL@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISCNTRL _GL_BEGIN_C_LINKAGE _GL_INLINE int c32iscntrl (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswcntrl (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32iscntrl, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32iscntrl, int, (wint_t wc)); _GL_CXXALIASWARN (c32iscntrl); #endif #if @GNULIB_C32ISDIGIT@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISDIGIT _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isdigit (wint_t wc) { return # if @GNULIB_ISWDIGIT@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswdigit (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isdigit, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isdigit, int, (wint_t wc)); _GL_CXXALIASWARN (c32isdigit); #endif #if @GNULIB_C32ISGRAPH@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISGRAPH _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isgraph (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswgraph (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isgraph, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isgraph, int, (wint_t wc)); _GL_CXXALIASWARN (c32isgraph); #endif #if @GNULIB_C32ISLOWER@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISLOWER _GL_BEGIN_C_LINKAGE _GL_INLINE int c32islower (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswlower (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32islower, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32islower, int, (wint_t wc)); _GL_CXXALIASWARN (c32islower); #endif #if @GNULIB_C32ISPRINT@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISPRINT _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isprint (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswprint (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isprint, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isprint, int, (wint_t wc)); _GL_CXXALIASWARN (c32isprint); #endif #if @GNULIB_C32ISPUNCT@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISPUNCT _GL_BEGIN_C_LINKAGE _GL_INLINE int c32ispunct (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswpunct (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32ispunct, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32ispunct, int, (wint_t wc)); _GL_CXXALIASWARN (c32ispunct); #endif #if @GNULIB_C32ISSPACE@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISSPACE _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isspace (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswspace (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isspace, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isspace, int, (wint_t wc)); _GL_CXXALIASWARN (c32isspace); #endif #if @GNULIB_C32ISUPPER@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISUPPER _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isupper (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswupper (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isupper, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isupper, int, (wint_t wc)); _GL_CXXALIASWARN (c32isupper); #endif #if @GNULIB_C32ISXDIGIT@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32ISXDIGIT _GL_BEGIN_C_LINKAGE _GL_INLINE int c32isxdigit (wint_t wc) { return # if @GNULIB_ISWXDIGIT@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswxdigit (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32isxdigit, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32isxdigit, int, (wint_t wc)); _GL_CXXALIASWARN (c32isxdigit); #endif /* Case mapping of a 32-bit wide character. */ #if @GNULIB_C32TOLOWER@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32TOLOWER _GL_BEGIN_C_LINKAGE _GL_INLINE wint_t c32tolower (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif towlower (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32tolower, wint_t, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32tolower, wint_t, (wint_t wc)); _GL_CXXALIASWARN (c32tolower); #endif #if @GNULIB_C32TOUPPER@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32TOUPPER _GL_BEGIN_C_LINKAGE _GL_INLINE wint_t c32toupper (wint_t wc) { return # if defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif towupper (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32toupper, wint_t, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32toupper, wint_t, (wint_t wc)); _GL_CXXALIASWARN (c32toupper); #endif /* Number of screen columns needed for a 32-bit wide character. */ #if @GNULIB_C32WIDTH@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32WIDTH _GL_BEGIN_C_LINKAGE _GL_INLINE int c32width (char32_t wc) { return # if @GNULIB_WCWIDTH@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wcwidth (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32width, int, (char32_t wc), ); # endif _GL_CXXALIAS_SYS (c32width, int, (char32_t wc)); _GL_CXXALIASWARN (c32width); #endif /* Converts a 32-bit wide character to a multibyte character. */ #if @GNULIB_C32RTOMB@ # if @REPLACE_C32RTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef c32rtomb # define c32rtomb rpl_c32rtomb # endif _GL_FUNCDECL_RPL (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps), ); _GL_CXXALIAS_RPL (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps)); # else # if !@HAVE_C32RTOMB@ _GL_FUNCDECL_SYS (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps), ); # endif _GL_CXXALIAS_SYS (c32rtomb, size_t, (char *s, char32_t wc, mbstate_t *ps)); # endif # if __GLIBC__ + (__GLIBC_MINOR__ >= 16) > 2 _GL_CXXALIASWARN (c32rtomb); # endif #elif defined GNULIB_POSIXCHECK # undef c32rtomb # if HAVE_RAW_DECL_C32RTOMB _GL_WARN_ON_USE (c32rtomb, "c32rtomb is not portable - " "use gnulib module c32rtomb for portability"); # endif #endif /* Convert a 32-bit wide string to a string. */ #if @GNULIB_C32SNRTOMBS@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32SNRTOMBS _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) size_t c32snrtombs (char *dest, const char32_t **srcp, size_t srclen, size_t len, mbstate_t *ps) { return # if @GNULIB_WCSNRTOMBS@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wcsnrtombs (dest, (const wchar_t **) srcp, srclen, len, ps); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32snrtombs, size_t, (char *dest, const char32_t **srcp, size_t srclen, size_t len, mbstate_t *ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (c32snrtombs, size_t, (char *dest, const char32_t **srcp, size_t srclen, size_t len, mbstate_t *ps)); _GL_CXXALIASWARN (c32snrtombs); #endif /* Convert a 32-bit wide string to a string. */ #if @GNULIB_C32SRTOMBS@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32SRTOMBS _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) size_t c32srtombs (char *dest, const char32_t **srcp, size_t len, mbstate_t *ps) { return # if @GNULIB_WCSRTOMBS@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wcsrtombs (dest, (const wchar_t **) srcp, len, ps); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32srtombs, size_t, (char *dest, const char32_t **srcp, size_t len, mbstate_t *ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (c32srtombs, size_t, (char *dest, const char32_t **srcp, size_t len, mbstate_t *ps)); _GL_CXXALIASWARN (c32srtombs); #endif /* Convert a 32-bit wide string to a string. */ #if @GNULIB_C32STOMBS@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32STOMBS _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) size_t c32stombs (char *dest, const char32_t *src, size_t len) { mbstate_t state; mbszero (&state); return c32srtombs (dest, &src, len, &state); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32stombs, size_t, (char *dest, const char32_t *src, size_t len), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (c32stombs, size_t, (char *dest, const char32_t *src, size_t len)); _GL_CXXALIASWARN (c32stombs); #endif /* Number of screen columns needed for a size-bounded 32-bit wide string. */ #if @GNULIB_C32SWIDTH@ # if (_GL_WCHAR_T_IS_UCS4 && !GNULIB_defined_mbstate_t) && !defined IN_C32SWIDTH _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((1)) int c32swidth (const char32_t *s, size_t n) { return # if @GNULIB_WCSWIDTH@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wcswidth ((const wchar_t *) s, n); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32swidth, int, (const char32_t *s, size_t n), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (c32swidth, int, (const char32_t *s, size_t n)); _GL_CXXALIASWARN (c32swidth); #endif /* Converts a 32-bit wide character to unibyte character. Returns the single-byte representation of WC if it exists, or EOF otherwise. */ #if @GNULIB_C32TOB@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32TOB _GL_BEGIN_C_LINKAGE _GL_INLINE int c32tob (wint_t wc) { return # if @GNULIB_WCTOB@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wctob (wc); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32tob, int, (wint_t wc), ); # endif _GL_CXXALIAS_SYS (c32tob, int, (wint_t wc)); _GL_CXXALIASWARN (c32tob); #endif /* Converts a multibyte character to a 32-bit wide character. */ #if @GNULIB_MBRTOC32@ # if @REPLACE_MBRTOC32@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrtoc32 # define mbrtoc32 rpl_mbrtoc32 # endif _GL_FUNCDECL_RPL (mbrtoc32, size_t, (char32_t *pc, const char *s, size_t n, mbstate_t *ps), ); _GL_CXXALIAS_RPL (mbrtoc32, size_t, (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); # else # if !@HAVE_MBRTOC32@ _GL_FUNCDECL_SYS (mbrtoc32, size_t, (char32_t *pc, const char *s, size_t n, mbstate_t *ps), ); # endif _GL_CXXALIAS_SYS (mbrtoc32, size_t, (char32_t *pc, const char *s, size_t n, mbstate_t *ps)); # endif # if __GLIBC__ + (__GLIBC_MINOR__ >= 16) > 2 _GL_CXXALIASWARN (mbrtoc32); # endif #elif defined GNULIB_POSIXCHECK # undef mbrtoc32 # if HAVE_RAW_DECL_MBRTOC32 _GL_WARN_ON_USE (mbrtoc32, "mbrtoc32 is not portable - " "use gnulib module mbrtoc32 for portability"); # endif #endif /* Converts a multibyte character and returns the next 16-bit wide character. */ #if @GNULIB_MBRTOC16@ # if @REPLACE_MBRTOC16@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrtoc16 # define mbrtoc16 rpl_mbrtoc16 # endif _GL_FUNCDECL_RPL (mbrtoc16, size_t, (char16_t *pc, const char *s, size_t n, mbstate_t *ps), ); _GL_CXXALIAS_RPL (mbrtoc16, size_t, (char16_t *pc, const char *s, size_t n, mbstate_t *ps)); # else # if !@HAVE_MBRTOC16@ _GL_FUNCDECL_SYS (mbrtoc16, size_t, (char16_t *pc, const char *s, size_t n, mbstate_t *ps), ); # endif _GL_CXXALIAS_SYS (mbrtoc16, size_t, (char16_t *pc, const char *s, size_t n, mbstate_t *ps)); # endif # if __GLIBC__ + (__GLIBC_MINOR__ >= 16) > 2 _GL_CXXALIASWARN (mbrtoc16); # endif #elif defined GNULIB_POSIXCHECK # undef mbrtoc16 # if HAVE_RAW_DECL_MBRTOC16 _GL_WARN_ON_USE (mbrtoc16, "mbrtoc16 is not portable - " "use gnulib module mbrtoc16 for portability"); # endif #endif /* Convert a string to a 32-bit wide string. */ #if @GNULIB_MBSNRTOC32S@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_MBSNRTOC32S _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) size_t mbsnrtoc32s (char32_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps) { return # if @GNULIB_MBSNRTOWCS@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif mbsnrtowcs ((wchar_t *) dest, srcp, srclen, len, ps); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (mbsnrtoc32s, size_t, (char32_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsnrtoc32s, size_t, (char32_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *ps)); _GL_CXXALIASWARN (mbsnrtoc32s); #endif /* Convert a string to a 32-bit wide string. */ #if @GNULIB_MBSRTOC32S@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_MBSRTOC32S _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) size_t mbsrtoc32s (char32_t *dest, const char **srcp, size_t len, mbstate_t *ps) { return # if @GNULIB_MBSRTOWCS@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif mbsrtowcs ((wchar_t *) dest, srcp, len, ps); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (mbsrtoc32s, size_t, (char32_t *dest, const char **srcp, size_t len, mbstate_t *ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsrtoc32s, size_t, (char32_t *dest, const char **srcp, size_t len, mbstate_t *ps)); _GL_CXXALIASWARN (mbsrtoc32s); #endif /* Convert a string to a 32-bit wide string. */ #if @GNULIB_MBSTOC32S@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_MBSTOC32S _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) size_t mbstoc32s (char32_t *dest, const char *src, size_t len) { mbstate_t state; mbszero (&state); return mbsrtoc32s (dest, &src, len, &state); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (mbstoc32s, size_t, (char32_t *dest, const char *src, size_t len), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbstoc32s, size_t, (char32_t *dest, const char *src, size_t len)); _GL_CXXALIASWARN (mbstoc32s); #endif #if @GNULIB_C32_GET_TYPE_TEST@ || @GNULIB_C32_APPLY_TYPE_TEST@ /* A scalar type. Instances of this type, other than (c32_type_test_t) 0, represent a character property, sometimes also viewed as a "character class". It can be applied to 32-bit wide characters. It is the counterpart of type 'wctype_t' for wide characters. To test whether a given character has a certain property, use the function 'c32_apply_type_test'. */ # if _GL_WCHAR_T_IS_UCS4 typedef wctype_t c32_type_test_t; # else typedef /*bool*/int (*c32_type_test_t) (wint_t wc); # endif #endif /* Return a character property with the given name, or (c32_type_test_t) 0 if the designated property does not exist. This function is the counterpart of function 'wctype' for wide characters. */ #if @GNULIB_C32_GET_TYPE_TEST@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32_GET_TYPE_TEST _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((1)) c32_type_test_t c32_get_type_test (const char *name) { return # if @GNULIB_WCTYPE@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wctype (name); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32_get_type_test, c32_type_test_t, (const char *name), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (c32_get_type_test, c32_type_test_t, (const char *name)); _GL_CXXALIASWARN (c32_get_type_test); #endif /* Test whether a given 32-bit wide character has the specified character property. Return non-zero if true, zero if false or if the argument is WEOF. This function is the counterpart of function 'iswctype' for wide characters. */ #if @GNULIB_C32_APPLY_TYPE_TEST@ # if _GL_WCHAR_T_IS_UCS4 # if !defined IN_C32_APPLY_TYPE_TEST _GL_BEGIN_C_LINKAGE _GL_INLINE int c32_apply_type_test (wint_t wc, c32_type_test_t property) { return # if @GNULIB_ISWCTYPE@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif iswctype (wc, property); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32_apply_type_test, int, (wint_t wc, c32_type_test_t property), ); # endif # else _GL_FUNCDECL_SYS (c32_apply_type_test, int, (wint_t wc, c32_type_test_t property), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (c32_apply_type_test, int, (wint_t wc, c32_type_test_t property)); _GL_CXXALIASWARN (c32_apply_type_test); #endif #if @GNULIB_C32_GET_MAPPING@ || @GNULIB_C32_APPLY_MAPPING@ /* A scalar type. Instances of this type, other than (c32_mapping_t) 0, represent a character mapping. It can be applied to 32-bit wide characters. It is the counterpart of type 'wctrans_t' for wide characters. To apply a certain mapping to a given character, use the function 'c32_apply_mapping'. */ # if _GL_WCHAR_T_IS_UCS4 typedef wctrans_t c32_mapping_t; # else typedef wint_t (*c32_mapping_t) (wint_t wc); # endif #endif /* Return a character mapping with the given name, or (c32_mapping_t) 0 if the designated mapping does not exist. This function is the counterpart of function 'wctrans' for wide characters. */ #if @GNULIB_C32_GET_MAPPING@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32_GET_MAPPING _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((1)) c32_mapping_t c32_get_mapping (const char *name) { return # if @GNULIB_WCTRANS@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif wctrans (name); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32_get_mapping, c32_mapping_t, (const char *name), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (c32_get_mapping, c32_mapping_t, (const char *name)); _GL_CXXALIASWARN (c32_get_mapping); #endif /* Apply the specified character mapping to a given 32-bit wide character. Return the result of this mapping. Return the WC argument unchanged if it is WEOF. This function is the counterpart of function 'towctrans' for wide characters. */ #if @GNULIB_C32_APPLY_MAPPING@ # if _GL_WCHAR_T_IS_UCS4 && !defined IN_C32_APPLY_MAPPING _GL_BEGIN_C_LINKAGE _GL_INLINE _GL_ARG_NONNULL ((2)) wint_t c32_apply_mapping (wint_t wc, c32_mapping_t mapping) { return # if @GNULIB_TOWCTRANS@ && defined __cplusplus && defined GNULIB_NAMESPACE GNULIB_NAMESPACE:: # endif towctrans (wc, mapping); } _GL_END_C_LINKAGE # else _GL_FUNCDECL_SYS (c32_apply_mapping, wint_t, (wint_t wc, c32_mapping_t mapping), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (c32_apply_mapping, wint_t, (wint_t wc, c32_mapping_t mapping)); _GL_CXXALIASWARN (c32_apply_mapping); #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_UCHAR_H */ #endif /* _@GUARD_PREFIX@_UCHAR_H */ datamash-1.9/lib/uinttostr.c0000644000000000000000000000153214767401140011566 /* Convert 'unsigned int' integer to printable string. Copyright (C) 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define anytostr uinttostr #define inttype unsigned int #include "anytostr.c" datamash-1.9/lib/umaxtostr.c0000644000000000000000000000152414767401140011562 /* Convert 'uintmax_t' integer to printable string. Copyright (C) 2004-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define anytostr umaxtostr #define inttype uintmax_t #include "anytostr.c" datamash-1.9/lib/unicase/0000755000000000000000000000000014774035553011066 5datamash-1.9/lib/unicase/simple-mapping.h0000644000000000000000000000260514767401140014073 /* Simple case mapping for Unicode characters. Copyright (C) 2002, 2006, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ ucs4_t FUNC (ucs4_t uc) { unsigned int index1 = uc >> mapping_header_0; if (index1 < mapping_header_1) { int lookup1 = u_mapping.level1[index1]; if (lookup1 >= 0) { unsigned int index2 = (uc >> mapping_header_2) & mapping_header_3; int lookup2 = u_mapping.level2[lookup1 + index2]; if (lookup2 >= 0) { unsigned int index3 = (uc & mapping_header_4); int lookup3 = u_mapping.level3[lookup2 + index3]; return uc + lookup3; } } } return uc; } datamash-1.9/lib/unicase/tolower.c0000644000000000000000000000201414767401140012631 /* Lowercase mapping for Unicode characters (locale and context independent). Copyright (C) 2002, 2006, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unicase.h" /* Define u_mapping table. */ #include "tolower.h" #define FUNC uc_tolower #include "simple-mapping.h" datamash-1.9/lib/unicase/tolower.h0000644000000000000000000012466714767401140012661 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Simple character mapping of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define mapping_header_0 16 #define mapping_header_1 2 #define mapping_header_2 7 #define mapping_header_3 511 #define mapping_header_4 127 static const struct { int level1[2]; short level2[2 << 9]; int level3[36 << 7]; } u_mapping = { { 0, 512 }, { 0, 128, 256, 384, 512, -1, 640, 768, 896, 1024, 1152, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1280, -1, -1, -1, -1, -1, 1408, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1536, -1, -1, 1664, 1792, 1920, 2048, -1, -1, 2176, 2304, -1, -1, -1, -1, -1, 2432, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2560, 2688, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2816, 2944, 3072, 3200, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3328, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3456, 3584, 3712, 3840, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3968, 4096, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4352, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4480, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -199, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -121, 1, 0, 1, 0, 1, 0, 0, 0, 210, 1, 0, 1, 0, 206, 1, 0, 205, 205, 1, 0, 0, 79, 202, 203, 1, 0, 205, 207, 0, 211, 209, 1, 0, 0, 0, 211, 213, 0, 214, 1, 0, 1, 0, 1, 0, 218, 1, 0, 218, 0, 0, 1, 0, 218, 1, 0, 217, 217, 1, 0, 1, 0, 219, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 2, 1, 0, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 2, 1, 0, 1, 0, -97, -56, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -130, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 10795, 1, 0, -163, 10792, 0, 0, 1, 0, -195, 69, 71, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, 0, 0, 38, 0, 37, 37, 37, 0, 64, 0, 63, 63, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, -60, 0, 0, 1, 0, -7, 1, 0, 0, -130, -130, -130, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 15, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 7264, 0, 7264, 0, 0, 0, 0, 0, 7264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 38864, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, -3008, 0, 0, -3008, -3008, -3008, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7615, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, 0, -8, 0, -8, 0, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -8, -8, -8, -8, -8, -8, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -74, -74, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -86, -86, -86, -86, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, -8, -112, -112, -7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -128, -128, -126, -126, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7517, 0, 0, 0, -8383, -8262, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -10743, -3814, -10727, 0, 0, 1, 0, 1, 0, 1, 0, -10780, -10749, -10783, -10782, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, -10815, -10815, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, -35332, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, -42280, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -42308, -42319, -42315, -42305, -42308, 0, -42258, -42282, -42261, 928, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -48, -42307, -35384, 1, 0, 1, 0, -42343, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, -42561, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 0, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 0, 39, 39, 39, 39, 39, 39, 39, 0, 39, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; datamash-1.9/lib/unicase.in.h0000644000000000000000000005062214767401140011560 /* Unicode character case mappings. Copyright (C) 2002, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _UNICASE_H #define _UNICASE_H #include "unitypes.h" /* Get bool. */ #include /* Get size_t. */ #include /* Get uninorm_t. */ #include "uninorm.h" #if @HAVE_UNISTRING_WOE32DLL_H@ # include #else # define LIBUNISTRING_DLL_VARIABLE #endif #ifdef __cplusplus extern "C" { #endif /* ========================================================================= */ /* Character case mappings. These mappings are locale and context independent. WARNING! These functions are not sufficient for languages such as German. Better use the functions below that treat an entire string at once and are language aware. */ /* Return the uppercase mapping of a Unicode character. */ extern ucs4_t uc_toupper (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Return the lowercase mapping of a Unicode character. */ extern ucs4_t uc_tolower (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Return the titlecase mapping of a Unicode character. */ extern ucs4_t uc_totitle (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* String case mappings. */ /* These functions are locale dependent. The iso639_language argument identifies the language (e.g. "tr" for Turkish). NULL means to use locale independent case mappings. */ /* Return the ISO 639 language code of the current locale. Return "" if it is unknown, or in the "C" locale. */ extern const char * uc_locale_language (void) _UC_ATTRIBUTE_PURE; /* Conventions: All functions prefixed with u8_ operate on UTF-8 encoded strings. Their unit is an uint8_t (1 byte). All functions prefixed with u16_ operate on UTF-16 encoded strings. Their unit is an uint16_t (a 2-byte word). All functions prefixed with u32_ operate on UCS-4 encoded strings. Their unit is an uint32_t (a 4-byte word). All argument pairs (s, n) denote a Unicode string s[0..n-1] with exactly n units. Functions returning a string result take a (resultbuf, lengthp) argument pair. If resultbuf is not NULL and the result fits into *lengthp units, it is put in resultbuf, and resultbuf is returned. Otherwise, a freshly allocated string is returned. In both cases, *lengthp is set to the length (number of units) of the returned string. In case of error, NULL is returned and errno is set. */ /* Return the uppercase mapping of a string. The nf argument identifies the normalization form to apply after the case-mapping. It can also be NULL, for no normalization. */ extern uint8_t * u8_toupper (const uint8_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_toupper (const uint16_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_toupper (const uint32_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Return the lowercase mapping of a string. The nf argument identifies the normalization form to apply after the case-mapping. It can also be NULL, for no normalization. */ extern uint8_t * u8_tolower (const uint8_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_tolower (const uint16_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_tolower (const uint32_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Return the titlecase mapping of a string. The nf argument identifies the normalization form to apply after the case-mapping. It can also be NULL, for no normalization. */ extern uint8_t * u8_totitle (const uint8_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_totitle (const uint16_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_totitle (const uint32_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* The case-mapping context given by a prefix string. */ typedef struct casing_prefix_context { /* These fields are private, undocumented. */ uint32_t last_char_except_ignorable; uint32_t last_char_normal_or_above; } casing_prefix_context_t; /* The case-mapping context of the empty prefix string. */ extern @GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE@ const casing_prefix_context_t unicase_empty_prefix_context; /* Return the case-mapping context of a given prefix string. */ extern casing_prefix_context_t u8_casing_prefix_context (const uint8_t *s, size_t n); extern casing_prefix_context_t u16_casing_prefix_context (const uint16_t *s, size_t n); extern casing_prefix_context_t u32_casing_prefix_context (const uint32_t *s, size_t n); /* Return the case-mapping context of the prefix concat(A, S), given the case-mapping context of the prefix A. */ extern casing_prefix_context_t u8_casing_prefixes_context (const uint8_t *s, size_t n, casing_prefix_context_t a_context); extern casing_prefix_context_t u16_casing_prefixes_context (const uint16_t *s, size_t n, casing_prefix_context_t a_context); extern casing_prefix_context_t u32_casing_prefixes_context (const uint32_t *s, size_t n, casing_prefix_context_t a_context); /* The case-mapping context given by a suffix string. */ typedef struct casing_suffix_context { /* These fields are private, undocumented. */ uint32_t first_char_except_ignorable; uint32_t bits; } casing_suffix_context_t; /* The case-mapping context of the empty suffix string. */ extern @GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE@ const casing_suffix_context_t unicase_empty_suffix_context; /* Return the case-mapping context of a given suffix string. */ extern casing_suffix_context_t u8_casing_suffix_context (const uint8_t *s, size_t n); extern casing_suffix_context_t u16_casing_suffix_context (const uint16_t *s, size_t n); extern casing_suffix_context_t u32_casing_suffix_context (const uint32_t *s, size_t n); /* Return the case-mapping context of the suffix concat(S, A), given the case-mapping context of the suffix A. */ extern casing_suffix_context_t u8_casing_suffixes_context (const uint8_t *s, size_t n, casing_suffix_context_t a_context); extern casing_suffix_context_t u16_casing_suffixes_context (const uint16_t *s, size_t n, casing_suffix_context_t a_context); extern casing_suffix_context_t u32_casing_suffixes_context (const uint32_t *s, size_t n, casing_suffix_context_t a_context); /* Return the uppercase mapping of a string that is surrounded by a prefix and a suffix. */ extern uint8_t * u8_ct_toupper (const uint8_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_ct_toupper (const uint16_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_ct_toupper (const uint32_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Return the lowercase mapping of a string that is surrounded by a prefix and a suffix. */ extern uint8_t * u8_ct_tolower (const uint8_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_ct_tolower (const uint16_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_ct_tolower (const uint32_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Return the titlecase mapping of a string that is surrounded by a prefix and a suffix. */ extern uint8_t * u8_ct_totitle (const uint8_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_ct_totitle (const uint16_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_ct_totitle (const uint32_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Return the case folded string. Comparing uN_casefold (S1) and uN_casefold (S2) with uN_cmp2() is equivalent to comparing S1 and S2 with uN_casecmp(). The nf argument identifies the normalization form to apply after the case-mapping. It can also be NULL, for no normalization. */ extern uint8_t * u8_casefold (const uint8_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_casefold (const uint16_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_casefold (const uint32_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Likewise, for a string that is surrounded by a prefix and a suffix. */ extern uint8_t * u8_ct_casefold (const uint8_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_ct_casefold (const uint16_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_ct_casefold (const uint32_t *s, size_t n, casing_prefix_context_t prefix_context, casing_suffix_context_t suffix_context, const char *iso639_language, uninorm_t nf, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Compare S1 and S2, ignoring differences in case and normalization. The nf argument identifies the normalization form to apply after the case-mapping. It can also be NULL, for no normalization. If successful, set *RESULTP to -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2, and return 0. Upon failure, return -1 with errno set. */ extern int u8_casecmp (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); extern int u16_casecmp (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); extern int u32_casecmp (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); extern int ulc_casecmp (const char *s1, size_t n1, const char *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); /* Convert the string S of length N to a NUL-terminated byte sequence, in such a way that comparing uN_casexfrm (S1) and uN_casexfrm (S2) with the gnulib function memcmp2() is equivalent to comparing S1 and S2 with uN_casecoll(). NF must be either UNINORM_NFC, UNINORM_NFKC, or NULL for no normalization. */ extern char * u8_casexfrm (const uint8_t *s, size_t n, const char *iso639_language, uninorm_t nf, char *_UC_RESTRICT resultbuf, size_t *lengthp); extern char * u16_casexfrm (const uint16_t *s, size_t n, const char *iso639_language, uninorm_t nf, char *_UC_RESTRICT resultbuf, size_t *lengthp); extern char * u32_casexfrm (const uint32_t *s, size_t n, const char *iso639_language, uninorm_t nf, char *_UC_RESTRICT resultbuf, size_t *lengthp); extern char * ulc_casexfrm (const char *s, size_t n, const char *iso639_language, uninorm_t nf, char *_UC_RESTRICT resultbuf, size_t *lengthp); /* Compare S1 and S2, ignoring differences in case and normalization, using the collation rules of the current locale. The nf argument identifies the normalization form to apply after the case-mapping. It must be either UNINORM_NFC or UNINORM_NFKC. It can also be NULL, for no normalization. If successful, set *RESULTP to -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2, and return 0. Upon failure, return -1 with errno set. */ extern int u8_casecoll (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); extern int u16_casecoll (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); extern int u32_casecoll (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); extern int ulc_casecoll (const char *s1, size_t n1, const char *s2, size_t n2, const char *iso639_language, uninorm_t nf, int *resultp); /* Set *RESULTP to true if mapping NFD(S) to upper case is a no-op, or to false otherwise, and return 0. Upon failure, return -1 with errno set. */ extern int u8_is_uppercase (const uint8_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u16_is_uppercase (const uint16_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u32_is_uppercase (const uint32_t *s, size_t n, const char *iso639_language, bool *resultp); /* Set *RESULTP to true if mapping NFD(S) to lower case is a no-op, or to false otherwise, and return 0. Upon failure, return -1 with errno set. */ extern int u8_is_lowercase (const uint8_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u16_is_lowercase (const uint16_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u32_is_lowercase (const uint32_t *s, size_t n, const char *iso639_language, bool *resultp); /* Set *RESULTP to true if mapping NFD(S) to title case is a no-op, or to false otherwise, and return 0. Upon failure, return -1 with errno set. */ extern int u8_is_titlecase (const uint8_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u16_is_titlecase (const uint16_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u32_is_titlecase (const uint32_t *s, size_t n, const char *iso639_language, bool *resultp); /* Set *RESULTP to true if applying case folding to NFD(S) is a no-op, or to false otherwise, and return 0. Upon failure, return -1 with errno set. */ extern int u8_is_casefolded (const uint8_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u16_is_casefolded (const uint16_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u32_is_casefolded (const uint32_t *s, size_t n, const char *iso639_language, bool *resultp); /* Set *RESULTP to true if case matters for S, that is, if mapping NFD(S) to either upper case or lower case or title case is not a no-op. Set *RESULTP to false if NFD(S) maps to itself under the upper case mapping, under the lower case mapping, and under the title case mapping; in other words, when NFD(S) consists entirely of caseless characters. Upon failure, return -1 with errno set. */ extern int u8_is_cased (const uint8_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u16_is_cased (const uint16_t *s, size_t n, const char *iso639_language, bool *resultp); extern int u32_is_cased (const uint32_t *s, size_t n, const char *iso639_language, bool *resultp); /* ========================================================================= */ #ifdef __cplusplus } #endif #endif /* _UNICASE_H */ datamash-1.9/lib/unictype/0000755000000000000000000000000014774035553011277 5datamash-1.9/lib/unictype/bitmap.h0000644000000000000000000000330214767401140012631 /* Three-level bitmap lookup. Copyright (C) 2000-2002, 2005-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2000-2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ static inline int bitmap_lookup (const void *table, ucs4_t uc); /* These values are currently hardcoded into gen-uni-tables.c, function output_predicate(). */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static inline int bitmap_lookup (const void *table, ucs4_t uc) { unsigned int index1 = uc >> header_0; if (index1 < ((const int *) table)[0]) { int lookup1 = ((const int *) table)[1 + index1]; if (lookup1 >= 0) { unsigned int index2 = (uc >> header_2) & header_3; int lookup2 = ((const short *) table)[lookup1 + index2]; if (lookup2 >= 0) { unsigned int index3 = (uc >> 5) & header_4; unsigned int lookup3 = ((const unsigned int *) table)[lookup2 + index3]; return (lookup3 >> (uc & 0x1f)) & 1; } } } return 0; } datamash-1.9/lib/unictype/ctype_alnum.c0000644000000000000000000000205714767401140013676 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_alnum table. */ #include "ctype_alnum.h" bool uc_is_alnum (ucs4_t uc) { return bitmap_lookup (&u_is_alnum, uc); } datamash-1.9/lib/unictype/ctype_alnum.h0000644000000000000000000012030214767401140013675 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[4]; short level2[4 << 7]; unsigned int level3[85 << 4]; } u_is_alnum = { { 4 }, { 5 * sizeof (int) / sizeof (short) + 0, 5 * sizeof (int) / sizeof (short) + 128, 5 * sizeof (int) / sizeof (short) + 256, 5 * sizeof (int) / sizeof (short) + 384 }, { 5 + 512 * sizeof (short) / sizeof (int) + 0, 5 + 512 * sizeof (short) / sizeof (int) + 16, 5 + 512 * sizeof (short) / sizeof (int) + 32, 5 + 512 * sizeof (short) / sizeof (int) + 48, 5 + 512 * sizeof (short) / sizeof (int) + 64, 5 + 512 * sizeof (short) / sizeof (int) + 80, 5 + 512 * sizeof (short) / sizeof (int) + 96, 5 + 512 * sizeof (short) / sizeof (int) + 112, 5 + 512 * sizeof (short) / sizeof (int) + 128, 5 + 512 * sizeof (short) / sizeof (int) + 144, 5 + 512 * sizeof (short) / sizeof (int) + 160, 5 + 512 * sizeof (short) / sizeof (int) + 176, 5 + 512 * sizeof (short) / sizeof (int) + 192, 5 + 512 * sizeof (short) / sizeof (int) + 208, 5 + 512 * sizeof (short) / sizeof (int) + 224, 5 + 512 * sizeof (short) / sizeof (int) + 240, 5 + 512 * sizeof (short) / sizeof (int) + 256, -1, 5 + 512 * sizeof (short) / sizeof (int) + 272, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 288, 5 + 512 * sizeof (short) / sizeof (int) + 304, 5 + 512 * sizeof (short) / sizeof (int) + 320, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 352, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 368, 5 + 512 * sizeof (short) / sizeof (int) + 384, 5 + 512 * sizeof (short) / sizeof (int) + 400, 5 + 512 * sizeof (short) / sizeof (int) + 416, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 432, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 448, 5 + 512 * sizeof (short) / sizeof (int) + 464, 5 + 512 * sizeof (short) / sizeof (int) + 480, 5 + 512 * sizeof (short) / sizeof (int) + 496, 5 + 512 * sizeof (short) / sizeof (int) + 512, 5 + 512 * sizeof (short) / sizeof (int) + 528, 5 + 512 * sizeof (short) / sizeof (int) + 544, 5 + 512 * sizeof (short) / sizeof (int) + 560, 5 + 512 * sizeof (short) / sizeof (int) + 576, 5 + 512 * sizeof (short) / sizeof (int) + 592, 5 + 512 * sizeof (short) / sizeof (int) + 608, 5 + 512 * sizeof (short) / sizeof (int) + 624, 5 + 512 * sizeof (short) / sizeof (int) + 640, 5 + 512 * sizeof (short) / sizeof (int) + 656, 5 + 512 * sizeof (short) / sizeof (int) + 672, 5 + 512 * sizeof (short) / sizeof (int) + 688, 5 + 512 * sizeof (short) / sizeof (int) + 704, 5 + 512 * sizeof (short) / sizeof (int) + 720, 5 + 512 * sizeof (short) / sizeof (int) + 736, 5 + 512 * sizeof (short) / sizeof (int) + 752, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 768, 5 + 512 * sizeof (short) / sizeof (int) + 784, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 800, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 816, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 832, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 848, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 864, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 880, 5 + 512 * sizeof (short) / sizeof (int) + 896, 5 + 512 * sizeof (short) / sizeof (int) + 912, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 928, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 944, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 960, 5 + 512 * sizeof (short) / sizeof (int) + 976, 5 + 512 * sizeof (short) / sizeof (int) + 992, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1008, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1024, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1040, 5 + 512 * sizeof (short) / sizeof (int) + 1056, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1072, 5 + 512 * sizeof (short) / sizeof (int) + 1088, 5 + 512 * sizeof (short) / sizeof (int) + 1104, 5 + 512 * sizeof (short) / sizeof (int) + 1120, 5 + 512 * sizeof (short) / sizeof (int) + 1136, 5 + 512 * sizeof (short) / sizeof (int) + 1152, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1168, 5 + 512 * sizeof (short) / sizeof (int) + 1184, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1200, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1216, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1232, 5 + 512 * sizeof (short) / sizeof (int) + 1248, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1264, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1280, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1296, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1312, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1328, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000000U, 0x03FF0000U, 0x07FFFFFEU, 0x07FFFFFEU, 0x00000000U, 0x04200400U, 0xFF7FFFFFU, 0xFF7FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0003FFC3U, 0x0000501FU, 0x00000000U, 0x00000000U, 0x00000020U, 0xBCDF0000U, 0xFFFFD740U, 0xFFFFFFFBU, 0xFFFFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFC03U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFEFFFFU, 0x027FFFFFU, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0xFFFF0000U, 0x000787FFU, 0x00000000U, 0xFFFFFFFFU, 0x000007FFU, 0xFFFEC3FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x002FFFFFU, 0x9FFFC060U, 0xFFFD0000U, 0x0000FFFFU, 0xFFFFE000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0002003FU, 0xFFFFFFFFU, 0x043007FFU, 0x043FFFFFU, 0x00000110U, 0x01FFFFFFU, 0xFFFF07FFU, 0x00007EFFU, 0xFFFFFFFFU, 0x000003FFU, 0x00000000U, 0xFFFFFFF0U, 0x23FFFFFFU, 0xFF010000U, 0xFFFEFFC3U, 0xFFF99FE1U, 0x23C5FDFFU, 0xB0004000U, 0x1003FFC3U, 0xFFF987E0U, 0x036DFDFFU, 0x5E000000U, 0x001CFFC0U, 0xFFFBBFE0U, 0x23EDFDFFU, 0x00010000U, 0x0200FFC3U, 0xFFF99FE0U, 0x23EDFDFFU, 0xB0000000U, 0x0002FFC3U, 0xD63DC7E8U, 0x03FFC718U, 0x00010000U, 0x0000FFC0U, 0xFFFDDFE0U, 0x23FFFDFFU, 0x27000000U, 0x0000FFC3U, 0xFFFDDFE1U, 0x23EFFDFFU, 0x60000000U, 0x0006FFC3U, 0xFFFDDFF0U, 0x27FFFFFFU, 0x80704000U, 0xFC00FFC3U, 0xFC7FFFE0U, 0x2FFBFFFFU, 0x0000007FU, 0x0000FFC0U, 0xFFFFFFFEU, 0x07FF7FFFU, 0x03FF7FBFU, 0x00000000U, 0xFFFFF7D6U, 0x200DFFAFU, 0xF3FF005FU, 0x00000000U, 0x00000001U, 0x000003FFU, 0xFFFFFEFFU, 0x00001FFFU, 0x00001F00U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x800007FFU, 0x3C3F03FFU, 0xFFE1C062U, 0x03FF4003U, 0xFFFFFFFFU, 0xFFFF20BFU, 0xF7FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3D7F3DFFU, 0xFFFFFFFFU, 0xFFFF3DFFU, 0x7F3DFFFFU, 0xFF7FFF3DU, 0xFFFFFFFFU, 0xFF3DFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x0000FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF9FFFU, 0x07FFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFC7FFU, 0x8003FFFFU, 0x0003FFFFU, 0x0003FFFFU, 0x0001DFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x10800000U, 0x000003FFU, 0x03FF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFFFFFU, 0xFFFFFF9FU, 0xFFFF05FFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x7FFFFFFFU, 0x00000000U, 0xFFFFFFC0U, 0x001F3FFFU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0x03FF03FFU, 0x00000000U, 0x007FFFFFU, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x03FF03FFU, 0x00000080U, 0x00000000U, 0x00000000U, 0xFFFFFFE0U, 0x000FFFFFU, 0x03FF1FE0U, 0x00000000U, 0xFFFFFFF8U, 0xFFFFC001U, 0xFFFFFFFFU, 0x0000003FU, 0xFFFFFFFFU, 0x0000000FU, 0xFFFFE3FFU, 0x3FFFFFFFU, 0xFFFF07FFU, 0xE7FFFFFFU, 0x00000000U, 0x046FDE00U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFFU, 0xAAFF3F3FU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0x5FDFFFFFU, 0x0FCF1FDCU, 0x1FDC1FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x80020000U, 0x1FFF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3E2FFC84U, 0xF3FFBF50U, 0x000043E0U, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF0000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000C781FU, 0xFFFFFFFFU, 0xFFFF20BFU, 0xFFFFFFFFU, 0x000080FFU, 0x007FFFFFU, 0x7F7F7F7FU, 0x7F7F7F7FU, 0x00000000U, 0x00000000U, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x000000E0U, 0x1F3E03FEU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xE07FFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xF7FFFFFFU, 0xFFFFFFE0U, 0xFFFEFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00007FFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00001FFFU, 0x00000000U, 0xFFFF0000U, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF1FFFU, 0x00000FFFU, 0xFFFFFFFFU, 0x80007FFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0xFF800000U, 0xFFFFFFFCU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFF9FFU, 0xFFFFFFFFU, 0x1FEB3FFFU, 0xFFFC0000U, 0xFFFFF7BBU, 0x00000007U, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFCU, 0x000FFFFFU, 0x03FF0000U, 0x68FC0000U, 0xFFFFFFFFU, 0xFFFF003FU, 0x0000007FU, 0x1FFFFFFFU, 0xFFFFFFF0U, 0x0007FFFFU, 0x03FF8000U, 0x7FFFFFDFU, 0xFFFFFFFFU, 0x000001FFU, 0x03FF0FF7U, 0xC47FFFFFU, 0xFFFFFFFFU, 0x3E62FFFFU, 0x38000005U, 0x001C07FFU, 0x007E7E7EU, 0xFFFF7F7FU, 0xF7FFFFFFU, 0xFFFF03FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF0007U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF000FU, 0xFFFFF87FU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0xA0F8007FU, 0x5F7FFDFFU, 0xFFFFFFDBU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0003FFFFU, 0xFFF80000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFCFFFFU, 0xFFFFFFFFU, 0x000000FFU, 0x0FFF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFDF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFFFFFFU, 0x03FF0000U, 0x07FFFFFEU, 0x07FFFFFEU, 0xFFFFFFC0U, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x1CFCFCFCU, 0x00000000U, 0xFFFFEFFFU, 0xB7FFFF7FU, 0x3FFF3FFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x1FFFFFFFU, 0xFFFFFFFFU, 0x0001FFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFE000U, 0xFFFF07FFU, 0x003FFFFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0x003EFF0FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF03FFU, 0xFF0FFFFFU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xF7FF000FU, 0xFFB7F7FFU, 0x1BFBFFFBU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x003FFFFFU, 0x000000FFU, 0xFFFFFFBFU, 0x07FDFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFD3FU, 0x91BFFFFFU, 0x003FFFFFU, 0x007FFFFFU, 0x7FFFFFFFU, 0x00000000U, 0x00000000U, 0x0037FFFFU, 0x003FFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xC0FFFFFFU, 0x00000000U, 0x00000000U, 0xFEEF0001U, 0x003FFFFFU, 0x00000000U, 0x1FFFFFFFU, 0x1FFFFFFFU, 0x00000000U, 0xFFFFFEFFU, 0x0000001FU, 0xFFFFFFFFU, 0x003FFFFFU, 0x003FFFFFU, 0x0007FFFFU, 0x0003FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0x03FF000FU, 0xFFFFFFFFU, 0xFFFF803FU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x000303FFU, 0x0000001CU, 0x00000000U, 0x1FFFFFFFU, 0xFFFF0080U, 0x0000003FU, 0xFFFF0000U, 0x00000003U, 0xFFFF0000U, 0x0000001FU, 0x007FFFFFU, 0xFFFFFFF8U, 0x00FFFFFFU, 0x00000000U, 0x0026FFC0U, 0xFFFFFFF8U, 0x0000FFFFU, 0xFFFF0000U, 0x03FF01FFU, 0xFFFFFFF8U, 0xFFC0007FU, 0xFFFF0090U, 0x0047FFFFU, 0xFFFFFFF8U, 0x0007FFFFU, 0x17FF001EU, 0x00000000U, 0xFFFBFFFFU, 0x80000FFFU, 0x00000001U, 0x00000000U, 0xBFFFBD7FU, 0xFFFF01FFU, 0x7FFFFFFFU, 0x03FF0000U, 0xFFF99FE0U, 0x23EDFDFFU, 0xE0010000U, 0x00000003U, 0xFFFF4BFFU, 0x00BFFFFFU, 0x000A0000U, 0x00000000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x83FF0780U, 0x00000003U, 0xFFFFFFFFU, 0x0000FFFFU, 0x03FF00B0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00007FFFU, 0x0F000000U, 0x00000000U, 0xFFFFFFFFU, 0x0000FFFFU, 0x03FF0010U, 0x00000000U, 0xFFFFFFFFU, 0x010007FFU, 0xFFFF03FFU, 0x0000000FU, 0x07FFFFFFU, 0x03FF0000U, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x800003FFU, 0xFF6FF27FU, 0x8000FFFFU, 0x03FF0002U, 0x00000000U, 0x00000000U, 0xFFFFFCFFU, 0x0001FFFFU, 0x0000000AU, 0xFFFFF801U, 0x0407FFFFU, 0xF0010000U, 0xFFFFFFFFU, 0x200003FFU, 0xFFFF0000U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FF0001U, 0xFFFFFDFFU, 0x00007FFFU, 0x03FF0001U, 0xFFFC0000U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFB7FU, 0x0001FFFFU, 0x03FF0040U, 0xFFFFFDBFU, 0x010003FFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0007FFFFU, 0xFFFDFFF4U, 0x000FFFFFU, 0x03FF0000U, 0x00000000U, 0x00000000U, 0x00010000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00007FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0001FFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x0000007EU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3FFFFFFFU, 0x03FF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x7FFFFFFFU, 0xFFFF03FFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0xFFFF03FFU, 0x00003FFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x03FF000FU, 0xE0FFFFF8U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FF1FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000107FFU, 0x00000000U, 0xFFF80000U, 0x00000000U, 0x00000000U, 0x0000000BU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x80000000U, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x6FEF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00040007U, 0x00270000U, 0xFFFF00F0U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFF07FFU, 0x03FF01FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFC00000U, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xFFFFFFFFU, 0xDFFFFFFFU, 0xEBFFDE64U, 0xFFFFFFEFU, 0xFFFFFFFFU, 0xDFDFE7BFU, 0x7BFFFFFFU, 0xFFFDFC5FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFF3FU, 0xF7FFFFFDU, 0xF7FFFFFFU, 0xFFDFFFFFU, 0xFFDFFFFFU, 0xFFFF7FFFU, 0xFFFF7FFFU, 0xFFFFFDFFU, 0xFFFFFDFFU, 0xFFFFCFF7U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0x000007E0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0x00003FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x3F801FFFU, 0x000043FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x00003FFFU, 0xFFFFFFFFU, 0x03FF0FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x03FF0FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x07FF3FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFF6F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000001FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF080FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFEFU, 0x0AF7FE96U, 0xAA96EA84U, 0x5EF7F796U, 0x0FFFFBFFU, 0x0FFFFBEEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFF1FFFU, 0xFFFF03FFU, 0xFFFF03FFU, 0x000007FFU, 0x00000020U, 0x00000000U, 0xFFFFFFC0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x03FF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0003U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_alpha.c0000644000000000000000000000205714767401140013647 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_alpha table. */ #include "ctype_alpha.h" bool uc_is_alpha (ucs4_t uc) { return bitmap_lookup (&u_is_alpha, uc); } datamash-1.9/lib/unictype/ctype_alpha.h0000644000000000000000000012030214767401140013646 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[4]; short level2[4 << 7]; unsigned int level3[85 << 4]; } u_is_alpha = { { 4 }, { 5 * sizeof (int) / sizeof (short) + 0, 5 * sizeof (int) / sizeof (short) + 128, 5 * sizeof (int) / sizeof (short) + 256, 5 * sizeof (int) / sizeof (short) + 384 }, { 5 + 512 * sizeof (short) / sizeof (int) + 0, 5 + 512 * sizeof (short) / sizeof (int) + 16, 5 + 512 * sizeof (short) / sizeof (int) + 32, 5 + 512 * sizeof (short) / sizeof (int) + 48, 5 + 512 * sizeof (short) / sizeof (int) + 64, 5 + 512 * sizeof (short) / sizeof (int) + 80, 5 + 512 * sizeof (short) / sizeof (int) + 96, 5 + 512 * sizeof (short) / sizeof (int) + 112, 5 + 512 * sizeof (short) / sizeof (int) + 128, 5 + 512 * sizeof (short) / sizeof (int) + 144, 5 + 512 * sizeof (short) / sizeof (int) + 160, 5 + 512 * sizeof (short) / sizeof (int) + 176, 5 + 512 * sizeof (short) / sizeof (int) + 192, 5 + 512 * sizeof (short) / sizeof (int) + 208, 5 + 512 * sizeof (short) / sizeof (int) + 224, 5 + 512 * sizeof (short) / sizeof (int) + 240, 5 + 512 * sizeof (short) / sizeof (int) + 256, -1, 5 + 512 * sizeof (short) / sizeof (int) + 272, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 288, 5 + 512 * sizeof (short) / sizeof (int) + 304, 5 + 512 * sizeof (short) / sizeof (int) + 320, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 352, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 368, 5 + 512 * sizeof (short) / sizeof (int) + 384, 5 + 512 * sizeof (short) / sizeof (int) + 400, 5 + 512 * sizeof (short) / sizeof (int) + 416, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 432, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 448, 5 + 512 * sizeof (short) / sizeof (int) + 464, 5 + 512 * sizeof (short) / sizeof (int) + 480, 5 + 512 * sizeof (short) / sizeof (int) + 496, 5 + 512 * sizeof (short) / sizeof (int) + 512, 5 + 512 * sizeof (short) / sizeof (int) + 528, 5 + 512 * sizeof (short) / sizeof (int) + 544, 5 + 512 * sizeof (short) / sizeof (int) + 560, 5 + 512 * sizeof (short) / sizeof (int) + 576, 5 + 512 * sizeof (short) / sizeof (int) + 592, 5 + 512 * sizeof (short) / sizeof (int) + 608, 5 + 512 * sizeof (short) / sizeof (int) + 624, 5 + 512 * sizeof (short) / sizeof (int) + 640, 5 + 512 * sizeof (short) / sizeof (int) + 656, 5 + 512 * sizeof (short) / sizeof (int) + 672, 5 + 512 * sizeof (short) / sizeof (int) + 688, 5 + 512 * sizeof (short) / sizeof (int) + 704, 5 + 512 * sizeof (short) / sizeof (int) + 720, 5 + 512 * sizeof (short) / sizeof (int) + 736, 5 + 512 * sizeof (short) / sizeof (int) + 752, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 768, 5 + 512 * sizeof (short) / sizeof (int) + 784, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 800, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 816, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 832, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 848, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 864, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 880, 5 + 512 * sizeof (short) / sizeof (int) + 896, 5 + 512 * sizeof (short) / sizeof (int) + 912, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 928, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 944, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 960, 5 + 512 * sizeof (short) / sizeof (int) + 976, 5 + 512 * sizeof (short) / sizeof (int) + 992, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1008, -1, -1, -1, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1024, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1040, 5 + 512 * sizeof (short) / sizeof (int) + 1056, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1072, 5 + 512 * sizeof (short) / sizeof (int) + 1088, 5 + 512 * sizeof (short) / sizeof (int) + 1104, 5 + 512 * sizeof (short) / sizeof (int) + 1120, 5 + 512 * sizeof (short) / sizeof (int) + 1136, 5 + 512 * sizeof (short) / sizeof (int) + 1152, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1168, 5 + 512 * sizeof (short) / sizeof (int) + 1184, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 1200, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1216, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1232, 5 + 512 * sizeof (short) / sizeof (int) + 1248, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1264, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1280, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1296, -1, -1, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1312, -1, -1, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1328, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 336, 5 + 512 * sizeof (short) / sizeof (int) + 1344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000000U, 0x00000000U, 0x07FFFFFEU, 0x07FFFFFEU, 0x00000000U, 0x04200400U, 0xFF7FFFFFU, 0xFF7FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0003FFC3U, 0x0000501FU, 0x00000000U, 0x00000000U, 0x00000020U, 0xBCDF0000U, 0xFFFFD740U, 0xFFFFFFFBU, 0xFFFFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFC03U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFEFFFFU, 0x027FFFFFU, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0xFFFF0000U, 0x000787FFU, 0x00000000U, 0xFFFFFFFFU, 0x000007FFU, 0xFFFEC3FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x002FFFFFU, 0x9FFFC060U, 0xFFFD0000U, 0x0000FFFFU, 0xFFFFE000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0002003FU, 0xFFFFFFFFU, 0x043007FFU, 0x043FFFFFU, 0x00000110U, 0x01FFFFFFU, 0xFFFF07FFU, 0x00007EFFU, 0xFFFFFFFFU, 0x000003FFU, 0x00000000U, 0xFFFFFFF0U, 0x23FFFFFFU, 0xFF010000U, 0xFFFEFFC3U, 0xFFF99FE1U, 0x23C5FDFFU, 0xB0004000U, 0x1003FFC3U, 0xFFF987E0U, 0x036DFDFFU, 0x5E000000U, 0x001CFFC0U, 0xFFFBBFE0U, 0x23EDFDFFU, 0x00010000U, 0x0200FFC3U, 0xFFF99FE0U, 0x23EDFDFFU, 0xB0000000U, 0x0002FFC3U, 0xD63DC7E8U, 0x03FFC718U, 0x00010000U, 0x0000FFC0U, 0xFFFDDFE0U, 0x23FFFDFFU, 0x27000000U, 0x0000FFC3U, 0xFFFDDFE1U, 0x23EFFDFFU, 0x60000000U, 0x0006FFC3U, 0xFFFDDFF0U, 0x27FFFFFFU, 0x80704000U, 0xFC00FFC3U, 0xFC7FFFE0U, 0x2FFBFFFFU, 0x0000007FU, 0x0000FFC0U, 0xFFFFFFFEU, 0x07FF7FFFU, 0x03FF7FBFU, 0x00000000U, 0xFFFFF7D6U, 0x200DFFAFU, 0xF3FF005FU, 0x00000000U, 0x00000001U, 0x000003FFU, 0xFFFFFEFFU, 0x00001FFFU, 0x00001F00U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x800007FFU, 0x3C3F03FFU, 0xFFE1C062U, 0x03FF4003U, 0xFFFFFFFFU, 0xFFFF20BFU, 0xF7FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3D7F3DFFU, 0xFFFFFFFFU, 0xFFFF3DFFU, 0x7F3DFFFFU, 0xFF7FFF3DU, 0xFFFFFFFFU, 0xFF3DFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x0000FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF9FFFU, 0x07FFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFC7FFU, 0x8003FFFFU, 0x0003FFFFU, 0x0003FFFFU, 0x0001DFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x10800000U, 0x000003FFU, 0x03FF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFFFFFU, 0xFFFFFF9FU, 0xFFFF05FFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x7FFFFFFFU, 0x00000000U, 0xFFFFFFC0U, 0x001F3FFFU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0x03FF03FFU, 0x00000000U, 0x007FFFFFU, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x03FF03FFU, 0x00000080U, 0x00000000U, 0x00000000U, 0xFFFFFFE0U, 0x000FFFFFU, 0x03FF1FE0U, 0x00000000U, 0xFFFFFFF8U, 0xFFFFC001U, 0xFFFFFFFFU, 0x0000003FU, 0xFFFFFFFFU, 0x0000000FU, 0xFFFFE3FFU, 0x3FFFFFFFU, 0xFFFF07FFU, 0xE7FFFFFFU, 0x00000000U, 0x046FDE00U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFFU, 0xAAFF3F3FU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0x5FDFFFFFU, 0x0FCF1FDCU, 0x1FDC1FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x80020000U, 0x1FFF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3E2FFC84U, 0xF3FFBF50U, 0x000043E0U, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF0000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000C781FU, 0xFFFFFFFFU, 0xFFFF20BFU, 0xFFFFFFFFU, 0x000080FFU, 0x007FFFFFU, 0x7F7F7F7FU, 0x7F7F7F7FU, 0x00000000U, 0x00000000U, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x000000E0U, 0x1F3E03FEU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xE07FFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xF7FFFFFFU, 0xFFFFFFE0U, 0xFFFEFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00007FFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00001FFFU, 0x00000000U, 0xFFFF0000U, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF1FFFU, 0x00000FFFU, 0xFFFFFFFFU, 0x80007FFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0xFF800000U, 0xFFFFFFFCU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFF9FFU, 0xFFFFFFFFU, 0x1FEB3FFFU, 0xFFFC0000U, 0xFFFFF7BBU, 0x00000007U, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFCU, 0x000FFFFFU, 0x03FF0000U, 0x68FC0000U, 0xFFFFFFFFU, 0xFFFF003FU, 0x0000007FU, 0x1FFFFFFFU, 0xFFFFFFF0U, 0x0007FFFFU, 0x03FF8000U, 0x7FFFFFDFU, 0xFFFFFFFFU, 0x000001FFU, 0x03FF0FF7U, 0xC47FFFFFU, 0xFFFFFFFFU, 0x3E62FFFFU, 0x38000005U, 0x001C07FFU, 0x007E7E7EU, 0xFFFF7F7FU, 0xF7FFFFFFU, 0xFFFF03FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF0007U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF000FU, 0xFFFFF87FU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0xA0F8007FU, 0x5F7FFDFFU, 0xFFFFFFDBU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0003FFFFU, 0xFFF80000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFCFFFFU, 0xFFFFFFFFU, 0x000000FFU, 0x0FFF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFDF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFFFFFFU, 0x03FF0000U, 0x07FFFFFEU, 0x07FFFFFEU, 0xFFFFFFC0U, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x1CFCFCFCU, 0x00000000U, 0xFFFFEFFFU, 0xB7FFFF7FU, 0x3FFF3FFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x1FFFFFFFU, 0xFFFFFFFFU, 0x0001FFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFE000U, 0xFFFF07FFU, 0x003FFFFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0x003EFF0FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF03FFU, 0xFF0FFFFFU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xF7FF000FU, 0xFFB7F7FFU, 0x1BFBFFFBU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x003FFFFFU, 0x000000FFU, 0xFFFFFFBFU, 0x07FDFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFD3FU, 0x91BFFFFFU, 0x003FFFFFU, 0x007FFFFFU, 0x7FFFFFFFU, 0x00000000U, 0x00000000U, 0x0037FFFFU, 0x003FFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xC0FFFFFFU, 0x00000000U, 0x00000000U, 0xFEEF0001U, 0x003FFFFFU, 0x00000000U, 0x1FFFFFFFU, 0x1FFFFFFFU, 0x00000000U, 0xFFFFFEFFU, 0x0000001FU, 0xFFFFFFFFU, 0x003FFFFFU, 0x003FFFFFU, 0x0007FFFFU, 0x0003FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0x03FF000FU, 0xFFFFFFFFU, 0xFFFF803FU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x000303FFU, 0x0000001CU, 0x00000000U, 0x1FFFFFFFU, 0xFFFF0080U, 0x0000003FU, 0xFFFF0000U, 0x00000003U, 0xFFFF0000U, 0x0000001FU, 0x007FFFFFU, 0xFFFFFFF8U, 0x00FFFFFFU, 0x00000000U, 0x0026FFC0U, 0xFFFFFFF8U, 0x0000FFFFU, 0xFFFF0000U, 0x03FF01FFU, 0xFFFFFFF8U, 0xFFC0007FU, 0xFFFF0090U, 0x0047FFFFU, 0xFFFFFFF8U, 0x0007FFFFU, 0x17FF001EU, 0x00000000U, 0xFFFBFFFFU, 0x80000FFFU, 0x00000001U, 0x00000000U, 0xBFFFBD7FU, 0xFFFF01FFU, 0x7FFFFFFFU, 0x03FF0000U, 0xFFF99FE0U, 0x23EDFDFFU, 0xE0010000U, 0x00000003U, 0xFFFF4BFFU, 0x00BFFFFFU, 0x000A0000U, 0x00000000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x83FF0780U, 0x00000003U, 0xFFFFFFFFU, 0x0000FFFFU, 0x03FF00B0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00007FFFU, 0x0F000000U, 0x00000000U, 0xFFFFFFFFU, 0x0000FFFFU, 0x03FF0010U, 0x00000000U, 0xFFFFFFFFU, 0x010007FFU, 0xFFFF03FFU, 0x0000000FU, 0x07FFFFFFU, 0x03FF0000U, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x800003FFU, 0xFF6FF27FU, 0x8000FFFFU, 0x03FF0002U, 0x00000000U, 0x00000000U, 0xFFFFFCFFU, 0x0001FFFFU, 0x0000000AU, 0xFFFFF801U, 0x0407FFFFU, 0xF0010000U, 0xFFFFFFFFU, 0x200003FFU, 0xFFFF0000U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FF0001U, 0xFFFFFDFFU, 0x00007FFFU, 0x03FF0001U, 0xFFFC0000U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFB7FU, 0x0001FFFFU, 0x03FF0040U, 0xFFFFFDBFU, 0x010003FFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0007FFFFU, 0xFFFDFFF4U, 0x000FFFFFU, 0x03FF0000U, 0x00000000U, 0x00000000U, 0x00010000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00007FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0001FFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x0000007EU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3FFFFFFFU, 0x03FF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x7FFFFFFFU, 0xFFFF03FFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0xFFFF03FFU, 0x00003FFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x03FF000FU, 0xE0FFFFF8U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FF1FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000107FFU, 0x00000000U, 0xFFF80000U, 0x00000000U, 0x00000000U, 0x0000000BU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x80000000U, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x6FEF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00040007U, 0x00270000U, 0xFFFF00F0U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFF07FFU, 0x03FF01FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFC00000U, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xFFFFFFFFU, 0xDFFFFFFFU, 0xEBFFDE64U, 0xFFFFFFEFU, 0xFFFFFFFFU, 0xDFDFE7BFU, 0x7BFFFFFFU, 0xFFFDFC5FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFF3FU, 0xF7FFFFFDU, 0xF7FFFFFFU, 0xFFDFFFFFU, 0xFFDFFFFFU, 0xFFFF7FFFU, 0xFFFF7FFFU, 0xFFFFFDFFU, 0xFFFFFDFFU, 0xFFFFCFF7U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0x000007E0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0x00003FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x3F801FFFU, 0x000043FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x00003FFFU, 0xFFFFFFFFU, 0x03FF0FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x03FF0FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x07FF3FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFF6F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000001FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF080FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFEFU, 0x0AF7FE96U, 0xAA96EA84U, 0x5EF7F796U, 0x0FFFFBFFU, 0x0FFFFBEEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFF1FFFU, 0xFFFF03FFU, 0xFFFF03FFU, 0x000007FFU, 0x00000020U, 0x00000000U, 0xFFFFFFC0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x03FF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0003U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_blank.c0000644000000000000000000000205714767401140013651 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_blank table. */ #include "ctype_blank.h" bool uc_is_blank (ucs4_t uc) { return bitmap_lookup (&u_is_blank, uc); } datamash-1.9/lib/unictype/ctype_blank.h0000644000000000000000000000716214767401140013660 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[1]; short level2[1 << 7]; unsigned int level3[4 << 4]; } u_is_blank = { { 1 }, { 2 * sizeof (int) / sizeof (short) + 0 }, { 2 + 128 * sizeof (short) / sizeof (int) + 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 16, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 32, -1, -1, -1, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000200U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000077FU, 0x00000000U, 0x80000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_cntrl.c0000644000000000000000000000205714767401140013704 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_cntrl table. */ #include "ctype_cntrl.h" bool uc_is_cntrl (ucs4_t uc) { return bitmap_lookup (&u_is_cntrl, uc); } datamash-1.9/lib/unictype/ctype_cntrl.h0000644000000000000000000000612214767401140013706 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[1]; short level2[1 << 7]; unsigned int level3[2 << 4]; } u_is_cntrl = { { 1 }, { 2 * sizeof (int) / sizeof (short) + 0 }, { 2 + 128 * sizeof (short) / sizeof (int) + 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 16, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x80000000U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000300U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_digit.c0000644000000000000000000000205714767401140013662 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_digit table. */ #include "ctype_digit.h" bool uc_is_digit (ucs4_t uc) { return bitmap_lookup (&u_is_digit, uc); } datamash-1.9/lib/unictype/ctype_digit.h0000644000000000000000000000550214767401140013665 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[1]; short level2[1 << 7]; unsigned int level3[1 << 4]; } u_is_digit = { { 1 }, { 2 * sizeof (int) / sizeof (short) + 0 }, { 2 + 128 * sizeof (short) / sizeof (int) + 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000000U, 0x03FF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_graph.c0000644000000000000000000000205714767401140013663 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_graph table. */ #include "ctype_graph.h" bool uc_is_graph (ucs4_t uc) { return bitmap_lookup (&u_is_graph, uc); } datamash-1.9/lib/unictype/ctype_graph.h0000644000000000000000000015075314767401140013677 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[17]; short level2[6 << 7]; unsigned int level3[94 << 4]; } u_is_graph = { { 17 }, { 18 * sizeof (int) / sizeof (short) + 0, 18 * sizeof (int) / sizeof (short) + 128, 18 * sizeof (int) / sizeof (short) + 256, 18 * sizeof (int) / sizeof (short) + 384, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 * sizeof (int) / sizeof (short) + 512, 18 * sizeof (int) / sizeof (short) + 640, 18 * sizeof (int) / sizeof (short) + 640 }, { 18 + 768 * sizeof (short) / sizeof (int) + 0, 18 + 768 * sizeof (short) / sizeof (int) + 16, 18 + 768 * sizeof (short) / sizeof (int) + 32, 18 + 768 * sizeof (short) / sizeof (int) + 48, 18 + 768 * sizeof (short) / sizeof (int) + 64, 18 + 768 * sizeof (short) / sizeof (int) + 80, 18 + 768 * sizeof (short) / sizeof (int) + 96, 18 + 768 * sizeof (short) / sizeof (int) + 112, 18 + 768 * sizeof (short) / sizeof (int) + 128, 18 + 768 * sizeof (short) / sizeof (int) + 144, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 176, 18 + 768 * sizeof (short) / sizeof (int) + 192, 18 + 768 * sizeof (short) / sizeof (int) + 208, 18 + 768 * sizeof (short) / sizeof (int) + 224, 18 + 768 * sizeof (short) / sizeof (int) + 240, 18 + 768 * sizeof (short) / sizeof (int) + 256, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 272, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 288, 18 + 768 * sizeof (short) / sizeof (int) + 304, 18 + 768 * sizeof (short) / sizeof (int) + 320, 18 + 768 * sizeof (short) / sizeof (int) + 336, 18 + 768 * sizeof (short) / sizeof (int) + 352, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 368, 18 + 768 * sizeof (short) / sizeof (int) + 384, 18 + 768 * sizeof (short) / sizeof (int) + 400, 18 + 768 * sizeof (short) / sizeof (int) + 416, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 432, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 448, 18 + 768 * sizeof (short) / sizeof (int) + 464, 18 + 768 * sizeof (short) / sizeof (int) + 480, 18 + 768 * sizeof (short) / sizeof (int) + 496, 18 + 768 * sizeof (short) / sizeof (int) + 512, 18 + 768 * sizeof (short) / sizeof (int) + 528, 18 + 768 * sizeof (short) / sizeof (int) + 544, 18 + 768 * sizeof (short) / sizeof (int) + 560, 18 + 768 * sizeof (short) / sizeof (int) + 576, 18 + 768 * sizeof (short) / sizeof (int) + 592, 18 + 768 * sizeof (short) / sizeof (int) + 608, 18 + 768 * sizeof (short) / sizeof (int) + 624, 18 + 768 * sizeof (short) / sizeof (int) + 640, 18 + 768 * sizeof (short) / sizeof (int) + 656, 18 + 768 * sizeof (short) / sizeof (int) + 672, 18 + 768 * sizeof (short) / sizeof (int) + 688, 18 + 768 * sizeof (short) / sizeof (int) + 704, 18 + 768 * sizeof (short) / sizeof (int) + 720, 18 + 768 * sizeof (short) / sizeof (int) + 736, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 752, 18 + 768 * sizeof (short) / sizeof (int) + 768, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 784, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 800, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 816, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 832, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 848, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 864, 18 + 768 * sizeof (short) / sizeof (int) + 880, 18 + 768 * sizeof (short) / sizeof (int) + 896, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 912, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 928, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 944, 18 + 768 * sizeof (short) / sizeof (int) + 960, 18 + 768 * sizeof (short) / sizeof (int) + 976, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 992, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1008, 18 + 768 * sizeof (short) / sizeof (int) + 1024, 18 + 768 * sizeof (short) / sizeof (int) + 1040, 18 + 768 * sizeof (short) / sizeof (int) + 1056, 18 + 768 * sizeof (short) / sizeof (int) + 1072, 18 + 768 * sizeof (short) / sizeof (int) + 1088, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1104, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1120, 18 + 768 * sizeof (short) / sizeof (int) + 1136, 18 + 768 * sizeof (short) / sizeof (int) + 1152, 18 + 768 * sizeof (short) / sizeof (int) + 1168, 18 + 768 * sizeof (short) / sizeof (int) + 1184, 18 + 768 * sizeof (short) / sizeof (int) + 1200, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1216, 18 + 768 * sizeof (short) / sizeof (int) + 1232, 18 + 768 * sizeof (short) / sizeof (int) + 1248, 18 + 768 * sizeof (short) / sizeof (int) + 1264, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1280, 18 + 768 * sizeof (short) / sizeof (int) + 1296, 18 + 768 * sizeof (short) / sizeof (int) + 1312, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1328, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1344, 18 + 768 * sizeof (short) / sizeof (int) + 1360, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1376, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1392, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1408, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1424, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1440, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1456, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1472, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1488 }, { 0x00000000U, 0xFFFFFFFEU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFCFFFFFFU, 0xFFFFD7F0U, 0xFFFFFFFBU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFEFFFFU, 0xFE7FFFFFU, 0xFFFFFFFFU, 0xFFFEE7FFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0x001F87FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFBFFFU, 0xFFFFFFFFU, 0xFFFFE7FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0003FFFFU, 0xFFFFFFFFU, 0xE7FFFFFFU, 0xFFFFFFFFU, 0x7FFF3FFFU, 0x4FFFFFFFU, 0xFFFF07FFU, 0xFF837FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF99FEFU, 0xF3C5FDFFU, 0xB080799FU, 0x7FFFFFCFU, 0xFFF987EEU, 0xD36DFDFFU, 0x5E023987U, 0x007FFFC0U, 0xFFFBBFEEU, 0xF3EDFDFFU, 0x00013BBFU, 0xFE03FFCFU, 0xFFF99FEEU, 0xF3EDFDFFU, 0xB0E0399FU, 0x00FFFFCFU, 0xD63DC7ECU, 0xC3FFC718U, 0x00813DC7U, 0x07FFFFC0U, 0xFFFDDFFFU, 0xF3FFFDFFU, 0x27603DDFU, 0xFF80FFCFU, 0xFFFDDFFFU, 0xF3EFFDFFU, 0x60603DDFU, 0x000EFFCFU, 0xFFFDDFFFU, 0xFFFFFFFFU, 0xFFF0FDDFU, 0xFFFFFFCFU, 0xFC7FFFEEU, 0x2FFBFFFFU, 0xFF5F847FU, 0x001CFFC0U, 0xFFFFFFFEU, 0x87FFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0xFFFFF7D6U, 0x3FFFFFAFU, 0xF3FF7F5FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFEFFU, 0xFFFE1FFFU, 0xFEFFFFFFU, 0xDFFFFFFFU, 0x07FFDFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF20BFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3D7F3DFFU, 0xFFFFFFFFU, 0xFFFF3DFFU, 0x7F3DFFFFU, 0xFF7FFF3DU, 0xFFFFFFFFU, 0xFF3DFFFFU, 0xFFFFFFFFU, 0xE7FFFFFFU, 0x1FFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFFFFFU, 0x803FFFFFU, 0x007FFFFFU, 0x000FFFFFU, 0x000DDFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x03FF03FFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFFFFFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x7FFFFFFFU, 0x0FFF0FFFU, 0xFFFFFFF1U, 0x001F3FFFU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xC7FF03FFU, 0xFFFFFFFFU, 0xCFFFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x9FFFFFFFU, 0x03FF03FFU, 0xFFFF3FFFU, 0x00007FFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFDFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF00FFFFFU, 0xFFFFFFFFU, 0xF8FFFFFFU, 0xFFFFE3FFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xE7FFFFFFU, 0xFFFF00FFU, 0x07FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFFU, 0xAAFF3F3FU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xEFCFFFDFU, 0x7FDCFFFFU, 0xFFFFF880U, 0xFFFFFCFFU, 0x7FFFFFFFU, 0xFFF3FFDFU, 0x1FFF7FFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0x0001FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000003FFU, 0x000007FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFCFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFE0FFFFFU, 0xFFFFFFFFU, 0xFFFF20BFU, 0xFFFFFFFFU, 0x800180FFU, 0x007FFFFFU, 0x7F7F7F7FU, 0x7F7F7F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x00000000U, 0xFBFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFF0000U, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFE7FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFE0U, 0xFFFEFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF7FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF803FU, 0x7FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF1FFFU, 0xFFFFFFFFU, 0xFFFF007FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FEB3FFFU, 0xFFFC0000U, 0xFFFFFFFFU, 0x03FF1FFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFC03FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x800FFFFFU, 0x1FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xC3FFBFFFU, 0x7FFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0xF3FF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF8000007U, 0x007FFFFFU, 0x007E7E7EU, 0xFFFF7F7FU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF000FU, 0xFFFFF87FU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0xE0F8007FU, 0x5F7FFFFFU, 0xFFFFFFDBU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF80007U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFCFFFFU, 0xFFFFFFFFU, 0x000080FFU, 0xFFFF0000U, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFF7FFFFU, 0xFFDF0F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x9FFFFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x1CFCFCFCU, 0x3E007F7FU, 0xFFFFEFFFU, 0xB7FFFF7FU, 0x3FFF3FFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0xFFFFFF87U, 0xFF8FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFF7FFFU, 0x00000001U, 0xFFFF0000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x1FFFFFFFU, 0xFFFFFFFFU, 0x0001FFFFU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFFE00FU, 0xFFFF07FFU, 0x07FFFFFFU, 0xBFFFFFFFU, 0xFFFFFFFFU, 0x003FFF0FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF03FFU, 0xFF0FFFFFU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xF7FF800FU, 0xFFB7F7FFU, 0x1BFBFFFBU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x003FFFFFU, 0x000000FFU, 0xFFFFFFBFU, 0x07FDFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFD3FU, 0x91BFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x0000FF80U, 0x00000000U, 0xF837FFFFU, 0x8FFFFFFFU, 0x83FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xF0FFFFFFU, 0xFFFCFFFFU, 0xFFFFFFFFU, 0xFEEFF06FU, 0x873FFFFFU, 0x01FF01FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0x007FF87FU, 0xFFFFFFFFU, 0xFE3FFFFFU, 0xFF3FFFFFU, 0xFF07FFFFU, 0x1E03FFFFU, 0x0000FE00U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0xFC07FFFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0xFFFFFFFFU, 0xFFFFFE3FU, 0x0000C03FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0xFFFFFFFFU, 0x00033BFFU, 0x0000001CU, 0xF0000000U, 0xFFFFFFFFU, 0xFFFF00FFU, 0x03FFFFFFU, 0xFFFF0000U, 0x000003FFU, 0xFFFF0000U, 0x00000FFFU, 0x007FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFC3FFFU, 0x803FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF2007U, 0x03FF01FFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xFFFF00FFU, 0x007FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x001FFFFEU, 0xFFFBFFFFU, 0xFFFFFFFFU, 0x00000003U, 0x00000000U, 0xBFFFBD7FU, 0xFFFF03FFU, 0xFFFFFFFFU, 0x03FF07FFU, 0xFFF99FEFU, 0xFBEDFDFFU, 0xE081399FU, 0x001F1FCFU, 0xFFFF4BFFU, 0xFFBFFFFFU, 0x01BFF7A5U, 0x00000006U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xEFFFFFFFU, 0x00000003U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFF3FFFFFU, 0x3FFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF001FU, 0x00001FFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFF03FFU, 0x0000000FU, 0xE7FFFFFFU, 0xFFFF0FFFU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x8007FFFFU, 0xFF6FF27FU, 0xF9BFFFFFU, 0x03FF007FU, 0x00000000U, 0x00000000U, 0xFFFFFCFFU, 0xFCFFFFFFU, 0x0000001FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0007U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FF0003U, 0xFFFFFDFFU, 0xFF7FFFFFU, 0xFFFF003FU, 0xFFFF1FFFU, 0xFFFCFFFFU, 0x007FFEFFU, 0x00000000U, 0x00000000U, 0xFFFFFB7FU, 0xB47FFFFFU, 0x03FF00FFU, 0xFFFFFDBFU, 0x01FB7FFFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x01FFFFFFU, 0xFFFDFFFFU, 0xC7FFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0x00010000U, 0xFFFFFFFFU, 0x8003FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x001F7FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x7FFFFFFFU, 0xFFFFC3FFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0xFFFF03FFU, 0x003F3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFBFF003FU, 0xE0FFFFFBU, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF87FFU, 0xFFFFFFFFU, 0xFFFF80FFU, 0x00000000U, 0x00000000U, 0x0003001FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x80000000U, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x6FEF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00040007U, 0x00270000U, 0xFFFF00F0U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFF07FFU, 0xF3FF01FFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFF007FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFE7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000007FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x000FFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x01FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xFFFFFFFFU, 0xDFFFFFFFU, 0xEBFFDE64U, 0xFFFFFFEFU, 0xFFFFFFFFU, 0xDFDFE7BFU, 0x7BFFFFFFU, 0xFFFDFC5FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFF3FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFCFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF8000FFFU, 0x0000FFFEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0x000007E0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF9FFFF7FU, 0xFFFF07DBU, 0xFFFFFFFFU, 0x00003FFFU, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x3FFF1FFFU, 0x0000C3FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x00007FFFU, 0xFFFFFFFFU, 0x83FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x87FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFF6F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFF9FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xC3FF0FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFE0000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFEU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFEFU, 0x0AF7FE96U, 0xAA96EA84U, 0x5EF7F796U, 0x0FFFFBFFU, 0x0FFFFBEEU, 0x00000000U, 0x00030000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFE7FFFU, 0xFFFEFFFEU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00003FFFU, 0x00000000U, 0xFFFFFFC0U, 0xFFFF0007U, 0x0FFFFFFFU, 0x000301FFU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF0FFFFFFU, 0x1FFF1FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF87FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00010FFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0x0FFF3FFFU, 0x00000003U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x1FFF3FFFU, 0xFFFF83FFU, 0xFFFFFFFFU, 0x9FFFC07FU, 0x01FF03FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF7FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0003U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000002U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU } }; datamash-1.9/lib/unictype/ctype_lower.c0000644000000000000000000000205714767401140013712 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_lower table. */ #include "ctype_lower.h" bool uc_is_lower (ucs4_t uc) { return bitmap_lookup (&u_is_lower, uc); } datamash-1.9/lib/unictype/ctype_lower.h0000644000000000000000000002141414767401140013715 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[2]; short level2[2 << 7]; unsigned int level3[18 << 4]; } u_is_lower = { { 2 }, { 3 * sizeof (int) / sizeof (short) + 0, 3 * sizeof (int) / sizeof (short) + 128 }, { 3 + 256 * sizeof (short) / sizeof (int) + 0, 3 + 256 * sizeof (short) / sizeof (int) + 16, 3 + 256 * sizeof (short) / sizeof (int) + 32, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 48, 3 + 256 * sizeof (short) / sizeof (int) + 64, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 80, 3 + 256 * sizeof (short) / sizeof (int) + 96, 3 + 256 * sizeof (short) / sizeof (int) + 112, -1, 3 + 256 * sizeof (short) / sizeof (int) + 128, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 160, -1, 3 + 256 * sizeof (short) / sizeof (int) + 176, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 192, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 208, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 224, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 256, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 272, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000000U, 0x00000000U, 0x00000000U, 0x07FFFFFEU, 0x00000000U, 0x00200000U, 0x80000000U, 0xFF7FFFFFU, 0xAAAAAAAAU, 0x54AAAAAAU, 0xAAAAA955U, 0xD4AAAAAAU, 0x4E241129U, 0xA251212AU, 0xB5555B60U, 0xAA2CAAAAU, 0xAAAAAAAAU, 0x900AAAA8U, 0x1ADFAA85U, 0x20269F7BU, 0x60041F8DU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000020U, 0x388A0000U, 0x00000000U, 0xFFFEF000U, 0xAAE37FFFU, 0x092FAAAAU, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xAAAAAAAAU, 0xAAAAA802U, 0xAAAAAAAAU, 0xAAAAD554U, 0xAAAAAAAAU, 0xAAAAAAAAU, 0x0000AAAAU, 0x00000000U, 0xFFFFFFFEU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xE7FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3F000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x000005FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x22000000U, 0x00004000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xAAAAAAAAU, 0xAAAAAAAAU, 0xAAAAAAAAU, 0xAAAAAAAAU, 0x082AAAAAU, 0xAAAAAAAAU, 0xAAAAAAAAU, 0xAAAAAAAAU, 0x003F00FFU, 0x00FF00FFU, 0x00AA003FU, 0x3FFF00FFU, 0x00FF00FFU, 0x400B00FFU, 0x00030008U, 0x00080023U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00004000U, 0xFFFF0000U, 0x00000010U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0x00481562U, 0xAAAAAAAAU, 0xAAAAAAAAU, 0xAAAAAAAAU, 0x0008500AU, 0xFFFFFFFFU, 0x000020BFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xAAAAAAAAU, 0x00002AAAU, 0x0AAAAAAAU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xAAA8AAA8U, 0xAAAAAAAAU, 0x9400AAAAU, 0xAA9A10AAU, 0xAAA002AAU, 0x0A82250AU, 0x00400000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00080000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x07FFFFFEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFF00U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFF000000U, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFF800000U, 0x1BFBFFFBU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x0007FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFCU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_print.c0000644000000000000000000000205714767401140013716 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_print table. */ #include "ctype_print.h" bool uc_is_print (ucs4_t uc) { return bitmap_lookup (&u_is_print, uc); } datamash-1.9/lib/unictype/ctype_print.h0000644000000000000000000015075314767401140013732 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[17]; short level2[6 << 7]; unsigned int level3[94 << 4]; } u_is_print = { { 17 }, { 18 * sizeof (int) / sizeof (short) + 0, 18 * sizeof (int) / sizeof (short) + 128, 18 * sizeof (int) / sizeof (short) + 256, 18 * sizeof (int) / sizeof (short) + 384, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 * sizeof (int) / sizeof (short) + 512, 18 * sizeof (int) / sizeof (short) + 640, 18 * sizeof (int) / sizeof (short) + 640 }, { 18 + 768 * sizeof (short) / sizeof (int) + 0, 18 + 768 * sizeof (short) / sizeof (int) + 16, 18 + 768 * sizeof (short) / sizeof (int) + 32, 18 + 768 * sizeof (short) / sizeof (int) + 48, 18 + 768 * sizeof (short) / sizeof (int) + 64, 18 + 768 * sizeof (short) / sizeof (int) + 80, 18 + 768 * sizeof (short) / sizeof (int) + 96, 18 + 768 * sizeof (short) / sizeof (int) + 112, 18 + 768 * sizeof (short) / sizeof (int) + 128, 18 + 768 * sizeof (short) / sizeof (int) + 144, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 176, 18 + 768 * sizeof (short) / sizeof (int) + 192, 18 + 768 * sizeof (short) / sizeof (int) + 208, 18 + 768 * sizeof (short) / sizeof (int) + 224, 18 + 768 * sizeof (short) / sizeof (int) + 240, 18 + 768 * sizeof (short) / sizeof (int) + 256, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 272, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 288, 18 + 768 * sizeof (short) / sizeof (int) + 304, 18 + 768 * sizeof (short) / sizeof (int) + 320, 18 + 768 * sizeof (short) / sizeof (int) + 336, 18 + 768 * sizeof (short) / sizeof (int) + 352, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 368, 18 + 768 * sizeof (short) / sizeof (int) + 384, 18 + 768 * sizeof (short) / sizeof (int) + 400, 18 + 768 * sizeof (short) / sizeof (int) + 416, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 432, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 448, 18 + 768 * sizeof (short) / sizeof (int) + 464, 18 + 768 * sizeof (short) / sizeof (int) + 480, 18 + 768 * sizeof (short) / sizeof (int) + 496, 18 + 768 * sizeof (short) / sizeof (int) + 512, 18 + 768 * sizeof (short) / sizeof (int) + 528, 18 + 768 * sizeof (short) / sizeof (int) + 544, 18 + 768 * sizeof (short) / sizeof (int) + 560, 18 + 768 * sizeof (short) / sizeof (int) + 576, 18 + 768 * sizeof (short) / sizeof (int) + 592, 18 + 768 * sizeof (short) / sizeof (int) + 608, 18 + 768 * sizeof (short) / sizeof (int) + 624, 18 + 768 * sizeof (short) / sizeof (int) + 640, 18 + 768 * sizeof (short) / sizeof (int) + 656, 18 + 768 * sizeof (short) / sizeof (int) + 672, 18 + 768 * sizeof (short) / sizeof (int) + 688, 18 + 768 * sizeof (short) / sizeof (int) + 704, 18 + 768 * sizeof (short) / sizeof (int) + 720, 18 + 768 * sizeof (short) / sizeof (int) + 736, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 752, 18 + 768 * sizeof (short) / sizeof (int) + 768, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 784, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 800, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 816, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 832, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 848, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 864, 18 + 768 * sizeof (short) / sizeof (int) + 880, 18 + 768 * sizeof (short) / sizeof (int) + 896, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 912, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 928, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 944, 18 + 768 * sizeof (short) / sizeof (int) + 960, 18 + 768 * sizeof (short) / sizeof (int) + 976, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 992, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1008, 18 + 768 * sizeof (short) / sizeof (int) + 1024, 18 + 768 * sizeof (short) / sizeof (int) + 1040, 18 + 768 * sizeof (short) / sizeof (int) + 1056, 18 + 768 * sizeof (short) / sizeof (int) + 1072, 18 + 768 * sizeof (short) / sizeof (int) + 1088, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1104, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1120, 18 + 768 * sizeof (short) / sizeof (int) + 1136, 18 + 768 * sizeof (short) / sizeof (int) + 1152, 18 + 768 * sizeof (short) / sizeof (int) + 1168, 18 + 768 * sizeof (short) / sizeof (int) + 1184, 18 + 768 * sizeof (short) / sizeof (int) + 1200, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1216, 18 + 768 * sizeof (short) / sizeof (int) + 1232, 18 + 768 * sizeof (short) / sizeof (int) + 1248, 18 + 768 * sizeof (short) / sizeof (int) + 1264, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1280, 18 + 768 * sizeof (short) / sizeof (int) + 1296, 18 + 768 * sizeof (short) / sizeof (int) + 1312, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1328, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1344, 18 + 768 * sizeof (short) / sizeof (int) + 1360, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1376, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1392, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1408, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1424, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1440, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1456, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 1472, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 160, 18 + 768 * sizeof (short) / sizeof (int) + 1488 }, { 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFCFFFFFFU, 0xFFFFD7F0U, 0xFFFFFFFBU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFEFFFFU, 0xFE7FFFFFU, 0xFFFFFFFFU, 0xFFFEE7FFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0x001F87FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFBFFFU, 0xFFFFFFFFU, 0xFFFFE7FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0003FFFFU, 0xFFFFFFFFU, 0xE7FFFFFFU, 0xFFFFFFFFU, 0x7FFF3FFFU, 0x4FFFFFFFU, 0xFFFF07FFU, 0xFF837FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF99FEFU, 0xF3C5FDFFU, 0xB080799FU, 0x7FFFFFCFU, 0xFFF987EEU, 0xD36DFDFFU, 0x5E023987U, 0x007FFFC0U, 0xFFFBBFEEU, 0xF3EDFDFFU, 0x00013BBFU, 0xFE03FFCFU, 0xFFF99FEEU, 0xF3EDFDFFU, 0xB0E0399FU, 0x00FFFFCFU, 0xD63DC7ECU, 0xC3FFC718U, 0x00813DC7U, 0x07FFFFC0U, 0xFFFDDFFFU, 0xF3FFFDFFU, 0x27603DDFU, 0xFF80FFCFU, 0xFFFDDFFFU, 0xF3EFFDFFU, 0x60603DDFU, 0x000EFFCFU, 0xFFFDDFFFU, 0xFFFFFFFFU, 0xFFF0FDDFU, 0xFFFFFFCFU, 0xFC7FFFEEU, 0x2FFBFFFFU, 0xFF5F847FU, 0x001CFFC0U, 0xFFFFFFFEU, 0x87FFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0xFFFFF7D6U, 0x3FFFFFAFU, 0xF3FF7F5FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFEFFU, 0xFFFE1FFFU, 0xFEFFFFFFU, 0xDFFFFFFFU, 0x07FFDFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF20BFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3D7F3DFFU, 0xFFFFFFFFU, 0xFFFF3DFFU, 0x7F3DFFFFU, 0xFF7FFF3DU, 0xFFFFFFFFU, 0xFF3DFFFFU, 0xFFFFFFFFU, 0xE7FFFFFFU, 0x1FFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFFFFFU, 0x803FFFFFU, 0x007FFFFFU, 0x000FFFFFU, 0x000DDFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x03FF03FFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x01FFFFFFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x7FFFFFFFU, 0x0FFF0FFFU, 0xFFFFFFF1U, 0x001F3FFFU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xC7FF03FFU, 0xFFFFFFFFU, 0xCFFFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x9FFFFFFFU, 0x03FF03FFU, 0xFFFF3FFFU, 0x00007FFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFDFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF00FFFFFU, 0xFFFFFFFFU, 0xF8FFFFFFU, 0xFFFFE3FFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xE7FFFFFFU, 0xFFFF00FFU, 0x07FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3F3FFFFFU, 0xFFFFFFFFU, 0xAAFF3F3FU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xEFCFFFDFU, 0x7FDCFFFFU, 0xFFFFFFFFU, 0xFFFFFCFFU, 0xFFFFFFFFU, 0xFFF3FFDFU, 0x1FFF7FFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0x0001FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000003FFU, 0x000007FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFCFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFE0FFFFFU, 0xFFFFFFFFU, 0xFFFF20BFU, 0xFFFFFFFFU, 0x800180FFU, 0x007FFFFFU, 0x7F7F7F7FU, 0x7F7F7F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x00000000U, 0xFBFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFE7FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFE0U, 0xFFFEFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF7FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF803FU, 0x7FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF1FFFU, 0xFFFFFFFFU, 0xFFFF007FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FEB3FFFU, 0xFFFC0000U, 0xFFFFFFFFU, 0x03FF1FFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFC03FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x800FFFFFU, 0x1FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xC3FFBFFFU, 0x7FFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0xF3FF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF8000007U, 0x007FFFFFU, 0x007E7E7EU, 0xFFFF7F7FU, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF000FU, 0xFFFFF87FU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0xE0F8007FU, 0x5F7FFFFFU, 0xFFFFFFDBU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF80007U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFCFFFFU, 0xFFFFFFFFU, 0x000080FFU, 0xFFFF0000U, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFF7FFFFU, 0xFFDF0F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x9FFFFFFFU, 0xFFFFFFFEU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x1CFCFCFCU, 0x3E007F7FU, 0xFFFFEFFFU, 0xB7FFFF7FU, 0x3FFF3FFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0xFFFFFF87U, 0xFF8FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFF7FFFU, 0x00000001U, 0xFFFF0000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x1FFFFFFFU, 0xFFFFFFFFU, 0x0001FFFFU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFFE00FU, 0xFFFF07FFU, 0x07FFFFFFU, 0xBFFFFFFFU, 0xFFFFFFFFU, 0x003FFF0FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF03FFU, 0xFF0FFFFFU, 0x0FFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xF7FF800FU, 0xFFB7F7FFU, 0x1BFBFFFBU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x003FFFFFU, 0x000000FFU, 0xFFFFFFBFU, 0x07FDFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFD3FU, 0x91BFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0x0000FF80U, 0x00000000U, 0xF837FFFFU, 0x8FFFFFFFU, 0x83FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xF0FFFFFFU, 0xFFFCFFFFU, 0xFFFFFFFFU, 0xFEEFF06FU, 0x873FFFFFU, 0x01FF01FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0x007FF87FU, 0xFFFFFFFFU, 0xFE3FFFFFU, 0xFF3FFFFFU, 0xFF07FFFFU, 0x1E03FFFFU, 0x0000FE00U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000001FFU, 0x00000000U, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0xFC07FFFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0xFFFFFFFFU, 0xFFFFFE3FU, 0x0000C03FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0xFFFFFFFFU, 0x00033BFFU, 0x0000001CU, 0xF0000000U, 0xFFFFFFFFU, 0xFFFF00FFU, 0x03FFFFFFU, 0xFFFF0000U, 0x000003FFU, 0xFFFF0000U, 0x00000FFFU, 0x007FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFC3FFFU, 0x803FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF2007U, 0x03FF01FFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xFFFF00FFU, 0x007FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x001FFFFEU, 0xFFFBFFFFU, 0xFFFFFFFFU, 0x00000003U, 0x00000000U, 0xBFFFBD7FU, 0xFFFF03FFU, 0xFFFFFFFFU, 0x03FF07FFU, 0xFFF99FEFU, 0xFBEDFDFFU, 0xE081399FU, 0x001F1FCFU, 0xFFFF4BFFU, 0xFFBFFFFFU, 0x01BFF7A5U, 0x00000006U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xEFFFFFFFU, 0x00000003U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFF3FFFFFU, 0x3FFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FF001FU, 0x00001FFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFF03FFU, 0x0000000FU, 0xE7FFFFFFU, 0xFFFF0FFFU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x8007FFFFU, 0xFF6FF27FU, 0xF9BFFFFFU, 0x03FF007FU, 0x00000000U, 0x00000000U, 0xFFFFFCFFU, 0xFCFFFFFFU, 0x0000001FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0007U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FF0003U, 0xFFFFFDFFU, 0xFF7FFFFFU, 0xFFFF003FU, 0xFFFF1FFFU, 0xFFFCFFFFU, 0x007FFEFFU, 0x00000000U, 0x00000000U, 0xFFFFFB7FU, 0xB47FFFFFU, 0x03FF00FFU, 0xFFFFFDBFU, 0x01FB7FFFU, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x01FFFFFFU, 0xFFFDFFFFU, 0xC7FFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0x00010000U, 0xFFFFFFFFU, 0x8003FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x001F7FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0007FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x01FFFFFFU, 0x7FFFFFFFU, 0xFFFFC3FFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0xFFFF03FFU, 0x003F3FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFBFF003FU, 0xE0FFFFFBU, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF87FFU, 0xFFFFFFFFU, 0xFFFF80FFU, 0x00000000U, 0x00000000U, 0x0003001FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x80000000U, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x6FEF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00040007U, 0x00270000U, 0xFFFF00F0U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x1FFF07FFU, 0xF3FF01FFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFF007FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFE7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000007FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x000FFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x01FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFDFFFFFU, 0xFFFFFFFFU, 0xDFFFFFFFU, 0xEBFFDE64U, 0xFFFFFFEFU, 0xFFFFFFFFU, 0xDFDFE7BFU, 0x7BFFFFFFU, 0xFFFDFC5FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFF3FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFCFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF8000FFFU, 0x0000FFFEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0x000007E0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF9FFFF7FU, 0xFFFF07DBU, 0xFFFFFFFFU, 0x00003FFFU, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x3FFF1FFFU, 0x0000C3FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x00007FFFU, 0xFFFFFFFFU, 0x83FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x03FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x87FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFF6F7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFF9FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xC3FF0FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFE0000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFEU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFEFU, 0x0AF7FE96U, 0xAA96EA84U, 0x5EF7F796U, 0x0FFFFBFFU, 0x0FFFFBEEU, 0x00000000U, 0x00030000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFE7FFFU, 0xFFFEFFFEU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00003FFFU, 0x00000000U, 0xFFFFFFC0U, 0xFFFF0007U, 0x0FFFFFFFU, 0x000301FFU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF0FFFFFFU, 0x1FFF1FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF87FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00010FFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0x0FFF3FFFU, 0x00000003U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x1FFF3FFFU, 0xFFFF83FFU, 0xFFFFFFFFU, 0x9FFFC07FU, 0x01FF03FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF7FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0003U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF07FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000002U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU } }; datamash-1.9/lib/unictype/ctype_punct.c0000644000000000000000000000205714767401140013713 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_punct table. */ #include "ctype_punct.h" bool uc_is_punct (ucs4_t uc) { return bitmap_lookup (&u_is_punct, uc); } datamash-1.9/lib/unictype/ctype_punct.h0000644000000000000000000010321314767401140013714 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[17]; short level2[4 << 7]; unsigned int level3[75 << 4]; } u_is_punct = { { 17 }, { 18 * sizeof (int) / sizeof (short) + 0, 18 * sizeof (int) / sizeof (short) + 128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 * sizeof (int) / sizeof (short) + 256, 18 * sizeof (int) / sizeof (short) + 384, 18 * sizeof (int) / sizeof (short) + 384 }, { 18 + 512 * sizeof (short) / sizeof (int) + 0, 18 + 512 * sizeof (short) / sizeof (int) + 16, 18 + 512 * sizeof (short) / sizeof (int) + 32, 18 + 512 * sizeof (short) / sizeof (int) + 48, 18 + 512 * sizeof (short) / sizeof (int) + 64, 18 + 512 * sizeof (short) / sizeof (int) + 80, 18 + 512 * sizeof (short) / sizeof (int) + 96, 18 + 512 * sizeof (short) / sizeof (int) + 112, 18 + 512 * sizeof (short) / sizeof (int) + 128, 18 + 512 * sizeof (short) / sizeof (int) + 144, 18 + 512 * sizeof (short) / sizeof (int) + 160, 18 + 512 * sizeof (short) / sizeof (int) + 176, 18 + 512 * sizeof (short) / sizeof (int) + 192, 18 + 512 * sizeof (short) / sizeof (int) + 208, 18 + 512 * sizeof (short) / sizeof (int) + 224, 18 + 512 * sizeof (short) / sizeof (int) + 240, 18 + 512 * sizeof (short) / sizeof (int) + 256, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 288, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 304, 18 + 512 * sizeof (short) / sizeof (int) + 320, 18 + 512 * sizeof (short) / sizeof (int) + 336, 18 + 512 * sizeof (short) / sizeof (int) + 352, 18 + 512 * sizeof (short) / sizeof (int) + 368, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 384, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 400, 18 + 512 * sizeof (short) / sizeof (int) + 416, 18 + 512 * sizeof (short) / sizeof (int) + 432, 18 + 512 * sizeof (short) / sizeof (int) + 448, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 464, 18 + 512 * sizeof (short) / sizeof (int) + 480, 18 + 512 * sizeof (short) / sizeof (int) + 496, 18 + 512 * sizeof (short) / sizeof (int) + 512, 18 + 512 * sizeof (short) / sizeof (int) + 528, 18 + 512 * sizeof (short) / sizeof (int) + 544, 18 + 512 * sizeof (short) / sizeof (int) + 560, -1, 18 + 512 * sizeof (short) / sizeof (int) + 576, 18 + 512 * sizeof (short) / sizeof (int) + 592, 18 + 512 * sizeof (short) / sizeof (int) + 608, 18 + 512 * sizeof (short) / sizeof (int) + 624, 18 + 512 * sizeof (short) / sizeof (int) + 640, 18 + 512 * sizeof (short) / sizeof (int) + 656, 18 + 512 * sizeof (short) / sizeof (int) + 672, 18 + 512 * sizeof (short) / sizeof (int) + 688, 18 + 512 * sizeof (short) / sizeof (int) + 704, 18 + 512 * sizeof (short) / sizeof (int) + 720, 18 + 512 * sizeof (short) / sizeof (int) + 736, 18 + 512 * sizeof (short) / sizeof (int) + 752, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 768, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 784, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 800, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 816, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 832, 18 + 512 * sizeof (short) / sizeof (int) + 848, 18 + 512 * sizeof (short) / sizeof (int) + 864, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 880, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 896, 18 + 512 * sizeof (short) / sizeof (int) + 912, 18 + 512 * sizeof (short) / sizeof (int) + 928, 18 + 512 * sizeof (short) / sizeof (int) + 944, -1, 18 + 512 * sizeof (short) / sizeof (int) + 960, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 976, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 992, 18 + 512 * sizeof (short) / sizeof (int) + 1008, 18 + 512 * sizeof (short) / sizeof (int) + 1024, -1, 18 + 512 * sizeof (short) / sizeof (int) + 1040, -1, 18 + 512 * sizeof (short) / sizeof (int) + 1056, 18 + 512 * sizeof (short) / sizeof (int) + 1072, 18 + 512 * sizeof (short) / sizeof (int) + 1088, 18 + 512 * sizeof (short) / sizeof (int) + 1104, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 1120, 18 + 512 * sizeof (short) / sizeof (int) + 1136, 18 + 512 * sizeof (short) / sizeof (int) + 1152, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 1168, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 272, 18 + 512 * sizeof (short) / sizeof (int) + 1184 }, { 0x00000000U, 0xFC00FFFEU, 0xF8000001U, 0x78000001U, 0x00000000U, 0xFBDFFBFFU, 0x00800000U, 0x00800000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFC003CU, 0xFFFFAFE0U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFDFU, 0x4020FFFFU, 0x000000B0U, 0x00000000U, 0x00000000U, 0x00400000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x000003FCU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFC000000U, 0x00000000U, 0xFFFEE600U, 0xFFFFFFFFU, 0x000000FFU, 0x00180000U, 0xFFFFFFFFU, 0x00000000U, 0xFFFFF800U, 0x00013C00U, 0x00000000U, 0x00000000U, 0xFFD00000U, 0x60003F9FU, 0x0002BFFFU, 0xFFFF0000U, 0x000007FFU, 0x00000000U, 0x00000000U, 0x0001FFC0U, 0x00000000U, 0xE3CFF800U, 0xFBC00000U, 0x7FFF3EEFU, 0x4E000000U, 0x00000000U, 0xFF830100U, 0x00000000U, 0xFFFFFC00U, 0xFFFFFFFFU, 0x0000000FU, 0xDC000000U, 0x00FEFFFFU, 0x0001003CU, 0x0000000EU, 0xD0000000U, 0x0080399FU, 0x6FFC000CU, 0x0000000EU, 0xD0000000U, 0x00023987U, 0x00630000U, 0x0000000EU, 0xD0000000U, 0x00003BBFU, 0xFC03000CU, 0x0000000EU, 0xD0000000U, 0x00E0399FU, 0x00FD000CU, 0x00000004U, 0xC0000000U, 0x00803DC7U, 0x07FF0000U, 0x0000001FU, 0xD0000000U, 0x00603DDFU, 0xFF80000CU, 0x0000001EU, 0xD0000000U, 0x00603DDFU, 0x0008000CU, 0x0000000FU, 0xD8000000U, 0x7F80BDDFU, 0x03FF000CU, 0x0000000EU, 0x00000000U, 0xFF5F8400U, 0x001C0000U, 0x00000000U, 0x80008000U, 0x0C008040U, 0x00000000U, 0x00000000U, 0x1FF20000U, 0x00007F00U, 0x00000000U, 0xFFFFFFFEU, 0xFFFFFC00U, 0x00000000U, 0xFFFE0000U, 0xFEFFE0FFU, 0xDFFFFFFFU, 0x07FFDFFFU, 0x00000000U, 0x00000000U, 0x7FFFF800U, 0xC3C0FC00U, 0x001E3F9DU, 0xFC00BFFCU, 0x00000000U, 0x00000000U, 0x08000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xE0000000U, 0x1FFFFFFFU, 0x03FF0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00006000U, 0x18000000U, 0x00000000U, 0x00000000U, 0x00003800U, 0x003C0000U, 0x007C0000U, 0x000C0000U, 0x000C0000U, 0x00000000U, 0xFFF00000U, 0x2F7FFFFFU, 0x03FF0000U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000060U, 0x00000200U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0FFF0FFFU, 0x00000031U, 0x00000000U, 0x00000000U, 0x00000000U, 0xC4000000U, 0xFFFFFFFFU, 0xCF800000U, 0x00000000U, 0x7FE00000U, 0x9FFFFFFFU, 0x00000000U, 0xFFFF3F7FU, 0x00007FFFU, 0x00000000U, 0x0000001FU, 0xFFF00000U, 0xFC00C01FU, 0xFFFFFFFFU, 0x00000007U, 0x00003FFEU, 0x00000000U, 0xF00FFFC0U, 0x00000000U, 0xF8FFFFF0U, 0x00000000U, 0xC0000000U, 0x00000000U, 0x00000000U, 0xFFFF00FFU, 0x039021FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xA0000000U, 0xE000E003U, 0x6000E000U, 0xFFFFF880U, 0xFFFFFCFFU, 0x7FFFFFFFU, 0x7FF1FFDFU, 0x00007FFFU, 0xFFFFFFFFU, 0xFFFF0001U, 0x0001FFFFU, 0xC1D0037BU, 0x0C0040AFU, 0xFFFFBC1FU, 0x00000000U, 0xFFFF0E00U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000003FFU, 0x000007FFU, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFC00U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFCFFFFFU, 0xFFBFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFE0387E0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x80010000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF7FFFU, 0x3FFFFFFFU, 0x00000000U, 0xFBFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFF0000U, 0xFFFFFF1EU, 0xE0C1FC01U, 0x00000000U, 0x00000000U, 0x1E000000U, 0x00000001U, 0x00000000U, 0x08000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x00000000U, 0xFFFFFFFFU, 0x0000803FU, 0x7FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFFFFFFU, 0x0000007FU, 0xC0000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000E000U, 0x00000000U, 0x00000000U, 0x7FFF8000U, 0xC0000000U, 0x00000000U, 0x00000000U, 0x00FF0000U, 0x007FFFFFU, 0x00000003U, 0x00000000U, 0x00000000U, 0x00000600U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000844U, 0x03FF1FF8U, 0x00000000U, 0x00F00000U, 0x00000003U, 0xFFF00000U, 0x0000C03FU, 0x9703FFFFU, 0x00000000U, 0x0000FFC0U, 0x800FFF80U, 0x00000000U, 0x0000000FU, 0xFFF80000U, 0xC0003FFFU, 0x00000020U, 0x00000000U, 0x007FFE00U, 0xF0003008U, 0x3B800000U, 0x00000000U, 0xC19D0000U, 0xC0000002U, 0x0063F800U, 0x00000000U, 0x00000000U, 0x08000000U, 0x00000C00U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00003FF8U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x40000000U, 0x00000200U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFC0000U, 0x00000007U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xC0000000U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00008000U, 0xF0000000U, 0x03FFFFFFU, 0xFFFFFFFFU, 0xFFF7FFFFU, 0x00000F7FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x80000000U, 0xFC00FFFEU, 0xF8000001U, 0xF8000001U, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x3E007F7FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFF87U, 0xFF8FFFFFU, 0x00000000U, 0xFFE00000U, 0x1FFF7FFFU, 0x00000001U, 0xFFFF0000U, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0FFFFFFFU, 0x00000000U, 0x0000000FU, 0x00000000U, 0x07C00000U, 0x80000000U, 0x00000000U, 0x00010000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFF800000U, 0xFF800000U, 0x00000000U, 0x0000FF80U, 0x00000000U, 0xF8000000U, 0x8FC00000U, 0x80000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x30000000U, 0xFFFCFFFFU, 0xFFFFFFFFU, 0x0000F06EU, 0x87000000U, 0x01FF01FFU, 0xE0000000U, 0xE0000000U, 0x00000000U, 0x00000100U, 0x007FF860U, 0x00000000U, 0xFE000000U, 0xFF000000U, 0xFF000000U, 0x1E000000U, 0x0000FE00U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFC000000U, 0x00000000U, 0x000000F0U, 0x00000000U, 0x00007E00U, 0x0000C000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x7FFFFFFFU, 0x00000000U, 0x00003800U, 0x00000000U, 0xF0000000U, 0xE0000000U, 0x0000007FU, 0x03FFFFC0U, 0x00000000U, 0x000003FCU, 0x00000000U, 0x00000FE0U, 0x00000000U, 0x00000007U, 0xFF000000U, 0xFFFC3FFFU, 0x8019003FU, 0x00000007U, 0xFFFF0000U, 0x00002007U, 0x00000000U, 0x00000007U, 0x001FFF80U, 0x0000006FU, 0x00380000U, 0x00000007U, 0xFFF80000U, 0xE800FFE1U, 0x001FFFFEU, 0x00000000U, 0x7FFFF000U, 0x00000002U, 0x00000000U, 0x00000000U, 0x00000200U, 0x80000000U, 0x000007FFU, 0x0000000FU, 0xD8000000U, 0x0080399FU, 0x001F1FCCU, 0x00000000U, 0xFF000000U, 0x01B5F7A5U, 0x00000006U, 0x00000000U, 0xFFE00000U, 0x6C00F87FU, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x0000004FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFF3F8000U, 0x30FFFFFFU, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x0000000FU, 0x00001FFFU, 0x00000000U, 0x02FFF800U, 0x00000000U, 0x00000000U, 0xE0000000U, 0xFC000FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0FFFF000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0007FC00U, 0x00000000U, 0x79BF0000U, 0x0000007DU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFCFE0000U, 0x00000015U, 0x000007FEU, 0xFBF80000U, 0x0FFE00FFU, 0x00000000U, 0xDFFFFC00U, 0x00000007U, 0x00000000U, 0x00000000U, 0x000003FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000002U, 0x00000000U, 0xFF7F8000U, 0xFC00003EU, 0x00031FFFU, 0xFFFC0000U, 0x007FFEFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xB47E0000U, 0x000000BFU, 0x00000000U, 0x00FB7C00U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x01F80000U, 0x0000000BU, 0xC7F00000U, 0x0400FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x8003FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x001F0000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00060000U, 0x00000000U, 0xFFFF0000U, 0x003FFF81U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xC0000000U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000C000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x003F0000U, 0x00000000U, 0xFFFF0000U, 0xF8000030U, 0x00000003U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000E000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x07FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFE8000U, 0xFFFFFFFFU, 0x000780FFU, 0x00000000U, 0x00000000U, 0x00030014U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF0000000U, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFF3FFFU, 0xFFFF007FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0xFFFFFFFFU, 0xFFFFFE7FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000007FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x000FFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x007FFFFFU, 0x01FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x08000002U, 0x08000000U, 0x00200000U, 0x00200000U, 0x00008000U, 0x00008000U, 0x00000200U, 0x00000200U, 0x00000008U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF8000FFFU, 0x0000FFFEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF9FFFF7FU, 0x000007DBU, 0x00000000U, 0x00000000U, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x007F0000U, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00004000U, 0x00000000U, 0x8000F000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000F000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x8000C000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x007FFF80U, 0x00000000U, 0x00000000U, 0x00000000U, 0xC00007F0U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFE0000U, 0xFFFFFFFFU, 0x001FFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFEU, 0x3FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00030000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0xFFFE7FFFU, 0xFFFEFFFEU, 0x003FFFFFU, 0x0000FFFFU, 0x0000E000U, 0x0000FC00U, 0x0000FC00U, 0xFFFFF800U, 0x00003FDFU, 0x00000000U, 0x00000000U, 0xFFFF0007U, 0x0FFFFFFFU, 0x000301FFU, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF0FFFFFFU, 0x1FFF1FFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xF87FFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x03FFFFFFU, 0x00010FFFU, 0xFFFF0FFFU, 0xFFFFFFFFU, 0x03FF00FFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0x0FFF3FFFU, 0x00000003U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x000FFFFFU, 0x1FFF3FFFU, 0xFFFF83FFU, 0xFFFFFFFFU, 0x9FFFC07FU, 0x01FF03FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFF7FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000002U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU } }; datamash-1.9/lib/unictype/ctype_space.c0000644000000000000000000000205714767401140013655 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_space table. */ #include "ctype_space.h" bool uc_is_space (ucs4_t uc) { return bitmap_lookup (&u_is_space, uc); } datamash-1.9/lib/unictype/ctype_space.h0000644000000000000000000000716214767401140013664 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[1]; short level2[1 << 7]; unsigned int level3[4 << 4]; } u_is_space = { { 1 }, { 2 * sizeof (int) / sizeof (short) + 0 }, { 2 + 128 * sizeof (short) / sizeof (int) + 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 16, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 32, -1, -1, -1, -1, -1, -1, -1, 2 + 128 * sizeof (short) / sizeof (int) + 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00003E00U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000077FU, 0x00000300U, 0x80000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_upper.c0000644000000000000000000000205714767401140013715 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_upper table. */ #include "ctype_upper.h" bool uc_is_upper (ucs4_t uc) { return bitmap_lookup (&u_is_upper, uc); } datamash-1.9/lib/unictype/ctype_upper.h0000644000000000000000000002077414767401140013730 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[2]; short level2[2 << 7]; unsigned int level3[17 << 4]; } u_is_upper = { { 2 }, { 3 * sizeof (int) / sizeof (short) + 0, 3 * sizeof (int) / sizeof (short) + 128 }, { 3 + 256 * sizeof (short) / sizeof (int) + 0, 3 + 256 * sizeof (short) / sizeof (int) + 16, 3 + 256 * sizeof (short) / sizeof (int) + 32, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 48, 3 + 256 * sizeof (short) / sizeof (int) + 64, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 80, 3 + 256 * sizeof (short) / sizeof (int) + 96, 3 + 256 * sizeof (short) / sizeof (int) + 112, -1, 3 + 256 * sizeof (short) / sizeof (int) + 128, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 144, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 160, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 176, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 192, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 208, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3 + 256 * sizeof (short) / sizeof (int) + 256, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000000U, 0x00000000U, 0x07FFFFFEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x7F7FFFFFU, 0x00000000U, 0x55555555U, 0xAA555555U, 0x555554AAU, 0x2B555555U, 0xB1DBCED6U, 0x11AED2D5U, 0x4AAAADB0U, 0x55D65555U, 0x55555555U, 0x6C055555U, 0x0000557AU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x80450000U, 0xFFFED740U, 0x00000FFBU, 0x55008000U, 0xE6905555U, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x55555555U, 0x55555401U, 0x55555555U, 0x55552AABU, 0x55555555U, 0x55555555U, 0xFFFE5555U, 0x007FFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x000020BFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0200U, 0xE7FFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x55555555U, 0x55555555U, 0x55555555U, 0x55555555U, 0x40155555U, 0x55555555U, 0x55555555U, 0x55555555U, 0x3F00FF00U, 0xFF00FF00U, 0xAA003F00U, 0x0000FF00U, 0xFF00FF00U, 0x1F00FF00U, 0x0F001F00U, 0x1F001F00U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00040C40U, 0x00000000U, 0x0000FFFFU, 0x00000008U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFC00000U, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0xC025EA9DU, 0x55555555U, 0x55555555U, 0x55555555U, 0x00042805U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x55555555U, 0x00001555U, 0x05555555U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x55545554U, 0x55555555U, 0x6A005555U, 0x55452855U, 0x555F7D55U, 0x15411AF5U, 0x00200000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x07FFFFFEU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x000000FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x000FFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xF7FF0000U, 0x0037F7FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x0007FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0x0000003FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0x00000003U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype/ctype_xdigit.c0000644000000000000000000000206314767401140014047 /* ISO C like properties of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unictype.h" #include "bitmap.h" /* Define u_is_xdigit table. */ #include "ctype_xdigit.h" bool uc_is_xdigit (ucs4_t uc) { return bitmap_lookup (&u_is_xdigit, uc); } datamash-1.9/lib/unictype/ctype_xdigit.h0000644000000000000000000000550314767401140014056 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* ISO C like properties of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[1]; short level2[1 << 7]; unsigned int level3[1 << 4]; } u_is_xdigit = { { 1 }, { 2 * sizeof (int) / sizeof (short) + 0 }, { 2 + 128 * sizeof (short) / sizeof (int) + 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, { 0x00000000U, 0x03FF0000U, 0x0000007EU, 0x0000007EU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/unictype.in.h0000644000000000000000000014737114767401140012001 /* Unicode character classification and properties. Copyright (C) 2002, 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _UNICTYPE_H #define _UNICTYPE_H #include "unitypes.h" /* Get bool. */ #include /* Get size_t. */ #include #if @HAVE_UNISTRING_WOE32DLL_H@ # include #else # define LIBUNISTRING_DLL_VARIABLE #endif #ifdef __cplusplus extern "C" { #endif /* ========================================================================= */ /* Field 1 of Unicode Character Database: Character name. See "uniname.h". */ /* ========================================================================= */ /* Field 2 of Unicode Character Database: General category. */ /* Data type denoting a General category value. This is not just a bitmask, but rather a bitmask and a pointer to the lookup table, so that programs that use only the predefined bitmasks (i.e. don't combine bitmasks with & and |) don't have a link-time dependency towards the big general table. */ typedef struct { uint32_t bitmask : 31; /*bool*/ unsigned int generic : 1; union { const void *table; /* when generic is 0 */ bool (*lookup_fn) (ucs4_t uc, uint32_t bitmask); /* when generic is 1 */ } lookup; } uc_general_category_t; /* Bits and bit masks denoting General category values. UnicodeData-3.2.0.html says a 32-bit integer will always suffice to represent them. These bit masks can only be used with the uc_is_general_category_withtable function. */ enum { UC_CATEGORY_MASK_L = 0x0000001f, UC_CATEGORY_MASK_LC = 0x00000007, UC_CATEGORY_MASK_Lu = 0x00000001, UC_CATEGORY_MASK_Ll = 0x00000002, UC_CATEGORY_MASK_Lt = 0x00000004, UC_CATEGORY_MASK_Lm = 0x00000008, UC_CATEGORY_MASK_Lo = 0x00000010, UC_CATEGORY_MASK_M = 0x000000e0, UC_CATEGORY_MASK_Mn = 0x00000020, UC_CATEGORY_MASK_Mc = 0x00000040, UC_CATEGORY_MASK_Me = 0x00000080, UC_CATEGORY_MASK_N = 0x00000700, UC_CATEGORY_MASK_Nd = 0x00000100, UC_CATEGORY_MASK_Nl = 0x00000200, UC_CATEGORY_MASK_No = 0x00000400, UC_CATEGORY_MASK_P = 0x0003f800, UC_CATEGORY_MASK_Pc = 0x00000800, UC_CATEGORY_MASK_Pd = 0x00001000, UC_CATEGORY_MASK_Ps = 0x00002000, UC_CATEGORY_MASK_Pe = 0x00004000, UC_CATEGORY_MASK_Pi = 0x00008000, UC_CATEGORY_MASK_Pf = 0x00010000, UC_CATEGORY_MASK_Po = 0x00020000, UC_CATEGORY_MASK_S = 0x003c0000, UC_CATEGORY_MASK_Sm = 0x00040000, UC_CATEGORY_MASK_Sc = 0x00080000, UC_CATEGORY_MASK_Sk = 0x00100000, UC_CATEGORY_MASK_So = 0x00200000, UC_CATEGORY_MASK_Z = 0x01c00000, UC_CATEGORY_MASK_Zs = 0x00400000, UC_CATEGORY_MASK_Zl = 0x00800000, UC_CATEGORY_MASK_Zp = 0x01000000, UC_CATEGORY_MASK_C = 0x3e000000, UC_CATEGORY_MASK_Cc = 0x02000000, UC_CATEGORY_MASK_Cf = 0x04000000, UC_CATEGORY_MASK_Cs = 0x08000000, UC_CATEGORY_MASK_Co = 0x10000000, UC_CATEGORY_MASK_Cn = 0x20000000 }; /* Predefined General category values. */ extern @GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_L; extern @GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_LC; extern @GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Lu; extern @GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Ll; extern @GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Lt; extern @GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Lm; extern @GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Lo; extern @GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_M; extern @GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Mn; extern @GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Mc; extern @GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Me; extern @GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_N; extern @GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Nd; extern @GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Nl; extern @GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_No; extern @GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_P; extern @GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Pc; extern @GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Pd; extern @GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Ps; extern @GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Pe; extern @GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Pi; extern @GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Pf; extern @GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Po; extern @GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_S; extern @GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Sm; extern @GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Sc; extern @GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Sk; extern @GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_So; extern @GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Z; extern @GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Zs; extern @GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Zl; extern @GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Zp; extern @GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_C; extern @GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Cc; extern @GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Cf; extern @GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Cs; extern @GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Co; extern @GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE@ const uc_general_category_t UC_CATEGORY_Cn; /* Non-public. */ extern const uc_general_category_t _UC_CATEGORY_NONE; /* Alias names for predefined General category values. */ #define UC_LETTER UC_CATEGORY_L #define UC_CASED_LETTER UC_CATEGORY_LC #define UC_UPPERCASE_LETTER UC_CATEGORY_Lu #define UC_LOWERCASE_LETTER UC_CATEGORY_Ll #define UC_TITLECASE_LETTER UC_CATEGORY_Lt #define UC_MODIFIER_LETTER UC_CATEGORY_Lm #define UC_OTHER_LETTER UC_CATEGORY_Lo #define UC_MARK UC_CATEGORY_M #define UC_NON_SPACING_MARK UC_CATEGORY_Mn #define UC_COMBINING_SPACING_MARK UC_CATEGORY_Mc #define UC_ENCLOSING_MARK UC_CATEGORY_Me #define UC_NUMBER UC_CATEGORY_N #define UC_DECIMAL_DIGIT_NUMBER UC_CATEGORY_Nd #define UC_LETTER_NUMBER UC_CATEGORY_Nl #define UC_OTHER_NUMBER UC_CATEGORY_No #define UC_PUNCTUATION UC_CATEGORY_P #define UC_CONNECTOR_PUNCTUATION UC_CATEGORY_Pc #define UC_DASH_PUNCTUATION UC_CATEGORY_Pd #define UC_OPEN_PUNCTUATION UC_CATEGORY_Ps /* a.k.a. UC_START_PUNCTUATION */ #define UC_CLOSE_PUNCTUATION UC_CATEGORY_Pe /* a.k.a. UC_END_PUNCTUATION */ #define UC_INITIAL_QUOTE_PUNCTUATION UC_CATEGORY_Pi #define UC_FINAL_QUOTE_PUNCTUATION UC_CATEGORY_Pf #define UC_OTHER_PUNCTUATION UC_CATEGORY_Po #define UC_SYMBOL UC_CATEGORY_S #define UC_MATH_SYMBOL UC_CATEGORY_Sm #define UC_CURRENCY_SYMBOL UC_CATEGORY_Sc #define UC_MODIFIER_SYMBOL UC_CATEGORY_Sk #define UC_OTHER_SYMBOL UC_CATEGORY_So #define UC_SEPARATOR UC_CATEGORY_Z #define UC_SPACE_SEPARATOR UC_CATEGORY_Zs #define UC_LINE_SEPARATOR UC_CATEGORY_Zl #define UC_PARAGRAPH_SEPARATOR UC_CATEGORY_Zp #define UC_OTHER UC_CATEGORY_C #define UC_CONTROL UC_CATEGORY_Cc #define UC_FORMAT UC_CATEGORY_Cf #define UC_SURROGATE UC_CATEGORY_Cs /* all of them are invalid characters */ #define UC_PRIVATE_USE UC_CATEGORY_Co #define UC_UNASSIGNED UC_CATEGORY_Cn /* some of them are invalid characters */ /* Return the union of two general categories. This corresponds to the unions of the two sets of characters. */ extern uc_general_category_t uc_general_category_or (uc_general_category_t category1, uc_general_category_t category2); /* Return the intersection of two general categories as bit masks. This *does*not* correspond to the intersection of the two sets of characters. */ extern uc_general_category_t uc_general_category_and (uc_general_category_t category1, uc_general_category_t category2); /* Return the intersection of a general category with the complement of a second general category, as bit masks. This *does*not* correspond to the intersection with complement, when viewing the categories as sets of characters. */ extern uc_general_category_t uc_general_category_and_not (uc_general_category_t category1, uc_general_category_t category2); /* Return the name of a general category. */ extern const char * uc_general_category_name (uc_general_category_t category) _UC_ATTRIBUTE_PURE; /* Return the long name of a general category. */ extern const char * uc_general_category_long_name (uc_general_category_t category) _UC_ATTRIBUTE_PURE; /* Return the general category given by name, e.g. "Lu", or by long name, e.g. "Uppercase Letter". */ extern uc_general_category_t uc_general_category_byname (const char *category_name) _UC_ATTRIBUTE_PURE; /* Return the general category of a Unicode character. */ extern uc_general_category_t uc_general_category (ucs4_t uc) _UC_ATTRIBUTE_PURE; /* Test whether a Unicode character belongs to a given category. The CATEGORY argument can be the combination of several predefined general categories. */ extern bool uc_is_general_category (ucs4_t uc, uc_general_category_t category) _UC_ATTRIBUTE_PURE; /* Likewise. This function uses a big table comprising all categories. */ extern bool uc_is_general_category_withtable (ucs4_t uc, uint32_t bitmask) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Field 3 of Unicode Character Database: Canonical combining class. */ /* The possible results of uc_combining_class (0..255) are described in UCD.html. The list here is not definitive; more values can be added in future versions. */ enum { UC_CCC_NR = 0, /* Not Reordered */ UC_CCC_OV = 1, /* Overlay */ UC_CCC_NK = 7, /* Nukta */ UC_CCC_KV = 8, /* Kana Voicing */ UC_CCC_VR = 9, /* Virama */ UC_CCC_ATBL = 200, /* Attached Below Left */ UC_CCC_ATB = 202, /* Attached Below */ UC_CCC_ATA = 214, /* Attached Above */ UC_CCC_ATAR = 216, /* Attached Above Right */ UC_CCC_BL = 218, /* Below Left */ UC_CCC_B = 220, /* Below */ UC_CCC_BR = 222, /* Below Right */ UC_CCC_L = 224, /* Left */ UC_CCC_R = 226, /* Right */ UC_CCC_AL = 228, /* Above Left */ UC_CCC_A = 230, /* Above */ UC_CCC_AR = 232, /* Above Right */ UC_CCC_DB = 233, /* Double Below */ UC_CCC_DA = 234, /* Double Above */ UC_CCC_IS = 240 /* Iota Subscript */ }; /* Return the canonical combining class of a Unicode character. */ extern int uc_combining_class (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Return the name of a canonical combining class. */ extern const char * uc_combining_class_name (int ccc) _UC_ATTRIBUTE_CONST; /* Return the long name of a canonical combining class. */ extern const char * uc_combining_class_long_name (int ccc) _UC_ATTRIBUTE_CONST; /* Return the canonical combining class given by name, e.g. "BL", or by long name, e.g. "Below Left". */ extern int uc_combining_class_byname (const char *ccc_name) _UC_ATTRIBUTE_PURE; /* ========================================================================= */ /* Field 4 of Unicode Character Database: Bidi class. Before Unicode 4.0, this field was called "Bidirectional category". */ enum { UC_BIDI_L, /* Left-to-Right */ UC_BIDI_LRE, /* Left-to-Right Embedding */ UC_BIDI_LRO, /* Left-to-Right Override */ UC_BIDI_R, /* Right-to-Left */ UC_BIDI_AL, /* Right-to-Left Arabic */ UC_BIDI_RLE, /* Right-to-Left Embedding */ UC_BIDI_RLO, /* Right-to-Left Override */ UC_BIDI_PDF, /* Pop Directional Format */ UC_BIDI_EN, /* European Number */ UC_BIDI_ES, /* European Number Separator */ UC_BIDI_ET, /* European Number Terminator */ UC_BIDI_AN, /* Arabic Number */ UC_BIDI_CS, /* Common Number Separator */ UC_BIDI_NSM, /* Non-Spacing Mark */ UC_BIDI_BN, /* Boundary Neutral */ UC_BIDI_B, /* Paragraph Separator */ UC_BIDI_S, /* Segment Separator */ UC_BIDI_WS, /* Whitespace */ UC_BIDI_ON, /* Other Neutral */ UC_BIDI_LRI, /* Left-to-Right Isolate */ UC_BIDI_RLI, /* Right-to-Left Isolate */ UC_BIDI_FSI, /* First Strong Isolate */ UC_BIDI_PDI /* Pop Directional Isolate */ }; /* Return the name of a bidi class. */ extern const char * uc_bidi_class_name (int bidi_class) _UC_ATTRIBUTE_CONST; /* Same; obsolete function name. */ extern const char * uc_bidi_category_name (int category) _UC_ATTRIBUTE_CONST; /* Return the long name of a bidi class. */ extern const char * uc_bidi_class_long_name (int bidi_class) _UC_ATTRIBUTE_CONST; /* Return the bidi class given by name, e.g. "LRE", or by long name, e.g. "Left-to-Right Embedding". */ extern int uc_bidi_class_byname (const char *bidi_class_name) _UC_ATTRIBUTE_PURE; /* Same; obsolete function name. */ extern int uc_bidi_category_byname (const char *category_name) _UC_ATTRIBUTE_PURE; /* Return the bidi class of a Unicode character. */ extern int uc_bidi_class (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Same; obsolete function name. */ extern int uc_bidi_category (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test whether a Unicode character belongs to a given bidi class. */ extern bool uc_is_bidi_class (ucs4_t uc, int bidi_class) _UC_ATTRIBUTE_CONST; /* Same; obsolete function name. */ extern bool uc_is_bidi_category (ucs4_t uc, int category) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Field 5 of Unicode Character Database: Character decomposition mapping. See "uninorm.h". */ /* ========================================================================= */ /* Field 6 of Unicode Character Database: Decimal digit value. */ /* Return the decimal digit value of a Unicode character. */ extern int uc_decimal_value (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Field 7 of Unicode Character Database: Digit value. */ /* Return the digit value of a Unicode character. */ extern int uc_digit_value (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Field 8 of Unicode Character Database: Numeric value. */ /* Return the numeric value of a Unicode character. */ typedef struct { int numerator; int denominator; } uc_fraction_t; extern uc_fraction_t uc_numeric_value (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Field 9 of Unicode Character Database: Mirrored. */ /* Return the mirrored character of a Unicode character UC in *PUC. */ extern bool uc_mirror_char (ucs4_t uc, ucs4_t *puc); /* ========================================================================= */ /* Field 10 of Unicode Character Database: Unicode 1.0 Name. Not available in this library. */ /* ========================================================================= */ /* Field 11 of Unicode Character Database: ISO 10646 comment. Not available in this library. */ /* ========================================================================= */ /* Field 12, 13, 14 of Unicode Character Database: Uppercase mapping, lowercase mapping, titlecase mapping. See "unicase.h". */ /* ========================================================================= */ /* Field 2 of the file ArabicShaping.txt in the Unicode Character Database. */ /* Possible joining types. */ enum { UC_JOINING_TYPE_U, /* Non_Joining */ UC_JOINING_TYPE_T, /* Transparent */ UC_JOINING_TYPE_C, /* Join_Causing */ UC_JOINING_TYPE_L, /* Left_Joining */ UC_JOINING_TYPE_R, /* Right_Joining */ UC_JOINING_TYPE_D /* Dual_Joining */ }; /* Return the name of a joining type. */ extern const char * uc_joining_type_name (int joining_type) _UC_ATTRIBUTE_CONST; /* Return the long name of a joining type. */ extern const char * uc_joining_type_long_name (int joining_type) _UC_ATTRIBUTE_CONST; /* Return the joining type given by name, e.g. "D", or by long name, e.g. "Dual Joining". */ extern int uc_joining_type_byname (const char *joining_type_name) _UC_ATTRIBUTE_PURE; /* Return the joining type of a Unicode character. */ extern int uc_joining_type (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Field 3 of the file ArabicShaping.txt in the Unicode Character Database. */ /* Possible joining groups. This enumeration may be extended in the future. */ enum { UC_JOINING_GROUP_NONE, /* No_Joining_Group */ UC_JOINING_GROUP_AIN, /* Ain */ UC_JOINING_GROUP_ALAPH, /* Alaph */ UC_JOINING_GROUP_ALEF, /* Alef */ UC_JOINING_GROUP_BEH, /* Beh */ UC_JOINING_GROUP_BETH, /* Beth */ UC_JOINING_GROUP_BURUSHASKI_YEH_BARREE, /* Burushaski_Yeh_Barree */ UC_JOINING_GROUP_DAL, /* Dal */ UC_JOINING_GROUP_DALATH_RISH, /* Dalath_Rish */ UC_JOINING_GROUP_E, /* E */ UC_JOINING_GROUP_FARSI_YEH, /* Farsi_Yeh */ UC_JOINING_GROUP_FE, /* Fe */ UC_JOINING_GROUP_FEH, /* Feh */ UC_JOINING_GROUP_FINAL_SEMKATH, /* Final_Semkath */ UC_JOINING_GROUP_GAF, /* Gaf */ UC_JOINING_GROUP_GAMAL, /* Gamal */ UC_JOINING_GROUP_HAH, /* Hah */ UC_JOINING_GROUP_HE, /* He */ UC_JOINING_GROUP_HEH, /* Heh */ UC_JOINING_GROUP_HEH_GOAL, /* Heh_Goal */ UC_JOINING_GROUP_HETH, /* Heth */ UC_JOINING_GROUP_KAF, /* Kaf */ UC_JOINING_GROUP_KAPH, /* Kaph */ UC_JOINING_GROUP_KHAPH, /* Khaph */ UC_JOINING_GROUP_KNOTTED_HEH, /* Knotted_Heh */ UC_JOINING_GROUP_LAM, /* Lam */ UC_JOINING_GROUP_LAMADH, /* Lamadh */ UC_JOINING_GROUP_MEEM, /* Meem */ UC_JOINING_GROUP_MIM, /* Mim */ UC_JOINING_GROUP_NOON, /* Noon */ UC_JOINING_GROUP_NUN, /* Nun */ UC_JOINING_GROUP_NYA, /* Nya */ UC_JOINING_GROUP_PE, /* Pe */ UC_JOINING_GROUP_QAF, /* Qaf */ UC_JOINING_GROUP_QAPH, /* Qaph */ UC_JOINING_GROUP_REH, /* Reh */ UC_JOINING_GROUP_REVERSED_PE, /* Reversed_Pe */ UC_JOINING_GROUP_SAD, /* Sad */ UC_JOINING_GROUP_SADHE, /* Sadhe */ UC_JOINING_GROUP_SEEN, /* Seen */ UC_JOINING_GROUP_SEMKATH, /* Semkath */ UC_JOINING_GROUP_SHIN, /* Shin */ UC_JOINING_GROUP_SWASH_KAF, /* Swash_Kaf */ UC_JOINING_GROUP_SYRIAC_WAW, /* Syriac_Waw */ UC_JOINING_GROUP_TAH, /* Tah */ UC_JOINING_GROUP_TAW, /* Taw */ UC_JOINING_GROUP_TEH_MARBUTA, /* Teh_Marbuta */ UC_JOINING_GROUP_TEH_MARBUTA_GOAL, /* Teh_Marbuta_Goal */ UC_JOINING_GROUP_TETH, /* Teth */ UC_JOINING_GROUP_WAW, /* Waw */ UC_JOINING_GROUP_YEH, /* Yeh */ UC_JOINING_GROUP_YEH_BARREE, /* Yeh_Barree */ UC_JOINING_GROUP_YEH_WITH_TAIL, /* Yeh_With_Tail */ UC_JOINING_GROUP_YUDH, /* Yudh */ UC_JOINING_GROUP_YUDH_HE, /* Yudh_He */ UC_JOINING_GROUP_ZAIN, /* Zain */ UC_JOINING_GROUP_ZHAIN, /* Zhain */ UC_JOINING_GROUP_ROHINGYA_YEH, /* Rohingya_Yeh */ UC_JOINING_GROUP_STRAIGHT_WAW, /* Straight_Waw */ UC_JOINING_GROUP_MANICHAEAN_ALEPH, /* Manichaean_Aleph */ UC_JOINING_GROUP_MANICHAEAN_BETH, /* Manichaean_Beth */ UC_JOINING_GROUP_MANICHAEAN_GIMEL, /* Manichaean_Gimel */ UC_JOINING_GROUP_MANICHAEAN_DALETH, /* Manichaean_Daleth */ UC_JOINING_GROUP_MANICHAEAN_WAW, /* Manichaean_Waw */ UC_JOINING_GROUP_MANICHAEAN_ZAYIN, /* Manichaean_Zayin */ UC_JOINING_GROUP_MANICHAEAN_HETH, /* Manichaean_Heth */ UC_JOINING_GROUP_MANICHAEAN_TETH, /* Manichaean_Teth */ UC_JOINING_GROUP_MANICHAEAN_YODH, /* Manichaean_Yodh */ UC_JOINING_GROUP_MANICHAEAN_KAPH, /* Manichaean_Kaph */ UC_JOINING_GROUP_MANICHAEAN_LAMEDH, /* Manichaean_Lamedh */ UC_JOINING_GROUP_MANICHAEAN_DHAMEDH, /* Manichaean_Dhamedh */ UC_JOINING_GROUP_MANICHAEAN_THAMEDH, /* Manichaean_Thamedh */ UC_JOINING_GROUP_MANICHAEAN_MEM, /* Manichaean_Mem */ UC_JOINING_GROUP_MANICHAEAN_NUN, /* Manichaean_Nun */ UC_JOINING_GROUP_MANICHAEAN_SAMEKH, /* Manichaean_Aleph */ UC_JOINING_GROUP_MANICHAEAN_AYIN, /* Manichaean_Ayin */ UC_JOINING_GROUP_MANICHAEAN_PE, /* Manichaean_Pe */ UC_JOINING_GROUP_MANICHAEAN_SADHE, /* Manichaean_Sadhe */ UC_JOINING_GROUP_MANICHAEAN_QOPH, /* Manichaean_Qoph */ UC_JOINING_GROUP_MANICHAEAN_RESH, /* Manichaean_Resh */ UC_JOINING_GROUP_MANICHAEAN_TAW, /* Manichaean_Taw */ UC_JOINING_GROUP_MANICHAEAN_ONE, /* Manichaean_One */ UC_JOINING_GROUP_MANICHAEAN_FIVE, /* Manichaean_Five */ UC_JOINING_GROUP_MANICHAEAN_TEN, /* Manichaean_Ten */ UC_JOINING_GROUP_MANICHAEAN_TWENTY, /* Manichaean_Twenty */ UC_JOINING_GROUP_MANICHAEAN_HUNDRED, /* Manichaean_Hundred */ UC_JOINING_GROUP_AFRICAN_FEH, /* African_Feh */ UC_JOINING_GROUP_AFRICAN_QAF, /* African_Qaf */ UC_JOINING_GROUP_AFRICAN_NOON, /* African_Noon */ UC_JOINING_GROUP_MALAYALAM_NGA, /* Malayalam_Nga */ UC_JOINING_GROUP_MALAYALAM_JA, /* Malayalam_Ja */ UC_JOINING_GROUP_MALAYALAM_NYA, /* Malayalam_Nya */ UC_JOINING_GROUP_MALAYALAM_TTA, /* Malayalam_Tta */ UC_JOINING_GROUP_MALAYALAM_NNA, /* Malayalam_Nna */ UC_JOINING_GROUP_MALAYALAM_NNNA, /* Malayalam_Nnna */ UC_JOINING_GROUP_MALAYALAM_BHA, /* Malayalam_Bha */ UC_JOINING_GROUP_MALAYALAM_RA, /* Malayalam_Ra */ UC_JOINING_GROUP_MALAYALAM_LLA, /* Malayalam_Lla */ UC_JOINING_GROUP_MALAYALAM_LLLA, /* Malayalam_Llla */ UC_JOINING_GROUP_MALAYALAM_SSA, /* Malayalam_Ssa */ UC_JOINING_GROUP_HANIFI_ROHINGYA_PA, /* Hanifi_Rohingya_Pa */ UC_JOINING_GROUP_HANIFI_ROHINGYA_KINNA_YA, /* Hanifi_Rohingya_Kinna_Ya */ UC_JOINING_GROUP_THIN_YEH, /* Thin_Yeh */ UC_JOINING_GROUP_VERTICAL_TAIL, /* Vertical_Tail */ UC_JOINING_GROUP_KASHMIRI_YEH /* Kashmiri_Yeh */ }; /* Return the name of a joining group. */ extern const char * uc_joining_group_name (int joining_group) _UC_ATTRIBUTE_CONST; /* Return the joining group given by name, e.g. "Teh_Marbuta". */ extern int uc_joining_group_byname (const char *joining_group_name) _UC_ATTRIBUTE_PURE; /* Return the joining group of a Unicode character. */ extern int uc_joining_group (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Common API for properties. */ /* Data type denoting a property. This is not just a number, but rather a pointer to the test functions, so that programs that use only few of the properties don't have a link-time dependency towards all the tables. */ typedef struct { bool (*test_fn) (ucs4_t uc); } uc_property_t; /* Predefined properties. */ /* General. */ extern @GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_WHITE_SPACE; extern @GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ALPHABETIC; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_ALPHABETIC; extern @GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_NOT_A_CHARACTER; extern @GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT; extern @GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_DEPRECATED; extern @GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_LOGICAL_ORDER_EXCEPTION; extern @GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_VARIATION_SELECTOR; extern @GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PRIVATE_USE; extern @GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_UNASSIGNED_CODE_VALUE; /* Case. */ extern @GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_UPPERCASE; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_UPPERCASE; extern @GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_LOWERCASE; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_LOWERCASE; extern @GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_TITLECASE; extern @GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CASED; extern @GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CASE_IGNORABLE; extern @GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CHANGES_WHEN_LOWERCASED; extern @GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CHANGES_WHEN_UPPERCASED; extern @GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CHANGES_WHEN_TITLECASED; extern @GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CHANGES_WHEN_CASEFOLDED; extern @GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CHANGES_WHEN_CASEMAPPED; extern @GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_SOFT_DOTTED; /* Identifiers. */ extern @GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ID_START; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_ID_START; extern @GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ID_CONTINUE; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_ID_CONTINUE; extern @GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_XID_START; extern @GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_XID_CONTINUE; extern @GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ID_COMPAT_MATH_START; extern @GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ID_COMPAT_MATH_CONTINUE; extern @GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PATTERN_WHITE_SPACE; extern @GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PATTERN_SYNTAX; /* Shaping and rendering. */ extern @GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_JOIN_CONTROL; extern @GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_GRAPHEME_BASE; extern @GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_GRAPHEME_EXTEND; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_GRAPHEME_EXTEND; extern @GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_GRAPHEME_LINK; extern @GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_MODIFIER_COMBINING_MARK; /* Bidi. */ extern @GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_CONTROL; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_LEFT_TO_RIGHT; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_EUROPEAN_DIGIT; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_EUR_NUM_SEPARATOR; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_EUR_NUM_TERMINATOR; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_ARABIC_DIGIT; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_COMMON_SEPARATOR; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_BLOCK_SEPARATOR; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_SEGMENT_SEPARATOR; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_WHITESPACE; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_NON_SPACING_MARK; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_BOUNDARY_NEUTRAL; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_PDF; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE; extern @GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_BIDI_OTHER_NEUTRAL; /* Numeric. */ extern @GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_HEX_DIGIT; extern @GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ASCII_HEX_DIGIT; /* CJK. */ extern @GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_IDEOGRAPHIC; extern @GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_UNIFIED_IDEOGRAPH; extern @GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_RADICAL; extern @GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_IDS_UNARY_OPERATOR; extern @GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_IDS_BINARY_OPERATOR; extern @GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_IDS_TRINARY_OPERATOR; /* Emoji. */ extern @GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EMOJI; extern @GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EMOJI_PRESENTATION; extern @GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EMOJI_MODIFIER; extern @GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EMOJI_MODIFIER_BASE; extern @GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EMOJI_COMPONENT; extern @GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EXTENDED_PICTOGRAPHIC; /* Misc. */ extern @GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ZERO_WIDTH; extern @GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_SPACE; extern @GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_NON_BREAK; extern @GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_ISO_CONTROL; extern @GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_FORMAT_CONTROL; extern @GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PREPENDED_CONCATENATION_MARK; extern @GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_DASH; extern @GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_HYPHEN; extern @GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PUNCTUATION; extern @GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_LINE_SEPARATOR; extern @GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PARAGRAPH_SEPARATOR; extern @GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_QUOTATION_MARK; extern @GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_SENTENCE_TERMINAL; extern @GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_TERMINAL_PUNCTUATION; extern @GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_CURRENCY_SYMBOL; extern @GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_MATH; extern @GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_OTHER_MATH; extern @GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_PAIRED_PUNCTUATION; extern @GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_LEFT_OF_PAIR; extern @GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_COMBINING; extern @GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_COMPOSITE; extern @GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_DECIMAL_DIGIT; extern @GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_NUMERIC; extern @GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_DIACRITIC; extern @GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_EXTENDER; extern @GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_IGNORABLE_CONTROL; extern @GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE@ const uc_property_t UC_PROPERTY_REGIONAL_INDICATOR; /* Return the property given by name, e.g. "White space". */ extern uc_property_t uc_property_byname (const char *property_name); /* Test whether a property is valid. */ #define uc_property_is_valid(property) ((property).test_fn != NULL) /* Test whether a Unicode character has a given property. */ extern bool uc_is_property (ucs4_t uc, uc_property_t property); extern bool uc_is_property_white_space (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_alphabetic (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_alphabetic (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_not_a_character (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_default_ignorable_code_point (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_default_ignorable_code_point (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_deprecated (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_logical_order_exception (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_variation_selector (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_private_use (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_unassigned_code_value (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_uppercase (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_uppercase (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_lowercase (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_lowercase (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_titlecase (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_cased (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_case_ignorable (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_changes_when_lowercased (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_changes_when_uppercased (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_changes_when_titlecased (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_changes_when_casefolded (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_changes_when_casemapped (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_soft_dotted (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_id_start (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_id_start (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_id_continue (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_id_continue (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_xid_start (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_xid_continue (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_id_compat_math_start (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_id_compat_math_continue (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_pattern_white_space (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_pattern_syntax (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_join_control (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_grapheme_base (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_grapheme_extend (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_grapheme_extend (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_grapheme_link (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_modifier_combining_mark (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_control (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_left_to_right (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_hebrew_right_to_left (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_arabic_right_to_left (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_european_digit (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_eur_num_separator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_eur_num_terminator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_arabic_digit (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_common_separator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_block_separator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_segment_separator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_whitespace (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_non_spacing_mark (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_boundary_neutral (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_pdf (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_embedding_or_override (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_bidi_other_neutral (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_hex_digit (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_ascii_hex_digit (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_ideographic (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_unified_ideograph (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_radical (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_ids_unary_operator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_ids_binary_operator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_ids_trinary_operator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_emoji (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_emoji_presentation (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_emoji_modifier (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_emoji_modifier_base (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_emoji_component (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_extended_pictographic (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_zero_width (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_space (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_non_break (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_iso_control (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_format_control (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_prepended_concatenation_mark (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_dash (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_hyphen (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_punctuation (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_line_separator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_paragraph_separator (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_quotation_mark (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_sentence_terminal (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_terminal_punctuation (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_currency_symbol (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_math (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_other_math (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_paired_punctuation (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_left_of_pair (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_combining (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_composite (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_decimal_digit (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_numeric (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_diacritic (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_extender (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_ignorable_control (ucs4_t uc) _UC_ATTRIBUTE_CONST; extern bool uc_is_property_regional_indicator (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Other attributes. */ /* ------------------------------------------------------------------------- */ /* Indic_Conjunct_Break (InCB): from the file DerivedCoreProperties.txt in the Unicode Character Database. */ /* Possible values of the Indic_Conjunct_Break attribute. This enumeration may be extended in the future. */ enum { UC_INDIC_CONJUNCT_BREAK_NONE, /* None */ UC_INDIC_CONJUNCT_BREAK_CONSONANT, /* Consonant */ UC_INDIC_CONJUNCT_BREAK_LINKER, /* Linker */ UC_INDIC_CONJUNCT_BREAK_EXTEND /* Extend */ }; /* Return the name of an Indic_Conjunct_Break value. */ extern const char * uc_indic_conjunct_break_name (int indic_conjunct_break) _UC_ATTRIBUTE_CONST; /* Return the Indic_Conjunct_Break value given by name, e.g. "Consonant". */ extern int uc_indic_conjunct_break_byname (const char *indic_conjunct_break_name) _UC_ATTRIBUTE_PURE; /* Return the Indic_Conjunct_Break attribute of a Unicode character. */ extern int uc_indic_conjunct_break (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Subdivision of the Unicode characters into scripts. */ typedef struct { unsigned int code : 21; unsigned int start : 1; unsigned int end : 1; } uc_interval_t; typedef struct { unsigned int nintervals; const uc_interval_t *intervals; const char *name; } uc_script_t; /* Return the script of a Unicode character. */ extern const uc_script_t * uc_script (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Return the script given by name, e.g. "HAN". */ extern const uc_script_t * uc_script_byname (const char *script_name) _UC_ATTRIBUTE_PURE; /* Test whether a Unicode character belongs to a given script. */ extern bool uc_is_script (ucs4_t uc, const uc_script_t *script) _UC_ATTRIBUTE_PURE; /* Get the list of all scripts. */ extern void uc_all_scripts (const uc_script_t **scripts, size_t *count); /* ========================================================================= */ /* Subdivision of the Unicode character range into blocks. */ typedef struct { ucs4_t start; ucs4_t end; const char *name; } uc_block_t; /* Return the block a character belongs to. */ extern const uc_block_t * uc_block (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test whether a Unicode character belongs to a given block. */ extern bool uc_is_block (ucs4_t uc, const uc_block_t *block) _UC_ATTRIBUTE_PURE; /* Get the list of all blocks. */ extern void uc_all_blocks (const uc_block_t **blocks, size_t *count); /* ========================================================================= */ /* Properties taken from language standards. */ /* Test whether a Unicode character is considered whitespace in ISO C 99. */ extern bool uc_is_c_whitespace (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test whether a Unicode character is considered whitespace in Java. */ extern bool uc_is_java_whitespace (ucs4_t uc) _UC_ATTRIBUTE_CONST; enum { UC_IDENTIFIER_START, /* valid as first or subsequent character */ UC_IDENTIFIER_VALID, /* valid as subsequent character only */ UC_IDENTIFIER_INVALID, /* not valid */ UC_IDENTIFIER_IGNORABLE /* ignorable (Java only) */ }; /* Return the categorization of a Unicode character w.r.t. the ISO C 99 identifier syntax. */ extern int uc_c_ident_category (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Return the categorization of a Unicode character w.r.t. the Java identifier syntax. */ extern int uc_java_ident_category (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ /* Like ISO C and . These functions are deprecated, because this set of functions was designed with ASCII in mind and cannot reflect the more diverse reality of the Unicode character set. But they can be a quick-and-dirty porting aid when migrating from wchar_t APIs to Unicode strings. */ /* Test for any character for which 'uc_is_alpha' or 'uc_is_digit' is true. */ extern bool uc_is_alnum (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character for which 'uc_is_upper' or 'uc_is_lower' is true, or any character that is one of a locale-specific set of characters for which none of 'uc_is_cntrl', 'uc_is_digit', 'uc_is_punct', or 'uc_is_space' is true. */ extern bool uc_is_alpha (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any control character. */ extern bool uc_is_cntrl (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character that corresponds to a decimal-digit character. */ extern bool uc_is_digit (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character for which 'uc_is_print' is true and 'uc_is_space' is false. */ extern bool uc_is_graph (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character that corresponds to a lowercase letter or is one of a locale-specific set of characters for which none of 'uc_is_cntrl', 'uc_is_digit', 'uc_is_punct', or 'uc_is_space' is true. */ extern bool uc_is_lower (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any printing character. */ extern bool uc_is_print (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any printing character that is one of a locale-specific set of characters for which neither 'uc_is_space' nor 'uc_is_alnum' is true. */ extern bool uc_is_punct (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character that corresponds to a locale-specific set of characters for which none of 'uc_is_alnum', 'uc_is_graph', or 'uc_is_punct' is true. */ extern bool uc_is_space (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character that corresponds to an uppercase letter or is one of a locale-specific set of character for which none of 'uc_is_cntrl', 'uc_is_digit', 'uc_is_punct', or 'uc_is_space' is true. */ extern bool uc_is_upper (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* Test for any character that corresponds to a hexadecimal-digit character. */ extern bool uc_is_xdigit (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* GNU extension. */ /* Test for any character that corresponds to a standard blank character or a locale-specific set of characters for which 'uc_is_alnum' is false. */ extern bool uc_is_blank (ucs4_t uc) _UC_ATTRIBUTE_CONST; /* ========================================================================= */ #ifdef __cplusplus } #endif #endif /* _UNICTYPE_H */ datamash-1.9/lib/uninorm.in.h0000644000000000000000000002514414767401140011621 /* Normalization forms (composition and decomposition) of Unicode strings. Copyright (C) 2001-2002, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _UNINORM_H #define _UNINORM_H /* Get size_t. */ #include #include "unitypes.h" #if @HAVE_UNISTRING_WOE32DLL_H@ # include #else # define LIBUNISTRING_DLL_VARIABLE #endif #ifdef __cplusplus extern "C" { #endif /* Conventions: All functions prefixed with u8_ operate on UTF-8 encoded strings. Their unit is an uint8_t (1 byte). All functions prefixed with u16_ operate on UTF-16 encoded strings. Their unit is an uint16_t (a 2-byte word). All functions prefixed with u32_ operate on UCS-4 encoded strings. Their unit is an uint32_t (a 4-byte word). All argument pairs (s, n) denote a Unicode string s[0..n-1] with exactly n units. Functions returning a string result take a (resultbuf, lengthp) argument pair. If resultbuf is not NULL and the result fits into *lengthp units, it is put in resultbuf, and resultbuf is returned. Otherwise, a freshly allocated string is returned. In both cases, *lengthp is set to the length (number of units) of the returned string. In case of error, NULL is returned and errno is set. */ enum { UC_DECOMP_CANONICAL,/* Canonical decomposition. */ UC_DECOMP_FONT, /* A font variant (e.g. a blackletter form). */ UC_DECOMP_NOBREAK, /* A no-break version of a space or hyphen. */ UC_DECOMP_INITIAL, /* An initial presentation form (Arabic). */ UC_DECOMP_MEDIAL, /* A medial presentation form (Arabic). */ UC_DECOMP_FINAL, /* A final presentation form (Arabic). */ UC_DECOMP_ISOLATED,/* An isolated presentation form (Arabic). */ UC_DECOMP_CIRCLE, /* An encircled form. */ UC_DECOMP_SUPER, /* A superscript form. */ UC_DECOMP_SUB, /* A subscript form. */ UC_DECOMP_VERTICAL,/* A vertical layout presentation form. */ UC_DECOMP_WIDE, /* A wide (or zenkaku) compatibility character. */ UC_DECOMP_NARROW, /* A narrow (or hankaku) compatibility character. */ UC_DECOMP_SMALL, /* A small variant form (CNS compatibility). */ UC_DECOMP_SQUARE, /* A CJK squared font variant. */ UC_DECOMP_FRACTION,/* A vulgar fraction form. */ UC_DECOMP_COMPAT /* Otherwise unspecified compatibility character. */ }; /* Maximum size of decomposition of a single Unicode character. */ #define UC_DECOMPOSITION_MAX_LENGTH 32 /* Return the character decomposition mapping of a Unicode character. DECOMPOSITION must point to an array of at least UC_DECOMPOSITION_MAX_LENGTH ucs_t elements. When a decomposition exists, DECOMPOSITION[0..N-1] and *DECOMP_TAG are filled and N is returned. Otherwise -1 is returned. */ extern int uc_decomposition (ucs4_t uc, int *decomp_tag, ucs4_t *decomposition); /* Return the canonical character decomposition mapping of a Unicode character. DECOMPOSITION must point to an array of at least UC_DECOMPOSITION_MAX_LENGTH ucs_t elements. When a decomposition exists, DECOMPOSITION[0..N-1] is filled and N is returned. Otherwise -1 is returned. */ extern int uc_canonical_decomposition (ucs4_t uc, ucs4_t *decomposition); /* Attempt to combine the Unicode characters uc1, uc2. uc1 is known to have canonical combining class 0. Return the combination of uc1 and uc2, if it exists. Return 0 otherwise. Not all decompositions can be recombined using this function. See the Unicode file CompositionExclusions.txt for details. */ extern ucs4_t uc_composition (ucs4_t uc1, ucs4_t uc2) _UC_ATTRIBUTE_CONST; /* An object of type uninorm_t denotes a Unicode normalization form. */ struct unicode_normalization_form; typedef const struct unicode_normalization_form *uninorm_t; /* UNINORM_NFD: Normalization form D: canonical decomposition. */ extern @GNULIB_UNINORM_NFD_DLL_VARIABLE@ const struct unicode_normalization_form uninorm_nfd; #define UNINORM_NFD (&uninorm_nfd) /* UNINORM_NFC: Normalization form C: canonical decomposition, then canonical composition. */ extern @GNULIB_UNINORM_NFC_DLL_VARIABLE@ const struct unicode_normalization_form uninorm_nfc; #define UNINORM_NFC (&uninorm_nfc) /* UNINORM_NFKD: Normalization form KD: compatibility decomposition. */ extern @GNULIB_UNINORM_NFKD_DLL_VARIABLE@ const struct unicode_normalization_form uninorm_nfkd; #define UNINORM_NFKD (&uninorm_nfkd) /* UNINORM_NFKC: Normalization form KC: compatibility decomposition, then canonical composition. */ extern @GNULIB_UNINORM_NFKC_DLL_VARIABLE@ const struct unicode_normalization_form uninorm_nfkc; #define UNINORM_NFKC (&uninorm_nfkc) /* Test whether a normalization form does compatibility decomposition. */ #define uninorm_is_compat_decomposing(nf) \ ((* (const unsigned int *) (nf) >> 0) & 1) /* Test whether a normalization form includes canonical composition. */ #define uninorm_is_composing(nf) \ ((* (const unsigned int *) (nf) >> 1) & 1) /* Return the decomposing variant of a normalization form. This maps NFC,NFD -> NFD and NFKC,NFKD -> NFKD. */ extern uninorm_t uninorm_decomposing_form (uninorm_t nf) _UC_ATTRIBUTE_PURE; /* Return the specified normalization form of a string. */ extern uint8_t * u8_normalize (uninorm_t nf, const uint8_t *s, size_t n, uint8_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint16_t * u16_normalize (uninorm_t nf, const uint16_t *s, size_t n, uint16_t *_UC_RESTRICT resultbuf, size_t *lengthp); extern uint32_t * u32_normalize (uninorm_t nf, const uint32_t *s, size_t n, uint32_t *_UC_RESTRICT resultbuf, size_t *lengthp); /* Compare S1 and S2, ignoring differences in normalization. NF must be either UNINORM_NFD or UNINORM_NFKD. If successful, set *RESULTP to -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2, and return 0. Upon failure, return -1 with errno set. */ extern int u8_normcmp (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, uninorm_t nf, int *resultp); extern int u16_normcmp (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, uninorm_t nf, int *resultp); extern int u32_normcmp (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, uninorm_t nf, int *resultp); /* Converts the string S of length N to a NUL-terminated byte sequence, in such a way that comparing uN_normxfrm (S1) and uN_normxfrm (S2) with uN_cmp2() is equivalent to comparing S1 and S2 with uN_normcoll(). NF must be either UNINORM_NFC or UNINORM_NFKC. */ extern char * u8_normxfrm (const uint8_t *s, size_t n, uninorm_t nf, char *resultbuf, size_t *lengthp); extern char * u16_normxfrm (const uint16_t *s, size_t n, uninorm_t nf, char *resultbuf, size_t *lengthp); extern char * u32_normxfrm (const uint32_t *s, size_t n, uninorm_t nf, char *resultbuf, size_t *lengthp); /* Compare S1 and S2, ignoring differences in normalization, using the collation rules of the current locale. NF must be either UNINORM_NFC or UNINORM_NFKC. If successful, set *RESULTP to -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2, and return 0. Upon failure, return -1 with errno set. */ extern int u8_normcoll (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2, uninorm_t nf, int *resultp); extern int u16_normcoll (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2, uninorm_t nf, int *resultp); extern int u32_normcoll (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2, uninorm_t nf, int *resultp); /* Normalization of a stream of Unicode characters. A "stream of Unicode characters" is essentially a function that accepts an ucs4_t argument repeatedly, optionally combined with a function that "flushes" the stream. */ /* Data type of a stream of Unicode characters that normalizes its input according to a given normalization form and passes the normalized character sequence to the encapsulated stream of Unicode characters. */ struct uninorm_filter; /* Bring data buffered in the filter to its destination, the encapsulated stream, then close and free the filter. Return 0 if successful, or -1 with errno set upon failure. */ extern int uninorm_filter_free (struct uninorm_filter *filter); /* Create and return a normalization filter for Unicode characters. The pair (stream_func, stream_data) is the encapsulated stream. stream_func (stream_data, uc) receives the Unicode character uc and returns 0 if successful, or -1 with errno set upon failure. Return the new filter, or NULL with errno set upon failure. */ extern struct uninorm_filter * uninorm_filter_create (uninorm_t nf, int (*stream_func) (void *stream_data, ucs4_t uc), void *stream_data) _GL_ATTRIBUTE_DEALLOC (uninorm_filter_free, 1); /* Stuff a Unicode character into a normalizing filter. Return 0 if successful, or -1 with errno set upon failure. */ extern int uninorm_filter_write (struct uninorm_filter *filter, ucs4_t uc); /* Bring data buffered in the filter to its destination, the encapsulated stream. Return 0 if successful, or -1 with errno set upon failure. Note! If after calling this function, additional characters are written into the filter, the resulting character sequence in the encapsulated stream will not necessarily be normalized. */ extern int uninorm_filter_flush (struct uninorm_filter *filter); #ifdef __cplusplus } #endif #endif /* _UNINORM_H */ datamash-1.9/lib/unistd.c0000644000000000000000000000154114767401140011021 /* Inline functions for . Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE #include #include typedef int dummy; datamash-1.9/lib/unistd.in.h0000644000000000000000000025075714767402206011456 /* Substitute for and wrapper around . Copyright (C) 2003-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _@GUARD_PREFIX@_UNISTD_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if @HAVE_UNISTD_H@ && defined _GL_INCLUDING_UNISTD_H /* Special invocation convention: - On Mac OS X 10.3.9 we have a sequence of nested includes -> -> -> In this situation, the functions are not yet declared, therefore we cannot provide the C++ aliases. */ #@INCLUDE_NEXT@ @NEXT_UNISTD_H@ #else /* Normal invocation convention. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_UNISTD_H@ # define _GL_INCLUDING_UNISTD_H # @INCLUDE_NEXT@ @NEXT_UNISTD_H@ # undef _GL_INCLUDING_UNISTD_H #endif /* Avoid lseek bugs in FreeBSD, macOS . This bug is fixed after FreeBSD 13; see . Use macOS "9999" to stand for a future fixed macOS version. */ #if defined __FreeBSD__ && __FreeBSD__ < 14 # undef SEEK_DATA # undef SEEK_HOLE #elif defined __APPLE__ && defined __MACH__ && defined SEEK_DATA # ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ # include # endif # if (!defined MAC_OS_X_VERSION_MIN_REQUIRED \ || MAC_OS_X_VERSION_MIN_REQUIRED < 99990000) # include /* It also defines the two macros. */ # undef SEEK_DATA # undef SEEK_HOLE # endif #endif /* Get all possible declarations of gethostname(). */ #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ && !defined _GL_INCLUDING_WINSOCK2_H # define _GL_INCLUDING_WINSOCK2_H # include # undef _GL_INCLUDING_WINSOCK2_H #endif #if !defined _@GUARD_PREFIX@_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H #define _@GUARD_PREFIX@_UNISTD_H /* This file uses _GL_ATTRIBUTE_NODISCARD, _GL_INLINE_HEADER_BEGIN, _GL_INLINE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* NetBSD 5.0 mis-defines NULL. Also get size_t. */ /* But avoid namespace pollution on glibc systems. */ #ifndef __GLIBC__ # include #endif /* mingw doesn't define the SEEK_* or *_FILENO macros in . */ /* MSVC declares 'unlink' in , not in . We must include it before we #define unlink rpl_unlink. */ /* Cygwin 1.7.1 declares symlinkat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ || ((@GNULIB_UNLINK@ || defined GNULIB_POSIXCHECK) \ && (defined _WIN32 && ! defined __CYGWIN__)) \ || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \ && defined __CYGWIN__)) \ && ! defined __GLIBC__ # include #endif /* FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Solaris 11.4, and glibc 2.41 do not define O_CLOEXEC in . */ /* Cygwin 1.7.1 and Android 4.3 declare unlinkat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if ! defined O_CLOEXEC \ || ((@GNULIB_UNLINKAT@ || defined GNULIB_POSIXCHECK) \ && (defined __CYGWIN__ || defined __ANDROID__) \ && ! defined __GLIBC__) # include #endif /* mingw fails to declare _exit in . */ /* mingw, MSVC, BeOS, Haiku declare environ in , not in . */ /* Solaris declares getcwd not only in but also in . */ /* OSF Tru64 Unix cannot see gnulib rpl_strtod when system is included here. */ /* But avoid namespace pollution on glibc systems. */ #if !defined __GLIBC__ && !defined __osf__ # define __need_system_stdlib_h # include # undef __need_system_stdlib_h #endif /* Native Windows platforms declare _chdir, _getcwd, _rmdir in and/or , not in . They also declare _access(), _chmod(), _close(), _dup(), _dup2(), _isatty(), _lseek(), _read(), _unlink(), _write() in . */ #if defined _WIN32 && !defined __CYGWIN__ # include # include #endif /* Native Windows platforms declare _execl*, _execv* in . */ #if defined _WIN32 && !defined __CYGWIN__ # include #endif /* AIX and OSF/1 5.1 declare getdomainname in , not in . NonStop Kernel declares gethostname in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if ((@GNULIB_GETDOMAINNAME@ && (defined _AIX || defined __osf__)) \ || (@GNULIB_GETHOSTNAME@ && defined __TANDEM)) \ && !defined __GLIBC__ # include #endif /* Mac OS X 10.13, Solaris 11.4, and Android 9.0 declare getentropy in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (@GNULIB_GETENTROPY@ || defined GNULIB_POSIXCHECK) \ && ((defined __APPLE__ && defined __MACH__) || defined __sun \ || defined __ANDROID__) \ && @UNISTD_H_HAVE_SYS_RANDOM_H@ \ && !defined __GLIBC__ # include #endif /* Android 4.3 declares fchownat in , not in . */ /* But avoid namespace pollution on glibc systems. */ #if (@GNULIB_FCHOWNAT@ || defined GNULIB_POSIXCHECK) && defined __ANDROID__ \ && !defined __GLIBC__ # include #endif /* MSVC defines off_t in . May also define off_t to a 64-bit type on native Windows. Also defines off64_t on macOS, NetBSD, OpenBSD, MSVC, Cygwin, Haiku. */ /* Get off_t, off64_t, ssize_t, mode_t. */ #include /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Get getopt(), optarg, optind, opterr, optopt. */ #if @GNULIB_GETOPT_POSIX@ && @GNULIB_UNISTD_H_GETOPT@ && !defined _GL_SYSTEM_GETOPT # include # include #endif _GL_INLINE_HEADER_BEGIN #ifndef _GL_UNISTD_INLINE # define _GL_UNISTD_INLINE _GL_INLINE #endif #ifndef _GL_GETPAGESIZE_INLINE # define _GL_GETPAGESIZE_INLINE _GL_INLINE #endif /* Hide some function declarations from . */ #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ # if !defined _@GUARD_PREFIX@_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h # undef recv # define recv recv_used_without_including_sys_socket_h # undef send # define send send_used_without_including_sys_socket_h # undef recvfrom # define recvfrom recvfrom_used_without_including_sys_socket_h # undef sendto # define sendto sendto_used_without_including_sys_socket_h # undef setsockopt # define setsockopt setsockopt_used_without_including_sys_socket_h # undef shutdown # define shutdown shutdown_used_without_including_sys_socket_h # else _GL_WARN_ON_USE (socket, "socket() used without including "); _GL_WARN_ON_USE (connect, "connect() used without including "); _GL_WARN_ON_USE (accept, "accept() used without including "); _GL_WARN_ON_USE (bind, "bind() used without including "); _GL_WARN_ON_USE (getpeername, "getpeername() used without including "); _GL_WARN_ON_USE (getsockname, "getsockname() used without including "); _GL_WARN_ON_USE (getsockopt, "getsockopt() used without including "); _GL_WARN_ON_USE (listen, "listen() used without including "); _GL_WARN_ON_USE (recv, "recv() used without including "); _GL_WARN_ON_USE (send, "send() used without including "); _GL_WARN_ON_USE (recvfrom, "recvfrom() used without including "); _GL_WARN_ON_USE (sendto, "sendto() used without including "); _GL_WARN_ON_USE (setsockopt, "setsockopt() used without including "); _GL_WARN_ON_USE (shutdown, "shutdown() used without including "); # endif # endif # if !defined _@GUARD_PREFIX@_SYS_SELECT_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef select # define select select_used_without_including_sys_select_h # else _GL_WARN_ON_USE (select, "select() used without including "); # endif # endif #endif /* OS/2 EMX lacks these macros. */ #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif #ifndef STDOUT_FILENO # define STDOUT_FILENO 1 #endif #ifndef STDERR_FILENO # define STDERR_FILENO 2 #endif /* Ensure *_OK macros exist. */ #ifndef F_OK # define F_OK 0 # define X_OK 1 # define W_OK 2 # define R_OK 4 #endif /* Declare overridden functions. */ #if @GNULIB_ACCESS@ # if @REPLACE_ACCESS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef access # define access rpl_access # endif _GL_FUNCDECL_RPL (access, int, (const char *file, int mode), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (access, int, (const char *file, int mode)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef access # define access _access # endif _GL_CXXALIAS_MDA (access, int, (const char *file, int mode)); # else _GL_CXXALIAS_SYS (access, int, (const char *file, int mode)); # endif _GL_CXXALIASWARN (access); #elif defined GNULIB_POSIXCHECK # undef access # if HAVE_RAW_DECL_ACCESS /* The access() function is a security risk. */ _GL_WARN_ON_USE (access, "access does not always support X_OK - " "use gnulib module access for portability; " "also, this function is a security risk - " "use the gnulib module faccessat instead"); # endif #elif @GNULIB_MDA_ACCESS@ /* On native Windows, map 'access' to '_access', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::access always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef access # define access _access # endif _GL_CXXALIAS_MDA (access, int, (const char *file, int mode)); # else _GL_CXXALIAS_SYS (access, int, (const char *file, int mode)); # endif _GL_CXXALIASWARN (access); #endif #if @GNULIB_CHDIR@ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef chdir # define chdir _chdir # endif _GL_CXXALIAS_MDA (chdir, int, (const char *file)); # else _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIASWARN (chdir); #elif defined GNULIB_POSIXCHECK # undef chdir # if HAVE_RAW_DECL_CHDIR _GL_WARN_ON_USE (chdir, "chdir is not always in - " "use gnulib module chdir for portability"); # endif #elif @GNULIB_MDA_CHDIR@ /* On native Windows, map 'chdir' to '_chdir', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::chdir always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef chdir # define chdir _chdir # endif _GL_CXXALIAS_MDA (chdir, int, (const char *file)); # else _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIASWARN (chdir); #endif #if @GNULIB_CHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Follow symbolic links. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification = 2 _GL_CXXALIASWARN (copy_file_range); # endif #elif defined GNULIB_POSIXCHECK # undef copy_file_range # if HAVE_RAW_DECL_COPY_FILE_RANGE _GL_WARN_ON_USE (copy_file_range, "copy_file_range is unportable - " "use gnulib module copy_file_range for portability"); # endif #endif #if @GNULIB_DUP@ # if @REPLACE_DUP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup rpl_dup # endif _GL_FUNCDECL_RPL (dup, int, (int oldfd), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (dup, int, (int oldfd)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef dup # define dup _dup # endif _GL_CXXALIAS_MDA (dup, int, (int oldfd)); # else _GL_CXXALIAS_SYS (dup, int, (int oldfd)); # endif _GL_CXXALIASWARN (dup); #elif defined GNULIB_POSIXCHECK # undef dup # if HAVE_RAW_DECL_DUP _GL_WARN_ON_USE (dup, "dup is unportable - " "use gnulib module dup for portability"); # endif #elif @GNULIB_MDA_DUP@ /* On native Windows, map 'dup' to '_dup', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::dup always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef dup # define dup _dup # endif _GL_CXXALIAS_MDA (dup, int, (int oldfd)); # else _GL_CXXALIAS_SYS (dup, int, (int oldfd)); # endif _GL_CXXALIASWARN (dup); #endif #if @GNULIB_DUP2@ /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if NEWFD = OLDFD, otherwise close NEWFD first if it is open. Return newfd if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_DUP2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define dup2 rpl_dup2 # endif _GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd), ); _GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef dup2 # define dup2 _dup2 # endif _GL_CXXALIAS_MDA (dup2, int, (int oldfd, int newfd)); # else _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); # endif _GL_CXXALIASWARN (dup2); #elif defined GNULIB_POSIXCHECK # undef dup2 # if HAVE_RAW_DECL_DUP2 _GL_WARN_ON_USE (dup2, "dup2 is unportable - " "use gnulib module dup2 for portability"); # endif #elif @GNULIB_MDA_DUP2@ /* On native Windows, map 'dup2' to '_dup2', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::dup2 always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef dup2 # define dup2 _dup2 # endif _GL_CXXALIAS_MDA (dup2, int, (int oldfd, int newfd)); # else _GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); # endif _GL_CXXALIASWARN (dup2); #endif #if @GNULIB_DUP3@ /* Copy the file descriptor OLDFD into file descriptor NEWFD, with the specified flags. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). Close NEWFD first if it is open. Return newfd if successful, otherwise -1 and errno set. See the Linux man page at . */ # if @REPLACE_DUP3@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef dup3 # define dup3 rpl_dup3 # endif _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags), ); _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags)); # else # if !@HAVE_DUP3@ _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags), ); # endif _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (dup3); # endif #elif defined GNULIB_POSIXCHECK # undef dup3 # if HAVE_RAW_DECL_DUP3 _GL_WARN_ON_USE (dup3, "dup3 is unportable - " "use gnulib module dup3 for portability"); # endif #endif #if @GNULIB_ENVIRON@ # if defined __CYGWIN__ && !defined __i386__ /* The 'environ' variable is defined in a DLL. Therefore its declaration needs the '__declspec(dllimport)' attribute, but the system's lacks it. This leads to a link error on 64-bit Cygwin when the option -Wl,--disable-auto-import is in use. */ _GL_EXTERN_C __declspec(dllimport) char **environ; # endif # if !@HAVE_DECL_ENVIRON@ /* Set of environment variables and values. An array of strings of the form "VARIABLE=VALUE", terminated with a NULL. */ # if defined __APPLE__ && defined __MACH__ # include # if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR # define _GL_USE_CRT_EXTERNS # endif # endif # ifdef _GL_USE_CRT_EXTERNS # include # define environ (*_NSGetEnviron ()) # else # ifdef __cplusplus extern "C" { # endif extern char **environ; # ifdef __cplusplus } # endif # endif # endif #elif defined GNULIB_POSIXCHECK # if HAVE_RAW_DECL_ENVIRON _GL_UNISTD_INLINE char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is unportable - " "use gnulib module environ for portability") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) # endif #endif #if @GNULIB_EUIDACCESS@ /* Like access(), except that it uses the effective user id and group id of the current process. */ # if !@HAVE_EUIDACCESS@ _GL_FUNCDECL_SYS (euidaccess, int, (const char *filename, int mode), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (euidaccess, int, (const char *filename, int mode)); _GL_CXXALIASWARN (euidaccess); # if defined GNULIB_POSIXCHECK /* Like access(), this function is a security risk. */ _GL_WARN_ON_USE (euidaccess, "the euidaccess function is a security risk - " "use the gnulib module faccessat instead"); # endif #elif defined GNULIB_POSIXCHECK # undef euidaccess # if HAVE_RAW_DECL_EUIDACCESS _GL_WARN_ON_USE (euidaccess, "euidaccess is unportable - " "use gnulib module euidaccess for portability"); # endif #endif #if @GNULIB_EXECL@ # if @REPLACE_EXECL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execl # define execl rpl_execl # endif _GL_FUNCDECL_RPL (execl, int, (const char *program, const char *arg, ...), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (execl, int, (const char *program, const char *arg, ...)); # else _GL_CXXALIAS_SYS (execl, int, (const char *program, const char *arg, ...)); # endif _GL_CXXALIASWARN (execl); #elif defined GNULIB_POSIXCHECK # undef execl # if HAVE_RAW_DECL_EXECL _GL_WARN_ON_USE (execl, "execl behaves very differently on mingw - " "use gnulib module execl for portability"); # endif #elif @GNULIB_MDA_EXECL@ /* On native Windows, map 'execl' to '_execl', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execl always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execl # define execl _execl # endif _GL_CXXALIAS_MDA (execl, intptr_t, (const char *program, const char *arg, ...)); # else _GL_CXXALIAS_SYS (execl, int, (const char *program, const char *arg, ...)); # endif _GL_CXXALIASWARN (execl); #endif #if @GNULIB_EXECLE@ # if @REPLACE_EXECLE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execle # define execle rpl_execle # endif _GL_FUNCDECL_RPL (execle, int, (const char *program, const char *arg, ...), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (execle, int, (const char *program, const char *arg, ...)); # else _GL_CXXALIAS_SYS (execle, int, (const char *program, const char *arg, ...)); # endif _GL_CXXALIASWARN (execle); #elif defined GNULIB_POSIXCHECK # undef execle # if HAVE_RAW_DECL_EXECLE _GL_WARN_ON_USE (execle, "execle behaves very differently on mingw - " "use gnulib module execle for portability"); # endif #elif @GNULIB_MDA_EXECLE@ /* On native Windows, map 'execle' to '_execle', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execle always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execle # define execle _execle # endif _GL_CXXALIAS_MDA (execle, intptr_t, (const char *program, const char *arg, ...)); # else _GL_CXXALIAS_SYS (execle, int, (const char *program, const char *arg, ...)); # endif _GL_CXXALIASWARN (execle); #endif #if @GNULIB_EXECLP@ # if @REPLACE_EXECLP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execlp # define execlp rpl_execlp # endif _GL_FUNCDECL_RPL (execlp, int, (const char *program, const char *arg, ...), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (execlp, int, (const char *program, const char *arg, ...)); # else _GL_CXXALIAS_SYS (execlp, int, (const char *program, const char *arg, ...)); # endif _GL_CXXALIASWARN (execlp); #elif defined GNULIB_POSIXCHECK # undef execlp # if HAVE_RAW_DECL_EXECLP _GL_WARN_ON_USE (execlp, "execlp behaves very differently on mingw - " "use gnulib module execlp for portability"); # endif #elif @GNULIB_MDA_EXECLP@ /* On native Windows, map 'execlp' to '_execlp', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execlp always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execlp # define execlp _execlp # endif _GL_CXXALIAS_MDA (execlp, intptr_t, (const char *program, const char *arg, ...)); # else _GL_CXXALIAS_SYS (execlp, int, (const char *program, const char *arg, ...)); # endif _GL_CXXALIASWARN (execlp); #endif #if @GNULIB_EXECV@ # if @REPLACE_EXECV@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execv # define execv rpl_execv # endif _GL_FUNCDECL_RPL (execv, int, (const char *program, char * const *argv), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (execv, int, (const char *program, char * const *argv)); # else _GL_CXXALIAS_SYS (execv, int, (const char *program, char * const *argv)); # endif _GL_CXXALIASWARN (execv); #elif defined GNULIB_POSIXCHECK # undef execv # if HAVE_RAW_DECL_EXECV _GL_WARN_ON_USE (execv, "execv behaves very differently on mingw - " "use gnulib module execv for portability"); # endif #elif @GNULIB_MDA_EXECV@ /* On native Windows, map 'execv' to '_execv', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execv always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execv # define execv _execv # endif _GL_CXXALIAS_MDA_CAST (execv, intptr_t, (const char *program, char * const *argv)); # else _GL_CXXALIAS_SYS (execv, int, (const char *program, char * const *argv)); # endif _GL_CXXALIASWARN (execv); #endif #if @GNULIB_EXECVE@ # if @REPLACE_EXECVE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execve # define execve rpl_execve # endif _GL_FUNCDECL_RPL (execve, int, (const char *program, char * const *argv, char * const *env), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (execve, int, (const char *program, char * const *argv, char * const *env)); # else _GL_CXXALIAS_SYS (execve, int, (const char *program, char * const *argv, char * const *env)); # endif _GL_CXXALIASWARN (execve); #elif defined GNULIB_POSIXCHECK # undef execve # if HAVE_RAW_DECL_EXECVE _GL_WARN_ON_USE (execve, "execve behaves very differently on mingw - " "use gnulib module execve for portability"); # endif #elif @GNULIB_MDA_EXECVE@ /* On native Windows, map 'execve' to '_execve', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execve always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execve # define execve _execve # endif _GL_CXXALIAS_MDA_CAST (execve, intptr_t, (const char *program, char * const *argv, char * const *env)); # else _GL_CXXALIAS_SYS (execve, int, (const char *program, char * const *argv, char * const *env)); # endif _GL_CXXALIASWARN (execve); #endif #if @GNULIB_EXECVP@ # if @REPLACE_EXECVP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execvp # define execvp rpl_execvp # endif _GL_FUNCDECL_RPL (execvp, int, (const char *program, char * const *argv), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (execvp, int, (const char *program, char * const *argv)); # else _GL_CXXALIAS_SYS (execvp, int, (const char *program, char * const *argv)); # endif _GL_CXXALIASWARN (execvp); #elif defined GNULIB_POSIXCHECK # undef execvp # if HAVE_RAW_DECL_EXECVP _GL_WARN_ON_USE (execvp, "execvp behaves very differently on mingw - " "use gnulib module execvp for portability"); # endif #elif @GNULIB_MDA_EXECVP@ /* On native Windows, map 'execvp' to '_execvp', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execvp always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execvp # define execvp _execvp # endif _GL_CXXALIAS_MDA_CAST (execvp, intptr_t, (const char *program, char * const *argv)); # else _GL_CXXALIAS_SYS (execvp, int, (const char *program, char * const *argv)); # endif _GL_CXXALIASWARN (execvp); #endif #if @GNULIB_EXECVPE@ # if @REPLACE_EXECVPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execvpe # define execvpe rpl_execvpe # endif _GL_FUNCDECL_RPL (execvpe, int, (const char *program, char * const *argv, char * const *env), _GL_ARG_NONNULL ((1, 2))); _GL_CXXALIAS_RPL (execvpe, int, (const char *program, char * const *argv, char * const *env)); # else # if !@HAVE_DECL_EXECVPE@ _GL_FUNCDECL_SYS (execvpe, int, (const char *program, char * const *argv, char * const *env), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (execvpe, int, (const char *program, char * const *argv, char * const *env)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (execvpe); # endif #elif defined GNULIB_POSIXCHECK # undef execvpe # if HAVE_RAW_DECL_EXECVPE _GL_WARN_ON_USE (execvpe, "execvpe behaves very differently on mingw - " "use gnulib module execvpe for portability"); # endif #elif @GNULIB_MDA_EXECVPE@ /* On native Windows, map 'execvpe' to '_execvpe', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::execvpe on all platforms that have it. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef execvpe # define execvpe _execvpe # endif _GL_CXXALIAS_MDA_CAST (execvpe, intptr_t, (const char *program, char * const *argv, char * const *env)); # elif @HAVE_EXECVPE@ # if !@HAVE_DECL_EXECVPE@ _GL_FUNCDECL_SYS (execvpe, int, (const char *program, char * const *argv, char * const *env), _GL_ARG_NONNULL ((1, 2))); # endif _GL_CXXALIAS_SYS (execvpe, int, (const char *program, char * const *argv, char * const *env)); # endif # if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_EXECVPE@ _GL_CXXALIASWARN (execvpe); # endif #endif #if @GNULIB_FACCESSAT@ # if @REPLACE_FACCESSAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef faccessat # define faccessat rpl_faccessat # endif _GL_FUNCDECL_RPL (faccessat, int, (int fd, char const *name, int mode, int flag), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (faccessat, int, (int fd, char const *name, int mode, int flag)); # else # if !@HAVE_FACCESSAT@ _GL_FUNCDECL_SYS (faccessat, int, (int fd, char const *file, int mode, int flag), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (faccessat, int, (int fd, char const *file, int mode, int flag)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (faccessat); # endif #elif defined GNULIB_POSIXCHECK # undef faccessat # if HAVE_RAW_DECL_FACCESSAT _GL_WARN_ON_USE (faccessat, "faccessat is not portable - " "use gnulib module faccessat for portability"); # endif #endif #if @GNULIB_FCHDIR@ /* Change the process' current working directory to the directory on which the given file descriptor is open. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_FCHDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fchdir # define fchdir rpl_fchdir # endif _GL_FUNCDECL_RPL (fchdir, int, (int /*fd*/), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fchdir, int, (int /*fd*/)); # else # if !@HAVE_FCHDIR@ || !@HAVE_DECL_FCHDIR@ _GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); # endif _GL_CXXALIASWARN (fchdir); # if @REPLACE_FCHDIR@ || !@HAVE_FCHDIR@ /* Gnulib internal hooks needed to maintain the fchdir metadata. */ _GL_EXTERN_C int _gl_register_fd (int fd, const char *filename) _GL_ARG_NONNULL ((2)); _GL_EXTERN_C void _gl_unregister_fd (int fd); _GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd); _GL_EXTERN_C const char *_gl_directory_name (int fd); # endif #elif defined GNULIB_POSIXCHECK # undef fchdir # if HAVE_RAW_DECL_FCHDIR _GL_WARN_ON_USE (fchdir, "fchdir is unportable - " "use gnulib module fchdir for portability"); # endif #endif #if @GNULIB_FCHOWNAT@ # if @REPLACE_FCHOWNAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fchownat # define fchownat rpl_fchownat # endif _GL_FUNCDECL_RPL (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag)); # else # if !@HAVE_FCHOWNAT@ _GL_FUNCDECL_SYS (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (fchownat, int, (int fd, char const *file, uid_t owner, gid_t group, int flag)); # endif _GL_CXXALIASWARN (fchownat); #elif defined GNULIB_POSIXCHECK # undef fchownat # if HAVE_RAW_DECL_FCHOWNAT _GL_WARN_ON_USE (fchownat, "fchownat is not portable - " "use gnulib module fchownat for portability"); # endif #endif #if @GNULIB_FDATASYNC@ /* Synchronize changes to a file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if @REPLACE_FDATASYNC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef fdatasync # define fdatasync rpl_fdatasync # endif _GL_FUNCDECL_RPL (fdatasync, int, (int fd), ); _GL_CXXALIAS_RPL (fdatasync, int, (int fd)); # else # if !@HAVE_FDATASYNC@|| !@HAVE_DECL_FDATASYNC@ _GL_FUNCDECL_SYS (fdatasync, int, (int fd), ); # endif _GL_CXXALIAS_SYS (fdatasync, int, (int fd)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (fdatasync); # endif #elif defined GNULIB_POSIXCHECK # undef fdatasync # if HAVE_RAW_DECL_FDATASYNC _GL_WARN_ON_USE (fdatasync, "fdatasync is unportable - " "use gnulib module fdatasync for portability"); # endif #endif #if @GNULIB_FSYNC@ /* Synchronize changes, including metadata, to a file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if !@HAVE_FSYNC@ _GL_FUNCDECL_SYS (fsync, int, (int fd), ); # endif _GL_CXXALIAS_SYS (fsync, int, (int fd)); _GL_CXXALIASWARN (fsync); #elif defined GNULIB_POSIXCHECK # undef fsync # if HAVE_RAW_DECL_FSYNC _GL_WARN_ON_USE (fsync, "fsync is unportable - " "use gnulib module fsync for portability"); # endif #endif #if @GNULIB_FTRUNCATE@ /* Change the size of the file to which FD is opened to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_FTRUNCATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ftruncate # define ftruncate rpl_ftruncate # endif _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length)); # else # if !@HAVE_FTRUNCATE@ _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ftruncate); # endif #elif defined GNULIB_POSIXCHECK # undef ftruncate # if HAVE_RAW_DECL_FTRUNCATE _GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - " "use gnulib module ftruncate for portability"); # endif #endif #if @GNULIB_GETCWD@ /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Return BUF if successful, or NULL if the directory couldn't be determined or SIZE was too small. See the POSIX:2008 specification . Additionally, the gnulib module 'getcwd' or 'getcwd-lgpl' guarantees the following GNU extension: If BUF is NULL, an array is allocated with 'malloc'; the array is SIZE bytes long, unless SIZE == 0, in which case it is as big as necessary. */ # if @REPLACE_GETCWD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getcwd rpl_getcwd # endif _GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getcwd # define getcwd _getcwd # endif _GL_CXXALIAS_MDA (getcwd, char *, (char *buf, size_t size)); # else /* Need to cast, because on mingw, the second parameter is int size. */ _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); # endif _GL_CXXALIASWARN (getcwd); #elif defined GNULIB_POSIXCHECK # undef getcwd # if HAVE_RAW_DECL_GETCWD _GL_WARN_ON_USE (getcwd, "getcwd is unportable - " "use gnulib module getcwd for portability"); # endif #elif @GNULIB_MDA_GETCWD@ /* On native Windows, map 'getcwd' to '_getcwd', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::getcwd always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getcwd # define getcwd _getcwd # endif /* Need to cast, because on mingw, the second parameter is either 'int size' or 'size_t size'. */ _GL_CXXALIAS_MDA_CAST (getcwd, char *, (char *buf, size_t size)); # else _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); # endif _GL_CXXALIASWARN (getcwd); #endif #if @GNULIB_GETDOMAINNAME@ /* Return the NIS domain name of the machine. WARNING! The NIS domain name is unrelated to the fully qualified host name of the machine. It is also unrelated to email addresses. WARNING! The NIS domain name is usually the empty string or "(none)" when not using NIS. Put up to LEN bytes of the NIS domain name into NAME. Null terminate it if the name is shorter than LEN. If the NIS domain name is longer than LEN, set errno = EINVAL and return -1. Return 0 if successful, otherwise set errno and return -1. */ # if @REPLACE_GETDOMAINNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdomainname # define getdomainname rpl_getdomainname # endif _GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); # else # if !@HAVE_DECL_GETDOMAINNAME@ _GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getdomainname); # endif #elif defined GNULIB_POSIXCHECK # undef getdomainname # if HAVE_RAW_DECL_GETDOMAINNAME _GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - " "use gnulib module getdomainname for portability"); # endif #endif #if @GNULIB_GETDTABLESIZE@ /* Return the maximum number of file descriptors in the current process. In POSIX, this is same as sysconf (_SC_OPEN_MAX). */ # if @REPLACE_GETDTABLESIZE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getdtablesize # define getdtablesize rpl_getdtablesize # endif _GL_FUNCDECL_RPL (getdtablesize, int, (void), ); _GL_CXXALIAS_RPL (getdtablesize, int, (void)); # else # if !@HAVE_GETDTABLESIZE@ _GL_FUNCDECL_SYS (getdtablesize, int, (void), ); # endif /* Need to cast, because on AIX, the parameter list is (...). */ _GL_CXXALIAS_SYS_CAST (getdtablesize, int, (void)); # endif _GL_CXXALIASWARN (getdtablesize); #elif defined GNULIB_POSIXCHECK # undef getdtablesize # if HAVE_RAW_DECL_GETDTABLESIZE _GL_WARN_ON_USE (getdtablesize, "getdtablesize is unportable - " "use gnulib module getdtablesize for portability"); # endif #endif #if @GNULIB_GETENTROPY@ /* Fill a buffer with random bytes. */ # if @REPLACE_GETENTROPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getentropy # define getentropy rpl_getentropy # endif _GL_FUNCDECL_RPL (getentropy, int, (void *buffer, size_t length), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getentropy, int, (void *buffer, size_t length)); # else # if !@HAVE_GETENTROPY@ _GL_FUNCDECL_SYS (getentropy, int, (void *buffer, size_t length), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getentropy, int, (void *buffer, size_t length)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getentropy); # endif #elif defined GNULIB_POSIXCHECK # undef getentropy # if HAVE_RAW_DECL_GETENTROPY _GL_WARN_ON_USE (getentropy, "getentropy is unportable - " "use gnulib module getentropy for portability"); # endif #endif #if @GNULIB_GETGROUPS@ /* Return the supplemental groups that the current process belongs to. It is unspecified whether the effective group id is in the list. If N is 0, return the group count; otherwise, N describes how many entries are available in GROUPS. Return -1 and set errno if N is not 0 and not large enough. Fails with ENOSYS on some systems. */ # if @REPLACE_GETGROUPS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getgroups # define getgroups rpl_getgroups # endif _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups), _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); # else # if !@HAVE_GETGROUPS@ _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups), _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); # endif _GL_CXXALIASWARN (getgroups); #elif defined GNULIB_POSIXCHECK # undef getgroups # if HAVE_RAW_DECL_GETGROUPS _GL_WARN_ON_USE (getgroups, "getgroups is unportable - " "use gnulib module getgroups for portability"); # endif #endif #if @GNULIB_GETHOSTNAME@ /* Return the standard host name of the machine. WARNING! The host name may or may not be fully qualified. Put up to LEN bytes of the host name into NAME. Null terminate it if the name is shorter than LEN. If the host name is longer than LEN, set errno = EINVAL and return -1. Return 0 if successful, otherwise set errno and return -1. */ # if @UNISTD_H_HAVE_WINSOCK2_H@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef gethostname # define gethostname rpl_gethostname # endif _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); # else # if !@HAVE_GETHOSTNAME@ _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len), _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 10 and OSF/1 5.1 systems, the second parameter is int len. */ _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); # endif _GL_CXXALIASWARN (gethostname); #elif @UNISTD_H_HAVE_WINSOCK2_H@ # if !GNULIB_GETHOSTNAME # undef gethostname # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname # endif #elif defined GNULIB_POSIXCHECK # undef gethostname # if HAVE_RAW_DECL_GETHOSTNAME _GL_WARN_ON_USE (gethostname, "gethostname is unportable - " "use gnulib module gethostname for portability"); # endif #endif #if @GNULIB_GETLOGIN@ /* Returns the user's login name, or NULL if it cannot be found. Upon error, returns NULL with errno set. See . Most programs don't need to use this function, because the information is available through environment variables: ${LOGNAME-$USER} on Unix platforms, $USERNAME on native Windows platforms. */ # if @REPLACE_GETLOGIN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getlogin rpl_getlogin # endif _GL_FUNCDECL_RPL (getlogin, char *, (void), ); _GL_CXXALIAS_RPL (getlogin, char *, (void)); # else # if !@HAVE_DECL_GETLOGIN@ _GL_FUNCDECL_SYS (getlogin, char *, (void), ); # endif _GL_CXXALIAS_SYS (getlogin, char *, (void)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getlogin); # endif #elif defined GNULIB_POSIXCHECK # undef getlogin # if HAVE_RAW_DECL_GETLOGIN _GL_WARN_ON_USE (getlogin, "getlogin is unportable - " "use gnulib module getlogin for portability"); # endif #endif #if @GNULIB_GETLOGIN_R@ /* Copies the user's login name to NAME. The array pointed to by NAME has room for SIZE bytes. Returns 0 if successful. Upon error, an error number is returned, or -1 in the case that the login name cannot be found but no specific error is provided (this case is hopefully rare but is left open by the POSIX spec). See . Most programs don't need to use this function, because the information is available through environment variables: ${LOGNAME-$USER} on Unix platforms, $USERNAME on native Windows platforms. */ # if @REPLACE_GETLOGIN_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getlogin_r rpl_getlogin_r # endif _GL_FUNCDECL_RPL (getlogin_r, int, (char *name, size_t size), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getlogin_r, int, (char *name, size_t size)); # else # if !@HAVE_DECL_GETLOGIN_R@ _GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size), _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on Solaris 10 systems, the second argument is int size. */ _GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (getlogin_r); # endif #elif defined GNULIB_POSIXCHECK # undef getlogin_r # if HAVE_RAW_DECL_GETLOGIN_R _GL_WARN_ON_USE (getlogin_r, "getlogin_r is unportable - " "use gnulib module getlogin_r for portability"); # endif #endif #if @GNULIB_GETPAGESIZE@ # if @REPLACE_GETPAGESIZE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getpagesize rpl_getpagesize # endif _GL_FUNCDECL_RPL (getpagesize, int, (void), ); _GL_CXXALIAS_RPL (getpagesize, int, (void)); # else /* On HP-UX, getpagesize exists, but it is not declared in even if the compiler options -D_HPUX_SOURCE -D_XOPEN_SOURCE=600 are used. */ # if defined __hpux _GL_FUNCDECL_SYS (getpagesize, int, (void), ); # endif # if !@HAVE_GETPAGESIZE@ # if !defined getpagesize /* This is for POSIX systems. */ # if !defined _gl_getpagesize && defined _SC_PAGESIZE # if ! (defined __VMS && __VMS_VER < 70000000) # define _gl_getpagesize() sysconf (_SC_PAGESIZE) # endif # endif /* This is for older VMS. */ # if !defined _gl_getpagesize && defined __VMS # ifdef __ALPHA # define _gl_getpagesize() 8192 # else # define _gl_getpagesize() 512 # endif # endif /* This is for BeOS. */ # if !defined _gl_getpagesize && @HAVE_OS_H@ # include # if defined B_PAGE_SIZE # define _gl_getpagesize() B_PAGE_SIZE # endif # endif /* This is for AmigaOS4.0. */ # if !defined _gl_getpagesize && defined __amigaos4__ # define _gl_getpagesize() 2048 # endif /* This is for older Unix systems. */ # if !defined _gl_getpagesize && @HAVE_SYS_PARAM_H@ # include # ifdef EXEC_PAGESIZE # define _gl_getpagesize() EXEC_PAGESIZE # else # ifdef NBPG # ifndef CLSIZE # define CLSIZE 1 # endif # define _gl_getpagesize() (NBPG * CLSIZE) # else # ifdef NBPC # define _gl_getpagesize() NBPC # endif # endif # endif # endif # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define getpagesize() _gl_getpagesize () # else # if !GNULIB_defined_getpagesize_function _GL_GETPAGESIZE_INLINE int getpagesize () { return _gl_getpagesize (); } # define GNULIB_defined_getpagesize_function 1 # endif # endif # endif # endif /* Need to cast, because on Cygwin 1.5.x systems, the return type is size_t. */ _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); # endif # if @HAVE_DECL_GETPAGESIZE@ _GL_CXXALIASWARN (getpagesize); # endif #elif defined GNULIB_POSIXCHECK # undef getpagesize # if HAVE_RAW_DECL_GETPAGESIZE _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - " "use gnulib module getpagesize for portability"); # endif #endif #if @GNULIB_GETPASS@ /* Function getpass() from module 'getpass': Read a password from /dev/tty or stdin. Function getpass() from module 'getpass-gnu': Read a password of arbitrary length from /dev/tty or stdin. */ # if (@GNULIB_GETPASS@ && @REPLACE_GETPASS@) \ || (@GNULIB_GETPASS_GNU@ && @REPLACE_GETPASS_FOR_GETPASS_GNU@) # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpass # define getpass rpl_getpass # endif _GL_FUNCDECL_RPL (getpass, char *, (const char *prompt), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (getpass, char *, (const char *prompt)); # else # if !@HAVE_GETPASS@ _GL_FUNCDECL_SYS (getpass, char *, (const char *prompt), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (getpass, char *, (const char *prompt)); # endif _GL_CXXALIASWARN (getpass); #elif defined GNULIB_POSIXCHECK # undef getpass # if HAVE_RAW_DECL_GETPASS _GL_WARN_ON_USE (getpass, "getpass is unportable - " "use gnulib module getpass or getpass-gnu for portability"); # endif #endif #if @GNULIB_MDA_GETPID@ /* On native Windows, map 'getpid' to '_getpid', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::getpid always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getpid # define getpid _getpid # endif _GL_CXXALIAS_MDA (getpid, int, (void)); # else _GL_CXXALIAS_SYS (getpid, pid_t, (void)); # endif _GL_CXXALIASWARN (getpid); #endif #if @GNULIB_GETUSERSHELL@ # if @REPLACE_GETUSERSHELL@ /* Return the next valid login shell on the system, or NULL when the end of the list has been reached. */ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef getusershell # define getusershell rpl_getusershell # endif _GL_FUNCDECL_RPL (getusershell, char *, (void), ); _GL_CXXALIAS_RPL (getusershell, char *, (void)); # else # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (getusershell, char *, (void), ); # endif _GL_CXXALIAS_SYS (getusershell, char *, (void)); # endif _GL_CXXALIASWARN (getusershell); #elif defined GNULIB_POSIXCHECK # undef getusershell # if HAVE_RAW_DECL_GETUSERSHELL _GL_WARN_ON_USE (getusershell, "getusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Rewind to pointer that is advanced at each getusershell() call. */ # if @REPLACE_GETUSERSHELL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef setusershell # define setusershell rpl_setusershell # endif _GL_FUNCDECL_RPL (setusershell, void, (void), ); _GL_CXXALIAS_RPL (setusershell, void, (void)); # else # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (setusershell, void, (void), ); # endif _GL_CXXALIAS_SYS (setusershell, void, (void)); # endif _GL_CXXALIASWARN (setusershell); #elif defined GNULIB_POSIXCHECK # undef setusershell # if HAVE_RAW_DECL_SETUSERSHELL _GL_WARN_ON_USE (setusershell, "setusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GETUSERSHELL@ /* Free the pointer that is advanced at each getusershell() call and associated resources. */ # if @REPLACE_GETUSERSHELL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef endusershell # define endusershell rpl_endusershell # endif _GL_FUNCDECL_RPL (endusershell, void, (void), ); _GL_CXXALIAS_RPL (endusershell, void, (void)); # else # if !@HAVE_DECL_GETUSERSHELL@ _GL_FUNCDECL_SYS (endusershell, void, (void), ); # endif _GL_CXXALIAS_SYS (endusershell, void, (void)); # endif _GL_CXXALIASWARN (endusershell); #elif defined GNULIB_POSIXCHECK # undef endusershell # if HAVE_RAW_DECL_ENDUSERSHELL _GL_WARN_ON_USE (endusershell, "endusershell is unportable - " "use gnulib module getusershell for portability"); # endif #endif #if @GNULIB_GROUP_MEMBER@ /* Determine whether group id is in calling user's group list. */ # if !@HAVE_GROUP_MEMBER@ _GL_FUNCDECL_SYS (group_member, int, (gid_t gid), ); # endif _GL_CXXALIAS_SYS (group_member, int, (gid_t gid)); _GL_CXXALIASWARN (group_member); #elif defined GNULIB_POSIXCHECK # undef group_member # if HAVE_RAW_DECL_GROUP_MEMBER _GL_WARN_ON_USE (group_member, "group_member is unportable - " "use gnulib module group-member for portability"); # endif #endif #if @GNULIB_ISATTY@ # if @REPLACE_ISATTY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef isatty # define isatty rpl_isatty # endif # define GNULIB_defined_isatty 1 _GL_FUNCDECL_RPL (isatty, int, (int fd), ); _GL_CXXALIAS_RPL (isatty, int, (int fd)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef isatty # define isatty _isatty # endif _GL_CXXALIAS_MDA (isatty, int, (int fd)); # else _GL_CXXALIAS_SYS (isatty, int, (int fd)); # endif _GL_CXXALIASWARN (isatty); #elif defined GNULIB_POSIXCHECK # undef isatty # if HAVE_RAW_DECL_ISATTY _GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - " "use gnulib module isatty for portability"); # endif #elif @GNULIB_MDA_ISATTY@ /* On native Windows, map 'isatty' to '_isatty', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::isatty always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef isatty # define isatty _isatty # endif _GL_CXXALIAS_MDA (isatty, int, (int fd)); # else _GL_CXXALIAS_SYS (isatty, int, (int fd)); # endif _GL_CXXALIASWARN (isatty); #endif #if @GNULIB_LCHOWN@ /* Change the owner of FILE to UID (if UID is not -1) and the group of FILE to GID (if GID is not -1). Do not follow symbolic links. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_LCHOWN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lchown # define lchown rpl_lchown # endif _GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)); # else # if !@HAVE_LCHOWN@ _GL_FUNCDECL_SYS (lchown, int, (char const *file, uid_t owner, gid_t group), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (lchown, int, (char const *file, uid_t owner, gid_t group)); # endif _GL_CXXALIASWARN (lchown); #elif defined GNULIB_POSIXCHECK # undef lchown # if HAVE_RAW_DECL_LCHOWN _GL_WARN_ON_USE (lchown, "lchown is unportable to pre-POSIX.1-2001 systems - " "use gnulib module lchown for portability"); # endif #endif #if @GNULIB_LINK@ /* Create a new hard link for an existing file. Return 0 if successful, otherwise -1 and errno set. See POSIX:2008 specification . */ # if @REPLACE_LINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define link rpl_link # endif _GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2)); # else # if !@HAVE_LINK@ _GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2)); # endif _GL_CXXALIASWARN (link); #elif defined GNULIB_POSIXCHECK # undef link # if HAVE_RAW_DECL_LINK _GL_WARN_ON_USE (link, "link is unportable - " "use gnulib module link for portability"); # endif #endif #if @GNULIB_LINKAT@ /* Create a new hard link for an existing file, relative to two directories. FLAG controls whether symlinks are followed. Return 0 if successful, otherwise -1 and errno set. */ # if @REPLACE_LINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef linkat # define linkat rpl_linkat # endif _GL_FUNCDECL_RPL (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag), _GL_ARG_NONNULL ((2, 4)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag)); # else # if !@HAVE_LINKAT@ _GL_FUNCDECL_SYS (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag), _GL_ARG_NONNULL ((2, 4)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (linkat, int, (int fd1, const char *path1, int fd2, const char *path2, int flag)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (linkat); # endif #elif defined GNULIB_POSIXCHECK # undef linkat # if HAVE_RAW_DECL_LINKAT _GL_WARN_ON_USE (linkat, "linkat is unportable - " "use gnulib module linkat for portability"); # endif #endif #if @GNULIB_LSEEK@ /* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. Return the new offset if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_LSEEK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define lseek rpl_lseek # endif _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence), ); _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lseek # define lseek _lseek # endif _GL_CXXALIAS_MDA (lseek, off_t, (int fd, off_t offset, int whence)); # else _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); # endif _GL_CXXALIASWARN (lseek); #elif defined GNULIB_POSIXCHECK # undef lseek # if HAVE_RAW_DECL_LSEEK _GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some " "systems - use gnulib module lseek for portability"); # endif #elif @GNULIB_MDA_LSEEK@ /* On native Windows, map 'lseek' to '_lseek', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::lseek always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef lseek # define lseek _lseek # endif _GL_CXXALIAS_MDA (lseek, long, (int fd, long offset, int whence)); # else _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); # endif _GL_CXXALIASWARN (lseek); #endif #if @GNULIB_PIPE@ /* Create a pipe, defaulting to O_BINARY mode. Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. */ # if !@HAVE_PIPE@ _GL_FUNCDECL_SYS (pipe, int, (int fd[2]), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (pipe, int, (int fd[2])); _GL_CXXALIASWARN (pipe); #elif defined GNULIB_POSIXCHECK # undef pipe # if HAVE_RAW_DECL_PIPE _GL_WARN_ON_USE (pipe, "pipe is unportable - " "use gnulib module pipe-posix for portability"); # endif #endif #if @GNULIB_PIPE2@ /* Create a pipe, applying the given flags when opening the read-end of the pipe and the write-end of the pipe. The flags are a bitmask, possibly including O_CLOEXEC (defined in ) and O_TEXT, O_BINARY (defined in "binary-io.h"). Store the read-end as fd[0] and the write-end as fd[1]. Return 0 upon success, or -1 with errno set upon failure. See also the Linux man page at . */ # if @REPLACE_PIPE2@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pipe2 # define pipe2 rpl_pipe2 # endif _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); # else _GL_FUNCDECL_SYS (pipe2, int, (int fd[2], int flags), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_SYS (pipe2, int, (int fd[2], int flags)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pipe2); # endif #elif defined GNULIB_POSIXCHECK # undef pipe2 # if HAVE_RAW_DECL_PIPE2 _GL_WARN_ON_USE (pipe2, "pipe2 is unportable - " "use gnulib module pipe2 for portability"); # endif #endif #if @GNULIB_PREAD@ /* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. Return the number of bytes placed into BUF if successful, otherwise set errno and return -1. 0 indicates EOF. See the POSIX:2008 specification . */ # if @REPLACE_PREAD@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pread # define pread rpl_pread # endif _GL_FUNCDECL_RPL (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset)); # else # if !@HAVE_PREAD@ _GL_FUNCDECL_SYS (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (pread, ssize_t, (int fd, void *buf, size_t bufsize, off_t offset)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pread); # endif #elif defined GNULIB_POSIXCHECK # undef pread # if HAVE_RAW_DECL_PREAD _GL_WARN_ON_USE (pread, "pread is unportable - " "use gnulib module pread for portability"); # endif #endif #if @GNULIB_PWRITE@ /* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. Return the number of bytes written if successful, otherwise set errno and return -1. 0 indicates nothing written. See the POSIX:2008 specification . */ # if @REPLACE_PWRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef pwrite # define pwrite rpl_pwrite # endif _GL_FUNCDECL_RPL (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset)); # else # if !@HAVE_PWRITE@ _GL_FUNCDECL_SYS (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (pwrite, ssize_t, (int fd, const void *buf, size_t bufsize, off_t offset)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (pwrite); # endif #elif defined GNULIB_POSIXCHECK # undef pwrite # if HAVE_RAW_DECL_PWRITE _GL_WARN_ON_USE (pwrite, "pwrite is unportable - " "use gnulib module pwrite for portability"); # endif #endif #if @GNULIB_READ@ /* Read up to COUNT bytes from file descriptor FD into the buffer starting at BUF. See the POSIX:2008 specification . */ # if @REPLACE_READ@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read rpl_read # endif _GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read _read # endif _GL_CXXALIAS_MDA (read, ssize_t, (int fd, void *buf, size_t count)); # else _GL_CXXALIAS_SYS (read, ssize_t, (int fd, void *buf, size_t count)); # endif _GL_CXXALIASWARN (read); #elif @GNULIB_MDA_READ@ /* On native Windows, map 'read' to '_read', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::read always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef read # define read _read # endif _GL_CXXALIAS_MDA_CAST (read, ssize_t, (int fd, void *buf, unsigned int count)); # else _GL_CXXALIAS_SYS (read, ssize_t, (int fd, void *buf, size_t count)); # endif _GL_CXXALIASWARN (read); #endif #if @GNULIB_READLINK@ /* Read the contents of the symbolic link FILE and place the first BUFSIZE bytes of it into BUF. Return the number of bytes placed into BUF if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_READLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlink rpl_readlink # endif _GL_FUNCDECL_RPL (readlink, ssize_t, (const char *restrict file, char *restrict buf, size_t bufsize), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (readlink, ssize_t, (const char *restrict file, char *restrict buf, size_t bufsize)); # else # if !@HAVE_READLINK@ _GL_FUNCDECL_SYS (readlink, ssize_t, (const char *restrict file, char *restrict buf, size_t bufsize), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (readlink, ssize_t, (const char *restrict file, char *restrict buf, size_t bufsize)); # endif _GL_CXXALIASWARN (readlink); #elif defined GNULIB_POSIXCHECK # undef readlink # if HAVE_RAW_DECL_READLINK _GL_WARN_ON_USE (readlink, "readlink is unportable - " "use gnulib module readlink for portability"); # endif #endif #if @GNULIB_READLINKAT@ # if @REPLACE_READLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define readlinkat rpl_readlinkat # endif _GL_FUNCDECL_RPL (readlinkat, ssize_t, (int fd, char const *restrict file, char *restrict buf, size_t len), _GL_ARG_NONNULL ((2, 3)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (readlinkat, ssize_t, (int fd, char const *restrict file, char *restrict buf, size_t len)); # else # if !@HAVE_READLINKAT@ _GL_FUNCDECL_SYS (readlinkat, ssize_t, (int fd, char const *restrict file, char *restrict buf, size_t len), _GL_ARG_NONNULL ((2, 3)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (readlinkat, ssize_t, (int fd, char const *restrict file, char *restrict buf, size_t len)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (readlinkat); # endif #elif defined GNULIB_POSIXCHECK # undef readlinkat # if HAVE_RAW_DECL_READLINKAT _GL_WARN_ON_USE (readlinkat, "readlinkat is not portable - " "use gnulib module readlinkat for portability"); # endif #endif #if @GNULIB_RMDIR@ /* Remove the directory DIR. */ # if @REPLACE_RMDIR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define rmdir rpl_rmdir # endif _GL_FUNCDECL_RPL (rmdir, int, (char const *name), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (rmdir, int, (char const *name)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rmdir # define rmdir _rmdir # endif _GL_CXXALIAS_MDA (rmdir, int, (char const *name)); # else _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); # endif _GL_CXXALIASWARN (rmdir); #elif defined GNULIB_POSIXCHECK # undef rmdir # if HAVE_RAW_DECL_RMDIR _GL_WARN_ON_USE (rmdir, "rmdir is unportable - " "use gnulib module rmdir for portability"); # endif #elif @GNULIB_MDA_RMDIR@ /* On native Windows, map 'rmdir' to '_rmdir', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::rmdir always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef rmdir # define rmdir _rmdir # endif _GL_CXXALIAS_MDA (rmdir, int, (char const *name)); # else _GL_CXXALIAS_SYS (rmdir, int, (char const *name)); # endif _GL_CXXALIASWARN (rmdir); #endif #if @GNULIB_SETHOSTNAME@ /* Set the host name of the machine. The host name may or may not be fully qualified. Put LEN bytes of NAME into the host name. Return 0 if successful, otherwise, set errno and return -1. Platforms with no ability to set the hostname return -1 and set errno = ENOSYS. */ # if @REPLACE_SETHOSTNAME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sethostname # define sethostname rpl_sethostname # endif _GL_FUNCDECL_RPL (sethostname, int, (const char *name, size_t len), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (sethostname, int, (const char *name, size_t len)); # else # if !@HAVE_SETHOSTNAME@ || !@HAVE_DECL_SETHOSTNAME@ _GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif /* Need to cast, because on Solaris 11 2011-10, Mac OS X 10.5, IRIX 6.5 and FreeBSD 6.4 the second parameter is int. On Solaris 11 2011-10, the first parameter is not const. */ _GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (sethostname); # endif #elif defined GNULIB_POSIXCHECK # undef sethostname # if HAVE_RAW_DECL_SETHOSTNAME _GL_WARN_ON_USE (sethostname, "sethostname is unportable - " "use gnulib module sethostname for portability"); # endif #endif #if @GNULIB_SLEEP@ /* Pause the execution of the current thread for N seconds. Returns the number of seconds left to sleep. See the POSIX:2008 specification . */ # if @REPLACE_SLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef sleep # define sleep rpl_sleep # endif _GL_FUNCDECL_RPL (sleep, unsigned int, (unsigned int n), ); _GL_CXXALIAS_RPL (sleep, unsigned int, (unsigned int n)); # else # if !@HAVE_SLEEP@ _GL_FUNCDECL_SYS (sleep, unsigned int, (unsigned int n), ); # endif _GL_CXXALIAS_SYS (sleep, unsigned int, (unsigned int n)); # endif _GL_CXXALIASWARN (sleep); #elif defined GNULIB_POSIXCHECK # undef sleep # if HAVE_RAW_DECL_SLEEP _GL_WARN_ON_USE (sleep, "sleep is unportable - " "use gnulib module sleep for portability"); # endif #endif #if @GNULIB_MDA_SWAB@ /* On native Windows, map 'swab' to '_swab', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::swab always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef swab # define swab _swab # endif /* Need to cast, because in old mingw the arguments are (const char *from, char *to, size_t n). */ _GL_CXXALIAS_MDA_CAST (swab, void, (char *from, char *to, int n)); # else # if defined __hpux /* HP-UX */ _GL_CXXALIAS_SYS (swab, void, (const char *from, char *to, int n)); # elif defined __sun && (defined __SunOS_5_10 || defined __XOPEN_OR_POSIX) && !defined _XPG4 /* Solaris */ _GL_CXXALIAS_SYS (swab, void, (const char *from, char *to, ssize_t n)); # else _GL_CXXALIAS_SYS (swab, void, (const void *from, void *to, ssize_t n)); # endif # endif _GL_CXXALIASWARN (swab); #endif #if @GNULIB_SYMLINK@ # if @REPLACE_SYMLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef symlink # define symlink rpl_symlink # endif _GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file)); # else # if !@HAVE_SYMLINK@ _GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file), _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file)); # endif _GL_CXXALIASWARN (symlink); #elif defined GNULIB_POSIXCHECK # undef symlink # if HAVE_RAW_DECL_SYMLINK _GL_WARN_ON_USE (symlink, "symlink is not portable - " "use gnulib module symlink for portability"); # endif #endif #if @GNULIB_SYMLINKAT@ # if @REPLACE_SYMLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef symlinkat # define symlinkat rpl_symlinkat # endif _GL_FUNCDECL_RPL (symlinkat, int, (char const *contents, int fd, char const *file), _GL_ARG_NONNULL ((1, 3)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (symlinkat, int, (char const *contents, int fd, char const *file)); # else # if !@HAVE_SYMLINKAT@ _GL_FUNCDECL_SYS (symlinkat, int, (char const *contents, int fd, char const *file), _GL_ARG_NONNULL ((1, 3)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (symlinkat, int, (char const *contents, int fd, char const *file)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (symlinkat); # endif #elif defined GNULIB_POSIXCHECK # undef symlinkat # if HAVE_RAW_DECL_SYMLINKAT _GL_WARN_ON_USE (symlinkat, "symlinkat is not portable - " "use gnulib module symlinkat for portability"); # endif #endif #if @GNULIB_TRUNCATE@ /* Change the size of the file designated by FILENAME to become equal to LENGTH. Return 0 if successful, otherwise -1 and errno set. See the POSIX:2008 specification . */ # if @REPLACE_TRUNCATE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef truncate # define truncate rpl_truncate # endif _GL_FUNCDECL_RPL (truncate, int, (const char *filename, off_t length), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (truncate, int, (const char *filename, off_t length)); # else # if !@HAVE_DECL_TRUNCATE@ _GL_FUNCDECL_SYS (truncate, int, (const char *filename, off_t length), _GL_ARG_NONNULL ((1)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (truncate, int, (const char *filename, off_t length)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (truncate); # endif #elif defined GNULIB_POSIXCHECK # undef truncate # if HAVE_RAW_DECL_TRUNCATE _GL_WARN_ON_USE (truncate, "truncate is unportable - " "use gnulib module truncate for portability"); # endif #endif #if @GNULIB_TTYNAME_R@ /* Store at most BUFLEN characters of the pathname of the terminal FD is open on in BUF. Return 0 on success, otherwise an error number. */ # if @REPLACE_TTYNAME_R@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef ttyname_r # define ttyname_r rpl_ttyname_r # endif _GL_FUNCDECL_RPL (ttyname_r, int, (int fd, char *buf, size_t buflen), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (ttyname_r, int, (int fd, char *buf, size_t buflen)); # else # if !@HAVE_DECL_TTYNAME_R@ _GL_FUNCDECL_SYS (ttyname_r, int, (int fd, char *buf, size_t buflen), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); # endif _GL_CXXALIAS_SYS (ttyname_r, int, (int fd, char *buf, size_t buflen)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (ttyname_r); # endif #elif defined GNULIB_POSIXCHECK # undef ttyname_r # if HAVE_RAW_DECL_TTYNAME_R _GL_WARN_ON_USE (ttyname_r, "ttyname_r is not portable - " "use gnulib module ttyname_r for portability"); # endif #endif #if @GNULIB_UNLINK@ # if @REPLACE_UNLINK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlink # define unlink rpl_unlink # endif _GL_FUNCDECL_RPL (unlink, int, (char const *file), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unlink, int, (char const *file)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlink # define unlink _unlink # endif _GL_CXXALIAS_MDA (unlink, int, (char const *file)); # else _GL_CXXALIAS_SYS (unlink, int, (char const *file)); # endif _GL_CXXALIASWARN (unlink); #elif defined GNULIB_POSIXCHECK # undef unlink # if HAVE_RAW_DECL_UNLINK _GL_WARN_ON_USE (unlink, "unlink is not portable - " "use gnulib module unlink for portability"); # endif #elif @GNULIB_MDA_UNLINK@ /* On native Windows, map 'unlink' to '_unlink', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::unlink always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlink # define unlink _unlink # endif _GL_CXXALIAS_MDA (unlink, int, (char const *file)); # else _GL_CXXALIAS_SYS (unlink, int, (char const *file)); # endif _GL_CXXALIASWARN (unlink); #endif #if @GNULIB_UNLINKAT@ # if @REPLACE_UNLINKAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef unlinkat # define unlinkat rpl_unlinkat # endif _GL_FUNCDECL_RPL (unlinkat, int, (int fd, char const *file, int flag), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (unlinkat, int, (int fd, char const *file, int flag)); # else # if !@HAVE_UNLINKAT@ _GL_FUNCDECL_SYS (unlinkat, int, (int fd, char const *file, int flag), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (unlinkat, int, (int fd, char const *file, int flag)); # endif _GL_CXXALIASWARN (unlinkat); #elif defined GNULIB_POSIXCHECK # undef unlinkat # if HAVE_RAW_DECL_UNLINKAT _GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - " "use gnulib module unlinkat for portability"); # endif #endif #if @GNULIB_USLEEP@ /* Pause the execution of the current thread for N microseconds. Returns 0 on completion, or -1 on range error. See the POSIX:2001 specification . */ # if @REPLACE_USLEEP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef usleep # define usleep rpl_usleep # endif _GL_FUNCDECL_RPL (usleep, int, (useconds_t n), ); _GL_CXXALIAS_RPL (usleep, int, (useconds_t n)); # else # if !@HAVE_USLEEP@ _GL_FUNCDECL_SYS (usleep, int, (useconds_t n), ); # endif /* Need to cast, because on Haiku, the first parameter is unsigned int n. */ _GL_CXXALIAS_SYS_CAST (usleep, int, (useconds_t n)); # endif _GL_CXXALIASWARN (usleep); #elif defined GNULIB_POSIXCHECK # undef usleep # if HAVE_RAW_DECL_USLEEP _GL_WARN_ON_USE (usleep, "usleep is unportable - " "use gnulib module usleep for portability"); # endif #endif #if @GNULIB_WRITE@ /* Write up to COUNT bytes starting at BUF to file descriptor FD. See the POSIX:2008 specification . */ # if @REPLACE_WRITE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write rpl_write # endif _GL_FUNCDECL_RPL (write, ssize_t, (int fd, const void *buf, size_t count), _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_NODISCARD); _GL_CXXALIAS_RPL (write, ssize_t, (int fd, const void *buf, size_t count)); # elif defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write _write # endif _GL_CXXALIAS_MDA (write, ssize_t, (int fd, const void *buf, size_t count)); # else _GL_CXXALIAS_SYS (write, ssize_t, (int fd, const void *buf, size_t count)); # endif _GL_CXXALIASWARN (write); #elif @GNULIB_MDA_WRITE@ /* On native Windows, map 'write' to '_write', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::write always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef write # define write _write # endif _GL_CXXALIAS_MDA_CAST (write, ssize_t, (int fd, const void *buf, unsigned int count)); # else _GL_CXXALIAS_SYS (write, ssize_t, (int fd, const void *buf, size_t count)); # endif _GL_CXXALIASWARN (write); #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_UNISTD_H */ #endif /* _GL_INCLUDING_UNISTD_H */ #endif /* _@GUARD_PREFIX@_UNISTD_H */ datamash-1.9/lib/unistr/0000755000000000000000000000000014774035552010762 5datamash-1.9/lib/unistr/u8-mbtoucr.c0000644000000000000000000001076514767401140013054 /* Look at first character in UTF-8 string, returning an error code. Copyright (C) 1999-2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unistr.h" int u8_mbtoucr (ucs4_t *puc, const uint8_t *s, size_t n) { uint8_t c = *s; if (c < 0x80) { *puc = c; return 1; } else if (c >= 0xc2) { if (c < 0xe0) { if (n >= 2) { if ((s[1] ^ 0x80) < 0x40) { *puc = ((unsigned int) (c & 0x1f) << 6) | (unsigned int) (s[1] ^ 0x80); return 2; } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } else if (c < 0xf0) { if (n >= 2) { if ((s[1] ^ 0x80) < 0x40 && (c >= 0xe1 || s[1] >= 0xa0) && (c != 0xed || s[1] < 0xa0)) { if (n >= 3) { if ((s[2] ^ 0x80) < 0x40) { *puc = ((unsigned int) (c & 0x0f) << 12) | ((unsigned int) (s[1] ^ 0x80) << 6) | (unsigned int) (s[2] ^ 0x80); return 3; } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } else if (c <= 0xf4) { if (n >= 2) { if ((s[1] ^ 0x80) < 0x40 && (c >= 0xf1 || s[1] >= 0x90) && (c < 0xf4 || (/* c == 0xf4 && */ s[1] < 0x90))) { if (n >= 3) { if ((s[2] ^ 0x80) < 0x40) { if (n >= 4) { if ((s[3] ^ 0x80) < 0x40) { *puc = ((unsigned int) (c & 0x07) << 18) | ((unsigned int) (s[1] ^ 0x80) << 12) | ((unsigned int) (s[2] ^ 0x80) << 6) | (unsigned int) (s[3] ^ 0x80); return 4; } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } /* invalid multibyte character */ } else { /* incomplete multibyte character */ *puc = 0xfffd; return -2; } } } /* invalid multibyte character */ *puc = 0xfffd; return -1; } datamash-1.9/lib/unistr/u8-uctomb-aux.c0000644000000000000000000000322214767401140013453 /* Conversion UCS-4 to UTF-8. Copyright (C) 2002, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "unistr.h" #include "attribute.h" int u8_uctomb_aux (uint8_t *s, ucs4_t uc, ptrdiff_t n) { int count; if (uc < 0x80) /* The case n >= 1 is already handled by the caller. */ return -2; else if (uc < 0x800) count = 2; else if (uc < 0x10000) { if (uc < 0xd800 || uc >= 0xe000) count = 3; else return -1; } else if (uc < 0x110000) count = 4; else return -1; if (n < count) return -2; switch (count) /* note: code falls through cases! */ { case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000; FALLTHROUGH; case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800; FALLTHROUGH; case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0; /*case 1:*/ s[0] = uc; } return count; } datamash-1.9/lib/unistr/u8-uctomb.c0000644000000000000000000000404014767401140012657 /* Store a character in UTF-8 string. Copyright (C) 2002, 2005-2006, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #if defined IN_LIBUNISTRING /* Tell unistr.h to declare u8_uctomb as 'extern', not 'static inline'. */ # include "unistring-notinline.h" #endif /* Specification. */ #include "unistr.h" #include "attribute.h" #if !HAVE_INLINE int u8_uctomb (uint8_t *s, ucs4_t uc, ptrdiff_t n) { if (uc < 0x80) { if (n > 0) { s[0] = uc; return 1; } /* else return -2, below. */ } else { int count; if (uc < 0x800) count = 2; else if (uc < 0x10000) { if (uc < 0xd800 || uc >= 0xe000) count = 3; else return -1; } else if (uc < 0x110000) count = 4; else return -1; if (n >= count) { switch (count) /* note: code falls through cases! */ { case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000; FALLTHROUGH; case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800; FALLTHROUGH; case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0; /*case 1:*/ s[0] = uc; } return count; } } return -2; } #endif datamash-1.9/lib/unistr.in.h0000644000000000000000000013230514767402206011460 /* Elementary Unicode string functions. Copyright (C) 2001-2002, 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _UNISTR_H #define _UNISTR_H #include "unitypes.h" /* Get bool. */ #include /* Get size_t, ptrdiff_t. */ #include /* Get free(). */ #include #ifdef __cplusplus extern "C" { #endif /* Conventions: All functions prefixed with u8_ operate on UTF-8 encoded strings. Their unit is an uint8_t (1 byte). All functions prefixed with u16_ operate on UTF-16 encoded strings. Their unit is an uint16_t (a 2-byte word). All functions prefixed with u32_ operate on UCS-4 encoded strings. Their unit is an uint32_t (a 4-byte word). All argument pairs (s, n) denote a Unicode string s[0..n-1] with exactly n units. All arguments starting with "str" and the arguments of functions starting with u8_str/u16_str/u32_str denote a NUL terminated string, i.e. a string which terminates at the first NUL unit. This termination unit is considered part of the string for all memory allocation purposes, but is not considered part of the string for all other logical purposes. Functions returning a string result take a (resultbuf, lengthp) argument pair. If resultbuf is not NULL and the result fits into *lengthp units, it is put in resultbuf, and resultbuf is returned. Otherwise, a freshly allocated string is returned. In both cases, *lengthp is set to the length (number of units) of the returned string. In case of error, NULL is returned and errno is set. */ /* Elementary string checks. */ /* Check whether an UTF-8 string is well-formed. Return NULL if valid, or a pointer to the first invalid unit otherwise. */ extern const uint8_t * u8_check (const uint8_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Check whether an UTF-16 string is well-formed. Return NULL if valid, or a pointer to the first invalid unit otherwise. */ extern const uint16_t * u16_check (const uint16_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Check whether an UCS-4 string is well-formed. Return NULL if valid, or a pointer to the first invalid unit otherwise. */ extern const uint32_t * u32_check (const uint32_t *s, size_t n) _UC_ATTRIBUTE_PURE; #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_check_template (T* s, size_t n); template <> inline uint8_t * u8_check_template (uint8_t *s, size_t n) { return const_cast(u8_check (s, n)); } template <> inline const uint8_t * u8_check_template (const uint8_t *s, size_t n) { return u8_check (s, n); } # undef u8_check # define u8_check u8_check_template # elif !defined u8_check # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_check(s,n) \ _Generic ((s), \ uint8_t *: (uint8_t *) u8_check ((s), (n)), \ default : u8_check ((s), (n))) # endif # endif # ifdef __cplusplus template T * u16_check_template (T* s, size_t n); template <> inline uint16_t * u16_check_template (uint16_t *s, size_t n) { return const_cast(u16_check (s, n)); } template <> inline const uint16_t * u16_check_template (const uint16_t *s, size_t n) { return u16_check (s, n); } # undef u16_check # define u16_check u16_check_template # elif !defined u16_check # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_check(s,n) \ _Generic ((s), \ uint16_t *: (uint16_t *) u16_check ((s), (n)), \ default : u16_check ((s), (n))) # endif # endif # ifdef __cplusplus template T * u32_check_template (T* s, size_t n); template <> inline uint32_t * u32_check_template (uint32_t *s, size_t n) { return const_cast(u32_check (s, n)); } template <> inline const uint32_t * u32_check_template (const uint32_t *s, size_t n) { return u32_check (s, n); } # undef u32_check # define u32_check u32_check_template # elif !defined u32_check # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_check(s,n) \ _Generic ((s), \ uint32_t *: (uint32_t *) u32_check ((s), (n)), \ default : u32_check ((s), (n))) # endif # endif #endif /* Elementary string conversions. */ /* Convert an UTF-8 string to an UTF-16 string. */ extern uint16_t * u8_to_u16 (const uint8_t *s, size_t n, uint16_t *resultbuf, size_t *lengthp); /* Convert an UTF-8 string to an UCS-4 string. */ extern uint32_t * u8_to_u32 (const uint8_t *s, size_t n, uint32_t *resultbuf, size_t *lengthp); /* Convert an UTF-16 string to an UTF-8 string. */ extern uint8_t * u16_to_u8 (const uint16_t *s, size_t n, uint8_t *resultbuf, size_t *lengthp); /* Convert an UTF-16 string to an UCS-4 string. */ extern uint32_t * u16_to_u32 (const uint16_t *s, size_t n, uint32_t *resultbuf, size_t *lengthp); /* Convert an UCS-4 string to an UTF-8 string. */ extern uint8_t * u32_to_u8 (const uint32_t *s, size_t n, uint8_t *resultbuf, size_t *lengthp); /* Convert an UCS-4 string to an UTF-16 string. */ extern uint16_t * u32_to_u16 (const uint32_t *s, size_t n, uint16_t *resultbuf, size_t *lengthp); /* Elementary string functions. */ /* Return the length (number of units) of the first character in S, which is no longer than N. Return 0 if it is the NUL character. Return -1 upon failure. */ /* Similar to mblen(), except that s must not be NULL. */ extern int u8_mblen (const uint8_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern int u16_mblen (const uint16_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern int u32_mblen (const uint32_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Return the length (number of units) of the first character in S, putting its 'ucs4_t' representation in *PUC. Upon failure, *PUC is set to 0xfffd, and an appropriate number of units is returned. The number of available units, N, must be > 0. */ /* Similar to mbtowc(), except that puc and s must not be NULL, n must be > 0, and the NUL character is not treated specially. */ /* The variants with _unsafe suffix are for backward compatibility with libunistring versions < 0.9.7. */ #if GNULIB_UNISTR_U8_MBTOUC_UNSAFE || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n); # else extern int u8_mbtouc_unsafe_aux (ucs4_t *puc, const uint8_t *s, size_t n); static inline int u8_mbtouc_unsafe (ucs4_t *puc, const uint8_t *s, size_t n) { uint8_t c = *s; if (c < 0x80) { *puc = c; return 1; } else return u8_mbtouc_unsafe_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U16_MBTOUC_UNSAFE || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n); # else extern int u16_mbtouc_unsafe_aux (ucs4_t *puc, const uint16_t *s, size_t n); static inline int u16_mbtouc_unsafe (ucs4_t *puc, const uint16_t *s, size_t n) { uint16_t c = *s; if (c < 0xd800 || c >= 0xe000) { *puc = c; return 1; } else return u16_mbtouc_unsafe_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U32_MBTOUC_UNSAFE || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n); # else static inline int u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, _GL_ATTRIBUTE_MAYBE_UNUSED size_t n) { uint32_t c = *s; if (c < 0xd800 || (c >= 0xe000 && c < 0x110000)) *puc = c; else /* invalid multibyte character */ *puc = 0xfffd; return 1; } # endif #endif #if GNULIB_UNISTR_U8_MBTOUC || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n); # else extern int u8_mbtouc_aux (ucs4_t *puc, const uint8_t *s, size_t n); static inline int u8_mbtouc (ucs4_t *puc, const uint8_t *s, size_t n) { uint8_t c = *s; if (c < 0x80) { *puc = c; return 1; } else return u8_mbtouc_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U16_MBTOUC || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n); # else extern int u16_mbtouc_aux (ucs4_t *puc, const uint16_t *s, size_t n); static inline int u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n) { uint16_t c = *s; if (c < 0xd800 || c >= 0xe000) { *puc = c; return 1; } else return u16_mbtouc_aux (puc, s, n); } # endif #endif #if GNULIB_UNISTR_U32_MBTOUC || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n); # else static inline int u32_mbtouc (ucs4_t *puc, const uint32_t *s, _GL_ATTRIBUTE_MAYBE_UNUSED size_t n) { uint32_t c = *s; if (c < 0xd800 || (c >= 0xe000 && c < 0x110000)) *puc = c; else /* invalid multibyte character */ *puc = 0xfffd; return 1; } # endif #endif /* Return the length (number of units) of the first character in S, putting its 'ucs4_t' representation in *PUC. Upon failure, *PUC is set to 0xfffd, and -1 is returned for an invalid sequence of units, -2 is returned for an incomplete sequence of units. The number of available units, N, must be > 0. */ /* Similar to u*_mbtouc(), except that the return value gives more details about the failure, similar to mbrtowc(). */ #if GNULIB_UNISTR_U8_MBTOUCR || HAVE_LIBUNISTRING extern int u8_mbtoucr (ucs4_t *puc, const uint8_t *s, size_t n); #endif #if GNULIB_UNISTR_U16_MBTOUCR || HAVE_LIBUNISTRING extern int u16_mbtoucr (ucs4_t *puc, const uint16_t *s, size_t n); #endif #if GNULIB_UNISTR_U32_MBTOUCR || HAVE_LIBUNISTRING extern int u32_mbtoucr (ucs4_t *puc, const uint32_t *s, size_t n); #endif /* Put the multibyte character represented by UC in S, returning its length. Return -1 upon failure, -2 if the number of available units, N, is too small. The latter case cannot occur if N >= 6/2/1, respectively. */ /* Similar to wctomb(), except that s must not be NULL, and the argument n must be specified. */ #if GNULIB_UNISTR_U8_UCTOMB || HAVE_LIBUNISTRING /* Auxiliary function, also used by u8_chr, u8_strchr, u8_strrchr. */ extern int u8_uctomb_aux (uint8_t *s, ucs4_t uc, ptrdiff_t n); # if !HAVE_INLINE extern int u8_uctomb (uint8_t *s, ucs4_t uc, ptrdiff_t n); # else static inline int u8_uctomb (uint8_t *s, ucs4_t uc, ptrdiff_t n) { if (uc < 0x80 && n > 0) { s[0] = uc; return 1; } else return u8_uctomb_aux (s, uc, n); } # endif #endif #if GNULIB_UNISTR_U16_UCTOMB || HAVE_LIBUNISTRING /* Auxiliary function, also used by u16_chr, u16_strchr, u16_strrchr. */ extern int u16_uctomb_aux (uint16_t *s, ucs4_t uc, ptrdiff_t n); # if !HAVE_INLINE extern int u16_uctomb (uint16_t *s, ucs4_t uc, ptrdiff_t n); # else static inline int u16_uctomb (uint16_t *s, ucs4_t uc, ptrdiff_t n) { if (uc < 0xd800 && n > 0) { s[0] = uc; return 1; } else return u16_uctomb_aux (s, uc, n); } # endif #endif #if GNULIB_UNISTR_U32_UCTOMB || HAVE_LIBUNISTRING # if !HAVE_INLINE extern int u32_uctomb (uint32_t *s, ucs4_t uc, ptrdiff_t n); # else static inline int u32_uctomb (uint32_t *s, ucs4_t uc, ptrdiff_t n) { if (uc < 0xd800 || (uc >= 0xe000 && uc < 0x110000)) { if (n > 0) { *s = uc; return 1; } else return -2; } else return -1; } # endif #endif /* Copy N units from SRC to DEST. */ /* Similar to memcpy(). */ extern uint8_t * u8_cpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); extern uint16_t * u16_cpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); extern uint32_t * u32_cpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); /* Copy N units from SRC to DEST, returning pointer after last written unit. */ /* Similar to mempcpy(). */ extern uint8_t * u8_pcpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); extern uint16_t * u16_pcpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); extern uint32_t * u32_pcpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); /* Copy N units from SRC to DEST, guaranteeing correct behavior for overlapping memory areas. */ /* Similar to memmove(). */ extern uint8_t * u8_move (uint8_t *dest, const uint8_t *src, size_t n); extern uint16_t * u16_move (uint16_t *dest, const uint16_t *src, size_t n); extern uint32_t * u32_move (uint32_t *dest, const uint32_t *src, size_t n); /* Set the first N characters of S to UC. UC should be a character that occupies only 1 unit. */ /* Similar to memset(). */ extern uint8_t * u8_set (uint8_t *s, ucs4_t uc, size_t n); extern uint16_t * u16_set (uint16_t *s, ucs4_t uc, size_t n); extern uint32_t * u32_set (uint32_t *s, ucs4_t uc, size_t n); /* Compare S1 and S2, each of length N. */ /* Similar to memcmp(). */ extern int u8_cmp (const uint8_t *s1, const uint8_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u16_cmp (const uint16_t *s1, const uint16_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u32_cmp (const uint32_t *s1, const uint32_t *s2, size_t n) _UC_ATTRIBUTE_PURE; /* Compare S1 and S2. */ /* Similar to the gnulib function memcmp2(). */ extern int u8_cmp2 (const uint8_t *s1, size_t n1, const uint8_t *s2, size_t n2) _UC_ATTRIBUTE_PURE; extern int u16_cmp2 (const uint16_t *s1, size_t n1, const uint16_t *s2, size_t n2) _UC_ATTRIBUTE_PURE; extern int u32_cmp2 (const uint32_t *s1, size_t n1, const uint32_t *s2, size_t n2) _UC_ATTRIBUTE_PURE; /* Search the string at S for UC. */ /* Similar to memchr(). */ extern uint8_t * u8_chr (const uint8_t *s, size_t n, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_chr (const uint16_t *s, size_t n, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_chr (const uint32_t *s, size_t n, ucs4_t uc) _UC_ATTRIBUTE_PURE; #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_chr_template (T* str, size_t n, ucs4_t uc); template <> inline uint8_t * u8_chr_template (uint8_t *str, size_t n, ucs4_t uc) { return u8_chr (str, n, uc); } template <> inline const uint8_t * u8_chr_template (const uint8_t *str, size_t n, ucs4_t uc) { return u8_chr (str, n, uc); } # undef u8_chr # define u8_chr u8_chr_template # elif !defined u8_chr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_chr(s,n,u) \ _Generic ((s), \ uint8_t const *: (uint8_t const *) u8_chr ((s), (n), (u)), \ default : u8_chr ((s), (n), (u))) # endif # endif # ifdef __cplusplus template T * u16_chr_template (T* str, size_t n, ucs4_t uc); template <> inline uint16_t * u16_chr_template (uint16_t *str, size_t n, ucs4_t uc) { return u16_chr (str, n, uc); } template <> inline const uint16_t * u16_chr_template (const uint16_t *str, size_t n, ucs4_t uc) { return u16_chr (str, n, uc); } # undef u16_chr # define u16_chr u16_chr_template # elif !defined u16_chr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_chr(s,n,u) \ _Generic ((s), \ uint16_t const *: (uint16_t const *) u16_chr ((s), (n), (u)), \ default : u16_chr ((s), (n), (u))) # endif # endif # ifdef __cplusplus template T * u32_chr_template (T* str, size_t n, ucs4_t uc); template <> inline uint32_t * u32_chr_template (uint32_t *str, size_t n, ucs4_t uc) { return u32_chr (str, n, uc); } template <> inline const uint32_t * u32_chr_template (const uint32_t *str, size_t n, ucs4_t uc) { return u32_chr (str, n, uc); } # undef u32_chr # define u32_chr u32_chr_template # elif !defined u32_chr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_chr(s,n,u) \ _Generic ((s), \ uint32_t const *: (uint32_t const *) u32_chr ((s), (n), (u)), \ default : u32_chr ((s), (n), (u))) # endif # endif #endif /* Count the number of Unicode characters in the N units from S. */ /* Similar to mbsnlen(). */ extern size_t u8_mbsnlen (const uint8_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern size_t u16_mbsnlen (const uint16_t *s, size_t n) _UC_ATTRIBUTE_PURE; extern size_t u32_mbsnlen (const uint32_t *s, size_t n) _UC_ATTRIBUTE_PURE; /* Elementary string functions with memory allocation. */ /* Make a freshly allocated copy of S, of length N. */ extern uint8_t * u8_cpy_alloc (const uint8_t *s, size_t n); extern uint16_t * u16_cpy_alloc (const uint16_t *s, size_t n); extern uint32_t * u32_cpy_alloc (const uint32_t *s, size_t n); /* Elementary string functions on NUL terminated strings. */ /* Return the length (number of units) of the first character in S. Return 0 if it is the NUL character. Return -1 upon failure. */ extern int u8_strmblen (const uint8_t *s) _UC_ATTRIBUTE_PURE; extern int u16_strmblen (const uint16_t *s) _UC_ATTRIBUTE_PURE; extern int u32_strmblen (const uint32_t *s) _UC_ATTRIBUTE_PURE; /* Return the length (number of units) of the first character in S, putting its 'ucs4_t' representation in *PUC. Return 0 if it is the NUL character. Return -1 upon failure. */ extern int u8_strmbtouc (ucs4_t *puc, const uint8_t *s); extern int u16_strmbtouc (ucs4_t *puc, const uint16_t *s); extern int u32_strmbtouc (ucs4_t *puc, const uint32_t *s); /* Forward iteration step. Advances the pointer past the next character, or returns NULL if the end of the string has been reached. Puts the character's 'ucs4_t' representation in *PUC. */ extern const uint8_t * u8_next (ucs4_t *puc, const uint8_t *s); extern const uint16_t * u16_next (ucs4_t *puc, const uint16_t *s); extern const uint32_t * u32_next (ucs4_t *puc, const uint32_t *s); #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_next_template (ucs4_t *puc, T* s); template <> inline uint8_t * u8_next_template (ucs4_t *puc, uint8_t *s) { return const_cast(u8_next (puc, s)); } template <> inline const uint8_t * u8_next_template (ucs4_t *puc, const uint8_t *s) { return u8_next (puc, s); } # undef u8_next # define u8_next u8_next_template # elif !defined u8_next # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_next(p,s) \ _Generic ((s), \ uint8_t *: (uint8_t *) u8_next ((p), (s)), \ default : u8_next ((p), (s))) # endif # endif # ifdef __cplusplus template T * u16_next_template (ucs4_t *puc, T* s); template <> inline uint16_t * u16_next_template (ucs4_t *puc, uint16_t *s) { return const_cast(u16_next (puc, s)); } template <> inline const uint16_t * u16_next_template (ucs4_t *puc, const uint16_t *s) { return u16_next (puc, s); } # undef u16_next # define u16_next u16_next_template # elif !defined u16_next # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_next(p,s) \ _Generic ((s), \ uint16_t *: (uint16_t *) u16_next ((p), (s)), \ default : u16_next ((p), (s))) # endif # endif # ifdef __cplusplus template T * u32_next_template (ucs4_t *puc, T* s); template <> inline uint32_t * u32_next_template (ucs4_t *puc, uint32_t *s) { return const_cast(u32_next (puc, s)); } template <> inline const uint32_t * u32_next_template (ucs4_t *puc, const uint32_t *s) { return u32_next (puc, s); } # undef u32_next # define u32_next u32_next_template # elif !defined u32_next # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_next(p,s) \ _Generic ((s), \ uint32_t *: (uint32_t *) u32_next ((p), (s)), \ default : u32_next ((p), (s))) # endif # endif #endif /* Backward iteration step. Advances the pointer to point to the previous character, or returns NULL if the beginning of the string had been reached. Puts the character's 'ucs4_t' representation in *PUC. */ extern const uint8_t * u8_prev (ucs4_t *puc, const uint8_t *s, const uint8_t *start); extern const uint16_t * u16_prev (ucs4_t *puc, const uint16_t *s, const uint16_t *start); extern const uint32_t * u32_prev (ucs4_t *puc, const uint32_t *s, const uint32_t *start); #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_prev_template (ucs4_t *puc, T* s, const uint8_t *start); template <> inline uint8_t * u8_prev_template (ucs4_t *puc, uint8_t *s, const uint8_t *start) { return const_cast(u8_prev (puc, s, start)); } template <> inline const uint8_t * u8_prev_template (ucs4_t *puc, const uint8_t *s, const uint8_t *start) { return u8_prev (puc, s, start); } # undef u8_prev # define u8_prev u8_prev_template # elif !defined u8_prev # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_prev(p,s,start) \ _Generic ((s), \ uint8_t *: (uint8_t *) u8_prev ((p), (s), (start)), \ default : u8_prev ((p), (s), (start))) # endif # endif # ifdef __cplusplus template T * u16_prev_template (ucs4_t *puc, T* s, const uint16_t *start); template <> inline uint16_t * u16_prev_template (ucs4_t *puc, uint16_t *s, const uint16_t *start) { return const_cast(u16_prev (puc, s, start)); } template <> inline const uint16_t * u16_prev_template (ucs4_t *puc, const uint16_t *s, const uint16_t *start) { return u16_prev (puc, s, start); } # undef u16_prev # define u16_prev u16_prev_template # elif !defined u16_prev # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_prev(p,s,start) \ _Generic ((s), \ uint16_t *: (uint16_t *) u16_prev ((p), (s), (start)), \ default : u16_prev ((p), (s), (start))) # endif # endif # ifdef __cplusplus template T * u32_prev_template (ucs4_t *puc, T* s, const uint32_t *start); template <> inline uint32_t * u32_prev_template (ucs4_t *puc, uint32_t *s, const uint32_t *start) { return const_cast(u32_prev (puc, s, start)); } template <> inline const uint32_t * u32_prev_template (ucs4_t *puc, const uint32_t *s, const uint32_t *start) { return u32_prev (puc, s, start); } # undef u32_prev # define u32_prev u32_prev_template # elif !defined u32_prev # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_prev(p,s,start) \ _Generic ((s), \ uint32_t *: (uint32_t *) u32_prev ((p), (s), (start)), \ default : u32_prev ((p), (s), (start))) # endif # endif #endif /* Return the number of units in S. */ /* Similar to strlen(), wcslen(). */ extern size_t u8_strlen (const uint8_t *s) _UC_ATTRIBUTE_PURE; extern size_t u16_strlen (const uint16_t *s) _UC_ATTRIBUTE_PURE; extern size_t u32_strlen (const uint32_t *s) _UC_ATTRIBUTE_PURE; /* Return the number of units in S, but at most MAXLEN. */ /* Similar to strnlen(), wcsnlen(). */ extern size_t u8_strnlen (const uint8_t *s, size_t maxlen) _UC_ATTRIBUTE_PURE; extern size_t u16_strnlen (const uint16_t *s, size_t maxlen) _UC_ATTRIBUTE_PURE; extern size_t u32_strnlen (const uint32_t *s, size_t maxlen) _UC_ATTRIBUTE_PURE; /* Copy SRC to DEST. */ /* Similar to strcpy(), wcscpy(). */ extern uint8_t * u8_strcpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src); extern uint16_t * u16_strcpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src); extern uint32_t * u32_strcpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src); /* Copy SRC to DEST, returning the address of the terminating NUL in DEST. */ /* Similar to stpcpy(). */ extern uint8_t * u8_stpcpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src); extern uint16_t * u16_stpcpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src); extern uint32_t * u32_stpcpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src); /* Copy no more than N units of SRC to DEST. */ /* Similar to strncpy(), wcsncpy(). */ extern uint8_t * u8_strncpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); extern uint16_t * u16_strncpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); extern uint32_t * u32_strncpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); /* Copy no more than N units of SRC to DEST. Return a pointer past the last non-NUL unit written into DEST. */ /* Similar to stpncpy(). */ extern uint8_t * u8_stpncpy (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); extern uint16_t * u16_stpncpy (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); extern uint32_t * u32_stpncpy (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); /* Append SRC onto DEST. */ /* Similar to strcat(), wcscat(). */ extern uint8_t * u8_strcat (uint8_t *_UC_RESTRICT dest, const uint8_t *src); extern uint16_t * u16_strcat (uint16_t *_UC_RESTRICT dest, const uint16_t *src); extern uint32_t * u32_strcat (uint32_t *_UC_RESTRICT dest, const uint32_t *src); /* Append no more than N units of SRC onto DEST. */ /* Similar to strncat(), wcsncat(). */ extern uint8_t * u8_strncat (uint8_t *_UC_RESTRICT dest, const uint8_t *src, size_t n); extern uint16_t * u16_strncat (uint16_t *_UC_RESTRICT dest, const uint16_t *src, size_t n); extern uint32_t * u32_strncat (uint32_t *_UC_RESTRICT dest, const uint32_t *src, size_t n); /* Compare S1 and S2. */ /* Similar to strcmp(), wcscmp(). */ #ifdef __sun /* Avoid a collision with the u8_strcmp() function in Solaris 11 libc. */ extern int u8_strcmp_gnu (const uint8_t *s1, const uint8_t *s2) _UC_ATTRIBUTE_PURE; # define u8_strcmp u8_strcmp_gnu #else extern int u8_strcmp (const uint8_t *s1, const uint8_t *s2) _UC_ATTRIBUTE_PURE; #endif extern int u16_strcmp (const uint16_t *s1, const uint16_t *s2) _UC_ATTRIBUTE_PURE; extern int u32_strcmp (const uint32_t *s1, const uint32_t *s2) _UC_ATTRIBUTE_PURE; /* Compare S1 and S2 using the collation rules of the current locale. Return -1 if S1 < S2, 0 if S1 = S2, 1 if S1 > S2. Upon failure, set errno and return any value. */ /* Similar to strcoll(), wcscoll(). */ extern int u8_strcoll (const uint8_t *s1, const uint8_t *s2); extern int u16_strcoll (const uint16_t *s1, const uint16_t *s2); extern int u32_strcoll (const uint32_t *s1, const uint32_t *s2); /* Compare no more than N units of S1 and S2. */ /* Similar to strncmp(), wcsncmp(). */ extern int u8_strncmp (const uint8_t *s1, const uint8_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u16_strncmp (const uint16_t *s1, const uint16_t *s2, size_t n) _UC_ATTRIBUTE_PURE; extern int u32_strncmp (const uint32_t *s1, const uint32_t *s2, size_t n) _UC_ATTRIBUTE_PURE; /* Duplicate S, returning an identical malloc'd string. */ /* Similar to strdup(), wcsdup(). */ extern uint8_t * u8_strdup (const uint8_t *s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; extern uint16_t * u16_strdup (const uint16_t *s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; extern uint32_t * u32_strdup (const uint32_t *s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; /* Find the first occurrence of UC in STR. */ /* Similar to strchr(), wcschr(). */ extern uint8_t * u8_strchr (const uint8_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strchr (const uint16_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strchr (const uint32_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_strchr_template (T* str, ucs4_t uc); template <> inline uint8_t * u8_strchr_template (uint8_t *str, ucs4_t uc) { return u8_strchr (str, uc); } template <> inline const uint8_t * u8_strchr_template (const uint8_t *str, ucs4_t uc) { return u8_strchr (str, uc); } # undef u8_strchr # define u8_strchr u8_strchr_template # elif !defined u8_strchr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_strchr(s,u) \ _Generic ((s), \ uint8_t const *: (uint8_t const *) u8_strchr ((s), (u)), \ default : u8_strchr ((s), (u))) # endif # endif # ifdef __cplusplus template T * u16_strchr_template (T* str, ucs4_t uc); template <> inline uint16_t * u16_strchr_template (uint16_t *str, ucs4_t uc) { return u16_strchr (str, uc); } template <> inline const uint16_t * u16_strchr_template (const uint16_t *str, ucs4_t uc) { return u16_strchr (str, uc); } # undef u16_strchr # define u16_strchr u16_strchr_template # elif !defined u16_strchr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_strchr(s,u) \ _Generic ((s), \ uint16_t const *: (uint16_t const *) u16_strchr ((s), (u)), \ default : u16_strchr ((s), (u))) # endif # endif # ifdef __cplusplus template T * u32_strchr_template (T* str, ucs4_t uc); template <> inline uint32_t * u32_strchr_template (uint32_t *str, ucs4_t uc) { return u32_strchr (str, uc); } template <> inline const uint32_t * u32_strchr_template (const uint32_t *str, ucs4_t uc) { return u32_strchr (str, uc); } # undef u32_strchr # define u32_strchr u32_strchr_template # elif !defined u32_strchr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_strchr(s,u) \ _Generic ((s), \ uint32_t const *: (uint32_t const *) u32_strchr ((s), (u)), \ default : u32_strchr ((s), (u))) # endif # endif #endif /* Find the last occurrence of UC in STR. */ /* Similar to strrchr(), wcsrchr(). */ extern uint8_t * u8_strrchr (const uint8_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strrchr (const uint16_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strrchr (const uint32_t *str, ucs4_t uc) _UC_ATTRIBUTE_PURE; #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_strrchr_template (T* str, ucs4_t uc); template <> inline uint8_t * u8_strrchr_template (uint8_t *str, ucs4_t uc) { return u8_strrchr (str, uc); } template <> inline const uint8_t * u8_strrchr_template (const uint8_t *str, ucs4_t uc) { return u8_strrchr (str, uc); } # undef u8_strrchr # define u8_strrchr u8_strrchr_template # elif !defined u8_strrchr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_strrchr(s,u) \ _Generic ((s), \ uint8_t const *: (uint8_t const *) u8_strrchr ((s), (u)), \ default : u8_strrchr ((s), (u))) # endif # endif # ifdef __cplusplus template T * u16_strrchr_template (T* str, ucs4_t uc); template <> inline uint16_t * u16_strrchr_template (uint16_t *str, ucs4_t uc) { return u16_strrchr (str, uc); } template <> inline const uint16_t * u16_strrchr_template (const uint16_t *str, ucs4_t uc) { return u16_strrchr (str, uc); } # undef u16_strrchr # define u16_strrchr u16_strrchr_template # elif !defined u16_strrchr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_strrchr(s,u) \ _Generic ((s), \ uint16_t const *: (uint16_t const *) u16_strrchr ((s), (u)), \ default : u16_strrchr ((s), (u))) # endif # endif # ifdef __cplusplus template T * u32_strrchr_template (T* str, ucs4_t uc); template <> inline uint32_t * u32_strrchr_template (uint32_t *str, ucs4_t uc) { return u32_strrchr (str, uc); } template <> inline const uint32_t * u32_strrchr_template (const uint32_t *str, ucs4_t uc) { return u32_strrchr (str, uc); } # undef u32_strrchr # define u32_strrchr u32_strrchr_template # elif !defined u32_strrchr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_strrchr(s,u) \ _Generic ((s), \ uint32_t const *: (uint32_t const *) u32_strrchr ((s), (u)), \ default : u32_strrchr ((s), (u))) # endif # endif #endif /* Return the length of the initial segment of STR which consists entirely of Unicode characters not in REJECT. */ /* Similar to strcspn(), wcscspn(). */ extern size_t u8_strcspn (const uint8_t *str, const uint8_t *reject) _UC_ATTRIBUTE_PURE; extern size_t u16_strcspn (const uint16_t *str, const uint16_t *reject) _UC_ATTRIBUTE_PURE; extern size_t u32_strcspn (const uint32_t *str, const uint32_t *reject) _UC_ATTRIBUTE_PURE; /* Return the length of the initial segment of STR which consists entirely of Unicode characters in ACCEPT. */ /* Similar to strspn(), wcsspn(). */ extern size_t u8_strspn (const uint8_t *str, const uint8_t *accept) _UC_ATTRIBUTE_PURE; extern size_t u16_strspn (const uint16_t *str, const uint16_t *accept) _UC_ATTRIBUTE_PURE; extern size_t u32_strspn (const uint32_t *str, const uint32_t *accept) _UC_ATTRIBUTE_PURE; /* Find the first occurrence in STR of any character in ACCEPT. */ /* Similar to strpbrk(), wcspbrk(). */ extern uint8_t * u8_strpbrk (const uint8_t *str, const uint8_t *accept) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strpbrk (const uint16_t *str, const uint16_t *accept) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strpbrk (const uint32_t *str, const uint32_t *accept) _UC_ATTRIBUTE_PURE; #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_strpbrk_template (T* str, const uint8_t *accept); template <> inline uint8_t * u8_strpbrk_template (uint8_t *str, const uint8_t *accept) { return u8_strpbrk (str, accept); } template <> inline const uint8_t * u8_strpbrk_template (const uint8_t *str, const uint8_t *accept) { return u8_strpbrk (str, accept); } # undef u8_strpbrk # define u8_strpbrk u8_strpbrk_template # elif !defined u8_strpbrk # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_strpbrk(s,a) \ _Generic ((s), \ uint8_t const *: (uint8_t const *) u8_strpbrk ((s), (a)), \ default : u8_strpbrk ((s), (a))) # endif # endif # ifdef __cplusplus template T * u16_strpbrk_template (T* str, const uint16_t *accept); template <> inline uint16_t * u16_strpbrk_template (uint16_t *str, const uint16_t *accept) { return u16_strpbrk (str, accept); } template <> inline const uint16_t * u16_strpbrk_template (const uint16_t *str, const uint16_t *accept) { return u16_strpbrk (str, accept); } # undef u16_strpbrk # define u16_strpbrk u16_strpbrk_template # elif !defined u16_strpbrk # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_strpbrk(s,a) \ _Generic ((s), \ uint16_t const *: (uint16_t const *) u16_strpbrk ((s), (a)), \ default : u16_strpbrk ((s), (a))) # endif # endif # ifdef __cplusplus template T * u32_strpbrk_template (T* str, const uint32_t *accept); template <> inline uint32_t * u32_strpbrk_template (uint32_t *str, const uint32_t *accept) { return u32_strpbrk (str, accept); } template <> inline const uint32_t * u32_strpbrk_template (const uint32_t *str, const uint32_t *accept) { return u32_strpbrk (str, accept); } # undef u32_strpbrk # define u32_strpbrk u32_strpbrk_template # elif !defined u32_strpbrk # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_strpbrk(s,a) \ _Generic ((s), \ uint32_t const *: (uint32_t const *) u32_strpbrk ((s), (a)), \ default : u32_strpbrk ((s), (a))) # endif # endif #endif /* Find the first occurrence of NEEDLE in HAYSTACK. */ /* Similar to strstr(), wcsstr(). */ extern uint8_t * u8_strstr (const uint8_t *haystack, const uint8_t *needle) _UC_ATTRIBUTE_PURE; extern uint16_t * u16_strstr (const uint16_t *haystack, const uint16_t *needle) _UC_ATTRIBUTE_PURE; extern uint32_t * u32_strstr (const uint32_t *haystack, const uint32_t *needle) _UC_ATTRIBUTE_PURE; #ifndef _LIBUNISTRING_NO_CONST_GENERICS /* Don't silently convert a 'const uintN_t *' to a 'uintN_t *'. Programmers want compiler warnings for 'const' related mistakes. */ # ifdef __cplusplus template T * u8_strstr_template (T* haystack, const uint8_t *needle); template <> inline uint8_t * u8_strstr_template (uint8_t *haystack, const uint8_t *needle) { return u8_strstr (haystack, needle); } template <> inline const uint8_t * u8_strstr_template (const uint8_t *haystack, const uint8_t *needle) { return u8_strstr (haystack, needle); } # undef u8_strstr # define u8_strstr u8_strstr_template # elif !defined u8_strstr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u8_strstr(h,n) \ _Generic ((h), \ uint8_t const *: (uint8_t const *) u8_strstr ((h), (n)), \ default : u8_strstr ((h), (n))) # endif # endif # ifdef __cplusplus template T * u16_strstr_template (T* haystack, const uint16_t *needle); template <> inline uint16_t * u16_strstr_template (uint16_t *haystack, const uint16_t *needle) { return u16_strstr (haystack, needle); } template <> inline const uint16_t * u16_strstr_template (const uint16_t *haystack, const uint16_t *needle) { return u16_strstr (haystack, needle); } # undef u16_strstr # define u16_strstr u16_strstr_template # elif !defined u16_strstr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u16_strstr(h,n) \ _Generic ((h), \ uint16_t const *: (uint16_t const *) u16_strstr ((h), (n)), \ default : u16_strstr ((h), (n))) # endif # endif # ifdef __cplusplus template T * u32_strstr_template (T* haystack, const uint32_t *needle); template <> inline uint32_t * u32_strstr_template (uint32_t *haystack, const uint32_t *needle) { return u32_strstr (haystack, needle); } template <> inline const uint32_t * u32_strstr_template (const uint32_t *haystack, const uint32_t *needle) { return u32_strstr (haystack, needle); } # undef u32_strstr # define u32_strstr u32_strstr_template # elif !defined u32_strstr # if ((__GNUC__ + (__GNUC_MINOR__ >= 9) > 4) || (__clang_major__ >= 3) \ || defined __ICC || defined __TINYC__ \ || (__STDC_VERSION__ >= 201112L && !(defined __GNUC__ || defined __clang__))) # define u32_strstr(h,n) \ _Generic ((h), \ uint32_t const *: (uint32_t const *) u32_strstr ((h), (n)), \ default : u32_strstr ((h), (n))) # endif # endif #endif /* Test whether STR starts with PREFIX. */ extern bool u8_startswith (const uint8_t *str, const uint8_t *prefix) _UC_ATTRIBUTE_PURE; extern bool u16_startswith (const uint16_t *str, const uint16_t *prefix) _UC_ATTRIBUTE_PURE; extern bool u32_startswith (const uint32_t *str, const uint32_t *prefix) _UC_ATTRIBUTE_PURE; /* Test whether STR ends with SUFFIX. */ extern bool u8_endswith (const uint8_t *str, const uint8_t *suffix) _UC_ATTRIBUTE_PURE; extern bool u16_endswith (const uint16_t *str, const uint16_t *suffix) _UC_ATTRIBUTE_PURE; extern bool u32_endswith (const uint32_t *str, const uint32_t *suffix) _UC_ATTRIBUTE_PURE; /* Divide STR into tokens separated by characters in DELIM. This interface is actually more similar to wcstok than to strtok. */ /* Similar to strtok_r(), wcstok(). */ extern uint8_t * u8_strtok (uint8_t *_UC_RESTRICT str, const uint8_t *delim, uint8_t **ptr); extern uint16_t * u16_strtok (uint16_t *_UC_RESTRICT str, const uint16_t *delim, uint16_t **ptr); extern uint32_t * u32_strtok (uint32_t *_UC_RESTRICT str, const uint32_t *delim, uint32_t **ptr); #ifdef __cplusplus } #endif #endif /* _UNISTR_H */ datamash-1.9/lib/unitypes.in.h0000644000000000000000000000433114767401140012005 /* Elementary types and macros for the GNU UniString library. Copyright (C) 2002, 2005-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _UNITYPES_H #define _UNITYPES_H /* Get uint8_t, uint16_t, uint32_t. */ #include #ifdef __cplusplus extern "C" { #endif /* Type representing a Unicode character. */ typedef uint32_t ucs4_t; /* Attribute of a function whose result depends only on the arguments (not pointers!) and which has no side effects. */ #ifndef _UC_ATTRIBUTE_CONST # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) || defined __clang__ # define _UC_ATTRIBUTE_CONST __attribute__ ((__const__)) # else # define _UC_ATTRIBUTE_CONST # endif #endif /* Attribute of a function whose result depends only on the arguments (possibly pointers) and global memory, and which has no side effects. */ #ifndef _UC_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ # define _UC_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _UC_ATTRIBUTE_PURE # endif #endif /* Qualifier in a function declaration, that asserts that the caller must pass a pointer to a different object in the specified pointer argument than in the other pointer arguments. */ #ifndef _UC_RESTRICT # if defined __restrict \ || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \ || __clang_major__ >= 3 # define _UC_RESTRICT __restrict # elif 199901L <= __STDC_VERSION__ || defined restrict # define _UC_RESTRICT restrict # else # define _UC_RESTRICT # endif #endif #ifdef __cplusplus } #endif #endif /* _UNITYPES_H */ datamash-1.9/lib/uniwidth/0000755000000000000000000000000014774035553011272 5datamash-1.9/lib/uniwidth/cjk.h0000644000000000000000000000316714767401140012130 /* Test for CJK encoding. Copyright (C) 2001-2002, 2005-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include "streq.h" static int is_cjk_encoding (const char *encoding) { if (0 /* Legacy Japanese encodings */ || STREQ_OPT (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0) /* Legacy Chinese encodings */ || STREQ_OPT (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0) || STREQ_OPT (encoding, "GBK", 'G', 'B', 'K', 0, 0, 0, 0, 0, 0) || STREQ_OPT (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0) || STREQ_OPT (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0) /* Legacy Korean encodings */ || STREQ_OPT (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) || STREQ_OPT (encoding, "CP949", 'C', 'P', '9', '4', '9', 0, 0, 0, 0) || STREQ_OPT (encoding, "JOHAB", 'J', 'O', 'H', 'A', 'B', 0, 0, 0, 0)) return 1; return 0; } datamash-1.9/lib/uniwidth/width.c0000644000000000000000000000646314767401140012475 /* Determine display width of Unicode character. Copyright (C) 2001-2002, 2006-2025 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include "uniwidth.h" #include "cjk.h" /* The non-spacing attribute table consists of: * Non-spacing characters; generated from PropList.txt or "grep '^[^;]*;[^;]*;[^;]*;[^;]*;NSM;' UnicodeData.txt" * Format control characters; generated from "grep '^[^;]*;[^;]*;Cf;' UnicodeData.txt" * Zero width characters; generated from "grep '^[^;]*;ZERO WIDTH ' UnicodeData.txt" * Hangul Jamo characters that have conjoining behaviour: - jungseong = syllable-middle vowels - jongseong = syllable-final consonants Rationale: 1) These characters act like combining characters. They have no equivalent in legacy character sets. Therefore the EastAsianWidth.txt file does not really matter for them; UAX #11 East Asian Width makes it clear that it focus is on compatibility with traditional Japanese layout. By contrast, the same glyphs without conjoining behaviour are available in the U+3130..U+318F block, and these characters are mapped to legacy character sets, and traditional Japanese layout matters for them. 2) glibc does the same thing, see */ #include "uniwidth/width0.h" #include "uniwidth/width2.h" #include "unictype/bitmap.h" #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) /* Determine number of column positions required for UC. */ int uc_width (ucs4_t uc, const char *encoding) { /* Test for non-spacing or control character. */ if ((uc >> 9) < SIZEOF (nonspacing_table_ind)) { int ind = nonspacing_table_ind[uc >> 9]; if (ind >= 0) if ((nonspacing_table_data[64*ind + ((uc >> 3) & 63)] >> (uc & 7)) & 1) { if (uc > 0 && uc < 0xa0) return -1; else return 0; } } else if ((uc >> 9) == (0xe0000 >> 9)) { if (uc >= 0xe0100) { if (uc <= 0xe01ef) return 0; } else { if (uc >= 0xe0020 ? uc <= 0xe007f : uc == 0xe0001) return 0; } } /* Test for double-width character. */ if (bitmap_lookup (&u_width2, uc)) return 2; /* In ancient CJK encodings, Cyrillic and most other characters are double-width as well. */ if (uc >= 0x00A1 && uc < 0xFF61 && uc != 0x20A9 && is_cjk_encoding (encoding)) return 2; return 1; } datamash-1.9/lib/uniwidth/width0.h0000644000000000000000000007572614767401140012572 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Table of non-spacing or control characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ static const unsigned char nonspacing_table_data[49*64] = { /* 0x0000-0x01ff */ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, /* 0x0000-0x003f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0x0040-0x007f */ 0xff, 0xff, 0xff, 0xff, 0x00, 0x20, 0x00, 0x00, /* 0x0080-0x00bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00c0-0x00ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0100-0x013f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0140-0x017f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0180-0x01bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x01c0-0x01ff */ /* 0x0200-0x03ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0200-0x023f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0240-0x027f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0280-0x02bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x02c0-0x02ff */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x0300-0x033f */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, /* 0x0340-0x037f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0380-0x03bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x03c0-0x03ff */ /* 0x0400-0x05ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0400-0x043f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0440-0x047f */ 0xf8, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0480-0x04bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x04c0-0x04ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0500-0x053f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0540-0x057f */ 0x00, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xbf, /* 0x0580-0x05bf */ 0xb6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x05c0-0x05ff */ /* 0x0600-0x07ff */ 0x00, 0x00, 0xff, 0x17, 0x00, 0x00, 0x00, 0x00, /* 0x0600-0x063f */ 0x00, 0xf8, 0xff, 0xff, 0x00, 0x00, 0x01, 0x00, /* 0x0640-0x067f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0680-0x06bf */ 0x00, 0x00, 0xc0, 0x9f, 0x9f, 0x3d, 0x00, 0x00, /* 0x06c0-0x06ff */ 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0xff, 0xff, /* 0x0700-0x073f */ 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0740-0x077f */ 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0x01, 0x00, /* 0x0780-0x07bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x0f, 0x20, /* 0x07c0-0x07ff */ /* 0x0800-0x09ff */ 0x00, 0x00, 0xc0, 0xfb, 0xef, 0x3e, 0x00, 0x00, /* 0x0800-0x083f */ 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, /* 0x0840-0x087f */ 0x00, 0x00, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00, /* 0x0880-0x08bf */ 0x00, 0xfc, 0xff, 0xff, 0xfb, 0xff, 0xff, 0xff, /* 0x08c0-0x08ff */ 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, /* 0x0900-0x093f */ 0xfe, 0x21, 0xfe, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0940-0x097f */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0980-0x09bf */ 0x1e, 0x20, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x40, /* 0x09c0-0x09ff */ /* 0x0a00-0x0bff */ 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0a00-0x0a3f */ 0x86, 0x39, 0x02, 0x00, 0x00, 0x00, 0x23, 0x00, /* 0x0a40-0x0a7f */ 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0a80-0x0abf */ 0xbe, 0x21, 0x00, 0x00, 0x0c, 0x00, 0x00, 0xfc, /* 0x0ac0-0x0aff */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, /* 0x0b00-0x0b3f */ 0x1e, 0x20, 0x60, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0b40-0x0b7f */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0b80-0x0bbf */ 0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0bc0-0x0bff */ /* 0x0c00-0x0dff */ 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, /* 0x0c00-0x0c3f */ 0xc1, 0x3d, 0x60, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0c40-0x0c7f */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0c80-0x0cbf */ 0x00, 0x30, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0cc0-0x0cff */ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, /* 0x0d00-0x0d3f */ 0x1e, 0x20, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0d40-0x0d7f */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0d80-0x0dbf */ 0x00, 0x04, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0dc0-0x0dff */ /* 0x0e00-0x0fff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf2, 0x07, /* 0x0e00-0x0e3f */ 0x80, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0e40-0x0e7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf2, 0x1f, /* 0x0e80-0x0ebf */ 0x00, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0ec0-0x0eff */ 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0xa0, 0x02, /* 0x0f00-0x0f3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x7f, /* 0x0f40-0x0f7f */ 0xdf, 0xe0, 0xff, 0xfe, 0xff, 0xff, 0xff, 0x1f, /* 0x0f80-0x0fbf */ 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0fc0-0x0fff */ /* 0x1000-0x11ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xfd, 0x66, /* 0x1000-0x103f */ 0x00, 0x00, 0x00, 0xc3, 0x01, 0x00, 0x1e, 0x00, /* 0x1040-0x107f */ 0x64, 0x20, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, /* 0x1080-0x10bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10c0-0x10ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1100-0x113f */ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, /* 0x1140-0x117f */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x1180-0x11bf */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x11c0-0x11ff */ /* 0x1200-0x13ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1200-0x123f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1240-0x127f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1280-0x12bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x12c0-0x12ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1300-0x133f */ 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x00, /* 0x1340-0x137f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1380-0x13bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13c0-0x13ff */ /* 0x1600-0x17ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1600-0x163f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1640-0x167f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1680-0x16bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16c0-0x16ff */ 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x0c, 0x00, /* 0x1700-0x173f */ 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, /* 0x1740-0x177f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x3f, /* 0x1780-0x17bf */ 0x40, 0xfe, 0x0f, 0x20, 0x00, 0x00, 0x00, 0x00, /* 0x17c0-0x17ff */ /* 0x1800-0x19ff */ 0x00, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1800-0x183f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1840-0x187f */ 0x60, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, /* 0x1880-0x18bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18c0-0x18ff */ 0x00, 0x00, 0x00, 0x00, 0x87, 0x01, 0x04, 0x0e, /* 0x1900-0x193f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1940-0x197f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1980-0x19bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x19c0-0x19ff */ /* 0x1a00-0x1bff */ 0x00, 0x00, 0x80, 0x09, 0x00, 0x00, 0x00, 0x00, /* 0x1a00-0x1a3f */ 0x00, 0x00, 0x40, 0x7f, 0xe5, 0x1f, 0xf8, 0x9f, /* 0x1a40-0x1a7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, /* 0x1a80-0x1abf */ 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1ac0-0x1aff */ 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x17, /* 0x1b00-0x1b3f */ 0x04, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x0f, 0x00, /* 0x1b40-0x1b7f */ 0x03, 0x00, 0x00, 0x00, 0x3c, 0x3b, 0x00, 0x00, /* 0x1b80-0x1bbf */ 0x00, 0x00, 0x00, 0x00, 0x40, 0xa3, 0x03, 0x00, /* 0x1bc0-0x1bff */ /* 0x1c00-0x1dff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xcf, 0x00, /* 0x1c00-0x1c3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1c40-0x1c7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1c80-0x1cbf */ 0x00, 0x00, 0xf7, 0xff, 0xfd, 0x21, 0x10, 0x03, /* 0x1cc0-0x1cff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d00-0x1d3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d40-0x1d7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d80-0x1dbf */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x1dc0-0x1dff */ /* 0x2000-0x21ff */ 0x00, 0xf8, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, /* 0x2000-0x203f */ 0x00, 0x00, 0x00, 0x00, 0xdf, 0xff, 0x00, 0x00, /* 0x2040-0x207f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2080-0x20bf */ 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01, 0x00, /* 0x20c0-0x20ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2100-0x213f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2140-0x217f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2180-0x21bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x21c0-0x21ff */ /* 0x2c00-0x2dff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2c00-0x2c3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2c40-0x2c7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2c80-0x2cbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, /* 0x2cc0-0x2cff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2d00-0x2d3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0x2d40-0x2d7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2d80-0x2dbf */ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, /* 0x2dc0-0x2dff */ /* 0x3000-0x31ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, /* 0x3000-0x303f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3040-0x307f */ 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, /* 0x3080-0x30bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30c0-0x30ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3100-0x313f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3140-0x317f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3180-0x31bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x31c0-0x31ff */ /* 0xa600-0xa7ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa600-0xa63f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xf7, 0x3f, /* 0xa640-0xa67f */ 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, /* 0xa680-0xa6bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, /* 0xa6c0-0xa6ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa700-0xa73f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa740-0xa77f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa780-0xa7bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa7c0-0xa7ff */ /* 0xa800-0xa9ff */ 0x44, 0x08, 0x00, 0x00, 0x60, 0x10, 0x00, 0x00, /* 0xa800-0xa83f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa840-0xa87f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa880-0xa8bf */ 0x30, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0x80, /* 0xa8c0-0xa8ff */ 0x00, 0x00, 0x00, 0x00, 0xc0, 0x3f, 0x00, 0x00, /* 0xa900-0xa93f */ 0x80, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa940-0xa97f */ 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc8, 0x33, /* 0xa980-0xa9bf */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, /* 0xa9c0-0xa9ff */ /* 0xaa00-0xabff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x66, 0x00, /* 0xaa00-0xaa3f */ 0x08, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0xaa40-0xaa7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9d, 0xc1, /* 0xaa80-0xaabf */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x30, 0x40, 0x00, /* 0xaac0-0xaaff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xab00-0xab3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xab40-0xab7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xab80-0xabbf */ 0x00, 0x00, 0x00, 0x00, 0x20, 0x21, 0x00, 0x00, /* 0xabc0-0xabff */ /* 0xd600-0xd7ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd600-0xd63f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd640-0xd67f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd680-0xd6bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd6c0-0xd6ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd700-0xd73f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xd740-0xd77f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, /* 0xd780-0xd7bf */ 0x7f, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, /* 0xd7c0-0xd7ff */ /* 0xfa00-0xfbff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfa00-0xfa3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfa40-0xfa7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfa80-0xfabf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfac0-0xfaff */ 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, /* 0xfb00-0xfb3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfb40-0xfb7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfb80-0xfbbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfbc0-0xfbff */ /* 0xfe00-0xffff */ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, /* 0xfe00-0xfe3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfe40-0xfe7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfe80-0xfebf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0xfec0-0xfeff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xff00-0xff3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xff40-0xff7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xff80-0xffbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, /* 0xffc0-0xffff */ /* 0x10000-0x101ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10000-0x1003f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10040-0x1007f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10080-0x100bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x100c0-0x100ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10100-0x1013f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10140-0x1017f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10180-0x101bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, /* 0x101c0-0x101ff */ /* 0x10200-0x103ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10200-0x1023f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10240-0x1027f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10280-0x102bf */ 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, /* 0x102c0-0x102ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10300-0x1033f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, /* 0x10340-0x1037f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10380-0x103bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x103c0-0x103ff */ /* 0x10a00-0x10bff */ 0x6e, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87, /* 0x10a00-0x10a3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10a40-0x10a7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10a80-0x10abf */ 0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, /* 0x10ac0-0x10aff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10b00-0x10b3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10b40-0x10b7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10b80-0x10bbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10bc0-0x10bff */ /* 0x10c00-0x10dff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10c00-0x10c3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10c40-0x10c7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10c80-0x10cbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10cc0-0x10cff */ 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, /* 0x10d00-0x10d3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, /* 0x10d40-0x10d7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10d80-0x10dbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10dc0-0x10dff */ /* 0x10e00-0x10fff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10e00-0x10e3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10e40-0x10e7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, /* 0x10e80-0x10ebf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, /* 0x10ec0-0x10eff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10f00-0x10f3f */ 0xc0, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10f40-0x10f7f */ 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10f80-0x10fbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10fc0-0x10fff */ /* 0x11000-0x111ff */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, /* 0x11000-0x1103f */ 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x80, /* 0x11040-0x1107f */ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x06, /* 0x11080-0x110bf */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x110c0-0x110ff */ 0x07, 0x00, 0x00, 0x00, 0x80, 0xef, 0x1f, 0x00, /* 0x11100-0x1113f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, /* 0x11140-0x1117f */ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x7f, /* 0x11180-0x111bf */ 0x00, 0x9e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x111c0-0x111ff */ /* 0x11200-0x113ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xd3, 0x40, /* 0x11200-0x1123f */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11240-0x1127f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11280-0x112bf */ 0x00, 0x00, 0x00, 0x80, 0xf8, 0x07, 0x00, 0x00, /* 0x112c0-0x112ff */ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, /* 0x11300-0x1133f */ 0x01, 0x00, 0x00, 0x00, 0xc0, 0x1f, 0x1f, 0x00, /* 0x11340-0x1137f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, /* 0x11380-0x113bf */ 0x01, 0x40, 0x05, 0x00, 0x06, 0x00, 0x00, 0x00, /* 0x113c0-0x113ff */ /* 0x11400-0x115ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, /* 0x11400-0x1143f */ 0x5c, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, /* 0x11440-0x1147f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x85, /* 0x11480-0x114bf */ 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x114c0-0x114ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11500-0x1153f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11540-0x1157f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0xb0, /* 0x11580-0x115bf */ 0x01, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, /* 0x115c0-0x115ff */ /* 0x11600-0x117ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xa7, /* 0x11600-0x1163f */ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11640-0x1167f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x28, 0xbf, 0x00, /* 0x11680-0x116bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x116c0-0x116ff */ 0x00, 0x00, 0x00, 0xa0, 0xbc, 0x0f, 0x00, 0x00, /* 0x11700-0x1173f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11740-0x1177f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11780-0x117bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x117c0-0x117ff */ /* 0x11800-0x119ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x06, /* 0x11800-0x1183f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11840-0x1187f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11880-0x118bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x118c0-0x118ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, /* 0x11900-0x1193f */ 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11940-0x1197f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11980-0x119bf */ 0x00, 0x00, 0xf0, 0x0c, 0x01, 0x00, 0x00, 0x00, /* 0x119c0-0x119ff */ /* 0x11a00-0x11bff */ 0x7e, 0x06, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x79, /* 0x11a00-0x11a3f */ 0x80, 0x00, 0x7e, 0x0e, 0x00, 0x00, 0x00, 0x00, /* 0x11a40-0x11a7f */ 0x00, 0xfc, 0x7f, 0x03, 0x00, 0x00, 0x00, 0x00, /* 0x11a80-0x11abf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11ac0-0x11aff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11b00-0x11b3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11b40-0x11b7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11b80-0x11bbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11bc0-0x11bff */ /* 0x11c00-0x11dff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x3f, /* 0x11c00-0x11c3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11c40-0x11c7f */ 0x00, 0x00, 0xfc, 0xff, 0xff, 0xfc, 0x6d, 0x00, /* 0x11c80-0x11cbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11cc0-0x11cff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xb4, /* 0x11d00-0x11d3f */ 0xbf, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11d40-0x11d7f */ 0x00, 0x00, 0xa3, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11d80-0x11dbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11dc0-0x11dff */ /* 0x11e00-0x11fff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11e00-0x11e3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11e40-0x11e7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11e80-0x11ebf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, /* 0x11ec0-0x11eff */ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, /* 0x11f00-0x11f3f */ 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, /* 0x11f40-0x11f7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11f80-0x11fbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11fc0-0x11fff */ /* 0x13400-0x135ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, /* 0x13400-0x1343f */ 0x81, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13440-0x1347f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13480-0x134bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x134c0-0x134ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13500-0x1353f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13540-0x1357f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13580-0x135bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x135c0-0x135ff */ /* 0x16000-0x161ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16000-0x1603f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16040-0x1607f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16080-0x160bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x160c0-0x160ff */ 0x00, 0x00, 0x00, 0xc0, 0xff, 0xe3, 0x00, 0x00, /* 0x16100-0x1613f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16140-0x1617f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16180-0x161bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x161c0-0x161ff */ /* 0x16a00-0x16bff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16a00-0x16a3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16a40-0x16a7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16a80-0x16abf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x00, /* 0x16ac0-0x16aff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x00, /* 0x16b00-0x16b3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16b40-0x16b7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16b80-0x16bbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16bc0-0x16bff */ /* 0x16e00-0x16fff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16e00-0x16e3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16e40-0x16e7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16e80-0x16ebf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16ec0-0x16eff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16f00-0x16f3f */ 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16f40-0x16f7f */ 0x00, 0x80, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16f80-0x16fbf */ 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, /* 0x16fc0-0x16fff */ /* 0x1bc00-0x1bdff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bc00-0x1bc3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bc40-0x1bc7f */ 0x00, 0x00, 0x00, 0x60, 0x0f, 0x00, 0x00, 0x00, /* 0x1bc80-0x1bcbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bcc0-0x1bcff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bd00-0x1bd3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bd40-0x1bd7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bd80-0x1bdbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1bdc0-0x1bdff */ /* 0x1ce00-0x1cfff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1ce00-0x1ce3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1ce40-0x1ce7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1ce80-0x1cebf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1cec0-0x1ceff */ 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, /* 0x1cf00-0x1cf3f */ 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1cf40-0x1cf7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1cf80-0x1cfbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1cfc0-0x1cfff */ /* 0x1d000-0x1d1ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d000-0x1d03f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d040-0x1d07f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d080-0x1d0bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d0c0-0x1d0ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d100-0x1d13f */ 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0xf8, 0xff, /* 0x1d140-0x1d17f */ 0xe7, 0x0f, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, /* 0x1d180-0x1d1bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d1c0-0x1d1ff */ /* 0x1d200-0x1d3ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d200-0x1d23f */ 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d240-0x1d27f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d280-0x1d2bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d2c0-0x1d2ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d300-0x1d33f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d340-0x1d37f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d380-0x1d3bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d3c0-0x1d3ff */ /* 0x1da00-0x1dbff */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xf8, /* 0x1da00-0x1da3f */ 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x20, 0x00, /* 0x1da40-0x1da7f */ 0x10, 0x00, 0x00, 0xf8, 0xfe, 0xff, 0x00, 0x00, /* 0x1da80-0x1dabf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1dac0-0x1daff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1db00-0x1db3f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1db40-0x1db7f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1db80-0x1dbbf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1dbc0-0x1dbff */ /* 0x1e000-0x1e1ff */ 0x7f, 0xff, 0xff, 0xf9, 0xdb, 0x07, 0x00, 0x00, /* 0x1e000-0x1e03f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e040-0x1e07f */ 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e080-0x1e0bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e0c0-0x1e0ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x00, /* 0x1e100-0x1e13f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e140-0x1e17f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e180-0x1e1bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e1c0-0x1e1ff */ /* 0x1e200-0x1e3ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e200-0x1e23f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e240-0x1e27f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, /* 0x1e280-0x1e2bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, /* 0x1e2c0-0x1e2ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e300-0x1e33f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e340-0x1e37f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e380-0x1e3bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e3c0-0x1e3ff */ /* 0x1e400-0x1e5ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e400-0x1e43f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e440-0x1e47f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e480-0x1e4bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, /* 0x1e4c0-0x1e4ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e500-0x1e53f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e540-0x1e57f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e580-0x1e5bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, /* 0x1e5c0-0x1e5ff */ /* 0x1e800-0x1e9ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e800-0x1e83f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e840-0x1e87f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e880-0x1e8bf */ 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e8c0-0x1e8ff */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e900-0x1e93f */ 0xf0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e940-0x1e97f */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1e980-0x1e9bf */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0x1e9c0-0x1e9ff */ }; static const signed char nonspacing_table_ind[248] = { 0, 1, 2, 3, 4, 5, 6, 7, /* 0x0000-0x0fff */ 8, 9, -1, 10, 11, 12, 13, -1, /* 0x1000-0x1fff */ 14, -1, -1, -1, -1, -1, 15, -1, /* 0x2000-0x2fff */ 16, -1, -1, -1, -1, -1, -1, -1, /* 0x3000-0x3fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x4000-0x4fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x5000-0x5fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x6000-0x6fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x7000-0x7fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x8000-0x8fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x9000-0x9fff */ -1, -1, -1, 17, 18, 19, -1, -1, /* 0xa000-0xafff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xb000-0xbfff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xc000-0xcfff */ -1, -1, -1, 20, -1, -1, -1, -1, /* 0xd000-0xdfff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xe000-0xefff */ -1, -1, -1, -1, -1, 21, -1, 22, /* 0xf000-0xffff */ 23, 24, -1, -1, -1, 25, 26, 27, /* 0x10000-0x10fff */ 28, 29, 30, 31, 32, 33, 34, 35, /* 0x11000-0x11fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x12000-0x12fff */ -1, -1, 36, -1, -1, -1, -1, -1, /* 0x13000-0x13fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x14000-0x14fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x15000-0x15fff */ 37, -1, -1, -1, -1, 38, -1, 39, /* 0x16000-0x16fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x17000-0x17fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x18000-0x18fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x19000-0x19fff */ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x1a000-0x1afff */ -1, -1, -1, -1, -1, -1, 40, -1, /* 0x1b000-0x1bfff */ -1, -1, -1, -1, -1, -1, -1, 41, /* 0x1c000-0x1cfff */ 42, 43, -1, -1, -1, 44, -1, -1, /* 0x1d000-0x1dfff */ 45, 46, 47, -1, 48, -1, -1, -1 /* 0x1e000-0x1efff */ }; datamash-1.9/lib/uniwidth/width2.h0000644000000000000000000005600114767401140012555 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* Width 2 property of Unicode characters. */ /* Generated automatically by gen-uni-tables.c for Unicode 16.0.0. */ /* Copyright (C) 2000-2024 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #define header_0 16 #define header_2 9 #define header_3 127 #define header_4 15 static const struct { int header[1]; int level1[4]; short level2[3 << 7]; unsigned int level3[28 << 4]; } u_width2 = { { 4 }, { 5 * sizeof (int) / sizeof (short) + 0, 5 * sizeof (int) / sizeof (short) + 128, 5 * sizeof (int) / sizeof (short) + 256, 5 * sizeof (int) / sizeof (short) + 256 }, { -1, -1, -1, -1, -1, -1, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 0, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 16, 5 + 384 * sizeof (short) / sizeof (int) + 32, 5 + 384 * sizeof (short) / sizeof (int) + 48, -1, 5 + 384 * sizeof (short) / sizeof (int) + 64, -1, 5 + 384 * sizeof (short) / sizeof (int) + 80, 5 + 384 * sizeof (short) / sizeof (int) + 96, 5 + 384 * sizeof (short) / sizeof (int) + 112, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 144, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 160, -1, 5 + 384 * sizeof (short) / sizeof (int) + 176, -1, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 192, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 208, 5 + 384 * sizeof (short) / sizeof (int) + 224, -1, 5 + 384 * sizeof (short) / sizeof (int) + 240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 256, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 272, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 288, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 304, 5 + 384 * sizeof (short) / sizeof (int) + 320, 5 + 384 * sizeof (short) / sizeof (int) + 336, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 352, 5 + 384 * sizeof (short) / sizeof (int) + 368, 5 + 384 * sizeof (short) / sizeof (int) + 384, 5 + 384 * sizeof (short) / sizeof (int) + 400, 5 + 384 * sizeof (short) / sizeof (int) + 416, 5 + 384 * sizeof (short) / sizeof (int) + 432, -1, -1, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128, 5 + 384 * sizeof (short) / sizeof (int) + 128 }, { 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0C000000U, 0x00000600U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00091E00U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x60000000U, 0x00300000U, 0x00000000U, 0x000FFF00U, 0x80000000U, 0x00080000U, 0x60000C02U, 0x00104030U, 0x242C0400U, 0x00000C20U, 0x00000100U, 0x00B85000U, 0x00000000U, 0x00E00000U, 0x80010000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x18000000U, 0x00000000U, 0x00210000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFF00FFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x1FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000000FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFF0000U, 0xFFFF0000U, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000001U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0000007FU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x0003000FU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00FFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x003FFFFFU, 0x00000000U, 0x000001FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x6FEF0000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000007U, 0x00070000U, 0xFFFF00F0U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0FFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000010U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00008000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x07FE4000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFBFE001U, 0xFFFFFFFFU, 0xDFFFFFFFU, 0x000FFFFFU, 0xFFFFFFFFU, 0x000F87FFU, 0xFF11FFFFU, 0xFFFFFFFFU, 0x7FFFFFFFU, 0xFFFFFFFDU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x9FFFFFFFU, 0xFFFFFFFFU, 0x3FFFFFFFU, 0xFFFF7800U, 0x040000FFU, 0x00600000U, 0x00000010U, 0x00000000U, 0xF8000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x0000FFFFU, 0x00000000U, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xE0E7103FU, 0x1FF01800U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00010FFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0xFFFFF000U, 0xF7FFFFFFU, 0xFFFFFFBFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0xFFFFFFFFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x1F1F0000U, 0xFFFF007FU, 0x07FF1FFFU, 0x03FF003FU, 0x007F00FFU, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U, 0x00000000U } }; datamash-1.9/lib/uniwidth.in.h0000644000000000000000000000413314767401140011760 /* Display width functions. Copyright (C) 2001-2002, 2005, 2007, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _UNIWIDTH_H #define _UNIWIDTH_H #include "unitypes.h" /* Get size_t. */ #include /* Get locale_charset() declaration. */ #include "localcharset.h" #ifdef __cplusplus extern "C" { #endif /* Display width. */ /* These functions are locale dependent. The encoding argument identifies the encoding (e.g. "ISO-8859-2" for Polish). */ /* Determine number of column positions required for UC. */ extern int uc_width (ucs4_t uc, const char *encoding) _UC_ATTRIBUTE_PURE; /* Determine number of column positions required for first N units (or fewer if S ends before this) in S. */ extern int u8_width (const uint8_t *s, size_t n, const char *encoding) _UC_ATTRIBUTE_PURE; extern int u16_width (const uint16_t *s, size_t n, const char *encoding) _UC_ATTRIBUTE_PURE; extern int u32_width (const uint32_t *s, size_t n, const char *encoding) _UC_ATTRIBUTE_PURE; /* Determine number of column positions required for S. */ extern int u8_strwidth (const uint8_t *s, const char *encoding) _UC_ATTRIBUTE_PURE; extern int u16_strwidth (const uint16_t *s, const char *encoding) _UC_ATTRIBUTE_PURE; extern int u32_strwidth (const uint32_t *s, const char *encoding) _UC_ATTRIBUTE_PURE; #ifdef __cplusplus } #endif #endif /* _UNIWIDTH_H */ datamash-1.9/lib/unlocked-io.h0000644000000000000000000000765314767401140011743 /* Prefer faster, non-thread-safe stdio functions if available. Copyright (C) 2001-2004, 2009-2025 Free Software Foundation, Inc. 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 . */ /* Written by Jim Meyering. */ #ifndef UNLOCKED_IO_H # define UNLOCKED_IO_H 1 /* These are wrappers for functions/macros from the GNU C library, and from other C libraries supporting POSIX's optional thread-safe functions. The standard I/O functions are thread-safe. These *_unlocked ones are more efficient but not thread-safe. That they're not thread-safe is fine since all of the applications in this package are single threaded. Also, some code that is shared with the GNU C library may invoke the *_unlocked functions directly. On hosts that lack those functions, invoke the non-thread-safe versions instead. */ /* This file uses HAVE_DECL_*_UNLOCKED. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include # if HAVE_DECL_CLEARERR_UNLOCKED || defined clearerr_unlocked # undef clearerr # define clearerr(x) clearerr_unlocked (x) # else # define clearerr_unlocked(x) clearerr (x) # endif # if HAVE_DECL_FEOF_UNLOCKED || defined feof_unlocked # undef feof # define feof(x) feof_unlocked (x) # else # define feof_unlocked(x) feof (x) # endif # if HAVE_DECL_FERROR_UNLOCKED || defined ferror_unlocked # undef ferror # define ferror(x) ferror_unlocked (x) # else # define ferror_unlocked(x) ferror (x) # endif # if HAVE_DECL_FFLUSH_UNLOCKED || defined fflush_unlocked # undef fflush # define fflush(x) fflush_unlocked (x) # else # define fflush_unlocked(x) fflush (x) # endif # if HAVE_DECL_FGETS_UNLOCKED || defined fgets_unlocked # undef fgets # define fgets(x,y,z) fgets_unlocked (x,y,z) # else # define fgets_unlocked(x,y,z) fgets (x,y,z) # endif # if HAVE_DECL_FPUTC_UNLOCKED || defined fputc_unlocked # undef fputc # define fputc(x,y) fputc_unlocked (x,y) # else # define fputc_unlocked(x,y) fputc (x,y) # endif # if HAVE_DECL_FPUTS_UNLOCKED || defined fputs_unlocked # undef fputs # define fputs(x,y) fputs_unlocked (x,y) # else # define fputs_unlocked(x,y) fputs (x,y) # endif # if HAVE_DECL_FREAD_UNLOCKED || defined fread_unlocked # undef fread # define fread(w,x,y,z) fread_unlocked (w,x,y,z) # else # define fread_unlocked(w,x,y,z) fread (w,x,y,z) # endif # if HAVE_DECL_FWRITE_UNLOCKED || defined fwrite_unlocked # undef fwrite # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) # else # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) # endif # if HAVE_DECL_GETC_UNLOCKED || defined getc_unlocked # undef getc # define getc(x) getc_unlocked (x) # else # define getc_unlocked(x) getc (x) # endif # if HAVE_DECL_GETCHAR_UNLOCKED || defined getchar_unlocked # undef getchar # define getchar() getchar_unlocked () # else # define getchar_unlocked() getchar () # endif # if HAVE_DECL_PUTC_UNLOCKED || defined putc_unlocked # undef putc # define putc(x,y) putc_unlocked (x,y) # else # define putc_unlocked(x,y) putc (x,y) # endif # if HAVE_DECL_PUTCHAR_UNLOCKED || defined putchar_unlocked # undef putchar # define putchar(x) putchar_unlocked (x) # else # define putchar_unlocked(x) putchar (x) # endif # undef flockfile # define flockfile(x) ((void) 0) # undef ftrylockfile # define ftrylockfile(x) 0 # undef funlockfile # define funlockfile(x) ((void) 0) #endif /* UNLOCKED_IO_H */ datamash-1.9/lib/vasnprintf.c0000644000000000000000000107431114767402206011717 /* vsprintf with automatic memory allocation. Copyright (C) 1999, 2002-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* This file can be parametrized with the following macros: VASNPRINTF The name of the function being defined. FCHAR_T The element type of the format string. DCHAR_T The element type of the destination (result) string. FCHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. MUST be set if FCHAR_T and DCHAR_T are not the same type. DIRECTIVE Structure denoting a format directive. Depends on FCHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on FCHAR_T. PRINTF_PARSE Function that parses a format string. Depends on FCHAR_T. DCHAR_CPY memcpy like function for DCHAR_T[] arrays. DCHAR_SET memset like function for DCHAR_T[] arrays. DCHAR_MBSNLEN mbsnlen like function for DCHAR_T[] arrays. SNPRINTF The system's snprintf (or similar) function. This may be either snprintf or swprintf. TCHAR_T The element type of the argument and result string of the said SNPRINTF function. This may be either char or wchar_t. The code exploits that sizeof (TCHAR_T) | sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). DCHAR_IS_TCHAR Set to 1 if DCHAR_T and TCHAR_T are the same type. DCHAR_CONV_FROM_ENCODING A function to convert from char[] to DCHAR[]. DCHAR_IS_UINT8_T Set to 1 if DCHAR_T is uint8_t. DCHAR_IS_UINT16_T Set to 1 if DCHAR_T is uint16_t. DCHAR_IS_UINT32_T Set to 1 if DCHAR_T is uint32_t. ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. ENABLE_WCHAR_FALLBACK Set to 1 to avoid EILSEQ during conversion of wide characters (wchar_t) and wide character strings (wchar_t[]) to multibyte sequences. The fallback is the hexadecimal escape syntax (\unnnn or \Unnnnnnnn) or, if wchar_t is not Unicode encoded, \wnnnn or \Wnnnnnnnn. */ /* Tell glibc's to provide a prototype for snprintf(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifndef VASNPRINTF # include #endif /* As of GCC 11.2.1, gcc -Wanalyzer-too-complex reports that main's use of CHECK macros expands to code that is too complicated for gcc -fanalyzer. Suppress the resulting bogus warnings. */ #if _GL_GNUC_PREREQ (10, 0) # pragma GCC diagnostic ignored "-Wanalyzer-null-argument" #endif #include /* Specification. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "vasnwprintf.h" # else # include "vasnprintf.h" # endif #endif #include /* localeconv() */ #include /* PTRDIFF_MAX */ #include /* snprintf(), sprintf() */ #include /* abort(), malloc(), realloc(), free() */ #include /* memcpy(), strlen() */ #include /* mbstate_t, mbrtowc(), mbrlen(), wcrtomb(), mbszero() */ #include /* errno */ #include /* CHAR_BIT, INT_MAX, INT_WIDTH, LONG_WIDTH */ #include /* DBL_MAX_EXP, LDBL_MAX_EXP, LDBL_MANT_DIG */ #if HAVE_NL_LANGINFO # include #endif #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "wprintf-parse.h" # else # include "printf-parse.h" # endif #endif /* Checked size_t computations. */ #include "xsize.h" #include "attribute.h" #if NEED_PRINTF_DOUBLE || NEED_PRINTF_LONG_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) # include # include "float+.h" #endif #if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE # include # include "isnand-nolibm.h" #endif #if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) # include # include "isnanl-nolibm.h" # include "fpucw.h" #endif #if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE # include # include "isnand-nolibm.h" # include "printf-frexp.h" #endif #if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) # include # include "isnanl-nolibm.h" # include "printf-frexpl.h" # include "fpucw.h" #endif /* Default parameters. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # define VASNPRINTF vasnwprintf # define FCHAR_T wchar_t # define DCHAR_T wchar_t # define DIRECTIVE wchar_t_directive # define DIRECTIVES wchar_t_directives # define PRINTF_PARSE wprintf_parse # define DCHAR_CPY wmemcpy # define DCHAR_SET wmemset # else # define VASNPRINTF vasnprintf # define FCHAR_T char # define DCHAR_T char # define TCHAR_T char # define DCHAR_IS_TCHAR 1 # define DIRECTIVE char_directive # define DIRECTIVES char_directives # define PRINTF_PARSE printf_parse # define DCHAR_CPY memcpy # define DCHAR_SET memset # endif #endif #if WIDE_CHAR_VERSION /* DCHAR_T is wchar_t. */ # if HAVE_DECL__SNWPRINTF || (HAVE_SWPRINTF && HAVE_WORKING_SWPRINTF) # define TCHAR_T wchar_t # define DCHAR_IS_TCHAR 1 # define USE_SNPRINTF 1 # if HAVE_DECL__SNWPRINTF /* On Windows, the function swprintf() has a different signature than on Unix; we use the function _snwprintf() or - on mingw - snwprintf() instead. The mingw function snwprintf() has fewer bugs than the MSVCRT function _snwprintf(), so prefer that. */ # if defined __MINGW32__ # define SNPRINTF snwprintf # else # define SNPRINTF _snwprintf # define USE_MSVC__SNPRINTF 1 # endif # else /* Unix. */ # define SNPRINTF swprintf # endif # else /* Old platforms such as NetBSD 3.0, OpenBSD 3.8, HP-UX 11.00, IRIX 6.5. */ # define TCHAR_T char # endif #endif #if !WIDE_CHAR_VERSION || !DCHAR_IS_TCHAR /* TCHAR_T is char. */ /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'. But don't use it on BeOS, since BeOS snprintf produces no output if the size argument is >= 0x3000000. Also don't use it on Linux libc5, since there snprintf with size = 1 writes any output without bounds, like sprintf. */ # if (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) && !defined __BEOS__ && !(__GNU_LIBRARY__ == 1) # define USE_SNPRINTF 1 # else # define USE_SNPRINTF 0 # endif # if HAVE_DECL__SNPRINTF /* Windows. The mingw function snprintf() has fewer bugs than the MSVCRT function _snprintf(), so prefer that. */ # if defined __MINGW32__ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # else /* MSVC versions < 14 did not have snprintf, only _snprintf. */ # define SNPRINTF _snprintf # define USE_MSVC__SNPRINTF 1 # endif # else /* Unix. */ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # endif #endif /* Here we need to call the native sprintf, not rpl_sprintf. */ #undef sprintf /* macOS 12's "warning: 'sprintf' is deprecated" is pointless, as sprintf is used safely here. */ #if defined __APPLE__ && defined __MACH__ && _GL_GNUC_PREREQ (4, 2) # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif /* GCC >= 4.0 with -Wall emits unjustified "... may be used uninitialized" warnings in this file. Use -Dlint to suppress them. */ #if defined GCC_LINT || defined lint # define IF_LINT(Code) Code #else # define IF_LINT(Code) /* empty */ #endif /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() and remainder() functions. */ #undef exp #define exp expo #undef remainder #define remainder rem #if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (PTRDIFF_MAX > INT_MAX)) && !WIDE_CHAR_VERSION # if (HAVE_STRNLEN && !defined _AIX) # define local_strnlen strnlen # else # ifndef local_strnlen_defined # define local_strnlen_defined 1 static size_t local_strnlen (const char *string, size_t maxlen) { const char *end = memchr (string, '\0', maxlen); return end ? (size_t) (end - string) : maxlen; } # endif # endif #endif #if ((!USE_SNPRINTF || WIDE_CHAR_VERSION || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (PTRDIFF_MAX > INT_MAX) || !DCHAR_IS_TCHAR || NEED_WPRINTF_DIRECTIVE_LC) && WIDE_CHAR_VERSION) || ((!USE_SNPRINTF || (PTRDIFF_MAX > INT_MAX) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_DIRECTIVE_LS) && !WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) # if HAVE_WCSLEN # define local_wcslen wcslen # else /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid a dependency towards this library, here is a local substitute. Define this substitute only once, even if this file is included twice in the same compilation unit. */ # ifndef local_wcslen_defined # define local_wcslen_defined 1 static size_t local_wcslen (const wchar_t *s) { const wchar_t *ptr; for (ptr = s; *ptr != (wchar_t) 0; ptr++) ; return ptr - s; } # endif # endif #endif #if (!USE_SNPRINTF || (WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF) && WIDE_CHAR_VERSION # if HAVE_WCSNLEN && HAVE_DECL_WCSNLEN # define local_wcsnlen wcsnlen # else # ifndef local_wcsnlen_defined # define local_wcsnlen_defined 1 static size_t local_wcsnlen (const wchar_t *s, size_t maxlen) { const wchar_t *ptr; for (ptr = s; maxlen > 0 && *ptr != (wchar_t) 0; ptr++, maxlen--) ; return ptr - s; } # endif # endif #endif #if ((!USE_SNPRINTF || (PTRDIFF_MAX > INT_MAX) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_DIRECTIVE_LS || ENABLE_WCHAR_FALLBACK) || ((NEED_PRINTF_DIRECTIVE_LC || ENABLE_WCHAR_FALLBACK) && HAVE_WINT_T)) && !WIDE_CHAR_VERSION # if ENABLE_WCHAR_FALLBACK static size_t wctomb_fallback (char *s, wchar_t wc) { static char const hex[16] = "0123456789ABCDEF"; s[0] = '\\'; if (sizeof (wchar_t) > 2 && wc > 0xffff) { # if __STDC_ISO_10646__ || (__GLIBC__ >= 2) || (defined _WIN32 || defined __CYGWIN__) s[1] = 'U'; # else s[1] = 'W'; # endif s[2] = hex[(wc & 0xf0000000U) >> 28]; s[3] = hex[(wc & 0xf000000U) >> 24]; s[4] = hex[(wc & 0xf00000U) >> 20]; s[5] = hex[(wc & 0xf0000U) >> 16]; s[6] = hex[(wc & 0xf000U) >> 12]; s[7] = hex[(wc & 0xf00U) >> 8]; s[8] = hex[(wc & 0xf0U) >> 4]; s[9] = hex[wc & 0xfU]; return 10; } else { # if __STDC_ISO_10646__ || (__GLIBC__ >= 2) || (defined _WIN32 || defined __CYGWIN__) s[1] = 'u'; # else s[1] = 'w'; # endif s[2] = hex[(wc & 0xf000U) >> 12]; s[3] = hex[(wc & 0xf00U) >> 8]; s[4] = hex[(wc & 0xf0U) >> 4]; s[5] = hex[wc & 0xfU]; return 6; } } # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t static size_t local_wcrtomb (char *s, wchar_t wc, mbstate_t *ps) { size_t count = wcrtomb (s, wc, ps); if (count == (size_t)(-1)) count = wctomb_fallback (s, wc); return count; } # else static int local_wctomb (char *s, wchar_t wc) { int count = wctomb (s, wc); if (count < 0) count = wctomb_fallback (s, wc); return count; } # define local_wcrtomb(S, WC, PS) local_wctomb ((S), (WC)) # endif # else # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t # define local_wcrtomb(S, WC, PS) wcrtomb ((S), (WC), (PS)) # else # define local_wcrtomb(S, WC, PS) wctomb ((S), (WC)) # endif # endif #endif #if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) /* Determine the decimal-point character according to the current locale. */ # ifndef decimal_point_char_defined # define decimal_point_char_defined 1 static char decimal_point_char (void) { const char *point; /* Determine it in a multithread-safe way. We know nl_langinfo is multithread-safe on glibc systems and Mac OS X systems, but is not required to be multithread-safe by POSIX. sprintf(), however, is multithread-safe. localeconv() is rarely multithread-safe. */ # if HAVE_NL_LANGINFO && (__GLIBC__ || defined __UCLIBC__ || (defined __APPLE__ && defined __MACH__)) point = nl_langinfo (RADIXCHAR); # elif 1 char pointbuf[5]; sprintf (pointbuf, "%#.0f", 1.0); point = &pointbuf[1]; # else point = localeconv () -> decimal_point; # endif /* The decimal point is always a single byte: either '.' or ','. */ return (point[0] != '\0' ? point[0] : '.'); } # endif #endif #if NEED_PRINTF_INFINITE_DOUBLE && !NEED_PRINTF_DOUBLE /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zero (double x) { return isnand (x) || x + x == x; } #endif #if NEED_PRINTF_INFINITE_LONG_DOUBLE && !NEED_PRINTF_LONG_DOUBLE /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zerol (long double x) { return isnanl (x) || x + x == x; } #endif #if NEED_PRINTF_LONG_DOUBLE /* Like frexpl, except that it supports even "unsupported" numbers. */ # if (LDBL_MANT_DIG == 64 && (defined __ia64 || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))) && (defined __APPLE__ && defined __MACH__) /* Don't assume that frexpl can handle pseudo-denormals; it does not on macOS 12/x86_64. Therefore test for a pseudo-denormal explicitly. */ static long double safe_frexpl (long double x, int *exp) { union { long double value; struct { unsigned int mant_word[2]; unsigned short sign_exp_word; } r; } u; u.value = x; if (u.r.sign_exp_word == 0 && (u.r.mant_word[1] & 0x80000000u) != 0) { /* Pseudo-Denormal. */ *exp = LDBL_MIN_EXP; u.r.sign_exp_word = 1 - LDBL_MIN_EXP; return u.value; } else return frexpl (x, exp); } # else # define safe_frexpl frexpl # endif #endif #if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE /* An indicator for a failed memory allocation. */ # define NOMEM_PTR ((void *) (-1)) /* Converting 'long double' to decimal without rare rounding bugs requires real bignums. We use the naming conventions of GNU gmp, but vastly simpler (and slower) algorithms. */ typedef unsigned int mp_limb_t; # define GMP_LIMB_BITS 32 static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS); typedef unsigned long long mp_twolimb_t; # define GMP_TWOLIMB_BITS 64 static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS); /* Representation of a bignum >= 0. */ typedef struct { size_t nlimbs; mp_limb_t *limbs; /* Bits in little-endian order, allocated with malloc(). */ } mpn_t; /* Compute the product of two bignums >= 0. Return the allocated memory (possibly NULL) in case of success, NOMEM_PTR in case of memory allocation failure. */ static void * multiply (mpn_t src1, mpn_t src2, mpn_t *dest) { const mp_limb_t *p1; const mp_limb_t *p2; size_t len1; size_t len2; if (src1.nlimbs <= src2.nlimbs) { len1 = src1.nlimbs; p1 = src1.limbs; len2 = src2.nlimbs; p2 = src2.limbs; } else { len1 = src2.nlimbs; p1 = src2.limbs; len2 = src1.nlimbs; p2 = src1.limbs; } /* Now 0 <= len1 <= len2. */ if (len1 == 0) { /* src1 or src2 is zero. */ dest->nlimbs = 0; dest->limbs = NULL; } else { /* Here 1 <= len1 <= len2. */ size_t dlen; mp_limb_t *dp; size_t k, i, j; dlen = len1 + len2; dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); if (dp == NULL) return NOMEM_PTR; for (k = len2; k > 0; ) dp[--k] = 0; for (i = 0; i < len1; i++) { mp_limb_t digit1 = p1[i]; mp_twolimb_t carry = 0; for (j = 0; j < len2; j++) { mp_limb_t digit2 = p2[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; carry += dp[i + j]; dp[i + j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } dp[i + len2] = (mp_limb_t) carry; } /* Normalise. */ while (dlen > 0 && dp[dlen - 1] == 0) dlen--; dest->nlimbs = dlen; dest->limbs = dp; } return dest->limbs; } /* Compute the quotient of a bignum a >= 0 and a bignum b > 0. a is written as a = q * b + r with 0 <= r < b. q is the quotient, r the remainder. Finally, round-to-even is performed: If r > b/2 or if r = b/2 and q is odd, q is incremented. Return the allocated memory (possibly NULL) in case of success, NOMEM_PTR in case of memory allocation failure. */ static void * divide (mpn_t a, mpn_t b, mpn_t *q) { /* Algorithm: First normalise a and b: a=[a[m-1],...,a[0]], b=[b[n-1],...,b[0]] with m>=0 and n>0 (in base beta = 2^GMP_LIMB_BITS). If m=n=1, perform a single-precision division: r:=0, j:=m, while j>0 do {Here (q[m-1]*beta^(m-1)+...+q[j]*beta^j) * b[0] + r*beta^j = = a[m-1]*beta^(m-1)+...+a[j]*beta^j und 0<=r=n>1, perform a multiple-precision division: We have a/b < beta^(m-n+1). s:=intDsize-1-(highest bit in b[n-1]), 0<=s=beta/2. For j=m-n,...,0: {Here 0 <= r < b*beta^(j+1).} Compute q* : q* := floor((r[j+n]*beta+r[j+n-1])/b[n-1]). In case of overflow (q* >= beta) set q* := beta-1. Compute c2 := ((r[j+n]*beta+r[j+n-1]) - q* * b[n-1])*beta + r[j+n-2] and c3 := b[n-2] * q*. {We have 0 <= c2 < 2*beta^2, even 0 <= c2 < beta^2 if no overflow occurred. Furthermore 0 <= c3 < beta^2. If there was overflow and r[j+n]*beta+r[j+n-1] - q* * b[n-1] >= beta, i.e. c2 >= beta^2, the next test can be skipped.} While c3 > c2, {Here 0 <= c2 < c3 < beta^2} Put q* := q* - 1, c2 := c2 + b[n-1]*beta, c3 := c3 - b[n-2]. If q* > 0: Put r := r - b * q* * beta^j. In detail: [r[n+j],...,r[j]] := [r[n+j],...,r[j]] - q* * [b[n-1],...,b[0]]. hence: u:=0, for i:=0 to n-1 do u := u + q* * b[i], r[j+i]:=r[j+i]-(u mod beta) (+ beta, if carry), u:=u div beta (+ 1, if carry in subtraction) r[n+j]:=r[n+j]-u. {Since always u = (q* * [b[i-1],...,b[0]] div beta^i) + 1 < q* + 1 <= beta, the carry u does not overflow.} If a negative carry occurs, put q* := q* - 1 and [r[n+j],...,r[j]] := [r[n+j],...,r[j]] + [0,b[n-1],...,b[0]]. Set q[j] := q*. Normalise [q[m-n],..,q[0]]; this yields the quotient q. Shift [r[n-1],...,r[0]] right by s bits and normalise; this yields the rest r. The room for q[j] can be allocated at the memory location of r[n+j]. Finally, round-to-even: Shift r left by 1 bit. If r > b or if r = b and q[0] is odd, q := q+1. */ const mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; const mp_limb_t *b_ptr = b.limbs; size_t b_len = b.nlimbs; mp_limb_t *roomptr; mp_limb_t *tmp_roomptr = NULL; mp_limb_t *q_ptr; size_t q_len; mp_limb_t *r_ptr; size_t r_len; /* Allocate room for a_len+2 digits. (Need a_len+1 digits for the real division and 1 more digit for the final rounding of q.) */ roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t)); if (roomptr == NULL) return NOMEM_PTR; /* Normalise a. */ while (a_len > 0 && a_ptr[a_len - 1] == 0) a_len--; /* Normalise b. */ for (;;) { if (b_len == 0) /* Division by zero. */ abort (); if (b_ptr[b_len - 1] == 0) b_len--; else break; } /* Here m = a_len >= 0 and n = b_len > 0. */ if (a_len < b_len) { /* m beta^(m-2) <= a/b < beta^m */ r_ptr = roomptr; q_ptr = roomptr + 1; { mp_limb_t den = b_ptr[0]; mp_limb_t remainder = 0; const mp_limb_t *sourceptr = a_ptr + a_len; mp_limb_t *destptr = q_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--sourceptr; *--destptr = num / den; remainder = num % den; } /* Normalise and store r. */ if (remainder > 0) { r_ptr[0] = remainder; r_len = 1; } else r_len = 0; /* Normalise q. */ q_len = a_len; if (q_ptr[q_len - 1] == 0) q_len--; } } else { /* n>1: multiple precision division. beta^(m-1) <= a < beta^m, beta^(n-1) <= b < beta^n ==> beta^(m-n-1) <= a/b < beta^(m-n+1). */ /* Determine s. */ size_t s; { mp_limb_t msd = b_ptr[b_len - 1]; /* = b[n-1], > 0 */ /* Determine s = GMP_LIMB_BITS - integer_length (msd). Code copied from gnulib's integer_length.c. */ # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) \ || (__clang_major__ >= 4) s = __builtin_clz (msd); # else # if defined DBL_EXPBIT0_WORD && defined DBL_EXPBIT0_BIT if (GMP_LIMB_BITS <= DBL_MANT_BIT) { /* Use 'double' operations. Assumes an IEEE 754 'double' implementation. */ # define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) # define DBL_EXP_BIAS (DBL_EXP_MASK / 2 - 1) # define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) union { double value; unsigned int word[NWORDS]; } m; /* Use a single integer to floating-point conversion. */ m.value = msd; s = GMP_LIMB_BITS - (((m.word[DBL_EXPBIT0_WORD] >> DBL_EXPBIT0_BIT) & DBL_EXP_MASK) - DBL_EXP_BIAS); } else # undef NWORDS # endif { s = 31; if (msd >= 0x10000) { msd = msd >> 16; s -= 16; } if (msd >= 0x100) { msd = msd >> 8; s -= 8; } if (msd >= 0x10) { msd = msd >> 4; s -= 4; } if (msd >= 0x4) { msd = msd >> 2; s -= 2; } if (msd >= 0x2) { msd = msd >> 1; s -= 1; } } # endif } /* 0 <= s < GMP_LIMB_BITS. Copy b, shifting it left by s bits. */ if (s > 0) { tmp_roomptr = (mp_limb_t *) malloc (b_len * sizeof (mp_limb_t)); if (tmp_roomptr == NULL) { free (roomptr); return NOMEM_PTR; } { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = tmp_roomptr; mp_twolimb_t accu = 0; size_t count; for (count = b_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } /* accu must be zero, since that was how s was determined. */ if (accu != 0) abort (); } b_ptr = tmp_roomptr; } /* Copy a, shifting it left by s bits, yields r. Memory layout: At the beginning: r = roomptr[0..a_len], at the end: r = roomptr[0..b_len-1], q = roomptr[b_len..a_len] */ r_ptr = roomptr; if (s == 0) { memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); r_ptr[a_len] = 0; } else { const mp_limb_t *sourceptr = a_ptr; mp_limb_t *destptr = r_ptr; mp_twolimb_t accu = 0; size_t count; for (count = a_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } *destptr++ = (mp_limb_t) accu; } q_ptr = roomptr + b_len; q_len = a_len - b_len + 1; /* q will have m-n+1 limbs */ { size_t j = a_len - b_len; /* m-n */ mp_limb_t b_msd = b_ptr[b_len - 1]; /* b[n-1] */ mp_limb_t b_2msd = b_ptr[b_len - 2]; /* b[n-2] */ mp_twolimb_t b_msdd = /* b[n-1]*beta+b[n-2] */ ((mp_twolimb_t) b_msd << GMP_LIMB_BITS) | b_2msd; /* Division loop, traversed m-n+1 times. j counts down, b is unchanged, beta/2 <= b[n-1] < beta. */ for (;;) { mp_limb_t q_star; mp_limb_t c1; if (r_ptr[j + b_len] < b_msd) /* r[j+n] < b[n-1] ? */ { /* Divide r[j+n]*beta+r[j+n-1] by b[n-1], no overflow. */ mp_twolimb_t num = ((mp_twolimb_t) r_ptr[j + b_len] << GMP_LIMB_BITS) | r_ptr[j + b_len - 1]; q_star = num / b_msd; c1 = num % b_msd; } else { /* Overflow, hence r[j+n]*beta+r[j+n-1] >= beta*b[n-1]. */ q_star = (mp_limb_t)~(mp_limb_t)0; /* q* = beta-1 */ /* Test whether r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] >= beta <==> r[j+n]*beta+r[j+n-1] + b[n-1] >= beta*b[n-1]+beta <==> b[n-1] < floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) {<= beta !}. If yes, jump directly to the subtraction loop. (Otherwise, r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] < beta <==> floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) = b[n-1] ) */ if (r_ptr[j + b_len] > b_msd || (c1 = r_ptr[j + b_len - 1] + b_msd) < b_msd) /* r[j+n] >= b[n-1]+1 or r[j+n] = b[n-1] and the addition r[j+n-1]+b[n-1] gives a carry. */ goto subtract; } /* q_star = q*, c1 = (r[j+n]*beta+r[j+n-1]) - q* * b[n-1] (>=0, 0, decrease it by b[n-1]*beta+b[n-2]. Because of b[n-1]*beta+b[n-2] >= beta^2/2 this can happen only twice. */ if (c3 > c2) { q_star = q_star - 1; /* q* := q* - 1 */ if (c3 - c2 > b_msdd) q_star = q_star - 1; /* q* := q* - 1 */ } } if (q_star > 0) subtract: { /* Subtract r := r - b * q* * beta^j. */ mp_limb_t cr; { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_twolimb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { /* Here 0 <= carry <= q*. */ carry = carry + (mp_twolimb_t) q_star * (mp_twolimb_t) *sourceptr++ + (mp_limb_t) ~(*destptr); /* Here 0 <= carry <= beta*q* + beta-1. */ *destptr++ = ~(mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; /* <= q* */ } cr = (mp_limb_t) carry; } /* Subtract cr from r_ptr[j + b_len], then forget about r_ptr[j + b_len]. */ if (cr > r_ptr[j + b_len]) { /* Subtraction gave a carry. */ q_star = q_star - 1; /* q* := q* - 1 */ /* Add b back. */ { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_limb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { mp_limb_t source1 = *sourceptr++; mp_limb_t source2 = *destptr; *destptr++ = source1 + source2 + carry; carry = (carry ? source1 >= (mp_limb_t) ~source2 : source1 > (mp_limb_t) ~source2); } } /* Forget about the carry and about r[j+n]. */ } } /* q* is determined. Store it as q[j]. */ q_ptr[j] = q_star; if (j == 0) break; j--; } } r_len = b_len; /* Normalise q. */ if (q_ptr[q_len - 1] == 0) q_len--; # if 0 /* Not needed here, since we need r only to compare it with b/2, and b is shifted left by s bits. */ /* Shift r right by s bits. */ if (s > 0) { mp_limb_t ptr = r_ptr + r_len; mp_twolimb_t accu = 0; size_t count; for (count = r_len; count > 0; count--) { accu = (mp_twolimb_t) (mp_limb_t) accu << GMP_LIMB_BITS; accu += (mp_twolimb_t) *--ptr << (GMP_LIMB_BITS - s); *ptr = (mp_limb_t) (accu >> GMP_LIMB_BITS); } } # endif /* Normalise r. */ while (r_len > 0 && r_ptr[r_len - 1] == 0) r_len--; } /* Compare r << 1 with b. */ if (r_len > b_len) goto increment_q; { size_t i; for (i = b_len;;) { mp_limb_t r_i = (i <= r_len && i > 0 ? r_ptr[i - 1] >> (GMP_LIMB_BITS - 1) : 0) | (i < r_len ? r_ptr[i] << 1 : 0); mp_limb_t b_i = (i < b_len ? b_ptr[i] : 0); if (r_i > b_i) goto increment_q; if (r_i < b_i) goto keep_q; if (i == 0) break; i--; } } if (q_len > 0 && ((q_ptr[0] & 1) != 0)) /* q is odd. */ increment_q: { size_t i; for (i = 0; i < q_len; i++) if (++(q_ptr[i]) != 0) goto keep_q; q_ptr[q_len++] = 1; } keep_q: free (tmp_roomptr); q->limbs = q_ptr; q->nlimbs = q_len; return roomptr; } /* Avoid pointless GCC warning "argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807", triggered by the use of xsum as argument of malloc. */ # if _GL_GNUC_PREREQ (7, 0) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Walloc-size-larger-than=" # endif /* Convert a bignum a >= 0, multiplied with 10^extra_zeroes, to decimal representation. Destroys the contents of a. Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * convert_to_decimal (mpn_t a, size_t extra_zeroes) { mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; /* 0.03345 is slightly larger than log(2)/(9*log(10)). */ size_t c_len = 9 * ((size_t)(a_len * (GMP_LIMB_BITS * 0.03345f)) + 1); /* We need extra_zeroes bytes for zeroes, followed by c_len bytes for the digits of a, followed by 1 byte for the terminating NUL. */ char *c_ptr = (char *) malloc (xsum (xsum (extra_zeroes, c_len), 1)); if (c_ptr != NULL) { char *d_ptr = c_ptr; for (; extra_zeroes > 0; extra_zeroes--) *d_ptr++ = '0'; while (a_len > 0) { /* Divide a by 10^9, in-place. */ mp_limb_t remainder = 0; mp_limb_t *ptr = a_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--ptr; *ptr = num / 1000000000; remainder = num % 1000000000; } /* Store the remainder as 9 decimal digits. */ for (count = 9; count > 0; count--) { *d_ptr++ = '0' + (remainder % 10); remainder = remainder / 10; } /* Normalize a. */ if (a_ptr[a_len - 1] == 0) a_len--; } /* Remove leading zeroes. */ while (d_ptr > c_ptr && d_ptr[-1] == '0') d_ptr--; /* But keep at least one zero. */ if (d_ptr == c_ptr) *d_ptr++ = '0'; /* Terminate the string. */ *d_ptr = '\0'; } return c_ptr; } # if _GL_GNUC_PREREQ (7, 0) # pragma GCC diagnostic pop # endif # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_long_double (long double x, int *ep, mpn_t *mp) { mpn_t m; int exp; long double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (LDBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = safe_frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); /* x = 2^exp * y = 2^(exp - LDBL_MANT_BIT) * (y * 2^LDBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * 2^LDBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'long double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'long double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (LDBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (LDBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = LDBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess precision. */ if (!(y == 0.0L)) abort (); # endif /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - LDBL_MANT_BIT; return m.limbs; } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_double (double x, int *ep, mpn_t *mp) { mpn_t m; int exp; double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (DBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); /* x = 2^exp * y = 2^(exp - DBL_MANT_BIT) * (y * 2^DBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * 2^DBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (DBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (DBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = DBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } if (!(y == 0.0)) abort (); /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - DBL_MANT_BIT; return m.limbs; } # endif /* Assuming x = 2^e * m is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_decoded (int e, mpn_t m, void *memory, int n) { int s; size_t extra_zeroes; unsigned int abs_n; unsigned int abs_s; mp_limb_t *pow5_ptr; size_t pow5_len; unsigned int s_limbs; unsigned int s_bits; mpn_t pow5; mpn_t z; void *z_memory; char *digits; /* x = 2^e * m, hence y = round (2^e * 10^n * m) = round (2^(e+n) * 5^n * m) = round (2^s * 5^n * m). */ s = e + n; extra_zeroes = 0; /* Factor out a common power of 10 if possible. */ if (s > 0 && n > 0) { extra_zeroes = (s < n ? s : n); s -= extra_zeroes; n -= extra_zeroes; } /* Here y = round (2^s * 5^n * m) * 10^extra_zeroes. Before converting to decimal, we need to compute z = round (2^s * 5^n * m). */ /* Compute 5^|n|, possibly shifted by |s| bits if n and s have the same sign. 2.322 is slightly larger than log(5)/log(2). */ abs_n = (n >= 0 ? n : -n); abs_s = (s >= 0 ? s : -s); pow5_ptr = (mp_limb_t *) malloc (((int)(abs_n * (2.322f / GMP_LIMB_BITS)) + 1 + abs_s / GMP_LIMB_BITS + 1) * sizeof (mp_limb_t)); if (pow5_ptr == NULL) { free (memory); return NULL; } /* Initialize with 1. */ pow5_ptr[0] = 1; pow5_len = 1; /* Multiply with 5^|n|. */ if (abs_n > 0) { static mp_limb_t const small_pow5[13 + 1] = { 1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125 }; unsigned int n13; for (n13 = 0; n13 <= abs_n; n13 += 13) { mp_limb_t digit1 = small_pow5[n13 + 13 <= abs_n ? 13 : abs_n - n13]; size_t j; mp_twolimb_t carry = 0; for (j = 0; j < pow5_len; j++) { mp_limb_t digit2 = pow5_ptr[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; pow5_ptr[j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } if (carry > 0) pow5_ptr[pow5_len++] = (mp_limb_t) carry; } } s_limbs = abs_s / GMP_LIMB_BITS; s_bits = abs_s % GMP_LIMB_BITS; if (n >= 0 ? s >= 0 : s <= 0) { /* Multiply with 2^|s|. */ if (s_bits > 0) { mp_limb_t *ptr = pow5_ptr; mp_twolimb_t accu = 0; size_t count; for (count = pow5_len; count > 0; count--) { accu += (mp_twolimb_t) *ptr << s_bits; *ptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) { *ptr = (mp_limb_t) accu; pow5_len++; } } if (s_limbs > 0) { size_t count; for (count = pow5_len; count > 0;) { count--; pow5_ptr[s_limbs + count] = pow5_ptr[count]; } for (count = s_limbs; count > 0;) { count--; pow5_ptr[count] = 0; } pow5_len += s_limbs; } pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* Multiply m with pow5. No division needed. */ z_memory = multiply (m, pow5, &z); } else { /* Divide m by pow5 and round. */ z_memory = divide (m, pow5, &z); } } else { pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* n >= 0, s < 0. Multiply m with pow5, then divide by 2^|s|. */ mpn_t numerator; mpn_t denominator; void *tmp_memory; tmp_memory = multiply (m, pow5, &numerator); if (tmp_memory == NOMEM_PTR) { free (pow5_ptr); free (memory); return NULL; } /* Construct 2^|s|. */ { mp_limb_t *ptr = pow5_ptr + pow5_len; size_t i; for (i = 0; i < s_limbs; i++) ptr[i] = 0; ptr[s_limbs] = (mp_limb_t) 1 << s_bits; denominator.limbs = ptr; denominator.nlimbs = s_limbs + 1; } z_memory = divide (numerator, denominator, &z); free (tmp_memory); } else { /* n < 0, s > 0. Multiply m with 2^s, then divide by pow5. */ mpn_t numerator; mp_limb_t *num_ptr; num_ptr = (mp_limb_t *) malloc ((m.nlimbs + s_limbs + 1) * sizeof (mp_limb_t)); if (num_ptr == NULL) { free (pow5_ptr); free (memory); return NULL; } { mp_limb_t *destptr = num_ptr; { size_t i; for (i = 0; i < s_limbs; i++) *destptr++ = 0; } if (s_bits > 0) { const mp_limb_t *sourceptr = m.limbs; mp_twolimb_t accu = 0; size_t count; for (count = m.nlimbs; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s_bits; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) *destptr++ = (mp_limb_t) accu; } else { const mp_limb_t *sourceptr = m.limbs; size_t count; for (count = m.nlimbs; count > 0; count--) *destptr++ = *sourceptr++; } numerator.limbs = num_ptr; numerator.nlimbs = destptr - num_ptr; } z_memory = divide (numerator, pow5, &z); free (num_ptr); } } free (pow5_ptr); free (memory); /* Here y = round (x * 10^n) = z * 10^extra_zeroes. */ if (z_memory == NOMEM_PTR) return NULL; digits = convert_to_decimal (z, extra_zeroes); free (z_memory); return digits; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_long_double (long double x, int n) { int e; mpn_t m; void *memory = decode_long_double (x, &e, &m); if (memory != NULL) return scale10_round_decimal_decoded (e, m, memory, n); else return NULL; } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_double (double x, int n) { int e; mpn_t m; void *memory = decode_double (x, &e, &m); if (memory != NULL) return scale10_round_decimal_decoded (e, m, memory, n); else return NULL; } # endif # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10l (long double x) { int exp; long double y; double z; double l; /* Split into exponential part and mantissa. */ y = safe_frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); if (y == 0.0L) return INT_MIN; if (y < 0.5L) { while (y < (1.0L / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0L * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0L / (1 << 16))) { y *= 1.0L * (1 << 16); exp -= 16; } if (y < (1.0L / (1 << 8))) { y *= 1.0L * (1 << 8); exp -= 8; } if (y < (1.0L / (1 << 4))) { y *= 1.0L * (1 << 4); exp -= 4; } if (y < (1.0L / (1 << 2))) { y *= 1.0L * (1 << 2); exp -= 2; } if (y < (1.0L / (1 << 1))) { y *= 1.0L * (1 << 1); exp -= 1; } } if (!(y >= 0.5L && y < 1.0L)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) Four terms are enough to get an approximation with error < 10^-7. */ l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10 (double x) { int exp; double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); if (y == 0.0) return INT_MIN; if (y < 0.5) { while (y < (1.0 / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0 * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0 / (1 << 16))) { y *= 1.0 * (1 << 16); exp -= 16; } if (y < (1.0 / (1 << 8))) { y *= 1.0 * (1 << 8); exp -= 8; } if (y < (1.0 / (1 << 4))) { y *= 1.0 * (1 << 4); exp -= 4; } if (y < (1.0 / (1 << 2))) { y *= 1.0 * (1 << 2); exp -= 2; } if (y < (1.0 / (1 << 1))) { y *= 1.0 * (1 << 1); exp -= 1; } } if (!(y >= 0.5 && y < 1.0)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) Four terms are enough to get an approximation with error < 10^-7. */ l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif /* Tests whether a string of digits consists of exactly PRECISION zeroes and a single '1' digit. */ static int is_borderline (const char *digits, size_t precision) { for (; precision > 0; precision--, digits++) if (*digits != '0') return 0; if (*digits != '1') return 0; digits++; return *digits == '\0'; } #endif #if !USE_SNPRINTF || (WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF /* Use a different function name, to make it possible that the 'wchar_t' parametrization and the 'char' parametrization get compiled in the same translation unit. */ # if WIDE_CHAR_VERSION # define MAX_ROOM_NEEDED wmax_room_needed # else # define MAX_ROOM_NEEDED max_room_needed # endif /* Returns the number of TCHAR_T units needed as temporary space for the result of sprintf or SNPRINTF of a single conversion directive. */ static size_t MAX_ROOM_NEEDED (const arguments *ap, size_t arg_index, FCHAR_T conversion, arg_type type, int flags, size_t width, int has_precision, size_t precision, int pad_ourselves) { size_t tmp_length; switch (conversion) { case 'd': case 'i': case 'u': switch (type) { default: tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_LONGINT: tmp_length = (unsigned int) (sizeof (long int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_ULONGINT: tmp_length = (unsigned int) (sizeof (unsigned long int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_LONGLONGINT: tmp_length = (unsigned int) (sizeof (long long int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_ULONGLONGINT: tmp_length = (unsigned int) (sizeof (unsigned long long int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT8_T: tmp_length = (unsigned int) (sizeof (int8_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT8_T: tmp_length = (unsigned int) (sizeof (uint8_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT16_T: tmp_length = (unsigned int) (sizeof (int16_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT16_T: tmp_length = (unsigned int) (sizeof (uint16_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT32_T: tmp_length = (unsigned int) (sizeof (int32_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT32_T: tmp_length = (unsigned int) (sizeof (uint32_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT64_T: tmp_length = (unsigned int) (sizeof (int64_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT64_T: tmp_length = (unsigned int) (sizeof (uint64_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT_FAST8_T: tmp_length = (unsigned int) (sizeof (int_fast8_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST8_T: tmp_length = (unsigned int) (sizeof (uint_fast8_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT_FAST16_T: tmp_length = (unsigned int) (sizeof (int_fast16_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST16_T: tmp_length = (unsigned int) (sizeof (uint_fast16_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT_FAST32_T: tmp_length = (unsigned int) (sizeof (int_fast32_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST32_T: tmp_length = (unsigned int) (sizeof (uint_fast32_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_INT_FAST64_T: tmp_length = (unsigned int) (sizeof (int_fast64_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST64_T: tmp_length = (unsigned int) (sizeof (uint_fast64_t) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ break; } if (tmp_length < precision) tmp_length = precision; /* Multiply by 2, as an estimate for FLAG_GROUP. */ tmp_length = xsum (tmp_length, tmp_length); /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'b': #if SUPPORT_GNU_PRINTF_DIRECTIVES \ || (__GLIBC__ + (__GLIBC_MINOR__ >= 35) > 2) case 'B': #endif switch (type) { default: tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_ULONGINT: tmp_length = (unsigned int) (sizeof (unsigned long int) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_ULONGLONGINT: tmp_length = (unsigned int) (sizeof (unsigned long long int) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT8_T: tmp_length = (unsigned int) (sizeof (uint8_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT16_T: tmp_length = (unsigned int) (sizeof (uint16_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT32_T: tmp_length = (unsigned int) (sizeof (uint32_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT64_T: tmp_length = (unsigned int) (sizeof (uint64_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST8_T: tmp_length = (unsigned int) (sizeof (uint_fast8_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST16_T: tmp_length = (unsigned int) (sizeof (uint_fast16_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST32_T: tmp_length = (unsigned int) (sizeof (uint_fast32_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST64_T: tmp_length = (unsigned int) (sizeof (uint_fast64_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; } if (tmp_length < precision) tmp_length = precision; /* Add 2, to account for a prefix from the alternate form. */ tmp_length = xsum (tmp_length, 2); break; case 'o': switch (type) { default: tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_ULONGINT: tmp_length = (unsigned int) (sizeof (unsigned long int) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_ULONGLONGINT: tmp_length = (unsigned int) (sizeof (unsigned long long int) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT8_T: tmp_length = (unsigned int) (sizeof (uint8_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT16_T: tmp_length = (unsigned int) (sizeof (uint16_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT32_T: tmp_length = (unsigned int) (sizeof (uint32_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT64_T: tmp_length = (unsigned int) (sizeof (uint64_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST8_T: tmp_length = (unsigned int) (sizeof (uint_fast8_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST16_T: tmp_length = (unsigned int) (sizeof (uint_fast16_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST32_T: tmp_length = (unsigned int) (sizeof (uint_fast32_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST64_T: tmp_length = (unsigned int) (sizeof (uint_fast64_t) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ break; } if (tmp_length < precision) tmp_length = precision; /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'x': case 'X': switch (type) { default: tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_ULONGINT: tmp_length = (unsigned int) (sizeof (unsigned long int) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_ULONGLONGINT: tmp_length = (unsigned int) (sizeof (unsigned long long int) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT8_T: tmp_length = (unsigned int) (sizeof (uint8_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT16_T: tmp_length = (unsigned int) (sizeof (uint16_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT32_T: tmp_length = (unsigned int) (sizeof (uint32_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT64_T: tmp_length = (unsigned int) (sizeof (uint64_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST8_T: tmp_length = (unsigned int) (sizeof (uint_fast8_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST16_T: tmp_length = (unsigned int) (sizeof (uint_fast16_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST32_T: tmp_length = (unsigned int) (sizeof (uint_fast32_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST64_T: tmp_length = (unsigned int) (sizeof (uint_fast64_t) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ break; } if (tmp_length < precision) tmp_length = precision; /* Add 2, to account for a prefix from the alternate form. */ tmp_length = xsum (tmp_length, 2); break; case 'f': case 'F': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ else tmp_length = (unsigned int) (DBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ tmp_length = xsum (tmp_length, precision); break; case 'e': case 'E': case 'g': case 'G': tmp_length = 12; /* sign, decimal point, exponent etc. */ tmp_length = xsum (tmp_length, precision); break; case 'a': case 'A': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (DBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); break; case 'c': # if HAVE_WINT_T && !WIDE_CHAR_VERSION if (type == TYPE_WIDE_CHAR) { tmp_length = MB_CUR_MAX; # if ENABLE_WCHAR_FALLBACK if (tmp_length < (sizeof (wchar_t) > 2 ? 10 : 6)) tmp_length = (sizeof (wchar_t) > 2 ? 10 : 6); # endif } else # endif tmp_length = 1; break; case 's': if (type == TYPE_WIDE_STRING) { # if WIDE_CHAR_VERSION /* ISO C says about %ls in fwprintf: "If the precision is not specified or is greater than the size of the array, the array shall contain a null wide character." So if there is a precision, we must not use wcslen. */ const wchar_t *arg = ap->arg[arg_index].a.a_wide_string; if (has_precision) tmp_length = local_wcsnlen (arg, precision); else tmp_length = local_wcslen (arg); # else /* ISO C says about %ls in fprintf: "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the multibyte character sequence length given by the precision, the function would need to access a wide character one past the end of the array." So if there is a precision, we must not use wcslen. */ /* This case has already been handled separately in VASNPRINTF. */ abort (); # endif } else { # if WIDE_CHAR_VERSION /* ISO C says about %s in fwprintf: "If the precision is not specified or is greater than the size of the converted array, the converted array shall contain a null wide character." So if there is a precision, we must not use strlen. */ /* This case has already been handled separately in VASNPRINTF. */ abort (); # else /* ISO C says about %s in fprintf: "If the precision is not specified or greater than the size of the array, the array shall contain a null character." So if there is a precision, we must not use strlen. */ const char *arg = ap->arg[arg_index].a.a_string; if (has_precision) tmp_length = local_strnlen (arg, precision); else tmp_length = strlen (arg); # endif } break; case 'p': tmp_length = (unsigned int) (sizeof (void *) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1 /* turn floor into ceil */ + 2; /* account for leading 0x */ break; default: abort (); } if (!pad_ourselves) { # if ENABLE_UNISTDIO /* Padding considers the number of characters, therefore the number of elements after padding may be > max (tmp_length, width) but is certainly <= tmp_length + width. */ tmp_length = xsum (tmp_length, width); # else /* Padding considers the number of elements, says POSIX. */ if (tmp_length < width) tmp_length = width; # endif } tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ return tmp_length; } #endif DCHAR_T * VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, const FCHAR_T *format, va_list args) { DIRECTIVES d; arguments a; if (PRINTF_PARSE (format, &d, &a) < 0) /* errno is already set. */ return NULL; /* Frees the memory allocated by this function. Preserves errno. */ #define CLEANUP() \ if (d.dir != d.direct_alloc_dir) \ free (d.dir); \ if (a.arg != a.direct_alloc_arg) \ free (a.arg); if (PRINTF_FETCHARGS (args, &a) < 0) goto fail_1_with_EINVAL; { size_t buf_neededlength; TCHAR_T *buf; TCHAR_T *buf_malloced; const FCHAR_T *cp; size_t i; DIRECTIVE *dp; /* Output string accumulator. */ DCHAR_T *result; size_t allocated; size_t length; /* Allocate a small buffer that will hold a directive passed to sprintf or snprintf. */ buf_neededlength = xsum4 (7, d.max_width_length, d.max_precision_length, 6); #if HAVE_ALLOCA if (buf_neededlength < 4000 / sizeof (TCHAR_T)) { buf = (TCHAR_T *) alloca (buf_neededlength * sizeof (TCHAR_T)); buf_malloced = NULL; } else #endif { size_t buf_memsize = xtimes (buf_neededlength, sizeof (TCHAR_T)); if (size_overflow_p (buf_memsize)) goto out_of_memory_1; buf = (TCHAR_T *) malloc (buf_memsize); if (buf == NULL) goto out_of_memory_1; buf_malloced = buf; } result = resultbuf; allocated = (resultbuf != NULL ? *lengthp : 0); length = 0; /* Invariants: result is either == resultbuf or malloc-allocated. If result == NULL, resultbuf is == NULL as well. If length > 0, then result != NULL. */ /* Ensures that allocated >= needed. Aborts through a jump to out_of_memory if needed is SIZE_MAX or otherwise too big. */ #define ENSURE_ALLOCATION_ELSE(needed, oom_statement) \ if ((needed) > allocated) \ { \ size_t memory_size; \ DCHAR_T *memory; \ \ allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ if ((needed) > allocated) \ allocated = (needed); \ memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ if (size_overflow_p (memory_size)) \ oom_statement \ if (result == resultbuf) \ memory = (DCHAR_T *) malloc (memory_size); \ else \ memory = (DCHAR_T *) realloc (result, memory_size); \ if (memory == NULL) \ oom_statement \ if (result == resultbuf && length > 0) \ DCHAR_CPY (memory, result, length); \ result = memory; \ } #define ENSURE_ALLOCATION(needed) \ ENSURE_ALLOCATION_ELSE((needed), goto out_of_memory; ) for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) { if (cp != dp->dir_start) { size_t n = dp->dir_start - cp; size_t augmented_length = xsum (length, n); ENSURE_ALLOCATION (augmented_length); /* This copies a piece of FCHAR_T[] into a DCHAR_T[]. Here we need that the format string contains only ASCII characters if FCHAR_T and DCHAR_T are not the same type. */ if (sizeof (FCHAR_T) == sizeof (DCHAR_T)) { DCHAR_CPY (result + length, (const DCHAR_T *) cp, n); length = augmented_length; } else { do result[length++] = *cp++; while (--n > 0); } } if (i == d.count) break; /* Execute a single directive. */ if (dp->conversion == '%') { size_t augmented_length; if (!(dp->arg_index == ARG_NONE)) abort (); augmented_length = xsum (length, 1); ENSURE_ALLOCATION (augmented_length); result[length] = '%'; length = augmented_length; } else { if (!(dp->arg_index != ARG_NONE)) abort (); if (dp->conversion == 'n') { #if NEED_PRINTF_WITH_N_DIRECTIVE switch (a.arg[dp->arg_index].type) { case TYPE_COUNT_SCHAR_POINTER: *a.arg[dp->arg_index].a.a_count_schar_pointer = length; break; case TYPE_COUNT_SHORT_POINTER: *a.arg[dp->arg_index].a.a_count_short_pointer = length; break; case TYPE_COUNT_INT_POINTER: *a.arg[dp->arg_index].a.a_count_int_pointer = length; break; case TYPE_COUNT_LONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longint_pointer = length; break; case TYPE_COUNT_LONGLONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; break; case TYPE_COUNT_INT8_T_POINTER: *a.arg[dp->arg_index].a.a_count_int8_t_pointer = length; break; case TYPE_COUNT_INT16_T_POINTER: *a.arg[dp->arg_index].a.a_count_int16_t_pointer = length; break; case TYPE_COUNT_INT32_T_POINTER: *a.arg[dp->arg_index].a.a_count_int32_t_pointer = length; break; case TYPE_COUNT_INT64_T_POINTER: *a.arg[dp->arg_index].a.a_count_int64_t_pointer = length; break; case TYPE_COUNT_INT_FAST8_T_POINTER: *a.arg[dp->arg_index].a.a_count_int_fast8_t_pointer = length; break; case TYPE_COUNT_INT_FAST16_T_POINTER: *a.arg[dp->arg_index].a.a_count_int_fast16_t_pointer = length; break; case TYPE_COUNT_INT_FAST32_T_POINTER: *a.arg[dp->arg_index].a.a_count_int_fast32_t_pointer = length; break; case TYPE_COUNT_INT_FAST64_T_POINTER: *a.arg[dp->arg_index].a.a_count_int_fast64_t_pointer = length; break; default: abort (); } #else abort (); #endif } #if ENABLE_UNISTDIO /* The unistdio extensions. */ else if (dp->conversion == 'U') { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; has_width = 1; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } switch (type) { case TYPE_U8_STRING: { const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string; const uint8_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) goto fail_with_EILSEQ; arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) goto fail_with_EILSEQ; arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u8_strlen (arg); /* The number of characters doesn't matter, because !has_width and therefore width==0. */ characters = 0; } if (characters < width && !(flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT8_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-8 to locale encoding. */ converted = u8_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-8 to UTF-16/UTF-32. */ converted = U8_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) goto fail_with_errno; if (converted != result + length) { ENSURE_ALLOCATION_ELSE (xsum (length, converted_len), { free (converted); goto out_of_memory; }); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U16_STRING: { const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string; const uint16_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) goto fail_with_EILSEQ; arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) goto fail_with_EILSEQ; arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u16_strlen (arg); /* The number of characters doesn't matter, because !has_width and therefore width==0. */ characters = 0; } if (characters < width && !(flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT16_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-16 to locale encoding. */ converted = u16_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-16 to UTF-8/UTF-32. */ converted = U16_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) goto fail_with_errno; if (converted != result + length) { ENSURE_ALLOCATION_ELSE (xsum (length, converted_len), { free (converted); goto out_of_memory; }); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U32_STRING: { const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string; const uint32_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) goto fail_with_EILSEQ; arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) goto fail_with_EILSEQ; arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u32_strlen (arg); /* The number of characters doesn't matter, because !has_width and therefore width==0. */ characters = 0; } if (characters < width && !(flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT32_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-32 to locale encoding. */ converted = u32_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, converted, &converted_len); # else /* Convert from UTF-32 to UTF-8/UTF-16. */ converted = U32_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); # endif if (converted == NULL) goto fail_with_errno; if (converted != result + length) { ENSURE_ALLOCATION_ELSE (xsum (length, converted_len), { free (converted); goto out_of_memory; }); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (characters < width && (flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; default: abort (); } } #endif #if !WIDE_CHAR_VERSION && (PTRDIFF_MAX > INT_MAX) else if (dp->conversion == 's' && a.arg[dp->arg_index].type != TYPE_WIDE_STRING) { /* %s in vasnprintf. See the specification of fprintf. We handle it ourselves here, because the string may be longer than INT_MAX characters, whence snprintf or sprintf would fail to process it. */ int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; has_width = 1; } has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } { const char *arg = a.arg[dp->arg_index].a.a_string; size_t bytes; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR size_t characters; # endif # if !DCHAR_IS_TCHAR /* This code assumes that TCHAR_T is 'char'. */ static_assert (sizeof (TCHAR_T) == 1); DCHAR_T *tmpdst; size_t tmpdst_len; # endif size_t w; if (has_precision) { /* Use only at most PRECISION bytes, from the left. */ bytes = local_strnlen (arg, precision); } else { /* Use the entire string, and count the number of bytes. */ bytes = strlen (arg); } # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR if (has_width) characters = mbsnlen (arg, bytes); else { /* The number of characters doesn't matter, because !has_width and therefore width==0. */ characters = 0; } # endif # if !DCHAR_IS_TCHAR /* Convert from TCHAR_T[] to DCHAR_T[]. */ tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, arg, bytes, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) goto fail_with_errno; # endif if (has_width) { # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ # if DCHAR_IS_TCHAR w = characters; # else w = DCHAR_MBSNLEN (tmpdst, tmpdst_len); # endif # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = bytes; # endif } else /* w doesn't matter. */ w = 0; { # if DCHAR_IS_TCHAR size_t total = bytes + (w < width ? width - w : 0); ENSURE_ALLOCATION (xsum (length, total)); # else size_t total = tmpdst_len + (w < width ? width - w : 0); ENSURE_ALLOCATION_ELSE (xsum (length, total), { free (tmpdst); goto out_of_memory; }); # endif if (w < width && !(flags & FLAG_LEFT)) { size_t n = width - w; DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_TCHAR memcpy (result + length, arg, bytes); length += bytes; # else DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); length += tmpdst_len; # endif if (w < width && (flags & FLAG_LEFT)) { size_t n = width - w; DCHAR_SET (result + length, ' ', n); length += n; } } } } #endif #if WIDE_CHAR_VERSION && ((PTRDIFF_MAX > INT_MAX) || !DCHAR_IS_TCHAR || NEED_WPRINTF_DIRECTIVE_LC) else if ((dp->conversion == 's' && a.arg[dp->arg_index].type == TYPE_WIDE_STRING) || (dp->conversion == 'c' && a.arg[dp->arg_index].type == TYPE_WIDE_CHAR)) { /* %ls or %lc in vasnwprintf. See the specification of fwprintf. */ /* It would be silly to use snprintf ("%ls", ...) and then convert back the result from a char[] to a wchar_t[]. Instead, just copy the argument wchar_t[] to the result. */ int flags = dp->flags; size_t width; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; } { const wchar_t *ls_arg; wchar_t lc_arg[1]; size_t characters; if (dp->conversion == 's') { int has_precision; size_t precision; has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } ls_arg = a.arg[dp->arg_index].a.a_wide_string; if (has_precision) { /* Use only at most PRECISION wide characters, from the left. */ const wchar_t *ls_arg_end; ls_arg_end = ls_arg; characters = 0; for (; precision > 0; precision--) { if (*ls_arg_end == 0) /* Found the terminating null wide character. */ break; ls_arg_end++; characters++; } } else { /* Use the entire string, and count the number of wide characters. */ characters = local_wcslen (ls_arg); } } else /* dp->conversion == 'c' */ { lc_arg[0] = (wchar_t) a.arg[dp->arg_index].a.a_wide_char; ls_arg = lc_arg; characters = 1; } { size_t total = (characters < width ? width : characters); ENSURE_ALLOCATION (xsum (length, total)); if (characters < width && !(flags & FLAG_LEFT)) { size_t n = width - characters; DCHAR_SET (result + length, ' ', n); length += n; } if (characters > 0) { DCHAR_CPY (result + length, ls_arg, characters); length += characters; } if (characters < width && (flags & FLAG_LEFT)) { size_t n = width - characters; DCHAR_SET (result + length, ' ', n); length += n; } } } } #endif #if WIDE_CHAR_VERSION || !USE_SNPRINTF || (PTRDIFF_MAX > INT_MAX) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_DIRECTIVE_LS || ENABLE_WCHAR_FALLBACK else if (dp->conversion == 's' # if WIDE_CHAR_VERSION && a.arg[dp->arg_index].type != TYPE_WIDE_STRING # else && a.arg[dp->arg_index].type == TYPE_WIDE_STRING # endif ) { /* The normal handling of the 's' directive below requires allocating a temporary buffer. The determination of its length (tmp_length), in the case when a precision is specified, below requires a conversion between a char[] string and a wchar_t[] wide string. It could be done, but we have no guarantee that the implementation of sprintf will use the exactly same algorithm. Without this guarantee, it is possible to have buffer overrun bugs. In order to avoid such bugs, we implement the entire processing of the 's' directive ourselves. */ int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; has_width = 1; } has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } # if WIDE_CHAR_VERSION /* %s in vasnwprintf. See the specification of fwprintf. */ { const char *arg = a.arg[dp->arg_index].a.a_string; const char *arg_end; size_t characters; if (has_precision) { /* Use only as many bytes as needed to produce PRECISION wide characters, from the left. */ # if HAVE_MBRTOWC mbstate_t state; mbszero (&state); # endif arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count; # if HAVE_MBRTOWC count = mbrlen (arg_end, MB_CUR_MAX, &state); # else count = mblen (arg_end, MB_CUR_MAX); # endif if (count == 0) /* Found the terminating NUL. */ break; if (count < 0) /* Invalid or incomplete multibyte character. */ goto fail_with_EILSEQ; arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of wide characters. */ # if HAVE_MBRTOWC mbstate_t state; mbszero (&state); # endif arg_end = arg; characters = 0; for (;;) { int count; # if HAVE_MBRTOWC count = mbrlen (arg_end, MB_CUR_MAX, &state); # else count = mblen (arg_end, MB_CUR_MAX); # endif if (count == 0) /* Found the terminating NUL. */ break; if (count < 0) /* Invalid or incomplete multibyte character. */ goto fail_with_EILSEQ; arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (characters < width && !(flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } if (has_precision || has_width) { /* We know the number of wide characters in advance. */ size_t remaining; # if HAVE_MBRTOWC mbstate_t state; mbszero (&state); # endif ENSURE_ALLOCATION (xsum (length, characters)); for (remaining = characters; remaining > 0; remaining--) { wchar_t wc; int count; # if HAVE_MBRTOWC count = mbrtowc (&wc, arg, arg_end - arg, &state); # else count = mbtowc (&wc, arg, arg_end - arg); # endif if (count <= 0) /* mbrtowc not consistent with mbrlen, or mbtowc not consistent with mblen. */ abort (); result[length++] = wc; arg += count; } if (!(arg == arg_end)) abort (); } else { # if HAVE_MBRTOWC mbstate_t state; mbszero (&state); # endif while (arg < arg_end) { wchar_t wc; int count; # if HAVE_MBRTOWC count = mbrtowc (&wc, arg, arg_end - arg, &state); # else count = mbtowc (&wc, arg, arg_end - arg); # endif if (count == 0) /* mbrtowc not consistent with strlen. */ abort (); if (count < 0) /* Invalid or incomplete multibyte character. */ goto fail_with_EILSEQ; ENSURE_ALLOCATION (xsum (length, 1)); result[length++] = wc; arg += count; } } if (characters < width && (flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } # else /* %ls in vasnprintf. See the specification of fprintf. */ { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; const wchar_t *arg_end; size_t bytes; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR size_t characters; # endif # if !DCHAR_IS_TCHAR /* This code assumes that TCHAR_T is 'char'. */ static_assert (sizeof (TCHAR_T) == 1); DCHAR_T *tmpdst; size_t tmpdst_len; # endif size_t w; if (has_precision) { /* Use only as many wide characters as needed to produce at most PRECISION bytes, from the left. */ # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif arg_end = arg; bytes = 0; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR characters = 0; # endif while (precision > 0) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg_end == 0) /* Found the terminating null wide character. */ break; count = local_wcrtomb (cbuf, *arg_end, &state); if (count < 0) /* Cannot convert. */ goto fail_with_EILSEQ; if (precision < (unsigned int) count) break; arg_end++; bytes += count; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR characters += mbsnlen (cbuf, count); # endif precision -= count; } } # if DCHAR_IS_TCHAR else if (has_width) # else else # endif { /* Use the entire string, and count the number of bytes. */ # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif arg_end = arg; bytes = 0; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR characters = 0; # endif for (;;) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg_end == 0) /* Found the terminating null wide character. */ break; count = local_wcrtomb (cbuf, *arg_end, &state); if (count < 0) /* Cannot convert. */ goto fail_with_EILSEQ; arg_end++; bytes += count; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR characters += mbsnlen (cbuf, count); # endif } } # if DCHAR_IS_TCHAR else { /* Use the entire string. */ arg_end = arg + local_wcslen (arg); /* The number of bytes and characters doesn't matter, because !has_width and therefore width==0. */ bytes = 0; # if ENABLE_UNISTDIO characters = 0; # endif } # endif # if !DCHAR_IS_TCHAR { TCHAR_T *tmpsrc; /* Convert the string into a piece of temporary memory. */ tmpsrc = (TCHAR_T *) malloc (bytes * sizeof (TCHAR_T)); if (tmpsrc == NULL) goto out_of_memory; { TCHAR_T *tmpptr = tmpsrc; size_t remaining; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif for (remaining = bytes; remaining > 0; ) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); count = local_wcrtomb (cbuf, *arg, &state); if (count <= 0) /* Inconsistency. */ abort (); memcpy (tmpptr, cbuf, count); tmpptr += count; arg++; remaining -= count; } if (!(arg == arg_end)) abort (); } /* Convert from TCHAR_T[] to DCHAR_T[]. */ tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, bytes, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) { free (tmpsrc); goto fail_with_errno; } free (tmpsrc); } # endif if (has_width) { # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ # if DCHAR_IS_TCHAR w = characters; # else w = DCHAR_MBSNLEN (tmpdst, tmpdst_len); # endif # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = bytes; # endif } else /* w doesn't matter. */ w = 0; if (w < width && !(flags & FLAG_LEFT)) { size_t n = width - w; # if DCHAR_IS_TCHAR ENSURE_ALLOCATION (xsum (length, n)); # else ENSURE_ALLOCATION_ELSE (xsum (length, n), { free (tmpdst); goto out_of_memory; }); # endif DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_TCHAR if (has_precision || has_width) { /* We know the number of bytes in advance. */ size_t remaining; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif ENSURE_ALLOCATION (xsum (length, bytes)); for (remaining = bytes; remaining > 0; ) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); count = local_wcrtomb (cbuf, *arg, &state); if (count <= 0) /* Inconsistency. */ abort (); memcpy (result + length, cbuf, count); length += count; arg++; remaining -= count; } if (!(arg == arg_end)) abort (); } else { # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif while (arg < arg_end) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; if (*arg == 0) abort (); count = local_wcrtomb (cbuf, *arg, &state); if (count <= 0) /* Cannot convert. */ goto fail_with_EILSEQ; ENSURE_ALLOCATION (xsum (length, count)); memcpy (result + length, cbuf, count); length += count; arg++; } } # else ENSURE_ALLOCATION_ELSE (xsum (length, tmpdst_len), { free (tmpdst); goto out_of_memory; }); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); length += tmpdst_len; # endif if (w < width && (flags & FLAG_LEFT)) { size_t n = width - w; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } # endif } #endif #if (NEED_PRINTF_DIRECTIVE_LC || ENABLE_WCHAR_FALLBACK) && HAVE_WINT_T && !WIDE_CHAR_VERSION else if (dp->conversion == 'c' && a.arg[dp->arg_index].type == TYPE_WIDE_CHAR) { /* Implement the 'lc' directive ourselves, in order to provide a correct behaviour for the null wint_t argument and/or the fallback that avoids EILSEQ. */ int flags = dp->flags; int has_width; size_t width; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; has_width = 1; } /* %lc in vasnprintf. See the specification of fprintf. */ { wchar_t arg = (wchar_t) a.arg[dp->arg_index].a.a_wide_char; size_t bytes; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR size_t characters; # endif # if !DCHAR_IS_TCHAR /* This code assumes that TCHAR_T is 'char'. */ static_assert (sizeof (TCHAR_T) == 1); DCHAR_T *tmpdst; size_t tmpdst_len; # endif size_t w; # if DCHAR_IS_TCHAR if (has_width) # endif { /* Count the number of bytes. */ char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif count = local_wcrtomb (cbuf, arg, &state); if (count < 0) /* Cannot convert. */ goto fail_with_EILSEQ; bytes = count; # if ENABLE_UNISTDIO && DCHAR_IS_TCHAR characters = mbsnlen (cbuf, count); # endif } # if DCHAR_IS_TCHAR else { /* The number of bytes and characters doesn't matter, because !has_width and therefore width==0. */ bytes = 0; # if ENABLE_UNISTDIO characters = 0; # endif } # endif # if !DCHAR_IS_TCHAR { TCHAR_T tmpsrc[64]; /* Assume MB_CUR_MAX <= 64. */ /* Convert the string into a piece of temporary memory. */ if (bytes > 0) { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif count = local_wcrtomb (cbuf, arg, &state); if (count <= 0) /* Inconsistency. */ abort (); memcpy (tmpsrc, cbuf, count); } /* Convert from TCHAR_T[] to DCHAR_T[]. */ tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, bytes, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) goto fail_with_errno; } # endif if (has_width) { # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ # if DCHAR_IS_TCHAR w = characters; # else w = DCHAR_MBSNLEN (tmpdst, tmpdst_len); # endif # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = bytes; # endif } else /* w doesn't matter. */ w = 0; if (w < width && !(flags & FLAG_LEFT)) { size_t n = width - w; # if DCHAR_IS_TCHAR ENSURE_ALLOCATION (xsum (length, n)); # else ENSURE_ALLOCATION_ELSE (xsum (length, n), { free (tmpdst); goto out_of_memory; }); # endif DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_TCHAR if (has_width) { /* We know the number of bytes in advance. */ ENSURE_ALLOCATION (xsum (length, bytes)); if (bytes > 0) { int count; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif count = local_wcrtomb (result + length, arg, &state); if (count <= 0) /* Inconsistency. */ abort (); length += count; } } else { char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ int count; # if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t mbstate_t state; mbszero (&state); # endif count = local_wcrtomb (cbuf, arg, &state); if (count < 0) /* Cannot convert. */ goto fail_with_EILSEQ; ENSURE_ALLOCATION (xsum (length, count)); memcpy (result + length, cbuf, count); length += count; } # else ENSURE_ALLOCATION_ELSE (xsum (length, tmpdst_len), { free (tmpdst); goto out_of_memory; }); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); length += tmpdst_len; # endif if (w < width && (flags & FLAG_LEFT)) { size_t n = width - w; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } } #endif #if NEED_WPRINTF_DIRECTIVE_C && WIDE_CHAR_VERSION else if (dp->conversion == 'c' && a.arg[dp->arg_index].type != TYPE_WIDE_CHAR) { /* Implement the 'c' directive ourselves, in order to avoid EILSEQ in the "C" locale. */ int flags = dp->flags; size_t width; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; } /* %c in vasnwprintf. See the specification of fwprintf. */ { char arg = (char) a.arg[dp->arg_index].a.a_char; mbstate_t state; wchar_t wc; mbszero (&state); int count = mbrtowc (&wc, &arg, 1, &state); if (count < 0) /* Invalid or incomplete multibyte character. */ goto fail_with_EILSEQ; { size_t total = (1 < width ? width : 1); ENSURE_ALLOCATION (xsum (length, total)); if (1 < width && !(flags & FLAG_LEFT)) { size_t n = width - 1; DCHAR_SET (result + length, ' ', n); length += n; } result[length++] = wc; if (1 < width && (flags & FLAG_LEFT)) { size_t n = width - 1; DCHAR_SET (result + length, ' ', n); length += n; } } } } #endif #if NEED_PRINTF_DIRECTIVE_B || NEED_PRINTF_DIRECTIVE_UPPERCASE_B else if (0 # if NEED_PRINTF_DIRECTIVE_B || (dp->conversion == 'b') # endif # if NEED_PRINTF_DIRECTIVE_UPPERCASE_B || (dp->conversion == 'B') # endif ) { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; size_t tmp_length; size_t count; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *tmp_end; DCHAR_T *tmp_start; DCHAR_T *pad_ptr; DCHAR_T *p; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; has_width = 1; } has_precision = 0; precision = 1; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* Allocate a temporary buffer of sufficient size. */ switch (type) { default: tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_ULONGINT: tmp_length = (unsigned int) (sizeof (unsigned long int) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_ULONGLONGINT: tmp_length = (unsigned int) (sizeof (unsigned long long int) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT8_T: tmp_length = (unsigned int) (sizeof (uint8_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT16_T: tmp_length = (unsigned int) (sizeof (uint16_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT32_T: tmp_length = (unsigned int) (sizeof (uint32_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT64_T: tmp_length = (unsigned int) (sizeof (uint64_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST8_T: tmp_length = (unsigned int) (sizeof (uint_fast8_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST16_T: tmp_length = (unsigned int) (sizeof (uint_fast16_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST32_T: tmp_length = (unsigned int) (sizeof (uint_fast32_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; case TYPE_UINT_FAST64_T: tmp_length = (unsigned int) (sizeof (uint_fast64_t) * CHAR_BIT) + 1; /* turn floor into ceil */ break; } if (tmp_length < precision) tmp_length = precision; /* Add 2, to account for a prefix from the alternate form. */ tmp_length = xsum (tmp_length, 2); if (tmp_length < width) tmp_length = width; if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } tmp_end = tmp + tmp_length; unsigned long long arg; switch (type) { case TYPE_UCHAR: arg = a.arg[dp->arg_index].a.a_uchar; break; case TYPE_USHORT: arg = a.arg[dp->arg_index].a.a_ushort; break; case TYPE_UINT: arg = a.arg[dp->arg_index].a.a_uint; break; case TYPE_ULONGINT: arg = a.arg[dp->arg_index].a.a_ulongint; break; case TYPE_ULONGLONGINT: arg = a.arg[dp->arg_index].a.a_ulonglongint; break; case TYPE_UINT8_T: arg = a.arg[dp->arg_index].a.a_uint8_t; break; case TYPE_UINT16_T: arg = a.arg[dp->arg_index].a.a_uint16_t; break; case TYPE_UINT32_T: arg = a.arg[dp->arg_index].a.a_uint32_t; break; case TYPE_UINT64_T: arg = a.arg[dp->arg_index].a.a_uint64_t; break; case TYPE_UINT_FAST8_T: arg = a.arg[dp->arg_index].a.a_uint_fast8_t; break; case TYPE_UINT_FAST16_T: arg = a.arg[dp->arg_index].a.a_uint_fast16_t; break; case TYPE_UINT_FAST32_T: arg = a.arg[dp->arg_index].a.a_uint_fast32_t; break; case TYPE_UINT_FAST64_T: arg = a.arg[dp->arg_index].a.a_uint_fast64_t; break; default: abort (); } int need_prefix = ((flags & FLAG_ALT) && arg != 0); p = tmp_end; /* "The result of converting a zero value with a precision of zero is no characters." */ if (!(has_precision && precision == 0 && arg == 0)) { do { *--p = '0' + (arg & 1); arg = arg >> 1; } while (arg != 0); } if (has_precision) { DCHAR_T *digits_start = tmp_end - precision; while (p > digits_start) *--p = '0'; } pad_ptr = p; if (need_prefix) { # if NEED_PRINTF_DIRECTIVE_B && !NEED_PRINTF_DIRECTIVE_UPPERCASE_B *--p = 'b'; # elif NEED_PRINTF_DIRECTIVE_UPPERCASE_B && !NEED_PRINTF_DIRECTIVE_B *--p = 'B'; # else *--p = dp->conversion; # endif *--p = '0'; } tmp_start = p; /* The generated string now extends from tmp_start to tmp_end, with the zero padding insertion point being at pad_ptr, tmp_start <= pad_ptr <= tmp_end. */ count = tmp_end - tmp_start; if (count < width) { size_t pad = width - count; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (p = tmp_start; p < tmp_end; p++) *(p - pad) = *p; for (p = tmp_end - pad; p < tmp_end; p++) *p = ' '; } else if ((flags & FLAG_ZERO) /* Neither ISO C nor POSIX specify that the '0' flag is ignored when a width and a precision are both present. But most implementations do so. */ && !(has_width && has_precision)) { /* Pad with zeroes. */ for (p = tmp_start; p < pad_ptr; p++) *(p - pad) = *p; for (p = pad_ptr - pad; p < pad_ptr; p++) *p = '0'; } else { /* Pad with spaces on the left. */ for (p = tmp_start - pad; p < tmp_start; p++) *p = ' '; } tmp_start = tmp_start - pad; } count = tmp_end - tmp_start; if (count > tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION_ELSE (n, { if (tmp != tmpbuf) free (tmp); goto out_of_memory; }); } /* Append the result. */ memcpy (result + length, tmp_start, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif #if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) else if ((dp->conversion == 'a' || dp->conversion == 'A') # if !(NEED_PRINTF_DIRECTIVE_A || (NEED_PRINTF_LONG_DOUBLE && NEED_PRINTF_DOUBLE)) && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # endif # if NEED_PRINTF_LONG_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # endif ) # endif ) { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; size_t width; int has_precision; size_t precision; size_t tmp_length; size_t count; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* Allocate a temporary buffer of sufficient size. */ if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) ((LDBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) ((DBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; if (type == TYPE_LONGDOUBLE) { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || (NEED_WPRINTF_DIRECTIVE_LA && WIDE_CHAR_VERSION) long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; long double mantissa; if (arg > 0.0L) mantissa = printf_frexpl (arg, &exponent); else { exponent = 0; mantissa = 0.0L; } if (has_precision && precision < (unsigned int) ((LDBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ long double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5L : tail > 0.5L) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0L; } if (tail != 0.0L) for (q = precision; q > 0; q--) tail *= 0.0625L; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0L || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0L) { mantissa *= 16.0L; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION && DCHAR_IS_TCHAR { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } END_LONG_DOUBLE_ROUNDING (); } # else abort (); # endif } else { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE double arg = a.arg[dp->arg_index].a.a_double; if (isnand (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; double mantissa; if (arg > 0.0) mantissa = printf_frexp (arg, &exponent); else { exponent = 0; mantissa = 0.0; } if (has_precision && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5 : tail > 0.5) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0; } if (tail != 0.0) for (q = precision; q > 0; q--) tail *= 0.0625; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0 || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0) { mantissa *= 16.0; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION && DCHAR_IS_TCHAR { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } } # else abort (); # endif } /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ count = p - tmp; if (count < width) { size_t pad = width - count; DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION_ELSE (n, { if (tmp != tmpbuf) free (tmp); goto out_of_memory; }); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif #if NEED_PRINTF_INFINITE_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_LONG_DOUBLE else if ((dp->conversion == 'f' || dp->conversion == 'F' || dp->conversion == 'e' || dp->conversion == 'E' || dp->conversion == 'g' || dp->conversion == 'G' || dp->conversion == 'a' || dp->conversion == 'A') && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # elif NEED_PRINTF_INFINITE_DOUBLE || (a.arg[dp->arg_index].type == TYPE_DOUBLE /* The systems (mingw) which produce wrong output for Inf, -Inf, and NaN also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # elif NEED_PRINTF_INFINITE_LONG_DOUBLE || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE /* Some systems produce wrong output for Inf, -Inf, and NaN. Some systems in this category (IRIX 5.3) also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zerol (a.arg[dp->arg_index].a.a_longdouble)) # endif )) { # if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) arg_type type = a.arg[dp->arg_index].type; # endif int flags = dp->flags; size_t width; size_t count; int has_precision; size_t precision; size_t tmp_length; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* POSIX specifies the default precision to be 6 for %f, %F, %e, %E, but not for %g, %G. Implementations appear to use the same default precision also for %g, %G. But for %a, %A, the default precision is 0. */ if (!has_precision) if (!(dp->conversion == 'a' || dp->conversion == 'A')) precision = 6; /* Allocate a temporary buffer of sufficient size. */ # if NEED_PRINTF_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); # elif NEED_PRINTF_INFINITE_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : 0); # elif NEED_PRINTF_LONG_DOUBLE tmp_length = LDBL_DIG + 1; # elif NEED_PRINTF_DOUBLE tmp_length = DBL_DIG + 1; # else tmp_length = 0; # endif if (tmp_length < precision) tmp_length = precision; # if NEED_PRINTF_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (!(isnanl (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10l (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif # if NEED_PRINTF_DOUBLE # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE if (type == TYPE_DOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { double arg = a.arg[dp->arg_index].a.a_double; if (!(isnand (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10 (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_LONG_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_long_double (arg, precision); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0L) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0L. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)precision - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ if (is_borderline (digits, precision)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_long_double (arg, (int)precision - exponent + 1); if (digits2 == NULL) { free (digits); END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } if (strlen (digits2) == precision + 1) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION && DCHAR_IS_TCHAR { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0L) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0L. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ if (is_borderline (digits, precision - 1)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent + 1); if (digits2 == NULL) { free (digits); END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } if (strlen (digits2) == precision) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t ecount = exponent + 1; /* Note: count <= precision = ndigits. */ for (; ecount > 0; ecount--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t ecount = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; ecount > 0; ecount--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION && DCHAR_IS_TCHAR { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0L)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else if (dp->conversion == 'a' || dp->conversion == 'A') { *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion - 'A' + 'P'; *p++ = '+'; *p++ = '0'; } else abort (); # endif } END_LONG_DOUBLE_ROUNDING (); } } # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE else # endif # endif # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE { double arg = a.arg[dp->arg_index].a.a_double; if (isnand (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_double (arg, precision); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)precision - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ if (is_borderline (digits, precision)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_double (arg, (int)precision - exponent + 1); if (digits2 == NULL) { free (digits); goto out_of_memory; } if (strlen (digits2) == precision + 1) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION && DCHAR_IS_TCHAR { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ if (is_borderline (digits, precision - 1)) { /* Maybe the exponent guess was too high and a smaller exponent can be reached by turning a 10...0 into 9...9x. */ char *digits2 = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent + 1); if (digits2 == NULL) { free (digits); goto out_of_memory; } if (strlen (digits2) == precision) { free (digits); digits = digits2; exponent -= 1; } else free (digits2); } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t ecount = exponent + 1; /* Note: ecount <= precision = ndigits. */ for (; ecount > 0; ecount--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t ecount = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; ecount > 0; ecount--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION && DCHAR_IS_TCHAR { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; /* Produce the same number of exponent digits as the native printf implementation. */ # if defined _WIN32 && ! defined __CYGWIN__ *p++ = '0'; # endif *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else abort (); # endif } } } # endif /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ count = p - tmp; if (count < width) { size_t pad = width - count; DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION_ELSE (n, { if (tmp != tmpbuf) free (tmp); goto out_of_memory; }); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } #endif else { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; #if (WIDE_CHAR_VERSION && MUSL_LIBC) || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int has_width; #endif #if !USE_SNPRINTF || WIDE_CHAR_VERSION || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION size_t width; #endif #if !USE_SNPRINTF || (WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (WIDE_CHAR_VERSION && MUSL_LIBC) || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int has_precision; size_t precision; #endif #if NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int prec_ourselves; #else # define prec_ourselves 0 #endif #if (WIDE_CHAR_VERSION && MUSL_LIBC) || NEED_PRINTF_FLAG_LEFTADJUST # define pad_ourselves 1 #elif !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int pad_ourselves; #else # define pad_ourselves 0 #endif TCHAR_T *fbp; unsigned int prefix_count; int prefixes[2] IF_LINT (= { 0 }); int orig_errno; #if !USE_SNPRINTF size_t tmp_length; TCHAR_T tmpbuf[700]; TCHAR_T *tmp; #endif #if (WIDE_CHAR_VERSION && MUSL_LIBC) || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 0; #endif #if !USE_SNPRINTF || WIDE_CHAR_VERSION || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = -width; } } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; # define WIDTH_IS_CHECKED 1 # if (WIDE_CHAR_VERSION && MUSL_LIBC) || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 1; # endif } #endif #if !USE_SNPRINTF || (WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || (WIDE_CHAR_VERSION && MUSL_LIBC) || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } #endif /* Decide whether to handle the precision ourselves. */ #if NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION switch (dp->conversion) { # if NEED_PRINTF_UNBOUNDED_PRECISION case 'd': case 'i': case 'u': case 'b': #if SUPPORT_GNU_PRINTF_DIRECTIVES \ || (__GLIBC__ + (__GLIBC_MINOR__ >= 35) > 2) case 'B': #endif case 'o': prec_ourselves = has_precision && (precision > 0); break; # endif case 'x': case 'X': case 'p': prec_ourselves = has_precision && (0 # if NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || (precision == 0) # endif # if NEED_PRINTF_UNBOUNDED_PRECISION || (precision > 0) # endif ); break; default: prec_ourselves = 0; break; } #endif /* Decide whether to perform the padding ourselves. */ #if !((WIDE_CHAR_VERSION && MUSL_LIBC) || NEED_PRINTF_FLAG_LEFTADJUST) && (!DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION) switch (dp->conversion) { # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO /* If we need conversion from TCHAR_T[] to DCHAR_T[], we need to perform the padding after this conversion. Functions with unistdio extensions perform the padding based on character count rather than element count. */ case 'c': case 's': # endif # if NEED_PRINTF_FLAG_ZERO case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': # endif pad_ourselves = 1; break; default: pad_ourselves = prec_ourselves; break; } #endif #if !USE_SNPRINTF /* Allocate a temporary buffer of sufficient size for calling sprintf. */ tmp_length = MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, flags, width, has_precision, precision, pad_ourselves); if (tmp_length <= sizeof (tmpbuf) / sizeof (TCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (TCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (TCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } #endif /* Construct the format string for calling snprintf or sprintf. */ fbp = buf; *fbp++ = '%'; #if NEED_PRINTF_FLAG_GROUPING /* The underlying implementation doesn't support the ' flag. Produce no grouping characters in this case; this is acceptable because the grouping is locale dependent. */ #else if (flags & FLAG_GROUP) *fbp++ = '\''; #endif if (flags & FLAG_LEFT) *fbp++ = '-'; if (flags & FLAG_SHOWSIGN) *fbp++ = '+'; if (flags & FLAG_SPACE) *fbp++ = ' '; if (flags & FLAG_ALT) *fbp++ = '#'; #if __GLIBC__ >= 2 && !defined __UCLIBC__ if (flags & FLAG_LOCALIZED) *fbp++ = 'I'; #endif if (!pad_ourselves) { if (flags & FLAG_ZERO) *fbp++ = '0'; if (dp->width_start != dp->width_end) { size_t n = dp->width_end - dp->width_start; #if !WIDTH_IS_CHECKED size_t width; /* Reject an out-of-range width. The underlying SNPRINTF already does this on some platforms (glibc, musl, macOS, FreeBSD, NetBSD, OpenBSD, Cygwin, Solaris, MSVC). However, on others (AIX, mingw), it doesn't; thus this vasnprintf invocation would succeed and produce a wrong result. So, this is redundant on some platforms, but it's a quick check anyway. */ if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; width = arg; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ width = -width; } } else { const FCHAR_T *digitp = dp->width_start; width = 0; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } if (width > (size_t) INT_MAX) goto overflow; #endif /* The width specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->width_start; do *fbp++ = *mp++; while (--n > 0); } } } if (!prec_ourselves) { if (dp->precision_start != dp->precision_end) { size_t n = dp->precision_end - dp->precision_start; /* The precision specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->precision_start; do *fbp++ = *mp++; while (--n > 0); } } } switch (+type) { case TYPE_LONGLONGINT: case TYPE_ULONGLONGINT: #if INT8_WIDTH > LONG_WIDTH case TYPE_INT8_T: #endif #if UINT8_WIDTH > LONG_WIDTH case TYPE_UINT8_T: #endif #if INT16_WIDTH > LONG_WIDTH case TYPE_INT16_T: #endif #if UINT16_WIDTH > LONG_WIDTH case TYPE_UINT16_T: #endif #if INT32_WIDTH > LONG_WIDTH case TYPE_INT32_T: #endif #if UINT32_WIDTH > LONG_WIDTH case TYPE_UINT32_T: #endif #if INT64_WIDTH > LONG_WIDTH case TYPE_INT64_T: #endif #if UINT64_WIDTH > LONG_WIDTH case TYPE_UINT64_T: #endif #if INT_FAST8_WIDTH > LONG_WIDTH case TYPE_INT_FAST8_T: #endif #if UINT_FAST8_WIDTH > LONG_WIDTH case TYPE_UINT_FAST8_T: #endif #if INT_FAST16_WIDTH > LONG_WIDTH case TYPE_INT_FAST16_T: #endif #if UINT_FAST16_WIDTH > LONG_WIDTH case TYPE_UINT_FAST16_T: #endif #if INT_FAST32_WIDTH > LONG_WIDTH case TYPE_INT3_FAST2_T: #endif #if UINT_FAST32_WIDTH > LONG_WIDTH case TYPE_UINT_FAST32_T: #endif #if INT_FAST64_WIDTH > LONG_WIDTH case TYPE_INT_FAST64_T: #endif #if UINT_FAST64_WIDTH > LONG_WIDTH case TYPE_UINT_FAST64_T: #endif #if defined _WIN32 && ! defined __CYGWIN__ *fbp++ = 'I'; *fbp++ = '6'; *fbp++ = '4'; break; #else *fbp++ = 'l'; #endif FALLTHROUGH; case TYPE_LONGINT: case TYPE_ULONGINT: #if INT8_WIDTH > INT_WIDTH && INT8_WIDTH <= LONG_WIDTH case TYPE_INT8_T: #endif #if UINT8_WIDTH > INT_WIDTH && UINT8_WIDTH <= LONG_WIDTH case TYPE_UINT8_T: #endif #if INT16_WIDTH > INT_WIDTH && INT16_WIDTH <= LONG_WIDTH case TYPE_INT16_T: #endif #if UINT16_WIDTH > INT_WIDTH && UINT16_WIDTH <= LONG_WIDTH case TYPE_UINT16_T: #endif #if INT32_WIDTH > INT_WIDTH && INT32_WIDTH <= LONG_WIDTH case TYPE_INT32_T: #endif #if UINT32_WIDTH > INT_WIDTH && UINT32_WIDTH <= LONG_WIDTH case TYPE_UINT32_T: #endif #if INT64_WIDTH > INT_WIDTH && INT64_WIDTH <= LONG_WIDTH case TYPE_INT64_T: #endif #if UINT64_WIDTH > INT_WIDTH && UINT64_WIDTH <= LONG_WIDTH case TYPE_UINT64_T: #endif #if INT_FAST8_WIDTH > INT_WIDTH && INT_FAST8_WIDTH <= LONG_WIDTH case TYPE_INT_FAST8_T: #endif #if UINT_FAST8_WIDTH > INT_WIDTH && UINT_FAST8_WIDTH <= LONG_WIDTH case TYPE_UINT_FAST8_T: #endif #if INT_FAST16_WIDTH > INT_WIDTH && INT_FAST16_WIDTH <= LONG_WIDTH case TYPE_INT_FAST16_T: #endif #if UINT_FAST16_WIDTH > INT_WIDTH && UINT_FAST16_WIDTH <= LONG_WIDTH case TYPE_UINT_FAST16_T: #endif #if INT_FAST32_WIDTH > INT_WIDTH && INT_FAST32_WIDTH <= LONG_WIDTH case TYPE_INT_FAST32_T: #endif #if UINT_FAST32_WIDTH > INT_WIDTH && UINT_FAST32_WIDTH <= LONG_WIDTH case TYPE_UINT_FAST32_T: #endif #if INT_FAST64_WIDTH > INT_WIDTH && INT_FAST64_WIDTH <= LONG_WIDTH case TYPE_INT_FAST64_T: #endif #if UINT_FAST64_WIDTH > INT_WIDTH && UINT_FAST64_WIDTH <= LONG_WIDTH case TYPE_UINT_FAST64_T: #endif #if HAVE_WINT_T case TYPE_WIDE_CHAR: #endif case TYPE_WIDE_STRING: *fbp++ = 'l'; break; case TYPE_LONGDOUBLE: *fbp++ = 'L'; break; default: break; } #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') *fbp = 'f'; else #endif *fbp = dp->conversion; #if USE_SNPRINTF /* Decide whether to pass %n in the format string to SNPRINTF. */ # if (((!WIDE_CHAR_VERSION || !DCHAR_IS_TCHAR) \ && (HAVE_SNPRINTF_RETVAL_C99 && HAVE_SNPRINTF_TRUNCATION_C99)) \ || ((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \ && !defined __UCLIBC__) \ || (defined __APPLE__ && defined __MACH__) \ || defined __OpenBSD__ \ || defined __ANDROID__ \ || (defined _WIN32 && ! defined __CYGWIN__)) \ || (WIDE_CHAR_VERSION && MUSL_LIBC) /* We can avoid passing %n and instead rely on SNPRINTF's return value if - !WIDE_CHAR_VERSION || !DCHAR_IS_TCHAR, because otherwise, when WIDE_CHAR_VERSION && DCHAR_IS_TCHAR, snwprintf()/_snwprintf() (Windows) and swprintf() (Unix) don't return the needed buffer size, and - we're compiling for a system where we know - that snprintf's return value conforms to ISO C 99 (HAVE_SNPRINTF_RETVAL_C99) and - that snprintf always produces NUL-terminated strings (HAVE_SNPRINTF_TRUNCATION_C99). And it is desirable to do so, because more and more platforms no longer support %n, for "security reasons". */ /* On specific platforms, listed below, we *must* avoid %n. In the case !WIDE_CHAR_VERSION && HAVE_SNPRINTF_RETVAL_C99 && !USE_MSVC__SNPRINTF we can rely on the return value of snprintf instead. Whereas in the opposite case WIDE_CHAR_VERSION || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF we need to make room based on an estimation, computed by MAX_ROOM_NEEDED. */ /* The following platforms forbid %n: - On glibc2 systems from 2004-10-18 or newer, the use of %n in format strings in writable memory may crash the program (if compiled with _FORTIFY_SOURCE=2). - On macOS 10.13 or newer, the use of %n in format strings in writable memory by default crashes the program. - On OpenBSD, since 2021-08-30, the use of %n in format strings produces an abort (see , ). - On Android, starting on 2018-03-07, the use of %n in format strings produces a fatal error (see ). - On native Windows systems (such as mingw) where the OS is Windows Vista, the use of %n in format strings by default crashes the program. See and On the first four of these platforms, if !WIDE_CHAR_VERSION, it is not a big deal to avoid %n, because on these platforms, HAVE_SNPRINTF_RETVAL_C99 and HAVE_SNPRINTF_TRUNCATION_C99 are 1. On native Windows, if !WIDE_CHAR_VERSION, it's not a big deal either because: - Although the gl_SNPRINTF_TRUNCATION_C99 test fails, snprintf does not write more than the specified number of bytes. (snprintf (buf, 3, "%d %d", 4567, 89) writes '4', '5', '6' into buf, not '4', '5', '\0'.) - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf allows us to recognize the case of an insufficient buffer size: it returns -1 in this case. */ /* Additionally, in the WIDE_CHAR_VERSION case, we cannot use %n on musl libc because we would run into an swprintf() bug. See . */ fbp[1] = '\0'; # else /* AIX <= 5.1, HP-UX, IRIX, OSF/1, Solaris <= 9, BeOS */ fbp[1] = '%'; fbp[2] = 'n'; fbp[3] = '\0'; # endif #else fbp[1] = '\0'; #endif /* Construct the arguments for calling snprintf or sprintf. */ prefix_count = 0; if (!pad_ourselves && dp->width_arg_index != ARG_NONE) { if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; } if (!prec_ourselves && dp->precision_arg_index != ARG_NONE) { if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; } #if USE_SNPRINTF /* The SNPRINTF result is appended after result[0..length]. The latter is an array of DCHAR_T; SNPRINTF appends an array of TCHAR_T to it. This is possible because sizeof (TCHAR_T) divides sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). */ # define TCHARS_PER_DCHAR (sizeof (DCHAR_T) / sizeof (TCHAR_T)) /* Ensure that maxlen below will be >= 2. Needed on BeOS, where an snprintf() with maxlen==1 acts like sprintf(). */ ENSURE_ALLOCATION (xsum (length, (2 + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR)); /* Prepare checking whether snprintf returns the count via %n. */ *(TCHAR_T *) (result + length) = '\0'; #endif orig_errno = errno; for (;;) { int count = -1; #if USE_SNPRINTF int retcount = 0; size_t maxlen = allocated - length; /* SNPRINTF can fail if its second argument is > INT_MAX. */ if (maxlen > INT_MAX / TCHARS_PER_DCHAR) maxlen = INT_MAX / TCHARS_PER_DCHAR; maxlen = maxlen * TCHARS_PER_DCHAR; # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ arg, &count); \ break; \ case 1: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], arg, &count); \ break; \ case 2: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], prefixes[1], arg, \ &count); \ break; \ default: \ abort (); \ } #else # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ count = sprintf (tmp, buf, arg); \ break; \ case 1: \ count = sprintf (tmp, buf, prefixes[0], arg); \ break; \ case 2: \ count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ arg); \ break; \ default: \ abort (); \ } #endif errno = 0; switch (+type) { case TYPE_SCHAR: { int arg = a.arg[dp->arg_index].a.a_schar; SNPRINTF_BUF (arg); } break; case TYPE_UCHAR: { unsigned int arg = a.arg[dp->arg_index].a.a_uchar; SNPRINTF_BUF (arg); } break; case TYPE_SHORT: { int arg = a.arg[dp->arg_index].a.a_short; SNPRINTF_BUF (arg); } break; case TYPE_USHORT: { unsigned int arg = a.arg[dp->arg_index].a.a_ushort; SNPRINTF_BUF (arg); } break; case TYPE_INT: { int arg = a.arg[dp->arg_index].a.a_int; SNPRINTF_BUF (arg); } break; case TYPE_UINT: { unsigned int arg = a.arg[dp->arg_index].a.a_uint; SNPRINTF_BUF (arg); } break; case TYPE_LONGINT: { long int arg = a.arg[dp->arg_index].a.a_longint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGINT: { unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; SNPRINTF_BUF (arg); } break; case TYPE_LONGLONGINT: { long long int arg = a.arg[dp->arg_index].a.a_longlongint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGLONGINT: { unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; SNPRINTF_BUF (arg); } break; case TYPE_INT8_T: { int8_t arg = a.arg[dp->arg_index].a.a_int8_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT8_T: { uint8_t arg = a.arg[dp->arg_index].a.a_uint8_t; SNPRINTF_BUF (arg); } break; case TYPE_INT16_T: { int16_t arg = a.arg[dp->arg_index].a.a_int16_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT16_T: { uint16_t arg = a.arg[dp->arg_index].a.a_uint16_t; SNPRINTF_BUF (arg); } break; case TYPE_INT32_T: { int32_t arg = a.arg[dp->arg_index].a.a_int32_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT32_T: { uint32_t arg = a.arg[dp->arg_index].a.a_uint32_t; SNPRINTF_BUF (arg); } break; case TYPE_INT64_T: { int64_t arg = a.arg[dp->arg_index].a.a_int64_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT64_T: { uint64_t arg = a.arg[dp->arg_index].a.a_uint64_t; SNPRINTF_BUF (arg); } break; case TYPE_INT_FAST8_T: { int_fast8_t arg = a.arg[dp->arg_index].a.a_int_fast8_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT_FAST8_T: { uint_fast8_t arg = a.arg[dp->arg_index].a.a_uint_fast8_t; SNPRINTF_BUF (arg); } break; case TYPE_INT_FAST16_T: { int_fast16_t arg = a.arg[dp->arg_index].a.a_int_fast16_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT_FAST16_T: { uint_fast16_t arg = a.arg[dp->arg_index].a.a_uint_fast16_t; SNPRINTF_BUF (arg); } break; case TYPE_INT_FAST32_T: { int_fast32_t arg = a.arg[dp->arg_index].a.a_int_fast32_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT_FAST32_T: { uint_fast32_t arg = a.arg[dp->arg_index].a.a_uint_fast32_t; SNPRINTF_BUF (arg); } break; case TYPE_INT_FAST64_T: { int_fast64_t arg = a.arg[dp->arg_index].a.a_int_fast64_t; SNPRINTF_BUF (arg); } break; case TYPE_UINT_FAST64_T: { uint_fast64_t arg = a.arg[dp->arg_index].a.a_uint_fast64_t; SNPRINTF_BUF (arg); } break; case TYPE_DOUBLE: { double arg = a.arg[dp->arg_index].a.a_double; SNPRINTF_BUF (arg); } break; case TYPE_LONGDOUBLE: { long double arg = a.arg[dp->arg_index].a.a_longdouble; SNPRINTF_BUF (arg); } break; case TYPE_CHAR: { int arg = a.arg[dp->arg_index].a.a_char; SNPRINTF_BUF (arg); } break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: { wint_t arg = a.arg[dp->arg_index].a.a_wide_char; SNPRINTF_BUF (arg); } break; #endif case TYPE_STRING: { const char *arg = a.arg[dp->arg_index].a.a_string; SNPRINTF_BUF (arg); } break; case TYPE_WIDE_STRING: { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; SNPRINTF_BUF (arg); } break; case TYPE_POINTER: { void *arg = a.arg[dp->arg_index].a.a_pointer; SNPRINTF_BUF (arg); } break; default: abort (); } #if USE_SNPRINTF /* Portability: Not all implementations of snprintf() are ISO C 99 compliant. Determine the number of bytes that snprintf() has produced or would have produced. */ if (count >= 0) { /* Verify that snprintf() has NUL-terminated its result. */ if ((unsigned int) count < maxlen && ((TCHAR_T *) (result + length)) [count] != '\0') abort (); /* Portability hack. */ if (retcount > count) count = retcount; } else { /* snprintf() doesn't understand the '%n' directive. */ if (fbp[1] != '\0') { /* Don't use the '%n' directive; instead, look at the snprintf() return value. */ fbp[1] = '\0'; continue; } else { /* Look at the snprintf() return value. */ if (retcount < 0) { # if (WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF /* HP-UX 10.20 snprintf() is doubly deficient: It doesn't understand the '%n' directive, *and* it returns -1 (rather than the length that would have been required) when the buffer is too small. Likewise, in case of WIDE_CHAR_VERSION && DCHAR_IS_TCHAR, the functions snwprintf()/_snwprintf() (Windows) or swprintf() (Unix). But a failure at this point can also come from other reasons than a too small buffer, such as an invalid wide string argument to the %ls directive, or possibly an invalid floating-point argument. */ size_t tmp_length = MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, flags, width, has_precision, precision, pad_ourselves); if (maxlen < tmp_length) { /* Make more room. But try to do through this reallocation only once. */ size_t bigger_need = xsum (length, xsum (tmp_length, TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); /* And always grow proportionally. (There may be several arguments, each needing a little more room than the previous one.) */ size_t bigger_need2 = xsum (xtimes (allocated, 2), 12); if (bigger_need < bigger_need2) bigger_need = bigger_need2; ENSURE_ALLOCATION (bigger_need); continue; } # endif } else { count = retcount; # if WIDE_CHAR_VERSION && defined __MINGW32__ if (count == 0 && dp->conversion == 'c') /* snwprintf returned 0 instead of 1. But it wrote a null wide character. */ count = 1; # endif } } } #endif /* Attempt to handle failure. */ if (count < 0) { /* SNPRINTF or sprintf failed. Use the errno that it has set, if any. */ if (errno == 0) { if (dp->conversion == 'c' || dp->conversion == 's') errno = EILSEQ; else errno = EINVAL; } goto fail_with_errno; } #if USE_SNPRINTF /* Handle overflow of the allocated buffer. If such an overflow occurs, a C99 compliant snprintf() returns a count >= maxlen. However, a non-compliant snprintf() function returns only count = maxlen - 1. To cover both cases, test whether count >= maxlen - 1. */ if ((unsigned int) count + 1 >= maxlen) { /* If maxlen already has attained its allowed maximum, allocating more memory will not increase maxlen. Instead of looping, bail out. */ if (maxlen == INT_MAX / TCHARS_PER_DCHAR) goto overflow; else { /* Need at least (count + 1) * sizeof (TCHAR_T) bytes. (The +1 is for the trailing NUL.) But ask for (count + 2) * sizeof (TCHAR_T) bytes, so that in the next round, we likely get maxlen > (unsigned int) count + 1 and so we don't get here again. And allocate proportionally, to avoid looping eternally if snprintf() reports a too small count. */ size_t n = xmax (xsum (length, ((unsigned int) count + 2 + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); continue; } } #endif #if NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION if (prec_ourselves) { /* Handle the precision. */ TCHAR_T *prec_ptr = # if USE_SNPRINTF (TCHAR_T *) (result + length); # else tmp; # endif size_t prefix_count; size_t move; prefix_count = 0; /* Put the additional zeroes after the sign. */ if (count >= 1 && (*prec_ptr == '-' || *prec_ptr == '+' || *prec_ptr == ' ')) prefix_count = 1; /* Put the additional zeroes after the 0x prefix if (flags & FLAG_ALT) || (dp->conversion == 'p'). */ else if (count >= 2 && prec_ptr[0] == '0' && (prec_ptr[1] == 'x' || prec_ptr[1] == 'X')) prefix_count = 2; move = count - prefix_count; if (precision > move) { /* Insert zeroes. */ size_t insert = precision - move; TCHAR_T *prec_end; # if USE_SNPRINTF size_t n = xsum (length, (count + insert + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); length += (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; ENSURE_ALLOCATION (n); length -= (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; prec_ptr = (TCHAR_T *) (result + length); # endif prec_end = prec_ptr + count; prec_ptr += prefix_count; while (prec_end > prec_ptr) { prec_end--; prec_end[insert] = prec_end[0]; } prec_end += insert; do *--prec_end = '0'; while (prec_end > prec_ptr); count += insert; } # if NEED_PRINTF_FLAG_ALT_PRECISION_ZERO else if (precision == 0 && move == 1 && prec_ptr[prefix_count] == '0') { /* Replace the "0" result with an empty string. */ count = prefix_count; } # endif } #endif #if !USE_SNPRINTF if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); #endif #if !DCHAR_IS_TCHAR /* Convert from TCHAR_T[] to DCHAR_T[]. */ if (dp->conversion == 'c' || dp->conversion == 's' # if __GLIBC__ >= 2 && !defined __UCLIBC__ || (flags & FLAG_LOCALIZED) # endif ) { /* The result string is not guaranteed to be ASCII. */ const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t tmpdst_len; /* This code assumes that TCHAR_T is 'char'. */ static_assert (sizeof (TCHAR_T) == 1); # if USE_SNPRINTF tmpsrc = (TCHAR_T *) (result + length); # else tmpsrc = tmp; # endif # if WIDE_CHAR_VERSION /* Convert tmpsrc[0..count-1] to a freshly allocated wide character array. */ mbstate_t state; mbszero (&state); tmpdst_len = 0; { const TCHAR_T *src = tmpsrc; size_t srclen = count; for (; srclen > 0; tmpdst_len++) { /* Parse the next multibyte character. */ size_t ret = mbrtowc (NULL, src, srclen, &state); if (ret == (size_t)(-2) || ret == (size_t)(-1)) goto fail_with_EILSEQ; if (ret == 0) ret = 1; src += ret; srclen -= ret; } } tmpdst = (wchar_t *) malloc ((tmpdst_len + 1) * sizeof (wchar_t)); if (tmpdst == NULL) goto out_of_memory; mbszero (&state); { DCHAR_T *destptr = tmpdst; const TCHAR_T *src = tmpsrc; size_t srclen = count; for (; srclen > 0; destptr++) { /* Parse the next multibyte character. */ size_t ret = mbrtowc (destptr, src, srclen, &state); if (ret == (size_t)(-2) || ret == (size_t)(-1)) /* Should already have been caught in the first loop, above. */ abort (); if (ret == 0) ret = 1; src += ret; srclen -= ret; } } # else tmpdst = DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, count, NULL, NULL, &tmpdst_len); if (tmpdst == NULL) goto fail_with_errno; # endif ENSURE_ALLOCATION_ELSE (xsum (length, tmpdst_len), { free (tmpdst); goto out_of_memory; }); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); count = tmpdst_len; } else { /* The result string is ASCII. Simple 1:1 conversion. */ # if USE_SNPRINTF /* If sizeof (DCHAR_T) == sizeof (TCHAR_T), it's a no-op conversion, in-place on the array starting at (result + length). */ if (sizeof (DCHAR_T) != sizeof (TCHAR_T)) # endif { const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t n; # if USE_SNPRINTF if (result == resultbuf) { tmpsrc = (TCHAR_T *) (result + length); /* ENSURE_ALLOCATION will not move tmpsrc (because it's part of resultbuf). */ ENSURE_ALLOCATION (xsum (length, count)); } else { /* ENSURE_ALLOCATION will move the array (because it uses realloc(). */ ENSURE_ALLOCATION (xsum (length, count)); tmpsrc = (TCHAR_T *) (result + length); } # else tmpsrc = tmp; ENSURE_ALLOCATION (xsum (length, count)); # endif tmpdst = result + length; /* Copy backwards, because of overlapping. */ tmpsrc += count; tmpdst += count; for (n = count; n > 0; n--) *--tmpdst = *--tmpsrc; } } #endif #if DCHAR_IS_TCHAR && !USE_SNPRINTF /* Make room for the result. */ if (count > allocated - length) { /* Need at least count elements. But allocate proportionally. */ size_t n = xmax (xsum (length, count), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); } #endif /* Here count <= allocated - length. */ /* Perform padding. */ #if (WIDE_CHAR_VERSION && MUSL_LIBC) || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_FLAG_ALT_PRECISION_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION if (pad_ourselves && has_width) { size_t w; # if ENABLE_UNISTDIO /* Outside POSIX, it's preferable to compare the width against the number of _characters_ of the converted value. */ w = DCHAR_MBSNLEN (result + length, count); # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = count; # endif if (w < width) { size_t pad = width - w; /* Make room for the result. */ if (xsum (count, pad) > allocated - length) { /* Need at least count + pad elements. But allocate proportionally. */ size_t n = xmax (xsum3 (length, count, pad), xtimes (allocated, 2)); # if USE_SNPRINTF length += count; ENSURE_ALLOCATION (n); length -= count; # else ENSURE_ALLOCATION (n); # endif } /* Here count + pad <= allocated - length. */ { # if !DCHAR_IS_TCHAR || USE_SNPRINTF DCHAR_T * const rp = result + length; # else DCHAR_T * const rp = tmp; # endif DCHAR_T *p = rp + count; DCHAR_T *end = p + pad; DCHAR_T *pad_ptr; # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO if (dp->conversion == 'c' || dp->conversion == 's') /* No zero-padding for string directives. */ pad_ptr = NULL; else # endif { pad_ptr = (*rp == '-' ? rp + 1 : rp); /* No zero-padding of "inf" and "nan". */ if ((*pad_ptr >= 'A' && *pad_ptr <= 'Z') || (*pad_ptr >= 'a' && *pad_ptr <= 'z')) pad_ptr = NULL; else /* Do the zero-padding after the "0x" or "0b" prefix, not before. */ if (p - rp >= 2 && *rp == '0' && (((dp->conversion == 'a' || dp->conversion == 'x') && rp[1] == 'x') || ((dp->conversion == 'A' || dp->conversion == 'X') && rp[1] == 'X') || (dp->conversion == 'b' && rp[1] == 'b') || (dp->conversion == 'B' && rp[1] == 'B'))) pad_ptr += 2; } /* The generated string now extends from rp to p, with the zero padding insertion point being at pad_ptr. */ count = count + pad; /* = end - rp */ if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL /* ISO C says: "For d, i, o, u, x, and X conversions, if a precision is specified, the 0 flag is ignored. */ && !(has_precision && (dp->conversion == 'd' || dp->conversion == 'i' || dp->conversion == 'o' || dp->conversion == 'u' || dp->conversion == 'x' || dp->conversion == 'X' /* Although ISO C does not require it, treat 'b' and 'B' like 'x' and 'X'. */ || dp->conversion == 'b' || dp->conversion == 'B'))) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > rp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } } } } #endif /* Here still count <= allocated - length. */ #if !DCHAR_IS_TCHAR || USE_SNPRINTF /* The snprintf() result did fit. */ #else /* Append the sprintf() result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); #endif #if !USE_SNPRINTF if (tmp != tmpbuf) free (tmp); #endif #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') { /* Convert the %f result to upper case for %F. */ DCHAR_T *rp = result + length; size_t rc; for (rc = count; rc > 0; rc--, rp++) if (*rp >= 'a' && *rp <= 'z') *rp = *rp - 'a' + 'A'; } #endif length += count; break; } errno = orig_errno; #undef pad_ourselves #undef prec_ourselves } } } /* Add the final NUL. */ ENSURE_ALLOCATION (xsum (length, 1)); result[length] = '\0'; if (result != resultbuf && length + 1 < allocated) { /* Shrink the allocated memory if possible. */ DCHAR_T *memory; memory = (DCHAR_T *) realloc (result, (length + 1) * sizeof (DCHAR_T)); if (memory != NULL) result = memory; } if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); *lengthp = length; /* Note that we can produce a big string of a length > INT_MAX. POSIX says that snprintf() fails with errno = EOVERFLOW in this case, but that's only because snprintf() returns an 'int'. This function does not have this limitation. */ return result; overflow: errno = EOVERFLOW; goto fail_with_errno; out_of_memory: errno = ENOMEM; goto fail_with_errno; #if ENABLE_UNISTDIO || (WIDE_CHAR_VERSION || !USE_SNPRINTF || (PTRDIFF_MAX > INT_MAX) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF || NEED_PRINTF_DIRECTIVE_LS || ENABLE_WCHAR_FALLBACK) || ((NEED_PRINTF_DIRECTIVE_LC || ENABLE_WCHAR_FALLBACK) && HAVE_WINT_T && !WIDE_CHAR_VERSION) || (NEED_WPRINTF_DIRECTIVE_C && WIDE_CHAR_VERSION) fail_with_EILSEQ: errno = EILSEQ; goto fail_with_errno; #endif fail_with_errno: if (result != resultbuf) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); return NULL; } out_of_memory_1: errno = ENOMEM; goto fail_1_with_errno; fail_1_with_EINVAL: errno = EINVAL; goto fail_1_with_errno; fail_1_with_errno: CLEANUP (); return NULL; } #undef MAX_ROOM_NEEDED #undef TCHARS_PER_DCHAR #undef SNPRINTF #undef USE_SNPRINTF #undef DCHAR_SET #undef DCHAR_CPY #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef DCHAR_IS_TCHAR #undef TCHAR_T #undef DCHAR_T #undef FCHAR_T #undef VASNPRINTF datamash-1.9/lib/vasnprintf.h0000644000000000000000000000522114767401140011711 /* vsprintf with automatic memory allocation. Copyright (C) 2002-2004, 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _VASNPRINTF_H #define _VASNPRINTF_H /* This file uses _GL_ATTRIBUTE_FORMAT. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get va_list. */ #include /* Get size_t. */ #include /* Get _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD. */ #include #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF and its size in *LENGTHP; otherwise you pass RESULTBUF = NULL. If successful, return the address of the string (this may be = RESULTBUF if no dynamic memory allocation was necessary) and set *LENGTHP to the number of resulting bytes, excluding the trailing NUL. Upon error, set errno and return NULL. When dynamic memory allocation occurs, the preallocated buffer is left alone (with possibly modified contents). This makes it possible to use a statically allocated or stack-allocated buffer, like this: char buf[100]; size_t len = sizeof (buf); char *output = vasnprintf (buf, &len, format, args); if (output == NULL) ... error handling ...; else { ... use the output string ...; if (output != buf) free (output); } */ #if REPLACE_VASNPRINTF # define asnprintf rpl_asnprintf # define vasnprintf rpl_vasnprintf #endif extern char * asnprintf (char *restrict resultbuf, size_t *lengthp, const char *format, ...) _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, 3, 4)); extern char * vasnprintf (char *restrict resultbuf, size_t *lengthp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, 3, 0)); #ifdef __cplusplus } #endif #endif /* _VASNPRINTF_H */ datamash-1.9/lib/verify.h0000644000000000000000000003774314767401140011041 /* Compile-time assert-like macros. Copyright (C) 2005-2006, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ #ifndef _GL_VERIFY_H #define _GL_VERIFY_H /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert (R, DIAGNOSTIC) works as per C11. This is supported by GCC 4.6.0+ and by clang 4+. Define _GL_HAVE__STATIC_ASSERT1 to 1 if _Static_assert (R) works as per C23. This is supported by GCC 9.1+. Support compilers claiming conformance to the relevant standard, and also support GCC when not pedantic. If we were willing to slow 'configure' down we could also use it with other compilers, but since this affects only the quality of diagnostics, why bother? */ #ifndef __cplusplus # if (201112 <= __STDC_VERSION__ \ || (!defined __STRICT_ANSI__ \ && ((4 < __GNUC__ + (6 <= __GNUC_MINOR__) && !defined __clang__) \ || 5 <= __clang_major__))) # define _GL_HAVE__STATIC_ASSERT 1 # endif # if (202311 <= __STDC_VERSION__ \ || (!defined __STRICT_ANSI__ && 9 <= __GNUC__ && !defined __clang__)) # define _GL_HAVE__STATIC_ASSERT1 1 # endif #endif /* FreeBSD 9.1 , included by and lots of other system headers, defines a conflicting _Static_assert that is no better than ours; override it. */ #ifndef _GL_HAVE__STATIC_ASSERT # include # undef _Static_assert #endif /* Each of these macros verifies that its argument R is nonzero. To be portable, R should be an integer constant expression. Unlike assert (R), there is no run-time overhead. If _Static_assert works, verify (R) uses it directly. Similarly, _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct that is an operand of sizeof. The code below uses several ideas for C++ compilers, and for C compilers that do not support _Static_assert: * The first step is ((R) ? 1 : -1). Given an expression R, of integral or boolean or floating-point type, this yields an expression of integral type, whose value is later verified to be constant and nonnegative. * Next this expression W is wrapped in a type struct _gl_verify_type { unsigned int _gl_verify_error_if_negative: W; }. If W is negative, this yields a compile-time error. No compiler can deal with a bit-field of negative size. One might think that an array size check would have the same effect, that is, that the type struct { unsigned int dummy[W]; } would work as well. However, inside a function, some compilers (such as C++ compilers and GNU C) allow local parameters and variables inside array size expressions. With these compilers, an array size check would not properly diagnose this misuse of the verify macro: void function (int n) { verify (n < 0); } * For the verify macro, the struct _gl_verify_type will need to somehow be embedded into a declaration. To be portable, this declaration must declare an object, a constant, a function, or a typedef name. If the declared entity uses the type directly, such as in struct dummy {...}; typedef struct {...} dummy; extern struct {...} *dummy; extern void dummy (struct {...} *); extern struct {...} *dummy (void); two uses of the verify macro would yield colliding declarations if the entity names are not disambiguated. A workaround is to attach the current line number to the entity name: #define _GL_CONCAT0(x, y) x##y #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) extern struct {...} * _GL_CONCAT (dummy, __LINE__); But this has the problem that two invocations of verify from within the same macro would collide, since the __LINE__ value would be the same for both invocations. (The GCC __COUNTER__ macro solves this problem, but is not portable.) A solution is to use the sizeof operator. It yields a number, getting rid of the identity of the type. Declarations like extern int dummy [sizeof (struct {...})]; extern void dummy (int [sizeof (struct {...})]); extern int (*dummy (void)) [sizeof (struct {...})]; can be repeated. * Should the implementation use a named struct or an unnamed struct? Which of the following alternatives can be used? extern int dummy [sizeof (struct {...})]; extern int dummy [sizeof (struct _gl_verify_type {...})]; extern void dummy (int [sizeof (struct {...})]); extern void dummy (int [sizeof (struct _gl_verify_type {...})]); extern int (*dummy (void)) [sizeof (struct {...})]; extern int (*dummy (void)) [sizeof (struct _gl_verify_type {...})]; In the second and sixth case, the struct type is exported to the outer scope; two such declarations therefore collide. GCC warns about the first, third, and fourth cases. So the only remaining possibility is the fifth case: extern int (*dummy (void)) [sizeof (struct {...})]; * GCC warns about duplicate declarations of the dummy function if -Wredundant-decls is used. GCC 4.3 and later have a builtin __COUNTER__ macro that can let us generate unique identifiers for each dummy function, to suppress this warning. * This implementation exploits the fact that older versions of GCC, which do not support _Static_assert, also do not warn about the last declaration mentioned above. * GCC warns if -Wnested-externs is enabled and 'verify' is used within a function body; but inside a function, you can always arrange to use verify_expr instead. * In C++, any struct definition inside sizeof is invalid. Use a template type to work around the problem. */ /* Concatenate two preprocessor tokens. */ #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) #define _GL_CONCAT0(x, y) x##y /* _GL_COUNTER is an integer, preferably one that changes each time we use it. Use __COUNTER__ if it works, falling back on __LINE__ otherwise. __LINE__ isn't perfect, but it's better than a constant. */ #if defined __COUNTER__ && __COUNTER__ != __COUNTER__ # define _GL_COUNTER __COUNTER__ #else # define _GL_COUNTER __LINE__ #endif /* Generate a symbol with the given prefix, making it unique if possible. */ #define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER) /* Verify requirement R at compile-time, as an integer constant expression that returns 1. If R is false, fail at compile-time, preferably with a diagnostic that includes the string-literal DIAGNOSTIC. */ #define _GL_VERIFY_TRUE(R, DIAGNOSTIC) \ (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC))) #ifdef __cplusplus # if !GNULIB_defined_struct__gl_verify_type template struct _gl_verify_type { unsigned int _gl_verify_error_if_negative: w; }; # define GNULIB_defined_struct__gl_verify_type 1 # endif # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ _gl_verify_type<(R) ? 1 : -1> #elif defined _GL_HAVE__STATIC_ASSERT # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ struct { \ _Static_assert (R, DIAGNOSTIC); \ int _gl_dummy; \ } #else # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; } #endif /* Verify requirement R at compile-time, as a declaration without a trailing ';'. If R is false, fail at compile-time. This macro requires three or more arguments but uses at most the first two, so that the _Static_assert macro optionally defined below supports both the C11 two-argument syntax and the C23 one-argument syntax. Unfortunately, unlike C11, this implementation must appear as an ordinary declaration, and cannot appear inside struct { ... }. */ #if 202311 <= __STDC_VERSION__ || 200410 <= __cpp_static_assert # define _GL_VERIFY(R, DIAGNOSTIC, ...) static_assert (R, DIAGNOSTIC) #elif defined _GL_HAVE__STATIC_ASSERT # define _GL_VERIFY(R, DIAGNOSTIC, ...) _Static_assert (R, DIAGNOSTIC) #else # define _GL_VERIFY(R, DIAGNOSTIC, ...) \ extern int (*_GL_GENSYM (_gl_verify_function) (void)) \ [_GL_VERIFY_TRUE (R, DIAGNOSTIC)] # if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) && !defined __clang__ # pragma GCC diagnostic ignored "-Wnested-externs" # endif #endif /* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h. */ #ifdef _GL_STATIC_ASSERT_H /* Define _Static_assert if needed. */ /* With clang ≥ 3.8.0 in C++ mode, _Static_assert already works and accepts 1 or 2 arguments. We better don't override it, because clang's standard C++ library uses static_assert inside classes in several places, and our replacement via _GL_VERIFY does not work in these contexts. */ # if (defined __cplusplus && defined __clang__ \ && (4 <= __clang_major__ + (8 <= __clang_minor__))) # if 5 <= __clang_major__ /* Avoid "warning: 'static_assert' with no message is a C++17 extension". */ # pragma clang diagnostic ignored "-Wc++17-extensions" # else /* Avoid "warning: static_assert with no message is a C++1z extension". */ # pragma clang diagnostic ignored "-Wc++1z-extensions" # endif # elif !defined _GL_HAVE__STATIC_ASSERT1 && !defined _Static_assert # if !defined _MSC_VER || defined __clang__ # define _Static_assert(...) \ _GL_VERIFY (__VA_ARGS__, "static assertion failed", -) # else # if defined __cplusplus && _MSC_VER >= 1910 /* In MSVC 14.1 or newer, static_assert accepts one or two arguments, but _Static_assert is not defined. */ # define _Static_assert static_assert # else /* Work around MSVC preprocessor incompatibility with ISO C; see . */ # define _Static_assert(R, ...) \ _GL_VERIFY ((R), "static assertion failed", -) # endif # endif # endif /* Define static_assert if needed. */ # if defined __cplusplus && defined __clang__ && __clang_major__ < 9 /* clang++ before commit 5c739665a8721228cf6143fd4ef95870a59f55ae had a two-arguments static_assert but not the one-argument static_assert. */ # undef static_assert # endif # if (!defined static_assert \ && __STDC_VERSION__ < 202311 \ && (!defined __cplusplus \ || (__cpp_static_assert < 201411 \ && __GNUG__ < 6 && __clang_major__ < 6 && _MSC_VER < 1910))) # if (defined __cplusplus && defined __GNUG__ && __GNUG__ < 6 \ && __cplusplus == 201103L && !defined __clang__) /* g++ >= 4.7, < 6 with option -std=c++11 or -std=gnu++11 supports the two-arguments static_assert but not the one-argument static_assert, and it does not support _Static_assert. We have to play preprocessor tricks to distinguish the two cases. */ # define _GL_SA1(a1) static_assert ((a1), "static assertion failed") # define _GL_SA2 static_assert # define _GL_SA3 static_assert # define _GL_SA_PICK(x1,x2,x3,x4,...) x4 # define static_assert(...) _GL_SA_PICK(__VA_ARGS__,_GL_SA3,_GL_SA2,_GL_SA1) (__VA_ARGS__) # elif defined __cplusplus && _MSC_VER >= 1900 && !defined __clang__ /* MSVC 14 in C++ mode supports the two-arguments static_assert but not the one-argument static_assert, and it does not support _Static_assert. We have to play preprocessor tricks to distinguish the two cases. Since the MSVC preprocessor is not ISO C compliant (see above), the solution is specific to MSVC. */ # define _GL_EXPAND(x) x # define _GL_SA1(a1) static_assert ((a1), "static assertion failed") # define _GL_SA2 static_assert # define _GL_SA3 static_assert # define _GL_SA_PICK(x1,x2,x3,x4,...) x4 # define static_assert(...) _GL_EXPAND(_GL_SA_PICK(__VA_ARGS__,_GL_SA3,_GL_SA2,_GL_SA1)) (__VA_ARGS__) /* Avoid "fatal error C1189: #error: The C++ Standard Library forbids macroizing keywords." */ # define _ALLOW_KEYWORD_MACROS 1 # else # define static_assert _Static_assert /* C11 requires this #define. */ # endif # endif #endif /* @assert.h omit start@ */ #if defined __clang_major__ && __clang_major__ < 5 # define _GL_HAS_BUILTIN_TRAP 0 #elif 3 < __GNUC__ + (3 < __GNUC_MINOR__ + (4 <= __GNUC_PATCHLEVEL__)) # define _GL_HAS_BUILTIN_TRAP 1 #elif defined __has_builtin # define _GL_HAS_BUILTIN_TRAP __has_builtin (__builtin_trap) #else # define _GL_HAS_BUILTIN_TRAP 0 #endif #ifndef _GL_HAS_BUILTIN_UNREACHABLE # if defined __clang_major__ && __clang_major__ < 5 # define _GL_HAS_BUILTIN_UNREACHABLE 0 # elif 4 < __GNUC__ + (5 <= __GNUC_MINOR__) && !defined __clang__ # define _GL_HAS_BUILTIN_UNREACHABLE 1 # elif defined __has_builtin # define _GL_HAS_BUILTIN_UNREACHABLE __has_builtin (__builtin_unreachable) # else # define _GL_HAS_BUILTIN_UNREACHABLE 0 # endif #endif /* Each of these macros verifies that its argument R is nonzero. To be portable, R should be an integer constant expression. Unlike assert (R), there is no run-time overhead. There are two macros, since no single macro can be used in all contexts in C. verify_expr (R, E) is for scalar contexts, including integer constant expression contexts. verify (R) is for declaration contexts, e.g., the top level. */ /* Verify requirement R at compile-time. Return the value of the expression E. */ #define verify_expr(R, E) \ (_GL_VERIFY_TRUE (R, "verify_expr (" #R ", " #E ")") ? (E) : (E)) /* Verify requirement R at compile-time, as a declaration without a trailing ';'. verify (R) acts like static_assert (R) except that it is portable to C11/C++14 and earlier, it can issue better diagnostics, and its name is shorter and may be more convenient. */ #ifdef __PGI /* PGI barfs if R is long. */ # define verify(R) _GL_VERIFY (R, "verify (...)", -) #else # define verify(R) _GL_VERIFY (R, "verify (" #R ")", -) #endif /* Assume that R always holds. Behavior is undefined if R is false, fails to evaluate, or has side effects. 'assume (R)' is a directive from the programmer telling the compiler that R is true so the compiler needn't generate code to test R. This is why 'assume' is in verify.h: it's related to static checking (in this case, static checking done by the programmer), not dynamic checking. 'assume (R)' can affect compilation of all the code, not just code that happens to be executed after the assume (R) is "executed". For example, if the code mistakenly does 'assert (R); assume (R);' the compiler is entitled to optimize away the 'assert (R)'. Although assuming R can help a compiler generate better code or diagnostics, performance can suffer if R uses hard-to-optimize features such as function calls not inlined by the compiler. Avoid Clang's __builtin_assume, as it breaks GNU Emacs master as of 2020-08-23T21:09:49Z!eggert@cs.ucla.edu; see . It's not known whether this breakage is a Clang bug or an Emacs bug; play it safe for now. */ #if _GL_HAS_BUILTIN_UNREACHABLE # define assume(R) ((R) ? (void) 0 : __builtin_unreachable ()) #elif 1200 <= _MSC_VER # define assume(R) __assume (R) #elif 202311 <= __STDC_VERSION__ # include # define assume(R) ((R) ? (void) 0 : unreachable ()) #elif (defined GCC_LINT || defined lint) && _GL_HAS_BUILTIN_TRAP /* Doing it this way helps various packages when configured with --enable-gcc-warnings, which compiles with -Dlint. It's nicer if 'assume' silences warnings with GCC 3.4 through GCC 4.4.7 (2012). */ # define assume(R) ((R) ? (void) 0 : __builtin_trap ()) #else /* Some older tools grok NOTREACHED, e.g., Oracle Studio 12.6 (2017). */ # define assume(R) ((R) ? (void) 0 : /*NOTREACHED*/ (void) 0) #endif /* @assert.h omit end@ */ #endif datamash-1.9/lib/version-etc.c0000644000000000000000000002232014767401140011747 /* Print --version and bug-reporting information in a consistent format. Copyright (C) 1999-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Jim Meyering. */ #include /* Specification. */ #include "version-etc.h" #include #include #if USE_UNLOCKED_IO # include "unlocked-io.h" #endif #include "gettext.h" #define _(msgid) dgettext ("gnulib", msgid) /* If you use AM_INIT_AUTOMAKE's no-define option, PACKAGE is not defined. Use PACKAGE_TARNAME instead. */ #if ! defined PACKAGE && defined PACKAGE_TARNAME # define PACKAGE PACKAGE_TARNAME #endif enum { COPYRIGHT_YEAR = 2025 }; /* The three functions below display the --version information the standard way. If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION or COMMAND_NAME (PACKAGE) VERSION. The functions differ in the way they are passed author names. */ /* Display the --version information the standard way. Author names are given in the array AUTHORS. N_AUTHORS is the number of elements in the array. */ void version_etc_arn (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors, size_t n_authors) { if (command_name) fprintf (stream, "%s (%s) %s\n", command_name, package, version); else fprintf (stream, "%s %s\n", package, version); #ifdef PACKAGE_PACKAGER # ifdef PACKAGE_PACKAGER_VERSION fprintf (stream, _("Packaged by %s (%s)\n"), PACKAGE_PACKAGER, PACKAGE_PACKAGER_VERSION); # else fprintf (stream, _("Packaged by %s\n"), PACKAGE_PACKAGER); # endif #endif /* TRANSLATORS: Translate "(C)" to the copyright symbol (C-in-a-circle), if this symbol is available in the user's locale. Otherwise, do not translate "(C)"; leave it as-is. */ fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR); fputs ("\n", stream); /* TRANSLATORS: The %s placeholder is the web address of the GPL license. */ fprintf (stream, _("\ License GPLv3+: GNU GPL version 3 or later <%s>.\n\ This is free software: you are free to change and redistribute it.\n\ There is NO WARRANTY, to the extent permitted by law.\n\ "), "https://gnu.org/licenses/gpl.html"); fputs ("\n", stream); switch (n_authors) { case 0: /* No authors are given. The caller should output authorship info after calling this function. */ break; case 1: /* TRANSLATORS: %s denotes an author name. */ fprintf (stream, _("Written by %s.\n"), authors[0]); break; case 2: /* TRANSLATORS: Each %s denotes an author name. */ fprintf (stream, _("Written by %s and %s.\n"), authors[0], authors[1]); break; case 3: /* TRANSLATORS: Each %s denotes an author name. */ fprintf (stream, _("Written by %s, %s, and %s.\n"), authors[0], authors[1], authors[2]); break; case 4: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\nand %s.\n"), authors[0], authors[1], authors[2], authors[3]); break; case 5: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\n%s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4]); break; case 6: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\n%s, %s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5]); break; case 7: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("Written by %s, %s, %s,\n%s, %s, %s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6]); break; case 8: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("\ Written by %s, %s, %s,\n%s, %s, %s, %s,\nand %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6], authors[7]); break; case 9: /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("\ Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, and %s.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6], authors[7], authors[8]); break; default: /* 10 or more authors. Use an abbreviation, since the human reader will probably not want to read the entire list anyway. */ /* TRANSLATORS: Each %s denotes an author name. You can use line breaks, estimating that each author name occupies ca. 16 screen columns and that a screen line has ca. 80 columns. */ fprintf (stream, _("\ Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, %s, and others.\n"), authors[0], authors[1], authors[2], authors[3], authors[4], authors[5], authors[6], authors[7], authors[8]); break; } } /* Display the --version information the standard way. See the initial comment to this module, for more information. Author names are given in the NULL-terminated array AUTHORS. */ void version_etc_ar (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors) { size_t n_authors; for (n_authors = 0; authors[n_authors]; n_authors++) ; version_etc_arn (stream, command_name, package, version, authors, n_authors); } /* Display the --version information the standard way. See the initial comment to this module, for more information. Author names are given in the NULL-terminated va_list AUTHORS. */ void version_etc_va (FILE *stream, const char *command_name, const char *package, const char *version, va_list authors) { size_t n_authors; const char *authtab[10]; for (n_authors = 0; n_authors < 10 && (authtab[n_authors] = va_arg (authors, const char *)) != NULL; n_authors++) ; version_etc_arn (stream, command_name, package, version, authtab, n_authors); } /* Display the --version information the standard way. If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION or COMMAND_NAME (PACKAGE) VERSION. The authors names are passed as separate arguments, with an additional NULL argument at the end. */ void version_etc (FILE *stream, const char *command_name, const char *package, const char *version, /* const char *author1, ...*/ ...) { va_list authors; va_start (authors, version); version_etc_va (stream, command_name, package, version, authors); va_end (authors); } void emit_bug_reporting_address (void) { fputs ("\n", stdout); /* TRANSLATORS: The placeholder indicates the bug-reporting address for this package. Please add _another line_ saying "Report translation bugs to <...>\n" with the address for translation bugs (typically your translation team's web or email address). */ printf (_("Report bugs to: %s\n"), PACKAGE_BUGREPORT); #ifdef PACKAGE_PACKAGER_BUG_REPORTS printf (_("Report %s bugs to: %s\n"), PACKAGE_PACKAGER, PACKAGE_PACKAGER_BUG_REPORTS); #endif #ifdef PACKAGE_URL printf (_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL); #else printf (_("%s home page: <%s>\n"), PACKAGE_NAME, "https://www.gnu.org/software/" PACKAGE "/"); #endif printf (_("General help using GNU software: <%s>\n"), "https://www.gnu.org/gethelp/"); } datamash-1.9/lib/version-etc.h0000644000000000000000000000553514767401140011765 /* Print --version and bug-reporting information in a consistent format. Copyright (C) 1999, 2003, 2005, 2009-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Jim Meyering. */ #ifndef VERSION_ETC_H # define VERSION_ETC_H 1 /* This file uses _GL_ATTRIBUTE_SENTINEL. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include # include # ifdef __cplusplus extern "C" { # endif extern const char version_etc_copyright[]; /* The three functions below display the --version information in the standard way: command and package names, package version, followed by a short GPLv3+ notice and a list of up to 10 author names. If COMMAND_NAME is NULL, the PACKAGE is assumed to be the name of the program. The formats are therefore: PACKAGE VERSION or COMMAND_NAME (PACKAGE) VERSION. The functions differ in the way they are passed author names: */ /* N_AUTHORS names are supplied in array AUTHORS. */ extern void version_etc_arn (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors, size_t n_authors); /* Names are passed in the NULL-terminated array AUTHORS. */ extern void version_etc_ar (FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors); /* Names are passed in the NULL-terminated va_list. */ extern void version_etc_va (FILE *stream, const char *command_name, const char *package, const char *version, va_list authors); /* Names are passed as separate arguments, with an additional NULL argument at the end. */ extern void version_etc (FILE *stream, const char *command_name, const char *package, const char *version, /* const char *author1, ..., NULL */ ...) _GL_ATTRIBUTE_SENTINEL ((0)); /* Display the usual "Report bugs to" stanza. */ extern void emit_bug_reporting_address (void); # ifdef __cplusplus } # endif #endif /* VERSION_ETC_H */ datamash-1.9/lib/vsnzprintf.c0000644000000000000000000000312414767401140011735 /* Formatted output to strings. Copyright (C) 2004, 2006-2025 Free Software Foundation, Inc. Written by Simon Josefsson and Yoann Vandoorselaere . This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifdef HAVE_CONFIG_H # include #endif /* Specification. */ #include #include #include #include #include #include #include "vasnprintf.h" ptrdiff_t vsnzprintf (char *str, size_t size, const char *format, va_list args) { char *output; size_t len; size_t lenbuf = size; output = vasnprintf (str, &lenbuf, format, args); len = lenbuf; if (!output) return -1; if (output != str) { if (size) { size_t pruned_len = (len < size ? len : size - 1); memcpy (str, output, pruned_len); str[pruned_len] = '\0'; } free (output); } if (len > PTRDIFF_MAX) { errno = ENOMEM; return -1; } return len; } datamash-1.9/lib/waitpid.c0000644000000000000000000000201614767401140011152 /* Wait for process state change. Copyright (C) 2001-2003, 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Implementation for native Windows systems. */ #include /* for _cwait, WAIT_CHILD */ pid_t waitpid (pid_t pid, int *statusp, int options) { return _cwait (statusp, pid, WAIT_CHILD); } datamash-1.9/lib/warn-on-use.h0000644000000000000000000001616114767401140011677 /* A C macro for emitting warnings if a function is used. Copyright (C) 2010-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* _GL_WARN_ON_USE (function, "literal string") issues a declaration for FUNCTION which will then trigger a compiler warning containing the text of "literal string" anywhere that function is called, if supported by the compiler. If the compiler does not support this feature, the macro expands to an unused extern declaration. _GL_WARN_ON_USE_ATTRIBUTE ("literal string") expands to the attribute used in _GL_WARN_ON_USE. If the compiler does not support this feature, it expands to empty. These macros are useful for marking a function as a potential portability trap, with the intent that "literal string" include instructions on the replacement function that should be used instead. _GL_WARN_ON_USE is for functions with 'extern' linkage. _GL_WARN_ON_USE_ATTRIBUTE is for functions with 'static' or 'inline' linkage. _GL_WARN_ON_USE should not be used more than once for a given function in a given compilation unit (because this may generate a warning even if the function is never called). However, one of the reasons that a function is a portability trap is if it has the wrong signature. Declaring FUNCTION with a different signature in C is a compilation error, so this macro must use the same type as any existing declaration so that programs that avoid the problematic FUNCTION do not fail to compile merely because they included a header that poisoned the function. But this implies that _GL_WARN_ON_USE is only safe to use if FUNCTION is known to already have a declaration. Use of this macro implies that there must not be any other macro hiding the declaration of FUNCTION; but undefining FUNCTION first is part of the poisoning process anyway (although for symbols that are provided only via a macro, the result is a compilation error rather than a warning containing "literal string"). Also note that in C++, it is only safe to use if FUNCTION has no overloads. For an example, it is possible to poison 'getline' by: - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], [getline]) in configure.ac, which potentially defines HAVE_RAW_DECL_GETLINE - adding this code to a header that wraps the system : #undef getline #if HAVE_RAW_DECL_GETLINE _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" "not universally present; use the gnulib module getline"); #endif It is not possible to directly poison global variables. But it is possible to write a wrapper accessor function, and poison that (less common usage, like &environ, will cause a compilation error rather than issue the nice warning, but the end result of informing the developer about their portability problem is still achieved): #if HAVE_RAW_DECL_ENVIRON static char *** rpl_environ (void) { return &environ; } _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); # undef environ # define environ (*rpl_environ ()) #endif or better (avoiding contradictory use of 'static' and 'extern'): #if HAVE_RAW_DECL_ENVIRON static char *** _GL_WARN_ON_USE_ATTRIBUTE ("environ is not always properly declared") rpl_environ (void) { return &environ; } # undef environ # define environ (*rpl_environ ()) #endif */ #ifndef _GL_WARN_ON_USE # if (4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)) && !defined __clang__ /* A compiler attribute is available in gcc versions 4.3.0 and later. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C __typeof__ (function) function __attribute__ ((__warning__ (message))) # define _GL_WARN_ON_USE_ATTRIBUTE(message) \ __attribute__ ((__warning__ (message))) # elif __clang_major__ >= 4 /* Another compiler attribute is available in clang. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C __typeof__ (function) function \ __attribute__ ((__diagnose_if__ (1, message, "warning"))) # define _GL_WARN_ON_USE_ATTRIBUTE(message) \ __attribute__ ((__diagnose_if__ (1, message, "warning"))) # elif (__GNUC__ >= 3 || defined __clang__) && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C __typeof__ (function) function # define _GL_WARN_ON_USE_ATTRIBUTE(message) # else /* Unsupported. */ # define _GL_WARN_ON_USE(function, message) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # define _GL_WARN_ON_USE_ATTRIBUTE(message) # endif #endif /* _GL_WARN_ON_USE_CXX (function, rettype_gcc, rettype_clang, parameters_and_attributes, "message") is like _GL_WARN_ON_USE (function, "message"), except that in C++ mode the function is declared with the given prototype, consisting of return type, parameters, and attributes. This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does not work in this case. */ #ifndef _GL_WARN_ON_USE_CXX # if !defined __cplusplus # define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ _GL_WARN_ON_USE (function, msg) # else # if (4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)) && !defined __clang__ /* A compiler attribute is available in gcc versions 4.3.0 and later. */ # define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ extern rettype_gcc function parameters_and_attributes \ __attribute__ ((__warning__ (msg))) # elif __clang_major__ >= 4 /* Another compiler attribute is available in clang. */ # define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ extern rettype_clang function parameters_and_attributes \ __attribute__ ((__diagnose_if__ (1, msg, "warning"))) # elif (__GNUC__ >= 3 || defined __clang__) && GNULIB_STRICT_CHECKING /* Verify the existence of the function. */ # define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ extern rettype_gcc function parameters_and_attributes # else /* Unsupported. */ # define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) \ _GL_WARN_EXTERN_C int _gl_warn_on_use # endif # endif #endif /* _GL_WARN_EXTERN_C declaration; performs the declaration with C linkage. */ #ifndef _GL_WARN_EXTERN_C # if defined __cplusplus # define _GL_WARN_EXTERN_C extern "C" # else # define _GL_WARN_EXTERN_C extern # endif #endif datamash-1.9/lib/wchar.in.h0000644000000000000000000016500714767401140011241 /* A substitute for ISO C99 , for platforms that have issues. Copyright (C) 2007-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Eric Blake. */ /* * ISO C 99 for platforms that have issues. * * * For now, this just ensures proper prerequisite inclusion order and * the declaration of wcwidth(). */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (((defined __need_mbstate_t || defined __need_wint_t) \ && !defined __MINGW32__) \ || (defined __hpux \ && ((defined _INTTYPES_INCLUDED \ && !defined _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H) \ || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) \ || (defined __MINGW32__ && defined __STRING_H_SOURCED__) \ || defined _@GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H) /* Special invocation convention: - Inside glibc and uClibc header files, but not MinGW. - On HP-UX 11.00 we have a sequence of nested includes -> -> , and the latter includes , once indirectly -> -> -> and once directly. In both situations 'wint_t' is not yet defined, therefore we cannot provide the function overrides; instead include only the system's . - With MinGW 3.22, when includes , only some part of is actually processed, and that doesn't include 'mbstate_t'. - On IRIX 6.5, similarly, we have an include -> , and the latter includes . But here, we have no way to detect whether is completely included or is still being included. */ #@INCLUDE_NEXT@ @NEXT_WCHAR_H@ /* The glibc 2.5 /usr/include/wchar.h defines __need_wint_t but never undefines it. We need to do that here. */ #undef __need_wint_t #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_WCHAR_H #define _@GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H #if @HAVE_FEATURES_H@ # include /* for __GLIBC__ */ #endif /* In some builds of uClibc, is nonexistent and wchar_t is defined by . But avoid namespace pollution on glibc systems. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include #endif /* Include the original if it exists. Some builds of uClibc lack it. */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_WCHAR_H@ # @INCLUDE_NEXT@ @NEXT_WCHAR_H@ #endif #undef _@GUARD_PREFIX@_ALREADY_INCLUDING_WCHAR_H #ifndef _@GUARD_PREFIX@_WCHAR_H #define _@GUARD_PREFIX@_WCHAR_H /* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_NOTHROW, _GL_ATTRIBUTE_PURE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. */ #ifndef _GL_ATTRIBUTE_DEALLOC # if __GNUC__ >= 11 && !defined __clang__ # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) # else # define _GL_ATTRIBUTE_DEALLOC(f, i) # endif #endif /* _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that can be freed via 'free'; it can be used only after declaring 'free'. */ /* Applies to: functions. Cannot be used on inline functions. */ #ifndef _GL_ATTRIBUTE_DEALLOC_FREE # if defined __cplusplus && defined __GNUC__ && !defined __clang__ /* Work around GCC bug */ # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1) # else # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC (free, 1) # endif #endif /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly allocated memory. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_MALLOC # if __GNUC__ >= 3 || defined __clang__ # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) # else # define _GL_ATTRIBUTE_MALLOC # endif #endif /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #ifndef _GL_ATTRIBUTE_PURE # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE /* empty */ # endif #endif /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 2) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 3) || defined __clang__ # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Define wint_t and WEOF. (Also done in wctype.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int # ifndef WEOF # define WEOF -1 # endif #else /* mingw and MSVC define wint_t as 'unsigned short' in or . This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be "unchanged by default argument promotions". Override it. */ # if @GNULIBHEADERS_OVERRIDE_WINT_T@ # if !GNULIB_defined_wint_t # if @HAVE_CRTDEFS_H@ # include # else # include # endif typedef unsigned int rpl_wint_t; # undef wint_t # define wint_t rpl_wint_t # define GNULIB_defined_wint_t 1 # endif # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif #endif /* Override mbstate_t if it is too small. On IRIX 6.5, sizeof (mbstate_t) == 1, which is not sufficient for implementing mbrtowc for encodings like UTF-8. On AIX, MSVC, and OpenBSD 6.0, mbrtowc needs to be overridden, but mbstate_t exists and is large enough and overriding it would cause problems in C++ mode. */ #if !(((defined _WIN32 && !defined __CYGWIN__) || @HAVE_MBSINIT@) && @HAVE_MBRTOWC@) || @REPLACE_MBSTATE_T@ # if !GNULIB_defined_mbstate_t # if !(defined _AIX || defined _MSC_VER || defined __OpenBSD__) typedef int rpl_mbstate_t; # undef mbstate_t # define mbstate_t rpl_mbstate_t # endif # define GNULIB_defined_mbstate_t 1 # endif #endif /* Make _GL_ATTRIBUTE_DEALLOC_FREE work, even though may not have been included yet. */ #if @GNULIB_FREE_POSIX@ # if (@REPLACE_FREE@ && !defined free \ && !(defined __cplusplus && defined GNULIB_NAMESPACE)) /* We can't do '#define free rpl_free' here. */ # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_EXTERN_C void rpl_free (void *) _GL_ATTRIBUTE_NOTHROW; # else _GL_EXTERN_C void rpl_free (void *); # endif # undef _GL_ATTRIBUTE_DEALLOC_FREE # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (rpl_free, 1) # else # if defined _MSC_VER && !defined free _GL_EXTERN_C # if defined _DLL __declspec (dllimport) # endif void __cdecl free (void *); # else # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_EXTERN_C void free (void *) _GL_ATTRIBUTE_NOTHROW; # else _GL_EXTERN_C void free (void *); # endif # endif # endif #else # if defined _MSC_VER && !defined free _GL_EXTERN_C # if defined _DLL __declspec (dllimport) # endif void __cdecl free (void *); # else # if defined __cplusplus && (__GLIBC__ + (__GLIBC_MINOR__ >= 14) > 2) _GL_EXTERN_C void free (void *) _GL_ATTRIBUTE_NOTHROW; # else _GL_EXTERN_C void free (void *); # endif # endif #endif #if @GNULIB_MBSZERO@ /* Get memset(). */ # include #endif /* Convert a single-byte character to a wide character. */ #if @GNULIB_BTOWC@ # if @REPLACE_BTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef btowc # define btowc rpl_btowc # endif _GL_FUNCDECL_RPL (btowc, wint_t, (int c), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (btowc, wint_t, (int c)); # else # if !@HAVE_BTOWC@ _GL_FUNCDECL_SYS (btowc, wint_t, (int c), _GL_ATTRIBUTE_PURE); # endif /* Need to cast, because on mingw, the return type is 'unsigned short'. */ _GL_CXXALIAS_SYS_CAST (btowc, wint_t, (int c)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (btowc); # endif #elif defined GNULIB_POSIXCHECK # undef btowc # if HAVE_RAW_DECL_BTOWC _GL_WARN_ON_USE (btowc, "btowc is unportable - " "use gnulib module btowc for portability"); # endif #endif /* Convert a wide character to a single-byte character. */ #if @GNULIB_WCTOB@ # if @REPLACE_WCTOB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctob # define wctob rpl_wctob # endif _GL_FUNCDECL_RPL (wctob, int, (wint_t wc), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wctob, int, (wint_t wc)); # else # if !defined wctob && !@HAVE_DECL_WCTOB@ /* wctob is provided by gnulib, or wctob exists but is not declared. */ _GL_FUNCDECL_SYS (wctob, int, (wint_t wc), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wctob, int, (wint_t wc)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wctob); # endif #elif defined GNULIB_POSIXCHECK # undef wctob # if HAVE_RAW_DECL_WCTOB _GL_WARN_ON_USE (wctob, "wctob is unportable - " "use gnulib module wctob for portability"); # endif #endif /* Test whether *PS is in an initial state. */ #if @GNULIB_MBSINIT@ # if @REPLACE_MBSINIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsinit # define mbsinit rpl_mbsinit # endif _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps), ); _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps)); # else # if !@HAVE_MBSINIT@ _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps), ); # endif _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbsinit); # endif #elif defined GNULIB_POSIXCHECK # undef mbsinit # if HAVE_RAW_DECL_MBSINIT _GL_WARN_ON_USE (mbsinit, "mbsinit is unportable - " "use gnulib module mbsinit for portability"); # endif #endif /* Put *PS into an initial state. */ #if @GNULIB_MBSZERO@ /* ISO C 23 § 7.31.6.(3) says that zeroing an mbstate_t is a way to put the mbstate_t into an initial state. However, on many platforms an mbstate_t is large, and it is possible - as an optimization - to get away with zeroing only part of it. So, instead of mbstate_t state = { 0 }; or mbstate_t state; memset (&state, 0, sizeof (mbstate_t)); we can write this faster code: mbstate_t state; mbszero (&state); */ /* _GL_MBSTATE_INIT_SIZE describes how mbsinit() behaves: It is the number of bytes at the beginning of an mbstate_t that need to be zero, for mbsinit() to return true. _GL_MBSTATE_ZERO_SIZE is the number of bytes at the beginning of an mbstate_t that need to be zero, - for mbsinit() to return true, and - for all other multibyte-aware functions to operate properly. 0 < _GL_MBSTATE_INIT_SIZE <= _GL_MBSTATE_ZERO_SIZE <= sizeof (mbstate_t). These values are determined by source code inspection, where possible, and by running the gnulib unit tests. We need _GL_MBSTATE_INIT_SIZE because if we define _GL_MBSTATE_ZERO_SIZE without considering what mbsinit() does, we get test failures such as assertion "mbsinit (&iter->state)" failed */ # if GNULIB_defined_mbstate_t /* AIX, IRIX */ /* mbstate_t has at least 4 bytes. They are used as coded in gnulib/lib/mbrtowc.c. */ # define _GL_MBSTATE_INIT_SIZE 1 /* define _GL_MBSTATE_ZERO_SIZE 4 does not work: it causes test failures. So, use the safe fallback value, below. */ # elif __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 /* glibc */ /* mbstate_t is defined in . For more details, see glibc/iconv/skeleton.c. */ # define _GL_MBSTATE_INIT_SIZE 4 /* sizeof (((mbstate_t) {0}).__count) */ # define _GL_MBSTATE_ZERO_SIZE /* 8 */ sizeof (mbstate_t) # elif defined MUSL_LIBC /* musl libc */ /* mbstate_t is defined in . It is an opaque aligned 8-byte struct, of which at most the first 4 bytes are used. For more details, see src/multibyte/mbrtowc.c. */ # define _GL_MBSTATE_INIT_SIZE 4 /* sizeof (unsigned) */ # define _GL_MBSTATE_ZERO_SIZE 4 # elif defined __APPLE__ && defined __MACH__ /* macOS */ /* On macOS, mbstate_t is defined in . It is an opaque aligned 128-byte struct, of which at most the first 12 bytes are used. For more details, see the __mbsinit implementations in Libc-/locale/FreeBSD/ {ascii,none,euc,mskanji,big5,gb2312,gbk,gb18030,utf8,utf2}.c. */ /* File INIT_SIZE ZERO_SIZE ascii.c 0 0 none.c 0 0 euc.c 12 12 mskanji.c 4 4 big5.c 4 4 gb2312.c 4 6 gbk.c 4 4 gb18030.c 4 8 utf8.c 8 10 utf2.c 8 12 */ # define _GL_MBSTATE_INIT_SIZE 12 # define _GL_MBSTATE_ZERO_SIZE 12 # elif defined __FreeBSD__ /* FreeBSD */ /* On FreeBSD, mbstate_t is defined in src/sys/sys/_types.h. It is an opaque aligned 128-byte struct, of which at most the first 12 bytes are used. For more details, see the __mbsinit implementations in src/lib/libc/locale/ {ascii,none,euc,mskanji,big5,gb2312,gbk,gb18030,utf8}.c. */ /* File INIT_SIZE ZERO_SIZE ascii.c 0 0 none.c 0 0 euc.c 12 12 mskanji.c 4 4 big5.c 4 4 gb2312.c 4 6 gbk.c 4 4 gb18030.c 4 8 utf8.c 8 12 */ # define _GL_MBSTATE_INIT_SIZE 12 # define _GL_MBSTATE_ZERO_SIZE 12 # elif defined __NetBSD__ /* NetBSD */ /* On NetBSD, mbstate_t is defined in src/sys/sys/ansi.h. It is an opaque aligned 128-byte struct, of which at most the first 28 bytes are used. For more details, see the *State types in src/lib/libc/citrus/modules/citrus_*.c (ignoring citrus_{hz,iso2022,utf7,viqr,zw}.c, since these implement stateful encodings, not usable as locale encodings). */ /* File ZERO_SIZE citrus/citrus_none.c 0 citrus/modules/citrus_euc.c 8 citrus/modules/citrus_euctw.c 8 citrus/modules/citrus_mskanji.c 8 citrus/modules/citrus_big5.c 8 citrus/modules/citrus_gbk2k.c 8 citrus/modules/citrus_dechanyu.c 8 citrus/modules/citrus_johab.c 6 citrus/modules/citrus_utf8.c 12 */ /* But 12 is not the correct value for _GL_MBSTATE_ZERO_SIZE: we get test failures for values < 28. */ # define _GL_MBSTATE_ZERO_SIZE 28 # elif defined __OpenBSD__ /* OpenBSD */ /* On OpenBSD, mbstate_t is defined in src/sys/sys/_types.h. It is an opaque aligned 128-byte struct, of which at most the first 12 bytes are used. For more details, see src/lib/libc/citrus/citrus_*.c. */ /* File INIT_SIZE ZERO_SIZE citrus_none.c 0 0 citrus_utf8.c 12 12 */ # define _GL_MBSTATE_INIT_SIZE 12 # define _GL_MBSTATE_ZERO_SIZE 12 # elif defined __minix /* Minix */ /* On Minix, mbstate_t is defined in sys/sys/ansi.h. It is an opaque aligned 128-byte struct. For more details, see the *State types in lib/libc/citrus/citrus_*.c. */ /* File INIT_SIZE ZERO_SIZE citrus_none.c 0 0 */ /* But 1 is not the correct value for _GL_MBSTATE_ZERO_SIZE: we get test failures for values < 4. */ # define _GL_MBSTATE_ZERO_SIZE 4 # elif defined __sun /* Solaris */ /* On Solaris, mbstate_t is defined in . It is an opaque aligned 24-byte or 32-byte struct, of which at most the first 20 or 28 bytes are used. For more details on OpenSolaris derivatives, see the *State types in illumos-gate/usr/src/lib/libc/port/locale/ {none,euc,mskanji,big5,gb2312,gbk,gb18030,utf8}.c. */ /* File INIT_SIZE ZERO_SIZE none.c 0 0 euc.c 12 12 mskanji.c 4 4 big5.c 4 4 gb2312.c 4 6 gbk.c 4 4 gb18030.c 4 8 utf8.c 12 12 */ /* But 12 is not the correct value for _GL_MBSTATE_ZERO_SIZE: we get test failures - in OpenIndiana and OmniOS: for values < 16, - in Solaris 10 and 11: for values < 20 (in 32-bit mode) or < 28 (in 64-bit mode). Since we don't have a good way to distinguish the OpenSolaris derivatives from the proprietary Solaris versions, and can't inspect the Solaris source code, use the safe fallback values, below. */ # elif defined __CYGWIN__ /* Cygwin */ /* On Cygwin, mbstate_t is defined in . For more details, see newlib/libc/stdlib/mbtowc_r.c and winsup/cygwin/strfuncs.cc. */ # define _GL_MBSTATE_INIT_SIZE 4 /* sizeof (int) */ # define _GL_MBSTATE_ZERO_SIZE 8 # elif defined _WIN32 && !defined __CYGWIN__ /* Native Windows. */ /* MSVC defines 'mbstate_t' as an aligned 8-byte struct. On mingw, 'mbstate_t' is sometimes defined as 'int', sometimes defined as an aligned 8-byte struct, of which the first 4 bytes matter. Use the safe values, below. */ # elif defined __ANDROID__ /* Android */ /* Android defines 'mbstate_t' in . It is an opaque 4-byte or 8-byte struct. For more details, see bionic/libc/private/bionic_mbstate.h bionic/libc/bionic/mbrtoc32.cpp bionic/libc/bionic/mbrtoc16.cpp */ # define _GL_MBSTATE_INIT_SIZE 4 # define _GL_MBSTATE_ZERO_SIZE 4 # endif /* Use safe values as defaults. */ # ifndef _GL_MBSTATE_INIT_SIZE # define _GL_MBSTATE_INIT_SIZE sizeof (mbstate_t) # endif # ifndef _GL_MBSTATE_ZERO_SIZE # define _GL_MBSTATE_ZERO_SIZE sizeof (mbstate_t) # endif _GL_BEGIN_C_LINKAGE # if !GNULIB_defined_mbszero # if defined IN_MBSZERO _GL_EXTERN_INLINE # else _GL_INLINE # endif _GL_ARG_NONNULL ((1)) void mbszero (mbstate_t *ps) { memset (ps, 0, _GL_MBSTATE_ZERO_SIZE); } # define GNULIB_defined_mbszero 1 # endif _GL_END_C_LINKAGE _GL_CXXALIAS_SYS (mbszero, void, (mbstate_t *ps)); _GL_CXXALIASWARN (mbszero); #endif /* Convert a multibyte character to a wide character. */ #if @GNULIB_MBRTOWC@ # if @REPLACE_MBRTOWC@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrtowc # define mbrtowc rpl_mbrtowc # endif _GL_FUNCDECL_RPL (mbrtowc, size_t, (wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps), ); _GL_CXXALIAS_RPL (mbrtowc, size_t, (wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps)); # else # if !@HAVE_MBRTOWC@ _GL_FUNCDECL_SYS (mbrtowc, size_t, (wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps), ); # endif _GL_CXXALIAS_SYS (mbrtowc, size_t, (wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbrtowc); # endif #elif defined GNULIB_POSIXCHECK # undef mbrtowc # if HAVE_RAW_DECL_MBRTOWC _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - " "use gnulib module mbrtowc for portability"); # endif #endif /* Recognize a multibyte character. */ #if @GNULIB_MBRLEN@ # if @REPLACE_MBRLEN@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbrlen # define mbrlen rpl_mbrlen # endif _GL_FUNCDECL_RPL (mbrlen, size_t, (const char *restrict s, size_t n, mbstate_t *restrict ps), ); _GL_CXXALIAS_RPL (mbrlen, size_t, (const char *restrict s, size_t n, mbstate_t *restrict ps)); # else # if !@HAVE_MBRLEN@ _GL_FUNCDECL_SYS (mbrlen, size_t, (const char *restrict s, size_t n, mbstate_t *restrict ps), ); # endif _GL_CXXALIAS_SYS (mbrlen, size_t, (const char *restrict s, size_t n, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbrlen); # endif #elif defined GNULIB_POSIXCHECK # undef mbrlen # if HAVE_RAW_DECL_MBRLEN _GL_WARN_ON_USE (mbrlen, "mbrlen is unportable - " "use gnulib module mbrlen for portability"); # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSRTOWCS@ # if @REPLACE_MBSRTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsrtowcs # define mbsrtowcs rpl_mbsrtowcs # endif _GL_FUNCDECL_RPL (mbsrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbsrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t len, mbstate_t *restrict ps)); # else # if !@HAVE_MBSRTOWCS@ _GL_FUNCDECL_SYS (mbsrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t len, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbsrtowcs); # endif #elif defined GNULIB_POSIXCHECK # undef mbsrtowcs # if HAVE_RAW_DECL_MBSRTOWCS _GL_WARN_ON_USE (mbsrtowcs, "mbsrtowcs is unportable - " "use gnulib module mbsrtowcs for portability"); # endif #endif /* Convert a string to a wide string. */ #if @GNULIB_MBSNRTOWCS@ # if @REPLACE_MBSNRTOWCS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef mbsnrtowcs # define mbsnrtowcs rpl_mbsnrtowcs # endif _GL_FUNCDECL_RPL (mbsnrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (mbsnrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps)); # else # if !@HAVE_MBSNRTOWCS@ _GL_FUNCDECL_SYS (mbsnrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (mbsnrtowcs, size_t, (wchar_t *restrict dest, const char **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (mbsnrtowcs); # endif #elif defined GNULIB_POSIXCHECK # undef mbsnrtowcs # if HAVE_RAW_DECL_MBSNRTOWCS _GL_WARN_ON_USE (mbsnrtowcs, "mbsnrtowcs is unportable - " "use gnulib module mbsnrtowcs for portability"); # endif #endif /* Convert a wide character to a multibyte character. */ #if @GNULIB_WCRTOMB@ # if @REPLACE_WCRTOMB@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcrtomb # define wcrtomb rpl_wcrtomb # endif _GL_FUNCDECL_RPL (wcrtomb, size_t, (char *restrict s, wchar_t wc, mbstate_t *restrict ps), ); _GL_CXXALIAS_RPL (wcrtomb, size_t, (char *restrict s, wchar_t wc, mbstate_t *restrict ps)); # else # if !@HAVE_WCRTOMB@ _GL_FUNCDECL_SYS (wcrtomb, size_t, (char *restrict s, wchar_t wc, mbstate_t *restrict ps), ); # endif _GL_CXXALIAS_SYS (wcrtomb, size_t, (char *restrict s, wchar_t wc, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcrtomb); # endif #elif defined GNULIB_POSIXCHECK # undef wcrtomb # if HAVE_RAW_DECL_WCRTOMB _GL_WARN_ON_USE (wcrtomb, "wcrtomb is unportable - " "use gnulib module wcrtomb for portability"); # endif #endif /* Convert a wide string to a string. */ #if @GNULIB_WCSRTOMBS@ # if @REPLACE_WCSRTOMBS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsrtombs # define wcsrtombs rpl_wcsrtombs # endif _GL_FUNCDECL_RPL (wcsrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (wcsrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t len, mbstate_t *restrict ps)); # else # if !@HAVE_WCSRTOMBS@ _GL_FUNCDECL_SYS (wcsrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (wcsrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t len, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsrtombs); # endif #elif defined GNULIB_POSIXCHECK # undef wcsrtombs # if HAVE_RAW_DECL_WCSRTOMBS _GL_WARN_ON_USE (wcsrtombs, "wcsrtombs is unportable - " "use gnulib module wcsrtombs for portability"); # endif #endif /* Convert a wide string to a string. */ #if @GNULIB_WCSNRTOMBS@ # if @REPLACE_WCSNRTOMBS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsnrtombs # define wcsnrtombs rpl_wcsnrtombs # endif _GL_FUNCDECL_RPL (wcsnrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); _GL_CXXALIAS_RPL (wcsnrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps)); # else # if !@HAVE_WCSNRTOMBS@ || (defined __cplusplus && defined __sun) _GL_FUNCDECL_SYS (wcsnrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps), _GL_ARG_NONNULL ((2))); # endif _GL_CXXALIAS_SYS (wcsnrtombs, size_t, (char *restrict dest, const wchar_t **restrict srcp, size_t srclen, size_t len, mbstate_t *restrict ps)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsnrtombs); # endif #elif defined GNULIB_POSIXCHECK # undef wcsnrtombs # if HAVE_RAW_DECL_WCSNRTOMBS _GL_WARN_ON_USE (wcsnrtombs, "wcsnrtombs is unportable - " "use gnulib module wcsnrtombs for portability"); # endif #endif /* Return the number of screen columns needed for WC. */ #if @GNULIB_WCWIDTH@ # if @REPLACE_WCWIDTH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcwidth # define wcwidth rpl_wcwidth # endif _GL_FUNCDECL_RPL (wcwidth, int, (wchar_t), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcwidth, int, (wchar_t)); # else # if !@HAVE_DECL_WCWIDTH@ /* wcwidth exists but is not declared. */ _GL_FUNCDECL_SYS (wcwidth, int, (wchar_t), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcwidth, int, (wchar_t)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcwidth); # endif #elif defined GNULIB_POSIXCHECK # undef wcwidth # if HAVE_RAW_DECL_WCWIDTH _GL_WARN_ON_USE (wcwidth, "wcwidth is unportable - " "use gnulib module wcwidth for portability"); # endif #endif /* Search N wide characters of S for C. */ #if @GNULIB_WMEMCHR@ # if !@HAVE_WMEMCHR@ _GL_FUNCDECL_SYS (wmemchr, wchar_t *, (const wchar_t *s, wchar_t c, size_t n), _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wmemchr (const wchar_t *, wchar_t, size_t); wchar_t * std::wmemchr (wchar_t *, wchar_t, size_t); } */ _GL_CXXALIAS_SYS_CAST2 (wmemchr, wchar_t *, (const wchar_t *, wchar_t, size_t), const wchar_t *, (const wchar_t *, wchar_t, size_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) \ && !defined __clang__ _GL_CXXALIASWARN1 (wmemchr, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); _GL_CXXALIASWARN1 (wmemchr, const wchar_t *, (const wchar_t *s, wchar_t c, size_t n)); # elif __GLIBC__ >= 2 && !defined __CORRECT_ISO_CPP_WCHAR_H_PROTO _GL_CXXALIASWARN (wmemchr); # endif #elif defined GNULIB_POSIXCHECK # undef wmemchr # if HAVE_RAW_DECL_WMEMCHR _GL_WARN_ON_USE (wmemchr, "wmemchr is unportable - " "use gnulib module wmemchr for portability"); # endif #endif /* Compare N wide characters of S1 and S2. */ #if @GNULIB_WMEMCMP@ # if @REPLACE_WMEMCMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wmemcmp # define wmemcmp rpl_wmemcmp # endif _GL_FUNCDECL_RPL (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); # else # if !@HAVE_WMEMCMP@ _GL_FUNCDECL_SYS (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wmemcmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wmemcmp); # endif #elif defined GNULIB_POSIXCHECK # undef wmemcmp # if HAVE_RAW_DECL_WMEMCMP _GL_WARN_ON_USE (wmemcmp, "wmemcmp is unportable - " "use gnulib module wmemcmp for portability"); # endif #endif /* Copy N wide characters of SRC to DEST. */ #if @GNULIB_WMEMCPY@ # if !@HAVE_WMEMCPY@ _GL_FUNCDECL_SYS (wmemcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); # endif _GL_CXXALIAS_SYS (wmemcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wmemcpy); # endif #elif defined GNULIB_POSIXCHECK # undef wmemcpy # if HAVE_RAW_DECL_WMEMCPY _GL_WARN_ON_USE (wmemcpy, "wmemcpy is unportable - " "use gnulib module wmemcpy for portability"); # endif #endif /* Copy N wide characters of SRC to DEST, guaranteeing correct behavior for overlapping memory areas. */ #if @GNULIB_WMEMMOVE@ # if !@HAVE_WMEMMOVE@ _GL_FUNCDECL_SYS (wmemmove, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n), ); # endif _GL_CXXALIAS_SYS (wmemmove, wchar_t *, (wchar_t *dest, const wchar_t *src, size_t n)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wmemmove); # endif #elif defined GNULIB_POSIXCHECK # undef wmemmove # if HAVE_RAW_DECL_WMEMMOVE _GL_WARN_ON_USE (wmemmove, "wmemmove is unportable - " "use gnulib module wmemmove for portability"); # endif #endif /* Copy N wide characters of SRC to DEST. Return pointer to wide characters after the last written wide character. */ #if @GNULIB_WMEMPCPY@ # if @REPLACE_WMEMPCPY@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wmempcpy # define wmempcpy rpl_wmempcpy # endif _GL_FUNCDECL_RPL (wmempcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); _GL_CXXALIAS_RPL (wmempcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); # else # if !@HAVE_WMEMPCPY@ _GL_FUNCDECL_SYS (wmempcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); # endif _GL_CXXALIAS_SYS (wmempcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wmempcpy); # endif #elif defined GNULIB_POSIXCHECK # undef wmempcpy # if HAVE_RAW_DECL_WMEMPCPY _GL_WARN_ON_USE (wmempcpy, "wmempcpy is unportable - " "use gnulib module wmempcpy for portability"); # endif #endif /* Set N wide characters of S to C. */ #if @GNULIB_WMEMSET@ # if !@HAVE_WMEMSET@ _GL_FUNCDECL_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n), ); # endif _GL_CXXALIAS_SYS (wmemset, wchar_t *, (wchar_t *s, wchar_t c, size_t n)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wmemset); # endif #elif defined GNULIB_POSIXCHECK # undef wmemset # if HAVE_RAW_DECL_WMEMSET _GL_WARN_ON_USE (wmemset, "wmemset is unportable - " "use gnulib module wmemset for portability"); # endif #endif /* Return the number of wide characters in S. */ #if @GNULIB_WCSLEN@ # if !@HAVE_WCSLEN@ _GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcslen); # endif #elif defined GNULIB_POSIXCHECK # undef wcslen # if HAVE_RAW_DECL_WCSLEN _GL_WARN_ON_USE (wcslen, "wcslen is unportable - " "use gnulib module wcslen for portability"); # endif #endif /* Return the number of wide characters in S, but at most MAXLEN. */ #if @GNULIB_WCSNLEN@ /* On Solaris 11.3, the header files declare the function in the std:: namespace, not in the global namespace. So, force a declaration in the global namespace. */ # if !@HAVE_WCSNLEN@ || (defined __sun && defined __cplusplus) _GL_FUNCDECL_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsnlen, size_t, (const wchar_t *s, size_t maxlen)); _GL_CXXALIASWARN (wcsnlen); #elif defined GNULIB_POSIXCHECK # undef wcsnlen # if HAVE_RAW_DECL_WCSNLEN _GL_WARN_ON_USE (wcsnlen, "wcsnlen is unportable - " "use gnulib module wcsnlen for portability"); # endif #endif /* Copy SRC to DEST. */ #if @GNULIB_WCSCPY@ # if !@HAVE_WCSCPY@ _GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src), ); # endif _GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcscpy); # endif #elif defined GNULIB_POSIXCHECK # undef wcscpy # if HAVE_RAW_DECL_WCSCPY _GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - " "use gnulib module wcscpy for portability"); # endif #endif /* Copy SRC to DEST, returning the address of the terminating L'\0' in DEST. */ #if @GNULIB_WCPCPY@ /* On Solaris 11.3, the header files declare the function in the std:: namespace, not in the global namespace. So, force a declaration in the global namespace. */ # if !@HAVE_WCPCPY@ || (defined __sun && defined __cplusplus) _GL_FUNCDECL_SYS (wcpcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src), ); # endif _GL_CXXALIAS_SYS (wcpcpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src)); _GL_CXXALIASWARN (wcpcpy); #elif defined GNULIB_POSIXCHECK # undef wcpcpy # if HAVE_RAW_DECL_WCPCPY _GL_WARN_ON_USE (wcpcpy, "wcpcpy is unportable - " "use gnulib module wcpcpy for portability"); # endif #endif /* Copy no more than N wide characters of SRC to DEST. */ #if @GNULIB_WCSNCPY@ # if !@HAVE_WCSNCPY@ _GL_FUNCDECL_SYS (wcsncpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); # endif _GL_CXXALIAS_SYS (wcsncpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsncpy); # endif #elif defined GNULIB_POSIXCHECK # undef wcsncpy # if HAVE_RAW_DECL_WCSNCPY _GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - " "use gnulib module wcsncpy for portability"); # endif #endif /* Copy no more than N characters of SRC to DEST, returning the address of the last character written into DEST. */ #if @GNULIB_WCPNCPY@ /* On Solaris 11.3, the header files declare the function in the std:: namespace, not in the global namespace. So, force a declaration in the global namespace. */ # if !@HAVE_WCPNCPY@ || (defined __sun && defined __cplusplus) _GL_FUNCDECL_SYS (wcpncpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); # endif _GL_CXXALIAS_SYS (wcpncpy, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); _GL_CXXALIASWARN (wcpncpy); #elif defined GNULIB_POSIXCHECK # undef wcpncpy # if HAVE_RAW_DECL_WCPNCPY _GL_WARN_ON_USE (wcpncpy, "wcpncpy is unportable - " "use gnulib module wcpncpy for portability"); # endif #endif /* Append SRC onto DEST. */ #if @GNULIB_WCSCAT@ # if !@HAVE_WCSCAT@ _GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src), ); # endif _GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcscat); # endif #elif defined GNULIB_POSIXCHECK # undef wcscat # if HAVE_RAW_DECL_WCSCAT _GL_WARN_ON_USE (wcscat, "wcscat is unportable - " "use gnulib module wcscat for portability"); # endif #endif /* Append no more than N wide characters of SRC onto DEST. */ #if @GNULIB_WCSNCAT@ # if @REPLACE_WCSNCAT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsncat # define wcsncat rpl_wcsncat # endif _GL_FUNCDECL_RPL (wcsncat, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); _GL_CXXALIAS_RPL (wcsncat, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); # else # if !@HAVE_WCSNCAT@ _GL_FUNCDECL_SYS (wcsncat, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n), ); # endif _GL_CXXALIAS_SYS (wcsncat, wchar_t *, (wchar_t *restrict dest, const wchar_t *restrict src, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsncat); # endif #elif defined GNULIB_POSIXCHECK # undef wcsncat # if HAVE_RAW_DECL_WCSNCAT _GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - " "use gnulib module wcsncat for portability"); # endif #endif /* Compare S1 and S2. */ #if @GNULIB_WCSCMP@ # if @REPLACE_WCSCMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcscmp # define wcscmp rpl_wcscmp # endif _GL_FUNCDECL_RPL (wcscmp, int, (const wchar_t *s1, const wchar_t *s2), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)); # else # if !@HAVE_WCSCMP@ _GL_FUNCDECL_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscmp, int, (const wchar_t *s1, const wchar_t *s2)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcscmp); # endif #elif defined GNULIB_POSIXCHECK # undef wcscmp # if HAVE_RAW_DECL_WCSCMP _GL_WARN_ON_USE (wcscmp, "wcscmp is unportable - " "use gnulib module wcscmp for portability"); # endif #endif /* Compare no more than N wide characters of S1 and S2. */ #if @GNULIB_WCSNCMP@ # if @REPLACE_WCSNCMP@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsncmp # define wcsncmp rpl_wcsncmp # endif _GL_FUNCDECL_RPL (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); # else # if !@HAVE_WCSNCMP@ _GL_FUNCDECL_SYS (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsncmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsncmp); # endif #elif defined GNULIB_POSIXCHECK # undef wcsncmp # if HAVE_RAW_DECL_WCSNCMP _GL_WARN_ON_USE (wcsncmp, "wcsncmp is unportable - " "use gnulib module wcsncmp for portability"); # endif #endif /* Compare S1 and S2, ignoring case. */ #if @GNULIB_WCSCASECMP@ /* On Solaris 11.3, the header files declare the function in the std:: namespace, not in the global namespace. So, force a declaration in the global namespace. */ # if !@HAVE_WCSCASECMP@ || (defined __sun && defined __cplusplus) _GL_FUNCDECL_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscasecmp, int, (const wchar_t *s1, const wchar_t *s2)); _GL_CXXALIASWARN (wcscasecmp); #elif defined GNULIB_POSIXCHECK # undef wcscasecmp # if HAVE_RAW_DECL_WCSCASECMP _GL_WARN_ON_USE (wcscasecmp, "wcscasecmp is unportable - " "use gnulib module wcscasecmp for portability"); # endif #endif /* Compare no more than N chars of S1 and S2, ignoring case. */ #if @GNULIB_WCSNCASECMP@ /* On Solaris 11.3, the header files declare the function in the std:: namespace, not in the global namespace. So, force a declaration in the global namespace. */ # if !@HAVE_WCSNCASECMP@ || (defined __sun && defined __cplusplus) _GL_FUNCDECL_SYS (wcsncasecmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsncasecmp, int, (const wchar_t *s1, const wchar_t *s2, size_t n)); _GL_CXXALIASWARN (wcsncasecmp); #elif defined GNULIB_POSIXCHECK # undef wcsncasecmp # if HAVE_RAW_DECL_WCSNCASECMP _GL_WARN_ON_USE (wcsncasecmp, "wcsncasecmp is unportable - " "use gnulib module wcsncasecmp for portability"); # endif #endif /* Compare S1 and S2, both interpreted as appropriate to the LC_COLLATE category of the current locale. */ #if @GNULIB_WCSCOLL@ # if !@HAVE_WCSCOLL@ _GL_FUNCDECL_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2), ); # endif _GL_CXXALIAS_SYS (wcscoll, int, (const wchar_t *s1, const wchar_t *s2)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcscoll); # endif #elif defined GNULIB_POSIXCHECK # undef wcscoll # if HAVE_RAW_DECL_WCSCOLL _GL_WARN_ON_USE (wcscoll, "wcscoll is unportable - " "use gnulib module wcscoll for portability"); # endif #endif /* Transform S2 into array pointed to by S1 such that if wcscmp is applied to two transformed strings the result is the as applying 'wcscoll' to the original strings. */ #if @GNULIB_WCSXFRM@ # if !@HAVE_WCSXFRM@ _GL_FUNCDECL_SYS (wcsxfrm, size_t, (wchar_t *restrict s1, const wchar_t *restrict s2, size_t n), ); # endif _GL_CXXALIAS_SYS (wcsxfrm, size_t, (wchar_t *restrict s1, const wchar_t *restrict s2, size_t n)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsxfrm); # endif #elif defined GNULIB_POSIXCHECK # undef wcsxfrm # if HAVE_RAW_DECL_WCSXFRM _GL_WARN_ON_USE (wcsxfrm, "wcsxfrm is unportable - " "use gnulib module wcsxfrm for portability"); # endif #endif /* Duplicate S, returning an identical malloc'd string. */ #if @GNULIB_WCSDUP@ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsdup # define wcsdup _wcsdup # endif _GL_CXXALIAS_MDA (wcsdup, wchar_t *, (const wchar_t *s)); # else /* On Solaris 11.3, the header files declare the function in the std:: namespace, not in the global namespace. So, force a declaration in the global namespace. */ # if !@HAVE_WCSDUP@ || (defined __sun && defined __cplusplus) \ || (__GNUC__ >= 11 && !defined __clang__) # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); # endif _GL_CXXALIASWARN (wcsdup); #else # if (__GNUC__ >= 11 && !defined __clang__) && !defined wcsdup /* For -Wmismatched-dealloc: Associate wcsdup with free or rpl_free. */ # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # endif # if defined GNULIB_POSIXCHECK # undef wcsdup # if HAVE_RAW_DECL_WCSDUP _GL_WARN_ON_USE (wcsdup, "wcsdup is unportable - " "use gnulib module wcsdup for portability"); # endif # elif @GNULIB_MDA_WCSDUP@ /* On native Windows, map 'wcsdup' to '_wcsdup', so that -loldnames is not required. In C++ with GNULIB_NAMESPACE, avoid differences between platforms by defining GNULIB_NAMESPACE::wcsdup always. */ # if defined _WIN32 && !defined __CYGWIN__ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsdup # define wcsdup _wcsdup # endif _GL_CXXALIAS_MDA (wcsdup, wchar_t *, (const wchar_t *s)); # else # if __GLIBC__ + (__GLIBC_MINOR__ >= 2) > 2 _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE) _GL_ATTRIBUTE_NOTHROW; # else _GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s), _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); # endif # if @HAVE_DECL_WCSDUP@ _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); # endif # endif # if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_WCSDUP@ _GL_CXXALIASWARN (wcsdup); # endif # endif #endif /* Find the first occurrence of WC in WCS. */ #if @GNULIB_WCSCHR@ # if !@HAVE_WCSCHR@ _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc), _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcschr (const wchar_t *, wchar_t); wchar_t * std::wcschr (wchar_t *, wchar_t); } */ _GL_CXXALIAS_SYS_CAST2 (wcschr, wchar_t *, (const wchar_t *, wchar_t), const wchar_t *, (const wchar_t *, wchar_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) \ && !defined __clang__ _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc)); _GL_CXXALIASWARN1 (wcschr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); # elif __GLIBC__ >= 2 && !defined __CORRECT_ISO_CPP_WCHAR_H_PROTO _GL_CXXALIASWARN (wcschr); # endif #elif defined GNULIB_POSIXCHECK # undef wcschr # if HAVE_RAW_DECL_WCSCHR _GL_WARN_ON_USE (wcschr, "wcschr is unportable - " "use gnulib module wcschr for portability"); # endif #endif /* Find the last occurrence of WC in WCS. */ #if @GNULIB_WCSRCHR@ # if !@HAVE_WCSRCHR@ _GL_FUNCDECL_SYS (wcsrchr, wchar_t *, (const wchar_t *wcs, wchar_t wc), _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcsrchr (const wchar_t *, wchar_t); wchar_t * std::wcsrchr (wchar_t *, wchar_t); } */ _GL_CXXALIAS_SYS_CAST2 (wcsrchr, wchar_t *, (const wchar_t *, wchar_t), const wchar_t *, (const wchar_t *, wchar_t)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) \ && !defined __clang__ _GL_CXXALIASWARN1 (wcsrchr, wchar_t *, (wchar_t *wcs, wchar_t wc)); _GL_CXXALIASWARN1 (wcsrchr, const wchar_t *, (const wchar_t *wcs, wchar_t wc)); # elif __GLIBC__ >= 2 && !defined __CORRECT_ISO_CPP_WCHAR_H_PROTO _GL_CXXALIASWARN (wcsrchr); # endif #elif defined GNULIB_POSIXCHECK # undef wcsrchr # if HAVE_RAW_DECL_WCSRCHR _GL_WARN_ON_USE (wcsrchr, "wcsrchr is unportable - " "use gnulib module wcsrchr for portability"); # endif #endif /* Return the length of the initial segment of WCS which consists entirely of wide characters not in REJECT. */ #if @GNULIB_WCSCSPN@ # if !@HAVE_WCSCSPN@ _GL_FUNCDECL_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcscspn, size_t, (const wchar_t *wcs, const wchar_t *reject)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcscspn); # endif #elif defined GNULIB_POSIXCHECK # undef wcscspn # if HAVE_RAW_DECL_WCSCSPN _GL_WARN_ON_USE (wcscspn, "wcscspn is unportable - " "use gnulib module wcscspn for portability"); # endif #endif /* Return the length of the initial segment of WCS which consists entirely of wide characters in ACCEPT. */ #if @GNULIB_WCSSPN@ # if !@HAVE_WCSSPN@ _GL_FUNCDECL_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcsspn, size_t, (const wchar_t *wcs, const wchar_t *accept)); # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsspn); # endif #elif defined GNULIB_POSIXCHECK # undef wcsspn # if HAVE_RAW_DECL_WCSSPN _GL_WARN_ON_USE (wcsspn, "wcsspn is unportable - " "use gnulib module wcsspn for portability"); # endif #endif /* Find the first occurrence in WCS of any character in ACCEPT. */ #if @GNULIB_WCSPBRK@ # if !@HAVE_WCSPBRK@ _GL_FUNCDECL_SYS (wcspbrk, wchar_t *, (const wchar_t *wcs, const wchar_t *accept), _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcspbrk (const wchar_t *, const wchar_t *); wchar_t * std::wcspbrk (wchar_t *, const wchar_t *); } */ _GL_CXXALIAS_SYS_CAST2 (wcspbrk, wchar_t *, (const wchar_t *, const wchar_t *), const wchar_t *, (const wchar_t *, const wchar_t *)); # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) \ && !defined __clang__ _GL_CXXALIASWARN1 (wcspbrk, wchar_t *, (wchar_t *wcs, const wchar_t *accept)); _GL_CXXALIASWARN1 (wcspbrk, const wchar_t *, (const wchar_t *wcs, const wchar_t *accept)); # elif __GLIBC__ >= 2 && !defined __CORRECT_ISO_CPP_WCHAR_H_PROTO _GL_CXXALIASWARN (wcspbrk); # endif #elif defined GNULIB_POSIXCHECK # undef wcspbrk # if HAVE_RAW_DECL_WCSPBRK _GL_WARN_ON_USE (wcspbrk, "wcspbrk is unportable - " "use gnulib module wcspbrk for portability"); # endif #endif /* Find the first occurrence of NEEDLE in HAYSTACK. */ #if @GNULIB_WCSSTR@ # if @REPLACE_WCSSTR@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsstr # define wcsstr rpl_wcsstr # endif _GL_FUNCDECL_RPL (wcsstr, wchar_t *, (const wchar_t *restrict haystack, const wchar_t *restrict needle), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcsstr, wchar_t *, (const wchar_t *restrict haystack, const wchar_t *restrict needle)); # else # if !@HAVE_WCSSTR@ _GL_FUNCDECL_SYS (wcsstr, wchar_t *, (const wchar_t *restrict haystack, const wchar_t *restrict needle), _GL_ATTRIBUTE_PURE); # endif /* On some systems, this function is defined as an overloaded function: extern "C++" { const wchar_t * std::wcsstr (const wchar_t *, const wchar_t *); wchar_t * std::wcsstr (wchar_t *, const wchar_t *); } */ _GL_CXXALIAS_SYS_CAST2 (wcsstr, wchar_t *, (const wchar_t *restrict, const wchar_t *restrict), const wchar_t *, (const wchar_t *restrict, const wchar_t *restrict)); # endif # if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) \ && !defined __clang__ _GL_CXXALIASWARN1 (wcsstr, wchar_t *, (wchar_t *restrict haystack, const wchar_t *restrict needle)); _GL_CXXALIASWARN1 (wcsstr, const wchar_t *, (const wchar_t *restrict haystack, const wchar_t *restrict needle)); # elif __GLIBC__ >= 2 && !defined __CORRECT_ISO_CPP_WCHAR_H_PROTO _GL_CXXALIASWARN (wcsstr); # endif #elif defined GNULIB_POSIXCHECK # undef wcsstr # if HAVE_RAW_DECL_WCSSTR _GL_WARN_ON_USE (wcsstr, "wcsstr is unportable - " "use gnulib module wcsstr for portability"); # endif #endif /* Divide WCS into tokens separated by characters in DELIM. */ #if @GNULIB_WCSTOK@ # if @REPLACE_WCSTOK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcstok # define wcstok rpl_wcstok # endif _GL_FUNCDECL_RPL (wcstok, wchar_t *, (wchar_t *restrict wcs, const wchar_t *restrict delim, wchar_t **restrict ptr), ); _GL_CXXALIAS_RPL (wcstok, wchar_t *, (wchar_t *restrict wcs, const wchar_t *restrict delim, wchar_t **restrict ptr)); # else # if !@HAVE_WCSTOK@ _GL_FUNCDECL_SYS (wcstok, wchar_t *, (wchar_t *restrict wcs, const wchar_t *restrict delim, wchar_t **restrict ptr), ); # endif _GL_CXXALIAS_SYS (wcstok, wchar_t *, (wchar_t *restrict wcs, const wchar_t *restrict delim, wchar_t **restrict ptr)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcstok); # endif #elif defined GNULIB_POSIXCHECK # undef wcstok # if HAVE_RAW_DECL_WCSTOK _GL_WARN_ON_USE (wcstok, "wcstok is unportable - " "use gnulib module wcstok for portability"); # endif #endif /* Determine number of column positions required for first N wide characters (or fewer if S ends before this) in S. */ #if @GNULIB_WCSWIDTH@ # if @REPLACE_WCSWIDTH@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcswidth # define wcswidth rpl_wcswidth # endif _GL_FUNCDECL_RPL (wcswidth, int, (const wchar_t *s, size_t n), _GL_ATTRIBUTE_PURE); _GL_CXXALIAS_RPL (wcswidth, int, (const wchar_t *s, size_t n)); # else # if !@HAVE_WCSWIDTH@ _GL_FUNCDECL_SYS (wcswidth, int, (const wchar_t *s, size_t n), _GL_ATTRIBUTE_PURE); # endif _GL_CXXALIAS_SYS (wcswidth, int, (const wchar_t *s, size_t n)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcswidth); # endif #elif defined GNULIB_POSIXCHECK # undef wcswidth # if HAVE_RAW_DECL_WCSWIDTH _GL_WARN_ON_USE (wcswidth, "wcswidth is unportable - " "use gnulib module wcswidth for portability"); # endif #endif /* Convert *TP to a date and time wide string. See . */ #if @GNULIB_WCSFTIME@ # if @REPLACE_WCSFTIME@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wcsftime # define wcsftime rpl_wcsftime # endif _GL_FUNCDECL_RPL (wcsftime, size_t, (wchar_t *restrict __buf, size_t __bufsize, const wchar_t *restrict __fmt, const struct tm *restrict __tp), _GL_ARG_NONNULL ((1, 3, 4))); _GL_CXXALIAS_RPL (wcsftime, size_t, (wchar_t *restrict __buf, size_t __bufsize, const wchar_t *restrict __fmt, const struct tm *restrict __tp)); # else # if !@HAVE_WCSFTIME@ _GL_FUNCDECL_SYS (wcsftime, size_t, (wchar_t *restrict __buf, size_t __bufsize, const wchar_t *restrict __fmt, const struct tm *restrict __tp), _GL_ARG_NONNULL ((1, 3, 4))); # endif _GL_CXXALIAS_SYS (wcsftime, size_t, (wchar_t *restrict __buf, size_t __bufsize, const wchar_t *restrict __fmt, const struct tm *restrict __tp)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wcsftime); # endif #elif defined GNULIB_POSIXCHECK # undef wcsftime # if HAVE_RAW_DECL_WCSFTIME _GL_WARN_ON_USE (wcsftime, "wcsftime is unportable - " "use gnulib module wcsftime for portability"); # endif #endif #if @GNULIB_WGETCWD@ && (defined _WIN32 && !defined __CYGWIN__) /* Gets the name of the current working directory. (a) If BUF is non-NULL, it is assumed to have room for SIZE wide characters. This function stores the working directory (NUL-terminated) in BUF and returns BUF. (b) If BUF is NULL, an array is allocated with 'malloc'. The array is SIZE wide characters long, unless SIZE == 0, in which case it is as big as necessary. If the directory couldn't be determined or SIZE was too small, this function returns NULL and sets errno. For a directory of length LEN, SIZE should be >= LEN + 3 in case (a) or >= LEN + 1 in case (b). Possible errno values include: - ERANGE if SIZE is too small. - ENOMEM if the memory could no be allocated. */ _GL_FUNCDECL_SYS (wgetcwd, wchar_t *, (wchar_t *buf, size_t size), ); #endif #endif /* _@GUARD_PREFIX@_WCHAR_H */ #endif /* _@GUARD_PREFIX@_WCHAR_H */ #endif datamash-1.9/lib/wctype-h.c0000644000000000000000000000162614767401140011257 /* Inline functions for . Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Normally this would be wctype.c, but that name's already taken. */ #define _GL_WCTYPE_INLINE _GL_EXTERN_INLINE #include #include datamash-1.9/lib/wctype.in.h0000644000000000000000000004732214767401140011447 /* A substitute for ISO C99 , for platforms that lack it. Copyright (C) 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible and Paul Eggert. */ /* * ISO C 99 for platforms that lack it. * * * iswctype, towctrans, towlower, towupper, wctrans, wctype, * wctrans_t, and wctype_t are not yet implemented. */ #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ #if (defined __MINGW32__ && defined __CTYPE_H_SOURCED__) /* Special invocation convention: - With MinGW 3.22, when includes , only some part of is being processed, which doesn't include the idempotency guard. */ #@INCLUDE_NEXT@ @NEXT_WCTYPE_H@ #else /* Normal invocation convention. */ #ifndef _@GUARD_PREFIX@_WCTYPE_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #if @HAVE_WINT_T@ /* Solaris 2.5 has a bug: must be included before . */ # include #endif /* Native Windows (mingw, MSVC) have declarations of towupper, towlower, and isw* functions in , as well as in . Include , in advance to avoid rpl_ prefix being added to the declarations. */ #if defined _WIN32 && ! defined __CYGWIN__ # include # include #endif /* Include the original if it exists. BeOS 5 has the functions but no . */ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_WCTYPE_H@ # @INCLUDE_NEXT@ @NEXT_WCTYPE_H@ #endif #ifndef _@GUARD_PREFIX@_WCTYPE_H #define _@GUARD_PREFIX@_WCTYPE_H _GL_INLINE_HEADER_BEGIN #ifndef _GL_WCTYPE_INLINE # define _GL_WCTYPE_INLINE _GL_INLINE #endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ /* The definition of _GL_WARN_ON_USE is copied here. */ /* Solaris 2.6 includes which includes which #defines a number of identifiers in the application namespace. Revert these #defines. */ #ifdef __sun # undef multibyte # undef eucw1 # undef eucw2 # undef eucw3 # undef scrw1 # undef scrw2 # undef scrw3 #endif /* Define wint_t and WEOF. (Also done in wchar.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int # ifndef WEOF # define WEOF -1 # endif #else /* mingw and MSVC define wint_t as 'unsigned short' in or . This is too small: ISO C 99 section 7.24.1.(2) says that wint_t must be "unchanged by default argument promotions". Override it. */ # if @GNULIBHEADERS_OVERRIDE_WINT_T@ # if !GNULIB_defined_wint_t # if @HAVE_CRTDEFS_H@ # include # else # include # endif typedef unsigned int rpl_wint_t; # undef wint_t # define wint_t rpl_wint_t # define GNULIB_defined_wint_t 1 # endif # endif # ifndef WEOF # define WEOF ((wint_t) -1) # endif #endif #if !GNULIB_defined_wctype_functions /* FreeBSD 4.4 to 4.11 has but lacks the functions. Linux libc5 has and the functions but they are broken. mingw and MSVC have and the functions but they take a wchar_t as argument, not an rpl_wint_t. Additionally, the mingw iswprint function and the Android iswpunct function are broken. Assume all 11 functions (all isw* except iswblank) are implemented the same way, or not at all. */ # if ! @HAVE_ISWCNTRL@ || @REPLACE_ISWCNTRL@ # if @GNULIBHEADERS_OVERRIDE_WINT_T@ /* implies @REPLACE_ISWCNTRL@ */ _GL_WCTYPE_INLINE int rpl_iswalnum (wint_t wc) { return ((wchar_t) wc == wc ? iswalnum ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswalpha (wint_t wc) { return ((wchar_t) wc == wc ? iswalpha ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswblank (wint_t wc) { return ((wchar_t) wc == wc ? iswblank ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswcntrl (wint_t wc) { return ((wchar_t) wc == wc ? iswcntrl ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswdigit (wint_t wc) { return ((wchar_t) wc == wc ? wc >= '0' && wc <= '9' : 0); } _GL_WCTYPE_INLINE int rpl_iswgraph (wint_t wc) { return ((wchar_t) wc == wc ? iswgraph ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswlower (wint_t wc) { return ((wchar_t) wc == wc ? iswlower ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswprint (wint_t wc) { # ifdef __MINGW32__ return ((wchar_t) wc == wc ? wc == ' ' || iswgraph ((wchar_t) wc) : 0); # else return ((wchar_t) wc == wc ? iswprint ((wchar_t) wc) : 0); # endif } _GL_WCTYPE_INLINE int rpl_iswpunct (wint_t wc) { return ((wchar_t) wc == wc ? iswpunct ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswspace (wint_t wc) { return ((wchar_t) wc == wc ? iswspace ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswupper (wint_t wc) { return ((wchar_t) wc == wc ? iswupper ((wchar_t) wc) : 0); } _GL_WCTYPE_INLINE int rpl_iswxdigit (wint_t wc) { return ((wchar_t) wc == wc ? (wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F') : 0); } _GL_WCTYPE_INLINE wint_t rpl_towlower (wint_t wc) { return ((wchar_t) wc == wc ? (wchar_t) towlower ((wchar_t) wc) : wc); } _GL_WCTYPE_INLINE wint_t rpl_towupper (wint_t wc) { return ((wchar_t) wc == wc ? (wchar_t) towupper ((wchar_t) wc) : wc); } # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef iswalnum # undef iswalpha # undef iswblank # undef iswcntrl # undef iswdigit # undef iswgraph # undef iswlower # undef iswprint # undef iswpunct # undef iswspace # undef iswupper # undef iswxdigit # undef towlower # undef towupper # define iswalnum rpl_iswalnum # define iswalpha rpl_iswalpha # define iswblank rpl_iswblank # define iswcntrl rpl_iswcntrl # define iswdigit rpl_iswdigit # define iswgraph rpl_iswgraph # define iswlower rpl_iswlower # define iswprint rpl_iswprint # define iswpunct rpl_iswpunct # define iswspace rpl_iswspace # define iswupper rpl_iswupper # define iswxdigit rpl_iswxdigit # define towlower rpl_towlower # define towupper rpl_towupper # endif # else /* IRIX 5.3 has macros but no functions, its isw* macros refer to an undefined variable _ctmp_ and to macros like _P, and they refer to system functions like _iswctype that are not in the standard C library. Rather than try to get ancient buggy implementations like this to work, just disable them. */ # undef iswalnum # undef iswalpha # undef iswblank # undef iswcntrl # undef iswdigit # undef iswgraph # undef iswlower # undef iswprint # undef iswpunct # undef iswspace # undef iswupper # undef iswxdigit # undef towlower # undef towupper /* Linux libc5 has and the functions but they are broken. */ # if @REPLACE_ISWCNTRL@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iswalnum rpl_iswalnum # define iswalpha rpl_iswalpha # define iswblank rpl_iswblank # define iswcntrl rpl_iswcntrl # define iswdigit rpl_iswdigit # define iswgraph rpl_iswgraph # define iswlower rpl_iswlower # define iswprint rpl_iswprint # define iswpunct rpl_iswpunct # define iswspace rpl_iswspace # define iswupper rpl_iswupper # define iswxdigit rpl_iswxdigit # endif # endif # if @REPLACE_TOWLOWER@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towlower rpl_towlower # define towupper rpl_towupper # endif # endif _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswalnum # else iswalnum # endif (wint_t wc) { return ((wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswalpha # else iswalpha # endif (wint_t wc) { return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswblank # else iswblank # endif (wint_t wc) { return wc == ' ' || wc == '\t'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswcntrl # else iswcntrl # endif (wint_t wc) { return (wc & ~0x1f) == 0 || wc == 0x7f; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWDIGIT@ rpl_iswdigit # else iswdigit # endif (wint_t wc) { return wc >= '0' && wc <= '9'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswgraph # else iswgraph # endif (wint_t wc) { return wc >= '!' && wc <= '~'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswlower # else iswlower # endif (wint_t wc) { return wc >= 'a' && wc <= 'z'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswprint # else iswprint # endif (wint_t wc) { return wc >= ' ' && wc <= '~'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswpunct # else iswpunct # endif (wint_t wc) { return (wc >= '!' && wc <= '~' && !((wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'))); } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswspace # else iswspace # endif (wint_t wc) { return (wc == ' ' || wc == '\t' || wc == '\n' || wc == '\v' || wc == '\f' || wc == '\r'); } _GL_WCTYPE_INLINE int # if @REPLACE_ISWCNTRL@ rpl_iswupper # else iswupper # endif (wint_t wc) { return wc >= 'A' && wc <= 'Z'; } _GL_WCTYPE_INLINE int # if @REPLACE_ISWXDIGIT@ rpl_iswxdigit # else iswxdigit # endif (wint_t wc) { return ((wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F')); } _GL_WCTYPE_INLINE wint_t # if @REPLACE_TOWLOWER@ rpl_towlower # else towlower # endif (wint_t wc) { return (wc >= 'A' && wc <= 'Z' ? wc - 'A' + 'a' : wc); } _GL_WCTYPE_INLINE wint_t # if @REPLACE_TOWLOWER@ rpl_towupper # else towupper # endif (wint_t wc) { return (wc >= 'a' && wc <= 'z' ? wc - 'a' + 'A' : wc); } # endif # else /* Only some of the functions are missing or broken. */ # if @GNULIB_ISWBLANK@ && (! @HAVE_ISWBLANK@ || @REPLACE_ISWBLANK@) /* Only the iswblank function is missing. */ # if @REPLACE_ISWBLANK@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define iswblank rpl_iswblank # endif _GL_FUNCDECL_RPL (iswblank, int, (wint_t wc), ); # else _GL_FUNCDECL_SYS (iswblank, int, (wint_t wc), ); # endif # endif # if @GNULIB_ISWDIGIT@ # if @REPLACE_ISWDIGIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef iswdigit # define iswdigit rpl_iswdigit # endif _GL_FUNCDECL_RPL (iswdigit, int, (wint_t wc), ); # endif # endif # if @GNULIB_ISWPUNCT@ # if @REPLACE_ISWPUNCT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef iswpunct # define iswpunct rpl_iswpunct # endif _GL_FUNCDECL_RPL (iswpunct, int, (wint_t wc), ); # endif # endif # if @GNULIB_ISWXDIGIT@ # if @REPLACE_ISWXDIGIT@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef iswxdigit # define iswxdigit rpl_iswxdigit # endif _GL_FUNCDECL_RPL (iswxdigit, int, (wint_t wc), ); # endif # endif # endif # if defined __MINGW32__ && !@GNULIBHEADERS_OVERRIDE_WINT_T@ /* On native Windows, wchar_t is uint16_t, and wint_t is uint32_t. The functions towlower and towupper are implemented in the MSVCRT library to take a wchar_t argument and return a wchar_t result. mingw declares these functions to take a wint_t argument and return a wint_t result. This means that: 1. When the user passes an argument outside the range 0x0000..0xFFFF, the function will look only at the lower 16 bits. This is allowed according to POSIX. 2. The return value is returned in the lower 16 bits of the result register. The upper 16 bits are random: whatever happened to be in that part of the result register. We need to fix this by adding a zero-extend from wchar_t to wint_t after the call. */ _GL_WCTYPE_INLINE wint_t rpl_towlower (wint_t wc) { return (wint_t) (wchar_t) towlower (wc); } # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towlower rpl_towlower # endif _GL_WCTYPE_INLINE wint_t rpl_towupper (wint_t wc) { return (wint_t) (wchar_t) towupper (wc); } # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # define towupper rpl_towupper # endif # endif /* __MINGW32__ && !@GNULIBHEADERS_OVERRIDE_WINT_T@ */ # define GNULIB_defined_wctype_functions 1 #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswalnum, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswalnum, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswalpha, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswalpha, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswcntrl, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswcntrl, int, (wint_t wc)); #endif #if @GNULIB_ISWDIGIT@ # if @REPLACE_ISWDIGIT@ _GL_CXXALIAS_RPL (iswdigit, int, (wint_t wc)); # else _GL_CXXALIAS_SYS (iswdigit, int, (wint_t wc)); # endif #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswgraph, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswgraph, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswlower, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswlower, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswprint, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswprint, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswpunct, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswpunct, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswspace, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswspace, int, (wint_t wc)); #endif #if @REPLACE_ISWCNTRL@ _GL_CXXALIAS_RPL (iswupper, int, (wint_t wc)); #else _GL_CXXALIAS_SYS (iswupper, int, (wint_t wc)); #endif #if @GNULIB_ISWXDIGIT@ # if @REPLACE_ISWXDIGIT@ _GL_CXXALIAS_RPL (iswxdigit, int, (wint_t wc)); # else _GL_CXXALIAS_SYS (iswxdigit, int, (wint_t wc)); # endif #endif #if __GLIBC__ >= 2 _GL_CXXALIASWARN (iswalnum); _GL_CXXALIASWARN (iswalpha); _GL_CXXALIASWARN (iswcntrl); _GL_CXXALIASWARN (iswdigit); _GL_CXXALIASWARN (iswgraph); _GL_CXXALIASWARN (iswlower); _GL_CXXALIASWARN (iswprint); _GL_CXXALIASWARN (iswpunct); _GL_CXXALIASWARN (iswspace); _GL_CXXALIASWARN (iswupper); _GL_CXXALIASWARN (iswxdigit); #endif #if @GNULIB_ISWBLANK@ # if @REPLACE_ISWCNTRL@ || @REPLACE_ISWBLANK@ _GL_CXXALIAS_RPL (iswblank, int, (wint_t wc)); # else _GL_CXXALIAS_SYS (iswblank, int, (wint_t wc)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (iswblank); # endif #endif #if !@HAVE_WCTYPE_T@ # if !GNULIB_defined_wctype_t typedef void * wctype_t; # define GNULIB_defined_wctype_t 1 # endif #elif @REPLACE_WCTYPE@ # if !GNULIB_defined_wctype_t typedef void *rpl_wctype_t; # undef wctype_t # define wctype_t rpl_wctype_t # define GNULIB_defined_wctype_t 1 # endif #endif /* Get a descriptor for a wide character property. */ #if @GNULIB_WCTYPE@ # if @REPLACE_WCTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctype # define wctype rpl_wctype # endif _GL_FUNCDECL_RPL (wctype, wctype_t, (const char *name), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (wctype, wctype_t, (const char *name)); # else # if !@HAVE_WCTYPE_T@ _GL_FUNCDECL_SYS (wctype, wctype_t, (const char *name), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (wctype, wctype_t, (const char *name)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wctype); # endif #elif defined GNULIB_POSIXCHECK # undef wctype # if HAVE_RAW_DECL_WCTYPE _GL_WARN_ON_USE (wctype, "wctype is unportable - " "use gnulib module wctype for portability"); # endif #endif /* Test whether a wide character has a given property. The argument WC must be either a wchar_t value or WEOF. The argument DESC must have been returned by the wctype() function. */ #if @GNULIB_ISWCTYPE@ # if @GNULIBHEADERS_OVERRIDE_WINT_T@ || @REPLACE_WCTYPE@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef iswctype # define iswctype rpl_iswctype # endif _GL_FUNCDECL_RPL (iswctype, int, (wint_t wc, wctype_t desc), ); _GL_CXXALIAS_RPL (iswctype, int, (wint_t wc, wctype_t desc)); # else # if !@HAVE_WCTYPE_T@ _GL_FUNCDECL_SYS (iswctype, int, (wint_t wc, wctype_t desc), ); # endif _GL_CXXALIAS_SYS (iswctype, int, (wint_t wc, wctype_t desc)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (iswctype); # endif #elif defined GNULIB_POSIXCHECK # undef iswctype # if HAVE_RAW_DECL_ISWCTYPE _GL_WARN_ON_USE (iswctype, "iswctype is unportable - " "use gnulib module iswctype for portability"); # endif #endif #if @REPLACE_TOWLOWER@ || defined __MINGW32__ _GL_CXXALIAS_RPL (towlower, wint_t, (wint_t wc)); _GL_CXXALIAS_RPL (towupper, wint_t, (wint_t wc)); #else _GL_CXXALIAS_SYS (towlower, wint_t, (wint_t wc)); _GL_CXXALIAS_SYS (towupper, wint_t, (wint_t wc)); #endif #if __GLIBC__ >= 2 _GL_CXXALIASWARN (towlower); _GL_CXXALIASWARN (towupper); #endif #if !@HAVE_WCTRANS_T@ # if !GNULIB_defined_wctrans_t typedef void * wctrans_t; # define GNULIB_defined_wctrans_t 1 # endif #elif @REPLACE_WCTRANS@ # if !GNULIB_defined_wctrans_t typedef void *rpl_wctrans_t; # undef wctrans_t # define wctrans_t rpl_wctrans_t # define GNULIB_defined_wctrans_t 1 # endif #endif /* Get a descriptor for a wide character case conversion. */ #if @GNULIB_WCTRANS@ # if @REPLACE_WCTRANS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef wctrans # define wctrans rpl_wctrans # endif _GL_FUNCDECL_RPL (wctrans, wctrans_t, (const char *name), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (wctrans, wctrans_t, (const char *name)); # else # if !@HAVE_WCTRANS_T@ _GL_FUNCDECL_SYS (wctrans, wctrans_t, (const char *name), _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (wctrans, wctrans_t, (const char *name)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (wctrans); # endif #elif defined GNULIB_POSIXCHECK # undef wctrans # if HAVE_RAW_DECL_WCTRANS _GL_WARN_ON_USE (wctrans, "wctrans is unportable - " "use gnulib module wctrans for portability"); # endif #endif /* Perform a given case conversion on a wide character. The argument WC must be either a wchar_t value or WEOF. The argument DESC must have been returned by the wctrans() function. */ #if @GNULIB_TOWCTRANS@ # if @REPLACE_WCTRANS@ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef towctrans # define towctrans rpl_towctrans # endif _GL_FUNCDECL_RPL (towctrans, wint_t, (wint_t wc, wctrans_t desc), ); _GL_CXXALIAS_RPL (towctrans, wint_t, (wint_t wc, wctrans_t desc)); # else # if !@HAVE_WCTRANS_T@ _GL_FUNCDECL_SYS (towctrans, wint_t, (wint_t wc, wctrans_t desc), ); # endif _GL_CXXALIAS_SYS (towctrans, wint_t, (wint_t wc, wctrans_t desc)); # endif # if __GLIBC__ >= 2 _GL_CXXALIASWARN (towctrans); # endif #elif defined GNULIB_POSIXCHECK # undef towctrans # if HAVE_RAW_DECL_TOWCTRANS _GL_WARN_ON_USE (towctrans, "towctrans is unportable - " "use gnulib module towctrans for portability"); # endif #endif _GL_INLINE_HEADER_END #endif /* _@GUARD_PREFIX@_WCTYPE_H */ #endif /* _@GUARD_PREFIX@_WCTYPE_H */ #endif datamash-1.9/lib/wcwidth.c0000644000000000000000000000417414767401140011171 /* Determine the number of screen columns needed for a character. Copyright (C) 2006-2007, 2010-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include /* Specification. */ #include /* Get iswprint. */ #include #include "localcharset.h" #include "streq.h" #include "uniwidth.h" /* Returns 1 if the current locale is an UTF-8 locale, 0 otherwise. */ static inline int is_locale_utf8 (void) { const char *encoding = locale_charset (); return STREQ_OPT (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0); } #if GNULIB_WCHAR_SINGLE_LOCALE /* When we know that the locale does not change, provide a speedup by caching the value of is_locale_utf8. */ static int cached_is_locale_utf8 = -1; static inline int is_locale_utf8_cached (void) { if (cached_is_locale_utf8 < 0) cached_is_locale_utf8 = is_locale_utf8 (); return cached_is_locale_utf8; } #else /* By default, don't make assumptions, hence no caching. */ # define is_locale_utf8_cached is_locale_utf8 #endif int wcwidth (wchar_t wc) #undef wcwidth { /* In UTF-8 locales, use a Unicode aware width function. */ if (is_locale_utf8_cached ()) { /* We assume that in a UTF-8 locale, a wide character is the same as a Unicode character. */ return uc_width (wc, "UTF-8"); } else { /* Otherwise, fall back to the system's wcwidth function. */ #if HAVE_WCWIDTH return wcwidth (wc); #else return wc == 0 ? 0 : iswprint (wc) ? 1 : -1; #endif } } datamash-1.9/lib/windows-initguard.h0000644000000000000000000000231614767401140013177 /* Init guards, somewhat like spinlocks (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_INITGUARD_H #define _WINDOWS_INITGUARD_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef struct { volatile int done; volatile LONG started; } glwthread_initguard_t; #define GLWTHREAD_INITGUARD_INIT { 0, -1 } #endif /* _WINDOWS_INITGUARD_H */ datamash-1.9/lib/windows-mutex.c0000644000000000000000000000670514767401140012354 /* Plain mutexes (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-mutex.h" #include #include void glwthread_mutex_init (glwthread_mutex_t *mutex) { mutex->owner = 0; InitializeCriticalSection (&mutex->lock); mutex->guard.done = 1; } int glwthread_mutex_lock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_mutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!mutex->guard.done) Sleep (0); } } /* If this thread already owns the mutex, POSIX pthread_mutex_lock() is required to deadlock here. But let's not do that on purpose. */ EnterCriticalSection (&mutex->lock); { DWORD self = GetCurrentThreadId (); mutex->owner = self; } return 0; } int glwthread_mutex_trylock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_mutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Let another thread finish initializing this mutex, and let it also lock this mutex. */ return EBUSY; } } if (!TryEnterCriticalSection (&mutex->lock)) return EBUSY; { DWORD self = GetCurrentThreadId (); /* TryEnterCriticalSection succeeded. This means that the mutex was either previously unlocked (and thus mutex->owner == 0) or previously locked by this thread (and thus mutex->owner == self). Since the mutex is meant to be plain, we need to fail in the latter case. */ if (mutex->owner == self) { LeaveCriticalSection (&mutex->lock); return EBUSY; } if (mutex->owner != 0) abort (); mutex->owner = self; } return 0; } int glwthread_mutex_unlock (glwthread_mutex_t *mutex) { if (!mutex->guard.done) return EINVAL; mutex->owner = 0; LeaveCriticalSection (&mutex->lock); return 0; } int glwthread_mutex_destroy (glwthread_mutex_t *mutex) { if (!mutex->guard.done) return EINVAL; DeleteCriticalSection (&mutex->lock); mutex->guard.done = 0; return 0; } datamash-1.9/lib/windows-mutex.h0000644000000000000000000000322414767401140012352 /* Plain mutexes (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_MUTEX_H #define _WINDOWS_MUTEX_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" typedef struct { glwthread_initguard_t guard; /* protects the initialization */ DWORD owner; CRITICAL_SECTION lock; } glwthread_mutex_t; #define GLWTHREAD_MUTEX_INIT { GLWTHREAD_INITGUARD_INIT } #ifdef __cplusplus extern "C" { #endif extern void glwthread_mutex_init (glwthread_mutex_t *mutex); extern int glwthread_mutex_lock (glwthread_mutex_t *mutex); extern int glwthread_mutex_trylock (glwthread_mutex_t *mutex); extern int glwthread_mutex_unlock (glwthread_mutex_t *mutex); extern int glwthread_mutex_destroy (glwthread_mutex_t *mutex); #ifdef __cplusplus } #endif #endif /* _WINDOWS_MUTEX_H */ datamash-1.9/lib/windows-once.c0000644000000000000000000001132014767401140012123 /* Once-only control (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-once.h" #include void glwthread_once (glwthread_once_t *once_control, void (*initfunction) (void)) { if (once_control->inited <= 0) { InterlockedIncrement (&once_control->num_threads); /* If once_control->started is == -1, set it to 0. */ if (InterlockedCompareExchange (&once_control->started, 0, -1) < 0) { /* This thread is the first one to come to this once_control. */ InitializeCriticalSection (&once_control->lock); EnterCriticalSection (&once_control->lock); once_control->inited = 0; initfunction (); once_control->inited = 1; LeaveCriticalSection (&once_control->lock); } else { /* Some other thread has already started the initialization. Yield the CPU while waiting for the other thread to finish initializing and taking the lock. */ while (once_control->inited < 0) Sleep (0); if (once_control->inited <= 0) { /* Take the lock. This blocks until the other thread has finished calling the initfunction. */ EnterCriticalSection (&once_control->lock); LeaveCriticalSection (&once_control->lock); if (!(once_control->inited > 0)) abort (); } } /* Here once_control->started == 0 and once_control->inited > 0. */ if (InterlockedDecrement (&once_control->num_threads) == 0) /* once_control->num_threads is now zero, and once_control->started == 0 and once_control->inited > 0. No other thread will need to use the lock. We can therefore destroy the lock, to free resources. */ /* If once_control->inited is == 1, set it to 2. */ if (InterlockedCompareExchange (&once_control->inited, 2, 1) == 1) DeleteCriticalSection (&once_control->lock); } /* Proof of correctness: * num_threads is incremented and then decremented by some threads. Therefore, num_threads always stays >= 0, and is == 0 at the end. * The first thread to go through the once_control->started fence initializes the lock and moves inited from <= 0 to > 0. The other threads don't move inited from <= 0 to > 0. * started, once == 0, stays == 0. * inited, once > 0, stays > 0 (since at the place where it is assigned 0, it cannot be > 0). * inited does not change any more once it is 2. Therefore, it can be changed from 1 to 2 only once. * DeleteCriticalSection gets invoked right after inited has been changed from 1 to 2. Therefore, DeleteCriticalSection gets invoked only once. * After a moment where num_threads was 0 and started was 0 and inited was > 0, no thread can reach an InitializeCriticalSection or EnterCriticalSection invocation. Proof: - At such a moment, no thread is in the code range between InterlockedIncrement (&once_control->num_threads) and InterlockedDecrement (&once_control->num_threads) - After such a moment, some thread can increment num_threads, but from there they cannot reach the InitializeCriticalSection invocation, because the once_control->started test prevents that, and they cannot reach the EnterCriticalSection invocation in the other branch because the if (once_control->inited <= 0) test prevents that. * From this it follows that: - DeleteCriticalSection cannot be executed while the lock is taken (because DeleteCriticalSection is only executed after a moment where num_threads was 0 and started was 0 and inited was > 0). - Once DeleteCriticalSection has been executed, the lock is not used any more. */ } datamash-1.9/lib/windows-once.h0000644000000000000000000000265314767401140012141 /* Once-only control (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_ONCE_H #define _WINDOWS_ONCE_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include typedef struct { volatile LONG inited; volatile LONG num_threads; volatile LONG started; CRITICAL_SECTION lock; } glwthread_once_t; #define GLWTHREAD_ONCE_INIT { -1, 0, -1 } #ifdef __cplusplus extern "C" { #endif extern void glwthread_once (glwthread_once_t *once_control, void (*initfunction) (void)); #ifdef __cplusplus } #endif #endif /* _WINDOWS_ONCE_H */ datamash-1.9/lib/windows-recmutex.c0000644000000000000000000000654214767401140013045 /* Plain recursive mutexes (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-recmutex.h" #include void glwthread_recmutex_init (glwthread_recmutex_t *mutex) { mutex->owner = 0; mutex->depth = 0; InitializeCriticalSection (&mutex->lock); mutex->guard.done = 1; } int glwthread_recmutex_lock (glwthread_recmutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_recmutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this mutex. */ while (!mutex->guard.done) Sleep (0); } } { DWORD self = GetCurrentThreadId (); if (mutex->owner != self) { EnterCriticalSection (&mutex->lock); mutex->owner = self; } if (++(mutex->depth) == 0) /* wraparound? */ { mutex->depth--; return EAGAIN; } } return 0; } int glwthread_recmutex_trylock (glwthread_recmutex_t *mutex) { if (!mutex->guard.done) { if (InterlockedIncrement (&mutex->guard.started) == 0) /* This thread is the first one to need this mutex. Initialize it. */ glwthread_recmutex_init (mutex); else { /* Don't let mutex->guard.started grow and wrap around. */ InterlockedDecrement (&mutex->guard.started); /* Let another thread finish initializing this mutex, and let it also lock this mutex. */ return EBUSY; } } { DWORD self = GetCurrentThreadId (); if (mutex->owner != self) { if (!TryEnterCriticalSection (&mutex->lock)) return EBUSY; mutex->owner = self; } if (++(mutex->depth) == 0) /* wraparound? */ { mutex->depth--; return EAGAIN; } } return 0; } int glwthread_recmutex_unlock (glwthread_recmutex_t *mutex) { if (mutex->owner != GetCurrentThreadId ()) return EPERM; if (mutex->depth == 0) return EINVAL; if (--(mutex->depth) == 0) { mutex->owner = 0; LeaveCriticalSection (&mutex->lock); } return 0; } int glwthread_recmutex_destroy (glwthread_recmutex_t *mutex) { if (mutex->owner != 0) return EBUSY; DeleteCriticalSection (&mutex->lock); mutex->guard.done = 0; return 0; } datamash-1.9/lib/windows-recmutex.h0000644000000000000000000000367514767401140013056 /* Plain recursive mutexes (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_RECMUTEX_H #define _WINDOWS_RECMUTEX_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" /* The native Windows documentation says that CRITICAL_SECTION already implements a recursive lock. But we need not rely on it: It's easy to implement a recursive lock without this assumption. */ typedef struct { glwthread_initguard_t guard; /* protects the initialization */ DWORD owner; unsigned long depth; CRITICAL_SECTION lock; } glwthread_recmutex_t; #define GLWTHREAD_RECMUTEX_INIT { GLWTHREAD_INITGUARD_INIT, 0, 0 } #ifdef __cplusplus extern "C" { #endif extern void glwthread_recmutex_init (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_lock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_trylock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_unlock (glwthread_recmutex_t *mutex); extern int glwthread_recmutex_destroy (glwthread_recmutex_t *mutex); #ifdef __cplusplus } #endif #endif /* _WINDOWS_RECMUTEX_H */ datamash-1.9/lib/windows-rwlock.c0000644000000000000000000002727314767401140012516 /* Read-write locks (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #include /* Specification. */ #include "windows-rwlock.h" #include #include /* Don't assume that UNICODE is not defined. */ #undef CreateEvent #define CreateEvent CreateEventA /* In this file, the waitqueues are implemented as circular arrays. */ #define glwthread_waitqueue_t glwthread_carray_waitqueue_t static void glwthread_waitqueue_init (glwthread_waitqueue_t *wq) { wq->array = NULL; wq->count = 0; wq->alloc = 0; wq->offset = 0; } /* Enqueues the current thread, represented by an event, in a wait queue. Returns INVALID_HANDLE_VALUE if an allocation failure occurs. */ static HANDLE glwthread_waitqueue_add (glwthread_waitqueue_t *wq) { HANDLE event; unsigned int index; if (wq->count == wq->alloc) { unsigned int new_alloc = 2 * wq->alloc + 1; HANDLE *new_array = (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); if (new_array == NULL) /* No more memory. */ return INVALID_HANDLE_VALUE; /* Now is a good opportunity to rotate the array so that its contents starts at offset 0. */ if (wq->offset > 0) { unsigned int old_count = wq->count; unsigned int old_alloc = wq->alloc; unsigned int old_offset = wq->offset; unsigned int i; if (old_offset + old_count > old_alloc) { unsigned int limit = old_offset + old_count - old_alloc; for (i = 0; i < limit; i++) new_array[old_alloc + i] = new_array[i]; } for (i = 0; i < old_count; i++) new_array[i] = new_array[old_offset + i]; wq->offset = 0; } wq->array = new_array; wq->alloc = new_alloc; } /* Whether the created event is a manual-reset one or an auto-reset one, does not matter, since we will wait on it only once. */ event = CreateEvent (NULL, TRUE, FALSE, NULL); if (event == INVALID_HANDLE_VALUE) /* No way to allocate an event. */ return INVALID_HANDLE_VALUE; index = wq->offset + wq->count; if (index >= wq->alloc) index -= wq->alloc; wq->array[index] = event; wq->count++; return event; } /* Notifies the first thread from a wait queue and dequeues it. */ static void glwthread_waitqueue_notify_first (glwthread_waitqueue_t *wq) { SetEvent (wq->array[wq->offset + 0]); wq->offset++; wq->count--; if (wq->count == 0 || wq->offset == wq->alloc) wq->offset = 0; } /* Notifies all threads from a wait queue and dequeues them all. */ static void glwthread_waitqueue_notify_all (glwthread_waitqueue_t *wq) { unsigned int i; for (i = 0; i < wq->count; i++) { unsigned int index = wq->offset + i; if (index >= wq->alloc) index -= wq->alloc; SetEvent (wq->array[index]); } wq->count = 0; wq->offset = 0; } void glwthread_rwlock_init (glwthread_rwlock_t *lock) { InitializeCriticalSection (&lock->lock); glwthread_waitqueue_init (&lock->waiting_readers); glwthread_waitqueue_init (&lock->waiting_writers); lock->runcount = 0; lock->guard.done = 1; } int glwthread_rwlock_rdlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ HANDLE event = glwthread_waitqueue_add (&lock->waiting_readers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_readers, incremented lock->runcount. */ if (!(lock->runcount > 0)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount + 1 > 0)); } } lock->runcount++; LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_wrlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ HANDLE event = glwthread_waitqueue_add (&lock->waiting_writers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_writers, set lock->runcount = -1. */ if (!(lock->runcount == -1)) abort (); return 0; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount == 0)); } } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_tryrdlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } /* It's OK to wait for this critical section, because it is never taken for a long time. */ EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow, and whether no writer is waiting. The latter condition is because POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) { /* This thread would have to wait for a while. Return instead. */ LeaveCriticalSection (&lock->lock); return EBUSY; } lock->runcount++; LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_trywrlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glwthread_rwlock_init (lock); else { /* Don't let lock->guard.started grow and wrap around. */ InterlockedDecrement (&lock->guard.started); /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } } /* It's OK to wait for this critical section, because it is never taken for a long time. */ EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread would have to wait for a while. Return instead. */ LeaveCriticalSection (&lock->lock); return EBUSY; } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_unlock (glwthread_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; EnterCriticalSection (&lock->lock); if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) abort (); lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) { LeaveCriticalSection (&lock->lock); return EPERM; } lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers.count > 0) { /* Wake up one of the waiting writers. */ lock->runcount--; glwthread_waitqueue_notify_first (&lock->waiting_writers); } else { /* Wake up all waiting readers. */ lock->runcount += lock->waiting_readers.count; glwthread_waitqueue_notify_all (&lock->waiting_readers); } } LeaveCriticalSection (&lock->lock); return 0; } int glwthread_rwlock_destroy (glwthread_rwlock_t *lock) { if (!lock->guard.done) return EINVAL; if (lock->runcount != 0) return EBUSY; DeleteCriticalSection (&lock->lock); if (lock->waiting_readers.array != NULL) free (lock->waiting_readers.array); if (lock->waiting_writers.array != NULL) free (lock->waiting_writers.array); lock->guard.done = 0; return 0; } datamash-1.9/lib/windows-rwlock.h0000644000000000000000000000513414767401140012513 /* Read-write locks (native Windows implementation). Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-win32.h. */ #ifndef _WINDOWS_RWLOCK_H #define _WINDOWS_RWLOCK_H #define WIN32_LEAN_AND_MEAN /* avoid including junk */ #include #include "windows-initguard.h" /* It is impossible to implement read-write locks using plain locks, without introducing an extra thread dedicated to managing read-write locks. Therefore here we need to use the low-level Event type. */ typedef struct { HANDLE *array; /* array of waiting threads, each represented by an event */ unsigned int count; /* number of waiting threads */ unsigned int alloc; /* length of allocated array */ unsigned int offset; /* index of first waiting thread in array */ } glwthread_carray_waitqueue_t; typedef struct { glwthread_initguard_t guard; /* protects the initialization */ CRITICAL_SECTION lock; /* protects the remaining fields */ glwthread_carray_waitqueue_t waiting_readers; /* waiting readers */ glwthread_carray_waitqueue_t waiting_writers; /* waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } glwthread_rwlock_t; #define GLWTHREAD_RWLOCK_INIT { GLWTHREAD_INITGUARD_INIT } #ifdef __cplusplus extern "C" { #endif extern void glwthread_rwlock_init (glwthread_rwlock_t *lock); extern int glwthread_rwlock_rdlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_wrlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_tryrdlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_trywrlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_unlock (glwthread_rwlock_t *lock); extern int glwthread_rwlock_destroy (glwthread_rwlock_t *lock); #ifdef __cplusplus } #endif #endif /* _WINDOWS_RWLOCK_H */ datamash-1.9/lib/xalloc-die.c0000644000000000000000000000245014767401140011534 /* Report a memory allocation failure and exit. Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2025 Free Software Foundation, Inc. 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 . */ #include #include "xalloc.h" #include #include #include "exitfail.h" #include "gettext.h" #define _(msgid) dgettext ("gnulib", msgid) void xalloc_die (void) { error (exit_failure, 0, "%s", _("memory exhausted")); /* _Noreturn cannot be given to error, since it may return if its first argument is 0. To help compilers understand the xalloc_die does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */ abort (); } datamash-1.9/lib/xalloc-oversized.h0000644000000000000000000000512514767401140013014 /* xalloc-oversized.h -- memory allocation size checking Copyright (C) 1990-2000, 2003-2004, 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef XALLOC_OVERSIZED_H_ #define XALLOC_OVERSIZED_H_ #include #include /* True if N * S does not fit into both ptrdiff_t and size_t. N and S should be nonnegative and free of side effects. This expands to a constant expression if N and S are both constants. By gnulib convention, SIZE_MAX represents overflow in size_t calculations, so the conservative size_t-based dividend to use here is SIZE_MAX - 1. */ #define __xalloc_oversized(n, s) \ ((s) != 0 \ && (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n)) /* Return 1 if and only if an array of N objects, each of size S, cannot exist reliably because its total size in bytes would exceed MIN (PTRDIFF_MAX, SIZE_MAX - 1). N and S should be nonnegative and free of side effects. Warning: (xalloc_oversized (N, S) ? NULL : malloc (N * S)) can misbehave if N and S are both narrower than ptrdiff_t and size_t, and can be rewritten as (xalloc_oversized (N, S) ? NULL : malloc (N * (size_t) S)). This is a macro, not a function, so that it works even if an argument exceeds MAX (PTRDIFF_MAX, SIZE_MAX). */ #if 7 <= __GNUC__ && !defined __clang__ && PTRDIFF_MAX < SIZE_MAX # define xalloc_oversized(n, s) \ __builtin_mul_overflow_p (n, s, (ptrdiff_t) 1) #elif 5 <= __GNUC__ && !defined __clang__ && !defined __ICC \ && PTRDIFF_MAX < SIZE_MAX # define xalloc_oversized(n, s) \ (__builtin_constant_p (n) && __builtin_constant_p (s) \ ? __xalloc_oversized (n, s) \ : __extension__ \ ({ ptrdiff_t __xalloc_count; \ __builtin_mul_overflow (n, s, &__xalloc_count); })) /* Other compilers use integer division; this may be slower but is more portable. */ #else # define xalloc_oversized(n, s) __xalloc_oversized (n, s) #endif #endif /* !XALLOC_OVERSIZED_H_ */ datamash-1.9/lib/xalloc.h0000644000000000000000000001545614767401140011014 /* xalloc.h -- malloc with out-of-memory checking Copyright (C) 1990-2000, 2003-2004, 2006-2025 Free Software Foundation, Inc. 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 . */ #ifndef XALLOC_H_ #define XALLOC_H_ /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _Noreturn, _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #include #if GNULIB_XALLOC # include "idx.h" #endif _GL_INLINE_HEADER_BEGIN #ifndef XALLOC_INLINE # define XALLOC_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif #if GNULIB_XALLOC_DIE /* This function is always triggered when memory is exhausted. It must be defined by the application, either explicitly or by using gnulib's xalloc-die module. This is the function to call when one wants the program to die because of a memory allocation failure. */ _Noreturn void xalloc_die (void); #endif /* GNULIB_XALLOC_DIE */ #if GNULIB_XALLOC void *xmalloc (size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *ximalloc (idx_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xinmalloc (idx_t n, idx_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xzalloc (size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xizalloc (idx_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xcalloc (size_t n, size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xicalloc (idx_t n, idx_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xrealloc (void *p, size_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2)); void *xirealloc (void *p, idx_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xreallocarray (void *p, size_t n, size_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2, 3)); void *xireallocarray (void *p, idx_t n, idx_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2, 3)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *x2realloc (void *p, size_t *ps) /* superseded by xpalloc */ _GL_ATTRIBUTE_RETURNS_NONNULL; void *x2nrealloc (void *p, size_t *pn, size_t s) /* superseded by xpalloc */ _GL_ATTRIBUTE_RETURNS_NONNULL; void *xpalloc (void *pa, idx_t *pn, idx_t n_incr_min, ptrdiff_t n_max, idx_t s) _GL_ATTRIBUTE_RETURNS_NONNULL; void *xmemdup (void const *p, size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((2)) _GL_ATTRIBUTE_RETURNS_NONNULL; void *ximemdup (void const *p, idx_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((2)) _GL_ATTRIBUTE_RETURNS_NONNULL; char *ximemdup0 (void const *p, idx_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; char *xstrdup (char const *str) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL; /* In the following macros, T must be an elementary or structure/union or typedef'ed type, or a pointer to such a type. To apply one of the following macros to a function pointer or array type, you need to typedef it first and use the typedef name. */ /* Allocate an object of type T dynamically, with error checking. */ /* extern t *XMALLOC (typename t); */ # define XMALLOC(t) ((t *) xmalloc (sizeof (t))) /* Allocate memory for N elements of type T, with error checking. */ /* extern t *XNMALLOC (size_t n, typename t); */ # define XNMALLOC(n, t) \ ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) /* Allocate an object of type T dynamically, with error checking, and zero it. */ /* extern t *XZALLOC (typename t); */ # define XZALLOC(t) ((t *) xzalloc (sizeof (t))) /* Allocate memory for N elements of type T, with error checking, and zero it. */ /* extern t *XCALLOC (size_t n, typename t); */ # define XCALLOC(n, t) \ ((t *) (sizeof (t) == 1 ? xzalloc (n) : xcalloc (n, sizeof (t)))) /* Allocate an array of N objects, each with S bytes of memory, dynamically, with error checking. S must be nonzero. */ void *xnmalloc (size_t n, size_t s) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1, 2)) _GL_ATTRIBUTE_RETURNS_NONNULL; /* FIXME: Deprecate this in favor of xreallocarray? */ /* Change the size of an allocated block of memory P to an array of N objects each of S bytes, with error checking. S must be nonzero. */ XALLOC_INLINE void *xnrealloc (void *p, size_t n, size_t s) _GL_ATTRIBUTE_ALLOC_SIZE ((2, 3)); XALLOC_INLINE void * xnrealloc (void *p, size_t n, size_t s) { return xreallocarray (p, n, s); } /* Return a pointer to a new buffer of N bytes. This is like xmalloc, except it returns char *. */ char *xcharalloc (size_t n) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_ALLOC_SIZE ((1)) _GL_ATTRIBUTE_RETURNS_NONNULL; #endif /* GNULIB_XALLOC */ #ifdef __cplusplus } #endif #if GNULIB_XALLOC && defined __cplusplus /* C++ does not allow conversions from void * to other pointer types without a cast. Use templates to work around the problem when possible. */ template inline T * xrealloc (T *p, size_t s) { return (T *) xrealloc ((void *) p, s); } template inline T * xreallocarray (T *p, size_t n, size_t s) { return (T *) xreallocarray ((void *) p, n, s); } /* FIXME: Deprecate this in favor of xreallocarray? */ template inline T * xnrealloc (T *p, size_t n, size_t s) { return xreallocarray (p, n, s); } template inline T * x2realloc (T *p, size_t *pn) { return (T *) x2realloc ((void *) p, pn); } template inline T * x2nrealloc (T *p, size_t *pn, size_t s) { return (T *) x2nrealloc ((void *) p, pn, s); } template inline T * xmemdup (T const *p, size_t s) { return (T *) xmemdup ((void const *) p, s); } #endif /* GNULIB_XALLOC && C++ */ _GL_INLINE_HEADER_END #endif /* !XALLOC_H_ */ datamash-1.9/lib/xmalloc.c0000644000000000000000000002030314767401140011147 /* xmalloc.c -- malloc with out of memory checking Copyright (C) 1990-2000, 2002-2006, 2008-2025 Free Software Foundation, Inc. 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 . */ #include #define XALLOC_INLINE _GL_EXTERN_INLINE #include "xalloc.h" #include "ialloc.h" #include "minmax.h" #include #include #include #include static void * _GL_ATTRIBUTE_PURE check_nonnull (void *p) { if (!p) xalloc_die (); return p; } /* Allocate S bytes of memory dynamically, with error checking. */ void * xmalloc (size_t s) { return check_nonnull (malloc (s)); } void * ximalloc (idx_t s) { return check_nonnull (imalloc (s)); } char * xcharalloc (size_t n) { return XNMALLOC (n, char); } /* Change the size of an allocated block of memory P to S bytes, with error checking. */ void * xrealloc (void *p, size_t s) { void *r = realloc (p, s); if (!r) xalloc_die (); return r; } void * xirealloc (void *p, idx_t s) { return check_nonnull (irealloc (p, s)); } /* Change the size of an allocated block of memory P to an array of N objects each of S bytes, with error checking. */ void * xreallocarray (void *p, size_t n, size_t s) { void *r = reallocarray (p, n, s); if (!r) xalloc_die (); return r; } void * xireallocarray (void *p, idx_t n, idx_t s) { return check_nonnull (ireallocarray (p, n, s)); } /* Allocate an array of N objects, each with S bytes of memory, dynamically, with error checking. S must be nonzero. */ void * xnmalloc (size_t n, size_t s) { return xreallocarray (NULL, n, s); } void * xinmalloc (idx_t n, idx_t s) { return xireallocarray (NULL, n, s); } /* If P is null, allocate a block of at least *PS bytes; otherwise, reallocate P so that it contains more than *PS bytes. *PS must be nonzero unless P is null. Set *PS to the new block's size, and return the pointer to the new block. *PS is never set to zero, and the returned pointer is never null. */ void * x2realloc (void *p, size_t *ps) { return x2nrealloc (p, ps, 1); } /* If P is null, allocate a block of at least *PN such objects; otherwise, reallocate P so that it contains more than *PN objects each of S bytes. S must be nonzero. Set *PN to the new number of objects, and return the pointer to the new block. *PN is never set to zero, and the returned pointer is never null. Repeated reallocations are guaranteed to make progress, either by allocating an initial block with a nonzero size, or by allocating a larger block. In the following implementation, nonzero sizes are increased by a factor of approximately 1.5 so that repeated reallocations have O(N) overall cost rather than O(N**2) cost, but the specification for this function does not guarantee that rate. Here is an example of use: int *p = NULL; size_t used = 0; size_t allocated = 0; void append_int (int value) { if (used == allocated) p = x2nrealloc (p, &allocated, sizeof *p); p[used++] = value; } This causes x2nrealloc to allocate a block of some nonzero size the first time it is called. To have finer-grained control over the initial size, set *PN to a nonzero value before calling this function with P == NULL. For example: int *p = NULL; size_t used = 0; size_t allocated = 0; size_t allocated1 = 1000; void append_int (int value) { if (used == allocated) { p = x2nrealloc (p, &allocated1, sizeof *p); allocated = allocated1; } p[used++] = value; } */ void * x2nrealloc (void *p, size_t *pn, size_t s) { size_t n = *pn; if (! p) { if (! n) { /* The approximate size to use for initial small allocation requests, when the invoking code specifies an old size of zero. This is the largest "small" request for the GNU C library malloc. */ enum { DEFAULT_MXFAST = 64 * sizeof (size_t) / 4 }; n = DEFAULT_MXFAST / s; n += !n; } } else { /* Set N = floor (1.5 * N) + 1 to make progress even if N == 0. */ if (ckd_add (&n, n, (n >> 1) + 1)) xalloc_die (); } p = xreallocarray (p, n, s); *pn = n; return p; } /* Grow PA, which points to an array of *PN items, and return the location of the reallocated array, updating *PN to reflect its new size. The new array will contain at least N_INCR_MIN more items, but will not contain more than N_MAX items total. S is the size of each item, in bytes. S and N_INCR_MIN must be positive. *PN must be nonnegative. If N_MAX is -1, it is treated as if it were infinity. If PA is null, then allocate a new array instead of reallocating the old one. Thus, to grow an array A without saving its old contents, do { free (A); A = xpalloc (NULL, &AITEMS, ...); }. */ void * xpalloc (void *pa, idx_t *pn, idx_t n_incr_min, ptrdiff_t n_max, idx_t s) { idx_t n0 = *pn; /* The approximate size to use for initial small allocation requests. This is the largest "small" request for the GNU C library malloc. */ enum { DEFAULT_MXFAST = 64 * sizeof (size_t) / 4 }; /* If the array is tiny, grow it to about (but no greater than) DEFAULT_MXFAST bytes. Otherwise, grow it by about 50%. Adjust the growth according to three constraints: N_INCR_MIN, N_MAX, and what the C language can represent safely. */ idx_t n; if (ckd_add (&n, n0, n0 >> 1)) n = IDX_MAX; if (0 <= n_max && n_max < n) n = n_max; /* NBYTES is of a type suitable for holding the count of bytes in an object. This is typically idx_t, but it should be size_t on (theoretical?) platforms where SIZE_MAX < IDX_MAX so xpalloc does not pass values greater than SIZE_MAX to xrealloc. */ #if IDX_MAX <= SIZE_MAX idx_t nbytes; #else size_t nbytes; #endif idx_t adjusted_nbytes = (ckd_mul (&nbytes, n, s) ? MIN (IDX_MAX, SIZE_MAX) : nbytes < DEFAULT_MXFAST ? DEFAULT_MXFAST : 0); if (adjusted_nbytes) { n = adjusted_nbytes / s; nbytes = adjusted_nbytes - adjusted_nbytes % s; } if (! pa) *pn = 0; if (n - n0 < n_incr_min && (ckd_add (&n, n0, n_incr_min) || (0 <= n_max && n_max < n) || ckd_mul (&nbytes, n, s))) xalloc_die (); pa = xrealloc (pa, nbytes); *pn = n; return pa; } /* Allocate S bytes of zeroed memory dynamically, with error checking. There's no need for xnzalloc (N, S), since it would be equivalent to xcalloc (N, S). */ void * xzalloc (size_t s) { return xcalloc (s, 1); } void * xizalloc (idx_t s) { return xicalloc (s, 1); } /* Allocate zeroed memory for N elements of S bytes, with error checking. S must be nonzero. */ void * xcalloc (size_t n, size_t s) { return check_nonnull (calloc (n, s)); } void * xicalloc (idx_t n, idx_t s) { return check_nonnull (icalloc (n, s)); } /* Clone an object P of size S, with error checking. There's no need for xnmemdup (P, N, S), since xmemdup (P, N * S) works without any need for an arithmetic overflow check. */ void * xmemdup (void const *p, size_t s) { return memcpy (xmalloc (s), p, s); } void * ximemdup (void const *p, idx_t s) { return memcpy (ximalloc (s), p, s); } /* Clone an object P of size S, with error checking. Append a terminating NUL byte. */ char * ximemdup0 (void const *p, idx_t s) { char *result = ximalloc (s + 1); result[s] = 0; return memcpy (result, p, s); } /* Clone STRING. */ char * xstrdup (char const *string) { return xmemdup (string, strlen (string) + 1); } datamash-1.9/lib/xsize.c0000644000000000000000000000150414767401140010654 /* Checked size_t computations. Copyright (C) 2012-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #include #define XSIZE_INLINE _GL_EXTERN_INLINE #include "xsize.h" datamash-1.9/lib/xsize.h0000644000000000000000000000775214767401140010674 /* xsize.h -- Checked size_t computations. Copyright (C) 2003, 2008-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This file 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _XSIZE_H #define _XSIZE_H /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, HAVE_STDINT_H. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif /* Get size_t. */ #include /* Get INT_MAX, SIZE_MAX. */ #include #if HAVE_STDINT_H # include #endif /* Get ATTRIBUTE_PURE. */ #include "attribute.h" _GL_INLINE_HEADER_BEGIN #ifndef XSIZE_INLINE # define XSIZE_INLINE _GL_INLINE #endif #ifdef __cplusplus extern "C" { #endif /* The size of memory objects is often computed through expressions of type size_t. Example: void* p = malloc (header_size + n * element_size). These computations can lead to overflow. When this happens, malloc() returns a piece of memory that is way too small, and the program then crashes while attempting to fill the memory. To avoid this, the functions and macros in this file check for overflow. The convention is that SIZE_MAX represents overflow. malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc implementation that uses mmap --, it's recommended to use size_overflow_p() or size_in_bounds_p() before invoking malloc(). The example thus becomes: size_t size = xsum (header_size, xtimes (n, element_size)); void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); */ /* Convert an arbitrary N >= 0 to type size_t. N should not have side effects. */ #define xcast_size_t(N) \ ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) /* Sum of two sizes, with overflow check. */ XSIZE_INLINE size_t ATTRIBUTE_PURE xsum (size_t size1, size_t size2) { if (INT_MAX < SIZE_MAX) { /* Optimize for the common case where size_t arithmetic wraps around without undefined behavior. */ size_t sum = size1 + size2; return size1 <= sum ? sum : SIZE_MAX; } return size1 <= SIZE_MAX - size2 ? size1 + size2 : SIZE_MAX; } /* Sum of three sizes, with overflow check. */ XSIZE_INLINE size_t ATTRIBUTE_PURE xsum3 (size_t size1, size_t size2, size_t size3) { return xsum (xsum (size1, size2), size3); } /* Sum of four sizes, with overflow check. */ XSIZE_INLINE size_t ATTRIBUTE_PURE xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) { return xsum (xsum (xsum (size1, size2), size3), size4); } /* Maximum of two sizes, with overflow check. */ XSIZE_INLINE size_t ATTRIBUTE_PURE xmax (size_t size1, size_t size2) { /* No explicit check is needed here, because for any n: max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ return (size1 >= size2 ? size1 : size2); } /* Multiplication of a count with an element size, with overflow check. The count must be >= 0 and the element size must be > 0. Arguments should not have side effects. The element size's type should be no wider than size_t. This is a macro, not a function, so that it works correctly even when N is of a wider type and N > SIZE_MAX. */ #define xtimes(N, ELSIZE) \ ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) /* Check for overflow. */ #define size_overflow_p(SIZE) \ ((SIZE) == SIZE_MAX) /* Check against overflow. */ #define size_in_bounds_p(SIZE) \ ((SIZE) != SIZE_MAX) #ifdef __cplusplus } #endif _GL_INLINE_HEADER_END #endif /* _XSIZE_H */ datamash-1.9/lib/xstriconv.c0000644000000000000000000000312014767401140011545 /* Charset conversion with out-of-memory checking. Copyright (C) 2001-2004, 2006, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible. 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 . */ #include /* Specification. */ #include "xstriconv.h" #include #include "striconv.h" #include "xalloc.h" #if HAVE_ICONV int xmem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp) { int retval = mem_cd_iconv (src, srclen, cd, resultp, lengthp); if (retval < 0 && errno == ENOMEM) xalloc_die (); return retval; } char * xstr_cd_iconv (const char *src, iconv_t cd) { char *result = str_cd_iconv (src, cd); if (result == NULL && errno == ENOMEM) xalloc_die (); return result; } #endif char * xstr_iconv (const char *src, const char *from_codeset, const char *to_codeset) { char *result = str_iconv (src, from_codeset, to_codeset); if (result == NULL && errno == ENOMEM) xalloc_die (); return result; } datamash-1.9/lib/xstriconv.h0000644000000000000000000000642714767401140011567 /* Charset conversion with out-of-memory checking. Copyright (C) 2001-2004, 2006-2007, 2009-2025 Free Software Foundation, Inc. Written by Bruno Haible and Simon Josefsson. 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 . */ #ifndef _XSTRICONV_H #define _XSTRICONV_H /* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV. */ #if !_GL_CONFIG_H_INCLUDED #error "Please include config.h first." #endif #include #if HAVE_ICONV #include #endif #ifdef __cplusplus extern "C" { #endif #if HAVE_ICONV /* Convert an entire string from one encoding to another, using iconv. The original string is at [SRC,...,SRC+SRCLEN-1]. The conversion descriptor is passed as CD. *RESULTP and *LENGTH should initially be a scratch buffer and its size, or *RESULTP can initially be NULL. May erase the contents of the memory at *RESULTP. Upon memory allocation failure, report the error and exit. Return value: 0 if successful, otherwise -1 and errno set. If successful: The resulting string is stored in *RESULTP and its length in *LENGTHP. *RESULTP is set to a freshly allocated memory block, or is unchanged if no dynamic memory allocation was necessary. */ extern int xmem_cd_iconv (const char *src, size_t srclen, iconv_t cd, char **resultp, size_t *lengthp); /* Convert an entire string from one encoding to another, using iconv. The original string is the NUL-terminated string starting at SRC. The conversion descriptor is passed as CD. Both the "from" and the "to" encoding must use a single NUL byte at the end of the string (i.e. not UCS-2, UCS-4, UTF-16, UTF-32). Allocate a malloced memory block for the result. Upon memory allocation failure, report the error and exit. Return value: the freshly allocated resulting NUL-terminated string if successful, otherwise NULL and errno set. */ extern char * xstr_cd_iconv (const char *src, iconv_t cd) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; #endif /* Convert an entire string from one encoding to another, using iconv. The original string is the NUL-terminated string starting at SRC. Both the "from" and the "to" encoding must use a single NUL byte at the end of the string (i.e. not UCS-2, UCS-4, UTF-16, UTF-32). Allocate a malloced memory block for the result. Upon memory allocation failure, report the error and exit. Return value: the freshly allocated resulting NUL-terminated string if successful, otherwise NULL and errno set. */ extern char * xstr_iconv (const char *src, const char *from_codeset, const char *to_codeset) _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; #ifdef __cplusplus } #endif #endif /* _XSTRICONV_H */ datamash-1.9/lib/xstrtol-error.c0000644000000000000000000000550714767402206012373 /* A more useful interface to strtol. Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2025 Free Software Foundation, Inc. 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 . */ #include #include "xstrtol-error.h" #include #include #include "exitfail.h" #include "gettext.h" #define _(msgid) dgettext ("gnulib", msgid) #define N_(msgid) msgid /* Report an error for an invalid integer in an option argument. ERR is the error code returned by one of the xstrto* functions. Use OPT_IDX to decide whether to print the short option string "C" or "-C" or a long option string derived from LONG_OPTION. OPT_IDX is -2 if the short option "C" was used, without any leading "-"; it is -1 if the short option "-C" was used; otherwise it is an index into LONG_OPTIONS, which should have a name preceded by two '-' characters. ARG is the option-argument containing the integer. After reporting an error, exit with status EXIT_STATUS if it is nonzero. */ static void xstrtol_error (enum strtol_error err, int opt_idx, char c, struct option const *long_options, char const *arg, int exit_status) { char const *hyphens = "--"; char const *msgid; char const *option; char option_buffer[2]; switch (err) { case LONGINT_OK: default: abort (); case LONGINT_INVALID: msgid = N_("invalid %s%s argument '%s'"); break; case LONGINT_INVALID_SUFFIX_CHAR: case LONGINT_INVALID_SUFFIX_CHAR_WITH_OVERFLOW: msgid = N_("invalid suffix in %s%s argument '%s'"); break; case LONGINT_OVERFLOW: msgid = N_("%s%s argument '%s' too large"); break; } if (opt_idx < 0) { hyphens -= opt_idx; option_buffer[0] = c; option_buffer[1] = '\0'; option = option_buffer; } else option = long_options[opt_idx].name; error (exit_status, 0, dgettext ("gnulib", msgid), hyphens, option, arg); } /* Like xstrtol_error, except exit with a failure status. */ void xstrtol_fatal (enum strtol_error err, int opt_idx, char c, struct option const *long_options, char const *arg) { xstrtol_error (err, opt_idx, c, long_options, arg, exit_failure); abort (); } datamash-1.9/lib/xstrtol-error.h0000644000000000000000000000356214767401140012373 /* Error reporting interface for xstrto* functions. Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2025 Free Software Foundation, Inc. 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 . */ #ifndef XSTRTOL_ERROR_H_ # define XSTRTOL_ERROR_H_ 1 /* This file uses _Noreturn. */ # if !_GL_CONFIG_H_INCLUDED # error "Please include config.h first." # endif # include "xstrtol.h" # include /* Report an error for an invalid integer in an option argument. ERR is the error code returned by one of the xstrto* functions. Use OPT_IDX to decide whether to print the short option string "C" or "-C" or a long option string derived from LONG_OPTIONS. OPT_IDX is -2 if the short option "C" was used, without any leading "-"; it is -1 if the short option "-C" was used; otherwise it is an index into LONG_OPTIONS, which should have a name preceded by two '-' characters. ARG is the option-argument containing the integer. After reporting an error, exit with a failure status. */ _Noreturn void xstrtol_fatal (enum strtol_error /* err */, int /* opt_idx */, char /* c */, struct option const * /* long_options */, char const * /* arg */); #endif /* not XSTRTOL_ERROR_H_ */ datamash-1.9/lib/xstrtol.c0000644000000000000000000001412714767401140011236 /* A more useful interface to strtol. Copyright (C) 1995-1996, 1998-2001, 2003-2007, 2009-2025 Free Software Foundation, Inc. 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 . */ /* Written by Jim Meyering. */ #ifndef __strtol # define __strtol strtol # define __strtol_t long int # define __xstrtol xstrtol # define STRTOL_T_MINIMUM LONG_MIN # define STRTOL_T_MAXIMUM LONG_MAX #endif #include #include "xstrtol.h" #include #include #include #include #include #include #if XSTRTOL_INCLUDE_INTTYPES_H # include #endif #include "intprops.h" static strtol_error bkm_scale (__strtol_t *x, int scale_factor) { __strtol_t scaled; if (ckd_mul (&scaled, *x, scale_factor)) { *x = *x < 0 ? TYPE_MINIMUM (__strtol_t) : TYPE_MAXIMUM (__strtol_t); return LONGINT_OVERFLOW; } *x = scaled; return LONGINT_OK; } static strtol_error bkm_scale_by_power (__strtol_t *x, int base, int power) { strtol_error err = LONGINT_OK; while (power--) err |= bkm_scale (x, base); return err; } strtol_error __xstrtol (char const *nptr, char **endptr, int base, __strtol_t *val, char const *valid_suffixes) { char *t_ptr; char **p = endptr ? endptr : &t_ptr; if (! TYPE_SIGNED (__strtol_t)) { char const *q = nptr; unsigned char ch = *q; while (isspace (ch)) ch = *++q; if (ch == '-') { *p = (char *) nptr; return LONGINT_INVALID; } } errno = 0; __strtol_t tmp = __strtol (nptr, p, base); strtol_error err = LONGINT_OK; if (*p == nptr) { /* If there is no number but there is a valid suffix, assume the number is 1. The string is invalid otherwise. */ if (! (valid_suffixes && *nptr && strchr (valid_suffixes, *nptr))) return LONGINT_INVALID; tmp = 1; } else if (errno != 0) { if (errno != ERANGE) return LONGINT_INVALID; err = LONGINT_OVERFLOW; } /* Let valid_suffixes == NULL mean "allow any suffix". */ /* FIXME: update all callers except the ones that allow suffixes after the number, changing last parameter NULL to "". */ if (!valid_suffixes) { *val = tmp; return err; } if (**p != '\0') { int xbase = 1024; int suffixes = 1; strtol_error overflow; if (!strchr (valid_suffixes, **p)) { *val = tmp; return err | LONGINT_INVALID_SUFFIX_CHAR; } switch (**p) { case 'E': case 'G': case 'g': case 'k': case 'K': case 'M': case 'm': case 'P': case 'Q': case 'R': case 'T': case 't': case 'Y': case 'Z': /* The "valid suffix" '0' is a special flag meaning that an optional second suffix is allowed, which can change the base. A suffix "B" (e.g. "100MB") stands for a power of 1000, whereas a suffix "iB" (e.g. "100MiB") stands for a power of 1024. If no suffix (e.g. "100M"), assume power-of-1024. */ if (strchr (valid_suffixes, '0')) switch (p[0][1]) { case 'i': if (p[0][2] == 'B') suffixes += 2; break; case 'B': case 'D': /* 'D' is obsolescent */ xbase = 1000; suffixes++; break; } } switch (**p) { case 'b': overflow = bkm_scale (&tmp, 512); break; case 'B': /* This obsolescent first suffix is distinct from the 'B' second suffix above. E.g., 'tar -L 1000B' means change the tape after writing 1000 KiB of data. */ overflow = bkm_scale (&tmp, 1024); break; case 'c': overflow = LONGINT_OK; break; case 'E': /* exa or exbi */ overflow = bkm_scale_by_power (&tmp, xbase, 6); break; case 'G': /* giga or gibi */ case 'g': /* 'g' is undocumented; for compatibility only */ overflow = bkm_scale_by_power (&tmp, xbase, 3); break; case 'k': /* kilo */ case 'K': /* kibi */ overflow = bkm_scale_by_power (&tmp, xbase, 1); break; case 'M': /* mega or mebi */ case 'm': /* 'm' is undocumented; for compatibility only */ overflow = bkm_scale_by_power (&tmp, xbase, 2); break; case 'P': /* peta or pebi */ overflow = bkm_scale_by_power (&tmp, xbase, 5); break; case 'Q': /* quetta or 2**100 */ overflow = bkm_scale_by_power (&tmp, xbase, 10); break; case 'R': /* ronna or 2**90 */ overflow = bkm_scale_by_power (&tmp, xbase, 9); break; case 'T': /* tera or tebi */ case 't': /* 't' is undocumented; for compatibility only */ overflow = bkm_scale_by_power (&tmp, xbase, 4); break; case 'w': overflow = bkm_scale (&tmp, 2); break; case 'Y': /* yotta or 2**80 */ overflow = bkm_scale_by_power (&tmp, xbase, 8); break; case 'Z': /* zetta or 2**70 */ overflow = bkm_scale_by_power (&tmp, xbase, 7); break; default: *val = tmp; return err | LONGINT_INVALID_SUFFIX_CHAR; } err |= overflow; *p += suffixes; if (**p) err |= LONGINT_INVALID_SUFFIX_CHAR; } *val = tmp; return err; } datamash-1.9/lib/xstrtol.h0000644000000000000000000000610114767401140011234 /* A more useful interface to strtol. Copyright (C) 1995-1996, 1998-1999, 2001-2004, 2006-2025 Free Software Foundation, Inc. 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 . */ #ifndef XSTRTOL_H_ #define XSTRTOL_H_ 1 /* Get intmax_t, uintmax_t. */ #include #ifdef __cplusplus extern "C" { #endif enum strtol_error { LONGINT_OK = 0, /* These two values can be ORed together, to indicate that both errors occurred. */ LONGINT_OVERFLOW = 1, LONGINT_INVALID_SUFFIX_CHAR = 2, LONGINT_INVALID_SUFFIX_CHAR_WITH_OVERFLOW = (LONGINT_INVALID_SUFFIX_CHAR | LONGINT_OVERFLOW), LONGINT_INVALID = 4 }; typedef enum strtol_error strtol_error; /* Act like the system's strtol (NPTR, ENDPTR, BASE) except: - The TYPE of the result might be something other than long int. - Return strtol_error, and store any result through an additional TYPE *VAL pointer instead of returning the result. - If TYPE is unsigned, reject leading '-'. - Behavior is undefined if BASE is negative, 1, or greater than 36. (In this respect xstrtol acts like the C standard, not like POSIX.) - Accept an additional char const *VALID_SUFFIXES pointer to a possibly-empty string containing allowed numeric suffixes, which multiply the value. These include SI suffixes like 'k' and 'M'; these normally stand for powers of 1024, but if VALID_SUFFIXES also includes '0' they can be followed by "B" to stand for the usual SI powers of 1000 (or by "iB" to stand for powers of 1024 as before). Other supported suffixes include 'K' for 1024 or 1000, 'b' for 512, 'c' for 1, and 'w' for 2. - Suppose that after the initial whitespace, the number is missing but there is a valid suffix. Then the number is treated as 1. */ #define _DECLARE_XSTRTOL(name, type) \ strtol_error name (char const *restrict /*nptr*/, \ char **restrict /*endptr*/, \ int /*base*/, \ type *restrict /*val*/, \ char const *restrict /*valid_suffixes*/); _DECLARE_XSTRTOL (xstrtol, long int) _DECLARE_XSTRTOL (xstrtoul, unsigned long int) _DECLARE_XSTRTOL (xstrtoll, long long int) _DECLARE_XSTRTOL (xstrtoull, unsigned long long int) _DECLARE_XSTRTOL (xstrtoimax, intmax_t) _DECLARE_XSTRTOL (xstrtoumax, uintmax_t) #ifdef __cplusplus } #endif #endif /* not XSTRTOL_H_ */ datamash-1.9/lib/xstrtoul.c0000644000000000000000000000164514767401140011424 /* Convert string to 'unsigned long', with error checking. Copyright (C) 1994-2025 Free Software Foundation, Inc. This file 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 file 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 . */ #define __strtol strtoul #define __strtol_t unsigned long int #define __xstrtol xstrtoul #define STRTOL_T_MINIMUM 0 #define STRTOL_T_MAXIMUM ULONG_MAX #include "xstrtol.c" datamash-1.9/lib/xstrtoumax.c0000644000000000000000000000166614767401140011761 /* A more useful interface to strtoumax. Copyright (C) 1999-2025 Free Software Foundation, Inc. This file 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 file 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 . */ #define __strtol strtoumax #define __strtol_t uintmax_t #define __xstrtol xstrtoumax #define STRTOL_T_MINIMUM 0 #define STRTOL_T_MAXIMUM UINTMAX_MAX #define XSTRTOL_INCLUDE_INTTYPES_H 1 #include "xstrtol.c" datamash-1.9/m4/0000755000000000000000000000000014774035552007210 5datamash-1.9/m4/00gnulib.m40000644000000000000000000000710514767401140011005 # 00gnulib.m4 # serial 9 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl This file must be named something that sorts before all other dnl gnulib-provided .m4 files. It is needed until the clang fix has dnl been included in Autoconf. # The following definitions arrange to use a compiler option # -Werror=implicit-function-declaration in AC_CHECK_DECL, when the # compiler is clang. Without it, clang implicitly declares "known" # library functions in C mode, but not in C++ mode, which would cause # Gnulib to omit a declaration and thus later produce an error in C++ # mode. As of clang 9.0, these "known" functions are identified through # LIBBUILTIN invocations in the LLVM source file # llvm/tools/clang/include/clang/Basic/Builtins.def. # It's not possible to AC_REQUIRE the extra tests from AC_CHECK_DECL, # because AC_CHECK_DECL, like other Autoconf built-ins, is not supposed # to AC_REQUIRE anything: some configure.ac files have their first # AC_CHECK_DECL executed conditionally. Therefore append the extra tests # to AC_PROG_CC. AC_DEFUN([gl_COMPILER_CLANG], [ dnl AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([whether the compiler is clang], [gl_cv_compiler_clang], [dnl Use _AC_COMPILE_IFELSE instead of AC_EGREP_CPP, to avoid error dnl "circular dependency of AC_LANG_COMPILER(C)" if AC_PROG_CC has dnl not yet been invoked. _AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #ifdef __clang__ barfbarf #endif ]],[[]]) ], [gl_cv_compiler_clang=no], [gl_cv_compiler_clang=yes]) ]) ]) AC_DEFUN([gl_COMPILER_PREPARE_CHECK_DECL], [ dnl AC_REQUIRE([AC_PROG_CC]) dnl AC_REQUIRE([gl_COMPILER_CLANG]) AC_CACHE_CHECK([for compiler option needed when checking for declarations], [gl_cv_compiler_check_decl_option], [if test $gl_cv_compiler_clang = yes; then dnl Test whether the compiler supports the option dnl '-Werror=implicit-function-declaration'. saved_ac_compile="$ac_compile" ac_compile="$ac_compile -Werror=implicit-function-declaration" dnl Use _AC_COMPILE_IFELSE instead of AC_COMPILE_IFELSE, to avoid a dnl warning "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[]])], [gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration'], [gl_cv_compiler_check_decl_option=none]) ac_compile="$saved_ac_compile" else gl_cv_compiler_check_decl_option=none fi ]) if test "x$gl_cv_compiler_check_decl_option" != xnone; then ac_compile_for_check_decl="$ac_compile $gl_cv_compiler_check_decl_option" else ac_compile_for_check_decl="$ac_compile" fi ]) dnl Redefine _AC_CHECK_DECL_BODY so that it references ac_compile_for_check_decl dnl instead of ac_compile. If, for whatever reason, the override of AC_PROG_CC dnl in zzgnulib.m4 is inactive, use the original ac_compile. m4_define([_AC_CHECK_DECL_BODY], [ ac_saved_ac_compile="$ac_compile" if test -n "$ac_compile_for_check_decl"; then ac_compile="$ac_compile_for_check_decl" fi] m4_defn([_AC_CHECK_DECL_BODY])[ ac_compile="$ac_saved_ac_compile" ]) # gl_00GNULIB # ----------- # Witness macro that this file has been included. Needed to force # Automake to include this file prior to all other gnulib .m4 files. AC_DEFUN([gl_00GNULIB]) datamash-1.9/m4/__inline.m40000644000000000000000000000154314767401140011141 # __inline.m4 # serial 1 dnl Copyright 2017-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Test for __inline keyword AC_DEFUN([gl___INLINE], [ AC_CACHE_CHECK([whether the compiler supports the __inline keyword], [gl_cv_c___inline], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[typedef int foo_t; static __inline foo_t foo (void) { return 0; }]], [[return foo ();]])], [gl_cv_c___inline=yes], [gl_cv_c___inline=no])]) if test $gl_cv_c___inline = yes; then AC_DEFINE([HAVE___INLINE], [1], [Define to 1 if the compiler supports the keyword '__inline'.]) fi ]) datamash-1.9/m4/absolute-header.m40000644000000000000000000001025414767401140012430 # absolute-header.m4 # serial 18 dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Derek Price. # gl_ABSOLUTE_HEADER(HEADER1 HEADER2 ...) # --------------------------------------- # Find the absolute name of a header file, testing first if the header exists. # If the header were sys/inttypes.h, this macro would define # ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of sys/inttypes.h # in config.h # (e.g. '#define ABSOLUTE_SYS_INTTYPES_H "///usr/include/sys/inttypes.h"'). # The three "///" are to pacify Sun C 5.8, which otherwise would say # "warning: #include of /usr/include/... may be non-portable". # Use '""', not '<>', so that the /// cannot be confused with a C99 comment. # Note: This macro assumes that the header file is not empty after # preprocessing, i.e. it does not only define preprocessor macros but also # provides some type/enum definitions or function/variable declarations. AC_DEFUN([gl_ABSOLUTE_HEADER], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_PREPROC_REQUIRE()dnl m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_absolute_header], [gl_cv_absolute_]m4_defn([gl_HEADER_NAME]))dnl AC_CACHE_CHECK([absolute name of <]m4_defn([gl_HEADER_NAME])[>], [gl_absolute_header], [AS_VAR_PUSHDEF([ac_header_exists], [ac_cv_header_]m4_defn([gl_HEADER_NAME]))dnl AC_CHECK_HEADERS_ONCE(m4_defn([gl_HEADER_NAME]))dnl if test AS_VAR_GET([ac_header_exists]) = yes; then gl_ABSOLUTE_HEADER_ONE(m4_defn([gl_HEADER_NAME])) fi AS_VAR_POPDEF([ac_header_exists])dnl ])dnl AC_DEFINE_UNQUOTED(AS_TR_CPP([ABSOLUTE_]m4_defn([gl_HEADER_NAME])), ["AS_VAR_GET([gl_absolute_header])"], [Define this to an absolute name of <]m4_defn([gl_HEADER_NAME])[>.]) AS_VAR_POPDEF([gl_absolute_header])dnl ])dnl ])# gl_ABSOLUTE_HEADER # gl_ABSOLUTE_HEADER_ONE(HEADER) # ------------------------------ # Like gl_ABSOLUTE_HEADER, except that: # - it assumes that the header exists, # - it uses the current CPPFLAGS, # - it does not cache the result, # - it is silent. AC_DEFUN([gl_ABSOLUTE_HEADER_ONE], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <]]m4_dquote([$1])[[>]])]) dnl AIX "xlc -E" and "cc -E" omit #line directives for header files dnl that contain only a #include of other header files and no dnl non-comment tokens of their own. This leads to a failure to dnl detect the absolute name of , , dnl and others. The workaround is to force preservation of comments dnl through option -C. This ensures all necessary #line directives dnl are present. GCC supports option -C as well. case "$host_os" in aix*) gl_absname_cpp="$ac_cpp -C" ;; *) gl_absname_cpp="$ac_cpp" ;; esac changequote(,) case "$host_os" in mingw* | windows*) dnl For the sake of native Windows compilers (excluding gcc), dnl treat backslash as a directory separator, like /. dnl Actually, these compilers use a double-backslash as dnl directory separator, inside the dnl # line "filename" dnl directives. gl_dirsep_regex='[/\\]' ;; *) gl_dirsep_regex='\/' ;; esac dnl A sed expression that turns a string into a basic regular dnl expression, for use within "/.../". gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' gl_header_literal_regex=`echo '$1' \ | sed -e "$gl_make_literal_regex_sed"` gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ s|^/[^/]|//&| p q }' changequote([,]) dnl eval is necessary to expand gl_absname_cpp. dnl Ultrix and Pyramid sh refuse to redirect output of eval, dnl so use subshell. AS_VAR_SET([gl_cv_absolute_]AS_TR_SH([[$1]]), [`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | sed -n "$gl_absolute_header_sed"`]) ]) datamash-1.9/m4/af_alg.m40000644000000000000000000000412314767401140010573 # af_alg.m4 # serial 6 dnl Copyright 2018-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Matteo Croce. AC_DEFUN_ONCE([gl_AF_ALG], [ AC_REQUIRE([gl_SYS_SOCKET_H]) AC_REQUIRE([AC_C_INLINE]) dnl Check whether linux/if_alg.h has needed features. AC_CACHE_CHECK([whether linux/if_alg.h has struct sockaddr_alg.], [gl_cv_header_linux_if_alg_salg], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include #include struct sockaddr_alg salg = { .salg_family = AF_ALG, .salg_type = "hash", .salg_name = "sha1", };]])], [gl_cv_header_linux_if_alg_salg=yes], [gl_cv_header_linux_if_alg_salg=no])]) if test "$gl_cv_header_linux_if_alg_salg" = yes; then AC_DEFINE([HAVE_LINUX_IF_ALG_H], [1], [Define to 1 if you have 'struct sockaddr_alg' defined.]) fi dnl The default is to not use AF_ALG if available, dnl as it's system dependent as to whether the kernel dnl routines are faster than libcrypto for example. use_af_alg=no AC_ARG_WITH([linux-crypto], [AS_HELP_STRING([[--with-linux-crypto]], [use Linux kernel cryptographic API (if available) for the hash functions MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 on files])], [use_af_alg=$withval], [use_af_alg=no]) dnl We cannot use it if it is not available. if test "$gl_cv_header_linux_if_alg_salg" != yes; then if test "$use_af_alg" != no; then AC_MSG_WARN([Linux kernel cryptographic API not found]) fi use_af_alg=no fi if test "$use_af_alg" != no; then USE_AF_ALG=1 else USE_AF_ALG=0 fi AC_DEFINE_UNQUOTED([USE_LINUX_CRYPTO_API], [$USE_AF_ALG], [Define to 1 if you want to use the Linux kernel cryptographic API.]) ]) datamash-1.9/m4/alloca.m40000644000000000000000000000740214767401140010620 # alloca.m4 # serial 21 dnl Copyright (C) 2002-2004, 2006-2007, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ALLOCA], [ AC_REQUIRE([AC_FUNC_ALLOCA]) if test $ac_cv_func_alloca_works = no; then gl_PREREQ_ALLOCA fi # Define an additional variable used in the Makefile substitution. if test $ac_cv_working_alloca_h = yes; then AC_CACHE_CHECK([for alloca as a compiler built-in], [gl_cv_rpl_alloca], [ AC_EGREP_CPP([Need own alloca], [ #if defined __GNUC__ || defined _AIX || defined _MSC_VER Need own alloca #endif ], [gl_cv_rpl_alloca=yes], [gl_cv_rpl_alloca=no]) ]) if test $gl_cv_rpl_alloca = yes; then dnl OK, alloca can be implemented through a compiler built-in. AC_DEFINE([HAVE_ALLOCA], [1], [Define to 1 if you have 'alloca' after including , a header that may be supplied by this distribution.]) GL_GENERATE_ALLOCA_H=true else dnl alloca exists as a library function, i.e. it is slow and probably dnl a memory leak. Don't define HAVE_ALLOCA in this case. GL_GENERATE_ALLOCA_H=false fi else GL_GENERATE_ALLOCA_H=true fi if test $ac_cv_working_alloca_h = yes; then HAVE_ALLOCA_H=1 else HAVE_ALLOCA_H=0 fi AC_SUBST([HAVE_ALLOCA_H]) ]) # Prerequisites of lib/alloca.c. # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. AC_DEFUN([gl_PREREQ_ALLOCA], [:]) m4_version_prereq([2.70], [], [ # This works around a bug in autoconf <= 2.68 and has simplifications # from 2.70. See: # https://lists.gnu.org/r/bug-gnulib/2011-06/msg00277.html # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=6cd9f12520b0d6f76d3230d7565feba1ecf29497 # https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=15edf7fd8094fd14a89d9891dd72a9624762597a # _AC_LIBOBJ_ALLOCA # ----------------- # Set up the LIBOBJ replacement of 'alloca'. Well, not exactly # AC_LIBOBJ since we actually set the output variable 'ALLOCA'. # Nevertheless, for Automake, AC_LIBSOURCES it. m4_define([_AC_LIBOBJ_ALLOCA], [# The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. AC_LIBSOURCES(alloca.c) AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])dnl AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using 'alloca.c'.]) AC_CACHE_CHECK([stack direction for C alloca], [ac_cv_c_stack_direction], [AC_RUN_IFELSE([AC_LANG_SOURCE( [AC_INCLUDES_DEFAULT int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; }])], [ac_cv_c_stack_direction=1], [ac_cv_c_stack_direction=-1], [ac_cv_c_stack_direction=0])]) AH_VERBATIM([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION])dnl AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction) ])# _AC_LIBOBJ_ALLOCA ]) datamash-1.9/m4/arpa_inet_h.m40000644000000000000000000000545514767401140011644 # arpa_inet_h.m4 # serial 18 dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Simon Josefsson and Bruno Haible AC_DEFUN_ONCE([gl_ARPA_INET_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([arpa/inet.h]) if test $ac_cv_header_arpa_inet_h = yes; then HAVE_ARPA_INET_H=1 else HAVE_ARPA_INET_H=0 fi AC_SUBST([HAVE_ARPA_INET_H]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([arpa/inet.h]) AC_REQUIRE([gl_FEATURES_H]) gl_PREREQ_SYS_H_WS2TCPIP dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* On some systems, this header is not self-consistent. */ #if !(defined __GLIBC__ || defined __UCLIBC__) # include #endif #ifdef __TANDEM # include #endif #include ]], [inet_ntop inet_pton]) ]) # gl_ARPA_INET_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_ARPA_INET_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_ARPA_INET_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_ARPA_INET_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_INET_NTOP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_INET_PTON]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_ARPA_INET_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ]) AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_HTONL=1; AC_SUBST([HAVE_DECL_HTONL]) HAVE_DECL_HTONS=1; AC_SUBST([HAVE_DECL_HTONS]) HAVE_DECL_INET_NTOP=1; AC_SUBST([HAVE_DECL_INET_NTOP]) HAVE_DECL_INET_PTON=1; AC_SUBST([HAVE_DECL_INET_PTON]) HAVE_DECL_NTOHL=1; AC_SUBST([HAVE_DECL_NTOHL]) HAVE_DECL_NTOHS=1; AC_SUBST([HAVE_DECL_NTOHS]) REPLACE_INET_NTOP=0; AC_SUBST([REPLACE_INET_NTOP]) REPLACE_INET_PTON=0; AC_SUBST([REPLACE_INET_PTON]) ]) datamash-1.9/m4/assert.m40000644000000000000000000000200014767401140010653 # assert.m4 # serial 8 dnl Copyright (C) 1998-1999, 2001, 2004, 2008-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl based on code from Eleftherios Gkioulekas dnl Autoconf 2.60 provides AC_HEADER_ASSERT for the same purpose, but dnl it has broken semantics for --enable-assert until 2.64. AC_DEFUN([gl_ASSERT], [ AC_MSG_CHECKING([whether to enable assertions]) AC_ARG_ENABLE([assert], [AS_HELP_STRING([[--disable-assert]], [turn off assertions])], [AS_IF([test "x$enableval" = xno], [AC_DEFINE([NDEBUG], [1], [Define to 1 if assertions should be disabled.])], [test "x$enableval" != xyes], [AC_MSG_WARN([invalid argument supplied to --enable-assert]) enable_assert=yes])], [enable_assert=yes]) AC_MSG_RESULT([$enable_assert]) ]) datamash-1.9/m4/assert_h.m40000644000000000000000000000672014767401140011177 # assert_h.m4 # serial 5 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paul Eggert. AC_DEFUN([gl_ASSERT_H], [ AC_CACHE_CHECK([for static_assert], [gl_cv_static_assert], [gl_saved_CFLAGS=$CFLAGS for gl_working in "yes, a keyword" "yes, an macro"; do AS_CASE([$gl_working], [*assert.h*], [CFLAGS="$gl_saved_CFLAGS -DINCLUDE_ASSERT_H"]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#if defined __clang__ && __STDC_VERSION__ < 202311 #pragma clang diagnostic error "-Wc2x-extensions" #pragma clang diagnostic error "-Wc++1z-extensions" #endif #ifdef INCLUDE_ASSERT_H #include #endif static_assert (2 + 2 == 4, "arithmetic does not work"); static_assert (2 + 2 == 4); ]], [[ static_assert (sizeof (char) == 1, "sizeof does not work"); static_assert (sizeof (char) == 1); ]]) ], [gl_cv_static_assert=$gl_working], [gl_cv_static_assert=no]) CFLAGS=$gl_saved_CFLAGS test "$gl_cv_static_assert" != no && break done ]) GL_GENERATE_ASSERT_H=false AS_CASE([$gl_cv_static_assert], [yes*keyword*], [AC_DEFINE([HAVE_C_STATIC_ASSERT], [1], [Define to 1 if the static_assert keyword works.])], [no], [GL_GENERATE_ASSERT_H=true gl_NEXT_HEADERS([assert.h])]) dnl The "zz" puts this toward config.h's end, to avoid potential dnl collisions with other definitions. dnl Hardcode the known configuration results for GCC and clang, so that dnl a configuration made with the C compiler works also with the C++ compiler dnl and vice versa. dnl The seemingly redundant parentheses are necessary for MSVC 14. dnl #undef assert so that programs are not tempted to use it without dnl specifically including assert.h. dnl #undef __ASSERT_H__ so that on IRIX, when programs later include dnl , this include actually defines assert. dnl Break the #undef_s apart with a comment so that 'configure' does dnl not comment them out. AH_VERBATIM([zzstatic_assert], [#if (!(defined __clang__ \ ? (defined __cplusplus \ ? __cplusplus >= 201703L \ : __STDC_VERSION__ >= 202000L && __clang_major__ >= 16 \ && !defined __sun) \ : (defined __GNUC__ \ ? (defined __cplusplus \ ? __cplusplus >= 201103L && __GNUG__ >= 6 \ : __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \ && !defined __sun) \ : defined HAVE_C_STATIC_ASSERT)) \ && !defined assert \ && (!defined __cplusplus \ || (__cpp_static_assert < 201411 \ && __GNUG__ < 6 && __clang_major__ < 6))) #include #undef/**/assert #ifdef __sgi #undef/**/__ASSERT_H__ #endif /* Solaris 11.4 defines static_assert as a macro with 2 arguments. We need it also to be invocable with a single argument. Haiku 2022 does not define static_assert at all. */ #if (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus #undef/**/static_assert #define static_assert _Static_assert #endif #endif]) ]) datamash-1.9/m4/base64.m40000644000000000000000000000075414767401140010454 # base64.m4 # serial 4 dnl Copyright (C) 2004, 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_BASE64], [ gl_PREREQ_BASE64 ]) # Prerequisites of lib/base64.c. AC_DEFUN([gl_PREREQ_BASE64], [ AC_REQUIRE([AC_C_RESTRICT]) ]) datamash-1.9/m4/build-to-host.m40000644000000000000000000002203214767401140012053 # build-to-host.m4 # serial 5 dnl Copyright (C) 2023-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Bruno Haible. dnl When the build environment ($build_os) is different from the target runtime dnl environment ($host_os), file names may need to be converted from the build dnl environment syntax to the target runtime environment syntax. This is dnl because the Makefiles are executed (mostly) by build environment tools and dnl therefore expect file names in build environment syntax, whereas the runtime dnl expects file names in target runtime environment syntax. dnl dnl For example, if $build_os = cygwin and $host_os = mingw32, filenames need dnl be converted from Cygwin syntax to native Windows syntax: dnl /cygdrive/c/foo/bar -> C:\foo\bar dnl /usr/local/share -> C:\cygwin64\usr\local\share dnl dnl gl_BUILD_TO_HOST([somedir]) dnl This macro takes as input an AC_SUBSTed variable 'somedir', which must dnl already have its final value assigned, and produces two additional dnl AC_SUBSTed variables 'somedir_c' and 'somedir_c_make', that designate the dnl same file name value, just in different syntax: dnl - somedir_c is the file name in target runtime environment syntax, dnl as a C string (starting and ending with a double-quote, dnl and with escaped backslashes and double-quotes in dnl between). dnl - somedir_c_make is the same thing, escaped for use in a Makefile. AC_DEFUN([gl_BUILD_TO_HOST], [ AC_REQUIRE([AC_CANONICAL_BUILD]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_BUILD_TO_HOST_INIT]) dnl Define somedir_c. gl_final_[$1]="$[$1]" dnl Translate it from build syntax to host syntax. case "$build_os" in cygwin*) case "$host_os" in mingw* | windows*) gl_final_[$1]=`cygpath -w "$gl_final_[$1]"` ;; esac ;; esac dnl Convert it to C string syntax. [$1]_c=`printf '%s\n' "$gl_final_[$1]" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | tr -d "$gl_tr_cr"` [$1]_c='"'"$[$1]_c"'"' AC_SUBST([$1_c]) dnl Define somedir_c_make. [$1]_c_make=`printf '%s\n' "$[$1]_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | tr -d "$gl_tr_cr"` dnl Use the substituted somedir variable, when possible, so that the user dnl may adjust somedir a posteriori when there are no special characters. if test "$[$1]_c_make" = '\"'"${gl_final_[$1]}"'\"'; then [$1]_c_make='\"$([$1])\"' fi AC_SUBST([$1_c_make]) ]) dnl Some initializations for gl_BUILD_TO_HOST. AC_DEFUN([gl_BUILD_TO_HOST_INIT], [ gl_sed_double_backslashes='s/\\/\\\\/g' gl_sed_escape_doublequotes='s/"/\\"/g' changequote(,)dnl gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g" changequote([,])dnl gl_sed_escape_for_make_2='s,\$,\\$$,g' dnl Find out how to remove carriage returns from output. Solaris /usr/ucb/tr dnl does not understand '\r'. case `echo r | tr -d '\r'` in '') gl_tr_cr='\015' ;; *) gl_tr_cr='\r' ;; esac ]) dnl The following macros are convenience invocations of gl_BUILD_TO_HOST dnl for some of the variables that are defined by Autoconf. dnl To do so for _all_ the possible variables, use the module 'configmake'. dnl Defines bindir_c and bindir_c_make. AC_DEFUN_ONCE([gl_BUILD_TO_HOST_BINDIR], [ dnl Find the final value of bindir. gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_bindir="${bindir}" dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval bindir="$bindir" gl_BUILD_TO_HOST([bindir]) bindir="${gl_saved_bindir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" ]) dnl Defines datadir_c and datadir_c_make, dnl where datadir = $(datarootdir) AC_DEFUN_ONCE([gl_BUILD_TO_HOST_DATADIR], [ dnl Find the final value of datadir. gl_saved_prefix="${prefix}" gl_saved_datarootdir="${datarootdir}" gl_saved_datadir="${datadir}" dnl Unfortunately, prefix gets only finally determined at the end of dnl configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi eval datarootdir="$datarootdir" eval datadir="$datadir" gl_BUILD_TO_HOST([datadir]) datadir="${gl_saved_datadir}" datarootdir="${gl_saved_datarootdir}" prefix="${gl_saved_prefix}" ]) dnl Defines libdir_c and libdir_c_make. AC_DEFUN_ONCE([gl_BUILD_TO_HOST_LIBDIR], [ dnl Find the final value of libdir. gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_libdir="${libdir}" dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval libdir="$libdir" gl_BUILD_TO_HOST([libdir]) libdir="${gl_saved_libdir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" ]) dnl Defines libexecdir_c and libexecdir_c_make. AC_DEFUN_ONCE([gl_BUILD_TO_HOST_LIBEXECDIR], [ dnl Find the final value of libexecdir. gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_libexecdir="${libexecdir}" dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval libexecdir="$libexecdir" gl_BUILD_TO_HOST([libexecdir]) libexecdir="${gl_saved_libexecdir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" ]) dnl Defines localedir_c and localedir_c_make. AC_DEFUN_ONCE([gl_BUILD_TO_HOST_LOCALEDIR], [ dnl Find the final value of localedir. gl_saved_prefix="${prefix}" gl_saved_datarootdir="${datarootdir}" gl_saved_localedir="${localedir}" dnl Unfortunately, prefix gets only finally determined at the end of dnl configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi eval datarootdir="$datarootdir" eval localedir="$localedir" gl_BUILD_TO_HOST([localedir]) localedir="${gl_saved_localedir}" datarootdir="${gl_saved_datarootdir}" prefix="${gl_saved_prefix}" ]) dnl Defines pkgdatadir_c and pkgdatadir_c_make, dnl where pkgdatadir = $(datadir)/$(PACKAGE) AC_DEFUN_ONCE([gl_BUILD_TO_HOST_PKGDATADIR], [ dnl Find the final value of pkgdatadir. gl_saved_prefix="${prefix}" gl_saved_datarootdir="${datarootdir}" gl_saved_datadir="${datadir}" gl_saved_pkgdatadir="${pkgdatadir}" dnl Unfortunately, prefix gets only finally determined at the end of dnl configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi eval datarootdir="$datarootdir" eval datadir="$datadir" eval pkgdatadir="$pkgdatadir" gl_BUILD_TO_HOST([pkgdatadir]) pkgdatadir="${gl_saved_pkgdatadir}" datadir="${gl_saved_datadir}" datarootdir="${gl_saved_datarootdir}" prefix="${gl_saved_prefix}" ]) dnl Defines pkglibdir_c and pkglibdir_c_make, dnl where pkglibdir = $(libdir)/$(PACKAGE) AC_DEFUN_ONCE([gl_BUILD_TO_HOST_PKGLIBDIR], [ dnl Find the final value of pkglibdir. gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_libdir="${libdir}" gl_saved_pkglibdir="${pkglibdir}" dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval libdir="$libdir" eval pkglibdir="$pkglibdir" gl_BUILD_TO_HOST([pkglibdir]) pkglibdir="${gl_saved_pkglibdir}" libdir="${gl_saved_libdir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" ]) dnl Defines pkglibexecdir_c and pkglibexecdir_c_make, dnl where pkglibexecdir = $(libexecdir)/$(PACKAGE) AC_DEFUN_ONCE([gl_BUILD_TO_HOST_PKGLIBEXECDIR], [ dnl Find the final value of pkglibexecdir. gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_libexecdir="${libexecdir}" gl_saved_pkglibexecdir="${pkglibexecdir}" dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval libexecdir="$libexecdir" eval pkglibexecdir="$pkglibexecdir" gl_BUILD_TO_HOST([pkglibexecdir]) pkglibexecdir="${gl_saved_pkglibexecdir}" libexecdir="${gl_saved_libexecdir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" ]) datamash-1.9/m4/byteswap.m40000644000000000000000000000274514767401140011230 # byteswap.m4 # serial 7 dnl Copyright (C) 2005, 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Oskar Liljeblad. AC_DEFUN([gl_BYTESWAP], [ dnl Prerequisites of lib/byteswap.in.h. AC_CHECK_HEADERS_ONCE([byteswap.h]) if test $ac_cv_header_byteswap_h = yes; then AC_CACHE_CHECK([for working bswap_16, bswap_32, bswap_64], [gl_cv_header_working_byteswap_h], [gl_cv_header_working_byteswap_h=no dnl Check that floating point arguments work. dnl This also checks C libraries with implementations like dnl '#define bswap_16(x) (((x) >> 8 & 0xff) | (((x) & 0xff) << 8))' dnl that mistakenly evaluate their arguments multiple times. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int value_16 = bswap_16 (0.0); int value_32 = bswap_32 (0.0); int value_64 = bswap_64 (0.0); return !(value_16 + value_32 + value_64); ]]) ], [gl_cv_header_working_byteswap_h=yes], [gl_cv_header_working_byteswap_h=no]) ]) fi if test "$gl_cv_header_working_byteswap_h" = yes; then GL_GENERATE_BYTESWAP_H=false else GL_GENERATE_BYTESWAP_H=true fi ]) datamash-1.9/m4/c-bool.m40000644000000000000000000000450414767401140010540 # c-bool.m4 # serial 3 dnl Copyright 2022-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Check for bool that conforms to C2023. AC_DEFUN([gl_C_BOOL], [ AC_CACHE_CHECK([for bool, true, false], [gl_cv_c_bool], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE([[ #if true == false #error "true == false" #endif extern bool b; bool b = true == false;]])], [gl_cv_c_bool=yes], [gl_cv_c_bool=no])]) if test "$gl_cv_c_bool" = yes; then AC_DEFINE([HAVE_C_BOOL], [1], [Define to 1 if bool, true and false work as per C2023.]) fi AC_CHECK_HEADERS_ONCE([stdbool.h]) dnl The "zz" puts this toward config.h's end, to avoid potential dnl collisions with other definitions. dnl If 'bool', 'true' and 'false' do not work, arrange for them to work. dnl Hardcode the known configuration results for GCC and clang, so that dnl a configuration made with the C compiler works also with the C++ compiler dnl and vice versa. dnl The seemingly redundant parentheses are necessary for MSVC 14. dnl "Arrange for them to work", in C, means including if it is dnl not already included. dnl However, if the preprocessor mistakenly treats 'true' as 0, dnl define it to a bool expression equal to 1; this is needed in dnl Sun C++ 5.11 (Oracle Solaris Studio 12.2, 2010) and older. AH_VERBATIM([zzbool], [#if !(defined __cplusplus \ ? 1 \ : (defined __clang__ \ ? __STDC_VERSION__ >= 202000L && __clang_major__ >= 15 \ : (defined __GNUC__ \ ? __STDC_VERSION__ >= 202000L && __GNUC__ >= 13 \ : defined HAVE_C_BOOL))) # if !defined __cplusplus && !defined __bool_true_false_are_defined # if HAVE_STDBOOL_H # include # else # if defined __SUNPRO_C # error " is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC." # else # error " does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." # endif # endif # endif # if !true # define true (!false) # endif #endif]) ]) datamash-1.9/m4/c32rtomb.m40000644000000000000000000001253714767401140011025 # c32rtomb.m4 # serial 8 dnl Copyright (C) 2020-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_C32RTOMB], [ AC_REQUIRE([gl_UCHAR_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) AC_REQUIRE([gl_CHECK_FUNC_C32RTOMB]) if test $gl_cv_func_c32rtomb = no; then HAVE_C32RTOMB=0 else dnl When we override mbrtoc32, redefining the meaning of the char32_t dnl values, we need to override c32rtomb as well, for consistency. if test $HAVE_WORKING_MBRTOC32 = 0; then REPLACE_C32RTOMB=1 fi AC_CACHE_CHECK([whether c32rtomb return value is correct], [gl_cv_func_c32rtomb_retval], [ dnl Initial guess, used when cross-compiling. changequote(,)dnl case "$host_os" in # Guess no on AIX. aix*) gl_cv_func_c32rtomb_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_c32rtomb_retval="guessing yes" ;; esac changequote([,])dnl AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #ifdef __HAIKU__ #include #endif #include int main () { int result = 0; if (c32rtomb (NULL, 0, NULL) != 1) result |= 1; return result; }]])], [gl_cv_func_c32rtomb_retval=yes], [gl_cv_func_c32rtomb_retval=no], [:]) ]) case "$gl_cv_func_c32rtomb_retval" in *yes) ;; *) AC_DEFINE([C32RTOMB_RETVAL_BUG], [1], [Define if the c32rtomb function has an incorrect return value.]) REPLACE_C32RTOMB=1 ;; esac if test $HAVE_WORKING_C32RTOMB = 0; then REPLACE_C32RTOMB=1 fi fi ]) AC_DEFUN([gl_CHECK_FUNC_C32RTOMB], [ dnl Cf. gl_CHECK_FUNCS_ANDROID AC_CHECK_DECL([c32rtomb], , , [[#ifdef __HAIKU__ #include #endif #include ]]) if test $ac_cv_have_decl_c32rtomb = yes; then dnl We can't use AC_CHECK_FUNC here, because c32rtomb() is defined as a dnl static inline function on Haiku 2020. AC_CACHE_CHECK([for c32rtomb], [gl_cv_func_c32rtomb], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #ifdef __HAIKU__ #include #endif #include ]], [[char buf[8]; return c32rtomb (buf, 0, NULL) == 0; ]]) ], [gl_cv_func_c32rtomb=yes], [gl_cv_func_c32rtomb=no]) ]) else gl_cv_func_c32rtomb=no fi ]) dnl Test whether c32rtomb works not worse than wcrtomb. dnl Result is HAVE_WORKING_C32RTOMB. AC_DEFUN([gl_C32RTOMB_SANITYCHECK], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_TYPE_CHAR32_T]) AC_REQUIRE([gl_CHECK_FUNC_C32RTOMB]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_c32rtomb = no; then HAVE_WORKING_C32RTOMB=0 else AC_CACHE_CHECK([whether c32rtomb works as well as wcrtomb], [gl_cv_func_c32rtomb_sanitycheck], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris derivatives. solaris*) if test -f /etc/release && grep 'Oracle Solaris' /etc/release >/dev/null; then gl_cv_func_c32rtomb_sanitycheck="guessing yes" else gl_cv_func_c32rtomb_sanitycheck="guessing no" fi ;; # Guess yes otherwise. *) gl_cv_func_c32rtomb_sanitycheck="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #ifdef __HAIKU__ #include #endif #include int main () { int result = 0; /* This fails on Solaris 11 OmniOS: c32rtomb returns (size_t)-1. wcrtomb returns 4 (correct). */ if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc = (wchar_t) 0xBADFACE; char buf[16]; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\201\060\211\070", 4, &state) == 4 && wcrtomb (buf, wc, NULL) == 4 && memcmp (buf, "\201\060\211\070", 4) == 0) { char32_t c32 = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtoc32 (&c32, "\201\060\211\070", 4, &state) == 4 && c32rtomb (buf, c32, NULL) != 4) result |= 1; } } return result; }]])], [gl_cv_func_c32rtomb_sanitycheck=yes], [gl_cv_func_c32rtomb_sanitycheck=no], [:]) fi ]) case "$gl_cv_func_c32rtomb_sanitycheck" in *yes) HAVE_WORKING_C32RTOMB=1 AC_DEFINE([HAVE_WORKING_C32RTOMB], [1], [Define if the c32rtomb function basically works.]) ;; *) HAVE_WORKING_C32RTOMB=0 ;; esac fi AC_SUBST([HAVE_WORKING_C32RTOMB]) ]) datamash-1.9/m4/calloc.m40000644000000000000000000000627114767401140010625 # calloc.m4 # serial 36 dnl Copyright (C) 2004-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Written by Jim Meyering. # Determine whether calloc (N, S) returns non-NULL when N*S is zero, # and returns NULL when N*S overflows. # If so, define HAVE_CALLOC. Otherwise, define calloc to rpl_calloc # and arrange to use a calloc wrapper function that does work in that case. # gl_FUNC_CALLOC_IF([IF-WORKS], [IF-NOT]) # --------------------------------------- # If calloc is compatible with GNU calloc, run IF-WORKS, otherwise, IF-NOT. AC_DEFUN([gl_FUNC_CALLOC_IF], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether calloc (0, n) and calloc (n, 0) return nonnull], [gl_cv_func_calloc_0_nonnull], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include /* Use pcalloc to test; "volatile" prevents the compiler from optimizing the calloc call away. */ void *(*volatile pcalloc) (size_t, size_t) = calloc;]], [[void *p = pcalloc (0, 0); int result = !p; free (p); return result;]])], [gl_cv_func_calloc_0_nonnull=yes], [gl_cv_func_calloc_0_nonnull=no], [AS_CASE([$host_os], [# Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ | gnu* | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin* | mingw* | windows* | msys*], [gl_cv_func_calloc_0_nonnull="guessing yes"], [# If we don't know, obey --enable-cross-guesses. gl_cv_func_calloc_0_nonnull="$gl_cross_guess_normal"])])]) AS_CASE([$gl_cv_func_calloc_0_nonnull], [*yes], [$1], [$2]) ]) # gl_FUNC_CALLOC_GNU # ------------------ # Replace calloc if it is not compatible with GNU libc. AC_DEFUN([gl_FUNC_CALLOC_GNU], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_CALLOC_POSIX]) dnl Through the dependency on module extensions-aix, _LINUX_SOURCE_COMPAT dnl gets defined already before this macro gets invoked. This helps dnl if !(__VEC__ || __AIXVEC), and doesn't hurt otherwise. REPLACE_CALLOC_FOR_CALLOC_GNU="$REPLACE_CALLOC_FOR_CALLOC_POSIX" if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 0; then gl_FUNC_CALLOC_IF([], [REPLACE_CALLOC_FOR_CALLOC_GNU=1]) fi ])# gl_FUNC_CALLOC_GNU # gl_FUNC_CALLOC_POSIX # -------------------- # Test whether 'calloc' is POSIX compliant (sets errno to ENOMEM when it # fails, and doesn't mess up with ptrdiff_t or size_t overflow), # and replace calloc if it is not. AC_DEFUN([gl_FUNC_CALLOC_POSIX], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) REPLACE_CALLOC_FOR_CALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX dnl Although in theory we should also test for size_t overflow, dnl in practice testing for ptrdiff_t overflow suffices dnl since PTRDIFF_MAX <= SIZE_MAX on all known Gnulib porting targets. dnl A separate size_t test would slow down 'configure'. ]) datamash-1.9/m4/ceil.m40000644000000000000000000000704414767401140010303 # ceil.m4 # serial 18 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_CEIL], [ m4_divert_text([DEFAULTS], [gl_ceil_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Test whether ceil() can be used without libm. gl_FUNC_CEIL_LIBS if test "$CEIL_LIBM" = "?"; then CEIL_LIBM= fi m4_ifdef([gl_FUNC_CEIL_IEEE], [ if test $gl_ceil_required = ieee && test $REPLACE_CEIL = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether ceil works according to ISO C 99 with IEC 60559], [gl_cv_func_ceil_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $CEIL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_DOUBLE_MINUS_ZERO_CODE[ ]gl_DOUBLE_SIGNBIT_CODE[ static double dummy (double f) { return 0; } int main (int argc, char *argv[]) { double (* volatile my_ceil) (double) = argc ? ceil : dummy; int result = 0; /* Test whether ceil (-0.0) is -0.0. */ if (signbitd (minus_zerod) && !signbitd (my_ceil (minus_zerod))) result |= 1; /* Test whether ceil (-0.3) is -0.0. */ if (signbitd (-0.3) && !signbitd (my_ceil (-0.3))) result |= 2; return result; } ]])], [gl_cv_func_ceil_ieee=yes], [gl_cv_func_ceil_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ceil_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_ceil_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ceil_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_ceil_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_ceil_ieee" in *yes) ;; *) REPLACE_CEIL=1 ;; esac fi ]) if test $REPLACE_CEIL = 1; then dnl No libraries are needed to link lib/ceil.c. CEIL_LIBM= fi AC_SUBST([CEIL_LIBM]) ]) # Determines the libraries needed to get the ceil() function. # Sets CEIL_LIBM. AC_DEFUN([gl_FUNC_CEIL_LIBS], [ gl_CACHE_VAL_SILENT([gl_cv_func_ceil_libm], [ gl_cv_func_ceil_libm=? AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x;]], [[x = funcptr(x) + ceil(x);]])], [gl_cv_func_ceil_libm=]) if test "$gl_cv_func_ceil_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = ceil; double x;]], [[x = funcptr(x) + ceil(x);]])], [gl_cv_func_ceil_libm="-lm"]) LIBS="$saved_LIBS" fi ]) CEIL_LIBM="$gl_cv_func_ceil_libm" ]) datamash-1.9/m4/ceill.m40000644000000000000000000001217114767401140010454 # ceill.m4 # serial 25 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_CEILL], [ m4_divert_text([DEFAULTS], [gl_ceill_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare ceill(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether ceill() is declared. AC_CHECK_DECLS([ceill], , , [[#include ]]) if test "$ac_cv_have_decl_ceill" = yes; then dnl Test whether ceill() can be used without libm. gl_FUNC_CEILL_LIBS if test "$CEILL_LIBM" = "?"; then dnl Sun C 5.0 on Solaris declares ceill() and has it in the system-wide dnl libm.so, but not in the libm.so that the compiler uses. REPLACE_CEILL=1 fi m4_ifdef([gl_FUNC_CEILL_IEEE], [ if test $gl_ceill_required = ieee && test $REPLACE_CEILL = 0; then AC_CACHE_CHECK([whether ceill works according to ISO C 99 with IEC 60559], [gl_cv_func_ceill_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $CEILL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_LONG_DOUBLE_MINUS_ZERO_CODE[ ]gl_LONG_DOUBLE_SIGNBIT_CODE[ static long double dummy (long double f) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_ceill) (long double) = argc ? ceill : dummy; /* Test whether ceill (-0.3L) is -0.0L. */ if (signbitl (minus_zerol) && !signbitl (my_ceill (-0.3L))) return 1; return 0; } ]])], [gl_cv_func_ceill_ieee=yes], [gl_cv_func_ceill_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ceill_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_ceill_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ceill_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_ceill_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_ceill_ieee" in *yes) ;; *) REPLACE_CEILL=1 ;; esac fi ]) else HAVE_DECL_CEILL=0 fi dnl On OpenBSD 5.6 the system's native ceill() is buggy: dnl it returns '0' for small values. Test against this anomaly. if test $REPLACE_CEILL = 0 ; then AC_CACHE_CHECK([whether ceill() works], [gl_cv_func_ceill_works], [saved_LIBS="$LIBS" LIBS="$CEILL_LIBM" AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include long double d = 0.3L;]], [[return (!(ceill (d) == 1)); ]])], [gl_cv_func_ceill_works=yes], [gl_cv_func_ceill_works=no], [case "$host_os" in openbsd*) gl_cv_func_ceill_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ceill_works="guessing yes" ;; *) gl_cv_func_ceill_works="guessing yes" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_ceill_works" in *yes) ;; *) REPLACE_CEILL=1 ;; esac fi if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then dnl Find libraries needed to link lib/ceill.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_CEIL]) CEILL_LIBM="$CEIL_LIBM" else CEILL_LIBM= fi fi AC_SUBST([CEILL_LIBM]) ]) # Determines the libraries needed to get the ceill() function. # Sets CEILL_LIBM. AC_DEFUN([gl_FUNC_CEILL_LIBS], [ gl_CACHE_VAL_SILENT([gl_cv_func_ceill_libm], [ gl_cv_func_ceill_libm=? AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x;]], [[x = funcptr(x) + ceill(x);]])], [gl_cv_func_ceill_libm=]) if test "$gl_cv_func_ceill_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = ceill; long double x;]], [[x = funcptr(x) + ceill(x);]])], [gl_cv_func_ceill_libm="-lm"]) LIBS="$saved_LIBS" fi ]) CEILL_LIBM="$gl_cv_func_ceill_libm" ]) datamash-1.9/m4/check-math-lib.m40000644000000000000000000000223714767401140012136 # check-math-lib.m4 # serial 6 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl dnl gl_CHECK_MATH_LIB (VARIABLE, TYPE, EXPRESSION [, EXTRA-CODE]) dnl dnl Sets the shell VARIABLE according to the libraries needed by EXPRESSION dnl (that operates on a variable x of type TYPE) to compile and link: to the dnl empty string if no extra libraries are needed, to "-lm" if -lm is needed, dnl or to "missing" if it does not compile and link either way. dnl dnl Example: gl_CHECK_MATH_LIB([ROUNDF_LIBM], [float], [x = roundf (x);]) AC_DEFUN([gl_CHECK_MATH_LIB], [ saved_LIBS="$LIBS" $1=missing for libm in "" "-lm"; do LIBS="$saved_LIBS $libm" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include $4 $2 x;]], [$3])], [$1=$libm break]) done LIBS="$saved_LIBS" ]) datamash-1.9/m4/close.m40000644000000000000000000000231714767401140010472 # close.m4 # serial 10 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_FUNC_CLOSE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) m4_ifdef([gl_MSVC_INVAL], [ AC_REQUIRE([gl_MSVC_INVAL]) if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then REPLACE_CLOSE=1 fi ]) m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ gl_PREREQ_SYS_H_WINSOCK2 if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then dnl Even if the 'socket' module is not used here, another part of the dnl application may use it and pass file descriptors that refer to dnl sockets to the close() function. So enable the support for sockets. REPLACE_CLOSE=1 fi ]) dnl Replace close() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ if test $REPLACE_CLOSE = 0; then gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_CLOSE=1 fi fi ]) ]) datamash-1.9/m4/codeset.m40000644000000000000000000000161514771573666011035 # codeset.m4 # serial 5 (gettext-0.18.2) dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016, 2019-2025 Free Software dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. AC_DEFUN([AM_LANGINFO_CODESET], [ AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[char* cs = nl_langinfo(CODESET); return !cs;]])], [am_cv_langinfo_codeset=yes], [am_cv_langinfo_codeset=no]) ]) if test $am_cv_langinfo_codeset = yes; then AC_DEFINE([HAVE_LANGINFO_CODESET], [1], [Define if you have and nl_langinfo(CODESET).]) fi ]) datamash-1.9/m4/configmake.m40000644000000000000000000001311214767401140011463 # configmake.m4 # serial 6 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_PREREQ([2.60]) # gl_CONFIGMAKE_PREP # ------------------ # Guarantee all of the standard directory variables, even when used with # autoconf 2.64 (runstatedir wasn't supported before 2.70) or # automake 1.11 (runstatedir isn't supported even in 1.16.1). AC_DEFUN([gl_CONFIGMAKE_PREP], [ if test "x$lispdir" = x; then AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp']) fi dnl Added in autoconf 2.70. if test "x$runstatedir" = x; then AC_SUBST([runstatedir], ['${localstatedir}/run']) fi dnl Automake 1.11 provides the pkg*dir variables merely without AC_SUBST, dnl that is, only at the Makefile.am level. AC_SUBST them, so that dnl gl_CONFIGMAKE can compute the final values at configure time. dnl Blindly assigning the value at configure time is OK, since configure dnl does not have --pkg*dir=... options. AC_SUBST([pkgdatadir], ['${datadir}/${PACKAGE}']) AC_SUBST([pkgincludedir], ['${includedir}/${PACKAGE}']) AC_SUBST([pkglibdir], ['${libdir}/${PACKAGE}']) AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}']) ]) # gl_CONFIGMAKE # ------------- # Find the final values of the standard directory variables, and create # AC_SUBSTed *_c and *_c_make variables with the corresponding values in # target runtime environment ($host_os) syntax. AC_DEFUN([gl_CONFIGMAKE], [ AC_REQUIRE([gl_CONFIGMAKE_PREP]) dnl Save the values. gl_saved_prefix="${prefix}" gl_saved_exec_prefix="${exec_prefix}" gl_saved_bindir="${bindir}" gl_saved_sbindir="${sbindir}" gl_saved_libexecdir="${libexecdir}" gl_saved_datarootdir="${datarootdir}" gl_saved_datadir="${datadir}" gl_saved_sysconfdir="${sysconfdir}" gl_saved_sharedstatedir="${sharedstatedir}" gl_saved_localstatedir="${localstatedir}" gl_saved_runstatedir="${runstatedir}" gl_saved_includedir="${includedir}" gl_saved_oldincludedir="${oldincludedir}" gl_saved_docdir="${docdir}" gl_saved_infodir="${infodir}" gl_saved_htmldir="${htmldir}" gl_saved_dvidir="${dvidir}" gl_saved_pdfdir="${pdfdir}" gl_saved_psdir="${psdir}" gl_saved_libdir="${libdir}" gl_saved_lispdir="${lispdir}" gl_saved_localedir="${localedir}" gl_saved_mandir="${mandir}" gl_saved_pkgdatadir="${pkgdatadir}" gl_saved_pkgincludedir="${pkgincludedir}" gl_saved_pkglibdir="${pkglibdir}" gl_saved_pkglibexecdir="${pkglibexecdir}" dnl Find the final values. dnl Unfortunately, prefix gets only finally determined at the end of dnl configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi dnl Unfortunately, exec_prefix gets only finally determined at the end of dnl configure. if test "X$exec_prefix" = "XNONE"; then exec_prefix='${prefix}' fi eval exec_prefix="$exec_prefix" eval bindir="$bindir" eval sbindir="$sbindir" eval libexecdir="$libexecdir" eval datarootdir="$datarootdir" eval datadir="$datadir" eval sysconfdir="$sysconfdir" eval sharedstatedir="$sharedstatedir" eval localstatedir="$localstatedir" eval runstatedir="$runstatedir" eval includedir="$includedir" eval oldincludedir="$oldincludedir" eval docdir="$docdir" eval infodir="$infodir" eval htmldir="$htmldir" eval dvidir="$dvidir" eval pdfdir="$pdfdir" eval psdir="$psdir" eval libdir="$libdir" eval lispdir="$lispdir" eval localedir="$localedir" eval mandir="$mandir" eval pkgdatadir="$pkgdatadir" eval pkgincludedir="$pkgincludedir" eval pkglibdir="$pkglibdir" eval pkglibexecdir="$pkglibexecdir" dnl Transform the final values. gl_BUILD_TO_HOST([prefix]) gl_BUILD_TO_HOST([exec_prefix]) gl_BUILD_TO_HOST([bindir]) gl_BUILD_TO_HOST([sbindir]) gl_BUILD_TO_HOST([libexecdir]) gl_BUILD_TO_HOST([datarootdir]) gl_BUILD_TO_HOST([datadir]) gl_BUILD_TO_HOST([sysconfdir]) gl_BUILD_TO_HOST([sharedstatedir]) gl_BUILD_TO_HOST([localstatedir]) gl_BUILD_TO_HOST([runstatedir]) gl_BUILD_TO_HOST([includedir]) gl_BUILD_TO_HOST([oldincludedir]) gl_BUILD_TO_HOST([docdir]) gl_BUILD_TO_HOST([infodir]) gl_BUILD_TO_HOST([htmldir]) gl_BUILD_TO_HOST([dvidir]) gl_BUILD_TO_HOST([pdfdir]) gl_BUILD_TO_HOST([psdir]) gl_BUILD_TO_HOST([libdir]) gl_BUILD_TO_HOST([lispdir]) gl_BUILD_TO_HOST([localedir]) gl_BUILD_TO_HOST([mandir]) gl_BUILD_TO_HOST([pkgdatadir]) gl_BUILD_TO_HOST([pkgincludedir]) gl_BUILD_TO_HOST([pkglibdir]) gl_BUILD_TO_HOST([pkglibexecdir]) dnl Restore the values. pkglibexecdir="${gl_saved_pkglibexecdir}" pkglibdir="${gl_saved_pkglibdir}" pkgincludedir="${gl_saved_pkgincludedir}" pkgdatadir="${gl_saved_pkgdatadir}" mandir="${gl_saved_mandir}" localedir="${gl_saved_localedir}" lispdir="${gl_saved_lispdir}" libdir="${gl_saved_libdir}" psdir="${gl_saved_psdir}" pdfdir="${gl_saved_pdfdir}" dvidir="${gl_saved_dvidir}" htmldir="${gl_saved_htmldir}" infodir="${gl_saved_infodir}" docdir="${gl_saved_docdir}" oldincludedir="${gl_saved_oldincludedir}" includedir="${gl_saved_includedir}" runstatedir="${gl_saved_runstatedir}" localstatedir="${gl_saved_localstatedir}" sharedstatedir="${gl_saved_sharedstatedir}" sysconfdir="${gl_saved_sysconfdir}" datadir="${gl_saved_datadir}" datarootdir="${gl_saved_datarootdir}" libexecdir="${gl_saved_libexecdir}" sbindir="${gl_saved_sbindir}" bindir="${gl_saved_bindir}" exec_prefix="${gl_saved_exec_prefix}" prefix="${gl_saved_prefix}" ]) datamash-1.9/m4/ctype_h.m40000644000000000000000000000650314767402206011025 # ctype_h.m4 # serial 23 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_CTYPE_H], [ AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_NEXT_HEADERS([ctype.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [isalnum_l isalpha_l isblank isblank_l iscntrl_l isdigit_l isgraph_l islower_l isprint_l ispunct_l isspace_l isupper_l isxdigit_l tolower_l toupper_l]) ]) # gl_CTYPE_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_CTYPE_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_CTYPE_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_CTYPE_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_CTYPE_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISALNUM_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISALPHA_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISBLANK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISBLANK_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISCNTRL_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISDIGIT_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISGRAPH_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISLOWER_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISPRINT_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISPUNCT_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISSPACE_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISUPPER_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISXDIGIT_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOLOWER_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOUPPER_L]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_CTYPE_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) ]) AC_DEFUN([gl_CTYPE_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_ISALNUM_L=1; AC_SUBST([HAVE_ISALNUM_L]) HAVE_ISALPHA_L=1; AC_SUBST([HAVE_ISALPHA_L]) HAVE_ISBLANK=1; AC_SUBST([HAVE_ISBLANK]) HAVE_ISBLANK_L=1; AC_SUBST([HAVE_ISBLANK_L]) HAVE_ISCNTRL_L=1; AC_SUBST([HAVE_ISCNTRL_L]) HAVE_ISDIGIT_L=1; AC_SUBST([HAVE_ISDIGIT_L]) HAVE_ISGRAPH_L=1; AC_SUBST([HAVE_ISGRAPH_L]) HAVE_ISLOWER_L=1; AC_SUBST([HAVE_ISLOWER_L]) HAVE_ISPRINT_L=1; AC_SUBST([HAVE_ISPRINT_L]) HAVE_ISPUNCT_L=1; AC_SUBST([HAVE_ISPUNCT_L]) HAVE_ISSPACE_L=1; AC_SUBST([HAVE_ISSPACE_L]) HAVE_ISUPPER_L=1; AC_SUBST([HAVE_ISUPPER_L]) HAVE_ISXDIGIT_L=1; AC_SUBST([HAVE_ISXDIGIT_L]) HAVE_TOLOWER_L=1; AC_SUBST([HAVE_TOLOWER_L]) HAVE_TOUPPER_L=1; AC_SUBST([HAVE_TOUPPER_L]) ]) datamash-1.9/m4/double-slash-root.m40000644000000000000000000000321514767401140012726 # double-slash-root.m4 # serial 4 -*- Autoconf -*- dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root], [ if test x"$cross_compiling" = xyes ; then # When cross-compiling, there is no way to tell whether // is special # short of a list of hosts. However, the only known hosts to date # that have a distinct // are Apollo DomainOS (too old to port to), # Cygwin, and z/OS. If anyone knows of another system for which // has # special semantics and is distinct from /, please report it to # . case $host in *-cygwin | i370-ibm-openedition) gl_cv_double_slash_root=yes ;; *) # Be optimistic and assume that / and // are the same when we # don't know. gl_cv_double_slash_root='unknown, assuming no' ;; esac else set x `ls -di / // 2>/dev/null` if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then gl_cv_double_slash_root=no else gl_cv_double_slash_root=yes fi fi]) if test "$gl_cv_double_slash_root" = yes; then AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1], [Define to 1 if // is a file system root distinct from /.]) fi ]) datamash-1.9/m4/dup2.m40000644000000000000000000000735214767401140010243 # dup2.m4 # serial 28 dnl Copyright (C) 2002, 2005, 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_DUP2], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works], [AC_RUN_IFELSE([ AC_LANG_PROGRAM( [[#include #include #include #include #include ]GL_MDA_DEFINES[ #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif ]], [[int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; #ifdef FD_CLOEXEC if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1) result |= 1; #endif if (dup2 (1, 1) != 1) result |= 2; #ifdef FD_CLOEXEC if (fcntl (1, F_GETFD) != FD_CLOEXEC) result |= 4; #endif close (0); if (dup2 (0, 0) != -1) result |= 8; /* Many gnulib modules require POSIX conformance of EBADF. */ if (dup2 (2, bad_fd) == -1 && errno != EBADF) result |= 16; /* Flush out some cygwin core dumps. */ if (dup2 (2, -1) != -1 || errno != EBADF) result |= 32; dup2 (2, 255); dup2 (2, 256); /* On OS/2 kLIBC, dup2() does not work on a directory fd. */ { int fd = open (".", O_RDONLY); if (fd == -1) result |= 64; else if (dup2 (fd, fd + 1) == -1) result |= 128; close (fd); } return result;]]) ], [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no], [case "$host_os" in mingw* | windows*) # on this platform, dup2 always returns 0 for success gl_cv_func_dup2_works="guessing no" ;; cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 gl_cv_func_dup2_works="guessing no" ;; aix* | freebsd*) # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE, # not EBADF. gl_cv_func_dup2_works="guessing no" ;; haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC. gl_cv_func_dup2_works="guessing no" ;; *-android*) # implemented using dup3(), which fails if oldfd == newfd gl_cv_func_dup2_works="guessing no" ;; os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd. gl_cv_func_dup2_works="guessing no" ;; *) gl_cv_func_dup2_works="guessing yes" ;; esac]) ]) case "$gl_cv_func_dup2_works" in *yes) ;; *) REPLACE_DUP2=1 AC_CHECK_FUNCS([setdtablesize]) ;; esac dnl Replace dup2() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_DUP2=1 fi ]) ]) # Prerequisites of lib/dup2.c. AC_DEFUN([gl_PREREQ_DUP2], []) datamash-1.9/m4/errno_h.m40000644000000000000000000000634714767401140011030 # errno_h.m4 # serial 18 dnl Copyright (C) 2004, 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_PREREQ([2.61]) AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [ AC_REQUIRE([AC_PROG_CC]) dnl Through the dependency on module extensions-aix, _LINUX_SOURCE_COMPAT dnl gets defined already before this macro gets invoked. This persuades dnl AIX 7.3 errno.h to assign ENOTEMPTY a value different than EEXIST. AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ AC_EGREP_CPP([booboo],[ #include #if !defined ETXTBSY booboo #endif #if !defined ENOMSG booboo #endif #if !defined EIDRM booboo #endif #if !defined ENOLINK booboo #endif #if !defined EPROTO booboo #endif #if !defined EMULTIHOP booboo #endif #if !defined EBADMSG booboo #endif #if !defined EOVERFLOW booboo #endif #if !defined ENOTSUP booboo #endif #if !defined ENETRESET booboo #endif #if !defined ECONNABORTED booboo #endif #if !defined ESTALE booboo #endif #if !defined EDQUOT booboo #endif #if !defined ECANCELED booboo #endif #if !defined EOWNERDEAD booboo #endif #if !defined ENOTRECOVERABLE booboo #endif #if !defined EILSEQ booboo #endif #if !defined ESOCKTNOSUPPORT booboo #endif ], [gl_cv_header_errno_h_complete=no], [gl_cv_header_errno_h_complete=yes]) ]) if test $gl_cv_header_errno_h_complete = yes; then GL_GENERATE_ERRNO_H=false else gl_NEXT_HEADERS([errno.h]) GL_GENERATE_ERRNO_H=true fi gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) gl_REPLACE_ERRNO_VALUE([ENOLINK]) gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) ]) # Assuming $1 = EOVERFLOW. # The EOVERFLOW errno value ought to be defined in , according to # POSIX. But some systems (like OpenBSD 4.0 or AIX 3) don't define it, and # some systems (like OSF/1) define it when _XOPEN_SOURCE_EXTENDED is defined. # Check for the value of EOVERFLOW. # Set the variables EOVERFLOW_HIDDEN and EOVERFLOW_VALUE. AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ if $GL_GENERATE_ERRNO_H; then AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ AC_EGREP_CPP([yes],[ #include #ifdef ]$1[ yes #endif ], [gl_cv_header_errno_h_]$1[=yes], [gl_cv_header_errno_h_]$1[=no]) if test $gl_cv_header_errno_h_]$1[ = no; then AC_EGREP_CPP([yes],[ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifdef ]$1[ yes #endif ], [gl_cv_header_errno_h_]$1[=hidden]) if test $gl_cv_header_errno_h_]$1[ = hidden; then dnl The macro exists but is hidden. dnl Define it to the same value. AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ #define _XOPEN_SOURCE_EXTENDED 1 #include /* The following two lines are a workaround against an autoconf-2.52 bug. */ #include #include ]) fi fi ]) case $gl_cv_header_errno_h_]$1[ in yes | no) ]$1[_HIDDEN=0; ]$1[_VALUE= ;; *) ]$1[_HIDDEN=1; ]$1[_VALUE="$gl_cv_header_errno_h_]$1[" ;; esac AC_SUBST($1[_HIDDEN]) AC_SUBST($1[_VALUE]) fi ]) datamash-1.9/m4/error.m40000644000000000000000000000124314767401140010513 # error.m4 # serial 16 dnl Copyright (C) 1996-1998, 2001-2004, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_ERROR], [ ]) # Prerequisites of lib/error.c. AC_DEFUN([gl_PREREQ_ERROR], [ dnl Use system extensions on Android, so that AC_FUNC_STRERROR_R dnl discovers the GNU API for strerror_r on Android API level 23 and later. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_FUNC_STRERROR_R]) : ]) datamash-1.9/m4/error_h.m40000644000000000000000000000774114767401140011033 # error_h.m4 # serial 5 dnl Copyright (C) 1996-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Provide a working . AC_DEFUN_ONCE([gl_ERROR_H], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles gl_CHECK_NEXT_HEADERS([error.h]) if test $ac_cv_header_error_h = yes; then HAVE_ERROR_H=1 else HAVE_ERROR_H=0 fi AC_SUBST([HAVE_ERROR_H]) REPLACE_ERROR=0 gl_CHECK_FUNCS_ANDROID([error], [[#include ]]) if test $ac_cv_func_error = yes; then HAVE_ERROR=1 else HAVE_ERROR=0 case "$gl_cv_onwards_func_error" in future*) REPLACE_ERROR=1 ;; esac fi dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer dnl maintained in Autoconf and because it invokes AC_LIBOBJ. dnl We need to notice a missing declaration, like gl_CHECK_FUNCS_ANDROID does. AC_CHECK_DECL([error_at_line], , , [[#include ]]) if test $ac_cv_have_decl_error_at_line = yes; then AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[error_at_line (0, 0, "", 0, "an error occurred");]])], [ac_cv_lib_error_at_line=yes], [ac_cv_lib_error_at_line=no])]) else ac_cv_lib_error_at_line=no fi if test $ac_cv_lib_error_at_line = yes; then HAVE_ERROR_AT_LINE=1 else HAVE_ERROR_AT_LINE=0 fi REPLACE_ERROR_AT_LINE=0 if test $ac_cv_func_error = yes && test $ac_cv_lib_error_at_line = yes; then dnl On Android 11, when error_print_progname is set, the output of the dnl error() function contains an extra space. AC_CACHE_CHECK([for working error function], [gl_cv_func_working_error], [if test $cross_compiling != yes; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[ #include static void print_no_progname (void) {} ]], [[ error_print_progname = print_no_progname; error (0, 0, "foo"); ]]) ], [rm -f conftest.out if test -s conftest$ac_exeext \ && ./conftest$ac_exeext 2> conftest.out; then if grep ' ' conftest.out >/dev/null; then gl_cv_func_working_error=no else gl_cv_func_working_error=yes fi else gl_cv_func_working_error=no fi rm -f conftest.out ], [gl_cv_func_working_error=no]) else AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include ]], [[ error (0, 0, "foo"); ]]) ], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_error="guessing yes" ;; # Guess no on Android. linux*-android*) gl_cv_func_working_error="guessing no" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_working_error="$gl_cross_guess_normal" ;; esac ], [gl_cv_func_working_error=no]) fi ]) case "$gl_cv_func_working_error" in *no) REPLACE_ERROR=1 REPLACE_ERROR_AT_LINE=1 ;; esac fi m4_ifdef([gl_HAVE_MODULE_VERROR], [COMPILE_ERROR_C=1], [if test $HAVE_ERROR = 0 || test $REPLACE_ERROR = 1 \ || test $HAVE_ERROR_AT_LINE = 0 \ || test $REPLACE_ERROR_AT_LINE = 1; then COMPILE_ERROR_C=1 else COMPILE_ERROR_C=0 fi]) AC_SUBST([HAVE_ERROR]) AC_SUBST([HAVE_ERROR_AT_LINE]) AC_SUBST([REPLACE_ERROR]) AC_SUBST([REPLACE_ERROR_AT_LINE]) ]) datamash-1.9/m4/exp.m40000644000000000000000000000064214767401140010160 # exp.m4 # serial 1 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_EXP], [ dnl Determine EXP_LIBM. gl_COMMON_DOUBLE_MATHFUNC([exp]) ]) datamash-1.9/m4/expl.m40000644000000000000000000001536414767401140010343 # expl.m4 # serial 22 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_EXPL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare expl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) EXPL_LIBM= AC_CACHE_CHECK([whether expl() can be used without linking with libm], [gl_cv_func_expl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = expl; long double x;]], [[return funcptr (x) > 1.5 || expl (x) > 1.5;]])], [gl_cv_func_expl_no_libm=yes], [gl_cv_func_expl_no_libm=no]) ]) if test $gl_cv_func_expl_no_libm = no; then AC_CACHE_CHECK([whether expl() can be used with libm], [gl_cv_func_expl_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = expl; long double x;]], [[return funcptr (x) > 1.5 || expl (x) > 1.5;]])], [gl_cv_func_expl_in_libm=yes], [gl_cv_func_expl_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_expl_in_libm = yes; then EXPL_LIBM=-lm fi fi if test $gl_cv_func_expl_no_libm = yes \ || test $gl_cv_func_expl_in_libm = yes; then dnl Also check whether it's declared. dnl Mac OS X 10.3 has expl() in libc but doesn't declare it in . AC_CHECK_DECL([expl], , [HAVE_DECL_EXPL=0], [[#include ]]) if test $REPLACE_EXPL = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether expl works], [gl_cv_func_expl_works], [ saved_LIBS="$LIBS" LIBS="$LIBS $EXPL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include #include /* Override the values of , like done in float.in.h. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # endif #endif #undef expl extern #ifdef __cplusplus "C" #endif long double expl (long double); static long double dummy (long double x) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_expl) (long double) = argc ? expl : dummy; int result = 0; /* On Haiku 2017 the system's native expl() is just a stub: it returns 0.0 and prints "__expl not implemented" for all arguments. */ { volatile long double x1 = -1.0; if (expl (x1) == 0.0) result |= 1; } /* On OpenBSD 5.4 the system's native expl() is buggy: it returns 'nan' for small values. */ { volatile long double x1 = -1.0; volatile long double x2 = -0.8; volatile long double x3 = -0.4; if (isnan (expl (x1)) || isnan (expl (x2)) || isnan (expl (x3))) result |= 2; } /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */ { const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */ (long double) (1U << ((LDBL_MANT_DIG - 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 2) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 3) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 4) / 5)); long double x = 11.358L; long double err = (my_expl (x) * my_expl (- x) - 1.0L) * TWO_LDBL_MANT_DIG; if (!(err >= -100.0L && err <= 100.0L)) result |= 4; } return result; } ]])], [gl_cv_func_expl_works=yes], [gl_cv_func_expl_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_expl_works="guessing yes" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_expl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_expl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_expl_works="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_expl_works" in *yes) ;; *) REPLACE_EXPL=1 ;; esac fi else HAVE_DECL_EXPL=0 HAVE_EXPL=0 fi if test $HAVE_EXPL = 0 || test $REPLACE_EXPL = 1; then dnl Find libraries needed to link lib/expl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_EXP]) EXPL_LIBM="$EXP_LIBM" else AC_REQUIRE([gl_FUNC_ISNANL]) AC_REQUIRE([gl_FUNC_ROUNDL]) AC_REQUIRE([gl_FUNC_LDEXPL]) EXPL_LIBM= dnl Append $ISNANL_LIBM to EXPL_LIBM, avoiding gratuitous duplicates. case " $EXPL_LIBM " in *" $ISNANL_LIBM "*) ;; *) EXPL_LIBM="$EXPL_LIBM $ISNANL_LIBM" ;; esac dnl Append $ROUNDL_LIBM to EXPL_LIBM, avoiding gratuitous duplicates. case " $EXPL_LIBM " in *" $ROUNDL_LIBM "*) ;; *) EXPL_LIBM="$EXPL_LIBM $ROUNDL_LIBM" ;; esac dnl Append $LDEXPL_LIBM to EXPL_LIBM, avoiding gratuitous duplicates. case " $EXPL_LIBM " in *" $LDEXPL_LIBM "*) ;; *) EXPL_LIBM="$EXPL_LIBM $LDEXPL_LIBM" ;; esac fi fi AC_SUBST([EXPL_LIBM]) ]) datamash-1.9/m4/exponentd.m40000644000000000000000000000764714767401140011404 # exponentd.m4 # serial 4 dnl Copyright (C) 2007-2008, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_DOUBLE_EXPONENT_LOCATION], [ AC_CACHE_CHECK([where to find the exponent in a 'double'], [gl_cv_cc_double_expbit0], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define NWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { double value; unsigned int word[NWORDS]; } memory_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (double x) { memory_double m; size_t i; /* Clear it first, in case sizeof (double) < sizeof (memory_double). */ memset (&m, 0, sizeof (memory_double)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25); add_to_ored_words (0.5); add_to_ored_words (1.0); add_to_ored_words (2.0); add_to_ored_words (4.0); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } ]])], [gl_cv_cc_double_expbit0=`cat conftest.out`], [gl_cv_cc_double_expbit0="unknown"], [ dnl On ARM, there are two 'double' floating-point formats, used by dnl different sets of instructions: The older FPA instructions assume dnl that they are stored in big-endian word order, while the words dnl (like integer types) are stored in little-endian byte order. dnl The newer VFP instructions assume little-endian order dnl consistently. AC_EGREP_CPP([mixed_endianness], [ #if defined arm || defined __arm || defined __arm__ mixed_endianness #endif ], [gl_cv_cc_double_expbit0="unknown"], [ pushdef([AC_MSG_CHECKING],[:])dnl pushdef([AC_MSG_RESULT],[:])dnl pushdef([AC_MSG_RESULT_UNQUOTED],[:])dnl AC_C_BIGENDIAN( [gl_cv_cc_double_expbit0="word 0 bit 20"], [gl_cv_cc_double_expbit0="word 1 bit 20"], [gl_cv_cc_double_expbit0="unknown"]) popdef([AC_MSG_RESULT_UNQUOTED])dnl popdef([AC_MSG_RESULT])dnl popdef([AC_MSG_CHECKING])dnl ]) ]) rm -f conftest.out ]) case "$gl_cv_cc_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'` AC_DEFINE_UNQUOTED([DBL_EXPBIT0_WORD], [$word], [Define as the word index where to find the exponent of 'double'.]) AC_DEFINE_UNQUOTED([DBL_EXPBIT0_BIT], [$bit], [Define as the bit index in the word where to find bit 0 of the exponent of 'double'.]) ;; esac ]) datamash-1.9/m4/exponentf.m40000644000000000000000000000555314767401140011400 # exponentf.m4 # serial 3 dnl Copyright (C) 2007-2008, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_FLOAT_EXPONENT_LOCATION], [ AC_CACHE_CHECK([where to find the exponent in a 'float'], [gl_cv_cc_float_expbit0], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define NWORDS \ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { float value; unsigned int word[NWORDS]; } memory_float; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (float x) { memory_float m; size_t i; /* Clear it first, in case sizeof (float) < sizeof (memory_float). */ memset (&m, 0, sizeof (memory_float)); m.value = x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; add_to_ored_words (0.25f); add_to_ored_words (0.5f); add_to_ored_words (1.0f); add_to_ored_words (2.0f); add_to_ored_words (4.0f); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } ]])], [gl_cv_cc_float_expbit0=`cat conftest.out`], [gl_cv_cc_float_expbit0="unknown"], [gl_cv_cc_float_expbit0="word 0 bit 23"]) rm -f conftest.out ]) case "$gl_cv_cc_float_expbit0" in word*bit*) word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'` AC_DEFINE_UNQUOTED([FLT_EXPBIT0_WORD], [$word], [Define as the word index where to find the exponent of 'float'.]) AC_DEFINE_UNQUOTED([FLT_EXPBIT0_BIT], [$bit], [Define as the bit index in the word where to find bit 0 of the exponent of 'float'.]) ;; esac ]) datamash-1.9/m4/exponentl.m40000644000000000000000000000725014767401140011402 # exponentl.m4 # serial 7 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_LONG_DOUBLE_EXPONENT_LOCATION], [ AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([where to find the exponent in a 'long double'], [gl_cv_cc_long_double_expbit0], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { long double value; unsigned int word[NWORDS]; } memory_long_double; static unsigned int ored_words[NWORDS]; static unsigned int anded_words[NWORDS]; static void add_to_ored_words (long double *x) { memory_long_double m; size_t i; /* Clear it first, in case sizeof (long double) < sizeof (memory_long_double). */ memset (&m, 0, sizeof (memory_long_double)); m.value = *x; for (i = 0; i < NWORDS; i++) { ored_words[i] |= m.word[i]; anded_words[i] &= m.word[i]; } } int main () { static long double samples[5] = { 0.25L, 0.5L, 1.0L, 2.0L, 4.0L }; size_t j; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; for (j = 0; j < NWORDS; j++) anded_words[j] = ~ (unsigned int) 0; for (j = 0; j < 5; j++) add_to_ored_words (&samples[j]); /* Remove bits that are common (e.g. if representation of the first mantissa bit is explicit). */ for (j = 0; j < NWORDS; j++) ored_words[j] &= ~anded_words[j]; /* Now find the nonzero word. */ for (j = 0; j < NWORDS; j++) if (ored_words[j] != 0) break; if (j < NWORDS) { size_t i; for (i = j + 1; i < NWORDS; i++) if (ored_words[i] != 0) { fprintf (fp, "unknown"); return (fclose (fp) != 0); } for (i = 0; ; i++) if ((ored_words[j] >> i) & 1) { fprintf (fp, "word %d bit %d", (int) j, (int) i); return (fclose (fp) != 0); } } fprintf (fp, "unknown"); return (fclose (fp) != 0); } ]])], [gl_cv_cc_long_double_expbit0=`cat conftest.out`], [gl_cv_cc_long_double_expbit0="unknown"], [ dnl When cross-compiling, in general we don't know. It depends on the dnl ABI and compiler version. There are too many cases. gl_cv_cc_long_double_expbit0="unknown" case "$host_os" in mingw* | windows*) # On native Windows (little-endian), we know the result # in two cases: mingw, MSVC. AC_EGREP_CPP([Known], [ #ifdef __MINGW32__ Known #endif ], [gl_cv_cc_long_double_expbit0="word 2 bit 0"]) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_cc_long_double_expbit0="word 1 bit 20"]) ;; esac ]) rm -f conftest.out ]) case "$gl_cv_cc_long_double_expbit0" in word*bit*) word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'` AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_WORD], [$word], [Define as the word index where to find the exponent of 'long double'.]) AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_BIT], [$bit], [Define as the bit index in the word where to find bit 0 of the exponent of 'long double'.]) ;; esac ]) datamash-1.9/m4/extensions-aix.m40000644000000000000000000000236214767401140012343 # extensions-aix.m4 # serial 1 dnl Copyright (C) 2024-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # On AIX, most extensions are already enabled through the _ALL_SOURCE macro, # defined by gl_USE_SYSTEM_EXTENSIONS. gl_USE_AIX_EXTENSIONS additionally # activates more GNU and Linux-like behaviours, affecting # - the time_t type, # - errno values in : ENOTEMPTY # - functions in : malloc calloc realloc valloc # # - functions in : strerror_r (returns 'char *', like glibc) # - functions in : scandir, alphasort, readdir_r # - functions in : gethostbyname_r gethostbyaddr_r # - declarations in : sbrk # and a couple of secondary header files. AC_DEFUN_ONCE([gl_USE_AIX_EXTENSIONS], [ AC_DEFINE([_LINUX_SOURCE_COMPAT], [1], [Define so that AIX headers are more compatible with GNU/Linux.]) ]) datamash-1.9/m4/extensions.m40000644000000000000000000002163214767401140011565 # extensions.m4 # serial 25 -*- Autoconf -*- dnl Copyright (C) 2003, 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Enable extensions on systems that normally disable them. dnl Define to empty for the benefit of Autoconf 2.69 and earlier, so that dnl AC_USE_SYSTEM_EXTENSIONS (below) can be used unchanged from Autoconf 2.70+. m4_ifndef([AC_CHECK_INCLUDES_DEFAULT], [AC_DEFUN([AC_CHECK_INCLUDES_DEFAULT], [])]) # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git # Autoconf. Perhaps we can remove this once we can assume Autoconf # is recent-enough everywhere, but since Autoconf mutates rapidly # enough in this area it's likely we'll need to redefine # AC_USE_SYSTEM_EXTENSIONS for quite some time. # If autoconf reports a warning # warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS # or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS # the fix is # 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked # but always AC_REQUIREd, # 2) to ensure that for each occurrence of # AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) # or # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # the corresponding gnulib module description has 'extensions' among # its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS # invocation occurs in gl_EARLY, not in gl_INIT. m4_version_prereq([2.72], [], [ # AC_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. # We unconditionally define as many of the known feature-enabling # as possible, reserving conditional behavior for macros that are # known to cause problems on some platforms (such as __EXTENSIONS__). AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_PREPROC_IFELSE])dnl AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl AC_BEFORE([$0], [AC_LINK_IFELSE])dnl AC_BEFORE([$0], [AC_RUN_IFELSE])dnl AC_BEFORE([$0], [AC_CHECK_INCLUDES_DEFAULT])dnl dnl #undef in AH_VERBATIM gets replaced with #define by AC_DEFINE. dnl Use a different key than __EXTENSIONS__, as that name broke existing dnl configure.ac when using autoheader 2.62. dnl The macros below are in alphabetical order ignoring leading _ or __ dnl prefixes. AH_VERBATIM([USE_SYSTEM_EXTENSIONS], [/* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable general extensions on macOS. */ #ifndef _DARWIN_C_SOURCE # undef _DARWIN_C_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable X/Open compliant socket functions that do not require linking with -lxnet on HP-UX 11.11. */ #ifndef _HPUX_ALT_XOPEN_SOCKET_API # undef _HPUX_ALT_XOPEN_SOCKET_API #endif /* Identify the host operating system as Minix. This macro does not affect the system headers' behavior. A future release of Autoconf may stop defining this macro. */ #ifndef _MINIX # undef _MINIX #endif /* Enable general extensions on NetBSD. Enable NetBSD compatibility extensions on Minix. */ #ifndef _NETBSD_SOURCE # undef _NETBSD_SOURCE #endif /* Enable OpenBSD compatibility extensions on NetBSD. Oddly enough, this does nothing on OpenBSD. */ #ifndef _OPENBSD_SOURCE # undef _OPENBSD_SOURCE #endif /* Define to 1 if needed for POSIX-compatible behavior. */ #ifndef _POSIX_SOURCE # undef _POSIX_SOURCE #endif /* Define to 2 if needed for POSIX-compatible behavior. */ #ifndef _POSIX_1_SOURCE # undef _POSIX_1_SOURCE #endif /* Enable POSIX-compatible threading on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ # undef __STDC_WANT_IEC_60559_BFP_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ # undef __STDC_WANT_IEC_60559_DFP_EXT__ #endif /* Enable extensions specified by C23 Annex F. */ #ifndef __STDC_WANT_IEC_60559_EXT__ # undef __STDC_WANT_IEC_60559_EXT__ #endif /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ # undef __STDC_WANT_IEC_60559_FUNCS_EXT__ #endif /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ # undef __STDC_WANT_IEC_60559_TYPES_EXT__ #endif /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ #ifndef __STDC_WANT_LIB_EXT2__ # undef __STDC_WANT_LIB_EXT2__ #endif /* Enable extensions specified by ISO/IEC 24747:2009. */ #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ # undef __STDC_WANT_MATH_SPEC_FUNCS__ #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable X/Open extensions. Define to 500 only if necessary to make mbstate_t available. */ #ifndef _XOPEN_SOURCE # undef _XOPEN_SOURCE #endif ])dnl AC_REQUIRE([AC_CHECK_INCLUDES_DEFAULT])dnl _AC_CHECK_HEADER_ONCE([wchar.h]) _AC_CHECK_HEADER_ONCE([minix/config.h]) dnl Defining __EXTENSIONS__ may break the system headers on some systems. dnl (FIXME: Which ones?) AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], [ac_cv_safe_to_define___extensions__], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ # define __EXTENSIONS__ 1 ]AC_INCLUDES_DEFAULT])], [ac_cv_safe_to_define___extensions__=yes], [ac_cv_safe_to_define___extensions__=no])]) dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to dnl 500, regardless of whether compiling with -Ae or -D_HPUX_SOURCE=1. dnl But defining _XOPEN_SOURCE may turn *off* extensions on platforms dnl not covered by turn-on-extensions macros (notably Dragonfly, Free, dnl and OpenBSD, which don't have any equivalent of _NETBSD_SOURCE) so dnl it should only be defined when necessary. AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined], [ac_cv_should_define__xopen_source], [ac_cv_should_define__xopen_source=no AS_IF([test $ac_cv_header_wchar_h = yes], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include mbstate_t x;]])], [], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #define _XOPEN_SOURCE 500 #include mbstate_t x;]])], [ac_cv_should_define__xopen_source=yes])])])]) AC_DEFINE([_ALL_SOURCE]) AC_DEFINE([_DARWIN_C_SOURCE]) AC_DEFINE([_GNU_SOURCE]) AC_DEFINE([_HPUX_ALT_XOPEN_SOCKET_API]) AC_DEFINE([_NETBSD_SOURCE]) AC_DEFINE([_OPENBSD_SOURCE]) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) AC_DEFINE([__STDC_WANT_IEC_60559_ATTRIBS_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_BFP_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_DFP_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_FUNCS_EXT__]) AC_DEFINE([__STDC_WANT_IEC_60559_TYPES_EXT__]) AC_DEFINE([__STDC_WANT_LIB_EXT2__]) AC_DEFINE([__STDC_WANT_MATH_SPEC_FUNCS__]) AC_DEFINE([_TANDEM_SOURCE]) AS_IF([test $ac_cv_header_minix_config_h = yes], [MINIX=yes AC_DEFINE([_MINIX]) AC_DEFINE([_POSIX_SOURCE]) AC_DEFINE([_POSIX_1_SOURCE], [2])], [MINIX=]) AS_IF([test $ac_cv_safe_to_define___extensions__ = yes], [AC_DEFINE([__EXTENSIONS__])]) AS_IF([test $ac_cv_should_define__xopen_source = yes], [AC_DEFINE([_XOPEN_SOURCE], [500])]) ])# AC_USE_SYSTEM_EXTENSIONS ]) # gl_USE_SYSTEM_EXTENSIONS # ------------------------ # Enable extensions on systems that normally disable them, # typically due to standards-conformance issues. AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl On OpenBSD 6.8 with GCC, the include files contain a couple of dnl definitions that are only activated with an explicit -D_ISOC11_SOURCE. dnl That's because this version of GCC (4.2.1) supports the option dnl '-std=gnu99' but not the option '-std=gnu11'. AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in openbsd*) AC_DEFINE([_ISOC11_SOURCE], [1], [Define to enable the declarations of ISO C 11 types and functions.]) ;; esac dnl On OpenSolaris derivatives, the include files contains a couple of dnl declarations that are only activated with an explicit dnl -D__STDC_WANT_LIB_EXT1__. AH_VERBATIM([USE_ISO_C_23_ANNEX_K_EXTENSIONS], [/* Define to enable the declarations of ISO C 23 Annex K types and functions. */ #if !(defined __STDC_WANT_LIB_EXT1__ && __STDC_WANT_LIB_EXT1__) #undef/**/__STDC_WANT_LIB_EXT1__ #define __STDC_WANT_LIB_EXT1__ 1 #endif ]) ]) datamash-1.9/m4/extern-inline.m40000644000000000000000000001321614771573666012170 # extern-inline.m4 # serial 1 dnl Copyright 2012-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl 'extern inline' a la ISO C99. AC_DEFUN([gl_EXTERN_INLINE], [ AC_CACHE_CHECK([whether ctype.h defines __header_inline], [gl_cv_have___header_inline], [AC_PREPROC_IFELSE( [AC_LANG_SOURCE([[#include #ifndef __header_inline #error " does not define __header_inline" #endif ]])], [gl_cv_have___header_inline=yes], [gl_cv_have___header_inline=no])]) if test "$gl_cv_have___header_inline" = yes; then AC_DEFINE([HAVE___HEADER_INLINE], [1], [Define to 1 if ctype.h defines __header_inline.]) fi AH_VERBATIM([HAVE___HEADER_INLINE_1], [/* Please see the Gnulib manual for how to use these macros. Suppress extern inline with HP-UX cc, as it appears to be broken; see . Suppress extern inline with Sun C in standards-conformance mode, as it mishandles inline functions that call each other. E.g., for 'inline void f (void) { } inline void g (void) { f (); }', c99 incorrectly complains 'reference to static identifier "f" in extern inline function'. This bug was observed with Oracle Developer Studio 12.6 (Sun C 5.15 SunOS_sparc 2017/05/30). Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) on configurations that mistakenly use 'static inline' to implement functions or macros in standard C headers like . For example, if isdigit is mistakenly implemented via a static inline function, a program containing an extern inline function that calls isdigit may not work since the C standard prohibits extern inline functions from calling static functions (ISO C 99 section 6.7.4.(3). This bug is known to occur on: OS X 10.8 and earlier; see: https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html DragonFly; see http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log FreeBSD; see: https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and for clang but remains for g++; see . Assume DragonFly and FreeBSD will be similar. GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. It defines a macro __GNUC_STDC_INLINE__ to indicate this situation or a macro __GNUC_GNU_INLINE__ to indicate the opposite situation. GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline semantics but warns, unless -fgnu89-inline is used: warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ #if (((defined __APPLE__ && defined __MACH__) \ || defined __DragonFly__ || defined __FreeBSD__) \ && (defined HAVE___HEADER_INLINE \ ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ && ! defined __clang__) \ : ((! defined _DONT_USE_CTYPE_INLINE_ \ && (defined __GNUC__ || defined __cplusplus)) \ || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ && defined __GNUC__ && ! defined __cplusplus)))) # define _GL_EXTERN_INLINE_STDHEADER_BUG #endif #if ((__GNUC__ \ ? (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ && !defined __PCC__) \ : (199901L <= __STDC_VERSION__ \ && !defined __HP_cc \ && !defined __PGI \ && !(defined __SUNPRO_C && __STDC__))) \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline # define _GL_EXTERN_INLINE_IN_USE #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ && !defined __PCC__ \ && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) # else # define _GL_INLINE extern inline # endif # define _GL_EXTERN_INLINE extern # define _GL_EXTERN_INLINE_IN_USE #else # define _GL_INLINE _GL_UNUSED static # define _GL_EXTERN_INLINE _GL_UNUSED static #endif /* In GCC 4.6 (inclusive) to 5.1 (exclusive), suppress bogus "no previous prototype for 'FOO'" and "no previous declaration for 'FOO'" diagnostics, when FOO is an inline function in the header; see and . */ #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ # define _GL_INLINE_HEADER_CONST_PRAGMA # else # define _GL_INLINE_HEADER_CONST_PRAGMA \ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") # endif # define _GL_INLINE_HEADER_BEGIN \ _Pragma ("GCC diagnostic push") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ _GL_INLINE_HEADER_CONST_PRAGMA # define _GL_INLINE_HEADER_END \ _Pragma ("GCC diagnostic pop") #else # define _GL_INLINE_HEADER_BEGIN # define _GL_INLINE_HEADER_END #endif]) ]) datamash-1.9/m4/fabs.m40000644000000000000000000000065614767401140010304 # fabs.m4 # serial 1 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FABS], [ dnl Determine FABS_LIBM. gl_MATHFUNC([fabs], [double], [(double)]) ]) datamash-1.9/m4/fabsl.m40000644000000000000000000000435714767401140010462 # fabsl.m4 # serial 5 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FABSL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare fabsl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Determine FABSL_LIBM. gl_MATHFUNC([fabsl], [long double], [(long double)]) if test $gl_cv_func_fabsl_no_libm = yes \ || test $gl_cv_func_fabsl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $FABSL_LIBM" gl_FUNC_FABSL_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_fabsl_works" in *yes) ;; *) REPLACE_FABSL=1 ;; esac else HAVE_FABSL=0 fi if test $HAVE_FABSL = 0 || test $REPLACE_FABSL = 1; then dnl Find libraries needed to link lib/fabsl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_FABS]) FABSL_LIBM="$FABS_LIBM" else FABSL_LIBM= fi fi AC_SUBST([FABSL_LIBM]) ]) dnl Test whether fabsl() works on a minus zero. dnl On IRIX 6.5, with gcc 4.2.4 and without -fno-builtin-fabsl, the value is a dnl minus zero rather than a positive zero. AC_DEFUN([gl_FUNC_FABSL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether fabsl works], [gl_cv_func_fabsl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include volatile long double x; long double y; long double zero = 0.0L; int main () { x = - (LDBL_MIN * LDBL_MIN * LDBL_MIN); y = fabsl (x); return (memcmp (&y, &zero, sizeof y) != 0); } ]])], [gl_cv_func_fabsl_works=yes], [gl_cv_func_fabsl_works=no], [case "$host_os" in irix*) gl_cv_func_fabsl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_fabsl_works="guessing yes" ;; *) gl_cv_func_fabsl_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/fcntl-o.m40000644000000000000000000001136714771573666010756 # fcntl-o.m4 # serial 8 dnl Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Paul Eggert. AC_PREREQ([2.60]) # Test whether the flags O_NOATIME and O_NOFOLLOW actually work. # Define HAVE_WORKING_O_NOATIME to 1 if O_NOATIME works, or to 0 otherwise. # Define HAVE_WORKING_O_NOFOLLOW to 1 if O_NOFOLLOW works, or to 0 otherwise. AC_DEFUN([gl_FCNTL_O_FLAGS], [ dnl Persuade glibc to define O_NOATIME and O_NOFOLLOW. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CHECK_FUNCS_ONCE([symlink]) AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include # include # defined sleep(n) _sleep ((n) * 1000) #endif #include ]GL_MDA_DEFINES[ #ifndef O_NOATIME #define O_NOATIME 0 #endif #ifndef O_NOFOLLOW #define O_NOFOLLOW 0 #endif static int const constants[] = { O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY }; ]], [[ int result = !constants; #if HAVE_SYMLINK { static char const sym[] = "conftest.sym"; if (symlink ("/dev/null", sym) != 0) result |= 2; else { int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); if (fd >= 0) { close (fd); result |= 4; } } if (unlink (sym) != 0 || symlink (".", sym) != 0) result |= 2; else { int fd = open (sym, O_RDONLY | O_NOFOLLOW); if (fd >= 0) { close (fd); result |= 4; } } unlink (sym); } #endif { static char const file[] = "confdefs.h"; int fd = open (file, O_RDONLY | O_NOATIME); if (fd < 0) result |= 8; else { struct stat st0; if (fstat (fd, &st0) != 0) result |= 16; else { char c; sleep (1); if (read (fd, &c, 1) != 1) result |= 24; else { if (close (fd) != 0) result |= 32; else { struct stat st1; if (stat (file, &st1) != 0) result |= 40; else if (st0.st_atime != st1.st_atime) result |= 64; } } } } } return result;]])], [gl_cv_header_working_fcntl_h=yes], [case $? in #( 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( *) gl_cv_header_working_fcntl_h='no';; esac], [case "$host_os" in # Guess 'no' on native Windows. mingw* | windows*) gl_cv_header_working_fcntl_h='no' ;; *) gl_cv_header_working_fcntl_h=cross-compiling ;; esac ]) ]) case $gl_cv_header_working_fcntl_h in #( *O_NOATIME* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], [Define to 1 if O_NOATIME works.]) case $gl_cv_header_working_fcntl_h in #( *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( *) ac_val=1;; esac AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], [Define to 1 if O_NOFOLLOW works.]) ]) datamash-1.9/m4/fcntl.m40000644000000000000000000001226314767401140010474 # fcntl.m4 # serial 12 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # For now, this module ensures that fcntl() # - supports F_DUPFD correctly # - supports or emulates F_DUPFD_CLOEXEC # - supports F_GETFD # Still to be ported to mingw: # - F_SETFD # - F_GETFL, F_SETFL # - F_GETOWN, F_SETOWN # - F_GETLK, F_SETLK, F_SETLKW AC_DEFUN([gl_FUNC_FCNTL], [ dnl Persuade glibc to expose F_DUPFD_CLOEXEC. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([fcntl]) if test $ac_cv_func_fcntl = no; then gl_REPLACE_FCNTL else dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target dnl haiku alpha 2 F_DUPFD has wrong errno AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], [gl_cv_func_fcntl_f_dupfd_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include #include #include ]GL_MDA_DEFINES[ #ifndef RLIM_SAVED_CUR # define RLIM_SAVED_CUR RLIM_INFINITY #endif #ifndef RLIM_SAVED_MAX # define RLIM_SAVED_MAX RLIM_INFINITY #endif ]], [[int result = 0; int bad_fd = INT_MAX; struct rlimit rlim; if (getrlimit (RLIMIT_NOFILE, &rlim) == 0 && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX && rlim.rlim_cur != RLIM_INFINITY && rlim.rlim_cur != RLIM_SAVED_MAX && rlim.rlim_cur != RLIM_SAVED_CUR) bad_fd = rlim.rlim_cur; if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; if (errno != EINVAL) result |= 2; if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; if (errno != EINVAL) result |= 8; /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ { int fd; fd = open (".", O_RDONLY); if (fd == -1) result |= 16; else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) result |= 32; close (fd); } return result;]])], [gl_cv_func_fcntl_f_dupfd_works=yes], [gl_cv_func_fcntl_f_dupfd_works=no], [case $host_os in aix* | cygwin* | haiku*) gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac])]) case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; *) gl_REPLACE_FCNTL AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD behavior does not match POSIX]) ;; esac dnl Many systems lack F_DUPFD_CLOEXEC. dnl NetBSD 10.0 declares F_DUPFD_CLOEXEC but it works only like F_DUPFD. AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC], [gl_cv_func_fcntl_f_dupfd_cloexec], [AC_RUN_IFELSE( [AC_LANG_SOURCE( [[#include #include int main (int argc, char *argv[]) { if (argc == 1) /* parent process */ { if (fcntl (1, F_DUPFD_CLOEXEC, 10) < 0) return 1; return execl ("./conftest", "./conftest", "child", NULL); } else /* child process */ return (fcntl (10, F_GETFL) < 0 ? 0 : 42); } ]]) ], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #ifdef __linux__ /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace it to support the semantics on older kernels that failed with EINVAL. */ choke me #endif ]])], [gl_cv_func_fcntl_f_dupfd_cloexec=yes], [gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"]) ], [gl_cv_func_fcntl_f_dupfd_cloexec=no], [case "$host_os" in # Guess no on NetBSD. netbsd*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing no" ;; *) gl_cv_func_fcntl_f_dupfd_cloexec="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_fcntl_f_dupfd_cloexec" in *yes) ;; *) gl_REPLACE_FCNTL dnl No witness macro needed for this bug. ;; esac fi dnl Replace fcntl() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then gl_REPLACE_FCNTL fi ]) ]) AC_DEFUN([gl_REPLACE_FCNTL], [ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([fcntl]) if test $ac_cv_func_fcntl = no; then HAVE_FCNTL=0 else REPLACE_FCNTL=1 fi ]) datamash-1.9/m4/fcntl_h.m40000644000000000000000000000531214767401140011000 # fcntl_h.m4 # serial 20 dnl Copyright (C) 2006-2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Configure fcntl.h. dnl Written by Paul Eggert. AC_DEFUN_ONCE([gl_FCNTL_H], [ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) AC_REQUIRE([gl_FCNTL_O_FLAGS]) gl_NEXT_HEADERS([fcntl.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [fcntl openat]) ]) # gl_FCNTL_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_FCNTL_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_FCNTL_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_FCNTL_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CREAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCNTL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NONBLOCKING]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CREAT], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_OPEN], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_FCNTL_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ]) AC_DEFUN([gl_FCNTL_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) REPLACE_CREAT=0; AC_SUBST([REPLACE_CREAT]) REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT]) ]) datamash-1.9/m4/fflush.m40000644000000000000000000000660314767401140010656 # fflush.m4 # serial 20 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Eric Blake dnl Find out how to obey POSIX semantics of fflush(stdin) discarding dnl unread input on seekable streams, rather than C99 undefined semantics. AC_DEFUN([gl_FUNC_FFLUSH], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_FUNC_FFLUSH_STDIN case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FFLUSH=1 ;; esac ]) dnl Determine whether fflush works on input streams. dnl Sets gl_cv_func_fflush_stdin. AC_DEFUN([gl_FUNC_FFLUSH_STDIN], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether fflush works on input streams], [gl_cv_func_fflush_stdin], [echo hello world > conftest.txt AC_RUN_IFELSE([AC_LANG_PROGRAM( [[ #include #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif ]GL_MDA_DEFINES], [[FILE *f = fopen ("conftest.txt", "r"); char buffer[10]; int fd; int c; if (f == NULL) return 1; fd = fileno (f); if (fd < 0 || fread (buffer, 1, 5, f) != 5) { fclose (f); return 2; } /* For deterministic results, ensure f read a bigger buffer. */ if (lseek (fd, 0, SEEK_CUR) == 5) { fclose (f); return 3; } /* POSIX requires fflush-fseek to set file offset of fd. This fails on BSD systems and on mingw. */ if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 4; } if (lseek (fd, 0, SEEK_CUR) != 5) { fclose (f); return 5; } /* Verify behaviour of fflush after ungetc. See */ /* Verify behaviour of fflush after a backup ungetc. This fails on mingw. */ c = fgetc (f); ungetc (c, f); fflush (f); if (fgetc (f) != c) { fclose (f); return 6; } /* Verify behaviour of fflush after a non-backup ungetc. This fails on glibc 2.8 and on BSD systems. */ c = fgetc (f); ungetc ('@', f); fflush (f); if (fgetc (f) != c) { fclose (f); return 7; } fclose (f); return 0; ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no], [case "$host_os" in # Guess no on NetBSD, OpenBSD, native Windows. netbsd* | openbsd* | mingw* | windows*) gl_cv_func_fflush_stdin="guessing no" ;; *) gl_cv_func_fflush_stdin=cross ;; esac ]) rm conftest.txt ]) case "$gl_cv_func_fflush_stdin" in *yes) gl_func_fflush_stdin=1 ;; *no) gl_func_fflush_stdin=0 ;; *) gl_func_fflush_stdin='(-1)' ;; esac AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin], [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008 or later, 0 if fflush is known to not work, -1 if unknown.]) ]) # Prerequisites of lib/fflush.c. AC_DEFUN([gl_PREREQ_FFLUSH], [:]) datamash-1.9/m4/flexmember.m40000644000000000000000000000337214767401140011515 # flexmember.m4 # serial 5 dnl Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Check for flexible array member support. # Written by Paul Eggert. AC_DEFUN([AC_C_FLEXIBLE_ARRAY_MEMBER], [ AC_CACHE_CHECK([for flexible array member], ac_cv_c_flexmember, [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include struct m { struct m *next, **list; char name[]; }; struct s { struct s *p; struct m *m; int n; double d[]; };]], [[int m = getchar (); size_t nbytes = offsetof (struct s, d) + m * sizeof (double); nbytes += sizeof (struct s) - 1; nbytes -= nbytes % sizeof (struct s); struct s *p = malloc (nbytes); p->p = p; p->m = NULL; p->d[0] = 0.0; return p->d != (double *) NULL;]])], [ac_cv_c_flexmember=yes], [ac_cv_c_flexmember=no])]) if test $ac_cv_c_flexmember = yes; then AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [], [Define to nothing if C supports flexible array members, and to 1 if it does not. That way, with a declaration like 'struct s { int n; short d@<:@FLEXIBLE_ARRAY_MEMBER@:>@; };', the struct hack can be used with pre-C99 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate the size in bytes of such a struct containing an N-element array.]) else AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [1]) fi ]) datamash-1.9/m4/float_h.m40000644000000000000000000000726214767401140011005 # float_h.m4 # serial 15 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FLOAT_H], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) GL_GENERATE_FLOAT_H=false REPLACE_FLOAT_LDBL=0 case "$host_os" in aix* | beos* | openbsd* | mirbsd* | irix*) GL_GENERATE_FLOAT_H=true ;; freebsd* | dragonfly*) case "$host_cpu" in changequote(,)dnl i[34567]86 ) changequote([,])dnl GL_GENERATE_FLOAT_H=true ;; x86_64 ) # On x86_64 systems, the C compiler may still be generating # 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __x86_64__ || defined __amd64__ int ok; #else error fail #endif ]])], [], [GL_GENERATE_FLOAT_H=true]) ;; esac ;; linux*) case "$host_cpu" in powerpc*) GL_GENERATE_FLOAT_H=true ;; esac ;; esac case "$host_os" in aix* | freebsd* | dragonfly* | linux*) if $GL_GENERATE_FLOAT_H; then REPLACE_FLOAT_LDBL=1 fi ;; esac dnl Test for completeness w.r.t. ISO C 23. REPLACE_FLOAT_SNAN=0 AC_CACHE_CHECK([whether float.h conforms to ISO C23], [gl_cv_header_float_h_isoc23], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x[] = { FLT_DECIMAL_DIG, DBL_DECIMAL_DIG, LDBL_DECIMAL_DIG }; float maxf = FLT_NORM_MAX; double maxd = DBL_NORM_MAX; long double maxl = LDBL_NORM_MAX; ]], [[float sf = FLT_SNAN; double sd = DBL_SNAN; long double sl = LDBL_SNAN; return (sf != 0) + (sd != 0) + (sl != 0); ]])], [gl_cv_header_float_h_isoc23=yes], [gl_cv_header_float_h_isoc23=no]) ]) if test $gl_cv_header_float_h_isoc23 != yes; then GL_GENERATE_FLOAT_H=true REPLACE_FLOAT_SNAN=1 fi dnl Test against glibc-2.7 Linux/SPARC64 bug. REPLACE_ITOLD=0 AC_CACHE_CHECK([whether conversion from 'int' to 'long double' works], [gl_cv_func_itold_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ int i = -1; volatile long double ld; int main () { ld += i * 1.0L; if (ld > 0) return 1; return 0; }]])], [gl_cv_func_itold_works=yes], [gl_cv_func_itold_works=no], [case "$host" in sparc*-*-linux*) AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_func_itold_works="guessing no"], [gl_cv_func_itold_works="guessing yes"]) ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_itold_works="guessing yes" ;; *) gl_cv_func_itold_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_itold_works" in *no) REPLACE_ITOLD=1 dnl We add the workaround to but also to , dnl to increase the chances that the fix function gets pulled in. GL_GENERATE_FLOAT_H=true ;; esac if $GL_GENERATE_FLOAT_H; then gl_NEXT_HEADERS([float.h]) fi AC_SUBST([REPLACE_ITOLD]) ]) datamash-1.9/m4/floor.m40000644000000000000000000000670414767401140010512 # floor.m4 # serial 17 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FLOOR], [ m4_divert_text([DEFAULTS], [gl_floor_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Test whether floor() can be used without libm. gl_FUNC_FLOOR_LIBS if test "$FLOOR_LIBM" = "?"; then FLOOR_LIBM= fi m4_ifdef([gl_FUNC_FLOOR_IEEE], [ if test $gl_floor_required = ieee && test $REPLACE_FLOOR = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether floor works according to ISO C 99 with IEC 60559], [gl_cv_func_floor_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $FLOOR_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_DOUBLE_MINUS_ZERO_CODE[ ]gl_DOUBLE_SIGNBIT_CODE[ static double dummy (double f) { return 0; } int main (int argc, char *argv[]) { double (* volatile my_floor) (double) = argc ? floor : dummy; /* Test whether floor (-0.0) is -0.0. */ if (signbitd (minus_zerod) && !signbitd (my_floor (minus_zerod))) return 1; return 0; } ]])], [gl_cv_func_floor_ieee=yes], [gl_cv_func_floor_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_floor_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_floor_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_floor_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_floor_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_floor_ieee" in *yes) ;; *) REPLACE_FLOOR=1 ;; esac fi ]) if test $REPLACE_FLOOR = 1; then dnl No libraries are needed to link lib/floor.c. FLOOR_LIBM= fi AC_SUBST([FLOOR_LIBM]) ]) # Determines the libraries needed to get the floor() function. # Sets FLOOR_LIBM. AC_DEFUN([gl_FUNC_FLOOR_LIBS], [ gl_CACHE_VAL_SILENT([gl_cv_func_floor_libm], [ gl_cv_func_floor_libm=? AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x;]], [[x = funcptr(x) + floor(x);]])], [gl_cv_func_floor_libm=]) if test "$gl_cv_func_floor_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = floor; double x;]], [[x = funcptr(x) + floor(x);]])], [gl_cv_func_floor_libm="-lm"]) LIBS="$saved_LIBS" fi ]) FLOOR_LIBM="$gl_cv_func_floor_libm" ]) datamash-1.9/m4/floorl.m40000644000000000000000000000456014767401140010664 # floorl.m4 # serial 12 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FLOORL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare floorl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether floorl() is declared. AC_CHECK_DECLS([floorl], , , [[#include ]]) if test "$ac_cv_have_decl_floorl" = yes; then dnl Test whether floorl() can be used without libm. gl_FUNC_FLOORL_LIBS if test "$FLOORL_LIBM" = "?"; then dnl Sun C 5.0 on Solaris declares floorl() and has it in the system-wide dnl libm.so, but not in the libm.so that the compiler uses. REPLACE_FLOORL=1 fi else HAVE_DECL_FLOORL=0 fi if test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1; then dnl Find libraries needed to link lib/floorl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_FLOOR]) FLOORL_LIBM="$FLOOR_LIBM" else FLOORL_LIBM= fi fi AC_SUBST([FLOORL_LIBM]) ]) # Determines the libraries needed to get the floorl() function. # Sets FLOORL_LIBM. AC_DEFUN([gl_FUNC_FLOORL_LIBS], [ gl_CACHE_VAL_SILENT([gl_cv_func_floorl_libm], [ gl_cv_func_floorl_libm=? AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x;]], [[x = funcptr (x) + floorl(x);]])], [gl_cv_func_floorl_libm=]) if test "$gl_cv_func_floorl_libm" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = floorl; long double x;]], [[x = funcptr (x) + floorl(x);]])], [gl_cv_func_floorl_libm="-lm"]) LIBS="$saved_LIBS" fi ]) FLOORL_LIBM="$gl_cv_func_floorl_libm" ]) datamash-1.9/m4/fpending.m40000644000000000000000000000230714767401140011156 # fpending.m4 # serial 23 dnl Copyright (C) 2000-2001, 2004-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Jim Meyering dnl Using code from emacs, based on suggestions from Paul Eggert dnl and Ulrich Drepper. dnl Find out how to determine the number of pending output bytes on a stream. dnl glibc (2.1.93 and newer) and Solaris provide __fpending. On other systems, dnl we have to grub around in the (possibly opaque) FILE struct. AC_DEFUN([gl_FUNC_FPENDING], [ AC_CHECK_HEADERS_ONCE([stdio_ext.h]) fp_headers=' #include #if HAVE_STDIO_EXT_H # include #endif ' AC_CACHE_CHECK([for __fpending], [gl_cv_func___fpending], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM([[$fp_headers]], [[return ! __fpending (stdin);]])], [gl_cv_func___fpending=yes], [gl_cv_func___fpending=no]) ]) if test $gl_cv_func___fpending = yes; then AC_CHECK_DECLS([__fpending], [], [], [$fp_headers]) fi ]) datamash-1.9/m4/fpieee.m40000644000000000000000000000440114767401140010616 # fpieee.m4 # serial 2 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl IEEE 754 standardized three items: dnl - The formats of single-float and double-float - nowadays commonly dnl available as 'float' and 'double' in C and C++. dnl No autoconf test needed. dnl - The overflow and division by zero behaviour: The result are values dnl '±Inf' and 'NaN', rather than exceptions as it was before. dnl This file provides an autoconf macro for ensuring this behaviour of dnl floating-point operations. dnl - A set of conditions (overflow, underflow, inexact, etc.) which can dnl be configured to trigger an exception. dnl This cannot be done in a portable way: it depends on the compiler, dnl libc, kernel, and CPU. No autoconf macro is provided for this. dnl Ensure non-trapping behaviour of floating-point overflow and dnl floating-point division by zero. dnl (For integer overflow, see gcc's -ftrapv option; for integer division by dnl zero, see the autoconf macro in intdiv0.m4.) AC_DEFUN([gl_FP_IEEE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) # IEEE behaviour is the default on all CPUs except Alpha and SH # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4 # and the GCC 4.1.2 manual). case "$host_cpu" in alpha*) # On Alpha systems, a compiler option provides the behaviour. # See the ieee(3) manual page, also available at # if test -n "$GCC"; then # GCC has the option -mieee. # For full IEEE compliance (rarely needed), use option -mieee-with-inexact. CPPFLAGS="$CPPFLAGS -mieee" else # Compaq (ex-DEC) C has the option -ieee, equivalent to -ieee_with_no_inexact. # For full IEEE compliance (rarely needed), use option -ieee_with_inexact. CPPFLAGS="$CPPFLAGS -ieee" fi ;; sh*) if test -n "$GCC"; then # GCC has the option -mieee. CPPFLAGS="$CPPFLAGS -mieee" fi ;; esac ]) datamash-1.9/m4/fpurge.m40000644000000000000000000000501314767401140010651 # fpurge.m4 # serial 16 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FPURGE], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_CHECK_HEADERS_ONCE([stdio_ext.h]) AC_CHECK_FUNCS_ONCE([fpurge]) gl_CHECK_FUNCS_ANDROID([__fpurge], [[#include ]]) AC_CHECK_DECLS([fpurge], , , [[#include ]]) if test $ac_cv_func_fpurge = yes; then HAVE_FPURGE=1 # Detect BSD bug. Only cygwin 1.7 and musl are known to be immune. AC_CACHE_CHECK([whether fpurge works], [gl_cv_func_fpurge_works], [if test $ac_cv_have_decl_fpurge = yes; then AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[FILE *f = fopen ("conftest.txt", "w+"); if (!f) return 1; if (fputc ('a', f) != 'a') { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != EOF) { fclose (f); return 4; } if (fpurge (f) != 0) { fclose (f); return 5; } if (putc ('b', f) != 'b') { fclose (f); return 6; } if (fclose (f) != 0) return 7; if ((f = fopen ("conftest.txt", "r")) == NULL) return 8; if (fgetc (f) != 'a') { fclose (f); return 9; } if (fgetc (f) != 'b') { fclose (f); return 10; } if (fgetc (f) != EOF) { fclose (f); return 11; } if (fclose (f) != 0) return 12; if (remove ("conftest.txt") != 0) return 13; return 0; ]])], [gl_cv_func_fpurge_works=yes], [gl_cv_func_fpurge_works=no], [# Obey --enable-cross-guesses. gl_cv_func_fpurge_works="$gl_cross_guess_normal" ]) else gl_cv_func_fpurge_works=no fi ]) case "$gl_cv_func_fpurge_works" in *yes) ;; *) REPLACE_FPURGE=1 ;; esac else HAVE_FPURGE=0 fi if test "x$ac_cv_have_decl_fpurge" = xno; then HAVE_DECL_FPURGE=0 fi ]) datamash-1.9/m4/freading.m40000644000000000000000000000100114767401140011131 # freading.m4 # serial 3 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FREADING], [ AC_CHECK_HEADERS_ONCE([stdio_ext.h]) gl_CHECK_FUNCS_ANDROID([__freading], [[#include #include ]]) ]) datamash-1.9/m4/free.m40000644000000000000000000000401014767401140010276 # free.m4 # serial 6 dnl Copyright (C) 2003-2005, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Written by Paul Eggert and Bruno Haible. AC_DEFUN([gl_FUNC_FREE], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) dnl In the next release of POSIX, free must preserve errno. dnl https://www.austingroupbugs.net/view.php?id=385 dnl https://sourceware.org/bugzilla/show_bug.cgi?id=17924 dnl So far, we know of three platforms that do this: dnl * glibc >= 2.33, thanks to the fix for this bug: dnl dnl * OpenBSD >= 4.5, thanks to this commit: dnl dnl * Solaris, because its malloc() implementation is based on brk(), dnl not mmap(); hence its free() implementation makes no system calls. dnl For other platforms, you can only be sure if they state it in their dnl documentation, or by code inspection of the free() implementation in libc. AC_CACHE_CHECK([whether free is known to preserve errno], [gl_cv_func_free_preserves_errno], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[#if 2 < __GLIBC__ + (33 <= __GLIBC_MINOR__) #elif defined __OpenBSD__ #elif defined __sun #else #error "'free' is not known to preserve errno" #endif ]])], [gl_cv_func_free_preserves_errno=yes], [gl_cv_func_free_preserves_errno=no]) ]) case $gl_cv_func_free_preserves_errno in *yes) AC_DEFINE([HAVE_FREE_POSIX], [1], [Define if the 'free' function is guaranteed to preserve errno.]) ;; *) REPLACE_FREE=1 ;; esac ]) # Prerequisites of lib/free.c. AC_DEFUN([gl_PREREQ_FREE], [:]) datamash-1.9/m4/frexp.m40000644000000000000000000001237614767401140010517 # frexp.m4 # serial 20 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FREXP], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM]) FREXP_LIBM= if test $gl_cv_func_frexp_no_libm = no; then AC_CACHE_CHECK([whether frexp() can be used with libm], [gl_cv_func_frexp_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include double x;]], [[int e; return frexp (x, &e) > 0;]])], [gl_cv_func_frexp_in_libm=yes], [gl_cv_func_frexp_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_frexp_in_libm = yes; then FREXP_LIBM=-lm fi fi if test $gl_cv_func_frexp_no_libm = yes \ || test $gl_cv_func_frexp_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $FREXP_LIBM" gl_FUNC_FREXP_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_frexp_works" in *yes) gl_func_frexp=yes ;; *) gl_func_frexp=no; REPLACE_FREXP=1; FREXP_LIBM= ;; esac else gl_func_frexp=no fi if test $gl_func_frexp = yes; then AC_DEFINE([HAVE_FREXP], [1], [Define if the frexp() function is available and works.]) fi AC_SUBST([FREXP_LIBM]) ]) AC_DEFUN([gl_FUNC_FREXP_NO_LIBM], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM]) if test $gl_cv_func_frexp_no_libm = yes; then gl_FUNC_FREXP_WORKS case "$gl_cv_func_frexp_works" in *yes) gl_func_frexp_no_libm=yes ;; *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;; esac else gl_func_frexp_no_libm=no dnl Set REPLACE_FREXP here because the system may have frexp in libm. REPLACE_FREXP=1 fi if test $gl_func_frexp_no_libm = yes; then AC_DEFINE([HAVE_FREXP_IN_LIBC], [1], [Define if the frexp() function is available in libc.]) fi ]) dnl Test whether frexp() can be used without linking with libm. dnl Set gl_cv_func_frexp_no_libm to 'yes' or 'no' accordingly. AC_DEFUN([gl_CHECK_FREXP_NO_LIBM], [ AC_CACHE_CHECK([whether frexp() can be used without linking with libm], [gl_cv_func_frexp_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include double x;]], [[int e; return frexp (x, &e) > 0;]])], [gl_cv_func_frexp_no_libm=yes], [gl_cv_func_frexp_no_libm=no]) ]) ]) dnl Test whether frexp() works also on denormalized numbers (this fails e.g. on dnl NetBSD 3.0), on infinite numbers (this fails e.g. on IRIX 6.5 and mingw), dnl and on negative zero (this fails e.g. on NetBSD 4.99 and mingw). AC_DEFUN([gl_FUNC_FREXP_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_DECLS_ONCE([alarm]) AC_CACHE_CHECK([whether frexp works], [gl_cv_func_frexp_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #if HAVE_DECL_ALARM # include # include #endif /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */ #if defined __hpux || defined __sgi || defined __ICC static double compute_minus_zero (void) { return -DBL_MIN * DBL_MIN; } # define minus_zero compute_minus_zero () #else double minus_zero = -0.0; #endif int main() { int result = 0; int i; volatile double x; double zero = 0.0; #if HAVE_DECL_ALARM /* NeXTstep 3.3 frexp() runs into an endless loop when called on an infinite number. Let the test fail in this case. */ signal (SIGALRM, SIG_DFL); alarm (5); #endif /* Test on denormalized numbers. */ for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5) ; if (x > 0.0) { int exp; double y = frexp (x, &exp); /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. On NetBSD: y = 0.75. Correct: y = 0.5. */ if (y != 0.5) result |= 1; } /* Test on infinite numbers. */ x = 1.0 / zero; { int exp; double y = frexp (x, &exp); if (y != x) result |= 2; } /* Test on negative zero. */ x = minus_zero; { int exp; double y = frexp (x, &exp); double x1 = x; if (memcmp (&y, &x1, sizeof x1)) result |= 4; } return result; }]])], [gl_cv_func_frexp_works=yes], [gl_cv_func_frexp_works=no], [case "$host_os" in netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;; # Guess yes with MSVC, no with mingw. windows*-msvc*) gl_cv_func_frexp_works="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Good], [ #ifdef _MSC_VER Good #endif ], [gl_cv_func_frexp_works="guessing yes"], [gl_cv_func_frexp_works="guessing no"]) ;; *) gl_cv_func_frexp_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/frexpl.m40000644000000000000000000001604414767401140010667 # frexpl.m4 # serial 24 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FREXPL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare frexpl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Check whether it's declared. dnl Mac OS X 10.3 has frexpl() in libc but doesn't declare it in . AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [[#include ]]) FREXPL_LIBM= if test $HAVE_DECL_FREXPL = 1; then gl_CHECK_FREXPL_NO_LIBM if test $gl_cv_func_frexpl_no_libm = no; then AC_CACHE_CHECK([whether frexpl() can be used with libm], [gl_cv_func_frexpl_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include long double x;]], [[int e; return frexpl (x, &e) > 0;]])], [gl_cv_func_frexpl_in_libm=yes], [gl_cv_func_frexpl_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_frexpl_in_libm = yes; then FREXPL_LIBM=-lm fi fi if test $gl_cv_func_frexpl_no_libm = yes \ || test $gl_cv_func_frexpl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $FREXPL_LIBM" gl_FUNC_FREXPL_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_frexpl_works" in *yes) gl_func_frexpl=yes ;; *) gl_func_frexpl=no; REPLACE_FREXPL=1 ;; esac else gl_func_frexpl=no fi if test $gl_func_frexpl = yes; then AC_DEFINE([HAVE_FREXPL], [1], [Define if the frexpl() function is available.]) fi fi if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then dnl Find libraries needed to link lib/frexpl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_FREXP]) FREXPL_LIBM="$FREXP_LIBM" else FREXPL_LIBM= fi fi AC_SUBST([FREXPL_LIBM]) ]) AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Check whether it's declared. dnl Mac OS X 10.3 has frexpl() in libc but doesn't declare it in . AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [[#include ]]) if test $HAVE_DECL_FREXPL = 1; then gl_CHECK_FREXPL_NO_LIBM if test $gl_cv_func_frexpl_no_libm = yes; then gl_FUNC_FREXPL_WORKS case "$gl_cv_func_frexpl_works" in *yes) gl_func_frexpl_no_libm=yes ;; *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;; esac else gl_func_frexpl_no_libm=no dnl Set REPLACE_FREXPL here because the system may have frexpl in libm. REPLACE_FREXPL=1 fi if test $gl_func_frexpl_no_libm = yes; then AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1], [Define if the frexpl() function is available in libc.]) fi fi ]) dnl Test whether frexpl() can be used without linking with libm. dnl Set gl_cv_func_frexpl_no_libm to 'yes' or 'no' accordingly. AC_DEFUN([gl_CHECK_FREXPL_NO_LIBM], [ AC_CACHE_CHECK([whether frexpl() can be used without linking with libm], [gl_cv_func_frexpl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include long double x;]], [[int e; return frexpl (x, &e) > 0;]])], [gl_cv_func_frexpl_no_libm=yes], [gl_cv_func_frexpl_no_libm=no]) ]) ]) dnl Test whether frexpl() works on finite numbers (this fails on dnl Mac OS X 10.4/PowerPC, on AIX 5.1, and on BeOS), on denormalized numbers dnl (this fails on Mac OS X 10.5/i386), and also on infinite numbers (this dnl fails e.g. on IRIX 6.5 and mingw). AC_DEFUN([gl_FUNC_FREXPL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* Override the values of , like done in float.in.h. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) #endif #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) #endif #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif #if defined __sgi && (LDBL_MANT_DIG >= 106) # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # endif #endif extern #ifdef __cplusplus "C" #endif long double frexpl (long double, int *); long double zero = 0.0L; int main() { int result = 0; volatile long double x; /* Test on finite numbers that fails on AIX 5.1. */ x = 16.0L; { int exp = -9999; frexpl (x, &exp); if (exp != 5) result |= 1; } /* Test on finite numbers that fails on Mac OS X 10.4, because its frexpl function returns an invalid (incorrectly normalized) value: it returns y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 } but the correct result is 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */ x = 1.01L; { int exp = -9999; long double y = frexpl (x, &exp); if (!(exp == 1 && y == 0.505L)) result |= 2; } /* Test on large finite numbers. This fails on BeOS at i = 16322, while LDBL_MAX_EXP = 16384. In the loop end test, we test x against Infinity, rather than comparing i with LDBL_MAX_EXP, because BeOS has a wrong LDBL_MAX_EXP. */ { int i; for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L) { int exp = -9999; frexpl (x, &exp); if (exp != i) { result |= 4; break; } } } /* Test on denormalized numbers. */ { int i; for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L) ; if (x > 0.0L) { int exp; long double y = frexpl (x, &exp); /* On machines with IEEE854 arithmetic: x = 1.68105e-4932, exp = -16382, y = 0.5. On Mac OS X 10.5: exp = -16384, y = 0.5. */ if (exp != LDBL_MIN_EXP - 1) result |= 8; } } /* Test on infinite numbers. */ /* The Microsoft MSVC 14 compiler chokes on the expression 1.0 / 0.0. */ x = 1.0L / zero; { int exp; long double y = frexpl (x, &exp); if (y != x) result |= 16; } return result; }]])], [gl_cv_func_frexpl_works=yes], [gl_cv_func_frexpl_works=no], [ changequote(,)dnl case "$host_os" in aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | windows* | pw*) gl_cv_func_frexpl_works="guessing no";; *) gl_cv_func_frexpl_works="guessing yes";; esac changequote([,])dnl ]) ]) ]) datamash-1.9/m4/fseek.m40000644000000000000000000000107514767401140010462 # fseek.m4 # serial 4 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FSEEK], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_FSEEKO]) dnl When fseeko needs fixes, fseek needs them too. if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then REPLACE_FSEEK=1 fi ]) datamash-1.9/m4/fseeko.m40000644000000000000000000000505214767401140010640 # fseeko.m4 # serial 21 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FSEEKO], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) AC_REQUIRE([gl_SYS_TYPES_H]) AC_REQUIRE([AC_PROG_CC]) dnl Persuade glibc to declare fseeko(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[fseeko (stdin, 0, 0);]])], [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no]) ]) AC_CHECK_DECLS_ONCE([fseeko]) if test $ac_cv_have_decl_fseeko = no; then HAVE_DECL_FSEEKO=0 fi if test $gl_cv_func_fseeko = no; then HAVE_FSEEKO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FSEEKO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FSEEKO=1 fi m4_ifdef([gl_FUNC_FFLUSH_STDIN], [ gl_FUNC_FFLUSH_STDIN case "$gl_cv_func_fflush_stdin" in *yes) ;; *) REPLACE_FSEEKO=1 ;; esac ]) fi ]) dnl Code shared by fseeko and ftello. Determine if large files are supported, dnl but stdin does not start as a large file by default. AC_DEFUN([gl_STDIN_LARGE_OFFSET], [ AC_CACHE_CHECK([whether stdin defaults to large file offsets], [gl_cv_var_stdin_large_offset], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[#if defined __SL64 && defined __SCLE /* cygwin */ /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and it is easier to do a version check than building a runtime test. */ # include # if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) choke me # endif #endif]])], [gl_cv_var_stdin_large_offset=yes], [gl_cv_var_stdin_large_offset=no])]) ]) # Prerequisites of lib/fseeko.c. AC_DEFUN([gl_PREREQ_FSEEKO], [ if test $gl_cv_func_fseeko != no; then AC_DEFINE([HAVE_FSEEKO], [1], [Define to 1 if the system has the fseeko function.]) fi dnl Native Windows has the function _fseeki64. mingw hides it in some dnl circumstances, but mingw64 makes it usable again. AC_CHECK_FUNCS([_fseeki64]) if test $ac_cv_func__fseeki64 = yes; then AC_CHECK_DECLS([_fseeki64]) fi ]) datamash-1.9/m4/fstat.m40000644000000000000000000000224714767401140010510 # fstat.m4 # serial 10 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FSTAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) case "$host_os" in darwin* | mingw* | windows* | solaris*) dnl macOS and Solaris stat can return a negative tv_nsec. dnl On MinGW, the original stat() returns st_atime, st_mtime, dnl st_ctime values that are affected by the time zone. REPLACE_FSTAT=1 ;; esac dnl Replace fstat() for supporting the gnulib-defined open() on directories. m4_ifdef([gl_FUNC_FCHDIR], [ gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then case "$gl_cv_func_open_directory_works" in *yes) ;; *) REPLACE_FSTAT=1 ;; esac fi ]) ]) # Prerequisites of lib/fstat.c and lib/stat-w32.c. AC_DEFUN([gl_PREREQ_FSTAT], [ AC_REQUIRE([gl_SYS_STAT_H]) AC_REQUIRE([gl_PREREQ_STAT_W32]) : ]) datamash-1.9/m4/ftell.m40000644000000000000000000000107514767401140010473 # ftell.m4 # serial 3 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FTELL], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_FTELLO]) dnl When ftello needs fixes, ftell needs them too. if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then REPLACE_FTELL=1 fi ]) datamash-1.9/m4/ftello.m40000644000000000000000000001212314767401140010646 # ftello.m4 # serial 17 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_FTELLO], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_STDIN_LARGE_OFFSET]) AC_REQUIRE([gl_SYS_TYPES_H]) dnl Persuade glibc to declare ftello(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([ftello]) if test $ac_cv_have_decl_ftello = no; then HAVE_DECL_FTELLO=0 fi AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[ftello (stdin);]])], [gl_cv_func_ftello=yes], [gl_cv_func_ftello=no]) ]) if test $gl_cv_func_ftello = no; then HAVE_FTELLO=0 else if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_FTELLO=1 fi if test $gl_cv_var_stdin_large_offset = no; then REPLACE_FTELLO=1 fi AC_REQUIRE([AC_CANONICAL_HOST]) if test $REPLACE_FTELLO = 0; then dnl On native Windows, in some circumstances, ftell(), ftello(), dnl fgetpos(), lseek(), _lseeki64() all succeed on devices of type dnl FILE_TYPE_PIPE. However, to match POSIX behaviour, we want dnl ftell(), ftello(), fgetpos(), lseek() to fail when the argument fd dnl designates a pipe. See also dnl https://github.com/python/cpython/issues/78961#issuecomment-1093800325 case "$host_os" in mingw* | windows*) REPLACE_FTELLO=1 ;; esac fi if test $REPLACE_FTELLO = 0; then dnl Detect bug on Solaris. dnl ftell and ftello produce incorrect results after putc that followed a dnl getc call that reached EOF on Solaris. This is because the _IOREAD dnl flag does not get cleared in this case, even though _IOWRT gets set, dnl and ftell and ftello look whether the _IOREAD flag is set. AC_CACHE_CHECK([whether ftello works], [gl_cv_func_ftello_works], [ dnl Initial guess, used when cross-compiling or when /dev/tty cannot dnl be opened. changequote(,)dnl case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ftello_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ftello_works="guessing yes" ;; # Guess yes otherwise. *) gl_cv_func_ftello_works="guessing yes" ;; esac changequote([,])dnl AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #define TESTFILE "conftest.tmp" int main (void) { FILE *fp; /* Create a file with some contents. */ fp = fopen (TESTFILE, "w"); if (fp == NULL) return 70; if (fwrite ("foogarsh", 1, 8, fp) < 8) { fclose (fp); return 71; } if (fclose (fp)) return 72; /* The file's contents is now "foogarsh". */ /* Try writing after reading to EOF. */ fp = fopen (TESTFILE, "r+"); if (fp == NULL) return 73; if (fseek (fp, -1, SEEK_END)) { fclose (fp); return 74; } if (!(getc (fp) == 'h')) { fclose (fp); return 1; } if (!(getc (fp) == EOF)) { fclose (fp); return 2; } if (!(ftell (fp) == 8)) { fclose (fp); return 3; } if (!(ftell (fp) == 8)) { fclose (fp); return 4; } if (!(putc ('!', fp) == '!')) { fclose (fp); return 5; } if (!(ftell (fp) == 9)) { fclose (fp); return 6; } if (!(fclose (fp) == 0)) return 7; fp = fopen (TESTFILE, "r"); if (fp == NULL) return 75; { char buf[10]; if (!(fread (buf, 1, 10, fp) == 9)) { fclose (fp); return 10; } if (!(memcmp (buf, "foogarsh!", 9) == 0)) { fclose (fp); return 11; } } if (!(fclose (fp) == 0)) return 12; /* The file's contents is now "foogarsh!". */ return 0; }]])], [gl_cv_func_ftello_works=yes], [gl_cv_func_ftello_works=no], [:]) ]) case "$gl_cv_func_ftello_works" in *yes) ;; *) REPLACE_FTELLO=1 AC_DEFINE([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [1], [Define to 1 if the system's ftello function has the Solaris bug.]) ;; esac fi if test $REPLACE_FTELLO = 0; then dnl Detect bug on macOS >= 10.15. gl_FUNC_UNGETC_WORKS if test $gl_ftello_broken_after_ungetc = yes; then REPLACE_FTELLO=1 AC_DEFINE([FTELLO_BROKEN_AFTER_UNGETC], [1], [Define to 1 if the system's ftello function has the macOS bug.]) fi fi fi ]) # Prerequisites of lib/ftello.c. AC_DEFUN([gl_PREREQ_FTELLO], [ if test $gl_cv_func_ftello != no; then AC_DEFINE([HAVE_FTELLO], [1], [Define to 1 if the system has the ftello function.]) fi dnl Native Windows has the function _ftelli64. mingw hides it, but mingw64 dnl makes it usable again. AC_CHECK_FUNCS([_ftelli64]) ]) datamash-1.9/m4/getdtablesize.m40000644000000000000000000000513514767401140012214 # getdtablesize.m4 # serial 8 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_GETDTABLESIZE], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([getdtablesize]) AC_CHECK_DECLS_ONCE([getdtablesize]) if test $ac_cv_func_getdtablesize = yes && test $ac_cv_have_decl_getdtablesize = yes; then AC_CACHE_CHECK([whether getdtablesize works], [gl_cv_func_getdtablesize_works], [dnl There are two concepts: the "maximum possible file descriptor value + 1" dnl and the "maximum number of open file descriptors in a process". dnl Per SUSv2 and POSIX, getdtablesize() should return the first one. dnl On most platforms, the first and the second concept are the same. dnl On OpenVMS, however, they are different and getdtablesize() returns dnl the second one; thus the test below fails. But we don't care dnl because there's no good way to write a replacement getdtablesize(). case "$host_os" in vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;; *) dnl Cygwin 1.7.25 automatically increases the RLIMIT_NOFILE soft dnl limit up to an unchangeable hard limit; all other platforms dnl correctly require setrlimit before getdtablesize() can report dnl a larger value. AC_RUN_IFELSE([ AC_LANG_PROGRAM( [[#include ] GL_MDA_DEFINES ], [[int size = getdtablesize(); if (dup2 (0, getdtablesize()) != -1) return 1; if (size != getdtablesize()) return 2; ]])], [gl_cv_func_getdtablesize_works=yes], [gl_cv_func_getdtablesize_works=no], [case "$host_os" in cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows gl_cv_func_getdtablesize_works="guessing no" ;; *) gl_cv_func_getdtablesize_works="guessing yes" ;; esac ]) ;; esac ]) case "$gl_cv_func_getdtablesize_works" in *yes | "no (limitation)") ;; *) REPLACE_GETDTABLESIZE=1 ;; esac else HAVE_GETDTABLESIZE=0 fi ]) # Prerequisites of lib/getdtablesize.c. AC_DEFUN([gl_PREREQ_GETDTABLESIZE], [:]) datamash-1.9/m4/getlocalename_l.m40000644000000000000000000000727714771573666012534 # getlocalename_l.m4 # serial 3 dnl Copyright (C) 2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_GETLOCALENAME_L_SIMPLE], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) dnl Persuade glibc to declare getlocalename_l(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_FUNC_GETLOCALENAME_L_UNSAFE]) ]) # Prerequisites of lib/getlocalename_l.c. AC_DEFUN([gl_PREREQ_GETLOCALENAME_L_SIMPLE], [ : ]) AC_DEFUN_ONCE([gl_FUNC_GETLOCALENAME_L_UNSAFE], [ AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) AC_CHECK_FUNCS_ONCE([getlocalename_l]) if test $ac_cv_func_getlocalename_l = yes; then dnl Check against the Cygwin 3.6.0 bug: It returns an invalid pointer when dnl the second argument is LC_GLOBAL_LOCALE. AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether getlocalename_l works], [gl_cv_func_getlocalename_l_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main () { const char *ret = getlocalename_l (LC_COLLATE, LC_GLOBAL_LOCALE); return strlen (ret) == 0; }]])], [gl_cv_func_getlocalename_l_works=yes], [gl_cv_func_getlocalename_l_works=no], [case "$host_os" in cygwin*) # Guess no on Cygwin. gl_cv_func_getlocalename_l_works="guessing no" ;; *) # Guess yes otherwise. gl_cv_func_getlocalename_l_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_getlocalename_l_works" in *yes) ;; *) REPLACE_GETLOCALENAME_L=1 ;; esac else HAVE_GETLOCALENAME_L=0 fi if test $HAVE_GETLOCALENAME_L = 0 || test $REPLACE_GETLOCALENAME_L = 1; then GETLOCALENAME_L_LIB="$SETLOCALE_NULL_LIB" else GETLOCALENAME_L_LIB= fi dnl GETLOCALENAME_L_LIB is expected to be '-pthread' or '-lpthread' on AIX dnl with gcc or xlc, and empty otherwise. AC_SUBST([GETLOCALENAME_L_LIB]) ]) # Prerequisites of lib/getlocalename_l-unsafe.c. AC_DEFUN([gl_PREREQ_GETLOCALENAME_L_UNSAFE], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([gl_LOCALE_T]) AC_REQUIRE([gt_INTL_THREAD_LOCALE_NAME]) AC_CHECK_HEADERS_ONCE([langinfo.h]) if test $HAVE_LOCALE_T = 1; then gl_CHECK_FUNCS_ANDROID([newlocale], [[#include ]]) gl_CHECK_FUNCS_ANDROID([duplocale], [[#include ]]) gl_CHECK_FUNCS_ANDROID([freelocale], [[#include ]]) gl_func_newlocale="$ac_cv_func_newlocale" gl_func_duplocale="$ac_cv_func_duplocale" gl_func_freelocale="$ac_cv_func_freelocale" else dnl In 2019, some versions of z/OS lack the locale_t type and have broken dnl newlocale, duplocale, freelocale functions. gl_cv_onwards_func_newlocale='future OS version' gl_cv_onwards_func_duplocale='future OS version' gl_cv_onwards_func_freelocale='future OS version' gl_func_newlocale=no gl_func_duplocale=no gl_func_freelocale=no fi if test $gl_func_newlocale != yes; then HAVE_NEWLOCALE=0 case "$gl_cv_onwards_func_newlocale" in future*) REPLACE_NEWLOCALE=1 ;; esac fi if test $gl_func_duplocale != yes; then HAVE_DUPLOCALE=0 case "$gl_cv_onwards_func_duplocale" in future*) REPLACE_DUPLOCALE=1 ;; esac fi if test $gl_func_freelocale != yes; then HAVE_FREELOCALE=0 case "$gl_cv_onwards_func_freelocale" in future*) REPLACE_FREELOCALE=1 ;; esac fi if test $gt_localename_enhances_locale_funcs = yes; then REPLACE_NEWLOCALE=1 REPLACE_DUPLOCALE=1 REPLACE_FREELOCALE=1 fi ]) datamash-1.9/m4/getopt.m40000644000000000000000000003134114767401140010666 # getopt.m4 # serial 50 dnl Copyright (C) 2002-2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Request a POSIX compliant getopt function. AC_DEFUN([gl_FUNC_GETOPT_POSIX], [ m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX]) AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([gl_GETOPT_CHECK_HEADERS]) dnl Other modules can request the gnulib implementation of the getopt dnl functions unconditionally, by defining gl_REPLACE_GETOPT_ALWAYS. dnl argp.m4 does this. m4_ifdef([gl_REPLACE_GETOPT_ALWAYS], [ REPLACE_GETOPT=1 ], [ REPLACE_GETOPT=0 if test -n "$gl_replace_getopt"; then REPLACE_GETOPT=1 fi ]) GL_GENERATE_GETOPT_H=false GL_GENERATE_GETOPT_CDEFS_H=false if test $REPLACE_GETOPT = 1; then dnl Arrange for getopt.h to be created. gl_GETOPT_SUBSTITUTE_HEADER fi ]) # Request a POSIX compliant getopt function with GNU extensions (such as # options with optional arguments) and the functions getopt_long, # getopt_long_only. AC_DEFUN([gl_FUNC_GETOPT_GNU], [ dnl Set the variable gl_getopt_required, so that all invocations of dnl gl_GETOPT_CHECK_HEADERS in the scope of the current configure file dnl will check for getopt with GNU extensions. dnl This means that if one gnulib-tool invocation requests getopt-posix dnl and another gnulib-tool invocation requests getopt-gnu, it is as if dnl both had requested getopt-gnu. m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU]) dnl No need to invoke gl_FUNC_GETOPT_POSIX here; this is automatically dnl done through the module dependency getopt-gnu -> getopt-posix. ]) # Determine whether to replace the entire getopt facility. AC_DEFUN([gl_GETOPT_CHECK_HEADERS], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON dnl Persuade Solaris to declare optarg, optind, opterr, optopt. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) gl_CHECK_NEXT_HEADERS([getopt.h]) if test $ac_cv_header_getopt_h = yes; then HAVE_GETOPT_H=1 else HAVE_GETOPT_H=0 fi AC_SUBST([HAVE_GETOPT_H]) gl_replace_getopt= dnl Test whether is available. if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes]) fi dnl Test whether the function getopt_long is available. if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes]) fi dnl POSIX 2008 does not specify leading '+' behavior, but see dnl https://austingroupbugs.net/view.php?id=191 for a recommendation on dnl the next version of POSIX. For now, we only guarantee leading '+' dnl behavior with getopt-gnu. if test -z "$gl_replace_getopt"; then AC_CACHE_CHECK([whether getopt is POSIX compatible], [gl_cv_func_getopt_posix], [ dnl Merging these three different test programs into a single one dnl would require a reset mechanism. On BSD systems, it can be done dnl through 'optreset'; on some others (glibc), it can be done by dnl setting 'optind' to 0; on others again (HP-UX, IRIX, OSF/1, dnl Solaris 9, musl libc), there is no such mechanism. if test $cross_compiling = no; then dnl Sanity check. Succeeds everywhere (except on MSVC, dnl which lacks and getopt() entirely). AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { static char program[] = "program"; static char a[] = "-a"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, a, foo, bar, NULL }; int c; c = getopt (4, argv, "ab"); if (!(c == 'a')) return 1; c = getopt (4, argv, "ab"); if (!(c == -1)) return 2; if (!(optind == 2)) return 3; return 0; } ]])], [gl_cv_func_getopt_posix=maybe], [gl_cv_func_getopt_posix=no]) if test $gl_cv_func_getopt_posix = maybe; then dnl Sanity check with '+'. Succeeds everywhere (except on MSVC, dnl which lacks and getopt() entirely). AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { static char program[] = "program"; static char donald[] = "donald"; static char p[] = "-p"; static char billy[] = "billy"; static char duck[] = "duck"; static char a[] = "-a"; static char bar[] = "bar"; char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; int c; c = getopt (7, argv, "+abp:q:"); if (!(c == -1)) return 4; if (!(strcmp (argv[0], "program") == 0)) return 5; if (!(strcmp (argv[1], "donald") == 0)) return 6; if (!(strcmp (argv[2], "-p") == 0)) return 7; if (!(strcmp (argv[3], "billy") == 0)) return 8; if (!(strcmp (argv[4], "duck") == 0)) return 9; if (!(strcmp (argv[5], "-a") == 0)) return 10; if (!(strcmp (argv[6], "bar") == 0)) return 11; if (!(optind == 1)) return 12; return 0; } ]])], [gl_cv_func_getopt_posix=maybe], [gl_cv_func_getopt_posix=no]) fi if test $gl_cv_func_getopt_posix = maybe; then dnl Detect Mac OS X 10.5, AIX 7.1, mingw bug. AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { static char program[] = "program"; static char ab[] = "-ab"; char *argv[3] = { program, ab, NULL }; if (getopt (2, argv, "ab:") != 'a') return 13; if (getopt (2, argv, "ab:") != '?') return 14; if (optopt != 'b') return 15; if (optind != 2) return 16; return 0; } ]])], [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no]) fi else case "$host_os" in darwin* | aix* | mingw* | windows*) gl_cv_func_getopt_posix="guessing no";; *) gl_cv_func_getopt_posix="guessing yes";; esac fi ]) case "$gl_cv_func_getopt_posix" in *no) gl_replace_getopt=yes ;; esac fi if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu], [# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the # optstring is necessary for programs like m4 that have POSIX-mandated # semantics for supporting options interspersed with files. # Also, since getopt_long is a GNU extension, we require optind=0. # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; # so take care to revert to the correct (non-)export state. dnl GNU Coding Standards currently allow awk but not env; besides, env dnl is ambiguous with environment values that contain newlines. gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" #include #include ]GL_NOCRASH[ ]], [[ int result = 0; nocrash_init(); /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10. */ { static char conftest[] = "conftest"; static char plus[] = "-+"; char *argv[3] = { conftest, plus, NULL }; opterr = 0; if (getopt (2, argv, "+a") != '?') result |= 1; } /* This code succeeds on glibc 2.8, mingw, and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ { static char program[] = "program"; static char p[] = "-p"; static char foo[] = "foo"; static char bar[] = "bar"; char *argv[] = { program, p, foo, bar, NULL }; optind = 1; if (getopt (4, argv, "p::") != 'p') result |= 2; else if (optarg != NULL) result |= 4; else if (getopt (4, argv, "p::") != -1) result |= 6; else if (optind != 2) result |= 8; } /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ { static char program[] = "program"; static char foo[] = "foo"; static char p[] = "-p"; char *argv[] = { program, foo, p, NULL }; optind = 0; if (getopt (3, argv, "-p") != 1) result |= 16; else if (getopt (3, argv, "-p") != 'p') result |= 16; } /* This code fails on glibc 2.11. */ { static char program[] = "program"; static char b[] = "-b"; static char a[] = "-a"; char *argv[] = { program, b, a, NULL }; optind = opterr = 0; if (getopt (3, argv, "+:a:b") != 'b') result |= 32; else if (getopt (3, argv, "+:a:b") != ':') result |= 32; } /* This code dumps core on glibc 2.14. */ { static char program[] = "program"; static char w[] = "-W"; static char dummy[] = "dummy"; char *argv[] = { program, w, dummy, NULL }; optind = opterr = 1; if (getopt (3, argv, "W;") != 'W') result |= 64; } return result; ]])], [gl_cv_func_getopt_gnu=yes], [gl_cv_func_getopt_gnu=no], [dnl Cross compiling. dnl Assume the worst, even on glibc platforms. dnl But obey --enable-cross-guesses. gl_cv_func_getopt_gnu="$gl_cross_guess_normal" ]) case $gl_had_POSIXLY_CORRECT in exported) ;; yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;; *) AS_UNSET([POSIXLY_CORRECT]) ;; esac ]) if test "$gl_cv_func_getopt_gnu" != yes; then gl_replace_getopt=yes else AC_CACHE_CHECK([for working GNU getopt_long function], [gl_cv_func_getopt_long_gnu], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include ]], [[static const struct option long_options[] = { { "xtremely-",no_argument, NULL, 1003 }, { "xtra", no_argument, NULL, 1001 }, { "xtreme", no_argument, NULL, 1002 }, { "xtremely", no_argument, NULL, 1003 }, { NULL, 0, NULL, 0 } }; /* This code fails on OpenBSD 5.0. */ { static char program[] = "program"; static char xtremel[] = "--xtremel"; char *argv[] = { program, xtremel, NULL }; int option_index; optind = 1; opterr = 0; if (getopt_long (2, argv, "", long_options, &option_index) != 1003) return 1; } return 0; ]])], [gl_cv_func_getopt_long_gnu=yes], [gl_cv_func_getopt_long_gnu=no], [dnl Cross compiling. Guess no on OpenBSD, yes otherwise. case "$host_os" in openbsd*) gl_cv_func_getopt_long_gnu="guessing no";; *) gl_cv_func_getopt_long_gnu="guessing yes";; esac ]) ]) case "$gl_cv_func_getopt_long_gnu" in *yes) ;; *) gl_replace_getopt=yes ;; esac fi fi ]) AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER], [ gl_CHECK_HEADER_SYS_CDEFS_H AC_DEFINE([__GETOPT_PREFIX], [[rpl_]], [Define to rpl_ if the getopt replacement functions and variables should be used.]) GL_GENERATE_GETOPT_H=true GL_GENERATE_GETOPT_CDEFS_H=true ]) datamash-1.9/m4/getprogname.m40000644000000000000000000000364614767401140011703 # getprogname.m4 # serial 8 dnl Copyright (C) 2016-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Check for getprogname or replacements for it AC_DEFUN([gl_FUNC_GETPROGNAME], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) gl_CHECK_FUNCS_ANDROID([getprogname], [[#include ]]) if test $ac_cv_func_getprogname = no; then HAVE_GETPROGNAME=0 case "$gl_cv_onwards_func_getprogname" in future*) REPLACE_GETPROGNAME=1 ;; esac fi AC_CHECK_DECLS([program_invocation_name], [], [HAVE_DECL_PROGRAM_INVOCATION_NAME=0], [[#include ]]) ]) AC_DEFUN([gl_PREREQ_GETPROGNAME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_FUNCS_ONCE([getexecname]) ac_found=0 AC_CHECK_DECLS([program_invocation_name], [ac_found=1], [], [#include ]) AC_CHECK_DECLS([program_invocation_short_name], [ac_found=1], [], [#include ]) AC_CHECK_DECLS([__argv], [ac_found=1], [], [#include ]) # Incur the cost of this test only if none of the above worked. if test $ac_found = 0; then # On OpenBSD 5.1, using the global __progname variable appears to be # the only way to implement getprogname. AC_CACHE_CHECK([whether __progname is defined in default libraries], [gl_cv_var___progname], [ gl_cv_var___progname= AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[extern char *__progname;]], [[return *__progname;]] )], [gl_cv_var___progname=yes] ) ] ) if test "$gl_cv_var___progname" = yes; then AC_DEFINE([HAVE_VAR___PROGNAME], 1, [Define if you have a global __progname variable]) fi fi ]) datamash-1.9/m4/getrandom.m40000644000000000000000000000507114767401140011345 # getrandom.m4 # serial 13 dnl Copyright 2020-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Paul Eggert. AC_DEFUN([gl_FUNC_GETRANDOM], [ AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CHECK_FUNCS_ANDROID([getrandom], [[/* Additional includes are needed before on uClibc and Mac OS X. */ #include #include #include ]]) if test "$ac_cv_func_getrandom" != yes; then HAVE_GETRANDOM=0 case "$gl_cv_onwards_func_getrandom" in future*) REPLACE_GETRANDOM=1 ;; esac else dnl On Solaris 11.4 the return type is 'int', not 'ssize_t'. AC_CACHE_CHECK([whether getrandom is compatible with its GNU+BSD signature], [gl_cv_func_getrandom_ok], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* Additional includes are needed before on uClibc and Mac OS X. */ #include #include #include ssize_t getrandom (void *, size_t, unsigned int); ]], [[]]) ], [gl_cv_func_getrandom_ok=yes], [gl_cv_func_getrandom_ok=no]) ]) if test $gl_cv_func_getrandom_ok = no; then REPLACE_GETRANDOM=1 fi fi case "$host_os" in mingw* | windows*) AC_CHECK_HEADERS([bcrypt.h], [], [], [[#include ]]) AC_CACHE_CHECK([whether the bcrypt library is guaranteed to be present], [gl_cv_lib_assume_bcrypt], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[#if !(_WIN32_WINNT >= _WIN32_WINNT_WIN7) cannot assume it #endif ]]) ], [gl_cv_lib_assume_bcrypt=yes], [gl_cv_lib_assume_bcrypt=no]) ]) if test $gl_cv_lib_assume_bcrypt = yes; then AC_DEFINE([HAVE_LIB_BCRYPT], [1], [Define to 1 if the bcrypt library is guaranteed to be present.]) GETRANDOM_LIB='-lbcrypt' else GETRANDOM_LIB='-ladvapi32' fi ;; *) GETRANDOM_LIB= ;; esac AC_SUBST([GETRANDOM_LIB]) dnl For backward compatibility. LIB_GETRANDOM="$GETRANDOM_LIB" AC_SUBST([LIB_GETRANDOM]) ]) datamash-1.9/m4/gettext.m40000644000000000000000000003561514352360407011060 # gettext.m4 serial 66 (gettext-0.18.2) dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value '$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ]])], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ]])], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ]])], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST([BUILD_INCLUDED_LIBINTL]) AC_SUBST([USE_INCLUDED_LIBINTL]) AC_SUBST([CATOBJEXT]) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST([DATADIRNAME]) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST([INSTOBJEXT]) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST([GENCAT]) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST([INTLOBJS]) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) AC_SUBST([POSUB]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) datamash-1.9/m4/gl-openssl.m40000644000000000000000000000650214767401140011450 # gl-openssl.m4 # serial 7 dnl Copyright (C) 2013-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_SET_CRYPTO_CHECK_DEFAULT], [ m4_define([gl_CRYPTO_CHECK_DEFAULT], [$1]) ]) gl_SET_CRYPTO_CHECK_DEFAULT([no]) AC_DEFUN([gl_CRYPTO_CHECK], [ dnl gnulib users set this before gl_INIT with gl_SET_CRYPTO_CHECK_DEFAULT() m4_divert_once([DEFAULTS], [with_openssl_default='gl_CRYPTO_CHECK_DEFAULT']) dnl Only clear once, so crypto routines can be checked for individually m4_divert_once([DEFAULTS], [LIB_CRYPTO=]) AC_ARG_WITH([openssl], [[ --with-openssl[=ARG] use libcrypto hash routines for the hash functions MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512. Valid ARGs are: 'yes', 'no', 'auto' => use if any version available, 'auto-gpl-compat' => use if GPL compatible version available, 'optional' => use if available and warn if not available; Default is ']gl_CRYPTO_CHECK_DEFAULT['.]m4_ifdef([gl_AF_ALG], [ Note also --with-linux-crypto, which will enable the use of Linux kernel crypto routines (if available), which has precedence for files.])], [], [with_openssl=$with_openssl_default]) AC_SUBST([LIB_CRYPTO]) if test "x$with_openssl" != xno; then if test "x$with_openssl" = xauto-gpl-compat; then dnl OpenSSL versions < 3 are under the OpenSSL license, which is not dnl GPL compatible. dnl See . AC_CACHE_CHECK([whether openssl is GPL compatible], [gl_cv_openssl_gpl_compat], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include #if OPENSSL_VERSION_MAJOR < 3 #error "openssl >= version 3 not found" #endif ]])], [gl_cv_openssl_gpl_compat=yes], [gl_cv_openssl_gpl_compat=no])]) fi if test "x$with_openssl" != xauto-gpl-compat || test "x$gl_cv_openssl_gpl_compat" = xyes; then AC_CHECK_LIB([crypto], [$1], [AC_CHECK_HEADERS( m4_if([$1], [MD5], [openssl/md5.h], [openssl/sha.h]), [LIB_CRYPTO=-lcrypto AC_DEFINE([HAVE_OPENSSL_$1], [1], [Define to 1 if libcrypto is used for $1.])])]) fi if test "x$LIB_CRYPTO" = x; then message='openssl development library not found for $1. If you want to install it, first find the pre-built package name: - On Debian and Debian-based systems: libssl-dev, - On Red Hat distributions: openssl-devel. - Other: https://repology.org/project/openssl/versions' if test "x$with_openssl" = xyes; then AC_MSG_ERROR([$message]) elif test "x$with_openssl" = xoptional; then AC_MSG_WARN([$message]) fi fi fi ]) datamash-1.9/m4/gnulib-cache.m40000644000000000000000000001023014767401140011677 # Copyright (C) 2002-2025 Free Software Foundation, Inc. # # This file 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 file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # # This file represents the specification of how gnulib-tool is used. # It acts as a cache: It is written and read by gnulib-tool. # In projects that use version control, this file is meant to be put under # version control, like the configure.ac and various Makefile.am files. # Specification in the form of a command-line invocation: # gnulib-tool --import \ # --local-dir=gl \ # --lib=libdatamash \ # --source-base=lib \ # --m4-base=m4 \ # --doc-base=doc \ # --tests-base=tests \ # --aux-dir=build-aux \ # --makefile-name=gnulib.mk \ # --automake-subdir \ # --no-conditional-dependencies \ # --no-libtool \ # --macro-prefix=gl \ # announce-gen \ # assert \ # base64 \ # c-ctype \ # calloc-gnu \ # ceill \ # closeout \ # configmake \ # crypto/md5 \ # crypto/sha1 \ # crypto/sha256 \ # crypto/sha512 \ # dirname \ # do-release-commit-and-tag \ # dup2 \ # errno \ # error \ # expl \ # extensions \ # fabsl \ # floorl \ # fpucw \ # gendocs \ # getopt-gnu \ # getrandom \ # gettext-h \ # git-version-gen \ # gitlog-to-changelog \ # gnu-web-doc-update \ # gnupload \ # hard-locale \ # hash \ # hash-pjw \ # hash-pjw-bare \ # ignore-value \ # inet_pton \ # inline \ # intprops \ # inttostr \ # inttypes \ # isblank \ # isnanl \ # linebuffer \ # locale \ # localeconv \ # logl \ # maintainer-makefile \ # minmax \ # modfl \ # netinet_in \ # pclose \ # pmccabe2html \ # popen \ # progname \ # propername \ # random \ # readme-release \ # realloc-gnu \ # roundl \ # setlocale \ # sh-quote \ # signbit \ # size_max \ # snprintf \ # sqrtl \ # std-gnu11 \ # stdbool \ # stdint \ # stdnoreturn \ # stpcpy \ # strcase \ # strdup-posix \ # strsep \ # strtold \ # strtoll \ # sys_random \ # sys_socket \ # unlocked-io \ # update-copyright \ # version-etc \ # waitpid \ # warnings \ # xalloc \ # xstrtol \ # xstrtol-error \ # xstrtoumax # Specification in the form of a few gnulib-tool.m4 macro invocations: gl_LOCAL_DIR([gl]) gl_MODULES([ announce-gen assert base64 c-ctype calloc-gnu ceill closeout configmake crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dirname do-release-commit-and-tag dup2 errno error expl extensions fabsl floorl fpucw gendocs getopt-gnu getrandom gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload hard-locale hash hash-pjw hash-pjw-bare ignore-value inet_pton inline intprops inttostr inttypes isblank isnanl linebuffer locale localeconv logl maintainer-makefile minmax modfl netinet_in pclose pmccabe2html popen progname propername random readme-release realloc-gnu roundl setlocale sh-quote signbit size_max snprintf sqrtl std-gnu11 stdbool stdint stdnoreturn stpcpy strcase strdup-posix strsep strtold strtoll sys_random sys_socket unlocked-io update-copyright version-etc waitpid warnings xalloc xstrtol xstrtol-error xstrtoumax ]) gl_AVOID([]) gl_SOURCE_BASE([lib]) gl_M4_BASE([m4]) gl_PO_BASE([]) gl_DOC_BASE([doc]) gl_TESTS_BASE([tests]) gl_LIB([libdatamash]) gl_MAKEFILE_NAME([gnulib.mk]) gl_AUTOMAKE_SUBDIR gl_MACRO_PREFIX([gl]) gl_PO_DOMAIN([]) gl_WITNESS_C_MACRO([]) datamash-1.9/m4/gnulib-common.m40000644000000000000000000020774414767402206012152 # gnulib-common.m4 # serial 107 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_PREREQ([2.62]) # gl_COMMON # is expanded unconditionally through gnulib-tool magic. AC_DEFUN([gl_COMMON], [ dnl Use AC_REQUIRE here, so that the code is expanded once only. AC_REQUIRE([gl_00GNULIB]) AC_REQUIRE([gl_COMMON_BODY]) AC_REQUIRE([gl_ZZGNULIB]) ]) AC_DEFUN([gl_COMMON_BODY], [ AH_VERBATIM([0witness], [/* Witness that has been included. */ #define _GL_CONFIG_H_INCLUDED 1 ]) AH_VERBATIM([_GL_GNUC_PREREQ], [/* True if the compiler says it groks GNU C version MAJOR.MINOR. Except that - clang groks GNU C 4.2, even on Windows, where it does not define __GNUC__. - The OpenMandriva-modified clang compiler pretends that it groks GNU C version 13.1, but it doesn't: It does not support __attribute__ ((__malloc__ (f, i))), nor does it support __attribute__ ((__warning__ (message))) on a function redeclaration. - Users can make clang lie as well, through the -fgnuc-version option. */ #if defined __GNUC__ && defined __GNUC_MINOR__ && !defined __clang__ # define _GL_GNUC_PREREQ(major, minor) \ ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) #elif defined __clang__ /* clang really only groks GNU C 4.2. */ # define _GL_GNUC_PREREQ(major, minor) \ ((major) < 4 + ((minor) <= 2)) #else # define _GL_GNUC_PREREQ(major, minor) 0 #endif ]) AH_VERBATIM([_Noreturn], [/* The _Noreturn keyword of C11. */ #ifndef _Noreturn # if (defined __cplusplus \ && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ || (defined _MSC_VER && 1900 <= _MSC_VER)) \ && 0) /* [[noreturn]] is not practically usable, because with it the syntax extern _Noreturn void func (...); would not be valid; such a declaration would only be valid with 'extern' and '_Noreturn' swapped, or without the 'extern' keyword. However, some AIX system header files and several gnulib header files use precisely this syntax with 'extern'. */ # define _Noreturn [[noreturn]] # elif (defined __clang__ && __clang_major__ < 16 \ && defined _GL_WORK_AROUND_LLVM_BUG_59792) /* Compile with -D_GL_WORK_AROUND_LLVM_BUG_59792 to work around that rare LLVM bug, though you may get many false-alarm warnings. */ # define _Noreturn # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || (!defined __STRICT_ANSI__ \ && (_GL_GNUC_PREREQ (4, 7) \ || (defined __apple_build_version__ \ ? 6000000 <= __apple_build_version__ \ : 3 < __clang_major__ + (5 <= __clang_minor__)))))) /* _Noreturn works as-is. */ # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C # define _Noreturn __attribute__ ((__noreturn__)) # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) # define _Noreturn __declspec (noreturn) # else # define _Noreturn # endif #endif ]) AH_VERBATIM([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. __APPLE__ && __MACH__ test for Mac OS X. __APPLE_CC__ tests for the Apple compiler and its version. __STDC_VERSION__ tests for the C99 mode. */ #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ # define __GNUC_STDC_INLINE__ 1 #endif]) AH_VERBATIM([attribute], [/* Attributes. */ /* Define _GL_HAS_ATTRIBUTE only once, because on FreeBSD, with gcc < 5, if gets included once again after , __has_attribute(x) expands to 0 always, and redefining _GL_HAS_ATTRIBUTE would turn off all attributes. */ #ifndef _GL_HAS_ATTRIBUTE # if (defined __has_attribute \ && (!defined __clang_minor__ \ || (defined __apple_build_version__ \ ? 7000000 <= __apple_build_version__ \ : 5 <= __clang_major__))) # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) # else # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) # define _GL_ATTR_diagnose_if 0 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) # ifdef _ICC # define _GL_ATTR_may_alias 0 # else # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) # endif # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) # define _GL_ATTR_reproducible 0 /* not yet supported, as of GCC 14 */ # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) # define _GL_ATTR_unsequenced 0 /* not yet supported, as of GCC 14 */ # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) # endif #endif /* Use __has_c_attribute if available. However, do not use with pre-C23 GCC, which can issue false positives if -Wpedantic. */ #if (defined __has_c_attribute \ && ! (_GL_GNUC_PREREQ (4, 6) \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710)) # define _GL_HAVE___HAS_C_ATTRIBUTE 1 #else # define _GL_HAVE___HAS_C_ATTRIBUTE 0 #endif /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) syntax, in function declarations. There are two problems here. (Last tested with gcc/g++ 14 and clang/clang++ 18.) 1) We want that the _GL_ATTRIBUTE_* can be cumulated on the same declaration in any order. =========================== foo.c = foo.cc =========================== __attribute__ ((__deprecated__)) [[__nodiscard__]] int bar1 (int); [[__nodiscard__]] __attribute__ ((__deprecated__)) int bar2 (int); ====================================================================== This gives a syntax error - in C mode with gcc , and - in C++ mode with clang++ version < 16, and - in C++ mode, inside extern "C" {}, still in newer clang++ versions . */ /* Define if, in a function declaration, the attributes in bracket syntax [[...]] must come before the attributes in __attribute__((...)) syntax. If this is defined, it is best to avoid the bracket syntax, so that the various _GL_ATTRIBUTE_* can be cumulated on the same declaration in any order. */ #ifdef __cplusplus # if defined __clang__ # define _GL_BRACKET_BEFORE_ATTRIBUTE 1 # endif #else # if defined __GNUC__ && !defined __clang__ # define _GL_BRACKET_BEFORE_ATTRIBUTE 1 # endif #endif /* 2) We want that the _GL_ATTRIBUTE_* can be placed in a declaration - without 'extern', in C as well as in C++, - with 'extern', in C, - with 'extern "C"', in C++ in the same position. That is, we don't want to be forced to use a macro which arranges for the attribute to come before 'extern' in one case and after 'extern' in the other case, because such a macro would make the source code of .h files pretty ugly. =========================== foo.c = foo.cc =========================== #ifdef __cplusplus # define CC "C" #else # define CC #endif #define ND [[__nodiscard__]] #define WUR __attribute__((__warn_unused_result__)) #ifdef __cplusplus extern "C" { #endif // gcc clang g++ clang++ ND int foo (int); int ND foo (int); // warn error warn error int foo ND (int); int foo (int) ND; // warn error warn error WUR int foo (int); int WUR foo (int); int fo1 WUR (int); // error error error error int foo (int) WUR; #ifdef __cplusplus } #endif // gcc clang g++ clang++ ND extern CC int foo (int); // error error extern CC ND int foo (int); // error error extern CC int ND foo (int); // warn error warn error extern CC int foo ND (int); extern CC int foo (int) ND; // warn error warn error WUR extern CC int foo (int); // warn extern CC WUR int foo (int); extern CC int WUR foo (int); extern CC int foo WUR (int); // error error error error extern CC int foo (int) WUR; ND EXTERN_C_FUNC int foo (int); // error error EXTERN_C_FUNC ND int foo (int); EXTERN_C_FUNC int ND foo (int); // warn error warn error EXTERN_C_FUNC int foo ND (int); EXTERN_C_FUNC int foo (int) ND; // warn error warn error WUR EXTERN_C_FUNC int foo (int); // warn EXTERN_C_FUNC WUR int foo (int); EXTERN_C_FUNC int WUR foo (int); EXTERN_C_FUNC int fo2 WUR (int); // error error error error EXTERN_C_FUNC int foo (int) WUR; ====================================================================== So, if we insist on using the 'extern' keyword ('extern CC' idiom): * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in both C and C++, there is one available position: - between the function name and the parameter list. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in both C and C++, there are several available positions: - before the return type, - between return type and function name, - at the end of the declaration. * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to __attribute__((...)) syntax in C++, there is no available position: it would need to come before 'extern' in C but after 'extern "C"' in C++. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and to bracket syntax [[...]] in C++, there is one available position: - before the return type. Whereas, if we use the 'EXTERN_C_FUNC' idiom, which conditionally omits the 'extern' keyword: * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in both C and C++, there are two available positions: - before the return type, - between the function name and the parameter list. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in both C and C++, there are several available positions: - before the return type, - between return type and function name, - at the end of the declaration. * If _GL_ATTRIBUTE_* expands to bracket syntax [[...]] in C and to __attribute__((...)) syntax in C++, there is one available position: - before the return type. * If _GL_ATTRIBUTE_* expands to __attribute__((...)) syntax in C and to bracket syntax [[...]] in C++, there is one available position: - before the return type. The best choice is therefore to use the 'EXTERN_C_FUNC' idiom and put the attributes before the return type. This works regardless to what the _GL_ATTRIBUTE_* macros expand. */ /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) syntax, in static/inline function definitions. There are similar constraints as for function declarations. However, here, we cannot omit the storage-class specifier. Therefore, the following rule applies: * The macros _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_DEPRECATED _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_NODISCARD _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE _GL_ATTRIBUTE_UNSEQUENCED which may expand to bracket syntax [[...]], must come first, before the storage-class specifier. * Other _GL_ATTRIBUTE_* macros, that expand to __attribute__((...)) syntax, are better placed between the storage-class specifier and the return type. */ /* Attributes in bracket syntax [[...]] vs. attributes in __attribute__((...)) syntax, in variable declarations. At which position can they be placed? (Last tested with gcc/g++ 14 and clang/clang++ 18.) =========================== foo.c = foo.cc =========================== #ifdef __cplusplus # define CC "C" #else # define CC #endif #define BD [[__deprecated__]] #define AD __attribute__ ((__deprecated__)) // gcc clang g++ clang++ BD extern CC int var; // error error extern CC BD int var; // error error extern CC int BD var; // warn error warn error extern CC int var BD; AD extern CC int var; // warn extern CC AD int var; extern CC int AD var; extern CC int var AD; BD extern CC int z[]; // error error extern CC BD int z[]; // error error extern CC int BD z[]; // warn error warn error extern CC int z1 BD []; extern CC int z[] BD; // warn error error AD extern CC int z[]; // warn extern CC AD int z[]; extern CC int AD z[]; extern CC int z2 AD []; // error error error error extern CC int z[] AD; ====================================================================== * For non-array variables, the only good position is after the variable name, that is, at the end of the declaration. * For array variables, you will need to distinguish C and C++: - In C, before the 'extern' keyword. - In C++, between the 'extern "C"' and the variable's type. */ ]dnl There is no _GL_ATTRIBUTE_ALIGNED; use stdalign's alignas instead. [ /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function is the size of the returned memory block. _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied by the Nth argument of the function is the size of the returned memory block. */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_ALLOC_SIZE # if _GL_HAS_ATTRIBUTE (alloc_size) # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) # else # define _GL_ATTRIBUTE_ALLOC_SIZE(args) # endif #endif /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the function and report an error if it cannot do so. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_ALWAYS_INLINE # if _GL_HAS_ATTRIBUTE (always_inline) # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) # else # define _GL_ATTRIBUTE_ALWAYS_INLINE # endif #endif /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show in stack traces when debugging. The compiler should omit the function from stack traces. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_ARTIFICIAL # if _GL_HAS_ATTRIBUTE (artificial) # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) # else # define _GL_ATTRIBUTE_ARTIFICIAL # endif #endif /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ /* Applies to: functions. */ /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at . Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ #ifndef _GL_ATTRIBUTE_COLD # if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ # ifndef __SUNPRO_C # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) # else # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) # endif # else # define _GL_ATTRIBUTE_COLD # endif #endif /* _GL_ATTRIBUTE_CONST declares: It is OK for a compiler to move calls to the function and to omit calls to the function if another call has the same arguments or the result is not used. This attribute is safe for a function that neither depends on nor affects state, and always returns exactly once - e.g., does not raise an exception, call longjmp, or loop forever. (This attribute is stricter than _GL_ATTRIBUTE_PURE because the function cannot observe state. It is stricter than _GL_ATTRIBUTE_UNSEQUENCED because the function must return exactly once and cannot depend on state addressed by its arguments.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_CONST # if _GL_HAS_ATTRIBUTE (const) # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) # else # define _GL_ATTRIBUTE_CONST _GL_ATTRIBUTE_UNSEQUENCED # endif #endif /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers that can be freed by passing them as the Ith argument to the function F. _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that can be freed via 'free'; it can be used only after declaring 'free'. */ /* Applies to: functions. Cannot be used on inline functions. */ #ifndef _GL_ATTRIBUTE_DEALLOC # if _GL_GNUC_PREREQ (11, 0) # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) # else # define _GL_ATTRIBUTE_DEALLOC(f, i) # endif #endif /* If gnulib's or has already defined this macro, continue to use this earlier definition, since may not have been included yet. */ #ifndef _GL_ATTRIBUTE_DEALLOC_FREE # if defined __cplusplus && defined __GNUC__ && !defined __clang__ /* Work around GCC bug */ # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC ((void (*) (void *)) free, 1) # else # define _GL_ATTRIBUTE_DEALLOC_FREE \ _GL_ATTRIBUTE_DEALLOC (free, 1) # endif #endif /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. The compiler may warn if the entity is used. */ /* Applies to: - function, variable, - struct, union, struct/union member, - enumeration, enumeration item, - typedef, in C++ also: namespace, class, template specialization. */ #ifndef _GL_ATTRIBUTE_DEPRECATED # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__deprecated__) # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] # endif # endif # endif # if !defined _GL_ATTRIBUTE_DEPRECATED && _GL_HAS_ATTRIBUTE (deprecated) # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) # endif # ifndef _GL_ATTRIBUTE_DEPRECATED # define _GL_ATTRIBUTE_DEPRECATED # endif #endif /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and the function call is not optimized away. _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and the function call is not optimized away. */ /* Applies to: functions. */ #if !(defined _GL_ATTRIBUTE_ERROR && defined _GL_ATTRIBUTE_WARNING) # if _GL_HAS_ATTRIBUTE (error) # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) # elif _GL_HAS_ATTRIBUTE (diagnose_if) # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) # else # define _GL_ATTRIBUTE_ERROR(msg) # define _GL_ATTRIBUTE_WARNING(msg) # endif #endif /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain visible to debuggers etc., even with '-fwhole-program'. */ /* Applies to: functions, variables. */ #ifndef _GL_ATTRIBUTE_EXTERNALLY_VISIBLE # if _GL_HAS_ATTRIBUTE (externally_visible) # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) # else # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE # endif #endif /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if the control flow falls through to the immediately following 'case' or 'default' label. The compiler should not warn in this case. */ /* Applies to: Empty statement (;), inside a 'switch' statement. */ /* Always expands to something. */ #ifndef _GL_ATTRIBUTE_FALLTHROUGH # if _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__fallthrough__) # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] # endif # endif # if !defined _GL_ATTRIBUTE_FALLTHROUGH && _GL_HAS_ATTRIBUTE (fallthrough) # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) # endif # ifndef _GL_ATTRIBUTE_FALLTHROUGH # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) # endif #endif /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) declares that the STRING-INDEXth function argument is a format string of style ARCHETYPE, which is one of: printf, gnu_printf scanf, gnu_scanf, strftime, gnu_strftime, strfmon, or the same thing prefixed and suffixed with '__'. If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK are suitable for the format string. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_FORMAT # if _GL_HAS_ATTRIBUTE (format) # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) # else # define _GL_ATTRIBUTE_FORMAT(spec) # endif #endif /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other compilation unit, it executes code from that unit only by return or by exception handling. This declaration lets the compiler optimize that unit more aggressively. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_LEAF # if _GL_HAS_ATTRIBUTE (leaf) # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) # else # define _GL_ATTRIBUTE_LEAF # endif #endif /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly allocated memory. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_MALLOC # if _GL_HAS_ATTRIBUTE (malloc) # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) # else # define _GL_ATTRIBUTE_MALLOC # endif #endif /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the same storage as pointers to other types. Thus this declaration disables strict aliasing optimization. */ /* Applies to: types. */ /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ #ifndef _GL_ATTRIBUTE_MAY_ALIAS # if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) # else # define _GL_ATTRIBUTE_MAY_ALIAS # endif #endif /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if the entity is not used. The compiler should not warn if the entity is not used. */ /* Applies to: - function, variable, - struct, union, struct/union member, - enumeration, enumeration item, - typedef, in C++ also: class. */ /* In C++ and C23, this is spelled [[__maybe_unused__]]. GCC's syntax is __attribute__ ((__unused__)). clang supports both syntaxes. Except that with clang ≥ 6, < 10, in C++ mode, __has_c_attribute (__maybe_unused__) yields true but the use of [[__maybe_unused__]] nevertheless produces a warning. */ #ifndef _GL_ATTRIBUTE_MAYBE_UNUSED # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if defined __clang__ && defined __cplusplus # if !defined __apple_build_version__ && __clang_major__ >= 10 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] # endif # elif _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__maybe_unused__) # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] # endif # endif # endif # ifndef _GL_ATTRIBUTE_MAYBE_UNUSED # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED # endif #endif /* Alternative spelling of this macro, for convenience and for compatibility with glibc/include/libc-symbols.h. */ #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED /* Earlier spellings of this macro. */ #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not discard the return value. The compiler may warn if the caller does not use the return value, unless the caller uses something like ignore_value. */ /* Applies to: function, enumeration, class. */ #ifndef _GL_ATTRIBUTE_NODISCARD # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if defined __clang__ && defined __cplusplus /* With clang up to 15.0.6 (at least), in C++ mode, [[__nodiscard__]] produces a warning. The 1000 below means a yet unknown threshold. When clang++ version X starts supporting [[__nodiscard__]] without warning about it, you can replace the 1000 with X. */ # if __clang_major__ >= 1000 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] # endif # elif _GL_HAVE___HAS_C_ATTRIBUTE # if __has_c_attribute (__nodiscard__) # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] # endif # endif # endif # if !defined _GL_ATTRIBUTE_NODISCARD && _GL_HAS_ATTRIBUTE (warn_unused_result) # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) # endif # ifndef _GL_ATTRIBUTE_NODISCARD # define _GL_ATTRIBUTE_NODISCARD # endif #endif /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the function. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_NOINLINE # if _GL_HAS_ATTRIBUTE (noinline) # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) # else # define _GL_ATTRIBUTE_NOINLINE # endif #endif /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... must not be NULL. _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be null. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_NONNULL # if _GL_HAS_ATTRIBUTE (nonnull) # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) # else # define _GL_ATTRIBUTE_NONNULL(args) # endif #endif /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is not meant to be NUL-terminated. */ /* Applies to: struct/union members and variables that are arrays of element type '[[un]signed] char'. */ #ifndef _GL_ATTRIBUTE_NONSTRING # if _GL_HAS_ATTRIBUTE (nonstring) # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) # else # define _GL_ATTRIBUTE_NONSTRING # endif #endif /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. */ /* Applies to: functions. */ /* After a function's parameter list, this attribute must come first, before other attributes. */ #ifndef _GL_ATTRIBUTE_NOTHROW # if defined __cplusplus # if _GL_GNUC_PREREQ (2, 8) || __clang_major__ >= 4 # if __cplusplus >= 201103L # define _GL_ATTRIBUTE_NOTHROW noexcept (true) # else # define _GL_ATTRIBUTE_NOTHROW throw () # endif # else # define _GL_ATTRIBUTE_NOTHROW # endif # else # if _GL_HAS_ATTRIBUTE (nothrow) # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) # else # define _GL_ATTRIBUTE_NOTHROW # endif # endif #endif /* _GL_ATTRIBUTE_PACKED declares: For struct members: The member has the smallest possible alignment. For struct, union, class: All members have the smallest possible alignment, minimizing the memory required. */ /* Applies to: struct members, struct, union, in C++ also: class. */ #ifndef _GL_ATTRIBUTE_PACKED /* Oracle Studio 12.6 miscompiles code with __attribute__ ((__packed__)) despite __has_attribute OK. */ # if _GL_HAS_ATTRIBUTE (packed) && !defined __SUNPRO_C # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) # else # define _GL_ATTRIBUTE_PACKED # endif #endif /* _GL_ATTRIBUTE_PURE declares: It is OK for a compiler to move calls to the function and to omit calls to the function if another call has the same arguments or the result is not used, and if observable state is the same. This attribute is safe for a function that does not affect observable state and always returns exactly once. (This attribute is looser than _GL_ATTRIBUTE_CONST because the function can depend on observable state. It is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly once and cannot affect state addressed by its arguments.) */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_PURE # if _GL_HAS_ATTRIBUTE (pure) # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) # else # define _GL_ATTRIBUTE_PURE _GL_ATTRIBUTE_REPRODUCIBLE # endif #endif /* _GL_ATTRIBUTE_REPRODUCIBLE declares: It is OK for a compiler to move calls to the function and to omit duplicate calls to the function with the same arguments, so long as the state addressed by its arguments is the same and is updated in time for the rest of the program. This attribute is safe for a function that is effectless and idempotent; see ISO C 23 § 6.7.12.7 for a definition of these terms. (This attribute is looser than _GL_ATTRIBUTE_UNSEQUENCED because the function need not be stateless and idempotent. It is looser than _GL_ATTRIBUTE_PURE because the function need not return exactly once and can affect state addressed by its arguments.) See also and . ATTENTION! Efforts are underway to change the meaning of this attribute. See . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_REPRODUCIBLE /* This may be revisited when gcc and clang support [[reproducible]] or possibly __attribute__ ((__reproducible__)). */ # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if _GL_HAS_ATTRIBUTE (reproducible) # define _GL_ATTRIBUTE_REPRODUCIBLE [[reproducible]] # endif # endif # ifndef _GL_ATTRIBUTE_REPRODUCIBLE # define _GL_ATTRIBUTE_REPRODUCIBLE # endif #endif /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is a non-NULL pointer. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_RETURNS_NONNULL # if _GL_HAS_ATTRIBUTE (returns_nonnull) # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) # else # define _GL_ATTRIBUTE_RETURNS_NONNULL # endif #endif /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a trailing NULL argument. _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ /* Applies to: functions. */ #ifndef _GL_ATTRIBUTE_SENTINEL # if _GL_HAS_ATTRIBUTE (sentinel) # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) # else # define _GL_ATTRIBUTE_SENTINEL(pos) # endif #endif /* _GL_ATTRIBUTE_UNSEQUENCED declares: It is OK for a compiler to move calls to the function and to omit duplicate calls to the function with the same arguments, so long as the state addressed by its arguments is the same. This attribute is safe for a function that is effectless, idempotent, stateless, and independent; see ISO C 23 § 6.7.12.7 for a definition of these terms. (This attribute is stricter than _GL_ATTRIBUTE_REPRODUCIBLE because the function must be stateless and independent. It is looser than _GL_ATTRIBUTE_CONST because the function need not return exactly once and can depend on state addressed by its arguments.) See also and . ATTENTION! Efforts are underway to change the meaning of this attribute. See . */ /* Applies to: functions, pointer to functions, function types. */ #ifndef _GL_ATTRIBUTE_UNSEQUENCED /* This may be revisited when gcc and clang support [[unsequenced]] or possibly __attribute__ ((__unsequenced__)). */ # ifndef _GL_BRACKET_BEFORE_ATTRIBUTE # if _GL_HAS_ATTRIBUTE (unsequenced) # define _GL_ATTRIBUTE_UNSEQUENCED [[unsequenced]] # endif # endif # ifndef _GL_ATTRIBUTE_UNSEQUENCED # define _GL_ATTRIBUTE_UNSEQUENCED # endif #endif /* A helper macro. Don't use it directly. */ #ifndef _GL_ATTRIBUTE_UNUSED # if _GL_HAS_ATTRIBUTE (unused) # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) # else # define _GL_ATTRIBUTE_UNUSED # endif #endif ]dnl There is no _GL_ATTRIBUTE_VISIBILITY; see m4/visibility.m4 instead. [ /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the immediately preceding label is not used. The compiler should not warn if the label is not used. */ /* Applies to: label (both in C and C++). */ /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' syntax. But clang does. */ #ifndef _GL_UNUSED_LABEL # if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED # else # define _GL_UNUSED_LABEL # endif #endif /* The following attributes enable detection of multithread-safety problems and resource leaks at compile-time, by clang ≥ 15, when the warning option -Wthread-safety is enabled. For usage, see . */ #ifndef _GL_ATTRIBUTE_CAPABILITY_TYPE # if __clang_major__ >= 15 # define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) \ __attribute__ ((__capability__ (concept))) # else # define _GL_ATTRIBUTE_CAPABILITY_TYPE(concept) # endif #endif #ifndef _GL_ATTRIBUTE_ACQUIRE_CAPABILITY # if __clang_major__ >= 15 # define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) \ __attribute__ ((__acquire_capability__ (resource))) # else # define _GL_ATTRIBUTE_ACQUIRE_CAPABILITY(resource) # endif #endif #ifndef _GL_ATTRIBUTE_RELEASE_CAPABILITY # if __clang_major__ >= 15 # define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) \ __attribute__ ((__release_capability__ (resource))) # else # define _GL_ATTRIBUTE_RELEASE_CAPABILITY(resource) # endif #endif ]) AH_VERBATIM([c_linkage], [/* In C++, there is the concept of "language linkage", that encompasses name mangling and function calling conventions. The following macros start and end a block of "C" linkage. */ #ifdef __cplusplus # define _GL_BEGIN_C_LINKAGE extern "C" { # define _GL_END_C_LINKAGE } #else # define _GL_BEGIN_C_LINKAGE # define _GL_END_C_LINKAGE #endif ]) AH_VERBATIM([async_safe], [/* The _GL_ASYNC_SAFE marker should be attached to functions that are signal handlers (for signals other than SIGABRT, SIGPIPE) or can be invoked from such signal handlers. Such functions have some restrictions: * All functions that it calls should be marked _GL_ASYNC_SAFE as well, or should be listed as async-signal-safe in POSIX section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in particular, are NOT async-signal-safe. * All memory locations (variables and struct fields) that these functions access must be marked 'volatile'. This holds for both read and write accesses. Otherwise the compiler might optimize away stores to and reads from such locations that occur in the program, depending on its data flow analysis. For example, when the program contains a loop that is intended to inspect a variable set from within a signal handler while (!signal_occurred) ; the compiler is allowed to transform this into an endless loop if the variable 'signal_occurred' is not declared 'volatile'. Additionally, recall that: * A signal handler should not modify errno (except if it is a handler for a fatal signal and ends by raising the same signal again, thus provoking the termination of the process). If it invokes a function that may clobber errno, it needs to save and restore the value of errno. */ #define _GL_ASYNC_SAFE ]) AH_VERBATIM([micro_optimizations], [/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where n1 and n2 are expressions without side effects, that evaluate to real numbers (excluding NaN). It returns 1 if n1 > n2 0 if n1 == n2 -1 if n1 < n2 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional jump with nearly all GCC versions up to GCC 10. This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many GCC versions up to GCC 9. The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 avoids conditional jumps in all GCC versions >= 3.4. */ #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) ]) dnl Hint which direction to take regarding cross-compilation guesses: dnl When a user installs a program on a platform they are not intimately dnl familiar with, --enable-cross-guesses=conservative is the appropriate dnl choice. It implements the "If we don't know, assume the worst" principle. dnl However, when an operating system developer (on a platform which is not dnl yet known to gnulib) builds packages for their platform, they want to dnl expose, not hide, possible platform bugs; in this case, dnl --enable-cross-guesses=risky is the appropriate choice. dnl Sets the variables dnl gl_cross_guess_normal (to be used when 'yes' is good and 'no' is bad), dnl gl_cross_guess_inverted (to be used when 'no' is good and 'yes' is bad). AC_ARG_ENABLE([cross-guesses], [AS_HELP_STRING([[--enable-cross-guesses={conservative|risky}]], [specify policy for cross-compilation guesses])], [if test "x$enableval" != xconservative && test "x$enableval" != xrisky; then AC_MSG_WARN([invalid argument supplied to --enable-cross-guesses]) enableval=conservative fi gl_cross_guesses="$enableval"], [gl_cross_guesses=conservative]) if test $gl_cross_guesses = risky; then gl_cross_guess_normal="guessing yes" gl_cross_guess_inverted="guessing no" else gl_cross_guess_normal="guessing no" gl_cross_guess_inverted="guessing yes" fi dnl Preparation for running test programs: dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not dnl to /dev/tty, so they can be redirected to log files. Such diagnostics dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. LIBC_FATAL_STDERR_=1 export LIBC_FATAL_STDERR_ ]) # gl_MODULE_INDICATOR_INIT_VARIABLE([variablename]) # gl_MODULE_INDICATOR_INIT_VARIABLE([variablename], [initialvalue]) # initializes the shell variable that indicates the presence of the given module # as a C preprocessor expression. AC_DEFUN([gl_MODULE_INDICATOR_INIT_VARIABLE], [ GL_MODULE_INDICATOR_PREFIX[]_[$1]=m4_if([$2], , [0], [$2]) AC_SUBST(GL_MODULE_INDICATOR_PREFIX[]_[$1]) ]) # gl_MODULE_INDICATOR_CONDITION # expands to a C preprocessor expression that evaluates to 1 or 0, depending # whether a gnulib module that has been requested shall be considered present # or not. m4_define([gl_MODULE_INDICATOR_CONDITION], [1]) # gl_MODULE_INDICATOR_SET_VARIABLE([modulename]) # sets the shell variable that indicates the presence of the given module to # a C preprocessor expression that will evaluate to 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [ gl_MODULE_INDICATOR_SET_VARIABLE_AUX( [GL_MODULE_INDICATOR_PREFIX[]_GNULIB_[]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION]) ]) # gl_MODULE_INDICATOR_SET_VARIABLE_AUX([variable]) # modifies the shell variable to include the gl_MODULE_INDICATOR_CONDITION. # The shell variable's value is a C preprocessor expression that evaluates # to 0 or 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX], [ m4_if(m4_defn([gl_MODULE_INDICATOR_CONDITION]), [1], [ dnl Simplify the expression VALUE || 1 to 1. $1=1 ], [gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([$1], [gl_MODULE_INDICATOR_CONDITION])]) ]) # gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([variable], [condition]) # modifies the shell variable to include the given condition. The shell # variable's value is a C preprocessor expression that evaluates to 0 or 1. AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR], [ dnl Simplify the expression 1 || CONDITION to 1. if test "$[]$1" != 1; then dnl Simplify the expression 0 || CONDITION to CONDITION. if test "$[]$1" = 0; then $1=$2 else $1="($[]$1 || $2)" fi fi ]) # gl_MODULE_INDICATOR([modulename]) # defines a C macro indicating the presence of the given module # in a location where it can be used. # | Value | Value | # | in lib/ | in tests/ | # --------------------------------------------+---------+-----------+ # Module present among main modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module present among tests-related modules: | 0 | 1 | # --------------------------------------------+---------+-----------+ # Module not present at all: | 0 | 0 | # --------------------------------------------+---------+-----------+ AC_DEFUN([gl_MODULE_INDICATOR], [ AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [gl_MODULE_INDICATOR_CONDITION], [Define to a C preprocessor expression that evaluates to 1 or 0, depending whether the gnulib module $1 shall be considered present.]) ]) # gl_MODULE_INDICATOR_FOR_TESTS([modulename]) # defines a C macro indicating the presence of the given module # in lib or tests. This is useful to determine whether the module # should be tested. # | Value | Value | # | in lib/ | in tests/ | # --------------------------------------------+---------+-----------+ # Module present among main modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module present among tests-related modules: | 1 | 1 | # --------------------------------------------+---------+-----------+ # Module not present at all: | 0 | 0 | # --------------------------------------------+---------+-----------+ AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [ AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], [Define to 1 when the gnulib module $1 should be tested.]) ]) # gl_ASSERT_NO_GNULIB_POSIXCHECK # asserts that there will never be a need to #define GNULIB_POSIXCHECK. # and thereby enables an optimization of configure and config.h. # Used by Emacs. AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], [ dnl Override gl_WARN_ON_USE_PREPARE. dnl But hide this definition from 'aclocal'. AC_DEFUN([gl_W][ARN_ON_USE_PREPARE], []) ]) # gl_ASSERT_NO_GNULIB_TESTS # asserts that there will be no gnulib tests in the scope of the configure.ac # and thereby enables an optimization of config.h. # Used by Emacs. AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], [ dnl Override gl_MODULE_INDICATOR_FOR_TESTS. AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], []) ]) # Test whether exists. # Set HAVE_FEATURES_H. AC_DEFUN([gl_FEATURES_H], [ AC_CHECK_HEADERS_ONCE([features.h]) if test $ac_cv_header_features_h = yes; then HAVE_FEATURES_H=1 else HAVE_FEATURES_H=0 fi AC_SUBST([HAVE_FEATURES_H]) ]) # gl_PROG_CC_C99 # Modifies the value of the shell variable CC in an attempt to make $CC # understand ISO C99 source code. AC_DEFUN([gl_PROG_CC_C99], [ dnl Just use AC_PROG_CC_C99. dnl When AC_PROG_CC_C99 and AC_PROG_CC_STDC are used together, the substituted dnl value of CC will contain the C99 enabling options twice. But this is only dnl a cosmetic problem. dnl With Autoconf >= 2.70, use AC_PROG_CC since it implies AC_PROG_CC_C99; dnl this avoids a "warning: The macro `AC_PROG_CC_C99' is obsolete." m4_version_prereq([2.70], [AC_REQUIRE([AC_PROG_CC])], [AC_REQUIRE([AC_PROG_CC_C99])]) ]) # gl_PROG_AR_RANLIB # Determines the values for AR, ARFLAGS, RANLIB that fit with the compiler. # The user can set the variables AR, ARFLAGS, RANLIB if he wants to override # the values. AC_DEFUN([gl_PROG_AR_RANLIB], [ dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler dnl as "cc", and GCC as "gcc". They have different object file formats and dnl library formats. In particular, the GNU binutils programs ar and ranlib dnl produce libraries that work only with gcc, not with cc. AC_REQUIRE([AC_PROG_CC]) dnl The '][' hides this use from 'aclocal'. AC_BEFORE([$0], [A][M_PROG_AR]) AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler], [ AC_EGREP_CPP([Amsterdam], [ #ifdef __ACK__ Amsterdam #endif ], [gl_cv_c_amsterdam_compiler=yes], [gl_cv_c_amsterdam_compiler=no]) ]) dnl Don't compete with AM_PROG_AR's decision about AR/ARFLAGS if we are not dnl building with __ACK__. if test $gl_cv_c_amsterdam_compiler = yes; then if test -z "$AR"; then AR='cc -c.a' fi if test -z "$ARFLAGS"; then ARFLAGS='-o' fi else dnl AM_PROG_AR was added in automake v1.11.2. AM_PROG_AR does not AC_SUBST dnl ARFLAGS variable (it is filed into Makefile.in directly by automake dnl script on-demand, if not specified by ./configure of course). dnl Don't AC_REQUIRE the AM_PROG_AR otherwise the code for __ACK__ above dnl will be ignored. Also, pay attention to call AM_PROG_AR in else block dnl because AM_PROG_AR is written so it could re-set AR variable even for dnl __ACK__. It may seem like its easier to avoid calling the macro here, dnl but we need to AC_SUBST both AR/ARFLAGS (thus those must have some good dnl default value and automake should usually know them). dnl dnl The '][' hides this use from 'aclocal'. m4_ifdef([A][M_PROG_AR], [A][M_PROG_AR], [:]) fi dnl In case the code above has not helped with setting AR/ARFLAGS, use dnl Automake-documented default values for AR and ARFLAGS, but prefer dnl ${host}-ar over ar (useful for cross-compiling). AC_CHECK_TOOL([AR], [ar], [ar]) if test -z "$ARFLAGS"; then ARFLAGS='cr' fi AC_SUBST([AR]) AC_SUBST([ARFLAGS]) if test -z "$RANLIB"; then if test $gl_cv_c_amsterdam_compiler = yes; then RANLIB=':' else dnl Use the ranlib program if it is available. AC_PROG_RANLIB fi fi AC_SUBST([RANLIB]) ]) # AC_C_RESTRICT # This definition is copied from post-2.70 Autoconf and overrides the # AC_C_RESTRICT macro from autoconf 2.60..2.70. m4_version_prereq([2.70.1], [], [ AC_DEFUN([AC_C_RESTRICT], [AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict], [ac_cv_c_restrict=no # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see: # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html # Put 'restrict' last, because C++ lacks it. for ac_kw in __restrict__ __restrict _Restrict restrict; do AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[typedef int *int_ptr; int foo (int_ptr $ac_kw ip) { return ip[0]; } int bar (int [$ac_kw]); /* Catch GCC bug 14050. */ int bar (int ip[$ac_kw]) { return ip[0]; } ]], [[int s[1]; int *$ac_kw t = s; t[0] = 0; return foo (t) + bar (t); ]])], [ac_cv_c_restrict=$ac_kw]) test "$ac_cv_c_restrict" != no && break done ]) AH_VERBATIM([restrict], [/* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported only directly. */ #undef restrict /* Work around a bug in older versions of Sun C++, which did not #define __restrict__ or support _Restrict or __restrict__ even though the corresponding Sun C compiler ended up with "#define restrict _Restrict" or "#define restrict __restrict__" in the previous line. This workaround can be removed once we assume Oracle Developer Studio 12.5 (2016) or later. */ #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ # define _Restrict # define __restrict__ #endif]) case $ac_cv_c_restrict in restrict) ;; no) AC_DEFINE([restrict], []) ;; *) AC_DEFINE_UNQUOTED([restrict], [$ac_cv_c_restrict]) ;; esac ])# AC_C_RESTRICT ]) # gl_BIGENDIAN # is like AC_C_BIGENDIAN, except that it can be AC_REQUIREd. # Note that AC_REQUIRE([AC_C_BIGENDIAN]) does not work reliably because some # macros invoke AC_C_BIGENDIAN with arguments. AC_DEFUN([gl_BIGENDIAN], [ AC_C_BIGENDIAN ]) # A temporary file descriptor. # Must be less than 10, because dash 0.5.8 does not support redirections # with multi-digit file descriptors. m4_define([GL_TMP_FD], 9) # gl_SILENT(command) # executes command, but without the normal configure output. # This is useful when you want to invoke AC_CACHE_CHECK (or AC_CHECK_FUNC etc.) # inside another AC_CACHE_CHECK. AC_DEFUN([gl_SILENT], [ exec GL_TMP_FD>&AS_MESSAGE_FD AS_MESSAGE_FD>/dev/null $1 exec AS_MESSAGE_FD>&GL_TMP_FD GL_TMP_FD>&- ]) # gl_CACHE_VAL_SILENT(cache-id, command-to-set-it) # is like AC_CACHE_VAL(cache-id, command-to-set-it), except that it does not # output a spurious "(cached)" mark in the midst of other configure output. # This macro should be used instead of AC_CACHE_VAL when it is not surrounded # by an AC_MSG_CHECKING/AC_MSG_RESULT pair. AC_DEFUN([gl_CACHE_VAL_SILENT], [ gl_SILENT([ AC_CACHE_VAL([$1], [$2]) ]) ]) # gl_CONDITIONAL(conditional, condition) # is like AM_CONDITIONAL(conditional, condition), except that it does not # produce an error # configure: error: conditional "..." was never defined. # Usually this means the macro was only invoked conditionally. # when only invoked conditionally. Instead, in that case, both the _TRUE # and the _FALSE case are disabled. AC_DEFUN([gl_CONDITIONAL], [ pushdef([AC_CONFIG_COMMANDS_PRE], [:])dnl AM_CONDITIONAL([$1], [$2]) popdef([AC_CONFIG_COMMANDS_PRE])dnl if test -z "${[$1]_TRUE}" && test -z "${[$1]_FALSE}"; then [$1]_TRUE='#' [$1]_FALSE='#' fi ]) # gl_CC_ALLOW_WARNINGS # sets and substitutes a variable GL_CFLAG_ALLOW_WARNINGS, to a $(CC) option # that reverts a preceding '-Werror' option, if available. # This is expected to be '-Wno-error' on gcc, clang (except clang/MSVC), xlclang # and empty otherwise. AC_DEFUN([gl_CC_ALLOW_WARNINGS], [ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([for C compiler option to allow warnings], [gl_cv_cc_wallow], [rm -f conftest* echo 'int dummy;' > conftest.c AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err]) >/dev/null AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Wno-error -c conftest.c 2>conftest2.err]) >/dev/null dnl Test the number of error output lines, because AIX xlc accepts the dnl option '-Wno-error', just to produce a warning dnl "Option -Wno-error was incorrectly specified. The option will be ignored." dnl afterwards. if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then gl_cv_cc_wallow='-Wno-error' else gl_cv_cc_wallow=none fi rm -f conftest* ]) case "$gl_cv_cc_wallow" in none) GL_CFLAG_ALLOW_WARNINGS='' ;; *) GL_CFLAG_ALLOW_WARNINGS="$gl_cv_cc_wallow" ;; esac AC_SUBST([GL_CFLAG_ALLOW_WARNINGS]) ]) # gl_CXX_ALLOW_WARNINGS # sets and substitutes a variable GL_CXXFLAG_ALLOW_WARNINGS, to a $(CC) option # that reverts a preceding '-Werror' option, if available. AC_DEFUN([gl_CXX_ALLOW_WARNINGS], [ dnl Requires AC_PROG_CXX or gl_PROG_ANSI_CXX. if test -n "$CXX" && test "$CXX" != no; then AC_CACHE_CHECK([for C++ compiler option to allow warnings], [gl_cv_cxx_wallow], [rm -f conftest* echo 'int dummy;' > conftest.cc AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err]) >/dev/null AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -Wno-error -c conftest.cc 2>conftest2.err]) >/dev/null dnl Test the number of error output lines, because AIX xlC accepts the dnl option '-Wno-error', just to produce a warning dnl "Option -Wno-error was incorrectly specified. The option will be ignored." dnl afterwards. if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then gl_cv_cxx_wallow='-Wno-error' else gl_cv_cxx_wallow=none fi rm -f conftest* ]) case "$gl_cv_cxx_wallow" in none) GL_CXXFLAG_ALLOW_WARNINGS='' ;; *) GL_CXXFLAG_ALLOW_WARNINGS="$gl_cv_cxx_wallow" ;; esac else GL_CXXFLAG_ALLOW_WARNINGS='' fi AC_SUBST([GL_CXXFLAG_ALLOW_WARNINGS]) ]) # gl_CC_GNULIB_WARNINGS # sets and substitutes a variable GL_CFLAG_GNULIB_WARNINGS, to a $(CC) option # set that enables or disables warnings as suitable for the Gnulib coding style. AC_DEFUN([gl_CC_GNULIB_WARNINGS], [ AC_REQUIRE([gl_CC_ALLOW_WARNINGS]) dnl Assume that the compiler supports -Wno-* options only if it also supports dnl -Wno-error. GL_CFLAG_GNULIB_WARNINGS='' if test -n "$GL_CFLAG_ALLOW_WARNINGS"; then dnl Enable these warning options: dnl dnl GCC clang dnl -Wno-cast-qual >= 3 >= 3.9 dnl -Wno-conversion >= 3 >= 3.9 dnl -Wno-float-conversion >= 4.9 >= 3.9 dnl -Wno-float-equal >= 3 >= 3.9 dnl -Wimplicit-fallthrough >= 7 >= 3.9 dnl -Wno-pedantic >= 4.8 >= 3.9 dnl -Wno-sign-compare >= 3 >= 3.9 dnl -Wno-sign-conversion >= 4.3 >= 3.9 dnl -Wno-tautological-out-of-range-compare - >= 3.9 dnl -Wno-type-limits >= 4.3 >= 3.9 dnl -Wno-undef >= 3 >= 3.9 dnl -Wno-unsuffixed-float-constants >= 4.5 dnl -Wno-unused-const-variable >= 4.4 >= 3.9 dnl -Wno-unused-function >= 3 >= 3.9 dnl -Wno-unused-parameter >= 3 >= 3.9 dnl cat > conftest.c <<\EOF #if (__GNUC__ >= 3 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 9) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-float-conversion #endif #if (__GNUC__ >= 7 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wimplicit-fallthrough #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 8) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-pedantic #endif #if 3 < __clang_major__ + (9 <= __clang_minor__) -Wno-tautological-constant-out-of-range-compare #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 3) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-sign-conversion -Wno-type-limits #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 4) > 4 && !defined __clang__) || (__clang_major__ + (__clang_minor__ >= 9) > 3) -Wno-unused-const-variable #endif #if (__GNUC__ + (__GNUC_MINOR__ >= 5) > 4 && !defined __clang__) -Wno-unsuffixed-float-constants #endif EOF gl_command="$CC $CFLAGS $CPPFLAGS -E conftest.c > conftest.out" if AC_TRY_EVAL([gl_command]); then gl_options=`grep -v '#' conftest.out` for word in $gl_options; do GL_CFLAG_GNULIB_WARNINGS="$GL_CFLAG_GNULIB_WARNINGS $word" done fi rm -f conftest.c conftest.out fi AC_SUBST([GL_CFLAG_GNULIB_WARNINGS]) ]) dnl gl_CONDITIONAL_HEADER([foo.h]) dnl takes a shell variable GL_GENERATE_FOO_H (with value true or false) as input dnl and produces dnl - an AC_SUBSTed variable FOO_H that is either a file name or empty, based dnl on whether GL_GENERATE_FOO_H is true or false, dnl - an Automake conditional GL_GENERATE_FOO_H that evaluates to the value of dnl the shell variable GL_GENERATE_FOO_H. AC_DEFUN([gl_CONDITIONAL_HEADER], [ m4_pushdef([gl_header_name], AS_TR_SH(m4_toupper($1))) m4_pushdef([gl_generate_var], [GL_GENERATE_]AS_TR_SH(m4_toupper($1))) m4_pushdef([gl_generate_cond], [GL_GENERATE_]AS_TR_SH(m4_toupper($1))) case "$gl_generate_var" in false) gl_header_name='' ;; true) dnl It is OK to use a .h file in lib/ from within tests/, but not vice dnl versa. if test -z "$gl_header_name"; then gl_header_name="${gl_source_base_prefix}$1" fi ;; *) echo "*** gl_generate_var is not set correctly" 1>&2; exit 1 ;; esac AC_SUBST(gl_header_name) gl_CONDITIONAL(gl_generate_cond, [$gl_generate_var]) m4_popdef([gl_generate_cond]) m4_popdef([gl_generate_var]) m4_popdef([gl_header_name]) ]) dnl Preparations for gl_CHECK_FUNCS_MACOS. AC_DEFUN([gl_PREPARE_CHECK_FUNCS_MACOS], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_COMPILER_CLANG]) AC_CACHE_CHECK([for compiler option needed when checking for future declarations], [gl_cv_compiler_check_future_option], [case "$host_os" in dnl This is only needed on macOS. darwin*) if test $gl_cv_compiler_clang = yes; then dnl Test whether the compiler supports the option dnl '-Werror=unguarded-availability-new'. saved_ac_compile="$ac_compile" ac_compile="$ac_compile -Werror=unguarded-availability-new" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],[[]])], [gl_cv_compiler_check_future_option='-Werror=unguarded-availability-new'], [gl_cv_compiler_check_future_option=none]) ac_compile="$saved_ac_compile" else gl_cv_compiler_check_future_option=none fi ;; *) gl_cv_compiler_check_future_option=none ;; esac ]) ]) dnl Pieces of the expansion of dnl gl_CHECK_FUNCS_ANDROID dnl gl_CHECK_FUNCS_MACOS dnl gl_CHECK_FUNCS_ANDROID_MACOS AC_DEFUN([gl_CHECK_FUNCS_DEFAULT_CASE], [ *) AC_CHECK_FUNC([$1]) [gl_cv_onwards_func_][$1]=$[ac_cv_func_][$1] ;; ]) AC_DEFUN([gl_CHECK_FUNCS_CASE_FOR_ANDROID], [ linux*-android*) AC_CHECK_DECL([$1], , , [$2]) if test $[ac_cv_have_decl_][$1] = yes; then AC_CHECK_FUNC([[$1]]) if test $[ac_cv_func_][$1] = yes; then [gl_cv_onwards_func_][$1]=yes else dnl The function is declared but does not exist. This should not dnl happen normally. But anyway, we know that a future version dnl of Android will have the function. [gl_cv_onwards_func_][$1]='future OS version' fi else [gl_cv_onwards_func_][$1]='future OS version' fi ;; ]) AC_DEFUN([gl_CHECK_FUNCS_CASE_FOR_MACOS], [ darwin*) if test "x$gl_cv_compiler_check_future_option" != "xnone"; then dnl Use a compile test, not a link test. saved_ac_compile="$ac_compile" ac_compile="$ac_compile $gl_cv_compiler_check_future_option" saved_ac_compile_for_check_decl="$ac_compile_for_check_decl" ac_compile_for_check_decl="$ac_compile_for_check_decl $gl_cv_compiler_check_future_option" unset [ac_cv_have_decl_][$1] AC_CHECK_DECL([$1], , , [$2]) ac_compile="$saved_ac_compile" ac_compile_for_check_decl="$saved_ac_compile_for_check_decl" [ac_cv_func_][$1]="$[ac_cv_have_decl_][$1]" if test $[ac_cv_func_][$1] = yes; then [gl_cv_onwards_func_][$1]=yes else unset [ac_cv_have_decl_][$1] AC_CHECK_DECL([$1], , , [$2]) if test $[ac_cv_have_decl_][$1] = yes; then [gl_cv_onwards_func_][$1]='future OS version' else [gl_cv_onwards_func_][$1]=no fi fi else AC_CHECK_FUNC([$1]) [gl_cv_onwards_func_][$1]=$[ac_cv_func_][$1] fi ;; ]) AC_DEFUN([gl_CHECK_FUNCS_SET_RESULTS], [ case "$[gl_cv_onwards_func_][$1]" in future*) [ac_cv_func_][$1]=no ;; *) [ac_cv_func_][$1]=$[gl_cv_onwards_func_][$1] ;; esac if test $[ac_cv_func_][$1] = yes; then AC_DEFINE([HAVE_]m4_translit([[$1]], [abcdefghijklmnopqrstuvwxyz], [ABCDEFGHIJKLMNOPQRSTUVWXYZ]), [1], [Define to 1 if you have the `$1' function.]) fi ]) dnl gl_CHECK_FUNCS_ANDROID([func], [[#include ]]) dnl is like AC_CHECK_FUNCS([func]), taking into account a portability problem dnl on Android. dnl dnl When code is compiled on Android, it is in the context of a certain dnl "Android API level", which indicates the minimum version of Android on dnl which the app can be installed. In other words, you don't compile for a dnl specific version of Android. You compile for all versions of Android, dnl onwards from the given API level. dnl Thus, the question "does the OS have the function func" has three possible dnl answers: dnl - yes, in all versions starting from the given API level, dnl - no, in no version, dnl - not in the given API level, but in a later version of Android. dnl dnl In detail, this works as follows: dnl If func was added to Android API level, say, 28, then the libc.so has the dnl symbol func always, whereas the header file declares func dnl conditionally: dnl #if __ANDROID_API__ >= 28 dnl ... func (...) __INTRODUCED_IN(28); dnl #endif dnl Thus, when compiling with "clang -target armv7a-unknown-linux-android28", dnl the function func is declared and exists in libc. dnl Whereas when compiling with "clang -target armv7a-unknown-linux-android27", dnl the function func is not declared but exists in libc. dnl dnl This macro sets two variables: dnl - gl_cv_onwards_func_ to yes / no / "future OS version" dnl - ac_cv_func_ to yes / no / no dnl The first variable allows to distinguish all three cases. dnl The second variable is set, so that an invocation dnl gl_CHECK_FUNCS_ANDROID([func], [[#include ]]) dnl can be used as a drop-in replacement for dnl AC_CHECK_FUNCS([func]). AC_DEFUN([gl_CHECK_FUNCS_ANDROID], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([for [$1]], [[gl_cv_onwards_func_][$1]], [gl_SILENT([ case "$host_os" in gl_CHECK_FUNCS_CASE_FOR_ANDROID([$1], [$2]) gl_CHECK_FUNCS_DEFAULT_CASE([$1]) esac ]) ]) gl_CHECK_FUNCS_SET_RESULTS([$1]) ]) dnl gl_CHECK_FUNCS_MACOS([func], [[#include ]]) dnl is like AC_CHECK_FUNCS([func]), taking into account a portability problem dnl on macOS. dnl dnl When code is compiled on macOS, it is in the context of a certain minimum dnl macOS version, that can be set through the option '-mmacosx-version-min='. dnl In other words, you don't compile for a specific version of macOS. You dnl compile for all versions of macOS, onwards from the given version. dnl Thus, the question "does the OS have the function func" has three possible dnl answers: dnl - yes, in all versions starting from the given version, dnl - no, in no version, dnl - not in the given version, but in a later version of macOS. dnl dnl In detail, this works as follows: dnl If func was added to, say, macOS version 13, then the libc has the dnl symbol func always, whereas the header file declares func dnl conditionally with a special availability attribute: dnl ... func (...) __attribute__((availability(macos,introduced=13.0))); dnl Thus, when compiling with "clang mmacosx-version-min=13", there is no dnl warning about the use of func, and the resulting binary dnl - runs fine on macOS 13, dnl - aborts with a dyld "Symbol not found" message on macOS 12. dnl Whereas, when compiling with "clang mmacosx-version-min=12", there is a dnl warning: 'func' is only available on macOS 13.0 or newer dnl [-Wunguarded-availability-new], dnl and the resulting binary dnl - runs fine on macOS 13, dnl - crashes with a SIGSEGV (signal 11) on macOS 12. dnl dnl This macro sets two variables: dnl - gl_cv_onwards_func_ to yes / no / "future OS version" dnl - ac_cv_func_ to yes / no / no dnl The first variable allows to distinguish all three cases. dnl The second variable is set, so that an invocation dnl gl_CHECK_FUNCS_MACOS([func], [[#include ]]) dnl can be used as a drop-in replacement for dnl AC_CHECK_FUNCS([func]). AC_DEFUN([gl_CHECK_FUNCS_MACOS], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PREPARE_CHECK_FUNCS_MACOS]) AC_CACHE_CHECK([for [$1]], [[gl_cv_onwards_func_][$1]], [gl_SILENT([ case "$host_os" in gl_CHECK_FUNCS_CASE_FOR_MACOS([$1], [$2]) gl_CHECK_FUNCS_DEFAULT_CASE([$1]) esac ]) ]) gl_CHECK_FUNCS_SET_RESULTS([$1]) ]) dnl gl_CHECK_FUNCS_ANDROID_MACOS([func], [[#include ]]) dnl is like AC_CHECK_FUNCS([func]), taking into account a portability problem dnl on Android and on macOS. dnl It is the combination of gl_CHECK_FUNCS_ANDROID and gl_CHECK_FUNCS_MACOS. AC_DEFUN([gl_CHECK_FUNCS_ANDROID_MACOS], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PREPARE_CHECK_FUNCS_MACOS]) AC_CACHE_CHECK([for [$1]], [[gl_cv_onwards_func_][$1]], [gl_SILENT([ case "$host_os" in gl_CHECK_FUNCS_CASE_FOR_ANDROID([$1], [$2]) gl_CHECK_FUNCS_CASE_FOR_MACOS([$1], [$2]) gl_CHECK_FUNCS_DEFAULT_CASE([$1]) esac ]) ]) gl_CHECK_FUNCS_SET_RESULTS([$1]) ]) dnl Expands to some code for use in .c programs that, on native Windows, defines dnl the Microsoft deprecated alias function names to the underscore-prefixed dnl actual function names. With this macro, these function names are available dnl without linking with '-loldnames' and without generating warnings. dnl Usage: Use it after all system header files are included. dnl #include <...> dnl #include <...> dnl ]GL_MDA_DEFINES[ dnl ... AC_DEFUN([GL_MDA_DEFINES],[ AC_REQUIRE([_GL_MDA_DEFINES]) [$gl_mda_defines] ]) AC_DEFUN([_GL_MDA_DEFINES], [gl_mda_defines=' #if defined _WIN32 && !defined __CYGWIN__ #define access _access #define chdir _chdir #define chmod _chmod #define close _close #define creat _creat #define dup _dup #define dup2 _dup2 #define ecvt _ecvt #define execl _execl #define execle _execle #define execlp _execlp #define execv _execv #define execve _execve #define execvp _execvp #define execvpe _execvpe #define fcloseall _fcloseall #define fcvt _fcvt #define fdopen _fdopen #define fileno _fileno #define gcvt _gcvt #define getcwd _getcwd #define getpid _getpid #define getw _getw #define isatty _isatty #define j0 _j0 #define j1 _j1 #define jn _jn #define lfind _lfind #define lsearch _lsearch #define lseek _lseek #define memccpy _memccpy #define mkdir _mkdir #define mktemp _mktemp #define open _open #define putenv _putenv #define putw _putw #define read _read #define rmdir _rmdir #define strdup _strdup #define swab _swab #define tempnam _tempnam #define tzset _tzset #define umask _umask #define unlink _unlink #define utime _utime #define wcsdup _wcsdup #define write _write #define y0 _y0 #define y1 _y1 #define yn _yn #endif ' ]) datamash-1.9/m4/gnulib-comp.m40000644000000000000000000020441314771573666011624 # DO NOT EDIT! GENERATED AUTOMATICALLY! # Copyright (C) 2002-2025 Free Software Foundation, Inc. # # This file 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 file 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 file. If not, see . # # As a special exception to the GNU General Public License, # this file may be distributed as part of a program that # contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # Generated by gnulib-tool. # # This file represents the compiled summary of the specification in # gnulib-cache.m4. It lists the computed macro invocations that need # to be invoked from configure.ac. # In projects that use version control, this file can be treated like # other built files. # This macro should be invoked from ./configure.ac, in the section # "Checks for programs", right after AC_PROG_CC, and certainly before # any checks for libraries, header files, types and library functions. AC_DEFUN([gl_EARLY], [ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace m4_pattern_allow([^gl_ES$])dnl a valid locale name m4_pattern_allow([^gl_LIBOBJS$])dnl a variable m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable # Pre-early section. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_PROG_AR_RANLIB]) # Code from module absolute-header: # Code from module alignasof: # Code from module alloca-opt: # Code from module announce-gen: # Code from module arpa_inet-h: # Code from module assert: # Code from module assert-h: # Code from module attribute: # Code from module base64: # Code from module basename-lgpl: # Code from module bitrotate: # Code from module bool: # Code from module byteswap: # Code from module c-ctype: # Code from module c-strcasecmp: # Code from module c-strcaseeq: # Code from module c32isalnum: # Code from module c32isalpha: # Code from module c32isblank: # Code from module c32iscntrl: # Code from module c32isdigit: # Code from module c32isgraph: # Code from module c32islower: # Code from module c32isprint: # Code from module c32ispunct: # Code from module c32isspace: # Code from module c32isupper: # Code from module c32isxdigit: # Code from module c32tolower: # Code from module c32width: # Code from module c99: # Code from module calloc-gnu: # Code from module calloc-posix: # Code from module ceil: # Code from module ceill: # Code from module cloexec: # Code from module close: # Code from module close-stream: # Code from module closeout: # Code from module configmake: # Code from module crypto/af_alg: # Code from module crypto/md5: # Code from module crypto/md5-buffer: # Code from module crypto/sha1: # Code from module crypto/sha1-buffer: # Code from module crypto/sha256: # Code from module crypto/sha256-buffer: # Code from module crypto/sha512: # Code from module crypto/sha512-buffer: # Code from module ctype-h: # Code from module dirname: # Code from module dirname-lgpl: # Code from module do-release-commit-and-tag: # Code from module double-slash-root: # Code from module dup2: # Code from module errno: # Code from module errno-h: # Code from module error: # Code from module error-h: # Code from module exitfail: # Code from module exp: # Code from module expl: # Code from module extensions: # This is actually already done in the pre-early phase. # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # Code from module extensions-aix: AC_REQUIRE([gl_USE_AIX_EXTENSIONS]) # Code from module extern-inline: # Code from module fabs: # Code from module fabsl: # Code from module fcntl: # Code from module fcntl-h: # Code from module fd-hook: # Code from module fflush: AC_REQUIRE([gl_SET_LARGEFILE_SOURCE]) # Code from module filename: # Code from module flexmember: # Code from module float-h: # Code from module floor: # Code from module floorl: # Code from module fpending: # Code from module fpieee: AC_REQUIRE([gl_FP_IEEE]) # Code from module fpucw: # Code from module fpurge: # Code from module freading: # Code from module free-posix: # Code from module frexp: # Code from module frexpl: # Code from module fseek: # Code from module fseeko: AC_REQUIRE([gl_SET_LARGEFILE_SOURCE]) # Code from module fstat: # Code from module ftell: # Code from module ftello: AC_REQUIRE([gl_SET_LARGEFILE_SOURCE]) # Code from module gen-header: # Code from module gendocs: # Code from module getdtablesize: # Code from module getlocalename_l-unsafe: # Code from module getlocalename_l-unsafe-limited: # Code from module getopt-gnu: # Code from module getopt-posix: # Code from module getprogname: # Code from module getrandom: # Code from module gettext-h: # Code from module git-version-gen: # Code from module gitlog-to-changelog: # Code from module gnu-web-doc-update: # Code from module gnulib-i18n: # Code from module gnumakefile: # Code from module gnupload: # Code from module gperf: # Code from module hard-locale: # Code from module hash: # Code from module hash-pjw: # Code from module hash-pjw-bare: # Code from module havelib: # Code from module ialloc: # Code from module iconv: # Code from module iconv-h: # Code from module iconv_open: # Code from module idx: # Code from module ignore-value: # Code from module include_next: # Code from module inet_pton: # Code from module inline: # Code from module intprops: # Code from module inttostr: # Code from module inttypes: # Code from module inttypes-h: # Code from module inttypes-h-incomplete: # Code from module isblank: # Code from module isfinite: # Code from module isinf: # Code from module isnand: # Code from module isnand-nolibm: # Code from module isnanf-nolibm: # Code from module isnanl: # Code from module isnanl-nolibm: # Code from module iswblank: # Code from module iswdigit: # Code from module iswpunct: # Code from module iswxdigit: # Code from module largefile: AC_REQUIRE([AC_SYS_LARGEFILE]) # Code from module ldexp: # Code from module ldexpl: # Code from module libc-config: # Code from module limits-h: # Code from module linebuffer: # Code from module localcharset: # Code from module locale: # Code from module locale-h: # Code from module localeconv: # Code from module localename: # Code from module localename-environ: # Code from module localename-unsafe: # Code from module localename-unsafe-limited: # Code from module lock: # Code from module log: # Code from module logl: # Code from module lseek: # Code from module maintainer-makefile: # Code from module malloc-gnu: # Code from module malloc-posix: # Code from module malloca: # Code from module math-h: # Code from module mbchar: # Code from module mbrtoc32: # Code from module mbrtowc: # Code from module mbsinit: # Code from module mbslen: # Code from module mbsstr: # Code from module mbszero: # Code from module mbuiter: # Code from module mbuiterf: # Code from module memchr: # Code from module mempcpy: # Code from module minmax: # Code from module modf: # Code from module modfl: # Code from module msvc-inval: # Code from module msvc-nothrow: # Code from module multiarch: # Code from module netinet_in: # Code from module netinet_in-h: # Code from module nocrash: # Code from module once: # Code from module open: # Code from module package-version: # Code from module pathmax: # Code from module pclose: # Code from module pmccabe2html: # Code from module popen: # Code from module progname: # Code from module propername: # Code from module pthread-h: gl_ANYTHREADLIB_EARLY # Code from module pthread-once: # Code from module quotearg: # Code from module quotearg-simple: # Code from module random: # Code from module random_r: # Code from module readme-release: # Code from module realloc-gnu: # Code from module realloc-posix: # Code from module reallocarray: # Code from module round: # Code from module roundl: # Code from module sched-h: # Code from module setlocale: # Code from module setlocale-fixes: # Code from module setlocale-null: # Code from module setlocale-null-unlocked: # Code from module sh-quote: # Code from module signbit: # Code from module size_max: # Code from module snippet/_Noreturn: # Code from module snippet/arg-nonnull: # Code from module snippet/c++defs: # Code from module snippet/warn-on-use: # Code from module snprintf: # Code from module socklen: # Code from module sqrt: # Code from module sqrtl: # Code from module ssize_t: # Code from module stat: # Code from module stat-time: # Code from module std-gnu11: # Code from module stdarg-h: dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode dnl for the builtin va_copy to work. gl_PROG_CC_C99 arranges for this. gl_PROG_CC_C99 # Code from module stdbool: # Code from module stdckdint-h: # Code from module stddef-h: # Code from module stdint: # Code from module stdint-h: # Code from module stdio-h: gl_STDIO_H_EARLY # Code from module stdlib-h: # Code from module stdnoreturn: # Code from module stdnoreturn-h: # Code from module stpcpy: # Code from module strcase: # Code from module strcasecmp: # Code from module strdup-posix: # Code from module streq: # Code from module strerror: # Code from module strerror-override: # Code from module striconv: # Code from module string-h: # Code from module strings-h: # Code from module strncasecmp: # Code from module strnlen: # Code from module strnlen1: # Code from module strsep: # Code from module strtod: # Code from module strtold: # Code from module strtoll: # Code from module strtoull: # Code from module strtoumax: # Code from module sys_random: # Code from module sys_random-h: # Code from module sys_socket: # Code from module sys_socket-h: # Code from module sys_stat-h: # Code from module sys_types-h: AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) # Code from module sys_uio-h: # Code from module sys_wait-h: # Code from module thread-optim: # Code from module threadlib: gl_THREADLIB_EARLY # Code from module time-h: # Code from module trim: # Code from module trunc: # Code from module truncl: # Code from module u64: # Code from module uchar-h: # Code from module unicase/base: # Code from module unicase/tolower: # Code from module unictype/base: # Code from module unictype/ctype-alnum: # Code from module unictype/ctype-alpha: # Code from module unictype/ctype-blank: # Code from module unictype/ctype-cntrl: # Code from module unictype/ctype-digit: # Code from module unictype/ctype-graph: # Code from module unictype/ctype-lower: # Code from module unictype/ctype-print: # Code from module unictype/ctype-punct: # Code from module unictype/ctype-space: # Code from module unictype/ctype-upper: # Code from module unictype/ctype-xdigit: # Code from module uninorm/base: # Code from module unistd-h: # Code from module unistr/base: # Code from module unistr/u8-mbtoucr: # Code from module unistr/u8-uctomb: # Code from module unitypes-h: # Code from module uniwidth/base: # Code from module uniwidth/width: # Code from module unlocked-io: # Code from module unlocked-io-internal: # Code from module update-copyright: # Code from module useless-if-before-free: # Code from module vararrays: # Code from module vasnprintf: # Code from module vc-list-files: # Code from module version-etc: # Code from module vsnzprintf: # Code from module waitpid: # Code from module warnings: # Code from module wchar-h: # Code from module wctype-h: # Code from module wcwidth: # Code from module windows-mutex: # Code from module windows-once: # Code from module windows-recmutex: # Code from module windows-rwlock: # Code from module xalloc: # Code from module xalloc-die: # Code from module xalloc-oversized: # Code from module xsize: # Code from module xstriconv: # Code from module xstrtol: # Code from module xstrtol-error: # Code from module xstrtoumax: ]) # This macro should be invoked from ./configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([gl_INIT], [ AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) gl_cond_libtool=false gl_libdeps= gl_ltlibdeps= gl_m4_base='m4' m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) m4_pushdef([gl_LIBSOURCES_LIST], []) m4_pushdef([gl_LIBSOURCES_DIR], []) m4_pushdef([GL_MACRO_PREFIX], [gl]) m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL]) gl_COMMON gl_source_base='lib' gl_source_base_prefix='$(top_build_prefix)lib/' gl_ALIGNASOF gl_FUNC_ALLOCA gl_CONDITIONAL_HEADER([alloca.h]) AC_PROG_MKDIR_P gl_ARPA_INET_H gl_ARPA_INET_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_ASSERT gl_ASSERT_H gl_CONDITIONAL_HEADER([assert.h]) AC_PROG_MKDIR_P gl_FUNC_BASE64 gl_C_BOOL gl_BYTESWAP gl_CONDITIONAL_HEADER([byteswap.h]) AC_PROG_MKDIR_P AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isalnum]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isalpha]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isblank]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32iscntrl]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isdigit]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isgraph]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32islower]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isprint]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32ispunct]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isspace]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isupper]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32isxdigit]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32tolower]) AC_REQUIRE([gl_UCHAR_H]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how mbrtoc32 is implemented. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) gl_UCHAR_MODULE_INDICATOR([c32width]) gl_FUNC_CALLOC_GNU if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then AC_LIBOBJ([calloc]) fi gl_STDLIB_MODULE_INDICATOR([calloc-gnu]) gl_FUNC_CALLOC_POSIX if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then AC_LIBOBJ([calloc]) fi gl_STDLIB_MODULE_INDICATOR([calloc-posix]) gl_FUNC_CEIL gl_CONDITIONAL([GL_COND_OBJ_CEIL], [test $REPLACE_CEIL = 1]) gl_MATH_MODULE_INDICATOR([ceil]) gl_FUNC_CEILL gl_CONDITIONAL([GL_COND_OBJ_CEILL], [test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1]) gl_MATH_MODULE_INDICATOR([ceill]) gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) gl_FUNC_CLOSE gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1]) gl_UNISTD_MODULE_INDICATOR([close]) gl_MODULE_INDICATOR([close]) gl_MODULE_INDICATOR([close-stream]) gl_CONFIGMAKE AC_PROG_MKDIR_P gl_AF_ALG AC_REQUIRE([AC_C_RESTRICT]) gl_MD5 AC_REQUIRE([AC_C_RESTRICT]) gl_SHA1 AC_REQUIRE([AC_C_RESTRICT]) gl_SHA256 AC_REQUIRE([AC_C_RESTRICT]) gl_SHA512 gl_CTYPE_H gl_CTYPE_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_MODULE_INDICATOR([dirname]) gl_DOUBLE_SLASH_ROOT gl_FUNC_DUP2 gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test $REPLACE_DUP2 = 1]) AM_COND_IF([GL_COND_OBJ_DUP2], [ gl_PREREQ_DUP2 ]) gl_UNISTD_MODULE_INDICATOR([dup2]) gl_HEADER_ERRNO_H gl_CONDITIONAL_HEADER([errno.h]) AC_PROG_MKDIR_P AC_REQUIRE([gl_ERROR_H]) gl_ERROR gl_CONDITIONAL([GL_COND_OBJ_ERROR], [test $COMPILE_ERROR_C = 1]) AM_COND_IF([GL_COND_OBJ_ERROR], [ gl_PREREQ_ERROR ]) m4_ifdef([AM_XGETTEXT_OPTION], [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) gl_ERROR_H AC_PROG_MKDIR_P gl_FUNC_EXP gl_FUNC_EXPL gl_CONDITIONAL([GL_COND_OBJ_EXPL], [test $HAVE_EXPL = 0 || test $REPLACE_EXPL = 1]) AM_COND_IF([GL_COND_OBJ_EXPL], [ AC_LIBOBJ([expl-table]) ]) gl_MATH_MODULE_INDICATOR([expl]) AC_REQUIRE([gl_EXTERN_INLINE]) gl_FUNC_FABS gl_FUNC_FABSL gl_CONDITIONAL([GL_COND_OBJ_FABSL], [test $HAVE_FABSL = 0 || test $REPLACE_FABSL = 1]) gl_MATH_MODULE_INDICATOR([fabsl]) gl_FUNC_FCNTL gl_CONDITIONAL([GL_COND_OBJ_FCNTL], [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]) gl_FCNTL_MODULE_INDICATOR([fcntl]) gl_FCNTL_H gl_FCNTL_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_FFLUSH gl_CONDITIONAL([GL_COND_OBJ_FFLUSH], [test $REPLACE_FFLUSH = 1]) AM_COND_IF([GL_COND_OBJ_FFLUSH], [ gl_PREREQ_FFLUSH ]) gl_MODULE_INDICATOR([fflush]) gl_STDIO_MODULE_INDICATOR([fflush]) AC_C_FLEXIBLE_ARRAY_MEMBER gl_FLOAT_H gl_CONDITIONAL_HEADER([float.h]) AC_PROG_MKDIR_P gl_CONDITIONAL([GL_COND_OBJ_FLOAT], [test $REPLACE_FLOAT_LDBL = 1 || test $REPLACE_FLOAT_SNAN = 1]) gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1]) dnl Prerequisites of lib/float.c. AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_FUNC_FLOOR]) gl_CONDITIONAL([GL_COND_OBJ_FLOOR], [test $REPLACE_FLOOR = 1]) gl_MATH_MODULE_INDICATOR([floor]) AC_REQUIRE([gl_FUNC_FLOORL]) gl_CONDITIONAL([GL_COND_OBJ_FLOORL], [test $HAVE_DECL_FLOORL = 0 || test $REPLACE_FLOORL = 1]) gl_MATH_MODULE_INDICATOR([floorl]) gl_FUNC_FPENDING gl_CONDITIONAL([GL_COND_OBJ_FPENDING], [test $gl_cv_func___fpending = no]) gl_FUNC_FPURGE gl_CONDITIONAL([GL_COND_OBJ_FPURGE], [test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1]) gl_STDIO_MODULE_INDICATOR([fpurge]) gl_FUNC_FREADING gl_FUNC_FREE gl_CONDITIONAL([GL_COND_OBJ_FREE], [test $REPLACE_FREE = 1]) AM_COND_IF([GL_COND_OBJ_FREE], [ gl_PREREQ_FREE ]) gl_STDLIB_MODULE_INDICATOR([free-posix]) AC_REQUIRE([gl_FUNC_FREXP]) if test $gl_func_frexp != yes; then AC_LIBOBJ([frexp]) fi gl_MATH_MODULE_INDICATOR([frexp]) AC_REQUIRE([gl_FUNC_FREXPL]) if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then AC_LIBOBJ([frexpl]) fi gl_MATH_MODULE_INDICATOR([frexpl]) gl_FUNC_FSEEK gl_CONDITIONAL([GL_COND_OBJ_FSEEK], [test $REPLACE_FSEEK = 1]) gl_STDIO_MODULE_INDICATOR([fseek]) gl_FUNC_FSEEKO gl_CONDITIONAL([GL_COND_OBJ_FSEEKO], [test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1]) AM_COND_IF([GL_COND_OBJ_FSEEKO], [ gl_PREREQ_FSEEKO ]) gl_STDIO_MODULE_INDICATOR([fseeko]) gl_FUNC_FSTAT gl_CONDITIONAL([GL_COND_OBJ_FSTAT], [test $REPLACE_FSTAT = 1]) AM_COND_IF([GL_COND_OBJ_FSTAT], [ case "$host_os" in mingw* | windows*) AC_LIBOBJ([stat-w32]) ;; esac gl_PREREQ_FSTAT ]) gl_SYS_STAT_MODULE_INDICATOR([fstat]) gl_MODULE_INDICATOR([fstat]) gl_FUNC_FTELL gl_CONDITIONAL([GL_COND_OBJ_FTELL], [test $REPLACE_FTELL = 1]) gl_STDIO_MODULE_INDICATOR([ftell]) gl_FUNC_FTELLO gl_CONDITIONAL([GL_COND_OBJ_FTELLO], [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]) AM_COND_IF([GL_COND_OBJ_FTELLO], [ gl_PREREQ_FTELLO ]) gl_STDIO_MODULE_INDICATOR([ftello]) gl_FUNC_GETDTABLESIZE gl_CONDITIONAL([GL_COND_OBJ_GETDTABLESIZE], [test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1]) AM_COND_IF([GL_COND_OBJ_GETDTABLESIZE], [ gl_PREREQ_GETDTABLESIZE ]) gl_UNISTD_MODULE_INDICATOR([getdtablesize]) gl_FUNC_GETLOCALENAME_L_UNSAFE gl_PREREQ_GETLOCALENAME_L_UNSAFE gl_LOCALE_MODULE_INDICATOR([getlocalename_l-unsafe]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED], [case "$host_os" in netbsd* | solaris*) true;; *) false;; esac]) gl_FUNC_GETOPT_GNU dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are dnl done in the getopt-posix module. gl_FUNC_GETOPT_POSIX gl_CONDITIONAL_HEADER([getopt.h]) gl_CONDITIONAL_HEADER([getopt-cdefs.h]) AC_PROG_MKDIR_P gl_CONDITIONAL([GL_COND_OBJ_GETOPT], [test $REPLACE_GETOPT = 1]) AM_COND_IF([GL_COND_OBJ_GETOPT], [ dnl Define the substituted variable GNULIB_UNISTD_H_GETOPT to 1. gl_UNISTD_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT], [1]) ]) gl_UNISTD_MODULE_INDICATOR([getopt-posix]) gl_MUSL_LIBC AC_REQUIRE([AC_CANONICAL_HOST]) gl_FUNC_GETPROGNAME gl_CONDITIONAL([GL_COND_OBJ_GETPROGNAME], [test $HAVE_GETPROGNAME = 0 || test $REPLACE_GETPROGNAME = 1]) AM_COND_IF([GL_COND_OBJ_GETPROGNAME], [ gl_PREREQ_GETPROGNAME ]) gl_STDLIB_MODULE_INDICATOR([getprogname]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_FUNC_GETRANDOM gl_CONDITIONAL([GL_COND_OBJ_GETRANDOM], [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]) gl_SYS_RANDOM_MODULE_INDICATOR([getrandom]) AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) GNULIB_I18N # Autoconf 2.61a.99 and earlier don't support linking a file only # in VPATH builds. But since GNUmakefile is for maintainer use # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. GNUmakefile=GNUmakefile m4_if(m4_version_compare([2.61a.100], m4_defn([m4_PACKAGE_VERSION])), [1], [], [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile])]) AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) HARD_LOCALE_LIB="$SETLOCALE_NULL_LIB" AC_SUBST([HARD_LOCALE_LIB]) dnl For backward compatibility. LIB_HARD_LOCALE="$HARD_LOCALE_LIB" AC_SUBST([LIB_HARD_LOCALE]) AC_DEFUN([gl_HAVE_MODULE_HAVELIB]) AM_ICONV m4_ifdef([gl_ICONV_MODULE_INDICATOR], [gl_ICONV_MODULE_INDICATOR([iconv])]) gl_ICONV_H gl_ICONV_H_REQUIRE_DEFAULTS gl_CONDITIONAL_HEADER([iconv.h]) AC_PROG_MKDIR_P gl_FUNC_ICONV_OPEN dnl Because of gl_REPLACE_ICONV_H: gl_CONDITIONAL_HEADER([iconv.h]) gl_CONDITIONAL([GL_COND_OBJ_ICONV_OPEN], [test $REPLACE_ICONV_OPEN = 1]) gl_CONDITIONAL([GL_COND_OBJ_ICONV], [test $REPLACE_ICONV = 1]) gl_FUNC_INET_PTON gl_CONDITIONAL([GL_COND_OBJ_INET_PTON], [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]) AM_COND_IF([GL_COND_OBJ_INET_PTON], [ gl_PREREQ_INET_PTON ]) gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) gl_INLINE gl_INTTOSTR gl_INTTYPES_H gl_INTTYPES_INCOMPLETE gl_INTTYPES_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_ISBLANK gl_CONDITIONAL([GL_COND_OBJ_ISBLANK], [test $HAVE_ISBLANK = 0]) gl_MODULE_INDICATOR([isblank]) gl_CTYPE_MODULE_INDICATOR([isblank]) gl_ISFINITE gl_CONDITIONAL([GL_COND_OBJ_ISFINITE], [test $REPLACE_ISFINITE = 1]) gl_MATH_MODULE_INDICATOR([isfinite]) gl_ISINF gl_CONDITIONAL([GL_COND_OBJ_ISINF], [test $REPLACE_ISINF = 1]) gl_MATH_MODULE_INDICATOR([isinf]) gl_FUNC_ISNAND m4_ifdef([gl_ISNAN], [ AC_REQUIRE([gl_ISNAN]) ]) if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then AC_LIBOBJ([isnand]) gl_PREREQ_ISNAND fi gl_MATH_MODULE_INDICATOR([isnand]) gl_FUNC_ISNAND_NO_LIBM if test $gl_func_isnand_no_libm != yes; then AC_LIBOBJ([isnand]) gl_PREREQ_ISNAND fi gl_FUNC_ISNANF_NO_LIBM if test $gl_func_isnanf_no_libm != yes; then AC_LIBOBJ([isnanf]) gl_PREREQ_ISNANF fi gl_FUNC_ISNANL m4_ifdef([gl_ISNAN], [ AC_REQUIRE([gl_ISNAN]) ]) if test $HAVE_ISNANL = 0 || test $REPLACE_ISNAN = 1; then AC_LIBOBJ([isnanl]) gl_PREREQ_ISNANL fi gl_MATH_MODULE_INDICATOR([isnanl]) gl_FUNC_ISNANL_NO_LIBM if test $gl_func_isnanl_no_libm != yes; then AC_LIBOBJ([isnanl]) gl_PREREQ_ISNANL fi gl_FUNC_ISWBLANK gl_CONDITIONAL([GL_COND_OBJ_ISWBLANK], [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && { test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; }]) gl_WCTYPE_MODULE_INDICATOR([iswblank]) gl_FUNC_ISWDIGIT gl_CONDITIONAL([GL_COND_OBJ_ISWDIGIT], [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWDIGIT = 1]) gl_WCTYPE_MODULE_INDICATOR([iswdigit]) gl_FUNC_ISWPUNCT gl_CONDITIONAL([GL_COND_OBJ_ISWPUNCT], [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWPUNCT = 1]) gl_WCTYPE_MODULE_INDICATOR([iswpunct]) gl_FUNC_ISWXDIGIT gl_CONDITIONAL([GL_COND_OBJ_ISWXDIGIT], [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWXDIGIT = 1]) gl_WCTYPE_MODULE_INDICATOR([iswxdigit]) AC_REQUIRE([gl_LARGEFILE]) gl_FUNC_LDEXP gl_CONDITIONAL([GL_COND_OBJ_LDEXP], [test $REPLACE_LDEXP = 1]) gl_MATH_MODULE_INDICATOR([ldexp]) gl_FUNC_LDEXPL gl_CONDITIONAL([GL_COND_OBJ_LDEXPL], [test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no]) gl_MATH_MODULE_INDICATOR([ldexpl]) gl___INLINE gl_LIMITS_H gl_CONDITIONAL_HEADER([limits.h]) AC_PROG_MKDIR_P gl_LOCALCHARSET dnl For backward compatibility. Some packages still use this. LOCALCHARSET_TESTS_ENVIRONMENT= AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) gl_LOCALE_H gl_LOCALE_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_LOCALECONV gl_CONDITIONAL([GL_COND_OBJ_LOCALECONV], [test $REPLACE_LOCALECONV = 1]) AM_COND_IF([GL_COND_OBJ_LOCALECONV], [ gl_PREREQ_LOCALECONV ]) gl_LOCALE_MODULE_INDICATOR([localeconv]) gl_MODULE_INDICATOR([localeconv]) gl_LOCALENAME_ENVIRON gl_LOCALE_MODULE_INDICATOR([localename-environ]) gl_LOCALENAME_UNSAFE gl_LOCALE_MODULE_INDICATOR([localename-unsafe]) gl_MUSL_LIBC gl_LOCALENAME_UNSAFE_LIMITED AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED], [case "$host_os" in netbsd* | solaris*) true;; *) false;; esac]) gl_LOCK gl_MODULE_INDICATOR([lock]) AC_REQUIRE([gl_FUNC_LOG]) gl_CONDITIONAL([GL_COND_OBJ_LOG], [test $REPLACE_LOG = 1]) gl_MATH_MODULE_INDICATOR([log]) gl_FUNC_LOGL gl_CONDITIONAL([GL_COND_OBJ_LOGL], [test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1]) gl_MATH_MODULE_INDICATOR([logl]) gl_FUNC_LSEEK gl_CONDITIONAL([GL_COND_OBJ_LSEEK], [test $REPLACE_LSEEK = 1]) gl_UNISTD_MODULE_INDICATOR([lseek]) AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) AC_REQUIRE([AC_PROG_SED]) AC_REQUIRE([AC_PROG_GREP]) gl_FUNC_MALLOC_GNU if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then AC_LIBOBJ([malloc]) fi gl_STDLIB_MODULE_INDICATOR([malloc-gnu]) AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then AC_LIBOBJ([malloc]) fi gl_STDLIB_MODULE_INDICATOR([malloc-posix]) gl_MALLOCA gl_MATH_H gl_MATH_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_MBCHAR gl_FUNC_MBRTOC32 gl_CONDITIONAL([GL_COND_OBJ_MBRTOC32], [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]) AM_COND_IF([GL_COND_OBJ_MBRTOC32], [ if test $REPLACE_MBSTATE_T = 1; then AC_LIBOBJ([lc-charset-dispatch]) AC_LIBOBJ([mbtowc-lock]) gl_PREREQ_MBTOWC_LOCK fi gl_PREREQ_MBRTOC32 ]) gl_UCHAR_MODULE_INDICATOR([mbrtoc32]) gl_FUNC_MBRTOWC gl_CONDITIONAL([GL_COND_OBJ_MBRTOWC], [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]) AM_COND_IF([GL_COND_OBJ_MBRTOWC], [ if test $REPLACE_MBSTATE_T = 1; then AC_LIBOBJ([lc-charset-dispatch]) AC_LIBOBJ([mbtowc-lock]) gl_PREREQ_MBTOWC_LOCK fi gl_PREREQ_MBRTOWC ]) gl_WCHAR_MODULE_INDICATOR([mbrtowc]) gl_FUNC_MBSINIT gl_CONDITIONAL([GL_COND_OBJ_MBSINIT], [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1]) AM_COND_IF([GL_COND_OBJ_MBSINIT], [ gl_PREREQ_MBSINIT ]) gl_WCHAR_MODULE_INDICATOR([mbsinit]) gl_FUNC_MBSLEN gl_STRING_MODULE_INDICATOR([mbslen]) gl_STRING_MODULE_INDICATOR([mbsstr]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) gl_MBSTATE_T_BROKEN gl_MUSL_LIBC gl_WCHAR_MODULE_INDICATOR([mbszero]) gl_MBITER gl_MBITER gl_FUNC_MEMCHR gl_CONDITIONAL([GL_COND_OBJ_MEMCHR], [test $REPLACE_MEMCHR = 1]) AM_COND_IF([GL_COND_OBJ_MEMCHR], [ gl_PREREQ_MEMCHR ]) gl_STRING_MODULE_INDICATOR([memchr]) gl_FUNC_MEMPCPY gl_CONDITIONAL([GL_COND_OBJ_MEMPCPY], [test $HAVE_MEMPCPY = 0 || test $REPLACE_MEMPCPY = 1]) AM_COND_IF([GL_COND_OBJ_MEMPCPY], [ gl_PREREQ_MEMPCPY ]) gl_STRING_MODULE_INDICATOR([mempcpy]) gl_MINMAX gl_FUNC_MODF gl_CONDITIONAL([GL_COND_OBJ_MODF], [test $REPLACE_MODF = 1]) gl_MATH_MODULE_INDICATOR([modf]) gl_FUNC_MODFL gl_CONDITIONAL([GL_COND_OBJ_MODFL], [test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1]) gl_MATH_MODULE_INDICATOR([modfl]) AC_REQUIRE([gl_MSVC_INVAL]) gl_CONDITIONAL([GL_COND_OBJ_MSVC_INVAL], [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1]) AC_REQUIRE([gl_MSVC_NOTHROW]) gl_CONDITIONAL([GL_COND_OBJ_MSVC_NOTHROW], [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1]) gl_MODULE_INDICATOR([msvc-nothrow]) gl_MULTIARCH gl_HEADER_NETINET_IN gl_CONDITIONAL_HEADER([netinet/in.h]) AC_PROG_MKDIR_P gl_ONCE gl_FUNC_OPEN gl_CONDITIONAL([GL_COND_OBJ_OPEN], [test $REPLACE_OPEN = 1]) AM_COND_IF([GL_COND_OBJ_OPEN], [ gl_PREREQ_OPEN ]) gl_FCNTL_MODULE_INDICATOR([open]) gl_PATHMAX gl_FUNC_PCLOSE gl_CONDITIONAL([GL_COND_OBJ_PCLOSE], [test $HAVE_PCLOSE = 0]) AM_COND_IF([GL_COND_OBJ_PCLOSE], [ gl_PREREQ_PCLOSE ]) gl_STDIO_MODULE_INDICATOR([pclose]) AC_PATH_PROG([PMCCABE], [pmccabe], [false]) gl_FUNC_POPEN gl_CONDITIONAL([GL_COND_OBJ_POPEN], [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1]) AM_COND_IF([GL_COND_OBJ_POPEN], [ gl_PREREQ_POPEN ]) gl_STDIO_MODULE_INDICATOR([popen]) AC_CHECK_DECLS([program_invocation_name], [], [], [#include ]) AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include ]) m4_ifdef([AM_XGETTEXT_OPTION], [AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"']) AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])]) gl_PTHREAD_H gl_PTHREAD_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_PTHREAD_ONCE gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_ONCE], [test $HAVE_PTHREAD_ONCE = 0 || test $REPLACE_PTHREAD_ONCE = 1]) gl_PTHREAD_MODULE_INDICATOR([pthread-once]) gl_QUOTEARG gl_FUNC_RANDOM gl_CONDITIONAL([GL_COND_OBJ_RANDOM], [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]) AM_COND_IF([GL_COND_OBJ_RANDOM], [ gl_PREREQ_RANDOM ]) gl_STDLIB_MODULE_INDICATOR([random]) gl_FUNC_RANDOM_R gl_CONDITIONAL([GL_COND_OBJ_RANDOM_R], [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]) AM_COND_IF([GL_COND_OBJ_RANDOM_R], [ gl_PREREQ_RANDOM_R ]) gl_STDLIB_MODULE_INDICATOR([random_r]) gl_FUNC_REALLOC_POSIX gl_FUNC_REALLOC_0_NONNULL gl_CONDITIONAL([GL_COND_OBJ_REALLOC_POSIX], [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]) gl_STDLIB_MODULE_INDICATOR([realloc-posix]) gl_FUNC_REALLOCARRAY gl_CONDITIONAL([GL_COND_OBJ_REALLOCARRAY], [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]) AM_COND_IF([GL_COND_OBJ_REALLOCARRAY], [ gl_PREREQ_REALLOCARRAY ]) gl_MODULE_INDICATOR([reallocarray]) gl_STDLIB_MODULE_INDICATOR([reallocarray]) gl_FUNC_ROUND gl_CONDITIONAL([GL_COND_OBJ_ROUND], [test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1]) gl_MATH_MODULE_INDICATOR([round]) gl_FUNC_ROUNDL gl_CONDITIONAL([GL_COND_OBJ_ROUNDL], [test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1]) gl_MATH_MODULE_INDICATOR([roundl]) gl_SCHED_H gl_SCHED_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_SETLOCALE gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE], [test $REPLACE_SETLOCALE = 1]) AM_COND_IF([GL_COND_OBJ_SETLOCALE], [ gl_PREREQ_SETLOCALE ]) gl_LOCALE_MODULE_INDICATOR([setlocale]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE_FIXES], [case "$host_os" in mingw* | windows* | *-android*) true;; *) false;; esac]) gl_FUNC_SETLOCALE_NULL gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE_LOCK], [test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0]) AM_COND_IF([GL_COND_OBJ_SETLOCALE_LOCK], [ gl_PREREQ_SETLOCALE_LOCK ]) gl_LOCALE_MODULE_INDICATOR([setlocale_null]) AC_REQUIRE([AC_C_RESTRICT]) gl_SIGNBIT gl_CONDITIONAL([GL_COND_OBJ_SIGNBIT3], [test $REPLACE_SIGNBIT = 1]) gl_MATH_MODULE_INDICATOR([signbit]) gl_SIZE_MAX gl_FUNC_SNPRINTF gl_STDIO_MODULE_INDICATOR([snprintf]) gl_MODULE_INDICATOR([snprintf]) gl_TYPE_SOCKLEN_T gl_FUNC_SQRT gl_FUNC_SQRTL gl_CONDITIONAL([GL_COND_OBJ_SQRTL], [test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1]) gl_MATH_MODULE_INDICATOR([sqrtl]) gt_TYPE_SSIZE_T gl_FUNC_STAT gl_CONDITIONAL([GL_COND_OBJ_STAT], [test $REPLACE_STAT = 1]) AM_COND_IF([GL_COND_OBJ_STAT], [ case "$host_os" in mingw* | windows*) AC_LIBOBJ([stat-w32]) ;; esac gl_PREREQ_STAT ]) gl_SYS_STAT_MODULE_INDICATOR([stat]) gl_MODULE_INDICATOR([stat]) gl_STAT_TIME gl_STAT_BIRTHTIME gl_STDARG_H gl_CONDITIONAL_HEADER([stdarg.h]) AC_PROG_MKDIR_P AC_CHECK_HEADERS_ONCE([stdckdint.h]) if test $ac_cv_header_stdckdint_h = yes; then GL_GENERATE_STDCKDINT_H=false else GL_GENERATE_STDCKDINT_H=true fi gl_CONDITIONAL_HEADER([stdckdint.h]) AC_PROG_MKDIR_P gl_STDDEF_H gl_STDDEF_H_REQUIRE_DEFAULTS gl_CONDITIONAL_HEADER([stddef.h]) AC_PROG_MKDIR_P gl_STDINT_H gl_CONDITIONAL_HEADER([stdint.h]) dnl Because of gl_REPLACE_LIMITS_H: gl_CONDITIONAL_HEADER([limits.h]) AC_PROG_MKDIR_P gl_STDIO_H gl_STDIO_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1]) gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1]) dnl No need to create extra modules for these functions. Everyone who uses dnl likely needs them. gl_STDIO_MODULE_INDICATOR([fscanf]) gl_MODULE_INDICATOR([fscanf]) gl_STDIO_MODULE_INDICATOR([scanf]) gl_MODULE_INDICATOR([scanf]) gl_STDIO_MODULE_INDICATOR([fgetc]) gl_STDIO_MODULE_INDICATOR([getc]) gl_STDIO_MODULE_INDICATOR([getchar]) gl_STDIO_MODULE_INDICATOR([fgets]) gl_STDIO_MODULE_INDICATOR([fread]) dnl No need to create extra modules for these functions. Everyone who uses dnl likely needs them. gl_STDIO_MODULE_INDICATOR([fprintf]) gl_STDIO_MODULE_INDICATOR([printf]) gl_STDIO_MODULE_INDICATOR([vfprintf]) gl_STDIO_MODULE_INDICATOR([vprintf]) gl_STDIO_MODULE_INDICATOR([fputc]) gl_STDIO_MODULE_INDICATOR([putc]) gl_STDIO_MODULE_INDICATOR([putchar]) gl_STDIO_MODULE_INDICATOR([fputs]) gl_STDIO_MODULE_INDICATOR([puts]) gl_STDIO_MODULE_INDICATOR([fwrite]) gl_STDLIB_H gl_STDLIB_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_STDNORETURN_H gl_CONDITIONAL_HEADER([stdnoreturn.h]) AC_PROG_MKDIR_P gl_FUNC_STPCPY gl_CONDITIONAL([GL_COND_OBJ_STPCPY], [test $HAVE_STPCPY = 0 || test $REPLACE_STPCPY = 1]) AM_COND_IF([GL_COND_OBJ_STPCPY], [ gl_PREREQ_STPCPY ]) gl_STRING_MODULE_INDICATOR([stpcpy]) gl_FUNC_STRCASECMP gl_CONDITIONAL([GL_COND_OBJ_STRCASECMP], [test $HAVE_STRCASECMP = 0 || test $REPLACE_STRCASECMP = 1]) AM_COND_IF([GL_COND_OBJ_STRCASECMP], [ gl_PREREQ_STRCASECMP ]) gl_STRINGS_MODULE_INDICATOR([strcasecmp]) gl_FUNC_STRDUP_POSIX gl_CONDITIONAL([GL_COND_OBJ_STRDUP], [test $REPLACE_STRDUP = 1]) AM_COND_IF([GL_COND_OBJ_STRDUP], [ gl_PREREQ_STRDUP ]) gl_STRING_MODULE_INDICATOR([strdup]) gl_FUNC_STRERROR gl_CONDITIONAL([GL_COND_OBJ_STRERROR], [test $REPLACE_STRERROR = 1]) gl_MODULE_INDICATOR([strerror]) gl_STRING_MODULE_INDICATOR([strerror]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_0]) gl_CONDITIONAL([GL_COND_OBJ_STRERROR_OVERRIDE], [test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1]) AM_COND_IF([GL_COND_OBJ_STRERROR_OVERRIDE], [ gl_PREREQ_SYS_H_WINSOCK2 ]) if test $gl_cond_libtool = false; then gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" gl_libdeps="$gl_libdeps $LIBICONV" fi gl_STRING_H gl_STRING_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_STRINGS_H gl_STRINGS_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_STRNCASECMP gl_CONDITIONAL([GL_COND_OBJ_STRNCASECMP], [test $HAVE_STRNCASECMP = 0 || test $REPLACE_STRNCASECMP = 1]) AM_COND_IF([GL_COND_OBJ_STRNCASECMP], [ gl_PREREQ_STRNCASECMP ]) gl_STRINGS_MODULE_INDICATOR([strncasecmp]) gl_FUNC_STRNLEN gl_CONDITIONAL([GL_COND_OBJ_STRNLEN], [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1]) AM_COND_IF([GL_COND_OBJ_STRNLEN], [ gl_PREREQ_STRNLEN ]) gl_STRING_MODULE_INDICATOR([strnlen]) gl_FUNC_STRSEP gl_CONDITIONAL([GL_COND_OBJ_STRSEP], [test $HAVE_STRSEP = 0]) AM_COND_IF([GL_COND_OBJ_STRSEP], [ gl_PREREQ_STRSEP ]) gl_STRING_MODULE_INDICATOR([strsep]) gl_FUNC_STRTOD gl_CONDITIONAL([GL_COND_OBJ_STRTOD], [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]) AM_COND_IF([GL_COND_OBJ_STRTOD], [ gl_PREREQ_STRTOD ]) gl_STDLIB_MODULE_INDICATOR([strtod]) gl_FUNC_STRTOLD gl_CONDITIONAL([GL_COND_OBJ_STRTOLD], [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]) AM_COND_IF([GL_COND_OBJ_STRTOLD], [ gl_PREREQ_STRTOLD ]) gl_STDLIB_MODULE_INDICATOR([strtold]) gl_FUNC_STRTOLL gl_CONDITIONAL([GL_COND_OBJ_STRTOLL], [test $HAVE_STRTOLL = 0 || test $REPLACE_STRTOLL = 1]) AM_COND_IF([GL_COND_OBJ_STRTOLL], [ gl_PREREQ_STRTOLL ]) gl_STDLIB_MODULE_INDICATOR([strtoll]) gl_FUNC_STRTOULL gl_CONDITIONAL([GL_COND_OBJ_STRTOULL], [test $HAVE_STRTOULL = 0 || test $REPLACE_STRTOULL = 1]) AM_COND_IF([GL_COND_OBJ_STRTOULL], [ gl_PREREQ_STRTOULL ]) gl_STDLIB_MODULE_INDICATOR([strtoull]) gl_FUNC_STRTOUMAX gl_CONDITIONAL([GL_COND_OBJ_STRTOUMAX], [test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1]) AM_COND_IF([GL_COND_OBJ_STRTOUMAX], [ gl_PREREQ_STRTOUMAX ]) gl_INTTYPES_MODULE_INDICATOR([strtoumax]) gl_SYS_RANDOM_H gl_SYS_RANDOM_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_SYS_SOCKET_H gl_SYS_SOCKET_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_SYS_STAT_H gl_SYS_STAT_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_SYS_TYPES_H gl_SYS_TYPES_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_SYS_UIO_H gl_SYS_UIO_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_SYS_WAIT_H gl_SYS_WAIT_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P AC_CHECK_HEADERS([sys/single_threaded.h]) AC_REQUIRE([gl_THREADLIB]) gl_TIME_H gl_TIME_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_TRUNC gl_CONDITIONAL([GL_COND_OBJ_TRUNC], [test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1]) gl_MATH_MODULE_INDICATOR([trunc]) gl_FUNC_TRUNCL gl_CONDITIONAL([GL_COND_OBJ_TRUNCL], [test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1]) gl_MATH_MODULE_INDICATOR([truncl]) gl_UCHAR_H gl_UCHAR_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_LIBUNISTRING_LIBHEADER([1.2], [unicase.h]) gl_UNICASE_H gl_UNICASE_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_LIBUNISTRING_MODULE([1.3], [unicase/tolower]) gl_LIBUNISTRING_LIBHEADER([1.3], [unictype.h]) gl_UNICTYPE_H gl_UNICTYPE_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-alnum]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-alpha]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-blank]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-cntrl]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-digit]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-graph]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-lower]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-print]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-punct]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-space]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-upper]) AC_REQUIRE([AC_C_INLINE]) gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-xdigit]) gl_LIBUNISTRING_LIBHEADER([1.2], [uninorm.h]) gl_UNINORM_H gl_UNINORM_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_UNISTD_H gl_UNISTD_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_LIBUNISTRING_LIBHEADER([1.2], [unistr.h]) AC_PROG_MKDIR_P gl_MODULE_INDICATOR([unistr/u8-mbtoucr]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr]) gl_MODULE_INDICATOR([unistr/u8-uctomb]) gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb]) gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h]) AC_PROG_MKDIR_P AH_VERBATIM([unitypes_restrict], [ /* This definition is a duplicate of the one in unitypes.h. It is here so that we can cope with an older version of unitypes.h that does not contain this definition and that is pre-installed among the public header files. */ # if defined __restrict \ || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \ || __clang_major__ >= 3 # define _UC_RESTRICT __restrict # elif 199901L <= __STDC_VERSION__ || defined restrict # define _UC_RESTRICT restrict # else # define _UC_RESTRICT # endif ]) gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h]) AC_PROG_MKDIR_P gl_LIBUNISTRING_MODULE([1.3], [uniwidth/width]) AC_DEFINE([GNULIB_STDIO_SINGLE_THREAD], [1], [Define to 1 if you want the FILE stream functions getc, putc, etc. to use unlocked I/O if available, throughout the package. Unlocked I/O can improve performance, sometimes dramatically. But unlocked I/O is safe only in single-threaded programs, as well as in multithreaded programs for which you can guarantee that every FILE stream, including stdin, stdout, stderr, is used only in a single thread.]) AC_DEFINE([USE_UNLOCKED_IO], [GNULIB_STDIO_SINGLE_THREAD], [An alias of GNULIB_STDIO_SINGLE_THREAD.]) gl_FUNC_GLIBC_UNLOCKED_IO AC_C_VARARRAYS AC_REQUIRE([AC_C_RESTRICT]) gl_FUNC_VASNPRINTF gl_VERSION_ETC gl_STDIO_MODULE_INDICATOR([vsnzprintf]) gl_FUNC_WAITPID gl_CONDITIONAL([GL_COND_OBJ_WAITPID], [test $HAVE_WAITPID = 0]) gl_SYS_WAIT_MODULE_INDICATOR([waitpid]) gl_WCHAR_H gl_WCHAR_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_WCTYPE_H gl_WCTYPE_H_REQUIRE_DEFAULTS AC_PROG_MKDIR_P gl_FUNC_WCWIDTH gl_CONDITIONAL([GL_COND_OBJ_WCWIDTH], [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]) AM_COND_IF([GL_COND_OBJ_WCWIDTH], [ gl_PREREQ_WCWIDTH ]) gl_WCHAR_MODULE_INDICATOR([wcwidth]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_MUTEX], [case "$host_os" in mingw* | windows*) true;; *) false;; esac]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_ONCE], [case "$host_os" in mingw* | windows*) true;; *) false;; esac]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RECMUTEX], [case "$host_os" in mingw* | windows*) true;; *) false;; esac]) AC_REQUIRE([AC_CANONICAL_HOST]) gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RWLOCK], [case "$host_os" in mingw* | windows*) true;; *) false;; esac]) gl_XALLOC gl_MODULE_INDICATOR([xalloc]) gl_MODULE_INDICATOR([xalloc-die]) gl_XSIZE gl_XSTRTOL # End of code from modules m4_ifval(gl_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || for gl_file in ]gl_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([GL_MODULE_INDICATOR_PREFIX]) m4_popdef([GL_MACRO_PREFIX]) m4_popdef([gl_LIBSOURCES_DIR]) m4_popdef([gl_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gl_libobjs= gl_ltlibobjs= gl_libobjdeps= gl_libdatamash_libobjs= gl_libdatamash_ltlibobjs= gl_libdatamash_libobjdeps= if test -n "$gl_LIBOBJS"; then # Remove the extension. changequote(,)dnl sed_drop_objext='s/\.o$//;s/\.obj$//' sed_dirname1='s,//*,/,g' sed_dirname2='s,\(.\)/$,\1,' sed_dirname3='s,[^/]*$,,' sed_basename1='s,.*/,,' changequote([, ])dnl for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gl_libobjs="$gl_libobjs lib/$i.$ac_objext" gl_ltlibobjs="$gl_ltlibobjs lib/$i.lo" i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"` i_base=`echo "$i" | sed -e "$sed_basename1"` gl_libdatamash_libobjs="$gl_libdatamash_libobjs lib/$i_dir""libdatamash_a-$i_base.$ac_objext" gl_libdatamash_ltlibobjs="$gl_libdatamash_ltlibobjs lib/$i_dir""libdatamash_la-$i_base.lo" gl_libobjdeps="$gl_libobjdeps lib/$i_dir\$(DEPDIR)/$i_base.Po" gl_libdatamash_libobjdeps="$gl_libdatamash_libobjdeps lib/$i_dir\$(DEPDIR)/libdatamash_a-$i_base.Po" done fi AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) AC_SUBST([gl_LIBOBJDEPS], [$gl_libobjdeps]) AC_SUBST([gl_libdatamash_LIBOBJS], [$gl_libdatamash_libobjs]) AC_SUBST([gl_libdatamash_LTLIBOBJS], [$gl_libdatamash_ltlibobjs]) AC_SUBST([gl_libdatamash_LIBOBJDEPS], [$gl_libdatamash_libobjdeps]) ]) gltests_libdeps= gltests_ltlibdeps= m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) m4_pushdef([gltests_LIBSOURCES_LIST], []) m4_pushdef([gltests_LIBSOURCES_DIR], []) m4_pushdef([GL_MACRO_PREFIX], [gltests]) m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL]) gl_COMMON gl_source_base='tests' gl_source_base_prefix= changequote(,)dnl gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS changequote([, ])dnl AC_SUBST([gltests_WITNESS]) gl_module_indicator_condition=$gltests_WITNESS m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) m4_popdef([gl_MODULE_INDICATOR_CONDITION]) m4_ifval(gltests_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || for gl_file in ]gltests_LIBSOURCES_LIST[ ; do if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 exit 1 fi done])dnl m4_if(m4_sysval, [0], [], [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) ]) m4_popdef([GL_MODULE_INDICATOR_PREFIX]) m4_popdef([GL_MACRO_PREFIX]) m4_popdef([gltests_LIBSOURCES_DIR]) m4_popdef([gltests_LIBSOURCES_LIST]) m4_popdef([AC_LIBSOURCES]) m4_popdef([AC_REPLACE_FUNCS]) m4_popdef([AC_LIBOBJ]) AC_CONFIG_COMMANDS_PRE([ gltests_libobjs= gltests_ltlibobjs= gltests_libobjdeps= gltests_libdatamash_libobjs= gltests_libdatamash_ltlibobjs= gltests_libdatamash_libobjdeps= if test -n "$gltests_LIBOBJS"; then # Remove the extension. changequote(,)dnl sed_drop_objext='s/\.o$//;s/\.obj$//' sed_dirname1='s,//*,/,g' sed_dirname2='s,\(.\)/$,\1,' sed_dirname3='s,[^/]*$,,' sed_basename1='s,.*/,,' changequote([, ])dnl for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do gltests_libobjs="$gltests_libobjs lib/$i.$ac_objext" gltests_ltlibobjs="$gltests_ltlibobjs lib/$i.lo" i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"` i_base=`echo "$i" | sed -e "$sed_basename1"` gltests_libdatamash_libobjs="$gltests_libdatamash_libobjs lib/$i_dir""libdatamash_a-$i_base.$ac_objext" gltests_libdatamash_ltlibobjs="$gltests_libdatamash_ltlibobjs lib/$i_dir""libdatamash_la-$i_base.lo" gltests_libobjdeps="$gltests_libobjdeps lib/$i_dir\$(DEPDIR)/$i_base.Po" gltests_libdatamash_libobjdeps="$gltests_libdatamash_libobjdeps lib/$i_dir\$(DEPDIR)/libdatamash_a-$i_base.Po" done fi AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) AC_SUBST([gltests_LIBOBJDEPS], [$gltests_libobjdeps]) AC_SUBST([gltests_libdatamash_LIBOBJS], [$gltests_libdatamash_libobjs]) AC_SUBST([gltests_libdatamash_LTLIBOBJS], [$gltests_libdatamash_ltlibobjs]) AC_SUBST([gltests_libdatamash_LIBOBJDEPS], [$gltests_libdatamash_libobjdeps]) ]) AC_REQUIRE([gl_CC_GNULIB_WARNINGS]) LIBDATAMASH_LIBDEPS="$gl_libdeps" AC_SUBST([LIBDATAMASH_LIBDEPS]) LIBDATAMASH_LTLIBDEPS="$gl_ltlibdeps" AC_SUBST([LIBDATAMASH_LTLIBDEPS]) ]) # Like AC_LIBOBJ, except that the module name goes # into gl_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gl_LIBOBJ], [ AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into gl_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gl_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gl_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gl_LIBSOURCES_DIR], [lib]) m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # Like AC_LIBOBJ, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_LIBOBJ], [ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" ]) # Like AC_REPLACE_FUNCS, except that the module name goes # into gltests_LIBOBJS instead of into LIBOBJS. AC_DEFUN([gltests_REPLACE_FUNCS], [ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) ]) # Like AC_LIBSOURCES, except the directory where the source file is # expected is derived from the gnulib-tool parameterization, # and alloca is special cased (for the alloca-opt module). # We could also entirely rely on EXTRA_lib..._SOURCES. AC_DEFUN([gltests_LIBSOURCES], [ m4_foreach([_gl_NAME], [$1], [ m4_if(_gl_NAME, [alloca.c], [], [ m4_define([gltests_LIBSOURCES_DIR], [tests]) m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) ]) ]) ]) # This macro records the list of files which have been installed by # gnulib-tool and may be removed by future gnulib-tool invocations. AC_DEFUN([gl_FILE_LIST], [ build-aux/announce-gen build-aux/config.rpath build-aux/do-release-commit-and-tag build-aux/gendocs.sh build-aux/git-version-gen build-aux/gitlog-to-changelog build-aux/gnu-web-doc-update build-aux/gnupload build-aux/pmccabe.css build-aux/pmccabe2html build-aux/update-copyright build-aux/useless-if-before-free build-aux/vc-list-files doc/gendocs_template doc/gendocs_template_min lib/_Noreturn.h lib/af_alg.c lib/af_alg.h lib/alloca.in.h lib/anytostr.c lib/arg-nonnull.h lib/arpa_inet.c lib/arpa_inet.in.h lib/asnprintf.c lib/assert.in.h lib/attribute.h lib/base64.c lib/base64.h lib/basename-lgpl.c lib/basename-lgpl.h lib/basename.c lib/bitrotate.c lib/bitrotate.h lib/byteswap.c lib/byteswap.in.h lib/c++defs.h lib/c-ctype.c lib/c-ctype.h lib/c-strcase.h lib/c-strcasecmp.c lib/c-strcaseeq.h lib/c32is-impl.h lib/c32isalnum.c lib/c32isalpha.c lib/c32isblank.c lib/c32iscntrl.c lib/c32isdigit.c lib/c32isgraph.c lib/c32islower.c lib/c32isprint.c lib/c32ispunct.c lib/c32isspace.c lib/c32isupper.c lib/c32isxdigit.c lib/c32to-impl.h lib/c32tolower.c lib/c32width.c lib/calloc.c lib/cdefs.h lib/ceil.c lib/ceill.c lib/cloexec.c lib/cloexec.h lib/close-stream.c lib/close-stream.h lib/close.c lib/closeout.c lib/closeout.h lib/ctype.in.h lib/dirname-lgpl.c lib/dirname.c lib/dirname.h lib/dup2.c lib/errno.in.h lib/error.c lib/error.in.h lib/exitfail.c lib/exitfail.h lib/expl-table.c lib/expl.c lib/fabsl.c lib/fcntl.c lib/fcntl.in.h lib/fd-hook.c lib/fd-hook.h lib/fflush.c lib/filename.h lib/flexmember.h lib/float+.h lib/float.c lib/float.in.h lib/floor.c lib/floorl.c lib/fpending.c lib/fpending.h lib/fpucw.h lib/fpurge.c lib/freading.c lib/freading.h lib/free.c lib/frexp.c lib/frexpl.c lib/fseek.c lib/fseeko.c lib/fstat.c lib/ftell.c lib/ftello.c lib/getdtablesize.c lib/getlocalename_l-unsafe.c lib/getlocalename_l-unsafe.h lib/getopt-cdefs.in.h lib/getopt-core.h lib/getopt-ext.h lib/getopt-pfx-core.h lib/getopt-pfx-ext.h lib/getopt.c lib/getopt.in.h lib/getopt1.c lib/getopt_int.h lib/getprogname.c lib/getprogname.h lib/getrandom.c lib/gettext.h lib/gl_openssl.h lib/glthread/lock.c lib/glthread/lock.h lib/glthread/once.c lib/glthread/once.h lib/glthread/threadlib.c lib/hard-locale.c lib/hard-locale.h lib/hash-pjw-bare.c lib/hash-pjw-bare.h lib/hash-pjw.c lib/hash-pjw.h lib/hash.c lib/hash.h lib/ialloc.c lib/ialloc.h lib/iconv.c lib/iconv.in.h lib/iconv_close.c lib/iconv_open-aix.gperf lib/iconv_open-hpux.gperf lib/iconv_open-irix.gperf lib/iconv_open-osf.gperf lib/iconv_open-solaris.gperf lib/iconv_open-zos.gperf lib/iconv_open.c lib/idx.h lib/ignore-value.h lib/imaxtostr.c lib/inet_pton.c lib/intprops-internal.h lib/intprops.h lib/inttostr.c lib/inttostr.h lib/inttypes.in.h lib/isblank.c lib/isfinite.c lib/isinf.c lib/isnan.c lib/isnand-nolibm.h lib/isnand.c lib/isnanf-nolibm.h lib/isnanf.c lib/isnanl-nolibm.h lib/isnanl.c lib/iswblank.c lib/iswdigit.c lib/iswpunct.c lib/iswxdigit.c lib/itold.c lib/lc-charset-dispatch.c lib/lc-charset-dispatch.h lib/ldexp.c lib/ldexpl.c lib/libc-config.h lib/limits.in.h lib/linebuffer.c lib/linebuffer.h lib/localcharset.c lib/localcharset.h lib/locale.in.h lib/localeconv.c lib/localename-environ.c lib/localename-table.c lib/localename-table.h lib/localename-unsafe.c lib/localename.c lib/localename.h lib/log.c lib/logl.c lib/lseek.c lib/malloc.c lib/malloca.c lib/malloca.h lib/math.c lib/math.in.h lib/mbchar.c lib/mbchar.h lib/mbrtoc32.c lib/mbrtowc-impl-utf8.h lib/mbrtowc-impl.h lib/mbrtowc.c lib/mbsinit.c lib/mbslen.c lib/mbsstr.c lib/mbszero.c lib/mbtowc-lock.c lib/mbtowc-lock.h lib/mbuiter.c lib/mbuiter.h lib/mbuiterf.c lib/mbuiterf.h lib/md5-stream.c lib/md5.c lib/md5.h lib/memchr.c lib/memchr.valgrind lib/mempcpy.c lib/minmax.h lib/modf.c lib/modfl.c lib/msvc-inval.c lib/msvc-inval.h lib/msvc-nothrow.c lib/msvc-nothrow.h lib/netinet_in.in.h lib/offtostr.c lib/open.c lib/pathmax.h lib/pclose.c lib/popen.c lib/printf-args.c lib/printf-args.h lib/printf-parse.c lib/printf-parse.h lib/progname.c lib/progname.h lib/propername.c lib/propername.h lib/pthread-once.c lib/pthread.in.h lib/quote.h lib/quotearg.c lib/quotearg.h lib/random.c lib/random_r.c lib/realloc.c lib/reallocarray.c lib/round.c lib/roundl.c lib/sched.in.h lib/setlocale-fixes.c lib/setlocale-fixes.h lib/setlocale-lock.c lib/setlocale.c lib/setlocale_null-unlocked.c lib/setlocale_null.c lib/setlocale_null.h lib/sh-quote.c lib/sh-quote.h lib/sha1-stream.c lib/sha1.c lib/sha1.h lib/sha256-stream.c lib/sha256.c lib/sha256.h lib/sha512-stream.c lib/sha512.c lib/sha512.h lib/signbitd.c lib/signbitf.c lib/signbitl.c lib/size_max.h lib/snprintf.c lib/sqrtl.c lib/stat-time.c lib/stat-time.h lib/stat-w32.c lib/stat-w32.h lib/stat.c lib/stdarg.in.h lib/stdckdint.in.h lib/stddef.in.h lib/stdint.in.h lib/stdio-impl.h lib/stdio-read.c lib/stdio-write.c lib/stdio.in.h lib/stdlib.c lib/stdlib.in.h lib/stdnoreturn.in.h lib/stpcpy.c lib/str-kmp.h lib/strcasecmp.c lib/strdup.c lib/streq.h lib/strerror-override.c lib/strerror-override.h lib/strerror.c lib/striconv.c lib/striconv.h lib/string.in.h lib/strings.in.h lib/stripslash.c lib/strncasecmp.c lib/strnlen.c lib/strnlen1.c lib/strnlen1.h lib/strsep.c lib/strtod.c lib/strtoimax.c lib/strtol.c lib/strtold.c lib/strtoll.c lib/strtoul.c lib/strtoull.c lib/strtoumax.c lib/struniq.h lib/sys-limits.h lib/sys_random.in.h lib/sys_socket.c lib/sys_socket.in.h lib/sys_stat.in.h lib/sys_types.in.h lib/sys_uio.in.h lib/sys_wait.in.h lib/thread-optim.h lib/time.in.h lib/trim.c lib/trim.h lib/trunc.c lib/truncl.c lib/u64.c lib/u64.h lib/uchar.in.h lib/uinttostr.c lib/umaxtostr.c lib/unicase.in.h lib/unicase/simple-mapping.h lib/unicase/tolower.c lib/unicase/tolower.h lib/unictype.in.h lib/unictype/bitmap.h lib/unictype/ctype_alnum.c lib/unictype/ctype_alnum.h lib/unictype/ctype_alpha.c lib/unictype/ctype_alpha.h lib/unictype/ctype_blank.c lib/unictype/ctype_blank.h lib/unictype/ctype_cntrl.c lib/unictype/ctype_cntrl.h lib/unictype/ctype_digit.c lib/unictype/ctype_digit.h lib/unictype/ctype_graph.c lib/unictype/ctype_graph.h lib/unictype/ctype_lower.c lib/unictype/ctype_lower.h lib/unictype/ctype_print.c lib/unictype/ctype_print.h lib/unictype/ctype_punct.c lib/unictype/ctype_punct.h lib/unictype/ctype_space.c lib/unictype/ctype_space.h lib/unictype/ctype_upper.c lib/unictype/ctype_upper.h lib/unictype/ctype_xdigit.c lib/unictype/ctype_xdigit.h lib/uninorm.in.h lib/unistd.c lib/unistd.in.h lib/unistr.in.h lib/unistr/u8-mbtoucr.c lib/unistr/u8-uctomb-aux.c lib/unistr/u8-uctomb.c lib/unitypes.in.h lib/uniwidth.in.h lib/uniwidth/cjk.h lib/uniwidth/width.c lib/uniwidth/width0.h lib/uniwidth/width2.h lib/unlocked-io.h lib/vasnprintf.c lib/vasnprintf.h lib/verify.h lib/version-etc.c lib/version-etc.h lib/vsnzprintf.c lib/waitpid.c lib/warn-on-use.h lib/wchar.in.h lib/wctype-h.c lib/wctype.in.h lib/wcwidth.c lib/windows-initguard.h lib/windows-mutex.c lib/windows-mutex.h lib/windows-once.c lib/windows-once.h lib/windows-recmutex.c lib/windows-recmutex.h lib/windows-rwlock.c lib/windows-rwlock.h lib/xalloc-die.c lib/xalloc-oversized.h lib/xalloc.h lib/xmalloc.c lib/xsize.c lib/xsize.h lib/xstriconv.c lib/xstriconv.h lib/xstrtol-error.c lib/xstrtol-error.h lib/xstrtol.c lib/xstrtol.h lib/xstrtoul.c lib/xstrtoumax.c m4/00gnulib.m4 m4/__inline.m4 m4/absolute-header.m4 m4/af_alg.m4 m4/alloca.m4 m4/arpa_inet_h.m4 m4/assert.m4 m4/assert_h.m4 m4/base64.m4 m4/build-to-host.m4 m4/byteswap.m4 m4/c-bool.m4 m4/c32rtomb.m4 m4/calloc.m4 m4/ceil.m4 m4/ceill.m4 m4/check-math-lib.m4 m4/close.m4 m4/codeset.m4 m4/configmake.m4 m4/ctype_h.m4 m4/double-slash-root.m4 m4/dup2.m4 m4/errno_h.m4 m4/error.m4 m4/error_h.m4 m4/exp.m4 m4/expl.m4 m4/exponentd.m4 m4/exponentf.m4 m4/exponentl.m4 m4/extensions-aix.m4 m4/extensions.m4 m4/extern-inline.m4 m4/fabs.m4 m4/fabsl.m4 m4/fcntl-o.m4 m4/fcntl.m4 m4/fcntl_h.m4 m4/fflush.m4 m4/flexmember.m4 m4/float_h.m4 m4/floor.m4 m4/floorl.m4 m4/fpending.m4 m4/fpieee.m4 m4/fpurge.m4 m4/freading.m4 m4/free.m4 m4/frexp.m4 m4/frexpl.m4 m4/fseek.m4 m4/fseeko.m4 m4/fstat.m4 m4/ftell.m4 m4/ftello.m4 m4/getdtablesize.m4 m4/getlocalename_l.m4 m4/getopt.m4 m4/getprogname.m4 m4/getrandom.m4 m4/gl-openssl.m4 m4/gnulib-common.m4 m4/gnulib-i18n.m4 m4/host-cpu-c-abi.m4 m4/iconv.m4 m4/iconv_h.m4 m4/iconv_open.m4 m4/include_next.m4 m4/inet_pton.m4 m4/init-package-version.m4 m4/inline.m4 m4/intl-thread-locale.m4 m4/intlmacosx.m4 m4/intmax_t.m4 m4/inttostr.m4 m4/inttypes.m4 m4/inttypes_h.m4 m4/isblank.m4 m4/isfinite.m4 m4/isinf.m4 m4/isnand.m4 m4/isnanf.m4 m4/isnanl.m4 m4/iswblank.m4 m4/iswdigit.m4 m4/iswpunct.m4 m4/iswxdigit.m4 m4/largefile.m4 m4/lcmessage.m4 m4/ldexp.m4 m4/ldexpl.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/libunistring-base.m4 m4/limits-h.m4 m4/localcharset.m4 m4/locale-en.m4 m4/locale-fr.m4 m4/locale-ja.m4 m4/locale-zh.m4 m4/locale_h.m4 m4/localeconv.m4 m4/localename.m4 m4/lock.m4 m4/log.m4 m4/logl.m4 m4/lseek.m4 m4/malloc.m4 m4/malloca.m4 m4/math_h.m4 m4/mathfunc.m4 m4/mbchar.m4 m4/mbiter.m4 m4/mbrtoc32.m4 m4/mbrtowc.m4 m4/mbsinit.m4 m4/mbslen.m4 m4/mbstate_t.m4 m4/md5.m4 m4/memchr.m4 m4/mempcpy.m4 m4/minmax.m4 m4/mmap-anon.m4 m4/mode_t.m4 m4/modf.m4 m4/modfl.m4 m4/msvc-inval.m4 m4/msvc-nothrow.m4 m4/multiarch.m4 m4/musl.m4 m4/netinet_in_h.m4 m4/nocrash.m4 m4/off64_t.m4 m4/off_t.m4 m4/once.m4 m4/open-cloexec.m4 m4/open-slash.m4 m4/open.m4 m4/pathmax.m4 m4/pclose.m4 m4/pid_t.m4 m4/popen.m4 m4/printf.m4 m4/pthread-once.m4 m4/pthread-spin.m4 m4/pthread_h.m4 m4/pthread_rwlock_rdlock.m4 m4/quotearg.m4 m4/random.m4 m4/random_r.m4 m4/realloc.m4 m4/reallocarray.m4 m4/round.m4 m4/roundl.m4 m4/sched_h.m4 m4/setlocale.m4 m4/setlocale_null.m4 m4/sha1.m4 m4/sha256.m4 m4/sha512.m4 m4/signbit.m4 m4/size_max.m4 m4/snprintf.m4 m4/socklen.m4 m4/sockpfaf.m4 m4/sqrt.m4 m4/sqrtl.m4 m4/ssize_t.m4 m4/stat-time.m4 m4/stat.m4 m4/std-gnu11.m4 m4/stdalign.m4 m4/stdarg.m4 m4/stddef_h.m4 m4/stdint.m4 m4/stdint_h.m4 m4/stdio_h.m4 m4/stdlib_h.m4 m4/stdnoreturn.m4 m4/stpcpy.m4 m4/strcasecmp.m4 m4/strdup.m4 m4/strerror.m4 m4/string_h.m4 m4/strings_h.m4 m4/strncasecmp.m4 m4/strnlen.m4 m4/strsep.m4 m4/strtod.m4 m4/strtold.m4 m4/strtoll.m4 m4/strtoull.m4 m4/strtoumax.m4 m4/sys_cdefs_h.m4 m4/sys_random_h.m4 m4/sys_socket_h.m4 m4/sys_stat_h.m4 m4/sys_types_h.m4 m4/sys_uio_h.m4 m4/sys_wait_h.m4 m4/threadlib.m4 m4/time_h.m4 m4/trunc.m4 m4/truncl.m4 m4/uchar_h.m4 m4/ungetc.m4 m4/unicase_h.m4 m4/unictype_h.m4 m4/uninorm_h.m4 m4/unistd_h.m4 m4/unlocked-io.m4 m4/vararrays.m4 m4/vasnprintf.m4 m4/version-etc.m4 m4/visibility.m4 m4/waitpid.m4 m4/warn-on-use.m4 m4/warnings.m4 m4/wchar_h.m4 m4/wctype_h.m4 m4/wcwidth.m4 m4/wint_t.m4 m4/xalloc.m4 m4/xsize.m4 m4/xstrtol.m4 m4/zzgnulib.m4 top/GNUmakefile top/README-release top/maint.mk ]) datamash-1.9/m4/gnulib-i18n.m40000644000000000000000000000463114767401140011423 # gnulib-i18n.m4 # serial 1 dnl Copyright (C) 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Support for internationalization of Gnulib code. dnl GNULIB_I18N dnl Sets GNULIB_LOCALEDIR to indicate where to find the gnulib.mo files. dnl Also it defines GNULIB_LOCALEDIR as macro in config.h, that expands to dnl the corresponding C string. AC_DEFUN([GNULIB_I18N], [ dnl It is best to not test "$USE_NLS" here, because: It would be empty dnl in case the package is internationalized but this macro is used before dnl AM_GNU_GETTEXT. We would need to warn about this situation. But since dnl this module is used as a dependency of many packages, such a warning is dnl not welcome. dnl Determine gnulib's localedir. dnl Generally, accept an option --with-gnulib-prefix=PREFIX to indicate dnl where to find gnulib's runtime data. dnl Usually ${prefix}/share/locale, but can be influenced by the configure dnl options --datarootdir and --localedir. GNULIB_LOCALEDIR="${localedir}" AC_ARG_WITH([gnulib-prefix], [[ --with-gnulib-prefix=DIR search for gnulib's runtime data in DIR/share]], [if test "X$withval" != "X" && test "X$withval" != "Xno"; then GNULIB_LOCALEDIR="$withval/share/locale" fi ]) AC_SUBST([GNULIB_LOCALEDIR]) dnl Define GNULIB_LOCALEDIR_c and GNULIB_LOCALEDIR_c_make. dnl Find the final value of GNULIB_LOCALEDIR. gl_saved_prefix="${prefix}" gl_saved_datarootdir="${datarootdir}" gl_saved_localedir="${localedir}" gl_saved_gnuliblocaledir="${GNULIB_LOCALEDIR}" dnl Unfortunately, prefix gets only finally determined at the end of dnl configure. if test "X$prefix" = "XNONE"; then prefix="$ac_default_prefix" fi eval datarootdir="$datarootdir" eval localedir="$localedir" eval GNULIB_LOCALEDIR="$GNULIB_LOCALEDIR" gl_BUILD_TO_HOST([GNULIB_LOCALEDIR]) GNULIB_LOCALEDIR="${gl_saved_gnuliblocaledir}" localedir="${gl_saved_localedir}" datarootdir="${gl_saved_datarootdir}" prefix="${gl_saved_prefix}" AC_DEFINE_UNQUOTED([GNULIB_LOCALEDIR], [${GNULIB_LOCALEDIR_c}], [Define to the directory where to find the localizations of the translation domain 'gnulib', as a C string.]) ]) datamash-1.9/m4/host-cpu-c-abi.m40000644000000000000000000004157414767401140012110 # host-cpu-c-abi.m4 # serial 19 dnl Copyright (C) 2002-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible and Sam Steingold. dnl Sets the HOST_CPU variable to the canonical name of the CPU. dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its dnl C language ABI (application binary interface). dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in dnl config.h. dnl dnl This canonical name can be used to select a particular assembly language dnl source file that will interoperate with C code on the given host. dnl dnl For example: dnl * 'i386' and 'sparc' are different canonical names, because code for i386 dnl will not run on SPARC CPUs and vice versa. They have different dnl instruction sets. dnl * 'sparc' and 'sparc64' are different canonical names, because code for dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit dnl mode, but not both. dnl * 'mips' and 'mipsn32' are different canonical names, because they use dnl different argument passing and return conventions for C functions, and dnl although the instruction set of 'mips' is a large subset of the dnl instruction set of 'mipsn32'. dnl * 'mipsn32' and 'mips64' are different canonical names, because they use dnl different sizes for the C types like 'int' and 'void *', and although dnl the instruction sets of 'mipsn32' and 'mips64' are the same. dnl * The same canonical name is used for different endiannesses. You can dnl determine the endianness through preprocessor symbols: dnl - 'arm': test __ARMEL__. dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL. dnl - 'powerpc64': test __BIG_ENDIAN__ vs. __LITTLE_ENDIAN__. dnl * The same name 'i386' is used for CPUs of type i386, i486, i586 dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because dnl - Instructions that do not exist on all of these CPUs (cmpxchg, dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your dnl assembly language source files use such instructions, you will dnl need to make the distinction. dnl - Speed of execution of the common instruction set is reasonable across dnl the entire family of CPUs. If you have assembly language source files dnl that are optimized for particular CPU types (like GNU gmp has), you dnl will need to make the distinction. dnl See . AC_DEFUN([gl_HOST_CPU_C_ABI], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_C_ASM]) AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi], [case "$host_cpu" in changequote(,)dnl i[34567]86 ) changequote([,])dnl gl_cv_host_cpu_c_abi=i386 ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=x86_64-x32], [gl_cv_host_cpu_c_abi=x86_64])], [gl_cv_host_cpu_c_abi=i386]) ;; changequote(,)dnl alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) changequote([,])dnl gl_cv_host_cpu_c_abi=alpha ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __aarch64__ int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=arm64-ilp32], [gl_cv_host_cpu_c_abi=arm64])], [# Don't distinguish little-endian and big-endian arm, since they # don't require different machine code for simple operations and # since the user can distinguish them through the preprocessor # defines __ARMEL__ vs. __ARMEB__. # But distinguish arm which passes floating-point arguments and # return values in integer registers (r0, r1, ...) - this is # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which # passes them in float registers (s0, s1, ...) and double registers # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer # sets the preprocessor defines __ARM_PCS (for the first case) and # __ARM_PCS_VFP (for the second case), but older GCC does not. echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c # Look for a reference to the register d0 in the .s file. AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then gl_cv_host_cpu_c_abi=armhf else gl_cv_host_cpu_c_abi=arm fi rm -f conftest* ]) ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __LP64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=hppa64], [gl_cv_host_cpu_c_abi=hppa]) ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=ia64-ilp32], [gl_cv_host_cpu_c_abi=ia64]) ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mips64], [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIN32. # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIO32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (_MIPS_SIM == _ABIN32) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mipsn32], [gl_cv_host_cpu_c_abi=mips])]) ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __powerpc64__ || defined __LP64__ int ok; #else error fail #endif ]])], [# On powerpc64, there are two ABIs on Linux: The AIX compatible # one and the ELFv2 one. The latter defines _CALL_ELF=2. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _CALL_ELF && _CALL_ELF == 2 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=powerpc64-elfv2], [gl_cv_host_cpu_c_abi=powerpc64]) ], [gl_cv_host_cpu_c_abi=powerpc]) ;; rs6000 ) gl_cv_host_cpu_c_abi=powerpc ;; riscv32 | riscv64 ) # There are 2 architectures (with variants): rv32* and rv64*. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if __riscv_xlen == 64 int ok; #else error fail #endif ]])], [cpu=riscv64], [cpu=riscv32]) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ int ok; #else error fail #endif ]])], [main_abi=lp64], [main_abi=ilp32]) # Float ABIs: # __riscv_float_abi_double: # 'float' and 'double' are passed in floating-point registers. # __riscv_float_abi_single: # 'float' are passed in floating-point registers. # __riscv_float_abi_soft: # No values are passed in floating-point registers. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_double int ok; #else error fail #endif ]])], [float_abi=d], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_single int ok; #else error fail #endif ]])], [float_abi=f], [float_abi='']) ]) gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}" ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=s390x], [gl_cv_host_cpu_c_abi=s390]) ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=sparc64], [gl_cv_host_cpu_c_abi=sparc]) ;; *) gl_cv_host_cpu_c_abi="$host_cpu" ;; esac ]) dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same. HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'` HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi" AC_SUBST([HOST_CPU]) AC_SUBST([HOST_CPU_C_ABI]) # This was # AC_DEFINE_UNQUOTED([__${HOST_CPU}__]) # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__]) # earlier, but KAI C++ 3.2d doesn't like this. sed -e 's/-/_/g' >> confdefs.h <. dnl Don't make changes that are incompatible with that documentation! AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. gl_saved_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$gl_saved_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10, macOS 14.4. gl_saved_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif ]], [[int result = 0; /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from successful returns. This is even documented in */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against macOS 14.4 bug: Failures are not distinguishable from successful returns. POSIX:2018 says: "The iconv() function shall ... return the number of non-identical conversions performed." But here, the conversion always does transliteration (the suffixes "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and does not report when it does a non-identical conversion. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); /* Here: With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ. With musl libc, NetBSD 10, Solaris 11: res == 1. With macOS 14.4: res == 0, output is "l". */ if (res == 0) result |= 2; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 4; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 8; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 16; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 32; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ]])], [am_cv_func_iconv_works=yes], , [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) test "$am_cv_func_iconv_works" = no || break done LIBS="$gl_saved_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$gl_saved_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE, in order to avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". AC_DEFUN_ONCE([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([whether iconv is compatible with its POSIX signature], [gl_cv_iconv_nonconst], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include extern #ifdef __cplusplus "C" #endif size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); ]], [[]])], [gl_cv_iconv_nonconst=yes], [gl_cv_iconv_nonconst=no]) ]) else dnl When compiling GNU libiconv on a system that does not have iconv yet, dnl pick the POSIX compliant declaration without 'const'. gl_cv_iconv_nonconst=yes fi if test $gl_cv_iconv_nonconst = yes; then iconv_arg1="" else iconv_arg1="const" fi AC_DEFINE_UNQUOTED([ICONV_CONST], [$iconv_arg1], [Define as const if the declaration of iconv() needs const.]) dnl Also substitute ICONV_CONST in the gnulib generated . m4_ifdef([gl_ICONV_H_DEFAULTS], [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test $gl_cv_iconv_nonconst != yes; then ICONV_CONST="const" fi ]) dnl A summary result, for those packages which want to print a summary at the dnl end of the configuration. if test "$am_func_iconv" = yes; then if test -n "$LIBICONV"; then am_cv_func_iconv_summary='yes, in libiconv' else am_cv_func_iconv_summary='yes, in libc' fi else if test "$am_cv_func_iconv" = yes; then am_cv_func_iconv_summary='not working, consider installing GNU libiconv' else am_cv_func_iconv_summary='no, consider installing GNU libiconv' fi fi ]) datamash-1.9/m4/iconv_h.m40000644000000000000000000000476314767401140011021 # iconv_h.m4 # serial 16 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_ICONV_H], [ AC_REQUIRE([gl_ICONV_H_DEFAULTS]) dnl Execute this unconditionally, because GL_GENERATE_ICONV_H may be set to dnl true by other modules, after this code is executed. gl_CHECK_NEXT_HEADERS([iconv.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], [iconv iconv_open]) AC_REQUIRE([AC_C_RESTRICT]) ]) dnl Unconditionally enables the replacement of . AC_DEFUN([gl_REPLACE_ICONV_H], [ gl_ICONV_H_REQUIRE_DEFAULTS GL_GENERATE_ICONV_H=true ]) # gl_ICONV_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_ICONV_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_ICONV_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_ICONV_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_ICONV_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ICONV]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_ICONV_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_ICONV_H_DEFAULTS]) ]) AC_DEFUN([gl_ICONV_H_DEFAULTS], [ m4_ifdef([gl_ANSI_CXX], [AC_REQUIRE([gl_ANSI_CXX])]) dnl Assume proper GNU behavior unless another module says otherwise. ICONV_CONST=; AC_SUBST([ICONV_CONST]) REPLACE_ICONV=0; AC_SUBST([REPLACE_ICONV]) REPLACE_ICONV_OPEN=0; AC_SUBST([REPLACE_ICONV_OPEN]) REPLACE_ICONV_UTF=0; AC_SUBST([REPLACE_ICONV_UTF]) GL_GENERATE_ICONV_H=false m4_ifdef([gl_POSIXCHECK], [GL_GENERATE_ICONV_H=true], [if m4_ifdef([gl_ANSI_CXX], [test "$CXX" != no], [false]); then dnl Override always, to support the C++ GNULIB_NAMESPACE. GL_GENERATE_ICONV_H=true fi ]) ]) datamash-1.9/m4/iconv_open.m40000644000000000000000000000425414767401140011526 # iconv_open.m4 # serial 17 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ICONV_OPEN], [ AC_REQUIRE([AM_ICONV]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test "$am_cv_func_iconv" = yes; then dnl Provide the override, for the sake of the C++ aliases. gl_REPLACE_ICONV_H dnl Test whether iconv_open accepts standardized encoding names. dnl We know that GNU libiconv and GNU libc do. AC_EGREP_CPP([gnu_iconv], [ #include #if (defined _LIBICONV_VERSION && !(_LIBICONV_VERSION == 0x10b && defined __APPLE__)) \ || (defined __GLIBC__ && !defined __UCLIBC__) gnu_iconv #endif ], [gl_func_iconv_gnu=yes], [gl_func_iconv_gnu=no]) if test $gl_func_iconv_gnu = no; then iconv_flavor= case "$host_os" in aix*) iconv_flavor=ICONV_FLAVOR_AIX ;; irix*) iconv_flavor=ICONV_FLAVOR_IRIX ;; hpux*) iconv_flavor=ICONV_FLAVOR_HPUX ;; osf*) iconv_flavor=ICONV_FLAVOR_OSF ;; solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;; openedition*) iconv_flavor=ICONV_FLAVOR_ZOS ;; esac if test -n "$iconv_flavor"; then AC_DEFINE_UNQUOTED([ICONV_FLAVOR], [$iconv_flavor], [Define to a symbolic name denoting the flavor of iconv_open() implementation.]) gl_REPLACE_ICONV_OPEN fi fi m4_ifdef([gl_FUNC_ICONV_OPEN_UTF_SUPPORT], [ gl_FUNC_ICONV_OPEN_UTF_SUPPORT case "$gl_cv_func_iconv_supports_utf" in *yes) ;; *) REPLACE_ICONV_UTF=1 AC_DEFINE([REPLACE_ICONV_UTF], [1], [Define if the iconv() functions are enhanced to handle the UTF-{16,32}{BE,LE} encodings.]) REPLACE_ICONV=1 gl_REPLACE_ICONV_OPEN ;; esac ]) fi ]) AC_DEFUN([gl_REPLACE_ICONV_OPEN], [ gl_REPLACE_ICONV_H REPLACE_ICONV_OPEN=1 ]) datamash-1.9/m4/include_next.m40000644000000000000000000002113014767401140012040 # include_next.m4 # serial 27 dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paul Eggert and Derek Price. dnl Sets INCLUDE_NEXT, INCLUDE_NEXT_AS_FIRST_DIRECTIVE, PRAGMA_SYSTEM_HEADER, dnl and PRAGMA_COLUMNS. dnl dnl INCLUDE_NEXT expands to 'include_next' if the compiler supports it, or to dnl 'include' otherwise. dnl dnl INCLUDE_NEXT_AS_FIRST_DIRECTIVE expands to 'include_next' if the compiler dnl supports it in the special case that it is the first include directive in dnl the given file, or to 'include' otherwise. dnl dnl PRAGMA_SYSTEM_HEADER can be used in files that contain #include_next, dnl so as to avoid GCC warnings when the gcc option -pedantic is used. dnl '#pragma GCC system_header' has the same effect as if the file was found dnl through the include search path specified with '-isystem' options (as dnl opposed to the search path specified with '-I' options). Namely, gcc dnl does not warn about some things, and on some systems (Solaris and Interix) dnl __STDC__ evaluates to 0 instead of to 1. The latter is an undesired side dnl effect; we are therefore careful to use 'defined __STDC__' or '1' instead dnl of plain '__STDC__'. dnl dnl PRAGMA_COLUMNS can be used in files that override system header files, so dnl as to avoid compilation errors on HP NonStop systems when the gnulib file dnl is included by a system header file that does a "#pragma COLUMNS 80" (which dnl has the effect of truncating the lines of that file and all files that it dnl includes to 80 columns) and the gnulib file has lines longer than 80 dnl columns. AC_DEFUN([gl_INCLUDE_NEXT], [ AC_LANG_PREPROC_REQUIRE() AC_CACHE_CHECK([whether the preprocessor supports include_next], [gl_cv_have_include_next], [rm -rf conftestd1a conftestd1b conftestd2 mkdir conftestd1a conftestd1b conftestd2 dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on dnl AIX 6.1 support include_next when used as first preprocessor directive dnl in a file, but not when preceded by another include directive. Check dnl for this bug by including . dnl Additionally, with this same compiler, include_next is a no-op when dnl used in a header file that was included by specifying its absolute dnl file name. Despite these two bugs, include_next is used in the dnl compiler's . By virtue of the second bug, we need to use dnl include_next as well in this case. cat < conftestd1a/conftest.h #define DEFINED_IN_CONFTESTD1 #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd1b/conftest.h #define DEFINED_IN_CONFTESTD1 #include #include_next #ifdef DEFINED_IN_CONFTESTD2 int foo; #else #error "include_next doesn't work" #endif EOF cat < conftestd2/conftest.h #ifndef DEFINED_IN_CONFTESTD1 #error "include_next test doesn't work" #endif #define DEFINED_IN_CONFTESTD2 EOF gl_saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$gl_saved_CPPFLAGS -Iconftestd1b -Iconftestd2" dnl We intentionally avoid using AC_LANG_SOURCE here. AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], [gl_cv_have_include_next=yes], [CPPFLAGS="$gl_saved_CPPFLAGS -Iconftestd1a -Iconftestd2" AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], [gl_cv_have_include_next=buggy], [gl_cv_have_include_next=no]) ]) CPPFLAGS="$gl_saved_CPPFLAGS" rm -rf conftestd1a conftestd1b conftestd2 ]) PRAGMA_SYSTEM_HEADER= if test $gl_cv_have_include_next = yes; then INCLUDE_NEXT=include_next INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next if test -n "$GCC"; then PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' fi else if test $gl_cv_have_include_next = buggy; then INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next else INCLUDE_NEXT=include INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include fi fi AC_SUBST([INCLUDE_NEXT]) AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) AC_SUBST([PRAGMA_SYSTEM_HEADER]) dnl HP NonStop systems, which define __TANDEM, limit the line length dnl after including some system header files. AC_CACHE_CHECK([whether source code line length is unlimited], [gl_cv_source_line_length_unlimited], [AC_EGREP_CPP([choke me], [ #ifdef __TANDEM choke me #endif ], [gl_cv_source_line_length_unlimited=no], [gl_cv_source_line_length_unlimited=yes]) ]) if test $gl_cv_source_line_length_unlimited = no; then PRAGMA_COLUMNS="#pragma COLUMNS 10000" else PRAGMA_COLUMNS= fi AC_SUBST([PRAGMA_COLUMNS]) ]) # gl_CHECK_NEXT_HEADERS(HEADER1 HEADER2 ...) # ------------------------------------------ # For each arg foo.h, if #include_next works, define NEXT_FOO_H to be # ''; otherwise define it to be # '"///usr/include/foo.h"', or whatever other absolute file name is suitable. # Also, if #include_next works as first preprocessing directive in a file, # define NEXT_AS_FIRST_DIRECTIVE_FOO_H to be ''; otherwise define it to # be # '"///usr/include/foo.h"', or whatever other absolute file name is suitable. # That way, a header file with the following line: # #@INCLUDE_NEXT@ @NEXT_FOO_H@ # or # #@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_FOO_H@ # behaves (after sed substitution) as if it contained # #include_next # even if the compiler does not support include_next. # The three "///" are to pacify Sun C 5.8, which otherwise would say # "warning: #include of /usr/include/... may be non-portable". # Use '""', not '<>', so that the /// cannot be confused with a C99 comment. # Note: This macro assumes that the header file is not empty after # preprocessing, i.e. it does not only define preprocessor macros but also # provides some type/enum definitions or function/variable declarations. # # This macro also checks whether each header exists, by invoking # AC_CHECK_HEADERS_ONCE or AC_CHECK_HEADERS on each argument. AC_DEFUN([gl_CHECK_NEXT_HEADERS], [ gl_NEXT_HEADERS_INTERNAL([$1], [check]) ]) # gl_NEXT_HEADERS(HEADER1 HEADER2 ...) # ------------------------------------ # Like gl_CHECK_NEXT_HEADERS, except do not check whether the headers exist. # This is suitable for headers like that are standardized by C89 # and therefore can be assumed to exist. AC_DEFUN([gl_NEXT_HEADERS], [ gl_NEXT_HEADERS_INTERNAL([$1], [assume]) ]) # The guts of gl_CHECK_NEXT_HEADERS and gl_NEXT_HEADERS. AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], [ AC_REQUIRE([gl_INCLUDE_NEXT]) AC_REQUIRE([AC_CANONICAL_HOST]) m4_if([$2], [check], [AC_CHECK_HEADERS_ONCE([$1]) ]) m4_foreach_w([gl_HEADER_NAME], [$1], [AS_VAR_PUSHDEF([gl_next_header], [gl_cv_next_]m4_defn([gl_HEADER_NAME])) if test $gl_cv_have_include_next = yes; then AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) else AC_CACHE_CHECK( [absolute name of <]m4_defn([gl_HEADER_NAME])[>], [gl_next_header], [m4_if([$2], [check], [AS_VAR_PUSHDEF([gl_header_exists], [ac_cv_header_]m4_defn([gl_HEADER_NAME])) if test AS_VAR_GET([gl_header_exists]) = yes; then AS_VAR_POPDEF([gl_header_exists]) ]) gl_ABSOLUTE_HEADER_ONE(gl_HEADER_NAME) AS_VAR_COPY([gl_header], [gl_cv_absolute_]AS_TR_SH(gl_HEADER_NAME)) AS_VAR_SET([gl_next_header], ['"'$gl_header'"']) m4_if([$2], [check], [else AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) fi ]) ]) fi AC_SUBST( AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), [AS_VAR_GET([gl_next_header])]) if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' gl_next_as_first_directive='<'gl_HEADER_NAME'>' else # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' gl_next_as_first_directive=AS_VAR_GET([gl_next_header]) fi AC_SUBST( AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), [$gl_next_as_first_directive]) AS_VAR_POPDEF([gl_next_header])]) ]) # Autoconf 2.68 added warnings for our use of AC_COMPILE_IFELSE; # this fallback is safe for all earlier autoconf versions. m4_define_default([AC_LANG_DEFINES_PROVIDED]) datamash-1.9/m4/inet_pton.m40000644000000000000000000000455214767401140011367 # inet_pton.m4 # serial 20 dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_INET_PTON], [ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) dnl Persuade Solaris to declare inet_pton. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_C_RESTRICT]) dnl Most platforms that provide inet_pton define it in libc. dnl Solaris 8..10 provide inet_pton in libnsl instead. dnl Solaris 2.6..7 provide inet_pton in libresolv instead. dnl Haiku provides it in -lnetwork. dnl Native Windows provides it in -lws2_32 instead, with a declaration in dnl , and it uses stdcall calling convention, not cdecl dnl (hence we cannot use AC_CHECK_FUNCS, AC_SEARCH_LIBS to find it). HAVE_INET_PTON=1 INET_PTON_LIB= gl_PREREQ_SYS_H_WINSOCK2 if test $HAVE_WINSOCK2_H = 1; then dnl It needs to be overridden, because the stdcall calling convention dnl is not compliant with POSIX. Set REPLACE_INET_PTON in order to avoid dnl a name conflict at the linker level, even though the header file dnl declares inet_pton only if _WIN32_WINNT >= 0x0600. REPLACE_INET_PTON=1 AC_CHECK_DECLS([inet_pton],,, [[#include ]]) if test $ac_cv_have_decl_inet_pton = yes; then INET_PTON_LIB="-lws2_32" else HAVE_DECL_INET_PTON=0 fi else gl_saved_LIBS=$LIBS AC_SEARCH_LIBS([inet_pton], [nsl resolv network], [], [AC_CHECK_FUNCS([inet_pton]) if test $ac_cv_func_inet_pton = no; then HAVE_INET_PTON=0 fi ]) LIBS=$gl_saved_LIBS if test "$ac_cv_search_inet_pton" != "no" \ && test "$ac_cv_search_inet_pton" != "none required"; then INET_PTON_LIB="$ac_cv_search_inet_pton" fi AC_CHECK_HEADERS_ONCE([netdb.h]) AC_CHECK_DECLS([inet_pton],,, [[#include #if HAVE_NETDB_H # include #endif ]]) if test $ac_cv_have_decl_inet_pton = no; then HAVE_DECL_INET_PTON=0 fi fi AC_SUBST([INET_PTON_LIB]) ]) # Prerequisites of lib/inet_pton.c. AC_DEFUN([gl_PREREQ_INET_PTON], [ AC_REQUIRE([gl_SOCKET_FAMILIES]) ]) datamash-1.9/m4/inline.m40000644000000000000000000000351214767401140010641 # inline.m4 # serial 5 dnl Copyright (C) 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Test for the 'inline' keyword or equivalent. dnl Define 'inline' to a supported equivalent, or to nothing if not supported, dnl like AC_C_INLINE does. Also, define HAVE_INLINE if 'inline' or an dnl equivalent is effectively supported, i.e. if the compiler is likely to dnl actually inline 'static inline' functions when there are used. (All dnl versions of gcc and clang actually drop the code of 'static inline' dnl functions that are unused in the current compilation unit.) AC_DEFUN([gl_INLINE], [ AC_REQUIRE([AC_C_INLINE]) AC_CACHE_CHECK([whether the compiler generally respects inline], [gl_cv_c_inline_effective], [if test $ac_cv_c_inline = no; then gl_cv_c_inline_effective=no else dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is dnl specified. dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result dnl depends on optimization flags, which can be in CFLAGS. dnl (AC_EGREP_CPP looks only at the CPPFLAGS.) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[#ifdef __NO_INLINE__ #error "inline is not effective" #endif]])], [gl_cv_c_inline_effective=yes], [gl_cv_c_inline_effective=no]) fi ]) if test $gl_cv_c_inline_effective = yes; then AC_DEFINE([HAVE_INLINE], [1], [Define to 1 if the compiler supports one of the keywords 'inline', '__inline__', '__inline' and effectively inlines functions marked as such.]) fi ]) datamash-1.9/m4/intl-thread-locale.m40000644000000000000000000002350114771573666013055 # intl-thread-locale.m4 # serial 15 dnl Copyright (C) 2015-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Lesser General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Check how to retrieve the name of a per-thread locale (POSIX locale_t). dnl Sets gt_nameless_locales. AC_DEFUN([gt_INTL_THREAD_LOCALE_NAME], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl Persuade Solaris to define 'locale_t'. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl Test whether uselocale() exists and works at all. gt_FUNC_USELOCALE dnl On OpenBSD >= 6.2, the locale_t type and the uselocale(), newlocale(), dnl duplocale(), freelocale() functions exist but are effectively useless, dnl because the locale_t value depends only on the LC_CTYPE category of the dnl locale and furthermore contains only one bit of information (it dnl distinguishes the "C" locale from the *.UTF-8 locales). See dnl . dnl In the setlocale() implementation they have thought about the programs dnl that use the API ("Even though only LC_CTYPE has any effect in the dnl OpenBSD base system, store complete information about the global locale, dnl such that third-party software can access it"), but for uselocale() dnl they did not think about the programs. dnl In this situation, even the HAVE_NAMELESS_LOCALES support cannot make dnl uselocale() work. dnl Similarly on Android. See dnl . dnl So, define HAVE_FAKE_LOCALES and disable all per-thread locale support. dnl Expected result: dnl - HAVE_FAKE_LOCALES is defined on OpenBSD ≥ 6.2, Android API level >= 21. case "$gt_cv_func_uselocale_works" in *yes) AC_CHECK_HEADERS_ONCE([xlocale.h]) AC_CACHE_CHECK([for fake locale system (OpenBSD, Android)], [gt_cv_locale_fake], [case "$host_os" in *-android*) gt_cv_locale_fake=yes ;; *) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_XLOCALE_H # include #endif int main () { locale_t loc1, loc2; if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL) return 1; if (setlocale (LC_ALL, "fr_FR.UTF-8") == NULL) return 1; loc1 = newlocale (LC_ALL_MASK, "de_DE.UTF-8", (locale_t)0); loc2 = newlocale (LC_ALL_MASK, "fr_FR.UTF-8", (locale_t)0); return !(loc1 == loc2); }]])], [gt_cv_locale_fake=yes], [gt_cv_locale_fake=no], [dnl Guess the locale system is fake only on OpenBSD. case "$host_os" in openbsd*) gt_cv_locale_fake="guessing yes" ;; *) gt_cv_locale_fake="guessing no" ;; esac ]) ;; esac ]) ;; *) gt_cv_locale_fake=no ;; esac case "$gt_cv_locale_fake" in *yes) gt_fake_locales=yes AC_DEFINE([HAVE_FAKE_LOCALES], [1], [Define if the locale_t type contains insufficient information, as on OpenBSD.]) ;; *) gt_fake_locales=no ;; esac dnl Expected result: HAVE_SOLARIS114_LOCALES is defined on Solaris ≥ 11.4. case "$gt_cv_func_uselocale_works" in *yes) AC_CACHE_CHECK([for Solaris 11.4 locale system], [gt_cv_locale_solaris114], [case "$host_os" in solaris*) dnl Test whether defines locale_t as a typedef of dnl 'struct _LC_locale_t **' (whereas Illumos defines it as a dnl typedef of 'struct _locale *'). dnl Another possible test would be to include dnl and test whether it defines the _LC_core_data_locale_t type. dnl This type was added in Solaris 11.4. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include struct _LC_locale_t *x; locale_t y; ]], [[*y = x;]])], [gt_cv_locale_solaris114=yes], [gt_cv_locale_solaris114=no]) ;; *) gt_cv_locale_solaris114=no ;; esac ]) ;; *) gt_cv_locale_solaris114=no ;; esac if test $gt_cv_locale_solaris114 = yes; then AC_DEFINE([HAVE_SOLARIS114_LOCALES], [1], [Define if the locale_t type is as on Solaris 11.4.]) fi dnl This code is for platforms where the locale_t type does not provide access dnl to the name of each locale category. This code has the drawback that it dnl requires the gnulib overrides of 'newlocale', 'duplocale', 'freelocale', dnl which is a problem for GNU libunistring. Therefore try hard to avoid dnl enabling this code! dnl Expected result: dnl - HAVE_NAMELESS_LOCALES is defined on OpenBSD ≥ 6.2, AIX, dnl Android API level >= 21, dnl - HAVE_AIX72_LOCALES is defined on AIX ≥ 7.2. gt_nameless_locales=$gt_fake_locales case "$host_os" in dnl It's needed on AIX 7.2. aix*) gt_nameless_locales=yes dnl In AIX ≥ 7.2, a locale contains at least the name of the LC_MESSAGES dnl category (fix of defect 823926). AC_CACHE_CHECK([for AIX locales with LC_MESSAGES name], [gt_cv_locale_aix72], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #include /* Include , which defines __locale_t. */ #include locale_t x; ]], [[return ((__locale_t) x)->locale_name[0];]])], [gt_cv_locale_aix72=yes], [gt_cv_locale_aix72=no]) ]) if test $gt_cv_locale_aix72 = yes; then AC_DEFINE([HAVE_AIX72_LOCALES], [1], [Define if the __locale_t type contains the name of the LC_MESSAGES category.]) fi ;; esac if test $gt_nameless_locales = yes; then AC_DEFINE([HAVE_NAMELESS_LOCALES], [1], [Define if the locale_t type does not contain the name of each locale category.]) fi dnl We cannot support uselocale() on platforms where the locale_t type is dnl fake. So, set dnl gt_good_uselocale = gt_working_uselocale && !gt_fake_locales. dnl Expected result: HAVE_GOOD_USELOCALE is defined on all platforms except dnl FreeBSD < 9.1, NetBSD, OpenBSD, Minix, AIX < 7, AIX 7.2, HP-UX, IRIX, dnl Solaris < 11.4, Cygwin < 2.6, mingw, MSVC 14, Android. if test $gt_working_uselocale = yes && test $gt_fake_locales = no; then gt_good_uselocale=yes AC_DEFINE([HAVE_GOOD_USELOCALE], [1], [Define if the uselocale function exists, may be safely called, and returns sufficient information.]) else gt_good_uselocale=no fi dnl Set gt_localename_enhances_locale_funcs to indicate whether localename.c dnl overrides newlocale(), duplocale(), freelocale() to keep track of locale dnl names. dnl Expected result: LOCALENAME_ENHANCE_LOCALE_FUNCS is defined on dnl OpenBSD ≥ 6.2, AIX 7.1, AIX ≥ 7.3, Android API level >= 21. if test $gt_working_uselocale = yes && test $gt_nameless_locales = yes; then gt_localename_enhances_locale_funcs=yes LOCALENAME_ENHANCE_LOCALE_FUNCS=1 AC_DEFINE([LOCALENAME_ENHANCE_LOCALE_FUNCS], [1], [Define if localename.c overrides newlocale(), duplocale(), freelocale().]) else gt_localename_enhances_locale_funcs=no fi ]) dnl Tests whether uselocale() exists and is usable. dnl Sets gt_working_uselocale and defines HAVE_WORKING_USELOCALE. dnl Expected result: HAVE_WORKING_USELOCALE is defined on all platforms except dnl FreeBSD < 9.1, NetBSD, OpenBSD < 6.2, Minix, AIX < 7, AIX 7.2, HP-UX, IRIX, dnl Solaris < 11.4, Cygwin < 2.6, mingw, MSVC 14, Android API level < 21. AC_DEFUN([gt_FUNC_USELOCALE], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc and Solaris to define 'locale_t'. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) gl_CHECK_FUNCS_ANDROID([uselocale], [[#include ]]) dnl On AIX 7.2, the uselocale() function is not documented and leads to dnl crashes in subsequent setlocale() invocations. dnl In 2019, some versions of z/OS lack the locale_t type and have a broken dnl uselocale function. if test $ac_cv_func_uselocale = yes; then AC_CHECK_HEADERS_ONCE([xlocale.h]) AC_CACHE_CHECK([whether uselocale works], [gt_cv_func_uselocale_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_XLOCALE_H # include #endif locale_t loc1; int main () { uselocale (NULL); setlocale (LC_ALL, "en_US.UTF-8"); return 0; }]])], [gt_cv_func_uselocale_works=yes], [gt_cv_func_uselocale_works=no], [# Guess no on AIX and z/OS, yes otherwise. case "$host_os" in aix* | openedition*) gt_cv_func_uselocale_works="guessing no" ;; *) gt_cv_func_uselocale_works="guessing yes" ;; esac ]) ]) else gt_cv_func_uselocale_works=no fi case "$gt_cv_func_uselocale_works" in *yes) gt_working_uselocale=yes AC_DEFINE([HAVE_WORKING_USELOCALE], [1], [Define if the uselocale function exists and may safely be called.]) ;; *) gt_working_uselocale=no ;; esac ]) datamash-1.9/m4/intlmacosx.m40000644000000000000000000000675014771573666011575 # intlmacosx.m4 # serial 10 (gettext-0.23) dnl Copyright (C) 2004-2014, 2016, 2019-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Lesser General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on Mac OS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in Mac OS X 10.4. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFPreferencesCopyAppValue(NULL, NULL)]])], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_saved_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Don't check for the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, dnl because in macOS 10.13.4 it has the following behaviour: dnl When two or more languages are specified in the dnl "System Preferences > Language & Region > Preferred Languages" panel, dnl it returns en_CC where CC is the territory (even when English is not among dnl the preferred languages!). What we want instead is what dnl CFLocaleCopyCurrent returned in earlier macOS releases and what dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the dnl first among the preferred languages and CC is the territory. AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages], [gt_saved_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFLocaleCopyPreferredLanguages();]])], [gt_cv_func_CFLocaleCopyPreferredLanguages=yes], [gt_cv_func_CFLocaleCopyPreferredLanguages=no]) LIBS="$gt_saved_LIBS"]) if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1], [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then dnl Starting with macOS version 14, CoreFoundation relies on CoreServices, dnl and we have to link it in explicitly, otherwise an exception dnl NSInvalidArgumentException "unrecognized selector sent to instance" dnl occurs. INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) datamash-1.9/m4/intmax_t.m40000644000000000000000000000363414767401140011213 # intmax_t.m4 # serial 9 dnl Copyright (C) 1997-2004, 2006-2007, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paul Eggert. AC_PREREQ([2.53]) # Define intmax_t to 'long' or 'long long' # if it is not already defined in or . AC_DEFUN([gl_AC_TYPE_INTMAX_T], [ dnl For simplicity, we assume that a header file defines 'intmax_t' if and dnl only if it defines 'uintmax_t'. AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then AC_DEFINE_UNQUOTED([intmax_t], [long long], [Define to long or long long if and don't define.]) else AC_DEFINE([HAVE_INTMAX_T], [1], [Define if you have the 'intmax_t' type in or .]) fi ]) dnl An alternative would be to explicitly test for 'intmax_t'. AC_DEFUN([gt_AC_TYPE_INTMAX_T], [ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif ]], [[intmax_t x = -1; return !x;]])], [gt_cv_c_intmax_t=yes], [gt_cv_c_intmax_t=no])]) if test $gt_cv_c_intmax_t = yes; then AC_DEFINE([HAVE_INTMAX_T], [1], [Define if you have the 'intmax_t' type in or .]) else AC_DEFINE_UNQUOTED([intmax_t], [long long], [Define to long or long long if and don't define.]) fi ]) datamash-1.9/m4/inttostr.m40000644000000000000000000000156114767401140011253 # inttostr.m4 # serial 8 dnl Copyright (C) 2004-2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_INTTOSTR], [ gl_PREREQ_INTTOSTR gl_PREREQ_IMAXTOSTR gl_PREREQ_OFFTOSTR gl_PREREQ_UMAXTOSTR gl_PREREQ_UINTTOSTR ]) # Prerequisites of lib/inttostr.h. AC_DEFUN([gl_PREREQ_INTTOSTR], [ AC_REQUIRE([AC_TYPE_OFF_T]) : ]) # Prerequisites of lib/imaxtostr.c. AC_DEFUN([gl_PREREQ_IMAXTOSTR], [:]) # Prerequisites of lib/offtostr.c. AC_DEFUN([gl_PREREQ_OFFTOSTR], [:]) # Prerequisites of lib/umaxtostr.c. AC_DEFUN([gl_PREREQ_UMAXTOSTR], [:]) # Prerequisites of lib/uinttostr.c. AC_DEFUN([gl_PREREQ_UINTTOSTR], [:]) datamash-1.9/m4/inttypes.m40000644000000000000000000001440214767401140011242 # inttypes.m4 # serial 37 dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Derek Price, Bruno Haible. dnl Test whether is supported or must be substituted. AC_DEFUN_ONCE([gl_INTTYPES_H], [ AC_REQUIRE([gl_INTTYPES_INCOMPLETE]) gl_INTTYPES_PRI_SCN ]) AC_DEFUN_ONCE([gl_INTTYPES_INCOMPLETE], [ AC_REQUIRE([gl_STDINT_H]) AC_CHECK_HEADERS_ONCE([inttypes.h]) dnl Override always, so that the portability warnings work. AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([inttypes.h]) AC_REQUIRE([gl_MULTIARCH]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [imaxabs imaxdiv strtoimax strtoumax]) AC_REQUIRE([AC_C_RESTRICT]) ]) # Ensure that the PRI* and SCN* macros are defined appropriately. AC_DEFUN([gl_INTTYPES_PRI_SCN], [ PRIPTR_PREFIX= if $GL_GENERATE_STDINT_H; then dnl Using the gnulib . It defines intptr_t to 'long' or dnl 'long long', depending on _WIN64. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #ifdef _WIN64 LLP64 #endif ]]) ], [PRIPTR_PREFIX='"l"'], [PRIPTR_PREFIX='"ll"']) else dnl Using the system's . for glpfx in '' l ll I64; do case $glpfx in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; I64) gltype1='__int64';; esac AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include extern intptr_t foo; extern $gltype1 foo;]])], [PRIPTR_PREFIX='"'$glpfx'"']) test -n "$PRIPTR_PREFIX" && break done fi AC_SUBST([PRIPTR_PREFIX]) gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [INT32_MAX_LT_INTMAX_MAX], [defined INT32_MAX && defined INTMAX_MAX], [INT32_MAX < INTMAX_MAX], [sizeof (int) < sizeof (long long int)]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [INT64_MAX_EQ_LONG_MAX], [defined INT64_MAX], [INT64_MAX == LONG_MAX], [sizeof (long long int) == sizeof (long int)]) else INT64_MAX_EQ_LONG_MAX=-1 fi gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [UINT32_MAX_LT_UINTMAX_MAX], [defined UINT32_MAX && defined UINTMAX_MAX], [UINT32_MAX < UINTMAX_MAX], [sizeof (unsigned int) < sizeof (unsigned long long int)]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION( [UINT64_MAX_EQ_ULONG_MAX], [defined UINT64_MAX], [UINT64_MAX == ULONG_MAX], [sizeof (unsigned long long int) == sizeof (unsigned long int)]) else UINT64_MAX_EQ_ULONG_MAX=-1 fi ]) # Define the symbol $1 to be 1 if the condition is true, 0 otherwise. # If $2 is true, the condition is $3; otherwise if long long int is supported # approximate the condition with $4; otherwise, assume the condition is false. # The condition should work on all C99 platforms; the approximations should be # good enough to work on all practical pre-C99 platforms. # $2 is evaluated by the C preprocessor, $3 and $4 as compile-time constants. AC_DEFUN([gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION], [ AC_CACHE_CHECK([whether $3], [gl_cv_test_$1], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* Work also in C++ mode. */ #define __STDC_LIMIT_MACROS 1 /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H #include #if HAVE_STDINT_H #include #endif #if $2 #define CONDITION ($3) #else #define CONDITION ($4) #endif int test[CONDITION ? 1 : -1];]])], [gl_cv_test_$1=yes], [gl_cv_test_$1=no])]) if test $gl_cv_test_$1 = yes; then $1=1; else $1=0; fi AC_SUBST([$1]) ]) # gl_INTTYPES_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_INTTYPES_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_INTTYPES_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_INTTYPES_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_INTTYPES_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_IMAXABS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_IMAXDIV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOIMAX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOUMAX]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_INTTYPES_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) ]) AC_DEFUN([gl_INTTYPES_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_IMAXABS=1; AC_SUBST([HAVE_DECL_IMAXABS]) HAVE_DECL_IMAXDIV=1; AC_SUBST([HAVE_DECL_IMAXDIV]) HAVE_DECL_STRTOIMAX=1; AC_SUBST([HAVE_DECL_STRTOIMAX]) HAVE_DECL_STRTOUMAX=1; AC_SUBST([HAVE_DECL_STRTOUMAX]) HAVE_IMAXDIV_T=1; AC_SUBST([HAVE_IMAXDIV_T]) HAVE_IMAXABS=1; AC_SUBST([HAVE_IMAXABS]) HAVE_IMAXDIV=1; AC_SUBST([HAVE_IMAXDIV]) REPLACE_IMAXABS=0; AC_SUBST([REPLACE_IMAXABS]) REPLACE_IMAXDIV=0; AC_SUBST([REPLACE_IMAXDIV]) REPLACE_STRTOIMAX=0; AC_SUBST([REPLACE_STRTOIMAX]) REPLACE_STRTOUMAX=0; AC_SUBST([REPLACE_STRTOUMAX]) INT32_MAX_LT_INTMAX_MAX=1; AC_SUBST([INT32_MAX_LT_INTMAX_MAX]) INT64_MAX_EQ_LONG_MAX='defined _LP64'; AC_SUBST([INT64_MAX_EQ_LONG_MAX]) PRIPTR_PREFIX=__PRIPTR_PREFIX; AC_SUBST([PRIPTR_PREFIX]) UINT32_MAX_LT_UINTMAX_MAX=1; AC_SUBST([UINT32_MAX_LT_UINTMAX_MAX]) UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; AC_SUBST([UINT64_MAX_EQ_ULONG_MAX]) ]) datamash-1.9/m4/inttypes_h.m40000644000000000000000000000206414771573666011574 # inttypes_h.m4 # serial 10 dnl Copyright (C) 1997-2004, 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paul Eggert. # Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[uintmax_t i = (uintmax_t) -1; return !i;]])], [gl_cv_header_inttypes_h=yes], [gl_cv_header_inttypes_h=no])]) if test $gl_cv_header_inttypes_h = yes; then AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) datamash-1.9/m4/isblank.m40000644000000000000000000000112214767401140011001 # isblank.m4 # serial 3 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ISBLANK], [ dnl Persuade glibc to declare isblank(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_CTYPE_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([isblank]) if test $ac_cv_func_isblank = no; then HAVE_ISBLANK=0 fi ]) datamash-1.9/m4/isfinite.m40000644000000000000000000001525714767401140011206 # isfinite.m4 # serial 20 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_ISFINITE], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl Persuade glibc to declare isfinite. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS([isfinite], , , [[#include ]]) if test "$ac_cv_have_decl_isfinite" = yes; then gl_CHECK_MATH_LIB([ISFINITE_LIBM], [double], [x = isfinite (x) + isfinite ((float) x);]) if test "$ISFINITE_LIBM" != missing; then dnl Test whether isfinite() on 'long double' works. gl_ISFINITEL_WORKS case "$gl_cv_func_isfinitel_works" in *yes) ;; *) ISFINITE_LIBM=missing;; esac dnl Also, isfinite() on 'double' does not work on Linux/ia64 (because of dnl signalling NaNs). But this does not have to be tested, since dnl isfinite(long double) also does not work in this situation. fi fi dnl On Solaris 10, with CC in C++ mode, isfinite is not available although dnl is with cc in C mode. This cannot be worked around by defining dnl _XOPEN_SOURCE=600, because the latter does not work in C++ mode on dnl Solaris 11.0. Therefore use the replacement functions on Solaris. if test "$ac_cv_have_decl_isfinite" != yes \ || test "$ISFINITE_LIBM" = missing \ || { case "$host_os" in solaris*) true;; *) false;; esac; }; then REPLACE_ISFINITE=1 dnl No libraries are needed to link lib/isfinite.c. ISFINITE_LIBM= fi AC_SUBST([ISFINITE_LIBM]) ]) dnl Test whether isfinite() on 'long double' recognizes all canonical values dnl which are neither finite nor infinite. AC_DEFUN([gl_ISFINITEL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether isfinite(long double) works], [gl_cv_func_isfinitel_works], [ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; { memory_long_double m; unsigned int i; /* The isfinite macro should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (isfinite (m.value)) result |= 1; #if defined LDBL_EXPBIT0_WORD && defined LDBL_EXPBIT0_BIT /* Another NaN, more precisely crafted. */ m.value = NaNl (); #if defined __powerpc__ && LDBL_MANT_DIG == 106 /* This is PowerPC "double double", a pair of two doubles. Inf and NaN are represented as the corresponding 64-bit IEEE values in the first double; the second is ignored. Manipulate only the first double. */ #define HNWORDS \ ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) #else #define HNWORDS NWORDS #endif #if LDBL_EXPBIT0_BIT > 0 m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); #else m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < HNWORDS / 2 ? 1 : - 1)] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); #endif m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < HNWORDS / 2 ? 1 : - 1)] |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; #undef HNWORDS if (isfinite (m.value)) result |= 1; #endif } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (isfinite (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (isfinite (x.value)) result |= 2; } /* isfinite should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isfinite (x.value) && !isfinite (x.value)) result |= 64; } #endif return result; }]])], [gl_cv_func_isfinitel_works=yes], [gl_cv_func_isfinitel_works=no], [case "$host_os" in # Guess no on native Windows. mingw* | windows*) gl_cv_func_isfinitel_works="guessing no" ;; *) gl_cv_func_isfinitel_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/isinf.m40000644000000000000000000001316014767401140010473 # isinf.m4 # serial 15 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_ISINF], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl Persuade glibc to declare isinf. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS([isinf], , , [[#include #ifndef isinf #error "isinf must be a macro, not a function" #endif ]]) if test "$ac_cv_have_decl_isinf" = yes; then gl_CHECK_MATH_LIB([ISINF_LIBM], [double], [x = isinf (x) + isinf ((float) x);]) if test "$ISINF_LIBM" != missing; then dnl Test whether isinf() on 'long double' works. gl_ISINFL_WORKS case "$gl_cv_func_isinfl_works" in *yes) ;; *) ISINF_LIBM=missing;; esac fi fi dnl On Solaris 10, with CC in C++ mode, isinf is not available although dnl is with cc in C mode. This cannot be worked around by defining dnl _XOPEN_SOURCE=600, because the latter does not work in C++ mode on dnl Solaris 11.0. Therefore use the replacement functions on Solaris. if test "$ac_cv_have_decl_isinf" != yes \ || test "$ISINF_LIBM" = missing \ || { case "$host_os" in solaris*) true;; *) false;; esac; }; then REPLACE_ISINF=1 dnl No libraries are needed to link lib/isinf.c. ISINF_LIBM= fi AC_SUBST([ISINF_LIBM]) ]) dnl Test whether isinf() works: dnl 1) Whether it correctly returns false for LDBL_MAX. dnl 2) Whether on 'long double' recognizes all canonical values which are dnl infinite. AC_DEFUN([gl_ISINFL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether isinf(long double) works], [gl_cv_func_isinfl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; if (isinf (LDBL_MAX)) result |= 1; { memory_long_double m; unsigned int i; /* The isinf macro should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (isinf (m.value)) result |= 2; } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (isinf (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (isinf (x.value)) result |= 2; } /* isinf should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isinf (x.value) && !isinf (x.value)) result |= 64; } #endif return result; }]])], [gl_cv_func_isinfl_works=yes], [gl_cv_func_isinfl_works=no], [case "$host_os" in mingw* | windows*) # Guess yes on mingw, no on MSVC. AC_EGREP_CPP([Known], [ #ifdef __MINGW32__ Known #endif ], [gl_cv_func_isinfl_works="guessing yes"], [gl_cv_func_isinfl_works="guessing no"]) ;; *) gl_cv_func_isinfl_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/isnand.m40000644000000000000000000000541214767401140010640 # isnand.m4 # serial 15 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Check how to get or define isnand(). AC_DEFUN_ONCE([gl_FUNC_ISNAND], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ISNAND_LIBM= gl_HAVE_ISNAND_NO_LIBM if test $gl_cv_func_isnand_no_libm = no; then gl_HAVE_ISNAND_IN_LIBM if test $gl_cv_func_isnand_in_libm = yes; then ISNAND_LIBM=-lm fi fi dnl The variable gl_func_isnand set here is used by isnan.m4. if test $gl_cv_func_isnand_no_libm = yes || test -n "$ISNAND_LIBM"; then gl_func_isnand=yes else gl_func_isnand=no HAVE_ISNAND=0 fi AC_SUBST([ISNAND_LIBM]) ]) dnl Check how to get or define isnand() without linking with libm. AC_DEFUN([gl_FUNC_ISNAND_NO_LIBM], [ gl_HAVE_ISNAND_NO_LIBM gl_func_isnand_no_libm=$gl_cv_func_isnand_no_libm if test $gl_cv_func_isnand_no_libm = yes; then AC_DEFINE([HAVE_ISNAND_IN_LIBC], [1], [Define if the isnan(double) function is available in libc.]) fi ]) dnl Prerequisites of replacement isnand definition. It does not need -lm. AC_DEFUN([gl_PREREQ_ISNAND], [ AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) ]) dnl Test whether isnand() can be used with libm. AC_DEFUN([gl_HAVE_ISNAND_IN_LIBM], [ AC_CACHE_CHECK([whether isnan(double) can be used with libm], [gl_cv_func_isnand_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) #elif defined isnan # undef isnand # define isnand(x) isnan ((double)(x)) #endif double x;]], [[return isnand (x);]])], [gl_cv_func_isnand_in_libm=yes], [gl_cv_func_isnand_in_libm=no]) LIBS="$saved_LIBS" ]) ]) AC_DEFUN([gl_HAVE_ISNAND_NO_LIBM], [ AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm], [gl_cv_func_isnand_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnand # define isnand(x) __builtin_isnan ((double)(x)) #else # undef isnand # define isnand(x) isnan ((double)(x)) #endif double x;]], [[return isnand (x);]])], [gl_cv_func_isnand_no_libm=yes], [gl_cv_func_isnand_no_libm=no]) ]) ]) datamash-1.9/m4/isnanf.m40000644000000000000000000001304714767401140010645 # isnanf.m4 # serial 21 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Check how to get or define isnanf(). AC_DEFUN([gl_FUNC_ISNANF], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ISNANF_LIBM= gl_HAVE_ISNANF_NO_LIBM if test $gl_cv_func_isnanf_no_libm = no; then gl_HAVE_ISNANF_IN_LIBM if test $gl_cv_func_isnanf_in_libm = yes; then ISNANF_LIBM=-lm fi fi dnl The variable gl_func_isnanf set here is used by isnan.m4. if test $gl_cv_func_isnanf_no_libm = yes || test -n "$ISNANF_LIBM"; then saved_LIBS="$LIBS" LIBS="$LIBS $ISNANF_LIBM" gl_ISNANF_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_isnanf_works" in *yes) gl_func_isnanf=yes ;; *) gl_func_isnanf=no; ISNANF_LIBM= ;; esac else gl_func_isnanf=no fi if test $gl_func_isnanf != yes; then HAVE_ISNANF=0 fi AC_SUBST([ISNANF_LIBM]) ]) dnl Check how to get or define isnanf() without linking with libm. AC_DEFUN([gl_FUNC_ISNANF_NO_LIBM], [ gl_HAVE_ISNANF_NO_LIBM if test $gl_cv_func_isnanf_no_libm = yes; then gl_ISNANF_WORKS fi if test $gl_cv_func_isnanf_no_libm = yes \ && { case "$gl_cv_func_isnanf_works" in *yes) true;; *) false;; esac }; then gl_func_isnanf_no_libm=yes AC_DEFINE([HAVE_ISNANF_IN_LIBC], [1], [Define if the isnan(float) function is available in libc.]) else gl_func_isnanf_no_libm=no fi ]) dnl Prerequisites of replacement isnanf definition. It does not need -lm. AC_DEFUN([gl_PREREQ_ISNANF], [ gl_FLOAT_EXPONENT_LOCATION ]) dnl Test whether isnanf() can be used without libm. AC_DEFUN([gl_HAVE_ISNANF_NO_LIBM], [ AC_CACHE_CHECK([whether isnan(float) can be used without linking with libm], [gl_cv_func_isnanf_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) #elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) #endif float x;]], [[return isnanf (x);]])], [gl_cv_func_isnanf_no_libm=yes], [gl_cv_func_isnanf_no_libm=no]) ]) ]) dnl Test whether isnanf() can be used with libm. AC_DEFUN([gl_HAVE_ISNANF_IN_LIBM], [ AC_CACHE_CHECK([whether isnan(float) can be used with libm], [gl_cv_func_isnanf_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) #elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) #endif float x;]], [[return isnanf (x);]])], [gl_cv_func_isnanf_in_libm=yes], [gl_cv_func_isnanf_in_libm=no]) LIBS="$saved_LIBS" ]) ]) dnl Test whether isnanf() rejects Infinity (this fails on Solaris 2.5.1), dnl recognizes a NaN (this fails on IRIX 6.5 with cc), and recognizes a NaN dnl with in-memory representation 0x7fbfffff (this fails on IRIX 6.5). AC_DEFUN([gl_ISNANF_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION]) AC_CACHE_CHECK([whether isnan(float) works], [gl_cv_func_isnanf_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanf # define isnanf(x) __builtin_isnan ((float)(x)) #elif defined isnan # undef isnanf # define isnanf(x) isnan ((float)(x)) #endif /* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */ #ifdef __DECC static float NaN () { static float zero = 0.0f; return zero / zero; } #else # define NaN() (0.0f / 0.0f) #endif #define NWORDS \ ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; float value; } memory_float; int main() { int result = 0; if (isnanf (1.0f / 0.0f)) result |= 1; if (!isnanf (NaN ())) result |= 2; #if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT /* The isnanf function should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit. */ if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0) { memory_float m; m.value = NaN (); /* Set the bits below the exponent to 01111...111. */ m.word[0] &= -1U << FLT_EXPBIT0_BIT; m.word[0] |= (1U << (FLT_EXPBIT0_BIT - 1)) - 1; if (!isnanf (m.value)) result |= 4; } #endif return result; }]])], [gl_cv_func_isnanf_works=yes], [gl_cv_func_isnanf_works=no], [case "$host_os" in irix* | solaris*) gl_cv_func_isnanf_works="guessing no" ;; mingw* | windows*) # Guess yes on mingw, no on MSVC. AC_EGREP_CPP([Known], [ #ifdef __MINGW32__ Known #endif ], [gl_cv_func_isnanf_works="guessing yes"], [gl_cv_func_isnanf_works="guessing no"]) ;; *) gl_cv_func_isnanf_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/isnanl.m40000644000000000000000000001662614767401140010661 # isnanl.m4 # serial 26 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_FUNC_ISNANL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ISNANL_LIBM= gl_HAVE_ISNANL_NO_LIBM if test $gl_cv_func_isnanl_no_libm = no; then gl_HAVE_ISNANL_IN_LIBM if test $gl_cv_func_isnanl_in_libm = yes; then ISNANL_LIBM=-lm fi fi dnl The variable gl_func_isnanl set here is used by isnan.m4. if test $gl_cv_func_isnanl_no_libm = yes || test -n "$ISNANL_LIBM"; then saved_LIBS="$LIBS" LIBS="$LIBS $ISNANL_LIBM" gl_FUNC_ISNANL_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_isnanl_works" in *yes) gl_func_isnanl=yes ;; *) gl_func_isnanl=no; ISNANL_LIBM= ;; esac else gl_func_isnanl=no fi if test $gl_func_isnanl != yes; then HAVE_ISNANL=0 fi AC_SUBST([ISNANL_LIBM]) ]) AC_DEFUN([gl_FUNC_ISNANL_NO_LIBM], [ gl_HAVE_ISNANL_NO_LIBM gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm if test $gl_func_isnanl_no_libm = yes; then gl_FUNC_ISNANL_WORKS case "$gl_cv_func_isnanl_works" in *yes) ;; *) gl_func_isnanl_no_libm=no ;; esac fi if test $gl_func_isnanl_no_libm = yes; then AC_DEFINE([HAVE_ISNANL_IN_LIBC], [1], [Define if the isnan(long double) function is available in libc.]) fi ]) dnl Prerequisites of replacement isnanl definition. It does not need -lm. AC_DEFUN([gl_PREREQ_ISNANL], [ gl_LONG_DOUBLE_EXPONENT_LOCATION AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) ]) dnl Test whether isnanl() can be used without libm. AC_DEFUN([gl_HAVE_ISNANL_NO_LIBM], [ AC_CACHE_CHECK([whether isnan(long double) can be used without linking with libm], [gl_cv_func_isnanl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif long double x;]], [[return isnanl (x);]])], [gl_cv_func_isnanl_no_libm=yes], [gl_cv_func_isnanl_no_libm=no]) ]) ]) dnl Test whether isnanl() can be used with libm. AC_DEFUN([gl_HAVE_ISNANL_IN_LIBM], [ AC_CACHE_CHECK([whether isnan(long double) can be used with libm], [gl_cv_func_isnanl_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif long double x;]], [[return isnanl (x);]])], [gl_cv_func_isnanl_in_libm=yes], [gl_cv_func_isnanl_in_libm=no]) LIBS="$saved_LIBS" ]) ]) dnl Test whether isnanl() recognizes all canonical numbers which are neither dnl finite nor infinite. AC_DEFUN([gl_FUNC_ISNANL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether isnanl works], [gl_cv_func_isnanl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # undef isnanl # define isnanl(x) __builtin_isnan ((long double)(x)) #elif defined isnan # undef isnanl # define isnanl(x) isnan ((long double)(x)) #endif #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; /* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the runtime type conversion. */ #ifdef __sgi static long double NaNl () { double zero = 0.0; return zero / zero; } #else # define NaNl() (0.0L / 0.0L) #endif int main () { int result = 0; if (!isnanl (NaNl ())) result |= 1; { memory_long_double m; unsigned int i; /* The isnanl function should be immune against changes in the sign bit and in the mantissa bits. The xor operation twiddles a bit that can only be a sign bit or a mantissa bit (since the exponent never extends to bit 31). */ m.value = NaNl (); m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); for (i = 0; i < NWORDS; i++) m.word[i] |= 1; if (!isnanl (m.value)) result |= 1; } #if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (!isnanl (x.value)) result |= 2; } { /* Signalling NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (!isnanl (x.value)) result |= 2; } /* isnanl should return something even for noncanonical values. */ { /* Pseudo-NaN. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 4; } { /* Pseudo-Infinity. */ static memory_long_double x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 8; } { /* Pseudo-Zero. */ static memory_long_double x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 16; } { /* Unnormalized number. */ static memory_long_double x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 32; } { /* Pseudo-Denormal. */ static memory_long_double x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (isnanl (x.value) && !isnanl (x.value)) result |= 64; } #endif return result; }]])], [gl_cv_func_isnanl_works=yes], [gl_cv_func_isnanl_works=no], [case "$host_os" in mingw* | windows*) # Guess yes on mingw, no on MSVC. AC_EGREP_CPP([Known], [ #ifdef __MINGW32__ Known #endif ], [gl_cv_func_isnanl_works="guessing yes"], [gl_cv_func_isnanl_works="guessing no"]) ;; *) gl_cv_func_isnanl_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/iswblank.m40000644000000000000000000000230014767401140011167 # iswblank.m4 # serial 7 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ISWBLANK], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([gl_WCTYPE_H]) dnl Persuade glibc to declare iswblank(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) gl_CHECK_FUNCS_ANDROID([iswblank], [[#include ]]) AC_CHECK_DECLS([iswblank], , , [[ #include #include ]]) if test $ac_cv_func_iswblank = no; then HAVE_ISWBLANK=0 if test $ac_cv_have_decl_iswblank = yes \ || case "$gl_cv_onwards_func_iswblank" in \ future*) true ;; \ *) false ;; \ esac; then REPLACE_ISWBLANK=1 fi fi if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then dnl Redefine all of iswcntrl, ..., towupper in . : else if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then dnl Redefine only iswblank. : fi fi ]) datamash-1.9/m4/iswdigit.m40000644000000000000000000000716114767401140011212 # iswdigit.m4 # serial 9 dnl Copyright (C) 2020-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ISWDIGIT], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([gl_WCTYPE_H]) AC_REQUIRE([gt_LOCALE_FR]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then dnl redefines iswdigit already. REPLACE_ISWDIGIT="$REPLACE_ISWCNTRL" else AC_CACHE_CHECK([whether iswdigit is ISO C compliant], [gl_cv_func_iswdigit_works], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on FreeBSD, NetBSD, OpenBSD, Solaris, native Windows, Haiku, Android. freebsd* | dragonfly* | netbsd* | openbsd* | solaris* | mingw* | windows* | haiku* | *-android*) gl_cv_func_iswdigit_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswdigit_works="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR != none || test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #include /* Returns the value of iswdigit for the multibyte character s[0..n-1]. */ static int for_character (const char *s, size_t n) { mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, s, n, &state); if (ret != n) abort (); return iswdigit (wc); } int main (int argc, char *argv[]) { int is; int result = 0; if (strcmp ("$LOCALE_FR", "none") != 0 && setlocale (LC_ALL, "$LOCALE_FR") != NULL) { /* This fails on mingw, MSVC 14. */ /* U+00B2 SUPERSCRIPT TWO */ is = for_character ("\262", 1); if (!(is == 0)) result |= 1; } if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { /* This fails on NetBSD 10.0. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 2; } if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { /* This fails on FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+0663 ARABIC-INDIC DIGIT THREE */ is = for_character ("\331\243", 2); if (!(is == 0)) result |= 4; /* This fails on FreeBSD 13.0, NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\357\274\221", 3); if (!(is == 0)) result |= 8; } if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { /* This fails on NetBSD 10.0, Solaris 10, Solaris 11.4. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 16; } return result; }]])], [gl_cv_func_iswdigit_works=yes], [gl_cv_func_iswdigit_works=no], [:]) fi ]) case "$gl_cv_func_iswdigit_works" in *yes) ;; *) REPLACE_ISWDIGIT=1 ;; esac fi ]) datamash-1.9/m4/iswpunct.m40000644000000000000000000000272014767401140011237 # iswpunct.m4 # serial 2 dnl Copyright (C) 2023-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ISWPUNCT], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([gl_WCTYPE_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then dnl redefines iswpunct already. REPLACE_ISWPUNCT="$REPLACE_ISWCNTRL" else AC_CACHE_CHECK([whether iswpunct is consistent with ispunct], [gl_cv_func_iswpunct_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main (int argc, char *argv[]) { int result = 0; /* This fails on Android 11. */ if ((! iswpunct ('\`')) != (! ispunct ('\`'))) result |= 1; return result; }]])], [gl_cv_func_iswpunct_works=yes], [gl_cv_func_iswpunct_works=no], [case "$host_os" in # Guess no on Android. android*) gl_cv_func_iswpunct_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswpunct_works="guessing yes" ;; esac ]) ]) case "$gl_cv_func_iswpunct_works" in *yes) ;; *) REPLACE_ISWPUNCT=1 ;; esac fi ]) datamash-1.9/m4/iswxdigit.m40000644000000000000000000000643314767401140011403 # iswxdigit.m4 # serial 9 dnl Copyright (C) 2020-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ISWXDIGIT], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([gl_WCTYPE_H]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then dnl redefines iswxdigit already. REPLACE_ISWXDIGIT="$REPLACE_ISWCNTRL" else AC_CACHE_CHECK([whether iswxdigit is ISO C compliant], [gl_cv_func_iswxdigit_works], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on FreeBSD, NetBSD, OpenBSD, Solaris, native Windows, Haiku, Android. freebsd* | dragonfly* | netbsd* | openbsd* | solaris* | mingw* | windows* | haiku* | *-android*) gl_cv_func_iswxdigit_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_iswxdigit_works="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_JA != none || test "$LOCALE_EN_UTF8" != none || test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #include /* Returns the value of iswxdigit for the multibyte character s[0..n-1]. */ static int for_character (const char *s, size_t n) { mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, s, n, &state); if (ret != n) abort (); return iswxdigit (wc); } int main (int argc, char *argv[]) { int is; int result = 0; if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { /* This fails on NetBSD 10.0. */ /* U+FF21 FULLWIDTH LATIN CAPITAL LETTER A */ is = for_character ("\243\301", 2); if (!(is == 0)) result |= 1; } if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { /* This fails on FreeBSD 13.0, Haiku, Android. */ /* U+0663 ARABIC-INDIC DIGIT THREE */ is = for_character ("\331\243", 2); if (!(is == 0)) result |= 2; /* This fails on NetBSD 10.0, OpenBSD 7.5, MSVC 14, Haiku, Android. */ /* U+FF21 FULLWIDTH LATIN CAPITAL LETTER A */ is = for_character ("\357\274\241", 3); if (!(is == 0)) result |= 4; } if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { /* This fails on Solaris 10, Solaris 11.4. */ /* U+FF11 FULLWIDTH DIGIT ONE */ is = for_character ("\243\261", 2); if (!(is == 0)) result |= 8; } return result; }]])], [gl_cv_func_iswxdigit_works=yes], [gl_cv_func_iswxdigit_works=no], [:]) fi ]) case "$gl_cv_func_iswxdigit_works" in *yes) ;; *) REPLACE_ISWXDIGIT=1 ;; esac fi ]) datamash-1.9/m4/largefile.m40000644000000000000000000003536514767401140011330 # largefile.m4 # serial 2 dnl Copyright 1992-1996, 1998-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Enable large files on systems where this is not the default. # Enable support for files on Linux file systems with 64-bit inode numbers. # The following macro works around a problem in Autoconf's AC_FUNC_FSEEKO: # It does not set _LARGEFILE_SOURCE=1 on HP-UX/ia64 32-bit, although this # setting of _LARGEFILE_SOURCE is needed so that declares fseeko # and ftello in C++ mode as well. # This problem occurs in Autoconf 2.71 and earlier, which lack AC_SYS_YEAR2038. AC_DEFUN([gl_SET_LARGEFILE_SOURCE], m4_ifndef([AC_SYS_YEAR2038], [[ AC_REQUIRE([AC_CANONICAL_HOST]) AC_FUNC_FSEEKO case "$host_os" in hpux*) AC_DEFINE([_LARGEFILE_SOURCE], [1], [Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).]) ;; esac ]]) ) dnl Remove AC_SYS_YEAR2038_RECOMMENDED if unpatched Autoconf 2.72 or earlier. dnl Autoconf 2.72 still uses -n32, which is not a C preprocessor option, dnl and which was useful only on IRIX which is no longer supported. dnl This should be fixed in Autoconf 2.73. m4_ifdef([AC_SYS_YEAR2038_RECOMMENDED], [m4_bmatch(m4_ifdef([_AC_SYS_LARGEFILE_OPTIONS], [m4_defn([_AC_SYS_LARGEFILE_OPTIONS])], ["-n32"]), ["-n32"], [m4_undefine([AC_SYS_YEAR2038_RECOMMENDED])])]) m4_ifndef([AC_SYS_YEAR2038_RECOMMENDED], [ # Fix up AC_SYS_YEAR2038_RECOMMENDED and related macros, even if # unpatched Autoconf 2.72 or earlier. This code is taken from Autoconf master. # _AC_SYS_YEAR2038_TEST_CODE # -------------------------- # C code used to probe for time_t that can represent time points more # than 2**31 - 1 seconds after the epoch. With the usual Unix epoch, # these correspond to dates after 2038-01-18 22:14:07 +0000 (Gregorian), # hence the name. AC_DEFUN([_AC_SYS_YEAR2038_TEST_CODE], [[ #include /* Check that time_t can represent 2**32 - 1 correctly. */ #define LARGE_TIME_T \\ ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 && LARGE_TIME_T % 65537 == 0) ? 1 : -1]; ]]) # _AC_SYS_YEAR2038_OPTIONS # ------------------------ # List of known ways to enable support for large time_t. If you change # this list you probably also need to change the AS_CASE at the end of # _AC_SYS_YEAR2038_PROBE. m4_define([_AC_SYS_YEAR2038_OPTIONS], m4_normalize( ["none needed"] dnl 64-bit and newer 32-bit Unix ["-D_TIME_BITS=64"] dnl glibc 2.34 with some 32-bit ABIs ["-D__MINGW_USE_VC2005_COMPAT"] dnl 32-bit MinGW ["-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"] dnl 32-bit MinGW (misconfiguration) )) # _AC_SYS_YEAR2038_PROBE # ---------------------- # Subroutine of AC_SYS_YEAR2038. Probe for time_t that can represent # time points more than 2**31 - 1 seconds after the epoch (dates after # 2038-01-18, see above) and set the cache variable ac_cv_sys_year2038_opts # to one of the values in the _AC_SYS_YEAR2038_OPTIONS list, or to # "support not detected" if none of them worked. Then, set compilation # options and #defines as necessary to enable large time_t support. # # Note that we do not test whether mktime, localtime, etc. handle # large values of time_t correctly, as that would require use of # AC_TRY_RUN. Note also that some systems only support large time_t # together with large off_t. # # If you change this macro you may also need to change # _AC_SYS_YEAR2038_OPTIONS. AC_DEFUN([_AC_SYS_YEAR2038_PROBE], [AC_CACHE_CHECK([for $CC option to support timestamps after 2038], [ac_cv_sys_year2038_opts], [ac_save_CPPFLAGS="$CPPFLAGS" ac_opt_found=no for ac_opt in _AC_SYS_YEAR2038_OPTIONS; do AS_IF([test x"$ac_opt" != x"none needed"], [CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_YEAR2038_TEST_CODE])], [ac_cv_sys_year2038_opts="$ac_opt" ac_opt_found=yes]) test $ac_opt_found = no || break done CPPFLAGS="$ac_save_CPPFLAGS" test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected"]) ac_have_year2038=yes AS_CASE([$ac_cv_sys_year2038_opts], ["none needed"], [], ["support not detected"], [ac_have_year2038=no], ["-D_TIME_BITS=64"], [AC_DEFINE([_TIME_BITS], [64], [Number of bits in time_t, on hosts where this is settable.])], ["-D__MINGW_USE_VC2005_COMPAT"], [AC_DEFINE([__MINGW_USE_VC2005_COMPAT], [1], [Define to 1 on platforms where this makes time_t a 64-bit type.])], ["-U_USE_32_BIT_TIME_T"*], [AC_MSG_FAILURE(m4_text_wrap( [the 'time_t' type is currently forced to be 32-bit. It will stop working after mid-January 2038. Remove _USE_32BIT_TIME_T from the compiler flags.], [], [], [55]))], [AC_MSG_ERROR( [internal error: bad value for \$ac_cv_sys_year2038_opts])]) ]) # _AC_SYS_YEAR2038_ENABLE # ----------------------- # Depending on which of the YEAR2038 macros was used, add either an # --enable-year2038 or a --disable-year2038 to # the configure script. This is expanded very late and # therefore there cannot be any code in the AC_ARG_ENABLE. The # default value for 'enable_year2038' is emitted unconditionally # because the generated code always looks at this variable. m4_define([_AC_SYS_YEAR2038_ENABLE], [m4_divert_text([DEFAULTS], m4_provide_if([AC_SYS_YEAR2038], [enable_year2038=yes], [enable_year2038=no]))]dnl [AC_ARG_ENABLE([year2038], m4_provide_if([AC_SYS_YEAR2038], [AS_HELP_STRING([--disable-year2038], [don't support timestamps after 2038])], [AS_HELP_STRING([--enable-year2038], [support timestamps after 2038])]))]) # AC_SYS_YEAR2038 # --------------- # Attempt to detect and activate support for large time_t. # On systems where time_t is not always 64 bits, this probe can be # skipped by passing the --disable-year2038 option to configure. AC_DEFUN([AC_SYS_YEAR2038], [AC_REQUIRE([AC_SYS_LARGEFILE])dnl AS_IF([test "$enable_year2038,$ac_have_year2038,$cross_compiling" = yes,no,no], [# If we're not cross compiling and 'touch' works with a large # timestamp, then we can presume the system supports wider time_t # *somehow* and we just weren't able to detect it. One common # case that we deliberately *don't* probe for is a system that # supports both 32- and 64-bit ABIs but only the 64-bit ABI offers # wide time_t. (It would be inappropriate for us to override an # intentional use of -m32.) Error out, demanding use of # --disable-year2038 if this is intentional. AS_IF([TZ=UTC0 touch -t 210602070628.15 conftest.time 2>/dev/null], [AS_CASE([`TZ=UTC0 LC_ALL=C ls -l conftest.time 2>/dev/null`], [*'Feb 7 2106'* | *'Feb 7 17:10'*], [AC_MSG_FAILURE(m4_text_wrap( [this system appears to support timestamps after mid-January 2038, but no mechanism for enabling wide 'time_t' was detected. Did you mean to build a 64-bit binary? (E.g., 'CC="${CC} -m64"'.) To proceed with 32-bit time_t, configure with '--disable-year2038'.], [], [], [55]))])])])]) # AC_SYS_YEAR2038_RECOMMENDED # --------------------------- # Same as AC_SYS_YEAR2038, but recommend support for large time_t. # If we cannot find any way to make time_t capable of representing # values larger than 2**31 - 1, error out unless --disable-year2038 is given. AC_DEFUN([AC_SYS_YEAR2038_RECOMMENDED], [AC_REQUIRE([AC_SYS_YEAR2038])dnl AS_IF([test "$enable_year2038,$ac_have_year2038" = yes,no], [AC_MSG_FAILURE(m4_text_wrap( [could not enable timestamps after mid-January 2038. This package recommends support for these later timestamps. However, to proceed with signed 32-bit time_t even though it will fail then, configure with '--disable-year2038'.], [], [], [55]))])]) # _AC_SYS_LARGEFILE_TEST_CODE # --------------------------- # C code used to probe for large file support. m4_define([_AC_SYS_LARGEFILE_TEST_CODE], [@%:@include @%:@ifndef FTYPE @%:@ define FTYPE off_t @%:@endif /* Check that FTYPE can represent 2**63 - 1 correctly. We can't simply define LARGE_FTYPE to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ @%:@define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31)) int FTYPE_is_large[[(LARGE_FTYPE % 2147483629 == 721 && LARGE_FTYPE % 2147483647 == 1) ? 1 : -1]];[]dnl ]) # Defined by Autoconf 2.71 and circa 2022 Gnulib unwisely depended on it. m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], [_AC_SYS_LARGEFILE_TEST_CODE]) # _AC_SYS_LARGEFILE_OPTIONS # ------------------------- # List of known ways to enable support for large files. If you change # this list you probably also need to change the AS_CASE at the end of # _AC_SYS_LARGEFILE_PROBE. m4_define([_AC_SYS_LARGEFILE_OPTIONS], m4_normalize( ["none needed"] dnl Most current systems ["-D_FILE_OFFSET_BITS=64"] dnl X/Open LFS spec ["-D_LARGE_FILES=1"] dnl 32-bit AIX 4.2.1+, 32-bit z/OS )) # _AC_SYS_LARGEFILE_PROBE # ----------------------- # Subroutine of AC_SYS_LARGEFILE. Probe for large file support and set # the cache variable ac_cv_sys_largefile_opts to one of the values in # the _AC_SYS_LARGEFILE_OPTIONS list, or to "support not detected" if # none of the options in that list worked. Then, set compilation # options and #defines as necessary to enable large file support. # # If large file support is not detected, the behavior depends on which of # the top-level AC_SYS_LARGEFILE macros was used (see below). # # If you change this macro you may also need to change # _AC_SYS_LARGEFILE_OPTIONS. AC_DEFUN([_AC_SYS_LARGEFILE_PROBE], [AC_CACHE_CHECK([for $CC option to support large files], [ac_cv_sys_largefile_opts], [ac_save_CPPFLAGS=$CPPFLAGS ac_opt_found=no for ac_opt in _AC_SYS_LARGEFILE_OPTIONS; do AS_IF([test x"$ac_opt" != x"none needed"], [CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_CODE])], [AS_IF([test x"$ac_opt" = x"none needed"], [# GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t. CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t" AC_COMPILE_IFELSE([], [], [CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" AC_COMPILE_IFELSE([], [ac_opt='-D_FILE_OFFSET_BITS=64'])])]) ac_cv_sys_largefile_opts=$ac_opt ac_opt_found=yes]) test $ac_opt_found = no || break done CPPFLAGS=$ac_save_CPPFLAGS dnl Gnulib implements large file support for native Windows, based on the dnl variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE. m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) if test $ac_opt_found != yes; then AS_CASE([$host_os], [mingw* | windows*], [ac_cv_sys_largefile_opts="supported through gnulib" ac_opt_found=yes] ) fi ]) test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected"]) ac_have_largefile=yes AS_CASE([$ac_cv_sys_largefile_opts], ["none needed"], [], ["supported through gnulib"], [], ["support not detected"], [ac_have_largefile=no], ["-D_FILE_OFFSET_BITS=64"], [AC_DEFINE([_FILE_OFFSET_BITS], [64], [Number of bits in a file offset, on hosts where this is settable.])], ["-D_LARGE_FILES=1"], [AC_DEFINE([_LARGE_FILES], [1], [Define to 1 on platforms where this makes off_t a 64-bit type.])], [AC_MSG_ERROR( [internal error: bad value for \$ac_cv_sys_largefile_opts])]) AS_IF([test "$enable_year2038" != no], [_AC_SYS_YEAR2038_PROBE]) AC_CONFIG_COMMANDS_PRE([_AC_SYS_YEAR2038_ENABLE])]) # AC_SYS_LARGEFILE # ---------------- # By default, many hosts won't let programs access large files; # one must use special compiler options to get large-file access to work. # For more details about this brain damage please see: # https://www.unix.org/version2/whatsnew/lfs20mar.html # Additionally, on Linux file systems with 64-bit inodes a file that happens # to have a 64-bit inode number cannot be accessed by 32-bit applications on # Linux x86/x86_64. This can occur with file systems such as XFS and NFS. AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE([largefile], [AS_HELP_STRING([--disable-largefile], [omit support for large files])])dnl AS_IF([test "$enable_largefile,$enable_year2038" != no,no], [_AC_SYS_LARGEFILE_PROBE])]) ])# m4_ifndef AC_SYS_YEAR2038_RECOMMENDED # Enable large files on systems where this is implemented by Gnulib, not by the # system headers. # Set the variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE if Gnulib # overrides ensure that off_t or 'struct size.st_size' are 64-bit, respectively. AC_DEFUN([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw* | windows*) dnl Native Windows. dnl mingw64 defines off_t to a 64-bit type already, if dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE. AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_type_off_t_64=yes], [gl_cv_type_off_t_64=no]) ]) if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi dnl Some mingw versions define, if _FILE_OFFSET_BITS=64, 'struct stat' dnl to 'struct _stat32i64' or 'struct _stat64' (depending on dnl _USE_32BIT_TIME_T), which has a 32-bit st_size member. AC_CACHE_CHECK([for 64-bit st_size], [gl_cv_member_st_size_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_member_st_size_64=yes], [gl_cv_member_st_size_64=no]) ]) if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) dnl Nothing to do on gnulib's side. dnl A 64-bit off_t is dnl - already the default on Mac OS X, FreeBSD, NetBSD, OpenBSD, IRIX, dnl OSF/1, Cygwin, dnl - enabled by _FILE_OFFSET_BITS=64 (ensured by AC_SYS_LARGEFILE) on dnl glibc, HP-UX, Solaris, dnl - enabled by _LARGE_FILES=1 (ensured by AC_SYS_LARGEFILE) on AIX, dnl - impossible to achieve on Minix 3.1.8. WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac ]) datamash-1.9/m4/lcmessage.m40000644000000000000000000000260514771573666011352 # lcmessage.m4 # serial 8 dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014, 2016, 2019-2025 Free dnl Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Lesser General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995. # Check whether LC_MESSAGES is available in . AC_DEFUN([gt_LC_MESSAGES], [ AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[return LC_MESSAGES]])], [gt_cv_val_LC_MESSAGES=yes], [gt_cv_val_LC_MESSAGES=no])]) if test $gt_cv_val_LC_MESSAGES = yes; then AC_DEFINE([HAVE_LC_MESSAGES], [1], [Define if your file defines LC_MESSAGES.]) fi ]) datamash-1.9/m4/ldexp.m40000644000000000000000000000636214767401140010505 # ldexp.m4 # serial 3 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_LDEXP], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_ISNAND]) dnl for ISNAND_LIBM AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM]) LDEXP_LIBM= if test $gl_cv_func_ldexp_no_libm = no; then AC_CACHE_CHECK([whether ldexp() can be used with libm], [gl_cv_func_ldexp_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double, int) = ldexp; double x;]], [[return ldexp (x, -1) > 0;]])], [gl_cv_func_ldexp_in_libm=yes], [gl_cv_func_ldexp_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_ldexp_in_libm = yes; then LDEXP_LIBM=-lm fi fi saved_LIBS="$LIBS" LIBS="$LIBS $LDEXP_LIBM" gl_FUNC_LDEXP_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_ldexp_works" in *yes) ;; *) REPLACE_LDEXP=1 ;; esac if test $REPLACE_LDEXP = 1; then dnl Find libraries needed to link lib/ldexp.c. LDEXP_LIBM="$ISNAND_LIBM" fi AC_SUBST([LDEXP_LIBM]) ]) dnl Test whether ldexp() can be used without linking with libm. dnl Set gl_cv_func_ldexp_no_libm to 'yes' or 'no' accordingly. AC_DEFUN([gl_CHECK_LDEXP_NO_LIBM], [ AC_CACHE_CHECK([whether ldexp() can be used without linking with libm], [gl_cv_func_ldexp_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double, int) = ldexp; double x;]], [[return ldexp (x, -1) > 0;]])], [gl_cv_func_ldexp_no_libm=yes], [gl_cv_func_ldexp_no_libm=no]) ]) ]) dnl Test whether ldexp() works (this fails on OpenBSD 7.3/mips64). AC_DEFUN([gl_FUNC_LDEXP_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether ldexp works], [gl_cv_func_ldexp_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include int main() { int result = 0; { volatile double x = 1.9269695883136991774e-308; volatile double y = ldexp (x, 0); if (y != x) result |= 1; } return result; }]])], [gl_cv_func_ldexp_works=yes], [gl_cv_func_ldexp_works=no], [case "$host_os" in openbsd*) gl_cv_func_ldexp_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ldexp_works="guessing yes" ;; *) gl_cv_func_ldexp_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/ldexpl.m40000644000000000000000000000773414767401140010665 # ldexpl.m4 # serial 19 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_LDEXPL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([gl_FUNC_ISNANL]) dnl for ISNANL_LIBM dnl Persuade glibc to declare ldexpl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Check whether it's declared. dnl Mac OS X 10.3 has ldexpl() in libc but doesn't declare it in . AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [[#include ]]) LDEXPL_LIBM= if test $HAVE_DECL_LDEXPL = 1; then gl_CHECK_LDEXPL_NO_LIBM if test $gl_cv_func_ldexpl_no_libm = no; then AC_CACHE_CHECK([whether ldexpl() can be used with libm], [gl_cv_func_ldexpl_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include long double x;]], [[return ldexpl (x, -1) > 0;]])], [gl_cv_func_ldexpl_in_libm=yes], [gl_cv_func_ldexpl_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_ldexpl_in_libm = yes; then LDEXPL_LIBM=-lm fi fi if test $gl_cv_func_ldexpl_no_libm = yes \ || test $gl_cv_func_ldexpl_in_libm = yes; then saved_LIBS="$LIBS" LIBS="$LIBS $LDEXPL_LIBM" gl_FUNC_LDEXPL_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_ldexpl_works" in *yes) gl_func_ldexpl=yes ;; *) gl_func_ldexpl=no; REPLACE_LDEXPL=1 ;; esac else gl_func_ldexpl=no fi if test $gl_func_ldexpl = yes; then AC_DEFINE([HAVE_LDEXPL], [1], [Define if the ldexpl() function is available.]) fi fi if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then dnl Find libraries needed to link lib/ldexpl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_LDEXP]) LDEXPL_LIBM="$LDEXP_LIBM" else LDEXPL_LIBM="$ISNANL_LIBM" fi fi AC_SUBST([LDEXPL_LIBM]) ]) dnl Test whether ldexpl() can be used without linking with libm. dnl Set gl_cv_func_ldexpl_no_libm to 'yes' or 'no' accordingly. AC_DEFUN([gl_CHECK_LDEXPL_NO_LIBM], [ AC_CACHE_CHECK([whether ldexpl() can be used without linking with libm], [gl_cv_func_ldexpl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include long double x;]], [[return ldexpl (x, -1) > 0;]])], [gl_cv_func_ldexpl_no_libm=yes], [gl_cv_func_ldexpl_no_libm=no]) ]) ]) dnl Test whether ldexpl() works on finite numbers (this fails on AIX 5.1 dnl and Mac OS X 10.4/PowerPC). AC_DEFUN([gl_FUNC_LDEXPL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether ldexpl works], [gl_cv_func_ldexpl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include extern #ifdef __cplusplus "C" #endif long double ldexpl (long double, int); int main() { int result = 0; { volatile long double x = 1.0; volatile long double y = ldexpl (x, -1); if (y != 0.5L) result |= 1; } { volatile long double x = 1.73205L; volatile long double y = ldexpl (x, 0); if (y != x) result |= 2; } return result; }]])], [gl_cv_func_ldexpl_works=yes], [gl_cv_func_ldexpl_works=no], [ changequote(,)dnl case "$host_os" in aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ldexpl_works="guessing yes" ;; *) gl_cv_func_ldexpl_works="guessing yes" ;; esac changequote([,])dnl ]) ]) ]) datamash-1.9/m4/lib-ld.m40000644000000000000000000001250014771573666010545 # lib-ld.m4 # serial 13 dnl Copyright (C) 1996-2003, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Subroutines of libtool.m4, dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid dnl collision with libtool.m4. dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 /dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then AC_MSG_CHECKING([for ld]) elif test "$GCC" = yes; then AC_MSG_CHECKING([for ld used by $CC]) elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi if test -n "$LD"; then # Let the user override the test with a path. : else AC_CACHE_VAL([acl_cv_path_LD], [ acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw* | windows*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_saved_IFS" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" ]) AC_ARG_WITH(PACK[-prefix], [[ --with-]]PACK[[-prefix[=DIR] search for ]]PACKLIBS[[ in DIR/include and DIR/lib --without-]]PACK[[-prefix don't search for ]]PACKLIBS[[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" additional_libdir2="$withval/$acl_libdirstem2" additional_libdir3="$withval/$acl_libdirstem3" fi fi ]) if test "X$additional_libdir2" = "X$additional_libdir"; then additional_libdir2= fi if test "X$additional_libdir3" = "X$additional_libdir"; then additional_libdir3= fi dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Use breadth-first search. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do if test "X$found_dir" = "X"; then eval dir=\$$additional_libdir_variable if test -n "$dir"; then dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi fi done fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem3 | */$acl_libdirstem3/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. saved_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$saved_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $dependency_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then haveit= if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then dnl Really add $dependency_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$dependency_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then dnl Really add $dependency_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$dependency_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. dnl But on GNU systems, ignore -lc options, because dnl - linking with libc is the default anyway, dnl - linking with libc.a may produce an error dnl "/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie" dnl or may produce an executable that always crashes, see dnl . dep=`echo "X$dep" | sed -e 's/^X-l//'` if test "X$dep" != Xc \ || case $host_os in linux* | gnu* | k*bsd*-gnu) false ;; *) true ;; esac; then names_next_round="$names_next_round $dep" fi ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_saved_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2" \ && test "X$dir" != "X/usr/$acl_libdirstem3"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2" \ && test "X$dir" != "X/usr/$acl_libdirstem3"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_saved_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_saved_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_saved_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) datamash-1.9/m4/lib-prefix.m40000644000000000000000000003044614771573666011454 # lib-prefix.m4 # serial 23 dnl Copyright (C) 2001-2005, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH([lib-prefix], [[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_saved_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_saved_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_saved_prefix="$prefix" prefix="$acl_final_prefix" acl_saved_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_saved_exec_prefix" prefix="$acl_saved_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a function acl_is_expected_elfclass, that tests whether standard input dn; has a 32-bit or 64-bit ELF header, depending on the host CPU ABI, dnl - 3 variables acl_libdirstem, acl_libdirstem2, acl_libdirstem3, containing dnl the basename of the libdir to try in turn, either "lib" or "lib64" or dnl "lib/64" or "lib32" or "lib/sparcv9" or "lib/amd64" or similar. AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib, lib32, and lib64. dnl On most glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. However, on dnl Arch Linux based distributions, it's the opposite: 32-bit libraries go dnl under $prefix/lib32 and 64-bit libraries go under $prefix/lib. dnl We determine the compiler's default mode by looking at the compiler's dnl library search path. If at least one of its elements ends in /lib64 or dnl points to a directory whose absolute pathname ends in /lib64, we use that dnl for 64-bit ABIs. Similarly for 32-bit ABIs. Otherwise we use the default, dnl namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT]) AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf], [AC_EGREP_CPP([Extensible Linking Format], [#if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C)) Extensible Linking Format #endif ], [gl_cv_elf=yes], [gl_cv_elf=no]) ]) if test $gl_cv_elf = yes; then # Extract the ELF class of a file (5th byte) in decimal. # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header if od -A x < /dev/null >/dev/null 2>/dev/null; then # Use POSIX od. func_elfclass () { od -A n -t d1 -j 4 -N 1 } else # Use BSD hexdump. func_elfclass () { dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' echo } fi # Use 'expr', not 'test', to compare the values of func_elfclass, because on # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002, # not 1 or 2. changequote(,)dnl case $HOST_CPU_C_ABI_32BIT in yes) # 32-bit ABI. acl_is_expected_elfclass () { expr "`func_elfclass | sed -e 's/[ ]//g'`" = 1 > /dev/null } ;; no) # 64-bit ABI. acl_is_expected_elfclass () { expr "`func_elfclass | sed -e 's/[ ]//g'`" = 2 > /dev/null } ;; *) # Unknown. acl_is_expected_elfclass () { : } ;; esac changequote([,])dnl else acl_is_expected_elfclass () { : } fi dnl Allow the user to override the result by setting acl_cv_libdirstems. AC_CACHE_CHECK([for the common suffixes of directories in the library search path], [acl_cv_libdirstems], [dnl Try 'lib' first, because that's the default for libdir in GNU, see dnl . acl_libdirstem=lib acl_libdirstem2= acl_libdirstem3= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. if test $HOST_CPU_C_ABI_32BIT = no; then acl_libdirstem2=lib/64 case "$host_cpu" in sparc*) acl_libdirstem3=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; esac fi ;; netbsd*) dnl On NetBSD/sparc64, there is a 'sparc' subdirectory that contains dnl 32-bit libraries. if test $HOST_CPU_C_ABI_32BIT != no; then case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparc ;; esac fi ;; *) dnl If $CC generates code for a 32-bit ABI, the libraries are dnl surely under $prefix/lib or $prefix/lib32, not $prefix/lib64. dnl Similarly, if $CC generates code for a 64-bit ABI, the libraries dnl are surely under $prefix/lib or $prefix/lib64, not $prefix/lib32. dnl Find the compiler's search path. However, non-system compilers dnl sometimes have odd library search paths. But we can't simply invoke dnl '/usr/bin/gcc -print-search-dirs' because that would not take into dnl account the -m32/-m31 or -m64 options from the $CC or $CFLAGS. searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test $HOST_CPU_C_ABI_32BIT != no; then # 32-bit or unknown ABI. if test -d /usr/lib32; then acl_libdirstem2=lib32 fi fi if test $HOST_CPU_C_ABI_32BIT != yes; then # 64-bit or unknown ABI. if test -d /usr/lib64; then acl_libdirstem3=lib64 fi fi if test -n "$searchpath"; then acl_saved_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib32 ) acl_libdirstem2=lib32 ;; */lib64 ) acl_libdirstem3=lib64 ;; esac ;; esac fi done IFS="$acl_saved_IFS" if test $HOST_CPU_C_ABI_32BIT = yes; then # 32-bit ABI. acl_libdirstem3= fi if test $HOST_CPU_C_ABI_32BIT = no; then # 64-bit ABI. acl_libdirstem2= fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" ]) dnl Decompose acl_cv_libdirstems into acl_libdirstem, acl_libdirstem2, and dnl acl_libdirstem3. changequote(,)dnl acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` changequote([,])dnl ]) datamash-1.9/m4/libunistring-base.m40000644000000000000000000002133514767401140013007 # libunistring-base.m4 # serial 9 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paolo Bonzini and Bruno Haible. dnl gl_LIBUNISTRING_MODULE([VERSION], [Module]) dnl Declares that the source files of Module should be compiled, unless we dnl are linking with libunistring and its version is >= the given VERSION. dnl Defines an automake conditional LIBUNISTRING_COMPILE_$MODULE that is dnl true if the source files of Module should be compiled. dnl This macro is to be used for public libunistring API, not for dnl undocumented API. dnl dnl You have to bump the VERSION argument to the next projected version dnl number each time you make a change that affects the behaviour of the dnl functions defined in Module (even if the sources of Module itself do not dnl change). dnl dnl This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_LIBUNISTRING_MODULE], [ AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from dnl gl_LIBUNISTRING_CORE if that macro has been run. gl_CONDITIONAL(AS_TR_CPP([LIBUNISTRING_COMPILE_$2]), [gl_LIBUNISTRING_VERSION_CMP([$1])]) ]) dnl gl_LIBUNISTRING_MODULE_WITH_VARIABLE([VERSION], [Module]) dnl is like gl_LIBUNISTRING_MODULE([VERSION], [Module]), except that it also dnl defines an AC_SUBSTed autoconf variable GNULIB_$MODULE_DLL_VARIABLE. dnl What's the expansion of this autoconf variable? dnl - When building libunistring, it expands to LIBUNISTRING_DLL_VARIABLE. dnl (This is necessary because this token must be present in the .h files dnl when the .h files get installed.) dnl - When building gnulib or application code it expands to dnl - LIBUNISTRING_DLL_VARIABLE by default, dnl - empty if the automake conditional LIBUNISTRING_COMPILE_$MODULE dnl evaluates to true. dnl (This is necessary because when the conditional evaluates to false, dnl the application code expects to use the declared variable from the dnl installed libunistring; it's in this case that the dnl LIBUNISTRING_DLL_VARIABLE macro from the installed dnl must be used.) dnl dnl This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_LIBUNISTRING_MODULE_WITH_VARIABLE], [ gl_LIBUNISTRING_MODULE([$1], [$2]) m4_ifndef([gl_IN_LIBUNISTRING], [if test -z "${AS_TR_CPP([LIBUNISTRING_COMPILE_$2])_TRUE}"; then GL_MODULE_INDICATOR_PREFIX[]_GNULIB_[]AS_TR_CPP([$2_DLL_VARIABLE])= fi ]) ]) dnl gl_LIBUNISTRING_LIBHEADER([VERSION], [HeaderFile]) dnl Declares that HeaderFile should be created, unless we are linking dnl with libunistring and its version is >= the given VERSION. dnl HeaderFile should be relative to the lib directory and end in '.h'. dnl Prepares for substituting LIBUNISTRING_HEADERFILE (to HeaderFile or empty). dnl dnl When we are linking with the already installed libunistring and its version dnl is < VERSION, we create HeaderFile here, because we may compile functions dnl (via gl_LIBUNISTRING_MODULE above) that are not contained in the installed dnl version. dnl When we are linking with the already installed libunistring and its version dnl is > VERSION, we don't create HeaderFile here: it could cause compilation dnl errors in other libunistring header files if some types are missing. dnl dnl You have to bump the VERSION argument to the next projected version dnl number each time you make a non-comment change to the HeaderFile. AC_DEFUN([gl_LIBUNISTRING_LIBHEADER], [ AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from dnl gl_LIBUNISTRING_CORE if that macro has been run. if gl_LIBUNISTRING_VERSION_CMP([$1]); then dnl It is OK to use a .h file in lib/ from within tests/, but not vice dnl versa. if test -z "$LIBUNISTRING_[]AS_TR_CPP([$2])"; then LIBUNISTRING_[]AS_TR_CPP([$2])="${gl_source_base_prefix}$2" fi else LIBUNISTRING_[]AS_TR_CPP([$2])= fi AC_SUBST([LIBUNISTRING_]AS_TR_CPP([$2])) ]) dnl Miscellaneous preparations/initializations. AC_DEFUN([gl_LIBUNISTRING_LIB_PREPARE], [ dnl Ensure that HAVE_LIBUNISTRING is fully determined at this point. m4_ifdef([gl_LIBUNISTRING], [AC_REQUIRE([gl_LIBUNISTRING])]) AC_REQUIRE([AC_PROG_AWK]) dnl Sed expressions to extract the parts of a version number. changequote(,) gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} i\ 0 q ' changequote([,]) if test "$HAVE_LIBUNISTRING" = yes; then LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"` LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"` LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"` fi dnl Determine whether from an installed libunistring dnl is available. m4_ifdef([gl_IN_LIBUNISTRING], [dnl In libunistring, all .h files that declare variables need to dnl #include . This references the file dnl unistring/woe32dll.h in libunistring. HAVE_UNISTRING_WOE32DLL_H=1 ], [dnl In gnulib or in applications, we need a #include dnl if and only if an installed libunistring is available. if test "$HAVE_LIBUNISTRING" = yes; then AC_CHECK_HEADERS([unistring/woe32dll.h], [HAVE_UNISTRING_WOE32DLL_H=1], [HAVE_UNISTRING_WOE32DLL_H=0]) else HAVE_UNISTRING_WOE32DLL_H=0 fi ]) AC_SUBST([HAVE_UNISTRING_WOE32DLL_H]) ]) dnl gl_LIBUNISTRING_VERSION_CMP([VERSION]) dnl Expands to a shell statement that evaluates to true if LIBUNISTRING_VERSION dnl is less than the VERSION argument. AC_DEFUN([gl_LIBUNISTRING_VERSION_CMP], [dnl VERSION = 999.9 means to evaluates to true always, i.e. to ignore dnl the installed libunistring regardless of its version. m4_if([$1], [999.9], [true], [ { test "$HAVE_LIBUNISTRING" != yes \ || { dnl AS_LITERAL_IF exists and works fine since autoconf-2.59 at least. AS_LITERAL_IF([$1], [dnl This is the optimized variant, that assumes the argument is a literal: m4_pushdef([requested_version_major], [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^\([0-9]*\).*], [\1]), [])]) m4_pushdef([requested_version_minor], [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.]\([0-9]*\).*], [\1]), [$1])]) m4_pushdef([requested_version_subminor], [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.][0-9]*[.]\([0-9]*\).*], [\1]), [$1])]) test $LIBUNISTRING_VERSION_MAJOR -lt requested_version_major \ || { test $LIBUNISTRING_VERSION_MAJOR -eq requested_version_major \ && { test $LIBUNISTRING_VERSION_MINOR -lt requested_version_minor \ || { test $LIBUNISTRING_VERSION_MINOR -eq requested_version_minor \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt requested_version_subminor } } } m4_popdef([requested_version_subminor]) m4_popdef([requested_version_minor]) m4_popdef([requested_version_major]) ], [dnl This is the unoptimized variant: requested_version_major=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_major"` requested_version_minor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_minor"` requested_version_subminor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_subminor"` test $LIBUNISTRING_VERSION_MAJOR -lt $requested_version_major \ || { test $LIBUNISTRING_VERSION_MAJOR -eq $requested_version_major \ && { test $LIBUNISTRING_VERSION_MINOR -lt $requested_version_minor \ || { test $LIBUNISTRING_VERSION_MINOR -eq $requested_version_minor \ && test $LIBUNISTRING_VERSION_SUBMINOR -lt $requested_version_subminor } } } ]) } }])]) dnl gl_LIBUNISTRING_ARG_OR_ZERO([ARG], [ORIG]) expands to ARG if it is not the dnl same as ORIG, otherwise to 0. m4_define([gl_LIBUNISTRING_ARG_OR_ZERO], [m4_if([$1], [$2], [0], [$1])]) datamash-1.9/m4/limits-h.m40000644000000000000000000000343314767401140011113 # limits-h.m4 # serial 1 dnl Copyright 2016-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Check whether limits.h has needed features. dnl From Paul Eggert. AC_DEFUN_ONCE([gl_LIMITS_H], [ gl_CHECK_NEXT_HEADERS([limits.h]) AC_CACHE_CHECK([whether limits.h has WORD_BIT, BOOL_WIDTH etc.], [gl_cv_header_limits_width], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include long long llm = LLONG_MAX; int wb = WORD_BIT; int ullw = ULLONG_WIDTH; int bw = BOOL_WIDTH; int bm = BOOL_MAX; int mblm = MB_LEN_MAX; ]])], [gl_cv_header_limits_width=yes], [gl_cv_header_limits_width=no])]) GL_GENERATE_LIMITS_H=true AS_IF([test "$gl_cv_header_limits_width" = yes], [AC_CACHE_CHECK([whether limits.h has SSIZE_MAX], [gl_cv_header_limits_ssize_max], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#include #ifndef SSIZE_MAX #error "SSIZE_MAX is not defined" #endif ]])], [gl_cv_header_limits_ssize_max=yes], [gl_cv_header_limits_ssize_max=no])]) if test "$gl_cv_header_limits_ssize_max" = yes; then GL_GENERATE_LIMITS_H=false fi]) ]) dnl Unconditionally enables the replacement of . AC_DEFUN([gl_REPLACE_LIMITS_H], [ AC_REQUIRE([gl_LIMITS_H]) GL_GENERATE_LIMITS_H=true ]) datamash-1.9/m4/localcharset.m40000644000000000000000000000072314767401140012030 # localcharset.m4 # serial 8 dnl Copyright (C) 2002, 2004, 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_LOCALCHARSET], [ dnl Prerequisites of lib/localcharset.c. AC_REQUIRE([AM_LANGINFO_CODESET]) ]) datamash-1.9/m4/locale-en.m40000644000000000000000000001320314767401140011220 # locale-en.m4 # serial 1 dnl Copyright (C) 2003-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Determine the name of an English (or American English) locale with dnl UTF-8 encoding. AC_DEFUN_ONCE([gt_LOCALE_EN_UTF8], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for an english Unicode locale], [gt_cv_locale_en_utf8], [ case "$host_os" in *-musl* | midipix*) dnl On musl libc, all kinds of ll_CC.UTF-8 locales exist, even without dnl any locale file on disk. But they are effectively equivalent to the dnl C.UTF-8 locale, except for locale categories (such as LC_MESSSAGES) dnl for which localizations (.mo files) have been installed. gt_cv_locale_en_utf8=en_US.UTF-8 ;; *) AC_LANG_CONFTEST([AC_LANG_SOURCE([[ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is "UTF-8" or equivalent. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (!(strcmp (cs, "UTF-8") == 0 || strcmp (cs, "UTF8") == 0 || strcmp (cs, "utf-8") == 0 || strcmp (cs, "utf8") == 0)) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check the third month name. */ t.tm_year = 1975 - 1900; t.tm_mon = 3 - 1; t.tm_mday = 24; if (strftime (buf, sizeof (buf), "%B", &t) < 5 || strcmp (buf, "March") != 0) return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a dot. */ if (localeconv () ->decimal_point[0] != '.') return 1; #endif return 0; } ]])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. if (LC_ALL='English_United States.65001' LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8='English_United States.65001' else # None found. gt_cv_locale_en_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name with explicit encoding suffix first # (this is necessary on Haiku). if (LC_ALL=en_US.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8=en_US.UTF-8 else # Test for the locale name without encoding suffix. if (LC_ALL=en_US LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8=en_US else # Test for the Solaris 10 locale name. if (LC_ALL=en.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_en_utf8=en.UTF-8 else # None found. gt_cv_locale_en_utf8=none fi fi fi ;; esac fi rm -fr conftest* ;; esac ]) LOCALE_EN_UTF8="$gt_cv_locale_en_utf8" case "$LOCALE_EN_UTF8" in #( '' | *[[\"\$\'*@<:@]]*) dnl The empty value occurs when the conftest.c program above could not dnl be compiled. The other values might cause trouble with sh or make. AC_MSG_WARN([invalid locale "$LOCALE_EN_UTF8"; assuming "none"]) LOCALE_EN_UTF8=none;; esac AC_SUBST([LOCALE_EN_UTF8]) ]) datamash-1.9/m4/locale-fr.m40000644000000000000000000003070114767401140011227 # locale-fr.m4 # serial 24 dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Determine the name of a french locale with traditional encoding. AC_DEFUN_ONCE([gt_LOCALE_FR], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([[ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only one byte long. This excludes the UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale and on Haiku in the fr_FR.UTF-8 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; # endif return 0; #endif } ]])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the native Windows locale name. if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=French_France.1252 else # None found. gt_cv_locale_fr=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO-8859-1 else # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.ISO8859-1 else # Test for the HP-UX locale name. if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr_FR.iso88591 else # Test for the Solaris 10 locale name. if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr=fr else # None found. gt_cv_locale_fr=none fi fi fi fi fi ;; esac fi rm -fr conftest* ]) LOCALE_FR=$gt_cv_locale_fr case $LOCALE_FR in #( '' | *[[[:space:]\"\$\'*@<:@]]*) dnl This locale name might cause trouble with sh or make. AC_MSG_WARN([invalid locale "$LOCALE_FR"; assuming "none"]) LOCALE_FR=none;; esac AC_SUBST([LOCALE_FR]) ]) dnl Determine the name of a french locale with UTF-8 encoding. AC_DEFUN_ONCE([gt_LOCALE_FR_UTF8], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a french Unicode locale], [gt_cv_locale_fr_utf8], [ case "$host_os" in *-musl* | midipix*) dnl On musl libc, all kinds of ll_CC.UTF-8 locales exist, even without dnl any locale file on disk. But they are effectively equivalent to the dnl C.UTF-8 locale, except for locale categories (such as LC_MESSSAGES) dnl for which localizations (.mo files) have been installed. gt_cv_locale_fr_utf8=fr_FR.UTF-8 ;; *) AC_LANG_CONFTEST([AC_LANG_SOURCE([[ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if !(defined __BEOS__ || defined __HAIKU__) /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is two bytes long, with UTF-8 encoding. */ t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%b", &t) < 4 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') return 1; #endif #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ /* Check whether the decimal separator is a comma. On NetBSD 3.0 in the fr_FR.ISO8859-1 locale and on Haiku in the fr_FR.UTF-8 locale, localeconv()->decimal_point are nl_langinfo(RADIXCHAR) are both ".". */ if (localeconv () ->decimal_point[0] != ',') return 1; #endif return 0; } ]])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=French_France.65001 else # None found. gt_cv_locale_fr_utf8=none fi ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the usual locale name. if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR else # Test for the locale name with explicit encoding suffix. if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr_FR.UTF-8 else # Test for the Solaris 10 locale name. if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_fr_utf8=fr.UTF-8 else # None found. gt_cv_locale_fr_utf8=none fi fi fi ;; esac fi rm -fr conftest* ;; esac ]) LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 case $LOCALE_FR_UTF8 in #( '' | *[[[:space:]\"\$\'*@<:@]]*) dnl This locale name might cause trouble with sh or make. AC_MSG_WARN([invalid locale "$LOCALE_FR_UTF8"; assuming "none"]) LOCALE_FR_UTF8=none;; esac AC_SUBST([LOCALE_FR_UTF8]) dnl Users of $LOCALE_FR_UTF8 need to know which of the locale categories they dnl can rely on. case "$host_os" in *-musl* | midipix*) dnl On musl libc, locale categories other than LC_CTYPE and LC_MESSAGES dnl are effectively unimplemented. LC_COLLATE_IMPLEMENTED=false LC_NUMERIC_IMPLEMENTED=false LC_TIME_IMPLEMENTED=false LC_MONETARY_IMPLEMENTED=false ;; *) LC_COLLATE_IMPLEMENTED=true LC_NUMERIC_IMPLEMENTED=true LC_TIME_IMPLEMENTED=true LC_MONETARY_IMPLEMENTED=true ;; esac AC_SUBST([LC_COLLATE_IMPLEMENTED]) AC_SUBST([LC_NUMERIC_IMPLEMENTED]) AC_SUBST([LC_TIME_IMPLEMENTED]) AC_SUBST([LC_MONETARY_IMPLEMENTED]) ]) datamash-1.9/m4/locale-ja.m40000644000000000000000000001376514767401140011225 # locale-ja.m4 # serial 19 dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Determine the name of a japanese locale with EUC-JP encoding. AC_DEFUN_ONCE([gt_LOCALE_JA], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([[ #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales on Cygwin 1.5.x. */ if (MB_CUR_MAX == 1) return 1; /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } return 0; #endif } ]])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Note that on native Windows, the Japanese locale is # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we # cannot use it here. gt_cv_locale_ja=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the AIX locale name. if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP else # Test for the locale name with explicit encoding suffix. if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC-JP else # Test for the HP-UX, OSF/1, NetBSD locale name. if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.eucJP else # Test for the IRIX, FreeBSD locale name. if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja_JP.EUC else # Test for the Solaris 10 locale name. if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_ja=ja else # Special test for NetBSD 1.6. if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then gt_cv_locale_ja=ja_JP.eucJP else # None found. gt_cv_locale_ja=none fi fi fi fi fi fi ;; esac fi rm -fr conftest* ]) LOCALE_JA=$gt_cv_locale_ja case $LOCALE_JA in #( '' | *[[[:space:]\"\$\'*@<:@]]*) dnl This locale name might cause trouble with sh or make. AC_MSG_WARN([invalid locale "$LOCALE_JA"; assuming "none"]) LOCALE_JA=none;; esac AC_SUBST([LOCALE_JA]) ]) datamash-1.9/m4/locale-zh.m40000644000000000000000000001441514767401140011245 # locale-zh.m4 # serial 20 dnl Copyright (C) 2003, 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Determine the name of a chinese locale with GB18030 encoding. AC_DEFUN_ONCE([gt_LOCALE_ZH_CN], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AM_LANGINFO_CODESET]) AC_CACHE_CHECK([for a transitional chinese locale], [gt_cv_locale_zh_CN], [ AC_LANG_CONFTEST([AC_LANG_SOURCE([[ #include #include #include #if HAVE_LANGINFO_CODESET # include #endif #include #include #include struct tm t; char buf[16]; int main () { /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl imitates locale dependent behaviour by looking at the environment variables, and all locales use the UTF-8 encoding. */ #if defined __BEOS__ || defined __HAIKU__ return 1; #else /* Check whether the given locale name is recognized by the system. */ # if defined _WIN32 && !defined __CYGWIN__ /* On native Windows, setlocale(category, "") looks at the system settings, not at the environment variables. Also, when an encoding suffix such as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE category of the locale to "C". */ if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) return 1; # else if (setlocale (LC_ALL, "") == NULL) return 1; # endif /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) is empty, and the behaviour of Tcl 8.4 in this locale is not useful. On OpenBSD 4.0, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "646". In this situation, some unit tests fail. On MirBSD 10, when an unsupported locale is specified, setlocale() succeeds but then nl_langinfo(CODESET) is "UTF-8". */ # if HAVE_LANGINFO_CODESET { const char *cs = nl_langinfo (CODESET); if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 || strcmp (cs, "UTF-8") == 0) return 1; } # endif # ifdef __CYGWIN__ /* On Cygwin, avoid locale names without encoding suffix, because the locale_charset() function relies on the encoding suffix. Note that LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. This excludes the UTF-8 encoding (except on MirBSD). */ { const char *p; t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; for (p = buf; *p != '\0'; p++) if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) return 1; } /* Check whether a typical GB18030 multibyte sequence is recognized as a single wide character. This excludes the GB2312 and GBK encodings. */ if (mblen ("\203\062\332\066", 5) != 4) return 1; /* Check whether mbrtowc accept this character one byte at a time. This excludes NetBSD 10.0. */ if (sizeof (wchar_t) > 2) { wchar_t wc; mbstate_t state; memset (&state, 0, sizeof (state)); if (!(mbrtowc (&wc, "\203", 1, &state) == (size_t)(-2) && mbrtowc (&wc, "\062", 1, &state) == (size_t)(-2) && mbrtowc (&wc, "\332", 1, &state) == (size_t)(-2) && mbrtowc (&wc, "\066", 1, &state) == 1)) return 1; } return 0; #endif } ]])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then case "$host_os" in # Handle native Windows specially, because there setlocale() interprets # "ar" or "ara" as "Arabic" or "Arabic_Saudi Arabia.1256", # "en" or "eng" as "English" or "English_United States.1252", # "fr" or "fra" as "French" or "French_France.1252", # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", # "ja" or "jpn" as "Japanese" or "Japanese_Japan.932", # and similar. mingw* | windows*) # Test for the hypothetical native Windows locale name. if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=Chinese_China.54936 else # None found. gt_cv_locale_zh_CN=none fi ;; solaris2.8) # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. gt_cv_locale_zh_CN=none ;; *) # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the # configure script would override the LC_ALL setting. Likewise for # LC_CTYPE, which is also set at the beginning of the configure script. # Test for the locale name without encoding suffix. if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN else # Test for the locale name with explicit encoding suffix. if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then gt_cv_locale_zh_CN=zh_CN.GB18030 else # None found. gt_cv_locale_zh_CN=none fi fi ;; esac else # If there was a link error, due to mblen(), the system is so old that # it certainly doesn't have a chinese locale. gt_cv_locale_zh_CN=none fi rm -fr conftest* ]) LOCALE_ZH_CN=$gt_cv_locale_zh_CN case $LOCALE_ZH_CN in #( '' | *[[[:space:]\"\$\'*@<:@]]*) dnl This locale name might cause trouble with sh or make. AC_MSG_WARN([invalid locale "$LOCALE_ZH_CN"; assuming "none"]) LOCALE_ZH_CN=none;; esac AC_SUBST([LOCALE_ZH_CN]) ]) datamash-1.9/m4/locale_h.m40000644000000000000000000001635014771573666011157 # locale_h.m4 # serial 37 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_LOCALE_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) dnl Persuade glibc to define locale_t and the int_p_*, int_n_* dnl members of 'struct lconv'. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl If is replaced, then must also be replaced. AC_REQUIRE([gl_STDDEF_H]) AC_REQUIRE([gl_LOCALE_T]) dnl On native Windows, there is a type '_locale_t' that can be used to dnl define locale_t. AC_CACHE_CHECK([whether locale.h defines _locale_t], [gl_cv_header_locale_has_windows_locale_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include _locale_t x;]], [[]])], [gl_cv_header_locale_has_windows_locale_t=yes], [gl_cv_header_locale_has_windows_locale_t=no]) ]) if test $gl_cv_header_locale_has_windows_locale_t = yes; then HAVE_WINDOWS_LOCALE_T=1 AC_DEFINE([HAVE_WINDOWS_LOCALE_T], [1], [Define to 1 if defines the _locale_t type.]) else HAVE_WINDOWS_LOCALE_T=0 fi AC_SUBST([HAVE_WINDOWS_LOCALE_T]) dnl Solaris 11.0 defines the int_p_*, int_n_* members of 'struct lconv' dnl only if _LCONV_C99 is defined. AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in solaris*) AC_DEFINE([_LCONV_C99], [1], [Define to 1 on Solaris.]) ;; esac AC_CACHE_CHECK([whether locale.h conforms to POSIX:2001], [gl_cv_header_locale_h_posix2001], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = LC_MESSAGES; int y = sizeof (((struct lconv *) 0)->decimal_point);]], [[]])], [gl_cv_header_locale_h_posix2001=yes], [gl_cv_header_locale_h_posix2001=no])]) dnl Check whether 'struct lconv' is complete. dnl Bionic libc's 'struct lconv' is just a dummy. dnl On OpenBSD 4.9, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.5.x, dnl mingw, MSVC 9, it lacks the int_p_* and int_n_* members. AC_CACHE_CHECK([whether struct lconv is properly defined], [gl_cv_sys_struct_lconv_ok], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct lconv l; int x = sizeof (l.decimal_point); int y = sizeof (l.int_p_cs_precedes);]], [[]])], [gl_cv_sys_struct_lconv_ok=yes], [gl_cv_sys_struct_lconv_ok=no]) ]) if test $gl_cv_sys_struct_lconv_ok = no; then dnl On native Windows with MSVC, merely define these member names as macros. dnl This avoids trouble in C++ mode. case "$host_os" in windows*-msvc*) ;; mingw* | windows*) AC_EGREP_CPP([Special], [ #ifdef _MSC_VER Special #endif ], [], [REPLACE_STRUCT_LCONV=1]) ;; *) REPLACE_STRUCT_LCONV=1 ;; esac fi dnl is always overridden, because of GNULIB_POSIXCHECK. gl_NEXT_HEADERS([locale.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include /* Some systems provide declarations in a non-standard header. */ #if HAVE_XLOCALE_H # include #endif ]], [setlocale newlocale duplocale freelocale getlocalename_l]) ]) dnl Checks to determine whether the system has the locale_t type, dnl and how to obtain it. AC_DEFUN([gl_LOCALE_T], [ dnl Persuade glibc and Solaris to define locale_t. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Check whether use of locale_t requires inclusion of , dnl e.g. on Mac OS X 10.5. If does not define locale_t by dnl itself, we assume that will do so. AC_CACHE_CHECK([whether locale.h defines locale_t], [gl_cv_header_locale_has_locale_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include locale_t x;]], [[]])], [gl_cv_header_locale_has_locale_t=yes], [gl_cv_header_locale_has_locale_t=no]) ]) dnl Check for . AC_CHECK_HEADERS_ONCE([xlocale.h]) if test $ac_cv_header_xlocale_h = yes; then HAVE_XLOCALE_H=1 if test $gl_cv_header_locale_has_locale_t = yes; then gl_cv_header_locale_h_needs_xlocale_h=no else gl_cv_header_locale_h_needs_xlocale_h=yes fi HAVE_LOCALE_T=1 else HAVE_XLOCALE_H=0 gl_cv_header_locale_h_needs_xlocale_h=no if test $gl_cv_header_locale_has_locale_t = yes; then HAVE_LOCALE_T=1 else HAVE_LOCALE_T=0 fi fi AC_SUBST([HAVE_XLOCALE_H]) AC_SUBST([HAVE_LOCALE_T]) ]) # gl_LOCALE_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_LOCALE_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_LOCALE_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_LOCALE_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_LOCALE_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOCALECONV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETLOCALE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETLOCALE_NULL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NEWLOCALE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUPLOCALE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREELOCALE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOCALENAME_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOCALENAME_L_UNSAFE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOCALENAME_UNSAFE]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_LOCALE_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) ]) AC_DEFUN([gl_LOCALE_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_NEWLOCALE=1; AC_SUBST([HAVE_NEWLOCALE]) HAVE_DUPLOCALE=1; AC_SUBST([HAVE_DUPLOCALE]) HAVE_FREELOCALE=1; AC_SUBST([HAVE_FREELOCALE]) HAVE_GETLOCALENAME_L=1; AC_SUBST([HAVE_GETLOCALENAME_L]) REPLACE_LOCALECONV=0; AC_SUBST([REPLACE_LOCALECONV]) REPLACE_SETLOCALE=0; AC_SUBST([REPLACE_SETLOCALE]) REPLACE_NEWLOCALE=0; AC_SUBST([REPLACE_NEWLOCALE]) REPLACE_DUPLOCALE=0; AC_SUBST([REPLACE_DUPLOCALE]) REPLACE_FREELOCALE=0; AC_SUBST([REPLACE_FREELOCALE]) REPLACE_GETLOCALENAME_L=0; AC_SUBST([REPLACE_GETLOCALENAME_L]) REPLACE_STRUCT_LCONV=0; AC_SUBST([REPLACE_STRUCT_LCONV]) LOCALENAME_ENHANCE_LOCALE_FUNCS=0; AC_SUBST([LOCALENAME_ENHANCE_LOCALE_FUNCS]) ]) datamash-1.9/m4/localeconv.m40000644000000000000000000000421614767401140011512 # localeconv.m4 # serial 3 dnl Copyright (C) 2012-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_LOCALECONV], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([gl_LOCALE_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles if test $REPLACE_STRUCT_LCONV = 1; then REPLACE_LOCALECONV=1 fi if test $REPLACE_LOCALECONV = 0; then dnl Test whether fields of type 'char' are filled correctly. dnl This test fails on mingw 5.0.3. AC_CACHE_CHECK([whether localeconv works], [gl_cv_func_localeconv_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main () { struct lconv *l = localeconv (); return l->frac_digits != CHAR_MAX && l->frac_digits < 0; } ]])], [gl_cv_func_localeconv_works=yes], [gl_cv_func_localeconv_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_localeconv_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_localeconv_works="guessing yes" ;; # Guess no on native Windows. mingw* | windows*) gl_cv_func_localeconv_works="guessing no" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_localeconv_works="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_localeconv_works" in *yes) ;; *) REPLACE_LOCALECONV=1 ;; esac fi ]) # Prerequisites of lib/localeconv.c. AC_DEFUN([gl_PREREQ_LOCALECONV], [ AC_CHECK_MEMBERS([struct lconv.decimal_point], [], [], [[#include ]]) AC_CHECK_MEMBERS([struct lconv.int_p_cs_precedes], [], [], [[#include ]]) ]) datamash-1.9/m4/localename.m40000644000000000000000000000116414767402206011470 # localename.m4 # serial 14 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_LOCALENAME_UNSAFE], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([gt_LC_MESSAGES]) AC_REQUIRE([gt_INTL_MACOSX]) ]) AC_DEFUN([gl_LOCALENAME_UNSAFE_LIMITED], [ AC_REQUIRE([gt_LC_MESSAGES]) ]) AC_DEFUN([gl_LOCALENAME_ENVIRON], [ AC_REQUIRE([gt_INTL_MACOSX]) ]) datamash-1.9/m4/lock.m40000644000000000000000000000312714771573666010337 # lock.m4 # serial 14 dnl Copyright (C) 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. AC_DEFUN([gl_LOCK], [ AC_REQUIRE([gl_THREADLIB]) if test "$gl_threads_api" = posix; then # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. has_rwlock=false AC_CHECK_TYPE([pthread_rwlock_t], [has_rwlock=true AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], [Define if the POSIX multithreading library has read/write locks.])], [], [#include ]) if $has_rwlock; then gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. AC_COMPILE_IFELSE([ AC_LANG_PROGRAM( [[#include ]], [[ #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ]])], [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) fi gl_PREREQ_LOCK ]) # Prerequisites of lib/glthread/lock.c. AC_DEFUN([gl_PREREQ_LOCK], [:]) datamash-1.9/m4/log.m40000644000000000000000000000650414767401140010150 # log.m4 # serial 14 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_LOG], [ m4_divert_text([DEFAULTS], [gl_log_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Determine LOG_LIBM. gl_COMMON_DOUBLE_MATHFUNC([log]) saved_LIBS="$LIBS" LIBS="$LIBS $LOG_LIBM" gl_FUNC_LOG_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_log_works" in *yes) ;; *) REPLACE_LOG=1 ;; esac m4_ifdef([gl_FUNC_LOG_IEEE], [ if test $gl_log_required = ieee && test $REPLACE_LOG = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether log works according to ISO C 99 with IEC 60559], [gl_cv_func_log_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $LOG_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (double x, double y) { return x == y; } static double dummy (double x) { return 0; } int main (int argc, char *argv[]) { double (* volatile my_log) (double) = argc ? log : dummy; /* Test log(negative). This test fails on NetBSD 5.1, Solaris 11.4. */ double y = my_log (-1.0); if (numeric_equal (y, y)) return 1; return 0; } ]])], [gl_cv_func_log_ieee=yes], [gl_cv_func_log_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_log_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_log_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_log_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_log_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_log_ieee" in *yes) ;; *) REPLACE_LOG=1 ;; esac fi ]) ]) dnl Test whether log() works. dnl On OSF/1 5.1, log(-0.0) is NaN. AC_DEFUN([gl_FUNC_LOG_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether log works], [gl_cv_func_log_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include volatile double x; double y; int main () { x = -0.0; y = log (x); if (!(y + y == y)) return 1; return 0; } ]])], [gl_cv_func_log_works=yes], [gl_cv_func_log_works=no], [case "$host_os" in osf*) gl_cv_func_log_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_log_works="guessing yes" ;; *) gl_cv_func_log_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/logl.m40000644000000000000000000001465714767401140010334 # logl.m4 # serial 18 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_LOGL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare logl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) LOGL_LIBM= AC_CACHE_CHECK([whether logl() can be used without linking with libm], [gl_cv_func_logl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = logl; long double x;]], [[return funcptr (x) > 1 || logl (x) > 1;]])], [gl_cv_func_logl_no_libm=yes], [gl_cv_func_logl_no_libm=no]) ]) if test $gl_cv_func_logl_no_libm = no; then AC_CACHE_CHECK([whether logl() can be used with libm], [gl_cv_func_logl_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = logl; long double x;]], [[return funcptr (x) > 1 || logl (x) > 1;]])], [gl_cv_func_logl_in_libm=yes], [gl_cv_func_logl_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_logl_in_libm = yes; then LOGL_LIBM=-lm fi fi if test $gl_cv_func_logl_no_libm = yes \ || test $gl_cv_func_logl_in_libm = yes; then dnl Also check whether it's declared. dnl Mac OS X 10.3 has logl() in libc but doesn't declare it in . AC_CHECK_DECL([logl], , [HAVE_DECL_LOGL=0], [[#include ]]) saved_LIBS="$LIBS" LIBS="$LIBS $LOGL_LIBM" gl_FUNC_LOGL_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_logl_works" in *yes) ;; *) REPLACE_LOGL=1 ;; esac else HAVE_LOGL=0 HAVE_DECL_LOGL=0 fi if test $HAVE_LOGL = 0 || test $REPLACE_LOGL = 1; then dnl Find libraries needed to link lib/logl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_LOG]) LOGL_LIBM="$LOG_LIBM" else if test $HAVE_LOGL = 0; then AC_REQUIRE([gl_FUNC_FREXPL]) AC_REQUIRE([gl_FUNC_ISNANL]) AC_REQUIRE([gl_FUNC_FLOORL]) dnl Append $FREXPL_LIBM to LOGL_LIBM, avoiding gratuitous duplicates. case " $LOGL_LIBM " in *" $FREXPL_LIBM "*) ;; *) LOGL_LIBM="$LOGL_LIBM $FREXPL_LIBM" ;; esac dnl Append $ISNANL_LIBM to LOGL_LIBM, avoiding gratuitous duplicates. case " $LOGL_LIBM " in *" $ISNANL_LIBM "*) ;; *) LOGL_LIBM="$LOGL_LIBM $ISNANL_LIBM" ;; esac dnl Append $FLOORL_LIBM to LOGL_LIBM, avoiding gratuitous duplicates. case " $LOGL_LIBM " in *" $FLOORL_LIBM "*) ;; *) LOGL_LIBM="$LOGL_LIBM $FLOORL_LIBM" ;; esac fi fi fi AC_SUBST([LOGL_LIBM]) ]) dnl Test whether logl() works. dnl On OSF/1 5.1, logl(-0.0L) is NaN. dnl On NetBSD 9.3, the result is accurate to only 16 digits. AC_DEFUN([gl_FUNC_LOGL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether logl works], [gl_cv_func_logl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include #include /* Override the values of , like done in float.in.h. */ #if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if defined __i386__ && (defined __FreeBSD__ || defined __DragonFly__) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 # undef LDBL_MIN_EXP # define LDBL_MIN_EXP (-16381) # undef LDBL_MAX_EXP # define LDBL_MAX_EXP 16384 #endif #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP #endif #if defined __sgi && (LDBL_MANT_DIG >= 106) # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 106 # if defined __GNUC__ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # endif #endif #undef logl extern #ifdef __cplusplus "C" #endif long double logl (long double); static long double dummy (long double x) { return 0; } volatile long double gx; long double gy; int main (int argc, char *argv[]) { long double (* volatile my_logl) (long double) = argc ? logl : dummy; int result = 0; /* This test fails on OSF/1 5.1. */ { gx = -0.0L; gy = logl (gx); if (!(gy + gy == gy)) result |= 1; } /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.3. */ { const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */ (long double) (1U << ((LDBL_MANT_DIG - 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 1) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 2) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 3) / 5)) * (long double) (1U << ((LDBL_MANT_DIG - 1 + 4) / 5)); long double x = 16.981137113807045L; long double err = (my_logl (x) + my_logl (1.0L / x)) * TWO_LDBL_MANT_DIG; if (!(err >= -100.0L && err <= 100.0L)) result |= 2; } return result; } ]])], [gl_cv_func_logl_works=yes], [gl_cv_func_logl_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_logl_works="guessing yes" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_logl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_logl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_logl_works="$gl_cross_guess_normal" ;; esac ]) ]) ]) datamash-1.9/m4/lseek.m40000644000000000000000000000713414767401140010472 # lseek.m4 # serial 15 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_LSEEK], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_CC]) AC_CHECK_HEADERS_ONCE([unistd.h]) AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe], [case "$host_os" in mingw* | windows*) dnl Native Windows. dnl The result of lseek (fd, (off_t)0, SEEK_CUR) or dnl SetFilePointer(handle, 0, NULL, FILE_CURRENT) dnl for a pipe depends on the environment: dnl In a Cygwin 1.5 environment it succeeds (wrong); dnl in a Cygwin 1.7 environment it fails with a wrong errno value; dnl in a Cygwin 2.9.0 environment it fails correctly; dnl in a Cygwin 3.4.6 environment it succeeds again (wrong). gl_cv_func_lseek_pipe=no ;; *) if test $cross_compiling = no; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include /* for off_t */ #include /* for SEEK_CUR */ #if HAVE_UNISTD_H # include #else /* on Windows with MSVC */ # include #endif ]GL_MDA_DEFINES], [[ /* Exit with success only if stdin is seekable. */ return lseek (0, (off_t)0, SEEK_CUR) < 0; ]])], [if test -s conftest$ac_exeext \ && ./conftest$ac_exeext < conftest.$ac_ext \ && test 1 = "`echo hi \ | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then gl_cv_func_lseek_pipe=yes else gl_cv_func_lseek_pipe=no fi ], [gl_cv_func_lseek_pipe=no]) else AC_COMPILE_IFELSE( [AC_LANG_SOURCE([[ #if defined __BEOS__ /* BeOS mistakenly return 0 when trying to seek on pipes. */ Choke me. #endif]])], [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no]) fi ;; esac ]) if test "$gl_cv_func_lseek_pipe" = no; then REPLACE_LSEEK=1 AC_DEFINE([LSEEK_PIPE_BROKEN], [1], [Define to 1 if lseek does not detect pipes.]) fi AC_REQUIRE([gl_SYS_TYPES_H]) if test $WINDOWS_64_BIT_OFF_T = 1; then REPLACE_LSEEK=1 fi AS_IF([test $REPLACE_LSEEK = 0], [AC_CACHE_CHECK([whether SEEK_DATA works but is incompatible with GNU], [gl_cv_func_lseek_works_but_incompatible], [AC_PREPROC_IFELSE( [AC_LANG_SOURCE( dnl Use macOS "9999" to stand for a future fixed macOS version. dnl See ../lib/unistd.in.h and . [[#include #if defined __APPLE__ && defined __MACH__ && defined SEEK_DATA # ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ # include # endif # if 99990000 <= MAC_OS_X_VERSION_MIN_REQUIRED # define LSEEK_WORKS_BUT_IS_INCOMPATIBLE_WITH_GNU # endif #endif #ifndef LSEEK_WORKS_BUT_IS_INCOMPATIBLE_WITH_GNU #error "No need to work around the bug" #endif ]])], [gl_cv_func_lseek_works_but_incompatible=yes], [gl_cv_func_lseek_works_but_incompatible=no])]) if test "$gl_cv_func_lseek_works_but_incompatible" = yes; then REPLACE_LSEEK=1 fi]) ]) datamash-1.9/m4/malloc.m40000644000000000000000000002014614767401140010634 # malloc.m4 # serial 43 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. m4_version_prereq([2.73], [], [ # Modules that use this macro directly or indirectly should depend # on extensions-aix, so that _LINUX_SOURCE_COMPAT gets defined # before this macro gets invoked. This helps on AIX 7.2 and earlier # if !(__VEC__ || __AIXVEC), and doesn't hurt otherwise. # # This is copied from upstream Autoconf here: # https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=1f38316f6af7bf63e5e7dd187ff6456e07ad743e#n971 # _AC_FUNC_MALLOC_IF(IF-WORKS, IF-NOT[, UNKNOWN-ASSUME]) # ------------------------------------------------------ # If 'malloc (0)' returns nonnull, run IF-WORKS, otherwise, IF-NOT. # If it is not known whether it works, assume the shell word UNKNOWN-ASSUME, # which should end in "yes" or in something else (the latter is the default). AC_DEFUN([_AC_FUNC_MALLOC_IF], [ AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles AC_CACHE_CHECK([whether malloc (0) returns nonnull], [ac_cv_func_malloc_0_nonnull], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include /* Use pmalloc to test; 'volatile' prevents the compiler from optimizing the malloc call away. */ void *(*volatile pmalloc) (size_t) = malloc;]], [[void *p = pmalloc (0); int result = !p; free (p); return result;]])], [ac_cv_func_malloc_0_nonnull=yes], [ac_cv_func_malloc_0_nonnull=no], [AS_CASE([$host_os], [# Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ | gnu* | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin* | mingw* | windows* | msys*], [ac_cv_func_malloc_0_nonnull="guessing yes"], [# Guess as follows if we don't know. ac_cv_func_malloc_0_nonnull=m4_default([$3], ["guessing no"])])])]) AS_CASE([$ac_cv_func_malloc_0_nonnull], [*yes], [$1], [$2]) ])# _AC_FUNC_MALLOC_IF ]) # gl_FUNC_MALLOC_0_NONNULL # ------------------------ # If 'malloc (0)' returns nonnull define HAVE_MALLOC_0_NONNULL. # Also, set ac_cv_func_malloc_0_nonnull to a string that ends in # "yes", otherwise set it to something else. If unknown whether # malloc (0) works, guess as normal for cross-builds. AC_DEFUN([gl_FUNC_MALLOC_0_NONNULL], [ _AC_FUNC_MALLOC_IF( [AC_DEFINE([HAVE_MALLOC_0_NONNULL], [1], [Define to 1 if malloc (0) returns nonnull.])], [], ["$gl_cross_guess_normal"]) ]) # gl_FUNC_MALLOC_GNU # ------------------ # Test whether malloc (0) is compatible with GNU libc. # Replace malloc if not. # Define HAVE_MALLOC_0_NONNULL if malloc (0) returns nonnull (except upon # out-of-memory). # Define HAVE_MALLOC_PTRDIFF if malloc (N) reliably fails when N exceeds # PTRDIFF_MAX. AC_DEFUN([gl_FUNC_MALLOC_GNU], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) AC_REQUIRE([gl_FUNC_MALLOC_0_NONNULL]) AS_CASE([$ac_cv_func_malloc_0_nonnull], [*yes], [REPLACE_MALLOC_FOR_MALLOC_GNU=$REPLACE_MALLOC_FOR_MALLOC_POSIX], [REPLACE_MALLOC_FOR_MALLOC_GNU=1]) ]) # gl_FUNC_MALLOC_PTRDIFF # ---------------------- # Test whether malloc (N) reliably fails when N exceeds PTRDIFF_MAX. # Define HAVE_MALLOC_PTRDIFF if yes. # Replace malloc if not. AC_DEFUN([gl_FUNC_MALLOC_PTRDIFF], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_MALLOC_PTRDIFF]) AS_IF([test "$gl_cv_malloc_ptrdiff" = yes], [AC_DEFINE([HAVE_MALLOC_PTRDIFF], 1, [Define to 1 if malloc-like functions do not allocate objects larger than PTRDIFF_MAX bytes.])], [REPLACE_MALLOC_FOR_MALLOC_POSIX=1]) ]) # Test whether malloc, realloc, calloc refuse to create objects # larger than what can be expressed in ptrdiff_t. # Set gl_cv_func_malloc_gnu. AC_DEFUN([gl_CHECK_MALLOC_PTRDIFF], [ AC_CACHE_CHECK([whether malloc is ptrdiff_t safe], [gl_cv_malloc_ptrdiff], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[/* 64-bit ptrdiff_t is so wide that no practical platform can exceed it. */ #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) /* On rare machines where size_t fits in ptrdiff_t there is no problem. */ #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) /* glibc 2.30 and later malloc refuses to exceed ptrdiff_t bounds even on 32-bit platforms. We don't know which non-glibc systems are safe. */ #define KNOWN_SAFE (2 < __GLIBC__ + (30 <= __GLIBC_MINOR__)) #if WIDE_PTRDIFF || NARROW_SIZE || KNOWN_SAFE return 0; #else #error "malloc might not be ptrdiff_t safe" syntax error #endif ]])], [gl_cv_malloc_ptrdiff=yes], [gl_cv_malloc_ptrdiff=no]) ]) ]) # gl_FUNC_MALLOC_POSIX # -------------------- # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it # fails, and doesn't mess up with ptrdiff_t overflow), and replace # malloc if it is not. AC_DEFUN([gl_FUNC_MALLOC_POSIX], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_MALLOC_PTRDIFF]) AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) case "$gl_cv_func_malloc_posix" in *yes) AC_DEFINE([HAVE_MALLOC_POSIX], [1], [Define if malloc, realloc, and calloc set errno on allocation failure.]) ;; *) REPLACE_MALLOC_FOR_MALLOC_POSIX=1 ;; esac ]) # Test whether malloc, realloc, calloc set errno to ENOMEM on failure. # Set gl_cv_func_malloc_posix to *yes or *no accordingly. AC_DEFUN([gl_CHECK_MALLOC_POSIX], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether malloc, realloc, calloc set errno on failure], [gl_cv_func_malloc_posix], [ dnl It is too dangerous to try to allocate a large amount of memory: dnl some systems go to their knees when you do that. So assume that dnl all Unix implementations of the function set errno on failure, dnl except on those platforms where we have seen 'test-malloc-gnu', dnl 'test-realloc-posix', 'test-calloc-gnu' fail. case "$host_os" in mingw* | windows*) dnl Old MSVCRT from 2001 did not set errno=ENOMEM when malloc failed. dnl More recent MSVCRT from 2019 does so. dnl UCRT is the successor of MSVCRT. Assume that UCRT does so as well. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #ifndef _UCRT msvcrt yuck #endif ]], [[]]) ], [gl_cv_func_malloc_posix="guessing yes"], [gl_cv_func_malloc_posix="guessing no"]) ;; irix* | solaris*) dnl On IRIX 6.5, the three functions return NULL with errno unset dnl when the argument is larger than PTRDIFF_MAX. dnl On Solaris 11.3, the three functions return NULL with errno set dnl to EAGAIN, not ENOMEM, when the argument is larger than dnl PTRDIFF_MAX. dnl Here is a test program: m4_divert_push([KILL]) #include #include #include #define ptrdiff_t long #ifndef PTRDIFF_MAX # define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1)) #endif int main () { void *p; fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX); errno = 0; p = malloc ((unsigned long) PTRDIFF_MAX + 1); fprintf (stderr, "p=%p errno=%d\n", p, errno); errno = 0; p = calloc (PTRDIFF_MAX / 2 + 1, 2); fprintf (stderr, "p=%p errno=%d\n", p, errno); errno = 0; p = realloc (NULL, (unsigned long) PTRDIFF_MAX + 1); fprintf (stderr, "p=%p errno=%d\n", p, errno); return 0; } m4_divert_pop([KILL]) gl_cv_func_malloc_posix=no ;; *) gl_cv_func_malloc_posix=yes ;; esac ]) ]) datamash-1.9/m4/malloca.m40000644000000000000000000000113214767401140010767 # malloca.m4 # serial 3 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_MALLOCA], [ dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables dnl @ALLOCA@ and @LTALLOCA@. dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. AC_REQUIRE([gl_FUNC_MALLOC_GNU]) ]) datamash-1.9/m4/math_h.m40000644000000000000000000005722214767401140010632 # math_h.m4 # serial 140 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_MATH_H], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([math.h]) AC_CACHE_CHECK([whether NAN macro works], [gl_cv_header_math_nan_works], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[/* Solaris 10 has a broken definition of NAN. Other platforms fail to provide NAN, or provide it only in C99 mode; this test only needs to fail when NAN is provided but wrong. */ float f = 1.0f; #ifdef NAN f = NAN; #endif return f == 0;]])], [gl_cv_header_math_nan_works=yes], [gl_cv_header_math_nan_works=no])]) if test $gl_cv_header_math_nan_works = no; then REPLACE_NAN=1 fi AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[/* Solaris 10 has a broken definition of HUGE_VAL. */ double d = HUGE_VAL; return d == 0;]])], [gl_cv_header_math_huge_val_works=yes], [gl_cv_header_math_huge_val_works=no])]) if test $gl_cv_header_math_huge_val_works = no; then REPLACE_HUGE_VAL=1 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [acosf acosl asinf asinl atanf atanl cbrt cbrtf cbrtl ceilf ceill copysign copysignf copysignl cosf cosl coshf expf expl exp2 exp2f exp2l expm1 expm1f expm1l fabsf fabsl floorf floorl fma fmaf fmal fmod fmodf fmodl frexpf frexpl getpayload getpayloadf getpayloadl hypotf hypotl ilogb ilogbf ilogbl ldexpf ldexpl log logf logl log10 log10f log10l log1p log1pf log1pl log2 log2f log2l logb logbf logbl logp1 log1pf logp1l modf modff modfl powf remainder remainderf remainderl rint rintf rintl round roundf roundl setpayload setpayloadf setpayloadl setpayloadsig setpayloadsigf setpayloadsigl sinf sinl sinhf sqrtf sqrtl tanf tanl tanhf totalorder totalorderf totalorderl totalordermag totalordermagf totalordermagl trunc truncf truncl]) ]) # gl_MATH_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_MATH_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_MATH_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_MATH_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_MATH_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACOSF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACOSL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ASINF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ASINL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATANL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATAN2F]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CBRT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CBRTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CBRTL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CEIL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CEILF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CEILL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPYSIGN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPYSIGNF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPYSIGNL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COSF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COSL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COSHF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXP2]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXP2F]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXP2L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPM1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPM1F]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPM1L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FABSF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FABSL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOOR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOORF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOORL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMA]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMAF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMAL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMOD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMODF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMODL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREXPF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREXP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREXPL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPAYLOAD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPAYLOADF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPAYLOADL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_HYPOT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_HYPOTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_HYPOTL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGB]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGBF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGBL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISFINITE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISINF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAND]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNANL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LDEXP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LDEXPF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LDEXPL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG10]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG10F]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG10L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG1P]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG1PF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG1PL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG2]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG2F]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG2L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGB]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGBF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGBL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGP1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGP1F]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGP1L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MODF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MODFF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MODFL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POWF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMAINDER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMAINDERF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMAINDERL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RINT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RINTL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ROUND]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ROUNDF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ROUNDL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOAD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADSIG]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADSIGF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETPAYLOADSIGL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGNBIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINHF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SQRTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SQRTL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TANL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TANHF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOTALORDER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOTALORDERF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOTALORDERL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOTALORDERMAG]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOTALORDERMAGF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOTALORDERMAGL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNCF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNCL]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_J0], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_J1], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_JN], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_Y0], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_Y1], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_YN], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_MATH_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) ]) AC_DEFUN([gl_MATH_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_ACOSF=1; AC_SUBST([HAVE_ACOSF]) HAVE_ACOSL=1; AC_SUBST([HAVE_ACOSL]) HAVE_ASINF=1; AC_SUBST([HAVE_ASINF]) HAVE_ASINL=1; AC_SUBST([HAVE_ASINL]) HAVE_ATANF=1; AC_SUBST([HAVE_ATANF]) HAVE_ATANL=1; AC_SUBST([HAVE_ATANL]) HAVE_ATAN2F=1; AC_SUBST([HAVE_ATAN2F]) HAVE_CBRT=1; AC_SUBST([HAVE_CBRT]) HAVE_CBRTF=1; AC_SUBST([HAVE_CBRTF]) HAVE_CBRTL=1; AC_SUBST([HAVE_CBRTL]) HAVE_COPYSIGN=1; AC_SUBST([HAVE_COPYSIGN]) HAVE_COPYSIGNL=1; AC_SUBST([HAVE_COPYSIGNL]) HAVE_COSF=1; AC_SUBST([HAVE_COSF]) HAVE_COSL=1; AC_SUBST([HAVE_COSL]) HAVE_COSHF=1; AC_SUBST([HAVE_COSHF]) HAVE_EXPF=1; AC_SUBST([HAVE_EXPF]) HAVE_EXPL=1; AC_SUBST([HAVE_EXPL]) HAVE_EXPM1=1; AC_SUBST([HAVE_EXPM1]) HAVE_EXPM1F=1; AC_SUBST([HAVE_EXPM1F]) HAVE_FABSF=1; AC_SUBST([HAVE_FABSF]) HAVE_FABSL=1; AC_SUBST([HAVE_FABSL]) HAVE_FMA=1; AC_SUBST([HAVE_FMA]) HAVE_FMAF=1; AC_SUBST([HAVE_FMAF]) HAVE_FMAL=1; AC_SUBST([HAVE_FMAL]) HAVE_FMODF=1; AC_SUBST([HAVE_FMODF]) HAVE_FMODL=1; AC_SUBST([HAVE_FMODL]) HAVE_FREXPF=1; AC_SUBST([HAVE_FREXPF]) HAVE_GETPAYLOAD=1; AC_SUBST([HAVE_GETPAYLOAD]) HAVE_GETPAYLOADF=1; AC_SUBST([HAVE_GETPAYLOADF]) HAVE_GETPAYLOADL=1; AC_SUBST([HAVE_GETPAYLOADL]) HAVE_HYPOTF=1; AC_SUBST([HAVE_HYPOTF]) HAVE_HYPOTL=1; AC_SUBST([HAVE_HYPOTL]) HAVE_ILOGB=1; AC_SUBST([HAVE_ILOGB]) HAVE_ILOGBF=1; AC_SUBST([HAVE_ILOGBF]) HAVE_ILOGBL=1; AC_SUBST([HAVE_ILOGBL]) HAVE_ISNANF=1; AC_SUBST([HAVE_ISNANF]) HAVE_ISNAND=1; AC_SUBST([HAVE_ISNAND]) HAVE_ISNANL=1; AC_SUBST([HAVE_ISNANL]) HAVE_LDEXPF=1; AC_SUBST([HAVE_LDEXPF]) HAVE_LOGF=1; AC_SUBST([HAVE_LOGF]) HAVE_LOGL=1; AC_SUBST([HAVE_LOGL]) HAVE_LOG10F=1; AC_SUBST([HAVE_LOG10F]) HAVE_LOG10L=1; AC_SUBST([HAVE_LOG10L]) HAVE_LOG1P=1; AC_SUBST([HAVE_LOG1P]) HAVE_LOG1PF=1; AC_SUBST([HAVE_LOG1PF]) HAVE_LOG1PL=1; AC_SUBST([HAVE_LOG1PL]) HAVE_LOGBF=1; AC_SUBST([HAVE_LOGBF]) HAVE_LOGBL=1; AC_SUBST([HAVE_LOGBL]) HAVE_LOGP1=1; AC_SUBST([HAVE_LOGP1]) HAVE_LOGP1F=1; AC_SUBST([HAVE_LOGP1F]) HAVE_LOGP1L=1; AC_SUBST([HAVE_LOGP1L]) HAVE_MODFF=1; AC_SUBST([HAVE_MODFF]) HAVE_MODFL=1; AC_SUBST([HAVE_MODFL]) HAVE_POWF=1; AC_SUBST([HAVE_POWF]) HAVE_REMAINDER=1; AC_SUBST([HAVE_REMAINDER]) HAVE_REMAINDERF=1; AC_SUBST([HAVE_REMAINDERF]) HAVE_RINT=1; AC_SUBST([HAVE_RINT]) HAVE_RINTL=1; AC_SUBST([HAVE_RINTL]) HAVE_SETPAYLOAD=1; AC_SUBST([HAVE_SETPAYLOAD]) HAVE_SETPAYLOADF=1; AC_SUBST([HAVE_SETPAYLOADF]) HAVE_SETPAYLOADL=1; AC_SUBST([HAVE_SETPAYLOADL]) HAVE_SETPAYLOADSIG=1; AC_SUBST([HAVE_SETPAYLOADSIG]) HAVE_SETPAYLOADSIGF=1; AC_SUBST([HAVE_SETPAYLOADSIGF]) HAVE_SETPAYLOADSIGL=1; AC_SUBST([HAVE_SETPAYLOADSIGL]) HAVE_SINF=1; AC_SUBST([HAVE_SINF]) HAVE_SINL=1; AC_SUBST([HAVE_SINL]) HAVE_SINHF=1; AC_SUBST([HAVE_SINHF]) HAVE_SQRTF=1; AC_SUBST([HAVE_SQRTF]) HAVE_SQRTL=1; AC_SUBST([HAVE_SQRTL]) HAVE_TANF=1; AC_SUBST([HAVE_TANF]) HAVE_TANL=1; AC_SUBST([HAVE_TANL]) HAVE_TANHF=1; AC_SUBST([HAVE_TANHF]) HAVE_TOTALORDER=1; AC_SUBST([HAVE_TOTALORDER]) HAVE_TOTALORDERF=1; AC_SUBST([HAVE_TOTALORDERF]) HAVE_TOTALORDERL=1; AC_SUBST([HAVE_TOTALORDERL]) HAVE_TOTALORDERMAG=1; AC_SUBST([HAVE_TOTALORDERMAG]) HAVE_TOTALORDERMAGF=1; AC_SUBST([HAVE_TOTALORDERMAGF]) HAVE_TOTALORDERMAGL=1; AC_SUBST([HAVE_TOTALORDERMAGL]) HAVE_DECL_ACOSL=1; AC_SUBST([HAVE_DECL_ACOSL]) HAVE_DECL_ASINL=1; AC_SUBST([HAVE_DECL_ASINL]) HAVE_DECL_ATANL=1; AC_SUBST([HAVE_DECL_ATANL]) HAVE_DECL_CBRTF=1; AC_SUBST([HAVE_DECL_CBRTF]) HAVE_DECL_CBRTL=1; AC_SUBST([HAVE_DECL_CBRTL]) HAVE_DECL_CEILF=1; AC_SUBST([HAVE_DECL_CEILF]) HAVE_DECL_CEILL=1; AC_SUBST([HAVE_DECL_CEILL]) HAVE_DECL_COPYSIGNF=1; AC_SUBST([HAVE_DECL_COPYSIGNF]) HAVE_DECL_COSL=1; AC_SUBST([HAVE_DECL_COSL]) HAVE_DECL_EXPL=1; AC_SUBST([HAVE_DECL_EXPL]) HAVE_DECL_EXP2=1; AC_SUBST([HAVE_DECL_EXP2]) HAVE_DECL_EXP2F=1; AC_SUBST([HAVE_DECL_EXP2F]) HAVE_DECL_EXP2L=1; AC_SUBST([HAVE_DECL_EXP2L]) HAVE_DECL_EXPM1L=1; AC_SUBST([HAVE_DECL_EXPM1L]) HAVE_DECL_FLOORF=1; AC_SUBST([HAVE_DECL_FLOORF]) HAVE_DECL_FLOORL=1; AC_SUBST([HAVE_DECL_FLOORL]) HAVE_DECL_FREXPL=1; AC_SUBST([HAVE_DECL_FREXPL]) HAVE_DECL_LDEXPL=1; AC_SUBST([HAVE_DECL_LDEXPL]) HAVE_DECL_LOGL=1; AC_SUBST([HAVE_DECL_LOGL]) HAVE_DECL_LOG10L=1; AC_SUBST([HAVE_DECL_LOG10L]) HAVE_DECL_LOG2=1; AC_SUBST([HAVE_DECL_LOG2]) HAVE_DECL_LOG2F=1; AC_SUBST([HAVE_DECL_LOG2F]) HAVE_DECL_LOG2L=1; AC_SUBST([HAVE_DECL_LOG2L]) HAVE_DECL_LOGB=1; AC_SUBST([HAVE_DECL_LOGB]) HAVE_DECL_REMAINDER=1; AC_SUBST([HAVE_DECL_REMAINDER]) HAVE_DECL_REMAINDERL=1; AC_SUBST([HAVE_DECL_REMAINDERL]) HAVE_DECL_RINTF=1; AC_SUBST([HAVE_DECL_RINTF]) HAVE_DECL_ROUND=1; AC_SUBST([HAVE_DECL_ROUND]) HAVE_DECL_ROUNDF=1; AC_SUBST([HAVE_DECL_ROUNDF]) HAVE_DECL_ROUNDL=1; AC_SUBST([HAVE_DECL_ROUNDL]) HAVE_DECL_SINL=1; AC_SUBST([HAVE_DECL_SINL]) HAVE_DECL_SQRTL=1; AC_SUBST([HAVE_DECL_SQRTL]) HAVE_DECL_TANL=1; AC_SUBST([HAVE_DECL_TANL]) HAVE_DECL_TRUNC=1; AC_SUBST([HAVE_DECL_TRUNC]) HAVE_DECL_TRUNCF=1; AC_SUBST([HAVE_DECL_TRUNCF]) HAVE_DECL_TRUNCL=1; AC_SUBST([HAVE_DECL_TRUNCL]) REPLACE_ACOSF=0; AC_SUBST([REPLACE_ACOSF]) REPLACE_ASINF=0; AC_SUBST([REPLACE_ASINF]) REPLACE_ATANF=0; AC_SUBST([REPLACE_ATANF]) REPLACE_ATAN2F=0; AC_SUBST([REPLACE_ATAN2F]) REPLACE_CBRTF=0; AC_SUBST([REPLACE_CBRTF]) REPLACE_CBRTL=0; AC_SUBST([REPLACE_CBRTL]) REPLACE_CEIL=0; AC_SUBST([REPLACE_CEIL]) REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF]) REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL]) REPLACE_COSF=0; AC_SUBST([REPLACE_COSF]) REPLACE_COSHF=0; AC_SUBST([REPLACE_COSHF]) REPLACE_EXPF=0; AC_SUBST([REPLACE_EXPF]) REPLACE_EXPL=0; AC_SUBST([REPLACE_EXPL]) REPLACE_EXPM1=0; AC_SUBST([REPLACE_EXPM1]) REPLACE_EXPM1F=0; AC_SUBST([REPLACE_EXPM1F]) REPLACE_EXPM1L=0; AC_SUBST([REPLACE_EXPM1L]) REPLACE_EXP2=0; AC_SUBST([REPLACE_EXP2]) REPLACE_EXP2L=0; AC_SUBST([REPLACE_EXP2L]) REPLACE_FABSL=0; AC_SUBST([REPLACE_FABSL]) REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR]) REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF]) REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL]) REPLACE_FMA=0; AC_SUBST([REPLACE_FMA]) REPLACE_FMAF=0; AC_SUBST([REPLACE_FMAF]) REPLACE_FMAL=0; AC_SUBST([REPLACE_FMAL]) REPLACE_FMOD=0; AC_SUBST([REPLACE_FMOD]) REPLACE_FMODF=0; AC_SUBST([REPLACE_FMODF]) REPLACE_FMODL=0; AC_SUBST([REPLACE_FMODL]) REPLACE_FREXPF=0; AC_SUBST([REPLACE_FREXPF]) REPLACE_FREXP=0; AC_SUBST([REPLACE_FREXP]) REPLACE_FREXPL=0; AC_SUBST([REPLACE_FREXPL]) REPLACE_GETPAYLOAD=0; AC_SUBST([REPLACE_GETPAYLOAD]) REPLACE_GETPAYLOADF=0; AC_SUBST([REPLACE_GETPAYLOADF]) REPLACE_GETPAYLOADL=0; AC_SUBST([REPLACE_GETPAYLOADL]) REPLACE_HUGE_VAL=0; AC_SUBST([REPLACE_HUGE_VAL]) REPLACE_HYPOT=0; AC_SUBST([REPLACE_HYPOT]) REPLACE_HYPOTF=0; AC_SUBST([REPLACE_HYPOTF]) REPLACE_HYPOTL=0; AC_SUBST([REPLACE_HYPOTL]) REPLACE_ILOGB=0; AC_SUBST([REPLACE_ILOGB]) REPLACE_ILOGBF=0; AC_SUBST([REPLACE_ILOGBF]) REPLACE_ILOGBL=0; AC_SUBST([REPLACE_ILOGBL]) REPLACE_ISFINITE=0; AC_SUBST([REPLACE_ISFINITE]) REPLACE_ISINF=0; AC_SUBST([REPLACE_ISINF]) REPLACE_ISNAN=0; AC_SUBST([REPLACE_ISNAN]) REPLACE_LDEXP=0; AC_SUBST([REPLACE_LDEXP]) REPLACE_LDEXPL=0; AC_SUBST([REPLACE_LDEXPL]) REPLACE_LOG=0; AC_SUBST([REPLACE_LOG]) REPLACE_LOGF=0; AC_SUBST([REPLACE_LOGF]) REPLACE_LOGL=0; AC_SUBST([REPLACE_LOGL]) REPLACE_LOG10=0; AC_SUBST([REPLACE_LOG10]) REPLACE_LOG10F=0; AC_SUBST([REPLACE_LOG10F]) REPLACE_LOG10L=0; AC_SUBST([REPLACE_LOG10L]) REPLACE_LOG1P=0; AC_SUBST([REPLACE_LOG1P]) REPLACE_LOG1PF=0; AC_SUBST([REPLACE_LOG1PF]) REPLACE_LOG1PL=0; AC_SUBST([REPLACE_LOG1PL]) REPLACE_LOG2=0; AC_SUBST([REPLACE_LOG2]) REPLACE_LOG2F=0; AC_SUBST([REPLACE_LOG2F]) REPLACE_LOG2L=0; AC_SUBST([REPLACE_LOG2L]) REPLACE_LOGB=0; AC_SUBST([REPLACE_LOGB]) REPLACE_LOGBF=0; AC_SUBST([REPLACE_LOGBF]) REPLACE_LOGBL=0; AC_SUBST([REPLACE_LOGBL]) REPLACE_MODF=0; AC_SUBST([REPLACE_MODF]) REPLACE_MODFF=0; AC_SUBST([REPLACE_MODFF]) REPLACE_MODFL=0; AC_SUBST([REPLACE_MODFL]) REPLACE_NAN=0; AC_SUBST([REPLACE_NAN]) REPLACE_REMAINDER=0; AC_SUBST([REPLACE_REMAINDER]) REPLACE_REMAINDERF=0; AC_SUBST([REPLACE_REMAINDERF]) REPLACE_REMAINDERL=0; AC_SUBST([REPLACE_REMAINDERL]) REPLACE_RINTL=0; AC_SUBST([REPLACE_RINTL]) REPLACE_ROUND=0; AC_SUBST([REPLACE_ROUND]) REPLACE_ROUNDF=0; AC_SUBST([REPLACE_ROUNDF]) REPLACE_ROUNDL=0; AC_SUBST([REPLACE_ROUNDL]) REPLACE_SIGNBIT=0; AC_SUBST([REPLACE_SIGNBIT]) REPLACE_SIGNBIT_USING_BUILTINS=0; AC_SUBST([REPLACE_SIGNBIT_USING_BUILTINS]) REPLACE_SINF=0; AC_SUBST([REPLACE_SINF]) REPLACE_SINHF=0; AC_SUBST([REPLACE_SINHF]) REPLACE_SQRTF=0; AC_SUBST([REPLACE_SQRTF]) REPLACE_SQRTL=0; AC_SUBST([REPLACE_SQRTL]) REPLACE_TANF=0; AC_SUBST([REPLACE_TANF]) REPLACE_TANHF=0; AC_SUBST([REPLACE_TANHF]) REPLACE_TOTALORDER=0; AC_SUBST([REPLACE_TOTALORDER]) REPLACE_TOTALORDERF=0; AC_SUBST([REPLACE_TOTALORDERF]) REPLACE_TOTALORDERL=0; AC_SUBST([REPLACE_TOTALORDERL]) REPLACE_TOTALORDERMAG=0; AC_SUBST([REPLACE_TOTALORDERMAG]) REPLACE_TOTALORDERMAGF=0; AC_SUBST([REPLACE_TOTALORDERMAGF]) REPLACE_TOTALORDERMAGL=0; AC_SUBST([REPLACE_TOTALORDERMAGL]) REPLACE_TRUNC=0; AC_SUBST([REPLACE_TRUNC]) REPLACE_TRUNCF=0; AC_SUBST([REPLACE_TRUNCF]) REPLACE_TRUNCL=0; AC_SUBST([REPLACE_TRUNCL]) ]) # gl_LONG_DOUBLE_VS_DOUBLE # determines whether 'long double' and 'double' have the same representation. # Sets variable HAVE_SAME_LONG_DOUBLE_AS_DOUBLE to 0 or 1, and defines # HAVE_SAME_LONG_DOUBLE_AS_DOUBLE accordingly. # The currently known platforms where this is the case are: # Linux/HPPA, NetBSD/sparc32, Minix 3.1.8, AIX 5, AIX 6 and 7 with xlc, MSVC 9. AC_DEFUN([gl_LONG_DOUBLE_VS_DOUBLE], [ AC_CACHE_CHECK([whether long double and double are the same], [gl_cv_long_double_equals_double], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[typedef int check[sizeof (long double) == sizeof (double) && LDBL_MANT_DIG == DBL_MANT_DIG && LDBL_MAX_EXP == DBL_MAX_EXP && LDBL_MIN_EXP == DBL_MIN_EXP ? 1 : -1]; ]])], [gl_cv_long_double_equals_double=yes], [gl_cv_long_double_equals_double=no]) ]) if test $gl_cv_long_double_equals_double = yes; then AC_DEFINE([HAVE_SAME_LONG_DOUBLE_AS_DOUBLE], [1], [Define to 1 if 'long double' and 'double' have the same representation.]) HAVE_SAME_LONG_DOUBLE_AS_DOUBLE=1 else HAVE_SAME_LONG_DOUBLE_AS_DOUBLE=0 fi AC_SUBST([HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]) ]) datamash-1.9/m4/mathfunc.m40000644000000000000000000001707014767401140011174 # mathfunc.m4 # serial 18 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # gl_MATHFUNC(FUNC, RETTYPE, PARAMTYPES [, INCLUDES] [, EXTRA-CODE]) # ------------------------------------------------------------------ # tests whether the function FUNC is available in libc or libm. # RETTYPE is the return type. PARAMTYPES is a parameter list, with parentheses. # It sets FUNC_LIBM to empty or "-lm" accordingly. AC_DEFUN([gl_MATHFUNC], [ dnl We need the RETTYPE and PARAMTYPES in order to force linking with the dnl function. dnl 1) With gcc >= 4.3 on glibc/x86_64, calls to the 'fabs' function dnl are inlined by the compiler, therefore linking of these calls does dnl not require -lm, but taking the function pointer of 'fabs' does. dnl 2) On MSVC 9, many math functions exist only as macros with arguments, dnl whereas the function pointer is undefined. dnl On the other hand, taking just the function pointer is not enough. dnl 1) On AIX 7.1, when 'long double' is 128 bit large ("xlc -qldbl128" or dnl "xlc -qlongdouble" or "gcc -mlong-double-128") many math functions dnl exist as macros with arguments, that may reference libm or even dnl completely undefined functions such as __rint128. dnl 2) In AIX 7.1 with gcc 4.2, when optimization is turned on, calls to dnl rint() with simple arguments are turned into rintf() calls by the dnl compiler. But while rint() is resides in libc, rintf() is in libm. m4_pushdef([func], [$1]) m4_pushdef([FUNC], [m4_translit([$1],[abcdefghijklmnopqrstuvwxyz], [ABCDEFGHIJKLMNOPQRSTUVWXYZ])]) m4_pushdef([ARGS], [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [m4_bpatsubst( [$3], [fenv_t\( const\)? \*], [&fenv_ret])], [fexcept_t\( const\)? \*], [&fx_ret])], [int\( const\)? \*], [&i_ret])], [float\( const\)? \*], [&f_ret])], [double\( const\)? \*], [&d_ret])], [long double\( const\)? \*], [&l_ret])], [fp_rnd], [1])], [fp_except_t], [1])], [int], [2])], [float], [1.618034f])], [long double], [1.618033988749894848L])], [double], [1.6180339887])], [void], [])]) FUNC[]_LIBM= AC_CACHE_CHECK([whether func() can be used without linking with libm], [gl_cv_func_]func[_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include $4 $2 (* volatile funcptr) $3 = ]func[; int i_ret; float f_ret; double d_ret; long double l_ret;]], [[$2 y = funcptr ]ARGS[ + ]func[ ]ARGS[; $5 return y < 0.3 || y > 1.7; ]])], [gl_cv_func_]func[_no_libm=yes], [gl_cv_func_]func[_no_libm=no]) ]) if test $gl_cv_func_[]func[]_no_libm = no; then AC_CACHE_CHECK([whether func() can be used with libm], [gl_cv_func_]func[_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include $4 $2 (* volatile funcptr) $3 = ]func[; int i_ret; float f_ret; double d_ret; long double l_ret;]], [[$2 y = funcptr ]ARGS[ + ]func[ ]ARGS[; $5 return y < 0.3 || y > 1.7; ]])], [gl_cv_func_]func[_in_libm=yes], [gl_cv_func_]func[_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_[]func[]_in_libm = yes; then FUNC[]_LIBM=-lm fi fi AC_SUBST(FUNC[_LIBM]) m4_popdef([ARGS]) m4_popdef([FUNC]) m4_popdef([func]) ]) # gl_COMMON_DOUBLE_MATHFUNC(FUNC) # ------------------------------- # tests whether the function FUNC is available in libc or libm. # It sets FUNC_LIBM to empty or "-lm" accordingly. # FUNC must be one of the following functions, that are present on all systems # and provided by libm on all systems except Mac OS X, BeOS, Haiku: # acos asin atan atan2 cbrt cos cosh erf erfc exp fmod hypot j0 j1 jn lgamma # log log10 log1p pow remainder sin sinh sqrt tan tanh y0 y1 yn AC_DEFUN([gl_COMMON_DOUBLE_MATHFUNC], [ AC_REQUIRE([gl_COMMON_DOUBLE_MATHFUNC_TEST]) m4_pushdef([FUNC], [m4_translit([$1],[abcdefghijklmnopqrstuvwxyz], [ABCDEFGHIJKLMNOPQRSTUVWXYZ])]) FUNC[]_LIBM="$POW_LIBM" AC_SUBST(FUNC[_LIBM]) m4_popdef([FUNC]) ]) AC_DEFUN([gl_COMMON_DOUBLE_MATHFUNC_TEST], [ dnl We could use any of the following: dnl gl_MATHFUNC([acos], [double], [(double)]) dnl gl_MATHFUNC([asin], [double], [(double)]) dnl gl_MATHFUNC([atan], [double], [(double)]) dnl gl_MATHFUNC([atan2], [double], [(double, double)]) dnl gl_MATHFUNC([cbrt], [double], [(double)]) dnl gl_MATHFUNC([cos], [double], [(double)]) dnl gl_MATHFUNC([cosh], [double], [(double)]) dnl gl_MATHFUNC([erf], [double], [(double)]) dnl gl_MATHFUNC([erfc], [double], [(double)]) dnl gl_MATHFUNC([exp], [double], [(double)]) dnl gl_MATHFUNC([fmod], [double], [(double, double)]) dnl gl_MATHFUNC([hypot], [double], [(double, double)]) dnl gl_MATHFUNC([j0], [double], [(double)]) dnl gl_MATHFUNC([j1], [double], [(double)]) dnl gl_MATHFUNC([jn], [double], [(int, double)]) dnl gl_MATHFUNC([lgamma], [double], [(double)]) dnl gl_MATHFUNC([log], [double], [(double)]) dnl gl_MATHFUNC([log10], [double], [(double)]) dnl gl_MATHFUNC([log1p], [double], [(double)]) dnl gl_MATHFUNC([pow], [double], [(double, double)]) dnl gl_MATHFUNC([remainder], [double], [(double, double)]) dnl gl_MATHFUNC([sin], [double], [(double)]) dnl gl_MATHFUNC([sinh], [double], [(double)]) dnl gl_MATHFUNC([sqrt], [double], [(double)]) dnl gl_MATHFUNC([tan], [double], [(double)]) dnl gl_MATHFUNC([tanh], [double], [(double)]) dnl gl_MATHFUNC([y0], [double], [(double)]) dnl gl_MATHFUNC([y1], [double], [(double)]) dnl gl_MATHFUNC([yn], [double], [(int, double)]) gl_MATHFUNC([pow], [double], [(double, double)]) ]) datamash-1.9/m4/mbchar.m40000644000000000000000000000074314767401140010622 # mbchar.m4 # serial 9 dnl Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl autoconf tests required for use of mbchar.m4 dnl From Bruno Haible. AC_DEFUN([gl_MBCHAR], [ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ]) datamash-1.9/m4/mbiter.m40000644000000000000000000000073214767401140010646 # mbiter.m4 # serial 7 dnl Copyright (C) 2005, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl autoconf tests required for use of mbiter.h dnl From Bruno Haible. AC_DEFUN([gl_MBITER], [ AC_REQUIRE([AC_TYPE_MBSTATE_T]) : ]) datamash-1.9/m4/mbrtoc32.m40000644000000000000000000002467514767401140011033 # mbrtoc32.m4 # serial 21 dnl Copyright (C) 2014-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MBRTOC32], [ AC_REQUIRE([gl_UCHAR_H_DEFAULTS]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is dnl determined. It describes how our overridden mbrtowc is implemented. dnl We then implement mbrtoc32 accordingly. AC_REQUIRE([gl_MBSTATE_T_BROKEN]) AC_REQUIRE([gl_TYPE_CHAR32_T]) AC_REQUIRE([gl_MBRTOC32_SANITYCHECK]) AC_REQUIRE([gl_CHECK_FUNC_MBRTOC32]) if test $gl_cv_func_mbrtoc32 = no; then HAVE_MBRTOC32=0 else if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOC32=1 else gl_MBRTOC32_EMPTY_INPUT gl_MBRTOC32_C_LOCALE gl_MBRTOC32_UTF8_LOCALE case "$gl_cv_func_mbrtoc32_empty_input" in *yes) ;; *) AC_DEFINE([MBRTOC32_EMPTY_INPUT_BUG], [1], [Define if the mbrtoc32 function does not return (size_t) -2 for empty input.]) REPLACE_MBRTOC32=1 ;; esac case "$gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ" in *yes) ;; *) AC_DEFINE([MBRTOC32_IN_C_LOCALE_MAYBE_EILSEQ], [1], [Define if the mbrtoc32 function may signal encoding errors in the C locale.]) REPLACE_MBRTOC32=1 ;; esac case "$gl_cv_func_mbrtoc32_utf8_locale_works" in *yes) ;; *) AC_DEFINE([MBRTOC32_MULTIBYTE_LOCALE_BUG], [1], [Define if the mbrtoc32 function does not accept the input bytes one-by-one.]) REPLACE_MBRTOC32=1 dnl Our replacement mbrtoc32 can handle UTF-8, but not GB18030. LOCALE_ZH_CN=none ;; esac fi if test $HAVE_WORKING_MBRTOC32 = 0; then REPLACE_MBRTOC32=1 fi fi ]) AC_DEFUN([gl_CHECK_FUNC_MBRTOC32], [ dnl Cf. gl_CHECK_FUNCS_ANDROID AC_CHECK_DECL([mbrtoc32], , , [[#ifdef __HAIKU__ #include #endif #include ]]) if test $ac_cv_have_decl_mbrtoc32 = yes; then dnl We can't use AC_CHECK_FUNC here, because mbrtoc32() is defined as a dnl static inline function on Haiku 2020. AC_CACHE_CHECK([for mbrtoc32], [gl_cv_func_mbrtoc32], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include #ifdef __HAIKU__ #include #endif #include ]], [[char32_t c; return mbrtoc32 (&c, "", 1, NULL) == 0; ]]) ], [gl_cv_func_mbrtoc32=yes], [gl_cv_func_mbrtoc32=no]) ]) else gl_cv_func_mbrtoc32=no fi ]) dnl Test whether mbrtoc32 returns the correct value on empty input. AC_DEFUN([gl_MBRTOC32_EMPTY_INPUT], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtoc32 works on empty input], [gl_cv_func_mbrtoc32_empty_input], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifdef __HAIKU__ #include #endif #include static char32_t wc; static mbstate_t mbs; int main (void) { return mbrtoc32 (&wc, "", 0, &mbs) != (size_t) -2; }]])], [gl_cv_func_mbrtoc32_empty_input=yes], [gl_cv_func_mbrtoc32_empty_input=no], [case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;; # Guess no on Android. linux*-android*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;; # Guess no on native Windows. mingw* | windows*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;; *) gl_cv_func_mbrtoc32_empty_input="guessing yes" ;; esac ]) ]) ]) dnl dnl POSIX:2018 says regarding mbrtowc: "In the POSIX locale an [EILSEQ] error dnl cannot occur since all byte values are valid characters." It is reasonable dnl to expect mbrtoc32 to behave in the same way. AC_DEFUN([gl_MBRTOC32_C_LOCALE], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether the C locale is free of encoding errors], [gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #ifdef __HAIKU__ #include #endif #include ]], [[ int i; char *locale = setlocale (LC_ALL, "C"); if (! locale) return 2; for (i = CHAR_MIN; i <= CHAR_MAX; i++) { char c = i; char32_t wc; mbstate_t mbs = { 0, }; size_t ss = mbrtoc32 (&wc, &c, 1, &mbs); if (1 < ss) return 3; } return 0; ]])], [gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ=yes], [gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ=no], [case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="guessing yes" ;; *) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;; esac ]) ]) ]) dnl Test whether mbrtoc32 works when it's fed the bytes one-by-one in an UTF-8 dnl locale. AC_DEFUN([gl_MBRTOC32_UTF8_LOCALE], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtoc32 works in an UTF-8 locale], [gl_cv_func_mbrtoc32_utf8_locale_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #ifdef __HAIKU__ #include #endif #include ]], [[ char *locale = setlocale (LC_ALL, "en_US.UTF-8"); if (locale) { /* This test fails on Cygwin 3.5.3. */ mbstate_t state = { 0, }; char32_t uc = 0xDEADBEEF; /* \360\237\220\203 = U+0001F403 */ if (mbrtoc32 (&uc, "\360", 1, &state) != (size_t)-2) return 1; if (mbrtoc32 (&uc, "\237", 1, &state) != (size_t)-2) return 2; if (mbrtoc32 (&uc, "\220", 1, &state) != (size_t)-2) return 3; if (mbrtoc32 (&uc, "\203", 1, &state) != 1) return 4; if (uc != 0x0001F403) return 5; } return 0; ]])], [gl_cv_func_mbrtoc32_utf8_locale_works=yes], [gl_cv_func_mbrtoc32_utf8_locale_works=no], [case "$host_os" in # Guess no on Cygwin. cygwin*) gl_cv_func_mbrtoc32_utf8_locale_works="guessing no" ;; *) gl_cv_func_mbrtoc32_utf8_locale_works="$gl_cross_guess_normal" ;; esac ]) ]) ]) dnl Test whether mbrtoc32 works not worse than mbrtowc. dnl Result is HAVE_WORKING_MBRTOC32. AC_DEFUN([gl_MBRTOC32_SANITYCHECK], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_TYPE_CHAR32_T]) AC_REQUIRE([gl_CHECK_FUNC_MBRTOC32]) AC_REQUIRE([gt_LOCALE_FR]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) if test $GNULIBHEADERS_OVERRIDE_CHAR32_T = 1 || test $gl_cv_func_mbrtoc32 = no; then HAVE_WORKING_MBRTOC32=0 else AC_CACHE_CHECK([whether mbrtoc32 works as well as mbrtowc], [gl_cv_func_mbrtoc32_sanitycheck], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on FreeBSD, Solaris, native Windows. freebsd* | midnightbsd* | solaris* | mingw* | windows*) gl_cv_func_mbrtoc32_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtoc32_sanitycheck="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_FR != none || test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #ifdef __HAIKU__ #include #endif #include int main () { int result = 0; /* This fails on native Windows: mbrtoc32 returns (size_t)-1. mbrtowc returns 1 (correct). */ if (strcmp ("$LOCALE_FR", "none") != 0 && setlocale (LC_ALL, "$LOCALE_FR") != NULL) { mbstate_t state; wchar_t wc = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\374", 1, &state) == 1) { char32_t c32 = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtoc32 (&c32, "\374", 1, &state) != 1) result |= 1; } } /* This fails on FreeBSD 13.0 and Solaris 11.4: mbrtoc32 returns (size_t)-2 or (size_t)-1. mbrtowc returns 4 (correct). */ if (strcmp ("$LOCALE_ZH_CN", "none") != 0 && setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\224\071\375\067", 4, &state) == 4) { char32_t c32 = (wchar_t) 0xBADFACE; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtoc32 (&c32, "\224\071\375\067", 4, &state) != 4) result |= 2; } } return result; }]])], [gl_cv_func_mbrtoc32_sanitycheck=yes], [gl_cv_func_mbrtoc32_sanitycheck=no], [:]) fi ]) case "$gl_cv_func_mbrtoc32_sanitycheck" in *yes) HAVE_WORKING_MBRTOC32=1 AC_DEFINE([HAVE_WORKING_MBRTOC32], [1], [Define if the mbrtoc32 function basically works.]) ;; *) HAVE_WORKING_MBRTOC32=0 ;; esac fi AC_SUBST([HAVE_WORKING_MBRTOC32]) ]) # Prerequisites of lib/mbrtoc32.c and lib/lc-charset-dispatch.c. AC_DEFUN([gl_PREREQ_MBRTOC32], [ AC_REQUIRE([gl_C32RTOMB_SANITYCHECK]) : ]) datamash-1.9/m4/mbrtowc.m40000644000000000000000000005653614767401140011056 # mbrtowc.m4 # serial 46 dnl Copyright (C) 2001-2002, 2004-2005, 2008-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MBRTOWC], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([gl_PTHREADLIB]) AC_CHECK_HEADERS_ONCE([threads.h]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) gl_MBSTATE_T_BROKEN AC_CHECK_FUNCS_ONCE([mbrtowc]) if test $ac_cv_func_mbrtowc = no; then HAVE_MBRTOWC=0 AC_CHECK_DECLS([mbrtowc],,, [[ #include ]]) if test $ac_cv_have_decl_mbrtowc = yes; then dnl On Minix 3.1.8, the system's declares mbrtowc() although dnl it does not have the function. Avoid a collision with gnulib's dnl replacement. REPLACE_MBRTOWC=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBRTOWC=1 else gl_MBRTOWC_NULL_ARG1 gl_MBRTOWC_NULL_ARG2 gl_MBRTOWC_RETVAL gl_MBRTOWC_NUL_RETVAL gl_MBRTOWC_STORES_INCOMPLETE gl_MBRTOWC_EMPTY_INPUT gl_MBRTOWC_C_LOCALE case "$gl_cv_func_mbrtowc_null_arg1" in *yes) ;; *) AC_DEFINE([MBRTOWC_NULL_ARG1_BUG], [1], [Define if the mbrtowc function has the NULL pwc argument bug.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_null_arg2" in *yes) ;; *) AC_DEFINE([MBRTOWC_NULL_ARG2_BUG], [1], [Define if the mbrtowc function has the NULL string argument bug.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_retval" in *yes) ;; *) AC_DEFINE([MBRTOWC_RETVAL_BUG], [1], [Define if the mbrtowc function returns a wrong return value.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_nul_retval" in *yes) ;; *) AC_DEFINE([MBRTOWC_NUL_RETVAL_BUG], [1], [Define if the mbrtowc function does not return 0 for a NUL character.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_stores_incomplete" in *no) ;; *) AC_DEFINE([MBRTOWC_STORES_INCOMPLETE_BUG], [1], [Define if the mbrtowc function stores a wide character when reporting incomplete input.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_empty_input" in *yes) ;; *) AC_DEFINE([MBRTOWC_EMPTY_INPUT_BUG], [1], [Define if the mbrtowc function does not return (size_t) -2 for empty input.]) REPLACE_MBRTOWC=1 ;; esac case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in *yes) ;; *) AC_DEFINE([MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ], [1], [Define if the mbrtowc function may signal encoding errors in the C locale.]) REPLACE_MBRTOWC=1 ;; esac fi fi if test $REPLACE_MBSTATE_T = 1; then case "$host_os" in mingw* | windows*) MBRTOWC_LIB= ;; *) gl_WEAK_SYMBOLS case "$gl_cv_have_weak" in *yes) MBRTOWC_LIB= ;; *) MBRTOWC_LIB="$LIBPTHREAD" ;; esac ;; esac else MBRTOWC_LIB= fi dnl MBRTOWC_LIB is expected to be '-pthread' or '-lpthread' on AIX dnl with gcc or xlc, and empty otherwise. AC_SUBST([MBRTOWC_LIB]) dnl For backward compatibility. LIB_MBRTOWC="$MBRTOWC_LIB" AC_SUBST([LIB_MBRTOWC]) ]) dnl Test whether mbsinit() and mbrtowc() need to be overridden in a way that dnl redefines the semantics of the given mbstate_t type. dnl Result is REPLACE_MBSTATE_T. dnl When this is set to 1, we replace both mbsinit() and mbrtowc(), in order to dnl avoid inconsistencies. AC_DEFUN_ONCE([gl_MBSTATE_T_BROKEN], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) AC_CHECK_FUNCS_ONCE([mbsinit]) AC_CHECK_FUNCS_ONCE([mbrtowc]) dnl On native Windows, we know exactly how mbsinit() behaves and don't need dnl to override it, even if - like on MSVC - mbsinit() is only defined as dnl an inline function, not as a global function. if case "$host_os" in mingw* | windows*) true ;; *) test $ac_cv_func_mbsinit = yes ;; esac \ && test $ac_cv_func_mbrtowc = yes; then gl_MBRTOWC_INCOMPLETE_STATE gl_MBRTOWC_SANITYCHECK REPLACE_MBSTATE_T=0 case "$gl_cv_func_mbrtowc_incomplete_state" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac case "$gl_cv_func_mbrtowc_sanitycheck" in *yes) ;; *) REPLACE_MBSTATE_T=1 ;; esac else REPLACE_MBSTATE_T=1 fi ]) dnl Test whether mbrtowc puts the state into non-initial state when parsing an dnl incomplete multibyte character. dnl Result is gl_cv_func_mbrtowc_incomplete_state. AC_DEFUN([gl_MBRTOWC_INCOMPLETE_STATE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc handles incomplete characters], [gl_cv_func_mbrtowc_incomplete_state], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on AIX and OSF/1. aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_JA != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) { const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_incomplete_state=yes], [gl_cv_func_mbrtowc_incomplete_state=no], [:]) else if test "$LOCALE_EN_UTF8" != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { const char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) if (mbsinit (&state)) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_incomplete_state=yes], [gl_cv_func_mbrtowc_incomplete_state=no], [:]) fi fi ]) ]) dnl Test whether mbrtowc works not worse than mbtowc. dnl Result is gl_cv_func_mbrtowc_sanitycheck. AC_DEFUN([gl_MBRTOWC_SANITYCHECK], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc works as well as mbtowc], [gl_cv_func_mbrtowc_sanitycheck], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris 8. solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include int main () { /* This fails on Solaris 8: mbrtowc returns 2, and sets wc to 0x00F0. mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 6, &state) != 4 && mbtowc (&wc, input + 3, 6) == 4) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_sanitycheck=yes], [gl_cv_func_mbrtowc_sanitycheck=no], [:]) fi ]) ]) dnl Test whether mbrtowc supports a NULL pwc argument correctly. dnl Result is gl_cv_func_mbrtowc_null_arg1. AC_DEFUN([gl_MBRTOWC_NULL_ARG1], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc handles a NULL pwc argument], [gl_cv_func_mbrtowc_null_arg1], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; esac changequote([,])dnl if test "$LOCALE_EN_UTF8" != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { char input[] = "\303\237er"; mbstate_t state; wchar_t wc; size_t ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; ret = mbrtowc (&wc, input, 5, &state); if (ret != 2) result |= 1; if (!mbsinit (&state)) result |= 2; memset (&state, '\0', sizeof (mbstate_t)); ret = mbrtowc (NULL, input, 5, &state); if (ret != 2) /* Solaris 7 fails here: ret is -1. */ result |= 4; if (!mbsinit (&state)) result |= 8; } return result; }]])], [gl_cv_func_mbrtowc_null_arg1=yes], [gl_cv_func_mbrtowc_null_arg1=no], [:]) fi ]) ]) dnl Test whether mbrtowc supports a NULL string argument correctly. dnl Result is gl_cv_func_mbrtowc_null_arg2. AC_DEFUN([gl_MBRTOWC_NULL_ARG2], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc handles a NULL string argument], [gl_cv_func_mbrtowc_null_arg2], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on OSF/1. osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; esac changequote([,])dnl if test "$LOCALE_EN_UTF8" != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { mbstate_t state; wchar_t wc; int ret; memset (&state, '\0', sizeof (mbstate_t)); wc = (wchar_t) 0xBADFACE; mbrtowc (&wc, NULL, 5, &state); /* Check that wc was not modified. */ if (wc != (wchar_t) 0xBADFACE) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_null_arg2=yes], [gl_cv_func_mbrtowc_null_arg2=no], [:]) fi ]) ]) dnl Test whether mbrtowc, when parsing the end of a multibyte character, dnl correctly returns the number of bytes that were needed to complete the dnl character (not the total number of bytes of the multibyte character). dnl Result is gl_cv_func_mbrtowc_retval. AC_DEFUN([gl_MBRTOWC_RETVAL], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_REQUIRE([gt_LOCALE_JA]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether mbrtowc has a correct return value], [gl_cv_func_mbrtowc_retval], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on HP-UX, Solaris, native Windows. hpux* | solaris* | mingw* | windows*) gl_cv_func_mbrtowc_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_retval="guessing yes" ;; esac changequote([,])dnl if test "$LOCALE_EN_UTF8" != none || test $LOCALE_JA != none \ || { case "$host_os" in mingw* | windows*) true;; *) false;; esac; }; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { int result = 0; int found_some_locale = 0; /* This fails on Solaris. */ if (strcmp ("$LOCALE_EN_UTF8", "none") != 0 && setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { char input[] = "B\303\274\303\237er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 1) result |= 1; } found_some_locale = 1; } /* This fails on HP-UX 11.11. */ if (strcmp ("$LOCALE_JA", "none") != 0 && setlocale (LC_ALL, "$LOCALE_JA") != NULL) { char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) { input[1] = '\0'; if (mbrtowc (&wc, input + 2, 5, &state) != 2) result |= 2; } found_some_locale = 1; } /* This fails on native Windows. */ if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) { char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 4; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) { char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 8; } found_some_locale = 1; } if (setlocale (LC_ALL, "Chinese_China.936") != NULL) { char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) { input[3] = '\0'; if (mbrtowc (&wc, input + 4, 4, &state) != 1) result |= 16; } found_some_locale = 1; } return (found_some_locale ? result : 77); }]])], [gl_cv_func_mbrtowc_retval=yes], [if test $? != 77; then gl_cv_func_mbrtowc_retval=no fi ], [:]) fi ]) ]) dnl Test whether mbrtowc, when parsing a NUL character, correctly returns 0. dnl Result is gl_cv_func_mbrtowc_nul_retval. AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gt_LOCALE_ZH_CN]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc returns 0 when parsing a NUL character], [gl_cv_func_mbrtowc_nul_retval], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess no on Solaris 8 and 9. solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; esac changequote([,])dnl if test $LOCALE_ZH_CN != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { /* This fails on Solaris 8 and 9. */ if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) { mbstate_t state; wchar_t wc; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "", 1, &state) != 0) return 2; } return 0; }]])], [gl_cv_func_mbrtowc_nul_retval=yes], [gl_cv_func_mbrtowc_nul_retval=no], [:]) fi ]) ]) dnl Test whether mbrtowc stores a wide character when reporting incomplete dnl input. AC_DEFUN([gl_MBRTOWC_STORES_INCOMPLETE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc stores incomplete characters], [gl_cv_func_mbrtowc_stores_incomplete], [ dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. changequote(,)dnl case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_func_mbrtowc_stores_incomplete="guessing yes" ;; *) gl_cv_func_mbrtowc_stores_incomplete="guessing no" ;; esac changequote([,])dnl case "$host_os" in mingw* | windows*) AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { int result = 0; if (setlocale (LC_ALL, "French_France.65001") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\303", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 1; } if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\226", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 2; } if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\245", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 4; } if (setlocale (LC_ALL, "Chinese_China.936") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\261", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) result |= 8; } return result; }]])], [gl_cv_func_mbrtowc_stores_incomplete=no], [gl_cv_func_mbrtowc_stores_incomplete=yes], [:]) ;; *) AC_REQUIRE([gt_LOCALE_EN_UTF8]) if test "$LOCALE_EN_UTF8" != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { wchar_t wc = (wchar_t) 0xBADFACE; mbstate_t state; memset (&state, '\0', sizeof (mbstate_t)); if (mbrtowc (&wc, "\303", 1, &state) == (size_t)(-2) && wc != (wchar_t) 0xBADFACE) return 1; } return 0; }]])], [gl_cv_func_mbrtowc_stores_incomplete=no], [gl_cv_func_mbrtowc_stores_incomplete=yes], [:]) fi ;; esac ]) ]) dnl Test whether mbrtowc returns the correct value on empty input. AC_DEFUN([gl_MBRTOWC_EMPTY_INPUT], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether mbrtowc works on empty input], [gl_cv_func_mbrtowc_empty_input], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include static wchar_t wc; static mbstate_t mbs; int main (void) { return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2; }]])], [gl_cv_func_mbrtowc_empty_input=yes], [gl_cv_func_mbrtowc_empty_input=no], [case "$host_os" in # Guess no on AIX and glibc systems. aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; # Guess no on Android. linux*-android*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; # Guess no on native Windows. mingw* | windows*) gl_cv_func_mbrtowc_empty_input="guessing no" ;; *) gl_cv_func_mbrtowc_empty_input="guessing yes" ;; esac ]) ]) ]) dnl Test whether mbrtowc reports encoding errors in the C locale. dnl Although POSIX was never intended to allow this, the GNU C Library dnl and other implementations do it. See: dnl https://sourceware.org/bugzilla/show_bug.cgi?id=19932 dnl POSIX has now clarified it: dnl dnl says: "In the POSIX locale an [EILSEQ] error cannot occur since all byte dnl values are valid characters." AC_DEFUN([gl_MBRTOWC_C_LOCALE], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether the C locale is free of encoding errors], [gl_cv_func_mbrtowc_C_locale_sans_EILSEQ], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include #include ]], [[ int i; char *locale = setlocale (LC_ALL, "C"); if (! locale) return 2; for (i = CHAR_MIN; i <= CHAR_MAX; i++) { char c = i; wchar_t wc; mbstate_t mbs = { 0, }; size_t ss = mbrtowc (&wc, &c, 1, &mbs); if (1 < ss) return 3; } return 0; ]])], [gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=yes], [gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=no], [case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="guessing yes" ;; *) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;; esac ]) ]) ]) # Prerequisites of lib/mbrtowc.c and lib/lc-charset-dispatch.c. AC_DEFUN([gl_PREREQ_MBRTOWC], [ AC_REQUIRE([AC_C_INLINE]) : ]) # Prerequisites of lib/mbtowc-lock.c. AC_DEFUN([gl_PREREQ_MBTOWC_LOCK], [ gl_VISIBILITY ]) dnl From Paul Eggert dnl This is an override of an autoconf macro. AC_DEFUN([AC_FUNC_MBRTOWC], [ dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60. AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], [gl_cv_func_mbrtowc], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[wchar_t wc; char const s[] = ""; size_t n = 1; mbstate_t state; return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])], [gl_cv_func_mbrtowc=yes], [gl_cv_func_mbrtowc=no])]) if test $gl_cv_func_mbrtowc = yes; then AC_DEFINE([HAVE_MBRTOWC], [1], [Define to 1 if mbrtowc and mbstate_t are properly declared.]) fi ]) datamash-1.9/m4/mbsinit.m40000644000000000000000000000250514767401140011031 # mbsinit.m4 # serial 10 dnl Copyright (C) 2008, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MBSINIT], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) gl_MBSTATE_T_BROKEN AC_CHECK_FUNCS_ONCE([mbsinit]) if test $ac_cv_func_mbsinit = no; then HAVE_MBSINIT=0 AC_CHECK_DECLS([mbsinit],,, [[ #include ]]) if test $ac_cv_have_decl_mbsinit = yes; then dnl On Minix 3.1.8, the system's declares mbsinit() although dnl it does not have the function. Avoid a collision with gnulib's dnl replacement. REPLACE_MBSINIT=1 fi else if test $REPLACE_MBSTATE_T = 1; then REPLACE_MBSINIT=1 else dnl On mingw, mbsinit() always returns 1, which is inappropriate for dnl states produced by mbrtowc() for an incomplete multibyte character dnl in multibyte locales. case "$host_os" in mingw* | windows*) REPLACE_MBSINIT=1 ;; esac fi fi ]) # Prerequisites of lib/mbsinit.c. AC_DEFUN([gl_PREREQ_MBSINIT], [ : ]) datamash-1.9/m4/mbslen.m40000644000000000000000000000101114767401140010633 # mbslen.m4 # serial 3 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MBSLEN], [ AC_REQUIRE([gl_STRING_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([mbslen]) if test $ac_cv_func_mbslen = yes; then HAVE_MBSLEN=1 else HAVE_MBSLEN=0 fi ]) datamash-1.9/m4/mbstate_t.m40000644000000000000000000000230014767401140011337 # mbstate_t.m4 # serial 14 dnl Copyright (C) 2000-2002, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # From Paul Eggert. # BeOS 5 has but does not define mbstate_t, # so you can't declare an object of that type. # Check for this incompatibility with Standard C. # AC_TYPE_MBSTATE_T # ----------------- AC_DEFUN([AC_TYPE_MBSTATE_T], [ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11 AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [AC_INCLUDES_DEFAULT[ #include ]], [[mbstate_t x; return sizeof x;]])], [ac_cv_type_mbstate_t=yes], [ac_cv_type_mbstate_t=no])]) if test $ac_cv_type_mbstate_t = yes; then AC_DEFINE([HAVE_MBSTATE_T], [1], [Define to 1 if declares mbstate_t.]) else AC_DEFINE([mbstate_t], [int], [Define to a type if does not define.]) fi ]) datamash-1.9/m4/md5.m40000644000000000000000000000076514767401140010057 # md5.m4 # serial 14 dnl Copyright (C) 2002-2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_MD5], [ dnl Prerequisites of lib/md5.c. AC_REQUIRE([gl_BIGENDIAN]) dnl Determine HAVE_OPENSSL_MD5 and LIB_CRYPTO gl_CRYPTO_CHECK([MD5]) ]) datamash-1.9/m4/memchr.m40000644000000000000000000000664114767401140010644 # memchr.m4 # serial 20 dnl Copyright (C) 2002-2004, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Check for prerequisites for memory fence checks. gl_FUNC_MMAP_ANON AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) AC_REQUIRE([gl_STRING_H_DEFAULTS]) # Detect platform-specific bugs in some versions of glibc: # memchr should not dereference anything with length 0 # https://bugzilla.redhat.com/show_bug.cgi?id=499689 # memchr should not dereference overestimated length after a match # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 # https://sourceware.org/bugzilla/show_bug.cgi?id=10162 # memchr should cast the second argument to 'unsigned char'. # This bug exists in Android 4.3. # Assume that memchr works on platforms that lack mprotect. AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #if HAVE_SYS_MMAN_H # include # include # include # include # ifndef MAP_FILE # define MAP_FILE 0 # endif #endif ]], [[ int result = 0; char *fence = NULL; #if HAVE_SYS_MMAN_H && HAVE_MPROTECT # if HAVE_MAP_ANONYMOUS const int flags = MAP_ANONYMOUS | MAP_PRIVATE; const int fd = -1; # else /* !HAVE_MAP_ANONYMOUS */ const int flags = MAP_FILE | MAP_PRIVATE; int fd = open ("/dev/zero", O_RDONLY, 0666); if (fd >= 0) # endif { long int pagesize = sysconf (_SC_PAGESIZE); char *two_pages = (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, flags, fd, 0); if (two_pages != (char *)(-1) && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) fence = two_pages + pagesize; } #endif if (fence) { /* Test against bugs on glibc systems. */ if (memchr (fence, 0, 0)) result |= 1; strcpy (fence - 9, "12345678"); if (memchr (fence - 9, 0, 79) != fence - 1) result |= 2; if (memchr (fence - 1, 0, 3) != fence - 1) result |= 4; /* Test against bug on AIX 7.2. */ if (memchr (fence - 4, '6', 16) != fence - 4) result |= 8; } /* Test against bug on Android 4.3. */ { char input[3]; input[0] = 'a'; input[1] = 'b'; input[2] = 'c'; if (memchr (input, 0x789abc00 | 'b', 3) != input + 1) result |= 16; } return result; ]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no], [case "$host_os" in # Guess no on Android. linux*-android*) gl_cv_func_memchr_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_memchr_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_memchr_works="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_memchr_works" in *yes) ;; *) REPLACE_MEMCHR=1 ;; esac ]) # Prerequisites of lib/memchr.c. AC_DEFUN([gl_PREREQ_MEMCHR], [ AC_CHECK_HEADERS([bp-sym.h]) ]) datamash-1.9/m4/mempcpy.m40000644000000000000000000000161714767401140011041 # mempcpy.m4 # serial 14 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MEMPCPY], [ dnl Persuade glibc to declare mempcpy(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'. AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_STRING_H_DEFAULTS]) gl_CHECK_FUNCS_ANDROID([mempcpy], [[#include ]]) if test $ac_cv_func_mempcpy = no; then HAVE_MEMPCPY=0 case "$gl_cv_onwards_func_mempcpy" in future*) REPLACE_MEMPCPY=1 ;; esac fi ]) # Prerequisites of lib/mempcpy.c. AC_DEFUN([gl_PREREQ_MEMPCPY], [ : ]) datamash-1.9/m4/minmax.m40000644000000000000000000000254514767401140010661 # minmax.m4 # serial 4 dnl Copyright (C) 2005, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_PREREQ([2.53]) AC_DEFUN([gl_MINMAX], [ AC_REQUIRE([gl_PREREQ_MINMAX]) ]) # Prerequisites of lib/minmax.h. AC_DEFUN([gl_PREREQ_MINMAX], [ gl_MINMAX_IN_HEADER([limits.h]) gl_MINMAX_IN_HEADER([sys/param.h]) ]) dnl gl_MINMAX_IN_HEADER(HEADER) dnl The parameter has to be a literal header name; it cannot be macro, dnl nor a shell variable. (Because autoheader collects only AC_DEFINE dnl invocations with a literal macro name.) AC_DEFUN([gl_MINMAX_IN_HEADER], [ m4_pushdef([header], AS_TR_SH([$1])) m4_pushdef([HEADER], AS_TR_CPP([$1])) AC_CACHE_CHECK([whether <$1> defines MIN and MAX], [gl_cv_minmax_in_]header, [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include <$1> int x = MIN (42, 17);]], [[]])], [gl_cv_minmax_in_]header[=yes], [gl_cv_minmax_in_]header[=no])]) if test $gl_cv_minmax_in_[]header = yes; then AC_DEFINE([HAVE_MINMAX_IN_]HEADER, 1, [Define to 1 if <$1> defines the MIN and MAX macros.]) fi m4_popdef([HEADER]) m4_popdef([header]) ]) datamash-1.9/m4/mmap-anon.m40000644000000000000000000000403714767401140011251 # mmap-anon.m4 # serial 12 dnl Copyright (C) 2005, 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Detect how mmap can be used to create anonymous (not file-backed) memory # mappings. # - On Linux, AIX, OSF/1, Solaris, Cygwin, Interix, Haiku, both MAP_ANONYMOUS # and MAP_ANON exist and have the same value. # - On HP-UX, only MAP_ANONYMOUS exists. # - On Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, only MAP_ANON exists. # - On IRIX, neither exists, and a file descriptor opened to /dev/zero must be # used. AC_DEFUN_ONCE([gl_FUNC_MMAP_ANON], [ dnl Persuade glibc to define MAP_ANONYMOUS. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is # irrelevant for anonymous mappings. AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no]) # Try to allow MAP_ANONYMOUS. gl_have_mmap_anonymous=no if test $gl_have_mmap = yes; then AC_MSG_CHECKING([for MAP_ANONYMOUS]) AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANONYMOUS I cannot identify this map #endif ], [gl_have_mmap_anonymous=yes]) if test $gl_have_mmap_anonymous != yes; then AC_EGREP_CPP([I cannot identify this map], [ #include #ifdef MAP_ANON I cannot identify this map #endif ], [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) gl_have_mmap_anonymous=yes]) fi AC_MSG_RESULT([$gl_have_mmap_anonymous]) if test $gl_have_mmap_anonymous = yes; then AC_DEFINE([HAVE_MAP_ANONYMOUS], [1], [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including config.h and .]) fi fi ]) datamash-1.9/m4/mode_t.m40000644000000000000000000000243214767401140010632 # mode_t.m4 # serial 2 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # For using mode_t, it's sufficient to use AC_TYPE_MODE_T and # include . # Define PROMOTED_MODE_T to the type that is the result of "default argument # promotion" (ISO C 6.5.2.2.(6)) of the type mode_t. AC_DEFUN([gl_PROMOTED_TYPE_MODE_T], [ AC_REQUIRE([AC_TYPE_MODE_T]) AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [ dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int', dnl and to itself otherwise. This assumption is not guaranteed by the ISO C dnl standard, but we don't know of any real-world counterexamples. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])], [gl_cv_promoted_mode_t='int'], [gl_cv_promoted_mode_t='mode_t']) ]) AC_DEFINE_UNQUOTED([PROMOTED_MODE_T], [$gl_cv_promoted_mode_t], [Define to the type that is the result of default argument promotions of type mode_t.]) ]) datamash-1.9/m4/modf.m40000644000000000000000000000632114767401140010311 # modf.m4 # serial 13 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MODF], [ m4_divert_text([DEFAULTS], [gl_modf_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Determine MODF_LIBM. gl_MATHFUNC([modf], [double], [(double, double *)]) m4_ifdef([gl_FUNC_MODF_IEEE], [ if test $gl_modf_required = ieee && test $REPLACE_MODF = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether modf works according to ISO C 99 with IEC 60559], [gl_cv_func_modf_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $MODF_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_DOUBLE_MINUS_ZERO_CODE[ ]gl_DOUBLE_SIGNBIT_CODE[ /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (double x, double y) { return x == y; } static double dummy (double x, double *iptr) { return 0; } double zero; double minus_one = - 1.0; int main (int argc, char *argv[]) { double (* volatile my_modf) (double, double *) = argc ? modf : dummy; int result = 0; double i; double f; /* Test modf(NaN,...). This test fails on NetBSD 5.1, Cygwin. */ f = my_modf (zero / zero, &i); if (numeric_equal (f, f)) result |= 1; /* Test modf(-Inf,...). This test fails on FreeBSD 6.4, OpenBSD 6.7, IRIX 6.5, OSF/1 5.1. */ f = my_modf (minus_one / zero, &i); if (!(f == 0.0) || (signbitd (minus_zerod) && !signbitd (f))) result |= 2; return result; } ]])], [gl_cv_func_modf_ieee=yes], [gl_cv_func_modf_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_modf_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_modf_ieee="guessing yes" ;; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_modf_ieee="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_modf_ieee="guessing yes"], [gl_cv_func_modf_ieee="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_modf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_modf_ieee" in *yes) ;; *) REPLACE_MODF=1 ;; esac fi ]) if test $REPLACE_MODF = 1; then dnl Find libraries needed to link lib/modf.c. AC_REQUIRE([gl_FUNC_TRUNC]) MODF_LIBM="$TRUNC_LIBM" fi ]) datamash-1.9/m4/modfl.m40000644000000000000000000001255314767401140010471 # modfl.m4 # serial 14 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_MODFL], [ m4_divert_text([DEFAULTS], [gl_modfl_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare modfl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether modfl() exists. We cannot assume that modfl(), if it dnl exists, is defined in the same library as modf(). This is not the case dnl on FreeBSD, Solaris. gl_MATHFUNC([modfl], [long double], [(long double, long double *)]) if test $gl_cv_func_modfl_no_libm = yes \ || test $gl_cv_func_modfl_in_libm = yes; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether modfl works], [gl_cv_func_modfl_works], [ saved_LIBS="$LIBS" LIBS="$LIBS $MODFL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include static long double dummy (long double x, long double *iptr) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_modfl) (long double, long double *) = argc ? modfl : dummy; long double i; long double f; /* Test modfl(5.972406760L,...). This test fails on NetBSD 10.0/arm64. */ f = my_modfl (5.972406760L, &i); if (!(f < 1.0L && i == 5.0L)) return 1; return 0; } ]])], [gl_cv_func_modfl_works=yes], [gl_cv_func_modfl_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_modfl_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_modfl_works="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_modfl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_modfl_works="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_modfl_works" in *yes) ;; *) REPLACE_MODFL=1 ;; esac m4_ifdef([gl_FUNC_MODFL_IEEE], [ if test $gl_modfl_required = ieee && test $REPLACE_MODFL = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether modfl works according to ISO C 99 with IEC 60559], [gl_cv_func_modfl_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $MODFL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_LONG_DOUBLE_MINUS_ZERO_CODE[ ]gl_LONG_DOUBLE_SIGNBIT_CODE[ /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (long double x, long double y) { return x == y; } static long double dummy (long double x, long double *iptr) { return 0; } long double zero; long double minus_one = - 1.0L; int main (int argc, char *argv[]) { long double (* volatile my_modfl) (long double, long double *) = argc ? modfl : dummy; long double i; long double f; /* Test modfl(-Inf,...). This test fails on IRIX 6.5, OSF/1 5.1, mingw. */ f = my_modfl (minus_one / zero, &i); if (!(f == 0.0L) || (signbitl (minus_zerol) && !signbitl (f))) return 1; return 0; } ]])], [gl_cv_func_modfl_ieee=yes], [gl_cv_func_modfl_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_modfl_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_modfl_ieee="guessing yes" ;; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_modfl_ieee="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_modfl_ieee="guessing yes"], [gl_cv_func_modfl_ieee="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_modfl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_modfl_ieee" in *yes) ;; *) REPLACE_MODFL=1 ;; esac fi ]) else HAVE_MODFL=0 fi if test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; then dnl Find libraries needed to link lib/modfl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_MODF]) MODFL_LIBM="$MODF_LIBM" else AC_REQUIRE([gl_FUNC_TRUNCL]) MODFL_LIBM="$TRUNCL_LIBM" fi fi AC_SUBST([MODFL_LIBM]) ]) datamash-1.9/m4/msvc-inval.m40000644000000000000000000000142414767401140011442 # msvc-inval.m4 # serial 1 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_MSVC_INVAL], [ AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler]) if test $ac_cv_func__set_invalid_parameter_handler = yes; then HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1], [Define to 1 on MSVC platforms that have the "invalid parameter handler" concept.]) else HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 fi AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER]) ]) datamash-1.9/m4/msvc-nothrow.m40000644000000000000000000000062014767401140012026 # msvc-nothrow.m4 # serial 1 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_MSVC_NOTHROW], [ AC_REQUIRE([gl_MSVC_INVAL]) ]) datamash-1.9/m4/multiarch.m40000644000000000000000000000431014767401140011350 # multiarch.m4 # serial 9 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Determine whether the compiler is or may be producing universal binaries. # # On Mac OS X 10.5 and later systems, the user can create libraries and # executables that work on multiple system types--known as "fat" or # "universal" binaries--by specifying multiple '-arch' options to the # compiler but only a single '-arch' option to the preprocessor. Like # this: # # ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ # CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ # CPP="gcc -E" CXXCPP="g++ -E" # # Detect this situation and set APPLE_UNIVERSAL_BUILD accordingly. AC_DEFUN_ONCE([gl_MULTIARCH], [ dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. AC_CACHE_CHECK([whether the compiler produces multi-arch binaries], [gl_cv_c_multiarch], [gl_cv_c_multiarch=no AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; ]])], [ dnl Check for potential -arch flags. It is not universal unless dnl there are at least two -arch flags with different values. arch= prev= for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in i?86 | x86_64 | ppc | ppc64 | arm | arm64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else gl_cv_c_multiarch=yes fi ;; esac prev= else if test "x$word" = "x-arch"; then prev=arch fi fi done ]) ]) if test $gl_cv_c_multiarch = yes; then APPLE_UNIVERSAL_BUILD=1 else APPLE_UNIVERSAL_BUILD=0 fi AC_SUBST([APPLE_UNIVERSAL_BUILD]) ]) datamash-1.9/m4/musl.m40000644000000000000000000000132314767401140010341 # musl.m4 # serial 4 dnl Copyright (C) 2019-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Test for musl libc, despite the musl libc authors don't like it # # . # From Bruno Haible. AC_DEFUN_ONCE([gl_MUSL_LIBC], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in *-musl* | midipix*) AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.]) ;; esac ]) datamash-1.9/m4/netinet_in_h.m40000644000000000000000000000204314767401140012024 # netinet_in_h.m4 # serial 6 dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_HEADER_NETINET_IN], [ AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_netinet_in_h_selfcontained], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], [gl_cv_header_netinet_in_h_selfcontained=yes], [gl_cv_header_netinet_in_h_selfcontained=no]) ]) if test $gl_cv_header_netinet_in_h_selfcontained = yes; then GL_GENERATE_NETINET_IN_H=false else GL_GENERATE_NETINET_IN_H=true AC_CHECK_HEADERS([netinet/in.h]) gl_CHECK_NEXT_HEADERS([netinet/in.h]) if test $ac_cv_header_netinet_in_h = yes; then HAVE_NETINET_IN_H=1 else HAVE_NETINET_IN_H=0 fi AC_SUBST([HAVE_NETINET_IN_H]) fi ]) datamash-1.9/m4/nls.m40000644000000000000000000000231514352360407010157 # nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) datamash-1.9/m4/nocrash.m40000644000000000000000000001064514767401140011025 # nocrash.m4 # serial 5 dnl Copyright (C) 2005, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Based on libsigsegv, from Bruno Haible and Paolo Bonzini. AC_PREREQ([2.13]) dnl Expands to some code for use in .c programs that will cause the configure dnl test to exit instead of crashing. This is useful to avoid triggering dnl action from a background debugger and to avoid core dumps. dnl Usage: ... dnl ]GL_NOCRASH[ dnl ... dnl int main() { nocrash_init(); ... } AC_DEFUN([GL_NOCRASH],[[ #include #if defined __MACH__ && defined __APPLE__ /* Avoid a crash on Mac OS X. */ #include #include #include #include #include #include /* The exception port on which our thread listens. */ static mach_port_t our_exception_port; /* The main function of the thread listening for exceptions of type EXC_BAD_ACCESS. */ static void * mach_exception_thread (void *arg) { /* Buffer for a message to be received. */ struct { mach_msg_header_t head; mach_msg_body_t msgh_body; char data[1024]; } msg; mach_msg_return_t retval; /* Wait for a message on the exception port. */ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); if (retval != MACH_MSG_SUCCESS) abort (); exit (1); } static void nocrash_init (void) { mach_port_t self = mach_task_self (); /* Allocate a port on which the thread shall listen for exceptions. */ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) == KERN_SUCCESS) { /* See https://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ if (mach_port_insert_right (self, our_exception_port, our_exception_port, MACH_MSG_TYPE_MAKE_SEND) == KERN_SUCCESS) { /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting for us. */ exception_mask_t mask = EXC_MASK_BAD_ACCESS; /* Create the thread listening on the exception port. */ pthread_attr_t attr; pthread_t thread; if (pthread_attr_init (&attr) == 0 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { pthread_attr_destroy (&attr); /* Replace the exception port info for these exceptions with our own. Note that we replace the exception port for the entire task, not only for a particular thread. This has the effect that when our exception port gets the message, the thread specific exception port has already been asked, and we don't need to bother about it. See https://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ task_set_exception_ports (self, mask, our_exception_port, EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); } } } } #elif defined _WIN32 && ! defined __CYGWIN__ /* Avoid a crash on native Windows. */ #define WIN32_LEAN_AND_MEAN #include #include static LONG WINAPI exception_filter (EXCEPTION_POINTERS *ExceptionInfo) { switch (ExceptionInfo->ExceptionRecord->ExceptionCode) { case EXCEPTION_ACCESS_VIOLATION: case EXCEPTION_IN_PAGE_ERROR: case EXCEPTION_STACK_OVERFLOW: case EXCEPTION_GUARD_PAGE: case EXCEPTION_PRIV_INSTRUCTION: case EXCEPTION_ILLEGAL_INSTRUCTION: case EXCEPTION_DATATYPE_MISALIGNMENT: case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: case EXCEPTION_NONCONTINUABLE_EXCEPTION: exit (1); } return EXCEPTION_CONTINUE_SEARCH; } static void nocrash_init (void) { SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); } #else /* Avoid a crash on POSIX systems. */ #include #include /* A POSIX signal handler. */ static void exception_handler (int sig) { _exit (1); } static void nocrash_init (void) { #ifdef SIGSEGV signal (SIGSEGV, exception_handler); #endif #ifdef SIGBUS signal (SIGBUS, exception_handler); #endif } #endif ]]) datamash-1.9/m4/off64_t.m40000644000000000000000000000172514767401140010636 # off64_t.m4 # serial 1 dnl Copyright (C) 2024-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Check whether defines the 'off64_t' type. dnl Set HAVE_OFF64_T. AC_DEFUN([gl_TYPE_OFF64_T], [ dnl Persuade glibc , , , , dnl to define off64_t. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CACHE_CHECK([for off64_t], [gl_cv_off64_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int x = sizeof (off64_t *) + sizeof (off64_t); return !x;]])], [gl_cv_off64_t=yes], [gl_cv_off64_t=no])]) if test $gl_cv_off64_t != no; then HAVE_OFF64_T=1 else HAVE_OFF64_T=0 fi AC_SUBST([HAVE_OFF64_T]) ]) datamash-1.9/m4/off_t.m40000644000000000000000000000107614767401140010463 # off_t.m4 # serial 1 dnl Copyright (C) 2012-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Check whether to override the 'off_t' type. dnl Set WINDOWS_64_BIT_OFF_T. AC_DEFUN([gl_TYPE_OFF_T], [ m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([gl_LARGEFILE]) ], [ WINDOWS_64_BIT_OFF_T=0 ]) AC_SUBST([WINDOWS_64_BIT_OFF_T]) ]) datamash-1.9/m4/once.m40000644000000000000000000000062714767401140010313 # once.m4 # serial 1 dnl Copyright (C) 2024-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. AC_DEFUN([gl_ONCE], [ AC_REQUIRE([gl_THREADLIB]) ]) datamash-1.9/m4/open-cloexec.m40000644000000000000000000000144614767401140011750 # open-cloexec.m4 # serial 1 dnl Copyright 2017-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Test whether O_CLOEXEC is defined. AC_DEFUN([gl_PREPROC_O_CLOEXEC], [ AC_CACHE_CHECK([for O_CLOEXEC], [gl_cv_macro_O_CLOEXEC], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include #ifndef O_CLOEXEC choke me; #endif ]], [[return O_CLOEXEC;]])], [gl_cv_macro_O_CLOEXEC=yes], [gl_cv_macro_O_CLOEXEC=no])]) ]) datamash-1.9/m4/open-slash.m40000644000000000000000000000354514767401140011442 # open-slash.m4 # serial 2 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Tests whether open() and creat() recognize a trailing slash. dnl Sets gl_cv_func_open_slash. AC_DEFUN([gl_OPEN_TRAILING_SLASH_BUG], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl open("foo/") should not create a file when the file name has a dnl trailing slash. FreeBSD only has the problem on symlinks. AC_CHECK_FUNCS_ONCE([lstat]) AC_CACHE_CHECK([whether open recognizes a trailing slash], [gl_cv_func_open_slash], [# Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then touch conftest.tmp ln -s conftest.tmp conftest.lnk fi AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_UNISTD_H # include #endif ]GL_MDA_DEFINES[ int main () { int result = 0; #if HAVE_LSTAT if (open ("conftest.lnk/", O_RDONLY) != -1) result |= 1; #endif if (open ("conftest.sl/", O_CREAT, 0600) >= 0) result |= 2; return result; }]])], [gl_cv_func_open_slash=yes], [gl_cv_func_open_slash=no], [ changequote(,)dnl case "$host_os" in freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*) gl_cv_func_open_slash="guessing no" ;; *) gl_cv_func_open_slash="guessing yes" ;; esac changequote([,])dnl ]) rm -f conftest.sl conftest.tmp conftest.lnk ]) case "$gl_cv_func_open_slash" in *no) AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1], [Define to 1 if open() fails to recognize a trailing slash.]) ;; esac ]) datamash-1.9/m4/open.m40000644000000000000000000000307014767401140010323 # open.m4 # serial 16 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_OPEN], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PREPROC_O_CLOEXEC]) case "$host_os" in mingw* | windows* | pw*) REPLACE_OPEN=1 ;; *) dnl open("foo/") should not create a file when the file name has a dnl trailing slash. FreeBSD only has the problem on symlinks. AC_CHECK_FUNCS_ONCE([lstat]) if test "$gl_cv_macro_O_CLOEXEC" != yes; then REPLACE_OPEN=1 fi gl_OPEN_TRAILING_SLASH_BUG case "$gl_cv_func_open_slash" in *no) REPLACE_OPEN=1 ;; esac ;; esac dnl Replace open() for supporting the gnulib-defined fchdir() function, dnl to keep fchdir's bookkeeping up-to-date. m4_ifdef([gl_FUNC_FCHDIR], [ if test $REPLACE_OPEN = 0; then gl_TEST_FCHDIR if test $HAVE_FCHDIR = 0; then REPLACE_OPEN=1 fi fi ]) dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag. m4_ifdef([gl_NONBLOCKING_IO], [ if test $REPLACE_OPEN = 0; then gl_NONBLOCKING_IO if test $gl_cv_have_open_O_NONBLOCK != yes; then REPLACE_OPEN=1 fi fi ]) ]) # Prerequisites of lib/open.c. AC_DEFUN([gl_PREREQ_OPEN], [ AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) : ]) datamash-1.9/m4/pathmax.m40000644000000000000000000000224514767401140011027 # pathmax.m4 # serial 11 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_PATHMAX], [ dnl Prerequisites of lib/pathmax.h. AC_CHECK_HEADERS_ONCE([sys/param.h]) ]) # Expands to a piece of C program that defines PATH_MAX in the same way as # "pathmax.h" will do. AC_DEFUN([gl_PATHMAX_SNIPPET], [[ /* Arrange to define PATH_MAX, like "pathmax.h" does. */ #if HAVE_UNISTD_H # include #endif #include #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include #endif #if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN #endif #ifdef __hpux # undef PATH_MAX # define PATH_MAX 1024 #endif #if defined _WIN32 && ! defined __CYGWIN__ # undef PATH_MAX # define PATH_MAX 260 #endif ]]) # Prerequisites of gl_PATHMAX_SNIPPET. AC_DEFUN([gl_PATHMAX_SNIPPET_PREREQ], [ AC_CHECK_HEADERS_ONCE([unistd.h sys/param.h]) ]) datamash-1.9/m4/pclose.m40000644000000000000000000000106614767401140010652 # pclose.m4 # serial 1 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_PCLOSE], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([pclose]) if test $ac_cv_func_pclose = no; then HAVE_PCLOSE=0 fi ]) # Prerequisites of lib/pclose.c. AC_DEFUN([gl_PREREQ_PCLOSE], [ : ]) datamash-1.9/m4/po.m40000644000000000000000000004503714352360407010011 # po.m4 serial 24 (gettext-0.19) dnl Copyright (C) 1995-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.60]) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl AC_REQUIRE([AC_PROG_SED])dnl AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.19]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assignment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" tab=`printf '\t'` if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <]], [[int result = 0; FILE *child; fclose (stdin); fclose (stdout); child = popen ("echo a", "r"); if (fgetc (child) != 'a') result |= 1; if (pclose (child) != 0) result |= 2; return result; ]])], [gl_cv_func_popen_works=yes], [gl_cv_func_popen_works=no], [case "$host_os" in # For now, only cygwin 1.5 or older is known to be broken. cygwin*) gl_cv_func_popen_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_popen_works="guessing yes" ;; *) gl_cv_func_popen_works="guessing yes" ;; esac ]) ;; esac ]) case "$gl_cv_func_popen_works" in *yes) ;; *) REPLACE_POPEN=1 ;; esac fi ]) # Prerequisites of lib/popen.c. AC_DEFUN([gl_PREREQ_POPEN], [ : ]) datamash-1.9/m4/printf.m40000644000000000000000000026367614767401140010710 # printf.m4 # serial 95 dnl Copyright (C) 2003, 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Test whether the *printf family of functions supports the 'j', 'z', 't', dnl 'L' size specifiers. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_sizes_c99. AC_DEFUN([gl_PRINTF_SIZES_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports size specifiers as in C99], [gl_cv_func_printf_sizes_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #if HAVE_STDINT_H_WITH_UINTMAX # include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX # include #endif static char buf[100]; int main () { int result = 0; #if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX buf[0] = '\0'; if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 1; #else result |= 1; #endif buf[0] = '\0'; if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 || strcmp (buf, "12345672 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 || strcmp (buf, "12345673 33") != 0) result |= 4; buf[0] = '\0'; if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 || strcmp (buf, "1.5 33") != 0) result |= 8; return result; }]])], [gl_cv_func_printf_sizes_c99=yes], [gl_cv_func_printf_sizes_c99=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_printf_sizes_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; midnightbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_printf_sizes_c99="guessing no";; openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_printf_sizes_c99="guessing no";; netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_sizes_c99="guessing yes";; changequote([,])dnl # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_printf_sizes_c99="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_sizes_c99="guessing yes"], [gl_cv_func_printf_sizes_c99="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_sizes_c99="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the 'w8', 'w16', dnl 'w32', 'w64', 'wf8', 'wf16', 'wf32', 'wf64' size specifiers. (ISO C23) dnl Result is gl_cv_func_printf_sizes_c23. AC_DEFUN([gl_PRINTF_SIZES_C23], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports size specifiers as in C23], [gl_cv_func_printf_sizes_c23], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #if HAVE_STDINT_H_WITH_UINTMAX # include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX # include #endif static char buf[100]; int main () { int result = 0; buf[0] = '\0'; if (sprintf (buf, "%w8u %d", (uint8_t) 123, 33, 44, 55) < 0 || strcmp (buf, "123 33") != 0) result |= 1; buf[0] = '\0'; if (sprintf (buf, "%wf8u %d", (uint_fast8_t) 123, 33, 44, 55) < 0 || strcmp (buf, "123 33") != 0) result |= 1; buf[0] = '\0'; if (sprintf (buf, "%w16u %d", (uint16_t) 12345, 33, 44, 55) < 0 || strcmp (buf, "12345 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%wf16u %d", (uint_fast16_t) 12345, 33, 44, 55) < 0 || strcmp (buf, "12345 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%w32u %d", (uint32_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 4; buf[0] = '\0'; if (sprintf (buf, "%wf32u %d", (uint_fast32_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 4; #if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX buf[0] = '\0'; if (sprintf (buf, "%w64u %d", (uint64_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 8; buf[0] = '\0'; if (sprintf (buf, "%wf64u %d", (uint_fast64_t) 12345671, 33, 44, 55) < 0 || strcmp (buf, "12345671 33") != 0) result |= 8; #else result |= 8; #endif return result; }]])], [gl_cv_func_printf_sizes_c23=yes], [gl_cv_func_printf_sizes_c23=no], [ case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_sizes_c23="guessing no";; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_printf_sizes_c23="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_sizes_c23="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_printf_sizes_c23="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_sizes_c23="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports 'long double' dnl arguments together with the 'L' size specifier. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_long_double. AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports 'long double' arguments], [gl_cv_func_printf_long_double], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[10000]; int main () { int result = 0; buf[0] = '\0'; if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.750000 33") != 0) result |= 1; buf[0] = '\0'; if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.750000e+00 33") != 0) result |= 2; buf[0] = '\0'; if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 || strcmp (buf, "1.75 33") != 0) result |= 4; return result; }]])], [gl_cv_func_printf_long_double=yes], [gl_cv_func_printf_long_double=no], [case "$host_os" in # Guess no on BeOS. beos*) gl_cv_func_printf_long_double="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_long_double="guessing yes";; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_printf_long_double="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_long_double="guessing yes"], [gl_cv_func_printf_long_double="guessing no"]) ;; *) gl_cv_func_printf_long_double="guessing yes";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports infinite and NaN dnl 'double' arguments and negative zero arguments in the %f, %e, %g dnl directives. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_infinite. AC_DEFUN([gl_PRINTF_INFINITE], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports infinite 'double' arguments], [gl_cv_func_printf_infinite], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static int strisnan (const char *string, size_t start_index, size_t end_index) { if (start_index < end_index) { if (string[start_index] == '-') start_index++; if (start_index + 3 <= end_index && memcmp (string + start_index, "nan", 3) == 0) { start_index += 3; if (start_index == end_index || (string[start_index] == '(' && string[end_index - 1] == ')')) return 1; } } return 0; } static int have_minus_zero () { static double plus_zero = 0.0; double minus_zero = - plus_zero; return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; } static char buf[10000]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%f", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%f", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%f", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%e", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 4; if (sprintf (buf, "%e", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 4; if (sprintf (buf, "%e", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 8; if (sprintf (buf, "%g", 1.0 / zero) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 16; if (sprintf (buf, "%g", -1.0 / zero) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 16; if (sprintf (buf, "%g", zero / zero) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 32; /* This test fails on HP-UX 10.20. */ if (have_minus_zero ()) if (sprintf (buf, "%g", - zero) < 0 || strcmp (buf, "-0") != 0) result |= 64; return result; }]])], [gl_cv_func_printf_infinite=yes], [gl_cv_func_printf_infinite=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; midnightbsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; darwin*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; hpux*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_printf_infinite="guessing no";; netbsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on OpenBSD >= 6.0. openbsd[1-5].*) gl_cv_func_printf_infinite="guessing no";; openbsd*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_infinite="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_infinite="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_printf_infinite="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_infinite="guessing yes"], [gl_cv_func_printf_infinite="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_infinite="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports infinite and NaN dnl 'long double' arguments in the %f, %e, %g directives. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_infinite_long_double. AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_BIGENDIAN]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl The user can set or unset the variable gl_printf_safe to indicate dnl that he wishes a safe handling of non-IEEE-754 'long double' values. if test -n "$gl_printf_safe"; then AC_DEFINE([CHECK_PRINTF_SAFE], [1], [Define if you wish *printf() functions that have a safe handling of non-IEEE-754 'long double' values.]) fi case "$gl_cv_func_printf_long_double" in *yes) AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments], [gl_cv_func_printf_infinite_long_double], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ ]GL_NOCRASH[ #include #include #include static int strisnan (const char *string, size_t start_index, size_t end_index) { if (start_index < end_index) { if (string[start_index] == '-') start_index++; if (start_index + 3 <= end_index && memcmp (string + start_index, "nan", 3) == 0) { start_index += 3; if (start_index == end_index || (string[start_index] == '(' && string[end_index - 1] == ')')) return 1; } } return 0; } static char buf[10000]; static long double zeroL = 0.0L; int main () { int result = 0; nocrash_init(); if (sprintf (buf, "%Lf", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; if (sprintf (buf, "%Le", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Le", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; if (sprintf (buf, "%Lg", 1.0L / zeroL) < 0 || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", -1.0L / zeroL) < 0 || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) result |= 1; if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 1; #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE /* Representation of an 80-bit 'long double' as an initializer for a sequence of 'unsigned int' words. */ # ifdef WORDS_BIGENDIAN # define LDBL80_WORDS(exponent,manthi,mantlo) \ { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ ((unsigned int) (manthi) << 16) | ((unsigned int) (mantlo) >> 16), \ (unsigned int) (mantlo) << 16 \ } # else # define LDBL80_WORDS(exponent,manthi,mantlo) \ { mantlo, manthi, exponent } # endif { /* Quiet NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Le", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Lg", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; } { /* Signalling NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Le", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; if (sprintf (buf, "%Lg", x.value) < 0 || !strisnan (buf, 0, strlen (buf))) result |= 2; } { /* Pseudo-NaN. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 4; if (sprintf (buf, "%Le", x.value) <= 0) result |= 4; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 4; } { /* Pseudo-Infinity. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 8; if (sprintf (buf, "%Le", x.value) <= 0) result |= 8; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 8; } { /* Pseudo-Zero. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 16; if (sprintf (buf, "%Le", x.value) <= 0) result |= 16; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 16; } { /* Unnormalized number. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 32; if (sprintf (buf, "%Le", x.value) <= 0) result |= 32; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 32; } { /* Pseudo-Denormal. */ static union { unsigned int word[4]; long double value; } x = { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; if (sprintf (buf, "%Lf", x.value) <= 0) result |= 64; if (sprintf (buf, "%Le", x.value) <= 0) result |= 64; if (sprintf (buf, "%Lg", x.value) <= 0) result |= 64; } #endif return result; }]])], [gl_cv_func_printf_infinite_long_double=yes], [gl_cv_func_printf_infinite_long_double=no], [case "$host_cpu" in # Guess no on ia64, x86_64, i386. ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; *) case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite_long_double="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; midnightbsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on OpenBSD >= 6.0. openbsd[1-5].*) gl_cv_func_printf_infinite_long_double="guessing no";; openbsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_infinite_long_double="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_printf_infinite_long_double="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_infinite_long_double="guessing yes"], [gl_cv_func_printf_infinite_long_double="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_infinite_long_double="$gl_cross_guess_normal";; esac ;; esac ]) ]) ;; *) gl_cv_func_printf_infinite_long_double="irrelevant" ;; esac ]) dnl Test whether the *printf family of functions supports the 'a' and 'A' dnl conversion specifier for hexadecimal output of floating-point numbers. dnl (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_a. AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], [gl_cv_func_printf_directive_a], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { int result = 0; /* This fails on FreeBSD 5.2.1, Solaris 11.4. */ if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "0x1.922p+1 33") != 0 && strcmp (buf, "0x3.244p+0 33") != 0 && strcmp (buf, "0x6.488p-1 33") != 0 && strcmp (buf, "0xc.91p-2 33") != 0)) result |= 1; if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 || (strcmp (buf, "-0X1.922P+1 33") != 0 && strcmp (buf, "-0X3.244P+0 33") != 0 && strcmp (buf, "-0X6.488P-1 33") != 0 && strcmp (buf, "-0XC.91P-2 33") != 0)) result |= 1; /* This catches a Mac OS X 10.5, FreeBSD 6.4, NetBSD 10.0 bug: it doesn't round. */ if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x1.83p+0 33") != 0 && strcmp (buf, "0x3.05p-1 33") != 0 && strcmp (buf, "0x6.0ap-2 33") != 0 && strcmp (buf, "0xc.14p-3 33") != 0)) result |= 2; /* This catches a macOS 14 (Darwin 23), FreeBSD 14.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4 bug: it doesn't round. */ if (sprintf (buf, "%.0a %d", 1.51, 33, 44, 55) < 0 || (strcmp (buf, "0x2p+0 33") != 0 && strcmp (buf, "0x3p-1 33") != 0 && strcmp (buf, "0x6p-2 33") != 0 && strcmp (buf, "0xcp-3 33") != 0)) result |= 4; /* This catches a Mac OS X 10.5, FreeBSD 6.4 bug. See */ if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0 || buf[0] == '0') result |= 8; /* This catches a Mac OS X 10.3.9 (Darwin 7.9), FreeBSD 6.4 bug. */ if (sprintf (buf, "%.1a", 1.999) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) result |= 16; /* This catches the same Mac OS X 10.3.9 (Darwin 7.9) bug and also a glibc 2.4 bug and a FreeBSD 6.4, NetBSD 10.0 bug. */ if (sprintf (buf, "%.1La", 1.999L) < 0 || (strcmp (buf, "0x1.0p+1") != 0 && strcmp (buf, "0x2.0p+0") != 0 && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) result |= 32; return result; }]])], [gl_cv_func_printf_directive_a=yes], [gl_cv_func_printf_directive_a=no], [ case "$host_os" in # Guess yes on glibc >= 2.5 systems. *-gnu* | gnu*) AC_EGREP_CPP([BZ2908], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__ BZ2908 #endif #endif ], [gl_cv_func_printf_directive_a="guessing yes"], [gl_cv_func_printf_directive_a="guessing no"]) ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_printf_directive_a="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_a="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_printf_directive_a="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_directive_a="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the 'b' conversion dnl specifier for binary output of integers. dnl (ISO C23) dnl Result is gl_cv_func_printf_directive_b. AC_DEFUN([gl_PRINTF_DIRECTIVE_B], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'b' directive], [gl_cv_func_printf_directive_b], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { int result = 0; if (sprintf (buf, "%b %d", 12345, 33, 44, 55) < 0 || strcmp (buf, "11000000111001 33") != 0) result |= 1; return result; }]])], [gl_cv_func_printf_directive_b=yes], [gl_cv_func_printf_directive_b=no], [ case "$host_os" in # Guess yes on glibc >= 2.35 systems. *-gnu* | gnu*) AC_EGREP_CPP([Lucky], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 35) || (__GLIBC__ > 2) Lucky user #endif #endif ], [gl_cv_func_printf_directive_uppercase_b="guessing yes"], [gl_cv_func_printf_directive_uppercase_b="guessing no"]) ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_printf_directive_b="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_b="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_printf_directive_b="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_directive_b="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the 'B' conversion dnl specifier for binary output of integers. dnl (GNU, encouraged by ISO C23 § 7.23.6.1) dnl Result is gl_cv_func_printf_directive_uppercase_b. AC_DEFUN([gl_PRINTF_DIRECTIVE_UPPERCASE_B], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'B' directive], [gl_cv_func_printf_directive_uppercase_b], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { int result = 0; if (sprintf (buf, "%#B %d", 12345, 33, 44, 55) < 0 || strcmp (buf, "0B11000000111001 33") != 0) result |= 1; return result; }]])], [gl_cv_func_printf_directive_uppercase_b=yes], [gl_cv_func_printf_directive_uppercase_b=no], [ case "$host_os" in # Guess yes on glibc >= 2.35 systems. *-gnu* | gnu*) AC_EGREP_CPP([Lucky], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 35) || (__GLIBC__ > 2) Lucky user #endif #endif ], [gl_cv_func_printf_directive_uppercase_b="guessing yes"], [gl_cv_func_printf_directive_uppercase_b="guessing no"]) ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_printf_directive_uppercase_b="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_uppercase_b="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_printf_directive_uppercase_b="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_directive_uppercase_b="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %F format dnl directive. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_f. AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'F' directive], [gl_cv_func_printf_directive_f], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { int result = 0; if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 || strcmp (buf, "1234567.000000 33") != 0) result |= 1; if (sprintf (buf, "%F", 1.0 / zero) < 0 || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) result |= 2; /* This catches a Cygwin 1.5.x bug. */ if (sprintf (buf, "%.F", 1234.0) < 0 || strcmp (buf, "1234") != 0) result |= 4; return result; }]])], [gl_cv_func_printf_directive_f=yes], [gl_cv_func_printf_directive_f=no], [ case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_directive_f="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; midnightbsd*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; darwin*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on OpenBSD >= 6.0. openbsd[1-5].*) gl_cv_func_printf_directive_f="guessing no";; openbsd*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_directive_f="guessing yes";; solaris*) gl_cv_func_printf_directive_f="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_f="guessing no";; changequote([,])dnl # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_printf_directive_f="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_printf_directive_f="guessing yes"], [gl_cv_func_printf_directive_f="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_directive_f="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %n format dnl directive. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_printf_directive_n. AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'n' directive], [gl_cv_func_printf_directive_n], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #if defined _WIN32 && !defined __CYGWIN__ # include #else # include #endif #ifdef _MSC_VER #include #include /* See page about "Parameter Validation" on msdn.microsoft.com. */ static void cdecl invalid_parameter_handler (const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t dummy) { exit (1); } #endif static void abort_handler (int sig) { (void) sig; _exit (1); } static char fmtstring[10]; static char buf[100]; int main () { int count = -1; #ifdef _MSC_VER _set_invalid_parameter_handler (invalid_parameter_handler); /* Also avoid an Abort/Retry/Ignore dialog in debug builds. */ _CrtSetReportMode (_CRT_ASSERT, 0); #endif signal (SIGABRT, abort_handler); /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 || strcmp (buf, "123 ") != 0 || count != 4) return 1; return 0; }]])], [gl_cv_func_printf_directive_n=yes], [gl_cv_func_printf_directive_n=no], [case "$host_os" in # Guess no on glibc when _FORTIFY_SOURCE >= 2. *-gnu* | gnu*) AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if _FORTIFY_SOURCE >= 2 error fail #endif ]])], [gl_cv_func_printf_directive_n="guessing yes"], [gl_cv_func_printf_directive_n="guessing no"]) ;; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_n="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_printf_directive_n="guessing no";; *) gl_cv_func_printf_directive_n="guessing yes";; esac ]) ]) ]) dnl Test whether the *printf family of functions supports the %ls format dnl directive and in particular, when a precision is specified, whether dnl the functions stop converting the wide string argument when the number dnl of bytes that have been produced by this conversion equals or exceeds dnl the precision. dnl Result is gl_cv_func_printf_directive_ls. AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'ls' directive], [gl_cv_func_printf_directive_ls], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { int result = 0; char buf[100]; /* Test whether %ls works at all. This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on Cygwin 1.5. */ { static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; buf[0] = '\0'; if (sprintf (buf, "%ls", wstring) < 0 || strcmp (buf, "abc") != 0) result |= 1; } /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an assertion failure inside libc), but not on OpenBSD 4.0. */ { static const wchar_t wstring[] = { 'a', 0 }; buf[0] = '\0'; if (sprintf (buf, "%ls", wstring) < 0 || strcmp (buf, "a") != 0) result |= 2; } /* Test whether precisions in %ls are supported as specified in ISO C 99 section 7.19.6.1: "If a precision is specified, no more than that many bytes are written (including shift sequences, if any), and the array shall contain a null wide character if, to equal the multibyte character sequence length given by the precision, the function would need to access a wide character one past the end of the array." This test fails on Solaris 10. */ { static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; buf[0] = '\0'; if (sprintf (buf, "%.2ls", wstring) < 0 || strcmp (buf, "ab") != 0) result |= 8; } return result; }]])], [gl_cv_func_printf_directive_ls=yes], [gl_cv_func_printf_directive_ls=no], [ changequote(,)dnl case "$host_os" in # Guess yes on OpenBSD >= 6.0. openbsd[1-5].*) gl_cv_func_printf_directive_ls="guessing no";; openbsd*) gl_cv_func_printf_directive_ls="guessing yes";; irix*) gl_cv_func_printf_directive_ls="guessing no";; solaris*) gl_cv_func_printf_directive_ls="guessing no";; cygwin*) gl_cv_func_printf_directive_ls="guessing no";; beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_ls="guessing no";; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_printf_directive_ls="guessing yes";; *) gl_cv_func_printf_directive_ls="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports the %lc format dnl directive and in particular, when the argument is a null wide character, dnl whether the functions produce a NUL byte, as specified in ISO C 23 dnl after the issue GB-141 was fixed. dnl Result is gl_cv_func_printf_directive_lc. AC_DEFUN([gl_PRINTF_DIRECTIVE_LC], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'lc' directive correctly], [gl_cv_func_printf_directive_lc], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include int main () { int result = 0; char buf[100]; /* This test fails on musl libc 1.2.4. */ { buf[0] = '\0'; if (sprintf (buf, "%lc%lc%lc", (wint_t) 'a', (wint_t) 0, (wint_t) 'z') < 0 || memcmp (buf, "a\0z", 4) != 0) result |= 1; } return result; }]])], [gl_cv_func_printf_directive_lc=yes], [gl_cv_func_printf_directive_lc=no], [ changequote(,)dnl case "$host_os" in # Guess no on musl libc. *-musl* | midipix*) gl_cv_func_printf_directive_lc="guessing no";; # Guess yes otherwise. *) gl_cv_func_printf_directive_lc="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports POSIX/XSI format dnl strings with positions. (POSIX:2001) dnl Result is gl_cv_func_printf_positions. AC_DEFUN_ONCE([gl_PRINTF_POSITIONS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions], [gl_cv_func_printf_positions], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); }]])], [gl_cv_func_printf_positions=yes], [gl_cv_func_printf_positions=no], [ changequote(,)dnl case "$host_os" in netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) gl_cv_func_printf_positions="guessing no";; beos*) gl_cv_func_printf_positions="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_positions="guessing yes";; # Guess no on native Windows. mingw* | windows* | pw*) gl_cv_func_printf_positions="guessing no";; *) gl_cv_func_printf_positions="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports POSIX/XSI format dnl strings with the ' flag for grouping of decimal digits. (POSIX:2001) dnl Result is gl_cv_func_printf_flag_grouping. AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the grouping flag], [gl_cv_func_printf_flag_grouping], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { if (sprintf (buf, "%'d %d", 1234567, 99) < 0 || buf[strlen (buf) - 1] != '9') return 1; return 0; }]])], [gl_cv_func_printf_flag_grouping=yes], [gl_cv_func_printf_flag_grouping=no], [ changequote(,)dnl case "$host_os" in cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_printf_flag_grouping="guessing no";; # Guess no on native Windows. mingw* | windows* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; *) gl_cv_func_printf_flag_grouping="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports the - flag correctly. dnl (ISO C99.) See dnl dnl Result is gl_cv_func_printf_flag_leftadjust. AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly], [gl_cv_func_printf_flag_leftadjust], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; int main () { /* Check that a '-' flag is not annihilated by a negative width. */ if (sprintf (buf, "a%-*sc", -3, "b") < 0 || strcmp (buf, "ab c") != 0) return 1; return 0; }]])], [gl_cv_func_printf_flag_leftadjust=yes], [gl_cv_func_printf_flag_leftadjust=no], [ changequote(,)dnl case "$host_os" in # Guess yes on HP-UX 11. hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess no on HP-UX 10 and older. hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; # Guess yes on Android. linux*-android*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_printf_flag_leftadjust="guessing yes";; # Guess yes otherwise. *) gl_cv_func_printf_flag_leftadjust="guessing yes";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports padding of non-finite dnl values with the 0 flag correctly. (ISO C99 + TC1 + TC2.) See dnl dnl Result is gl_cv_func_printf_flag_zero. AC_DEFUN([gl_PRINTF_FLAG_ZERO], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the zero flag correctly], [gl_cv_func_printf_flag_zero], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[100]; static double zero = 0.0; int main () { if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0 || (strcmp (buf, " inf") != 0 && strcmp (buf, " infinity") != 0)) return 1; return 0; }]])], [gl_cv_func_printf_flag_zero=yes], [gl_cv_func_printf_flag_zero=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_flag_zero="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_flag_zero="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_printf_flag_zero="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_flag_zero="$gl_cross_guess_normal";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports the # flag with a dnl zero precision and a zero value in the 'x' and 'X' directives correctly. dnl ISO C and POSIX specify that for the 'd', 'i', 'b', 'o', 'u', 'x', 'X' dnl directives: "The result of converting a zero value with a precision of dnl zero is no characters." But on Mac OS X 10.5, for the 'x', 'X' directives, dnl when a # flag is present, the output is "0" instead of "". dnl Result is gl_cv_func_printf_flag_alt_precision_zero. AC_DEFUN([gl_PRINTF_FLAG_ALT_PRECISION_ZERO], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the alternative flag with a zero precision], [gl_cv_func_printf_flag_alt_precision_zero], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include static char buf[10]; int main () { int result = 0; if (sprintf (buf, "%#.0x %d", 0, 33, 44) > 0 + 3) result |= 1; return result; }]])], [gl_cv_func_printf_flag_alt_precision_zero=yes], [gl_cv_func_printf_flag_alt_precision_zero=no], [ changequote(,)dnl case "$host_os" in # Guess no only on macOS 10..12 systems. darwin[0-9] | darwin[0-9].* | \ darwin1[0-9] | darwin1[0-9].* | \ darwin2[0-1] | darwin2[0-1].*) gl_cv_func_printf_flag_alt_precision_zero="guessing no" ;; darwin*) gl_cv_func_printf_flag_alt_precision_zero="guessing yes" ;; *) gl_cv_func_printf_flag_alt_precision_zero="guessing yes" ;; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions supports large precisions. dnl On mingw, precisions larger than 512 are treated like 512, in integer, dnl floating-point or pointer output. On Solaris 10/x86, precisions larger dnl than 510 in floating-point output crash the program. On Solaris 10/SPARC, dnl precisions larger than 510 in floating-point output yield wrong results. dnl On AIX 7.1, precisions larger than 998 in floating-point output yield dnl wrong results. On BeOS, precisions larger than 1044 crash the program. dnl Result is gl_cv_func_printf_precision. AC_DEFUN([gl_PRINTF_PRECISION], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports large precisions], [gl_cv_func_printf_precision], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static char buf[5000]; int main () { int result = 0; #ifdef __BEOS__ /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ return 1; #endif if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) result |= 1; if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) result |= 2; if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 || buf[0] != '1') result |= 4; if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5 || buf[0] != '1') result |= 4; return result; }]])], [gl_cv_func_printf_precision=yes], [gl_cv_func_printf_precision=no], [ changequote(,)dnl case "$host_os" in # Guess no only on Solaris, native Windows, and BeOS systems. solaris*) gl_cv_func_printf_precision="guessing no" ;; mingw* | windows* | pw*) gl_cv_func_printf_precision="guessing no" ;; beos*) gl_cv_func_printf_precision="guessing no" ;; # Guess yes on Android. linux*-android*) gl_cv_func_printf_precision="guessing yes" ;; *) gl_cv_func_printf_precision="guessing yes" ;; esac changequote([,])dnl ]) ]) ]) dnl Test whether the *printf family of functions recovers gracefully in case dnl of an out-of-memory condition, or whether it crashes the entire program. dnl Result is gl_cv_func_printf_enomem. AC_DEFUN([gl_PRINTF_ENOMEM], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_MULTIARCH]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf survives out-of-memory conditions], [gl_cv_func_printf_enomem], [ gl_cv_func_printf_enomem="guessing no" if test "$cross_compiling" = no; then if test $APPLE_UNIVERSAL_BUILD = 0; then AC_LANG_CONFTEST([AC_LANG_SOURCE([[ ]GL_NOCRASH[ #include #include #include #include #include int main() { struct rlimit limit; int ret; nocrash_init (); /* Some printf implementations allocate temporary space with malloc. */ /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ #ifdef RLIMIT_DATA if (getrlimit (RLIMIT_DATA, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_DATA, &limit) < 0) return 77; #endif /* On Linux systems, malloc() is limited by RLIMIT_AS. */ #ifdef RLIMIT_AS if (getrlimit (RLIMIT_AS, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_AS, &limit) < 0) return 77; #endif /* Some printf implementations allocate temporary space on the stack. */ #ifdef RLIMIT_STACK if (getrlimit (RLIMIT_STACK, &limit) < 0) return 77; if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) limit.rlim_max = 5000000; limit.rlim_cur = limit.rlim_max; if (setrlimit (RLIMIT_STACK, &limit) < 0) return 77; #endif ret = printf ("%.5000000f", 1.0); return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); } ]])]) if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then (./conftest 2>&AS_MESSAGE_LOG_FD result=$? _AS_ECHO_LOG([\$? = $result]) if test $result != 0 && test $result != 77; then result=1; fi exit $result ) >/dev/null 2>/dev/null case $? in 0) gl_cv_func_printf_enomem="yes" ;; 77) gl_cv_func_printf_enomem="guessing no" ;; *) gl_cv_func_printf_enomem="no" ;; esac else gl_cv_func_printf_enomem="guessing no" fi rm -fr conftest* else dnl A universal build on Apple Mac OS X platforms. dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode. dnl But we need a configuration result that is valid in both modes. gl_cv_func_printf_enomem="guessing no" fi fi if test "$gl_cv_func_printf_enomem" = "guessing no"; then changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Solaris. solaris*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on AIX. aix*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on HP-UX/hppa. hpux*) case "$host_cpu" in hppa*) gl_cv_func_printf_enomem="guessing yes";; *) gl_cv_func_printf_enomem="guessing no";; esac ;; # Guess yes on IRIX. irix*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on OSF/1. osf*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_printf_enomem="guessing yes";; # Guess yes on Haiku. haiku*) gl_cv_func_printf_enomem="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_enomem="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_printf_enomem="$gl_cross_guess_normal";; esac changequote([,])dnl fi ]) ]) dnl Test whether the snprintf function exists. (ISO C99, POSIX:2001) dnl Result is ac_cv_func_snprintf. AC_DEFUN([gl_SNPRINTF_PRESENCE], [ AC_CHECK_FUNCS_ONCE([snprintf]) ]) dnl Test whether the string produced by the snprintf function is always NUL dnl terminated. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_snprintf_truncation_c99. AC_DEFUN_ONCE([gl_SNPRINTF_TRUNCATION_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf truncates the result as in C99], [gl_cv_func_snprintf_truncation_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); my_snprintf (buf, 3, "%d %d", 4567, 89); if (memcmp (buf, "45\0DEF", 6) != 0) return 1; return 0; }]])], [gl_cv_func_snprintf_truncation_c99=yes], [gl_cv_func_snprintf_truncation_c99=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_truncation_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; midnightbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_truncation_c99="guessing no";; openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_truncation_c99="guessing no";; solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on HP-UX >= 11. hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_truncation_c99="guessing no";; netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_snprintf_truncation_c99="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_snprintf_truncation_c99="$gl_cross_guess_normal";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the return value of the snprintf function is the number dnl of bytes (excluding the terminating NUL) that would have been produced dnl if the buffer had been large enough. (ISO C99, POSIX:2001) dnl For example, this test program fails on IRIX 6.5: dnl --------------------------------------------------------------------- dnl #include dnl int main() dnl { dnl static char buf[8]; dnl int retval = snprintf (buf, 3, "%d", 12345); dnl return retval >= 0 && retval < 3; dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_snprintf_retval_c99. AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], [gl_cv_func_snprintf_retval_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static char buf[100]; int main () { strcpy (buf, "ABCDEF"); if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7) return 1; if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7) return 2; if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7) return 3; return 0; }]])], [gl_cv_func_snprintf_retval_c99=yes], [gl_cv_func_snprintf_retval_c99=no], [case "$host_os" in changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; midnightbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on OpenBSD >= 3.9. openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) gl_cv_func_snprintf_retval_c99="guessing no";; openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Solaris >= 2.10. solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";; solaris*) gl_cv_func_printf_sizes_c99="guessing no";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_retval_c99="guessing no";; netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";; changequote([,])dnl # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_snprintf_retval_c99="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_snprintf_retval_c99="guessing yes"], [gl_cv_func_snprintf_retval_c99="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_snprintf_retval_c99="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the snprintf function supports the %n format directive dnl also in truncated portions of the format string. (ISO C99, POSIX:2001) dnl Result is gl_cv_func_snprintf_directive_n. AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], [gl_cv_func_snprintf_directive_n], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #if defined _WIN32 && !defined __CYGWIN__ # include #else # include #endif #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif static void abort_handler (int sig) { (void) sig; _exit (1); } static char fmtstring[10]; static char buf[100]; int main () { int count = -1; signal (SIGABRT, abort_handler); /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) support %n in format strings in read-only memory but not in writable memory. */ strcpy (fmtstring, "%d %n"); my_snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); if (count != 6) return 1; return 0; }]])], [gl_cv_func_snprintf_directive_n=yes], [gl_cv_func_snprintf_directive_n=no], [ case "$host_os" in # Guess no on glibc when _FORTIFY_SOURCE >= 2. *-gnu* | gnu*) AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if _FORTIFY_SOURCE >= 2 error fail #endif ]])], [gl_cv_func_snprintf_directive_n="guessing yes"], [gl_cv_func_snprintf_directive_n="guessing no"]) ;; changequote(,)dnl # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_directive_n="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; midnightbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";; darwin*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_snprintf_directive_n="guessing no";; solaris*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";; aix*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on OSF/1 >= 5. osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";; osf*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_snprintf_directive_n="guessing no";; netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_snprintf_directive_n="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_snprintf_directive_n="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_snprintf_directive_n="$gl_cross_guess_normal";; changequote([,])dnl esac ]) ]) ]) dnl Test whether the snprintf function, when passed a size = 1, writes any dnl output without bounds in this case, behaving like sprintf. This is the dnl case on Linux libc5. dnl Result is gl_cv_func_snprintf_size1. AC_DEFUN([gl_SNPRINTF_SIZE1], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_SNPRINTF_PRESENCE]) AC_CACHE_CHECK([whether snprintf respects a size of 1], [gl_cv_func_snprintf_size1], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #if HAVE_SNPRINTF # define my_snprintf snprintf #else # include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } #endif int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 1, "%d", 12345); return buf[1] != 'E'; }]])], [gl_cv_func_snprintf_size1=yes], [gl_cv_func_snprintf_size1=no], [case "$host_os" in # Guess yes on Android. linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_snprintf_size1="guessing yes" ;; *) gl_cv_func_snprintf_size1="guessing yes" ;; esac ]) ]) ]) dnl Test whether the vsnprintf function, when passed a zero size, produces no dnl output. (ISO C99, POSIX:2001) dnl For example, snprintf nevertheless writes a NUL byte in this case dnl on OSF/1 5.1: dnl --------------------------------------------------------------------- dnl #include dnl int main() dnl { dnl static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; dnl snprintf (buf, 0, "%d", 12345); dnl return buf[0] != 'D'; dnl } dnl --------------------------------------------------------------------- dnl And vsnprintf writes any output without bounds in this case, behaving like dnl vsprintf, on HP-UX 11 and OSF/1 5.1: dnl --------------------------------------------------------------------- dnl #include dnl #include dnl static int my_snprintf (char *buf, int size, const char *format, ...) dnl { dnl va_list args; dnl int ret; dnl va_start (args, format); dnl ret = vsnprintf (buf, size, format, args); dnl va_end (args); dnl return ret; dnl } dnl int main() dnl { dnl static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; dnl my_snprintf (buf, 0, "%d", 12345); dnl return buf[0] != 'D'; dnl } dnl --------------------------------------------------------------------- dnl Result is gl_cv_func_vsnprintf_zerosize_c99. AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99], [gl_cv_func_vsnprintf_zerosize_c99], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static int my_snprintf (char *buf, int size, const char *format, ...) { va_list args; int ret; va_start (args, format); ret = vsnprintf (buf, size, format, args); va_end (args); return ret; } int main() { static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; my_snprintf (buf, 0, "%d", 12345); return buf[0] != 'D'; }]])], [gl_cv_func_vsnprintf_zerosize_c99=yes], [gl_cv_func_vsnprintf_zerosize_c99=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; midnightbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Mac OS X >= 10.3. darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Cygwin. cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Solaris >= 2.6. solaris2.[0-5] | solaris2.[0-5].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on AIX >= 4. aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on IRIX >= 6.5. irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on NetBSD >= 3. netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on BeOS. beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on native Windows. mingw* | windows* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_vsnprintf_zerosize_c99="$gl_cross_guess_normal";; esac changequote([,])dnl ]) ]) ]) dnl Test whether the swprintf function works correctly when it produces output dnl that contains null wide characters. dnl Result is gl_cv_func_swprintf_works. AC_DEFUN([gl_SWPRINTF_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([swprintf]) AC_CACHE_CHECK([whether swprintf works], [gl_cv_func_swprintf_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __USE_MINGW_ANSI_STDIO # define __USE_MINGW_ANSI_STDIO 1 #endif #include #include int main() { int result = 0; { /* This test fails on musl libc 1.2.3, FreeBSD, NetBSD, OpenBSD, macOS, AIX. */ wchar_t buf[5] = { 0xBEEF, 0xBEEF, 0xBEEF, 0xBEEF, 0xBEEF }; int ret = swprintf (buf, 4, L"%cz", '\0'); /* Expected result: ret = 2, buf[0] = 0x0, buf[1] = 0x7a, buf[2] = 0x0, buf[3] = 0xbeef musl libc 1.2.3: ret = 2, buf[0] = 0x0, buf[1] = 0x0, buf[2] = 0x0, buf[3] = 0x0 Reported at . FreeBSD 13.1, NetBSD 9.0, OpenBSD 7.2, macOS 12.5, AIX 7.2: ret = 2, buf[0] = 0x0, buf[1] = 0xbeef, buf[2] = 0xbeef, buf[3] = 0xbeef */ if (ret < 0 || buf[1] != 'z') result |= 1; } { /* This test fails on mingw. */ wchar_t buf[2]; int ret = swprintf (buf, 2, L"%lc", (wint_t)0); /* Expected: ret = 1 mingw: ret = 0 */ if (ret != 1) result |= 2; } return result; }]])], [gl_cv_func_swprintf_works=yes], [gl_cv_func_swprintf_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_swprintf_works="guessing yes";; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_swprintf_works="guessing no";; # Guess no on FreeBSD, NetBSD, OpenBSD, macOS, AIX. freebsd* | midnightbsd* | netbsd* | openbsd* | darwin* | aix*) gl_cv_func_swprintf_works="guessing no";; # Guess no on native Windows. mingw* | windows* | pw*) gl_cv_func_swprintf_works="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_swprintf_works="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *wprintf family of functions supports the 'a' and 'A' dnl conversion specifier for hexadecimal output of 'long double' numbers. dnl (ISO C99, POSIX:2001) dnl Result is gl_cv_func_swprintf_directive_la. AC_DEFUN([gl_SWPRINTF_DIRECTIVE_LA], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether swprintf supports the 'La' and 'LA' directives], [gl_cv_func_swprintf_directive_la], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static wchar_t buf[100]; int main () { int result = 0; /* This catches a glibc 2.15, Haiku 2022, NetBSD 10.0 bug. */ if (swprintf (buf, sizeof (buf) / sizeof (wchar_t), L"%La %d", 3.1416015625L, 33, 44, 55) < 0 || (wcscmp (buf, L"0x1.922p+1 33") != 0 && wcscmp (buf, L"0x3.244p+0 33") != 0 && wcscmp (buf, L"0x6.488p-1 33") != 0 && wcscmp (buf, L"0xc.91p-2 33") != 0)) result |= 1; return result; }]])], [gl_cv_func_swprintf_directive_la=yes], [gl_cv_func_swprintf_directive_la=no], [case "$host_os" in # Guess yes on glibc >= 2.17 systems. *-gnu* | gnu*) AC_EGREP_CPP([Unlucky], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16) || (__GLIBC__ > 2)) && !defined __UCLIBC__ Unlucky #endif #endif ], [gl_cv_func_swprintf_directive_la="guessing yes"], [gl_cv_func_swprintf_directive_la="guessing no"]) ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_swprintf_directive_la="guessing yes";; # Guess yes on Android. linux*-android*) gl_cv_func_swprintf_directive_la="guessing yes";; # Guess no on NetBSD. netbsd*) gl_cv_func_swprintf_directive_la="guessing no";; # Guess no on native Windows. mingw* | windows*) gl_cv_func_swprintf_directive_la="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_swprintf_directive_la="$gl_cross_guess_normal";; esac ]) ]) ]) dnl Test whether the *wprintf family of functions supports the 'lc' conversion dnl specifier for all wide characters. dnl (ISO C11, POSIX:2001) dnl Result is gl_cv_func_swprintf_directive_lc. AC_DEFUN([gl_SWPRINTF_DIRECTIVE_LC], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether swprintf supports the 'lc' directive], [gl_cv_func_swprintf_directive_lc], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include static wchar_t buf[100]; static wint_t L_invalid = (wchar_t) 0x76543210; int main () { int result = 0; /* This catches a musl libc 1.2.4, Android bug. Reported at . */ if (swprintf (buf, sizeof (buf) / sizeof (wchar_t), L"%lc %d", L_invalid, 33, 44, 55) < 0) result |= 1; return result; }]])], [gl_cv_func_swprintf_directive_lc=yes], [gl_cv_func_swprintf_directive_lc=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_swprintf_directive_lc="guessing yes";; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_swprintf_directive_lc="guessing no";; # Guess no on Android. linux*-android*) gl_cv_func_swprintf_directive_lc="guessing no";; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_swprintf_directive_lc="guessing yes";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_swprintf_directive_lc="$gl_cross_guess_normal";; esac ]) ]) ]) dnl The results of these tests on various platforms are: dnl dnl 1 = gl_PRINTF_SIZES_C99 dnl 2 = gl_PRINTF_SIZES_C23 dnl 3 = gl_PRINTF_LONG_DOUBLE dnl 4 = gl_PRINTF_INFINITE dnl 5 = gl_PRINTF_INFINITE_LONG_DOUBLE dnl 6 = gl_PRINTF_DIRECTIVE_A dnl 7 = gl_PRINTF_DIRECTIVE_B dnl 8 = gl_PRINTF_DIRECTIVE_UPPERCASE_B dnl 9 = gl_PRINTF_DIRECTIVE_F dnl 10 = gl_PRINTF_DIRECTIVE_N dnl 11 = gl_PRINTF_DIRECTIVE_LS dnl 12 = gl_PRINTF_DIRECTIVE_LC dnl 13 = gl_PRINTF_POSITIONS dnl 14 = gl_PRINTF_FLAG_GROUPING dnl 15 = gl_PRINTF_FLAG_LEFTADJUST dnl 16 = gl_PRINTF_FLAG_ZERO dnl 17 = gl_PRINTF_FLAG_ALT_PRECISION_ZERO dnl 18 = gl_PRINTF_PRECISION dnl 19 = gl_PRINTF_ENOMEM dnl 20 = gl_SNPRINTF_PRESENCE dnl 21 = gl_SNPRINTF_TRUNCATION_C99 dnl 22 = gl_SNPRINTF_RETVAL_C99 dnl 23 = gl_SNPRINTF_DIRECTIVE_N dnl 24 = gl_SNPRINTF_SIZE1 dnl 25 = gl_VSNPRINTF_ZEROSIZE_C99 dnl 26 = gl_SWPRINTF_WORKS dnl 27 = gl_SWPRINTF_DIRECTIVE_LA dnl 28 = gl_SWPRINTF_DIRECTIVE_LC dnl dnl 1 = checking whether printf supports size specifiers as in C99... dnl 2 = checking whether printf supports size specifiers as in C23... dnl 3 = checking whether printf supports 'long double' arguments... dnl 4 = checking whether printf supports infinite 'double' arguments... dnl 5 = checking whether printf supports infinite 'long double' arguments... dnl 6 = checking whether printf supports the 'a' and 'A' directives... dnl 7 = checking whether printf supports the 'b' directive... dnl 8 = checking whether printf supports the 'B' directive... dnl 9 = checking whether printf supports the 'F' directive... dnl 10 = checking whether printf supports the 'n' directive... dnl 11 = checking whether printf supports the 'ls' directive... dnl 12 = checking whether printf supports the 'lc' directive correctly... dnl 13 = checking whether printf supports POSIX/XSI format strings with positions... dnl 14 = checking whether printf supports the grouping flag... dnl 15 = checking whether printf supports the left-adjust flag correctly... dnl 16 = checking whether printf supports the zero flag correctly... dnl 17 = checking whether printf supports the alternative flag with a zero precision... dnl 18 = checking whether printf supports large precisions... dnl 19 = checking whether printf survives out-of-memory conditions... dnl 20 = checking for snprintf... dnl 21 = checking whether snprintf truncates the result as in C99... dnl 22 = checking whether snprintf returns a byte count as in C99... dnl 23 = checking whether snprintf fully supports the 'n' directive... dnl 24 = checking whether snprintf respects a size of 1... dnl 25 = checking whether vsnprintf respects a zero size as in C99... dnl 26 = checking whether swprintf works... dnl 27 = checking whether swprintf supports the 'La' and 'LA' directives... dnl 28 = checking whether swprintf supports the 'lc' directive... dnl dnl . = yes, # = no. dnl dnl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 dnl musl libc 1.2.3 . # . . . . # # . . . # . . . . ? . . . . . . . . # . # dnl glibc 2.35 . # . . . . . . . . . . . . . . . . . . . . . . . . . . dnl glibc 2.5 . # . . . . # # . . . . . . . . . . . . . . . . . . # . dnl glibc 2.3.6 . # . . . # # # . . . . . . . . . . . . . . . . . . # . dnl FreeBSD 14.0 . . . . . # . . . . . . . . . . . . # . . . . . . # . # dnl FreeBSD 13.0 . # . . . # # # . . . . . . . . . . # . . . . . . # . # dnl FreeBSD 5.4, 6.1 . # . . . # # # . . . . . . . # ? . # . . . . . . # ? ? dnl Mac OS X 10.13.5 . # . . # # # # . # . . . . . . . . . . . . # . . # ? ? dnl Mac OS X 10.5.8 . # . . # # # # . . . . . . . # # . . . . . . . . # ? ? dnl Mac OS X 10.3.9 . # . . . # # # . . . . . . . # # . # . . . . . . # ? ? dnl OpenBSD 6.0, 6.7 . # . . . # # # . . . . . . . . . . # . . . . . . # . # dnl OpenBSD 3.9, 4.0 . # . # # # # # # . # . . # . # ? . # . . . . . . # ? ? dnl Cygwin 1.7.0 (2009) . # . . # . # # . . ? ? . . . . ? . ? . . . . . . ? ? ? dnl Cygwin 1.5.25 (2008) . # . . # # # # . . # ? . . . . ? . # . . . . . . ? ? ? dnl Cygwin 1.5.19 (2006) # # . . # # # # # . # ? . # . # ? # # . . . . . . ? ? ? dnl Solaris 11.4 . # . # # # # # . . # . . . . # . . . . . . . . . . # . dnl Solaris 11.3 . # . . . # # # . . # . . . . . . . . . . . . . . . # . dnl Solaris 11.0 . # . # # # # # . . # . . . . # . . . . . . . . . ? ? ? dnl Solaris 10 . # . # # # # # . . # . . . . # . # . . . . . . . . # . dnl Solaris 2.6 ... 9 # # . # # # # # # . # . . . . # ? # . . . # . . . ? ? ? dnl Solaris 2.5.1 # # . # # # # # # . # . . . . # ? . . # # # # # # ? ? ? dnl AIX 7.1 . # . # # # # # . . . . . . . # . # . . . . . . . # . . dnl AIX 5.2 . # . # # # # # . . . . . . . # ? . . . . . . . . # ? ? dnl AIX 4.3.2, 5.1 # # . # # # # # # . . . . . . # ? . . . . # . . . # ? ? dnl HP-UX 11.31 . # . . . # # # . . . ? . . . # ? . . . . # # . . ? ? ? dnl HP-UX 11.{00,11,23} # # . . . # # # # . . ? . . . # ? . . . . # # . # ? ? ? dnl HP-UX 10.20 # # . # . # # # # . ? ? . . # # ? . . . . # # ? # ? ? ? dnl IRIX 6.5 # # . # # # # # # . # . . . . # ? . . . . # . . . # ? ? dnl OSF/1 5.1 # # . # # # # # # . . ? . . . # ? . . . . # . . # ? ? ? dnl OSF/1 4.0d # # . # # # # # # . . ? . . . # ? . . # # # # # # ? ? ? dnl NetBSD 9.0 . # . . . # # # . . . . . . . . . . . . . . . . . # . # dnl NetBSD 5.0 . # . . # # # # . . . . . . . # ? . # . . . . . . # ? ? dnl NetBSD 4.0 . # ? ? ? ? # # ? . ? . . ? ? ? ? ? ? . . . ? ? ? # ? ? dnl NetBSD 3.0 . # . . . # # # # . ? . # # ? # ? . # . . . . . . # ? ? dnl Haiku . # . . # # # # # . # ? . . . . ? . ? . . ? . . . . # . dnl BeOS # # # . # # # # # . ? ? # . ? . ? # ? . . ? . . . ? ? ? dnl Android 4.3 . # . # # # # # # # # ? . # . # ? . # . . . # . . ? ? ? dnl old mingw / msvcrt # # # # # # # # # . . ? # # . # ? # ? . # # # . . # ? ? dnl MSVC 9 # # # # # # # # # # . ? # # . # ? # ? # # # # . . # ? ? dnl mingw 2009-2011 . # # . # . # # . . . ? # # . . ? . ? . . . . . . # ? ? dnl mingw-w64 2011 # # # # # # # # # . . ? # # . # ? # ? . # # # . . # ? ? datamash-1.9/m4/progtest.m40000644000000000000000000000604014352360407011231 # progtest.m4 serial 7 (gettext-0.18.2) dnl Copyright (C) 1996-2003, 2005, 2008-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ([2.50]) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL([ac_cv_path_$1], [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$][$1]) else AC_MSG_RESULT([no]) fi AC_SUBST([$1])dnl ]) datamash-1.9/m4/pthread-once.m40000644000000000000000000000225014767401140011732 # pthread-once.m4 # serial 3 dnl Copyright (C) 2019-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_PTHREAD_ONCE], [ AC_REQUIRE([gl_PTHREAD_H]) AC_REQUIRE([AC_CANONICAL_HOST]) if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then dnl Choose function names that don't conflict with the mingw-w64 winpthreads dnl library. REPLACE_PTHREAD_ONCE=1 else if test $HAVE_PTHREAD_H = 0; then HAVE_PTHREAD_ONCE=0 else dnl Work around Cygwin 3.5.3 bug. AC_CACHE_CHECK([whether pthread_once works], [gl_cv_func_pthread_once_works], [case "$host_os" in cygwin*) gl_cv_func_pthread_once_works="guessing no" ;; *) gl_cv_func_pthread_once_works="yes" ;; esac ]) case "$gl_cv_func_pthread_once_works" in *yes) ;; *) REPLACE_PTHREAD_ONCE=1 ;; esac fi fi ]) datamash-1.9/m4/pthread-spin.m40000644000000000000000000000516714767401140011771 # pthread-spin.m4 # serial 8 dnl Copyright (C) 2019-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_PTHREAD_SPIN], [ AC_REQUIRE([gl_PTHREAD_H_PART1]) AC_REQUIRE([AC_CANONICAL_HOST]) if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then dnl Choose function names that don't conflict with the mingw-w64 winpthreads dnl library. REPLACE_PTHREAD_SPIN_INIT=1 REPLACE_PTHREAD_SPIN_LOCK=1 REPLACE_PTHREAD_SPIN_TRYLOCK=1 REPLACE_PTHREAD_SPIN_UNLOCK=1 REPLACE_PTHREAD_SPIN_DESTROY=1 else if test $HAVE_PTHREAD_H = 0 || test $HAVE_PTHREAD_SPINLOCK_T = 0; then HAVE_PTHREAD_SPIN_INIT=0 HAVE_PTHREAD_SPIN_LOCK=0 HAVE_PTHREAD_SPIN_TRYLOCK=0 HAVE_PTHREAD_SPIN_UNLOCK=0 HAVE_PTHREAD_SPIN_DESTROY=0 else dnl Test whether the gnulib module 'threadlib' is in use. dnl Some packages like Emacs use --avoid=threadlib. dnl Write the symbol in such a way that it does not cause 'aclocal' to pick dnl the threadlib.m4 file that is installed in $PREFIX/share/aclocal/. m4_ifdef([gl_][THREADLIB], [ AC_REQUIRE([gl_][THREADLIB]) dnl Test whether the functions actually exist. dnl FreeBSD 5.2.1 declares them but does not define them. AC_CACHE_CHECK([for pthread_spin_init], [gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD], [gl_saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[pthread_spinlock_t lock; return pthread_spin_init (&lock, 0); ]]) ], [gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD=yes], [gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD=no]) LIBS="$gl_saved_LIBS" ]) if test $gl_cv_func_pthread_spin_init_in_LIBMULTITHREAD != yes; then HAVE_PTHREAD_SPIN_INIT=0 REPLACE_PTHREAD_SPIN_INIT=1 HAVE_PTHREAD_SPIN_LOCK=0 REPLACE_PTHREAD_SPIN_LOCK=1 HAVE_PTHREAD_SPIN_TRYLOCK=0 REPLACE_PTHREAD_SPIN_TRYLOCK=1 HAVE_PTHREAD_SPIN_UNLOCK=0 REPLACE_PTHREAD_SPIN_UNLOCK=1 HAVE_PTHREAD_SPIN_DESTROY=0 REPLACE_PTHREAD_SPIN_DESTROY=1 fi ], [ : ]) fi fi ]) datamash-1.9/m4/pthread_h.m40000644000000000000000000003574014767401140011331 # pthread_h.m4 # serial 11 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_PTHREAD_H_PART1], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_PTHREAD_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PTHREADLIB]) gl_CHECK_NEXT_HEADERS([pthread.h]) if test $ac_cv_header_pthread_h = yes; then HAVE_PTHREAD_H=1 dnl On mingw, if --enable-threads=windows or gl_AVOID_WINPTHREAD is used, dnl ignore the from the mingw-w64 winpthreads library. m4_ifdef([gl_][THREADLIB], [ AC_REQUIRE([gl_][THREADLIB]) if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \ && test $gl_threads_api = windows; then HAVE_PTHREAD_H=0 fi ]) else HAVE_PTHREAD_H=0 fi AC_SUBST([HAVE_PTHREAD_H]) AC_CHECK_TYPES([pthread_t, pthread_spinlock_t], [], [], [AC_INCLUDES_DEFAULT[ #if HAVE_PTHREAD_H #include #endif]]) if test $ac_cv_type_pthread_t != yes; then HAVE_PTHREAD_T=0 fi if test $ac_cv_type_pthread_spinlock_t != yes; then HAVE_PTHREAD_SPINLOCK_T=0 fi ]) AC_DEFUN([gl_PTHREAD_H], [ AC_REQUIRE([gl_PTHREAD_H_PART1]) dnl Set HAVE_PTHREAD_SPIN_INIT, REPLACE_PTHREAD_SPIN_INIT. gl_PTHREAD_SPIN dnl Constants may be defined as C preprocessor macros or as enum items. AC_CACHE_CHECK([for PTHREAD_CREATE_DETACHED], [gl_cv_const_PTHREAD_CREATE_DETACHED], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_CREATE_DETACHED; ]], [[]])], [gl_cv_const_PTHREAD_CREATE_DETACHED=yes], [gl_cv_const_PTHREAD_CREATE_DETACHED=no]) ]) if test $gl_cv_const_PTHREAD_CREATE_DETACHED != yes; then HAVE_PTHREAD_CREATE_DETACHED=0 fi AC_CACHE_CHECK([for PTHREAD_MUTEX_RECURSIVE], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_MUTEX_RECURSIVE; ]], [[]])], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE=yes], [gl_cv_const_PTHREAD_MUTEX_RECURSIVE=no]) ]) if test $gl_cv_const_PTHREAD_MUTEX_RECURSIVE != yes; then HAVE_PTHREAD_MUTEX_RECURSIVE=0 fi AC_CACHE_CHECK([for PTHREAD_MUTEX_ROBUST], [gl_cv_const_PTHREAD_MUTEX_ROBUST], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_MUTEX_ROBUST; ]], [[]])], [gl_cv_const_PTHREAD_MUTEX_ROBUST=yes], [gl_cv_const_PTHREAD_MUTEX_ROBUST=no]) ]) if test $gl_cv_const_PTHREAD_MUTEX_ROBUST != yes; then HAVE_PTHREAD_MUTEX_ROBUST=0 fi AC_CACHE_CHECK([for PTHREAD_PROCESS_SHARED], [gl_cv_const_PTHREAD_PROCESS_SHARED], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int x = PTHREAD_PROCESS_SHARED; ]], [[]])], [gl_cv_const_PTHREAD_PROCESS_SHARED=yes], [gl_cv_const_PTHREAD_PROCESS_SHARED=no]) ]) if test $gl_cv_const_PTHREAD_PROCESS_SHARED != yes; then HAVE_PTHREAD_PROCESS_SHARED=0 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [ pthread_create pthread_attr_init pthread_attr_getdetachstate pthread_attr_setdetachstate pthread_attr_destroy pthread_self pthread_equal pthread_detach pthread_join pthread_exit pthread_once pthread_mutex_init pthread_mutexattr_init pthread_mutexattr_gettype pthread_mutexattr_settype pthread_mutexattr_getrobust pthread_mutexattr_setrobust pthread_mutexattr_destroy pthread_mutex_lock pthread_mutex_trylock pthread_mutex_timedlock pthread_mutex_unlock pthread_mutex_destroy pthread_rwlock_init pthread_rwlockattr_init pthread_rwlockattr_destroy pthread_rwlock_rdlock pthread_rwlock_wrlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_timedrdlock pthread_rwlock_timedwrlock pthread_rwlock_unlock pthread_rwlock_destroy pthread_cond_init pthread_condattr_init pthread_condattr_destroy pthread_cond_wait pthread_cond_timedwait pthread_cond_signal pthread_cond_broadcast pthread_cond_destroy pthread_key_create pthread_setspecific pthread_getspecific pthread_key_delete pthread_spin_init pthread_spin_lock pthread_spin_trylock pthread_spin_unlock pthread_spin_destroy]) AC_REQUIRE([AC_C_RESTRICT]) dnl For backward compatibility with gnulib versions <= 2019-07. LIB_PTHREAD="$LIBPMULTITHREAD" AC_SUBST([LIB_PTHREAD]) ]) # gl_PTHREAD_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_PTHREAD_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_PTHREAD_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_PTHREAD_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_PTHREAD_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_THREAD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_ONCE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_MUTEX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_RWLOCK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_COND]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_TSS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_SPIN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_MUTEX_TIMEDLOCK]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_PTHREAD_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_PTHREAD_H_DEFAULTS]) ]) AC_DEFUN([gl_PTHREAD_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_PTHREAD_T=1; AC_SUBST([HAVE_PTHREAD_T]) HAVE_PTHREAD_SPINLOCK_T=1; AC_SUBST([HAVE_PTHREAD_SPINLOCK_T]) HAVE_PTHREAD_CREATE_DETACHED=1; AC_SUBST([HAVE_PTHREAD_CREATE_DETACHED]) HAVE_PTHREAD_MUTEX_RECURSIVE=1; AC_SUBST([HAVE_PTHREAD_MUTEX_RECURSIVE]) HAVE_PTHREAD_MUTEX_ROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEX_ROBUST]) HAVE_PTHREAD_PROCESS_SHARED=1; AC_SUBST([HAVE_PTHREAD_PROCESS_SHARED]) HAVE_PTHREAD_CREATE=1; AC_SUBST([HAVE_PTHREAD_CREATE]) HAVE_PTHREAD_ATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_ATTR_INIT]) HAVE_PTHREAD_ATTR_GETDETACHSTATE=1; AC_SUBST([HAVE_PTHREAD_ATTR_GETDETACHSTATE]) HAVE_PTHREAD_ATTR_SETDETACHSTATE=1; AC_SUBST([HAVE_PTHREAD_ATTR_SETDETACHSTATE]) HAVE_PTHREAD_ATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_ATTR_DESTROY]) HAVE_PTHREAD_SELF=1; AC_SUBST([HAVE_PTHREAD_SELF]) HAVE_PTHREAD_EQUAL=1; AC_SUBST([HAVE_PTHREAD_EQUAL]) HAVE_PTHREAD_DETACH=1; AC_SUBST([HAVE_PTHREAD_DETACH]) HAVE_PTHREAD_JOIN=1; AC_SUBST([HAVE_PTHREAD_JOIN]) HAVE_PTHREAD_EXIT=1; AC_SUBST([HAVE_PTHREAD_EXIT]) HAVE_PTHREAD_ONCE=1; AC_SUBST([HAVE_PTHREAD_ONCE]) HAVE_PTHREAD_MUTEX_INIT=1; AC_SUBST([HAVE_PTHREAD_MUTEX_INIT]) HAVE_PTHREAD_MUTEXATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_INIT]) HAVE_PTHREAD_MUTEXATTR_GETTYPE=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_GETTYPE]) HAVE_PTHREAD_MUTEXATTR_SETTYPE=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_SETTYPE]) HAVE_PTHREAD_MUTEXATTR_GETROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_GETROBUST]) HAVE_PTHREAD_MUTEXATTR_SETROBUST=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_SETROBUST]) HAVE_PTHREAD_MUTEXATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_MUTEXATTR_DESTROY]) HAVE_PTHREAD_MUTEX_LOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_LOCK]) HAVE_PTHREAD_MUTEX_TRYLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_TRYLOCK]) HAVE_PTHREAD_MUTEX_TIMEDLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_TIMEDLOCK]) HAVE_PTHREAD_MUTEX_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_MUTEX_UNLOCK]) HAVE_PTHREAD_MUTEX_DESTROY=1; AC_SUBST([HAVE_PTHREAD_MUTEX_DESTROY]) HAVE_PTHREAD_RWLOCK_INIT=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_INIT]) HAVE_PTHREAD_RWLOCKATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_RWLOCKATTR_INIT]) HAVE_PTHREAD_RWLOCKATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_RWLOCKATTR_DESTROY]) HAVE_PTHREAD_RWLOCK_RDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_RDLOCK]) HAVE_PTHREAD_RWLOCK_WRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_WRLOCK]) HAVE_PTHREAD_RWLOCK_TRYRDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TRYRDLOCK]) HAVE_PTHREAD_RWLOCK_TRYWRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TRYWRLOCK]) HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK]) HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK]) HAVE_PTHREAD_RWLOCK_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_UNLOCK]) HAVE_PTHREAD_RWLOCK_DESTROY=1; AC_SUBST([HAVE_PTHREAD_RWLOCK_DESTROY]) HAVE_PTHREAD_COND_INIT=1; AC_SUBST([HAVE_PTHREAD_COND_INIT]) HAVE_PTHREAD_CONDATTR_INIT=1; AC_SUBST([HAVE_PTHREAD_CONDATTR_INIT]) HAVE_PTHREAD_CONDATTR_DESTROY=1; AC_SUBST([HAVE_PTHREAD_CONDATTR_DESTROY]) HAVE_PTHREAD_COND_WAIT=1; AC_SUBST([HAVE_PTHREAD_COND_WAIT]) HAVE_PTHREAD_COND_TIMEDWAIT=1; AC_SUBST([HAVE_PTHREAD_COND_TIMEDWAIT]) HAVE_PTHREAD_COND_SIGNAL=1; AC_SUBST([HAVE_PTHREAD_COND_SIGNAL]) HAVE_PTHREAD_COND_BROADCAST=1; AC_SUBST([HAVE_PTHREAD_COND_BROADCAST]) HAVE_PTHREAD_COND_DESTROY=1; AC_SUBST([HAVE_PTHREAD_COND_DESTROY]) HAVE_PTHREAD_KEY_CREATE=1; AC_SUBST([HAVE_PTHREAD_KEY_CREATE]) HAVE_PTHREAD_SETSPECIFIC=1; AC_SUBST([HAVE_PTHREAD_SETSPECIFIC]) HAVE_PTHREAD_GETSPECIFIC=1; AC_SUBST([HAVE_PTHREAD_GETSPECIFIC]) HAVE_PTHREAD_KEY_DELETE=1; AC_SUBST([HAVE_PTHREAD_KEY_DELETE]) HAVE_PTHREAD_SPIN_INIT=1; AC_SUBST([HAVE_PTHREAD_SPIN_INIT]) HAVE_PTHREAD_SPIN_LOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_LOCK]) HAVE_PTHREAD_SPIN_TRYLOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_TRYLOCK]) HAVE_PTHREAD_SPIN_UNLOCK=1; AC_SUBST([HAVE_PTHREAD_SPIN_UNLOCK]) HAVE_PTHREAD_SPIN_DESTROY=1; AC_SUBST([HAVE_PTHREAD_SPIN_DESTROY]) REPLACE_PTHREAD_CREATE=0; AC_SUBST([REPLACE_PTHREAD_CREATE]) REPLACE_PTHREAD_ATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_ATTR_INIT]) REPLACE_PTHREAD_ATTR_GETDETACHSTATE=0; AC_SUBST([REPLACE_PTHREAD_ATTR_GETDETACHSTATE]) REPLACE_PTHREAD_ATTR_SETDETACHSTATE=0; AC_SUBST([REPLACE_PTHREAD_ATTR_SETDETACHSTATE]) REPLACE_PTHREAD_ATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_ATTR_DESTROY]) REPLACE_PTHREAD_SELF=0; AC_SUBST([REPLACE_PTHREAD_SELF]) REPLACE_PTHREAD_EQUAL=0; AC_SUBST([REPLACE_PTHREAD_EQUAL]) REPLACE_PTHREAD_DETACH=0; AC_SUBST([REPLACE_PTHREAD_DETACH]) REPLACE_PTHREAD_JOIN=0; AC_SUBST([REPLACE_PTHREAD_JOIN]) REPLACE_PTHREAD_EXIT=0; AC_SUBST([REPLACE_PTHREAD_EXIT]) REPLACE_PTHREAD_ONCE=0; AC_SUBST([REPLACE_PTHREAD_ONCE]) REPLACE_PTHREAD_MUTEX_INIT=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_INIT]) REPLACE_PTHREAD_MUTEXATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_INIT]) REPLACE_PTHREAD_MUTEXATTR_GETTYPE=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_GETTYPE]) REPLACE_PTHREAD_MUTEXATTR_SETTYPE=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_SETTYPE]) REPLACE_PTHREAD_MUTEXATTR_GETROBUST=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_GETROBUST]) REPLACE_PTHREAD_MUTEXATTR_SETROBUST=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_SETROBUST]) REPLACE_PTHREAD_MUTEXATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_MUTEXATTR_DESTROY]) REPLACE_PTHREAD_MUTEX_LOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_LOCK]) REPLACE_PTHREAD_MUTEX_TRYLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_TRYLOCK]) REPLACE_PTHREAD_MUTEX_TIMEDLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_TIMEDLOCK]) REPLACE_PTHREAD_MUTEX_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_UNLOCK]) REPLACE_PTHREAD_MUTEX_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_MUTEX_DESTROY]) REPLACE_PTHREAD_RWLOCK_INIT=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_INIT]) REPLACE_PTHREAD_RWLOCKATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_RWLOCKATTR_INIT]) REPLACE_PTHREAD_RWLOCKATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_RWLOCKATTR_DESTROY]) REPLACE_PTHREAD_RWLOCK_RDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_RDLOCK]) REPLACE_PTHREAD_RWLOCK_WRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_WRLOCK]) REPLACE_PTHREAD_RWLOCK_TRYRDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TRYRDLOCK]) REPLACE_PTHREAD_RWLOCK_TRYWRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TRYWRLOCK]) REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK]) REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK]) REPLACE_PTHREAD_RWLOCK_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_UNLOCK]) REPLACE_PTHREAD_RWLOCK_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_RWLOCK_DESTROY]) REPLACE_PTHREAD_COND_INIT=0; AC_SUBST([REPLACE_PTHREAD_COND_INIT]) REPLACE_PTHREAD_CONDATTR_INIT=0; AC_SUBST([REPLACE_PTHREAD_CONDATTR_INIT]) REPLACE_PTHREAD_CONDATTR_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_CONDATTR_DESTROY]) REPLACE_PTHREAD_COND_WAIT=0; AC_SUBST([REPLACE_PTHREAD_COND_WAIT]) REPLACE_PTHREAD_COND_TIMEDWAIT=0; AC_SUBST([REPLACE_PTHREAD_COND_TIMEDWAIT]) REPLACE_PTHREAD_COND_SIGNAL=0; AC_SUBST([REPLACE_PTHREAD_COND_SIGNAL]) REPLACE_PTHREAD_COND_BROADCAST=0; AC_SUBST([REPLACE_PTHREAD_COND_BROADCAST]) REPLACE_PTHREAD_COND_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_COND_DESTROY]) REPLACE_PTHREAD_KEY_CREATE=0; AC_SUBST([REPLACE_PTHREAD_KEY_CREATE]) REPLACE_PTHREAD_SETSPECIFIC=0; AC_SUBST([REPLACE_PTHREAD_SETSPECIFIC]) REPLACE_PTHREAD_GETSPECIFIC=0; AC_SUBST([REPLACE_PTHREAD_GETSPECIFIC]) REPLACE_PTHREAD_KEY_DELETE=0; AC_SUBST([REPLACE_PTHREAD_KEY_DELETE]) REPLACE_PTHREAD_SPIN_INIT=0; AC_SUBST([REPLACE_PTHREAD_SPIN_INIT]) REPLACE_PTHREAD_SPIN_LOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_LOCK]) REPLACE_PTHREAD_SPIN_TRYLOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_TRYLOCK]) REPLACE_PTHREAD_SPIN_UNLOCK=0; AC_SUBST([REPLACE_PTHREAD_SPIN_UNLOCK]) REPLACE_PTHREAD_SPIN_DESTROY=0; AC_SUBST([REPLACE_PTHREAD_SPIN_DESTROY]) ]) datamash-1.9/m4/pthread_rwlock_rdlock.m40000644000000000000000000001566714767401140013747 # pthread_rwlock_rdlock.m4 # serial 8 dnl Copyright (C) 2017-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Inspired by dnl https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-2.c dnl by Intel Corporation. dnl Test whether in a situation where dnl - an rwlock is taken by a reader and has a writer waiting, dnl - an additional reader requests the lock, dnl - the waiting writer and the requesting reader threads have the same dnl priority, dnl the requesting reader thread gets blocked, so that at some point the dnl waiting writer can acquire the lock. dnl Without such a guarantee, when there a N readers and each of the readers dnl spends more than 1/Nth of the time with the lock held, there is a high dnl probability that the waiting writer will not get the lock in a given finite dnl time, a phenomenon called "writer starvation". dnl Without such a guarantee, applications have a hard time avoiding writer dnl starvation. dnl dnl POSIX:2017 makes this requirement only for implementations that support TPS dnl (Thread Priority Scheduling) and only for the scheduling policies SCHED_FIFO dnl and SCHED_RR, see dnl https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html dnl but this test verifies the guarantee regardless of TPS and regardless of dnl scheduling policy. dnl Glibc does not provide this guarantee (and never will on Linux), see dnl https://sourceware.org/bugzilla/show_bug.cgi?id=13701 dnl https://bugzilla.redhat.com/show_bug.cgi?id=1410052 AC_DEFUN([gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER], [ AC_REQUIRE([gl_THREADLIB]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether pthread_rwlock_rdlock prefers a writer to a reader], [gl_cv_pthread_rwlock_rdlock_prefer_writer], [saved_LIBS="$LIBS" LIBS="$LIBS $LIBMULTITHREAD" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include #define SUCCEED() exit (0) #define FAILURE() exit (1) #define UNEXPECTED(n) (exit (10 + (n))) /* The main thread creates the waiting writer and the requesting reader threads in the default way; this guarantees that they have the same priority. We can reuse the main thread as first reader thread. */ static pthread_rwlock_t lock; static pthread_t reader1; static pthread_t writer; static pthread_t reader2; static pthread_t timer; /* Used to pass control from writer to reader2 and from reader2 to timer, as in a relay race. Passing control from one running thread to another running thread is most likely faster than to create the second thread. */ static pthread_mutex_t baton; static void * timer_func (void *ignored) { /* Step 13 (can be before or after step 12): The timer thread takes the baton, then waits a moment to make sure it can tell whether the second reader thread is blocked at step 12. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (13); usleep (100000); /* By the time we get here, it's clear that the second reader thread is blocked at step 12. This is the desired behaviour. */ SUCCEED (); } static void * reader2_func (void *ignored) { int err; /* Step 8 (can be before or after step 7): The second reader thread takes the baton, then waits a moment to make sure the writer thread has reached step 7. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (8); usleep (100000); /* Step 9: The second reader thread requests the lock. */ err = pthread_rwlock_tryrdlock (&lock); if (err == 0) FAILURE (); else if (err != EBUSY) UNEXPECTED (9); /* Step 10: Launch a timer, to test whether the next call blocks. */ if (pthread_create (&timer, NULL, timer_func, NULL)) UNEXPECTED (10); /* Step 11: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (11); /* Step 12: The second reader thread requests the lock. */ err = pthread_rwlock_rdlock (&lock); if (err == 0) FAILURE (); else UNEXPECTED (12); } static void * writer_func (void *ignored) { /* Step 4: Take the baton, so that the second reader thread does not go ahead too early. */ if (pthread_mutex_lock (&baton)) UNEXPECTED (4); /* Step 5: Create the second reader thread. */ if (pthread_create (&reader2, NULL, reader2_func, NULL)) UNEXPECTED (5); /* Step 6: Release the baton. */ if (pthread_mutex_unlock (&baton)) UNEXPECTED (6); /* Step 7: The writer thread requests the lock. */ if (pthread_rwlock_wrlock (&lock)) UNEXPECTED (7); return NULL; } int main () { reader1 = pthread_self (); /* Step 1: The main thread initializes the lock and the baton. */ if (pthread_rwlock_init (&lock, NULL)) UNEXPECTED (1); if (pthread_mutex_init (&baton, NULL)) UNEXPECTED (1); /* Step 2: The main thread acquires the lock as a reader. */ if (pthread_rwlock_rdlock (&lock)) UNEXPECTED (2); /* Step 3: Create the writer thread. */ if (pthread_create (&writer, NULL, writer_func, NULL)) UNEXPECTED (3); /* Job done. Go to sleep. */ for (;;) { sleep (1); } } ]])], [gl_cv_pthread_rwlock_rdlock_prefer_writer=yes], [gl_cv_pthread_rwlock_rdlock_prefer_writer=no], [case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; # Guess no on bionic systems. *-android*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; # Guess yes on native Windows with the mingw-w64 winpthreads library. # Guess no on native Windows with the gnulib windows-rwlock module. mingw* | windows*) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes" else gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" fi ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_pthread_rwlock_rdlock_prefer_writer="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in *yes) AC_DEFINE([HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER], [1], [Define if the 'pthread_rwlock_rdlock' function prefers a writer to a reader.]) ;; esac ]) datamash-1.9/m4/quotearg.m40000644000000000000000000000062314767401140011212 # quotearg.m4 # serial 10 dnl Copyright (C) 2002, 2004-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_QUOTEARG], [ AC_REQUIRE([AC_C_RESTRICT]) : ]) datamash-1.9/m4/random.m40000644000000000000000000000443614767401140010651 # random.m4 # serial 8 dnl Copyright (C) 2012-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_RANDOM], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl We can't use AC_CHECK_FUNC here, because random() is defined as a dnl static inline function when compiling for Android 4.4 or older. AC_CACHE_CHECK([for random], [gl_cv_func_random], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[return random() == 0;]]) ], [gl_cv_func_random=yes], [gl_cv_func_random=no]) ]) gl_CHECK_FUNCS_ANDROID([initstate], [[#include ]]) gl_CHECK_FUNCS_ANDROID([setstate], [[#include ]]) if test $gl_cv_func_random = no; then HAVE_RANDOM=0 HAVE_INITSTATE=0 HAVE_SETSTATE=0 else if test $ac_cv_func_initstate = no; then HAVE_INITSTATE=0 fi if test $ac_cv_func_setstate = no; then HAVE_SETSTATE=0 fi fi if test $HAVE_INITSTATE = 0; then case "$gl_cv_onwards_func_initstate" in future*) REPLACE_INITSTATE=1 ;; esac fi if test $HAVE_SETSTATE = 0; then case "$gl_cv_onwards_func_setstate" in future*) REPLACE_SETSTATE=1 ;; esac fi dnl On several platforms, random() is not multithread-safe. if test $ac_cv_func_initstate = no || test $ac_cv_func_setstate = no \ || case "$host_os" in \ darwin* | freebsd* | solaris* | cygwin* | haiku*) true ;; \ *) false ;; \ esac then dnl In order to define initstate or setstate, we need to define all the dnl functions at once. REPLACE_RANDOM=1 if test $ac_cv_func_initstate = yes; then REPLACE_INITSTATE=1 fi if test $ac_cv_func_setstate = yes; then REPLACE_SETSTATE=1 fi fi AC_CHECK_DECLS_ONCE([initstate]) if test $ac_cv_have_decl_initstate = no; then HAVE_DECL_INITSTATE=0 fi AC_CHECK_DECLS_ONCE([setstate]) if test $ac_cv_have_decl_setstate = no; then HAVE_DECL_SETSTATE=0 fi ]) # Prerequisites of lib/random.c. AC_DEFUN([gl_PREREQ_RANDOM], [ : ]) datamash-1.9/m4/random_r.m40000644000000000000000000000215614767401140011167 # random_r.m4 # serial 5 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_RANDOM_R], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_HEADERS([random.h], [], [], [AC_INCLUDES_DEFAULT]) if test $ac_cv_header_random_h = no; then HAVE_RANDOM_H=0 fi AC_CHECK_TYPES([struct random_data], [], [HAVE_STRUCT_RANDOM_DATA=0], [[#include #if HAVE_RANDOM_H # include #endif ]]) dnl On AIX and OSF/1, these functions exist, but with different declarations. dnl Override them all. case "$host_os" in aix* | osf*) REPLACE_RANDOM_R=1 ;; *) AC_CHECK_FUNCS([random_r]) if test $ac_cv_func_random_r = no; then HAVE_RANDOM_R=0 fi ;; esac ]) # Prerequisites of lib/random_r.c. AC_DEFUN([gl_PREREQ_RANDOM_R], [ : ]) datamash-1.9/m4/realloc.m40000644000000000000000000000667014767401140011014 # realloc.m4 # serial 39 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # An an experimental option, the user can request a sanitized realloc() # implementation, i.e. one that aborts upon undefined behaviour, # by setting # gl_cv_func_realloc_sanitize=yes # at configure time. AC_DEFUN([gl_FUNC_REALLOC_SANITIZED], [ AC_CACHE_CHECK([whether realloc should abort upon undefined behaviour], [gl_cv_func_realloc_sanitize], [test -n "$gl_cv_func_realloc_sanitize" || gl_cv_func_realloc_sanitize=no]) ]) # gl_FUNC_REALLOC_POSIX # --------------------- # Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it # fails, and doesn't mess up with ptrdiff_t overflow), # and replace realloc if it is not. AC_DEFUN([gl_FUNC_REALLOC_POSIX], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) AC_REQUIRE([gl_FUNC_REALLOC_SANITIZED]) if test "$gl_cv_func_realloc_sanitize" != no; then REPLACE_REALLOC_FOR_REALLOC_POSIX=1 AC_DEFINE([NEED_SANITIZED_REALLOC], [1], [Define to 1 if realloc should abort upon undefined behaviour.]) else REPLACE_REALLOC_FOR_REALLOC_POSIX=$REPLACE_MALLOC_FOR_MALLOC_POSIX fi ]) # gl_FUNC_REALLOC_0_NONNULL # ------------------------- # Replace realloc if realloc (..., 0) returns null. # Modules that use this macro directly or indirectly should depend # on extensions-aix, so that _LINUX_SOURCE_COMPAT gets defined # before this macro gets invoked. This helps if !(__VEC__ || __AIXVEC), # and doesn't hurt otherwise. AC_DEFUN([gl_FUNC_REALLOC_0_NONNULL], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles AC_REQUIRE([gl_FUNC_REALLOC_POSIX]) AC_CACHE_CHECK([whether realloc (..., 0) returns nonnull], [gl_cv_func_realloc_0_nonnull], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include /* Use prealloc to test; "volatile" prevents the compiler from optimizing the realloc call away. */ void *(*volatile prealloc) (void *, size_t) = realloc;]], [[void *p = prealloc (0, 0); int result = !p; p = prealloc (p, 0); result |= !p; free (p); return result;]])], [gl_cv_func_realloc_0_nonnull=yes], [gl_cv_func_realloc_0_nonnull=no], [AS_CASE([$host_os], [# Guess yes on platforms where we know the result. freebsd* | netbsd* | openbsd* | darwin* | bitrig* \ | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin*], [gl_cv_func_realloc_0_nonnull="guessing yes"], [# Guess as follows if we don't know. gl_cv_func_realloc_0_nonnull=$gl_cross_guess_normal])])]) AS_CASE([$gl_cv_func_realloc_0_nonnull], [*yes], [AC_DEFINE([HAVE_REALLOC_0_NONNULL], [1], [Define to 1 if realloc (..., 0) returns nonnull.])], [AS_CASE([$gl_cv_func_realloc_sanitize,$gl_cv_malloc_ptrdiff,$gl_cv_func_malloc_posix,$host], [yes,*,*,* | *,no,*,* | *,*,*no,* | *,*,*,aarch64c-*-freebsd*], [REPLACE_REALLOC_FOR_REALLOC_POSIX=1], [# Optimize for common case of glibc 2.1.1+ and compatibles. REPLACE_REALLOC_FOR_REALLOC_POSIX=2])]) ]) datamash-1.9/m4/reallocarray.m40000644000000000000000000000212214767401140012037 # reallocarray.m4 # serial 7 dnl Copyright (C) 2017-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_REALLOCARRAY], [ dnl Persuade glibc to declare reallocarray. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_MALLOC_PTRDIFF]) AC_REQUIRE([gl_FUNC_REALLOC_0_NONNULL]) gl_CHECK_FUNCS_ANDROID([reallocarray], [[#include ]]) if test "$ac_cv_func_reallocarray" = no; then HAVE_REALLOCARRAY=0 case "$gl_cv_onwards_func_reallocarray" in future*) REPLACE_REALLOCARRAY=1 ;; esac else if test "$gl_cv_malloc_ptrdiff" = no; then REPLACE_REALLOCARRAY=1 fi case "$gl_cv_func_realloc_0_nonnull" in *yes) ;; *) REPLACE_REALLOCARRAY=1 ;; esac fi ]) # Prerequisites of lib/reallocarray.c. AC_DEFUN([gl_PREREQ_REALLOCARRAY], [:]) datamash-1.9/m4/round.m40000644000000000000000000001310114767401140010505 # round.m4 # serial 28 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ROUND], [ m4_divert_text([DEFAULTS], [gl_round_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Persuade glibc to declare round(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) gl_CHECK_MATH_LIB([ROUND_LIBM], [double], [x = round (x);], [extern #ifdef __cplusplus "C" #endif double round (double); ]) if test "$ROUND_LIBM" != missing; then HAVE_ROUND=1 dnl Also check whether it's declared. dnl IRIX 6.5 has round() in libm but doesn't declare it in . AC_CHECK_DECLS([round], , [HAVE_DECL_ROUND=0], [[#include ]]) dnl Test whether round() produces correct results. On NetBSD 3.0, for dnl x = 1/2 - 2^-54, the system's round() returns a wrong result. AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether round works], [gl_cv_func_round_works], [ saved_LIBS="$LIBS" LIBS="$LIBS $ROUND_LIBM" AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include extern #ifdef __cplusplus "C" #endif double round (double); #if defined _MSC_VER && !defined __clang__ # pragma fenv_access (off) #endif int main() { /* 2^DBL_MANT_DIG. */ static const double TWO_MANT_DIG = /* Assume DBL_MANT_DIG <= 5 * 31. Use the identity n = floor(n/5) + floor((n+1)/5) + ... + floor((n+4)/5). */ (double) (1U << (DBL_MANT_DIG / 5)) * (double) (1U << ((DBL_MANT_DIG + 1) / 5)) * (double) (1U << ((DBL_MANT_DIG + 2) / 5)) * (double) (1U << ((DBL_MANT_DIG + 3) / 5)) * (double) (1U << ((DBL_MANT_DIG + 4) / 5)); volatile double x = 0.5 - 0.5 / TWO_MANT_DIG; return (x < 0.5 && round (x) != 0.0); }]])], [gl_cv_func_round_works=yes], [gl_cv_func_round_works=no], [case "$host_os" in netbsd* | aix*) gl_cv_func_round_works="guessing no" ;; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_round_works="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_round_works="guessing yes"], [gl_cv_func_round_works="guessing no"]) ;; *) gl_cv_func_round_works="guessing yes" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_round_works" in *no) REPLACE_ROUND=1 ;; esac m4_ifdef([gl_FUNC_ROUND_IEEE], [ if test $gl_round_required = ieee && test $REPLACE_ROUND = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether round works according to ISO C 99 with IEC 60559], [gl_cv_func_round_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $ROUND_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include extern #ifdef __cplusplus "C" #endif double round (double); ]gl_DOUBLE_MINUS_ZERO_CODE[ ]gl_DOUBLE_SIGNBIT_CODE[ static double dummy (double f) { return 0; } int main (int argc, char *argv[]) { double (* volatile my_round) (double) = argc ? round : dummy; /* Test whether round (-0.0) is -0.0. */ if (signbitd (minus_zerod) && !signbitd (my_round (minus_zerod))) return 1; return 0; } ]])], [gl_cv_func_round_ieee=yes], [gl_cv_func_round_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_round_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_round_ieee="guessing yes" ;; # Guess yes on MSVC, no on mingw. windows*-msvc*) gl_cv_func_round_ieee="guessing yes" ;; mingw* | windows*) AC_EGREP_CPP([Known], [ #ifdef _MSC_VER Known #endif ], [gl_cv_func_round_ieee="guessing yes"], [gl_cv_func_round_ieee="guessing no"]) ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_round_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_round_ieee" in *yes) ;; *) REPLACE_ROUND=1 ;; esac fi ]) else HAVE_ROUND=0 HAVE_DECL_ROUND=0 fi if test $HAVE_ROUND = 0 || test $REPLACE_ROUND = 1; then dnl Find libraries needed to link lib/round.c. gl_FUNC_FLOOR_LIBS gl_FUNC_CEIL_LIBS ROUND_LIBM= dnl Append $FLOOR_LIBM to ROUND_LIBM, avoiding gratuitous duplicates. case " $ROUND_LIBM " in *" $FLOOR_LIBM "*) ;; *) ROUND_LIBM="$ROUND_LIBM $FLOOR_LIBM" ;; esac dnl Append $CEIL_LIBM to ROUND_LIBM, avoiding gratuitous duplicates. case " $ROUND_LIBM " in *" $CEIL_LIBM "*) ;; *) ROUND_LIBM="$ROUND_LIBM $CEIL_LIBM" ;; esac fi AC_SUBST([ROUND_LIBM]) ]) datamash-1.9/m4/roundl.m40000644000000000000000000001047614767401140010675 # roundl.m4 # serial 24 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_ROUNDL], [ m4_divert_text([DEFAULTS], [gl_roundl_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare roundl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) gl_CHECK_MATH_LIB([ROUNDL_LIBM], [long double], [x = roundl (x);], [extern #ifdef __cplusplus "C" #endif long double roundl (long double); ]) if test "$ROUNDL_LIBM" != missing; then HAVE_ROUNDL=1 dnl Also check whether it's declared. dnl IRIX 6.5 has roundl() in libm but doesn't declare it in . AC_CHECK_DECLS([roundl], , [HAVE_DECL_ROUNDL=0], [[#include ]]) m4_ifdef([gl_FUNC_ROUNDL_IEEE], [ if test $gl_roundl_required = ieee && test $REPLACE_ROUNDL = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether roundl works according to ISO C 99 with IEC 60559], [gl_cv_func_roundl_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $ROUNDL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include extern #ifdef __cplusplus "C" #endif long double roundl (long double); ]gl_LONG_DOUBLE_MINUS_ZERO_CODE[ ]gl_LONG_DOUBLE_SIGNBIT_CODE[ static long double dummy (long double f) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_roundl) (long double) = argc ? roundl : dummy; int result = 0; /* Test whether roundl (-0.0L) is -0.0L. */ if (signbitl (minus_zerol) && !signbitl (my_roundl (minus_zerol))) result |= 1; /* Test whether roundl (-0.3L) is -0.0L. */ if (signbitl (-0.3L) && !signbitl (my_roundl (-0.3L))) result |= 2; return result; } ]])], [gl_cv_func_roundl_ieee=yes], [gl_cv_func_roundl_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_roundl_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_roundl_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_roundl_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_roundl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_roundl_ieee" in *yes) ;; *) REPLACE_ROUNDL=1 ;; esac fi ]) else HAVE_ROUNDL=0 HAVE_DECL_ROUNDL=0 fi if test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then dnl Find libraries needed to link lib/roundl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_ROUND]) ROUNDL_LIBM="$ROUND_LIBM" else AC_CHECK_DECLS([ceill, floorl], , , [[#include ]]) if test "$ac_cv_have_decl_floorl" = yes \ && test "$ac_cv_have_decl_ceill" = yes; then gl_FUNC_FLOORL_LIBS gl_FUNC_CEILL_LIBS if test "$FLOORL_LIBM" != '?' && test "$CEILL_LIBM" != '?'; then AC_DEFINE([HAVE_FLOORL_AND_CEILL], [1], [Define if the both the floorl() and ceill() functions exist.]) ROUNDL_LIBM= dnl Append $FLOORL_LIBM to ROUNDL_LIBM, avoiding gratuitous duplicates. case " $ROUNDL_LIBM " in *" $FLOORL_LIBM "*) ;; *) ROUNDL_LIBM="$ROUNDL_LIBM $FLOORL_LIBM" ;; esac dnl Append $CEILL_LIBM to ROUNDL_LIBM, avoiding gratuitous duplicates. case " $ROUNDL_LIBM " in *" $CEILL_LIBM "*) ;; *) ROUNDL_LIBM="$ROUNDL_LIBM $CEILL_LIBM" ;; esac else ROUNDL_LIBM= fi else ROUNDL_LIBM= fi fi fi AC_SUBST([ROUNDL_LIBM]) ]) datamash-1.9/m4/sched_h.m40000644000000000000000000000624514767401140010766 # sched_h.m4 # serial 16 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Bruno Haible. AC_DEFUN_ONCE([gl_SCHED_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_SCHED_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_CHECK_HEADER_SYS_CDEFS_H]) AC_CHECK_HEADERS([sched.h], [], [], [[#if HAVE_SYS_CDEFS_H #include #endif ]]) gl_NEXT_HEADERS([sched.h]) if test "$ac_cv_header_sched_h" = yes; then HAVE_SCHED_H=1 else HAVE_SCHED_H=0 fi AC_SUBST([HAVE_SCHED_H]) if test "$HAVE_SCHED_H" = 1; then AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [HAVE_STRUCT_SCHED_PARAM=0], [[#if HAVE_SYS_CDEFS_H #include #endif #include ]]) else HAVE_STRUCT_SCHED_PARAM=0 case "$host_os" in os2*) dnl On OS/2 kLIBC, struct sched_param is in spawn.h. AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [], [#include ]) ;; vms) dnl On OpenVMS 7.2 or newer, struct sched_param is in pthread.h. AC_CHECK_TYPE([struct sched_param], [HAVE_STRUCT_SCHED_PARAM=1], [], [#include ]) ;; esac fi AC_SUBST([HAVE_STRUCT_SCHED_PARAM]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, if it is not common dnl enough to be declared everywhere. gl_WARN_ON_USE_PREPARE([[#include ]], [sched_yield]) ]) # gl_SCHED_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_SCHED_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_SCHED_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SCHED_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SCHED_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SCHED_YIELD]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SCHED_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SCHED_H_DEFAULTS]) ]) AC_DEFUN([gl_SCHED_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_SCHED_YIELD=1; AC_SUBST([HAVE_SCHED_YIELD]) REPLACE_SCHED_YIELD=0; AC_SUBST([REPLACE_SCHED_YIELD]) ]) datamash-1.9/m4/setlocale.m40000644000000000000000000000463314771573666011365 # setlocale.m4 # serial 11 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_SETLOCALE], [ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl Test whether we need to improve on the general working of setlocale. NEED_SETLOCALE_IMPROVED=0 case "$host_os" in dnl On native Windows systems, setlocale(category,NULL) does not look at dnl the environment variables LC_ALL, category, and LANG. mingw* | windows*) NEED_SETLOCALE_IMPROVED=1 ;; dnl On Android, setlocale(category,name) treats all categories as equivalent dnl to LC_CTYPE. And on Android 4.3, setlocale(category,"C") always fails. *-android*) NEED_SETLOCALE_IMPROVED=1 ;; dnl On Cygwin 1.5.x, setlocale always succeeds but setlocale(LC_CTYPE,NULL) dnl is then still "C". cygwin*) case `uname -r` in 1.5.*) NEED_SETLOCALE_IMPROVED=1 ;; esac ;; esac AC_DEFINE_UNQUOTED([NEED_SETLOCALE_IMPROVED], [$NEED_SETLOCALE_IMPROVED], [Define to 1 to enable general improvements of setlocale.]) dnl Test whether we need a multithread-safe setlocale(category,NULL). NEED_SETLOCALE_MTSAFE=0 if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then NEED_SETLOCALE_MTSAFE=1 fi AC_DEFINE_UNQUOTED([NEED_SETLOCALE_MTSAFE], [$NEED_SETLOCALE_MTSAFE], [Define to 1 to enable a multithread-safety fix of setlocale.]) if test $NEED_SETLOCALE_IMPROVED = 1 || test $NEED_SETLOCALE_MTSAFE = 1; then REPLACE_SETLOCALE=1 fi if test $NEED_SETLOCALE_MTSAFE = 1; then SETLOCALE_LIB="$SETLOCALE_NULL_LIB" else SETLOCALE_LIB= fi dnl SETLOCALE_LIB is expected to be '-pthread' or '-lpthread' on AIX with gcc dnl or xlc, and empty otherwise. AC_SUBST([SETLOCALE_LIB]) dnl For backward compatibility. LIB_SETLOCALE="$SETLOCALE_LIB" AC_SUBST([LIB_SETLOCALE]) ]) # Prerequisites of lib/setlocale.c. AC_DEFUN([gl_PREREQ_SETLOCALE], [ dnl No need to check for CFLocaleCopyPreferredLanguages and dnl CFPreferencesCopyAppValue because lib/setlocale.c is not used on Mac OS X. dnl (The Mac OS X specific code is only used in libintl.) : ]) datamash-1.9/m4/setlocale_null.m40000644000000000000000000001042114767402206012371 # setlocale_null.m4 # serial 10 dnl Copyright (C) 2019-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_FUNC_SETLOCALE_NULL], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PTHREADLIB]) AC_CHECK_HEADERS_ONCE([threads.h]) AC_CACHE_CHECK([whether setlocale (LC_ALL, NULL) is multithread-safe], [gl_cv_func_setlocale_null_all_mtsafe], [case "$host_os" in # Guess no on musl libc, macOS, FreeBSD, NetBSD, OpenBSD, AIX, Haiku. *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | aix* | haiku*) gl_cv_func_setlocale_null_all_mtsafe=no ;; # Guess no on Cygwin < 3.4.6. cygwin*) AC_EGREP_CPP([Lucky user], [ #if defined __CYGWIN__ #include #if CYGWIN_VERSION_DLL_COMBINED >= CYGWIN_VERSION_DLL_MAKE_COMBINED (3004, 6) Lucky user #endif #endif ], [gl_cv_func_setlocale_null_all_mtsafe=yes], [gl_cv_func_setlocale_null_all_mtsafe=no]) ;; # Guess yes on glibc, HP-UX, IRIX, Solaris, native Windows. *-gnu* | gnu* | hpux* | irix* | solaris* | mingw* | windows*) gl_cv_func_setlocale_null_all_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_setlocale_null_all_mtsafe="$gl_cross_guess_normal" ;; esac ]) dnl On platforms without multithreading, there is no issue. case "$host_os" in mingw* | windows*) ;; *) if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then gl_cv_func_setlocale_null_all_mtsafe="trivially yes" fi ;; esac case "$gl_cv_func_setlocale_null_all_mtsafe" in *yes) SETLOCALE_NULL_ALL_MTSAFE=1 ;; *) SETLOCALE_NULL_ALL_MTSAFE=0 ;; esac AC_DEFINE_UNQUOTED([SETLOCALE_NULL_ALL_MTSAFE], [$SETLOCALE_NULL_ALL_MTSAFE], [Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe.]) dnl This is about a single category (not LC_ALL). AC_CACHE_CHECK([whether setlocale (category, NULL) is multithread-safe], [gl_cv_func_setlocale_null_one_mtsafe], [case "$host_os" in # Guess no on OpenBSD, AIX. openbsd* | aix*) gl_cv_func_setlocale_null_one_mtsafe=no ;; # Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, HP-UX, IRIX, Solaris, Haiku, Cygwin, native Windows. *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw* | windows*) gl_cv_func_setlocale_null_one_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_setlocale_null_one_mtsafe="$gl_cross_guess_normal" ;; esac ]) dnl On platforms without multithreading, there is no issue. case "$host_os" in mingw* | windows*) ;; *) if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then gl_cv_func_setlocale_null_one_mtsafe="trivially yes" fi ;; esac case "$gl_cv_func_setlocale_null_one_mtsafe" in *yes) SETLOCALE_NULL_ONE_MTSAFE=1 ;; *) SETLOCALE_NULL_ONE_MTSAFE=0 ;; esac AC_DEFINE_UNQUOTED([SETLOCALE_NULL_ONE_MTSAFE], [$SETLOCALE_NULL_ONE_MTSAFE], [Define to 1 if setlocale (category, NULL) is multithread-safe.]) dnl Determine link dependencies of lib/setlocale_null.c and lib/setlocale-lock.c. if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then case "$host_os" in mingw* | windows*) SETLOCALE_NULL_LIB= ;; *) gl_WEAK_SYMBOLS case "$gl_cv_have_weak" in *yes) SETLOCALE_NULL_LIB= ;; *) SETLOCALE_NULL_LIB="$LIBPTHREAD" ;; esac ;; esac else SETLOCALE_NULL_LIB= fi dnl SETLOCALE_NULL_LIB is expected to be '-pthread' or '-lpthread' on AIX dnl with gcc or xlc, and empty otherwise. AC_SUBST([SETLOCALE_NULL_LIB]) dnl For backward compatibility. LIB_SETLOCALE_NULL="$SETLOCALE_NULL_LIB" AC_SUBST([LIB_SETLOCALE_NULL]) ]) # Prerequisites of lib/setlocale-lock.c. AC_DEFUN([gl_PREREQ_SETLOCALE_LOCK], [ gl_VISIBILITY ]) datamash-1.9/m4/sha1.m40000644000000000000000000000077214767401140010224 # sha1.m4 # serial 12 dnl Copyright (C) 2002-2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_SHA1], [ dnl Prerequisites of lib/sha1.c. AC_REQUIRE([gl_BIGENDIAN]) dnl Determine HAVE_OPENSSL_SHA1 and LIB_CRYPTO gl_CRYPTO_CHECK([SHA1]) ]) datamash-1.9/m4/sha256.m40000644000000000000000000000077614767401140010404 # sha256.m4 # serial 8 dnl Copyright (C) 2005, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_SHA256], [ dnl Prerequisites of lib/sha256.c. AC_REQUIRE([gl_BIGENDIAN]) dnl Determine HAVE_OPENSSL_SHA256 and LIB_CRYPTO gl_CRYPTO_CHECK([SHA256]) ]) datamash-1.9/m4/sha512.m40000644000000000000000000000100314767401140010357 # sha512.m4 # serial 9 dnl Copyright (C) 2005-2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_SHA512], [ dnl Prerequisites of lib/sha512.c. AC_REQUIRE([gl_BIGENDIAN]) dnl Determine HAVE_OPENSSL_SHA512 and LIB_CRYPTO gl_CRYPTO_CHECK([SHA512]) ]) datamash-1.9/m4/signbit.m40000644000000000000000000003132014767401140011020 # signbit.m4 # serial 22 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_SIGNBIT], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([for signbit macro], [gl_cv_func_signbit], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include /* If signbit is defined as a function, don't use it, since calling it for 'float' or 'long double' arguments would involve conversions. If signbit is not declared at all but exists as a library function, don't use it, since the prototype may not match. If signbit is not declared at all but exists as a compiler built-in, don't use it, since it's preferable to use __builtin_signbit* (no warnings, no conversions). */ #ifndef signbit # error "signbit should be a macro" #endif #include ]gl_SIGNBIT_TEST_PROGRAM ])], [gl_cv_func_signbit=yes], [gl_cv_func_signbit=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_signbit="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_signbit="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_signbit="$gl_cross_guess_normal" ;; esac ]) ]) dnl GCC >= 4.0 and clang provide three built-ins for signbit. dnl They can be used without warnings, also in C++, regardless of . dnl But they may expand to calls to functions, which may or may not be in dnl libc. AC_CACHE_CHECK([for signbit compiler built-ins], [gl_cv_func_signbit_builtins], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #if (__GNUC__ >= 4) || (__clang_major__ >= 4) # define signbit(x) \ (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \ sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \ __builtin_signbitf (x)) #else # error "signbit should be three compiler built-ins" #endif #include ]gl_SIGNBIT_TEST_PROGRAM ])], [gl_cv_func_signbit_builtins=yes], [gl_cv_func_signbit_builtins=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_signbit_builtins="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_signbit_builtins="guessing yes" ;; # Guess yes on mingw, no on MSVC. mingw* | windows*) if test -n "$GCC"; then gl_cv_func_signbit_builtins="guessing yes" else gl_cv_func_signbit_builtins="guessing no" fi ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_signbit_builtins="$gl_cross_guess_normal" ;; esac ]) ]) dnl Use the compiler built-ins whenever possible, because they are more dnl efficient than the system library functions (if they exist). case "$gl_cv_func_signbit_builtins" in *yes) REPLACE_SIGNBIT_USING_BUILTINS=1 ;; *) case "$gl_cv_func_signbit" in *yes) ;; *) dnl REPLACE_SIGNBIT=1 makes sure the signbit[fdl] functions get built. REPLACE_SIGNBIT=1 ;; esac ;; esac dnl On Solaris 10, with CC in C++ mode, signbit is not available although dnl is with cc in C mode. This cannot be worked around by defining dnl _XOPEN_SOURCE=600, because the latter does not work in C++ mode on dnl Solaris 11.0. Therefore use the replacement functions on Solaris. case "$host_os" in solaris*) REPLACE_SIGNBIT=1 ;; esac if test $REPLACE_SIGNBIT = 1; then gl_FLOAT_SIGN_LOCATION gl_DOUBLE_SIGN_LOCATION gl_LONG_DOUBLE_SIGN_LOCATION if test "$gl_cv_cc_float_signbit" = unknown; then dnl Test whether copysignf() is declared. AC_CHECK_DECLS([copysignf], , , [[#include ]]) if test "$ac_cv_have_decl_copysignf" = yes; then dnl Test whether copysignf() can be used without libm. AC_CACHE_CHECK([whether copysignf can be used without linking with libm], [gl_cv_func_copysignf_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include float x, y;]], [[return copysignf (x, y) < 0;]])], [gl_cv_func_copysignf_no_libm=yes], [gl_cv_func_copysignf_no_libm=no]) ]) if test $gl_cv_func_copysignf_no_libm = yes; then AC_DEFINE([HAVE_COPYSIGNF_IN_LIBC], [1], [Define if the copysignf function is declared in and available in libc.]) fi fi fi if test "$gl_cv_cc_double_signbit" = unknown; then dnl Test whether copysign() is declared. AC_CHECK_DECLS([copysign], , , [[#include ]]) if test "$ac_cv_have_decl_copysign" = yes; then dnl Test whether copysign() can be used without libm. AC_CACHE_CHECK([whether copysign can be used without linking with libm], [gl_cv_func_copysign_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include double x, y;]], [[return copysign (x, y) < 0;]])], [gl_cv_func_copysign_no_libm=yes], [gl_cv_func_copysign_no_libm=no]) ]) if test $gl_cv_func_copysign_no_libm = yes; then AC_DEFINE([HAVE_COPYSIGN_IN_LIBC], [1], [Define if the copysign function is declared in and available in libc.]) fi fi fi if test "$gl_cv_cc_long_double_signbit" = unknown; then dnl Test whether copysignl() is declared. AC_CHECK_DECLS([copysignl], , , [[#include ]]) if test "$ac_cv_have_decl_copysignl" = yes; then dnl Test whether copysignl() can be used without libm. AC_CACHE_CHECK([whether copysignl can be used without linking with libm], [gl_cv_func_copysignl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include long double x, y;]], [[return copysignl (x, y) < 0;]])], [gl_cv_func_copysignl_no_libm=yes], [gl_cv_func_copysignl_no_libm=no]) ]) if test $gl_cv_func_copysignl_no_libm = yes; then AC_DEFINE([HAVE_COPYSIGNL_IN_LIBC], [1], [Define if the copysignl function is declared in and available in libc.]) fi fi fi fi ]) AC_DEFUN([gl_SIGNBIT_TEST_PROGRAM], [[ /* Global variables. Needed because GCC 4 constant-folds __builtin_signbitl (literal) but cannot constant-fold __builtin_signbitl (variable). */ float vf; double vd; long double vl; int main () { /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. So we use -p0f and -p0d instead. */ float p0f = 0.0f; float m0f = -p0f; double p0d = 0.0; double m0d = -p0d; /* On HP-UX 10.20, negating 0.0L does not yield -0.0L. So we use another constant expression instead. But that expression does not work on other platforms, such as when cross-compiling to PowerPC on Mac OS X 10.5. */ long double p0l = 0.0L; #if defined __hpux || defined __sgi long double m0l = -LDBL_MIN * LDBL_MIN; #else long double m0l = -p0l; #endif int result = 0; if (signbit (vf)) /* link check */ vf++; { float plus_inf = 1.0f / p0f; float minus_inf = -1.0f / p0f; if (!(!signbit (255.0f) && signbit (-255.0f) && !signbit (p0f) && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f)) && !signbit (plus_inf) && signbit (minus_inf))) result |= 1; } if (signbit (vd)) /* link check */ vd++; { double plus_inf = 1.0 / p0d; double minus_inf = -1.0 / p0d; if (!(!signbit (255.0) && signbit (-255.0) && !signbit (p0d) && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d)) && !signbit (plus_inf) && signbit (minus_inf))) result |= 2; } if (signbit (vl)) /* link check */ vl++; { long double plus_inf = 1.0L / p0l; long double minus_inf = -1.0L / p0l; if (signbit (255.0L)) result |= 4; if (!signbit (-255.0L)) result |= 4; if (signbit (p0l)) result |= 8; if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l))) result |= 16; if (signbit (plus_inf)) result |= 32; if (!signbit (minus_inf)) result |= 64; } return result; } ]]) AC_DEFUN([gl_FLOAT_SIGN_LOCATION], [ gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT]) ]) AC_DEFUN([gl_DOUBLE_SIGN_LOCATION], [ gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL]) ]) AC_DEFUN([gl_LONG_DOUBLE_SIGN_LOCATION], [ gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL]) ]) AC_DEFUN([gl_FLOATTYPE_SIGN_LOCATION], [ AC_CACHE_CHECK([where to find the sign bit in a '$1'], [$2], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #define NWORDS \ ((sizeof ($1) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { $1 value; unsigned int word[NWORDS]; } memory_float; static memory_float plus = { 1.0$3 }; static memory_float minus = { -1.0$3 }; int main () { size_t j, k, i; unsigned int m; FILE *fp = fopen ("conftest.out", "w"); if (fp == NULL) return 1; /* Find the different bit. */ k = 0; m = 0; for (j = 0; j < NWORDS; j++) { unsigned int x = plus.word[j] ^ minus.word[j]; if ((x & (x - 1)) || (x && m)) { /* More than one bit difference. */ fprintf (fp, "unknown"); fclose (fp); return 2; } if (x) { k = j; m = x; } } if (m == 0) { /* No difference. */ fprintf (fp, "unknown"); fclose (fp); return 3; } /* Now m = plus.word[k] ^ ~minus.word[k]. */ if (plus.word[k] & ~minus.word[k]) { /* Oh? The sign bit is set in the positive and cleared in the negative numbers? */ fprintf (fp, "unknown"); fclose (fp); return 4; } for (i = 0; ; i++) if ((m >> i) & 1) break; fprintf (fp, "word %d bit %d", (int) k, (int) i); if (fclose (fp) != 0) return 5; return 0; } ]])], [$2=`cat conftest.out`], [$2="unknown"], [ dnl When cross-compiling, we don't know. It depends on the dnl ABI and compiler version. There are too many cases. $2="unknown" ]) rm -f conftest.out ]) case "$]$2[" in word*bit*) word=`echo "$]$2[" | sed -e 's/word //' -e 's/ bit.*//'` bit=`echo "$]$2[" | sed -e 's/word.*bit //'` AC_DEFINE_UNQUOTED([$4][_SIGNBIT_WORD], [$word], [Define as the word index where to find the sign of '$1'.]) AC_DEFINE_UNQUOTED([$4][_SIGNBIT_BIT], [$bit], [Define as the bit index in the word where to find the sign of '$1'.]) ;; esac ]) # Expands to code that defines a function signbitf(float). # It extracts the sign bit of a non-NaN value. AC_DEFUN([gl_FLOAT_SIGNBIT_CODE], [ gl_FLOATTYPE_SIGNBIT_CODE([float], [f], [f]) ]) # Expands to code that defines a function signbitd(double). # It extracts the sign bit of a non-NaN value. AC_DEFUN([gl_DOUBLE_SIGNBIT_CODE], [ gl_FLOATTYPE_SIGNBIT_CODE([double], [d], []) ]) # Expands to code that defines a function signbitl(long double). # It extracts the sign bit of a non-NaN value. AC_DEFUN([gl_LONG_DOUBLE_SIGNBIT_CODE], [ gl_FLOATTYPE_SIGNBIT_CODE([long double], [l], [L]) ]) AC_DEFUN([gl_FLOATTYPE_SIGNBIT_CODE], [[ static int signbit$2 ($1 value) { typedef union { $1 f; unsigned char b[sizeof ($1)]; } float_union; static float_union plus_one = { 1.0$3 }; /* unused bits are zero here */ static float_union minus_one = { -1.0$3 }; /* unused bits are zero here */ /* Compute the sign bit mask as the XOR of plus_one and minus_one. */ float_union u; unsigned int i; u.f = value; for (i = 0; i < sizeof ($1); i++) if (u.b[i] & (plus_one.b[i] ^ minus_one.b[i])) return 1; return 0; } ]]) datamash-1.9/m4/size_max.m40000644000000000000000000000556614771573666011237 # size_max.m4 # serial 12 dnl Copyright (C) 2003, 2005-2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. AC_PREREQ([2.61]) AC_DEFUN([gl_SIZE_MAX], [ AC_CHECK_HEADERS([stdint.h]) dnl First test whether the system already has SIZE_MAX. AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ gl_cv_size_max=no AC_EGREP_CPP([Found it], [ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif ], [gl_cv_size_max=yes]) if test $gl_cv_size_max != yes; then dnl Define it ourselves. Here we assume that the type 'size_t' is not wider dnl than the type 'unsigned long'. Try hard to find a definition that can dnl be used in a preprocessor #if, i.e. doesn't contain a cast. AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include #include ], [size_t_bits_minus_1=]) AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], [fits_in_uint=]) if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then dnl Even though SIZE_MAX fits in an unsigned int, it must be of type dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include extern size_t foo; extern unsigned long foo; ]], [[]])], [fits_in_uint=0]) fi dnl We cannot use 'expr' to simplify this expression, because 'expr' dnl works only with 'long' integers in the host environment, while we dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else dnl Shouldn't happen, but who knows... gl_cv_size_max='((size_t)~(size_t)0)' fi fi ]) if test "$gl_cv_size_max" != yes; then AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], [Define as the maximum value of type 'size_t', if the system doesn't define it.]) fi dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after dnl . Remember that the #undef in AH_VERBATIM gets replaced with dnl #define by AC_DEFINE_UNQUOTED. AH_VERBATIM([SIZE_MAX], [/* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #ifndef SIZE_MAX # undef SIZE_MAX #endif]) ]) datamash-1.9/m4/snprintf.m40000644000000000000000000000365714767401140011240 # snprintf.m4 # serial 7 dnl Copyright (C) 2002-2004, 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Libintl 0.17 will replace snprintf only if it does not support %1$s, dnl but defers to any gnulib snprintf replacements. Therefore, gnulib dnl must guarantee that the decision for replacing snprintf is a superset dnl of the reasons checked by libintl. AC_DEFUN([gl_FUNC_SNPRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_cv_func_snprintf_usable=no AC_CHECK_FUNCS([snprintf]) if test $ac_cv_func_snprintf = yes; then gl_SNPRINTF_SIZE1 case "$gl_cv_func_snprintf_size1" in *yes) gl_SNPRINTF_RETVAL_C99 case "$gl_cv_func_snprintf_retval_c99" in *yes) gl_PRINTF_POSITIONS case "$gl_cv_func_printf_positions" in *yes) gl_cv_func_snprintf_usable=yes ;; esac ;; esac ;; esac fi if test $gl_cv_func_snprintf_usable = no; then gl_REPLACE_SNPRINTF fi AC_CHECK_DECLS_ONCE([snprintf]) if test $ac_cv_have_decl_snprintf = no; then HAVE_DECL_SNPRINTF=0 fi ]) AC_DEFUN([gl_REPLACE_SNPRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_LIBOBJ([snprintf]) if test $ac_cv_func_snprintf = yes; then REPLACE_SNPRINTF=1 else AC_CHECK_DECLS_ONCE([snprintf]) if test $ac_cv_have_decl_snprintf = yes; then dnl If the function is declared but does not appear to exist, it may be dnl defined as an inline function. In order to avoid a conflict, we have dnl to define rpl_snprintf, not snprintf. REPLACE_SNPRINTF=1 fi fi gl_PREREQ_SNPRINTF ]) # Prerequisites of lib/snprintf.c. AC_DEFUN([gl_PREREQ_SNPRINTF], [:]) datamash-1.9/m4/socklen.m40000644000000000000000000000624714767401140011031 # socklen.m4 # serial 11 dnl Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Albert Chin, Windows fixes from Simon Josefsson. dnl Check for socklen_t: historically on BSD it is an int, and in dnl POSIX 1g it is a type of its own, but some platforms use different dnl types for the argument to getsockopt, getpeername, etc.: dnl HP-UX 10.20, IRIX 6.5, OSF/1 4.0, Interix 3.5, BeOS. dnl So we have to test to find something that will work. AC_DEFUN([gl_TYPE_SOCKLEN_T], [AC_REQUIRE([gl_CHECK_SOCKET_HEADERS])dnl AC_CHECK_TYPE([socklen_t], , [AC_CACHE_CHECK([for socklen_t equivalent], [gl_cv_socklen_t_equiv], [# Systems have either "struct sockaddr *" or # "void *" as the second argument to getpeername gl_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t "unsigned int" "long int" "unsigned long int"; do AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[#include #include int getpeername (int, $arg2 *, $t *);]], [[$t len; getpeername (0, 0, &len);]])], [gl_cv_socklen_t_equiv="$t"]) test "$gl_cv_socklen_t_equiv" != "" && break done test "$gl_cv_socklen_t_equiv" != "" && break done if test "$gl_cv_socklen_t_equiv" = ""; then AC_MSG_ERROR([Cannot find a type to use in place of socklen_t]) fi ]) AC_DEFINE_UNQUOTED([socklen_t], [$gl_cv_socklen_t_equiv], [type to use in place of socklen_t if not defined])], [gl_SOCKET_HEADERS])]) dnl On mingw32, socklen_t is in ws2tcpip.h ('int'), so we try to find dnl it there too. But on Cygwin, wc2tcpip.h must not be included. Users dnl of this module should use the same include pattern as gl_SOCKET_HEADERS. dnl When you change this macro, keep also in sync: dnl - gl_CHECK_SOCKET_HEADERS, dnl - the Include section of modules/socklen. AC_DEFUN([gl_SOCKET_HEADERS], [ /* is not needed according to POSIX, but the in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #if HAVE_SYS_SOCKET_H # include #elif HAVE_WS2TCPIP_H # include #endif ]) dnl Tests for the existence of the header for socket facilities. dnl Defines the C macros HAVE_SYS_SOCKET_H, HAVE_WS2TCPIP_H. dnl This macro must match gl_SOCKET_HEADERS. AC_DEFUN([gl_CHECK_SOCKET_HEADERS], [AC_CHECK_HEADERS_ONCE([sys/socket.h]) if test $ac_cv_header_sys_socket_h = no; then dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports dnl that the headers are present but cannot be compiled (since on dnl cygwin, all socket information should come from sys/socket.h). AC_CHECK_HEADERS([ws2tcpip.h]) fi ]) datamash-1.9/m4/sockpfaf.m40000644000000000000000000000566214767401140011167 # sockpfaf.m4 # serial 11 dnl Copyright (C) 2004, 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Test for some common socket protocol families (PF_INET, PF_INET6, ...) dnl and some common address families (AF_INET, AF_INET6, ...). dnl This test assumes that a system supports an address family if and only if dnl it supports the corresponding protocol family. dnl From Bruno Haible. AC_DEFUN([gl_SOCKET_FAMILIES], [ AC_REQUIRE([gl_SYS_SOCKET_H]) AC_CHECK_HEADERS_ONCE([netinet/in.h]) AC_CACHE_CHECK([for IPv4 sockets], [gl_cv_socket_ipv4], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif]], [[int x = AF_INET; struct in_addr y; struct sockaddr_in z; if (&x && &y && &z) return 0;]])], gl_cv_socket_ipv4=yes, gl_cv_socket_ipv4=no)]) if test $gl_cv_socket_ipv4 = yes; then AC_DEFINE([HAVE_IPV4], [1], [Define to 1 if defines AF_INET.]) fi AC_CACHE_CHECK([for IPv6 sockets], [gl_cv_socket_ipv6], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif]], [[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z; if (&x && &y && &z) return 0;]])], gl_cv_socket_ipv6=yes, gl_cv_socket_ipv6=no)]) if test $gl_cv_socket_ipv6 = yes; then AC_DEFINE([HAVE_IPV6], [1], [Define to 1 if defines AF_INET6.]) fi ]) AC_DEFUN([gl_SOCKET_FAMILY_UNIX], [ AC_REQUIRE([gl_SYS_SOCKET_H]) AC_CHECK_HEADERS_ONCE([sys/un.h]) dnl Windows versions released after 2017 may have support for AF_UNIX. dnl Including it requires types from to be defined. dnl . if test "$ac_cv_header_winsock2_h" = yes; then AC_CHECK_HEADERS([afunix.h], [], [], [#include ]) fi AC_CACHE_CHECK([for UNIX domain sockets], [gl_cv_socket_unix], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_SYS_UN_H #include #endif #ifdef HAVE_WINSOCK2_H #include #endif #ifdef HAVE_AFUNIX_H #include #endif]], [[int x = AF_UNIX; struct sockaddr_un y; if (&x && &y) return 0;]])], gl_cv_socket_unix=yes, gl_cv_socket_unix=no)]) if test $gl_cv_socket_unix = yes; then AC_DEFINE([HAVE_UNIXSOCKET], [1], [Define to 1 if defines AF_UNIX.]) fi ]) datamash-1.9/m4/sqrt.m40000644000000000000000000000061314767401140010353 # sqrt.m4 # serial 3 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_SQRT], [ gl_COMMON_DOUBLE_MATHFUNC([sqrt]) ]) datamash-1.9/m4/sqrtl.m40000644000000000000000000001166214767401140010535 # sqrtl.m4 # serial 13 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_SQRTL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) dnl Persuade glibc to declare sqrtl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) SQRTL_LIBM= AC_CACHE_CHECK([whether sqrtl() can be used without linking with libm], [gl_cv_func_sqrtl_no_libm], [ AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = sqrtl; long double x;]], [[return funcptr (x) > 0.4 || sqrtl (x) > 0.4;]])], [gl_cv_func_sqrtl_no_libm=yes], [gl_cv_func_sqrtl_no_libm=no]) ]) if test $gl_cv_func_sqrtl_no_libm = no; then AC_CACHE_CHECK([whether sqrtl() can be used with libm], [gl_cv_func_sqrtl_in_libm], [ saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (* volatile funcptr) (long double) = sqrtl; long double x;]], [[return funcptr (x) > 0.4 || sqrtl (x) > 0.4;]])], [gl_cv_func_sqrtl_in_libm=yes], [gl_cv_func_sqrtl_in_libm=no]) LIBS="$saved_LIBS" ]) if test $gl_cv_func_sqrtl_in_libm = yes; then SQRTL_LIBM=-lm fi fi if test $gl_cv_func_sqrtl_no_libm = yes \ || test $gl_cv_func_sqrtl_in_libm = yes; then dnl Also check whether it's declared. dnl Mac OS X 10.3 has sqrtl() in libc but doesn't declare it in . AC_CHECK_DECL([sqrtl], , [HAVE_DECL_SQRTL=0], [[#include ]]) saved_LIBS="$LIBS" LIBS="$LIBS $SQRTL_LIBM" gl_FUNC_SQRTL_WORKS LIBS="$saved_LIBS" case "$gl_cv_func_sqrtl_works" in *yes) ;; *) REPLACE_SQRTL=1 ;; esac else HAVE_DECL_SQRTL=0 HAVE_SQRTL=0 fi if test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; then dnl Find libraries needed to link lib/sqrtl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_SQRT]) SQRTL_LIBM="$SQRT_LIBM" else AC_REQUIRE([gl_FUNC_ISNANL]) AC_REQUIRE([gl_FUNC_FREXPL]) AC_REQUIRE([gl_FUNC_LDEXPL]) AC_REQUIRE([gl_FUNC_SQRT]) dnl Append $ISNANL_LIBM to SQRTL_LIBM, avoiding gratuitous duplicates. case " $SQRTL_LIBM " in *" $ISNANL_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $ISNANL_LIBM" ;; esac dnl Append $FREXPL_LIBM to SQRTL_LIBM, avoiding gratuitous duplicates. case " $SQRTL_LIBM " in *" $FREXPL_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $FREXPL_LIBM" ;; esac dnl Append $LDEXPL_LIBM to SQRTL_LIBM, avoiding gratuitous duplicates. case " $SQRTL_LIBM " in *" $LDEXPL_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $LDEXPL_LIBM" ;; esac dnl Append $SQRT_LIBM to SQRTL_LIBM, avoiding gratuitous duplicates. case " $SQRTL_LIBM " in *" $SQRT_LIBM "*) ;; *) SQRTL_LIBM="$SQRTL_LIBM $SQRT_LIBM" ;; esac fi fi AC_SUBST([SQRTL_LIBM]) ]) dnl Test whether sqrtl() works. dnl On OpenBSD 5.1/SPARC, sqrtl(8.1974099812331540680810141969554806865L) has dnl rounding errors that eat up the last 8 to 9 decimal digits. AC_DEFUN([gl_FUNC_SQRTL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether sqrtl works], [gl_cv_func_sqrtl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #ifndef sqrtl /* for AIX */ extern #ifdef __cplusplus "C" #endif long double sqrtl (long double); #endif static long double my_ldexpl (long double x, int d) { for (; d > 0; d--) x *= 2.0L; for (; d < 0; d++) x *= 0.5L; return x; } volatile long double x; volatile long double y; long double z; int main () { x = 8.1974099812331540680810141969554806865L; y = sqrtl (x); z = y * y - x; z = my_ldexpl (z, LDBL_MANT_DIG); if (z < 0) z = - z; if (z > 100.0L) return 1; return 0; } ]])], [gl_cv_func_sqrtl_works=yes], [gl_cv_func_sqrtl_works=no], [case "$host_os" in openbsd*) gl_cv_func_sqrtl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_sqrtl_works="guessing yes" ;; *) gl_cv_func_sqrtl_works="guessing yes" ;; esac ]) ]) ]) datamash-1.9/m4/ssize_t.m40000644000000000000000000000270214767401140011043 # ssize_t.m4 # serial 6 dnl Copyright (C) 2001-2003, 2006, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Define ssize_t if it does not already exist. AC_DEFUN([gt_TYPE_SSIZE_T], [ AC_CACHE_CHECK([for ssize_t], [gl_cv_ssize_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int x = sizeof (ssize_t *) + sizeof (ssize_t); return !x;]])], [gl_cv_ssize_t=yes], [gl_cv_ssize_t=no])]) if test $gl_cv_ssize_t = no; then dnl On 64-bit native Windows, ssize_t needs to be defined as 'long long', dnl for consistency with the 64-bit size_t. AC_CACHE_CHECK([whether size_t is wider than 'long'], [gl_cv_size_t_large], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include typedef int array [2 * (sizeof (size_t) > sizeof (long)) - 1]; ]])], [gl_cv_size_t_large=yes], [gl_cv_size_t_large=no])]) if test $gl_cv_size_t_large = yes; then gl_def_ssize_t='long long' else gl_def_ssize_t='long' fi AC_DEFINE_UNQUOTED([ssize_t], [$gl_def_ssize_t], [Define as a signed type of the same size as size_t.]) fi ]) datamash-1.9/m4/stat-time.m40000644000000000000000000000621014767401140011270 # stat-time.m4 # serial 1 dnl Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2025 Free Software dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Checks for stat-related time functions. dnl From Paul Eggert. # st_atim.tv_nsec - Linux, Solaris, Cygwin # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1) # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway) # st_birthtim - Cygwin 1.7.0+ AC_DEFUN([gl_STAT_TIME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec], [AC_CACHE_CHECK([whether struct stat.st_atim is of type struct timespec], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[ #include #include #if HAVE_SYS_TIME_H # include #endif #include struct timespec ts; struct stat st; ]], [[ st.st_atim = ts; ]])], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes], [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no])]) if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then AC_DEFINE([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [1], [Define to 1 if the type of the st_atim member of a struct stat is struct timespec.]) fi], [AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec], [], [AC_CHECK_MEMBERS([struct stat.st_atimensec], [], [AC_CHECK_MEMBERS([struct stat.st_atim.st__tim.tv_nsec], [], [], [#include #include ])], [#include #include ])], [#include #include ])], [#include #include ]) ]) # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.) # and NTFS (Cygwin). # There was a time when this field was named st_createtime (21 June # 2002 to 16 July 2002) But that window is very small and applied only # to development code, so systems still using that configuration are # not supported. See revisions 1.10 and 1.11 of FreeBSD's # src/sys/ufs/ufs/dinode.h. # AC_DEFUN([gl_STAT_BIRTHTIME], [ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CHECK_MEMBERS([struct stat.st_birthtimespec.tv_nsec], [], [AC_CHECK_MEMBERS([struct stat.st_birthtimensec], [], [AC_CHECK_MEMBERS([struct stat.st_birthtim.tv_nsec], [], [], [#include #include ])], [#include #include ])], [#include #include ]) ]) datamash-1.9/m4/stat.m40000644000000000000000000000610514767401140010337 # stat.m4 # serial 21 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STAT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([lstat]) case "$host_os" in mingw* | windows*) dnl On this platform, the original stat() returns st_atime, st_mtime, dnl st_ctime values that are affected by the time zone. REPLACE_STAT=1 ;; *) dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/"). dnl (For mingw, this is due to a broken stat() override in libmingwex.a.) dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/"). AC_CACHE_CHECK([whether stat handles trailing slashes on files], [gl_cv_func_stat_file_slash], [touch conftest.tmp # Assume that if we have lstat, we can also check symlinks. if test $ac_cv_func_lstat = yes; then ln -s conftest.tmp conftest.lnk fi AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; struct stat st; if (!stat ("conftest.tmp/", &st)) result |= 1; #if HAVE_LSTAT if (!stat ("conftest.lnk/", &st)) result |= 2; #endif return result; ]])], [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no], [case "$host_os" in # Guess yes on Linux systems. linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on systems that emulate the Linux system calls. midipix*) gl_cv_func_stat_file_slash="guessing yes" ;; # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_stat_file_slash="$gl_cross_guess_normal" ;; esac ]) rm -f conftest.tmp conftest.lnk]) case $gl_cv_func_stat_file_slash in *no) REPLACE_STAT=1 AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs help when passed a file name with a trailing slash]);; esac case $host_os in dnl macOS and Solaris stat can return a negative tv_nsec. darwin* | solaris*) REPLACE_FSTAT=1 ;; esac ;; esac ]) # Prerequisites of lib/stat.c and lib/stat-w32.c. AC_DEFUN([gl_PREREQ_STAT], [ AC_REQUIRE([gl_SYS_STAT_H]) AC_REQUIRE([gl_PREREQ_STAT_W32]) : ]) # Prerequisites of lib/stat-w32.c. AC_DEFUN([gl_PREREQ_STAT_W32], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw* | windows*) AC_CHECK_HEADERS([sdkddkver.h]) ;; esac ]) datamash-1.9/m4/stdalign.m40000644000000000000000000001764014767401140011177 # stdalign.m4 # serial 3 dnl Copyright 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Check for alignas and alignof that conform to C23. dnl Written by Paul Eggert and Bruno Haible. # Prepare for substituting if it is not supported. AC_DEFUN([gl_ALIGNASOF], [ AC_CACHE_CHECK([for alignas and alignof], [gl_cv_header_working_stdalign_h], [gl_saved_CFLAGS=$CFLAGS for gl_working in "yes, keywords" "yes, macros"; do AS_CASE([$gl_working], [*stdalign.h*], [CFLAGS="$gl_saved_CFLAGS -DINCLUDE_STDALIGN_H"]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #ifdef INCLUDE_STDALIGN_H #include #endif #include /* Test that alignof yields a result consistent with offsetof. This catches GCC bug 52023 . */ #ifdef __cplusplus template struct alignof_helper { char a; t b; }; # define ao(type) offsetof (alignof_helper, b) #else # define ao(type) offsetof (struct { char a; type b; }, b) #endif char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1]; char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1]; char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1]; /* Test alignas only on platforms where gnulib can help. */ #if \ ((defined __cplusplus && 201103 <= __cplusplus) \ || (__TINYC__ && defined __attribute__) \ || (defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \ || 1300 <= _MSC_VER) struct alignas_test { char c; char alignas (8) alignas_8; }; char test_alignas[offsetof (struct alignas_test, alignas_8) == 8 ? 1 : -1]; #endif ]])], [gl_cv_header_working_stdalign_h=$gl_working], [gl_cv_header_working_stdalign_h=no]) CFLAGS=$gl_saved_CFLAGS test "$gl_cv_header_working_stdalign_h" != no && break done]) AS_CASE([$gl_cv_header_working_stdalign_h], [yes*keyword*], [AC_DEFINE([HAVE_C_ALIGNASOF], [1], [Define to 1 if the alignas and alignof keywords work.])]) dnl The "zz" puts this toward config.h's end, to avoid potential dnl collisions with other definitions. AH_VERBATIM([zzalignas], [#if !defined HAVE_C_ALIGNASOF \ && !(defined __cplusplus && 201103 <= __cplusplus) \ && !defined alignof # if defined HAVE_STDALIGN_H # include # endif /* ISO C23 alignas and alignof for platforms that lack it. References: ISO C23 (latest free draft ) sections 6.5.3.4, 6.7.5, 7.15. C++11 (latest free draft ) section 18.10. */ /* alignof (TYPE), also known as _Alignof (TYPE), yields the alignment requirement of a structure member (i.e., slot or field) that is of type TYPE, as an integer constant expression. This differs from GCC's and clang's __alignof__ operator, which can yield a better-performing alignment for an object of that type. For example, on x86 with GCC and on Linux/x86 with clang, __alignof__ (double) and __alignof__ (long long) are 8, whereas alignof (double) and alignof (long long) are 4 unless the option '-malign-double' is used. The result cannot be used as a value for an 'enum' constant, if you want to be portable to HP-UX 10.20 cc and AIX 3.2.5 xlc. */ /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 . clang versions < 8.0.0 have the same bug. IBM XL C V16.1.0 cc (non-clang) has the same bug. */ # if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \ && !defined __clang__) \ || (defined __clang__ && __clang_major__ < 8) \ || defined __xlC__) # undef/**/_Alignof # ifdef __cplusplus # if (201103 <= __cplusplus || defined _MSC_VER) # define _Alignof(type) alignof (type) # else template struct __alignof_helper { char __a; __t __b; }; # if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__ # define _Alignof(type) __builtin_offsetof (__alignof_helper, __b) # else # define _Alignof(type) offsetof (__alignof_helper, __b) # endif # define _GL_STDALIGN_NEEDS_STDDEF 1 # endif # else # if (defined __GNUC__ && 4 <= __GNUC__) || defined __clang__ # define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b) # else # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) # define _GL_STDALIGN_NEEDS_STDDEF 1 # endif # endif # endif # if ! (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER)) # undef/**/alignof # define alignof _Alignof # endif /* alignas (A), also known as _Alignas (A), aligns a variable or type to the alignment A, where A is an integer constant expression. For example: int alignas (8) foo; struct s { int a; int alignas (8) bar; }; aligns the address of FOO and the offset of BAR to be multiples of 8. A should be a power of two that is at least the type's alignment and at most the implementation's alignment limit. This limit is 2**28 on typical GNUish hosts, and 2**13 on MSVC. To be portable to MSVC through at least version 10.0, A should be an integer constant, as MSVC does not support expressions such as 1 << 3. To be portable to Sun C 5.11, do not align auto variables to anything stricter than their default alignment. The following C23 requirements are not supported here: - If A is zero, alignas has no effect. - alignas can be used multiple times; the strictest one wins. - alignas (TYPE) is equivalent to alignas (alignof (TYPE)). */ # if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 # if defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER) # define _Alignas(a) alignas (a) # elif (!defined __attribute__ \ && ((defined __APPLE__ && defined __MACH__ \ ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ : __GNUC__ && !defined __ibmxl__) \ || (4 <= __clang_major__) \ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__)) # define _Alignas(a) __attribute__ ((__aligned__ (a))) # elif 1300 <= _MSC_VER # define _Alignas(a) __declspec (align (a)) # endif # endif # if !defined HAVE_STDALIGN_H # if ((defined _Alignas \ && !(defined __cplusplus \ && (201103 <= __cplusplus || defined _MSC_VER))) \ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__ \ && !defined __xlC__)) # define alignas _Alignas # endif # endif # if defined _GL_STDALIGN_NEEDS_STDDEF # include # endif #endif]) ]) AC_DEFUN([gl_STDALIGN_H], [ AC_REQUIRE([gl_ALIGNASOF]) if test "$gl_cv_header_working_stdalign_h" = no; then GL_GENERATE_STDALIGN_H=true else GL_GENERATE_STDALIGN_H=false fi gl_CHECK_NEXT_HEADERS([stdalign.h]) if test $ac_cv_header_stdalign_h = yes; then HAVE_STDALIGN_H=1 else HAVE_STDALIGN_H=0 fi AC_SUBST([HAVE_STDALIGN_H]) ]) datamash-1.9/m4/stdarg.m40000644000000000000000000000532314767401140010651 # stdarg.m4 # serial 8 dnl Copyright (C) 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Provide a working va_copy in combination with . AC_DEFUN([gl_STDARG_H], [ GL_GENERATE_STDARG_H=false NEXT_STDARG_H='' AC_CACHE_CHECK([for va_copy], [gl_cv_func_va_copy], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[ #ifndef va_copy void (*func) (va_list, va_list) = va_copy; #endif ]])], [gl_cv_func_va_copy=yes], [gl_cv_func_va_copy=no]) ]) if test $gl_cv_func_va_copy = no; then dnl Provide a substitute. dnl Usually a simple definition in is enough. Not so on AIX 5 dnl with some versions of the /usr/vac/bin/cc compiler. It has an dnl which does '#undef va_copy', leading to a missing va_copy symbol. For dnl this platform, we use an substitute. But we cannot use this dnl approach on other platforms, because often defines only dnl preprocessor macros and gl_ABSOLUTE_HEADER, gl_CHECK_NEXT_HEADERS do dnl not work in this situation. AC_EGREP_CPP([vaccine], [#if defined _AIX && !defined __GNUC__ AIX vaccine #endif ], [gl_aixcc=yes], [gl_aixcc=no]) if test $gl_aixcc = yes; then dnl Provide a substitute file. GL_GENERATE_STDARG_H=true gl_NEXT_HEADERS([stdarg.h]) dnl Fallback for the case when contains only macro definitions. if test "$gl_cv_next_stdarg_h" = '""'; then gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' NEXT_STDARG_H="$gl_cv_next_stdarg_h" fi else dnl Provide a substitute in , either __va_copy or as a simple dnl assignment. gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[ #ifndef __va_copy error, bail out #endif ]])], [gl_cv_func___va_copy=yes], [gl_cv_func___va_copy=no])]) if test $gl_cv_func___va_copy = yes; then AC_DEFINE([va_copy], [__va_copy], [Define as a macro for copying va_list variables.]) else AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed. */ #define gl_va_copy(a,b) ((a) = (b))]) AC_DEFINE([va_copy], [gl_va_copy], [Define as a macro for copying va_list variables.]) fi fi fi AC_SUBST([NEXT_STDARG_H]) ]) datamash-1.9/m4/stddef_h.m40000644000000000000000000001274514767401140011153 # stddef_h.m4 # serial 17 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl A placeholder for , for platforms that have issues. AC_DEFUN_ONCE([gl_STDDEF_H], [ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) dnl Persuade OpenBSD to declare max_align_t. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) GL_GENERATE_STDDEF_H=false dnl Test whether the type max_align_t exists and whether its alignment dnl "is as great as is supported by the implementation in all contexts". AC_CACHE_CHECK([for good max_align_t], [gl_cv_type_max_align_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[/* On FreeBSD 12.0/x86, max_align_t defined by has the correct alignment with the default (wrong) definition of _Alignof, but a wrong alignment as soon as we activate an ISO C compliant _Alignof definition. */ #if ((defined __GNUC__ && 4 <= __GNUC__) || defined __clang__) && !defined __cplusplus #define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b) #endif #include unsigned int s = sizeof (max_align_t); #if defined __GNUC__ || defined __clang__ || defined __IBM__ALIGNOF__ int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1]; int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1]; #endif typedef struct { char a; max_align_t b; } max_helper; typedef struct { char a; long b; } long_helper; typedef struct { char a; double b; } double_helper; typedef struct { char a; long double b; } long_double_helper; int check3[2 * (offsetof (long_helper, b) <= offsetof (max_helper, b)) - 1]; int check4[2 * (offsetof (double_helper, b) <= offsetof (max_helper, b)) - 1]; int check5[2 * (offsetof (long_double_helper, b) <= offsetof (max_helper, b)) - 1]; ]])], [gl_cv_type_max_align_t=yes], [gl_cv_type_max_align_t=no]) ]) if test $gl_cv_type_max_align_t = no; then HAVE_MAX_ALIGN_T=0 GL_GENERATE_STDDEF_H=true fi AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions], [gl_cv_decl_null_works], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include int test[2 * (sizeof NULL == sizeof (void *)) -1]; ]])], [gl_cv_decl_null_works=yes], [gl_cv_decl_null_works=no])]) if test $gl_cv_decl_null_works = no; then REPLACE_NULL=1 GL_GENERATE_STDDEF_H=true fi AC_CACHE_CHECK([for unreachable], [gl_cv_func_unreachable], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[unreachable (); ]])], [gl_cv_func_unreachable=yes], [gl_cv_func_unreachable=no]) ]) if test $gl_cv_func_unreachable = no; then GL_GENERATE_STDDEF_H=true fi dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114869 AC_CACHE_CHECK([whether nullptr_t needs ], [gl_cv_nullptr_t_needs_stddef], [AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[nullptr_t x;]], [gl_cv_nullptr_t_needs_stddef=no], [gl_cv_nullptr_t_needs_stddef=yes])]) if test "$gl_cv_nullptr_t_needs_stddef" = no; then NULLPTR_T_NEEDS_STDDEF=0 GL_GENERATE_STDDEF_H=true fi AC_CACHE_CHECK([for clean definition of __STDC_VERSION_STDDEF_H__], [gl_cv_clean_version_stddef], [AC_PREPROC_IFELSE( [AC_LANG_SOURCE( [[/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870 */ #include #undef __STDC_VERSION_STDDEF_H__ #include #ifdef __STDC_VERSION_STDDEF_H__ # error " defines __STDC_VERSION_STDDEF_H__" #endif ]])], [gl_cv_clean_version_stddef=yes], [gl_cv_clean_version_stddef=no])]) if test "$gl_cv_clean_version_stddef" = no; then STDDEF_NOT_IDEMPOTENT=1 GL_GENERATE_STDDEF_H=true fi if $GL_GENERATE_STDDEF_H; then gl_NEXT_HEADERS([stddef.h]) fi ]) # gl_STDDEF_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_STDDEF_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_STDDEF_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STDDEF_H_MODULE_INDICATOR_DEFAULTS], [ ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_STDDEF_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) ]) AC_DEFUN([gl_STDDEF_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. NULLPTR_T_NEEDS_STDDEF=1; AC_SUBST([NULLPTR_T_NEEDS_STDDEF]) STDDEF_NOT_IDEMPOTENT=0; AC_SUBST([STDDEF_NOT_IDEMPOTENT]) REPLACE_NULL=0; AC_SUBST([REPLACE_NULL]) HAVE_MAX_ALIGN_T=1; AC_SUBST([HAVE_MAX_ALIGN_T]) ]) datamash-1.9/m4/stdint.m40000644000000000000000000004337014767401140010676 # stdint.m4 # serial 64 dnl Copyright (C) 2001-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paul Eggert and Bruno Haible. dnl Test whether is supported or must be substituted. AC_PREREQ([2.61]) AC_DEFUN_ONCE([gl_STDINT_H], [ AC_PREREQ([2.59])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_REQUIRE([gl_LIMITS_H]) AC_REQUIRE([gt_TYPE_WINT_T]) dnl For backward compatibility. Some packages may still be testing these dnl macros. AC_DEFINE([HAVE_LONG_LONG_INT], [1], [Define to 1 if the system has the type 'long long int'.]) AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], [Define to 1 if the system has the type 'unsigned long long int'.]) dnl Check for , in the same way as gl_WCHAR_H does. AC_CHECK_HEADERS_ONCE([wchar.h]) if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) dnl Check for . AC_CHECK_HEADERS_ONCE([inttypes.h]) if test $ac_cv_header_inttypes_h = yes; then HAVE_INTTYPES_H=1 else HAVE_INTTYPES_H=0 fi AC_SUBST([HAVE_INTTYPES_H]) dnl Check for . AC_CHECK_HEADERS_ONCE([sys/types.h]) if test $ac_cv_header_sys_types_h = yes; then HAVE_SYS_TYPES_H=1 else HAVE_SYS_TYPES_H=0 fi AC_SUBST([HAVE_SYS_TYPES_H]) gl_CHECK_NEXT_HEADERS([stdint.h]) if test $ac_cv_header_stdint_h = yes; then HAVE_STDINT_H=1 else HAVE_STDINT_H=0 fi AC_SUBST([HAVE_STDINT_H]) dnl Now see whether we need a substitute . if test $ac_cv_header_stdint_h = yes; then AC_CACHE_CHECK([whether stdint.h conforms to C99], [gl_cv_header_working_stdint_h], [gl_cv_header_working_stdint_h=no AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ #if !(defined WCHAR_MIN && defined WCHAR_MAX) #error "WCHAR_MIN, WCHAR_MAX not defined in " #endif ] gl_STDINT_INCLUDES [ #ifdef INT8_MAX int8_t a1 = INT8_MAX; int8_t a1min = INT8_MIN; #endif #ifdef INT16_MAX int16_t a2 = INT16_MAX; int16_t a2min = INT16_MIN; #endif #ifdef INT32_MAX int32_t a3 = INT32_MAX; int32_t a3min = INT32_MIN; #endif #ifdef INT64_MAX int64_t a4 = INT64_MAX; int64_t a4min = INT64_MIN; #endif #ifdef UINT8_MAX uint8_t b1 = UINT8_MAX; #else typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; #endif #ifdef UINT16_MAX uint16_t b2 = UINT16_MAX; #endif #ifdef UINT32_MAX uint32_t b3 = UINT32_MAX; #endif #ifdef UINT64_MAX uint64_t b4 = UINT64_MAX; #endif int_least8_t c1 = INT8_C (0x7f); int_least8_t c1max = INT_LEAST8_MAX; int_least8_t c1min = INT_LEAST8_MIN; int_least16_t c2 = INT16_C (0x7fff); int_least16_t c2max = INT_LEAST16_MAX; int_least16_t c2min = INT_LEAST16_MIN; int_least32_t c3 = INT32_C (0x7fffffff); int_least32_t c3max = INT_LEAST32_MAX; int_least32_t c3min = INT_LEAST32_MIN; int_least64_t c4 = INT64_C (0x7fffffffffffffff); int_least64_t c4max = INT_LEAST64_MAX; int_least64_t c4min = INT_LEAST64_MIN; uint_least8_t d1 = UINT8_C (0xff); uint_least8_t d1max = UINT_LEAST8_MAX; uint_least16_t d2 = UINT16_C (0xffff); uint_least16_t d2max = UINT_LEAST16_MAX; uint_least32_t d3 = UINT32_C (0xffffffff); uint_least32_t d3max = UINT_LEAST32_MAX; uint_least64_t d4 = UINT64_C (0xffffffffffffffff); uint_least64_t d4max = UINT_LEAST64_MAX; int_fast8_t e1 = INT_FAST8_MAX; int_fast8_t e1min = INT_FAST8_MIN; int_fast16_t e2 = INT_FAST16_MAX; int_fast16_t e2min = INT_FAST16_MIN; int_fast32_t e3 = INT_FAST32_MAX; int_fast32_t e3min = INT_FAST32_MIN; int_fast64_t e4 = INT_FAST64_MAX; int_fast64_t e4min = INT_FAST64_MIN; uint_fast8_t f1 = UINT_FAST8_MAX; uint_fast16_t f2 = UINT_FAST16_MAX; uint_fast32_t f3 = UINT_FAST32_MAX; uint_fast64_t f4 = UINT_FAST64_MAX; #ifdef INTPTR_MAX intptr_t g = INTPTR_MAX; intptr_t gmin = INTPTR_MIN; #endif #ifdef UINTPTR_MAX uintptr_t h = UINTPTR_MAX; #endif intmax_t i = INTMAX_MAX; uintmax_t j = UINTMAX_MAX; /* Check that SIZE_MAX has the correct type, if possible. */ /* ISO C 11 mandates _Generic, but GCC versions < 4.9 lack it. */ #if 201112 <= __STDC_VERSION__ \ && (!defined __GNUC__ || 4 < __GNUC__ + (9 <= __GNUC_MINOR__) \ || defined __clang__) int k = _Generic (SIZE_MAX, size_t: 0); #elif (2 <= __GNUC__ || 4 <= __clang_major__ || defined __IBM__TYPEOF__ \ || (0x5110 <= __SUNPRO_C && !__STDC__) || 1939 <= _MSC_VER) extern size_t k; extern __typeof__ (SIZE_MAX) k; #endif #include /* for CHAR_BIT */ #define TYPE_MINIMUM(t) \ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) #define TYPE_MAXIMUM(t) \ ((t) ((t) 0 < (t) -1 \ ? (t) -1 \ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) struct s { int check_PTRDIFF: PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) ? 1 : -1; /* Detect bug in FreeBSD 6.0/ia64 and FreeBSD 13.0/arm64. */ int check_SIG_ATOMIC: SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) ? 1 : -1; int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; int check_WCHAR: WCHAR_MIN == TYPE_MINIMUM (wchar_t) && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) ? 1 : -1; /* Detect bug in mingw. */ int check_WINT: WINT_MIN == TYPE_MINIMUM (wint_t) && WINT_MAX == TYPE_MAXIMUM (wint_t) ? 1 : -1; /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ int check_UINT8_C: (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; int check_UINT16_C: (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; /* Detect bugs in OpenBSD 3.9 stdint.h. */ #ifdef UINT8_MAX int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; #endif #ifdef UINT16_MAX int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; #endif #ifdef UINT32_MAX int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; #endif #ifdef UINT64_MAX int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; #endif int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; }; ]])], [dnl Determine whether the various *_MIN, *_MAX macros are usable dnl in preprocessor expression. We could do it by compiling a test dnl program for each of these macros. It is faster to run a program dnl that inspects the macro expansion. dnl This detects a bug on HP-UX 11.23/ia64. AC_RUN_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #define __STDC_CONSTANT_MACROS 1 #define __STDC_LIMIT_MACROS 1 #include ] gl_STDINT_INCLUDES [ #include #include #define MVAL(macro) MVAL1(macro) #define MVAL1(expression) #expression static const char *macro_values[] = { #ifdef INT8_MAX MVAL (INT8_MAX), #endif #ifdef INT16_MAX MVAL (INT16_MAX), #endif #ifdef INT32_MAX MVAL (INT32_MAX), #endif #ifdef INT64_MAX MVAL (INT64_MAX), #endif #ifdef UINT8_MAX MVAL (UINT8_MAX), #endif #ifdef UINT16_MAX MVAL (UINT16_MAX), #endif #ifdef UINT32_MAX MVAL (UINT32_MAX), #endif #ifdef UINT64_MAX MVAL (UINT64_MAX), #endif NULL }; ]], [[ const char **mv; for (mv = macro_values; *mv != NULL; mv++) { const char *value = *mv; /* Test whether it looks like a cast expression. */ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 || strncmp (value, "((int)"/*)*/, 6) == 0 || strncmp (value, "((signed short)"/*)*/, 15) == 0 || strncmp (value, "((signed char)"/*)*/, 14) == 0) return mv - macro_values + 1; } return 0; ]])], [gl_cv_header_working_stdint_h=yes], [], [case "$host_os" in # Guess yes on native Windows. mingw* | windows*) gl_cv_header_working_stdint_h="guessing yes" ;; # In general, assume it works. *) gl_cv_header_working_stdint_h="guessing yes" ;; esac ]) ]) ]) fi HAVE_C99_STDINT_H=0 HAVE_SYS_BITYPES_H=0 HAVE_SYS_INTTYPES_H=0 GL_GENERATE_STDINT_H=true case "$gl_cv_header_working_stdint_h" in *yes) HAVE_C99_STDINT_H=1 dnl Now see whether the system works without dnl __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined. dnl If not, there would be problems when stdint.h is included from C++. AC_CACHE_CHECK([whether stdint.h works without ISO C predefines], [gl_cv_header_stdint_without_STDC_macros], [gl_cv_header_stdint_without_STDC_macros=no AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ #include ] gl_STDINT_INCLUDES [ intmax_t im = INTMAX_MAX; int32_t i32 = INT32_C (0x7fffffff); ]])], [gl_cv_header_stdint_without_STDC_macros=yes]) ]) if test $gl_cv_header_stdint_without_STDC_macros = no; then AC_DEFINE([__STDC_CONSTANT_MACROS], [1], [Define to 1 if the system predates C++11.]) AC_DEFINE([__STDC_LIMIT_MACROS], [1], [Define to 1 if the system predates C++11.]) fi AC_CACHE_CHECK([whether stdint.h has UINTMAX_WIDTH etc.], [gl_cv_header_stdint_width], [gl_cv_header_stdint_width=no AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ /* Work if build is not clean. */ #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #endif #include ]gl_STDINT_INCLUDES[ int iw = UINTMAX_WIDTH; ]])], [gl_cv_header_stdint_width=yes])]) if test "$gl_cv_header_stdint_width" = yes; then GL_GENERATE_STDINT_H=false fi ;; *) dnl Check for , and for dnl (used in Linux libc4 >= 4.6.7 and libc5). AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) if test $ac_cv_header_sys_inttypes_h = yes; then HAVE_SYS_INTTYPES_H=1 fi if test $ac_cv_header_sys_bitypes_h = yes; then HAVE_SYS_BITYPES_H=1 fi gl_STDINT_TYPE_PROPERTIES ;; esac dnl The substitute stdint.h needs the substitute limit.h's _GL_INTEGER_WIDTH. gl_REPLACE_LIMITS_H AC_SUBST([HAVE_C99_STDINT_H]) AC_SUBST([HAVE_SYS_BITYPES_H]) AC_SUBST([HAVE_SYS_INTTYPES_H]) ]) dnl gl_STDINT_BITSIZEOF(TYPES, INCLUDES) dnl Determine the size of each of the given types in bits. AC_DEFUN([gl_STDINT_BITSIZEOF], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), [Define to the number of bits in type ']gltype['.])]) for gltype in $1 ; do AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [$2 #include ], [result=unknown]) eval gl_cv_bitsizeof_${gltype}=\$result ]) eval result=\$gl_cv_bitsizeof_${gltype} if test $result = unknown; then dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, dnl do a syntax check even on unused #if conditions and give an error dnl on valid C code like this: dnl #if 0 dnl # if > 32 dnl # endif dnl #endif result=0 fi GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) eval BITSIZEOF_${GLTYPE}=\$result done m4_foreach_w([gltype], [$1], [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ]) dnl gl_CHECK_TYPES_SIGNED(TYPES, INCLUDES) dnl Determine the signedness of each of the given types. dnl Define HAVE_SIGNED_TYPE if type is signed. AC_DEFUN([gl_CHECK_TYPES_SIGNED], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), [Define to 1 if ']gltype[' is a signed integer type.])]) for gltype in $1 ; do AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([$2[ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], result=yes, result=no) eval gl_cv_type_${gltype}_signed=\$result ]) eval result=\$gl_cv_type_${gltype}_signed GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` if test "$result" = yes; then AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) eval HAVE_SIGNED_${GLTYPE}=1 else eval HAVE_SIGNED_${GLTYPE}=0 fi done m4_foreach_w([gltype], [$1], [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) ]) dnl gl_INTEGER_TYPE_SUFFIX(TYPES, INCLUDES) dnl Determine the suffix to use for integer constants of the given types. dnl Define t_SUFFIX for each such type. AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [ dnl Use a shell loop, to avoid bloating configure, and dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into dnl config.h.in, dnl - extra AC_SUBST calls, so that the right substitutions are made. m4_foreach_w([gltype], [$1], [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], [Define to l, ll, u, ul, ull, etc., as suitable for constants of type ']gltype['.])]) for gltype in $1 ; do AC_CACHE_CHECK([for $gltype integer literal suffix], [gl_cv_type_${gltype}_suffix], [eval gl_cv_type_${gltype}_suffix=no eval result=\$gl_cv_type_${gltype}_signed if test "$result" = yes; then glsufu= else glsufu=u fi for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do case $glsuf in '') gltype1='int';; l) gltype1='long int';; ll) gltype1='long long int';; i64) gltype1='__int64';; u) gltype1='unsigned int';; ul) gltype1='unsigned long int';; ull) gltype1='unsigned long long int';; ui64)gltype1='unsigned __int64';; esac AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([$2[ extern $gltype foo; extern $gltype1 foo;]])], [eval gl_cv_type_${gltype}_suffix=\$glsuf]) eval result=\$gl_cv_type_${gltype}_suffix test "$result" != no && break done]) GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` eval result=\$gl_cv_type_${gltype}_suffix test "$result" = no && result= eval ${GLTYPE}_SUFFIX=\$result AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) done m4_foreach_w([gltype], [$1], [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) ]) dnl gl_STDINT_INCLUDES AC_DEFUN([gl_STDINT_INCLUDES], [[ #include #include #if HAVE_WCHAR_H # include #endif ]]) dnl gl_STDINT_TYPE_PROPERTIES dnl Compute HAVE_SIGNED_t, BITSIZEOF_t and t_SUFFIX, for all the types t dnl of interest to stdint.in.h. AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [ AC_REQUIRE([gl_MULTIARCH]) if test $APPLE_UNIVERSAL_BUILD = 0; then gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) fi gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) gl_cv_type_ptrdiff_t_signed=yes gl_cv_type_size_t_signed=no if test $APPLE_UNIVERSAL_BUILD = 0; then gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) fi gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) dnl If wint_t is smaller than 'int', it cannot satisfy the ISO C 99 dnl requirement that wint_t is "unchanged by default argument promotions". dnl In this case gnulib's and override wint_t. dnl Set the variable BITSIZEOF_WINT_T accordingly. if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then BITSIZEOF_WINT_T=32 fi ]) datamash-1.9/m4/stdint_h.m40000644000000000000000000000203314771573666011216 # stdint_h.m4 # serial 9 dnl Copyright (C) 1997-2004, 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Paul Eggert. # Define HAVE_STDINT_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_STDINT_H], [ AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[uintmax_t i = (uintmax_t) -1; return !i;]])], [gl_cv_header_stdint_h=yes], [gl_cv_header_stdint_h=no])]) if test $gl_cv_header_stdint_h = yes; then AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) datamash-1.9/m4/stdio_h.m40000644000000000000000000003114014767401140011012 # stdio_h.m4 # serial 75 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_STDIO_H_EARLY], [ dnl Defining __USE_MINGW_ANSI_STDIO to 1 must be done early, because dnl the results of several configure tests depend on it: The tests dnl - checking whether snprintf returns a byte count as in C99... dnl - checking whether snprintf truncates the result as in C99... dnl - checking whether printf supports the 'F' directive... dnl - checking whether printf supports the grouping flag... dnl - checking whether printf supports the zero flag correctly... dnl - checking whether printf supports infinite 'double' arguments... dnl - checking whether printf supports large precisions... dnl report 'yes' if __USE_MINGW_ANSI_STDIO is 1 but 'no' if dnl __USE_MINGW_ANSI_STDIO is not set. AH_VERBATIM([MINGW_ANSI_STDIO], [/* Use GNU style printf and scanf. */ #ifndef __USE_MINGW_ANSI_STDIO # undef __USE_MINGW_ANSI_STDIO #endif ]) AC_DEFINE([__USE_MINGW_ANSI_STDIO]) ]) AC_DEFUN_ONCE([gl_STDIO_H], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) gl_NEXT_HEADERS([stdio.h]) dnl Determine whether __USE_MINGW_ANSI_STDIO makes printf and dnl inttypes.h behave like gnu instead of system; we must give our dnl printf wrapper the right attribute to match. AC_CACHE_CHECK([which flavor of printf attribute matches inttypes macros], [gl_cv_func_printf_attribute_flavor], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #define __STDC_FORMAT_MACROS 1 #include #include /* For non-mingw systems, compilation will trivially succeed. For mingw, compilation will succeed for older mingw (system printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */ #if (defined _WIN32 && ! defined __CYGWIN__) && \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1]; #endif ]])], [gl_cv_func_printf_attribute_flavor=system], [gl_cv_func_printf_attribute_flavor=gnu])]) if test "$gl_cv_func_printf_attribute_flavor" = gnu; then AC_DEFINE([GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU], [1], [Define to 1 if printf and friends should be labeled with attribute "__gnu_printf__" instead of "__printf__"]) fi dnl For defining _PRINTF_NAN_LEN_MAX. gl_MUSL_LIBC dnl This ifdef is an optimization, to avoid performing a configure check whose dnl result is not used. But it does not make the test of dnl GNULIB_STDIO_H_NONBLOCKING or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_STDIO_READ_FUNCS=1 fi ]) dnl This ifdef is an optimization, to avoid performing a configure check whose dnl result is not used. But it does not make the test of dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant. m4_ifdef([gl_SIGNAL_SIGPIPE], [ gl_SIGNAL_SIGPIPE if test $gl_cv_header_signal_h_SIGPIPE != yes; then REPLACE_STDIO_WRITE_FUNCS=1 fi ]) dnl This ifdef is an optimization, to avoid performing a configure check whose dnl result is not used. But it does not make the test of dnl GNULIB_STDIO_H_NONBLOCKING or GNULIB_NONBLOCKING redundant. m4_ifdef([gl_NONBLOCKING_IO], [ gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_STDIO_WRITE_FUNCS=1 fi ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by both C89 and C11. gl_WARN_ON_USE_PREPARE([[#include ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf]) AC_REQUIRE([AC_C_RESTRICT]) AC_CHECK_DECLS_ONCE([fcloseall]) if test $ac_cv_have_decl_fcloseall = no; then HAVE_DECL_FCLOSEALL=0 fi AC_CHECK_DECLS_ONCE([getw]) if test $ac_cv_have_decl_getw = no; then HAVE_DECL_GETW=0 fi AC_CHECK_DECLS_ONCE([putw]) if test $ac_cv_have_decl_putw = no; then HAVE_DECL_PUTW=0 fi ]) # gl_STDIO_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_STDIO_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_STDIO_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STDIO_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCLOSE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FDOPEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFLUSH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FGETC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FGETS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FOPEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FOPEN_GNU]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPURGE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPUTC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPUTS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREAD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREOPEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSCANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSEEK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSEEKO]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FTELL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FTELLO]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FWRITE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETCHAR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETDELIM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLINE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OBSTACK_PRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OBSTACK_PRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OBSTACK_ZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PCLOSE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PERROR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POPEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTCHAR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMOVE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RENAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RENAMEAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SCANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SNPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SNZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SPRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STDIO_H_NONBLOCKING]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STDIO_H_SIGPIPE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TMPFILE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VASPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VASZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFSCANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSCANF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VDPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VDZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFPRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VPRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSNPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSNZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSPRINTF_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VZPRINTF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ZPRINTF]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FCLOSEALL], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FDOPEN], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FILENO], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GETW], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_PUTW], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_TEMPNAM], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_STDIO_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ]) AC_DEFUN([gl_STDIO_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_FCLOSEALL=1; AC_SUBST([HAVE_DECL_FCLOSEALL]) HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO]) HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO]) HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) HAVE_DECL_GETW=1; AC_SUBST([HAVE_DECL_GETW]) HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) HAVE_DECL_PUTW=1; AC_SUBST([HAVE_DECL_PUTW]) HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) HAVE_PCLOSE=1; AC_SUBST([HAVE_PCLOSE]) HAVE_POPEN=1; AC_SUBST([HAVE_POPEN]) HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) REPLACE_FDOPEN=0; AC_SUBST([REPLACE_FDOPEN]) REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) REPLACE_FOPEN_FOR_FOPEN_GNU=0; AC_SUBST([REPLACE_FOPEN_FOR_FOPEN_GNU]) REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM]) REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN]) REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE]) REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME]) REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT]) REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) REPLACE_STDIO_READ_FUNCS=0; AC_SUBST([REPLACE_STDIO_READ_FUNCS]) REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE]) REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) ]) datamash-1.9/m4/stdlib_h.m40000644000000000000000000003076414767401140011164 # stdlib_h.m4 # serial 84 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_STDLIB_H], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) gl_NEXT_HEADERS([stdlib.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include #if HAVE_SYS_LOADAVG_H /* OpenIndiana has a bug: must be included before . */ # include # include #endif #if HAVE_RANDOM_H # include #endif ]], [_Exit aligned_alloc atoll canonicalize_file_name free getloadavg getprogname getsubopt grantpt initstate initstate_r mbstowcs mbtowc mkdtemp mkostemp mkostemps mkstemp mkstemps posix_memalign posix_openpt ptsname ptsname_r qsort_r random random_r reallocarray realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtol strtold strtoll strtoul strtoull unlockpt unsetenv]) AC_REQUIRE([AC_C_RESTRICT]) dnl Test whether MB_CUR_MAX needs to be overridden. dnl On Solaris 10, in UTF-8 locales, its value is 3 but needs to be 4. dnl Fortunately, we can do this because on this platform MB_LEN_MAX is 5. AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gt_LOCALE_EN_UTF8]) AC_CACHE_CHECK([whether MB_CUR_MAX is correct], [gl_cv_macro_MB_CUR_MAX_good], [AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[return !!MB_CUR_MAX;]]) ], [dnl Initial guess, used when cross-compiling or when no suitable locale dnl is present. # Guess no on Solaris and Haiku, yes otherwise. AS_CASE([$host_os], [solaris* | haiku*], [gl_cv_macro_MB_CUR_MAX_good="guessing no"], [gl_cv_macro_MB_CUR_MAX_good="guessing yes"]) if test "$LOCALE_EN_UTF8" != none; then AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main () { int result = 0; if (setlocale (LC_ALL, "$LOCALE_EN_UTF8") != NULL) { if (MB_CUR_MAX < 4) result |= 1; } return result; }]])], [gl_cv_macro_MB_CUR_MAX_good=yes], [gl_cv_macro_MB_CUR_MAX_good=no], [:]) fi ], [gl_cv_macro_MB_CUR_MAX_good="link failed - so no"]) ]) AS_CASE([$gl_cv_macro_MB_CUR_MAX_good], [*yes], [], ["link failed - so no"], [# 4 suffices as a workaround in Android NDK 16, # the only known platform with the bug. REPLACE_MB_CUR_MAX=4], [REPLACE_MB_CUR_MAX="(-1)"]) AC_CHECK_DECLS_ONCE([ecvt]) if test $ac_cv_have_decl_ecvt = no; then HAVE_DECL_ECVT=0 fi AC_CHECK_DECLS_ONCE([fcvt]) if test $ac_cv_have_decl_fcvt = no; then HAVE_DECL_FCVT=0 fi AC_CHECK_DECLS_ONCE([gcvt]) if test $ac_cv_have_decl_gcvt = no; then HAVE_DECL_GCVT=0 fi ]) # gl_STDLIB_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_STDLIB_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_STDLIB_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STDLIB_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB__EXIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ABORT_DEBUG]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ALIGNED_ALLOC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATOLL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CALLOC_GNU]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CALLOC_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CANONICALIZE_FILE_NAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREE_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOADAVG]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPROGNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETSUBOPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GRANTPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MALLOC_GNU]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MALLOC_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSTOWCS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBTOWC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKDTEMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKOSTEMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKOSTEMPS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKSTEMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKSTEMPS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POSIX_MEMALIGN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POSIX_OPENPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTSNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTSNAME_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTENV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_QSORT_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RAND]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RANDOM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RANDOM_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REALLOCARRAY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REALLOC_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REALPATH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RPMATCH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SECURE_GETENV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETENV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STACK_TRACE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOF]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOLD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOLL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOUL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOULL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SYSTEM_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNLOCKPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNSETENV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTOMB]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_ECVT], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FCVT], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GCVT], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_MKTEMP], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_PUTENV], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_STDLIB_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ]) AC_DEFUN([gl_STDLIB_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) HAVE_ALIGNED_ALLOC=1; AC_SUBST([HAVE_ALIGNED_ALLOC]) HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) HAVE_DECL_ECVT=1; AC_SUBST([HAVE_DECL_ECVT]) HAVE_DECL_FCVT=1; AC_SUBST([HAVE_DECL_FCVT]) HAVE_DECL_GCVT=1; AC_SUBST([HAVE_DECL_GCVT]) HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) HAVE_DECL_PROGRAM_INVOCATION_NAME=1; AC_SUBST([HAVE_DECL_PROGRAM_INVOCATION_NAME]) HAVE_GETPROGNAME=1; AC_SUBST([HAVE_GETPROGNAME]) HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT]) HAVE_INITSTATE=1; AC_SUBST([HAVE_INITSTATE]) HAVE_DECL_INITSTATE=1; AC_SUBST([HAVE_DECL_INITSTATE]) HAVE_MBTOWC=1; AC_SUBST([HAVE_MBTOWC]) HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP]) HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS]) HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP]) HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS]) HAVE_POSIX_MEMALIGN=1; AC_SUBST([HAVE_POSIX_MEMALIGN]) HAVE_POSIX_OPENPT=1; AC_SUBST([HAVE_POSIX_OPENPT]) HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME]) HAVE_PTSNAME_R=1; AC_SUBST([HAVE_PTSNAME_R]) HAVE_QSORT_R=1; AC_SUBST([HAVE_QSORT_R]) HAVE_RANDOM=1; AC_SUBST([HAVE_RANDOM]) HAVE_RANDOM_H=1; AC_SUBST([HAVE_RANDOM_H]) HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) HAVE_REALLOCARRAY=1; AC_SUBST([HAVE_REALLOCARRAY]) HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH]) HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) HAVE_SECURE_GETENV=1; AC_SUBST([HAVE_SECURE_GETENV]) HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) HAVE_DECL_SETENV=1; AC_SUBST([HAVE_DECL_SETENV]) HAVE_SETSTATE=1; AC_SUBST([HAVE_SETSTATE]) HAVE_DECL_SETSTATE=1; AC_SUBST([HAVE_DECL_SETSTATE]) HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) HAVE_STRTOF=1; AC_SUBST([HAVE_STRTOF]) HAVE_STRTOL=1; AC_SUBST([HAVE_STRTOL]) HAVE_STRTOLD=1; AC_SUBST([HAVE_STRTOLD]) HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) HAVE_STRTOUL=1; AC_SUBST([HAVE_STRTOUL]) HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT]) HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV]) REPLACE__EXIT=0; AC_SUBST([REPLACE__EXIT]) REPLACE_ABORT=0; AC_SUBST([REPLACE_ABORT]) REPLACE_ALIGNED_ALLOC=0; AC_SUBST([REPLACE_ALIGNED_ALLOC]) REPLACE_CALLOC_FOR_CALLOC_GNU=0; AC_SUBST([REPLACE_CALLOC_FOR_CALLOC_GNU]) REPLACE_CALLOC_FOR_CALLOC_POSIX=0; AC_SUBST([REPLACE_CALLOC_FOR_CALLOC_POSIX]) REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) REPLACE_FREE=0; AC_SUBST([REPLACE_FREE]) REPLACE_GETLOADAVG=0; AC_SUBST([REPLACE_GETLOADAVG]) REPLACE_GETPROGNAME=0; AC_SUBST([REPLACE_GETPROGNAME]) REPLACE_GETSUBOPT=0; AC_SUBST([REPLACE_GETSUBOPT]) REPLACE_INITSTATE=0; AC_SUBST([REPLACE_INITSTATE]) REPLACE_MALLOC_FOR_MALLOC_GNU=0; AC_SUBST([REPLACE_MALLOC_FOR_MALLOC_GNU]) REPLACE_MALLOC_FOR_MALLOC_POSIX=0; AC_SUBST([REPLACE_MALLOC_FOR_MALLOC_POSIX]) REPLACE_MB_CUR_MAX=0; AC_SUBST([REPLACE_MB_CUR_MAX]) REPLACE_MBSTOWCS=0; AC_SUBST([REPLACE_MBSTOWCS]) REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC]) REPLACE_MKOSTEMP=0; AC_SUBST([REPLACE_MKOSTEMP]) REPLACE_MKOSTEMPS=0; AC_SUBST([REPLACE_MKOSTEMPS]) REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) REPLACE_POSIX_MEMALIGN=0; AC_SUBST([REPLACE_POSIX_MEMALIGN]) REPLACE_POSIX_OPENPT=0; AC_SUBST([REPLACE_POSIX_OPENPT]) REPLACE_PTSNAME=0; AC_SUBST([REPLACE_PTSNAME]) REPLACE_PTSNAME_R=0; AC_SUBST([REPLACE_PTSNAME_R]) REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) REPLACE_QSORT_R=0; AC_SUBST([REPLACE_QSORT_R]) REPLACE_RAND=0; AC_SUBST([REPLACE_RAND]) REPLACE_RANDOM=0; AC_SUBST([REPLACE_RANDOM]) REPLACE_RANDOM_R=0; AC_SUBST([REPLACE_RANDOM_R]) REPLACE_REALLOC_FOR_REALLOC_POSIX=0; AC_SUBST([REPLACE_REALLOC_FOR_REALLOC_POSIX]) REPLACE_REALLOCARRAY=0; AC_SUBST([REPLACE_REALLOCARRAY]) REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) REPLACE_SETSTATE=0; AC_SUBST([REPLACE_SETSTATE]) REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) REPLACE_STRTOF=0; AC_SUBST([REPLACE_STRTOF]) REPLACE_STRTOL=0; AC_SUBST([REPLACE_STRTOL]) REPLACE_STRTOLD=0; AC_SUBST([REPLACE_STRTOLD]) REPLACE_STRTOLL=0; AC_SUBST([REPLACE_STRTOLL]) REPLACE_STRTOUL=0; AC_SUBST([REPLACE_STRTOUL]) REPLACE_STRTOULL=0; AC_SUBST([REPLACE_STRTOULL]) REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) CAN_PRINT_STACK_TRACE=0; AC_SUBST([CAN_PRINT_STACK_TRACE]) ]) datamash-1.9/m4/stdnoreturn.m40000644000000000000000000000374214767401140011757 # stdnoreturn.m4 # serial 1 dnl Copyright 2012-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Check for stdnoreturn.h that conforms to C11. # Prepare for substituting if it is not supported. AC_DEFUN([gl_STDNORETURN_H], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in cygwin*) dnl Regardless whether a working exists or not, dnl we need our own , because of the definition dnl of _Noreturn done by gnulib-common.m4. GL_GENERATE_STDNORETURN_H=true ;; *) AC_CACHE_CHECK([for working stdnoreturn.h], [gl_cv_header_working_stdnoreturn_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include #if defined _WIN32 && !defined __CYGWIN__ # include #endif /* Do not check for 'noreturn' after the return type. C11 allows it, but it's rarely done that way and circa-2012 bleeding-edge GCC rejects it when given -Werror=old-style-declaration. */ noreturn void foo1 (void) { exit (0); } _Noreturn void foo2 (void) { exit (0); } int testit (int argc, char **argv) { if (argc & 1) return 0; (argv[0][0] ? foo1 : foo2) (); } ]])], [gl_cv_header_working_stdnoreturn_h=yes], [gl_cv_header_working_stdnoreturn_h=no])]) if test $gl_cv_header_working_stdnoreturn_h = yes; then GL_GENERATE_STDNORETURN_H=false else GL_GENERATE_STDNORETURN_H=true fi ;; esac ]) datamash-1.9/m4/stpcpy.m40000644000000000000000000000156614767401140010714 # stpcpy.m4 # serial 11 dnl Copyright (C) 2002, 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STPCPY], [ dnl Persuade glibc to declare stpcpy(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl The stpcpy() declaration in lib/string.in.h uses 'restrict'. AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_STRING_H_DEFAULTS]) gl_CHECK_FUNCS_ANDROID([stpcpy], [[#include ]]) if test $ac_cv_func_stpcpy = no; then HAVE_STPCPY=0 case "$gl_cv_onwards_func_stpcpy" in future*) REPLACE_STPCPY=1 ;; esac fi ]) # Prerequisites of lib/stpcpy.c. AC_DEFUN([gl_PREREQ_STPCPY], [ : ]) datamash-1.9/m4/strcasecmp.m40000644000000000000000000000336114767402206011535 # strcasecmp.m4 # serial 2 dnl Copyright (C) 2002-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRCASECMP], [ AC_REQUIRE([gl_STRINGS_H_DEFAULTS]) AC_CHECK_FUNCS([strcasecmp]) if test $ac_cv_func_strcasecmp = yes; then gl_STRCASECMP_WORKS case "$gl_cv_func_strcasecmp_works" in *yes) ;; *) REPLACE_STRCASECMP=1 ;; esac else HAVE_STRCASECMP=0 fi ]) AC_DEFUN([gl_STRCASECMP_WORKS], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether strcasecmp works], [gl_cv_func_strcasecmp_works], [dnl Prepare a guess, used when cross-compiling or when specific locales dnl are not available. case "$host_os" in solaris* | cygwin*) gl_cv_func_strcasecmp_works="guessing no" ;; *) gl_cv_func_strcasecmp_works="guessing yes" ;; esac AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #include #include int main () { if (setlocale (LC_ALL, "fr_FR.ISO-8859-1") != NULL || setlocale (LC_ALL, "fr_FR.ISO8859-1") != NULL) { int c1 = (unsigned char) '\311'; int c2 = (unsigned char) '\351'; if (tolower (c1) == c2 && toupper (c2) == c1) return strcasecmp ("Fej\311r", "Fej\351r") != 0; } return 2; }]])], [gl_cv_func_strcasecmp_works=yes], [if test $? = 1; then gl_cv_func_strcasecmp_works=no fi ], []) ]) ]) # Prerequisites of lib/strcasecmp.c. AC_DEFUN([gl_PREREQ_STRCASECMP], [ : ]) datamash-1.9/m4/strdup.m40000644000000000000000000000156214767401140010707 # strdup.m4 # serial 16 dnl Copyright (C) 2002-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRDUP], [ AC_REQUIRE([gl_STRING_H_DEFAULTS]) AC_CHECK_DECLS_ONCE([strdup]) if test $ac_cv_have_decl_strdup = no; then HAVE_DECL_STRDUP=0 fi ]) AC_DEFUN([gl_FUNC_STRDUP_POSIX], [ AC_REQUIRE([gl_STRING_H_DEFAULTS]) AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) case "$gl_cv_func_malloc_posix" in *yes) ;; *) REPLACE_STRDUP=1 ;; esac AC_CHECK_DECLS_ONCE([strdup]) if test $ac_cv_have_decl_strdup = no; then HAVE_DECL_STRDUP=0 fi ]) # Prerequisites of lib/strdup.c. AC_DEFUN([gl_PREREQ_STRDUP], [:]) datamash-1.9/m4/strerror.m40000644000000000000000000000740114767401140011246 # strerror.m4 # serial 25 dnl Copyright (C) 2002, 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRERROR], [ AC_REQUIRE([gl_STRING_H_DEFAULTS]) AC_REQUIRE([gl_HEADER_ERRNO_H]) AC_REQUIRE([gl_FUNC_STRERROR_0]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) ]) if test "$GL_GENERATE_ERRNO_H:$REPLACE_STRERROR_0" = false:0; then AC_CACHE_CHECK([for working strerror function], [gl_cv_func_working_strerror], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[if (!*strerror (-2)) return 1;]])], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_working_strerror="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_working_strerror="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_working_strerror" in *yes) ;; *) dnl The system's strerror() fails to return a string for out-of-range dnl integers. Replace it. REPLACE_STRERROR=1 ;; esac m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's dnl buffer, we must replace strerror. case "$gl_cv_func_strerror_r_works" in *no) REPLACE_STRERROR=1 ;; esac ]) else dnl The system's strerror() cannot know about the new errno values we add dnl to , or any fix for strerror(0). Replace it. REPLACE_STRERROR=1 fi ]) dnl Detect if strerror(0) passes (that is, does not set errno, and does not dnl return a string that matches strerror(-1)). AC_DEFUN([gl_FUNC_STRERROR_0], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles REPLACE_STRERROR_0=0 AC_CACHE_CHECK([whether strerror(0) succeeds], [gl_cv_func_strerror_0_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include #include ]], [[int result = 0; char *str; errno = 0; str = strerror (0); if (!*str) result |= 1; if (errno) result |= 2; if (strstr (str, "nknown") || strstr (str, "ndefined")) result |= 4; return result;]])], [gl_cv_func_strerror_0_works=yes], [gl_cv_func_strerror_0_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_strerror_0_works="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_strerror_0_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_strerror_0_works="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_strerror_0_works" in *yes) ;; *) REPLACE_STRERROR_0=1 AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0) does not return a message implying success.]) ;; esac ]) datamash-1.9/m4/string_h.m40000644000000000000000000001771714767402206011220 # string_h.m4 # serial 44 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Configure a GNU-like replacement for . # Written by Paul Eggert. AC_DEFUN_ONCE([gl_STRING_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_STRING_H_DEFAULTS]) gl_NEXT_HEADERS([string.h]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], [explicit_bzero ffsl ffsll memmem mempcpy memrchr memset_explicit rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_l strerror_r strerrorname_np sigabbrev_np sigdescr_np strsignal strverscmp]) AC_REQUIRE([AC_C_RESTRICT]) ]) # gl_STRING_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_STRING_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_STRING_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_STRING_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STRING_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPLICIT_BZERO]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFSL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFSLL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMMEM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMPCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMRCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMSET_EXPLICIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RAWMEMCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STPCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STPNCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCHRNUL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRDUP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNCAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNDUP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNLEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRPBRK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSEP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSTR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCASESTR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOK_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STR_STARTSWITH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STR_ENDSWITH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSLEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNLEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSRCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSSTR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSPCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCASESTR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCSPN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSPBRK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSSPN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSSEP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSTOK_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBS_STARTSWITH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBS_ENDSWITH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERROR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERROR_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERROR_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERRORNAME_NP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGABBREV_NP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGDESCR_NP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSIGNAL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRVERSCMP]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_MEMCCPY], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_STRDUP], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_STRING_H_MODULE_INDICATOR_DEFAULTS]) dnl Make sure the shell variable for GNULIB_FREE_POSIX is initialized. gl_STDLIB_H_REQUIRE_DEFAULTS AC_REQUIRE([gl_STRING_H_DEFAULTS]) ]) AC_DEFUN([gl_STRING_H_DEFAULTS], [ HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) dnl Assume proper GNU behavior unless another module says otherwise. HAVE_EXPLICIT_BZERO=1; AC_SUBST([HAVE_EXPLICIT_BZERO]) HAVE_FFSL=1; AC_SUBST([HAVE_FFSL]) HAVE_FFSLL=1; AC_SUBST([HAVE_FFSLL]) HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) HAVE_MEMSET_EXPLICIT=1; AC_SUBST([HAVE_MEMSET_EXPLICIT]) HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) HAVE_DECL_STRERROR_R=1; AC_SUBST([HAVE_DECL_STRERROR_R]) HAVE_STRERROR_L=1; AC_SUBST([HAVE_STRERROR_L]) HAVE_STRERRORNAME_NP=1; AC_SUBST([HAVE_STRERRORNAME_NP]) HAVE_SIGABBREV_NP=1; AC_SUBST([HAVE_SIGABBREV_NP]) HAVE_SIGDESCR_NP=1; AC_SUBST([HAVE_SIGDESCR_NP]) HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) REPLACE_FFSLL=0; AC_SUBST([REPLACE_FFSLL]) REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) REPLACE_MEMPCPY=0; AC_SUBST([REPLACE_MEMPCPY]) REPLACE_MEMSET_EXPLICIT=0; AC_SUBST([REPLACE_MEMSET_EXPLICIT]) REPLACE_STPCPY=0; AC_SUBST([REPLACE_STPCPY]) REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY]) REPLACE_STRCHRNUL=0; AC_SUBST([REPLACE_STRCHRNUL]) REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT]) REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP]) REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN]) REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R]) REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) REPLACE_STRERROR_R=0; AC_SUBST([REPLACE_STRERROR_R]) REPLACE_STRERROR_L=0; AC_SUBST([REPLACE_STRERROR_L]) REPLACE_STRERRORNAME_NP=0; AC_SUBST([REPLACE_STRERRORNAME_NP]) REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) REPLACE_STRVERSCMP=0; AC_SUBST([REPLACE_STRVERSCMP]) UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R]) ]) datamash-1.9/m4/strings_h.m40000644000000000000000000000556614767402206011402 # strings_h.m4 # serial 14 dnl Copyright (C) 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Configure a replacement for . AC_DEFUN_ONCE([gl_STRINGS_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_STRINGS_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([strings.h]) if test $ac_cv_header_strings_h = yes; then HAVE_STRINGS_H=1 else HAVE_STRINGS_H=0 fi AC_SUBST([HAVE_STRINGS_H]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Minix 3.1.8 has a bug: must be included before . */ #include #include ]], [ffs strcasecmp strcasecmp_l strncasecmp strncasecmp_l]) ]) # gl_STRINGS_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_STRINGS_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_STRINGS_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_STRINGS_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STRINGS_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCASECMP_L]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNCASECMP_L]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_STRINGS_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_STRINGS_H_DEFAULTS]) ]) AC_DEFUN([gl_STRINGS_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FFS=1; AC_SUBST([HAVE_FFS]) HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP]) HAVE_STRCASECMP_L=1; AC_SUBST([HAVE_STRCASECMP_L]) HAVE_STRNCASECMP=1; AC_SUBST([HAVE_STRNCASECMP]) HAVE_STRNCASECMP_L=1; AC_SUBST([HAVE_STRNCASECMP_L]) HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP]) REPLACE_STRCASECMP=0; AC_SUBST([REPLACE_STRCASECMP]) REPLACE_STRCASECMP_L=0; AC_SUBST([REPLACE_STRCASECMP_L]) REPLACE_STRNCASECMP=0; AC_SUBST([REPLACE_STRNCASECMP]) REPLACE_STRNCASECMP_L=0; AC_SUBST([REPLACE_STRNCASECMP_L]) ]) datamash-1.9/m4/strncasecmp.m40000644000000000000000000000162214767402206011711 # strncasecmp.m4 # serial 2 dnl Copyright (C) 2002-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRNCASECMP], [ AC_REQUIRE([gl_STRINGS_H_DEFAULTS]) AC_CHECK_FUNCS([strncasecmp]) if test $ac_cv_func_strncasecmp = yes; then dnl Assume that strncasecmp and strcasecmp share the same bugs. gl_STRCASECMP_WORKS case "$gl_cv_func_strcasecmp_works" in *yes) ;; *) REPLACE_STRNCASECMP=1 ;; esac else HAVE_STRNCASECMP=0 fi AC_CHECK_DECLS([strncasecmp]) if test $ac_cv_have_decl_strncasecmp = no; then HAVE_DECL_STRNCASECMP=0 fi ]) # Prerequisites of lib/strncasecmp.c. AC_DEFUN([gl_PREREQ_STRNCASECMP], [ : ]) datamash-1.9/m4/strnlen.m40000644000000000000000000000502014767401140011044 # strnlen.m4 # serial 15 dnl Copyright (C) 2002-2003, 2005-2007, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. m4_version_prereq([2.73], [], [ # Replace AC_FUNC_STRNLEN from Autoconf 2.72 and earlier, # which does not check for Android strnlen bugs. AC_DEFUN([AC_FUNC_STRNLEN], [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])dnl AC_CACHE_CHECK([for working strnlen], [ac_cv_func_strnlen_working], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [AC_INCLUDES_DEFAULT [/* Use pstrnlen to test; 'volatile' prevents the compiler from optimizing the strnlen calls away. */ size_t (*volatile pstrnlen) (char const *, size_t) = strnlen; char const s[] = "foobar"; int s_len = sizeof s - 1; ]], [[ /* AIX 4.3 is buggy: strnlen (S, 1) == 3. */ int i; for (i = 0; i < s_len + 1; ++i) { int expected = i <= s_len ? i : s_len; if (pstrnlen (s, i) != expected) return 1; } /* Android 5.0 (API 21) strnlen ("", SIZE_MAX) incorrectly crashes. */ if (pstrnlen ("", -1) != 0) return 1;]])], [ac_cv_func_strnlen_working=yes], [ac_cv_func_strnlen_working=no], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [[#if defined _AIX && !defined _AIX51 #error "AIX pre 5.1 is buggy" #endif #ifdef __ANDROID__ #include #if __ANDROID_API__ < 22 #error "Android API < 22 is buggy" #endif #endif ]])], [ac_cv_func_strnlen_working=yes], [ac_cv_func_strnlen_working=no])])]) test $ac_cv_func_strnlen_working = no && AC_LIBOBJ([strnlen]) ])# AC_FUNC_STRNLEN ]) AC_DEFUN([gl_FUNC_STRNLEN], [ AC_REQUIRE([gl_STRING_H_DEFAULTS]) dnl Persuade glibc to declare strnlen(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([strnlen]) if test $ac_cv_have_decl_strnlen = no; then HAVE_DECL_STRNLEN=0 else m4_pushdef([AC_LIBOBJ], [:]) dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]). AC_FUNC_STRNLEN m4_popdef([AC_LIBOBJ]) if test $ac_cv_func_strnlen_working = no; then REPLACE_STRNLEN=1 fi fi ]) # Prerequisites of lib/strnlen.c. AC_DEFUN([gl_PREREQ_STRNLEN], [:]) datamash-1.9/m4/strsep.m40000644000000000000000000000140114767401140010676 # strsep.m4 # serial 11 dnl Copyright (C) 2002-2004, 2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRSEP], [ dnl Persuade glibc to declare strsep(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl The strsep() declaration in lib/string.in.h uses 'restrict'. AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_STRING_H_DEFAULTS]) AC_CHECK_FUNCS([strsep]) if test $ac_cv_func_strsep = no; then HAVE_STRSEP=0 fi ]) # Prerequisites of lib/strsep.c. AC_DEFUN([gl_PREREQ_STRSEP], [:]) datamash-1.9/m4/strtod.m40000644000000000000000000001407714767401140010712 # strtod.m4 # serial 31 dnl Copyright (C) 2002-2003, 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRTOD], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles m4_ifdef([gl_FUNC_STRTOD_OBSOLETE], [ dnl Test whether strtod is declared. dnl Don't call AC_FUNC_STRTOD, because it does not have the right guess dnl when cross-compiling. dnl Don't call AC_CHECK_FUNCS([strtod]) because it would collide with the dnl ac_cv_func_strtod variable set by the AC_FUNC_STRTOD macro. AC_CHECK_DECLS_ONCE([strtod]) if test $ac_cv_have_decl_strtod != yes; then HAVE_STRTOD=0 fi ]) if test $HAVE_STRTOD = 1; then AC_CACHE_CHECK([whether strtod obeys C99], [gl_cv_func_strtod_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #include #include /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (double x, double y) { return x == y; } ]], [[ int result = 0; { /* In some old versions of Linux (2000 or before), strtod mis-parses strings with leading '+'. */ const char *string = " +69"; char *term; double value = strtod (string, &term); if (value != 69 || term != (string + 4)) result |= 1; } { /* Under Solaris 2.4, strtod returns the wrong value for the terminating character under some conditions. */ const char *string = "NaN"; char *term; strtod (string, &term); if (term != string && *(term - 1) == 0) result |= 1; } { /* Older glibc and Cygwin mis-parse "-0x". */ const char *string = "-0x"; char *term; double value = strtod (string, &term); double zero = 0.0; if (1.0 / value != -1.0 / zero || term != (string + 2)) result |= 2; } { /* Many platforms do not parse hex floats. */ const char *string = "0XaP+1"; char *term; double value = strtod (string, &term); if (value != 20.0 || term != (string + 6)) result |= 4; } { /* Many platforms do not parse infinities. HP-UX 11.31 parses inf, but mistakenly sets errno. */ const char *string = "inf"; char *term; double value; errno = 0; value = strtod (string, &term); if (value != HUGE_VAL || term != (string + 3) || errno) result |= 8; } { /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */ const char *string = "nan()"; char *term; double value = strtod (string, &term); if (numeric_equal (value, value) || term != (string + 5)) result |= 16; } { /* Darwin 10.6.1 (macOS 10.6.6) misparses "nan(". */ const char *string = "nan("; char *term; double value = strtod (string, &term); if (numeric_equal (value, value) || term != (string + 3)) result |= 16; } #ifndef _MSC_VER /* On MSVC, this is expected behaviour. */ { /* In Cygwin 2.9, strtod does not set errno upon gradual underflow. */ const char *string = "1e-320"; char *term; double value; errno = 0; value = strtod (string, &term); if (term != (string + 6) || (value > 0.0 && value <= DBL_MIN && errno != ERANGE)) result |= 32; } #endif { /* strtod could not set errno upon flush-to-zero underflow. */ const char *string = "1E-100000"; char *term; double value; errno = 0; value = strtod (string, &term); if (term != (string + 9) || (value == 0.0L && errno != ERANGE)) result |= 64; } return result; ]])], [gl_cv_func_strtod_works=yes], [result=$? if expr $result '>=' 64 >/dev/null; then gl_cv_func_strtod_works="no (underflow problem)" else if expr $result '>=' 32 >/dev/null; then gl_cv_func_strtod_works="no (gradual underflow problem)" else gl_cv_func_strtod_works=no fi fi ], [dnl The last known bugs in glibc strtod(), as of this writing, dnl were fixed in version 2.8 AC_EGREP_CPP([Lucky user], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ && !defined __UCLIBC__ Lucky user #endif #endif ], [gl_cv_func_strtod_works="guessing yes"], [case "$host_os" in # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_strtod_works="guessing yes" ;; # Guess 'no (gradual underflow problem)' on Cygwin. cygwin*) gl_cv_func_strtod_works="guessing no (gradual underflow problem)" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_strtod_works="guessing yes" ;; *) gl_cv_func_strtod_works="$gl_cross_guess_normal" ;; esac ]) ]) ]) case "$gl_cv_func_strtod_works" in *yes) ;; *) REPLACE_STRTOD=1 case "$gl_cv_func_strtod_works" in *"no (underflow problem)") AC_DEFINE([STRTOD_HAS_UNDERFLOW_BUG], [1], [Define to 1 if strtod does not set errno upon flush-to-zero underflow.]) ;; *"no (gradual underflow problem)") AC_DEFINE([STRTOD_HAS_GRADUAL_UNDERFLOW_PROBLEM], [1], [Define to 1 if strtod does not set errno upon gradual underflow.]) ;; esac ;; esac fi ]) # Prerequisites of lib/strtod.c. AC_DEFUN([gl_PREREQ_STRTOD], [ AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM]) if test $gl_cv_func_ldexp_no_libm = yes; then AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1], [Define if the ldexp function is available in libc.]) fi gl_CHECK_FUNCS_ANDROID([nl_langinfo], [[#include ]]) ]) datamash-1.9/m4/strtold.m40000644000000000000000000001356514767401140011067 # strtold.m4 # serial 10 dnl Copyright (C) 2002-2003, 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRTOLD], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([strtold]) if test $ac_cv_func_strtold != yes; then HAVE_STRTOLD=0 else AC_CACHE_CHECK([whether strtold obeys POSIX], [gl_cv_func_strtold_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include #include #include #include #include /* Compare two numbers with ==. This is a separate function because IRIX 6.5 "cc -O" miscompiles an 'x == x' test. */ static int numeric_equal (long double x, long double y) { return x == y; } ]], [[ int result = 0; { /* Under Solaris 2.4, strtod returns the wrong value for the terminating character under some conditions. */ const char *string = "NaN"; char *term; strtold (string, &term); if (term != string && *(term - 1) == 0) result |= 1; } { /* Older glibc and Cygwin mis-parse "-0x". */ const char *string = "-0x"; char *term; long double value = strtold (string, &term); long double zero = 0.0L; if (1.0L / value != -1.0L / zero || term != (string + 2)) result |= 2; } { /* IRIX 6.5, mingw do not parse hex floats. */ const char *string = "0XaP+1"; char *term; long double value = strtold (string, &term); if (value != 20.0L || term != (string + 6)) result |= 4; } { /* IRIX 6.5 does not parse infinities. HP-UX 11.31/ia64 parses inf, but mistakenly sets errno. */ const char *string = "inf"; char *term; long double value; errno = 0; value = strtold (string, &term); if (value != HUGE_VAL || term != (string + 3) || errno) result |= 8; } { /* glibc-2.3.2, IRIX 6.5, mingw, Haiku misparse "nan()". */ const char *string = "nan()"; char *term; long double value = strtold (string, &term); if (numeric_equal (value, value) || term != (string + 5)) result |= 16; } { /* Mac OS X 10.5, IRIX 6.5 misparse "nan(". */ const char *string = "nan("; char *term; long double value = strtold (string, &term); if (numeric_equal (value, value) || term != (string + 3)) result |= 16; } #ifndef _MSC_VER /* On MSVC, this is expected behaviour. */ { /* In Cygwin 2.9 and mingw 5.0, strtold does not set errno upon gradual underflow. */ # if LDBL_MAX_EXP > 10000 const char *string = "1e-4950"; # else const char *string = "1e-320"; # endif char *term; long double value; errno = 0; value = strtold (string, &term); if (term != (string + strlen (string)) || (value > 0.0L && value <= LDBL_MIN && errno != ERANGE)) result |= 32; } #endif { /* In Cygwin 2.9, strtold does not set errno upon flush-to-zero underflow. */ const char *string = "1E-100000"; char *term; long double value; errno = 0; value = strtold (string, &term); if (term != (string + 9) || (value == 0.0L && errno != ERANGE)) result |= 64; } return result; ]])], [gl_cv_func_strtold_works=yes], [result=$? if expr $result '>=' 64 >/dev/null; then gl_cv_func_strtold_works="no (underflow problem)" else if expr $result '>=' 32 >/dev/null; then gl_cv_func_strtold_works="no (gradual underflow problem)" else gl_cv_func_strtold_works=no fi fi ], [dnl The last known bugs in glibc strtold(), as of this writing, dnl were fixed in version 2.8 AC_EGREP_CPP([Lucky user], [ #include #ifdef __GNU_LIBRARY__ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \ && !defined __UCLIBC__ Lucky user #endif #endif ], [gl_cv_func_strtold_works="guessing yes"], [case "$host_os" in # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_strtold_works="guessing yes" ;; # Guess 'no (underflow problem)' on Cygwin. cygwin*) gl_cv_func_strtold_works="guessing no (underflow problem)" ;; # Guess 'no (gradual underflow problem)' on mingw. # (Although the results may vary depending on # __USE_MINGW_ANSI_STDIO.) mingw* | windows*) gl_cv_func_strtold_works="guessing no (gradual underflow problem)" ;; *) gl_cv_func_strtold_works="$gl_cross_guess_normal" ;; esac ]) ]) ]) case "$gl_cv_func_strtold_works" in *yes) ;; *) REPLACE_STRTOLD=1 case "$gl_cv_func_strtold_works" in *"no (underflow problem)") AC_DEFINE([STRTOLD_HAS_UNDERFLOW_BUG], [1], [Define to 1 if strtold does not set errno upon flush-to-zero underflow.]) ;; *"no (gradual underflow problem)") AC_DEFINE([STRTOLD_HAS_GRADUAL_UNDERFLOW_PROBLEM], [1], [Define to 1 if strtold does not set errno upon gradual underflow.]) ;; esac ;; esac fi ]) # Prerequisites of lib/strtold.c. AC_DEFUN([gl_PREREQ_STRTOLD], [ AC_REQUIRE([gl_CHECK_LDEXPL_NO_LIBM]) if test $gl_cv_func_ldexpl_no_libm = yes; then AC_DEFINE([HAVE_LDEXPL_IN_LIBC], [1], [Define if the ldexpl function is available in libc.]) fi gl_CHECK_FUNCS_ANDROID([nl_langinfo], [[#include ]]) ]) datamash-1.9/m4/strtoll.m40000644000000000000000000000455114767401140011072 # strtoll.m4 # serial 12 dnl Copyright (C) 2002, 2004, 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRTOLL], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS([strtoll]) if test $ac_cv_func_strtoll = yes; then AC_CACHE_CHECK([whether strtoll works], [gl_cv_func_strtoll_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; char *term; /* This test fails on Minix and native Windows. */ { static char const input[2][3] = {"0x", "0b"}; static int const base[] = {0, 2, 10}; int i, j; for (i = 0; i < 2; i++) for (j = 0; j < 3; j++) { (void) strtoll (input[i], &term, base[j]); if (term != input[i] + 1) result |= 1; } } /* This test fails on pre-C23 platforms. */ { const char input[] = "0b1"; (void) strtoll (input, &term, 2); if (term != input + 3) result |= 2; } return result; ]]) ], [gl_cv_func_strtoll_works=yes], [gl_cv_func_strtoll_works=no], [case "$host_os" in # Guess no on native Windows. mingw* | windows*) gl_cv_func_strtoll_works="guessing no" ;; # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_strtoll_works="guessing no" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_strtoll_works="guessing no" ;; *) gl_cv_func_strtoll_works="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_strtoll_works" in *yes) ;; *) REPLACE_STRTOLL=1 ;; esac else HAVE_STRTOLL=0 fi ]) # Prerequisites of lib/strtoll.c. AC_DEFUN([gl_PREREQ_STRTOLL], [ : ]) datamash-1.9/m4/strtoull.m40000644000000000000000000000417614767401140011262 # strtoull.m4 # serial 11 dnl Copyright (C) 2002, 2004, 2006, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRTOULL], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS([strtoull]) if test $ac_cv_func_strtoull = yes; then AC_CACHE_CHECK([whether strtoull works], [gl_cv_func_strtoull_works], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[int result = 0; char *term; /* This test fails on Minix and native Windows. */ { const char input[] = "0x"; (void) strtoull (input, &term, 16); if (term != input + 1) result |= 1; } /* This test fails on pre-C23 platforms. */ { const char input[] = "0b1"; (void) strtoull (input, &term, 2); if (term != input + 3) result |= 2; } return result; ]]) ], [gl_cv_func_strtoull_works=yes], [gl_cv_func_strtoull_works=no], [case "$host_os" in # Guess no on native Windows. mingw* | windows*) gl_cv_func_strtoull_works="guessing no" ;; # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_strtoull_works="guessing no" ;; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_strtoull_works="guessing no" ;; *) gl_cv_func_strtoull_works="$gl_cross_guess_normal" ;; esac ]) ]) case "$gl_cv_func_strtoull_works" in *yes) ;; *) REPLACE_STRTOULL=1 ;; esac else HAVE_STRTOULL=0 fi ]) # Prerequisites of lib/strtoull.c. AC_DEFUN([gl_PREREQ_STRTOULL], [ : ]) datamash-1.9/m4/strtoumax.m40000644000000000000000000000162014767401140011427 # strtoumax.m4 # serial 13 dnl Copyright (C) 2002-2004, 2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_STRTOUMAX], [ AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) dnl On OSF/1 5.1 with cc, this function is declared but not defined. AC_CHECK_FUNCS_ONCE([strtoumax]) AC_CHECK_DECLS_ONCE([strtoumax]) if test "$ac_cv_have_decl_strtoumax" = yes; then if test "$ac_cv_func_strtoumax" != yes; then # HP-UX 11.11 has "#define strtoimax(...) ..." but no function. REPLACE_STRTOUMAX=1 fi else HAVE_DECL_STRTOUMAX=0 fi ]) # Prerequisites of lib/strtoumax.c. AC_DEFUN([gl_PREREQ_STRTOUMAX], [ AC_CHECK_DECLS([strtoull]) ]) datamash-1.9/m4/sys_cdefs_h.m40000644000000000000000000000163614767401140011661 # sys_cdefs_h.m4 - Is compatible enough with glibc? # serial 2 dnl Copyright 2024-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Paul Eggert. AC_DEFUN_ONCE([gl_CHECK_HEADER_SYS_CDEFS_H], [AC_CACHE_CHECK([for glibc-compatible sys/cdefs.h], [gl_cv_header_sys_cdefs_h], [AC_COMPILE_IFELSE( [AC_LANG_DEFINES_PROVIDED [#include enum { foo = __GNUC_PREREQ (14, 1) } bar; ]], [gl_cv_header_sys_cdefs_h=yes], [gl_cv_header_sys_cdefs_h=no])]) if test "$gl_cv_header_sys_cdefs_h" = yes; then HAVE_SYS_CDEFS_H=1 else HAVE_SYS_CDEFS_H=0 fi AC_SUBST([HAVE_SYS_CDEFS_H])]) datamash-1.9/m4/sys_random_h.m40000644000000000000000000000463714767401140012061 # sys_random_h.m4 # serial 8 dnl Copyright (C) 2020-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_SYS_RANDOM_H], [ AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/random.h]) if test $ac_cv_header_sys_random_h = yes; then HAVE_SYS_RANDOM_H=1 else HAVE_SYS_RANDOM_H=0 fi AC_SUBST([HAVE_SYS_RANDOM_H]) m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) if test $ac_cv_header_sys_random_h = yes; then UNISTD_H_HAVE_SYS_RANDOM_H=1 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_SYS_RANDOM_H /* Additional includes are needed before on uClibc and Mac OS X. */ # include # include # include #endif ]], [getrandom]) ]) # gl_SYS_RANDOM_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_SYS_RANDOM_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_SYS_RANDOM_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SYS_RANDOM_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_RANDOM_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETRANDOM]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_RANDOM_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) ]) AC_DEFUN([gl_SYS_RANDOM_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_GETRANDOM=1; AC_SUBST([HAVE_GETRANDOM]) REPLACE_GETRANDOM=0; AC_SUBST([REPLACE_GETRANDOM]) ]) datamash-1.9/m4/sys_socket_h.m40000644000000000000000000001701714767402206012071 # sys_socket_h.m4 # serial 31 dnl Copyright (C) 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Simon Josefsson. AC_DEFUN_ONCE([gl_SYS_SOCKET_H], [ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have dnl old-style declarations (with return type 'int' instead of 'ssize_t') dnl unless _POSIX_PII_SOCKET is defined. case "$host_os" in osf*) AC_DEFINE([_POSIX_PII_SOCKET], [1], [Define to 1 in order to get the POSIX compatible declarations of socket functions.]) ;; esac GL_GENERATE_SYS_SOCKET_H=false AC_CACHE_CHECK([whether is self-contained], [gl_cv_header_sys_socket_h_selfcontained], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], [gl_cv_header_sys_socket_h_selfcontained=yes], [gl_cv_header_sys_socket_h_selfcontained=no]) ]) if test $gl_cv_header_sys_socket_h_selfcontained = yes; then dnl If the shutdown function exists, should define dnl SHUT_RD, SHUT_WR, SHUT_RDWR. AC_CHECK_FUNCS([shutdown]) if test $ac_cv_func_shutdown = yes; then AC_CACHE_CHECK([whether defines the SHUT_* macros], [gl_cv_header_sys_socket_h_shut], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };]])], [gl_cv_header_sys_socket_h_shut=yes], [gl_cv_header_sys_socket_h_shut=no]) ]) if test $gl_cv_header_sys_socket_h_shut = no; then GL_GENERATE_SYS_SOCKET_H=true fi fi fi # We need to check for ws2tcpip.h now. gl_PREREQ_SYS_H_SOCKET gl_PREREQ_SYS_SA_FAMILY if test $ac_cv_type_struct_sockaddr_storage = no; then HAVE_STRUCT_SOCKADDR_STORAGE=0 fi if test $ac_cv_type_struct_sockaddr_storage != no; then AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family], [], [HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0], [#include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) fi if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then GL_GENERATE_SYS_SOCKET_H=true fi gl_PREREQ_SYS_H_WINSOCK2 dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ /* Some systems require prerequisite headers. */ #include #include ]], [socket connect accept bind getpeername getsockname getsockopt listen recv send recvfrom sendto setsockopt shutdown accept4]) AC_REQUIRE([AC_C_RESTRICT]) ]) AC_DEFUN([gl_PREREQ_SYS_H_SOCKET], [ dnl Check prerequisites of the replacement. AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) gl_CHECK_NEXT_HEADERS([sys/socket.h]) if test $ac_cv_header_sys_socket_h = yes; then HAVE_SYS_SOCKET_H=1 else HAVE_SYS_SOCKET_H=0 fi AC_SUBST([HAVE_SYS_SOCKET_H]) gl_PREREQ_SYS_H_WS2TCPIP ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_WINSOCK2_H. AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2], [ m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) AC_CHECK_HEADERS_ONCE([sys/socket.h]) if test $ac_cv_header_sys_socket_h != yes; then dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make dnl the check for those headers unconditional; yet cygwin reports dnl that the headers are present but cannot be compiled (since on dnl cygwin, all socket information should come from sys/socket.h). AC_CHECK_HEADERS([winsock2.h]) fi if test "$ac_cv_header_winsock2_h" = yes; then HAVE_WINSOCK2_H=1 UNISTD_H_HAVE_WINSOCK2_H=1 SYS_IOCTL_H_HAVE_WINSOCK2_H=1 else HAVE_WINSOCK2_H=0 fi AC_SUBST([HAVE_WINSOCK2_H]) ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_WS2TCPIP_H. AC_DEFUN([gl_PREREQ_SYS_H_WS2TCPIP], [ AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) if test $ac_cv_header_sys_socket_h = yes; then HAVE_WS2TCPIP_H=0 else if test $ac_cv_header_ws2tcpip_h = yes; then HAVE_WS2TCPIP_H=1 else HAVE_WS2TCPIP_H=0 fi fi AC_SUBST([HAVE_WS2TCPIP_H]) ]) # Common prerequisites of the replacement and of the # replacement. # Sets and substitutes HAVE_SA_FAMILY_T. AC_DEFUN([gl_PREREQ_SYS_SA_FAMILY], [ AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) AC_CHECK_TYPES([struct sockaddr_storage, sa_family_t],,,[ /* sys/types.h is not needed according to POSIX, but the sys/socket.h in i386-unknown-freebsd4.10 and powerpc-apple-darwin5.5 required it. */ #include #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_WS2TCPIP_H #include #endif ]) if test $ac_cv_type_sa_family_t = yes; then HAVE_SA_FAMILY_T=1 else HAVE_SA_FAMILY_T=0 fi AC_SUBST([HAVE_SA_FAMILY_T]) ]) # gl_SYS_SOCKET_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_SYS_SOCKET_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SYS_SOCKET_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_SOCKET_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SOCKET]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CONNECT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACCEPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_BIND]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPEERNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETSOCKNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETSOCKOPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LISTEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RECV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SEND]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RECVFROM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SENDTO]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETSOCKOPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SHUTDOWN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACCEPT4]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_SOCKET_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) ]) AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], [ HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY]) HAVE_ACCEPT4=1; AC_SUBST([HAVE_ACCEPT4]) ]) datamash-1.9/m4/sys_stat_h.m40000644000000000000000000001232214767401140011542 # sys_stat_h.m4 # serial 42 -*- Autoconf -*- dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Eric Blake. dnl Provide a GNU-like . AC_DEFUN_ONCE([gl_SYS_STAT_H], [ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) dnl Check for broken stat macros. AC_REQUIRE([AC_HEADER_STAT]) gl_CHECK_NEXT_HEADERS([sys/stat.h]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Whether to enable precise timestamps in 'struct stat'. m4_ifdef([gl_WINDOWS_STAT_TIMESPEC], [ AC_REQUIRE([gl_WINDOWS_STAT_TIMESPEC]) ], [ WINDOWS_STAT_TIMESPEC=0 ]) AC_SUBST([WINDOWS_STAT_TIMESPEC]) dnl Whether to ensure that struct stat.st_size is 64-bit wide. m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([gl_LARGEFILE]) ], [ WINDOWS_64_BIT_ST_SIZE=0 ]) AC_SUBST([WINDOWS_64_BIT_ST_SIZE]) dnl Define types that are supposed to be defined in or dnl . AC_CHECK_TYPE([nlink_t], [], [AC_DEFINE([nlink_t], [int], [Define to the type of st_nlink in struct stat, or a supertype.])], [#include #include ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [chmod fchmodat fstat fstatat futimens getumask lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat]) AC_REQUIRE([AC_C_RESTRICT]) ]) # gl_SYS_STAT_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_SYS_STAT_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SYS_STAT_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_STAT_H_MODULE_INDICATOR_DEFAULTS], [ gl_UNISTD_H_REQUIRE_DEFAULTS dnl for REPLACE_FCHDIR gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CHMOD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCHMODAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSTAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSTATAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FUTIMENS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETUMASK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LCHMOD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LSTAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKDIR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKDIRAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKFIFO]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKFIFOAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKNOD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKNODAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UTIMENSAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OVERRIDES_STRUCT_STAT]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CHMOD], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_MKDIR], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_UMASK], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_STAT_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ]) AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT]) HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT]) HAVE_FUTIMENS=1; AC_SUBST([HAVE_FUTIMENS]) HAVE_GETUMASK=1; AC_SUBST([HAVE_GETUMASK]) HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD]) HAVE_LSTAT=1; AC_SUBST([HAVE_LSTAT]) HAVE_MKDIRAT=1; AC_SUBST([HAVE_MKDIRAT]) HAVE_MKFIFO=1; AC_SUBST([HAVE_MKFIFO]) HAVE_MKFIFOAT=1; AC_SUBST([HAVE_MKFIFOAT]) HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD]) HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT]) HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT]) REPLACE_CHMOD=0; AC_SUBST([REPLACE_CHMOD]) REPLACE_FCHMODAT=0; AC_SUBST([REPLACE_FCHMODAT]) REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT]) REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT]) REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS]) REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO]) REPLACE_MKFIFOAT=0; AC_SUBST([REPLACE_MKFIFOAT]) REPLACE_MKNOD=0; AC_SUBST([REPLACE_MKNOD]) REPLACE_MKNODAT=0; AC_SUBST([REPLACE_MKNODAT]) REPLACE_STAT=0; AC_SUBST([REPLACE_STAT]) REPLACE_UTIMENSAT=0; AC_SUBST([REPLACE_UTIMENSAT]) ]) datamash-1.9/m4/sys_types_h.m40000644000000000000000000000523714767402206011746 # sys_types_h.m4 # serial 15 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_SYS_TYPES_H], [ AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) dnl Use sane struct stat types in OpenVMS 8.2 and later. AC_DEFINE([_USE_STD_STAT], 1, [For standard stat data types on VMS.]) gl_NEXT_HEADERS([sys/types.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Ensure the type mode_t gets defined. AC_REQUIRE([AC_TYPE_MODE_T]) dnl Whether to override the 'off_t' type. AC_REQUIRE([gl_TYPE_OFF_T]) dnl Whether to define the 'off64_t' type. AC_REQUIRE([gl_TYPE_OFF64_T]) dnl Whether to override the 'dev_t' and 'ino_t' types. m4_ifdef([gl_WINDOWS_STAT_INODES], [ AC_REQUIRE([gl_WINDOWS_STAT_INODES]) ], [ WINDOWS_STAT_INODES=0 ]) AC_SUBST([WINDOWS_STAT_INODES]) dnl Test whether the 'blksize_t' type is defined. AC_CHECK_TYPE([blksize_t], [HAVE_BLKSIZE_T=1], [HAVE_BLKSIZE_T=0]) AC_SUBST([HAVE_BLKSIZE_T]) dnl Test whether the 'blkcnt_t' type is defined. AC_CHECK_TYPE([blkcnt_t], [HAVE_BLKCNT_T=1], [HAVE_BLKCNT_T=0]) AC_SUBST([HAVE_BLKCNT_T]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SYS_TYPES_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_TYPE_H_MODULE_INDICATOR_DEFAULTS], [ ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_TYPE_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) ]) AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS], [ ]) # This works around a buggy version in autoconf <= 2.69. # See # The 2.70 version isn't quoted properly, so override it too. m4_version_prereq([2.70.1], [], [ m4_undefine([AC_HEADER_MAJOR]) AC_DEFUN([AC_HEADER_MAJOR], [AC_CHECK_HEADERS_ONCE([sys/types.h]) AC_CHECK_HEADER([sys/mkdev.h], [AC_DEFINE([MAJOR_IN_MKDEV], [1], [Define to 1 if `major', `minor', and `makedev' are declared in .])]) if test $ac_cv_header_sys_mkdev_h = no; then AC_CHECK_HEADER([sys/sysmacros.h], [AC_DEFINE([MAJOR_IN_SYSMACROS], [1], [Define to 1 if `major', `minor', and `makedev' are declared in .])]) fi ])# AC_HEADER_MAJOR ]) datamash-1.9/m4/sys_uio_h.m40000644000000000000000000000317214767401140011366 # sys_uio_h.m4 # serial 3 dnl Copyright (C) 2011-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_SYS_UIO_H], [ AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/uio.h]) if test $ac_cv_header_sys_uio_h = yes; then HAVE_SYS_UIO_H=1 else HAVE_SYS_UIO_H=0 fi AC_SUBST([HAVE_SYS_UIO_H]) ]) # gl_SYS_UIO_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_SYS_UIO_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_SYS_UIO_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SYS_UIO_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_UIO_H_MODULE_INDICATOR_DEFAULTS], [ ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_UIO_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) ]) AC_DEFUN([gl_SYS_UIO_H_DEFAULTS], [ ]) datamash-1.9/m4/sys_wait_h.m40000644000000000000000000000360614767401140011540 # sys_wait_h.m4 # serial 9 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_SYS_WAIT_H], [ AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS]) dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([sys/wait.h]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[#include ]], [waitpid]) ]) # gl_SYS_WAIT_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_SYS_WAIT_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_SYS_WAIT_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_SYS_WAIT_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_WAIT_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WAITPID]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_WAIT_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS]) ]) AC_DEFUN([gl_SYS_WAIT_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. ]) datamash-1.9/m4/threadlib.m40000644000000000000000000006222614771573666011352 # threadlib.m4 # serial 42 dnl Copyright (C) 2005-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. AC_PREREQ([2.60]) dnl The general structure of the multithreading modules in gnulib is that we dnl have three set of modules: dnl dnl * POSIX API: dnl pthread, which combines dnl pthread-h dnl pthread-thread dnl pthread-once dnl pthread-mutex dnl pthread-rwlock dnl pthread-cond dnl pthread-tss dnl pthread-spin dnl sched_yield dnl dnl * ISO C API: dnl threads, which combines dnl threads-h dnl thrd dnl mtx dnl cnd dnl tss dnl dnl * Gnulib API, with an implementation that can be chosen at configure dnl time through the option --enable-threads=... dnl thread dnl lock dnl cond dnl tls dnl yield dnl dnl They are independent, except for the fact that dnl - the implementation of the ISO C API may use the POSIX (or some other dnl platform dependent) API, dnl - the implementation of the Gnulib API may use the POSIX or ISO C or dnl some other platform dependent API, depending on the --enable-threads dnl option. dnl dnl This file contains macros for all of these APIs! dnl ============================================================================ dnl Macros for all thread APIs AC_DEFUN([gl_ANYTHREADLIB_EARLY], [ AC_REQUIRE([AC_CANONICAL_HOST]) if test -z "$gl_anythreadlib_early_done"; then case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_LINK_IFELSE test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac gl_anythreadlib_early_done=done fi ]) dnl Checks whether the compiler and linker support weak declarations of symbols. AC_DEFUN([gl_WEAK_SYMBOLS], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether imported symbols can be declared weak], [gl_cv_have_weak], [case "$host_os" in cygwin* | mingw* | windows*) dnl On Cygwin 3.2.0 with gcc 10.2, and likewise on mingw 10.0.0 with dnl gcc 11.3, the test below would succeed, but programs that use dnl pthread_in_use() with weak symbol references crash miserably at dnl runtime. gl_cv_have_weak="guessing no" ;; *) gl_cv_have_weak=no dnl First, test whether the compiler accepts it syntactically. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[extern void xyzzy (); #pragma weak xyzzy]], [[xyzzy();]])], [gl_cv_have_weak=maybe]) if test $gl_cv_have_weak = maybe; then dnl Second, test whether it actually works. On Cygwin 1.7.2, with dnl gcc 4.3, symbols declared weak always evaluate to the address 0. AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #pragma weak fputs int main () { return (fputs == NULL); }]])], [gl_cv_have_weak=yes], [gl_cv_have_weak=no], [dnl When cross-compiling, assume that only ELF platforms support dnl weak symbols. AC_EGREP_CPP([Extensible Linking Format], [#ifdef __ELF__ Extensible Linking Format #endif ], [gl_cv_have_weak="guessing yes"], [gl_cv_have_weak="guessing no"]) ]) fi ;; esac dnl But when linking statically, weak symbols don't work. case " $LDFLAGS " in *" -static "*) gl_cv_have_weak=no ;; esac dnl Test for a bug in FreeBSD 11: A link error occurs when using a weak dnl symbol and linking against a shared library that has a dependency on dnl the shared library that defines the symbol. case "$gl_cv_have_weak" in *yes) case "$host_os" in freebsd* | dragonfly* | midnightbsd*) : > conftest1.c $CC $CPPFLAGS $CFLAGS $LDFLAGS -fPIC -shared -o libempty.so conftest1.c -lpthread >&AS_MESSAGE_LOG_FD 2>&1 cat < conftest2.c #include #pragma weak pthread_mutexattr_gettype int main () { return (pthread_mutexattr_gettype != NULL); } EOF $CC $CPPFLAGS $CFLAGS $LDFLAGS -o conftest conftest2.c libempty.so >&AS_MESSAGE_LOG_FD 2>&1 \ || gl_cv_have_weak=no rm -f conftest1.c libempty.so conftest2.c conftest ;; esac ;; esac ]) case "$gl_cv_have_weak" in *yes) AC_DEFINE([HAVE_WEAK_SYMBOLS], [1], [Define to 1 if the compiler and linker support weak declarations of symbols.]) ;; esac ]) dnl ============================================================================ dnl Macros for the POSIX API dnl gl_PTHREADLIB dnl ------------- dnl Tests for the libraries needs for using the POSIX threads API. dnl Sets the variable LIBPTHREAD to the linker options for use in a Makefile. dnl Sets the variable LIBPMULTITHREAD, for programs that really need dnl multithread functionality. The difference between LIBPTHREAD and dnl LIBPMULTITHREAD is that on platforms supporting weak symbols, typically dnl LIBPTHREAD is empty whereas LIBPMULTITHREAD is not. dnl Sets the variable SCHED_YIELD_LIB to the linker options needed to use the dnl sched_yield() function. dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for dnl multithread-safe programs. dnl Defines the C macro HAVE_PTHREAD_API if (at least parts of) the POSIX dnl threads API is available. dnl The guts of gl_PTHREADLIB. Needs to be expanded only once. AC_DEFUN([gl_PTHREADLIB_BODY], [ AC_REQUIRE([gl_ANYTHREADLIB_EARLY]) if test -z "$gl_pthreadlib_body_done"; then gl_pthread_api=no LIBPTHREAD= LIBPMULTITHREAD= # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_ANYTHREADLIB_EARLY. AC_CHECK_HEADER([pthread.h], [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. # # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04 # needs -pthread for some reason. See: # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html saved_LIBS="$LIBS" for gl_pthread in '' '-pthread'; do LIBS="$LIBS $gl_pthread" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include pthread_mutex_t m; pthread_mutexattr_t ma; ]], [[pthread_mutex_lock (&m); pthread_mutexattr_init (&ma);]])], [gl_pthread_api=yes LIBPTHREAD=$gl_pthread LIBPMULTITHREAD=$gl_pthread]) LIBS="$saved_LIBS" test $gl_pthread_api = yes && break done echo "$as_me:__oline__: gl_pthread_api=$gl_pthread_api" >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: LIBPTHREAD=$LIBPTHREAD" >&AS_MESSAGE_LOG_FD gl_pthread_in_glibc=no # On Linux with glibc >= 2.34, libc contains the fully functional # pthread functions. case "$host_os" in linux*) AC_EGREP_CPP([Lucky user], [#include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34) || (__GLIBC__ > 2) Lucky user #endif #endif ], [gl_pthread_in_glibc=yes], []) ;; esac echo "$as_me:__oline__: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&AS_MESSAGE_LOG_FD # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test $gl_pthread_api = yes && test -z "$LIBPTHREAD"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. AC_CHECK_LIB([pthread], [pthread_kill], [if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. # On Solaris 10 or newer, this test is no longer needed, because # libc contains the fully functional pthread functions. case "$host_os" in changequote(,)dnl solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) changequote([,])dnl AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], [Define if the pthread_in_use() detection is hard.]) esac fi ], [dnl This is needed on FreeBSD 5.2.1. AC_CHECK_LIB([thr], [pthread_kill], [if test $gl_pthread_in_glibc = yes; then LIBPMULTITHREAD= else LIBPMULTITHREAD=-lthr fi ]) ]) elif test $gl_pthread_api != yes; then # Some library is needed. Try libpthread and libc_r. AC_CHECK_LIB([pthread], [pthread_kill], [gl_pthread_api=yes LIBPTHREAD=-lpthread LIBPMULTITHREAD=-lpthread]) if test $gl_pthread_api != yes; then # For FreeBSD 4. AC_CHECK_LIB([c_r], [pthread_kill], [gl_pthread_api=yes LIBPTHREAD=-lc_r LIBPMULTITHREAD=-lc_r]) fi fi echo "$as_me:__oline__: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&AS_MESSAGE_LOG_FD fi AC_MSG_CHECKING([whether POSIX threads API is available]) AC_MSG_RESULT([$gl_pthread_api]) AC_SUBST([LIBPTHREAD]) AC_SUBST([LIBPMULTITHREAD]) if test $gl_pthread_api = yes; then AC_DEFINE([HAVE_PTHREAD_API], [1], [Define if you have the header and the POSIX threads API.]) fi dnl On some systems, sched_yield is in librt, rather than in libpthread. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[sched_yield ();]])], [SCHED_YIELD_LIB= ], [dnl Solaris 7...10 has sched_yield in librt, not in libpthread or libc. AC_CHECK_LIB([rt], [sched_yield], [SCHED_YIELD_LIB=-lrt], [dnl Solaris 2.5.1, 2.6 has sched_yield in libposix4, not librt. AC_CHECK_LIB([posix4], [sched_yield], [SCHED_YIELD_LIB=-lposix4])]) ]) AC_SUBST([SCHED_YIELD_LIB]) dnl For backward compatibility. LIB_SCHED_YIELD="$SCHED_YIELD_LIB" AC_SUBST([LIB_SCHED_YIELD]) gl_pthreadlib_body_done=done fi ]) AC_DEFUN([gl_PTHREADLIB], [ AC_REQUIRE([gl_ANYTHREADLIB_EARLY]) gl_PTHREADLIB_BODY ]) dnl ============================================================================ dnl Macros for the ISO C API dnl gl_STDTHREADLIB dnl --------------- dnl Tests for the libraries needs for using the ISO C threads API. dnl Sets the variable LIBSTDTHREAD to the linker options for use in a Makefile. dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for dnl multithread-safe programs. dnl Defines the C macro HAVE_THREADS_H if (at least parts of) the ISO C threads dnl API is available. dnl The guts of gl_STDTHREADLIB. Needs to be expanded only once. AC_DEFUN([gl_STDTHREADLIB_BODY], [ AC_REQUIRE([gl_ANYTHREADLIB_EARLY]) AC_REQUIRE([AC_CANONICAL_HOST]) if test -z "$gl_stdthreadlib_body_done"; then AC_CHECK_HEADERS_ONCE([threads.h]) case "$host_os" in mingw* | windows*) LIBSTDTHREAD= ;; *) gl_PTHREADLIB_BODY if test $ac_cv_header_threads_h = yes; then dnl glibc >= 2.29 has thrd_create in libpthread. dnl FreeBSD >= 10 has thrd_create in libstdthreads; this library depends dnl on libpthread (for the symbol 'pthread_mutexattr_gettype'). dnl glibc >= 2.34, AIX >= 7.1, and Solaris >= 11.4 have thrd_create in dnl libc. gl_CHECK_FUNCS_ANDROID([thrd_create], [[#include ]]) if test $ac_cv_func_thrd_create = yes; then LIBSTDTHREAD= else AC_CHECK_LIB([stdthreads], [thrd_create], [ LIBSTDTHREAD='-lstdthreads -lpthread' ], [ dnl Guess that thrd_create is in libpthread. LIBSTDTHREAD="$LIBPMULTITHREAD" ]) fi else dnl Libraries needed by thrd.c, mtx.c, cnd.c, tss.c. LIBSTDTHREAD="$LIBPMULTITHREAD $SCHED_YIELD_LIB" fi ;; esac AC_SUBST([LIBSTDTHREAD]) AC_MSG_CHECKING([whether ISO C threads API is available]) AC_MSG_RESULT([$ac_cv_header_threads_h]) gl_stdthreadlib_body_done=done fi ]) AC_DEFUN([gl_STDTHREADLIB], [ AC_REQUIRE([gl_ANYTHREADLIB_EARLY]) gl_STDTHREADLIB_BODY ]) dnl ============================================================================ dnl Macros for the Gnulib API dnl gl_THREADLIB dnl ------------ dnl Tests for a multithreading library to be used. dnl If the configure.ac contains a definition of the gl_THREADLIB_DEFAULT_NO dnl (it must be placed before the invocation of gl_THREADLIB_EARLY!), then the dnl default is 'no', otherwise it is system dependent. In both cases, the user dnl can change the choice through the options --enable-threads=choice or dnl --disable-threads. dnl Defines at most one of the macros USE_ISOC_THREADS, USE_POSIX_THREADS, dnl USE_ISOC_AND_POSIX_THREADS, USE_WINDOWS_THREADS. dnl The choice --enable-threads=isoc+posix is available only on platforms that dnl have both the ISO C and the POSIX threads APIs. It has the effect of using dnl the ISO C API for most things and the POSIX API only for creating and dnl controlling threads (because there is no equivalent to pthread_atfork in dnl the ISO C API). dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with dnl libtool). dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for dnl programs that really need multithread functionality. The difference dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak dnl symbols, typically LIBTHREAD is empty whereas LIBMULTITHREAD is not. dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for dnl multithread-safe programs. dnl Since support for GNU pth was removed, $LTLIBTHREAD and $LIBTHREAD have the dnl same value, and similarly $LTLIBMULTITHREAD and $LIBMULTITHREAD have the dnl same value. Only system libraries are needed. AC_DEFUN([gl_THREADLIB_EARLY], [ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) ]) dnl The guts of gl_THREADLIB_EARLY. Needs to be expanded only once. AC_DEFUN([gl_THREADLIB_EARLY_BODY], [ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that dnl influences the result of the autoconf tests that test for *_unlocked dnl declarations, on AIX 5 at least. Therefore it must come early. AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl AC_BEFORE([$0], [gl_ARGP])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl Check for multithreading. m4_ifdef([gl_THREADLIB_DEFAULT_NO], [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) dnl gl_use_winpthreads_default defaults to 'no', because in mingw 10, like dnl in mingw 5, the use of libwinpthread still makes test-pthread-tss crash. m4_divert_text([DEFAULTS], [gl_use_winpthreads_default=no]) AC_ARG_ENABLE([threads], AS_HELP_STRING([[--enable-threads={isoc|posix|isoc+posix|windows}]], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ AS_HELP_STRING([[--disable-threads]], [build without multithread safety])]), [gl_use_threads=$enableval], [if test -n "$gl_use_threads_default"; then gl_use_threads="$gl_use_threads_default" else changequote(,)dnl case "$host_os" in dnl Disable multithreading by default on OSF/1, because it interferes dnl with fork()/exec(): When msgexec is linked with -lpthread, its dnl child process gets an endless segmentation fault inside execvp(). osf*) gl_use_threads=no ;; dnl Disable multithreading by default on Cygwin 1.5.x, because it has dnl bugs that lead to endless loops or crashes. See dnl . cygwin*) case `uname -r` in 1.[0-5].*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ;; dnl Obey gl_AVOID_WINPTHREAD on mingw. mingw* | windows*) case "$gl_use_winpthreads_default" in yes) gl_use_threads=posix ;; no) gl_use_threads=windows ;; *) gl_use_threads=yes ;; esac ;; *) gl_use_threads=yes ;; esac changequote([,])dnl fi ]) if test "$gl_use_threads" = yes \ || test "$gl_use_threads" = isoc \ || test "$gl_use_threads" = posix \ || test "$gl_use_threads" = isoc+posix; then # For using or : gl_ANYTHREADLIB_EARLY fi ]) dnl The guts of gl_THREADLIB. Needs to be expanded only once. AC_DEFUN([gl_THREADLIB_BODY], [ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then dnl Check whether the compiler and linker support weak declarations. gl_WEAK_SYMBOLS if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then dnl If we use weak symbols to implement pthread_in_use / pth_in_use / dnl thread_in_use, we also need to test whether the ISO C 11 thrd_create dnl facility is in use. AC_CHECK_HEADERS_ONCE([threads.h]) : fi if test "$gl_use_threads" = isoc || test "$gl_use_threads" = isoc+posix; then AC_CHECK_HEADERS_ONCE([threads.h]) gl_have_isoc_threads="$ac_cv_header_threads_h" fi if test "$gl_use_threads" = yes \ || test "$gl_use_threads" = posix \ || test "$gl_use_threads" = isoc+posix; then gl_PTHREADLIB_BODY LIBTHREAD=$LIBPTHREAD LTLIBTHREAD=$LIBPTHREAD LIBMULTITHREAD=$LIBPMULTITHREAD LTLIBMULTITHREAD=$LIBPMULTITHREAD if test $gl_pthread_api = yes; then if test "$gl_use_threads" = isoc+posix && test "$gl_have_isoc_threads" = yes; then gl_threads_api='isoc+posix' AC_DEFINE([USE_ISOC_AND_POSIX_THREADS], [1], [Define if the combination of the ISO C and POSIX multithreading APIs can be used.]) LIBTHREAD= LTLIBTHREAD= else gl_threads_api=posix AC_DEFINE([USE_POSIX_THREADS], [1], [Define if the POSIX multithreading library can be used.]) if test -z "$LIBMULTITHREAD" && test -z "$LTLIBMULTITHREAD"; then AC_DEFINE([USE_POSIX_THREADS_FROM_LIBC], [1], [Define if references to the POSIX multithreading library are satisfied by libc.]) else if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], [Define if references to the POSIX multithreading library should be made weak.]) LIBTHREAD= LTLIBTHREAD= else case "$host_os" in freebsd* | dragonfly* | midnightbsd*) if test "x$LIBTHREAD" != "x$LIBMULTITHREAD"; then dnl If weak symbols can't tell whether pthread_create(), pthread_key_create() dnl etc. will succeed, we need a runtime test. AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], [Define if the pthread_in_use() detection is hard.]) fi ;; esac fi fi fi fi fi if test $gl_threads_api = none; then if test "$gl_use_threads" = isoc && test "$gl_have_isoc_threads" = yes; then gl_STDTHREADLIB_BODY LIBTHREAD=$LIBSTDTHREAD LTLIBTHREAD=$LIBSTDTHREAD LIBMULTITHREAD=$LIBSTDTHREAD LTLIBMULTITHREAD=$LIBSTDTHREAD gl_threads_api=isoc AC_DEFINE([USE_ISOC_THREADS], [1], [Define if the ISO C multithreading library can be used.]) fi fi if test $gl_threads_api = none; then case "$gl_use_threads" in yes | windows | win32) # The 'win32' is for backward compatibility. if { case "$host_os" in mingw* | windows*) true;; *) false;; esac }; then gl_threads_api=windows AC_DEFINE([USE_WINDOWS_THREADS], [1], [Define if the native Windows multithreading API can be used.]) fi ;; esac fi else dnl "$gl_use_threads" is "no". AC_DEFINE([AVOID_ANY_THREADS], [1], [Define if no multithread safety and no multithreading is desired.]) fi AC_MSG_CHECKING([for multithread API to use]) AC_MSG_RESULT([$gl_threads_api]) AC_SUBST([LIBTHREAD]) AC_SUBST([LTLIBTHREAD]) AC_SUBST([LIBMULTITHREAD]) AC_SUBST([LTLIBMULTITHREAD]) ]) AC_DEFUN([gl_THREADLIB], [ AC_REQUIRE([gl_THREADLIB_EARLY]) AC_REQUIRE([gl_THREADLIB_BODY]) ]) dnl gl_DISABLE_THREADS dnl ------------------ dnl Sets the gl_THREADLIB default so that threads are not used by default. dnl The user can still override it at installation time, by using the dnl configure option '--enable-threads'. AC_DEFUN([gl_DISABLE_THREADS], [ m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) ]) dnl gl_AVOID_WINPTHREAD dnl ------------------- dnl Sets the gl_THREADLIB default so that on mingw, a dependency to the dnl libwinpthread DLL (mingw-w64 winpthreads library) is avoided. dnl The user can still override it at installation time, by using the dnl configure option '--enable-threads=posix'. dnl As of 2023, this is now the default. AC_DEFUN([gl_AVOID_WINPTHREAD], [ m4_divert_text([INIT_PREPARE], [gl_use_winpthreads_default=no]) ]) dnl ============================================================================ dnl Survey of platforms: dnl dnl Platform Available Compiler Supports test-lock dnl flavours option weak result dnl --------------- --------- --------- -------- --------- dnl Linux 2.4/glibc posix -lpthread Y OK dnl dnl Linux/glibc 2.34 posix Y OK dnl dnl GNU Hurd/glibc posix -lpthread Y OK dnl dnl Ubuntu 14.04 posix -pthread Y OK dnl dnl FreeBSD 5.3 posix -lc_r Y dnl posix -lkse ? Y dnl posix -lpthread ? Y dnl posix -lthr Y dnl dnl FreeBSD 5.2 posix -lc_r Y dnl posix -lkse Y dnl posix -lthr Y dnl dnl FreeBSD 4.0,4.10 posix -lc_r Y OK dnl dnl NetBSD 1.6 -- dnl dnl OpenBSD 3.4 posix -lpthread Y OK dnl dnl Mac OS X 10.[123] posix -lpthread Y OK dnl dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK dnl dnl HP-UX 11 posix -lpthread N (cc) OK dnl Y (gcc) dnl dnl IRIX 6.5 posix -lpthread Y 0.5 dnl dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK dnl dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK dnl -lpthread (gcc) Y dnl dnl Cygwin posix -lpthread Y OK dnl dnl Mingw windows N OK dnl dnl BeOS 5 -- dnl dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is dnl turned off: dnl OK if all three tests terminate OK, dnl 0.5 if the first test terminates OK but the second one loops endlessly, dnl 0.0 if the first test already loops endlessly. datamash-1.9/m4/time_h.m40000644000000000000000000001703114767401140010631 # time_h.m4 # serial 27 dnl Copyright (C) 2000-2001, 2003-2007, 2009-2025 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # Configure a more-standard replacement for . # Written by Paul Eggert and Jim Meyering. AC_DEFUN_ONCE([gl_TIME_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_TIME_H_DEFAULTS]) gl_NEXT_HEADERS([time.h]) AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #include ]], [ asctime asctime_r ctime ctime_r gmtime_r localtime localtime_r mktime nanosleep strftime strptime time timegm timespec_get timespec_getres tzset ]) AC_REQUIRE([AC_C_RESTRICT]) AC_CACHE_CHECK([for TIME_UTC in ], [gl_cv_time_h_has_TIME_UTC], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static int x = TIME_UTC; x++;]])], [gl_cv_time_h_has_TIME_UTC=yes], [gl_cv_time_h_has_TIME_UTC=no])]) if test $gl_cv_time_h_has_TIME_UTC = yes; then TIME_H_DEFINES_TIME_UTC=1 else TIME_H_DEFINES_TIME_UTC=0 fi AC_SUBST([TIME_H_DEFINES_TIME_UTC]) ]) dnl Check whether 'struct timespec' is declared dnl in time.h, sys/time.h, pthread.h, or unistd.h. AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [ AC_CHECK_HEADERS_ONCE([sys/time.h]) AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_time_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_time_h=yes], [gl_cv_sys_struct_timespec_in_time_h=no])]) TIME_H_DEFINES_STRUCT_TIMESPEC=0 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 UNISTD_H_DEFINES_STRUCT_TIMESPEC=0 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then TIME_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_sys_time_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_sys_time_h=yes], [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_pthread_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_pthread_h=yes], [gl_cv_sys_struct_timespec_in_pthread_h=no])]) if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 else AC_CACHE_CHECK([for struct timespec in ], [gl_cv_sys_struct_timespec_in_unistd_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], [gl_cv_sys_struct_timespec_in_unistd_h=yes], [gl_cv_sys_struct_timespec_in_unistd_h=no])]) if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then UNISTD_H_DEFINES_STRUCT_TIMESPEC=1 fi fi fi fi AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) AC_SUBST([UNISTD_H_DEFINES_STRUCT_TIMESPEC]) ]) # gl_TIME_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_TIME_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_TIME_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_TIME_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_TIME_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CTIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKTIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOCALTIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NANOSLEEP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRFTIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRPTIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIMEGM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIMESPEC_GET]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIMESPEC_GETRES]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIME_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIME_RZ]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TZNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TZSET]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_TZSET], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_TIME_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_TIME_H_DEFAULTS]) ]) AC_DEFUN([gl_TIME_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) HAVE_TIMESPEC_GET=1; AC_SUBST([HAVE_TIMESPEC_GET]) HAVE_TIMESPEC_GETRES=1; AC_SUBST([HAVE_TIMESPEC_GETRES]) dnl Even GNU libc does not have timezone_t and tzalloc() yet. HAVE_TIMEZONE_T=0; AC_SUBST([HAVE_TIMEZONE_T]) HAVE_TZALLOC=0; AC_SUBST([HAVE_TZALLOC]) REPLACE_CTIME=0; AC_SUBST([REPLACE_CTIME]) REPLACE_GMTIME=0; AC_SUBST([REPLACE_GMTIME]) REPLACE_LOCALTIME=0; AC_SUBST([REPLACE_LOCALTIME]) REPLACE_LOCALTIME_R=0; AC_SUBST([REPLACE_LOCALTIME_R]) REPLACE_LOCALTIME_RZ=0; AC_SUBST([REPLACE_LOCALTIME_RZ]) REPLACE_MKTIME=0; AC_SUBST([REPLACE_MKTIME]) REPLACE_MKTIME_Z=0; AC_SUBST([REPLACE_MKTIME_Z]) REPLACE_NANOSLEEP=0; AC_SUBST([REPLACE_NANOSLEEP]) REPLACE_STRFTIME=0; AC_SUBST([REPLACE_STRFTIME]) REPLACE_TIME=0; AC_SUBST([REPLACE_TIME]) REPLACE_TIMEGM=0; AC_SUBST([REPLACE_TIMEGM]) REPLACE_TIMESPEC_GET=0; AC_SUBST([REPLACE_TIMESPEC_GET]) REPLACE_TIMESPEC_GETRES=0; AC_SUBST([REPLACE_TIMESPEC_GETRES]) REPLACE_TZSET=0; AC_SUBST([REPLACE_TZSET]) ]) datamash-1.9/m4/trunc.m40000644000000000000000000000703614767401140010523 # trunc.m4 # serial 18 dnl Copyright (C) 2007, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_TRUNC], [ m4_divert_text([DEFAULTS], [gl_trunc_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) dnl Persuade glibc to declare trunc(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether trunc() is declared. AC_CHECK_DECLS([trunc], , , [[#include ]]) if test "$ac_cv_have_decl_trunc" = yes; then dnl Test whether trunc() can be used without libm. TRUNC_LIBM=? AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = trunc; double x;]], [[x = funcptr(x) + trunc(x);]])], [TRUNC_LIBM=]) if test "$TRUNC_LIBM" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include double (*funcptr) (double) = trunc; double x;]], [[x = funcptr(x) + trunc(x);]])], [TRUNC_LIBM="-lm"]) LIBS="$saved_LIBS" fi if test "$TRUNC_LIBM" = "?"; then TRUNC_LIBM= fi m4_ifdef([gl_FUNC_TRUNC_IEEE], [ if test $gl_trunc_required = ieee && test $REPLACE_TRUNC = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether trunc works according to ISO C 99 with IEC 60559], [gl_cv_func_trunc_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $TRUNC_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_DOUBLE_MINUS_ZERO_CODE[ ]gl_DOUBLE_SIGNBIT_CODE[ static double dummy (double f) { return 0; } int main (int argc, char *argv[]) { double (* volatile my_trunc) (double) = argc ? trunc : dummy; /* Test whether trunc (-0.0) is -0.0. */ if (signbitd (minus_zerod) && !signbitd (my_trunc (minus_zerod))) return 1; return 0; } ]])], [gl_cv_func_trunc_ieee=yes], [gl_cv_func_trunc_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_trunc_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_trunc_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_trunc_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_trunc_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_trunc_ieee" in *yes) ;; *) REPLACE_TRUNC=1 ;; esac fi ]) else HAVE_DECL_TRUNC=0 fi if test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1; then dnl No libraries are needed to link lib/trunc.c. TRUNC_LIBM= fi AC_SUBST([TRUNC_LIBM]) ]) datamash-1.9/m4/truncl.m40000644000000000000000000001134214767401140010672 # truncl.m4 # serial 20 dnl Copyright (C) 2007-2008, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_TRUNCL], [ m4_divert_text([DEFAULTS], [gl_truncl_required=plain]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare truncl(). AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) dnl Test whether truncl() is declared. AC_CHECK_DECLS([truncl], , , [[#include ]]) if test "$ac_cv_have_decl_truncl" = yes; then dnl Test whether truncl() can be used without libm. TRUNCL_LIBM=? AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = truncl; long double x;]], [[x = funcptr(x) + truncl(x);]])], [TRUNCL_LIBM=]) if test "$TRUNCL_LIBM" = "?"; then saved_LIBS="$LIBS" LIBS="$LIBS -lm" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include long double (*funcptr) (long double) = truncl; long double x;]], [[x = funcptr(x) + truncl(x);]])], [TRUNCL_LIBM="-lm"]) LIBS="$saved_LIBS" fi if test "$TRUNCL_LIBM" = "?"; then TRUNCL_LIBM= fi dnl Test whether truncl() works. It crashes on OSF/1 4.0d. saved_LIBS="$LIBS" LIBS="$LIBS $TRUNCL_LIBM" AC_CACHE_CHECK([whether truncl works], [gl_cv_func_truncl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include long double x; int main() { x = truncl (0.0L); return 0; }]])], [gl_cv_func_truncl_works=yes], [gl_cv_func_truncl_works=no], [case "$host_os" in osf4*) gl_cv_func_truncl_works="guessing no" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_truncl_works="guessing yes" ;; *) gl_cv_func_truncl_works="guessing yes" ;; esac ]) ]) LIBS="$saved_LIBS" case "$gl_cv_func_truncl_works" in *yes) ;; *) REPLACE_TRUNCL=1 ;; esac m4_ifdef([gl_FUNC_TRUNCL_IEEE], [ if test $gl_truncl_required = ieee && test $REPLACE_TRUNCL = 0; then AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether truncl works according to ISO C 99 with IEC 60559], [gl_cv_func_truncl_ieee], [ saved_LIBS="$LIBS" LIBS="$LIBS $TRUNCL_LIBM" AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include ]gl_LONG_DOUBLE_MINUS_ZERO_CODE[ ]gl_LONG_DOUBLE_SIGNBIT_CODE[ static long double dummy (long double f) { return 0; } int main (int argc, char *argv[]) { long double (* volatile my_truncl) (long double) = argc ? truncl : dummy; /* Test whether truncl (-0.3L) is -0.0L. */ if (signbitl (minus_zerol) && !signbitl (my_truncl (-0.3L))) return 1; return 0; } ]])], [gl_cv_func_truncl_ieee=yes], [gl_cv_func_truncl_ieee=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_truncl_ieee="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_truncl_ieee="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_truncl_ieee="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_truncl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$saved_LIBS" ]) case "$gl_cv_func_truncl_ieee" in *yes) ;; *) REPLACE_TRUNCL=1 ;; esac fi ]) else HAVE_DECL_TRUNCL=0 fi if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then dnl Find libraries needed to link lib/truncl.c. if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1; then AC_REQUIRE([gl_FUNC_TRUNC]) TRUNCL_LIBM="$TRUNC_LIBM" else TRUNCL_LIBM= fi fi AC_SUBST([TRUNCL_LIBM]) ]) datamash-1.9/m4/uchar_h.m40000644000000000000000000002202514767401140010774 # uchar_h.m4 # serial 31 dnl Copyright (C) 2019-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Prepare the overridden . AC_DEFUN_ONCE([gl_UCHAR_H], [ AC_REQUIRE([gl_UCHAR_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([uchar.h]) if test $ac_cv_header_uchar_h = yes; then HAVE_UCHAR_H=1 else HAVE_UCHAR_H=0 fi AC_SUBST([HAVE_UCHAR_H]) gl_TYPE_CHAR8_T gl_TYPE_CHAR16_T gl_TYPE_CHAR32_T dnl In C++ mode, clang defines 'char16_t' and 'char32_t' as built-in types dnl on some platforms (e.g. OpenBSD 6.7), and as types defined by many dnl header files (, , , , dnl and others) on some platforms (e.g. Mac OS X 10.13). dnl The same thing may also happen for 'char8_t'; so, be prepared for it. m4_ifdef([gl_ANSI_CXX], [AC_REQUIRE([gl_ANSI_CXX])]) CXX_HAS_UCHAR_TYPES=0 if test $HAVE_UCHAR_H = 0; then if test "$CXX" != no; then AC_CACHE_CHECK([whether the C++ compiler predefines the types], [gl_cv_cxx_has_uchar_types], [dnl We can't use AC_LANG_PUSH([C++]) and AC_LANG_POP([C++]) here, due to dnl an autoconf bug . cat > conftest.cpp <<\EOF #include char16_t a; char32_t b; EOF gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" if AC_TRY_EVAL([gl_command]); then gl_cv_cxx_has_uchar_types=yes else gl_cv_cxx_has_uchar_types=no fi rm -fr conftest* ]) if test $gl_cv_cxx_has_uchar_types = yes; then CXX_HAS_UCHAR_TYPES=1 fi fi fi AC_SUBST([CXX_HAS_UCHAR_TYPES]) CXX_HAS_CHAR8_TYPE=0 if test $HAVE_UCHAR_H = 0; then if test "$CXX" != no; then AC_CACHE_CHECK([whether the C++ compiler predefines the char8_t types], [gl_cv_cxx_has_char8_type], [dnl We can't use AC_LANG_PUSH([C++]) and AC_LANG_POP([C++]) here, due to dnl an autoconf bug . cat > conftest.cpp <<\EOF #include char8_t a; EOF gl_command="$CXX $CXXFLAGS $CPPFLAGS -c conftest.cpp" if AC_TRY_EVAL([gl_command]); then gl_cv_cxx_has_char8_type=yes else gl_cv_cxx_has_char8_type=no fi rm -fr conftest* ]) if test $gl_cv_cxx_has_char8_type = yes; then CXX_HAS_CHAR8_TYPE=1 fi fi fi AC_SUBST([CXX_HAS_CHAR8_TYPE]) dnl Test whether a 'char32_t' can hold more characters than a 'wchar_t'. gl_STDINT_BITSIZEOF([wchar_t], [gl_STDINT_INCLUDES]) if test $BITSIZEOF_WCHAR_T -lt 32; then SMALL_WCHAR_T=1 else SMALL_WCHAR_T=0 fi dnl SMALL_WCHAR_T is expected to be 1 on 32-bit AIX, Cygwin, native Windows. AC_SUBST([SMALL_WCHAR_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use, and which is not dnl guaranteed by C11. gl_WARN_ON_USE_PREPARE([[ #ifdef __HAIKU__ #include #endif #include ]], [c32rtomb mbrtoc16 mbrtoc32]) ]) AC_DEFUN_ONCE([gl_TYPE_CHAR8_T], [ dnl Determine whether gnulib's would, if present, override char8_t. AC_CACHE_CHECK([whether char8_t is correctly defined], [gl_cv_type_char8_t_works], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #ifdef __HAIKU__ #include #endif #include int verify[(char8_t)(-1) >= 0 && sizeof (char8_t) == sizeof (unsigned char) ? 1 : -1]; ]]) ], [gl_cv_type_char8_t_works=yes], [gl_cv_type_char8_t_works=no]) ]) if test $gl_cv_type_char8_t_works = no; then GNULIBHEADERS_OVERRIDE_CHAR8_T=1 else GNULIBHEADERS_OVERRIDE_CHAR8_T=0 fi AC_SUBST([GNULIBHEADERS_OVERRIDE_CHAR8_T]) ]) dnl On Haiku 2020, char16_t and char32_t are incorrectly defined. dnl See . AC_DEFUN_ONCE([gl_TYPE_CHAR16_T], [ dnl Determine whether gnulib's would, if present, override char16_t. AC_CACHE_CHECK([whether char16_t is correctly defined], [gl_cv_type_char16_t_works], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #ifdef __HAIKU__ #include #endif #include /* For simplicity, assume that uint16_least_t is equivalent to 'unsigned short'. */ int verify[(char16_t)(-1) >= 0 && sizeof (char16_t) == sizeof (unsigned short) ? 1 : -1]; ]]) ], [gl_cv_type_char16_t_works=yes], [gl_cv_type_char16_t_works=no]) ]) if test $gl_cv_type_char16_t_works = no; then GNULIBHEADERS_OVERRIDE_CHAR16_T=1 else GNULIBHEADERS_OVERRIDE_CHAR16_T=0 fi AC_SUBST([GNULIBHEADERS_OVERRIDE_CHAR16_T]) ]) AC_DEFUN_ONCE([gl_TYPE_CHAR32_T], [ dnl Determine whether gnulib's would, if present, override char32_t. AC_CACHE_CHECK([whether char32_t is correctly defined], [gl_cv_type_char32_t_works], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[ #ifdef __HAIKU__ #include #endif #include /* For simplicity, assume that uint32_least_t is equivalent to 'unsigned int'. */ int verify[(char32_t)(-1) >= 0 && sizeof (char32_t) == sizeof (unsigned int) ? 1 : -1]; ]]) ], [gl_cv_type_char32_t_works=yes], [gl_cv_type_char32_t_works=no]) ]) if test $gl_cv_type_char32_t_works = no; then GNULIBHEADERS_OVERRIDE_CHAR32_T=1 else GNULIBHEADERS_OVERRIDE_CHAR32_T=0 fi AC_SUBST([GNULIBHEADERS_OVERRIDE_CHAR32_T]) ]) # gl_UCHAR_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_UCHAR_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_UCHAR_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_UCHAR_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_UCHAR_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_BTOC32]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISALNUM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISALPHA]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISBLANK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISCNTRL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISDIGIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISGRAPH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISLOWER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISPRINT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISPUNCT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISSPACE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISUPPER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32ISXDIGIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32TOLOWER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32TOUPPER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32WIDTH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32RTOMB]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32SNRTOMBS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32SRTOMBS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32STOMBS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32SWIDTH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32TOB]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32_APPLY_MAPPING]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32_APPLY_TYPE_TEST]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32_GET_MAPPING]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_C32_GET_TYPE_TEST]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBRTOC16]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBRTOC32]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNRTOC32S]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSRTOC32S]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSTOC32S]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_UCHAR_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_UCHAR_H_DEFAULTS]) ]) AC_DEFUN([gl_UCHAR_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_C32RTOMB=1; AC_SUBST([HAVE_C32RTOMB]) HAVE_MBRTOC16=1; AC_SUBST([HAVE_MBRTOC16]) HAVE_MBRTOC32=1; AC_SUBST([HAVE_MBRTOC32]) REPLACE_C32RTOMB=0; AC_SUBST([REPLACE_C32RTOMB]) REPLACE_MBRTOC16=0; AC_SUBST([REPLACE_MBRTOC16]) REPLACE_MBRTOC32=0; AC_SUBST([REPLACE_MBRTOC32]) ]) datamash-1.9/m4/ungetc.m40000644000000000000000000000546114767401140010655 # ungetc.m4 # serial 12 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether ungetc works on arbitrary bytes], [gl_cv_func_ungetc_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include ]], [[FILE *f; if (!(f = fopen ("conftest.tmp", "w+"))) return 1; if (fputs ("abc", f) < 0) { fclose (f); return 2; } rewind (f); if (fgetc (f) != 'a') { fclose (f); return 3; } if (fgetc (f) != 'b') { fclose (f); return 4; } if (ungetc ('d', f) != 'd') { fclose (f); return 5; } if (ftell (f) != 1) { fclose (f); return 6; } if (fgetc (f) != 'd') { fclose (f); return 7; } if (ftell (f) != 2) { fclose (f); return 8; } if (fseek (f, 0, SEEK_CUR) != 0) { fclose (f); return 9; } if (ftell (f) != 2) { fclose (f); return 10; } if (fgetc (f) != 'c') { fclose (f); return 11; } fclose (f); remove ("conftest.tmp"); ]])], [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no], [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on bionic systems. *-android*) gl_cv_func_ungetc_works="guessing yes" ;; # Guess yes on native Windows. mingw* | windows*) gl_cv_func_ungetc_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_ungetc_works="$gl_cross_guess_normal" ;; esac ]) ]) gl_ftello_broken_after_ungetc=no case "$gl_cv_func_ungetc_works" in *yes) ;; *) dnl On macOS >= 10.15, where the above program fails with exit code 6, dnl we fix it through an ftello override. case "$host_os" in darwin*) gl_ftello_broken_after_ungetc=yes ;; *) AC_DEFINE([FUNC_UNGETC_BROKEN], [1], [Define to 1 if ungetc is broken when used on arbitrary bytes.]) ;; esac ;; esac ]) datamash-1.9/m4/unicase_h.m40000644000000000000000000000346614767401140011331 # unicase_h.m4 # serial 1 dnl Copyright (C) 2023-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_UNICASE_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_UNICASE_H_DEFAULTS]) ]) # gl_UNICASE_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_UNICASE_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_UNICASE_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_UNICASE_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_UNICASE_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICASE_EMPTY_PREFIX_CONTEXT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICASE_EMPTY_SUFFIX_CONTEXT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_UNICASE_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_UNICASE_H_DEFAULTS]) ]) AC_DEFUN([gl_UNICASE_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. ]) datamash-1.9/m4/unictype_h.m40000644000000000000000000004356714767401140011550 # unictype_h.m4 # serial 4 dnl Copyright (C) 2023-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_UNICTYPE_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_UNICTYPE_H_DEFAULTS]) ]) # gl_UNICTYPE_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_UNICTYPE_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_UNICTYPE_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_UNICTYPE_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_UNICTYPE_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_L_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_LC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_LU_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_LL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_LT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_LM_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_LO_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_M_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_MN_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_MC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_ME_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_N_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_ND_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_NL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_NO_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_P_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PD_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PS_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PI_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PF_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_PO_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_S_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_SM_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_SC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_SK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_SO_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_Z_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_ZS_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_ZL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_ZP_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_C_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_CC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_CF_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_CS_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_CO_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_CATEGORY_CN_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_WHITE_SPACE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ALPHABETIC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_ALPHABETIC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_NOT_A_CHARACTER_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_DEFAULT_IGNORABLE_CODE_POINT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_DEPRECATED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_LOGICAL_ORDER_EXCEPTION_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_VARIATION_SELECTOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PRIVATE_USE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_UNASSIGNED_CODE_VALUE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_UPPERCASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_UPPERCASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_LOWERCASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_LOWERCASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_TITLECASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CASED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CASE_IGNORABLE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_LOWERCASED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_UPPERCASED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_TITLECASED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEFOLDED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CHANGES_WHEN_CASEMAPPED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_SOFT_DOTTED_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ID_START_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_ID_START_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ID_CONTINUE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_ID_CONTINUE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_XID_START_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_XID_CONTINUE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_START_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ID_COMPAT_MATH_CONTINUE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PATTERN_WHITE_SPACE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PATTERN_SYNTAX_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_JOIN_CONTROL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_GRAPHEME_BASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_GRAPHEME_EXTEND_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_GRAPHEME_EXTEND_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_GRAPHEME_LINK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_MODIFIER_COMBINING_MARK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_CONTROL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_LEFT_TO_RIGHT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_HEBREW_RIGHT_TO_LEFT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_RIGHT_TO_LEFT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_EUROPEAN_DIGIT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_SEPARATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_EUR_NUM_TERMINATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_ARABIC_DIGIT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_COMMON_SEPARATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_BLOCK_SEPARATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_SEGMENT_SEPARATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_WHITESPACE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_NON_SPACING_MARK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_BOUNDARY_NEUTRAL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_PDF_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_EMBEDDING_OR_OVERRIDE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_BIDI_OTHER_NEUTRAL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_HEX_DIGIT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ASCII_HEX_DIGIT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_IDEOGRAPHIC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_UNIFIED_IDEOGRAPH_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_RADICAL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_IDS_UNARY_OPERATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_IDS_BINARY_OPERATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_IDS_TRINARY_OPERATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EMOJI_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EMOJI_PRESENTATION_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EMOJI_MODIFIER_BASE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EMOJI_COMPONENT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EXTENDED_PICTOGRAPHIC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ZERO_WIDTH_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_SPACE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_NON_BREAK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_ISO_CONTROL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_FORMAT_CONTROL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PREPENDED_CONCATENATION_MARK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_DASH_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_HYPHEN_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PUNCTUATION_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_LINE_SEPARATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PARAGRAPH_SEPARATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_QUOTATION_MARK_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_SENTENCE_TERMINAL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_TERMINAL_PUNCTUATION_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_CURRENCY_SYMBOL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_MATH_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_OTHER_MATH_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_PAIRED_PUNCTUATION_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_LEFT_OF_PAIR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_COMBINING_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_COMPOSITE_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_DECIMAL_DIGIT_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_NUMERIC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_DIACRITIC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_EXTENDER_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_IGNORABLE_CONTROL_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNICTYPE_PROPERTY_REGIONAL_INDICATOR_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_UNICTYPE_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_UNICTYPE_H_DEFAULTS]) ]) AC_DEFUN([gl_UNICTYPE_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. ]) datamash-1.9/m4/uninorm_h.m40000644000000000000000000000374614767401140011372 # uninorm_h.m4 # serial 1 dnl Copyright (C) 2023-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN_ONCE([gl_UNINORM_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_UNINORM_H_DEFAULTS]) ]) # gl_UNINORM_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_UNINORM_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_UNINORM_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_UNINORM_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_UNINORM_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNINORM_NFD_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNINORM_NFC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNINORM_NFKD_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNINORM_NFKC_DLL_VARIABLE], ['LIBUNISTRING_DLL_VARIABLE']) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_UNINORM_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_UNINORM_H_DEFAULTS]) ]) AC_DEFUN([gl_UNINORM_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. ]) datamash-1.9/m4/unistd_h.m40000644000000000000000000003473514767402206011217 # unistd_h.m4 # serial 97 dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Simon Josefsson, Bruno Haible. AC_DEFUN_ONCE([gl_UNISTD_H], [ dnl Ensure to expand the default settings once only, before all statements dnl that occur in other macros. AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) gl_CHECK_NEXT_HEADERS([unistd.h]) if test $ac_cv_header_unistd_h = yes; then HAVE_UNISTD_H=1 else HAVE_UNISTD_H=0 fi AC_SUBST([HAVE_UNISTD_H]) dnl Ensure the type pid_t gets defined. AC_REQUIRE([AC_TYPE_PID_T]) dnl Determine WINDOWS_64_BIT_OFF_T. AC_REQUIRE([gl_TYPE_OFF_T]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if HAVE_UNISTD_H # include #endif /* Some systems declare various items in the wrong headers. */ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include # include # include # if defined _WIN32 && ! defined __CYGWIN__ # include # endif #endif ]], [access chdir chown copy_file_range dup dup2 dup3 environ euidaccess execl execle execlp execv execve execvp execvpe faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getentropy getgroups gethostname getlogin getlogin_r getpagesize getpass getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat truncate ttyname_r unlink unlinkat usleep]) AC_REQUIRE([AC_C_RESTRICT]) AC_CHECK_DECLS_ONCE([execvpe]) if test $ac_cv_have_decl_execvpe = no; then HAVE_DECL_EXECVPE=0 fi ]) # gl_UNISTD_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_UNISTD_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_UNISTD_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_UNISTD_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACCESS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CHDIR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CHOWN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CLOSE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPY_FILE_RANGE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUP2]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUP3]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ENVIRON]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EUIDACCESS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECLE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECLP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECV]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECVE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECVP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECVPE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FACCESSAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCHDIR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCHOWNAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FDATASYNC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSYNC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FTRUNCATE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETCWD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETDOMAINNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETDTABLESIZE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETENTROPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETGROUPS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETHOSTNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOGIN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOGIN_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETOPT_POSIX]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPAGESIZE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPASS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPASS_GNU]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETUSERSHELL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GROUP_MEMBER]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISATTY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LCHOWN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LINK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LINKAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LSEEK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PIPE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PIPE2]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PREAD]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PWRITE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READ]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READLINK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READLINKAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RMDIR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETHOSTNAME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SLEEP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SYMLINK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SYMLINKAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNCATE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TTYNAME_R]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_NONBLOCKING]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_SIGPIPE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNLINK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNLINKAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_USLEEP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WRITE]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_ACCESS], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CHDIR], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CLOSE], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_DUP], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_DUP2], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECL], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECLE], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECLP], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECV], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECVE], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECVP], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECVPE], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GETCWD], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GETPID], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_ISATTY], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_LSEEK], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_READ], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_RMDIR], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_SWAB], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_UNLINK], [1]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_WRITE], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_UNISTD_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ]) AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) HAVE_COPY_FILE_RANGE=1; AC_SUBST([HAVE_COPY_FILE_RANGE]) HAVE_DUP3=1; AC_SUBST([HAVE_DUP3]) HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) HAVE_EXECVPE=1; AC_SUBST([HAVE_EXECVPE]) HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) HAVE_FDATASYNC=1; AC_SUBST([HAVE_FDATASYNC]) HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) HAVE_GETENTROPY=1; AC_SUBST([HAVE_GETENTROPY]) HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS]) HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN]) HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) HAVE_GETPASS=1; AC_SUBST([HAVE_GETPASS]) HAVE_GROUP_MEMBER=1; AC_SUBST([HAVE_GROUP_MEMBER]) HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN]) HAVE_LINK=1; AC_SUBST([HAVE_LINK]) HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT]) HAVE_PIPE=1; AC_SUBST([HAVE_PIPE]) HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2]) HAVE_PREAD=1; AC_SUBST([HAVE_PREAD]) HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE]) HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT]) HAVE_SETHOSTNAME=1; AC_SUBST([HAVE_SETHOSTNAME]) HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK]) HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT]) HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT]) HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) HAVE_DECL_EXECVPE=1; AC_SUBST([HAVE_DECL_EXECVPE]) HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) HAVE_DECL_GETLOGIN=1; AC_SUBST([HAVE_DECL_GETLOGIN]) HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) HAVE_DECL_SETHOSTNAME=1; AC_SUBST([HAVE_DECL_SETHOSTNAME]) HAVE_DECL_TRUNCATE=1; AC_SUBST([HAVE_DECL_TRUNCATE]) HAVE_DECL_TTYNAME_R=1; AC_SUBST([HAVE_DECL_TTYNAME_R]) HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) REPLACE_ACCESS=0; AC_SUBST([REPLACE_ACCESS]) REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) REPLACE_COPY_FILE_RANGE=0; AC_SUBST([REPLACE_COPY_FILE_RANGE]) REPLACE_DUP=0; AC_SUBST([REPLACE_DUP]) REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2]) REPLACE_DUP3=0; AC_SUBST([REPLACE_DUP3]) REPLACE_EXECL=0; AC_SUBST([REPLACE_EXECL]) REPLACE_EXECLE=0; AC_SUBST([REPLACE_EXECLE]) REPLACE_EXECLP=0; AC_SUBST([REPLACE_EXECLP]) REPLACE_EXECV=0; AC_SUBST([REPLACE_EXECV]) REPLACE_EXECVE=0; AC_SUBST([REPLACE_EXECVE]) REPLACE_EXECVP=0; AC_SUBST([REPLACE_EXECVP]) REPLACE_EXECVPE=0; AC_SUBST([REPLACE_EXECVPE]) REPLACE_FACCESSAT=0; AC_SUBST([REPLACE_FACCESSAT]) REPLACE_FCHDIR=0; AC_SUBST([REPLACE_FCHDIR]) REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT]) REPLACE_FDATASYNC=0; AC_SUBST([REPLACE_FDATASYNC]) REPLACE_FTRUNCATE=0; AC_SUBST([REPLACE_FTRUNCATE]) REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME]) REPLACE_GETDTABLESIZE=0; AC_SUBST([REPLACE_GETDTABLESIZE]) REPLACE_GETENTROPY=0; AC_SUBST([REPLACE_GETENTROPY]) REPLACE_GETLOGIN=0; AC_SUBST([REPLACE_GETLOGIN]) REPLACE_GETLOGIN_R=0; AC_SUBST([REPLACE_GETLOGIN_R]) REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS]) REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) REPLACE_GETPASS=0; AC_SUBST([REPLACE_GETPASS]) REPLACE_GETPASS_FOR_GETPASS_GNU=0; AC_SUBST([REPLACE_GETPASS_FOR_GETPASS_GNU]) REPLACE_GETUSERSHELL=0; AC_SUBST([REPLACE_GETUSERSHELL]) REPLACE_ISATTY=0; AC_SUBST([REPLACE_ISATTY]) REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) REPLACE_LINK=0; AC_SUBST([REPLACE_LINK]) REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT]) REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) REPLACE_PIPE2=0; AC_SUBST([REPLACE_PIPE2]) REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD]) REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE]) REPLACE_READ=0; AC_SUBST([REPLACE_READ]) REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK]) REPLACE_READLINKAT=0; AC_SUBST([REPLACE_READLINKAT]) REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR]) REPLACE_SETHOSTNAME=0; AC_SUBST([REPLACE_SETHOSTNAME]) REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP]) REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK]) REPLACE_SYMLINKAT=0; AC_SUBST([REPLACE_SYMLINKAT]) REPLACE_TRUNCATE=0; AC_SUBST([REPLACE_TRUNCATE]) REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R]) REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK]) REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT]) REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP]) REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) UNISTD_H_HAVE_SYS_RANDOM_H=0; AC_SUBST([UNISTD_H_HAVE_SYS_RANDOM_H]) UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) ]) datamash-1.9/m4/unlocked-io.m40000644000000000000000000000256514767401140011603 # unlocked-io.m4 # serial 16 dnl Copyright (C) 1998-2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Jim Meyering. dnl dnl See if the glibc *_unlocked I/O macros or functions are available. dnl Use only those *_unlocked macros or functions that are declared dnl (because some of them were declared in Solaris 2.5.1 but were removed dnl in Solaris 2.6, whereas we want binaries built on Solaris 2.5.1 to run dnl on Solaris 2.6). AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO], [ dnl Persuade glibc and Solaris to declare dnl fgets_unlocked(), fputs_unlocked() etc. AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) AC_CHECK_DECLS_ONCE([clearerr_unlocked]) AC_CHECK_DECLS_ONCE([feof_unlocked]) AC_CHECK_DECLS_ONCE([ferror_unlocked]) AC_CHECK_DECLS_ONCE([fflush_unlocked]) AC_CHECK_DECLS_ONCE([fgets_unlocked]) AC_CHECK_DECLS_ONCE([fputc_unlocked]) AC_CHECK_DECLS_ONCE([fputs_unlocked]) AC_CHECK_DECLS_ONCE([fread_unlocked]) AC_CHECK_DECLS_ONCE([fwrite_unlocked]) AC_CHECK_DECLS_ONCE([getc_unlocked]) AC_CHECK_DECLS_ONCE([getchar_unlocked]) AC_CHECK_DECLS_ONCE([putc_unlocked]) AC_CHECK_DECLS_ONCE([putchar_unlocked]) ]) datamash-1.9/m4/vasnprintf.m40000644000000000000000000003724014767401140011562 # vasnprintf.m4 # serial 54 dnl Copyright (C) 2002-2004, 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_VASNPRINTF], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([vasnprintf]) if test $ac_cv_func_vasnprintf = yes; then dnl On Cygwin, in directives with a huge width, the width is ignored, and dnl the function returns a wrong result. AC_CACHE_CHECK([whether vasnprintf works], [gl_cv_func_vasnprintf_works], [AC_RUN_IFELSE( [AC_LANG_SOURCE( [[#include ]], [[size_t len; char *res = vasnprintf (NULL, &len, "x%03000000000dy\n", -17); /* On Cygwin 3.4.6, res is "x-17y\n" and len == 6: wrong. */ return (res != NULL && len < 10); ]]) ], [gl_cv_func_vasnprintf_works=yes], [gl_cv_func_vasnprintf_works=no], [case "$host_os" in # Guess no on Cygwin. cygwin*) gl_cv_func_vasnprintf_works="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_vasnprintf_works="$gl_cross_guess_normal";; esac ]) ]) fi if test $ac_cv_func_vasnprintf != yes \ || case "$gl_cv_func_vasnprintf_works" in *yes) false;; *) true;; esac then gl_REPLACE_VASNPRINTF fi ]) AC_DEFUN([gl_REPLACE_VASNPRINTF], [ AC_CHECK_FUNCS_ONCE([vasnprintf]) AC_LIBOBJ([vasnprintf]) AC_LIBOBJ([printf-args]) AC_LIBOBJ([printf-parse]) AC_LIBOBJ([asnprintf]) if test $ac_cv_func_vasnprintf = yes; then AC_DEFINE([REPLACE_VASNPRINTF], [1], [Define if vasnprintf exists but is overridden by gnulib.]) fi gl_PREREQ_PRINTF_ARGS gl_PREREQ_PRINTF_PARSE gl_PREREQ_VASNPRINTF gl_PREREQ_ASNPRINTF ]) AC_DEFUN([gl_FUNC_VASNWPRINTF], [ AC_LIBOBJ([printf-args]) gl_PREREQ_PRINTF_ARGS gl_PREREQ_PRINTF_PARSE gl_PREREQ_VASNWPRINTF gl_PREREQ_ASNPRINTF ]) # Prerequisites of lib/printf-args.h, lib/printf-args.c. AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ AC_REQUIRE([gt_TYPE_WINT_T]) ]) # Prerequisites of lib/printf-parse.h, lib/printf-parse.c. # Prerequisites of lib/wprintf-parse.h, lib/wprintf-parse.c. AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_REQUIRE([AC_TYPE_SIZE_T]) AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ]) AC_REQUIRE([gt_AC_TYPE_INTMAX_T]) ]) # Prerequisites of lib/vasnprintf.c if !WIDE_CHAR_VERSION. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ AC_CHECK_FUNCS([snprintf strnlen wcrtomb]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). AC_CHECK_DECLS([_snprintf], , , [[#include ]]) dnl We can avoid a lot of code by assuming that snprintf's return value dnl conforms to ISO C99. So check that. AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) case "$gl_cv_func_snprintf_retval_c99" in *yes) AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1], [Define if the return value of the snprintf function is the number of of bytes (excluding the terminating NUL) that would have been produced if the buffer had been large enough.]) ;; esac dnl Additionally, the use of %n can be eliminated by assuming that snprintf dnl always produces NUL-terminated strings (no truncation). AC_REQUIRE([gl_SNPRINTF_TRUNCATION_C99]) case "$gl_cv_func_snprintf_truncation_c99" in *yes) AC_DEFINE([HAVE_SNPRINTF_TRUNCATION_C99], [1], [Define if the string produced by the snprintf function is always NUL terminated.]) ;; esac gl_PREREQ_VASNXPRINTF ]) # Prerequisites of lib/vasnwprintf.c. AC_DEFUN_ONCE([gl_PREREQ_VASNWPRINTF], [ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS_ONCE([swprintf wcsnlen mbrtowc]) AC_CHECK_DECLS([_snwprintf], , , [[#include ]]) AC_CHECK_DECLS([wcsnlen], , , [[#include ]]) gl_SWPRINTF_WORKS case "$gl_cv_func_swprintf_works" in *yes) AC_DEFINE([HAVE_WORKING_SWPRINTF], [1], [Define if the swprintf function works correctly when it produces output that contains null wide characters.]) ;; esac gl_MBRTOWC_C_LOCALE case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in *yes) AC_CACHE_CHECK([whether swprintf in the C locale is free of encoding errors], [gl_cv_func_swprintf_C_locale_sans_EILSEQ], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #ifndef __USE_MINGW_ANSI_STDIO # define __USE_MINGW_ANSI_STDIO 1 #endif #include #include int main() { int result = 0; { /* This test fails on glibc 2.35, musl libc 1.2.4, FreeBSD 13.2, NetBSD 9.3, OpenBSD 7.2, Cygwin 2.9.0. Reported at . */ wchar_t buf[12]; int ret = swprintf (buf, 12, L"%c", '\377'); if (ret < 0) result |= 1; } return result; }]])], [gl_cv_func_swprintf_C_locale_sans_EILSEQ=yes], [gl_cv_func_swprintf_C_locale_sans_EILSEQ=no], [case "$host_os" in # Guess no on glibc systems. *-gnu* | gnu*) gl_cv_func_swprintf_C_locale_sans_EILSEQ="guessing yes";; # Guess no on musl systems. *-musl* | midipix*) gl_cv_func_swprintf_C_locale_sans_EILSEQ="guessing no";; # If we don't know, obey --enable-cross-guesses. *) gl_cv_func_swprintf_C_locale_sans_EILSEQ="$gl_cross_guess_normal";; esac ]) ]) ;; esac if case "$gl_cv_func_mbrtowc_C_locale_sans_EILSEQ" in *yes) false ;; *) true ;; esac \ || case "$gl_cv_func_swprintf_C_locale_sans_EILSEQ" in *yes) false ;; *) true ;; esac; then AC_DEFINE([NEED_WPRINTF_DIRECTIVE_C], [1], [Define if the vasnwprintf implementation needs special code for the 'c' directive.]) fi gl_SWPRINTF_DIRECTIVE_LA case "$gl_cv_func_swprintf_directive_la" in *yes) ;; *) AC_DEFINE([NEED_WPRINTF_DIRECTIVE_LA], [1], [Define if the vasnwprintf implementation needs special code for the 'a' directive with 'long double' arguments.]) ;; esac gl_SWPRINTF_DIRECTIVE_LC case "$gl_cv_func_swprintf_directive_lc" in *yes) ;; *) AC_DEFINE([NEED_WPRINTF_DIRECTIVE_LC], [1], [Define if the vasnwprintf implementation needs special code for the 'lc' directive.]) ;; esac gl_MUSL_LIBC gl_PREREQ_VASNXPRINTF ]) # Common prerequisites of lib/vasnprintf.c and lib/vasnwprintf.c. AC_DEFUN_ONCE([gl_PREREQ_VASNXPRINTF], [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_CHECK_FUNCS([wcslen]) dnl Knowing DBL_EXPBIT0_WORD and DBL_EXPBIT0_BIT enables an optimization dnl in the code for NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE. AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION]) ]) # Extra prerequisites of lib/vasnprintf.c for supporting 'long double' # arguments. AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting infinite 'double' # arguments. AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [ AC_REQUIRE([gl_PRINTF_INFINITE]) case "$gl_cv_func_printf_infinite" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for infinite 'double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting infinite 'long double' # arguments. AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if dnl NEED_PRINTF_LONG_DOUBLE is already set. AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in *yes) case "$gl_cv_func_printf_infinite_long_double" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for infinite 'long double' arguments.]) ;; esac ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'a' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) case "$gl_cv_func_printf_directive_a" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1], [Define if the vasnprintf implementation needs special code for the 'a' and 'A' directives.]) gl_CHECK_FUNCS_ANDROID([nl_langinfo], [[#include ]]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'b' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_B], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_B]) case "$gl_cv_func_printf_directive_b" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_B], [1], [Define if the vasnprintf implementation needs special code for the 'b' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'F' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) case "$gl_cv_func_printf_directive_f" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1], [Define if the vasnprintf implementation needs special code for the 'F' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'ls' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) case "$gl_cv_func_printf_directive_ls" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1], [Define if the vasnprintf implementation needs special code for the 'ls' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'lc' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LC], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_LC]) case "$gl_cv_func_printf_directive_lc" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_LC], [1], [Define if the vasnprintf implementation needs special code for the 'lc' directive.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the ' flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) case "$gl_cv_func_printf_flag_grouping" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1], [Define if the vasnprintf implementation needs special code for the ' flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the '-' flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [ AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) case "$gl_cv_func_printf_flag_leftadjust" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1], [Define if the vasnprintf implementation needs special code for the '-' flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 0 flag. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [ AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) case "$gl_cv_func_printf_flag_zero" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1], [Define if the vasnprintf implementation needs special code for the 0 flag.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting the # flag with a # zero precision and a zero value in the 'x' and 'X' directives. AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ALT_PRECISION_ZERO], [ AC_REQUIRE([gl_PRINTF_FLAG_ALT_PRECISION_ZERO]) case "$gl_cv_func_printf_flag_alt_precision_zero" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_FLAG_ALT_PRECISION_ZERO], [1], [Define if the vasnprintf implementation needs special code for the # flag with a zero precision and a zero value in the 'x' and 'X' directives.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for supporting large precisions. AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [ AC_REQUIRE([gl_PRINTF_PRECISION]) case "$gl_cv_func_printf_precision" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1], [Define if the vasnprintf implementation needs special code for supporting large precisions without arbitrary bounds.]) AC_DEFINE([NEED_PRINTF_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'double' arguments.]) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Extra prerequisites of lib/vasnprintf.c for surviving out-of-memory # conditions. AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [ AC_REQUIRE([gl_PRINTF_ENOMEM]) case "$gl_cv_func_printf_enomem" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_ENOMEM], [1], [Define if the vasnprintf implementation needs special code for surviving out-of-memory conditions.]) AC_DEFINE([NEED_PRINTF_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'double' arguments.]) AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], [Define if the vasnprintf implementation needs special code for 'long double' arguments.]) ;; esac ]) # Prerequisites of lib/vasnprintf.c including all extras for POSIX compliance. AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS], [ AC_REQUIRE([gl_PREREQ_VASNPRINTF]) gl_PREREQ_VASNPRINTF_LONG_DOUBLE gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE gl_PREREQ_VASNPRINTF_DIRECTIVE_A gl_PREREQ_VASNPRINTF_DIRECTIVE_B gl_PREREQ_VASNPRINTF_DIRECTIVE_F gl_PREREQ_VASNPRINTF_DIRECTIVE_LS gl_PREREQ_VASNPRINTF_DIRECTIVE_LC gl_PREREQ_VASNPRINTF_FLAG_GROUPING gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST gl_PREREQ_VASNPRINTF_FLAG_ZERO gl_PREREQ_VASNPRINTF_FLAG_ALT_PRECISION_ZERO gl_PREREQ_VASNPRINTF_PRECISION gl_PREREQ_VASNPRINTF_ENOMEM ]) # Extra prerequisites of lib/vasnprintf.c for supporting the 'B' directive. AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_UPPERCASE_B], [ AC_REQUIRE([gl_PRINTF_DIRECTIVE_UPPERCASE_B]) case "$gl_cv_func_printf_directive_uppercase_b" in *yes) ;; *) AC_DEFINE([NEED_PRINTF_DIRECTIVE_UPPERCASE_B], [1], [Define if the vasnprintf implementation needs special code for the 'B' directive.]) ;; esac ]) # Prerequisites of lib/vasnprintf.c including all extras for POSIX compliance # and GNU compatibility. AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_GNU_EXTRAS], [ gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS AC_DEFINE([SUPPORT_GNU_PRINTF_DIRECTIVES], [1], [Define if the vasnprintf implementation should support GNU compatible printf directives.]) gl_PREREQ_VASNPRINTF_DIRECTIVE_UPPERCASE_B ]) # Prerequisites of lib/asnprintf.c. # Prerequisites of lib/asnwprintf.c. AC_DEFUN([gl_PREREQ_ASNPRINTF], [ ]) datamash-1.9/m4/version-etc.m40000644000000000000000000000233014767401140011616 # version-etc.m4 # serial 2 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl $1 - configure flag and define name dnl $2 - human readable description m4_define([gl_VERSION_ETC_FLAG], [dnl AC_ARG_WITH([$1], [AS_HELP_STRING([[--with-]$1], [$2])], [dnl case $withval in yes|no) ;; *) AC_DEFINE_UNQUOTED(AS_TR_CPP([PACKAGE_$1]), ["$withval"], [$2]) ;; esac ]) ]) AC_DEFUN([gl_VERSION_ETC], [dnl gl_VERSION_ETC_FLAG([packager], [String identifying the packager of this software]) gl_VERSION_ETC_FLAG([packager-version], [Packager-specific version information]) gl_VERSION_ETC_FLAG([packager-bug-reports], [Packager info for bug reports (URL/e-mail/...)]) if test "X$with_packager" = "X" && \ test "X$with_packager_version$with_packager_bug_reports" != "X" then AC_MSG_ERROR([The --with-packager-{bug-reports,version} options require --with-packager]) fi ]) datamash-1.9/m4/visibility.m40000644000000000000000000000671614771573666011605 # visibility.m4 # serial 9 dnl Copyright (C) 2005, 2008, 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Tests whether the compiler supports the command-line option dnl -fvisibility=hidden and the function and variable attributes dnl __attribute__((__visibility__("hidden"))) and dnl __attribute__((__visibility__("default"))). dnl Does *not* test for __visibility__("protected") - which has tricky dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on dnl Mac OS X. dnl Does *not* test for __visibility__("internal") - which has processor dnl dependent semantics. dnl Does *not* test for #pragma GCC visibility push(hidden) - which is dnl "really only recommended for legacy code". dnl Set the variable CFLAG_VISIBILITY. dnl Defines and sets the variable HAVE_VISIBILITY. AC_DEFUN([gl_VISIBILITY], [ AC_REQUIRE([AC_PROG_CC]) CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then dnl First, check whether -Werror can be added to the command line, or dnl whether it leads to an error because of some other option that the dnl user has put into $CC $CFLAGS $CPPFLAGS. AC_CACHE_CHECK([whether the -Werror option is usable], [gl_cv_cc_vis_werror], [gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [gl_cv_cc_vis_werror=yes], [gl_cv_cc_vis_werror=no]) CFLAGS="$gl_saved_CFLAGS" ]) dnl Now check whether visibility declarations are supported. AC_CACHE_CHECK([for simple visibility declarations], [gl_cv_cc_visibility], [gl_saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" dnl We use the option -Werror and a function dummyfunc, because on some dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning dnl "visibility attribute not supported in this configuration; ignored" dnl at the first function definition in every compilation unit, and we dnl don't want to use the option in this case. if test $gl_cv_cc_vis_werror = yes; then CFLAGS="$CFLAGS -Werror" fi AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); void dummyfunc (void); int hiddenvar; int exportedvar; int hiddenfunc (void) { return 51; } int exportedfunc (void) { return 1225736919; } void dummyfunc (void) {} ]], [[]])], [gl_cv_cc_visibility=yes], [gl_cv_cc_visibility=no]) CFLAGS="$gl_saved_CFLAGS" ]) if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi AC_SUBST([CFLAG_VISIBILITY]) AC_SUBST([HAVE_VISIBILITY]) AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) ]) datamash-1.9/m4/waitpid.m40000644000000000000000000000074314767401140011027 # waitpid.m4 # serial 3 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_WAITPID], [ AC_REQUIRE([AC_CANONICAL_HOST]) HAVE_WAITPID=1 case $host_os in mingw* | windows*) HAVE_WAITPID=0 ;; esac ]) datamash-1.9/m4/warn-on-use.m40000644000000000000000000000561514767401140011544 # warn-on-use.m4 # serial 11 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. # gl_WARN_ON_USE_PREPARE(INCLUDES, NAMES) # --------------------------------------- # If the module 'posixcheck' is in use: # # For each whitespace-separated element in the list of NAMES, define # HAVE_RAW_DECL_name if the function has a declaration among INCLUDES # even after being undefined as a macro. # # See warn-on-use.h for some hints on how to poison function names, as # well as ideas on poisoning global variables and macros. NAMES may # include global variables, but remember that only functions work with # _GL_WARN_ON_USE. Typically, INCLUDES only needs to list a single # header, but if the replacement header pulls in other headers because # some systems declare functions in the wrong header, then INCLUDES # should do likewise. # # It is generally safe to assume declarations for functions declared # in the intersection of C89 and C11 (such as printf) without # needing gl_WARN_ON_USE_PREPARE. AC_DEFUN([gl_WARN_ON_USE_PREPARE], [ m4_ifdef([gl_POSIXCHECK], [m4_foreach_w([gl_decl], [$2], [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])), [Define to 1 if ]m4_defn([gl_decl])[ is declared even after undefining macros.])])dnl for gl_func in m4_flatten([$2]); do AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl dnl As a workaround to implicit built-in function declarations in dnl clang (e.g. strndup), reference ac_compile_for_check_decl instead dnl of ac_compile. If, for whatever reason, the override of AC_PROG_CC dnl in zzgnulib.m4 is inactive, use the original ac_compile. ac_saved_ac_compile="$ac_compile" if test -n "$ac_compile_for_check_decl"; then ac_compile="$ac_compile_for_check_decl" fi AC_CACHE_CHECK([whether $gl_func is declared without a macro], [gl_Symbol], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1], [[#undef $gl_func (void) $gl_func;]])], [AS_VAR_SET([gl_Symbol], [yes])], [AS_VAR_SET([gl_Symbol], [no])])]) ac_compile="$ac_saved_ac_compile" AS_VAR_IF([gl_Symbol], [yes], [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) dnl Shortcut for an AC_CHECK_DECL invocation that may come later: dnl If the raw declaration exists with the given includes, then dnl AC_CHECK_DECL with its many includes would see it as well. dnl So, set a cache variable to allow skipping any later dnl AC_CHECK_DECL invocation for $gl_func. eval "ac_cv_have_decl_$gl_func=yes" ]) AS_VAR_POPDEF([gl_Symbol])dnl done ]) ]) datamash-1.9/m4/warnings.m40000644000000000000000000001434314767401140011217 # warnings.m4 # serial 20 dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Simon Josefsson AC_PREREQ([2.64]) # gl_COMPILER_OPTION_IF(OPTION, [IF-SUPPORTED], [IF-NOT-SUPPORTED], # [PROGRAM = AC_LANG_PROGRAM()]) # ----------------------------------------------------------------- # Check if the compiler supports OPTION when compiling PROGRAM. # # The effects of this macro depend on the current language (_AC_LANG). AC_DEFUN([gl_COMPILER_OPTION_IF], [ AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_[]_AC_LANG_ABBREV[]_$1])dnl AS_VAR_PUSHDEF([gl_Flags], [_AC_LANG_PREFIX[]FLAGS])dnl AS_LITERAL_IF([$1], [m4_pushdef([gl_Positive], m4_bpatsubst([$1], [^-Wno-], [-W]))], [gl_positive="$1" case $gl_positive in -Wno-*) gl_positive=-W`expr "X$gl_positive" : 'X-Wno-\(.*\)'` ;; esac m4_pushdef([gl_Positive], [$gl_positive])])dnl AC_CACHE_CHECK([whether _AC_LANG compiler handles $1], [gl_Warn], [ gl_saved_compiler_FLAGS="$gl_Flags" AS_VAR_APPEND(m4_defn([gl_Flags]), [" $gl_unknown_warnings_are_errors ]m4_defn([gl_Positive])["]) AC_LINK_IFELSE([m4_default([$4], [AC_LANG_PROGRAM([[]])])], [AS_VAR_SET([gl_Warn], [yes])], [AS_VAR_SET([gl_Warn], [no])]) gl_Flags="$gl_saved_compiler_FLAGS" ]) AS_VAR_IF(gl_Warn, [yes], [$2], [$3]) m4_popdef([gl_Positive])dnl AS_VAR_POPDEF([gl_Flags])dnl AS_VAR_POPDEF([gl_Warn])dnl ]) # gl_UNKNOWN_WARNINGS_ARE_ERRORS # ------------------------------ # Clang doesn't complain about unknown warning options unless one also # specifies -Wunknown-warning-option -Werror. Detect this. # # The effects of this macro depend on the current language (_AC_LANG). AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) # Specialization for _AC_LANG = C. This macro can be AC_REQUIREd. AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS(C)], [ AC_LANG_PUSH([C]) gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL AC_LANG_POP([C]) ]) # Specialization for _AC_LANG = C++. This macro can be AC_REQUIREd. AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS(C++)], [ AC_LANG_PUSH([C++]) gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL AC_LANG_POP([C++]) ]) # Specialization for _AC_LANG = Objective C. This macro can be AC_REQUIREd. AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS(Objective C)], [ AC_LANG_PUSH([Objective C]) gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL AC_LANG_POP([Objective C]) ]) AC_DEFUN([gl_UNKNOWN_WARNINGS_ARE_ERRORS_IMPL], [gl_COMPILER_OPTION_IF([-Werror -Wunknown-warning-option], [gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'], [gl_unknown_warnings_are_errors=])]) # gl_WARN_ADD(OPTION, [VARIABLE = WARN_CFLAGS/WARN_CXXFLAGS], # [PROGRAM = AC_LANG_PROGRAM()]) # ----------------------------------------------------------- # Adds OPTION to VARIABLE (which defaults to WARN_CFLAGS or WARN_CXXFLAGS) # if the compiler supports it when compiling PROGRAM. # # If VARIABLE is a variable name, AC_SUBST it. # # The effects of this macro depend on the current language (_AC_LANG). # # Example: gl_WARN_ADD([-Wparentheses]). AC_DEFUN([gl_WARN_ADD], [AC_REQUIRE([gl_UNKNOWN_WARNINGS_ARE_ERRORS(]_AC_LANG[)]) gl_COMPILER_OPTION_IF([$1], [AS_VAR_APPEND(m4_if([$2], [], [[WARN_]_AC_LANG_PREFIX[FLAGS]], [[$2]]), [" $1"])], [], [$3]) m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])])], [AC_SUBST([WARN_]_AC_LANG_PREFIX[FLAGS])])dnl ]) # gl_CC_INHIBIT_WARNINGS # sets and substitutes a variable GL_CFLAG_INHIBIT_WARNINGS, to a $(CC) option # that reverts all preceding -W* options, if available. # This is expected to be '-w' at least on gcc, clang, AIX xlc, xlclang, Sun cc, # "compile cl" (MSVC), "compile clang-cl" (MSVC-compatible clang). Or it can be # empty. AC_DEFUN([gl_CC_INHIBIT_WARNINGS], [ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([for C compiler option to inhibit all warnings], [gl_cv_cc_winhibit], [rm -f conftest* echo 'int dummy;' > conftest.c AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err]) >/dev/null AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -w -c conftest.c 2>conftest2.err]) >/dev/null if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then gl_cv_cc_winhibit='-w' else gl_cv_cc_winhibit=none fi rm -f conftest* ]) case "$gl_cv_cc_winhibit" in none) GL_CFLAG_INHIBIT_WARNINGS='' ;; *) GL_CFLAG_INHIBIT_WARNINGS="$gl_cv_cc_winhibit" dnl If all warnings are inhibited, there's no point in having the GCC dnl analyzer enabled. This saves RAM requirements and CPU consumption. gl_WARN_ADD([-fno-analyzer], [GL_CFLAG_INHIBIT_WARNINGS]) ;; esac AC_SUBST([GL_CFLAG_INHIBIT_WARNINGS]) ]) # gl_CXX_INHIBIT_WARNINGS # sets and substitutes a variable GL_CXXFLAG_INHIBIT_WARNINGS, to a $(CC) option # that reverts all preceding -W* options, if available. AC_DEFUN([gl_CXX_INHIBIT_WARNINGS], [ dnl Requires AC_PROG_CXX or gl_PROG_ANSI_CXX. if test -n "$CXX" && test "$CXX" != no; then AC_CACHE_CHECK([for C++ compiler option to inhibit all warnings], [gl_cv_cxx_winhibit], [rm -f conftest* echo 'int dummy;' > conftest.cc AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err]) >/dev/null AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -w -c conftest.cc 2>conftest2.err]) >/dev/null if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then gl_cv_cxx_winhibit='-w' else gl_cv_cxx_winhibit=none fi rm -f conftest* ]) case "$gl_cv_cxx_winhibit" in none) GL_CXXFLAG_INHIBIT_WARNINGS='' ;; *) GL_CXXFLAG_INHIBIT_WARNINGS="$gl_cv_cxx_winhibit" dnl If all warnings are inhibited, there's no point in having the GCC dnl analyzer enabled. This saves RAM requirements and CPU consumption. gl_WARN_ADD([-fno-analyzer], [GL_CXXFLAG_INHIBIT_WARNINGS]) ;; esac else GL_CXXFLAG_INHIBIT_WARNINGS='' fi AC_SUBST([GL_CXXFLAG_INHIBIT_WARNINGS]) ]) # Local Variables: # mode: autoconf # End: datamash-1.9/m4/wchar_h.m40000644000000000000000000002665414767401140011012 # wchar_h.m4 # serial 65 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl A placeholder for ISO C99 , for platforms that have issues. dnl Written by Eric Blake. AC_DEFUN_ONCE([gl_WCHAR_H], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) dnl Prepare for creating substitute . dnl Check for (missing in Linux uClibc when built without wide dnl character support). dnl is always overridden, because of GNULIB_POSIXCHECK. gl_CHECK_NEXT_HEADERS([wchar.h]) if test $ac_cv_header_wchar_h = yes; then HAVE_WCHAR_H=1 else HAVE_WCHAR_H=0 fi AC_SUBST([HAVE_WCHAR_H]) AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([gt_TYPE_WINT_T]) if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi AC_SUBST([HAVE_WINT_T]) AC_REQUIRE([gl_TYPE_WINT_T_PREREQ]) dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #include ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmempcpy wmemset wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth wcsftime ]) AC_REQUIRE([AC_C_RESTRICT]) AC_CHECK_DECLS([wcsdup], [], [], [[ #include ]]) if test $ac_cv_have_decl_wcsdup = no; then HAVE_DECL_WCSDUP=0 fi ]) dnl Check whether is usable at all. AC_DEFUN([gl_WCHAR_H_INLINE_OK], [ dnl Test whether suffers due to the transition from '__inline' to dnl 'gnu_inline'. See dnl and . In summary, dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and dnl the option -std=c99 or -std=gnu99, leads to a broken . AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK([whether uses 'inline' correctly], [gl_cv_header_wchar_h_correct_inline], [gl_cv_header_wchar_h_correct_inline=yes case "$host_os" in *-gnu* | gnu*) AC_LANG_CONFTEST([ AC_LANG_SOURCE([[ #define wcstod renamed_wcstod #include extern int zero (void); int main () { return zero(); } ]])]) dnl Do not rename the object file from conftest.$ac_objext to dnl conftest1.$ac_objext, as this will cause the link to fail on dnl z/OS when using the XPLINK object format (due to duplicate dnl CSECT names). Instead, temporarily redefine $ac_compile so dnl that the object file has the latter name from the start. saved_ac_compile="$ac_compile" ac_compile=`echo "$saved_ac_compile" | sed s/conftest/conftest1/` if echo '#include "conftest.c"' >conftest1.c \ && AC_TRY_EVAL([ac_compile]); then AC_LANG_CONFTEST([ AC_LANG_SOURCE([[ #define wcstod renamed_wcstod #include int zero (void) { return 0; } ]])]) dnl See note above about renaming object files. ac_compile=`echo "$saved_ac_compile" | sed s/conftest/conftest2/` if echo '#include "conftest.c"' >conftest2.c \ && AC_TRY_EVAL([ac_compile]); then if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then : else gl_cv_header_wchar_h_correct_inline=no fi fi fi ac_compile="$saved_ac_compile" rm -f conftest[12].c conftest[12].$ac_objext conftest$ac_exeext ;; esac ]) if test $gl_cv_header_wchar_h_correct_inline = no; then AC_MSG_ERROR([ cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: - Add the flag -fgnu89-inline to CC and reconfigure, or - Fix your include files, using parts of , or - Use a gcc version older than 4.3, or - Don't use the flags -std=c99 or -std=gnu99. Configuration aborted.]) fi ]) # gl_WCHAR_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_WCHAR_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_WCHAR_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_WCHAR_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_BTOWC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTOB]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSINIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSZERO]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBRTOWC]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBRLEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSRTOWCS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNRTOWCS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCRTOMB]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSRTOMBS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNRTOMBS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCWIDTH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMCMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMMOVE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMPCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMSET]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSLEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNLEN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCPCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCPNCPY]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCAT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCASECMP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCOLL]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSXFRM]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSDUP]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSRCHR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCSPN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSSPN]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSPBRK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSSTR]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSTOK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSWIDTH]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSFTIME]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WGETCWD]) dnl Support Microsoft deprecated alias function names by default. gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_WCSDUP], [1]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_WCHAR_H_MODULE_INDICATOR_DEFAULTS]) dnl Make sure the shell variable for GNULIB_FREE_POSIX is initialized. gl_STDLIB_H_REQUIRE_DEFAULTS AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ]) AC_DEFUN([gl_WCHAR_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC]) HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN]) HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS]) HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS]) HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB]) HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS]) HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS]) HAVE_WMEMCHR=1; AC_SUBST([HAVE_WMEMCHR]) HAVE_WMEMCMP=1; AC_SUBST([HAVE_WMEMCMP]) HAVE_WMEMCPY=1; AC_SUBST([HAVE_WMEMCPY]) HAVE_WMEMMOVE=1; AC_SUBST([HAVE_WMEMMOVE]) HAVE_WMEMPCPY=1; AC_SUBST([HAVE_WMEMPCPY]) HAVE_WMEMSET=1; AC_SUBST([HAVE_WMEMSET]) HAVE_WCSLEN=1; AC_SUBST([HAVE_WCSLEN]) HAVE_WCSNLEN=1; AC_SUBST([HAVE_WCSNLEN]) HAVE_WCSCPY=1; AC_SUBST([HAVE_WCSCPY]) HAVE_WCPCPY=1; AC_SUBST([HAVE_WCPCPY]) HAVE_WCSNCPY=1; AC_SUBST([HAVE_WCSNCPY]) HAVE_WCPNCPY=1; AC_SUBST([HAVE_WCPNCPY]) HAVE_WCSCAT=1; AC_SUBST([HAVE_WCSCAT]) HAVE_WCSNCAT=1; AC_SUBST([HAVE_WCSNCAT]) HAVE_WCSCMP=1; AC_SUBST([HAVE_WCSCMP]) HAVE_WCSNCMP=1; AC_SUBST([HAVE_WCSNCMP]) HAVE_WCSCASECMP=1; AC_SUBST([HAVE_WCSCASECMP]) HAVE_WCSNCASECMP=1; AC_SUBST([HAVE_WCSNCASECMP]) HAVE_WCSCOLL=1; AC_SUBST([HAVE_WCSCOLL]) HAVE_WCSXFRM=1; AC_SUBST([HAVE_WCSXFRM]) HAVE_WCSDUP=1; AC_SUBST([HAVE_WCSDUP]) HAVE_WCSCHR=1; AC_SUBST([HAVE_WCSCHR]) HAVE_WCSRCHR=1; AC_SUBST([HAVE_WCSRCHR]) HAVE_WCSCSPN=1; AC_SUBST([HAVE_WCSCSPN]) HAVE_WCSSPN=1; AC_SUBST([HAVE_WCSSPN]) HAVE_WCSPBRK=1; AC_SUBST([HAVE_WCSPBRK]) HAVE_WCSSTR=1; AC_SUBST([HAVE_WCSSTR]) HAVE_WCSTOK=1; AC_SUBST([HAVE_WCSTOK]) HAVE_WCSWIDTH=1; AC_SUBST([HAVE_WCSWIDTH]) HAVE_WCSFTIME=1; AC_SUBST([HAVE_WCSFTIME]) HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB]) HAVE_DECL_WCSDUP=1; AC_SUBST([HAVE_DECL_WCSDUP]) HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH]) REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T]) REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC]) REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB]) REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT]) REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC]) REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN]) REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS]) REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS]) REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB]) REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS]) REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS]) REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH]) REPLACE_WCSWIDTH=0; AC_SUBST([REPLACE_WCSWIDTH]) REPLACE_WCSFTIME=0; AC_SUBST([REPLACE_WCSFTIME]) REPLACE_WCSCMP=0; AC_SUBST([REPLACE_WCSCMP]) REPLACE_WCSNCAT=0; AC_SUBST([REPLACE_WCSNCAT]) REPLACE_WCSNCMP=0; AC_SUBST([REPLACE_WCSNCMP]) REPLACE_WCSSTR=0; AC_SUBST([REPLACE_WCSSTR]) REPLACE_WCSTOK=0; AC_SUBST([REPLACE_WCSTOK]) REPLACE_WMEMCMP=0; AC_SUBST([REPLACE_WMEMCMP]) REPLACE_WMEMPCPY=0; AC_SUBST([REPLACE_WMEMPCPY]) ]) datamash-1.9/m4/wctype_h.m40000644000000000000000000001506114767401140011207 # wctype_h.m4 # serial 33 dnl A placeholder for ISO C99 , for platforms that lack it. dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl Written by Paul Eggert. AC_DEFUN_ONCE([gl_WCTYPE_H], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS_ONCE([iswcntrl]) if test $ac_cv_func_iswcntrl = yes; then HAVE_ISWCNTRL=1 else HAVE_ISWCNTRL=0 fi AC_SUBST([HAVE_ISWCNTRL]) AC_REQUIRE([gt_TYPE_WINT_T]) if test $gt_cv_c_wint_t = yes; then HAVE_WINT_T=1 else HAVE_WINT_T=0 fi AC_SUBST([HAVE_WINT_T]) AC_REQUIRE([gl_TYPE_WINT_T_PREREQ]) gl_CHECK_NEXT_HEADERS([wctype.h]) if test $ac_cv_header_wctype_h = yes; then if test $ac_cv_func_iswcntrl = yes; then dnl Linux libc5 has an iswprint function that returns 0 for all arguments. dnl The other functions are likely broken in the same way. AC_CACHE_CHECK([whether iswcntrl works], [gl_cv_func_iswcntrl_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main () { return iswprint ('x') == 0; } ]])], [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no], [dnl Guess no on Linux libc5, yes otherwise. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #if __GNU_LIBRARY__ == 1 Linux libc5 i18n is broken. #endif]], [[]])], [gl_cv_func_iswcntrl_works="guessing yes"], [gl_cv_func_iswcntrl_works="guessing no"]) ]) ]) fi HAVE_WCTYPE_H=1 else HAVE_WCTYPE_H=0 fi AC_SUBST([HAVE_WCTYPE_H]) if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then REPLACE_ISWCNTRL=1 else case "$gl_cv_func_iswcntrl_works" in *yes) REPLACE_ISWCNTRL=0 ;; *) REPLACE_ISWCNTRL=1 ;; esac fi AC_SUBST([REPLACE_ISWCNTRL]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then dnl Redefine all of iswcntrl, ..., iswxdigit in . : fi if test $REPLACE_ISWCNTRL = 1; then REPLACE_TOWLOWER=1 else AC_CHECK_FUNCS([towlower]) if test $ac_cv_func_towlower = yes; then REPLACE_TOWLOWER=0 else AC_CHECK_DECLS([towlower],,, [[#include #if HAVE_WCTYPE_H # include #endif ]]) if test $ac_cv_have_decl_towlower = yes; then dnl On Minix 3.1.8, the system's declares towlower() and dnl towupper() although it does not have the functions. Avoid a dnl collision with gnulib's replacement. REPLACE_TOWLOWER=1 else REPLACE_TOWLOWER=0 fi fi fi AC_SUBST([REPLACE_TOWLOWER]) if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then dnl Redefine towlower, towupper in . : fi dnl We assume that the wctype() and iswctype() functions exist if and only dnl if the type wctype_t is defined in or in if that dnl exists. dnl HP-UX 11.00 declares all these in and lacks . AC_CACHE_CHECK([for wctype_t], [gl_cv_type_wctype_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #if HAVE_WCTYPE_H # include #endif wctype_t a; ]], [[]])], [gl_cv_type_wctype_t=yes], [gl_cv_type_wctype_t=no]) ]) if test $gl_cv_type_wctype_t = no; then HAVE_WCTYPE_T=0 fi dnl We assume that the wctrans() and towctrans() functions exist if and only dnl if the type wctrans_t is defined in . AC_CACHE_CHECK([for wctrans_t], [gl_cv_type_wctrans_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include wctrans_t a; ]], [[]])], [gl_cv_type_wctrans_t=yes], [gl_cv_type_wctrans_t=no]) ]) if test $gl_cv_type_wctrans_t = no; then HAVE_WCTRANS_T=0 fi dnl Check for declarations of anything we want to poison if the dnl corresponding gnulib module is not in use. gl_WARN_ON_USE_PREPARE([[ #if !(defined __GLIBC__ && !defined __UCLIBC__) # include #endif #include ]], [wctype iswctype wctrans towctrans ]) ]) # gl_WCTYPE_MODULE_INDICATOR([modulename]) # sets the shell variable that indicates the presence of the given module # to a C preprocessor expression that will evaluate to 1. # This macro invocation must not occur in macros that are AC_REQUIREd. AC_DEFUN([gl_WCTYPE_MODULE_INDICATOR], [ dnl Ensure to expand the default settings once only. gl_WCTYPE_H_REQUIRE_DEFAULTS gl_MODULE_INDICATOR_SET_VARIABLE([$1]) dnl Define it also as a C macro, for the benefit of the unit tests. gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) # Initializes the default values for AC_SUBSTed shell variables. # This macro must not be AC_REQUIREd. It must only be invoked, and only # outside of macros or in macros that are not AC_REQUIREd. AC_DEFUN([gl_WCTYPE_H_REQUIRE_DEFAULTS], [ m4_defun(GL_MODULE_INDICATOR_PREFIX[_WCTYPE_H_MODULE_INDICATOR_DEFAULTS], [ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWBLANK]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWDIGIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWPUNCT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWXDIGIT]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTYPE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWCTYPE]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTRANS]) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOWCTRANS]) ]) m4_require(GL_MODULE_INDICATOR_PREFIX[_WCTYPE_H_MODULE_INDICATOR_DEFAULTS]) AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) ]) AC_DEFUN([gl_WCTYPE_H_DEFAULTS], [ dnl Assume proper GNU behavior unless another module says otherwise. HAVE_ISWBLANK=1; AC_SUBST([HAVE_ISWBLANK]) HAVE_WCTYPE_T=1; AC_SUBST([HAVE_WCTYPE_T]) HAVE_WCTRANS_T=1; AC_SUBST([HAVE_WCTRANS_T]) REPLACE_ISWBLANK=0; AC_SUBST([REPLACE_ISWBLANK]) REPLACE_ISWDIGIT=0; AC_SUBST([REPLACE_ISWDIGIT]) REPLACE_ISWPUNCT=0; AC_SUBST([REPLACE_ISWPUNCT]) REPLACE_ISWXDIGIT=0; AC_SUBST([REPLACE_ISWXDIGIT]) REPLACE_WCTRANS=0; AC_SUBST([REPLACE_WCTRANS]) REPLACE_WCTYPE=0; AC_SUBST([REPLACE_WCTYPE]) ]) datamash-1.9/m4/wcwidth.m40000644000000000000000000000672214767401140011042 # wcwidth.m4 # serial 38 dnl Copyright (C) 2006-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_FUNC_WCWIDTH], [ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Persuade glibc to declare wcwidth(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_CHECK_HEADERS_ONCE([wchar.h]) AC_CHECK_FUNCS_ONCE([wcwidth]) AC_CHECK_DECLS([wcwidth], [], [], [[ #include ]]) if test $ac_cv_have_decl_wcwidth != yes; then HAVE_DECL_WCWIDTH=0 fi if test $ac_cv_func_wcwidth != yes; then AC_CACHE_CHECK([whether wcwidth is a macro], [gl_cv_func_wcwidth_macro], [AC_EGREP_CPP([wchar_header_defines_wcwidth], [ #include #ifdef wcwidth wchar_header_defines_wcwidth #endif], [gl_cv_func_wcwidth_macro=yes], [gl_cv_func_wcwidth_macro=no]) ]) fi if test $ac_cv_func_wcwidth = yes || test $gl_cv_func_wcwidth_macro = yes; then HAVE_WCWIDTH=1 dnl On Mac OS X 10.3, wcwidth(0x0301) (COMBINING ACUTE ACCENT) returns 1. dnl On macOS 12.5, NetBSD 9.3, OpenBSD 5.0, MidnightBSD 1.1, dnl wcwidth(0x05B0) (HEBREW POINT SHEVA) returns 1. dnl On macOS 12.5, NetBSD 9.3, MidnightBSD 1.1, OSF/1 5.1, dnl wcwidth(0x200B) (ZERO WIDTH SPACE) returns 1. dnl On OpenBSD 5.8, wcwidth(0xFF1A) (FULLWIDTH COLON) returns 0. dnl This leads to bugs in 'ls' (coreutils). dnl On Solaris 11.4, wcwidth(0x2202) (PARTIAL DIFFERENTIAL) returns 2, dnl even in Western locales. AC_CACHE_CHECK([whether wcwidth works reasonably in UTF-8 locales], [gl_cv_func_wcwidth_works], [ AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include #if !HAVE_DECL_WCWIDTH extern # ifdef __cplusplus "C" # endif int wcwidth (int); #endif int main () { int result = 0; if (setlocale (LC_ALL, "en_US.UTF-8") != NULL) { if (wcwidth (0x0301) > 0) result |= 1; if (wcwidth (0x05B0) > 0) result |= 2; if (wcwidth (0x200B) > 0) result |= 4; if (wcwidth (0xFF1A) == 0) result |= 8; if (wcwidth (0x2202) > 1) result |= 16; } return result; }]])], [gl_cv_func_wcwidth_works=yes], [gl_cv_func_wcwidth_works=no], [ changequote(,)dnl case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_wcwidth_works="guessing yes";; # Guess yes on musl systems. *-musl* | midipix*) gl_cv_func_wcwidth_works="guessing yes";; # Guess yes on AIX 7 systems. aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";; *) gl_cv_func_wcwidth_works="$gl_cross_guess_normal";; esac changequote([,])dnl ]) ]) case "$gl_cv_func_wcwidth_works" in *yes) ;; *no) REPLACE_WCWIDTH=1 ;; esac else HAVE_WCWIDTH=0 fi dnl We don't substitute HAVE_WCWIDTH. We assume that if the system does not dnl have the wcwidth function, then it does not declare it. ]) # Prerequisites of lib/wcwidth.c. AC_DEFUN([gl_PREREQ_WCWIDTH], [ AC_REQUIRE([AC_C_INLINE]) : ]) datamash-1.9/m4/wint_t.m40000644000000000000000000000352314771573666010713 # wint_t.m4 # serial 11 dnl Copyright (C) 2003, 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl From Bruno Haible. dnl Test whether has the 'wint_t' type and whether gnulib's dnl or would, if present, override 'wint_t'. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WINT_T], [ AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include wint_t foo = (wchar_t)'\0';]], [[]])], [gt_cv_c_wint_t=yes], [gt_cv_c_wint_t=no])]) if test $gt_cv_c_wint_t = yes; then AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) dnl Determine whether gnulib's or would, if present, dnl override 'wint_t'. AC_CACHE_CHECK([whether wint_t is large enough], [gl_cv_type_wint_t_large_enough], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1]; ]])], [gl_cv_type_wint_t_large_enough=yes], [gl_cv_type_wint_t_large_enough=no])]) if test $gl_cv_type_wint_t_large_enough = no; then GNULIBHEADERS_OVERRIDE_WINT_T=1 else GNULIBHEADERS_OVERRIDE_WINT_T=0 fi else GNULIBHEADERS_OVERRIDE_WINT_T=0 fi AC_SUBST([GNULIBHEADERS_OVERRIDE_WINT_T]) ]) dnl Prerequisites of the 'wint_t' override. AC_DEFUN([gl_TYPE_WINT_T_PREREQ], [ AC_CHECK_HEADERS_ONCE([crtdefs.h]) if test $ac_cv_header_crtdefs_h = yes; then HAVE_CRTDEFS_H=1 else HAVE_CRTDEFS_H=0 fi AC_SUBST([HAVE_CRTDEFS_H]) ]) datamash-1.9/m4/xalloc.m40000644000000000000000000000056214767401140010647 # xalloc.m4 # serial 18 dnl Copyright (C) 2002-2006, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_XALLOC], [:]) datamash-1.9/m4/xsize.m40000644000000000000000000000071614771573666010552 # xsize.m4 # serial 5 dnl Copyright (C) 2003-2004, 2008-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_XSIZE], [ dnl Prerequisites of lib/xsize.h. AC_REQUIRE([gl_SIZE_MAX]) AC_CHECK_HEADERS([stdint.h]) ]) datamash-1.9/m4/xstrtol.m40000644000000000000000000000062614767401140011105 # xstrtol.m4 # serial 12 dnl Copyright (C) 2002-2007, 2009-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. AC_DEFUN([gl_XSTRTOL], [ AC_REQUIRE([AC_C_RESTRICT]) : ]) datamash-1.9/m4/zzgnulib.m40000644000000000000000000000161214767401140011226 # zzgnulib.m4 # serial 1 dnl Copyright (C) 2020-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This file is offered as-is, without any warranty. dnl This file must be named something that sorts after all other dnl package- or gnulib-provided .m4 files - at least for those packages dnl that redefine AC_PROG_CC. dnl Redefine AC_PROG_CC so that it ends with invocations of gl_COMPILER_CLANG dnl and gl_COMPILER_PREPARE_CHECK_DECL. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[ gl_COMPILER_CLANG gl_COMPILER_PREPARE_CHECK_DECL ]) # gl_ZZGNULIB # ----------- # Witness macro that this file has been included. Needed to force # Automake to include this file after all other gnulib .m4 files. AC_DEFUN([gl_ZZGNULIB]) datamash-1.9/maint.mk0000644000000000000000000021464414771573666010276 # -*-Makefile-*- # This Makefile fragment tries to be general-purpose enough to be # used by many projects via the gnulib maintainer-makefile module. ## Copyright (C) 2001-2025 Free Software Foundation, Inc. ## ## 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 . # This is reported not to work with make-3.79.1 # ME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) ME := maint.mk # These variables ought to be defined through the configure.ac section # of the module description. But some packages import this file directly, # ignoring the module description. AWK ?= awk GREP ?= grep SED ?= sed # Helper variables. _empty = _sp = $(_empty) $(_empty) # _equal,S1,S2 # ------------ # If S1 == S2, return S1, otherwise the empty string. _equal = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1))) # member-check,VARIABLE,VALID-VALUES # ---------------------------------- # Check that $(VARIABLE) is in the space-separated list of VALID-VALUES, and # return it. Die otherwise. member-check = \ $(strip \ $(if $($(1)), \ $(if $(findstring $(_sp),$($(1))), \ $(error invalid $(1): '$($(1))', expected $(2)), \ $(or $(findstring $(_sp)$($(1))$(_sp),$(_sp)$(2)$(_sp)), \ $(error invalid $(1): '$($(1))', expected $(2)))), \ $(error $(1) undefined))) # Do not save the original name or timestamp in the .tar.gz file. # Use --rsyncable if available. gzip_rsyncable := \ $(shell gzip --help 2>/dev/null|$(GREP) rsyncable >/dev/null \ && printf %s --rsyncable) GZIP_ENV = '--no-name --best $(gzip_rsyncable)' GIT = git VC = $(GIT) VC_LIST = $(srcdir)/$(_build-aux)/vc-list-files -C $(srcdir) # You can override this variable in cfg.mk if your gnulib submodule lives # in a different location. gnulib_dir ?= $(shell if test -n "$(GNULIB_SRCDIR)" && test -f "$(GNULIB_SRCDIR)/gnulib-tool"; then \ echo "$(GNULIB_SRCDIR)"; \ else \ echo $(srcdir)/gnulib; \ fi) # You can override this variable in cfg.mk to set your own regexp # matching files to ignore. VC_LIST_ALWAYS_EXCLUDE_REGEX ?= ^$$ # This is to preprocess robustly the output of $(VC_LIST), so that even # when $(srcdir) is a pathological name like "....", the leading sed command # removes only the intended prefix. _dot_escaped_srcdir = $(subst .,\.,$(srcdir)) # Post-process $(VC_LIST) output, prepending $(srcdir)/, but only # when $(srcdir) is not ".". ifeq ($(srcdir),.) _prepend_srcdir_prefix = else _prepend_srcdir_prefix = | $(SED) 's|^|$(srcdir)/|' endif # In order to be able to consistently filter "."-relative names, # (i.e., with no $(srcdir) prefix), this definition is careful to # remove any $(srcdir) prefix, and to restore what it removes. _sc_excl = \ $(or $(exclude_file_name_regexp--$@),^$$) VC_LIST_EXCEPT = \ $(VC_LIST) | $(SED) 's|^$(_dot_escaped_srcdir)/||' \ | if test -f $(srcdir)/.x-$@; then $(GREP) -vEf $(srcdir)/.x-$@; \ else $(GREP) -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \ | $(GREP) -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX)|$(_sc_excl))' \ $(_prepend_srcdir_prefix) ifeq ($(origin prev_version_file), undefined) prev_version_file = $(srcdir)/.prev-version endif PREV_VERSION := $(shell cat $(prev_version_file) 2>/dev/null) VERSION_REGEXP = $(subst .,\.,$(VERSION)) PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION)) ifeq ($(VC),$(GIT)) this-vc-tag = v$(VERSION) this-vc-tag-regexp = v$(VERSION_REGEXP) else tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') tag-this-version = $(subst .,_,$(VERSION)) this-vc-tag = $(tag-package)-$(tag-this-version) this-vc-tag-regexp = $(this-vc-tag) endif my_distdir = $(PACKAGE)-$(VERSION) # Old releases are stored here. release_archive_dir ?= ../release # If RELEASE_TYPE is undefined, but RELEASE is, use its second word. # But overwrite VERSION. ifdef RELEASE ifeq ($(origin RELEASE),command line) VERSION := $(word 1,$(RELEASE)) RELEASE_TYPE ?= $(word 2,$(RELEASE)) endif endif # Validate and return $(RELEASE_TYPE), or die. RELEASE_TYPES = alpha beta stable release-type = $(call member-check,RELEASE_TYPE,$(RELEASE_TYPES)) # Override gnu_rel_host and url_dir_list in cfg.mk if these are not right. # Use alpha.gnu.org for alpha and beta releases. # Use ftp.gnu.org for stable releases. gnu_ftp_host-alpha = alpha.gnu.org gnu_ftp_host-beta = alpha.gnu.org gnu_ftp_host-stable = ftp.gnu.org gnu_rel_host ?= $(gnu_ftp_host-$(release-type)) url_dir_list ?= $(if $(call _equal,$(gnu_rel_host),ftp.gnu.org), \ https://ftpmirror.gnu.org/$(PACKAGE), \ https://$(gnu_rel_host)/gnu/$(PACKAGE)) # An ERE matching the release date (typically today, but not necessarily). # Override this in cfg.mk if you are using a different format in your # NEWS file. today = [0-9]{4,}-[0-9][0-9]-[0-9][0-9] # Select which lines of NEWS are searched for $(news-check-regexp). # This is a sed line number spec. The default says that we search # lines 1..10 of NEWS for $(news-check-regexp). # If you want to search only line 3 or only lines 20-22, use "3" or "20,22". news-check-lines-spec ?= 1,10 # An ERE quoted for the shell, for matching a version+date line prefix. news-check-regexp ?= '^\*.* $(VERSION_REGEXP) \($(today)\)' # Prevent programs like 'sort' from considering distinct strings to be equal. # Doing it here saves us from having to set LC_ALL elsewhere in this file. export LC_ALL = C ## --------------- ## ## Sanity checks. ## ## --------------- ## ifneq ($(_gl-Makefile),) _cfg_mk := $(wildcard $(srcdir)/cfg.mk) # Collect the names of rules starting with 'sc_'. syntax-check-rules := $(sort $(shell env LC_ALL=C $(SED) -n \ 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk))) .PHONY: $(syntax-check-rules) ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0) local-checks-available += $(syntax-check-rules) else local-checks-available += no-vc-detected no-vc-detected: @echo "No version control files detected; skipping syntax check" endif .PHONY: $(local-checks-available) # Arrange to prine the name of each syntax-checking rule just before running it. $(syntax-check-rules): %: %.m sc_m_rules_ = $(patsubst %, %.m, $(syntax-check-rules)) .PHONY: $(sc_m_rules_) $(sc_m_rules_): @echo $(patsubst sc_%.m, %, $@) @date +%s.%N > .sc-start-$(basename $@) # Compute and print the elapsed time for each syntax-check rule. sc_z_rules_ = $(patsubst %, %.z, $(syntax-check-rules)) .PHONY: $(sc_z_rules_) $(sc_z_rules_): %.z: % @end=$$(date +%s.%N); \ start=$$(cat .sc-start-$*); \ rm -f .sc-start-$*; \ $(AWK) -v s=$$start -v e=$$end \ 'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null # The patsubst here is to replace each sc_% rule with its sc_%.z wrapper # that computes and prints elapsed time. local-check := \ $(patsubst sc_%, sc_%.z, \ $(filter-out $(local-checks-to-skip), $(local-checks-available))) syntax-check: $(local-check) endif # _sc_search_regexp # # This macro searches for a given construct in the selected files and # then takes some action. # # Parameters (shell variables): # # prohibit | require # # Regular expression (ERE) denoting either a forbidden construct # or a required construct. Those arguments are exclusive. # # exclude # # Regular expression (ERE) denoting lines to ignore that matched # a prohibit construct. For example, this can be used to exclude # comments that mention why the nearby code uses an alternative # construct instead of the simpler prohibited construct. # # in_vc_files | in_files # # grep-E-style regexp selecting the files to check. For in_vc_files, # the regexp is used to select matching files from the list of all # version-controlled files; for in_files, it's from the names printed # by "find $(srcdir)". When neither is specified, use all files that # are under version control. # # containing | non_containing # # Select the files (non) containing strings matching this regexp. # If both arguments are specified then CONTAINING takes # precedence. # # with_grep_options # # Extra options for grep. # # ignore_case # # Ignore case. # # halt # # Message to display before to halting execution. # # Finally, you may exempt files based on an ERE matching file names. # For example, to exempt from the sc_space_tab check all files with the # .diff suffix, set this Make variable: # # exclude_file_name_regexp--sc_space_tab = \.diff$ # # Note that while this functionality is mostly inherited via VC_LIST_EXCEPT, # when filtering by name via in_files, we explicitly filter out matching # names here as well. # Initialize each, so that envvar settings cannot interfere. export require = export prohibit = export exclude = export in_vc_files = export in_files = export containing = export non_containing = export halt = export with_grep_options = # By default, _sc_search_regexp does not ignore case. export ignore_case = _ignore_case = $$(test -n "$$ignore_case" && printf %s -i || :) define _sc_say_and_exit dummy=; : so we do not need a semicolon before each use; \ { printf '%s\n' "$(ME): $$msg" 1>&2; exit 1; }; endef define _sc_search_regexp dummy=; : so we do not need a semicolon before each use; \ \ : Check arguments; \ test -n "$$prohibit" && test -n "$$require" \ && { msg='Cannot specify both prohibit and require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -z "$$require" \ && { msg='Should specify either prohibit or require' \ $(_sc_say_and_exit) } || :; \ test -z "$$prohibit" && test -n "$$exclude" \ && { msg='Use of exclude requires a prohibit pattern' \ $(_sc_say_and_exit) } || :; \ test -n "$$in_vc_files" && test -n "$$in_files" \ && { msg='Cannot specify both in_vc_files and in_files' \ $(_sc_say_and_exit) } || :; \ test "x$$halt" != x \ || { msg='halt not defined' $(_sc_say_and_exit) }; \ \ : Filter by file name; \ if test -n "$$in_files"; then \ files=$$(find $(srcdir) | $(GREP) -E "$$in_files" \ | $(GREP) -Ev '$(_sc_excl)'); \ else \ files=$$($(VC_LIST_EXCEPT)); \ if test -n "$$in_vc_files"; then \ files=$$(echo "$$files" | $(GREP) -E "$$in_vc_files"); \ fi; \ fi; \ \ : Filter by content; \ test -n "$$files" \ && test -n "$$containing" \ && { files=$$(echo "$$files" | xargs $(GREP) -l "$$containing"); } \ || :; \ test -n "$$files" \ && test -n "$$non_containing" \ && { files=$$(echo "$$files" | xargs $(GREP) -vl "$$non_containing"); } \ || :; \ \ : Check for the construct; \ if test -n "$$files"; then \ if test -n "$$prohibit"; then \ echo "$$files" \ | xargs $(GREP) $$with_grep_options $(_ignore_case) -nE \ "$$prohibit" /dev/null \ | $(GREP) -vE "$${exclude:-^$$}" \ && { msg="$$halt" $(_sc_say_and_exit) } \ || :; \ else \ echo "$$files" \ | xargs \ $(GREP) $$with_grep_options $(_ignore_case) -LE "$$require" \ | $(GREP) . \ && { msg="$$halt" $(_sc_say_and_exit) } \ || :; \ fi \ else :; \ fi || :; endef sc_avoid_if_before_free: @$(VC_LIST_EXCEPT) \ | $(GREP) -v useless-if-before-free \ | xargs \ $(srcdir)/$(_build-aux)/useless-if-before-free \ $(useless_free_options) \ && { printf '$(ME): found useless "if"' \ ' before "free" above\n' 1>&2; \ exit 1; } \ || : sc_cast_of_argument_to_free: @prohibit='\/dev/null 2>&1; then \ (cd $(srcdir) && autoconf --trace AC_CONFIG_FILES:'$$1') | \ tr ' ' '\n' | \ $(SED) -ne '/Makefile/{s/\.in$$//;p;}' | \ while read m; do \ $(MAKE) -qp -f $$m .DUMMY-TARGET 2>/dev/null | \ $(AWK) -v file=$$m -e '$($@_awk_)' || exit 1; \ done; \ fi # Using EXIT_SUCCESS as the first argument to error is misleading, # since when that parameter is 0, error does not exit. Use '0' instead. sc_error_exit_success: @prohibit='error *\(EXIT_SUCCESS,' \ in_vc_files='\.[chly]$$' \ halt='found error (EXIT_SUCCESS' \ $(_sc_search_regexp) # "FATAL:" should be fully upper-cased in error messages # "WARNING:" should be fully upper-cased, or fully lower-cased sc_error_message_warn_fatal: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '"Warning|"Fatal|"fatal' \ && { echo '$(ME): use FATAL, WARNING or warning' 1>&2; \ exit 1; } \ || : # Error messages should not start with a capital letter sc_error_message_uppercase: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '"[A-Z]' \ | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|"PRI' \ && { echo '$(ME): found capitalized error message' 1>&2; \ exit 1; } \ || : # Error messages should not end with a period sc_error_message_period: @$(VC_LIST_EXCEPT) \ | xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \ | $(GREP) -E '[^."]\."' \ && { echo '$(ME): found error message ending in period' 1>&2; \ exit 1; } \ || : sc_file_system: @prohibit=file''system \ exclude='/proc/filesystems' \ ignore_case=1 \ halt='found use of "file''system"; spell it "file system"' \ $(_sc_search_regexp) # Don't use cpp tests of this symbol. All code assumes config.h is included. sc_prohibit_have_config_h: @prohibit='^# *if.*HAVE''_CONFIG_H' \ halt='found use of HAVE''_CONFIG_H; remove' \ $(_sc_search_regexp) # Nearly all .c files must include . However, we also permit this # via inclusion of a package-specific header, if cfg.mk specified one. # config_h_header must be suitable for grep -E. # Rationale: The Gnulib documentation, node 'Include '. config_h_header ?= sc_require_config_h: @require='^# *include $(config_h_header)' \ in_vc_files='\.c$$' \ halt='the above files do not include ' \ $(_sc_search_regexp) # Print each file name for which the first #include does not match # $(config_h_header). Like grep -m 1, this only looks at the first match. perl_config_h_first_ = \ -e 'BEGIN {$$ret = 0}' \ -e 'if (/^\# *include\b/) {' \ -e ' if (not m{^\# *include $(config_h_header)}) {' \ -e ' print "$$ARGV\n";' \ -e ' $$ret = 1;' \ -e ' }' \ -e ' \# Move on to next file after first include' \ -e ' close ARGV;' \ -e '}' \ -e 'END {exit $$ret}' # You must include before including any other header file. # This can possibly be via a package-specific header, if given by cfg.mk. # Rationale: The Gnulib documentation, node 'Include '. sc_require_config_h_first: @if $(VC_LIST_EXCEPT) | $(GREP) '\.c$$' > /dev/null; then \ files=$$($(VC_LIST_EXCEPT) | $(GREP) '\.c$$') && \ perl -n $(perl_config_h_first_) $$files || \ { echo '$(ME): the above files include some other header' \ 'before ' 1>&2; exit 1; } || :; \ else :; \ fi # Generated headers that override system headers. # These are documented in gnulib-tool.texi. Keep sorted. # sed -n -e 's/^@item[[:space:]]\{1,\}@code{\([^}]\{1,\}\)}$/\1/p' $GNULIB_SRCDIR/doc/gnulib-tool.texi | sort -u gl_prefer_angle_bracket_headers_ ?= \ alloca.h \ arpa/inet.h \ assert.h \ byteswap.h \ ctype.h \ dirent.h \ endian.h \ errno.h \ error.h \ fcntl.h \ fenv.h \ float.h \ fnmatch.h \ getopt.h \ glob.h \ iconv.h \ inttypes.h \ langinfo.h \ limits.h \ locale.h \ malloc.h \ math.h \ mntent.h \ monetary.h \ net/if.h \ netdb.h \ netinet/in.h \ omp.h \ poll.h \ pthread.h \ pty.h \ sched.h \ search.h \ selinux/selinux.h \ signal.h \ spawn.h \ stdalign.h \ stdarg.h \ stddef.h \ stdint.h \ stdio.h \ stdlib.h \ string.h \ strings.h \ sys/file.h \ sys/ioctl.h \ sys/msg.h \ sys/random.h \ sys/resource.h \ sys/select.h \ sys/sem.h \ sys/shm.h \ sys/socket.h \ sys/stat.h \ sys/time.h \ sys/times.h \ sys/types.h \ sys/uio.h \ sys/un.h \ sys/utsname.h \ sys/wait.h \ sysexits.h \ termios.h \ threads.h \ time.h \ uchar.h \ unistd.h \ utime.h \ utmp.h \ wchar.h \ wctype.h # Remove each .h suffix and change each space to "|". angle_bracket_header_re = \ $(subst $(_sp),|,$(patsubst %.h,%,$(gl_prefer_angle_bracket_headers_))) # Suggest using '#include ' instead of '#include "header.h"' for # headers that override system headers. # Rationale: The Gnulib documentation, node 'Style of #include statements'. sc_prefer_angle_bracket_headers: @prohibit='^ *# *include "($(angle_bracket_header_re))\.h"' \ halt='Use #include , not #include "hdr.h" for the above' \ $(_sc_search_regexp) sc_prohibit_HAVE_MBRTOWC: @prohibit='\bHAVE_MBRTOWC\b' \ halt="do not use $$prohibit; it is always defined" \ $(_sc_search_regexp) # To use this "command" macro, you must first define two shell variables: # h: the header name, with no enclosing <> or "" # re: a regular expression that matches IFF something provided by $h is used. define _sc_header_without_use dummy=; : so we do not need a semicolon before each use; \ h_esc=`echo '[<"]'"$$h"'[">]'|$(SED) 's/\./\\\\./g'`; \ if $(VC_LIST_EXCEPT) | $(GREP) '\.c$$' > /dev/null; then \ files=$$($(GREP) -l '^# *include '"$$h_esc" \ $$($(VC_LIST_EXCEPT) | $(GREP) '\.c$$')) && \ $(GREP) -LE "$$re" $$files | $(GREP) . && \ { echo "$(ME): the above files include $$h but don't use it" \ 1>&2; exit 1; } || :; \ else :; \ fi endef # Prohibit the inclusion of assert.h without an actual use of assert. sc_prohibit_assert_without_use: @h='assert.h' re='\new(file => "/dev/stdin")->as_string'|sed 's/\?://g' _xa1 = x(i(m(emdup0?|alloc)|realloc(array)?|([cz]|nm)alloc)|([pz]|c(har)?|2n?re|nm)alloc|realloc(array)?|m(alloc|emdup)|alloc_die|strdup) _xa2 = X([CZ]|N?M)ALLOC sc_prohibit_xalloc_without_use: @h='xalloc.h' \ re='\<($(_xa1)|$(_xa2)) *\('\ $(_sc_header_without_use) # Extract function names: # perl -lne '/^(?:extern )?(?:void|char|Hash_table) \*?(\w+) *\(/ and print $1' lib/hash.h _hash_re = \ hash_(re(set_tuning|move)|xin(itialize|sert)|in(itialize|sert)|get_(firs|nex)t|print_statistics|(delet|fre)e|lookup|clear) _hash_fn = \<($(_hash_re)) *\( _hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> sc_prohibit_hash_without_use: @h='hash.h' \ re='$(_hash_fn)|$(_hash_struct)'\ $(_sc_header_without_use) sc_prohibit_cloexec_without_use: @h='cloexec.h' re='\<(set_cloexec_flag|dup_cloexec) *\(' \ $(_sc_header_without_use) sc_prohibit_posixver_without_use: @h='posixver.h' re='\' \ halt='do not use HAVE''_FCNTL_H or O'_NDELAY \ $(_sc_search_regexp) # Prohibit BSD4.3/SysV u_char, u_short, u_int and u_long usage. sc_unsigned_char: @prohibit=u''_char \ halt='don'\''t use u''_char; instead use unsigned char' \ $(_sc_search_regexp) sc_unsigned_short: @prohibit=u''_short \ halt='don'\''t use u''_short; instead use unsigned short' \ $(_sc_search_regexp) sc_unsigned_int: @prohibit=u''_int \ halt='don'\''t use u''_int; instead use unsigned int' \ $(_sc_search_regexp) sc_unsigned_long: @prohibit=u''_long \ halt='don'\''t use u''_long; instead use unsigned long' \ $(_sc_search_regexp) # FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ # Each nonempty ChangeLog line must start with a year number, or a TAB. sc_changelog: @prohibit='^[^12 ]' \ in_vc_files='^ChangeLog$$' \ halt='found unexpected prefix in a ChangeLog' \ $(_sc_search_regexp) # Ensure that each .c file containing a "main" function also # calls bindtextdomain. sc_bindtextdomain: @require='bindtextdomain *\(' \ in_vc_files='\.c$$' \ containing='\
/dev/null \ && : || { die=1; echo $$i; } \ done; \ test $$die = 1 && \ { echo 1>&2 '$(ME): the final line in each of the above is not:'; \ echo 1>&2 'Exit something'; \ exit 1; } || :; \ fi sc_trailing_blank: @prohibit='[ ]$$' \ halt='found trailing blank(s)' \ exclude='^Binary file .* matches$$' \ $(_sc_search_regexp) # Match lines like the following, but where there is only one space # between the options and the description: # -D, --all-repeated[=delimit-method] print all duplicate lines\n longopt_re = --[a-z][0-9A-Za-z-]*(\[?=[0-9A-Za-z-]*]?)? sc_two_space_separator_in_usage: @prohibit='^ *(-[A-Za-z],)? $(longopt_re) [^ ].*\\$$' \ halt='help2man requires at least two spaces between an option and its description'\ $(_sc_search_regexp) # A regexp matching function names like "error" that may be used # to emit translatable messages. _gl_translatable_diag_func_re ?= error # Look for diagnostics that aren't marked for translation. # This won't find any for which error's format string is on a separate line. sc_unmarked_diagnostics: @prohibit='\<$(_gl_translatable_diag_func_re) *\([^"]*"[^"]*[a-z]{3}' \ exclude='(_|ngettext ?)\(' \ halt='found unmarked diagnostic(s)' \ $(_sc_search_regexp) # Avoid useless parentheses like those in this example: # #if defined (SYMBOL) || defined (SYM2) sc_useless_cpp_parens: @prohibit='^# *if .*defined *\(' \ halt='found useless parentheses in cpp directive' \ $(_sc_search_regexp) # List headers for which HAVE_HEADER_H is always true, assuming you are # using the appropriate gnulib module. CAUTION: for each "unnecessary" # #if HAVE_HEADER_H that you remove, be sure that your project explicitly # requires the gnulib module that guarantees the usability of that header. gl_assured_headers_ = \ cd $(gnulib_dir)/lib && echo *.in.h|$(SED) 's/\.in\.h//g' # Convert the list of names to upper case, and replace each space with "|". az_ = abcdefghijklmnopqrstuvwxyz AZ_ = ABCDEFGHIJKLMNOPQRSTUVWXYZ gl_header_upper_case_or_ = \ $$($(gl_assured_headers_) \ | tr $(az_)/.- $(AZ_)___ \ | tr -s ' ' '|' \ ) sc_prohibit_always_true_header_tests: @or=$(gl_header_upper_case_or_); \ re="HAVE_($$or)_H"; \ prohibit='\<'"$$re"'\>' \ halt=$$(printf '%s\n' \ 'do not test the above HAVE_
_H symbol(s);' \ ' with the corresponding gnulib module, they are always true') \ $(_sc_search_regexp) sc_prohibit_defined_have_decl_tests: @prohibit='(#[ ]*ifn?def|\[ (]+HAVE_DECL_' \ halt='HAVE_DECL macros are always defined' \ $(_sc_search_regexp) # ================================================================== gl_other_headers_ ?= \ intprops.h \ openat.h \ stat-macros.h # Perl -lne code to extract "significant" cpp-defined symbols from a # gnulib header file, eliminating a few common false-positives. # The exempted names below are defined only conditionally in gnulib, # and hence sometimes must/may be defined in application code. gl_extract_significant_defines_ = \ /^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\ && $$2 !~ /(?:rpl_|_used_without_)/\ && $$1 !~ /^(?:NSIG|ENODATA)$$/\ && $$1 !~ /^(?:SA_RESETHAND|SA_RESTART)$$/\ and print $$1 # Create a list of regular expressions matching the names # of macros that are guaranteed to be defined by parts of gnulib. define def_sym_regex gen_h=$(gl_generated_headers_); \ (cd $(gnulib_dir)/lib; \ for f in *.in.h $(gl_other_headers_); do \ test -f $$f \ && perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ ) | sort -u \ | $(SED) 's/^/^ *# *(define|undef) */;s/$$/\\>/' endef # Don't define macros that we already get from gnulib header files. sc_prohibit_always-defined_macros: @if test -d $(gnulib_dir); then \ case $$(echo all: | $(GREP) -l -f - Makefile) in Makefile);; *) \ echo '$(ME): skipping $@: you lack GNU grep' 1>&2; exit 0;; \ esac; \ regex=$$($(def_sym_regex)); export regex; \ $(VC_LIST_EXCEPT) \ | xargs sh -c 'echo $$regex | $(GREP) -E -f - "$$@"' \ dummy /dev/null \ && { printf '$(ME): define the above' \ ' via some gnulib .h file\n' 1>&2; \ exit 1; } \ || :; \ fi # ================================================================== # Prohibit checked in backup files. sc_prohibit_backup_files: @$(VC_LIST) | $(GREP) '~$$' && \ { echo '$(ME): found version controlled backup file' 1>&2; \ exit 1; } || : # Require the latest GPL. sc_GPL_version: @prohibit='either ''version [^3]' \ halt='GPL vN, N!=3' \ $(_sc_search_regexp) # Require the latest GFDL. Two regexp, since some .texi files end up # line wrapping between 'Free Documentation License,' and 'Version'. _GFDL_regexp = (Free ''Documentation.*Version 1\.[^3]|Version 1\.[^3] or any) sc_GFDL_version: @prohibit='$(_GFDL_regexp)' \ halt='GFDL vN, N!=3' \ $(_sc_search_regexp) # Look out for FSF postal addresses -- use URLs instead: # https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Code.html sc_fsf_postal: @prohibit='(Mass Ave|Massachusetts Ave|Temple Pl|Franklin St|Milk St)' \ halt='use license URLs instead of FSF postal address' \ $(_sc_search_regexp) # Don't use Texinfo's @acronym{}. # https://lists.gnu.org/r/bug-gnulib/2010-03/msg00321.html texinfo_suffix_re_ ?= \.(txi|texi(nfo)?)$$ sc_texinfo_acronym: @prohibit='@acronym\{' \ in_vc_files='$(texinfo_suffix_re_)' \ halt='found use of Texinfo @acronym{}' \ $(_sc_search_regexp) cvs_keywords = \ Author|Date|Header|Id|Name|Locker|Log|RCSfile|Revision|Source|State sc_prohibit_cvs_keyword: @prohibit='\$$($(cvs_keywords))\$$' \ halt='do not use CVS keyword expansion' \ $(_sc_search_regexp) # This Perl code is slightly obfuscated. Not only is each "$" doubled # because it's in a Makefile, but the $$c's are comments; we cannot # use "#" due to the way the script ends up concatenated onto one line. # It would be much more concise, and would produce better output (including # counts) if written as: # perl -ln -0777 -e '/\n(\n+)$/ and print "$ARGV: ".length $1' ... # but that would be far less efficient, reading the entire contents # of each file, rather than just the last two bytes of each. # In addition, while the code below detects both blank lines and a missing # newline at EOF, the above detects only the former. # # This is a perl script that is expected to be the single-quoted argument # to a command-line "-le". The remaining arguments are file names. # Print the name of each file that does not end in exactly one newline byte. # I.e., warn if there are blank lines (2 or more newlines), or if the # last byte is not a newline. However, currently we don't complain # about any file that contains exactly one byte. # Exit nonzero if at least one such file is found, otherwise, exit 0. # Warn about, but otherwise ignore open failure. Ignore seek/read failure. # # Use this if you want to remove trailing empty lines from selected files: # perl -pi -0777 -e 's/\n\n+$/\n/' files... # require_exactly_one_NL_at_EOF_ = \ foreach my $$f (@ARGV) \ { \ open F, "<", $$f or (warn "failed to open $$f: $$!\n"), next; \ my $$p = sysseek (F, -2, 2); \ my $$c = "seek failure probably means file has < 2 bytes; ignore"; \ my $$last_two_bytes; \ defined $$p and $$p = sysread F, $$last_two_bytes, 2; \ close F; \ $$c = "ignore read failure"; \ $$p && ($$last_two_bytes eq "\n\n" \ || substr ($$last_two_bytes,1) ne "\n") \ and (print $$f), $$fail=1; \ } \ END { exit defined $$fail } sc_prohibit_empty_lines_at_EOF: @$(VC_LIST_EXCEPT) \ | xargs perl -le '$(require_exactly_one_NL_at_EOF_)' \ || { echo '$(ME): empty line(s) or no newline at EOF' 1>&2; \ exit 1; } \ || : # Make sure we don't use st_blocks. Use ST_NBLOCKS or STP_NBLOCKS instead. # This is a bit of a kludge, since it prevents use of the string # even in comments, but for now it does the job with no false positives. sc_prohibit_stat_st_blocks: @prohibit='[.>]st_blocks' \ halt='do not use st_blocks; use ST_NBLOCKS or STP_NBLOCKS' \ $(_sc_search_regexp) # Make sure we don't define any S_IS* macros in src/*.c files. # They're already defined via gnulib's sys/stat.h replacement. sc_prohibit_S_IS_definition: @prohibit='^ *# *define *S_IS' \ halt='do not define S_IS* macros; include ' \ $(_sc_search_regexp) # Perl block to convert a match to FILE_NAME:LINENO:TEST, # that is shared by two definitions below. perl_filename_lineno_text_ = \ -e ' {' \ -e ' $$n = ($$` =~ tr/\n/\n/ + 1);' \ -e ' ($$v = $$&) =~ s/\n/\\n/g;' \ -e ' print "$$ARGV:$$n:$$v\n";' \ -e ' }' prohibit_doubled_words_ = \ the then in an on if is it but for or at and do to can # expand the regex before running the check to avoid using expensive captures prohibit_doubled_word_expanded_ = \ $(join $(prohibit_doubled_words_),$(addprefix \s+,$(prohibit_doubled_words_))) prohibit_doubled_word_RE_ ?= \ /\b(?:$(subst $(_sp),|,$(prohibit_doubled_word_expanded_)))\b/gims prohibit_doubled_word_ = \ -e 'while ($(prohibit_doubled_word_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_doubled_word_match_RE_ ?= ^$$ sc_prohibit_doubled_word: @$(VC_LIST_EXCEPT) \ | xargs perl -n -0777 $(prohibit_doubled_word_) \ | $(GREP) -vE '$(ignore_doubled_word_match_RE_)' \ | $(GREP) . \ && { echo '$(ME): doubled words' 1>&2; exit 1; } \ || : # A regular expression matching undesirable combinations of words like # "can not"; this matches them even when the two words appear on different # lines, but not when there is an intervening delimiter like "#" or "*". # Similarly undesirable, "See @xref{...}", since an @xref should start # a sentence. Explicitly prohibit any prefix of "see" or "also". # Also prohibit a prefix matching "\w+ +". # @pxref gets the same see/also treatment and should be parenthesized; # presume it must *not* start a sentence. # POSIX spells it "timestamp" rather than "time\s+stamp", so we do, too. bad_xref_re_ ?= (?:[\w,:;] +|(?:see|also)\s+)\@xref\{ bad_pxref_re_ ?= (?:[.!?]|(?:see|also))\s+\@pxref\{ prohibit_undesirable_word_seq_RE_ ?= \ /(?:\bcan\s+not\b|\btime\s+stamps?\b|$(bad_xref_re_)|$(bad_pxref_re_))/gims prohibit_undesirable_word_seq_ = \ -e 'while ($(prohibit_undesirable_word_seq_RE_))' \ $(perl_filename_lineno_text_) # Define this to a regular expression that matches # any filename:dd:match lines you want to ignore. # The default is to ignore no matches. ignore_undesirable_word_sequence_RE_ ?= ^$$ sc_prohibit_undesirable_word_seq: @$(VC_LIST_EXCEPT) \ | xargs perl -n -0777 $(prohibit_undesirable_word_seq_) \ | $(GREP) -vE '$(ignore_undesirable_word_sequence_RE_)' \ | $(GREP) . \ && { echo '$(ME): undesirable word sequence' >&2; exit 1; } \ || : # Except for shell files and for loops, double semicolon is probably a mistake sc_prohibit_double_semicolon: @prohibit='; *;[ {} \]*(/[/*]|$$)' \ in_vc_files='\.[chly]$$' \ exclude='\bfor *\(.*\)' \ halt="Double semicolon detected" \ $(_sc_search_regexp) _ptm1 = use "test C1 && test C2", not "test C1 -''a C2" _ptm2 = use "test C1 || test C2", not "test C1 -''o C2" # Using test's -a and -o operators is not portable. # We prefer test over [, since the latter is spelled [[ in configure.ac. sc_prohibit_test_minus_ao: @prohibit='(\ /dev/null \ || { fail=1; echo 1>&2 "$(ME): $$p uses proper_name_utf8"; }; \ done; \ test $$fail = 1 && \ { echo 1>&2 '$(ME): the above do not link with any ICONV library'; \ exit 1; } || :; \ fi # Warn about "c0nst struct Foo const foo[]", # but not about "char const *const foo" or "#define const const". sc_redundant_const: @prohibit='\bconst\b[[:space:][:alnum:]]{2,}\bconst\b' \ halt='redundant "const" in declarations' \ $(_sc_search_regexp) sc_const_long_option: @prohibit='^ *static.*struct option ' \ exclude='const struct option|struct option const' \ halt='add "const" to the above declarations' \ $(_sc_search_regexp) NEWS_hash = \ $$($(SED) -n '/^\*.* $(PREV_VERSION_REGEXP) ([0-9-]*)/,$$p' \ $(srcdir)/NEWS \ | perl -0777 -pe \ 's/^Copyright.+?Free\sSoftware\sFoundation,\sInc\.\n//ms' \ | md5sum - \ | $(SED) 's/ .*//') # Ensure that we don't accidentally insert an entry into an old NEWS block. sc_immutable_NEWS: @if test -f $(srcdir)/NEWS; then \ test "$(NEWS_hash)" = '$(old_NEWS_hash)' && : || \ { echo '$(ME): you have modified old NEWS' 1>&2; exit 1; }; \ fi # Update the hash stored above. Do this after each release and # for any corrections to old entries. update-NEWS-hash: NEWS perl -pi -e 's/^(old_NEWS_hash[ \t]+:?=[ \t]+).*/$${1}'"$(NEWS_hash)/" \ $(srcdir)/cfg.mk # Ensure that we use only the standard $(VAR) notation, # not @...@ in Makefile.am, now that we can rely on automake # to emit a definition for each substituted variable. # However, there is still one case in which @VAR@ use is not just # legitimate, but actually required: when augmenting an automake-defined # variable with a prefix. For example, gettext uses this: # MAKEINFO = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= @MAKEINFO@ # otherwise, makeinfo would put German or French (current locale) # navigation hints in the otherwise-English documentation. # # Allow the package to add exceptions via a hook in cfg.mk; # for example, @PRAGMA_SYSTEM_HEADER@ can be permitted by # setting this to ' && !/PRAGMA_SYSTEM_HEADER/'. _makefile_at_at_check_exceptions ?= sc_makefile_at_at_check: @perl -ne '/\@\w+\@/' \ -e ' && !/(\w+)\s+=.*\@\1\@$$/' \ -e ''$(_makefile_at_at_check_exceptions) \ -e 'and (print "$$ARGV:$$.: $$_"), $$m=1; END {exit !$$m}' \ $$($(VC_LIST_EXCEPT) | $(GREP) -E '(^|/)(Makefile\.am|[^/]+\.mk)$$') \ && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || : news-check: NEWS $(AM_V_GEN)if $(SED) -n $(news-check-lines-spec)p $< \ | $(GREP) -E $(news-check-regexp) >/dev/null; then \ :; \ else \ echo 'NEWS: $$(news-check-regexp) failed to match' 1>&2; \ exit 1; \ fi sc_makefile_TAB_only_indentation: @prohibit='^ [ ]{8}' \ in_vc_files='akefile|\.mk$$' \ halt='found TAB-8-space indentation' \ $(_sc_search_regexp) sc_m4_quote_check: @prohibit='(AC_DEFINE(_UNQUOTED)?|AC_DEFUN)\([^[]' \ in_vc_files='(^configure\.ac|\.m4)$$' \ halt='quote the first arg to AC_DEF*' \ $(_sc_search_regexp) fix_po_file_diag = \ 'you have changed the set of files with translatable diagnostics;\n\ apply the above patch\n' # Generate a list of files in which to search for translatable strings. perl_translatable_files_list_ = \ -e 'foreach $$file (@ARGV) {' \ -e ' \# Consider only file extensions with one or two letters' \ -e ' $$file =~ /\...?$$/ or next;' \ -e ' \# Ignore m4 and mk files' \ -e ' $$file =~ /\.m[4k]$$/ and next;' \ -e ' \# Ignore a .c or .h file with a corresponding .l or .y file' \ -e ' $$file =~ /(.+)\.[ch]$$/ && (-e "$${1}.l" || -e "$${1}.y")' \ -e ' and next;' \ -e ' \# Skip unreadable files' \ -e ' -r $$file or next;' \ -e ' print "$$file ";' \ -e '}' # Verify that all source files using _() (more specifically, files that # match $(_gl_translatable_string_re)) are listed in po/POTFILES.in. po_file ?= $(srcdir)/po/POTFILES.in generated_files ?= $(srcdir)/lib/*.[ch] _gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$) sc_po_check: @if test -f $(po_file); then \ $(GREP) -E -v '^(#|$$)' $(po_file) \ | $(GREP) -v '^src/false\.c$$' | sort > $@-1; \ { $(VC_LIST_EXCEPT); echo $(generated_files); } \ | xargs perl $(perl_translatable_files_list_) \ | xargs $(GREP) -E -l '$(_gl_translatable_string_re)' \ | $(SED) 's|^$(_dot_escaped_srcdir)/||' \ | sort -u > $@-2; \ diff -u -L $(po_file) -L $(po_file) $@-1 $@-2 \ || { printf '$(ME): '$(fix_po_file_diag) 1>&2; exit 1; }; \ rm -f $@-1 $@-2; \ fi # Sometimes it is useful to change the PATH environment variable # in Makefiles. When doing so, it's better not to use the Unix-centric # path separator of ':', but rather the automake-provided '$(PATH_SEPARATOR)'. msg = 'Do not use ":" above; use $$(PATH_SEPARATOR) instead' sc_makefile_path_separator_check: @prohibit='PATH[=].*:' \ in_vc_files='akefile|\.mk$$' \ halt=$(msg) \ $(_sc_search_regexp) sc_makefile_DISTCHECK_CONFIGURE_FLAGS: @prohibit='^DISTCHECK_CONFIGURE_FLAGS' \ in_vc_files='akefile|\.mk$$' \ halt="use AM_DISTCHECK_CONFIGURE_FLAGS" \ $(_sc_search_regexp) # Check that 'make alpha' will not fail at the end of the process, # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release) # and is read-only. writable-files: $(AM_V_GEN)if test -d $(release_archive_dir); then \ for file in $(DIST_ARCHIVES); do \ for p in ./ $(release_archive_dir)/; do \ test -e $$p$$file || continue; \ test -w $$p$$file \ || { echo ERROR: $$p$$file is not writable; fail=1; }; \ done; \ done; \ test "$$fail" && exit 1 || : ; \ else :; \ fi v_etc_file = $(gnulib_dir)/lib/version-etc.c sample-test = tests/sample-test texi = doc/$(PACKAGE).texi # Make sure that the copyright date in $(v_etc_file) is up to date. # Do the same for the $(sample-test) and the main doc/.texi file. sc_copyright_check: @require='enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' \ in_files=$(v_etc_file) \ halt='out of date copyright in $(v_etc_file); update it' \ $(_sc_search_regexp) @require='# Copyright \(C\) '$$(date +%Y)' Free' \ in_vc_files=$(sample-test) \ halt='out of date copyright in $(sample-test); update it' \ $(_sc_search_regexp) @require='Copyright @copyright\{} .*'$$(date +%Y) \ in_vc_files=$(texi) \ halt='out of date copyright in $(texi); update it' \ $(_sc_search_regexp) # If tests/help-version exists and seems to be new enough, assume that its # use of init.sh and path_prepend_ is correct, and ensure that every other # use of init.sh is identical. # This is useful because help-version cross-checks prog --version # with $(VERSION), which verifies that its path_prepend_ invocation # sets PATH correctly. This is an inexpensive way to ensure that # the other init.sh-using tests also get it right. _hv_file ?= $(srcdir)/tests/help-version _hv_regex_weak ?= ^ *\. .*/init\.sh" # Fix syntax-highlighters " _hv_regex_strong ?= ^ *\. "\$${srcdir=\.}/init\.sh" sc_cross_check_PATH_usage_in_tests: @if test -f $(_hv_file); then \ $(GREP) -l 'VERSION mismatch' $(_hv_file) >/dev/null \ || { echo "$@: skipped: no such file: $(_hv_file)" 1>&2; \ exit 0; }; \ $(GREP) -lE '$(_hv_regex_strong)' $(_hv_file) >/dev/null \ || { echo "$@: $(_hv_file) lacks conforming use of init.sh" 1>&2; \ exit 1; }; \ good=$$($(GREP) -E '$(_hv_regex_strong)' $(_hv_file)); \ $(VC_LIST_EXCEPT) \ | xargs $(GREP) -lE '$(_hv_regex_weak)' \ | xargs $(GREP) -LFx "$$good" \ | $(GREP) . \ && { printf "$(ME): the above files use" \ " path_prepend_ inconsistently\n" 1>&2; \ exit 1; } \ || :; \ fi # BRE regex of file contents to identify a test script. _test_script_regex ?= \ # In tests, use "compare expected actual", not the reverse. sc_prohibit_reversed_compare_failure: @prohibit='\ vc-diffs || : $(AM_V_at)if test -s vc-diffs; then \ cat vc-diffs; \ echo "Some files are locally modified:" 1>&2; \ exit 1; \ else \ rm vc-diffs; \ fi rel-files = $(DIST_ARCHIVES) gnulib-version ?= \ $$(head -c11 $(gnulib_dir)/ChangeLog; \ if test -e $(gnulib_dir)/.git; then \ git -C $(gnulib_dir) rev-parse HEAD; \ elif test -f $(srcdir)/bootstrap.conf; then \ perl -lne '/^\s*GNULIB_REVISION=(\S+)/ and $$d=$$1;' \ -e 'END{defined $$d and print $$d}' $(srcdir)/bootstrap.conf; \ fi) bootstrap-tools ?= autoconf,automake,gnulib gpgv = $$(gpgv2 --version >/dev/null && echo gpgv2 || echo gpgv) # If it's not already specified, derive the GPG key ID from # the signed tag we've just applied to mark this release. gpg_key_ID ?= \ $$(cd $(srcdir) \ && git cat-file tag v$(VERSION) \ | $(gpgv) --status-fd 1 --keyring /dev/null - - 2>/dev/null \ | $(AWK) '/^\[GNUPG:] ERRSIG / {print $$3; exit}') gpg_key_email ?= \ $$(gpg --list-key --with-colons $(gpg_key_ID) 2>/dev/null \ | $(AWK) -F: '/^uid/ {print $$10; exit}' \ | $(SED) -n 's/.*<\(.*\)>/\1/p') gpg_keyring_url ?= https://savannah.gnu.org/project/release-gpgkeys.php?group=$(PACKAGE)&download=1 translation_project_ ?= coordinator@translationproject.org # Make info-gnu the default only for a stable release. announcement_Cc_stable = $(translation_project_), $(PACKAGE_BUGREPORT) announcement_mail_headers_stable = \ To: info-gnu@gnu.org \ Cc: $(announcement_Cc_) \ Mail-Followup-To: $(PACKAGE_BUGREPORT) announcement_Cc_alpha = $(translation_project_) announcement_mail_headers_alpha = \ To: $(PACKAGE_BUGREPORT) \ Cc: $(announcement_Cc_) announcement_mail_Cc_beta = $(announcement_mail_Cc_alpha) announcement_mail_headers_beta = $(announcement_mail_headers_alpha) announce_gen_args ?= announcement_Cc_ ?= $(announcement_Cc_$(release-type)) announcement_mail_headers_ ?= $(announcement_mail_headers_$(release-type)) announcement: NEWS ChangeLog $(rel-files) # Not $(AM_V_GEN) since the output of this command serves as # announcement message: it would start with " GEN announcement". $(AM_V_at)$(srcdir)/$(_build-aux)/announce-gen \ --mail-headers='$(announcement_mail_headers_)' \ --release-type=$(release-type) \ --package=$(PACKAGE) \ --prev=$(PREV_VERSION) \ --curr=$(VERSION) \ --gpg-key-id=$(gpg_key_ID) \ $$(test -n "$(gpg_key_email)" && \ echo --gpg-key-email="$(gpg_key_email)") \ $$(test -n "$(gpg_keyring_url)" && \ echo --gpg-keyring-url="$(gpg_keyring_url)") \ --srcdir=$(srcdir) \ --news=$(srcdir)/NEWS \ --bootstrap-tools=$(bootstrap-tools) \ "$$(case ,$(bootstrap-tools), in (*,gnulib,*) \ echo --gnulib-version=$(gnulib-version);; esac)" \ $(addprefix --url-dir=, $(url_dir_list)) \ $(announce_gen_args) .PHONY: release-commit release-commit: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/do-release-commit-and-tag \ -C $(abs_builddir) $(RELEASE) ## ---------------- ## ## Updating files. ## ## ---------------- ## ftp-gnu = https://ftp.gnu.org/gnu www-gnu = https://www.gnu.org upload_dest_dir_ ?= $(PACKAGE) upload_command = \ $(srcdir)/$(_build-aux)/gnupload $(GNUPLOADFLAGS) \ --to $(gnu_rel_host):$(upload_dest_dir_) \ $(rel-files) emit_upload_commands: @echo ===================================== @echo ===================================== @echo '$(upload_command)' @echo '# send the ~/announce-$(my_distdir) e-mail' @echo ===================================== @echo ===================================== .PHONY: upload upload: $(AM_V_GEN)$(upload_command) define emit-commit-log printf '%s\n' 'maint: post-release administrivia' '' \ '* NEWS: Add header line for next release.' \ '* .prev-version: Record previous version.' \ '* cfg.mk (old_NEWS_hash): Auto-update.' endef .PHONY: no-submodule-changes no-submodule-changes: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ diff=$$(cd $(srcdir) && git submodule -q foreach \ git diff-index --name-only HEAD) \ || exit 1; \ case $$diff in '') ;; \ *) echo '$(ME): submodule files are locally modified:'; \ echo "$$diff"; exit 1;; esac; \ else \ : ; \ fi submodule-checks ?= no-submodule-changes public-submodule-commit # Ensure that each sub-module commit we're using is public. # Without this, it is too easy to tag and release code that # cannot be built from a fresh clone. .PHONY: public-submodule-commit public-submodule-commit: $(AM_V_GEN)if test -d $(srcdir)/.git \ && git --version >/dev/null 2>&1; then \ cd $(srcdir) && \ git submodule --quiet foreach \ 'test "$$(git rev-parse "$$sha1")" \ = "$$(git merge-base origin "$$sha1")"' \ || { echo '$(ME): found non-public submodule commit' >&2; \ exit 1; }; \ else \ : ; \ fi # This rule has a high enough utility/cost ratio that it should be a # dependent of "check" by default. However, some of us do occasionally # commit a temporary change that deliberately points to a non-public # submodule commit, and want to be able to use rules like "make check". # In that case, run e.g., "make check gl_public_submodule_commit=" # to disable this test. gl_public_submodule_commit ?= public-submodule-commit check: $(gl_public_submodule_commit) .PHONY: alpha beta stable release ALL_RECURSIVE_TARGETS += alpha beta stable alpha beta stable: $(local-check) writable-files $(submodule-checks) $(AM_V_GEN)test $@ = stable \ && { echo $(VERSION) | $(GREP) -E '^[0-9]+(\.[0-9]+)+$$' \ || { echo "invalid version string: $(VERSION)" 1>&2; exit 1;};}\ || : $(AM_V_at)$(MAKE) vc-diff-check $(AM_V_at)$(MAKE) news-check $(AM_V_at)$(MAKE) distcheck $(AM_V_at)$(MAKE) dist $(AM_V_at)$(MAKE) $(release-prep-hook) RELEASE_TYPE=$@ $(AM_V_at)$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@ release: $(AM_V_GEN)$(MAKE) _version $(AM_V_at)$(MAKE) $(release-type) # Override this in cfg.mk if you follow different procedures. release-prep-hook ?= release-prep gl_noteworthy_news_ = * Noteworthy changes in release ?.? (????-??-??) [?] .PHONY: release-prep release-prep: $(AM_V_GEN)$(MAKE) --no-print-directory -s announcement \ > ~/announce-$(my_distdir) $(AM_V_at)if test -d $(release_archive_dir); then \ ln $(rel-files) $(release_archive_dir); \ chmod a-w $(rel-files); \ fi $(AM_V_at)echo $(VERSION) > $(prev_version_file) $(AM_V_at)$(MAKE) update-NEWS-hash $(AM_V_at)perl -pi \ -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' \ $(srcdir)/NEWS $(AM_V_at)msg=$$($(emit-commit-log)) || exit 1; \ cd $(srcdir) && $(VC) commit -m "$$msg" -a # Override this with e.g., -s $(srcdir)/some_other_name.texi # if the default $(PACKAGE)-derived name doesn't apply. gendocs_options_ ?= .PHONY: web-manual web-manual: $(AM_V_GEN)test -z "$(manual_title)" \ && { echo define manual_title in cfg.mk 1>&2; exit 1; } || : $(AM_V_at)cd '$(srcdir)/doc'; \ $(SHELL) ../$(_build-aux)/gendocs.sh $(gendocs_options_) \ -o '$(abs_builddir)/doc/manual' \ --email $(PACKAGE_BUGREPORT) $(PACKAGE) \ "$(PACKAGE_NAME) - $(manual_title)" $(AM_V_at)echo " *** Upload the doc/manual directory to web-cvs." .PHONY: web-manual-update web-manual-update: $(AM_V_GEN)cd $(srcdir) \ && $(_build-aux)/gnu-web-doc-update -C $(abs_builddir) # Code Coverage init-coverage: $(MAKE) $(AM_MAKEFLAGS) clean lcov --directory . --zerocounters COVERAGE_CCOPTS ?= "-g --coverage" COVERAGE_OUT ?= doc/coverage build-coverage: $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) $(MAKE) $(AM_MAKEFLAGS) CFLAGS=$(COVERAGE_CCOPTS) CXXFLAGS=$(COVERAGE_CCOPTS) check mkdir -p $(COVERAGE_OUT) lcov --directory . --output-file $(COVERAGE_OUT)/$(PACKAGE).info \ --capture gen-coverage: genhtml --output-directory $(COVERAGE_OUT) \ $(COVERAGE_OUT)/$(PACKAGE).info \ --highlight --frames --legend \ --title "$(PACKAGE_NAME)" coverage: $(MAKE) init-coverage $(MAKE) build-coverage $(MAKE) gen-coverage # Some projects carry local adjustments for gnulib modules via patches in # a gnulib patch directory whose default name is gl/ (defined in bootstrap # via local_gl_dir=gl). Those patches become stale as the originals evolve # in gnulib. Use this rule to refresh any stale patches. It applies each # patch to the original in $(gnulib_dir) and uses the temporary result to # generate a fuzz-free .diff file. If you customize the name of your local # gnulib patch directory via bootstrap.conf, this rule detects that name. # Run this from a non-VPATH (i.e., srcdir) build directory. .PHONY: refresh-gnulib-patches refresh-gnulib-patches: gl=gl; \ if test -f bootstrap.conf; then \ t=$$(perl -lne '/^\s*local_gl_dir=(\S+)/ and $$d=$$1;' \ -e 'END{defined $$d and print $$d}' bootstrap.conf); \ test -n "$$t" && gl=$$t; \ fi; \ for diff in $$(cd $$gl; git ls-files | $(GREP) '\.diff$$'); do \ b=$$(printf %s "$$diff"|$(SED) 's/\.diff$$//'); \ VERSION_CONTROL=none \ patch "$(gnulib_dir)/$$b" "$$gl/$$diff" || exit 1; \ ( cd $(gnulib_dir) || exit 1; \ git diff "$$b" > "../$$gl/$$diff"; \ git checkout $$b ) || exit 1; \ done # Update gettext files. PACKAGE ?= $(shell basename $(PWD)) PO_DOMAIN ?= $(PACKAGE) POURL = https://translationproject.org/latest/$(PO_DOMAIN)/ PODIR ?= po refresh-po: rm -f $(PODIR)/*.po && \ echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \ wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ echo 'en@boldquot' > $(PODIR)/LINGUAS && \ echo 'en@quot' >> $(PODIR)/LINGUAS && \ ls $(PODIR)/*.po | $(SED) 's/\.po//;s,$(PODIR)/,,' | \ sort >> $(PODIR)/LINGUAS # Indentation indent_args ?= --ignore-profile --preprocessor-indentation 1 C_SOURCES ?= $$($(VC_LIST_EXCEPT) | grep '\.[ch]\(.in\)\?$$') INDENT_SOURCES ?= $(C_SOURCES) exclude_file_name_regexp--indent ?= $(exclude_file_name_regexp--sc_indent) .PHONY: indent indent: # Running indent once is not idempotent, but running it twice is. $(AM_V_GEN)indent $(indent_args) $(INDENT_SOURCES) && \ indent $(indent_args) $(INDENT_SOURCES) sc_indent: @if ! indent --version 2> /dev/null | grep 'GNU indent' > /dev/null; then \ echo 1>&2 '$(ME): sc_indent: GNU indent is missing'; \ else \ fail=0; files="$(INDENT_SOURCES)"; \ for f in $$files; do \ indent $(indent_args) -st $$f \ | indent $(indent_args) -st - \ | diff -u $$f - || fail=1; \ done; \ test $$fail = 1 && \ { echo 1>&2 '$(ME): code format error, try "make indent"'; \ exit 1; } || :; \ fi # Check code spelling. # Example 'cfg.mk' settings for inspiration: # codespell_ignore_words_list = foo # exclude_file_name_regexp--sc_codespell = ^po/.*.po|doc/.*.pdf$$ # codespell_extra_args = --summary --count # codespell_args = --ignore-words=doc/my-codespell-ignores.txt codespell_args ?= --ignore-words-list $(codespell_ignore_words_list) \ $(codespell_extra_args) sc_codespell: @if ! command -v codespell > /dev/null; then \ echo 1>&2 '$(ME): sc_codespell: codespell is missing'; \ else \ codespell $(codespell_args) $$($(VC_LIST_EXCEPT)); \ fi # If you want to set UPDATE_COPYRIGHT_* environment variables, # put the assignments in this variable. update-copyright-env ?= # Run this rule once per year (usually early in January) # to update all FSF copyright year lists in your project. # If you have an additional project-specific rule, # add it in cfg.mk along with a line 'update-copyright: prereq'. # By default, exclude all variants of COPYING; you can also # add exemptions (such as ChangeLog..* for rotated change logs) # in the file .x-update-copyright. .PHONY: update-copyright update-copyright: $(AM_V_GEN)$(GREP) -l -w Copyright \ $$(export VC_LIST_EXCEPT_DEFAULT=COPYING && $(VC_LIST_EXCEPT)) \ | $(update-copyright-env) xargs $(srcdir)/$(_build-aux)/$@ # This tight_scope test is skipped with a warning if $(_gl_TS_headers) is not # overridden and $(_gl_TS_dir)/Makefile.am does not mention noinst_HEADERS. # NOTE: to override any _gl_TS_* default value, you must # define the variable(s) using "export" in cfg.mk. _gl_TS_dir ?= src ALL_RECURSIVE_TARGETS += sc_tight_scope sc_tight_scope: tight-scope.mk @fail=0; \ if ! $(GREP) '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \ > /dev/null \ && ! $(GREP) -w noinst_HEADERS $(srcdir)/$(_gl_TS_dir)/Makefile.am \ > /dev/null 2>&1; then \ echo '$(ME): skipping $@'; \ else \ $(MAKE) -s -C $(_gl_TS_dir) \ -f Makefile \ -f $(abs_top_srcdir)/cfg.mk \ -f $(abs_top_builddir)/$< \ _gl_tight_scope \ || fail=1; \ fi; \ rm -f $<; \ exit $$fail tight-scope.mk: $(ME) @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t @mv $@-t $@ ifeq (a,b) # TS-start # Most functions should have static scope. # Any that don't must be marked with 'extern', but 'main' # and 'usage' are exceptions: they're always extern, but # do not need to be marked. Symbols matching '__.*' are # reserved by the compiler, so are automatically excluded below. _gl_TS_unmarked_extern_functions ?= main usage _gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\w+) *\(/ # If your project uses a macro like "XTERN", then put # the following in cfg.mk to override this default: # export _gl_TS_extern = extern|XTERN _gl_TS_extern ?= extern # The second nm|grep checks for file-scope variables with 'extern' scope. # Without gnulib's progname module, you might put program_name here. # Symbols matching '__.*' are reserved by the compiler, # so are automatically excluded below. _gl_TS_unmarked_extern_vars ?= # NOTE: the _match variables are perl expressions -- not mere regular # expressions -- so that you can extend them to match other patterns # and easily extract matched variable names. # For example, if your project declares some global variables via # a macro like this: GLOBAL(type, var_name, initializer), then you # can override this definition to automatically extract those names: # export _gl_TS_var_match = \ # /^(?:$(_gl_TS_extern)) .*?\**(\w+)(\[.*?])?;/ || /\bGLOBAL\(.*?,\s*(.*?),/ _gl_TS_var_match ?= /^(?:$(_gl_TS_extern)) .*?(\w+)(\[.*?])?;/ # The names of object files in (or relative to) $(_gl_TS_dir). _gl_TS_obj_files ?= *.$(OBJEXT) # Files in which to search for the one-line style extern declarations. # $(_gl_TS_dir)-relative. _gl_TS_headers ?= $(noinst_HEADERS) _gl_TS_other_headers ?= *.h .PHONY: _gl_tight_scope _gl_tight_scope: $(bin_PROGRAMS) sed_wrap='s/^/^_?/;s/$$/$$/'; \ t=exceptions-$$$$; \ trap 's=$$?; rm -f $$t; exit $$s' 0; \ for sig in 1 2 3 13 15; do \ eval "trap 'v=`expr $$sig + 128`; (exit $$v); exit $$v' $$sig"; \ done; \ src=`for f in $(sort $(SOURCES)); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ hdr=`for f in $(_gl_TS_headers); do \ test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ ( printf '%s\n' '__.*' $(_gl_TS_unmarked_extern_functions); \ $(GREP) -h -A1 '^extern .*[^;]$$' $$src \ | $(GREP) -vE '^(extern |--|#)' | $(SED) 's/ .*//; /^$$/d'; \ perl -lne \ '$(_gl_TS_function_match) and print $$1' $$hdr; \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ nm -g $(_gl_TS_obj_files)|$(SED) -n 's/.* T //p'|$(GREP) -Ev -f $$t \ && { echo the above functions should have static scope >&2; \ exit 1; } || : ; \ ( printf '%s\n' '__.*' main $(_gl_TS_unmarked_extern_vars); \ perl -lne '$(_gl_TS_var_match) and print $$1' \ $$hdr $(_gl_TS_other_headers) \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ nm -g $(_gl_TS_obj_files) | $(SED) -n 's/.* [BCDGRS] //p' \ | sort -u | $(GREP) -Ev -f $$t \ && { echo the above variables should have static scope >&2; \ exit 1; } || : # TS-end endif datamash-1.9/man/0000755000000000000000000000000014774035552007443 5datamash-1.9/man/datamash.x0000644000000000000000000003367214771573715011356 ." GNU Datamash - manual page ." Copyright (C) 2014-2021 Assaf Gordon ." Copyright (C) 2022-2025 Timothy Rice [NAME] datamash - command-line calculations [>OPTIONS] .PP .SH AVAILABLE OPERATIONS .PP .SS "Primary Operations" Primary operations affect the way the file is processed. If used, the primary operation must be listed first. If primary operation is not listed the entire file is processed - either line-by-line (for 'per-line' operations) or all lines as one group (for grouping operations). See Examples section below. .PP .TP "\w'\fBcountunique\fR'u+1n" .B groupby X,Y,... op fld ... group the file by given fields. Equivalent to option '\-g'. For each group perform operation \fBop\fR on field \fBfld\fR. .TP .B crosstab X,Y [op fld ...] cross-tabulate a file by two fields (cross-tabulation is also known as pivot tables). If no operation is specified, counts how many incidents exist of X,Y. .TP .B transpose transpose rows, columns of the input file .TP .B reverse reverse field order in each line .TP .B check [N lines] [N fields] verify the input file has same number of fields in all lines, or the expected number of lines/fields. number of lines and fields are printed to STDOUT. Exits with non-zero code and prints the offending line if there's a mismatch in the number of lines/ fields. .PP .SS "Line-Filtering operations" .TP "\w'\fBcountunique\fR'u+1n" .B rmdup remove lines with duplicated key value .PP .SS "Per-Line operations" .TP "\w'\fBcountunique\fR'u+1n" .B base64 Encode the field as base64 .TP .B debase64 Decode the field as base64, exit with error if invalid base64 string .TP .B md5/sha1/sha224/sha256/sha384/sha512 Calculate md5/sha1/sha224/sha256/sha384/sha512 hash of the field value .TP .B bin[:BUCKET-SIZE] bin numeric values into buckets of size \fBBUCKET-SIZE\fR (defaults to 100). .TP .B strbin[:BUCKET-SIZE] hashes the input and returns a numeric integer value between zero and \fBBUCKET-SIZE\fB (defaults to 10). .TP .B round/floor/ceil/trunc/frac numeric rounding operations. round (round half away from zero), floor (round down), ceil (ceiling, round up), trunc (truncate, round towards zero), frac (fraction, return fraction part of a decimal-point value). .TP .B dirname/basename extract the directory name and the base file name from a given string (same as to dirname(1) and basename(1)). .TP .B extname extract the extension of the file name (without the '.'). .TP .B barename extract the base file name without the extension. .TP .B getnum[:TYPE] extract a number from the field. \fBTYPE\fR is optional single letter option n/i/d/p/h/o (see examples below). .TP .B cut/echo copy input field to output field (similar to cut(1)). The echo command is simply an alias to cut. .PP .SS "Numeric Grouping operations" .TP "\w'\fBcountunique\fR'u+1n" .B sum sum the of values .TP .B min minimum value .TP .B max maximum value .TP .B absmin minimum of the absolute values .TP .B absmax maximum of the absolute values .TP .B range the values range (max-min) .PP .SS "Textual/Numeric Grouping operations" .TP "\w'\fBcountunique\fR'u+1n" .B count count number of elements in the group .TP .B first the first value of the group .TP .B last the last value of the group .TP .B rand one random value from the group .TP .B unique/uniq comma-separated sorted list of unique values The uniq command is simply an alias to unique. .TP .B collapse comma-separated list of all input values .TP .B countunique number of unique/distinct values .PP .SS "Statistical Grouping operations" A \fBp/s\fR prefix indicates the variant: \fBp\fRopulation or \fBs\fRample. Typically, the \fBs\fRample variant is equivalent with \fBGNU R\fR's internal functions (e.g datamash's \fBsstdev\fR operation is equivalent to R's \fBsd()\fR function). .PP .TP "\w'\fBcountunique\fR'u+1n" .B mean mean of the values .TP .B geomean geometric mean of the values .TP .B harmmean harmonic mean of the values .TP .B trimmean[:PERCENT] trimmed mean of the values. \fBPERCENT\fR should be between 0 and 0.5. (\fBtrimmean:0\fR is equivalent to \fBmean\fR. \fBtrimmean:0.5\fR is equivalent to \fBmedian\fR). .TP .B ms mean square of the values .TP .B rms root mean square of the values .TP .B median median value .TP .B q1 1st quartile value .TP .B q3 3rd quartile value .TP .B iqr inter-quartile range .TP .B perc[:PERCENTILE] percentile value \fBPERCENTILE\fR (defaults to 95). .TP .B mode mode value (most common value) .TP .B antimode anti-mode value (least common value) .TP .B pstdev/sstdev population/sample standard deviation .TP .B pvar/svar population/sample variance .TP .B mad median absolute deviation, scaled by constant 1.4826 for normal distributions .TP .B madraw median absolute deviation, unscaled .TP .B pskew/sskew skewness of the group values x reported by 'sskew' and 'pskew' operations: .nf x > 0 - positively skewed / skewed right 0 > x - negatively skewed / skewed left x > 1 - highly skewed right 1 > x > 0.5 - moderately skewed right 0.5 > x > \-0.5 - approximately symmetric \-0.5 > x > \-1 - moderately skewed left \-1 > x - highly skewed left .fi .TP .B pkurt/skurt excess Kurtosis of the group .TP .B jarque/dpo p-value of the Jarque-Beta (\fBjarque\fR) and D'Agostino-Pearson Omnibus (\fBdpo\fR) tests for normality: null hypothesis is normality; low p-Values indicate non-normal data; high p-Values indicate null-hypothesis cannot be rejected. .TP .B pcov/scov [X:Y] covariance of fields X and Y .TP .B ppearson/spearson [X:Y] Pearson product-moment correlation coefficient [Pearson's R] of fields X and Y .TP .B dotprod [X:Y] Scalar product (aka dot product or Euclidean inner product) of fields X and Y [=EXAMPLES] .SS "Basic usage" Print the sum and the mean of values from field 1: .PP .nf .RS $ seq 10 | \fBdatamash\fR sum 1 mean 1 55 5.5 .RE .fi .PP Group input based on field 1, and sum values (per group) on field 2: .PP .nf .RS $ cat example.txt A 10 A 5 B 9 B 11 $ \fBdatamash\fR \-g 1 sum 2 < example.txt A 15 B 20 $ \fBdatamash\fR groupby 1 sum 2 < example.txt A 15 B 20 .RE .fi .PP Unsorted input must be sorted (with '\-s'): .PP .nf .RS $ cat example.txt A 10 C 4 B 9 C 1 A 5 B 11 $ \fBdatamash\fR \-s \-g1 sum 2 < example.txt A 15 B 20 C 5 .RE .fi .PP Which is equivalent to: .PP .nf .RS $ cat example.txt | sort \-k1,1 | \fBdatamash\fR \-g 1 sum 2 .RE .fi .SS "Header lines" .PP Use \fB\-H\fR \fB(\-\-headers)\fR if the input file has a header line: .PP .nf .RS # Given a file with student name, field, test score... $ head \-n5 scores_h.txt Name Major Score Shawn Engineering 47 Caleb Business 87 Christian Business 88 Derek Arts 60 # Calculate the mean and standard deviation for each major $ \fBdatamash\fR \-\-sort \-\-headers \-\-group 2 mean 3 pstdev 3 < scores_h.txt (or use short form) $ \fBdatamash\fR \-sH \-g2 mean 3 pstdev 3 < scores_h.txt (or use named fields) $ \fBdatamash\fR \-sH \-g Major mean Score pstdev Score < scores_h.txt GroupBy(Major) mean(Score) pstdev(Score) Arts 68.9 10.1 Business 87.3 4.9 Engineering 66.5 19.1 Health-Medicine 90.6 8.8 Life-Sciences 55.3 19.7 Social-Sciences 60.2 16.6 .RE .fi .PP Field names must be escaped with a backslash if they start with a digit or contain special characters (dash/minus, colons, commas). Note the interplay between escaping with backslash and shell quoting. The following equivalent command sum the values of a field named "FOO-BAR": .PP .nf .RS $ datamash -H sum FOO\\\\\-BAR < input.txt $ datamash -H sum 'FOO\\\-BAR' < input.txt $ datamash -H sum "FOO\\\\\-BAR" < input.txt .RE .fi .PP .SS "Skipping comment lines" Use \fB\-C\fR \fB(\-\-skip\-comments)\fR to skip lines starting with '#' or '\;' characters (and optional whitespace before them): .PP .nf .RS $ cat in.txt #foo 3 bar 5 ;baz 7 $ datamash sum 2 < in.txt 15 $ datamash \-C sum 2 < in.txt 5 .RE .fi .PP .SS "Multiple fields" Use comma or dash to specify multiple fields. The following are equivalent: .nf .RS $ seq 9 | paste \- \- \- 1 2 3 4 5 6 7 8 9 $ seq 9 | paste \- \- \- | datamash sum 1 sum 2 sum 3 12 15 18 $ seq 9 | paste \- \- \- | datamash sum 1,2,3 12 15 18 $ seq 9 | paste \- \- \- | datamash sum 1-3 12 15 18 .RE .fi .PP .SS "Rounding" The following demonstrate the different rounding operations: .nf .RS .RE .\" NOTE: The weird spacing/alignment is due to extract backslash .\" characters. Modify with caution. $ ( echo X ; seq \-1.25 0.25 1.25 ) \\ | datamash \-\-full \-H round 1 ceil 1 floor 1 trunc 1 frac 1 X round(X) ceil(X) floor(X) trunc(X) frac(X) \-1.25 \-1 \-1 \-2 \-1 \-0.25 \-1.00 \-1 \-1 \-1 \-1 0 \-0.75 \-1 0 \-1 0 \-0.75 \-0.50 \-1 0 \-1 0 \-0.5 \-0.25 0 0 \-1 0 \-0.25 0.00 0 0 0 0 0 0.25 0 1 0 0 0.25 0.50 1 1 0 0 0.5 0.75 1 1 0 0 0.75 1.00 1 1 1 1 0 1.25 1 2 1 1 0.25 .fi .PP .SS "Reversing fields" .PP .nf .RS $ seq 6 | paste \- \- | \fBdatamash\fR reverse 2 1 4 3 6 5 .RE .fi .PP .SS "Transposing a file" .PP .nf .RS $ seq 6 | paste \- \- | \fBdatamash\fR transpose 1 3 5 2 4 6 .RE .fi .PP .SS "Removing Duplicated lines" Remove lines with duplicate key value from field 1 (Unlike \fBfirst\fR,\fBlast\fR operations, \fBrmdup\fR is much faster and does not require sorting the file with \-s): .PP .nf .RS # Given a list of files and sample IDs: $ cat INPUT SampleID File 2 cc.txt 3 dd.txt 1 ab.txt 2 ee.txt 3 ff.txt # Remove lines with duplicated Sample-ID (field 1): $ \fBdatamash\fR rmdup 1 < INPUT # or use named field: $ \fBdatamash\fR \-H rmdup SampleID < INPUT SampleID File 2 cc.txt 3 dd.txt 1 ab.txt .RE .fi .PP .SS "Checksums" Calculate the sha1 hash value of each TXT file, after calculating the sha1 value of each file's content: .PP .nf .RS $ sha1sum *.txt | datamash -Wf sha1 2 .RE .fi .PP .SS "Check file structure" Check the structure of the input file: ensure all lines have the same number of fields, or expected number of lines/fields: .PP .nf .RS $ seq 10 | paste \- \- | datamash check && echo ok || echo fail 5 lines, 2 fields ok $ seq 13 | paste \- \- \- | datamash check && echo ok || echo fail line 4 (3 fields): 10 11 12 line 5 (2 fields): 13 datamash: check failed: line 5 has 2 fields (previous line had 3) fail $ seq 10 | paste \- \- | datamash check 2 fields 5 lines 5 lines, 2 fields $ seq 10 | paste \- \- | datamash check 4 fields line 1 (2 fields): 1 2 datamash: check failed: line 1 has 2 fields (expecting 4) $ seq 10 | paste \- \- | datamash check 7 lines datamash: check failed: input had 5 lines (expecting 7) .RE .fi .PP .SS "Cross-Tabulation" Cross-tabulation compares the relationship between two fields. Given the following input file: .nf .RS $ cat input.txt a x 3 a y 7 b x 21 a x 40 .RE .fi .PP Show cross-tabulation between the first field (a/b) and the second field (x/y) - counting how many times each pair appears (note: sorting is required): .PP .nf .RS $ \fBdatamash\fR \-s crosstab 1,2 < input.txt x y a 2 1 b 1 N/A .RE .fi .PP An optional grouping operation can be used instead of counting: .PP .nf .RS .PP $ \fBdatamash\fR \-s crosstab 1,2 sum 3 < input.txt x y a 43 7 b 21 N/A $ \fBdatamash\fR \-s crosstab 1,2 unique 3 < input.txt x y a 3,40 7 b 21 N/A .RE .fi .PP .SS "Binning numeric values" Bin input values into buckets of size 5: .PP .nf .RS $ ( echo X ; seq \-10 2.5 10 ) \\ | \fBdatamash\fR \-H \-\-full bin:5 1 X bin(X) \-10.0 \-10 \-7.5 \-10 \-5.0 \-5 \-2.5 \-5 0.0 0 2.5 0 5.0 5 7.5 5 10.0 10 .RE .fi .PP .SS "Binning string values" Hash any input value into a numeric integer. A typical usage would be to split an input file into N chunks, ensuring that all values of a certain key will be stored in the same chunk: .PP .nf .RS $ cat input.txt PatientA 10 PatientB 11 PatientC 12 PatientA 14 PatientC 15 .RE Each patient ID is hashed into a bin between 0 and 9 and printed in the last field: .RS $ \fBdatamash\fR \-\-full strbin 1 < input.txt PatientA 10 5 PatientB 11 6 PatientC 12 7 PatientA 14 5 PatientC 15 7 .RE Splitting the input into chunks can be done with awk: .RS $ cat input.txt \\ | \fBdatamash\fR \-\-full strbin 1 \\ | awk '{print > $NF ".txt"}' .RE .fi .PP .SS "Extracting numbers with getnum" The 'getnum' operation extracts a numeric value from the field: .PP .nf .RS $ echo zoom-123.45xyz | \fBdatamash\fR getnum 1 123.45 .RE \fBgetnum\fR accepts an optional single-letter \fBTYPE\fR option: .nf getnum:n - natural numbers (positive integers, including zero) getnum:i - integers getnum:d - decimal point numbers getnum:p - positive decimal point numbers (this is the default) getnum:h - hex numbers getnum:o - octal numbers .fi .PP Examples: .nf .RS $ echo zoom-123.45xyz | \fBdatamash\fR getnum 1 123.45 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:n 1 123 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:i 1 -123 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:d 1 123.45 $ echo zoom-123.45xyz | \fBdatamash\fR getnum:p 1 -123.45 # Hex 0x123 = 291 Decimal $ echo zoom-123.45xyz | \fBdatamash\fR getnum:h 1 291 # Octal 0123 = 83 Decimal $ echo zoom-123.45xyz | \fBdatamash\fR getnum:o 1 83 .RE [ADDITIONAL INFORMATION] See .UR https://www.gnu.org/software/datamash GNU Datamash Website (https://www.gnu.org/software/datamash) datamash-1.9/man/decorate.x0000644000000000000000000000301014771573715011341 ." GNU decorate - manual page ." Copyright (C) 2014-2021 Assaf Gordon [NAME] decorate - convert fields of various formats [>DESCRIPTION] The \fBdecorate\fR program allows sorting input according to various ordering, e.g. IP addresses, roman numerals, etc. It works in tandem with sort(1) to perform the actual sorting. The idea was suggested by .UR https://lists.gnu.org/r/bug-coreutils/2015-06/msg00076.html Pádraig Brady in https://lists.gnu.org/r/bug-coreutils/2015-06/msg00076.html: 1. Decorate: convert the input to a sortable-format as additional fields .br 2. Sort according to the inserted fields .br 3. Undecorate: remove the inserted fields [=EXAMPLES] Example of preparing to sort by roman numerals: .PP .nf .RS $ printf "%s\\n" C V III IX XI | \fBdecorate\fR \-k1,1:roman \-\-decorate 0000100 C 0000005 V 0000003 III 0000009 IX 0000011 XI .RE .fi .PP The output can now be sent to sort(1), followed by removing (=undecorate) the first field. .PP .nf .RS $ printf "%s\\n" C V III IX XI \\ | \fBdecorate\fR \-k1,1:roman \-\-decorate \\ | sort \-k1,1 \\ | \fBdecorate\fR \-\-undecorate 1 III V IX XI C .RE .fi .PP \fBdecorate(1)\fR can automatically combine the decorate-sort-undecorate steps (when run without \-\-decorate or \-\-undecorate): .PP .nf .RS $ printf "%s\\n" C V III IX XI | \fBdecorate\fR \-k1,1:roman III V IX XI C .RE .fi .PP [ADDITIONAL INFORMATION] See .UR https://www.gnu.org/software/datamash GNU Datamash Website (https://www.gnu.org/software/datamash) datamash-1.9/man/help2man0000754000000000000000000004771214771573715011036 #!/usr/bin/perl -w # Generate a short man page from --help and --version output. # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009, # 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. # 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, 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 . # Written by Brendan O'Dea # Available from https://ftp.gnu.org/gnu/help2man/ use 5.008; use strict; use Getopt::Long; use Text::ParseWords qw(shellwords); use Text::Tabs qw(expand); use POSIX qw(strftime setlocale LC_ALL); my $this_program = 'help2man'; my $this_version = '1.47.3'; sub _ { $_[0] } sub configure_locale { my $locale = shift; die "$this_program: no locale support (Locale::gettext required)\n" unless $locale eq 'C'; } sub dec { $_[0] } sub enc { $_[0] } sub enc_user { $_[0] } sub kark { die +(sprintf shift, @_), "\n" } sub N_ { $_[0] } sub program_basename; sub get_option_value; sub convert_option; sub fix_italic_spacing; my $version_info = enc_user sprintf _(<<'EOT'), $this_program, $this_version; GNU %s %s Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Brendan O'Dea EOT my $help_info = enc_user sprintf _(<<'EOT'), $this_program, $this_program; `%s' generates a man page out of `--help' and `--version' output. Usage: %s [OPTION]... EXECUTABLE -n, --name=STRING description for the NAME paragraph -s, --section=SECTION section number for manual page (1, 6, 8) -m, --manual=TEXT name of manual (User Commands, ...) -S, --source=TEXT source of program (FSF, Debian, ...) -L, --locale=STRING select locale (default "C") -i, --include=FILE include material from `FILE' -I, --opt-include=FILE include material from `FILE' if it exists -o, --output=FILE send output to `FILE' -p, --info-page=TEXT name of Texinfo manual -N, --no-info suppress pointer to Texinfo manual -l, --libtool exclude the `lt-' from the program name --help print this help, then exit --version print version number, then exit EXECUTABLE should accept `--help' and `--version' options and produce output on stdout although alternatives may be specified using: -h, --help-option=STRING help option string -v, --version-option=STRING version option string --version-string=STRING version string --no-discard-stderr include stderr when parsing option output Report bugs to . EOT my $section = 1; my $manual = ''; my $source = ''; my $help_option = '--help'; my $version_option = '--version'; my $discard_stderr = 1; my ($opt_name, @opt_include, $opt_output, $opt_info, $opt_no_info, $opt_libtool, $version_text); my %opt_def = ( 'n|name=s' => \$opt_name, 's|section=s' => \$section, 'm|manual=s' => \$manual, 'S|source=s' => \$source, 'L|locale=s' => sub { configure_locale pop }, 'i|include=s' => sub { push @opt_include, [ pop, 1 ] }, 'I|opt-include=s' => sub { push @opt_include, [ pop, 0 ] }, 'o|output=s' => \$opt_output, 'p|info-page=s' => \$opt_info, 'N|no-info' => \$opt_no_info, 'l|libtool' => \$opt_libtool, 'help' => sub { print $help_info; exit }, 'version' => sub { print $version_info; exit }, 'h|help-option=s' => \$help_option, 'v|version-option=s' => \$version_option, 'version-string=s' => \$version_text, 'discard-stderr!' => \$discard_stderr, ); # Parse options. Getopt::Long::config('bundling'); die $help_info unless GetOptions %opt_def and @ARGV == 1; my %include = (); my %replace = (); my %append = (); my %append_match = (); my @sections = (); # retain order of include file or in-line *section*s # Process include file (if given). Format is: # # Optional initial text, ignored. May include lines starting with `-' # which are processed as options. # # [section] # Verbatim text to be included in the named section. By default at # the start, but in the case of `name' and `synopsis' the content # will replace the autogenerated contents. # # [section] # Verbatim text to be appended to the end of the named section. # # /pattern/ # Verbatim text for inclusion below a paragraph matching `pattern'. # while (@opt_include) { my ($inc, $required) = @{shift @opt_include}; next unless -f $inc or $required; kark N_("%s: can't open `%s' (%s)"), $this_program, $inc, $! unless open INC, $inc; my $key; my $hash; while () { # Convert input to internal Perl format, so that multibyte # sequences are treated as single characters. $_ = dec $_; # [section] if (/^\[([^]]+)\]\s*$/) { $key = uc $1; $key =~ s/^\s+//; $key =~ s/\s+$//; $hash = \%include; # Handle explicit [section] if ($key =~ s/^([<>=])\s*//) { if ($1 eq '>') { $hash = \%append; } elsif ($1 eq '=') { $hash = \%replace; } } # NAME/SYNOPSIS replace by default elsif ($key eq _('NAME') or $key eq _('SYNOPSIS')) { $hash = \%replace; } else { $hash = \%include; } push @sections, $key; next; } # /pattern/ if (m!^/(.*)/([ims]*)\s*$!) { my $pat = $2 ? "(?$2)$1" : $1; # Check pattern. eval { $key = qr($pat) }; if ($@) { $@ =~ s/ at .*? line \d.*//; die "$inc:$.:$@"; } $hash = \%append_match; next; } # Check for options before the first section--anything else is # silently ignored, allowing the first for comments and # revision info. unless ($key) { # handle options if (/^-/) { local @ARGV = shellwords $_; GetOptions %opt_def; } next; } $hash->{$key} .= $_; } close INC; kark N_("%s: no valid information found in `%s'"), $this_program, $inc unless $key; } # Compress trailing blank lines. for my $hash (\(%include, %replace, %append, %append_match)) { for (keys %$hash) { $hash->{$_} =~ s/\n+$/\n/ } } # Grab help and version info from executable. my $help_text = get_option_value $ARGV[0], $help_option; $version_text ||= get_option_value $ARGV[0], $version_option; # By default the generated manual pages will include the current date. This may # however be overriden by setting the environment variable $SOURCE_DATE_EPOCH # to an integer value of the seconds since the UNIX epoch. This is primarily # intended to support reproducible builds (wiki.debian.org/ReproducibleBuilds) # and will additionally ensure that the output date string is UTC. my $epoch_secs = time; if (exists $ENV{SOURCE_DATE_EPOCH} and $ENV{SOURCE_DATE_EPOCH} =~ /^(\d+)$/) { $epoch_secs = $1; $ENV{TZ} = 'UTC0'; } # Translators: the following message is a strftime(3) format string, which in # the English version expands to the month as a word and the full year. It # is used on the footer of the generated manual pages. If in doubt, you may # just use %x as the value (which should be the full locale-specific date). my $date = enc strftime _("%B %Y"), localtime $epoch_secs; my $program = program_basename $ARGV[0]; my $package = $program; my $version; if ($opt_output) { unlink $opt_output or kark N_("%s: can't unlink %s (%s)"), $this_program, $opt_output, $! if -e $opt_output; open STDOUT, ">$opt_output" or kark N_("%s: can't create %s (%s)"), $this_program, $opt_output, $!; } # The first line of the --version information is assumed to be in one # of the following formats: # # # # {GNU,Free} # ({GNU,Free} ) # - {GNU,Free} # # and separated from any copyright/author details by a blank line. ($_, $version_text) = ((split /\n+/, $version_text, 2), ''); if (/^(\S+) +\(((?:GNU|Free) +[^)]+)\) +(.*)/ or /^(\S+) +- *((?:GNU|Free) +\S+) +(.*)/) { $program = program_basename $1; $package = $2; $version = $3; } elsif (/^((?:GNU|Free) +)?(\S+) +(.*)/) { $program = program_basename $2; $package = $1 ? "$1$program" : $program; $version = $3; } else { $version = $_; } # No info for `info' itself. $opt_no_info = 1 if $program eq 'info'; if ($opt_name) { # --name overrides --include contents. $replace{_('NAME')} = "$program \\- $opt_name\n"; } # Translators: "NAME", "SYNOPSIS" and other one or two word strings in all # upper case are manual page section headings. The man(1) manual page in your # language, if available should provide the conventional translations. for ($replace{_('NAME')} || ($include{_('NAME')} ||= '')) { if ($_) # Use first name given as $program { $program = $1 if /^([^\s,]+)(?:,?\s*[^\s,\\-]+)*\s+\\?-/; } else # Set a default (useless) NAME paragraph. { $_ = sprintf _("%s \\- manual page for %s %s") . "\n", $program, $program, $version; } } # Man pages traditionally have the page title in caps. my $PROGRAM = uc $program; # Set default page head/footers $source ||= "$program $version"; unless ($manual) { for ($section) { if (/^(1[Mm]|8)/) { $manual = enc _('System Administration Utilities') } elsif (/^6/) { $manual = enc _('Games') } else { $manual = enc _('User Commands') } } } # Extract usage clause(s) [if any] for SYNOPSIS. # Translators: "Usage" and "or" here are patterns (regular expressions) which # are used to match the usage synopsis in program output. An example from cp # (GNU coreutils) which contains both strings: # Usage: cp [OPTION]... [-T] SOURCE DEST # or: cp [OPTION]... SOURCE... DIRECTORY # or: cp [OPTION]... -t DIRECTORY SOURCE... my $PAT_USAGE = _('Usage'); my $PAT_USAGE_CONT = _('or'); if ($help_text =~ s/^($PAT_USAGE):( +(\S+))(.*)((?:\n(?: {6}\1| *($PAT_USAGE_CONT): +\S).*)*)//om) { my @syn = $3 . $4; if ($_ = $5) { s/^\n//; for (split /\n/) { s/^ *(($PAT_USAGE_CONT): +)?//o; push @syn, $_ } } my $synopsis = ''; for (@syn) { $synopsis .= ".br\n" if $synopsis; s!^\S*/!!; s/^lt-// if $opt_libtool; s/^(\S+) *//; $synopsis .= ".B $1\n"; s/\s+$//; s/(([][]|\.\.+)+)/\\fR$1\\fI/g; s/^/\\fI/ unless s/^\\fR//; $_ .= '\fR'; s/(\\fI)( *)/$2$1/g; s/\\fI\\fR//g; s/^\\fR//; s/\\fI$//; s/^\./\\&./; $_ = fix_italic_spacing $_; $synopsis .= "$_\n"; } $include{_('SYNOPSIS')} .= $synopsis; } # Process text, initial section is DESCRIPTION. my $sect = _('DESCRIPTION'); $_ = "$help_text\n\n$version_text"; # Normalise paragraph breaks. s/^\n+//; s/\n*$/\n/; s/\n\n+/\n\n/g; # Join hyphenated lines. s/([A-Za-z])-\n *([A-Za-z])/$1$2/g; # Temporarily exchange leading dots, apostrophes and backslashes for # tokens. s/^\./\x80/mg; s/^'/\x81/mg; s/\\/\x82/g; # Translators: patterns are used to match common program output. In the source # these strings are all of the form of "my $PAT_something = _('...');" and are # regular expressions. If there is more than one commonly used string, you # may separate alternatives with "|". Spaces in these expressions are written # as " +" to indicate that more than one space may be matched. The string # "(?:[\\w-]+ +)?" in the bug reporting pattern is used to indicate an # optional word, so that either "Report bugs" or "Report _program_ bugs" will # be matched. my $PAT_BUGS = _('Report +(?:[\w-]+ +)?bugs|' . 'Email +bug +reports +to|' . '.* +online +help:'); my $PAT_AUTHOR = _('Written +by'); my $PAT_OPTIONS = _('Options'); my $PAT_ENVIRONMENT = _('Environment'); my $PAT_FILES = _('Files'); my $PAT_EXAMPLES = _('Examples'); my $PAT_FREE_SOFTWARE = _('This +is +free +software'); my $PAT_SEE_ALSO = _('Full +documentation'); # Start a new paragraph (if required) for these. s/([^\n])\n($PAT_BUGS|$PAT_AUTHOR|$PAT_SEE_ALSO) /$1\n\n$2 /og; # Convert iso-8859-1 copyright symbol or (c) to nroff # character. s/^Copyright +(?:\xa9|\([Cc]\))/Copyright \\(co/mg; while (length) { # Convert some standard paragraph names. if (s/^($PAT_OPTIONS): *\n+//o) { $sect = _('OPTIONS'); next; } if (s/^($PAT_ENVIRONMENT): *\n+//o) { $sect = _('ENVIRONMENT'); next; } if (s/^($PAT_FILES): *\n+//o) { $sect = _('FILES'); next; } elsif (s/^($PAT_EXAMPLES): *\n+//o) { $sect = _('EXAMPLES'); next; } # Custom section indicated by a line containing "*Section Name*". if (s/^\*(\w(.*\w)?)\* *\n+//) { $sect = uc $1; $sect =~ tr/*/ /; # also accept *Section*Name* push @sections, $sect; next; } # Copyright section. if (/^Copyright /) { $sect = _('COPYRIGHT'); } # Bug reporting section. elsif (/^($PAT_BUGS) /o) { $sect = _('REPORTING BUGS'); } # Author section. elsif (/^($PAT_AUTHOR)/o) { $sect = _('AUTHOR'); } elsif (/^($PAT_SEE_ALSO)/o) { $sect = _('SEE ALSO'); $opt_no_info = 1; } # Examples, indicated by an indented leading $, % or > are # rendered in a constant width font. if (/^( +)([\$\%>] )\S/) { my $indent = $1; my $prefix = $2; my $break = '.IP'; while (s/^$indent\Q$prefix\E(\S.*)\n*//) { $include{$sect} .= "$break\n\\f(CW$prefix$1\\fR\n"; $break = '.br'; } next; } my $matched = ''; # Sub-sections have a trailing colon and the second line indented. if (s/^(\S.*:) *\n / /) { $matched .= $& if %append_match; $include{$sect} .= qq(.SS "$1"\n); } my $indent = 0; my $content = ''; # Option with description. if (s/^( {1,10}([+-]\S.*?))(?:( +(?!-))|\n( {20,}))(\S.*)\n//) { $matched .= $& if %append_match; $indent = length ($4 || "$1$3"); $content = ".TP\n\x84$2\n\x84$5\n"; unless ($4) { # Indent may be different on second line. $indent = length $& if /^ {20,}/; } } # Option without description. elsif (s/^ {1,10}([+-]\S.*)\n//) { $matched .= $& if %append_match; $content = ".HP\n\x84$1\n"; $indent = 80; # not continued } # Indented paragraph with tag. elsif (s/^( +(\S.*?) +)(\S.*)\n//) { $matched .= $& if %append_match; $indent = length $1; $content = ".TP\n\x84$2\n\x84$3\n"; } # Indented paragraph. elsif (s/^( +)(\S.*)\n//) { $matched .= $& if %append_match; $indent = length $1; $content = ".IP\n\x84$2\n"; } # Left justified paragraph. else { s/(.*)\n//; $matched .= $& if %append_match; $content = ".PP\n" if $include{$sect}; $content .= "$1\n"; } # Append continuations. while ($indent ? s/^ {$indent}(\S.*)\n// : s/^(\S.*)\n//) { $matched .= $& if %append_match; $content .= "\x84$1\n"; } # Move to next paragraph. s/^\n+//; for ($content) { # Leading dot and apostrophe protection. s/\x84\./\x80/g; s/\x84'/\x81/g; s/\x84//g; # Examples should be verbatim. unless ($sect eq _('EXAMPLES')) { # Convert options. s/(^|[ (])(-[][\w=-]+)/$1 . convert_option $2/mge; # Italicise filenames: /a/b, $VAR/c/d, ~/e/f s! (^|[ (]) # space/punctuation before ( (?:\$\w+|~)? # leading variable, or tilde (?:/\w(?:[\w.-]*\w)?)+ # path components ) ($|[ ,;.)]) # space/punctuation after !$1\\fI$2\\fP$3!xmg; $_ = fix_italic_spacing $_; } # Escape remaining hyphens. s/-/\x83/g; if ($sect eq _('COPYRIGHT')) { # Insert line breaks before additional copyright messages # and the disclaimer. s/\n(Copyright |$PAT_FREE_SOFTWARE)/\n.br\n$1/og; } elsif ($sect eq _('REPORTING BUGS')) { # Handle multi-line bug reporting sections of the form: # # Report bugs to # GNU home page: # ... s/\n([[:upper:]])/\n.br\n$1/g; } elsif ($sect eq _('SEE ALSO')) { # Handle external references of the form: # # GNU online resources: # Full documentation at: # or available locally via: info ... # s/\'/\\(aq/g; # shell quotes for info command s/\n(.)/\n.br\n$1/g; # separate lines for each item } } # Check if matched paragraph contains /pat/. if (%append_match) { for my $pat (keys %append_match) { if ($matched =~ $pat) { $content .= ".PP\n" unless $append_match{$pat} =~ /^\./; $content .= $append_match{$pat}; } } } $include{$sect} .= $content; } # Refer to the real documentation. unless ($opt_no_info) { my $info_page = $opt_info || $program; $sect = _('SEE ALSO'); $include{$sect} .= ".PP\n" if $include{$sect}; $include{$sect} .= sprintf _(<<'EOT'), $program, $program, $info_page; The full documentation for .B %s is maintained as a Texinfo manual. If the .B info and .B %s programs are properly installed at your site, the command .IP .B info %s .PP should give you access to the complete manual. EOT } # Append additional text. while (my ($sect, $text) = each %append) { $include{$sect} .= $append{$sect}; } # Replace sections. while (my ($sect, $text) = each %replace) { $include{$sect} = $replace{$sect}; } # Output header. print < 1 } @pre, @post; # Output content. my %done; for my $sect (@pre, (grep !$filter{$_}, @sections), @post) { next if $done{$sect}++; # ignore duplicates next unless $include{$sect}; if ($include{$sect}) { my $quote = $sect =~ /\W/ ? '"' : ''; print enc ".SH $quote$sect$quote\n"; for ($include{$sect}) { # Replace leading dot, apostrophe, backslash and hyphen # tokens. s/\x80/\\&./g; s/\x81/\\&'/g; s/\x82/\\e/g; s/\x83/\\-/g; # Convert some latin1 chars to troff equivalents s/\xa0/\\ /g; # non-breaking space print enc $_; } } } close STDOUT or kark N_("%s: error writing to %s (%s)"), $this_program, $opt_output || 'stdout', $!; exit; # Get program basename, and strip libtool "lt-" prefix if required. sub program_basename { local $_ = shift; s!.*/!!; s/^lt-// if $opt_libtool; $_; } # Call program with given option and return results. sub get_option_value { my ($prog, $opt) = @_; my $stderr = $discard_stderr ? '/dev/null' : '&1'; my $value = join '', map { s/ +$//; expand $_ } map { dec $_ } `$prog $opt 2>$stderr`; unless ($value) { my $err = N_("%s: can't get `%s' info from %s%s"); my $extra = $discard_stderr ? "\n" . N_("Try `--no-discard-stderr' if option outputs to stderr") : ''; kark $err, $this_program, $opt, $prog, $extra; } $value; } # Convert option dashes to \- to stop nroff from hyphenating 'em, and # embolden. Option arguments get italicised. sub convert_option { local $_ = '\fB' . shift; s/-/\x83/g; unless (s/\[=(.*)\]$/\\fR[=\\fI$1\\fR]/) { s/=(.)/\\fR=\\fI$1/; s/ (.)/ \\fI$1/; $_ .= '\fR'; } $_; } # Insert spacing escape characters \, and \/ before and after italic text. See # https://www.gnu.org/software/groff/manual/html_node/Ligatures-and-Kerning.html sub fix_italic_spacing { local $_ = shift; s!\\fI(.*?)\\f([BRP])!\\fI\\,$1\\/\\f$2!g; return $_; } datamash-1.9/po/0000755000000000000000000000000014774035553007307 5datamash-1.9/po/ChangeLog0000644000000000000000000000131414352357450010773 2015-05-28 gettextize * Makefile.in.in: Upgrade to gettext-0.19.4. 2015-05-28 gettextize * Makefile.in.in: Upgrade to gettext-0.19.4. * Rules-quot: Upgrade to gettext-0.19.4. 2013-04-11 gettextize * Makefile.in.in: New file, from gettext-0.18.1. * Rules-quot: New file, from gettext-0.18.1. * boldquot.sed: New file, from gettext-0.18.1. * en@boldquot.header: New file, from gettext-0.18.1. * en@quot.header: New file, from gettext-0.18.1. * insert-header.sin: New file, from gettext-0.18.1. * quot.sed: New file, from gettext-0.18.1. * remove-potcdate.sin: New file, from gettext-0.18.1. * POTFILES.in: New file. datamash-1.9/po/LINGUAS0000644000000000000000000000005214771573662010256 da de eo es fr nb nl pt_BR ro sr sv uk vi datamash-1.9/po/Makefile.in.in0000644000000000000000000004155314352360407011700 # Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.19 GETTEXT_MACRO_VERSION = 0.19 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SED = @SED@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot POFILESDEPS_yes = $(POFILESDEPS_) POFILESDEPS_no = POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) DISTFILESDEPS_ = update-po DISTFILESDEPS_yes = $(DISTFILESDEPS_) DISTFILESDEPS_no = DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. CHECK_MACRO_VERSION = \ test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot @$(CHECK_MACRO_VERSION) test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. # The determination of whether the package xyz is a GNU one is based on the # heuristic whether some file in the top level directory mentions "GNU xyz". # If GNU 'find' is available, we avoid grepping through monster files. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed package_gnu="$(PACKAGE_GNU)"; \ test -n "$$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \ -size -10000000c -exec grep 'GNU @PACKAGE@' \ /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_prefix}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(POFILESDEPS) @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: datamash-1.9/po/Makevars0000644000000000000000000000720714771573675010742 # Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \ \ --flag=_:1:pass-c-format\ --flag=N_:1:pass-c-format\ --flag=error:3:c-format --flag=error_at_line:5:c-format\ \ --from-code=UTF-8\ --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\ --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\ --flag=wrapf:1:c-format\ $${end_of_xgettext_options+} # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Free Software Foundation, Inc. # This tells whether or not to prepend "GNU " prefix to the package # name that gets inserted into the header of the $(DOMAIN).pot file. # Possible values are "yes", "no", or empty. If it is empty, try to # detect it automatically by scanning the files in $(top_srcdir) for # "GNU packagename" string. PACKAGE_GNU = # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = bug-datamash@gnu.org # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' # context. Possible values are "yes" and "no". Set this to yes if the # package uses functions taking also a message context, like pgettext(), or # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. USE_MSGCTXT = no # These options get passed to msgmerge. # Useful options are in particular: # --previous to keep previous msgids of translated messages, # --quiet to reduce the verbosity. MSGMERGE_OPTIONS = # These options get passed to msginit. # If you want to disable line wrapping when writing PO files, add # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and # MSGINIT_OPTIONS. MSGINIT_OPTIONS = # This tells whether or not to regenerate a PO file when $(DOMAIN).pot # has changed. Possible values are "yes" and "no". Set this to no if # the POT file is checked in the repository and the version control # program ignores timestamps. PO_DEPENDS_ON_POT = yes # This tells whether or not to forcibly update $(DOMAIN).pot and # regenerate PO files on "make dist". Possible values are "yes" and # "no". Set this to no if the POT file and PO files are maintained # externally. DIST_DEPENDS_ON_UPDATE_PO = yes datamash-1.9/po/POTFILES.in0000644000000000000000000000055014767340425011003 # List of source files which contain translatable strings. lib/closeout.c lib/error.c lib/getopt.c lib/quotearg.c lib/version-etc.c lib/xalloc-die.c lib/xstrtol-error.c src/datamash.c src/decorate-functions.c src/decorate.c src/double-format.c src/field-ops.c src/key-compare.c src/op-parser.c src/op-scanner.c src/system.h src/text-lines.c src/text-options.c datamash-1.9/po/Rules-quot0000644000000000000000000000416514352360407011227 # This file, Rules-quot, can be copied and used freely without restrictions. # Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ ;; \ *) \ $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ ;; \ esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ ; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header datamash-1.9/po/boldquot.sed0000644000000000000000000000033114352357450011545 s/"\([^"]*\)"/“\1â€/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“â€/""/g s/“/“/g s/â€/â€/g s/‘/‘/g s/’/’/g datamash-1.9/po/da.gmo0000644000000000000000000004225214774035524010322 Þ•~0 ¿  L ¤D¥?ê?*/jFš?á!~¡” šµDP?•Õò )C Wx—´,Ðý.'L(t½ƒ¿…CÉ1Í ÿ 1"Tfy¿•Usƒ˜7®æ3û/!F%h.޽&Îõ) 4;K3‡/»+ë'#?cƒŸ¯3±1å8@P5‘=Ç&,OE.•-Ä+ò*I"Z"} M½K Wr#‡#«$ÏCô@8yª½%Ò%ø < $Y 8~ · Ó í þ !/!"L! o!1!9Â!5ü!&2"!Y" {"†"qœ"n##}#(¡#$Ê#mï#j]$È$ Ú$°æ$J—&Hâ&J+'3v'Fª'Cñ'‡5(½( ?)Ëà)M¬*Cú*>+T+k++”+!©+Ë+ ë+ ,1,,$^,0ƒ,+´,,à,# -1-˜4-ŽÍ-\.7`. ˜.£.1À.ò./!/É?/! 0 +090L0Ad0¦01½0ï0$ 1./11^110Ÿ1Ð1+â128$21]2-2)½2%ç2! 3/3M3g3w3?z3=º3@ø3L94=†4IÄ405?5[Y5-µ5,ã5564F6{6,6'º6$â6P7NX7§7Ä7$Ú7!ÿ7&!8PH8M™8ç8ÿ89193F9%z9 9·9&Í9Bô97:T:o:!†:¨:"¼:$ß:$;9);Mc;L±;,þ;+< H<R<€j<}ë<8i=&¢=$É=uî=rd>×> é>Bfsi3XH7)I.' (Ru6TJ/<-^hKr :P$~n0Sg}Wx*+t#"Z% oEly5@?jvd1 Ne D9FVq!L;Yz `2{kpm,_8UQ4=aOC\GbA|Mw]c>[&ô>„ ¨ Ä è ( L p Œ   ´ Ð ä ø 0 L p ” ° Ô ø 0Lh|ü> ÿÿÿÿ7? ÿÿÿÿR?%ÿÿÿÿ·?!%ÿÿÿÿ @ ÿÿÿÿ6@ÿÿÿÿf@ÿÿÿÿž@ÿÿÿÿÌ@ÿÿÿÿä@ÿÿÿÿþ@& ÿÿÿÿFAÿÿÿÿaA+ÿÿÿÿA(ÿÿÿÿ¶A- ÿÿÿÿþA  ÿÿÿÿB/ÿÿÿÿ‡B"!/ÿÿÿÿÿB ÿÿÿÿCÿÿÿÿNC ÿÿÿÿ’C$ÿÿÿÿÌCÿÿÿÿÝCÿÿÿÿíC(!ÿÿÿÿ8DÿÿÿÿLD*ÿÿÿÿwD2ÿÿÿÿ --filler=X fill missing values with X (default %s) --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields -H, --headers same as '--header-in --header-out' -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: Grouping Options: Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `check failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numerichash memory allocation errorinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid suffix in %s%s argument '%s'invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: GNU datamash 1.1.1.19 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2018-06-05 18:00+0200 Last-Translator: Joe Hansen Language-Team: Danish Language: da MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); --filler=X udfyld manglende værdier med X (standard %s) --header-in første inddatalinje er kolonneteksthoveder --header-out udskriv kolonneteksthoveder som første linje --narm udelad NA/NaN-værdier --no-strict tillad linjer med varierende antal felter -H, --headers samme som »--header-in --header-out« -W, --whitespace brug mellemrum (en eller flere rum og/eller tabulatorer) for feltafgrænsere -g, --group=X[,Y,Z] gruppér via felter X,[Y,Z]; svarer til primære operation »groupby« -i, --ignore-case ignorer stor/smÃ¥ bogstaver nÃ¥r tekst sammenlignes; dette pÃ¥virker gruppering, og strengoperationer -s, --sort sorter inddataene før gruppering; dette fjerner behovet for manuelt at sende inddataene igennem kanalen »sort« -t, --field-separator=X brug X i stedet for TABULATOR som feltafgrænser -z, --zero-terminated afslut linjer med 0 byte, ikke nylinje %llu felt%llu felter%llu linje%llu linjer%lu felt%lu felter%lu linje%lu linjer%s hjemmeside: <%s> %s i linje %llu felt %llu: »%s«%s i linje %lu felt %lu: »%s«%s%s-argument »%s« er for stor%s: ugyldigt tilvalg -- »%c« %s: tilvalget »%s%s« tillader ikke et argument %s: tilvalget »%s%s« er tvetydigt %s: tilvalget »%s%s« er tvetydigt. Muligheder:%s: tilvalget »%s%s« kræver et argument %s: tilvalget kræver et argument -- »%c« %s: ikke genkendt tilvalg »%s%s« «»felt« er inddatafeltet der skal bruges. »felt« kan være et tal (1=første felt), eller et feltnavn nÃ¥r tilvalgene -H eller --header-in anvendes. »op« er operationen, der skal udføres. Hvis en primær operation bruges, sÃ¥ skal den angives først, valgfrit fulgt af andre operationer. (C)-H eller --header-in skal bruges med navngivne kolonnerEksempler:Tilvalg for filoperationer: For detaljeret brugsinformation og eksempler, se Generelle tilvalg: Grupperingsindstillinger: Linjefiltreringsoperationer: Flere felter kan angives adskilt af komma (f.eks. 1,6,8). Et interval af felter kan vises med en bindestreg (f.eks. 2-8). Brug kolon for operationer som kræver et par af felter (f.eks. »pcov 2:6«). Numerisk grupperingsoperationer: Pakket af %s Pakket af %s (%s) Per linje-operationer: Udfører numerisk/streng-operationer pÃ¥ inddata fra standardind.Primære operationer: Udskriv summen og middelværdierne fra kolonne 1:Rapporter %s-fejl til: %s Statistiske grupperingsoperationer: Tekstmæssig/numerisk grupperingsoperationer: Manualen og flere eksempler er tilgængelige pÃ¥ Omdan inddata:Prøv »%s --help« for yderligere information. Ukendt systemfejlBrug: %s [TILVALG] op [felt] [op felt ...] Skrevet af %s og %s. Skrevet af %s, %s, %s, %s, %s, %s, %s, %s, %s og andre. Skrevet af %s, %s, %s, %s, %s, %s, %s, %s og %s. Skrevet af %s, %s, %s, %s, %s, %s, %s og %s. Skrevet af %s, %s, %s, %s, %s, %s og %s. Skrevet af %s, %s, %s, %s, %s og %s. Skrevet af %s, %s, %s, %s og %s. Skrevet af %s, %s, %s og %s. Skrevet af %s, %s og %s. Skrevet af %s. »kontrol mislykkedes: inddata havde %llu linjer (forventer %llu)kontrol mislykkedes: inddata havde %lu linjer (forventer %lu)kontrol mislykkedes: linje %llu har %llu felter (forventer %llu)kontrol mislykkedes: linje %llu har %llu felter (tidligere linje havde %llu)kontrol mislykkedes: linje %lu har %lu felter (forventer %lu)kontrol mislykkedes: linje %lu har %lu felter (tidligere linje havde %lu)kolonnenavnet %s blev ikke fundet i inddatafilenmodstridende operation %soperation i konflikt blev registreret: forventede %s operationer, men fandt %s operation %scrosstab kræver præcis 2 felter, fandt %llucrosstab kræver præcis 2 felter, fandt %lucrosstab understøtter netop en operation, fandt %llucrosstab understøtter netop en operation, fandt %luekstra operand %skunne ikke køre »sort«: popen mislykkedesfeltinterval for %s skal være numeriskallokeringsfejl for hash-hukommelseninddatafejl for operation %s: felterne %llu,%llu har forskelligt antal elementerinddatafejl for operation %s: felterne %lu,%lu har forskelligt antal elementerugyldig %s%s-argument »%s«ugyldig base64-værdiugyldig felt »%s« for operation %sugyldigt feltpar for operation %sugyldigt feltinterval for operation %sugyldige inddata: der blev anmodt om feltet %llu, linje %llu har kun %llu felterugyldige inddata: der blev anmodt om feltet %lu, linje %lu har kun %lu felterugyldig numerisk værdiugyldig numerisk værdi »%s«ugyldig operand %sugyldig operation %sugyldigt tilvalg %s for operationen kontrol (check)ugyldig parameter %s for operation %sugyldig percentil %lluugyldig percentil %luugyldig suffiks i %s%s-argument »%s«ugyldig værdi nul for linjer/felter i operationen kontrol (check)linje %llu (%llu felter): linje %lu (%lu felter): hukommelsen er opbrugtmanglende felt efter operation %smanglende operationmanglende operationspecifikationermanglende parameter for operation %smanglende skript (blandt argumenter)tal forventet efter tilvalg i operationen kontrol (check)antallet af felter/kolonner er allerede angivet i operationen kontrol (check)antallet af linjer/rækker er allerede angivet i operationen kontrol (check)operation %s kan ikke bruge et par af felteroperation %s kræver feltparlæsefejllæsefejl (ved lukning)reverse-field-inddatafejl: linje %llu har %llu felter (tidligere linjer havde %llu); se --help for at deaktivere strict-tilstandreverse-field-inddatafejl: linje %lu har %lu felter (tidligere linjer havde %lu); se --help for at deaktivere strict-tilstandSpandstørrelse for strbin skal være forskellig fra nulafgrænseren skal være et enkelt tegnfor mange parametre for operation %somdan inddatafejl: linje %llu har %llu felter (forrige linje havde %llu); se --help for at deaktivere strict-tilstandomdan inddatafejl: linje %lu har %lu felter (forrige linje havde %lu); se --help for at deaktivere strict-tilstandukendt symbol %d skrivefejlPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %ugyldige inddata: der blev anmodt om feltet %, linje % har kun % felter%s i linje % felt %: »%s«omdan inddatafejl: linje % har % felter (forrige linje havde %); se --help for at deaktivere strict-tilstandreverse-field-inddatafejl: linje % har % felter (tidligere linjer havde %); se --help for at deaktivere strict-tilstandlinje % (% felter): kontrol mislykkedes: linje % har % felter (forventer %)kontrol mislykkedes: linje % har % felter (tidligere linje havde %)kontrol mislykkedes: inddata havde % linjer (forventer %)% linje% linjer% felt% felterinddatafejl for operation %s: felterne %,% har forskelligt antal elementerugyldig percentil %crosstab kræver præcis 2 felter, fandt %crosstab understøtter netop en operation, fandt %datamash-1.9/po/da.po0000644000000000000000000010400514774035524010151 # Danish translation datamash. # Copyright (C) 2018 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Joe Hansen , 2015, 2016, 2018. # # [fld] -> [felt] # percentile value -> percentil https://da.wikipedia.org/wiki/Percentil # msgid "" msgstr "" "Project-Id-Version: GNU datamash 1.1.1.19\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2018-06-05 18:00+0200\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/closeout.c:121 msgid "write error" msgstr "skrivefejl" #: lib/error.c:208 msgid "Unknown system error" msgstr "Ukendt systemfejl" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: tilvalget »%s%s« er tvetydigt\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: tilvalget »%s%s« er tvetydigt. Muligheder:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: ikke genkendt tilvalg »%s%s«\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: tilvalget »%s%s« tillader ikke et argument\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: tilvalget »%s%s« kræver et argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ugyldigt tilvalg -- »%c«\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: tilvalget kræver et argument -- »%c«\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "»" #: lib/quotearg.c:355 msgid "'" msgstr "«" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Pakket af %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Pakket af %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "(C)" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, fuzzy, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "\n" "Licens GPLv3+: GNU GPL version 3 eller senere .\n" "Dette er et frit program: du kan frit ændre og videredistribuere " "programmet.\n" "Der er ingen GARANTI, inden for lovens udstrækning.\n" "\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Skrevet af %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Skrevet af %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Skrevet af %s, %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Skrevet af %s, %s, %s\n" "og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Skrevet af %s, %s, %s,\n" "%s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Skrevet af %s, %s, %s,\n" "%s, %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Skrevet af %s, %s, %s,\n" "%s, %s, %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Skrevet af %s, %s, %s,\n" "%s, %s, %s, %s\n" "og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Skrevet af %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Skrevet af %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s og andre.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, fuzzy, c-format msgid "Report bugs to: %s\n" msgstr "" "\n" "Rapporter fejl til: %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Rapporter %s-fejl til: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "%s hjemmeside: <%s>\n" #: lib/version-etc.c:260 #, fuzzy, c-format msgid "General help using GNU software: <%s>\n" msgstr "" "Generel hjælp til brugen af GNU-programmer: \n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "hukommelsen er opbrugt" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "ugyldig %s%s-argument »%s«" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "ugyldig suffiks i %s%s-argument »%s«" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s-argument »%s« er for stor" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "kolonnenavnet %s blev ikke fundet i inddatafilen" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Brug: %s [TILVALG] op [felt] [op felt ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Udfører numerisk/streng-operationer pÃ¥ inddata fra standardind." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "»op« er operationen, der skal udføres. Hvis en primær operation bruges,\n" "sÃ¥ skal den angives først, valgfrit fulgt af andre operationer.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "»felt« er inddatafeltet der skal bruges. »felt« kan være et tal (1=første\n" "felt), eller et feltnavn nÃ¥r tilvalgene -H eller --header-in anvendes.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Flere felter kan angives adskilt af komma (f.eks. 1,6,8). Et interval\n" "af felter kan vises med en bindestreg (f.eks. 2-8). Brug kolon for\n" "operationer som kræver et par af felter (f.eks. »pcov 2:6«).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Primære operationer:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Linjefiltreringsoperationer:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Per linje-operationer:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Numerisk grupperingsoperationer:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Tekstmæssig/numerisk grupperingsoperationer:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Statistiske grupperingsoperationer:\n" #: src/datamash.c:232 src/decorate.c:181 #, fuzzy msgid "Options:\n" msgstr "Generelle tilvalg:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Grupperingsindstillinger:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] gruppér via felter X,[Y,Z];\n" " svarer til primære operation »groupby«\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in første inddatalinje er kolonneteksthoveder\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out udskriv kolonneteksthoveder som første linje\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers samme som »--header-in --header-out«\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignorer stor/smÃ¥ bogstaver nÃ¥r tekst " "sammenlignes;\n" " dette pÃ¥virker gruppering, og " "strengoperationer\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort sorter inddataene før gruppering; dette fjerner\n" " behovet for manuelt at sende inddataene " "igennem\n" " kanalen »sort«\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Tilvalg for filoperationer:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict tillad linjer med varierende antal felter\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X udfyld manglende værdier med X (standard %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Generelle tilvalg:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X brug X i stedet for TABULATOR som feltafgrænser\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm udelad NA/NaN-værdier\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace brug mellemrum (en eller flere rum og/eller " "tabulatorer)\n" " for feltafgrænsere\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr " -z, --zero-terminated afslut linjer med 0 byte, ikke nylinje\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Eksempler:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Udskriv summen og middelværdierne fra kolonne 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Omdan inddata:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "For detaljeret brugsinformation og eksempler, se\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Manualen og flere eksempler er tilgængelige pÃ¥\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "ugyldige inddata: der blev anmodt om feltet %, linje % har " "kun % felter" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s i linje % felt %: »%s«" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "omdan inddatafejl: linje % har % felter (forrige linje " "havde %);\n" "se --help for at deaktivere strict-tilstand" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "reverse-field-inddatafejl: linje % har % felter (tidligere " "linjer havde\n" "%);\n" "se --help for at deaktivere strict-tilstand" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "linje % (% felter):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "kontrol mislykkedes: linje % har % felter (forventer " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "kontrol mislykkedes: linje % har % felter (tidligere linje " "havde %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "kontrol mislykkedes: inddata havde % linjer (forventer %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% linje" msgstr[1] "% linjer" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% felt" msgstr[1] "% felter" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "allokeringsfejl for hash-hukommelsen" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "kunne ikke køre »sort«: popen mislykkedes" #: src/datamash.c:1237 msgid "read error" msgstr "læsefejl" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "læsefejl (ved lukning)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "ugyldig base64-værdi" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "afgrænseren skal være et enkelt tegn" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "manglende operationspecifikationer" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H eller --header-in skal bruges med navngivne kolonner" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "ugyldig numerisk værdi" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "ugyldig numerisk værdi »%s«" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "ugyldig operand %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "ugyldig operand %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "ugyldig operand %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X brug X i stedet for TABULATOR som feltafgrænser\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict tillad linjer med varierende antal felter\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr " -z, --zero-terminated afslut linjer med 0 byte, ikke nylinje\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Eksempler:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "ugyldig numerisk værdi »%s«" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "ugyldig numerisk værdi »%s«" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "ugyldig numerisk værdi »%s«" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "ugyldigt feltpar for operation %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "ugyldig operation %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "ugyldig numerisk værdi »%s«" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "ugyldig felt »%s« for operation %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "kunne ikke køre »sort«: popen mislykkedes" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "kunne ikke køre »sort«: popen mislykkedes" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "kunne ikke køre »sort«: popen mislykkedes" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "inddatafejl for operation %s: felterne %,% har forskelligt " "antal elementer" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "ugyldig numerisk værdi" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "ugyldig base64-værdi" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "ugyldigt feltpar for operation %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "for mange parametre for operation %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "Spandstørrelse for strbin skal være forskellig fra nul" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "ugyldig percentil %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "" #: src/op-parser.c:246 #, fuzzy, c-format msgid "invalid getnum type '%c'" msgstr "ugyldig numerisk værdi »%s«" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "manglende felt efter operation %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "ugyldigt feltinterval for operation %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "ugyldigt feltpar for operation %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "ugyldig felt »%s« for operation %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "feltinterval for %s skal være numerisk" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "manglende parameter for operation %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "ugyldig parameter %s for operation %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "operation %s kræver feltpar" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "operation %s kan ikke bruge et par af felter" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "modstridende operation %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "ugyldig operation %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "operation i konflikt blev registreret: forventede %s operationer, men fandt " "%s operation %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "ugyldigt tilvalg %s for operationen kontrol (check)" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "tal forventet efter tilvalg i operationen kontrol (check)" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "ugyldig værdi nul for linjer/felter i operationen kontrol (check)" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "" "antallet af linjer/rækker er allerede angivet i operationen kontrol (check)" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "" "antallet af felter/kolonner er allerede angivet i operationen kontrol (check)" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "crosstab kræver præcis 2 felter, fandt %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "crosstab understøtter netop en operation, fandt %" #: src/op-parser.c:751 msgid "missing operation" msgstr "manglende operation" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "ekstra operand %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "manglende skript (blandt argumenter)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "ugyldig numerisk værdi »%s«" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "ugyldig operand %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "ukendt symbol %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help vis denne hjælpetekst og afslut\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version vis versionsinformation og afslut\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Prøv »%s --help« for yderligere information.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "" #: src/text-options.c:117 #, fuzzy, c-format msgid "invalid rounding digits value %s" msgstr "ugyldig numerisk værdi »%s«" #, c-format #~ msgid "%s home page: \n" #~ msgstr "%s hjemmeside: \n" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full udskriv hel inddatalinje før op-resultater\n" #~ " (standard: udskriv kun grupperede nøgler)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "" #~ "sorteringskommandoen er for lang (rapporter venligst dette som en fejl)" datamash-1.9/po/datamash.pot0000644000000000000000000006412314774035524011541 # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the GNU datamash package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: GNU datamash 1.9\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" #: lib/closeout.c:121 msgid "write error" msgstr "" #: lib/error.c:208 msgid "Unknown system error" msgstr "" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "" #: lib/quotearg.c:355 msgid "'" msgstr "" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "" #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr "" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr "" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "" #: src/datamash.c:338 msgid "Transpose input:" msgstr "" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "" msgstr[1] "" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "" msgstr[1] "" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "" #: src/datamash.c:1237 msgid "read error" msgstr "" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "" #: src/datamash.c:1342 msgid "invalid seed" msgstr "" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, c-format msgid "invalid empty roman numeral" msgstr "" #: src/decorate-functions.c:84 #, c-format msgid "invalid roman numeral '%c' in %s" msgstr "" #: src/decorate-functions.c:120 #, c-format msgid "invalid IPv4 address %s" msgstr "" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, c-format msgid "invalid IPv6 address %s" msgstr "" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, c-format msgid "invalid IP address %s" msgstr "" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 msgid " --undecorate=N removes the first N fields\n" msgstr "" #: src/decorate.c:218 msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 msgid "Examples:\n" msgstr "" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 msgid "invalid number at field start" msgstr "" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 msgid "invalid number after '.'" msgstr "" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 msgid "invalid number after ','" msgstr "" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 msgid "invalid built-in conversion option" msgstr "" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 msgid "invalid key specification" msgstr "" #: src/decorate.c:892 #, c-format msgid "invalid number of header lines %s" msgstr "" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, c-format msgid "invalid number of fields to undecorate %s" msgstr "" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 msgid "failed to create dec-sort pipe" msgstr "" #: src/decorate.c:1064 msgid "failed to create sort-undec pipe" msgstr "" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 msgid "failed to run the sort command" msgstr "" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "" #: src/key-compare.c:305 #, c-format msgid "%s: invalid field specification %s" msgstr "" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "" #: src/op-parser.c:751 msgid "missing operation" msgstr "" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "" #: src/system.h:131 msgid " -h, --help display this help and exit\n" msgstr "" #: src/system.h:133 msgid " -V, --version output version information and exit\n" msgstr "" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "" datamash-1.9/po/de.gmo0000644000000000000000000005111114774035524010320 Þ•0¨Ó l t ¬ DvJ?Á?/AFq‡¸€@?ÁEG~Ç”FšÛDv?»û3Oi }ž½Ú,ö#.C'r(šÃãƒå…iï1ó %/1Hz&Œ³ªÆq¿Mk{7¦Þ3ó'>!R%t.šÉ&Ú)@;W3“/Ç+÷'##Ko«»½3Ü18B@{5¼=ò&0 W Op .À -ï +!*I!t!"…!"¨!Ë!$é!1"'@"h"…"Mž"Kì"8#S##h##Œ#$°#Õ#Cî#@2$s$‰$¤$·$%Ì$%ò$%6% S%$t%4™%8Î%&#&=&N&m&&"œ&¿& Ý&1þ&90'5j'& '!Ç' é'ô'q (n|(#ë(()$8)m])jË)6* H*ñT*qF,x¸,K1-K}-7É-L.‰N.Ø.Di/m®/”0’±0ÈD1Î 2oÜ2|L3É3ß3ö3 44#64!Z4|4š4.·4,æ4=5/Q505²5Ò5¦Õ5 |67?!7 a7 l7I7×7'í78Ç,8!ô8½9&Ô9û9 : :S::Ž:9¥:!ß:;(;1D;7v;®;*Å;ð;, <6<@R<7“<3Ë</ÿ<+/='[=#ƒ=§=Ç=Ü=*ß=M >KX>N¤>Ró>KF?O’?7â?@g5@:@9Ø@:A9MA‡A> A'ßA B%(BBNB.‘B ÀBáB]üB[ZC ¶C×C-ïC*D-HD!vDL˜DIåD/E#LEpE‡E-ŸE1ÍEÿEF(8F*aFDŒFCÑFG2GMGaG~GŽG!ªG#ÌG&ðG>HMVHL¤H-ñHI =IHIeIŠóI*~J,©J$ÖJˆûJ…„K L LZM J K)En SD;F5qC{,#„2v! Rpe|Wc‰1lQTjHktf9Œ"_Bu?(G^3I[*b…%Y&~sdPz@':‹hNŠVgi0.x oU]€ŽO\w=}ƒam$></‚-+‡4XA8`L7r ˆy†6.Lä  $ H l ˆ ¬ Ð ì 0DXl¬Ðô4Xt¬ÈÜð6L ÿÿÿÿqL ÿÿÿÿŒL%ÿÿÿÿñL!%ÿÿÿÿZM ÿÿÿÿpMÿÿÿÿ MÿÿÿÿØMÿÿÿÿNÿÿÿÿNÿÿÿÿ8N& ÿÿÿÿ€Nÿÿÿÿ›N+ÿÿÿÿÇN(ÿÿÿÿðNÿÿÿÿ4O  ÿÿÿÿRO)"/ÿÿÿÿÒO-"0ÿÿÿÿWP ÿÿÿÿnP% ÿÿÿÿ´P%ÿÿÿÿþP- ÿÿÿÿFQÿÿÿÿWQÿÿÿÿgQ)-ÿÿÿÿ¿QÿÿÿÿÙQ'ÿÿÿÿR'ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: GNU datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-09-01 15:49+0200 Last-Translator: Mario Blättermann Language-Team: German Language: de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1) X-Generator: Lokalize 19.08.0 --filler=X ersetzt fehlende Werte durch X (Voreinstellung ist %s) --format=FORMAT gibt numerische Werte im Printf-artigen Fließkomma-FORMAT aus. --header-in erste Eingabezeile ist die Spaltenüberschrift --header-out gibt Spaltenüberschriften als erste Zeile aus --narm NA/NaN-Werte überspringen --no-strict erlaubt Zeilen mit unterschiedlicher Feldanzahl --output-delimiter=X verwendet X als Trenner für Ausgabefelder (Vorgabe: gleicher Trenner wie -t/-W) -C, --skip-comments überspringt Kommentarzeilen (beginnend mit »#« oder »;« und optionalem Leerraum) -H, --headers gleich wie »--header-in --header-out« -R, --round=N rundet die numerische Ausgabe auf N Dezimalstellen -W, --whitespace verwendet Leerraum (eines oder mehrere Leerzeichen und/oder Tabulatoren) für Feldtrenner -g, --group=X[,Y,Z] gruppiert nach Feldern X,[Y,Z]; gleichbedeutend mit der primären Operation »groupby« -i, --ignore-case ignoriert Groß-/Kleinschreibung bei Textvergleichen; dies ist für Gruppierungs- und Stringoperationen wirksam -s, --sort sortiert die Eingabe vor der Gruppierung; dadurch ist manuelles Bearbeiten der Eingabe mit »sort« nicht mehr nötig -t, --field-separator=X verwendet X anstelle von Tabulatoren als Feldtrenner -z, --zero-terminated beendet Zeilen mit einem Null-Byte, nicht mit einem Zeilenumbruch %llu Feld%llu Felder%llu Zeile%llu Zeilen%lu Feld%lu Felder%lu Zeile%lu ZeilenWebseite von %s: <%s> %s in Zeile %llu, Feld %llu: »%s«%s in Zeile %lu, Feld %lu: »%s«%s%s Argument »%s« zu groß%s: Ungültige Option -- %c %s: Die Option »%s%s« erlaubt kein Argument %s: Die Option »%s%s« ist nicht eindeutig %s: Die Option »%s%s« ist nicht eindeutig; möglich wären:%s: Die Option »%s%s« benötigt ein Argument %s: Die Option benötigt ein Argument -- »%c« %s: Unbekannte Option »%s%s« «»Feld« ist das zu verwendende Eingabefeld. »Feld« kann eine Zahl sein (1=erstes Feld), oder ein Feldname, wenn die Optionen -H oder --header-in verwendet werden. »op« ist die auszuführende Operation. Wenn es eine primäre Operation ist, muss diese zuerst angegeben werden, gefolgt von anderen (optionalen) Operationen. (C)-H oder --header-in muss mit benannten Spalten verwendet werdenBeispiele:Optionen für Dateioperationen: Detaillierte Informationen zur Verwendung und Beispiele finden Sie unter Allgemeine Optionen: Allgemeine Hilfe zu GNU-Software: <%s> Gruppierungsoptionen: Lizenz GPLv3+: GNU GPL Version 3 oder neuer <%s> Dies ist freie Software: Es ist Ihnen freigestellt, sie zu verändern und zu verbreiten. Es gibt in dem gesetzlichen gegebenen Umfang KEINE GARANTIE. Operationen zur Zeilenfilterung: Mehrere Felder können durch Kommata getrennt werden (z.B. 1,6,8). Ein Feldbereich kann mit Minuszeichen angegeben werden (z.B. 2-8). Ein Doppelpunkt gibt Feldpaare an (z.B. »pcov 2:6«). Optionen zur numerischen Gruppierung: Gepackt von %s Gepackt von %s (%s) Zeilenweise Operationen: Führt numerische bzw. Stringoperationen für Eingaben aus der Standardeingabe aus.Primäre Operationen: Die Summe und den Median der Werte aus Spalte 1 ausgeben:Fehler in %s bitte melden an: %s Melden Sie Fehler an: %s Optionen zur statistischen Gruppierung: Optionen zur textuellen/numerischen Gruppierung: Das Handbuch und weitere Beispiele sind verfügbar auf Transponierte Eingabe:»%s --help« gibt weitere Informationen. Unbekannter SystemfehlerAufruf: %s [OPTION] op [Feld] [op Feld …] Geschrieben von %s und %s. Geschrieben von %s, %s, %s, %s, %s, %s, %s, %s, %s und anderen. Geschrieben von %s, %s, %s, %s, %s, %s, %s, %s und %s. Geschrieben von %s, %s, %s, %s, %s, %s, %s und %s. Geschrieben von %s, %s, %s, %s, %s, %s und %s. Geschrieben von %s, %s, %s, %s, %s und %s. Geschrieben von %s, %s, %s, %s und %s. Geschrieben von %s, %s, %s und %s. Geschrieben von %s, %s und %s. Geschrieben von %s. »Rückschrägstrich am Ende des BezeichnersÜberprüfung fehlgeschlagen: Eingabe hatte %llu Zeilen (%llu wurde erwartet)Überprüfung fehlgeschlagen: Eingabe hatte %lu Zeilen (%lu wurde erwartet)Überprüfung fehlgeschlagen: Zeile %llu hat %llu Felder (%llu wurde erwartet)Überprüfung fehlgeschlagen: Zeile %llu hat %llu Felder (vorige Zeile hatte %llu)Überprüfung fehlgeschlagen: Zeile %lu hat %lu Felder (%lu wurde erwartet)Überprüfung fehlgeschlagen: Zeile %lu hat %lu Felder (vorige Zeile hatte %lu)Spaltenname %s wurde in der Eingabedatei nicht gefundenOperationskonflikt für %sWidersprüchliche Operationen gefunden: %s Operationen wurden erwartet, aber %s Operationen %s gefundenCrosstab benötigt genau zwei Felder, %llu wurden gefundenCrosstab benötigt genau zwei Felder, %lu wurden gefundenCrosstab unterstützt eine Operation, %llu wurden gefundenCrosstab unterstützt eine Operation, %lu wurden gefundenZusätzlicher Operand %s»sort« kann nicht gestartet werden: »popen« fehlgeschlagenFeldbereich für %s muss numerisch seinFormat %s hat keine %%-AnweisungFormat %s hat zu viele %%-AnweisungenFormat %s hat einen unbekannten/ungültigen Typ der %%%c-AnweisungFormat %s hat keinen gültigen Typ nach »%%«Speicherreservierung gescheitertBezeichnername ist zu langEingabefehler für Operation %s: Felder %llu,%llu haben unterschiedliche Anzahl der EinträgeEingabefehler für Operation %s: Felder %lu,%lu haben unterschiedliche Anzahl der EinträgeUngültiges %s%s-Argument »%s«Ungültiger Base64-WertUngültiges Feld »%s« für die Operation %sUngültiges Feldpaar für die Operation %sUngültiger Feldbereich für die Operation %sUngültiger »getnum«-Typ »%c«Ungültige Eingabe: Feld %llu angefragt, Zeile %llu hat aber nur %llu FelderUngültige Eingabe: Feld %lu angefragt, Zeile %lu hat aber nur %lu FelderUngültiger numerischer WertUngültiger numerischer Wert »%s«Ungültiger Operand %sUngültige Operation %sUngültige Option %s für Operation »check«Ungültiger Parameter Spalte %s für Operation %sUngültiger Prozentwert %lluUngültiger Prozentwert %luUngültige Stellenanzahl %s für RundungUngültiges Suffix im %s%s-Argument »%s«Ungültiger Trimm-Mittelwert %Lg (Wert 0 <= X <= 0.5 wurde erwartet)Ungültiger Wert Null für Zeilen/Felder in der Operation »check«Zeile %llu (%llu Felder): Zeile %lu (%lu Felder): Speicher verbrauchtFeld für Operation %s fehltOperation fehltOperationsbezeichner fehlenParameter für Operation %s fehltFehlende Stellenanzahl für RundungFehlendes Skript (zwischen Argumenten)Zahl wurde erwartet nach der Option in der Operation »check«Anzahl der Felder/Spalten wurde in der Operation »check« bereits festgelegtAnzahl der Zeilen/Reihen wurde in der Operation »check« bereits festgelegtOperation %s kann keine Feldpaare verarbeitenOption %s benötigt FeldpaareLesefehlerLesefehler (beim Schließen)Eingabefehler für umgekehrte Felder: Zeile %llu hat %llu Felder (vorherige Zeilen hatten %llu) Felder); siehe --help für den strikten ModusEingabefehler für umgekehrte Felder: Zeile %lu hat %lu Felder (vorherige Zeilen hatten %lu) Felder); siehe --help für den strikten ModusStrbin-Bucket-Größe darf nicht Null seinTrennzeichen muss ein einzelnes Zeichen seinZu viele Parameter für Operation %sFehler in transponierter Eingabe: Zeile %llu hat %llu Felder (vorherige Zeilen hatten %llu Felder); siehe --help für den strikten ModusFehler in transponierter Eingabe: Zeile %lu hat %lu Felder (vorherige Zeilen hatten %lu Felder); siehe --help für den strikten ModusUnbekannter Token %d SchreibfehlerPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %Ungültige Eingabe: Feld % angefragt, Zeile % hat aber nur % Felder%s in Zeile %, Feld %: »%s«Fehler in transponierter Eingabe: Zeile % hat % Felder (vorherige Zeilen hatten % Felder); siehe --help für den strikten ModusEingabefehler für umgekehrte Felder: Zeile % hat % Felder (vorherige Zeilen hatten %) Felder); siehe --help für den strikten ModusZeile % (% Felder): Überprüfung fehlgeschlagen: Zeile % hat % Felder (% wurde erwartet)Überprüfung fehlgeschlagen: Zeile % hat % Felder (vorige Zeile hatte %)Überprüfung fehlgeschlagen: Eingabe hatte % Zeilen (% wurde erwartet)% Zeile% Zeilen% Feld% FelderEingabefehler für Operation %s: Felder %,% haben unterschiedliche Anzahl der EinträgeUngültiger Prozentwert %Crosstab benötigt genau zwei Felder, % wurden gefundenCrosstab unterstützt eine Operation, % wurden gefundendatamash-1.9/po/de.po0000644000000000000000000010761514774035524010167 # German translation of GNU datamash. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # # Mario Blättermann , 2014-2016, 2019. # msgid "" msgstr "" "Project-Id-Version: GNU datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-09-01 15:49+0200\n" "Last-Translator: Mario Blättermann \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "X-Generator: Lokalize 19.08.0\n" #: lib/closeout.c:121 msgid "write error" msgstr "Schreibfehler" #: lib/error.c:208 msgid "Unknown system error" msgstr "Unbekannter Systemfehler" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: Die Option »%s%s« ist nicht eindeutig\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: Die Option »%s%s« ist nicht eindeutig; möglich wären:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: Unbekannte Option »%s%s«\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: Die Option »%s%s« erlaubt kein Argument\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: Die Option »%s%s« benötigt ein Argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: Ungültige Option -- %c\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: Die Option benötigt ein Argument -- »%c«\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "»" #: lib/quotearg.c:355 msgid "'" msgstr "«" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Gepackt von %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Gepackt von %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "(C)" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Lizenz GPLv3+: GNU GPL Version 3 oder neuer <%s>\n" "Dies ist freie Software: Es ist Ihnen freigestellt, sie zu verändern\n" "und zu verbreiten. Es gibt in dem gesetzlichen gegebenen Umfang KEINE " "GARANTIE.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Geschrieben von %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Geschrieben von %s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Geschrieben von %s, %s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "Geschrieben von %s, %s, %s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Geschrieben von %s, %s, %s,\n" "%s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Geschrieben von %s, %s, %s,\n" "%s, %s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Geschrieben von %s, %s, %s,\n" "%s, %s, %s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Geschrieben von %s, %s, %s,\n" "%s, %s, %s, %s\n" "und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Geschrieben von %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s und %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Geschrieben von %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s und anderen.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "Melden Sie Fehler an: %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Fehler in %s bitte melden an: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Webseite von %s: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Allgemeine Hilfe zu GNU-Software: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "Speicher verbraucht" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "Ungültiges %s%s-Argument »%s«" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "Ungültiges Suffix im %s%s-Argument »%s«" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s Argument »%s« zu groß" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "Spaltenname %s wurde in der Eingabedatei nicht gefunden" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Aufruf: %s [OPTION] op [Feld] [op Feld …]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "" "Führt numerische bzw. Stringoperationen für Eingaben aus der Standardeingabe " "aus." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "»op« ist die auszuführende Operation. Wenn es eine primäre Operation ist, " "muss\n" "diese zuerst angegeben werden, gefolgt von anderen (optionalen) " "Operationen.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "»Feld« ist das zu verwendende Eingabefeld. »Feld« kann eine Zahl sein\n" "(1=erstes Feld), oder ein Feldname, wenn die Optionen -H oder --header-in\n" "verwendet werden.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Mehrere Felder können durch Kommata getrennt werden (z.B. 1,6,8).\n" "Ein Feldbereich kann mit Minuszeichen angegeben werden (z.B. 2-8).\n" "Ein Doppelpunkt gibt Feldpaare an (z.B. »pcov 2:6«).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Primäre Operationen:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Operationen zur Zeilenfilterung:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Zeilenweise Operationen:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Optionen zur numerischen Gruppierung:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Optionen zur textuellen/numerischen Gruppierung:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Optionen zur statistischen Gruppierung:\n" #: src/datamash.c:232 src/decorate.c:181 #, fuzzy msgid "Options:\n" msgstr "Allgemeine Optionen:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Gruppierungsoptionen:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments überspringt Kommentarzeilen (beginnend mit »#«\n" " oder »;« und optionalem Leerraum)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] gruppiert nach Feldern X,[Y,Z];\n" " gleichbedeutend mit der primären Operation " "»groupby«\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in erste Eingabezeile ist die Spaltenüberschrift\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out gibt Spaltenüberschriften als erste Zeile aus\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers gleich wie »--header-in --header-out«\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignoriert Groß-/Kleinschreibung bei " "Textvergleichen;\n" " dies ist für Gruppierungs- und " "Stringoperationen\n" " wirksam\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort sortiert die Eingabe vor der Gruppierung; " "dadurch\n" " ist manuelles Bearbeiten der Eingabe mit " "»sort«\n" " nicht mehr nötig\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X verwendet X als Trenner für Ausgabefelder\n" " (Vorgabe: gleicher Trenner wie -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Optionen für Dateioperationen:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict erlaubt Zeilen mit unterschiedlicher Feldanzahl\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X ersetzt fehlende Werte durch X\n" " (Voreinstellung ist %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Allgemeine Optionen:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X verwendet X anstelle von Tabulatoren\n" " als Feldtrenner\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMAT gibt numerische Werte im Printf-artigen\n" " Fließkomma-FORMAT aus.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X verwendet X als Trenner für Ausgabefelder\n" " (Vorgabe: gleicher Trenner wie -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm NA/NaN-Werte überspringen\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N rundet die numerische Ausgabe\n" " auf N Dezimalstellen\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace verwendet Leerraum (eines oder mehrere " "Leerzeichen\n" " und/oder Tabulatoren) für Feldtrenner\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated beendet Zeilen mit einem Null-Byte, nicht\n" " mit einem Zeilenumbruch\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Beispiele:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Die Summe und den Median der Werte aus Spalte 1 ausgeben:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Transponierte Eingabe:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "" "Detaillierte Informationen zur Verwendung und Beispiele\n" "finden Sie unter\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Das Handbuch und weitere Beispiele sind verfügbar auf\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "Ungültige Eingabe: Feld % angefragt, Zeile % hat aber nur " "% Felder" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s in Zeile %, Feld %: »%s«" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "Fehler in transponierter Eingabe: Zeile % hat % Felder " "(vorherige Zeilen hatten % Felder);\n" "siehe --help für den strikten Modus" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "Eingabefehler für umgekehrte Felder: Zeile % hat % Felder " "(vorherige\n" "Zeilen hatten %) Felder);\n" "siehe --help für den strikten Modus" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "Zeile % (% Felder):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "Überprüfung fehlgeschlagen: Zeile % hat % Felder " "(% wurde erwartet)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "Überprüfung fehlgeschlagen: Zeile % hat % Felder (vorige " "Zeile hatte %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "Überprüfung fehlgeschlagen: Eingabe hatte % Zeilen (% " "wurde erwartet)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% Zeile" msgstr[1] "% Zeilen" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% Feld" msgstr[1] "% Felder" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "Speicherreservierung gescheitert" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "»sort« kann nicht gestartet werden: »popen« fehlgeschlagen" #: src/datamash.c:1237 msgid "read error" msgstr "Lesefehler" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "Lesefehler (beim Schließen)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "Ungültiger Base64-Wert" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "Trennzeichen muss ein einzelnes Zeichen sein" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "Operationsbezeichner fehlen" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H oder --header-in muss mit benannten Spalten verwendet werden" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "Ungültiger numerischer Wert" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "Ungültiger numerischer Wert »%s«" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "Ungültiger Operand %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "Ungültiger Operand %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "Ungültiger Operand %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X verwendet X anstelle von Tabulatoren\n" " als Feldtrenner\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict erlaubt Zeilen mit unterschiedlicher Feldanzahl\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated beendet Zeilen mit einem Null-Byte, nicht\n" " mit einem Zeilenumbruch\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Beispiele:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "Ungültiger numerischer Wert »%s«" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "Ungültiger numerischer Wert »%s«" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "Ungültiger numerischer Wert »%s«" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "Ungültiges Feldpaar für die Operation %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "Ungültige Operation %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "Ungültiger numerischer Wert »%s«" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "Ungültiges Feld »%s« für die Operation %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "»sort« kann nicht gestartet werden: »popen« fehlgeschlagen" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "»sort« kann nicht gestartet werden: »popen« fehlgeschlagen" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "»sort« kann nicht gestartet werden: »popen« fehlgeschlagen" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "Format %s hat keine %%-Anweisung" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "Format %s hat keinen gültigen Typ nach »%%«" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "Format %s hat einen unbekannten/ungültigen Typ der %%%c-Anweisung" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "Format %s hat zu viele %%-Anweisungen" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "Eingabefehler für Operation %s: Felder %,% haben " "unterschiedliche Anzahl der Einträge" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "Ungültiger numerischer Wert" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "Ungültiger Base64-Wert" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "Ungültiges Feldpaar für die Operation %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "Zu viele Parameter für Operation %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "Strbin-Bucket-Größe darf nicht Null sein" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "Ungültiger Prozentwert %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "Ungültiger Trimm-Mittelwert %Lg (Wert 0 <= X <= 0.5 wurde erwartet)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "Ungültiger »getnum«-Typ »%c«" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "Feld für Operation %s fehlt" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "Ungültiger Feldbereich für die Operation %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "Ungültiges Feldpaar für die Operation %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "Ungültiges Feld »%s« für die Operation %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "Feldbereich für %s muss numerisch sein" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "Parameter für Operation %s fehlt" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "Ungültiger Parameter Spalte %s für Operation %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "Option %s benötigt Feldpaare" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "Operation %s kann keine Feldpaare verarbeiten" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "Operationskonflikt für %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "Ungültige Operation %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "Widersprüchliche Operationen gefunden: %s Operationen wurden erwartet, aber " "%s Operationen %s gefunden" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "Ungültige Option %s für Operation »check«" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "Zahl wurde erwartet nach der Option in der Operation »check«" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "Ungültiger Wert Null für Zeilen/Felder in der Operation »check«" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "" "Anzahl der Zeilen/Reihen wurde in der Operation »check« bereits festgelegt" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "" "Anzahl der Felder/Spalten wurde in der Operation »check« bereits festgelegt" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "Crosstab benötigt genau zwei Felder, % wurden gefunden" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "Crosstab unterstützt eine Operation, % wurden gefunden" #: src/op-parser.c:751 msgid "missing operation" msgstr "Operation fehlt" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "Zusätzlicher Operand %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "Fehlendes Skript (zwischen Argumenten)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "Ungültiger numerischer Wert »%s«" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "Rückschrägstrich am Ende des Bezeichners" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "Bezeichnername ist zu lang" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "Ungültiger Operand %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "Unbekannter Token %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help zeigt diese Hilfe an und beendet.\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version zeigt die Versionsinformation an und beendet.\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "»%s --help« gibt weitere Informationen.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "Fehlende Stellenanzahl für Rundung" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "Ungültige Stellenanzahl %s für Rundung" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full gibt die gesamte Eingabezeile vor den " #~ "Operations-\n" #~ " ergebnissen aus (Voreinstellung: nur die\n" #~ " gruppierten Schlüssel werden ausgegeben)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "Sortierbefehl ist zu lang (bitte melden Sie dies als Fehler)" #~ msgid "%s home page: \n" #~ msgstr "Webseite von %s: \n" datamash-1.9/po/en@boldquot.header0000644000000000000000000000247114352357450012654 # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # datamash-1.9/po/en@quot.header0000644000000000000000000000226314352357450012012 # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # datamash-1.9/po/eo.gmo0000644000000000000000000004724214774035524010345 Þ•0°Ó0 | „ ¼ DvZ?Ñ?/QF‡È€P?ÑEW~×”VšëD†?Ë (C_y ®Íê,3.S'‚(ªÓóƒõ…yÿ1 5?1XŠ&œÃªÖ¿] {…•ª7Àø3 AX!l%Ž.´ã&ô)0Z;q3­/á+'=#e‰©ÅÕ×3ö1*8\@•5Ö= &J q OŠ .Ú - !+7!*c!Ž!"Ÿ!"Â!å!$"1("'Z"‚"Ÿ"M¸"K#R#m##‚##¦#$Ê#ï#C$@L$$£$¾$Ñ$%æ$% %2%P% m%$Ž%4³%8è%!&=&W&h&‡&™&"¶&Ù& ÷&1'9J'5„'&º'!á' ((q$(n–(#)())$R)mw)jå)P* b*øn*Pg,z¸,D3-Fx-8¿-Kø-ŒD.ŠÑ.?\/Hœ/‚å/„h0˜í0˜†1B2Jb2­2Ä2Û2ð23!3<3\3|3+œ3$È3-í3(4)D4n4Ž4…’4…5ž5;¡5 Ý5è556;6.R66Æ–6]7Çv7>8 [8g8w8Œ8A¢8ä87ü849O9 n9$9-´9â9&÷9:/4:d::{:3¶:/ê:+;'F;#n;’;²;Î;Þ;â;><<@<C}<NÁ<@=KQ=0=Î=Xä=5=>4s>1¨>0Ú> ?(?%F?.l?#›?8¿?,ø?!%@G@Kb@I®@ø@A'.A+VA(‚A«AHÊAEBYBqBŽB¤B/ºB)êBC2C&OC(vC9ŸC;ÙCD2DMDdD„D•D#°D ÔD!õD7E@OE7E'ÈE$ðE FF„5FºF/~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7ÚHô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„ ¼ØìâH ÿÿÿÿI ÿÿÿÿ8I%ÿÿÿÿI!%ÿÿÿÿJ ÿÿÿÿJÿÿÿÿLJÿÿÿÿ„Jÿÿÿÿ²JÿÿÿÿÊJÿÿÿÿäJ& ÿÿÿÿ,KÿÿÿÿGK+ÿÿÿÿsK(ÿÿÿÿœK ÿÿÿÿÜK ÿÿÿÿøK!2ÿÿÿÿpL!!2ÿÿÿÿìL ÿÿÿÿMÿÿÿÿ>Mÿÿÿÿ„M#ÿÿÿÿ½MÿÿÿÿÎMÿÿÿÿßM%ÿÿÿÿ%Nÿÿÿÿ@N2ÿÿÿÿsN.ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-12-24 15:16-0300 Last-Translator: Felipe Castro Language-Team: Esperanto Language: eo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n!=1); X-Generator: Poedit 2.2.1 X-Poedit-SourceCharset: UTF-8 --filler=X kompletigas mankantajn valorojn per X (aprioras %s) --format=FORMO printi ciferajn valorojn laÅ­ stilo de printf per glitkoma FORMO. --header-in unua enig-linio estas la kolumnaj kapoj --header-out montri kolumnajn kapojn kiel unuan linion --narm pretersalti valorojn NA/NaN --no-strict permesas liniojn kun variebla nombro da kampoj --output-delimiter=X uzi X anstataÅ­e kiel elig-kampa limigilo (apriore: uzi saman limigilon kiel -t/-W) -C, --skip-comments pretersalti komentliniojn (komencantaj per '#' aÅ­ ';' kaj malnepra blankspaco) -H, --headers same ol '--header-in --header-out' -R, --round=N rondigi ciferecan eligon al N dekumaj lokoj -W, --whitespace uzu blankspacon (unu aŭ pli spacoj kaj/aŭ taboj) por kamp-disigiloj -g, --group=X[,Y,Z] grupigi laÅ­ kampoj X,[Y,Z]; ekvivalenta al unua-ranga operacio 'groupby' -i, --ignore-case preteratenti usklecon dum komparo de teksto; tio ĉi influas grupigon, kaj ĉenajn operaciojn -s, --sort ordigi la enigon antaÅ­ ol grupigi; tio ĉi forigas la neceson mem dukti la enigon tra 'sort' -t, --field-separator=X uzu X antataÅ­ TAB kiel kamp-disigilo -z, --zero-terminated fini liniojn per la bajto 0, ne novlini-signo %llu kampo%llu kampoj%llu linio%llu linioj%lu kampo%lu kampoj%lu linio%lu linioj%s hejm-paÄo: <%s> %s en linio %llu kampo %llu: '%s'%s en linio %lu kampo %lu: '%s'%s%s-argumento '%s' tro larÄas%s: malvalida modifilo -- '%c' %s: modifilo '%s%s' ne permesas argumenton %s: modifilo '%s%s' estas plursenca %s: modifilo '%s%s' estas plursenca; eblecoj:%s: modifilo '%s%s' postulas argumenton %s: modifilo postulas argumenton -- '%c' %s: nerekonata modifilo '%s%s' ’'kmp' estas la eniga kampo por uzi. 'kmp' povas esti numero (1=unua kampo), aŭ kamp-nomo dum uzo de modifiloj -H aÅ­ --header-in. 'op' estas la farota operacio. Se unua-ranga operacio estas uzata, Äi devas esti listata unue, nedevige sekvata de aliaj operacioj. ©-H aÅ­ --header-in devas esti uzataj kun nomigitaj kolumnojEkzemploj:Dosier-operaciaj modifiloj: Por detala uzmaniera informo kaj ekzemploj, konsultu Äœeneralaj modifiloj: Äœenerala helpo por uzi programaron GNU: <%s> Grupigaj modifiloj: Permeso GPLv3+: GNU GPL versio 3 aÅ­ posta <%s>. Tio ĉi estas libera programaro: vi estas libera por ÅanÄi kaj redisdoni Äin. Ekzistas NENIU GARANTIO, laÅ­ plej amplekse permesate de la leÄoj. Lini-filtraj operacioj: Multopaj kampoj povas esti listataj per komo (ekz. 1,6,8). Limoj de kampoj povas esti listataj per strekteto( ekz. 2-8). Uzu dupunktojn por operacioj kiuj postulas paron da kampoj (ekz. 'pcov 2:6'). Numeraj grupigaj operacioj: Modifiloj: Pakigita de %s Pakigita de %s (%s) Po-liniaj operacioj: Faras numerajn/ĉenajn operaciojn sur la enigo el la ĉefenigujo.Unua-rangaj operacioj: Montri la sumon kaj la meznombran valoron el kolumno 1:Raportu %s erarojn al: %s Raportu programerarojn al: %s Statistikaj grupigaj operacioj: Tekstaj/numeraj grupigaj operacioj: La gvidilo kaj pli ekzemploj disponeblas ĉe Transponi la enigon:Provu '%s --help' por pli da informo. Nekonata sistem-eraroUzmaniero: %s [MODIFILO] op [kmp] [op kmp ...] Verkita de %s kaj %s. Verkita de %s, %s, %s, %s, %s, %s, %s, %s, %s, kaj aliaj. Verkita de %s, %s, %s, %s, %s, %s, %s, %s, kaj %s. Verkita de %s, %s, %s, %s, %s, %s, %s, kaj %s. Verkita de %s, %s, %s, %s, %s, %s, kaj %s. Verkita de %s, %s, %s, %s, %s, kaj %s. Verkita de %s, %s, %s, %s, kaj %s. Verkita de %s, %s, %s, kaj %s. Verkita de %s, %s, kaj %s. Verkita de %s. ‘deklivo ĉe fino de identigilokontrolo malsukcesis: enigo havis %llu liniojn (atendite %llu)kontrolo malsukcesis: enigo havis %lu liniojn (atendite %lu)kontrolo malsukcesis: linio %llu havas %llu kampojn (atendite %llu)kontrolo malsukcesis: linio %llu havas %llu kampojn (antaÅ­a linio havis %llu)kontrolo malsukcesis: linio %lu havas %lu kampojn (atendite %lu)kontrolo malsukcesis: linio %lu havas %lu kampojn (antaÅ­a linio havis %lu)kolumna nomo %s ne estis trovata en enig-dosieromalakorda operacio %skonfliktanta operacio estis trovata: ni atendis operaciojn %s, sed trovis %s operacio %s'crosstab' postulas precize 2 kampojn, ni trovis %llu'crosstab' postulas precize 2 kampojn, ni trovis %lu'crosstab' subtenas unu operacion, ni trovis %llu'crosstab' subtenas unu operacion, ni trovis %lukroma operando %smalsukcesis lanĉi 'sort': popen fiaskiskampaj limoj por %s devas esti ciferala formo %s ne havas iun ajn %% kiel direktivola formo %s havas tro da direktivojla formo %s havas nekonata/malvalida direktiva tipo %%%cla formo %s malhavas validan tipon post '%%'eraro de rezervo por haket-memoroidentigila nomo tro longaseniga eraro por operacio %s: kampoj %llu,%llu havas malsamaj numbro da erojeniga eraro por operacio %s: kampoj %lu,%lu havas malsamaj numbro da erojmalvalida %s%s-argumento '%s'malvalida valoro base64malvalida kampo '%s' por la operacio %smalvalida paro da kampoj por la operacio %smalvalidaj kamp-limoj por la operacio %smalvalida tipo por getnum '%c'malvalida enigo: kampo %llu postulata, linio %llu havas nur %llu kampojnmalvalida enigo: kampo %lu postulata, linio %lu havas nur %lu kampojnmalvalida cifera valoromalvalida cifera valoro '%s'malvalida operando %smalvalida operacio %smalvalida parametro %s por kontrolo de operaciomalvalida parametro %s por la operacio %smalvalida elcenta valoro %llumalvalida elcenta valoro %lumalvalida valoro por rondig-ciferoj %smalvalida sufikso en %s%s-argumento '%s'malvalida stuciga mez-valoro %Lg (atendite 0 <= X <= 0,5)malvalida valoro nulo por linioj/kampoj en operacio 'check'linio %llu (%llu kampoj): linio %lu (%lu kampoj): memoro estas plenigitamankas kampo por la operacio %smankas operacionmankas operaciaj indikilojmankas parametro por la operacio %smankas valoro por rondig-ciferojmankas skripto (inter argumentoj)cifero estas atendata post modifilo en operacio 'check'nombro da kampoj/kolumnoj jam estas difinita en operacio 'check'nombro da linioj jam estas difinita en operacio 'check'operacio %s ne povas uzi paro da kampojoperacio %s postulas paron da kampojleg-eraroleg-eraro (dum fermo)renvers-kampa enig-eraro: linio %llu havas %llu kampojn (antaÅ­aj linioj havis %llu); konsultu --help por malebligi severan reÄimonrenvers-kampa enig-eraro: linio %lu havas %lu kampojn (antaÅ­aj linioj havis %lu); konsultu --help por malebligi severan reÄimongrando de forgesujo 'strbin' ne devas esti nulala disigilo devas esti ununura signotro multaj parametroj por la operacio %stranspona enig-eraro: linio %llu havas %llu kampojn (antaÅ­aj linioj havis %llu); konsultu --help por malebligi severan reÄimontranspona enig-eraro: linio %lu havas %lu kampojn (antaÅ­aj linioj havis %lu); konsultu --help por malebligi severan reÄimonnekonata ĵetono %d skrib-eraroPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %malvalida enigo: kampo % postulata, linio % havas nur % kampojn%s en linio % kampo %: '%s'transpona enig-eraro: linio % havas % kampojn (antaÅ­aj linioj havis %); konsultu --help por malebligi severan reÄimonrenvers-kampa enig-eraro: linio % havas % kampojn (antaÅ­aj linioj havis %); konsultu --help por malebligi severan reÄimonlinio % (% kampoj): kontrolo malsukcesis: linio % havas % kampojn (atendite %)kontrolo malsukcesis: linio % havas % kampojn (antaÅ­a linio havis %)kontrolo malsukcesis: enigo havis % liniojn (atendite %)% linio% linioj% kampo% kampojeniga eraro por operacio %s: kampoj %,% havas malsamaj numbro da erojmalvalida elcenta valoro %'crosstab' postulas precize 2 kampojn, ni trovis %'crosstab' subtenas unu operacion, ni trovis %datamash-1.9/po/eo.po0000644000000000000000000011026514774035524010175 # Esperanto translation # Copyright (C) 2014, 2015, 2016, 2018, 2019 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Felipe Castro , 2014, 2015, 2016, 2018, 2019. # msgid "" msgstr "" "Project-Id-Version: datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-12-24 15:16-0300\n" "Last-Translator: Felipe Castro \n" "Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" "X-Generator: Poedit 2.2.1\n" "X-Poedit-SourceCharset: UTF-8\n" #: lib/closeout.c:121 msgid "write error" msgstr "skrib-eraro" #: lib/error.c:208 msgid "Unknown system error" msgstr "Nekonata sistem-eraro" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: modifilo '%s%s' estas plursenca\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: modifilo '%s%s' estas plursenca; eblecoj:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: nerekonata modifilo '%s%s'\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: modifilo '%s%s' ne permesas argumenton\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: modifilo '%s%s' postulas argumenton\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: malvalida modifilo -- '%c'\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: modifilo postulas argumenton -- '%c'\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "‘" #: lib/quotearg.c:355 msgid "'" msgstr "’" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Pakigita de %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Pakigita de %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Permeso GPLv3+: GNU GPL versio 3 aÅ­ posta <%s>.\n" "Tio ĉi estas libera programaro: vi estas libera por ÅanÄi kaj redisdoni " "Äin.\n" "Ekzistas NENIU GARANTIO, laÅ­ plej amplekse permesate de la leÄoj.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Verkita de %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Verkita de %s kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Verkita de %s, %s, kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Verkita de %s, %s, %s,\n" "kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Verkita de %s, %s, %s,\n" "%s, kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Verkita de %s, %s, %s,\n" "%s, %s, kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Verkita de %s, %s, %s,\n" "%s, %s, %s, kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Verkita de %s, %s, %s,\n" "%s, %s, %s, %s,\n" "kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Verkita de %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, kaj %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Verkita de %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, kaj aliaj.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "Raportu programerarojn al: %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Raportu %s erarojn al: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "%s hejm-paÄo: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Äœenerala helpo por uzi programaron GNU: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "memoro estas plenigita" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "malvalida %s%s-argumento '%s'" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "malvalida sufikso en %s%s-argumento '%s'" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s-argumento '%s' tro larÄas" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "kolumna nomo %s ne estis trovata en enig-dosiero" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Uzmaniero: %s [MODIFILO] op [kmp] [op kmp ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Faras numerajn/ĉenajn operaciojn sur la enigo el la ĉefenigujo." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "'op' estas la farota operacio. Se unua-ranga operacio estas uzata,\n" "Äi devas esti listata unue, nedevige sekvata de aliaj operacioj.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "'kmp' estas la eniga kampo por uzi. 'kmp' povas esti numero (1=unua " "kampo),\n" "aŭ kamp-nomo dum uzo de modifiloj -H aÅ­ --header-in.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Multopaj kampoj povas esti listataj per komo (ekz. 1,6,8). Limoj de\n" "kampoj povas esti listataj per strekteto( ekz. 2-8). Uzu dupunktojn por\n" "operacioj kiuj postulas paron da kampoj (ekz. 'pcov 2:6').\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Unua-rangaj operacioj:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Lini-filtraj operacioj:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Po-liniaj operacioj:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Numeraj grupigaj operacioj:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Tekstaj/numeraj grupigaj operacioj:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Statistikaj grupigaj operacioj:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Modifiloj:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Grupigaj modifiloj:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments pretersalti komentliniojn (komencantaj per '#' " "aÅ­ ';'\n" " kaj malnepra blankspaco)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] grupigi laÅ­ kampoj X,[Y,Z];\n" " ekvivalenta al unua-ranga operacio 'groupby'\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr " --header-in unua enig-linio estas la kolumnaj kapoj\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out montri kolumnajn kapojn kiel unuan linion\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers same ol '--header-in --header-out'\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case preteratenti usklecon dum komparo de teksto;\n" " tio ĉi influas grupigon, kaj ĉenajn " "operaciojn\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort ordigi la enigon antaÅ­ ol grupigi; tio ĉi " "forigas la\n" " neceson mem dukti la enigon tra 'sort'\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X uzi X anstataÅ­e kiel elig-kampa limigilo\n" " (apriore: uzi saman limigilon kiel -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Dosier-operaciaj modifiloj:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict permesas liniojn kun variebla nombro da kampoj\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X kompletigas mankantajn valorojn per X (aprioras " "%s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Äœeneralaj modifiloj:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr " -t, --field-separator=X uzu X antataÅ­ TAB kiel kamp-disigilo\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMO printi ciferajn valorojn laÅ­ stilo de printf\n" " per glitkoma FORMO.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X uzi X anstataÅ­e kiel elig-kampa limigilo\n" " (apriore: uzi saman limigilon kiel -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm pretersalti valorojn NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N rondigi ciferecan eligon al N dekumaj lokoj\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace uzu blankspacon (unu aŭ pli spacoj kaj/" "aŭ taboj)\n" " por kamp-disigiloj\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated fini liniojn per la bajto 0, ne novlini-signo\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Ekzemploj:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Montri la sumon kaj la meznombran valoron el kolumno 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Transponi la enigon:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "Por detala uzmaniera informo kaj ekzemploj, konsultu\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "La gvidilo kaj pli ekzemploj disponeblas ĉe\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "malvalida enigo: kampo % postulata, linio % havas nur " "% kampojn" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s en linio % kampo %: '%s'" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "transpona enig-eraro: linio % havas % kampojn (antaÅ­aj " "linioj havis %);\n" "konsultu --help por malebligi severan reÄimon" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "renvers-kampa enig-eraro: linio % havas % kampojn (antaÅ­aj " "linioj havis %);\n" "konsultu --help por malebligi severan reÄimon" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "linio % (% kampoj):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "kontrolo malsukcesis: linio % havas % kampojn (atendite " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "kontrolo malsukcesis: linio % havas % kampojn (antaÅ­a " "linio havis %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "kontrolo malsukcesis: enigo havis % liniojn (atendite %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% linio" msgstr[1] "% linioj" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% kampo" msgstr[1] "% kampoj" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "eraro de rezervo por haket-memoro" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "malsukcesis lanĉi 'sort': popen fiaskis" #: src/datamash.c:1237 msgid "read error" msgstr "leg-eraro" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "leg-eraro (dum fermo)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "malvalida valoro base64" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "la disigilo devas esti ununura signo" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "mankas operaciaj indikiloj" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H aÅ­ --header-in devas esti uzataj kun nomigitaj kolumnoj" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "malvalida malplena grupiga parametro" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "malvalida cifera valoro '%s'" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "malvalida operando %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "malvalida operando %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "malvalida operando %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr " -t, --field-separator=X uzu X antataÅ­ TAB kiel kamp-disigilo\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict permesas liniojn kun variebla nombro da kampoj\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated fini liniojn per la bajto 0, ne novlini-signo\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Ekzemploj:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "malvalida cifera valoro '%s'" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "malvalida cifera valoro '%s'" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "malvalida cifera valoro '%s'" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "malvalida paro da kampoj por la operacio %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "malvalida operacio %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "malvalida cifera valoro '%s'" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "malvalida kampo '%s' por la operacio %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "malsukcesis lanĉi 'sort': popen fiaskis" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "malsukcesis lanĉi 'sort': popen fiaskis" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "malsukcesis lanĉi 'sort': popen fiaskis" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "la formo %s ne havas iun ajn %% kiel direktivo" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "la formo %s malhavas validan tipon post '%%'" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "la formo %s havas nekonata/malvalida direktiva tipo %%%c" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "la formo %s havas tro da direktivoj" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "eniga eraro por operacio %s: kampoj %,% havas malsamaj " "numbro da eroj" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "malvalida cifera valoro" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "malvalida valoro base64" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "malvalida paro da kampoj por la operacio %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "tro multaj parametroj por la operacio %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "grando de forgesujo 'strbin' ne devas esti nula" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "malvalida elcenta valoro %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "malvalida stuciga mez-valoro %Lg (atendite 0 <= X <= 0,5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "malvalida tipo por getnum '%c'" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "mankas kampo por la operacio %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "malvalidaj kamp-limoj por la operacio %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "malvalida paro da kampoj por la operacio %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "malvalida kampo '%s' por la operacio %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "kampaj limoj por %s devas esti cifera" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "mankas parametro por la operacio %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "malvalida parametro %s por la operacio %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "operacio %s postulas paron da kampoj" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "operacio %s ne povas uzi paro da kampoj" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "malakorda operacio %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "malvalida operacio %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "konfliktanta operacio estis trovata: ni atendis operaciojn %s, sed trovis %s " "operacio %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "malvalida parametro %s por kontrolo de operacio" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "cifero estas atendata post modifilo en operacio 'check'" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "malvalida valoro nulo por linioj/kampoj en operacio 'check'" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "nombro da linioj jam estas difinita en operacio 'check'" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "nombro da kampoj/kolumnoj jam estas difinita en operacio 'check'" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "'crosstab' postulas precize 2 kampojn, ni trovis %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "'crosstab' subtenas unu operacion, ni trovis %" #: src/op-parser.c:751 msgid "missing operation" msgstr "mankas operacion" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "kroma operando %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "mankas skripto (inter argumentoj)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "malvalida cifera valoro '%s'" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "deklivo ĉe fino de identigilo" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "identigila nomo tro longas" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "malvalida operando %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "nekonata ĵetono %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help montri ĉi tiun helpon kaj eliri\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version eligi informon pri versio kaj eliri\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Provu '%s --help' por pli da informo.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "mankas valoro por rondig-ciferoj" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "malvalida valoro por rondig-ciferoj %s" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full montri la tutan enig-linion antaÅ­ ol op-" #~ "rezultoj\n" #~ " (apriore: montri nur la grupitajn " #~ "Ålosilojn)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "ordiga komando tro longas (bonvole raportu tiun ĉi program-mison)" #~ msgid "%s home page: \n" #~ msgstr "%s hejm-paÄo: \n" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: modifilo '--%s' ne permesas argumenton\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: nerekonata modifilo '--%s'\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: modifilo '-W %s' estas plursenca\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: modifilo '-W %s' ne permesas argumenton\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: modifilo '-W %s' postulas argumenton\n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "'op' estas la farota operacio;\n" #~ msgid "File operations:\n" #~ msgstr "Dosieraj operacioj:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] grupigi laÅ­ kampoj X,[Y,Z]\n" #~ msgid "For grouping operations 'col' is the input field to use." #~ msgstr "Por grupigi operaciojn, 'kol' estas la uzota enig-kampo." #~ msgid " --debug print helpful debugging information\n" #~ msgstr " --debug montri helpan rafinigan informaron.\n" #~ msgid "invalid numeric input in line %zu field %zu: '%s'" #~ msgstr "malvalida cifereca enigo en linio %zu kampo %zu: '%s'" #~ msgid "invalid field value for grouping '%s'" #~ msgstr "malvalida kamp-valoro por grupigo de '%s'" #~ msgid "invalid field value (zero) for grouping" #~ msgstr "malvalida kamp-valoro (nulo) por grupigo" datamash-1.9/po/es.gmo0000644000000000000000000004313614774035524010347 Þ•~0 ¿  L ¤D¥?ê?*/jFš?á!~¡” šµDP?•Õò )C Wx—´,Ðý.'L(t½ƒ¿…CÉ1Í ÿ 1"Tfy¿•Usƒ˜7®æ3û/!F%h.޽&Îõ) 4;K3‡/»+ë'#?cƒŸ¯3±1å8@P5‘=Ç&,OE.•-Ä+ò*I"Z"} M½K Wr#‡#«$ÏCô@8yª½%Ò%ø < $Y 8~ · Ó í þ !/!"L! o!1!9Â!5ü!&2"!Y" {"†"qœ"n##}#(¡#$Ê#mï#j]$È$ Ú$êæ$QÑ&L#'Np'1¿'Kñ'B=(™€(ƒ)¦ž)¸E*Kþ*KJ+–+³+Ò+í+ ,"$, G,'h,,-°, Þ,/ÿ,+/-/[-#‹-¯-™²-•L.â.9å. / )/<J/‡/š/ µ/ÞÖ/$µ0Ú0î01> 1_1@w1¸1*Õ1)23*2^2-p2ž27»2ó29 32C3.v3*¥3&Ð3"÷3494T4e4@h4>©4Eè4N.5B}5KÀ55 6B6]Y65·64í6."7-Q77+•7-Á7!ï7X8Vj8Á8ß8*÷8#"9#F9Kj9H¶9ÿ9 :::P:2i:+œ:È:è:*;D2;w;•;±; Á;â;!õ;#<;<@[<Eœ<Câ<-&=%T=z=‹=Ѝ=‡3>*»>+æ>)?ƒ[&j@„ ¨ Ä è ( L p Œ   ´ Ð ä ø 0 L p ” ° Ô ø 0Lh|r@ ÿÿÿÿ­@ ÿÿÿÿÈ@%ÿÿÿÿ-A!%ÿÿÿÿ–A ÿÿÿÿ¬AÿÿÿÿÜAÿÿÿÿBÿÿÿÿBBÿÿÿÿZBÿÿÿÿtB& ÿÿÿÿ¼Bÿÿÿÿ×B+ÿÿÿÿC(ÿÿÿÿ,C ÿÿÿÿoCÿÿÿÿŒC!&,ÿÿÿÿD*$,ÿÿÿÿ‰D ÿÿÿÿ¡D ÿÿÿÿÞDÿÿÿÿ$E$ÿÿÿÿ_E ÿÿÿÿxE ÿÿÿÿE,%ÿÿÿÿâEÿÿÿÿÿE2ÿÿÿÿ2F+ÿÿÿÿ --filler=X fill missing values with X (default %s) --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields -H, --headers same as '--header-in --header-out' -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: Grouping Options: Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `check failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numerichash memory allocation errorinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid suffix in %s%s argument '%s'invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash 1.1.1.19 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2018-03-29 09:24+0200 Last-Translator: Francisco Javier Serrador Language-Team: Spanish Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Poedit 2.0.4 X-Poedit-SourceCharset: UTF-8 --filler=X valores de relleno ausente con X (predeterminado %s) --header-in primera línea entrante es columna de cabeceras --header-out escribe cabeceras de columnas como primera línea --narm omite valores NA/NaN --no-strict permite líneas con número variable de campos -H, --headers igual como '--header-in --header-out' -W, --whitespace utiliza espacios en blanco (uno o más espacios y/o tabulaciones) para delimitaciones de campo -g, --group=X[,Y,Z] grupo vía campos X,[Y,Z]; equivalente a operación «groupby» primario -i, --ignore-case ignora MAYÚSCULAS/minúsculas cuando compara texto; esto afecta agrupando, y operaciones de cadena textual -s, --sort ordena la entrada antes de agruparlas; esto quita lo necesario para manualmente crear tubería de entrada a través de 'sort' -t, --field-separator=X utiliza X en vez de TAB como campo delimitador -z, --zero-terminated finaliza líneas con 0 byte, no líneas nuevas %llu de campo%llu de campos%llu de línea%llu de líneas%lu de campo%lu de campos%lu de línea%lu de líneas%s página inicial: <%s> %s en línea %llu campo %llu: '%s'%s en línea %lu campo %lu: '%s'%s%s: argumento «%s» demasiado grande%s: opción no válida -- '%c' %s: opción «%s%s» no permite un argumento %s: opción «%s%s» es ambigua %s: opción «%s%s» es ambigua; posibilidades:%s: opción «%s%s» requiere un argumento %s: la opción requiere un argumento -- «%c» %s: opción «%s%s» no reconocida »'fld' es el campo de entrada a utilizar. 'fld' puede ser un número (1=primer campo), o un campo nombrado cuando utilice las opciones -H o --header-in. 'op' es la operación para realizar. Si una primera operación es utilizada, debe ser listada primero, opcionalmente seguida por otras operaciones. ©-H o --header-in debe ser empleada con columnas nombradasEjemplos:Fichero de opciones operativas: Para información de utilización detallada y ejemplos, vea Opciones comunes: Opciones de agrupamiento: Operaciones lineales filtradas: Múltiples campos pueden ser listados con una coma (p.e. 1,6,8). Un rango de campos puede ser listado con un guión (p.e. 2-8). Utilice dos puntos para operaciones las cuales requieran un par de campos (p.e 'pcov 2:6'). Operaciones Agrupadoras Numéricas: Empaquetado por %s Empaquetado por %s (%s) Operaciones por línea: Realiza operaciones numéricas/cadena por entrada desde stdin.Operaciones primarias: Escribe el sumatorio y el sisgificado de valores desde columna1:Comunicar %s defectos a: %s Operaciones de Agrupamiento Estadístico: Textual/Numérico Agrupando operaciones: El manual y más ejemplos están disponibles desde Traspone entrada:Pruebe «%s --help» para más información. Error de sistema desconocidoModo de empleo: %s [OPCIÓN] hasta [fld] [op fld] ...] Escrito por %s y %s. Escrito por %s, %s, %s, %s, %s, %s, %s, %s, %s, y otros. Escrito por %s, %s, %s, %s, %s, %s, %s, %s, y %s. Escrito por %s, %s, %s, %s, %s, %s, %s, y %s. Escrito por %s, %s, %s, %s, %s, %s, y %s. Escrito por %s, %s, %s, %s, %s, y %s. Escrito por %s, %s, %s, %s, y %s. Escrito por %s, %s, %s, y %s. Escrito por %s, %s, y %s. Escrito por %s. «comprobación fallada: entrad tuvo %llu líneas (esperando %llu)comprobación fallada: entrad tuvo %lu líneas (esperando %lu)comprobación fallada: línea %llu tiene campos %llu (esperando %llu)comprobación fallada: línea %llu tiene campos %llu (línea previa tuvo %llu)comprobación fallada: línea %lu tiene campos %lu (esperando %lu)comprobación fallada: línea %lu tiene campos %lu (línea previa tuvo %lu)nombre de columna %s no encontrado en fichero entradaconflicto operativo %sencontrado conflicto de operación: esperaba %s operaciones, pero encontrada %s operación %scruce requiere exactamente 2 campos, encontrados %llucruce requiere exactamente 2 campos, encontrados %lucruce soportes una operación, encontrada %llucruce soportes una operación, encontrada %luoperando adicional %sfallado al ejecutar «sort»: popen falladoel rango del campo para %s debe ser numéricoerror asignación de memoria hasherror entrante para operación %s: campos %llu,%llu tienen número diferente de ítemeserror entrante para operación %s: campos %lu,%lu tienen número diferente de ítemesargumento %s%s inválido '%s'valor base64 no válidocampo no válido «%s» para operación %scampo no válido para operación %scampo no válido para operación %sentrada inválida: campo %llu requerido, línea %llu tiene solo %llu camposentrada inválida: campo %lu requerido, línea %lu tiene solo %lu camposvalor numérico inválidovalor numérico inválido «%s»operando %s inválidooperación %s no válidaopción %s no válida para comprobación operativaparámetro %s no válido para operación %svalor percentil no válido %lluvalor percentil no válido %lusufijo no válido en argumento %s%s «%s»valor cero inválido para líneas/campos en operación «comprobar»línea %llu (%llu campos): línea %lu (%lu campos): memoria agotadacampo ausente para operación %soperación ausentefaltan especificadores operativosfalta parámetro para operación %sfalta script (entre argumentos)número experado tras opción dentro de operación «comprobar»número de campos/columnas ya establecida en operación «comprobar»número de líneas/filas ya establecida en operación «comprobar»operación %s no puede utilizar par de camposoperación %s requiere pares de campoerror de lecturaerror de lectura (al cerrar)error campo-revertido de entrada: línea %llu tiene %llu campos (líneas anteriores tenía %llu); vea --help para desactivar modo estrictoerror campo-revertido de entrada: línea %lu tiene %lu campos (líneas anteriores tenía %lu); vea --help para desactivar modo estrictotamaño cubo ‘strbin’ no debe ser ceroel delimitador debe ser un simple carácterdemasiados parámetros para operación %strasponer error entrada: línea %llu TIENE %llu campos (anteriores líneas tuvieron %llu); vea --help para desactivar modo estrictotrasponer error entrada: línea %lu TIENE %lu campos (anteriores líneas tuvieron %lu); vea --help para desactivar modo estrictotoken desconocido %d error de escrituraPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %entrada inválida: campo % requerido, línea % tiene solo % campos%s en línea % campo %: '%s'trasponer error entrada: línea % TIENE % campos (anteriores líneas tuvieron %); vea --help para desactivar modo estrictoerror campo-revertido de entrada: línea % tiene % campos (líneas anteriores tenía %); vea --help para desactivar modo estrictolínea % (% campos): comprobación fallada: línea % tiene campos % (esperando %)comprobación fallada: línea % tiene campos % (línea previa tuvo %)comprobación fallada: entrad tuvo % líneas (esperando %)% de línea% de líneas% de campo% de camposerror entrante para operación %s: campos %,% tienen número diferente de ítemesvalor percentil no válido %cruce requiere exactamente 2 campos, encontrados %cruce soportes una operación, encontrada %datamash-1.9/po/es.po0000644000000000000000000010447014774035524010202 # Spanish translation for GNU datamash 1.1.1.19. # Copyright (C) 2018 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Francisco Javier Serrador , 2018. msgid "" msgstr "" "Project-Id-Version: datamash 1.1.1.19\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2018-03-29 09:24+0200\n" "Last-Translator: Francisco Javier Serrador \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 2.0.4\n" "X-Poedit-SourceCharset: UTF-8\n" #: lib/closeout.c:121 msgid "write error" msgstr "error de escritura" #: lib/error.c:208 msgid "Unknown system error" msgstr "Error de sistema desconocido" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: opción «%s%s» es ambigua\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: opción «%s%s» es ambigua; posibilidades:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: opción «%s%s» no reconocida\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: opción «%s%s» no permite un argumento\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: opción «%s%s» requiere un argumento\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opción no válida -- '%c'\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: la opción requiere un argumento -- «%c»\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "«" #: lib/quotearg.c:355 msgid "'" msgstr "»" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Empaquetado por %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Empaquetado por %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, fuzzy, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "\n" "License GPLv3+: GNU GPL version 3 or later .\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" "\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Escrito por %s y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Escrito por %s, %s, y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, %s,\n" "y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, y %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, y otros.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, fuzzy, c-format msgid "Report bugs to: %s\n" msgstr "" "\n" "Comunicar defectos a %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Comunicar %s defectos a: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "%s página inicial: <%s>\n" #: lib/version-etc.c:260 #, fuzzy, c-format msgid "General help using GNU software: <%s>\n" msgstr "Ayuda general utilizando software GNU: \n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "memoria agotada" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "argumento %s%s inválido '%s'" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "sufijo no válido en argumento %s%s «%s»" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s: argumento «%s» demasiado grande" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "nombre de columna %s no encontrado en fichero entrada" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Modo de empleo: %s [OPCIÓN] hasta [fld] [op fld] ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Realiza operaciones numéricas/cadena por entrada desde stdin." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "'op' es la operación para realizar. Si una primera operación es utilizada,\n" "debe ser listada primero, opcionalmente seguida por otras operaciones.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "'fld' es el campo de entrada a utilizar. 'fld' puede ser un número " "(1=primer campo),\n" "o un campo nombrado cuando utilice las opciones -H o --header-in.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Múltiples campos pueden ser listados con una coma (p.e. 1,6,8). Un\n" "rango de campos puede ser listado con un guión (p.e. 2-8). Utilice\n" "dos puntos para operaciones las cuales requieran un par de campos\n" "(p.e 'pcov 2:6').\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Operaciones primarias:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Operaciones lineales filtradas:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Operaciones por línea:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Operaciones Agrupadoras Numéricas:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Textual/Numérico Agrupando operaciones:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Operaciones de Agrupamiento Estadístico:\n" #: src/datamash.c:232 src/decorate.c:181 #, fuzzy msgid "Options:\n" msgstr "Opciones comunes:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Opciones de agrupamiento:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] grupo vía campos X,[Y,Z];\n" " equivalente a operación «groupby» primario\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in primera línea entrante es columna de cabeceras\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out escribe cabeceras de columnas como primera " "línea\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers igual como '--header-in --header-out'\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignora MAYÚSCULAS/minúsculas cuando compara " "texto;\n" " esto afecta agrupando, y operaciones de cadena " "textual\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort ordena la entrada antes de agruparlas; esto " "quita lo necesario\n" " para manualmente crear tubería de entrada a " "través de 'sort'\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Fichero de opciones operativas:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict permite líneas con número variable de campos\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X valores de relleno ausente con X (predeterminado " "%s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Opciones comunes:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X utiliza X en vez de TAB como campo delimitador\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm omite valores NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace utiliza espacios en blanco (uno o más espacios y/" "o tabulaciones)\n" " para delimitaciones de campo\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated finaliza líneas con 0 byte, no líneas nuevas\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Ejemplos:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Escribe el sumatorio y el sisgificado de valores desde columna1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Traspone entrada:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "Para información de utilización detallada y ejemplos, vea\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "El manual y más ejemplos están disponibles desde\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "entrada inválida: campo % requerido, línea % tiene solo " "% campos" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s en línea % campo %: '%s'" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "trasponer error entrada: línea % TIENE % campos " "(anteriores líneas tuvieron %);\n" "vea --help para desactivar modo estricto" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "error campo-revertido de entrada: línea % tiene % campos " "(líneas anteriores tenía %);\n" "vea --help para desactivar modo estricto" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "línea % (% campos):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "comprobación fallada: línea % tiene campos % (esperando " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "comprobación fallada: línea % tiene campos % (línea previa " "tuvo %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "comprobación fallada: entrad tuvo % líneas (esperando %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% de línea" msgstr[1] "% de líneas" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% de campo" msgstr[1] "% de campos" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "error asignación de memoria hash" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "fallado al ejecutar «sort»: popen fallado" #: src/datamash.c:1237 msgid "read error" msgstr "error de lectura" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "error de lectura (al cerrar)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "valor base64 no válido" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "el delimitador debe ser un simple carácter" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "faltan especificadores operativos" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H o --header-in debe ser empleada con columnas nombradas" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "valor numérico inválido" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "valor numérico inválido «%s»" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "operando %s inválido" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "operando %s inválido" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "operando %s inválido" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X utiliza X en vez de TAB como campo delimitador\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict permite líneas con número variable de campos\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated finaliza líneas con 0 byte, no líneas nuevas\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Ejemplos:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "valor numérico inválido «%s»" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "valor numérico inválido «%s»" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "valor numérico inválido «%s»" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "campo no válido para operación %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "operación %s no válida" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "valor numérico inválido «%s»" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "campo no válido «%s» para operación %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "fallado al ejecutar «sort»: popen fallado" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "fallado al ejecutar «sort»: popen fallado" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "fallado al ejecutar «sort»: popen fallado" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "error entrante para operación %s: campos %,% tienen " "número diferente de ítemes" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "valor numérico inválido" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "valor base64 no válido" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "campo no válido para operación %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "demasiados parámetros para operación %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "tamaño cubo ‘strbin’ no debe ser cero" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "valor percentil no válido %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "" #: src/op-parser.c:246 #, fuzzy, c-format msgid "invalid getnum type '%c'" msgstr "valor numérico inválido «%s»" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "campo ausente para operación %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "campo no válido para operación %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "campo no válido para operación %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "campo no válido «%s» para operación %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "el rango del campo para %s debe ser numérico" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "falta parámetro para operación %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "parámetro %s no válido para operación %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "operación %s requiere pares de campo" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "operación %s no puede utilizar par de campos" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "conflicto operativo %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "operación %s no válida" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "encontrado conflicto de operación: esperaba %s operaciones, pero encontrada " "%s operación %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "opción %s no válida para comprobación operativa" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "número experado tras opción dentro de operación «comprobar»" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "valor cero inválido para líneas/campos en operación «comprobar»" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "número de líneas/filas ya establecida en operación «comprobar»" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "número de campos/columnas ya establecida en operación «comprobar»" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "cruce requiere exactamente 2 campos, encontrados %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "cruce soportes una operación, encontrada %" #: src/op-parser.c:751 msgid "missing operation" msgstr "operación ausente" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "operando adicional %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "falta script (entre argumentos)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "valor numérico inválido «%s»" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "operando %s inválido" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "token desconocido %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help enseña esta ayuda y finaliza\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version extrae información de versión y finaliza\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Pruebe «%s --help» para más información.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "" #: src/text-options.c:117 #, fuzzy, c-format msgid "invalid rounding digits value %s" msgstr "valor numérico inválido «%s»" #, c-format #~ msgid "%s home page: \n" #~ msgstr "Página inicial %s: \n" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full escribe línea de entrada completa antes de " #~ "resultados op\n" #~ " (por omisión: solo escribe claves " #~ "agrupadas)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "ordena órdenes demasiado largas (por favor boletine este defecto)" datamash-1.9/po/fr.gmo0000644000000000000000000005157214774035524010352 Þ•0°Ó0 | „ ¼ DvZ?Ñ?/QF‡È€P?ÑEW~×”VšëD†?Ë (C_y ®Íê,3.S'‚(ªÓóƒõ…yÿ1 5?1XŠ&œÃªÖ¿] {…•ª7Àø3 AX!l%Ž.´ã&ô)0Z;q3­/á+'=#e‰©ÅÕ×3ö1*8\@•5Ö= &J q OŠ .Ú - !+7!*c!Ž!"Ÿ!"Â!å!$"1("'Z"‚"Ÿ"M¸"K#R#m##‚##¦#$Ê#ï#C$@L$$£$¾$Ñ$%æ$% %2%P% m%$Ž%4³%8è%!&=&W&h&‡&™&"¶&Ù& ÷&1'9J'5„'&º'!á' ((q$(n–(#)())$R)mw)jå)P* b*±n*S ,t,U-SZ-;®-Uê-£@. ä.J…/RÐ/•#0¹0·J1Õ2\Ø2U53‹3¢3¹3Î3ã3*þ3()4&R4"y41œ4'Î4?ö4/650f5%—5½5­Â5¥p67@7 Z7*d7P7à7:ö718ÉI8$9ù89'2: Z:d:w::T¬:;<;TV;N«;(ú;0#<2T<‡<4<Ò<)ë<=;+=1g=-™=)Ç=%ñ=!>9>W>q>>3†>Eº>C?AD?Q†?>Ø?N@7f@ž@mº@4(A3]A/‘A.ÁAðA8 B0EB$vB$›B:ÀB5ûB-1C_Cd~CbãC&FDmD.„D-³D-áDEG/EDwE¼E%×EýEF82F+kF—F´F+ÐF5üF>2GLqG¾GÛGöG# H-H%BH(hH)‘H%»H>áHG IDhI7­I-åIJ#%JœIJ™æJ3€K.´K(ãK— L”¤L9MKM[N K L)Fo TE<G6rD|,#…3w! S0fŽ}XdŠ2mRUkIlugq:"`Cv@(H_4J\*c†€%Z&teQ{A';Œi‚O‹Whj1.y pV^P]x>~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7^Mô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„ ¼ØìfM ÿÿÿÿ¡M ÿÿÿÿ¼M%ÿÿÿÿ!N!%ÿÿÿÿŠN ÿÿÿÿ NÿÿÿÿÐNÿÿÿÿOÿÿÿÿ6OÿÿÿÿNOÿÿÿÿhO& ÿÿÿÿ°OÿÿÿÿËO+ÿÿÿÿ÷O(ÿÿÿÿ Pÿÿÿÿ_P ÿÿÿÿ„P-.0ÿÿÿÿQ2.0ÿÿÿÿ§Q ÿÿÿÿ¾Q  ÿÿÿÿ÷Q #ÿÿÿÿ@R* ÿÿÿÿ€Rÿÿÿÿ‘Rÿÿÿÿ¢R3*ÿÿÿÿS ÿÿÿÿS( ÿÿÿÿMS# ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: GNU datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-09-02 20:39+0200 Last-Translator: Frédéric Marchal Language-Team: French Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n >= 2); --filler=X remplir les valeurs manquantes avec X (%s par défaut) --format=FORMAT afficher les valeurs numériques avec le style en virgule flottante de printf FORMAT. --header-in la première ligne d'entrée est un en-tête de colonnes --header-out afficher les en-têtes des colonnes en première ligne --narm passe outre les valeurs NA/NaN --no-strict accepter des lignes avec des nombres variables de champs --output-delimiter=X utiliser X comme délimiteur des champs de sortie (par défaut : utiliser le même délimiteur que -t/-W) -C, --skip-comments passer outre les lignes de commentaire (démarrant avec « # » ou « ; » et le blanc optionnel) -H, --headers identique à « --header-in --header-out » -R, --round=N arrondir la sortie numérique à N chiffres décimaux -W, --whitespace utiliser des espaces (un ou plusieurs espaces ou tabulations) comme délimiteurs de champs -g, --group=X[,Y,Z] groupe selon les champs X,[Y,Z]; équivalent à l'opération primaire « groupby » -i, --ignore-case ignorer les majuscules/minuscules lors de la comparaison de textes; ceci affecte le groupement et les opérations textuelles -s, --sort trier les entrées avant de les grouper, ceci supprime le besoin de pré-traiter manuellement les entrées avec « sort » -t, --field-separator=X utiliser X au lieu de la tabulation comme délimiteur de champs -z, --zero-terminated terminer les lignes avec l'octet 0, pas un saut de ligne %llu champ%llu champs%llu ligne%llu lignes%lu champ%lu champs%lu ligne%lu lignessite internet de %s: <%s> %s à la ligne %llu champ %llu: « %s »%s à la ligne %lu champ %lu: « %s »argument de %s%s « %s » trop grand%s: option invalide -- « %c » %s: l'option « %s%s » n'admet pas d'argument %s: l'option « %s%s » est ambiguë %s: l'option « %s%s » est ambiguë. Les possibilités sont:%s: l'option « %s%s » requiert un argument %s: l'option requiert un argument -- « %c » %s: option « %s%s » non reconnue  »« fld » est le champ d'entrée à utiliser. « fld » peut être un nombre (1=premier champ), ou un nom de champ lorsque les options -H ou --header-in sont utilisés. « op » est l'opération à réaliser. Si une opération primaire est utilisée, elle doit être listée en premier. Elle peut être suivie d'autres opérations. ©-H ou --header-in doit être utilisé avec des colonnes nomméesExemples:Options des opérations sur les fichiers: Pour des informations détaillées sur l'utilisation et des exemples, consultez Options générales: Aide générale sur l'utilisation des logiciels GNU: <%s> Options de groupement: Licence GPLv3+: GNU GPL version 3 ou ultérieure <%s>. Ceci est un logiciel libre: vous êtes libre de le modifier et de le redistribuer. Il n'y a PAS de GARANTIE dans les limites permises par la loi. Opérations de filtrage des lignes: Plusieurs champs peuvent être listés avec une virgule (par ex: 1,6,8). Une plage de champs peut être listée avec un tiret (par ex: 2-8). Utilisez un deux-points pour les opérations qui requièrent une paire de champs (par ex « pcov 2:6 »). Opérations de groupement numériques: Options: Empaqueté par %s Empaqueté par %s (%s) Opérations sur les lignes: Réalise des opérations numériques/textuelles sur des entrées provenant de stdin.Opérations primaires: Afficher la somme et la moyenne des valeurs de la colonne 1:Signalez les bugs de %s à: %s Signalez les bugs de traduction à traduc@traduc.org Signalez les bugs à: %s Signalez les bugs de traduction à traduc@traduc.org Opérations de groupement statistiques: Opérations de groupement Textuels/Numériques: Le manuel et plus d'exemples sont disponibles sur Transposer l'entrée:Essayez « %s --help » pour plus d'informations. Erreur système inconnueUsage: %s [OPTION] op [fld] [op col ...] Écrit par %s et %s. Écrit par %s, %s, %s, %s, %s, %s, %s, %s, %s et d'autres. Écrit par %s, %s, %s, %s, %s, %s, %s, %s et %s. Écrit par %s, %s, %s, %s, %s, %s, %s et %s. Écrit par %s, %s, %s, %s, %s, %s et %s. Écrit par %s, %s, %s, %s, %s et %s. Écrit par %s, %s, %s, %s et %s. Écrit par %s, %s, %s et %s. Écrit par %s, %s et %s. Écrit par %s. « barre oblique inverse à la fin de l'identificateuréchec de vérification: l'entrée avait %llu lignes (%llu attendues)échec de vérification: l'entrée avait %lu lignes (%lu attendues)échec de vérification: ligne %llu a %llu champs (%llu attendus)échec de vérification: ligne %llu a %llu champs (ligne précédente avait %llu)échec de vérification: ligne %lu a %lu champs (%lu attendus)échec de vérification: ligne %lu a %lu champs (ligne précédente avait %lu)nom de colonne %s pas trouvé dans le fichier d'entréeopération %s conflictuelleopération conflictuelle rencontrée: opérations « %s » attendues mais opération « %s » %s trouvéecrosstab requiert exactement 2 champs, %llu trouvéscrosstab requiert exactement 2 champs, %lu trouvéscrosstab supporte une opération, %llu trouvéecrosstab supporte une opération, %lu trouvéeopérande en trop après %séchec à l'exécution de « sort »: popen a échouéla plage de champs pour %s doit être numériquele format %s n'a pas de directive %%le format %s a trop de directives %%le format %s a la directive de type %%%c inconnue/invalidele format %s n'a pas de type valide après « %% »erreur d'allocation de la mémoire de hachagenom d'identificateur trop longerreur d'entrée pour l'opération %s: les champs %llu,%llu ont des nombres différents d'élémentserreur d'entrée pour l'opération %s: les champs %lu,%lu ont des nombres différents d'éléments%s%s a un argument « %s » invalidevaleur base64 invalidechamp « %s » invalide pour l'opération %spaire de champs invalide pour l'opération %splage de champs invalide pour l'opération %stype getnum invalide « %c »entrée invalide: champ %llu requis, ligne %llu a seulement %llu champsentrée invalide: champ %lu requis, ligne %lu a seulement %lu champsvaleur numérique invalidevaleur numérique invalide « %s »opérande « %s » invalideopération %s invalideoption %s invalide pour la vérification de l'opérationparamètre %s invalide pour l'opération %svaleur centile %llu invalidevaleur centile %lu invalidevaleur d'arrondi des décimales %s invalidesuffixe invalide dans %s%s avec l'argument « %s »valeur moyenne de rognage %Lg invalide (0 <= X <= 0.5 attendu)valeur zéro invalide pour les lignes/champs dans l'opération « check »ligne %llu (%llu champs): ligne %lu (%lu champs): mémoire épuiséechamp manquant pour l'opération %sopération manquantespécificateurs d'opération manquantparamètre manquant pour l'opération %svaleur d'arrondi des décimales manquantescript manquant (parmi les arguments)nombre attendu après l'option dans l'opération « check »nombre de champs/colonne déjà défini dans l'opération « check »nombre de lignes/rang déjà défini dans l'opération « check »l'opération %s ne peut pas utiliser de paire de champsl'opération %s requiert des paires de champserreur de lectureerreur de lecture (à la fermeture)erreur d'inversion de champs d'entrée: la ligne %llu a %llu champs (les lignes précédentes en avaient %llu); voyez --help pour désactiver le mode stricterreur d'inversion de champs d'entrée: la ligne %lu a %lu champs (les lignes précédentes en avaient %lu); voyez --help pour désactiver le mode strictla taille des godets strbin ne doit pas être zérole délimiteur doit être un caractère uniquetrop de paramètres pour l'opération %serreur de transposition d'entrée: la ligne %llu a %llu champs (les lignes précédentes en avaient %llu); voyez --help pour désactiver le mode stricterreur de transposition d'entrée: la ligne %lu a %lu champs (les lignes précédentes en avaient %lu); voyez --help pour désactiver le mode strictjeton %d inconnu erreur d'écriturePRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %entrée invalide: champ % requis, ligne % a seulement % champs%s à la ligne % champ %: « %s »erreur de transposition d'entrée: la ligne % a % champs (les lignes précédentes en avaient %); voyez --help pour désactiver le mode stricterreur d'inversion de champs d'entrée: la ligne % a % champs (les lignes précédentes en avaient %); voyez --help pour désactiver le mode strictligne % (% champs): échec de vérification: ligne % a % champs (% attendus)échec de vérification: ligne % a % champs (ligne précédente avait %)échec de vérification: l'entrée avait % lignes (% attendues)% ligne% lignes% champ% champserreur d'entrée pour l'opération %s: les champs %,% ont des nombres différents d'élémentsvaleur centile % invalidecrosstab requiert exactement 2 champs, % trouvéscrosstab supporte une opération, % trouvéedatamash-1.9/po/fr.po0000644000000000000000000011323214774035524010176 # Messages français pour datamash # Copyright (C) 2019 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Frédéric Marchal , 2019. # msgid "" msgstr "" "Project-Id-Version: GNU datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-09-02 20:39+0200\n" "Last-Translator: Frédéric Marchal \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n >= 2);\n" #: lib/closeout.c:121 msgid "write error" msgstr "erreur d'écriture" #: lib/error.c:208 msgid "Unknown system error" msgstr "Erreur système inconnue" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: l'option « %s%s » est ambiguë\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: l'option « %s%s » est ambiguë. Les possibilités sont:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: option « %s%s » non reconnue\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: l'option « %s%s » n'admet pas d'argument\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: l'option « %s%s » requiert un argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: option invalide -- « %c »\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: l'option requiert un argument -- « %c »\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "« " #: lib/quotearg.c:355 msgid "'" msgstr " »" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Empaqueté par %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Empaqueté par %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Licence GPLv3+: GNU GPL version 3 ou ultérieure <%s>.\n" "Ceci est un logiciel libre: vous êtes libre de le modifier et de le " "redistribuer.\n" "Il n'y a PAS de GARANTIE dans les limites permises par la loi.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Écrit par %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Écrit par %s et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Écrit par %s, %s et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Écrit par %s, %s, %s\n" "et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Écrit par %s, %s, %s,\n" "%s et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Écrit par %s, %s, %s,\n" "%s, %s et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Écrit par %s, %s, %s,\n" "%s, %s, %s et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Écrit par %s, %s, %s,\n" "%s, %s, %s, %s\n" "et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Écrit par %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s et %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Écrit par %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s et d'autres.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "" "Signalez les bugs à: %s\n" "Signalez les bugs de traduction à traduc@traduc.org\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "" "Signalez les bugs de %s à: %s\n" "Signalez les bugs de traduction à traduc@traduc.org\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "site internet de %s: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Aide générale sur l'utilisation des logiciels GNU: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "mémoire épuisée" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "%s%s a un argument « %s » invalide" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "suffixe invalide dans %s%s avec l'argument « %s »" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "argument de %s%s « %s » trop grand" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "nom de colonne %s pas trouvé dans le fichier d'entrée" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Usage: %s [OPTION] op [fld] [op col ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "" "Réalise des opérations numériques/textuelles sur des entrées provenant de " "stdin." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "« op » est l'opération à réaliser. Si une opération primaire est utilisée,\n" "elle doit être listée en premier. Elle peut être suivie d'autres " "opérations.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "« fld » est le champ d'entrée à utiliser. « fld » peut être un nombre " "(1=premier champ),\n" "ou un nom de champ lorsque les options -H ou --header-in sont utilisés.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Plusieurs champs peuvent être listés avec une virgule (par ex: 1,6,8). Une " "plage\n" "de champs peut être listée avec un tiret (par ex: 2-8). Utilisez un deux-" "points\n" "pour les opérations qui requièrent une paire de champs (par ex « pcov " "2:6 »).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Opérations primaires:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Opérations de filtrage des lignes:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Opérations sur les lignes:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Opérations de groupement numériques:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Opérations de groupement Textuels/Numériques:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Opérations de groupement statistiques:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Options:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Options de groupement:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments passer outre les lignes de commentaire " "(démarrant avec « # » ou « ; »\n" " et le blanc optionnel)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] groupe selon les champs X,[Y,Z];\n" " équivalent à l'opération primaire « groupby »\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in la première ligne d'entrée est un en-tête de " "colonnes\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out afficher les en-têtes des colonnes en première " "ligne\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers identique à « --header-in --header-out »\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignorer les majuscules/minuscules lors de la " "comparaison de textes;\n" " ceci affecte le groupement et les opérations " "textuelles\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort trier les entrées avant de les grouper, ceci " "supprime\n" " le besoin de pré-traiter manuellement les " "entrées avec\n" " « sort »\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X utiliser X comme délimiteur des champs de " "sortie\n" " (par défaut : utiliser le même délimiteur que -" "t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Options des opérations sur les fichiers:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict accepter des lignes avec des nombres variables " "de champs\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X remplir les valeurs manquantes avec X (%s par " "défaut)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Options générales:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X utiliser X au lieu de la tabulation comme " "délimiteur de champs\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMAT afficher les valeurs numériques avec le style\n" " en virgule flottante de printf FORMAT.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X utiliser X comme délimiteur des champs de " "sortie\n" " (par défaut : utiliser le même délimiteur que -" "t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm passe outre les valeurs NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N arrondir la sortie numérique à N chiffres " "décimaux\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace utiliser des espaces (un ou plusieurs espaces ou " "tabulations)\n" " comme délimiteurs de champs\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated terminer les lignes avec l'octet 0, pas un saut " "de ligne\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Exemples:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Afficher la somme et la moyenne des valeurs de la colonne 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Transposer l'entrée:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "" "Pour des informations détaillées sur l'utilisation et des exemples, " "consultez\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Le manuel et plus d'exemples sont disponibles sur\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "entrée invalide: champ % requis, ligne % a seulement " "% champs" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s à la ligne % champ %: « %s »" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "erreur de transposition d'entrée: la ligne % a % champs " "(les lignes précédentes en avaient %);\n" "voyez --help pour désactiver le mode strict" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "erreur d'inversion de champs d'entrée: la ligne % a % " "champs (les lignes précédentes en avaient %);\n" "voyez --help pour désactiver le mode strict" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "ligne % (% champs):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "échec de vérification: ligne % a % champs (% " "attendus)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "échec de vérification: ligne % a % champs (ligne " "précédente avait %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "échec de vérification: l'entrée avait % lignes (% " "attendues)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% ligne" msgstr[1] "% lignes" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% champ" msgstr[1] "% champs" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "erreur d'allocation de la mémoire de hachage" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "échec à l'exécution de « sort »: popen a échoué" #: src/datamash.c:1237 msgid "read error" msgstr "erreur de lecture" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "erreur de lecture (à la fermeture)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "valeur base64 invalide" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "le délimiteur doit être un caractère unique" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "spécificateurs d'opération manquant" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H ou --header-in doit être utilisé avec des colonnes nommées" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "paramètre de groupement vide invalide" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "valeur numérique invalide « %s »" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "opérande « %s » invalide" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "opérande « %s » invalide" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "opérande « %s » invalide" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X utiliser X au lieu de la tabulation comme " "délimiteur de champs\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict accepter des lignes avec des nombres variables " "de champs\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated terminer les lignes avec l'octet 0, pas un saut " "de ligne\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Exemples:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "valeur numérique invalide « %s »" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "valeur numérique invalide « %s »" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "valeur numérique invalide « %s »" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "paire de champs invalide pour l'opération %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "opération %s invalide" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "valeur numérique invalide « %s »" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "champ « %s » invalide pour l'opération %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "échec à l'exécution de « sort »: popen a échoué" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "échec à l'exécution de « sort »: popen a échoué" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "échec à l'exécution de « sort »: popen a échoué" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "le format %s n'a pas de directive %%" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "le format %s n'a pas de type valide après « %% »" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "le format %s a la directive de type %%%c inconnue/invalide" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "le format %s a trop de directives %%" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "erreur d'entrée pour l'opération %s: les champs %,% ont " "des nombres différents d'éléments" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "valeur numérique invalide" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "valeur base64 invalide" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "paire de champs invalide pour l'opération %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "trop de paramètres pour l'opération %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "la taille des godets strbin ne doit pas être zéro" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "valeur centile % invalide" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "valeur moyenne de rognage %Lg invalide (0 <= X <= 0.5 attendu)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "type getnum invalide « %c »" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "champ manquant pour l'opération %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "plage de champs invalide pour l'opération %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "paire de champs invalide pour l'opération %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "champ « %s » invalide pour l'opération %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "la plage de champs pour %s doit être numérique" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "paramètre manquant pour l'opération %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "paramètre %s invalide pour l'opération %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "l'opération %s requiert des paires de champs" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "l'opération %s ne peut pas utiliser de paire de champs" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "opération %s conflictuelle" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "opération %s invalide" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "opération conflictuelle rencontrée: opérations « %s » attendues mais " "opération « %s » %s trouvée" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "option %s invalide pour la vérification de l'opération" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "nombre attendu après l'option dans l'opération « check »" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "valeur zéro invalide pour les lignes/champs dans l'opération « check »" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "nombre de lignes/rang déjà défini dans l'opération « check »" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "nombre de champs/colonne déjà défini dans l'opération « check »" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "crosstab requiert exactement 2 champs, % trouvés" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "crosstab supporte une opération, % trouvée" #: src/op-parser.c:751 msgid "missing operation" msgstr "opération manquante" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "opérande en trop après %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "script manquant (parmi les arguments)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "valeur numérique invalide « %s »" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "barre oblique inverse à la fin de l'identificateur" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "nom d'identificateur trop long" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "opérande « %s » invalide" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "jeton %d inconnu\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help afficher cette aide et quitter\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version afficher les informations de version et quitter\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Essayez « %s --help » pour plus d'informations.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "valeur d'arrondi des décimales manquante" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "valeur d'arrondi des décimales %s invalide" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full afficher la ligne d'entrée entière avant les " #~ "résultats de op\n" #~ " (par défaut: afficher uniquement les clés " #~ "groupées)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "commande tri trop longue (veuillez signaler ce bogue)" #~ msgid "%s home page: \n" #~ msgstr "site internet de %s: \n" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: l'option « --%s » n'admet pas d'argument\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: option « --%s » non reconnue\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: l'option « -W %s » est ambiguë\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: l'option « -W %s » n'admet pas d'argument\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: l'option « -W %s » requiert un argument\n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "« op » est l'opération à réaliser;\n" #~ msgid "File operations:\n" #~ msgstr "Opérations sur les fichiers:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] grouper selon les champs X,[Y,Z]\n" #~ msgid "For grouping operations 'col' is the input field to use." #~ msgstr "" #~ "Pour les opérations de groupement, « col » est le champs d'entrée à " #~ "utiliser." #~ msgid " --debug print helpful debugging information\n" #~ msgstr "" #~ " --debug afficher des informations utiles au débogage\n" #~ msgid "invalid numeric input in line %zu field %zu: '%s'" #~ msgstr "entrée numérique invalide dans la ligne %zu champ %zu: « %s »" #~ msgid "invalid field value for grouping '%s'" #~ msgstr "valeur de champ « %s » incorrecte pour le groupement" #~ msgid "invalid field value (zero) for grouping" #~ msgstr "valeur de champ (zéro) incorrecte pour le groupement" datamash-1.9/po/insert-header.sin0000644000000000000000000000124014352357450012464 # Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } datamash-1.9/po/nb.gmo0000644000000000000000000004664614774035524010350 Þ•0°Ó0 | „ ¼ DvZ?Ñ?/QF‡È€P?ÑEW~×”VšëD†?Ë (C_y ®Íê,3.S'‚(ªÓóƒõ…yÿ1 5?1XŠ&œÃªÖ¿] {…•ª7Àø3 AX!l%Ž.´ã&ô)0Z;q3­/á+'=#e‰©ÅÕ×3ö1*8\@•5Ö= &J q OŠ .Ú - !+7!*c!Ž!"Ÿ!"Â!å!$"1("'Z"‚"Ÿ"M¸"K#R#m##‚##¦#$Ê#ï#C$@L$$£$¾$Ñ$%æ$% %2%P% m%$Ž%4³%8è%!&=&W&h&‡&™&"¶&Ù& ÷&1'9J'5„'&º'!á' ((q$(n–(#)())$R)mw)jå)P* b*Ýn*GL,y”,G-JV-4¡-EÖ-Š.ˆ§.C0/At/¶/~D0£Ã0¦g1E2GT2œ2²2É2Ý2ò2!3)3!I3!k3-3 »3,Ü3' 4)14[4u4x4’ 5œ53Ÿ5 Ó5Þ50ò5#6)46^6´p6%7ºC7!þ7 8 '858H8A`8¢8<¸8õ8T9#e9*‰9'´9Ü9)ñ9:&-:T:8j:1£:-Õ:);%-;"S;v;”;®;¾;(Á;;ê;9&<:`<D›<7à<A=/Z=Š=Q¤=1ö=0(>1Y>0‹>¼>,Î>&û>#"?'F?1n?, ?Í?å?Ný?LL@™@¶@$Ë@ ð@%A7AFPAC—AÛAòAB#B#8B%\B‚BžB ¹B&ÚB6C;8CtCŒC¢C±CÑCåC$D)D#ID7mD:¥D7àD#E~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7Hô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„ ¼ØìH ÿÿÿÿIH ÿÿÿÿdH%ÿÿÿÿÉH!%ÿÿÿÿ2I ÿÿÿÿHIÿÿÿÿxIÿÿÿÿ°IÿÿÿÿÞIÿÿÿÿöIÿÿÿÿJ& ÿÿÿÿXJÿÿÿÿsJ+ÿÿÿÿŸJ(ÿÿÿÿÈJ ÿÿÿÿK  ÿÿÿÿ"K !,ÿÿÿÿ•K%#,ÿÿÿÿLÿÿÿÿ!LÿÿÿÿSLÿÿÿÿL ÿÿÿÿÅLÿÿÿÿÖLÿÿÿÿæL$"ÿÿÿÿ/MÿÿÿÿHM.ÿÿÿÿwM.ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: GNU datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-09-01 23:01+0200 Last-Translator: Johnny A. Solbu Language-Team: Norwegian Bokmaal Language: nb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=(n != 1); X-Generator: Poedit 1.8.7.1 --filler=X fyll manglende verdier med X (standard %s) --format=FORMAT skriv ut numeriske verdier med printf-stil flytfunksions-FORMAT. --header-in første inndatalinje er kolonnetopptekster --header-out skriv ut kolonnetopptekster som første linje --narm hopp over NA/NaN-verdier --no-strict tillat linjer med varierende antall felt --output-delimiter=X bruk X i stedet som utdata-skilletegn (standard: bruk samme skilletegn som -t/-W) -C, --skip-comments hopp over kommentarlinjer (starter med «#» or «;» og valgfritt mellomrom) -H, --headers samme som «--header-in --header-out» -R, --round=N rund numerisk utgang til N desimaler -W, --whitespace bruk mellomrom (ett eller flere mellomrom og/eller tabulatorer) for feltskilletegn -g, --group=X[,Y,Z] grupper via felter X,[Y,Z]; tilsvarer primæroperasjon «groupby»' -i, --ignore-case ignorer store/smÃ¥ bokstaver nÃ¥r du sammenligner tekst; dette pÃ¥virker gruppering og strengoperasjoner -s, --sort sortere inndata før gruppering; Dette fjerner behovet for Ã¥ manuellt omdirigere inndata gjennom «sort» -t, --field-separator=X bruk X istedenfor TAB som feltskilletegn -z, --zero-terminated avslutt linjer med 0 byte, ikke linjeskift %llu-felt%llu-felter%llu-linje%llu-linjer%lu-felt%lu-felter%lu-linje%lu-linjer%s hjemmeside: <%s> %s i linje %llu felt %llu: «%s»%s i linje %lu felt %lu: «%s»%s%s-argument »%s« er for stort%s: ugyldig alternativ -- «%c» %s: valget «%s%s» tillater ikke argumenter %s: valget «%s%s» er tvetydig %s: valget «%s%s» er tvetydig: muligheter:%s: valget «%s%s» krever et argument %s: valget trenger et argument -- «%c» %s: ukjent valg «%s%s» »«fld» er inndatafeltet som skal brukes. «fld» kan være et tall (1=første felt), eller et kolonnenavn nÃ¥r du bruker -H eller --header-in. «op» er operasjonen du skal utføre. Hvis en primær operasjon brukes mÃ¥ den være oppført først, eventuelt etterfulgt av andre operasjoner. ©-H or --header-in mÃ¥ brukes med navngitte kolonnerEksempler:Filoperasjonsvalg: For detaljert bruksinformasjon og eksempler, se Generelle valg: Generell hjelp med GNU-programvare: <%s> grupperingsvalg: Lisens GPLv3+: GNU GPL versjon 3 eller senere <%s> Dette er Fri programvare: du stÃ¥r fritt til Ã¥ endre og redistribuere det. Det er INGEN GARANTI, i den grad loven tillater det. Linjefiltreringsoperasjoner: Flere felt kan oppføres med komma (f.eks. 1,6,8). En rekke felt kan vises pÃ¥ en bindestrek (f.eks. 2-8). Bruk kolonner for operasjoner som krever et par felter (f.eks. 'pcov 2: 6'). Numerisk grupperingsoperasjoner: Valg: Pakket av %s Pakket av %s (%s) Per-linje-operasjoner: Utfører numerisk/strengoperasjoner pÃ¥ inndata fra standard inn.Primær-operasjoner: Skriv ut summen og gjennomsnittet av verdiene fra kolonne 1:Rapporter %s-feil til: %s Rapporter feil til: %s Rapporter oversettelsesfeil til Statistisk grupperingsoperasjoner: Tekstlig/numerisk grupperingsoperasjoner: Manualen og flere eksempler finnes pÃ¥ Transponere inndata:Prøv «%s --help» for mer informasjon. Ukjent systemfeilBruk: %s [VALG] op [fld] [op fld ...] Skrevet av %s og %s. Skrevet av %s, %s, %s, %s, %s, %s, %s, %s, %s og andre. Skrevet av %s, %s, %s, %s, %s, %s, %s, %s og %s. Skrevet av %s, %s, %s, %s, %s, %s, %s og %s. Skrevet av %s, %s, %s, %s, %s, %s og %s. Skrevet av %s, %s, %s, %s, %s og %s. Skrevet av %s, %s, %s, %s and %s. Skrevet av %s, %s, %s og %s. Skrevet av %s, %s og %s. Skrevet av %s. «backslash pÃ¥ slutten av identifikatorensjekk mislyktes: inndata hadde %llu-linjer (forventer %llu)sjekk mislyktes: inndata hadde %lu-linjer (forventer %lu)sjekk mislyktes: linje %llu har %llu-felt (forventer %llu)sjekk mislyktes: linje %llu har %llu felt (forrige linje hadde %llu)sjekk mislyktes: linje %lu har %lu-felt (forventer %lu)sjekk mislyktes: linje %lu har %lu felt (forrige linje hadde %lu)kolonnenavnet %s ble ikke funnet i inndatafilenmotstridende operasjon %smotstridende operasjon funnet: forventer %s operasjoner, men fant %s operasjon %skrysstabulering krever nøyaktig 2 felt, fant%llukrysstabulering krever nøyaktig 2 felt, fant%lukrysstabulering støtter én operasjon, fant %llukrysstabulering støtter én operasjon, fant %luekstra operand %smislyktes i Ã¥ kjøre «sort»: popen feiletfeltomrÃ¥det for %s mÃ¥ være numeriskformatet %s har ingen %% directiverformatet %s har for mange %%-direktiverformatet %s har ukjent/ugyldig type %%%c-direktivformatet %s mangler gyldig type etter «%%»hashminnetildelingsfeilIdentifikator for langtinndatafeil for operasjon %s: felt %llu, %llu har forskjellig antall elementerinndatafeil for operasjon %s: felt %lu, %lu har forskjellig antall elementerugyldig %s%s-argument «%s»ugyldig base64-verdiugyldig felt «%s» for operasjon %sugyldig feltpar for operasjon %sugyldig feltomrÃ¥de for operasjon %sUgyldig getnum-type %c»ugyldig inngang: feltet %llu etterspurt, linje %llu har bare %llu feltugyldig inngang: feltet %lu etterspurt, linje %lu har bare %lu feltugyldig numerisk verdiugyldig numerisk verdi «%s»ugyldig operand %sugyldig operasjon %sugyldig valg %s for operasjonssjekkugyldig parameter %s for operasjon %sugyldig persentilverdi %lluugyldig persentilverdi %luugyldig avrundingssifferverdi %sugyldig suffiks i %s%s-argument «%s»ugyldig trim-middelverdi %Lg (forventet 0 <= X <= 0.5)ugyldig verdig null for linjer/felter i operasjon «check»linje %llu (%llu felt):linje %lu (%lu felt):minne oppbruktmanglende felt for operasjon %smanglende operasjonmanglende operasjonsangivelsermanglende parameter for operasjon %smanglende avrundingssifferverdimanglende script (blant argumenter)antall forventet etter alternativ i operasjon «check»antall felter/kolonner allerede satt i operasjon «check»antall linjer/rader allerede satt i operasjon «check»operasjon %s kan ikke bruke parfeltoperasjon %s behøver feltparlesefeillesefeil (ved lukking)inndatafeil for omvendt-felt: linje %llu har %llu felter (foregÃ¥ende linjer hadde %llu); se --help for Ã¥ deaktivere streng modusinndatafeil for omvendt-felt: linje %lu har %lu felter (foregÃ¥ende linjer hadde %lu); se --help for Ã¥ deaktivere streng modusstrbin bøttestørrelse mÃ¥ ikke være nullskilletegnet mÃ¥ være et enkelt tegnfor mange parametere for operasjon %stransponere inndatafeil: linje %llu har %llu felt (foregÃ¥ende linjer hadde %llu); se --help for Ã¥ deaktivere streng modustransponere inndatafeil: linje %lu har %lu felt (foregÃ¥ende linjer hadde %lu); se --help for Ã¥ deaktivere streng modusukjent token %d skrivefeilPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %ugyldig inngang: feltet % etterspurt, linje % har bare % felt%s i linje % felt %: «%s»transponere inndatafeil: linje % har % felt (foregÃ¥ende linjer hadde %); se --help for Ã¥ deaktivere streng modusinndatafeil for omvendt-felt: linje % har % felter (foregÃ¥ende linjer hadde %); se --help for Ã¥ deaktivere streng moduslinje % (% felt):sjekk mislyktes: linje % har %-felt (forventer %)sjekk mislyktes: linje % har % felt (forrige linje hadde %)sjekk mislyktes: inndata hadde %-linjer (forventer %)%-linje%-linjer%-felt%-felterinndatafeil for operasjon %s: felt %, % har forskjellig antall elementerugyldig persentilverdi %krysstabulering krever nøyaktig 2 felt, fant%krysstabulering støtter én operasjon, fant %datamash-1.9/po/nb.po0000644000000000000000000010650714774035524010175 # Norwegian Bokmal translations for GNU datamash package. # Copyright (C) 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Johnny A. Solbu , 2015 - 2019 # msgid "" msgstr "" "Project-Id-Version: GNU datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-09-01 23:01+0200\n" "Last-Translator: Johnny A. Solbu \n" "Language-Team: Norwegian Bokmaal \n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 1.8.7.1\n" #: lib/closeout.c:121 msgid "write error" msgstr "skrivefeil" #: lib/error.c:208 msgid "Unknown system error" msgstr "Ukjent systemfeil" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: valget «%s%s» er tvetydig\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: valget «%s%s» er tvetydig: muligheter:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: ukjent valg «%s%s»\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: valget «%s%s» tillater ikke argumenter\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: valget «%s%s» krever et argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ugyldig alternativ -- «%c»\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: valget trenger et argument -- «%c»\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "«" #: lib/quotearg.c:355 msgid "'" msgstr "»" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Pakket av %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Pakket av %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Lisens GPLv3+: GNU GPL versjon 3 eller senere <%s>\n" "Dette er Fri programvare: du stÃ¥r fritt til Ã¥ endre og redistribuere det.\n" "Det er INGEN GARANTI, i den grad loven tillater det.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Skrevet av %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Skrevet av %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Skrevet av %s, %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Skrevet av %s, %s, %s\n" "og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Skrevet av %s, %s, %s,\n" "%s and %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Skrevet av %s, %s, %s,\n" "%s, %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Skrevet av %s, %s, %s,\n" "%s, %s, %s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Skrevet av %s, %s, %s,\n" "%s, %s, %s, %s\n" "og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Skrevet av %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s og %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Skrevet av %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s og andre.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "" "Rapporter feil til: %s\n" "Rapporter oversettelsesfeil til \n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Rapporter %s-feil til: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "%s hjemmeside: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Generell hjelp med GNU-programvare: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "minne oppbrukt" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "ugyldig %s%s-argument «%s»" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "ugyldig suffiks i %s%s-argument «%s»" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s-argument »%s« er for stort" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "kolonnenavnet %s ble ikke funnet i inndatafilen" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Bruk: %s [VALG] op [fld] [op fld ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Utfører numerisk/strengoperasjoner pÃ¥ inndata fra standard inn." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "«op» er operasjonen du skal utføre. Hvis en primær operasjon brukes\n" "mÃ¥ den være oppført først, eventuelt etterfulgt av andre operasjoner.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "«fld» er inndatafeltet som skal brukes. «fld» kan være et tall (1=første " "felt),\n" "eller et kolonnenavn nÃ¥r du bruker -H eller --header-in.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Flere felt kan oppføres med komma (f.eks. 1,6,8). En rekke felt \n" "kan vises pÃ¥ en bindestrek (f.eks. 2-8). Bruk kolonner for \n" "operasjoner som krever et par felter (f.eks. 'pcov 2: 6').\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Primær-operasjoner:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Linjefiltreringsoperasjoner:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Per-linje-operasjoner:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Numerisk grupperingsoperasjoner:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Tekstlig/numerisk grupperingsoperasjoner:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Statistisk grupperingsoperasjoner:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Valg:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "grupperingsvalg:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments hopp over kommentarlinjer (starter med «#» or " "«;»\n" " og valgfritt mellomrom)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] grupper via felter X,[Y,Z];\n" " tilsvarer primæroperasjon «groupby»'\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in første inndatalinje er kolonnetopptekster\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out skriv ut kolonnetopptekster som første linje\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers samme som «--header-in --header-out»\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignorer store/smÃ¥ bokstaver nÃ¥r du sammenligner " "tekst;\n" " dette pÃ¥virker gruppering og " "strengoperasjoner\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort sortere inndata før gruppering; Dette fjerner \n" " behovet for Ã¥ manuellt omdirigere inndata " "gjennom «sort»\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X bruk X i stedet som utdata-skilletegn\n" " (standard: bruk samme skilletegn som -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Filoperasjonsvalg:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr " --no-strict tillat linjer med varierende antall felt\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X fyll manglende verdier med X (standard %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Generelle valg:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr " -t, --field-separator=X bruk X istedenfor TAB som feltskilletegn\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMAT skriv ut numeriske verdier med printf-stil\n" " flytfunksions-FORMAT.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X bruk X i stedet som utdata-skilletegn\n" " (standard: bruk samme skilletegn som -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm hopp over NA/NaN-verdier\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr " -R, --round=N rund numerisk utgang til N desimaler\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace bruk mellomrom (ett eller flere mellomrom og/" "eller tabulatorer)\n" " for feltskilletegn\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated avslutt linjer med 0 byte, ikke linjeskift\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Eksempler:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Skriv ut summen og gjennomsnittet av verdiene fra kolonne 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Transponere inndata:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "For detaljert bruksinformasjon og eksempler, se\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Manualen og flere eksempler finnes pÃ¥\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "ugyldig inngang: feltet % etterspurt, linje % har bare " "% felt" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s i linje % felt %: «%s»" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "transponere inndatafeil: linje % har % felt (foregÃ¥ende " "linjer hadde %);\n" "se --help for Ã¥ deaktivere streng modus" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "inndatafeil for omvendt-felt: linje % har % felter " "(foregÃ¥ende linjer hadde %);\n" "se --help for Ã¥ deaktivere streng modus" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "linje % (% felt):" #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "sjekk mislyktes: linje % har %-felt (forventer %)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "sjekk mislyktes: linje % har % felt (forrige linje hadde " "%)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "sjekk mislyktes: inndata hadde %-linjer (forventer %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "%-linje" msgstr[1] "%-linjer" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "%-felt" msgstr[1] "%-felter" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "hashminnetildelingsfeil" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "mislyktes i Ã¥ kjøre «sort»: popen feilet" #: src/datamash.c:1237 msgid "read error" msgstr "lesefeil" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "lesefeil (ved lukking)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "ugyldig base64-verdi" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "skilletegnet mÃ¥ være et enkelt tegn" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "manglende operasjonsangivelser" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H or --header-in mÃ¥ brukes med navngitte kolonner" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "ugyldig tom grupperingsparameter" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "ugyldig numerisk verdi «%s»" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "ugyldig operand %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "ugyldig operand %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "ugyldig operand %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr " -t, --field-separator=X bruk X istedenfor TAB som feltskilletegn\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr " --no-strict tillat linjer med varierende antall felt\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated avslutt linjer med 0 byte, ikke linjeskift\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Eksempler:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "ugyldig numerisk verdi «%s»" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "ugyldig numerisk verdi «%s»" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "ugyldig numerisk verdi «%s»" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "ugyldig feltpar for operasjon %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "ugyldig operasjon %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "ugyldig numerisk verdi «%s»" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "ugyldig felt «%s» for operasjon %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "mislyktes i Ã¥ kjøre «sort»: popen feilet" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "mislyktes i Ã¥ kjøre «sort»: popen feilet" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "mislyktes i Ã¥ kjøre «sort»: popen feilet" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "formatet %s har ingen %% directiver" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "formatet %s mangler gyldig type etter «%%»" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "formatet %s har ukjent/ugyldig type %%%c-direktiv" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "formatet %s har for mange %%-direktiver" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "inndatafeil for operasjon %s: felt %, % har forskjellig " "antall elementer" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "ugyldig numerisk verdi" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "ugyldig base64-verdi" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "ugyldig feltpar for operasjon %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "for mange parametere for operasjon %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "strbin bøttestørrelse mÃ¥ ikke være null" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "ugyldig persentilverdi %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "ugyldig trim-middelverdi %Lg (forventet 0 <= X <= 0.5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "Ugyldig getnum-type %c»" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "manglende felt for operasjon %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "ugyldig feltomrÃ¥de for operasjon %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "ugyldig feltpar for operasjon %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "ugyldig felt «%s» for operasjon %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "feltomrÃ¥det for %s mÃ¥ være numerisk" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "manglende parameter for operasjon %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "ugyldig parameter %s for operasjon %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "operasjon %s behøver feltpar" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "operasjon %s kan ikke bruke parfelt" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "motstridende operasjon %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "ugyldig operasjon %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "motstridende operasjon funnet: forventer %s operasjoner, men fant %s " "operasjon %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "ugyldig valg %s for operasjonssjekk" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "antall forventet etter alternativ i operasjon «check»" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "ugyldig verdig null for linjer/felter i operasjon «check»" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "antall linjer/rader allerede satt i operasjon «check»" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "antall felter/kolonner allerede satt i operasjon «check»" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "krysstabulering krever nøyaktig 2 felt, fant%" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "krysstabulering støtter én operasjon, fant %" #: src/op-parser.c:751 msgid "missing operation" msgstr "manglende operasjon" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "ekstra operand %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "manglende script (blant argumenter)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "ugyldig numerisk verdi «%s»" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "backslash pÃ¥ slutten av identifikatoren" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "Identifikator for langt" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "ugyldig operand %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "ukjent token %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " -h, --help vis denne hjelpen og avslutt\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " -v, --version skriv ut versjonsinformasjon og avslutt\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Prøv «%s --help» for mer informasjon.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "manglende avrundingssifferverdi" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "ugyldig avrundingssifferverdi %s" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full skriv ut hele linjeinngang før op resultater\n" #~ " (standard: skriv ut bare de grupperte " #~ "nøklene)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "sort-kommandoen for lang (vennligst rapporter denne feilen)" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: valg «--%s» tillater ikke argument\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: ukjent valg «--%s»\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: valget '-W %s' er tvetydig\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: valg «-W %s» tillater ikke et argument\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: valg «-W %s» trenger et argument\n" #~ msgid "%s home page: \n" #~ msgstr "%s hjemmeside: \n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "«op» er operasjonen som skal utføres;\n" #~ msgid "File operations:\n" #~ msgstr "Filoperasjoner:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] gruppér via felt X,[Y,Z]\n" datamash-1.9/po/nl.gmo0000644000000000000000000005036114774035524010347 Þ•0°Ó0 | „ ¼ DvZ?Ñ?/QF‡È€P?ÑEW~×”VšëD†?Ë (C_y ®Íê,3.S'‚(ªÓóƒõ…yÿ1 5?1XŠ&œÃªÖ¿] {…•ª7Àø3 AX!l%Ž.´ã&ô)0Z;q3­/á+'=#e‰©ÅÕ×3ö1*8\@•5Ö= &J q OŠ .Ú - !+7!*c!Ž!"Ÿ!"Â!å!$"1("'Z"‚"Ÿ"M¸"K#R#m##‚##¦#$Ê#ï#C$@L$$£$¾$Ñ$%æ$% %2%P% m%$Ž%4³%8è%!&=&W&h&‡&™&"¶&Ù& ÷&1'9J'5„'&º'!á' ((q$(n–(#)())$R)mw)jå)P* b*´n*Q#,|u,@ò,C3-Fw-M¾-ƒ .R.Eã.O)/ˆy/0Þ0šo1L 2OW2§2½2Ô2è2ý2!373(W3€3)3#Ç37ë3&#4'J4r4Ž4•’4‹(5´5E·5 ý5 6;%6a61s6¥6¹6Â7ØÛ7"´8×8à8$9%9@=9~9=•9qÓ9lE:%²:/Ø:7;@;&X;;<•;Ò;?í;6-<2d<.—<*Æ<&ñ<"=;=Z=o=!s=G•=EÝ=K#>Mo>H½>J?+Q?}?h™?2@15@5g@4@Ò@5é@%A#EA&iA5A(ÆA*ïABS5BQ‰B%ÛBC$C%>C%dCŠCT§CQüCNDiD‰DžD)µD(ßD!E *E$KE6pEH§E>ðE/FLF gF!ˆFªF"ÀF'ãF# G%/G.UG9„G6¾G%õGH:HIH`H~âH1aI-“I$ÁI€æI}gJåJ øJ[N K L)Fo TE<G6rD|,#…3w! S0fŽ}XdŠ2mRUkIlugq:"`Cv@(H_4J\*c†€%Z&teQ{A';Œi‚O‹Whj1.y pV^P]x>~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7Kô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„ ¼Øì K ÿÿÿÿGK ÿÿÿÿbK%ÿÿÿÿÇK!%ÿÿÿÿ0L ÿÿÿÿFLÿÿÿÿvLÿÿÿÿ®LÿÿÿÿÜLÿÿÿÿôLÿÿÿÿM& ÿÿÿÿVMÿÿÿÿqM+ÿÿÿÿM(ÿÿÿÿÆMÿÿÿÿN ÿÿÿÿ.N #-ÿÿÿÿ¦N!#-ÿÿÿÿO ÿÿÿÿ6O ÿÿÿÿyOÿÿÿÿ¾O# ÿÿÿÿPÿÿÿÿPÿÿÿÿ!P&&ÿÿÿÿoPÿÿÿÿŽP& ÿÿÿÿ¾P) ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash-1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-09-16 16:28+0200 Last-Translator: Benno Schulenberg Language-Team: Dutch Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=2; plural=n != 1; --filler=WAARDE ontbrekende waarden opvullen met deze (standaard %s) --format=OPMAAK numerieke waarden weergeven met deze 'printf' drijvendekommastijl --header-in eerste invoerregel zijn kolomkoppen --header-out kolomkoppen weergeven als eerste regel --narm de waarden 'NA', 'N/A' en 'NaN' overslaan --no-strict regels met een variërend aantal velden toestaan --output-delimiter=X dit teken als veldscheider gebruiken (standaard dezelfde als voor -t/-W) -C, --skip-comments commentaarregels (beginnend met '#' of ';') overslaan -H, --headers hetzelfde als '--header-in --header-out' -R, --round=AANTAL numerieke uitvoer op dit aantal decimalen afronden -W, --whitespace witruimte gebruiken om velden te scheiden (één of meer spaties en/of tabs) -g, --group=X[,Y,Z] groeperen via de velden X,[Y,Z]; dit is hetzelfde als primaire bewerking 'groupby' -i, --ignore-case verschil tussen hoofd- en kleine letters negeren bij tekstvergelijkingen; dit is van invloed op groeperingen en tekenreeksbewerkingen -s, --sort de invoer sorteren alvorens te groeperen; dit maakt het handmatig door 'sort' sluizen overbodig -t, --field-separator=X dit teken als veldscheider gebruiken i.p.v. tab -z, --zero-terminated regels afsluiten met 0-byte, niet met nieuweregel %llu veld%llu velden%llu regel%llu regels%lu veld%lu velden%lu regel%lu regelsWebpagina van %s: <%s> %s in regel %llu, veld %llu: '%s'%s in regel %lu, veld %lu: '%s'argument '%3$s' van %1$s%2$s is te groot%s: ongeldige optie -- '%c' %s: optie '%s%s' staat geen argument toe %s: optie '%s%s' is niet eenduidig %s: optie '%s%s' is niet eenduidig; mogelijkheden zijn:%s: optie '%s%s' vereist een argument %s: optie vereist een argument -- '%c' %s: onbekende optie '%s%s' ’VELD is het te gebruiken invoerveld. VELD kan een getal zijn (1 = eerste veld), of een veldnaam wanneer optie '-H' of '--header-in' gebruikt wordt. OPERATIE is de te verrichten bewerking. Een primaire bewerking moet als eerste gegeven worden, eventueel gevolgd door andere bewerkingen. ©optie '-H' of '--header-in' moet samen met kolomnamen gebruikt wordenVoorbeelden:Bestandsbewerkingsopties: Voor gedetailleerde gebruiksinformatie en voorbeelden, zie Algemene opties: Algemene hulp bij gebruik van GNU-software: <%s> Groeperingsopties: Dit is vrije software: u mag het vrijelijk wijzigen en verder verspreiden. De precieze licentie is GPL-3+: GNU General Public License versie 3 of later. Zie <%s> voor de volledige (Engelse) tekst. Deze software kent GEEN GARANTIE, voor zover de wet dit toestaat. Regelfilterbewerkingen: Meerdere velden kunnen gegeven worden gescheiden door een komma (bijv. 1,6,8); een reeks velden met een streepje (bijv. 2-8). Gebruik een dubbelepunt voor bewerkingen die een veldenpaar vereisen (bijv. 'pcov 2:6'). Numerieke groeperingsbewerkingen: Opties: In pakketvorm gebracht door %s In pakketvorm gebracht door %s (%s) Per-regel-bewerkingen: Voert numerieke of tekenreeksbewerkingen uit op standaardinvoer.Primaire bewerkingen: De som en het gemiddelde van de waarden in kolom 1 weergeven:Rapporteer gebreken in het programma '%s' aan <%s>; meld fouten in de vertaling aan . Rapporteer gebreken in het programma aan <%s>; meld fouten in de vertaling aan . Statistische groeperingsbewerkingen: Tekstuele en numerieke groeperingsbewerkingen: De handleiding en meer voorbeelden zijn beschikbaar op De invoer transponeren:Typ '%s --help' voor meer informatie. Onbekende systeemfoutGebruik: %s [OPTIE...] OPERATIE [VELD] [OPERATIE VELD ...] Geschreven door %s en %s. Geschreven door %s, %s, %s, %s, %s, %s, %s, %s, %s en anderen. Geschreven door %s, %s, %s, %s, %s, %s, %s, %s en %s. Geschreven door %s, %s, %s, %s, %s, %s, %s en %s. Geschreven door %s, %s, %s, %s, %s, %s en %s. Geschreven door %s, %s, %s, %s, %s en %s. Geschreven door %s, %s, %s, %s en %s. Geschreven door %s, %s, %s en %s. Geschreven door %s, %s en %s. Geschreven door %s. ‘backslash aan eind van identifiercontrole is mislukt: invoer heeft %llu velden (er werden %llu verwacht)controle is mislukt: invoer heeft %lu velden (er werden %lu verwacht)controle is mislukt: regel %llu heeft %llu velden (er werden %llu verwacht)controle is mislukt: regel %llu heeft %llu velden (eerdere regel had er %llu)controle is mislukt: regel %lu heeft %lu velden (er werden %lu verwacht)controle is mislukt: regel %lu heeft %lu velden (eerdere regel had er %lu)kolomnaam %s niet gevonden in invoerbestandconflicterende bewerking %sconflicterende bewerking gevonden: er werden %s-bewerkingen verwacht, maar %s-bewerking %s werd gevonden'crosstab' vereist precies 2 velden; %llu gevonden'crosstab' vereist precies 2 velden; %lu gevonden'crosstab' ondersteunt één bewerking; %llu gevonden'crosstab' ondersteunt één bewerking; %lu gevondenovertollige operand %shet aanroepen van 'sort' is mislukt: 'popen()' faaldeveldbereik voor %s moet numeriek zijnopmaak %s bevat geen '%%' directiefopmaak %s heeft te veel %% directievenopmaak %s heeft onbekend/ongeldig type %%%c-directiefopmaak %s heeft geen geldig type na '%%'onvoldoende geheugen beschikbaar voor hashidentifier-naam is te langinvoerfout voor bewerking %s: velden %llu,%llu hebben een verschillend aantal itemsinvoerfout voor bewerking %s: velden %lu,%lu hebben een verschillend aantal itemsongeldig argument '%3$s' van %1$s%2$songeldige base64-waardeongeldig veld '%s' voor bewerking %songeldig veldenpaar voor bewerking %songeldig veldbereik voor bewerking %songeldige 'getnum'-type '%c'ongeldige invoer: veld %llu werd gevraagd, maar regel %llu heeft slechts %llu veldenongeldige invoer: veld %lu werd gevraagd, maar regel %lu heeft slechts %lu veldenongeldige numerieke waardeongeldige numerieke waarde '%s'ongeldige operand %songeldige bewerking %songeldige optie %s voor bewerking 'check'ongeldige parameter %s voor bewerking %songeldige procentuele waarde %lluongeldige procentuele waarde %luongeldig aantal afrondingscijfers %songeldig achtervoegsel in argument '%3$s' van %1$s%2$songeldige gemiddelde afsnijwaarde %Lg (verwacht werd tussen de 0 en 0,5)ongeldige waarde nul voor regels/velden voor bewerking 'check'regel %llu (%llu velden): regel %lu (%lu velden): onvoldoende geheugen beschikbaarontbrekend veld voor bewerking %sontbrekende bewerkingontbrekende bewerkingsaanduidingenontbrekende parameter voor bewerking %sontbrekend aantal afrondingscijfersontbrekend script (tussen argumenten)getal verwacht na optie voor bewerking 'check'aantal velden/kolommen is al gezet voor bewerking 'check'aantal regels/rijen is al gezet voor bewerking 'check'bewerking %s staat geen veldparen toebewerking %s vereist veldparenfout bij lezenleesfout (bij sluiten)veldomkerings-invoerfout: regel %llu heeft %llu velden (eerdere regels hadden er %llu); zie --help om strikte modus uit schakelenveldomkerings-invoerfout: regel %lu heeft %lu velden (eerdere regels hadden er %lu); zie --help om strikte modus uit schakelende bucket-grootte voor 'strbin' mag niet nul zijnhet scheidingsteken moet een enkel teken zijnte veel parameters voor bewerking %stranspositie-invoerfout: regel %llu heeft %llu velden (eerdere regels hadden er %llu); zie --help om strikte modus uit schakelentranspositie-invoerfout: regel %lu heeft %lu velden (eerdere regels hadden er %lu); zie --help om strikte modus uit schakelenonbekend token %d schrijffoutPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %ongeldige invoer: veld % werd gevraagd, maar regel % heeft slechts % velden%s in regel %, veld %: '%s'transpositie-invoerfout: regel % heeft % velden (eerdere regels hadden er %); zie --help om strikte modus uit schakelenveldomkerings-invoerfout: regel % heeft % velden (eerdere regels hadden er %); zie --help om strikte modus uit schakelenregel % (% velden): controle is mislukt: regel % heeft % velden (er werden % verwacht)controle is mislukt: regel % heeft % velden (eerdere regel had er %)controle is mislukt: invoer heeft % velden (er werden % verwacht)% regel% regels% veld% veldeninvoerfout voor bewerking %s: velden %,% hebben een verschillend aantal itemsongeldige procentuele waarde %'crosstab' vereist precies 2 velden; % gevonden'crosstab' ondersteunt één bewerking; % gevondendatamash-1.9/po/nl.po0000644000000000000000000011165014774035524010202 # Dutch translations for GNU datamash. # Copyright (C) 2019 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # # “Dat weet je soms toch niet.†# # Benno Schulenberg , 2014, 2015, 2016, 2019. msgid "" msgstr "" "Project-Id-Version: datamash-1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-09-16 16:28+0200\n" "Last-Translator: Benno Schulenberg \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #: lib/closeout.c:121 msgid "write error" msgstr "schrijffout" #: lib/error.c:208 msgid "Unknown system error" msgstr "Onbekende systeemfout" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: optie '%s%s' is niet eenduidig\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: optie '%s%s' is niet eenduidig; mogelijkheden zijn:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: onbekende optie '%s%s'\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: optie '%s%s' staat geen argument toe\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: optie '%s%s' vereist een argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ongeldige optie -- '%c'\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: optie vereist een argument -- '%c'\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "‘" #: lib/quotearg.c:355 msgid "'" msgstr "’" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "In pakketvorm gebracht door %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "In pakketvorm gebracht door %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Dit is vrije software: u mag het vrijelijk wijzigen en verder verspreiden.\n" "De precieze licentie is GPL-3+: GNU General Public License versie 3 of " "later.\n" "Zie <%s> voor de volledige (Engelse) tekst.\n" "Deze software kent GEEN GARANTIE, voor zover de wet dit toestaat.\n" "\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Geschreven door %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Geschreven door %s en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Geschreven door %s, %s en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Geschreven door %s, %s, %s\n" "en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Geschreven door %s, %s, %s,\n" "%s en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Geschreven door %s, %s, %s,\n" "%s, %s en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Geschreven door %s, %s, %s,\n" "%s, %s, %s en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Geschreven door %s, %s, %s,\n" "%s, %s, %s, %s\n" "en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Geschreven door %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s en %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Geschreven door %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s en anderen.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "" "Rapporteer gebreken in het programma aan <%s>;\n" "meld fouten in de vertaling aan .\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "" "Rapporteer gebreken in het programma '%s' aan <%s>;\n" "meld fouten in de vertaling aan .\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Webpagina van %s: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Algemene hulp bij gebruik van GNU-software: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "onvoldoende geheugen beschikbaar" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "ongeldig argument '%3$s' van %1$s%2$s" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "ongeldig achtervoegsel in argument '%3$s' van %1$s%2$s" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "argument '%3$s' van %1$s%2$s is te groot" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "kolomnaam %s niet gevonden in invoerbestand" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Gebruik: %s [OPTIE...] OPERATIE [VELD] [OPERATIE VELD ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Voert numerieke of tekenreeksbewerkingen uit op standaardinvoer." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "OPERATIE is de te verrichten bewerking. Een primaire bewerking moet\n" "als eerste gegeven worden, eventueel gevolgd door andere bewerkingen.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "VELD is het te gebruiken invoerveld. VELD kan een getal zijn (1 = eerste " "veld),\n" "of een veldnaam wanneer optie '-H' of '--header-in' gebruikt wordt.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Meerdere velden kunnen gegeven worden gescheiden door een komma (bijv. " "1,6,8);\n" "een reeks velden met een streepje (bijv. 2-8). Gebruik een dubbelepunt " "voor\n" "bewerkingen die een veldenpaar vereisen (bijv. 'pcov 2:6').\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Primaire bewerkingen:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Regelfilterbewerkingen:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Per-regel-bewerkingen:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Numerieke groeperingsbewerkingen:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Tekstuele en numerieke groeperingsbewerkingen:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Statistische groeperingsbewerkingen:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Opties:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Groeperingsopties:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments commentaarregels (beginnend met '#' of ';') " "overslaan\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] groeperen via de velden X,[Y,Z]; dit is\n" " hetzelfde als primaire bewerking 'groupby'\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr " --header-in eerste invoerregel zijn kolomkoppen\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr " --header-out kolomkoppen weergeven als eerste regel\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers hetzelfde als '--header-in --header-out'\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case verschil tussen hoofd- en kleine letters " "negeren\n" " bij tekstvergelijkingen; dit is van invloed " "op\n" " groeperingen en tekenreeksbewerkingen\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort de invoer sorteren alvorens te groeperen; dit " "maakt\n" " het handmatig door 'sort' sluizen overbodig\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X dit teken als veldscheider gebruiken\n" " (standaard dezelfde als voor -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Bestandsbewerkingsopties:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict regels met een variërend aantal velden toestaan\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=WAARDE ontbrekende waarden opvullen met deze (standaard " "%s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Algemene opties:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X dit teken als veldscheider gebruiken i.p.v. tab\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=OPMAAK numerieke waarden weergeven met deze 'printf'\n" " drijvendekommastijl\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X dit teken als veldscheider gebruiken\n" " (standaard dezelfde als voor -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr "" " --narm de waarden 'NA', 'N/A' en 'NaN' overslaan\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=AANTAL numerieke uitvoer op dit aantal decimalen " "afronden\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace witruimte gebruiken om velden te scheiden\n" " (één of meer spaties en/of tabs) \n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated regels afsluiten met 0-byte, niet met " "nieuweregel\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Voorbeelden:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "De som en het gemiddelde van de waarden in kolom 1 weergeven:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "De invoer transponeren:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "Voor gedetailleerde gebruiksinformatie en voorbeelden, zie\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "De handleiding en meer voorbeelden zijn beschikbaar op\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "ongeldige invoer: veld % werd gevraagd, maar regel % heeft " "slechts % velden" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s in regel %, veld %: '%s'" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "transpositie-invoerfout: regel % heeft % velden\n" "(eerdere regels hadden er %);\n" "zie --help om strikte modus uit schakelen" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "veldomkerings-invoerfout: regel % heeft % velden\n" "(eerdere regels hadden er %);\n" "zie --help om strikte modus uit schakelen" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "regel % (% velden):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "controle is mislukt: regel % heeft % velden (er werden " "% verwacht)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "controle is mislukt: regel % heeft % velden (eerdere regel " "had er %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "controle is mislukt: invoer heeft % velden (er werden % " "verwacht)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% regel" msgstr[1] "% regels" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% veld" msgstr[1] "% velden" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "onvoldoende geheugen beschikbaar voor hash" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "het aanroepen van 'sort' is mislukt: 'popen()' faalde" #: src/datamash.c:1237 msgid "read error" msgstr "fout bij lezen" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "leesfout (bij sluiten)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "ongeldige base64-waarde" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "het scheidingsteken moet een enkel teken zijn" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "ontbrekende bewerkingsaanduidingen" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "optie '-H' of '--header-in' moet samen met kolomnamen gebruikt worden" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "ongeldige lege groeperingsparameter" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "ongeldige numerieke waarde '%s'" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "ongeldige operand %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "ongeldige operand %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "ongeldige operand %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X dit teken als veldscheider gebruiken i.p.v. tab\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict regels met een variërend aantal velden toestaan\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated regels afsluiten met 0-byte, niet met " "nieuweregel\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Voorbeelden:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "ongeldige numerieke waarde '%s'" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "ongeldige numerieke waarde '%s'" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "ongeldige numerieke waarde '%s'" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "ongeldig veldenpaar voor bewerking %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "ongeldige bewerking %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "ongeldige numerieke waarde '%s'" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "ongeldig veld '%s' voor bewerking %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "het aanroepen van 'sort' is mislukt: 'popen()' faalde" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "het aanroepen van 'sort' is mislukt: 'popen()' faalde" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "het aanroepen van 'sort' is mislukt: 'popen()' faalde" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "opmaak %s bevat geen '%%' directief" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "opmaak %s heeft geen geldig type na '%%'" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "opmaak %s heeft onbekend/ongeldig type %%%c-directief" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "opmaak %s heeft te veel %% directieven" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "invoerfout voor bewerking %s: velden %,% hebben een " "verschillend aantal items" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "ongeldige numerieke waarde" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "ongeldige base64-waarde" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "ongeldig veldenpaar voor bewerking %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "te veel parameters voor bewerking %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "de bucket-grootte voor 'strbin' mag niet nul zijn" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "ongeldige procentuele waarde %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "" "ongeldige gemiddelde afsnijwaarde %Lg (verwacht werd tussen de 0 en 0,5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "ongeldige 'getnum'-type '%c'" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "ontbrekend veld voor bewerking %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "ongeldig veldbereik voor bewerking %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "ongeldig veldenpaar voor bewerking %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "ongeldig veld '%s' voor bewerking %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "veldbereik voor %s moet numeriek zijn" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "ontbrekende parameter voor bewerking %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "ongeldige parameter %s voor bewerking %s" # FIXME: Does this require a single pair of fields? # FIXME: Or does it require multiple pairs? #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "bewerking %s vereist veldparen" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "bewerking %s staat geen veldparen toe" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "conflicterende bewerking %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "ongeldige bewerking %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "conflicterende bewerking gevonden: er werden %s-bewerkingen verwacht, maar " "%s-bewerking %s werd gevonden" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "ongeldige optie %s voor bewerking 'check'" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "getal verwacht na optie voor bewerking 'check'" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "ongeldige waarde nul voor regels/velden voor bewerking 'check'" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "aantal regels/rijen is al gezet voor bewerking 'check'" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "aantal velden/kolommen is al gezet voor bewerking 'check'" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "'crosstab' vereist precies 2 velden; % gevonden" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "'crosstab' ondersteunt één bewerking; % gevonden" #: src/op-parser.c:751 msgid "missing operation" msgstr "ontbrekende bewerking" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "overtollige operand %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "ontbrekend script (tussen argumenten)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "ongeldige numerieke waarde '%s'" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "backslash aan eind van identifier" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "identifier-naam is te lang" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "ongeldige operand %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "onbekend token %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help deze hulptekst tonen en stoppen\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version programmaversie tonen en stoppen\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Typ '%s --help' voor meer informatie.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "ontbrekend aantal afrondingscijfers" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "ongeldig aantal afrondingscijfers %s" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full gehele invoerregel tonen vóór " #~ "bewerkingsresultaten\n" #~ " (standaard alleen de gegroepeerde " #~ "sleutels)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "het sorteercommando is te lang (rapporteer deze **programmafout**)" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: optie '--%s' staat geen argument toe\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: onbekende optie '--%s'\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: optie '-W %s' is niet eenduidig\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: optie '-W %s' staat geen argument toe\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: optie '-W %s' vereist een argument\n" #~ msgid "%s home page: \n" #~ msgstr "Webpagina van %s: \n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "OPERATIE is de uit te voeren bewerking.\n" #~ msgid "File operations:\n" #~ msgstr "Bestandsoperaties:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] groeperen op de velden X,[Y,Z]\n" #~ msgid "For grouping operations 'col' is the input field to use." #~ msgstr "Voor groeperingsoperaties is KOLOM het te gebruiken invoerveld." #~ msgid " --debug print helpful debugging information\n" #~ msgstr "" #~ " --debug behulpzame foutopsporingsinformatie tonen\n" #~ msgid "invalid numeric input in line %zu field %zu: '%s'" #~ msgstr "ongeldige numerieke invoer op regel %zu, veld %zu: '%s'" #~ msgid "invalid field value for grouping '%s'" #~ msgstr "ongeldige veldwaarde '%s' voor groepering" #~ msgid "invalid field value (zero) for grouping" #~ msgstr "ongeldige veldwaarde (nul) voor groepering" datamash-1.9/po/pt_BR.gmo0000644000000000000000000005061114774035524010742 Þ•0°Ó0 | „ ¼ DvZ?Ñ?/QF‡È€P?ÑEW~×”VšëD†?Ë (C_y ®Íê,3.S'‚(ªÓóƒõ…yÿ1 5?1XŠ&œÃªÖ¿] {…•ª7Àø3 AX!l%Ž.´ã&ô)0Z;q3­/á+'=#e‰©ÅÕ×3ö1*8\@•5Ö= &J q OŠ .Ú - !+7!*c!Ž!"Ÿ!"Â!å!$"1("'Z"‚"Ÿ"M¸"K#R#m##‚##¦#$Ê#ï#C$@L$$£$¾$Ñ$%æ$% %2%P% m%$Ž%4³%8è%!&=&W&h&‡&™&"¶&Ù& ÷&1'9J'5„'&º'!á' ((q$(n–(#)())$R)mw)jå)P* b*ôn*Ic,ƒ­,N1-L€-2Í-K.–L.‘ã.Au/O·/Œ0‚”0Ç1Òß1M²2I3J3a3x33¢3!·3Ù3'ù3!4/@4!p41’4(Ä4)í4 585…<5šÂ5]67a6 ™6&£64Ê6ÿ6,7>7ÆX7#8ØC8$9 A9L9_9w9J9Ú9/ó9#:g@:)¨:.Ò:0;2;+M;y;(–;¿;9Õ;1<-A<)o<%™<!¿<á<==+=)/=DY=Bž=Bá=O$>?t>L´>7?9?mS?7Á?6ù?B0@As@µ@&Ç@.î@(A8FACA1ÃA#õA"BU¦I,åI5JŒHJ‰ÕJ_KvK[N K L)Fo TE<G6rD|,#…3w! S0fŽ}XdŠ2mRUkIlugq:"`Cv@(H_4J\*c†€%Z&teQ{A';Œi‚O‹Whj1.y pV^P]x>~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7†Kô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„ ¼ØìŽK ÿÿÿÿÉK ÿÿÿÿäK%ÿÿÿÿIL!%ÿÿÿÿ²L ÿÿÿÿÈLÿÿÿÿøLÿÿÿÿ0Mÿÿÿÿ^MÿÿÿÿvMÿÿÿÿM& ÿÿÿÿØMÿÿÿÿóM+ÿÿÿÿN(ÿÿÿÿHN ÿÿÿÿŒN ÿÿÿÿ¨N,#/ÿÿÿÿ,O+#/ÿÿÿÿ¯O ÿÿÿÿÅOÿÿÿÿÿO ÿÿÿÿFP'ÿÿÿÿ…Pÿÿÿÿ–Pÿÿÿÿ§P. ÿÿÿÿ÷PÿÿÿÿQ4ÿÿÿÿIQ?ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-09-02 07:55-0200 Last-Translator: Rafael Fontenelle Language-Team: Brazilian Portuguese Language: pt_BR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n > 1); X-Generator: Virtaal 1.0.0-beta1 X-Bugs: Report translation errors to the Language-Team address. --filler=X preenche valores em falta com X (padrão %s) --format=FORMATO imprime valores numéricos com FORMATO ponto flutuante no estilo printf. --header-in primeira linha de entrada é coluna de cabeçalho --header-out exibe cabeçalhos de coluna como primeira linha --narm ignora valores NA/NaN --no-strict permite linhas com número variável de campos --output-delimiter=X usa X em vez do delimitador de campo de saída (padrão: usa o mesmo delimitador que -t/-W) -C, --skip-comments ignora linhas de comentários (começando com "#" ou ";" e espaço em branco opcional) -H, --headers mesmo que "--header-in --header-out" -R, --round=N arredonda a saída numérica para N casas decimais -W, --whitespace usa espaço em branco (um ou mais espaços e/ou tabs) para delimitadores de campo -g, --group=X[,Y,Z] agrupa por campos X,[Y,Z]; equivalente a operação primária "groupby" -i, --ignore-case ignora diferenciação maiúsculo/minúsculo ao comparar textos; isso afeta agrupamento e operações textuais -s, --sort ordena a entrada antes de agrupamento; isso remove a necessidade de redirecionar manualmente a entrada por meio de "sort" -t, --field-separator=X usa X ao invés de TAB como delimitador de campo -z, --zero-terminated finaliza linhas com 0 bytes, não nova linha %llu campo%llu campos%llu linha%llu linhas%lu campo%lu campos%lu linha%lu linhasPágina do %s: <%s> %s na linha %llu campo %llu: "%s"%s na linha %lu campo %lu: "%s"argumento grande demais para %s%s: "%s"%s: opção inválida -- "%c" %s: a opção "%s%s" não permite um argumento %s: a opção "%s%s" é ambígua %s: a opção "%s%s" é ambígua; possibilidades:%s: a opção "%s%s" exige um argumento %s: a opção exige um argumento -- "%c" %s: opção desconhecida "%s%s" â€"fld" é o campo para usar; "fld" pode ser um número (1=primeiro campo), ou um nome de campo ao usar as opções -H ou --header-in. 'op' é a operação a ser realizada. Se uma operação primária for usada, ela deve ser listada primeiro, seguida opcionalmente por outras operações. (C)-H ou --header-in devem ser usados com colunas nomeadasExemplos:Opções de operações com arquivos: Para exemplos e informação detalhada de uso, veja Opções gerais: Ajuda em geral no uso de software GNU: <%s> Opções de agrupamento: Licença GPLv3+: GNU GPL versão 3 ou posterior <%s>. Este é um software livre: você é livre para alterá-lo e redistribuí-lo. NÃO Hà QUALQUER GARANTIA, na máxima extensão permitida em lei. Operações de filtragem de linha: Múltiplos campos podem ser listados com vírgulas (ex.: 1,6,8). Um intervalo de campos podem ser listados com um traço (ex.: 2-8). Use dois-pontos para operações quer requerem um par de campos (ex.: "pcov 2:6"). Operações de argumento numérico: Opções: Empacotado por %s Empacotado por %s (%s) Operações per-linha: Realiza operações números/textuais em dados obtidos da entrada padrão.Operações primárias: Exibe a soma e a média de valores da coluna 1:Relate erros do %s para: %s Relate erros para: %s Relate erros de tradução para Operações de agrupamento estatístico: Operações de agrupamento numérico/textual: O manual e mais exemplos estão disponíveis em Entrada da transposição:Tente "%s --help" para mais informações. Erro desconhecido de sistemaUso: %s [OPÇÃO] op [fld] [op fld ...] Escrito por %s e %s. Escrito por %s, %s, %s, %s, %s, %s, %s, %s, %s e outros. Escrito por %s, %s, %s, %s, %s, %s, %s, %s e %s. Escrito por %s, %s, %s, %s, %s, %s, %s e %s. Escrito por %s, %s, %s, %s, %s, %s e %s. Escrito por %s, %s, %s, %s, %s e %s. Escrito por %s, %s, %s, %s e %s. Escrito por %s, %s, %s, e %s. Escrito por %s, %s e %s. Escrito por %s. “barra invertida no final do identificadorverificação falhou: a entrada tinha %llu linhas (esperava-se %llu)verificação falhou: a entrada tinha %lu linhas (esperava-se %lu)verificação falhou: a linha %llu tem %llu campos (esperava %llu)verificação falhou: a linha %llu tem %llu campos (linha anterior tinham %llu)verificação falhou: a linha %lu tem %lu campos (esperava %lu)verificação falhou: a linha %lu tem %lu campos (linha anterior tinham %lu)coluna de nome %s não encontrada no arquivo de entradaoperação conflitante %soperação conflitante encontrada: esperava operações de %s, mas foi encontrada operação de %s de nome %scrosstab requer exatamente 2 campos, encontrado(s) %llucrosstab requer exatamente 2 campos, encontrado(s) %lucrosstab oferece suporte a apenas uma operação, encontradas %llucrosstab oferece suporte a apenas uma operação, encontradas %luoperando extra %sfalha ao executar "sort": popen falhouintervalo de campos para %s deve ser numéricoo formato %s não possui uma diretiva %%o formato %s possui um número excessivo de diretivas %%o formato %s possui um tipo desconhecido/inválido de diretiva %%%co formato %s carece de um tipo válido após "%%"erro de alocação de memória hashnome do identificador longo demaiserro de entrada para a operação %s: campos %llu,%llu tem número diferente de itenserro de entrada para a operação %s: campos %lu,%lu tem número diferente de itensargumento inválido para %s%s: "%s"valor base64 inválido"%s" de campo inválido para a operação %spar de campos inválido para a operação %sintervalo de campos inválido para a operação %stipo de getnum inválido "%c"entrada inválida: campo %llu requisitado, linha %llu tem apenas %llu camposentrada inválida: campo %lu requisitado, linha %lu tem apenas %lu camposvalor numérico inválidovalor numérico inválido "%s"operação inválida %soperação inválida %sopção %s inválida para a operação "check"parâmetro %s inválido para a operação %svalor percentual inválido %lluvalor percentual inválido %luvalor de dígitos de arredondamento inválido %ssufixo inválido no argumento para %s%s: "%s"valor da média de corte inválido %Lg (esperava 0 <= X <= 0.5)valor zero inválido para linhas/campos na operação "check"linha %llu (%llu campos): linha %lu (%lu campos): memória esgotadafaltando campo para a operação %sfaltando a operaçãofaltando especificadores de operaçãofaltando parâmetro para a operação %sfaltando valor de dígitos de arredondamentofaltando script (dentre argumentos)número esperado após a opção na operação "check"número de campos/colunas já definidas na operação "check"número de linhas já definidas na operação "check"a operação %s não pode usar par de camposa operação %s exige pares de camposerro de leituraerro de leitura (ao fechar)erro na entrada de campo-reverso: a linha %llu tem %llu campos (linhas anteriores tinham %llu); veja --help para desabilitar o modo estritoerro na entrada de campo-reverso: a linha %lu tem %lu campos (linhas anteriores tinham %lu); veja --help para desabilitar o modo estritotamanho do balde (bucket) de strbin deve ser diferente de zeroo delimitador deve ser um caractere singularnúmero excessivo de parâmetros para a operação %serro na entrada da transposição: a linha %llu tem %llu campos (linhas anteriores tinham %llu); veja --help para desabilitar o modo estritoerro na entrada da transposição: a linha %lu tem %lu campos (linhas anteriores tinham %lu); veja --help para desabilitar o modo estritotoken desconhecido %d erro de escritaPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %entrada inválida: campo % requisitado, linha % tem apenas % campos%s na linha % campo %: "%s"erro na entrada da transposição: a linha % tem % campos (linhas anteriores tinham %); veja --help para desabilitar o modo estritoerro na entrada de campo-reverso: a linha % tem % campos (linhas anteriores tinham %); veja --help para desabilitar o modo estritolinha % (% campos): verificação falhou: a linha % tem % campos (esperava %)verificação falhou: a linha % tem % campos (linha anterior tinham %)verificação falhou: a entrada tinha % linhas (esperava-se %)% linha% linhas% campo% camposerro de entrada para a operação %s: campos %,% tem número diferente de itensvalor percentual inválido %crosstab requer exatamente 2 campos, encontrado(s) %crosstab oferece suporte a apenas uma operação, encontradas %datamash-1.9/po/pt_BR.po0000644000000000000000000011241014774035524010572 # Brazilian Portuguese translations for datamash package # Traduções em português brasileiro para o pacote datamash # Copyright (C) 2019 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Rafael Fontenelle , 2014, 2015, 2017, 2019. msgid "" msgstr "" "Project-Id-Version: datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-09-02 07:55-0200\n" "Last-Translator: Rafael Fontenelle \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Virtaal 1.0.0-beta1\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: lib/closeout.c:121 msgid "write error" msgstr "erro de escrita" #: lib/error.c:208 msgid "Unknown system error" msgstr "Erro desconhecido de sistema" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: a opção \"%s%s\" é ambígua\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: a opção \"%s%s\" é ambígua; possibilidades:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: opção desconhecida \"%s%s\"\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: a opção \"%s%s\" não permite um argumento\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: a opção \"%s%s\" exige um argumento\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opção inválida -- \"%c\"\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: a opção exige um argumento -- \"%c\"\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "“" #: lib/quotearg.c:355 msgid "'" msgstr "â€" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Empacotado por %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Empacotado por %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "(C)" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Licença GPLv3+: GNU GPL versão 3 ou posterior <%s>.\n" "Este é um software livre: você é livre para alterá-lo e redistribuí-lo.\n" "NÃO Hà QUALQUER GARANTIA, na máxima extensão permitida em lei.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Escrito por %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Escrito por %s e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Escrito por %s, %s e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, %s\n" "e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s e %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Escrito por %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s e outros.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "" "Relate erros para: %s\n" "Relate erros de tradução para \n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Relate erros do %s para: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Página do %s: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Ajuda em geral no uso de software GNU: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "memória esgotada" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "argumento inválido para %s%s: \"%s\"" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "sufixo inválido no argumento para %s%s: \"%s\"" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "argumento grande demais para %s%s: \"%s\"" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "coluna de nome %s não encontrada no arquivo de entrada" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Uso: %s [OPÇÃO] op [fld] [op fld ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Realiza operações números/textuais em dados obtidos da entrada padrão." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "'op' é a operação a ser realizada. Se uma operação primária for usada,\n" "ela deve ser listada primeiro, seguida opcionalmente por outras operações.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "\"fld\" é o campo para usar; \"fld\" pode ser um número (1=primeiro campo),\n" "ou um nome de campo ao usar as opções -H ou --header-in.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Múltiplos campos podem ser listados com vírgulas (ex.: 1,6,8). Um intervalo\n" "de campos podem ser listados com um traço (ex.: 2-8). Use dois-pontos para\n" "operações quer requerem um par de campos (ex.: \"pcov 2:6\").\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Operações primárias:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Operações de filtragem de linha:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Operações per-linha:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Operações de argumento numérico:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Operações de agrupamento numérico/textual:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Operações de agrupamento estatístico:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Opções:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Opções de agrupamento:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments ignora linhas de comentários (começando com\n" " \"#\" ou \";\" e espaço em branco opcional)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] agrupa por campos X,[Y,Z];\n" " equivalente a operação primária \"groupby\"\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in primeira linha de entrada é coluna de cabeçalho\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out exibe cabeçalhos de coluna como primeira linha\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers mesmo que \"--header-in --header-out\"\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignora diferenciação maiúsculo/minúsculo ao\n" " comparar textos; isso afeta agrupamento e\n" " operações textuais\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort ordena a entrada antes de agrupamento;\n" " isso remove a necessidade de redirecionar\n" " manualmente a entrada por meio de \"sort\"\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X usa X em vez do delimitador de campo de saída\n" " (padrão: usa o mesmo delimitador que -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Opções de operações com arquivos:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict permite linhas com número variável de campos\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X preenche valores em falta com X (padrão %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Opções gerais:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X usa X ao invés de TAB como delimitador de campo\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMATO imprime valores numéricos com FORMATO\n" " ponto flutuante no estilo printf.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X usa X em vez do delimitador de campo de saída\n" " (padrão: usa o mesmo delimitador que -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm ignora valores NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N arredonda a saída numérica para N casas " "decimais\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace usa espaço em branco (um ou mais espaços e/ou\n" " tabs) para delimitadores de campo\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated finaliza linhas com 0 bytes, não nova linha\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Exemplos:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Exibe a soma e a média de valores da coluna 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Entrada da transposição:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "Para exemplos e informação detalhada de uso, veja\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "O manual e mais exemplos estão disponíveis em\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "entrada inválida: campo % requisitado, linha % tem apenas " "% campos" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s na linha % campo %: \"%s\"" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "erro na entrada da transposição: a linha % tem % campos " "(linhas anteriores tinham %);\n" "veja --help para desabilitar o modo estrito" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "erro na entrada de campo-reverso: a linha % tem % campos " "(linhas anteriores tinham %);\n" "veja --help para desabilitar o modo estrito" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "linha % (% campos):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "verificação falhou: a linha % tem % campos (esperava " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "verificação falhou: a linha % tem % campos (linha anterior " "tinham %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "verificação falhou: a entrada tinha % linhas (esperava-se " "%)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% linha" msgstr[1] "% linhas" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% campo" msgstr[1] "% campos" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "erro de alocação de memória hash" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "falha ao executar \"sort\": popen falhou" #: src/datamash.c:1237 msgid "read error" msgstr "erro de leitura" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "erro de leitura (ao fechar)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "valor base64 inválido" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "o delimitador deve ser um caractere singular" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "faltando especificadores de operação" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H ou --header-in devem ser usados com colunas nomeadas" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "parâmetro de agrupamento vazio inválido" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "valor numérico inválido \"%s\"" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "operação inválida %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "operação inválida %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "operação inválida %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X usa X ao invés de TAB como delimitador de campo\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict permite linhas com número variável de campos\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated finaliza linhas com 0 bytes, não nova linha\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Exemplos:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "valor numérico inválido \"%s\"" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "valor numérico inválido \"%s\"" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "valor numérico inválido \"%s\"" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "par de campos inválido para a operação %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "operação inválida %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "valor numérico inválido \"%s\"" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "\"%s\" de campo inválido para a operação %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "falha ao executar \"sort\": popen falhou" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "falha ao executar \"sort\": popen falhou" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "falha ao executar \"sort\": popen falhou" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "o formato %s não possui uma diretiva %%" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "o formato %s carece de um tipo válido após \"%%\"" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "o formato %s possui um tipo desconhecido/inválido de diretiva %%%c" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "o formato %s possui um número excessivo de diretivas %%" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "erro de entrada para a operação %s: campos %,% tem número " "diferente de itens" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "valor numérico inválido" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "valor base64 inválido" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "par de campos inválido para a operação %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "número excessivo de parâmetros para a operação %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "tamanho do balde (bucket) de strbin deve ser diferente de zero" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "valor percentual inválido %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "valor da média de corte inválido %Lg (esperava 0 <= X <= 0.5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "tipo de getnum inválido \"%c\"" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "faltando campo para a operação %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "intervalo de campos inválido para a operação %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "par de campos inválido para a operação %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "\"%s\" de campo inválido para a operação %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "intervalo de campos para %s deve ser numérico" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "faltando parâmetro para a operação %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "parâmetro %s inválido para a operação %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "a operação %s exige pares de campos" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "a operação %s não pode usar par de campos" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "operação conflitante %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "operação inválida %s" # primeira e segunda %s são modo, terceira %s é nome #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "operação conflitante encontrada: esperava operações de %s, mas foi " "encontrada operação de %s de nome %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "opção %s inválida para a operação \"check\"" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "número esperado após a opção na operação \"check\"" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "valor zero inválido para linhas/campos na operação \"check\"" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "número de linhas já definidas na operação \"check\"" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "número de campos/colunas já definidas na operação \"check\"" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "crosstab requer exatamente 2 campos, encontrado(s) %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "crosstab oferece suporte a apenas uma operação, encontradas %" #: src/op-parser.c:751 msgid "missing operation" msgstr "faltando a operação" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "operando extra %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "faltando script (dentre argumentos)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "valor numérico inválido \"%s\"" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "barra invertida no final do identificador" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "nome do identificador longo demais" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "operação inválida %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "token desconhecido %d\n" # movi para frente para ajustar às demais mensagens do "--help" -- Rafael #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help mostra esta ajuda e sai\n" # movi para frente para ajustar às demais mensagens do "--help" -- Rafael #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version mostra informação da versão e sai\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Tente \"%s --help\" para mais informações.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "faltando valor de dígitos de arredondamento" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "valor de dígitos de arredondamento inválido %s" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full exibe toda linha de entrada antes da saída de " #~ "op\n" #~ " (padrão: exibe apenas as chaves agrupadas)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "comando sort grande demais (por favor, relate esse erro)" #~ msgid "%s home page: \n" #~ msgstr "Página do %s: \n" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: a opção \"%s\" não permite um argumento\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: opção desconhecida \"--%s\"\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: a opção \"-W %s\" é ambígua\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: a opção \"-W %s\" não permite um argumento\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: a opção \"-W %s\" exige um argumento\n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "'op' é a operação a ser realizada;\n" #~ msgid "File operations:\n" #~ msgstr "Operações com arquivos:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] agrupa via campos X,[Y,Z]\n" #~ msgid "For grouping operations 'col' is the input field to use." #~ msgstr "Para operações de agrupamento, 'col' é o campo de entrada a usar." #~ msgid " --debug print helpful debugging information\n" #~ msgstr "" #~ " --debug exibe informação útil para ajudar na " #~ "depuração\n" #~ msgid "invalid numeric input in line %zu field %zu: '%s'" #~ msgstr "entrada numérica inválida na linha %zu campo %zu: '%s'" #~ msgid "invalid field value for grouping '%s'" #~ msgstr "valor de campo inválido para agrupamento '%s'" #~ msgid "invalid field value (zero) for grouping" #~ msgstr "valor de campo inválido (zero) para agrupamento" datamash-1.9/po/quot.sed0000644000000000000000000000023114352357450010703 s/"\([^"]*\)"/“\1â€/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“â€/""/g datamash-1.9/po/remove-potcdate.sin0000644000000000000000000000066014352357450013035 # Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } datamash-1.9/po/ro.gmo0000644000000000000000000005227714774035524010366 Þ•0¨Ó l t ¬ DvJ?Á?/AFq‡¸€@?ÁEG~Ç”FšÛDv?»û3Oi }ž½Ú,ö#.C'r(šÃãƒå…iï1ó %/1Hz&Œ³ªÆq¿Mk{7¦Þ3ó'>!R%t.šÉ&Ú)@;W3“/Ç+÷'##Ko«»½3Ü18B@{5¼=ò&0 W Op .À -ï +!*I!t!"…!"¨!Ë!$é!1"'@"h"…"Mž"Kì"8#S##h##Œ#$°#Õ#Cî#@2$s$‰$¤$·$%Ì$%ò$%6% S%$t%4™%8Î%&#&=&N&m&&"œ&¿& Ý&1þ&90'5j'& '!Ç' é'ô'q (n|(#ë(()$8)m])jË)6* H*.T*Lƒ,ŠÐ,J[-L¦-2ó-L&.Ðs.–D/EÛ/I!0Ÿk0˜ 1è¤1ú2Qˆ3MÚ36(4,_44Œ4*Á4ì4( 5&450[5#Œ50°5'á57 6/A60q6'¢6Ê6ÉÎ6˜7[8F^8¥8!®8IÐ899.9h9Ð~9"O:r: s;”;§;¿;TÔ;)<2=<!p<’<"­<*Ð<3û</=8I=‚=A =â=8÷=00>-a>(>$¸>!Ý>ÿ>? 7?E?7I?C?AÅ?E@OM@B@Là@<-AjAe…A4ëA3 B5TB4ŠB¿B4ÖB8 C&DC'kC<“C.ÐCJÿC'JD\rDZÏD/*EZE*sE1žE0ÐEFTFQrFÄF$àFGG3/G(cG#ŒG"°G,ÓG;HC</‚-+‡4XA8`L7r ˆy†6XNä  $ H l ˆ ¬ Ð ì 0DXl¬Ðô4Xt¬ÈÜð`N ÿÿÿÿ›N ÿÿÿÿ¶N%ÿÿÿÿO!%ÿÿÿÿ„O ÿÿÿÿšOÿÿÿÿÊOÿÿÿÿPÿÿÿÿ0PÿÿÿÿHPÿÿÿÿbP& ÿÿÿÿªPÿÿÿÿÅP+ÿÿÿÿñP(ÿÿÿÿQÿÿÿÿfQ ÿÿÿÿ‰Q1&6ÿÿÿÿR2&6ÿÿÿÿ°RÿÿÿÿÈRÿÿÿÿS#ÿÿÿÿLS&ÿÿÿÿŠS ÿÿÿÿ±S ÿÿÿÿâS3"ÿÿÿÿ9T ÿÿÿÿZT0ÿÿÿÿŒT1ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2023-05-23 16:27+0200 Last-Translator: Remus-Gabriel Chelu Language-Team: Romanian Language: ro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=4; plural=((n==1) ? 0 : (n==2) ? 1 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 2 : 3); X-Generator: Poedit 3.2.2 --filler=X completează valorile lipsă cu X (implicit %s) --format=FORMAT afiÈ™ează valorile numerice cu stilul în virgulă mobilă al «printf FORMAT» --header-in prima linie de intrare este coloana de antete --header-out afiÈ™ează antetele de coloană ca primă linie --narm omite valorile NA/NaN --no-strict permite linii cu un număr variabil de câmpuri --output-delimiter=X utilizează în schimb X ca delimitator al câmpului de ieÈ™ire (implicit: utilizează acelaÈ™i delimitator ca È™i -t/-W) -C, --skip-comments omite liniile de comentarii (care încep cu „#†sau „;†și opÈ›ional cu spaÈ›ii albe) -H, --headers la fel ca „--header-in --header-out†-R, --round=N rotunjeÈ™te rezultatul numeric la N zecimale -W, --whitespace utilizează spaÈ›ii albe (unul sau mai multe spaÈ›ii È™i/sau tabulări) pentru delimitatorii de câmp -g, --group=X[,Y,Z] grupează prin intermediul câmpurilor X,[Y,Z]; echivalent cu operaÈ›ia primară „groupby†-i, --ignore-case ignoră diferenÈ›a dintre majuscule È™i minuscule la compararea textului; acest lucru afectează gruparea È™i operaÈ›iile cu È™iruri de caractere -s, --sort sortează datele de intrare înainte de a le grupa; acest lucru înlătură necesitatea de a trece manual datele de intrare prin «sort» (date-intrare | «sort») -t, --field-separator=X utilizează X în loc de TAB ca delimitator de câmp -z, --zero-terminated termină liniile cu 0 octeÈ›i, nu cu linie nouă un câmpdouă câmpuri%llu câmpuri%llu de câmpurio liniedouă linii%llu linii%llu de liniiun câmpdouă câmpuri%lu câmpuri%lu de câmpurio liniedouă linii%lu linii%lu de liniiPagina principală a %s: <%s> %s în linia %llu câmpul %llu: „%sâ€%s în linia %lu câmpul %lu: „%sâ€argumentul „%3$s†al %1$s%2$s este prea lung%s: opÈ›iune nevalidă -- „%c†%s: opÈ›iunea „%s%s†nu permite un argument %s: opÈ›iunea „%s%s†este ambiguă %s: opÈ›iunea „%s%s†este ambiguă; posibilități:%s: opÈ›iunea „%s%s†necesită un argument %s: opÈ›iunea necesită un argument -- „%c†%s: opÈ›iune nerecunoscută „%s%s†â€â€žcâmp†este câmpul de intrare care trebuie utilizat. „câmp†poate fi un număr (1=primul câmp), sau un nume de câmp atunci când se utilizează opÈ›iunile „-H†sau „--header-inâ€. „operaÈ›ia†este operaÈ›ia care trebuie efectuată. ÃŽn cazul în care se utilizează o operaÈ›ie primară, aceasta trebuie să fie enumerată prima, urmată, opÈ›ional, de alte operaÈ›ii. ©„-H†sau „--header-inâ€trebuie utilizate cu coloanele cu titlu.Exemple:OpÈ›iuni de operare cu fiÈ™iere: Pentru informaÈ›ii detaliate privind utilizarea È™i exemple, consultaÈ›i OpÈ›iuni generale: Ajutor general pentru utilizarea software-ului GNU: <%s> OpÈ›iuni de grupare: LicenÈ›a GPLv3+: GNU GPL versiunea 3 sau ulterioară <%s>. Acesta este software liber: sunteÈ›i liber să îl modificaÈ›i È™i să îl redistribuiÈ›i. NU există NICIO GARANÈšIE, în măsura permisă de lege. OperaÈ›ii de filtrare a liniilor: Mai multe câmpuri pot fi enumerate cu o virgulă (de exemplu, 1,6,8). Un interval de câmpuri poate fi enumerat cu o liniuță (de exemplu, 2-8). UtilizaÈ›i două puncte pentru operaÈ›ii care necesită o pereche de câmpuri (de exemplu, „pcov 2:6â€). OperaÈ›ii de grupare numerică: ÃŽmpachetat de %s ÃŽmpachetat de %s (%s) OperaÈ›ii pe linie: Efectuează operaÈ›ii numerice/textuale pe datele obÈ›inute de la intrarea standard.OperaÈ›ii primare: AfiÈ™ează suma È™i media valorilor din coloana 1:RaportaÈ›i erorile din %s la: %s RaportaÈ›i erorile la: %s OperaÈ›ii de grupare statistică: OperaÈ›ii de grupare textuală/numerică: Manualul È™i mai multe exemple sunt disponibile la Intrare de transpoziÈ›ie:ÃŽncercaÈ›i «%s --help» pentru mai multe informaÈ›ii. Eroare de sistem necunoscutăUtilizare: %s [OPÈšIUNE] operaÈ›ie [câmp] [operaÈ›ie câmp ...] Scris de %s È™i %s. Scris de %s, %s, %s, %s, %s, %s, %s, %s, %s È™i alÈ›ii. Scris de %s, %s, %s, %s, %s, %s, %s, %s È™i %s. Scris de %s, %s, %s, %s, %s, %s, %s, È™i %s. Scris de %s, %s, %s, %s, %s, %s È™i %s. Scris de %s, %s, %s, %s, %s È™i %s. Scris de %s, %s, %s, %s, È™i %s. Scris de %s, %s, %s, È™i %s. Scris de %s, %s, È™i %s. Scris de %s. „bară oblică inversă la sfârÈ™itul identificatoruluiverificare eÈ™uată: intrarea a avut %llu linii (se aÈ™teptau %llu)verificare eÈ™uată: intrarea a avut %lu linii (se aÈ™teptau %lu)verificare eÈ™uată: linia %llu are %llu câmpuri (se aÈ™teptau %llu)verificare eÈ™uată: linia %llu are %llu câmpuri (linia anterioară avea %llu)verificare eÈ™uată: linia %lu are %lu câmpuri (se aÈ™teptau %lu)verificare eÈ™uată: linia %lu are %lu câmpuri (linia anterioară avea %lu)numele coloanei %s nu a fost găsit în fiÈ™ierul de intrareoperaÈ›ie conflictuală %soperaÈ›ie conflictuală găsită: se aÈ™teptau %s operaÈ›ii, dar s-a găsit %s operaÈ›ie/operaÈ›ii %scrosstab necesită exact 2 câmpuri, găsit(e) %llu.crosstab necesită exact 2 câmpuri, găsit(e) %lu.crosstab acceptă o singură operaÈ›ie, găsite %llu.crosstab acceptă o singură operaÈ›ie, găsite %lu.operand suplimentar %seÈ™ec la rularea comenzii «sort»: popen() a eÈ™uatintervalul de câmpuri pentru %s trebuie să fie numericformatul %s nu are nicio directivă %%formatul %s are prea multe directive %%formatul %s are un tip necunoscut/nevalid de directivă %%%cformatul %s nu are un tip valid după „%%â€eroare de alocare a memoriei pentru hash (rezultatul calculelor efectuate)numele identificatorului este prea lungeroare de intrare pentru operaÈ›ia %s: câmpurile %llu,%llu au un număr diferit de elementeeroare de intrare pentru operaÈ›ia %s: câmpurile %lu,%lu au un număr diferit de elementeargumentul „%3$s†al %1$s%2$s nu este validvaloare base64 nevalidăcâmp nevalid „%s†pentru operaÈ›ia %spereche de câmpuri nevalidă pentru operaÈ›ia %sinterval de câmpuri nevalid pentru operaÈ›ia %stip getnum nevalid „%câ€intrare nevalidă: câmpul %llu a fost solicitat, linia %llu are doar câmpuri %llu.intrare nevalidă: câmpul %lu a fost solicitat, linia %lu are doar câmpuri %lu.valoare numerică nevalidăvaloare numerică nevalidă „%sâ€operand %s nevalidoperaÈ›ie nevalidă %sopÈ›iune nevalidă %s pentru verificarea operaÈ›ieiparametru nevalid %s pentru operaÈ›ia %svaloare procentuală nevalidă %lluvaloare procentuală nevalidă %luvaloare nevalidă a cifrelor de rotunjire %ssufixul din argumentul „%3$s†al %1$s%2$s nu este validvaloare medie de ajustare nevalidă %Lg (se aÈ™tepta 0 <= X <= 0,5)valoare nevalidă zero pentru liniile/câmpurile din operaÈ›ia „checkâ€.linia %llu (%llu câmpuri: linia %lu (%lu câmpuri: memorie epuizatăcâmp lipsă pentru operaÈ›ia %soperaÈ›ie lipsăspecificatori de operaÈ›ie lipsăparametru lipsă pentru operaÈ›ia %svaloarea cifrelor de rotunjire lipseÈ™tescript lipsă (între argumente)număr aÈ™teptat după opÈ›iunea în operaÈ›ia „checkâ€număr de câmpuri/coloane deja stabilit în operaÈ›ia „checkâ€.număr de linii/rânduri deja stabilit în operaÈ›ia „checkâ€.operaÈ›ia %s nu poate utiliza perechea de câmpurioperaÈ›ia %s necesită perechi de câmpurieroare de citireeroare de citire (la închidere)eroare în intrarea de câmpuri inversate :linia %llu are %llu câmpuri (liniile anterioare aveau %llu); consultaÈ›i --help pentru a dezactiva modul stricteroare în intrarea de câmpuri inversate :linia %lu are %lu câmpuri (liniile anterioare aveau %lu); consultaÈ›i --help pentru a dezactiva modul strictdimensiunea găleÈ›ii (bucket) strbin nu trebuie să fie zerodelimitatorul trebuie să fie un singur caracterprea mulÈ›i parametri pentru operaÈ›ia %seroare în intrarea de transpoziÈ›ionare: linia %llu are %llu câmpuri (liniile anterioare aveau %llu); consultaÈ›i --help pentru a dezactiva modul stricteroare în intrarea de transpoziÈ›ionare: linia %lu are %lu câmpuri (liniile anterioare aveau %lu); consultaÈ›i --help pentru a dezactiva modul stricttoken necunoscut %d eroare de scrierePRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %intrare nevalidă: câmpul % a fost solicitat, linia % are doar câmpuri %.%s în linia % câmpul %: „%sâ€eroare în intrarea de transpoziÈ›ionare: linia % are % câmpuri (liniile anterioare aveau %); consultaÈ›i --help pentru a dezactiva modul stricteroare în intrarea de câmpuri inversate :linia % are % câmpuri (liniile anterioare aveau %); consultaÈ›i --help pentru a dezactiva modul strictlinia % (% câmpuri: verificare eÈ™uată: linia % are % câmpuri (se aÈ™teptau %)verificare eÈ™uată: linia % are % câmpuri (linia anterioară avea %)verificare eÈ™uată: intrarea a avut % linii (se aÈ™teptau %)o liniedouă linii% linii% de liniiun câmpdouă câmpuri% câmpuri% de câmpurieroare de intrare pentru operaÈ›ia %s: câmpurile %,% au un număr diferit de elementevaloare procentuală nevalidă %crosstab necesită exact 2 câmpuri, găsit(e) %.crosstab acceptă o singură operaÈ›ie, găsite %.datamash-1.9/po/ro.po0000644000000000000000000011073014774035524010207 # Romanian translation for datamash. # Copyright © 2023 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # # Remus-Gabriel Chelu , 2023. # # Cronologia traducerii fiÈ™ierului „datamashâ€: # Traducerea iniÈ›ială, făcută de R-GC, pentru versiunea datamash 1.4.12.1. # Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). # msgid "" msgstr "" "Project-Id-Version: datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2023-05-23 16:27+0200\n" "Last-Translator: Remus-Gabriel Chelu \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=4; plural=((n==1) ? 0 : (n==2) ? 1 : (n==0 || (n%100 " "> 0 && n%100 < 20)) ? 2 : 3);\n" "X-Generator: Poedit 3.2.2\n" #: lib/closeout.c:121 msgid "write error" msgstr "eroare de scriere" #: lib/error.c:208 msgid "Unknown system error" msgstr "Eroare de sistem necunoscută" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: opÈ›iunea „%s%s†este ambiguă\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: opÈ›iunea „%s%s†este ambiguă; posibilități:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: opÈ›iune nerecunoscută „%s%sâ€\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: opÈ›iunea „%s%s†nu permite un argument\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: opÈ›iunea „%s%s†necesită un argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: opÈ›iune nevalidă -- „%câ€\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: opÈ›iunea necesită un argument -- „%câ€\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "„" #: lib/quotearg.c:355 msgid "'" msgstr "â€" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "ÃŽmpachetat de %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "ÃŽmpachetat de %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "LicenÈ›a GPLv3+: GNU GPL versiunea 3 sau ulterioară <%s>.\n" "Acesta este software liber: sunteÈ›i liber să îl modificaÈ›i È™i să îl " "redistribuiÈ›i.\n" "NU există NICIO GARANÈšIE, în măsura permisă de lege.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Scris de %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Scris de %s È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Scris de %s, %s, È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Scris de %s, %s, %s,\n" "È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Scris de %s, %s, %s,\n" "%s, È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Scris de %s, %s, %s,\n" "%s, %s È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Scris de %s, %s, %s,\n" "%s, %s, %s È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Scris de %s, %s, %s,\n" "%s, %s, %s, %s,\n" "È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Scris de %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s È™i %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Scris de %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s È™i alÈ›ii.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "RaportaÈ›i erorile la: %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "RaportaÈ›i erorile din %s la: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Pagina principală a %s: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Ajutor general pentru utilizarea software-ului GNU: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "memorie epuizată" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "argumentul „%3$s†al %1$s%2$s nu este valid" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "sufixul din argumentul „%3$s†al %1$s%2$s nu este valid" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "argumentul „%3$s†al %1$s%2$s este prea lung" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "numele coloanei %s nu a fost găsit în fiÈ™ierul de intrare" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Utilizare: %s [OPÈšIUNE] operaÈ›ie [câmp] [operaÈ›ie câmp ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "" "Efectuează operaÈ›ii numerice/textuale pe datele obÈ›inute de la intrarea " "standard." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "„operaÈ›ia†este operaÈ›ia care trebuie efectuată. ÃŽn cazul în care se " "utilizează\n" "o operaÈ›ie primară, aceasta trebuie să fie enumerată prima, urmată, " "opÈ›ional,\n" "de alte operaÈ›ii.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "„câmp†este câmpul de intrare care trebuie utilizat. „câmp†poate fi un " "număr\n" "(1=primul câmp), sau un nume de câmp atunci când se utilizează opÈ›iunile\n" "„-H†sau „--header-inâ€.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Mai multe câmpuri pot fi enumerate cu o virgulă (de exemplu, 1,6,8). Un " "interval\n" "de câmpuri poate fi enumerat cu o liniuță (de exemplu, 2-8). UtilizaÈ›i\n" "două puncte pentru operaÈ›ii care necesită o pereche de câmpuri (de exemplu,\n" "„pcov 2:6â€).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "OperaÈ›ii primare:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "OperaÈ›ii de filtrare a liniilor:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "OperaÈ›ii pe linie:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "OperaÈ›ii de grupare numerică:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "OperaÈ›ii de grupare textuală/numerică:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "OperaÈ›ii de grupare statistică:\n" #: src/datamash.c:232 src/decorate.c:181 #, fuzzy msgid "Options:\n" msgstr "OpÈ›iuni generale:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "OpÈ›iuni de grupare:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments omite liniile de comentarii (care încep cu „#†" "sau\n" " „;†și opÈ›ional cu spaÈ›ii albe)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] grupează prin intermediul câmpurilor X,[Y,Z]; \n" " echivalent cu operaÈ›ia primară „groupbyâ€\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in prima linie de intrare este coloana de antete\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out afiÈ™ează antetele de coloană ca primă linie\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers la fel ca „--header-in --header-outâ€\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignoră diferenÈ›a dintre majuscule È™i minuscule " "la \n" " compararea textului; acest lucru afectează " "gruparea \n" " È™i operaÈ›iile cu È™iruri de caractere\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort sortează datele de intrare înainte de a le " "grupa; \n" " acest lucru înlătură necesitatea de a trece " "manual \n" " datele de intrare prin «sort» (date-intrare | " "«sort»)\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X utilizează în schimb X ca delimitator al " "câmpului \n" " de ieÈ™ire (implicit: utilizează acelaÈ™i " "delimitator \n" " ca È™i -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "OpÈ›iuni de operare cu fiÈ™iere:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict permite linii cu un număr variabil de câmpuri\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X completează valorile lipsă cu X (implicit %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "OpÈ›iuni generale:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X utilizează X în loc de TAB ca delimitator de " "câmp\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMAT afiÈ™ează valorile numerice cu stilul în " "virgulă \n" " mobilă al «printf FORMAT»\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X utilizează în schimb X ca delimitator al " "câmpului \n" " de ieÈ™ire (implicit: utilizează acelaÈ™i " "delimitator \n" " ca È™i -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm omite valorile NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N rotunjeÈ™te rezultatul numeric la N zecimale\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace utilizează spaÈ›ii albe (unul sau mai multe " "spaÈ›ii \n" " È™i/sau tabulări) pentru delimitatorii de câmp\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated termină liniile cu 0 octeÈ›i, nu cu linie nouă\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Exemple:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "AfiÈ™ează suma È™i media valorilor din coloana 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Intrare de transpoziÈ›ie:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "" "Pentru informaÈ›ii detaliate privind utilizarea È™i exemple, consultaÈ›i\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Manualul È™i mai multe exemple sunt disponibile la\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "intrare nevalidă: câmpul % a fost solicitat, linia % are " "doar câmpuri %." #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s în linia % câmpul %: „%sâ€" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "eroare în intrarea de transpoziÈ›ionare: linia % are % " "câmpuri (liniile \n" "anterioare aveau %); consultaÈ›i --help pentru a dezactiva modul " "strict" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "eroare în intrarea de câmpuri inversate :linia % are % " "câmpuri (liniile \n" "anterioare aveau %); consultaÈ›i --help pentru a dezactiva modul " "strict" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "linia % (% câmpuri:\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "verificare eÈ™uată: linia % are % câmpuri (se aÈ™teptau " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "verificare eÈ™uată: linia % are % câmpuri (linia anterioară " "avea %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "verificare eÈ™uată: intrarea a avut % linii (se aÈ™teptau %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "o linie" msgstr[1] "două linii" msgstr[2] "% linii" msgstr[3] "% de linii" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "un câmp" msgstr[1] "două câmpuri" msgstr[2] "% câmpuri" msgstr[3] "% de câmpuri" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "" "eroare de alocare a memoriei pentru hash (rezultatul calculelor efectuate)" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "eÈ™ec la rularea comenzii «sort»: popen() a eÈ™uat" #: src/datamash.c:1237 msgid "read error" msgstr "eroare de citire" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "eroare de citire (la închidere)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "valoare base64 nevalidă" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "delimitatorul trebuie să fie un singur caracter" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "specificatori de operaÈ›ie lipsă" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "„-H†sau „--header-inâ€trebuie utilizate cu coloanele cu titlu." #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "valoare numerică nevalidă" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "valoare numerică nevalidă „%sâ€" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "operand %s nevalid" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "operand %s nevalid" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "operand %s nevalid" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X utilizează X în loc de TAB ca delimitator de " "câmp\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict permite linii cu un număr variabil de câmpuri\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated termină liniile cu 0 octeÈ›i, nu cu linie nouă\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Exemple:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "valoare numerică nevalidă „%sâ€" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "valoare numerică nevalidă „%sâ€" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "valoare numerică nevalidă „%sâ€" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "pereche de câmpuri nevalidă pentru operaÈ›ia %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "operaÈ›ie nevalidă %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "valoare numerică nevalidă „%sâ€" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "câmp nevalid „%s†pentru operaÈ›ia %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "eÈ™ec la rularea comenzii «sort»: popen() a eÈ™uat" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "eÈ™ec la rularea comenzii «sort»: popen() a eÈ™uat" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "eÈ™ec la rularea comenzii «sort»: popen() a eÈ™uat" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "formatul %s nu are nicio directivă %%" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "formatul %s nu are un tip valid după „%%â€" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "formatul %s are un tip necunoscut/nevalid de directivă %%%c" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "formatul %s are prea multe directive %%" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "eroare de intrare pentru operaÈ›ia %s: câmpurile %,% au un " "număr diferit de elemente" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "valoare numerică nevalidă" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "valoare base64 nevalidă" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "pereche de câmpuri nevalidă pentru operaÈ›ia %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "prea mulÈ›i parametri pentru operaÈ›ia %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "dimensiunea găleÈ›ii (bucket) strbin nu trebuie să fie zero" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "valoare procentuală nevalidă %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "valoare medie de ajustare nevalidă %Lg (se aÈ™tepta 0 <= X <= 0,5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "tip getnum nevalid „%câ€" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "câmp lipsă pentru operaÈ›ia %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "interval de câmpuri nevalid pentru operaÈ›ia %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "pereche de câmpuri nevalidă pentru operaÈ›ia %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "câmp nevalid „%s†pentru operaÈ›ia %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "intervalul de câmpuri pentru %s trebuie să fie numeric" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "parametru lipsă pentru operaÈ›ia %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "parametru nevalid %s pentru operaÈ›ia %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "operaÈ›ia %s necesită perechi de câmpuri" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "operaÈ›ia %s nu poate utiliza perechea de câmpuri" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "operaÈ›ie conflictuală %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "operaÈ›ie nevalidă %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "operaÈ›ie conflictuală găsită: se aÈ™teptau %s operaÈ›ii, dar s-a găsit %s " "operaÈ›ie/operaÈ›ii %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "opÈ›iune nevalidă %s pentru verificarea operaÈ›iei" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "număr aÈ™teptat după opÈ›iunea în operaÈ›ia „checkâ€" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "valoare nevalidă zero pentru liniile/câmpurile din operaÈ›ia „checkâ€." #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "număr de linii/rânduri deja stabilit în operaÈ›ia „checkâ€." #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "număr de câmpuri/coloane deja stabilit în operaÈ›ia „checkâ€." #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "crosstab necesită exact 2 câmpuri, găsit(e) %." #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "crosstab acceptă o singură operaÈ›ie, găsite %." #: src/op-parser.c:751 msgid "missing operation" msgstr "operaÈ›ie lipsă" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "operand suplimentar %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "script lipsă (între argumente)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "valoare numerică nevalidă „%sâ€" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "bară oblică inversă la sfârÈ™itul identificatorului" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "numele identificatorului este prea lung" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "operand %s nevalid" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "token necunoscut %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help afiÈ™ează acest mesaj de ajutor È™i iese\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version afiÈ™ează informaÈ›iile despre versiune È™i iese\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "ÃŽncercaÈ›i «%s --help» pentru mai multe informaÈ›ii.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "valoarea cifrelor de rotunjire lipseÈ™te" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "valoare nevalidă a cifrelor de rotunjire %s" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full afiÈ™ează întreaga linie de intrare înainte " #~ "de \n" #~ " rezultatele operaÈ›iei (implicit: afiÈ™ează " #~ "numai \n" #~ " cheile grupate)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "comanda «sort» este prea lungă (raportaÈ›i această eroare)" datamash-1.9/po/sr.gmo0000644000000000000000000006030314774035524010357 Þ•0°Ó0 | „ ¼ $D%vj?á?!/aF‘‡Ø€`?áE!g~ç”fšûD–?Û8So‰ ¾Ýú,C.c'’(ºãƒ…‰1 EO1hš&¬Óªæ‘¿­m ‹•¥º7Ð3Qh!|%ž.Äó&+)@j;3½/ñ+!'M#u™¹Õåç31:8l@¥5æ= &Z  Oš .ê -!+G!*s!ž!"¯!"Ò!õ!$"18"'j"’"¯"MÈ"K#b#}##’##¶#$Ú#ÿ#C$@\$$³$Î$á$%ö$%%B%`% }%$ž%4Ã%8ø%1&M&g&x&—&©&"Æ&é& '1('9Z'5”'&Ê'!ñ' ((q4(n¦(#)(9)$b)m‡)jõ)`* r*%~*r¤,¸-`Ð-b1.M”.jâ.ÏM/Á0Kß0r+1Èž1§g2Û3Òë3t¾4e35)™5+Ã5&ï5(6/?6,o6*œ64Ç62ü6E/70u7F¦7<í7=*8/h8˜8ãœ8Ú€9[:n^:Í:*Ý:U;^;Ix;!Â;>ä;,#=$P=2u>¨>·> Ó>$ô>k?…?R£?,ö?)#@8M@I†@GÐ@AA7A.yA:¨A ãAIB=NB9ŒB5ÆB1üB-.C)\C%†C¬CÅCAÉC[ DYgD_ÁDo!E\‘ElîEY[F.µFtäFDYGCžGFâGE)H&oHY–H@ðH81IEjIk°IXJ1uJ/§Jx×JvPK3ÇK4ûK?0L=pLA®L>ðLp/Mm M6N?EN,…N(²NIÛNI%OCoOB³OTöOEKPh‘PkúP fQ‡Q(¦Q4ÏQR0"R>SRI’R=ÜRXS_sScÓSD7T8|TµT5ÏTÓUÐÙUFªV8ñV<*WÈgWÅ0X)öX Y[N K L)Fo TE<G6rD|,#…3w! S0fŽ}XdŠ2mRUkIlugq:"`Cv@(H_4J\*c†€%Z&teQ{A';Œi‚O‹Whj1.y pV^P]x>~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7:Yô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„¨ÌèüBY ÿÿÿÿ}Y ÿÿÿÿ˜Y%ÿÿÿÿýY!%ÿÿÿÿfZ ÿÿÿÿ|Zÿÿÿÿ¬ZÿÿÿÿäZÿÿÿÿ[ÿÿÿÿ*[ÿÿÿÿD[& ÿÿÿÿŒ[ÿÿÿÿ§[+ÿÿÿÿÓ[(ÿÿÿÿü[A ÿÿÿÿd\ ÿÿÿÿ‹\/-SÿÿÿÿK]:-Sÿÿÿÿ^ÿÿÿÿ1^'ÿÿÿÿˆ^'-ÿÿÿÿï^7ÿÿÿÿE_ ÿÿÿÿh_ ÿÿÿÿ‰_>3ÿÿÿÿü_=ÿÿÿÿ=`Aÿÿÿÿ`Cÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash-1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2020-03-31 16:53+0200 Last-Translator: МироÑлав Ðиколић Language-Team: Serbian <(nothing)> Language: sr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); X-Generator: Virtaal 0.7.1 X-Bugs: Report translation errors to the Language-Team address. --filler=X попуњава недоÑтајуће вредноÑти Ñа X (оÑновно %s) --format=ЗÐПИС иÑпиÑује бројевне вредноÑти Ñа „printf“ Ñтилом покретни зарез ЗÐПИС. --header-in први улазни ред јеÑу заглавља Ñтупца --header-out иÑпиÑује заглавља Ñтупца као први ред --narm преÑкаче вредноÑти „NA/NaN“ --no-strict допушта редове Ñа променљивим бројем поља --output-delimiter=X кориÑти „X“ као граничник поља излаза (оÑновно: кориÑти иÑти граничник као „-t/-W“) -C, --skip-comments преÑкаче редове коментара (који почињу Ñа # или ; и по могућÑтву празнином) -H, --headers иÑто као „--header-in --header-out“ -R, --round=N заокружује бројевни излаз на N децимална меÑта -W, --whitespace кориÑти празнине (један или више размака и/или табулаторе) за граничнике поља -g, --group=X[,Y,Z] групише путем поља X,[Y,Z]; еквивалент примарној радњи „groupby“ -i, --ignore-case занемарује велика/мала Ñлова када пореди текÑÑ‚; ово утиче на групиÑање, и на радње ниÑке -s, --sort ређа улаз пре групиÑања; ово уклања потребу за ручним преÑпајањем улаза кроз „sort“ -t, --field-separator=X кориÑти X умеÑто табулатора као граничника поља -z, --zero-terminated завршава редове 0 бајтом, не новим редом %llu поље%llu поља%llu поља%llu ред%llu реда%llu редова%lu поље%lu поља%lu поља%lu ред%lu реда%lu редоваМатична Ñтраница „%s“: <%s> %s у %llu. реду поље %llu: „%s“%s у %lu. реду поље %lu: „%s“%s%s аргумент „%s“ је превелик%s: неиÑправна опција -- „%c“ %s: опција „%s%s“ не дозвољава аргумент %s: опција „%s%s“ је нејаÑна %s: опција „%s%s“ је нејаÑна; могућноÑти:%s: опција „%s%s“ захтева аргумент %s: опција захтева аргумент -- „%c“ %s: непозната опција „%s%s“ “„fld“ је улазно поље за коришћење; „fld“ може бити број (1=прво поље), или назив поља када Ñе кориÑте опције „-H“ или „--header-in“. „op“ је радња за обављање. Ðко Ñе кориÑти примарна радња, мора бити наведена прва, за којом по избору Ñледе друге радње. ©„-H“ или „--header-in“ мора да Ñе кориÑти Ñа именованим ÑтупцимаПримери:Опције радње датотеке: За више података о коришћењу и примере, видите Опште опције: Општа помоћ кориÑтећи Гнуов Ñофтвер: <%s> Опције групиÑања: Лиценца ОЈЛв3+: ГÐУ ОЈЛ издање 3 или новије <%s>. Ово је Ñлободан Ñофтвер: Ñлободни Ñте да га мењате и раÑподељујете. Ðе поÑтоји ÐИКÐКВРГÐРÐÐЦИЈÐ, у оквирима дозвољеним законом. Радње издвајања редова: Више поља може бити наведено зарезом (нпр. 1,6,8). ОпÑег поља може бити наведен цртицом (нпр. 2-8). КориÑтите двотачке за радње које захтевају пар поља (нпр. „pcov 2:6“). Радње бројевног групиÑања: Опције: Запаковао је %s Запаковао је %s (%s) Радње над редовима: Обавите радње бројева/ниÑки на улазу из Ñтандардног улаза.Примарне радње: ИÑпиÑује збир и Ñредње вредноÑти из 1. Ñтупца:%s грешке пријавите на: %s Грешке пријавите на: %s Радње ÑтатиÑтичког групиÑања: Радње текÑтуалног/бројевног групиÑања: Приручник и још примера је доÑтупно на Улаз премештања:Пробајте „%s --help“ за више података. Ðепозната грешка ÑиÑтемаУпотреба: %s [ОПЦИЈÐ] op [fld] [op fld ...] ÐапиÑали Ñу %s и %s. ÐапиÑали Ñу %s, %s, %s, %s, %s, %s, %s, %s, %s, и други. ÐапиÑали Ñу %s, %s, %s, %s, %s, %s, %s, %s, и %s. ÐапиÑали Ñу %s, %s, %s, %s, %s, %s, %s, и %s. ÐапиÑали Ñу %s, %s, %s, %s, %s, %s, и %s. ÐапиÑали Ñу %s, %s, %s, %s, %s, и %s. ÐапиÑали Ñу %s, %s, %s, %s, и %s. ÐапиÑали Ñу %s, %s, %s, и %s. ÐапиÑали Ñу %s, %s, и %s. ÐапиÑао је %s. „контра коÑа црта на крају одредникапровера није уÑпела: ÑƒÐ½Ð¾Ñ Ð¸Ð¼Ð° %llu реда (очекујем %llu)провера није уÑпела: ÑƒÐ½Ð¾Ñ Ð¸Ð¼Ð° %lu реда (очекујем %lu)провера није уÑпела: %llu. ред има %llu поља (очекујем %llu)провера није уÑпела: %llu. ред има %llu поља (претходни ред има %llu)провера није уÑпела: %lu. ред има %lu поља (очекујем %lu)провера није уÑпела: %lu. ред има %lu поља (претходни ред има %lu)ниÑам нашао назив Ñтупца „%s“ у улазној датотециÑукобљавајућа радња „%s“нађох Ñукобљавајућу радњу: очекивах %s радње, али нађох %s радње %s„crosstab“ захтева тачно 2 поља, нађох %llu„crosstab“ захтева тачно 2 поља, нађох %lu„crosstab“ подржава једну радњу, нађох %llu„crosstab“ подржава једну радњу, нађох %luдодатни операнд „%s“ниÑам уÑпео да покренем „sort“: није уÑпело „popen“опÑег поља за „%s“ мора бити Ð±Ñ€Ð¾Ñ˜Ð½Ð¸Ð·Ð°Ð¿Ð¸Ñ â€ž%s“ нема директиву „%%â€œÐ·Ð°Ð¿Ð¸Ñ â€ž%s“ има превише директива „%%â€œÐ·Ð°Ð¿Ð¸Ñ â€ž%s“ има непознату/неиÑправну директиву врÑте „%%%c“запиÑу „%s“ недоÑтаје иÑправна врÑта након „%%“грешка доделе хеш меморијеназив одредника је предугулазна грешка за радњу „%s“: поља %llu,%llu имају различит број Ñтавкиулазна грешка за радњу „%s“: поља %lu,%lu имају различит број ÑтавкинеиÑправан %s%s аргумент „%s“неиÑправна вредноÑÑ‚ оÑнове64неиÑправно поље „%s“ за радњу „%s“неиÑправан пар поља за радњу „%s“неиÑправан опÑег поља за радњу „%s“неиÑправна врÑта добави број „%c“неиÑправан улаз: затражено је поље %llu, %llu. ред има Ñамо %llu пољанеиÑправан улаз: затражено је поље %lu, %lu. ред има Ñамо %lu пољанеиÑправна бројевна вредноÑтнеиÑправна бројевна вредноÑÑ‚ „%s“неиÑправан операнд „%s“неиÑправна радња „%s“неиÑправна опција „%s“ за проверу радњенеиÑправан параметар „%s“ за радњу „%s“неиÑправна процентна вредноÑÑ‚ „%llu“неиÑправна процентна вредноÑÑ‚ „%lu“неиÑправна вредноÑÑ‚ заокруживања цифара „%s“неиÑправан ÑÑƒÑ„Ð¸ÐºÑ Ñƒ %s%s аргументу „%s“неиÑправна Ñредња вредноÑÑ‚ Ñкраћења %Lg (очекивах 0 <= X <= 0.5)неиÑправна вредноÑÑ‚ нула за редове/поља у операцији „check“%llu. ред (поље %llu): %lu. ред (поље %lu): меморија је потрошенанедоÑтаје поље за радњу „%s“недоÑтаје радњанедоÑтају одредници радњенедоÑтаје параметар за радњу „%s“недоÑтаје вредноÑÑ‚ заокруживања цифаранедоÑтаје Ñкрипт (око аргумената)очекиван је број након опције у операцији „check“број поља/колона је већ поÑтављен у операцији „check“број линија/редова је већ поÑтављен у операцији „check“радња „%s“ не може кориÑтити пар пољарадња „%s“ захтева парове пољагрешка читањагрешка читања (при затварању)грешка преокретања поља улаза: %llu. ред има %llu поља (претходни ред има %llu); видите „--help“ да иÑкључите иÑкључиви режимгрешка преокретања поља улаза: %lu. ред има %lu поља (претходни ред има %lu); видите „--help“ да иÑкључите иÑкључиви режимвеличина ведра „strbin“ не Ñме бити нулаграничник мора бити један знакпревише параметара за радњу „%s“грешка премештања улаза: %llu. ред има %llu поља (претходни ред има %llu); видите „--help“ да иÑкључите иÑкључиви режимгрешка премештања улаза: %lu. ред има %lu поља (претходни ред има %lu); видите „--help“ да иÑкључите иÑкључиви режимнепознат чинилац „%d“ грешка пиÑањаPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %неиÑправан улаз: затражено је поље %, %. ред има Ñамо % поља%s у %. реду поље %: „%s“грешка премештања улаза: %. ред има % поља (претходни ред има %); видите „--help“ да иÑкључите иÑкључиви режимгрешка преокретања поља улаза: %. ред има % поља (претходни ред има %); видите „--help“ да иÑкључите иÑкључиви режим%. ред (поље %): провера није уÑпела: %. ред има % поља (очекујем %)провера није уÑпела: %. ред има % поља (претходни ред има %)провера није уÑпела: ÑƒÐ½Ð¾Ñ Ð¸Ð¼Ð° % реда (очекујем %)% ред% реда% редова% поље% поља% пољаулазна грешка за радњу „%s“: поља %,% имају различит број ÑтавкинеиÑправна процентна вредноÑÑ‚ „%“„crosstab“ захтева тачно 2 поља, нађох %„crosstab“ подржава једну радњу, нађох %datamash-1.9/po/sr.po0000644000000000000000000012205714774035524010220 # Serbian translation for datamash. # Copyright © 2020 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # МироÑлав Ðиколић , 2014—2020. msgid "" msgstr "" "Project-Id-Version: datamash-1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2020-03-31 16:53+0200\n" "Last-Translator: МироÑлав Ðиколић \n" "Language-Team: Serbian <(nothing)>\n" "Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Virtaal 0.7.1\n" "X-Bugs: Report translation errors to the Language-Team address.\n" #: lib/closeout.c:121 msgid "write error" msgstr "грешка пиÑања" #: lib/error.c:208 msgid "Unknown system error" msgstr "Ðепозната грешка ÑиÑтема" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: опција „%s%s“ је нејаÑна\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: опција „%s%s“ је нејаÑна; могућноÑти:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: непозната опција „%s%s“\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: опција „%s%s“ не дозвољава аргумент\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: опција „%s%s“ захтева аргумент\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: неиÑправна опција -- „%c“\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: опција захтева аргумент -- „%c“\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "„" #: lib/quotearg.c:355 msgid "'" msgstr "“" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Запаковао је %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Запаковао је %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Лиценца ОЈЛв3+: ГÐУ ОЈЛ издање 3 или новије <%s>.\n" "Ово је Ñлободан Ñофтвер: Ñлободни Ñте да га мењате и раÑподељујете.\n" "Ðе поÑтоји ÐИКÐКВРГÐРÐÐЦИЈÐ, у оквирима дозвољеним законом.\n" "\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "ÐапиÑао је %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "ÐапиÑали Ñу %s и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "ÐапиÑали Ñу %s, %s, и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "%s, и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "%s, %s, и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "%s, %s, %s, и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "%s, %s, %s, %s,\n" "и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, и %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "ÐапиÑали Ñу %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, и други.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "Грешке пријавите на: %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "%s грешке пријавите на: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Матична Ñтраница „%s“: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Општа помоћ кориÑтећи Гнуов Ñофтвер: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "меморија је потрошена" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "неиÑправан %s%s аргумент „%s“" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "неиÑправан ÑÑƒÑ„Ð¸ÐºÑ Ñƒ %s%s аргументу „%s“" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s аргумент „%s“ је превелик" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "ниÑам нашао назив Ñтупца „%s“ у улазној датотеци" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Употреба: %s [ОПЦИЈÐ] op [fld] [op fld ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Обавите радње бројева/ниÑки на улазу из Ñтандардног улаза." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "„op“ је радња за обављање. Ðко Ñе кориÑти примарна радња,\n" "мора бити наведена прва, за којом по избору Ñледе друге радње.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "„fld“ је улазно поље за коришћење; „fld“ може бити број (1=прво поље),\n" "или назив поља када Ñе кориÑте опције „-H“ или „--header-in“.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Више поља може бити наведено зарезом (нпр. 1,6,8). ОпÑег поља\n" "може бити наведен цртицом (нпр. 2-8). КориÑтите двотачке за\n" "радње које захтевају пар поља (нпр. „pcov 2:6“).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Примарне радње:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Радње издвајања редова:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Радње над редовима:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Радње бројевног групиÑања:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Радње текÑтуалног/бројевног групиÑања:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Радње ÑтатиÑтичког групиÑања:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Опције:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Опције групиÑања:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments преÑкаче редове коментара (који почињу Ñа # " "или ;\n" " и по могућÑтву празнином)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] групише путем поља X,[Y,Z];\n" " еквивалент примарној радњи „groupby“\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr " --header-in први улазни ред јеÑу заглавља Ñтупца\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr " --header-out иÑпиÑује заглавља Ñтупца као први ред\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers иÑто као „--header-in --header-out“\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case занемарује велика/мала Ñлова када пореди текÑÑ‚;\n" " ово утиче на групиÑање, и на радње ниÑке\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort ређа улаз пре групиÑања; ово уклања потребу\n" " за ручним преÑпајањем улаза кроз „sort“\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X кориÑти „X“ као граничник поља излаза\n" " (оÑновно: кориÑти иÑти граничник као „-t/-W“)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Опције радње датотеке:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict допушта редове Ñа променљивим бројем поља\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X попуњава недоÑтајуће вредноÑти Ñа X (оÑновно " "%s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Опште опције:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X кориÑти X умеÑто табулатора као граничника поља\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=ЗÐПИС иÑпиÑује бројевне вредноÑти Ñа „printf“ Ñтилом\n" " покретни зарез ЗÐПИС.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X кориÑти „X“ као граничник поља излаза\n" " (оÑновно: кориÑти иÑти граничник као „-t/-W“)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm преÑкаче вредноÑти „NA/NaN“\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N заокружује бројевни излаз на N децимална меÑта\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace кориÑти празнине (један или више размака и/или " "табулаторе)\n" " за граничнике поља\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr " -z, --zero-terminated завршава редове 0 бајтом, не новим редом\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Примери:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "ИÑпиÑује збир и Ñредње вредноÑти из 1. Ñтупца:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Улаз премештања:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "За више података о коришћењу и примере, видите\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Приручник и још примера је доÑтупно на\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "неиÑправан улаз: затражено је поље %, %. ред има Ñамо " "% поља" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s у %. реду поље %: „%s“" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "грешка премештања улаза: %. ред има % поља (претходни ред " "има %);\n" "видите „--help“ да иÑкључите иÑкључиви режим" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "грешка преокретања поља улаза: %. ред има % поља " "(претходни ред има %);\n" "видите „--help“ да иÑкључите иÑкључиви режим" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "%. ред (поље %):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "провера није уÑпела: %. ред има % поља (очекујем " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "провера није уÑпела: %. ред има % поља (претходни ред има " "%)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "провера није уÑпела: ÑƒÐ½Ð¾Ñ Ð¸Ð¼Ð° % реда (очекујем %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% ред" msgstr[1] "% реда" msgstr[2] "% редова" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% поље" msgstr[1] "% поља" msgstr[2] "% поља" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "грешка доделе хеш меморије" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "ниÑам уÑпео да покренем „sort“: није уÑпело „popen“" #: src/datamash.c:1237 msgid "read error" msgstr "грешка читања" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "грешка читања (при затварању)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "неиÑправна вредноÑÑ‚ оÑнове64" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "граничник мора бити један знак" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "недоÑтају одредници радње" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "„-H“ или „--header-in“ мора да Ñе кориÑти Ñа именованим Ñтупцима" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "неиÑправан параметар празног групиÑања" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "неиÑправна бројевна вредноÑÑ‚ „%s“" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "неиÑправан операнд „%s“" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "неиÑправан операнд „%s“" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "неиÑправан операнд „%s“" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X кориÑти X умеÑто табулатора као граничника поља\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict допушта редове Ñа променљивим бројем поља\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr " -z, --zero-terminated завршава редове 0 бајтом, не новим редом\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Примери:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "неиÑправна бројевна вредноÑÑ‚ „%s“" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "неиÑправна бројевна вредноÑÑ‚ „%s“" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "неиÑправна бројевна вредноÑÑ‚ „%s“" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "неиÑправан пар поља за радњу „%s“" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "неиÑправна радња „%s“" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "неиÑправна бројевна вредноÑÑ‚ „%s“" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "неиÑправно поље „%s“ за радњу „%s“" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "ниÑам уÑпео да покренем „sort“: није уÑпело „popen“" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "ниÑам уÑпео да покренем „sort“: није уÑпело „popen“" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "ниÑам уÑпео да покренем „sort“: није уÑпело „popen“" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "Ð·Ð°Ð¿Ð¸Ñ â€ž%s“ нема директиву „%%“" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "запиÑу „%s“ недоÑтаје иÑправна врÑта након „%%“" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "Ð·Ð°Ð¿Ð¸Ñ â€ž%s“ има непознату/неиÑправну директиву врÑте „%%%c“" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "Ð·Ð°Ð¿Ð¸Ñ â€ž%s“ има превише директива „%%“" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "улазна грешка за радњу „%s“: поља %,% имају различит број " "Ñтавки" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "неиÑправна бројевна вредноÑÑ‚" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "неиÑправна вредноÑÑ‚ оÑнове64" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "неиÑправан пар поља за радњу „%s“" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "превише параметара за радњу „%s“" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "величина ведра „strbin“ не Ñме бити нула" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "неиÑправна процентна вредноÑÑ‚ „%“" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "неиÑправна Ñредња вредноÑÑ‚ Ñкраћења %Lg (очекивах 0 <= X <= 0.5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "неиÑправна врÑта добави број „%c“" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "недоÑтаје поље за радњу „%s“" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "неиÑправан опÑег поља за радњу „%s“" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "неиÑправан пар поља за радњу „%s“" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "неиÑправно поље „%s“ за радњу „%s“" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "опÑег поља за „%s“ мора бити бројни" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "недоÑтаје параметар за радњу „%s“" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "неиÑправан параметар „%s“ за радњу „%s“" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "радња „%s“ захтева парове поља" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "радња „%s“ не може кориÑтити пар поља" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "Ñукобљавајућа радња „%s“" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "неиÑправна радња „%s“" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "нађох Ñукобљавајућу радњу: очекивах %s радње, али нађох %s радње %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "неиÑправна опција „%s“ за проверу радње" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "очекиван је број након опције у операцији „check“" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "неиÑправна вредноÑÑ‚ нула за редове/поља у операцији „check“" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "број линија/редова је већ поÑтављен у операцији „check“" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "број поља/колона је већ поÑтављен у операцији „check“" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "„crosstab“ захтева тачно 2 поља, нађох %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "„crosstab“ подржава једну радњу, нађох %" #: src/op-parser.c:751 msgid "missing operation" msgstr "недоÑтаје радња" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "додатни операнд „%s“" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "недоÑтаје Ñкрипт (око аргумената)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "неиÑправна бројевна вредноÑÑ‚ „%s“" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "контра коÑа црта на крају одредника" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "назив одредника је предуг" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "неиÑправан операнд „%s“" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "непознат чинилац „%d“\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help приказује ову помоћ и излази\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version иÑпиÑује податке о издању и излази\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Пробајте „%s --help“ за више података.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "недоÑтаје вредноÑÑ‚ заокруживања цифара" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "неиÑправна вредноÑÑ‚ заокруживања цифара „%s“" #~ msgid "Assaf Gordon" #~ msgstr "ÐÑаф Гордон" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full иÑпиÑује читави улазни ред пре оп резултата\n" #~ " (оÑновно: иÑпиÑује Ñамо групиÑане кључеве)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "наредба ређања је предуга (пријавите ову грешку)" #~ msgid "%s home page: \n" #~ msgstr "„%s“ матична Ñтраница: \n" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: опција „--%s“ не дозвољава аргумент\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: непозната опција „--%s“\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: опција „-W %s“ је нејаÑна\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: опција „-W %s“ не дозвољава аргумент\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: опција „-W %s“ захтева аргумент\n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "„op“ је операција за обављање;\n" #~ msgid "File operations:\n" #~ msgstr "Радње над датотекама:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] групише путем поља X,[Y,Z]\n" #~ msgid "For grouping operations 'col' is the input field to use." #~ msgstr "За операције групиÑања „col“ је улазно поље за коришћење." #~ msgid " --debug print helpful debugging information\n" #~ msgstr "" #~ " --debug иÑпиÑује кориÑне податке за уклањање грешака\n" #~ msgid "invalid numeric input in line %zu field %zu: '%s'" #~ msgstr "неиÑправан бројевни улаз у %zu. реду %zu. поља: „%s“" #~ msgid "invalid field value for grouping '%s'" #~ msgstr "неиÑправна вредноÑÑ‚ поља за групиÑање „%s“" #~ msgid "invalid field value (zero) for grouping" #~ msgstr "неиÑправна вредноÑÑ‚ поља (нула) за групиÑање" datamash-1.9/po/stamp-po0000644000000000000000000000001214774035524010701 timestamp datamash-1.9/po/sv.gmo0000644000000000000000000004730114774035524010366 Þ•0°Ó0 | „ ¼ DvZ?Ñ?/QF‡È€P?ÑEW~×”VšëD†?Ë (C_y ®Íê,3.S'‚(ªÓóƒõ…yÿ1 5?1XŠ&œÃªÖ¿] {…•ª7Àø3 AX!l%Ž.´ã&ô)0Z;q3­/á+'=#e‰©ÅÕ×3ö1*8\@•5Ö= &J q OŠ .Ú - !+7!*c!Ž!"Ÿ!"Â!å!$"1("'Z"‚"Ÿ"M¸"K#R#m##‚##¦#$Ê#ï#C$@L$$£$¾$Ñ$%æ$% %2%P% m%$Ž%4³%8è%!&=&W&h&‡&™&"¶&Ù& ÷&1'9J'5„'&º'!á' ((q$(n–(#)())$R)mw)jå)P* b*Ën*G:,u‚,Aø,D:-7-E·-™ý-†—.E/Ed/‘ª/<0“Ê0¡^1L2CM2‘2§2»2Ï2á2"ó2 3073h3*ˆ3$³32Ø3, 4-84f4„4›ˆ4‡$5¬5<¯5ì5õ57 6C62W6Š6¶Ÿ6V7Ëq7!=8 _8i8z88K¦8ò889dA9_¦9#:+*:1V:ˆ:3œ:Ð:3á:;9,;2f;.™;*È;&ó;"<=<\<w<‡<-‹<@¹<>ú<A9=K{=>Ç=H>)O>y>P>,á>+?*:?)e??5 ?,Ö?@$"@.G@&v@@"¼@Fß@D&A&kA’A*©A(ÔA*ýA(BC@B@„BÅB"ßBCC-)C'WCCC*ºC.åC8D>MDŒD¦D ¾DÊDêDúD#E :E[E7zE>²E5ñE,'F"TFwFF€˜F}G&—G)¾G)èG|HyH II[N K L)Fo TE<G6rD|,#…3w! S0fŽ}XdŠ2mRUkIlugq:"`Cv@(H_4J\*c†€%Z&teQ{A';Œi‚O‹Whj1.y pV^P]x>~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7$Iô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„ ¼Øì,I ÿÿÿÿgI ÿÿÿÿ‚I%ÿÿÿÿçI!%ÿÿÿÿPJ ÿÿÿÿfJÿÿÿÿ–JÿÿÿÿÎJÿÿÿÿüJÿÿÿÿKÿÿÿÿ.K& ÿÿÿÿvKÿÿÿÿ‘K+ÿÿÿÿ½K(ÿÿÿÿæK ÿÿÿÿ!L  ÿÿÿÿ>L!.ÿÿÿÿ²L#!.ÿÿÿÿ*M ÿÿÿÿ>MÿÿÿÿwMÿÿÿÿºM$ÿÿÿÿõMÿÿÿÿNÿÿÿÿN'ÿÿÿÿTNÿÿÿÿoN)ÿÿÿÿ™N'ÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2022-02-15 10:37+0100 Last-Translator: Luna Jernberg Language-Team: Swedish Language: sv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); X-Bugs: Report translation errors to the Language-Team address. X-Generator: Poedit 3.0.1 --filler=X fyll i saknade värden med X (standard %s) --format=FORMAT skriv ut numeriska värden med printf stil flyttals FORMAT. --header-in första indatarad är kolumnrubriker --header-out skriv ut kolumnrubriker som första rad --narm hoppa över NA/NaN-värden --no-strict tillÃ¥t rader med varierande antal fält --output-delimiter=X använd X istället som utdatafältsavgränsare (standard: använd samma avgränsare som -t/-W) -C --skip-comments skippa kommentarsrader (börjar med '#' " eller ';' " och valfritt blanksteg) -H, --headers samma som â€--header-in --header-out†-R, --round=N avrunda numerisk utdata till N decimaler -W, --whitespace använd blanktecken (en eller flera mellanslag eller tabulatorer) som fältseparatorer -g, --group=X[,Y,Z] gruppera via fälten X,[Y,Z]; likvärdig med den primära Ã¥tgärden â€groupby†-i, --ignore-case ignorera skiftläge dÃ¥ text jämförs; detta pÃ¥verkar gruppering och strängÃ¥tgärder -s, --sort sortera indata innan gruppering; detta tar bort behovet av att manuellt skicka indata genom â€sort†-t, --field-separator=X använd X istället för TAB som fältseparator -z, --zero-terminated avsluta rader med nollbyte, inte nyrad %llu fält%llu fält%llu rad%llu rader%lu fält%lu fält%lu rad%lu rader%s hemsida: <%s> %s i rad %llu fält %llu: â€%sâ€%s i rad %lu fält %lu: â€%sâ€argument â€%3$s†till %1$s%2$s är för stort%s: ogiltig flagga -- â€%c†%s: flaggan â€%s%s†tar inget argument %s: flaggan â€%s%s†är tvetydig %s: flaggan â€%s%s†är tvetydig; möjligheter:%s: flaggan â€%s%s†kräver ett argument %s: flaggan kräver ett argument -- â€%c†%s: okänd flagga â€%s%s†â€â€flt†är indatafältet att använda. â€flt†kan vara ett tal (1=första fältet), eller ett fältnamn dÃ¥ flaggorna -H eller --header-in används. â€Ã¥tg†är Ã¥tgärden att utföra. Om en primär Ã¥tgärd används mÃ¥ste den listas först, möjligen följd av andra Ã¥tgärder. ©-H eller --header-in mÃ¥ste användas med namngivna kolumnerExempel:FilÃ¥tgärdsflaggor: För utförlig användningsinformation och exempel, se Allmänna flaggor: Allmän hjälp med att använda GNU-program: <%s> Grupperingsflaggor: Licens GPLv3+: GNU GPL version 3 eller senare <%s>. Detta är fri programvara: du fÃ¥r lov att ändra och vidaredistribuera den. Det finns INGEN GARANTI, sÃ¥ lÃ¥ngt lagen tillÃ¥ter. RadfiltreringsÃ¥tgärder: Flera fält kan listas med ett komma (t.ex. 1,6,8). Ett intervall av fält kan listas med ett tankstreck (t.ex. 2-8). Använd kolon för Ã¥tgärder som kräver ett par av fält (t.ex. â€pcov 2:6â€). Numeriska grupperingsÃ¥tgärder: Flaggor: Paketerad av %s Paketerad av %s (%s) Per rads-Ã¥tgärder: Utför numeriska Ã¥tgärder eller strängÃ¥tgärder pÃ¥ indata frÃ¥n stdin.Primära Ã¥tgärder: Skriv summan och medelvärdet av värden frÃ¥n kolumn 1:Rapportera fel i %s till %s Rapportera kommentarer om översättningen till Rapportera fel till %s Rapportera kommentarer om översättningen till Statistiska grupperingsÃ¥tgärder: Textuella/numeriska grupperingsÃ¥tgärder: Handboken och fler exempel är tillgängliga pÃ¥ Transponera indata:Försök med â€%s --help†för mer information. Okänt systemfelAnvändning: %s [FLAGGA] Ã¥tg [flt] [Ã¥tg flt ...] Skrivet av %s och %s. Skrivet av %s, %s, %s, %s, %s, %s, %s, %s, %s med flera. Skrivet av %s, %s, %s, %s, %s, %s, %s, %s och %s. Skrivet av %s, %s, %s, %s, %s, %s, %s och %s. Skrivet av %s, %s, %s, %s, %s, %s och %s. Skrivet av %s, %s, %s, %s, %s och %s. Skrivet av %s, %s, %s, %s och %s. Skrivet av %s, %s, %s och %s. Skrivet av %s, %s och %s. Skrivet av %s. â€omvänt snedstreck i slutet av identifierarenkontroll misslyckades: indata hade %llu rader (förväntar %llu)kontroll misslyckades: indata hade %lu rader (förväntar %lu)kontroll misslyckades: rad %llu har %llu fält (förväntar %llu)kontroll misslyckades: rad %llu har %llu fält (föregÃ¥ende rad hade %llu)kontroll misslyckades: rad %lu har %lu fält (förväntar %lu)kontroll misslyckades: rad %lu har %lu fält (föregÃ¥ende rad hade %lu)kolumnnamnet %s hittades inte i indatafilmotstridig Ã¥tgärd %smotstridig Ã¥tgärd funnen: förväntar %s-Ã¥tgärder, men fann %s-Ã¥tgärden %scrosstab kräver exakt 2 fält, hittade %llucrosstab kräver exakt 2 fält, hittade %lucrosstab stöder en Ã¥tgärd, hittade %llucrosstab stöder en Ã¥tgärd, hittade %luextra operand %smisslyckades att köra â€sortâ€: popen misslyckadesfältintervall för %s mÃ¥ste vara numerisktformat %s har inget %%direktivformat %s har för mÃ¥nga %%direktivformat %s har okänt/ogiltigt typ %%%cdirektivformat %s saknar giltig typ efter '%%'minnesallokeringsfel för hashidentifierarnamnet är för lÃ¥ngtindatafel för Ã¥tgärden %s: fälten %llu,%llu har olika antal posterindatafel för Ã¥tgärden %s: fälten %lu,%lu har olika antal posterfelaktigt argument till %s%s: â€%sâ€ogiltigt base64-värdeogiltigt fält â€%s†för Ã¥tgärden %sogiltigt par av fält för Ã¥tgärden %sogiltigt fältintervall för Ã¥tgärden %sogiltig getnum-typ '%c'ogiltigt indata: fält %llu begärdes, rad %llu har bara %llu fältogiltigt indata: fält %lu begärdes, rad %lu har bara %lu fältogiltigt numeriskt värdeogiltigt numeriskt värde â€%sâ€ogiltig operand %sogiltig Ã¥tgärd %sogiltig flagga %s för Ã¥tgärden â€checkâ€ogiltig parameter %s för Ã¥tgärden %sogiltigt percentilvärde %lluogiltigt percentilvärde %luogiltigt värde %s för avrundningssiffrorfelaktigt suffix i argument till %s%s â€%sâ€ogiltigt trimmedelvärde %Lg (förväntat 0 <= X <= 0,5)ogiltigt värde noll för rader/fält i Ã¥tgärden â€checkâ€rad %llu (%llu fält): rad %lu (%lu fält): minnet slutsaknar fält för Ã¥tgärden %ssaknar Ã¥tgärdsaknar Ã¥tgärdsbeskrivningsaknar parameter för Ã¥tgärden %ssaknar avrundningssiffror värdesaknar skript (bland argument)tal förväntades efter flagga i Ã¥tgärden â€checkâ€antal fält/kolumner redan inställda i Ã¥tgärden â€checkâ€antal rader redan inställda i Ã¥tgärden â€checkâ€Ã¥tgärden %s kan inte använda par av fältÃ¥tgärden %s kräver par av fältläsfelläsfel (vid stängning)indatafel för reverse-fält: rad %llu har %llu fält (föregÃ¥ende rader hade %llu); se --help för att inaktivera strikt lägeindatafel för reverse-fält: rad %lu har %lu fält (föregÃ¥ende rader hade %lu); se --help för att inaktivera strikt lägestrbin-hinkstorlek fÃ¥r inte vara nollavskiljaren mÃ¥ste vara endast ett teckenför mÃ¥nga parametrar för Ã¥tgärden %sindatafel för transpose: rad %llu har %llu fält (föregÃ¥ende rader hade %llu); se --help för att inaktivera strikt lägeindatafel för transpose: rad %lu har %lu fält (föregÃ¥ende rader hade %lu); se --help för att inaktivera strikt lägeokänd symbol %d skrivfelPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %ogiltigt indata: fält % begärdes, rad % har bara % fält%s i rad % fält %: â€%sâ€indatafel för transpose: rad % har % fält (föregÃ¥ende rader hade %); se --help för att inaktivera strikt lägeindatafel för reverse-fält: rad % har % fält (föregÃ¥ende rader hade %); se --help för att inaktivera strikt lägerad % (% fält): kontroll misslyckades: rad % har % fält (förväntar %)kontroll misslyckades: rad % har % fält (föregÃ¥ende rad hade %)kontroll misslyckades: indata hade % rader (förväntar %)% rad% rader% fält% fältindatafel för Ã¥tgärden %s: fälten %,% har olika antal posterogiltigt percentilvärde %crosstab kräver exakt 2 fält, hittade %crosstab stöder en Ã¥tgärd, hittade %datamash-1.9/po/sv.po0000644000000000000000000011033314774035524010216 # Swedish messages for datamash. # Copyright © 2015, 2016, 2017 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Translations from Coreutils: # Peter Antman , 1997. # Thomas Olsson , 1997. # Daniel Resare 1999, 2000. # Göran Uddeborg , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015. # # Datamash translation: # Anders Jonsson , 2015, 2016, 2017. # Luna Jernberg , 2022. # msgid "" msgstr "" "Project-Id-Version: datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2022-02-15 10:37+0100\n" "Last-Translator: Luna Jernberg \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "X-Generator: Poedit 3.0.1\n" #: lib/closeout.c:121 msgid "write error" msgstr "skrivfel" #: lib/error.c:208 msgid "Unknown system error" msgstr "Okänt systemfel" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: flaggan â€%s%s†är tvetydig\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: flaggan â€%s%s†är tvetydig; möjligheter:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: okänd flagga â€%s%sâ€\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: flaggan â€%s%s†tar inget argument\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: flaggan â€%s%s†kräver ett argument\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: ogiltig flagga -- â€%câ€\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: flaggan kräver ett argument -- â€%câ€\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "â€" #: lib/quotearg.c:355 msgid "'" msgstr "â€" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Paketerad av %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Paketerad av %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Licens GPLv3+: GNU GPL version 3 eller senare <%s>.\n" "Detta är fri programvara: du fÃ¥r lov att ändra och vidaredistribuera den.\n" "Det finns INGEN GARANTI, sÃ¥ lÃ¥ngt lagen tillÃ¥ter.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Skrivet av %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Skrivet av %s och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Skrivet av %s, %s och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Skrivet av %s, %s, %s\n" "och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Skrivet av %s, %s, %s,\n" "%s och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Skrivet av %s, %s, %s,\n" "%s, %s och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Skrivet av %s, %s, %s,\n" "%s, %s, %s och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Skrivet av %s, %s, %s,\n" "%s, %s, %s, %s\n" "och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Skrivet av %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s och %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Skrivet av %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s med flera.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "" "Rapportera fel till %s\n" "Rapportera kommentarer om översättningen till \n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "" "Rapportera fel i %s till %s\n" "Rapportera kommentarer om översättningen till \n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "%s hemsida: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "Allmän hjälp med att använda GNU-program: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "minnet slut" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "felaktigt argument till %s%s: â€%sâ€" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "felaktigt suffix i argument till %s%s â€%sâ€" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "argument â€%3$s†till %1$s%2$s är för stort" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "kolumnnamnet %s hittades inte i indatafil" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Användning: %s [FLAGGA] Ã¥tg [flt] [Ã¥tg flt ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Utför numeriska Ã¥tgärder eller strängÃ¥tgärder pÃ¥ indata frÃ¥n stdin." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "â€Ã¥tg†är Ã¥tgärden att utföra. Om en primär Ã¥tgärd används\n" "mÃ¥ste den listas först, möjligen följd av andra Ã¥tgärder.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "â€flt†är indatafältet att använda. â€flt†kan vara ett tal (1=första " "fältet),\n" "eller ett fältnamn dÃ¥ flaggorna -H eller --header-in används.\n" # Hyphen used in example rather than dash. #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Flera fält kan listas med ett komma (t.ex. 1,6,8). Ett intervall\n" "av fält kan listas med ett tankstreck (t.ex. 2-8). Använd kolon för\n" "Ã¥tgärder som kräver ett par av fält (t.ex. â€pcov 2:6â€).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "Primära Ã¥tgärder:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "RadfiltreringsÃ¥tgärder:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Per rads-Ã¥tgärder:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Numeriska grupperingsÃ¥tgärder:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Textuella/numeriska grupperingsÃ¥tgärder:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Statistiska grupperingsÃ¥tgärder:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Flaggor:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Grupperingsflaggor:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C --skip-comments skippa kommentarsrader (börjar med '#' \" eller " "';'\n" "\"\n" " och valfritt blanksteg)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] gruppera via fälten X,[Y,Z];\n" " likvärdig med den primära Ã¥tgärden â€groupbyâ€\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr " --header-in första indatarad är kolumnrubriker\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr " --header-out skriv ut kolumnrubriker som första rad\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers samma som â€--header-in --header-outâ€\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ignorera skiftläge dÃ¥ text jämförs;\n" " detta pÃ¥verkar gruppering och strängÃ¥tgärder\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort sortera indata innan gruppering; detta tar bort\n" " behovet av att manuellt skicka indata genom " "â€sortâ€\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X använd X istället som utdatafältsavgränsare\n" " (standard: använd samma avgränsare som -t/-W)\n" "\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "FilÃ¥tgärdsflaggor:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr " --no-strict tillÃ¥t rader med varierande antal fält\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X fyll i saknade värden med X (standard %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Allmänna flaggor:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X använd X istället för TAB som fältseparator\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=FORMAT skriv ut numeriska värden med printf stil\n" " flyttals FORMAT.\n" "\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X använd X istället som utdatafältsavgränsare\n" " (standard: använd samma avgränsare som -t/-W)\n" "\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm hoppa över NA/NaN-värden\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr " -R, --round=N avrunda numerisk utdata till N decimaler\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace använd blanktecken (en eller flera mellanslag " "eller\n" " tabulatorer) som fältseparatorer\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr " -z, --zero-terminated avsluta rader med nollbyte, inte nyrad\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Exempel:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "Skriv summan och medelvärdet av värden frÃ¥n kolumn 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Transponera indata:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "För utförlig användningsinformation och exempel, se\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Handboken och fler exempel är tillgängliga pÃ¥\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "ogiltigt indata: fält % begärdes, rad % har bara " "% fält" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s i rad % fält %: â€%sâ€" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "indatafel för transpose: rad % har % fält (föregÃ¥ende " "rader hade %);\n" "se --help för att inaktivera strikt läge" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "indatafel för reverse-fält: rad % har % fält (föregÃ¥ende " "rader hade %);\n" "se --help för att inaktivera strikt läge" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "rad % (% fält):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "kontroll misslyckades: rad % har % fält (förväntar " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "kontroll misslyckades: rad % har % fält (föregÃ¥ende rad " "hade %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "kontroll misslyckades: indata hade % rader (förväntar %)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% rad" msgstr[1] "% rader" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% fält" msgstr[1] "% fält" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "minnesallokeringsfel för hash" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "misslyckades att köra â€sortâ€: popen misslyckades" #: src/datamash.c:1237 msgid "read error" msgstr "läsfel" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "läsfel (vid stängning)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "ogiltigt base64-värde" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "avskiljaren mÃ¥ste vara endast ett tecken" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "saknar Ã¥tgärdsbeskrivning" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H eller --header-in mÃ¥ste användas med namngivna kolumner" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "ogiltig tom grupperingsparameter" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "ogiltigt numeriskt värde â€%sâ€" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "ogiltig operand %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "ogiltig operand %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "ogiltig operand %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X använd X istället för TAB som fältseparator\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr " --no-strict tillÃ¥t rader med varierande antal fält\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr " -z, --zero-terminated avsluta rader med nollbyte, inte nyrad\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Exempel:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "ogiltigt numeriskt värde â€%sâ€" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "ogiltigt numeriskt värde â€%sâ€" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "ogiltigt numeriskt värde â€%sâ€" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "ogiltigt par av fält för Ã¥tgärden %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "ogiltig Ã¥tgärd %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "ogiltigt numeriskt värde â€%sâ€" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "ogiltigt fält â€%s†för Ã¥tgärden %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "misslyckades att köra â€sortâ€: popen misslyckades" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "misslyckades att köra â€sortâ€: popen misslyckades" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "misslyckades att köra â€sortâ€: popen misslyckades" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "format %s har inget %%direktiv" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "format %s saknar giltig typ efter '%%'" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "format %s har okänt/ogiltigt typ %%%cdirektiv" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "format %s har för mÃ¥nga %%direktiv" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "indatafel för Ã¥tgärden %s: fälten %,% har olika antal " "poster" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "ogiltigt numeriskt värde" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "ogiltigt base64-värde" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "ogiltigt par av fält för Ã¥tgärden %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "för mÃ¥nga parametrar för Ã¥tgärden %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "strbin-hinkstorlek fÃ¥r inte vara noll" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "ogiltigt percentilvärde %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "ogiltigt trimmedelvärde %Lg (förväntat 0 <= X <= 0,5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "ogiltig getnum-typ '%c'" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "saknar fält för Ã¥tgärden %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "ogiltigt fältintervall för Ã¥tgärden %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "ogiltigt par av fält för Ã¥tgärden %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "ogiltigt fält â€%s†för Ã¥tgärden %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "fältintervall för %s mÃ¥ste vara numeriskt" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "saknar parameter för Ã¥tgärden %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "ogiltig parameter %s för Ã¥tgärden %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "Ã¥tgärden %s kräver par av fält" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "Ã¥tgärden %s kan inte använda par av fält" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "motstridig Ã¥tgärd %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "ogiltig Ã¥tgärd %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "motstridig Ã¥tgärd funnen: förväntar %s-Ã¥tgärder, men fann %s-Ã¥tgärden %s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "ogiltig flagga %s för Ã¥tgärden â€checkâ€" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "tal förväntades efter flagga i Ã¥tgärden â€checkâ€" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "ogiltigt värde noll för rader/fält i Ã¥tgärden â€checkâ€" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "antal rader redan inställda i Ã¥tgärden â€checkâ€" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "antal fält/kolumner redan inställda i Ã¥tgärden â€checkâ€" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "crosstab kräver exakt 2 fält, hittade %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "crosstab stöder en Ã¥tgärd, hittade %" #: src/op-parser.c:751 msgid "missing operation" msgstr "saknar Ã¥tgärd" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "extra operand %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "saknar skript (bland argument)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "ogiltigt numeriskt värde â€%sâ€" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "omvänt snedstreck i slutet av identifieraren" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "identifierarnamnet är för lÃ¥ngt" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "ogiltig operand %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "okänd symbol %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help visa denna hjälptext och avsluta\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version visa versionsinformation och avsluta\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Försök med â€%s --help†för mer information.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "saknar avrundningssiffror värde" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "ogiltigt värde %s för avrundningssiffror" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full skriv ut hela indataraden innan resultat av " #~ "Ã¥tg\n" #~ " (standard: skriv ut endast de grupperade\n" #~ " nycklarna)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "sorteringskommando för lÃ¥ngt (rapportera gärna detta fel)" #~ msgid "%s home page: \n" #~ msgstr "%s hemsida: \n" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: flaggan â€--%s†tar inget argument\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: okänd flagga â€--%sâ€\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: flaggan â€-W %s†är tvetydig\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: flaggan â€-W %s†tar inget argument\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: flaggan â€-W %s†kräver ett argument\n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "â€Ã¥tg†är Ã¥tgärden att utföra;\n" #~ msgid "File operations:\n" #~ msgstr "FilÃ¥tgärder:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] gruppera efter fälten X,[Y,Z]\n" datamash-1.9/po/uk.gmo0000644000000000000000000006555514774035524010370 Þ•0°Ó0 | „ ¼ 4D5vz?ñ?1/qF¡‡è€p?ñE1w~÷”vš D¦?ë+Hc™ ­Îí ,&S.s'¢(Êóƒ…™1# U_1xª&¼ãªö¡¿½} ›¥µÊ7à3-ax!Œ%®.Ô&;)Pz;‘3Í/+1']#…©Éåõ÷31J8|@µ5ö=, &j ‘ Oª .ú -)!+W!*ƒ!®!"¿!"â!"$#"1H"'z"¢"¿"MØ"K&#r###¢##Æ#$ê#$C($@l$­$Ã$Þ$ñ$%%%,%R%p% %$®%4Ó%8&A&]&w&ˆ&§&¹&"Ö&ù& '18'9j'5¤'&Ú'!( #(.(qD(n¶(#%)(I)$r)m—)j*p* ‚*0Ž*t¿,Ý4-ˆ.p›.I /lV/Ã/ãÔ0L¸1‚2ìˆ2­u3ý#4!5p#6Ž”69#7A]75Ÿ7=Õ7)8,=8*j8?•87Õ8i 9=w9Zµ9L:J]:1¨:Ú:"Ý: <=p=‚=1”=™Æ=%`>•†> ?™=?1×@y A3ƒB·BÌB èB/ Cu9C!¯CzÑCRLD?ŸD=ßDOEpmE7ÞEWF0nFlŸF G@'G6hG2ŸG.ÒG*H&,H"SHvH•H¦Hk©HzIxIp JŽzJm K‹wKeL$iL‰ŽLUMTnMtÃMs8N¬NCËNFO;VON’OšáOi|PpæPBWQŒšQŠ'R7²R,êRASCYSMS,ëS~T{—T4U<HU(…U)®U>ØUEV=]V<›VhØVFAW¡ˆWn*X%™X#¿X3ãX6Y#NY7rY>ªYOéYB9Z]|ZcÚZI>[Yˆ[Yâ[+<\Lh\.µ\+ä]I_HZ_@£_ä_ý`b63b[N K L)Fo TE<G6rD|,#…3w! S0fŽ}XdŠ2mRUkIlugq:"`Cv@(H_4J\*c†€%Z&teQ{A';Œi‚O‹Whj1.y pV^P]x>~„bn$?=/ƒ-+ˆ5YB9aM8s ‰z‡7jbô  4 X | ˜ ¼ à ü $@Th| ¼à Dh„°Üø  rb ÿÿÿÿ­b ÿÿÿÿÈb%ÿÿÿÿ-c!%ÿÿÿÿ–c ÿÿÿÿ¬cÿÿÿÿÜcÿÿÿÿdÿÿÿÿBdÿÿÿÿZdÿÿÿÿtd& ÿÿÿÿ¼dÿÿÿÿ×d+ÿÿÿÿe(ÿÿÿÿ,eG ÿÿÿÿ¢e ÿÿÿÿÉed<kÿÿÿÿÙfz<kÿÿÿÿÿg ÿÿÿÿh9 ÿÿÿÿ‡h9 >ÿÿÿÿ iQ"ÿÿÿÿ‚i  ÿÿÿÿ¸i ÿÿÿÿæiW.ÿÿÿÿmj:ÿÿÿÿ¨jRÿÿÿÿûjqÿÿÿÿ --filler=X fill missing values with X (default %s) --format=FORMAT print numeric values with printf style floating-point FORMAT. --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields --output-delimiter=X use X instead as output field delimiter (default: use same delimiter as -t/-W) -C, --skip-comments skip comment lines (starting with '#' or ';' and optional whitespace) -H, --headers same as '--header-in --header-out' -R, --round=N round numeric output to N decimal places -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -g, --group=X[,Y,Z] group via fields X,[Y,Z]; equivalent to primary operation 'groupby' -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %llu field% fields%llu line% lines%lu field% fields%lu line% lines%s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option '%s%s' doesn't allow an argument %s: option '%s%s' is ambiguous %s: option '%s%s' is ambiguous; possibilities:%s: option '%s%s' requires an argument %s: option requires an argument -- '%c' %s: unrecognized option '%s%s' ''fld' is the input field to use. 'fld' can be a number (1=first field), or a field name when using the -H or --header-in options. 'op' is the operation to perform. If a primary operation is used, it must be listed first, optionally followed by other operations. (C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: General help using GNU software: <%s> Grouping Options: License GPLv3+: GNU GPL version 3 or later <%s>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Line-Filtering operations: Multiple fields can be listed with a comma (e.g. 1,6,8). A range of fields can be listed with a dash (e.g. 2-8). Use colons for operations which require a pair of fields (e.g. 'pcov 2:6'). Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Primary operations: Print the sum and the mean of values from column 1:Report %s bugs to: %s Report bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorUsage: %s [OPTION] op [fld] [op fld ...] Written by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `backslash at end of identifiercheck failed: input had %llu lines (expecting %llu)check failed: input had %lu lines (expecting %lu)check failed: line %llu has %llu fields (expecting %llu)check failed: line %llu has %llu fields (previous line had %llu)check failed: line %lu has %lu fields (expecting %lu)check failed: line %lu has %lu fields (previous line had %lu)column name %s not found in input fileconflicting operation %sconflicting operation found: expecting %s operations, but found %s operation %scrosstab requires exactly 2 fields, found %llucrosstab requires exactly 2 fields, found %lucrosstab supports one operation, found %llucrosstab supports one operation, found %luextra operand %sfailed to run 'sort': popen failedfield range for %s must be numericformat %s has no %% directiveformat %s has too many %% directivesformat %s has unknown/invalid type %%%c directiveformat %s missing valid type after '%%'hash memory allocation erroridentifier name too longinput error for operation %s: fields %llu,%llu have different number of itemsinput error for operation %s: fields %lu,%lu have different number of itemsinvalid %s%s argument '%s'invalid base64 valueinvalid field '%s' for operation %sinvalid field pair for operation %sinvalid field range for operation %sinvalid getnum type '%c'invalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid numeric value '%s'invalid operand %sinvalid operation %sinvalid option %s for operation checkinvalid parameter %s for operation %sinvalid percentile value %lluinvalid percentile value %luinvalid rounding digits value %sinvalid suffix in %s%s argument '%s'invalid trim mean value %Lg (expected 0 <= X <= 0.5)invalid value zero for lines/fields in operation 'check'line %llu (%llu fields): line %lu (%lu fields): memory exhaustedmissing field for operation %smissing operationmissing operation specifiersmissing parameter for operation %smissing rounding digits valuemissing script (among arguments)number expected after option in operation 'check'number of fields/columns already set in operation 'check'number of lines/rows already set in operation 'check'operation %s cannot use pair of fieldsoperation %s requires field pairsread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modestrbin bucket size must not be zerothe delimiter must be a single charactertoo many parameters for operation %stranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modeunknown token %d write errorProject-Id-Version: GNU datamash 1.4.12.1 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2019-09-01 15:15+0300 Last-Translator: Yuri Chornoivan Language-Team: Ukrainian Language: uk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=4; plural=n==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2; X-Generator: Lokalize 19.11.70 --filler=X заповнити пропущені Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñ€Ñдком X (типово %s) --format=ФОРМÐТ вивеÑти чиÑлові Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñƒ Ñтилі printf на оÑнові запиÑу чиÑел із рухомою крапкою ФОРМÐТ. --header-in перший Ñ€Ñдок вхідних даних Ñ” Ñ€Ñдком заголовків Ñтовпчиків --header-out вивеÑти заголовки Ñтовпчиків у першому Ñ€Ñдку --narm пропуÑкати Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ NA/NaN --no-strict дозволÑти Ñ€Ñдки зі змінною кількіÑтю полів --output-delimiter=X ÑкориÑтатиÑÑ X заміÑть роздільника виведених полів (типова поведінка: ÑкориÑтатиÑÑ Ñ‚Ð¸Ð¼ Ñамим роздільником, що Ñ– у -t/-W) -C, --skip-comments пропуÑтити Ñ€Ñдки коментарів (Ñ€Ñдки, Ñкі починаютьÑÑ Ð· «#» або «;» та необов'Ñзкового пробілу) -H, --headers те Ñаме, що Ñ– --header-in --header-out -R, --round=N заокруглити чиÑловий результат до N деÑÑткових позицій -W, --whitespace викориÑтовувати проміжок (один або декілька пробілів чи Ñимволів табулÑцій) Ñк роздільник полів -g, --group=X[,Y,Z] групувати за полÑми X,[Y,Z]; рівнозначне оÑновній операції «groupby» -i, --ignore-case ігнорувати регіÑтр під Ñ‡Ð°Ñ Ð¿Ð¾Ñ€Ñ–Ð²Ð½ÑÐ½Ð½Ñ Ñ‚ÐµÐºÑтових Ñ€Ñдків; це ÑтоÑуєтьÑÑ Ð´Ñ–Ð¹ з Ð³Ñ€ÑƒÐ¿ÑƒÐ²Ð°Ð½Ð½Ñ Ñ‚Ð° дій над Ñ€Ñдками -s, --sort упорÑдкувати вхідні дані перед групуваннÑм; уÑуває потребу у попередній обробці вхідних даних програмою sort -t, --field-separator=X викориÑтовувати роздільник полів X заміÑть TAB -z, --zero-terminated завершувати Ñ€Ñдки нульовим байтом, а не Ñимволом нового Ñ€Ñдка %llu поле%llu полÑ%llu полів%llu поле%llu Ñ€Ñдок%llu Ñ€Ñдки%llu Ñ€Ñдків%llu Ñ€Ñдок%lu поле%lu полÑ%lu полів%lu поле%lu Ñ€Ñдок%lu Ñ€Ñдки%lu Ñ€Ñдків%lu Ñ€ÑÐ´Ð¾ÐºÐ”Ð¾Ð¼Ð°ÑˆÐ½Ñ Ñторінка %s: <%s> %s у Ñ€Ñдку %llu, поле %llu: «%s»%s у Ñ€Ñдку %lu, поле %lu: «%s»%s%s, аргумент «%s» Ñ” занадто об'ємним%s: некоректний параметр — «%c» %s: Ð´Ð¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð² до параметра «%s%s» не передбачено %s: параметр «%s%s» не Ñ” однозначним %s: неоднозначний параметр «%s%s»; можливі варіанти:%s: до параметра «%s%s» Ñлід додати аргумент %s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° потрібен аргумент -- «%c» %s: невідомий параметр «%s%s» »«поле» — поле вхідних даних, Ñке Ñлід викориÑтати. ЗначеннÑм «полÑ» може бути чиÑло (1=перше поле) або назва полÑ, Ñкщо викориÑтовуютьÑÑ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð¸ -H або --header-in. «операціÑ» — операціÑ, Ñку Ñлід виконати. Якщо викориÑтано оÑновну операцію, вона має бути у ÑпиÑку першою, за нею може бути вказано інші операції. ©Ñкщо Ñтовпчики мають назви, Ñлід викориÑтовувати -H або --header-inПриклади:Параметри дій над файлами: Щоб дізнатиÑÑ Ð±Ñ–Ð»ÑŒÑˆÐµ про кориÑÑ‚ÑƒÐ²Ð°Ð½Ð½Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¾ÑŽ та ознайомитиÑÑ Ð· прикладами, див. Загальні параметри: Загальна довідкова Ñ–Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ñ–Ñ Ñ‰Ð¾Ð´Ð¾ викориÑÑ‚Ð°Ð½Ð½Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð½Ð¾Ð³Ð¾ Ð·Ð°Ð±ÐµÐ·Ð¿ÐµÑ‡ÐµÐ½Ð½Ñ GNU: <%s> Дії з групуваннÑ: Умови Ð»Ñ–Ñ†ÐµÐ½Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ð¸ÐºÐ»Ð°Ð´ÐµÐ½Ð¾ у GPLv3+: GNU GPL верÑÑ–Ñ— 3 або новішій, <%s> Це вільне програмне забезпеченнÑ: ви можете вільно змінювати Ñ– поширювати його. Вам не надаєтьÑÑ Ð–ÐžÐ”ÐИХ ГÐРÐÐТІЙ, окрім гарантій передбачених законодавÑтвом. Дії з Ñ„Ñ–Ð»ÑŒÑ‚Ñ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ€Ñдків: Декілька полів можна вказати, відокремивши запиÑи комами (наприклад 1,6,8). Діапазон полів можна вказати за допомогою дефіÑа (наприклад 2-8). Пари полів Ñлід вказувати за допомогою двокрапки (наприклад «pcov 2:6»). Дії з чиÑлового групуваннÑ: Параметри: Пакувальник: %s Пакувальник: %s (%s) Дії над окремими Ñ€Ñдками: Виконує чиÑлові дії або дії з Ñ€Ñдками над вхідними даними зі stdin.ОÑновні операції: ВивеÑти Ñуму та Ñереднє Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð·Ð½Ð°Ñ‡ÐµÐ½ÑŒ, починаючи зі Ñтовпчика 1:Про вади у %s повідомлÑйте за такою адреÑою: %s ПовідомлÑйте про вади на адреÑу: %s Дії зі ÑтатиÑтичного групуваннÑ: Дії з текÑтового або чиÑлового групуваннÑ: Підручник Ñ– додаткові приклади можна знайти на цій Ñторінці: ТранÑÐ¿Ð¾Ð½ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¸Ñ… даних:Віддайте команду «%s --help», щоб дізнатиÑÑ Ð±Ñ–Ð»ÑŒÑˆÐµ. Ðевідома ÑиÑтемна помилкаКориÑтуваннÑ: %s [ПÐРÐМЕТР] Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ [поле] [Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ Ð¿Ð¾Ð»Ðµ ...] Ðвтори: %s та %s. Ðвтори: %s, %s, %s, %s, %s, %s, %s, %s, %s та інші. Ðвтори: %s, %s, %s, %s, %s, %s, %s, %s та %s. Ðвтори: %s, %s, %s, %s, %s, %s, %s та %s. Ðвтори: %s, %s, %s, %s, %s, %s та %s. Ðвтори: %s, %s, %s, %s, %s та %s. Ðвтори: %s, %s, %s, %s та %s. Ðвтори: %s, %s, %s та %s. Ðвтори: %s, %s та %s. Ðвтор: %s. «Ñимвол зворотної похилої риÑки наприкінці ідентифікатораперевірку не пройдено: у вхідних даних було %llu Ñ€Ñдків (мало бути %llu)перевірку не пройдено: у вхідних даних було %lu Ñ€Ñдків (мало бути %lu)перевірку не пройдено: у Ñ€Ñдку %llu маємо %llu полів (мало бути %llu)перевірку не пройдено: у Ñ€Ñдку %llu маємо %llu полів (у попередньому Ñ€Ñдку було %llu)перевірку не пройдено: у Ñ€Ñдку %lu маємо %lu полів (мало бути %lu)перевірку не пройдено: у Ñ€Ñдку %lu маємо %lu полів (у попередньому Ñ€Ñдку було %lu)у файлі вхідних даних не знайдено Ñтовпчика із назвою %sконфлікт операції %sвиÑвлено конфлікт операцій: мало бути %s операцій, але виÑвлено операцію %s %sÐ´Ð»Ñ crosstab Ñлід вказати точно 2 полÑ, вказано ж %lluÐ´Ð»Ñ crosstab Ñлід вказати точно 2 полÑ, вказано ж %luу crosstab передбачено підтримку лише однієї операції, вказано ж %lluу crosstab передбачено підтримку лише однієї операції, вказано ж %luзайвий операнд %sне вдалоÑÑ Ð²Ð¸ÐºÐ¾Ð½Ð°Ñ‚Ð¸ «sort»: помилка popenдіапазон полів Ð´Ð»Ñ %s має бути чиÑловимформат %s не міÑтить інÑтрукції %%формат %s міÑтить надто багато інÑтрукцій %%у запиÑÑ– форматуваннÑ, %s, міÑтитьÑÑ Ð½ÐµÐ²Ñ–Ð´Ð¾Ð¼Ð° або некоректна інÑÑ‚Ñ€ÑƒÐºÑ†Ñ–Ñ Ñ‰Ð¾Ð´Ð¾ типу, %%%cу запиÑÑ– формату, %s, не виÑтачає коректного типу піÑÐ»Ñ Â«%%»помилка під Ñ‡Ð°Ñ Ñпроби Ð¾Ñ‚Ñ€Ð¸Ð¼Ð°Ð½Ð½Ñ Ð¾Ð±Ð»Ð°Ñті пам’Ñті Ð´Ð»Ñ Ñ…ÐµÑˆ-Ñумназва ідентифікатора Ñ” надто довгоюпомилка у вхідних даних Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s: у полÑÑ… %llu,%llu різна кількіÑть запиÑівпомилка у вхідних даних Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s: у полÑÑ… %lu,%lu різна кількіÑть запиÑівнекоректний аргумент %s%s — «%s»некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ base64некоректне поле, «%s», Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sнекоректна пара полів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sнекоректний діапазон полів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sнекоректний тип getnum, «%c»некоректні вхідні дані: потрібне поле %llu, але у Ñ€Ñдку %llu лише %llu полівнекоректні вхідні дані: потрібне поле %lu, але у Ñ€Ñдку %lu лише %lu полівнекоректне чиÑлове значеннÑнекоректне чиÑлове значеннÑ, «%s»некоректний операнд %sнекоректна операціÑ, %sнекоректний параметр %s Ð´Ð»Ñ Ð´Ñ–Ñ— checkнекоректний параметр %s Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sнекоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ–Ð´Ñотків %lluнекоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ–Ð´Ñотків %luнекоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ ÐºÑ–Ð»ÑŒÐºÐ¾Ñті цифр Ð´Ð»Ñ Ð·Ð°Ð¾ÐºÑ€ÑƒÐ³Ð»ÐµÐ½Ð½Ñ â€” %sнекоректний ÑÑƒÑ„Ñ–ÐºÑ Ñƒ аргументі %s%s: «%s»некоректне Ñереднє Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¾Ð±Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ %Lg (мало бути вказано Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñƒ проміжку 0 <= X <= 0.5)некоректне нульове Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð´Ð»Ñ Ñ€Ñдків або полів у дії «check»рÑдок %llu (%llu полів): Ñ€Ñдок %lu (%lu полів): вичерпано доÑтупну пам’Ñтьпропущено поле Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sпропущено операціюне вказано Ñпецифікаторів дійпропущено параметр Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sне вказано кількіÑть цифр Ð´Ð»Ñ Ð·Ð°Ð¾ÐºÑ€ÑƒÐ³Ð»ÐµÐ½Ð½Ñне вказано Ñкрипт (Ñеред аргументів)піÑÐ»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° у дії «check» мало бути вказано чиÑлокількіÑть полів або Ñтовпчиків у дії «check» вже вказанокількіÑть Ñ€Ñдків у дії «check» вже вказаноу операції %s не можна викориÑтовувати пару Ð¿Ð¾Ð»Ñ–Ð²Ð´Ð»Ñ Ð²Ð¸ÐºÐ¾Ð½Ð°Ð½Ð½Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s Ñлід вказати пари полівпомилка під Ñ‡Ð°Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñпомилка під Ñ‡Ð°Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ (під Ñ‡Ð°Ñ Ð·Ð°ÐºÑ€Ð¸Ñ‚Ñ‚Ñ)помилка обробки полів вхідних даних у зворотному порÑдку: у Ñ€Ñдку %llu Ñ” %llu полів (у попередніх Ñ€Ñдках було %llu); див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим.помилка обробки полів вхідних даних у зворотному порÑдку: у Ñ€Ñдку %lu Ñ” %lu полів (у попередніх Ñ€Ñдках було %lu); див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим.розмір Ñегмента strbin має бути ненульовимрозділювач повинен бути одним Ñимволомзабагато параметрів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %sпомилка під Ñ‡Ð°Ñ Ñ‚Ñ€Ð°Ð½ÑÐ¿Ð¾Ð½ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¸Ñ… даних: у Ñ€Ñдку %llu Ñ” %llu полів (у попередніх Ñ€Ñдках було %llu); див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим.помилка під Ñ‡Ð°Ñ Ñ‚Ñ€Ð°Ð½ÑÐ¿Ð¾Ð½ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¸Ñ… даних: у Ñ€Ñдку %lu Ñ” %lu полів (у попередніх Ñ€Ñдках було %lu); див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим.невідомий ключ %d помилка під Ñ‡Ð°Ñ Ñпроби запиÑуPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeline % (% fields): check failed: line % has % fields (expecting %)check failed: line % has % fields (previous line had %)check failed: input had % lines (expecting %)% line% lines% field% fieldsinput error for operation %s: fields %,% have different number of itemsinvalid percentile value %crosstab requires exactly 2 fields, found %crosstab supports one operation, found %некоректні вхідні дані: потрібне поле %, але у Ñ€Ñдку % лише % полів%s у Ñ€Ñдку %, поле %: «%s»помилка під Ñ‡Ð°Ñ Ñ‚Ñ€Ð°Ð½ÑÐ¿Ð¾Ð½ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¸Ñ… даних: у Ñ€Ñдку % Ñ” % полів (у попередніх Ñ€Ñдках було %); див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим.помилка обробки полів вхідних даних у зворотному порÑдку: у Ñ€Ñдку % Ñ” % полів (у попередніх Ñ€Ñдках було %); див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим.Ñ€Ñдок % (% полів): перевірку не пройдено: у Ñ€Ñдку % маємо % полів (мало бути %)перевірку не пройдено: у Ñ€Ñдку % маємо % полів (у попередньому Ñ€Ñдку було %)перевірку не пройдено: у вхідних даних було % Ñ€Ñдків (мало бути %)% Ñ€Ñдок% Ñ€Ñдки% Ñ€Ñдків% Ñ€Ñдок% поле% полÑ% полів% полепомилка у вхідних даних Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s: у полÑÑ… %,% різна кількіÑть запиÑівнекоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ–Ð´Ñотків %Ð´Ð»Ñ crosstab Ñлід вказати точно 2 полÑ, вказано ж %у crosstab передбачено підтримку лише однієї операції, вказано ж %datamash-1.9/po/uk.po0000644000000000000000000012652314774035524010215 # Ukrainian translation of datamash # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # # Yuri Chornoivan , 2014, 2015, 2016, 2017, 2019. msgid "" msgstr "" "Project-Id-Version: GNU datamash 1.4.12.1\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2019-09-01 15:15+0300\n" "Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=4; plural=n==1 ? 3 : n%10==1 && n%100!=11 ? 0 : " "n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Lokalize 19.11.70\n" #: lib/closeout.c:121 msgid "write error" msgstr "помилка під Ñ‡Ð°Ñ Ñпроби запиÑу" #: lib/error.c:208 msgid "Unknown system error" msgstr "Ðевідома ÑиÑтемна помилка" #: lib/getopt.c:282 #, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: параметр «%s%s» не Ñ” однозначним\n" #: lib/getopt.c:288 #, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: неоднозначний параметр «%s%s»; можливі варіанти:" #: lib/getopt.c:322 #, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: невідомий параметр «%s%s»\n" #: lib/getopt.c:348 #, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: Ð´Ð¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð² до параметра «%s%s» не передбачено\n" #: lib/getopt.c:363 #, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: до параметра «%s%s» Ñлід додати аргумент\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: некоректний параметр — «%c»\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° потрібен аргумент -- «%c»\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "«" #: lib/quotearg.c:355 msgid "'" msgstr "»" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Пакувальник: %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Пакувальник: %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "Умови Ð»Ñ–Ñ†ÐµÐ½Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ð¸ÐºÐ»Ð°Ð´ÐµÐ½Ð¾ у GPLv3+: GNU GPL верÑÑ–Ñ— 3 або новішій, <%s>\n" "Це вільне програмне забезпеченнÑ: ви можете вільно змінювати Ñ– поширювати " "його.\n" "Вам не надаєтьÑÑ Ð–ÐžÐ”ÐИХ ГÐРÐÐТІЙ, окрім гарантій передбачених " "законодавÑтвом.\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Ðвтор: %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Ðвтори: %s та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Ðвтори: %s, %s та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Ðвтори: %s, %s, %s\n" "та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Ðвтори: %s, %s, %s,\n" "%s та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Ðвтори: %s, %s, %s,\n" "%s, %s та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Ðвтори: %s, %s, %s,\n" "%s, %s, %s та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Ðвтори: %s, %s, %s,\n" "%s, %s, %s, %s\n" "та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Ðвтори: %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s та %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Ðвтори: %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s та інші.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, c-format msgid "Report bugs to: %s\n" msgstr "ПовідомлÑйте про вади на адреÑу: %s\n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Про вади у %s повідомлÑйте за такою адреÑою: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Ð”Ð¾Ð¼Ð°ÑˆÐ½Ñ Ñторінка %s: <%s>\n" #: lib/version-etc.c:260 #, c-format msgid "General help using GNU software: <%s>\n" msgstr "" "Загальна довідкова Ñ–Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ñ–Ñ Ñ‰Ð¾Ð´Ð¾ викориÑÑ‚Ð°Ð½Ð½Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð½Ð¾Ð³Ð¾ Ð·Ð°Ð±ÐµÐ·Ð¿ÐµÑ‡ÐµÐ½Ð½Ñ " "GNU: <%s>\n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "вичерпано доÑтупну пам’Ñть" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "некоректний аргумент %s%s — «%s»" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "некоректний ÑÑƒÑ„Ñ–ÐºÑ Ñƒ аргументі %s%s: «%s»" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s, аргумент «%s» Ñ” занадто об'ємним" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "у файлі вхідних даних не знайдено Ñтовпчика із назвою %s" #: src/datamash.c:187 #, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "КориÑтуваннÑ: %s [ПÐРÐМЕТР] Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ [поле] [Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ Ð¿Ð¾Ð»Ðµ ...]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "Виконує чиÑлові дії або дії з Ñ€Ñдками над вхідними даними зі stdin." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" "«операціÑ» — операціÑ, Ñку Ñлід виконати. Якщо викориÑтано оÑновну " "операцію,\n" "вона має бути у ÑпиÑку першою, за нею може бути вказано інші операції.\n" #: src/datamash.c:196 msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "«поле» — поле вхідних даних, Ñке Ñлід викориÑтати. ЗначеннÑм «полÑ» може\n" "бути чиÑло (1=перше поле) або назва полÑ, Ñкщо викориÑтовуютьÑÑ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð¸\n" "-H або --header-in.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" "Декілька полів можна вказати, відокремивши запиÑи комами (наприклад 1,6,8).\n" "Діапазон полів можна вказати за допомогою дефіÑа (наприклад 2-8).\n" "Пари полів Ñлід вказувати за допомогою двокрапки (наприклад «pcov 2:6»).\n" #: src/datamash.c:204 msgid "Primary operations:\n" msgstr "ОÑновні операції:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Дії з Ñ„Ñ–Ð»ÑŒÑ‚Ñ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ€Ñдків:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Дії над окремими Ñ€Ñдками:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Дії з чиÑлового групуваннÑ:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Дії з текÑтового або чиÑлового групуваннÑ:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Дії зі ÑтатиÑтичного групуваннÑ:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Параметри:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Дії з групуваннÑ:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" " -C, --skip-comments пропуÑтити Ñ€Ñдки коментарів (Ñ€Ñдки, Ñкі " "починаютьÑÑ Ð· «#» або «;»\n" " та необов'Ñзкового пробілу)\n" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" " -g, --group=X[,Y,Z] групувати за полÑми X,[Y,Z];\n" " рівнозначне оÑновній операції «groupby»\n" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr "" " --header-in перший Ñ€Ñдок вхідних даних Ñ” Ñ€Ñдком заголовків " "Ñтовпчиків\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr "" " --header-out вивеÑти заголовки Ñтовпчиків у першому Ñ€Ñдку\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers те Ñаме, що Ñ– --header-in --header-out\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case ігнорувати регіÑтр під Ñ‡Ð°Ñ Ð¿Ð¾Ñ€Ñ–Ð²Ð½ÑÐ½Ð½Ñ Ñ‚ÐµÐºÑтових " "Ñ€Ñдків;\n" " це ÑтоÑуєтьÑÑ Ð´Ñ–Ð¹ з Ð³Ñ€ÑƒÐ¿ÑƒÐ²Ð°Ð½Ð½Ñ Ñ‚Ð° дій над " "Ñ€Ñдками\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort упорÑдкувати вхідні дані перед групуваннÑм; " "уÑуває\n" " потребу у попередній обробці вхідних даних " "програмою sort\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 #, fuzzy msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" " --output-delimiter=X ÑкориÑтатиÑÑ X заміÑть роздільника виведених " "полів\n" " (типова поведінка: ÑкориÑтатиÑÑ Ñ‚Ð¸Ð¼ Ñамим " "роздільником, що Ñ– у -t/-W)\n" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Параметри дій над файлами:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict дозволÑти Ñ€Ñдки зі змінною кількіÑтю полів\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X заповнити пропущені Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñ€Ñдком X (типово " "%s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Загальні параметри:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X викориÑтовувати роздільник полів X заміÑть TAB\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" " --format=ФОРМÐТ вивеÑти чиÑлові Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñƒ Ñтилі printf\n" " на оÑнові запиÑу чиÑел із рухомою крапкою " "ФОРМÐТ.\n" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" " --output-delimiter=X ÑкориÑтатиÑÑ X заміÑть роздільника виведених " "полів\n" " (типова поведінка: ÑкориÑтатиÑÑ Ñ‚Ð¸Ð¼ Ñамим " "роздільником, що Ñ– у -t/-W)\n" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm пропуÑкати Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" " -R, --round=N заокруглити чиÑловий результат до N деÑÑткових " "позицій\n" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace викориÑтовувати проміжок (один або декілька " "пробілів чи\n" " Ñимволів табулÑцій) Ñк роздільник полів\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated завершувати Ñ€Ñдки нульовим байтом, а не Ñимволом " "нового Ñ€Ñдка\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Приклади:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "ВивеÑти Ñуму та Ñереднє Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð·Ð½Ð°Ñ‡ÐµÐ½ÑŒ, починаючи зі Ñтовпчика 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "ТранÑÐ¿Ð¾Ð½ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¸Ñ… даних:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "" "Щоб дізнатиÑÑ Ð±Ñ–Ð»ÑŒÑˆÐµ про кориÑÑ‚ÑƒÐ²Ð°Ð½Ð½Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¾ÑŽ та ознайомитиÑÑ Ð· " "прикладами, див.\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Підручник Ñ– додаткові приклади можна знайти на цій Ñторінці:\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "некоректні вхідні дані: потрібне поле %, але у Ñ€Ñдку % " "лише % полів" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s у Ñ€Ñдку %, поле %: «%s»" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "помилка під Ñ‡Ð°Ñ Ñ‚Ñ€Ð°Ð½ÑÐ¿Ð¾Ð½ÑƒÐ²Ð°Ð½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¸Ñ… даних: у Ñ€Ñдку % Ñ” " "% полів (у попередніх Ñ€Ñдках було %);\n" "див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим." #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "помилка обробки полів вхідних даних у зворотному порÑдку: у Ñ€Ñдку % " "Ñ” % полів (у попередніх Ñ€Ñдках було %);\n" "див. --help, щоб дізнатиÑÑ Ð¿Ñ€Ð¾ те, Ñк вимкнути Ñтрогий режим." #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, c-format msgid "" "line % (% fields):\n" " " msgstr "" "Ñ€Ñдок % (% полів):\n" " " #: src/datamash.c:962 #, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "перевірку не пройдено: у Ñ€Ñдку % маємо % полів (мало бути " "%)" #: src/datamash.c:985 #, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "перевірку не пройдено: у Ñ€Ñдку % маємо % полів (у " "попередньому Ñ€Ñдку було %)" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" "перевірку не пройдено: у вхідних даних було % Ñ€Ñдків (мало бути " "%)" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "% Ñ€Ñдок" msgstr[1] "% Ñ€Ñдки" msgstr[2] "% Ñ€Ñдків" msgstr[3] "% Ñ€Ñдок" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "% поле" msgstr[1] "% полÑ" msgstr[2] "% полів" msgstr[3] "% поле" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "помилка під Ñ‡Ð°Ñ Ñпроби Ð¾Ñ‚Ñ€Ð¸Ð¼Ð°Ð½Ð½Ñ Ð¾Ð±Ð»Ð°Ñті пам’Ñті Ð´Ð»Ñ Ñ…ÐµÑˆ-Ñум" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "не вдалоÑÑ Ð²Ð¸ÐºÐ¾Ð½Ð°Ñ‚Ð¸ «sort»: помилка popen" #: src/datamash.c:1237 msgid "read error" msgstr "помилка під Ñ‡Ð°Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "помилка під Ñ‡Ð°Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ (під Ñ‡Ð°Ñ Ð·Ð°ÐºÑ€Ð¸Ñ‚Ñ‚Ñ)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ base64" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "розділювач повинен бути одним Ñимволом" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "не вказано Ñпецифікаторів дій" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "Ñкщо Ñтовпчики мають назви, Ñлід викориÑтовувати -H або --header-in" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "некоректний порожній параметр групуваннÑ" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "некоректне чиÑлове значеннÑ, «%s»" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "некоректний операнд %s" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "некоректний операнд %s" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "некоректний операнд %s" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X викориÑтовувати роздільник полів X заміÑть TAB\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict дозволÑти Ñ€Ñдки зі змінною кількіÑтю полів\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated завершувати Ñ€Ñдки нульовим байтом, а не Ñимволом " "нового Ñ€Ñдка\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Приклади:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "некоректне чиÑлове значеннÑ, «%s»" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "некоректне чиÑлове значеннÑ, «%s»" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "некоректне чиÑлове значеннÑ, «%s»" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 #, fuzzy msgid "invalid built-in conversion option" msgstr "некоректна пара полів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "некоректна операціÑ, %s" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "некоректне чиÑлове значеннÑ, «%s»" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, fuzzy, c-format msgid "invalid number of fields to undecorate %s" msgstr "некоректне поле, «%s», Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "не вдалоÑÑ Ð²Ð¸ÐºÐ¾Ð½Ð°Ñ‚Ð¸ «sort»: помилка popen" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "не вдалоÑÑ Ð²Ð¸ÐºÐ¾Ð½Ð°Ñ‚Ð¸ «sort»: помилка popen" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "не вдалоÑÑ Ð²Ð¸ÐºÐ¾Ð½Ð°Ñ‚Ð¸ «sort»: помилка popen" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "формат %s не міÑтить інÑтрукції %%" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "у запиÑÑ– формату, %s, не виÑтачає коректного типу піÑÐ»Ñ Â«%%»" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "" "у запиÑÑ– форматуваннÑ, %s, міÑтитьÑÑ Ð½ÐµÐ²Ñ–Ð´Ð¾Ð¼Ð° або некоректна інÑÑ‚Ñ€ÑƒÐºÑ†Ñ–Ñ Ñ‰Ð¾Ð´Ð¾ " "типу, %%%c" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "формат %s міÑтить надто багато інÑтрукцій %%" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" "помилка у вхідних даних Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s: у полÑÑ… %,% різна " "кількіÑть запиÑів" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "некоректне чиÑлове значеннÑ" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ base64" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "некоректна пара полів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, c-format msgid "too many parameters for operation %s" msgstr "забагато параметрів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "розмір Ñегмента strbin має бути ненульовим" #: src/op-parser.c:196 #, c-format msgid "invalid percentile value %" msgstr "некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ–Ð´Ñотків %" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "" "некоректне Ñереднє Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¾Ð±Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ %Lg (мало бути вказано Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñƒ " "проміжку 0 <= X <= 0.5)" #: src/op-parser.c:246 #, c-format msgid "invalid getnum type '%c'" msgstr "некоректний тип getnum, «%c»" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, c-format msgid "missing field for operation %s" msgstr "пропущено поле Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, c-format msgid "invalid field range for operation %s" msgstr "некоректний діапазон полів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, c-format msgid "invalid field pair for operation %s" msgstr "некоректна пара полів Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:316 src/op-parser.c:600 #, c-format msgid "invalid field '%s' for operation %s" msgstr "некоректне поле, «%s», Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "діапазон полів Ð´Ð»Ñ %s має бути чиÑловим" #: src/op-parser.c:410 #, c-format msgid "missing parameter for operation %s" msgstr "пропущено параметр Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:428 #, c-format msgid "invalid parameter %s for operation %s" msgstr "некоректний параметр %s Ð´Ð»Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s" #: src/op-parser.c:460 #, c-format msgid "operation %s requires field pairs" msgstr "Ð´Ð»Ñ Ð²Ð¸ÐºÐ¾Ð½Ð°Ð½Ð½Ñ Ð¾Ð¿ÐµÑ€Ð°Ñ†Ñ–Ñ— %s Ñлід вказати пари полів" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "у операції %s не можна викориÑтовувати пару полів" #: src/op-parser.c:503 #, c-format msgid "conflicting operation %s" msgstr "конфлікт операції %s" #: src/op-parser.c:506 src/op-parser.c:789 #, c-format msgid "invalid operation %s" msgstr "некоректна операціÑ, %s" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "виÑвлено конфлікт операцій: мало бути %s операцій, але виÑвлено операцію %s " "%s" #: src/op-parser.c:639 #, c-format msgid "invalid option %s for operation check" msgstr "некоректний параметр %s Ð´Ð»Ñ Ð´Ñ–Ñ— check" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "піÑÐ»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° у дії «check» мало бути вказано чиÑло" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "некоректне нульове Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð´Ð»Ñ Ñ€Ñдків або полів у дії «check»" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "кількіÑть Ñ€Ñдків у дії «check» вже вказано" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "кількіÑть полів або Ñтовпчиків у дії «check» вже вказано" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "Ð´Ð»Ñ crosstab Ñлід вказати точно 2 полÑ, вказано ж %" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "" "у crosstab передбачено підтримку лише однієї операції, вказано ж %" #: src/op-parser.c:751 msgid "missing operation" msgstr "пропущено операцію" #: src/op-parser.c:765 #, c-format msgid "extra operand %s" msgstr "зайвий операнд %s" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "не вказано Ñкрипт (Ñеред аргументів)" #: src/op-scanner.c:169 #, c-format msgid "invalid numeric value '%s'" msgstr "некоректне чиÑлове значеннÑ, «%s»" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "Ñимвол зворотної похилої риÑки наприкінці ідентифікатора" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "назва ідентифікатора Ñ” надто довгою" #: src/op-scanner.c:215 #, c-format msgid "invalid operand %s" msgstr "некоректний операнд %s" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "невідомий ключ %d\n" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help показати цю довідку Ñ– вийти\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version показати інформацію щодо верÑÑ–Ñ— Ñ– вийти\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Віддайте команду «%s --help», щоб дізнатиÑÑ Ð±Ñ–Ð»ÑŒÑˆÐµ.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "не вказано кількіÑть цифр Ð´Ð»Ñ Ð·Ð°Ð¾ÐºÑ€ÑƒÐ³Ð»ÐµÐ½Ð½Ñ" #: src/text-options.c:117 #, c-format msgid "invalid rounding digits value %s" msgstr "некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ ÐºÑ–Ð»ÑŒÐºÐ¾Ñті цифр Ð´Ð»Ñ Ð·Ð°Ð¾ÐºÑ€ÑƒÐ³Ð»ÐµÐ½Ð½Ñ â€” %s" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full вивеÑти Ñ€Ñдок вхідних даних до результатів " #~ "дії\n" #~ " (типове: вивеÑти лише згруповані дані)\n" #~ msgid "sort command too-long (please report this bug)" #~ msgstr "" #~ "упорÑÐ´ÐºÐ¾Ð²ÑƒÐ²Ð°Ð½Ð½Ñ Ð·Ð° допомогою команди sort виконуєтьÑÑ Ð½Ð°Ð´Ñ‚Ð¾ довго " #~ "(повідомте розробників про ваду)" #~ msgid "%s home page: \n" #~ msgstr "Ð”Ð¾Ð¼Ð°ÑˆÐ½Ñ Ñторінка %s: \n" #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: Ð´Ð¾Ð´Ð°Ð²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð² до параметра «--%s» не передбачено\n" #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: невідомий параметр «--%s»\n" #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: параметр «-W %s» Ñ” неоднозначним\n" #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° «-W %s» не передбачено аргументів\n" #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: до параметра «-W %s» Ñлід додати аргумент\n" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "«діÑ» - діÑ, Ñку Ñлід виконати;\n" #~ msgid "File operations:\n" #~ msgstr "Дії над файлами:\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] групувати за полÑми X,[Y,Z]\n" #~ msgid "For grouping operations 'col' is the input field to use." #~ msgstr "" #~ "Ð”Ð»Ñ Ð´Ñ–Ð¹ з Ð³Ñ€ÑƒÐ¿ÑƒÐ²Ð°Ð½Ð½Ñ Â«Ñтовпчик» Ñ” полем вхідних даних, Ñке Ñлід " #~ "викориÑтати." #~ msgid " --debug print helpful debugging information\n" #~ msgstr "" #~ " --debug вивеÑти кориÑну діагноÑтичну інформацію\n" #~ msgid "invalid numeric input in line %zu field %zu: '%s'" #~ msgstr "некоректні вхідні чиÑлові дані у Ñ€Ñдку %zu, поле %zu: «%s»" #~ msgid "invalid field value for grouping '%s'" #~ msgstr "некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¿Ð¾Ð»Ñ Ð´Ð»Ñ Ð³Ñ€ÑƒÐ¿ÑƒÐ²Ð°Ð½Ð½Ñ, «%s»" #~ msgid "invalid field value (zero) for grouping" #~ msgstr "некоректне (нульове) Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¿Ð¾Ð»Ñ Ð´Ð»Ñ Ð³Ñ€ÑƒÐ¿ÑƒÐ²Ð°Ð½Ð½Ñ" datamash-1.9/po/vi.gmo0000644000000000000000000002402114774035524010346 Þ•H0pe°DL\|D}?Â?/BFr?¹ù”y š D© ?î . B c ‚ Ÿ (» ä æ 1ê  & 1? q ƒ – ² Ð Ú ê ÿ 7 3M  !˜ %º .à & G\;s3¯/ã+'?#g‹«Ç×&ÙO"Ps«CÀ@E$[€‘ ®¹qÏnA(°mÙjG ²å¾Z¤LÿCL<]ÍI+§u¦ÜÄQ¡_óS*i(”$½.â9KOER ˜!¢CÄ0H drˆ£a»2Pg…@¢ãBþ#AeL~5Ë1,3(`$‰ ®Ïìþ< g? 3§ $Û +!#,!bP!_³!!"B5"x""‰" ¬"¹"™Ó"–m#1$Š6$‡Á$ I%&:F #+,;? <3.5>0E)-8*BA9'/2 6G!(=@H 1C 7%4"$DS%l¬Ðô4X[% ÿÿÿÿ–% ÿÿÿÿ±%%ÿÿÿÿ&!%ÿÿÿÿ&: ÿÿÿÿÙ& ÿÿÿÿþ&%%2ÿÿÿÿ€'4%2ÿÿÿÿ --filler=X fill missing values with X (default %s) --header-in first input line is column headers --header-out print column headers as first line --narm skip NA/NaN values --no-strict allow lines with varying number of fields -H, --headers same as '--header-in --header-out' -W, --whitespace use whitespace (one or more spaces and/or tabs) for field delimiters -i, --ignore-case ignore upper/lower case when comparing text; this affects grouping, and string operations -s, --sort sort the input before grouping; this removes the need to manually pipe the input through 'sort' -t, --field-separator=X use X instead of TAB as field delimiter -z, --zero-terminated end lines with 0 byte, not newline %s home page: <%s> %s in line %llu field %llu: '%s'%s in line %lu field %lu: '%s'%s%s argument '%s' too large%s: invalid option -- '%c' %s: option requires an argument -- '%c' '(C)-H or --header-in must be used with named columnsExamples:File Operation Options: For detailed usage information and examples, see General Options: Grouping Options: Line-Filtering operations: Numeric Grouping operations: Options: Packaged by %s Packaged by %s (%s) Per-Line operations: Performs numeric/string operations on input from stdin.Print the sum and the mean of values from column 1:Report %s bugs to: %s Statistical Grouping operations: Textual/Numeric Grouping operations: The manual and more examples are available at Transpose input:Try '%s --help' for more information. Unknown system errorWritten by %s and %s. Written by %s, %s, %s, %s, %s, %s, %s, %s, %s, and others. Written by %s, %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, %s, and %s. Written by %s, %s, %s, %s, and %s. Written by %s, %s, %s, and %s. Written by %s, %s, and %s. Written by %s. `column name %s not found in input fileconflicting operation found: expecting %s operations, but found %s operation %sfailed to run 'sort': popen failedhash memory allocation errorinvalid %s%s argument '%s'invalid base64 valueinvalid input: field %llu requested, line %llu has only %llu fieldsinvalid input: field %lu requested, line %lu has only %lu fieldsinvalid numeric valueinvalid suffix in %s%s argument '%s'memory exhaustedmissing operation specifiersread errorread error (on close)reverse-field input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modereverse-field input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modethe delimiter must be a single charactertranspose input error: line %llu has %llu fields (previous lines had %llu); see --help to disable strict modetranspose input error: line %lu has %lu fields (previous lines had %lu); see --help to disable strict modewrite errorProject-Id-Version: datamash 1.0.6.54 Report-Msgid-Bugs-To: bug-datamash@gnu.org PO-Revision-Date: 2015-06-06 15:26+0700 Last-Translator: Trần Ngá»c Quân Language-Team: Vietnamese Language: vi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bugs: Report translation errors to the Language-Team address. Plural-Forms: nplurals=1; plural=0; X-Generator: Gtranslator 2.91.7 --filler=X Ä‘iá»n đầy giá trị thiếu bằng X (mặc định %s) --header-in dòng đầu vào đầu tiên là đầu cá»™t --header-out in đầu cá»™t cho dòng đầu tiên --narm bá» qua các giá trị NA/NaN --no-strict cho phép các dòng vá»›i số lượng trưá»ng biến đổi -H, --headers giống vá»›i “--header-in --header-out†-W, --whitespace dùng khoảng trắng (má»™t hoặc nhiá»u khoảng trắng hoặc/và tab) cho bá»™ phân tách trưá»ng -i, --ignore-case không phân biệt HOA/thưá»ng khi so sánh chữ; nó ảnh hưởng đến thao tác nhóm và chuá»—i -s, --sort sắp xếp đầu vào trước khi nhóm; lệnh này di chuyển đầu vào cần đến đưá»ng ống má»™t cách thá»§ công thông qua lệnh “sort†-t, --field-separator=X dùng X thay vì TAB làm bá»™ phân tách trưá»ng -z, --zero-terminated kết thúc dòng vá»›i byte 0, không phải ký tá»± dòng má»›i Trang chá»§ %s: <%s> %s ở dòng %llu trưá»ng %llu: “%sâ€%s ở dòng %lu trưá»ng %lu: “%sâ€%s%s đối số “%s†quá lá»›n%s: tùy chá»n không hợp lệ -- “%c†%s: tùy chá»n yêu cầu má»™t đối số -- “%c†â€Â©-H hay --header-in phải được dùng cùng vá»›i tên cá»§a cá»™tVí dụ:Tùy chá»n thao tác tập tin: Äể có thông tin chi tiết vá» cách dùng và ví dụ, xem Tùy chá»n chung: Tùy chá»n nhóm: Thao tác lá»c-dòng: Các thao tác nhóm số: Tùy chá»n: Äóng gói bởi %s Äóng gói bởi %s (%s) Thao tác trên-dòng: Thá»±c hiện các thao tác vá»›i số/chuá»—i trên đầu vào từ đầu vào tiêu chuẩn.In tổng và giá trị trung bình từ cá»™t 1:Report %s bugs to: %s Thao tác nhóm thống kê: Thao tác nhóm Số/Chữ: Hướng dẫn sá»­ dụng và nhiá»u ví dụ sẵn có tại Chuyển vị đầu vào:Hãy chạy lệnh “%s --help†để biết thêm thông tin. Gặp lá»—i hệ thống không rõViết bởi %s và %s. Viết bởi %s, %s, %s, %s, %s, %s, %s, %s, %s và những ngưá»i khác. Viết bởi %s, %s, %s, %s, %s, %s, %s, %s, và %s. Viết bởi %s, %s, %s, %s, %s, %s, %s, và %s. Viết bởi %s, %s, %s, %s, %s, %s và %s. Viết bởi %s, %s, %s, %s, %s và %s. Viết bởi %s, %s, %s, %s và %s. Viết bởi %s, %s, %s và %s. Viết bởi %s, %s và %s. Viết bởi %s. “không tìm thấy cá»™t tên %s trong tập tin đầu vàotìm thấy có xung đột thao tác: cần thao tác %s, nhưng lại nhận được %s thao tác %sgặp lá»—i khi chạy “sortâ€: popen bị lá»—ilá»—i phân bổ bá»™ nhá»› mã bămđối số %s%s không hợp lệ “%sâ€giá trị base64 không hợp lệđầu vào không hợp lệ: đã yêu cầu trưá»ng %llu, dòng %llu chỉ có %llu trưá»ngđầu vào không hợp lệ: đã yêu cầu trưá»ng %lu, dòng %lu chỉ có %lu trưá»nggiá trị số không hợp lệgặp hậu tố không hợp lệ trong %s%s đối số “%sâ€hết bá»™ nhá»›thiếu bá»™ chỉ thị thao táclá»—i Ä‘á»clá»—i Ä‘á»c (khi đóng)lá»—i đầu vào đảo ngược trưá»ng: dòng %llu có %llu trưá»ng (dòng trước đó có %llu); xem --help để tắt chế độ hạn chếlá»—i đầu vào đảo ngược trưá»ng: dòng %lu có %lu trưá»ng (dòng trước đó có %lu); xem --help để tắt chế độ hạn chếdấu phân cách phải là má»™t ký tá»± đơnlá»—i đầu vào hoán vị: dòng %llu có %llu trưá»ng (dòng trước đó có %llu); xem --help để tắt chế độ hạn chếlá»—i đầu vào hoán vị: dòng %lu có %lu trưá»ng (dòng trước đó có %lu); xem --help để tắt chế độ hạn chếlá»—i ghiPRIuMAXinvalid input: field % requested, line % has only % fields%s in line % field %: '%s'transpose input error: line % has % fields (previous lines had %); see --help to disable strict modereverse-field input error: line % has % fields (previous lines had %); see --help to disable strict modeđầu vào không hợp lệ: đã yêu cầu trưá»ng %, dòng % chỉ có % trưá»ng%s ở dòng % trưá»ng %: “%sâ€lá»—i đầu vào hoán vị: dòng % có % trưá»ng (dòng trước đó có %); xem --help để tắt chế độ hạn chếlá»—i đầu vào đảo ngược trưá»ng: dòng % có % trưá»ng (dòng trước đó có %); xem --help để tắt chế độ hạn chếdatamash-1.9/po/vi.po0000644000000000000000000010656514774035524010220 # Vietnamese translations for datamash package # Bản dịch tiếng Việt cho gói datamash. # Copyright (C) 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the datamash package. # Trần Ngá»c Quân , 2014, 2015. # msgid "" msgstr "" "Project-Id-Version: datamash 1.0.6.54\n" "Report-Msgid-Bugs-To: bug-datamash@gnu.org\n" "POT-Creation-Date: 2025-04-05 07:04+1100\n" "PO-Revision-Date: 2015-06-06 15:26+0700\n" "Last-Translator: Trần Ngá»c Quân \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Gtranslator 2.91.7\n" #: lib/closeout.c:121 msgid "write error" msgstr "lá»—i ghi" #: lib/error.c:208 msgid "Unknown system error" msgstr "Gặp lá»—i hệ thống không rõ" #: lib/getopt.c:282 #, fuzzy, c-format msgid "%s: option '%s%s' is ambiguous\n" msgstr "%s: Tùy chá»n “-W %s†chưa rõ ràng\n" #: lib/getopt.c:288 #, fuzzy, c-format msgid "%s: option '%s%s' is ambiguous; possibilities:" msgstr "%s: tùy chá»n “%s†chưa rõ ràng; khả năng là:" #: lib/getopt.c:322 #, fuzzy, c-format msgid "%s: unrecognized option '%s%s'\n" msgstr "%s: không nhận ra tùy chá»n “%c%sâ€\n" #: lib/getopt.c:348 #, fuzzy, c-format msgid "%s: option '%s%s' doesn't allow an argument\n" msgstr "%s: tùy chá»n “%c%s†không cho phép có đối số\n" #: lib/getopt.c:363 #, fuzzy, c-format msgid "%s: option '%s%s' requires an argument\n" msgstr "%s: tùy chá»n “--%s†cần má»™t đối số\n" #: lib/getopt.c:624 #, c-format msgid "%s: invalid option -- '%c'\n" msgstr "%s: tùy chá»n không hợp lệ -- “%câ€\n" #: lib/getopt.c:639 lib/getopt.c:685 #, c-format msgid "%s: option requires an argument -- '%c'\n" msgstr "%s: tùy chá»n yêu cầu má»™t đối số -- “%câ€\n" #. TRANSLATORS: #. Get translations for open and closing quotation marks. #. The message catalog should translate "`" to a left #. quotation mark suitable for the locale, and similarly for #. "'". For example, a French Unicode local should translate #. these to U+00AB (LEFT-POINTING DOUBLE ANGLE #. QUOTATION MARK), and U+00BB (RIGHT-POINTING DOUBLE ANGLE #. QUOTATION MARK), respectively. #. #. If the catalog has no translation, we will try to #. use Unicode U+2018 (LEFT SINGLE QUOTATION MARK) and #. Unicode U+2019 (RIGHT SINGLE QUOTATION MARK). If the #. current locale is not Unicode, locale_quoting_style #. will quote 'like this', and clocale_quoting_style will #. quote "like this". You should always include translations #. for "`" and "'" even if U+2018 and U+2019 are appropriate #. for your locale. #. #. If you don't know what to put here, please see #. #. and use glyphs suitable for your language. #: lib/quotearg.c:354 msgid "`" msgstr "“" #: lib/quotearg.c:355 msgid "'" msgstr "â€" #: lib/version-etc.c:73 #, c-format msgid "Packaged by %s (%s)\n" msgstr "Äóng gói bởi %s (%s)\n" #: lib/version-etc.c:76 #, c-format msgid "Packaged by %s\n" msgstr "Äóng gói bởi %s\n" #. TRANSLATORS: Translate "(C)" to the copyright symbol #. (C-in-a-circle), if this symbol is available in the user's #. locale. Otherwise, do not translate "(C)"; leave it as-is. #: lib/version-etc.c:83 msgid "(C)" msgstr "©" #. TRANSLATORS: The %s placeholder is the web address of the GPL license. #: lib/version-etc.c:88 #, fuzzy, c-format msgid "" "License GPLv3+: GNU GPL version 3 or later <%s>.\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" "\n" "Giấy phép GPL pb3+: Giấy phép Công cá»™ng GNU phiên bản 3 hay sau\n" "\n" "Äây là phần má»m tá»± do: bạn có quyá»n sá»­a đổi và phát hành lại nó.\n" "KHÔNG CÓ BẢO HÀNH GÃŒ CẢ, vá»›i Ä‘iá»u khiển được pháp luật cho phép.\n" "\n" #. TRANSLATORS: %s denotes an author name. #: lib/version-etc.c:105 #, c-format msgid "Written by %s.\n" msgstr "Viết bởi %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:109 #, c-format msgid "Written by %s and %s.\n" msgstr "Viết bởi %s và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #: lib/version-etc.c:113 #, c-format msgid "Written by %s, %s, and %s.\n" msgstr "Viết bởi %s, %s và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:120 #, c-format msgid "" "Written by %s, %s, %s,\n" "and %s.\n" msgstr "" "Viết bởi %s, %s, %s\n" "và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:127 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Viết bởi %s, %s, %s,\n" "%s và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:134 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, and %s.\n" msgstr "" "Viết bởi %s, %s, %s,\n" "%s, %s và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:142 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, and %s.\n" msgstr "" "Viết bởi %s, %s, %s,\n" "%s, %s, %s và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:150 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "and %s.\n" msgstr "" "Viết bởi %s, %s, %s,\n" "%s, %s, %s, %s,\n" "và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:159 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, and %s.\n" msgstr "" "Viết bởi %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, và %s.\n" #. TRANSLATORS: Each %s denotes an author name. #. You can use line breaks, estimating that each author name occupies #. ca. 16 screen columns and that a screen line has ca. 80 columns. #: lib/version-etc.c:170 #, c-format msgid "" "Written by %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s, and others.\n" msgstr "" "Viết bởi %s, %s, %s,\n" "%s, %s, %s, %s,\n" "%s, %s và những ngưá»i khác.\n" #. TRANSLATORS: The placeholder indicates the bug-reporting address #. for this package. Please add _another line_ saying #. "Report translation bugs to <...>\n" with the address for translation #. bugs (typically your translation team's web or email address). #: lib/version-etc.c:249 #, fuzzy, c-format msgid "Report bugs to: %s\n" msgstr "" "\n" "Gá»­i báo cáo lá»—i tá»›i: %s\n" "Gá»­i báo cáo lá»—i dịch tá»›i \n" #: lib/version-etc.c:251 #, c-format msgid "Report %s bugs to: %s\n" msgstr "Report %s bugs to: %s\n" #: lib/version-etc.c:255 lib/version-etc.c:257 #, c-format msgid "%s home page: <%s>\n" msgstr "Trang chá»§ %s: <%s>\n" #: lib/version-etc.c:260 #, fuzzy, c-format msgid "General help using GNU software: <%s>\n" msgstr "" "Trợ giúp chung vá» sá»­ dụng phần má»m GNU: \n" #: lib/xalloc-die.c:34 msgid "memory exhausted" msgstr "hết bá»™ nhá»›" #: lib/xstrtol-error.c:64 #, c-format msgid "invalid %s%s argument '%s'" msgstr "đối số %s%s không hợp lệ “%sâ€" #: lib/xstrtol-error.c:69 #, c-format msgid "invalid suffix in %s%s argument '%s'" msgstr "gặp hậu tố không hợp lệ trong %s%s đối số “%sâ€" #: lib/xstrtol-error.c:73 #, c-format msgid "%s%s argument '%s' too large" msgstr "%s%s đối số “%s†quá lá»›n" #. This is a proper name. See the gettext manual, section Names. #: src/datamash.c:68 msgid "Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald" msgstr "" #: src/datamash.c:174 src/datamash.c:554 #, c-format msgid "column name %s not found in input file" msgstr "không tìm thấy cá»™t tên %s trong tập tin đầu vào" #: src/datamash.c:187 #, fuzzy, c-format msgid "Usage: %s [OPTION] op [fld] [op fld ...]\n" msgstr "Cách dùng: %s [TÙY-CHỌN] op [cá»™t] [op cá»™t …]\n" #: src/datamash.c:190 msgid "Performs numeric/string operations on input from stdin." msgstr "" "Thá»±c hiện các thao tác vá»›i số/chuá»—i trên đầu vào từ đầu vào tiêu chuẩn." #: src/datamash.c:193 msgid "" "'op' is the operation to perform. If a primary operation is used,\n" "it must be listed first, optionally followed by other operations.\n" msgstr "" #: src/datamash.c:196 #, fuzzy msgid "" "'fld' is the input field to use. 'fld' can be a number (1=first field),\n" "or a field name when using the -H or --header-in options.\n" msgstr "" "Äể nhóm,thao tác má»—i-dòng “cá»™t†là các trưá»ng đầu vào muốn dùng;\n" "“cá»™t†có thể là số (1=cá»™t đầu tiên), hoặc tên cá»™t khi sá»­ dụng\n" "tùy chá»n -H hoặc --header-in.\n" #: src/datamash.c:199 msgid "" "Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n" "fields can be listed with a dash (e.g. 2-8). Use colons for operations\n" "which require a pair of fields (e.g. 'pcov 2:6').\n" msgstr "" #: src/datamash.c:204 #, fuzzy msgid "Primary operations:\n" msgstr "Thao tác trên-dòng:\n" #: src/datamash.c:207 msgid "Line-Filtering operations:\n" msgstr "Thao tác lá»c-dòng:\n" #: src/datamash.c:210 msgid "Per-Line operations:\n" msgstr "Thao tác trên-dòng:\n" #: src/datamash.c:216 msgid "Numeric Grouping operations:\n" msgstr "Các thao tác nhóm số:\n" #: src/datamash.c:219 msgid "Textual/Numeric Grouping operations:\n" msgstr "Thao tác nhóm Số/Chữ:\n" #: src/datamash.c:223 msgid "Statistical Grouping operations:\n" msgstr "Thao tác nhóm thống kê:\n" #: src/datamash.c:232 src/decorate.c:181 msgid "Options:\n" msgstr "Tùy chá»n:\n" #: src/datamash.c:234 msgid "Grouping Options:\n" msgstr "Tùy chá»n nhóm:\n" #: src/datamash.c:235 msgid "" " -C, --skip-comments skip comment lines (starting with '#' or ';'\n" " and optional whitespace)\n" msgstr "" #: src/datamash.c:239 msgid "" " -f, --full print entire input line before op results\n" " (default: print only the grouped keys)\n" " This option is only sensible for linewise\n" " operations. Other uses are deprecated and\n" " will be removed in a future version of GNU\n" " Datamash.\n" msgstr "" #: src/datamash.c:247 msgid "" " -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n" " equivalent to primary operation 'groupby'\n" msgstr "" #: src/datamash.c:251 msgid " --header-in first input line is column headers\n" msgstr " --header-in dòng đầu vào đầu tiên là đầu cá»™t\n" #: src/datamash.c:254 msgid " --header-out print column headers as first line\n" msgstr " --header-out in đầu cá»™t cho dòng đầu tiên\n" #: src/datamash.c:257 msgid " -H, --headers same as '--header-in --header-out'\n" msgstr " -H, --headers giống vá»›i “--header-in --header-outâ€\n" #: src/datamash.c:260 msgid "" " --vnlog Reads and writes data in the vnlog format.\n" " Implies -C -H -W\n" msgstr "" # Ghi chú: # Thêm nút #: src/datamash.c:264 msgid "" " -i, --ignore-case ignore upper/lower case when comparing text;\n" " this affects grouping, and string operations\n" msgstr "" " -i, --ignore-case không phân biệt HOA/thưá»ng khi so sánh chữ;\n" " nó ảnh hưởng đến thao tác nhóm và chuá»—i\n" #: src/datamash.c:268 msgid "" " -s, --sort sort the input before grouping; this removes " "the\n" " need to manually pipe the input through " "'sort'\n" msgstr "" " -s, --sort sắp xếp đầu vào trước khi nhóm; lệnh này di " "chuyển đầu vào\n" " cần đến đưá»ng ống má»™t cách thá»§ công thông qua " "lệnh “sortâ€\n" #: src/datamash.c:272 msgid "" " -S, --seed set a seed for operations that use " "randomization\n" msgstr "" #: src/datamash.c:275 msgid "" " -c, --collapse-delimiter=X use X to separate elements in collapse and\n" " unique lists (default: comma)\n" msgstr "" #: src/datamash.c:280 msgid "File Operation Options:\n" msgstr "Tùy chá»n thao tác tập tin:\n" #: src/datamash.c:281 msgid " --no-strict allow lines with varying number of fields\n" msgstr "" " --no-strict cho phép các dòng vá»›i số lượng trưá»ng biến đổi\n" #: src/datamash.c:284 #, c-format msgid " --filler=X fill missing values with X (default %s)\n" msgstr "" " --filler=X Ä‘iá»n đầy giá trị thiếu bằng X (mặc định %s)\n" #: src/datamash.c:289 src/decorate.c:187 msgid "General Options:\n" msgstr "Tùy chá»n chung:\n" #: src/datamash.c:290 msgid " -t, --field-separator=X use X instead of TAB as field delimiter\n" msgstr "" " -t, --field-separator=X dùng X thay vì TAB làm bá»™ phân tách trưá»ng\n" #: src/datamash.c:293 msgid "" " --format=FORMAT print numeric values with printf style\n" " floating-point FORMAT.\n" msgstr "" #: src/datamash.c:297 msgid "" " --output-delimiter=X use X instead as output field delimiter\n" " (default: use same delimiter as -t/-W)\n" msgstr "" #: src/datamash.c:301 msgid " --narm skip NA/NaN values\n" msgstr " --narm bá» qua các giá trị NA/NaN\n" #: src/datamash.c:304 msgid " -R, --round=N round numeric output to N decimal places\n" msgstr "" #: src/datamash.c:307 msgid "" " -W, --whitespace use whitespace (one or more spaces and/or tabs)\n" " for field delimiters\n" msgstr "" " -W, --whitespace dùng khoảng trắng (má»™t hoặc nhiá»u khoảng trắng\n" " hoặc/và tab) cho bá»™ phân tách trưá»ng\n" #: src/datamash.c:311 msgid " -z, --zero-terminated end lines with 0 byte, not newline\n" msgstr "" " -z, --zero-terminated kết thúc dòng vá»›i byte 0, không phải ký tá»± dòng " "má»›i\n" #: src/datamash.c:314 src/decorate.c:221 msgid " --sort-cmd=/path/to/sort Alternative sort(1) to use.\n" msgstr "" #: src/datamash.c:323 msgid "Environment:" msgstr "" #: src/datamash.c:325 msgid " LC_NUMERIC decimal-point character and thousands separator\n" msgstr "" #: src/datamash.c:331 msgid "Examples:" msgstr "Ví dụ:" #: src/datamash.c:333 msgid "Print the sum and the mean of values from column 1:" msgstr "In tổng và giá trị trung bình từ cá»™t 1:" #: src/datamash.c:338 msgid "Transpose input:" msgstr "Chuyển vị đầu vào:" #: src/datamash.c:345 src/decorate.c:304 msgid "For detailed usage information and examples, see\n" msgstr "Äể có thông tin chi tiết vá» cách dùng và ví dụ, xem\n" #: src/datamash.c:347 src/decorate.c:306 msgid "The manual and more examples are available at\n" msgstr "Hướng dẫn sá»­ dụng và nhiá»u ví dụ sẵn có tại\n" #: src/datamash.c:356 #, c-format msgid "" "invalid input: field % requested, line % has only " "% fields" msgstr "" "đầu vào không hợp lệ: đã yêu cầu trưá»ng %, dòng % chỉ có " "% trưá»ng" #: src/datamash.c:426 #, c-format msgid "%s in line % field %: '%s'" msgstr "%s ở dòng % trưá»ng %: “%sâ€" #: src/datamash.c:672 msgid "" "datamash: Using -f/--full with non-linewise operations is deprecated and " "will be disabled in a future release.\n" msgstr "" #: src/datamash.c:768 #, c-format msgid "" "transpose input error: line % has % fields (previous lines " "had %);\n" "see --help to disable strict mode" msgstr "" "lá»—i đầu vào hoán vị: dòng % có % trưá»ng (dòng trước đó có " "%);\n" "xem --help để tắt chế độ hạn chế" #: src/datamash.c:824 #, c-format msgid "" "reverse-field input error: line % has % fields (previous " "lines had %);\n" "see --help to disable strict mode" msgstr "" "lá»—i đầu vào đảo ngược trưá»ng: dòng % có % trưá»ng (dòng " "trước đó có %);\n" "xem --help để tắt chế độ hạn chế" #: src/datamash.c:956 src/datamash.c:973 src/datamash.c:979 #, fuzzy, c-format msgid "" "line % (% fields):\n" " " msgstr "%s ở dòng % trưá»ng %: “%sâ€" #: src/datamash.c:962 #, fuzzy, c-format msgid "" "check failed: line % has % fields (expecting %)" msgstr "" "lá»—i đầu vào hoán vị: dòng % có % trưá»ng (dòng trước đó có " "%);\n" "xem --help để tắt chế độ hạn chế" #: src/datamash.c:985 #, fuzzy, c-format msgid "" "check failed: line % has % fields (previous line had " "%)" msgstr "" "lá»—i đầu vào hoán vị: dòng % có % trưá»ng (dòng trước đó có " "%);\n" "xem --help để tắt chế độ hạn chế" #: src/datamash.c:999 #, c-format msgid "check failed: input had % lines (expecting %)" msgstr "" #: src/datamash.c:1005 #, c-format msgid "% line" msgid_plural "% lines" msgstr[0] "" #: src/datamash.c:1008 #, c-format msgid "% field" msgid_plural "% fields" msgstr[0] "" #: src/datamash.c:1120 msgid "hash memory allocation error" msgstr "lá»—i phân bổ bá»™ nhá»› mã băm" #: src/datamash.c:1187 msgid "-s and -z cannot be combined on this system" msgstr "" #: src/datamash.c:1221 msgid "failed to run 'sort': popen failed" msgstr "gặp lá»—i khi chạy “sortâ€: popen bị lá»—i" #: src/datamash.c:1237 msgid "read error" msgstr "lá»—i Ä‘á»c" #: src/datamash.c:1245 msgid "read error (on close)" msgstr "lá»—i Ä‘á»c (khi đóng)" #: src/datamash.c:1342 #, fuzzy msgid "invalid seed" msgstr "giá trị base64 không hợp lệ" #: src/datamash.c:1361 src/datamash.c:1368 src/datamash.c:1384 msgid "the delimiter must be a single character" msgstr "dấu phân cách phải là má»™t ký tá»± đơn" #: src/datamash.c:1415 #, c-format msgid "missing operation specifiers" msgstr "thiếu bá»™ chỉ thị thao tác" #: src/datamash.c:1435 msgid "-H or --header-in must be used with named columns" msgstr "-H hay --header-in phải được dùng cùng vá»›i tên cá»§a cá»™t" #: src/datamash.c:1441 msgid "vnlog processing always skips comments" msgstr "" #: src/datamash.c:1444 src/datamash.c:1447 msgid "vnlog processing always reads field labels" msgstr "" #: src/datamash.c:1450 msgid "vnlog processing always uses '-' for empty fields" msgstr "" #: src/datamash.c:1453 msgid "vnlog processing is whitespace-delimited" msgstr "" #: src/datamash.c:1456 msgid "vnlog processing always uses ' ' to separate output fields" msgstr "" #: src/datamash.c:1459 msgid "vnlog processing always uses the default output delimiter" msgstr "" #: src/datamash.c:1462 msgid "vnlog processing always uses '\\n' to terminate output lines" msgstr "" #: src/decorate-functions.c:76 #, fuzzy, c-format msgid "invalid empty roman numeral" msgstr "tham số nhóm trống rá»—ng không hợp lệ" #: src/decorate-functions.c:84 #, fuzzy, c-format msgid "invalid roman numeral '%c' in %s" msgstr "thao tác không hợp lệ “%sâ€" #: src/decorate-functions.c:120 #, fuzzy, c-format msgid "invalid IPv4 address %s" msgstr "đối số %s%s không hợp lệ “%sâ€" #: src/decorate-functions.c:139 msgid "inet_pton (AF_INET) failed" msgstr "" #: src/decorate-functions.c:143 #, c-format msgid "invalid dot-decimal IPv4 address %s" msgstr "" #: src/decorate-functions.c:161 msgid "inet_pton (AF_INET6) failed" msgstr "" #: src/decorate-functions.c:165 #, fuzzy, c-format msgid "invalid IPv6 address %s" msgstr "đối số %s%s không hợp lệ “%sâ€" #: src/decorate-functions.c:192 msgid "inet_pton failed for AF_INET and AF_INET6" msgstr "" #: src/decorate-functions.c:196 #, fuzzy, c-format msgid "invalid IP address %s" msgstr "đối số %s%s không hợp lệ “%sâ€" #. This is a proper name. See the gettext manual, section Names. #: src/decorate.c:43 msgid "Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald" msgstr "" #: src/decorate.c:147 #, c-format msgid "" "Usage: %s [OPTION]... [INPUT]\n" " or: %s --decorate [OPTION]... [INPUT]\n" " or: %s --undecorate N [OPTION]... [INPUT]\n" "\n" msgstr "" #: src/decorate.c:154 msgid "Converts (and optionally sorts) fields of various formats\n" msgstr "" #: src/decorate.c:160 msgid "" "With --decorate: adds the converted fields to the start\n" "of each line and prints and prints it to STDOUT; does not sort.\n" msgstr "" #: src/decorate.c:167 msgid "" "With --undecorate: removes the first N fields from the input;\n" "Use as post-processing step after sort(1).\n" msgstr "" #: src/decorate.c:174 msgid "" "Without --decorate and --undecorate: automatically decorates the input,\n" "runs sort(1) and undecorates the result; This is the easiest method to use.\n" msgstr "" #: src/decorate.c:192 msgid "" " --decorate decorate/convert the specified fields and " "print\n" " the output to STDOUT. Does not automatically " "run\n" " sort(1) or undecorates the output\n" msgstr "" #: src/decorate.c:197 msgid "" " --header=N does not decorate or sort the first N lines\n" " -H same as --header=N\n" msgstr "" #: src/decorate.c:201 msgid "" " -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n" " optionally followed by ':method' to convert\n" " to the field into a sortable value; see " "examples\n" " and available conversion below\n" msgstr "" #: src/decorate.c:207 #, fuzzy msgid "" " -t, --field-separator=SEP use SEP instead of non-blank to blank " "transition\n" msgstr "" " -t, --field-separator=X dùng X thay vì TAB làm bá»™ phân tách trưá»ng\n" #: src/decorate.c:210 msgid "" " --print-sort-args print adjusted parameters for sort(1); Useful\n" " when using --decorate and then manually " "running\n" " sort(1)\n" msgstr "" #: src/decorate.c:215 #, fuzzy msgid " --undecorate=N removes the first N fields\n" msgstr "" " --no-strict cho phép các dòng vá»›i số lượng trưá»ng biến đổi\n" #: src/decorate.c:218 #, fuzzy msgid " -z, --zero-terminated line delimiter is NUL, not newline\n" msgstr "" " -z, --zero-terminated kết thúc dòng vá»›i byte 0, không phải ký tá»± dòng " "má»›i\n" #: src/decorate.c:229 msgid "" "The following options are passed to sort as-is (Most of them assume GNU " "sort):\n" msgstr "" #: src/decorate.c:236 msgid "" " -c, --check\n" " --compress-program\n" " --random-source\n" " -s, --stable\n" " --batch-size\n" " -S, --buffer-size\n" " -T, --temporary-directory\n" " -u, --unique\n" " --parallel\n" msgstr "" #: src/decorate.c:251 msgid "Available conversions methods (use with -k):\n" msgstr "" #: src/decorate.c:263 #, fuzzy msgid "Examples:\n" msgstr "Ví dụ:" #: src/decorate.c:269 msgid "The following two invocations are equivalent:\n" msgstr "" #: src/decorate.c:284 msgid "Decorated output of roman numerals:\n" msgstr "" #: src/decorate.c:448 msgid "fwrite (header line) failed" msgstr "" #: src/decorate.c:456 msgid "fflush (header line) failed" msgstr "" #: src/decorate.c:462 #, c-format msgid "conversion failed in line %" msgstr "" #: src/decorate.c:469 msgid "decorate: fwrite failed" msgstr "" #: src/decorate.c:475 src/decorate.c:537 #, c-format msgid "error reading %s" msgstr "" #: src/decorate.c:556 #, fuzzy msgid "invalid number at field start" msgstr "giá trị số không hợp lệ" #: src/decorate.c:561 src/decorate.c:589 msgid "field number is zero" msgstr "" #: src/decorate.c:566 src/decorate.c:594 #, fuzzy msgid "invalid number after '.'" msgstr "giá trị số không hợp lệ" #: src/decorate.c:570 msgid "character offset is zero" msgstr "" #: src/decorate.c:585 #, fuzzy msgid "invalid number after ','" msgstr "giá trị số không hợp lệ" #: src/decorate.c:621 msgid "missing external conversion command" msgstr "" #: src/decorate.c:636 msgid "missing internal conversion function" msgstr "" #: src/decorate.c:648 msgid "invalid built-in conversion option" msgstr "" #: src/decorate.c:659 msgid "" "ordering flags (b/d/i/h/n/g/M/R/V) cannot be combined with a conversion " "function" msgstr "" #: src/decorate.c:689 #, fuzzy msgid "invalid key specification" msgstr "thao tác không hợp lệ “%sâ€" #: src/decorate.c:892 #, fuzzy, c-format msgid "invalid number of header lines %s" msgstr "giá trị số không hợp lệ" #: src/decorate.c:950 msgid "empty tab" msgstr "" #: src/decorate.c:961 #, c-format msgid "multi-character tab %s" msgstr "" #: src/decorate.c:966 msgid "incompatible tabs" msgstr "" #: src/decorate.c:988 #, c-format msgid "invalid number of fields to undecorate %s" msgstr "" #: src/decorate.c:1011 msgid "--decorate and --undecorate options are mutually exclusive" msgstr "" #: src/decorate.c:1015 msgid "--undecorate cannot be used with --keys or --decorate" msgstr "" #: src/decorate.c:1019 msgid "missing -k/--key decoration or --undecorate options" msgstr "" #: src/decorate.c:1028 msgid "no decorated keys specified. use sort instead" msgstr "" #: src/decorate.c:1062 #, fuzzy msgid "failed to create dec-sort pipe" msgstr "gặp lá»—i khi chạy “sortâ€: popen bị lá»—i" #: src/decorate.c:1064 #, fuzzy msgid "failed to create sort-undec pipe" msgstr "gặp lá»—i khi chạy “sortâ€: popen bị lá»—i" #: src/decorate.c:1071 msgid "failed to fork-1" msgstr "" #: src/decorate.c:1078 msgid "failed to fork-2" msgstr "" #: src/decorate.c:1090 src/decorate.c:1139 msgid "failed to close sort-undec read-pipe" msgstr "" #: src/decorate.c:1093 src/decorate.c:1178 msgid "failed to close sort-undec write-pipe" msgstr "" #: src/decorate.c:1095 src/decorate.c:1173 msgid "failed to close dec-sort read-pipe" msgstr "" #: src/decorate.c:1104 msgid "failed to dup STDOUT fd" msgstr "" #: src/decorate.c:1107 msgid "fdopen (dup (stdout)) failed" msgstr "" #: src/decorate.c:1112 msgid "failed to reassign dec-sort STDOUT" msgstr "" #: src/decorate.c:1136 src/decorate.c:1175 msgid "failed to close dec-sort write-pipe" msgstr "" #: src/decorate.c:1144 msgid "failed to reassign dec-sort STDIN" msgstr "" #: src/decorate.c:1150 msgid "failed to reassign sort-undec STDOUT" msgstr "" #: src/decorate.c:1164 #, fuzzy msgid "failed to run the sort command" msgstr "gặp lá»—i khi chạy “sortâ€: popen bị lá»—i" #: src/decorate.c:1182 msgid "failed to reassign sort-undec STDIN" msgstr "" #: src/double-format.c:47 msgid "numeric format too large" msgstr "" #: src/double-format.c:56 #, c-format msgid "format %s has no %% directive" msgstr "" #: src/double-format.c:69 #, c-format msgid "format %s missing valid type after '%%'" msgstr "" #: src/double-format.c:73 #, c-format msgid "format %s has unknown/invalid type %%%c directive" msgstr "" #: src/double-format.c:86 #, c-format msgid "format %s has too many %% directives" msgstr "" #: src/field-ops.c:354 #, c-format msgid "" "input error for operation %s: fields %,% have different " "number of items" msgstr "" #: src/field-ops.c:1196 msgid "invalid numeric value" msgstr "giá trị số không hợp lệ" #: src/field-ops.c:1198 msgid "invalid base64 value" msgstr "giá trị base64 không hợp lệ" #: src/key-compare.c:305 #, fuzzy, c-format msgid "%s: invalid field specification %s" msgstr "thao tác không hợp lệ “%sâ€" #: src/key-compare.c:337 #, c-format msgid "%s: invalid count at start of %s" msgstr "" #: src/op-parser.c:171 src/op-parser.c:185 src/op-parser.c:199 #: src/op-parser.c:214 src/op-parser.c:250 src/op-parser.c:257 #, fuzzy, c-format msgid "too many parameters for operation %s" msgstr "cá»™t “%s†không hợp lệ vá»›i thao tác %s" #: src/op-parser.c:182 msgid "strbin bucket size must not be zero" msgstr "" #: src/op-parser.c:196 #, fuzzy, c-format msgid "invalid percentile value %" msgstr "giá trị số không hợp lệ" #: src/op-parser.c:210 #, c-format msgid "invalid trim mean value %Lg (expected 0 <= X <= 0.5)" msgstr "" #: src/op-parser.c:246 #, fuzzy, c-format msgid "invalid getnum type '%c'" msgstr "thao tác không hợp lệ “%sâ€" #: src/op-parser.c:282 src/op-parser.c:293 src/op-parser.c:565 #, fuzzy, c-format msgid "missing field for operation %s" msgstr "thiếu số trưá»ng sau thao tác “%sâ€" #: src/op-parser.c:288 src/op-parser.c:297 src/op-parser.c:353 #: src/op-parser.c:583 src/op-parser.c:622 #, fuzzy, c-format msgid "invalid field range for operation %s" msgstr "cá»™t trống không hợp lệ vá»›i thao tác %s" #: src/op-parser.c:291 src/op-parser.c:301 src/op-parser.c:625 #, fuzzy, c-format msgid "invalid field pair for operation %s" msgstr "cá»™t “%s†không hợp lệ vá»›i thao tác %s" #: src/op-parser.c:316 src/op-parser.c:600 #, fuzzy, c-format msgid "invalid field '%s' for operation %s" msgstr "cá»™t “%s†không hợp lệ vá»›i thao tác %s" #: src/op-parser.c:350 #, c-format msgid "field range for %s must be numeric" msgstr "" #: src/op-parser.c:410 #, fuzzy, c-format msgid "missing parameter for operation %s" msgstr "thiếu số trưá»ng sau thao tác “%sâ€" #: src/op-parser.c:428 #, fuzzy, c-format msgid "invalid parameter %s for operation %s" msgstr "cá»™t “%s†không hợp lệ vá»›i thao tác %s" #: src/op-parser.c:460 #, fuzzy, c-format msgid "operation %s requires field pairs" msgstr "%s: tùy chá»n “--%s†cần má»™t đối số\n" #: src/op-parser.c:463 #, c-format msgid "operation %s cannot use pair of fields" msgstr "" #: src/op-parser.c:503 #, fuzzy, c-format msgid "conflicting operation %s" msgstr "thao tác không hợp lệ “%sâ€" #: src/op-parser.c:506 src/op-parser.c:789 #, fuzzy, c-format msgid "invalid operation %s" msgstr "thao tác không hợp lệ “%sâ€" #: src/op-parser.c:511 #, c-format msgid "" "conflicting operation found: expecting %s operations, but found %s operation " "%s" msgstr "" "tìm thấy có xung đột thao tác: cần thao tác %s, nhưng lại nhận được %s thao " "tác %s" #: src/op-parser.c:639 #, fuzzy, c-format msgid "invalid option %s for operation check" msgstr "cá»™t “%s†không hợp lệ vá»›i thao tác %s" #: src/op-parser.c:667 msgid "number expected after option in operation 'check'" msgstr "" #: src/op-parser.c:673 msgid "invalid value zero for lines/fields in operation 'check'" msgstr "" #: src/op-parser.c:679 msgid "number of lines/rows already set in operation 'check'" msgstr "" #: src/op-parser.c:686 msgid "number of fields/columns already set in operation 'check'" msgstr "" #: src/op-parser.c:723 #, c-format msgid "crosstab requires exactly 2 fields, found %" msgstr "" #: src/op-parser.c:742 #, c-format msgid "crosstab supports one operation, found %" msgstr "" #: src/op-parser.c:751 #, fuzzy msgid "missing operation" msgstr "thiếu bá»™ chỉ thị thao tác" #: src/op-parser.c:765 #, fuzzy, c-format msgid "extra operand %s" msgstr "có thao tác thừa nằm sau “%sâ€" #: src/op-parser.c:905 src/op-scanner.c:237 msgid "missing script (among arguments)" msgstr "" #: src/op-scanner.c:169 #, fuzzy, c-format msgid "invalid numeric value '%s'" msgstr "giá trị số không hợp lệ" #: src/op-scanner.c:194 msgid "backslash at end of identifier" msgstr "" #: src/op-scanner.c:202 msgid "identifier name too long" msgstr "" #: src/op-scanner.c:215 #, fuzzy, c-format msgid "invalid operand %s" msgstr "thao tác không hợp lệ “%sâ€" #: src/op-scanner.c:271 #, c-format msgid "unknown token %d\n" msgstr "" #: src/system.h:131 #, fuzzy msgid " -h, --help display this help and exit\n" msgstr " --help hiển thị trợ giúp này rồi thoát\n" #: src/system.h:133 #, fuzzy msgid " -V, --version output version information and exit\n" msgstr " --version đưa ra thông tin phiên bản rồi thoát\n" #: src/system.h:138 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Hãy chạy lệnh “%s --help†để biết thêm thông tin.\n" #: src/text-lines.c:273 #, c-format msgid "invalid vnlog data: received record before header: '%s'" msgstr "" #: src/text-options.c:112 msgid "missing rounding digits value" msgstr "" #: src/text-options.c:117 #, fuzzy, c-format msgid "invalid rounding digits value %s" msgstr "tham số nhóm không hợp lệ “%sâ€" #, c-format #~ msgid "%s: option '--%s' doesn't allow an argument\n" #~ msgstr "%s: tùy chá»n “--%s†không nhận đối số\n" #, c-format #~ msgid "%s: unrecognized option '--%s'\n" #~ msgstr "%s: không nhận ra tùy chá»n “--%sâ€\n" #, c-format #~ msgid "%s: option '-W %s' is ambiguous\n" #~ msgstr "%s: tùy chá»n “-W %s†chưa rõ ràng\n" #, c-format #~ msgid "%s: option '-W %s' doesn't allow an argument\n" #~ msgstr "%s: tùy chá»n “-W %s†không cho phép đối số\n" #, c-format #~ msgid "%s: option '-W %s' requires an argument\n" #~ msgstr "%s: tùy chá»n “-W %s†cần má»™t đối số\n" #, c-format #~ msgid "%s home page: \n" #~ msgstr "Trang chá»§ %s: \n" #~ msgid "Assaf Gordon" #~ msgstr "Assaf Gordon" #~ msgid "'op' is the operation to perform;\n" #~ msgstr "“op†là thao tác cần thá»±c hiện;\n" #~ msgid "File operations:\n" #~ msgstr "Thao tác tập tin:\n" #~ msgid "" #~ " -f, --full print entire input line before op results\n" #~ " (default: print only the grouped keys)\n" #~ msgstr "" #~ " -f, --full in toàn bá»™ dòng đầu vào trước kết quả thao " #~ "tác\n" #~ " (mặc định: chỉ in các khóa được nhóm)\n" #~ msgid " -g, --group=X[,Y,Z] group via fields X,[Y,Z]\n" #~ msgstr " -g, --group=X[,Y,Z] nhóm thông qua các trưá»ng X,[Y,Z]\n" #, c-format #~ msgid "sort command too-long (please report this bug)" #~ msgstr "lệnh sort quá dài (vui lòng báo cáo đây là lá»—i)" #, fuzzy #~ msgid " --debug print helpful debugging information\n" #~ msgstr " -d, --debug in nhiá»u thông tin để tìm sá»­a lá»—i.\n" datamash-1.9/src/0000755000000000000000000000000014774035552007457 5datamash-1.9/src/column-headers.c0000644000000000000000000000571514771573715012466 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2014-2021 Assaf Gordon. This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include #include #include "system.h" #include "xalloc.h" #include "linebuffer.h" #include "ignore-value.h" #include "intprops.h" #include "text-options.h" #include "text-lines.h" #include "column-headers.h" static size_t num_input_column_headers = 0 ; static char** input_column_headers; void free_column_headers () { for (size_t i = 0; i < num_input_column_headers; ++i) { free (input_column_headers[i]); input_column_headers[i] = NULL; } free (input_column_headers); input_column_headers = NULL; } size_t _GL_ATTRIBUTE_PURE get_num_column_headers () { return num_input_column_headers; } const char* _GL_ATTRIBUTE_PURE get_input_field_name (size_t field_num) { assert (field_num > 0 /* LCOV_EXCL_LINE */ && field_num <= num_input_column_headers); /* LCOV_EXCL_LINE */ return input_column_headers[field_num-1]; } size_t _GL_ATTRIBUTE_PURE get_input_field_number (const char* field_name) { assert (field_name != NULL); /* LCOV_EXCL_LINE */ assert (*field_name != 0); /* LCOV_EXCL_LINE */ for (size_t i = 0 ; i < num_input_column_headers ; ++i) { if (STREQ (field_name,input_column_headers[i])) return i+1; } return 0; } void build_input_line_headers (const struct line_record_t *lr, bool store_names) { char *str; size_t len = 0; const size_t num_fields = line_record_num_fields (lr); const size_t field_name_buf_size = 7+INT_BUFSIZE_BOUND (size_t)+1; num_input_column_headers = num_fields; input_column_headers = XNMALLOC (num_fields, char*); for (size_t i = 1; i <= num_fields; ++i) { if (!store_names) { str = xmalloc ( field_name_buf_size ); ignore_value (snprintf (str, field_name_buf_size, "field-%"PRIuMAX,(uintmax_t)i)); } else { const char* tmp = NULL; line_record_get_field (lr, i, &tmp, &len); str = xmalloc ( len+1 ); memcpy (str, tmp, len); str[len] = 0; } input_column_headers[i-1] = str; } } datamash-1.9/src/column-headers.h0000644000000000000000000000364214771573715012470 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2014-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __COLUMN_HEADERS_H__ #define __COLUMN_HEADERS_H__ /* Column Headers Module */ /* Given a parsed line (representing the header line), sets the column names. if 'store_names' is true, stores the name of each field as the column header. if 'store_names' is false, simply counts the number of fields in the input line. */ void build_input_line_headers (const struct line_record_t *lr, bool store_names); /* returns the number of fields as extracted by 'build_input_line_headers ()' */ size_t get_num_column_headers (); /* returns the name of column 'field_num' (1 == first field). If 'store_names' (above) was true, returns the name of the column as appeared in the first input line. If 'store_names' (above) was false, returns 'field-X'. The returned string must not be modified (or free'd). */ const char* get_input_field_name (size_t field_num); /* returns field number (1== first field) which matches the given field name. returns ZERO if no such field found. */ size_t get_input_field_number (const char* field_name); void free_column_headers (); #endif datamash-1.9/src/crosstab.c0000644000000000000000000001264214771573715011375 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include #include "hash.h" #include "hash-pjw.h" #include "xalloc.h" #include "system.h" #include "crosstab.h" #include "utils.h" #include "text-options.h" static bool _GL_ATTRIBUTE_PURE str_comparator (const void* a, const void* b) { assert (a!=NULL && b!=NULL); /* LCOV_EXCL_LINE */ if (a==b) return true; return (STREQ ((const char*)a, (const char*)b)); } static size_t _GL_ATTRIBUTE_PURE hash_crosstab_data_cell (void const *x, size_t tablesize) { struct crosstab_datacell *dc = (struct crosstab_datacell*)x; const char *s; size_t h = 0; #define SIZE_BITS (sizeof (size_t) * CHAR_BIT) for (s = dc->row_name; *s; s++) h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); for (s = dc->col_name; *s; s++) h = *s + ((h << 9) | (h >> (SIZE_BITS - 9))); return h % tablesize; } static bool _GL_ATTRIBUTE_PURE crosstab_datacell_comparator (const void* a, const void* b) { assert (a!=NULL && b!=NULL); /* LCOV_EXCL_LINE */ if (a==b) return true; const struct crosstab_datacell *da = (struct crosstab_datacell*)a; const struct crosstab_datacell *db = (struct crosstab_datacell*)b; return (STREQ (da->row_name, db->row_name) && STREQ (da->col_name, db->col_name)); } static struct crosstab_datacell* new_datacell (const char* row, const char* col, const char* data) { struct crosstab_datacell *dc = xmalloc (sizeof (struct crosstab_datacell)); dc->row_name = row; dc->col_name = col; dc->data = xstrdup (data); return dc; } static void crosstab_datacell_free (void *a) { struct crosstab_datacell *dc = (struct crosstab_datacell*)a; dc->row_name = NULL; dc->col_name = NULL; /* syntax-check doesn't like casting the argument to free; free doesn't like const values passed to it. */ void *data = (void*)dc->data; free (data); dc->data = NULL; free (dc); } /* Setup needed variables for the cross-tabulation */ struct crosstab* crosstab_init () { struct crosstab *ct = XMALLOC (struct crosstab); ct->rows = hash_initialize (1000,NULL,hash_pjw,str_comparator,free); ct->columns = hash_initialize (1000,NULL,hash_pjw,str_comparator,free); ct->data = hash_initialize (1000,NULL,hash_crosstab_data_cell, crosstab_datacell_comparator, crosstab_datacell_free); return ct; } void crosstab_free (struct crosstab* ct) { assert (ct!=NULL); /* LCOV_EXCL_LINE */ hash_free (ct->rows); ct->rows = NULL; hash_free (ct->columns); ct->columns = NULL; hash_free (ct->data); ct->data = NULL; free (ct); } /* Add new cross-tabulation result */ void crosstab_add_result (struct crosstab* ct, const char* row, const char* col, const char* data) { const char* r = hash_lookup (ct->rows, row); if (r==NULL) r = hash_insert (ct->rows, xstrdup (row)); const char* c = hash_lookup (ct->columns, col); if (c==NULL) c = hash_insert (ct->columns, xstrdup (col)); struct crosstab_datacell *ctdc = new_datacell (r,c,data); struct crosstab_datacell *existing_ctdc = hash_insert (ct->data, ctdc); if (ctdc != existing_ctdc) { crosstab_datacell_free (ctdc); } } /* Print table */ void crosstab_print (const struct crosstab* ct) { const size_t n_rows = hash_get_n_entries (ct->rows); char** rows_list = XNMALLOC (n_rows,char*); hash_get_entries (ct->rows, (void**)rows_list, n_rows); qsort (rows_list, n_rows, sizeof (char*), cmpstringp); const size_t n_cols = hash_get_n_entries (ct->columns); char** cols_list = XNMALLOC (n_cols,char*); hash_get_entries (ct->columns, (void**)cols_list, n_cols); qsort (cols_list, n_cols, sizeof (char*), cmpstringp); /* Print columns */ for (size_t c = 0; c < n_cols; ++c) { print_field_separator (); fputs (cols_list[c], stdout); } print_line_separator (); /* Print rows */ for (size_t r = 0; r < n_rows; ++r) { fputs (rows_list[r], stdout); for (size_t c = 0; c < n_cols; ++c) { struct crosstab_datacell curr; curr.row_name = rows_list[r]; curr.col_name = cols_list[c]; const struct crosstab_datacell *dc = hash_lookup (ct->data, &curr); print_field_separator (); fputs ((dc==NULL)?missing_field_filler:dc->data, stdout); } print_line_separator (); } free (rows_list); free (cols_list); } /* vim: set cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1: */ /* vim: set shiftwidth=2: */ /* vim: set tabstop=8: */ /* vim: set expandtab: */ datamash-1.9/src/crosstab.h0000644000000000000000000000266014771573715011401 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __CROSSTAB_H__ #define __CROSSTAB_H__ struct crosstab { Hash_table *rows; Hash_table *columns; Hash_table *data; }; struct crosstab_datacell { const char* row_name; const char* col_name; const char* data; }; struct crosstab_data_cell* crosstab_new_datacell (const char* row, const char* col, const char* data); struct crosstab* crosstab_init (); void crosstab_add_result (struct crosstab* ct, const char* row, const char* col, const char* data); void crosstab_print (const struct crosstab* ct); void crosstab_free (struct crosstab* ct); #endif /* __CROSSTAB_H__ */ datamash-1.9/src/datamash.c0000644000000000000000000013117314771575131011332 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include #include #include #include #include #include #include #include #include "system.h" #include "die.h" #include "fpucw.h" #include "closeout.h" #include "hash.h" #include "hash-pjw.h" #include "lib/intprops.h" #include "quote.h" #include "ignore-value.h" #include "stdnoreturn.h" #include "linebuffer.h" #define Version VERSION #include "version-etc.h" #include "xalloc.h" #include "sh-quote.h" #include "text-options.h" #include "text-lines.h" #include "column-headers.h" #include "op-defs.h" #include "op-parser.h" #include "utils.h" #include "randutils.h" #include "field-ops.h" #include "crosstab.h" /* The official name of this program (e.g., no 'g' prefix). */ #define PROGRAM_NAME "datamash" #define AUTHORS proper_name \ ("Assaf Gordon, Tim Rice, Shawn Wagner, Erik Auerswald") /* Until someone better comes along */ const char version_etc_copyright[] = "Copyright %s %d Assaf Gordon and Tim Rice" ; /* Line number in the input file */ static size_t line_number = 0 ; /* Lines in the current group */ static size_t lines_in_group = 0 ; /* Print Output Header */ static bool output_header = false; /* Input file has a header line */ static bool input_header = false; /* If true, print the entire input line. Otherwise, print only the key fields */ static bool print_full_line = false; /* processing mode, group fields, field operations */ static struct datamash_ops *dm = NULL; static bool line_mode = false; /* if TRUE, handle each line as a group */ static bool crosstab_mode = false; /* if TRUE, do cross-tabulation */ static struct crosstab* crosstab = NULL; static bool pipe_through_sort = false; static FILE* input_stream = NULL; /* Use large buffer for normal operation (will be reduced for testing) */ static size_t rmdup_initial_size = (1024*1024); /* Explicit output delimiter with --output-delimiter */ static int explicit_output_delimiter = -1; /* Path to default sort program */ static const char *sort_cmd = SORT_PATH; enum { INPUT_HEADER_OPTION = CHAR_MAX + 1, OUTPUT_HEADER_OPTION, NO_STRICT_OPTION, REMOVE_NA_VALUES_OPTION, OUTPUT_DELIMITER_OPTION, CUSTOM_FORMAT_OPTION, SORT_PROGRAM_OPTION, VNLOG_OPTION, UNDOC_PRINT_INF_OPTION, UNDOC_PRINT_NAN_OPTION, UNDOC_PRINT_PROGNAME_OPTION, UNDOC_RMDUP_TEST }; static char const short_options[] = "sS:fF:izg:t:HWR:Cc:hV"; static struct option const long_options[] = { {"zero-terminated", no_argument, NULL, 'z'}, {"field-separator", required_argument, NULL, 't'}, {"whitespace", no_argument, NULL, 'W'}, {"group", required_argument, NULL, 'g'}, {"ignore-case", no_argument, NULL, 'i'}, {"skip-comments", no_argument, NULL, 'C'}, {"header-in", no_argument, NULL, INPUT_HEADER_OPTION}, {"header-out", no_argument, NULL, OUTPUT_HEADER_OPTION}, {"headers", no_argument, NULL, 'H'}, {"vnlog", no_argument, NULL, VNLOG_OPTION}, {"full", no_argument, NULL, 'f'}, {"filler", required_argument, NULL, 'F'}, {"format", required_argument, NULL, CUSTOM_FORMAT_OPTION}, {"output-delimiter", required_argument, NULL, OUTPUT_DELIMITER_OPTION}, {"collapse-delimiter", required_argument, NULL,'c'}, {"sort", no_argument, NULL, 's'}, {"seed", no_argument, NULL, 'S'}, {"no-strict", no_argument, NULL, NO_STRICT_OPTION}, {"narm", no_argument, NULL, REMOVE_NA_VALUES_OPTION}, {"round", required_argument, NULL, 'R'}, {"sort-cmd", required_argument, NULL, SORT_PROGRAM_OPTION}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, /* Undocumented options */ {"-print-inf", no_argument, NULL, UNDOC_PRINT_INF_OPTION}, {"-print-nan", no_argument, NULL, UNDOC_PRINT_NAN_OPTION}, {"-print-progname", no_argument, NULL, UNDOC_PRINT_PROGNAME_OPTION}, {"-rmdup-test", no_argument, NULL, UNDOC_RMDUP_TEST}, {NULL, 0, NULL, 0}, }; static void group_columns_find_named_columns () { for (size_t i = 0; i < dm->num_grps; ++i) { struct group_column_t *p = &dm->grps[i]; if (!p->by_name) continue; p->num = get_input_field_number (p->name); if (p->num == 0) die (EXIT_FAILURE, 0, _("column name %s not found in input file"), quote (p->name)); p->by_name = false; } } static void usage (int status) { if (status != EXIT_SUCCESS) emit_try_help (); else { printf (_("Usage: %s [OPTION] op [fld] [op fld ...]\n"), program_name); fputs ("\n", stdout); fputs (_("Performs numeric/string operations on input from stdin."), stdout); fputs ("\n\n", stdout); fputs (_("\ 'op' is the operation to perform. If a primary operation is used,\n\ it must be listed first, optionally followed by other operations.\n"), stdout); fputs (_("\ 'fld' is the input field to use. 'fld' can be a number (1=first field),\n\ or a field name when using the -H or --header-in options.\n"), stdout); fputs (_("\ Multiple fields can be listed with a comma (e.g. 1,6,8). A range of\n\ fields can be listed with a dash (e.g. 2-8). Use colons for operations\n\ which require a pair of fields (e.g. 'pcov 2:6').\n"), stdout); fputs ("\n\n", stdout); fputs (_("Primary operations:\n"),stdout); fputs (" groupby, crosstab, transpose, reverse, check\n",stdout); fputs (_("Line-Filtering operations:\n"),stdout); fputs (" rmdup\n",stdout); fputs (_("Per-Line operations:\n"),stdout); fputs (" base64, debase64, md5, sha1, sha224, sha256, sha384, sha512,\n", stdout); fputs (" bin, strbin, round, floor, ceil, trunc, frac,\n", stdout); fputs (" dirname, basename, barename, extname, getnum, cut\n", stdout); fputs (_("Numeric Grouping operations:\n"),stdout); fputs (" sum, min, max, absmin, absmax, range\n",stdout); fputs (_("Textual/Numeric Grouping operations:\n"),stdout); fputs (" count, first, last, rand, unique, collapse, countunique\n", stdout); fputs (_("Statistical Grouping operations:\n"),stdout); fputs ("\ mean, geomean, harmmean, trimmean, median, q1, q3, iqr, perc,\n\ mode, antimode, pstdev, sstdev, pvar, svar, ms, rms, mad, madraw,\n\ pskew, sskew, pkurt, skurt, dpo, jarque,\n\ scov, pcov, spearson, ppearson, dotprod\n\ \n", stdout); fputs ("\n", stdout); fputs (_("Options:\n"),stdout); fputs ("\n", stdout); fputs (_("Grouping Options:\n"),stdout); fputs (_("\ -C, --skip-comments skip comment lines (starting with '#' or ';'\n\ and optional whitespace)\n\ "), stdout); fputs (_("\ -f, --full print entire input line before op results\n\ (default: print only the grouped keys)\n\ This option is only sensible for linewise\n\ operations. Other uses are deprecated and\n\ will be removed in a future version of GNU\n\ Datamash.\n\ "), stdout); fputs (_("\ -g, --group=X[,Y,Z] group via fields X,[Y,Z];\n\ equivalent to primary operation 'groupby'\n\ "), stdout); fputs (_("\ --header-in first input line is column headers\n\ "), stdout); fputs (_("\ --header-out print column headers as first line\n\ "), stdout); fputs (_("\ -H, --headers same as '--header-in --header-out'\n\ "), stdout); fputs (_("\ --vnlog Reads and writes data in the vnlog format.\n\ Implies -C -H -W\n\ "), stdout); fputs (_("\ -i, --ignore-case ignore upper/lower case when comparing text;\n\ this affects grouping, and string operations\n\ "), stdout); fputs (_("\ -s, --sort sort the input before grouping; this removes the\n\ need to manually pipe the input through 'sort'\n\ "), stdout); fputs (_("\ -S, --seed set a seed for operations that use randomization\n\ "), stdout); fputs (_("\ -c, --collapse-delimiter=X use X to separate elements in collapse and\n\ unique lists (default: comma)\n\ "), stdout); fputs (_("File Operation Options:\n"),stdout); fputs (_("\ --no-strict allow lines with varying number of fields\n\ "), stdout); printf (_("\ --filler=X fill missing values with X (default %s)\n\ "), missing_field_filler); fputs ("\n", stdout); fputs (_("General Options:\n"),stdout); fputs (_("\ -t, --field-separator=X use X instead of TAB as field delimiter\n\ "), stdout); fputs (_("\ --format=FORMAT print numeric values with printf style\n\ floating-point FORMAT.\n\ "), stdout); fputs (_("\ --output-delimiter=X use X instead as output field delimiter\n\ (default: use same delimiter as -t/-W)\n\ "), stdout); fputs (_("\ --narm skip NA/NaN values\n\ "), stdout); fputs (_("\ -R, --round=N round numeric output to N decimal places\n\ "), stdout); fputs (_("\ -W, --whitespace use whitespace (one or more spaces and/or tabs)\n\ for field delimiters\n\ "), stdout); fputs (_("\ -z, --zero-terminated end lines with 0 byte, not newline\n\ "), stdout); fputs (_("\ --sort-cmd=/path/to/sort Alternative sort(1) to use.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs ("\n\n", stdout); fputs (_("Environment:"), stdout); fputs ("\n", stdout); fputs (_("\ LC_NUMERIC decimal-point character and thousands separator\n\ "), stdout); fputs ("\n\n", stdout); fputs (_("Examples:"), stdout); fputs ("\n\n", stdout); fputs (_("Print the sum and the mean of values from column 1:"), stdout); printf ("\n\ $ seq 10 | %s sum 1 mean 1\n\ 55 5.5\n\ \n", program_name); fputs (_("Transpose input:"), stdout); printf ("\n\ $ seq 10 | paste - - | %s transpose\n\ 1 3 5 7 9\n\ 2 4 6 8 10\n\ \n", program_name); fputs (_("For detailed usage information and examples, see\n"),stdout); printf (" man %s\n", PROGRAM_NAME); fputs (_("The manual and more examples are available at\n"), stdout); fputs (" " PACKAGE_URL "\n\n", stdout); } exit (status); } static inline noreturn void error_not_enough_fields (const size_t needed, const size_t found) { error (0, 0, _("invalid input: field %"PRIuMAX" requested, " \ "line %"PRIuMAX" has only %"PRIuMAX" fields"), (uintmax_t)needed, (uintmax_t)line_number, (uintmax_t)found); exit (EXIT_FAILURE); } static inline void safe_line_record_get_field (const struct line_record_t *lr, const size_t n, const char ** /* out */ pptr, size_t* /*out*/ plen) { if (!line_record_get_field (lr, n, pptr, plen)) error_not_enough_fields (n, line_record_num_fields (lr)); } static inline void safe_line_record_get_fieldz (const struct line_record_t *lr, const size_t n, char * /* out */ buf, size_t len) { const char *p; size_t l = 0; safe_line_record_get_field (lr, n, &p, &l); l = MIN (len-1,l); memcpy (buf, p, l); buf[l] = 0; } /* returns TRUE if the lines are different, false if identical. * comparison is based on the specified keys */ /* copied from coreutils's src/uniq.c (in the key-spec branch) */ static bool _GL_ATTRIBUTE_PURE different (const struct line_record_t* l1, const struct line_record_t* l2) { for (size_t i = 0; i < dm->num_grps; ++i) { const size_t col_num = dm->grps[i].num; const char *str1=NULL,*str2=NULL; size_t len1=0,len2=0; safe_line_record_get_field (l1, col_num, &str1, &len1); safe_line_record_get_field (l2, col_num, &str2, &len2); if (len1 != len2) return true; if ((case_sensitive && !STREQ_LEN (str1,str2,len1)) || (!case_sensitive && (strncasecmp (str1,str2,len1)!=0))) return true; } return false; } /* For a given line, extract all requested fields and process the associated operations on them */ static bool process_line (const struct line_record_t *line) { const char *str = NULL; size_t len = 0; enum FIELD_OP_COLLECT_RESULT flocr; bool keep_line = false; for (size_t i=0; inum_ops; ++i) { struct fieldop *op = &dm->ops[i]; safe_line_record_get_field (line, op->field, &str, &len); flocr = field_op_collect (op, str, len); if (!field_op_ok (flocr)) { char *tmp = xmalloc (len+1); memcpy (tmp,str,len); tmp[len] = 0 ; die (EXIT_FAILURE, 0, _("%s in line %"PRIuMAX" field %"PRIuMAX": '%s'"), field_op_collect_result_name (flocr), (uintmax_t)line_number, (uintmax_t)op->field, tmp); } keep_line = keep_line || (flocr==FLOCR_OK_KEEP_LINE); } return keep_line; } /* Print the input line representing the summarized group. if '--full' - print the entire line. if not full, print only the keys used for grouping. */ static void print_input_line (const struct line_record_t* lb) { const char *str = NULL; size_t len = 0 ; if (print_full_line) { for (size_t i = 1; i <= line_record_num_fields (lb); ++i) { safe_line_record_get_field (lb, i, &str, &len); ignore_value (fwrite (str, sizeof (char), len, stdout)); print_field_separator (); } } else { for (size_t i = 0; i < dm->num_grps; ++i) { const size_t col_num = dm->grps[i].num; safe_line_record_get_field (lb, col_num, &str, &len); ignore_value (fwrite (str,sizeof (char),len,stdout)); print_field_separator (); } } } #define SWAP_LINES(A, B) \ do \ { \ struct line_record_t *_tmp; \ _tmp = (A); \ (A) = (B); \ (B) = _tmp; \ } \ while (0) static void print_column_headers () { if ( vnlog ) printf ("# "); if (print_full_line) { /* Print the headers of all the input fields */ for (size_t n=1; n<=get_num_column_headers (); ++n) { fputs (get_input_field_name (n), stdout); print_field_separator (); } } else { /* print only the headers of the group-by fields, e.g 'GroupBy (field-3)' (without input headers), or 'GroupBy (NAME)' (with input headers) */ for (size_t i = 0; i < dm->num_grps; ++i) { const size_t col_num = dm->grps[i].num; if (col_num > get_num_column_headers ()) error_not_enough_fields (col_num, get_num_column_headers ()); printf ("GroupBy" "(%s)",get_input_field_name (col_num)); print_field_separator (); } } /* add headers of the operations, e.g. 'sum (field-3)' (without input headers), or 'sum (NAME)' (with input headers) */ for (size_t i=0; inum_ops; ++i) { struct fieldop *op = &dm->ops[i]; if (op->field > get_num_column_headers ()) error_not_enough_fields (op->field, get_num_column_headers ()); printf ("%s", get_field_operation_name (op->op)); if (op->op == OP_PERCENTILE) { printf (":%"PRIuMAX, (uintmax_t)op->params.percentile); } if (op->op == OP_TRIMMED_MEAN) { printf (":%Lg", op->params.trimmed_mean); } printf ("(%s", get_input_field_name (op->field)); while (dm->ops[i].slave) { /* print subsequent arguments to the same operation, e.g. 'pcov (x,y)' */ ++i; printf (",%s", get_input_field_name (dm->ops[i].field)); } printf (")"); if (i != dm->num_ops-1) print_field_separator (); } /* print end-of-line */ print_line_separator (); } static void field_op_find_named_columns () { for (size_t i=0; inum_ops; ++i) { struct fieldop *p = &dm->ops[i]; if (!p->field_by_name) continue; p->field = get_input_field_number (p->field_name); if (p->field == 0) die (EXIT_FAILURE, 0, _("column name %s not found in input file"), quote (p->field_name)); p->field_by_name = false; } } /* Process the input header line */ static void process_input_header (FILE *stream) { struct line_record_t lr; line_record_init (&lr); if (line_record_fread (&lr, stream, eolchar, skip_comments, vnlog)) { build_input_line_headers (&lr, true); line_number++; /* If using named-columns, find the column numbers after reading the header line. */ field_op_find_named_columns (); group_columns_find_named_columns (); } line_record_free (&lr); } static void summarize_field_ops () { for (size_t i=0;inum_ops;++i) { struct fieldop *p = &dm->ops[i]; if (p->slave) continue; field_op_summarize (p); fputs (p->out_buf, stdout); /* print field separator */ if (i != dm->num_ops-1) print_field_separator (); } /* print end-of-line */ print_line_separator (); } static void reset_field_ops () { for (size_t i=0;inum_ops;++i) field_op_reset (&dm->ops[i]); } /* Process a completed group of data lines (all with the same 'group by' keys). */ static void process_group (const struct line_record_t* line) { /* TODO: dynamically re-alloc if needed */ char col_name[512]; char row_name[512]; if (lines_in_group>0) { if (crosstab_mode) { /* cross-tabulation mode - save results in a matrix, print later */ const size_t row_field = dm->grps[0].num; safe_line_record_get_fieldz (line, row_field, row_name, sizeof row_name); const size_t col_field = dm->grps[1].num; safe_line_record_get_fieldz (line, col_field, col_name, sizeof col_name); field_op_summarize (&dm->ops[0]); const char* data = dm->ops[0].out_buf; crosstab_add_result (crosstab, row_name, col_name, data); } else { /* group-by/per-line mode - print results once available */ print_input_line (line); summarize_field_ops (); } } lines_in_group = 0; reset_field_ops (); } /* Process each line in the input. If the key of the current line is different from the previous one, summarize the previous group and start a new one. */ static void process_file () { struct line_record_t lb1, lb2; struct line_record_t *thisline, *group_first_line; thisline = &lb1; group_first_line = &lb2; line_record_init (thisline); line_record_init (group_first_line); /* If there is an input header line, and it wasn't read already in 'open_input' - read it now */ if (input_header && line_number==0) process_input_header (input_stream); if (print_full_line && !line_mode) fputs (_("datamash: Using -f/--full with non-linewise operations \ is deprecated and will be disabled in a future release.\n"), stderr); /* If there is an input header line, and the user requested an output header line, and the input line was read successfully, print headers */ if (input_header && output_header && line_number==1) print_column_headers (); while (line_record_fread (thisline, input_stream, eolchar, skip_comments, false)) { bool new_group = false; line_number++; /* If there's no input header line, and the user requested an output header line, then generate output header line based on the number of fields in the first (data, non-header) input line */ if (line_number==1 && output_header && !input_header) { build_input_line_headers (thisline, false); print_column_headers (); } /* If no keys are given, the entire input is considered one group */ if (dm->num_grps || line_mode) { new_group = (group_first_line->lbuf.length == 0 || line_mode || different (thisline, group_first_line)); if (new_group) { process_group (group_first_line); group_first_line->lbuf.length = 0; } } else { /* The entire line is a "group", if it's the first line, keep it */ new_group = (group_first_line->lbuf.length==0); } lines_in_group++; bool keep_line = process_line (thisline); if (new_group || keep_line) { SWAP_LINES (group_first_line, thisline); } } /* summarize last group */ process_group (group_first_line); line_record_free (&lb1); line_record_free (&lb2); } /* Transpose rows and columns in input file */ static void transpose_file () { size_t num_lines = 0; size_t alloc_lines = 0; struct line_record_t *lines = NULL; size_t max_num_fields = 0 ; size_t prev_num_fields = 0 ; /* Read all input lines - but instead of reusing line_record_t, keep all lines in memory. */ while (true) { if (num_lines+1 > alloc_lines) { alloc_lines += 1000; lines = xnrealloc ( lines, alloc_lines, sizeof (struct line_record_t)); } struct line_record_t *thisline = &lines[num_lines]; num_lines++; line_record_init (thisline); if (!line_record_fread (thisline, input_stream, eolchar, skip_comments, false)) break; line_number++; const size_t num_fields = line_record_num_fields (thisline); if (strict && line_number>1 && num_fields != prev_num_fields) die (EXIT_FAILURE, 0, _("transpose input error: line %"PRIuMAX" " \ "has %"PRIuMAX" fields (previous lines had %"PRIuMAX");\n" \ "see --help to disable strict mode"), (uintmax_t)line_number, (uintmax_t)num_fields, (uintmax_t)prev_num_fields); prev_num_fields = num_fields; max_num_fields = MAX (max_num_fields,num_fields); } /* Output all fields */ for (size_t i = 1 ; i <= max_num_fields ; ++i) { for (size_t j = 0; j < line_number; ++j) { if (j>0) print_field_separator (); const struct line_record_t *line = &lines[j]; const char* str; size_t len; if (line_record_get_field (line, i, &str, &len)) fwrite (str, len, sizeof (char), stdout); else fputs (missing_field_filler, stdout); } print_line_separator (); } /* Free pointers */ for (size_t i = 0; i < num_lines; ++i) line_record_free (&lines[i]); free (lines); } /* Reverse the fields in each line of the input file */ static void reverse_fields_in_file () { struct line_record_t lr; struct line_record_t *thisline; size_t prev_num_fields = 0; thisline = &lr; line_record_init (thisline); while (line_record_fread (thisline, input_stream, eolchar, skip_comments, vnlog && line_number==0)) { line_number++; const size_t num_fields = line_record_num_fields (thisline); if (strict && line_number>1 && num_fields != prev_num_fields) die (EXIT_FAILURE, 0, _("reverse-field input error: line " \ "%"PRIuMAX" has %"PRIuMAX" fields (previous lines had " \ "%"PRIuMAX");\n" \ "see --help to disable strict mode"), (uintmax_t)line_number, (uintmax_t)num_fields, (uintmax_t)prev_num_fields); prev_num_fields = num_fields; /* Special handling for header line */ if (line_number == 1) { if (vnlog) { /* If using named-columns, find the column numbers after reading the header line. */ build_input_line_headers (&lr, true); group_columns_find_named_columns (); fprintf (stdout, "# "); const size_t num_fields = line_record_num_fields (thisline); for (size_t i = num_fields ; i >= 1 ; --i) { if (i 0; --i) { if (i < num_fields) print_field_separator (); fputs (get_input_field_name (i), stdout); } print_line_separator (); } } /* Print the line, reversing field order */ for (size_t i = num_fields; i > 0; --i) { if (i < num_fields) print_field_separator (); const char* str = NULL; size_t len = 0 ; ignore_value (line_record_get_field (thisline, i, &str, &len)); fwrite (str, len, sizeof (char), stdout); } print_line_separator (); } line_record_free (&lr); } /* read, parse, print file - without any additional operations */ static void noop_file () { struct line_record_t lr; struct line_record_t *thisline; thisline = &lr; line_record_init (thisline); while (line_record_fread (thisline, input_stream, eolchar, skip_comments, false)) { line_number++; if (print_full_line) { ignore_value (fwrite (line_record_buffer (thisline), line_record_length (thisline), sizeof (char), stdout)); print_line_separator (); } } line_record_free (&lr); } /* Read file, ensure it is in tabular format (same number of fields in each line) */ static void tabular_check_file () { size_t prev_num_fields=0; struct line_record_t lb1, lb2; struct line_record_t *thisline, *prevline; const uintmax_t n_lines = dm->mode_params.check_params.n_lines; const uintmax_t n_fields = dm->mode_params.check_params.n_fields; thisline = &lb1; prevline = &lb2; line_record_init (thisline); line_record_init (prevline); while (line_record_fread (thisline, input_stream, eolchar, skip_comments, false)) { line_number++; const size_t num_fields = line_record_num_fields (thisline); /* Check if the number of fields is different than expected/requested on the command line (e.g. with 'datamash check 6 fields') */ if (n_fields && n_fields != num_fields) { fprintf (stderr, _("line %"PRIuMAX" (%"PRIuMAX" fields):\n "), (uintmax_t)(line_number), (uintmax_t)num_fields); ignore_value (fwrite (line_record_buffer (thisline), line_record_length (thisline), sizeof (char), stderr)); fputc ('\n', stderr); die (EXIT_FAILURE, 0, _("check failed: line " \ "%"PRIuMAX" has %"PRIuMAX" fields (expecting "\ "%"PRIuMAX")"), (uintmax_t)line_number, (uintmax_t)num_fields, (uintmax_t)n_fields); } /* Check if the number of fields changed from one line to the next (only if no expected number of fields specified on the command line).*/ else if (line_number>1 && num_fields != prev_num_fields) { fprintf (stderr, _("line %"PRIuMAX" (%"PRIuMAX" fields):\n "), (uintmax_t)(line_number-1), (uintmax_t)prev_num_fields); ignore_value (fwrite (line_record_buffer (prevline), line_record_length (prevline), sizeof (char), stderr)); fputc ('\n', stderr); fprintf (stderr, _("line %"PRIuMAX" (%"PRIuMAX" fields):\n "), (uintmax_t)(line_number), (uintmax_t)num_fields); ignore_value (fwrite (line_record_buffer (thisline), line_record_length (thisline), sizeof (char), stderr)); fputc ('\n', stderr); die (EXIT_FAILURE, 0, _("check failed: line " \ "%"PRIuMAX" has %"PRIuMAX" fields (previous line had "\ "%"PRIuMAX")"), (uintmax_t)line_number, (uintmax_t)num_fields, (uintmax_t)prev_num_fields); } prev_num_fields = num_fields; SWAP_LINES (prevline, thisline); } /* Check if we read too many/few lines */ if (n_lines && n_lines != line_number) { die (EXIT_FAILURE, 0, _("check failed: input had %"PRIuMAX" lines " \ "(expecting %"PRIuMAX")"), (uintmax_t)line_number, (uintmax_t)n_lines); } /* Print summary */ printf (ngettext ("%"PRIuMAX" line", "%"PRIuMAX" lines", select_plural (line_number)), (uintmax_t)line_number); fputs (", ", stdout); printf (ngettext ("%"PRIuMAX" field", "%"PRIuMAX" fields", select_plural (prev_num_fields)), (uintmax_t)prev_num_fields); print_line_separator (); line_record_free (&lb1); line_record_free (&lb2); } /* Remove lines with duplicates keys from a file */ static void remove_dups_in_file () { const char* str = NULL; size_t len = 0; struct line_record_t lr; struct line_record_t *thisline; Hash_table *ht; const size_t init_table_size = rmdup_initial_size; char* keys_buffer = NULL; size_t keys_buffer_alloc = 0; size_t next_key_pos = 0; char** buffer_list = NULL; size_t buffer_list_alloc = 0; size_t buffer_list_size = 0; thisline = &lr; line_record_init (thisline); ht = hash_initialize (init_table_size, NULL, hash_pjw, hash_compare_strings, NULL); /* Allocate keys buffer */ keys_buffer_alloc = rmdup_initial_size ; keys_buffer = xmalloc ( keys_buffer_alloc ); /* List of allocated key-buffers */ buffer_list = x2nrealloc (NULL, &buffer_list_alloc, sizeof (char*)); buffer_list[0] = keys_buffer; buffer_list_size = 1 ; if (input_header) { if (line_record_fread (thisline, input_stream, eolchar, skip_comments, vnlog)) { line_number++; /* If using named-columns, find the column numbers after reading the header line. */ if (dm->header_required) { build_input_line_headers (&lr, true); group_columns_find_named_columns (); } if (output_header) { if (vnlog) fprintf (stdout, "# "); const size_t num_fields = line_record_num_fields (thisline); for (size_t i = 1 ; i <= num_fields ; ++i) { if (i>1) print_field_separator (); const char *str; size_t len; if (line_record_get_field (thisline, i, &str, &len)) { ignore_value (fwrite (str, len, sizeof (char), stdout)); } } print_line_separator (); } } } assert (dm->num_grps==1); /* LCOV_EXCL_LINE */ const size_t key_col = dm->grps[0].num; /* TODO: handle (output_header && !input_header) by generating dummy headers after the first line is read, and the number of fields is known. */ while (line_record_fread (thisline, input_stream, eolchar, skip_comments, false)) { line_number++; if (!line_record_get_field (thisline, key_col, &str, &len)) error_not_enough_fields (key_col, line_record_num_fields (thisline)); /* Add key to the key buffer */ if (next_key_pos + len + 1 > keys_buffer_alloc) { keys_buffer = xmalloc ( keys_buffer_alloc ) ; next_key_pos = 0; /* Add new key-buffer to the list */ if (buffer_list_size == buffer_list_alloc) buffer_list = x2nrealloc (buffer_list, &buffer_list_alloc, sizeof (char*)); buffer_list[buffer_list_size++] = keys_buffer; } char *next_key = keys_buffer+next_key_pos; memcpy (next_key, str, len); next_key[len] = 0; /* Add key to buffer (if not found) */ const int i = hash_insert_if_absent (ht, next_key, NULL); if ( i == -1 ) die (EXIT_FAILURE, errno, _("hash memory allocation error")); if ( i == 1 ) { /* This string was not found in the hash - new key */ next_key_pos += len+1; const size_t num_fields = line_record_num_fields (thisline); for (size_t i = 1 ; i <= num_fields ; ++i) { if (i>1) print_field_separator (); const char *str; size_t len; if (line_record_get_field (thisline, i, &str, &len)) { ignore_value (fwrite (str, len, sizeof (char), stdout)); } } print_line_separator (); } } line_record_free (&lr); hash_free (ht); for (size_t i = 0 ; i < buffer_list_size; ++i) free (buffer_list[i]); free (buffer_list); } static void open_input () { if (pipe_through_sort && dm->num_grps>0) { char delim[2] = { 0, 0 }; char **args = xcalloc (dm->num_grps + 8, sizeof (char *)); int argc = 0; if (input_header) { /* Set no-buffering, to ensure only the first line is consumed */ setbuf (stdin,NULL); /* Read the header line from STDIN, and pass the rest of it to the 'sort' child-process */ process_input_header (stdin); } #ifdef SORT_WITHOUT_LOCALE args[argc++] = "LC_ALL=C"; #endif args[argc++] = (char *)sort_cmd; #ifdef HAVE_STABLE_SORT /* stable sort (-s) is needed to support first/last operations (prevent sort from re-ordering lines which are not part of the group. '-s' is not standard POSIX, but very commonly supported, including on GNU coreutils, Busybox, FreeBSD, MacOSX */ args[argc++] = "-s"; #endif if (eolchar == '\0') { #ifdef HAVE_ZERO_SORT /* sort needs to understand -z to properly sort input using NUL as the line delimiter */ args[argc++] = "-z"; #else die (EXIT_FAILURE, 0, _("-s and -z cannot be combined on this system")); #endif } if (!case_sensitive) { args[argc++] = "-f"; } if (in_tab != TAB_WHITESPACE) { args[argc++] = "-t"; delim[0] = in_tab; args[argc++] = delim; } int sort_spec = argc; for (size_t i = 0; i < dm->num_grps; ++i) { char tmp[INT_BUFSIZE_BOUND (size_t) * 2 + 5]; const size_t col_num = dm->grps[i].num; snprintf (tmp,sizeof (tmp),"-k%"PRIuMAX",%"PRIuMAX, (uintmax_t)col_num,(uintmax_t)col_num); args[argc++] = xstrdup (tmp); } char *cmd = shell_quote_argv ((const char * const *) args); while (sort_spec < argc) { free (args[sort_spec++]); } free (args); input_stream = popen (cmd,"r"); free (cmd); if (input_stream == NULL) die (EXIT_FAILURE, 0, _("failed to run 'sort': popen failed")); } else { /* without grouping, there's no need to sort */ input_stream = stdin; pipe_through_sort = false; } } static void close_input () { int i; if (ferror (input_stream)) die (EXIT_FAILURE, errno, _("read error")); if (pipe_through_sort) i = pclose (input_stream); else i = fclose (input_stream); if (i != 0) die (EXIT_FAILURE, errno, _("read error (on close)")); } int main (int argc, char* argv[]) { int optc; enum processing_mode premode = MODE_INVALID; const char* premode_group_spec = NULL; bool force_seed = false; unsigned long int seed = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); openbsd_pledge (); set_program_name (argv[0]); #ifdef FORCE_C_LOCALE /* Used on mingw/windows system */ setlocale (LC_ALL, "C"); #else setlocale (LC_ALL, ""); #endif bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); init_blank_table (); atexit (close_stdout); while ((optc = getopt_long (argc, argv, short_options, long_options, NULL)) != -1) { switch (optc) { case 'C': skip_comments = true; break; case 'F': missing_field_filler = optarg; break; case 'f': print_full_line = true; break; case 'g': premode = MODE_GROUPBY; premode_group_spec = optarg; break; case 'i': case_sensitive = false; break; case VNLOG_OPTION: skip_comments = true; input_header = output_header = true; missing_field_filler = "-"; in_tab = TAB_WHITESPACE; out_tab = ' '; vnlog = true; break; case 'z': eolchar = 0; break; case INPUT_HEADER_OPTION: input_header = true; break; case OUTPUT_HEADER_OPTION: output_header = true; break; case 'H': input_header = output_header = true; break; case 'R': set_numeric_output_precision (optarg); break; case 's': pipe_through_sort = true; break; case 'S': force_seed = true; char *endptr; errno = 0; long proposed_seed = strtol (optarg, &endptr, 10); if (errno || *endptr != '\0' || proposed_seed < 0) die (EXIT_FAILURE, 0, _("invalid seed")); seed = proposed_seed; break; case NO_STRICT_OPTION: strict = false; break; case CUSTOM_FORMAT_OPTION: set_numeric_printf_format (optarg); break; case REMOVE_NA_VALUES_OPTION: remove_na_values = true; break; case 't': if (optarg[0] == '\0' || optarg[1] != '\0') die (EXIT_FAILURE, 0, _("the delimiter must be a single character")); in_tab = out_tab = optarg[0]; break; case OUTPUT_DELIMITER_OPTION: if (optarg[0] == '\0' || optarg[1] != '\0') die (EXIT_FAILURE, 0, _("the delimiter must be a single character")); explicit_output_delimiter = (char)optarg[0]; break; case 'W': in_tab = TAB_WHITESPACE; out_tab = '\t'; break; case SORT_PROGRAM_OPTION: sort_cmd = xstrdup (optarg); break; case'c': if (optarg[0] == '\0' || optarg[1] != '\0') die (EXIT_FAILURE, 0, _("the delimiter must be a single character")); collapse_separator = optarg[0]; break; case UNDOC_PRINT_INF_OPTION: case UNDOC_PRINT_NAN_OPTION: field_op_print_empty_value ( (optc==UNDOC_PRINT_INF_OPTION) ?OP_MAX:OP_MEAN ); exit (EXIT_SUCCESS); break; case UNDOC_PRINT_PROGNAME_OPTION: printf ("%s", program_name); exit (EXIT_SUCCESS); break; case UNDOC_RMDUP_TEST: rmdup_initial_size = 1024; break; case_GETOPT_HELP_CHAR; case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); default: usage (EXIT_FAILURE); } } if (argc <= optind) { error (0, 0, _("missing operation specifiers")); usage (EXIT_FAILURE); } init_random (force_seed, seed); /* If --output-delimiter=X was used, override any previous output delimiter */ if (explicit_output_delimiter != -1) out_tab = explicit_output_delimiter ; /* The rest of the parameters are the operations */ if (premode == MODE_INVALID) dm = datamash_ops_parse (argc - optind, (const char**)argv+optind); else dm = datamash_ops_parse_premode (premode, premode_group_spec, argc - optind, (const char**)argv+optind); /* If using named-columns, but no input header - abort */ if (dm->header_required && !input_header) die (EXIT_FAILURE, 0, _("-H or --header-in must be used with named columns")); if (vnlog) { if (!skip_comments) die (EXIT_FAILURE, 0, _("vnlog processing always skips comments")); if (!input_header) die (EXIT_FAILURE, 0, _("vnlog processing always reads field labels")); if (!output_header) die (EXIT_FAILURE, 0, _("vnlog processing always reads field labels")); if (!STREQ (missing_field_filler, "-")) die (EXIT_FAILURE, 0, _("vnlog processing always uses '-' for empty fields")); if (in_tab != TAB_WHITESPACE) die (EXIT_FAILURE, 0, _("vnlog processing is whitespace-delimited")); if (out_tab != ' ') die (EXIT_FAILURE, 0, _("vnlog processing always uses ' ' to separate output fields")); if (explicit_output_delimiter != -1) die (EXIT_FAILURE, 0, _("vnlog processing always uses the default output delimiter")); if (eolchar != '\n') die (EXIT_FAILURE, 0, _("vnlog processing always uses '\\n' to terminate output lines")); } open_input (); switch (dm->mode) /* LCOV_EXCL_BR_LINE */ { case MODE_PER_LINE: line_mode = true; /* fall through */ case MODE_GROUPBY: process_file (); break; case MODE_NOOP: noop_file (); break; case MODE_TRANSPOSE: transpose_file (); break; case MODE_REVERSE: reverse_fields_in_file (); break; case MODE_REMOVE_DUPS: remove_dups_in_file (); break; case MODE_CROSSTAB: assert ( dm->num_grps== 2 ); /* LCOV_EXCL_LINE */ assert ( dm->num_ops == 1 ); /* LCOV_EXCL_LINE */ crosstab_mode = true; crosstab = crosstab_init (); process_file (); crosstab_print (crosstab); crosstab_free (crosstab); break; case MODE_TABULAR_CHECK: tabular_check_file (); break; case MODE_INVALID: /* LCOV_EXCL_LINE */ default: /* LCOV_EXCL_LINE */ internal_error ("op mode"); /* LCOV_EXCL_LINE */ } free_column_headers (); close_input (); datamash_ops_free (dm); END_LONG_DOUBLE_ROUNDING (); return EXIT_SUCCESS; } /* vim: set cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1: */ /* vim: set shiftwidth=2: */ /* vim: set tabstop=8: */ /* vim: set expandtab: */ datamash-1.9/src/decorate-functions.c0000644000000000000000000001213014771573715013341 /* Decorate functions Copyright (C) 2020-2021 Assaf Gordon 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 . */ #include #include #include #include #include #include #include #include #include #include "system.h" #include "die.h" #include "decorate-functions.h" static bool decorate_as_is (const char* in) { fprintf (stdout, "%s", in); return true; } static bool decorate_strlen (const char* in) { uintmax_t u = (uintmax_t)strlen (in); printf ("%0*"PRIuMAX, (int)INT_BUFSIZE_BOUND (u), u); return true; } static _GL_ATTRIBUTE_CONST int roman_numeral_to_value (char c) { switch (c) { case 'M': return 1000; case 'D': return 500; case 'C': return 100; case 'L': return 50; case 'X': return 10; case 'V': return 5; case 'I': return 1; default: return 0; } } /* Naive implementation of Roman numerals conversion. Does not support alternative forms such as XIIX,IIXX for 18, IIC for 98. */ static bool decorate_roman_numerals (const char* in) { intmax_t result = 0; intmax_t cur,last = 0; if (*in=='\0') { error (0, 0, _("invalid empty roman numeral")); return false; } while (*in) { cur = roman_numeral_to_value (*in); if (!cur) { error (0, 0, _("invalid roman numeral '%c' in %s"), *in, quote (in)); return false; } if (last) { if (last >= cur) { result += last; } else { result += (cur - last); cur = 0; } } last = cur; ++in; } result += last; printf ("%0*"PRIiMAX, (int)INT_BUFSIZE_BOUND (result), result); return true; } static bool decorate_ipv4_inet_addr (const char* in) { struct in_addr adr; int s; s = inet_aton (in, &adr); if (s == 0) { error (0, 0, _("invalid IPv4 address %s"), quote (in)); return false; } printf ("%08X", ntohl (adr.s_addr)); return true; } static bool decorate_ipv4_dot_decimal (const char* in) { struct in_addr adr; int s; s = inet_pton (AF_INET, in, &adr); if (s < 0) die (SORT_FAILURE, errno, _("inet_pton (AF_INET) failed")); if (s == 0) { error (0, 0, _("invalid dot-decimal IPv4 address %s"), quote (in)); return false; } printf ("%08X", ntohl (adr.s_addr)); return true; } static bool decorate_ipv6 (const char* in) { struct in6_addr adr; int s; s = inet_pton (AF_INET6, in, &adr); if (s < 0) die (SORT_FAILURE, errno, _("inet_pton (AF_INET6) failed")); if (s == 0) { error (0, 0, _("invalid IPv6 address %s"), quote (in)); return false; } /* A portable way to print IPv6 binary representation. */ for (int i=0;i<16;i+=2) { printf ("%02X%02X", adr.s6_addr[i], adr.s6_addr[i+1]); if (i != 14) fputc (':', stdout); } return true; } static bool decorate_ipv6_ipv4 (const char* in, uint32_t mapping) { struct in_addr adr4; struct in6_addr adr6; int s4, s6; s4 = inet_pton (AF_INET, in, &adr4); s6 = inet_pton (AF_INET6, in, &adr6); if (s4 < 0 && s6 < 0) die (SORT_FAILURE, errno, _("inet_pton failed for AF_INET and AF_INET6")); if (!(s4 > 0 || s6 > 0)) { error (0, 0, _("invalid IP address %s"), quote (in)); return false; } if (s6) for (int i=0;i<16;++i) printf ("%02X", adr6.s6_addr[i]); else printf ("%024X%08X", mapping, ntohl (adr4.s_addr)); return true; } static bool decorate_ipv6_ipv4_mapped (const char* in) { return decorate_ipv6_ipv4 (in, 0xFFFF); } static bool decorate_ipv6_ipv4_compat (const char* in) { return decorate_ipv6_ipv4 (in, 0); } struct conversions_t builtin_conversions[] = { { "as-is", "copy as-is", decorate_as_is }, /* for debugging */ { "roman", "roman numerals", decorate_roman_numerals }, { "strlen", "length (in bytes) of the specified field", decorate_strlen }, { "ipv4", "dotted-decimal IPv4 addresses", decorate_ipv4_dot_decimal }, { "ipv6", "IPv6 addresses", decorate_ipv6 }, { "ipv4inet", "number-and-dots IPv4 addresses (incl. octal, hex values)", decorate_ipv4_inet_addr }, { "ipv6v4map", "IPv6 and IPv4 (as IPv4-Mapped IPv6) addresses", decorate_ipv6_ipv4_mapped}, { "ipv6v4comp", "IPv6 and IPv4 (as IPv4-Compatible IPv6) addresses", decorate_ipv6_ipv4_compat}, { NULL, NULL, 0 } }; datamash-1.9/src/decorate-functions.h0000644000000000000000000000170714771573715013356 /* Decorate functions Copyright (C) 2020-2021 Assaf Gordon 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 . */ #ifndef DECORATE_FUNCTIONS_H #define DECORATE_FUNCTIONS_H struct conversions_t { const char* name; const char* description; bool (*decorate_fn)(const char* in); }; extern struct conversions_t builtin_conversions[]; #endif datamash-1.9/src/decorate.c0000644000000000000000000007572014771574706011352 /* decorate -- auxiliary program for sort preprocessing Copyright (C) 2020-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice 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 . */ #include #include #include #include #include #include "system.h" //#include "stdio--.h" //#include "fadvise.h" #include "closeout.h" #include "linebuffer.h" #include "die.h" #include "quote.h" #include "key-compare.h" #define Version VERSION #include "version-etc.h" #include "ignore-value.h" #include "sh-quote.h" #include "decorate-functions.h" /* The official name of this program (e.g., no 'g' prefix). */ #define PROGRAM_NAME "decorate" #define AUTHORS \ proper_name ("Assaf Gordon, Timothy Rice, Shawn Wagner and Erik Auerswald") static const char *sort_cmd = SORT_PATH; static bool debug_print_pid = false; static void _GL_ATTRIBUTE_FORMAT ((__printf__, 1, 2)) dbg_printf (char const *msg, ...) { va_list args; /* TODO: use gnulib's 'program_name' instead? */ if (debug_print_pid) fprintf (stderr, "decorate (PID %i):", (int)getpid ()); else fputs ("decorate: ", stderr); va_start (args, msg); vfprintf (stderr, msg, args); va_end (args); fputc ('\n', stderr); } /* Until someone better comes along */ const char version_etc_copyright[] = "Copyright %s %d Assaf Gordon and \ Timothy Rice"; /* if true, enable developer's debug messages */ static bool debug = false; static char eol_delimiter = '\n'; /* List of key field to be decorated */ static struct keyfield *decorate_keylist = NULL; static char **sort_extra_args = NULL; static size_t sort_extra_args_used = 0; static size_t sort_extra_args_allocated = 0; static long skip_header_lines = 0 ; static FILE* header_out = NULL ; enum { DEBUG_OPTION = CHAR_MAX + 1, DECORATE_OPTION, UNDECORATE_OPTION, PRINT_SORT_ARGS_OPTION, /* Sort options */ COMPRESS_PROGRAM_OPTION, CHECK_OPTION, NMERGE_OPTION, RANDOM_SOURCE_OPTION, HEADER_OPTION, PARALLEL_OPTION, SORT_PROGRAM_OPTION }; static struct option const longopts[] = { {"key", required_argument, NULL, 'k'}, {"decorate", no_argument, NULL, DECORATE_OPTION}, {"undecorate", required_argument, NULL, UNDECORATE_OPTION}, {"-debug", no_argument, NULL, DEBUG_OPTION}, {"zero-terminated", no_argument, NULL, 'z'}, {"print-sort-args", no_argument, NULL, PRINT_SORT_ARGS_OPTION}, {"header", required_argument, NULL, HEADER_OPTION}, {"sort-cmd", required_argument, NULL, SORT_PROGRAM_OPTION}, /* sort options, passed as-is to the sort process */ {"check", optional_argument, NULL, CHECK_OPTION}, {"compress-program", required_argument, NULL, COMPRESS_PROGRAM_OPTION}, {"random-source", required_argument, NULL, RANDOM_SOURCE_OPTION}, {"stable", no_argument, NULL, 's'}, {"batch-size", required_argument, NULL, NMERGE_OPTION}, {"buffer-size", required_argument, NULL, 'S'}, {"field-separator", required_argument, NULL, 't'}, {"temporary-directory", required_argument, NULL, 'T'}, {"unique", no_argument, NULL, 'u'}, {"parallel", required_argument, NULL, PARALLEL_OPTION}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, {NULL, 0, NULL, 0} }; static void add_sort_extra_args (char* s) { if (sort_extra_args_used == sort_extra_args_allocated ) sort_extra_args = x2nrealloc (sort_extra_args, &sort_extra_args_allocated, sizeof *sort_extra_args); sort_extra_args[sort_extra_args_used++] = xstrdup (s); } static void usage (int status) { if (status != EXIT_SUCCESS) emit_try_help (); else { printf (_("\ Usage: %s [OPTION]... [INPUT]\n\ or: %s --decorate [OPTION]... [INPUT]\n\ or: %s --undecorate N [OPTION]... [INPUT]\n\ \n\ "), program_name, program_name, program_name); fputs (_("\ Converts (and optionally sorts) fields of various formats\n\ "), stdout); putchar ('\n'); fputs (_("\ With --decorate: adds the converted fields to the start\n\ of each line and prints and prints it to STDOUT; does not sort.\n\ "), stdout); putchar ('\n'); fputs (_("\ With --undecorate: removes the first N fields from the input;\n\ Use as post-processing step after sort(1).\n\ "), stdout); putchar ('\n'); fputs (_("\ Without --decorate and --undecorate: automatically decorates the input,\n\ runs sort(1) and undecorates the result; This is the easiest method to use.\n\ "), stdout); putchar ('\n'); fputs (_("\ Options:\n\ "), stdout); putchar ('\n'); fputs (_("\ General Options:\n\ "), stdout); fputs (_("\ --decorate decorate/convert the specified fields and print\n\ the output to STDOUT. Does not automatically run\n\ sort(1) or undecorates the output\n\ "), stdout); fputs (_("\ --header=N does not decorate or sort the first N lines\n\ -H same as --header=N\n\ "), stdout); fputs (_("\ -k, --key=KEYDEF key/field to sort; same syntax as sort(1),\n\ optionally followed by ':method' to convert\n\ to the field into a sortable value; see examples\n\ and available conversion below\n\ "), stdout); fputs (_("\ -t, --field-separator=SEP use SEP instead of non-blank to blank transition\n\ "), stdout); fputs (_("\ --print-sort-args print adjusted parameters for sort(1); Useful\n\ when using --decorate and then manually running\n\ sort(1)\n\ "), stdout); fputs (_("\ --undecorate=N removes the first N fields\n\ "), stdout); fputs (_("\ -z, --zero-terminated line delimiter is NUL, not newline\n\ "), stdout); fputs (_("\ --sort-cmd=/path/to/sort Alternative sort(1) to use.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); putchar ('\n'); fputs (_("\ The following options are passed to sort as-is\ (Most of them assume GNU sort):\n\ "), stdout); putchar ('\n'); fputs (_("\ -c, --check\n\ --compress-program\n\ --random-source\n\ -s, --stable\n\ --batch-size\n\ -S, --buffer-size\n\ -T, --temporary-directory\n\ -u, --unique\n\ --parallel\n\ "), stdout); putchar ('\n'); fputs (_("\ Available conversions methods (use with -k):\n\ "), stdout); putchar ('\n'); for (int i = 0 ; builtin_conversions[i].name; ++i) printf (" %-10s %s\n", builtin_conversions[i].name, builtin_conversions[i].description); putchar ('\n'); fputs (_("\ Examples:\n\ "), stdout); putchar ('\n'); fputs (_("\ The following two invocations are equivalent:\n\ "), stdout); putchar ('\n'); printf (" %s -k2,2:ipv4 -k3,3nr FILE.TXT\n", program_name); putchar ('\n'); printf (" %s --decorate -k2,2:ipv4 FILE.TXT | sort -k1,1 -k4,4nr \\\n \ | %s --undecorate 1\n", program_name, program_name); putchar ('\n'); fputs (_("\ Decorated output of roman numerals:\n\ "), stdout); putchar ('\n'); printf (" $ printf \"%%s\\n\" C V III IX XI | " "%s -k1,1:roman --decorate\n", program_name); fputs ("\ 0000100 C\n\ 0000005 V\n\ 0000003 III\n\ 0000009 IX\n\ 0000011 XI\n\ ", stdout); putchar ('\n'); fputs (_("For detailed usage information and examples, see\n"),stdout); printf (" man %s\n", PROGRAM_NAME); fputs (_("The manual and more examples are available at\n"), stdout); fputs (" " PACKAGE_URL "\n\n", stdout); } exit (status); } static bool decorate_fields (struct linebuffer *linebuf) { bool ok = true; struct line l; /* The struct used by key-compare */ struct line *a; //size_t len = linebuf->length; struct keyfield *key = decorate_keylist; l.text = linebuf->buffer; l.length = linebuf->length; l.keybeg = NULL; l.keylim = NULL; l.keybeg = begfield (&l, decorate_keylist); l.keylim = limfield (&l, decorate_keylist); if (l.keybeg >= l.keylim) { if (l.length>0 && l.text[l.length-1]==eol_delimiter) { if (debug) dbg_printf ("chomp"); l.length--; } /* TODO: is this the correct way to detect 'no limit' ? * (ie compare keys until the end of the line)*/ l.keylim = l.keybeg + l.length - (l.keybeg - l.text); if (debug) dbg_printf ("keylim - keybeg = %zu", (l.keylim-l.keybeg)); } a = &l; /* For the first iteration only, the key positions have been precomputed for us. */ char *texta = a->keybeg; char *lima = a->keylim; while (true) { /* Treat field ends before field starts as empty fields. */ lima = MAX (texta, lima); /* Find the lengths. */ size_t lena = lima - texta; char *ta; size_t tlena; char enda IF_LINT (= 0); /* Use the keys in-place, temporarily null-terminated. */ ta = texta; tlena = lena; enda = ta[tlena]; ta[tlena] = '\0'; /* Process the extracted key in NUL-terminated string 'ta' */ if (debug) dbg_printf ("extracted field: '%s'", ta); if (key->decorate_fn) { /* Innternal conversions */ ok = ok && key->decorate_fn (ta); } else { /* run external command */ } /* Print field delimiter */ fputc ((tab == TAB_DEFAULT) ? ' ' : tab, stdout); /* restore the field-separator */ ta[tlena] = enda; key = key->next; if (! key) break; /* Find the beginning and limit of the next field. */ if (key->eword != SIZE_MAX) lima = limfield (a, key); else lima = a->text + a->length - 1; if (key->sword != SIZE_MAX) texta = begfield (a, key); else { texta = a->text; if (key->skipsblanks) { // while (texta < lima && blanks[to_uchar (*texta)]) // ++texta; } } } return ok; } static void decorate_file (const char *infile) { intmax_t linenum = 0; struct linebuffer lb; if (! (STREQ (infile, "-") || freopen (infile, "r", stdin))) die (SORT_FAILURE, errno, "%s", quotef (infile)); //fadvise (stdin, FADVISE_SEQUENTIAL); initbuffer (&lb); if (debug) dbg_printf ("starting decoreate_file read loop"); while (!feof (stdin)) { if (readlinebuffer_delim (&lb, stdin, eol_delimiter) == 0) break; ++linenum; if (skip_header_lines) { if (debug) dbg_printf ("skipping header line"); if ((idx_t)fwrite (lb.buffer, 1, lb.length, header_out) != lb.length) die (SORT_FAILURE, errno, _("fwrite (header line) failed")); --skip_header_lines; /* if no more header lines are left - flush the header lines, to ensure they are passed to the output stream before all other lines */ if ((skip_header_lines == 0) && fflush (header_out) == EOF) die (SORT_FAILURE, errno, _("fflush (header line) failed")); continue; } if (!decorate_fields (&lb)) die (SORT_FAILURE, errno, _("conversion failed in line %"PRIdMAX), linenum); if (debug) dbg_printf ("writing line: '%.*s'", (int)lb.length, lb.buffer); if ((idx_t)fwrite (lb.buffer, 1, lb.length, stdout) != lb.length) die (SORT_FAILURE, errno, _("decorate: fwrite failed")); } // closefiles: if (ferror (stdin) || fclose (stdin) != 0) die (SORT_FAILURE, 0, _("error reading %s"), quoteaf (infile)); if (debug) dbg_printf ("end decorate_file read loop"); /* stdout is handled via the atexit-invoked close_stdout function. */ free (lb.buffer); } static void undecorate_file (const char *infile, int num_fields) { intmax_t linenum = 0; struct linebuffer lb; struct keyfield key; struct line l; memset (&l, 0, sizeof (l)); /* Create a dummy keyfield, encompasing the first N fields to skip */ memset (&key, 0, sizeof (key)); key.sword = num_fields; key.skipsblanks = true; if (! (STREQ (infile, "-") || freopen (infile, "r", stdin))) die (SORT_FAILURE, errno, "%s", quotef (infile)); //fadvise (stdin, FADVISE_SEQUENTIAL); initbuffer (&lb); while (!feof (stdin)) { if (readlinebuffer_delim (&lb, stdin, eol_delimiter) == 0) break; ++linenum; l.text = lb.buffer; l.length = lb.length; /* don't print EOL character, if any */ if (lb.length>0 && lb.buffer[lb.length-1]==eol_delimiter) --l.length; /* skip the first N fields */ char* p = begfield (&l, &key); size_t t = l.length - (p-l.text); if (debug) { dbg_printf ("input Line: %zu chars: '%.*s'", l.length, (int)l.length, l.text); dbg_printf ("undecorated Line: %zu chars: '%.*s'", t, (int)t, p); } fwrite (p, 1, t, stdout); fputc (eol_delimiter, stdout); } if (ferror (stdin) || fclose (stdin) != 0) die (SORT_FAILURE, 0, _("error reading %s"), quoteaf (infile)); /* stdout is handled via the atexit-invoked close_stdout function. */ free (lb.buffer); } /* this code was copied from src/sort.c */ static struct keyfield* parse_sort_key_arg (const char* optarg, char const** endpos) { char const *s; struct keyfield key_buf; struct keyfield *key = NULL; key = key_init (&key_buf); /* Get POS1. */ s = parse_field_count (optarg, &key->sword, N_("invalid number at field start")); if (! key->sword--) { /* Provoke with 'sort -k0' */ badfieldspec (optarg, N_("field number is zero")); } if (*s == '.') { s = parse_field_count (s + 1, &key->schar, N_("invalid number after '.'")); if (! key->schar--) { /* Provoke with 'sort -k1.0' */ badfieldspec (optarg, N_("character offset is zero")); } } if (! (key->sword || key->schar)) key->sword = SIZE_MAX; s = set_ordering (s, key, bl_start); if (*s != ',') { key->eword = SIZE_MAX; key->echar = 0; } else { /* Get POS2. */ s = parse_field_count (s + 1, &key->eword, N_("invalid number after ','")); if (! key->eword--) { /* Provoke with 'sort -k1,0' */ badfieldspec (optarg, N_("field number is zero")); } if (*s == '.') { s = parse_field_count (s + 1, &key->echar, N_("invalid number after '.'")); } s = set_ordering (s, key, bl_end); } /* TODO: strange, sort's original code sets sword=SIZE_MAX for "-k1". * force override??? */ if (key->sword==SIZE_MAX) key->sword=0; key = insertkey (key); /* returns a newly malloc'd struct */ *endpos = s; return key; } static void parse_external_conversion_spec (const char* optarg, const char *s, struct keyfield *key) { ignore_value (key); ++s; /* skip the '@' */ if (*s == '\0') badfieldspec (optarg, N_("missing external conversion command")); die (SORT_FAILURE, 0, "external commands are not implemented (yet)"); } static void parse_builtin_conversion_spec (const char* optarg, const char *s, struct keyfield *key) { bool found = false; ++s; /* skip the ':' */ if (*s == '\0') badfieldspec (optarg, N_("missing internal conversion function")); for (int i = 0 ; builtin_conversions[i].name; ++i) { if (STREQ (s, builtin_conversions[i].name)) { found = true; key->decorate_fn = builtin_conversions[i].decorate_fn; break; } } if (!found) badfieldspec (optarg, N_("invalid built-in conversion option")); } static void check_allowed_key_flags (const struct keyfield* key) { /* key->reverse is the only ordering flag allowed */ if (key->skipsblanks || key->skipeblanks || (key->ignore != 0) || (key->translate != 0) || (key->general_numeric) || (key->human_numeric) || (key->month) || (key->numeric) || (key->random) || (key->version)) badfieldspec (optarg, N_("ordering flags (b/d/i/h/n/g/M/R/V) can" "not be combined with a conversion function")); } static void parse_key_arg (const char* optarg) { char const *s; struct keyfield *key = parse_sort_key_arg (optarg, &s); switch (*s) { case '\0': /* End of key-spec, this is a standard sort key spec to be passed as-is. */ break; case ':': /* built-in conversion */ check_allowed_key_flags (key); parse_builtin_conversion_spec (optarg, s, key); break; case '@': /* external command conversion */ check_allowed_key_flags (key); parse_external_conversion_spec (optarg, s, key); break; default: /* invalid key spec character */ badfieldspec (optarg, N_("invalid key specification")); break; } } static void insert_decorate_key (struct keyfield *key_arg) { struct keyfield **p; struct keyfield *key = xmemdup (key_arg, sizeof *key); /* decorated fields always skip blanks */ key->skipsblanks = key->skipeblanks = true; for (p = &decorate_keylist; *p; p = &(*p)->next) continue; *p = key; key->next = NULL; } static int adjust_key_fields () { struct keyfield *key = keylist; int cnt = 0; int idx = 0; do { if (key->decorate_fn || key->decorate_cmd) ++cnt; } while (key && ((key = key->next))); if (debug) dbg_printf ("found %d decorated fields", cnt); key = keylist; do { if (key->decorate_fn || key->decorate_cmd) { /* Save the input keyfield spec */ insert_decorate_key (key); /* when passing args to 'sort', move decorated key fields to the begining */ key->sword = idx ; /* note: sword is ZERO based, so 0 is the first column */ if (key->eword != SIZE_MAX) key->eword = idx; key->decorate_fn = NULL ; key->decorate_cmd = NULL; ++idx; } else { /* shift all non-decorate key fields by the count of decorated fields (which will be inserted at the begining of each line)*/ key->sword += cnt ; if (key->eword != SIZE_MAX) key->eword += cnt; } } while (key && ((key = key->next))); return cnt; } static char** build_sort_process_args () { int argc = 3 ; /* one 'sort' program name (argv[0]), one extra arg on NetBSD, one for NULL */ struct keyfield *key = keylist; /* step 1: count number of args */ do { ++argc; } while (key && ((key = key->next))); argc += sort_extra_args_used; /* Step 2: allocate and build argv. The terminating NULL is implicit thanks to calloc. */ char** argv = xcalloc (argc, sizeof (char*)); int i = 0; argv[i++] = xstrdup (sort_cmd); /* argv[0] */ #ifdef __NetBSD__ /* NetBSD's /usr/bin/sort is stable by default, unlike every other * one I checked, causing test case failures. So make it unstable. */ if (STREQ (sort_cmd, "/usr/bin/sort")) { argv[i++] = xstrdup ("-S"); } #endif key = keylist; do { argv[i++] = debug_keyfield (key); } while (key && ((key = key->next))); for (size_t j=0;j # include # include /* Like 'error (STATUS, ...)', except STATUS must be a nonzero constant. This may pacify the compiler or help it generate better code. */ # define die(status, ...) \ verify_expr (status, (error (status, __VA_ARGS__), assume (false))) #endif /* DIE_H */ datamash-1.9/src/double-format.c0000644000000000000000000000467014771573715012317 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2022-2025 Timothy Rice Copyright (C) 2018-2021 Assaf Gordon Copyright (C) 1994-2018 Free Software Foundation, Inc. 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 . */ /* Portions of this function were copied from GNU coreutils' seq.c, hence FSF copyright. */ #include #include "system.h" #include "die.h" #include "quote.h" #include "xalloc.h" #include "text-options.h" #include "double-format.h" char* validate_double_format (char const *fmt) { size_t i; size_t len; char *out; len = strlen (fmt); if (len > MAX_NUMERIC_FORMAT_LEN - 1) { die (EXIT_FAILURE, 0, _("numeric format too large")); } /* extra space for NUL and 'L' printf-modifier */ out = xmalloc (len+2); for (i = 0; ! (fmt[i] == '%' && fmt[i + 1] != '%'); i += (fmt[i] == '%') + 1) if (!fmt[i]) die (EXIT_FAILURE, 0, _("format %s has no %% directive"), quote (fmt)); i++; i += strspn (fmt + i, "-+#0 '"); i += strspn (fmt + i, "0123456789"); if (fmt[i] == '.') { i++; i += strspn (fmt + i, "0123456789"); } if (!fmt[i]) die (EXIT_FAILURE, 0, _("format %s missing valid type after '%%'"), quote (fmt)); if (! strchr ("efgaEFGA", fmt[i])) die (EXIT_FAILURE, 0, _("format %s has unknown/invalid type %%%c directive"), quote (fmt), fmt[i]); /* Copy characters until the type character, add 'L', then the type, then the rest of the format string. */ memcpy (out, fmt, i); out[i] = 'L'; out[i+1] = fmt[i]; memcpy (out+i+2, fmt+i+1, len-i); out[len+1] = '\0'; for (i++; fmt[i] ; i += (fmt[i] == '%') + 1) if (fmt[i] == '%' && fmt[i + 1] != '%') die (EXIT_FAILURE, 0, _("format %s has too many %% directives"), quote (fmt)); return out; } datamash-1.9/src/double-format.h0000644000000000000000000000163314771573715012320 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2018-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ #ifndef __DOUBLE_FORMAT_H__ #define __DOUBLE_FORMAT_H__ char* validate_double_format (char const *fmt); #endif datamash-1.9/src/field-ops.c0000644000000000000000000010247214771573715011440 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* for dirname & POSIX version of basename */ #include "die.h" #include "minmax.h" #include "linebuffer.h" #include "system.h" #include "md5.h" #include "sha1.h" #include "sha256.h" #include "sha512.h" #include "base64.h" #include "xalloc.h" #include "hash-pjw-bare.h" #include "utils.h" #include "text-options.h" #include "text-lines.h" #include "column-headers.h" #include "op-defs.h" #include "field-ops.h" struct operation_data operations[] = { /* OP_COUNT */ {STRING_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_SUM */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_MIN */ {NUMERIC_SCALAR, AUTO_SET_FIRST, NUMERIC_RESULT}, /* OP_MAX */ {NUMERIC_SCALAR, AUTO_SET_FIRST, NUMERIC_RESULT}, /* OP_ABSMIN */ {NUMERIC_SCALAR, AUTO_SET_FIRST, NUMERIC_RESULT}, /* OP_ABSMAX */ {NUMERIC_SCALAR, AUTO_SET_FIRST, NUMERIC_RESULT}, /* OP_RANGE */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_FIRST */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_LAST */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_RAND */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_MEAN */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_GEOMEAN */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_HARMMEAN */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_MS */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_RMS */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_MEDIAN */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_QUARTILE_1 */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_QUARTILE_3 */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_IQR */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_PERCENTILE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_PSTDEV */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_SSTDEV */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_PVARIANCE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_SVARIANCE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_MAD */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_MADRAW */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_S_SKEWNESS */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_P_SKEWNESS */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_S_EXCESS_KURTOSIS */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_P_EXCESS_KURTOSIS */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_JARQUE_BETA */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_DP_OMNIBUS */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_MODE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_ANTIMODE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_UNIQUE */ {STRING_VECTOR, IGNORE_FIRST, STRING_RESULT}, /* OP_COLLAPSE */ {STRING_VECTOR, IGNORE_FIRST, STRING_RESULT}, /* OP_COUNT_UNIQUE */ {STRING_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_BASE64 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_DEBASE64 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_MD5 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_SHA1 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_SHA224 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_SHA256 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_SHA384 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_SHA512 */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_P_COVARIANCE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_S_COVARIANCE */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_P_PEARSON_COR */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_S_PEARSON_COR */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_DOT_PRODUCT */ {NUMERIC_VECTOR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_BIN_BUCKETS */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_STRBIN */ {STRING_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_FLOOR */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_CEIL */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_ROUND */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_TRUNCATE */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_FRACTION */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_TRIMMED_MEAN */ {NUMERIC_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_DIRNAME */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_BASENAME */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_EXTNAME */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_BARENAME */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, /* OP_GETNUM */ {STRING_SCALAR, IGNORE_FIRST, NUMERIC_RESULT}, /* OP_CUT */ {STRING_SCALAR, IGNORE_FIRST, STRING_RESULT}, {0, 0, NUMERIC_RESULT} }; //struct fieldop* field_ops = NULL; enum { VALUES_BATCH_INCREMENT = 1024 }; /* Add a numeric value to the values vector, allocating memory as needed */ static void field_op_add_value (struct fieldop *op, long double val) { if (op->num_values >= op->alloc_values) { op->alloc_values += VALUES_BATCH_INCREMENT; op->values = xnrealloc (op->values, op->alloc_values, sizeof (long double)); } op->values[op->num_values] = val; op->num_values++; } static void field_op_reserve_out_buf (struct fieldop *op, const size_t minsize) { if (op->out_buf_alloc < minsize) { op->out_buf = xrealloc (op->out_buf, minsize); op->out_buf_alloc = minsize; } } /* stores the hexadecimal representation of 'buffer' in op->out_buf */ static void field_op_to_hex ( struct fieldop* op, const char *buffer, const size_t inlen ) { static const char hex_digits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; size_t len = inlen*2+1; const char* inp = buffer; field_op_reserve_out_buf (op, len); char* ptr = op->out_buf; for (size_t i = 0 ; i < inlen; ++i) { *ptr = hex_digits[ ((*inp)>>4) & 0xf ] ; ++ptr; *ptr = hex_digits[ (*inp) & 0xf ] ; ++ptr; ++inp; } *ptr = 0 ; } /* Add a string to the strings vector, allocating memory as needed */ static void field_op_add_string (struct fieldop *op, const char* str, size_t slen) { if (op->str_buf_used + slen+1 >= op->str_buf_alloc) { op->str_buf_alloc += MAX (VALUES_BATCH_INCREMENT,slen+1); op->str_buf = xrealloc (op->str_buf, op->str_buf_alloc); } /* Copy the string to the buffer */ memcpy (op->str_buf + op->str_buf_used, str, slen); *(op->str_buf + op->str_buf_used + slen ) = 0; op->str_buf_used += slen + 1 ; } /* Replace the current string in the string buffer. This function assumes only one string is stored in the buffer. */ static void field_op_replace_string (struct fieldop *op, const char* str, size_t slen) { if (slen+1 >= op->str_buf_alloc) { op->str_buf_alloc += MAX (VALUES_BATCH_INCREMENT,slen+1); op->str_buf = xrealloc (op->str_buf, op->str_buf_alloc); } /* Copy the string to the buffer */ memcpy (op->str_buf, str, slen); *(op->str_buf + slen ) = 0; op->str_buf_used = slen + 1 ; } /* Returns an array of string-pointers (char*), each pointing to a string in the string buffer (added by field_op_add_string () ). The returned pointer must be free'd. The returned pointer will have 'op->count+1' elements, pointing to 'op->count' strings + one last NULL. */ static const char ** field_op_get_string_ptrs ( struct fieldop *op, bool sort, bool sort_case_sensitive ) { const char **ptrs = xnmalloc (op->count+1, sizeof (char*)); char *p = op->str_buf; const char* pend = op->str_buf + op->str_buf_used; size_t idx=0; while (p < pend && idx < op->count) { ptrs[idx++] = p; while ( pcount, sizeof (char*), sort_case_sensitive ?cmpstringp :cmpstringp_nocase); } return ptrs; } /* Sort the numeric values vector in a fieldop structure */ static void field_op_sort_values (struct fieldop *op) { qsortfl (op->values, op->num_values); } void field_op_init (struct fieldop* /*out*/ op, enum field_operation oper, bool by_name, size_t num, const char* name) { assert (op != NULL); /* LCOV_EXCL_LINE */ memset (op, 0, sizeof *op); op->op = oper; op->acc_type = operations[oper].acc_type; op->res_type = operations[oper].res_type; op->numeric = (op->acc_type == NUMERIC_SCALAR || op->acc_type == NUMERIC_VECTOR); op->auto_first = operations[oper].auto_first; op->slave = false; op->slave_op = NULL; op->field = num; op->field_by_name = by_name; op->field_name = (by_name)?xstrdup (name):NULL; op->first = true; if (op->res_type == STRING_RESULT) { op->out_buf_alloc = 1024; op->out_buf = xmalloc (op->out_buf_alloc); } } /* Ensure this (master) fieldop has the same number of values as as it's slave fieldop. */ static void verify_slave_num_values (const struct fieldop *op) { assert (op && !op->slave && op->slave_op); /* LCOV_EXCL_LINE */ if (op->num_values != op->slave_op->num_values) die (EXIT_FAILURE, 0, _("input error for operation %s: \ fields %"PRIuMAX",%"PRIuMAX" have different number of items"), quote (get_field_operation_name (op->op)), (uintmax_t)op->slave_op->field, (uintmax_t)op->field); } /* Add a value (from input) to the current field operation. */ enum FIELD_OP_COLLECT_RESULT field_op_collect (struct fieldop *op, const char* str, size_t slen) { char *endptr=NULL; long double num_value = 0; char tmpbuf[512]; enum FIELD_OP_COLLECT_RESULT rc = FLOCR_OK; assert (str != NULL); /* LCOV_EXCL_LINE */ if (remove_na_values && is_na (str,slen)) return FLOCR_OK_SKIPPED; if (op->numeric) { if (slen == 0) return FLOCR_INVALID_NUMBER; #ifndef HAVE_BROKEN_STRTOLD /* Usually, strtold stops at the field delimiter, but not always. Optimistically try to avoid an extra copy, unless the strtold implementation is known to be problematic. */ errno = 0; num_value = strtold (str, &endptr); if (errno==ERANGE || endptr==str || endptr<(str+slen)) return FLOCR_INVALID_NUMBER; /* On Cygwin, strtold doesn't stop at a tab character, and returns invalid value. Generally, strtold doesn't stop on field separators that can be part of long double representations. If strtold continued past the field delimiter, make a copy of the input buffer and NUL-terminate it. */ if (endptr > (str+slen)) { #endif if (slen >= sizeof (tmpbuf)) die (EXIT_FAILURE, 0, "internal error: input field too long (%zu)", slen); memcpy (tmpbuf,str,slen); tmpbuf[slen]=0; errno = 0; num_value = strtold (tmpbuf, &endptr); if (errno==ERANGE || endptr==tmpbuf || endptr!=(tmpbuf+slen)) return FLOCR_INVALID_NUMBER; #ifndef HAVE_BROKEN_STRTOLD } #endif } op->count++; if (op->first && op->auto_first && op->numeric) op->value = num_value; switch (op->op) /* LCOV_EXCL_BR_LINE */ { case OP_SUM: case OP_MEAN: op->value += num_value; break; case OP_GEOMEAN: op->value += logl (num_value); break; case OP_HARMMEAN: op->value += 1.0 / num_value; break; case OP_MS: case OP_RMS: op->value += num_value * num_value; break; case OP_COUNT: op->value++; break; case OP_MIN: if (num_value < op->value) { op->value = num_value; rc = FLOCR_OK_KEEP_LINE; } break; case OP_MAX: if (num_value > op->value) { op->value = num_value; rc = FLOCR_OK_KEEP_LINE; } break; case OP_ABSMIN: if (fabsl (num_value) < fabsl (op->value)) { op->value = num_value; rc = FLOCR_OK_KEEP_LINE; } break; case OP_ABSMAX: if (fabsl (num_value) > fabsl (op->value)) { op->value = num_value; rc = FLOCR_OK_KEEP_LINE; } break; case OP_RANGE: /* Upon the first value, we store it twice (once for min, once for max). For subsequence values, we update the min/max entries directly. */ if (op->first) { field_op_add_value (op, num_value); field_op_add_value (op, num_value); } else { if (num_value < op->values[0]) op->values[0] = num_value; if (num_value > op->values[1]) op->values[1] = num_value; } break; case OP_FIRST: if (op->first) { field_op_replace_string (op, str, slen); rc = FLOCR_OK_KEEP_LINE; } break; case OP_LAST: /* Replace the 'current' string with the latest one */ field_op_replace_string (op, str, slen); rc = FLOCR_OK_KEEP_LINE; break; case OP_DEBASE64: /* Base64 decoding is a special case: we decode during collection, and report any errors back to the caller. */ { /* safe to assume decoded base64 is never larger than encoded base64 */ idx_t decoded_size = slen; field_op_reserve_out_buf (op, decoded_size); if (!base64_decode ( str, slen, op->out_buf, &decoded_size )) return FLOCR_INVALID_BASE64; op->out_buf[decoded_size]=0; } break; case OP_BASE64: case OP_MD5: case OP_SHA1: case OP_SHA224: case OP_SHA256: case OP_SHA384: case OP_SHA512: case OP_DIRNAME: case OP_BASENAME: case OP_EXTNAME: case OP_BARENAME: /* Replace the 'current' string with the latest one */ field_op_replace_string (op, str, slen); break; case OP_RAND: { /* Reservoir sampling, With a simpler case were "k=1" */ unsigned long i = random ()%op->count; if (op->first || i==0) { field_op_replace_string (op, str, slen); rc = FLOCR_OK_KEEP_LINE; } } break; case OP_MEDIAN: case OP_QUARTILE_1: case OP_QUARTILE_3: case OP_IQR: case OP_PERCENTILE: case OP_PSTDEV: case OP_SSTDEV: case OP_PVARIANCE: case OP_SVARIANCE: case OP_MAD: case OP_MADRAW: case OP_S_SKEWNESS: case OP_P_SKEWNESS: case OP_S_EXCESS_KURTOSIS: case OP_P_EXCESS_KURTOSIS: case OP_JARQUE_BERA: case OP_DP_OMNIBUS: case OP_MODE: case OP_ANTIMODE: case OP_P_COVARIANCE: case OP_S_COVARIANCE: case OP_P_PEARSON_COR: case OP_S_PEARSON_COR: case OP_DOT_PRODUCT: case OP_TRIMMED_MEAN: field_op_add_value (op, num_value); break; case OP_UNIQUE: case OP_COLLAPSE: case OP_COUNT_UNIQUE: field_op_add_string (op, str, slen); break; case OP_BIN_BUCKETS: { const long double val = num_value / op->params.bin_bucket_size; const long double frac = modfl (val, & op->value); /* Buckets should follow this pattern: ..., [-3x,-2x), [-2x,-x), [-x,0), [0,x), [x,2x), [2x,3x), ... */ if (signbit (op->value)) { if (is_zero (frac)) op->value = pos_zero (op->value); else --op->value; } op->value *= op->params.bin_bucket_size; } break; case OP_STRBIN: op->value = hash_pjw_bare (str,slen) % (op->params.strbin_bucket_size); break; case OP_FLOOR: op->value = pos_zero (floorl (num_value)); break; case OP_CEIL: op->value = pos_zero (ceill (num_value)); break; case OP_ROUND: op->value = pos_zero (roundl (num_value)); break; case OP_TRUNCATE: modfl (num_value, &op->value); op->value = pos_zero (op->value); break; case OP_FRACTION: { long double dummy; op->value = pos_zero (modfl (num_value, &dummy)); }; break; case OP_GETNUM: op->value = extract_number (str, slen, op->params.get_num_type); break; case OP_CUT: field_op_replace_string (op, str, slen); break; case OP_INVALID: /* LCOV_EXCL_LINE */ default: /* LCOV_EXCL_LINE */ /* Should never happen */ internal_error ("bad op"); /* LCOV_EXCL_LINE */ } op->first = false; return rc; } /* creates a list of unique strings from op->str_buf . results are stored in op->out_buf. */ static void unique_value ( struct fieldop *op, bool case_sensitive ) { const char *last_str; char *pos; const char **ptrs = field_op_get_string_ptrs (op, true, case_sensitive); /* Uniquify them */ field_op_reserve_out_buf (op, op->str_buf_used); pos = op->out_buf ; /* Copy the first string */ last_str = ptrs[0]; strcpy (pos, ptrs[0]); pos += strlen (ptrs[0]); /* Copy the following strings, if they are different from the previous one */ for (size_t i = 1; i < op->count; ++i) { const char *newstr = ptrs[i]; if ((case_sensitive && (!STREQ (newstr, last_str))) || (!case_sensitive && (strcasecmp (newstr, last_str)!=0))) { *pos++ = collapse_separator ; strcpy (pos, newstr); pos += strlen (newstr); } last_str = newstr; } free (ptrs); } /* Returns the number of unique string values in the given field operation */ static size_t count_unique_values ( struct fieldop *op, bool case_sensitive ) { const char *last_str, **cur_str; size_t count = 1 ; const char **ptrs = field_op_get_string_ptrs (op, true, case_sensitive); /* Copy the first string */ cur_str = ptrs; last_str = *cur_str; ++cur_str; /* Copy the following strings, if they are different from the previous one */ while ( *cur_str != 0 ) { if ((case_sensitive && (!STREQ (*cur_str, last_str))) || (!case_sensitive && (strcasecmp (*cur_str, last_str)!=0))) { ++count; } last_str = *cur_str; ++cur_str; } free (ptrs); return count; } /* Returns a nul-terimated string, composed of all the values of the input strings. The return string must be free'd. */ static void collapse_value ( struct fieldop *op ) { /* Copy the string buffer as-is */ field_op_reserve_out_buf (op, op->str_buf_used); char *buf = op->out_buf; memcpy (buf, op->str_buf, op->str_buf_used); /* convert every NUL to comma, except for the last one */ for (size_t i=0; i < op->str_buf_used-1 ; i++) if (buf[i] == 0) buf[i] = collapse_separator ; } /* stores in op->out_buf the result of the field operation when there are no input values. 'no values' can happen with '--narm' and input of all N/As. The printed results are consistent as much as possible with R */ static void field_op_summarize_empty (struct fieldop *op) { long double numeric_result = 0 ; switch (op->op) /* LCOV_EXCL_BR_LINE */ { case OP_MEAN: case OP_GEOMEAN: case OP_HARMMEAN: case OP_MS: case OP_RMS: case OP_S_SKEWNESS: case OP_P_SKEWNESS: case OP_S_EXCESS_KURTOSIS: case OP_P_EXCESS_KURTOSIS: case OP_JARQUE_BERA: case OP_DP_OMNIBUS: case OP_MEDIAN: case OP_QUARTILE_1: case OP_QUARTILE_3: case OP_IQR: case OP_PERCENTILE: case OP_MAD: case OP_MADRAW: case OP_PSTDEV: case OP_SSTDEV: case OP_PVARIANCE: case OP_SVARIANCE: case OP_MODE: case OP_ANTIMODE: case OP_P_COVARIANCE: case OP_S_COVARIANCE: case OP_P_PEARSON_COR: case OP_S_PEARSON_COR: case OP_DOT_PRODUCT: case OP_BIN_BUCKETS: case OP_STRBIN: case OP_FLOOR: case OP_CEIL: case OP_ROUND: case OP_TRUNCATE: case OP_FRACTION: case OP_RANGE: case OP_TRIMMED_MEAN: case OP_GETNUM: numeric_result = nanl (""); break; case OP_SUM: case OP_COUNT: case OP_COUNT_UNIQUE: numeric_result = 0; break; case OP_MIN: case OP_ABSMIN: numeric_result = -HUGE_VALL; break; case OP_MAX: case OP_ABSMAX: numeric_result = HUGE_VALL; break; case OP_FIRST: case OP_LAST: case OP_RAND: case OP_CUT: field_op_reserve_out_buf (op, 4); strcpy (op->out_buf, "N/A"); break; case OP_UNIQUE: case OP_COLLAPSE: case OP_BASE64: case OP_DEBASE64: case OP_MD5: case OP_SHA1: case OP_SHA224: case OP_SHA256: case OP_SHA384: case OP_SHA512: case OP_DIRNAME: case OP_BASENAME: case OP_EXTNAME: case OP_BARENAME: field_op_reserve_out_buf (op, 1); strcpy (op->out_buf, ""); break; case OP_INVALID: /* LCOV_EXCL_LINE */ default: /* LCOV_EXCL_LINE */ /* Should never happen */ internal_error ("bad op"); /* LCOV_EXCL_LINE */ } if (op->res_type==NUMERIC_RESULT) { field_op_reserve_out_buf (op, numeric_output_bufsize); snprintf (op->out_buf, op->out_buf_alloc, numeric_output_format, numeric_result); } } /* Prints to stdout the result of the field operation, based on collected values */ void field_op_summarize (struct fieldop *op) { long double numeric_result = 0 ; char tmpbuf[64]; /* 64 bytes - enough to hold sha512 */ /* In case of no values, each operation returns a specific result. 'no values' can happen with '--narm' and input of all N/As. */ if (op->count==0) { field_op_summarize_empty (op); return ; } switch (op->op) /* LCOV_EXCL_BR_LINE */ { case OP_MEAN: case OP_MS: numeric_result = op->value / op->count; break; case OP_GEOMEAN: numeric_result = expl (op->value / op->count); break; case OP_HARMMEAN: numeric_result = op->count / op->value; break; case OP_SUM: case OP_COUNT: case OP_MIN: case OP_MAX: case OP_ABSMIN: case OP_ABSMAX: case OP_BIN_BUCKETS: case OP_STRBIN: case OP_FLOOR: case OP_CEIL: case OP_ROUND: case OP_TRUNCATE: case OP_FRACTION: case OP_GETNUM: /* no summarization for these operations, just print the value */ numeric_result = op->value; break; case OP_FIRST: case OP_LAST: case OP_RAND: case OP_CUT: /* Only one string is returned in the buffer, return it */ field_op_reserve_out_buf (op, op->str_buf_used); memcpy (op->out_buf, op->str_buf, op->str_buf_used); break; case OP_RANGE: numeric_result = op->values[1] - op->values[0]; break; case OP_MEDIAN: field_op_sort_values (op); numeric_result = median_value ( op->values, op->num_values ); break; case OP_QUARTILE_1: field_op_sort_values (op); numeric_result = quartile1_value ( op->values, op->num_values ); break; case OP_QUARTILE_3: field_op_sort_values (op); numeric_result = quartile3_value ( op->values, op->num_values ); break; case OP_IQR: field_op_sort_values (op); numeric_result = quartile3_value ( op->values, op->num_values ) - quartile1_value ( op->values, op->num_values ); break; case OP_PERCENTILE: field_op_sort_values (op); numeric_result = percentile_value ( op->values, op->num_values, op->params.percentile / 100.0 ); break; case OP_TRIMMED_MEAN: field_op_sort_values (op); numeric_result = trimmed_mean_value ( op->values, op->num_values, op->params.trimmed_mean); break; case OP_RMS: numeric_result = sqrtl (op->value / op->count); break; case OP_PSTDEV: numeric_result = stdev_value ( op->values, op->num_values, DF_POPULATION); break; case OP_SSTDEV: numeric_result = stdev_value ( op->values, op->num_values, DF_SAMPLE); break; case OP_PVARIANCE: numeric_result = variance_value ( op->values, op->num_values, DF_POPULATION); break; case OP_SVARIANCE: numeric_result = variance_value ( op->values, op->num_values, DF_SAMPLE); break; case OP_MAD: field_op_sort_values (op); numeric_result = mad_value ( op->values, op->num_values, 1.4826 ); break; case OP_MADRAW: field_op_sort_values (op); numeric_result = mad_value ( op->values, op->num_values, 1.0 ); break; case OP_S_SKEWNESS: numeric_result = skewness_value ( op->values, op->num_values, DF_SAMPLE ); break; case OP_P_SKEWNESS: numeric_result = skewness_value ( op->values, op->num_values, DF_POPULATION ); break; case OP_S_EXCESS_KURTOSIS: numeric_result = excess_kurtosis_value ( op->values, op->num_values, DF_SAMPLE ); break; case OP_P_EXCESS_KURTOSIS: numeric_result = excess_kurtosis_value ( op->values, op->num_values, DF_POPULATION ); break; case OP_JARQUE_BERA: numeric_result = jarque_bera_pvalue ( op->values, op->num_values ); break; case OP_DP_OMNIBUS: numeric_result = dagostino_pearson_omnibus_pvalue ( op->values, op->num_values ); break; case OP_P_COVARIANCE: case OP_S_COVARIANCE: assert (!op->slave); /* LCOV_EXCL_LINE */ assert (op->slave_op); /* LCOV_EXCL_LINE */ verify_slave_num_values (op); numeric_result = covariance_value (op->values, op->slave_op->values, op->num_values, (op->op==OP_P_COVARIANCE)? DF_POPULATION:DF_SAMPLE ); break; case OP_P_PEARSON_COR: case OP_S_PEARSON_COR: assert (!op->slave); /* LCOV_EXCL_LINE */ assert (op->slave_op); /* LCOV_EXCL_LINE */ verify_slave_num_values (op); numeric_result = pearson_corr_value (op->values, op->slave_op->values, op->num_values, (op->op==OP_P_PEARSON_COR)? DF_POPULATION:DF_SAMPLE); break; case OP_DOT_PRODUCT: assert (!op->slave); /* LCOV_EXCL_LINE */ assert (op->slave_op); /* LCOV_EXCL_LINE */ verify_slave_num_values (op); numeric_result = dot_product_value (op->values, op->slave_op->values, op->num_values ); break; case OP_MODE: case OP_ANTIMODE: field_op_sort_values (op); numeric_result = mode_value ( op->values, op->num_values, (op->op==OP_MODE)?MODE:ANTIMODE); break; case OP_UNIQUE: unique_value (op, case_sensitive); break; case OP_COLLAPSE: collapse_value (op); break; case OP_COUNT_UNIQUE: numeric_result = count_unique_values (op,case_sensitive); break; case OP_BASE64: field_op_reserve_out_buf (op, BASE64_LENGTH (op->str_buf_used-1)+1 ) ; base64_encode ( op->str_buf, op->str_buf_used-1, op->out_buf, BASE64_LENGTH (op->str_buf_used-1)+1 ); break; case OP_DEBASE64: /* Decoding base64 is a special case: decoding (and error checking) was done in field_op_collect. op->out_buf already contains the decoded value. */ break; case OP_MD5: md5_buffer (op->str_buf, op->str_buf_used-1, tmpbuf); field_op_to_hex (op, tmpbuf, 16); break; case OP_SHA1: sha1_buffer (op->str_buf, op->str_buf_used-1, tmpbuf); field_op_to_hex (op, tmpbuf, 20); break; case OP_SHA224: sha224_buffer (op->str_buf, op->str_buf_used-1, tmpbuf); field_op_to_hex (op, tmpbuf, 28); break; case OP_SHA256: sha256_buffer (op->str_buf, op->str_buf_used-1, tmpbuf); field_op_to_hex (op, tmpbuf, 32); break; case OP_SHA384: sha384_buffer (op->str_buf, op->str_buf_used-1, tmpbuf); field_op_to_hex (op, tmpbuf, 48); break; case OP_SHA512: sha512_buffer (op->str_buf, op->str_buf_used-1, tmpbuf); field_op_to_hex (op, tmpbuf, 64); break; case OP_DIRNAME: { op->str_buf[op->str_buf_used] = 0; char *t = dirname (op->str_buf); field_op_reserve_out_buf (op, op->str_buf_used); strcpy (op->out_buf,t); } break; case OP_BASENAME: case OP_EXTNAME: case OP_BARENAME: { if (op->str_buf_used==1) { /* Empty string, containing only NUL */ field_op_reserve_out_buf (op, 1); op->out_buf[0] = '\0'; break; } op->str_buf[op->str_buf_used] = 0; char *t = basename (op->str_buf); field_op_reserve_out_buf (op, op->str_buf_used); if (op->op == OP_BASENAME) { /* Just copy the extracted base name */ strcpy (op->out_buf,t); } else { /* Guess the file extension */ size_t tl = strlen (t); size_t l = guess_file_extension (t, tl); if (op->op == OP_EXTNAME) { /* Store the extension */ if (l>0) { memcpy (op->out_buf, t+(tl-l+1), l-1); op->out_buf[l-1] = '\0'; } else { op->out_buf[0] = '\0'; } } else { /* Store the basename without the extension */ memcpy (op->out_buf, t, tl-l); op->out_buf[tl-l] = '\0'; } } } break; case OP_INVALID: /* LCOV_EXCL_LINE */ default: /* LCOV_EXCL_LINE */ /* Should never happen */ internal_error ("bad op"); /* LCOV_EXCL_LINE */ } if (op->res_type==NUMERIC_RESULT) { field_op_reserve_out_buf (op, numeric_output_bufsize); snprintf (op->out_buf, op->out_buf_alloc, numeric_output_format, numeric_result); } } /* reset operation values for next group */ void field_op_reset (struct fieldop *op) { op->first = true; op->count = 0 ; op->value = 0; op->num_values = 0 ; op->str_buf_used = 0; op->out_buf_used = 0; /* note: op->str_buf and op->str_alloc are not free'd, and reused */ } void field_op_free (struct fieldop* op) { free (op->values); op->num_values = 0 ; op->alloc_values = 0; free (op->str_buf); op->str_buf = NULL; op->str_buf_alloc = 0; op->str_buf_used = 0; free (op->out_buf); op->out_buf = NULL; op->out_buf_alloc = 0; op->out_buf_used = 0; free (op->field_name); op->field_name = NULL; } const char* field_op_collect_result_name (const enum FIELD_OP_COLLECT_RESULT flocr) { switch (flocr) /* LCOV_EXCL_BR_LINE */ { case FLOCR_INVALID_NUMBER: return _("invalid numeric value"); case FLOCR_INVALID_BASE64: return _("invalid base64 value"); case FLOCR_OK: /* LCOV_EXCL_LINE */ case FLOCR_OK_KEEP_LINE: /* LCOV_EXCL_LINE */ case FLOCR_OK_SKIPPED: /* LCOV_EXCL_LINE */ default: internal_error ("op_collect_result_name"); /* LCOV_EXCL_LINE */ return ""; /* LCOV_EXCL_LINE */ } } void field_op_print_empty_value (enum field_operation mode) { struct fieldop op; memset (&op, 0, sizeof op); op.op = mode; op.res_type = NUMERIC_RESULT; field_op_summarize_empty (&op); fputs (op.out_buf, stdout); } datamash-1.9/src/field-ops.h0000644000000000000000000001245414771573715011445 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __FIELD_OPS_H__ #define __FIELD_OPS_H__ /* Operations Module */ enum accumulation_type { NUMERIC_SCALAR = 0, NUMERIC_VECTOR, STRING_SCALAR, STRING_VECTOR }; enum operation_result_type { NUMERIC_RESULT = 0, STRING_RESULT }; enum operation_first_value { AUTO_SET_FIRST = true, IGNORE_FIRST = false }; enum FIELD_OP_COLLECT_RESULT { FLOCR_OK = 0, FLOCR_OK_KEEP_LINE, FLOCR_OK_SKIPPED, FLOCR_INVALID_NUMBER, FLOCR_INVALID_BASE64 }; struct operation_data { enum accumulation_type acc_type; enum operation_first_value auto_first; enum operation_result_type res_type; }; /* Operation on a field */ struct fieldop { /* operation 'class' information */ enum field_operation op; enum accumulation_type acc_type; enum operation_result_type res_type; bool numeric; bool auto_first; /* if true, automatically set 'value' if 'first' */ bool master; /* if true, this field_op uses another as a slave */ bool slave; /* if true, not used directly, but referenced by another field_op */ size_t slave_idx; struct fieldop* slave_op; /* Instance information */ size_t field; /* field number. 1 = first field in input file. */ bool field_by_name; /* if true, user gave field name (instead of number), which needs to be resolved AFTER the header line is loaded */ char* field_name; union { long double bin_bucket_size; size_t strbin_bucket_size; size_t percentile; long double trimmed_mean; enum extract_number_type get_num_type; } params; /* Collected Data */ bool first; /* true if this is the first item in a new group */ /* NUMERIC_SCALAR operations */ size_t count; /* number of items collected so far in a group */ long double value; /* for single-value operations (sum, min, max, absmin, absmax, mean) - this is the accumulated value */ /* NUMERIC_VECTOR operations */ long double *values; /* array for multi-valued ops (median,mode,stdev) */ size_t num_values; /* number of used values */ size_t alloc_values;/* number of allocated values */ /* String buffer for STRING_VECTOR operations */ char *str_buf; /* points to the beginning of the buffer */ size_t str_buf_used; /* number of bytes used in the buffer */ size_t str_buf_alloc; /* number of bytes allocated in the buffer */ /* Output buffer containing the final results of an operation, set by 'summarize' functions. also used for line operations (md5/sha1/256/512/base64). */ char *out_buf; size_t out_buf_used; size_t out_buf_alloc; }; /* Initializes a new field-op, using an *existing* (pre-allocated) struct. */ void field_op_init (struct fieldop* /*in-out*/ op, enum field_operation oper, bool by_name, size_t num, const char* name); /* Frees the internal structures in the field-op. Does *not* free 'op' itself */ void field_op_free (struct fieldop* op); /* Add a value (from input) to the current field operation. 'str' does not need to be null-terminated. Returns true if the operation was successful. Returns false if the input was invalid numeric value. */ enum FIELD_OP_COLLECT_RESULT field_op_collect (struct fieldop *op, const char* str, size_t slen); /* Evaluates to true/false depending if the value returned from field_op_collect represents a successful operation. */ #define field_op_ok(X) \ (((X)==FLOCR_OK)||((X)==FLOCR_OK_KEEP_LINE)||((X)==FLOCR_OK_SKIPPED)) /* If field_op_ok returned false, this function will return a textual error message of the error. The returned value is a static string, do not free it. */ const char* field_op_collect_result_name (const enum FIELD_OP_COLLECT_RESULT flocr); /* Called after all values in a group are collected in a field-op, to perform any (optional) finalizing steps (e.g. in OP_MEAN, calculate the mean). Result will be stored in op->out_buf. */ void field_op_summarize (struct fieldop *op); /* resets internal variables, should be called when starting a new group of values. */ void field_op_reset (struct fieldop *op); /* Output precision, to be used with "printf ("%.*Lg",)" */ extern int field_op_output_precision; /* Helper function to print to stdout the 'empty value' of a numeric operation (e.g. what's printed by 'OP_MEAN' with empty input). Used in some of the tests. */ void field_op_print_empty_value (enum field_operation mode); #endif datamash-1.9/src/key-compare.c0000644000000000000000000003353414771573715011774 /* key-compare.c - Key-comparison common functions Copyright (C) 2014-2020 Free Software Foundation, Inc. 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 . */ /* Extracted from sort.c, modified by Assaf Gordon */ /* define the following to enable extra key options: KEY_COMPARE_RANDOM - sort by random order (-k1R,1) KEY_COMPARE_REVERSE - reverse sort order (-k1r,1) KEY_COMPARE_VERSION - Version sort order (-k1V,1) KEY_COMPARE_HUMAN_NUMERIC- Human sizes order (-k1h,1) KEY_COMPARE_MONTH - Month sort (Jan>Feb) (-K1M,1) KEY_COMPARE_NONPRINTING - Only non-printables (-K1i,1) If these are not defined, specifing them will generate an error. See 'set_ordering ()' and 'key_to_opts ()' in this file, and "src_uniq_CPPFLAGS" in "src/local.mk" for usage examples. */ #include #include #include #include "system.h" #include "die.h" #ifdef KEY_COMPARE_VERSION //#include "filevercmp.h" #endif #include "hard-locale.h" #ifdef KEY_COMPARE_RANDOM //#include "md5.h" //#include "randread.h" #endif #include "quote.h" //#include "strnumcmp.h" //#include "xmemcoll.h" #include "xstrtol.h" #include "xalloc.h" //#include "mbswidth.h" #include "key-compare.h" #if HAVE_LANGINFO_CODESET # include #endif #include #include #include /* '\n' is considered a field separator with --zero-terminated. */ static inline bool field_sep (unsigned char ch) { return isblank (ch) || ch == '\n'; } /* The representation of the decimal point in the current locale. */ int decimal_point = 0; /* Thousands separator; if -1, then there isn't one. */ int thousands_sep = 0; /* Nonzero if the corresponding locales are hard. */ bool hard_LC_COLLATE = false; #if HAVE_NL_LANGINFO bool hard_LC_TIME = 0; #endif /* FIXME: None of these tables work with multibyte character sets. Also, there are many other bugs when handling multibyte characters. One way to fix this is to rewrite 'sort' to use wide characters internally, but doing this with good performance is a bit tricky. */ /* Table of blanks. */ static bool blanks[UCHAR_LIM]; #ifdef KEY_COMPARE_NONPRINTING /* Table of non-printing characters. */ static bool nonprinting[UCHAR_LIM]; #endif /* Table of non-dictionary characters (not letters, digits, or blanks). */ static bool nondictionary[UCHAR_LIM]; /* Translation table folding lower case to upper. */ static char fold_toupper[UCHAR_LIM]; #ifdef KEY_COMPARE_MONTH struct month { char const *name; int val; }; #define MONTHS_PER_YEAR 12 #endif /* KEY_COMPARE_MONTH */ /* Tab character separating fields. If TAB_DEFAULT, then fields are separated by the empty string between a non-blank character and a blank character. */ int tab = TAB_DEFAULT; /* List of key field comparisons to be tried. */ struct keyfield *keylist = NULL; /* Initialize the character class tables. */ static void inittables (void) { size_t i; for (i = 0; i < UCHAR_LIM; ++i) { blanks[i] = field_sep (i); #ifdef KEY_COMPARE_NONPRINTING nonprinting[i] = ! isprint (i); #endif nondictionary[i] = ! isalnum (i) && ! field_sep (i); fold_toupper[i] = toupper (i); } } /* Return a pointer to the first character of the field specified by KEY in LINE. */ extern char * _GL_ATTRIBUTE_PURE begfield (struct line const *line, struct keyfield const *key) { char *ptr = line->text, *lim = ptr + line->length - 1; size_t sword = key->sword; size_t schar = key->schar; /* The leading field separator itself is included in a field when -t is absent. */ if (tab != TAB_DEFAULT) while (ptr < lim && sword--) { while (ptr < lim && *ptr != tab) ++ptr; if (ptr < lim) ++ptr; } else while (ptr < lim && sword--) { while (ptr < lim && blanks[to_uchar (*ptr)]) ++ptr; while (ptr < lim && !blanks[to_uchar (*ptr)]) ++ptr; } /* If we're ignoring leading blanks when computing the Start of the field, skip past them here. */ if (key->skipsblanks) while (ptr < lim && blanks[to_uchar (*ptr)]) ++ptr; /* Advance PTR by SCHAR (if possible), but no further than LIM. */ ptr = MIN (lim, ptr + schar); return ptr; } /* Return the limit of (a pointer to the first character after) the field in LINE specified by KEY. */ extern char * _GL_ATTRIBUTE_PURE limfield (struct line const *line, struct keyfield const *key) { char *ptr = line->text, *lim = ptr + line->length - 1; size_t eword = key->eword, echar = key->echar; if (echar == 0) eword++; /* Skip all of end field. */ /* Move PTR past EWORD fields or to one past the last byte on LINE, whichever comes first. If there are more than EWORD fields, leave PTR pointing at the beginning of the field having zero-based index, EWORD. If a delimiter character was specified (via -t), then that 'beginning' is the first character following the delimiting TAB. Otherwise, leave PTR pointing at the first 'blank' character after the preceding field. */ if (tab != TAB_DEFAULT) while (ptr < lim && eword--) { while (ptr < lim && *ptr != tab) ++ptr; if (ptr < lim && (eword || echar)) ++ptr; } else while (ptr < lim && eword--) { while (ptr < lim && blanks[to_uchar (*ptr)]) ++ptr; while (ptr < lim && !blanks[to_uchar (*ptr)]) ++ptr; } #ifdef POSIX_UNSPECIFIED /* The following block of code makes GNU sort incompatible with standard Unix sort, so it's ifdef'd out for now. The POSIX spec isn't clear on how to interpret this. FIXME: request clarification. From: kwzh@gnu.ai.mit.edu (Karl Heuer) Date: Thu, 30 May 96 12:20:41 -0400 [Translated to POSIX 1003.1-2001 terminology by Paul Eggert.] [...]I believe I've found another bug in 'sort'. $ cat /tmp/sort.in a b c 2 d pq rs 1 t $ textutils-1.15/src/sort -k1.7,1.7 skipeblanks) while (ptr < lim && blanks[to_uchar (*ptr)]) ++ptr; /* Advance PTR by ECHAR (if possible), but no further than LIM. */ ptr = MIN (lim, ptr + echar); } return ptr; } /* Insert a malloc'd copy of key KEY_ARG at the end of the key list. */ extern struct keyfield* insertkey (struct keyfield *key_arg) { struct keyfield **p; struct keyfield *key = xmemdup (key_arg, sizeof *key); for (p = &keylist; *p; p = &(*p)->next) continue; *p = key; key->next = NULL; return key; } /* Report a bad field specification SPEC, with extra info MSGID. */ extern void badfieldspec (char const *spec, char const *msgid) { die (SORT_FAILURE, 0, _("%s: invalid field specification %s"), _(msgid), quote (spec)); abort (); } /* Parse the leading integer in STRING and store the resulting value (which must fit into size_t) into *VAL. Return the address of the suffix after the integer. If the value is too large, silently substitute SIZE_MAX. If MSGID is NULL, return NULL after failure; otherwise, report MSGID and exit on failure. */ extern char const * parse_field_count (char const *string, size_t *val, char const *msgid) { char *suffix; uintmax_t n; switch (xstrtoumax (string, &suffix, 10, &n, "")) { case LONGINT_OK: case LONGINT_INVALID_SUFFIX_CHAR: *val = n; if (*val == n) break; FALLTHROUGH; case LONGINT_OVERFLOW: case LONGINT_OVERFLOW | LONGINT_INVALID_SUFFIX_CHAR: *val = SIZE_MAX; break; case LONGINT_INVALID: if (msgid) die (SORT_FAILURE, 0, _("%s: invalid count at start of %s"), _(msgid), quote (string)); return NULL; default: abort (); } return suffix; } /* Set the ordering options for KEY specified in S. Return the address of the first character in S that is not a valid ordering option. BLANKTYPE is the kind of blanks that 'b' should skip. */ extern char * set_ordering (char const *s, struct keyfield *key, enum blanktype blanktype) { while (*s) { switch (*s) { case 'b': if (blanktype == bl_start || blanktype == bl_both) key->skipsblanks = true; if (blanktype == bl_end || blanktype == bl_both) key->skipeblanks = true; break; case 'd': key->ignore = nondictionary; break; case 'f': key->translate = fold_toupper; break; case 'g': key->general_numeric = true; break; #ifdef KEY_COMPARE_HUMAN_NUMERIC case 'h': key->human_numeric = true; break; #endif #ifdef KEY_COMPARE_NONPRINTING case 'i': /* Option order should not matter, so don't let -i override -d. -d implies -i, but -i does not imply -d. */ if (! key->ignore) key->ignore = nonprinting; break; #endif #ifdef KEY_COMPARE_MONTH case 'M': key->month = true; break; #endif case 'n': key->numeric = true; break; #ifdef KEY_COMPARE_RANDOM case 'R': key->random = true; break; #endif #ifdef KEY_COMPARE_REVERSE case 'r': key->reverse = true; break; #endif #ifdef KEY_COMPARE_VERSION case 'V': key->version = true; break; #endif default: return (char *) s; } ++s; } return (char *) s; } /* Initialize KEY. */ extern struct keyfield * key_init (struct keyfield *key) { memset (key, 0, sizeof *key); key->eword = SIZE_MAX; return key; } extern void init_key_spec (void) { hard_LC_COLLATE = hard_locale (LC_COLLATE); #if HAVE_NL_LANGINFO hard_LC_TIME = hard_locale (LC_TIME); #endif /* Get locale's representation of the decimal point. */ { struct lconv const *locale = localeconv (); /* If the locale doesn't define a decimal point, or if the decimal point is multibyte, use the C locale's decimal point. FIXME: add support for multibyte decimal points. */ decimal_point = to_uchar (locale->decimal_point[0]); if (! decimal_point || locale->decimal_point[1]) decimal_point = '.'; /* FIXME: add support for multibyte thousands separators. */ thousands_sep = to_uchar (*locale->thousands_sep); if (! thousands_sep || locale->thousands_sep[1]) thousands_sep = -1; } inittables (); } extern char* debug_keyfield (const struct keyfield *key) { size_t len = (INT_BUFSIZE_BOUND (uintmax_t))*4 /* up to 4 numbers */ + strlen ("-k,.") /* argument syntax */ + strlen ("bbdfghiMnRrV") /* all possible options */ + ( (key->decorate_fn)?30:0 ) + ( (key->decorate_cmd)?strlen (key->decorate_cmd):0) + 100 + 1 ; /* extra for good luck, and NULL */ char* buf = xcalloc (len,1); char *p = buf; p = stpcpy (p,"-k"); p += sprintf (p, "%zu", key->sword+1); if (key->schar) p += sprintf (p,".%zu", key->schar+1); if (key->skipsblanks) p = stpcpy (p,"b"); if (key->eword != SIZE_MAX) { p += sprintf (p,",%zu",key->eword+1); if (key->echar) p += sprintf (p,".%zu", key->echar); } if (key->skipeblanks) p = stpcpy (p,"b"); if (key->ignore == nondictionary) p = stpcpy (p,"d"); if (key->translate == fold_toupper) p = stpcpy (p,"f"); if (key->general_numeric) p = stpcpy (p,"g"); if (key->human_numeric) p = stpcpy (p,"h"); if (key->ignore == nonprinting) p = stpcpy (p,"i"); if (key->month) p = stpcpy (p,"M"); if (key->numeric) p = stpcpy (p,"n"); if (key->random) p = stpcpy (p,"R"); if (key->reverse) p = stpcpy (p,"r"); if (key->version) p = stpcpy (p,"V"); if (key->decorate_fn) p += sprintf (p,":[decorate %p]", key->decorate_fn); if (key->decorate_cmd) p += sprintf (p,"@%s", key->decorate_cmd); return buf; } extern void debug_keylist (FILE *stream) { struct keyfield const *key = keylist; do { char *p = debug_keyfield (key); fputs (p, stream); fputc ('\n', stream); free (p); } while (key && ((key = key->next))); } datamash-1.9/src/key-compare.h0000644000000000000000000001250614771573715011775 /* Key Comparison functions Copyright (C) 2014 Free Software Foundation, Inc. Copyright (C) 2022-2025 Timothy Rice 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 . */ #ifndef KEY_COMPARE_H # define KEY_COMPARE_H #define UCHAR_LIM (UCHAR_MAX + 1) /* The representation of the decimal point in the current locale. */ extern int decimal_point; /* Thousands separator; if -1, then there isn't one. */ extern int thousands_sep; /* Nonzero if the corresponding locales are hard. */ extern bool hard_LC_COLLATE; #if HAVE_NL_LANGINFO extern bool hard_LC_TIME; #endif #define NONZERO(x) ((x) != 0) /* The kind of blanks for '-b' to skip in various options. */ enum blanktype { bl_start, bl_end, bl_both }; /* Lines are held in core as counted strings. */ struct line { char *text; /* Text of the line. */ size_t length; /* Length including final newline. */ char *keybeg; /* Start of first key. */ char *keylim; /* Limit of first key. */ }; /* Sort key. */ struct keyfield { size_t sword; /* Zero-origin 'word' to start at. */ size_t schar; /* Additional characters to skip. */ size_t eword; /* Zero-origin last 'word' of key. */ size_t echar; /* Additional characters in field. */ bool const *ignore; /* Boolean array of characters to ignore. */ char const *translate; /* Translation applied to characters. */ bool skipsblanks; /* Skip leading blanks when finding start. */ bool skipeblanks; /* Skip leading blanks when finding end. */ bool numeric; /* Flag for numeric comparison. Handle strings of digits with optional decimal point, but no exponential notation. */ #ifdef KEY_COMPARE_RANDOM bool random; /* Sort by random hash of key. */ #endif bool general_numeric; /* Flag for general, numeric comparison. Handle numbers in exponential notation. */ #ifdef KEY_COMPARE_HUMAN_NUMERIC bool human_numeric; /* Flag for sorting by human readable units with either SI xor IEC prefixes. */ #endif #ifdef KEY_COMPARE_MONTH bool month; /* Flag for comparison by month name. */ #endif #ifdef KEY_COMPARE_REVERSE bool reverse; /* Reverse the sense of comparison. */ #endif #ifdef KEY_COMPARE_VERSION bool version; /* sort by version number */ #endif #ifdef KEY_COMPARE_DECORATION bool (*decorate_fn)(const char* in); const char* decorate_cmd; #endif bool traditional_used; /* Traditional key option format is used. */ struct keyfield *next; /* Next keyfield to try. */ }; /* If TAB has this value, blanks separate fields. */ enum { TAB_DEFAULT = CHAR_MAX + 1 }; /* Tab character separating fields. If TAB_DEFAULT, then fields are separated by the empty string between a non-blank character and a blank character. */ extern int tab; /* List of key field comparisons to be tried. */ extern struct keyfield *keylist; /* Return a pointer to the first character of the field specified by KEY in LINE. */ char * begfield (struct line const *line, struct keyfield const *key); /* Return the limit of (a pointer to the first character after) the field in LINE specified by KEY. */ char * limfield (struct line const *line, struct keyfield const *key); /* Insert a malloc'd copy of key KEY_ARG at the end of the key list. */ extern struct keyfield* insertkey (struct keyfield *key_arg); /* Report a bad field specification SPEC, with extra info MSGID. */ void badfieldspec (char const *, char const *) ATTRIBUTE_NORETURN; /* Parse the leading integer in STRING and store the resulting value (which must fit into size_t) into *VAL. Return the address of the suffix after the integer. If the value is too large, silently substitute SIZE_MAX. If MSGID is NULL, return NULL after failure; otherwise, report MSGID and exit on failure. */ char const * parse_field_count (char const *string, size_t *val, char const *msgid); /* Set the ordering options for KEY specified in S. Return the address of the first character in S that is not a valid ordering option. BLANKTYPE is the kind of blanks that 'b' should skip. */ char * set_ordering (char const *s, struct keyfield *key, enum blanktype blanktype); /* Initialize KEY. */ struct keyfield * key_init (struct keyfield *key); /* print the key spec as a parameter */ void debug_keylist (FILE* stream); char* debug_keyfield (const struct keyfield *key); /* Initializes 'common' key-comparison global variables: thousand_sep decimal_point hard_LC_COLLATE hard_LC_TIME blanks, months, nonprintable tables (calls inittables). This function should be called once from main . */ void init_key_spec (void); #endif /* KEY_COMPARE_H */ datamash-1.9/src/op-defs.c0000644000000000000000000001614214771573715011111 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include "system.h" #include "op-defs.h" struct field_operation_definition { const char* name; enum field_operation op; enum processing_mode mode; /* The default mode implied by this operation */ }; struct field_operation_definition field_operations[] = { {"invalid", OP_INVALID, MODE_GROUPBY}, {"count", OP_COUNT, MODE_GROUPBY}, {"sum", OP_SUM, MODE_GROUPBY}, {"min", OP_MIN, MODE_GROUPBY}, {"max", OP_MAX, MODE_GROUPBY}, {"absmin", OP_ABSMIN, MODE_GROUPBY}, {"absmax", OP_ABSMAX, MODE_GROUPBY}, {"range", OP_RANGE, MODE_GROUPBY}, {"first", OP_FIRST, MODE_GROUPBY}, {"last", OP_LAST, MODE_GROUPBY}, {"rand", OP_RAND, MODE_GROUPBY}, {"mean", OP_MEAN, MODE_GROUPBY}, {"geomean", OP_GEOMEAN, MODE_GROUPBY}, {"harmmean", OP_HARMMEAN, MODE_GROUPBY}, {"ms", OP_MS, MODE_GROUPBY}, {"rms", OP_RMS, MODE_GROUPBY}, {"median", OP_MEDIAN, MODE_GROUPBY}, {"q1", OP_QUARTILE_1, MODE_GROUPBY}, {"q3", OP_QUARTILE_3, MODE_GROUPBY}, {"iqr", OP_IQR, MODE_GROUPBY}, {"perc", OP_PERCENTILE, MODE_GROUPBY}, {"pstdev", OP_PSTDEV, MODE_GROUPBY}, {"sstdev", OP_SSTDEV, MODE_GROUPBY}, {"pvar", OP_PVARIANCE, MODE_GROUPBY}, {"svar", OP_SVARIANCE, MODE_GROUPBY}, {"mad", OP_MAD, MODE_GROUPBY}, {"madraw", OP_MADRAW, MODE_GROUPBY}, {"sskew", OP_S_SKEWNESS, MODE_GROUPBY}, {"pskew", OP_P_SKEWNESS, MODE_GROUPBY}, {"skurt", OP_S_EXCESS_KURTOSIS, MODE_GROUPBY}, {"pkurt", OP_P_EXCESS_KURTOSIS, MODE_GROUPBY}, {"jarque", OP_JARQUE_BERA, MODE_GROUPBY}, {"dpo", OP_DP_OMNIBUS, MODE_GROUPBY}, {"mode", OP_MODE, MODE_GROUPBY}, {"antimode", OP_ANTIMODE, MODE_GROUPBY}, {"unique", OP_UNIQUE, MODE_GROUPBY}, {"uniq", OP_UNIQUE, MODE_GROUPBY}, {"collapse", OP_COLLAPSE, MODE_GROUPBY}, {"countunique", OP_COUNT_UNIQUE, MODE_GROUPBY}, {"base64", OP_BASE64, MODE_PER_LINE}, {"debase64", OP_DEBASE64, MODE_PER_LINE}, {"md5", OP_MD5, MODE_PER_LINE}, {"sha1", OP_SHA1, MODE_PER_LINE}, {"sha224", OP_SHA224, MODE_PER_LINE}, {"sha256", OP_SHA256, MODE_PER_LINE}, {"sha384", OP_SHA384, MODE_PER_LINE}, {"sha512", OP_SHA512, MODE_PER_LINE}, {"dirname", OP_DIRNAME, MODE_PER_LINE}, {"basename", OP_BASENAME, MODE_PER_LINE}, {"extname", OP_EXTNAME, MODE_PER_LINE}, {"barename", OP_BARENAME, MODE_PER_LINE}, {"pcov", OP_P_COVARIANCE, MODE_GROUPBY}, {"scov", OP_S_COVARIANCE, MODE_GROUPBY}, {"ppearson", OP_P_PEARSON_COR, MODE_GROUPBY}, {"spearson", OP_S_PEARSON_COR, MODE_GROUPBY}, {"dotprod", OP_DOT_PRODUCT, MODE_GROUPBY}, {"bin", OP_BIN_BUCKETS, MODE_PER_LINE}, {"strbin", OP_STRBIN, MODE_PER_LINE}, {"floor", OP_FLOOR, MODE_PER_LINE}, {"ceil", OP_CEIL, MODE_PER_LINE}, {"round", OP_ROUND, MODE_PER_LINE}, {"trunc", OP_TRUNCATE, MODE_PER_LINE}, {"frac", OP_FRACTION, MODE_PER_LINE}, {"trimmean", OP_TRIMMED_MEAN, MODE_GROUPBY}, {"getnum", OP_GETNUM, MODE_PER_LINE}, {"cut", OP_CUT, MODE_PER_LINE}, {"echo", OP_CUT, MODE_PER_LINE}, {NULL, OP_INVALID, MODE_INVALID} }; struct processing_mode_definition { const char* name; enum processing_mode mode; }; const struct processing_mode_definition processing_modes[] = { {"invalid", MODE_INVALID}, {"groupby", MODE_GROUPBY}, {"grouping", MODE_GROUPBY}, {"gb" , MODE_GROUPBY}, {"transpose",MODE_TRANSPOSE}, {"reverse", MODE_REVERSE}, {"line", MODE_PER_LINE}, {"dedup", MODE_REMOVE_DUPS}, {"rmdup", MODE_REMOVE_DUPS}, {"nop", MODE_NOOP}, {"noop", MODE_NOOP}, {"crosstab", MODE_CROSSTAB}, {"ct", MODE_CROSSTAB}, {"check", MODE_TABULAR_CHECK}, {NULL, MODE_INVALID}, }; enum field_operation get_field_operation (const char* s, enum processing_mode* /*out*/ mode) { const struct field_operation_definition* fod = field_operations; while (fod->name) { if (strcasecmp (fod->name, s)==0) { if (mode) *mode = fod->mode; return fod->op; } ++fod; } return OP_INVALID; } const char* _GL_ATTRIBUTE_PURE get_field_operation_name (enum field_operation op) { const struct field_operation_definition* fod = field_operations; while (fod->name) /* LCOV_EXCL_BR_LINE */ { if (fod->op == op) return fod->name; ++fod; } internal_error ("invalid op value"); /* LCOV_EXCL_LINE */ return NULL; /* LCOV_EXCL_LINE */ } enum processing_mode _GL_ATTRIBUTE_PURE get_processing_mode (const char* s) { const struct processing_mode_definition* pmd = processing_modes; while (pmd->name) { if (strcasecmp (pmd->name, s)==0) return pmd->mode; ++pmd; } return MODE_INVALID; } const char* _GL_ATTRIBUTE_PURE get_processing_mode_name (enum processing_mode m) { const struct processing_mode_definition* pmd = processing_modes; while (pmd->name) /* LCOV_EXCL_BR_LINE */ { if (pmd->mode == m) return pmd->name; ++pmd; } internal_error ("invalid mode value"); /* LCOV_EXCL_LINE */ return NULL; /* LCOV_EXCL_LINE */ } /* vim: set cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1: */ /* vim: set shiftwidth=2: */ /* vim: set tabstop=8: */ /* vim: set expandtab: */ datamash-1.9/src/op-defs.h0000644000000000000000000001076414771573715011122 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __OPERATION_DEFINITONS_H__ #define __OPERATION_DEFINITONS_H__ enum field_operation { OP_INVALID = -1, OP_COUNT = 0, OP_SUM, OP_MIN, OP_MAX, OP_ABSMIN, OP_ABSMAX, OP_RANGE, OP_FIRST, OP_LAST, OP_RAND, OP_MEAN, OP_GEOMEAN, OP_HARMMEAN, OP_MS, OP_RMS, OP_MEDIAN, OP_QUARTILE_1, OP_QUARTILE_3, OP_IQR, /* Inter-quartile range */ OP_PERCENTILE, OP_PSTDEV, /* Population Standard Deviation */ OP_SSTDEV, /* Sample Standard Deviation */ OP_PVARIANCE, /* Population Variance */ OP_SVARIANCE, /* Sample Variance */ OP_MAD, /* MAD - Median Absolute Deviation, with adjustment constant of 1.4826 for normal distribution */ OP_MADRAW, /* MAD (same as above), with constant=1 */ OP_S_SKEWNESS,/* Sample Skewness */ OP_P_SKEWNESS,/* Population Skewness */ OP_S_EXCESS_KURTOSIS, /* Sample Excess Kurtosis */ OP_P_EXCESS_KURTOSIS, /* Population Excess Kurtosis */ OP_JARQUE_BERA, /* Jarque-Bera test of normality */ OP_DP_OMNIBUS, /* D'Agostino-Pearson omnibus test of normality */ OP_MODE, OP_ANTIMODE, OP_UNIQUE, /* Collapse Unique string into comma separated values */ OP_COLLAPSE, /* Collapse strings into comma separated values */ OP_COUNT_UNIQUE, /* count number of unique values */ OP_BASE64, /* Encode Field to Base64 */ OP_DEBASE64, /* Decode Base64 field */ OP_MD5, /* Calculate MD5 of a field */ OP_SHA1, /* Calculate SHA1 of a field */ OP_SHA224, /* Calculate SHA224 of a field */ OP_SHA256, /* Calculate SHA256 of a field */ OP_SHA384, /* Calculate SHA384 of a field */ OP_SHA512, /* Calculate SHA512 of a field */ OP_P_COVARIANCE, /* Population Covariance */ OP_S_COVARIANCE, /* Sample Covariance */ OP_P_PEARSON_COR, /* Pearson Correlation Coefficient (population) */ OP_S_PEARSON_COR, /* Pearson Correlation Coefficient (sample) */ OP_DOT_PRODUCT, /* Scalar Product */ OP_BIN_BUCKETS, /* numeric binning operation */ OP_STRBIN, /* String hash/binning */ OP_FLOOR, /* Floor */ OP_CEIL, /* Ceiling */ OP_ROUND, /* Round */ OP_TRUNCATE, /* Truncate */ OP_FRACTION, /* Fraction */ OP_TRIMMED_MEAN, /* Trimmed Mean */ OP_DIRNAME, /* like dirname (1) */ OP_BASENAME, /* like basename (1) */ OP_EXTNAME, /* guess extension of file name */ OP_BARENAME, /* like basename without the guessed extension */ OP_GETNUM, /* Extract a number from a string */ OP_CUT /* like cut (1) */ }; enum processing_mode { MODE_INVALID = -1, MODE_GROUPBY = 0, /* Group By similar keys */ MODE_TRANSPOSE, /* transpose */ MODE_REVERSE, /* reverse fields in each line */ MODE_PER_LINE, /* Operations on each line, no grouping */ MODE_REMOVE_DUPS, /* Remove duplicated keys from a file */ MODE_CROSSTAB, /* Cross tabulation (aka pivot tables) */ MODE_TABULAR_CHECK, /* Verif the file has tabular format */ MODE_NOOP /* Do nothing. Used for testing and profiling */ }; /* Given a text string, returns the matching operation, or OP_INVALID. if 'mode' is not NULL, stores the implied processing mode (e.g. sum=>MODE_GROUPBY, md5=>MODE_PER_LINE). */ enum field_operation get_field_operation (const char* s, enum processing_mode* /*out*/ mode); const char* get_field_operation_name (enum field_operation op); /* Given a text string, returns the matching processing mode, or MODE_INVALID. */ enum processing_mode get_processing_mode (const char* s); const char* get_processing_mode_name (enum processing_mode m); #endif datamash-1.9/src/op-parser.c0000644000000000000000000006243414771573715011471 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include "system.h" #include "die.h" #include "ignore-value.h" #include "op-scanner.h" #include "op-defs.h" #include "op-parser.h" #include "utils.h" #include "field-ops.h" #include "text-options.h" static struct datamash_ops *dm = NULL; struct parser_field_t { uintmax_t num; bool by_name; char* name; bool range; bool pair; }; struct parser_param_t { enum { PARAM_INT, PARAM_FLOAT, PARAM_CHAR } type; uintmax_t u; long double f; char c; }; /* The currently parsed operation */ static enum field_operation fop = OP_INVALID; /* The currently parsed fields */ static struct parser_field_t *_fields; static size_t _fields_alloc; static size_t _fields_used; /* The currently parsed operation's parameters */ static struct parser_param_t *_params; static size_t _params_alloc; static size_t _params_used; static void _alloc_ops () { dm = XZALLOC (struct datamash_ops); dm->mode = MODE_INVALID; _fields = NULL; _fields_alloc = 0; _fields_used = 0; _params = NULL; _params_alloc = 0; _params_used = 0; } static void reset_parsed_operation () { fop = OP_INVALID; for (size_t i=0; i<_fields_used; ++i) free (_fields[i].name); _fields_used = 0; _params_used = 0; } static struct parser_field_t* alloc_next_field () { if (_fields_used == _fields_alloc) _fields = x2nrealloc (_fields, &_fields_alloc, sizeof (struct parser_field_t)); struct parser_field_t *p = &_fields[_fields_used++]; memset (p, 0, sizeof (*p)); return p; } /* Evalutates to TRUE if operation X (=enum field_operation) requires a paired field parameters (e.g. 1:2) */ #define OP_NEED_PAIR_PARAMS(x) (((x)==OP_P_COVARIANCE)||\ ((x)==OP_S_COVARIANCE)||\ ((x)==OP_P_PEARSON_COR)||\ ((x)==OP_S_PEARSON_COR)||\ ((x)==OP_DOT_PRODUCT)) #define ADD_NAMED_GROUP(name) (add_group_col (true,0,(name))) #define ADD_NUMERIC_GROUP(num) (add_group_col (false,num,NULL)) static void add_group_col (bool by_name, size_t num, const char* name) { if (dm->num_grps == dm->alloc_grps) dm->grps = x2nrealloc (dm->grps, &dm->alloc_grps, sizeof *dm->grps); struct group_column_t *p = &dm->grps[dm->num_grps++]; p->num = num; p->name = NULL; p->by_name = by_name; if (by_name) { p->name = xstrdup (name); dm->header_required = true; } } static struct fieldop * add_op (enum field_operation op, const struct parser_field_t *f) { if (dm->num_ops == dm->alloc_ops) dm->ops = x2nrealloc (dm->ops, &dm->alloc_ops, sizeof *dm->ops); struct fieldop *p = &dm->ops[dm->num_ops++]; if (f->by_name) dm->header_required = true; #ifdef _STANDALONE_ memset (p, 0, sizeof (struct fieldop)); p->op = op; p->field = f->num; p->field_by_name = f->by_name; p->field_name = f->name; #else field_op_init (p, op, f->by_name, f->num, f->name); #endif return p; } static void set_op_params (struct fieldop *op) { if (op->op==OP_BIN_BUCKETS) { op->params.bin_bucket_size = 100; /* default bucket size */ if (_params_used==1) op->params.bin_bucket_size = _params[0].f; /* TODO: in the future, accept offset as well? */ if (_params_used>1) die (EXIT_FAILURE, 0, _("too many parameters for operation %s"), quote (get_field_operation_name (op->op))); return; } if (op->op==OP_STRBIN) { op->params.strbin_bucket_size = 10; /* default bucket size for strbin */ if (_params_used==1) op->params.strbin_bucket_size = _params[0].u; if (op->params.strbin_bucket_size==0) die (EXIT_FAILURE, 0, _("strbin bucket size must not be zero")); /* TODO: in the future, accept offset as well? */ if (_params_used>1) die (EXIT_FAILURE, 0, _("too many parameters for operation %s"), quote (get_field_operation_name (op->op))); return; } if (op->op==OP_PERCENTILE) { op->params.percentile = 95; /* default percentile */ if (_params_used==1) op->params.percentile = _params[0].u; if (op->params.percentile==0 || op->params.percentile>100) die (EXIT_FAILURE, 0, _("invalid percentile value %" PRIuMAX), (uintmax_t)op->params.percentile); if (_params_used>1) die (EXIT_FAILURE, 0, _("too many parameters for operation %s"), quote (get_field_operation_name (op->op))); return; } if (op->op==OP_TRIMMED_MEAN) { op->params.trimmed_mean = 0; /* default trimmed mean = no trim */ if (_params_used==1) op->params.trimmed_mean = _params[0].f; if (op->params.trimmed_mean<0 || op->params.trimmed_mean>0.5) die (EXIT_FAILURE, 0, _("invalid trim mean value %Lg " \ "(expected 0 <= X <= 0.5)"), op->params.trimmed_mean); if (_params_used>1) die (EXIT_FAILURE, 0, _("too many parameters for operation %s"), quote (get_field_operation_name (op->op))); return; } if (op->op==OP_GETNUM) { op->params.get_num_type = ENT_POSITIVE_DECIMAL; if (_params_used==1) { switch (_params[0].c) { case 'h': op->params.get_num_type = ENT_HEX; break; case 'o': op->params.get_num_type = ENT_OCT; break; case 'i': op->params.get_num_type = ENT_INTEGER; break; case 'n': op->params.get_num_type = ENT_NATURAL; break; case 'd': op->params.get_num_type = ENT_DECIMAL; break; case 'p': op->params.get_num_type = ENT_POSITIVE_DECIMAL; break; default: die (EXIT_FAILURE, 0, _("invalid getnum type '%c'"),_params[0].c); } } if (_params_used>1) die (EXIT_FAILURE, 0, _("too many parameters for operation %s"), quote (get_field_operation_name (op->op))); return; } /* All other operations do not take parameters */ if (_params_used>0) die (EXIT_FAILURE, 0, _("too many parameters for operation %s"), quote (get_field_operation_name (op->op))); } static void parse_simple_operation_column (struct parser_field_t /*OUTPUT*/ *p, bool in_range, bool in_pair) { assert (p); /* LCOV_EXCL_LINE */ enum TOKEN tok = scanner_get_token (); if (vnlog && tok == TOK_INTEGER) tok = TOK_IDENTIFIER; switch (tok) /* LCOV_EXCL_BR */ { case TOK_IDENTIFIER: p->by_name = true; p->name = xstrdup (scanner_identifier); break; case TOK_WHITESPACE: /* LCOV_EXCL_LINE */ internal_error ("whitespace"); /* LCOV_EXCL_LINE */ case TOK_COMMA: die (EXIT_FAILURE, 0, _("missing field for operation %s"), quote (get_field_operation_name (fop))); case TOK_END: /* informative error message depends on the context: */ if (in_range) die (EXIT_FAILURE, 0, _("invalid field range for operation %s"), quote (get_field_operation_name (fop))); if (in_pair) die (EXIT_FAILURE, 0, _("invalid field pair for operation %s"), quote (get_field_operation_name (fop))); die (EXIT_FAILURE, 0, _("missing field for operation %s"), quote (get_field_operation_name (fop))); case TOK_DASH: die (EXIT_FAILURE, 0, _("invalid field range for operation %s"), quote (get_field_operation_name (fop))); case TOK_COLONS: die (EXIT_FAILURE, 0, _("invalid field pair for operation %s"), quote (get_field_operation_name (fop))); case TOK_INTEGER: /* Zero values will fall-through to the error message below */ if (scan_val_int>0) { p->by_name = false; p->num = scan_val_int; break; } /* fallthrough */ case TOK_FLOAT: default: die (EXIT_FAILURE, 0, _("invalid field '%s' for operation %s"), scanner_identifier, quote (get_field_operation_name (fop))); } } static void parse_operation_column () { struct parser_field_t *p = alloc_next_field (); parse_simple_operation_column (p, false, false); if (scanner_peek_token () == TOK_COLONS) { scanner_get_token (); /* mark the previous field as pair, this will be the other field */ p->pair = true; struct parser_field_t *q = alloc_next_field (); parse_simple_operation_column (q, false, true); } if (scanner_peek_token () == TOK_DASH) { scanner_get_token (); /* mark the previous field as range, this will be the 'to' field */ p->range = true; struct parser_field_t *q = alloc_next_field (); parse_simple_operation_column (q, true, false); if (p->by_name || q->by_name) die (EXIT_FAILURE, 0, _("field range for %s must be numeric"), quote (get_field_operation_name (fop))); if (p->num >= q->num) die (EXIT_FAILURE, 0, _("invalid field range for operation %s"), quote (get_field_operation_name (fop))); } } static void parse_operation_column_list () { parse_operation_column (); enum TOKEN tok = scanner_peek_token (); while (tok == TOK_COMMA) { scanner_get_token (); parse_operation_column (); tok = scanner_peek_token (); } } static void parse_operation_params (enum field_operation op) { /* currently, the only place we want to detect a whitespace, spearating between operation's parameters and field numbers. e.g.: 'foo:10: 4' should not be treated as 'foo:10:4' (with two parameters). instead, it should produce an error (missing second parameter), and the '4' should be treated as the field number. */ scanner_keep_whitespace = true; enum TOKEN tok = scanner_peek_token (); while (tok == TOK_COLONS) { scanner_get_token (); tok = scanner_get_token (); if (_params_used == _params_alloc) _params = x2nrealloc (_params, &_params_alloc, sizeof (struct parser_param_t)); struct parser_param_t *p = &_params[_params_used++]; switch (tok) { case TOK_INTEGER: p->type = PARAM_INT; p->u = scan_val_int; p->f = scan_val_int; break; case TOK_FLOAT: p->type = PARAM_FLOAT; p->f = scan_val_float; break; case TOK_WHITESPACE: case TOK_END: die (EXIT_FAILURE, 0, _("missing parameter for operation %s"), quote (get_field_operation_name (fop))); case TOK_IDENTIFIER: /* Currently, only OP_GETNUM accepts non-numeric parameter */ if (op == OP_GETNUM) { p->type = PARAM_CHAR; p->c = scanner_identifier[0]; break; } /* Otherwise, fall through */ /* FALLTHROUGH */ case TOK_COMMA: case TOK_DASH: case TOK_COLONS: default: die (EXIT_FAILURE, 0, _("invalid parameter %s for operation %s"), scanner_identifier, quote (get_field_operation_name (fop))); } tok = scanner_peek_token (); } if (tok == TOK_WHITESPACE) scanner_get_token (); scanner_keep_whitespace = false; } static inline bool compatible_operation_modes (enum processing_mode current, enum processing_mode added) { return ((current==MODE_CROSSTAB)&&(added==MODE_GROUPBY))|| (current==added); } static void create_field_ops () { for (size_t i=0; i<_fields_used; ++i) { const struct parser_field_t *f = &_fields[i]; struct fieldop *op = add_op (fop, f); set_op_params (op); if (OP_NEED_PAIR_PARAMS (fop) && !f->pair) die (EXIT_FAILURE, 0, _("operation %s requires field pairs"), quote (get_field_operation_name (fop))); if (!OP_NEED_PAIR_PARAMS (fop) && f->pair) die (EXIT_FAILURE, 0, _("operation %s cannot use pair of fields"), quote (get_field_operation_name (fop))); if (f->range) { uintmax_t to = _fields[++i].num; struct parser_field_t t = *f; while (t.numpair) { op->slave = true; const struct parser_field_t *other_f = &_fields[++i]; op = add_op (fop, other_f); set_op_params (op); op->master = true; op->slave_idx = dm->num_ops-2; /* index of the prev op = slave op */ } } } static void parse_operation (enum processing_mode pm) { reset_parsed_operation (); scanner_get_token (); enum processing_mode pm2; fop = get_field_operation (scanner_identifier, &pm2); if (fop==OP_INVALID) { pm2 = get_processing_mode (scanner_identifier); if (pm2 != MODE_INVALID) die (EXIT_FAILURE,0, _("conflicting operation %s"), quote (scanner_identifier)); die (EXIT_FAILURE,0, _("invalid operation %s"), quote (scanner_identifier)); } if (!compatible_operation_modes (pm,pm2)) die (EXIT_FAILURE, 0, _("conflicting operation found: "\ "expecting %s operations, but found %s operation %s"), get_processing_mode_name (pm), get_processing_mode_name (pm2), quote (scanner_identifier)); parse_operation_params (fop); parse_operation_column_list (); create_field_ops (); } static void parse_operations (enum processing_mode pm) { enum TOKEN tok = scanner_peek_token (); while (tok != TOK_END) { parse_operation (pm); tok = scanner_peek_token (); } /* After adding all operations, see if there are master/slave ops * that need resolving - caching their pointer instead of index */ for (size_t i=0; inum_ops; ++i) { if (!dm->ops[i].master) continue; const size_t si = dm->ops[i].slave_idx; assert (si<=dm->num_ops); /* LCOV_EXCL_LINE */ dm->ops[i].slave_op = &dm->ops[si]; } } static void parse_mode_column (enum processing_mode pm) { enum TOKEN tok = scanner_get_token (); if (vnlog && tok == TOK_INTEGER) tok = TOK_IDENTIFIER; switch (tok) /* LCOV_EXCL_BR */ { case TOK_IDENTIFIER: ADD_NAMED_GROUP (scanner_identifier); break; case TOK_WHITESPACE: /* LCOV_EXCL_LINE */ internal_error ("whitespace"); /* LCOV_EXCL_LINE */ case TOK_COMMA: case TOK_END: die (EXIT_FAILURE, 0, _("missing field for operation %s"), quote (get_processing_mode_name (pm))); case TOK_INTEGER: if (scan_val_int>0) { int begin_range = scan_val_int, end_range; if (scanner_peek_token () != TOK_DASH) { ADD_NUMERIC_GROUP (scan_val_int); } else { scanner_get_token (); if (scanner_get_token () != TOK_INTEGER || scan_val_int < (uintmax_t) begin_range) { die (EXIT_FAILURE, 0, _("invalid field range for operation %s"), quote (get_processing_mode_name (pm))); } end_range = scan_val_int; for (int i = begin_range; i <= end_range; i++) { ADD_NUMERIC_GROUP (i); } } break; } /* fallthrough */ case TOK_DASH: case TOK_COLONS: case TOK_FLOAT: default: die (EXIT_FAILURE, 0, _("invalid field '%s' for operation %s"), scanner_identifier, quote (get_processing_mode_name (pm))); } } static void parse_mode_column_list (enum processing_mode pm) { parse_mode_column (pm); enum TOKEN tok = scanner_peek_token (); while (tok == TOK_COMMA) { scanner_get_token (); parse_mode_column (pm); tok = scanner_peek_token (); } /* detect and warn about incorrect usage, field specification for groups can't handle dashes or colons (for now) */ if (tok == TOK_DASH) die (EXIT_FAILURE, 0, _("invalid field range for operation %s"), quote (get_processing_mode_name (pm))); if (tok == TOK_COLONS) die (EXIT_FAILURE, 0, _("invalid field pair for operation %s"), quote (get_processing_mode_name (pm))); } static bool parse_check_line_or_field (const char* s) { if (STREQ (s,"lines") || STREQ (s,"line") \ || STREQ (s,"rows") || STREQ (s,"row")) return true; if (STREQ (s,"fields") || STREQ (s,"field") \ || STREQ (s,"columns") || STREQ (s,"column") || STREQ (s,"col")) return false; die (EXIT_FAILURE, 0, _("invalid option %s for operation check"), quote (s)); } static void parse_mode_check () { bool set_lines = true; // false = set columns uintmax_t value = 0; uintmax_t n_lines = 0; uintmax_t n_fields = 0; enum TOKEN tok = scanner_peek_token (); while (tok != TOK_END) { tok = scanner_get_token (); if (tok == TOK_INTEGER) { value = scan_val_int; ignore_value (scanner_get_token ()); set_lines = parse_check_line_or_field (scanner_identifier); } else { set_lines = parse_check_line_or_field (scanner_identifier); tok = scanner_get_token (); if (tok != TOK_INTEGER) die (EXIT_FAILURE, 0, _("number expected after option in " \ "operation 'check'")); value = scan_val_int; } if (value == 0) die (EXIT_FAILURE, 0, _("invalid value zero for lines/fields in " \ "operation 'check'")); if (set_lines) { if (n_lines>0) die (EXIT_FAILURE, 0, _("number of lines/rows already set in " \ "operation 'check'")); n_lines = value; } else { if (n_fields>0) die (EXIT_FAILURE, 0, _("number of fields/columns already set in " \ "operation 'check'")); n_fields = value; } tok = scanner_peek_token (); } dm->mode_params.check_params.n_lines = n_lines; dm->mode_params.check_params.n_fields = n_fields; } static void parse_mode () { scanner_get_token (); enum processing_mode pm = get_processing_mode (scanner_identifier); dm->mode = pm; switch (pm) /* LCOV_EXCL_BR_LINE */ { case MODE_TRANSPOSE: case MODE_NOOP: case MODE_REVERSE: break; case MODE_TABULAR_CHECK: parse_mode_check (); break; case MODE_REMOVE_DUPS: parse_mode_column_list (pm); break; case MODE_CROSSTAB: parse_mode_column_list (pm); if (dm->num_grps!=2) die (EXIT_FAILURE,0, _("crosstab requires exactly 2 fields, " \ "found %"PRIuMAX), (uintmax_t)dm->num_grps); /* if the user didn't specify an operation, print counts */ parse_operations (pm); if (dm->num_ops==0) { const uintmax_t grp_col = dm->grps[0].num; struct parser_field_t dummy = { grp_col, /* uintmax_t num; */ dm->grps[0].by_name, /* bool by_name; */ dm->grps[0].name, /* char* name; */ false, /* bool range; */ false /* bool pair; */ }; add_op (OP_COUNT, &dummy); } else if (dm->num_ops>1) { die (EXIT_FAILURE,0, _("crosstab supports one operation, " \ "found %"PRIuMAX), (uintmax_t)dm->num_ops); } break; case MODE_GROUPBY: parse_mode_column_list (pm); parse_operations (pm); if (dm->num_ops==0) die (EXIT_FAILURE,0, _("missing operation")); break; case MODE_PER_LINE: /* LCOV_EXCL_LINE */ internal_error ("line mode used directly"); /* LCOV_EXCL_LINE */ break; case MODE_INVALID: /* LCOV_EXCL_LINE */ default: /* LCOV_EXCL_LINE */ internal_error ("wrong opmode"); /* LCOV_EXCL_LINE */ break; } if (scanner_peek_token ()!=TOK_END) die (EXIT_FAILURE,0,_("extra operand %s"), quote (scanner_identifier)); } static void parse_mode_or_op () { enum TOKEN tok = scanner_peek_token (); assert ( tok != TOK_END ); /* LCOV_EXCL_LINE */ enum processing_mode pm = get_processing_mode (scanner_identifier); if (pm != MODE_INVALID) { parse_mode (); return ; } enum field_operation fop = get_field_operation (scanner_identifier, &pm); if (fop!=OP_INVALID) { dm->mode = pm; parse_operations (pm); return ; } die (EXIT_FAILURE,0, _("invalid operation %s"), quote (scanner_identifier)); } struct datamash_ops* datamash_ops_parse ( int argc, const char* argv[] ) { _alloc_ops (); scanner_set_input_from_argv (argc, argv); parse_mode_or_op (); scanner_free (); return dm; } struct datamash_ops* datamash_ops_parse_premode ( enum processing_mode pm, const char* grouping, int argc, const char* argv[] ) { _alloc_ops (); assert (argc > 0); /* LCOV_EXCL_LINE */ assert (pm == MODE_GROUPBY); /* LCOV_EXCL_LINE */ dm->mode = pm; scanner_set_input_from_argv (1, &grouping); parse_mode_column_list (pm); scanner_free (); scanner_set_input_from_argv (argc, argv); parse_operations (pm); scanner_free (); return dm; } void datamash_ops_free ( struct datamash_ops* p ) { assert (p != NULL); /* LCOV_EXCL_LINE */ for (size_t i=0; inum_grps; ++i) free (p->grps[i].name); free (p->grps); p->grps = NULL; #ifndef _STANDALONE_ for (size_t i=0; inum_ops; ++i) field_op_free (&p->ops[i]); #endif free (p->ops); p->ops = NULL; for (size_t i=0; i<_fields_used; ++i) { free (_fields[i].name); } free (_fields); _fields = NULL; _fields_alloc = 0; _fields_used = 0; free (_params); _params_alloc = 0; _params_used = 0; free (p); } #ifdef PARSER_TEST_MAIN /* Trivial parser tester. To compile: cc -D_STANDALONE_ -DPARSER_TEST_MAIN \ -I. \ -std=c99 -Wall -Wextra -Werror -g -O0 \ -o dm-parser \ op-parser.c op-scanner.c op-defs.c Test: ./dm-parser groupby 1,4 sum 4-5,foo */ void datamash_ops_debug_print ( const struct datamash_ops* p ) { assert (p != NULL ); printf ("datamash_ops =\n processing_mode = %s\n header_required = %d\n", get_processing_mode_name (p->mode), (int)p->header_required); if (p->num_grps==0) puts (" no grouping specified"); for (size_t i=0; inum_grps; ++i) { const struct group_column_t *tmp = &p->grps[i]; if (tmp->by_name) printf (" group-by named column '%s'\n",tmp->name); else printf (" group-by numeric column %zu\n",tmp->num); } for (size_t i=0; inum_ops; ++i) { struct fieldop *o = &p->ops[i]; if (o->field_by_name) printf (" operation '%s' on named column '%s'", get_field_operation_name (o->op), o->field_name); else printf (" operation '%s' on numeric column %zu", get_field_operation_name (o->op), o->field); if (o->master) printf (" (master)"); if (o->slave) printf (" (slave)"); printf ( "\n"); } } #define TESTMAIN main int TESTMAIN (int argc, const char* argv[]) { if (argc<2) die (EXIT_FAILURE, 0, _("missing script (among arguments)")); struct datamash_ops *o = datamash_ops_parse (argc-1, argv+1); datamash_ops_debug_print ( o ); datamash_ops_free (o); return 0; } #endif /* vim: set cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1: */ /* vim: set shiftwidth=2: */ /* vim: set tabstop=2: */ /* vim: set expandtab: */ datamash-1.9/src/op-parser.h0000644000000000000000000000622414771573715011471 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __OP_PARSER_H__ #define __OP_PARSER_H__ struct group_column_t { size_t num; /* 1 = first field */ bool by_name; /* true if the user gave a column name */ char* name; /* column name - to be converted to number after header line is read */ }; struct op_column_t { size_t num; /* 1 = first field */ bool by_name; /* true if the user gave a column name */ char* name; /* column name - to be converted to number after header line is read */ enum field_operation op; }; struct mode_check_params_t { uintmax_t n_lines; /* If not zero, require this number of lines */ uintmax_t n_fields; /* if not zero, require this number of fields */ }; struct datamash_ops { enum processing_mode mode; /* the processing mode */ bool header_required; /* true if any of the fields (groups/operations) used a named column instead of a number. */ struct group_column_t *grps; /* group-by columns */ size_t num_grps; size_t alloc_grps; struct fieldop *ops; /* field operations */ size_t num_ops; size_t alloc_ops; /* Additional parameters for mode operatons (i.e. ones relating to the operation mode, not to specific field-ops) */ union { struct mode_check_params_t check_params; } mode_params; }; /* Parse the operations, return new datamash_ops structure. This function assumes new syntax: 1. The first word is either a mode (e.g. transpose/groupby/reverse) or an operation (e.g. sum/min/max) - implying a 'group-by' mode. 2. The rest of the parameters are operations. */ struct datamash_ops* datamash_ops_parse ( int argc, const char* argv[] ); /* Parse the operations, return new datamash_ops structure. This function assumes old syntax: The user already specified "-g X,Y,Z" - the processing mode is known, and the grouping text 'X,Y,Z' is known. The function will only accept operations (e.g. sum/min/max). */ struct datamash_ops* datamash_ops_parse_premode ( enum processing_mode pm, const char* grouping_spec, int argc, const char* argv[] ); void datamash_ops_debug_print ( const struct datamash_ops* p ); void datamash_ops_free (struct datamash_ops *p); #endif datamash-1.9/src/op-scanner.c0000644000000000000000000001446714771573715011631 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include #include #include #include #include #include "system.h" #include "die.h" #include "op-scanner.h" /* Used by other modules */ uintmax_t scan_val_int; long double scan_val_float; char* scanner_identifier; bool scanner_keep_whitespace = false; /* Internal */ static char* scanner_input; static char* scan_pos; static size_t scanner_identifier_len; static bool have_peek; static enum TOKEN scan_peek; static inline void set_identifier (const char* data, size_t n) { if (n>=scanner_identifier_len) { scanner_identifier = xrealloc (scanner_identifier,n+1); scanner_identifier_len = n+1; } memcpy (scanner_identifier, data, n); scanner_identifier[n]=0; } /* Concatenate argv into one (space separated) string */ void scanner_set_input_from_argv (int argc, const char* argv[]) { assert (scanner_input == NULL); /* LCOV_EXCL_LINE */ size_t len = 1; /* +1 for NUL */ for (int i=0;i0) p = stpcpy (p, " "); p = stpcpy (p, argv[i]); } } void scanner_free () { free (scanner_identifier); scanner_identifier = NULL; scanner_identifier_len = 0; free (scanner_input); scanner_input = NULL; scan_pos = NULL; have_peek = false; } enum TOKEN scanner_peek_token () { if (have_peek) return scan_peek; scan_peek = scanner_get_token (); have_peek = true; return scan_peek; } enum TOKEN scanner_get_token () { char ident[MAX_IDENTIFIER_LENGTH]; char *pend; if (have_peek) { have_peek = false; return scan_peek; } assert (scan_pos != NULL); /* LCOV_EXCL_LINE */ if (*scan_pos == '\0') return TOK_END; /* White space */ if (c_isspace (*scan_pos)) { while ( c_isspace (*scan_pos) ) ++scan_pos; if (scanner_keep_whitespace) { if (*scan_pos == '\0') return TOK_END; return TOK_WHITESPACE; } } /* special characters */ if (*scan_pos == ',') { ++scan_pos; set_identifier (",", 1); return TOK_COMMA; } if (*scan_pos == '-') { ++scan_pos; set_identifier ("-", 1); return TOK_DASH; } if (*scan_pos == ':') { ++scan_pos; set_identifier (":", 1); return TOK_COLONS; } /* Integer or floating-point value */ if (c_isdigit (*scan_pos)) { enum TOKEN rc = TOK_INTEGER; errno = 0; scan_val_int = strtol (scan_pos, &pend, 10); if (*pend == '.') { /* a floating-point value */ scan_val_float = strtold (scan_pos, &pend); rc = TOK_FLOAT; } if ((c_isalpha (*pend) || *pend=='_') || (errno == ERANGE)) die (EXIT_FAILURE, 0, _("invalid numeric value '%s'"), scan_pos); set_identifier (scan_pos, pend-scan_pos); scan_pos = pend; return rc; } /* a valid identifier ( [a-z_][a-z0-9_]+ ), also backslash-CHAR is accepted as part of the identifier, to allow dash, colons, */ if (c_isalpha (*scan_pos) || *scan_pos == '_' || *scan_pos == '\\') { int len = 0; char *v = scan_pos; while (1) { if (c_isalpha (*v) || c_isdigit (*v) || *v=='_' ) { // Accept charracter } else if (*v == '\\') { ++v; if (!*v) die (EXIT_FAILURE, 0, _("backslash at end of identifier")); // Accept following character } else break; if (len >= (MAX_IDENTIFIER_LENGTH-1)) die (EXIT_FAILURE, 0, _("identifier name too long")); ident[len++] = *v; ++v; } ident[len] = '\0'; set_identifier (ident, len); scan_pos = v; return TOK_IDENTIFIER; } die (EXIT_FAILURE, 0, _("invalid operand %s"), quote (scan_pos)); return TOK_END; } #ifdef SCANNER_TEST_MAIN /* Trivial scanner tester. To compile: cc -D_STANDALONE_ -DSCANNER_TEST_MAIN \ -I. \ -std=c99 -Wall -Wextra -Werror -g -O0 \ -o dm-scanner ./src/op-scanner.c Test: ./dm-scanner groupby 1,2 sum 4-7 ./dm-scanner ppearson 1:6 ./dm-scanner foo bar 9.5f */ #define TESTMAIN main int TESTMAIN (int argc, const char* argv[]) { if (argc<2) die (EXIT_FAILURE, 0, _("missing script (among arguments)")); scanner_set_input_from_argv (argc-1, argv+1); enum TOKEN tok; while ( (tok = scanner_get_token ()) != TOK_END ) { switch (tok) { case TOK_IDENTIFIER: printf ("TOK_IDENTIFIER: '%s'\n", scanner_identifier); break; case TOK_INTEGER: printf ("TOK_INTEGER: %lu ('%s')\n", scan_val_int, scanner_identifier); break; case TOK_FLOAT: printf ("TOK_FLOAT: %Lf ('%s')\n", scan_val_float, scanner_identifier); break; case TOK_COMMA: printf ("TOK_COMMA\n"); break; case TOK_DASH: printf ("TOK_DASH\n"); break; case TOK_COLONS: printf ("TOK_COLONS\n"); break; default: die (EXIT_FAILURE, 0 ,_("unknown token %d\n"),tok); } } return 0; } #endif /* vim: set cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1: */ /* vim: set shiftwidth=2: */ /* vim: set tabstop=2: */ /* vim: set expandtab: */ datamash-1.9/src/op-scanner.h0000644000000000000000000000307014771573715011622 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __OP_SCANNER_H__ #define __OP_SCANNER_H__ #define MAX_IDENTIFIER_LENGTH 512 enum TOKEN { TOK_END=0, TOK_IDENTIFIER, TOK_INTEGER, TOK_FLOAT, TOK_COMMA, TOK_DASH, TOK_COLONS, TOK_WHITESPACE }; extern uintmax_t scan_val_int; extern long double scan_val_float; extern char* scanner_identifier; extern bool scanner_keep_whitespace; /* Initialize the scanner from argc/argv pair. note: argv should contain only the actual input: remove any other program parameters (including progname/argv[0]) */ void scanner_set_input_from_argv (int argc, const char* argv[]); /* Free any data/memory associated with the scanner */ void scanner_free (); enum TOKEN scanner_get_token (); enum TOKEN scanner_peek_token (); #endif datamash-1.9/src/randutils.c0000644000000000000000000000253114771573715011556 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ #include #include #include #include #include #include #include #include #include "randutils.h" void init_random (bool force_seed, unsigned long seed) { if (!force_seed) { errno = 0; ssize_t nbytes = getrandom (&seed, sizeof (seed), 0); if (nbytes == -1 || errno != 0) { fprintf (stderr, "Error %d: %s\n", errno, strerror (errno)); } } srandom (seed); } datamash-1.9/src/randutils.h0000644000000000000000000000200114771573715011553 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Tim Rice */ #ifndef __RANDUTILS_H__ #define __RANDUTILS_H__ # include /* Initialize random number source */ void init_random (bool force_seed, unsigned long seed); #endif // __RANDUTILS_H__ datamash-1.9/src/system.h0000644000000000000000000001565714771575160011113 /* system.h: system-dependent declarations. Common definitions, copied from coreutils' src/system.h . The original Copyright is below: system-dependent definitions for coreutils Copyright (C) 1989-2013 Free Software Foundation, Inc. Modifications for GNU Datamash are Copyright (C) 2014-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice 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 . */ #ifndef __DATAMASH__SYSTEM_H__ #define __DATAMASH__SYSTEM_H__ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef _STANDALONE_ /* compiling 'standalone' (bypassing gnulib) - add (unsafe) stubs */ # define quote(x) (x) # define xrealloc(x,n) realloc (x,n) # define xrealloc(x,n) realloc (x,n) # define XCALLOC(n,t) calloc (n,sizeof (t)) # define XZALLOC(t) calloc (1,sizeof (t)) # define xstrdup(c) strdup (c) static inline void* x2nrealloc (void *p, size_t *pn, size_t s) { size_t n = (*pn==0)?1000:( (*pn)*2 ); if (!p) { n = 1000 ; } *pn = n; return realloc (p, n*s); } # define _(x) (x) # define N_(x) (x) # include # define error(x,y,z,...) errx(x,z,##__VA_ARGS__) # define program_name "datamash" # define c_isalpha(c) isalpha((int)c) # define c_isspace(c) isspace((int)c) # define c_isdigit(c) isdigit((int)c) #else /* !_STANDALONE_ */ # include "xalloc.h" # include "c-ctype.h" # include "quote.h" /* Take care of NLS matters. */ #include "gettext.h" #if ! ENABLE_NLS # undef textdomain # define textdomain(Domainname) /* empty */ # undef bindtextdomain # define bindtextdomain(Domainname, Dirname) /* empty */ #endif #define _(msgid) gettext (msgid) #define N_(msgid) msgid /* Define away proper_name (leaving proper_name_utf8, which affects far fewer programs), since it's not worth the cost of adding ~17KB to the x86_64 text size of every single program. This avoids a 40% (almost ~2MB) increase in the on-disk space utilization for the set of the 100 binaries. */ #define proper_name(x) (x) #include "progname.h" #endif /* !_STANDALONE_ */ #define STREQ(a, b) (strcmp (a, b) == 0) #define STREQ_LEN(a, b, n) (strncmp (a, b, n) == 0) #define STRPREFIX(a, b) (strncmp(a, b, strlen (b)) == 0) #define case_GETOPT_VERSION_CHAR(Program_name, Authors) \ case GETOPT_VERSION_CHAR: \ version_etc (stdout, Program_name, PACKAGE_NAME, Version, Authors, \ (char *) NULL); \ exit (EXIT_SUCCESS); \ break; /* Factor out some of the common --help and --version processing code. */ enum { GETOPT_HELP_CHAR = 'h', GETOPT_VERSION_CHAR = 'V' }; #define GETOPT_HELP_OPTION_DECL \ "help", no_argument, NULL, GETOPT_HELP_CHAR #define GETOPT_VERSION_OPTION_DECL \ "version", no_argument, NULL, GETOPT_VERSION_CHAR #define case_GETOPT_HELP_CHAR \ case GETOPT_HELP_CHAR: \ usage (EXIT_SUCCESS); \ break; #define HELP_OPTION_DESCRIPTION \ _(" -h, --help display this help and exit\n") #define VERSION_OPTION_DESCRIPTION \ _(" -V, --version output version information and exit\n") static inline void emit_try_help (void) { fprintf (stderr, _("Try '%s --help' for more information.\n"), program_name); } #ifndef ATTRIBUTE_NORETURN # define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) #endif /* Convert a possibly-signed character to an unsigned character. This is a bit safer than casting to unsigned char, since it catches some type errors that the cast doesn't. */ static inline unsigned char to_uchar (char ch) { return ch; } #ifndef MAX # define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif #ifndef MIN # define MIN(a,b) (((a) < (b)) ? (a) : (b)) #endif /* Use this to suppress gcc's '...may be used before initialized' warnings. */ #ifdef lint # define IF_LINT(Code) Code #else # define IF_LINT(Code) /* empty */ #endif /* ISDIGIT differs from isdigit, as follows: - Its arg may be any int or unsigned int; it need not be an unsigned char or EOF. - It's typically faster. POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to isdigit unless it's important to use the locale's definition of 'digit' even when the host does not conform to POSIX. */ #define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9) /* Return a value that pluralizes the same way that N does, in all languages we know of. */ static inline unsigned long int select_plural (uintmax_t n) { /* Reduce by a power of ten, but keep it away from zero. The gettext manual says 1000000 should be safe. */ enum { PLURAL_REDUCER = 1000000 }; return (n <= ULONG_MAX ? n : n % PLURAL_REDUCER + PLURAL_REDUCER); } #define __STRX__(x) #x #define __STR__(x) __STRX__(x) #define __STR_LINE__ __STR__(__LINE__) #define internal_error(x) assert(!#x) /* How coreutils quotes filenames, to minimize use of outer quotes, but also provide better support for copy and paste when used. */ #include "quotearg.h" /* Use these to shell quote only when necessary, when the quoted item is already delimited with colons. */ #define quotef(arg) \ quotearg_n_style_colon (0, shell_escape_quoting_style, arg) #define quotef_n(n, arg) \ quotearg_n_style_colon (n, shell_escape_quoting_style, arg) /* Use these when there are spaces around the file name, in the error message. */ #define quoteaf(arg) \ quotearg_style (shell_escape_always_quoting_style, arg) #define quoteaf_n(n, arg) \ quotearg_n_style (n, shell_escape_always_quoting_style, arg) #ifndef FALLTHROUGH # if __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) # endif #endif /* Exit statuses. */ enum { /* POSIX says to exit with status 1 if invoked with -c and the input is not properly sorted. */ SORT_OUT_OF_ORDER = 1, /* POSIX says any other irregular exit must exit with a status code greater than 1. */ SORT_FAILURE = 2 }; static inline void openbsd_pledge () { #ifdef HAVE_PLEDGE /* On OpenBSD, use pledge (2) to limit privileges */ pledge ("stdio proc exec rpath", NULL); #endif } #endif /* __DATAMASH__SYSTEM_H__ */ datamash-1.9/src/text-lines.c0000644000000000000000000002166314771573715011654 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include "system.h" #ifndef MAX #include "minmax.h" #endif #include "linebuffer.h" #include "xalloc.h" #include "text-options.h" #include "text-lines.h" #include "die.h" void line_record_init (struct line_record_t* lr) { initbuffer (&lr->lbuf); lr->alloc_fields = 10 ; lr->num_fields = 0; lr->fields = XNMALLOC (lr->alloc_fields, struct field_record_t); } #if 0 static void line_record_debug_print_fields (const struct line_record_t *lr) { fputs ("line_record_t = {\n",stderr); fprintf (stderr, " linebuffer.length = %zu\n", lr->lbuf.length); fputs (" linebuffer.buffer = '",stderr); fwrite (lr->lbuf.buffer,lr->lbuf.length,sizeof (char),stderr); fputs ("'\n",stderr); fprintf (stderr, " num_fields = %zu\n", lr->num_fields); fprintf (stderr, " alloc_fields = %zu\n", lr->alloc_fields); for (size_t i=0; inum_fields; ++i) { fprintf (stderr, " field[%zu] = '", i); fwrite (lr->fields[i].buf,lr->fields[i].len,sizeof (char),stderr); fprintf (stderr, "' (len = %zu)\n", lr->fields[i].len); } fputs ("}\n", stderr); } #endif /* Force NUL-termination of the string in the linebuffer struct. gnulib's readlinebuffer_delim () ALWAYS adds a delimiter to the buffer. Change the delimiter into a NUL. */ static void linebuffer_nullify (struct linebuffer *line) { assert (line->length > 0); /* LCOV_EXCL_LINE */ line->buffer[line->length-1] = 0; /* make it NUL terminated */ --line->length; } static inline void line_record_reserve_fields (struct line_record_t* lr, const size_t n) { if (lr->alloc_fields <= n) { lr->alloc_fields = MAX (n,lr->alloc_fields)*2; lr->fields = xnrealloc (lr->fields, lr->alloc_fields, sizeof (struct field_record_t)); } } static void line_record_parse_fields (/* The buffer. May or may not be the one in the following argument */ const struct linebuffer* lbuf, /* Used ONLY for the fields. The buffer is picked up from the above argument */ struct line_record_t *lr, int field_delim, bool ignore_trailing_comments, bool ignore_trailing_whitespace) { size_t num_fields = 0; size_t pos = 0; const size_t buflen = lbuf->length; const char* fptr = lbuf->buffer; #define IS_TRAILING_COMMENT \ (ignore_trailing_comments && (*fptr == '#')) /* Move 'fptr' to point to the beginning of 'field' */ if (field_delim != TAB_WHITESPACE) { while (buflen && pos<=buflen && !IS_TRAILING_COMMENT) { /* scan buffer until next delimiter */ const char* field_beg = fptr; while (posfields[num_fields].buf = field_beg; lr->fields[num_fields].len = fptr - field_beg; ++num_fields; if (IS_TRAILING_COMMENT) pos = buflen; /* Skip the delimiter */ ++pos; ++fptr; } lr->num_fields = num_fields; } else { /* delimiter is white-space transition (multiple whitespaces are one delimiter) */ while (pos 0) { line_record_reserve_fields (lr, num_fields); lr->fields[num_fields].buf = field_beg; lr->fields[num_fields].len = flen; ++num_fields; } } lr->num_fields = num_fields; } } static bool line_record_is_comment (const struct line_record_t* lr) { const char* pch = line_record_buffer (lr); /* Skip white space at beginning of line */ size_t s = strspn (pch, " \t"); /* First non-whitespace character */ char c = pch[s]; return (c=='#' || c==';'); } /* returns 0 if not a comment, 1 if a single comment, 2 if a double comment or if the line only contains whitespace or is empty. Used only for vnlog processing */ static int line_leading_comment_count (const struct line_record_t* lr) { const char* pch = line_record_buffer (lr); /* Skip white space at beginning of line */ size_t s = strspn (pch, " \t"); /* First non-whitespace character */ const char* c = &pch[s]; /* empty line? */ if (c[0] == '\0') return 2; /* not a comment? */ if (c[0] != '#') return 0; /* Have at least a single comment */ if (c[1] == '#' || c[1] == '!') return 2; else return 1; } bool line_record_fread (struct /* in/out */ line_record_t *lr, FILE *stream, char delimiter, bool skip_comments, bool vnlog_prologue) { while (1) { if (readlinebuffer_delim (&lr->lbuf, stream, delimiter) == 0) return false; linebuffer_nullify (&lr->lbuf); if (vnlog) { if (vnlog_prologue) { /* Validate and process single-commented vnlog header. Skip double-comments and empty lines. */ int leading_comment_count = line_leading_comment_count (lr); if (leading_comment_count >= 2) continue; if (leading_comment_count == 1) { /* Strip the comment characters. Skip leading regex '^\s*#\s*' */ const char* pch = line_record_buffer (lr); size_t s = strspn (pch, " \t"); s += strspn (pch + s, "#"); s += strspn (pch + s, " \t"); struct linebuffer lbuf = lr->lbuf; lbuf.buffer += s; lbuf.length -= s; if (lbuf.buffer[0] == '\0') /* Ignore empty comment line. */ continue; line_record_parse_fields (&lbuf, lr, in_tab, // do NOT ignore comments. We're // parsing the prologue false, // ignore trailing whitespace true ); return true; } die (EXIT_FAILURE, 0, _("invalid vnlog data: received record before header: '%s'"), line_record_buffer (lr)); } /* vnlog data. Skip comments and empty lines */ const char* pch = line_record_buffer (lr); size_t s = strspn (pch, " \t"); char c = pch[s]; if (c=='#' || c=='\0') continue; break; } if (skip_comments && line_record_is_comment (lr)) continue; break; } line_record_parse_fields (&lr->lbuf, lr, in_tab, /* Ignore trailing comments only if --vnlog */ vnlog && skip_comments, /* ignore trailing whitespace only if --vnlog */ vnlog); return true; } void line_record_free (struct line_record_t* lr) { freebuffer (&lr->lbuf); lr->lbuf.buffer = NULL; free (lr->fields); lr->fields = NULL; lr->alloc_fields = 0; lr->num_fields = 0; } datamash-1.9/src/text-lines.h0000644000000000000000000000454314771573715011657 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __TEXT_LINES_H__ #define __TEXT_LINES_H__ struct field_record_t { size_t len; const char* buf; }; struct line_record_t { /* buffer of the entire line, as created with gnulib's readlinbuffer_delim */ struct linebuffer lbuf; /* array of fields. Each valid field is a pointer to 'lbuf' */ struct field_record_t *fields; size_t num_fields; /* number of fields in this line */ size_t alloc_fields; /* number of fields allocated */ }; static inline size_t line_record_length (const struct line_record_t *lr) { return lr->lbuf.length; } static inline const char* line_record_buffer (const struct line_record_t *lr) { return lr->lbuf.buffer; } static inline size_t line_record_num_fields (const struct line_record_t *lr) { return lr->num_fields; } static inline const struct field_record_t* line_record_field_unsafe (const struct line_record_t *lr, const size_t n) { return &lr->fields[n-1]; } static inline bool line_record_get_field (const struct line_record_t *lr, const size_t n, const char ** /* out */ pptr, size_t* /*out*/ plen) { assert (n!=0); /* LCOV_EXCL_LINE */ if (line_record_num_fields (lr) < n) return false; *pptr = lr->fields[n-1].buf; *plen = lr->fields[n-1].len; return true; } void line_record_init (struct line_record_t* lr); bool line_record_fread (struct /* in/out */ line_record_t* lr, FILE *stream, char delimiter, bool skip_comments, bool vnlog_prologue); void line_record_free (struct line_record_t* lr); #endif datamash-1.9/src/text-options.c0000644000000000000000000000731214771573715012230 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include "system.h" #include "die.h" #include "double-format.h" #include "text-options.h" /* The character marking end of line. Default to \n. */ char eolchar = '\n'; /* Tab character separating fields. If TAB_WHITESPACE, then fields are separated by the empty string between a non-blank character and a blank character. */ int in_tab = '\t'; int out_tab= '\t'; /* Global case-sensitivity option. Defaults to 'true' . */ bool case_sensitive = true; /* In the future: allow users to change this */ char numeric_output_format[MAX_NUMERIC_FORMAT_LEN + 1] = "%.14Lg"; /* number of bytes to allocate for output buffer */ int numeric_output_bufsize = 200; /* The character used to separate collapsed/uniqued strings */ char collapse_separator = ','; /* Should NA/NaN/empty values be silengtly ignored? */ bool remove_na_values = false; /* if true, 'transpose' and 'reverse' require every line to have the exact same number of fields. Otherwise, the program will fail with non-zero exit code. */ bool strict = true; /* if 'strict' is false, lines with fewer-than-expected fields will be filled with this value */ const char* missing_field_filler = "N/A"; /* if true, skip comments line (lines starting with optional whitespace followed by '#' or ';'. See line_record_is_comment. */ bool skip_comments = false; bool vnlog = false; #define UCHAR_LIM (UCHAR_MAX + 1) bool blanks[UCHAR_LIM]; void init_blank_table (void) { size_t i; for (i = 0; i < UCHAR_LIM; ++i) { blanks[i] = !! isblank (i); } } /* Force generation of these inline'd symbols, needed to avoid "undefined reference" when compiling with coverage instrumentation. See: http://stackoverflow.com/a/16245669 */ void print_field_separator (); void print_line_separator (); /* Calculate the required size of the output buffer */ static void finalize_numeric_output_buffer () { char c; long double d = LDBL_MAX; int n = snprintf (&c, 1, numeric_output_format, d); numeric_output_bufsize = n + 100 ; } void set_numeric_output_precision (const char* digits) { long int l; char *p; if (digits == NULL || digits[0] == '\0') die (EXIT_FAILURE, 0, _("missing rounding digits value")); errno = 0; l = strtol (digits, &p, 10); if (errno != 0 || *p != '\0' || l <=0 || l> 50) die (EXIT_FAILURE, 0, _("invalid rounding digits value %s"), quote (digits)); snprintf (numeric_output_format, sizeof (numeric_output_format), "%%.%dLf", (int)l); finalize_numeric_output_buffer (); } void set_numeric_printf_format (const char* format) { char *new_format = validate_double_format (format); snprintf (numeric_output_format, sizeof (numeric_output_format), "%s", new_format); free (new_format); finalize_numeric_output_buffer (); } datamash-1.9/src/text-options.h0000644000000000000000000000544114771573715012236 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #ifndef __TEXT_OPTIONS_H__ #define __TEXT_OPTIONS_H__ /* Text Processing options, used by several modules. */ /* The character marking end of line. Default to \n. */ extern char eolchar; /* If TAB has this value, blanks separate fields. */ enum { TAB_WHITESPACE = CHAR_MAX + 1 }; /* Tab character separating fields. If TAB_WHITESPACE, then fields are separated by the empty string between a non-blank character and a blank character. */ extern int in_tab ; /* The output field separator character, defaults to a TAB (ASCII 9) */ extern int out_tab ; /* Global case-sensitivity option. Defaults to 'true' . */ extern bool case_sensitive ; /* Largest possible format string */ #define MAX_NUMERIC_FORMAT_LEN 100 /* Numeric output format (default: "%.14Lg" */ extern char numeric_output_format[MAX_NUMERIC_FORMAT_LEN + 1]; /* number of bytes to allocate for output buffer */ extern int numeric_output_bufsize; /* The character used to separate collapsed/uniqued strings */ extern char collapse_separator; /* Should NA/NaN/empty values be silengtly ignored? */ extern bool remove_na_values; /* if true, 'transpose' and 'reverse' require every line to have the exact same number of fields. Otherwise, the program will fail with non-zero exit code. */ extern bool strict; /* if 'strict' is false, lines with fewer-than-expected fields will be filled with this value */ extern const char* missing_field_filler; /* if true, skip comments line (lines starting with optional whitespace followed by '#' or ';'. See line_record_is_comment. */ extern bool skip_comments; extern bool vnlog; #define UCHAR_LIM (UCHAR_MAX + 1) extern bool blanks[UCHAR_LIM]; /* Initializes the 'blanks' table. */ void init_blank_table (void); static inline void print_field_separator () { putchar (out_tab); } static inline void print_line_separator () { putchar (eolchar); } void set_numeric_output_precision (const char* digits); void set_numeric_printf_format (const char* format); #endif datamash-1.9/src/utils.c0000644000000000000000000003663714771573715010727 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon */ #include #include #include #include #include #include #include #include #include #include "system.h" #include "xalloc.h" #include "size_max.h" #include "utils.h" bool _GL_ATTRIBUTE_PURE is_na (const char* value, const size_t len) { assert (value != NULL); /* LCOV_EXCL_LINE */ return (len==2 && (strncasecmp (value,"NA",2)==0)) || (len==3 && (strncasecmp (value,"N/A",3)==0)) || (len==3 && (strncasecmp (value,"NAN",3)==0)); } /* Compare two flowting-point variables, while avoiding '==' . see: http://www.gnu.org/software/libc/manual/html_node/Comparison-Functions.html */ int _GL_ATTRIBUTE_PURE cmp_long_double (const void *p1, const void *p2) { const long double *a = (const long double *)p1; const long double *b = (const long double *)p2; return ( *a > *b ) - (*a < *b); } long double _GL_ATTRIBUTE_PURE median_value (const long double * const values, size_t n) { #if 0 return percentile_value (values, n, 2.0/4.0); #else /* Equivalent to the above, but slightly faster */ return (n&0x01) ?values[n/2] :( (values[n/2-1] + values[n/2]) / 2.0 ); #endif } /* This implementation follows R's summary () and quantile (type=7) functions. See discussion here: http://tolstoy.newcastle.edu.au/R/e17/help/att-1067/Quartiles_in_R.pdf */ long double _GL_ATTRIBUTE_PURE percentile_value (const long double * const values, const size_t n, const double percentile) { const double h = ( (n-1) * percentile ) ; const size_t fh = floor (h); /* Error in the calling parameters, should not happen */ assert (n>0 && percentile>=0.0 && percentile<=100.0); /* LCOV_EXCL_LINE */ if (n==1) return values[0]; return values[fh] + (h-fh) * ( values[fh+1] - values[fh] ) ; } /* Given a sorted array of doubles, return the MAD value (median absolute deviation), with scale constant 'scale' */ long double _GL_ATTRIBUTE_PURE mad_value (const long double * const values, size_t n, double scale) { const long double median = median_value (values,n); long double *mads = xnmalloc (n,sizeof (long double)); long double mad = 0 ; for (size_t i=0; i=0); /* LCOV_EXCL_LINE */ if ( (size_t)df == n ) return nanl (""); mean = arithmetic_mean_value (values, n); sum = 0 ; for (size_t i = 0; i < n; i++) sum += (values[i] - mean) * (values[i] - mean); variance = sum / ( n - df ); return variance; } long double _GL_ATTRIBUTE_PURE covariance_value ( const long double * const valuesA, const long double * const valuesB, size_t n, int df ) { long double sum=0; long double meanA, meanB; long double covariance; assert (df>=0); /* LCOV_EXCL_LINE */ if ( (size_t)df == n ) return nanl (""); meanA = arithmetic_mean_value (valuesA, n); meanB = arithmetic_mean_value (valuesB, n); sum = 0 ; for (size_t i = 0; i < n; i++) sum += (valuesA[i] - meanA) * (valuesB[i] - meanB); covariance = sum / ( n - df ); return covariance; } long double pearson_corr_value ( const long double * const valuesA, const long double * const valuesB, size_t n, int df) { long double meanA, meanB, sumA=0, sumB=0, sumCo=0; long double sdA, sdB; long double covariance; long double cor; assert (df>=0); /* LCOV_EXCL_LINE */ if ( (size_t)df == n ) return nanl (""); meanA = arithmetic_mean_value (valuesA, n); meanB = arithmetic_mean_value (valuesB, n); for (size_t i = 0; i < n; i++) { const long double a = (valuesA[i] - meanA); const long double b = (valuesB[i] - meanB); sumA += a*a; sumB += b*b; sumCo += a*b; } covariance = sumCo/(n-df); sdA = sqrtl (sumA/(n-df)); sdB = sqrtl (sumB/(n-df)); cor = covariance / ( sdA * sdB ); return cor; } long double _GL_ATTRIBUTE_PURE dot_product_value ( const long double * const valuesA, const long double * const valuesB, size_t n ) { long double sum=0; for (size_t i = 0; i < n; i++) sum += valuesA[i] * valuesB[i]; return sum; } long double stdev_value (const long double * const values, size_t n, int df) { return sqrtl ( variance_value ( values, n, df ) ); } /* Given an array of doubles, return the skewness 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double skewness_value (const long double * const values, size_t n, int df) { long double moment2=0; long double moment3=0; long double mean; long double skewness; if (n<=1) return nanl (""); mean = arithmetic_mean_value (values, n); for (size_t i = 0; i < n; i++) { const long double t = (values[i] - mean); moment2 += t*t; moment3 += t*t*t; } moment2 /= n; moment3 /= n; /* can't use 'powl (moment2,3.0/2.0)' - not all systems have powl */ skewness = moment3 / sqrtl (moment2*moment2*moment2); if ( df == DF_SAMPLE ) { if (n<=2) return nanl (""); skewness = ( sqrtl (n*(n-1)) / (n-2) ) * skewness; } return skewness; } /* Standard error of skewness (SES), given the sample size 'n' */ long double SES_value (size_t n) { if (n<=2) return nanl (""); return sqrtl ( (long double)(6.0*n*(n-1)) / ((long double)(n-2)*(n+1)*(n+3)) ); } /* Skewness Test statistics Z = ( sample skewness / SES ) */ long double skewnessZ_value (const long double * const values, size_t n) { const long double skew = skewness_value (values,n,DF_SAMPLE); const long double SES = SES_value (n); if (isnan (skew) || isnan (SES) ) return nanl (""); return skew/SES; } /* Given an array of doubles, return the excess kurtosis 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double _GL_ATTRIBUTE_PURE excess_kurtosis_value (const long double * const values, size_t n, int df) { long double moment2=0; long double moment4=0; long double mean; long double excess_kurtosis; if (n<=1) return nanl (""); mean = arithmetic_mean_value (values, n); for (size_t i = 0; i < n; i++) { const long double t = (values[i] - mean); moment2 += t*t; moment4 += t*t*t*t; } moment2 /= n; moment4 /= n; excess_kurtosis = moment4 / (moment2*moment2) - 3; if ( df == DF_SAMPLE ) { if (n<=3) return nanl (""); excess_kurtosis = ( ((long double)n-1) / (((long double)n-2)*((long double)n-3)) ) * ( (n+1)*excess_kurtosis + 6 ) ; } return excess_kurtosis; } /* Standard error of kurtisos (SEK), given the sample size 'n' */ long double SEK_value (size_t n) { const long double ses = SES_value (n); if (n<=3) return nanl (""); return 2 * ses * sqrtl ( (long double)(n*n-1) / ((long double)((n-3)*(n+5))) ); } /* Kurtosis Test statistics Z = ( sample kurtosis / SEK ) */ long double kurtosisZ_value (const long double * const values, size_t n) { const long double kurt = excess_kurtosis_value (values,n,DF_SAMPLE); const long double SEK = SEK_value (n); if (isnan (kurt) || isnan (SEK) ) return nanl (""); return kurt/SEK; } /* Chi-Squared - Cumulative distribution function, for the special case of DF=2. Equivalent to the R function 'pchisq (x,df=2)'. */ long double pchisq_df2 (long double x) { return 1.0 - expl (-x/2); } /* Given an array of doubles, return the p-Value Of the Jarque-Bera Test for normality http://en.wikipedia.org/wiki/Jarque%E2%80%93Bera_test Equivalent to R's "jarque.test ()" function in the "moments" library. */ long double jarque_bera_pvalue (const long double * const values, size_t n ) { const long double k = excess_kurtosis_value (values,n,DF_POPULATION); const long double s = skewness_value (values,n,DF_POPULATION); const long double jb = (long double)(n*(s*s + k*k/4))/6.0 ; const long double pval = 1.0 - pchisq_df2 (jb); if (n<=1 || isnan (k) || isnan (s)) return nanl (""); return pval; } /* D'Agostino-Perason omnibus test for normality. returns the p-value, where the null-hypothesis is normal distribution. */ long double dagostino_pearson_omnibus_pvalue (const long double * const values, size_t n) { const long double z_skew = skewnessZ_value (values, n); const long double z_kurt = kurtosisZ_value (values, n); const long double DP = z_skew*z_skew + z_kurt*z_kurt; const long double pval = 1.0 - pchisq_df2 (DP); if (isnan (z_skew) || isnan (z_kurt)) return nanl (""); return pval; } static void update_best_seq ( enum MODETYPE type, size_t seq_size, long double last_value, size_t * best_seq_size, long double * best_value) { if ( ((type==MODE) && (seq_size > *best_seq_size)) || ((type==ANTIMODE) && (seq_size < *best_seq_size))) { *best_seq_size = seq_size; *best_value = last_value; } } long double _GL_ATTRIBUTE_PURE mode_value ( const long double * const values, size_t n, enum MODETYPE type) { /* not ideal implementation but simple enough */ /* Assumes 'values' are already sorted, find the longest sequence */ long double last_value = values[0]; size_t seq_size=1; size_t best_seq_size= (type==MODE)?1:SIZE_MAX; long double best_value = values[0]; for (size_t i=1; i= 0); /* LCOV_EXCL_LINE */ assert (trimmed_mean_percent <= 0.5); /* LCOV_EXCL_LINE */ /* For R compatability: mean (x,trim=0.5) in R is equivalent to median (x). */ if (trimmed_mean_percent >= 0.5) return median_value (values, n); /* number of element to skip from each end */ size_t c = pos_zero (floorl (trimmed_mean_percent * n)); long double v = 0; for (size_t i=c; i< (n-c); i++) v += values[i]; return v / (long double)(n-c*2); } int _GL_ATTRIBUTE_PURE cmpstringp (const void *p1, const void *p2) { /* The actual arguments to this function are "pointers to * pointers to char", but strcmp (3) arguments are "pointers * to char", hence the following cast plus dereference */ return strcmp (* (char * const *) p1, * (char * const *) p2); } int _GL_ATTRIBUTE_PURE cmpstringp_nocase (const void *p1, const void *p2) { /* The actual arguments to this function are "pointers to * pointers to char", but strcmp (3) arguments are "pointers * to char", hence the following cast plus dereference */ return strcasecmp (* (char * const *) p1, * (char * const *) p2); } /* Sorts (in-place) an array of long-doubles */ void qsortfl (long double *values, size_t n) { qsort (values, n, sizeof (long double), cmp_long_double); } bool _GL_ATTRIBUTE_PURE hash_compare_strings (void const *x, void const *y) { assert (x != y); /* LCOV_EXCL_LINE */ return STREQ (x, y) ? true : false; } static bool is_add_on_extension (const char *s, size_t l) { if ((l==4) \ && (STREQ_LEN(s,".gpg",4) \ || STREQ_LEN(s,".bz2",4) \ || STREQ_LEN(s,".std",4))) return true; if ((l==3) \ && (STREQ_LEN(s,".gz",3) || STREQ_LEN(s,".xz",3) || STREQ_LEN(s,".lz",3))) return true; return false; } size_t _GL_ATTRIBUTE_PURE guess_file_extension (const char*s, size_t len) { size_t prev_extension = 0; if (len==0) return 0; size_t l = len - 1 ; next_extension: while (l && c_isalnum (s[l])) --l; if (l>0 && s[l] == '.') { /* Found an extension, check if it's a known "add-on" one */ /* check the string until to previous extension (if there was one), or the end of the string. */ size_t ext_len = (prev_extension==0)?(len-l):(prev_extension-l); if (is_add_on_extension (&s[l],ext_len)) { prev_extension = l; --l; goto next_extension; } return len-l; } /* In a case such as "foo.gpg", the first detected extension '.gpg' is found, but the second iteration fails (as 'foo' is not an extension). In such cases, revert to reporting the previously found extension. */ if (prev_extension) return len-prev_extension; return 0; } struct EXTRACT_NUMBER_TYPE { const char *pattern; int base; bool floating_point; }; /* NOTE: order must match 'enum extract_number_type' */ static struct EXTRACT_NUMBER_TYPE extract_number_types[] = { /* Natural Number (nonnegative integers), including ZERO */ {"0123456789", 10, false}, /* Integers */ {"-+0123456789", 10, false}, /* Positive Hex number */ {"0123456789abcdefABCDEF", 16, false}, /* Positive Octal number */ {"01234567", 8, false}, /* Simple positive decimal point (including zero) */ {".0123456789", 10, true}, /* Simple decimal point (positive and negative) */ {"+-.0123456789", 10, true} }; long double extract_number (const char* s, size_t len, enum extract_number_type type) { static char* buf, *endptr; static size_t buf_alloc; long double r = 0; const char *pattern; int base ; bool fp; pattern = extract_number_types[type].pattern; base = extract_number_types[type].base; fp = extract_number_types[type].floating_point; if (len+1 > buf_alloc) { buf = xrealloc (buf, len+1); buf_alloc = len + 1; } memcpy (buf, s, len); buf[len] = '\0'; size_t skip = strcspn (buf, pattern); size_t span = strspn (buf+skip, pattern); buf[skip+span] = '\0'; if (!fp) { errno = 0; long long int val = strtoll (buf+skip, &endptr, base); if (errno != 0) { /* failed to parse value */ val = 0; } r = val; } else { errno = 0; r = strtold (buf+skip, &endptr); if (errno != 0) r = 0; } return r; } datamash-1.9/src/utils.h0000644000000000000000000001673414771573715010730 /* GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . */ /* Written by Assaf Gordon and Tim Rice */ #ifndef __UTILS_H__ #define __UTILS_H__ /* Print the current file, line number and function. Useful for debugging. */ #define WHEREAMI() \ { \ printf ("In %s:%d, function '%s'\n", \ __FILE__, __LINE__, __func__); \ } /* Generate Utility Functions module. */ /* Returns true if 'value' can be considered a valid N/A. 'NA', 'N/A', 'NaN' and empty cells are valid N/As. */ bool is_na (const char* value, const size_t len); /* Given an array of doubles, return the arithmetic mean value */ long double arithmetic_mean_value (const long double * const values, const size_t n); /* Given a sorted array of doubles, return the value of 'percentile'. Example of valid 'percentile': 0.10 = First decile 0.25 = First quartile 0.50 = median 0.75 = third quartile 0.99 = 99nt percentile */ long double percentile_value (const long double * const values, const size_t n, const double percentile); /* Given a sorted array of doubles, return the value of the median */ long double median_value (const long double * const values, size_t n); /* Given a sorted array of doubles, return the value of 1st quartile */ static inline long double quartile1_value (const long double * const values, size_t n) { return percentile_value (values, n, 1.0/4.0); } /* Given a sorted array of doubles, return the value of 3rd quartile */ static inline long double quartile3_value (const long double * const values, size_t n) { return percentile_value (values, n, 3.0/4.0); } /* Given a sorted array of doubles, return the MAD value (median absolute deviation), with scale constant 'scale' */ long double mad_value (const long double * const values, size_t n, double scale) ; /* Sorts (in-place) an array of long-doubles */ void qsortfl (long double *values, size_t n); enum degrees_of_freedom { DF_POPULATION = 0, DF_SAMPLE = 1 }; /* Given an array of doubles, return the variance value. 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double variance_value ( const long double * const values, size_t n, int df ); /* Given an two array of doubles, return the covariance value. 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double covariance_value ( const long double * const valuesA, const long double * const valuesB, size_t n, int df ); /* Given an two array of doubles, return the Pearson correlation coefficient */ long double pearson_corr_value ( const long double * const valuesA, const long double * const valuesB, size_t n, int df); /* Given two columns of doubles, return their scalar product value. */ long double dot_product_value ( const long double * const valuesA, const long double * const valuesB, size_t n ); /* Given an array of doubles, return the standard-deviation value. 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double stdev_value ( const long double * const values, size_t n, int df ); /* Given an array of doubles, return the skewness 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double skewness_value ( const long double * const values, size_t n, int df ); /* Standard error of skewness (SES), given the sample size 'n' */ long double SES_value ( size_t n ); /* Skewness Test statistics Z = ( sample skewness / SES ) */ long double skewnessZ_value ( const long double * const values, size_t n); /* Given an array of doubles, return the excess kurtosis 'df' is degrees-of-freedom. Use DF_POPULATION or DF_SAMPLE (see above). */ long double excess_kurtosis_value ( const long double * const values, size_t n, int df ); /* Standard error of kurtisos (SEK), given the sample size 'n' */ long double SEK_value ( size_t n ); /* Kurtosis Test statistics Z = ( sample kurtosis / SEK ) */ long double kurtosisZ_value ( const long double * const values, size_t n); /* Chi-Squared - Cumulative distribution function, for the special case of DF=2. Equivalent to the R function 'pchisq (x,df=2)'. */ long double pchisq_df2 (long double x); /* D'Agostino-Perason omnibus test for normality. returns the p-value, where the null-hypothesis is normal distribution. */ long double dagostino_pearson_omnibus_pvalue (const long double * const values, size_t n); /* Given an array of doubles, return the p-Value Of the Jarque-Bera Test for normality http://en.wikipedia.org/wiki/Jarque%E2%80%93Bera_test Equivalent to R's "jarque.test ()" function in the "moments" library. */ long double jarque_bera_pvalue (const long double * const values, size_t n); enum MODETYPE { MODE=1, ANTIMODE }; /* Given an array of doubles, return the mode/anti-mode values. */ long double mode_value ( const long double * const values, size_t n, enum MODETYPE type); /* Given an array of doubles, return the mode/anti-mode values. */ long double trimmed_mean_value ( const long double * const values, size_t n, const long double trimmed_mean_percent); /* comparison functions, to be used with 'qsort ()' */ int cmpstringp (const void *p1, const void *p2); int cmpstringp_nocase (const void *p1, const void *p2); int cmp_long_double (const void *p1, const void *p2); bool hash_compare_strings (void const *x, void const *y); /* Return the number of characters FROM THE END of 's' that match a guessed file extension. Return 0 if no extension is found. 's' does not need to be NULL terminated. */ size_t guess_file_extension (const char*s, size_t len); /* Extract the first detected number from a string 's' (skipping non-number characters). 's' does not need to be NUL-terminated. */ enum extract_number_type { ENT_NATURAL = 0, ENT_INTEGER, ENT_HEX, ENT_OCT, ENT_POSITIVE_DECIMAL, ENT_DECIMAL }; long double extract_number (const char* s, size_t len, enum extract_number_type type); /* returns non-zero if the input is equavalent to zero (or negative zero) */ static inline bool is_zero (const long double a) { return !((a>0)-(a<0)); } /* returns non-zero if the input is negative zero */ static inline bool is_signed_zero (const long double a) { return signbit (a) && is_zero (a); } /* if the input is negative-zero, returns positive zero. otherwise, returns the input value. */ static inline long double pos_zero (const long double a) { return is_signed_zero (a) ? 0 : a; } /* On some systems (e.g. Cygwin) nanl is not defined, and gnulib does not yet provide a replacment (though it does provide 'isnanl' replacement) */ #ifndef nanl #define nanl nan #endif #endif datamash-1.9/tests/0000755000000000000000000000000014774035552010032 5datamash-1.9/tests/Coreutils.pm0000644000000000000000000004622214771573715012274 package Coreutils; # This file (Coreutils.pm) was copied from GNU Coretils. # It has the following copyright notice and license: # This is a testing framework. # Copyright (C) 1998-2013 Free Software Foundation, Inc. # 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 . use strict; use vars qw($VERSION @ISA @EXPORT); use FileHandle; use File::Compare qw(compare); @ISA = qw(Exporter); ($VERSION = '$Revision: 1.5 $ ') =~ tr/[0-9].//cd; @EXPORT = qw (run_tests triple_test getlimits); my $debug = $ENV{DEBUG}; my @Types = qw (IN IN_PIPE OUT ERR AUX CMP EXIT PRE POST OUT_SUBST ERR_SUBST ENV ENV_DEL); my %Types = map {$_ => 1} @Types; my %Zero_one_type = map {$_ => 1} qw (OUT ERR EXIT PRE POST OUT_SUBST ERR_SUBST ENV); my $srcdir = "$ENV{srcdir}"; my $Global_count = 1; # When running in a DJGPP environment, make $ENV{SHELL} point to bash. # Otherwise, a bad shell might be used (e.g. command.com) and many # tests would fail. defined $ENV{DJDIR} and $ENV{SHELL} = "$ENV{DJDIR}/bin/bash.exe"; # A file spec: a scalar or a reference to a single-keyed hash # ================ # 'contents' contents only (file name is derived from test name) # {filename => 'contents'} filename and contents # {filename => undef} filename only -- $(srcdir)/tests/filename must exist # # FIXME: If there is more than one input file, then you can't specify 'REDIR'. # PIPE is still ok. # # I/O spec: a hash ref with the following properties # ================ # - one key/value pair # - the key must be one of these strings: IN, OUT, ERR, AUX, CMP, EXIT # - the value must be a file spec # {OUT => 'data'} put data in a temp file and compare it to stdout from cmd # {OUT => {'filename'=>undef}} compare contents of existing filename to # stdout from cmd # {OUT => {'filename'=>[$CTOR, $DTOR]}} $CTOR and $DTOR are references to # functions, each which is passed the single argument 'filename'. # $CTOR must create 'filename'. # DTOR may be omitted in which case 'sub{unlink @_[0]}' is used. # FIXME: implement this # {ERR => ...} # Same as for OUT, but compare with stderr, not stdout. # {OUT_SUBST => 's/variable_output/expected_output/'} # Transform actual standard output before comparing it against expected. # This is useful e.g. for programs like du that produce output that # varies a lot from system. E.g., an empty file may consume zero file # blocks, or more, depending on the OS and on the file system type. # {ERR_SUBST => 's/variable_output/expected_output/'} # Transform actual stderr output before comparing it against expected. # This is useful when verifying that we get a meaningful diagnostic. # For example, in rm/fail-2eperm, we have to account for three different # diagnostics: Operation not permitted, Not owner, and Permission denied. # {EXIT => N} expect exit status of cmd to be N # {ENV => 'VAR=val ...'} # Prepend 'VAR=val ...' to the command that we execute via 'system'. # {ENV_DEL => 'VAR'} # Remove VAR from the environment just before running the corresponding # command, and restore any value just afterwards. # # There may be many input file specs. File names from the input specs # are concatenated in order on the command line. # There may be at most one of the OUT-, ERR-, and EXIT-keyed specs. # If the OUT-(or ERR)-keyed hash ref is omitted, then expect no output # on stdout (or stderr). # If the EXIT-keyed one is omitted, then expect the exit status to be zero. # FIXME: Make sure that no junkfile is also listed as a # non-junkfile (i.e. with undef for contents) sub _shell_quote ($) { my ($string) = @_; $string =~ s/\'/\'\\\'\'/g; return "'$string'"; } sub _create_file ($$$$) { my ($program_name, $test_name, $file_name, $data) = @_; my $file; if (defined $file_name) { $file = $file_name; } else { $file = "$test_name.$Global_count"; ++$Global_count; } warn "creating file '$file' with contents '$data'\n" if $debug; # The test spec gave a string. # Write it to a temp file and return tempfile name. my $fh = new FileHandle "> $file"; die "$program_name: $file: $!\n" if ! $fh; print $fh $data; $fh->close || die "$program_name: $file: $!\n"; return $file; } sub _compare_files ($$$$$) { my ($program_name, $test_name, $in_or_out, $actual, $expected) = @_; my $differ = compare ($actual, $expected); if ($differ) { my $info = (defined $in_or_out ? "std$in_or_out " : ''); warn "$program_name: test $test_name: ${info}mismatch, comparing " . "$expected (expected) and $actual (actual)\n"; # Ignore any failure, discard stderr. system "diff -c $expected $actual 2>/dev/null"; } return $differ; } sub _process_file_spec ($$$$$) { my ($program_name, $test_name, $file_spec, $type, $junk_files) = @_; my ($file_name, $contents); if (!ref $file_spec) { ($file_name, $contents) = (undef, $file_spec); } elsif (ref $file_spec eq 'HASH') { my $n = keys %$file_spec; die "$program_name: $test_name: $type spec has $n elements --" . " expected 1\n" if $n != 1; ($file_name, $contents) = each %$file_spec; # This happens for the AUX hash in an io_spec like this: # {CMP=> ['zy123utsrqponmlkji', {'@AUX@'=> undef}]}, defined $contents or return $file_name; } else { die "$program_name: $test_name: invalid RHS in $type-spec\n" } my $is_junk_file = (! defined $file_name || (($type eq 'IN' || $type eq 'AUX' || $type eq 'CMP') && defined $contents)); my $file = _create_file ($program_name, $test_name, $file_name, $contents); if ($is_junk_file) { push @$junk_files, $file } else { # FIXME: put $srcdir in here somewhere warn "$program_name: $test_name: specified file '$file' does" . " not exist\n" if ! -f "$srcdir/tests/$file"; } return $file; } sub _at_replace ($$) { my ($map, $s) = @_; foreach my $eo (qw (AUX OUT ERR)) { my $f = $map->{$eo}; $f and $s =~ /\@$eo\@/ and $s =~ s/\@$eo\@/$f/g; } return $s; } sub getlimits() { my $NV; open $NV, "getlimits |" or die "Error running getlimits\n"; my %limits = map {split /=|\n/} <$NV>; return \%limits; } # FIXME: cleanup on interrupt # FIXME: extract 'do_1_test' function # FIXME: having to include $program_name here is an expedient kludge. # Library code doesn't 'die'. sub run_tests ($$$$$) { my ($program_name, $prog, $t_spec, $save_temps, $verbose) = @_; # To indicate that $prog is a shell built-in, you'd make it a string 'ref'. # E.g., call run_tests ($prog, \$prog, \@Tests, $save_temps, $verbose); # If it's a ref, invoke it via "env": my @prog = ref $prog ? (qw(env --), $$prog) : $prog; # Warn about empty t_spec. # FIXME # Remove all temp files upon interrupt. # FIXME # Verify that test names are distinct. my $bad_test_name = 0; my %seen; my %seen_8dot3; my $t; foreach $t (@$t_spec) { my $test_name = $t->[0]; if ($seen{$test_name}) { warn "$program_name: $test_name: duplicate test name\n"; $bad_test_name = 1; } $seen{$test_name} = 1; if (0) { my $t8 = lc substr $test_name, 0, 8; if ($seen_8dot3{$t8}) { warn "$program_name: 8.3 test name conflict: " . "$test_name, $seen_8dot3{$t8}\n"; $bad_test_name = 1; } $seen_8dot3{$t8} = $test_name; } # The test name may be no longer than 30 bytes. # Yes, this is an arbitrary limit. If it causes trouble, # consider removing it. my $max = 30; if ($max < length $test_name) { warn "$program_name: $test_name: test name is too long (> $max)\n"; $bad_test_name = 1; } } return 1 if $bad_test_name; # FIXME check exit status system (@prog, '--version') if $verbose; my @junk_files; my $fail = 0; foreach my $tt (@$t_spec) { my @post_compare; my @dummy = @$tt; my $t = \@dummy; my $test_name = shift @$t; my $expect = {}; my ($pre, $post); # FIXME: maybe don't reset this. $Global_count = 1; my @args; my $io_spec; my %seen_type; my @env_delete; my $env_prefix = ''; my $input_pipe_cmd; foreach $io_spec (@$t) { if (!ref $io_spec) { push @args, $io_spec; next; } if (ref $io_spec ne 'HASH') { eval 'use Data::Dumper'; die "$program_name: $test_name: invalid entry in test spec; " . "expected HASH-ref,\nbut got this:\n" . Data::Dumper->Dump ([\$io_spec], ['$io_spec']) . "\n"; } my $n = keys %$io_spec; die "$program_name: $test_name: spec has $n elements --" . " expected 1\n" if $n != 1; my ($type, $val) = each %$io_spec; die "$program_name: $test_name: invalid key '$type' in test spec\n" if ! $Types{$type}; # Make sure there's no more than one of OUT, ERR, EXIT, etc. die "$program_name: $test_name: more than one $type spec\n" if $Zero_one_type{$type} and $seen_type{$type}++; if ($type eq 'PRE' or $type eq 'POST') { $expect->{$type} = $val; next; } if ($type eq 'CMP') { my $t = ref $val; $t && $t eq 'ARRAY' or die "$program_name: $test_name: invalid CMP spec\n"; @$val == 2 or die "$program_name: $test_name: invalid CMP list; must have" . " exactly 2 elements\n"; my @cmp_files; foreach my $e (@$val) { my $r = ref $e; $r && $r ne 'HASH' and die "$program_name: $test_name: invalid element ($r)" . " in CMP list; only scalars and hash references " . "are allowed\n"; if ($r && $r eq 'HASH') { my $n = keys %$e; $n == 1 or die "$program_name: $test_name: CMP spec has $n " . "elements -- expected 1\n"; # Replace any '@AUX@' in the key of %$e. my ($ff, $val) = each %$e; my $new_ff = _at_replace $expect, $ff; if ($new_ff ne $ff) { $e->{$new_ff} = $val; delete $e->{$ff}; } } my $cmp_file = _process_file_spec ($program_name, $test_name, $e, $type, \@junk_files); push @cmp_files, $cmp_file; } push @post_compare, [@cmp_files]; $expect->{$type} = $val; next; } if ($type eq 'EXIT') { die "$program_name: $test_name: invalid EXIT code\n" if $val !~ /^\d+$/; # FIXME: make sure $data is numeric $expect->{EXIT} = $val; next; } if ($type =~ /^(OUT|ERR)_SUBST$/) { $expect->{RESULT_SUBST} ||= {}; $expect->{RESULT_SUBST}->{$1} = $val; next; } if ($type eq 'ENV') { $env_prefix = "$val "; next; } if ($type eq 'ENV_DEL') { push @env_delete, $val; next; } my $file = _process_file_spec ($program_name, $test_name, $val, $type, \@junk_files); if ($type eq 'IN' || $type eq 'IN_PIPE') { my $quoted_file = _shell_quote $file; if ($type eq 'IN_PIPE') { defined $input_pipe_cmd and die "$program_name: $test_name: only one input" . " may be specified with IN_PIPE\n"; $input_pipe_cmd = "cat $quoted_file |"; } else { push @args, $quoted_file; } } elsif ($type eq 'AUX' || $type eq 'OUT' || $type eq 'ERR') { $expect->{$type} = $file; } else { die "$program_name: $test_name: invalid type: $type\n" } } # Expect an exit status of zero if it's not specified. $expect->{EXIT} ||= 0; # Allow ERR to be omitted -- in that case, expect no error output. foreach my $eo (qw (OUT ERR)) { if (!exists $expect->{$eo}) { $expect->{$eo} = _create_file ($program_name, $test_name, undef, ''); push @junk_files, $expect->{$eo}; } } # FIXME: Does it ever make sense to specify a filename *and* contents # in OUT or ERR spec? # FIXME: this is really suboptimal... my @new_args; foreach my $a (@args) { $a = _at_replace $expect, $a; push @new_args, $a; } @args = @new_args; warn "$test_name...\n" if $verbose; &{$expect->{PRE}} if $expect->{PRE}; my %actual; $actual{OUT} = "$test_name.O"; $actual{ERR} = "$test_name.E"; push @junk_files, $actual{OUT}, $actual{ERR}; my @cmd = (@prog, @args, "> $actual{OUT}", "2> $actual{ERR}"); $env_prefix and unshift @cmd, $env_prefix; defined $input_pipe_cmd and unshift @cmd, $input_pipe_cmd; my $cmd_str = join (' ', @cmd); # Delete from the environment any symbols specified by syntax # like this: {ENV_DEL => 'TZ'}. my %pushed_env; foreach my $env_sym (@env_delete) { my $val = delete $ENV{$env_sym}; defined $val and $pushed_env{$env_sym} = $val; } warn "Running command: '$cmd_str'\n" if $debug; my $rc = 0xffff & system $cmd_str; # Restore any environment setting we changed via a deletion. foreach my $env_sym (keys %pushed_env) { $ENV{$env_sym} = $pushed_env{$env_sym}; } if ($rc == 0xff00) { warn "$program_name: test $test_name failed: command failed:\n" . " '$cmd_str': $!\n"; $fail = 1; goto cleanup; } $rc >>= 8 if $rc > 0x80; if ($expect->{EXIT} != $rc) { warn "$program_name: test $test_name failed: exit status mismatch:" . " expected $expect->{EXIT}, got $rc\n"; $fail = 1; goto cleanup; } my %actual_data; # Record actual stdout and stderr contents, if POST may need them. if ($expect->{POST}) { foreach my $eo (qw (OUT ERR)) { my $out_file = $actual{$eo}; open IN, $out_file or (warn "$program_name: cannot open $out_file for reading: $!\n"), $fail = 1, next; $actual_data{$eo} = ; close IN or (warn "$program_name: failed to read $out_file: $!\n"), $fail = 1; } } foreach my $eo (qw (OUT ERR)) { my $subst_expr = $expect->{RESULT_SUBST}->{$eo}; if (defined $subst_expr) { my $out = $actual{$eo}; my $orig = "$out.orig"; # Move $out aside (to $orig), then recreate $out # by transforming each line of $orig via $subst_expr. rename $out, $orig or (warn "$program_name: cannot rename $out to $orig: $!\n"), $fail = 1, next; open IN, $orig or (warn "$program_name: cannot open $orig for reading: $!\n"), $fail = 1, (unlink $orig), next; unlink $orig or (warn "$program_name: cannot unlink $orig: $!\n"), $fail = 1; open OUT, ">$out" or (warn "$program_name: cannot open $out for writing: $!\n"), $fail = 1, next; while (defined (my $line = )) { eval "\$_ = \$line; $subst_expr; \$line = \$_"; print OUT $line; } close IN; close OUT or (warn "$program_name: failed to write $out: $!\n"), $fail = 1, next; } my $eo_lower = lc $eo; _compare_files ($program_name, $test_name, $eo_lower, $actual{$eo}, $expect->{$eo}) and $fail = 1; } foreach my $pair (@post_compare) { my ($expected, $actual) = @$pair; _compare_files $program_name, $test_name, undef, $actual, $expected and $fail = 1; } cleanup: $expect->{POST} and &{$expect->{POST}} ($actual_data{OUT}, $actual_data{ERR}); } # FIXME: maybe unlink files inside the big foreach loop? unlink @junk_files if ! $save_temps; return $fail; } # For each test in @$TESTS, generate two additional tests, # one using stdin, the other using a pipe. I.e., given this one # ['idem-0', {IN=>''}, {OUT=>''}], # generate these: # ['idem-0.r', '<', {IN=>''}, {OUT=>''}], # ['idem-0.p', {IN_PIPE=>''}, {OUT=>''}], # Generate new tests only if there is exactly one input spec. # The returned list of tests contains each input test, followed # by zero or two derived tests. sub triple_test($) { my ($tests) = @_; my @new; foreach my $t (@$tests) { push @new, $t; my @in; my @args; my @list_of_hash; foreach my $e (@$t) { !ref $e and push (@args, $e), next; ref $e && ref $e eq 'HASH' or (warn "$0: $t->[0]: unexpected entry type\n"), next; defined $e->{IN} and (push @in, $e->{IN}), next; push @list_of_hash, $e; } # Add variants IFF there is exactly one input file. @in == 1 or next; shift @args; # discard test name push @new, ["$t->[0].r", @args, '<', {IN => $in[0]}, @list_of_hash]; push @new, ["$t->[0].p", @args, {IN_PIPE => $in[0]}, @list_of_hash]; } return @new; } ## package return 1; datamash-1.9/tests/CuSkip.pm0000644000000000000000000000244414771573715011517 package CuSkip; # This file (CuSkip.pm) was copied from GNU Coretils. # It has the following copyright notice and license: # Skip a test: emit diag to log and to stderr, and exit 77 # Copyright (C) 2011-2013 Free Software Foundation, Inc. # 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 . use strict; use warnings; our $ME = $0 || ""; # Emit a diagnostic both to stderr and to $stderr_fileno_. # FIXME: don't hard-code that value (9), since it's already defined in init.cfg. sub skip ($) { my ($msg) = @_; my $stderr_fileno_ = 9; warn $msg; open FH, ">&$stderr_fileno_" or warn "$ME: failed to dup stderr\n"; print FH $msg; close FH or warn "$ME: failed to close FD $stderr_fileno_\n"; exit 77; } 1; datamash-1.9/tests/CuTmpdir.pm0000644000000000000000000000514214771573715012046 package CuTmpdir; # This file (CuTmpDir.pm) was copied from GNU Coretils. # It has the following copyright notice and license: # # create, then chdir into a temporary sub-directory # Copyright (C) 2007-2013 Free Software Foundation, Inc. # 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 . use strict; use warnings; use File::Temp; use File::Find; our $ME = $0 || ""; my $dir; sub skip_test($) { warn "$ME: skipping test: unsafe working directory name: '$_[0]'\n"; exit 77; } sub chmod_1 { my $name = $_; # Skip symlinks and non-directories. -l $name || !-d _ and return; chmod 0700, $name; } sub chmod_tree { # When tempdir fails, it croaks, which leaves $dir undefined. defined $dir or return; # Perform the equivalent of find "$dir" -type d -print0|xargs -0 chmod -R 700. my $options = {untaint => 1, wanted => \&chmod_1}; find ($options, $dir); } sub import { my $prefix = $_[1]; $ME eq '-' && defined $prefix and $ME = $prefix; if ($prefix !~ /^\//) { eval 'use Cwd'; my $cwd = $@ ? '.' : Cwd::getcwd(); $prefix = "$cwd/$prefix"; } # Untaint for the upcoming mkdir. $prefix =~ m!^([-+\@\w./]+)$! or skip_test $prefix; $prefix = $1; my $original_pid = $$; my $on_sig_remove_tmpdir = sub { my ($sig) = @_; if ($$ == $original_pid and defined $dir) { chmod_tree; # Older versions of File::Temp lack this method. exists &File::Temp::cleanup and &File::Temp::cleanup; } $SIG{$sig} = 'DEFAULT'; kill $sig, $$; }; foreach my $sig (qw (INT TERM HUP)) { $SIG{$sig} = $on_sig_remove_tmpdir; } $dir = File::Temp::tempdir("$prefix.tmp-XXXX", CLEANUP => 1 ); chdir $dir or warn "$ME: failed to chdir to $dir: $!\n"; } END { # Move cwd out of the directory we're about to remove. # This is required on some systems, and by some versions of File::Temp. chdir '..' or warn "$ME: failed to chdir to .. from $dir: $!\n"; my $saved_errno = $?; chmod_tree; $? = $saved_errno; } 1; datamash-1.9/tests/datamash-check-tabular.pl0000644000000000000000000000731514771573715014607 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Tests for 'transpose' and 'reverse' operation modes. Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; use List::Util qw/max/; use Data::Dumper; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; my $prog = `$prog_bin ---print-progname`; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<'EOF'; a x 1 b z 6 c x 7 EOF # missing field on second line my $in2=<<'EOF'; a x 1 b z c x 7 EOF # Same as in2, with whitespace delimiters my $in2_ws=<<"EOF"; a x \t 1 b \t z c x 7 EOF # second line has 2 tab characters, thus 3 fields # (the last field is empty). # version 1.1.0 and before rejected such input. my $in3=<<"EOF"; a x 1 b z\t c x 7 EOF # Same as in3, with whitespace delimiters my $in3_ws=<<"EOF"; a x \t 1 b \t z \t c\t\t\tx \t 7 EOF # one line my $in4=<<'EOF'; a x 1 EOF # one field my $in5=<<'EOF'; a b c d EOF # one field, with bad input (fourth line has 0 fields) my $in6=<<'EOF'; a b c e EOF my @Tests = ( ['c1', 'check', {IN_PIPE=>$in1}, {OUT=>"3 lines, 3 fields\n"}], ['c2', 'check', {IN_PIPE=>$in4}, {OUT=>"1 line, 3 fields\n"}], ['c3', 'check', {IN_PIPE=>$in5}, {OUT=>"4 lines, 1 field\n"}], ['c4', 'check', {IN_PIPE=>$in3}, {OUT=>"3 lines, 3 fields\n"}], ['c5', '-W check', {IN_PIPE=>$in3_ws}, {OUT=>"3 lines, 3 fields\n"}], # Check bad input: # The first four lines will be something like: # 'line X has N fields:' # ' [content of line X]' # 'line Y has M fields:' # ' [content of line Y]' # The ERR_SUBSTR will remove these messages, as they are highly variable # and dependant on the input. Then only the last line of error message # is checked. ['e1', 'check', {IN_PIPE=>$in2}, {EXIT=>1}, {ERR_SUBST => 's/^(li| ).*$//'}, {ERR => "\n\n\n\n$prog: check failed: line 2 has 2 fields " . "(previous line had 3)\n"}], ['e1ws', '-W check', {IN_PIPE=>$in2_ws}, {EXIT=>1}, {ERR_SUBST => 's/^(li| ).*$//'}, {ERR => "\n\n\n\n$prog: check failed: line 2 has 2 fields " . "(previous line had 3)\n"}], ['e2', 'check', {IN_PIPE=>$in6}, {EXIT=>1}, {ERR_SUBST => 's/^(li| ).*$//'}, {ERR => "\n\n\n\n$prog: check failed: line 4 has 0 fields " . "(previous line had 1)\n"}], ['e2ws', '-W check', {IN_PIPE=>$in6}, {EXIT=>1}, {ERR_SUBST => 's/^(li| ).*$//'}, {ERR => "\n\n\n\n$prog: check failed: line 4 has 0 fields " . "(previous line had 1)\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog_bin, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-check.pl0000754000000000000000000001423114771573715013154 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Tests for 'check' operation mode Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; use List::Util qw/max/; use Data::Dumper; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin --foobar 2>&1 | head -n 1 | cut -f1 -d:`; chomp $prog if $prog; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<'EOF'; A 1 ! B 2 @ C 3 # D 4 $ E 5 % EOF my $in2=<<'EOF'; A 1 B C 3 EOF my $in3=<<'EOF'; A EOF my $in4=<<'EOF'; #comment A ;comment B EOF my @Tests = ( # Simple transpose and reverse ['c1', 'check', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], # Variations on command-line parsing ['c2', 'check 3 field', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c3', 'check 3 fields', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c4', 'check 3 col', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c5', 'check 3 columns', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c6', 'check 3 column', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c7', 'check field 3', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c8', 'check fields 3', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c9', 'check col 3', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c10', 'check columns 3', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c11', 'check column 3', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c12', 'check 5 lines', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c13', 'check 5 line', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c14', 'check 5 rows', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c15', 'check 5 row', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c16', 'check lines 5', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c17', 'check line 5', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c18', 'check row 5', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], ['c19', 'check rows 5', {IN_PIPE=>$in1}, {OUT=>"5 lines, 3 fields\n"}], # Duplicated options ['e1', 'check rows 5 lines 6', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"$prog: number of lines/rows already set in operation 'check'\n"}], ['e2', 'check fields 6 fields 1', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"$prog: number of fields/columns already set " . "in operation 'check'\n"}], # Invalid values ['e3', 'check 0 lines', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"$prog: invalid value zero for lines/fields in operation 'check'\n"}], ['e4', 'check 0 fields', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"$prog: invalid value zero for lines/fields in operation 'check'\n"}], # Check lines ['c40', 'check 4 lines', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"$prog: check failed: input had 5 lines (expecting 4)\n"}], ['c41', 'check 6 lines', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"$prog: check failed: input had 5 lines (expecting 6)\n"}], ['c42', 'check 6 lines', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: check failed: input had 0 lines (expecting 6)\n"}], # Check fields ['c60', 'check 2 fields', {IN_PIPE=>$in1}, {EXIT=>1}, {ERR=>"line 1 (3 fields):\n" . " A\t1\t!\n" . "$prog: check failed: line 1 has 3 fields (expecting 2)\n"}], # Check matrix structure, no expected number of fields ['c61', 'check', {IN_PIPE=>$in2}, {EXIT=>1}, {ERR=>"line 1 (2 fields):\n" . " A\t1\n" . "line 2 (1 fields):\n" . " B\n" . "$prog: check failed: line 2 has 1 fields (previous line had 2)\n"}], # With expected number of fields ['c62', 'check 2 fields', {IN_PIPE=>$in2}, {EXIT=>1}, {ERR=>"line 2 (1 fields):\n" . " B\n" . "$prog: check failed: line 2 has 1 fields (expecting 2)\n"}], # no special treatment for comments or empty lines by default ['c63', 'check', {IN_PIPE=>$in4}, {EXIT=>1}, {ERR=>"line 3 (1 fields):\n" . " ;comment\n" . "line 4 (0 fields):\n" . " \n" . "$prog: check failed: line 4 has 0 fields (previous line had 1)\n"}], # --skip-comments skips only comment lines, but not empty lines ['c64', '--skip-comments check', {IN_PIPE=>$in4}, {EXIT=>1}, {ERR=>"line 1 (1 fields):\n" . " A\n" . "line 2 (0 fields):\n" . " \n" . "$prog: check failed: line 2 has 0 fields (previous line had 1)\n"}], # --vnlog skips both comment and empty lines, but only '#' starts a comment # (the first line is actually the vnlog header and requires the same number # of fields as the data lines, but this test is about ignoring empty lines) ['c65', '--vnlog check', {IN_PIPE=>$in4}, {OUT=>"3 lines, 1 field\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog_bin, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-crosstab.pl0000754000000000000000000001267014771573715013724 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Tests for 'transpose' and 'reverse' operation modes. Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; use List::Util qw/max/; use Data::Dumper; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; my $prog = `$prog_bin ---print-progname`; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<'EOF'; a x 1 a y 2 a z 3 b x 4 b y 5 b z 6 c x 7 c y 8 c z 9 EOF my $out1_first=<<'EOF'; x y z a 1 2 3 b 4 5 6 c 7 8 9 EOF my $out1_count=<<'EOF'; x y z a 1 1 1 b 1 1 1 c 1 1 1 EOF #unsorted input with duplicates my $in2=<<'EOF'; a x 1 a y 2 a x 3 EOF # when using 'first' operation my $out2_first=<<'EOF'; x y a 1 2 EOF # when using 'last' operation without sorting the data # this output is considered incorrect... # TODO: perhaps warn the user about it (like join warns of unsorted input). my $out2_last_unsorted=<<'EOF'; x y a 1 2 EOF # when using 'last' operation with sorting the data, # correct value is shown my $out2_last_sorted=<<'EOF'; x y a 3 2 EOF my $out2_count_unsorted=<<'EOF'; x y a 1 1 EOF my $out2_count_sorted=<<'EOF'; x y a 2 1 EOF # using 'sum' without sorting the data. # this output is considered incorrect... # TODO: perhaps warn the user about it (like join warns of unsorted input). my $out2_sum_unsorted=<<'EOF'; x y a 1 2 EOF # using 'sum' with sorting the data my $out2_sum_sorted=<<'EOF'; x y a 4 2 EOF #input with missing values (b/y is missing) my $in3=<<'EOF'; a x 1 a y 2 b x 3 EOF # default filler is 'N/A' my $out3_na=<<'EOF'; x y a 1 2 b 3 N/A EOF # custom filler 'XX' my $out3_xx=<<'EOF'; x y a 1 2 b 3 XX EOF my $in4=<<'EOF'; x y 1 0.5 2 1 3 1.5 4 2 EOF my $out4_hdr=<<'EOF'; GroupBy(x) GroupBy(y) count(x) 0.5 1 1.5 2 1 1 N/A N/A N/A 2 N/A 1 N/A N/A 3 N/A N/A 1 N/A 4 N/A N/A N/A 1 EOF my $out4_no_hdr=<<'EOF'; 0.5 1 1.5 2 1 1 N/A N/A N/A 2 N/A 1 N/A N/A 3 N/A N/A 1 N/A 4 N/A N/A N/A 1 EOF my @Tests = ( ['c1','crosstab 1,2 first 3', {IN_PIPE=>$in1}, {OUT=>$out1_first}], ['c2','ct 1,2 first 3', {IN_PIPE=>$in1}, {OUT=>$out1_first}], ['c3','ct 1,2 count 1', {IN_PIPE=>$in1}, {OUT=>$out1_count}], ['c4','ct 1-2 count 1', {IN_PIPE=>$in1}, {OUT=>$out1_count}], # Default operation is count ['c5','ct 1,2', {IN_PIPE=>$in1}, {OUT=>$out1_count}], # test unsorted input with duplicates ['c10','ct 1,2 first 3', {IN_PIPE=>$in2}, {OUT=>$out2_first}], ['c11',' ct 1,2 last 3', {IN_PIPE=>$in2}, {OUT=>$out2_last_unsorted}], ['c12','-s ct 1,2 last 3', {IN_PIPE=>$in2}, {OUT=>$out2_last_sorted}], ['c13',' ct 1,2 sum 3', {IN_PIPE=>$in2}, {OUT=>$out2_sum_unsorted}], ['c14','-s ct 1,2 sum 3', {IN_PIPE=>$in2}, {OUT=>$out2_sum_sorted}], # test default operation (count) on unsorted data ['c15',' ct 1,2 count 3', {IN_PIPE=>$in2}, {OUT=>$out2_count_unsorted}], ['c16','-s ct 1,2 count 3', {IN_PIPE=>$in2}, {OUT=>$out2_count_sorted}], # test headers ['c17','-W --header-in --header-out ct x,y', {IN_PIPE=>$in4}, {OUT=>$out4_hdr}], ['c18','-W --header-in ct x,y', {IN_PIPE=>$in4}, {OUT=>$out4_no_hdr}], # Test missing values ['c30','ct 1,2 first 3', {IN_PIPE=>$in3}, {OUT=>$out3_na}], ['c31','--filler XX ct 1,2 first 3', {IN_PIPE=>$in3}, {OUT=>$out3_xx}], # Test wrong usage ['e1', 'ct', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'crosstab'\n"}], ['e2', 'ct 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: crosstab requires exactly 2 fields, found 1\n"}], ['e3', 'ct 1,2,3,4', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: crosstab requires exactly 2 fields, found 4\n"}], ['e4', 'ct 1,2 md5 4', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: conflicting operation found: expecting crosstab " . "operations, but found line operation 'md5'\n"}], ['e5', 'ct 1,2 sum 1,2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: crosstab supports one operation, found 2\n"}], ['e6', 'ct 1,2 min 2 max 2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: crosstab supports one operation, found 2\n"}], ['e7', 'ct 1:2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'crosstab'\n"}], ['e8', 'ct 1-3', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: crosstab requires exactly 2 fields, found 3\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog_bin, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-error-msgs.pl0000644000000000000000000003101714771573715014176 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; # MAX_IDENTIFIER_LENGTH is defined in op-scanner.h my $ident_too_long = "x" x 512 ; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my @Tests = ( # Invalid numeric value for column prasing should be treated as named column ['e1', 'sum 1x', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value '1x'\n"}], # Processing mode without operation ['e2','groupby 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing operation\n"}], # invalid operation after valid mode ['e3','groupby 1 foobar 2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid operation 'foobar'\n"}], # missing field number after processing mode ['e4','groupby', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'groupby'\n"}], # Field range with invalid syntax ['e20','sum 1-', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field range for operation 'sum'\n"}], ['e21','sum 1-x', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: field range for 'sum' must be numeric\n"}], ['e22','sum 4-2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field range for operation 'sum'\n"}], # zero in range ['e23','sum 0-2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field '0' for operation 'sum'\n"}], ['e24','sum 1-0', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field '0' for operation 'sum'\n"}], #Negative in range ['e25','sum 1--5', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field range for operation 'sum'\n"}], # Test field pair syntax ['e41','pcov 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: operation 'pcov' requires field pairs\n"}], ['e42','pcov 1:', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'pcov'\n"}], ['e43','pcov :', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'pcov'\n"}], ['e44','pcov :1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'pcov'\n"}], ['e46','pcov hello:world', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ['e47','sum 1:3', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: operation 'sum' cannot use pair of fields\n"}], ['e50','dotprod 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: operation 'dotprod' requires field pairs\n"}], ['e51','dotprod 1:', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'dotprod'\n"}], ['e52','dotprod :', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'dotprod'\n"}], ['e53','dotprod :1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'dotprod'\n"}], ['e54','dotprod hello:world', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], # Test scanner edge-cases # Floating point value ['e60','sum 4.5', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field '4.5' for operation 'sum'\n"}], ['e61','sum 4.', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field '4.' for operation 'sum'\n"}], # invalid numbers ['e62','sum 4a', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value '4a'\n"}], ['e63','sum 4_', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value '4_'\n"}], # Overflow strtol ['e64','sum 1234567890123456789012345678901234567', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value " . "'1234567890123456789012345678901234567'\n"}], # Invalid charcters ['e65','sum "foo^bar"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid operand '^bar'\n"}], # Empty columns ['e66','sum 1,,', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'sum'\n"}], # Range with names instead of numbers ['e67','sum foo-bar', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: field range for 'sum' must be numeric\n"}], # Invalid numeric value for column prasing should be treated as named column ['e70', 'sum 1x', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value '1x'\n"}], # Processing mode without operation ['e71','groupby 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing operation\n"}], # invalid operation after valid mode ['e72','groupby 1 foobar 2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid operation 'foobar'\n"}], # missing field number after processing mode ['e73','groupby', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'groupby'\n"}], # Bin and optional parameters ['e80','bin:10:30 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: too many parameters for operation 'bin'\n"}], ['e81','bin: 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing parameter for operation 'bin'\n"}], # NOTE about the message: because the parser first parses parameters, # then checks if the operation actually needs parameters, the # error first complains about 'missing' because there are colons # but no numeric values. ['e82','sum: 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing parameter for operation 'sum'\n"}], ['e83','bin:10: 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing parameter for operation 'bin'\n"}], # These ensures the '1' is not accidentally parsed as the field number ['e84','bin:10:1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'bin'\n"}], ['e85','bin:10, 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'bin'\n"}], ['e86','bin:, 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid parameter , for operation 'bin'\n"}], ['e87','bin, 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'bin'\n"}], ['e88','bin:- 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid parameter - for operation 'bin'\n"}], ['e89','sum:10 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: too many parameters for operation 'sum'\n"}], # Invalid field specifications for primary operations ['e90', 'groupby 1:2', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid field pair for operation 'groupby'\n"}], # values for strbin operation ['e92','strbin:- 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid parameter - for operation 'strbin'\n"}], ['e93','strbin:0 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: strbin bucket size must not be zero\n"}], # values for percentile operation ['e94','perc:0 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid percentile value 0\n"}], ['e95','perc:101 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid percentile value 101\n"}], ['e96','perc:foo 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid parameter foo for operation 'perc'\n"}], ['e97','perc:-32 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid parameter - for operation 'perc'\n"}], ['e98','perc:1:2 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: too many parameters for operation 'perc'\n"}], # Invalid output delimiters ['e100', '--output-delimiter', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/requires an argument -- output-delimiter/' . '\'--output-delimiter\' requires an argument/'}, {ERR=>"$prog: option '--output-delimiter' requires an argument\n". "Try '$prog --help' for more information.\n"}], ['e101', '--output-delimiter ""', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: the delimiter must be a single character\n"}], ['e102', '--output-delimiter "XX"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: the delimiter must be a single character\n"}], # values for trimmean operation ['e103','trimmean:12 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid trim mean value 12 (expected 0 <= X <= 0.5)\n"}], ['e104','trimmean:0.51 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid trim mean value 0.51 (expected 0 <= X <= 0.5)\n"}], ['e105','trimmean:-32 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid parameter - for operation 'trimmean'\n"}], ['e106','trimmean:1:2 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: too many parameters for operation 'trimmean'\n"}], # Rounding ['e110','--round ""', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing rounding digits value\n"}], ['e111','--round "3a"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid rounding digits value '3a'\n"}], # Rounding Currently hard-coded to 1 to 50 decimal-point digits. ['e112','--round "0"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid rounding digits value '0'\n"}], ['e113','--round "51"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid rounding digits value '51'\n"}], # Custom Output Formats ['e120','--format ""', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '' has no % directive\n"}], ['e121','--format "foobar"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format 'foobar' has no % directive\n"}], ['e122','--format "aa%%ff"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format 'aa%%ff' has no % directive\n"}], ['e123','--format "%Lg"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%Lg' has unknown/invalid type %L directive\n"}], ['e124','--format "%*g"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%*g' has unknown/invalid type %* directive\n"}], ['e125','--format "%g %f"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%g %f' has too many % directives\n"}], ['e126','--format "%"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%' missing valid type after '%'\n"}], ['e127','--format "%3"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%3' missing valid type after '%'\n"}], ['e128','--format "%#.4"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%#.4' missing valid type after '%'\n"}], ['e129','--format "%f%"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%f%' has too many % directives\n"}], ['e130','--format "%f%3"', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: format '%f%3' has too many % directives\n"}], # identifier scanning errors ['e140',"-H sum 'foo\\'", {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: backslash at end of identifier\n"}], ['e141',"-H sum $ident_too_long", {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: identifier name too long\n"}], # invalid numeric input data ['e150', 'sum 1', {IN_PIPE=>"1.2.3\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 1 field 1: '1.2.3'\n"}], ['e151', 'sum 1', {IN_PIPE=>"1.2.3\t4.5\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 1 field 1: '1.2.3'\n"}], ['e152', 'sum 2', {IN_PIPE=>"1.2\t3.4.5\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 1 field 2: '3.4.5'\n"}], # bad seeds ['e153', '-S1.1 rand 1', {IN_PIPE=>"1\n"}, {EXIT=>1}, {ERR=>"$prog: invalid seed\n"}], ['e154', '-S-1 rand 1', {IN_PIPE=>"1\n"}, {EXIT=>1}, {ERR=>"$prog: invalid seed\n"}], ['e155', '-Sa rand 1', {IN_PIPE=>"1\n"}, {EXIT=>1}, {ERR=>"$prog: invalid seed\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-i18n-de.pl0000754000000000000000000000754014771573715013251 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - check German locale (de_DE.UTF-8). Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon and Timothy Rice. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; ## Skip this test if Deutsche (German) locale not found. use POSIX qw(locale_h); use locale; my $lc_de = setlocale(LC_ALL, "de_DE.utf8"); CuSkip::skip "requires de_DE.utf8 locale\n" unless defined($lc_de); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; ## Portability hack ## Check if the system's sort supports stable sorting ('-s'). ## If it doesn't - skip some tests my $rc = system("sort -s < /dev/null > /dev/null 2>/dev/null"); die "testing framework failure: failed to execute sort -s" if ( ($rc == -1) || ($rc & 127) ); my $sort_exit_code = ($rc >> 8); my $have_stable_sort = ($sort_exit_code==0); # Deutsche Prüfungen @ENV{qw(LANGUAGE LANG LC_ALL)} = ('de_DE.utf8') x 3; my @Prufungen = ( # Prüfen Sie, ob das Komma als Dezimaltrennzeichen funktioniert ['de1', 'sum 1', {IN_PIPE=>"1,1\n"}, {OUT=>"1,1\n"}], ['de2', 'sum 1,2', {IN_PIPE=>"1,1\t2,2\n"}, {OUT=>"1,1\t2,2\n"}], ['de3', 'count 1,2,3', {IN_PIPE=>"1,1\t2,2\t3,3\n"}, {OUT=>"1\t1\t1\n"}], # There is a bug where the bin operation does not respect # the locale's choice of decimal separator. # TODO: Be able to uncomment the following line. #['de4', 'bin:0,1 1' {IN_PIPE=>"1,15\n"}, {OUT=>"1,1\n"}], # Comma as field separator is problematic for numeric operations ['de5', '-t, cut 2,1', {IN_PIPE=>"1,2\n"}, {OUT=>"2,1\n"}], ['de6', '-t, unique 1,2', {IN_PIPE=>"1,2\n"}, {OUT=>"1,2\n"}], ['de7', '-t, count 1,2', {IN_PIPE=>"1,2\n"}, {OUT=>"1,1\n"}], ['de8', '-t, countunique 1,2', {IN_PIPE=>"1,2\n"}, {OUT=>"1,1\n"}], ['de9', '-t, rmdup 1', {IN_PIPE=>"1,2\n"}, {OUT=>"1,2\n"}], ['de10', '-t, rmdup 2', {IN_PIPE=>"1,2\n"}, {OUT=>"1,2\n"}], ['de11', '-t, sum 1,2', {IN_PIPE=>"1,2\n"}, {OUT=>"1,2\n"}], ['de12', '-t, sum 1,2,3', {IN_PIPE=>"1,2,3\n"}, {OUT=>"1,2,3\n"}], ['de13', '-st, groupby 1 sum 2,3', {IN_PIPE=>"a,14,1\nb,1,14\na,2,1\n"}, {OUT=>"a,16,2\nb,1,14\n"}], # TODO: make the getnum operation locale-aware #['de14', 'getnum 1', {IN_PIPE=>"bar-1,2\n"}, {OUT=>"1,2\n"}], #['de15', 'getnum:p 1', {IN_PIPE=>"bar-1,2\n"}, {OUT=>"1,2\n"}], #['de16', 'getnum:d 1', {IN_PIPE=>"bar-1,2\n"}, {OUT=>"-1,2\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Prufungen, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-io-errors-cheap.sh0000754000000000000000000000241314771573715015074 #!/bin/sh # Unit Tests for GNU Datamash - simple I/O error simulation # Copyright (C) 2022 Erik Auerswald # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash. If not, see . # # Written by Erik Auerswald, # based on datamash-io-errors.sh written by Assaf Gordon ## ## This script tests GNU Datamash's handling of basic I/O errors. ## . "${test_dir=.}/init.sh"; path_prepend_ ./src fail=0 ## ## This test requires the special file /dev/full ## test -w /dev/full || skip_ 'requires writable /dev/full' ## Test 1: output error echo 0 | datamash -g 1 count 1 > /dev/full && { warn_ "datamash failed to detect no-space error" ; fail=1 ; } Exit $fail datamash-1.9/tests/datamash-io-errors.sh0000754000000000000000000000731014771573715014017 #!/bin/sh # Unit Tests for GNU Datamash - I/O error simulation # Copyright (C) 2014-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash. If not, see . # # Written by Assaf Gordon ## ## This script tests datamash's handling of I/O errors. ## It requires special setup, and is skipped unless found. ## . "${test_dir=.}/init.sh"; path_prepend_ ./src expensive_ fail=0 ## ## The required mounted file-systems ## FULLFS=/tmp/fullfs/ BADFS=/tmp/badfs/ which mountpoint >/dev/null 2>&1 || skip_ "requires mountpoint program" stdbuf --version >/dev/null 2>&1 || skip_ "requires GNU stdbuf program" stat --version >/dev/null 2>&1 || skip_ "requires GNU stat program" mountpoint -q "$FULLFS" || skip_ "requires special mounted file system '$FULLFS'" mountpoint -q "$BADFS" || skip_ "requires special mounted file system '$BADFS'" ## ## Clean files in the (almost) full file-system. ## This will ensure few writes are successful before getting "no space" error ## (unlike "/dev/full"). ## clean_full_fs() { find "$FULLFS" -maxdepth 1 -type f -delete || framework_failure_ "failed to clean full-fs" # Give the system time to actually delete the files fullfs_retries=1 FREE=0 while test $fullfs_retries -lt 5 && test $FREE -le 5 ; do sync ; sleep 1 FREE=$(stat --file-system -c %a "$FULLFS") || framework_failure_ "failed to find free space on $FULLFS" fullfs_retries=$((fullfs_retries+1)) done # Ensure the (almost) full file system has a bit of free space... test "$FREE" -gt 5 || framework_failure_ "almost-full-file system has no free space" # ... but not too much (otherwise the program will not get "no space" errors). test "$FREE" -lt 64 || framework_failure_ "almost-full-file system has too much free spcae" } ## ## Sanity checks: ## 1. Ensure the corrupted file system is corrupted cat "$BADFS/numbers.txt" >/dev/null 2>&1 && framework_failure_ "corrupted file system did not trigger I/O error" ## 2. Ensure the (almost) full file system gets full clean_full_fs seq 10000 >"$FULLFS/test.txt" 2>/dev/null && framework_failure_ "almost full file system did not trigger no-space error" clean_full_fs ## Test 1: ## input error, reading file directly datamash sum 1 < "$BADFS/numbers.txt" >/dev/null && { warn_ "datamash failed to detect read error" ; fail=1 ; } ## Test 2: ## input error, using sort (and popen/pipe) datamash -s -g 1 sum 1 < "$BADFS/numbers.txt" >/dev/null && { warn_ "datamash+sort failed to detect read error" ; fail=1 ; } ## Test 3: ## output error, default line-buffering seq 10000 | datamash -g 1 count 1 > "$FULLFS/test.txt" && { warn_ "datamash failed to detect no-space error" ; fail=1 ; } clean_full_fs ## Test 4: ## output error, with line-buffering. ## This means few of the first "write()" calls will succeed, ## and later ones should fail with "no space" (which is different than ## writing to "/dev/full"). seq 10000 | stdbuf -oL datamash -g 1 count 1 > "$FULLFS/test.txt" && { warn_ "datamash failed to detect no-space error" ; fail=1 ; } clean_full_fs Exit $fail datamash-1.9/tests/datamash-md5.pl0000754000000000000000000000571214771573715012570 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - tests md5 operations Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut ## NOTE: Digest::MD5 is supposed to be a core module, ## but some OSes don't distributed it (e.g. CentOS 7 requires ## a separate package 'perl-Digest-MD5'). ## If not available, skip this tests (instead of failing). use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); ## Perl 5.8 and earlier do not have Digest::SHA as core module. ## Skip the test if it is not found. my $have_sha = eval qq{use Digest::MD5 qw(md5_hex);1;}; CuSkip::skip "requires Perl with Digest::MD5 module\nload error:\n$@" unless $have_sha; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in_g1=<<'EOF'; A 100 A 10 A 50 A 35 EOF # Header line, with custom field separator my $in_hdr2=<<'EOF'; x:y:z A:3:W A:5:W A:7:W A:11:X A:13:X B:17:Y B:19:Z C:23:Z EOF =pod Example: my $data = "a 1\nb 2\n"; my $out = transform_column($data, 2, \&md5_hex); # out => md5_hex("1") . "\n" . md5_hex("2") . "\n" ; =cut sub transform_column($$$) { my $input_text = shift; my $input_column = shift; my $function = shift; return join "", map { "$_\n" } map { &$function($_->[ $input_column - 1 ]) } map { [ split / / ] } split("\n", $input_text); } # md5 of the second column of '$in_g1' my $out_g1_md5 = transform_column ($in_g1, 2, \&md5_hex); my @Tests = ( ['md5-1', '-W md5 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_md5}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-output-format.pl0000754000000000000000000001062514771573715014730 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2018-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; ## ## This script tests output format options ## # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog = 'datamash'; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<'EOF'; 1.000004 0.000005 EOF my @Tests = ( # Test Rouding ['r1', 'sum 1' , {IN_PIPE=>$in1}, {OUT => "1.000009\n"}], ['r2', '--round 1 sum 1' , {IN_PIPE=>$in1}, {OUT => "1.0\n"}], ['r3', '--round 3 sum 1' , {IN_PIPE=>$in1}, {OUT => "1.000\n"}], ['r4', '--round 5 sum 1' , {IN_PIPE=>$in1}, {OUT => "1.00001\n"}], ['r5', '--round 6 sum 1' , {IN_PIPE=>$in1}, {OUT => "1.000009\n"}], ['r6', '--round 7 sum 1' , {IN_PIPE=>$in1}, {OUT => "1.0000090\n"}], # Test short rounding option ['r7', '-R 7 sum 1', {IN_PIPE=>$in1}, {OUT => "1.0000090\n"}], # Test multiple rounding options ['r8', '--round 3 -R 7 sum 1', {IN_PIPE=>$in1}, {OUT => "1.0000090\n"}], ['r9', '--round 7 -R 3 sum 1', {IN_PIPE=>$in1}, {OUT => "1.000\n"}], # Test Custom formats: %f ['f1', '--format "%07.3f" sum 1', {IN_PIPE=>$in1}, {OUT => "001.000\n"}], ['f2', '--format "%.7f" sum 1', {IN_PIPE=>$in1}, {OUT => "1.0000090\n"}], ['f3', '--format "%10f" sum 1', {IN_PIPE=>$in1}, {OUT => " 1.000009\n"}], ['f4', '--format "%-10f" sum 1', {IN_PIPE=>$in1}, {OUT => "1.000009 \n"}], ['f5', '--format "%+10f" sum 1', {IN_PIPE=>$in1}, {OUT => " +1.000009\n"}], # Test %#f (alternate form: always show decimal point) ['f6', '--format "%.0f" sum 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], ['f7', '--format "%#.0f" sum 1', {IN_PIPE=>$in1}, {OUT => "1.\n"}], # Test Custom formats: %g ['g1', '--format "%g" sum 1', {IN_PIPE=>$in1}, {OUT => "1.00001\n"}], ['g2', '--format "%10g" sum 1', {IN_PIPE=>$in1}, {OUT => " 1.00001\n"}], ['g3', '--format "%010g" sum 1', {IN_PIPE=>$in1}, {OUT => "0001.00001\n"}], ['g4', '--format "%.10g" sum 1', {IN_PIPE=>$in1}, {OUT => "1.000009\n"}], ['g5', '--format "%.3g" sum 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], # Test %#g (alternate form: don't trim zero decimal digits) ['g6', '--format "%.4g" sum 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], ['g7', '--format "%#.4g" sum 1', {IN_PIPE=>$in1}, {OUT => "1.000\n"}], # Test Custom formats: %e ['e1', '--format "%e" sum 1', {IN_PIPE=>$in1}, {OUT=>"1.000009e+00\n"}], ['e2', '--format "%.3e" sum 1', {IN_PIPE=>$in1}, {OUT=>"1.000e+00\n"}], # Test Custom formats: %a # Disable the test for now. Valid output can differ (e.g. 0x8.000p-3 and # 0x1.000p0 ). # ['a1', '--format "%0.3a" sum 1', {IN_PIPE=>$in1}, {OUT=>"0x8.000p-3\n"}], # Custom formats can use lots of memory ['m1', '--format "%04000.0f" sum 1', {IN_PIPE=>$in1}, {OUT => "0" x 3999 . "1\n"}], # due to binary floating representation, some decimal point digits won't be # zero (e.g. 1.0000090000000000000000000000000523453254320000000... or # 1.000008999999...). # The OUT_SUBST replaces exactly 3995 digits (as expected from the format) # with an "X". ['m2', '--format "%.4000f" sum 1', {IN_PIPE=>$in1}, {OUT => "1.00000X\n"}, {OUT_SUBST => 's/^(1\.00000)([0-9]{3995})$/\1X/'}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-pair-tests.pl0000644000000000000000000001445114771573715014174 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; ## ## Portability hack: ## find the exact wording of 'nan' and inf (not-a-number). ## It's lower case in GNU/Linux,FreeBSD,OpenBSD, ## but is "NaN" on Illumos/OpenSolaris my $nan = `$prog ---print-nan`; die "test infrastructure failed: can't determine 'nan' string" unless $nan; my $inf = `$prog ---print-inf`; die "test infrastructure failed: can't determine 'inf' string" unless $inf; =pod Equivalent R code pop.sd=function(x)(sqrt(var(x)*(length(x)-1)/length(x))) smp.sd=sd # alternatively, use the built-in covariance function: # smp.cov=cov smp.cov <- function(x,y) { stopifnot(identical(length(x), length(y))) sum((x - mean(x)) * (y - mean(y))) / (length(x) - 1) } pop.cov <- function(x,y) { stopifnot(identical(length(x), length(y))) sum((x - mean(x)) * (y - mean(y))) / (length(x) ) } # alternative, use the built-in covariance fuction: # smp.pearsoncor=cor smp.pearsoncor=function(x,y) { smp.cov(x,y)/ ( smp.sd(x)*smp.sd(y) ) } pop.pearsoncor=function(x,y) { pop.cov(x,y)/ ( pop.sd(x)*pop.sd(y) ) } in1.x=c(-0.49,0.14,1.62,2.76,-0.46,3.28,-0.01,2.90,2.46,1.52) in1.y=c(-0.21,-0.16,1.86,1.81,0.39,4.17,0.38,1.90,2.69,0.78) in2.x = c(1.599,-1.011,-1.687,5.070,6.944,7.934,2.134,5.150, 10.197,11.427,10.379,14.867,11.399,13.479,18.328,16.573, 17.804,18.694,16.690,21.805) in2.y = seq(20) =cut my $in1=<<"EOF"; -0.49 -0.21 0.14 -0.16 1.62 1.86 2.76 1.81 -0.46 0.39 3.28 4.17 -0.01 0.38 2.90 1.90 2.46 2.69 1.52 0.78 EOF my $out1_scov=<<'EOF'; 1.802 EOF my $out1_pcov=<<'EOF'; 1.622 EOF my $out1_pcov_hdr=<<'EOF'; pcov(field-1,field-2) 1.622 EOF my $out1_dotprod_hdr=<<'EOF'; dotprod(field-1,field-2) 34.896 EOF my $in2=<<'EOF'; 1.599 1 -1.011 2 -1.687 3 5.070 4 6.944 5 7.934 6 2.134 7 5.150 8 10.197 9 11.427 10 10.379 11 14.867 12 11.399 13 13.479 14 18.328 15 16.573 16 17.804 17 18.694 18 16.690 19 21.805 20 EOF my $out2_p=<<'EOF'; 0.944 EOF my $out2_s=<<'EOF'; 0.944 EOF my $in3=<<'EOF'; 1 2 EOF my $in4=<<'EOF'; NA NA EOF my $in5=<<'EOF'; 1 2 2 NA 3 6 EOF my $in6=<<'EOF'; x y 1 0.5 2 1 3 1.5 4 2 EOF my $out6_pcov_hdr=<<'EOF'; pcov(x,y) 0.625 EOF my $out6_scov_hdr=<<'EOF'; scov(x,y) 0.833 EOF my $out6_ppears_hdr=<<'EOF'; ppearson(x,y) 1 EOF my $out6_spears_hdr=<<'EOF'; spearson(x,y) 1 EOF my $out6_dotprod_hdr=<<'EOF'; dotprod(x,y) 15 EOF my @Tests = ( ['c1', 'scov 1:2', {IN_PIPE=>$in1}, {OUT=>$out1_scov}], ['c2', 'pcov 1:2', {IN_PIPE=>$in1}, {OUT=>$out1_pcov}], ['dp1', 'dotprod 1:2', {IN_PIPE=>$in1}, {OUT=>"34.896\n"}], # Pair with output headers - only one field and header should be printed ['c3', '--header-out pcov 1:2', {IN_PIPE=>$in1}, {OUT=>$out1_pcov_hdr}], ['c3_hin_p', '-W --header-in --header-out pcov x:y', {IN_PIPE=>$in6}, {OUT=>$out6_pcov_hdr}], ['c3_hin_s', '-W --header-in --header-out scov x:y', {IN_PIPE=>$in6}, {OUT=>$out6_scov_hdr}], ['p1', 'ppearson 1:2', {IN_PIPE=>$in2}, {OUT=>$out2_p}], ['p1_hin', '-W --header-in --header-out ppearson x:y', {IN_PIPE=>$in6}, {OUT=>$out6_ppears_hdr}], ['p2', 'spearson 1:2', {IN_PIPE=>$in2}, {OUT=>$out2_s}], ['p2_hin', '-W --header-in --header-out spearson x:y', {IN_PIPE=>$in6}, {OUT=>$out6_spears_hdr}], ['dp2', '--header-out dotprod 1:2', {IN_PIPE=>$in1}, {OUT=>$out1_dotprod_hdr}], ['dp3', '-W --header-in --header-out dotprod x:y', {IN_PIPE=>$in6}, {OUT=>$out6_dotprod_hdr}], # Test operations on edge-cases of input (one items, no items, # different number of items) ['c4', 'scov 1:2', {IN_PIPE=>$in3}, {OUT=>"$nan\n"}], ['p4', 'spearson 1:2', {IN_PIPE=>$in3}, {OUT=>"$nan\n"}], ['c5', '--narm scov 1:2', {IN_PIPE=>$in4}, {OUT=>"$nan\n"}], ['p5', '--narm spearson 1:2', {IN_PIPE=>$in4}, {OUT=>"$nan\n"}], ['dp5', '--narm dotprod 1:2', {IN_PIPE=>$in4}, {OUT=>"$nan\n"}], ['c6', '--narm scov 1:2', {IN_PIPE=>$in5}, {EXIT=>1}, {ERR=>"$prog: input error for operation 'scov': " . "fields 1,2 have different number of items\n"}], ['p6', '--narm spearson 1:2', {IN_PIPE=>$in5}, {EXIT=>1}, {ERR=>"$prog: input error for operation 'spearson': " . "fields 1,2 have different number of items\n"}], ['dp6', '--narm dotprod 1:2', {IN_PIPE=>$in5}, {EXIT=>1}, {ERR=>"$prog: input error for operation 'dotprod': " . "fields 1,2 have different number of items\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; ## ## For each test, trim the resulting value to maximum three digits ## after the decimal point. ## for my $t (@Tests) { push @{$t}, {OUT_SUBST=>'s/^(-?\d+\.\d{1,3})\d*/\1/'}; } my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-parser.pl0000754000000000000000000002404414771573715013376 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<"EOF"; A\t100\tx A\t10\tx B\t10\tx B\t35\ty EOF my $in2=<<"EOF"; 1 2 3 4 5 6 7 8 9 10 EOF my $out2=<<'EOF'; 7 9 11 13 15 EOF ## NOTE: these tests check the parser behaviour, ## while ignoring the exact wording of the error messages. ## The 'datamash-error-msgs.pl' checks the exact message wording. ## (ERR_SUBST is used to discard the text of STDERR) my @Tests = ( # no explicit mode - 'sum' implies 'group by' without any columns - # operate on entire file. ['p1', 'sum 2', {IN_PIPE=>$in1}, {OUT=>"155\n"}], # 'old' syntax - with '-g' ['p2', '-g 1 sum 2', {IN_PIPE=>$in1}, {OUT=>"A\t110\nB\t45\n"}], # 'new' syntax - without '-g' ['p3', 'groupby 1 sum 2', {IN_PIPE=>$in1}, {OUT=>"A\t110\nB\t45\n"}], ['p4', 'gb 1 sum 2', {IN_PIPE=>$in1}, {OUT=>"A\t110\nB\t45\n"}], # group by multiple columns ['p5', 'gb 1,3 sum 2', {IN_PIPE=>$in1}, {OUT=>"A\tx\t110\nB\tx\t10\nB\ty\t35\n"}], # operate by multiple columns with comma ['p6', 'gb 1 last 2,3', {IN_PIPE=>$in1}, {OUT=>"A\t10\tx\nB\t35\ty\n"}], # many groupby columns, force the parser to allocate more array items ['p7', 'gb 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23' . ',24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,44' . ',45,46,47,48,49,50 sum 2', {IN_PIPE=>""}, {OUT=>""}], # many operator columns, force the parser to allocate more array items ['p8', 'gb 1 sum 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22' . ',23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,44' . ',45,46,47,48,49,50', {IN_PIPE=>""}, {OUT=>""}], # Invalid numeric value for column prasing should be treated as named column ['p9', 'sum 1x', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Processing mode without operation ['p10','groupby 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # invalid operation after valid mode ['p11','groupby 1 foobar 2', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # missing field number after processing mode ['p12','groupby', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # field range syntax ['p20','sum 1-44', {IN_PIPE=>""}, {OUT=>""}], # compare results of equivalent syntaxes ['p21','sum 1,2,3,4,5', {IN_PIPE=>$in2}, {OUT=>$out2}], ['p22','sum 1-2,3-4,5', {IN_PIPE=>$in2}, {OUT=>$out2}], ['p23','sum 1-2,3-5', {IN_PIPE=>$in2}, {OUT=>$out2}], ['p24','sum 1-4,5', {IN_PIPE=>$in2}, {OUT=>$out2}], ['p25','sum 1-5', {IN_PIPE=>$in2}, {OUT=>$out2}], ['p26','sum 1 sum 2 sum 3 sum 4 sum 5', {IN_PIPE=>$in2}, {OUT=>$out2}], ['p27','sum 1,2 sum 3-5', {IN_PIPE=>$in2}, {OUT=>$out2}], # 'check' options ['p30','check', {IN_PIPE=>""}, {OUT=>"0 lines, 0 fields\n"}], ['p31','check foo', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['p32','check 10', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['p33','check lines lines', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['p34','check 1 line fields', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['p35','check 10 foo', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Field range with invalid syntax ['e20','sum 1-', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e21','sum 1-x', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e22','sum 4-2', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # zero in range ['e23','sum 0-2', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e24','sum 1-0', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], #Negative in range ['e25','sum 1--5', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Test field pair syntaax ['p40','pcov 1:2', {IN_PIPE=>""}, {OUT=>""}], ['e41','pcov 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e42','pcov 1:', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e43','pcov :', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e44','pcov :1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e46','pcov hello:world', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e47','sum 1:3', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['p50','dotprod 1:2', {IN_PIPE=>""}, {OUT=>""}], ['e51','dotprod 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e52','dotprod 1:', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e53','dotprod :', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e54','dotprod :1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e56','dotprod hello:world', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Test scanner edge-cases # Floating point value ['e60','sum 4.5', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e61','sum 4.', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # invalid numbers ['e62','sum 4a', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e63','sum 4_', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Overflow strtol ['e64','sum 1234567890123456789012345678901234567', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Invalid charcters ['e65','sum "foo^bar"', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Empty columns ['e66','sum 1,,', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Range with names instead of numbers ['e67','sum foo-bar', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Valid identifiers with undersocres ['s66','--header-in sum foo_bar', {IN_PIPE=>"foo_bar\n1\n"}, {OUT=>"1\n"}], ['s67','--header-in sum _bar', {IN_PIPE=>"_bar\n1\n"}, {OUT=>"1\n"}], # Binning, and optional parameters ['b31','bin 1', {IN_PIPE=>""}, {OUT=>""}], ['b32','bin:10 1', {IN_PIPE=>""}, {OUT=>""}], ['b33','bin:1.5 1', {IN_PIPE=>""}, {OUT=>""}], ['b34','bin 1,2', {IN_PIPE=>""}, {OUT=>""}], ['b35','bin:1 1,2', {IN_PIPE=>""}, {OUT=>""}], ['e70','bin:10:30 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e71','bin: 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e72','sum: 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e73','bin:10: 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e74','bin:10:1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e75','bin:10, 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e76','bin:, 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e77','bin, 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e78','bin:- 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e79','sum:10 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e30','bin :10 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e31','bin : 10 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e32','bin : 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e33','bin:1,2 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e34','bin:-2 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e35','bin 1:2', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Field specifications for primary operations ['e90', 'groupby 1:2', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['e91', 'groupby 1-2', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], # Test corner cases to avoid introducing unintended changes in behavior # The parser allows some optional whitespace ['cc0', '" sum 1 , 2"', {IN_PIPE=>""}, {OUT=>""}], ['cc1', '" sum 1, 2"', {IN_PIPE=>""}, {OUT=>""}], ['cc2', '" sum 1 ,2"', {IN_PIPE=>""}, {OUT=>""}], ['cc3', '" sum 1 - 3"', {IN_PIPE=>""}, {OUT=>""}], ['cc4', '" sum 1- 3"', {IN_PIPE=>""}, {OUT=>""}], ['cc5', '" sum 1 -3"', {IN_PIPE=>""}, {OUT=>""}], ['cc6', '" pcov 1 : 2"', {IN_PIPE=>""}, {OUT=>""}], ['cc7', '" gb 1 , 2 sum 3"', {IN_PIPE=>""}, {OUT=>""}], # Trailing whitespace leads to failures (could be seen as parser bug) ['cce0', '"sum 1 "', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['cce1', "'sum 1\t'", {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['cce2', '"pcov 1:2 "', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ['cce3', '"gb 1,2 sum 3 "', {IN_PIPE=>""}, {EXIT=>1}, {ERR_SUBST=>'s/.*//s'}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-rand.pl0000754000000000000000000000350314771573715013023 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - tests rand operations Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Tim Rice. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in=<<'EOF'; A A A B B A B B EOF my $out=<<'EOF'; A B B A EOF my @Tests = ( ['r1', '-W -S0 groupby 1 rand 2', {IN_PIPE=>$in}, {OUT=>$out}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-rand.sh0000754000000000000000000000570114771573715013024 #!/bin/sh # Unit Tests for GNU Datamash - perform simple calculation on input data # Copyright (C) 2014-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash. If not, see . # # Written by Assaf Gordon ## ## This script tests the randomness of the 'rand' operation ## . "${test_dir=.}/init.sh"; path_prepend_ ./src fail=0 require_paste_ ## Ensure seq is useable openbsd_seq_replacement_ seq 10 >/dev/null 2>/dev/null || skip_ "requires a working seq" ## ## --- First test --- ## ## select a random number between 0 and 9, ## repeat selection for 1000 times. ## Each digit should be returned at least once ## (unless we're extremely unlucky...) INPUT=$(seq 0 9) || framework_failure_ "generating INPUT failed" for i in $(seq 1000) ; do echo "$INPUT" | datamash rand 1 done > out_rand1 || framework_failure_ "test1 failed: datamash error" ## First Check: each number should be there once RESULT=$(cat out_rand1 | sort -n | uniq | paste -d , -s -) || framework_failure_ "test1 failed: error preparing first check" [ "$RESULT" = "0,1,2,3,4,5,6,7,8,9" ] || { warn_ "test1 failed. RESULT='$RESULT'." ; fail=1 ; } ## Second check - we expect (hope?) the distribution is uniform, ## and each number appears more-or-less equaly. ## This is a poor-man's way of quasi-validation... ## Using 'datamash', count how many times each number appears, ## then, find the smallest count - in a uniform distribution, ## we expect each number to appear close to 100 times (1000 draws of 10 items). ## ## NOTE: ## We use 'datamash' to validate itself... but only after assuming the ## basic operations (sort, group, count, min) have been already tested. RESULT=$(cat out_rand1 | datamash --sort --group 1 count 1 | datamash min 2) || framework_failure_ "test1 failed: error preparing second check" ## We set the cut-off at 60 - if any number appeared less than 60 times, ## we *might* have a problem in the uniform randomness in 'datamash'. if [ "$RESULT" -lt "60" ] ; then warn_ "Possible unifority problem in 'rand' operation." echo "--- distribution of numbers ---" cat out_rand1 | datamash --sort --group 1 count 1 echo "--- end ---" echo "--- 1000 random draws start here---" cat out_rand1 echo "---- end ----" fail=1 fi Exit $fail datamash-1.9/tests/datamash-sha.pl0000754000000000000000000000705214771573715012655 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - tests sha1/256/5125 operations Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut ## NOTE: Perl<5.10 don't have Digest::SHA core module - ## So skip only those tests if needed. ## Other line operations (e.g. md5/base64) are tested in the main ## unit test module 'datamash-tests.pl'. use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); ## Perl 5.8 and earlier do not have Digest::SHA as core module. ## Skip the test if it is not found. my $have_sha = eval qq{use Digest::SHA qw(sha1_hex sha224_hex sha256_hex sha384_hex sha512_hex);1;}; CuSkip::skip "requires Perl>5.8 with Digest::SHA module\nload error:\n$@" unless $have_sha; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin --foobar 2>&1 | head -n 1 | cut -f1 -d:`; chomp $prog if $prog; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in_g1=<<'EOF'; A 100 A 10 A 50 A 35 EOF # Header line, with custom field separator my $in_hdr2=<<'EOF'; x:y:z A:3:W A:5:W A:7:W A:11:X A:13:X B:17:Y B:19:Z C:23:Z EOF =pod Example: my $data = "a 1\nb 2\n"; my $out = transform_column($data, 2, \&md5_hex); # out => md5_hex("1") . "\n" . md5_hex("2") . "\n" ; =cut sub transform_column($$$) { my $input_text = shift; my $input_column = shift; my $function = shift; return join "", map { "$_\n" } map { &$function($_->[ $input_column - 1 ]) } map { [ split / / ] } split("\n", $input_text); } my $out_g1_sha1 = transform_column ($in_g1, 2, \&sha1_hex); my $out_g1_sha224 = transform_column ($in_g1, 2, \&sha224_hex); my $out_g1_sha256 = transform_column ($in_g1, 2, \&sha256_hex); my $out_g1_sha384 = transform_column ($in_g1, 2, \&sha384_hex); my $out_g1_sha512 = transform_column ($in_g1, 2, \&sha512_hex); my @Tests = ( ['sha1-1', '-W sha1 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_sha1}], ['sha224-1','-W sha224 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_sha224}], ['sha256-1','-W sha256 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_sha256}], ['sha384-1','-W sha384 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_sha384}], ['sha512-1','-W sha512 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_sha512}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-show-env.sh0000754000000000000000000000200214771573715013635 #!/bin/sh # Unit Tests for GNU Datamash - perform simple calculation on input data # Copyright (C) 2014-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash. If not, see . # # Written by Assaf Gordon ### DEBUG Helper to show the ENV echo "Debug Helper" echo "-----ENV------" env echo echo echo "-----PWD------" pwd echo echo exit 0 datamash-1.9/tests/datamash-sort-errors.sh0000754000000000000000000000661614771573715014407 #!/bin/sh # Unit Tests for GNU Datamash - perform simple calculation on input data # Copyright (C) 2014-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash. If not, see . # # Written by Assaf Gordon ## ## This script tests the sort piping code for errors ## . "${test_dir=.}/init.sh"; path_prepend_ ./src fail=0 require_paste_ ## Ensure seq is useable openbsd_seq_replacement_ seq 10 >/dev/null 2>/dev/null || skip_ "requires a working seq" ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. PROG_ARGV0=$(datamash --foobar 2>&1 | head -n 1 | cut -f1 -d:) [ -z "$PROG_ARGV0" ] && PROG_ARGV0="datamash" ## ## ## Test preparations ## ## GROUPPARAM=$(seq 1000 2000 | paste -d "," -s -) || framework_failure_ "failed to construct too-long group parameter" ## The expected error message when 'sort' is not found printf 'sh: sort: not found\ndatamash: read error (on close)' > exp_err2 || framework_failure_ "failed to create exp_err2" ## ## Create a bad 'sort' executable, to simulate failed pipe/popen ## BADDIR1=$(mktemp -d bad_sort.XXXXXX) || framework_failure_ "Failed to create temp directory for bad-sort" printf "#!/foo/bar/bad/interpreter" > "$BADDIR1/sort" || framework_failure_ "Failed to create bad-sort: $BADDIR1/sort" chmod a+x "$BADDIR1/sort" || framework_failure_ "failed to make bad-sort executable" ORIGPATH=$PATH ## The directory where the "datamash' executable is DATAMASHDIR=$(dirname $(which datamash)) test -z "$DATAMASHDIR" && framework_failure_ "failed to find datamash's directory" ## Create a 'sort' which will crash BADDIR=$(mktemp -d badsort.XXXXXX) || framework_failure_ "failed to create bad-sort-dir" echo '#!/bin/sh read A echo "$A" read B echo "$B" Z=0 C=$((1/$Z)) ' > "$BADDIR/sort" || framework_failure_ "failed to create $BADDIR/sort" chmod a+x "$BADDIR/sort" || framework_failure_ "failed to make $BADDIR/sort executable" ## ## Tests start here ## ## ## Test with non-existing 'sort' executable, by giving an invalid path ## ## NOTE: This run SHOULD return an error, hence the "&&" instead of "||" ## seq 10 | datamash --sort --sort-cmd=/not/a/sort -g 1 sum 1 && { warn_ "datamash --sort with non existing 'sort' did not fail " \ "(it should have failed)" ; fail=1 ; } ## ## Test with a 'sort' that crashes ## NOTE: This run SHOULD return an error, hence the "&&" instead of "||" ## seq 10 | datamash --sort --sort-cmd="${BADDIR}/sort" -g 1 sum 1 && { warn_ "datamash --sort with crashing 'sort' did not fail " \ "(it should have failed)" ; fail=1 ; } Exit $fail datamash-1.9/tests/datamash-sort-header-deprecated.pl0000754000000000000000000000622014771573715016411 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2022-2025 Timothy Rice Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon and Tim Rice. =cut use strict; use warnings; use List::Util qw/max/; use Data::Dumper; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin --foobar 2>&1 | head -n 1 | cut -f1 -d:`; chomp $prog if $prog; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; # An unsorted input with a header line my $INFILE=<<'EOF'; x y z A % 1 B ( 2 A & 3 B = 4 EOF my @INFILE_lines = split /\n/, $INFILE, -1; my $INFILE_NO_HEADER = join("\n", @INFILE_lines[1..$#INFILE_lines]); my $exp_sort_in_header_full=<<'EOF'; A % 1 1,3 B ( 2 2,4 EOF my $exp_sort_out_header_full=<<'EOF'; field-1 field-2 field-3 unique(field-3) A % 1 1,3 B ( 2 2,4 EOF my $exp_sort_headers_full=<<'EOF'; x y z unique(z) A % 1 1,3 B ( 2 2,4 EOF my $deprecation_notice="$prog: Using -f/--full with non-linewise " . "operations is deprecated and will be disabled " . "in a future release.\n"; my @Tests = ( ['shdep01', '-t " " --sort --full --header-out -g 1 unique 3', {IN_PIPE=>$INFILE_NO_HEADER}, {OUT=>$exp_sort_out_header_full}, {ERR=>$deprecation_notice}], ['shdep02', '-t " " -g 1 --sort --full --header-in unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_sort_in_header_full}, {ERR=>$deprecation_notice}], ['shdep03', '-t " " -g 1 --sort --full --headers unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_sort_headers_full}, {ERR=>$deprecation_notice}], # Check sort-piping with empty input - should always produce empty output ['shdep04', '-t " " --sort --full unique 3', {IN_PIPE=>""}, {OUT=>""}, {ERR=>$deprecation_notice}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog_bin, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-sort-header.pl0000754000000000000000000000717614771573715014326 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2022-2025 Timothy Rice Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon and Tim Rice. =cut use strict; use warnings; use List::Util qw/max/; use Data::Dumper; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin --foobar 2>&1 | head -n 1 | cut -f1 -d:`; chomp $prog if $prog; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; # An unsorted input with a header line my $INFILE=<<'EOF'; x y z A % 1 B ( 2 A & 3 B = 4 EOF my @INFILE_lines = split /\n/, $INFILE, -1; my $INFILE_NO_HEADER = join("\n", @INFILE_lines[1..$#INFILE_lines]); # The expected output with different option combinations my $exp_no_sort_no_header=<<'EOF'; x z A 1 B 2 A 3 B 4 EOF my $exp_no_sort_in_header=<<'EOF'; A 1 B 2 A 3 B 4 EOF my $exp_sort_in_header=<<'EOF'; A 1,3 B 2,4 EOF my $exp_no_sort_headers=<<'EOF'; GroupBy(x) unique(z) A 1 B 2 A 3 B 4 EOF my $exp_sort_headers=<<'EOF'; GroupBy(x) unique(z) A 1,3 B 2,4 EOF my $exp_sort_out_header=<<'EOF'; GroupBy(field-1) unique(field-3) A 1,3 B 2,4 EOF my @Tests = ( # Simple transpose and reverse ['sh01', '-t " " -g 1 unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_no_sort_no_header}], ['sh02', '-t " " -g 1 --header-in unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_no_sort_in_header}], ['sh03', '-t " " -g 1 --sort --header-in unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_sort_in_header}], ['sh04', '-t " " -g 1 --headers unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_no_sort_headers}], ['sh05', '-t " " -g 1 --sort --headers unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_sort_headers}], ['sh06', '-t " " -sH -g 1 unique 3', {IN_PIPE=>$INFILE}, {OUT=>$exp_sort_headers}], ['sh07', '-t " " --sort --header-out -g 1 unique 3', {IN_PIPE=>$INFILE_NO_HEADER}, {OUT=>$exp_sort_out_header}], # Check sort-piping with empty input - should always produce empty output ['sh08', '-t " " --sort unique 3', {IN_PIPE=>""}, {OUT=>""}], ['sh09', '-t " " --sort --header-in unique 3', {IN_PIPE=>""}, {OUT=>""}], ['sh10', '-t " " --sort --header-out unique 3', {IN_PIPE=>""}, {OUT=>""}], ['sh11', '-t " " --sort --headers unique 3', {IN_PIPE=>""}, {OUT=>""}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog_bin, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-stats.pl0000754000000000000000000011132614771573715013240 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # ## ## This script tests the statistics-related operations. ## # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog = 'datamash'; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; ## ## Portability hack: ## find the exact wording of 'nan' and inf (not-a-number). ## It's lower case in GNU/Linux,FreeBSD,OpenBSD, ## but is "NaN" on Illumos/OpenSolaris my $nan = `$prog ---print-nan`; die "test infrastructure failed: can't determine 'nan' string" unless $nan; my $inf = `$prog ---print-inf`; die "test infrastructure failed: can't determine 'inf' string" unless $inf; =pod Helper function, given a list of items, returns a string scalar of the items with newlines. Example: my $a = c(1,2,3,4); $a == "1\n2\n3\n4\n" =cut sub c { return join "", map { "$_\n" } @_ ; } =pod rep(value,count) = returns a list of 'values' repeated 'count' times. Akin to R's "rep()" function. my @a = rep(65,4) @a == ( 65, 65, 65, 65 ) =cut sub rep { my ($value,$count) = @_; my @result = map { $value } ( 1 .. $count ) ; return @result ; } my $seq1 = c( 1,2,3,4 ); my $seq2 = c( 1,2,3 ); my $seq3 = c( 2 ); my $seq4 = c( 1,2 ); # These sequences are taken from the nice illustration # of R's 'summary()' function at: # http://tolstoy.newcastle.edu.au/R/e17/help/att-1067/Quartiles_in_R.pdf my @data9 = qw/2 3 5 7 11 13 17 19 23/; my @data10 = qw/2 3 5 7 11 13 17 19 23 29/; my @data11 = qw/2 3 5 7 11 13 17 19 23 29 31/; my @data12_unsorted = qw/23 11 19 37 13 7 2 3 29 31 5 17/; my @data12 = sort { $a <=> $b } @data12_unsorted; my $seq9 = c(@data9); my $seq10 = c(@data10); my $seq11 = c(@data11); my $seq12_unsorted = c(@data12_unsorted); my $seq12 = c(@data12); # The following random sequence was generated using R: # floor(rnorm(100,sd=10,mean=100)) # It is drawn from a normal distribution, and should have near-zero skewness. my $seq20 = c(117,89,86,101,90,110,97,91,106,99,118,110,82,91,105,90,108,96, 92,103,107,87,100,101,101,86,97,94,97,87,114,104,97,107,94,117, 100,111,111,113,93,113,107,108,95,117,106,105,105,105,105,99, 91,103,84,99,99,99,108,94,103,96,93,90,107,111,103,98,103,96, 113,111,84,109,96,110,90,78,111,85,102,91,107,99,120,109,107, 92,106,86,108,107,104,78,100,97,99,86,98,82); # A non-symetric values, skewness should be large my $seq21 = c(63,13,64,23,86,61,76,28,84,27,38,40,15,29,120,56,59,33,73,103, 15,22,36,45,40,35,3,114,66,55,16,17,29,30,42,32,34,110,16,33, 57,35,48,78,35,84,20,83,78,49,26,29,50,41,23,21,24,79,92,41, 77,64,12,31,6,32,22,8,19,27,14,12,64,51,29,33,24,58,1,56,47, 98,44,33,18,38,5,33,17,21,116,169,57,40,2,59,88,42,68,23); # Sequence from worked example at: # http://www.tc3.edu/instruct/sbrown/stat/shape.htm my $seq22 = c(61,61,61,61,61,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64, 64,64,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67, 67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67, 67,67,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70, 70,70,70,70,70,70,70,70,73,73,73,73,73,73,73,73); # Sequence from worked example: # http://www.tc3.edu/instruct/sbrown/stat/shape.htm # "Example 2: Size of Rat Litters" my $seq23 = c(rep(1,7),rep(2,33),rep(3,58),rep(4,116),rep(5,125),rep(6,126), rep(7,121),rep(8,107),rep(9,56),rep(10,37),rep(11,25),rep(12,4)); =pod The datamash tests below should return the same results are thes R commands: seq1 = c(1,2,3,4) seq2 = c(1,2,3) seq3 = c(2) seq9 = c(2,3,5,7,11,13,17,19,23) seq10 = c(2,3,5,7,11,13,17,19,23,29) seq11 = c(2,3,5,7,11,13,17,19,23,29,31) seq12 = c(2,3,5,7,11,13,17,19,23,29,31,37) seq20 = c(117,89,86,101,90,110,97,91,106,99,118,110,82,91,105,90,108,96, 92,103,107,87,100,101,101,86,97,94,97,87,114,104,97,107,94,117, 100,111,111,113,93,113,107,108,95,117,106,105,105,105,105,99, 91,103,84,99,99,99,108,94,103,96,93,90,107,111,103,98,103,96, 113,111,84,109,96,110,90,78,111,85,102,91,107,99,120,109,107, 92,106,86,108,107,104,78,100,97,99,86,98,82) seq21 = c(63,13,64,23,86,61,76,28,84,27,38,40,15,29,120,56,59,33,73,103, 15,22,36,45,40,35,3,114,66,55,16,17,29,30,42,32,34,110,16,33, 57,35,48,78,35,84,20,83,78,49,26,29,50,41,23,21,24,79,92,41, 77,64,12,31,6,32,22,8,19,27,14,12,64,51,29,33,24,58,1,56,47, 98,44,33,18,38,5,33,17,21,116,169,57,40,2,59,88,42,68,23) seq22 = c(61,61,61,61,61,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64, 64,64,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67, 67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67, 67,67,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70, 70,70,70,70,70,70,70,70,73,73,73,73,73,73,73,73) seq23 = c(rep(1,7),rep(2,33),rep(3,58),rep(4,116),rep(5,125),rep(6,126), rep(7,121),rep(8,107),rep(9,56),rep(10,37),rep(11,25),rep(12,4)) # define a population-flavor variance and sd functions # (R's default are sample-variance and sample-sd) pop.var=function(x)(var(x)*(length(x)-1)/length(x)) pop.sd=function(x)(sqrt(var(x)*(length(x)-1)/length(x))) smp.var=var smp.sd=sd # Helper functions for quartiles q1=function(x) { quantile(x, prob=0.25) } q3=function(x) { quantile(x, prob=0.75) } # Helper function for 'range' # R's built-in range() function returns a vector of min/max. # datamash's range returns the actual range dm_range=function(x) { t = range(x) ; return(t[2]-t[1]) } # Helper functions for quartiles perc1=function(x) { quantile(x, prob=0.01) } perc90=function(x) { quantile(x, prob=0.90) } perc95=function(x) { quantile(x, prob=0.95) } perc99=function(x) { quantile(x, prob=0.99) } perc100=function(x) { quantile(x, prob=1) } trimmean0=function(x){mean(x,trim=0)} trimmean10=function(x){mean(x,trim=0.1)} trimmean20=function(x){mean(x,trim=0.2)} trimmean30=function(x){mean(x,trim=0.3)} trimmean40=function(x){mean(x,trim=0.4)} trimmean50=function(x){mean(x,trim=0.5)} # Package for harmonic and geometric mean library(psych) # Helper function for ms ms=function(x) { mean(x^2) } # Helper function for rms rms=function(x) { sqrt(mean(x^2)) } # Helper function for madraw madraw=function(x) { mad(x,constant=1.0) } # 'moments' library contains skewness and kurtosis library(moments) # helper functions for skewness pop.skewness=skewness smp.skewness=function(x) { skewness(x) * sqrt( length(x)*(length(x)-1) ) / (length(x)-2) } # helper functions for excess kurtosis pop.excess_kurtosis=function(x) { kurtosis(x)-3 } smp.excess_kurtosis=function(x) { n=length(x) ( (n-1) / ( (n-2)*(n-3) ) ) * ( (n+1) * pop.excess_kurtosis(x) + 6 ) } # Helper function for SES - Standard Error of Skewness SES = function(n) { sqrt( (6*n*(n-1)) / ( (n-2)*(n+1)*(n+3) ) ) } # Helper function for SEK - Standard ERror of Kurtosis SEK = function(n) { 2*SES(n) * sqrt ( (n*n-1) / ( (n-3)*(n+5) ) ) } # Helper function for Skewness Test Statistics skewnessZ = function(x) { smp.skewness(x)/SES(length(x)) } # Helper function for Kurtosis Test Statistics kurtosisZ = function(x) { smp.excess_kurtosis(x)/SEK(length(x)) } # Helper function for Jarque-Bera pValue jarque.bera.pvalue=function(x) { t=jarque.test(x) ; t$p.value } # Helper function for D'Agostino-Pearson Omnibus Test for normality dpo=function(x) { DP = skewnessZ(x)^2 + kurtosisZ(x)^2 pval = 1.0 - pchisq(DP,df=2) } # Helper function to execute function 'f' on all input sequences test=function(f) { f_name = deparse(substitute(f)) cat(f_name,"(seq1)=", f(seq1), "\n") cat(f_name,"(seq2)=", f(seq2), "\n") cat(f_name,"(seq3)=", f(seq3), "\n") cat(f_name,"(seq9)=", f(seq9), "\n") cat(f_name,"(seq10)=", f(seq10),"\n") cat(f_name,"(seq11)=", f(seq11),"\n") cat(f_name,"(seq12)=", f(seq12),"\n") cat(f_name,"(seq20)=", f(seq20),"\n") cat(f_name,"(seq21)=", f(seq21),"\n") cat(f_name,"(seq22)=", f(seq22),"\n") cat(f_name,"(seq23)=", f(seq23),"\n") } # Run tests test(range) test(mean) test(geometric.mean) test(harmonic.mean) test(median) test(q1) test(q3) test(perc90) test(perc95) test(perc99) test(trimmean0) test(trimmean10) test(trimmean20) test(trimmean30) test(trimmean40) test(trimmean50) test(IQR) test(smp.sd) test(pop.sd) test(smp.var) test(pop.var) test(mad) test(madraw) test(skewness) test(smp.skewness) test(pop.excess_kurtosis) test(smp.excess_kurtosis) test(jarque.bera.pvalue) test(ms) test(rms) =cut ## ## NOTE: ## When comparing results, only the first three digits after decimal point ## should be checked. See below for the trimming OUT_SUBST code. ## my @Tests = ( # Test mean ['mean1', 'mean 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['mean2', 'mean 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['mean3', 'mean 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['mean4', 'mean 1' , {IN_PIPE=>$seq9}, {OUT => "11.111\n"},], ['mean5', 'mean 1' , {IN_PIPE=>$seq10}, {OUT => "12.9\n"}], ['mean6', 'mean 1' , {IN_PIPE=>$seq12}, {OUT => "16.416\n"},], ['mean7', 'mean 1' , {IN_PIPE=>$seq11}, {OUT => "14.545\n"},], ['mean8', 'mean 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "16.416\n"},], ['mean9', '--sort mean 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "16.416\n"},], ['mean10','mean 1' , {IN_PIPE=>$seq20}, {OUT => "100.06\n"},], ['mean11','mean 1' , {IN_PIPE=>$seq21}, {OUT => "45.32\n"},], ['mean12','mean 1' , {IN_PIPE=>$seq22}, {OUT => "67.45\n"},], ['mean13','mean 1' , {IN_PIPE=>$seq23}, {OUT => "6.125\n"},], # Test geometric mean ['geomean1', 'geomean 1' , {IN_PIPE=>$seq1}, {OUT => "2.213\n"}], ['geomean2', 'geomean 1' , {IN_PIPE=>$seq2}, {OUT => "1.817\n"}], ['geomean3', 'geomean 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['geomean4', 'geomean 1' , {IN_PIPE=>$seq9}, {OUT => "8.464\n"},], ['geomean5', 'geomean 1' , {IN_PIPE=>$seq10}, {OUT => "9.573\n"}], ['geomean6', 'geomean 1' , {IN_PIPE=>$seq12}, {OUT => "11.817\n"},], ['geomean7', 'geomean 1' , {IN_PIPE=>$seq11}, {OUT => "10.653\n"},], ['geomean8', 'geomean 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "11.817\n"},], ['geomean9', '--sort geomean 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "11.817\n"},], ['geomean10','geomean 1' , {IN_PIPE=>$seq20}, {OUT => "99.596\n"},], ['geomean11','geomean 1' , {IN_PIPE=>$seq21}, {OUT => "34.644\n"},], ['geomean12','geomean 1' , {IN_PIPE=>$seq22}, {OUT => "67.386\n"},], # Test harmonic mean ['harmmean1', 'harmmean 1' , {IN_PIPE=>$seq1}, {OUT => "1.92\n"}], ['harmmean2', 'harmmean 1' , {IN_PIPE=>$seq2}, {OUT => "1.636\n"}], ['harmmean3', 'harmmean 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['harmmean4', 'harmmean 1' , {IN_PIPE=>$seq9}, {OUT => "6.004\n"},], ['harmmean5', 'harmmean 1' , {IN_PIPE=>$seq10}, {OUT => "6.521\n"}], ['harmmean6', 'harmmean 1' , {IN_PIPE=>$seq12}, {OUT => "7.534\n"},], ['harmmean7', 'harmmean 1' , {IN_PIPE=>$seq11}, {OUT => "7.025\n"},], ['harmmean8', 'harmmean 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "7.534\n"},], ['harmmean9', '--sort harmmean 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "7.534\n"},], ['harmmean10','harmmean 1' , {IN_PIPE=>$seq20}, {OUT => "99.122\n"},], ['harmmean11','harmmean 1' , {IN_PIPE=>$seq21}, {OUT => "19.563\n"},], ['harmmean12','harmmean 1' , {IN_PIPE=>$seq22}, {OUT => "67.322\n"},], # Test mean square ['ms1', 'ms 1', {IN_PIPE=>$seq1}, {OUT => "7.5\n"},], ['ms2', 'ms 1', {IN_PIPE=>$seq2}, {OUT => "4.666\n"},], ['ms3', 'ms 1', {IN_PIPE=>$seq3}, {OUT => "4\n"},], ['ms4', 'ms 1', {IN_PIPE=>$seq9}, {OUT => "172.888\n"},], ['ms5', 'ms 1', {IN_PIPE=>$seq10}, {OUT => "239.7\n"},], ['ms6', 'ms 1', {IN_PIPE=>$seq11}, {OUT => "305.272\n"},], ['ms7', 'ms 1', {IN_PIPE=>$seq12}, {OUT => "393.916\n"},], ['ms8', 'ms 1', {IN_PIPE=>$seq20}, {OUT => "10102.8\n"},], ['ms9', 'ms 1', {IN_PIPE=>$seq21}, {OUT => "2971.76\n"},], ['ms10', 'ms 1', {IN_PIPE=>$seq22}, {OUT => "4558.03\n"},], ['ms11', 'ms 1', {IN_PIPE=>$seq23}, {OUT => "42.689\n"},], # Test root mean square ['rms1', 'rms 1', {IN_PIPE=>$seq1}, {OUT => "2.738\n"},], ['rms2', 'rms 1', {IN_PIPE=>$seq2}, {OUT => "2.160\n"},], ['rms3', 'rms 1', {IN_PIPE=>$seq3}, {OUT => "2\n"},], ['rms4', 'rms 1', {IN_PIPE=>$seq9}, {OUT => "13.148\n"},], ['rms5', 'rms 1', {IN_PIPE=>$seq10}, {OUT => "15.482\n"},], ['rms6', 'rms 1', {IN_PIPE=>$seq11}, {OUT => "17.472\n"},], ['rms7', 'rms 1', {IN_PIPE=>$seq12}, {OUT => "19.847\n"},], ['rms8', 'rms 1', {IN_PIPE=>$seq20}, {OUT => "100.512\n"},], ['rms9', 'rms 1', {IN_PIPE=>$seq21}, {OUT => "54.513\n"},], ['rms10', 'rms 1', {IN_PIPE=>$seq22}, {OUT => "67.513\n"},], ['rms11', 'rms 1', {IN_PIPE=>$seq23}, {OUT => "6.533\n"},], # Test median ['med1', 'median 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['med2', 'median 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['med3', 'median 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['med4', 'median 1' , {IN_PIPE=>$seq9}, {OUT => "11\n"}], ['med5', 'median 1' , {IN_PIPE=>$seq10}, {OUT => "12\n"}], ['med6', 'median 1' , {IN_PIPE=>$seq11}, {OUT => "13\n"}], ['med7', 'median 1' , {IN_PIPE=>$seq12}, {OUT => "15\n"}], ['med8', 'median 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "15\n"}], ['med9', '--sort median 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "15\n"}], ['med10','median 1' , {IN_PIPE=>$seq20}, {OUT => "100\n"},], ['med11','median 1' , {IN_PIPE=>$seq21}, {OUT => "37\n"},], ['med12','median 1' , {IN_PIPE=>$seq22}, {OUT => "67\n"},], ['med13','median 1' , {IN_PIPE=>$seq23}, {OUT => "6\n"},], # Test Q1 ['q1_1', 'q1 1' , {IN_PIPE=>$seq1}, {OUT => "1.75\n"}], ['q1_2', 'q1 1' , {IN_PIPE=>$seq2}, {OUT => "1.5\n"}], ['q1_3', 'q1 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['q1_4', 'q1 1' , {IN_PIPE=>$seq9}, {OUT => "5\n"}], ['q1_5', 'q1 1' , {IN_PIPE=>$seq10}, {OUT => "5.5\n"}], ['q1_6', 'q1 1' , {IN_PIPE=>$seq11}, {OUT => "6\n"}], ['q1_7', 'q1 1' , {IN_PIPE=>$seq12}, {OUT => "6.5\n"}], ['q1_8', 'q1 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "6.5\n"}], ['q1_9', '--sort q1 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "6.5\n"}], ['q1_10','q1 1' , {IN_PIPE=>$seq20}, {OUT => "93\n"},], ['q1_11','q1 1' , {IN_PIPE=>$seq21}, {OUT => "23\n"},], ['q1_12','q1 1' , {IN_PIPE=>$seq22}, {OUT => "67\n"},], ['q1_13','q1 1' , {IN_PIPE=>$seq23}, {OUT => "4\n"},], # Test Q3 ['q3_1', 'q3 1' , {IN_PIPE=>$seq1}, {OUT => "3.25\n"}], ['q3_2', 'q3 1' , {IN_PIPE=>$seq2}, {OUT => "2.5\n"}], ['q3_3', 'q3 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['q3_4', 'q3 1' , {IN_PIPE=>$seq9}, {OUT => "17\n"}], ['q3_5', 'q3 1' , {IN_PIPE=>$seq10}, {OUT => "18.5\n"}], ['q3_6', 'q3 1' , {IN_PIPE=>$seq11}, {OUT => "21\n"}], ['q3_7', 'q3 1' , {IN_PIPE=>$seq12}, {OUT => "24.5\n"}], ['q3_8', 'q3 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "24.5\n"}], ['q3_9', '--sort q3 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "24.5\n"}], ['q3_10','q3 1' , {IN_PIPE=>$seq20}, {OUT => "107\n"},], ['q3_11','q3 1' , {IN_PIPE=>$seq21}, {OUT => "61.5\n"},], ['q3_12','q3 1' , {IN_PIPE=>$seq22}, {OUT => "70\n"},], ['q3_13','q3 1' , {IN_PIPE=>$seq23}, {OUT => "8\n"},], # Test range ['range_1', 'range 1' , {IN_PIPE=>$seq1}, {OUT => "3\n"}], ['range_2', 'range 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['range_3', 'range 1' , {IN_PIPE=>$seq3}, {OUT => "0\n"}], ['range_4', 'range 1' , {IN_PIPE=>$seq9}, {OUT => "21\n"}], ['range_5', 'range 1' , {IN_PIPE=>$seq10}, {OUT => "27\n"}], ['range_6', 'range 1' , {IN_PIPE=>$seq11}, {OUT => "29\n"}], ['range_7', 'range 1' , {IN_PIPE=>$seq12}, {OUT => "35\n"}], ['range_8', 'range 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "35\n"}], ['range_9', '--sort range 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "35\n"}], ['range_10','range 1' , {IN_PIPE=>$seq20}, {OUT => "42\n"},], ['range_11','range 1' , {IN_PIPE=>$seq21}, {OUT => "168\n"},], ['range_12','range 1' , {IN_PIPE=>$seq22}, {OUT => "12\n"},], ['range_13','range 1' , {IN_PIPE=>$seq23}, {OUT => "11\n"},], # Test perc:90 ['perc90_1', 'perc:90 1' , {IN_PIPE=>$seq1}, {OUT => "3.7\n"}], ['perc90_2', 'perc:90 1' , {IN_PIPE=>$seq2}, {OUT => "2.8\n"}], ['perc90_3', 'perc:90 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['perc90_4', 'perc:90 1' , {IN_PIPE=>$seq9}, {OUT => "19.8\n"}], ['perc90_5', 'perc:90 1' , {IN_PIPE=>$seq10}, {OUT => "23.6\n"}], ['perc90_6', 'perc:90 1' , {IN_PIPE=>$seq11}, {OUT => "29\n"}], ['perc90_7', 'perc:90 1' , {IN_PIPE=>$seq12}, {OUT => "30.8\n"}], ['perc90_8', 'perc:90 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "30.8\n"}], ['perc90_9', '--sort perc:90 1', {IN_PIPE=>$seq12_unsorted}, {OUT => "30.8\n"}], ['perc90_10','perc:90 1' , {IN_PIPE=>$seq20}, {OUT => "111\n"},], ['perc90_11','perc:90 1' , {IN_PIPE=>$seq21}, {OUT => "84.2\n"},], ['perc90_12','perc:90 1' , {IN_PIPE=>$seq22}, {OUT => "70\n"},], ['perc90_13','perc:90 1' , {IN_PIPE=>$seq23}, {OUT => "9\n"},], # Test perc:95 ['perc95_1', 'perc:95 1' , {IN_PIPE=>$seq1}, {OUT => "3.85\n"}], ['perc95_2', 'perc:95 1' , {IN_PIPE=>$seq2}, {OUT => "2.9\n"}], ['perc95_3', 'perc:95 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['perc95_4', 'perc:95 1' , {IN_PIPE=>$seq9}, {OUT => "21.4\n"}], ['perc95_5', 'perc:95 1' , {IN_PIPE=>$seq10}, {OUT => "26.3\n"}], ['perc95_6', 'perc:95 1' , {IN_PIPE=>$seq11}, {OUT => "30\n"}], ['perc95_7', 'perc:95 1' , {IN_PIPE=>$seq12}, {OUT => "33.7\n"}], ['perc95_8', 'perc:95 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "33.7\n"}], ['perc95_9', '--sort perc:95 1', {IN_PIPE=>$seq12_unsorted}, {OUT => "33.7\n"}], ['perc95_10','perc:95 1' , {IN_PIPE=>$seq20}, {OUT => "114.15\n"},], ['perc95_11','perc:95 1' , {IN_PIPE=>$seq21}, {OUT => "103.35\n"},], ['perc95_12','perc:95 1' , {IN_PIPE=>$seq22}, {OUT => "73\n"},], ['perc95_13','perc:95 1' , {IN_PIPE=>$seq23}, {OUT => "10\n"},], # Test perc:99 ['perc99_1', 'perc:99 1' , {IN_PIPE=>$seq1}, {OUT => "3.97\n"}], ['perc99_2', 'perc:99 1' , {IN_PIPE=>$seq2}, {OUT => "2.98\n"}], ['perc99_3', 'perc:99 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], # sorted/unsorted should not change the result. ['perc99_4', 'perc:99 1' , {IN_PIPE=>$seq9}, {OUT => "22.68\n"}], ['perc99_5', 'perc:99 1' , {IN_PIPE=>$seq10}, {OUT => "28.46\n"}], ['perc99_6', 'perc:99 1' , {IN_PIPE=>$seq11}, {OUT => "30.8\n"}], ['perc99_7', 'perc:99 1' , {IN_PIPE=>$seq12}, {OUT => "36.34\n"}], ['perc99_8', 'perc:99 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "36.34\n"}], ['perc99_9', '--sort perc:99 1', {IN_PIPE=>$seq12_unsorted}, {OUT => "36.34\n"}], ['perc99_10','perc:99 1' , {IN_PIPE=>$seq20}, {OUT => "118.02\n"},], ['perc99_11','perc:99 1' , {IN_PIPE=>$seq21}, {OUT => "120.49\n"},], ['perc99_12','perc:99 1' , {IN_PIPE=>$seq22}, {OUT => "73\n"},], ['perc99_13','perc:99 1' , {IN_PIPE=>$seq23}, {OUT => "11\n"},], # Test edge cases: perc:1 and perc:100 ['perc1_1', 'perc:1 1', {IN_PIPE=>$seq20}, {OUT => "78\n"},], ['perc100_1','perc:100 1', {IN_PIPE=>$seq20}, {OUT => "120\n"},], # Sanity check: percentile:50 should be equal to 'median' 'op' ['perc50_1','perc:50 1' , {IN_PIPE=>$seq20}, {OUT => "100\n"},], ['perc50_2','perc:50 1' , {IN_PIPE=>$seq21}, {OUT => "37\n"},], ['perc50_3','perc:50 1' , {IN_PIPE=>$seq22}, {OUT => "67\n"},], ['perc50_4','perc:50 1' , {IN_PIPE=>$seq23}, {OUT => "6\n"},], # Sanity check: percentile:25 should be equal to 'q1' op ['perc25_1','perc:25 1' , {IN_PIPE=>$seq20}, {OUT => "93\n"},], ['perc25_2','perc:25 1' , {IN_PIPE=>$seq21}, {OUT => "23\n"},], ['perc25_3','perc:25 1' , {IN_PIPE=>$seq22}, {OUT => "67\n"},], ['perc25_4','perc:25 1' , {IN_PIPE=>$seq23}, {OUT => "4\n"},], # Sanity check: percentile:75 should be equal to 'q3' op ['perc75_10','perc:75 1' , {IN_PIPE=>$seq20}, {OUT => "107\n"},], ['perc75_11','perc:75 1' , {IN_PIPE=>$seq21}, {OUT => "61.5\n"},], ['perc75_12','perc:75 1' , {IN_PIPE=>$seq22}, {OUT => "70\n"},], ['perc75_13','perc:75 1' , {IN_PIPE=>$seq23}, {OUT => "8\n"},], # Trimmed Mean:0 ['tmean0_1', 'trimmean:0 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['tmean0_2', 'trimmean:0 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['tmean0_3', 'trimmean:0 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], ['tmean0_4', 'trimmean:0 1' , {IN_PIPE=>$seq9}, {OUT => "11.111\n"}], ['tmean0_5', 'trimmean:0 1' , {IN_PIPE=>$seq10}, {OUT => "12.9\n"}], ['tmean0_6', 'trimmean:0 1' , {IN_PIPE=>$seq11}, {OUT => "14.545\n"}], ['tmean0_7', 'trimmean:0 1' , {IN_PIPE=>$seq12}, {OUT => "16.416\n"}], ['tmean0_8', 'trimmean:0 1' , {IN_PIPE=>$seq20}, {OUT => "100.06\n"},], ['tmean0_9', 'trimmean:0 1' , {IN_PIPE=>$seq21}, {OUT => "45.32\n"},], ['tmean0_10','trimmean:0 1' , {IN_PIPE=>$seq22}, {OUT => "67.45\n"},], ['tmean0_11','trimmean:0 1' , {IN_PIPE=>$seq23}, {OUT => "6.125\n"},], # Trimmed Mean:0.1 ['tmean1_1', 'trimmean:0.1 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['tmean1_2', 'trimmean:0.1 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['tmean1_3', 'trimmean:0.1 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], ['tmean1_4', 'trimmean:0.1 1' , {IN_PIPE=>$seq9}, {OUT => "11.111\n"}], ['tmean1_5', 'trimmean:0.1 1' , {IN_PIPE=>$seq10}, {OUT => "12.25\n"}], ['tmean1_6', 'trimmean:0.1 1' , {IN_PIPE=>$seq11}, {OUT => "14.111\n"}], ['tmean1_7', 'trimmean:0.1 1' , {IN_PIPE=>$seq12}, {OUT => "15.8\n"}], ['tmean1_8', 'trimmean:0.1 1' , {IN_PIPE=>$seq20}, {OUT => "100.275\n"},], ['tmean1_9', 'trimmean:0.1 1' , {IN_PIPE=>$seq21}, {OUT => "42\n"},], ['tmean1_10','trimmean:0.1 1' , {IN_PIPE=>$seq22}, {OUT => "67.45\n"},], ['tmean1_11','trimmean:0.1 1' , {IN_PIPE=>$seq23}, {OUT => "6.076\n"},], # Trimmed Mean:0.2 ['tmean2_1', 'trimmean:0.2 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['tmean2_2', 'trimmean:0.2 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['tmean2_3', 'trimmean:0.2 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], ['tmean2_4', 'trimmean:0.2 1' , {IN_PIPE=>$seq9}, {OUT => "10.714\n"}], ['tmean2_5', 'trimmean:0.2 1' , {IN_PIPE=>$seq10}, {OUT => "12\n"}], ['tmean2_6', 'trimmean:0.2 1' , {IN_PIPE=>$seq11}, {OUT => "13.571\n"}], ['tmean2_7', 'trimmean:0.2 1' , {IN_PIPE=>$seq12}, {OUT => "15.5\n"}], ['tmean2_8', 'trimmean:0.2 1' , {IN_PIPE=>$seq20}, {OUT => "100.516\n"},], ['tmean2_9', 'trimmean:0.2 1' , {IN_PIPE=>$seq21}, {OUT => "40.1\n"},], ['tmean2_10','trimmean:0.2 1' , {IN_PIPE=>$seq22}, {OUT => "67.6\n"},], ['tmean2_11','trimmean:0.2 1' , {IN_PIPE=>$seq23}, {OUT => "6.053\n"},], # Trimmed Mean:0.4 ['tmean4_1', 'trimmean:0.4 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['tmean4_2', 'trimmean:0.4 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['tmean4_3', 'trimmean:0.4 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], ['tmean4_4', 'trimmean:0.4 1' , {IN_PIPE=>$seq9}, {OUT => "10.333\n"}], ['tmean4_5', 'trimmean:0.4 1' , {IN_PIPE=>$seq10}, {OUT => "12\n"}], ['tmean4_6', 'trimmean:0.4 1' , {IN_PIPE=>$seq11}, {OUT => "13.666\n"}], ['tmean4_7', 'trimmean:0.4 1' , {IN_PIPE=>$seq12}, {OUT => "15\n"}], ['tmean4_8', 'trimmean:0.4 1' , {IN_PIPE=>$seq20}, {OUT => "100.55\n"},], ['tmean4_9', 'trimmean:0.4 1' , {IN_PIPE=>$seq21}, {OUT => "37.3\n"},], ['tmean4_10','trimmean:0.4 1' , {IN_PIPE=>$seq22}, {OUT => "67\n"},], ['tmean4_11','trimmean:0.4 1' , {IN_PIPE=>$seq23}, {OUT => "6.067\n"},], # Trimmed Mean:0.5 ['tmean5_1', 'trimmean:0.5 1' , {IN_PIPE=>$seq1}, {OUT => "2.5\n"}], ['tmean5_2', 'trimmean:0.5 1' , {IN_PIPE=>$seq2}, {OUT => "2\n"}], ['tmean5_3', 'trimmean:0.5 1' , {IN_PIPE=>$seq3}, {OUT => "2\n"}], ['tmean5_4', 'trimmean:0.5 1' , {IN_PIPE=>$seq9}, {OUT => "11\n"}], ['tmean5_5', 'trimmean:0.5 1' , {IN_PIPE=>$seq10}, {OUT => "12\n"}], ['tmean5_6', 'trimmean:0.5 1' , {IN_PIPE=>$seq11}, {OUT => "13\n"}], ['tmean5_7', 'trimmean:0.5 1' , {IN_PIPE=>$seq12}, {OUT => "15\n"}], ['tmean5_8', 'trimmean:0.5 1' , {IN_PIPE=>$seq20}, {OUT => "100\n"},], ['tmean5_9', 'trimmean:0.5 1' , {IN_PIPE=>$seq21}, {OUT => "37\n"},], ['tmean5_10','trimmean:0.5 1' , {IN_PIPE=>$seq22}, {OUT => "67\n"},], ['tmean5_11','trimmean:0.5 1' , {IN_PIPE=>$seq23}, {OUT => "6\n"},], # Test IQR ['iqr_1', 'iqr 1' , {IN_PIPE=>$seq1}, {OUT => "1.5\n"}], ['iqr_2', 'iqr 1' , {IN_PIPE=>$seq2}, {OUT => "1\n"}], ['iqr_3', 'iqr 1' , {IN_PIPE=>$seq3}, {OUT => "0\n"}], ['iqr_4', 'iqr 1' , {IN_PIPE=>$seq9}, {OUT => "12\n"}], ['iqr_5', 'iqr 1' , {IN_PIPE=>$seq10}, {OUT => "13\n"}], ['iqr_6', 'iqr 1' , {IN_PIPE=>$seq11}, {OUT => "15\n"}], ['iqr_7', 'iqr 1' , {IN_PIPE=>$seq12}, {OUT => "18\n"}], ['iqr_8', 'iqr 1' , {IN_PIPE=>$seq20}, {OUT => "14\n"},], ['iqr_9', 'iqr 1' , {IN_PIPE=>$seq21}, {OUT => "38.5\n"},], ['iqr_10','iqr 1' , {IN_PIPE=>$seq22}, {OUT => "3\n"},], ['iqr_11','iqr 1' , {IN_PIPE=>$seq23}, {OUT => "4\n"},], # Test sample standard deviation ['sstdev_1', 'sstdev 1' , {IN_PIPE=>$seq1}, {OUT => "1.290\n"}], ['sstdev_2', 'sstdev 1' , {IN_PIPE=>$seq2}, {OUT => "1\n"}], ['sstdev_3', 'sstdev 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['sstdev_4', 'sstdev 1' , {IN_PIPE=>$seq9}, {OUT => "7.457\n"}], ['sstdev_5', 'sstdev 1' , {IN_PIPE=>$seq10}, {OUT => "9.024\n"}], ['sstdev_6', 'sstdev 1' , {IN_PIPE=>$seq11}, {OUT => "10.152\n"}], ['sstdev_7', 'sstdev 1' , {IN_PIPE=>$seq12}, {OUT => "11.649\n"}], ['sstdev_8', 'sstdev 1' , {IN_PIPE=>$seq20}, {OUT => "9.576\n"},], ['sstdev_9', 'sstdev 1' , {IN_PIPE=>$seq21}, {OUT => "30.448\n"},], ['sstdev_10','sstdev 1' , {IN_PIPE=>$seq22}, {OUT => "2.934\n"},], ['sstdev_11','sstdev 1' , {IN_PIPE=>$seq23}, {OUT => "2.275\n"},], # Test population standard deviation ['pstdev_1', 'pstdev 1' , {IN_PIPE=>$seq1}, {OUT => "1.118\n"}], ['pstdev_2', 'pstdev 1' , {IN_PIPE=>$seq2}, {OUT => "0.816\n"}], ['pstdev_3', 'pstdev 1' , {IN_PIPE=>$seq3}, {OUT => "0\n"}], ['pstdev_4', 'pstdev 1' , {IN_PIPE=>$seq9}, {OUT => "7.030\n"}], ['pstdev_5', 'pstdev 1' , {IN_PIPE=>$seq10}, {OUT => "8.560\n"}], ['pstdev_6', 'pstdev 1' , {IN_PIPE=>$seq11}, {OUT => "9.680\n"}], ['pstdev_7', 'pstdev 1' , {IN_PIPE=>$seq12}, {OUT => "11.153\n"}], ['pstdev_8', 'pstdev 1' , {IN_PIPE=>$seq20}, {OUT => "9.528\n"},], ['pstdev_9', 'pstdev 1' , {IN_PIPE=>$seq21}, {OUT => "30.296\n"},], ['pstdev_10','pstdev 1' , {IN_PIPE=>$seq22}, {OUT => "2.920\n"},], ['pstdev_11','pstdev 1' , {IN_PIPE=>$seq23}, {OUT => "2.274\n"},], # Test sample variance ['svar_1', 'svar 1' , {IN_PIPE=>$seq1}, {OUT => "1.666\n"}], ['svar_2', 'svar 1' , {IN_PIPE=>$seq2}, {OUT => "1\n"}], ['svar_3', 'svar 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['svar_4', 'svar 1' , {IN_PIPE=>$seq9}, {OUT => "55.611\n"}], ['svar_5', 'svar 1' , {IN_PIPE=>$seq10}, {OUT => "81.433\n"}], ['svar_6', 'svar 1' , {IN_PIPE=>$seq11}, {OUT => "103.072\n"}], ['svar_7', 'svar 1' , {IN_PIPE=>$seq12}, {OUT => "135.719\n"}], ['svar_8', 'svar 1' , {IN_PIPE=>$seq20}, {OUT => "91.713\n"},], ['svar_9', 'svar 1' , {IN_PIPE=>$seq21}, {OUT => "927.128\n"},], ['svar_10','svar 1' , {IN_PIPE=>$seq22}, {OUT => "8.613\n"},], ['svar_11','svar 1' , {IN_PIPE=>$seq23}, {OUT => "5.178\n"},], # Test population variance ['pvar_1', 'pvar 1' , {IN_PIPE=>$seq1}, {OUT => "1.25\n"}], ['pvar_2', 'pvar 1' , {IN_PIPE=>$seq2}, {OUT => "0.666\n"}], ['pvar_3', 'pvar 1' , {IN_PIPE=>$seq3}, {OUT => "0\n"}], ['pvar_4', 'pvar 1' , {IN_PIPE=>$seq9}, {OUT => "49.432\n"}], ['pvar_5', 'pvar 1' , {IN_PIPE=>$seq10}, {OUT => "73.29\n"}], ['pvar_6', 'pvar 1' , {IN_PIPE=>$seq11}, {OUT => "93.702\n"}], ['pvar_7', 'pvar 1' , {IN_PIPE=>$seq12}, {OUT => "124.409\n"}], ['pvar_8', 'pvar 1' , {IN_PIPE=>$seq20}, {OUT => "90.796\n"},], ['pvar_9', 'pvar 1' , {IN_PIPE=>$seq21}, {OUT => "917.857\n"},], ['pvar_10','pvar 1' , {IN_PIPE=>$seq22}, {OUT => "8.527\n"},], ['pvar_11','pvar 1' , {IN_PIPE=>$seq23}, {OUT => "5.172\n"},], # Test MAD (Median Absolute Deviation), with default # scaling factor of 1.486 for normal distributions ['mad_1', 'mad 1' , {IN_PIPE=>$seq1}, {OUT => "1.482\n"}], ['mad_2', 'mad 1' , {IN_PIPE=>$seq2}, {OUT => "1.482\n"}], ['mad_3', 'mad 1' , {IN_PIPE=>$seq3}, {OUT => "0\n"}], ['mad_4', 'mad 1' , {IN_PIPE=>$seq9}, {OUT => "8.895\n"}], ['mad_5', 'mad 1' , {IN_PIPE=>$seq10}, {OUT => "10.378\n"}], ['mad_6', 'mad 1' , {IN_PIPE=>$seq11}, {OUT => "11.860\n"}], ['mad_7', 'mad 1' , {IN_PIPE=>$seq12}, {OUT => "13.343\n"}], ['mad_7.1', 'mad 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "13.343\n"}], ['mad_7.2', '--sort mad 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "13.343\n"}], ['mad_8', 'mad 1' , {IN_PIPE=>$seq20}, {OUT => "10.378\n"},], ['mad_9', 'mad 1' , {IN_PIPE=>$seq21}, {OUT => "27.428\n"},], ['mad_10','mad 1' , {IN_PIPE=>$seq22}, {OUT => "4.447\n"},], ['mad_11','mad 1' , {IN_PIPE=>$seq23}, {OUT => "2.965\n"},], # Test MAD-Raw (Median Absolute Deviation), with scaling factor of 1 ['madraw_1', 'madraw 1' , {IN_PIPE=>$seq1}, {OUT => "1\n"}], ['madraw_2', 'madraw 1' , {IN_PIPE=>$seq2}, {OUT => "1\n"}], ['madraw_3', 'madraw 1' , {IN_PIPE=>$seq3}, {OUT => "0\n"}], ['madraw_4', 'madraw 1' , {IN_PIPE=>$seq9}, {OUT => "6\n"}], ['madraw_5', 'madraw 1' , {IN_PIPE=>$seq10}, {OUT => "7\n"}], ['madraw_6', 'madraw 1' , {IN_PIPE=>$seq11}, {OUT => "8\n"}], ['madraw_7', 'madraw 1' , {IN_PIPE=>$seq12}, {OUT => "9\n"}], ['madraw_7.1', 'madraw 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "9\n"}], ['madraw_7.2', '--sort madraw 1' , {IN_PIPE=>$seq12_unsorted}, {OUT => "9\n"}], ['madraw_8', 'madraw 1' , {IN_PIPE=>$seq20}, {OUT => "7\n"},], ['madraw_9', 'madraw 1' , {IN_PIPE=>$seq21}, {OUT => "18.5\n"},], ['madraw_10','madraw 1' , {IN_PIPE=>$seq22}, {OUT => "3\n"},], ['madraw_11','madraw 1' , {IN_PIPE=>$seq23}, {OUT => "2\n"},], # Test Skewness for a population ['pskew_1', 'pskew 1' , {IN_PIPE=>$seq1}, {OUT => "0\n"}], ['pskew_2', 'pskew 1' , {IN_PIPE=>$seq2}, {OUT => "0\n"}], ['pskew_3', 'pskew 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['pskew_4', 'pskew 1' , {IN_PIPE=>$seq9}, {OUT => "0.254\n"}], ['pskew_5', 'pskew 1' , {IN_PIPE=>$seq10}, {OUT => "0.403\n"}], ['pskew_6', 'pskew 1' , {IN_PIPE=>$seq11}, {OUT => "0.332\n"}], ['pskew_7', 'pskew 1' , {IN_PIPE=>$seq12}, {OUT => "0.371\n"}], ['pskew_8', 'pskew 1' , {IN_PIPE=>$seq20}, {OUT => "-0.204\n"},], ['pskew_9', 'pskew 1' , {IN_PIPE=>$seq21}, {OUT => "1.193\n"},], ['pskew_10','pskew 1' , {IN_PIPE=>$seq22}, {OUT => "-0.108\n"},], ['pskew_11','pskew 1' , {IN_PIPE=>$seq23}, {OUT => "0.172\n"},], # Test Skewness for a sample ['sskew_1', 'sskew 1' , {IN_PIPE=>$seq1}, {OUT => "0\n"}], ['sskew_2', 'sskew 1' , {IN_PIPE=>$seq2}, {OUT => "0\n"}], ['sskew_3', 'sskew 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['sskew_4', 'sskew 1' , {IN_PIPE=>$seq9}, {OUT => "0.307\n"}], ['sskew_5', 'sskew 1' , {IN_PIPE=>$seq10}, {OUT => "0.477\n"}], ['sskew_6', 'sskew 1' , {IN_PIPE=>$seq11}, {OUT => "0.387\n"}], ['sskew_7', 'sskew 1' , {IN_PIPE=>$seq12}, {OUT => "0.426\n"}], ['sskew_8', 'sskew 1' , {IN_PIPE=>$seq20}, {OUT => "-0.207\n"},], ['sskew_9', 'sskew 1' , {IN_PIPE=>$seq21}, {OUT => "1.212\n"},], ['sskew_10','sskew 1' , {IN_PIPE=>$seq22}, {OUT => "-0.109\n"},], ['sskew_11','sskew 1' , {IN_PIPE=>$seq23}, {OUT => "0.173\n"},], ['sskew_12','sskew 1' , {IN_PIPE=>$seq4}, {OUT => "$nan\n"}], # Test Popluation Excess Kurtosis ['pkurt_1', 'pkurt 1' , {IN_PIPE=>$seq1}, {OUT => "-1.36\n"}], ['pkurt_2', 'pkurt 1' , {IN_PIPE=>$seq2}, {OUT => "-1.5\n"}], ['pkurt_3', 'pkurt 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['pkurt_4', 'pkurt 1' , {IN_PIPE=>$seq9}, {OUT => "-1.273\n"}], ['pkurt_5', 'pkurt 1' , {IN_PIPE=>$seq10}, {OUT => "-0.987\n"}], ['pkurt_6', 'pkurt 1' , {IN_PIPE=>$seq11}, {OUT => "-1.169\n"}], ['pkurt_7', 'pkurt 1' , {IN_PIPE=>$seq12}, {OUT => "-1.098\n"}], ['pkurt_8', 'pkurt 1' , {IN_PIPE=>$seq20}, {OUT => "-0.608\n"},], ['pkurt_9', 'pkurt 1' , {IN_PIPE=>$seq21}, {OUT => "1.802\n"},], ['pkurt_10','pkurt 1' , {IN_PIPE=>$seq22}, {OUT => "-0.258\n"},], ['pkurt_11','pkurt 1' , {IN_PIPE=>$seq23}, {OUT => "-0.480\n"},], # Test Sample Excess Kurtosis ['skurt_1', 'skurt 1' , {IN_PIPE=>$seq1}, {OUT => "-1.2\n"}], ['skurt_2', 'skurt 1' , {IN_PIPE=>$seq2}, {OUT => "$nan\n"}], ['skurt_3', 'skurt 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['skurt_4', 'skurt 1' , {IN_PIPE=>$seq9}, {OUT => "-1.283\n"}], ['skurt_5', 'skurt 1' , {IN_PIPE=>$seq10}, {OUT => "-0.781\n"}], ['skurt_6', 'skurt 1' , {IN_PIPE=>$seq11}, {OUT => "-1.116\n"}], ['skurt_7', 'skurt 1' , {IN_PIPE=>$seq12}, {OUT => "-1.012\n"}], ['skurt_8', 'skurt 1' , {IN_PIPE=>$seq20}, {OUT => "-0.577\n"},], ['skurt_9', 'skurt 1' , {IN_PIPE=>$seq21}, {OUT => "1.958\n"},], ['skurt_10','skurt 1' , {IN_PIPE=>$seq22}, {OUT => "-0.209\n"},], ['skurt_11','skurt 1' , {IN_PIPE=>$seq23}, {OUT => "-0.476\n"},], # Test Jarque-Bera normality pVale ['jarque_1', 'jarque 1' , {IN_PIPE=>$seq1}, {OUT => "0.857\n"}], ['jarque_2', 'jarque 1' , {IN_PIPE=>$seq2}, {OUT => "0.868\n"}], ['jarque_3', 'jarque 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['jarque_4', 'jarque 1' , {IN_PIPE=>$seq9}, {OUT => "0.702\n"}], ['jarque_5', 'jarque 1' , {IN_PIPE=>$seq10}, {OUT => "0.712\n"}], ['jarque_6', 'jarque 1' , {IN_PIPE=>$seq11}, {OUT => "0.660\n"}], ['jarque_7', 'jarque 1' , {IN_PIPE=>$seq12}, {OUT => "0.644\n"}], ['jarque_8', 'jarque 1' , {IN_PIPE=>$seq20}, {OUT => "0.327\n"},], ['jarque_9', 'jarque 1' , {IN_PIPE=>$seq21}, {OUT => "8.011e-09\n"},], ['jarque_10','jarque 1' , {IN_PIPE=>$seq22}, {OUT => "0.789\n"},], ['jarque_11','jarque 1' , {IN_PIPE=>$seq23}, {OUT => "0.002\n"},], # Test D'Agostino-Pearson omnibus test for normality ['dpo_1', 'dpo 1' , {IN_PIPE=>$seq1}, {OUT => "0.900\n"}], ['dpo_2', 'dpo 1' , {IN_PIPE=>$seq2}, {OUT => "$nan\n"}], ['dpo_3', 'dpo 1' , {IN_PIPE=>$seq3}, {OUT => "$nan\n"}], ['dpo_4', 'dpo 1' , {IN_PIPE=>$seq9}, {OUT => "0.599\n"}], ['dpo_5', 'dpo 1' , {IN_PIPE=>$seq10}, {OUT => "0.661\n"}], ['dpo_6', 'dpo 1' , {IN_PIPE=>$seq11}, {OUT => "0.575\n"}], ['dpo_7', 'dpo 1' , {IN_PIPE=>$seq12}, {OUT => "0.570\n"}], ['dpo_8', 'dpo 1' , {IN_PIPE=>$seq20}, {OUT => "0.334\n"},], ['dpo_9', 'dpo 1' , {IN_PIPE=>$seq21}, {OUT => "7.689e-10\n"},], ['dpo_10','dpo 1' , {IN_PIPE=>$seq22}, {OUT => "0.819\n"},], ['dpo_11','dpo 1' , {IN_PIPE=>$seq23}, {OUT => "0.002\n"},], ); ## ## For each test, trim the resulting value to maximum three digits ## after the decimal point. ## for my $t (@Tests) { push @{$t}, {OUT_SUBST=>'s/^(-?\d+\.\d{1,3})\d*/\1/'}; } my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-strbin.sh0000754000000000000000000000567714771601604013402 #!/bin/sh # Unit Tests for GNU Datamash - perform simple calculation on input data # Copyright (C) 2015-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash. If not, see . # # Written by Assaf Gordon ## ## This script tests the strbin (string binning/hashing) operator ## . "${test_dir=.}/init.sh"; path_prepend_ ./src fail=0 ## Ensure seq is useable openbsd_seq_replacement_ seq 10 >/dev/null 2>/dev/null \ || skip_ "requires a working seq" # Generate input seq 1000 | sed 's/^/id-/' > in \ || framework_failure_ "generating INPUT failed" # bin into 10 groups datamash strbin 1 < in > out1 \ || { warn_ "'datamash strbin 1' failed" ; fail=1 ; } # Check output values sort -n -u < out1 > out2 || framework_failure_ "failed to sort out1" # Default binning to 10 bins, accept only single digits grep '^[^0-9]$' < out2 > /dev/null \ && { warn_ "'datamash strbin 1' generated invalid output (out2):" ; cat out2 >&2 ; fail=1 ; } # Test binning into varying number of bins for i in 5 10 100 300 ; do datamash strbin:$i 1 < in > out-$i \ || { warn_ "'datamash strbin:$i 1' failed" ; fail=1 ; break ; } # Check output values max=$(sort -n -u -r < out-$i | head -n1) test -n "$max" \ || { warn_ "'datamash strbin:$i 1' failed - max output is empty" ; fail=1 ; break ; } test "$max" -gt 0 \ || { warn_ "'datamash strbin:$i 1' failed - max value too small ($max)"; fail=1 ; break ; } test "$max" -lt "$i" \ || { warn_ "'datamash strbin:$i 1' failed - max value too large ($max)"; fail=1 ; break ; } done # Same srting must result in the same bin, # in the same run and in different runs. # (the returned value, however, is machine-dependant) text="hello-42-world" for i in 5 10 100 300 ; do bin1=$(printf "%s\n%s\n%s\n" "$text" "$text" "$text" \ | datamash strbin:$i 1 | uniq) bin2=$(printf "%s\n" "$text" \ | datamash strbin:$i 1 | uniq) test -n "$bin1" \ || { warn_ "'datamash strbin:$i 1' failed on text '$text' - empty"; fail=1 ; break ; } test "x$bin1" = "x$bin2" \ || { warn_ "'datamash strbin:$i 1' failed on text '$text' - " \ "bin1 ($bin1) doesn't match bin2 ($bin2)" ; fail=1 ; break ; } done Exit $fail datamash-1.9/tests/datamash-tests-2-deprecated.pl0000754000000000000000000001262514771573715015503 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; ## ## This is a continuation of 'datamash-tests.pl' ## split into two files, as it was getting too large. ## # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; ## Portability hack: ## find the exact wording of 'nan' and inf (not-a-number). ## It's lower case in GNU/Linux,FreeBSD,OpenBSD, ## but is "NaN" on Illumos/OpenSolaris my $nan = `$prog_bin ---print-nan`; die "test infrastructure failed: can't determine 'nan' string" unless $nan; my $inf = `$prog_bin ---print-inf`; die "test infrastructure failed: can't determine 'inf' string" unless $inf; ## Portability hack ## Check if the system's sort supports stable sorting ('-s'). ## If it doesn't - skip some tests my $rc = system("sort -s < /dev/null > /dev/null 2>/dev/null"); die "testing framework failure: failed to execute sort -s" if ( ($rc == -1) || ($rc & 127) ); my $sort_exit_code = ($rc >> 8); my $have_stable_sort = ($sort_exit_code==0); # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; # Test the selection operation (first/last/min/max) together with "FULL": # group by column 1 ("A" or "B"), and operate on column 2 (numeric). # Ensure the matching "iX" is displayed, despite not being part of the # operation (example: if 'min(2)' is the operation, then "B 8" should be # selected, and "i7" must be displayed with "-full" (because "i7" is on the # same line as the min(2) value zero). my $in_full1=<<'EOF'; A 4 i1 A 3 i2 A 5 i3 B 1 i4 B 8 i5 B 0 i6 B 3 i7 EOF my $full_deprecation = "$prog: Using -f/--full with non-linewise operations " . "is deprecated and will be disabled in a future release.\n"; my @Tests = ( # Test 'min' + --full # Test with "--full", "i2" and "i6" should be displayed ['slct2dep', '-t" " -f -g1 min 2', {IN_PIPE=>$in_full1}, {OUT=>"A 3 i2 3\nB 0 i6 0\n"}, {ERR=>"$full_deprecation"}], # --full with --sort => should not change results ['slct3dep', '-s -t" " -f -g1 min 2', {IN_PIPE=>$in_full1}, {OUT=>"A 3 i2 3\nB 0 i6 0\n"}, {ERR=>"$full_deprecation"}], # Test 'max' + --full # Test with "--full", "i3" and "i7" should be displayed ['slct5dep', '-t" " -f -g1 max 2', {IN_PIPE=>$in_full1}, {OUT=>"A 5 i3 5\nB 8 i5 8\n"}, {ERR=>"$full_deprecation"}], # --full with --sort => should not change results ['slct6dep', '-s -t" " -f -g1 max 2', {IN_PIPE=>$in_full1}, {OUT=>"A 5 i3 5\nB 8 i5 8\n"}, {ERR=>"$full_deprecation"}], # Test 'first' + --full # Test with "--full", "i1" and "i4" should be displayed ['slct8dep', '-t" " -f -g1 first 2', {IN_PIPE=>$in_full1}, {OUT=>"A 4 i1 4\nB 1 i4 1\n"}, {ERR=>"$full_deprecation"}], # more --full with --sort => see test 'sortslct1' below # Test 'last' + --full # Test with "--full", "i1" and "i4" should be displayed ['slct10dep', '-t" " -f -g1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"A 5 i3 5\nB 3 i7 3\n"}, {ERR=>"$full_deprecation"}], ); if ($have_stable_sort) { push @Tests, ( # Test 'first' + --full + --sort # NOTE: This is subtle: # Sorting should be stable: only ordering the column which is used # for grouping (column 1 in this test). This means that the second # column (containing numbers) should NOT affect sorting, and the order # of the lines should not change. The results of this test # should be the same as 'slct8'. If the system doesn't have stable # 'sort', then the order will change. ['sortslct1dep', '-s -t" " -f -g1 first 2', {IN_PIPE=>$in_full1}, {OUT=>"A 4 i1 4\nB 1 i4 1\n"}, {ERR=>"$full_deprecation"}], # Test 'last' + --full + --sort # See note above regarding 'first' - applies to 'last' as well. ['sortslct2dep', '-s -t" " -f -g1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"A 5 i3 5\nB 3 i7 3\n"}, {ERR=>"$full_deprecation"}], ) } my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-tests-2.pl0000754000000000000000000005463514771573715013414 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; ## ## This is a continuation of 'datamash-tests.pl' ## split into two files, as it was getting too large. ## # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; ## Portability hack: ## find the exact wording of 'nan' and inf (not-a-number). ## It's lower case in GNU/Linux,FreeBSD,OpenBSD, ## but is "NaN" on Illumos/OpenSolaris my $nan = `$prog_bin ---print-nan`; die "test infrastructure failed: can't determine 'nan' string" unless $nan; my $inf = `$prog_bin ---print-inf`; die "test infrastructure failed: can't determine 'inf' string" unless $inf; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; # Test the selection operation (first/last/min/max) together with "FULL": # group by column 1 ("A" or "B"), and operate on column 2 (numeric). # Ensure the matching "iX" is displayed, despite not being part of the # operation (example: if 'min(2)' is the operation, then "B 8" should be # selected, and "i7" must be displayed with "-full" (because "i7" is on the # same line as the min(2) value zero). my $in_full1=<<'EOF'; A 4 i1 A 3 i2 A 5 i3 B 1 i4 B 8 i5 B 0 i6 B 3 i7 EOF # Test various combinations of N/A, NaN values my $na1=<<'EOF'; 1 2 NA 3 EOF my $na2=<<'EOF'; 1 2 nA 3 EOF my $na3=<<'EOF'; 1 2 N/A 3 EOF my $na4=<<'EOF'; 1 2 NaN 3 EOF my $na5=<<'EOF'; 1 2 nan 3 EOF # This is not a valid input, should not be detected as "NA" my $not_na1=<<'EOF'; 1 2 NAK 3 EOF # This is not a valid input, should not be detected as "NAN" my $not_na2=<<'EOF'; 1 2 NANA 3 EOF my $na_first=<<'EOF'; NaN 2 5 8 EOF my $na_last=<<'EOF'; NaN 2 5 11 EOF my $na_mid1=<<'EOF'; 1:2:3 4:NA:6 7:8:9 EOF my $na_last1=<<'EOF'; 1:2:3 4:5:6 7:8:NaN EOF my $na_all=<<'EOF'; NA NA NaN EOF my $bin_in1=<<'EOF'; 0 3 7 9 10 11 15 EOF # binning '$bin_in1' with default bucket-size=100 my $bin_out1_100=<<'EOF'; 0 0 0 0 0 0 0 EOF # binning '$bin_in1' with bucket-size=5 my $bin_out1_5=<<'EOF'; 0 0 5 5 10 10 15 EOF # binning '$bin_in1' with bucket-size=5.5 my $bin_out1_5_5=<<'EOF'; 0 0 5.5 5.5 5.5 11 11 EOF my $bin_in2=<<'EOF'; -101.9 -3.1 -3 -0.3 -0 0 0.3 3 103 EOF my $bin_out2_100=<<'EOF'; -200 -100 -100 -100 0 0 0 0 100 EOF my $bin_out2_3=<<'EOF'; -102 -6 -3 -3 0 0 0 3 102 EOF my $round_in1=<<'EOF'; X -1.1 -1.0 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 EOF my $round_out1=<<'EOF'; X round(X) floor(X) ceil(X) trunc(X) frac(X) -1.1 -1 -2 -1 -1 -0.1 -1.0 -1 -1 -1 -1 0 -0.9 -1 -1 0 0 -0.9 -0.8 -1 -1 0 0 -0.8 -0.7 -1 -1 0 0 -0.7 -0.6 -1 -1 0 0 -0.6 -0.5 -1 -1 0 0 -0.5 -0.4 0 -1 0 0 -0.4 -0.3 0 -1 0 0 -0.3 -0.2 0 -1 0 0 -0.2 -0.1 0 -1 0 0 -0.1 0.0 0 0 0 0 0 0.1 0 0 1 0 0.1 0.2 0 0 1 0 0.2 0.3 0 0 1 0 0.3 0.4 0 0 1 0 0.4 0.5 1 0 1 0 0.5 0.6 1 0 1 0 0.6 0.7 1 0 1 0 0.7 0.8 1 0 1 0 0.8 0.9 1 0 1 0 0.9 1.0 1 1 1 1 0 1.1 1 1 2 1 0.1 EOF my $in_comments=<<'EOF'; #foo 3 bar 5 ;baz 7 EOF my $in_comments2=<<'EOF'; #foo 3 bar 5 ;baz 7 frob 9; EOF my $in_comments3=<<'EOF'; #foo 3 bar 5 ;baz 7 frob 9# EOF my $in_esc_ident=<<'EOF'; A_Chlor_T1h_r1-metaG B 9C -bar 1 2 3 4 10 20 30 40 EOF # my $in_dirname_basename=<<'EOF'; /foo/bar /foo/ foo / . .. EOF my $exp_dirname_basename=<<'EOF'; /foo bar / foo . foo / / . . . .. . EOF my $in_barename_extname=<<'EOF'; hello-world.txt hello.world.txt .hello .txt foo%bar foo foo.tar.gz foo.txt.std foo.org.lz foo.a3 foo.gpg foo.txt.xz.gpg foo.log.bz2 foo.bar foo.bloo foo.bar.txt.log EOF my $exp_barename_extname=<<'EOF'; hello-world txt hello.world txt .hello .txt foo%bar foo foo tar.gz foo txt.std foo org.lz foo a3 foo gpg foo txt.xz.gpg foo log.bz2 foo bar foo bloo foo.bar.txt log EOF my $in1_cut=<<'EOF'; a,b,c 1,X,6 EOF my @Tests = ( # Test 'min' + --full # first, verify test without "--full" ['slct1', '-t" " -g1 min 2', {IN_PIPE=>$in_full1}, {OUT=>"A 3\nB 0\n"}], # Test 'max' + --full # first, verify test without "--full" ['slct4', '-t" " -g1 max 2', {IN_PIPE=>$in_full1}, {OUT=>"A 5\nB 8\n"}], # Test 'first' + --full # first, verify test without "--full" ['slct7', '-t" " -g1 first 2', {IN_PIPE=>$in_full1}, {OUT=>"A 4\nB 1\n"}], # more --full with --sort => see test 'sortslct1' below # Test 'last' + --full # first, verify test without "--full" ['slct9', '-t" " -g1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"A 5\nB 3\n"}], # more --full with --sort => see test 'sortslct2' below # Test --narm - ignoring NaN/NA values ## Test with 'NA' ['narm1', '--narm sum 1', {IN_PIPE=>$na1}, {OUT=>"6\n"}], ['narm2', '--narm mean 1', {IN_PIPE=>$na1}, {OUT=>"2\n"}], # without --narm, these should fail with invalid input ['narm3', 'sum 1', {IN_PIPE=>$na1}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 3 field 1: 'NA'\n"}], ## Test with 'nA' ['narm4', '--narm sum 1', {IN_PIPE=>$na2}, {OUT=>"6\n"}], ['narm5', '--narm mean 1', {IN_PIPE=>$na2}, {OUT=>"2\n"}], # without --narm, these should fail with invalid input ['narm6', 'sum 1', {IN_PIPE=>$na2}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 3 field 1: 'nA'\n"}], ## Test with 'N/A' ['narm7', '--narm sum 1', {IN_PIPE=>$na3}, {OUT=>"6\n"}], ['narm8', '--narm mean 1', {IN_PIPE=>$na3}, {OUT=>"2\n"}], # without --narm, these should fail with invalid input ['narm9', 'sum 1', {IN_PIPE=>$na3}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 3 field 1: 'N/A'\n"}], ## Test with 'NaN' ['narm10', '--narm sum 1', {IN_PIPE=>$na4}, {OUT=>"6\n"}], ['narm11', '--narm mean 1', {IN_PIPE=>$na4}, {OUT=>"2\n"}], # without --narm, 'nan' should be processed, not skipped ['narm12', 'sum 1', {IN_PIPE=>$na4}, {OUT=>"$nan\n"}, {OUT_SUBST=>'s/^-//'}], ## Test with 'nan' ['narm13', '--narm sum 1', {IN_PIPE=>$na5}, {OUT=>"6\n"}], ['narm14', '--narm mean 1', {IN_PIPE=>$na5}, {OUT=>"2\n"}], # without --narm, 'nan' should be processed, not skipped ['narm15', 'sum 1', {IN_PIPE=>$na5}, {OUT=>"$nan\n"}, {OUT_SUBST=>'s/^-//'}], # These input have strings starting with 'NA' or 'NAN' but should not # be mistaken for them. ['narm16', '--narm sum 1', {IN_PIPE=>$not_na1}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 3 field 1: 'NAK'\n"}], ['narm17', '--narm sum 1', {IN_PIPE=>$not_na2}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 3 field 1: 'NANA'\n"}], ## NA value as first/last line ['narm18', '--narm mean 1', {IN_PIPE=>$na_first}, {OUT=>"5\n"}], ['narm19', '--narm mean 1', {IN_PIPE=>$na_last}, {OUT=>"6\n"}], ## NA in the middle of the line ['narm20', '-t: --narm sum 1 sum 2 sum 3', {IN_PIPE=>$na_mid1}, {OUT=>"12:10:18\n"}], ['narm21', '-t: sum 1 sum 2 sum 3', {IN_PIPE=>$na_mid1}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 2 field 2: 'NA'\n"}], ## NA as the last field ['narm22', '-t: --narm sum 1 sum 2 sum 3', {IN_PIPE=>$na_mid1}, {OUT=>"12:10:18\n"}], ['narm23', '-t: sum 1 sum 2 sum 3', {IN_PIPE=>$na_mid1}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 2 field 2: 'NA'\n"}], # N/A affect counts ['narm24', '-t: count 1 count 2 count 3', {IN_PIPE=>$na_last1}, {OUT=>"3:3:3\n"}], ['narm25', '-t: --narm count 1 count 2 count 3', {IN_PIPE=>$na_last1}, {OUT=>"3:3:2\n"}], ['narm26', '-t: --narm sum 1 sum 2 sum 3', {IN_PIPE=>$na_last1}, {OUT=>"12:15:9\n"}], # Check NA with string operations ['narm27', '-t: --narm unique 2', {IN_PIPE=>$na_mid1}, {OUT=>"2,8\n"}], ['narm28', '-t: unique 2', {IN_PIPE=>$na_mid1}, {OUT=>"2,8,NA\n"}], # Data of all NAs ['narm29', '--narm count 1', {IN_PIPE=>$na_all}, {OUT=>"0\n"}], ['narm30', ' count 1', {IN_PIPE=>$na_all}, {OUT=>"3\n"}], ['narm31', '--narm sum 1', {IN_PIPE=>$na_all}, {OUT=>"0\n"}], ['narm32', '--narm mean 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], # Test all NA input with all operations # tested to comply with R code of 'a = C(NA,NA,NA)' # Try to be as consistent with R as possible. # The tested function is mainly 'field_op_summarize_empty()' ['narm40', '--narm count 1', {IN_PIPE=>$na_all}, {OUT=>"0\n"}], ['narm41', '--narm sum 1', {IN_PIPE=>$na_all}, {OUT=>"0\n"}], ['narm42', '--narm min 1', {IN_PIPE=>$na_all}, {OUT=>"-$inf\n"}], ['narm43', '--narm max 1', {IN_PIPE=>$na_all}, {OUT=>"$inf\n"}], ['narm44', '--narm absmin 1', {IN_PIPE=>$na_all}, {OUT=>"-$inf\n"}], ['narm45', '--narm absmax 1', {IN_PIPE=>$na_all}, {OUT=>"$inf\n"}], ['narm46', '--narm first 1', {IN_PIPE=>$na_all}, {OUT=>"N/A\n"}], ['narm47', '--narm last 1', {IN_PIPE=>$na_all}, {OUT=>"N/A\n"}], ['narm48', '--narm rand 1', {IN_PIPE=>$na_all}, {OUT=>"N/A\n"}], ['narm49', '--narm mean 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm51', '--narm median 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm52', '--narm q1 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm53', '--narm q3 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm54', '--narm iqr 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm55', '--narm pstdev 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm56', '--narm sstdev 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm57', '--narm pvar 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm58', '--narm svar 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm59', '--narm mad 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm60', '--narm madraw 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm61', '--narm sskew 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm62', '--narm pskew 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm63', '--narm skurt 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm64', '--narm pkurt 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm65', '--narm jarque 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm66', '--narm dpo 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm67', '--narm mode 1', {IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm68', '--narm antimode 1',{IN_PIPE=>$na_all}, {OUT=>"$nan\n"}], ['narm69', '--narm unique 1', {IN_PIPE=>$na_all}, {OUT=>"\n"}], ['narm70', '--narm collapse 1',{IN_PIPE=>$na_all}, {OUT=>"\n"}], ['narm71', '--narm countunique 1', {IN_PIPE=>$na_all}, {OUT=>"0\n"}], ['narm72', '--narm base64 1', {IN_PIPE=>$na_all}, {OUT=>"\n\n\n"}], ['narm73', '--narm md5 1', {IN_PIPE=>$na_all}, {OUT=>"\n\n\n"}], ['narm74', '--narm sha1 1', {IN_PIPE=>$na_all}, {OUT=>"\n\n\n"}], ['narm75', '--narm sha256 1', {IN_PIPE=>$na_all}, {OUT=>"\n\n\n"}], ['narm76', '--narm sha512 1', {IN_PIPE=>$na_all}, {OUT=>"\n\n\n"}], ['narm77', '--narm rmdup 1', {IN_PIPE=>$na_all}, {OUT=>"NA\nNaN\n"}], ['narm78', '--narm reverse', {IN_PIPE=>$na_all}, {OUT=>"NA\nNA\nNaN\n"}], ['narm79', '--narm transpose', {IN_PIPE=>$na_all}, {OUT=>"NA\tNA\tNaN\n"}], # Test binning ['bin1', 'bin 1', {IN_PIPE=>$bin_in1}, {OUT=>$bin_out1_100}], ['bin2', 'bin:5 1', {IN_PIPE=>$bin_in1}, {OUT=>$bin_out1_5}], ['bin3', 'bin:5.5 1', {IN_PIPE=>$bin_in1}, {OUT=>$bin_out1_5_5}], ['bin4', 'bin 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_100}], ['bin5', 'bin:3 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_3}], ['bin6', 'bin:3. 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_3}], ['bin7', 'bin:3.0 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_3}], ['bin8', 'bin:3.e0 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_3}], ['bin9', 'bin:0.3e1 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_3}], ['bin10','bin:30.e-1 1', {IN_PIPE=>$bin_in2}, {OUT=>$bin_out2_3}], # Test rounding functions ['rnd1', '-H --full round 1 floor 1 ceil 1 trunc 1 frac 1', {IN_PIPE=>$round_in1}, {OUT=>$round_out1}], # Test range ['rng1', '-t" " -g 1 range 2',{IN_PIPE=>$in_full1}, {OUT=>"A 2\nB 8\n"}], ['rng2', '-W range 2', {IN_PIPE=>$in_full1}, {OUT=>"8\n"}], ['rng3', 'range 1', {IN_PIPE=>""}, {OUT=>""}], # Skip invalid values ['rng4', '--narm range 1', {IN_PIPE=>"19\nNA\n9\n"}, {OUT=>"10\n"}], ['rng5', '--narm range 1', {IN_PIPE=>"NA\n"}, {OUT=>"$nan\n"}], # Test output-delimiter ['odlm1', '-t: last 1 last 2', {IN_PIPE=>$na_mid1}, {OUT=>"7:8\n"}], ['odlm2', '-t: --output-delimiter "%" last 1 last 2', {IN_PIPE=>$na_mid1}, {OUT=>"7%8\n"}], ['odlm3', '--output-delimiter "%" -t: last 1 last 2', {IN_PIPE=>$na_mid1}, {OUT=>"7%8\n"}], # output-delimiter with whitespace ['odlm4', '-t " " last 1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"B 3\n"}], ['odlm5', '-W last 1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"B\t3\n"}], ['odlm6', '-W --output-delimiter ":" last 1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"B:3\n"}], ['odlm7', '--output-delimiter ":" -W last 1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"B:3\n"}], # Multiple output delimiters ['odlm8', '--output-delimiter "x" -W --output-delimiter "y" last 1 last 2', {IN_PIPE=>$in_full1}, {OUT=>"By3\n"}], # Test -C/--skip-comments option ['sc1', 'sum 2', {IN_PIPE=>$in_comments}, {OUT=>"15\n"}], ['sc2', '-C sum 2', {IN_PIPE=>$in_comments}, {OUT=>"5\n"}], ['sc3', 'reverse', {IN_PIPE=>$in_comments}, {OUT=>"3 #foo\n" . "5 bar\n" . "7 ;baz\n"}], ['sc4', '-C reverse', {IN_PIPE=>$in_comments}, {OUT=>"5 bar\n"}], # datamash supports only comment lines, but not inline comments ['sce1', '-C sum 2', {IN_PIPE=>$in_comments2}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 2 field 2: '9;'\n"}], ['sce2', '-C sum 2', {IN_PIPE=>$in_comments3}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 2 field 2: '9#'\n"}], # Regression tests # TODO: Move regression tests into a separate file when sufficiently many # have accumulated to warrant the overhead of another test file. # Bug in mode/antimode in 1.4 and earlier ['bug_mode1', 'mode 1', {IN_PIPE=>"-1"}, {OUT=>"-1\n"}], ['bug_antimode1', 'antimode 1', {IN_PIPE=>"-1"}, {OUT=>"-1\n"}], # "Segmentation fault" when input contains embedded NUL characters # (see https://lists.gnu.org/archive/html/bug-datamash/2020-11/msg00001.html) ['regr001', 'countunique 1', {IN_PIPE=>"\x00" x 100}, {OUT=>"1\n"}], ['regr002', 'unique 1', {IN_PIPE=>"\x00" x 100}, {OUT=>"\n"}], ## ## Backslash escaping in identifiers ## ## minus in field name ['esc1', '-W -H sum "A_Chlor_T1h_r1\\-metaG"', {IN_PIPE=>$in_esc_ident}, {OUT=>"sum(A_Chlor_T1h_r1-metaG)\n11\n"}], # field name starting with an identifier ['esc2', '-W -H sum "\\9C"', {IN_PIPE=>$in_esc_ident}, {OUT=>"sum(9C)\n33\n"}], # field name starting with minus ['esc3', '-W -H sum "\\-bar"', {IN_PIPE=>$in_esc_ident}, {OUT=>"sum(-bar)\n44\n"}], # dirname and basename ['dnbn1', 'dirname 1 basename 1', {IN_PIPE=>$in_dirname_basename}, {OUT=>$exp_dirname_basename}], # barename and extname ['bnen1', 'barename 1 extname 1', {IN_PIPE=>$in_barename_extname}, {OUT=>$exp_barename_extname}], ## GetNum variants ['gn1', 'getnum 1', {IN_PIPE=>"moo-123.45"}, {OUT=>"123.45\n"}], # Integer ['gn2', 'getnum:i 1', {IN_PIPE=>"moo-123.45"}, {OUT=>"-123\n"}], # Hex 0x123 = 291 ['gn3', 'getnum:h 1', {IN_PIPE=>"moo-123.45"}, {OUT=>"291\n"}], # Octal 0123 = 83 ['gn4', 'getnum:o 1', {IN_PIPE=>"moo-123.45"}, {OUT=>"83\n"}], # Natural ['gn5', 'getnum:n 1', {IN_PIPE=>"moo-123.45"}, {OUT=>"123\n"}], # Decimal ['gn6', 'getnum:d 1', {IN_PIPE=>"moo-123.45"}, {OUT=>"-123.45\n"}], # GetNum variants ['gn6-1', 'getnum 1', {IN_PIPE=>"moo-103.89"}, {OUT=>"103.89\n"}], # Integer ['gn6-2', 'getnum:i 1', {IN_PIPE=>"moo-789.45"}, {OUT=>"-789\n"}], ['gn10', 'getnum 1', {IN_PIPE=>"moo"}, {OUT=>"0\n"}], ['gn11', 'getnum:d 1', {IN_PIPE=>"moo"}, {OUT=>"0\n"}], ['gn12', 'getnum:i 1', {IN_PIPE=>"moo---4"}, {OUT=>"0\n"}], ['gn13', 'getnum:d 1', {IN_PIPE=>"moo...4"}, {OUT=>"0\n"}], ['gn14', 'getnum:i 1', {IN_PIPE=>"moo99999999999999999999999999999" . "1234312341432123451541341312431"}, {OUT=>"0\n"}], ['gn15', 'getnum:d 1', {IN_PIPE=>"moo" . "9" x 10000}, {OUT=>"0\n"}], ['gn16', 'getnum:n 1', {IN_PIPE=>"moo" x 4000 . "42" . "bar" x 1000}, {OUT=>"42\n"}], ['gn17', 'getnum 1', {IN_PIPE=>"abc\t123\n"}, {OUT=>"0\n"}], ['gn18', 'getnum 2', {IN_PIPE=>"abc\t123\n"}, {OUT=>"123\n"}], ['gn19', '-t, getnum 1', {IN_PIPE=>"abc,123\n"}, {OUT=>"0\n"}], ['gn20', '-t, getnum 2', {IN_PIPE=>"abc,123\n"}, {OUT=>"123\n"}], ['gn21', '-t: getnum 1', {IN_PIPE=>"abc:123\n"}, {OUT=>"0\n"}], ['gn22', '-t: getnum 2', {IN_PIPE=>"abc:123\n"}, {OUT=>"123\n"}], # cut operation ['cut1','-t, cut 3,1,2', {IN_PIPE=>$in1_cut}, {OUT=>"c,a,b\n6,1,X\n"}], ['cut2','-t, -H cut c,a', {IN_PIPE=>$in1_cut}, {OUT=>"cut(c),cut(a)\n6,1\n"}], # Aliases (more-or-less: copy-paste above tests and s/orig/alias/ the # command names.) ['alias1','-t, echo 3,1,2', {IN_PIPE=>$in1_cut}, {OUT=>"c,a,b\n6,1,X\n"}], ['alias2','-t, -H echo c,a', {IN_PIPE=>$in1_cut}, {OUT=>"cut(c),cut(a)\n6,1\n"}], ['alias3', '-t: --narm uniq 2', {IN_PIPE=>$na_mid1}, {OUT=>"2,8\n"}], ['alias4', '-t: uniq 2', {IN_PIPE=>$na_mid1}, {OUT=>"2,8,NA\n"}], ['alias5', '--narm uniq 1', {IN_PIPE=>$na_all}, {OUT=>"\n"}], # Decimal separator used as input field delimiter ['ifdl01', '-t. cut 2,1', {IN_PIPE=>"1.2\n"}, {OUT=>"2.1\n"}], ['ifdl02', '-t. cut 3,2,1', {IN_PIPE=>"1.2.3\n"}, {OUT=>"3.2.1\n"}], ['ifdl03', '-t. unique 1,2', {IN_PIPE=>"1.2\n"}, {OUT=>"1.2\n"}], ['ifdl04', '-t. unique 1,2,3', {IN_PIPE=>"1.2.3\n"}, {OUT=>"1.2.3\n"}], ['ifdl05', '-t. count 1,2', {IN_PIPE=>"1.2\n"}, {OUT=>"1.1\n"}], ['ifdl06', '-t. count 1,2,3', {IN_PIPE=>"1.2.3\n"}, {OUT=>"1.1.1\n"}], ['ifdl07', '-t. countunique 1,2', {IN_PIPE=>"1.2\n"}, {OUT=>"1.1\n"}], ['ifdl08', '-t. countunique 1,2,3', {IN_PIPE=>"1.2.3\n"}, {OUT=>"1.1.1\n"}], ['ifdl09', '-t. rmdup 1', {IN_PIPE=>"1.2\n"}, {OUT=>"1.2\n"}], ['ifdl10', '-t. rmdup 2', {IN_PIPE=>"1.2\n"}, {OUT=>"1.2\n"}], ['ifdl11', '-t. rmdup 3', {IN_PIPE=>"1.2.3\n"}, {OUT=>"1.2.3\n"}], ['ifdl12', '-t. sum 1,2', {IN_PIPE=>"1.2\n"}, {OUT=>"1.2\n"}], ['ifdl13', '-t. sum 1,2,3', {IN_PIPE=>"1.2.3\n"}, {OUT=>"1.2.3\n"}], ['ifdl14', '-t. getnum 1,2', {IN_PIPE=>"x1.2y\n"}, {OUT=>"1.2\n"}], ['ifdl15', '-t. getnum 1', {IN_PIPE=>"x2.3y\n"}, {OUT=>"2\n"}], ['ifdl16', '-t. getnum 2', {IN_PIPE=>"x2.3y\n"}, {OUT=>"3\n"}], # Test mode operation ['mode01', 'mode 1', {IN_PIPE=>"1\n1\n2\n"}, {OUT=>"1\n"}], ['mode02', 'mode 1', {IN_PIPE=>"1\n2\n2\n"}, {OUT=>"2\n"}], ['mode03', 'mode 1', {IN_PIPE=>"1\n2\n2\n3\n3\n3\n"}, {OUT=>"3\n"}], ['mode04', 'mode 1', {IN_PIPE=>"1\n1\n1\n2\n2\n3\n"}, {OUT=>"1\n"}], ['mode05', 'mode 1', {IN_PIPE=>"1\n1\n2\n2\n2\n3\n"}, {OUT=>"2\n"}], ['mode06', 'mode 1', {IN_PIPE=>"1\n2\n2\n3\n3\n3\n"}, {OUT=>"3\n"}], ['mode07', 'mode 1', {IN_PIPE=>"1\n1\n1\n2\n3\n3\n"}, {OUT=>"1\n"}], ['mode08', 'mode 1',{IN_PIPE=>"1\n2\n2\n3\n3\n3\n4\n4\n4\n4\n"},{OUT=>"4\n"}], ['mode09', 'mode 1',{IN_PIPE=>"1\n2\n2\n3\n3\n3\n3\n4\n4\n4\n"},{OUT=>"3\n"}], ['mode10', 'mode 1',{IN_PIPE=>"1\n2\n2\n2\n2\n3\n3\n4\n4\n4\n"},{OUT=>"2\n"}], ['mode11', 'mode 1',{IN_PIPE=>"1\n1\n1\n1\n2\n2\n3\n3\n3\n4\n"},{OUT=>"1\n"}], ['mode12', 'mode 1', {IN_PIPE=>"9\n"}, {OUT=>"9\n"}], ['mode13', 'mode 1', {IN_PIPE=>"1\n1\n1\n2\n2\n2\n2\n3\n3\n4\n4\n4\n4\n4\n"}, {OUT=>"4\n"}], # Test antimode operation ['antimode01', 'antimode 1', {IN_PIPE=>"1\n1\n2\n"}, {OUT=>"2\n"}], ['antimode02', 'antimode 1', {IN_PIPE=>"1\n2\n2\n"}, {OUT=>"1\n"}], ['antimode03', 'antimode 1', {IN_PIPE=>"1\n2\n2\n3\n3\n3\n"}, {OUT=>"1\n"}], ['antimode04', 'antimode 1', {IN_PIPE=>"1\n1\n2\n3\n3\n3\n"}, {OUT=>"2\n"}], ['antimode05', 'antimode 1', {IN_PIPE=>"1\n1\n1\n2\n2\n3\n"}, {OUT=>"3\n"}], ['antimode06', 'antimode 1', {IN_PIPE=>"1\n1\n2\n2\n2\n3\n"}, {OUT=>"3\n"}], ['antimode07', 'antimode 1', {IN_PIPE=>"1\n2\n2\n3\n3\n3\n"}, {OUT=>"1\n"}], ['antimode08', 'antimode 1', {IN_PIPE=>"1\n1\n1\n2\n3\n3\n"}, {OUT=>"2\n"}], ['antimode09', 'antimode 1', {IN_PIPE=>"1\n2\n2\n3\n3\n3\n4\n4\n4\n4\n"}, {OUT=>"1\n"}], ['antimode10', 'antimode 1', {IN_PIPE=>"1\n2\n2\n3\n3\n3\n3\n4\n4\n4\n"}, {OUT=>"1\n"}], ['antimode11', 'antimode 1', {IN_PIPE=>"1\n2\n2\n2\n2\n3\n3\n4\n4\n4\n"}, {OUT=>"1\n"}], ['antimode12', 'antimode 1', {IN_PIPE=>"1\n1\n1\n1\n2\n2\n3\n3\n3\n4\n"}, {OUT=>"4\n"}], ['antimode13', 'antimode 1', {IN_PIPE=>"1\n1\n1\n1\n2\n3\n3\n3\n4\n4\n"}, {OUT=>"2\n"}], ['antimode14', 'antimode 1', {IN_PIPE=>"1\n1\n1\n1\n2\n2\n3\n4\n4\n4\n"}, {OUT=>"3\n"}], ['antimode15', 'antimode 1', {IN_PIPE=>"1\n1\n2\n2\n2\n3\n4\n4\n4\n4\n"}, {OUT=>"3\n"}], ['antimode16', 'antimode 1', {IN_PIPE=>"1\n1\n2\n2\n3\n3\n4\n"}, {OUT=>"4\n"}], ['antimode17', 'antimode 1', {IN_PIPE=>"9\n"}, {OUT=>"9\n"}], ['antimode18', 'antimode 1', {IN_PIPE=>"1\n1\n1\n2\n2\n2\n2\n3\n3\n4\n4\n4\n4\n4\n"}, {OUT=>"3\n"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-tests-deprecated.pl0000754000000000000000000001104114771573715015333 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; ## Portability hack ## Check if the system's sort supports stable sorting ('-s'). ## If it doesn't - skip some tests my $rc = system("sort -s < /dev/null > /dev/null 2>/dev/null"); die "testing framework failure: failed to execute sort -s" if ( ($rc == -1) || ($rc & 127) ); my $sort_exit_code = ($rc >> 8); my $have_stable_sort = ($sort_exit_code==0); # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in_g3=<<'EOF'; A 3 W A 5 W A 7 W A 11 X A 13 X B 17 Y B 19 Z C 23 Z EOF my $in_g4=<<'EOF'; A 5 K 6 P 2 EOF my $in_hdr1=<<'EOF'; x y z A 1 10 A 2 10 A 3 10 A 4 10 A 4 10 B 5 10 B 6 20 B 7 30 C 8 11 C 9 22 C 1 33 C 2 44 EOF my $in_hdr_only=<<'EOF'; X:Y:Z EOF my $full_deprecation = "$prog: Using -f/--full with non-linewise operations " . "is deprecated and will be disabled in a future release.\n"; my @Tests = ( # empty input = empty output, regardless of options ['emp2dep', '--full count 2', {IN_PIPE=>""},{OUT=>""}, {ERR=>"$full_deprecation"}], ['emp5dep', '--full --header-in count 2', {IN_PIPE=>""},{OUT=>""}, {ERR=>"$full_deprecation"}], ['emp6dep', '--full --header-out count 2', {IN_PIPE=>""},{OUT=>""}, {ERR=>"$full_deprecation"}], ['emp7dep', '--full --header-in --header-out count 2', {IN_PIPE=>""},{OUT=>""}, {ERR=>"$full_deprecation"}], ['emp8dep', '-g3,4 --full --header-in --header-out count 2', {IN_PIPE=>""},{OUT=>""}, {ERR=>"$full_deprecation"}], # --full option - without grouping, returns the first line ['fl1dep', '-t" " --full sum 2', {IN_PIPE=>$in_g3}, {OUT=>"A 3 W 98\n"}, {ERR=>"$full_deprecation"}], # --full with grouping - print entire line of each group ['fl2dep', '-t" " --full -g3 sum 2', {IN_PIPE=>$in_g3}, {OUT=>"A 3 W 15\nA 11 X 24\nB 17 Y 17\nB 19 Z 42\n"}, {ERR=>"$full_deprecation"}], # Input and output header, with full line ['hdr3dep', '-t" " -g 1 --full --header-in --header-out count 2', {IN_PIPE=>$in_hdr1}, {OUT=>"x y z count(y)\nA 1 10 5\nB 5 10 3\nC 8 11 4\n"}, {ERR=>"$full_deprecation"}], # Output Header with --full ['hdr5dep', '-t" " -g 1 --full --header-out count 2', {IN_PIPE=>$in_g3}, {OUT=>"field-1 field-2 field-3 count(field-2)\n" . "A 3 W 5\nB 17 Y 2\nC 23 Z 1\n"}, {ERR=>"$full_deprecation"}], # Input has only one header line (no data lines), and the user requested # header-in and header-out => header line should be printed ['hdr15dep', '-t: --full -H sum 1', {IN_PIPE=>$in_hdr_only}, {OUT=>"X:Y:Z:sum(X)\n"}, {ERR=>"$full_deprecation"}], ['hdr17dep', '-t: --full -s -g1 -H sum 2', {IN_PIPE=>$in_hdr_only}, {OUT=>"X:Y:Z:sum(Y)\n"}, {ERR=>"$full_deprecation"}], # Test single line per group ['sl2dep', '-t" " --full -g 1 mean 2', {IN_PIPE=>$in_g4}, {OUT=>"A 5 5\nK 6 6\nP 2 2\n"}, {ERR=>"$full_deprecation"}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-tests.pl0000754000000000000000000010212714771573715013243 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; ## Portability hack ## Check if the system's sort supports stable sorting ('-s'). ## If it doesn't - skip some tests my $rc = system("sort -s < /dev/null > /dev/null 2>/dev/null"); die "testing framework failure: failed to execute sort -s" if ( ($rc == -1) || ($rc & 127) ); my $sort_exit_code = ($rc >> 8); my $have_stable_sort = ($sort_exit_code==0); # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; # note: '5' appears twice my $in1 = join("\n", qw/1 2 3 4 5 6 7 5 8 9 10/) . "\n"; # Mix of spaces and tabs my $in2 = "1 2\t 3\n" . "4\t5 6\n"; my $in_minmax = join("\n", qw/5 90 -7e2 3 200 0.1e-3 42/) . "\n"; # Lots of whitespace my $in3 = "1 \t 2\t\t\t3\t\t\n" . "4\t\t\t5 6\n"; # Only whitespace my $ws1 = "\t\t\t\n"; my $ws2 = " \t \n"; # Leading whitespace my $lws1 = "\t\t1\n"; my $lws2 = "\t 1\n"; # trailing whitespace my $tws1 = "1\t\t\n"; my $tws2 = "1 \t\n"; # both leading and trailing whitespace my $ltws1 = "\t\t1\t\t\n"; my $ltws2 = " \t1\t \n"; my $ltws3 = "\t 1:2 \t\n"; my $in_g1=<<'EOF'; A 100 A 10 A 50 A 35 EOF my $in_g2=<<'EOF'; A 100 A 10 A 50 A 35 B 66 B 77 B 55 EOF my $in_g2_tab = $in_g2; $in_g2_tab =~ s/ /\t/gms; my $in_g3=<<'EOF'; A 3 W A 5 W A 7 W A 11 X A 13 X B 17 Y B 19 Z C 23 Z EOF my $in_g4=<<'EOF'; A 5 K 6 P 2 EOF my $in_g5=<<'EOF'; A 1 AA 2 AAA 3 EOF my $in_hdr1=<<'EOF'; x y z A 1 10 A 2 10 A 3 10 A 4 10 A 4 10 B 5 10 B 6 20 B 7 30 C 8 11 C 9 22 C 1 33 C 2 44 EOF # Header line, with custom field separator my $in_hdr2=<<'EOF'; x:y:z A:3:W A:5:W A:7:W A:11:X A:13:X B:17:Y B:19:Z C:23:Z EOF # Same as $in_hdr1, but with whitespace delimiters my $in_hdr3=<<"EOF"; x \t y z A 1 10 A 2 10 A 3 10 A 4 10 A 4 10 B 5 10 B 6\t20 B 7 30 C\t 8 \t11 C\t9\t\t22 C 1 33 C 2 44 EOF my $in_cnt_uniq1=<<'EOF'; x y A 1 A 2 A 1 A 2 A 1 A 2 B 1 B 2 B 1 B 2 B 1 B 2 EOF my $in_cnt_uniq2=<<'EOF'; a B A b A B A C EOF # When using whitespace, the second column is 1,2,3. # When using Tab, the second column is 10,20,30. my $in_tab1=<<"EOF"; A 1\t10 B 2\t20 C 3\t30 EOF # When using whitespace, this input has fours columns. # When using Tab, this input has three columns. # The lines are unsorted. When sorted by the second column, # The output will depend on whether using whitespace or TAB. my $in_sort1=<<"EOF"; ! A\tx\t1 @ B\tk\t2 # D\tj\t3 @ B\tx\t5 # C\tj\t4 ^ C\tg\t6 EOF # This (sorted) input will return different results based on case-sensitivity my $in_case_sorted=<<'EOF'; a X 1 a x 3 A X 2 A x 5 b Y 4 B Y 6 EOF # # This (unsorted) input will return different results based on case-sensitivity my $in_case_unsorted=<<'EOF'; a X 1 A X 2 a x 3 b Y 4 A x 5 B Y 6 EOF my $in_sort_quote1=<<"EOF"; A'1 B'2 A'3 B'4 EOF my $in_sort_quote2=<<'EOF'; A"1 B"2 A"3 B"4 EOF ## NUL as end-of-line character my $in_nul1="A 1\x00A 2\x00B 3\x00B 4\x00"; ## Invalid numeric input my $in_invalid_num1=<<'EOF'; A 1 A 2 B 3a B 4 EOF my $in_precision1=<<'EOF'; 0.3 3e10 EOF my $in_precision2=<<'EOF'; 0.3 3e14 EOF my $in_large_buffer1 = "A 1\n" . "A " . "FooBar" x 512 . "\n" . "A " . "FooBar" x 1024 . "\n" . "A 2\n" . "B 3\n" . "B " . "FooBar" x 1024 . "\n" . "B " . "FooBar" x 512 . "\n" . "B 4\n"; my $in_large_buffer2 = "A " . "FooBar" x 100 . "\n" . "A " . "FooBar" x 200 . "\n" . "B " . "FooBar" x 300 . "\n" . "B " . "FooBar" x 400 . "\n" ; my $out_large_buffer_first = "A " . "FooBar" x 100 . "\n" . "B " . "FooBar" x 300 . "\n" ; my $out_large_buffer_last = "A " . "FooBar" x 200 . "\n" . "B " . "FooBar" x 400 . "\n" ; # Input with variable (and large) number of fields my $in_wide1 = "A " x 10 . "x\n" . "A " x 21 . "x\n" . "A " x 99 . "x\n" . "A " x 1000 . "x\n" . "A " x 2 . "x\n" ; my $in_empty1=<<'EOF'; A::2 B::3 B::4 EOF my $in_dup1=<<'EOF'; X:Y 1:a 2:b 3:a 2:c EOF my $in_hdr_only=<<'EOF'; X:Y:Z EOF my $in_multiple_groups=<<'EOF'; a a a foo a a a bar a a b baz a b b alice a b c bob b b c eve b c d frank b c d foo b c d bar b d d baz c d a alice c d a bob c e b eve c e b frank c e c foo d a c bar d a d baz d a d alice d b e bob d b e eve e b a frank e c a foo e c b bar e c b baz e d c alice EOF my $out_multiple_groups=<<'EOF'; a a a bar,foo a a b baz a b b alice a b c bob b b c eve b c d bar,foo,frank b d d baz c d a alice,bob c e b eve,frank c e c foo d a c bar d a d alice,baz d b e bob,eve e b a frank e c a foo e c b bar,baz e d c alice EOF =pod Example: my $data = "a 1\nb 2\n"; my $out = transform_column($data, 2, \&md5_hex); # out => md5_hex("1") . "\n" . md5_hex("2") . "\n" ; =cut sub transform_column($$$) { my $input_text = shift; my $input_column = shift; my $function = shift; return join "", map { "$_\n" } map { &$function($_->[ $input_column - 1 ]) } map { [ split / / ] } split("\n", $input_text); } sub single_line_base64($) { my $in = shift; return encode_base64($in,''); } my $out_g1_base64 = transform_column ($in_g1, 2, \&single_line_base64); my $out_g1_debase64 = transform_column ($out_g1_base64, 1, \&decode_base64); my @Tests = ( # Basic tests, single field, single group, default everything ['b1', 'count 1' , {IN_PIPE=>$in1}, {OUT => "11\n"}], ['b2', 'sum 1', {IN_PIPE=>$in1}, {OUT => "60\n"}], ['b3', 'min 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], ['b4', 'max 1', {IN_PIPE=>$in1}, {OUT => "10\n"}], ['b5', 'absmin 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], ['b6', 'absmax 1', {IN_PIPE=>$in1}, {OUT => "10\n"}], ['b7', 'median 1', {IN_PIPE=>$in1}, {OUT => "5\n"}], ['b8', 'mode 1', {IN_PIPE=>$in1}, {OUT => "5\n"}], ['b9', 'antimode 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], ['b10', 'unique 1', {IN_PIPE=>$in1}, {OUT => "1,10,2,3,4,5,6,7,8,9\n"}], ['b11', '--collapse-delimiter=^ unique 1', {IN_PIPE=>$in1}, {OUT => "1^10^2^3^4^5^6^7^8^9\n"}], ['b11.1', '-c^ unique 1', {IN_PIPE=>$in1}, {OUT => "1^10^2^3^4^5^6^7^8^9\n"}], ['b12', 'collapse 1', {IN_PIPE=>$in1}, {OUT => "1,2,3,4,5,6,7,5,8,9,10\n"}], ['b13', '--collapse-delimiter=^ collapse 1', {IN_PIPE=>$in1}, {OUT => "1^2^3^4^5^6^7^5^8^9^10\n"}], ['b13.1', '-c ^ collapse 1', {IN_PIPE=>$in1}, {OUT => "1^2^3^4^5^6^7^5^8^9^10\n"}], # on a different architecture, would printf(%Lg) print something else? # Use OUT_SUBST to trim output to 1.3 digits ['b14', 'mean 1', {IN_PIPE=>$in1}, {OUT => "5.454\n"}, {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ['b15', 'pstdev 1', {IN_PIPE=>$in1}, {OUT => "2.742\n"}, {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ['b16', 'sstdev 1', {IN_PIPE=>$in1}, {OUT => "2.876\n"}, {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ['b17', 'pvar 1', {IN_PIPE=>$in1}, {OUT => "7.520\n"}, {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ['b18', 'svar 1', {IN_PIPE=>$in1}, {OUT => "8.272\n"}, {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ['b19', 'countunique 1', {IN_PIPE=>$in1}, {OUT => "10\n"}], ['b20', 'first 1', {IN_PIPE=>$in1}, {OUT => "1\n"}], ['b21', 'last 1', {IN_PIPE=>$in1}, {OUT => "10\n"}], # This test just ensures the 'rand' operation is functioning. # It does not verify randomness (see datamash-rand.sh test for that). ['b22', 'rand 1', {IN_PIPE=>$in1}, {OUT => "\n"}, {OUT_SUBST=>'s/[0-9]+//'}], ## Some error checkings ['e1', 'sum', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'sum'\n"}], ['e2', 'foobar', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: invalid operation 'foobar'\n"}], ['e3', '', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: missing operation specifiers\n" . "Try '$prog --help' for more information.\n"}], ['e4', 'sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 1 field 1: 'a'\n"}], ['e5', '-g 4, sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'groupby'\n"}], ['e6', '-g 4,x sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ['e7', '-g ,x sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'groupby'\n"}], ['e8', '-g 1,0 sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: invalid field '0' for operation 'groupby'\n"}], ['e9', '-g 1X0 sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value '1X0'\n"}], ['e10', '-g 1 -t XX sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: the delimiter must be a single character\n"}], ['e10.1', '-g 1 -t "" sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: the delimiter must be a single character\n"}], ['e11', '--foobar' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: unrecognized option foobar\n" . "Try '$prog --help' for more information.\n"}, # This ERR_SUBST is needed because on some systems (e.g. OpenBSD), # The error message from 'getopt_long' is slightly # different than GNU libc's. {ERR_SUBST=>'s/(unknown|unrecognized) option.*(foobar).*' . '/unrecognized option $2/'}], ['e12', '-t" " -H unique 4' , {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: invalid input: field 4 requested, " . "line 1 has only 3 fields\n"}], ['e13', '-t" " sum 6' , {IN_PIPE=>$in_g3}, {EXIT=>1}, {ERR=>"$prog: invalid input: field 6 requested, " . "line 1 has only 3 fields\n"}], ['e14', '--header-in -t: sum 6' , {IN_PIPE=>$in_hdr2}, {EXIT=>1}, {ERR=>"$prog: invalid input: field 6 requested, " . "line 2 has only 3 fields\n"}], ['e15', 'sum foo' , {IN_PIPE=>"a"}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ['e16', '-t" " sum 2' , {IN_PIPE=>$in_invalid_num1}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 3 field 2: '3a'\n"}], ['e17', 'sum 1' , {IN_PIPE=>"1e-20000\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 1 field 1: '1e-20000'\n"}], ['e18', 'sum 0' , {IN_PIPE=>"a"}, {EXIT=>1}, {ERR=>"$prog: invalid field '0' for operation 'sum'\n"}], ['e19', '-- sum -2' , {IN_PIPE=>"a"}, {EXIT=>1}, {ERR=>"$prog: invalid field range for operation 'sum'\n"}], ['e21', 'sum ""' , {IN_PIPE=>"a"}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'sum'\n"}], ['e22', '-t" " -g 7 unique 1' , {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: invalid input: field 7 requested, " . "line 2 has only 3 fields\n"}], ['e23', '-t" " -g -2 unique 1' , {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: invalid field '-' for operation 'groupby'\n"}], ['e24', '-t" " --header-out -g 5 count 1', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: invalid input: field 5 requested, " . "line 1 has only 3 fields\n"}], ['e25', '-g 1,,2 sum 1' , {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'groupby'\n"}], ['e26', '-g 4-1 sum 1', {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: invalid field range for operation 'groupby'\n"}], ['e27', '-g 1- sum 1', {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: invalid field range for operation 'groupby'\n"}], ['e28', '--collapse-delimiter=foo', {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: the delimiter must be a single character\n"}], ['e29', '-c foo', {IN_PIPE=>"a\n"}, {EXIT=>1}, {ERR=>"$prog: the delimiter must be a single character\n"}], # No newline at the end of the lines ['nl1', 'sum 1', {IN_PIPE=>"99"}, {OUT=>"99\n"}], ['nl2', 'sum 1', {IN_PIPE=>"1\n99"}, {OUT=>"100\n"}], # empty input = empty output, regardless of options [ 'emp1', 'count 1', {IN_PIPE=>""}, {OUT=>""}], [ 'emp3', '--header-in count 2', {IN_PIPE=>""},{OUT=>""}], [ 'emp4', '--header-out count 2', {IN_PIPE=>""},{OUT=>""}], [ 'emp9', '-g3 count 2', {IN_PIPE=>""},{OUT=>""}], ## Field extraction ['f1', '-W sum 1', {IN_PIPE=>$in2}, {OUT=>"5\n"}], ['f2', '-W sum 2', {IN_PIPE=>$in2}, {OUT=>"7\n"}], ['f3', '-W sum 3', {IN_PIPE=>$in2}, {OUT=>"9\n"}], ['f4', '-W sum 3 sum 1', {IN_PIPE=>$in2}, {OUT=>"9\t5\n"}], ['f5', '-t: sum 4', {IN_PIPE=>"11:12::13:14"}, {OUT=>"13\n"}], # collase non-last field (followed by whitespace, not new-line) ['f6', '-t" " unique 1', {IN_PIPE=>$in_g2}, {OUT=>"A,B\n"}], ['f7', 'unique 1', {IN_PIPE=>$in_g2_tab}, {OUT=>"A,B\n"}], # Differences between TAB (detail), Space, and whitespace delimiters ['f8', 'collapse 1', {IN_PIPE=>$in2}, {OUT=>"1 2,4\n"}], ['f9', 'collapse 2', {IN_PIPE=>$in2}, {OUT=>" 3,5 6\n"}], ['f10', '-t" " collapse 1', {IN_PIPE=>$in2}, {OUT=>"1,4\t5\n"}], ['f11', '-t" " collapse 2', {IN_PIPE=>$in2}, {OUT=>"2\t,6\n"}], ['f12', '-W collapse 1', {IN_PIPE=>$in2}, {OUT=>"1,4\n"}], ['f13', '-W collapse 2', {IN_PIPE=>$in2}, {OUT=>"2,5\n"}], ['f14', '-W collapse 3', {IN_PIPE=>$in2}, {OUT=>"3,6\n"}], ['f15', '-W collapse 1', {IN_PIPE=>$in3}, {OUT=>"1,4\n"}], ['f16', '-W collapse 2', {IN_PIPE=>$in3}, {OUT=>"2,5\n"}], ['f17', '-W collapse 3', {IN_PIPE=>$in3}, {OUT=>"3,6\n"}], # Empty fields (2 is the empty field in 'in_empty1') ['f18', '-t: -g1 count 3', {IN_PIPE=>$in_empty1}, {OUT=>"A:1\nB:2\n"}], # String operations on an empty field should work ['f19', '-t: -g1 count 2', {IN_PIPE=>$in_empty1}, {OUT=>"A:1\nB:2\n"}], ['f20', '-t: -g1 countunique 2', {IN_PIPE=>$in_empty1}, {OUT=>"A:1\nB:1\n"}], #TODO: should collapsing two empty string result in a single comma? ['f21', '-t: -g1 collapse 2', {IN_PIPE=>$in_empty1}, {OUT=>"A:\nB:,\n"}], ['f22', '-t: -g1 unique 2', {IN_PIPE=>$in_empty1}, {OUT=>"A:\nB:\n"}], # Numeric operation on an empty field should not work ['f23', '-t: -g1 sum 2', {IN_PIPE=>$in_empty1}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 1 field 2: ''\n"}], ['f24', '-W -g1,2,3 uniq 4', {IN_PIPE=>$in_multiple_groups}, {OUT=>$out_multiple_groups}], ['f25', '-W -g1-3 uniq 4', {IN_PIPE=>$in_multiple_groups}, {OUT=>$out_multiple_groups}], # whitespace only, different field delimiters ['ws1.1', 'check', {IN_PIPE=>$ws1}, {OUT=>"1 line, 4 fields\n"}], ['ws1.2', '-W check', {IN_PIPE=>$ws1}, {OUT=>"1 line, 1 field\n"}], ['ws1.3', '-t: check', {IN_PIPE=>$ws1}, {OUT=>"1 line, 1 field\n"}], ['ws2.1', 'check', {IN_PIPE=>$ws2}, {OUT=>"1 line, 2 fields\n"}], ['ws2.2', '-W check', {IN_PIPE=>$ws2}, {OUT=>"1 line, 1 field\n"}], ['ws2.3', '-t: check', {IN_PIPE=>$ws2}, {OUT=>"1 line, 1 field\n"}], # leading whitespace, different field delimiters ['lws1.1', 'check', {IN_PIPE=>$lws1}, {OUT=>"1 line, 3 fields\n"}], ['lws1.2', '-W check', {IN_PIPE=>$lws1}, {OUT=>"1 line, 1 field\n"}], ['lws1.3', '-t: check', {IN_PIPE=>$lws1}, {OUT=>"1 line, 1 field\n"}], ['lws2.1', 'check', {IN_PIPE=>$lws2}, {OUT=>"1 line, 2 fields\n"}], ['lws2.2', '-W check', {IN_PIPE=>$lws2}, {OUT=>"1 line, 1 field\n"}], ['lws2.3', '-t: check', {IN_PIPE=>$lws2}, {OUT=>"1 line, 1 field\n"}], # trailing whitespace, different field delimiters ['tws1.1', 'check', {IN_PIPE=>$tws1}, {OUT=>"1 line, 3 fields\n"}], ['tws1.2', '-W check', {IN_PIPE=>$tws1}, {OUT=>"1 line, 2 fields\n"}], ['tws1.3', '-t: check', {IN_PIPE=>$tws1}, {OUT=>"1 line, 1 field\n"}], ['tws2.1', 'check', {IN_PIPE=>$tws2}, {OUT=>"1 line, 2 fields\n"}], ['tws2.2', '-W check', {IN_PIPE=>$tws2}, {OUT=>"1 line, 2 fields\n"}], ['tws2.3', '-t: check', {IN_PIPE=>$tws2}, {OUT=>"1 line, 1 field\n"}], # both leading and trailing whitespace, different field delimiters ['ltws1.1', 'check', {IN_PIPE=>$ltws1}, {OUT=>"1 line, 5 fields\n"}], ['ltws1.2', '-W check', {IN_PIPE=>$ltws1}, {OUT=>"1 line, 2 fields\n"}], ['ltws1.3', '-t: check', {IN_PIPE=>$ltws1}, {OUT=>"1 line, 1 field\n"}], ['ltws2.1', 'check', {IN_PIPE=>$ltws2}, {OUT=>"1 line, 3 fields\n"}], ['ltws2.2', '-W check', {IN_PIPE=>$ltws2}, {OUT=>"1 line, 2 fields\n"}], ['ltws2.3', '-t: check', {IN_PIPE=>$ltws2}, {OUT=>"1 line, 1 field\n"}], ['ltws3.1', 'check', {IN_PIPE=>$ltws3}, {OUT=>"1 line, 3 fields\n"}], ['ltws3.2', '-W check', {IN_PIPE=>$ltws3}, {OUT=>"1 line, 2 fields\n"}], ['ltws3.3', '-t: check', {IN_PIPE=>$ltws3}, {OUT=>"1 line, 2 fields\n"}], # Test Absolute min/max ['mm1', 'min 1', {IN_PIPE=>$in_minmax}, {OUT=>"-700\n"}], ['mm2', 'max 1', {IN_PIPE=>$in_minmax}, {OUT=>"200\n"}], ['mm3', 'absmin 1', {IN_PIPE=>$in_minmax}, {OUT=>"0.0001\n"}], ['mm4', 'absmax 1', {IN_PIPE=>$in_minmax}, {OUT=>"-700\n"}], # # Test Grouping # # Single group (key in column 1) ['g1.1', '-t" " -g1 sum 2', {IN_PIPE=>$in_g1}, {OUT=>"A 195\n"}], ['g2.1', '-t" " -g1 median 2', {IN_PIPE=>$in_g1}, {OUT=>"A 42.5\n"}], ['g3.1', '-t" " -g1 collapse 2', {IN_PIPE=>$in_g1}, {OUT=>"A 100,10,50,35\n"}], ['g4.1', '-t" " -g1 count 2', {IN_PIPE=>$in_g5}, {OUT=>"A 1\nAA 1\nAAA 1\n"}], # Group on the last column ['grp5', '-t" " -g3 count 1', {IN_PIPE=>$in_hdr1}, {OUT=>"z 1\n10 6\n20 1\n30 1\n11 1\n22 1\n33 1\n44 1\n"}], # 3 groups, single line per group, custom delimiter ['g7.1', '-g2 -t= mode 1', {IN_PIPE=>"1=A\n2=B\n3=C\n"}, {OUT=>"A=1\nB=2\nC=3\n"}], # Multiple keys (from different columns) ['g8.1', '-t" " -g1,3 sum 2', {IN_PIPE=>$in_g3}, {OUT=>"A W 15\nA X 24\nB Y 17\nB Z 19\nC Z 23\n"}], ['g8.2', '-t" " -g1-2 count 2', {IN_PIPE=>$in_g4}, {OUT=>"A 5 1\nK 6 1\nP 2 1\n"}], # count on non-numeric fields ['cnt1', '-t" " -g 1 count 1', {IN_PIPE=>$in_g2}, {OUT=>"A 4\nB 3\n"}], # Input Header ['hdr1', '-t" " -g 1 --header-in count 2',{IN_PIPE=>$in_hdr1}, {OUT=>"A 5\nB 3\nC 4\n"}], # Input and output header ['hdr2', '-t" " -g 1 --header-in --header-out count 2',{IN_PIPE=>$in_hdr1}, {OUT=>"GroupBy(x) count(y)\nA 5\nB 3\nC 4\n"}], # Output Header ['hdr4', '-t" " -g 1 --header-out count 2', {IN_PIPE=>$in_g3}, {OUT=>"GroupBy(field-1) count(field-2)\nA 5\nB 2\nC 1\n"}], # Header without grouping ['hdr6', '-t" " --header-out count 2', {IN_PIPE=>$in_g3}, {OUT=>"count(field-2)\n8\n"}], # Output Header, multiple ops ['hdr7', '-t" " -g 1 --header-out count 2 unique 3', {IN_PIPE=>$in_g3}, {OUT=>"GroupBy(field-1) count(field-2) unique(field-3)\n" . "A 5 W,X\nB 2 Y,Z\nC 1 Z\n"}], # Headers, non white-space separator ['hdr8', '-g 1 -H -t: count 2 unique 3', {IN_PIPE=>$in_hdr2}, {OUT=>"GroupBy(x):count(y):unique(z)\nA:5:W,X\nB:2:Y,Z\nC:1:Z\n"}], # Headers, non white-space separator, 3 operations ['hdr9', '-g 1 -H -t: count 2 unique 3 sum 2', {IN_PIPE=>$in_hdr2}, {OUT=>"GroupBy(x):count(y):unique(z):sum(y)\n" . "A:5:W,X:39\nB:2:Y,Z:36\nC:1:Z:23\n"}], # Headers, white-space separator, 3 operations ['hdr10', '-W -g 1 --header-in --header-out count 2',{IN_PIPE=>$in_hdr3}, {OUT=>"GroupBy(x)\tcount(y)\nA\t5\nB\t3\nC\t4\n"}], # Group + output headers on the last column ['hdr11', '-t" " --header-out -g3 count 1', {IN_PIPE=>$in_hdr1}, {OUT=>"GroupBy(field-3) count(field-1)\n" . "z 1\n10 6\n20 1\n30 1\n11 1\n22 1\n33 1\n44 1\n"}], # Group + input headers on last column ['hdr12', '-t" " --header-in -g3 count 1', {IN_PIPE=>$in_hdr1}, {OUT=>"10 6\n20 1\n30 1\n11 1\n22 1\n33 1\n44 1\n"}], # Group + input/output headers on last column ['hdr13', '-t" " -H -g3 count 1', {IN_PIPE=>$in_hdr1}, {OUT=>"GroupBy(z) count(x)\n10 6\n20 1\n30 1\n11 1\n22 1\n33 1\n44 1\n"}], # Input has only one header line (no data lines), and the user requested # header-in and header-out => header line should be printed ['hdr14', '-t: -H sum 1', {IN_PIPE=>$in_hdr_only}, {OUT=>"sum(X)\n"}], ['hdr16', '-t: -s -g1 -H sum 2', {IN_PIPE=>$in_hdr_only}, {OUT=>"GroupBy(X):sum(Y)\n"}], ['hdr18', '-t: --header-in sum 1', {IN_PIPE=>$in_hdr_only}, {OUT=>""}], ['hdr19', '-t: -H reverse', {IN_PIPE=>$in_hdr_only}, {OUT=>"Z:Y:X\n"}], ['hdr20', '-t: --header-in reverse', {IN_PIPE=>$in_hdr_only}, {OUT=>""}], ['hdr21', '-t: -H rmdup 1', {IN_PIPE=>$in_hdr_only}, {OUT=>$in_hdr_only}], ['hdr22', '-t: --header-in rmdup 1', {IN_PIPE=>$in_hdr_only}, {OUT=>""}], ['hdr23', '-t: --header-in rmdup 1', {IN_PIPE=>""}, {OUT=>""}], ['hdr24', '-t: -H rmdup 1', {IN_PIPE=>""}, {OUT=>""}], # percentile operation has special header handling (which includes # the percentile value). ['hdr25', '-W -H perc 2', {IN_PIPE=>$in_hdr1}, {OUT=>"perc:95(y)\n8.45\n"},], ['hdr26', '-W -H perc:50 2', {IN_PIPE=>$in_hdr1}, {OUT=>"perc:50(y)\n4\n"}], # Test single line per group ['sl1', '-t" " -g 1 mean 2', {IN_PIPE=>$in_g4}, {OUT=>"A 5\nK 6\nP 2\n"}], # Test countunique operation ['cuq1', '-t" " -g 1 countunique 3', {IN_PIPE=>$in_g3}, {OUT=>"A 2\nB 2\nC 1\n"}], ['cuq2', '-t" " -g 1 countunique 2', {IN_PIPE=>$in_g4}, {OUT=>"A 1\nK 1\nP 1\n"}], ['cuq3', '-t" " --header-in -g 1 countunique 2', {IN_PIPE=>$in_cnt_uniq1}, {OUT=>"A 2\nB 2\n"}], # countunique, case-insensitive ['cuq4', '-t" " -g 1 countunique 2', {IN_PIPE=>$in_cnt_uniq2}, {OUT=>"a 1\nA 3\n"}], ['cuq5', '-i -t" " -g 1 countunique 2', {IN_PIPE=>$in_cnt_uniq2}, {OUT=>"a 2\n"}], # Test Tab vs White-space field separator ['tab1', "sum 2", {IN_PIPE=>$in_tab1}, {OUT=>"60\n"}], ['tab2', '-W sum 2', {IN_PIPE=>$in_tab1}, {OUT=>"6\n"}], # Test Auto-Sorting # With default separator (White-space), the second column is A,B,C,D ['sort1', '-W -s -g 2 unique 3', {IN_PIPE=>$in_sort1}, {OUT=>"A\tx\nB\tk,x\nC\tg,j\nD\tj\n"}], # With TAB separator, the second column is g,j,k,x ['sort2', '-s -g 2 unique 3', {IN_PIPE=>$in_sort1}, {OUT=>"g\t6\nj\t3,4\nk\t2\nx\t1,5\n"}], # Control check: if we do not sort, the some groups will appear twice # because the input is not sorted. ['sort3', '-g 2 unique 3', {IN_PIPE=>$in_sort1}, {OUT=>"x\t1\nk\t2\nj\t3\nx\t5\nj\t4\ng\t6\n"}], ['sort4', '-s -g 1 sum 2 -t "\'" ', {IN_PIPE=>$in_sort_quote1}, {OUT=>"A'4\nB'6\n"}], ['sort5', '-s -g 1 sum 2 -t "\"" ', {IN_PIPE=>$in_sort_quote2}, {OUT=>"A\"4\nB\"6\n"}], # Test Case-sensitivity, on sorted input (no 'sort' piping) # on both grouping and string operations ['case1', '-t" " -g 1 sum 3', {IN_PIPE=>$in_case_sorted}, {OUT=>"a 4\nA 7\nb 4\nB 6\n"}], ['case2', '-t" " -i -g 1 sum 3', {IN_PIPE=>$in_case_sorted}, {OUT=>"a 11\nb 10\n"}], ['case3', '-t" " -g 1 unique 2', {IN_PIPE=>$in_case_sorted}, {OUT=>"a X,x\nA X,x\nb Y\nB Y\n"}], ['case4', '-t" " -i -g 1 unique 2', {IN_PIPE=>$in_case_sorted}, {OUT=>"a X\nb Y\n"}], ['case4.1', '-i -t" " -g 1 unique 2', {IN_PIPE=>$in_cnt_uniq2}, {OUT=>"a B,C\n"}], # Test Case-sensitivity, on non-sorted input (with 'sort' piping) # on both grouping and string operations. ['case5', '-t" " -s -g 1 sum 3', {IN_PIPE=>$in_case_unsorted}, {OUT=>"A 7\nB 6\na 4\nb 4\n"}], ['case6', '-t" " -s -g 1 unique 2', {IN_PIPE=>$in_case_unsorted}, {OUT=>"A X,x\nB Y\na X,x\nb Y\n"}], ## Test nul-terminated lines ['nul1', '-t" " -z -g 1 sum 2', {IN_PIPE=>$in_nul1}, {OUT=>"A 3\x00B 7\x00"}], ['nul2', '-t" " --zero-terminated -g 1 sum 2', {IN_PIPE=>$in_nul1}, {OUT=>"A 3\x00B 7\x00"}], # Test --help (but don't verify the output) ['help1', '--help', {IN_PIPE=>""}, {OUT => ""}, {OUT_SUBST=>'s/^.*//gms'}], ['help2', '-h', {IN_PIPE=>""}, {OUT => ""}, {OUT_SUBST=>'s/^.*//gms'}], ['ver1', '--version', {IN_PIPE=>""}, {OUT => ""}, {OUT_SUBST=>'s/^.*//gms'}], ['ver2', '-V', {IN_PIPE=>""}, {OUT => ""}, {OUT_SUBST=>'s/^.*//gms'}], # Test output precision (number of digits) for numerical operations. # The current precision is 14 digits (hard-coded). ['prcs1', 'sum 1', {IN_PIPE=>"1e1"}, {OUT => "10\n"}], ['prcs2', 'sum 1', {IN_PIPE=>"1e7"}, {OUT => "10000000\n"}], ['prcs3', 'sum 1', {IN_PIPE=>"1e9"}, {OUT => "1000000000\n"}], ['prcs4', 'sum 1', {IN_PIPE=>"1.8e12"}, {OUT => "1800000000000\n"}], ['prcs5', 'sum 1', {IN_PIPE=>"1.234e13"}, {OUT => "12340000000000\n"}], ['prcs6', 'sum 1', {IN_PIPE=>"1.234e14"}, {OUT => "1.234e+14\n"}], ['prcs7', 'sum 1', {IN_PIPE=>"-1.8e12"}, {OUT => "-1800000000000\n"}], ['prcs8', 'sum 1', {IN_PIPE=>"-1.234e13"}, {OUT => "-12340000000000\n"}], ['prcs9', 'sum 1', {IN_PIPE=>"-1.234e14"}, {OUT => "-1.234e+14\n"}], ['prcs10', 'sum 1', {IN_PIPE=>$in_precision1}, {OUT => "30000000000.3\n"}], ['prcs11', 'sum 1', {IN_PIPE=>$in_precision2}, {OUT => "3e+14\n"}], # Test first,last operations (and 'field_op_replace_string()') ['fst1', '-t" " first 2', {IN_PIPE=>$in_g1}, {OUT=>"100\n"}], ['fst2', '-t" " -g 1 first 2', {IN_PIPE=>$in_g1}, {OUT=>"A 100\n"}], ['fst3', '-t" " -g 1 first 2', {IN_PIPE=>$in_g2}, {OUT=>"A 100\nB 66\n"}], ['fst4', '-t" " -g 1 first 2', {IN_PIPE=>$in_g4}, {OUT=>"A 5\nK 6\nP 2\n"}], ['fst5', '-t" " -g 1 first 2', {IN_PIPE=>$in_large_buffer1}, {OUT=>"A 1\nB 3\n"}], ['fst6', '-t" " -g 1 first 2', {IN_PIPE=>$in_large_buffer2}, {OUT=>$out_large_buffer_first}], ['lst1', '-t" " last 2', {IN_PIPE=>$in_g1}, {OUT=>"35\n"}], ['lst2', '-t" " -g 1 last 2', {IN_PIPE=>$in_g1}, {OUT=>"A 35\n"}], ['lst3', '-t" " -g 1 last 2', {IN_PIPE=>$in_g2}, {OUT=>"A 35\nB 55\n"}], ['lst4', '-t" " -g 1 last 2', {IN_PIPE=>$in_g4}, {OUT=>"A 5\nK 6\nP 2\n"}], ['lst5', '-t" " -g 1 last 2', {IN_PIPE=>$in_large_buffer1}, {OUT=>"A 2\nB 4\n"}], ['lst6', '-t" " -g 1 last 2', {IN_PIPE=>$in_large_buffer2}, {OUT=>$out_large_buffer_last}], ## Test md5/sha1/sha256/sha512 operations. ## NOTE: this just ensures the operations don't fail, and produces the ## expected length of output strings. ## validation of the calculation is tested in datamash-{md5,sha}.pl. ['md5-1', '-W md5 2', {IN_PIPE=>$in_g1}, {OUT_SUBST=>'s/^[a-f0-9]{32}$//'}, {OUT=>"\n\n\n\n"}], ['sha1-1', '-W sha1 2', {IN_PIPE=>$in_g1}, {OUT_SUBST=>'s/^[a-f0-9]{40}$//'}, {OUT=>"\n\n\n\n"}], ['sha256-1', '-W sha256 2', {IN_PIPE=>$in_g1}, {OUT_SUBST=>'s/^[a-f0-9]{64}$//'}, {OUT=>"\n\n\n\n"}], ['sha512-1', '-W sha512 2', {IN_PIPE=>$in_g1}, {OUT_SUBST=>'s/^[a-f0-9]{128}$//'}, {OUT=>"\n\n\n\n"}], ## Test Base64 ['base64-1','-W base64 2', {IN_PIPE=>$in_g1}, {OUT=>$out_g1_base64}], ['debase64-1','-W debase64 1', {IN_PIPE=>$out_g1_base64}, {OUT=>$out_g1_debase64}], # Test invalid base64 input ['debase64-2', '-W debase64 1', {IN_PIPE=>$in_g1}, {EXIT=>1}, {ERR=>"$prog: invalid base64 value in line 1 field 1: 'A'\n"}], ## Mixing grouping,line,transpose/reverse operators should fail ['mixop1', 'sum 1 md5 2', {EXIT=>1}, {ERR=>"$prog: conflicting operation found: expecting groupby operations," . " but found line operation 'md5'\n"}], ['mixop2', 'md5 1 sum 2', {EXIT=>1}, {ERR=>"$prog: conflicting operation found: expecting line operations," . " but found groupby operation 'sum'\n"}], ['mixop3', 'md5 1 transpose 2', {EXIT=>1}, {ERR=>"$prog: conflicting operation 'transpose'\n"}], # Test large (and increasing) number of fields ['wide1', '-t" " -g 1 countunique 2', {IN_PIPE=>$in_wide1}, {OUT=>"A 1\n"}], # Test rmdup operation ['rmdp1', '-t: rmdup 1', {IN_PIPE=>""}, {OUT=>""}], ['rmdp2', '-t: rmdup 1', {IN_PIPE=>$in_dup1}, {OUT=>"X:Y\n1:a\n2:b\n3:a\n"}], ['rmdp3', '-t: rmdup 2', {IN_PIPE=>$in_dup1}, {OUT=>"X:Y\n1:a\n2:b\n2:c\n"}], # in+out header: same as no header at all (assuming the header is unique) ['rmdp4', '-t: -H rmdup 1', {IN_PIPE=>$in_dup1}, {OUT=>"X:Y\n1:a\n2:b\n3:a\n"}], ['rmdp5', '-t: --header-in rmdup 1', {IN_PIPE=>$in_dup1}, {OUT=>"1:a\n2:b\n3:a\n"}], ['rmdp6', '-t: rmdup 4', {IN_PIPE=>$in_dup1}, {EXIT=>1}, {ERR=>"$prog: invalid input: field 4 requested, " . "line 1 has only 2 fields\n"}], ## rmdup with named columns ['rmdp7', '-t: -H rmdup X', {IN_PIPE=>$in_dup1}, {OUT=>"X:Y\n1:a\n2:b\n3:a\n"}], ['rmdp8', '-t: rmdup X', {IN_PIPE=>$in_dup1}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], # rmdup with different output delimiter ['rmdp9', '-t: --output-delimiter % rmdup 1', {IN_PIPE=>$in_dup1}, {OUT=>"X%Y\n1%a\n2%b\n3%a\n"}], # Test noop operation ['noop1', 'noop', {IN_PIPE=>""}, {OUT=>""}], ['noop2', 'noop', {IN_PIPE=>$in_dup1}, {OUT=>""}], ['noop3', '--full noop', {IN_PIPE=>$in_dup1}, {OUT=>$in_dup1}], # Test named columns - for operations ## with empty input, invalid column name is not an error ['nc2', '-H sum foo', {IN_PIPE=>""}, {OUT=>""}], ['nc3', '--header-in sum foo', {IN_PIPE=>""}, {OUT=>""}], ## with named columns, -H or --header-in are required. ['nc1', 'sum foo', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ['nc4', 'sum foo', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ## Invalid column name ['nc5', '--header-in sum foo', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: column name 'foo' not found in input file\n"}], ['nc6', '-H sum foo', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: column name 'foo' not found in input file\n"}], ## Valid column names, and identical column number ['nc7', '-t" " -H sum y sum 2', {IN_PIPE=>$in_hdr1}, {OUT=>"sum(y) sum(y)\n52 52\n"}], ## Valid column names + sorting ['nc8', '-s -g 1 -t" " -H sum y', {IN_PIPE=>$in_hdr1}, {OUT=>"GroupBy(x) sum(y)\nA 14\nB 18\nC 20\n"}], # Test named columns - for grouping ## with empty input, invalid column name is not an error ['ng1', '-H -g foo sum 1', {IN_PIPE=>""}, {OUT=>""}], ['ng2', '--header-in -g foo sum foo', {IN_PIPE=>""}, {OUT=>""}], ## with named columns, -H or --header-in are required ['ng3', '-g foo count 1', {IN_PIPE=>""}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ['ng4', '-g foo count 1', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: -H or --header-in must be used with named columns\n"}], ## Invalid column name ['ng5', '--header-in -g foo sum 1', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: column name 'foo' not found in input file\n"}], ['ng6', '-H -g foo sum 1', {IN_PIPE=>$in_hdr1}, {EXIT=>1}, {ERR=>"$prog: column name 'foo' not found in input file\n"}], ## Valid column names in grouping ['ng7', '-t" " -H -g x sum 2', {IN_PIPE=>$in_hdr1}, {OUT=>"GroupBy(x) sum(y)\nA 14\nB 18\nC 20\n"}], ## group by name+number ['ng8', '-t":" -H -g x,3 sum 2', {IN_PIPE=>$in_hdr2}, {OUT=>"GroupBy(x):GroupBy(z):sum(y)\n" . "A:W:15\nA:X:24\nB:Y:17\nB:Z:19\nC:Z:23\n"}], ## group by name+name ['ng9', '-t":" -H -g x,z sum 2', {IN_PIPE=>$in_hdr2}, {OUT=>"GroupBy(x):GroupBy(z):sum(y)\n" . "A:W:15\nA:X:24\nB:Y:17\nB:Z:19\nC:Z:23\n"}], ## group by number+name ['ng10', '-t":" -H -g 1,z sum 2', {IN_PIPE=>$in_hdr2}, {OUT=>"GroupBy(x):GroupBy(z):sum(y)\n" . "A:W:15\nA:X:24\nB:Y:17\nB:Z:19\nC:Z:23\n"}], ## group by name + sorting ['ng11', '-s -t" " -H -g x sum 2', {IN_PIPE=>$in_hdr1}, {OUT=>"GroupBy(x) sum(y)\nA 14\nB 18\nC 20\n"}], ); if ($have_stable_sort) { push @Tests, ( # last with sort, test the 'stable' sort ['lst7', '-t" " --sort -g 1 last 3', {IN_PIPE=>$in_case_unsorted}, {OUT=>"A 5\nB 6\na 3\nb 4\n"}], ['lst8', '-t" " --sort -i -g 1 last 3', {IN_PIPE=>$in_case_unsorted}, {OUT=>"A 5\nB 6\n"}], # First with sort, test the 'stable' sort ['fst7', '-t" " --sort -g 1 first 3', {IN_PIPE=>$in_case_unsorted}, {OUT=>"A 2\nB 6\na 1\nb 4\n"}], ['fst8', '-t" " --sort -i -g 1 first 3', {IN_PIPE=>$in_case_unsorted}, {OUT=>"a 1\nb 4\n"}], # NOTE: 'sort' is used with '-s' (stable sort), # so with case-insensitive sort, the first appearing letter is # reported (the lowercase a/b in case7 & case8). ['case7', '-t" " -s -i -g 1 sum 3', {IN_PIPE=>$in_case_unsorted}, {OUT=>"a 11\nb 10\n"}], ['case8', '-t" " -s -i -g 1 unique 2', {IN_PIPE=>$in_case_unsorted}, {OUT=>"a X\nb Y\n"}], ); } my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-transpose.pl0000754000000000000000000001451614771573715014123 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Tests for 'transpose' and 'reverse' operation modes. Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; use List::Util qw/max/; use Data::Dumper; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin --foobar 2>&1 | head -n 1 | cut -f1 -d:`; chomp $prog if $prog; $prog = $prog_bin unless $prog; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; sub perl_reverse_fields { my $field_sep = shift; my $input = shift; return join ("\n", map { join($field_sep, reverse( split /$field_sep/, $_ ) ) } split /\n/, $input) . "\n"; } sub perl_transpose { my $field_sep = shift; my $filler = shift ; my $input = shift; my @lines = map { [ split /$field_sep/, $_ ] } split /\n/, $input; my $max_field = max ( map{ scalar(@$_) } @lines ); my @output; foreach my $i ( 0 .. ( $max_field - 1) ) { my @new_line ; foreach my $l (@lines) { push @new_line, (scalar(@$l) > $i) ? $l->[$i] : $filler; } push @output, join($field_sep, @new_line); } return join("\n", @output) . "\n"; } my $in1=<<'EOF'; A 1 ! B 2 @ C 3 # D 4 $ E 5 % EOF my $in2 = $in1; $in2 =~ s/\t/:/gms; my $in3=<<'EOF'; A 1 B C 3 EOF my $in4=<<'EOF'; A B C EOF my $in5="A\tB\tC\tD\n"; my $in6="A\n"; my $in7=""; my $out1_rev = perl_reverse_fields ( "\t", $in1 ); my $out2_rev = perl_reverse_fields ( ":", $in2 ); my $out3_rev = perl_reverse_fields ( "\t", $in3 ); my $out4_rev = perl_reverse_fields ( "\t", $in4 ); my $out5_rev = perl_reverse_fields ( "\t", $in5 ); my $out1_tr = perl_transpose ( "\t", "N/A", $in1 ); my $out2_tr = perl_transpose ( ":", "N/A", $in2 ) ; my $out3_tr = perl_transpose ("\t", "N/A", $in3 ) ; my $out3_filler_tr = perl_transpose ("\t", "xxx", $in3 ) ; my $out4_tr = perl_transpose ("\t", "N/A", $in4 ) ; my $out5_tr = perl_transpose ("\t", "N/A", $in5 ) ; my $in_hdr1=<<'EOF'; X:Y 1:a 2:b EOF # Transposing with missing value in the last line # (bug in 1.1.0 would result in 'c' being silently dropped). my $in_missing1=<<'EOF'; a b c 1 2 EOF my $out_missing1=<<'EOF'; a 1 b 2 c N/A EOF my @Tests = ( # Simple transpose and reverse ['tr1', 'transpose', {IN_PIPE=>$in1}, {OUT=>$out1_tr}], ['rev1', 'reverse', {IN_PIPE=>$in1}, {OUT=>$out1_rev}], # non-tab delimiter ['tr2', '-t: transpose', {IN_PIPE=>$in2}, {OUT=>$out2_tr}], ['rev2', '-t: reverse', {IN_PIPE=>$in2}, {OUT=>$out2_rev}], # missing fields, strict mode ['tr3', 'transpose', {IN_PIPE=>$in3}, {EXIT=>1}, {OUT_SUBST=>'s/.*//'}, {ERR=>"$prog: transpose input error: line 2 has 1 fields ". "(previous lines had 2);\n" . "see --help to disable strict mode\n"}], ['rev3', 'reverse', {IN_PIPE=>$in3}, {EXIT=>1}, {OUT_SUBST=>'s/.*//s'}, {ERR=>"$prog: reverse-field input error: line 2 has 1 fields ". "(previous lines had 2);\n" . "see --help to disable strict mode\n"}], # missing fields, non-strict mode ['tr4', '--no-strict transpose', {IN_PIPE=>$in3}, {OUT=>$out3_tr}], ['rev4', '--no-strict reverse', {IN_PIPE=>$in3}, {OUT=>$out3_rev}], ['tr4.1', '--no-strict --filler xxx transpose', {IN_PIPE=>$in3}, {OUT=>$out3_filler_tr}], # Single column ['tr5', 'transpose', {IN_PIPE=>$in4}, {OUT=>$out4_tr}], ['rev5', 'reverse', {IN_PIPE=>$in4}, {OUT=>$out4_rev}], # Single row ['tr6', 'transpose', {IN_PIPE=>$in5}, {OUT=>$out5_tr}], ['rev6', 'reverse', {IN_PIPE=>$in5}, {OUT=>$out5_rev}], # Single field ['tr7', 'transpose', {IN_PIPE=>$in6}, {OUT=>$in6}], ['rev7', 'reverse', {IN_PIPE=>$in6}, {OUT=>$in6}], # Empty input ['tr8', 'transpose', {IN_PIPE=>$in7}, {OUT=>""}], ['rev8', 'reverse', {IN_PIPE=>$in7}, {OUT=>""}], # Extra operands ['tr9', 'transpose aaa', {IN_PIPE=>''}, {EXIT=>1}, {ERR=>"$prog: extra operand 'aaa'\n"}], ['rev9', 'reverse aaa', {IN_PIPE=>''}, {EXIT=>1}, {ERR=>"$prog: extra operand 'aaa'\n"}], # empty input ['tr10', 'transpose', {IN_PIPE=>""}, {OUT=>""}], ['rev10', 'reverse', {IN_PIPE=>""}, {OUT=>""}], # Reverse with header combinations ['rev-hdr1','-H reverse', {IN_PIPE=>""}, {OUT=>""}], ['rev-hdr2','--header-in reverse', {IN_PIPE=>""}, {OUT=>""}], ['rev-hdr3','-t: reverse', {IN_PIPE=>$in_hdr1}, {OUT=>"Y:X\na:1\nb:2\n"}], ['rev-hdr4','-t: -H reverse', {IN_PIPE=>$in_hdr1}, {OUT=>"Y:X\na:1\nb:2\n"}], # first line is header line, discard it (there's no --header-out). ['rev-hdr5','-t: --header-in reverse', {IN_PIPE=>$in_hdr1}, {OUT=>"a:1\nb:2\n"}], # Generate a new header, assuming the first line is a NOT header line. ['rev-hdr6','-t: --header-out reverse', {IN_PIPE=>$in_hdr1}, {OUT=>"field-2:field-1\nY:X\na:1\nb:2\n"}], # bug uncovered by report in: # http://lists.gnu.org/archive/html/bug-datamash/2016-09/msg00000.html ['msg1', '--no-strict transpose', {IN_PIPE=>$in_missing1}, {OUT=>$out_missing1}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog_bin, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/datamash-valgrind.sh0000754000000000000000000001744314771573715013714 #!/bin/sh # Unit Tests for GNU Datamash - perform simple calculation on input data # Copyright (C) 2014-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash If not, see . # # Written by Assaf Gordon. . "${test_dir=.}/init.sh"; path_prepend_ ./src expensive_ require_valgrind_ ## Don't use valgrind on statically-compiled binary ## (it gives some false-positives and the test fails). if which ldd >/dev/null ; then ## Tricky implicit assumption: ## If the system has "ldd" - we can test if this is a static binary. ## If the system doesn't have "ldd", we can't test it, and we'll assume ## we can valgrind without false-positives. ## This is relevant for Mac OS X, where static binaries are discouraged and ## difficult to create ## (https://developer.apple.com/library/mac/qa/qa1118/_index.html) ldd $(which datamash) >/dev/null 2>/dev/null || skip_ "skipping valgrind test for a non-dynamic-binary datamash" fi ## Prepare file with long fields - for first/last operations. ( printf "A " ; seq 100 | paste -s -d "" ; printf "A " ; seq 1000 | paste -s -d "" ; printf "A " ; seq 2000 | paste -s -d "" ; printf "A " ; seq 3000 | paste -s -d "" ; printf "A 1\n" ; printf "B " ; seq 1000 | paste -s -d "" ; printf "B " ; seq 2000 | paste -s -d "" ; printf "B " ; seq 3000 | paste -s -d "" ; printf "B " ; seq 100 | paste -s -d "" ; ) > in_first || framework_failure_ "failed to prepare 'in_first' file" ## Prepare file with many rows, to test transpose/reverse seq -w 16000 | paste - - - - > in_4k_rows || framework_failure_ "failed to prepare 'in_4k_rows' file" seq -w 16000 | paste - - - - - - - - > in_2k_rows || framework_failure_ "failed to prepare 'in_2k_rows' file" ## Prepare file with many columns and 100 rows, to test transpose/reverse ( for i in $(seq 0 99) ; do seq $((i*1000)) $((i*1000+999)) | paste -s done ) > in_1k_cols || framework_failure_ "failed to prepare 'in_1k_cols' file" ## Prepare large file seq -w 1000000 > 1M || framework_failure_ "failed to prepare '1M' file" ( shuf 1M ; shuf 1M ; shuf 1M ; shuf 1M ; seq -w 999000 1001000 ) > 4M || framework_failure_ "failed to prepare '4M' file" seq -w 1001000 > 1M1K || framework_failure_ "failed to prepare '1M1K' file" ## Prepare a file with very wide fields for i in $(seq 1 193 2000) $(seq 500 -7 100); do seq $i | paste -s -d "" - ; done > wide || framework_failure_ "failed to prepare 'wide' file" fail=0 seq 10000 | valgrind --track-origins=yes --show-reachable=yes \ --leak-check=full --error-exitcode=1 \ datamash unique 1 > /dev/null || { warn_ "unique 1 - failed" ; fail=1 ; } seq 10000 | sed 's/^/group /' | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash -g 1 unique 1 > /dev/null || { warn_ "-g 1 unique 1 - failed" ; fail=1 ; } seq 10000 | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash countunique 1 > /dev/null || { warn_ "countunique 1 - failed" ; fail=1 ; } seq 10000 | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash collapse 1 > /dev/null || { warn_ "collapse 1 - failed" ; fail=1 ; } (echo "values" ; seq 10000 ) | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash -H countunique 1 > /dev/null || { warn_ "-H collapse 1 - failed" ; fail=1 ; } (echo "values" ; seq 10000 ) | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash -g 1 -H countunique 1 > /dev/null || { warn_ "-g 1 -H collapse 1 - failed" ; fail=1 ; } cat "in_first" | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash -W first 2 > /dev/null || { warn_ "first 2 - failed" ; fail=1 ; } cat "in_first" | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash -W -g 1 first 2 > /dev/null || { warn_ "-g 1 first 2 - failed" ; fail=1 ; } cat "in_first" | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash -W -g 1 last 2 > /dev/null || { warn_ "-g 1 last 2 - failed" ; fail=1 ; } ## Test transpose and reverse on multiple (medium-sized) inputs for INFILE in in_4k_rows in_2k_rows in_1k_cols ; do for CMD in transpose reverse ; do cat "$INFILE" | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash "$CMD" > /dev/null || { warn_ "$CMD failed on $INFILE" ; fail=1 ; } done done ## Test remove-duplicates (using gnulib's hash) cat 4M | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash rmdup 1 > rmdup_1M_1.t || { warn_ "rmdup failed on 4M" ; fail=1 ; } sort < rmdup_1M_1.t > rmdup_1M_1 \ || framework_failure_ "failed to sort rmdup_1M_1.t" cmp rmdup_1M_1 1M1K || { warn_ "rmdup failed on 4M (output differences)" ; fail=1 ; } ## Test remove-duplicates (using gnulib's hash), ## with smaller memory buffers cat 4M | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash ---rmdup-test rmdup 1 > rmdup_1M_2.t || { warn_ "rmdup failed on 4M (2)" ; fail=1 ; } sort < rmdup_1M_2.t > rmdup_1M_2 \ || framework_failure_ "failed to sort rmdup_1M_2.t" cmp rmdup_1M_2 1M1K || { warn_ "rmdup (2) failed on 4M (output differences)" ; fail=1 ; } ## Test Base64 encode/decode cat wide | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash base64 1 > wide_base64 || { warn_ "base64 failed on wide" ; fail=1 ; } cat wide_base64 | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash debase64 1 > wide_orig || { warn_ "debase64 failed on wide_base64" ; fail=1 ; } ## Test Covariance (and paired-columns) cat in_4k_rows | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=1 \ datamash pcov 1:2 > /dev/null || { warn_ "pcov 1:2 failed on in_4k_rows" ; fail=1 ; } cmp wide wide_orig || { warn_ "base64 decoding failed (decoded output does not match original)"; fail=1 ; } ## Test large output formats ## datamash exits with an error on x86, because some numbers in the file "wide" ## are too big for "long double" 80-bit floating point cat wide | valgrind --track-origins=yes --leak-check=full \ --show-reachable=yes --error-exitcode=2 \ datamash --format "%05000.5000f" sum 1 > /dev/null || { test $? -eq 2 && { warn_ "custom-format failed" ; fail=1 ; } ; } Exit $fail datamash-1.9/tests/datamash-vnlog.pl0000754000000000000000000002407514771573715013233 #!/usr/bin/env perl =pod Unit Tests for GNU Datamash - perform simple calculation on input data Copyright (C) 2013-2021 Assaf Gordon Copyright (C) 2022 Dima Kogan This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; use lib '.'; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(datamash); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog_bin = 'datamash'; ## Cross-Compiling portability hack: ## under qemu/binfmt, argv[0] (which is used to report errors) will contain ## the full path of the binary, if the binary is on the $PATH. ## So we try to detect what is the actual returned value of the program ## in case of an error. my $prog = `$prog_bin ---print-progname`; $prog = $prog_bin unless $prog; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in_basic=<<'EOF'; #! comment ##comment ## comment ## comment #x y z 4 2 3 # comment 4 - 6# comment ## comment - 8 9 EOF my $in_fake_comment=<<'EOF'; # w x y z 1 2 3 4 ; not a comment EOF my $in_fake_comment2=<<'EOF'; # w x y z 1 2 3 4;no_comment 5 6 7 ;no_comment 8 9 ; no_comment EOF my $in_numeric_columns=<<'EOF'; # 0 1 2 1 2 3 4 - 6 - 8 9 EOF # trailing whitespace my $in_trailing_whitespace=<<'EOF'; # x y bar 5 bbb 4 EOF my $in_xy=<<'EOF'; # x y 1 0.5 2 1 3 1.5 4 2 EOF my $in_header_comment=<<'EOF'; # x y # this is not a comment a 1 b 2 EOF my $in_header_comment2=<<'EOF'; # x y # z bar 5 1 2 bbb 4 7 8 EOF my $in_header_comment3=<<'EOF'; # ## 3 15 EOF my $in_header_comment4=<<'EOF'; # # a 1 2 EOF my $in_legend1=<<'EOF'; #!/my/interpreter ##regular vnlog pre-legend comment #!unusual vnlog pre-legend comment ## ## lines matching regex [ \t]*#[ \t]* are also ignored # #x 42 EOF my $in_legend2=<<'EOF'; #!/my/interpreter ##regular vnlog pre-legend comment #!unusual vnlog pre-legend comment ## ## lines matching regex [ \t]*#[ \t]* are also ignored # #x 42 EOF my $in_legend3=<<'EOF'; #!/my/interpreter ##regular vnlog pre-legend comment #!unusual vnlog pre-legend comment ## ## lines matching regex [ \t]*#[ \t]* are also ignored # #x 42 EOF my $in_legend4=<<'EOF'; #!/my/interpreter ##regular vnlog pre-legend comment #!unusual vnlog pre-legend comment ## ## lines matching regex [ \t]*#[ \t]* are also ignored # # # # # # # # # x 42 EOF # unusual field names are allowed in vnlog legends my $in_legend5=<<'EOF'; # # 7 1+ - , : ; .. %CPU TIME+ 1 2 3 4 5 6 7 8 9 10 10 20 30 40 50 60 70 80 90 100 EOF # duplicate field names are not prohibited in vnlog legends, but how # they are processed is not specified -- datamash uses the first field # with the specified name my $in_legend6=<<'EOF'; # a a 1 2 10 20 EOF my $out_groupby=<<'EOF'; # GroupBy(x) sum(z) 4 9 - 9 EOF my $out_rmdup_x=<<'EOF'; # x y z 4 2 3 - 8 9 EOF my $out_rmdup_y=<<'EOF'; # x y z 4 2 3 4 - 6 - 8 9 EOF my $out_reverse=<<'EOF'; # z y x 3 2 4 6 - 4 9 8 - EOF my $out_ct1=<<'EOF'; # GroupBy(x) GroupBy(y) count(x) 0.5 1 1.5 2 1 1 - - - 2 - 1 - - 3 - - 1 - 4 - - - 1 EOF my $out_ct2=<<'EOF'; # GroupBy(x) GroupBy(y) sum(y) 0.5 1 1.5 2 1 0.5 - - - 2 - 1 - - 3 - - 1.5 - 4 - - - 2 EOF my $out_pcov=<<'EOF'; # pcov(x,x) pcov(x,y) pcov(y,y) 1.25 0.625 0.3125 EOF my $out_header_comment2_sum=<<'EOF'; # sum(#) sum(z) 8 10 EOF my $out_header_comment3_sum=<<'EOF'; # sum(##) 18 EOF my $out_header_comment4_sum=<<'EOF'; # sum(#) 1 EOF my $out_legend_sum=<<'EOF'; # sum(x) 42 EOF my $out_legend_sum2=<<'EOF'; # sum(#) sum(7) sum(1+) sum(-) sum(,) sum(:) sum(;) sum(..) sum(%CPU) sum(TIME+) 11 22 33 44 55 66 77 88 99 110 EOF my $out_legend_sum3=<<'EOF'; # sum(a) 11 EOF my @Tests = ( ['vnl-sum', '--vnlog sum z', {IN_PIPE=>$in_basic}, {OUT=>"# sum(z)\n18\n"}], ['vnl-check', '--vnlog check', {IN_PIPE=>$in_basic}, {OUT=>"3 lines, 3 fields\n"}], # See also nc[5-6] in datamash-tests.pl ['vnl-nc5', '--vnlog sum zzz', {IN_PIPE=>$in_basic}, {EXIT=>1}, {ERR=>"$prog: column name 'zzz' not found in input file\n"}], # Make sure trailing whitespace is ignored properly ['vnl-eol-space', '--vnlog check', {IN_PIPE=>$in_trailing_whitespace}, {OUT=>"2 lines, 2 fields\n"}], # See also e4 in datamash-tests.pl ['vnl-e4', '--vnlog sum x', {IN_PIPE=>$in_basic}, {OUT=>"# sum(x)\n"}, {EXIT=>1}, {ERR=>"$prog: invalid numeric value in line 4 field 1: '-'\n"}], ['vnl-unique', '--vnlog unique x', {IN_PIPE=>$in_basic}, {OUT=>"# unique(x)\n-,4\n"}], ['vnl-collapse', '--vnlog collapse x', {IN_PIPE=>$in_basic}, {OUT=>"# collapse(x)\n4,4,-\n"}], ['vnl-data-before-legend', '--vnlog sum z', {IN_PIPE=>"5\n" . $in_basic}, {EXIT=>1}, {ERR=>"$prog: invalid vnlog data: " . "received record before header: '5'\n"}], ['vnl-unnamed-field', '--vnlog sum 1', {IN_PIPE=>$in_basic}, {EXIT=>1}, {ERR=>"$prog: column name '1' not found in input file\n"}], ['vnl-numeric-field', '--vnlog sum 2', {IN_PIPE=>$in_numeric_columns}, {OUT=>"# sum(2)\n18\n"}], ['vnl-groupby', '--vnlog -g x sum z', {IN_PIPE=>$in_basic}, {OUT=>$out_groupby}], ['vnl-rmdup-x', '--vnlog rmdup x', {IN_PIPE=>$in_basic}, {OUT=>$out_rmdup_x}], ['vnl-rmdup-y', '--vnlog rmdup y', {IN_PIPE=>$in_basic}, {OUT=>$out_rmdup_y}], ['vnl-reverse', '--vnlog reverse', {IN_PIPE=>$in_basic}, {OUT=>$out_reverse}], ['vnl-getnum1', '--vnlog getnum A', {IN_PIPE=>"# A B\nx 1\ny 2\n"}, {OUT=>"# getnum(A)\n0\n0\n"}], ['vnl-getnum2', '--vnlog getnum B', {IN_PIPE=>"# A B\nx 1\ny 2\n"}, {OUT=>"# getnum(B)\n1\n2\n"}], # empty input = empty output ['vnl-empty1', '--vnlog count x', {IN_PIPE=>""}, {ERR=>""}], ['vnl-empty2', '--vnlog count x', {IN_PIPE=>"# x"}, {OUT=>"# count(x)\n"}], # various errors ['vnl-groupby-unmatched-field', '--vnlog -g zzz sum z', {IN_PIPE=>$in_basic}, {EXIT=>1}, {ERR=>"$prog: column name 'zzz' not found in input file\n"} ], ['vnl-error-sum-empty-field', '--vnlog sum ""', {IN_PIPE=>$in_basic}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'sum'\n"}], ['vnl-groupby-missing-field', '--vnlog -g x,,y sum z', {IN_PIPE=>$in_basic}, {EXIT=>1}, {ERR=>"$prog: missing field for operation 'groupby'\n"}], # Check that semicolon is *not* a comment. ['vnl-semicolon', '--vnlog unique w', {IN_PIPE=>$in_fake_comment}, {EXIT=>0}, {OUT=>"# unique(w)\n1,;\n"}], ['vnl-semicolon2', '--vnlog check', {IN_PIPE=>$in_fake_comment2},{EXIT=>0}, {OUT=>"3 lines, 4 fields\n"}], ['vnl-semicolon3', '--vnlog unique y', {IN_PIPE=>$in_fake_comment2},{EXIT=>0}, {OUT=>"# unique(y)\n3,7,;\n"}], ['vnl-semicolon4', '--vnlog unique z', {IN_PIPE=>$in_fake_comment2},{EXIT=>0}, {OUT=>"# unique(z)\n4;no_comment,;no_comment,no_comment\n"}], # Commandline errors ['vnl-option-parsing-error1', '--vnlog -t: sum x', {IN_PIPE=>$in_basic}, {EXIT=>1}, {ERR=>"$prog: vnlog processing is whitespace-delimited\n"}], ['vnl-basic-check-no-op-options', '--vnlog -C --header-in --header-out check', {IN_PIPE=>$in_basic}, {OUT=>"3 lines, 3 fields\n"}], ['vnl-pcov', '--vnlog pcov x:x pcov x:y pcov y:y', {IN_PIPE=>$in_xy}, {OUT=>$out_pcov}], # transpose isn't handled in any special way. The result is not a vnl ['vnl-transpose', '--vnlog transpose', {IN_PIPE=>$in_xy}, {OUT=>"1 2 3 4\n0.5 1 1.5 2\n"}], # crosstab isn't handled in any special way. The result is not a vnl ['vnl-ct1', '--vnlog crosstab x,y', {IN_PIPE=>$in_xy}, {OUT=>$out_ct1}], ['vnl-ct2', '--vnlog crosstab x,y sum y', {IN_PIPE=>$in_xy}, {OUT=>$out_ct2}], # the header line does not recognize trailing comments ['vnl-no-header-comment1', '--vnlog check', {IN_PIPE=>$in_header_comment}, {OUT=>"2 lines, 2 fields\n"}], ['vnl-no-header-comment2', '--vnlog sum y', {IN_PIPE=>$in_header_comment}, {OUT=>"# sum(y)\n3\n"}], ['vnl-no-header-comment3', '--vnlog sum comment', {IN_PIPE=>$in_header_comment}, {EXIT=>1}, {OUT=>"# sum(comment)\n"}, {ERR=>"$prog: invalid input:" . " field 8 requested, line 2 has only 2 fields\n"}], ['vnl-no-header-comment4', '--vnlog sum "\\#",z', {IN_PIPE=>$in_header_comment2}, {OUT=>$out_header_comment2_sum}], ['vnl-no-header-comment5', '--vnlog sum "\\#\\#"', {IN_PIPE=>$in_header_comment3}, {OUT=>$out_header_comment3_sum}], ['vnl-no-header-comment6', '--vnlog sum "\\#"', {IN_PIPE=>$in_header_comment4}, {OUT=>$out_header_comment4_sum}], # ignore specific lines before the legend ['vnl-legend1', '--vnlog sum x', {IN_PIPE=>$in_legend1}, {OUT=>$out_legend_sum}], ['vnl-legend2', '--vnlog sum x', {IN_PIPE=>$in_legend2}, {OUT=>$out_legend_sum}], ['vnl-legend3', '--vnlog sum x', {IN_PIPE=>$in_legend3}, {OUT=>$out_legend_sum}], ['vnl-legend4', '--vnlog sum x', {IN_PIPE=>$in_legend4}, {OUT=>$out_legend_sum}], # vnlog allows unusual field names ['vnl-legend5', "--vnlog sum '\\#,7,\\1\\+,\\-,\\,,\\:,\\;,\\.\\.,\\%CPU,TIME\\+'", {IN_PIPE=>$in_legend5}, {OUT=>$out_legend_sum2}], # duplicate field names are not an error in vnlog ['vnl-legend6', '--vnlog sum a', {IN_PIPE=>$in_legend6}, {OUT=>$out_legend_sum3}], ); my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/decorate-errors.pl0000644000000000000000000002146114771573715013420 #!/usr/bin/env perl =pod Unit Tests for decorate Copyright (C) 2020-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(decorate); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog = 'decorate'; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $ordering_flags_error_prefix="ordering flags (b/d/i/h/n/g/M/R/V) " . "cannot be combined with a conversion function: " . "invalid field specification"; my @Tests = ( ['e1','--foo-bar', {ERR_SUBST=>'s/unknown/unrecognized/; s/-- foo-bar/\'--foo-bar\'/'}, {ERR=>"$prog: unrecognized option '--foo-bar'\n" . "Try '$prog --help' for more information.\n"}, {EXIT=>2}], ['e2','-k1,1:strlen no-such-file.txt', {EXIT=>2}, {ERR=>"$prog: no-such-file.txt: No such file or directory\n"}], ['e3','--decorate -k1,1:strlen no-such-file.txt', {EXIT=>2}, {ERR=>"$prog: no-such-file.txt: No such file or directory\n"}], ['e4','--undecorate 2 no-such-file.txt', {EXIT=>2}, {ERR=>"$prog: no-such-file.txt: No such file or directory\n"}], ['e5','-k1,1%', {EXIT=>2}, {ERR=>"$prog: invalid key specification: " . "invalid field specification '1,1%'\n"}], ['e6','-k1,1:', {EXIT=>2}, {ERR=>"$prog: missing internal conversion function: " . "invalid field specification '1,1:'\n"}], ['e7','-k1,1@', {EXIT=>2}, {ERR=>"$prog: missing external conversion command: " . "invalid field specification '1,1\@'\n"}], ['e8','-k1,1@foobar', {EXIT=>2}, {ERR=>"$prog: external commands are not implemented (yet)\n"}], ['e9','-k1,1:foobar', {EXIT=>2}, {ERR=>"$prog: invalid built-in conversion option: " . "invalid field specification '1,1:foobar'\n"}], ## Bad --key=KEYDEF syntax (should be identical to sort's behavior) ['e10','-k0', {EXIT=>2}, {ERR=>"$prog: field number is zero: invalid field specification '0'\n"}], ['e11','-k1.0', {EXIT=>2}, {ERR=>"$prog: character offset is zero: " . "invalid field specification '1.0'\n"}], ['e12','-k1.A', {EXIT=>2}, {ERR=>"$prog: invalid number after '.': invalid count at start of 'A'\n"}], ['e13','-k1,0', {EXIT=>2}, {ERR=>"$prog: field number is zero: invalid field specification '1,0'\n"}], ['e14','-k1,2.B', {EXIT=>2}, {ERR=>"$prog: invalid number after '.': invalid count at start of 'B'\n"}], ## sort key ordering aren't allowed with conversion functions ## (except 'r' for reverse order) ['e20','-k1b,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1b,1:foobar'\n"}], ['e21','-k1,1b:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1,1b:foobar'\n"}], ['e22','-k1f,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1f,1:foobar'\n"}], ['e23','-k1d,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1d,1:foobar'\n"}], ['e24','-k1n,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1n,1:foobar'\n"}], ['e25','-k1g,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1g,1:foobar'\n"}], ['e26','-k1M,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1M,1:foobar'\n"}], ['e27','-k1h,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1h,1:foobar'\n"}], ['e28','-k1V,1:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1V,1:foobar'\n"}], ['e29','-k1,1R:foobar', {EXIT=>2}, {ERR=>"$prog: $ordering_flags_error_prefix '1,1R:foobar'\n"}], ['e40','-t "" -k1,1:foobar', {EXIT=>2}, {ERR=>"$prog: empty tab\n"}], ['e41','-tab -k1,1:foobar', {EXIT=>2}, {ERR=>"$prog: multi-character tab 'ab'\n"}], ['e42','-t: -t, -k1,1:foobar', {EXIT=>2}, {ERR=>"$prog: incompatible tabs\n"}], ['e50','--undecorate 0', {EXIT=>2}, {ERR=>"$prog: invalid number of fields to undecorate '0'\n"}], ['e51','--undecorate A', {EXIT=>2}, {ERR=>"$prog: invalid number of fields to undecorate 'A'\n"}], ['e52','--undecorate -4', {EXIT=>2}, {ERR=>"$prog: invalid number of fields to undecorate '-4'\n"}], ['e60','--decorate -k1,1:roman --undecorate 4', {EXIT=>2}, {ERR=>"$prog: --decorate and --undecorate options " . "are mutually exclusive\n"}], ['e61','-k1,1:roman --undecorate 4', {EXIT=>2}, {ERR=>"$prog: --undecorate cannot be used with --keys or --decorate\n"}], ['e62','', {EXIT=>2}, {ERR=>"$prog: missing -k/--key decoration or --undecorate options\n"}], ['e70', '--header X --decorate -k2,2:ipv4' , {EXIT=>2}, {ERR=>"$prog: invalid number of header lines 'X'\n"}], # Conversion Errors ['c1', '--decorate -k1,1:roman' , {IN_PIPE=>"\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid empty roman numeral\n" . "$prog: conversion failed in line 1\n" }], ['c2', '--decorate -k2,2:roman' , {IN_PIPE=>"M"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid empty roman numeral\n" . "$prog: conversion failed in line 1\n" }], ['c3', '--decorate -k1,1:ipv4' , {IN_PIPE=>"FOO\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid dot-decimal IPv4 address 'FOO'\n" . "$prog: conversion failed in line 1\n" }], ['c4', '--decorate -k1,1:ipv4inet' , {IN_PIPE=>"FOO\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IPv4 address 'FOO'\n" . "$prog: conversion failed in line 1\n" }], ['c5', '--decorate -k1,1:ipv6' , {IN_PIPE=>"FOO\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IPv6 address 'FOO'\n" . "$prog: conversion failed in line 1\n" }], ['c6', '--decorate -k1,1:ipv6v4map', {IN_PIPE=>"FOO\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IP address 'FOO'\n" . "$prog: conversion failed in line 1\n" }], ['c7', '--decorate -k1,1:ipv6v4comp', {IN_PIPE=>"FOO\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IP address 'FOO'\n" . "$prog: conversion failed in line 1\n" }], ['c8', '--decorate -k1,1:ipv6v4map', {IN_PIPE=>"0\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IP address '0'\n" . "$prog: conversion failed in line 1\n" }], ['c9', '--decorate -k1,1:ipv6v4comp', {IN_PIPE=>"0\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IP address '0'\n" . "$prog: conversion failed in line 1\n" }], ['c10', '--decorate -k1,1:ipv6v4map', {IN_PIPE=>"\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IP address ''\n" . "$prog: conversion failed in line 1\n" }], ['c11', '--decorate -k1,1:ipv6v4comp', {IN_PIPE=>"\n"}, {OUT => " "}, {EXIT=>2}, {ERR=>"$prog: invalid IP address ''\n" . "$prog: conversion failed in line 1\n" }], # on a different architecture, would printf(%Lg) print something else? # Use OUT_SUBST to trim output to 1.3 digits #['b14', 'mean 1', {IN_PIPE=>$in1}, {OUT => "5.454\n"}, # {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ## Some error checkings #['e1', 'sum', {IN_PIPE=>""}, {EXIT=>1}, # {ERR=>"$prog: missing field for operation 'sum'\n"}], ); # Repeat all tests with --debug option, ensure it does not cause any regression my @debug_tests; foreach my $t (@Tests) { # Skip tests with EXIT!=0 or ERR_SUBST part # (as '--debug' requires its own ERR_SUBST). my $exit_val; my $have_err_subst; foreach my $e (@$t) { next unless ref $e && ref $e eq 'HASH'; $exit_val = $e->{EXIT} if defined $e->{EXIT}; $have_err_subst = 1 if defined $e->{ERR_SUBST}; } next if $exit_val || $have_err_subst; # Duplicate the test, add '--debug' argument my @newt = @$t; $newt[0] = 'dbg_' . $newt[0]; $newt[1] = '---debug ' . $newt[1]; # Discard all debug printouts before comparing output push @newt, {ERR_SUBST => q!s/.*\n//m!}; push @debug_tests, \@newt; } push @Tests, @debug_tests; my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/decorate-sort-tests.pl0000644000000000000000000001342014771573715014227 #!/usr/bin/env perl =pod Unit Tests for decorate Copyright (C) 2020-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(decorate); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog = 'decorate'; $prog .= " --sort-cmd=/usr/bin/sort" if $^O eq "netbsd"; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<'EOF'; I 1.20.30.41 II 1.20.30.1 IV 1.10.30.14 M 1.2.10.3 M 192.168.43.1 II 1.20.30.41 D 192.168.17.8 C 1.2.10.3 L 192.168.17.10 EOF my $out1_dec_roman=<<'EOF'; I 1.20.30.41 II 1.20.30.1 II 1.20.30.41 IV 1.10.30.14 L 192.168.17.10 C 1.2.10.3 D 192.168.17.8 M 1.2.10.3 M 192.168.43.1 EOF my $out1_dec_ipv4=<<'EOF'; C 1.2.10.3 M 1.2.10.3 IV 1.10.30.14 II 1.20.30.1 I 1.20.30.41 II 1.20.30.41 D 192.168.17.8 L 192.168.17.10 M 192.168.43.1 EOF my $out1_dec_ipv4_stable=<<'EOF'; M 1.2.10.3 C 1.2.10.3 IV 1.10.30.14 II 1.20.30.1 I 1.20.30.41 II 1.20.30.41 D 192.168.17.8 L 192.168.17.10 M 192.168.43.1 EOF my $out1_dec_ipv4_rev=<<'EOF'; M 192.168.43.1 L 192.168.17.10 D 192.168.17.8 I 1.20.30.41 II 1.20.30.41 II 1.20.30.1 IV 1.10.30.14 C 1.2.10.3 M 1.2.10.3 EOF my $out1_dec_ipv4_rev_header1=<<'EOF'; I 1.20.30.41 M 192.168.43.1 L 192.168.17.10 D 192.168.17.8 II 1.20.30.41 II 1.20.30.1 IV 1.10.30.14 C 1.2.10.3 M 1.2.10.3 EOF my $out1_dec_ipv4_rev_header2=<<'EOF'; I 1.20.30.41 II 1.20.30.1 M 192.168.43.1 L 192.168.17.10 D 192.168.17.8 II 1.20.30.41 IV 1.10.30.14 C 1.2.10.3 M 1.2.10.3 EOF my $out1_dec_roman_ipv4rev=<<'EOF'; I 1.20.30.41 II 1.20.30.41 II 1.20.30.1 IV 1.10.30.14 L 192.168.17.10 C 1.2.10.3 D 192.168.17.8 M 192.168.43.1 M 1.2.10.3 EOF my $out1_dec_ipv4_romanrev=<<'EOF'; M 1.2.10.3 C 1.2.10.3 IV 1.10.30.14 II 1.20.30.1 II 1.20.30.41 I 1.20.30.41 D 192.168.17.8 L 192.168.17.10 M 192.168.43.1 EOF my $out1_dec_roman_k2=<<'EOF'; I 1.20.30.41 II 1.20.30.1 II 1.20.30.41 IV 1.10.30.14 L 192.168.17.10 C 1.2.10.3 D 192.168.17.8 M 1.2.10.3 M 192.168.43.1 EOF my $out1_dec_k2n_roman=<<'EOF'; IV 1.10.30.14 I 1.20.30.41 II 1.20.30.1 II 1.20.30.41 C 1.2.10.3 M 1.2.10.3 L 192.168.17.10 D 192.168.17.8 M 192.168.43.1 EOF my $in2=<<'EOF'; 203.0.113.47 192.0.2.33 203.0.113.0 192.0.2.3 0.0.0.0 ::ffff:192.0.2.42 2001:db8:6:5:4:3:2:1 2001:Db8:: ::192.0.2.41 ::1 EOF my $out2_ipv6v4map=<<'EOF'; ::1 ::192.0.2.41 0.0.0.0 192.0.2.3 192.0.2.33 ::ffff:192.0.2.42 203.0.113.0 203.0.113.47 2001:Db8:: 2001:db8:6:5:4:3:2:1 EOF my $out2_ipv6v4comp=<<'EOF'; 0.0.0.0 ::1 192.0.2.3 192.0.2.33 ::192.0.2.41 203.0.113.0 203.0.113.47 ::ffff:192.0.2.42 2001:Db8:: 2001:db8:6:5:4:3:2:1 EOF my @Tests = ( ['s1', '-k1,1:roman', {IN_PIPE=>$in1}, {OUT => $out1_dec_roman}], ['s2', '-k2,2:ipv4', {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4}], ['s3', '-k2,2:ipv4 --stable', {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4_stable}], ['s4', '-k2,2r:ipv4', {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4_rev}], ['s5', '-k1,1:roman -k2,2r:ipv4' , {IN_PIPE=>$in1}, {OUT => $out1_dec_roman_ipv4rev}], ['s6', '-k2,2:ipv4 -k1r,1:roman' , {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4_romanrev}], ['s10', '-k1,1:roman -k2,2' , {IN_PIPE=>$in1}, {OUT => $out1_dec_roman_k2}], ['s11', '-k2n,2 -k1,1:roman' , {IN_PIPE=>$in1}, {OUT => $out1_dec_k2n_roman}], ['s12', '-k1,1:ipv6v4map', {IN_PIPE=>$in2}, {OUT => $out2_ipv6v4map}], ['s13', '-k1,1:ipv6v4comp', {IN_PIPE=>$in2}, {OUT => $out2_ipv6v4comp}], # Sort with header lines ['sh1', '-H -k2,2r:ipv4', {IN_PIPE=>$in1}, {OUT=>$out1_dec_ipv4_rev_header1}], ['sh2', '--header=2 -k2,2r:ipv4', {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4_rev_header2}], # More header lines than in the input ['sh3', '--header=9 -k2,2r:ipv4', {IN_PIPE=>$in1}, {OUT => $in1}], ['sh4', '--header=10 -k2,2r:ipv4', {IN_PIPE=>$in1}, {OUT => $in1}], ); # Repeat all tests with --debug option, ensure it does not cause any regression my @debug_tests; foreach my $t (@Tests) { # Skip tests with EXIT!=0 or ERR_SUBST part # (as '--debug' requires its own ERR_SUBST). my $exit_val; my $have_err_subst; foreach my $e (@$t) { next unless ref $e && ref $e eq 'HASH'; $exit_val = $e->{EXIT} if defined $e->{EXIT}; $have_err_subst = 1 if defined $e->{ERR_SUBST}; } next if $exit_val || $have_err_subst; # Duplicate the test, add '--debug' argument my @newt = @$t; $newt[0] = 'dbg_' . $newt[0]; $newt[1] = '---debug ' . $newt[1]; # Discard all debug printouts before comparing output push @newt, {ERR_SUBST => q!s/.*\n//m!}; push @debug_tests, \@newt; } push @Tests, @debug_tests; my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/decorate-tests.pl0000754000000000000000000003544014771573715013252 #!/usr/bin/env perl =pod Unit Tests for decorate Copyright (C) 2020-2021 Assaf Gordon Copyright (C) 2022-2025 Timothy Rice This file is part of GNU Datamash. GNU Datamash 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. GNU Datamash 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 GNU Datamash. If not, see . Written by Assaf Gordon. =cut use strict; use warnings; # Until a better way comes along to auto-use Coreutils Perl modules # as in the coreutils' autotools system. use Coreutils; use CuSkip; use CuTmpdir qw(decorate); use MIME::Base64 ; (my $program_name = $0) =~ s|.*/||; my $prog = 'decorate'; $prog .= " --sort-cmd=/usr/bin/sort" if $^O eq "netbsd"; # TODO: add localization tests with "grouping" # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $in1=<<'EOF'; I 1.20.30.41 II 1.20.30.1 IV 1.10.30.14 XI 1.2.10.3 M 192.168.43.1 D 192.168.17.8 C 192.168.17.100 L 192.168.17.10 EOF my $out1_asis=<<'EOF'; I I 1.20.30.41 II II 1.20.30.1 IV IV 1.10.30.14 XI XI 1.2.10.3 M M 192.168.43.1 D D 192.168.17.8 C C 192.168.17.100 L L 192.168.17.10 EOF my $out1_strlen1=<<'EOF'; 000000000000000000001 000000000000000000010 I 1.20.30.41 000000000000000000002 000000000000000000009 II 1.20.30.1 000000000000000000002 000000000000000000010 IV 1.10.30.14 000000000000000000002 000000000000000000008 XI 1.2.10.3 000000000000000000001 000000000000000000012 M 192.168.43.1 000000000000000000001 000000000000000000012 D 192.168.17.8 000000000000000000001 000000000000000000014 C 192.168.17.100 000000000000000000001 000000000000000000013 L 192.168.17.10 EOF ## strlen on the entire line my $out1_strlen2=<<'EOF'; 000000000000000000014 I 1.20.30.41 000000000000000000013 II 1.20.30.1 000000000000000000014 IV 1.10.30.14 000000000000000000012 XI 1.2.10.3 000000000000000000016 M 192.168.43.1 000000000000000000016 D 192.168.17.8 000000000000000000018 C 192.168.17.100 000000000000000000017 L 192.168.17.10 EOF ## two strlens: first on a single field, second on the entire line my $out1_strlen3=<<'EOF'; 000000000000000000001 000000000000000000014 I 1.20.30.41 000000000000000000002 000000000000000000013 II 1.20.30.1 000000000000000000002 000000000000000000014 IV 1.10.30.14 000000000000000000002 000000000000000000012 XI 1.2.10.3 000000000000000000001 000000000000000000016 M 192.168.43.1 000000000000000000001 000000000000000000016 D 192.168.17.8 000000000000000000001 000000000000000000018 C 192.168.17.100 000000000000000000001 000000000000000000017 L 192.168.17.10 EOF ## two strlens: first on a single field, second on the second field ## but skipping the first 2 characters my $out1_strlen4=<<'EOF'; 000000000000000000001 000000000000000000009 I 1.20.30.41 000000000000000000002 000000000000000000008 II 1.20.30.1 000000000000000000002 000000000000000000009 IV 1.10.30.14 000000000000000000002 000000000000000000007 XI 1.2.10.3 000000000000000000001 000000000000000000011 M 192.168.43.1 000000000000000000001 000000000000000000011 D 192.168.17.8 000000000000000000001 000000000000000000013 C 192.168.17.100 000000000000000000001 000000000000000000012 L 192.168.17.10 EOF my $out1_dec_roman=<<'EOF'; 000000000000000000001 I 1.20.30.41 000000000000000000002 II 1.20.30.1 000000000000000000004 IV 1.10.30.14 000000000000000000011 XI 1.2.10.3 000000000000000001000 M 192.168.43.1 000000000000000000500 D 192.168.17.8 000000000000000000100 C 192.168.17.100 000000000000000000050 L 192.168.17.10 EOF my $out1_dec_ipv4=<<'EOF'; 01141E29 I 1.20.30.41 01141E01 II 1.20.30.1 010A1E0E IV 1.10.30.14 01020A03 XI 1.2.10.3 C0A82B01 M 192.168.43.1 C0A81108 D 192.168.17.8 C0A81164 C 192.168.17.100 C0A8110A L 192.168.17.10 EOF my $out1_dec_roman_ipv4=<<'EOF'; 000000000000000000001 01141E29 I 1.20.30.41 000000000000000000002 01141E01 II 1.20.30.1 000000000000000000004 010A1E0E IV 1.10.30.14 000000000000000000011 01020A03 XI 1.2.10.3 000000000000000001000 C0A82B01 M 192.168.43.1 000000000000000000500 C0A81108 D 192.168.17.8 000000000000000000100 C0A81164 C 192.168.17.100 000000000000000000050 C0A8110A L 192.168.17.10 EOF my $out1_dec_ipv4_roman=<<'EOF'; 01141E29 000000000000000000001 I 1.20.30.41 01141E01 000000000000000000002 II 1.20.30.1 010A1E0E 000000000000000000004 IV 1.10.30.14 01020A03 000000000000000000011 XI 1.2.10.3 C0A82B01 000000000000000001000 M 192.168.43.1 C0A81108 000000000000000000500 D 192.168.17.8 C0A81164 000000000000000000100 C 192.168.17.100 C0A8110A 000000000000000000050 L 192.168.17.10 EOF my $in2=<<'EOF'; 10.010.0x10.0xA EOF my $out2_ipv4inet=<<'EOF'; 0A08100A 10.010.0x10.0xA EOF my $in3=<<'EOF'; 2001:0db8:85a3:0000:0000:8a2e:0370:7334 2001:db8:85a3:0:0:8a2e:370:7334 2001:db8:85a3::8a2e:370:7334 0:0:0:0:0:0:0:1 ::1 0:0:0:0:0:0:0:0 :: ::ffff:192.0.2.128 ::ffff:c000:0280 EOF my $out3_ipv6=<<'EOF'; 2001:0DB8:85A3:0000:0000:8A2E:0370:7334 2001:0db8:85a3:0000:0000:8a2e:0370:7334 2001:0DB8:85A3:0000:0000:8A2E:0370:7334 2001:db8:85a3:0:0:8a2e:370:7334 2001:0DB8:85A3:0000:0000:8A2E:0370:7334 2001:db8:85a3::8a2e:370:7334 0000:0000:0000:0000:0000:0000:0000:0001 0:0:0:0:0:0:0:1 0000:0000:0000:0000:0000:0000:0000:0001 ::1 0000:0000:0000:0000:0000:0000:0000:0000 0:0:0:0:0:0:0:0 0000:0000:0000:0000:0000:0000:0000:0000 :: 0000:0000:0000:0000:0000:FFFF:C000:0280 ::ffff:192.0.2.128 0000:0000:0000:0000:0000:FFFF:C000:0280 ::ffff:c000:0280 EOF my $out1_dec_ipv4_rev_header1=<<'EOF'; I 1.20.30.41 C0A8110A L 192.168.17.10 C0A81164 C 192.168.17.100 C0A81108 D 192.168.17.8 C0A82B01 M 192.168.43.1 01020A03 XI 1.2.10.3 010A1E0E IV 1.10.30.14 01141E01 II 1.20.30.1 EOF my $out1_dec_ipv4_header1=<<'EOF'; I 1.20.30.41 01141E01 II 1.20.30.1 010A1E0E IV 1.10.30.14 01020A03 XI 1.2.10.3 C0A82B01 M 192.168.43.1 C0A81108 D 192.168.17.8 C0A81164 C 192.168.17.100 C0A8110A L 192.168.17.10 EOF my $out1_dec_ipv4_header2=<<'EOF'; I 1.20.30.41 II 1.20.30.1 010A1E0E IV 1.10.30.14 01020A03 XI 1.2.10.3 C0A82B01 M 192.168.43.1 C0A81108 D 192.168.17.8 C0A81164 C 192.168.17.100 C0A8110A L 192.168.17.10 EOF my $in4=<<'EOF'; 203.0.113.47 192.0.2.33 203.0.113.0 192.0.2.3 0.0.0.0 ::ffff:192.0.2.42 2001:db8:6:5:4:3:2:1 2001:Db8:: ::192.0.2.41 ::1 :: EOF my $out4_ipv6v4map=<<'EOF'; 00000000000000000000FFFFCB00712F 203.0.113.47 00000000000000000000FFFFC0000221 192.0.2.33 00000000000000000000FFFFCB007100 203.0.113.0 00000000000000000000FFFFC0000203 192.0.2.3 00000000000000000000FFFF00000000 0.0.0.0 00000000000000000000FFFFC000022A ::ffff:192.0.2.42 20010DB8000600050004000300020001 2001:db8:6:5:4:3:2:1 20010DB8000000000000000000000000 2001:Db8:: 000000000000000000000000C0000229 ::192.0.2.41 00000000000000000000000000000001 ::1 00000000000000000000000000000000 :: EOF my $out4_ipv6v4comp=<<'EOF'; 000000000000000000000000CB00712F 203.0.113.47 000000000000000000000000C0000221 192.0.2.33 000000000000000000000000CB007100 203.0.113.0 000000000000000000000000C0000203 192.0.2.3 00000000000000000000000000000000 0.0.0.0 00000000000000000000FFFFC000022A ::ffff:192.0.2.42 20010DB8000600050004000300020001 2001:db8:6:5:4:3:2:1 20010DB8000000000000000000000000 2001:Db8:: 000000000000000000000000C0000229 ::192.0.2.41 00000000000000000000000000000001 ::1 00000000000000000000000000000000 :: EOF my @Tests = ( ## basic decoration functions ['d1', '--decorate -k1,1:roman' , {IN_PIPE=>$in1}, {OUT => $out1_dec_roman}], ['d2', '--decorate -k2,2:ipv4' , {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4}], ['d3', '--decorate -k1,1:roman -k2,2:ipv4' , {IN_PIPE=>$in1}, {OUT => $out1_dec_roman_ipv4}], ['d4', '--decorate -k2,2:ipv4 -k1,1:roman' , {IN_PIPE=>$in1}, {OUT => $out1_dec_ipv4_roman}], ['d5', '--decorate -k1,1:as-is' , {IN_PIPE=>$in1}, {OUT => $out1_asis}], ['d6', '--decorate -k1,1:strlen -k2,2:strlen' , {IN_PIPE=>$in1}, {OUT => $out1_strlen1}], ['d7', '--decorate -k1,1:ipv4inet', {IN_PIPE=>$in2}, {OUT => $out2_ipv4inet}], ['d8', '--decorate -k1,1:ipv6', {IN_PIPE=>$in3}, {OUT => $out3_ipv6}], ['d9', '--decorate -k1:strlen' , {IN_PIPE=>$in1}, {OUT=>$out1_strlen2}], ['d10', '--decorate -k1,1:strlen -k1:strlen' , {IN_PIPE=>$in1}, {OUT=>$out1_strlen3}], ['d11', '--decorate -k1,1:strlen -k2.2,2:strlen' , {IN_PIPE=>$in1}, {OUT=>$out1_strlen4}], ['d12', '--decorate -k1:ipv6v4map', {IN_PIPE=>$in4}, {OUT=>$out4_ipv6v4map}], ['d13', '--decorate -k1:ipv6v4comp', {IN_PIPE=>$in4}, {OUT=>$out4_ipv6v4comp}], ## basic undecoration ['u1', '--undecorate 1' , {IN_PIPE=>$out1_dec_roman}, {OUT => $in1}], ['u2', '--undecorate 1' , {IN_PIPE=>$out1_dec_ipv4}, {OUT => $in1}], ['u3', '--undecorate 2' , {IN_PIPE=>$out1_dec_roman_ipv4}, {OUT => $in1}], ['u4', '--undecorate 2' , {IN_PIPE=>$out1_dec_ipv4_roman}, {OUT => $in1}], ## sort arguments adjustment ['sa1', '--print-sort-args -k1,1:roman', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1\n"}], ['sa2', '--print-sort-args -k2,2:roman', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1\n"}], ['sa3', '--print-sort-args -k2,2:roman -k4,4n -k1,1:strlen', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1 -k6,6n -k2,2\n"}], ['sa4', '--print-sort-args -k2,2:ipv4 -k4,4Vr', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1 -k5,5rV\n"}], ['sa5', '--print-sort-args -k2,2:ipv4 -k4r,4V', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1 -k5,5rV\n"}], ['sa6', '--print-sort-args -k2,2:ipv4 -k4V,4r', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1 -k5,5rV\n"}], ['sa7', '--print-sort-args -k2,2r:ipv4 ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r\n"}], ['sa8', '--print-sort-args -k2,2r:ipv4 ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'},{OUT=>"sort -k1,1r\n"}], ['sa9', '--print-sort-args -k2,2r:ipv4 -s ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -s\n"}], ['sa10', '--print-sort-args -k2,2r:ipv4 -szu ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -s -z -u\n"}], ['sa11', '--print-sort-args -k2,2r:ipv4 -S 2G -szu ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -S 2G -s -z -u\n"}], ['sa12', '--print-sort-args -k2,2r:ipv4 -S 2G -T /foo/bar -szu ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -S 2G -T /foo/bar -s -z -u\n"}], ['sa13', '--print-sort-args -k2,2r:ipv4 -t: -S 2G -T /foo/bar -szu ', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -t : -S 2G -T /foo/bar -s -z -u\n"}], ['sa14', '--print-sort-args -k2,2r:ipv4 -t: -t:', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -t : -t :\n"}], ['sa15', '--print-sort-args -k2,2r:ipv4 -t "\\\\0"', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -t '\\0'\n"}], ['sa16', '--print-sort-args -k2,2r:ipv4 --compress-program=ZOOP', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r --compress-program ZOOP\n"}], ['sa17', '--print-sort-args -k2,2r:ipv4 --compress-program ZOOP', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r --compress-program ZOOP\n"}], ['sa18', '--print-sort-args -k2,2r:ipv4 --random-source /foo/bar', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r --random-source /foo/bar\n"}], ['sa19', '--print-sort-args -k2,2r:ipv4 --batch-size 9 --parallel=42', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r --batch-size 9 --parallel 42\n"}], ['sa21', '--print-sort-args -k2,2r:ipv4 -c', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -c\n"}], ['sa22', '--print-sort-args -k2,2r:ipv4 --check', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r --check\n"}], ['sa23', '--print-sort-args -k2,2r:ipv4 -C', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r -C\n"}], ['sa24', "--print-sort-args -k2,2r:ipv4 '--check=diagnose-first'", {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r '--check=diagnose-first'\n"}], ['sa25', "--print-sort-args -k2,2r:ipv4 " . "--check=foobar12343124321123421432145", {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r '--check=foobar12343124321123421432145'\n"}], ['sa26', '--print-sort-args -k2,2r:ipv4 --check=quiet', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k1,1r '--check=quiet'\n"}], ['sa27', '--print-sort-args -k7 -k2,2r:ipv4 -k5.3,6.2', {OUT_SUBST=>'s/^.*?sort(?: -S)?/sort/'}, {OUT=>"sort -k8 -k1,1r -k6.3,7.2\n"}], # Edge Cases ['g1', '--decorate -k1,1:roman' , {IN_PIPE=>""}, {OUT => ""}], # Header Lines ['h1', '-H --decorate -k2,2:ipv4', {IN_PIPE=>$in1}, {OUT=>$out1_dec_ipv4_header1}], ['h2', '--header 1 --decorate -k2,2:ipv4', {IN_PIPE=>$in1}, {OUT=>$out1_dec_ipv4_header1}], ['h3', '--header=1 --decorate -k2,2:ipv4', {IN_PIPE=>$in1}, {OUT=>$out1_dec_ipv4_header1}], ['h4', '--header 2 --decorate -k2,2:ipv4', {IN_PIPE=>$in1}, {OUT=>$out1_dec_ipv4_header2}], # More header lines than in the input ['h5', '--header 8 --decorate -k2,2:ipv4' , {IN_PIPE=>$in1}, {OUT => $in1}], ['h6', '--header 9 --decorate -k2,2:ipv4' , {IN_PIPE=>$in1}, {OUT => $in1}], # on a different architecture, would printf(%Lg) print something else? # Use OUT_SUBST to trim output to 1.3 digits #['b14', 'mean 1', {IN_PIPE=>$in1}, {OUT => "5.454\n"}, # {OUT_SUBST=>'s/^(\d\.\d{3}).*/\1/'}], ## Some error checkings #['e1', 'sum', {IN_PIPE=>""}, {EXIT=>1}, # {ERR=>"$prog: missing field for operation 'sum'\n"}], ); # Repeat all tests with --debug option, ensure it does not cause any regression my @debug_tests; foreach my $t (@Tests) { # Skip tests with EXIT!=0 or ERR_SUBST part # (as '--debug' requires its own ERR_SUBST). my $exit_val; my $have_err_subst; foreach my $e (@$t) { next unless ref $e && ref $e eq 'HASH'; $exit_val = $e->{EXIT} if defined $e->{EXIT}; $have_err_subst = 1 if defined $e->{ERR_SUBST}; } next if $exit_val || $have_err_subst; # Duplicate the test, add '--debug' argument my @newt = @$t; $newt[0] = 'dbg_' . $newt[0]; $newt[1] = '---debug ' . $newt[1]; # Discard all debug printouts before comparing output push @newt, {ERR_SUBST => q!s/.*\n//m!}; push @debug_tests, \@newt; } push @Tests, @debug_tests; my $save_temps = $ENV{SAVE_TEMPS}; my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose); exit $fail; datamash-1.9/tests/init.sh0000754000000000000000000005474414771573715011276 # source this file; set up for tests # Copyright (C) 2009-2021 Free Software Foundation, Inc. # 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 . # Using this file in a test # ========================= # # The typical skeleton of a test looks like this: # # #!/bin/sh # . "${srcdir=.}/init.sh"; path_prepend_ . # Execute some commands. # Note that these commands are executed in a subdirectory, therefore you # need to prepend "../" to relative filenames in the build directory. # Note that the "path_prepend_ ." is useful only if the body of your # test invokes programs residing in the initial directory. # For example, if the programs you want to test are in src/, and this test # script is named tests/test-1, then you would use "path_prepend_ ../src", # or perhaps export PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" # to all tests via automake's TESTS_ENVIRONMENT. # Set the exit code 0 for success, 77 for skipped, or 1 or other for failure. # Use the skip_ and fail_ functions to print a diagnostic and then exit # with the corresponding exit code. # Exit $? # Executing a test that uses this file # ==================================== # # Running a single test: # $ make check TESTS=test-foo.sh # # Running a single test, with verbose output: # $ make check TESTS=test-foo.sh VERBOSE=yes # # Running a single test, keeping the temporary directory: # $ make check TESTS=test-foo.sh KEEP=yes # # Running a single test, with single-stepping: # 1. Go into a sub-shell: # $ bash # 2. Set relevant environment variables from TESTS_ENVIRONMENT in the # Makefile: # $ export srcdir=../../tests # this is an example # 3. Execute the commands from the test, copy&pasting them one by one: # $ . "$srcdir/init.sh"; path_prepend_ . # ... # 4. Finally # $ exit # ============================================================================= # Elementary diagnostics ME_=`expr "./$0" : '.*/\(.*\)$'` # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # We use a trap below for cleanup. This requires us to go through # hoops to get the right exit status transported through the handler. # So use 'Exit STATUS' instead of 'exit STATUS' inside of the tests. # Turn off errexit here so that we don't trip the bug with OSF1/Tru64 # sh inside this function. Exit () { set +e; (exit $1); exit $1; } # Print warnings (e.g., about skipped and failed tests) to this file number. # Override by defining to say, 9, in init.cfg, and putting say, # export ...ENVVAR_SETTINGS...; $(SHELL) 9>&2 # in the definition of TESTS_ENVIRONMENT in your tests/Makefile.am file. # This is useful when using automake's parallel tests mode, to print # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} # Note that correct expansion of "$*" depends on IFS starting with ' '. # Always write the full diagnostic to stderr. # When stderr_fileno_ is not 2, also emit the first line of the # diagnostic to that file descriptor. warn_ () { # If IFS does not start with ' ', set it and emit the warning in a subshell. case $IFS in ' '*) printf '%s\n' "$*" >&2 test $stderr_fileno_ = 2 \ || { printf '%s\n' "$*" | sed 1q >&$stderr_fileno_ ; } ;; *) (IFS=' '; warn_ "$@");; esac } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } fatal_ () { warn_ "$ME_: hard error: $@"; Exit 99; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } # ============================================================================= # Ensure the shell supports modern syntax. # Sanitize this shell to POSIX mode, if possible. DUALCASE=1; export DUALCASE if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # We require $(...) support unconditionally. # We require that the printf built-in work correctly regarding octal escapes; # this eliminates /bin/sh on AIX 7.2. # We require non-surprising "local" semantics (this eliminates dash). # This takes the admittedly draconian step of eliminating dash, because the # assignment tab=$(printf '\t') works fine, yet preceding it with "local " # transforms it into an assignment that sets the variable to the empty string. # That is too counter-intuitive, and can lead to subtle run-time malfunction. # The example below is less subtle in that with dash, it evokes the run-time # exception "dash: 1: local: 1: bad variable name". # We require a few additional shell features only when $EXEEXT is nonempty, # in order to support automatic $EXEEXT emulation: # - hyphen-containing alias names # - we prefer to use ${var#...} substitution, rather than having # to work around lack of support for that feature. # The following code attempts to find a shell with support for these features. # If the current shell passes the test, we're done. Otherwise, test other # shells until we find one that passes. If one is found, re-exec it. # If no acceptable shell is found, skip the current test. # # The "...set -x; P=1 true 2>err..." test is to disqualify any shell that # emits "P=1" into err, as /bin/sh from SunOS 5.11 and OpenBSD 4.7 do. # # Use "9" to indicate success (rather than 0), in case some shell acts # like Solaris 10's /bin/sh but exits successfully instead of with status 2. # Eval this code in a subshell to determine a shell's suitability. # 10 - passes all tests; ok to use # 9 - ok, but enabling "set -x" corrupts app stderr; prefer higher score # ? - not ok gl_shell_test_script_=' test $(echo y) = y || exit 1 LC_ALL=en_US.UTF-8 printf "\\351" 2>/dev/null \ | LC_ALL=C tr "\\351" x | LC_ALL=C grep "^x$" > /dev/null \ || exit 1 printf "\\351" 2>/dev/null \ | LC_ALL=C tr "\\351" x | LC_ALL=C grep "^x$" > /dev/null \ || exit 1 f_local_() { local v=1; }; f_local_ || exit 1 f_dash_local_fail_() { local t=$(printf " 1"); }; f_dash_local_fail_ score_=10 if test "$VERBOSE" = yes; then test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b="echo zoo" v=abx test ${v%x} = ab \ && test ${v#a} = bx \ && test $(a-b) = zoo \ && exit $score_ ' if test "x$1" = "x--no-reexec"; then shift else # Assume a working shell. Export to subshells (setup_ needs this). gl_set_x_corrupts_stderr_=false export gl_set_x_corrupts_stderr_ # Record the first marginally acceptable shell. marginal_= # Search for a shell that meets our requirements. for re_shell_ in __current__ "${CONFIG_SHELL:-no_shell}" \ /bin/sh bash dash zsh pdksh fail do test "$re_shell_" = no_shell && continue # If we've made it all the way to the sentinel, "fail" without # finding even a marginal shell, skip this test. if test "$re_shell_" = fail; then test -z "$marginal_" && skip_ failed to find an adequate shell re_shell_=$marginal_ break fi # When testing the current shell, simply "eval" the test code. # Otherwise, run it via $re_shell_ -c ... if test "$re_shell_" = __current__; then # 'eval'ing this code makes Solaris 10's /bin/sh exit with # $? set to 2. It does not evaluate any of the code after the # "unexpected" first '('. Thus, we must run it in a subshell. ( eval "$gl_shell_test_script_" ) > /dev/null 2>&1 else "$re_shell_" -c "$gl_shell_test_script_" 2>/dev/null fi st_=$? # $re_shell_ works just fine. Use it. if test $st_ = 10; then gl_set_x_corrupts_stderr_=false break fi # If this is our first marginally acceptable shell, remember it. if test "$st_:$marginal_" = 9: ; then marginal_="$re_shell_" gl_set_x_corrupts_stderr_=true fi done if test "$re_shell_" != __current__; then # Found a usable shell. Preserve -v and -x. case $- in *v*x* | *x*v*) opts_=-vx ;; *v*) opts_=-v ;; *x*) opts_=-x ;; *) opts_= ;; esac re_shell=$re_shell_ export re_shell exec "$re_shell_" $opts_ "$0" --no-reexec "$@" echo "$ME_: exec failed" 1>&2 exit 127 fi fi # ============================================================================= # Ensure the shell behaves reasonably. # If this is bash, turn off all aliases. test -n "$BASH_VERSION" && unalias -a # Note that when supporting $EXEEXT (transparently mapping from PROG_NAME to # PROG_NAME.exe), we want to support hyphen-containing names like test-acos. # That is part of the shell-selection test above. Why use aliases rather # than functions? Because support for hyphen-containing aliases is more # widespread than that for hyphen-containing function names. test -n "$EXEEXT" && test -n "$BASH_VERSION" && shopt -s expand_aliases # ============================================================================= # Creating a temporary directory (needed by the core test framework) # Create a temporary directory, much like mktemp -d does. # Written by Jim Meyering. # # Usage: mktempd_ /tmp phoey.XXXXXXXXXX # # First, try to use the mktemp program. # Failing that, we'll roll our own mktemp-like function: # - try to get random bytes from /dev/urandom # - failing that, generate output from a combination of quickly-varying # sources and gzip. Ignore non-varying gzip header, and extract # "random" bits from there. # - given those bits, map to file-name bytes using tr, and try to create # the desired directory. # - make only $MAX_TRIES_ attempts # Helper function. Print $N pseudo-random bytes from a-zA-Z0-9. rand_bytes_ () { n_=$1 # Maybe try openssl rand -base64 $n_prime_|tr '+/=\012' abcd first? # But if they have openssl, they probably have mktemp, too. chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 dev_rand_=/dev/urandom if test -r "$dev_rand_"; then # Note: 256-length($chars_) == 194; 3 copies of $chars_ is 186 + 8 = 194. dd ibs=$n_ count=1 if=$dev_rand_ 2>/dev/null \ | LC_ALL=C tr -c $chars_ 01234567$chars_$chars_$chars_ return fi n_plus_50_=`expr $n_ + 50` cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef' data_=` (eval "$cmds_") 2>&1 | gzip ` # Ensure that $data_ has length at least 50+$n_ while :; do len_=`echo "$data_"|wc -c` test $n_plus_50_ -le $len_ && break; data_=` (echo "$data_"; eval "$cmds_") 2>&1 | gzip ` done echo "$data_" \ | dd bs=1 skip=50 count=$n_ 2>/dev/null \ | LC_ALL=C tr -c $chars_ 01234567$chars_$chars_$chars_ } mktempd_ () { case $# in 2);; *) fail_ "Usage: mktempd_ DIR TEMPLATE";; esac destdir_=$1 template_=$2 MAX_TRIES_=4 # Disallow any trailing slash on specified destdir: # it would subvert the post-mktemp "case"-based destdir test. case $destdir_ in / | //) destdir_slash_=$destdir;; */) fail_ "invalid destination dir: remove trailing slash(es)";; *) destdir_slash_=$destdir_/;; esac case $template_ in *XXXX) ;; *) fail_ \ "invalid template: $template_ (must have a suffix of at least 4 X's)";; esac # First, try to use mktemp. d=`unset TMPDIR; { mktemp -d -t -p "$destdir_" "$template_"; } 2>/dev/null` && # The resulting name must be in the specified directory. case $d in "$destdir_slash_"*) :;; *) false;; esac && # It must have created the directory. test -d "$d" && # It must have 0700 permissions. Handle sticky "S" bits. perms=`ls -dgo "$d" 2>/dev/null` && case $perms in drwx--[-S]---*) :;; *) false;; esac && { echo "$d" return } # If we reach this point, we'll have to create a directory manually. # Get a copy of the template without its suffix of X's. base_template_=`echo "$template_"|sed 's/XX*$//'` # Calculate how many X's we've just removed. template_length_=`echo "$template_" | wc -c` nx_=`echo "$base_template_" | wc -c` nx_=`expr $template_length_ - $nx_` err_= i_=1 while :; do X_=`rand_bytes_ $nx_` candidate_dir_="$destdir_slash_$base_template_$X_" err_=`mkdir -m 0700 "$candidate_dir_" 2>&1` \ && { echo "$candidate_dir_"; return; } test $MAX_TRIES_ -le $i_ && break; i_=`expr $i_ + 1` done fail_ "$err_" } # ============================================================================= # Core test framework # An arbitrary prefix to help distinguish test directories. testdir_prefix_ () { printf gt; } # Set up the environment for the test to run in. setup_ () { if test "$VERBOSE" = yes; then # Test whether set -x may cause the selected shell to corrupt an # application's stderr. Many do, including zsh-4.3.10 and the /bin/sh # from SunOS 5.11, OpenBSD 4.7 and Irix 6.5. # If enabling verbose output this way would cause trouble, simply # issue a warning and refrain. if $gl_set_x_corrupts_stderr_; then warn_ "using SHELL=$SHELL with 'set -x' corrupts stderr" else set -x fi fi initial_cwd_=$PWD # Create and enter the temporary directory. pfx_=`testdir_prefix_` test_dir_=`mktempd_ "$initial_cwd_" "$pfx_-$ME_.XXXX"` \ || fail_ "failed to create temporary directory in $initial_cwd_" cd "$test_dir_" || fail_ "failed to cd to temporary directory" # Set variables srcdir, builddir, for the convenience of the test. case $srcdir in /* | ?:*) ;; *) srcdir="../$srcdir" ;; esac builddir=".." export srcdir builddir # As autoconf-generated configure scripts do, ensure that IFS # is defined initially, so that saving and restoring $IFS works. gl_init_sh_nl_=' ' IFS=" "" $gl_init_sh_nl_" # This trap statement, along with a trap on 0 below, ensure that the # temporary directory, $test_dir_, is removed upon exit as well as # upon receipt of any of the listed signals. for sig_ in 1 2 3 13 15; do eval "trap 'Exit $(expr $sig_ + 128)' $sig_" done } # This is a stub function that is run upon trap (upon regular exit and # interrupt). Override it with a per-test function, e.g., to unmount # a partition, or to undo any other global state changes. cleanup_ () { :; } # Run the user-overridable cleanup_ function, remove the temporary # directory and exit with the incoming value of $?. remove_tmp_ () { __st=$? cleanup_ if test "$KEEP" = yes; then echo "Not removing temporary directory $test_dir_" else # cd out of the directory we're about to remove cd "$initial_cwd_" || cd / || cd /tmp chmod -R u+rwx "$test_dir_" # If removal fails and exit status was to be 0, then change it to 1. rm -rf "$test_dir_" || { test $__st = 0 && __st=1; } fi exit $__st } # ============================================================================= # Prepending directories to PATH # Given a directory name, DIR, if every entry in it that matches *.exe # contains only the specified bytes (see the case stmt below), then print # a space-separated list of those names and return 0. Otherwise, don't # print anything and return 1. Naming constraints apply also to DIR. find_exe_basenames_ () { feb_dir_=$1 feb_fail_=0 feb_result_= feb_sp_= for feb_file_ in $feb_dir_/*.exe; do # If there was no *.exe file, or there existed a file named "*.exe" that # was deleted between the above glob expansion and the existence test # below, just skip it. test "x$feb_file_" = "x$feb_dir_/*.exe" && test ! -f "$feb_file_" \ && continue # Exempt [.exe, since we can't create a function by that name, yet # we can't invoke [ by PATH search anyways due to shell builtins. test "x$feb_file_" = "x$feb_dir_/[.exe" && continue case $feb_file_ in *[!-a-zA-Z/0-9_.+]*) feb_fail_=1; break;; *) # Remove leading file name components as well as the .exe suffix. feb_file_=${feb_file_##*/} feb_file_=${feb_file_%.exe} feb_result_="$feb_result_$feb_sp_$feb_file_";; esac feb_sp_=' ' done test $feb_fail_ = 0 && printf %s "$feb_result_" return $feb_fail_ } # Consider the files in directory, $1. # For each file name of the form PROG.exe, create an alias named # PROG that simply invokes PROG.exe, then return 0. If any selected # file name or the directory name, $1, contains an unexpected character, # define no alias and return 1. create_exe_shims_ () { case $EXEEXT in '') return 0 ;; .exe) ;; *) echo "$0: unexpected \$EXEEXT value: $EXEEXT" 1>&2; return 1 ;; esac base_names_=`find_exe_basenames_ $1` \ || { echo "$0 (exe_shim): skipping directory: $1" 1>&2; return 0; } if test -n "$base_names_"; then for base_ in $base_names_; do alias "$base_"="$base_$EXEEXT" done fi return 0 } # Use this function to prepend to PATH an absolute name for each # specified, possibly-$initial_cwd_-relative, directory. path_prepend_ () { while test $# != 0; do path_dir_=$1 case $path_dir_ in '') fail_ "invalid path dir: '$1'";; /* | ?:*) abs_path_dir_=$path_dir_;; *) abs_path_dir_=$initial_cwd_/$path_dir_;; esac case $abs_path_dir_ in *$PATH_SEPARATOR*) fail_ "invalid path dir: '$abs_path_dir_'";; esac PATH="$abs_path_dir_$PATH_SEPARATOR$PATH" # Create an alias, FOO, for each FOO.exe in this directory. create_exe_shims_ "$abs_path_dir_" \ || fail_ "something failed (above): $abs_path_dir_" shift done export PATH } # ============================================================================= # Convenience environment variables for the tests # ----------------------------------------------------------------------------- # Enable glibc's malloc-perturbing option. # This is useful for exposing code that depends on the fact that # malloc-related functions often return memory that is mostly zeroed. # If you have the time and cycles, use valgrind to do an even better job. : ${MALLOC_PERTURB_=87} export MALLOC_PERTURB_ # ----------------------------------------------------------------------------- # The interpreter for Bourne-shell scripts. # No special standards compatibility requirements. # Some environments, such as Android, don't have /bin/sh. if test -f /bin/sh$EXEEXT; then BOURNE_SHELL=/bin/sh else BOURNE_SHELL=sh fi # ============================================================================= # Convenience functions for the tests # ----------------------------------------------------------------------------- # Return value checking # This is used to simplify checking of the return value # which is useful when ensuring a command fails as desired. # I.e., just doing `command ... &&fail=1` will not catch # a segfault in command for example. With this helper you # instead check an explicit exit code like # returns_ 1 command ... || fail returns_ () { # Disable tracing so it doesn't interfere with stderr of the wrapped command { set +x; } 2>/dev/null local exp_exit="$1" shift "$@" test $? -eq $exp_exit && ret_=0 || ret_=1 if test "$VERBOSE" = yes && test "$gl_set_x_corrupts_stderr_" = false; then set -x fi { return $ret_; } 2>/dev/null } # ----------------------------------------------------------------------------- # Text file comparison # Emit a header similar to that from diff -u; Print the simulated "diff" # command so that the order of arguments is clear. Don't bother with @@ lines. emit_diff_u_header_ () { printf '%s\n' "diff -u $*" \ "--- $1 1970-01-01" \ "+++ $2 1970-01-01" } # Arrange not to let diff or cmp operate on /dev/null, # since on some systems (at least OSF/1 5.1), that doesn't work. # When there are not two arguments, or no argument is /dev/null, return 2. # When one argument is /dev/null and the other is not empty, # cat the nonempty file to stderr and return 1. # Otherwise, return 0. compare_dev_null_ () { test $# = 2 || return 2 if test "x$1" = x/dev/null; then test -s "$2" || return 0 emit_diff_u_header_ "$@"; sed 's/^/+/' "$2" return 1 fi if test "x$2" = x/dev/null; then test -s "$1" || return 0 emit_diff_u_header_ "$@"; sed 's/^/-/' "$1" return 1 fi return 2 } for diff_opt_ in -u -U3 -c '' no; do test "$diff_opt_" != no && diff_out_=`exec 2>/dev/null; diff $diff_opt_ "$0" "$0" < /dev/null` && break done if test "$diff_opt_" != no; then if test -z "$diff_out_"; then compare_ () { diff $diff_opt_ "$@"; } else compare_ () { # If no differences were found, AIX and HP-UX 'diff' produce output # like "No differences encountered". Hide this output. diff $diff_opt_ "$@" > diff.out diff_status_=$? test $diff_status_ -eq 0 || cat diff.out || diff_status_=2 rm -f diff.out || diff_status_=2 return $diff_status_ } fi elif cmp -s /dev/null /dev/null 2>/dev/null; then compare_ () { cmp -s "$@"; } else compare_ () { cmp "$@"; } fi # Usage: compare EXPECTED ACTUAL # # Given compare_dev_null_'s preprocessing, defer to compare_ if 2 or more. # Otherwise, propagate $? to caller: any diffs have already been printed. compare () { # This looks like it can be factored to use a simple "case $?" # after unchecked compare_dev_null_ invocation, but that would # fail in a "set -e" environment. if compare_dev_null_ "$@"; then return 0 else case $? in 1) return 1;; *) compare_ "$@";; esac fi } # ----------------------------------------------------------------------------- # If you want to override the testdir_prefix_ function, # or to add more utility functions, use this file. test -f "$srcdir/init.cfg" \ && . "$srcdir/init.cfg" # ============================================================================= # Set up the environment for the test to run in. setup_ "$@" # This trap is here, rather than in the setup_ function, because some # shells run the exit trap at shell function exit, rather than script exit. trap remove_tmp_ 0 datamash-1.9/tests/no-perl0000754000000000000000000000171414771573715011263 #!/bin/sh # Unit Tests for GNU Datamash - stub for systems without Perl # Copyright (C) 2014-2021 Assaf Gordon # # This file is part of GNU Datamash. # # GNU Datamash 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. # # GNU Datamash 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 GNU Datamash If not, see . # # Written by Assaf Gordon. . "${test_dir=.}/init.sh"; path_prepend_ ./src skip_ "this test requires a working perl"